(()=>{var e,t={4570:(e,t,i)=>{"use strict";i.d(t,{Nn:()=>vi,eB:()=>pi,v9:()=>gi});var a=i(1609),o=i.n(a);function n(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var r="(prefers-reduced-motion: reduce)";function l(e){e.length=0}function d(e,t,i){return Array.prototype.slice.call(e,t,i)}function s(e){return e.bind.apply(e,[null].concat(d(arguments,1)))}var c=setTimeout,m=function(){};function u(e){return requestAnimationFrame(e)}function g(e,t){return typeof t===e}function p(e){return!y(e)&&g("object",e)}var v=Array.isArray,b=s(g,"function"),k=s(g,"string"),h=s(g,"undefined");function y(e){return null===e}function f(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function x(e){return v(e)?e:[e]}function w(e,t){x(e).forEach(t)}function z(e,t){return e.indexOf(t)>-1}function E(e,t){return e.push.apply(e,x(t)),e}function S(e,t,i){e&&w(t,(function(t){t&&e.classList[i?"add":"remove"](t)}))}function C(e,t){S(e,k(t)?t.split(" "):t,!0)}function R(e,t){w(t,e.appendChild.bind(e))}function N(e,t){w(e,(function(e){var i=(t||e).parentNode;i&&i.insertBefore(e,t)}))}function W(e,t){return f(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function O(e,t){var i=e?d(e.children):[];return t?i.filter((function(e){return W(e,t)})):i}function B(e,t){return t?O(e,t)[0]:e.firstElementChild}var _=Object.keys;function T(e,t,i){return e&&(i?_(e).reverse():_(e)).forEach((function(i){"__proto__"!==i&&t(e[i],i)})),e}function $(e){return d(arguments,1).forEach((function(t){T(t,(function(i,a){e[a]=t[a]}))})),e}function I(e){return d(arguments,1).forEach((function(t){T(t,(function(t,i){v(t)?e[i]=t.slice():p(t)?e[i]=I({},p(e[i])?e[i]:{},t):e[i]=t}))})),e}function P(e,t){w(t||_(e),(function(t){delete e[t]}))}function M(e,t){w(e,(function(e){w(t,(function(t){e&&e.removeAttribute(t)}))}))}function A(e,t,i){p(t)?T(t,(function(t,i){A(e,i,t)})):w(e,(function(e){y(i)||""===i?M(e,t):e.setAttribute(t,String(i))}))}function K(e,t,i){var a=document.createElement(e);return t&&(k(t)?C(a,t):A(a,t)),i&&R(i,a),a}function F(e,t,i){if(h(i))return getComputedStyle(e)[t];y(i)||(e.style[t]=""+i)}function L(e,t){F(e,"display",t)}function G(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function H(e,t){return e.getAttribute(t)}function D(e,t){return e&&e.classList.contains(t)}function V(e){return e.getBoundingClientRect()}function U(e){w(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function q(e){return B((new DOMParser).parseFromString(e,"text/html").body)}function j(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Q(e,t){return e&&e.querySelector(t)}function X(e,t){return t?d(e.querySelectorAll(t)):[]}function Y(e,t){S(e,t,!1)}function J(e){return e.timeStamp}function Z(e){return k(e)?e:e?e+"px":""}var ee="splide",te="data-"+ee;function ie(e,t){if(!e)throw new Error("["+ee+"] "+(t||""))}var ae=Math.min,oe=Math.max,ne=Math.floor,re=Math.ceil,le=Math.abs;function de(e,t,i){return le(e-t)<i}function se(e,t,i,a){var o=ae(t,i),n=oe(t,i);return a?o<e&&e<n:o<=e&&e<=n}function ce(e,t,i){var a=ae(t,i),o=oe(t,i);return ae(oe(a,e),o)}function me(e){return+(e>0)-+(e<0)}function ue(e,t){return w(t,(function(t){e=e.replace("%s",""+t)})),e}function ge(e){return e<10?"0"+e:""+e}var pe={};function ve(){var e=[];function t(e,t,i){w(e,(function(e){e&&w(t,(function(t){t.split(" ").forEach((function(t){var a=t.split(".");i(e,a[0],a[1])}))}))}))}return{bind:function(i,a,o,n){t(i,a,(function(t,i,a){var r="addEventListener"in t,l=r?t.removeEventListener.bind(t,i,o,n):t.removeListener.bind(t,o);r?t.addEventListener(i,o,n):t.addListener(o),e.push([t,i,a,o,l])}))},unbind:function(i,a,o){t(i,a,(function(t,i,a){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==i||e[2]!==a||o&&e[3]!==o)||(e[4](),!1)}))}))},dispatch:function(e,t,i){var a,o=!0;return"function"==typeof CustomEvent?a=new CustomEvent(t,{bubbles:o,detail:i}):(a=document.createEvent("CustomEvent")).initCustomEvent(t,o,!1,i),e.dispatchEvent(a),a},destroy:function(){e.forEach((function(e){e[4]()})),l(e)}}}var be="mounted",ke="ready",he="move",ye="moved",fe="click",xe="active",we="inactive",ze="visible",Ee="hidden",Se="refresh",Ce="updated",Re="resize",Ne="resized",We="drag",Oe="dragging",Be="dragged",_e="scroll",Te="scrolled",$e="destroy",Ie="arrows:mounted",Pe="arrows:updated",Me="pagination:mounted",Ae="pagination:updated",Ke="navigation:mounted",Fe="autoplay:play",Le="autoplay:playing",Ge="autoplay:pause",He="lazyload:loaded",De="ei";function Ve(e){var t=e?e.event.bus:document.createDocumentFragment(),i=ve();return e&&e.event.on($e,i.destroy),$(i,{bus:t,on:function(e,a){i.bind(t,x(e).join(" "),(function(e){a.apply(a,v(e.detail)?e.detail:[])}))},off:s(i.unbind,t),emit:function(e){i.dispatch(t,e,d(arguments,1))}})}function Ue(e,t,i,a){var o,n,r=Date.now,l=0,d=!0,s=0;function c(){if(!d){if(l=e?ae((r()-o)/e,1):1,i&&i(l),l>=1&&(t(),o=r(),a&&++s>=a))return m();n=u(c)}}function m(){d=!0}function g(){n&&cancelAnimationFrame(n),l=0,n=0,d=!0}return{start:function(t){t||g(),o=r()-(t?l*e:0),d=!1,n=u(c)},rewind:function(){o=r(),l=0,i&&i(l)},pause:m,cancel:g,set:function(t){e=t},isPaused:function(){return d}}}var qe="Arrow",je=qe+"Left",Qe=qe+"Right",Xe=qe+"Up",Ye=qe+"Down",Je="ttb",Ze={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Xe,Qe],ArrowRight:[Ye,je]},et="role",tt="tabindex",it="aria-",at=it+"controls",ot=it+"current",nt=it+"selected",rt=it+"label",lt=it+"labelledby",dt=it+"hidden",st=it+"orientation",ct=it+"roledescription",mt=it+"live",ut=it+"busy",gt=it+"atomic",pt=[et,tt,"disabled",at,ot,rt,lt,dt,st,ct],vt=ee+"__",bt="is-",kt=ee,ht=vt+"track",yt=vt+"list",ft=vt+"slide",xt=ft+"--clone",wt=ft+"__container",zt=vt+"arrows",Et=vt+"arrow",St=Et+"--prev",Ct=Et+"--next",Rt=vt+"pagination",Nt=Rt+"__page",Wt=vt+"progress__bar",Ot=vt+"toggle",Bt=vt+"sr",_t=bt+"initialized",Tt=bt+"active",$t=bt+"prev",It=bt+"next",Pt=bt+"visible",Mt=bt+"loading",At=bt+"focus-in",Kt=bt+"overflow",Ft=[Tt,Pt,$t,It,Mt,At,Kt],Lt={slide:ft,clone:xt,arrows:zt,arrow:Et,prev:St,next:Ct,pagination:Rt,page:Nt,spinner:vt+"spinner"},Gt="touchstart mousedown",Ht="touchmove mousemove",Dt="touchend touchcancel mouseup click",Vt="slide",Ut="loop",qt="fade";var jt=te+"-interval",Qt={passive:!1,capture:!0},Xt={Spacebar:" ",Right:Qe,Left:je,Up:Xe,Down:Ye};function Yt(e){return e=k(e)?e:e.key,Xt[e]||e}var Jt="keydown",Zt=te+"-lazy",ei=Zt+"-srcset",ti="["+Zt+"], ["+ei+"]",ii=[" ","Enter"],ai=Object.freeze({__proto__:null,Media:function(e,t,i){var a=e.state,o=i.breakpoints||{},n=i.reducedMotion||{},l=ve(),d=[];function s(e){e&&l.destroy()}function c(e,t){var i=matchMedia(t);l.bind(i,"change",m),d.push([e,i])}function m(){var t=a.is(7),o=i.direction,n=d.reduce((function(e,t){return I(e,t[1].matches?t[0]:{})}),{});P(i),u(n),i.destroy?e.destroy("completely"===i.destroy):t?(s(!0),e.mount()):o!==i.direction&&e.refresh()}function u(t,o,n){I(i,t),o&&I(Object.getPrototypeOf(i),t),!n&&a.is(1)||e.emit(Ce,i)}return{setup:function(){var e="min"===i.mediaQuery;_(o).sort((function(t,i){return e?+t-+i:+i-+t})).forEach((function(t){c(o[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),c(n,r),m()},destroy:s,reduce:function(e){matchMedia(r).matches&&(e?I(i,n):P(i,_(n)))},set:u}},Direction:function(e,t,i){return{resolve:function(e,t,a){var o="rtl"!==(a=a||i.direction)||t?a===Je?0:-1:1;return Ze[e]&&Ze[e][o]||e.replace(/width|left|right/i,(function(e,t){var i=Ze[e.toLowerCase()][o]||e;return t>0?i.charAt(0).toUpperCase()+i.slice(1):i}))},orient:function(e){return e*("rtl"===i.direction?1:-1)}}},Elements:function(e,t,i){var a,o,n,r=Ve(e),d=r.on,s=r.bind,c=e.root,m=i.i18n,u={},g=[],p=[],v=[];function k(){var e,t,n;a=f("."+ht),o=B(a,"."+yt),ie(a&&o,"A track/list element is missing."),E(g,O(o,"."+ft+":not(."+xt+")")),T({arrows:zt,pagination:Rt,prev:St,next:Ct,bar:Wt,toggle:Ot},(function(e,t){u[t]=f("."+e)})),$(u,{root:c,track:a,list:o,slides:g}),t=c.id||""+(e=ee)+ge(pe[e]=(pe[e]||0)+1),n=i.role,c.id=t,a.id=a.id||t+"-track",o.id=o.id||t+"-list",!H(c,et)&&"SECTION"!==c.tagName&&n&&A(c,et,n),A(c,ct,m.carousel),A(o,et,"presentation"),y()}function h(e){var t=pt.concat("style");l(g),Y(c,p),Y(a,v),M([a,o],t),M(c,e?t:["style",ct])}function y(){Y(c,p),Y(a,v),p=x(kt),v=x(ht),C(c,p),C(a,v),A(c,rt,i.label),A(c,lt,i.labelledby)}function f(e){var t=Q(c,e);return t&&function(e,t){if(b(e.closest))return e.closest(t);for(var i=e;i&&1===i.nodeType&&!W(i,t);)i=i.parentElement;return i}(t,"."+kt)===c?t:void 0}function x(e){return[e+"--"+i.type,e+"--"+i.direction,i.drag&&e+"--draggable",i.isNavigation&&e+"--nav",e===kt&&Tt]}return $(u,{setup:k,mount:function(){d(Se,h),d(Se,k),d(Ce,y),s(document,Gt+" keydown",(function(e){n="keydown"===e.type}),{capture:!0}),s(c,"focusin",(function(){S(c,At,!!n)}))},destroy:h})},Slides:function(e,t,i){var a=Ve(e),o=a.on,n=a.emit,r=a.bind,d=t.Elements,c=d.slides,m=d.list,u=[];function g(){c.forEach((function(e,t){v(e,t,-1)}))}function p(){y((function(e){e.destroy()})),l(u)}function v(t,i,a){var o=function(e,t,i,a){var o,n=Ve(e),r=n.on,l=n.emit,d=n.bind,c=e.Components,m=e.root,u=e.options,g=u.isNavigation,p=u.updateOnMove,v=u.i18n,b=u.pagination,k=u.slideFocus,h=c.Direction.resolve,y=H(a,"style"),f=H(a,rt),x=i>-1,w=B(a,"."+wt);function z(){var o=e.splides.map((function(e){var i=e.splide.Components.Slides.getAt(t);return i?i.slide.id:""})).join(" ");A(a,rt,ue(v.slideX,(x?i:t)+1)),A(a,at,o),A(a,et,k?"button":""),k&&M(a,ct)}function E(){o||C()}function C(){if(!o){var i=e.index;(n=R())!==D(a,Tt)&&(S(a,Tt,n),A(a,ot,g&&n||""),l(n?xe:we,N)),function(){var t=function(){if(e.is(qt))return R();var t=V(c.Elements.track),i=V(a),o=h("left",!0),n=h("right",!0);return ne(t[o])<=re(i[o])&&ne(i[n])<=re(t[n])}(),i=!t&&(!R()||x);if(e.state.is([4,5])||A(a,dt,i||""),A(X(a,u.focusableNodes||""),tt,i?-1:""),k&&A(a,tt,i?-1:0),t!==D(a,Pt)&&(S(a,Pt,t),l(t?ze:Ee,N)),!t&&document.activeElement===a){var o=c.Slides.getAt(e.index);o&&G(o.slide)}}(),S(a,$t,t===i-1),S(a,It,t===i+1)}var n}function R(){var a=e.index;return a===t||u.cloneStatus&&a===i}var N={index:t,slideIndex:i,slide:a,container:w,isClone:x,mount:function(){x||(a.id=m.id+"-slide"+ge(t+1),A(a,et,b?"tabpanel":"group"),A(a,ct,v.slide),A(a,rt,f||ue(v.slideLabel,[t+1,e.length]))),d(a,"click",s(l,fe,N)),d(a,"keydown",s(l,"sk",N)),r([ye,"sh",Te],C),r(Ke,z),p&&r(he,E)},destroy:function(){o=!0,n.destroy(),Y(a,Ft),M(a,pt),A(a,"style",y),A(a,rt,f||"")},update:C,style:function(e,t,i){F(i&&w||a,e,t)},isWithin:function(i,a){var o=le(i-t);return x||!u.rewind&&!e.is(Ut)||(o=ae(o,e.length-o)),o<=a}};return N}(e,i,a,t);o.mount(),u.push(o),u.sort((function(e,t){return e.index-t.index}))}function h(e){return e?E((function(e){return!e.isClone})):u}function y(e,t){h(t).forEach(e)}function E(e){return u.filter(b(e)?e:function(t){return k(e)?W(t.slide,e):z(x(e),t.index)})}return{mount:function(){g(),o(Se,p),o(Se,g)},destroy:p,update:function(){y((function(e){e.update()}))},register:v,get:h,getIn:function(e){var a=t.Controller,o=a.toIndex(e),n=a.hasFocus()?1:i.perPage;return E((function(e){return se(e.index,o,o+n-1)}))},getAt:function(e){return E(e)[0]},add:function(e,t){w(e,(function(e){if(k(e)&&(e=q(e)),f(e)){var a=c[t];a?N(e,a):R(m,e),C(e,i.classes.slide),o=e,l=s(n,Re),d=X(o,"img"),(u=d.length)?d.forEach((function(e){r(e,"load error",(function(){--u||l()}))})):l()}var o,l,d,u})),n(Se)},remove:function(e){U(E(e).map((function(e){return e.slide}))),n(Se)},forEach:y,filter:E,style:function(e,t,i){y((function(a){a.style(e,t,i)}))},getLength:function(e){return e?c.length:u.length},isEnough:function(){return u.length>i.perPage}}},Layout:function(e,t,i){var a,o,n,r=Ve(e),l=r.on,d=r.bind,c=r.emit,m=t.Slides,u=t.Direction.resolve,g=t.Elements,v=g.root,b=g.track,k=g.list,h=m.getAt,y=m.style;function f(){a=i.direction===Je,F(v,"maxWidth",Z(i.width)),F(b,u("paddingLeft"),w(!1)),F(b,u("paddingRight"),w(!0)),x(!0)}function x(e){var t,r=V(v);(e||o.width!==r.width||o.height!==r.height)&&(F(b,"height",(t="",a&&(ie(t=z(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")"),t)),y(u("marginRight"),Z(i.gap)),y("width",i.autoWidth?null:Z(i.fixedWidth)||(a?"":E())),y("height",Z(i.fixedHeight)||(a?i.autoHeight?null:E():z()),!0),o=r,c(Ne),n!==(n=B())&&(S(v,Kt,n),c("overflow",n)))}function w(e){var t=i.padding,a=u(e?"right":"left");return t&&Z(t[a]||(p(t)?0:t))||"0px"}function z(){return Z(i.height||V(k).width*i.heightRatio)}function E(){var e=Z(i.gap);return"calc((100%"+(e&&" + "+e)+")/"+(i.perPage||1)+(e&&" - "+e)+")"}function C(){return V(k)[u("width")]}function R(e,t){var i=h(e||0);return i?V(i.slide)[u("width")]+(t?0:O()):0}function N(e,t){var i=h(e);if(i){var a=V(i.slide)[u("right")],o=V(k)[u("left")];return le(a-o)+(t?0:O())}return 0}function W(t){return N(e.length-1)-N(0)+R(0,t)}function O(){var e=h(0);return e&&parseFloat(F(e.slide,u("marginRight")))||0}function B(){return e.is(qt)||W(!0)>C()}return{mount:function(){var e,t;f(),d(window,"resize load",(e=s(c,Re),t=Ue(0,e,null,1),function(){t.isPaused()&&t.start()})),l([Ce,Se],f),l(Re,x)},resize:x,listSize:C,slideSize:R,sliderSize:W,totalSize:N,getPadding:function(e){return parseFloat(F(b,u("padding"+(e?"Right":"Left"))))||0},isOverflow:B}},Clones:function(e,t,i){var a,o=Ve(e),n=o.on,r=t.Elements,d=t.Slides,s=t.Direction.resolve,c=[];function m(){n(Se,u),n([Ce,Re],p),(a=v())&&(function(t){var a=d.get().slice(),o=a.length;if(o){for(;a.length<t;)E(a,a);E(a.slice(-t),a.slice(0,t)).forEach((function(n,l){var s=l<t,m=function(t,a){var o=t.cloneNode(!0);return C(o,i.classes.clone),o.id=e.root.id+"-clone"+ge(a+1),o}(n.slide,l);s?N(m,a[0].slide):R(r.list,m),E(c,m),d.register(m,l-t+(s?0:o),n.index)}))}}(a),t.Layout.resize(!0))}function u(){g(),m()}function g(){U(c),l(c),o.destroy()}function p(){var e=v();a!==e&&(a<e||!e)&&o.emit(Se)}function v(){var a=i.clones;if(e.is(Ut)){if(h(a)){var o=i[s("fixedWidth")]&&t.Layout.slideSize(0);a=o&&re(V(r.track)[s("width")]/o)||i[s("autoWidth")]&&e.length||2*i.perPage}}else a=0;return a}return{mount:m,destroy:g}},Move:function(e,t,i){var a,o=Ve(e),n=o.on,r=o.emit,l=e.state.set,d=t.Layout,s=d.slideSize,c=d.getPadding,m=d.totalSize,u=d.listSize,g=d.sliderSize,p=t.Direction,v=p.resolve,b=p.orient,k=t.Elements,y=k.list,f=k.track;function x(){t.Controller.isBusy()||(t.Scroll.cancel(),w(e.index),t.Slides.update())}function w(e){z(R(e,!0))}function z(i,a){if(!e.is(qt)){var o=a?i:function(i){if(e.is(Ut)){var a=C(i),o=a>t.Controller.getEnd();(a<0||o)&&(i=E(i,o))}return i}(i);F(y,"transform","translate"+v("X")+"("+o+"px)"),i!==o&&r("sh")}}function E(e,t){var i=e-W(t),a=g();return e-b(a*(re(le(i)/a)||1))*(t?1:-1)}function S(){z(N(),!0),a.cancel()}function C(e){for(var i=t.Slides.get(),a=0,o=1/0,n=0;n<i.length;n++){var r=i[n].index,l=le(R(r,!0)-e);if(!(l<=o))break;o=l,a=r}return a}function R(t,a){var o=b(m(t-1)-function(e){var t=i.focus;return"center"===t?(u()-s(e,!0))/2:+t*s(e)||0}(t));return a?function(t){return i.trimSpace&&e.is(Vt)&&(t=ce(t,0,b(g(!0)-u()))),t}(o):o}function N(){var e=v("left");return V(y)[e]-V(f)[e]+b(c(!1))}function W(e){return R(e?t.Controller.getEnd():0,!!i.trimSpace)}return{mount:function(){a=t.Transition,n([be,Ne,Ce,Se],x)},move:function(e,t,i,o){var n,d;e!==t&&(n=e>i,d=b(E(N(),n)),n?d>=0:d<=y[v("scrollWidth")]-V(f)[v("width")])&&(S(),z(E(N(),e>i),!0)),l(4),r(he,t,i,e),a.start(t,(function(){l(3),r(ye,t,i,e),o&&o()}))},jump:w,translate:z,shift:E,cancel:S,toIndex:C,toPosition:R,getPosition:N,getLimit:W,exceededLimit:function(e,t){t=h(t)?N():t;var i=!0!==e&&b(t)<b(W(!1)),a=!1!==e&&b(t)>b(W(!0));return i||a},reposition:x}},Controller:function(e,t,i){var a,o,n,r,l=Ve(e),d=l.on,c=l.emit,m=t.Move,u=m.getPosition,g=m.getLimit,p=m.toPosition,v=t.Slides,b=v.isEnough,y=v.getLength,f=i.omitEnd,x=e.is(Ut),w=e.is(Vt),z=s(W,!1),E=s(W,!0),S=i.start||0,C=S;function R(){o=y(!0),n=i.perMove,r=i.perPage,a=_();var e=ce(S,0,f?a:o-1);e!==S&&(S=e,m.reposition())}function N(){a!==_()&&c(De)}function W(e,t){var i=n||(P()?1:r),o=O(S+i*(e?-1:1),S,!(n||P()));return-1===o&&w&&!de(u(),g(!e),1)?e?0:a:t?o:B(o)}function O(t,l,d){if(b()||P()){var s=function(t){if(w&&"move"===i.trimSpace&&t!==S)for(var a=u();a===p(t,!0)&&se(t,0,e.length-1,!i.rewind);)t<S?--t:++t;return t}(t);s!==t&&(l=t,t=s,d=!1),t<0||t>a?t=n||!se(0,t,l,!0)&&!se(a,l,t,!0)?x?d?t<0?-(o%r||r):o:t:i.rewind?t<0?a:0:-1:T($(t)):d&&t!==l&&(t=T($(l)+(t<l?-1:1)))}else t=-1;return t}function B(e){return x?(e+o)%o||0:e}function _(){for(var e=o-(P()||x&&n?1:r);f&&e-- >0;)if(p(o-1,!0)!==p(e,!0)){e++;break}return ce(e,0,o-1)}function T(e){return ce(P()?e:r*e,0,a)}function $(e){return P()?ae(e,a):ne((e>=a?o-1:e)/r)}function I(e){e!==S&&(C=S,S=e)}function P(){return!h(i.focus)||i.isNavigation}function M(){return e.state.is([4,5])&&!!i.waitForTransition}return{mount:function(){R(),d([Ce,Se,De],R),d(Ne,N)},go:function(e,t,i){if(!M()){var o=function(e){var t=S;if(k(e)){var i=e.match(/([+\-<>])(\d+)?/)||[],o=i[1],n=i[2];"+"===o||"-"===o?t=O(S+ +(""+o+(+n||1)),S):">"===o?t=n?T(+n):z(!0):"<"===o&&(t=E(!0))}else t=x?e:ce(e,0,a);return t}(e),n=B(o);n>-1&&(t||n!==S)&&(I(n),m.move(o,n,C,i))}},scroll:function(e,i,o,n){t.Scroll.scroll(e,i,o,(function(){var e=B(m.toIndex(u()));I(f?ae(e,a):e),n&&n()}))},getNext:z,getPrev:E,getAdjacent:W,getEnd:_,setIndex:I,getIndex:function(e){return e?C:S},toIndex:T,toPage:$,toDest:function(e){var t=m.toIndex(e);return w?ce(t,0,a):t},hasFocus:P,isBusy:M}},Arrows:function(e,t,i){var a,o,n=Ve(e),r=n.on,l=n.bind,d=n.emit,c=i.classes,m=i.i18n,u=t.Elements,g=t.Controller,p=u.arrows,v=u.track,b=p,k=u.prev,h=u.next,y={};function f(){var e;!(e=i.arrows)||k&&h||(b=p||K("div",c.arrows),k=E(!0),h=E(!1),a=!0,R(b,[k,h]),!p&&N(b,v)),k&&h&&($(y,{prev:k,next:h}),L(b,e?"":"none"),C(b,o=zt+"--"+i.direction),e&&(r([be,ye,Se,Te,De],S),l(h,"click",s(z,">")),l(k,"click",s(z,"<")),S(),A([k,h],at,v.id),d(Ie,k,h))),r(Ce,x)}function x(){w(),f()}function w(){n.destroy(),Y(b,o),a?(U(p?[k,h]:b),k=h=null):M([k,h],pt)}function z(e){g.go(e,!0)}function E(e){return q('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function S(){if(k&&h){var t=e.index,i=g.getPrev(),a=g.getNext(),o=i>-1&&t<i?m.last:m.prev,n=a>-1&&t>a?m.first:m.next;k.disabled=i<0,h.disabled=a<0,A(k,rt,o),A(h,rt,n),d(Pe,k,h,i,a)}}return{arrows:y,mount:f,destroy:w,update:S}},Autoplay:function(e,t,i){var a,o,n=Ve(e),r=n.on,l=n.bind,d=n.emit,s=Ue(i.interval,e.go.bind(e,">"),(function(e){var t=m.bar;t&&F(t,"width",100*e+"%"),d(Le,e)})),c=s.isPaused,m=t.Elements,u=t.Elements,g=u.root,p=u.toggle,v=i.autoplay,b="pause"===v;function k(){c()&&t.Slides.isEnough()&&(s.start(!i.resetProgress),o=a=b=!1,f(),d(Fe))}function h(e){void 0===e&&(e=!0),b=!!e,f(),c()||(s.pause(),d(Ge))}function y(){b||(a||o?h(!1):k())}function f(){p&&(S(p,Tt,!b),A(p,rt,i.i18n[b?"play":"pause"]))}function x(e){var a=t.Slides.getAt(e);s.set(a&&+H(a.slide,jt)||i.interval)}return{mount:function(){v&&(i.pauseOnHover&&l(g,"mouseenter mouseleave",(function(e){a="mouseenter"===e.type,y()})),i.pauseOnFocus&&l(g,"focusin focusout",(function(e){o="focusin"===e.type,y()})),p&&l(p,"click",(function(){b?k():h(!0)})),r([he,_e,Se],s.rewind),r(he,x),p&&A(p,at,m.track.id),b||k(),f())},destroy:s.cancel,play:k,pause:h,isPaused:c}},Cover:function(e,t,i){var a=Ve(e).on;function o(e){t.Slides.forEach((function(t){var i=B(t.container||t.slide,"img");i&&i.src&&n(e,i,t)}))}function n(e,t,i){i.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),L(t,e?"none":"")}return{mount:function(){i.cover&&(a(He,s(n,!0)),a([be,Ce,Se],s(o,!0)))},destroy:s(o,!1)}},Scroll:function(e,t,i){var a,o,n=Ve(e),r=n.on,l=n.emit,d=e.state.set,c=t.Move,m=c.getPosition,u=c.getLimit,g=c.exceededLimit,p=c.translate,v=e.is(Vt),b=1;function k(e,i,n,r,u){var p=m();if(f(),n&&(!v||!g())){var k=t.Layout.sliderSize(),x=me(e)*k*ne(le(e)/k)||0;e=c.toPosition(t.Controller.toDest(e%k))+x}var w=de(p,e,1);b=1,i=w?0:i||oe(le(e-p)/1.5,800),o=r,a=Ue(i,h,s(y,p,e,u),1),d(5),l(_e),a.start()}function h(){d(3),o&&o(),l(Te)}function y(e,t,a,n){var r,l,d=m(),s=(e+(t-e)*(r=n,(l=i.easingFunc)?l(r):1-Math.pow(1-r,4))-d)*b;p(d+s),v&&!a&&g()&&(b*=.6,le(s)<10&&k(u(g(!0)),600,!1,o,!0))}function f(){a&&a.cancel()}function x(){a&&!a.isPaused()&&(f(),h())}return{mount:function(){r(he,f),r([Ce,Se],x)},destroy:f,scroll:k,cancel:x}},Drag:function(e,t,i){var a,o,n,r,l,d,s,c,u=Ve(e),g=u.on,v=u.emit,b=u.bind,k=u.unbind,h=e.state,y=t.Move,f=t.Scroll,x=t.Controller,w=t.Elements.track,z=t.Media.reduce,E=t.Direction,S=E.resolve,C=E.orient,R=y.getPosition,N=y.exceededLimit,O=!1;function B(){var e=i.drag;G(!e),r="free"===e}function _(e){if(d=!1,!s){var t=L(e);a=e.target,o=i.noDrag,W(a,"."+Nt+", ."+Et)||o&&W(a,o)||!t&&e.button||(x.isBusy()?j(e,!0):(c=t?w:window,l=h.is([4,5]),n=null,b(c,Ht,T,Qt),b(c,Dt,$,Qt),y.cancel(),f.cancel(),P(e)))}var a,o}function T(t){if(h.is(6)||(h.set(6),v(We)),t.cancelable)if(l){y.translate(a+M(t)/(O&&e.is(Vt)?5:1));var o=A(t)>200,n=O!==(O=N());(o||n)&&P(t),d=!0,v(Oe),j(t)}else(function(e){return le(M(e))>le(M(e,!0))})(t)&&(l=function(e){var t=i.dragMinThreshold,a=p(t),o=a&&t.mouse||0,n=(a?t.touch:+t)||10;return le(M(e))>(L(e)?n:o)}(t),j(t))}function $(a){h.is(6)&&(h.set(3),v(Be)),l&&(function(a){var o=function(t){if(e.is(Ut)||!O){var i=A(t);if(i&&i<200)return M(t)/i}return 0}(a),n=function(e){return R()+me(e)*ae(le(e)*(i.flickPower||600),r?1/0:t.Layout.listSize()*(i.flickMaxPages||1))}(o),l=i.rewind&&i.rewindByDrag;z(!1),r?x.scroll(n,0,i.snap):e.is(qt)?x.go(C(me(o))<0?l?"<":"-":l?">":"+"):e.is(Vt)&&O&&l?x.go(N(!0)?">":"<"):x.go(x.toDest(n),!0),z(!0)}(a),j(a)),k(c,Ht,T),k(c,Dt,$),l=!1}function I(e){!s&&d&&j(e,!0)}function P(e){n=o,o=e,a=R()}function M(e,t){return F(e,t)-F(K(e),t)}function A(e){return J(e)-J(K(e))}function K(e){return o===e&&n||o}function F(e,t){return(L(e)?e.changedTouches[0]:e)["page"+S(t?"Y":"X")]}function L(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function G(e){s=e}return{mount:function(){b(w,Ht,m,Qt),b(w,Dt,m,Qt),b(w,Gt,_,Qt),b(w,"click",I,{capture:!0}),b(w,"dragstart",j),g([be,Ce],B)},disable:G,isDragging:function(){return l}}},Keyboard:function(e,t,i){var a,o,n=Ve(e),r=n.on,l=n.bind,d=n.unbind,s=e.root,m=t.Direction.resolve;function u(){var e=i.keyboard;e&&(a="global"===e?window:s,l(a,Jt,v))}function g(){d(a,Jt)}function p(){var e=o;o=!0,c((function(){o=e}))}function v(t){if(!o){var i=Yt(t);i===m(je)?e.go("<"):i===m(Qe)&&e.go(">")}}return{mount:function(){u(),r(Ce,g),r(Ce,u),r(he,p)},destroy:g,disable:function(e){o=e}}},LazyLoad:function(e,t,i){var a=Ve(e),o=a.on,n=a.off,r=a.bind,d=a.emit,c="sequential"===i.lazyLoad,m=[ye,Te],u=[];function g(){l(u),t.Slides.forEach((function(e){X(e.slide,ti).forEach((function(t){var a=H(t,Zt),o=H(t,ei);if(a!==t.src||o!==t.srcset){var n=i.classes.spinner,r=t.parentElement,l=B(r,"."+n)||K("span",n,r);u.push([t,e,l]),t.src||L(t,"none")}}))})),c?k():(n(m),o(m,p),p())}function p(){(u=u.filter((function(t){var a=i.perPage*((i.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,a)||v(t)}))).length||n(m)}function v(e){var t=e[0];C(e[1].slide,Mt),r(t,"load error",s(b,e)),A(t,"src",H(t,Zt)),A(t,"srcset",H(t,ei)),M(t,Zt),M(t,ei)}function b(e,t){var i=e[0],a=e[1];Y(a.slide,Mt),"error"!==t.type&&(U(e[2]),L(i,""),d(He,i,a),d(Re)),c&&k()}function k(){u.length&&v(u.shift())}return{mount:function(){i.lazyLoad&&(g(),o(Se,g))},destroy:s(l,u),check:p}},Pagination:function(e,t,i){var a,o,n=Ve(e),r=n.on,c=n.emit,m=n.bind,u=t.Slides,g=t.Elements,p=t.Controller,v=p.hasFocus,b=p.getIndex,k=p.go,h=t.Direction.resolve,y=g.pagination,f=[];function x(){a&&(U(y?d(a.children):a),Y(a,o),l(f),a=null),n.destroy()}function w(e){k(">"+e,!0)}function z(e,t){var i=f.length,a=Yt(t),o=E(),n=-1;a===h(Qe,!1,o)?n=++e%i:a===h(je,!1,o)?n=(--e+i)%i:"Home"===a?n=0:"End"===a&&(n=i-1);var r=f[n];r&&(G(r.button),k(">"+n),j(t,!0))}function E(){return i.paginationDirection||i.direction}function S(e){return f[p.toPage(e)]}function R(){var e=S(b(!0)),t=S(b());if(e){var i=e.button;Y(i,Tt),M(i,nt),A(i,tt,-1)}if(t){var o=t.button;C(o,Tt),A(o,nt,!0),A(o,tt,"")}c(Ae,{list:a,items:f},e,t)}return{items:f,mount:function t(){x(),r([Ce,Se,De],t);var n=i.pagination;y&&L(y,n?"":"none"),n&&(r([he,_e,Te],R),function(){var t=e.length,n=i.classes,r=i.i18n,l=i.perPage,d=v()?p.getEnd()+1:re(t/l);C(a=y||K("ul",n.pagination,g.track.parentElement),o=Rt+"--"+E()),A(a,et,"tablist"),A(a,rt,r.select),A(a,st,E()===Je?"vertical":"");for(var c=0;c<d;c++){var b=K("li",null,a),k=K("button",{class:n.page,type:"button"},b),h=u.getIn(c).map((function(e){return e.slide.id})),x=!v()&&l>1?r.pageX:r.slideX;m(k,"click",s(w,c)),i.paginationKeyboard&&m(k,"keydown",s(z,c)),A(b,et,"presentation"),A(k,et,"tab"),A(k,at,h.join(" ")),A(k,rt,ue(x,c+1)),A(k,tt,-1),f.push({li:b,button:k,page:c})}}(),R(),c(Me,{list:a,items:f},S(e.index)))},destroy:x,getAt:S,update:R}},Sync:function(e,t,i){var a=i.isNavigation,o=i.slideFocus,n=[];function r(){var t,i;e.splides.forEach((function(t){t.isParent||(c(e,t.splide),c(t.splide,e))})),a&&((i=(t=Ve(e)).on)(fe,u),i("sk",g),i([be,Ce],m),n.push(t),t.emit(Ke,e.splides))}function d(){n.forEach((function(e){e.destroy()})),l(n)}function c(e,t){var i=Ve(e);i.on(he,(function(e,i,a){t.go(t.is(Ut)?a:e)})),n.push(i)}function m(){A(t.Elements.list,st,i.direction===Je?"vertical":"")}function u(t){e.go(t.index)}function g(e,t){z(ii,Yt(t))&&(u(e),j(t))}return{setup:s(t.Media.set,{slideFocus:h(o)?a:o},!0),mount:r,destroy:d,remount:function(){d(),r()}}},Wheel:function(e,t,i){var a=Ve(e).bind,o=0;function n(a){if(a.cancelable){var n=a.deltaY,r=n<0,l=J(a),d=i.wheelMinThreshold||0,s=i.wheelSleep||0;le(n)>d&&l-o>s&&(e.go(r?"<":">"),o=l),function(a){return!i.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(a)}(r)&&j(a)}}return{mount:function(){i.wheel&&a(t.Elements.track,"wheel",n,Qt)}}},Live:function(e,t,i){var a=Ve(e).on,o=t.Elements.track,n=i.live&&!i.isNavigation,r=K("span",Bt),l=Ue(90,s(d,!1));function d(e){A(o,ut,e),e?(R(o,r),l.start()):(U(r),l.cancel())}function c(e){n&&A(o,mt,e?"off":"polite")}return{mount:function(){n&&(c(!t.Autoplay.isPaused()),A(o,gt,!0),r.textContent="…",a(Fe,s(c,!0)),a(Ge,s(c,!1)),a([ye,Te],s(d,!0)))},disable:c,destroy:function(){M(o,[mt,gt,ut]),U(r)}}}}),oi={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Lt,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function ni(e,t,i){var a=t.Slides;function o(){a.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){Ve(e).on([be,Se],o)},start:function(e,t){a.style("transition","opacity "+i.speed+"ms "+i.easing),c(t)},cancel:m}}function ri(e,t,i){var a,o=t.Move,n=t.Controller,r=t.Scroll,l=t.Elements.list,d=s(F,l,"transition");function c(){d(""),r.cancel()}return{mount:function(){Ve(e).bind(l,"transitionend",(function(e){e.target===l&&a&&(c(),a())}))},start:function(t,l){var s=o.toPosition(t,!0),c=o.getPosition(),m=function(t){var a=i.rewindSpeed;if(e.is(Vt)&&a){var o=n.getIndex(!0),r=n.getEnd();if(0===o&&t>=r||o>=r&&0===t)return a}return i.speed}(t);le(s-c)>=1&&m>=1?i.useScroll?r.scroll(s,m,!1,l):(d("transform "+m+"ms "+i.easing),o.translate(s,!0),a=l):(o.jump(t),l())},cancel:c}}var li=function(){function e(t,i){var a;this.event=Ve(),this.Components={},this.state=(a=1,{set:function(e){a=e},is:function(e){return z(x(e),a)}}),this.splides=[],this._o={},this._E={};var o=k(t)?Q(document,t):t;ie(o,o+" is invalid."),this.root=o,i=I({label:H(o,rt)||"",labelledby:H(o,lt)||""},oi,e.defaults,i||{});try{I(i,JSON.parse(H(o,te)))}catch(e){ie(!1,"Invalid JSON")}this._o=Object.create(I({},i))}var t,i,a=e.prototype;return a.mount=function(e,t){var i=this,a=this.state,o=this.Components;return ie(a.is([1,7]),"Already mounted!"),a.set(1),this._C=o,this._T=t||this._T||(this.is(qt)?ni:ri),this._E=e||this._E,T($({},ai,this._E,{Transition:this._T}),(function(e,t){var a=e(i,o,i._o);o[t]=a,a.setup&&a.setup()})),T(o,(function(e){e.mount&&e.mount()})),this.emit(be),C(this.root,_t),a.set(3),this.emit(ke),this},a.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},a.go=function(e){return this._C.Controller.go(e),this},a.on=function(e,t){return this.event.on(e,t),this},a.off=function(e){return this.event.off(e),this},a.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(d(arguments,1))),this},a.add=function(e,t){return this._C.Slides.add(e,t),this},a.remove=function(e){return this._C.Slides.remove(e),this},a.is=function(e){return this._o.type===e},a.refresh=function(){return this.emit(Se),this},a.destroy=function(e){void 0===e&&(e=!0);var t=this.event,i=this.state;return i.is(1)?Ve(this).on(ke,this.destroy.bind(this,e)):(T(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit($e),t.destroy(),e&&l(this.splides),i.set(7)),this},t=e,(i=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&n(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();li.defaults={},li.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};var di=[[be,"onMounted"],[ke,"onReady"],[he,"onMove"],[ye,"onMoved"],[fe,"onClick"],[xe,"onActive"],[we,"onInactive"],[ze,"onVisible"],[Ee,"onHidden"],[Se,"onRefresh"],[Ce,"onUpdated"],[Re,"onResize"],[Ne,"onResized"],[We,"onDrag"],[Oe,"onDragging"],[Be,"onDragged"],[_e,"onScroll"],[Te,"onScrolled"],[$e,"onDestroy"],[Ie,"onArrowsMounted"],[Pe,"onArrowsUpdated"],[Me,"onPaginationMounted"],[Ae,"onPaginationUpdated"],[Ke,"onNavigationMounted"],[Fe,"onAutoplayPlay"],[Le,"onAutoplayPlaying"],[Ge,"onAutoplayPause"],[He,"onLazyLoadLoaded"]];function si(...e){return e.filter(Boolean).join(" ")}function ci(e){return null!==e&&"object"==typeof e}function mi(e,t){if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&!e.some(((e,i)=>!mi(e,t[i])));if(ci(e)&&ci(t)){const i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&!i.some((i=>!Object.prototype.hasOwnProperty.call(t,i)||!mi(e[i],t[i])))}return e===t}function ui(e,t){const i=e;return function(e,t){if(e){const i=Object.keys(e);for(let a=0;a<i.length;a++){const o=i[a];if("__proto__"!==o&&!1===t(e[o],o))break}}}(t,((e,t)=>{Array.isArray(e)?i[t]=e.slice():ci(e)?i[t]=ui(ci(i[t])?i[t]:{},e):i[t]=e})),i}var gi=({children:e,className:t,...i})=>o().createElement("div",{className:si("splide__track",t),...i},o().createElement("ul",{className:"splide__list"},e)),pi=class extends o().Component{constructor(){super(...arguments),this.splideRef=o().createRef(),this.slides=[]}componentDidMount(){const{options:e,extensions:t,transition:i}=this.props,{current:a}=this.splideRef;a&&(this.splide=new li(a,e),this.bind(this.splide),this.splide.mount(t,i),this.options=ui({},e||{}),this.slides=this.getSlides())}componentWillUnmount(){this.splide&&(this.splide.destroy(),this.splide=void 0),this.options=void 0,this.slides.length=0}componentDidUpdate(){if(!this.splide)return;const{options:e}=this.props;e&&!mi(this.options,e)&&(this.splide.options=e,this.options=ui({},e));const t=this.getSlides();var i,a;i=this.slides,a=t,(i.length!==a.length||i.some(((e,t)=>e!==a[t])))&&(this.splide.refresh(),this.slides=t)}sync(e){var t;null==(t=this.splide)||t.sync(e)}go(e){var t;null==(t=this.splide)||t.go(e)}getSlides(){var e;if(this.splide){const t=null==(e=this.splide.Components.Elements)?void 0:e.list.children;return t&&Array.prototype.slice.call(t)||[]}return[]}bind(e){di.forEach((([t,i])=>{const a=this.props[i];"function"==typeof a&&e.on(t,((...t)=>{a(e,...t)}))}))}omit(e,t){return t.forEach((t=>{Object.prototype.hasOwnProperty.call(e,t)&&delete e[t]})),e}render(){const{className:e,tag:t="div",hasTrack:i=!0,children:a,...n}=this.props;return o().createElement(t,{className:si("splide",e),ref:this.splideRef,...this.omit(n,["options",...di.map((e=>e[1]))])},i?o().createElement(gi,null,a):a)}},vi=({children:e,className:t,...i})=>o().createElement("li",{className:si("splide__slide",t),...i},e)},6886:(e,t,i)=>{"use strict";var a=i(4997),o=i(1609);const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Testimonial","name":"kadence/testimonial","parent":["kadence/testimonials"],"category":"kadence-blocks","textdomain":"kadence-blocks","attributes":{"uniqueID":{"type":"string","default":""},"url":{"type":"string","default":"","__experimentalRole":"content"},"id":{"type":"number","default":"","__experimentalRole":"content"},"alt":{"type":"string","default":""},"width":{"type":"number","default":""},"height":{"type":"number","default":""},"maxWidth":{"type":"number","default":""},"subtype":{"type":"string","default":""},"media":{"type":"string","default":"image"},"icon":{"type":"string","default":"fas_quote-left"},"isize":{"type":"number","default":50},"tabletIsize":{"type":"number","default":""},"mobileIsize":{"type":"number","default":""},"istroke":{"type":"number","default":2},"ititle":{"type":"string","default":""},"color":{"type":"string","default":""},"title":{"type":"string","default":"","__experimentalRole":"content"},"content":{"type":"string","default":"","__experimentalRole":"content"},"name":{"type":"string","default":"","__experimentalRole":"content"},"occupation":{"type":"string","default":"","__experimentalRole":"content"},"rating":{"type":"number","default":5},"sizes":{"type":"object","default":{}},"inQueryBlock":{"type":"boolean","default":false},"useBlockQuoteTags":{"type":"boolean","default":true},"anchor":{"type":"string","default":""}},"usesContext":["postId","queryId","kadence/testimonials-layout","kadence/testimonials-displayOccupation","kadence/testimonials-displayContent","kadence/testimonials-displayTitle","kadence/testimonials-displayRating","kadence/testimonials-displayName","kadence/testimonials-displayIcon","kadence/testimonials-iconStyles","kadence/testimonials-style","kadence/testimonials-containerMaxWidth","kadence/testimonials-displayMedia","kadence/testimonials-titleFont","kadence/testimonials-ratingStyles","kadence/testimonials-mediaStyles","kadence/testimonials-containerVAlign"],"supports":{"anchor":true,"html":false,"kbMetadata":true,"kbContentLabel":"title"}}');var r=i(4510),l=i(4570);function d(e){const{attributes:t,setAttributes:i,clientId:a,parentBlock:n,parentBlockClientId:d,context:s,previewDevice:c}=e,m=s["kadence/testimonials-layout"],u=s["kadence/testimonials-columns"],g=s["kadence/testimonials-gap"],p=s["kadence/testimonials-gap-unit"];if(m&&"carousel"!==m)return e.children;const v=(0,r.getPreviewSize)(c,void 0!==u?.[0]?u[0]:3,void 0!==u?.[3]?u[3]:"",void 0!==u?.[5]?u[5]:""),b=(0,r.getPreviewSize)(c,void 0!==g?.[0]?g[0]:"",void 0!==g?.[1]?g[1]:"",void 0!==g?.[2]?g[2]:""),k=(0,r.getGapSizeOptionOutput)(b,p||"px");return(0,o.createElement)(l.Nn,{style:{marginRight:k,width:"calc(((100% + "+k+") / "+v+") - "+k+")"}},e.children)}var s=i(9091),c=i(8468),m=i(9621),u=i(7723),g=i(6087),p=i(4715),v=i(7143),b=i(6427),k=i(5573);const h=(0,g.createElement)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,g.createElement)(k.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),y=(0,g.createElement)(k.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,g.createElement)(k.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));i(2485);const{name:f}=n;(0,a.registerBlockType)("kadence/testimonial",{...n,title:(0,u._x)("Testimonial","block title","kadence-blocks"),keywords:[(0,u.__)("testimonial","kadence-blocks"),(0,u.__)("rating","kadence-blocks"),"KB"],icon:{src:s.testimonialSingleBlockIcon},edit:function(e){const{attributes:t,setAttributes:i,className:a,clientId:l,isSelected:s,context:k}=e,{uniqueID:f,url:x,id:w,media:z,icon:E,isize:S,istroke:C,ititle:R,color:N,title:W,content:O,name:B,occupation:_,rating:T,sizes:$,tabletIsize:I,mobileIsize:P,inQueryBlock:M}=t,A=k["kadence/testimonials-displayContent"],K=k["kadence/testimonials-displayTitle"],F=k["kadence/testimonials-displayRating"],L=k["kadence/testimonials-displayName"],G=k["kadence/testimonials-displayIcon"],H=k["kadence/testimonials-iconStyles"],D=k["kadence/testimonials-style"],V=k["kadence/testimonials-titleFont"],U=k["kadence/testimonials-displayOccupation"],q=k["kadence/testimonials-displayMedia"],j=k["kadence/testimonials-containerMaxWidth"],Q=k["kadence/testimonials-mediaStyles"],X=k["kadence/testimonials-ratingStyles"],[Y,J]=(0,g.useState)("general"),{addUniqueID:Z}=(0,v.useDispatch)("kadenceblocks/data"),{isUniqueID:ee,isUniqueBlock:te,previewDevice:ie,parentData:ae}=(0,v.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,i)=>e("kadenceblocks/data").isUniqueBlock(t,i),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(l)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(l,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[l]);(0,g.useEffect)((()=>{(0,r.setBlockDefaults)(n.name,t);const a=(0,r.getPostOrFseId)(e,ae),o=(0,r.getUniqueId)(f,l,ee,te,a);o!==f?(t.uniqueID=o,i({uniqueID:o}),Z(o,l)):Z(f,l),k&&k.queryId&&k.postId?k.queryId!==M&&i({inQueryBlock:k.queryId}):M&&i({inQueryBlock:!1})}),[]);const oe=(0,r.getPreviewSize)(ie,void 0!==S?S:"",void 0!==I?I:"",void 0!==P?P:""),ne=["url","title","content"],re=(0,p.useBlockProps)({}),le=["image"],de=()=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap"},(0,o.createElement)(m.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${H[0].icon}`,name:H[0].icon,size:H[0].size,title:H[0].title?H[0].title:"",strokeWidth:"fe"===H[0].icon.substring(0,2)?H[0].stroke:void 0,style:{color:H[0].color?(0,r.KadenceColorOutput)(H[0].color):void 0,background:H[0].background?(0,r.KadenceColorOutput)(H[0].background,void 0!==H[0].backgroundOpacity?H[0].backgroundOpacity:1):void 0}})),se=()=>{let e=x;return(0,c.has)($,"thumbnail")&&("card"===D&&j>500||Q[0].width>600?e=x:"card"===D&&j<=500&&j>100?$.large&&$.large.width>1e3&&(e=$.large.url):"card"===D&&j<=100?$.medium&&$.medium.width>200?e=$.medium.url:$.large&&$.large.width>200&&(e=$.large.url):Q[0].width<=600&&Q[0].width>100?$.large&&$.large.width>1e3&&(e=$.large.url):Q[0].width<=100&&Q[0].width>75?$.medium&&$.medium.width>200?e=$.medium.url:$.large&&$.large.width>200&&(e=$.large.url):Q[0].width<=75&&($.thumbnail&&$.thumbnail.width>140?e=$.thumbnail.url:$.medium&&$.medium.width>140?e=$.medium.url:$.large&&$.large.width>200&&(e=$.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap"},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic"},"icon"===z&&E&&(0,o.createElement)(m.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${E}`,name:E,size:oe,title:R||"",strokeWidth:"fe"===E.substring(0,2)?C:void 0,style:{display:"flex",color:N?(0,r.KadenceColorOutput)(N):void 0}}),"icon"!==z&&x&&(0,o.createElement)(g.Fragment,null,(0,o.createElement)(p.MediaUpload,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,subtype:e.subtype,sizes:e.sizes})},type:"image",value:w||"",allowedTypes:le,render:({open:t})=>(0,o.createElement)(b.Tooltip,{text:(0,u.__)("Edit Image","kadence-blocks")},(0,o.createElement)(b.Button,{style:{backgroundImage:'url("'+e+'")',backgroundSize:"card"===D?Q[0].backgroundSize:void 0,borderRadius:Q[0].borderRadius+"px"},className:"kt-testimonial-image",onClick:t}))}),(0,o.createElement)(b.Button,{label:(0,u.__)("Remove Image","kadence-blocks"),className:"kt-remove-img kt-testimonial-remove-image",onClick:()=>{i({id:null,url:null,alt:null,subtype:null,sizes:null})},icon:h,showTooltip:!0})),"icon"!==z&&!x&&(0,o.createElement)(g.Fragment,null,"card"===D&&(0,o.createElement)(m.KadenceMediaPlaceholder,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,sizes:e.sizes,subtype:e.subtype})},value:"",allowedTypes:le,onSelectURL:e=>{e!==x&&i({id:null,url:e,alt:null,sizes:null,subtype:null})},accept:"image/*",className:"kadence-image-upload"}),"card"!==D&&(0,o.createElement)(p.MediaUpload,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,sizes:e.sizes,subtype:e.subtype})},type:"image",value:"",allowedTypes:le,render:({open:e})=>(0,o.createElement)(b.Button,{className:"kt-testimonial-image-placeholder","aria-label":(0,u.__)("Add Image","kadence-blocks"),icon:y,style:{borderRadius:Q[0].borderRadius+"px"},onClick:e})})))))};return(0,o.createElement)(d,{attributes:t,setAttributes:i,isSelected:s,clientId:l,context:k,previewDevice:ie},(0,o.createElement)("div",{...re},(0,r.showSettings)("allSettings")&&(0,o.createElement)(g.Fragment,null,(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(m.CopyPasteAttributes,{attributes:t,excludedAttrs:ne,defaultAttributes:n.attributes,blockSlug:n.name,onPaste:e=>i(e)})),(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(m.SelectParentBlock,{clientId:l}),(0,o.createElement)(m.InspectorControlTabs,{panelName:"icon",allowedTabs:["general","advanced"],setActiveTab:e=>J(e),activeTab:Y}),"general"===Y&&(0,o.createElement)(g.Fragment,null,(0,r.showSettings)("individualSettings","kadence/testimonials")&&(0,o.createElement)(m.KadencePanelBody,{title:(0,u.__)("Individual Settings","kadence-blocks"),initialOpen:!0,panelName:"kb-testimonials-individual-settings"},(0,o.createElement)(g.Fragment,null,(0,o.createElement)(b.SelectControl,{label:(0,u.__)("Media Type","kadence-blocks"),value:z,options:[{value:"image",label:(0,u.__)("Image","kadence-blocks")},{value:"icon",label:(0,u.__)("Icon","kadence-blocks")}],onChange:e=>i({media:e})}),"icon"===z&&(0,o.createElement)(g.Fragment,null,(0,o.createElement)(m.KadenceIconPicker,{value:E,onChange:e=>{i({icon:e})}}),(0,o.createElement)(m.ResponsiveRangeControls,{label:(0,u.__)("Icon Size","kadence-blocks"),value:void 0!==S?S:"",onChange:e=>i({isize:e}),tabletValue:void 0!==I?I:"",onChangeTablet:e=>i({tabletIsize:e}),mobileValue:void 0!==P?P:"",onChangeMobile:e=>i({mobileIsize:e}),min:0,max:300,step:1,unit:"px",showUnit:!0,units:["px"]}),E&&"fe"===E.substring(0,2)&&(0,o.createElement)(b.RangeControl,{label:(0,u.__)("Line Width","kadence-blocks"),value:C,onChange:e=>{i({istroke:e})},step:.5,min:.5,max:4}),(0,o.createElement)(m.PopColorControl,{label:(0,u.__)("Icon Color","kadence-blocks"),value:N||"#555555",default:"#555555",onChange:e=>i({color:e})})),(0,o.createElement)(b.RangeControl,{label:(0,u.__)("Rating","kadence-blocks"),value:T,onChange:e=>{i({rating:e})},step:1,min:1,max:5})))),"advanced"===Y&&(0,o.createElement)(g.Fragment,null,(0,o.createElement)(m.KadenceBlockDefaults,{attributes:t,defaultAttributes:n.attributes,blockSlug:n.name,excludedAttrs:ne})))),(0,o.createElement)(g.Fragment,null,(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${f}`},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap"},G&&H[0].icon&&"card"!==D&&de(),q&&("card"===D||"inlineimage"===D)&&se(),G&&H[0].icon&&"card"===D&&de(),K&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(p.RichText,{tagName:"h"+V[0].level,value:W,onChange:e=>{i({title:e})},placeholder:(0,u.__)("Best product I have ever used!","kadence-blocks"),className:"kt-testimonial-title"})),F&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${T}`},(0,o.createElement)(m.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:void 0!==X?.[0]?.size?X[0].size:"1em",style:{color:void 0!==X?.[0]?.color?(0,r.KadenceColorOutput)(X[0].color):void 0}}),T>1&&(0,o.createElement)(m.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:void 0!==X?.[0]?.size?X[0].size:"1em",style:{color:void 0!==X?.[0]?.color?(0,r.KadenceColorOutput)(X[0].color):void 0}}),T>2&&(0,o.createElement)(m.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:void 0!==X?.[0]?.size?X[0].size:"1em",style:{color:void 0!==X?.[0]?.color?(0,r.KadenceColorOutput)(X[0].color):void 0}}),T>3&&(0,o.createElement)(m.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:void 0!==X?.[0]?.size?X[0].size:"1em",style:{color:void 0!==X?.[0]?.color?(0,r.KadenceColorOutput)(X[0].color):void 0}}),T>4&&(0,o.createElement)(m.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:void 0!==X?.[0]?.size?X[0].size:"1em",style:{color:void 0!==X?.[0]?.color?(0,r.KadenceColorOutput)(X[0].color):void 0}})),A&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(p.RichText,{tagName:"div",placeholder:(0,u.__)("I have been looking for a product like this for years. I have tried everything and nothing did what I wanted until using this product. I am so glad I found it!","kadence-blocks"),value:O,onChange:e=>{i({content:e})},className:"kt-testimonial-content"}))),(q&&"card"!==D&&"inlineimage"!==D||U||L)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},q&&"card"!==D&&"inlineimage"!==D&&se(),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},L&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(p.RichText,{tagName:"div",placeholder:(0,u.__)("Sophia Reily","kadence-blocks"),value:B,onChange:e=>{i({name:e})},className:"kt-testimonial-name"})),U&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(p.RichText,{tagName:"div",placeholder:(0,u.__)("CEO of Company","kadence-blocks"),value:_,onChange:e=>{i({occupation:e})},className:"kt-testimonial-occupation"}))))))))},example:{}})},3549:(e,t,i)=>{"use strict";i.r(t),i.d(t,{metadata:()=>n,name:()=>E});var a=i(4997),o=(i(6886),i(1609));const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Testimonials","name":"kadence/testimonials","category":"kadence-blocks","textdomain":"kadence-blocks","providesContext":{"kadence/testimonials-layout":"layout","kadence/testimonials-displayContent":"displayContent","kadence/testimonials-displayOccupation":"displayOccupation","kadence/testimonials-displayTitle":"displayTitle","kadence/testimonials-displayRating":"displayRating","kadence/testimonials-displayName":"displayName","kadence/testimonials-displayIcon":"displayIcon","kadence/testimonials-iconStyles":"iconStyles","kadence/testimonials-style":"style","kadence/testimonials-containerMaxWidth":"containerMaxWidth","kadence/testimonials-displayMedia":"displayMedia","kadence/testimonials-titleFont":"titleFont","kadence/testimonials-mediaStyles":"mediaStyles","kadence/testimonials-ratingStyles":"ratingStyles","kadence/testimonials-containerVAlign":"containerVAlign"},"attributes":{"uniqueID":{"type":"string","default":""},"style":{"type":"string","default":"basic"},"layout":{"type":"string","default":"grid"},"columns":{"type":"array","default":[1,1,1,1,1,1]},"columnControl":{"type":"string","default":"linked"},"columnGap":{"type":"number","default":""},"gap":{"type":"array","default":["md","",""]},"gapUnit":{"type":"string","default":"px"},"autoPlay":{"type":"boolean","default":false},"autoSpeed":{"type":"number","default":7000},"transSpeed":{"type":"number","default":400},"slidesScroll":{"type":"string","default":"1"},"arrowStyle":{"type":"string","default":"whiteondark"},"dotStyle":{"type":"string","default":"dark"},"hAlign":{"type":"string","default":"center"},"containerMaxWidth":{"type":"number","default":500},"containerBackground":{"type":"string","default":""},"containerBackgroundOpacity":{"type":"number","default":1},"containerBorder":{"type":"string","default":""},"containerBorderOpacity":{"type":"number","default":1},"containerBorderWidth":{"type":"array","default":["","","",""]},"borderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"containerBorderRadius":{"type":"number","default":""},"responsiveContainerBorderRadius":{"type":"array","default":["","","",""]},"tabletContainerBorderRadius":{"type":"array","default":["","","",""]},"mobileContainerBorderRadius":{"type":"array","default":["","","",""]},"containerBorderRadiusUnit":{"type":"string","default":"px"},"containerPadding":{"type":"array","default":[20,20,20,20]},"testimonials":{"type":"array","default":[{"url":"","id":"","alt":"","width":"","height":"","maxWidth":"","subtype":"","media":"image","icon":"fas_quote-left","isize":50,"istroke":2,"ititle":"","color":"","title":"","content":"","name":"","occupation":"","rating":5}]},"mediaStyles":{"type":"array","default":[{"width":60,"backgroundSize":"cover","background":"","backgroundOpacity":1,"border":"","borderRadius":"","borderWidth":[0,0,0,0],"padding":[0,0,0,0],"margin":["","","",""],"ratio":""}]},"mediaMargin":{"type":"array","default":["","","",""]},"tabletMediaMargin":{"type":"array","default":["","","",""]},"mobileMediaMargin":{"type":"array","default":["","","",""]},"mediaMarginUnit":{"type":"string","default":"px"},"mediaPadding":{"type":"array","default":["","","",""]},"tabletMediaPadding":{"type":"array","default":["","","",""]},"mobileMediaPadding":{"type":"array","default":["","","",""]},"mediaPaddingUnit":{"type":"string","default":"px"},"mediaBorderRadius":{"type":"array","default":["","","",""]},"tabletMediaBorderRadius":{"type":"array","default":["","","",""]},"mobileMediaBorderRadius":{"type":"array","default":["","","",""]},"mediaBorderRadiusUnit":{"type":"string","default":"px"},"mediaBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletMediaBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileMediaBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"itemsCount":{"type":"number","default":1},"displayMedia":{"type":"boolean","default":true},"displayTitle":{"type":"boolean","default":true},"titleFont":{"type":"array","default":[{"color":"","level":2,"size":["","",""],"sizetype":"px","lineHeight":["","",""],"linetype":"px","letterSpacing":"","textTransform":"","family":"","google":false,"style":"","weight":"","variant":"","subset":"","loadGoogle":true,"padding":[0,0,0,0],"margin":[0,0,15,0]}]},"titleMargin":{"type":"array","default":["","","",""]},"tabletTitleMargin":{"type":"array","default":["","","",""]},"mobileTitleMargin":{"type":"array","default":["","","",""]},"titleMarginUnit":{"type":"string","default":"px"},"titlePadding":{"type":"array","default":["","","",""]},"tabletTitlePadding":{"type":"array","default":["","","",""]},"mobileTitlePadding":{"type":"array","default":["","","",""]},"titlePaddingUnit":{"type":"string","default":"px"},"displayContent":{"type":"boolean","default":true},"contentFont":{"type":"array","default":[{"color":"","size":["","",""],"sizetype":"px","lineHeight":["","",""],"linetype":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}]},"displayName":{"type":"boolean","default":true},"nameFont":{"type":"array","default":[{"color":"","size":["","",""],"sizetype":"px","lineHeight":["","",""],"linetype":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}]},"displayOccupation":{"type":"boolean","default":true},"occupationFont":{"type":"array","default":[{"color":"","size":[15,"",""],"sizetype":"px","lineHeight":["","",""],"linetype":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}]},"displayRating":{"type":"boolean","default":false},"ratingStyles":{"type":"array","default":[{"color":"#ffd700","size":16,"margin":[10,0,10,0],"iconSpacing":"","icon":"fas_star","stroke":2}]},"ratingMargin":{"type":"array","default":["","","",""]},"tabletRatingMargin":{"type":"array","default":["","","",""]},"mobileRatingMargin":{"type":"array","default":["","","",""]},"ratingMarginUnit":{"type":"string","default":"px"},"ratingPadding":{"type":"array","default":["","","",""]},"tabletRatingPadding":{"type":"array","default":["","","",""]},"mobileRatingPadding":{"type":"array","default":["","","",""]},"ratingPaddingUnit":{"type":"string","default":"px"},"displayIcon":{"type":"boolean","default":false},"iconStyles":{"type":"array","default":[{"size":30,"margin":["","","",""],"padding":["","","",""],"borderWidth":["","","",""],"borderRadius":"","border":"","borderOpacity":1,"color":"","background":"","backgroundOpacity":1,"title":"","icon":"fas_quote-left","stroke":2}]},"iconBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletIconBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileIconBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"iconBorderRadius":{"type":"array","default":["","","",""]},"tabletIconBorderRadius":{"type":"array","default":["","","",""]},"mobileIconBorderRadius":{"type":"array","default":["","","",""]},"iconBorderRadiusUnit":{"type":"string","default":"px"},"iconMargin":{"type":"array","default":["","","",""]},"tabletIconMargin":{"type":"array","default":["","","",""]},"mobileIconMargin":{"type":"array","default":["","","",""]},"iconMarginUnit":{"type":"string","default":"px"},"iconPadding":{"type":"array","default":["","","",""]},"tabletIconPadding":{"type":"array","default":["","","",""]},"mobileIconPadding":{"type":"array","default":["","","",""]},"iconPaddingUnit":{"type":"string","default":"px"},"displayShadow":{"type":"boolean","default":false},"shadow":{"type":"array","default":[{"color":"#000000","opacity":0.2,"spread":0,"blur":14,"hOffset":4,"vOffset":2}]},"containerMinHeight":{"type":"array","default":["","",""]},"containerVAlign":{"type":"string","default":""},"titleMinHeight":{"type":"array","default":["","",""]},"contentMinHeight":{"type":"array","default":["","",""]},"showPresets":{"type":"boolean","default":true},"wrapperPaddingType":{"type":"string","default":"px"},"wrapperPadding":{"type":"array","default":["","","",""]},"wrapperTabletPadding":{"type":"array","default":["","","",""]},"wrapperMobilePadding":{"type":"array","default":["","","",""]},"wrapperMargin":{"type":"array","default":["","","",""]},"tabletWrapperMargin":{"type":"array","default":["","","",""]},"mobileWrapperMargin":{"type":"array","default":["","","",""]},"wrapperMarginUnit":{"type":"string","default":"px"},"tabletContainerPadding":{"type":"array","default":["","","",""]},"mobileContainerPadding":{"type":"array","default":["","","",""]},"containerPaddingType":{"type":"string","default":"px"},"inQueryBlock":{"type":"boolean","default":false},"useBlockQuoteTags":{"type":"boolean","default":true},"carouselType":{"type":"string","default":"loop"},"kbVersion":{"type":"number","default":""},"anchor":{"type":"string","default":""}},"usesContext":["postId","queryId"],"supports":{"anchor":true,"html":false,"kbMetadata":true}}');var r=i(9091),l=i(4570),d=i(8468),s=i(9621),c=i(4510),m=i(7723),u=i(6087),g=i(4715),p=i(7143),v=i(6427),b=i(5573);const k=(0,u.createElement)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,u.createElement)(b.Path,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}));var h=i(2485),y=i.n(h);function f(e){const{testimonials:t,itemsCount:i}=e,o=[];return t?.length&&(0,d.times)(i,(e=>{const i={...t[e]};o.push((0,a.createBlock)("kadence/testimonial",i))})),[{...e,testimonials:[],itemsCount:1},o]}const x=(0,p.withDispatch)(((e,t,i)=>({insertTestimonial(a){const{clientId:o}=t,{insertBlock:n}=e(g.store),{getBlock:r}=i.select(g.store),l=r(o);n(a,parseInt(l.innerBlocks.length),o)},insertTestimonialItems(i){const{clientId:a}=t,{replaceInnerBlocks:o}=e(g.store);o(a,i)},onDelete(){const{clientId:i}=t,{removeBlock:a}=e(g.store);a(i,!0)}})))((function(e){const{attributes:t,setAttributes:i,className:b,clientId:h,isSelected:x,context:w,testimonialBlock:z,insertTestimonial:E,insertTestimonialItems:S,onDelete:C}=e,{uniqueID:R,testimonials:N,style:W,hAlign:O,layout:B,containerBackground:_,containerBorder:T,containerBorderWidth:$,containerBorderRadius:I,containerPadding:P,tabletContainerPadding:M,mobileContainerPadding:A,containerPaddingType:K,mediaStyles:F,displayTitle:L,titleFont:G,titleMinHeight:H,containerMinHeight:D,containerVAlign:V,contentMinHeight:U,displayContent:q,contentFont:j,displayName:Q,displayMedia:X,nameFont:Y,displayShadow:J,shadow:Z,displayRating:ee,ratingStyles:te,displayOccupation:ie,occupationFont:ae,containerBackgroundOpacity:oe,containerBorderOpacity:ne,containerMaxWidth:re,columnGap:le,autoPlay:de,autoSpeed:se,transSpeed:ce,slidesScroll:me,arrowStyle:ue,dotStyle:ge,columns:pe,columnControl:ve,displayIcon:be,iconStyles:ke,wrapperPaddingType:he,wrapperPadding:ye,wrapperTabletPadding:fe,wrapperMobilePadding:xe,inQueryBlock:we,gap:ze,gapUnit:Ee,kbVersion:Se,responsiveContainerBorderRadius:Ce,tabletContainerBorderRadius:Re,mobileContainerBorderRadius:Ne,containerBorderRadiusUnit:We,iconBorderRadius:Oe,tabletIconBorderRadius:Be,mobileIconBorderRadius:_e,iconBorderRadiusUnit:Te,borderStyle:$e,tabletBorderStyle:Ie,mobileBorderStyle:Pe,iconBorderStyle:Me,tabletIconBorderStyle:Ae,mobileIconBorderStyle:Ke,mediaBorderRadius:Fe,tabletMediaBorderRadius:Le,mobileMediaBorderRadius:Ge,mediaBorderRadiusUnit:He,mediaBorderStyle:De,tabletMediaBorderStyle:Ve,mobileMediaBorderStyle:Ue,iconMargin:qe,tabletIconMargin:je,mobileIconMargin:Qe,iconMarginUnit:Xe,iconPadding:Ye,tabletIconPadding:Je,mobileIconPadding:Ze,iconPaddingUnit:et,titleMargin:tt,tabletTitleMargin:it,mobileTitleMargin:at,titleMarginUnit:ot,titlePadding:nt,tabletTitlePadding:rt,mobileTitlePadding:lt,titlePaddingUnit:dt,ratingMargin:st,tabletRatingMargin:ct,mobileRatingMargin:mt,ratingMarginUnit:ut,ratingPadding:gt,tabletRatingPadding:pt,mobileRatingPadding:vt,ratingPaddingUnit:bt,mediaMargin:kt,tabletMediaMargin:ht,mobileMediaMargin:yt,mediaMarginUnit:ft,mediaPadding:xt,tabletMediaPadding:wt,mobileMediaPadding:zt,mediaPaddingUnit:Et,wrapperMargin:St,tabletWrapperMargin:Ct,mobileWrapperMargin:Rt,wrapperMarginUnit:Nt,carouselType:Wt}=t,[Ot,Bt]=(0,u.useState)("general"),[_t,Tt]=(0,u.useState)(!1),$t=(0,u.useRef)(null),It=(0,c.mouseOverVisualizer)(),{addUniqueID:Pt}=(0,p.useDispatch)("kadenceblocks/data"),{isUniqueID:Mt,isUniqueBlock:At,previewDevice:Kt,parentData:Ft}=(0,p.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,i)=>e("kadenceblocks/data").isUniqueBlock(t,i),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(h)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(h,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[h]),Lt=e=>{const t=F.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({mediaStyles:t})},Gt=e=>{const t=ke.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({iconStyles:t})},Ht=e=>{const t=G.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({titleFont:t})},Dt=e=>{const t=te.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({ratingStyles:t})};(0,u.useEffect)((()=>{(0,c.setBlockDefaults)(n.name,t);const a=(0,c.getPostOrFseId)(e,Ft),o=(0,c.getUniqueId)(R,h,Mt,At,a);if(o!==R?(t.uniqueID=o,i({uniqueID:o}),Pt(o,h)):Pt(R,h),""!==le&&i({gap:[le,"",""],columnGap:""}),(!Se||Se<2)&&i({kbVersion:2}),w&&w.queryId&&w.postId?w.queryId!==we&&i({inQueryBlock:w.queryId}):we&&i({inQueryBlock:!1}),""!==I&&i({responsiveContainerBorderRadius:[I,I,I,I],containerBorderRadius:""}),""!==ke[0].borderRadius){i({iconBorderRadius:[ke[0].borderRadius,ke[0].borderRadius,ke[0].borderRadius,ke[0].borderRadius]});const e=ke.map(((e,t)=>(0===t&&(e={...e,borderRadius:""}),e)));i({iconStyles:e}),Gt({borderRadius:""})}if(""!==$[0]||""!==$[1]||""!==$[2]||""!==$[3]){const e=(0,c.KadenceColorOutput)(T,void 0!==ne?ne:1);i({borderStyle:[{top:[e,"",$[0]],right:[e,"",$[1]],bottom:[e,"",$[2]],left:[e,"",$[3]],unit:"px"}],containerBorderWidth:["","","",""]})}if(""!==ke[0].borderWidth[0]||""!==ke[0].borderWidth[1]||""!==ke[0].borderWidth[2]||""!==ke[0].borderWidth[3]){const e=(0,c.KadenceColorOutput)(ke[0].border,void 0!==ke[0].borderOpacity?ke[0].borderOpacity:1);i({iconBorderStyle:[{top:[e,"",ke[0].borderWidth[0]],right:[e,"",ke[0].borderWidth[1]],bottom:[e,"",ke[0].borderWidth[2]],left:[e,"",ke[0].borderWidth[3]],unit:"px"}]});const t=ke.map(((e,t)=>(0===t&&(e={...e,borderWidth:["","","",""]}),e)));i({iconStyles:t})}if(""!==F[0].borderWidth[0]||""!==F[0].borderWidth[1]||""!==F[0].borderWidth[2]||""!==F[0].borderWidth[3]){const e=(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1);i({mediaBorderStyle:[{top:[e,"",F[0].borderWidth[0]],right:[e,"",F[0].borderWidth[1]],bottom:[e,"",F[0].borderWidth[2]],left:[e,"",F[0].borderWidth[3]],unit:"px"}]});const t=F.map(((e,t)=>(0===t&&(e={...e,borderWidth:["","","",""]}),e)));i({mediaStyles:t})}if(""!==F[0].borderRadius){i({mediaBorderRadius:[F[0].borderRadius,F[0].borderRadius,F[0].borderRadius,F[0].borderRadius]});const e=F.map(((e,t)=>(0===t&&(e={...e,borderRadius:""}),e)));i({mediaStyles:e})}""===ke[0].padding[0]&&""===ke[0].padding[1]&&""===ke[0].padding[2]&&""===ke[0].padding[3]||(i({iconPadding:[ke[0].padding[0],ke[0].padding[1],ke[0].padding[2],ke[0].padding[3]]}),Gt({padding:["","","",""]})),""===ke[0].margin[0]&&""===ke[0].margin[1]&&""===ke[0].margin[2]&&""===ke[0].margin[3]||(i({iconMargin:[ke[0].margin[0],ke[0].margin[1],ke[0].margin[2],ke[0].margin[3]]}),Gt({margin:["","","",""]})),""===G[0].padding[0]&&""===G[0].padding[1]&&""===G[0].padding[2]&&""===G[0].padding[3]||(i({titleFont:[G[0].padding[0],G[0].padding[1],G[0].padding[2],G[0].padding[3]]}),Ht({padding:["","","",""]})),""===G[0].margin[0]&&""===G[0].margin[1]&&""===G[0].margin[2]&&""===G[0].margin[3]||(i({titleFont:[G[0].margin[0],G[0].margin[1],G[0].margin[2],G[0].margin[3]]}),Ht({margin:["","","",""]})),""===F[0].margin[0]&&""===F[0].margin[1]&&""===F[0].margin[2]&&""===F[0].margin[3]||(i({mediaMargin:[F[0].margin[0],F[0].margin[1],F[0].margin[2],F[0].margin[3]]}),Lt({margin:["","","",""]})),""===F[0].padding[0]&&""===F[0].padding[1]&&""===F[0].padding[2]&&""===F[0].padding[3]||(i({mediaPadding:[F[0].padding[0],F[0].padding[1],F[0].padding[2],F[0].padding[3]]}),Lt({padding:["","","",""]})),""===te[0].margin[0]&&""===te[0].margin[1]&&""===te[0].margin[2]&&""===te[0].margin[3]||(i({ratingMargin:[F[0].margin[0],F[0].margin[1],F[0].margin[2],F[0].margin[3]]}),Dt({margin:["","","",""]}))}),[]);const Vt=z?.innerBlocks?z.innerBlocks.length:0;(0,u.useEffect)((()=>{if(R&&!Vt)if(N?.length&&N.length&&void 0!==n?.attributes?.testimonials?.default&&!(0,d.isEqual)(n.attributes.testimonials.default,N)){const e=f(t);i(e[0]),S(e[1])}else C()}),[Vt]);const Ut=(0,c.getPreviewSize)(Kt,void 0!==G[0].size&&void 0!==G[0].size[0]&&""!==G[0].size[0]?G[0].size[0]:"",void 0!==G[0].size&&void 0!==G[0].size[1]&&""!==G[0].size[1]?G[0].size[1]:"",void 0!==G[0].size&&void 0!==G[0].size[2]&&""!==G[0].size[2]?G[0].size[2]:""),qt=void 0!==G?.[0]?.sizeType&&""!==G?.[0]?.sizeType?G?.[0]?.sizeType:"px",jt=(0,c.getPreviewSize)(Kt,void 0!==G[0].lineHeight&&void 0!==G[0].lineHeight[0]&&""!==G[0].lineHeight[0]?G[0].lineHeight[0]:"",void 0!==G[0].lineHeight&&void 0!==G[0].lineHeight[1]&&""!==G[0].lineHeight[1]?G[0].lineHeight[1]:"",void 0!==G[0].lineHeight&&void 0!==G[0].lineHeight[2]&&""!==G[0].lineHeight[2]?G[0].lineHeight[2]:""),Qt=void 0!==G?.[0]?.lineType&&""!==G?.[0]?.lineType?G?.[0]?.lineType:"px",Xt=(0,c.getPreviewSize)(Kt,void 0!==H&&void 0!==H[0]?H[0]:"",void 0!==H&&void 0!==H[1]?H[1]:"",void 0!==H&&void 0!==H[2]?H[2]:""),Yt=(0,c.getPreviewSize)(Kt,void 0!==U&&void 0!==U[0]?U[0]:"",void 0!==U&&void 0!==U[1]?U[1]:"",void 0!==U&&void 0!==U[2]?U[2]:""),Jt=(0,c.getPreviewSize)(Kt,void 0!==P&&void 0!==P[0]?P[0]:"",void 0!==M&&void 0!==M[0]?M[0]:"",void 0!==A&&void 0!==A[0]?A[0]:""),Zt=(0,c.getPreviewSize)(Kt,void 0!==P&&void 0!==P[1]?P[1]:"",void 0!==M&&void 0!==M[1]?M[1]:"",void 0!==A&&void 0!==A[1]?A[1]:""),ei=(0,c.getPreviewSize)(Kt,void 0!==P&&void 0!==P[2]?P[2]:"",void 0!==M&&void 0!==M[2]?M[2]:"",void 0!==A&&void 0!==A[2]?A[2]:""),ti=(0,c.getPreviewSize)(Kt,void 0!==P&&void 0!==P[3]?P[3]:"",void 0!==M&&void 0!==M[3]?M[3]:"",void 0!==A&&void 0!==A[3]?A[3]:""),ii=(0,c.getPreviewSize)(Kt,void 0!==D&&void 0!==D[0]?D[0]:"",void 0!==D&&void 0!==D[1]?D[1]:"",void 0!==D&&void 0!==D[2]?D[2]:""),ai=(0,c.getPreviewSize)(Kt,void 0!==j[0].size&&void 0!==j[0].size[0]&&""!==j[0].size[0]?j[0].size[0]:"",void 0!==j[0].size&&void 0!==j[0].size[1]&&""!==j[0].size[1]?j[0].size[1]:"",void 0!==j[0].size&&void 0!==j[0].size[2]&&""!==j[0].size[2]?j[0].size[2]:""),oi=void 0!==j[0].sizeType?j[0].sizeType:"px",ni=(0,c.getPreviewSize)(Kt,void 0!==j[0].lineHeight&&void 0!==j[0].lineHeight[0]&&""!==j[0].lineHeight[0]?j[0].lineHeight[0]:"",void 0!==j[0].lineHeight&&void 0!==j[0].lineHeight[1]&&""!==j[0].lineHeight[1]?j[0].lineHeight[1]:"",void 0!==j[0].lineHeight&&void 0!==j[0].lineHeight[2]&&""!==j[0].lineHeight[2]?j[0].lineHeight[2]:""),ri=void 0!==j[0].lineType?j[0].lineType:"px",li=(0,c.getPreviewSize)(Kt,void 0!==ae[0].size&&void 0!==ae[0].size[0]&&""!==ae[0].size[0]?ae[0].size[0]:"",void 0!==ae[0].size&&void 0!==ae[0].size[1]&&""!==ae[0].size[1]?ae[0].size[1]:"",void 0!==ae[0].size&&void 0!==ae[0].size[2]&&""!==ae[0].size[2]?ae[0].size[2]:""),di=void 0!==ae[0].sizeType?ae[0].sizeType:"px",si=(0,c.getPreviewSize)(Kt,void 0!==ae[0].lineHeight&&void 0!==ae[0].lineHeight[0]&&""!==ae[0].lineHeight[0]?ae[0].lineHeight[0]:"",void 0!==ae[0].lineHeight&&void 0!==ae[0].lineHeight[1]&&""!==ae[0].lineHeight[1]?ae[0].lineHeight[1]:"",void 0!==ae[0].lineHeight&&void 0!==ae[0].lineHeight[2]&&""!==ae[0].lineHeight[2]?ae[0].lineHeight[2]:""),ci=void 0!==ae[0].lineType?ae[0].lineType:"px",mi=(0,c.getPreviewSize)(Kt,void 0!==Y[0].size&&void 0!==Y[0].size[0]&&""!==Y[0].size[0]?Y[0].size[0]:"",void 0!==Y[0].size&&void 0!==Y[0].size[1]&&""!==Y[0].size[1]?Y[0].size[1]:"",void 0!==Y[0].size&&void 0!==Y[0].size[2]&&""!==Y[0].size[2]?Y[0].size[2]:""),ui=(0,c.getPreviewSize)(Kt,void 0!==Y[0].lineHeight&&void 0!==Y[0].lineHeight[0]&&""!==Y[0].lineHeight[0]?Y[0].lineHeight[0]:"",void 0!==Y[0].lineHeight&&void 0!==Y[0].lineHeight[1]&&""!==Y[0].lineHeight[1]?Y[0].lineHeight[1]:"",void 0!==Y[0].lineHeight&&void 0!==Y[0].lineHeight[2]&&""!==Y[0].lineHeight[2]?Y[0].lineHeight[2]:""),gi=void 0!==Y[0].lineType?Y[0].lineType:"px",pi=void 0!==Y[0].sizeType?Y[0].sizeType:"px",vi=(0,c.getPreviewSize)(Kt,void 0!==Ce?.[0]?Ce[0]:"",void 0!==Re?Re[0]:"",void 0!==Ne?Ne[0]:""),bi=(0,c.getPreviewSize)(Kt,void 0!==Ce?Ce[1]:"",void 0!==Re?Re[1]:"",void 0!==Ne?Ne[1]:""),ki=(0,c.getPreviewSize)(Kt,void 0!==Ce?Ce[2]:"",void 0!==Re?Re[2]:"",void 0!==Ne?Ne[2]:""),hi=(0,c.getPreviewSize)(Kt,void 0!==Ce?Ce[3]:"",void 0!==Re?Re[3]:"",void 0!==Ne?Ne[3]:""),yi=(0,c.getBorderStyle)(Kt,"top",$e,Ie,Pe),fi=(0,c.getBorderStyle)(Kt,"right",$e,Ie,Pe),xi=(0,c.getBorderStyle)(Kt,"bottom",$e,Ie,Pe),wi=(0,c.getBorderStyle)(Kt,"left",$e,Ie,Pe),zi=(0,c.getPreviewSize)(Kt,void 0!==Oe?Oe[0]:"",void 0!==Be?Be[0]:"",void 0!==_e?_e[0]:""),Ei=(0,c.getPreviewSize)(Kt,void 0!==Oe?Oe[1]:"",void 0!==Be?Be[1]:"",void 0!==_e?_e[1]:""),Si=(0,c.getPreviewSize)(Kt,void 0!==Oe?Oe[2]:"",void 0!==Be?Be[2]:"",void 0!==_e?_e[2]:""),Ci=(0,c.getPreviewSize)(Kt,void 0!==Oe?Oe[3]:"",void 0!==Be?Be[3]:"",void 0!==_e?_e[3]:""),Ri=(0,c.getBorderStyle)(Kt,"top",Me,Ae,Ke),Ni=(0,c.getBorderStyle)(Kt,"right",Me,Ae,Ke),Wi=(0,c.getBorderStyle)(Kt,"bottom",Me,Ae,Ke),Oi=(0,c.getBorderStyle)(Kt,"left",Me,Ae,Ke),Bi=(0,c.getPreviewSize)(Kt,void 0!==Fe?Fe[0]:"",void 0!==Le?Le[0]:"",void 0!==Ge?Ge[0]:""),_i=(0,c.getPreviewSize)(Kt,void 0!==Fe?Fe[1]:"",void 0!==Le?Le[1]:"",void 0!==Ge?Ge[1]:""),Ti=(0,c.getPreviewSize)(Kt,void 0!==Fe?Fe[2]:"",void 0!==Le?Le[2]:"",void 0!==Ge?Ge[2]:""),$i=(0,c.getPreviewSize)(Kt,void 0!==Fe?Fe[3]:"",void 0!==Le?Le[3]:"",void 0!==Ge?Ge[3]:""),Ii=(0,c.getBorderStyle)(Kt,"top",De,Ve,Ue),Pi=(0,c.getBorderStyle)(Kt,"right",De,Ve,Ue),Mi=(0,c.getBorderStyle)(Kt,"bottom",De,Ve,Ue),Ai=(0,c.getBorderStyle)(Kt,"left",De,Ve,Ue),Ki=(0,c.getPreviewSize)(Kt,void 0!==pe[0]?pe[0]:3,void 0!==pe[3]?pe[3]:"",void 0!==pe[5]?pe[5]:""),Fi=(0,c.getPreviewSize)(Kt,void 0!==ze?.[0]?ze[0]:"",void 0!==ze?.[1]?ze[1]:"",void 0!==ze?.[2]?ze[2]:""),Li=(0,c.getPreviewSize)(Kt,void 0!==qe?.[0]?qe[0]:"",void 0!==je?.[0]?je[0]:"",void 0!==Qe?.[0]?Qe[0]:""),Gi=(0,c.getPreviewSize)(Kt,void 0!==qe?.[1]?qe[1]:"",void 0!==je?.[1]?je[1]:"",void 0!==Qe?.[1]?Qe[1]:""),Hi=(0,c.getPreviewSize)(Kt,void 0!==qe?.[2]?qe[2]:"",void 0!==je?.[2]?je[2]:"",void 0!==Qe?.[2]?Qe[2]:""),Di=(0,c.getPreviewSize)(Kt,void 0!==qe?.[3]?qe[3]:"",void 0!==je?.[3]?je[3]:"",void 0!==Qe?.[3]?Qe[3]:""),Vi=(0,c.getPreviewSize)(Kt,void 0!==Ye?.[0]?Ye[0]:"",void 0!==Je?.[0]?Je[0]:"",void 0!==Ze?.[0]?Ze[0]:""),Ui=(0,c.getPreviewSize)(Kt,void 0!==Ye?.[1]?Ye[1]:"",void 0!==Je?.[1]?Je[1]:"",void 0!==Ze?.[1]?Ze[1]:""),qi=(0,c.getPreviewSize)(Kt,void 0!==Ye?.[2]?Ye[2]:"",void 0!==Je?.[2]?Je[2]:"",void 0!==Ze?.[2]?Ze[2]:""),ji=(0,c.getPreviewSize)(Kt,void 0!==Ye?.[3]?Ye[3]:"",void 0!==Je?.[3]?Je[3]:"",void 0!==Ze?.[3]?Ze[3]:""),Qi=(0,c.getPreviewSize)(Kt,void 0!==tt?.[0]?tt[0]:"",void 0!==it?.[0]?it[0]:"",void 0!==at?.[0]?at[0]:""),Xi=(0,c.getPreviewSize)(Kt,void 0!==tt?.[1]?tt[1]:"",void 0!==it?.[1]?it[1]:"",void 0!==at?.[1]?at[1]:""),Yi=(0,c.getPreviewSize)(Kt,void 0!==tt?.[2]?tt[2]:"",void 0!==it?.[2]?it[2]:"",void 0!==at?.[2]?at[2]:""),Ji=(0,c.getPreviewSize)(Kt,void 0!==tt?.[3]?tt[3]:"",void 0!==it?.[3]?it[3]:"",void 0!==at?.[3]?at[3]:""),Zi=(0,c.getPreviewSize)(Kt,void 0!==nt?.[0]?nt[0]:"",void 0!==rt?.[0]?rt[0]:"",void 0!==lt?.[0]?lt[0]:""),ea=(0,c.getPreviewSize)(Kt,void 0!==nt?.[1]?nt[1]:"",void 0!==rt?.[1]?rt[1]:"",void 0!==lt?.[1]?lt[1]:""),ta=(0,c.getPreviewSize)(Kt,void 0!==nt?.[2]?nt[2]:"",void 0!==rt?.[2]?rt[2]:"",void 0!==lt?.[2]?lt[2]:""),ia=(0,c.getPreviewSize)(Kt,void 0!==nt?.[3]?nt[3]:"",void 0!==rt?.[3]?rt[3]:"",void 0!==lt?.[3]?lt[3]:""),aa=(0,c.getPreviewSize)(Kt,void 0!==st?.[0]?st[0]:"",void 0!==ct?.[0]?ct[0]:"",void 0!==mt?.[0]?mt[0]:""),oa=(0,c.getPreviewSize)(Kt,void 0!==st?.[1]?st[1]:"",void 0!==ct?.[1]?ct[1]:"",void 0!==mt?.[1]?mt[1]:""),na=(0,c.getPreviewSize)(Kt,void 0!==st?.[2]?st[2]:"",void 0!==ct?.[2]?ct[2]:"",void 0!==mt?.[2]?mt[2]:""),ra=(0,c.getPreviewSize)(Kt,void 0!==st?.[3]?st[3]:"",void 0!==ct?.[3]?ct[3]:"",void 0!==mt?.[3]?mt[3]:""),la=(0,c.getPreviewSize)(Kt,void 0!==gt?.[0]?gt[0]:"",void 0!==pt?.[0]?pt[0]:"",void 0!==vt?.[0]?vt[0]:""),da=(0,c.getPreviewSize)(Kt,void 0!==gt?.[1]?gt[1]:"",void 0!==pt?.[1]?pt[1]:"",void 0!==vt?.[1]?vt[1]:""),sa=(0,c.getPreviewSize)(Kt,void 0!==gt?.[2]?gt[2]:"",void 0!==pt?.[2]?pt[2]:"",void 0!==vt?.[2]?vt[2]:""),ca=(0,c.getPreviewSize)(Kt,void 0!==gt?.[3]?gt[3]:"",void 0!==pt?.[3]?pt[3]:"",void 0!==vt?.[3]?vt[3]:""),ma=(0,c.getPreviewSize)(Kt,void 0!==kt?.[0]?kt[0]:"",void 0!==ht?.[0]?ht[0]:"",void 0!==yt?.[0]?yt[0]:""),ua=(0,c.getPreviewSize)(Kt,void 0!==kt?.[1]?kt[1]:"",void 0!==ht?.[1]?ht[1]:"",void 0!==yt?.[1]?yt[1]:""),ga=(0,c.getPreviewSize)(Kt,void 0!==kt?.[2]?kt[2]:"",void 0!==ht?.[2]?ht[2]:"",void 0!==yt?.[2]?yt[2]:""),pa=(0,c.getPreviewSize)(Kt,void 0!==kt?.[3]?kt[3]:"",void 0!==ht?.[3]?ht[3]:"",void 0!==yt?.[3]?yt[3]:""),va=(0,c.getPreviewSize)(Kt,void 0!==xt?.[0]?xt[0]:"",void 0!==wt?.[0]?wt[0]:"",void 0!==zt?.[0]?zt[0]:""),ba=(0,c.getPreviewSize)(Kt,void 0!==xt?.[1]?xt[1]:"",void 0!==wt?.[1]?wt[1]:"",void 0!==zt?.[1]?zt[1]:""),ka=(0,c.getPreviewSize)(Kt,void 0!==xt?.[2]?xt[2]:"",void 0!==wt?.[2]?wt[2]:"",void 0!==zt?.[2]?zt[2]:""),ha=(0,c.getPreviewSize)(Kt,void 0!==xt?.[3]?xt[3]:"",void 0!==wt?.[3]?wt[3]:"",void 0!==zt?.[3]?zt[3]:""),ya=(0,c.getPreviewSize)(Kt,void 0!==St?.[0]?St[0]:"",void 0!==Ct?.[0]?Ct[0]:"",void 0!==Rt?.[0]?Rt[0]:""),fa=(0,c.getPreviewSize)(Kt,void 0!==St?.[1]?St[1]:"",void 0!==Ct?.[1]?Ct[1]:"",void 0!==Rt?.[1]?Rt[1]:""),xa=(0,c.getPreviewSize)(Kt,void 0!==St?.[2]?St[2]:"",void 0!==Ct?.[2]?Ct[2]:"",void 0!==Rt?.[2]?Rt[2]:""),wa=(0,c.getPreviewSize)(Kt,void 0!==St?.[3]?St[3]:"",void 0!==Ct?.[3]?Ct[3]:"",void 0!==Rt?.[3]?Rt[3]:""),za=(0,c.getPreviewSize)(Kt,void 0!==ye&&void 0!==ye?.[0]?ye[0]:"",void 0!==fe&&void 0!==fe?.[0]?fe[0]:"",void 0!==xe&&void 0!==xe?.[0]?xe[0]:""),Ea=(0,c.getPreviewSize)(Kt,void 0!==ye&&void 0!==ye?.[1]?ye[1]:"",void 0!==fe&&void 0!==fe?.[1]?fe[1]:"",void 0!==xe&&void 0!==xe?.[1]?xe[1]:""),Sa=(0,c.getPreviewSize)(Kt,void 0!==ye&&void 0!==ye?.[2]?ye[2]:"",void 0!==fe&&void 0!==fe?.[2]?fe[2]:"",void 0!==xe&&void 0!==xe?.[2]?xe[2]:""),Ca=(0,c.getPreviewSize)(Kt,void 0!==ye&&void 0!==ye?.[3]?ye[3]:"",void 0!==fe&&void 0!==fe?.[3]?fe[3]:"",void 0!==xe&&void 0!==xe?.[3]?xe[3]:""),Ra=[{key:"basic",name:(0,m.__)("Basic","kadence-blocks"),icon:r.testimonialBasicIcon},{key:"card",name:(0,m.__)("Card","kadence-blocks"),icon:r.testimonialCardIcon},{key:"bubble",name:(0,m.__)("Bubble","kadence-blocks"),icon:r.testimonialBubbleIcon},{key:"inlineimage",name:(0,m.__)("Image In Content","kadence-blocks"),icon:r.testimonialInLineIcon}],Na=[{key:"skip",name:(0,m.__)("Skip","kadence-blocks"),icon:(0,m.__)("Skip","kadence-blocks")},{key:"basic",name:(0,m.__)("Basic","kadence-blocks"),icon:r.testimonialBasicIcon},{key:"card",name:(0,m.__)("Card","kadence-blocks"),icon:r.testimonialCardIcon},{key:"bubble",name:(0,m.__)("Bubble","kadence-blocks"),icon:r.testimonialBubbleIcon},{key:"inlineimage",name:(0,m.__)("Image In Content","kadence-blocks"),icon:r.testimonialInLineIcon}],Wa=[{key:"linked",name:(0,m.__)("Linked","kadence-blocks"),icon:(0,m.__)("Linked","kadence-blocks")},{key:"individual",name:(0,m.__)("Individual","kadence-blocks"),icon:(0,m.__)("Individual","kadence-blocks")}],Oa=[{key:"top",name:(0,m.__)("Top","kadence-blocks"),icon:r.alignTopIcon},{key:"middle",name:(0,m.__)("Middle","kadence-blocks"),icon:r.alignMiddleIcon},{key:"bottom",name:(0,m.__)("Bottom","kadence-blocks"),icon:r.alignBottomIcon}],Ba=(0,u.useRef)(),_a=(0,g.useBlockProps)({ref:Ba,className:y()({[`kt-testimonial-halign-${O}`]:!0,[`kt-testimonial-style-${W}`]:!0,["kt-testimonials-media-"+(X?"on":"off")]:!0,["kt-testimonials-icon-"+(be?"on":"off")]:!0,[`kt-testimonial-columns-${Ki}`]:!0,[`kt-blocks-testimonials-wrap${R}`]:R,[`kt-t-xxl-col-${pe[0]}`]:!0,[`kt-t-xl-col-${pe[1]}`]:!0,[`kt-t-lg-col-${pe[2]}`]:!0,[`kt-t-md-col-${pe[3]}`]:!0,[`kt-t-sm-col-${pe[4]}`]:!0,[`kt-t-xs-col-${pe[5]}`]:!0})}),Ta=(0,o.createElement)(u.Fragment,null,(0,o.createElement)(v.ButtonGroup,{className:"kt-size-type-options kt-outline-control","aria-label":(0,m.__)("Column Control Type","kadence-blocks")},(0,d.map)(Wa,(({name:e,key:t,icon:a})=>(0,o.createElement)(v.Tooltip,{text:e},(0,o.createElement)(v.Button,{key:t,className:"kt-size-btn",isSmall:!0,isPrimary:ve===t,"aria-pressed":ve===t,onClick:()=>i({columnControl:t})},a))))),ve&&"individual"!==ve&&(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Columns","kadence-blocks"),value:pe[2],onChange:e=>{let t=[];1===e?t=[1,1,1,1,1,1]:2===e?t=[2,2,2,2,1,1]:3===e?t=[3,3,3,2,1,1]:4===e?t=[4,4,4,3,2,2]:5===e&&(t=[5,5,5,4,4,3]),i({columns:t})},min:1,max:5}),ve&&"individual"===ve&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)("h4",null,(0,m.__)("Columns","kadence-blocks")),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen Above 1500px","kadence-blocks"),value:pe[0],onChange:e=>i({columns:[e,pe[1],pe[2],pe[3],pe[4],pe[5]]}),min:1,max:5}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen 1200px - 1499px","kadence-blocks"),value:pe[1],onChange:e=>i({columns:[pe[0],e,pe[2],pe[3],pe[4],pe[5]]}),min:1,max:5}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen 992px - 1199px","kadence-blocks"),value:pe[2],onChange:e=>i({columns:[pe[0],pe[1],e,pe[3],pe[4],pe[5]]}),min:1,max:5}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen 768px - 991px","kadence-blocks"),value:pe[3],onChange:e=>i({columns:[pe[0],pe[1],pe[2],e,pe[4],pe[5]]}),min:1,max:5}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen 544px - 767px","kadence-blocks"),value:pe[4],onChange:e=>i({columns:[pe[0],pe[1],pe[2],pe[3],e,pe[5]]}),min:1,max:5}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Screen Below 543px","kadence-blocks"),value:pe[5],onChange:e=>i({columns:[pe[0],pe[1],pe[2],pe[3],pe[4],e]}),min:1,max:5}))),$a={google:{families:[G[0].family+(G[0].variant?":"+G[0].variant:"")]}},Ia={google:{families:[j[0].family+(j[0].variant?":"+j[0].variant:"")]}},Pa={google:{families:[Y[0].family+(Y[0].variant?":"+Y[0].variant:"")]}},Ma={google:{families:[ae[0].family+(ae[0].variant?":"+ae[0].variant:"")]}},Aa=G[0].google?$a:"",Ka=j[0].google?Ia:"",Fa=Y[0].google?Pa:"",La=ae[0].google?Ma:"",Ga=e=>{const t=j.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({contentFont:t})},Ha=e=>{const t=Y.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({nameFont:t})},Da=e=>{const t=ae.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({occupationFont:t})},Va=e=>{const t=Z.map(((t,i)=>(0===i&&(t={...t,...e}),t)));i({shadow:t})},Ua={type:"slide",rewind:!0,pagination:"none"!==ge,arrows:"none"!==ue,speed:ce,drag:!1,focus:0,perPage:Ki,interval:se,autoplay:de,perMove:"all"===me?Ki:1,gap:(0,c.getGapSizeOptionOutput)(Fi,Ee||"px"),direction:c.isRTL?"rtl":"ltr"},qa=(0,g.useInnerBlocksProps)({className:"testimonial-inner-block-wrap"},{orientation:"horizontal",templateLock:!1,templateInsertUpdatesSelection:!0,template:[["kadence/testimonial"]],allowedBlocks:["kadence/testimonial"]}),ja=["itemsCount"];return(0,o.createElement)("div",{..._a},(()=>{let e=".kt-testimonial-item-wrap";"bubble"!==W&&"inlineimage"!==W||(e=".kt-testimonial-text-wrap");const t=J&&B&&"carousel"===B,i=t?".kt-blocks-testimonials-wrap"+R+" .splide__slide":".kt-blocks-testimonials-wrap"+R;return(0,o.createElement)("style",null,`\n /* Container */\n .kt-blocks-testimonials-wrap${R} ${e} {\n ${J?"box-shadow: "+Z[0].hOffset+"px "+Z[0].vOffset+"px "+Z[0].blur+"px "+Z[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==Z[0].color&&""!==Z[0].color?Z[0].color:"#000000",Z[0].opacity?Z[0].opacity:.2)+";":""}\n ${_?"background: "+(0,c.KadenceColorOutput)(_,void 0!==oe?oe:1)+";":""}\n ${vi?"border-top-left-radius:"+vi+We+";":""}\n ${bi?"border-top-right-radius:"+bi+We+";":""}\n ${ki?"border-bottom-right-radius:"+ki+We+";":""}\n ${hi?"border-bottom-left-radius:"+hi+We+";":""}\n ${yi?"border-top: "+yi+";":""}\n ${fi?"border-right: "+fi+";":""}\n ${xi?"border-bottom: "+xi+";":""}\n ${wi?"border-left: "+wi+";":""}\n ${Jt?"padding-top: "+(0,c.getSpacingOptionOutput)(Jt,K||"px")+";":""}\n ${Zt?"padding-right: "+(0,c.getSpacingOptionOutput)(Zt,K||"px")+";":""}\n ${ei?"padding-bottom: "+(0,c.getSpacingOptionOutput)(ei,K||"px")+";":""}\n ${ti?"padding-left: "+(0,c.getSpacingOptionOutput)(ti,K||"px")+";":""}\n ${"bubble"===W||"inlineimage"===W?"":"max-width: "+re+"px;"}\n ${"bubble"!==W&&"inlineimage"!==W&&ii?"min-height: "+ii+"px;":""}\n\t\t\t\t\t}\n ${i} {\n\t\t\t\t\t\t${za?"padding-top: "+(0,c.getSpacingOptionOutput)(za,he)+";":t?"padding-top: .5rem;":""}\n\t\t\t\t\t\t${Sa?"padding-bottom: "+(0,c.getSpacingOptionOutput)(Sa,he)+";":t?"padding-bottom: .5rem;":""}\n }\n\t\t\t\t\t.kt-blocks-testimonials-wrap${R} {\n\t\t\t\t\t\t${Ea?"padding-right: "+(0,c.getSpacingOptionOutput)(Ea,he)+";":""}\n\t\t\t\t\t\t${Ca?"padding-left: "+(0,c.getSpacingOptionOutput)(Ca,he)+";":""}\n ${ya?"margin-top: "+(0,c.getSpacingOptionOutput)(ya,Nt)+";":""}\n\t\t\t\t\t\t${fa?"margin-right: "+(0,c.getSpacingOptionOutput)(fa,Nt)+";":""}\n\t\t\t\t\t\t${xa?"margin-bottom: "+(0,c.getSpacingOptionOutput)(xa,Nt)+";":""}\n\t\t\t\t\t\t${wa?"margin-left: "+(0,c.getSpacingOptionOutput)(wa,Nt)+";":""}\n }\n\n ${""!==V?`.kt-blocks-testimonials-wrap${R} .kt-testimonial-item-wrap {\n display: flex;\n flex-direction: column;\n justify-content: ${"middle"===V?"center":"top"===V?"flex-start":"flex-end"};\n }`:""}\n\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-item-wrap {\n\t\t\t\t\t\t${re?"max-width: "+re+"px;":""}\n ${ii?"min-height: "+ii+"px;":""}\n ${void 0!==Ye?.[0]&&""!==Ye?.[0]?"padding-top: "+Ye[0]+";":""}\n }\n\n /* Title */\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-title-wrap .kt-testimonial-title {\n\t\t\t\t\t\t${G[0].weight?"font-weight: "+G[0].weight+";":""}\n\t\t\t\t\t\t${G[0].style?"font-style: "+G[0].style+";":""}\n\t\t\t\t\t\t${G[0].color?"color: "+(0,c.KadenceColorOutput)(G[0].color)+";":""}\n\t\t\t\t\t\t${Ut?"font-size: "+(0,c.getFontSizeOptionOutput)(Ut,qt)+";":""}\n\t\t\t\t\t\t${jt?"line-height: "+jt+Qt+";":""}\n\t\t\t\t\t\t${G[0].letterSpacing?"letter-spacing: "+G[0].letterSpacing+"px;":""}\n\t\t\t\t\t\t${G[0].textTransform?"text-transform: "+G[0].textTransform+";":""}\n\t\t\t\t\t\t${G[0].family?"font-family: "+G[0].family+";":""}\n\t\t\t\t\t\t${Zi?"padding-top: "+(0,c.getSpacingOptionOutput)(Zi,dt)+";":""}\n\t\t\t\t\t\t${ea?"padding-right: "+(0,c.getSpacingOptionOutput)(ea,dt)+";":""}\n\t\t\t\t\t\t${ta?"padding-bottom: "+(0,c.getSpacingOptionOutput)(ta,dt)+";":""}\n\t\t\t\t\t\t${ia?"padding-left: "+(0,c.getSpacingOptionOutput)(ia,dt)+";":""}\n\t\t\t\t\t\t${Qi?"margin-top: "+(0,c.getSpacingOptionOutput)(Qi,ot)+";":""}\n\t\t\t\t\t\t${Xi?"margin-right: "+(0,c.getSpacingOptionOutput)(Xi,ot)+";":""}\n\t\t\t\t\t\t${Yi?"margin-bottom: "+(0,c.getSpacingOptionOutput)(Yi,ot)+";":""}\n\t\t\t\t\t\t${Ji?"margin-left: "+(0,c.getSpacingOptionOutput)(Ji,ot)+";":""}\n }\n\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-title-wrap {\n ${Xt?"min-height: "+Xt+"px;":""}\n }\n\n /* Content */\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-content-wrap .kt-testimonial-content {\n ${j[0].weight?"font-weight: "+j[0].weight+";":""}\n ${j[0].style?"font-style: "+j[0].style+";":""}\n ${j[0].color?"color: "+(0,c.KadenceColorOutput)(j[0].color)+";":""}\n ${ai?"font-size: "+(0,c.getFontSizeOptionOutput)(ai,oi)+";":""}\n ${ni?"line-height: "+ni+ri+";":""}\n ${j[0].textTransform?"text-transform: "+j[0].textTransform+";":""}\n ${j[0].letterSpacing?"letter-spacing: "+j[0].letterSpacing+"px;":""}\n ${j[0].family?"font-family: "+j[0].family+";":""}\n }\n\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-content-wrap {\n ${Yt?"min-height: "+Yt+"px;":""}\n }\n\n /* Occupation */\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-occupation-wrap .kt-testimonial-occupation {\n ${ae[0].weight?"font-weight: "+ae[0].weight+";":""}\n ${ae[0].style?"font-style: "+ae[0].style+";":""}\n ${ae[0].color?"color: "+(0,c.KadenceColorOutput)(ae[0].color)+";":""}\n ${li?"font-size: "+(0,c.getFontSizeOptionOutput)(li,di)+";":""}\n ${si?"line-height: "+si+ci+";":""}\n ${ae[0].textTransform?"text-transform: "+ae[0].textTransform+";":""}\n ${ae[0].letterSpacing?"letter-spacing: "+ae[0].letterSpacing+"px;":""}\n ${ae[0].family?"font-family: "+ae[0].family+";":""}\n }\n\n /* Media */\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-media-inner-wrap {\n ${"card"!==W?"width: "+F[0].width+"px;":""}\n ${F[0].border?"border-color: "+(0,c.KadenceColorOutput)(F[0].border)+";":""}\n ${F[0].background?"background-color: "+(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1)+";":""}\n\t\t\t\t\t\t${Ii?"border-top: "+Ii+";":""}\n\t\t\t\t\t\t${Pi?"border-right: "+Pi+";":""}\n\t\t\t\t\t\t${Mi?"border-bottom: "+Mi+";":""}\n\t\t\t\t\t\t${Ai?"border-left: "+Ai+";":""}\n\t\t\t\t\t\t${""!==Bi?"border-top-left-radius: "+Bi+He+";":""}\n\t\t\t\t\t\t${""!==_i?"border-top-right-radius: "+_i+He+";":""}\n\t\t\t\t\t\t${""!==Ti?"border-bottom-right-radius: "+Ti+He+";":""}\n\t\t\t\t\t\t${""!==$i?"border-bottom-left-radius: "+$i+He+";":""}\n\t\t\t\t\t\t${ma?"margin-top: "+(0,c.getSpacingOptionOutput)(ma,ft)+";":""}\n\t\t\t\t\t\t${ua?"margin-right: "+(0,c.getSpacingOptionOutput)(ua,ft)+";":""}\n\t\t\t\t\t\t${ga?"margin-bottom: "+(0,c.getSpacingOptionOutput)(ga,ft)+";":""}\n\t\t\t\t\t\t${pa?"margin-left: "+(0,c.getSpacingOptionOutput)(pa,ft)+";":""}\n\t\t\t\t\t\t${va?"padding-top: "+(0,c.getSpacingOptionOutput)(va,Et)+";":""}\n\t\t\t\t\t\t${ba?"padding-right: "+(0,c.getSpacingOptionOutput)(ba,Et)+";":""}\n\t\t\t\t\t\t${ka?"padding-bottom: "+(0,c.getSpacingOptionOutput)(ka,Et)+";":""}\n\t\t\t\t\t\t${ha?"padding-left: "+(0,c.getSpacingOptionOutput)(ha,Et)+";":""}\n }\n\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-media-inner-wrap .kadence-testimonial-image-intrisic {\n ${"card"!==W||void 0===F[0].ratio&&""===F[0].ratio?"":"padding-bottom: "+F[0].ratio+"%;"}\n }\n\n /* Name */\n .kt-blocks-testimonials-wrap${R} .kt-testimonial-name-wrap .kt-testimonial-name {\n ${Y[0].weight?"font-weight: "+Y[0].weight+";":""}\n ${Y[0].style?"font-style: "+Y[0].style+";":""}\n ${Y[0].color?"color: "+(0,c.KadenceColorOutput)(Y[0].color)+";":""}\n ${mi?"font-size: "+(0,c.getFontSizeOptionOutput)(mi,pi)+";":""}\n ${ui?"line-height: "+ui+gi+";":""}\n ${Y[0].textTransform?"text-transform: "+Y[0].textTransform+";":""}\n ${Y[0].letterSpacing?"letter-spacing: "+Y[0].letterSpacing+"px;":""}\n ${Y[0].family?"font-family: "+Y[0].family+";":""}\n }\n\n\t\t\t\t\t/* Icon */\n\t\t\t\t\t.kt-blocks-testimonials-wrap${R} .kt-svg-testimonial-global-icon-wrap {\n\t\t\t\t\t\t${Li?"margin-top: "+(0,c.getSpacingOptionOutput)(Li,Xe)+";":""}\n\t\t\t\t\t\t${Gi?"margin-right: "+(0,c.getSpacingOptionOutput)(Gi,Xe)+";":""}\n\t\t\t\t\t\t${Hi?"margin-bottom: "+(0,c.getSpacingOptionOutput)(Hi,Xe)+";":""}\n\t\t\t\t\t\t${Di?"margin-left: "+(0,c.getSpacingOptionOutput)(Di,Xe)+";":""}\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.kt-blocks-testimonials-wrap${R} .kt-svg-testimonial-global-icon-wrap .kt-svg-testimonial-global-icon {\n\t\t\t\t\t\t${Ri?"border-top: "+Ri+";":""}\n\t\t\t\t\t\t${Ni?"border-right: "+Ni+";":""}\n\t\t\t\t\t\t${Wi?"border-bottom: "+Wi+";":""}\n\t\t\t\t\t\t${Oi?"border-left: "+Oi+";":""}\n\t\t\t\t\t\t${zi?"border-top-left-radius: "+zi+Te+";":""}\n\t\t\t\t\t\t${Ei?"border-top-right-radius: "+Ei+Te+";":""}\n\t\t\t\t\t\t${Si?"border-bottom-right-radius: "+Si+Te+";":""}\n\t\t\t\t\t\t${Ci?"border-bottom-left-radius: "+Ci+Te+";":""}\n\t\t\t\t\t\t${Vi?"padding-top: "+(0,c.getSpacingOptionOutput)(Vi,et)+";":""}\n\t\t\t\t\t\t${Ui?"padding-right: "+(0,c.getSpacingOptionOutput)(Ui,et)+";":""}\n\t\t\t\t\t\t${qi?"padding-bottom: "+(0,c.getSpacingOptionOutput)(qi,et)+";":""}\n\t\t\t\t\t\t${ji?"padding-left: "+(0,c.getSpacingOptionOutput)(ji,et)+";":""}\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Rating */\n\t\t\t\t\t.kt-blocks-testimonials-wrap${R} .kt-testimonial-rating-wrap {\n\t\t\t\t\t\t${aa?"margin-top: "+(0,c.getSpacingOptionOutput)(aa,ut)+";":""}\n\t\t\t\t\t\t${oa?"margin-right: "+(0,c.getSpacingOptionOutput)(oa,ut)+";":""}\n\t\t\t\t\t\t${na?"margin-bottom: "+(0,c.getSpacingOptionOutput)(na,ut)+";":""}\n\t\t\t\t\t\t${ra?"margin-left: "+(0,c.getSpacingOptionOutput)(ra,ut)+";":""}\n\t\t\t\t\t\t${la?"padding-top: "+(0,c.getSpacingOptionOutput)(la,bt)+";":""}\n\t\t\t\t\t\t${da?"padding-right: "+(0,c.getSpacingOptionOutput)(da,bt)+";":""}\n\t\t\t\t\t\t${sa?"padding-bottom: "+(0,c.getSpacingOptionOutput)(sa,bt)+";":""}\n\t\t\t\t\t\t${ca?"padding-left: "+(0,c.getSpacingOptionOutput)(ca,bt)+";":""}\n\t\t\t\t\t}\n `)})(),(0,o.createElement)("style",null,"bubble"===W||"inlineimage"===W?`.kt-blocks-testimonials-wrap${R} .kt-testimonial-text-wrap:after { margin-top: ${(0,d.has)($e,[0,"bottom",2])?$e[0].bottom[2]:"1"}${(0,d.has)($e,[0,"unit"])?$e[0].unit:"px"}; }`:"","bubble"===W||"inlineimage"===W?`.kt-blocks-testimonials-wrap${R} .kt-testimonial-text-wrap:after { border-top-color: ${(0,d.has)($e,[0,"bottom",0])?(0,c.KadenceColorOutput)($e[0].bottom[0],void 0!==ne?ne:1):(0,c.KadenceColorOutput)("#eeeeee",void 0!==ne?ne:1)} }`:"","grid"===B&&`.kt-testimonial-grid-wrap .block-editor-inner-blocks .block-editor-block-list__layout {\n gap: ${(0,c.getGapSizeOptionOutput)(Fi,Ee||"px")};\n }`),(0,c.showSettings)("allSettings")&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(g.BlockControls,{key:"controls"},(0,o.createElement)(g.AlignmentToolbar,{value:O,onChange:e=>i({hAlign:e})}),(0,o.createElement)(s.CopyPasteAttributes,{attributes:t,excludedAttrs:ja,defaultAttributes:n.attributes,blockSlug:n.name,onPaste:e=>i(e),preventMultiple:["testimonials"]}),(0,o.createElement)(v.ToolbarGroup,null,(0,o.createElement)(v.ToolbarButton,{className:"kb-icons-add-icon",icon:k,onClick:()=>{const e=(0,a.createBlock)("kadence/testimonial");E(e)},label:(0,m.__)("Add Testimonial","kadence-blocks"),showTooltip:!0}))),(0,o.createElement)(g.InspectorControls,null,(0,o.createElement)(s.InspectorControlTabs,{panelName:"testimonials",setActiveTab:e=>Bt(e),activeTab:Ot}),"general"===Ot&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.KadencePanelBody,{panelName:"kb-testimonials-settings"},(0,c.showSettings)("layoutSettings","kadence/testimonials")&&(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Layout","kadence-blocks"),value:B,options:[{value:"grid",label:(0,m.__)("Grid","kadence-blocks")},{value:"carousel",label:(0,m.__)("Carousel","kadence-blocks")}],onChange:e=>i({layout:e})}),(0,c.showSettings)("styleSettings","kadence/testimonials")&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)("p",{className:"components-base-control__label"},(0,m.__)("Testimonial Style","kadence-blocks")),(0,o.createElement)(v.ButtonGroup,{className:"kt-style-btn-group","aria-label":(0,m.__)("Testimonial Style","kadence-blocks")},(0,d.map)(Ra,(({name:e,key:t,icon:a})=>(0,o.createElement)(v.Tooltip,{text:e},(0,o.createElement)(v.Button,{key:t,className:"kt-style-btn",isSmall:!0,isPrimary:W===t,"aria-pressed":W===t,onClick:()=>i({style:t})},a)))))),(0,c.showSettings)("columnSettings","kadence/testimonials")&&(0,o.createElement)(u.Fragment,null,Ta,(0,o.createElement)(s.ResponsiveRangeControls,{label:(0,m.__)("Column Gutter","kadence-blocks"),value:void 0!==ze?.[0]?ze[0]:"",onChange:e=>i({gap:[e,""!==ze?.[1]?ze[1]:"",""!==ze?.[2]?ze[2]:""]}),tabletValue:void 0!==ze?.[1]?ze[1]:"",onChangeTablet:e=>i({gap:[""!==ze?.[0]?ze[0]:"",e,""!==ze?.[2]?ze[2]:""]}),mobileValue:void 0!==ze?.[2]?ze[2]:"",onChangeMobile:e=>i({gap:[""!==ze?.[0]?ze[0]:"",""!==ze?.[1]?ze[1]:"",e]}),min:0,max:"px"!==Ee?12:200,step:"px"!==Ee?.1:1,unit:Ee,onUnit:e=>i({gapUnit:e}),units:["px","em","rem"]}))),B&&"carousel"===B&&(0,o.createElement)(u.Fragment,null,(0,c.showSettings)("carouselSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Carousel Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-carousel"},(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Carousel Type","kadence-blocks"),options:[{label:(0,m.__)("Infinite Loop","kadence-blocks"),value:"loop"},{label:(0,m.__)("Rewind","kadence-blocks"),value:"rewind"}],value:Wt,onChange:e=>i({carouselType:e})}),(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Carousel Auto Play","kadence-blocks"),checked:de,onChange:e=>i({autoPlay:e})}),de&&(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Autoplay Speed","kadence-blocks"),value:se,onChange:e=>i({autoSpeed:e}),min:0,max:15e3,step:10}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Carousel Slide Transition Speed","kadence-blocks"),value:ce,onChange:e=>i({transSpeed:e}),min:100,max:15e3,step:10}),(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Slides to Scroll","kadence-blocks"),options:[{label:(0,m.__)("One","kadence-blocks"),value:"1"},{label:(0,m.__)("All","kadence-blocks"),value:"all"}],value:me,onChange:e=>i({slidesScroll:e})}),(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Arrow Style","kadence-blocks"),options:[{label:(0,m.__)("White on Dark","kadence-blocks"),value:"whiteondark"},{label:(0,m.__)("Black on Light","kadence-blocks"),value:"blackonlight"},{label:(0,m.__)("Outline Black","kadence-blocks"),value:"outlineblack"},{label:(0,m.__)("Outline White","kadence-blocks"),value:"outlinewhite"},{label:(0,m.__)("None","kadence-blocks"),value:"none"}],value:ue,onChange:e=>i({arrowStyle:e})}),(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Dot Style","kadence-blocks"),options:[{label:(0,m.__)("Dark","kadence-blocks"),value:"dark"},{label:(0,m.__)("Light","kadence-blocks"),value:"light"},{label:(0,m.__)("Outline Dark","kadence-blocks"),value:"outlinedark"},{label:(0,m.__)("Outline Light","kadence-blocks"),value:"outlinelight"},{label:(0,m.__)("None","kadence-blocks"),value:"none"}],value:ge,onChange:e=>i({dotStyle:e})})))),"style"===Ot&&(0,o.createElement)(u.Fragment,null,(0,c.showSettings)("containerSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Container Settings","kadence-blocks"),panelName:"kb-testimonials-container-settings"},(0,o.createElement)("div",{className:"kt-spacer-sidebar-15"}),(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Background","kadence-blocks"),value:_||"",default:"",onChange:e=>{i({containerBackground:e})},opacityValue:oe,onOpacityChange:e=>i({containerBackgroundOpacity:e}),onArrayChange:(e,t)=>i({containerBackground:e,containerBackgroundOpacity:t})}),(0,o.createElement)(s.ResponsiveBorderControl,{label:(0,m.__)("Border","kadence-blocks"),value:$e,tabletValue:Ie,mobileValue:Pe,onChange:e=>i({borderStyle:e}),onChangeTablet:e=>i({tabletBorderStyle:e}),onChangeMobile:e=>i({mobileBorderStyle:e})}),(0,o.createElement)(s.ResponsiveMeasurementControls,{label:(0,m.__)("Border Radius","kadence-blocks"),value:Ce,tabletValue:Re,mobileValue:Ne,onChange:e=>i({responsiveContainerBorderRadius:e}),onChangeTablet:e=>i({tabletContainerBorderRadius:e}),onChangeMobile:e=>i({mobileContainerBorderRadius:e}),min:0,max:"em"===We||"rem"===We?24:100,step:"em"===We||"rem"===We?.1:1,unit:We,units:["px","em","rem","%"],onUnit:e=>i({containerBorderRadiusUnit:e}),isBorderRadius:!0,allowEmpty:!0}),(0,c.showSettings)("shadowSettings","kadence/testimonials")&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.BoxShadowControl,{label:(0,m.__)("Box Shadow","kadence-blocks"),enable:J||!1,color:Z[0].color?Z[0].color:"",colorDefault:"#000000",opacity:Z[0].opacity,hOffset:Z[0].hOffset,vOffset:Z[0].vOffset,blur:Z[0].blur,spread:Z[0].spread,onEnableChange:e=>{i({displayShadow:e})},onColorChange:e=>{Va({color:e})},onOpacityChange:e=>{Va({opacity:e})},onHOffsetChange:e=>{Va({hOffset:e})},onVOffsetChange:e=>{Va({vOffset:e})},onBlurChange:e=>{Va({blur:e})},onSpreadChange:e=>{Va({spread:e})}}))),(0,c.showSettings)("iconSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Icon Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-icon-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Top Icon","kadence-blocks"),checked:be,onChange:e=>i({displayIcon:e})}),be&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.KadenceIconPicker,{value:ke[0].icon,onChange:e=>{Gt({icon:e})}}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Icon Size","kadence-blocks"),value:ke[0].size,onChange:e=>Gt({size:e}),step:1,min:1,max:120}),ke[0].icon&&"fe"===ke[0].icon.substring(0,2)&&(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Line Width","kadence-blocks"),value:ke[0].stroke,onChange:e=>{Gt({stroke:e})},step:.5,min:.5,max:4}),(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color","kadence-blocks"),value:ke[0].color?ke[0].color:"",default:"",onChange:e=>Gt({color:e})}),(0,o.createElement)("div",{className:"kt-spacer-sidebar-15"}),(0,o.createElement)(s.ResponsiveBorderControl,{label:(0,m.__)("Icon Border","kadence-blocks"),value:Me,tabletValue:Ae,mobileValue:Ke,onChange:e=>i({iconBorderStyle:e}),onChangeTablet:e=>i({tabletIconBorderStyle:e}),onChangeMobile:e=>i({mobileIconBorderStyle:e})}),(0,o.createElement)(s.ResponsiveMeasurementControls,{label:(0,m.__)("Icon Border Radius","kadence-blocks"),value:Oe,tabletValue:Be,mobileValue:_e,onChange:e=>i({iconBorderRadius:e}),onChangeTablet:e=>i({tabletIconBorderRadius:e}),onChangeMobile:e=>i({mobileIconBorderRadius:e}),min:0,max:"em"===Te||"rem"===Te?24:100,step:"em"===Te||"rem"===Te?.1:1,unit:Te,units:["px","em","rem","%"],onUnit:e=>i({iconBorderRadiusUnit:e}),isBorderRadius:!0,allowEmpty:!0}),(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Icon Background","kadence-blocks"),value:ke[0].background?ke[0].background:"",default:"",onChange:e=>Gt({background:e}),opacityValue:ke[0].backgroundOpacity,onOpacityChange:e=>Gt({backgroundOpacity:e}),onArrayChange:(e,t)=>Gt({background:e,backgroundOpacity:t})}),(0,o.createElement)("div",{className:"kt-spacer-sidebar-15"}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Icon Padding","kadence-blocks"),value:Ye,onChange:e=>i({iconPadding:e}),tabletValue:Je,onChangeTablet:e=>i({tabletIconPadding:e}),mobileValue:Ze,onChangeMobile:e=>i({mobileIconPadding:e}),min:0,max:"em"===et||"rem"===et?12:999,step:"em"===et||"rem"===et?.1:1,unit:et,units:["px","em","rem"],onUnit:e=>i({iconPaddingUnit:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Icon Margin","kadence-blocks"),value:qe,onChange:e=>i({iconMargin:e}),tabletValue:je,onChangeTablet:e=>i({tabletIconMargin:e}),mobileValue:Qe,onChangeMobile:e=>i({mobileIconMargin:e}),min:"em"===Xe||"rem"===Xe?-2:-999,max:"em"===Xe||"rem"===Xe?12:999,step:"em"===Xe||"rem"===Xe?.1:1,unit:Xe,units:["px","em","rem"],onUnit:e=>i({iconMarginUnit:e}),allowAuto:!0}))),(0,c.showSettings)("titleSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Title Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-title-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Title","kadence-blocks"),checked:L,onChange:e=>i({displayTitle:e})}),L&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color Settings","kadence-blocks"),value:G[0].color?G[0].color:"",default:"",onChange:e=>Ht({color:e})}),(0,o.createElement)(s.TypographyControls,{fontGroup:"heading",tagLevel:G[0].level,tagLowLevel:2,onTagLevel:e=>Ht({level:e}),fontSize:G[0].size,onFontSize:e=>Ht({size:e}),fontSizeType:G[0].sizeType,onFontSizeType:e=>Ht({sizeType:e}),lineHeight:G[0].lineHeight,onLineHeight:e=>Ht({lineHeight:e}),lineHeightType:G[0].lineType,onLineHeightType:e=>Ht({lineType:e}),letterSpacing:G[0].letterSpacing,onLetterSpacing:e=>Ht({letterSpacing:e}),textTransform:G[0].textTransform,onTextTransform:e=>Ht({textTransform:e}),fontFamily:G[0].family,onFontFamily:e=>Ht({family:e}),onFontChange:e=>{Ht({family:e.value,google:e.google})},onFontArrayChange:e=>Ht(e),googleFont:G[0].google,onGoogleFont:e=>Ht({google:e}),loadGoogleFont:G[0].loadGoogle,onLoadGoogleFont:e=>Ht({loadGoogle:e}),fontVariant:G[0].variant,onFontVariant:e=>Ht({variant:e}),fontWeight:G[0].weight,onFontWeight:e=>Ht({weight:e}),fontStyle:G[0].style,onFontStyle:e=>Ht({style:e}),fontSubset:G[0].subset,onFontSubset:e=>Ht({subset:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Padding","kadence-blocks"),value:nt,onChange:e=>i({titlePadding:e}),tabletValue:rt,onChangeTablet:e=>i({tabletTitlePadding:e}),mobileValue:lt,onChangeMobile:e=>i({mobileTitlePadding:e}),min:0,max:"em"===dt||"rem"===dt?12:999,step:"em"===dt||"rem"===dt?.1:1,unit:dt,units:["px","em","rem"],onUnit:e=>i({titlePaddingUnit:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Margin","kadence-blocks"),value:tt,onChange:e=>i({titleMargin:e}),tabletValue:it,onChangeTablet:e=>i({tabletTitleMargin:e}),mobileValue:at,onChangeMobile:e=>i({mobileTitleMargin:e}),min:"em"===ot||"rem"===ot?-2:-999,max:"em"===ot||"rem"===ot?12:999,step:"em"===ot||"rem"===ot?.1:1,unit:ot,units:["px","em","rem"],onUnit:e=>i({titleMarginUnit:e}),allowAuto:!0}),(0,o.createElement)(s.ResponsiveRangeControls,{label:(0,m.__)("Title Min Height","kadence-blocks"),value:H&&void 0!==H[0]?H[0]:"",onChange:e=>i({titleMinHeight:[e,H&&void 0!==H[1]?H[1]:"",H&&void 0!==H[2]?H[2]:""]}),tabletValue:H&&void 0!==H[1]?H[1]:"",onChangeTablet:e=>i({titleMinHeight:[H&&void 0!==H[0]?H[0]:"",e,H&&void 0!==H[2]?H[2]:""]}),mobileValue:H&&void 0!==H[2]?H[2]:"",onChangeMobile:e=>i({titleMinHeight:[H&&void 0!==H[0]?H[0]:"",H&&void 0!==H[1]?H[1]:"",e]}),min:0,max:200,step:1,unit:"px",showUnit:!0,units:["px"]}))),(0,c.showSettings)("ratingSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Rating Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-rating-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Rating","kadence-blocks"),checked:ee,onChange:e=>i({displayRating:e})}),ee&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color","kadence-blocks"),value:te[0].color?te[0].color:"",default:"",onChange:e=>Dt({color:e})}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Icon Size","kadence-blocks"),value:te[0].size,onChange:e=>Dt({size:e}),step:1,min:1,max:120}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Rating Padding","kadence-blocks"),value:gt,onChange:e=>i({ratingPadding:e}),tabletValue:pt,onChangeTablet:e=>i({tabletRatingPadding:e}),mobileValue:vt,onChangeMobile:e=>i({mobileRatingPadding:e}),min:0,max:"em"===bt||"rem"===bt?12:999,step:"em"===bt||"rem"===bt?.1:1,unit:bt,units:["px","em","rem"],onUnit:e=>i({ratingPaddingUnit:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Rating Margin","kadence-blocks"),value:st,onChange:e=>i({ratingMargin:e}),tabletValue:ct,onChangeTablet:e=>i({tabletRatingMargin:e}),mobileValue:mt,onChangeMobile:e=>i({mobileRatingMargin:e}),min:"em"===ut||"rem"===ut?-2:-999,max:"em"===ut||"rem"===ut?12:999,step:"em"===ut||"rem"===ut?.1:1,unit:ut,units:["px","em","rem"],onUnit:e=>i({ratingMarginUnit:e}),allowAuto:!0}))),(0,c.showSettings)("contentSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Content Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-content-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Content","kadence-blocks"),checked:q,onChange:e=>i({displayContent:e})}),q&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color","kadence-blocks"),value:j[0].color?j[0].color:"",default:"",onChange:e=>Ga({color:e})}),(0,o.createElement)(s.TypographyControls,{fontGroup:"body",fontSize:j[0].size,onFontSize:e=>Ga({size:e}),fontSizeType:j[0].sizeType,onFontSizeType:e=>Ga({sizeType:e}),lineHeight:j[0].lineHeight,onLineHeight:e=>Ga({lineHeight:e}),lineHeightType:j[0].lineType,onLineHeightType:e=>Ga({lineType:e}),letterSpacing:j[0].letterSpacing,onLetterSpacing:e=>Ga({letterSpacing:e}),textTransform:j[0].textTransform,onTextTransform:e=>Ga({textTransform:e}),fontFamily:j[0].family,onFontFamily:e=>Ga({family:e}),onFontChange:e=>{Ga({family:e.value,google:e.google})},onFontArrayChange:e=>Ga(e),googleFont:j[0].google,onGoogleFont:e=>Ga({google:e}),loadGoogleFont:j[0].loadGoogle,onLoadGoogleFont:e=>Ga({loadGoogle:e}),fontVariant:j[0].variant,onFontVariant:e=>Ga({variant:e}),fontWeight:j[0].weight,onFontWeight:e=>Ga({weight:e}),fontStyle:j[0].style,onFontStyle:e=>Ga({style:e}),fontSubset:j[0].subset,onFontSubset:e=>Ga({subset:e})}),(0,o.createElement)(s.ResponsiveRangeControls,{label:(0,m.__)("Content Min Height","kadence-blocks"),value:U&&void 0!==U[0]?U[0]:"",onChange:e=>i({contentMinHeight:[e,U&&void 0!==U[1]?U[1]:"",U&&void 0!==U[2]?U[2]:""]}),tabletValue:U&&void 0!==U[1]?U[1]:"",onChangeTablet:e=>i({contentMinHeight:[U&&void 0!==U[0]?U[0]:"",e,U&&void 0!==U[2]?U[2]:""]}),mobileValue:U&&void 0!==U[2]?U[2]:"",onChangeMobile:e=>i({contentMinHeight:[U&&void 0!==U[0]?U[0]:"",U&&void 0!==U[1]?U[1]:"",e]}),min:0,max:400,step:1,unit:"px",showUnit:!0,units:["px"]}))),(0,c.showSettings)("mediaSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Media Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-media-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Media","kadence-blocks"),checked:X,onChange:e=>i({displayMedia:e})}),X&&(0,o.createElement)(u.Fragment,null,"card"!==W&&(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Media Max Size","kadence-blocks"),value:F[0].width,onChange:e=>Lt({width:e}),step:1,min:2,max:800}),(0,o.createElement)(s.ResponsiveBorderControl,{label:(0,m.__)("Media Border","kadence-blocks"),value:De,tabletValue:Ve,mobileValue:Ue,onChange:e=>i({mediaBorderStyle:e}),onChangeTablet:e=>i({tabletMediaBorderStyle:e}),onChangeMobile:e=>i({mobileMediaBorderStyle:e})}),(0,o.createElement)(s.ResponsiveMeasurementControls,{label:(0,m.__)("Media Border Radius","kadence-blocks"),value:Fe,tabletValue:Le,mobileValue:Ge,onChange:e=>i({mediaBorderRadius:e}),onChangeTablet:e=>i({tabletMediaBorderRadius:e}),onChangeMobile:e=>i({mobileMediaBorderRadius:e}),min:0,max:"em"===He||"rem"===He?24:100,step:"em"===He||"rem"===He?.1:1,unit:He,units:["px","em","rem","%"],onUnit:e=>i({mediaBorderRadiusUnit:e}),isBorderRadius:!0,allowEmpty:!0}),(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Media Background","kadence-blocks"),value:F[0].background?F[0].background:"",default:"",onChange:e=>Lt({background:e}),opacityValue:F[0].backgroundOpacity,onOpacityChange:e=>Lt({backgroundOpacity:e}),onArrayChange:(e,t)=>Lt({background:e,backgroundOpacity:t})}),(0,o.createElement)("div",{className:"kt-spacer-sidebar-15"}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Media Padding","kadence-blocks"),value:xt,onChange:e=>i({mediaPadding:e}),tabletValue:wt,onChangeTablet:e=>i({tabletMediaPadding:e}),mobileValue:zt,onChangeMobile:e=>i({mobileMediaPadding:e}),min:0,max:"em"===Et||"rem"===Et?12:999,step:"em"===Et||"rem"===Et?.1:1,unit:Et,units:["px","em","rem"],onUnit:e=>i({mediaPaddingUnit:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Media Margin","kadence-blocks"),value:kt,onChange:e=>i({mediaMargin:e}),tabletValue:ht,onChangeTablet:e=>i({tabletMediaMargin:e}),mobileValue:yt,onChangeMobile:e=>i({mobileMediaMargin:e}),min:"em"===ft||"rem"===ft?-2:-999,max:"em"===ft||"rem"===ft?12:999,step:"em"===ft||"rem"===ft?.1:1,unit:ft,units:["px","em","rem"],onUnit:e=>i({mediaMarginUnit:e}),allowAuto:!0}),"card"===W&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Image Size","kadence-blocks"),options:[{label:(0,m.__)("Cover","kadence-blocks"),value:"cover"},{label:(0,m.__)("Contain","kadence-blocks"),value:"Contain"},{label:(0,m.__)("Auto","kadence-blocks"),value:"auto"}],value:F[0].backgroundSize,onChange:e=>Lt({backgroundSize:e})}),(0,o.createElement)(v.SelectControl,{label:(0,m.__)("Image Ratio","kadence-blocks"),options:[{label:(0,m.__)("Landscape 4:2","kadence-blocks"),value:"50"},{label:(0,m.__)("Landscape 3:2","kadence-blocks"),value:"66.67"},{label:(0,m.__)("Landscape 4:3","kadence-blocks"),value:"75"},{label:(0,m.__)("Portrait 3:4","kadence-blocks"),value:"133.33"},{label:(0,m.__)("Portrait 2:3","kadence-blocks"),value:"150"},{label:(0,m.__)("Square 1:1","kadence-blocks"),value:"100"}],value:void 0===F[0].ratio||""===F[0].ratio?"50":F[0].ratio,onChange:e=>Lt({ratio:e})})))),(0,c.showSettings)("nameSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Name Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-name-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Name","kadence-blocks"),checked:Q,onChange:e=>i({displayName:e})}),Q&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color","kadence-blocks"),value:Y[0].color?Y[0].color:"",default:"",onChange:e=>Ha({color:e})}),(0,o.createElement)(s.TypographyControls,{fontGroup:"body",fontSize:Y[0].size,onFontSize:e=>Ha({size:e}),fontSizeType:Y[0].sizeType,onFontSizeType:e=>Ha({sizeType:e}),lineHeight:Y[0].lineHeight,onLineHeight:e=>Ha({lineHeight:e}),lineHeightType:Y[0].lineType,onLineHeightType:e=>Ha({lineType:e}),letterSpacing:Y[0].letterSpacing,onLetterSpacing:e=>Ha({letterSpacing:e}),textTransform:Y[0].textTransform,onTextTransform:e=>Ha({textTransform:e}),fontFamily:Y[0].family,onFontFamily:e=>Ha({family:e}),onFontChange:e=>{Ha({family:e.value,google:e.google})},onFontArrayChange:e=>Ha(e),googleFont:Y[0].google,onGoogleFont:e=>Ha({google:e}),loadGoogleFont:Y[0].loadGoogle,onLoadGoogleFont:e=>Ha({loadGoogle:e}),fontVariant:Y[0].variant,onFontVariant:e=>Ha({variant:e}),fontWeight:Y[0].weight,onFontWeight:e=>Ha({weight:e}),fontStyle:Y[0].style,onFontStyle:e=>Ha({style:e}),fontSubset:Y[0].subset,onFontSubset:e=>Ha({subset:e})}))),(0,c.showSettings)("occupationSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Occupation Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonails-occupation-settings"},(0,o.createElement)(v.ToggleControl,{label:(0,m.__)("Show Occupation","kadence-blocks"),checked:ie,onChange:e=>i({displayOccupation:e})}),ie&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.PopColorControl,{label:(0,m.__)("Color","kadence-blocks"),value:ae[0].color?ae[0].color:"",default:"",onChange:e=>Da({color:e})}),(0,o.createElement)(s.TypographyControls,{fontGroup:"body",fontSize:ae[0].size,onFontSize:e=>Da({size:e}),fontSizeType:ae[0].sizeType,onFontSizeType:e=>Da({sizeType:e}),lineHeight:ae[0].lineHeight,onLineHeight:e=>Da({lineHeight:e}),lineHeightType:ae[0].lineType,onLineHeightType:e=>Da({lineType:e}),textTransform:ae[0].textTransform,onTextTransform:e=>Da({textTransform:e}),letterSpacing:ae[0].letterSpacing,onLetterSpacing:e=>Da({letterSpacing:e}),fontFamily:ae[0].family,onFontFamily:e=>Da({family:e}),onFontChange:e=>{Da({family:e.value,google:e.google})},onFontArrayChange:e=>Da(e),googleFont:ae[0].google,onGoogleFont:e=>Da({google:e}),loadGoogleFont:ae[0].loadGoogle,onLoadGoogleFont:e=>Da({loadGoogle:e}),fontVariant:ae[0].variant,onFontVariant:e=>Da({variant:e}),fontWeight:ae[0].weight,onFontWeight:e=>Da({weight:e}),fontStyle:ae[0].style,onFontStyle:e=>Da({style:e}),fontSubset:ae[0].subset,onFontSubset:e=>Da({subset:e})})))),"advanced"===Ot&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)(s.KadencePanelBody,{panelName:"kb-testimonials-spacings-settings"},(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Padding","kadence-blocks"),value:P,tabletValue:M,mobileValue:A,onChange:e=>i({containerPadding:e}),onChangeTablet:e=>i({tabletContainerPadding:e}),onChangeMobile:e=>i({mobileContainerPadding:e}),min:0,max:"em"===K||"rem"===K?12:999,step:"em"===K||"rem"===K?.1:1,unit:K||"px",units:["px","em","rem"],onUnit:e=>i({containerPaddingType:e}),onMouseOver:It.onMouseOver,onMouseOut:It.onMouseOut}),(0,o.createElement)(v.RangeControl,{label:(0,m.__)("Container Max Width (px)","kadence-blocks"),value:re,onChange:e=>i({containerMaxWidth:e}),step:5,min:50,max:2e3}),(0,o.createElement)(s.ResponsiveRangeControls,{label:(0,m.__)("Container Min Height","kadence-blocks"),value:D&&void 0!==D[0]?D[0]:"",onChange:e=>i({containerMinHeight:[e,D&&void 0!==D[1]?D[1]:"",D&&void 0!==D[2]?D[2]:""]}),tabletValue:D&&void 0!==D[1]?D[1]:"",onChangeTablet:e=>i({containerMinHeight:[D&&void 0!==D[0]?D[0]:"",e,D&&void 0!==D[2]?D[2]:""]}),mobileValue:D&&void 0!==D[2]?D[2]:"",onChangeMobile:e=>i({containerMinHeight:[D&&void 0!==D[0]?D[0]:"",D&&void 0!==D[1]?D[1]:"",e]}),min:0,max:600,step:1,unit:"px",showUnit:!0,units:["px"]}),D&&(D[0]||D[1]||D[2])&&(0,o.createElement)(u.Fragment,null,(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,m.__)("Inner Content Align","kadence-blocks")),(0,o.createElement)(v.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,m.__)("Inner Content Align","kadence-blocks")},(0,d.map)(Oa,(({name:e,icon:t,key:a})=>(0,o.createElement)(v.Tooltip,{text:e},(0,o.createElement)(v.Button,{key:a,className:"kt-btn-size-btn",isSmall:!0,isPrimary:V===a,"aria-pressed":V===a,onClick:()=>{i(V===a?{containerVAlign:""}:{containerVAlign:a})}},t)))))))),(0,c.showSettings)("wrapperSettings","kadence/testimonials")&&(0,o.createElement)(s.KadencePanelBody,{title:(0,m.__)("Wrapper","kadence-blocks"),initialOpen:!1,panelName:"kb-testimonials-wrapper-padding"},(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Padding","kadence-blocks"),value:ye,onChange:e=>i({wrapperPadding:e}),tabletValue:fe,onChangeTablet:e=>i({wrapperTabletPadding:e}),mobileValue:xe,onChangeMobile:e=>i({wrapperMobilePadding:e}),min:0,max:"em"===he||"rem"===he?25:999,step:"em"===he||"rem"===he?.1:1,unit:he,units:["px","em","rem"],onUnit:e=>i({wrapperPaddingType:e})}),(0,o.createElement)(s.ResponsiveMeasureRangeControl,{label:(0,m.__)("Margin","kadence-blocks"),value:St,onChange:e=>i({wrapperMargin:e}),tabletValue:Ct,onChangeTablet:e=>i({tabletWrapperMargin:e}),mobileValue:Rt,onChangeMobile:e=>i({mobileWrapperMargin:e}),min:"em"===Nt||"rem"===Nt?-25:-999,max:"em"===Nt||"rem"===Nt?25:999,step:"em"===Nt||"rem"===Nt?.1:1,unit:Nt,units:["px","em","rem"],onUnit:e=>i({wrapperMarginUnit:e}),allowAuto:!0})),(0,o.createElement)("div",{className:"kt-sidebar-settings-spacer"}),(0,o.createElement)(s.KadenceBlockDefaults,{attributes:t,defaultAttributes:n.attributes,blockSlug:n.name,excludedAttrs:ja,preventMultiple:["testimonials"]})))),_t&&(0,o.createElement)("div",{className:"kt-select-starter-style-tabs kt-select-starter-style-infobox"},(0,o.createElement)("div",{className:"kt-select-starter-style-tabs-title"},(0,m.__)("Select Initial Style","kadence-blocks")),(0,o.createElement)(v.ButtonGroup,{className:"kt-init-tabs-btn-group","aria-label":(0,m.__)("Initial Style","kadence-blocks")},(0,d.map)(Na,(({name:e,key:t,icon:a})=>(0,o.createElement)(v.Button,{key:t,className:"kt-inital-tabs-style-btn",isSmall:!0,onClick:()=>{(e=>{"skip"===e||("basic"===e?i({style:"basic"}):"card"===e?i({style:"card"}):"bubble"===e?i({style:"bubble"}):"inlineimage"===e&&i({style:"inlineimage"}))})(t),Tt(!1)}},a))))),!_t&&(0,o.createElement)(u.Fragment,null,B&&"carousel"===B&&(0,o.createElement)(l.eB,{options:Ua,ref:$t,"aria-label":(0,m.__)("Testimonial Carousel","kadence-blocks"),className:`splide kt-carousel-arrowstyle-${ue} kt-carousel-dotstyle-${ge}`,hasTrack:!1},(0,o.createElement)(l.v9,{...qa})),B&&"grid"===B&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":le+"px","grid-column-gap":le+"px"}},(0,o.createElement)(g.InnerBlocks,{template:[["kadence/testimonial"]],templateLock:!1,templateInsertUpdatesSelection:!0,allowedBlocks:["kadence/testimonial"]})),L&&G[0].google&&(0,o.createElement)(s.WebfontLoader,{config:Aa}),q&&j[0].google&&(0,o.createElement)(s.WebfontLoader,{config:Ka}),Q&&Y[0].google&&(0,o.createElement)(s.WebfontLoader,{config:Fa}),ie&&ae[0].google&&(0,o.createElement)(s.WebfontLoader,{config:La})))})),w={uniqueID:{type:"string",default:""},style:{type:"string",default:"basic"},layout:{type:"string",default:"grid"},columns:{type:"array",default:[1,1,1,1,1,1]},columnControl:{type:"string",default:"linked"},columnGap:{type:"number",default:30},autoPlay:{type:"boolean",default:!1},autoSpeed:{type:"number",default:7e3},transSpeed:{type:"number",default:400},slidesScroll:{type:"string",default:"1"},arrowStyle:{type:"string",default:"whiteondark"},dotStyle:{type:"string",default:"dark"},hAlign:{type:"string",default:"center"},containerMaxWidth:{type:"number",default:500},containerBackground:{type:"string",default:""},containerBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:["","","",""]},containerBorderRadius:{type:"number",default:""},containerPadding:{type:"array",default:[20,20,20,20]},testimonials:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",subtype:"",media:"image",icon:"fas_quote-left",isize:50,istroke:2,ititle:"",color:"#555555",title:"",content:"",name:"",occupation:"",rating:5}]},mediaStyles:{type:"array",default:[{width:60,backgroundSize:"cover",background:"",backgroundOpacity:1,border:"#555555",borderRadius:"",borderWidth:[0,0,0,0],padding:[0,0,0,0],margin:["","","",""],ratio:""}]},itemsCount:{type:"number",default:1},displayMedia:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleFont:{type:"array",default:[{color:"",level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],margin:[0,0,15,0]}]},displayContent:{type:"boolean",default:!0},contentFont:{type:"array",default:[{color:"#333333",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayName:{type:"boolean",default:!0},nameFont:{type:"array",default:[{color:"#333333",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayOccupation:{type:"boolean",default:!0},occupationFont:{type:"array",default:[{color:"#555555",size:[15,"",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayRating:{type:"boolean",default:!1},ratingStyles:{type:"array",default:[{color:"#ffd700",size:16,margin:[10,0,10,0],iconSpacing:"",icon:"fas_star",stroke:2}]},displayIcon:{type:"boolean",default:!1},iconStyles:{type:"array",default:[{size:30,margin:["","","",""],padding:["","","",""],borderWidth:["","","",""],borderRadius:"",border:"",borderOpacity:1,color:"",background:"",backgroundOpacity:1,title:"",icon:"fas_quote-left",stroke:2}]},displayShadow:{type:"boolean",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:4,vOffset:2}]},containerMinHeight:{type:"array",default:["","",""]},containerVAlign:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},contentMinHeight:{type:"array",default:["","",""]},showPresets:{type:"boolean",default:!0},wrapperPaddingType:{type:"string",default:"px"},wrapperPadding:{type:"array",default:["","","",""]},wrapperTabletPadding:{type:"array",default:["","","",""]},wrapperMobilePadding:{type:"array",default:["","","",""]},tabletContainerPadding:{type:"array",default:["","","",""]},mobileContainerPadding:{type:"array",default:["","","",""]},containerPaddingType:{type:"string",default:"px"},inQueryBlock:{type:"boolean",default:!1},useBlockQuoteTags:{type:"boolean",default:!0}},z=[{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,displayMedia:l,columnGap:d,autoPlay:s,autoSpeed:c,transSpeed:m,slidesScroll:u,arrowStyle:p,dotStyle:v,columns:b,displayIcon:k,iconStyles:h,containerVAlign:f,containerPaddingType:x}=e,w=g.useBlockProps.save({className:y()({"wp-block-kadence-testimonials":!0,[`kt-testimonial-halign-${n}`]:!0,[`kt-testimonial-style-${a}`]:!0,["kt-testimonials-media-"+(l?"on":"off")]:!0,["kt-testimonials-icon-"+(k?"on":"off")]:!0,[`kt-testimonial-columns-${b[0]}`]:!0,[`kt-t-xxl-col-${b[0]}`]:!0,[`kt-t-xl-col-${b[1]}`]:!0,[`kt-t-lg-col-${b[2]}`]:!0,[`kt-t-md-col-${b[3]}`]:!0,[`kt-t-sm-col-${b[4]}`]:!0,[`kt-t-xs-col-${b[5]}`]:!0,[`kt-blocks-testimonials-wrap${t}`]:!0})});return(0,o.createElement)("div",{...w},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${v} kt-carousel-container-arrowstyle-${p}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${p} kt-carousel-dotstyle-${v}`,"data-columns-xxl":b[0],"data-columns-xl":b[1],"data-columns-md":b[2],"data-columns-sm":b[3],"data-columns-xs":b[4],"data-columns-ss":b[5],"data-slider-anim-speed":m,"data-slider-scroll":u,"data-slider-arrows":"none"!==p,"data-slider-dots":"none"!==v,"data-slider-hover-pause":"false","data-slider-auto":s,"data-slider-speed":c},(0,o.createElement)(g.InnerBlocks.Content,null))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":d+"px","grid-column-gap":d+"px"}},(0,o.createElement)(g.InnerBlocks.Content,null)))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:f,displayContent:x,displayName:w,displayMedia:z,displayShadow:E,shadow:S,displayRating:C,ratingStyles:R,displayOccupation:N,containerBackgroundOpacity:W,containerBorderOpacity:O,containerMaxWidth:B,columnGap:_,autoPlay:T,autoSpeed:$,transSpeed:I,slidesScroll:P,arrowStyle:M,dotStyle:A,columns:K,displayIcon:F,iconStyles:L,containerVAlign:G,containerPaddingType:H}=e,D=H||"px",V={boxShadow:E?S[0].hOffset+"px "+S[0].vOffset+"px "+S[0].blur+"px "+S[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==S[0].color&&""!==S[0].color?S[0].color:"#000000",S[0].opacity?S[0].opacity:.2):void 0,borderColor:u?(0,c.KadenceColorOutput)(u,void 0!==O?O:1):(0,c.KadenceColorOutput)("#eeeeee",void 0!==O?O:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==W?W:1):void 0,borderRadius:void 0===v||""===v||isNaN(v)?void 0:v+"px",borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+D:void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+D:void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+D:void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+D:void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===B||""===B?void 0:B+"px"},U=g.useBlockProps.save({className:y()({"wp-block-kadence-testimonials":!0,[`kt-testimonial-halign-${n}`]:!0,[`kt-testimonial-style-${a}`]:!0,["kt-testimonials-media-"+(z?"on":"off")]:!0,["kt-testimonials-icon-"+(F?"on":"off")]:!0,[`kt-testimonial-columns-${K[0]}`]:!0,[`kt-t-xxl-col-${K[0]}`]:!0,[`kt-t-xl-col-${K[1]}`]:!0,[`kt-t-lg-col-${K[2]}`]:!0,[`kt-t-md-col-${K[3]}`]:!0,[`kt-t-sm-col-${K[4]}`]:!0,[`kt-t-xs-col-${K[5]}`]:!0,[`kt-blocks-testimonials-wrap${t}`]:!0,"tns-carousel-wrap":r&&"carousel"==r})}),q=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:L[0].margin?L[0].margin[0]+"px "+L[0].margin[1]+"px "+L[0].margin[2]+"px "+L[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${L[0].icon}`,name:L[0].icon,size:L[0].size,title:L[0].title?L[0].title:"",strokeWidth:"fe"===L[0].icon.substring(0,2)?L[0].stroke:void 0,style:{color:L[0].color?(0,c.KadenceColorOutput)(L[0].color):void 0,borderRadius:void 0!==L[0].borderRadius?L[0].borderRadius+"px":void 0,borderTopWidth:L[0].borderWidth&&void 0!==L[0].borderWidth[0]&&null!==L[0].borderWidth[0]?L[0].borderWidth[0]+"px":void 0,borderRightWidth:L[0].borderWidth&&void 0!==L[0].borderWidth[1]&&null!==L[0].borderWidth[1]?L[0].borderWidth[1]+"px":void 0,borderBottomWidth:L[0].borderWidth&&void 0!==L[0].borderWidth[2]&&null!==L[0].borderWidth[2]?L[0].borderWidth[2]+"px":void 0,borderLeftWidth:L[0].borderWidth&&void 0!==L[0].borderWidth[3]&&null!==L[0].borderWidth[3]?L[0].borderWidth[3]+"px":void 0,background:L[0].background?(0,c.KadenceColorOutput)(L[0].background,void 0!==L[0].backgroundOpacity?L[0].backgroundOpacity:1):void 0,borderColor:L[0].border?(0,c.KadenceColorOutput)(L[0].border,void 0!==L[0].borderOpacity?L[0].borderOpacity:1):void 0,padding:L[0].padding?L[0].padding[0]+"px "+L[0].padding[1]+"px "+L[0].padding[2]+"px "+L[0].padding[3]+"px":""}})),j=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&B>500||k[0].width>600?t=i[e].url:"card"===a&&B<=500&&B>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&B<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},Q=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}${G?" testimonial-valign-"+G:""}`,style:"bubble"!==a&&"inlineimage"!==a?V:{maxWidth:B+"px",paddingTop:F&&L[0].icon&&L[0].margin&&L[0].margin[0]&&L[0].margin[0]<0?Math.abs(L[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?V:void 0},F&&L[0].icon&&"card"!==a&&q(),z&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&j(e),F&&L[0].icon&&"card"===a&&q(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+f[0].level,value:i[e].title})),C&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:R[0].margin?R[0].margin[0]+"px "+R[0].margin[1]+"px "+R[0].margin[2]+"px "+R[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:R[0].size,style:{color:(0,c.KadenceColorOutput)(R[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:R[0].size,style:{color:(0,c.KadenceColorOutput)(R[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:R[0].size,style:{color:(0,c.KadenceColorOutput)(R[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:R[0].size,style:{color:(0,c.KadenceColorOutput)(R[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:R[0].size,style:{color:(0,c.KadenceColorOutput)(R[0].color)}})),x&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i?.[e]?.content}))),(z&&"card"!==a&&"inlineimage"!==a||N||w)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},z&&"card"!==a&&"inlineimage"!==a&&("icon"!==i?.[e]?.media&&i?.[e]?.url||"icon"===i?.[e]?.media&&i?.[e]?.icon)&&j(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},w&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i?.[e]?.name})),N&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i?.[e]?.occupation})))));return(0,o.createElement)("div",{...U},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${A} kt-carousel-container-arrowstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${M} kt-carousel-dotstyle-${A}`,"data-columns-xxl":K[0],"data-columns-xl":K[1],"data-columns-md":K[2],"data-columns-sm":K[3],"data-columns-xs":K[4],"data-columns-ss":K[5],"data-slider-anim-speed":I,"data-slider-scroll":P,"data-slider-arrows":"none"!==M,"data-slider-dots":"none"!==A,"data-slider-hover-pause":"false","data-slider-auto":T,"data-slider-speed":$},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},Q(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":_+"px","grid-column-gap":_+"px"}},(0,d.times)(l,(e=>Q(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F,containerVAlign:L,containerPaddingType:G}=e,H=G||"px",D={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.KadenceColorOutput)(u,void 0!==W?W:1):(0,c.KadenceColorOutput)("#eeeeee",void 0!==W?W:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==N?N:1):void 0,borderRadius:void 0===v||""===v||isNaN(v)?void 0:v+"px",borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+H:void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+H:void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+H:void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+H:void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},V=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?(0,c.KadenceColorOutput)(F[0].color):void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),U=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},q=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}${L?" testimonial-valign-"+L:""}`,style:"bubble"!==a&&"inlineimage"!==a?D:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?D:void 0},K&&F[0].icon&&"card"!==a&&V(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&U(e),K&&F[0].icon&&"card"===a&&V(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i?.[e]?.content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i?.[e]?.media&&i?.[e]?.url||"icon"===i?.[e]?.media&&i?.[e]?.icon)&&U(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i?.[e]?.name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i?.[e]?.occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}${r&&"carousel"===r?" tns-carousel-wrap":""}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M} kt-carousel-container-arrowstyle-${P}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},q(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>q(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F,containerVAlign:L}=e,G={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.KadenceColorOutput)(u,void 0!==W?W:1):(0,c.KadenceColorOutput)("#eeeeee",void 0!==W?W:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==N?N:1):void 0,borderRadius:void 0===v||""===v||isNaN(v)?void 0:v+"px",borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},H=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?(0,c.KadenceColorOutput)(F[0].color):void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),D=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},V=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}${L?" testimonial-valign-"+L:""}`,style:"bubble"!==a&&"inlineimage"!==a?G:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?G:void 0},K&&F[0].icon&&"card"!==a&&H(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),K&&F[0].icon&&"card"===a&&H(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},V(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>V(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F,containerVAlign:L}=e,G={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.KadenceColorOutput)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==N?N:1):void 0,borderRadius:void 0===v||""===v||isNaN(v)?void 0:v+"px",borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},H=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?(0,c.KadenceColorOutput)(F[0].color):void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),D=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},V=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}${L?" testimonial-valign-"+L:""}`,style:"bubble"!==a&&"inlineimage"!==a?G:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?G:void 0},K&&F[0].icon&&"card"!==a&&H(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),K&&F[0].icon&&"card"===a&&H(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},V(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>V(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F,containerVAlign:L}=e,G={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==N?N:1):void 0,borderRadius:isNaN(v)?void 0:v+"px",borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},H=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?(0,c.KadenceColorOutput)(F[0].color):void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),D=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},V=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}${L?" testimonial-valign-"+L:""}`,style:"bubble"!==a&&"inlineimage"!==a?G:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?G:void 0},K&&F[0].icon&&"card"!==a&&H(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),K&&F[0].icon&&"card"===a&&H(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&D(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},V(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>V(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.KadenceColorOutput)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.DeprecatedKadenceColorOutput)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.KadenceColorOutput)(m,void 0!==N?N:1):void 0,borderRadius:v?v+"px":void 0,borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?(0,c.KadenceColorOutput)(F[0].color):void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.KadenceColorOutput)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.KadenceColorOutput)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:(0,c.KadenceColorOutput)(k[0].border),backgroundColor:k[0].background?(0,c.KadenceColorOutput)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?(0,c.KadenceColorOutput)(i[e].color):void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:"url('"+t+"')",backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v?v+"px":void 0,borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingRight:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingLeft:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v?v+"px":void 0,borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,paddingTop:b&&void 0!==b[0]&&""!==b[0]&&null!==b[0]?b[0]+"px":void 0,paddingLeft:b&&void 0!==b[1]&&""!==b[1]&&null!==b[1]?b[1]+"px":void 0,paddingBottom:b&&void 0!==b[2]&&""!==b[2]&&null!==b[2]?b[2]+"px":void 0,paddingRight:b&&void 0!==b[3]&&""!==b[3]&&null!==b[3]?b[3]+"px":void 0,maxWidth:"bubble"===a||"inlineimage"===a||void 0===O||""===O?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius&&""!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v?v+"px":void 0,borderTopWidth:p&&void 0!==p[0]&&""!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]&&""!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]&&""!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]&&""!==p[3]?p[3]+"px":void 0,padding:b?b[0]+"px "+b[1]+"px "+b[2]+"px "+b[3]+"px":"",maxWidth:"bubble"===a||"inlineimage"===a?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v+"px",borderTopWidth:p&&void 0!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]?p[3]+"px":void 0,padding:b?b[0]+"px "+b[1]+"px "+b[2]+"px "+b[3]+"px":"",maxWidth:"bubble"===a||"inlineimage"===a?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item kb-slide-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v+"px",borderTopWidth:p&&void 0!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]?p[3]+"px":void 0,padding:b?b[0]+"px "+b[1]+"px "+b[2]+"px "+b[3]+"px":"",maxWidth:"bubble"===a||"inlineimage"===a?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]&&null!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]&&null!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]&&null!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]&&null!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:"card"!==a||void 0===k[0].ratio&&""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v+"px",borderTopWidth:p&&void 0!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]?p[3]+"px":void 0,padding:b?b[0]+"px "+b[1]+"px "+b[2]+"px "+b[3]+"px":"",maxWidth:"bubble"===a||"inlineimage"===a?void 0:O+"px"},G=e=>(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:void 0!==F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&void 0!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),H=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic",style:{paddingBottom:void 0===k[0].ratio||""===k[0].ratio?void 0:k[0].ratio+"%"}},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:void 0!==k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},D=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&G(),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),K&&F[0].icon&&"card"===a&&G(),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&H(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-t-xxl-col-${A[0]} kt-t-xl-col-${A[1]} kt-t-lg-col-${A[2]} kt-t-md-col-${A[3]} kt-t-sm-col-${A[4]} kt-t-xs-col-${A[5]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item",key:e},D(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>D(e)))))}},{attributes:w,migrate:f,supports:{anchor:!0},save:({attributes:e})=>{const{uniqueID:t,testimonials:i,style:a,hAlign:n,layout:r,itemsCount:l,containerBackground:m,containerBorder:u,containerBorderWidth:p,containerBorderRadius:v,containerPadding:b,mediaStyles:k,displayTitle:h,titleFont:y,displayContent:f,displayName:x,displayMedia:w,displayShadow:z,shadow:E,displayRating:S,ratingStyles:C,displayOccupation:R,containerBackgroundOpacity:N,containerBorderOpacity:W,containerMaxWidth:O,columnGap:B,autoPlay:_,autoSpeed:T,transSpeed:$,slidesScroll:I,arrowStyle:P,dotStyle:M,columns:A,displayIcon:K,iconStyles:F}=e,L={boxShadow:z?E[0].hOffset+"px "+E[0].vOffset+"px "+E[0].blur+"px "+E[0].spread+"px "+(0,c.hexToRGBA)(void 0!==E[0].color&&""!==E[0].color?E[0].color:"#000000",E[0].opacity?E[0].opacity:.2):void 0,borderColor:u?(0,c.hexToRGBA)(u,void 0!==W?W:1):(0,c.hexToRGBA)("#eeeeee",void 0!==W?W:1),background:m?(0,c.hexToRGBA)(m,void 0!==N?N:1):void 0,borderRadius:v+"px",borderTopWidth:p&&void 0!==p[0]?p[0]+"px":void 0,borderRightWidth:p&&void 0!==p[1]?p[1]+"px":void 0,borderBottomWidth:p&&void 0!==p[2]?p[2]+"px":void 0,borderLeftWidth:p&&void 0!==p[3]?p[3]+"px":void 0,padding:b?b[0]+"px "+b[1]+"px "+b[2]+"px "+b[3]+"px":"",maxWidth:"bubble"===a||"inlineimage"===a?void 0:O+"px"},G=e=>{let t=i[e].url;return i[e].sizes&&void 0!==i[e].sizes.thumbnail&&("card"===a&&O>500||k[0].width>600?t=i[e].url:"card"===a&&O<=500&&O>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):"card"===a&&O<=100?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=600&&k[0].width>100?i[e].sizes.large&&i[e].sizes.large.width>1e3&&(t=i[e].sizes.large.url):k[0].width<=100&&k[0].width>75?i[e].sizes.medium&&i[e].sizes.medium.width>200?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url):k[0].width<=75&&(i[e].sizes.thumbnail&&i[e].sizes.thumbnail.width>140?t=i[e].sizes.thumbnail.url:i[e].sizes.medium&&i[e].sizes.medium.width>140?t=i[e].sizes.medium.url:i[e].sizes.large&&i[e].sizes.large.width>200&&(t=i[e].sizes.large.url))),(0,o.createElement)("div",{className:"kt-testimonial-media-wrap"},(0,o.createElement)("div",{className:"kt-testimonial-media-inner-wrap",style:{width:"card"!==a?k[0].width+"px":void 0,borderColor:k[0].border,backgroundColor:k[0].background?(0,c.hexToRGBA)(k[0].background,void 0!==k[0].backgroundOpacity?k[0].backgroundOpacity:1):void 0,borderRadius:k[0].borderRadius?k[0].borderRadius+"px":void 0,borderWidth:k[0].borderWidth?k[0].borderWidth[0]+"px "+k[0].borderWidth[1]+"px "+k[0].borderWidth[2]+"px "+k[0].borderWidth[3]+"px":"",padding:k[0].padding?k[0].padding[0]+"px "+k[0].padding[1]+"px "+k[0].padding[2]+"px "+k[0].padding[3]+"px":"",marginTop:k[0].margin&&""!==k[0].margin[0]?k[0].margin[0]+"px":void 0,marginRight:k[0].margin&&""!==k[0].margin[1]?k[0].margin[1]+"px":void 0,marginBottom:k[0].margin&&""!==k[0].margin[2]?k[0].margin[2]+"px":void 0,marginLeft:k[0].margin&&""!==k[0].margin[3]?k[0].margin[3]+"px":void 0}},(0,o.createElement)("div",{className:"kadence-testimonial-image-intrisic"},"icon"===i[e].media&&i[e].icon&&(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${i[e].icon}`,name:i[e].icon,size:i[e].isize,title:i[e].ititle?i[e].ititle:"",strokeWidth:"fe"===i[e].icon.substring(0,2)?i[e].istroke:void 0,style:{display:"flex",color:i[e].color?i[e].color:void 0}}),"icon"!==i[e].media&&i[e].url&&(0,o.createElement)("div",{className:"kt-testimonial-image",style:{backgroundImage:'url("'+t+'")',backgroundSize:"card"===a?k[0].backgroundSize:void 0,borderRadius:k[0].borderRadius?k[0].borderRadius+"px":void 0}}))))},H=e=>(0,o.createElement)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${e}`,style:"bubble"!==a&&"inlineimage"!==a?L:{maxWidth:O+"px",paddingTop:K&&F[0].icon&&F[0].margin&&F[0].margin[0]&&F[0].margin[0]<0?Math.abs(F[0].margin[0])+"px":void 0}},(0,o.createElement)("div",{className:"kt-testimonial-text-wrap",style:"bubble"===a||"inlineimage"===a?L:void 0},K&&F[0].icon&&"card"!==a&&(0,o.createElement)("div",{className:"kt-svg-testimonial-global-icon-wrap",style:{margin:F[0].margin?F[0].margin[0]+"px "+F[0].margin[1]+"px "+F[0].margin[2]+"px "+F[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${F[0].icon}`,name:F[0].icon,size:F[0].size,title:F[0].title?F[0].title:"",strokeWidth:"fe"===F[0].icon.substring(0,2)?F[0].stroke:void 0,style:{color:F[0].color?F[0].color:void 0,borderRadius:F[0].borderRadius?F[0].borderRadius+"px":void 0,borderTopWidth:F[0].borderWidth&&""!==F[0].borderWidth[0]?F[0].borderWidth[0]+"px":void 0,borderRightWidth:F[0].borderWidth&&""!==F[0].borderWidth[1]?F[0].borderWidth[1]+"px":void 0,borderBottomWidth:F[0].borderWidth&&""!==F[0].borderWidth[2]?F[0].borderWidth[2]+"px":void 0,borderLeftWidth:F[0].borderWidth&&""!==F[0].borderWidth[3]?F[0].borderWidth[3]+"px":void 0,background:F[0].background?(0,c.hexToRGBA)(F[0].background,void 0!==F[0].backgroundOpacity?F[0].backgroundOpacity:1):void 0,borderColor:F[0].border?(0,c.hexToRGBA)(F[0].border,void 0!==F[0].borderOpacity?F[0].borderOpacity:1):void 0,padding:F[0].padding?F[0].padding[0]+"px "+F[0].padding[1]+"px "+F[0].padding[2]+"px "+F[0].padding[3]+"px":""}})),w&&("card"===a||"inlineimage"===a)&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&G(e),h&&(0,o.createElement)("div",{className:"kt-testimonial-title-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-title",tagName:"h"+y[0].level,value:i[e].title})),S&&(0,o.createElement)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${i[e].rating}`,style:{margin:C[0].margin?C[0].margin[0]+"px "+C[0].margin[1]+"px "+C[0].margin[2]+"px "+C[0].margin[3]+"px":""}},(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>1&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>2&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>3&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}}),i[e].rating>4&&(0,o.createElement)(s.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:C[0].size,style:{color:(0,c.KadenceColorOutput)(C[0].color)}})),f&&(0,o.createElement)("div",{className:"kt-testimonial-content-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-content",tagName:"div",value:i[e].content}))),(w&&"card"!==a&&"inlineimage"!==a||R||x)&&(0,o.createElement)("div",{className:"kt-testimonial-meta-wrap"},w&&"card"!==a&&"inlineimage"!==a&&("icon"!==i[e].media&&i[e].url||"icon"===i[e].media&&i[e].icon)&&G(e),(0,o.createElement)("div",{className:"kt-testimonial-meta-name-wrap"},x&&(0,o.createElement)("div",{className:"kt-testimonial-name-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-name",tagName:"div",value:i[e].name})),R&&(0,o.createElement)("div",{className:"kt-testimonial-occupation-wrap"},(0,o.createElement)(g.RichText.Content,{className:"kt-testimonial-occupation",tagName:"div",value:i[e].occupation})))));return(0,o.createElement)("div",{className:`kt-testimonial-halign-${n} kt-testimonial-style-${a} kt-testimonials-media-${w?"on":"off"} kt-testimonials-icon-${K?"on":"off"} kt-testimonial-columns-${A[0]} kt-blocks-testimonials-wrap${t}`},r&&"carousel"===r&&(0,o.createElement)("div",{className:`kt-blocks-carousel kt-carousel-container-dotstyle-${M}`},(0,o.createElement)("div",{className:`kt-blocks-carousel-init kt-carousel-arrowstyle-${P} kt-carousel-dotstyle-${M}`,"data-columns-xxl":A[0],"data-columns-xl":A[1],"data-columns-md":A[2],"data-columns-sm":A[3],"data-columns-xs":A[4],"data-columns-ss":A[5],"data-slider-anim-speed":$,"data-slider-scroll":I,"data-slider-arrows":"none"!==P,"data-slider-dots":"none"!==M,"data-slider-hover-pause":"false","data-slider-auto":_,"data-slider-speed":T},(0,d.times)(l,(e=>(0,o.createElement)("div",{className:"kt-blocks-testimonial-carousel-item",key:e},H(e)))))),r&&"carousel"!==r&&(0,o.createElement)("div",{className:"kt-testimonial-grid-wrap",style:{"grid-row-gap":B+"px","grid-column-gap":B+"px"}},(0,d.times)(l,(e=>H(e)))))}}],{name:E}=n;(0,a.registerBlockType)("kadence/testimonials",{...n,title:(0,m._x)("Testimonials","block title","kadence-blocks"),keywords:[(0,m.__)("testimonials","kadence-blocks"),(0,m.__)("rating","kadence-blocks"),"KB"],icon:{src:r.testimonialBlockIcon},edit:e=>{const{clientId:t}=e,{testimonialBlock:i}=(0,p.useSelect)((e=>{const{getBlock:i}=e("core/block-editor");return{testimonialBlock:i(t)}}),[t]);return(0,o.createElement)(x,{testimonialBlock:i,...e})},save:function({attributes:e}){return(0,o.createElement)(g.InnerBlocks.Content,null)},deprecated:z,example:{}})},2485:(e,t)=>{var i;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var n=typeof i;if("string"===n||"number"===n)e.push(i);else if(Array.isArray(i)){if(i.length){var r=o.apply(null,i);r&&e.push(r)}}else if("object"===n)if(i.toString===Object.prototype.toString)for(var l in i)a.call(i,l)&&i[l]&&e.push(l);else e.push(i.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(i=function(){return o}.apply(t,[]))||(e.exports=i)}()},1609:e=>{"use strict";e.exports=window.React},8468:e=>{"use strict";e.exports=window.lodash},9621:e=>{"use strict";e.exports=window.kadence.components},4510:e=>{"use strict";e.exports=window.kadence.helpers},9091:e=>{"use strict";e.exports=window.kadence.icons},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},i={};function a(e){var o=i[e];if(void 0!==o)return o.exports;var n=i[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.m=t,e=[],a.O=(t,i,o,n)=>{if(!i){var r=1/0;for(c=0;c<e.length;c++){i=e[c][0],o=e[c][1],n=e[c][2];for(var l=!0,d=0;d<i.length;d++)(!1&n||r>=n)&&Object.keys(a.O).every((e=>a.O[e](i[d])))?i.splice(d--,1):(l=!1,n<r&&(r=n));if(l){e.splice(c--,1);var s=o();void 0!==s&&(t=s)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[i,o,n]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={43:0,4602:0,1873:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var o,n,r=i[0],l=i[1],d=i[2],s=0;if(r.some((t=>0!==e[t]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(d)var c=d(a)}for(t&&t(i);s<r.length;s++)n=r[s],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(c)},i=self.webpackChunkkadence=self.webpackChunkkadence||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var o=a.O(void 0,[1873],(()=>a(3549)));o=a.O(o),(this.kadence=this.kadence||{})["blocks-testimonials"]=o})();