(function(){"use strict";window.kadenceTinySlide={start:function(a){var b="ltr",c=a.getAttribute("data-slider-type"),d=parseInt(a.getAttribute("data-slider-speed")),e=parseInt(a.getAttribute("data-slider-anim-speed")),f=a.getAttribute("data-slider-arrows"),g=a.getAttribute("data-slider-dots"),h=a.getAttribute("data-slider-pause-hover"),i=a.getAttribute("data-slider-loop"),j=a.getAttribute("data-slider-auto"),k=parseInt(a.getAttribute("data-columns-xxl")),l=parseInt(a.getAttribute("data-columns-xl")),m=parseInt(a.getAttribute("data-columns-md")),n=parseInt(a.getAttribute("data-columns-sm")),o=parseInt(a.getAttribute("data-columns-xs")),p=parseInt(a.getAttribute("data-columns-ss")),q=parseInt(a.getAttribute("data-slider-gutter")),r=parseInt(a.getAttribute("data-slider-scroll")),s=a.getAttribute("data-slider-center-mode");document.body.classList.contains("rtl")&&(b="rtl"),a.parentNode.parentNode.classList.contains("tns-carousel-wrap")||(a.parentNode.parentNode.classList.add("tns-carousel-wrap"),a.classList.contains("kt-carousel-arrowstyle-blackonlight")?a.parentNode.classList.add("kt-carousel-container-arrowstyle-blackonlight"):a.classList.contains("kt-carousel-arrowstyle-outlineblack ")?a.parentNode.classList.add("kt-carousel-container-arrowstyle-outlineblack"):a.classList.contains("kt-carousel-arrowstyle-outlinewhite ")?a.parentNode.classList.add("kt-carousel-container-arrowstyle-outlinewhite"):a.classList.contains("kt-carousel-arrowstyle-whiteondark ")?a.parentNode.classList.add("kt-carousel-container-arrowstyle-whiteondark"):a.classList.contains("kt-carousel-arrowstyle-none ")&&a.parentNode.classList.add("kt-carousel-container-arrowstyle-none"));var t=!0;1!==r&&(r="page",t=!1);tns({container:a,items:p,slideBy:r,navAsThumbnails:t,autoplay:!("true"!==j),speed:e,autoplayTimeout:d,autoplayHoverPause:!("true"!==h),controls:"false"!==f,nav:"false"!==g,gutter:0,textDirection:b,preventScrollOnTouch:"auto",loop:"false"!==i,rewind:!("false"!==i),responsive:{543:{items:o},767:{items:n},991:{items:m},1199:{items:l},1499:{items:k}}})},initAll:function(){document.querySelectorAll(".wp-block-kadence-testimonials .kt-blocks-carousel-init").forEach(function(a){window.kadenceTinySlide.start(a)})},init:function(){if("function"==typeof tns)window.kadenceTinySlide.initAll();else var a=setInterval(function(){"function"==typeof tns&&(window.kadenceTinySlide.initAll(),clearInterval(a))},200)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadenceTinySlide.init):window.kadenceTinySlide.init()})();