1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9975],{1411:(t,e,i)=>{i.d(e,{h:()=>r});var n=i(9500),s=i(2168);function r(t,e,i,r){return(0,n.k)(t,e,(0,s.F)(i),r)}},1674:(t,e,i)=>{i.d(e,{f:()=>tp});var n=i(6295),s=i(655),r=i(3125),o=i(6384),a=i(4370),l=i(8280),h=i(8817),u=i(7282),d=i(787),c=i(6648),m=i(8403);let p=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function v(t,e,i,n){return t===e&&i===n?h.l:s=>0===s||1===s?s:p(function(t,e,i,n,s){let r,o,a=0;do(r=p(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12);return o}(s,0,1,t,i),e,n)}var f=i(2157),g=i(7071);let y=v(.33,1.53,.69,.99),P=(0,g.G)(y),x=(0,f.V)(P),M=t=>(t*=2)<1?.5*P(t):.5*(2-Math.pow(2,-10*(t-1)));var A=i(6216),w=i(5589),T=i(8478),k=i(8373),S=i(972),D=i(7798);let E=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(D.f.test(t)||"0"===t)&&!t.startsWith("url(")),b=t=>null!==t;function C(t,e,i){let{repeat:n,repeatType:s="loop"}=e,r=t.filter(b),o=n&&"loop"!==s&&n%2==1?0:r.length-1;return o&&void 0!==i?i:r[o]}class L{calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,k.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=T.k.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:s,delay:r,onComplete:o,onUpdate:a,isGenerator:h}=this.options;if(!h&&!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=E(s,e),a=E(r,e);return(0,S.$)(o===a,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(r,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(r," via the `style` property.")),!!o&&!!a&&(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,u.W)(i))&&n)}(t,i,n,s))if(l.d.current||!r){a&&a(C(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let d=this.initPlayback(t,e);!1!==d&&(this._resolved={keyframes:t,finalKeyframe:e,...d},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})}constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=T.k.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,...o},this.updateFinishedPromise()}}var F=i(1060),R=i(1156),X=i(7968),V=i(1229),G=i(4131),I=i(9485);function W(t,e,i){let n=Math.max(e-5,0);return(0,I.f)(i-t(n),e-n)}let O={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 q(t,e){return t*Math.sqrt(1-e*e)}let _=["duration","bounce"],j=["stiffness","damping","mass"];function H(t,e){return e.some(e=>void 0!==t[e])}function U(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.visualDuration,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.bounce,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:i}:e,{restSpeed:s,restDelta:o}=n,a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],h={done:!1,value:a},{stiffness:u,damping:d,mass:c,duration:m,velocity:p,isResolvedFromDuration:v}=function(t){let e={velocity:O.velocity,stiffness:O.stiffness,damping:O.damping,mass:O.mass,isResolvedFromDuration:!1,...t};if(!H(t,j)&&H(t,_))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,R.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:O.mass,stiffness:n,damping:s}}else{let i=function(t){let e,i,{duration:n=O.duration,bounce:s=O.bounce,velocity:o=O.velocity,mass:a=O.mass}=t;(0,S.$)(n<=(0,r.f)(O.maxDuration),"Spring duration must be 10 seconds or less");let l=1-s;l=(0,R.q)(O.minDamping,O.maxDamping,l),n=(0,R.q)(O.minDuration,O.maxDuration,(0,r.X)(n)),l<1?(e=t=>{let e=t*l,i=e*n;return .001-(e-o)/q(t,l)*Math.exp(-i)},i=t=>{let i=t*l*n,s=Math.pow(l,2)*Math.pow(t,2)*n,r=Math.exp(-i),a=q(Math.pow(t,2),l);return(i*o+o-s)*r*(-e(t)+.001>0?-1:1)/a}):(e=t=>-.001+Math.exp(-t*n)*((t-o)*n+1),i=t=>n*n*(o-t)*Math.exp(-t*n));
1let h=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(e,i,5/n);if(n=(0,r.f)(n),isNaN(h))return{stiffness:O.stiffness,damping:O.damping,duration:n};{let t=Math.pow(h,2)*a;return{stiffness:t,damping:2*l*Math.sqrt(a*t),duration:n}}}(t);(e={...e,...i,mass:O.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-(0,r.X)(n.velocity||0)}),f=p||0,g=d/(2*Math.sqrt(u*c)),y=l-a,P=(0,r.X)(Math.sqrt(u/c)),x=5>Math.abs(y);if(s||(s=x?O.restSpeed.granular:O.restSpeed.default),o||(o=x?O.restDelta.granular:O.restDelta.default),g<1){let e=q(P,g);t=t=>l-Math.exp(-g*P*t)*((f+g*P*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)t=t=>l-Math.exp(-P*t)*(y+(f+P*y)*t);else{let e=P*Math.sqrt(g*g-1);t=t=>{let i=Math.exp(-g*P*t),n=Math.min(e*t,300);return l-i*((f+g*P*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}let M={calculatedDuration:v&&m||null,next:e=>{let i=t(e);if(v)h.done=e>=m;else{let n=0;g<1&&(n=0===e?(0,r.f)(f):W(t,e,i));let a=Math.abs(l-i)<=o;h.done=Math.abs(n)<=s&&a}return h.value=h.done?l:i,h},toString:()=>{let t=Math.min((0,F.t)(M),F.Y),e=(0,G.K)(e=>M.next(t*e).value,t,30);return t+"ms "+e}};return M}function K(t){let e,i,{keyframes:n,velocity:s=0,power:r=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:h,min:u,max:d,restDelta:c=.5,restSpeed:m}=t,p=n[0],v={done:!1,value:p},f=r*s,g=p+f,y=void 0===h?g:h(g);y!==g&&(f=y-p);let P=t=>-f*Math.exp(-t/o),x=t=>y+P(t),M=t=>{let e=P(t),i=x(t);v.done=Math.abs(e)<=c,v.value=v.done?y:i},A=t=>{let n;if(n=v.value,void 0!==u&&n<u||void 0!==d&&n>d){var s;e=t,i=U({keyframes:[v.value,(s=v.value,void 0===u?d:void 0===d||Math.abs(u-s)<Math.abs(d-s)?u:d)],velocity:W(x,t,v.value),damping:a,stiffness:l,restDelta:c,restSpeed:m})}};return A(0),{calculatedDuration:null,next:t=>{let n=!1;return(i||void 0!==e||(n=!0,M(t),A(t)),void 0!==e&&t>=e)?i.next(t-e):(n||M(t),v)}}}let B=v(.42,0,1,1),Q=v(0,0,.58,1),N=v(.42,0,.58,1);var z=i(8580);let Y={linear:h.l,easeIn:B,easeInOut:N,easeOut:Q,circIn:A.po,circInOut:A.tn,circOut:A.yT,backIn:P,backInOut:x,backOut:y,anticipate:M},$=t=>{if((0,z.D)(t)){(0,S.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,s]=t;return v(e,i,n,s)}return"string"==typeof t?((0,S.V)(void 0!==Y[t],"Invalid easing type '".concat(t,"'")),Y[t]):t};var Z=i(8780),J=i(754),tt=i(3389);function te(t){let{duration:e=300,keyframes:i,times:n,ease:s="easeInOut"}=t,r=Array.isArray(s)&&"number"!=typeof s[0]?s.map($):$(s),o={done:!1,value:i[0]},a=(0,tt.A)(n&&n.length===i.length?n:(0,J.Z)(i),e),l=(0,Z.G)(a,i,{ease:Array.isArray(r)?r:i.map(()=>r||N).splice(0,i.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let ti=t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:()=>o.Gt.update(e,!0),stop:()=>(0,o.WG)(e),now:()=>o.uv.isProcessing?o.uv.timestamp:T.k.now()}},tn={decay:K,inertia:K,tween:te,keyframes:te,spring:U},ts=t=>t/100;class tr extends L{flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:n="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,l=(0,u.W)(n)?n:tn[n]||te;l!==te&&"number"!=typeof t[0]&&(e=(0,V.F)(ts,(0,X.j)(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,F.t)(h));let{calculatedDuration:d}=h,c=d+r;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:d,resolvedDuration:c,totalDuration:c*(s+1)-r}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:s,mirroredGenerator:r,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=i;if(null===this.startTime)return s.next(0);let{delay:d,repeat:c,repeatType:m,repeatDelay:p,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 f=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?f<0:f>h;this.currentTime=Math.max(f,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let y=this.currentTime,P=s;if(c){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/u)):"mirror"===m&&(P=r)),y=(0,R.q)(0,1,i)*u}let x=g?{done:!1,value:a[0]}:P.next(y);o&&(x.value=o(x.value));let{done:M}=x;g||null===l||(M=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&M);return A&&void 0!==n&&(x.value=C(a,this.options,n)),v&&v(x.value),A&&this.finish(),x}
1get 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.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,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=ti,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.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)?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)}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:s}=this.options,r=(null==n?void 0:n.KeyframeResolver)||k.h,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new r(s,o,e,i,n),this.resolver.scheduleResolve()}}let to=new Set(["opacity","clipPath","filter","transform"]),ta=(0,i(651).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tl={anticipate:M,backInOut:x,circInOut:A.tn};class th extends L{initPlayback(t,e){var i;let{duration:n=300,times:s,ease:r,type:o,motionValue:a,name:l,startTime:h}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof r&&(0,m.n)()&&r in tl&&(r=tl[r]),i=this.options,(0,u.W)(i.type)||"spring"===i.type||!(0,c.yL)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...h}=this.options,u=function(t,e){let i=new tr({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},s=[],r=0;for(;!n.done&&r<2e4;)s.push((n=i.sample(r)).value),r+=10;return{times:void 0,keyframes:s,duration:r-10,ease:"linear"}}(t,h);1===(t=u.keyframes).length&&(t[1]=t[0]),n=u.duration,s=u.times,r=u.ease,o="keyframes"}let p=function(t,e,i){let{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeInOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},h={[e]:i};l&&(h.offset=l);let u=(0,c.TU)(a,s);return Array.isArray(u)&&(h.easing=u),t.animate(h,{delay:n,duration:s,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:s,ease:r});return p.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?((0,d.v)(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:i}=this.options;a.set(C(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:n,times:s,type:o,ease:r,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,r.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,r.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,r.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: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 h.l;let{animation:i}=e;(0,d.v)(i,t)}else this.pendingTimeline=t;return h.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
1"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:s,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:h,...u}=this.options,d=new tr({...u,keyframes:i,duration:n,type:s,ease:o,times:a,isGenerator:!0}),c=(0,r.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:i,repeatDelay:n,repeatType:s,damping:r,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ta()&&i&&to.has(i)&&!a&&!l&&!n&&"mirror"!==s&&0!==r&&"inertia"!==o}constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:s}=this.options;this.resolver=new w.K(s,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}}var tu=i(9445);let td={type:"spring",stiffness:500,damping:25,restSpeed:10},tc={type:"keyframes",duration:.8},tm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tp=function(t,e,i){let h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4?arguments[4]:void 0,d=arguments.length>5?arguments[5]:void 0;return c=>{let m=(0,s.r)(h,t)||{},p=m.delay||h.delay||0,{elapsed:v=0}=h;v-=(0,r.f)(p);let f={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...m,delay:-v,onUpdate:t=>{e.set(t),m.onUpdate&&m.onUpdate(t)},onComplete:()=>{c(),m.onComplete&&m.onComplete()},name:t,motionValue:e,element:d?void 0:u};!function(t){let{when:e,delay:i,delayChildren:n,staggerChildren:s,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:l,from:h,elapsed:u,...d}=t;return!!Object.keys(d).length}(m)&&(f={...f,...((t,e)=>{let{keyframes:i}=e;return i.length>2?tc:tu.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:td:tm})(t,f)}),f.duration&&(f.duration=(0,r.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,r.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let g=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(f.duration=0,0===f.delay&&(g=!0)),(l.d.current||a.W.skipAnimations)&&(g=!0,f.duration=0,f.delay=0),g&&!d&&void 0!==e.get()){let t=C(f.keyframes,m);if(void 0!==t)return o.Gt.update(()=>{f.onUpdate(t),f.onComplete()}),new n.P([])}return!d&&th.supports(f)?new th(f):new tr(f)}}},1710:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},2007:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(2115).createContext)({})},2157:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},2168:(t,e,i)=>{i.d(e,{F:()=>r,e:()=>s});var n=i(9858);function s(t){return{point:{x:t.pageX,y:t.pageY}}}let r=t=>e=>(0,n.M)(e)&&t(e,s(e))},2332:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},3396:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n,cancel:s}=(0,i(9640).I)(queueMicrotask,!1)},3924:(t,e,i)=>{i.d(e,{xQ:()=>r});var n=i(2115),s=i(4275);function r(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(s.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{t&&o(a)},[t]);let l=(0,n.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!i&&r?[!1,l]:[!0]}},4006:(t,e,i)=>{i.d(e,{_:()=>p});var n=i(8149),s=i(655),r=i(2884),o=i(8708),a=i(3407),l=i(7556),h=i(1674),u=i(6384);function d(t,e){var i;let{delay:n=0,transitionOverride:d,type:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:m=t.getDefaultTransition(),transitionEnd:p,...v}=e;d&&(m=d);let f=[],g=c&&t.animationState&&t.animationState.getState()[c];for(let e in v){let o=t.getValue(e,null!=(i=t.latestValues[e])?i:null),d=v[e];
1if(void 0===d||g&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,s=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,s}(g,e))continue;let c={delay:n,...(0,s.r)(m||{},e)},p=!1;if(window.MotionHandoffAnimation){let i=(0,l.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,u.Gt);null!==t&&(c.startTime=t,p=!0)}}(0,a.g)(t,e),o.start((0,h.f)(e,o,d,t.shouldReduceMotion&&r.$.has(e)?{type:!1}:c,t,p));let y=o.animation;y&&f.push(y)}return p&&Promise.all(f).then(()=>{u.Gt.update(()=>{p&&(0,o.U)(t,p)})}),f}function c(t,e){var i;let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,n.K)(t,e,"exit"===s.type?null==(i=t.presenceContext)?void 0:i.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(o=s.transitionOverride);let a=r?()=>Promise.all(d(t,r,s)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:n=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=arguments.length>5?arguments[5]:void 0,o=[],a=(t.variantChildren.size-1)*n,l=1===s?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*n}:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return a-t*n};return Array.from(t.variantChildren).sort(m).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(c(t,e,{...r,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+i,r,a,s)}:()=>Promise.resolve(),{when:h}=o;if(!h)return Promise.all([a(),l(s.delay)]);{let[t,e]="beforeChildren"===h?[a,l]:[l,a];return t().then(()=>e())}}function m(t,e){return t.sortNodePosition(e)}function p(t,e){let i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>c(t,e,s)));else if("string"==typeof e)i=c(t,e,s);else{let r="function"==typeof e?(0,n.K)(t,e,s.custom):e;i=Promise.all(d(t,r,s))}return i.then(()=>{t.notify("AnimationComplete",e)})}},4275:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(2115).createContext)(null)},4634:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(2115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},5492:(t,e,i)=>{i.d(e,{e:()=>l});var n=i(2324),s=i(5480),r=i(2168),o=i(6384);function a(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&o.Gt.postRender(()=>s(e,(0,r.e)(e)))}class l extends n.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,s.P)(t,t=>(a(this.node,t,"Start"),t=>a(this.node,t,"End"))))}unmount(){}}},5921:(t,e,i)=>{i.d(e,{$:()=>s});var n=i(1058);function s(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||(0,n.$)(t)}},6216:(t,e,i)=>{i.d(e,{po:()=>r,tn:()=>a,yT:()=>o});var n=i(2157),s=i(7071);let r=t=>1-Math.sin(Math.acos(t)),o=(0,s.G)(r),a=(0,n.V)(r)},6384:(t,e,i)=>{i.d(e,{Gt:()=>s,PP:()=>a,WG:()=>r,uv:()=>o});var n=i(8817);let{schedule:s,cancel:r,state:o,steps:a}=(0,i(9640).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},6647:(t,e,i)=>{i.d(e,{H:()=>l});var n=i(2324),s=i(2811),r=i(2168),o=i(6384);function a(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&o.Gt.postRender(()=>s(e,(0,r.e)(e)))}class l extends n.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,s.c)(t,t=>(a(this.node,t,"Start"),(t,e)=>{let{success:i}=e;return a(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},7071:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},7208:(t,e,i)=>{i.d(e,{Y:()=>n});let n=(0,i(2115).createContext)({strict:!1})},7503:(t,e,i)=>{i.d(e,{Q:()=>u});var n=i(3125),s=i(9858),r=i(1411),o=i(2168),a=i(5460),l=i(1229),h=i(6384);class u{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,h.WG)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=m(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=(0,a.w)(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:s}=h.uv;this.history.push({...n,timestamp:s});let{onStart:r,onMove:o}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=d(e,this.transformPagePoint),h.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=m("pointercancel"===t.type?this.lastMoveEventInfo:d(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!(0,s.M)(t))return;this.dragSnapToOrigin=u,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let c=d((0,o.e)(t),this.transformPagePoint),{point:p}=c,{timestamp:v}=h.uv;this.history=[{...p,timestamp:v}];let{onSessionStart:f}=e;f&&f(t,m(c,this.history)),this.removeListeners=(0,l.F)((0,r.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,r.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,r.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}}function d(t,e){return e?{point:e(t.point)}:t}function c(t,e){return{x:t.x-e.x,y:t.y-e.y}}function m(t,e){let{point:i}=t;return{point:i,delta:c(i,p(e)),offset:c(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=p(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>(0,n.f)(.1)));)i--;if(!s)return{x:0,y:0};let o=(0,n.X)(r.timestamp-s.timestamp);if(0===o)return{x:0,y:0};let a={x:(r.x-s.x)/o,y:(r.y-s.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function p(t){return t[t.length-1]}},7556:(t,e,i)=>{i.d(e,{P:()=>s});var n=i(7714);function s(t){return t.props[n.n]}},7642:(t,e,i)=>{i.d(e,{z:()=>o});var n=i(8577),s=i(4128),r=i(1674);function o(t,e,i){let o=(0,s.S)(t)?t:(0,n.OQ)(t);return o.start((0,r.f)("",o,e,i)),o.animation}},7714:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(5484).I)("framerAppearId")}
1,7890:(t,e,i)=>{i.d(e,{c:()=>o});var n=i(9500),s=i(2324),r=i(1229);class o extends s.X{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,r.F)((0,n.k)(this.node.current,"focus",()=>this.onFocus()),(0,n.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}},8230:(t,e,i)=>{i.d(e,{f:()=>u});var n=i(7503),s=i(1411),r=i(2324),o=i(8817),a=i(274),l=i(6384);let h=t=>(e,i)=>{t&&l.Gt.postRender(()=>t(e,i))};class u extends r.X{onPointerDown(t){this.session=new n.Q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:(0,a.s)(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:h(t),onStart:h(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&l.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=(0,s.h)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=o.l}}},8441:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(2115).createContext)({})},8478:(t,e,i)=>{let n;i.d(e,{k:()=>a});var s=i(4370),r=i(6384);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(r.uv.isProcessing||s.W.useManualTiming?r.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},8502:(t,e,i)=>{i.d(e,{z:()=>a});var n=i(2115),s=i(8441),r=i(631),o=i(971);function a(t){let{initial:e,animate:i}=function(t,e){if((0,o.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.w)(e)?e:void 0,animate:(0,r.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(s.A));return(0,n.useMemo)(()=>({initial:e,animate:i}),[l(e),l(i)])}function l(t){return Array.isArray(t)?t.join(" "):t}},9323:(t,e,i)=>{i.d(e,{N:()=>n});let n=(0,i(2115).createContext)({})},9414:(t,e,i)=>{i.d(e,{w:()=>F});var n=i(2324),s=i(8817),r=i(972),o=i(2881),a=i(7503),l=i(6493),h=i(1411),u=i(9732),d=i(1546),c=i(1156),m=i(1683);function p(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 v(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 f(t,e,i){return{min:g(t,e),max:g(t,i)}}function g(t,e){return"number"==typeof t?t:t[e]||0}var y=i(6916),P=i(872),x=i(7119),M=i(2168),A=i(6726),w=i(9500),T=i(6117),k=i(1674),S=i(274),D=i(3407),E=i(6384);let b=new WeakMap;class C{start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,M.e)(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.W)(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),(0,P.X)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(T.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=(0,d.CQ)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&E.Gt.postRender(()=>s(t,e)),(0,D.g)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},r=(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&r(t,e)},l=(t,e)=>this.stop(t,e),h=()=>(0,P.X)(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new a.Q(t,{onSessionStart:n,onStart:s,onMove:r,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:(0,S.s)(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:s}=this.getProps();s&&E.Gt.postRender(()=>s(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||!L(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];
1this.constraints&&this.constraints[t]&&(r=function(t,e,i){let{min:n,max:s}=e;return void 0!==n&&t<n?t=i?(0,m.k)(n,t,i.min):Math.max(t,n):void 0!==s&&t>s&&(t=i?(0,m.k)(s,t,i.max):Math.min(t,s)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}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.layout,s=this.constraints;e&&(0,l.X)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,e){let{top:i,left:n,bottom:s,right:r}=e;return{x:p(t.x,n,r),y:p(t.y,i,s)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:f(t,"left","right"),y:f(t,"top","bottom")}}(i),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,P.X)(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||!(0,l.X)(e))return!1;let n=e.current;(0,r.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let o=(0,x.L)(n,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:v(t.x,o.x),y:v(t.y,o.y)});if(i){let t=i((0,A.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,A.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all((0,P.X)(o=>{if(!L(o,e,this.currentDirection))return;let l=a&&a[o]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,D.g)(this.visualElement,t),i.start((0,k.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,P.X)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,P.X)(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e="_drag".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,P.X)(e=>{let{drag:i}=this.getProps();if(!L(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e];s.set(t[e]-(0,m.k)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,l.X)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,P.X)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=(0,d.CQ)(t),s=(0,d.CQ)(e);return s>n?i=(0,u.q)(e.min,e.max-n,t.min):n>s&&(i=(0,u.q)(t.min,t.max-s,e.min)),(0,c.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,P.X)(e=>{if(!L(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,m.k)(s,r,n[e]))})}addListeners(){if(!this.visualElement.current)return;b.set(this.visualElement,this);let t=this.visualElement.current,e=(0,h.h)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,l.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,s=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),E.Gt.read(i);let r=(0,w.k)(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,P.X)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),s(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}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=(0,y.ge)(),this.visualElement=t}}function L(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class F extends n.X{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.l}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(t){super(t),this.removeGroupControls=s.l,this.removeListeners=s.l,this.controls=new C(t)}}},9500:(t,e,i)=>{i.d(e,{k:()=>n});function n(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}}
1,9640:(t,e,i)=>{i.d(e,{I:()=>r});var n=i(4370);let s=["read","resolveKeyframes","update","preRender","render","postRender"];function r(t,e){let i=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=s.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,s=!1,r=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){r.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:function(t){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=o&&n?e:i;return s&&r.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),r.delete(t)},process:t=>{if(o=t,n){s=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,s&&(s=!1,l.process(t))}};return l}(a),t),{}),{read:h,resolveKeyframes:u,update:d,preRender:c,render:m,postRender:p}=l,v=()=>{let s=n.W.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=r?1e3/60:Math.max(Math.min(s-o.timestamp,40),1),o.timestamp=s,o.isProcessing=!0,h.process(o),u.process(o),d.process(o),c.process(o),m.process(o),p.process(o),o.isProcessing=!1,i&&e&&(r=!1,t(v))};return{schedule:s.reduce((e,n)=>{let s=l[n];return e[n]=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(i=!0,r=!0,o.isProcessing||t(v)),s.schedule(e,n,a)},e},{}),cancel:t=>{for(let e=0;e<s.length;e++)l[s[e]].cancel(t)},state:o,steps:l}}}}]);
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.