try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0b2b844c-0daa-4da7-8544-5848901fb2e4",t._sentryDebugIdIdentifier="sentry-dbid-0b2b844c-0daa-4da7-8544-5848901fb2e4")}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5492],{1441:(t,e,i)=>{i.d(e,{t:()=>l});var n=i(19276),r=i(76163),s=i(20505),a=i(16294);let o=[...s.T,n.y,r.f],l=t=>o.find((0,a.w)(t))},1481:(t,e,i)=>{i.d(e,{k:()=>n});function n(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}},1763:(t,e,i)=>{i.d(e,{n:()=>T});var n=i(88415),r=i(47005),s=i(88631),a=i(67727);function o(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let a=r["onHover"+i];a&&n.Gt.postRender(()=>a(e,(0,s.e)(e)))}class l extends a.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,r.P)(t,(t,e)=>(o(this.node,e,"Start"),t=>o(this.node,t,"End"))))}unmount(){}}var u=i(47045),h=i(1481);class d extends a.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,u.F)((0,h.k)(this.node.current,"focus",()=>this.onFocus()),(0,h.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var p=i(96419);function c(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let a=r["onTap"+("End"===i?"":i)];a&&n.Gt.postRender(()=>a(e,(0,s.e)(e)))}class m extends a.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,p.c)(t,(t,e)=>(c(this.node,e,"Start"),(t,{success:e})=>c(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let f=new WeakMap,v=new WeakMap,y=t=>{let e=f.get(t.target);e&&e(t)},g=t=>{t.forEach(y)},b={some:0,all:1};class w extends a.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:b[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;v.has(i)||v.set(i,{});let n=v.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(g,{root:t,...e})),n[r]}(e);return f.set(t,i),n.observe(t),()=>{f.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let T={inView:{Feature:w},tap:{Feature:m},focus:{Feature:d},hover:{Feature:l}}},3777:(t,e,i)=>{i.d(e,{J:()=>a});var n=i(76163),r=i(46095),s=i(36334);function a(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},4221:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},4280:(t,e,i)=>{i.d(e,{b:()=>a});var n=i(49026),r=i(92791),s=i(16227);class a extends s.B{constructor(){super(...arguments),this.KeyframeResolver=n.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:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,r.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},4851:(t,e,i)=>{i.d(e,{G:()=>h});var n=i(43461),r=i(4221),s=i(47045),a=i(56448),o=i(36016),l=i(80316),u=i(57961);function h(t,e,{clamp:i=!0,ease:d,mixer:p}={}){let c=t.length;if((0,a.V)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let a=[],o=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i{if(m&&i1)for(;ny((0,l.q)(t[0],t[c-1],e)):y}},5304:(t,e,i)=>{i.d(e,{J:()=>n});let n=(0,i(96447).p)(()=>void 0!==window.ScrollTimeline)},5525:(t,e,i)=>{i.d(e,{JL:()=>v,MC:()=>m,W_:()=>c,YK:()=>f});var n=i(47045),r=i(56448),s=i(49290),a=i(19276),o=i(76163),l=i(27628),u=i(64658),h=i(46918),d=i(97749);function p(t,e){return i=>(0,h.k)(t,e,i)}function c(t){return"number"==typeof t?p:"string"==typeof t?(0,s.p)(t)?u.O:a.y.test(t)?l.i:v:Array.isArray(t)?m:"object"==typeof t?a.y.test(t)?l.i:f:u.O}function m(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>c(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let v=(t,e)=>{let i=o.f.createTransformer(e),s=(0,o.V)(t),a=(0,o.V)(e);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?d.Q.has(t)&&!a.values.length||d.Q.has(e)&&!s.values.length?(0,d.v)(t,e):(0,n.F)(m(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r{i.d(e,{$:()=>s,q:()=>a});var n=i(50346);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},7071:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},7159:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},8145:(t,e,i)=>{i.d(e,{_:()=>o});var n=i(60162),r=i(30041);function s(t,e,i={}){let o=(0,n.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(l=i.transitionOverride);let u=o?()=>Promise.all((0,r.$)(t,o,i)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:u}=l;return function(t,e,i=0,n=0,r=1,o){let l=[],u=(t.variantChildren.size-1)*n,h=1===r?(t=0)=>t*n:(t=0)=>u-t*n;return Array.from(t.variantChildren).sort(a).forEach((t,n)=>{t.notify("AnimationStart",e),l.push(s(t,e,{...o,delay:i+h(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(l)}(t,e,r+n,o,u,i)}:()=>Promise.resolve(),{when:d}=l;if(!d)return Promise.all([u(),h(i.delay)]);{let[t,e]="beforeChildren"===d?[u,h]:[h,u];return t().then(()=>e())}}function a(t,e){return t.sortNodePosition(e)}function o(t,e,i={}){let a;if(t.notify("AnimationStart",e),Array.isArray(e))a=Promise.all(e.map(e=>s(t,e,i)));else if("string"==typeof e)a=s(t,e,i);else{let s="function"==typeof e?(0,n.K)(t,e,i.custom):e;a=Promise.all((0,r.$)(t,s,i))}return a.then(()=>{t.notify("AnimationComplete",e)})}},9156:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>h});var n=i(77644),r=i(78902),s=i(74275),a=i(24194);let o=t=>t===s.ai||t===a.px,l=new Set(["x","y","z"]),u=r.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.r)(e,"x"),y:(t,{transform:e})=>(0,n.r)(e,"y")};d.translateX=d.x,d.translateY=d.y},10045:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(36016),r=i(46918);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,a))}}},10059:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}},13198:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>s});var n=i(24835),r=i(68206);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=s(t,i),{scroll:a}=e;return a&&((0,r.Ql)(n.x,a.offset.x),(0,r.Ql)(n.y,a.offset.y)),n}},14866:(t,e,i)=>{i.d(e,{d:()=>n});let n=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`},15492:(t,e,i)=>{i.d(e,{l:()=>s});var n=i(91783),r=i(1763);let s={renderer:i(86620).J,...n.W,...r.n}},16227:(t,e,i)=>{i.d(e,{B:()=>A});var n=i(56848),r=i(35145),s=i(88415),a=i(78902),o=i(91606),l=i(1441),u=i(76163),h=i(3777),d=i(76552),p=i(38202),c=i(83584),m=i(899),f=i(31877),v=i(71448),y=i(7159),g=i(92791),b=i(59556),w=i(1402),T=i(22254);let S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:o,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n.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=r.k.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),y.r.current||(0,v.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||y.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.WG)(this.notifyUpdate),(0,s.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 i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=a.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in m.B){let e=m.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,f.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;ee.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,o.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,d.i)(i)||(0,p.$)(i))?i=parseFloat(i):!(0,l.t)(i)&&u.f.test(e)&&(i=(0,h.J)(t,e)),this.setBaseTarget(t,(0,g.S)(i)?i.get():i)),(0,g.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,T.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,g.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new c.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},16294:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},18794:(t,e,i)=>{i.d(e,{l:()=>c});var n=i(78902),r=i(36334),s=i(31877),a=i(4280),o=i(32401),l=i(50504);let u=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"]);var h=i(40294),d=i(10059),p=i(46098);class c extends a.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,o.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,p.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,o.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},18926:(t,e,i)=>{i.d(e,{f:()=>f});var n=i(97989),r=i(88415),s=i(58133),a=i(59841),o=i(43461);let l=t=>null!==t;var u=i(78902);let h={type:"spring",stiffness:500,damping:25,restSpeed:10},d=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),p={type:"keyframes",duration:.8},c={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m=(t,{keyframes:e})=>e.length>2?p:u.f.has(t)?t.startsWith("scale")?d(e[1]):h:c,f=(t,e,i,u={},h,d)=>p=>{let c=(0,n.r)(u,t)||{},f=c.delay||u.delay||0,{elapsed:v=0}=u;v-=(0,a.f)(f);let y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-v,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{p(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:d?void 0:h};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(c)&&Object.assign(y,m(t,y)),y.duration&&(y.duration=(0,a.f)(y.duration)),y.repeatDelay&&(y.repeatDelay=(0,a.f)(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)),(o.W.instantAnimations||o.W.skipAnimations)&&(g=!0,y.duration=0,y.delay=0),y.allowFlatten=!c.type&&!c.ease,g&&!d&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(l),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(y.keyframes,c);if(void 0!==t)return void r.Gt.update(()=>{y.onUpdate(t),y.onComplete()})}return new s.A(y)}},18949:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},19276:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(71331),r=i(41088),s=i(59068);let a={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t)}},20505:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(74275),r=i(24194),s=i(16294);let a=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},20908:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(78902),r=i(77644),s=i(49290),a=i(13198),o=i(4280),l=i(42304),u=i(10059),h=i(25249);class d extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(n.f.has(e))return(0,r.I)(t,e);{let i=window.getComputedStyle(t),n=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,a.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},21587:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},22516:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},22626:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},23090:(t,e,i)=>{i.d(e,{D:()=>n});function n(t){for(let e=1;e{function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({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 i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>s,pA:()=>r})},24870:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(89753),r=i(29773);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:h,restDelta:d=.5,restSpeed:p}){let c,m,f=t[0],v={done:!1,value:f},y=t=>void 0!==u&&th,g=t=>void 0===u?h:void 0===h||Math.abs(u-t)-b*Math.exp(-t/s),A=t=>T+S(t),V=t=>{let e=S(t),i=A(t);v.done=Math.abs(e)<=d,v.value=v.done?T:i},x=t=>{y(v.value)&&(c=t,m=(0,n.o)({keyframes:[v.value,g(v.value)],velocity:(0,r.Y)(A,t,v.value),damping:a,stiffness:o,restDelta:d,restSpeed:p}))};return x(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==c||(e=!0,V(t),x(t)),void 0!==c&&t>=c)?m.next(t-c):(e||V(t),v)}}}},27628:(t,e,i)=>{i.d(e,{B:()=>h,i:()=>m});var n=i(56448),r=i(71331),s=i(41088),a=i(85801),o=i(59068),l=i(64658),u=i(46918);let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},d=[r.u,o.B,s.V],p=t=>d.find(e=>e.test(t));function c(t){let e=p(t);if((0,n.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===s.V&&(i=(0,a.a)(i)),i}let m=(t,e)=>{let i=c(t),n=c(e);if(!i||!n)return(0,l.O)(t,e);let r={...i};return t=>(r.red=h(i.red,n.red,t),r.green=h(i.green,n.green,t),r.blue=h(i.blue,n.blue,t),r.alpha=(0,u.k)(i.alpha,n.alpha,t),o.B.transform(r))}},28281:(t,e,i)=>{i.d(e,{n:()=>d});var n=i(59841),r=i(88163),s=i(90034),a=i(29060),o=i(59827),l=i(90898),u=i(82494);let h={anticipate:o.b,backInOut:l.ZZ,circInOut:u.tn};class d extends s.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in h&&(t.ease=h[t.ease])}(t),(0,a.E)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:a,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let l=new r.s({...o,autoplay:!1}),u=(0,n.f)(this.finishedTime??this.time);e.setWithVelocity(l.sample(u-10).value,l.sample(u).value,10),l.stop()}}},28862:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,a=1){let o=t.filter(n),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==s?s:o[l]}},29060:(t,e,i)=>{i.d(e,{E:()=>o});var n=i(24870),r=i(31007),s=i(89753);let a={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function o(t){"string"==typeof t.type&&(t.type=a[t.type])}},29773:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(18949);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},30041:(t,e,i)=>{i.d(e,{$:()=>h});var n=i(97989),r=i(88415),s=i(77649),a=i(45021),o=i(73737),l=i(46521),u=i(18926);function h(t,e,{delay:i=0,transitionOverride:d,type:p}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:m,...f}=e;d&&(c=d);let v=[],y=p&&t.animationState&&t.animationState.getState()[p];for(let e in f){let a=t.getValue(e,t.latestValues[e]??null),h=f[e];if(void 0===h||y&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(y,e))continue;let d={delay:i,...(0,n.r)(c||{},e)},p=a.get();if(void 0!==p&&!a.isAnimating&&!Array.isArray(h)&&h===p&&!d.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let i=(0,l.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,r.Gt);null!==t&&(d.startTime=t,m=!0)}}(0,o.g)(t,e),a.start((0,u.f)(e,a,h,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:d,t,m));let g=a.animation;g&&v.push(g)}return m&&Promise.all(v).then(()=>{r.Gt.update(()=>{m&&(0,a.U)(t,m)})}),v}},31007:(t,e,i)=>{i.d(e,{i:()=>h,l:()=>u});var n=i(61066),r=i(37591),s=i(73859),a=i(4851),o=i(91879),l=i(91477);function u(t,e){return t.map(()=>e||n.am).splice(0,t.length-1)}function h({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let h=(0,r.h)(n)?n.map(s.K):(0,s.K)(n),d={done:!1,value:e[0]},p=(0,l.A)(i&&i.length===e.length?i:(0,o.Z)(e),t),c=(0,a.G)(p,e,{ease:Array.isArray(h)?h:u(e,h)});return{calculatedDuration:t,next:e=>(d.value=c(e),d.done=e>=t,d)}}},31877:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},31942:(t,e,i)=>{i.d(e,{n:()=>s});var n=i(96447),r=i(48116);let s=function(t,e){let i=(0,n.p)(t);return()=>r.e[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing")},34037:(t,e,i)=>{i.d(e,{R:()=>a});var n=i(96447);let r=new Set(["opacity","clipPath","filter","transform"]),s=(0,n.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function a(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:a,damping:o,type:l}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return s()&&i&&r.has(i)&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==a&&0!==o&&"inertia"!==l}},35145:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(43461),s=i(88415);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},36016:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},36334:(t,e,i)=>{i.d(e,{D:()=>a,Y:()=>s});var n=i(19276),r=i(46095);let s={...i(83908).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:r.p,WebkitFilter:r.p},a=t=>s[t]},37591:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},38202:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},40252:(t,e,i)=>{i.d(e,{T:()=>function t(e,i){if(e)return"function"==typeof e?(0,r.n)()?(0,s.K)(e,i):"ease-out":(0,n.D)(e)?(0,a.d)(e):Array.isArray(e)?e.map(e=>t(e,i)||o.e.easeOut):o.e[e]}});var n=i(7071),r=i(31942),s=i(83789),a=i(14866),o=i(46500)},41088:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(74275),r=i(24194),s=i(43273),a=i(6533);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(a))+")"}},43273:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},45021:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(91606),r=i(46543),s=i(60162);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,s.K)(t,e)||{};for(let e in o={...o,...i}){var l;let i=(l=o[e],(0,r.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},46095:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(76163),r=i(50346);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let a=i.replace(n,""),o=+!!s.has(e);return n!==i&&(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}}},46500:(t,e,i)=>{i.d(e,{e:()=>r});var n=i(14866);let r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:(0,n.d)([0,.65,.55,1]),circOut:(0,n.d)([.55,0,1,.45]),backIn:(0,n.d)([.31,.01,.66,-.59]),backOut:(0,n.d)([.33,1.53,.69,.99])}},46521:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(82175);function r(t){return t.props[n.n]}},46543:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},46918:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},47005:(t,e,i)=>{i.d(e,{P:()=>a});var n=i(58861),r=i(66562);function s(t){return!("touch"===t.pointerType||(0,n.D)())}function a(t,e,i={}){let[n,o,l]=(0,r.V)(t,i),u=t=>{if(!s(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{s(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,o)};return n.forEach(t=>{t.addEventListener("pointerenter",u,o)}),l}},47045:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},48116:(t,e,i)=>{i.d(e,{e:()=>n});let n={}},49026:(t,e,i)=>{i.d(e,{K:()=>c});var n=i(77649),r=i(20505),s=i(64287),a=i(49290),o=i(56848),l=i(38202),u=i(76163),h=i(3777);let d=new Set(["auto","none","0"]);var p=i(9156);class c extends o.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}},49948:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},50346:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},54058:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}},56448:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},56848:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>p});var n=i(23090),r=i(9156),s=i(88415);let a=new Set,o=!1,l=!1,u=!1;function h(){if(l){let t=Array.from(a).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,r.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}l=!1,o=!1,a.forEach(t=>t.complete(u)),a.clear()}function d(){a.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(l=!0)})}function p(){u=!0,d(),h(),u=!1}class c{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(a.add(this),o||(o=!0,s.Gt.read(d),s.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}(0,n.D)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),a.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,a.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},57961:(t,e,i)=>{i.d(e,{j:()=>s});var n=i(5525),r=i(46918);function s(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,r.k)(t,e,i):(0,n.W_)(t)(t,e)}},58133:(t,e,i)=>{i.d(e,{A:()=>v});var n=i(43461),r=i(4221),s=i(35145),a=i(88163),o=i(28862),l=i(56848),u=i(28281),h=i(56448),d=i(49948),p=i(76163);let c=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(p.f.test(t)||"0"===t)&&!t.startsWith("url("));var m=i(22626),f=i(34037);class v extends m.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:a="loop",keyframes:o,name:u,motionValue:h,element:d,...p}){super(),this.stop=()=>{this._animation?(this._animation.stop(),this.stopTimeline?.()):this.keyframeResolver?.cancel()},this.createdAt=s.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:a,name:u,motionValue:h,element:d,...p},m=d?.KeyframeResolver||l.h;this.keyframeResolver=new m(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),u,h,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,l){this.keyframeResolver=void 0;let{name:p,type:m,velocity:v,delay:y,isHandoff:g,onUpdate:b}=i;this.resolvedAt=s.k.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=c(r,e),o=c(s,e);return(0,h.$)(a===o,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},T=!g&&(0,f.R)(w)?new u.n({...w,element:w.motionValue.owner.current}):new a.s(w);T.finished.then(()=>this.notifyFinished()).catch(r.l),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(0,l.q)(),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}},58861:(t,e,i)=>{i.d(e,{D:()=>r,I:()=>n});let n={x:!1,y:!1};function r(){return n.x||n.y}},59068:(t,e,i)=>{i.d(e,{B:()=>u,q:()=>l});var n=i(80316),r=i(74275),s=i(43273),a=i(6533);let o=t=>(0,n.q)(0,255,t),l={...r.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:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},59556:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},59654:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e=n?1/0:e}},59827:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(90898);let r=t=>(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},59841:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},60162:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(22254);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},61066:(t,e,i)=>{i.d(e,{a6:()=>r,am:()=>a,vT:()=>s});var n=i(90037);let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1)},62360:(t,e,i)=>{i.d(e,{R:()=>a});var n=i(22516),r=i(38524),s=i(40252);function a(t,e,i,{delay:o=0,duration:l=300,repeat:u=0,repeatType:h="loop",ease:d="easeOut",times:p}={},c){let m={[e]:i};p&&(m.offset=p);let f=(0,s.T)(d,l);Array.isArray(f)&&(m.easing=f),r.Q.value&&n.q.waapi++;let v={delay:o,duration:l,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:u+1,direction:"reverse"===h?"alternate":"normal"};c&&(v.pseudoElement=c);let y=t.animate(m,v);return r.Q.value&&y.finished.finally(()=>{n.q.waapi--}),y}},63874:(t,e,i)=>{i.d(e,{v:()=>n});let n=t=>t.startsWith("--")},64287:(t,e,i)=>{i.d(e,{W:()=>function t(e,i,a=1){(0,n.V)(a<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[l,u]=o(e);if(!l)return;let h=window.getComputedStyle(i).getPropertyValue(l);if(h){let t=h.trim();return(0,r.i)(t)?parseFloat(t):t}return(0,s.p)(u)?t(u,i,a+1):u},t:()=>o});var n=i(56448),r=i(76552),s=i(49290);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function o(t){let e=a.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}},64658:(t,e,i)=>{i.d(e,{O:()=>n});function n(t,e){return i=>i>0?e:t}},66562:(t,e,i)=>{i.d(e,{V:()=>r});var n=i(54058);function r(t,e){let i=(0,n.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}},67727:(t,e,i)=>{i.d(e,{X:()=>n});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},68206:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(46918),r=i(75349);function s(t,e,i){return i+e*(t-i)}function a(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function o(t,e=0,i=1,n,r){t.min=a(t.min,e,i,n,r),t.max=a(t.max,e,i,n,r)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,a,o=i.length;if(o){e.x=e.y=1;for(let u=0;u.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,i,r,s=.5){let a=(0,n.k)(t.min,t.max,s);o(t,e,i,a,r)}function p(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},68382:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function s([...t],e,i){let n=e<0?t.length+e:e;if(n>=0&&nr,Kq:()=>n,Pe:()=>s})},71331:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(59068);let r={test:(0,i(6533).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},71448:(t,e,i)=>{i.d(e,{U:()=>s});var n=i(14931),r=i(7159);function s(){if(r.r.current=!0,n.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.O.current=t.matches;t.addListener(e),e()}else r.O.current=!1}},73596:(t,e,i)=>{i.d(e,{M:()=>n});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},73737:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(43461),r=i(92791);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},73790:(t,e,i)=>{i.d(e,{e:()=>r});var n=i(63874);function r(t,e,i){(0,n.v)(e)?t.style.setProperty(e,i):t.style[e]=i}},73859:(t,e,i)=>{i.d(e,{K:()=>c});var n=i(56448),r=i(4221),s=i(59827),a=i(90898),o=i(82494),l=i(90037),u=i(61066),h=i(7071);let d={linear:r.l,easeIn:u.a6,easeInOut:u.am,easeOut:u.vT,circIn:o.po,circInOut:o.tn,circOut:o.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:s.b},p=t=>"string"==typeof t,c=t=>{if((0,h.D)(t)){(0,n.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,s]=t;return(0,l.A)(e,i,r,s)}return p(t)?((0,n.V)(void 0!==d[t],`Invalid easing type '${t}'`),d[t]):t}},74230:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},75349:(t,e,i)=>{function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>a,vk:()=>r})},76163:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var n=i(19276);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(50346),a=i(43273);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(),i=[],r={color:[],number:[],var:[]},s=[],a=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(a),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(a),s.push("var"),i.push(t)):(r.number.push(a),s.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function d(t){return h(t).values}function p(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u"number"==typeof t?0:t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(t){let e=d(t);return p(t)(e.map(c))}}},76552:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},77644:(t,e,i)=>{i.d(e,{I:()=>p,r:()=>d});let n=t=>180*t/Math.PI,r=t=>a(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let a=i[e],o=n[1].split(",").map(c);return"function"==typeof a?a(o):o[a]}let p=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function c(t){return parseFloat(t.trim())}},77649:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(78902).U])},78377:(t,e,i)=>{i.d(e,{w:()=>n});let n=(t,e)=>!!e&&(t===e||n(t,e.parentElement))},78532:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(59841),r=i(59654);function s(t,e=100,i){let a=i({...t,keyframes:[0,e]}),o=Math.min((0,r.t)(a),r.Y);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,n.X)(o)}}},82494:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(21587),r=i(74230);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},83584:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(68382);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e{function n(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function r({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,a=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,l=2*i-r;s=n(l,r,t+1/3),a=n(l,r,t),o=n(l,r,t-1/3)}else s=a=o=i;return{red:Math.round(255*s),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}i.d(e,{a:()=>r})},86620:(t,e,i)=>{i.d(e,{J:()=>o});var n=i(66601),r=i(20908),s=i(18794),a=i(34726);let o=(t,e)=>(0,a.Q)(t)?new s.l(e):new r.M(e,{allowProjection:t!==n.Fragment})},88163:(t,e,i)=>{i.d(e,{s:()=>g,L:()=>b});var n=i(47045),r=i(80316),s=i(59841),a=i(35145),o=i(22516),l=i(57961),u=i(88415);let h=t=>{let e=({timestamp:e})=>t(e);return{start:()=>u.Gt.update(e,!0),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:a.k.now()}};var d=i(24870),p=i(31007),c=i(59654),m=i(28862),f=i(29060),v=i(22626);let y=t=>t/100;class g extends v.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;if(t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()},o.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,f.E)(t);let{type:e=p.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:a=0}=t,{keyframes:o}=t,u=e||p.i;u!==p.i&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,n.F)(y,(0,l.j)(o[0],o[1])),o=[0,100]);let h=u({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...o].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,c.t)(h));let{calculatedDuration:d}=h;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:p,repeatType:c,repeatDelay:f,type:v,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>n;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let T=this.currentTime,S=i;if(p){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===c?(i=1-i,f&&(i-=f/o)):"mirror"===c&&(S=a)),T=(0,r.q)(0,1,i)*o}let A=w?{done:!1,value:h[0]}:S.next(T);s&&(A.value=s(A.value));let{done:V}=A;w||null===l||(V=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&V);return x&&v!==d.B&&(A.value=(0,m.X)(h,this.options,g,this.speed)),y&&y(A.value),x&&this.finish(),A}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(a.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=h,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=i??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,o.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),t.observe(this)}}function b(t){return new g(t)}},88415:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>o,WG:()=>s,uv:()=>a});var n=i(4221);let{schedule:r,cancel:s,state:a,steps:o}=(0,i(98910).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},88631:(t,e,i)=>{i.d(e,{F:()=>s,e:()=>r});var n=i(73596);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.M)(e)&&t(e,r(e))},89753:(t,e,i)=>{i.d(e,{o:()=>f});var n=i(80316),r=i(59841),s=i(83789),a=i(59654),o=i(78532),l=i(29773);let u={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var h=i(56448);function d(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],c=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=u.visualDuration,e=u.bounce){let i,o="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:y}=o,g=o.keyframes[0],b=o.keyframes[o.keyframes.length-1],w={done:!1,value:g},{stiffness:T,damping:S,mass:A,duration:V,velocity:x,isResolvedFromDuration:M}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!m(t,c)&&m(t,p))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:u.mass,stiffness:r,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let a,o;(0,h.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,n.q)(u.minDamping,u.maxDamping,l),t=(0,n.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),l<1?(a=e=>{let n=e*l,r=n*t;return .001-(n-i)/d(e,l)*Math.exp(-r)},o=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),o=d(Math.pow(e,2),l);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let p=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,o,5/t);if(t=(0,r.f)(t),isNaN(p))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(p,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...o,velocity:-(0,r.X)(o.velocity||0)}),k=x||0,C=S/(2*Math.sqrt(T*A)),F=b-g,P=(0,r.X)(Math.sqrt(T/A)),E=5>Math.abs(F);if(v||(v=E?u.restSpeed.granular:u.restSpeed.default),y||(y=E?u.restDelta.granular:u.restDelta.default),C<1){let t=d(P,C);i=e=>b-Math.exp(-C*P*e)*((k+C*P*F)/t*Math.sin(t*e)+F*Math.cos(t*e))}else if(1===C)i=t=>b-Math.exp(-P*t)*(F+(k+P*F)*t);else{let t=P*Math.sqrt(C*C-1);i=e=>{let i=Math.exp(-C*P*e),n=Math.min(t*e,300);return b-i*((k+C*P*F)*Math.sinh(n)+t*F*Math.cosh(n))/t}}let O={calculatedDuration:M&&V||null,next:t=>{let e=i(t);if(M)w.done=t>=V;else{let n=0===t?k:0;C<1&&(n=0===t?(0,r.f)(k):(0,l.Y)(i,t,e));let s=Math.abs(b-e)<=y;w.done=Math.abs(n)<=v&&s}return w.value=w.done?b:e,w},toString:()=>{let t=Math.min((0,a.t)(O),a.Y),e=(0,s.K)(e=>O.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return O}f.applyToOptions=t=>{let e=(0,o.X)(t,100,f);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},90034:(t,e,i)=>{i.d(e,{m:()=>p});var n=i(56448),r=i(59841),s=i(4221),a=i(73790),o=i(5304),l=i(28862),u=i(22626),h=i(62360),d=i(98216);class p extends u.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:u,onComplete:p}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,(0,n.V)("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let c=(0,d.i)(t);this.animation=(0,h.R)(e,i,r,c,s),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,l.X)(r,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,a.e)(e,i,t),this.animation.cancel()}p?.(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,r.X)(Number(t))}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,r.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,o.J)())?(this.animation.timeline=t,s.l):e(this)}}},90037:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(4221);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.l;let a=e=>(function(t,e,i,n,s){let a,o,l=0;do(a=r(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:r(a(t),e,s)}},90898:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var n=i(90037),r=i(21587),s=i(74230);let a=(0,n.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,r.V)(o)},91477:(t,e,i)=>{i.d(e,{A:()=>n});function n(t,e){return t.map(t=>t*e)}},91606:(t,e,i)=>{i.d(e,{KG:()=>u,OQ:()=>h,bt:()=>l});var n=i(83584),r=i(18949),s=i(35145),a=i(88415);let o=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="12.9.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change?.notify(this.current),e&&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 i=this.events[t].add(e);return"change"===t?()=>{i(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=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,r.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.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},91783:(t,e,i)=>{i.d(e,{W:()=>b});var n=i(34221),r=i(8145),s=i(46543);function a(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;nPromise.all(e.map(({animation:e,options:i})=>(0,r._)(t,e,i))),i=m(),c=!0,f=e=>(i,n)=>{let r=(0,h.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function v(r){let{props:m}=t,v=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;tw&&p,k=!1,C=Array.isArray(h)?h:[h],F=C.reduce(f(l),{});!1===A&&(F={});let{prevResolvedValues:P={}}=u,E={...P,...F},O=e=>{M=!0,g.has(e)&&(k=!0,g.delete(e)),u.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=F[t],i=P[t];if(b.hasOwnProperty(t))continue;let n=!1;((0,s.p)(e)&&(0,s.p)(i)?a(e,i):e===i)?void 0!==e&&g.has(t)?O(t):u.protectedKeys[t]=!0:null!=e?O(t):g.add(t)}u.prevProp=h,u.prevResolvedValues=F,u.isActive&&(b={...b,...F}),c&&t.blockInitialAnimation&&(M=!1);let D=!(V&&x)||k;M&&D&&y.push(...C.map(t=>({animation:t,options:{type:l}})))}if(g.size){let e={};if("boolean"!=typeof m.initial){let i=(0,h.K)(t,Array.isArray(m.initial)?m.initial[0]:m.initial);i&&i.transition&&(e.transition=i.transition)}g.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),y.push({animation:e})}let A=!!y.length;return c&&(!1===m.initial||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(A=!1),c=!1,A?e(y):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=v(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=m(),c=!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(){this.node.animationState.reset(),this.unmountControls?.()}}let y=0;class g extends f.X{constructor(){super(...arguments),this.id=y++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let b={animation:{Feature:v},exit:{Feature:g}}},91879:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(10045);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},96419:(t,e,i)=>{i.d(e,{c:()=>c});var n=i(58861),r=i(78377),s=i(73596),a=i(66562);let o=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),l=new WeakSet;function u(t){return e=>{"Enter"===e.key&&t(e)}}function h(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let d=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=u(()=>{if(l.has(i))return;h(i,"down");let t=u(()=>{h(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>h(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function p(t){return(0,s.M)(t)&&!(0,n.D)()}function c(t,e,i={}){let[n,s,u]=(0,a.V)(t,i),h=t=>{let n=t.currentTarget;if(!p(t)||l.has(n))return;l.add(n);let a=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",h),p(t)&&l.has(n)&&(l.delete(n),"function"==typeof a&&a(t,{success:e}))},u=t=>{o(t,n===window||n===document||i.useGlobalTarget||(0,r.w)(n,t.target))},h=t=>{o(t,!1)};window.addEventListener("pointerup",u,s),window.addEventListener("pointercancel",h,s)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",h,s),t instanceof HTMLElement)&&(t.addEventListener("focus",t=>d(t,s)),o.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),u}},96447:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},97749:(t,e,i)=>{i.d(e,{Q:()=>n,v:()=>r});let n=new Set(["none","hidden"]);function r(t,e){return n.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}},97989:(t,e,i)=>{i.d(e,{r:()=>n});function n(t,e){return t?.[e]??t?.default??t}},98216:(t,e,i)=>{i.d(e,{i:()=>s});var n=i(31942),r=i(49948);function s({type:t,...e}){return(0,r.W)(t)&&(0,n.n)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}}}]);