Current path: home/webdevt/www/wdp/wp-content/plugins/supreme-modules-pro-for-divi/includes/modules/PostCarousel/
?? Go up: /home/webdevt/www/wdp/wp-content/plugins/supreme-modules-pro-for-divi/includes/modules
jQuery(function(e){e(".dsm_post_carousel").each(function(){let o=e(this),t=o.find(".dsm-post-carousel").data();var s="."+o.attr("class").split(" ").join(".")+" .swiper-container";let l={nextEl:".dsm-post-arrow-button-next"+t.ordernumber,prevEl:".dsm-post-arrow-button-prev"+t.ordernumber},n={el:".dsm-post-pagination"+t.ordernumber,clickable:!0,type:"progressbar"!==t.pagiButtonStyle?"bullets":"progressbar",dynamicBullets:"dynamic"===t.pagiButtonStyle},a=1===t.loop,r="on"===t.centered,i=t.orientation,f=new Swiper(s,{direction:i,effect:t.effect,coverflowEffect:{slideShadows:"on"===t.effectShadows,rotate:t.effectCoverflowRotate,depth:t.effectCoverflowDepth},flipEffect:{rotate:30,slideShadows:"on"===t.effectShadows},cubeEffect:{slideShadows:"on"===t.effectShadows,shadow:"on"===t.effectShadows,shadowOffset:20,shadowScale:.94},speed:Number(t.speed),loop:!0===r||a,autoplay:{enabled:!1,delay:t.autoplayspeed,disableOnInteraction:!1},mousewheel:"on"===t.mousewheel,setWrapperSize:"cube"!==t.effect&&"flip"!==t.effect,observer:!0,observeParents:!0,observeSlideChildren:!0,slideClass:"dsm-post-carousel-item",wrapperClass:"dsm-post-carousel-wrapper",navigation:l,pagination:n,centeredSlides:r,slidesPerColumn:"on"===t.multiRow?Number(t.row):1,slidesPerColumnFill:"row",grabCursor:"on"===t.grab,allowTouchMove:"off"===t.touchMove,a11y:{enabled:!1,slideRole:"group"},breakpoints:{320:{slidesPerView:"cube"===t.effect||"flip"===t.effect?1:Number(t.columnsphone),spaceBetween:"cube"===t.effect||"flip"===t.effect?0:Number(t.spacingphone),slidesPerColumn:"on"===t.multiRow?Number(t.rowsphone):1,slidesPerColumnFill:"row"},480:{slidesPerView:"cube"===t.effect||"flip"===t.effect?1:Number(t.columnsphone),spaceBetween:"cube"===t.effect||"flip"===t.effect?0:Number(t.spacingphone),slidesPerColumn:"on"===t.multiRow?Number(t.rowsphone):1,slidesPerColumnFill:"row"},768:{slidesPerView:"cube"===t.effect||"flip"===t.effect?1:Number(t.columnstablet),spaceBetween:"cube"===t.effect||"flip"===t.effect?0:Number(t.spacingtablet),slidesPerColumn:"on"===t.multiRow?Number(t.rowstablet):1,slidesPerColumnFill:"row"},981:{slidesPerView:"cube"===t.effect||"flip"===t.effect?1:Number(t.columnsdesktop),spaceBetween:"cube"===t.effect||"flip"===t.effect?0:Number(t.spacing),slidesPerColumn:"on"===t.multiRow?Number(t.row):1,slidesPerColumnFill:"row"}}});"on"===t.pauseOnHover&&(e(this).on("mouseenter",function(e){f.autoplay.stop()}),e(this).on("mouseleave",function(e){f.autoplay.start()})),"on"===t.autoplay&&("undefined"==typeof Waypoint?f.autoplay.start():new Waypoint({element:e(this),handler:function(e){f.autoplay.start(),this.destroy()},offset:t.autoplayViewport}))})});