Changeset 3258239
- Timestamp:
- 03/19/2025 07:06:57 AM (12 months ago)
- Location:
- testimonials-carousel-elementor/trunk
- Files:
-
- 20 edited
-
assets/js/testimonials-carousel-widget-handler.min.js (modified) (1 diff)
-
assets/js/testimonials-carousel-widget-old-elementor-handler.min.js (modified) (1 diff)
-
class-testimonials-carousel-elementor.php (modified) (10 diffs)
-
class-widgets.php (modified) (9 diffs)
-
readme.txt (modified) (2 diffs)
-
testimonials-carousel-elementor.php (modified) (2 diffs)
-
widgets/animated-carousel/class-testimonialscarousel-coverflow.php (modified) (15 diffs)
-
widgets/animated-carousel/class-testimonialscarousel-cube-360.php (modified) (8 diffs)
-
widgets/animated-carousel/class-testimonialscarousel-cube.php (modified) (8 diffs)
-
widgets/section-with-carousel/class-section-with-cube-360.php (modified) (8 diffs)
-
widgets/section-with-carousel/class-section-with-cube.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-blog.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-bottom.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-centered.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-creative.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-employees.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-gallery-coverflow.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-logo.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel-thumbnails.php (modified) (8 diffs)
-
widgets/testimonials-carousel/class-testimonialscarousel.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
testimonials-carousel-elementor/trunk/assets/js/testimonials-carousel-widget-handler.min.js
r3249685 r3258239 1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}function _callSuper(e,t,o){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,o||[],_getPrototypeOf(e).constructor):t.apply(e,o))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function disableReadMoreBtn(e,s){e.forEach(function(e){var t=e.querySelector(".slide-description"),o=e.closest(".swiper-slide").querySelector(".slide-read-more"),n=t.offsetHeight,i=parseInt(t.style.lineHeight),e=e.parentNode;n/i<s?o.classList.add("disable-button"):(t.classList.add("crop-content"),e.classList.contains("quote")?o.addEventListener("click",openFullInfoGallery):e.classList.contains("thumbnails-content")?o.addEventListener("click",openFullInfoThumbnails):o.addEventListener("click",openFullInfo))})}function openFullInfoGallery(){var t=document.querySelector(".myGallery .testimonial").swiper,e=this.closest(".testimonial .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],n=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body");i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),n.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function toggleReadMoreContent(e,i){e.forEach(function(e){var t=e.querySelector(".blog-slider__text"),o=e.closest(".swiper-slide").querySelector(".read-more-btn"),e=t.offsetHeight/parseInt(t.style.lineHeight),n=o.getAttribute("data-text");o.getAttribute("href")||(e<i?o.classList.add("disable-button"):(t.classList.add("crop-content"),o.addEventListener("click",function(){t.classList.contains("crop-content")?(t.classList.remove("crop-content"),o.textContent="Hide"):(t.classList.add("crop-content"),o.textContent=n)})))})}function openFullInfoThumbnails(){var t=document.querySelector(".myTestimonialsThumbnail .thumbnail__slider_1").swiper,e=this.closest(".thumbnail__slider_1 .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],n=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body"),e=(i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),n.innerHTML=e.innerHTML,n.querySelector(".thumbnail__image")),n=n.querySelector(".slide-read-more");e&&e.remove(),n&&n.remove(),o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function openFullInfo(){var t=document.querySelector(".myTestimonials").swiper,e=this.closest("li"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],n=o.getElementsByClassName("slider-modal-container-info")[0],i=document.querySelector("body");i.classList.add("hidden-scroll"),document.querySelector(".myTestimonials")&&t.autoplay.stop(),o.classList.add("open"),n.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),document.querySelector(".myTestimonials")&&t.autoplay.start()})})}function initializeSlider(e,s,t,r){document.querySelectorAll(".mySwiperGalleryCoverflow").forEach(function(e,t){e.querySelector(".gallery-thumbs").setAttribute("id","Gallery-".concat(t));var e=e.querySelector(".testimonial"),e=(e.setAttribute("id","Testimonial-".concat(t)),e.querySelector(".swiper-gallery-coverflow-buttons-block")),o=document.createElement("div"),n=(o.setAttribute("class","swiper-pagination"),o.setAttribute("id","Pagination-".concat(t)),e.appendChild(o),{}),e={delay:r.autoplaySpeed,disableOnInteraction:"yes"===r.sliderDisabledInteraction},o=("no"===r.autoplay&&(e=!1),{}),i=(n["Gallery-".concat(t)]=new Swiper("#Gallery-".concat(t),{effect:"coverflow",grabCursor:!0,centeredSlides:!0,speed:r.slidesSpeed,coverflowEffect:{rotate:r.rotate,stretch:r.stretch,depth:r.depth,modifier:r.modifier,slideShadows:"yes"===r.slideShadows},breakpoints:{320:{slidesPerView:3===s.slidesToShowMobile?2:s.slidesToShowMobile},768:{slidesPerView:3===s.slidesToShowTablet?2:s.slidesToShowTablet},1024:{slidesPerView:3===s.slidesToShow?2:s.slidesToShow}},onclick:{function:function(e){e=e.target.getAttribute("data-swiper-slide-index");e&&"thumbs"===r.slidesController&&n["Testimonial-".concat(t)].slideTo(e)}}}),"thumbs"===r.slidesController&&(o={swiper:n["Gallery-".concat(t)]}),{el:".swiper-pagination",type:"bullets",clickable:!0});"dots"!==r.pagination&&(i={el:".swiper-pagination-disabled",type:"bullets"}),n["Testimonial-".concat(t)]=new Swiper("#Testimonial-".concat(t),{autoplay:e,speed:r.slidesSpeed,pagination:i,thumbs:o,breakpoints:{320:{direction:r.slidesDirectionMobile},768:{direction:r.slidesDirectionTablet},1024:{direction:r.slidesDirection}},on:{slideChange:function(){"thumbs"===r.slidesController&&n["Gallery-".concat(t)].slideTo(this.activeIndex)}}}),"control"===r.slidesController&&(n["Testimonial-".concat(t)].controller.control=n["Gallery-".concat(t)],n["Gallery-".concat(t)].controller.control=n["Testimonial-".concat(t)])})}function initializeCubeSlider(e,t,o,n){new Swiper("#".concat(e),{effect:"cube",grabCursor:!0,loop:!0,speed:n.slidesSpeed,freeMode:!0,cubeEffect:{shadow:"yes"===n.slideShadows,slideShadows:!0,shadowOffset:n.shadowOffset,shadowScale:n.shadowScale},autoplay:{delay:n.autoplaySpeed,pauseOnMouseEnter:"yes"===n.pauseOnMouseEnter,disableOnInteraction:"yes"===n.sliderDisabledInteraction,reverseDirection:"yes"===n.reverseDirection},breakpoints:{320:{spaceBetween:0},768:{spaceBetween:0},1024:{spaceBetween:0}}})}function initializeCreativeSlider(e,t,o,n){var i=document.querySelectorAll(".creative"),s={delay:n.autoplaySpeed,disableOnInteraction:"yes"===n.sliderDisabledInteraction};"no"===n.autoplay&&(s=!1),i.forEach(function(o){var e=o.querySelector(".mySwiperCreative");new Swiper(e,{grabCursor:!1,loop:"yes"===n.sliderLoop,noSwiping:!0,speed:n.slidesSpeed,noSwipingClass:"swiper-slide",autoplay:s,effect:"creative",creativeEffect:{prev:{shadow:!1,translate:["-20%",0,-1]},next:{translate:["100%",0,0]}},pagination:{el:o.querySelector(".swiper-pagination"),type:"fraction"},navigation:{nextEl:o.querySelector(".swiper-button-next"),prevEl:o.querySelector(".swiper-button-prev")},on:{slideChange:function(){var e,t=this.slides[this.activeIndex].id,t=o.parentElement.querySelector('.creative__slide-content[data-id="'+t+'"]');t&&((e=o.parentElement.querySelector(".creative__slide-content.active"))&&e.classList.remove("active"),t.classList.add("active"))}}})})}function startSlider(e,t,o,m){var n={delay:m.autoplaySpeed,disableOnInteraction:"yes"===m.sliderDisabledInteraction};"no"===m.autoplay&&(n=!1);var i,p,s={el:".swiper-pagination",type:"bullets",clickable:!0},r=("dots"===m.pagination||"both"===m.pagination||(s={el:".swiper-pagination-disabled",type:"bullets"}),""),l=(document.getElementById(e).classList.contains("mySwiperBottom")&&(r={centeredSlides:!0}),""),a=(document.getElementById(e).classList.contains("mySwiperCoverflow")||(l={320:{slidesPerGroup:o.slidesToScrollMobile,slidesPerView:t.slidesToShowMobile,spaceBetween:0},768:{slidesPerGroup:o.slidesToScrollTablet,slidesPerView:t.slidesToShowTablet,spaceBetween:20},1024:{slidesPerGroup:o.slidesToScroll,slidesPerView:t.slidesToShow,spaceBetween:30}}),""),d="";document.getElementById(e).classList.contains("mySwiperCoverflow")&&(d="coverflow",a={rotate:m.rotate,stretch:m.stretch,depth:m.depth,modifier:m.modifier,slideShadows:"yes"===m.slideShadows},r={centeredSlides:!0},l={320:{slidesPerView:t.slidesToShowMobile},768:{slidesPerView:t.slidesToShowTablet},1024:{slidesPerView:t.slidesToShow}}),document.getElementById(e).classList.contains("myBlog")&&(d="fade",l={320:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:30},1024:{slidesPerView:1,spaceBetween:30}}),document.getElementById(e).classList.contains("mySwiperGalleryCoverflow")?document.querySelectorAll(".swiper").forEach(function(e){initializeSlider(e.id,t,o,m)}):document.getElementById(e).classList.contains("mySwiperCube")?initializeCubeSlider(e,t,o,m):document.getElementById(e).classList.contains("mySwiperCreative")?initializeCreativeSlider(e,t,o,m):document.getElementById(e).classList.contains("myCube-360")?(i=document.querySelectorAll(".myCube-360"),p=document.getElementById(e).querySelector(".cube-interactive"),i.forEach(function(t){var o,n,i=!1,s=m.startCoordinateX,r=m.startCoordinateY,l=m.rotationSpeed,a=!0,d=t.querySelector(".cube");function e(e){i=!0;e=e.touches?e.touches[0]:e;o=e.clientX,n=e.clientY,a=!1,"yes"===m.cursorGrab&&(t.style.cursor="grabbing"),p&&(p.style.opacity="0",setTimeout(function(){p.style.display="none"},300))}function c(e){var t;i&&(t=(e=e.touches?e.touches[0]:e).clientX,e=e.clientY,u(s-=(e-n)*l,r+=(t-o)*l),o=t,n=e)}function u(e,t){d.style.transform="rotateX(".concat(e,"deg) rotateY(").concat(t,"deg)")}d.style.transform="rotateX(".concat(s,"deg) rotateY(").concat(r,"deg)"),"yes"===m.cursorGrab&&(t.style.cursor="grab"),"yes"===m.animationEnable&&function e(){a&&("yes"===m.animationRotationX&&(s+=m.animationSpeed),"yes"===m.animationRotationY&&(r+=m.animationSpeed),u(s,r)),requestAnimationFrame(e)}(),t.addEventListener("mousedown",e),t.addEventListener("mouseup",function(){i=!1,"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("mousemove",c),t.addEventListener("mouseenter",function(){return a=!1}),t.addEventListener("mouseleave",function(){a=!(i=!1),"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("touchstart",e),t.addEventListener("touchend",function(){return i=!1}),t.addEventListener("touchmove",c)})):document.getElementById(e).classList.contains("myTestimonialsThumbnail")?initThumbnailsSwipers(e,m):new Swiper("#".concat(e),{effect:d,coverflowEffect:a,loop:"yes"===m.sliderLoop,centeredSlides:r,loopFillGroupWithBlank:!1,autoplay:n,breakpoints:l,navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:s}),document.getElementById(e).querySelectorAll("li.swiper-slide[role='group']").forEach(function(e){e.setAttribute("role","listitem")})}function initThumbnailsSwipers(e,t){var o={delay:t.autoplaySpeed,disableOnInteraction:"yes"===t.sliderDisabledInteraction},n=("no"===t.autoplay&&(o=!1),document.getElementById(e).querySelector(".thumbnail__slider_1")),i=document.getElementById(e).querySelector(".thumbnail__slider_2"),i=new Swiper(i,{slidesPerView:"auto",spaceBetween:24,centeredSlides:!0,loop:"yes"===t.sliderLoop,slideToClickedSlide:!0}),n=new Swiper(n,{grabCursor:!0,slidesPerView:1,centeredSlides:!0,loop:"yes"===t.sliderLoop,loopedSlides:4,spaceBetween:48,speed:t.slidesSpeed,autoplay:o,pagination:{el:document.getElementById(e).querySelector(".swiper-pagination"),clickable:!0},navigation:{nextEl:document.getElementById(e).querySelector(".swiper-button-next"),prevEl:document.getElementById(e).querySelector(".swiper-button-prev")}});(n.controller.control=i).controller.control=n}var TestimonialsCarouselWidgetHandler=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementorModules.frontend.handlers.Base),_createClass(e,[{key:"updateSliderWidgetContent",value:function(){var e=this.$element[0].getElementsByClassName("mySwiper")[0];if(e.querySelectorAll("li:not(.slider-container-background)"))for(var t=e.querySelectorAll("li:not(.slider-container-background)"),o=0;o<t.length;o++)t[o].remove();var n={slidesToShow:Number(this.getElementSettings("slides_to_show"))||3,slidesToShowTablet:Number(this.getElementSettings("slides_to_show_tablet"))||2,slidesToShowMobile:Number(this.getElementSettings("slides_to_show_mobile"))||1},i={slidesToScroll:Number(this.getElementSettings("slides_to_scroll"))||n.slidesToShow,slidesToScrollTablet:Number(this.getElementSettings("slides_to_scroll_tablet"))||n.slidesToShowTablet,slidesToScrollMobile:Number(this.getElementSettings("slides_to_scroll_mobile"))||n.slidesToShowMobile},s={pagination:this.getElementSettings("navigation")||"both",autoplay:this.getElementSettings("autoplay")||"yes",autoplaySpeed:this.getElementSettings("autoplay_speed")||5e3,rotate:this.getElementSettings("rotate")||0,stretch:this.getElementSettings("stretch")||0,depth:this.getElementSettings("depth")||20,modifier:this.getElementSettings("modifier")||3,slideShadows:this.getElementSettings("slideshadows")||!0,sliderLoop:this.getElementSettings("sliderloop")||!0,sliderDisabledInteraction:this.getElementSettings("sliderdisableoninteraction")||!0,sliderRotate:this.getElementSettings("sliderrotate-myswiper")||!0,slidesDirection:this.getElementSettings("direction-myswiper")||"vertical",slidesDirectionTablet:this.getElementSettings("direction-myswiper-tablet")||this.getElementSettings("direction-myswiper"),slidesDirectionMobile:this.getElementSettings("direction-myswiper-mobile")||this.getElementSettings("direction-myswiper"),slidesController:this.getElementSettings("controller-myswiper")||"control",slidesSpeed:this.getElementSettings("speed-myswiper")||500,showLineText:this.getElementSettings("showlinetext-myswiper")||7,shadowOffset:this.getElementSettings("slidershadowoffset-myswiper")||10,shadowScale:this.getElementSettings("slidershadowscale-myswiper")||.94,pauseOnMouseEnter:this.getElementSettings("sliderpausemouse-myswiper")||!0,reverseDirection:this.getElementSettings("sliderrevercedirection-myswiper")||!1,animationEnable:this.getElementSettings("animationenable-myswiper")||!0,animationRotationX:this.getElementSettings("animationrotationx-myswiper")||!0,animationRotationY:this.getElementSettings("animationrotationy-myswiper")||!0,cursorGrab:this.getElementSettings("cursorgrabenable-myswiper")||!0,animationSpeed:this.getElementSettings("animationspeed-myswiper")||.5,rotationSpeed:this.getElementSettings("rotationspeed-myswiper")||.5,startCoordinateX:this.getElementSettings("startcoordinatex-myswiper")||-23,startCoordinateY:this.getElementSettings("startcoordinatey-myswiper")||33};startSlider(e.id,n,i,s),disableReadMoreBtn(e.querySelectorAll(".slide-content"),s.showLineText),toggleReadMoreContent(e.querySelectorAll(".blog-slider__content"),s.showLineText)}},{key:"onInit",value:function(){var e=document.querySelectorAll(".mySwiper"),t=1;e.forEach(function(e){e.setAttribute("id","mySwiper-".concat(t)),t++}),this.updateSliderWidgetContent()}}])}();window.addEventListener("elementor/frontend/init",function(){function e(e){elementorFrontend.elementsHandler.addHandler(TestimonialsCarouselWidgetHandler,{$element:e})}elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-logo.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-centered.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-bottom.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-coverflow.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-gallery-coverflow.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-employees.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-blog.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-creative.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube-360.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube-360.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-thumbnails.default",e)});1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,_toPropertyKey(i.key),i)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}function _callSuper(e,t,o){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,o||[],_getPrototypeOf(e).constructor):t.apply(e,o))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function disableReadMoreBtn(e,s){e.forEach(function(e){var t=e.querySelector(".slide-description"),o=e.closest(".swiper-slide").querySelector(".slide-read-more"),i=t.offsetHeight,n=parseInt(t.style.lineHeight),e=e.parentNode;i/n<s?o.classList.add("disable-button"):(t.classList.add("crop-content"),e.classList.contains("quote")?o.addEventListener("click",openFullInfoGallery):e.classList.contains("thumbnails-content")?o.addEventListener("click",openFullInfoThumbnails):o.addEventListener("click",openFullInfo))})}function openFullInfoGallery(){var t=document.querySelector(".myGallery .testimonial").swiper,e=this.closest(".testimonial .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],i=o.querySelector(".slider-modal-container-info"),n=document.querySelector("body");n.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),i.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),n.classList.contains("hidden-scroll")&&n.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function toggleReadMoreContent(e,n){e.forEach(function(e){var t=e.querySelector(".blog-slider__text"),o=e.closest(".swiper-slide").querySelector(".read-more-btn"),e=t.offsetHeight/parseInt(t.style.lineHeight),i=o.getAttribute("data-text");o.getAttribute("href")||(e<n?o.classList.add("disable-button"):(t.classList.add("crop-content"),o.addEventListener("click",function(){t.classList.contains("crop-content")?(t.classList.remove("crop-content"),o.textContent="Hide"):(t.classList.add("crop-content"),o.textContent=i)})))})}function openFullInfoThumbnails(){var t=document.querySelector(".myTestimonialsThumbnail .thumbnail__slider_1").swiper,e=this.closest(".thumbnail__slider_1 .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],i=o.querySelector(".slider-modal-container-info"),n=document.querySelector("body"),e=(n.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),i.innerHTML=e.innerHTML,i.querySelector(".thumbnail__image")),i=i.querySelector(".slide-read-more");e&&e.remove(),i&&i.remove(),o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),n.classList.contains("hidden-scroll")&&n.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function openFullInfo(){var t=document.querySelector(".myTestimonials").swiper,e=this.closest("li"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],i=o.getElementsByClassName("slider-modal-container-info")[0],n=document.querySelector("body");n.classList.add("hidden-scroll"),document.querySelector(".myTestimonials")&&t.autoplay.stop(),o.classList.add("open"),i.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),n.classList.contains("hidden-scroll")&&n.classList.remove("hidden-scroll"),document.querySelector(".myTestimonials")&&t.autoplay.start()})})}function initializeSlider(e,s,t,r){document.querySelectorAll(".mySwiperGalleryCoverflow").forEach(function(e,t){e.querySelector(".gallery-thumbs").setAttribute("id","Gallery-".concat(t));var e=e.querySelector(".testimonial"),e=(e.setAttribute("id","Testimonial-".concat(t)),e.querySelector(".swiper-gallery-coverflow-buttons-block")),o=document.createElement("div"),i=(o.setAttribute("class","swiper-pagination"),o.setAttribute("id","Pagination-".concat(t)),e.appendChild(o),{}),e={delay:r.autoplaySpeed,disableOnInteraction:"yes"===r.sliderDisabledInteraction},o=("no"===r.autoplay&&(e=!1),{}),n=(i["Gallery-".concat(t)]=new Swiper("#Gallery-".concat(t),{effect:"coverflow",grabCursor:!0,centeredSlides:!0,speed:r.slidesSpeed,coverflowEffect:{rotate:r.rotate,stretch:r.stretch,depth:r.depth,modifier:r.modifier,slideShadows:"yes"===r.slideShadows},breakpoints:{320:{slidesPerView:3===s.slidesToShowMobile?2:s.slidesToShowMobile},768:{slidesPerView:3===s.slidesToShowTablet?2:s.slidesToShowTablet},1024:{slidesPerView:3===s.slidesToShow?2:s.slidesToShow}},onclick:{function:function(e){e=e.target.getAttribute("data-swiper-slide-index");e&&"thumbs"===r.slidesController&&i["Testimonial-".concat(t)].slideTo(e)}}}),"thumbs"===r.slidesController&&(o={swiper:i["Gallery-".concat(t)]}),{el:".swiper-pagination",type:"bullets",clickable:!0});"dots"!==r.pagination&&(n={el:".swiper-pagination-disabled",type:"bullets"}),i["Testimonial-".concat(t)]=new Swiper("#Testimonial-".concat(t),{autoplay:e,speed:r.slidesSpeed,pagination:n,thumbs:o,breakpoints:{320:{direction:r.slidesDirectionMobile},768:{direction:r.slidesDirectionTablet},1024:{direction:r.slidesDirection}},on:{slideChange:function(){"thumbs"===r.slidesController&&i["Gallery-".concat(t)].slideTo(this.activeIndex)}}}),"control"===r.slidesController&&(i["Testimonial-".concat(t)].controller.control=i["Gallery-".concat(t)],i["Gallery-".concat(t)].controller.control=i["Testimonial-".concat(t)])})}function initializeCubeSlider(e,t,o,i){new Swiper("#".concat(e),{effect:"cube",grabCursor:!0,loop:!0,speed:i.slidesSpeed,freeMode:!0,cubeEffect:{shadow:"yes"===i.slideShadows,slideShadows:!0,shadowOffset:i.shadowOffset,shadowScale:i.shadowScale},autoplay:{delay:i.autoplaySpeed,pauseOnMouseEnter:"yes"===i.pauseOnMouseEnter,disableOnInteraction:"yes"===i.sliderDisabledInteraction,reverseDirection:"yes"===i.reverseDirection},breakpoints:{320:{spaceBetween:0},768:{spaceBetween:0},1024:{spaceBetween:0}}})}function initializeCreativeSlider(e,t,o,i){var n=document.querySelectorAll(".creative"),s={delay:i.autoplaySpeed,disableOnInteraction:"yes"===i.sliderDisabledInteraction};"no"===i.autoplay&&(s=!1),n.forEach(function(o){var e=o.querySelector(".mySwiperCreative");new Swiper(e,{grabCursor:!1,loop:"yes"===i.sliderLoop,noSwiping:!0,speed:i.slidesSpeed,noSwipingClass:"swiper-slide",autoplay:s,effect:"creative",creativeEffect:{prev:{shadow:!1,translate:["-20%",0,-1]},next:{translate:["100%",0,0]}},pagination:{el:o.querySelector(".swiper-pagination"),type:"fraction"},navigation:{nextEl:o.querySelector(".swiper-button-next"),prevEl:o.querySelector(".swiper-button-prev")},on:{slideChange:function(){var e,t=this.slides[this.activeIndex].id,t=o.parentElement.querySelector('.creative__slide-content[data-id="'+t+'"]');t&&((e=o.parentElement.querySelector(".creative__slide-content.active"))&&e.classList.remove("active"),t.classList.add("active"))}}})})}function startSlider(e,t,o,m){var i={delay:m.autoplaySpeed,disableOnInteraction:"yes"===m.sliderDisabledInteraction};"no"===m.autoplay&&(i=!1);var p,n,s={el:".swiper-pagination",type:"bullets",clickable:!0},r=("dots"===m.pagination||"both"===m.pagination||(s={el:".swiper-pagination-disabled",type:"bullets"}),""),l=(document.getElementById(e).classList.contains("mySwiperBottom")&&(r={centeredSlides:!0}),""),a=(document.getElementById(e).classList.contains("mySwiperCoverflow")||(l={320:{slidesPerGroup:o.slidesToScrollMobile,slidesPerView:t.slidesToShowMobile,spaceBetween:0},768:{slidesPerGroup:o.slidesToScrollTablet,slidesPerView:t.slidesToShowTablet,spaceBetween:20},1024:{slidesPerGroup:o.slidesToScroll,slidesPerView:t.slidesToShow,spaceBetween:30}}),""),d="";document.getElementById(e).classList.contains("mySwiperCoverflow")&&(d="coverflow",a={rotate:m.rotate,stretch:m.stretch,depth:m.depth,modifier:m.modifier,slideShadows:"yes"===m.slideShadows},r={centeredSlides:!0},l={320:{slidesPerView:t.slidesToShowMobile},768:{slidesPerView:t.slidesToShowTablet},1024:{slidesPerView:t.slidesToShow}}),document.getElementById(e).classList.contains("myBlog")&&(d="fade",l={320:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:30},1024:{slidesPerView:1,spaceBetween:30}}),document.getElementById(e).classList.contains("mySwiperGalleryCoverflow")?document.querySelectorAll(".swiper").forEach(function(e){initializeSlider(e.id,t,o,m)}):document.getElementById(e).classList.contains("mySwiperCube")?initializeCubeSlider(e,t,o,m):document.getElementById(e).classList.contains("mySwiperCreative")?initializeCreativeSlider(e,t,o,m):document.getElementById(e).classList.contains("myCube-360")?(n=document.querySelectorAll(".myCube-360"),p=document.getElementById(e).querySelector(".cube-interactive"),n.forEach(function(t){var o,i,n=!1,s=m.startCoordinateX,r=m.startCoordinateY,l=m.rotationSpeed,a=!0,d=t.querySelector(".cube");function e(e){n=!0;e=e.touches?e.touches[0]:e;o=e.clientX,i=e.clientY,a=!1,"yes"===m.cursorGrab&&(t.style.cursor="grabbing"),p&&(p.style.opacity="0",setTimeout(function(){p.style.display="none"},300))}function c(e){var t;n&&(t=(e=e.touches?e.touches[0]:e).clientX,e=e.clientY,u(s-=(e-i)*l,r+=(t-o)*l),o=t,i=e)}function u(e,t){d.style.transform="rotateX(".concat(e,"deg) rotateY(").concat(t,"deg)")}d.style.transform="rotateX(".concat(s,"deg) rotateY(").concat(r,"deg)"),"yes"===m.cursorGrab&&(t.style.cursor="grab"),"yes"===m.animationEnable&&function e(){a&&("yes"===m.animationRotationX&&(s+=m.animationSpeed),"yes"===m.animationRotationY&&(r+=m.animationSpeed),u(s,r)),requestAnimationFrame(e)}(),t.addEventListener("mousedown",e),t.addEventListener("mouseup",function(){n=!1,"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("mousemove",c),t.addEventListener("mouseenter",function(){return a=!1}),t.addEventListener("mouseleave",function(){a=!(n=!1),"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("touchstart",e),t.addEventListener("touchend",function(){return n=!1}),t.addEventListener("touchmove",c)})):document.getElementById(e).classList.contains("myTestimonialsThumbnail")?initThumbnailsSwipers(e,m):(n={effect:d,coverflowEffect:a,loop:"yes"===m.sliderLoop,centeredSlides:r,loopFillGroupWithBlank:!1,autoplay:i,breakpoints:l,navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:s},document.getElementById(e).classList.contains("mySwiperCoverflow")&&(n.on={init:removeLightboxAttributes,loopFix:removeLightboxAttributes}),new Swiper("#".concat(e),n)),document.getElementById(e).querySelectorAll("li.swiper-slide[role='group']").forEach(function(e){e.setAttribute("role","listitem")})}function removeLightboxAttributes(){document.querySelectorAll(".swiper-slide-duplicate .slide-coverflow-button").forEach(function(e){e.removeAttribute("data-elementor-open-lightbox"),e.removeAttribute("data-elementor-lightbox-slideshow")})}function initThumbnailsSwipers(e,t){var o={delay:t.autoplaySpeed,disableOnInteraction:"yes"===t.sliderDisabledInteraction},i=("no"===t.autoplay&&(o=!1),document.getElementById(e).querySelector(".thumbnail__slider_1")),n=document.getElementById(e).querySelector(".thumbnail__slider_2"),n=new Swiper(n,{slidesPerView:"auto",spaceBetween:24,centeredSlides:!0,loop:"yes"===t.sliderLoop,slideToClickedSlide:!0}),i=new Swiper(i,{grabCursor:!0,slidesPerView:1,centeredSlides:!0,loop:"yes"===t.sliderLoop,loopedSlides:4,spaceBetween:48,speed:t.slidesSpeed,autoplay:o,pagination:{el:document.getElementById(e).querySelector(".swiper-pagination"),clickable:!0},navigation:{nextEl:document.getElementById(e).querySelector(".swiper-button-next"),prevEl:document.getElementById(e).querySelector(".swiper-button-prev")}});(i.controller.control=n).controller.control=i}var TestimonialsCarouselWidgetHandler=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementorModules.frontend.handlers.Base),_createClass(e,[{key:"updateSliderWidgetContent",value:function(){var e=this.$element[0].getElementsByClassName("mySwiper")[0];if(e.querySelectorAll("li:not(.slider-container-background)"))for(var t=e.querySelectorAll("li:not(.slider-container-background)"),o=0;o<t.length;o++)t[o].remove();var i={slidesToShow:Number(this.getElementSettings("slides_to_show"))||3,slidesToShowTablet:Number(this.getElementSettings("slides_to_show_tablet"))||2,slidesToShowMobile:Number(this.getElementSettings("slides_to_show_mobile"))||1},n={slidesToScroll:Number(this.getElementSettings("slides_to_scroll"))||i.slidesToShow,slidesToScrollTablet:Number(this.getElementSettings("slides_to_scroll_tablet"))||i.slidesToShowTablet,slidesToScrollMobile:Number(this.getElementSettings("slides_to_scroll_mobile"))||i.slidesToShowMobile},s={pagination:this.getElementSettings("navigation")||"both",autoplay:this.getElementSettings("autoplay")||"yes",autoplaySpeed:this.getElementSettings("autoplay_speed")||5e3,rotate:this.getElementSettings("rotate")||0,stretch:this.getElementSettings("stretch")||0,depth:this.getElementSettings("depth")||20,modifier:this.getElementSettings("modifier")||3,slideShadows:this.getElementSettings("slideshadows")||!0,sliderLoop:this.getElementSettings("sliderloop")||!0,sliderDisabledInteraction:this.getElementSettings("sliderdisableoninteraction")||!0,sliderRotate:this.getElementSettings("sliderrotate-myswiper")||!0,slidesDirection:this.getElementSettings("direction-myswiper")||"vertical",slidesDirectionTablet:this.getElementSettings("direction-myswiper-tablet")||this.getElementSettings("direction-myswiper"),slidesDirectionMobile:this.getElementSettings("direction-myswiper-mobile")||this.getElementSettings("direction-myswiper"),slidesController:this.getElementSettings("controller-myswiper")||"control",slidesSpeed:this.getElementSettings("speed-myswiper")||500,showLineText:this.getElementSettings("showlinetext-myswiper")||7,shadowOffset:this.getElementSettings("slidershadowoffset-myswiper")||10,shadowScale:this.getElementSettings("slidershadowscale-myswiper")||.94,pauseOnMouseEnter:this.getElementSettings("sliderpausemouse-myswiper")||!0,reverseDirection:this.getElementSettings("sliderrevercedirection-myswiper")||!1,animationEnable:this.getElementSettings("animationenable-myswiper")||!0,animationRotationX:this.getElementSettings("animationrotationx-myswiper")||!0,animationRotationY:this.getElementSettings("animationrotationy-myswiper")||!0,cursorGrab:this.getElementSettings("cursorgrabenable-myswiper")||!0,animationSpeed:this.getElementSettings("animationspeed-myswiper")||.5,rotationSpeed:this.getElementSettings("rotationspeed-myswiper")||.5,startCoordinateX:this.getElementSettings("startcoordinatex-myswiper")||-23,startCoordinateY:this.getElementSettings("startcoordinatey-myswiper")||33};startSlider(e.id,i,n,s),disableReadMoreBtn(e.querySelectorAll(".slide-content"),s.showLineText),toggleReadMoreContent(e.querySelectorAll(".blog-slider__content"),s.showLineText)}},{key:"onInit",value:function(){var e=document.querySelectorAll(".mySwiper"),t=1;e.forEach(function(e){e.setAttribute("id","mySwiper-".concat(t)),t++}),this.updateSliderWidgetContent()}}])}();window.addEventListener("elementor/frontend/init",function(){function e(e){elementorFrontend.elementsHandler.addHandler(TestimonialsCarouselWidgetHandler,{$element:e})}elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-logo.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-centered.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-bottom.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-coverflow.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-gallery-coverflow.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-employees.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-blog.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-creative.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube-360.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube-360.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-thumbnails.default",e)}); -
testimonials-carousel-elementor/trunk/assets/js/testimonials-carousel-widget-old-elementor-handler.min.js
r3249685 r3258239 1 "use strict";!function(e){function c(){var t=document.querySelector(".myGallery .testimonial").swiper,e=this.closest(".testimonial .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body");i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function u(){var t=document.querySelector(".myTestimonialsThumbnail .thumbnail__slider_1").swiper,e=this.closest(".thumbnail__slider_1 .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body"),e=(i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,s.querySelector(".thumbnail__image")),s=s.querySelector(".slide-read-more");e&&e.remove(),s&&s.remove(),o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function m(){var t=document.querySelector(".myTestimonials").swiper,e=this.closest("li"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.getElementsByClassName("slider-modal-container-info")[0],i=document.querySelector("body");i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function p(e,t,o,m){var s={delay:m.autoplaySpeed,disableOnInteraction:"yes"===m.sliderDisabledInteraction};"no"===m.autoplay&&(s=!1);var p,i,n,a,l,r,d,c,u,y={el:".swiper-pagination",type:"bullets",clickable:!0},w=("dots"===m.pagination||"both"===m.pagination||(y={el:".swiper-pagination-disabled",type:"bullets"}),""),b=(document.getElementById(e).classList.contains("mySwiperBottom")&&(w={centeredSlides:!0}),""),o=(document.getElementById(e).classList.contains("mySwiperCoverflow")||(b={320:{slidesPerGroup:o.slidesToScrollMobile,slidesPerView:t.slidesToShowMobile,spaceBetween:0},768:{slidesPerGroup:o.slidesToScrollTablet,slidesPerView:t.slidesToShowTablet,spaceBetween:20},1024:{slidesPerGroup:o.slidesToScroll,slidesPerView:t.slidesToShow,spaceBetween:30}}),""),f="";document.getElementById(e).classList.contains("mySwiperCoverflow")&&(f="coverflow",o={rotate:m.rotate,stretch:m.stretch,depth:m.depth,modifier:m.modifier,slideShadows:"yes"===m.slideShadows},w={centeredSlides:!0},b={320:{slidesPerView:t.slidesToShowMobile},768:{slidesPerView:t.slidesToShowTablet},1024:{slidesPerView:t.slidesToShow}}),document.getElementById(e).classList.contains("myBlog")&&(f="fade",b={320:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:30},1024:{slidesPerView:1,spaceBetween:30}}),document.getElementById(e).classList.contains("mySwiperGalleryCoverflow")?document.querySelectorAll(".swiper").forEach(function(e){var n,a;e.id;n=t,a=m,document.querySelectorAll(".mySwiperGalleryCoverflow").forEach(function(e,t){e.querySelector(".gallery-thumbs").setAttribute("id","Gallery-".concat(t));var e=e.querySelector(".testimonial"),e=(e.setAttribute("id","Testimonial-".concat(t)),e.querySelector(".swiper-gallery-coverflow-buttons-block")),o=document.createElement("div"),s=(o.setAttribute("class","swiper-pagination"),o.setAttribute("id","Pagination-".concat(t)),e.appendChild(o),{}),e={delay:a.autoplaySpeed,disableOnInteraction:"yes"===a.sliderDisabledInteraction},o=("no"===a.autoplay&&(e=!1),{}),i=(s["Gallery-".concat(t)]=new Swiper("#Gallery-".concat(t),{effect:"coverflow",grabCursor:!0,speed:a.slidesSpeed,centeredSlides:!0,coverflowEffect:{rotate:a.rotate,stretch:a.stretch,depth:a.depth,modifier:a.modifier,slideShadows:"yes"===a.slideShadows},breakpoints:{320:{slidesPerView:3===n.slidesToShowMobile?2:n.slidesToShowMobile},768:{slidesPerView:3===n.slidesToShowTablet?2:n.slidesToShowTablet},1024:{slidesPerView:3===n.slidesToShow?2:n.slidesToShow}},onclick:{function:function(e){e=e.target.getAttribute("data-swiper-slide-index");e&&"thumbs"===a.slidesController&&s["Testimonial-".concat(t)].slideTo(e)}}}),"thumbs"===a.slidesController&&(o={swiper:s["Gallery-".concat(t)]}),{el:".swiper-pagination",type:"bullets",clickable:!0});"dots"!==a.pagination&&(i={el:".swiper-pagination-disabled",type:"bullets"}),s["Testimonial-".concat(t)]=new Swiper("#Testimonial-".concat(t),{autoplay:e,speed:a.slidesSpeed,pagination:i,thumbs:o,breakpoints:{320:{direction:a.slidesDirectionMobile},768:{direction:a.slidesDirectionTablet},1024:{direction:a.slidesDirection}},on:{slideChange:function(){"thumbs"===a.slidesController&&s["Gallery-".concat(t)].slideTo(this.activeIndex)}}}),"control"===a.slidesController&&(s["Testimonial-".concat(t)].controller.control=s["Gallery-".concat(t)],s["Gallery-".concat(t)].controller.control=s["Testimonial-".concat(t)])})}):document.getElementById(e).classList.contains("mySwiperCube")?(u=m,new Swiper("#".concat(e),{effect:"cube",grabCursor:!0,loop:!0,speed:u.slidesSpeed,freeMode:!0,cubeEffect:{shadow:"yes"===u.slideShadows,slideShadows:!0,shadowOffset:u.shadowOffset,shadowScale:u.shadowScale},autoplay:{delay:u.autoplaySpeed,pauseOnMouseEnter:"yes"===u.pauseOnMouseEnter,disableOnInteraction:"yes"===u.sliderDisabledInteraction,reverseDirection:"yes"===u.reverseDirection},breakpoints:{320:{spaceBetween:0},768:{spaceBetween:0},1024:{spaceBetween:0}}})):document.getElementById(e).classList.contains("mySwiperCreative")?(d=m,u=document.querySelectorAll(".creative"),c={delay:d.autoplaySpeed,disableOnInteraction:"yes"===d.sliderDisabledInteraction},"no"===d.autoplay&&(c=!1),u.forEach(function(o){var e=o.querySelector(".mySwiperCreative");new Swiper(e,{grabCursor:!1,loop:"yes"===d.sliderLoop,noSwiping:!0,speed:d.slidesSpeed,noSwipingClass:"swiper-slide",autoplay:c,effect:"creative",creativeEffect:{prev:{shadow:!1,translate:["-20%",0,-1]},next:{translate:["100%",0,0]}},pagination:{el:o.querySelector(".swiper-pagination"),type:"fraction"},navigation:{nextEl:o.querySelector(".swiper-button-next"),prevEl:o.querySelector(".swiper-button-prev")},on:{slideChange:function(){var e,t=this.slides[this.activeIndex].id,t=o.parentElement.querySelector('.creative__slide-content[data-id="'+t+'"]');t&&((e=o.parentElement.querySelector(".creative__slide-content.active"))&&e.classList.remove("active"),t.classList.add("active"))}}})})):document.getElementById(e).classList.contains("myCube-360")?(i=document.querySelectorAll(".myCube-360"),p=document.getElementById(e).querySelector(".cube-interactive"),i.forEach(function(t){var o,s,i=!1,n=m.startCoordinateX,a=m.startCoordinateY,l=m.rotationSpeed,r=!0,d=t.querySelector(".cube");function e(e){i=!0;e=e.touches?e.touches[0]:e;o=e.clientX,s=e.clientY,r=!1,"yes"===m.cursorGrab&&(t.style.cursor="grabbing"),p&&(p.style.opacity="0",setTimeout(function(){p.style.display="none"},300))}function c(e){var t;i&&(t=(e=e.touches?e.touches[0]:e).clientX,e=e.clientY,u(n-=(e-s)*l,a+=(t-o)*l),o=t,s=e)}function u(e,t){d.style.transform="rotateX(".concat(e,"deg) rotateY(").concat(t,"deg)")}d.style.transform="rotateX(".concat(n,"deg) rotateY(").concat(a,"deg)"),"yes"===m.cursorGrab&&(t.style.cursor="grab"),"yes"===m.animationEnable&&function e(){r&&("yes"===m.animationRotationX&&(n+=m.animationSpeed),"yes"===m.animationRotationY&&(a+=m.animationSpeed),u(n,a)),requestAnimationFrame(e)}(),t.addEventListener("mousedown",e),t.addEventListener("mouseup",function(){i=!1,"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("mousemove",c),t.addEventListener("mouseenter",function(){return r=!1}),t.addEventListener("mouseleave",function(){r=!(i=!1),"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("touchstart",e),t.addEventListener("touchend",function(){return i=!1}),t.addEventListener("touchmove",c)})):document.getElementById(e).classList.contains("myTestimonialsThumbnail")?(i=e,a={delay:(n=m).autoplaySpeed,disableOnInteraction:"yes"===n.sliderDisabledInteraction},"no"===n.autoplay&&(a=!1),l=document.getElementById(i).querySelector(".thumbnail__slider_1"),r=document.getElementById(i).querySelector(".thumbnail__slider_2"),r=new Swiper(r,{slidesPerView:"auto",spaceBetween:24,centeredSlides:!0,loop:"yes"===n.sliderLoop,slideToClickedSlide:!0}),((l=new Swiper(l,{grabCursor:!0,slidesPerView:1,centeredSlides:!0,loop:"yes"===n.sliderLoop,loopedSlides:4,spaceBetween:48,speed:n.slidesSpeed,autoplay:a,pagination:{el:document.getElementById(i).querySelector(".swiper-pagination"),clickable:!0},navigation:{nextEl:document.getElementById(i).querySelector(".swiper-button-next"),prevEl:document.getElementById(i).querySelector(".swiper-button-prev")}})).controller.control=r).controller.control=l): new Swiper("#".concat(e),{effect:f,coverflowEffect:o,loop:"yes"===m.sliderLoop,centeredSlides:w,loopFillGroupWithBlank:!1,autoplay:s,breakpoints:b,navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:y}),document.getElementById(e).querySelectorAll("li.swiper-slide[role='group']").forEach(function(e){e.setAttribute("role","listitem")})}function t(e,t){for(var o=document.querySelectorAll(".mySwiper"),s=1,o=(o.forEach(function(e){e.setAttribute("id","mySwiper-".concat(s)),s++}),e.find(".slider-params")),i=(e=e[0].getElementsByClassName("mySwiper")[0]).querySelectorAll("li:not(.slider-container-background)"),n=0;n<i.length;n++)i[n].remove();var a,l,r={slidesToShow:Number(o.data("slidestoshow-myswiper"))||3,slidesToShowTablet:Number(o.data("slidestoshow-myswiper-tablet"))||2,slidesToShowMobile:Number(o.data("slidestoshow-myswiper-mobile"))||1},d={slidesToScroll:Number(o.data("slidestoscroll-myswiper"))||r.slidesToShow,slidesToScrollTablet:Number(o.data("slidestoscroll-myswiper-tablet"))||r.slidesToShowTablet,slidesToScrollMobile:Number(o.data("slidestoscroll-myswiper-mobile"))||r.slidesToShowMobile},o={pagination:o.data("navigation-myswiper")||"both",sliderLoop:o.data("sliderloop-myswiper")||!0,sliderDisabledInteraction:o.data("sliderdisableoninteraction-myswiper")||!0,sliderRotate:o.data("sliderrotate-myswiper")||!0,autoplay:o.data("autoplay-myswiper")||"yes",autoplaySpeed:o.data("autoplayspeed-myswiper")||5e3,rotate:o.data("rotate-myswiper")||0,stretch:o.data("stretch-myswiper")||0,depth:o.data("depth-myswiper")||20,modifier:o.data("modifier-myswiper")||3,slideShadows:o.data("slideshadows-myswiper")||!0,slidesDirection:o.data("direction-myswiper")||"vertical",slidesDirectionTablet:o.data("direction-myswiper-tablet")||o.data("direction-myswiper"),slidesDirectionMobile:o.data("direction-myswiper-mobile")||o.data("direction-myswiper"),slidesController:o.data("controller-myswiper")||"control",slidesSpeed:o.data("speed-myswiper")||500,showLineText:o.data("showlinetext-myswiper")||7,shadowOffset:o.data("slidershadowoffset-myswiper")||10,shadowScale:o.data("slidershadowscale-myswiper")||.94,pauseOnMouseEnter:o.data("sliderpausemouse-myswiper")||!0,reverseDirection:o.data("sliderrevercedirection-myswiper")||!1,animationEnable:o.data("animationenable-myswiper")||!0,animationRotationX:o.data("animationrotationx-myswiper")||!0,animationRotationY:o.data("animationrotationy-myswiper")||!0,cursorGrab:o.data("cursorgrabenable-myswiper")||!0,animationSpeed:o.data("animationspeed-myswiper")||.5,rotationSpeed:o.data("rotationspeed-myswiper")||.5,startCoordinateX:o.data("startcoordinatex-myswiper")||-23,startCoordinateY:o.data("startcoordinatey-myswiper")||33};p(e.id,r,d,o),r=e.querySelectorAll(".slide-content"),a=o.showLineText,r.forEach(function(e){var t=e.querySelector(".slide-description"),o=e.closest(".swiper-slide").querySelector(".slide-read-more"),s=t.offsetHeight,i=parseInt(t.style.lineHeight),e=e.parentNode;s/i<a?o.classList.add("disable-button"):(t.classList.add("crop-content"),e.classList.contains("quote")?o.addEventListener("click",c):e.classList.contains("thumbnails-content")?o.addEventListener("click",u):o.addEventListener("click",m))}),d=e.querySelectorAll(".blog-slider__content"),l=o.showLineText,d.forEach(function(e){var t=e.querySelector(".blog-slider__text"),o=e.closest(".swiper-slide").querySelector(".read-more-btn"),e=t.offsetHeight/parseInt(t.style.lineHeight),s=o.getAttribute("data-text");o.getAttribute("href")||(e<l?o.classList.add("disable-button"):(t.classList.add("crop-content"),o.addEventListener("click",function(){t.classList.contains("crop-content")?(t.classList.remove("crop-content"),o.textContent="Hide"):(t.classList.add("crop-content"),o.textContent=s)})))})}e(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode(),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-logo.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-centered.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-bottom.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-coverflow.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-gallery-coverflow.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-employees.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-blog.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-creative.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube-360.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube-360.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-thumbnails.default",t)})}(jQuery);1 "use strict";!function(e){function c(){var t=document.querySelector(".myGallery .testimonial").swiper,e=this.closest(".testimonial .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body");i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function u(){var t=document.querySelector(".myTestimonialsThumbnail .thumbnail__slider_1").swiper,e=this.closest(".thumbnail__slider_1 .swiper-slide"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.querySelector(".slider-modal-container-info"),i=document.querySelector("body"),e=(i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,s.querySelector(".thumbnail__image")),s=s.querySelector(".slide-read-more");e&&e.remove(),s&&s.remove(),o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function m(){var t=document.querySelector(".myTestimonials").swiper,e=this.closest("li"),o=this.closest(".elementor-widget").getElementsByClassName("slider-modal")[0],s=o.getElementsByClassName("slider-modal-container-info")[0],i=document.querySelector("body");i.classList.add("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.stop(),o.classList.add("open"),s.innerHTML=e.innerHTML,o.querySelectorAll(".slider-modal-exit").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.remove("open"),i.classList.contains("hidden-scroll")&&i.classList.remove("hidden-scroll"),!0===t.params.autoplay.enabled&&t.autoplay.start()})})}function p(e,t,o,m){var s={delay:m.autoplaySpeed,disableOnInteraction:"yes"===m.sliderDisabledInteraction};"no"===m.autoplay&&(s=!1);var p,i,n,a,l,r,d,c,u,y={el:".swiper-pagination",type:"bullets",clickable:!0},w=("dots"===m.pagination||"both"===m.pagination||(y={el:".swiper-pagination-disabled",type:"bullets"}),""),b=(document.getElementById(e).classList.contains("mySwiperBottom")&&(w={centeredSlides:!0}),""),o=(document.getElementById(e).classList.contains("mySwiperCoverflow")||(b={320:{slidesPerGroup:o.slidesToScrollMobile,slidesPerView:t.slidesToShowMobile,spaceBetween:0},768:{slidesPerGroup:o.slidesToScrollTablet,slidesPerView:t.slidesToShowTablet,spaceBetween:20},1024:{slidesPerGroup:o.slidesToScroll,slidesPerView:t.slidesToShow,spaceBetween:30}}),""),f="";document.getElementById(e).classList.contains("mySwiperCoverflow")&&(f="coverflow",o={rotate:m.rotate,stretch:m.stretch,depth:m.depth,modifier:m.modifier,slideShadows:"yes"===m.slideShadows},w={centeredSlides:!0},b={320:{slidesPerView:t.slidesToShowMobile},768:{slidesPerView:t.slidesToShowTablet},1024:{slidesPerView:t.slidesToShow}}),document.getElementById(e).classList.contains("myBlog")&&(f="fade",b={320:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:30},1024:{slidesPerView:1,spaceBetween:30}}),document.getElementById(e).classList.contains("mySwiperGalleryCoverflow")?document.querySelectorAll(".swiper").forEach(function(e){var n,a;e.id;n=t,a=m,document.querySelectorAll(".mySwiperGalleryCoverflow").forEach(function(e,t){e.querySelector(".gallery-thumbs").setAttribute("id","Gallery-".concat(t));var e=e.querySelector(".testimonial"),e=(e.setAttribute("id","Testimonial-".concat(t)),e.querySelector(".swiper-gallery-coverflow-buttons-block")),o=document.createElement("div"),s=(o.setAttribute("class","swiper-pagination"),o.setAttribute("id","Pagination-".concat(t)),e.appendChild(o),{}),e={delay:a.autoplaySpeed,disableOnInteraction:"yes"===a.sliderDisabledInteraction},o=("no"===a.autoplay&&(e=!1),{}),i=(s["Gallery-".concat(t)]=new Swiper("#Gallery-".concat(t),{effect:"coverflow",grabCursor:!0,speed:a.slidesSpeed,centeredSlides:!0,coverflowEffect:{rotate:a.rotate,stretch:a.stretch,depth:a.depth,modifier:a.modifier,slideShadows:"yes"===a.slideShadows},breakpoints:{320:{slidesPerView:3===n.slidesToShowMobile?2:n.slidesToShowMobile},768:{slidesPerView:3===n.slidesToShowTablet?2:n.slidesToShowTablet},1024:{slidesPerView:3===n.slidesToShow?2:n.slidesToShow}},onclick:{function:function(e){e=e.target.getAttribute("data-swiper-slide-index");e&&"thumbs"===a.slidesController&&s["Testimonial-".concat(t)].slideTo(e)}}}),"thumbs"===a.slidesController&&(o={swiper:s["Gallery-".concat(t)]}),{el:".swiper-pagination",type:"bullets",clickable:!0});"dots"!==a.pagination&&(i={el:".swiper-pagination-disabled",type:"bullets"}),s["Testimonial-".concat(t)]=new Swiper("#Testimonial-".concat(t),{autoplay:e,speed:a.slidesSpeed,pagination:i,thumbs:o,breakpoints:{320:{direction:a.slidesDirectionMobile},768:{direction:a.slidesDirectionTablet},1024:{direction:a.slidesDirection}},on:{slideChange:function(){"thumbs"===a.slidesController&&s["Gallery-".concat(t)].slideTo(this.activeIndex)}}}),"control"===a.slidesController&&(s["Testimonial-".concat(t)].controller.control=s["Gallery-".concat(t)],s["Gallery-".concat(t)].controller.control=s["Testimonial-".concat(t)])})}):document.getElementById(e).classList.contains("mySwiperCube")?(u=m,new Swiper("#".concat(e),{effect:"cube",grabCursor:!0,loop:!0,speed:u.slidesSpeed,freeMode:!0,cubeEffect:{shadow:"yes"===u.slideShadows,slideShadows:!0,shadowOffset:u.shadowOffset,shadowScale:u.shadowScale},autoplay:{delay:u.autoplaySpeed,pauseOnMouseEnter:"yes"===u.pauseOnMouseEnter,disableOnInteraction:"yes"===u.sliderDisabledInteraction,reverseDirection:"yes"===u.reverseDirection},breakpoints:{320:{spaceBetween:0},768:{spaceBetween:0},1024:{spaceBetween:0}}})):document.getElementById(e).classList.contains("mySwiperCreative")?(d=m,u=document.querySelectorAll(".creative"),c={delay:d.autoplaySpeed,disableOnInteraction:"yes"===d.sliderDisabledInteraction},"no"===d.autoplay&&(c=!1),u.forEach(function(o){var e=o.querySelector(".mySwiperCreative");new Swiper(e,{grabCursor:!1,loop:"yes"===d.sliderLoop,noSwiping:!0,speed:d.slidesSpeed,noSwipingClass:"swiper-slide",autoplay:c,effect:"creative",creativeEffect:{prev:{shadow:!1,translate:["-20%",0,-1]},next:{translate:["100%",0,0]}},pagination:{el:o.querySelector(".swiper-pagination"),type:"fraction"},navigation:{nextEl:o.querySelector(".swiper-button-next"),prevEl:o.querySelector(".swiper-button-prev")},on:{slideChange:function(){var e,t=this.slides[this.activeIndex].id,t=o.parentElement.querySelector('.creative__slide-content[data-id="'+t+'"]');t&&((e=o.parentElement.querySelector(".creative__slide-content.active"))&&e.classList.remove("active"),t.classList.add("active"))}}})})):document.getElementById(e).classList.contains("myCube-360")?(i=document.querySelectorAll(".myCube-360"),p=document.getElementById(e).querySelector(".cube-interactive"),i.forEach(function(t){var o,s,i=!1,n=m.startCoordinateX,a=m.startCoordinateY,l=m.rotationSpeed,r=!0,d=t.querySelector(".cube");function e(e){i=!0;e=e.touches?e.touches[0]:e;o=e.clientX,s=e.clientY,r=!1,"yes"===m.cursorGrab&&(t.style.cursor="grabbing"),p&&(p.style.opacity="0",setTimeout(function(){p.style.display="none"},300))}function c(e){var t;i&&(t=(e=e.touches?e.touches[0]:e).clientX,e=e.clientY,u(n-=(e-s)*l,a+=(t-o)*l),o=t,s=e)}function u(e,t){d.style.transform="rotateX(".concat(e,"deg) rotateY(").concat(t,"deg)")}d.style.transform="rotateX(".concat(n,"deg) rotateY(").concat(a,"deg)"),"yes"===m.cursorGrab&&(t.style.cursor="grab"),"yes"===m.animationEnable&&function e(){r&&("yes"===m.animationRotationX&&(n+=m.animationSpeed),"yes"===m.animationRotationY&&(a+=m.animationSpeed),u(n,a)),requestAnimationFrame(e)}(),t.addEventListener("mousedown",e),t.addEventListener("mouseup",function(){i=!1,"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("mousemove",c),t.addEventListener("mouseenter",function(){return r=!1}),t.addEventListener("mouseleave",function(){r=!(i=!1),"yes"===m.cursorGrab&&(t.style.cursor="grab")}),t.addEventListener("touchstart",e),t.addEventListener("touchend",function(){return i=!1}),t.addEventListener("touchmove",c)})):document.getElementById(e).classList.contains("myTestimonialsThumbnail")?(i=e,a={delay:(n=m).autoplaySpeed,disableOnInteraction:"yes"===n.sliderDisabledInteraction},"no"===n.autoplay&&(a=!1),l=document.getElementById(i).querySelector(".thumbnail__slider_1"),r=document.getElementById(i).querySelector(".thumbnail__slider_2"),r=new Swiper(r,{slidesPerView:"auto",spaceBetween:24,centeredSlides:!0,loop:"yes"===n.sliderLoop,slideToClickedSlide:!0}),((l=new Swiper(l,{grabCursor:!0,slidesPerView:1,centeredSlides:!0,loop:"yes"===n.sliderLoop,loopedSlides:4,spaceBetween:48,speed:n.slidesSpeed,autoplay:a,pagination:{el:document.getElementById(i).querySelector(".swiper-pagination"),clickable:!0},navigation:{nextEl:document.getElementById(i).querySelector(".swiper-button-next"),prevEl:document.getElementById(i).querySelector(".swiper-button-prev")}})).controller.control=r).controller.control=l):(n={effect:f,coverflowEffect:o,loop:"yes"===m.sliderLoop,centeredSlides:w,loopFillGroupWithBlank:!1,autoplay:s,breakpoints:b,navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:y},document.getElementById(e).classList.contains("mySwiperCoverflow")&&(n.on={init:h,loopFix:h}),new Swiper("#".concat(e),n)),document.getElementById(e).querySelectorAll("li.swiper-slide[role='group']").forEach(function(e){e.setAttribute("role","listitem")})}function h(){document.querySelectorAll(".swiper-slide-duplicate .slide-coverflow-button").forEach(function(e){e.removeAttribute("data-elementor-open-lightbox"),e.removeAttribute("data-elementor-lightbox-slideshow")})}function t(e,t){for(var o=document.querySelectorAll(".mySwiper"),s=1,o=(o.forEach(function(e){e.setAttribute("id","mySwiper-".concat(s)),s++}),e.find(".slider-params")),i=(e=e[0].getElementsByClassName("mySwiper")[0]).querySelectorAll("li:not(.slider-container-background)"),n=0;n<i.length;n++)i[n].remove();var a,l,r={slidesToShow:Number(o.data("slidestoshow-myswiper"))||3,slidesToShowTablet:Number(o.data("slidestoshow-myswiper-tablet"))||2,slidesToShowMobile:Number(o.data("slidestoshow-myswiper-mobile"))||1},d={slidesToScroll:Number(o.data("slidestoscroll-myswiper"))||r.slidesToShow,slidesToScrollTablet:Number(o.data("slidestoscroll-myswiper-tablet"))||r.slidesToShowTablet,slidesToScrollMobile:Number(o.data("slidestoscroll-myswiper-mobile"))||r.slidesToShowMobile},o={pagination:o.data("navigation-myswiper")||"both",sliderLoop:o.data("sliderloop-myswiper")||!0,sliderDisabledInteraction:o.data("sliderdisableoninteraction-myswiper")||!0,sliderRotate:o.data("sliderrotate-myswiper")||!0,autoplay:o.data("autoplay-myswiper")||"yes",autoplaySpeed:o.data("autoplayspeed-myswiper")||5e3,rotate:o.data("rotate-myswiper")||0,stretch:o.data("stretch-myswiper")||0,depth:o.data("depth-myswiper")||20,modifier:o.data("modifier-myswiper")||3,slideShadows:o.data("slideshadows-myswiper")||!0,slidesDirection:o.data("direction-myswiper")||"vertical",slidesDirectionTablet:o.data("direction-myswiper-tablet")||o.data("direction-myswiper"),slidesDirectionMobile:o.data("direction-myswiper-mobile")||o.data("direction-myswiper"),slidesController:o.data("controller-myswiper")||"control",slidesSpeed:o.data("speed-myswiper")||500,showLineText:o.data("showlinetext-myswiper")||7,shadowOffset:o.data("slidershadowoffset-myswiper")||10,shadowScale:o.data("slidershadowscale-myswiper")||.94,pauseOnMouseEnter:o.data("sliderpausemouse-myswiper")||!0,reverseDirection:o.data("sliderrevercedirection-myswiper")||!1,animationEnable:o.data("animationenable-myswiper")||!0,animationRotationX:o.data("animationrotationx-myswiper")||!0,animationRotationY:o.data("animationrotationy-myswiper")||!0,cursorGrab:o.data("cursorgrabenable-myswiper")||!0,animationSpeed:o.data("animationspeed-myswiper")||.5,rotationSpeed:o.data("rotationspeed-myswiper")||.5,startCoordinateX:o.data("startcoordinatex-myswiper")||-23,startCoordinateY:o.data("startcoordinatey-myswiper")||33};p(e.id,r,d,o),r=e.querySelectorAll(".slide-content"),a=o.showLineText,r.forEach(function(e){var t=e.querySelector(".slide-description"),o=e.closest(".swiper-slide").querySelector(".slide-read-more"),s=t.offsetHeight,i=parseInt(t.style.lineHeight),e=e.parentNode;s/i<a?o.classList.add("disable-button"):(t.classList.add("crop-content"),e.classList.contains("quote")?o.addEventListener("click",c):e.classList.contains("thumbnails-content")?o.addEventListener("click",u):o.addEventListener("click",m))}),d=e.querySelectorAll(".blog-slider__content"),l=o.showLineText,d.forEach(function(e){var t=e.querySelector(".blog-slider__text"),o=e.closest(".swiper-slide").querySelector(".read-more-btn"),e=t.offsetHeight/parseInt(t.style.lineHeight),s=o.getAttribute("data-text");o.getAttribute("href")||(e<l?o.classList.add("disable-button"):(t.classList.add("crop-content"),o.addEventListener("click",function(){t.classList.contains("crop-content")?(t.classList.remove("crop-content"),o.textContent="Hide"):(t.classList.add("crop-content"),o.textContent=s)})))})}e(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode(),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-logo.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-centered.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-bottom.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-coverflow.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-gallery-coverflow.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-employees.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-blog.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-creative.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-cube-360.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/section-with-carousel-cube-360.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/testimonials-carousel-thumbnails.default",t)})}(jQuery); -
testimonials-carousel-elementor/trunk/class-testimonials-carousel-elementor.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 29 29 * Minimum Elementor Version 30 30 * 31 * @since 11. 5.031 * @since 11.6.0 32 32 * @var string Minimum Elementor version required to run the plugin. 33 33 */ … … 36 36 * Minimum PHP Version 37 37 * 38 * @since 11. 5.038 * @since 11.6.0 39 39 * @var string Minimum PHP version required to run the plugin. 40 40 */ … … 44 44 * Constructor 45 45 * 46 * @since 11. 5.046 * @since 11.6.0 47 47 * @access public 48 48 */ … … 153 153 * Fired by `init` action hook. 154 154 * 155 * @since 11. 5.0155 * @since 11.6.0 156 156 * @access public 157 157 */ … … 170 170 * Fired by `plugins_loaded` action hook. 171 171 * 172 * @since 11. 5.0172 * @since 11.6.0 173 173 * @access public 174 174 */ … … 222 222 * Warning when the site doesn't have Elementor installed or activated. 223 223 * 224 * @since 11. 5.0224 * @since 11.6.0 225 225 * @access public 226 226 */ … … 245 245 * Warning when the site doesn't have a minimum required Elementor version. 246 246 * 247 * @since 11. 5.0247 * @since 11.6.0 248 248 * @access public 249 249 */ … … 269 269 * Warning when the site doesn't have a minimum required PHP version. 270 270 * 271 * @since 11. 5.0271 * @since 11.6.0 272 272 * @access public 273 273 */ … … 290 290 /** 291 291 * 292 * @since 11. 5.0292 * @since 11.6.0 293 293 * @access public 294 294 */ -
testimonials-carousel-elementor/trunk/class-widgets.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 26 26 * Main Plugin class 27 27 * 28 * @since 11. 5.028 * @since 11.6.0 29 29 */ 30 30 class Widgets … … 34 34 * Instance 35 35 * 36 * @since 11. 5.036 * @since 11.6.0 37 37 * @access private 38 38 * @static … … 48 48 * 49 49 * @return Plugin An instance of the class. 50 * @since 11. 5.050 * @since 11.6.0 51 51 * @access public 52 52 * … … 66 66 * Load widgets files 67 67 * 68 * @since 11. 5.068 * @since 11.6.0 69 69 * @access private 70 70 */ … … 97 97 * Load widgets templates files 98 98 * 99 * @since 11. 5.099 * @since 11.6.0 100 100 * @access private 101 101 */ … … 111 111 * Load widgets templates controls 112 112 * 113 * @since 11. 5.0113 * @since 11.6.0 114 114 * @access private 115 115 */ … … 125 125 * Register new Elementor widgets. 126 126 * 127 * @since 11. 5.0127 * @since 11.6.0 128 128 * @access public 129 129 */ … … 165 165 * Register plugin action hooks and filters 166 166 * 167 * @since 11. 5.0167 * @since 11.6.0 168 168 * @access public 169 169 */ -
testimonials-carousel-elementor/trunk/readme.txt
r3249685 r3258239 5 5 Requires at least: 5.9 6 6 Tested up to: 6.7.2 7 Stable tag: 11. 5.07 Stable tag: 11.6.0 8 8 License: GPLv3 9 9 License URI: https://opensource.org/licenses/GPL-3.0 … … 78 78 == Changelog == 79 79 80 = 11.6.0 - 2025-03-19 = 81 - New: Added "Lightbox" for Carousel with Coverflow. 82 80 83 = 11.5.0 - 2025-03-03 = 81 84 - New: Added a new control to change the random order of elements in widgets. -
testimonials-carousel-elementor/trunk/testimonials-carousel-elementor.php
r3249685 r3258239 8 8 * Description: The compact Testimonial Carousel for Elementor lets you show long text reviews in Pop-Up of Carousel Slider. 9 9 * Plugin URI: 10 * Version: 11. 5.010 * Version: 11.6.0 11 11 * Author: UAPP GROUP 12 12 * Author URI: https://uapp.group/ … … 20 20 * Plugin Version 21 21 * 22 * @since 11. 4.022 * @since 11.6.0 23 23 * @var string The plugin version. 24 24 */ 25 define('TESTIMONIALS_VERSION', '11. 5.0');25 define('TESTIMONIALS_VERSION', '11.6.0'); 26 26 27 27 /** -
testimonials-carousel-elementor/trunk/widgets/animated-carousel/class-testimonialscarousel-coverflow.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 16 16 namespace TestimonialsCarouselElementor\Widgets; 17 17 18 use Elementor\Embed; 19 use Elementor\Utils; 20 use Elementor\Plugin; 21 use Elementor\Repeater; 22 use Elementor\Widget_Base; 23 use Elementor\Icons_Manager; 24 use Elementor\Control_Media; 25 use Elementor\Controls_Manager; 26 use Elementor\Group_Control_Border; 18 27 use Elementor\Group_Control_Background; 19 use Elementor\Group_Control_Border;20 28 use Elementor\Group_Control_Box_Shadow; 29 use Elementor\Group_Control_Typography; 21 30 use Elementor\Group_Control_Text_Shadow; 22 use Elementor\Group_Control_Typography;23 use Elementor\Icons_Manager;24 use Elementor\Repeater;25 use Elementor\Utils;26 use Elementor\Widget_Base;27 use Elementor\Controls_Manager;28 31 29 32 // Security Note: Blocks direct access to the plugin PHP files. … … 33 36 * TestimonialsCarousel_Coverflow widget class. 34 37 * 35 * @since 11. 5.038 * @since 11.6.0 36 39 */ 37 40 class TestimonialsCarousel_Coverflow extends Widget_Base 38 41 { 42 /** 43 * @var int 44 */ 45 private $slide_prints_count = 0; 46 39 47 /** 40 48 * TestimonialsCarousel_Coverflow constructor. … … 52 60 wp_register_script('swiper', plugins_url('/assets/js/swiper-bundle.min.js', TESTIMONIALS_CAROUSEL_ELEMENTOR), [], TESTIMONIALS_VERSION, true); 53 61 54 55 62 if (!function_exists('get_plugin_data')) { 56 63 require_once(ABSPATH . 'wp-admin/includes/plugin.php'); … … 68 75 * 69 76 * @return string Widget name. 70 * @since 11. 5.077 * @since 11.6.0 71 78 * 72 79 * @access public … … 82 89 * 83 90 * @return string Widget title. 84 * @since 11. 5.091 * @since 11.6.0 85 92 * 86 93 * @access public … … 96 103 * 97 104 * @return string Widget icon. 98 * @since 11. 5.0105 * @since 11.6.0 99 106 * 100 107 * @access public … … 115 122 * 116 123 * @return array Widget categories. 117 * @since 11. 5.0124 * @since 11.6.0 118 125 * 119 126 * @access public … … 163 170 * Adds different input fields to allow the user to change and customize the widget settings. 164 171 * 165 * @since 11. 5.0172 * @since 11.6.0 166 173 * 167 174 * @access protected … … 378 385 379 386 $repeater->add_control( 387 'lightbox', 388 [ 389 'label' => esc_html__('Lightbox', 'testimonials-carousel-elementor'), 390 'type' => Controls_Manager::SWITCHER, 391 'frontend_available' => true, 392 'label_off' => esc_html__('Off', 'testimonials-carousel-elementor'), 393 'label_on' => esc_html__('On', 'testimonials-carousel-elementor'), 394 'return_value' => 'yes', 395 'condition' => [ 396 'slide_show_image' => 'yes', 397 'slide_show_button' => 'yes', 398 ], 399 ] 400 ); 401 402 $repeater->add_control( 380 403 'slide_button', 381 404 [ … … 397 420 398 421 $repeater->add_control( 422 'lightbox_type', 423 [ 424 'type' => Controls_Manager::CHOOSE, 425 'label' => esc_html__('Type', 'testimonials-carousel-elementor'), 426 'default' => 'image', 427 'options' => [ 428 'image' => [ 429 'title' => esc_html__('Image', 'testimonials-carousel-elementor'), 430 'icon' => 'eicon-image-bold', 431 ], 432 'video' => [ 433 'title' => esc_html__('Video', 'testimonials-carousel-elementor'), 434 'icon' => 'eicon-video-camera', 435 ], 436 ], 437 'toggle' => false, 438 'condition' => [ 439 'lightbox' => 'yes', 440 ], 441 ] 442 ); 443 444 $repeater->add_control( 445 'video', 446 [ 447 'label' => esc_html__('Video Link', 'testimonials-carousel-elementor'), 448 'type' => Controls_Manager::URL, 449 'dynamic' => [ 450 'active' => true, 451 ], 452 'placeholder' => esc_html__('Enter your video link', 'testimonials-carousel-elementor'), 453 'description' => esc_html__('YouTube or Vimeo link', 'testimonials-carousel-elementor'), 454 'options' => false, 455 'condition' => [ 456 'lightbox' => 'yes', 457 'lightbox_type' => 'video', 458 ], 459 ] 460 ); 461 462 $repeater->add_control( 399 463 'slide_button_link', 400 464 [ … … 403 467 'placeholder' => esc_html__('https://your-link.com', 'testimonials-carousel-elementor'), 404 468 'condition' => [ 469 'lightbox' => '', 405 470 'slide_show_button' => 'yes', 406 471 ], … … 1271 1336 * Written in PHP and used to generate the final HTML. 1272 1337 * 1273 * @since 11. 5.01338 * @since 11.6.0 1274 1339 * 1275 1340 * @access protected … … 1319 1384 ) { ?>slider-arrows-disabled<?php } ?>"> 1320 1385 <ul class="swiper-wrapper" role="list"> 1321 <?php foreach ($slide as $item) { 1386 <?php foreach ($slide as $index => $item) { 1387 1388 /* Start Lightbox */ 1389 1390 if ($item['lightbox'] === 'yes') { 1391 $this->slide_prints_count++; 1392 1393 $element_key = 'slide-' . $index . '-' . $this->slide_prints_count; 1394 1395 $image_link_to = $item['slide_image']['url']; 1396 1397 if ($image_link_to) { 1398 $this->add_render_attribute($element_key . '_link', 'href', $image_link_to); 1399 1400 $this->add_lightbox_data_attributes($element_key . '_link', '', 'yes', $this->get_id()); 1401 1402 if (Plugin::$instance->editor->is_edit_mode()) { 1403 $this->add_render_attribute($element_key . '_link', 'class', 'elementor-clickable'); 1404 } 1405 1406 if ('video' === $item['lightbox_type'] && $item['video']['url']) { 1407 $embed_url_params = [ 1408 'autoplay' => 1, 1409 'rel' => 0, 1410 'controls' => 0, 1411 ]; 1412 1413 $this->add_render_attribute($element_key . '_link', 'data-elementor-lightbox-video', Embed::get_embed_url($item['video']['url'], $embed_url_params)); 1414 } 1415 } 1416 } 1417 1418 /* End Lightbox */ 1419 1322 1420 $this->add_link_attributes('slide_button_link', $item['slide_button_link'] ?? [], true); ?> 1323 1421 <li class="swiper-slide slider-container-background"> … … 1347 1445 class="elementor-button slide-coverflow-button <?php if (!empty($settings['slide_button_hover_animation'])) { ?> elementor-animation-<?php echo esc_attr($settings['slide_button_hover_animation']); 1348 1446 } ?>" 1349 <?php $this->print_render_attribute_string( 'slide_button_link'); ?>>1447 <?php $this->print_render_attribute_string(($item['lightbox'] === 'yes' && !empty($image_link_to)) ? $element_key . '_link' : 'slide_button_link'); ?>> 1350 1448 <span class="elementor-button-content-wrapper"> 1351 1449 <?php if (!empty($this->get_settings('slide_selected_icon_button')['value'])) { ?> -
testimonials-carousel-elementor/trunk/widgets/animated-carousel/class-testimonialscarousel-cube-360.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Cube_360 widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Cube_360 extends Widget_Base … … 65 65 * 66 66 * @return string Widget name. 67 * @since 11. 5.067 * @since 11.6.0 68 68 * 69 69 * @access public … … 79 79 * 80 80 * @return string Widget title. 81 * @since 11. 5.081 * @since 11.6.0 82 82 * 83 83 * @access public … … 93 93 * 94 94 * @return string Widget icon. 95 * @since 11. 5.095 * @since 11.6.0 96 96 * 97 97 * @access public … … 112 112 * 113 113 * @return array Widget categories. 114 * @since 11. 5.0114 * @since 11.6.0 115 115 * 116 116 * @access public … … 144 144 * Adds different input fields to allow the user to change and customize the widget settings. 145 145 * 146 * @since 11. 5.0146 * @since 11.6.0 147 147 * 148 148 * @access protected … … 3478 3478 * Written in PHP and used to generate the final HTML. 3479 3479 * 3480 * @since 11. 5.03480 * @since 11.6.0 3481 3481 * 3482 3482 * @access protected -
testimonials-carousel-elementor/trunk/widgets/animated-carousel/class-testimonialscarousel-cube.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Cube widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Cube extends Widget_Base … … 67 67 * 68 68 * @return string Widget name. 69 * @since 11. 5.069 * @since 11.6.0 70 70 * 71 71 * @access public … … 81 81 * 82 82 * @return string Widget title. 83 * @since 11. 5.083 * @since 11.6.0 84 84 * 85 85 * @access public … … 95 95 * 96 96 * @return string Widget icon. 97 * @since 11. 5.097 * @since 11.6.0 98 98 * 99 99 * @access public … … 114 114 * 115 115 * @return array Widget categories. 116 * @since 11. 5.0116 * @since 11.6.0 117 117 * 118 118 * @access public … … 164 164 * Adds different input fields to allow the user to change and customize the widget settings. 165 165 * 166 * @since 11. 5.0166 * @since 11.6.0 167 167 * 168 168 * @access protected … … 865 865 * Written in PHP and used to generate the final HTML. 866 866 * 867 * @since 11. 5.0867 * @since 11.6.0 868 868 * 869 869 * @access protected -
testimonials-carousel-elementor/trunk/widgets/section-with-carousel/class-section-with-cube-360.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * Section_With_Cube_360 widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class Section_With_Cube_360 extends Widget_Base … … 64 64 * 65 65 * @return string Widget name. 66 * @since 11. 5.066 * @since 11.6.0 67 67 * 68 68 * @access public … … 78 78 * 79 79 * @return string Widget title. 80 * @since 11. 5.080 * @since 11.6.0 81 81 * 82 82 * @access public … … 92 92 * 93 93 * @return string Widget icon. 94 * @since 11. 5.094 * @since 11.6.0 95 95 * 96 96 * @access public … … 111 111 * 112 112 * @return array Widget categories. 113 * @since 11. 5.0113 * @since 11.6.0 114 114 * 115 115 * @access public … … 143 143 * Adds different input fields to allow the user to change and customize the widget settings. 144 144 * 145 * @since 11. 5.0145 * @since 11.6.0 146 146 * 147 147 * @access protected … … 3728 3728 * Written in PHP and used to generate the final HTML. 3729 3729 * 3730 * @since 11. 5.03730 * @since 11.6.0 3731 3731 * 3732 3732 * @access protected -
testimonials-carousel-elementor/trunk/widgets/section-with-carousel/class-section-with-cube.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * Section_With_Cube widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class Section_With_Cube extends Widget_Base … … 67 67 * 68 68 * @return string Widget name. 69 * @since 11. 5.069 * @since 11.6.0 70 70 * 71 71 * @access public … … 81 81 * 82 82 * @return string Widget title. 83 * @since 11. 5.083 * @since 11.6.0 84 84 * 85 85 * @access public … … 95 95 * 96 96 * @return string Widget icon. 97 * @since 11. 5.097 * @since 11.6.0 98 98 * 99 99 * @access public … … 114 114 * 115 115 * @return array Widget categories. 116 * @since 11. 5.0116 * @since 11.6.0 117 117 * 118 118 * @access public … … 164 164 * Adds different input fields to allow the user to change and customize the widget settings. 165 165 * 166 * @since 11. 5.0166 * @since 11.6.0 167 167 * 168 168 * @access protected … … 1112 1112 * Written in PHP and used to generate the final HTML. 1113 1113 * 1114 * @since 11. 5.01114 * @since 11.6.0 1115 1115 * 1116 1116 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-blog.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 33 33 * TestimonialsCarousel_Blog widget class. 34 34 * 35 * @since 11. 5.035 * @since 11.6.0 36 36 */ 37 37 class TestimonialsCarousel_Blog extends Widget_Base … … 67 67 * 68 68 * @return string Widget name. 69 * @since 11. 5.069 * @since 11.6.0 70 70 * 71 71 * @access public … … 81 81 * 82 82 * @return string Widget title. 83 * @since 11. 5.083 * @since 11.6.0 84 84 * 85 85 * @access public … … 95 95 * 96 96 * @return string Widget icon. 97 * @since 11. 5.097 * @since 11.6.0 98 98 * 99 99 * @access public … … 114 114 * 115 115 * @return array Widget categories. 116 * @since 11. 5.0116 * @since 11.6.0 117 117 * 118 118 * @access public … … 163 163 * Adds different input fields to allow the user to change and customize the widget settings. 164 164 * 165 * @since 11. 5.0165 * @since 11.6.0 166 166 * 167 167 * @access protected … … 1135 1135 * Written in PHP and used to generate the final HTML. 1136 1136 * 1137 * @since 11. 5.01137 * @since 11.6.0 1138 1138 * 1139 1139 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-bottom.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Bottom widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Bottom extends Widget_Base … … 66 66 * 67 67 * @return string Widget name. 68 * @since 11. 5.068 * @since 11.6.0 69 69 * 70 70 * @access public … … 80 80 * 81 81 * @return string Widget title. 82 * @since 11. 5.082 * @since 11.6.0 83 83 * 84 84 * @access public … … 94 94 * 95 95 * @return string Widget icon. 96 * @since 11. 5.096 * @since 11.6.0 97 97 * 98 98 * @access public … … 113 113 * 114 114 * @return array Widget categories. 115 * @since 11. 5.0115 * @since 11.6.0 116 116 * 117 117 * @access public … … 163 163 * Adds different input fields to allow the user to change and customize the widget settings. 164 164 * 165 * @since 11. 5.0165 * @since 11.6.0 166 166 * 167 167 * @access protected … … 1738 1738 * Written in PHP and used to generate the final HTML. 1739 1739 * 1740 * @since 11. 5.01740 * @since 11.6.0 1741 1741 * 1742 1742 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-centered.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Centered widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Centered extends Widget_Base … … 66 66 * 67 67 * @return string Widget name. 68 * @since 11. 5.068 * @since 11.6.0 69 69 * 70 70 * @access public … … 80 80 * 81 81 * @return string Widget title. 82 * @since 11. 5.082 * @since 11.6.0 83 83 * 84 84 * @access public … … 94 94 * 95 95 * @return string Widget icon. 96 * @since 11. 5.096 * @since 11.6.0 97 97 * 98 98 * @access public … … 113 113 * 114 114 * @return array Widget categories. 115 * @since 11. 5.0115 * @since 11.6.0 116 116 * 117 117 * @access public … … 163 163 * Adds different input fields to allow the user to change and customize the widget settings. 164 164 * 165 * @since 11. 5.0165 * @since 11.6.0 166 166 * 167 167 * @access protected … … 1857 1857 * Written in PHP and used to generate the final HTML. 1858 1858 * 1859 * @since 11. 5.01859 * @since 11.6.0 1860 1860 * 1861 1861 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-creative.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Creative widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Creative extends Widget_Base … … 66 66 * 67 67 * @return string Widget name. 68 * @since 11. 5.068 * @since 11.6.0 69 69 * 70 70 * @access public … … 80 80 * 81 81 * @return string Widget title. 82 * @since 11. 5.082 * @since 11.6.0 83 83 * 84 84 * @access public … … 94 94 * 95 95 * @return string Widget icon. 96 * @since 11. 5.096 * @since 11.6.0 97 97 * 98 98 * @access public … … 113 113 * 114 114 * @return array Widget categories. 115 * @since 11. 5.0115 * @since 11.6.0 116 116 * 117 117 * @access public … … 173 173 * Adds different input fields to allow the user to change and customize the widget settings. 174 174 * 175 * @since 11. 5.0175 * @since 11.6.0 176 176 * 177 177 * @access protected … … 431 431 * Written in PHP and used to generate the final HTML. 432 432 * 433 * @since 11. 5.0433 * @since 11.6.0 434 434 * 435 435 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-employees.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 30 30 * TestimonialsCarousel_Employees widget class. 31 31 * 32 * @since 11. 5.032 * @since 11.6.0 33 33 */ 34 34 class TestimonialsCarousel_Employees extends Widget_Base … … 65 65 * 66 66 * @return string Widget name. 67 * @since 11. 5.067 * @since 11.6.0 68 68 * 69 69 * @access public … … 79 79 * 80 80 * @return string Widget title. 81 * @since 11. 5.081 * @since 11.6.0 82 82 * 83 83 * @access public … … 93 93 * 94 94 * @return string Widget icon. 95 * @since 11. 5.095 * @since 11.6.0 96 96 * 97 97 * @access public … … 112 112 * 113 113 * @return array Widget categories. 114 * @since 11. 5.0114 * @since 11.6.0 115 115 * 116 116 * @access public … … 172 172 * Adds different input fields to allow the user to change and customize the widget settings. 173 173 * 174 * @since 11. 5.0174 * @since 11.6.0 175 175 * 176 176 * @access protected … … 1376 1376 * Written in PHP and used to generate the final HTML. 1377 1377 * 1378 * @since 11. 5.01378 * @since 11.6.0 1379 1379 * 1380 1380 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-gallery-coverflow.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 33 33 * TestimonialsCarousel_Coverflow widget class. 34 34 * 35 * @since 11. 5.035 * @since 11.6.0 36 36 */ 37 37 class TestimonialsCarousel_Gallery_Coverflow extends Widget_Base … … 69 69 * 70 70 * @return string Widget name. 71 * @since 11. 5.071 * @since 11.6.0 72 72 * 73 73 * @access public … … 83 83 * 84 84 * @return string Widget title. 85 * @since 11. 5.085 * @since 11.6.0 86 86 * 87 87 * @access public … … 97 97 * 98 98 * @return string Widget icon. 99 * @since 11. 5.099 * @since 11.6.0 100 100 * 101 101 * @access public … … 116 116 * 117 117 * @return array Widget categories. 118 * @since 11. 5.0118 * @since 11.6.0 119 119 * 120 120 * @access public … … 166 166 * Adds different input fields to allow the user to change and customize the widget settings. 167 167 * 168 * @since 11. 5.0168 * @since 11.6.0 169 169 * 170 170 * @access protected … … 2118 2118 * Written in PHP and used to generate the final HTML. 2119 2119 * 2120 * @since 11. 5.02120 * @since 11.6.0 2121 2121 * 2122 2122 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-logo.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel_Logo widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel_Logo extends Widget_Base … … 66 66 * 67 67 * @return string Widget name. 68 * @since 11. 5.068 * @since 11.6.0 69 69 * 70 70 * @access public … … 80 80 * 81 81 * @return string Widget title. 82 * @since 11. 5.082 * @since 11.6.0 83 83 * 84 84 * @access public … … 94 94 * 95 95 * @return string Widget icon. 96 * @since 11. 5.096 * @since 11.6.0 97 97 * 98 98 * @access public … … 113 113 * 114 114 * @return array Widget categories. 115 * @since 11. 5.0115 * @since 11.6.0 116 116 * 117 117 * @access public … … 166 166 * Adds different input fields to allow the user to change and customize the widget settings. 167 167 * 168 * @since 11. 5.0168 * @since 11.6.0 169 169 * 170 170 * @access protected … … 1988 1988 * Written in PHP and used to generate the final HTML. 1989 1989 * 1990 * @since 11. 5.01990 * @since 11.6.0 1991 1991 * 1992 1992 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-thumbnails.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 32 32 * TestimonialsCarousel_Creative widget class. 33 33 * 34 * @since 11. 5.034 * @since 11.6.0 35 35 */ 36 36 class TestimonialsCarousel_Thumbnails extends Widget_Base … … 67 67 * 68 68 * @return string Widget name. 69 * @since 11. 5.069 * @since 11.6.0 70 70 * 71 71 * @access public … … 81 81 * 82 82 * @return string Widget title. 83 * @since 11. 5.083 * @since 11.6.0 84 84 * 85 85 * @access public … … 95 95 * 96 96 * @return string Widget icon. 97 * @since 11. 5.097 * @since 11.6.0 98 98 * 99 99 * @access public … … 114 114 * 115 115 * @return array Widget categories. 116 * @since 11. 5.0116 * @since 11.6.0 117 117 * 118 118 * @access public … … 162 162 * Adds different input fields to allow the user to change and customize the widget settings. 163 163 * 164 * @since 11. 5.0164 * @since 11.6.0 165 165 * 166 166 * @access protected … … 1786 1786 * Written in PHP and used to generate the final HTML. 1787 1787 * 1788 * @since 11. 5.01788 * @since 11.6.0 1789 1789 * 1790 1790 * @access protected -
testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel.php
r3249685 r3258239 10 10 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0-only 11 11 * @link 12 * @since 11. 5.012 * @since 11.6.0 13 13 * php version 7.4.1 14 14 */ … … 31 31 * TestimonialsCarousel widget class. 32 32 * 33 * @since 11. 5.033 * @since 11.6.0 34 34 */ 35 35 class TestimonialsCarousel extends Widget_Base … … 66 66 * 67 67 * @return string Widget name. 68 * @since 11. 5.068 * @since 11.6.0 69 69 * 70 70 * @access public … … 80 80 * 81 81 * @return string Widget title. 82 * @since 11. 5.082 * @since 11.6.0 83 83 * 84 84 * @access public … … 94 94 * 95 95 * @return string Widget icon. 96 * @since 11. 5.096 * @since 11.6.0 97 97 * 98 98 * @access public … … 113 113 * 114 114 * @return array Widget categories. 115 * @since 11. 5.0115 * @since 11.6.0 116 116 * 117 117 * @access public … … 163 163 * Adds different input fields to allow the user to change and customize the widget settings. 164 164 * 165 * @since 11. 5.0165 * @since 11.6.0 166 166 * 167 167 * @access protected … … 2085 2085 * Written in PHP and used to generate the final HTML. 2086 2086 * 2087 * @since 11. 5.02087 * @since 11.6.0 2088 2088 * 2089 2089 * @access protected
Note: See TracChangeset
for help on using the changeset viewer.