1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[435],{9498:function(t,e,i){i.d(e,{i:function(){return e2}});var n,r,s,o,a,l,u,h,c,d,p,f,m,v=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},g=1,y=[],x=[],b=[],w=Date.now,P=function(t,e){return e},T=function(){var t=c.core,e=t.bridge||{},i=t._scrollers,n=t._proxies;i.push.apply(i,x),n.push.apply(n,b),x=i,b=n,P=function(t,i){return e[t](i)}},S=function(t,e){return~b.indexOf(t)&&b[b.indexOf(t)+1][e]},A=function(t){return!!~d.indexOf(t)},M=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!1!==n,capture:!!r})},C=function(t,e,i,n){return t.removeEventListener(e,i,!!n)},E="scrollLeft",k="scrollTop",D=function(){return p&&p.isPressed||x.cache++},V=function(t,e){var i=function i(n){if(n||0===n){g&&(s.history.scrollRestoration="manual");var r=p&&p.isPressed;t(n=i.v=Math.round(n)||(p&&p.iOS?1:0)),i.cacheID=x.cache,r&&P("ss",n)}else(e||x.cache!==i.cacheID||P("ref"))&&(i.cacheID=x.cache,i.v=t());return i.v+i.offset};return i.offset=0,t&&i},R={s:E,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:V(function(t){return arguments.length?s.scrollTo(t,O.sc()):s.pageXOffset||o[E]||a[E]||l[E]||0})},O={s:k,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:V(function(t){return arguments.length?s.scrollTo(R.sc(),t):s.pageYOffset||o[k]||a[k]||l[k]||0})},_=function(t,e){return(e&&e._ctx&&e._ctx.selector||n.utils.toArray)(t)[0]||("string"==typeof t&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",t):null)},F=function(t,e){for(var i=e.length;i--;)if(e[i]===t||e[i].contains(t))return!0;return!1},L=function(t,e){var i=e.s,r=e.sc;A(t)&&(t=o.scrollingElement||a);
vendor: 10,254 bytes, line 1
1var s=x.indexOf(t),l=r===O.sc?1:2;~s||(s=x.push(t)-1),x[s+l]||M(t,"scroll",D);var u=x[s+l],h=u||(x[s+l]=V(S(t,i),!0)||(A(t)?r:V(function(e){return arguments.length?t[i]=e:t[i]})));return h.target=t,u||(h.smooth="smooth"===n.getProperty(t,"scrollBehavior")),h},B=function(t,e,i){var n=t,r=t,s=w(),o=s,a=e||50,l=Math.max(500,3*a),u=function(t,e){var l=w();e||l-s>a?(r=n,n=t,o=s,s=l):i?n+=t:n=r+(t-r)/(l-o)*(s-o)};return{update:u,reset:function(){r=n=i?0:n,o=s=0},getVelocity:function(t){var e=o,a=r,h=w();return(t||0===t)&&t!==n&&u(t),s===o||h-o>l?0:(n+(i?a:-a))/((i?h:s)-e)*1e3}}},j=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},I=function(t){var e=Math.max.apply(Math,t),i=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(i)?e:i},W=function(){(c=n.core.globals().ScrollTrigger)&&c.core&&T()},X=function(t){return n=t||v(),!r&&n&&"undefined"!=typeof document&&document.body&&(s=window,a=(o=document).documentElement,l=o.body,d=[s,o,a,l],n.utils.clamp,m=n.core.context||function(){},h="onpointerenter"in l?"pointer":"mouse",u=N.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,f=N.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in a?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return g=0},500),W(),r=1),r};R.op=O,x.cache=0;var N=function(){function t(t){this.init(t)}return t.prototype.init=function(t){r||X(n)||console.warn("Please gsap.registerPlugin(Observer)"),c||W();var e=t.tolerance,i=t.dragMinimum,d=t.type,v=t.target,g=t.lineHeight,x=t.debounce,b=t.preventDefault,P=t.onStop,T=t.onStopDelay,S=t.ignore,E=t.wheelSpeed,k=t.event,V=t.onDragStart,N=t.onDragEnd,Y=t.onDrag,U=t.onPress,$=t.onRelease,z=t.onRight,H=t.onLeft,q=t.onUp,G=t.onDown,K=t.onChangeX,Z=t.onChangeY,J=t.onChange,Q=t.onToggleX,tt=t.onToggleY,te=t.onHover,ti=t.onHoverEnd,tn=t.onMove,tr=t.ignoreCheck,ts=t.isNormalizer,to=t.onGestureStart,ta=t.onGestureEnd,tl=t.onWheel,tu=t.onEnable,th=t.onDisable,tc=t.onClick,td=t.scrollSpeed,tp=t.capture,tf=t.allowClicks,tm=t.lockAxis,tv=t.onLockAxis;this.target=v=_(v)||a,this.vars=t,S&&(S=n.utils.toArray(S)),e=e||1e-9,i=i||0,E=E||1,td=td||1,d=d||"wheel,touch,pointer",x=!1!==x,g||(g=parseFloat(s.getComputedStyle(l).lineHeight)||22);var tg,ty,tx,tb,tw,tP,tT,tS=this,tA=0,tM=0,tC=t.passive||!b&&!1!==t.passive,tE=L(v,R),tk=L(v,O),tD=tE(),tV=tk(),tR=~d.indexOf("touch")&&!~d.indexOf("pointer")&&"pointerdown"===f[0],tO=A(v),t_=v.ownerDocument||o,tF=[0,0,0],tL=[0,0,0],tB=0,tj=function(){return tB=w()},tI=function(t,e){return(tS.event=t)&&S&&F(t.target,S)||e&&tR&&"touch"!==t.pointerType||tr&&tr(t,e)},tW=function(){var t=tS.deltaX=I(tF),i=tS.deltaY=I(tL),n=Math.abs(t)>=e,r=Math.abs(i)>=e;J&&(n||r)&&J(tS,t,i,tF,tL),n&&(z&&tS.deltaX>0&&z(tS),H&&tS.deltaX<0&&H(tS),K&&K(tS),Q&&tS.deltaX<0!=tA<0&&Q(tS),tA=tS.deltaX,tF[0]=tF[1]=tF[2]=0),r&&(G&&tS.deltaY>0&&G(tS),q&&tS.deltaY<0&&q(tS),Z&&Z(tS),tt&&tS.deltaY<0!=tM<0&&tt(tS),tM=tS.deltaY,tL[0]=tL[1]=tL[2]=0),(tb||tx)&&(tn&&tn(tS),tx&&(V&&1===tx&&V(tS),Y&&Y(tS),tx=0),tb=!1),tP&&(tP=!1,1)&&tv&&tv(tS),tw&&(tl(tS),tw=!1),tg=0},tX=function(t,e,i){tF[i]+=t,tL[i]+=e,tS._vx.update(t),tS._vy.update(e),x?tg||(tg=requestAnimationFrame(tW)):tW()},tN=function(t,e){tm&&!tT&&(tS.axis=tT=Math.abs(t)>Math.abs(e)?"x":"y",tP=!0),"y"!==tT&&(tF[2]+=t,tS._vx.update(t,!0)),"x"!==tT&&(tL[2]+=e,tS._vy.update(e,!0)),x?tg||(tg=requestAnimationFrame(tW)):tW()},tY=function(t){if(!tI(t,1)){var e=(t=j(t,b)).clientX,n=t.clientY,r=e-tS.x,s=n-tS.y,o=tS.isDragging;tS.x=e,tS.y=n,(o||(r||s)&&(Math.abs(tS.startX-e)>=i||Math.abs(tS.startY-n)>=i))&&(tx||(tx=o?2:1),o||(tS.isDragging=!0),tN(r,s))}},tU=tS.onPress=function(t){tI(t,1)||t&&t.button||(tS.axis=tT=null,ty.pause(),tS.isPressed=!0,t=j(t),tA=tM=0,tS.startX=tS.x=t.clientX,tS.startY=tS.y=t.clientY,tS._vx.reset(),tS._vy.reset(),M(ts?v:t_,f[1],tY,tC,!0),tS.deltaX=tS.deltaY=0,U&&U(tS))},t$=tS.onRelease=function(t){if(!tI(t,1)){C(ts?v:t_,f[1],tY,!0);var e=!isNaN(tS.y-tS.startY),i=tS.isDragging,r=i&&(Math.abs(tS.x-tS.startX)>3||Math.abs(tS.y-tS.startY)>3),o=j(t);!r&&e&&(tS._vx.reset(),tS._vy.reset(),b&&tf&&n.delayedCall(.08,function(){if(w()-tB>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(t_.createEvent){var e=t_.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,s,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),tS.isDragging=tS.isGesturing=tS.isPressed=!1,P&&i&&!ts&&ty.restart(!0),tx&&tW(),N&&i&&N(tS),$&&$(tS,r)}},tz=function(t){return t.touches&&t.touches.length>1&&(tS.isGesturing=!0)&&to(t,tS.isDragging)},tH=function(){return tS.isGesturing=!1,ta(tS)},tq=function(t){if(!tI(t)){var e=tE(),i=tk();tX((e-tD)*td,(i-tV)*td,1),tD=e,tV=i,P&&ty.restart(!0)}},tG=function(t){if(!tI(t)){t=j(t,b),tl&&(tw=!0);var e=(1===t.deltaMode?g:2===t.deltaMode?s.innerHeight:1)*E;tX(t.deltaX*e,t.deltaY*e,0),P&&!ts&&ty.restart(!0)}},tK=function(t){if(!tI(t)){var e=t.clientX,i=t.clientY,n=e-tS.x,r=i-tS.y;tS.x=e,tS.y=i,tb=!0,P&&ty.restart(!0),(n||r)&&tN(n,r)}},tZ=function(t){tS.event=t,te(tS)},tJ=function(t){tS.event=t,ti(tS)},tQ=function(t){return tI(t)||j(t,b)&&tc(tS)};ty=tS._dc=n.delayedCall(T||.25,function(){tS._vx.reset(),tS._vy.reset(),ty.pause(),P&&P(tS)}).pause(),tS.deltaX=tS.deltaY=0,tS._vx=B(0,50,!0),tS._vy=B(0,50,!0),tS.scrollX=tE,tS.scrollY=tk,tS.isDragging=tS.isGesturing=tS.isPressed=!1,m(this),tS.enable=function(t){return!tS.isEnabled&&(M(tO?t_:v,"scroll",D),d.indexOf("scroll")>=0&&M(tO?t_:v,"scroll",tq,tC,tp),d.indexOf("wheel")>=0&&M(v,"wheel",tG,tC,tp),(d.indexOf("touch")>=0&&u||d.indexOf("pointer")>=0)&&(M(v,f[0],tU,tC,tp),M(t_,f[2],t$),M(t_,f[3],t$),tf&&M(v,"click",tj,!0,!0),tc&&M(v,"click",tQ),to&&M(t_,"gesturestart",tz),ta&&M(t_,"gestureend",tH),te&&M(v,h+"enter",tZ),ti&&M(v,h+"leave",tJ),tn&&M(v,h+"move",tK)),tS.isEnabled=!0,tS.isDragging=tS.isGesturing=tS.isPressed=tb=tx=!1,tS._vx.reset(),tS._vy.reset(),tD=tE(),tV=tk(),t&&t.type&&tU(t),tu&&tu(tS)),tS},tS.disable=function(){tS.isEnabled&&(y.filter(function(t){return t!==tS&&A(t.target)}).length||C(tO?t_:v,"scroll",D),tS.isPressed&&(tS._vx.reset(),tS._vy.reset(),C(ts?v:t_,f[1],tY,!0)),C(tO?t_:v,"scroll",tq,tp),C(v,"wheel",tG,tp),C(v,f[0],tU,tp),C(t_,f[2],t$),C(t_,f[3],t$),C(v,"click",tj,!0),C(v,"click",tQ),C(t_,"gesturestart",tz),C(t_,"gestureend",tH),C(v,h+"enter",tZ),C(v,h+"leave",tJ),C(v,h+"move",tK),tS.isEnabled=tS.isPressed=tS.isDragging=!1,th&&th(tS))},tS.kill=tS.revert=function(){tS.disable();var t=y.indexOf(tS);t>=0&&y.splice(t,1),p===tS&&(p=0)},y.push(tS),ts&&A(v)&&(p=tS),tS.enable(k)},function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t.prototype,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();N.version="3.14.2",N.create=function(t){return new N(t)},N.register=X,N.getAll=function(){return y.slice()},N.getById=function(t){return y.filter(function(e){return e.vars.id===t})[0]},v()&&n.registerPlugin(N);var Y,U,$,z,H,q,G,K,Z,J,Q,tt,te,ti,tn,tr,ts,to,ta,tl,tu,th,tc,td,tp,tf,tm,tv,tg,ty,tx,tb,tw,tP,tT,tS,tA,tM,tC=1,tE=Date.now,tk=tE(),tD=0,tV=0,tR=function(t,e,i){var n=tz(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return i["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},tO=function(t,e){return e&&(!tz(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},t_=function(){return ti=1},tF=function(){return ti=0},tL=function(t){return t},tB=function(t){return Math.round(1e5*t)/1e5||0},tj=function(){return"undefined"!=typeof window},tI=function(){return Y||tj()&&(Y=window.gsap)&&Y.registerPlugin&&Y},tW=function(t){return!!~G.indexOf(t)},tX=function(t){return("Height"===t?tx:$["inner"+t])||H["client"+t]||q["client"+t]},tN=function(t){return S(t,"getBoundingClientRect")||(tW(t)?function(){return eG.width=$.innerWidth,eG.height=tx,eG}:function(){return er(t)})},tY=function(t,e,i){var n=i.d,r=i.d2,s=i.a;return(s=S(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?tX(r):t["client"+r])||0}},tU=function(t,e){var i=e.s,n=e.d2,r=e.d,s=e.a;return Math.max(0,(s=S(t,i="scroll"+n))?s()-tN(t)()[r]:tW(t)?(H[i]||q[i])-tX(n):t[i]-t["offset"+n])},t$=function(t,e){for(var i=0;i<ta.length;i+=3)(!e||~e.indexOf(ta[i+1]))&&t(ta[i],ta[i+1],ta[i+2])},tz=function(t){return"string"==typeof t},tH=function(t){return"function"==typeof t},tq=function(t){return"number"==typeof t},tG=function(t){return"object"==typeof t},tK=function(t,e,i){return t&&t.progress(e?0:1)&&i&&t.pause()},tZ=function(t,e){if(t.enabled){var i=t._ctx?t._ctx.add(function(){return e(t)}):e(t);i&&i.totalTime&&(t.callbackAnimation=i)}},tJ=Math.abs,tQ="left",t0="right",t1="bottom",t2="width",t5="height",t3="Right",t4="Left",t9="Bottom",t6="padding",t7="margin",t8="Width",et="Height",ee=function(t){return $.getComputedStyle(t)},ei=function(t){var e=ee(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"},en=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},er=function(t,e){var i=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ee(t)[tn]&&Y.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect();return i&&i.progress(0).kill(),n},es=function(t,e){var i=e.d2;return t["offset"+i]||t["client"+i]||0},eo=function(t){var e,i=[],n=t.labels,r=t.duration();for(e in n)i.push(n[e]/r);return i},ea=function(t){var e=Y.utils.snap(t),i=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return i?function(t,n,r){var s;if(void 0===r&&(r=.001),!n)return e(t);if(n>0){for(t-=r,s=0;s<i.length;s++)if(i[s]>=t)return i[s];return i[s-1]}for(s=i.length,t+=r;s--;)if(i[s]<=t)return i[s];return i[0]}:function(i,n,r){void 0===r&&(r=.001);var s=e(i);return!n||Math.abs(s-i)<r||s-i<0==n<0?s:e(n<0?i-t:i+t)}},el=function(t,e,i,n){return i.split(",").forEach(function(i){return t(e,i,n)})},eu=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!n,capture:!!r})},eh=function(t,e,i,n){return t.removeEventListener(e,i,!!n)}
vendor: 1,771 bytes, line 1
1,ec=function(t,e,i){(i=i&&i.wheelHandler)&&(t(e,"wheel",i),t(e,"touchmove",i))},ed={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ep={toggleActions:"play",anticipatePin:0},ef={top:0,left:0,center:.5,bottom:1,right:1},em=function(t,e){if(tz(t)){var i=t.indexOf("="),n=~i?+(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(n*=e/100),t=t.substr(0,i-1)),t=n+(t in ef?ef[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},ev=function(t,e,i,n,r,s,o,a){var l=r.startColor,u=r.endColor,h=r.fontSize,c=r.indent,d=r.fontWeight,p=z.createElement("div"),f=tW(i)||"fixed"===S(i,"pinType"),m=-1!==t.indexOf("scroller"),v=f?q:i,g=-1!==t.indexOf("start"),y=g?l:u,x="border-color:"+y+";font-size:"+h+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(x+=(n===O?t0:t1)+":"+(s+parseFloat(c))+"px;"),o&&(x+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=g,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=x,p.innerText=e||0===e?t+"-"+e:t,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+n.op.d2],eg(p,0,n,g),p},eg=function(t,e,i,n){var r={display:"block"},s=i[n?"os2":"p2"],o=i[n?"p2":"os2"];t._isFlipped=n,r[i.a+"Percent"]=n?-100:0,r[i.a]=n?"1px":0,r["border"+s+t8]=1,r["border"+o+t8]=0,r[i.p]=e+"px",Y.set(t,r)},ey=[],ex={},eb=function(){return tE()-tD>34&&(tT||(tT=requestAnimationFrame(eW)))},ew=function(){tc&&tc.isPressed&&!(tc.startX>q.clientWidth)||(x.cache++,tc?tT||(tT=requestAnimationFrame(eW)):eW(),tD||eC("scrollStart"),tD=tE())}
vendor: 4,187 bytes, line 1
1,eP=function(){tf=$.innerWidth,tp=$.innerHeight},eT=function(t){x.cache++,(!0===t||!te&&!th&&!z.fullscreenElement&&!z.webkitFullscreenElement&&(!td||tf!==$.innerWidth||Math.abs($.innerHeight-tp)>.25*$.innerHeight))&&K.restart(!0)},eS={},eA=[],eM=function t(){return eh(e2,"scrollEnd",t)||eB(!0)},eC=function(t){return eS[t]&&eS[t].map(function(t){return t()})||eA},eE=[],ek=function(t){for(var e=0;e<eE.length;e+=5)(!t||eE[e+4]&&eE[e+4].query===t)&&(eE[e].style.cssText=eE[e+1],eE[e].getBBox&&eE[e].setAttribute("transform",eE[e+2]||""),eE[e+3].uncache=1)},eD=function(){return x.forEach(function(t){return tH(t)&&++t.cacheID&&(t.rec=t())})},eV=function(t,e){var i;for(tr=0;tr<ey.length;tr++)(i=ey[tr])&&(!e||i._ctx===e)&&(t?i.kill(1):i.revert(!0,!0));tb=!0,e&&ek(e),e||eC("revert")},eR=function(t,e){x.cache++,(e||!tS)&&x.forEach(function(t){return tH(t)&&t.cacheID++&&(t.rec=0)}),tz(t)&&($.history.scrollRestoration=tg=t)},eO=0,e_=function(){if(tA!==eO){var t=tA=eO;requestAnimationFrame(function(){return t===eO&&eB(!0)})}},eF=function(){q.appendChild(ty),tx=!tc&&ty.offsetHeight||$.innerHeight,q.removeChild(ty)},eL=function(t){return Z(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},eB=function(t,e){if(H=z.documentElement,q=z.body,G=[$,z,H,q],tD&&!t&&!tb){eu(e2,"scrollEnd",eM);return}eF(),tS=e2.isRefreshing=!0,tb||eD();var i=eC("refreshInit");tl&&e2.sort(),e||eV(),x.forEach(function(t){tH(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),ey.slice(0).forEach(function(t){return t.refresh()}),tb=!1,ey.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",i=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-i),t.refresh()}}),tw=1,eL(!0),ey.forEach(function(t){var e=tU(t.scroller,t._dir),i="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(i||n)&&t.setPositions(n?e-1:t.start,i?Math.max(n?e:t.start+1,e):t.end,!0)}),eL(!1),tw=0,i.forEach(function(t){return t&&t.render&&t.render(-1)}),x.forEach(function(t){tH(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),eR(tg,1),K.pause(),eO++,tS=2,eW(2),ey.forEach(function(t){return tH(t.vars.onRefresh)&&t.vars.onRefresh(t)}),tS=e2.isRefreshing=!1,eC("refresh")},ej=0,eI=1,eW=function(t){if(2===t||!tS&&!tb){e2.isUpdating=!0,tM&&tM.update(0);var e=ey.length,i=tE(),n=i-tk>=50,r=e&&ey[0].scroll();if(eI=ej>r?-1:1,tS||(ej=r),n&&(tD&&!ti&&i-tD>200&&(tD=0,eC("scrollEnd")),Q=tk,tk=i),eI<0){for(tr=e;tr-- >0;)ey[tr]&&ey[tr].update(0,n);eI=1}else for(tr=0;tr<e;tr++)ey[tr]&&ey[tr].update(0,n);e2.isUpdating=!1}tT=0},eX=[tQ,"top",t1,t0,t7+t9,t7+t3,t7+"Top",t7+t4,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eN=eX.concat([t2,t5,"boxSizing","max"+t8,"max"+et,"position",t7,t6,t6+"Top",t6+t3,t6+t9,t6+t4]),eY=function(t,e,i){ez(i);var n=t._gsap;if(n.spacerIsNative)ez(n.spacerState);else if(t._gsap.swappedIn){var r=e.parentNode;r&&(r.insertBefore(t,e),r.removeChild(e))}t._gsap.swappedIn=!1},eU=function(t,e,i,n){if(!t._gsap.swappedIn){for(var r,s=eX.length,o=e.style,a=t.style;s--;)o[r=eX[s]]=i[r];o.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(o.display="inline-block"),a[t1]=a[t0]="auto",o.flexBasis=i.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[t2]=es(t,R)+"px",o[t5]=es(t,O)+"px",o[t6]=a[t7]=a.top=a[tQ]="0",ez(n),a[t2]=a["max"+t8]=i[t2],a[t5]=a["max"+et]=i[t5],a[t6]=i[t6],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},e$=/([A-Z])/g,ez=function(t){if(t){var e,i,n=t.t.style,r=t.length,s=0;for((t.t._gsap||Y.core.getCache(t.t)).uncache=1;s<r;s+=2)i=t[s+1],e=t[s],i?n[e]=i:n[e]&&n.removeProperty(e.replace(e$,"-$1").toLowerCase())}},eH=function(t){for(var e=eN.length,i=t.style,n=[],r=0;r<e;r++)n.push(eN[r],i[eN[r]]);return n.t=t,n},eq=function(t,e,i){for(var n,r=[],s=t.length,o=i?8:0;o<s;o+=2)n=t[o],r.push(n,n in e?e[n]:t[o+1]);return r.t=t.t,r},eG={left:0,top:0}
1,eK=function(t,e,i,n,r,s,o,a,l,u,h,c,d,p){tH(t)&&(t=t(a)),tz(t)&&"max"===t.substr(0,3)&&(t=c+("="===t.charAt(4)?em("0"+t.substr(3),i):0));var f,m,v,g=d?d.time():0;if(d&&d.seek(0),isNaN(t)||(t=+t),tq(t))d&&(t=Y.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,c,t)),o&&eg(o,i,n,!0);else{tH(e)&&(e=e(a));var y,x,b,w,P=(t||"0").split(" ");(y=er(v=_(e,a)||q)||{}).left||y.top||"none"!==ee(v).display||(w=v.style.display,v.style.display="block",y=er(v),w?v.style.display=w:v.style.removeProperty("display")),x=em(P[0],y[n.d]),b=em(P[1]||"0",i),t=y[n.p]-l[n.p]-u+x+r-b,o&&eg(o,b,n,i-b<20||o._isStart&&b>20),i-=i-b}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var T=t+i,S=s._isStart;f="scroll"+n.d2,eg(s,T,n,S&&T>20||!S&&(h?Math.max(q[f],H[f]):s.parentNode[f])<=T+1),h&&(l=er(o),h&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+"px"))}return d&&v&&(f=er(v),d.seek(c),m=er(v),d._caScrollDist=f[n.p]-m[n.p],t=t/d._caScrollDist*c),d&&d.seek(g),d?t:Math.round(t)},eZ=/(webkit|moz|length|cssText|inset)/i,eJ=function(t,e,i,n){if(t.parentNode!==e){var r,s,o=t.style;if(e===q){for(r in t._stOrig=o.cssText,s=ee(t))+r||eZ.test(r)||!s[r]||"string"!=typeof o[r]||"0"===r||(o[r]=s[r]);o.top=i,o.left=n}else o.cssText=t._stOrig;Y.core.getCache(t).uncache=1,e.appendChild(t)}},eQ=function(t,e,i){var n=e,r=n;return function(e){var s=Math.round(t());return s!==n&&s!==r&&Math.abs(s-n)>3&&Math.abs(s-r)>3&&(e=s,i&&i()),r=n,n=Math.round(e)}},e0=function(t,e,i){var n={};n[e.p]="+="+i,Y.set(t,n)},e1=function(t,e){var i=L(t,e),n="_scroll"+e.p2,r=function e(r,s,o,a,l){var u=e.tween,h=s.onComplete,c={};o=o||i();var d=eQ(i,o,function(){u.kill(),e.tween=0});return l=a&&l||0,a=a||r-o,u&&u.kill(),s[n]=r,s.inherit=!1,s.modifiers=c,c[n]=function(){return d(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){x.cache++,e.tween&&eW()},s.onComplete=function(){e.tween=0,h&&h.call(u)},u=e.tween=Y.to(t,s)};return t[n]=i,i.wheelHandler=function(){return r.tween&&r.tween.kill()&&(r.tween=0)},eu(t,"wheel",i.wheelHandler),e2.isTouch&&eu(t,"touchmove",i.wheelHandler),r},e2=function(){function t(e,i){U||t.register(Y)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),tv(this),this.init(e,i)}return t.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!tV){this.update=this.refresh=this.kill=tL;return}var n,r,s,o,a,l,u,h,c,d,p,f,m,v,g,y,w,P,T,A,M,C,E,k,D,V,F,B,j,I,W,X,N,U,G,K,tt,tn,ts,to,ta,th=e=en(tz(e)||tq(e)||e.nodeType?{trigger:e}:e,ep),tc=th.onUpdate,td=th.toggleClass,tp=th.id,tf=th.onToggle,tm=th.onRefresh,tv=th.scrub,tg=th.trigger,ty=th.pin,tx=th.pinSpacing,tb=th.invalidateOnRefresh,tT=th.anticipatePin,tA=th.onScrubComplete,tk=th.onSnapComplete,t_=th.once,tF=th.snap,tj=th.pinReparent,tI=th.pinSpacer,tX=th.containerAnimation,t$=th.fastScrollEnd,tQ=th.preventOverlaps,t0=e.horizontal||e.containerAnimation&&!1!==e.horizontal?R:O,t1=!tv&&0!==tv,el=_(e.scroller||$),ec=Y.core.getCache(el),ef=tW(el),eg=("pinType"in e?e.pinType:S(el,"pinType")||ef&&"fixed")==="fixed",eb=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],eP=t1&&e.toggleActions.split(" "),eS="markers"in e?e.markers:ep.markers,eA=ef?0:parseFloat(ee(el)["border"+t0.p2+t8])||0,eC=this,eE=e.onRefreshInit&&function(){return e.onRefreshInit(eC)},ek=tY(el,ef,t0),eD=!ef||~b.indexOf(el)?tN(el):function(){return eG},eV=0,eR=0,eO=0,eF=L(el,t0);if(eC._startClamp=eC._endClamp=!1,eC._dir=t0,tT*=45,eC.scroller=el,eC.scroll=tX?tX.time.bind(tX):eF,l=eF(),eC.vars=e,i=i||e.animation,"refreshPriority"in e&&(tl=1,-9999===e.refreshPriority&&(tM=eC)),ec.tweenScroll=ec.tweenScroll||{top:e1(el,O),left:e1(el,R)},eC.tweenTo=s=ec.tweenScroll[t0.p],eC.scrubDuration=function(t){(G=tq(t)&&t)?U?U.duration(t):U=Y.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:G,paused:!0,onComplete:function(){return tA&&tA(eC)}}):(U&&U.progress(1).kill(),U=0)},i&&(i.vars.lazy=!1,i._initted&&!eC.isReverted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.duration()&&i.render(0,!0,!0),eC.animation=i.pause(),i.scrollTrigger=eC,eC.scrubDuration(tv),X=0,tp||(tp=i.vars.id)),tF&&((!tG(tF)||tF.push)&&(tF={snapTo:tF}),"scrollBehavior"in q.style&&Y.set(ef?[q,H]:el,{scrollBehavior:"auto"}),x.forEach(function(t){return tH(t)&&t.target===(ef?z.scrollingElement||H:el)&&(t.smooth=!1)}),a=tH(tF.snapTo)?tF.snapTo:"labels"===tF.snapTo?(n=i,function(t){return Y.utils.snap(eo(n),t)}):"labelsDirectional"===tF.snapTo?(r=i,function(t,e){return ea(eo(r))(t,e.direction)}):!1!==tF.directional?function(t,e){return ea(tF.snapTo)(t,tE()-eR<500?0:e.direction)}:Y.utils.snap(tF.snapTo),K=tG(K=tF.duration||{min:.1,max:2})?J(K.min,K.max):J(K,K),tt=Y.delayedCall(tF.delay||G/2||.1,function(){var t=eF(),e=tE()-eR<500,n=s.tween;if((e||10>Math.abs(eC.getVelocity()))&&!n&&!ti&&eV!==t){var r,o,l=(t-h)/y,u=i&&!t1?i.totalProgress():l,d=e?0:(u-N)/(tE()-Q)*1e3||0,p=Y.utils.clamp(-l,1-l,tJ(d/2)*d/.185),f=l+(!1===tF.inertia?0:p),m=tF,v=m.onStart,g=m.onInterrupt,x=m.onComplete;if(tq(r=a(f,eC))||(r=f),o=Math.max(0,Math.round(h+r*y)),t<=c&&t>=h&&o!==t){if(n&&!n._initted&&n.data<=tJ(o-t))return;!1===tF.inertia&&(p=r-l),s(o,{duration:K(tJ(.185*Math.max(tJ(f-u),tJ(r-u))/d/.05||0)),ease:tF.ease||"power3",data:tJ(o-t),onInterrupt:function(){return tt.restart(!0)&&g&&g(eC)}
1,onComplete:function(){eC.update(),eV=eF(),i&&!t1&&(U?U.resetTo("totalProgress",r,i._tTime/i._tDur):i.progress(r)),X=N=i&&!t1?i.totalProgress():eC.progress,tk&&tk(eC),x&&x(eC)}},t,p*y,o-t-p*y),v&&v(eC,s.tween)}}else eC.isActive&&eV!==t&&tt.restart(!0)}).pause()),tp&&(ex[tp]=eC),(ta=(tg=eC.trigger=_(tg||!0!==ty&&ty))&&tg._gsap&&tg._gsap.stRevert)&&(ta=ta(eC)),ty=!0===ty?tg:_(ty),tz(td)&&(td={targets:tg,className:td}),ty&&(!1===tx||tx===t7||(tx=(!!tx||!ty.parentNode||!ty.parentNode.style||"flex"!==ee(ty.parentNode).display)&&t6),eC.pin=ty,(o=Y.core.getCache(ty)).spacer?w=o.pinState:(tI&&((tI=_(tI))&&!tI.nodeType&&(tI=tI.current||tI.nativeElement),o.spacerIsNative=!!tI,tI&&(o.spacerState=eH(tI))),o.spacer=A=tI||z.createElement("div"),A.classList.add("pin-spacer"),tp&&A.classList.add("pin-spacer-"+tp),o.pinState=w=eH(ty)),!1!==e.force3D&&Y.set(ty,{force3D:!0}),eC.spacer=A=o.spacer,V=(W=ee(ty))[tx+t0.os2],C=Y.getProperty(ty),E=Y.quickSetter(ty,t0.a,"px"),eU(ty,A,W),T=eH(ty)),eS){v=tG(eS)?en(eS,ed):ed,f=ev("scroller-start",tp,el,t0,v,0),m=ev("scroller-end",tp,el,t0,v,0,f),M=f["offset"+t0.op.d2];var eL=_(S(el,"content")||el);d=this.markerStart=ev("start",tp,eL,t0,v,M,0,tX),p=this.markerEnd=ev("end",tp,eL,t0,v,M,0,tX),tX&&(to=Y.quickSetter([d,p],t0.a,"px")),eg||b.length&&!0===S(el,"fixedMarkers")||(ei(ef?q:el),Y.set([f,m],{force3D:!0}),B=Y.quickSetter(f,t0.a,"px"),I=Y.quickSetter(m,t0.a,"px"))}if(tX){var eB=tX.vars.onUpdate,ej=tX.vars.onUpdateParams;tX.eventCallback("onUpdate",function(){eC.update(0,0,1),eB&&eB.apply(tX,ej||[])})}if(eC.previous=function(){return ey[ey.indexOf(eC)-1]},eC.next=function(){return ey[ey.indexOf(eC)+1]},eC.revert=function(t,e){if(!e)return eC.kill(!0);var n=!1!==t||!eC.enabled,r=te;n!==eC.isReverted&&(n&&(tn=Math.max(eF(),eC.scroll.rec||0),eO=eC.progress,ts=i&&i.progress()),d&&[d,p,f,m].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(te=eC,eC.update(n)),!ty||tj&&eC.isActive||(n?eY(ty,A,w):eU(ty,A,ee(ty),F)),n||eC.update(n),te=r,eC.isReverted=n)},eC.refresh=function(n,r,o,a){if(!te&&eC.enabled||r){if(ty&&n&&tD){eu(t,"scrollEnd",eM);return}!tS&&eE&&eE(eC),te=eC,s.tween&&!o&&(s.tween.kill(),s.tween=0),U&&U.pause(),tb&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),eC.isReverted||eC.revert(!0,!0),eC._subPinOffset=!1;var v,x,b,S,M,E,V,B,I,W,X,N,$,G=ek(),K=eD(),Z=tX?tX.duration():tU(el,t0),J=y<=.01||!y,Q=0,ti=a||0,tr=tG(o)?o.end:e.end,to=e.endTrigger||tg,ta=tG(o)?o.start:e.start||(0!==e.start&&tg?ty?"0 0":"0 100%":0),tl=eC.pinnedContainer=e.pinnedContainer&&_(e.pinnedContainer,eC),th=tg&&Math.max(0,ey.indexOf(eC))||0,tc=th;for(eS&&tG(o)&&(N=Y.getProperty(f,t0.p),$=Y.getProperty(m,t0.p));tc-- >0;)(E=ey[tc]).end||E.refresh(0,1)||(te=eC),(V=E.pin)&&(V===tg||V===ty||V===tl)&&!E.isReverted&&(W||(W=[]),W.unshift(E),E.revert(!0,!0)),E!==ey[tc]&&(th--,tc--);for(tH(ta)&&(ta=ta(eC)),h=eK(ta=tR(ta,"start",eC),tg,G,t0,eF(),d,f,eC,K,eA,eg,Z,tX,eC._startClamp&&"_startClamp")||(ty?-.001:0),tH(tr)&&(tr=tr(eC)),tz(tr)&&!tr.indexOf("+=")&&(~tr.indexOf(" ")?tr=(tz(ta)?ta.split(" ")[0]:"")+tr:(Q=em(tr.substr(2),G),tr=tz(ta)?ta:(tX?Y.utils.mapRange(0,tX.duration(),tX.scrollTrigger.start,tX.scrollTrigger.end,h):h)+Q,to=tg)),tr=tR(tr,"end",eC),c=Math.max(h,eK(tr||(to?"100% 0":Z),to,G,t0,eF()+Q,p,m,eC,K,eA,eg,Z,tX,eC._endClamp&&"_endClamp"))||-.001,Q=0,tc=th;tc--;)(V=(E=ey[tc]||{}).pin)&&E.start-E._pinPush<=h&&!tX&&E.end>0&&(v=E.end-(eC._startClamp?Math.max(0,E.start):E.start),(V===tg&&E.start-E._pinPush<h||V===tl)&&isNaN(ta)&&(Q+=v*(1-E.progress)),V===ty&&(ti+=v));if(h+=Q,c+=Q,eC._startClamp&&(eC._startClamp+=Q),eC._endClamp&&!tS&&(eC._endClamp=c||-.001,c=Math.min(c,tU(el,t0))),y=c-h||(h-=.01)&&.001,J&&(eO=Y.utils.clamp(0,1,Y.utils.normalize(h,c,tn))),eC._pinPush=ti,d&&Q&&((v={})[t0.a]="+="+Q,tl&&(v[t0.p]="-="+eF()),Y.set([d,p],v)),ty&&!(tw&&eC.end>=tU(el,t0)))v=ee(ty),S=t0===O,b=eF(),k=parseFloat(C(t0.a))+ti,!Z&&c>1&&(X={style:X=(ef?z.scrollingElement||H:el).style,value:X["overflow"+t0.a.toUpperCase()]},ef&&"scroll"!==ee(q)["overflow"+t0.a.toUpperCase()]&&(X.style["overflow"+t0.a.toUpperCase()]="scroll")),eU(ty,A,v),T=eH(ty),x=er(ty,!0),B=eg&&L(el,S?R:O)(),tx?((F=[tx+t0.os2,y+ti+"px"]).t=A,(tc=tx===t6?es(ty,t0)+y+ti:0)&&(F.push(t0.d,tc+"px"),"auto"!==A.style.flexBasis&&(A.style.flexBasis=tc+"px")),ez(F),tl&&ey.forEac
1h(function(t){t.pin===tl&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),eg&&eF(tn)):(tc=es(ty,t0))&&"auto"!==A.style.flexBasis&&(A.style.flexBasis=tc+"px"),eg&&((M={top:x.top+(S?b-h:B)+"px",left:x.left+(S?B:b-h)+"px",boxSizing:"border-box",position:"fixed"})[t2]=M["max"+t8]=Math.ceil(x.width)+"px",M[t5]=M["max"+et]=Math.ceil(x.height)+"px",M[t7]=M[t7+"Top"]=M[t7+t3]=M[t7+t9]=M[t7+t4]="0",M[t6]=v[t6],M[t6+"Top"]=v[t6+"Top"],M[t6+t3]=v[t6+t3],M[t6+t9]=v[t6+t9],M[t6+t4]=v[t6+t4],P=eq(w,M,tj),tS&&eF(0)),i?(I=i._initted,tu(1),i.render(i.duration(),!0,!0),D=C(t0.a)-k+y+ti,j=Math.abs(y-D)>1,eg&&j&&P.splice(P.length-2,2),i.render(0,!0,!0),I||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),tu(0)):D=y,X&&(X.value?X.style["overflow"+t0.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+t0.a));else if(tg&&eF()&&!tX)for(x=tg.parentNode;x&&x!==q;)x._pinOffset&&(h-=x._pinOffset,c-=x._pinOffset),x=x.parentNode;W&&W.forEach(function(t){return t.revert(!1,!0)}),eC.start=h,eC.end=c,l=u=tS?tn:eF(),tX||tS||(l<tn&&eF(tn),eC.scroll.rec=0),eC.revert(!1,!0),eR=tE(),tt&&(eV=-1,tt.restart(!0)),te=0,i&&t1&&(i._initted||ts)&&i.progress()!==ts&&i.progress(ts||0,!0).render(i.time(),!0,!0),(J||eO!==eC.progress||tX||tb||i&&!i._initted)&&(i&&!t1&&(i._initted||eO||!1!==i.vars.immediateRender)&&i.totalProgress(tX&&h<-.001&&!eO?Y.utils.normalize(h,c,0):eO,!0),eC.progress=J||(l-h)/y===eO?0:eO),ty&&tx&&(A._pinOffset=Math.round(eC.progress*D)),U&&U.invalidate(),isNaN(N)||(N-=Y.getProperty(f,t0.p),$-=Y.getProperty(m,t0.p),e0(f,t0,N),e0(d,t0,N-(a||0)),e0(m,t0,$),e0(p,t0,$-(a||0))),J&&!tS&&eC.update(),!tm||tS||g||(g=!0,tm(eC),g=!1)}},eC.getVelocity=function(){return(eF()-u)/(tE()-Q)*1e3||0},eC.endAnimation=function(){tK(eC.callbackAnimation),i&&(U?U.progress(1):i.paused()?t1||tK(i,eC.direction<0,1):tK(i,i.reversed()))},eC.labelToScroll=function(t){return i&&i.labels&&(h||eC.refresh()||h)+i.labels[t]/i.duration()*y||0},eC.getTrailing=function(t){var e=ey.indexOf(eC),i=eC.direction>0?ey.slice(0,e).reverse():ey.slice(e+1);return(tz(t)?i.filter(function(e){return e.vars.preventOverlaps===t}):i).filter(function(t){return eC.direction>0?t.end<=h:t.start>=c})},eC.update=function(t,e,n){if(!tX||n||t){var r,o,a,d,p,m,v,g=!0===tS?tn:eC.scroll(),x=t?0:(g-h)/y,b=x<0?0:x>1?1:x||0,w=eC.progress;if(e&&(u=l,l=tX?eF():g,tF&&(N=X,X=i&&!t1?i.totalProgress():b)),tT&&ty&&!te&&!tC&&tD&&(!b&&h<g+(g-u)/(tE()-Q)*tT?b=1e-4:1===b&&c>g+(g-u)/(tE()-Q)*tT&&(b=.9999)),b!==w&&eC.enabled){if(d=(p=(r=eC.isActive=!!b&&b<1)!=(!!w&&w<1))||!!b!=!!w,eC.direction=b>w?1:-1,eC.progress=b,d&&!te&&(o=b&&!w?0:1===b?1:1===w?2:3,t1&&(a=!p&&"none"!==eP[o+1]&&eP[o+1]||eP[o],v=i&&("complete"===a||"reset"===a||a in i))),tQ&&(p||v)&&(v||tv||!i)&&(tH(tQ)?tQ(eC):eC.getTrailing(tQ).forEach(function(t){return t.endAnimation()})),!t1&&(!U||te||tC?i&&i.totalProgress(b,!!(te&&(eR||t))):(U._dp._time-U._start!==U._time&&U.render(U._dp._time-U._start),U.resetTo?U.resetTo("totalProgress",b,i._tTime/i._tDur):(U.vars.totalProgress=b,U.invalidate().restart()))),ty){if(t&&tx&&(A.style[tx+t0.os2]=V),eg){if(d){if(m=!t&&b>w&&c+1>g&&g+1>=tU(el,t0),tj){if(!t&&(r||m)){var S=er(ty,!0),M=g-h;eJ(ty,q,S.top+(t0===O?M:0)+"px",S.left+(t0===O?0:M)+"px")}else eJ(ty,A)}ez(r||m?P:T),j&&b<1&&r||E(k+(1!==b||m?0:D))}}else E(tB(k+D*b))}!tF||s.tween||te||tC||tt.restart(!0),td&&(p||t_&&b&&(b<1||!tP))&&Z(td.targets).forEach(function(t){return t.classList[r||t_?"add":"remove"](td.className)}),!tc||t1||t||tc(eC),d&&!te?(t1&&(v&&("complete"===a?i.pause().totalProgress(1):"reset"===a?i.restart(!0).pause():"restart"===a?i.restart(!0):i[a]()),tc&&tc(eC)),(p||!tP)&&(tf&&p&&tZ(eC,tf),eb[o]&&tZ(eC,eb[o]),t_&&(1===b?eC.kill(!1,1):eb[o]=0),!p&&eb[o=1===b?1:3]&&tZ(eC,eb[o])),t$&&!r&&Math.abs(eC.getVelocity())>(tq(t$)?t$:2500)&&(tK(eC.callbackAnimation),U?U.progress(1):tK(i,"reverse"===a?1:!b,1))):t1&&tc&&!te&&tc(eC)}if(I){var C=tX?g/tX.duration()*(tX._caScrollDist||0):g;B(C+(f._isFlipped?1:0)),I(C)}to&&to(-g/tX.duration()*(tX._caScrollDist||0))}},eC.enable=function(e,i){eC.enabled||(eC.enabled=!0,eu(el,"resize",eT),ef||eu(el,"scroll",ew),eE&&eu(t,"refreshInit",eE),!1!==e&&(eC.progress=eO=0,l=u=eV=eF()),!1!==i&&eC.refresh())},eC.getTween=function(t){return t&&s?s.tween:U}
vendor: 13,949 bytes, line 1
1,eC.setPositions=function(t,e,i,n){if(tX){var r=tX.scrollTrigger,s=tX.duration(),o=r.end-r.start;t=r.start+o*t/s,e=r.start+o*e/s}eC.refresh(!1,!1,{start:tO(t,i&&!!eC._startClamp),end:tO(e,i&&!!eC._endClamp)},n),eC.update()},eC.adjustPinSpacing=function(t){if(F&&t){var e=F.indexOf(t0.d)+1;F[e]=parseFloat(F[e])+t+"px",F[1]=parseFloat(F[1])+t+"px",ez(F)}},eC.disable=function(e,i){if(!1!==e&&eC.revert(!0,!0),eC.enabled&&(eC.enabled=eC.isActive=!1,i||U&&U.pause(),tn=0,o&&(o.uncache=1),eE&&eh(t,"refreshInit",eE),tt&&(tt.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!ef)){for(var n=ey.length;n--;)if(ey[n].scroller===el&&ey[n]!==eC)return;eh(el,"resize",eT),ef||eh(el,"scroll",ew)}},eC.kill=function(t,n){eC.disable(t,n),U&&!n&&U.kill(),tp&&delete ex[tp];var r=ey.indexOf(eC);r>=0&&ey.splice(r,1),r===tr&&eI>0&&tr--,r=0,ey.forEach(function(t){return t.scroller===eC.scroller&&(r=1)}),r||tS||(eC.scroll.rec=0),i&&(i.scrollTrigger=null,t&&i.revert({kill:!1}),n||i.kill()),d&&[d,p,f,m].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),tM===eC&&(tM=0),ty&&(o&&(o.uncache=1),r=0,ey.forEach(function(t){return t.pin===ty&&r++}),r||(o.spacer=0)),e.onKill&&e.onKill(eC)},ey.push(eC),eC.enable(!1,!1),ta&&ta(eC),i&&i.add&&!y){var eW=eC.update;eC.update=function(){eC.update=eW,x.cache++,h||c||eC.refresh()},Y.delayedCall(.01,eC.update),y=.01,h=c=0}else eC.refresh();ty&&e_()},t.register=function(e){return U||(Y=e||tI(),tj()&&window.document&&t.enable(),U=tV),U},t.defaults=function(t){if(t)for(var e in t)ep[e]=t[e];return ep},t.disable=function(t,e){tV=0,ey.forEach(function(i){return i[e?"kill":"disable"](t)}),eh($,"wheel",ew),eh(z,"scroll",ew),clearInterval(tt),eh(z,"touchcancel",tL),eh(q,"touchstart",tL),el(eh,z,"pointerdown,touchstart,mousedown",t_),el(eh,z,"pointerup,touchend,mouseup",tF),K.kill(),t$(eh);for(var i=0;i<x.length;i+=3)ec(eh,x[i],x[i+1]),ec(eh,x[i],x[i+2])},t.enable=function(){if($=window,H=(z=document).documentElement,q=z.body,Y&&(Z=Y.utils.toArray,J=Y.utils.clamp,tv=Y.core.context||tL,tu=Y.core.suppressOverwrites||tL,tg=$.history.scrollRestoration||"auto",ej=$.pageYOffset||0,Y.core.globals("ScrollTrigger",t),q)){tV=1,(ty=document.createElement("div")).style.height="100vh",ty.style.position="absolute",eF(),function t(){return tV&&requestAnimationFrame(t)}(),N.register(Y),t.isTouch=N.isTouch,tm=N.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),td=1===N.isTouch,eu($,"wheel",ew),G=[$,z,H,q],Y.matchMedia?(t.matchMedia=function(t){var e,i=Y.matchMedia();for(e in t)i.add(e,t[e]);return i},Y.addEventListener("matchMediaInit",function(){eD(),eV()}),Y.addEventListener("matchMediaRevert",function(){return ek()}),Y.addEventListener("matchMedia",function(){eB(0,1),eC("matchMedia")}),Y.matchMedia().add("(orientation: portrait)",function(){return eP(),eP})):console.warn("Requires GSAP 3.11.0 or later"),eP(),eu(z,"scroll",ew);var e,i,n=q.hasAttribute("style"),r=q.style,s=r.borderTopStyle,o=Y.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=er(q),O.m=Math.round(e.top+O.sc())||0,R.m=Math.round(e.left+R.sc())||0,s?r.borderTopStyle=s:r.removeProperty("border-top-style"),n||(q.setAttribute("style",""),q.removeAttribute("style")),tt=setInterval(eb,250),Y.delayedCall(.5,function(){return tC=0}),eu(z,"touchcancel",tL),eu(q,"touchstart",tL),el(eu,z,"pointerdown,touchstart,mousedown",t_),el(eu,z,"pointerup,touchend,mouseup",tF),tn=Y.utils.checkPrefix("transform"),eN.push(tn),U=tE(),K=Y.delayedCall(.2,eB).pause(),ta=[z,"visibilitychange",function(){var t=$.innerWidth,e=$.innerHeight;z.hidden?(ts=t,to=e):(ts!==t||to!==e)&&eT()},z,"DOMContentLoaded",eB,$,"load",eB,$,"resize",eT],t$(eu),ey.forEach(function(t){return t.enable(0,1)}),i=0;i<x.length;i+=3)ec(eh,x[i],x[i+1]),ec(eh,x[i],x[i+2])}},t.config=function(e){"limitCallbacks"in e&&(tP=!!e.limitCallbacks);var i=e.syncInterval;i&&clearInterval(tt)||(tt=i)&&setInterval(eb,i),"ignoreMobileResize"in e&&(td=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(t$(eh)||t$(eu,e.autoRefreshEvents||"none"),th=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=_(t),n=x.indexOf(i),r=tW(i);~n&&x.splice(n,r?6:2),e&&(r?b.unshift($,e,q,e,H,e):b.unshift(i,e))},t.clearMatchMedia=function(t){ey.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,i){var n=(tz(t)?_(t):t).getBoundingClientRect(),r=n[i?t2:t5]*e||0;return i?n.right-r>0&&n.left+r<$.innerWidth:n.bottom-r>0&&n.top+r<$.innerHeight},t.positionInViewport=function(t,e,i){tz(t)&&(t=_(t));var n=t.getBoundingClientRect(),r=n[i?t2:t5],s=null==e?r/2:e in ef?ef[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0;return i?(n.left+s)/$.innerWidth:(n.top+s)/$.innerHeight},t.killAll=function(t){if(ey.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=eS.killAll||[];eS={},e.forEach(function(t){return t()})}},t}();e2.version="3.14.2",e2.saveStyles=function(t){return t?Z(t).forEach(function(t){if(t&&t.style){var e=eE.indexOf(t);e>=0&&eE.splice(e,5),eE.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Y.core.getCache(t),tv())}}):eE},e2.revert=function(t,e){return eV(!t,e)},e2.create=function(t,e){return new e2(t,e)},e2.refresh=function(t){return t?eT(!0):(U||e2.register())&&eB(!0)},e2.update=function(t){return++x.cache&&eW(!0===t?2:0)},e2.clearScrollMemory=eR,e2.maxScroll=function(t,e){return tU(t,e?R:O)},e2.getScrollFunc=function(t,e){return L(_(t),e?R:O)},e2.getById=function(t){return ex[t]},e2.getAll=function(){return ey.filter(function(t){return"ScrollSmoother"!==t.vars.id})},e2.isScrolling=function(){return!!tD},e2.snapDirectional=ea,e2.addEventListener=function(t,e){var i=eS[t]||(eS[t]=[]);~i.indexOf(e)||i.push(e)},e2.removeEventListener=function(t,e){var i=eS[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},e2.batch=function(t,e){var i,n=[],r={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var i=[],n=[],r=Y.delayedCall(s,function(){e(i,n),i=[],n=[]}).pause();return function(t){i.length||r.restart(!0),i.push(t.trigger),n.push(t),o<=i.length&&r.progress(1)}};for(i in e)r[i]="on"===i.substr(0,2)&&tH(e[i])&&"onRefreshInit"!==i?a(i,e[i]):e[i];return tH(o)&&(o=o(),eu(e2,"refresh",function(){return o=e.batchMax()})),Z(t).forEach(function(t){var e={};for(i in r)e[i]=r[i];e.trigger=t,n.push(e2.create(e))}),n};var e5,e3=function(t,e,i,n){return e>n?t(n):e<0&&t(0),i>n?(n-e)/(i-e):i<0?e/(e-i):1},e4=function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(N.isTouch?" pinch-zoom":""):"none",e===H&&t(q,i)},e9={auto:1,scroll:1},e6=function(t){var e,i=t.event,n=t.target,r=t.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,o=s._gsap||Y.core.getCache(s),a=tE();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==q&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(e9[(e=ee(s)).overflowY]||e9[e.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==n&&!tW(s)&&(e9[(e=ee(s)).overflowY]||e9[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===r)&&(i.stopPropagation(),i._gsapAllow=!0)},e7=function(t,e,i,n){return N.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&e6,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&eu(z,N.eventTypes[0],it,!1,!0)},onDisable:function(){return eh(z,N.eventTypes[0],it,!0)}})},e8=/(input|label|select|textarea)/i,it=function(t){var e=e8.test(t.target.tagName);(e||e5)&&(t._gsapAllow=!0,e5=e)},ie=function(t){tG(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,i,n,r,s,o,a,l,u=t,h=u.normalizeScrollX,c=u.momentum,d=u.allowNestedScroll,p=u.onRelease,f=_(t.target)||H,m=Y.core.globals().ScrollSmoother,v=m&&m.get(),g=tm&&(t.content&&_(t.content)||v&&!1!==t.content&&!v.smooth()&&v.content()),y=L(f,O),b=L(f,R),w=1,P=(N.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,T=0,S=tH(c)?function(){return c(e)}:function(){return c||2.8},A=e7(f,t.type,!0,d),M=function(){return r=!1},C=tL,E=tL,k=function(){i=tU(f,O),E=J(tm?1:0,i),h&&(C=J(0,tU(f,R))),n=eO},D=function(){g._gsap.y=tB(parseFloat(g._gsap.y)+y.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)",y.offset=y.cacheID=0},V=function(){if(r){requestAnimationFrame(M);var t=tB(e.deltaY/2),i=E(y.v-t);if(g&&i!==y.v+y.offset){y.offset=i-y.v;var n=tB((parseFloat(g&&g._gsap.y)||0)-y.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",y.cacheID=x.cache,eW()}return!0}y.offset&&D(),r=!0},F=function(){k(),s.isActive()&&s.vars.scrollY>i&&(y()>i?s.progress(1)&&y(i):s.resetTo("scrollY",i))};return g&&Y.set(g,{y:"+=0"}),t.ignoreCheck=function(t){return tm&&"touchmove"===t.type&&V(t)||w>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){r=!1;var t=w;w=tB(($.visualViewport&&$.visualViewport.scale||1)/P),s.pause(),t!==w&&e4(f,w>1.01||!h&&"x"),o=b(),a=y(),k(),n=eO},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&D(),e){x.cache++;var n,r,o=S();h&&(r=(n=b())+-(.05*o*t.velocityX)/.227,o*=e3(b,n,r,tU(f,R)),s.vars.scrollX=C(r)),r=(n=y())+-(.05*o*t.velocityY)/.227,o*=e3(y,n,r,tU(f,O)),s.vars.scrollY=E(r),s.invalidate().duration(o).play(.01),(tm&&s.vars.scrollY>=i||n>=i-1)&&Y.to({},{onUpdate:F,duration:o})}else l.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),tE()-T>1e3&&(n=0,T=tE())},t.onChange=function(t,e,i,r,s){if(eO!==n&&k(),e&&h&&b(C(r[2]===e?o+(t.startX-t.x):b()+e-r[1])),i){y.offset&&D();var l=s[2]===i,u=l?a+t.startY-t.y:y()+i-s[1],c=E(u);l&&u!==c&&(a+=c-u),y(c)}(i||e)&&eW()},t.onEnable=function(){e4(f,!h&&"x"),e2.addEventListener("refresh",F),eu($,"resize",F),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),A.enable()},t.onDisable=function(){e4(f,!0),eh($,"resize",F),e2.removeEventListener("refresh",F),A.kill()},t.lockAxis=!1!==t.lockAxis,(e=new N(t)).iOS=tm,tm&&!y()&&y(1),tm&&Y.ticker.add(tL),l=e._dc,s=Y.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:eQ(y,y(),function(){return s.pause()})},onUpdate:eW,onComplete:l.vars.onComplete}),e};e2.sort=function(t){if(tH(t))return ey.sort(t);var e=$.pageYOffset||0;return e2.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+$.innerHeight}),ey.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},e2.observe=function(t){return new N(t)},e2.normalizeScroll=function(t){if(void 0===t)return tc;if(!0===t&&tc)return tc.enable();if(!1===t){tc&&tc.kill(),tc=t;return}var e=t instanceof N?t:ie(t);return tc&&tc.target===e.target&&tc.kill(),tW(e.target)&&(tc=e),e},e2.core={_getVelocityProp:B,_inputObserver:e7,_scrollers:x,_proxies:b,bridge:{ss:function(){tD||eC("scrollStart"),tD=tE()},ref:function(){return te}}},tI()&&Y.registerPlugin(e2)},6498:function(t,e,i){i.d(e,{ZP:function(){return tA}});var n,r,s,o,a,l,u,h,c,d,p,f=i(3860),m={},v=180/Math.PI,g=Math.PI/180,y=Math.atan2,x=/([A-Z])/g,b=/(left|right|width|margin|padding|x)/i,w=/[\s,\(]\S/,P={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},T=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},S=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},A=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},M=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},C=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},E=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},k=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},D=function(t,e,i){return t.style[e]=i},V=function(t,e,i){return t.style.setProperty(e,i)},R=function(t,e,i){return t._gsap[e]=i},O=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},_=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},F=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},L="transform",B=L+"Origin",j=function t(e,i){var n=this,r=this.target,s=r.style,o=r._gsap;if(e in m&&s){if(this.tfm=this.tfm||{},"transform"===e)return P.transform.split(",").forEach(function(e){return t.call(n,e,i)});if(~(e=P[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=ti(r,t)}):this.tfm[e]=o.x?o[e]:ti(r,e),e===B&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(L)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(B,i,"")),e=L}(s||i)&&this.props.push(e,i,s[e])},I=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},W=function(){var t,e,i=this.props,n=this.target,r=n.style,s=n._gsap;for(t=0;t<i.length;t+=3)i[t+1]?2===i[t+1]?n[i[t]](i[t+2]):n[i[t]]=i[t+2]:i[t+2]?r[i[t]]=i[t+2]:r.removeProperty("--"===i[t].substr(0,2)?i[t]:i[t].replace(x,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=d())&&t.isStart||r[L]||(I(r),s.zOrigin&&r[B]&&(r[B]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},X=function(t,e){var i={target:t,props:[],revert:W,save:j};return t._gsap||f.p8.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return i.save(t)}),i},N=function(t,e){var i=a.createElementNS?a.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):a.createElement(t);return i&&i.style?i:a.createElement(t)},Y=function t(e,i,n){var r=getComputedStyle(e);return r[i]||r.getPropertyValue(i.replace(x,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&t(e,$(i)||i,1)||""}
1,U="O,Moz,ms,Ms,Webkit".split(","),$=function(t,e,i){var n=(e||h).style,r=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(U[r]+t in n););return r<0?null:(3===r?"ms":r>=0?U[r]:"")+t},z=function(){"undefined"!=typeof window&&window.document&&(l=(a=window.document).documentElement,h=N("div")||{style:{}},N("div"),B=(L=$(L))+"Origin",h.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",p=!!$("perspective"),d=f.p8.core.reverting,u=1)},H=function(t){var e,i=t.ownerSVGElement,n=N("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0);r.style.display="block",n.appendChild(r),l.appendChild(n);try{e=r.getBBox()}catch(t){}return n.removeChild(r),l.removeChild(n),e},q=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},G=function(t){var e,i;try{e=t.getBBox()}catch(n){e=H(t),i=1}return e&&(e.width||e.height)||i||(e=H(t)),!e||e.width||e.x||e.y?e:{x:+q(t,["x","cx","x1"])||0,y:+q(t,["y","cy","y1"])||0,width:0,height:0}},K=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&G(t))},Z=function(t,e){if(e){var i,n=t.style;e in m&&e!==B&&(e=L),n.removeProperty?(("ms"===(i=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),n.removeProperty("--"===i?e:e.replace(x,"-$1").toLowerCase())):n.removeAttribute(e)}},J=function(t,e,i,n,r,s){var o=new f.Fo(t._pt,e,i,0,1,s?k:E);return t._pt=o,o.b=n,o.e=r,t._props.push(i),o},Q={deg:1,rad:1,turn:1},tt={grid:1,flex:1},te=function t(e,i,n,r){var s,o,l,u,c=parseFloat(n)||0,d=(n+"").trim().substr((c+"").length)||"px",p=h.style,v=b.test(i),g="svg"===e.tagName.toLowerCase(),y=(g?"client":"offset")+(v?"Width":"Height"),x="px"===r,w="%"===r;if(r===d||!c||Q[r]||Q[d])return c;if("px"===d||x||(c=t(e,i,n,"px")),u=e.getCTM&&K(e),(w||"%"===d)&&(m[i]||~i.indexOf("adius")))return s=u?e.getBBox()[v?"width":"height"]:e[y],(0,f.Pr)(w?c/s*100:c/100*s);if(p[v?"width":"height"]=100+(x?d:r),o="rem"!==r&&~i.indexOf("adius")||"em"===r&&e.appendChild&&!g?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==a&&o.appendChild||(o=a.body),(l=o._gsap)&&w&&l.width&&v&&l.time===f.xr.time&&!l.uncache)return(0,f.Pr)(c/l.width*100);if(w&&("height"===i||"width"===i)){var P=e.style[i];e.style[i]=100+r,s=e[y],P?e.style[i]=P:Z(e,i)}else(w||"%"===d)&&!tt[Y(o,"display")]&&(p.position=Y(e,"position")),o===e&&(p.position="static"),o.appendChild(h),s=h[y],o.removeChild(h),p.position="absolute";return v&&w&&((l=(0,f.DY)(o)).time=f.xr.time,l.width=o[y]),(0,f.Pr)(x?s*c/100:s&&c?100/s*c:0)},ti=function(t,e,i,n){var r;return u||z(),e in P&&"transform"!==e&&~(e=P[e]).indexOf(",")&&(e=e.split(",")[0]),m[e]&&"transform"!==e?(r=tf(t,n),r="transformOrigin"!==e?r[e]:r.svg?r.origin:tm(Y(t,B))+" "+r.zOrigin+"px"):(!(r=t.style[e])||"auto"===r||n||~(r+"").indexOf("calc("))&&(r=ta[e]&&ta[e](t,e,i)||Y(t,e)||(0,f.Ok)(t,e)||("opacity"===e?1:0)),i&&!~(r+"").trim().indexOf(" ")?te(t,e,r,i)+i:r},tn=function(t,e,i,n){if(!i||"none"===i){var r=$(e,t,1),s=r&&Y(t,r,1);s&&s!==i?(e=r,i=s):"borderColor"===e&&(i=Y(t,"borderTopColor"))}var o,a,l,u,h,c,d,p,m,v,g,y=new f.Fo(this._pt,t.style,e,0,1,f.Ks),x=0,b=0;if(y.b=i,y.e=n,i+="","var(--"===(n+="").substring(0,6)&&(n=Y(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(c=t.style[e],t.style[e]=n,n=Y(t,e)||n,c?t.style[e]=c:Z(t,e)),o=[i,n],(0,f.kr)(o),i=o[0],n=o[1],l=i.match(f.d4)||[],(n.match(f.d4)||[]).length){for(;a=f.d4.exec(n);)d=a[0],m=n.substring(x,a.index),h?h=(h+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(h=1),d!==(c=l[b++]||"")&&(u=parseFloat(c)||0,g=c.substr((u+"").length),"="===d.charAt(1)&&(d=(0,f.cy)(u,d)+g),p=parseFloat(d),v=d.substr((p+"").length),x=f.d4.lastIndex-v.length,v||(v=v||f.Fc.units[e]||g,x!==n.length||(n+=v,y.e+=v)),g!==v&&(u=te(t,e,c,v)||0),y._pt={_next:y._pt,p:m||1===b?m:",",s:u,c:p-u,m:h&&h<4||"zIndex"===e?Math.round:0});y.c=x<n.length?n.substring(x,n.length):""}else y.r="display"===e&&"none"===n?k:E;return f.bQ.test(n)&&(y.e=0),this._pt=y,y},tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ts=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return("top"===i||"bottom"===i||"left"===n||"right"===n)&&(t=i,i=n,n=t),e[0]=tr[i]||i,e[1]=tr[n]||n,e.join(" ")},to=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,r,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(r=(a=a.split(",")).length;--r>-1;)m[i=a[r]]&&(n=1,i="transformOrigin"===i?B:L),Z(s,i);n&&(Z(s,L),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",tf(s,1),l.uncache=1,I(o)))}}
1,ta={clearProps:function(t,e,i,n,r){if("isFromStart"!==r.data){var s=t._pt=new f.Fo(t._pt,e,i,0,0,to);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},tl=[1,0,0,1,0,0],tu={},th=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},tc=function(t){var e=Y(t,L);return th(e)?tl:e.substr(7).match(f.SI).map(f.Pr)},td=function(t,e){var i,n,r,s,o=t._gsap||(0,f.DY)(t),a=t.style,u=tc(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(r=t.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?tl:u:(u!==tl||t.offsetParent||t===l||o.svg||(r=a.display,a.display="block",(i=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,l.appendChild(t)),u=tc(t),r?a.display=r:Z(t,"display"),s&&(n?i.insertBefore(t,n):i?i.appendChild(t):l.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},tp=function(t,e,i,n,r,s){var o,a,l,u,h=t._gsap,c=r||td(t,!0),d=h.xOrigin||0,p=h.yOrigin||0,f=h.xOffset||0,m=h.yOffset||0,v=c[0],g=c[1],y=c[2],x=c[3],b=c[4],w=c[5],P=e.split(" "),T=parseFloat(P[0])||0,S=parseFloat(P[1])||0;i?c!==tl&&(a=v*x-g*y)&&(l=x/a*T+-y/a*S+(y*w-x*b)/a,u=-g/a*T+v/a*S-(v*w-g*b)/a,T=l,S=u):(T=(o=G(t)).x+(~P[0].indexOf("%")?T/100*o.width:T),S=o.y+(~(P[1]||P[0]).indexOf("%")?S/100*o.height:S)),n||!1!==n&&h.smooth?(b=T-d,w=S-p,h.xOffset=f+(b*v+w*y)-b,h.yOffset=m+(b*g+w*x)-w):h.xOffset=h.yOffset=0,h.xOrigin=T,h.yOrigin=S,h.smooth=!!n,h.origin=e,h.originIsAbsolute=!!i,t.style[B]="0px 0px",s&&(J(s,h,"xOrigin",d,T),J(s,h,"yOrigin",p,S),J(s,h,"xOffset",f,h.xOffset),J(s,h,"yOffset",m,h.yOffset)),t.setAttribute("data-svg-origin",T+" "+S)},tf=function(t,e){var i=t._gsap||new f.l1(t);if("x"in i&&!e&&!i.uncache)return i;var n,r,s,o,a,l,u,h,c,d,m,x,b,w,P,T,S,A,M,C,E,k,D,V,R,O,_,F,j,I,W,X,N=t.style,U=i.scaleX<0,$=getComputedStyle(t),z=Y(t,B)||"0";return n=r=s=l=u=h=c=d=m=0,o=a=1,i.svg=!!(t.getCTM&&K(t)),$.translate&&(("none"!==$.translate||"none"!==$.scale||"none"!==$.rotate)&&(N[L]=("none"!==$.translate?"translate3d("+($.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==$.rotate?"rotate("+$.rotate+") ":"")+("none"!==$.scale?"scale("+$.scale.split(" ").join(",")+") ":"")+("none"!==$[L]?$[L]:"")),N.scale=N.rotate=N.translate="none"),w=td(t,i.svg),i.svg&&(i.uncache?(R=t.getBBox(),z=i.xOrigin-R.x+"px "+(i.yOrigin-R.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),tp(t,V||z,!!V||i.originIsAbsolute,!1!==i.smooth,w)),x=i.xOrigin||0,b=i.yOrigin||0,w!==tl&&(A=w[0],M=w[1],C=w[2],E=w[3],n=k=w[4],r=D=w[5],6===w.length?(o=Math.sqrt(A*A+M*M),a=Math.sqrt(E*E+C*C),l=A||M?y(M,A)*v:0,(c=C||E?y(C,E)*v+l:0)&&(a*=Math.abs(Math.cos(c*g))),i.svg&&(n-=x-(x*A+b*C),r-=b-(x*M+b*E))):(X=w[6],I=w[7],_=w[8],F=w[9],j=w[10],W=w[11],n=w[12],r=w[13],s=w[14],u=(P=y(X,j))*v,P&&(V=k*(T=Math.cos(-P))+_*(S=Math.sin(-P)),R=D*T+F*S,O=X*T+j*S,_=-(k*S)+_*T,F=-(D*S)+F*T,j=-(X*S)+j*T,W=-(I*S)+W*T,k=V,D=R,X=O),h=(P=y(-C,j))*v,P&&(V=A*(T=Math.cos(-P))-_*(S=Math.sin(-P)),R=M*T-F*S,O=C*T-j*S,W=E*S+W*T,A=V,M=R,C=O),l=(P=y(M,A))*v,P&&(V=A*(T=Math.cos(P))+M*(S=Math.sin(P)),R=k*T+D*S,M=M*T-A*S,D=D*T-k*S,A=V,k=R),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,h=180-h),o=(0,f.Pr)(Math.sqrt(A*A+M*M+C*C)),a=(0,f.Pr)(Math.sqrt(D*D+X*X)),c=Math.abs(P=y(k,D))>2e-4?P*v:0,m=W?1/(W<0?-W:W):0),i.svg&&(V=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!th(Y(t,L)),V&&t.setAttribute("transform",V))),Math.abs(c)>90&&270>Math.abs(c)&&(U?(o*=-1,c+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=n-((i.xPercent=n&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=r-((i.yPercent=r&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=s+"px",i.scaleX=(0,f.Pr)(o),i.scaleY=(0,f.Pr)(a),i.rotation=(0,f.Pr)(l)+"deg",i.rotationX=(0,f.Pr)(u)+"deg",i.rotationY=(0,f.Pr)(h)+"deg",i.skewX=c+"deg",i.skewY=d+"deg",i.transformPerspective=m+"px",(i.zOrigin=parseFloat(z.split(" ")[2])||!e&&i.zOrigin||0)&&(N[B]=tm(z)),i.xOffset=i.yOffset=0,i.force3D=f.Fc.force3D,i.renderTransform=i.svg?tb:p?tx:tg,i.uncache=0,i},tm=function(t){return(t=t.split(" "))[0]+" "+t[1]}
1,tv=function(t,e,i){var n=(0,f.Wy)(e);return(0,f.Pr)(parseFloat(e)+parseFloat(te(t,"x",i+"px",n)))+n},tg=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,tx(t,e)},ty="0deg",tx=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,o=i.y,a=i.z,l=i.rotation,u=i.rotationY,h=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,f=i.scaleY,m=i.transformPerspective,v=i.force3D,y=i.target,x=i.zOrigin,b="",w="auto"===v&&t&&1!==t||!0===v;if(x&&(h!==ty||u!==ty)){var P,T=parseFloat(u)*g,S=Math.sin(T),A=Math.cos(T);s=tv(y,s,-(S*(P=Math.cos(T=parseFloat(h)*g))*x)),o=tv(y,o,-(-Math.sin(T)*x)),a=tv(y,a,-(A*P*x)+x)}"0px"!==m&&(b+="perspective("+m+") "),(n||r)&&(b+="translate("+n+"%, "+r+"%) "),(w||"0px"!==s||"0px"!==o||"0px"!==a)&&(b+="0px"!==a||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==ty&&(b+="rotate("+l+") "),u!==ty&&(b+="rotateY("+u+") "),h!==ty&&(b+="rotateX("+h+") "),(c!==ty||d!==ty)&&(b+="skew("+c+", "+d+") "),(1!==p||1!==f)&&(b+="scale("+p+", "+f+") "),y.style[L]=b||"translate(0, 0)"},tb=function(t,e){var i,n,r,s,o,a=e||this,l=a.xPercent,u=a.yPercent,h=a.x,c=a.y,d=a.rotation,p=a.skewX,m=a.skewY,v=a.scaleX,y=a.scaleY,x=a.target,b=a.xOrigin,w=a.yOrigin,P=a.xOffset,T=a.yOffset,S=a.forceCSS,A=parseFloat(h),M=parseFloat(c);d=parseFloat(d),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),d+=m),d||p?(d*=g,p*=g,i=Math.cos(d)*v,n=Math.sin(d)*v,r=-(Math.sin(d-p)*y),s=Math.cos(d-p)*y,p&&(m*=g,r*=o=Math.sqrt(1+(o=Math.tan(p-m))*o),s*=o,m&&(i*=o=Math.sqrt(1+(o=Math.tan(m))*o),n*=o)),i=(0,f.Pr)(i),n=(0,f.Pr)(n),r=(0,f.Pr)(r),s=(0,f.Pr)(s)):(i=v,s=y,n=r=0),(A&&!~(h+"").indexOf("px")||M&&!~(c+"").indexOf("px"))&&(A=te(x,"x",h,"px"),M=te(x,"y",c,"px")),(b||w||P||T)&&(A=(0,f.Pr)(A+b-(b*i+w*r)+P),M=(0,f.Pr)(M+w-(b*n+w*s)+T)),(l||u)&&(o=x.getBBox(),A=(0,f.Pr)(A+l/100*o.width),M=(0,f.Pr)(M+u/100*o.height)),o="matrix("+i+","+n+","+r+","+s+","+A+","+M+")",x.setAttribute("transform",o),S&&(x.style[L]=o)},tw=function(t,e,i,n,r){var s,o,a=(0,f.r9)(r),l=parseFloat(r)*(a&&~r.indexOf("rad")?v:1)-n,u=n+l+"deg";return a&&("short"===(s=r.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=o=new f.Fo(t._pt,e,i,n,l,S),o.e=u,o.u="deg",t._props.push(i),o},tP=function(t,e){for(var i in e)t[i]=e[i];return t},tT=function(t,e,i){var n,r,s,o,a,l,u,h=tP({},i._gsap),c=i.style;for(r in h.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),c[L]=e,n=tf(i,1),Z(i,L),i.setAttribute("transform",s)):(s=getComputedStyle(i)[L],c[L]=e,n=tf(i,1),c[L]=s),m)(s=h[r])!==(o=n[r])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)&&(a=(0,f.Wy)(s)!==(u=(0,f.Wy)(o))?te(i,r,s,u):parseFloat(s),l=parseFloat(o),t._pt=new f.Fo(t._pt,n,r,a,l-a,T),t._pt.u=u||0,t._props.push(r));tP(n,h)};(0,f.fS)("padding,margin,Width,Radius",function(t,e){var i="Right",n="Bottom",r="Left",s=(e<3?["Top",i,n,r]:["Top"+r,"Top"+i,n+i,n+r]).map(function(i){return e<2?t+i:"border"+i+t});ta[e>1?"border"+t:t]=function(t,e,i,n,r){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(e){return ti(t,e,i)})).join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach(function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]}),t.init(e,a,r)}});var tS={name:"css",register:z,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s,o,a,l,h,c,d,p,v,g,y,x,b,S,E,k,D,V=this._props,R=t.style,O=i.vars.startAt;for(d in u||z(),this.styles=this.styles||X(t),k=this.styles.props,this.tween=i,e)if("autoRound"!==d&&(o=e[d],!(f.$i[d]&&(0,f.if)(d,e,i,n,t,r)))){if(h=typeof o,c=ta[d],"function"===h&&(h=typeof(o=o.call(i,n,t,r))),"string"===h&&~o.indexOf("random(")&&(o=(0,f.UI)(o)),c)c(this,t,d,o,i)&&(E=1);else if("--"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+"").trim(),o+="",f.GN.lastIndex=0,!f.GN.test(s)&&(p=(0,f.Wy)(s),(v=(0,f.Wy)(o))?p!==v&&(s=te(t,d,s,v)+v):p&&(o+=p)),this.add(R,"setProperty",s,o,n,r,0,0,d),V.push(d),k.push(d,0,R[d]);else if("undefined"!==h){if(O&&d in O?(s="function"==typeof O[d]?O[d].call(i,n,t,r):O[d],(0,f.r9)(s)&&~s.indexOf("random(")&&(s=(0,f.UI)(s)),(0,f.Wy)(s+"")||"auto"===s||(s+=f.Fc.units[d]||
1(0,f.Wy)(ti(t,d))||""),"="===(s+"").charAt(1)&&(s=ti(t,d))):s=ti(t,d),l=parseFloat(s),(g="string"===h&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),d in P&&("autoAlpha"===d&&(1===l&&"hidden"===ti(t,"visibility")&&a&&(l=0),k.push("visibility",0,R.visibility),J(this,R,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=P[d]).indexOf(",")&&(d=d.split(",")[0])),y=d in m){if(this.styles.save(d),D=o,"string"===h&&"var(--"===o.substring(0,6)){if("calc("===(o=Y(t,o.substring(4,o.indexOf(")")))).substring(0,5)){var _=t.style.perspective;t.style.perspective=o,o=Y(t,"perspective"),_?t.style.perspective=_:Z(t,"perspective")}a=parseFloat(o)}if(x||((b=t._gsap).renderTransform&&!e.parseTransform||tf(t,e.parseTransform),S=!1!==e.smoothOrigin&&b.smooth,(x=this._pt=new f.Fo(this._pt,R,L,0,1,b.renderTransform,b,0,-1)).dep=1),"scale"===d)this._pt=new f.Fo(this._pt,b,"scaleY",b.scaleY,(g?(0,f.cy)(b.scaleY,g+a):a)-b.scaleY||0,T),this._pt.u=0,V.push("scaleY",d),d+="X";else if("transformOrigin"===d){k.push(B,0,R[B]),o=ts(o),b.svg?tp(t,o,0,S,0,this):((v=parseFloat(o.split(" ")[2])||0)!==b.zOrigin&&J(this,b,"zOrigin",b.zOrigin,v),J(this,R,d,tm(s),tm(o)));continue}else if("svgOrigin"===d){tp(t,o,1,S,0,this);continue}else if(d in tu){tw(this,b,d,l,g?(0,f.cy)(l,g+o):o);continue}else if("smoothOrigin"===d){J(this,b,"smooth",b.smooth,o);continue}else if("force3D"===d){b[d]=o;continue}else if("transform"===d){tT(this,o,t);continue}}else d in R||(d=$(d)||d);if(y||(a||0===a)&&(l||0===l)&&!w.test(o)&&d in R)p=(s+"").substr((l+"").length),a||(a=0),v=(0,f.Wy)(o)||(d in f.Fc.units?f.Fc.units[d]:p),p!==v&&(l=te(t,d,s,v)),this._pt=new f.Fo(this._pt,y?b:R,d,l,(g?(0,f.cy)(l,g+a):a)-l,y||"px"!==v&&"zIndex"!==d||!1===e.autoRound?T:C),this._pt.u=v||0,y&&D!==o?(this._pt.b=s,this._pt.e=D,this._pt.r=M):p!==v&&"%"!==v&&(this._pt.b=s,this._pt.r=A);else if(d in R)tn.call(this,t,d,s,g?g+o:o);else if(d in t)this.add(t,d,s||t[d],g?g+o:o,n,r);else if("parseTransform"!==d){(0,f.lC)(d,o);continue}y||(d in R?k.push(d,0,R[d]):"function"==typeof t[d]?k.push(d,2,t[d]()):k.push(d,1,s||t[d])),V.push(d)}}E&&(0,f.JV)(this)},render:function(t,e){if(e.tween._time||!d())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:ti,aliases:P,getSetter:function(t,e,i){var n=P[e];return n&&0>n.indexOf(",")&&(e=n),e in m&&e!==B&&(t._gsap.x||ti(t,"x"))?i&&c===i?"scale"===e?O:R:(c=i||{},"scale"===e?_:F):t.style&&!(0,f.m2)(t.style[e])?D:~e.indexOf("-")?V:(0,f.S5)(t,e)},core:{_removeProperty:Z,_getMatrix:td}};f.p8.utils.checkPrefix=$,f.p8.core.getStyleSaver=X,n="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",r="rotation,rotationX,rotationY,skewX,skewY",s="0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",o=(0,f.fS)(n+","+r+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){m[t]=1}),(0,f.fS)(r,function(t){f.Fc.units[t]="deg",tu[t]=1}),P[o[13]]=n+","+r,(0,f.fS)(s,function(t){var e=t.split(":");P[e[1]]=o[e[0]]}),(0,f.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){f.Fc.units[t]="px"}),f.p8.registerPlugin(tS);var tA=f.p8.registerPlugin(tS)||f.p8;tA.core.Tween},5523:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});let n=i(7043)._(i(2265)).default.createContext(null)},6453:function(t,e,i){i.d(e,{v:function(){return c}});var n=i(504),r=i(9545),s=i(4522),o=i(5699),a=i(2035),l=i(3206);let u=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(l.P.test(t)||"0"===t)&&!t.startsWith("url("));var h=i(3295);class c{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=n.X.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.m)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=n.X.now(),this.hasAttemptedResolve=!0;
1let{name:i,type:r,velocity:l,delay:c,onComplete:d,onUpdate:p,isGenerator:f}=this.options;if(!f&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],l=u(r,e),h=u(s,e);return(0,a.K)(l===h,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!l&&!!h&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,o.xD)(i))&&n)}(t,i,r,l)){if(s.c.current||!c){p&&p((0,h.$)(t,this.options,e)),d&&d(),this.resolveFinishedPromise();return}this.options.duration=0}let m=this.initPlayback(t,e);!1!==m&&(this._resolved={keyframes:t,finalKeyframe:e,...m},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}},768:function(t,e,i){i.d(e,{s:function(){return W},y:function(){return X}});var n=i(5699),r=i(9711),s=i(9545),o=i(9111),a=i(2006),l=i(332),u=i(4438);function h(t,e,i){let n=Math.max(e-5,0);return(0,u.R)(i-t(n),e-n)}let c={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var d=i(2035);function p(t,e){return t*Math.sqrt(1-e*e)}let f=["duration","bounce"],m=["stiffness","damping","mass"];function v(t,e){return e.some(e=>void 0!==t[e])}function g(t=c.visualDuration,e=c.bounce){let i;let s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:a,restDelta:l}=s,u=s.keyframes[0],g=s.keyframes[s.keyframes.length-1],y={done:!1,value:u},{stiffness:x,damping:b,mass:w,duration:P,velocity:T,isResolvedFromDuration:S}=function(t){let e={velocity:c.velocity,stiffness:c.stiffness,damping:c.damping,mass:c.mass,isResolvedFromDuration:!1,...t};if(!v(t,m)&&v(t,f)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,o.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:c.mass,stiffness:n,damping:r}}else{let i=function({duration:t=c.duration,bounce:e=c.bounce,velocity:i=c.velocity,mass:n=c.mass}){let s,a;(0,d.K)(t<=(0,r.w)(c.maxDuration),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,o.u)(c.minDamping,c.maxDamping,l),t=(0,o.u)(c.minDuration,c.maxDuration,(0,r.X)(t)),l<1?(s=e=>{let n=e*l,r=n*t;return .001-(n-i)/p(e,l)*Math.exp(-r)},a=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,o=Math.exp(-n),a=p(Math.pow(e,2),l);return(n*i+i-r)*o*(-s(e)+.001>0?-1:1)/a}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,a,5/t);if(t=(0,r.w)(t),isNaN(u))return{stiffness:c.stiffness,damping:c.damping,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*l*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:c.mass}).isResolvedFromDuration=!0}}return e}({...s,velocity:-(0,r.X)(s.velocity||0)}),A=T||0,M=b/(2*Math.sqrt(x*w)),C=g-u,E=(0,r.X)(Math.sqrt(x/w)),k=5>Math.abs(C);if(a||(a=k?c.restSpeed.granular:c.restSpeed.default),l||(l=k?c.restDelta.granular:c.restDelta.default),M<1){let t=p(E,M);i=e=>g-Math.exp(-M*E*e)*((A+M*E*C)/t*Math.sin(t*e)+C*Math.cos(t*e))}else if(1===M)i=t=>g-Math.exp(-E*t)*(C+(A+E*C)*t);else{let t=E*Math.sqrt(M*M-1);i=e=>{let i=Math.exp(-M*E*e),n=Math.min(t*e,300);return g-i*((A+M*E*C)*Math.sinh(n)+t*C*Math.cosh(n))/t}}let D={calculatedDuration:S&&P||null,next:t=>{let e=i(t);if(S)y.done=t>=P;else{let n=0;M<1&&(n=0===t?(0,r.w)(A):h(i,t,e));let s=Math.abs(n)<=a,o=Math.abs(g-e)<=l;y.done=s&&o}return y.value=y.done?g:e,y},toString:()=>{let t=Math.min((0,n.iI)(D),n.EO),e=(0,n.wk)(e=>D.next(t*e).value,t,30);return t+"ms "+e}};return D}function y({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,p;let f=t[0],m={done:!1,value:f},v=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,x=i*e,b=f+x,w=void 0===o?b:o(b);w!==b&&(x=w-f);let P=t=>-x*Math.exp(-t/n),T=t=>w+P(t),S=t=>{let e=P(t),i=T(t);m.done=Math.abs(e)<=u,m.value=m.done?w:i},A=t=>{v(m.value)&&(d=t,p=g({keyframes:[m.value,y(m.value)],velocity:h(T,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:c}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,S(t),A(t)),void 0!==d&&t>=d)?p.next(t-d):(e||S(t),m)}}}var x=i(5095);let b=(0,x._)(.42,0,1,1),w=(0,x._)(0,0,.58,1),P=(0,x._)(.42,0,.58,1),T=t=>Array.isArray(t)&&"number"!=typeof t[0];
1var S=i(6277),A=i(9058),M=i(5049),C=i(6378);let E={linear:S.Z,easeIn:b,easeInOut:P,easeOut:w,circIn:C.Z7,circInOut:C.X7,circOut:C.Bn,backIn:M.G2,backInOut:M.XL,backOut:M.CG,anticipate:A.L},k=t=>{if((0,n.qE)(t)){(0,d.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return(0,x._)(e,i,n,r)}return"string"==typeof t?((0,d.k)(void 0!==E[t],`Invalid easing type '${t}'`),E[t]):t};var D=i(8843),V=i(8913);function R({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=T(n)?n.map(k):k(n),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,V.Y)(e)).map(e=>e*t),a=(0,D.s)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||P).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}var O=i(6453),_=i(504),F=i(5414);let L=t=>{let e=({timestamp:e})=>t(e);return{start:()=>F.Wi.update(e,!0),stop:()=>(0,F.Pn)(e),now:()=>F.frameData.isProcessing?F.frameData.timestamp:_.X.now()}};var B=i(3295);let j={decay:y,inertia:y,tween:R,keyframes:R,spring:g},I=t=>t/100;class W extends O.v{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,o=(null==n?void 0:n.KeyframeResolver)||s.e;this.resolver=new o(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:u,velocity:h=0}=this.options,c=(0,n.xD)(r)?r:j[r]||R;c!==R&&"number"!=typeof t[0]&&(e=(0,l.z)(I,(0,a.C)(t[0],t[1])),t=[0,100]);let d=c({...this.options,keyframes:t});"mirror"===u&&(i=c({...this.options,keyframes:[...t].reverse(),velocity:-h})),null===d.calculatedDuration&&(d.calculatedDuration=(0,n.iI)(d));let{calculatedDuration:p}=d,f=p+o;return{generator:d,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:p,resolvedDuration:f,totalDuration:f*(s+1)-o}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:h,resolvedDuration:c}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:p,repeatType:f,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>h;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let x=this.currentTime,b=r;if(p){let t=Math.min(this.currentTime,h)/c,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===f?(i=1-i,m&&(i-=m/c)):"mirror"===f&&(b=s)),x=(0,o.u)(0,1,i)*c}let w=y?{done:!1,value:l[0]}:b.next(x);a&&(w.value=a(w.value));let{done:P}=w;y||null===u||(P=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return T&&void 0!==n&&(w.value=(0,B.$)(l,this.options,n)),v&&v(w.value),T&&this.finish(),w}get duration(){let{resolved:t}=this;return t?(0,r.X)(t.calculatedDuration):0}get time(){return(0,r.X)(this.currentTime)}set time(t){t=(0,r.w)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=L,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
1ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function X(t){return new W(t)}},3295:function(t,e,i){i.d(e,{$:function(){return r}});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(n),o=e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}},9637:function(t,e,i){i.d(e,{oO:function(){return s}});var n=i(2265),r=i(4252);function s(t=!0){let e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{t&&o(a)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},8881:function(t,e,i){i.d(e,{p:function(){return n}});let n=(0,i(2265).createContext)({})},5750:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},4252:function(t,e,i){i.d(e,{O:function(){return n}});let n=(0,i(2265).createContext)(null)},9058:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(5049);let r=t=>(t*=2)<1?.5*(0,n.G2)(t):.5*(2-Math.pow(2,-10*(t-1)))},5049:function(t,e,i){i.d(e,{CG:function(){return o},G2:function(){return a},XL:function(){return l}});var n=i(5095),r=i(7457),s=i(3627);let o=(0,n._)(.33,1.53,.69,.99),a=(0,s.M)(o),l=(0,r.o)(a)},6378:function(t,e,i){i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(7457),r=i(3627);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)},5095:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(6277);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.Z;let o=e=>(function(t,e,i,n,s){let o,a;let l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:r(o(t),e,s)}},7457:function(t,e,i){i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},3627:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},5005:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(4118);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:p,postRender:f}=l,m=()=>{let r=n.c.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=s?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),f.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(m))},v=()=>{i=!0,s=!0,o.isProcessing||t(m)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||v(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},5414:function(t,e,i){i.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var n=i(6277);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(5005).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)}
1,504:function(t,e,i){let n;i.d(e,{X:function(){return a}});var r=i(4118),s=i(5414);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},9653:function(t,e,i){function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{E:function(){return nE}});let r=t=>Array.isArray(t);function s(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function o(t){return"string"==typeof t||Array.isArray(t)}function a(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function l(t,e,i,n){if("function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}return e}function u(t,e,i){let n=t.getProps();return l(n,e,void 0!==i?i:n.custom,t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c=["initial",...h];var d,p,f,m=i(5699),v=i(7487);let g=new Set(["width","height","top","left","right","bottom",...v._]),y=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),x=t=>r(t)?t[t.length-1]||0:t;var b=i(3078),w=i(3999);function P(t,e){let i=t.getValue("willChange");if((0,w.i)(i)&&i.add)return i.add(e)}let T=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),S="data-"+T("framerAppearId");var A=i(9711),M=i(5414),C=i(4118),E=i(4522),k=i(6277),D=i(9058),V=i(5049),R=i(6378);let O=t=>/^0[^.\s]+$/u.test(t);var _=i(3206),F=i(6941);let L=new Set(["brightness","contrast","saturate","opacity"]);function B(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(F.K)||[];if(!n)return t;let r=i.replace(n,""),s=L.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let j=/\b([a-z-]*)\(.*?\)/gu,I={..._.P,getAnimatableNone:t=>{let e=t.match(j);return e?e.map(B).join(" "):t}};var W=i(3964),X=i(4305),N=i(7492);let Y={borderWidth:N.px,borderTopWidth:N.px,borderRightWidth:N.px,borderBottomWidth:N.px,borderLeftWidth:N.px,borderRadius:N.px,radius:N.px,borderTopLeftRadius:N.px,borderTopRightRadius:N.px,borderBottomRightRadius:N.px,borderBottomLeftRadius:N.px,width:N.px,maxWidth:N.px,height:N.px,maxHeight:N.px,top:N.px,right:N.px,bottom:N.px,left:N.px,padding:N.px,paddingTop:N.px,paddingRight:N.px,paddingBottom:N.px,paddingLeft:N.px,margin:N.px,marginTop:N.px,marginRight:N.px,marginBottom:N.px,marginLeft:N.px,backgroundPositionX:N.px,backgroundPositionY:N.px},U={rotate:N.RW,rotateX:N.RW,rotateY:N.RW,rotateZ:N.RW,scale:X.bA,scaleX:X.bA,scaleY:X.bA,scaleZ:X.bA,skew:N.RW,skewX:N.RW,skewY:N.RW,distance:N.px,translateX:N.px,translateY:N.px,translateZ:N.px,x:N.px,y:N.px,z:N.px,perspective:N.px,transformPerspective:N.px,opacity:X.Fq,originX:N.$C,originY:N.$C,originZ:N.px},$={...X.Rx,transform:Math.round},z={...Y,...U,zIndex:$,size:N.px,fillOpacity:X.Fq,strokeOpacity:X.Fq,numOctaves:$},H={...z,color:W.$,backgroundColor:W.$,outlineColor:W.$,fill:W.$,stroke:W.$,borderColor:W.$,borderTopColor:W.$,borderRightColor:W.$,borderBottomColor:W.$,borderLeftColor:W.$,filter:I,WebkitFilter:I},q=t=>H[t];function G(t,e){let i=q(t);return i!==I&&(i=_.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let K=new Set(["auto","none","0"]);var Z=i(9545),J=i(2035);let Q=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var tt=i(7249);let te=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var ti=i(401);let tn=t=>e=>e.test(t),tr=[X.Rx,N.px,N.aQ,N.RW,N.vw,N.vh,{test:t=>"auto"===t,parse:t=>t}],ts=t=>tr.find(tn(t));class to extends Z.e{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,tt.t)(n))){let r=function t(e,i,n=1){(0,J.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=te.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);
1if(o){let t=o.trim();return Q(t)?parseFloat(t):t}return(0,tt.t)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!g.has(i)||2!==t.length)return;let[n,r]=t,s=ts(n),o=ts(r);if(s!==o){if((0,ti.mP)(s)&&(0,ti.mP)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||O(n))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!K.has(e)&&(0,_.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=G(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ti.lw[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=ti.lw[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}var ta=i(6453),tl=i(768);let tu=new Set(["opacity","clipPath","filter","transform"]);var th=i(3295);let tc=(0,i(107).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),td={anticipate:D.L,backInOut:V.XL,circInOut:R.X7};class tp extends ta.v{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new to(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:n=300,times:r,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&(0,m.Vc)()&&s in td&&(s=td[s]),i=this.options,(0,m.xD)(i.type)||"spring"===i.type||!(0,m.hR)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new tl.s({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,r=h.times,s=h.ease,o="keyframes"}let h=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=(0,m.eB)(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:r,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,m._F)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set((0,th.$)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:r,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,A.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,A.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,A.w)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return k.Z;let{animation:i}=e;(0,m._F)(i,t)}else this.pendingTimeline=t;return k.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new tl.s({...u,keyframes:i,duration:n,type:r,ease:s,times:o,isGenerator:!0}),c=(0,A.w)(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tc()&&i&&tu.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let tf={type:"spring",stiffness:500,damping:25,restSpeed:10},tm=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tv={type:"keyframes",duration:.8},tg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ty=(t,{keyframes:e})=>e.length>2?tv:v.G.has(t)?t.startsWith("scale")?tm(e[1]):tf:tg,tx=(t,e,i,n={},r,s)=>o=>{let a=(0,m.ev)(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,A.w)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:
1o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...ty(t,h)}),h.duration&&(h.duration=(0,A.w)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,A.w)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(c=!0)),(E.c.current||C.c.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!s&&void 0!==e.get()){let t=(0,th.$)(h.keyframes,a);if(void 0!==t)return M.Wi.update(()=>{h.onUpdate(t),h.onComplete()}),new m.sP([])}return!s&&tp.supports(h)?new tp(h):new tl.s(h)};function tb(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(o=n);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let a={delay:i,...(0,m.ev)(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let i=t.props[S];if(i){let t=window.MotionHandoffAnimation(i,e,M.Wi);null!==t&&(a.startTime=t,u=!0)}}P(t,e),n.start(tx(e,n,r,t.shouldReduceMotion&&g.has(e)?{type:!1}:a,t,u));let d=n.animation;d&&h.push(d)}return a&&Promise.all(h).then(()=>{M.Wi.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=u(t,e)||{};for(let e in r={...r,...i}){let i=x(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,b.BX)(i))}}(t,a)})}),h}function tw(t,e,i={}){var n;let r=u(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(tb(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(tP).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(tw(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function tP(t,e){return t.sortNodePosition(e)}let tT=c.length,tS=[...h].reverse(),tA=h.length;function tM(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tC(){return{animate:tM(!0),whileInView:tM(),whileHover:tM(),whileTap:tM(),whileDrag:tM(),whileFocus:tM(),exit:tM()}}class tE{constructor(t){this.isMounted=!1,this.node=t}update(){}}class tk extends tE{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>tw(t,e,i)));else if("string"==typeof e)n=tw(t,e,i);else{let r="function"==typeof e?u(t,e,i.custom):e;n=Promise.all(tb(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=tC(),a=!0,l=e=>(i,n)=>{var r;let s=u(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function h(u){let{props:h}=t,d=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<tT;t++){let n=c[t],r=e.props[n];(o(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},p=[],f=new Set,m={},v=1/0;for(let e=0;e<tA;e++){var g;let c=tS[e],y=i[c],x=void 0!==h[c]?h[c]:d[c],b=o(x),w=c===u?y.isActive:null;!1===w&&(v=e);let P=x===d[c]&&x!==h[c]&&b;if(P&&a&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...m},!y.isActive&&null===w||!x&&!y.prevProp||n(x)||"boolean"==typeof x)continue;let T=(g=y.prevProp,"string"==typeof x?x!==g:!!Array.isArray(x)&&!s(x,g)),S=T||c===u&&y.isActive&&!P&&b||e>v&&b,A=!1,M=Array.isArray(x)?x:[x],C=M.reduce(l(c),{});!1===w&&(C={});let{prevResolvedValues:E={}}=y,k={...E,...C},D=e=>{S=!0,f.has(e)&&(A=!0,f.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in k){let e=C[t],i=E[t];if(!m.hasOwnProperty(t))(r(e)&&r(i)?s(e,i):e===i)?void 0!==e&&f.has(t)?D(t):y.protectedKeys[t]=!0:null!=e?D(t):f.add(t)}y.prevProp=x,y.prevResolvedValues=C,y.isActive&&(m={...m,...C}),a&&t.blockInitialAnimation&&(S=!1);let V=!(P&&T)||A;S&&V&&p.push(...M.map(t=>({animation:t,options:{type:c}})))}if(f.size){let e={};f.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),p.push({animation:e})}let y=!!p.length;return a&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),a=!1,y?e(p):Promise.resolve()}return{animateChanges:h,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let s=h(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tC(),a=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let tD=0;class tV extends tE{constructor(){super(...arguments),this.id=tD++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function tR(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function tO(t){return{point:{x:t.pageX,y:t.pageY}}}let t_=t=>e=>(0,m.DJ)(e)&&t(e,tO(e));function tF(t,e,i,n){return tR(t,e,t_(i),n)}let tL=(t,e)=>Math.abs(t-e);var tB=i(332);class tj{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=tX(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(tL(t.x,e.x)**2+tL(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=M.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tI(e,this.transformPagePoint),M.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tX("pointercancel"===t.type?this.lastMoveEventInfo:tI(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,m.DJ)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=tI(tO(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=M.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,tX(s,this.history)),this.removeListeners=(0,tB.z)(tF(this.contextWindow,"pointermove",this.handlePointerMove),tF(this.contextWindow,"pointerup",this.handlePointerUp),tF(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,M.Pn)(this.updatePoint)}}function tI(t,e){return e?{point:e(t.point)}:t}function tW(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tX({point:t},e){return{point:t,delta:tW(t,tN(e)),offset:tW(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tN(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,A.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,A.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function tN(t){return t[t.length-1]}function tY(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var tU=i(1645),t$=i(6781);function tz(t){return t.max-t.min}function tH(t,e,i,n=.5){t.origin=n,t.originPoint=(0,t$.t)(e.min,e.max,t.origin),t.scale=tz(i)/tz(e),t.translate=(0,t$.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tq(t,e,i,n){tH(t.x,e.x,i.x,n?n.originX:void 0),tH(t.y,e.y,i.y,n?n.originY:void 0)}function tG(t,e,i){t.min=i.min+e.min,t.max=t.min+tz(e)}function tK(t,e,i){t.min=e.min-i.min,t.max=t.min+tz(e)}function tZ(t,e,i){tK(t.x,e.x,i.x),tK(t.y,e.y,i.y)}var tJ=i(9111);function tQ(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function t0(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function t1(t,e,i){return{min:t2(t,e),max:t2(t,i)}}function t2(t,e){return"number"==typeof t?t:t[e]||0}let t5=()=>({translate:0,scale:1,origin:0,originPoint:0}),t3=()=>({x:t5(),y:t5()}),t4=()=>({min:0,max:0}),t9=()=>({x:t4(),y:t4()});function t6(t){return[t("x"),t("y")]}function t7({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function t8(t){return void 0===t||1===t}function et({scale:t,scaleX:e,scaleY:i}){return!t8(t)||!t8(e)||!t8(i)}function ee(t){return et(t)||ei(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ei(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function en(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function er(t,e=0,i=1,n,r){t.min=en(t.min,e,i,n,r),t.max=en(t.max,e,i,n,r)}function es(t,{x:e,y:i}){er(t.x,e.translate,e.scale,e.originPoint),er(t.y,i.translate,i.scale,i.originPoint)}function eo(t,e){t.min=t.min+e,t.max=t.max+e}function ea(t,e,i,n,r=.5){let s=(0,t$.t)(t.min,t.max,r);er(t,e,i,s,n)}function el(t,e){ea(t.x,e.x,e.scaleX,e.scale,e.originX),ea(t.y,e.y,e.scaleY,e.scale,e.originY)}function eu(t,e){return t7(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let eh=({current:t})=>t?t.ownerDocument.defaultView:null,ec=new WeakMap;class ed{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=t9(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new tj(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tO(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.KV)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),t6(t=>{let e=this.getAxisMotionValue(t).get()||0;if(N.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=tz(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&M.Wi.postRender(()=>r(t,e)),P(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>t6(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:eh(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&M.Wi.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ep(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,t$.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,t$.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&tY(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:tQ(t.x,i,r),y:tQ(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:t1(t,"left","right"),y:t1(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&t6(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!tY(e))return!1;let n=e.current;(0,J.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let s=function(t,e,i){let n=eu(t,i),{scroll:r}=e;return r&&(eo(n.x,r.offset.x),eo(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:t0((t=r.layout.layoutBox).x,s.x),y:t0(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=t7(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(t6(o=>{if(!ep(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return P(this.visualElement,t),i.start(tx(t,i,0,e,this.visualElement,!1))}stopAnimation(){t6(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){t6(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){t6(e=>{let{drag:i}=this.getProps();if(!ep(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,t$.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!tY(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};t6(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=tz(t),r=tz(e);return r>n?i=(0,tU.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,tU.Y)(t.min,t.max-r,e.min)),(0,tJ.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),t6(e=>{if(!ep(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,t$.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;ec.set(this.visualElement,this);let t=tF(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();tY(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),M.Wi.read(e);let r=tR(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(t6(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function ep(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ef extends tE{constructor(t){super(t),this.removeGroupControls=k.Z,this.removeListeners=k.Z,this.controls=new ed(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let em=t=>(e,i)=>{t&&M.Wi.postRender(()=>t(e,i))};class ev extends tE{constructor(){super(...arguments),this.removePointerDownListener=k.Z}onPointerDown(t){this.session=new tj(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eh(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:em(t),onStart:em(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&M.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tF(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var eg=i(7437),ey=i(2265),ex=i(9637),eb=i(8881);let ew=(0,ey.createContext)({}),eP={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eT(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eS={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!N.px.test(t))return t;t=parseFloat(t)}let i=eT(t,e.target.x),n=eT(t,e.target.y);return`${i}% ${n}%`}},eA={},{schedule:eM,cancel:eC}=(0,i(5005).Z)(queueMicrotask,!1);class eE extends ey.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(eA,eD),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),eP.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||M.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),eM.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ek(t){let[e,i]=(0,ex.oO)(),n=(0,ey.useContext)(eb.p);return(0,eg.jsx)(eE,{...t,layoutGroup:n,switchLayoutGroup:(0,ey.useContext)(ew),isPresent:e,safeToRemove:i})}let eD={borderRadius:{...eS,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eS,borderTopRightRadius:eS,borderBottomLeftRadius:eS,borderBottomRightRadius:eS,boxSh
1adow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=_.P.parse(t);if(n.length>5)return t;let r=_.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,t$.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var eV=i(504),eR=i(9013);let eO=(t,e)=>t.depth-e.depth;class e_{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eR.y4)(this.children,t),this.isDirty=!0}remove(t){(0,eR.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eO),this.isDirty=!1,this.children.forEach(t)}}var eF=i(4081);function eL(t){let e=(0,w.i)(t)?t.get():t;return y(e)?e.toValue():e}let eB=["TopLeft","TopRight","BottomLeft","BottomRight"],ej=eB.length,eI=t=>"string"==typeof t?parseFloat(t):t,eW=t=>"number"==typeof t||N.px.test(t);function eX(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eN=eU(0,.5,R.Bn),eY=eU(.5,.95,k.Z);function eU(t,e,i){return n=>n<t?0:n>e?1:i((0,tU.Y)(t,e,n))}function e$(t,e){t.min=e.min,t.max=e.max}function ez(t,e){e$(t.x,e.x),e$(t.y,e.y)}function eH(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function eq(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function eG(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(N.aQ.test(e)&&(e=parseFloat(e),e=(0,t$.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,t$.t)(s.min,s.max,n);t===s&&(a-=e),t.min=eq(t.min,e,i,a,r),t.max=eq(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let eK=["x","scaleX","originX"],eZ=["y","scaleY","originY"];function eJ(t,e,i,n){eG(t.x,e,eK,i?i.x:void 0,n?n.x:void 0),eG(t.y,e,eZ,i?i.y:void 0,n?n.y:void 0)}function eQ(t){return 0===t.translate&&1===t.scale}function e0(t){return eQ(t.x)&&eQ(t.y)}function e1(t,e){return t.min===e.min&&t.max===e.max}function e2(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function e5(t,e){return e2(t.x,e.x)&&e2(t.y,e.y)}function e3(t){return tz(t.x)/tz(t.y)}function e4(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class e9{constructor(){this.members=[]}add(t){(0,eR.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,eR.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let e6={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},e7="undefined"!=typeof window&&void 0!==window.MotionDebug,e8=["","X","Y","Z"],it={visibility:"hidden"},ie=0;function ii(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ir({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=ie++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,e7&&(e6.totalNodes=e6.resolvedTargetDeltas=e6.recalculatedProjection=0),this.nodes.forEac
1h(ia),this.nodes.forEach(im),this.nodes.forEach(iv),this.nodes.forEach(il),e7&&window.MotionDebug.record(e6)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new e_)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new eF.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=eV.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,M.Pn)(n),t(r-250))};return M.Wi.read(n,!0),()=>(0,M.Pn)(n)}(n,0),eP.hasAnimatedSinceResize&&(eP.hasAnimatedSinceResize=!1,this.nodes.forEach(ip))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||iP,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!e5(this.targetLayout,n)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,m.ev)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ip(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,M.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ig),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[S];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",M.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(ih);return}this.isUpdating||this.nodes.forEach(ic),this.isUpdating=!1,this.nodes.forEach(id),this.nodes.forEach(is),this.nodes.forEach(io),this.clearAllSnapshots();let t=eV.X.now();M.frameData.delta=(0,tJ.u)(0,1e3/60,t-M.frameData.timestamp),M.frameData.timestamp=t,M.frameData.isProcessing=!0,M.yL.update.process(M.frameData),M.yL.preRender.process(M.frameData),M.yL.render.process(M.frameData),M.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eM.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(iu),this.sharedNodes.forEach(iy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=t9(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!e0(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||ee(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),iA((e=n).x),iA(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return t9();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(iC))){let{scroll:t}=this.root;t&&(eo(i.x,t.offset.x),eo(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=t9();if(ez(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&ez(i,t),eo(i.x,r.offset.x),eo(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=t9();ez(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&el(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),ee(n.latestValues)&&el(i,n.latestValues)}return ee(this.latestValues)&&el(i,this.latestValues),i}removeTransform(t){let e=t9();ez(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!ee(i.latestValues))continue;et(i.latestValues)&&i.updateSnapshot();let n=t9();ez(n,i.measurePageBox()),eJ(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return ee(this.latestValues)&&eJ(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==M.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=M.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=t9(),this.relativeTargetOrigin=t9(),tZ(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ez(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=t9(),this.targetWithTransforms=t9()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,tG(i.x,n.x,r.x),tG(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ez(this.target,this.layout.layoutBox),es(this.target,this.targetDelta)):ez(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=t9(),this.relativeTargetOrigin=t9(),tZ(this.relativeTargetOrigin,this.target,t.target),ez(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}e7&&e6.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||et(this.parent.latestValues)||ei(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===M.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;ez(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&el(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,es(t,s)),n&&ee(r.latestValues)&&el(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=t9());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eH(this.prevProjectionDelta.x,this.projectionDelta.x),eH(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tq(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&e4(this.projectionDelta.x,this.prevProjectionDelta.x)&&e4(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),e7&&e6.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=t3(),this.projectionDelta=t3(),this.projectionDeltaWithTransform=t3()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=t3();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=t9(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(iw));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(ix(o.x,t.x,n),ix(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;tZ(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,ib(p.x,f.x,a.x,n),ib(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,e1(u.x,d.x)&&e1(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=t9()),ez(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,t$.t)(0,void 0!==i.opacity?i.opacity:1,eN(n)),t.opacityExit=(0,t$.t)(void 0!==e.opacity?e.opacity:1,0,eY(n))):s&&(t.opacity=(0,t$.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<ej;r++){let s=`border${eB[r]}Radius`,o=eX(e,s),a=eX(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||eW(o)===eW(a)?(t[s]=Math.max((0,t$.t)(eI(o),eI(a),n),0),(N.aQ.test(a)||N.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,t$.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,M.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=M.Wi.update(()=>{eP.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=(0,w.i)(0)?0:(0,b.BX)(0);return n.start(tx("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&iM(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||t9();let e=tz(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tz(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ez(e,i),el(e,r),tq(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new e9),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&ii("z",t,n,this.animationValues);for(let e=0;e<e8.length;e++)ii(`rotate${e8[e]}`,t,n,this.animationValues),ii(`skew${e8[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return it;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=eL(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=eL(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!ee(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;
1this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,eA){if(void 0===o[t])continue;let{correct:e,applyTo:i}=eA[t],r="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=s===this?eL(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ih),this.root.sharedNodes.clear()}}}function is(t){t.updateLayout()}function io(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?t6(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=tz(n);n.min=e[t].min,n.max=n.min+r}):iM(r,i.layoutBox,e)&&t6(n=>
1{let r=s?i.measuredBox[n]:i.layoutBox[n],o=tz(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=t3();tq(o,e,i.layoutBox);let a=t3();s?tq(a,t.applyTransform(n,!0),i.measuredBox):tq(a,e,i.layoutBox);let l=!e0(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t9();tZ(o,i.layoutBox,r.layoutBox);let a=t9();tZ(a,e,s.layoutBox),e5(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ia(t){e7&&e6.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function il(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iu(t){t.clearSnapshot()}function ih(t){t.clearMeasurements()}function ic(t){t.isLayoutDirty=!1}function id(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ip(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function im(t){t.resolveTargetDelta()}function iv(t){t.calcProjection()}function ig(t){t.resetSkewAndRotation()}function iy(t){t.removeLeadSnapshot()}function ix(t,e,i){t.translate=(0,t$.t)(e.translate,0,i),t.scale=(0,t$.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ib(t,e,i,n){t.min=(0,t$.t)(e.min,i.min,n),t.max=(0,t$.t)(e.max,i.max,n)}function iw(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let iP={duration:.45,ease:[.4,0,.1,1]},iT=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iS=iT("applewebkit/")&&!iT("chrome/")?Math.round:k.Z;function iA(t){t.min=iS(t.min),t.max=iS(t.max)}function iM(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(e3(e)-e3(i)))}function iC(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let iE=ir({attachResizeListener:(t,e)=>tR(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ik={current:void 0},iD=ir({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ik.current){let t=new iE({});t.mount(window),t.setOptions({layoutScroll:!0}),ik.current=t}return ik.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function iV(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&M.Wi.postRender(()=>r(e,tO(e)))}class iR extends tE{mount(){let{current:t}=this.node;t&&(this.unmount=(0,m.Mr)(t,t=>(iV(this.node,t,"Start"),t=>iV(this.node,t,"End"))))}unmount(){}}class iO extends tE{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tB.z)(tR(this.node.current,"focus",()=>this.onFocus()),tR(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function i_(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&M.Wi.postRender(()=>r(e,tO(e)))}class iF extends tE{mount(){let{current:t}=this.node;t&&(this.unmount=(0,m.OD)(t,t=>(i_(this.node,t,"Start"),(t,{success:e})=>i_(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iL=new WeakMap,iB=new WeakMap,ij=t=>{let e=iL.get(t.target);e&&e(t)}
1,iI=t=>{t.forEach(ij)},iW={some:0,all:1};class iX extends tE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:iW[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;iB.has(i)||iB.set(i,{});let n=iB.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(iI,{root:t,...e})),n[r]}(e);return iL.set(t,i),n.observe(t),()=>{iL.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iN=(0,ey.createContext)({strict:!1});var iY=i(5750);let iU=(0,ey.createContext)({});function i$(t){return n(t.animate)||c.some(e=>o(t[e]))}function iz(t){return!!(i$(t)||t.variants)}function iH(t){return Array.isArray(t)?t.join(" "):t}var iq=i(4563);let iG={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iK={};for(let t in iG)iK[t]={isEnabled:e=>iG[t].some(t=>!!e[t])};let iZ=Symbol.for("motionComponentSymbol");var iJ=i(4252),iQ=i(1534);let i0=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i1(t){if("string"!=typeof t||t.includes("-"));else if(i0.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var i2=i(3576);let i5=t=>(e,i)=>{let r=(0,ey.useContext)(iU),s=(0,ey.useContext)(iJ.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},r,s,o){let a={latestValues:function(t,e,i,r){let s={},o=r(t,{});for(let t in o)s[t]=eL(o[t]);let{initial:a,animate:u}=t,h=i$(t),c=iz(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===u&&(u=e.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!n(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i<e.length;i++){let n=l(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(r,s,o,t),renderState:e()};return i&&(a.onMount=t=>i({props:r,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,r,s);return i?o():(0,i2.h)(o)},i3=(t,e)=>e&&"number"==typeof t?e.transform(t):t,i4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i9=v._.length;function i6(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(v.G.has(t)){o=!0;continue}if((0,tt.f)(t)){r[t]=i;continue}{let e=i3(i,z[t]);t.startsWith("origin")?(a=!0,s[t]=e):n[t]=e}}if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<i9;s++){let o=v._[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=i3(a,z[o]);if(!l){r=!1;let e=i4[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let i7={offset:"stroke-dashoffset",array:"stroke-dasharray"},i8={offset:"strokeDashoffset",array:"strokeDasharray"};function nt(t,e,i){return"string"==typeof t?t:N.px.transform(e+i*t)}function ne(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u}
1,h,c){if(i6(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==r||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let n=nt(e,t.x,t.width),r=nt(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?i7:i8;t[s.offset]=N.px.transform(-n);let o=N.px.transform(e),a=N.px.transform(i);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let ni=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nn=()=>({...ni(),attrs:{}}),nr=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ns(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let no=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function na(t,e,i,n){for(let i in ns(t,e,void 0,n),e.attrs)t.setAttribute(no.has(i)?i:T(i),e.attrs[i])}function nl(t,{layout:e,layoutId:i}){return v.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eA[t]||"opacity"===t)}function nu(t,e,i){var n;let{style:r}=t,s={};for(let o in r)((0,w.i)(r[o])||e.style&&(0,w.i)(e.style[o])||nl(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function nh(t,e,i){let n=nu(t,e,i);for(let i in t)((0,w.i)(t[i])||(0,w.i)(e[i]))&&(n[-1!==v._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let nc=["x","y","width","height","cx","cy","r"],nd={useVisualState:i5({scrapeMotionValuesFromProps:nh,createRenderState:nn,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:r})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in r)if(v.G.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<nc.length;i++){let n=nc[i];t[n]!==e[n]&&(o=!0)}o&&M.Wi.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,n),M.Wi.render(()=>{ne(n,r,nr(i.tagName),t.transformTemplate),na(i,n)})})}})},np={useVisualState:i5({scrapeMotionValuesFromProps:nu,createRenderState:ni})};function nf(t,e,i){for(let n in e)(0,w.i)(e[n])||nl(n,i)||(t[n]=e[n])}let nm=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nv(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||nm.has(t)}let ng=t=>!nv(t);try{(d=require("@emotion/is-prop-valid").default)&&(ng=t=>t.startsWith("on")?!nv(t):d(t))}catch(t){}let ny={current:null},nx={current:!1},nb=[...tr,W.$,_.P],nw=t=>nb.find(tn(t)),nP=new WeakMap,nT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nS{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Z.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=eV.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,M.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=i$(e),this.isVariantNode=iz(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&(0,w.i)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,nP.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),nx.current||function(){if(nx.current=!0,iq.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ny.current=t.matches;t.addListener(e),e()}else ny.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ny.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in nP.delete(this.current),this.projection&&this.projection.unmount(),(0,M.Pn)(this.notifyUpdate),(0,M.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=v.G.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&M.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in iK){let e=iK[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):t9()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<nT.length;e++){let i=nT[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,w.i)(r))t.addValue(n,r);else if((0,w.i)(s))t.addValue(n,(0,b.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,b.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,b.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&(Q(n)||O(n))?n=parseFloat(n):!nw(n)&&_.P.test(e)&&(n=G(t,e)),this.setBaseTarget(t,(0,w.i)(n)?n.get():n)),(0,w.i)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=l(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,w.i)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new eF.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class nA extends nS{constructor(){super(...arguments),this.KeyframeResolver=to}
1sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,w.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class nM extends nA{constructor(){super(...arguments),this.type="html",this.renderInstance=ns}readValueFromInstance(t,e){if(v.G.has(e)){let t=q(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=((0,tt.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eu(t,e)}build(t,e,i){i6(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return nu(t,e,i)}}class nC extends nA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=t9}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(v.G.has(e)){let t=q(e);return t&&t.default||0}return e=no.has(e)?e:T(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nh(t,e,i)}build(t,e,i){ne(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){na(t,e,i,n)}mount(t){this.isSVGTag=nr(t.tagName),super.mount(t)}}let nE=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((p={animation:{Feature:tk},exit:{Feature:tV},inView:{Feature:iX},tap:{Feature:iF},focus:{Feature:iO},hover:{Feature:iR},pan:{Feature:ev},drag:{Feature:ef,ProjectionNode:iD,MeasureLayout:ek},layout:{ProjectionNode:iD,MeasureLayout:ek}},f=(t,e)=>i1(t)?new nC(e):new nM(e,{allowProjection:t!==ey.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:r,useRender:s,useVisualState:a,Component:l}=t;function u(t,e){var i;let n;let u={...(0,ey.useContext)(iY._),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,ey.useContext)(eb.p).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(i$(t)){let{initial:e,animate:i}=t;return{initial:!1===e||o(e)?e:void 0,animate:o(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ey.useContext)(iU));return(0,ey.useMemo)(()=>({initial:e,animate:i}),[iH(e),iH(i)])}(t),d=a(t,h);if(!h&&iq.j){(0,ey.useContext)(iN).strict;let t=function(t){let{drag:e,layout:i}=iK;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);n=t.MeasureLayout,c.visualElement=function(t,e,i,n,r){var s,o;let{visualElement:a}=(0,ey.useContext)(iU),l=(0,ey.useContext)(iN),u=(0,ey.useContext)(iJ.O),h=(0,ey.useContext)(iY._).reducedMotion,c=(0,ey.useRef)(null);n=n||l.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,p=(0,ey.useContext)(ew);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&tY(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(c.current,i,r,p);let f=(0,ey.useRef)(!1);(0,ey.useInsertionEffect)(()=>{d&&f.current&&d.update(i,u)});let m=i[S],v=(0,ey.useRef)(!!m&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,m))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,m)));return(0,iQ.L)(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),eM.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,ey.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,m)}),v.current=!1))}),d}(l,d,u,r,t.ProjectionNode)}return(0,eg.jsxs)(iU.Provider,{value:c,children:[n&&c.visualElement?(0,eg.jsx)(n,{visualElement:c.visualElement,...u}):null,s(l,t,(i=c.visualElement,(0,ey.useCallback)(t=>{t&&d.onMount&&d.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):tY(e)&&(e.current=t))},[i])),d,h,c.visualElement)]})}n&&function(t){for(let e in t)iK[e]={...iK[e],...t[e]}}(n),u.displayName="motion.".concat("string"==typeof l?l:"create(".concat(null!==(i=null!==(e=l.displayName)&&void 0!==e?e:l.name)&&void 0!==i?i:"",")"));let h=(0,ey.forwardRef)(u);return h[iZ]=l,h}({...i1(t)?nd:np,preloadedFeatures:p,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>
1{let o=(i1(e)?function(t,e,i,n){let r=(0,ey.useMemo)(()=>{let i=nn();return ne(i,e,nr(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};nf(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return nf(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,ey.useMemo)(()=>{let i=ni();return i6(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(ng(r)||!0===i&&nv(r)||!e&&!nv(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),l=e!==ey.Fragment?{...a,...o,ref:n}:{},{children:u}=i,h=(0,ey.useMemo)(()=>(0,w.i)(u)?u.get():u,[u]);return(0,ey.createElement)(e,{...l,children:h})}}(e),createVisualElement:f,Component:t})}))},7249:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},401:function(t,e,i){i.d(e,{Ei:function(){return c},lw:function(){return d},mP:function(){return o}});var n=i(4305),r=i(7492),s=i(7487);let o=t=>t===n.Rx||t===r.px,a=(t,e)=>parseFloat(t.split(", ")[e]),l=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return a(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?a(e[1],t):0}},u=new Set(["x","y","z"]),h=s._.filter(t=>!u.has(t));function c(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:l(4,13),y:l(5,14)};d.translateX=d.x,d.translateY=d.y},7487:function(t,e,i){i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},9545:function(t,e,i){i.d(e,{e:function(){return c},m:function(){return h}});var n=i(401),r=i(5414);let s=new Set,o=!1,a=!1;function l(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.Ei)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class c{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,r.Wi.read(u),r.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}}
1,4118:function(t,e,i){i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},9013:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},9111:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},8843:function(t,e,i){i.d(e,{s:function(){return u}});var n=i(6277),r=i(2035),s=i(1645),o=i(9111),a=i(2006),l=i(332);function u(t,e,{clamp:i=!0,ease:u,mixer:h}={}){let c=t.length;if((0,r.k)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,i){let r=[],s=i||a.C,o=t.length-1;for(let i=0;i<o;i++){let o=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.Z:e;o=(0,l.z)(t,o)}r.push(o)}return r}(e,u,h),f=p.length,m=i=>{if(d&&i<t[0])return e[0];let n=0;if(f>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,s.Y)(t[n],t[n+1],i);return p[n](r)};return i?e=>m((0,o.u)(t[0],t[c-1],e)):m}},4563:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},2006:function(t,e,i){i.d(e,{C:function(){return A}});var n=i(6781),r=i(2035);function s(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var o=i(7325),a=i(8859),l=i(2943);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},c=[o.$,a.m,l.J],d=t=>c.find(e=>e.test(t));function p(t){let e=d(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=s(l,n,t+1/3),o=s(l,n,t),a=s(l,n,t-1/3)}else r=o=a=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(i)),i}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=h(i.red,r.red,t),s.green=h(i.green,r.green,t),s.blue=h(i.blue,r.blue,t),s.alpha=(0,n.t)(i.alpha,r.alpha,t),a.m.transform(s))};var m=i(332),v=i(3964),g=i(3206),y=i(7249);let x=new Set(["none","hidden"]);function b(t,e){return i=>(0,n.t)(t,e,i)}function w(t){return"number"==typeof t?b:"string"==typeof t?(0,y.t)(t)?u:v.$.test(t)?f:S:Array.isArray(t)?P:"object"==typeof t?v.$.test(t)?f:T:u}function P(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function T(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=g.P.createTransformer(e),n=(0,g.V)(t),s=(0,g.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?x.has(t)&&!s.values.length||x.has(e)&&!n.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,m.z)(P(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[s]=l,r[o]++}return n}(n,s),s.values),i):((0,r.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,n.t)(t,e,i):w(t)(t,e)}},6781:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},8913:function(t,e,i){i.d(e,{Y:function(){return s}});var n=i(1645),r=i(6781);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.Y)(0,e,s);t.push((0,r.t)(i,1,o))}}(e,t.length-1),e}},332:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},4081:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(9013);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}}
1,3576:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(2265);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},4522:function(t,e,i){i.d(e,{c:function(){return n}});let n={current:!1}},1534:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(2265);let r=i(4563).j?n.useLayoutEffect:n.useEffect},4438:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}},3078:function(t,e,i){i.d(e,{BX:function(){return h}});var n=i(504),r=i(4081),s=i(4438),o=i(5414);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=n.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},7325:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(8859);let r={test:(0,i(5516).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},2943:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(4305),r=i(7492),s=i(5472),o=i(5516);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},3964:function(t,e,i){i.d(e,{$:function(){return o}});var n=i(7325),r=i(2943),s=i(8859);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t)}},8859:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(9111),r=i(4305),s=i(5472),o=i(5516);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}}
1,5516:function(t,e,i){i.d(e,{i:function(){return s},d:function(){return o}});var n=i(6941);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3206:function(t,e,i){i.d(e,{V:function(){return h},P:function(){return f}});var n=i(3964);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(6941),o=i(5472);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.N)(t[u]):e===l?s+=n.$.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:t,f={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.K))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r))||void 0===i?void 0:i.length)||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},4305:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(9111);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},7492:function(t,e,i){i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},6941:function(t,e,i){i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},5472:function(t,e,i){i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},3999:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},5699:function(t,e,i){i.d(e,{sP:function(){return o},_F:function(){return c},iI:function(){return u},wk:function(){return v},ev:function(){return a},Mr:function(){return S},qE:function(){return d},xD:function(){return h},DJ:function(){return M},hR:function(){return g},eB:function(){return function t(e,i){if(e)return"function"==typeof e&&f()?v(e,i):d(e)?y(e):Array.isArray(e)?e.map(e=>t(e,i)||x.easeOut):x[e]}},EO:function(){return l},OD:function(){return O},IG:function(){return w},KV:function(){return _},Vc:function(){return f},tn:function(){return r}});var n=i(107);let r=(0,n.X)(()=>void 0!==window.ScrollTimeline);class s{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>r()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}
1runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class o extends s{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}let l=2e4;function u(t){let e=0,i=t.next(e);for(;!i.done&&e<l;)e+=50,i=t.next(e);return e>=l?1/0:e}function h(t){return"function"==typeof t}function c(t,e){t.timeline=e,t.onfinish=null}let d=t=>Array.isArray(t)&&"number"==typeof t[0],p={linearEasing:void 0},f=function(t,e){let i=(0,n.X)(t);return()=>{var t;return null!==(t=p[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=i(1645);let v=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=t((0,m.Y)(0,r-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};function g(t){return!!("function"==typeof t&&f()||!t||"string"==typeof t&&(t in x||f())||d(t)||Array.isArray(t)&&t.every(g))}let y=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,x={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])},b={x:!1,y:!1};function w(t,e,i){var n;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=null!==(n=null==i?void 0:i[t])&&void 0!==n?n:r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function P(t,e){let i=w(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function T(t){return e=>{"touch"===e.pointerType||b.x||b.y||t(e)}}function S(t,e,i={}){let[n,r,s]=P(t,i),o=T(t=>{let{target:i}=t,n=e(t);if("function"!=typeof n||!i)return;let s=T(t=>{n(t),i.removeEventListener("pointerleave",s)});i.addEventListener("pointerleave",s,r)});return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}let A=(t,e)=>!!e&&(t===e||A(t,e.parentElement)),M=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,C=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),E=new WeakSet;function k(t){return e=>{"Enter"===e.key&&t(e)}}function D(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let V=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=k(()=>{if(E.has(i))return;D(i,"down");let t=k(()=>{D(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>D(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function R(t){return M(t)&&!(b.x||b.y)}function O(t,e,i={}){let[n,r,s]=P(t,i),o=t=>{let n=t.currentTarget;if(!R(t)||E.has(n))return;E.add(n);let s=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),R(t)&&E.has(n)&&(E.delete(n),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||A(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{C.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>V(t,r),r)}),s}function _(t){return"x"===t||"y"===t?b[t]?null:(b[t]=!0,()=>{b[t]=!1}):b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}i(9711),i(6277)},2035:function(t,e,i){i.d(e,{K:function(){return r},k:function(){return s}});var n=i(6277);let r=n.Z,s=n.Z},107:function(t,e,i){i.d(e,{X:function(){return n}});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},6277:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},1645:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},9711:function(t,e,i){i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.