HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/digital-smart/main.50b5c743e732ef19f28f.js
/*! For license information please see main.50b5c743e732ef19f28f.js.LICENSE.txt */
(()=>{var e,t,i={122:()=>{window.addEventListener("load",(()=>{const e=document.querySelectorAll(".grid__item");e.forEach((t=>{const i=t.querySelector('[data-action="on"]'),n=t.querySelector('[data-action="off"]');t.addEventListener("mousemove",(()=>{n.style.opacity="0",i.style.opacity="1",e.forEach((e=>{e.querySelector('[data-action="off"]').style.filter="grayscale(1) invert(.3)"}))})),t.addEventListener("mouseout",(()=>{n.style.opacity="1",i.style.opacity="0",e.forEach((e=>{e.querySelector('[data-action="off"]').style.filter="none"}))}))}))}))},77:()=>{window.addEventListener("load",(()=>{const e=document.querySelector(".header"),t=document.querySelectorAll(".dropdown");t&&t.forEach((i=>{const n=i.querySelectorAll(".dropdown__link");n&&(i.addEventListener("mousemove",(()=>{i.classList.add("dropdown_open"),t.forEach((e=>{e.classList.add("dropdown_active")})),e.classList.contains("header_white")?n.forEach((e=>{e.addEventListener("mousemove",(()=>{n.forEach((e=>{e.style.color="rgba(20, 20, 20, 0.5)"})),e.style.color="#141414"})),e.addEventListener("mouseout",(()=>{e.style.color="#141414",n.forEach((e=>{e.style.color="#141414"}))}))})):n.forEach((e=>{e.addEventListener("mousemove",(()=>{n.forEach((e=>{e.style.color="rgba(255, 255, 255, 0.5)"})),e.style.color="white"})),e.addEventListener("mouseout",(()=>{e.style.color="white",n.forEach((e=>{e.style.color="white"}))}))}))})),i.addEventListener("mouseout",(()=>{i.classList.remove("dropdown_open"),t.forEach((e=>{e.classList.remove("dropdown_active")}))})))}))}))},534:()=>{window.addEventListener("load",(()=>{const e=document.querySelector(".lang");if(!e)return;const t=e.querySelector(".lang__btn"),i=e.querySelector(".lang__list");t.addEventListener("mouseover",(()=>{n()})),t.addEventListener("mouseout",(()=>{r()})),i.addEventListener("mouseover",(()=>{n()})),i.addEventListener("mouseout",(()=>{r()}));const n=()=>{e.classList.add("lang_active"),setTimeout((()=>{e.classList.add("lang_animation")}),600)},r=()=>{e.classList.remove("lang_active")}}))},807:()=>{window.addEventListener("load",(()=>{const t=document.querySelector(".cookie");if(!t)return!1;const i=t.querySelector(".cookieButton");let n=localStorage.getItem("cookieConsent");e(n),n?t.classList.remove("active"):(t.classList.add("active"),i.addEventListener("click",(()=>{t.classList.remove("active"),localStorage.setItem("cookieConsent","true"),e(!0)})))}));const e=e=>{const t=document.body;t&&(e?t.classList.remove("cookieUse"):t.classList.add("cookieUse"))}},92:(e,t,i)=>{"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,{i:()=>Rt});var r,s,a,o,l,c,d,u,p,h,f,m,g=function(){return r||"undefined"!=typeof window&&(r=window.gsap)&&r.registerPlugin&&r},v=1,y=[],_=[],w=[],b=Date.now,C=function(e,t){return t},T=function(e,t){return~w.indexOf(e)&&w[w.indexOf(e)+1][t]},x=function(e){return!!~h.indexOf(e)},S=function(e,t,i,n,r){return e.addEventListener(t,i,{passive:!n,capture:!!r})},E=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},k=function(){return f&&f.isPressed||_.cache++},L=function(e,t){var i=function i(n){if(n||0===n){v&&(a.history.scrollRestoration="manual");var r=f&&f.isPressed;n=i.v=Math.round(n)||(f&&f.iOS?1:0),e(n),i.cacheID=_.cache,r&&C("ss",n)}else(t||_.cache!==i.cacheID||C("ref"))&&(i.cacheID=_.cache,i.v=e());return i.v+i.offset};return i.offset=0,e&&i},M={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:L((function(e){return arguments.length?a.scrollTo(e,P.sc()):a.pageXOffset||o.scrollLeft||l.scrollLeft||c.scrollLeft||0}))},P={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:M,sc:L((function(e){return arguments.length?a.scrollTo(M.sc(),e):a.pageYOffset||o.scrollTop||l.scrollTop||c.scrollTop||0}))},O=function(e){return r.utils.toArray(e)[0]||("string"==typeof e&&!1!==r.config().nullTargetWarn?console.warn("Element not found:",e):null)},I=function(e,t){var i=t.s,n=t.sc;x(e)&&(e=o.scrollingElement||l);var s=_.indexOf(e),a=n===P.sc?1:2;!~s&&(s=_.push(e)-1),_[s+a]||e.addEventListener("scroll",k);var c=_[s+a],d=c||(_[s+a]=L(T(e,i),!0)||(x(e)?n:L((function(t){return arguments.length?e[i]=t:e[i]}))));return d.target=e,c||(d.smooth="smooth"===r.getProperty(e,"scrollBehavior")),d},A=function(e,t,i){var n=e,r=e,s=b(),a=s,o=t||50,l=Math.max(500,3*o),c=function(e,t){var l=b();t||l-s>o?(r=n,n=e,a=s,s=l):i?n+=e:n=r+(e-r)/(l-a)*(s-a)};return{update:c,reset:function(){r=n=i?0:n,a=s=0},getVelocity:function(e){var t=a,o=r,d=b();return(e||0===e)&&e!==n&&c(e),s===a||d-a>l?0:(n+(i?o:-o))/((i?d:s)-t)*1e3}}},D=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},$=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},z=function(){var e,t,i,n;(p=r.core.globals().ScrollTrigger)&&p.core&&(e=p.core,t=e.bridge||{},i=e._scrollers,n=e._proxies,i.push.apply(i,_),n.push.apply(n,w),_=i,w=n,C=function(e,i){return t[e](i)})},F=function(e){return(r=e||g())&&"undefined"!=typeof document&&document.body&&(a=window,o=document,l=o.documentElement,c=o.body,h=[a,o,l,c],r.utils.clamp,u="onpointerenter"in c?"pointer":"mouse",d=B.isTouch=a.matchMedia&&a.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in a||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,m=B.eventTypes=("ontouchstart"in l?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in l?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return v=0}),500),z(),s=1),s};M.op=P,_.cache=0;var B=function(){function e(e){this.init(e)}var t,i;return e.prototype.init=function(e){s||F(r)||console.warn("Please gsap.registerPlugin(Observer)"),p||z();var t=e.tolerance,i=e.dragMinimum,n=e.type,h=e.target,g=e.lineHeight,v=e.debounce,_=e.preventDefault,w=e.onStop,C=e.onStopDelay,T=e.ignore,L=e.wheelSpeed,B=e.event,N=e.onDragStart,q=e.onDragEnd,R=e.onDrag,G=e.onPress,j=e.onRelease,H=e.onRight,V=e.onLeft,Y=e.onUp,U=e.onDown,W=e.onChangeX,X=e.onChangeY,K=e.onChange,Q=e.onToggleX,Z=e.onToggleY,J=e.onHover,ee=e.onHoverEnd,te=e.onMove,ie=e.ignoreCheck,ne=e.isNormalizer,re=e.onGestureStart,se=e.onGestureEnd,ae=e.onWheel,oe=e.onEnable,le=e.onDisable,ce=e.onClick,de=e.scrollSpeed,ue=e.capture,pe=e.allowClicks,he=e.lockAxis,fe=e.onLockAxis;this.target=h=O(h)||l,this.vars=e,T&&(T=r.utils.toArray(T)),t=t||1e-9,i=i||0,L=L||1,de=de||1,n=n||"wheel,touch,pointer",v=!1!==v,g||(g=parseFloat(a.getComputedStyle(c).lineHeight)||22);var me,ge,ve,ye,_e,we,be,Ce=this,Te=0,xe=0,Se=I(h,M),Ee=I(h,P),ke=Se(),Le=Ee(),Me=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===m[0],Pe=x(h),Oe=h.ownerDocument||o,Ie=[0,0,0],Ae=[0,0,0],De=0,$e=function(){return De=b()},ze=function(e,t){return(Ce.event=e)&&T&&~T.indexOf(e.target)||t&&Me&&"touch"!==e.pointerType||ie&&ie(e,t)},Fe=function(){var e=Ce.deltaX=$(Ie),i=Ce.deltaY=$(Ae),n=Math.abs(e)>=t,r=Math.abs(i)>=t;K&&(n||r)&&K(Ce,e,i,Ie,Ae),n&&(H&&Ce.deltaX>0&&H(Ce),V&&Ce.deltaX<0&&V(Ce),W&&W(Ce),Q&&Ce.deltaX<0!=Te<0&&Q(Ce),Te=Ce.deltaX,Ie[0]=Ie[1]=Ie[2]=0),r&&(U&&Ce.deltaY>0&&U(Ce),Y&&Ce.deltaY<0&&Y(Ce),X&&X(Ce),Z&&Ce.deltaY<0!=xe<0&&Z(Ce),xe=Ce.deltaY,Ae[0]=Ae[1]=Ae[2]=0),(ye||ve)&&(te&&te(Ce),ve&&(R(Ce),ve=!1),ye=!1),we&&!(we=!1)&&fe&&fe(Ce),_e&&(ae(Ce),_e=!1),me=0},Be=function(e,t,i){Ie[i]+=e,Ae[i]+=t,Ce._vx.update(e),Ce._vy.update(t),v?me||(me=requestAnimationFrame(Fe)):Fe()},Ne=function(e,t){he&&!be&&(Ce.axis=be=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==be&&(Ie[2]+=e,Ce._vx.update(e,!0)),"x"!==be&&(Ae[2]+=t,Ce._vy.update(t,!0)),v?me||(me=requestAnimationFrame(Fe)):Fe()},qe=function(e){if(!ze(e,1)){var t=(e=D(e,_)).clientX,n=e.clientY,r=t-Ce.x,s=n-Ce.y,a=Ce.isDragging;Ce.x=t,Ce.y=n,(a||Math.abs(Ce.startX-t)>=i||Math.abs(Ce.startY-n)>=i)&&(R&&(ve=!0),a||(Ce.isDragging=!0),Ne(r,s),a||N&&N(Ce))}},Re=Ce.onPress=function(e){ze(e,1)||(Ce.axis=be=null,ge.pause(),Ce.isPressed=!0,e=D(e),Te=xe=0,Ce.startX=Ce.x=e.clientX,Ce.startY=Ce.y=e.clientY,Ce._vx.reset(),Ce._vy.reset(),S(ne?h:Oe,m[1],qe,_,!0),Ce.deltaX=Ce.deltaY=0,G&&G(Ce))},Ge=function(e){if(!ze(e,1)){E(ne?h:Oe,m[1],qe,!0);var t=Ce.isDragging&&(Math.abs(Ce.x-Ce.startX)>3||Math.abs(Ce.y-Ce.startY)>3),i=D(e);t||(Ce._vx.reset(),Ce._vy.reset(),_&&pe&&r.delayedCall(.08,(function(){if(b()-De>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(Oe.createEvent){var t=Oe.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,a,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),Ce.isDragging=Ce.isGesturing=Ce.isPressed=!1,w&&!ne&&ge.restart(!0),q&&t&&q(Ce),j&&j(Ce,t)}},je=function(e){return e.touches&&e.touches.length>1&&(Ce.isGesturing=!0)&&re(e,Ce.isDragging)},He=function(){return(Ce.isGesturing=!1)||se(Ce)},Ve=function(e){if(!ze(e)){var t=Se(),i=Ee();Be((t-ke)*de,(i-Le)*de,1),ke=t,Le=i,w&&ge.restart(!0)}},Ye=function(e){if(!ze(e)){e=D(e,_),ae&&(_e=!0);var t=(1===e.deltaMode?g:2===e.deltaMode?a.innerHeight:1)*L;Be(e.deltaX*t,e.deltaY*t,0),w&&!ne&&ge.restart(!0)}},Ue=function(e){if(!ze(e)){var t=e.clientX,i=e.clientY,n=t-Ce.x,r=i-Ce.y;Ce.x=t,Ce.y=i,ye=!0,(n||r)&&Ne(n,r)}},We=function(e){Ce.event=e,J(Ce)},Xe=function(e){Ce.event=e,ee(Ce)},Ke=function(e){return ze(e)||D(e,_)&&ce(Ce)};ge=Ce._dc=r.delayedCall(C||.25,(function(){Ce._vx.reset(),Ce._vy.reset(),ge.pause(),w&&w(Ce)})).pause(),Ce.deltaX=Ce.deltaY=0,Ce._vx=A(0,50,!0),Ce._vy=A(0,50,!0),Ce.scrollX=Se,Ce.scrollY=Ee,Ce.isDragging=Ce.isGesturing=Ce.isPressed=!1,Ce.enable=function(e){return Ce.isEnabled||(S(Pe?Oe:h,"scroll",k),n.indexOf("scroll")>=0&&S(Pe?Oe:h,"scroll",Ve,_,ue),n.indexOf("wheel")>=0&&S(h,"wheel",Ye,_,ue),(n.indexOf("touch")>=0&&d||n.indexOf("pointer")>=0)&&(S(h,m[0],Re,_,ue),S(Oe,m[2],Ge),S(Oe,m[3],Ge),pe&&S(h,"click",$e,!1,!0),ce&&S(h,"click",Ke),re&&S(Oe,"gesturestart",je),se&&S(Oe,"gestureend",He),J&&S(h,u+"enter",We),ee&&S(h,u+"leave",Xe),te&&S(h,u+"move",Ue)),Ce.isEnabled=!0,e&&e.type&&Re(e),oe&&oe(Ce)),Ce},Ce.disable=function(){Ce.isEnabled&&(y.filter((function(e){return e!==Ce&&x(e.target)})).length||E(Pe?Oe:h,"scroll",k),Ce.isPressed&&(Ce._vx.reset(),Ce._vy.reset(),E(ne?h:Oe,m[1],qe,!0)),E(Pe?Oe:h,"scroll",Ve,ue),E(h,"wheel",Ye,ue),E(h,m[0],Re,ue),E(Oe,m[2],Ge),E(Oe,m[3],Ge),E(h,"click",$e,!0),E(h,"click",Ke),E(Oe,"gesturestart",je),E(Oe,"gestureend",He),E(h,u+"enter",We),E(h,u+"leave",Xe),E(h,u+"move",Ue),Ce.isEnabled=Ce.isPressed=Ce.isDragging=!1,le&&le(Ce))},Ce.kill=function(){Ce.disable();var e=y.indexOf(Ce);e>=0&&y.splice(e,1),f===Ce&&(f=0)},y.push(Ce),ne&&x(h)&&(f=Ce),Ce.enable(B)},t=e,(i=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&n(t.prototype,i),e}();B.version="3.11.3",B.create=function(e){return new B(e)},B.register=F,B.getAll=function(){return y.slice()},B.getById=function(e){return y.filter((function(t){return t.vars.id===e}))[0]},g()&&r.registerPlugin(B);var N,q,R,G,j,H,V,Y,U,W,X,K,Q,Z,J,ee,te,ie,ne,re,se,ae,oe,le,ce,de,ue,pe,he,fe,me,ge,ve,ye,_e=1,we=Date.now,be=we(),Ce=0,Te=0,xe=function(){return Z=1},Se=function(){return Z=0},Ee=function(e){return e},ke=function(e){return Math.round(1e5*e)/1e5||0},Le=function(){return"undefined"!=typeof window},Me=function(){return N||Le()&&(N=window.gsap)&&N.registerPlugin&&N},Pe=function(e){return!!~V.indexOf(e)},Oe=function(e){return T(e,"getBoundingClientRect")||(Pe(e)?function(){return zt.width=R.innerWidth,zt.height=R.innerHeight,zt}:function(){return Qe(e)})},Ie=function(e,t){var i=t.s,n=t.d2,r=t.d,s=t.a;return(i="scroll"+n)&&(s=T(e,i))?s()-Oe(e)()[r]:Pe(e)?(j[i]||H[i])-(R["inner"+n]||j["client"+n]||H["client"+n]):e[i]-e["offset"+n]},Ae=function(e,t){for(var i=0;i<ne.length;i+=3)(!t||~t.indexOf(ne[i+1]))&&e(ne[i],ne[i+1],ne[i+2])},De=function(e){return"string"==typeof e},$e=function(e){return"function"==typeof e},ze=function(e){return"number"==typeof e},Fe=function(e){return"object"==typeof e},Be=function(e,t,i){return e&&e.progress(t?0:1)&&i&&e.pause()},Ne=function(e,t){if(e.enabled){var i=t(e);i&&i.totalTime&&(e.callbackAnimation=i)}},qe=Math.abs,Re="right",Ge="bottom",je="width",He="height",Ve="padding",Ye="margin",Ue="Width",We="px",Xe=function(e){return R.getComputedStyle(e)},Ke=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Qe=function(e,t){var i=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Xe(e)[J]&&N.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return i&&i.progress(0).kill(),n},Ze=function(e,t){var i=t.d2;return e["offset"+i]||e["client"+i]||0},Je=function(e){var t,i=[],n=e.labels,r=e.duration();for(t in n)i.push(n[t]/r);return i},et=function(e){var t=N.utils.snap(e),i=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return i?function(e,n,r){var s;if(void 0===r&&(r=.001),!n)return t(e);if(n>0){for(e-=r,s=0;s<i.length;s++)if(i[s]>=e)return i[s];return i[s-1]}for(s=i.length,e+=r;s--;)if(i[s]<=e)return i[s];return i[0]}:function(i,n,r){void 0===r&&(r=.001);var s=t(i);return!n||Math.abs(s-i)<r||s-i<0==n<0?s:t(n<0?i-e:i+e)}},tt=function(e,t,i,n){return i.split(",").forEach((function(i){return e(t,i,n)}))},it=function(e,t,i,n,r){return e.addEventListener(t,i,{passive:!n,capture:!!r})},nt=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},rt=function(e,t,i){return i&&i.wheelHandler&&e(t,"wheel",i)},st={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},at={toggleActions:"play",anticipatePin:0},ot={top:0,left:0,center:.5,bottom:1,right:1},lt=function(e,t){if(De(e)){var i=e.indexOf("="),n=~i?+(e.charAt(i-1)+1)*parseFloat(e.substr(i+1)):0;~i&&(e.indexOf("%")>i&&(n*=t/100),e=e.substr(0,i-1)),e=n+(e in ot?ot[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ct=function(e,t,i,n,r,s,a,o){var l=r.startColor,c=r.endColor,d=r.fontSize,u=r.indent,p=r.fontWeight,h=G.createElement("div"),f=Pe(i)||"fixed"===T(i,"pinType"),m=-1!==e.indexOf("scroller"),g=f?H:i,v=-1!==e.indexOf("start"),y=v?l:c,_="border-color:"+y+";font-size:"+d+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((m||o)&&f?"fixed;":"absolute;"),(m||o||!f)&&(_+=(n===P?Re:Ge)+":"+(s+parseFloat(u))+"px;"),a&&(_+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),h._isStart=v,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=_,h.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(h,g.children[0]):g.appendChild(h),h._offset=h["offset"+n.op.d2],dt(h,0,n,v),h},dt=function(e,t,i,n){var r={display:"block"},s=i[n?"os2":"p2"],a=i[n?"p2":"os2"];e._isFlipped=n,r[i.a+"Percent"]=n?-100:0,r[i.a]=n?"1px":0,r["border"+s+Ue]=1,r["border"+a+Ue]=0,r[i.p]=t+"px",N.set(e,r)},ut=[],pt={},ht=function(){return we()-Ce>34&&(me||(me=requestAnimationFrame(Mt)))},ft=function(){(!oe||!oe.isPressed||oe.startX>H.clientWidth)&&(_.cache++,oe?me||(me=requestAnimationFrame(Mt)):Mt(),Ce||wt("scrollStart"),Ce=we())},mt=function(){de=R.innerWidth,ce=R.innerHeight},gt=function(){_.cache++,!Q&&!ae&&!G.fullscreenElement&&!G.webkitFullscreenElement&&(!le||de!==R.innerWidth||Math.abs(R.innerHeight-ce)>.25*R.innerHeight)&&Y.restart(!0)},vt={},yt=[],_t=function e(){return nt(Rt,"scrollEnd",e)||Et(!0)},wt=function(e){return vt[e]&&vt[e].map((function(e){return e()}))||yt},bt=[],Ct=function(e){for(var t=0;t<bt.length;t+=5)(!e||bt[t+4]&&bt[t+4].query===e)&&(bt[t].style.cssText=bt[t+1],bt[t].getBBox&&bt[t].setAttribute("transform",bt[t+2]||""),bt[t+3].uncache=1)},Tt=function(e,t){var i;for(ee=0;ee<ut.length;ee++)!(i=ut[ee])||t&&i._ctx!==t||(e?i.kill(1):i.revert(!0,!0));t&&Ct(t),t||wt("revert")},xt=function(e,t){_.cache++,(t||!ge)&&_.forEach((function(e){return $e(e)&&e.cacheID++&&(e.rec=0)})),De(e)&&(R.history.scrollRestoration=he=e)},St=0,Et=function(e,t){if(!Ce||e){ge=Rt.isRefreshing=!0,_.forEach((function(e){return $e(e)&&e.cacheID++&&(e.rec=e())}));var i=wt("refreshInit");re&&Rt.sort(),t||Tt(),_.forEach((function(e){$e(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),ut.slice(0).forEach((function(e){return e.refresh()})),ut.forEach((function(e,t){if(e._subPinOffset&&e.pin){var i=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[i];e.revert(!0,1),e.adjustPinSpacing(e.pin[i]-n),e.revert(!1,1)}})),ut.forEach((function(e){return"max"===e.vars.end&&e.setPositions(e.start,Math.max(e.start+1,Ie(e.scroller,e._dir)))})),i.forEach((function(e){return e&&e.render&&e.render(-1)})),_.forEach((function(e){$e(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),xt(he,1),Y.pause(),St++,Mt(2),ut.forEach((function(e){return $e(e.vars.onRefresh)&&e.vars.onRefresh(e)})),ge=Rt.isRefreshing=!1,wt("refresh")}else it(Rt,"scrollEnd",_t)},kt=0,Lt=1,Mt=function(e){if(!ge||2===e){Rt.isUpdating=!0,ye&&ye.update(0);var t=ut.length,i=we(),n=i-be>=50,r=t&&ut[0].scroll();if(Lt=kt>r?-1:1,kt=r,n&&(Ce&&!Z&&i-Ce>200&&(Ce=0,wt("scrollEnd")),X=be,be=i),Lt<0){for(ee=t;ee-- >0;)ut[ee]&&ut[ee].update(0,n);Lt=1}else for(ee=0;ee<t;ee++)ut[ee]&&ut[ee].update(0,n);Rt.isUpdating=!1}me=0},Pt=["left","top",Ge,Re,"marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ot=Pt.concat([je,He,"boxSizing","maxWidth","maxHeight","position",Ye,Ve,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),It=function(e,t,i,n){if(!e._gsap.swappedIn){for(var r,s=Pt.length,a=t.style,o=e.style;s--;)a[r=Pt[s]]=i[r];a.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(a.display="inline-block"),o.bottom=o.right="auto",a.flexBasis=i.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a.width=Ze(e,M)+We,a.height=Ze(e,P)+We,a.padding=o.margin=o.top=o.left="0",Dt(n),o.width=o.maxWidth=i.width,o.height=o.maxHeight=i.height,o.padding=i.padding,e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},At=/([A-Z])/g,Dt=function(e){if(e){var t,i,n=e.t.style,r=e.length,s=0;for((e.t._gsap||N.core.getCache(e.t)).uncache=1;s<r;s+=2)i=e[s+1],t=e[s],i?n[t]=i:n[t]&&n.removeProperty(t.replace(At,"-$1").toLowerCase())}},$t=function(e){for(var t=Ot.length,i=e.style,n=[],r=0;r<t;r++)n.push(Ot[r],i[Ot[r]]);return n.t=e,n},zt={left:0,top:0},Ft=function(e,t,i,n,r,s,a,o,l,c,d,u,p){$e(e)&&(e=e(o)),De(e)&&"max"===e.substr(0,3)&&(e=u+("="===e.charAt(4)?lt("0"+e.substr(3),i):0));var h,f,m,g=p?p.time():0;if(p&&p.seek(0),ze(e))a&&dt(a,i,n,!0);else{$e(t)&&(t=t(o));var v,y,_,w,b=(e||"0").split(" ");m=O(t)||H,(v=Qe(m)||{})&&(v.left||v.top)||"none"!==Xe(m).display||(w=m.style.display,m.style.display="block",v=Qe(m),w?m.style.display=w:m.style.removeProperty("display")),y=lt(b[0],v[n.d]),_=lt(b[1]||"0",i),e=v[n.p]-l[n.p]-c+y+r-_,a&&dt(a,_,n,i-_<20||a._isStart&&_>20),i-=i-_}if(s){var C=e+i,T=s._isStart;h="scroll"+n.d2,dt(s,C,n,T&&C>20||!T&&(d?Math.max(H[h],j[h]):s.parentNode[h])<=C+1),d&&(l=Qe(a),d&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+We))}return p&&m&&(h=Qe(m),p.seek(u),f=Qe(m),p._caScrollDist=h[n.p]-f[n.p],e=e/p._caScrollDist*u),p&&p.seek(g),p?e:Math.round(e)},Bt=/(webkit|moz|length|cssText|inset)/i,Nt=function(e,t,i,n){if(e.parentNode!==t){var r,s,a=e.style;if(t===H){for(r in e._stOrig=a.cssText,s=Xe(e))+r||Bt.test(r)||!s[r]||"string"!=typeof a[r]||"0"===r||(a[r]=s[r]);a.top=i,a.left=n}else a.cssText=e._stOrig;N.core.getCache(e).uncache=1,t.appendChild(e)}},qt=function(e,t){var i,n,r=I(e,t),s="_scroll"+t.p2,a=function t(a,o,l,c,d){var u=t.tween,p=o.onComplete,h={};return l=l||r(),d=c&&d||0,c=c||a-l,u&&u.kill(),i=Math.round(l),o[s]=a,o.modifiers=h,h[s]=function(e){return(e=Math.round(r()))!==i&&e!==n&&Math.abs(e-i)>3&&Math.abs(e-n)>3?(u.kill(),t.tween=0):e=l+c*u.ratio+d*u.ratio*u.ratio,n=i,i=Math.round(e)},o.onComplete=function(){t.tween=0,p&&p.call(u)},u=t.tween=N.to(e,o)};return e[s]=r,r.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},it(e,"wheel",r.wheelHandler),a},Rt=function(){function e(t,i){q||e.register(N)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,i)}return e.prototype.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Te){var n,r,s,a,o,l,c,d,u,p,h,f,m,g,v,y,b,C,x,S,E,k,L,A,D,$,z,F,B,q,V,Y,K,J,te,ie,ne,ae,oe,le,ce,de=t=Ke(De(t)||ze(t)||t.nodeType?{trigger:t}:t,at),ue=de.onUpdate,he=de.toggleClass,me=de.id,be=de.onToggle,xe=de.onRefresh,Se=de.scrub,Le=de.trigger,Me=de.pin,Ae=de.pinSpacing,Re=de.invalidateOnRefresh,Ge=de.anticipatePin,je=de.onScrubComplete,He=de.onSnapComplete,tt=de.once,rt=de.snap,ot=de.pinReparent,dt=de.pinSpacer,ht=de.containerAnimation,mt=de.fastScrollEnd,vt=de.preventOverlaps,yt=t.horizontal||t.containerAnimation&&!1!==t.horizontal?M:P,wt=!Se&&0!==Se,bt=O(t.scroller||R),Ct=N.core.getCache(bt),Tt=Pe(bt),xt="fixed"===("pinType"in t?t.pinType:T(bt,"pinType")||Tt&&"fixed"),kt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Mt=wt&&t.toggleActions.split(" "),Pt="markers"in t?t.markers:at.markers,Ot=Tt?0:parseFloat(Xe(bt)["border"+yt.p2+Ue])||0,At=this,Bt=t.onRefreshInit&&function(){return t.onRefreshInit(At)},Rt=function(e,t,i){var n=i.d,r=i.d2,s=i.a;return(s=T(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?R["inner"+r]:e["client"+r])||0}}(bt,Tt,yt),Gt=function(e,t){return!t||~w.indexOf(e)?Oe(e):function(){return zt}}(bt,Tt),jt=0,Ht=0,Vt=I(bt,yt);if(pe(At),At._dir=yt,Ge*=45,At.scroller=bt,At.scroll=ht?ht.time.bind(ht):Vt,a=Vt(),At.vars=t,i=i||t.animation,"refreshPriority"in t&&(re=1,-9999===t.refreshPriority&&(ye=At)),Ct.tweenScroll=Ct.tweenScroll||{top:qt(bt,P),left:qt(bt,M)},At.tweenTo=n=Ct.tweenScroll[yt.p],At.scrubDuration=function(e){(V=ze(e)&&e)?q?q.duration(e):q=N.to(i,{ease:"expo",totalProgress:"+=0.001",duration:V,paused:!0,onComplete:function(){return je&&je(At)}}):(q&&q.progress(1).kill(),q=0)},i&&(i.vars.lazy=!1,i._initted||!1!==i.vars.immediateRender&&!1!==t.immediateRender&&i.duration()&&i.render(0,!0,!0),At.animation=i.pause(),i.scrollTrigger=At,At.scrubDuration(Se),F=0,me||(me=i.vars.id)),ut.push(At),rt&&(Fe(rt)&&!rt.push||(rt={snapTo:rt}),"scrollBehavior"in H.style&&N.set(Tt?[H,j]:bt,{scrollBehavior:"auto"}),_.forEach((function(e){return $e(e)&&e.target===(Tt?G.scrollingElement||j:bt)&&(e.smooth=!1)})),s=$e(rt.snapTo)?rt.snapTo:"labels"===rt.snapTo?function(e){return function(t){return N.utils.snap(Je(e),t)}}(i):"labelsDirectional"===rt.snapTo?(oe=i,function(e,t){return et(Je(oe))(e,t.direction)}):!1!==rt.directional?function(e,t){return et(rt.snapTo)(e,we()-Ht<500?0:t.direction)}:N.utils.snap(rt.snapTo),Y=rt.duration||{min:.1,max:2},Y=Fe(Y)?W(Y.min,Y.max):W(Y,Y),K=N.delayedCall(rt.delay||V/2||.1,(function(){var e=Vt(),t=we()-Ht<500,r=n.tween;if(!(t||Math.abs(At.getVelocity())<10)||r||Z||jt===e)At.isActive&&jt!==e&&K.restart(!0);else{var a=(e-l)/m,o=i&&!wt?i.totalProgress():a,d=t?0:(o-B)/(we()-X)*1e3||0,u=N.utils.clamp(-a,1-a,qe(d/2)*d/.185),p=a+(!1===rt.inertia?0:u),h=W(0,1,s(p,At)),f=Math.round(l+h*m),g=rt,v=g.onStart,y=g.onInterrupt,_=g.onComplete;if(e<=c&&e>=l&&f!==e){if(r&&!r._initted&&r.data<=qe(f-e))return;!1===rt.inertia&&(u=h-a),n(f,{duration:Y(qe(.185*Math.max(qe(p-o),qe(h-o))/d/.05||0)),ease:rt.ease||"power3",data:qe(f-e),onInterrupt:function(){return K.restart(!0)&&y&&y(At)},onComplete:function(){At.update(),jt=Vt(),F=B=i&&!wt?i.totalProgress():At.progress,He&&He(At),_&&_(At)}},e,u*m,f-e-u*m),v&&v(At,n.tween)}}})).pause()),me&&(pt[me]=At),(ae=(Le=At.trigger=O(Le||Me))&&Le._gsap&&Le._gsap.stRevert)&&(ae=ae(At)),Me=!0===Me?Le:O(Me),De(he)&&(he={targets:Le,className:he}),Me&&(!1===Ae||Ae===Ye||(Ae=!(!Ae&&Me.parentNode&&Me.parentNode.style&&"flex"===Xe(Me.parentNode).display)&&Ve),At.pin=Me,(r=N.core.getCache(Me)).spacer?g=r.pinState:(dt&&((dt=O(dt))&&!dt.nodeType&&(dt=dt.current||dt.nativeElement),r.spacerIsNative=!!dt,dt&&(r.spacerState=$t(dt))),r.spacer=b=dt||G.createElement("div"),b.classList.add("pin-spacer"),me&&b.classList.add("pin-spacer-"+me),r.pinState=g=$t(Me)),!1!==t.force3D&&N.set(Me,{force3D:!0}),At.spacer=b=r.spacer,z=Xe(Me),L=z[Ae+yt.os2],x=N.getProperty(Me),S=N.quickSetter(Me,yt.a,We),It(Me,b,z),y=$t(Me)),Pt){f=Fe(Pt)?Ke(Pt,st):st,p=ct("scroller-start",me,bt,yt,f,0),h=ct("scroller-end",me,bt,yt,f,0,p),C=p["offset"+yt.op.d2];var Yt=O(T(bt,"content")||bt);d=this.markerStart=ct("start",me,Yt,yt,f,C,0,ht),u=this.markerEnd=ct("end",me,Yt,yt,f,C,0,ht),ht&&(ne=N.quickSetter([d,u],yt.a,We)),xt||w.length&&!0===T(bt,"fixedMarkers")||(ce=Xe(le=Tt?H:bt).position,le.style.position="absolute"===ce||"fixed"===ce?ce:"relative",N.set([p,h],{force3D:!0}),D=N.quickSetter(p,yt.a,We),$=N.quickSetter(h,yt.a,We))}if(ht){var Ut=ht.vars.onUpdate,Wt=ht.vars.onUpdateParams;ht.eventCallback("onUpdate",(function(){At.update(0,0,1),Ut&&Ut.apply(Wt||[])}))}At.previous=function(){return ut[ut.indexOf(At)-1]},At.next=function(){return ut[ut.indexOf(At)+1]},At.revert=function(e,t){if(!t)return At.kill(!0);var n=!1!==e||!At.enabled,r=Q;n!==At.isReverted&&(n&&(te=Math.max(Vt(),At.scroll.rec||0),J=At.progress,ie=i&&i.progress()),d&&[d,u,p,h].forEach((function(e){return e.style.display=n?"none":"block"})),n&&(Q=1,At.update(n)),Me&&(n?function(e,t,i){Dt(i);var n=e._gsap;if(n.spacerIsNative)Dt(n.spacerState);else if(e._gsap.swappedIn){var r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1}(Me,b,g):(!ot||!At.isActive)&&It(Me,b,Xe(Me),A)),n||At.update(n),Q=r,At.isReverted=n)},At.refresh=function(r,s){if(!Q&&At.enabled||s)if(Me&&r&&Ce)it(e,"scrollEnd",_t);else{!ge&&Bt&&Bt(At),Q=1,Ht=we(),n.tween&&(n.tween.kill(),n.tween=0),q&&q.pause(),Re&&i&&i.revert({kill:!1}).invalidate(),At.isReverted||At.revert(!0,!0),At._subPinOffset=!1;for(var f,_,w,C,T,S,L,D,$,z,F=Rt(),B=Gt(),R=ht?ht.duration():Ie(bt,yt),G=0,j=0,V=t.end,Y=t.endTrigger||Le,U=t.start||(0!==t.start&&Le?Me?"0 0":"0 100%":0),W=At.pinnedContainer=t.pinnedContainer&&O(t.pinnedContainer),X=Le&&Math.max(0,ut.indexOf(At))||0,Z=X;Z--;)(S=ut[Z]).end||S.refresh(0,1)||(Q=1),!(L=S.pin)||L!==Le&&L!==Me||S.isReverted||(z||(z=[]),z.unshift(S),S.revert(!0,!0)),S!==ut[Z]&&(X--,Z--);for($e(U)&&(U=U(At)),l=Ft(U,Le,F,yt,Vt(),d,p,At,B,Ot,xt,R,ht)||(Me?-.001:0),$e(V)&&(V=V(At)),De(V)&&!V.indexOf("+=")&&(~V.indexOf(" ")?V=(De(U)?U.split(" ")[0]:"")+V:(G=lt(V.substr(2),F),V=De(U)?U:l+G,Y=Le)),c=Math.max(l,Ft(V||(Y?"100% 0":R),Y,F,yt,Vt()+G,u,h,At,B,Ot,xt,R,ht))||-.001,m=c-l||(l-=.01)&&.001,G=0,Z=X;Z--;)(L=(S=ut[Z]).pin)&&S.start-S._pinPush<=l&&!ht&&S.end>0&&(f=S.end-S.start,(L===Le&&S.start-S._pinPush<l||L===W)&&!ze(U)&&(G+=f*(1-S.progress)),L===Me&&(j+=f));if(l+=G,c+=G,At._pinPush=j,d&&G&&((f={})[yt.a]="+="+G,W&&(f[yt.p]="-="+Vt()),N.set([d,u],f)),Me)f=Xe(Me),C=yt===P,w=Vt(),E=parseFloat(x(yt.a))+j,!R&&c>1&&((Tt?H:bt).style["overflow-"+yt.a]="scroll"),It(Me,b,f),y=$t(Me),_=Qe(Me,!0),D=xt&&I(bt,C?M:P)(),Ae&&((A=[Ae+yt.os2,m+j+We]).t=b,(Z=Ae===Ve?Ze(Me,yt)+m+j:0)&&A.push(yt.d,Z+We),Dt(A),W&&ut.forEach((function(e){e.pin===W&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),xt&&Vt(te)),xt&&((T={top:_.top+(C?w-l:D)+We,left:_.left+(C?D:w-l)+We,boxSizing:"border-box",position:"fixed"}).width=T.maxWidth=Math.ceil(_.width)+We,T.height=T.maxHeight=Math.ceil(_.height)+We,T.margin=T.marginTop=T.marginRight=T.marginBottom=T.marginLeft="0",T.padding=f.padding,T.paddingTop=f.paddingTop,T.paddingRight=f.paddingRight,T.paddingBottom=f.paddingBottom,T.paddingLeft=f.paddingLeft,v=function(e,t,i){for(var n,r=[],s=e.length,a=i?8:0;a<s;a+=2)n=e[a],r.push(n,n in t?t[n]:e[a+1]);return r.t=e.t,r}(g,T,ot),ge&&Vt(0)),i?($=i._initted,se(1),i.render(i.duration(),!0,!0),k=x(yt.a)-E+m+j,m!==k&&xt&&v.splice(v.length-2,2),i.render(0,!0,!0),$||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),se(0)):k=m;else if(Le&&Vt()&&!ht)for(_=Le.parentNode;_&&_!==H;)_._pinOffset&&(l-=_._pinOffset,c-=_._pinOffset),_=_.parentNode;z&&z.forEach((function(e){return e.revert(!1,!0)})),At.start=l,At.end=c,a=o=ge?te:Vt(),ht||ge||(a<te&&Vt(te),At.scroll.rec=0),At.revert(!1,!0),K&&(jt=-1,At.isActive&&Vt(l+m*J),K.restart(!0)),Q=0,i&&wt&&(i._initted||ie)&&i.progress()!==ie&&i.progress(ie,!0).render(i.time(),!0,!0),(J!==At.progress||ht)&&(i&&!wt&&i.totalProgress(J,!0),At.progress=(a-l)/m===J?0:J),Me&&Ae&&(b._pinOffset=Math.round(At.progress*k)),xe&&!ge&&xe(At)}},At.getVelocity=function(){return(Vt()-o)/(we()-X)*1e3||0},At.endAnimation=function(){Be(At.callbackAnimation),i&&(q?q.progress(1):i.paused()?wt||Be(i,At.direction<0,1):Be(i,i.reversed()))},At.labelToScroll=function(e){return i&&i.labels&&(l||At.refresh()||l)+i.labels[e]/i.duration()*m||0},At.getTrailing=function(e){var t=ut.indexOf(At),i=At.direction>0?ut.slice(0,t).reverse():ut.slice(t+1);return(De(e)?i.filter((function(t){return t.vars.preventOverlaps===e})):i).filter((function(e){return At.direction>0?e.end<=l:e.start>=c}))},At.update=function(e,t,r){if(!ht||r||e){var s,d,u,h,f,g,_,w=ge?te:At.scroll(),C=e?0:(w-l)/m,T=C<0?0:C>1?1:C||0,x=At.progress;if(t&&(o=a,a=ht?Vt():w,rt&&(B=F,F=i&&!wt?i.totalProgress():T)),Ge&&!T&&Me&&!Q&&!_e&&Ce&&l<w+(w-o)/(we()-X)*Ge&&(T=1e-4),T!==x&&At.enabled){if(h=(f=(s=At.isActive=!!T&&T<1)!=(!!x&&x<1))||!!T!=!!x,At.direction=T>x?1:-1,At.progress=T,h&&!Q&&(d=T&&!x?0:1===T?1:1===x?2:3,wt&&(u=!f&&"none"!==Mt[d+1]&&Mt[d+1]||Mt[d],_=i&&("complete"===u||"reset"===u||u in i))),vt&&(f||_)&&(_||Se||!i)&&($e(vt)?vt(At):At.getTrailing(vt).forEach((function(e){return e.endAnimation()}))),wt||(!q||Q||_e?i&&i.totalProgress(T,!!Q):((ht||ye&&ye!==At)&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo("totalProgress",T,i._tTime/i._tDur):(q.vars.totalProgress=T,q.invalidate().restart()))),Me)if(e&&Ae&&(b.style[Ae+yt.os2]=L),xt){if(h){if(g=!e&&T>x&&c+1>w&&w+1>=Ie(bt,yt),ot)if(e||!s&&!g)Nt(Me,b);else{var M=Qe(Me,!0),O=w-l;Nt(Me,H,M.top+(yt===P?O:0)+We,M.left+(yt===P?0:O)+We)}Dt(s||g?v:y),k!==m&&T<1&&s||S(E+(1!==T||g?0:k))}}else S(ke(E+k*T));rt&&!n.tween&&!Q&&!_e&&K.restart(!0),he&&(f||tt&&T&&(T<1||!fe))&&U(he.targets).forEach((function(e){return e.classList[s||tt?"add":"remove"](he.className)})),ue&&!wt&&!e&&ue(At),h&&!Q?(wt&&(_&&("complete"===u?i.pause().totalProgress(1):"reset"===u?i.restart(!0).pause():"restart"===u?i.restart(!0):i[u]()),ue&&ue(At)),!f&&fe||(be&&f&&Ne(At,be),kt[d]&&Ne(At,kt[d]),tt&&(1===T?At.kill(!1,1):kt[d]=0),f||kt[d=1===T?1:3]&&Ne(At,kt[d])),mt&&!s&&Math.abs(At.getVelocity())>(ze(mt)?mt:2500)&&(Be(At.callbackAnimation),q?q.progress(1):Be(i,"reverse"===u?1:!T,1))):wt&&ue&&!Q&&ue(At)}if($){var I=ht?w/ht.duration()*(ht._caScrollDist||0):w;D(I+(p._isFlipped?1:0)),$(I)}ne&&ne(-w/ht.duration()*(ht._caScrollDist||0))}},At.enable=function(t,i){At.enabled||(At.enabled=!0,it(bt,"resize",gt),it(Tt?G:bt,"scroll",ft),Bt&&it(e,"refreshInit",Bt),!1!==t&&(At.progress=J=0,a=o=jt=Vt()),!1!==i&&At.refresh())},At.getTween=function(e){return e&&n?n.tween:q},At.setPositions=function(e,t){Me&&(E+=e-l,k+=t-e-m,Ae===Ve&&At.adjustPinSpacing(t-e-m)),At.start=l=e,At.end=c=t,m=t-e,At.update()},At.adjustPinSpacing=function(e){if(A){var t=A.indexOf(yt.d)+1;A[t]=parseFloat(A[t])+e+We,A[1]=parseFloat(A[1])+e+We,Dt(A)}},At.disable=function(t,i){if(At.enabled&&(!1!==t&&At.revert(!0,!0),At.enabled=At.isActive=!1,i||q&&q.pause(),te=0,r&&(r.uncache=1),Bt&&nt(e,"refreshInit",Bt),K&&(K.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!Tt)){for(var s=ut.length;s--;)if(ut[s].scroller===bt&&ut[s]!==At)return;nt(bt,"resize",gt),nt(bt,"scroll",ft)}},At.kill=function(e,n){At.disable(e,n),q&&!n&&q.kill(),me&&delete pt[me];var s=ut.indexOf(At);s>=0&&ut.splice(s,1),s===ee&&Lt>0&&ee--,s=0,ut.forEach((function(e){return e.scroller===At.scroller&&(s=1)})),s||ge||(At.scroll.rec=0),i&&(i.scrollTrigger=null,e&&i.revert({kill:!1}),n||i.kill()),d&&[d,u,p,h].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),ye===At&&(ye=0),Me&&(r&&(r.uncache=1),s=0,ut.forEach((function(e){return e.pin===Me&&s++})),s||(r.spacer=0)),t.onKill&&t.onKill(At)},At.enable(!1,!1),ae&&ae(At),i&&i.add&&!m?N.delayedCall(.01,(function(){return l||c||At.refresh()}))&&(m=.01)&&(l=c=0):At.refresh(),Me&&function(){if(ve!==St){var e=ve=St;requestAnimationFrame((function(){return e===St&&Et(!0)}))}}()}else this.update=this.refresh=this.kill=Ee},e.register=function(t){return q||(N=t||Me(),Le()&&window.document&&e.enable(),q=Te),q},e.defaults=function(e){if(e)for(var t in e)at[t]=e[t];return at},e.disable=function(e,t){Te=0,ut.forEach((function(i){return i[t?"kill":"disable"](e)})),nt(R,"wheel",ft),nt(G,"scroll",ft),clearInterval(K),nt(G,"touchcancel",Ee),nt(H,"touchstart",Ee),tt(nt,G,"pointerdown,touchstart,mousedown",xe),tt(nt,G,"pointerup,touchend,mouseup",Se),Y.kill(),Ae(nt);for(var i=0;i<_.length;i+=3)rt(nt,_[i],_[i+1]),rt(nt,_[i],_[i+2])},e.enable=function(){if(R=window,G=document,j=G.documentElement,H=G.body,N&&(U=N.utils.toArray,W=N.utils.clamp,pe=N.core.context||Ee,se=N.core.suppressOverwrites||Ee,he=R.history.scrollRestoration||"auto",N.core.globals("ScrollTrigger",e),H)){Te=1,B.register(N),e.isTouch=B.isTouch,ue=B.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),it(R,"wheel",ft),V=[R,G,j,H],N.matchMedia?(e.matchMedia=function(e){var t,i=N.matchMedia();for(t in e)i.add(t,e[t]);return i},N.addEventListener("matchMediaInit",(function(){return Tt()})),N.addEventListener("matchMediaRevert",(function(){return Ct()})),N.addEventListener("matchMedia",(function(){Et(0,1),wt("matchMedia")})),N.matchMedia("(orientation: portrait)",(function(){return mt(),mt}))):console.warn("Requires GSAP 3.11.0 or later"),mt(),it(G,"scroll",ft);var t,i,n=H.style,r=n.borderTopStyle,s=N.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",t=Qe(H),P.m=Math.round(t.top+P.sc())||0,M.m=Math.round(t.left+M.sc())||0,r?n.borderTopStyle=r:n.removeProperty("border-top-style"),K=setInterval(ht,250),N.delayedCall(.5,(function(){return _e=0})),it(G,"touchcancel",Ee),it(H,"touchstart",Ee),tt(it,G,"pointerdown,touchstart,mousedown",xe),tt(it,G,"pointerup,touchend,mouseup",Se),J=N.utils.checkPrefix("transform"),Ot.push(J),q=we(),Y=N.delayedCall(.2,Et).pause(),ne=[G,"visibilitychange",function(){var e=R.innerWidth,t=R.innerHeight;G.hidden?(te=e,ie=t):te===e&&ie===t||gt()},G,"DOMContentLoaded",Et,R,"load",Et,R,"resize",gt],Ae(it),ut.forEach((function(e){return e.enable(0,1)})),i=0;i<_.length;i+=3)rt(nt,_[i],_[i+1]),rt(nt,_[i],_[i+2])}},e.config=function(t){"limitCallbacks"in t&&(fe=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(K)||(K=i)&&setInterval(ht,i),"ignoreMobileResize"in t&&(le=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Ae(nt)||Ae(it,t.autoRefreshEvents||"none"),ae=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var i=O(e),n=_.indexOf(i),r=Pe(i);~n&&_.splice(n,r?6:2),t&&(r?w.unshift(R,t,H,t,j,t):w.unshift(i,t))},e.clearMatchMedia=function(e){ut.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,i){var n=(De(e)?O(e):e).getBoundingClientRect(),r=n[i?je:He]*t||0;return i?n.right-r>0&&n.left+r<R.innerWidth:n.bottom-r>0&&n.top+r<R.innerHeight},e.positionInViewport=function(e,t,i){De(e)&&(e=O(e));var n=e.getBoundingClientRect(),r=n[i?je:He],s=null==t?r/2:t in ot?ot[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return i?(n.left+s)/R.innerWidth:(n.top+s)/R.innerHeight},e.killAll=function(e){if(ut.forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=vt.killAll||[];vt={},t.forEach((function(e){return e()}))}},e}();Rt.version="3.11.3",Rt.saveStyles=function(e){return e?U(e).forEach((function(e){if(e&&e.style){var t=bt.indexOf(e);t>=0&&bt.splice(t,5),bt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),N.core.getCache(e),pe())}})):bt},Rt.revert=function(e,t){return Tt(!e,t)},Rt.create=function(e,t){return new Rt(e,t)},Rt.refresh=function(e){return e?gt():(q||Rt.register())&&Et(!0)},Rt.update=Mt,Rt.clearScrollMemory=xt,Rt.maxScroll=function(e,t){return Ie(e,t?M:P)},Rt.getScrollFunc=function(e,t){return I(O(e),t?M:P)},Rt.getById=function(e){return pt[e]},Rt.getAll=function(){return ut.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Rt.isScrolling=function(){return!!Ce},Rt.snapDirectional=et,Rt.addEventListener=function(e,t){var i=vt[e]||(vt[e]=[]);~i.indexOf(t)||i.push(t)},Rt.removeEventListener=function(e,t){var i=vt[e],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)},Rt.batch=function(e,t){var i,n=[],r={},s=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var i=[],n=[],r=N.delayedCall(s,(function(){t(i,n),i=[],n=[]})).pause();return function(e){i.length||r.restart(!0),i.push(e.trigger),n.push(e),a<=i.length&&r.progress(1)}};for(i in t)r[i]="on"===i.substr(0,2)&&$e(t[i])&&"onRefreshInit"!==i?o(0,t[i]):t[i];return $e(a)&&(a=a(),it(Rt,"refresh",(function(){return a=t.batchMax()}))),U(e).forEach((function(e){var t={};for(i in r)t[i]=r[i];t.trigger=e,n.push(Rt.create(t))})),n};var Gt,jt=function(e,t,i,n){return t>n?e(n):t<0&&e(0),i>n?(n-t)/(i-t):i<0?t/(t-i):1},Ht=function e(t,i){!0===i?t.style.removeProperty("touch-action"):t.style.touchAction=!0===i?"auto":i?"pan-"+i+(B.isTouch?" pinch-zoom":""):"none",t===j&&e(H,i)},Vt={auto:1,scroll:1},Yt=function(e){var t,i=e.event,n=e.target,r=e.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,a=s._gsap||N.core.getCache(s),o=we();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s.scrollHeight<=s.clientHeight;)s=s.parentNode;a._isScroll=s&&!Pe(s)&&s!==n&&(Vt[(t=Xe(s)).overflowY]||Vt[t.overflowX]),a._isScrollT=o}(a._isScroll||"x"===r)&&(i.stopPropagation(),i._gsapAllow=!0)},Ut=function(e,t,i,n){return B.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Yt,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&it(G,B.eventTypes[0],Xt,!1,!0)},onDisable:function(){return nt(G,B.eventTypes[0],Xt,!0)}})},Wt=/(input|label|select|textarea)/i,Xt=function(e){var t=Wt.test(e.target.tagName);(t||Gt)&&(e._gsapAllow=!0,Gt=t)};Rt.sort=function(e){return ut.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},Rt.observe=function(e){return new B(e)},Rt.normalizeScroll=function(e){if(void 0===e)return oe;if(!0===e&&oe)return oe.enable();if(!1===e)return oe&&oe.kill();var t=e instanceof B?e:function(e){Fe(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,i,n,r,s,a,o,l,c=e,d=c.normalizeScrollX,u=c.momentum,p=c.allowNestedScroll,h=O(e.target)||j,f=N.core.globals().ScrollSmoother,m=f&&f.get(),g=ue&&(e.content&&O(e.content)||m&&!1!==e.content&&!m.smooth()&&m.content()),v=I(h,P),y=I(h,M),w=1,b=(B.isTouch&&R.visualViewport?R.visualViewport.scale*R.visualViewport.width:R.outerWidth)/R.innerWidth,C=0,T=$e(u)?function(){return u(t)}:function(){return u||2.8},x=Ut(h,e.type,!0,p),S=function(){return r=!1},E=Ee,k=Ee,L=function(){i=Ie(h,P),k=W(ue?1:0,i),d&&(E=W(0,Ie(h,M))),n=St},A=function(){g._gsap.y=ke(parseFloat(g._gsap.y)+v.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},D=function(){L(),s.isActive()&&s.vars.scrollY>i&&(v()>i?s.progress(1)&&v(i):s.resetTo("scrollY",i))};return g&&N.set(g,{y:"+=0"}),e.ignoreCheck=function(e){return ue&&"touchmove"===e.type&&function(){if(r){requestAnimationFrame(S);var e=ke(t.deltaY/2),i=k(v.v-e);if(g&&i!==v.v+v.offset){v.offset=i-v.v;var n=ke((parseFloat(g&&g._gsap.y)||0)-v.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",g._gsap.y=n+"px",v.cacheID=_.cache,Mt()}return!0}v.offset&&A(),r=!0}()||w>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){var e=w;w=ke((R.visualViewport&&R.visualViewport.scale||1)/b),s.pause(),e!==w&&Ht(h,w>1.01||!d&&"x"),a=y(),o=v(),L(),n=St},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&A(),t){_.cache++;var n,r,a=T();d&&(r=(n=y())+.05*a*-e.velocityX/.227,a*=jt(y,n,r,Ie(h,M)),s.vars.scrollX=E(r)),r=(n=v())+.05*a*-e.velocityY/.227,a*=jt(v,n,r,Ie(h,P)),s.vars.scrollY=k(r),s.invalidate().duration(a).play(.01),(ue&&s.vars.scrollY>=i||n>=i-1)&&N.to({},{onUpdate:D,duration:a})}else l.restart(!0)},e.onWheel=function(){s._ts&&s.pause(),we()-C>1e3&&(n=0,C=we())},e.onChange=function(e,t,i,r,s){if(St!==n&&L(),t&&d&&y(E(r[2]===t?a+(e.startX-e.x):y()+t-r[1])),i){v.offset&&A();var l=s[2]===i,c=l?o+e.startY-e.y:v()+i-s[1],u=k(c);l&&c!==u&&(o+=u-c),v(u)}(i||t)&&Mt()},e.onEnable=function(){Ht(h,!d&&"x"),Rt.addEventListener("refresh",D),it(R,"resize",D),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),x.enable()},e.onDisable=function(){Ht(h,!0),nt(R,"resize",D),Rt.removeEventListener("refresh",D),x.kill()},e.lockAxis=!1!==e.lockAxis,(t=new B(e)).iOS=ue,ue&&!v()&&v(1),ue&&N.ticker.add(Ee),l=t._dc,s=N.to(t,{ease:"power4",paused:!0,scrollX:d?"+=0.1":"+=0",scrollY:"+=0.1",onComplete:l.vars.onComplete}),t}(e);return oe&&oe.target===t.target&&oe.kill(),Pe(t.target)&&(oe=t),t},Rt.core={_getVelocityProp:A,_inputObserver:Ut,_scrollers:_,_proxies:w,bridge:{ss:function(){Ce||wt("scrollStart"),Ce=we()},ref:function(){return Q}}},Me()&&N.registerPlugin(Rt)},317:(e,t,i)=>{"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}i.d(t,{$i:()=>ae,DY:()=>pe,Fc:()=>w,Fo:()=>ui,GN:()=>Ct,JV:()=>di,Ks:()=>si,Lp:()=>xi,Ok:()=>he,Pr:()=>me,S5:()=>ii,SI:()=>R,UI:()=>dt,Wy:()=>Je,Yp:()=>Si,bQ:()=>H,cy:()=>ve,d4:()=>G,fS:()=>fe,if:()=>Vt,kr:()=>xt,l1:()=>Bt,lC:()=>K,m2:()=>A,p8:()=>Ti,r9:()=>P,xr:()=>St});var s,a,o,l,c,d,u,p,h,f,m,g,v,y,_,w={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},b={duration:.5,overwrite:!1,delay:0},C=1e8,T=1e-8,x=2*Math.PI,S=x/4,E=0,k=Math.sqrt,L=Math.cos,M=Math.sin,P=function(e){return"string"==typeof e},O=function(e){return"function"==typeof e},I=function(e){return"number"==typeof e},A=function(e){return void 0===e},D=function(e){return"object"==typeof e},$=function(e){return!1!==e},z=function(){return"undefined"!=typeof window},F=function(e){return O(e)||P(e)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},N=Array.isArray,q=/(?:-?\.?\d|\.)+/gi,R=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,G=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,j=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,H=/[+-]=-?[.\d]+/,V=/[^,'"\[\]\s]+/gi,Y=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,U={},W={},X=function(e){return(W=xe(e,U))&&Ti},K=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Q=function(e,t){return!t&&console.warn(e)},Z=function(e,t){return e&&(U[e]=t)&&W&&(W[e]=t)||U},J=function(){return 0},ee={suppressEvents:!0,isStart:!0,kill:!1},te={suppressEvents:!0,kill:!1},ie={suppressEvents:!0},ne={},re=[],se={},ae={},oe={},le=30,ce=[],de="",ue=function(e){var t,i,n=e[0];if(D(n)||O(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(i=ce.length;i--&&!ce[i].targetTest(n););t=ce[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Bt(e[i],t)))||e.splice(i,1);return e},pe=function(e){return e._gsap||ue(it(e))[0]._gsap},he=function(e,t,i){return(i=e[t])&&O(i)?e[t]():A(i)&&e.getAttribute&&e.getAttribute(t)||i},fe=function(e,t){return(e=e.split(",")).forEach(t)||e},me=function(e){return Math.round(1e5*e)/1e5||0},ge=function(e){return Math.round(1e7*e)/1e7||0},ve=function(e,t){var i=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),"+"===i?e+n:"-"===i?e-n:"*"===i?e*n:e/n},ye=function(e,t){for(var i=t.length,n=0;e.indexOf(t[n])<0&&++n<i;);return n<i},_e=function(){var e,t,i=re.length,n=re.slice(0);for(se={},re.length=0,e=0;e<i;e++)(t=n[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},we=function(e,t,i,n){re.length&&_e(),e.render(t,i,n||a&&t<0&&(e._initted||e._startAt)),re.length&&_e()},be=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(V).length<2?t:P(e)?e.trim():e},Ce=function(e){return e},Te=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},xe=function(e,t){for(var i in t)e[i]=t[i];return e},Se=function e(t,i){for(var n in i)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=D(i[n])?e(t[n]||(t[n]={}),i[n]):i[n]);return t},Ee=function(e,t){var i,n={};for(i in e)i in t||(n[i]=e[i]);return n},ke=function(e){var t,i=e.parent||l,n=e.keyframes?(t=N(e.keyframes),function(e,i){for(var n in i)n in e||"duration"===n&&t||"ease"===n||(e[n]=i[n])}):Te;if($(e.inherit))for(;i;)n(e,i.vars.defaults),i=i.parent||i._dp;return e},Le=function(e,t,i,n,r){void 0===i&&(i="_first"),void 0===n&&(n="_last");var s,a=e[n];if(r)for(s=t[r];a&&a[r]>s;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e,t},Me=function(e,t,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=t._prev,s=t._next;r?r._next=s:e[i]===t&&(e[i]=s),s?s._prev=r:e[n]===t&&(e[n]=r),t._next=t._prev=t.parent=null},Pe=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},Oe=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},Ie=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ae=function(e,t,i,n){return e._startAt&&(a?e._startAt.revert(te):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},De=function e(t){return!t||t._ts&&e(t.parent)},$e=function(e){return e._repeat?ze(e._tTime,e=e.duration()+e._rDelay)*e:0},ze=function(e,t){var i=Math.floor(e/=t);return e&&i===e?i-1:i},Fe=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Be=function(e){return e._end=ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||T)||0))},Ne=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=ge(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Be(e),i._dirty||Oe(i,e)),e},qe=function(e,t){var i;if((t._time||t._initted&&!t._dur)&&(i=Fe(e.rawTime(),t),(!t._dur||Ze(0,t.totalDuration(),i)-t._tTime>T)&&t.render(i,!0)),Oe(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-1e-8}},Re=function(e,t,i,n){return t.parent&&Pe(t),t._start=ge((I(i)?i:i||e!==l?Xe(e,i,t):e._time)+t._delay),t._end=ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Le(e,t,"_first","_last",e._sort?"_start":0),Ve(t)||(e._recent=t),n||qe(e,t),e._ts<0&&Ne(e,e._tTime),e},Ge=function(e,t){return(U.ScrollTrigger||K("scrollTrigger",t))&&U.ScrollTrigger.create(t,e)},je=function(e,t,i,n,r){return Yt(e,t,r),e._initted?!i&&e._pt&&!a&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&h!==St.frame?(re.push(e),e._lazy=[r,n],1):void 0:1},He=function e(t){var i=t.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||e(i))},Ve=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Ye=function(e,t,i,n){var r=e._repeat,s=ge(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=r?r<0?1e10:ge(s*(r+1)+e._rDelay*r):s,a>0&&!n&&Ne(e,e._tTime=e._tDur*a),e.parent&&Be(e),i||Oe(e.parent,e),e},Ue=function(e){return e instanceof qt?Oe(e):Ye(e,e._dur)},We={_start:0,endTime:J,totalDuration:J},Xe=function e(t,i,n){var r,s,a,o=t.labels,l=t._recent||We,c=t.duration()>=C?l.endTime(!1):t._dur;return P(i)&&(isNaN(i)||i in o)?(s=i.charAt(0),a="%"===i.substr(-1),r=i.indexOf("="),"<"===s||">"===s?(r>=0&&(i=i.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(i.substr(1))||0)*(a?(r<0?l:n).totalDuration()/100:1)):r<0?(i in o||(o[i]=c),o[i]):(s=parseFloat(i.charAt(r-1)+i.substr(r+1)),a&&n&&(s=s/100*(N(n)?n[0]:n).totalDuration()),r>1?e(t,i.substr(0,r-1),n)+s:c+s)):null==i?c:+i},Ke=function(e,t,i){var n,r,s=I(t[1]),a=(s?2:1)+(e<2?0:1),o=t[a];if(s&&(o.duration=t[1]),o.parent=i,e){for(n=o,r=i;r&&!("immediateRender"in n);)n=r.vars.defaults||{},r=$(r.vars.inherit)&&r.parent;o.immediateRender=$(n.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new Qt(t[0],o,t[a+1])},Qe=function(e,t){return e||0===e?t(e):t},Ze=function(e,t,i){return i<e?e:i>t?t:i},Je=function(e,t){return P(e)&&(t=Y.exec(e))?t[1]:""},et=[].slice,tt=function(e,t){return e&&D(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&D(e[0]))&&!e.nodeType&&e!==c},it=function(e,t,i){return o&&!t&&o.selector?o.selector(e):!P(e)||i||!d&&Et()?N(e)?function(e,t,i){return void 0===i&&(i=[]),e.forEach((function(e){var n;return P(e)&&!t||tt(e,1)?(n=i).push.apply(n,it(e)):i.push(e)}))||i}(e,i):tt(e)?et.call(e,0):e?[e]:[]:et.call((t||u).querySelectorAll(e),0)},nt=function(e){return e=it(e)[0]||Q("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return it(t,i.querySelectorAll?i:i===e?Q("Invalid scope")||u.createElement("div"):e)}},rt=function(e){return e.sort((function(){return.5-Math.random()}))},st=function(e){if(O(e))return e;var t=D(e)?e:{each:e},i=At(t.ease),n=t.from||0,r=parseFloat(t.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,l=t.axis,c=n,d=n;return P(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&o&&(c=n[0],d=n[1]),function(e,a,u){var p,h,f,m,g,v,y,_,w,b=(u||t).length,T=s[b];if(!T){if(!(w="auto"===t.grid?0:(t.grid||[1,C])[1])){for(y=-C;y<(y=u[w++].getBoundingClientRect().left)&&w<b;);w--}for(T=s[b]=[],p=o?Math.min(w,b)*c-.5:n%w,h=w===C?0:o?b*d/w-.5:n/w|0,y=0,_=C,v=0;v<b;v++)f=v%w-p,m=h-(v/w|0),T[v]=g=l?Math.abs("y"===l?m:f):k(f*f+m*m),g>y&&(y=g),g<_&&(_=g);"random"===n&&rt(T),T.max=y-_,T.min=_,T.v=b=(parseFloat(t.amount)||parseFloat(t.each)*(w>b?b-1:l?"y"===l?b/w:w:Math.max(w,b/w))||0)*("edges"===n?-1:1),T.b=b<0?r-b:r,T.u=Je(t.amount||t.each)||0,i=i&&b<0?Ot(i):i}return b=(T[e]-T.min)/T.max||0,ge(T.b+(i?i(b):b)*T.v)+T.u}},at=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var n=ge(Math.round(parseFloat(i)/e)*e*t);return(n-n%1)/t+(I(i)?0:Je(i))}},ot=function(e,t){var i,n,r=N(e);return!r&&D(e)&&(i=r=e.radius||C,e.values?(e=it(e.values),(n=!I(e[0]))&&(i*=i)):e=at(e.increment)),Qe(t,r?O(e)?function(t){return n=e(t),Math.abs(n-t)<=i?n:t}:function(t){for(var r,s,a=parseFloat(n?t.x:t),o=parseFloat(n?t.y:0),l=C,c=0,d=e.length;d--;)(r=n?(r=e[d].x-a)*r+(s=e[d].y-o)*s:Math.abs(e[d]-a))<l&&(l=r,c=d);return c=!i||l<=i?e[c]:t,n||c===t||I(t)?c:c+Je(t)}:at(e))},lt=function(e,t,i,n){return Qe(N(e)?!t:!0===i?!!(i=0):!n,(function(){return N(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(t-e+.99*i))/i)*i*n)/n}))},ct=function(e,t,i){return Qe(i,(function(i){return e[~~t(i)]}))},dt=function(e){for(var t,i,n,r,s=0,a="";~(t=e.indexOf("random(",s));)n=e.indexOf(")",t),r="["===e.charAt(t+7),i=e.substr(t+7,n-t-7).match(r?V:q),a+=e.substr(s,t-s)+lt(r?i:+i[0],r?0:+i[1],+i[2]||1e-5),s=n+1;return a+e.substr(s,e.length-s)},ut=function(e,t,i,n,r){var s=t-e,a=n-i;return Qe(r,(function(t){return i+((t-e)/s*a||0)}))},pt=function(e,t,i){var n,r,s,a=e.labels,o=C;for(n in a)(r=a[n]-t)<0==!!i&&r&&o>(r=Math.abs(r))&&(s=n,o=r);return s},ht=function(e,t,i){var n,r,s,a=e.vars,l=a[t],c=o,d=e._ctx;if(l)return n=a[t+"Params"],r=a.callbackScope||e,i&&re.length&&_e(),d&&(o=d),s=n?l.apply(r,n):l.call(r),o=c,s},ft=function(e){return Pe(e),e.scrollTrigger&&e.scrollTrigger.kill(!!a),e.progress()<1&&ht(e,"onInterrupt"),e},mt=function(e){var t=(e=!e.name&&e.default||e).name,i=O(e),n=t&&!i&&e.init?function(){this._props=[]}:e,r={init:J,render:ai,add:Ht,kill:li,modifier:oi,rawVars:0},s={targetTest:0,get:0,getSetter:ii,aliases:{},register:0};if(Et(),e!==n){if(ae[t])return;Te(n,Te(Ee(e,r),s)),xe(n.prototype,xe(r,Ee(e,s))),ae[n.prop=t]=n,e.targetTest&&(ce.push(n),ne[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Z(t,n),e.register&&e.register(Ti,n,ui)},gt=255,vt={aqua:[0,gt,gt],lime:[0,gt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,gt],navy:[0,0,128],white:[gt,gt,gt],olive:[128,128,0],yellow:[gt,gt,0],orange:[gt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[gt,0,0],pink:[gt,192,203],cyan:[0,gt,gt],transparent:[gt,gt,gt,0]},yt=function(e,t,i){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(i-t)*e*6:e<.5?i:3*e<2?t+(i-t)*(2/3-e)*6:t)*gt+.5|0},_t=function(e,t,i){var n,r,s,a,o,l,c,d,u,p,h=e?I(e)?[e>>16,e>>8&gt,e&gt]:0:vt.black;if(!h){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),vt[e])h=vt[e];else if("#"===e.charAt(0)){if(e.length<6&&(n=e.charAt(1),r=e.charAt(2),s=e.charAt(3),e="#"+n+n+r+r+s+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(h=parseInt(e.substr(1,6),16))>>16,h>>8&gt,h&gt,parseInt(e.substr(7),16)/255];h=[(e=parseInt(e.substr(1),16))>>16,e>>8&gt,e&gt]}else if("hsl"===e.substr(0,3))if(h=p=e.match(q),t){if(~e.indexOf("="))return h=e.match(R),i&&h.length<4&&(h[3]=1),h}else a=+h[0]%360/360,o=+h[1]/100,n=2*(l=+h[2]/100)-(r=l<=.5?l*(o+1):l+o-l*o),h.length>3&&(h[3]*=1),h[0]=yt(a+1/3,n,r),h[1]=yt(a,n,r),h[2]=yt(a-1/3,n,r);else h=e.match(q)||vt.transparent;h=h.map(Number)}return t&&!p&&(n=h[0]/gt,r=h[1]/gt,s=h[2]/gt,l=((c=Math.max(n,r,s))+(d=Math.min(n,r,s)))/2,c===d?a=o=0:(u=c-d,o=l>.5?u/(2-c-d):u/(c+d),a=c===n?(r-s)/u+(r<s?6:0):c===r?(s-n)/u+2:(n-r)/u+4,a*=60),h[0]=~~(a+.5),h[1]=~~(100*o+.5),h[2]=~~(100*l+.5)),i&&h.length<4&&(h[3]=1),h},wt=function(e){var t=[],i=[],n=-1;return e.split(Ct).forEach((function(e){var r=e.match(G)||[];t.push.apply(t,r),i.push(n+=r.length+1)})),t.c=i,t},bt=function(e,t,i){var n,r,s,a,o="",l=(e+o).match(Ct),c=t?"hsla(":"rgba(",d=0;if(!l)return e;if(l=l.map((function(e){return(e=_t(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),i&&(s=wt(e),(n=i.c).join(o)!==s.c.join(o)))for(a=(r=e.replace(Ct,"1").split(G)).length-1;d<a;d++)o+=r[d]+(~n.indexOf(d)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!r)for(a=(r=e.split(Ct)).length-1;d<a;d++)o+=r[d]+l[d];return o+r[a]},Ct=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in vt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Tt=/hsl[a]?\(/,xt=function(e){var t,i=e.join(" ");if(Ct.lastIndex=0,Ct.test(i))return t=Tt.test(i),e[1]=bt(e[1],t),e[0]=bt(e[0],t,wt(e[1])),!0},St=function(){var e,t,i,n,r,s,a=Date.now,o=500,l=33,h=a(),f=h,g=1e3/240,v=g,y=[],_=function i(c){var d,u,p,m,_=a()-f,w=!0===c;if(_>o&&(h+=_-l),((d=(p=(f+=_)-h)-v)>0||w)&&(m=++n.frame,r=p-1e3*n.time,n.time=p/=1e3,v+=d+(d>=g?4:g-d),u=1),w||(e=t(i)),u)for(s=0;s<y.length;s++)y[s](p,r,m,c)};return n={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(e){return r/(1e3/(e||60))},wake:function(){p&&(!d&&z()&&(c=d=window,u=c.document||{},U.gsap=Ti,(c.gsapVersions||(c.gsapVersions=[])).push(Ti.version),X(W||c.GreenSockGlobals||!c.gsap&&c||{}),i=c.requestAnimationFrame),e&&n.sleep(),t=i||function(e){return setTimeout(e,v-1e3*n.time+1|0)},m=1,_(2))},sleep:function(){(i?c.cancelAnimationFrame:clearTimeout)(e),m=0,t=J},lagSmoothing:function(e,t){o=e||1e8,l=Math.min(t,o,0)},fps:function(e){g=1e3/(e||240),v=1e3*n.time+g},add:function(e,t,i){var r=t?function(t,i,s,a){e(t,i,s,a),n.remove(r)}:e;return n.remove(e),y[i?"unshift":"push"](r),Et(),r},remove:function(e,t){~(t=y.indexOf(e))&&y.splice(t,1)&&s>=t&&s--},_listeners:y}}(),Et=function(){return!m&&St.wake()},kt={},Lt=/^[\d.\-M][\d.\-,\s]/,Mt=/["']/g,Pt=function(e){for(var t,i,n,r={},s=e.substr(1,e.length-3).split(":"),a=s[0],o=1,l=s.length;o<l;o++)i=s[o],t=o!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,t),r[a]=isNaN(n)?n.replace(Mt,"").trim():+n,a=i.substr(t+1).trim();return r},Ot=function(e){return function(t){return 1-e(1-t)}},It=function e(t,i){for(var n,r=t._first;r;)r instanceof qt?e(r,i):!r.vars.yoyoEase||r._yoyo&&r._repeat||r._yoyo===i||(r.timeline?e(r.timeline,i):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=i)),r=r._next},At=function(e,t){return e&&(O(e)?e:kt[e]||function(e){var t,i,n,r,s=(e+"").split("("),a=kt[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~e.indexOf("{")?[Pt(s[1])]:(t=e,i=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",i),t.substring(i,~r&&r<n?t.indexOf(")",n+1):n)).split(",").map(be)):kt._CE&&Lt.test(e)?kt._CE("",e):a}(e))||t},Dt=function(e,t,i,n){void 0===i&&(i=function(e){return 1-t(1-e)}),void 0===n&&(n=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var r,s={easeIn:t,easeOut:i,easeInOut:n};return fe(e,(function(e){for(var t in kt[e]=U[e]=s,kt[r=e.toLowerCase()]=i,s)kt[r+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=kt[e+"."+t]=s[t]})),s},$t=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},zt=function e(t,i,n){var r=i>=1?i:1,s=(n||(t?.3:.45))/(i<1?i:1),a=s/x*(Math.asin(1/r)||0),o=function(e){return 1===e?1:r*Math.pow(2,-10*e)*M((e-a)*s)+1},l="out"===t?o:"in"===t?function(e){return 1-o(1-e)}:$t(o);return s=x/s,l.config=function(i,n){return e(t,i,n)},l},Ft=function e(t,i){void 0===i&&(i=1.70158);var n=function(e){return e?--e*e*((i+1)*e+i)+1:0},r="out"===t?n:"in"===t?function(e){return 1-n(1-e)}:$t(n);return r.config=function(i){return e(t,i)},r};fe("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var i=t<5?t+1:t;Dt(e+",Power"+(i-1),t?function(e){return Math.pow(e,i)}:function(e){return e},(function(e){return 1-Math.pow(1-e,i)}),(function(e){return e<.5?Math.pow(2*e,i)/2:1-Math.pow(2*(1-e),i)/2}))})),kt.Linear.easeNone=kt.none=kt.Linear.easeIn,Dt("Elastic",zt("in"),zt("out"),zt()),g=7.5625,y=1/(v=2.75),Dt("Bounce",(function(e){return 1-_(1-e)}),_=function(e){return e<y?g*e*e:e<.7272727272727273?g*Math.pow(e-1.5/v,2)+.75:e<.9090909090909092?g*(e-=2.25/v)*e+.9375:g*Math.pow(e-2.625/v,2)+.984375}),Dt("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),Dt("Circ",(function(e){return-(k(1-e*e)-1)})),Dt("Sine",(function(e){return 1===e?1:1-L(e*S)})),Dt("Back",Ft("in"),Ft("out"),Ft()),kt.SteppedEase=kt.steps=U.SteppedEase={config:function(e,t){void 0===e&&(e=1);var i=1/e,n=e+(t?0:1),r=t?1:0;return function(e){return((n*Ze(0,.99999999,e)|0)+r)*i}}},b.ease=kt["quad.out"],fe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return de+=e+","+e+"Params,"}));var Bt=function(e,t){this.id=E++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:he,this.set=t?t.getSetter:ii},Nt=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Ye(this,+e.duration,1,1),this.data=e.data,o&&(this._ctx=o,o.data.push(this)),m||St.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Ye(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Et(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Ne(this,e),!i._dp||i.parent||qe(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Re(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===T||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),we(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+$e(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+$e(this),t):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(e,t){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*i,t):this._repeat?ze(this._tTime,i)+1:1},t.timeScale=function(e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var t=this.parent&&this._ts?Fe(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Ze(-this._delay,this._tDur,t),!0),Be(this),Ie(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Et(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Re(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+($(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Fe(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=ie);var t=a;return a=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),a=t,this},t.globalTime=function(e){for(var t=this,i=arguments.length?e:t.rawTime();t;)i=t._start+i/(t._ts||1),t=t._dp;return!this.parent&&this.vars.immediateRender?-1:i},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Ue(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Ue(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Xe(this,e),$(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,$(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,i=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<this.endTime(!0)-T))},t.eventCallback=function(e,t,i){var n=this.vars;return arguments.length>1?(t?(n[e]=t,i&&(n[e+"Params"]=i),"onUpdate"===e&&(this._onUpdate=t)):delete n[e],this):n[e]},t.then=function(e){var t=this;return new Promise((function(i){var n=O(e)?e:Ce,r=function(){var e=t.then;t.then=null,O(n)&&(n=n(t))&&(n.then||n===t)&&(t.then=e),i(n),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?r():t._prom=r}))},t.kill=function(){ft(this)},e}();Te(Nt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var qt=function(e){function t(t,i){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=$(t.sortChildren),l&&Re(t.parent||l,n(r),i),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Ge(n(r),t.scrollTrigger),r}r(t,e);var i=t.prototype;return i.to=function(e,t,i){return Ke(0,arguments,this),this},i.from=function(e,t,i){return Ke(1,arguments,this),this},i.fromTo=function(e,t,i,n){return Ke(2,arguments,this),this},i.set=function(e,t,i){return t.duration=0,t.parent=this,ke(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Qt(e,t,Xe(this,i),1),this},i.call=function(e,t,i){return Re(this,Qt.delayedCall(0,e,t),i)},i.staggerTo=function(e,t,i,n,r,s,a){return i.duration=t,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=a,i.parent=this,new Qt(e,i,Xe(this,r)),this},i.staggerFrom=function(e,t,i,n,r,s,a){return i.runBackwards=1,ke(i).immediateRender=$(i.immediateRender),this.staggerTo(e,t,i,n,r,s,a)},i.staggerFromTo=function(e,t,i,n,r,s,a,o){return n.startAt=i,ke(n).immediateRender=$(n.immediateRender),this.staggerTo(e,t,n,r,s,a,o)},i.render=function(e,t,i){var n,r,s,o,c,d,u,p,h,f,m,g,v=this._time,y=this._dirty?this.totalDuration():this._tDur,_=this._dur,w=e<=0?0:ge(e),b=this._zTime<0!=e<0&&(this._initted||!_);if(this!==l&&w>y&&e>=0&&(w=y),w!==this._tTime||i||b){if(v!==this._time&&_&&(w+=this._time-v,e+=this._time-v),n=w,h=this._start,d=!(p=this._ts),b&&(_||(v=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(m=this._yoyo,c=_+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*c+e,t,i);if(n=ge(w%c),w===y?(o=this._repeat,n=_):((o=~~(w/c))&&o===w/c&&(n=_,o--),n>_&&(n=_)),f=ze(this._tTime,c),!v&&this._tTime&&f!==o&&(f=o),m&&1&o&&(n=_-n,g=1),o!==f&&!this._lock){var C=m&&1&f,x=C===(m&&1&o);if(o<f&&(C=!C),v=C?0:_,this._lock=1,this.render(v||(g?0:ge(o*c)),t,!_)._lock=0,this._tTime=w,!t&&this.parent&&ht(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),v&&v!==this._time||d!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(_=this._dur,y=this._tDur,x&&(this._lock=2,v=C?_:-1e-4,this.render(v,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!d)return this;It(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(e,t,i){var n;if(i>t)for(n=e._first;n&&n._start<=i;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}}(this,ge(v),ge(n)),u&&(w-=n-(n=u._start))),this._tTime=w,this._time=n,this._act=!p,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,v=0),!v&&n&&!t&&(ht(this,"onStart"),this._tTime!==w))return this;if(n>=v&&e>=0)for(r=this._first;r;){if(s=r._next,(r._act||n>=r._start)&&r._ts&&u!==r){if(r.parent!==this)return this.render(e,t,i);if(r.render(r._ts>0?(n-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(n-r._start)*r._ts,t,i),n!==this._time||!this._ts&&!d){u=0,s&&(w+=this._zTime=-1e-8);break}}r=s}else{r=this._last;for(var S=e<0?e:n;r;){if(s=r._prev,(r._act||S<=r._end)&&r._ts&&u!==r){if(r.parent!==this)return this.render(e,t,i);if(r.render(r._ts>0?(S-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(S-r._start)*r._ts,t,i||a&&(r._initted||r._startAt)),n!==this._time||!this._ts&&!d){u=0,s&&(w+=this._zTime=S?-1e-8:T);break}}r=s}}if(u&&!t&&(this.pause(),u.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=h,Be(this),this.render(e,t,i);this._onUpdate&&!t&&ht(this,"onUpdate",!0),(w===y&&this._tTime>=this.totalDuration()||!w&&v)&&(h!==this._start&&Math.abs(p)===Math.abs(this._ts)||this._lock||((e||!_)&&(w===y&&this._ts>0||!w&&this._ts<0)&&Pe(this,1),t||e<0&&!v||!w&&!v&&y||(ht(this,w===y&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w<y&&this.timeScale()>0)&&this._prom())))}return this},i.add=function(e,t){var i=this;if(I(t)||(t=Xe(this,t,e)),!(e instanceof Nt)){if(N(e))return e.forEach((function(e){return i.add(e,t)})),this;if(P(e))return this.addLabel(e,t);if(!O(e))return this;e=Qt.delayedCall(0,e)}return this!==e?Re(this,e,t):this},i.getChildren=function(e,t,i,n){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===n&&(n=-C);for(var r=[],s=this._first;s;)s._start>=n&&(s instanceof Qt?t&&r.push(s):(i&&r.push(s),e&&r.push.apply(r,s.getChildren(!0,t,i)))),s=s._next;return r},i.getById=function(e){for(var t=this.getChildren(1,1,1),i=t.length;i--;)if(t[i].vars.id===e)return t[i]},i.remove=function(e){return P(e)?this.removeLabel(e):O(e)?this.killTweensOf(e):(Me(this,e),e===this._recent&&(this._recent=this._last),Oe(this))},i.totalTime=function(t,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ge(St.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,i),this._forcing=0,this):this._tTime},i.addLabel=function(e,t){return this.labels[e]=Xe(this,t),this},i.removeLabel=function(e){return delete this.labels[e],this},i.addPause=function(e,t,i){var n=Qt.delayedCall(0,t||J,i);return n.data="isPause",this._hasPause=1,Re(this,n,Xe(this,e))},i.removePause=function(e){var t=this._first;for(e=Xe(this,e);t;)t._start===e&&"isPause"===t.data&&Pe(t),t=t._next},i.killTweensOf=function(e,t,i){for(var n=this.getTweensOf(e,i),r=n.length;r--;)Rt!==n[r]&&n[r].kill(e,t);return this},i.getTweensOf=function(e,t){for(var i,n=[],r=it(e),s=this._first,a=I(t);s;)s instanceof Qt?ye(s._targets,r)&&(a?(!Rt||s._initted&&s._ts)&&s.globalTime(0)<=t&&s.globalTime(s.totalDuration())>t:!t||s.isActive())&&n.push(s):(i=s.getTweensOf(r,t)).length&&n.push.apply(n,i),s=s._next;return n},i.tweenTo=function(e,t){t=t||{};var i,n=this,r=Xe(n,e),s=t,a=s.startAt,o=s.onStart,l=s.onStartParams,c=s.immediateRender,d=Qt.to(n,Te({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:t.duration||Math.abs((r-(a&&"time"in a?a.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!i){var e=t.duration||Math.abs((r-(a&&"time"in a?a.time:n._time))/n.timeScale());d._dur!==e&&Ye(d,e,0,1).render(d._time,!0,!0),i=1}o&&o.apply(d,l||[])}},t));return c?d.render(0):d},i.tweenFromTo=function(e,t,i){return this.tweenTo(t,Te({startAt:{time:Xe(this,e)}},i))},i.recent=function(){return this._recent},i.nextLabel=function(e){return void 0===e&&(e=this._time),pt(this,Xe(this,e))},i.previousLabel=function(e){return void 0===e&&(e=this._time),pt(this,Xe(this,e),1)},i.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+T)},i.shiftChildren=function(e,t,i){void 0===i&&(i=0);for(var n,r=this._first,s=this.labels;r;)r._start>=i&&(r._start+=e,r._end+=e),r=r._next;if(t)for(n in s)s[n]>=i&&(s[n]+=e);return Oe(this)},i.invalidate=function(t){var i=this._first;for(this._lock=0;i;)i.invalidate(t),i=i._next;return e.prototype.invalidate.call(this,t)},i.clear=function(e){void 0===e&&(e=!0);for(var t,i=this._first;i;)t=i._next,this.remove(i),i=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Oe(this)},i.totalDuration=function(e){var t,i,n,r=0,s=this,a=s._last,o=C;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-e:e));if(s._dirty){for(n=s.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(i=a._start)>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,Re(s,a,i-a._delay,1)._lock=0):o=i,i<0&&a._ts&&(r-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-Infinity),o=0),a._end>r&&a._ts&&(r=a._end),a=t;Ye(s,s===l&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(e){if(l._ts&&(we(l,Fe(e,l)),h=St.frame),St.frame>=le){le+=w.autoSleep||120;var t=l._first;if((!t||!t._ts)&&w.autoSleep&&St._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||St.sleep()}}},t}(Nt);Te(qt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rt,Gt,jt=function(e,t,i,n,r,s,a){var o,l,c,d,u,p,h,f,m=new ui(this._pt,e,t,0,1,si,null,r),g=0,v=0;for(m.b=i,m.e=n,i+="",(h=~(n+="").indexOf("random("))&&(n=dt(n)),s&&(s(f=[i,n],e,t),i=f[0],n=f[1]),l=i.match(j)||[];o=j.exec(n);)d=o[0],u=n.substring(g,o.index),c?c=(c+1)%5:"rgba("===u.substr(-5)&&(c=1),d!==l[v++]&&(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:p,c:"="===d.charAt(1)?ve(p,d)-p:parseFloat(d)-p,m:c&&c<4?Math.round:0},g=j.lastIndex);return m.c=g<n.length?n.substring(g,n.length):"",m.fp=a,(H.test(n)||h)&&(m.e=0),this._pt=m,m},Ht=function(e,t,i,n,r,s,a,o,l,c){O(n)&&(n=n(r||0,e,s));var d,u=e[t],p="get"!==i?i:O(u)?l?e[t.indexOf("set")||!O(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():u,h=O(u)?l?ei:Jt:Zt;if(P(n)&&(~n.indexOf("random(")&&(n=dt(n)),"="===n.charAt(1)&&((d=ve(p,n)+(Je(p)||0))||0===d)&&(n=d)),!c||p!==n||Gt)return isNaN(p*n)||""===n?(!u&&!(t in e)&&K(t,n),jt.call(this,e,t,p,n,h,o||w.stringFilter,l)):(d=new ui(this._pt,e,t,+p||0,n-(p||0),"boolean"==typeof u?ri:ni,0,h),l&&(d.fp=l),a&&d.modifier(a,this,e),this._pt=d)},Vt=function(e,t,i,n,r,s){var a,o,l,c;if(ae[e]&&!1!==(a=new ae[e]).init(r,a.rawVars?t[e]:function(e,t,i,n,r){if(O(e)&&(e=Wt(e,r,t,i,n)),!D(e)||e.style&&e.nodeType||N(e)||B(e))return P(e)?Wt(e,r,t,i,n):e;var s,a={};for(s in e)a[s]=Wt(e[s],r,t,i,n);return a}(t[e],n,r,s,i),i,n,s)&&(i._pt=o=new ui(i._pt,r,e,0,1,a.render,a,0,a.priority),i!==f))for(l=i._ptLookup[i._targets.indexOf(r)],c=a._props.length;c--;)l[a._props[c]]=o;return a},Yt=function e(t,i,n){var r,o,c,d,u,p,h,f,m,g,v,y,_,w=t.vars,x=w.ease,S=w.startAt,E=w.immediateRender,k=w.lazy,L=w.onUpdate,M=w.onUpdateParams,P=w.callbackScope,O=w.runBackwards,I=w.yoyoEase,A=w.keyframes,D=w.autoRevert,z=t._dur,F=t._startAt,B=t._targets,N=t.parent,q=N&&"nested"===N.data?N.vars.targets:B,R="auto"===t._overwrite&&!s,G=t.timeline;if(G&&(!A||!x)&&(x="none"),t._ease=At(x,b.ease),t._yEase=I?Ot(At(!0===I?x:I,b.ease)):0,I&&t._yoyo&&!t._repeat&&(I=t._yEase,t._yEase=t._ease,t._ease=I),t._from=!G&&!!w.runBackwards,!G||A&&!w.stagger){if(y=(f=B[0]?pe(B[0]).harness:0)&&w[f.prop],r=Ee(w,ne),F&&(F._zTime<0&&F.progress(1),i<0&&O&&E&&!D?F.render(-1,!0):F.revert(O&&z?te:ee),F._lazy=0),S){if(Pe(t._startAt=Qt.set(B,Te({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:$(k),startAt:null,delay:0,onUpdate:L,onUpdateParams:M,callbackScope:P,stagger:0},S))),t._startAt._dp=0,i<0&&(a||!E&&!D)&&t._startAt.revert(te),E&&z&&i<=0&&n<=0)return void(i&&(t._zTime=i))}else if(O&&z&&!F)if(i&&(E=!1),c=Te({overwrite:!1,data:"isFromStart",lazy:E&&$(k),immediateRender:E,stagger:0,parent:N},r),y&&(c[f.prop]=y),Pe(t._startAt=Qt.set(B,c)),t._startAt._dp=0,i<0&&(a?t._startAt.revert(te):t._startAt.render(-1,!0)),t._zTime=i,E){if(!i)return}else e(t._startAt,T,T);for(t._pt=t._ptCache=0,k=z&&$(k)||k&&!z,o=0;o<B.length;o++){if(h=(u=B[o])._gsap||ue(B)[o]._gsap,t._ptLookup[o]=g={},se[h.id]&&re.length&&_e(),v=q===B?o:q.indexOf(u),f&&!1!==(m=new f).init(u,y||r,t,v,q)&&(t._pt=d=new ui(t._pt,u,m.name,0,1,m.render,m,0,m.priority),m._props.forEach((function(e){g[e]=d})),m.priority&&(p=1)),!f||y)for(c in r)ae[c]&&(m=Vt(c,r,t,v,u,q))?m.priority&&(p=1):g[c]=d=Ht.call(t,u,c,"get",r[c],v,q,0,w.stringFilter);t._op&&t._op[o]&&t.kill(u,t._op[o]),R&&t._pt&&(Rt=t,l.killTweensOf(u,g,t.globalTime(i)),_=!t.parent,Rt=0),t._pt&&k&&(se[h.id]=1)}p&&di(t),t._onInit&&t._onInit(t)}t._onUpdate=L,t._initted=(!t._op||t._pt)&&!_,A&&i<=0&&G.render(C,!0,!0)},Ut=function(e,t,i,n){var r,s,a=t.ease||n||"power1.inOut";if(N(t))s=i[e]||(i[e]=[]),t.forEach((function(e,i){return s.push({t:i/(t.length-1)*100,v:e,e:a})}));else for(r in t)s=i[r]||(i[r]=[]),"ease"===r||s.push({t:parseFloat(e),v:t[r],e:a})},Wt=function(e,t,i,n,r){return O(e)?e.call(t,i,n,r):P(e)&&~e.indexOf("random(")?dt(e):e},Xt=de+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Kt={};fe(Xt+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Kt[e]=1}));var Qt=function(e){function t(t,i,r,a){var o;"number"==typeof i&&(r.duration=i,i=r,r=null);var c,d,u,p,h,f,m,g,v=(o=e.call(this,a?i:ke(i))||this).vars,y=v.duration,_=v.delay,b=v.immediateRender,C=v.stagger,T=v.overwrite,x=v.keyframes,S=v.defaults,E=v.scrollTrigger,k=v.yoyoEase,L=i.parent||l,M=(N(t)||B(t)?I(t[0]):"length"in i)?[t]:it(t);if(o._targets=M.length?ue(M):Q("GSAP target "+t+" not found. https://greensock.com",!w.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=T,x||C||F(y)||F(_)){if(i=o.vars,(c=o.timeline=new qt({data:"nested",defaults:S||{},targets:L&&"nested"===L.data?L.vars.targets:M})).kill(),c.parent=c._dp=n(o),c._start=0,C||F(y)||F(_)){if(p=M.length,m=C&&st(C),D(C))for(h in C)~Xt.indexOf(h)&&(g||(g={}),g[h]=C[h]);for(d=0;d<p;d++)(u=Ee(i,Kt)).stagger=0,k&&(u.yoyoEase=k),g&&xe(u,g),f=M[d],u.duration=+Wt(y,n(o),d,f,M),u.delay=(+Wt(_,n(o),d,f,M)||0)-o._delay,!C&&1===p&&u.delay&&(o._delay=_=u.delay,o._start+=_,u.delay=0),c.to(f,u,m?m(d,f,M):0),c._ease=kt.none;c.duration()?y=_=0:o.timeline=0}else if(x){ke(Te(c.vars.defaults,{ease:"none"})),c._ease=At(x.ease||i.ease||"none");var P,O,A,z=0;if(N(x))x.forEach((function(e){return c.to(M,e,">")})),c.duration();else{for(h in u={},x)"ease"===h||"easeEach"===h||Ut(h,x[h],u,x.easeEach);for(h in u)for(P=u[h].sort((function(e,t){return e.t-t.t})),z=0,d=0;d<P.length;d++)(A={ease:(O=P[d]).e,duration:(O.t-(d?P[d-1].t:0))/100*y})[h]=O.v,c.to(M,A,z),z+=A.duration;c.duration()<y&&c.to({},{duration:y-c.duration()})}}y||o.duration(y=c.duration())}else o.timeline=0;return!0!==T||s||(Rt=n(o),l.killTweensOf(M),Rt=0),Re(L,n(o),r),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(b||!y&&!x&&o._start===ge(L._time)&&$(b)&&De(n(o))&&"nested"!==L.data)&&(o._tTime=-1e-8,o.render(Math.max(0,-_)||0)),E&&Ge(n(o),E),o}r(t,e);var i=t.prototype;return i.render=function(e,t,i){var n,r,s,o,l,c,d,u,p,h=this._time,f=this._tDur,m=this._dur,g=e<0,v=e>f-T&&!g?f:e<T?0:e;if(m){if(v!==this._tTime||!e||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g){if(n=v,u=this.timeline,this._repeat){if(o=m+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*o+e,t,i);if(n=ge(v%o),v===f?(s=this._repeat,n=m):((s=~~(v/o))&&s===v/o&&(n=m,s--),n>m&&(n=m)),(c=this._yoyo&&1&s)&&(p=this._yEase,n=m-n),l=ze(this._tTime,o),n===h&&!i&&this._initted)return this._tTime=v,this;s!==l&&(u&&this._yEase&&It(u,c),!this.vars.repeatRefresh||c||this._lock||(this._lock=i=1,this.render(ge(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(je(this,g?e:n,i,t,v))return this._tTime=0,this;if(h!==this._time)return this;if(m!==this._dur)return this.render(e,t,i)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=d=(p||this._ease)(n/m),this._from&&(this.ratio=d=1-d),n&&!h&&!t&&(ht(this,"onStart"),this._tTime!==v))return this;for(r=this._pt;r;)r.r(d,r.d),r=r._next;u&&u.render(e<0?e:!n&&c?-1e-8:u._dur*u._ease(n/this._dur),t,i)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(g&&Ae(this,e,0,i),ht(this,"onUpdate")),this._repeat&&s!==l&&this.vars.onRepeat&&!t&&this.parent&&ht(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(g&&!this._onUpdate&&Ae(this,e,0,!0),(e||!m)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&Pe(this,1),t||g&&!h||!(v||h||c)||(ht(this,v===f?"onComplete":"onReverseComplete",!0),this._prom&&!(v<f&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,i,n){var r,s,o,l=e.ratio,c=t<0||!t&&(!e._start&&He(e)&&(e._initted||!Ve(e))||(e._ts<0||e._dp._ts<0)&&!Ve(e))?0:1,d=e._rDelay,u=0;if(d&&e._repeat&&(u=Ze(0,e._tDur,t),s=ze(u,d),e._yoyo&&1&s&&(c=1-c),s!==ze(e._tTime,d)&&(l=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==l||a||n||e._zTime===T||!t&&e._zTime){if(!e._initted&&je(e,t,n,i,u))return;for(o=e._zTime,e._zTime=t||(i?T:0),i||(i=t&&!o),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=u,r=e._pt;r;)r.r(c,r.d),r=r._next;t<0&&Ae(e,t,0,!0),e._onUpdate&&!i&&ht(e,"onUpdate"),u&&e._repeat&&!i&&e.parent&&ht(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===c&&(c&&Pe(e,1),i||a||(ht(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,i);return this},i.targets=function(){return this._targets},i.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},i.resetTo=function(e,t,i,n){m||St.wake(),this._ts||this.play();var r=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Yt(this,r),function(e,t,i,n,r,s,a){var o,l,c,d,u=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!u)for(u=e._ptCache[t]=[],c=e._ptLookup,d=e._targets.length;d--;){if((o=c[d][t])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==t&&o.fp!==t;)o=o._next;if(!o)return Gt=1,e.vars[t]="+=0",Yt(e,a),Gt=0,1;u.push(o)}for(d=u.length;d--;)(o=(l=u[d])._pt||l).s=!n&&0!==n||r?o.s+(n||0)+s*o.c:n,o.c=i-o.s,l.e&&(l.e=me(i)+Je(l.e)),l.b&&(l.b=o.s+Je(l.b))}(this,e,t,i,n,this._ease(r/this._dur),r)?this.resetTo(e,t,i,n):(Ne(this,0),this.parent||Le(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?ft(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Rt&&!0!==Rt.vars.overwrite)._first||ft(this),this.parent&&i!==this.timeline.totalDuration()&&Ye(this,this._dur*this.timeline._tDur/i,0,1),this}var n,r,s,a,o,l,c,d=this._targets,u=e?it(e):d,p=this._ptLookup,h=this._pt;if((!t||"all"===t)&&function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0}(d,u))return"all"===t&&(this._pt=0),ft(this);for(n=this._op=this._op||[],"all"!==t&&(P(t)&&(o={},fe(t,(function(e){return o[e]=1})),t=o),t=function(e,t){var i,n,r,s,a=e[0]?pe(e[0]).harness:0,o=a&&a.aliases;if(!o)return t;for(n in i=xe({},t),o)if(n in i)for(r=(s=o[n].split(",")).length;r--;)i[s[r]]=i[n];return i}(d,t)),c=d.length;c--;)if(~u.indexOf(d[c]))for(o in r=p[c],"all"===t?(n[c]=t,a=r,s={}):(s=n[c]=n[c]||{},a=t),a)(l=r&&r[o])&&("kill"in l.d&&!0!==l.d.kill(o)||Me(this,l,"_pt"),delete r[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&h&&ft(this),this},t.to=function(e,i){return new t(e,i,arguments[2])},t.from=function(e,t){return Ke(1,arguments)},t.delayedCall=function(e,i,n,r){return new t(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:i,onReverseComplete:i,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:r})},t.fromTo=function(e,t,i){return Ke(2,arguments)},t.set=function(e,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new t(e,i)},t.killTweensOf=function(e,t,i){return l.killTweensOf(e,t,i)},t}(Nt);Te(Qt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),fe("staggerTo,staggerFrom,staggerFromTo",(function(e){Qt[e]=function(){var t=new qt,i=et.call(arguments,0);return i.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,i)}}));var Zt=function(e,t,i){return e[t]=i},Jt=function(e,t,i){return e[t](i)},ei=function(e,t,i,n){return e[t](n.fp,i)},ti=function(e,t,i){return e.setAttribute(t,i)},ii=function(e,t){return O(e[t])?Jt:A(e[t])&&e.setAttribute?ti:Zt},ni=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},ri=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},si=function(e,t){var i=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round(1e4*(i.s+i.c*e))/1e4)+n,i=i._next;n+=t.c}t.set(t.t,t.p,n,t)},ai=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},oi=function(e,t,i,n){for(var r,s=this._pt;s;)r=s._next,s.p===n&&s.modifier(e,t,i),s=r},li=function(e){for(var t,i,n=this._pt;n;)i=n._next,n.p===e&&!n.op||n.op===e?Me(this,n,"_pt"):n.dep||(t=1),n=i;return!t},ci=function(e,t,i,n){n.mSet(e,t,n.m.call(n.tween,i,n.mt),n)},di=function(e){for(var t,i,n,r,s=e._pt;s;){for(t=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:r)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:r=s,s=t}e._pt=n},ui=function(){function e(e,t,i,n,r,s,a,o,l){this.t=t,this.s=n,this.c=r,this.p=i,this.r=s||ni,this.d=a||this,this.set=o||Zt,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,i){this.mSet=this.mSet||this.set,this.set=ci,this.m=e,this.mt=i,this.tween=t},e}();fe(de+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return ne[e]=1})),U.TweenMax=U.TweenLite=Qt,U.TimelineLite=U.TimelineMax=qt,l=new qt({sortChildren:!1,defaults:b,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),w.stringFilter=xt;var pi=[],hi={},fi=[],mi=0,gi=function(e){return(hi[e]||fi).map((function(e){return e()}))},vi=function(){var e=Date.now(),t=[];e-mi>2&&(gi("matchMediaInit"),pi.forEach((function(e){var i,n,r,s,a=e.queries,o=e.conditions;for(n in a)(i=c.matchMedia(a[n]).matches)&&(r=1),i!==o[n]&&(o[n]=i,s=1);s&&(e.revert(),r&&t.push(e))})),gi("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e)})),mi=e,gi("matchMedia"))},yi=function(){function e(e,t){this.selector=t&&nt(t),this.data=[],this._r=[],this.isReverted=!1,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,i){O(e)&&(i=t,t=e,e=O);var n=this,r=function(){var e,r=o,s=n.selector;return r&&r!==n&&r.data.push(n),i&&(n.selector=nt(i)),o=n,e=t.apply(n,arguments),O(e)&&n._r.push(e),o=r,n.selector=s,n.isReverted=!1,e};return n.last=r,e===O?r(n):e?n[e]=r:r},t.ignore=function(e){var t=o;o=null,e(this),o=t},t.getTweens=function(){var t=[];return this.data.forEach((function(i){return i instanceof e?t.push.apply(t,i.getTweens()):i instanceof Qt&&!(i.parent&&"nested"===i.parent.data)&&t.push(i)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var i=this;if(e){var n=this.getTweens();this.data.forEach((function(e){"isFlip"===e.data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(e){return n.splice(n.indexOf(e),1)})))})),n.map((function(e){return{g:e.globalTime(0),t:e}})).sort((function(e,t){return t.g-e.g||-1})).forEach((function(t){return t.t.revert(e)})),this.data.forEach((function(t){return!(t instanceof Nt)&&t.revert&&t.revert(e)})),this._r.forEach((function(t){return t(e,i)})),this.isReverted=!0}else this.data.forEach((function(e){return e.kill&&e.kill()}));if(this.clear(),t){var r=pi.indexOf(this);~r&&pi.splice(r,1)}},t.revert=function(e){this.kill(e||{})},e}(),_i=function(){function e(e){this.contexts=[],this.scope=e}var t=e.prototype;return t.add=function(e,t,i){D(e)||(e={matches:e});var n,r,s,a=new yi(0,i||this.scope),o=a.conditions={};for(r in this.contexts.push(a),t=a.add("onMatch",t),a.queries=e,e)"all"===r?s=1:(n=c.matchMedia(e[r]))&&(pi.indexOf(a)<0&&pi.push(a),(o[r]=n.matches)&&(s=1),n.addListener?n.addListener(vi):n.addEventListener("change",vi));return s&&t(a),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),wi={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach((function(e){return mt(e)}))},timeline:function(e){return new qt(e)},getTweensOf:function(e,t){return l.getTweensOf(e,t)},getProperty:function(e,t,i,n){P(e)&&(e=it(e)[0]);var r=pe(e||{}).get,s=i?Ce:be;return"native"===i&&(i=""),e?t?s((ae[t]&&ae[t].get||r)(e,t,i,n)):function(t,i,n){return s((ae[t]&&ae[t].get||r)(e,t,i,n))}:e},quickSetter:function(e,t,i){if((e=it(e)).length>1){var n=e.map((function(e){return Ti.quickSetter(e,t,i)})),r=n.length;return function(e){for(var t=r;t--;)n[t](e)}}e=e[0]||{};var s=ae[t],a=pe(e),o=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(t){var n=new s;f._pt=0,n.init(e,i?t+i:t,f,0,[e]),n.render(1,n),f._pt&&ai(1,f)}:a.set(e,o);return s?l:function(t){return l(e,o,i?t+i:t,a,1)}},quickTo:function(e,t,i){var n,r=Ti.to(e,xe(((n={})[t]="+=0.1",n.paused=!0,n),i||{})),s=function(e,i,n){return r.resetTo(t,e,i,n)};return s.tween=r,s},isTweening:function(e){return l.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=At(e.ease,b.ease)),Se(b,e||{})},config:function(e){return Se(w,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,n=e.plugins,r=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach((function(e){return e&&!ae[e]&&!U[e]&&Q(t+" effect requires "+e+" plugin.")})),oe[t]=function(e,t,n){return i(it(e),Te(t||{},r),n)},s&&(qt.prototype[t]=function(e,i,n){return this.add(oe[t](e,D(i)?i:(n=i)&&{},this),n)})},registerEase:function(e,t){kt[e]=At(t)},parseEase:function(e,t){return arguments.length?At(e,t):kt},getById:function(e){return l.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var i,n,r=new qt(e);for(r.smoothChildTiming=$(e.smoothChildTiming),l.remove(r),r._dp=0,r._time=r._tTime=l._time,i=l._first;i;)n=i._next,!t&&!i._dur&&i instanceof Qt&&i.vars.onComplete===i._targets[0]||Re(r,i,i._start-i._delay),i=n;return Re(l,r,0),r},context:function(e,t){return e?new yi(e,t):o},matchMedia:function(e){return new _i(e)},matchMediaRefresh:function(){return pi.forEach((function(e){var t,i,n=e.conditions;for(i in n)n[i]&&(n[i]=!1,t=1);t&&e.revert()}))||vi()},addEventListener:function(e,t){var i=hi[e]||(hi[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=hi[e],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)},utils:{wrap:function e(t,i,n){var r=i-t;return N(t)?ct(t,e(0,t.length),i):Qe(n,(function(e){return(r+(e-t)%r)%r+t}))},wrapYoyo:function e(t,i,n){var r=i-t,s=2*r;return N(t)?ct(t,e(0,t.length-1),i):Qe(n,(function(e){return t+((e=(s+(e-t)%s)%s||0)>r?s-e:e)}))},distribute:st,random:lt,snap:ot,normalize:function(e,t,i){return ut(e,t,0,1,i)},getUnit:Je,clamp:function(e,t,i){return Qe(i,(function(i){return Ze(e,t,i)}))},splitColor:_t,toArray:it,selector:nt,mapRange:ut,pipe:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(i){return e(parseFloat(i))+(t||Je(i))}},interpolate:function e(t,i,n,r){var s=isNaN(t+i)?0:function(e){return(1-e)*t+e*i};if(!s){var a,o,l,c,d,u=P(t),p={};if(!0===n&&(r=1)&&(n=null),u)t={p:t},i={p:i};else if(N(t)&&!N(i)){for(l=[],c=t.length,d=c-2,o=1;o<c;o++)l.push(e(t[o-1],t[o]));c--,s=function(e){e*=c;var t=Math.min(d,~~e);return l[t](e-t)},n=i}else r||(t=xe(N(t)?[]:{},t));if(!l){for(a in i)Ht.call(p,t,a,"get",i[a]);s=function(e){return ai(e,p)||(u?t.p:t)}}}return Qe(n,s)},shuffle:rt},install:X,effects:oe,ticker:St,updateRoot:qt.updateRoot,plugins:ae,globalTimeline:l,core:{PropTween:ui,globals:Z,Tween:Qt,Timeline:qt,Animation:Nt,getCache:pe,_removeLinkedListItem:Me,reverting:function(){return a},context:function(e){return e&&o&&(o.data.push(e),e._ctx=o),o},suppressOverwrites:function(e){return s=e}}};fe("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return wi[e]=Qt[e]})),St.add(qt.updateRoot),f=wi.to({},{duration:0});var bi=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},Ci=function(e,t){return{name:e,rawVars:1,init:function(e,i,n){n._onInit=function(e){var n,r;if(P(i)&&(n={},fe(i,(function(e){return n[e]=1})),i=n),t){for(r in n={},i)n[r]=t(i[r]);i=n}!function(e,t){var i,n,r,s=e._targets;for(i in t)for(n=s.length;n--;)(r=e._ptLookup[n][i])&&(r=r.d)&&(r._pt&&(r=bi(r,i)),r&&r.modifier&&r.modifier(t[i],e,s[n],i))}(e,i)}}}},Ti=wi.registerPlugin({name:"attr",init:function(e,t,i,n,r){var s,a,o;for(s in this.tween=i,t)o=e.getAttribute(s)||"",(a=this.add(e,"setAttribute",(o||0)+"",t[s],n,r,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(e,t){for(var i=t._pt;i;)a?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},Ci("roundProps",at),Ci("modifiers"),Ci("snap",ot))||wi;Qt.version=qt.version=Ti.version="3.11.3",p=1,z()&&Et(),kt.Power0,kt.Power1;var xi=kt.Power2,Si=(kt.Power3,kt.Power4);kt.Linear,kt.Quad,kt.Cubic,kt.Quart,kt.Quint,kt.Strong,kt.Elastic,kt.Back,kt.SteppedEase,kt.Bounce,kt.Sine,kt.Expo,kt.Circ},716:(e,t,i)=>{"use strict";i.d(t,{p8:()=>Se});var n,r,s,a,o,l,c,d,u=i(317),p={},h=180/Math.PI,f=Math.PI/180,m=Math.atan2,g=/([A-Z])/g,v=/(left|right|width|margin|padding|x)/i,y=/[\s,\(]\S/,_={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},w=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},b=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},C=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},T=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},x=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},S=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},E=function(e,t,i){return e.style[t]=i},k=function(e,t,i){return e.style.setProperty(t,i)},L=function(e,t,i){return e._gsap[t]=i},M=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},P=function(e,t,i,n,r){var s=e._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},O=function(e,t,i,n,r){var s=e._gsap;s[t]=i,s.renderTransform(r,s)},I="transform",A=I+"Origin",D=function(e,t){var i=this,n=this.target,r=n.style;if(e in p){if(this.tfm=this.tfm||{},"transform"!==e&&(~(e=_[e]||e).indexOf(",")?e.split(",").forEach((function(e){return i.tfm[e]=Z(n,e)})):this.tfm[e]=n._gsap.x?n._gsap[e]:Z(n,e)),this.props.indexOf(I)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(A,t,"")),e=I}(r||t)&&this.props.push(e,t,r[e])},$=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},z=function(){var e,t,i=this.props,n=this.target,r=n.style,s=n._gsap;for(e=0;e<i.length;e+=3)i[e+1]?n[i[e]]=i[e+2]:i[e+2]?r[i[e]]=i[e+2]:r.removeProperty(i[e].replace(g,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),!(e=c())||e.isStart||r[I]||($(r),s.uncache=1)}},F=function(e,t){var i={target:e,props:[],revert:z,save:D};return t&&t.split(",").forEach((function(e){return i.save(e)})),i},B=function(e,t){var i=r.createElementNS?r.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):r.createElement(e);return i.style?i:r.createElement(e)},N=function e(t,i,n){var r=getComputedStyle(t);return r[i]||r.getPropertyValue(i.replace(g,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&e(t,R(i)||i,1)||""},q="O,Moz,ms,Ms,Webkit".split(","),R=function(e,t,i){var n=(t||o).style,r=5;if(e in n&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);r--&&!(q[r]+e in n););return r<0?null:(3===r?"ms":r>=0?q[r]:"")+e},G=function(){"undefined"!=typeof window&&window.document&&(n=window,r=n.document,s=r.documentElement,o=B("div")||{style:{}},B("div"),I=R(I),A=I+"Origin",o.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",d=!!R("perspective"),c=u.p8.core.reverting,a=1)},j=function e(t){var i,n=B("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,a=this.nextSibling,o=this.style.cssText;if(s.appendChild(n),n.appendChild(this),this.style.display="block",t)try{i=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(i=this._gsapBBox());return r&&(a?r.insertBefore(this,a):r.appendChild(this)),s.removeChild(n),this.style.cssText=o,i},H=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},V=function(e){var t;try{t=e.getBBox()}catch(i){t=j.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===j||(t=j.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+H(e,["x","cx","x1"])||0,y:+H(e,["y","cy","y1"])||0,width:0,height:0}},Y=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!V(e))},U=function(e,t){if(t){var i=e.style;t in p&&t!==A&&(t=I),i.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),i.removeProperty(t.replace(g,"-$1").toLowerCase())):i.removeAttribute(t)}},W=function(e,t,i,n,r,s){var a=new u.Fo(e._pt,t,i,0,1,s?S:x);return e._pt=a,a.b=n,a.e=r,e._props.push(i),a},X={deg:1,rad:1,turn:1},K={grid:1,flex:1},Q=function e(t,i,n,s){var a,l,c,d,h=parseFloat(n)||0,f=(n+"").trim().substr((h+"").length)||"px",m=o.style,g=v.test(i),y="svg"===t.tagName.toLowerCase(),_=(y?"client":"offset")+(g?"Width":"Height"),w=100,b="px"===s,C="%"===s;return s===f||!h||X[s]||X[f]?h:("px"!==f&&!b&&(h=e(t,i,n,"px")),d=t.getCTM&&Y(t),!C&&"%"!==f||!p[i]&&!~i.indexOf("adius")?(m[g?"width":"height"]=w+(b?f:s),l=~i.indexOf("adius")||"em"===s&&t.appendChild&&!y?t:t.parentNode,d&&(l=(t.ownerSVGElement||{}).parentNode),l&&l!==r&&l.appendChild||(l=r.body),(c=l._gsap)&&C&&c.width&&g&&c.time===u.xr.time&&!c.uncache?(0,u.Pr)(h/c.width*w):((C||"%"===f)&&!K[N(l,"display")]&&(m.position=N(t,"position")),l===t&&(m.position="static"),l.appendChild(o),a=o[_],l.removeChild(o),m.position="absolute",g&&C&&((c=(0,u.DY)(l)).time=u.xr.time,c.width=l[_]),(0,u.Pr)(b?a*h/w:a&&h?w/a*h:0))):(a=d?t.getBBox()[g?"width":"height"]:t[_],(0,u.Pr)(C?h/a*w:h/100*a)))},Z=function(e,t,i,n){var r;return a||G(),t in _&&"transform"!==t&&~(t=_[t]).indexOf(",")&&(t=t.split(",")[0]),p[t]&&"transform"!==t?(r=ce(e,n),r="transformOrigin"!==t?r[t]:r.svg?r.origin:de(N(e,A))+" "+r.zOrigin+"px"):(!(r=e.style[t])||"auto"===r||n||~(r+"").indexOf("calc("))&&(r=ie[t]&&ie[t](e,t,i)||N(e,t)||(0,u.Ok)(e,t)||("opacity"===t?1:0)),i&&!~(r+"").trim().indexOf(" ")?Q(e,t,r,i)+i:r},J=function(e,t,i,n){if(!i||"none"===i){var r=R(t,e,1),s=r&&N(e,r,1);s&&s!==i?(t=r,i=s):"borderColor"===t&&(i=N(e,"borderTopColor"))}var a,o,l,c,d,p,h,f,m,g,v,y=new u.Fo(this._pt,e.style,t,0,1,u.Ks),_=0,w=0;if(y.b=i,y.e=n,i+="","auto"==(n+="")&&(e.style[t]=n,n=N(e,t)||n,e.style[t]=i),a=[i,n],(0,u.kr)(a),n=a[1],l=(i=a[0]).match(u.d4)||[],(n.match(u.d4)||[]).length){for(;o=u.d4.exec(n);)h=o[0],m=n.substring(_,o.index),d?d=(d+1)%5:"rgba("!==m.substr(-5)&&"hsla("!==m.substr(-5)||(d=1),h!==(p=l[w++]||"")&&(c=parseFloat(p)||0,v=p.substr((c+"").length),"="===h.charAt(1)&&(h=(0,u.cy)(c,h)+v),f=parseFloat(h),g=h.substr((f+"").length),_=u.d4.lastIndex-g.length,g||(g=g||u.Fc.units[t]||v,_===n.length&&(n+=g,y.e+=g)),v!==g&&(c=Q(e,t,p,g)||0),y._pt={_next:y._pt,p:m||1===w?m:",",s:c,c:f-c,m:d&&d<4||"zIndex"===t?Math.round:0});y.c=_<n.length?n.substring(_,n.length):""}else y.r="display"===t&&"none"===n?S:x;return u.bQ.test(n)&&(y.e=0),this._pt=y,y},ee={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},te=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var i,n,r,s=t.t,a=s.style,o=t.u,l=s._gsap;if("all"===o||!0===o)a.cssText="",n=1;else for(r=(o=o.split(",")).length;--r>-1;)i=o[r],p[i]&&(n=1,i="transformOrigin"===i?A:I),U(s,i);n&&(U(s,I),l&&(l.svg&&s.removeAttribute("transform"),ce(s,1),l.uncache=1,$(a)))}},ie={clearProps:function(e,t,i,n,r){if("isFromStart"!==r.data){var s=e._pt=new u.Fo(e._pt,t,i,0,0,te);return s.u=n,s.pr=-10,s.tween=r,e._props.push(i),1}}},ne=[1,0,0,1,0,0],re={},se=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},ae=function(e){var t=N(e,I);return se(t)?ne:t.substr(7).match(u.SI).map(u.Pr)},oe=function(e,t){var i,n,r,a,o=e._gsap||(0,u.DY)(e),l=e.style,c=ae(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(c=[(r=e.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?ne:c:(c!==ne||e.offsetParent||e===s||o.svg||(r=l.display,l.display="block",(i=e.parentNode)&&e.offsetParent||(a=1,n=e.nextElementSibling,s.appendChild(e)),c=ae(e),r?l.display=r:U(e,"display"),a&&(n?i.insertBefore(e,n):i?i.appendChild(e):s.removeChild(e))),t&&c.length>6?[c[0],c[1],c[4],c[5],c[12],c[13]]:c)},le=function(e,t,i,n,r,s){var a,o,l,c=e._gsap,d=r||oe(e,!0),u=c.xOrigin||0,p=c.yOrigin||0,h=c.xOffset||0,f=c.yOffset||0,m=d[0],g=d[1],v=d[2],y=d[3],_=d[4],w=d[5],b=t.split(" "),C=parseFloat(b[0])||0,T=parseFloat(b[1])||0;i?d!==ne&&(o=m*y-g*v)&&(l=C*(-g/o)+T*(m/o)-(m*w-g*_)/o,C=C*(y/o)+T*(-v/o)+(v*w-y*_)/o,T=l):(C=(a=V(e)).x+(~b[0].indexOf("%")?C/100*a.width:C),T=a.y+(~(b[1]||b[0]).indexOf("%")?T/100*a.height:T)),n||!1!==n&&c.smooth?(_=C-u,w=T-p,c.xOffset=h+(_*m+w*v)-_,c.yOffset=f+(_*g+w*y)-w):c.xOffset=c.yOffset=0,c.xOrigin=C,c.yOrigin=T,c.smooth=!!n,c.origin=t,c.originIsAbsolute=!!i,e.style[A]="0px 0px",s&&(W(s,c,"xOrigin",u,C),W(s,c,"yOrigin",p,T),W(s,c,"xOffset",h,c.xOffset),W(s,c,"yOffset",f,c.yOffset)),e.setAttribute("data-svg-origin",C+" "+T)},ce=function(e,t){var i=e._gsap||new u.l1(e);if("x"in i&&!t&&!i.uncache)return i;var n,r,s,a,o,l,c,p,g,v,y,_,w,b,C,T,x,S,E,k,L,M,P,O,D,$,z,F,B,q,R,G,j=e.style,H=i.scaleX<0,V="px",U="deg",W=getComputedStyle(e),X=N(e,A)||"0";return n=r=s=l=c=p=g=v=y=0,a=o=1,i.svg=!(!e.getCTM||!Y(e)),W.translate&&("none"===W.translate&&"none"===W.scale&&"none"===W.rotate||(j[I]=("none"!==W.translate?"translate3d("+(W.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==W.rotate?"rotate("+W.rotate+") ":"")+("none"!==W.scale?"scale("+W.scale.split(" ").join(",")+") ":"")+("none"!==W[I]?W[I]:"")),j.scale=j.rotate=j.translate="none"),b=oe(e,i.svg),i.svg&&(i.uncache?(D=e.getBBox(),X=i.xOrigin-D.x+"px "+(i.yOrigin-D.y)+"px",O=""):O=!t&&e.getAttribute("data-svg-origin"),le(e,O||X,!!O||i.originIsAbsolute,!1!==i.smooth,b)),_=i.xOrigin||0,w=i.yOrigin||0,b!==ne&&(S=b[0],E=b[1],k=b[2],L=b[3],n=M=b[4],r=P=b[5],6===b.length?(a=Math.sqrt(S*S+E*E),o=Math.sqrt(L*L+k*k),l=S||E?m(E,S)*h:0,(g=k||L?m(k,L)*h+l:0)&&(o*=Math.abs(Math.cos(g*f))),i.svg&&(n-=_-(_*S+w*k),r-=w-(_*E+w*L))):(G=b[6],q=b[7],z=b[8],F=b[9],B=b[10],R=b[11],n=b[12],r=b[13],s=b[14],c=(C=m(G,B))*h,C&&(O=M*(T=Math.cos(-C))+z*(x=Math.sin(-C)),D=P*T+F*x,$=G*T+B*x,z=M*-x+z*T,F=P*-x+F*T,B=G*-x+B*T,R=q*-x+R*T,M=O,P=D,G=$),p=(C=m(-k,B))*h,C&&(T=Math.cos(-C),R=L*(x=Math.sin(-C))+R*T,S=O=S*T-z*x,E=D=E*T-F*x,k=$=k*T-B*x),l=(C=m(E,S))*h,C&&(O=S*(T=Math.cos(C))+E*(x=Math.sin(C)),D=M*T+P*x,E=E*T-S*x,P=P*T-M*x,S=O,M=D),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,p=180-p),a=(0,u.Pr)(Math.sqrt(S*S+E*E+k*k)),o=(0,u.Pr)(Math.sqrt(P*P+G*G)),C=m(M,P),g=Math.abs(C)>2e-4?C*h:0,y=R?1/(R<0?-R:R):0),i.svg&&(O=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!se(N(e,I)),O&&e.setAttribute("transform",O))),Math.abs(g)>90&&Math.abs(g)<270&&(H?(a*=-1,g+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,g+=g<=0?180:-180)),t=t||i.uncache,i.x=n-((i.xPercent=n&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+V,i.y=r-((i.yPercent=r&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-r)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+V,i.z=s+V,i.scaleX=(0,u.Pr)(a),i.scaleY=(0,u.Pr)(o),i.rotation=(0,u.Pr)(l)+U,i.rotationX=(0,u.Pr)(c)+U,i.rotationY=(0,u.Pr)(p)+U,i.skewX=g+U,i.skewY=v+U,i.transformPerspective=y+V,(i.zOrigin=parseFloat(X.split(" ")[2])||0)&&(j[A]=de(X)),i.xOffset=i.yOffset=0,i.force3D=u.Fc.force3D,i.renderTransform=i.svg?ve:d?ge:pe,i.uncache=0,i},de=function(e){return(e=e.split(" "))[0]+" "+e[1]},ue=function(e,t,i){var n=(0,u.Wy)(t);return(0,u.Pr)(parseFloat(t)+parseFloat(Q(e,"x",i+"px",n)))+n},pe=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,ge(e,t)},he="0deg",fe="0px",me=") ",ge=function(e,t){var i=t||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,o=i.z,l=i.rotation,c=i.rotationY,d=i.rotationX,u=i.skewX,p=i.skewY,h=i.scaleX,m=i.scaleY,g=i.transformPerspective,v=i.force3D,y=i.target,_=i.zOrigin,w="",b="auto"===v&&e&&1!==e||!0===v;if(_&&(d!==he||c!==he)){var C,T=parseFloat(c)*f,x=Math.sin(T),S=Math.cos(T);T=parseFloat(d)*f,C=Math.cos(T),s=ue(y,s,x*C*-_),a=ue(y,a,-Math.sin(T)*-_),o=ue(y,o,S*C*-_+_)}g!==fe&&(w+="perspective("+g+me),(n||r)&&(w+="translate("+n+"%, "+r+"%) "),(b||s!==fe||a!==fe||o!==fe)&&(w+=o!==fe||b?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+me),l!==he&&(w+="rotate("+l+me),c!==he&&(w+="rotateY("+c+me),d!==he&&(w+="rotateX("+d+me),u===he&&p===he||(w+="skew("+u+", "+p+me),1===h&&1===m||(w+="scale("+h+", "+m+me),y.style[I]=w||"translate(0, 0)"},ve=function(e,t){var i,n,r,s,a,o=t||this,l=o.xPercent,c=o.yPercent,d=o.x,p=o.y,h=o.rotation,m=o.skewX,g=o.skewY,v=o.scaleX,y=o.scaleY,_=o.target,w=o.xOrigin,b=o.yOrigin,C=o.xOffset,T=o.yOffset,x=o.forceCSS,S=parseFloat(d),E=parseFloat(p);h=parseFloat(h),m=parseFloat(m),(g=parseFloat(g))&&(m+=g=parseFloat(g),h+=g),h||m?(h*=f,m*=f,i=Math.cos(h)*v,n=Math.sin(h)*v,r=Math.sin(h-m)*-y,s=Math.cos(h-m)*y,m&&(g*=f,a=Math.tan(m-g),r*=a=Math.sqrt(1+a*a),s*=a,g&&(a=Math.tan(g),i*=a=Math.sqrt(1+a*a),n*=a)),i=(0,u.Pr)(i),n=(0,u.Pr)(n),r=(0,u.Pr)(r),s=(0,u.Pr)(s)):(i=v,s=y,n=r=0),(S&&!~(d+"").indexOf("px")||E&&!~(p+"").indexOf("px"))&&(S=Q(_,"x",d,"px"),E=Q(_,"y",p,"px")),(w||b||C||T)&&(S=(0,u.Pr)(S+w-(w*i+b*r)+C),E=(0,u.Pr)(E+b-(w*n+b*s)+T)),(l||c)&&(a=_.getBBox(),S=(0,u.Pr)(S+l/100*a.width),E=(0,u.Pr)(E+c/100*a.height)),a="matrix("+i+","+n+","+r+","+s+","+S+","+E+")",_.setAttribute("transform",a),x&&(_.style[I]=a)},ye=function(e,t,i,n,r){var s,a,o=360,l=(0,u.r9)(r),c=parseFloat(r)*(l&&~r.indexOf("rad")?h:1)-n,d=n+c+"deg";return l&&("short"===(s=r.split("_")[1])&&(c%=o)!=c%180&&(c+=c<0?o:-360),"cw"===s&&c<0?c=(c+36e9)%o-~~(c/o)*o:"ccw"===s&&c>0&&(c=(c-36e9)%o-~~(c/o)*o)),e._pt=a=new u.Fo(e._pt,t,i,n,c,b),a.e=d,a.u="deg",e._props.push(i),a},_e=function(e,t){for(var i in t)e[i]=t[i];return e},we=function(e,t,i){var n,r,s,a,o,l,c,d=_e({},i._gsap),h=i.style;for(r in d.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),h[I]=t,n=ce(i,1),U(i,I),i.setAttribute("transform",s)):(s=getComputedStyle(i)[I],h[I]=t,n=ce(i,1),h[I]=s),p)(s=d[r])!==(a=n[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(o=(0,u.Wy)(s)!==(c=(0,u.Wy)(a))?Q(i,r,s,c):parseFloat(s),l=parseFloat(a),e._pt=new u.Fo(e._pt,n,r,o,l-o,w),e._pt.u=c||0,e._props.push(r));_e(n,d)};(0,u.fS)("padding,margin,Width,Radius",(function(e,t){var i="Top",n="Right",r="Bottom",s="Left",a=(t<3?[i,n,r,s]:[i+s,i+n,r+n,r+s]).map((function(i){return t<2?e+i:"border"+i+e}));ie[t>1?"border"+e:e]=function(e,t,i,n,r){var s,o;if(arguments.length<4)return s=a.map((function(t){return Z(e,t,i)})),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(n+"").split(" "),o={},a.forEach((function(e,t){return o[e]=s[t]=s[t]||s[(t-1)/2|0]})),e.init(t,o,r)}}));var be,Ce,Te,xe={name:"css",register:G,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,n,r){var s,o,l,c,d,h,f,m,g,v,b,x,S,E,k,L,M,P,O,D,$=this._props,z=e.style,B=i.vars.startAt;for(f in a||G(),this.styles=this.styles||F(e),L=this.styles.props,this.tween=i,t)if("autoRound"!==f&&(o=t[f],!u.$i[f]||!(0,u.if)(f,t,i,n,e,r)))if(d=typeof o,h=ie[f],"function"===d&&(d=typeof(o=o.call(i,n,e,r))),"string"===d&&~o.indexOf("random(")&&(o=(0,u.UI)(o)),h)h(this,e,f,o,i)&&(k=1);else if("--"===f.substr(0,2))s=(getComputedStyle(e).getPropertyValue(f)+"").trim(),o+="",u.GN.lastIndex=0,u.GN.test(s)||(m=(0,u.Wy)(s),g=(0,u.Wy)(o)),g?m!==g&&(s=Q(e,f,s,g)+g):m&&(o+=m),this.add(z,"setProperty",s,o,n,r,0,0,f),$.push(f),L.push(f,0,z[f]);else if("undefined"!==d){if(B&&f in B?(s="function"==typeof B[f]?B[f].call(i,n,e,r):B[f],(0,u.r9)(s)&&~s.indexOf("random(")&&(s=(0,u.UI)(s)),(0,u.Wy)(s+"")||(s+=u.Fc.units[f]||(0,u.Wy)(Z(e,f))||""),"="===(s+"").charAt(1)&&(s=Z(e,f))):s=Z(e,f),c=parseFloat(s),(v="string"===d&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),l=parseFloat(o),f in _&&("autoAlpha"===f&&(1===c&&"hidden"===Z(e,"visibility")&&l&&(c=0),L.push("visibility",0,z.visibility),W(this,z,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==f&&"transform"!==f&&~(f=_[f]).indexOf(",")&&(f=f.split(",")[0])),b=f in p)if(this.styles.save(f),x||((S=e._gsap).renderTransform&&!t.parseTransform||ce(e,t.parseTransform),E=!1!==t.smoothOrigin&&S.smooth,(x=this._pt=new u.Fo(this._pt,z,I,0,1,S.renderTransform,S,0,-1)).dep=1),"scale"===f)this._pt=new u.Fo(this._pt,S,"scaleY",c,(v?(0,u.cy)(c,v+l):l)-c||0,w),this._pt.u=0,$.push("scaleY",f),f+="X";else{if("transformOrigin"===f){L.push(A,0,z[A]),P=void 0,O=void 0,D=void 0,O=(P=(M=o).split(" "))[0],D=P[1]||"50%","top"!==O&&"bottom"!==O&&"left"!==D&&"right"!==D||(M=O,O=D,D=M),P[0]=ee[O]||O,P[1]=ee[D]||D,o=P.join(" "),S.svg?le(e,o,0,E,0,this):((g=parseFloat(o.split(" ")[2])||0)!==S.zOrigin&&W(this,S,"zOrigin",S.zOrigin,g),W(this,z,f,de(s),de(o)));continue}if("svgOrigin"===f){le(e,o,1,E,0,this);continue}if(f in re){ye(this,S,f,c,v?(0,u.cy)(c,v+o):o);continue}if("smoothOrigin"===f){W(this,S,"smooth",S.smooth,o);continue}if("force3D"===f){S[f]=o;continue}if("transform"===f){we(this,o,e);continue}}else f in z||(f=R(f)||f);if(b||(l||0===l)&&(c||0===c)&&!y.test(o)&&f in z)l||(l=0),(m=(s+"").substr((c+"").length))!==(g=(0,u.Wy)(o)||(f in u.Fc.units?u.Fc.units[f]:m))&&(c=Q(e,f,s,g)),this._pt=new u.Fo(this._pt,b?S:z,f,c,(v?(0,u.cy)(c,v+l):l)-c,b||"px"!==g&&"zIndex"!==f||!1===t.autoRound?w:T),this._pt.u=g||0,m!==g&&"%"!==g&&(this._pt.b=s,this._pt.r=C);else if(f in z)J.call(this,e,f,s,v?v+o:o);else{if(!(f in e)){(0,u.lC)(f,o);continue}this.add(e,f,s||e[f],v?v+o:o,n,r)}b||(f in z?L.push(f,0,z[f]):L.push(f,1,s||e[f])),$.push(f)}k&&(0,u.JV)(this)},render:function(e,t){if(t.tween._time||!c())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:Z,aliases:_,getSetter:function(e,t,i){var n=_[t];return n&&n.indexOf(",")<0&&(t=n),t in p&&t!==A&&(e._gsap.x||Z(e,"x"))?i&&l===i?"scale"===t?M:L:(l=i||{})&&("scale"===t?P:O):e.style&&!(0,u.m2)(e.style[t])?E:~t.indexOf("-")?k:(0,u.S5)(e,t)},core:{_removeProperty:U,_getMatrix:oe}};u.p8.utils.checkPrefix=R,u.p8.core.getStyleSaver=F,be="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",Ce="rotation,rotationX,rotationY,skewX,skewY",Te=(0,u.fS)(be+","+Ce+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){p[e]=1})),(0,u.fS)(Ce,(function(e){u.Fc.units[e]="deg",re[e]=1})),_[Te[13]]=be+","+Ce,(0,u.fS)("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");_[t[1]]=Te[t[0]]})),(0,u.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){u.Fc.units[e]="px"})),u.p8.registerPlugin(xe);var Se=u.p8.registerPlugin(xe)||u.p8;Se.core.Tween},197:e=>{var t;t=function(e){"use strict";return function(){for(var t=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["North Macedonia (Северна Македонија)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],i=0;i<t.length;i++){var n=t[i];t[i]={name:n[0],iso2:n[1],dialCode:n[2],priority:n[3]||0,areaCodes:n[4]||null}}function r(e,t,i){return(t=a(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(t){var i=function(t,i){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(n!==e){var r=n.call(t,i);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof i?i:String(i)}var o={getInstance:function(e){var t=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[t]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=o);var l=0,c={allowDropdown:!0,autoInsertDialCode:!1,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,showFlags:!0,utilsScript:""},d=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],u=function(e,t){for(var i=Object.keys(e),n=0;n<i.length;n++)t(i[n],e[i[n]])},p=function(e){u(window.intlTelInputGlobals.instances,(function(t){window.intlTelInputGlobals.instances[t][e]()}))},h=function(){function i(e,t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this.id=l++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var r=t||{};this.options={},u(c,(function(e,t){n.options[e]=r.hasOwnProperty(e)?r[e]:t})),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var n,a;return n=i,a=[{key:"_init",value:function(){var e=this;this.options.nationalMode&&(this.options.autoInsertDialCode=!1),this.options.separateDialCode&&(this.options.autoInsertDialCode=!1);var t=this.options.allowDropdown&&!this.options.separateDialCode;if(!this.options.showFlags&&t&&(this.options.showFlags=!0),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),this.isRTL=!!this.telInput.closest("[dir=rtl]"),"undefined"!=typeof Promise){var i=new Promise((function(t,i){e.resolveAutoCountryPromise=t,e.rejectAutoCountryPromise=i})),n=new Promise((function(t,i){e.resolveUtilsScriptPromise=t,e.rejectUtilsScriptPromise=i}));this.promise=Promise.all([i,n])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(t,i,n){i.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=i.length),this.countryCodes.hasOwnProperty(i)||(this.countryCodes[i]=[]);for(var r=0;r<this.countryCodes[i].length;r++)if(this.countryCodes[i][r]===t)return;var s=n!==e?n:this.countryCodes[i].length;this.countryCodes[i][s]=t}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var e=this.options.onlyCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(t){return e.indexOf(t.iso2)>-1}))}else if(this.options.excludeCountries.length){var i=this.options.excludeCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(e){return-1===i.indexOf(e.iso2)}))}else this.countries=t}},{key:"_translateCountriesByLocale",value:function(){for(var e=0;e<this.countries.length;e++){var t=this.countries[e].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(t)&&(this.countries[e].name=this.options.localizedCountries[t])}}},{key:"_countryNameSort",value:function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var e=0;e<this.countries.length;e++){var t=this.countries[e];this.dialCodes[t.dialCode]||(this.dialCodes[t.dialCode]=!0),this._addCountryCode(t.iso2,t.dialCode,t.priority)}for(var i=0;i<this.countries.length;i++){var n=this.countries[i];if(n.areaCodes)for(var r=this.countryCodes[n.dialCode][0],s=0;s<n.areaCodes.length;s++){for(var a=n.areaCodes[s],o=1;o<a.length;o++){var l=n.dialCode+a.substr(0,o);this._addCountryCode(r,l),this._addCountryCode(n.iso2,l)}this._addCountryCode(n.iso2,n.dialCode+a)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),i=this._getCountryData(t,!1,!0);i&&this.preferredCountries.push(i)}}},{key:"_createEl",value:function(e,t,i){var n=document.createElement(e);return t&&u(t,(function(e,t){return n.setAttribute(e,t)})),i&&i.appendChild(n),n}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e=this.options,t=e.allowDropdown,i=e.separateDialCode,n=e.showFlags,s=e.customContainer,a=e.hiddenInput,o=e.dropdownContainer,l="iti";t&&(l+=" iti--allow-dropdown"),i&&(l+=" iti--separate-dial-code"),n&&(l+=" iti--show-flags"),s&&(l+=" ".concat(s));var c=this._createEl("div",{class:l});this.telInput.parentNode.insertBefore(c,this.telInput);var d=t||n||i;if(d&&(this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},c)),c.appendChild(this.telInput),d&&(this.selectedFlag=this._createEl("div",function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach((function(t){r(e,t,i[t])}))}return e}({class:"iti__selected-flag"},t&&{role:"combobox","aria-haspopup":"listbox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false","aria-label":"Telephone country code"}),this.flagsContainer)),n&&(this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag)),this.selectedFlag&&this.telInput.disabled&&this.selectedFlag.setAttribute("aria-disabled","true"),i&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),t&&(this.telInput.disabled||this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),o?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),a){var u=a,p=this.telInput.getAttribute("name");if(p){var h=p.lastIndexOf("[");-1!==h&&(u="".concat(p.substr(0,h),"[").concat(u,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:u}),c.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(e,t,i){for(var n="",r=0;r<e.length;r++){var s=e[r],a=i?"-preferred":"";n+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(s.iso2).concat(a,"' role='option' data-dial-code='").concat(s.dialCode,"' data-country-code='").concat(s.iso2,"' aria-selected='false'>"),this.options.showFlags&&(n+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(s.iso2,"'></div></div>")),n+="<span class='iti__country-name'>".concat(s.name,"</span>"),n+="<span class='iti__dial-code'>+".concat(s.dialCode,"</span>"),n+="</li>"}this.countryList.insertAdjacentHTML("beforeend",n)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,i=!e||"+"!==e.charAt(0)||t&&"+"===t.charAt(0)?t:e,n=this._getDialCode(i),r=this._isRegionlessNanp(i),s=this.options,a=s.initialCountry,o=s.autoInsertDialCode;n&&!r?this._updateFlagFromNumber(i):"auto"!==a&&(a?this._setFlag(a.toLowerCase()):n&&r?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,i||this._setFlag(this.defaultCountry)),!i&&o&&(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),i&&this._updateValFromNumber(i)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoInsertDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var e=this.telInput;e&&"LABEL"!==e.tagName;)e=e.parentNode;return e}},{key:"_initDropdownListeners",value:function(){var e=this;this._handleLabelClick=function(t){e.countryList.classList.contains("iti__hide")?e.telInput.focus():t.preventDefault()};var t=this._getClosestLabel();t&&t.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!e.countryList.classList.contains("iti__hide")||e.telInput.disabled||e.telInput.readOnly||e._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(t){e.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(t.key)&&(t.preventDefault(),t.stopPropagation(),e._showDropdown()),"Tab"===t.key&&e._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var e=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(e.options.utilsScript)})):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(e){window.intlTelInputGlobals.autoCountry=e.toLowerCase(),setTimeout((function(){return p("handleAutoCountry")}))}),(function(){return p("rejectAutoCountryPromise")})))}},{key:"_initKeyListeners",value:function(){var e=this;this._handleKeyupEvent=function(){e._updateFlagFromNumber(e.telInput.value)&&e._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(e){var t=this.telInput.getAttribute("maxlength");return t&&e.length>t?e.substr(0,t):e}},{key:"_initBlurListeners",value:function(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var e=this._getNumeric(this.telInput.value);e&&this.selectedCountryData.dialCode!==e||(this.telInput.value="")}}},{key:"_getNumeric",value:function(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!0),this.telInput.dispatchEvent(t)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(e,t,i){i&&!e.classList.contains(t)?e.classList.add(t):!i&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var t=this.telInput.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop,n=t.top+i,r=this.countryList.offsetHeight,s=n+this.telInput.offsetHeight+r<i+window.innerHeight,a=n-r>i;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!s&&a),this.options.dropdownContainer){var o=!s&&a?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(n+o,"px"),this.dropdown.style.left="".concat(t.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return e._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(e){for(var t=e;t&&t!==this.countryList&&!t.classList.contains("iti__country");)t=t.parentNode;return t===this.countryList?null:t}},{key:"_bindDropdownListeners",value:function(){var e=this;this._handleMouseoverCountryList=function(t){var i=e._getClosestListItem(t.target);i&&e._highlightListItem(i,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(t){var i=e._getClosestListItem(t.target);i&&e._selectListItem(i)},this.countryList.addEventListener("click",this._handleClickCountryList);var t=!0;this._handleClickOffToClose=function(){t||e._closeDropdown(),t=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var i="",n=null;this._handleKeydownOnDropdown=function(t){t.preventDefault(),"ArrowUp"===t.key||"Up"===t.key||"ArrowDown"===t.key||"Down"===t.key?e._handleUpDownKey(t.key):"Enter"===t.key?e._handleEnterKey():"Escape"===t.key?e._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(t.key)&&(n&&clearTimeout(n),i+=t.key.toLowerCase(),e._searchForCountry(i),n=setTimeout((function(){i=""}),1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(e){var t="ArrowUp"===e||"Up"===e?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;t&&(t.classList.contains("iti__divider")&&(t="ArrowUp"===e||"Up"===e?t.previousElementSibling:t.nextElementSibling),this._highlightListItem(t,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(e){for(var t=0;t<this.countries.length;t++)if(this._startsWith(this.countries[t].name,e)){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(i,!1),this._scrollTo(i,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t=e;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var i=this.options.nationalMode||"+"!==t.charAt(0)&&!this.options.separateDialCode,n=intlTelInputUtils.numberFormat,r=n.NATIONAL,s=n.INTERNATIONAL,a=i?r:s;t=intlTelInputUtils.formatNumber(t,this.selectedCountryData.iso2,a)}t=this._beforeSetNumber(t),this.telInput.value=t}},{key:"_updateFlagFromNumber",value:function(e){var t=e,i=this.selectedCountryData.dialCode;t&&"1"===i&&"+"!==t.charAt(0)&&("1"!==t.charAt(0)&&(t="1".concat(t)),t="+".concat(t)),this.options.separateDialCode&&i&&"+"!==t.charAt(0)&&(t="+".concat(i).concat(t));var n=this._getDialCode(t,!0),r=this._getNumeric(t),s=null;if(n){var a=this.countryCodes[this._getNumeric(n)],o=-1!==a.indexOf(this.selectedCountryData.iso2)&&r.length<=n.length-1;if(!("1"===i&&this._isRegionlessNanp(r)||o))for(var l=0;l<a.length;l++)if(a[l]){s=a[l];break}}else"+"===t.charAt(0)&&r.length?s="":t&&"+"!==t||(s=this.defaultCountry);return null!==s&&this._setFlag(s)}},{key:"_isRegionlessNanp",value:function(e){var t=this._getNumeric(e);if("1"===t.charAt(0)){var i=t.substr(1,3);return-1!==d.indexOf(i)}return!1}},{key:"_highlightListItem",value:function(e,t){var i=this.highlightedItem;i&&i.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),this.selectedFlag.setAttribute("aria-activedescendant",e.getAttribute("id")),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,i,n){for(var r=i?t:this.countries,s=0;s<r.length;s++)if(r[s].iso2===e)return r[s];if(n)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.options,i=t.allowDropdown,n=t.separateDialCode,r=t.showFlags,s=this.selectedCountryData.iso2?this.selectedCountryData:{};if(this.selectedCountryData=e?this._getCountryData(e,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),r&&this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e)),this._setSelectedCountryFlagTitleAttribute(e,n),n){var a=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=a;var o=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.isRTL?this.telInput.style.paddingRight="".concat(o+6,"px"):this.telInput.style.paddingLeft="".concat(o+6,"px")}if(this._updatePlaceholder(),i){var l=this.activeItem;if(l&&(l.classList.remove("iti__active"),l.setAttribute("aria-selected","false")),e){var c=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e));c.setAttribute("aria-selected","true"),c.classList.add("iti__active"),this.activeItem=c}}return s.iso2!==e}},{key:"_setSelectedCountryFlagTitleAttribute",value:function(e,t){var i;this.selectedFlag&&(i=e&&!t?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):e?this.selectedCountryData.name:"Unknown",this.selectedFlag.setAttribute("title",i))}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden",document.body.appendChild(e);var t=this.flagsContainer.cloneNode();e.appendChild(t);var i=this.selectedFlag.cloneNode(!0);t.appendChild(i);var n=i.offsetWidth;return e.parentNode.removeChild(e),n}},{key:"_updatePlaceholder",value:function(){var e="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&e){var t=intlTelInputUtils.numberType[this.options.placeholderNumberType],i=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,t):"";i=this._beforeSetNumber(i),"function"==typeof this.options.customPlaceholder&&(i=this.options.customPlaceholder(i,this.selectedCountryData)),this.telInput.setAttribute("placeholder",i)}}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code")),this.telInput.focus();var i=this.telInput.value.length;this.telInput.setSelectionRange(i,i),t&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","false"),this.selectedFlag.removeAttribute("aria-activedescendant"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(e,t){var i=this.countryList,n=window.pageYOffset||document.documentElement.scrollTop,r=i.offsetHeight,s=i.getBoundingClientRect().top+n,a=s+r,o=e.offsetHeight,l=e.getBoundingClientRect().top+n,c=l+o,d=l-s+i.scrollTop,u=r/2-o/2;if(l<s)t&&(d-=u),i.scrollTop=d;else if(c>a){t&&(d+=u);var p=r-o;i.scrollTop=d-p}}},{key:"_updateDialCode",value:function(e){var t,i=this.telInput.value,n="+".concat(e);if("+"===i.charAt(0)){var r=this._getDialCode(i);t=r?i.replace(r,n):n,this.telInput.value=t}else this.options.autoInsertDialCode&&(t=i?n+i:n,this.telInput.value=t)}},{key:"_getDialCode",value:function(e,t){var i="";if("+"===e.charAt(0))for(var n="",r=0;r<e.length;r++){var s=e.charAt(r);if(!isNaN(parseInt(s,10))){if(n+=s,t)this.countryCodes[n]&&(i=e.substr(0,r+1));else if(this.dialCodes[n]){i=e.substr(0,r+1);break}if(n.length===this.countryCodeMaxLen)break}}return i}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,i=this._getNumeric(e);return(this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&i?"+".concat(t):"")+e}},{key:"_beforeSetNumber",value:function(e){var t=e;if(this.options.separateDialCode){var i=this._getDialCode(t);if(i){var n=" "===t[(i="+".concat(this.selectedCountryData.dialCode)).length]||"-"===t[i.length]?i.length+1:i.length;t=t.substr(n)}}return this._cap(t)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var e=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var t=this._getClosestLabel();t&&t.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&e&&e.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoInsertDialCode&&(e&&e.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var i=this.telInput.parentNode;i.parentNode.insertBefore(this.telInput,i),i.parentNode.removeChild(i),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(e){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-99}},{key:"isValidNumber",value:function(){var e=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,this.selectedCountryData.iso2):null}},{key:"isPossibleNumber",value:function(){var e=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isPossibleNumber(e,this.selectedCountryData.iso2):null}},{key:"setCountry",value:function(e){var t=e.toLowerCase();this.selectedCountryData.iso2!==t&&(this._setFlag(t),this._updateDialCode(this.selectedCountryData.dialCode),this._triggerCountryChange())}},{key:"setNumber",value:function(e){var t=this._updateFlagFromNumber(e);this._updateValFromNumber(e),t&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}}],a&&s(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),i}();o.getCountryData=function(){return t};var f=function(e,t,i){var n=document.createElement("script");n.onload=function(){p("handleUtils"),t&&t()},n.onerror=function(){p("rejectUtilsScriptPromise"),i&&i()},n.className="iti-load-utils",n.async=!0,n.src=e,document.body.appendChild(n)};return o.loadUtils=function(e){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise((function(t,i){return f(e,t,i)}));f(e)}return null},o.defaults=c,o.version="18.2.1",function(e,t){var i=new h(e,t);return i._init(),e.setAttribute("data-intl-tel-input-id",i.id),window.intlTelInputGlobals.instances[i.id]=i,i}}()},e.exports?e.exports=t():window.intlTelInput=t()},699:(e,t,i)=>{e.exports=i(197)}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}};return i[e](s,s.exports,r),s.exports}r.m=i,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,i)=>(r.f[i](e,t),t)),[])),r.u=e=>e+"."+r.h()+".js",r.miniCssF=e=>{},r.h=()=>"50b5c743e732ef19f28f",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="quadcode-promo:",r.l=(i,n,s,a)=>{if(e[i])e[i].push(n);else{var o,l;if(void 0!==s)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+s){o=u;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,r.nc&&o.setAttribute("nonce",r.nc),o.setAttribute("data-webpack",t+s),o.src=i),e[i]=[n];var p=(t,n)=>{o.onerror=o.onload=null,clearTimeout(h);var r=e[i];if(delete e[i],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),l&&document.head.appendChild(o)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={179:0};r.f.j=(t,i)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise(((i,r)=>n=e[t]=[i,r]));i.push(n[2]=s);var a=r.p+r.u(t),o=new Error;r.l(a,(i=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;o.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",o.name="ChunkLoadError",o.type=s,o.request=a,n[1](o)}}),"chunk-"+t,t)}};var t=(t,i)=>{var n,s,[a,o,l]=i,c=0;if(a.some((t=>0!==e[t]))){for(n in o)r.o(o,n)&&(r.m[n]=o[n]);l&&l(r)}for(t&&t(i);c<a.length;c++)s=a[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0},i=self.webpackChunkquadcode_promo=self.webpackChunkquadcode_promo||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),(()=>{"use strict";var e=r(716),t=r(317),i=r(92);window.addEventListener("load",(()=>{const e=document.querySelector(".header"),t=document.querySelector(".welcome"),i=document.querySelector(".slider-info"),n=document.querySelector(".main-screen"),r=document.querySelector(".partnership-welcome"),s=document.querySelector(".management-welcome"),a=document.querySelector(".main-screen--about"),o=document.querySelectorAll(".dropdown__link"),l=window.matchMedia("(min-width: 1200px)");let c=window.scrollY,d=0;const u=document.querySelector(".js-sustainability-animation"),p=document.querySelector(".js-partnership-animation"),h=document.querySelector(".js-ubo-animation"),f=document.querySelector(".js-about-animation"),m=document.querySelector(".js-manager-animation");(u||s||h)&&e.classList.add("header_ghost");const g=()=>{e.classList.add("header_white"),o.forEach((e=>{e.style.color="#141414"}))},v=()=>{let t;t=window.scrollY,(u||p||f)&&l.matches||(t>=d?g():(e.classList.remove("header_white"),o.forEach((e=>{e.style.color="white"}))))};t&&i&&(d=t.scrollHeight+i.scrollHeight-350),n&&(d=n.scrollHeight),(s||h)&&(d=50),r&&(d=r.scrollHeight),a&&(d=2*a.scrollHeight),v(),window.addEventListener("scroll",(function(){c=window.scrollY,v()})),m&&g()}));const n=()=>{const e=document.querySelector(".header"),t=document.querySelectorAll(".dropdown__link");e.classList.add("header_white"),t.forEach((e=>{e.style.color="#141414"}))},s=()=>{const e=document.querySelector(".header"),t=document.querySelectorAll(".dropdown__link");e.classList.remove("header_white"),t.forEach((e=>{e.style.color="white"}))};e.p8.registerPlugin(i.i,t.Lp);function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e={},t={}){Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:a(t[i])&&a(e[i])&&Object.keys(t[i]).length>0&&o(e[i],t[i])}))}const l={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function c(){const e="undefined"!=typeof document?document:{};return o(e,l),e}const d={document:l,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function u(){const e="undefined"!=typeof window?window:{};return o(e,d),e}class p extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function h(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...h(e)):t.push(e)})),t}function f(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){const i=u(),n=c();let r=[];if(!t&&e instanceof p)return e;if(!e)return new p(r);if("string"==typeof e){const i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let e="div";0===i.indexOf("<li")&&(e="ul"),0===i.indexOf("<tr")&&(e="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(e="tr"),0===i.indexOf("<tbody")&&(e="table"),0===i.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=i;for(let e=0;e<t.childNodes.length;e+=1)r.push(t.childNodes[e])}else r=function(e,t){if("string"!=typeof e)return[e];const i=[],n=t.querySelectorAll(e);for(let e=0;e<n.length;e+=1)i.push(n[e]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)r.push(e);else if(Array.isArray(e)){if(e instanceof p)return e;r=e}return new p(function(e){const t=[];for(let i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(r))}m.fn=p.prototype;const g="resize scroll".split(" ");function v(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)g.indexOf(e)<0&&(e in this[t]?this[t][e]():m(this[t]).trigger(e));return this}return this.on(e,...t)}}v("click"),v("blur"),v("focus"),v("focusin"),v("focusout"),v("keyup"),v("keydown"),v("keypress"),v("submit"),v("change"),v("mousedown"),v("mousemove"),v("mouseup"),v("mouseenter"),v("mouseleave"),v("mouseout"),v("mouseover"),v("touchstart"),v("touchend"),v("touchmove"),v("resize"),v("scroll");const y={addClass:function(...e){const t=h(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=h(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=h(e.map((e=>e.split(" "))));return f(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=h(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,i,n,r]=e;function s(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),m(t).is(i))n.apply(t,r);else{const e=m(t).parents();for(let t=0;t<e.length;t+=1)m(e[t]).is(i)&&n.apply(e[t],r)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,r]=e,i=void 0),r||(r=!1);const o=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(l=0;l<o.length;l+=1){const e=o[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:s}),t.addEventListener(e,s,r)}else for(l=0;l<o.length;l+=1){const e=o[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:a}),t.addEventListener(e,a,r)}}return this},off:function(...e){let[t,i,n,r]=e;"function"==typeof e[1]&&([t,n,r]=e,i=void 0),r||(r=!1);const s=t.split(" ");for(let e=0;e<s.length;e+=1){const t=s[e];for(let e=0;e<this.length;e+=1){const s=this[e];let a;if(!i&&s.dom7Listeners?a=s.dom7Listeners[t]:i&&s.dom7LiveListeners&&(a=s.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const i=a[e];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(s.removeEventListener(t,i.proxyListener,r),a.splice(e,1)):n||(s.removeEventListener(t,i.proxyListener,r),a.splice(e,1))}}}return this},trigger:function(...e){const t=u(),i=e[0].split(" "),n=e[1];for(let r=0;r<i.length;r+=1){const s=i[r];for(let i=0;i<this.length;i+=1){const r=this[i];if(t.CustomEvent){const i=new t.CustomEvent(s,{detail:n,bubbles:!0,cancelable:!0});r.dom7EventData=e.filter(((e,t)=>t>0)),r.dispatchEvent(i),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=u();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=u(),t=c(),i=this[0],n=i.getBoundingClientRect(),r=t.body,s=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,o=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:n.top+o-s,left:n.left+l-a}}return null},css:function(e,t){const i=u();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,i)=>{e.apply(t,[t,i])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=u(),i=c(),n=this[0];let r,s;if(!n||void 0===e)return!1;if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(r=m(e),s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}if(e===i)return n===i;if(e===t)return n===t;if(e.nodeType||e instanceof p){for(r=e.nodeType?[e]:e,s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return m([]);if(e<0){const i=t+e;return m(i<0?[]:[this[i]])}return m([this[e]])},append:function(...e){let t;const i=c();for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=i.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof p)for(let i=0;i<t.length;i+=1)this[e].appendChild(t[i]);else this[e].appendChild(t)}return this},prepend:function(e){const t=c();let i,n;for(i=0;i<this.length;i+=1)if("string"==typeof e){const r=t.createElement("div");for(r.innerHTML=e,n=r.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(r.childNodes[n],this[i].childNodes[0])}else if(e instanceof p)for(n=0;n<e.length;n+=1)this[i].insertBefore(e[n],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]):this[0].nextElementSibling?m([this[0].nextElementSibling]):m([]):m([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return m([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]):t.previousElementSibling?m([t.previousElementSibling]):m([])}return m([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return m([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?m(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return m(t)},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?m(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return m(t)},closest:function(e){let t=this;return void 0===e?m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return m(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let i=0;i<n.length;i+=1)e&&!m(n[i]).is(e)||t.push(n[i])}return m(t)},filter:function(e){return m(f(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(y).forEach((e=>{Object.defineProperty(m.fn,e,{value:y[e],writable:!0})}));const _=m;function w(e,t=0){return setTimeout(e,t)}function b(){return Date.now()}function C(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function T(...e){const t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let r=1;r<e.length;r+=1){const s=e[r];if(null!=s&&(n=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(s)).filter((e=>i.indexOf(e)<0));for(let i=0,n=e.length;i<n;i+=1){const n=e[i],r=Object.getOwnPropertyDescriptor(s,n);void 0!==r&&r.enumerable&&(C(t[n])&&C(s[n])?s[n].__swiper__?t[n]=s[n]:T(t[n],s[n]):!C(t[n])&&C(s[n])?(t[n]={},s[n].__swiper__?t[n]=s[n]:T(t[n],s[n])):t[n]=s[n])}}}var n;return t}function x(e,t,i){e.style.setProperty(t,i)}function S({swiper:e,targetPosition:t,side:i}){const n=u(),r=-e.translate;let s,a=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const l=t>r?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,d=()=>{s=(new Date).getTime(),null===a&&(a=s);const l=Math.max(Math.min((s-a)/o,1),0),u=.5-Math.cos(l*Math.PI)/2;let p=r+u*(t-r);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[i]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:p})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(d)};d()}let E,k,L;function M(){return E||(E=function(){const e=u(),t=c();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const i=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),E}const P={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function r(...i){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(n,i)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let i,n,r;return"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),r=t):(i=e[0].events,n=e[0].data,r=e[0].context||t),n.unshift(r),(Array.isArray(i)?i:i.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(r,[e,...n])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(r,n)}))})),t}},O={updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}const n=e.params,{$wrapperEl:r,size:s,rtlTranslate:a,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=r.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let p=[];const h=[],f=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let _=n.spaceBetween,w=-m,b=0,C=0;if(void 0===s)return;"string"==typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*s),e.virtualSize=-_,a?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(x(e.wrapperEl,"--swiper-centered-offset-before",""),x(e.wrapperEl,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;let S;T&&e.grid.initSlides(u);const E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<u;r+=1){S=0;const a=d.eq(r);if(T&&e.grid.updateSlide(r,a,u,t),"none"!==a.css("display")){if("auto"===n.slidesPerView){E&&(d[r].style[t("width")]="");const s=getComputedStyle(a[0]),o=a[0].style.transform,l=a[0].style.webkitTransform;if(o&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=i(s,"width"),t=i(s,"padding-left"),n=i(s,"padding-right"),r=i(s,"margin-left"),o=i(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=e+r+o;else{const{clientWidth:i,offsetWidth:s}=a[0];S=e+t+n+r+o+(s-i)}}o&&(a[0].style.transform=o),l&&(a[0].style.webkitTransform=l),n.roundLengths&&(S=Math.floor(S))}else S=(s-(n.slidesPerView-1)*_)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),d[r]&&(d[r].style[t("width")]=`${S}px`);d[r]&&(d[r].swiperSlideSize=S),f.push(S),n.centeredSlides?(w=w+S/2+b/2+_,0===b&&0!==r&&(w=w-s/2-_),0===r&&(w=w-s/2-_),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),C%n.slidesPerGroup==0&&p.push(w),h.push(w)):(n.roundLengths&&(w=Math.floor(w)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&p.push(w),h.push(w),w=w+S+_),e.virtualSize+=S+_,b=S,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,a&&o&&("slide"===n.effect||"coverflow"===n.effect)&&r.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),T&&e.grid.updateWrapperSize(S,p,t),!n.centeredSlides){const t=[];for(let i=0;i<p.length;i+=1){let r=p[i];n.roundLengths&&(r=Math.floor(r)),p[i]<=e.virtualSize-s&&t.push(r)}p=t,Math.floor(e.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-s)}if(0===p.length&&(p=[0]),0!==n.spaceBetween){const i=e.isHorizontal()&&a?"marginLeft":t("marginRight");d.filter(((e,t)=>!n.cssMode||t!==d.length-1)).css({[i]:`${_}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-s;p=p.map((e=>e<0?-m:e>t?t+g:e))}if(n.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e<s){const t=(s-e)/2;p.forEach(((e,i)=>{p[i]=e-t})),h.forEach(((e,i)=>{h[i]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){x(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),x(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+i))}if(u!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?i||e.$el.addClass(t):i&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||_([])).each((e=>{i.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!n)break;i.push(a(e))}else i.push(a(t.activeIndex));for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const e=i[r].offsetHeight;s=e>s?e:s}(s||0===s)&&t.$wrapperEl.css("height",`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:r,snapGrid:s}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;r&&(a=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const o=n[e];let l=o.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(a+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),d=(a-s[0]+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),u=-(a-l),p=u+t.slidesSizesGrid[e];(u>=0&&u<t.size-1||p>1&&p<=t.size||u<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass)),o.progress=r?-c:c,o.originalProgress=r?-d:d}t.visibleSlides=_(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:a}=t;const o=s,l=a;0===n?(r=0,s=!0,a=!0):(r=(e-t.minTranslate())/n,s=r<=0,a=r>=1),Object.assign(t,{progress:r,isBeginning:s,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!o&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(o&&!s||l&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:r,realIndex:s}=e,a=e.virtual&&i.virtual.enabled;let o;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),o=a?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),o.addClass(i.slideActiveClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass));let l=o.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0),l.addClass(i.slideNextClass));let c=o.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:r,params:s,activeIndex:a,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?d=e:i>=n[e]&&i<n[e+1]&&(d=e+1):i>=n[e]&&(d=e);s.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(r.indexOf(i)>=0)c=r.indexOf(i);else{const e=Math.min(s.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/s.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),d===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:a,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=_(e).closest(`.${i.slideClass}`)[0];let r,s=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){s=!0,r=e;break}if(!n||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(_(n).attr("data-swiper-slide-index"),10):t.clickedIndex=r,i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function I({swiper:e,runCallbacks:t,direction:i,step:n}){const{activeIndex:r,previousIndex:s}=e;let a=i;if(a||(a=r>s?"next":r<s?"prev":"reset"),e.emit(`transition${n}`),t&&r!==s){if("reset"===a)return void e.emit(`slideResetTransition${n}`);e.emit(`slideChangeTransition${n}`),"next"===a?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}const A={slideTo:function(e=0,t=this.params.speed,i=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const s=this;let a=e;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=s;if(s.animating&&o.preventInteractionOnTransition||!f&&!n&&!r)return!1;const m=Math.min(s.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/s.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(s.initialized&&a!==u){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(u||0)!==a)return!1}let y;if(a!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(v),y=a>u?"next":a<u?"prev":"reset",p&&-v===s.translate||!p&&v===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(v),"reset"!==y&&(s.transitionStart(i,y),s.transitionEnd(i,y)),!1;if(o.cssMode){const e=s.isHorizontal(),i=p?v:-v;if(0===t){const t=s.virtual&&s.params.virtual.enabled;t&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._swiperImmediateVirtual=!1}))}else{if(!s.support.smoothScroll)return S({swiper:s,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,y),0===t?s.transitionEnd(i,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,y))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,i=!0,n){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let s=e;return r.params.loop&&(s+=r.loopedSlides),r.slideTo(s,t,i,n)},slideNext:function(e=this.params.speed,t=!0,i){const n=this,{animating:r,enabled:s,params:a}=n;if(!s)return n;let o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<a.slidesPerGroupSkip?1:o;if(a.loop){if(r&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return a.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e=this.params.speed,t=!0,i){const n=this,{params:r,animating:s,snapGrid:a,slidesGrid:o,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(r.loop){if(s&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(l?n.translate:-n.translate),p=a.map((e=>d(e)));let h=a[p.indexOf(u)-1];if(void 0===h&&r.cssMode){let e;a.forEach(((t,i)=>{u>=t&&(e=i)})),void 0!==e&&(h=a[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=o.indexOf(h),f<0&&(f=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return n.slideTo(f,e,t,i)},slideReset:function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e=this.params.speed,t=!0,i,n=.5){const r=this;let s=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const e=r.snapGrid[o];l-e>(r.snapGrid[o+1]-e)*n&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[o-1];l-e<=(r.snapGrid[o]-e)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(_(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-n/2||s>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=i.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),w((()=>{e.slideTo(s)}))):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=i.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),w((()=>{e.slideTo(s)}))):e.slideTo(s)}else e.slideTo(s)}};function D(e){const t=this,i=c(),n=u(),r=t.touchEventsData,{params:s,touches:a,enabled:o}=t;if(!o)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let d=_(l.target);if("wrapper"===s.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const p=!!s.noSwipingClass&&""!==s.noSwipingClass,h=e.composedPath?e.composedPath():e.path;p&&l.target&&l.target.shadowRoot&&h&&(d=_(h[0]));const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!(!l.target||!l.target.shadowRoot);if(s.noSwiping&&(m?function(e,t=this){return function t(i){if(!i||i===c()||i===u())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(f,d[0]):d.closest(f)[0]))return void(t.allowClick=!0);if(s.swipeHandler&&!d.closest(s.swipeHandler)[0])return;a.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,a.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const g=a.currentX,v=a.currentY,y=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,w=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(y&&(g<=w||g>=n.innerWidth-w)){if("prevent"!==y)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=g,a.startY=v,r.touchStartTime=b(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;d.is(r.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(r.isTouched=!1)),i.activeElement&&_(i.activeElement).is(r.focusableElements)&&i.activeElement!==d[0]&&i.activeElement.blur();const n=e&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!n||d[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function $(e){const t=c(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:o}=i;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l));if(n.isTouchEvent&&"touchmove"!==l.type)return;const d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?d.pageX:l.pageX,p="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=u,void(s.startY=p);if(!i.allowTouchMove)return _(l.target).is(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:u,startY:p,currentX:u,currentY:p}),n.touchStartTime=b()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(p<s.startY&&i.translate<=i.maxTranslate()||p>s.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<s.startX&&i.translate<=i.maxTranslate()||u>s.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&_(l.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=u,s.currentY=p;const h=s.currentX-s.startX,f=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(h**2+f**2)<i.params.threshold)return;if(void 0===n.isScrolling){let e;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),n.isMoved||(r.loop&&!r.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;let m=i.isHorizontal()?h:f;s.diff=m,m*=r.touchRatio,a&&(m=-m),i.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;let g=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),m>0&&n.currentTranslate>i.minTranslate()?(g=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+m)**v)):m<0&&n.currentTranslate<i.maxTranslate()&&(g=!1,r.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-m)**v)),g&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(m)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function z(e){const t=this,i=t.touchEventsData,{params:n,touches:r,rtlTranslate:s,slidesGrid:a,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",l),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=b(),d=c-i.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(i.lastClickTime=b(),w((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?s?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let p=0,h=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==a[e+t]?u>=a[e]&&u<a[e+t]&&(p=e,h=a[e+t]-a[e]):u>=a[e]&&(p=e,h=a[a.length-1]-a[a.length-2])}let f=null,m=null;n.rewind&&(t.isBeginning?m=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(u-a[p])/h,v=p<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(d>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:p+v):t.slideTo(p)),"prev"===t.swipeDirection&&(g>1-n.longSwipesRatio?t.slideTo(p+v):null!==m&&g<0&&Math.abs(g)>n.longSwipesRatio?t.slideTo(m):t.slideTo(p))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==f?f:p+v),"prev"===t.swipeDirection&&t.slideTo(null!==m?m:p)):l.target===t.navigation.nextEl?t.slideTo(p+v):t.slideTo(p)}}function F(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function B(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function N(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let q=!1;function R(){}const G=(e,t)=>{const i=c(),{params:n,touchEvents:r,el:s,wrapperEl:a,device:o,support:l}=e,d=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",p=t;if(l.touch){const t=!("touchstart"!==r.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};s[u](r.start,e.onTouchStart,t),s[u](r.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),s[u](r.end,e.onTouchEnd,t),r.cancel&&s[u](r.cancel,e.onTouchEnd,t)}else s[u](r.start,e.onTouchStart,!1),i[u](r.move,e.onTouchMove,d),i[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&s[u]("click",e.onClick,!0),n.cssMode&&a[u]("scroll",e.onScroll),n.updateOnWindowResize?e[p](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):e[p]("observerUpdate",F,!0)},j={attachEvents:function(){const e=this,t=c(),{params:i,support:n}=e;e.onTouchStart=D.bind(e),e.onTouchMove=$.bind(e),e.onTouchEnd=z.bind(e),i.cssMode&&(e.onScroll=N.bind(e)),e.onClick=B.bind(e),n.touch&&!q&&(t.addEventListener("touchstart",R),q=!0),G(e,"on")},detachEvents:function(){G(this,"off")}},H=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,V={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:r,$el:s}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in a?a[o]:void 0)||e.originalParams,c=H(e,r),d=H(e,l),u=r.enabled;c&&!d?(s.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(s.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&s.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const i=r[t]&&r[t].enabled,n=l[t]&&l[t].enabled;i&&!n&&e[t].disable(),!i&&n&&e[t].enable()}));const p=l.direction&&l.direction!==r.direction,h=r.loop&&(l.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),T(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),h&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let n=!1;const r=u(),s="window"===t?r.innerHeight:i.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(n=s):o<=i.clientWidth&&(n=s)}return n||"max"}},Y={addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,$el:r,device:s,support:a}=e,o=function(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&i.push(t+n)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},U={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function W(e,t){return function(i={}){const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),T(t,i)):T(t,i)):T(t,i)}}const X={eventsEmitter:P,update:O,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=function(e,t="x"){const i=u();let n,r,s;const a=function(e){const t=u();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}(r[0],e);return i&&(s=-s),s||0},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:r,$wrapperEl:s,wrapperEl:a,progress:o}=i;let l,c=0,d=0;i.isHorizontal()?c=n?-e:e:d=e,r.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),r.cssMode?a[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-d:r.virtualTranslate||s.transform(`translate3d(${c}px, ${d}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:d;const u=i.maxTranslate()-i.minTranslate();l=0===u?0:(e-i.minTranslate())/u,l!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,n=!0,r){const s=this,{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let d;if(d=n&&e>l?l:n&&e<c?c:e,s.updateProgress(d),a.cssMode){const e=s.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-d;else{if(!s.support.smoothScroll)return S({swiper:s,targetPosition:-d,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),I({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),I({swiper:i,runCallbacks:e,direction:t,step:"End"}))}},slide:A,loop:{loopCreate:function(){const e=this,t=c(),{params:i,$wrapperEl:n}=e,r=n.children().length>0?_(n.children()[0].parentNode):n;r.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let s=r.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const e=i.slidesPerGroup-s.length%i.slidesPerGroup;if(e!==i.slidesPerGroup){for(let n=0;n<e;n+=1){const e=_(t.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);r.append(e)}s=r.children(`.${i.slideClass}`)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>s.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=s.length);const a=[],o=[];s.each(((e,t)=>{_(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/s.length)*s.length;o.push(s.eq(e)[0]),a.unshift(s.eq(s.length-e-1)[0])}for(let e=0;e<o.length;e+=1)r.append(_(o[e].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let e=a.length-1;e>=0;e-=1)r.prepend(_(a[e].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:r,allowSlideNext:s,snapGrid:a,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();t<n?(l=i.length-3*n+t,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)):t>=i.length-n&&(l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:j,breakpoints:V,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Y,images:{loadImage:function(e,t,i,n,r,s){const a=u();let o;function l(){s&&s()}_(e).parent("picture")[0]||e.complete&&r?l():t?(o=new a.Image,o.onload=l,o.onerror=l,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},K={};class Q{constructor(...e){let t,i;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=T({},i),t&&!i.el&&(i.el=t),i.el&&_(i.el).length>1){const e=[];return _(i.el).each((t=>{const n=T({},i,{el:t});e.push(new Q(n))})),e}const n=this;n.__swiper__=!0,n.support=M(),n.device=function(e={}){return k||(k=function({userAgent:e}={}){const t=M(),i=u(),n=i.navigator.platform,r=e||i.navigator.userAgent,s={ios:!1,android:!1},a=i.screen.width,o=i.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const d=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n;let f="MacIntel"===n;return!c&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${o}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),l&&!h&&(s.os="android",s.android=!0),(c||p||d)&&(s.os="ios",s.ios=!0),s}(e)),k}({userAgent:i.userAgent}),n.browser=(L||(L=function(){const e=u();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),L),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],i.modules&&Array.isArray(i.modules)&&n.modules.push(...i.modules);const r={};n.modules.forEach((e=>{e({swiper:n,extendParams:W(i,r),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})}));const s=T({},U,r);return n.params=T({},s,K,i),n.originalParams=T({},n.params),n.passedParams=T({},i),n.params&&n.params.on&&Object.keys(n.params.on).forEach((e=>{n.on(e,n.params.on[e])})),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=_,Object.assign(n,{enabled:n.params.enabled,el:t,classNames:[],slides:_(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:n.params.focusableElements,lastClickTime:b(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*e+n;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:o}=this;let l=1;if(i.centeredSlides){let e,t=n[o].swiperSlideSize;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=o+1;e<n.length;e+=1)(t?r[e]+s[e]-r[o]<a:r[e]-r[o]<a)&&(l+=1);else for(let e=o-1;e>=0;e-=1)r[o]-r[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let r;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(r=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),r||n()),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const i=_(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=_(e.shadowRoot.querySelector(n()));return t.children=e=>i.children(e),t}return i.children?i.children(n()):_(i).children(n())})();if(0===r.length&&t.params.createElements){const e=c().createElement("div");r=_(e),e.className=t.params.wrapperClass,i.append(e),i.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:i,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const i=this,{params:n,$el:r,$wrapperEl:s,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static extendDefaults(e){T(K,e)}static get extendedDefaults(){return K}static get defaults(){return U}static installModule(e){Q.prototype.__modules__||(Q.prototype.__modules__=[]);const t=Q.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Q.installModule(e))),Q):(Q.installModule(e),Q)}}Object.keys(X).forEach((e=>{Object.keys(X[e]).forEach((t=>{Q.prototype[t]=X[e][t]}))})),Q.use([function({swiper:e,on:t,emit:i}){const n=u();let r=null,s=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{s=n.requestAnimationFrame((()=>{const{width:i,height:n}=e;let r=i,s=n;t.forEach((({contentBoxSize:t,contentRect:i,target:n})=>{n&&n!==e.el||(r=i?i.width:(t[0]||t).inlineSize,s=i?i.height:(t[0]||t).blockSize)})),r===i&&s===n||a()}))})),r.observe(e.el)):(n.addEventListener("resize",a),n.addEventListener("orientationchange",o))})),t("destroy",(()=>{s&&n.cancelAnimationFrame(s),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",o)}))},function({swiper:e,extendParams:t,on:i,emit:n}){const r=[],s=u(),a=(e,t={})=>{const i=new(s.MutationObserver||s.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}));i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),i("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);const Z=Q;function J(e,t,i,n){const r=c();return e.params.createElements&&Object.keys(n).forEach((s=>{if(!i[s]&&!0===i.auto){let a=e.$el.children(`.${n[s]}`)[0];a||(a=r.createElement("div"),a.className=n[s],e.$el.append(a)),i[s]=a,t[s]=a}})),i}function ee({swiper:e,extendParams:t,on:i,emit:n}){function r(t){let i;return t&&(i=_(t),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.$el.find(t).length&&(i=e.$el.find(t))),i}function s(t,i){const n=e.params.navigation;t&&t.length>0&&(t[i?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=i),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:i}=e.navigation;s(i,e.isBeginning&&!e.params.rewind),s(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=J(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const i=r(t.nextEl),n=r(t.prevEl);i&&i.length>0&&i.on("click",l),n&&n.length>0&&n.on("click",o),Object.assign(e.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(i&&i.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function d(){const{$nextEl:t,$prevEl:i}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",o),i.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},i("init",(()=>{!1===e.params.navigation.enabled?u():(c(),a())})),i("toEdge fromEdge lock unlock",(()=>{a()})),i("destroy",(()=>{d()})),i("enable disable",(()=>{const{$nextEl:t,$prevEl:i}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),i("click",((t,i)=>{const{$nextEl:r,$prevEl:s}=e.navigation,a=i.target;if(e.params.navigation.hideOnClick&&!_(a).is(s)&&!_(a).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;r?t=r.hasClass(e.params.navigation.hiddenClass):s&&(t=s.hasClass(e.params.navigation.hiddenClass)),n(!0===t?"navigationShow":"navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}));const u=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),d()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),a()},disable:u,update:a,init:c,destroy:d})}function te(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function ie({swiper:e,extendParams:t,on:i,emit:n}){const r="swiper-pagination";let s;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function o(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,i){const{bulletActiveClass:n}=e.params.pagination;t[i]().addClass(`${n}-${i}`)[i]().addClass(`${n}-${i}-${i}`)}function c(){const t=e.rtl,i=e.params.pagination;if(o())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let d;const u=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),d>r-1-2*e.loopedSlides&&(d-=r-2*e.loopedSlides),d>u-1&&(d-=u),d<0&&"bullets"!==e.params.paginationType&&(d=u+d)):d=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,o,u;if(i.dynamicBullets&&(s=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",s*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=d-(e.previousIndex-e.loopedSlides||0),a>i.dynamicMainBullets-1?a=i.dynamicMainBullets-1:a<0&&(a=0)),r=Math.max(d-a,0),o=r+(Math.min(n.length,i.dynamicMainBullets)-1),u=(o+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${i.bulletActiveClass}${e}`)).join(" ")),c.length>1)n.each((e=>{const t=_(e),n=t.index();n===d&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=r&&n<=o&&t.addClass(`${i.bulletActiveClass}-main`),n===r&&l(t,"prev"),n===o&&l(t,"next"))}));else{const t=n.eq(d),s=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){const t=n.eq(r),a=n.eq(o);for(let e=r;e<=o;e+=1)n.eq(e).addClass(`${i.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=i.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${i.bulletActiveClass}-main`);n.eq(n.length-i.dynamicMainBullets-1).addClass(`${i.bulletActiveClass}-prev`)}else l(t,"prev"),l(a,"next");else l(t,"prev"),l(a,"next")}}if(i.dynamicBullets){const r=Math.min(n.length,i.dynamicMainBullets+4),a=(s*r-s)/2-u*s,o=t?"right":"left";n.css(e.isHorizontal()?o:"top",`${a}px`)}}if("fraction"===i.type&&(c.find(te(i.currentClass)).text(i.formatFractionCurrent(d+1)),c.find(te(i.totalClass)).text(i.formatFractionTotal(u))),"progressbar"===i.type){let t;t=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(d+1)/u;let r=1,s=1;"horizontal"===t?r=n:s=n,c.find(te(i.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${s})`).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(c.html(i.renderCustom(e,d+1,u)),n("paginationRender",c[0])):n("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](i.lockClass)}function d(){const t=e.params.pagination;if(o())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let s="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>i&&(n=i);for(let i=0;i<n;i+=1)t.renderBullet?s+=t.renderBullet.call(e,i,t.bulletClass):s+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(s),e.pagination.bullets=r.find(te(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(s)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=J(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let i=_(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el),i.length>1&&(i=i.filter((t=>_(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),i.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",te(t.bulletClass),(function(t){t.preventDefault();let i=_(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),Object.assign(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(o())return;const i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",te(t.bulletClass))}i("init",(()=>{!1===e.params.pagination.enabled?h():(u(),d(),c())})),i("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),i("snapIndexChange",(()=>{e.params.loop||c()})),i("slidesLengthChange",(()=>{e.params.loop&&(d(),c())})),i("snapGridLengthChange",(()=>{e.params.loop||(d(),c())})),i("destroy",(()=>{p()})),i("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),i("lock unlock",(()=>{c()})),i("click",((t,i)=>{const r=i.target,{$el:s}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s&&s.length>0&&!_(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=s.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),s.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),u(),d(),c()},disable:h,render:d,update:c,init:u,destroy:p})}function ne({swiper:e,extendParams:t,on:i}){t({parallax:{enabled:!1}});const n=(t,i)=>{const{rtl:n}=e,r=_(t),s=n?-1:1,a=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),d=r.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):e.isHorizontal()?(o=a,l="0"):(l=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*s+"%":o*i*s+"px",l=l.indexOf("%")>=0?parseInt(l,10)*i+"%":l*i+"px",null!=d){const e=d-(d-1)*(1-Math.abs(i));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(i));r.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:i,progress:r,snapGrid:s}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),i.each(((t,i)=>{let a=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(i/2)-r*(s.length-1)),a=Math.min(Math.max(a,-1),1),_(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,a)}))}))};i("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),i("init",(()=>{e.params.parallax.enabled&&r()})),i("setTranslate",(()=>{e.params.parallax.enabled&&r()})),i("setTransition",((t,i)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:i}=e;i.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const i=_(e);let n=parseInt(i.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),i.transition(n)}))})(i)}))}function re({swiper:e,extendParams:t,on:i,emit:n}){let r;function s(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=w((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?o():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),n("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),n("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?o():(t=e.slideTo(0,e.params.speed,!0,!0),n("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),n("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&s()}),i)}function a(){return void 0===r&&!e.autoplay.running&&(e.autoplay.running=!0,n("autoplayStart"),s(),!0)}function o(){return!!e.autoplay.running&&void 0!==r&&(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,n("autoplayStop"),!0)}function l(t){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,s())))}function d(){const t=c();"hidden"===t.visibilityState&&e.autoplay.running&&l(),"visible"===t.visibilityState&&e.autoplay.paused&&(s(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?s():o())}function p(){e.params.autoplay.disableOnInteraction?o():(n("autoplayPause"),l()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n("autoplayResume"),s())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),i("init",(()=>{e.params.autoplay.enabled&&(a(),c().addEventListener("visibilitychange",d),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",p),e.$el.on("mouseleave",h)))})),i("beforeTransitionStart",((t,i,n)=>{e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(i):o())})),i("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?o():l())})),i("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&s()})),i("destroy",(()=>{e.$el.off("mouseenter",p),e.$el.off("mouseleave",h),e.autoplay.running&&o(),c().removeEventListener("visibilitychange",d)})),Object.assign(e.autoplay,{pause:l,run:s,start:a,stop:o})}function se(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ae({swiper:e,extendParams:t,on:i}){t({fadeEffect:{crossFade:!1,transformEl:null}}),function(e){const{effect:t,swiper:i,on:n,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;n("beforeInit",(()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),o&&o()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)})),n("setTranslate",(()=>{i.params.effect===t&&r()})),n("setTransition",((e,n)=>{i.params.effect===t&&s(n)})),n("transitionEnd",(()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;i.slides.each((e=>{i.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),n("virtualUpdate",(()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame((()=>{d&&i.slides&&i.slides.length&&(r(),d=!1)})))}))}({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:t}=e,i=e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let r=-t[0].swiperSlideOffset;e.params.virtualTranslate||(r-=e.translate);let s=0;e.isHorizontal()||(s=r,r=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);se(i,t).css({opacity:a}).transform(`translate3d(${r}px, ${s}px, 0px)`)}},setTransition:t=>{const{transformEl:i}=e.params.fadeEffect;(i?e.slides.find(i):e.slides).transition(t),function({swiper:e,duration:t,transformEl:i,allSlides:n}){const{slides:r,activeIndex:s,$wrapperEl:a}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=n?i?r.find(i):r:i?r.eq(s).find(i):r.eq(s),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)a.trigger(t[e])}))}}({swiper:e,duration:t,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}const oe=window.matchMedia("(min-width: 1200px)"),le=new Z(".slider-responsibility__swiper",{modules:[ie,re,ae,ne],effect:"fade",parallax:!0,init:!1,fadeEffect:{crossFade:!0},speed:800,slidesPerView:1,autoplay:{delay:7e3,pauseOnMouseEnter:!1,disableOnInteraction:!0},loop:!0,pagination:{el:".pagination",type:"bullets",bulletClass:"pagination__item",bulletActiveClass:"pagination__item_active",renderBullet:()=>'\n            <div class="pagination__item">\n                <div class="pagination__progress">\n                    <span class="pagination__progress-span"></span>\n                </div>\n                <div class="pagination__text defaultSmall"></div>\n            </div>'},allowTouchMove:!oe.matches});le.on("init",(()=>{const e=document.querySelector(".slider-responsibility__video--sustainability");if(!e)return!1;e.currentTime=0,le.on("slideChange",(()=>{const i=document.querySelector(".pagination");if(!i)return;const n=i.querySelectorAll(".pagination__item");t(n);for(let e=0;e<=n.length;e++)if(le.realIndex===e){if(!n[e])return;n[e].classList.add("pagination__item_active")}switch(e.play(),le.activeIndex){case 2:setTimeout((()=>{e.currentTime=.65,e.pause()}),600);break;case 3:setTimeout((()=>{e.currentTime=1.33,e.pause()}),680);break;case 4:setTimeout((()=>{e.currentTime=2,e.pause()}),600);break;case 5:setTimeout((()=>{e.currentTime=0,e.pause()}),650)}}));const t=e=>{e.forEach((e=>{e&&e.classList.remove("pagination__item_active")}))}})),e.p8.registerPlugin(i.i,t.Yp);const ce=document.querySelectorAll(".main-screen__title-letter");e.p8.registerPlugin(i.i,t.Lp);const de=document.querySelector(".js-main-animation");window.addEventListener("load",(()=>{de&&(e.p8.to(".welcome__title",{y:0,opacity:1,delay:.2}),e.p8.to(".welcome__text",{y:0,opacity:1,delay:.4}),ue())}));const ue=()=>{e.p8.to(".animation_qcm",{y:-60,duration:1.5}),e.p8.to(".animation_amaiz",{y:-60,duration:1.5}),e.p8.to(".animation_qcex",{y:-60,duration:1.5}),e.p8.to(".animation_iq",{y:-60,duration:1.5})},pe=["Quadcode SaaS Receives UF AWARD for Best All-in-One Brokerage Solution"],he=window.matchMedia("(min-width: 1200px)"),fe=new Z(".slider-info__swiper",{modules:[ie,re,ne,ae],effect:"fade",init:!1,fadeEffect:{crossFade:!0},speed:1200,parallax:!0,slidesPerView:1,autoplay:{delay:4500,disableOnInteraction:!1},pagination:{el:".pagination",clickable:!0,type:"bullets",bulletClass:"pagination__item",bulletActiveClass:"pagination__item_active",renderBullet:function(e){return`\n            <div class="pagination__item">\n                <div class="pagination__progress">\n                    <span class="pagination__progress-span"></span>\n                </div>\n                <div class="pagination__text defaultSmall">${pe[e]}</div>\n            </div>`}},loop:pe.length>1,allowTouchMove:!he.matches});fe.on("init",(()=>{fe.on("slideChange",(()=>{const t=document.querySelector(".pagination");if(!t)return;const i=t.querySelectorAll(".pagination__item");e(i);for(let e=0;e<=i.length;e++)if(fe.realIndex===e){if(!i[e])return;i[e].classList.add("pagination__item_active")}}));const e=e=>{e.forEach((e=>{e&&e.classList.remove("pagination__item_active")}))}})),e.p8.registerPlugin(i.i,t.Yp);const me=()=>{e.p8.to(".js-about-animation-left-1",{x:0,duration:.65,opacity:1,delay:.5}),e.p8.to(".js-about-animation-left-2",{x:0,duration:.52,opacity:1,delay:.5}),e.p8.to(".js-about-animation-left-3",{x:0,duration:.43,opacity:1,delay:.5}),e.p8.to(".js-about-animation-left-4",{x:0,duration:.65,opacity:1,delay:.5}),e.p8.to(".js-about-animation-right-1",{x:0,duration:.55,opacity:1,delay:.5}),e.p8.to(".js-about-animation-right-2",{x:0,duration:.45,opacity:1,delay:.5});const t=document.querySelector(".main-screen__first-animation");t&&(e.p8.to(".main-screen__first-animation-span-left-1",{left:1200,duration:1,opacity:0,delay:.3}),e.p8.to(".main-screen__first-animation-span-left-2",{left:1200,duration:1,opacity:0,delay:.3}),e.p8.to(".main-screen__first-animation-span-left-3",{left:1200,duration:1,opacity:0,delay:.3}),e.p8.to(".main-screen__first-animation-span-right-1",{left:-1200,duration:1,opacity:0,delay:.3}),e.p8.to(".main-screen__first-animation-span-right-2",{left:-1200,duration:1,opacity:0,delay:.3}),setTimeout((()=>{t.remove()}),1300))},ge=()=>{e.p8.to(".main-screen__title",{y:0,opacity:1,duration:.5}),e.p8.to(".main-screen__text",{y:0,opacity:1,duration:.5,delay:.1})},ve=()=>{document.querySelectorAll(".block").forEach((t=>{const i=t.querySelector(".block__title"),n=t.querySelector(".block__desc"),r=t.querySelector(".block__img"),s=t.querySelectorAll(".block-icon__item"),a=t.querySelectorAll(".block__content-icon-item");if(i&&e.p8.to(i,{y:0,opacity:1,duration:.5,delay:.1}),n&&e.p8.to(n,{y:0,opacity:1,duration:.5,delay:.2}),r&&e.p8.to(r,{y:0,opacity:1,duration:.5,delay:.3}),s){let t=.1;s.forEach((i=>{e.p8.to(i,{y:0,opacity:1,delay:t}),t+=.05}))}if(a){let t=.1;a.forEach((i=>{e.p8.to(i,{y:0,opacity:1,delay:t}),t+=.1}))}}))},ye=document.querySelector(".js-main-animation"),_e=document.querySelector(".js-saas-animation"),we=document.querySelector(".js-about-animation"),be=document.querySelector(".js-sustainability-animation"),Ce=document.querySelector(".js-history-animation"),Te=document.querySelector(".js-partnership-animation"),xe=window.matchMedia("(min-width: 1200px)");ye&&(fe.init(),fe.autoplay.start(),xe.matches?(()=>{const i=document.querySelectorAll(".grid__item"),r=document.querySelectorAll(".portfolio"),a=document.querySelector(".scroll-page__section-2"),o=r=>{const a=window.pageYOffset+r.getBoundingClientRect().top,o=window.pageYOffset+r.getBoundingClientRect().bottom,l=window.pageYOffset,c=window.pageYOffset+document.documentElement.clientHeight;o>l-400&&a<c-400&&(n(),setTimeout((()=>{let n=.1;i.forEach((i=>{n+=.05,e.p8.to(i,{y:0,delay:n,duration:.25,opacity:1,ease:t.Lp.easeOut})}))}),375),e.p8.to(".portfolio__title",{y:0,opacity:1,duration:.25,delay:.25,ease:t.Lp.easeOut}),e.p8.to(".portfolio__description",{y:0,opacity:1,duration:.25,delay:.35,ease:t.Lp.easeOut})),a>c-400&&s()};r.forEach((e=>{a.addEventListener("scroll",(()=>{o(e)})),o(e)}))})():(setTimeout((()=>{let i=.1;const n=document.querySelectorAll(".grid__item");setTimeout((()=>{n.forEach((n=>{e.p8.to(n,{scrollTrigger:".grid",y:0,delay:i,duration:.25,opacity:1,ease:t.Lp.easeOut}),i+=.05}))}),400),e.p8.to(".portfolio__title",{scrollTrigger:".portfolio__title",y:0,opacity:1,duration:.25,delay:.25,ease:t.Lp.easeOut}),e.p8.to(".portfolio__description",{scrollTrigger:".portfolio__description",y:0,opacity:1,duration:.25,delay:.35,ease:t.Lp.easeOut})}),500),(()=>{const t=e.p8.timeline({scrollTrigger:{trigger:".welcome",start:"top top",end:"+=720",scrub:1,toggleActions:"reverse"}});t.to(".animation_qcm",{y:-400,transition:1},0),t.to(".animation_amaiz",{y:-400,transition:1},0),t.to(".animation_qcex",{y:-600,transition:1},0),t.to(".animation_iq",{y:-600,transition:1},0)})(),(()=>{const t=document.querySelectorAll(".pagination__item");let i=.1;t.forEach((t=>{e.p8.to(t,{scrollTrigger:".pagination",y:0,delay:i,opacity:1}),i+=.1})),e.p8.to(".slide-info__content",{scrollTrigger:".pagination",opacity:1,x:0})})())),_e&&r.e(339).then(r.bind(r,339)),we&&(xe.matches||(ge(),ve()),me()),be&&(()=>{window.scrollTo(0,0),e.p8.to(".main-screen__desc",{y:0,duration:1,opacity:1,delay:.2}),Array.from(ce).forEach((t=>{e.p8.to(t,{opacity:1,duration:1,y:0,delay:.1})}));const t=document.querySelector(".main-screen__video--desc"),i=document.querySelector(".main-screen__background"),n=document.querySelector(".btn-arrow__item_bottom"),r=window.matchMedia("(min-width: 1200px)");if(le.init(),le.autoplay.start(),!n)return!1;r.matches?n.addEventListener("click",(()=>{window.scrollTo(0,t.scrollHeight)})):n.addEventListener("click",(()=>{window.scrollTo(0,i.scrollHeight)}))})(),Ce&&r.e(678).then(r.bind(r,678)),Te&&(xe.matches,(()=>{e.p8.to(".partnership-welcome__bg",{scale:1,duration:.9,ease:t.Lp.easeOut}),e.p8.to(".partnership-welcome__parallax-1",{y:-0,duration:.9,ease:t.Lp.easeOut}),e.p8.to(".partnership-welcome__parallax-2",{y:-0,duration:.9,ease:t.Lp.easeOut}),e.p8.to(".partnership-welcome__block-first",{y:0,opacity:1,duration:.7,delay:.3,ease:t.Lp.easeOut}),e.p8.to(".partnership-welcome__text",{y:0,opacity:1,duration:.7,delay:.45,ease:t.Lp.easeOut});let i=document.querySelector(".partnership-welcome__parallax-1"),n=document.querySelector(".partnership-welcome__parallax-2");window.addEventListener("mousemove",(e=>{let t=e.clientX/window.innerWidth,r=e.clientY/window.innerHeight;i.style.transform="translate(-"+10*t+"px, -"+10*r+"px)",n.style.transform="translate(-"+30*t+"px, -"+30*r+"px)"}))})()),r(534),r(77),r(807),r(122),new Z(".slider-media__swiper",{modules:[ee,ie],navigation:{nextEl:".slider-media__item-next",prevEl:".slider-media__item-prev"},pagination:{clickable:!0,el:".swiper-pagination"},speed:1e3,slidesPerView:2.28,spaceBetween:120,initialSlide:0,centeredSlides:!0,observer:!0,observeParents:!0,virtualTranslate:!1,watchSlidesProgress:!0,breakpoints:{320:{slidesPerView:1,spaceBetween:16,initialSlide:0},480:{slidesPerView:1,spaceBetween:16},768:{slidesPerView:1,spaceBetween:16,initialSlide:1},1366:{slidesPerView:1.8,spaceBetween:80},1440:{slidesPerView:1.8,spaceBetween:80},1800:{slidesPerView:2.2,spaceBetween:80}}}),new Z(".well-being__swiper",{modules:[ie],slidesPerView:3,spaceBetween:20,freeMode:!0,pagination:{el:".well-being__pagination",clickable:!0},mousewheel:!0,breakpoints:{320:{slidesPerView:1,spaceBetween:20},480:{slidesPerView:1.5,spaceBetween:20},768:{slidesPerView:2,spaceBetween:20},1366:{slidesPerView:2.4,spaceBetween:20},1440:{slidesPerView:2.4,spaceBetween:20},1550:{slidesPerView:3,spaceBetween:20},1800:{slidesPerView:3,spaceBetween:20},2500:{slidesPerView:4,spaceBetween:20}}});const Se=window.matchMedia("(min-width: 1200px)"),Ee=new Z(".slider-history__swiper",{modules:[ie,re,ne,ae],effect:"fade",fadeEffect:{crossFade:!0},speed:600,parallax:!0,pagination:{el:".pagination-line",type:"progressbar"},autoplay:{delay:7e3,disableOnInteraction:!1},loop:!0,allowTouchMove:!Se.matches});window.addEventListener("load",(()=>{const e=document.querySelector(".slider-history__year"),t=document.querySelectorAll(".slider-history__year-item");t.forEach((e=>e.addEventListener("click",(()=>{Ee.slideTo(Number(e.dataset.slide))}))));const i=e=>{let i;return t.forEach((e=>{e.classList.remove("active")})),i=11===Number(e)?document.querySelector('[data-slide="1"]'):0===Number(e)?document.querySelector('[data-slide="10"]'):document.querySelector(`[data-slide="${e}"]`),!!i&&(i.classList.add("active"),setTimeout((()=>{i.classList.remove("active")}),6300),11===e?0:i.offsetLeft)};Ee.init(),i(Ee.activeIndex),Ee.on("slideChange",(()=>{switch(Ee.activeIndex){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:e.style.left=`-${i(Ee.activeIndex)}px`}}))}));const ke=window.matchMedia("(min-width: 1200px)"),Le=new Z(".slider-numbers__swiper",{modules:[ae,function({swiper:e,extendParams:t,on:i,emit:n}){const r=u();let s;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let a,o=b();const l=[];function c(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&b()-o<e.params.mousewheel.thresholdTime||!(t.delta>=6&&b()-o<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),o=(new r.Date).getTime(),1))}function h(t){let i=t,r=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&i.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=_(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(i.target)&&!o.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let d=0;const u=e.rtlTranslate?-1:1,h=function(e){let t=0,i=0,n=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=r,r=0),(n||r)&&e.deltaMode&&(1===e.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!t&&(t=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:r}}(i);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;d=-h.pixelX*u}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;d=-h.pixelY}else d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*u:-h.pixelY;if(0===d)return!0;o.invert&&(d=-d);let f=e.getTranslate()+d*o.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),r=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),r&&e.params.nested&&i.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:b(),delta:Math.abs(d),direction:Math.sign(d)},r=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!r){a=void 0,e.params.loop&&e.loopFix();let c=e.getTranslate()+d*o.sensitivity;const u=e.isBeginning,p=e.isEnd;if(c>=e.minTranslate()&&(c=e.minTranslate()),c<=e.maxTranslate()&&(c=e.maxTranslate()),e.setTransition(0),e.setTranslate(c),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!u&&e.isBeginning||!p&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(s),s=void 0,l.length>=15&&l.shift();const i=l.length?l[l.length-1]:void 0,n=l[0];if(l.push(t),i&&(t.delta>i.delta||t.direction!==i.direction))l.splice(0);else if(l.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const i=d>0?.8:.2;a=t,l.splice(0),s=w((()=>{e.slideToClosest(e.params.speed,!0,void 0,i)}),0)}s||(s=w((()=>{a=t,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(r||n("scroll",i),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),c===e.minTranslate()||c===e.maxTranslate())return!0}}else{const i={time:b(),delta:Math.abs(d),direction:Math.sign(d),raw:t};l.length>=2&&l.shift();const n=l.length?l[l.length-1]:void 0;if(l.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&p(i):p(i),function(t){const i=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&i.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function f(t){let i=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(i=_(e.params.mousewheel.eventsTarget)),i[t]("mouseenter",c),i[t]("mouseleave",d),i[t]("wheel",h)}function m(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(f("on"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):!!e.mousewheel.enabled&&(f("off"),e.mousewheel.enabled=!1,!0)}i("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&m()})),i("destroy",(()=>{e.params.cssMode&&m(),e.mousewheel.enabled&&g()})),Object.assign(e.mousewheel,{enable:m,disable:g})}],effect:"fade",direction:"vertical",mousewheelControl:!0,mousewheel:!0,freeMode:!0,fadeEffect:{crossFade:!0},speed:800,grabCursor:!0,slidesPerView:1});window.addEventListener("load",(()=>{ke.matches&&Le.on("slideChange",(()=>{window.addEventListener("wheel",(()=>{switch(Le.activeIndex){case 0:Le.mousewheel.enable();break;case 1:setTimeout((()=>{Le.mousewheel.enable()}),300);break;case 2:0===window.scrollY&&setTimeout((()=>{Le.mousewheel.disable()}),300)}0===window.scrollY&&2===Le.activeIndex&&Le.mousewheel.enable()}))}))})),window.addEventListener("load",(function(){const i=document.querySelector(".js-sustainability-animation"),r=document.querySelector(".js-main-animation"),a=document.querySelector(".js-about-animation"),o=window.matchMedia("(min-width: 1200px)"),l=document.querySelector("body"),c=document.querySelectorAll(".scroll-page__section").length;let d=!0,u=50,p=1,h=null,f=null;o.matches&&(document.body.onscroll=()=>{if(d){const o=this.scrollY>=u;p>=1&&p<=c&&(l.style.overflowY="hidden",o&&p<c?(h=document.querySelector(`.scroll-page__section-${p}`),f=document.querySelector(`.scroll-page__section-${p+1}`),h.style.transform="translateY(-100vh)",f.style.transform="translateY(0)",p++):!o&&p>1&&(h=document.querySelector(".scroll-page__section-"+(p-1)),f=document.querySelector(`.scroll-page__section-${p}`),h.style.transform="translateY(0)",f.style.transform="translateY(100vh)",p--)),i&&(t=>{1===t&&(setTimeout((()=>{s()}),0),e.p8.to(".main-screen__desc",{y:0,duration:1,opacity:1}),e.p8.to(".main-screen__title",{y:0,duration:.5,opacity:1})),2===t&&(setTimeout((()=>{n()}),600),e.p8.to(".main-screen__desc",{y:-40,duration:.5,opacity:0}),e.p8.to(".main-screen__title",{y:-40,duration:.5,opacity:0}))})(p),r&&(i=>{1===i&&(e.p8.to(".animation_qcm",{y:-60,duration:.6,delay:.3,ease:t.Lp.easeOut}),e.p8.to(".animation_amaiz",{y:-60,duration:.6,delay:.3,ease:t.Lp.easeOut}),e.p8.to(".animation_qcex",{y:-60,duration:.6,delay:.3,ease:t.Lp.easeOut}),e.p8.to(".animation_iq",{y:-60,duration:.6,delay:.3,ease:t.Lp.easeOut})),2===i&&(e.p8.to(".animation_qcm",{duration:.5,y:-800,ease:t.Lp.easeOut}),e.p8.to(".animation_amaiz",{duration:.5,y:-1100,ease:t.Lp.easeOut}),e.p8.to(".animation_qcex",{duration:.5,y:-1e3,ease:t.Lp.easeOut}),e.p8.to(".animation_iq",{duration:.5,y:-700,ease:t.Lp.easeOut}),setTimeout((()=>{(()=>{const t=document.querySelectorAll(".pagination__item");let i=.1;t.forEach((t=>{e.p8.to(t,{y:0,delay:i,opacity:1}),i+=.1})),e.p8.to(".slide-info__content",{opacity:1,x:0})})()}),600))})(p),a&&(t=>{1===t&&(me(),setTimeout((()=>{e.p8.to(".main-screen__video-one",{opacity:1,duration:.5})}),800),e.p8.to(".main-screen__video-two",{opacity:0,duration:.5})),2===t&&(setTimeout((()=>{ge()}),800),s(),e.p8.to(".main-screen__video-one",{opacity:0,duration:.5}),setTimeout((()=>{e.p8.to(".main-screen__video-two",{opacity:1,duration:.5})}),800)),3===t&&(e.p8.to(".main-screen__video-two",{opacity:0,duration:.5}),setTimeout((()=>{ve()}),600),setTimeout((()=>{n()}),600))})(p),setTimeout((()=>{u=this.scrollY,d=!0,l.style.overflowY="scroll"}),800),d=!1}})})),new Z(".swiper-awards",{modules:[ie,ee],spaceBetween:230,pagination:{el:".swiper-awards-pagination",clickable:!0},navigation:{prevEl:".swiper-awards-prev",nextEl:".swiper-awards-next"},breakpoints:{320:{slidesPerView:1,spaceBetween:16,initialSlide:0},480:{slidesPerView:1,spaceBetween:16},768:{slidesPerView:2,spaceBetween:20},1366:{slidesPerView:4,spaceBetween:20},1800:{slidesPerView:4,spaceBetween:20}}});const Me=e=>{window.dataLayer?(console.log("event data sent",e),window.dataLayer.push(e)):console.error("no dataLayer")};var Pe=r(699),Oe=r.n(Pe);const Ie=e=>{if(!e)return!1;const t=e.querySelectorAll(".form-field.error"),i=e.querySelectorAll(".checkbox.error");0!==i&&Array.from(i).forEach((e=>e.classList.remove("error"))),0!==t&&Array.from(t).forEach((e=>e.classList.remove("error")))};let Ae=!1;const De=e=>{const t=new URL(window.location),i=()=>document.querySelector(`[data-role="${e}"]`),n=()=>document.querySelectorAll(`[data-role="${e}-reset"]`);if(!i())return console.error(`${e} this form undefined`),!1;i().addEventListener("submit",(e=>{const n=u();e.preventDefault(),d()&&d().classList.add("button--loading"),Ie(),n.append("landing_url",t.host+t.pathname);for(let e=0;e<localStorage.length;e++){let t=localStorage.key(e);t.includes("form__")&&n.append(t.replace("form__",""),localStorage.getItem(t))}n.get("phone")&&n.set("phone",n.get("full_number")),n.get("full_number")&&n.delete("full_number"),((e,t,i=null)=>"POST"===e||"GET"===e?(t=>(Ae=!0,fetch(t,{method:e,headers:{"X-Requested-With":"XMLHttpRequest"},body:i}).then((e=>(Ae=!1,e.json()))).catch((e=>{throw Ae=!1,e}))))(t):void 0)("POST",s(),n).then((e=>{e.errors?((e={},t,i)=>{if(i){Ie(t);for(let n in e){const r=t.querySelector(`#${i}-${n}`);if(!r)continue;const s=r.closest(".form-field")||r.closest(".checkbox"),a=s.querySelector(".form-field__error")||s.querySelector(".checkbox__error");a&&(a.innerHTML=e[n]),s&&s.classList.add("error")}}else console.error("Error handling cannot be done due to missing the form name")})(e.errors,i(),c()):e.success&&o()&&(Me({event:"saas_form_sent"}),o().style.display="flex",i().style.display="none")})).catch((()=>{a()&&(a().style.display="flex",i().style.display="none")})).finally((()=>{d()&&(grecaptcha.reset(),d().classList.remove("button--loading"))}))})),i().addEventListener("blur",(e=>r(e)),!0);const r=e=>{const t=e.target,i=t.closest(".form-field");i&&(t.value?i.classList.add("filled"):i.classList.remove("filled"))};0!==n().length&&n().forEach((e=>{e.addEventListener("click",(()=>{a().style.display="none",i().style.display="block",o().style.display="none",i().reset(),i().querySelectorAll(".form-field").forEach((e=>{e&&(e.classList.remove("error"),e.classList.remove("filled"))}))}),!1)}));const s=()=>i().getAttribute("action"),a=()=>document.querySelector(".form-error"),o=()=>document.querySelector(".form-success"),l=()=>o().querySelector('[data-lang-type="link"]'),c=()=>i().getAttribute("data-name"),d=()=>i().querySelector(".button"),u=()=>new FormData(i());l()&&l().addEventListener("click",(e=>(e.preventDefault(),window.location.reload(),!1)),!1)};let $e=window.matchMedia("(min-width: 767px)");window.onresize=function(){const e=window.matchMedia("(min-width: 767px)"),t=document.querySelectorAll(".footer__block");e.matches?t.forEach((e=>{const t=e.querySelector(".footer__block-body");e.classList.remove("open"),t.style.height="initial"})):ze(t)};const ze=e=>{e.forEach((e=>{const t=e.querySelector(".footer__block-body");e.classList.remove("open"),t.style.height="0px"}))};window.addEventListener("load",(()=>{let e=new URL(window.location);const t=document.querySelectorAll('[data-widget="form"]'),i=new URLSearchParams(window.location.search).entries();for(const e of i)localStorage.setItem("form__"+e[0],e[1]);(e=>{const t=new Z(".slider-gallery",{modules:[ee],navigation:{nextEl:".slider-gallery__item-next",prevEl:".slider-gallery__item-prev"},loop:!0,speed:1e3,init:!1,slidesPerView:1,spaceBetween:0,observer:!0,observeParents:!0,virtualTranslate:!1,watchSlidesProgress:!0}),i=document.querySelector(`[data-widget="${e}"]`),n=document.querySelectorAll(`[data-role="${e}"]`);if(0===n.length&&!i)return!1;const r=i.querySelector(".modal-gallery__close");n.forEach((e=>{e.addEventListener("click",(()=>{i.classList.add("modal-gallery--active");const n=e.dataset.slide;t.init(),t.activeIndex=Number(n)}),!1)})),r.addEventListener("click",(()=>i.classList.remove("modal-gallery--active")),!1)})("partnership"),(e=>{const t=document.querySelector(`[data-widget="${e}"]`),i=document.querySelectorAll(`[data-role="${e}"]`);if(t){const e=t.querySelector(".modal-video__iframe");if(0===i.length&&!t)return!1;const n=t.querySelector(".modal-video__close"),r=()=>(document.body.style.overflowY="hidden",t.classList.add("modal-video--active")),s=()=>(e&&(e.src=""),document.body.style.overflowY="scroll",t.classList.remove("modal-video--active"));i.forEach((t=>{t.addEventListener("click",(()=>{e&&(e.src=t.dataset.src),r()}),!1)})),n.addEventListener("click",s,!1)}})("partnership-video"),((e,t)=>{const i=document.querySelector(`[data-widget="${e}"]`),n=document.querySelectorAll(`[data-role="${e}"]`),r=document.querySelector(`[data-role="${e}-close"]`);if(0===n.length&&!i)return!1;const s=()=>(["contacts","saas","saas2"].includes(e)&&Me({event:"saas_form_opening"}),i.classList.add("active"));n.forEach((e=>{e.addEventListener("click",(()=>{s()}),!1)})),t&&s(),r&&r.addEventListener("click",(()=>i.classList.remove("active")),!1)})("contacts","#form"===e.hash),(()=>{const e=document.querySelector("#contacts-request-phone"),t=document.querySelector("#saas-request-phone"),i=document.querySelector("#saas2-request-phone"),n=document.querySelector("#saas-phone");if(e||t||i||n)Oe()(e||t||i||n,{initialCountry:"auto",geoIpLookup:function(e){fetch("https://ipapi.co/json").then((function(e){return e.json()})).then((function(t){e(t.country_code)})).catch((function(){e("us")}))},hiddenInput:"full_number",nationalMode:!1,autoInsertDialCode:!0,formatOnDisplay:!0,autoHideDialCode:!0,separateDialCode:!0,preferredCountries:["gb","us","de","es","fr","it","pt","zh"],utilsScript:"https://cdn.jsdelivr.net/npm/intl-tel-input@18.1.1/build/js/utils.js"})})(),(()=>{const e=document.querySelectorAll(".footer__block");e.forEach((t=>{const i=t.querySelector(".footer__block-header"),n=t.querySelector(".footer__block-body");$e.matches||i.addEventListener("click",(i=>{const r=setTimeout((()=>{t.classList.contains("open")?(t.classList.remove("open"),n.style.height="0px"):(ze(e),t.classList.add("open"),n.style.height=`${i.target.nextElementSibling.scrollHeight}px`),clearTimeout(r)}),50)}))}))})(),0!==t.length&&t.forEach((e=>{if(e){const t=e.getAttribute("data-name");t&&De(t)}}))}))})()})();