"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3818],{83510:function(e,t,n){n.d(t,{v:function(){return O}});var i=n(78274),r=n(71504);let s={type:"spring",stiffness:500,damping:25,restSpeed:10},a=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),o={type:"keyframes",duration:.8},l={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},u=(e,{keyframes:t})=>t.length>2?o:r.G.has(e)?e.startsWith("scale")?a(t[1]):s:l;var h=n(89100),f=n(27229),c=n(65919),d=n(40720),p=n(53763),m=n(80044),v=n(96260),y=n(18507),g=n(43654),w=n(32436),A=n(23444);let C=e=>Array.isArray(e)&&"number"==typeof e[0],b=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,P={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:b([0,.65,.55,1]),circOut:b([.55,0,1,.45]),backIn:b([.31,.01,.66,-.59]),backOut:b([.33,1.53,.69,.99])};function k(e){return V(e)||P.easeOut}function V(e){if(e)return C(e)?b(e):Array.isArray(e)?e.map(k):P[e]}let S=(0,y.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),$=new Set(["opacity","clipPath","filter","transform"]);class T extends w.v{constructor(e){super(e);let{name:t,motionValue:n,keyframes:i}=this.options;this.resolver=new v.s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n,i;let{duration:r=300,times:s,ease:a,type:o,motionValue:l,name:u}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(i=this.options).type||"backgroundColor"===i.name||!function e(t){return!!(!t||"string"==typeof t&&t in P||C(t)||Array.isArray(t)&&t.every(e))}(i.ease)){let{onComplete:t,onUpdate:n,motionValue:i,...l}=this.options,u=function(e,t){let n=new A.s({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},r=[],s=0;for(;!i.done&&s<2e4;)r.push((i=n.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),r=u.duration,s=u.times,a=u.ease,o="keyframes"}let h=function(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o,times:l}={}){let u={[t]:n};l&&(u.offset=l);let h=V(o);return Array.isArray(h)&&(u.easing=h),e.animate(u,{delay:i,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:r,times:s,ease:a});return h.startTime=m.X.now(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:n}=this.options;l.set((0,d.$)(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:s,type:o,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,i.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,i.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,i.w)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return g.Z;let{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return g.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:s,ease:a,times:o}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:l,...u}=this.options,h=new A.s({...u,keyframes:n,duration:r,type:s,ease:a,times:o,isGenerator:!0}),f=(0,i.w)(this.time);e.setWithVelocity(h.sample(f-10).value,h.sample(f).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:a}=e;return S()&&n&&$.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&"mirror"!==r&&0!==s&&"inertia"!==a}}let O=(e,t,n,r={},s,a)=>o=>{let l=(0,h.e)(r,e)||{},m=l.delay||r.delay||0,{elapsed:v=0}=r;v-=(0,i.w)(m);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-v,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:a?void 0:s};(0,h.r)(l)||(y={...y,...u(e,y)}),y.duration&&(y.duration=(0,i.w)(y.duration)),y.repeatDelay&&(y.repeatDelay=(0,i.w)(y.repeatDelay)),void 0!==y.from&&(y.keyframes[0]=y.from);let g=!1;if(!1!==y.type&&(0!==y.duration||y.repeatDelay)||(y.duration=0,0!==y.delay||(g=!0)),(c.c.current||f.c.skipAnimations)&&(g=!0,y.duration=0,y.delay=0),g&&!a&&void 0!==t.get()){let e=(0,d.$)(y.keyframes,l);if(void 0!==e){p.Wi.update(()=>{y.onUpdate(e),y.onComplete()});return}}return!a&&T.supports(y)?new T(y):new A.s(y)}},94878:function(e,t,n){n.d(t,{w:function(){return h}});var i=n(71504),r=n(21926),s=n(83510),a=n(98167),o=n(82595),l=n(89100),u=n(53763);function h(e,t,{delay:n=0,transitionOverride:h,type:f}={}){var c;let{transition:d=e.getDefaultTransition(),transitionEnd:p,...m}=t,v=e.getValue("willChange");h&&(d=h);let y=[],g=f&&e.animationState&&e.animationState.getState()[f];for(let t in m){let o=e.getValue(t,null!==(c=e.latestValues[t])&&void 0!==c?c:null),u=m[t];if(void 0===u||g&&function({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}(g,t))continue;let h={delay:n,elapsed:0,...(0,l.e)(d||{},t)},f=!1;if(window.HandoffAppearAnimations){let n=e.getProps()[r.M];if(n){let e=window.HandoffAppearAnimations(n,t);null!==e&&(h.elapsed=e,f=!0)}}o.start((0,s.v)(t,o,u,e.shouldReduceMotion&&i.G.has(t)?{type:!1}:h,e,f));let p=o.animation;p&&((0,a.L)(v)&&(v.add(t),p.then(()=>v.remove(t))),y.push(p))}return p&&Promise.all(y).then(()=>{u.Wi.update(()=>{p&&(0,o.C)(e,p)})}),y}},53818:function(e,t,n){n.d(t,{d:function(){return l}});var i=n(85785),r=n(94878);function s(e,t,n={}){var o;let l=(0,i.x)(e,t,"exit"===n.type?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0),{transition:u=e.getDefaultTransition()||{}}=l||{};n.transitionOverride&&(u=n.transitionOverride);let h=l?()=>Promise.all((0,r.w)(e,l,n)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:l}=u;return function(e,t,n=0,i=0,r=1,o){let l=[],u=(e.variantChildren.size-1)*i,h=1===r?(e=0)=>e*i:(e=0)=>u-e*i;return Array.from(e.variantChildren).sort(a).forEach((e,i)=>{e.notify("AnimationStart",t),l.push(s(e,t,{...o,delay:n+h(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(l)}(e,t,r+i,o,l,n)}:()=>Promise.resolve(),{when:c}=u;if(!c)return Promise.all([h(),f(n.delay)]);{let[e,t]="beforeChildren"===c?[h,f]:[f,h];return e().then(()=>t())}}function a(e,t){return e.sortNodePosition(t)}var o=n(53763);function l(e,t,n={}){let a;if(e.notify("AnimationStart",t),Array.isArray(t))a=Promise.all(t.map(t=>s(e,t,n)));else if("string"==typeof t)a=s(e,t,n);else{let s="function"==typeof t?(0,i.x)(e,t,n.custom):t;a=Promise.all((0,r.w)(e,s,n))}return a.then(()=>{o.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})}},89100:function(e,t,n){function i({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}function r(e,t){return e[t]||e.default||e}n.d(t,{e:function(){return r},r:function(){return i}})},96260:function(e,t,n){n.d(t,{s:function(){return c}});var i=n(98994),r=n(536),s=n(10639),a=n(53895);let o=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=n(92286),u=n(33021),h=n(25425),f=n(91146);class c extends h.e{constructor(e,t,n,i){super(e,t,n,i,null==i?void 0:i.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&(0,a.t)(i)){let l=function e(t,n,i=1){(0,r.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[l,u]=function(e){let t=o.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${null!=n?n:i}`,r]}(t);if(!l)return;let h=window.getComputedStyle(n).getPropertyValue(l);if(h){let e=h.trim();return(0,s.P)(e)?parseFloat(e):e}return(0,a.t)(u)?e(u,n,i+1):u}(i,t.current);void 0!==l&&(e[n]=l),n===e.length-1&&(this.finalKeyframe=i)}}if(!l.z2.has(n)||2!==e.length)return this.resolveNoneKeyframes();let[i,h]=e,f=(0,u.C)(i),c=(0,u.C)(h);if(f!==c){if((0,l.mP)(f)&&(0,l.mP)(c))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||(0,i.W)(r))&&n.push(t)}n.length&&function(e,t,n){let i,r=0;for(;r<e.length&&!i;)"string"==typeof e[r]&&"none"!==e[r]&&"0"!==e[r]&&(i=e[r]),r++;if(i&&n)for(let r of t)e[r]=(0,f.T)(n,i)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l.lw[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:i}=this;if(!t.current)return;let r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,a=i[s];i[s]=l.lw[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},91146:function(e,t,n){n.d(t,{T:function(){return a}});var i=n(88879),r=n(55967),s=n(42690);function a(e,t){let n=(0,s.A)(e);return n!==r.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},42690:function(e,t,n){n.d(t,{A:function(){return a}});var i=n(67237),r=n(55967);let s={...n(70198).j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:r.h,WebkitFilter:r.h},a=e=>s[e]},33021:function(e,t,n){n.d(t,{$:function(){return a},C:function(){return o}});var i=n(94145),r=n(57027),s=n(59730);let a=[i.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],o=e=>a.find((0,s.l)(e))},59730:function(e,t,n){n.d(t,{l:function(){return i}});let i=e=>t=>t.test(e)},85785:function(e,t,n){n.d(t,{x:function(){return r}});var i=n(82320);function r(e,t,n){let r=e.getProps();return(0,i.o)(r,t,void 0!==n?n:r.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}},82595:function(e,t,n){n.d(t,{C:function(){return a}});var i=n(48940),r=n(23770),s=n(85785);function a(e,t){let{transitionEnd:n={},transition:a={},...o}=(0,s.x)(e,t)||{};for(let t in o={...o,...n}){let n=(0,i.Y)(o[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,r.BX)(n))}}},41362:function(e,t,n){function i(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return r},y4:function(){return i}})},10639:function(e,t,n){n.d(t,{P:function(){return i}});let i=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},98994:function(e,t,n){n.d(t,{W:function(){return i}});let i=e=>/^0[^.\s]+$/u.test(e)},18507:function(e,t,n){n.d(t,{X:function(){return i}});function i(e){let t;return()=>(void 0===t&&(t=e()),t)}},37541:function(e,t,n){n.d(t,{L:function(){return r}});var i=n(41362);class r{constructor(){this.subscriptions=[]}add(e){return(0,i.y4)(this.subscriptions,e),()=>(0,i.cl)(this.subscriptions,e)}notify(e,t,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){let i=this.subscriptions[r];i&&i(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},23770:function(e,t,n){n.d(t,{BX:function(){return h}});var i=n(37541),r=n(27630),s=n(80044),a=n(53763);let o=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=s.X.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=o(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=s.X.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),a.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(e,t){return new u(e,t)}},55967:function(e,t,n){n.d(t,{h:function(){return l}});var i=n(88879),r=n(96242);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=n.match(r.KP)||[];if(!i)return e;let a=n.replace(i,""),o=s.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...i.P,getAnimatableNone:e=>{let t=e.match(o);return t?t.map(a).join(" "):e}}},98167:function(e,t,n){n.d(t,{L:function(){return r}});var i=n(11094);function r(e){return!!((0,i.i)(e)&&e.add)}}}]);