Plugin Directory

Changeset 3258239


Ignore:
Timestamp:
03/19/2025 07:06:57 AM (12 months ago)
Author:
uapp
Message:

Updated the plugin version to 11.6.0

Location:
testimonials-carousel-elementor/trunk
Files:
20 edited

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  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    2929   * Minimum Elementor Version
    3030   *
    31    * @since 11.5.0
     31   * @since 11.6.0
    3232   * @var string Minimum Elementor version required to run the plugin.
    3333   */
     
    3636   * Minimum PHP Version
    3737   *
    38    * @since 11.5.0
     38   * @since 11.6.0
    3939   * @var string Minimum PHP version required to run the plugin.
    4040   */
     
    4444   * Constructor
    4545   *
    46    * @since  11.5.0
     46   * @since  11.6.0
    4747   * @access public
    4848   */
     
    153153   * Fired by `init` action hook.
    154154   *
    155    * @since  11.5.0
     155   * @since  11.6.0
    156156   * @access public
    157157   */
     
    170170   * Fired by `plugins_loaded` action hook.
    171171   *
    172    * @since  11.5.0
     172   * @since  11.6.0
    173173   * @access public
    174174   */
     
    222222   * Warning when the site doesn't have Elementor installed or activated.
    223223   *
    224    * @since  11.5.0
     224   * @since  11.6.0
    225225   * @access public
    226226   */
     
    245245   * Warning when the site doesn't have a minimum required Elementor version.
    246246   *
    247    * @since  11.5.0
     247   * @since  11.6.0
    248248   * @access public
    249249   */
     
    269269   * Warning when the site doesn't have a minimum required PHP version.
    270270   *
    271    * @since  11.5.0
     271   * @since  11.6.0
    272272   * @access public
    273273   */
     
    290290  /**
    291291   *
    292    * @since  11.5.0
     292   * @since  11.6.0
    293293   * @access public
    294294   */
  • testimonials-carousel-elementor/trunk/class-widgets.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    2626 * Main Plugin class
    2727 *
    28  * @since 11.5.0
     28 * @since 11.6.0
    2929 */
    3030class Widgets
     
    3434   * Instance
    3535   *
    36    * @since  11.5.0
     36   * @since  11.6.0
    3737   * @access private
    3838   * @static
     
    4848   *
    4949   * @return Plugin An instance of the class.
    50    * @since  11.5.0
     50   * @since  11.6.0
    5151   * @access public
    5252   *
     
    6666   * Load widgets files
    6767   *
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   * @access private
    7070   */
     
    9797   * Load widgets templates files
    9898   *
    99    * @since  11.5.0
     99   * @since  11.6.0
    100100   * @access private
    101101   */
     
    111111   * Load widgets templates controls
    112112   *
    113    * @since  11.5.0
     113   * @since  11.6.0
    114114   * @access private
    115115   */
     
    125125   * Register new Elementor widgets.
    126126   *
    127    * @since  11.5.0
     127   * @since  11.6.0
    128128   * @access public
    129129   */
     
    165165   * Register plugin action hooks and filters
    166166   *
    167    * @since  11.5.0
     167   * @since  11.6.0
    168168   * @access public
    169169   */
  • testimonials-carousel-elementor/trunk/readme.txt

    r3249685 r3258239  
    55Requires at least: 5.9
    66Tested up to: 6.7.2
    7 Stable tag: 11.5.0
     7Stable tag: 11.6.0
    88License: GPLv3
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    7878== Changelog ==
    7979
     80= 11.6.0 - 2025-03-19 =
     81- New: Added "Lightbox" for Carousel with Coverflow.
     82
    8083= 11.5.0 - 2025-03-03 =
    8184- New: Added a new control to change the random order of elements in widgets.
  • testimonials-carousel-elementor/trunk/testimonials-carousel-elementor.php

    r3249685 r3258239  
    88 * Description: The compact Testimonial Carousel for Elementor lets you show long text reviews in Pop-Up of Carousel Slider.
    99 * Plugin URI:
    10  * Version:     11.5.0
     10 * Version:     11.6.0
    1111 * Author:      UAPP GROUP
    1212 * Author URI:  https://uapp.group/
     
    2020 * Plugin Version
    2121 *
    22  * @since 11.4.0
     22 * @since 11.6.0
    2323 * @var string The plugin version.
    2424 */
    25 define('TESTIMONIALS_VERSION', '11.5.0');
     25define('TESTIMONIALS_VERSION', '11.6.0');
    2626
    2727/**
  • testimonials-carousel-elementor/trunk/widgets/animated-carousel/class-testimonialscarousel-coverflow.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    1616namespace TestimonialsCarouselElementor\Widgets;
    1717
     18use Elementor\Embed;
     19use Elementor\Utils;
     20use Elementor\Plugin;
     21use Elementor\Repeater;
     22use Elementor\Widget_Base;
     23use Elementor\Icons_Manager;
     24use Elementor\Control_Media;
     25use Elementor\Controls_Manager;
     26use Elementor\Group_Control_Border;
    1827use Elementor\Group_Control_Background;
    19 use Elementor\Group_Control_Border;
    2028use Elementor\Group_Control_Box_Shadow;
     29use Elementor\Group_Control_Typography;
    2130use 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;
    2831
    2932// Security Note: Blocks direct access to the plugin PHP files.
     
    3336 * TestimonialsCarousel_Coverflow widget class.
    3437 *
    35  * @since 11.5.0
     38 * @since 11.6.0
    3639 */
    3740class TestimonialsCarousel_Coverflow extends Widget_Base
    3841{
     42  /**
     43   * @var int
     44   */
     45  private $slide_prints_count = 0;
     46
    3947  /**
    4048   * TestimonialsCarousel_Coverflow constructor.
     
    5260    wp_register_script('swiper', plugins_url('/assets/js/swiper-bundle.min.js', TESTIMONIALS_CAROUSEL_ELEMENTOR), [], TESTIMONIALS_VERSION, true);
    5361
    54 
    5562    if (!function_exists('get_plugin_data')) {
    5663      require_once(ABSPATH . 'wp-admin/includes/plugin.php');
     
    6875   *
    6976   * @return string Widget name.
    70    * @since  11.5.0
     77   * @since  11.6.0
    7178   *
    7279   * @access public
     
    8289   *
    8390   * @return string Widget title.
    84    * @since  11.5.0
     91   * @since  11.6.0
    8592   *
    8693   * @access public
     
    96103   *
    97104   * @return string Widget icon.
    98    * @since  11.5.0
     105   * @since  11.6.0
    99106   *
    100107   * @access public
     
    115122   *
    116123   * @return array Widget categories.
    117    * @since  11.5.0
     124   * @since  11.6.0
    118125   *
    119126   * @access public
     
    163170   * Adds different input fields to allow the user to change and customize the widget settings.
    164171   *
    165    * @since  11.5.0
     172   * @since  11.6.0
    166173   *
    167174   * @access protected
     
    378385
    379386    $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(
    380403      'slide_button',
    381404      [
     
    397420
    398421    $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(
    399463      'slide_button_link',
    400464      [
     
    403467        'placeholder' => esc_html__('https://your-link.com', 'testimonials-carousel-elementor'),
    404468        'condition'   => [
     469          'lightbox'          => '',
    405470          'slide_show_button' => 'yes',
    406471        ],
     
    12711336   * Written in PHP and used to generate the final HTML.
    12721337   *
    1273    * @since  11.5.0
     1338   * @since  11.6.0
    12741339   *
    12751340   * @access protected
     
    13191384      ) { ?>slider-arrows-disabled<?php } ?>">
    13201385        <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
    13221420            $this->add_link_attributes('slide_button_link', $item['slide_button_link'] ?? [], true); ?>
    13231421            <li class="swiper-slide slider-container-background">
     
    13471445                         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']);
    13481446                         } ?>"
    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'); ?>>
    13501448                       <span class="elementor-button-content-wrapper">
    13511449                         <?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  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Cube_360 widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Cube_360 extends Widget_Base
     
    6565   *
    6666   * @return string Widget name.
    67    * @since  11.5.0
     67   * @since  11.6.0
    6868   *
    6969   * @access public
     
    7979   *
    8080   * @return string Widget title.
    81    * @since  11.5.0
     81   * @since  11.6.0
    8282   *
    8383   * @access public
     
    9393   *
    9494   * @return string Widget icon.
    95    * @since  11.5.0
     95   * @since  11.6.0
    9696   *
    9797   * @access public
     
    112112   *
    113113   * @return array Widget categories.
    114    * @since  11.5.0
     114   * @since  11.6.0
    115115   *
    116116   * @access public
     
    144144   * Adds different input fields to allow the user to change and customize the widget settings.
    145145   *
    146    * @since  11.5.0
     146   * @since  11.6.0
    147147   *
    148148   * @access protected
     
    34783478   * Written in PHP and used to generate the final HTML.
    34793479   *
    3480    * @since  11.5.0
     3480   * @since  11.6.0
    34813481   *
    34823482   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/animated-carousel/class-testimonialscarousel-cube.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Cube widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Cube extends Widget_Base
     
    6767   *
    6868   * @return string Widget name.
    69    * @since  11.5.0
     69   * @since  11.6.0
    7070   *
    7171   * @access public
     
    8181   *
    8282   * @return string Widget title.
    83    * @since  11.5.0
     83   * @since  11.6.0
    8484   *
    8585   * @access public
     
    9595   *
    9696   * @return string Widget icon.
    97    * @since  11.5.0
     97   * @since  11.6.0
    9898   *
    9999   * @access public
     
    114114   *
    115115   * @return array Widget categories.
    116    * @since  11.5.0
     116   * @since  11.6.0
    117117   *
    118118   * @access public
     
    164164   * Adds different input fields to allow the user to change and customize the widget settings.
    165165   *
    166    * @since  11.5.0
     166   * @since  11.6.0
    167167   *
    168168   * @access protected
     
    865865   * Written in PHP and used to generate the final HTML.
    866866   *
    867    * @since  11.5.0
     867   * @since  11.6.0
    868868   *
    869869   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/section-with-carousel/class-section-with-cube-360.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * Section_With_Cube_360 widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class Section_With_Cube_360 extends Widget_Base
     
    6464   *
    6565   * @return string Widget name.
    66    * @since  11.5.0
     66   * @since  11.6.0
    6767   *
    6868   * @access public
     
    7878   *
    7979   * @return string Widget title.
    80    * @since  11.5.0
     80   * @since  11.6.0
    8181   *
    8282   * @access public
     
    9292   *
    9393   * @return string Widget icon.
    94    * @since  11.5.0
     94   * @since  11.6.0
    9595   *
    9696   * @access public
     
    111111   *
    112112   * @return array Widget categories.
    113    * @since  11.5.0
     113   * @since  11.6.0
    114114   *
    115115   * @access public
     
    143143   * Adds different input fields to allow the user to change and customize the widget settings.
    144144   *
    145    * @since  11.5.0
     145   * @since  11.6.0
    146146   *
    147147   * @access protected
     
    37283728   * Written in PHP and used to generate the final HTML.
    37293729   *
    3730    * @since  11.5.0
     3730   * @since  11.6.0
    37313731   *
    37323732   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/section-with-carousel/class-section-with-cube.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * Section_With_Cube widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class Section_With_Cube extends Widget_Base
     
    6767   *
    6868   * @return string Widget name.
    69    * @since  11.5.0
     69   * @since  11.6.0
    7070   *
    7171   * @access public
     
    8181   *
    8282   * @return string Widget title.
    83    * @since  11.5.0
     83   * @since  11.6.0
    8484   *
    8585   * @access public
     
    9595   *
    9696   * @return string Widget icon.
    97    * @since  11.5.0
     97   * @since  11.6.0
    9898   *
    9999   * @access public
     
    114114   *
    115115   * @return array Widget categories.
    116    * @since  11.5.0
     116   * @since  11.6.0
    117117   *
    118118   * @access public
     
    164164   * Adds different input fields to allow the user to change and customize the widget settings.
    165165   *
    166    * @since  11.5.0
     166   * @since  11.6.0
    167167   *
    168168   * @access protected
     
    11121112   * Written in PHP and used to generate the final HTML.
    11131113   *
    1114    * @since  11.5.0
     1114   * @since  11.6.0
    11151115   *
    11161116   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-blog.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3333 * TestimonialsCarousel_Blog widget class.
    3434 *
    35  * @since 11.5.0
     35 * @since 11.6.0
    3636 */
    3737class TestimonialsCarousel_Blog extends Widget_Base
     
    6767   *
    6868   * @return string Widget name.
    69    * @since  11.5.0
     69   * @since  11.6.0
    7070   *
    7171   * @access public
     
    8181   *
    8282   * @return string Widget title.
    83    * @since  11.5.0
     83   * @since  11.6.0
    8484   *
    8585   * @access public
     
    9595   *
    9696   * @return string Widget icon.
    97    * @since  11.5.0
     97   * @since  11.6.0
    9898   *
    9999   * @access public
     
    114114   *
    115115   * @return array Widget categories.
    116    * @since  11.5.0
     116   * @since  11.6.0
    117117   *
    118118   * @access public
     
    163163   * Adds different input fields to allow the user to change and customize the widget settings.
    164164   *
    165    * @since  11.5.0
     165   * @since  11.6.0
    166166   *
    167167   * @access protected
     
    11351135   * Written in PHP and used to generate the final HTML.
    11361136   *
    1137    * @since  11.5.0
     1137   * @since  11.6.0
    11381138   *
    11391139   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-bottom.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Bottom widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Bottom extends Widget_Base
     
    6666   *
    6767   * @return string Widget name.
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   *
    7070   * @access public
     
    8080   *
    8181   * @return string Widget title.
    82    * @since  11.5.0
     82   * @since  11.6.0
    8383   *
    8484   * @access public
     
    9494   *
    9595   * @return string Widget icon.
    96    * @since  11.5.0
     96   * @since  11.6.0
    9797   *
    9898   * @access public
     
    113113   *
    114114   * @return array Widget categories.
    115    * @since  11.5.0
     115   * @since  11.6.0
    116116   *
    117117   * @access public
     
    163163   * Adds different input fields to allow the user to change and customize the widget settings.
    164164   *
    165    * @since  11.5.0
     165   * @since  11.6.0
    166166   *
    167167   * @access protected
     
    17381738   * Written in PHP and used to generate the final HTML.
    17391739   *
    1740    * @since  11.5.0
     1740   * @since  11.6.0
    17411741   *
    17421742   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-centered.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Centered widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Centered extends Widget_Base
     
    6666   *
    6767   * @return string Widget name.
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   *
    7070   * @access public
     
    8080   *
    8181   * @return string Widget title.
    82    * @since  11.5.0
     82   * @since  11.6.0
    8383   *
    8484   * @access public
     
    9494   *
    9595   * @return string Widget icon.
    96    * @since  11.5.0
     96   * @since  11.6.0
    9797   *
    9898   * @access public
     
    113113   *
    114114   * @return array Widget categories.
    115    * @since  11.5.0
     115   * @since  11.6.0
    116116   *
    117117   * @access public
     
    163163   * Adds different input fields to allow the user to change and customize the widget settings.
    164164   *
    165    * @since  11.5.0
     165   * @since  11.6.0
    166166   *
    167167   * @access protected
     
    18571857   * Written in PHP and used to generate the final HTML.
    18581858   *
    1859    * @since  11.5.0
     1859   * @since  11.6.0
    18601860   *
    18611861   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-creative.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Creative widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Creative extends Widget_Base
     
    6666   *
    6767   * @return string Widget name.
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   *
    7070   * @access public
     
    8080   *
    8181   * @return string Widget title.
    82    * @since  11.5.0
     82   * @since  11.6.0
    8383   *
    8484   * @access public
     
    9494   *
    9595   * @return string Widget icon.
    96    * @since  11.5.0
     96   * @since  11.6.0
    9797   *
    9898   * @access public
     
    113113   *
    114114   * @return array Widget categories.
    115    * @since  11.5.0
     115   * @since  11.6.0
    116116   *
    117117   * @access public
     
    173173   * Adds different input fields to allow the user to change and customize the widget settings.
    174174   *
    175    * @since  11.5.0
     175   * @since  11.6.0
    176176   *
    177177   * @access protected
     
    431431   * Written in PHP and used to generate the final HTML.
    432432   *
    433    * @since  11.5.0
     433   * @since  11.6.0
    434434   *
    435435   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-employees.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3030 * TestimonialsCarousel_Employees widget class.
    3131 *
    32  * @since 11.5.0
     32 * @since 11.6.0
    3333 */
    3434class TestimonialsCarousel_Employees extends Widget_Base
     
    6565   *
    6666   * @return string Widget name.
    67    * @since  11.5.0
     67   * @since  11.6.0
    6868   *
    6969   * @access public
     
    7979   *
    8080   * @return string Widget title.
    81    * @since  11.5.0
     81   * @since  11.6.0
    8282   *
    8383   * @access public
     
    9393   *
    9494   * @return string Widget icon.
    95    * @since  11.5.0
     95   * @since  11.6.0
    9696   *
    9797   * @access public
     
    112112   *
    113113   * @return array Widget categories.
    114    * @since  11.5.0
     114   * @since  11.6.0
    115115   *
    116116   * @access public
     
    172172   * Adds different input fields to allow the user to change and customize the widget settings.
    173173   *
    174    * @since  11.5.0
     174   * @since  11.6.0
    175175   *
    176176   * @access protected
     
    13761376   * Written in PHP and used to generate the final HTML.
    13771377   *
    1378    * @since  11.5.0
     1378   * @since  11.6.0
    13791379   *
    13801380   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-gallery-coverflow.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3333 * TestimonialsCarousel_Coverflow widget class.
    3434 *
    35  * @since 11.5.0
     35 * @since 11.6.0
    3636 */
    3737class TestimonialsCarousel_Gallery_Coverflow extends Widget_Base
     
    6969   *
    7070   * @return string Widget name.
    71    * @since  11.5.0
     71   * @since  11.6.0
    7272   *
    7373   * @access public
     
    8383   *
    8484   * @return string Widget title.
    85    * @since  11.5.0
     85   * @since  11.6.0
    8686   *
    8787   * @access public
     
    9797   *
    9898   * @return string Widget icon.
    99    * @since  11.5.0
     99   * @since  11.6.0
    100100   *
    101101   * @access public
     
    116116   *
    117117   * @return array Widget categories.
    118    * @since  11.5.0
     118   * @since  11.6.0
    119119   *
    120120   * @access public
     
    166166   * Adds different input fields to allow the user to change and customize the widget settings.
    167167   *
    168    * @since  11.5.0
     168   * @since  11.6.0
    169169   *
    170170   * @access protected
     
    21182118   * Written in PHP and used to generate the final HTML.
    21192119   *
    2120    * @since  11.5.0
     2120   * @since  11.6.0
    21212121   *
    21222122   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-logo.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel_Logo widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel_Logo extends Widget_Base
     
    6666   *
    6767   * @return string Widget name.
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   *
    7070   * @access public
     
    8080   *
    8181   * @return string Widget title.
    82    * @since  11.5.0
     82   * @since  11.6.0
    8383   *
    8484   * @access public
     
    9494   *
    9595   * @return string Widget icon.
    96    * @since  11.5.0
     96   * @since  11.6.0
    9797   *
    9898   * @access public
     
    113113   *
    114114   * @return array Widget categories.
    115    * @since  11.5.0
     115   * @since  11.6.0
    116116   *
    117117   * @access public
     
    166166   * Adds different input fields to allow the user to change and customize the widget settings.
    167167   *
    168    * @since  11.5.0
     168   * @since  11.6.0
    169169   *
    170170   * @access protected
     
    19881988   * Written in PHP and used to generate the final HTML.
    19891989   *
    1990    * @since  11.5.0
     1990   * @since  11.6.0
    19911991   *
    19921992   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel-thumbnails.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3232 * TestimonialsCarousel_Creative widget class.
    3333 *
    34  * @since 11.5.0
     34 * @since 11.6.0
    3535 */
    3636class TestimonialsCarousel_Thumbnails extends Widget_Base
     
    6767   *
    6868   * @return string Widget name.
    69    * @since  11.5.0
     69   * @since  11.6.0
    7070   *
    7171   * @access public
     
    8181   *
    8282   * @return string Widget title.
    83    * @since  11.5.0
     83   * @since  11.6.0
    8484   *
    8585   * @access public
     
    9595   *
    9696   * @return string Widget icon.
    97    * @since  11.5.0
     97   * @since  11.6.0
    9898   *
    9999   * @access public
     
    114114   *
    115115   * @return array Widget categories.
    116    * @since  11.5.0
     116   * @since  11.6.0
    117117   *
    118118   * @access public
     
    162162   * Adds different input fields to allow the user to change and customize the widget settings.
    163163   *
    164    * @since  11.5.0
     164   * @since  11.6.0
    165165   *
    166166   * @access protected
     
    17861786   * Written in PHP and used to generate the final HTML.
    17871787   *
    1788    * @since  11.5.0
     1788   * @since  11.6.0
    17891789   *
    17901790   * @access protected
  • testimonials-carousel-elementor/trunk/widgets/testimonials-carousel/class-testimonialscarousel.php

    r3249685 r3258239  
    1010 * @license    https://opensource.org/licenses/GPL-3.0 GPL-3.0-only
    1111 * @link
    12  * @since      11.5.0
     12 * @since      11.6.0
    1313 * php version 7.4.1
    1414 */
     
    3131 * TestimonialsCarousel widget class.
    3232 *
    33  * @since 11.5.0
     33 * @since 11.6.0
    3434 */
    3535class TestimonialsCarousel extends Widget_Base
     
    6666   *
    6767   * @return string Widget name.
    68    * @since  11.5.0
     68   * @since  11.6.0
    6969   *
    7070   * @access public
     
    8080   *
    8181   * @return string Widget title.
    82    * @since  11.5.0
     82   * @since  11.6.0
    8383   *
    8484   * @access public
     
    9494   *
    9595   * @return string Widget icon.
    96    * @since  11.5.0
     96   * @since  11.6.0
    9797   *
    9898   * @access public
     
    113113   *
    114114   * @return array Widget categories.
    115    * @since  11.5.0
     115   * @since  11.6.0
    116116   *
    117117   * @access public
     
    163163   * Adds different input fields to allow the user to change and customize the widget settings.
    164164   *
    165    * @since  11.5.0
     165   * @since  11.6.0
    166166   *
    167167   * @access protected
     
    20852085   * Written in PHP and used to generate the final HTML.
    20862086   *
    2087    * @since  11.5.0
     2087   * @since  11.6.0
    20882088   *
    20892089   * @access protected
Note: See TracChangeset for help on using the changeset viewer.