1 |
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[738],{52531:(t,e,r)=>{var n=r(74843);e.o=n.default},74843:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t}},2256:(t,e,r)=>{r.d(e,{N:()=>l});var n=r(57749),i=r(29340),s=r(68448),a=r(63337),o=r(34001);function l(t){let e=t+"CollectionProvider",[r,l]=(0,i.A)(e),[u,h]=r(e,{collectionRef:{current:null},itemMap:new Map}),d=t=>{let{scope:e,children:r}=t,i=n.useRef(null),s=n.useRef(new Map).current;return(0,o.jsx)(u,{scope:e,itemMap:s,collectionRef:i,children:r})};d.displayName=e;let c=t+"CollectionSlot",p=n.forwardRef((t,e)=>{let{scope:r,children:n}=t,i=h(c,r),l=(0,s.s)(e,i.collectionRef);return(0,o.jsx)(a.DX,{ref:l,children:n})});p.displayName=c;let f=t+"CollectionItemSlot",m="data-radix-collection-item",v=n.forwardRef((t,e)=>{let{scope:r,children:i,...l}=t,u=n.useRef(null),d=(0,s.s)(e,u),c=h(f,r);return n.useEffect(()=>(c.itemMap.set(u,{ref:u,...l}),()=>void c.itemMap.delete(u))),(0,o.jsx)(a.DX,{[m]:"",ref:d,children:i})});return v.displayName=f,[{Provider:d,Slot:p,ItemSlot:v},function(e){let r=h(t+"CollectionConsumer",e);return n.useCallback(()=>{let t=r.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((t,r)=>e.indexOf(t.ref.current)-e.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},l]}},84664:(t,e,r)=>{r.d(e,{jH:()=>s});var n=r(57749);r(34001);var i=n.createContext(void 0);function s(t){let e=n.useContext(i);return t||e||"ltr"}},42791:(t,e,r)=>{r.d(e,{f:()=>tb});var n=r(86437),i=r(17096);let s={type:"spring",stiffness:500,damping:25,restSpeed:10},a=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),o={type:"keyframes",duration:.8},l={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},u=(t,{keyframes:e})=>e.length>2?o:i.f.has(t)?t.startsWith("scale")?a(e[1]):s:l;var h=r(59412),d=r(65190);let c={current:!1},p=t=>null!==t;function f(t,{repeat:e,repeatType:r="loop"},n){let i=t.filter(p),s=e&&"loop"!==r&&e%2==1?0:i.length-1;return s&&void 0!==n?n:i[s]}var m=r(41916),v=r(17758);let g=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function y(t,e,r,n){if(t===e&&r===n)return v.l;let i=e=>(function(t,e,r,n,i){let s,a;let o=0;do(s=g(a=e+(r-e)/2,n,i)-t)>0?r=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a})(e,0,1,t,r);return t=>0===t||1===t?t:g(i(t),e,n)}var w=r(49449),x=r(41600);let b=y(.33,1.53,.69,.99),S=(0,x.G)(b),A=(0,w.V)(S),P=t=>(t*=2)<1?.5*S(t):.5*(2-Math.pow(2,-10*(t-1)));var V=r(45028),T=r(12182);function M(t){return"function"==typeof t}var k=r(1130),C=r(74569),F=r(28363),E=r(74640);let O=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(E.f.test(t)||"0"===t)&&!t.startsWith("url("));class R{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=k.k.now(),this.options={autoplay:t,delay:e,type:r,repeat:n,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,C.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=k.k.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:s,onComplete:a,onUpdate:o,isGenerator:l}=this.options;if(!l&&!function(t,e,r,n){let i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=O(i,e),o=O(s,e);return(0,F.$)(a===o,`You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||M(r))&&n)}(t,r,n,i)){if(c.current||!s){null==o||o(f(t,this.options,e)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},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})}}var I=r(44036);let j=(t,e,r=10)=>{let n="",i=Math.max(Math.round(e/r),2);for(let e=0;e<i;e++)n+=t((0,I.q)(0,i-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};var B=r(48121);function D(t,e,r){let n=Math.max(e-5,0);return(0,B.f)(r-t(n),e-n)}var $=r(36128);let N={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};function L(t,e){return t*Math.sqrt(1-e*e)}function W(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}let X=["duration","bounce"],K=["stiffness","damping","mass"];function q(t,e){return e.some(e=>void 0!==t[e])}function U(t=N.visualDuration,e=N.bounce){let r;let i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:a}=i,o=i.keyframes[0],l=i.keyframes[i.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:d,mass:c,duration:p,velocity:f,isResolvedFromDuration:m}=function(t){let e={velocity:N.velocity,stiffness:N.stiffness,damping:N.damping,mass:N.mass,isResolvedFromDuration:!1,...t};if(!q(t,K)&&q(t,X)){if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),n=r*r,i=2*(0,$.q)(.05,1,1-t.bounce)*Math.sqrt(n);e={...e,mass:N.mass,stiffness:n,damping:i}}else{let r=function({duration:t=N.duration,bounce:e=N.bounce,velocity:r=N.velocity,mass:i=N.mass}){let s,a;(0,F.$)(t<=(0,n.f)(N.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,$.q)(N.minDamping,N.maxDamping,o),t=(0,$.q)(N.minDuration,N.maxDuration,(0,n.X)(t)),o<1?(s=e=>{let n=e*o,i=n*t;return .001-(n-r)/L(e,o)*Math.exp(-i)},a=e=>{let n=e*o*t,i=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=L(Math.pow(e,2),o);return(n*r+r-i)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),a=e=>t*t*(r-e)*Math.exp(-e*t));let l=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(s,a,5/t);if(t=(0,n.f)(t),isNaN(l))return{stiffness:N.stiffness,damping:N.damping,duration:t};{let e=Math.pow(l,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...r,mass:N.mass}).isResolvedFromDuration=!0}}return e}({...i,velocity:-(0,n.X)(i.velocity||0)}),v=f||0,g=d/(2*Math.sqrt(h*c)),y=l-o,w=(0,n.X)(Math.sqrt(h/c)),x=5>Math.abs(y);if(s||(s=x?N.restSpeed.granular:N.restSpeed.default),a||(a=x?N.restDelta.granular:N.restDelta.default),g<1){let t=L(w,g);r=e=>l-Math.exp(-g*w*e)*((v+g*w*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)r=t=>l-Math.exp(-w*t)*(y+(v+w*y)*t);else{let t=w*Math.sqrt(g*g-1);r=e=>{let r=Math.exp(-g*w*e),n=Math.min(t*e,300);return l-r*((v+g*w*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}let b={calculatedDuration:m&&p||null,next:t=>{let e=r(t);if(m)u.done=t>=p;else{let i=0;g<1&&(i=0===t?(0,n.f)(v):D(r,t,e));let o=Math.abs(i)<=s,h=Math.abs(l-e)<=a;u.done=o&&h}return u.value=u.done?l:e,u},toString:()=>{let t=Math.min(W(b),2e4),e=j(e=>b.next(t*e).value,t,30);return t+"ms "+e}};return b}function Y({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c;let p=t[0],f={done:!1,value:p},m=t=>void 0!==o&&t<o||void 0!==l&&t>l,v=t=>void 0===o?l:void 0===l?o:Math.abs(o-t)<Math.abs(l-t)?o:l,g=r*e,y=p+g,w=void 0===a?y:a(y);w!==y&&(g=w-p);let x=t=>-g*Math.exp(-t/n),b=t=>w+x(t),S=t=>{let e=x(t),r=b(t);f.done=Math.abs(e)<=u,f.value=f.done?w:r},A=t=>{m(f.value)&&(d=t,c=U({keyframes:[f.value,v(f.value)],velocity:D(b,t,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:h}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,S(t),A(t)),void 0!==d&&t>=d)?c.next(t-d):(e||S(t),f)}}}let G=y(.42,0,1,1),H=y(0,0,.58,1),_=y(.42,0,.58,1),z=t=>Array.isArray(t)&&"number"!=typeof t[0],Q=t=>Array.isArray(t)&&"number"==typeof t[0],Z={linear:v.l,easeIn:G,easeInOut:_,easeOut:H,circIn:V.po,circInOut:V.tn,circOut:V.yT,backIn:S,backInOut:A,backOut:b,anticipate:P},J=t=>{if(Q(t)){(0,F.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return y(e,r,n,i)}return"string"==typeof t?((0,F.V)(void 0!==Z[t],`Invalid easing type '${t}'`),Z[t]):t};var tt=r(52912),te=r(63209);function tr({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){let i=z(n)?n.map(J):J(n),s={done:!1,value:e[0]},a=(r&&r.length===e.length?r:(0,te.Z)(e)).map(e=>e*t),o=(0,tt.G)(a,e,{ease:Array.isArray(i)?i:e.map(()=>i||_).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}var tn=r(45065),ti=r(73924);let ts=t=>{let e=({timestamp:e})=>t(e);return{start:()=>m.Gt.update(e,!0),stop:()=>(0,m.WG)(e),now:()=>m.uv.isProcessing?m.uv.timestamp:k.k.now()}},ta={decay:Y,inertia:Y,tween:tr,keyframes:tr,spring:U},to=t=>t/100;class tl extends R{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:r,element:n,keyframes:i}=this.options,s=(null==n?void 0:n.KeyframeResolver)||C.h;this.resolver=new s(i,(t,e)=>this.onKeyframesResolved(t,e),e,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,r;let{type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=this.options,l=M(n)?n:ta[n]||tr;l!==tr&&"number"!=typeof t[0]&&(e=(0,tn.F)(to,(0,ti.j)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===a&&(r=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=W(u));let{calculatedDuration:h}=u,d=h+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(i+1)-s}}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:r}=this;if(!r){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=r;if(null===this.startTime)return i.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/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>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let w=this.currentTime,x=i;if(c){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(r=1-r,m&&(r-=m/h)):"mirror"===p&&(x=s)),w=(0,$.q)(0,1,r)*h}let b=y?{done:!1,value:o[0]}:x.next(w);a&&(b.value=a(b.value));let{done:S}=b;y||null===l||(S=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return A&&void 0!==n&&(b.value=f(o,this.options,n)),v&&v(b.value),A&&this.finish(),b}get duration(){let{resolved:t}=this;return t?(0,n.X)(t.calculatedDuration):0}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.f)(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,n.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=ts,onPlay:e,startTime:r}=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!=r?r:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),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)}}let tu=new Set(["opacity","clipPath","filter","transform"]);var th=r(12875);let td={linearEasing:void 0},tc=function(t,e){let r=(0,th.p)(t);return()=>{var t;return null!==(t=td[e])&&void 0!==t?t:r()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tp=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,tf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tp([0,.65,.55,1]),circOut:tp([.55,0,1,.45]),backIn:tp([.31,.01,.66,-.59]),backOut:tp([.33,1.53,.69,.99])};function tm(t,e){t.timeline=e,t.onfinish=null}let tv=(0,th.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tg={anticipate:P,backInOut:A,circInOut:V.tn};class ty extends R{constructor(t){super(t);let{name:e,motionValue:r,element:n,keyframes:i}=this.options;this.resolver=new T.K(i,(t,e)=>this.onKeyframesResolved(t,e),e,r,n),this.resolver.scheduleResolve()}initPlayback(t,e){var r,n;let{duration:i=300,times:s,ease:a,type:o,motionValue:l,name:u,startTime:h}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("string"==typeof a&&tc()&&a in tg&&(a=tg[a]),M((n=this.options).type)||"spring"===n.type||!function t(e){return!!("function"==typeof e&&tc()||!e||"string"==typeof e&&(e in tf||tc())||Q(e)||Array.isArray(e)&&e.every(t))}(n.ease)){let{onComplete:e,onUpdate:r,motionValue:n,element:l,...u}=this.options,h=function(t,e){let r=new tl({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},i=[],s=0;for(;!n.done&&s<2e4;)i.push((n=r.sample(s)).value),s+=10;return{times:void 0,keyframes:i,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),i=h.duration,s=h.times,a=h.ease,o="keyframes"}let d=function(t,e,r,{delay:n=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:o="easeInOut",times:l}={}){let u={[e]:r};l&&(u.offset=l);let h=function t(e,r){if(e)return"function"==typeof e&&tc()?j(e,r):Q(e)?tp(e):Array.isArray(e)?e.map(e=>t(e,r)||tf.easeOut):tf[e]}(o,i);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:a});return d.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?(tm(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:r}=this.options;l.set(f(t,this.options,e)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:s,type:o,ease:a,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,n.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,n.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:r}=e;r.currentTime=(0,n.f)(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:r}=e;r.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 v.l;let{animation:r}=e;tm(r,t)}else this.pendingTimeline=t;return v.l}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:r,duration:i,type:s,ease:a,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,d=new tl({...h,keyframes:r,duration:i,type:s,ease:a,times:o,isGenerator:!0}),c=(0,n.f)(this.time);t.setWithVelocity(d.sample(c-10).value,d.sample(c).value,10)}let{onStop:l}=this.options;l&&l(),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:r,repeatDelay:n,repeatType:i,damping:s,type:a}=t;return tv()&&r&&tu.has(r)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!n&&"mirror"!==i&&0!==s&&"inertia"!==a}}var tw=r(34065);class tx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=e}attachTimeline(t,e){let r=this.animations.map(r=>(0,tw.J)()&&r.attachTimeline?r.attachTimeline(t):e(r));return()=>{r.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}runAll(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")}}let tb=(t,e,r,i={},s,a)=>o=>{let l=(0,h.r)(i,t)||{},p=l.delay||i.delay||0,{elapsed:v=0}=i;v-=(0,n.f)(p);let g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-v,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:s};!function({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&(g={...g,...u(t,g)}),g.duration&&(g.duration=(0,n.f)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,n.f)(g.repeatDelay)),void 0!==g.from&&(g.keyframes[0]=g.from);let y=!1;if(!1!==g.type&&(0!==g.duration||g.repeatDelay)||(g.duration=0,0!==g.delay||(y=!0)),(c.current||d.W.skipAnimations)&&(y=!0,g.duration=0,g.delay=0),y&&!a&&void 0!==e.get()){let t=f(g.keyframes,l);if(void 0!==t)return m.Gt.update(()=>{g.onUpdate(t),g.onComplete()}),new tx([])}return!a&&ty.supports(g)?new ty(g):new tl(g)}},48088:(t,e,r)=>{r.d(e,{_:()=>f});var n=r(35553),i=r(17096),s=r(42791),a=r(10336),o=r(59412),l=r(75728),u=r(80552),h=r(41916);function d(t,e,{delay:r=0,transitionOverride:n,type:c}={}){var p;let{transition:f=t.getDefaultTransition(),transitionEnd:m,...v}=e;n&&(f=n);let g=[],y=c&&t.animationState&&t.animationState.getState()[c];for(let e in v){let n=t.getValue(e,null!==(p=t.latestValues[e])&&void 0!==p?p:null),a=v[e];if(void 0===a||y&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(y,e))continue;let d={delay:r,...(0,o.r)(f||{},e)},c=!1;if(window.MotionHandoffAnimation){let r=(0,l.P)(t);if(r){let t=window.MotionHandoffAnimation(r,e,h.Gt);null!==t&&(d.startTime=t,c=!0)}}(0,u.g)(t,e),n.start((0,s.f)(e,n,a,t.shouldReduceMotion&&i.f.has(e)?{type:!1}:d,t,c));let m=n.animation;m&&g.push(m)}return m&&Promise.all(g).then(()=>{h.Gt.update(()=>{m&&(0,a.U)(t,m)})}),g}function c(t,e,r={}){var i;let s=(0,n.K)(t,e,"exit"===r.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=s||{};r.transitionOverride&&(a=r.transitionOverride);let o=s?()=>Promise.all(d(t,s,r)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:o}=a;return function(t,e,r=0,n=0,i=1,s){let a=[],o=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>o-t*n;return Array.from(t.variantChildren).sort(p).forEach((t,n)=>{t.notify("AnimationStart",e),a.push(c(t,e,{...s,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,i+n,s,o,r)}:()=>Promise.resolve(),{when:u}=a;if(!u)return Promise.all([o(),l(r.delay)]);{let[t,e]="beforeChildren"===u?[o,l]:[l,o];return t().then(()=>e())}}function p(t,e){return t.sortNodePosition(e)}function f(t,e,r={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>c(t,e,r)));else if("string"==typeof e)i=c(t,e,r);else{let s="function"==typeof e?(0,n.K)(t,e,r.custom):e;i=Promise.all(d(t,s,r))}return i.then(()=>{t.notify("AnimationComplete",e)})}},8534:(t,e,r)=>{r.d(e,{n:()=>n});let n="data-"+(0,r(85720).I)("framerAppearId")},75728:(t,e,r)=>{r.d(e,{P:()=>i});var n=r(8534);function i(t){return t.props[n.n]}},59412:(t,e,r)=>{r.d(e,{r:()=>n});function n(t,e){return t?t[e]||t.default||t:void 0}},67418:(t,e,r)=>{r.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},86744:(t,e,r)=>{r.d(e,{p:()=>n});let n=t=>Array.isArray(t)},15883:(t,e,r)=>{r.d(e,{L:()=>n});let n=(0,r(57749).createContext)({})},31668:(t,e,r)=>{r.d(e,{Y:()=>n});let n=(0,r(57749).createContext)({strict:!1})},58902:(t,e,r)=>{r.d(e,{Q:()=>n});let n=(0,r(57749).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},51303:(t,e,r)=>{r.d(e,{t:()=>n});let n=(0,r(57749).createContext)(null)},95855:(t,e,r)=>{r.d(e,{N:()=>n});let n=(0,r(57749).createContext)({})},45028:(t,e,r)=>{r.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=r(49449),i=r(41600);let s=t=>1-Math.sin(Math.acos(t)),a=(0,i.G)(s),o=(0,n.V)(s)},49449:(t,e,r)=>{r.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},41600:(t,e,r)=>{r.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},26144:(t,e,r)=>{r.d(e,{k:()=>n});function n(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}},58607:(t,e,r)=>{r.d(e,{h:()=>s});var n=r(26144),i=r(54204);function s(t,e,r,s){return(0,n.k)(t,e,(0,i.F)(r),s)}},54204:(t,e,r)=>{r.d(e,{F:()=>s,e:()=>i});var n=r(50498);function i(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.M)(e)&&t(e,i(e))},50498:(t,e,r)=>{r.d(e,{M:()=>n});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},97981:(t,e,r)=>{r.d(e,{I:()=>s});var n=r(65190);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let r=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,l=i.reduce((t,e)=>(t[e]=function(t){let e=new Set,r=new Set,n=!1,i=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){s.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,i=!1,a=!1)=>{let o=a&&n?e:r;return i&&s.add(t),o.has(t)||o.add(t),t},cancel:t=>{r.delete(t),s.delete(t)},process:t=>{if(a=t,n){i=!0;return}n=!0,[e,r]=[r,e],r.clear(),e.forEach(o),n=!1,i&&(i=!1,l.process(t))}};return l}(o),t),{}),{read:u,resolveKeyframes:h,update:d,preRender:c,render:p,postRender:f}=l,m=()=>{let i=n.W.useManualTiming?a.timestamp:performance.now();r=!1,a.delta=s?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,u.process(a),h.process(a),d.process(a),c.process(a),p.process(a),f.process(a),a.isProcessing=!1,r&&e&&(s=!1,t(m))},v=()=>{r=!0,s=!0,a.isProcessing||t(m)};return{schedule:i.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,i=!1)=>(r||v(),n.schedule(t,e,i)),t},{}),cancel:t=>{for(let e=0;e<i.length;e++)l[i[e]].cancel(t)},state:a,steps:l}}},41916:(t,e,r)=>{r.d(e,{Gt:()=>i,PP:()=>o,WG:()=>s,uv:()=>a});var n=r(17758);let{schedule:i,cancel:s,state:a,steps:o}=(0,r(97981).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},29056:(t,e,r)=>{r.d(e,{k:()=>n});let{schedule:n,cancel:i}=(0,r(97981).I)(queueMicrotask,!1)},1130:(t,e,r)=>{let n;r.d(e,{k:()=>o});var i=r(65190),s=r(41916);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||i.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},55080:(t,e,r)=>{r.d(e,{X:()=>n});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},91942:(t,e,r)=>{r.d(e,{W:()=>w});var n=r(67418),i=r(86744);function s(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}var a=r(99051),o=r(35553),l=r(53394),u=r(48088);let h=l._.length,d=[...l.U].reverse(),c=l.U.length;function p(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}var m=r(55080);class v extends m.X{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(0,u._)(t,e,r))),r=f(),p=!0,m=e=>(r,n)=>{var i;let s=(0,o.K)(t,n,"exit"===e?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;r={...r,...n,...e}}return r};function v(o){let{props:u}=t,f=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;t<h;t++){let n=l._[t],i=e.props[n];((0,a.w)(i)||!1===i)&&(r[n]=i)}return r}(t.parent)||{},v=[],g=new Set,y={},w=1/0;for(let e=0;e<c;e++){var x;let l=d[e],h=r[l],c=void 0!==u[l]?u[l]:f[l],b=(0,a.w)(c),S=l===o?h.isActive:null;!1===S&&(w=e);let A=c===f[l]&&c!==u[l]&&b;if(A&&p&&t.manuallyAnimateOnMount&&(A=!1),h.protectedKeys={...y},!h.isActive&&null===S||!c&&!h.prevProp||(0,n.N)(c)||"boolean"==typeof c)continue;let P=(x=h.prevProp,"string"==typeof c?c!==x:!!Array.isArray(c)&&!s(c,x)),V=P||l===o&&h.isActive&&!A&&b||e>w&&b,T=!1,M=Array.isArray(c)?c:[c],k=M.reduce(m(l),{});!1===S&&(k={});let{prevResolvedValues:C={}}=h,F={...C,...k},E=e=>{V=!0,g.has(e)&&(T=!0,g.delete(e)),h.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in F){let e=k[t],r=C[t];if(!y.hasOwnProperty(t))((0,i.p)(e)&&(0,i.p)(r)?s(e,r):e===r)?void 0!==e&&g.has(t)?E(t):h.protectedKeys[t]=!0:null!=e?E(t):g.add(t)}h.prevProp=c,h.prevResolvedValues=k,h.isActive&&(y={...y,...k}),p&&t.blockInitialAnimation&&(V=!1);let O=!(A&&P)||T;V&&O&&v.push(...M.map(t=>({animation:t,options:{type:l}})))}if(g.size){let e={};g.forEach(r=>{let n=t.getBaseTarget(r),i=t.getValue(r);i&&(i.liveStyle=!0),e[r]=null!=n?n:null}),v.push({animation:e})}let b=!!v.length;return p&&(!1===u.initial||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(b=!1),p=!1,b?e(v):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){var i;if(r[e].isActive===n)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;let s=v(e);for(let t in r)r[t].protectedKeys={};return s},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=f(),p=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.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 g=0;class y extends m.X{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)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(){}}let w={animation:{Feature:v},exit:{Feature:y}}},45548:(t,e,r)=>{r.d(e,{B:()=>i});let n={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"]},i={};for(let t in n)i[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},99763:(t,e,r)=>{r.d(e,{n:()=>A});var n=r(55080),i=r(8251),s=r(54204),a=r(41916);function o(t,e,r){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&a.Gt.postRender(()=>i(e,(0,s.e)(e)))}class l extends n.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,i.PT)(t,t=>(o(this.node,t,"Start"),t=>o(this.node,t,"End"))))}unmount(){}}var u=r(26144),h=r(45065);class d extends n.X{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,h.F)((0,u.k)(this.node.current,"focus",()=>this.onFocus()),(0,u.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var c=r(58607);let p=(t,e)=>!!e&&(t===e||p(t,e.parentElement));var f=r(17758);function m(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,(0,s.e)(r))}class v extends n.X{constructor(){super(...arguments),this.removeStartListeners=f.l,this.removeEndListeners=f.l,this.removeAccessibleListeners=f.l,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),n=(0,c.h)(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps(),s=i||p(this.node.current,t.target)?r:n;s&&a.Gt.update(()=>s(t,e))},{passive:!(r.onTap||r.onPointerUp)}),i=(0,c.h)(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,h.F)(n,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=(0,u.k)(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,u.k)(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&m("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&a.Gt.postRender(()=>r(t,e))})}),m("down",(t,e)=>{this.startPress(t,e)}))}),e=(0,u.k)(this.node.current,"blur",()=>{this.isPressing&&m("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,h.F)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&a.Gt.postRender(()=>r(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,i.D3)()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&a.Gt.postRender(()=>r(t,e))}mount(){let t=this.node.getProps(),e=(0,c.h)(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=(0,u.k)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,h.F)(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let g=new WeakMap,y=new WeakMap,w=t=>{let e=g.get(t.target);e&&e(t)},x=t=>{t.forEach(w)},b={some:0,all:1};class S extends n.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:b[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;y.has(r)||y.set(r,{});let n=y.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(x,{root:t,...e})),n[i]}(e);return g.set(t,r),n.observe(t),()=>{g.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),s=e?r: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 r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let A={inView:{Feature:S},tap:{Feature:v},focus:{Feature:d},hover:{Feature:l}}},10814:(t,e,r)=>{r.d(e,{Y:()=>i});var n=r(45548);function i(t){for(let e in t)n.B[e]={...n.B[e],...t[e]}}},24929:(t,e,r)=>{r.d(e,{z:()=>s});var n=r(81875),i=r(17096);function s(t,{layout:e,layoutId:r}){return i.f.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!n.H[t]||"opacity"===t)}},49970:(t,e,r)=>{function n({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function i({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}r.d(e,{FY:()=>n,bS:()=>s,pA:()=>i})},72797:(t,e,r)=>{r.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>c,hq:()=>s,o4:()=>l});var n=r(69319),i=r(66600);function s(t,e,r){return r+e*(t-r)}function a(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function o(t,e=0,r=1,n,i){t.min=a(t.min,e,r,n,i),t.max=a(t.max,e,r,n,i)}function l(t,{x:e,y:r}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,r.translate,r.scale,r.originPoint)}function u(t,e,r,n=!1){let s,a;let o=r.length;if(o){e.x=e.y=1;for(let u=0;u<o;u++){a=(s=r[u]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&c(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),n&&(0,i.HD)(s.latestValues)&&c(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,r,i,s=.5){let a=(0,n.k)(t.min,t.max,s);o(t,e,r,a,i)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},36232:(t,e,r)=>{r.d(e,{ge:()=>a,xU:()=>i});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},81875:(t,e,r)=>{r.d(e,{$:()=>i,H:()=>n});let n={};function i(t){Object.assign(n,t)}},66600:(t,e,r)=>{function n(t){return void 0===t||1===t}function i({scale:t,scaleX:e,scaleY:r}){return!n(t)||!n(e)||!n(r)}function s(t){return i(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}r.d(e,{HD:()=>s,vF:()=>a,vk:()=>i})},11971:(t,e,r)=>{r.d(e,{L:()=>a,m:()=>s});var n=r(49970),i=r(72797);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,r){let n=s(t,r),{scroll:a}=e;return a&&((0,i.Ql)(n.x,a.offset.x),(0,i.Ql)(n.y,a.offset.y)),n}},18262:(t,e,r)=>{r.d(e,{C:()=>X});var n=r(34001),i=r(57749),s=r(58902);let a=(0,i.createContext)({});var o=r(51303),l=r(79024),u=r(31668),h=r(8534),d=r(29056),c=r(65393),p=r(95855),f=r(99051),m=r(21967);function v(t){return Array.isArray(t)?t.join(" "):t}var g=r(10814),y=r(97930),w=r(15883);let x=Symbol.for("motionComponentSymbol");var b=r(45548),S=r(15014),A=r(93527),P=r(27821),V=r(67418),T=r(63709),M=r(16335),k=r(86216);let C=t=>(e,r)=>{let n=(0,i.useContext)(a),s=(0,i.useContext)(o.t),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},n,i,s){let a={latestValues:function(t,e,r,n){let i={},s=n(t,{});for(let t in s)i[t]=(0,k.u)(s[t]);let{initial:a,animate:o}=t,l=(0,m.e)(t),u=(0,m.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!r&&!1===r.initial,d=(h=h||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!(0,V.N)(d)){let e=Array.isArray(d)?d:[d];for(let r=0;r<e.length;r++){let n=(0,T.a)(t,e[r]);if(n){let{transitionEnd:t,transition:e,...r}=n;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let e in t)i[e]=t[e]}}}return i}(n,i,s,t),renderState:e()};return r&&(a.mount=t=>r(n,t,a)),a})(t,e,n,s);return r?l():(0,M.M)(l)},F=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),E=()=>({...F(),attrs:{}});var O=r(67688),R=r(67753),I=r(41916);let j={useVisualState:C({scrapeMotionValuesFromProps:P.x,createRenderState:E,onMount:(t,e,{renderState:r,latestValues:n})=>{I.Gt.read(()=>{try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),I.Gt.render(()=>{(0,O.B)(r,n,(0,R.n)(e.tagName),t.transformTemplate),(0,A.d)(e,r)})}})},B={useVisualState:C({scrapeMotionValuesFromProps:r(52236).x,createRenderState:F})};var D=r(24929),$=r(50860),N=r(35004);function L(t,e,r){for(let n in e)(0,$.S)(e[n])||(0,D.z)(n,r)||(t[n]=e[n])}var W=r(54598);function X(t,e){return function(r,{forwardMotionProps:A}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:r,useRender:S,useVisualState:A,Component:P}=t;e&&(0,g.Y)(e);let V=(0,i.forwardRef)(function(t,e){var g;let x;let V={...(0,i.useContext)(s.Q),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,i.useContext)(w.L).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:T}=V,M=function(t){let{initial:e,animate:r}=function(t,e){if((0,m.e)(t)){let{initial:e,animate:r}=t;return{initial:!1===e||(0,f.w)(e)?e:void 0,animate:(0,f.w)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(a));return(0,i.useMemo)(()=>({initial:e,animate:r}),[v(e),v(r)])}(t),k=A(t,T);if(!T&&y.B){(0,i.useContext)(u.Y).strict;let t=function(t){let{drag:e,layout:r}=b.B;if(!e&&!r)return{};let n={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(V);x=t.MeasureLayout,M.visualElement=function(t,e,r,n,f){var m,v;let{visualElement:g}=(0,i.useContext)(a),y=(0,i.useContext)(u.Y),w=(0,i.useContext)(o.t),x=(0,i.useContext)(s.Q).reducedMotion,b=(0,i.useRef)(null);n=n||y.renderer,!b.current&&n&&(b.current=n(t,{visualState:e,parent:g,props:r,presenceContext:w,blockInitialAnimation:!!w&&!1===w.initial,reducedMotionConfig:x}));let S=b.current,A=(0,i.useContext)(p.N);S&&!S.projection&&f&&("html"===S.type||"svg"===S.type)&&function(t,e,r,n){let{layoutId:i,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u}=e;t.projection=new r(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:i,layout:s,alwaysMeasureLayout:!!a||o&&(0,c.X)(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(b.current,r,f,A);let P=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&P.current&&S.update(r,w)});let V=r[h.n],T=(0,i.useRef)(!!V&&!(null===(m=window.MotionHandoffIsComplete)||void 0===m?void 0:m.call(window,V))&&(null===(v=window.MotionHasOptimisedAnimation)||void 0===v?void 0:v.call(window,V)));return(0,l.E)(()=>{S&&(P.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),d.k.render(S.render),T.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!T.current&&S.animationState&&S.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,V)}),T.current=!1))}),S}(P,k,V,r,t.ProjectionNode)}return(0,n.jsxs)(a.Provider,{value:M,children:[x&&M.visualElement?(0,n.jsx)(x,{visualElement:M.visualElement,...V}):null,S(P,t,(g=M.visualElement,(0,i.useCallback)(t=>{t&&k.mount&&k.mount(t),g&&(t?g.mount(t):g.unmount()),e&&("function"==typeof e?e(t):(0,c.X)(e)&&(e.current=t))},[g])),k,T,M.visualElement)]})});return V[x]=P,V}({...(0,S.Q)(r)?j:B,preloadedFeatures:t,useRender:function(t=!1){return(e,r,n,{latestValues:s},a)=>{let o=((0,S.Q)(e)?function(t,e,r,n){let s=(0,i.useMemo)(()=>{let r=E();return(0,O.B)(r,e,(0,R.n)(n),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};L(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let r={},n=function(t,e){let r=t.style||{},n={};return L(n,r,t),Object.assign(n,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let r=F();return(0,N.O)(r,e,t),Object.assign({},r.vars,r.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(r.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)&&(r.tabIndex=0),r.style=n,r})(r,s,a,e),l=(0,W.J)(r,"string"==typeof e,t),u=e!==i.Fragment?{...l,...o,ref:n}:{},{children:h}=r,d=(0,i.useMemo)(()=>(0,$.S)(h)?h.get():h,[h]);return(0,i.createElement)(e,{...u,children:d})}}(A),createVisualElement:e,Component:r})}}},6842:(t,e,r)=>{r.d(e,{I:()=>n});function n(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(r,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}},12182:(t,e,r)=>{r.d(e,{K:()=>f});var n=r(32646),i=r(28363),s=r(46908),a=r(11322);let o=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=r(28942),u=r(50949),h=r(74569),d=r(74640),c=r(76022);let p=new Set(["auto","none","0"]);class f extends h.h{constructor(t,e,r,n,i){super(t,e,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let n=t[r];if("string"==typeof n&&(n=n.trim(),(0,a.p)(n))){let l=function t(e,r,n=1){(0,i.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[l,u]=function(t){let e=o.exec(t);if(!e)return[,];let[,r,n,i]=e;return[`--${null!=r?r:n}`,i]}(e);if(!l)return;let h=window.getComputedStyle(r).getPropertyValue(l);if(h){let t=h.trim();return(0,s.i)(t)?parseFloat(t):t}return(0,a.p)(u)?t(u,r,n+1):u}(n,e.current);void 0!==l&&(t[r]=l),r===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!l.$y.has(r)||2!==t.length)return;let[n,h]=t,d=(0,u.n)(n),c=(0,u.n)(h);if(d!==c){if((0,l.E4)(d)&&(0,l.E4)(c))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var i;("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||(0,n.$)(i))&&r.push(e)}r.length&&function(t,e,r){let n,i=0;for(;i<t.length&&!n;){let e=t[i];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(n=t[i]),i++}if(n&&r)for(let i of e)t[i]=(0,c.J)(r,n)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l.Hr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(r,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:r,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let i=e.getValue(r);i&&i.jump(this.measuredOrigin,!1);let s=n.length-1,a=n[s];n[s]=l.Hr[r](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}},98131:(t,e,r)=>{r.d(e,{J:()=>G});var n=r(57749),i=r(35004),s=r(11322),a=r(17096),o=r(52236),l=r(79578),u=r(38227),h=r(11971),d=r(97930);let c={current:null},p={current:!1};var f=r(4292),m=r(48573),v=r(50860),g=r(21967),y=r(63709),w=r(45548);let x=new WeakMap;var b=r(74569),S=r(46908),A=r(32646),P=r(74879),V=r(74640),T=r(50949),M=r(71473);let k=[...T.T,P.y,V.f],C=t=>k.find((0,M.w)(t));var F=r(76022),E=r(36232),O=r(1130),R=r(41916);let I=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class j{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=b.h,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=O.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,R.Gt.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=s;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,g.e)(e),this.isVariantNode=(0,g.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==o[t]&&(0,v.S)(e)&&e.set(o[t],!1)}}mount(t){this.current=t,x.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.forEach((t,e)=>this.bindToMotionValue(e,t)),p.current||function(){if(p.current=!0,d.B){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>c.current=t.matches;t.addListener(e),e()}else c.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||c.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in x.delete(this.current),this.projection&&this.projection.unmount(),(0,R.WG)(this.notifyUpdate),(0,R.WG)(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 r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=a.f.has(t),i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&R.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),s(),r&&r(),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 w.B){let e=w.B[t];if(!e)continue;let{isEnabled:r,Feature:n}=e;if(!this.features[t]&&n&&r(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):(0,E.ge)()}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<I.length;e++){let r=I[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){for(let n in e){let i=e[n],s=r[n];if((0,v.S)(i))t.addValue(n,i);else if((0,v.S)(s))t.addValue(n,(0,m.OQ)(i,{owner:t}));else if(s!==i){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(i):e.hasAnimated||e.set(i)}else{let e=t.getStaticValue(n);t.addValue(n,(0,m.OQ)(void 0!==e?e:i,{owner:t}))}}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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 r=this.values.get(t);e!==r&&(r&&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 r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,m.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){var r;let n=void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&((0,S.i)(n)||(0,A.$)(n))?n=parseFloat(n):!C(n)&&V.f.test(e)&&(n=(0,F.J)(t,e)),this.setBaseTarget(t,(0,v.S)(n)?n.get():n)),(0,v.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let r;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=(0,y.a)(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);i&&(r=i[t])}if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,v.S)(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new f.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}var B=r(12182);class D extends j{constructor(){super(...arguments),this.KeyframeResolver=B.K}sortInstanceNodePosition(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:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class $ extends D{constructor(){super(...arguments),this.type="html",this.renderInstance=l.e}readValueFromInstance(t,e){if(a.f.has(e)){let t=(0,u.D)(e);return t&&t.default||0}{let r=window.getComputedStyle(t),n=((0,s.j)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,h.m)(t,e)}build(t,e,r){(0,i.O)(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return(0,o.x)(t,e,r)}}var N=r(27821),L=r(67688),W=r(85720),X=r(76895),K=r(93527),q=r(67753);class U extends D{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=E.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.f.has(e)){let t=(0,u.D)(e);return t&&t.default||0}return e=X.e.has(e)?e:(0,W.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return(0,N.x)(t,e,r)}build(t,e,r){(0,L.B)(t,e,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,r,n){(0,K.d)(t,e,r,n)}mount(t){this.isSVGTag=(0,q.n)(t.tagName),super.mount(t)}}var Y=r(15014);let G=(t,e)=>(0,Y.Q)(t)?new U(e):new $(e,{allowProjection:t!==n.Fragment})},34065:(t,e,r)=>{r.d(e,{J:()=>n});let n=(0,r(12875).p)(()=>void 0!==window.ScrollTimeline)},85720:(t,e,r)=>{r.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},54598:(t,e,r)=>{r.d(e,{J:()=>o,D:()=>a});let n=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 i(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n.has(t)}let s=t=>!i(t);function a(t){t&&(s=e=>e.startsWith("on")?!i(e):t(e))}try{a(require("@emotion/is-prop-valid").default)}catch(t){}function o(t,e,r){let n={};for(let a in t)("values"!==a||"object"!=typeof t.values)&&(s(a)||!0===r&&i(a)||!e&&!i(a)||t.draggable&&a.startsWith("onDrag"))&&(n[a]=t[a]);return n}},11322:(t,e,r)=>{r.d(e,{j:()=>i,p:()=>a});let n=t=>e=>"string"==typeof e&&e.startsWith(t),i=n("--"),s=n("var(--"),a=t=>!!s(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},15014:(t,e,r)=>{r.d(e,{Q:()=>i});let n=["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 i(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},28942:(t,e,r)=>{r.d(e,{$y:()=>a,E4:()=>o,Hr:()=>p,W9:()=>c});var n=r(17096),i=r(9384),s=r(76801);let a=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),o=t=>t===i.ai||t===s.px,l=(t,e)=>parseFloat(t.split(", ")[e]),u=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return l(i[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?l(e[1],t):0}},h=new Set(["x","y","z"]),d=n.U.filter(t=>!h.has(t));function c(t){let e=[];return d.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),e}let p={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),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:u(4,13),y:u(5,14)};p.translateX=p.x,p.translateY=p.y},76022:(t,e,r)=>{r.d(e,{J:()=>a});var n=r(74640),i=r(11618),s=r(38227);function a(t,e){let r=(0,s.D)(t);return r!==i.p&&(r=n.f),r.getAnimatableNone?r.getAnimatableNone(e):void 0}},38227:(t,e,r)=>{r.d(e,{D:()=>a});var n=r(74879),i=r(11618);let s={...r(78123).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:i.p,WebkitFilter:i.p},a=t=>s[t]},50949:(t,e,r)=>{r.d(e,{T:()=>a,n:()=>o});var n=r(9384),i=r(76801),s=r(71473);let a=[n.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},78123:(t,e,r)=>{r.d(e,{W:()=>l});var n=r(9384),i=r(76801);let s={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,backgroundPositionX:i.px,backgroundPositionY:i.px},a={rotate:i.uj,rotateX:i.uj,rotateY:i.uj,rotateZ:i.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:i.uj,skewX:i.uj,skewY:i.uj,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:n.X4,originX:i.gQ,originY:i.gQ,originZ:i.px},o={...n.ai,transform:Math.round},l={...s,...a,zIndex:o,size:i.px,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:o}},71473:(t,e,r)=>{r.d(e,{w:()=>n});let n=t=>e=>e.test(t)},35004:(t,e,r)=>{r.d(e,{O:()=>u});var n=r(17096);let i=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var s=r(78123);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=n.U.length;var l=r(11322);function u(t,e,r){let{style:u,vars:h,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let r=e[t];if(n.f.has(t)){c=!0;continue}if((0,l.j)(t)){h[t]=r;continue}{let e=i(r,s.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):u[t]=e}}if(!e.transform&&(c||r?u.transform=function(t,e,r){let l="",u=!0;for(let h=0;h<o;h++){let o=n.U[h],d=t[o];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===(o.startsWith("scale")?1:0):0===parseFloat(d))||r){let t=i(d,s.W[o]);if(!c){u=!1;let e=a[o]||o;l+=`${e}(${t}) `}r&&(e[o]=t)}}return l=l.trim(),r?l=r(e,u?"":l):u&&(l="none"),l}(e,t.transform,r):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:r=0}=d;u.transformOrigin=`${t} ${e} ${r}`}}},79578:(t,e,r)=>{r.d(e,{e:()=>n});function n(t,{style:e,vars:r},n,i){for(let s in Object.assign(t.style,e,i&&i.getProjectionStyles(n)),r)t.style.setProperty(s,r[s])}},52236:(t,e,r)=>{r.d(e,{x:()=>s});var n=r(24929),i=r(50860);function s(t,e,r){var s;let{style:a}=t,o={};for(let l in a)((0,i.S)(a[l])||e.style&&(0,i.S)(e.style[l])||(0,n.z)(l,t)||(null===(s=null==r?void 0:r.getValue(l))||void 0===s?void 0:s.liveStyle)!==void 0)&&(o[l]=a[l]);return o}},17096:(t,e,r)=>{r.d(e,{U:()=>n,f:()=>i});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(n)},67688:(t,e,r)=>{r.d(e,{B:()=>l});var n=r(35004),i=r(76801);function s(t,e,r){return"string"==typeof t?t:i.px.transform(e+r*t)}let a={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function l(t,{attrX:e,attrY:r,attrScale:l,originX:u,originY:h,pathLength:d,pathSpacing:c=1,pathOffset:p=0,...f},m,v){if((0,n.O)(t,f,v),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:y,dimensions:w}=t;g.transform&&(w&&(y.transform=g.transform),delete g.transform),w&&(void 0!==u||void 0!==h||y.transform)&&(y.transformOrigin=function(t,e,r){let n=s(e,t.x,t.width),i=s(r,t.y,t.height);return`${n} ${i}`}(w,void 0!==u?u:.5,void 0!==h?h:.5)),void 0!==e&&(g.x=e),void 0!==r&&(g.y=r),void 0!==l&&(g.scale=l),void 0!==d&&function(t,e,r=1,n=0,s=!0){t.pathLength=1;let l=s?a:o;t[l.offset]=i.px.transform(-n);let u=i.px.transform(e),h=i.px.transform(r);t[l.array]=`${u} ${h}`}(g,d,c,p,!1)}},76895:(t,e,r)=>{r.d(e,{e:()=>n});let n=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"])},67753:(t,e,r)=>{r.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},93527:(t,e,r)=>{r.d(e,{d:()=>a});var n=r(85720),i=r(79578),s=r(76895);function a(t,e,r,a){for(let r in(0,i.e)(t,e,void 0,a),e.attrs)t.setAttribute(s.e.has(r)?r:(0,n.I)(r),e.attrs[r])}},27821:(t,e,r)=>{r.d(e,{x:()=>a});var n=r(50860),i=r(52236),s=r(17096);function a(t,e,r){let a=(0,i.x)(t,e,r);for(let r in t)((0,n.S)(t[r])||(0,n.S)(e[r]))&&(a[-1!==s.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return a}},74569:(t,e,r)=>{r.d(e,{h:()=>d,q:()=>h});var n=r(28942),i=r(41916);let s=new Set,a=!1,o=!1;function l(){if(o){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,s.forEach(t=>t.complete()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function h(){u(),l()}class d{constructor(t,e,r,n,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=n,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),a||(a=!0,i.Gt.read(u),i.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:n}=this;for(let i=0;i<t.length;i++)if(null===t[i]){if(0===i){let i=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==i)t[0]=i;else if(r&&e){let n=r.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===i&&n.set(t[0])}else t[i]=t[i-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()}}},21967:(t,e,r)=>{r.d(e,{O:()=>o,e:()=>a});var n=r(67418),i=r(99051),s=r(53394);function a(t){return(0,n.N)(t.animate)||s._.some(e=>(0,i.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},99051:(t,e,r)=>{r.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},35553:(t,e,r)=>{r.d(e,{K:()=>i});var n=r(63709);function i(t,e,r){let i=t.getProps();return(0,n.a)(i,e,void 0!==r?r:i.custom,t)}},63709:(t,e,r)=>{function n(t,e,r,n){if("function"==typeof e||("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e)){let[i,s]=function(t){let e=[{},{}];return null==t||t.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}(n);e=e(void 0!==r?r:t.custom,i,s)}return e}r.d(e,{a:()=>n})},10336:(t,e,r)=>{r.d(e,{U:()=>a});var n=r(71261),i=r(48573),s=r(35553);function a(t,e){let{transitionEnd:r={},transition:a={},...o}=(0,s.K)(t,e)||{};for(let e in o={...o,...r}){let r=(0,n.K)(o[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,i.OQ)(r))}}},53394:(t,e,r)=>{r.d(e,{U:()=>n,_:()=>i});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...n]},65190:(t,e,r)=>{r.d(e,{W:()=>n});let n={skipAnimations:!1,useManualTiming:!1}},70578:(t,e,r)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{Ai:()=>i,Kq:()=>n})},36128:(t,e,r)=>{r.d(e,{q:()=>n});let n=(t,e,r)=>r>e?e:r<t?t:r},52912:(t,e,r)=>{r.d(e,{G:()=>u});var n=r(36128),i=r(45065),s=r(44036),a=r(17758),o=r(28363),l=r(73924);function u(t,e,{clamp:r=!0,ease:h,mixer:d}={}){let c=t.length;if((0,o.V)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&t[0]===t[1])return()=>e[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,r){let n=[],s=r||l.j,o=t.length-1;for(let r=0;r<o;r++){let o=s(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||a.l:e;o=(0,i.F)(t,o)}n.push(o)}return n}(e,h,d),f=p.length,m=e=>{let r=0;if(f>1)for(;r<t.length-2&&!(e<t[r+1]);r++);let n=(0,s.q)(t[r],t[r+1],e);return p[r](n)};return r?e=>m((0,n.q)(t[0],t[c-1],e)):m}},97930:(t,e,r)=>{r.d(e,{B:()=>n});let n="undefined"!=typeof window},46908:(t,e,r)=>{r.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},65393:(t,e,r)=>{r.d(e,{X:()=>n});function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},32646:(t,e,r)=>{r.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},12875:(t,e,r)=>{r.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},73924:(t,e,r)=>{r.d(e,{j:()=>V});var n=r(69319),i=r(28363);function s(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var a=r(58132),o=r(77897),l=r(85245);function u(t,e){return r=>r>0?e:t}let h=(t,e,r)=>{let n=t*t,i=r*(e*e-n)+n;return i<0?0:Math.sqrt(i)},d=[a.u,o.B,l.V],c=t=>d.find(e=>e.test(t));function p(t){let e=c(t);if((0,i.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===l.V&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,a=0,o=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,l=2*r-n;i=s(l,n,t+1/3),a=s(l,n,t),o=s(l,n,t-1/3)}else i=a=o=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}(r)),r}let f=(t,e)=>{let r=p(t),i=p(e);if(!r||!i)return u(t,e);let s={...r};return t=>(s.red=h(r.red,i.red,t),s.green=h(r.green,i.green,t),s.blue=h(r.blue,i.blue,t),s.alpha=(0,n.k)(r.alpha,i.alpha,t),o.B.transform(s))};var m=r(45065),v=r(74879),g=r(74640),y=r(11322);let w=new Set(["none","hidden"]);function x(t,e){return r=>(0,n.k)(t,e,r)}function b(t){return"number"==typeof t?x:"string"==typeof t?(0,y.p)(t)?u:v.y.test(t)?f:P:Array.isArray(t)?S:"object"==typeof t?v.y.test(t)?f:A:u}function S(t,e){let r=[...t],n=r.length,i=t.map((t,r)=>b(t)(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}}function A(t,e){let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=b(t[i])(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}}let P=(t,e)=>{let r=g.f.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?w.has(t)&&!s.values.length||w.has(e)&&!n.values.length?function(t,e){return w.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}(t,e):(0,m.F)(S(function(t,e){var r;let n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let a=e.types[s],o=t.indexes[a][i[a]],l=null!==(r=t.values[o])&&void 0!==r?r:0;n[s]=l,i[a]++}return n}(n,s),s.values),r):((0,i.$)(!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 V(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?(0,n.k)(t,e,r):b(t)(t,e)}},69319:(t,e,r)=>{r.d(e,{k:()=>n});let n=(t,e,r)=>t+(e-t)*r},63209:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(69319),i=r(44036);function s(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,i.q)(0,e,s);t.push((0,n.k)(r,1,a))}}(e,t.length-1),e}},45065:(t,e,r)=>{r.d(e,{F:()=>i});let n=(t,e)=>r=>e(t(r)),i=(...t)=>t.reduce(n)},44036:(t,e,r)=>{r.d(e,{q:()=>n});let n=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n}},71261:(t,e,r)=>{r.d(e,{B:()=>i,K:()=>s});var n=r(86744);let i=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,n.p)(t)?t[t.length-1]||0:t},4292:(t,e,r)=>{r.d(e,{v:()=>i});var n=r(70578);class i{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86437:(t,e,r)=>{r.d(e,{X:()=>i,f:()=>n});let n=t=>1e3*t,i=t=>t/1e3},16335:(t,e,r)=>{r.d(e,{M:()=>i});var n=r(57749);function i(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},79024:(t,e,r)=>{r.d(e,{E:()=>i});var n=r(57749);let i=r(97930).B?n.useLayoutEffect:n.useEffect},48121:(t,e,r)=>{r.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},48573:(t,e,r)=>{r.d(e,{OQ:()=>h,bt:()=>l});var n=r(4292),i=r(48121),s=r(1130),a=r(41916);let o=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.13.5",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=s.k.now();this.updatedAt!==r&&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=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=o(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 n.v);let r=this.events[t].add(e);return"change"===t?()=>{r(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}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=s.k.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,i.f)(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)}},58132:(t,e,r)=>{r.d(e,{u:()=>i});var n=r(77897);let i={test:(0,r(128).$)("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:n.B.transform}},85245:(t,e,r)=>{r.d(e,{V:()=>o});var n=r(9384),i=r(76801),s=r(26912),a=r(128);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:a=1})=>"hsla("+Math.round(t)+", "+i.KN.transform((0,s.a)(e))+", "+i.KN.transform((0,s.a)(r))+", "+(0,s.a)(n.X4.transform(a))+")"}},74879:(t,e,r)=>{r.d(e,{y:()=>a});var n=r(58132),i=r(85245),s=r(77897);let a={test:t=>s.B.test(t)||n.u.test(t)||i.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):i.V.test(t)?i.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):i.V.transform(t)}},77897:(t,e,r)=>{r.d(e,{B:()=>u});var n=r(36128),i=r(9384),s=r(26912),a=r(128);let o=t=>(0,n.q)(0,255,t),l={...i.ai,transform:t=>Math.round(o(t))},u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,s.a)(i.X4.transform(n))+")"}},128:(t,e,r)=>{r.d(e,{$:()=>s,q:()=>a});var n=r(24629);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>r=>!!("string"==typeof r&&i.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),a=(t,e,r)=>i=>{if("string"!=typeof i)return i;let[s,a,o,l]=i.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[r]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},11618:(t,e,r)=>{r.d(e,{p:()=>l});var n=r(74640),i=r(24629);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(i.S)||[];if(!n)return t;let a=r.replace(n,""),o=s.has(e)?1:0;return n!==r&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},74640:(t,e,r)=>{r.d(e,{V:()=>h,f:()=>f});var n=r(74879);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=r(24629),a=r(26912);let o="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(),r=[],i={color:[],number:[],var:[]},s=[],a=0,h=e.replace(u,t=>(n.y.test(t)?(i.color.push(a),s.push(l),r.push(n.y.parse(t))):t.startsWith("var(")?(i.var.push(a),s.push("var"),r.push(t)):(i.number.push(a),s.push(o),r.push(parseFloat(t))),++a,"${}")).split("${}");return{values:r,split:h,indexes:i,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:r}=h(t),i=e.length;return t=>{let s="";for(let u=0;u<i;u++)if(s+=e[u],void 0!==t[u]){let e=r[u];e===o?s+=(0,a.a)(t[u]):e===l?s+=n.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:t,f={test:function(t){var e,r;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.S))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(i))||void 0===r?void 0:r.length)||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},9384:(t,e,r)=>{r.d(e,{X4:()=>s,ai:()=>i,hs:()=>a});var n=r(36128);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,n.q)(0,1,t)},a={...i,default:1}},76801:(t,e,r)=>{r.d(e,{KN:()=>s,gQ:()=>u,px:()=>a,uj:()=>i,vh:()=>o,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=n("deg"),s=n("%"),a=n("px"),o=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},24629:(t,e,r)=>{r.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},26912:(t,e,r)=>{r.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},80552:(t,e,r)=>{r.d(e,{g:()=>i});var n=r(50860);function i(t,e){let r=t.getValue("willChange");if((0,n.S)(r)&&r.add)return r.add(e)}},50860:(t,e,r)=>{r.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},86216:(t,e,r)=>{r.d(e,{u:()=>s});var n=r(71261),i=r(50860);function s(t){let e=(0,i.S)(t)?t.get():t;return(0,n.B)(e)?e.toValue():e}},8251:(t,e,r)=>{function n(t,e,r){var n;if(t instanceof Element)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);let s=null!==(n=null==r?void 0:r[t])&&void 0!==n?n:i.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}r.d(e,{PT:()=>o,D3:()=>s,KJ:()=>n,Wp:()=>l});let i={x:!1,y:!1};function s(){return i.x||i.y}function a(t){return e=>{"touch"===e.pointerType||s()||t(e)}}function o(t,e,r={}){let i=new AbortController,s={passive:!0,...r,signal:i.signal},l=a(t=>{let{target:r}=t,n=e(t);if(!n||!r)return;let i=a(t=>{n(t),r.removeEventListener("pointerleave",i)});r.addEventListener("pointerleave",i,s)});return n(t).forEach(t=>{t.addEventListener("pointerenter",l,s)}),()=>i.abort()}function l(t){return"x"===t||"y"===t?i[t]?null:(i[t]=!0,()=>{i[t]=!1}):i.x||i.y?null:(i.x=i.y=!0,()=>{i.x=i.y=!1})}},28363:(t,e,r)=>{r.d(e,{$:()=>i,V:()=>s});var n=r(17758);let i=n.l,s=n.l},17758:(t,e,r)=>{r.d(e,{l:()=>n});let n=t=>t}}]);
|