# ultimate-post-kit/4.1.2/assets/js/widgets/upk-carbon-slider.min.js

Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider &amp; Blog Layout Widgets, version 4.1.2. 1 lines.

- Page: https://pluginprobe.com/plugins/ultimate-post-kit/4.1.2/code/assets/js/widgets/upk-carbon-slider.min.js
- Raw: https://pluginprobe.com/plugins/ultimate-post-kit/4.1.2/raw/assets/js/widgets/upk-carbon-slider.min.js
- Modified: 2026-02-24T07:18:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ultimate-post-kit/4.1.2/code/assets/js/widgets/upk-carbon-slider.min.js#L10-L20`.

```javascript
!function(e,n){"use strict";var o=function(e,n){var o=e.find(".upk-carbon-main");if(!o.length)return;var t=o.find(".swiper-carousel"),r=o.data("settings");const i=elementorFrontend.utils.swiper;!async function(){var o=await new i(t,r);r.pauseOnHover&&n(t).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}));var s=e.find(".upk-carbon-slider-wrap").find(".upk-carbon-thumbs"),a=await new i(s,{spaceBetween:0,slidesPerView:1,touchRatio:.2,slideToClickedSlide:!0,centeredSlides:!0,loop:!!r.loop&&r.loop,speed:r.speed?r.speed:500,loopedSlides:4,breakpoints:{768:{slidesPerView:3,spaceBetween:20}}});o.controller.control=a,a.controller.control=o}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-carbon-slider.default",o)}))}(jQuery,window.elementorFrontend);
```
