1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c36123ba-a110-f5d2-6878-43da06cd8cd5")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56150,t=>{"use strict";var e=t.i(538305),i=t.i(134026),n=t.i(927740);t.s(["animateSingleValue",0,function(t,s,r){let o=(0,e.isMotionValue)(t)?t:(0,i.motionValue)(t);return o.start((0,n.animateMotionValue)("",o,s,r)),o.animation}])},972143,927740,t=>{"use strict";var e=t.i(320778),i=t.i(747990),n=t.i(965836),s=t.i(347248),r=t.i(444948),o=t.i(184016),a=t.i(820611),l=t.i(891520),u=t.i(984622),h=t.i(392296),c=t.i(363960),d=t.i(954912),m=t.i(175602),p=t.i(924140),f=t.i(858449),v=t.i(883582),g=t.i(667327),y=t.i(348367),x=t.i(640248),T=t.i(815965),P=t.i(791332),V=t.i(699834),S=t.i(32806),w=t.i(161);class b extends P.WithPromise{play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;null==(t=(e=this.animation).finish)||t.call(e)}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(){if(!this.isPseudoElement){var t,e;null==(t=(e=this.animation).commitStyles)||t.call(e)}}get duration(){var t,e;let i=(null==(e=this.animation.effect)||null==(t=e.getComputedTiming)?void 0:t.call(e).duration)||0;return(0,g.millisecondsToSeconds)(Number(i))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,g.millisecondsToSeconds)(t)}get time(){return(0,g.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,g.secondsToMilliseconds)(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(t){let{timeline:e,observe:i}=t;if(this.allowFlatten){var n;null==(n=this.animation.effect)||n.updateTiming({easing:"linear"})}return(this.animation.onfinish=null,e&&(0,T.supportsScrollTimeline)())?(this.animation.timeline=e,m.noop):i(this)}constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:n,keyframes:s,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,(0,y.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const u=function(t){let{type:e}=t,n=(0,i._)(t,["type"]);return(0,w.isGenerator)(e)&&(0,S.supportsLinearEasing)()?e.applyToOptions(n):(null!=n.duration||(n.duration=300),null!=n.ease||(n.ease="easeOut"),n)}(t);this.animation=(0,V.startWaapiAnimation)(e,n,s,u,r),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,f.getFinalKeyframe)(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,x.setStyle)(e,n,t),this.animation.cancel()}null==l||l(),this.notifyFinished()}}}var A=t.i(733468),C=t.i(386183),M=t.i(228696),E=t.i(118744);let D={anticipate:C.anticipate,backInOut:M.backInOut,circInOut:E.circInOut};class R extends b{updateMotionValue(t){var n;let s=this.options,{motionValue:r,onUpdate:o,onComplete:a,element:l}=s,h=(0,i._)(s,["motionValue","onUpdate","onComplete","element"]);if(!r)return;if(void 0!==t)return void r.set(t);let d=new c.JSAnimation((0,u._)((0,e._)({},h),{autoplay:!1})),m=(0,g.secondsToMilliseconds)(null!=(n=this.finishedTime)?n:this.time);r.setWithVelocity(d.sample(m-10).value,d.sample(m).value,10),d.stop()}constructor(t){!function(t){"string"==typeof t.ease&&t.ease in D&&(t.ease=D[t.ease])}(t),(0,A.replaceTransitionType)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}}var B=t.i(377149);let L=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.complex.test(t)||"0"===t)&&!t.startsWith("url("));
2var k=P,j=t.i(338212);let F=new Set(["opacity","clipPath","filter","transform"]),O=(0,j.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class I extends k.WithPromise{onKeyframesResolved(t,i,n,s){this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:v,onUpdate:g}=n;this.resolvedAt=p.time.now(),!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=L(s,e),a=L(r,e);return(0,y.warning)(o===a,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(r,'". "').concat(o?r:s,'" is not an animatable value.'),"value-not-animatable"),!!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,w.isGenerator)(i))&&n)}(t,r,o,a)&&((d.MotionGlobalConfig.instantAnimations||!l)&&(null==g||g((0,f.getFinalKeyframe)(t,n,i))),t[0]=t[t.length-1],(0,h.makeAnimationInstant)(n),n.repeat=0);let x=s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,T=(0,u._)((0,e._)({startTime:x,finalKeyframe:i},n),{keyframes:t}),P=!v&&function(t){var e;let{motionValue:i,name:n,repeatDelay:s,repeatType:r,damping:o,type:a}=t;if(!((null==i||null==(e=i.owner)?void 0:e.current)instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=i.owner.getProps();return O()&&n&&F.has(n)&&("transform"!==n||!u)&&!l&&!s&&"mirror"!==r&&0!==o&&"inertia"!==a}(T)?new R((0,u._)((0,e._)({},T),{element:T.motionValue.owner.current})):new c.JSAnimation(T);P.finished.then(()=>this.notifyFinished()).catch(m.noop),this.pendingTimeline&&(this.stopTimeline=P.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=P}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){if(!this._animation){var t;null==(t=this.keyframeResolver)||t.resume(),(0,v.flushKeyframeResolvers)()}return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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(){var t;this._animation&&this.animation.cancel(),null==(t=this.keyframeResolver)||t.cancel()}constructor(t){var n;let{autoplay:s=!0,delay:r=0,type:o="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",keyframes:h,name:c,motionValue:d,element:m}=t,f=(0,i._)(t,["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);super(),this.stop=()=>{var t,e;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=p.time.now();const g=(0,e._)({autoplay:s,delay:r,type:o,repeat:a,repeatDelay:l,repeatType:u,name:c,motionValue:d,element:m},f),y=(null==m?void 0:m.KeyframeResolver)||v.KeyframeResolver;this.keyframeResolver=new y(h,(t,e,i)=>this.onKeyframesResolved(t,e,g,!i),c,d,m),null==(n=this.keyframeResolver)||n.scheduleResolve()}}let _=t=>null!==t;var N=t.i(229859);let U={type:"spring",stiffness:500,damping:25,restSpeed:10},W={type:"keyframes",duration:.8},G={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},H=function(t,r,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4?arguments[4]:void 0,m=arguments.length>5?arguments[5]:void 0;return p=>{let f=(0,n.getValueTransition)(a,t)||{},v=f.delay||a.delay||0,{elapsed:y=0}=a;y-=(0,g.secondsToMilliseconds)(v);let x=(0,u._)((0,e._)({keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:r.getVelocity()},f),{delay:-y,onUpdate:t=>{r.set(t),f.onUpdate&&f.onUpdate(t)},onComplete:()=>{p(),f.onComplete&&f.onComplete()},name:t,motionValue:r,element:m?void 0:l});!function(t){let{when:e,delay:n,delayChildren:s,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:l,repeatDelay:u,from:h,elapsed:c}=t;return!!Object.keys((0,i._)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"])).length}(f)&&Object.assign(x,((t,e)=>{let{keyframes:i}=e;return i.length>2?W:N.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:U:G})(t,x)),x.duration&&(x.duration=(0,g.secondsToMilliseconds)(x.duration)),x.repeatDelay&&(x.repeatDelay=(0,g.secondsToMilliseconds)(x.repeatDelay)),void 0!==x.from&&(x.keyframes[0]=x.from);let T=!1;if(!1!==x.type&&(0!==x.duration||x.repeatDelay)||((0,h.makeAnimationInstant)(x),0===x.delay&&(T=!0)),(d.MotionGlobalConfig.instantAnimations||d.MotionGlobalConfig.skipAnimations)&&(T=!0,(0,h.makeAnimationInstant)(x),x.delay=0),x.allowFlatten=!f.type&&!f.ease,T&&!m&&void 0!==r.get()){let t=function(t,e){let{repeat:i,repeatType:n="loop"}=e,s=t.filter(_),r=i&&"loop"!==n&&i%2==1?0:s.length-1;return s[r]}(x.keyframes,f);if(void 0!==t)return void s.frame.update(()=>{x.onUpdate(t),x.onComplete()})}return f.isSync?new c.JSAnimation(x):new I(x)}};t.s(["animateMotionValue",0,H],927740),t.s(["animateTarget",0,function(t,u){let{delay:
2h=0,transitionOverride:c,type:d}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:m=t.getDefaultTransition(),transitionEnd:p}=u,f=(0,i._)(u,["transition","transitionEnd"]);c&&(m=c);let v=[],g=d&&t.animationState&&t.animationState.getState()[d];for(let i in f){var y;let o=t.getValue(i,null!=(y=t.latestValues[i])?y:null),u=f[i];if(void 0===u||g&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,s=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,s}(g,i))continue;let c=(0,e._)({delay:h},(0,n.getValueTransition)(m||{},i)),d=o.get();if(void 0!==d&&!o.isAnimating&&!Array.isArray(u)&&u===d&&!c.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let e=(0,l.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,i,s.frame);null!==t&&(c.startTime=t,p=!0)}}(0,a.addValueToWillChange)(t,i),o.start(H(i,o,u,t.shouldReduceMotion&&r.positionalKeys.has(i)?{type:!1}:c,t,p));let x=o.animation;x&&v.push(x)}return p&&Promise.all(v).then(()=>{s.frame.update(()=>{p&&(0,o.setTarget)(t,p)})}),v}],972143)},966064,t=>{"use strict";let e="data-"+(0,t.i(396542).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,e])},891520,392296,t=>{"use strict";var e=t.i(966064);t.s(["getOptimisedAppearId",0,function(t){return t.props[e.optimizedAppearDataAttribute]}],891520),t.s(["makeAnimationInstant",0,function(t){t.duration=0,t.type="keyframes"}],392296)},919309,t=>{"use strict";t.s(["isKeyframesTarget",0,t=>Array.isArray(t)])},689599,t=>{"use strict";var e=t.i(521275),i=t.i(295547);t.s(["usePresence",0,function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:r,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!s&&r?[!1,l]:[!0]}])},612792,t=>{"use strict";let e=(0,t.i(521275).createContext)({});t.s(["LayoutGroupContext",0,e])},122977,727115,56672,385836,809083,869883,t=>{"use strict";var e,i=t.i(521275);let n=(0,i.createContext)({strict:!1});t.s(["LazyContext",0,n],122977);let s=(0,i.createContext)({});t.s(["MotionContext",0,s],727115);var r=t.i(700086),o=t.i(970361);function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:n}=function(t,e){if((0,r.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,o.isVariantLabel)(e)?e:void 0,animate:(0,o.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(s));return(0,i.useMemo)(()=>({initial:e,animate:n}),[a(e),a(n)])}],56672);var l=t.i(320778),u=t.i(984622),h=t.i(538305),c=t.i(161085),d=t.i(58059);let m=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function p(t,e,i){for(let n in e)(0,h.isMotionValue)(e[n])||(0,c.isForcedMotionValue)(n,i)||(t[n]=e[n])}t.s(["createHtmlRenderState",0,m],385836);var f=t.i(242120);let v=()=>(0,u._)((0,l._)({},m()),{attrs:{}});t.s(["createSvgRenderState",0,v],809083);var g=t.i(24189);let y=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function x(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||y.has(t)}let T=t=>!x(t);try{e=t.r(570606).default,"function"==typeof e&&(T=t=>t.startsWith("on")?!x(t):e(t))}catch(t){}var P=t.i(321100);t.s(["useRender",0,function(t,e,n,s,r){let{latestValues:o}=s,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=((0,P.isSVGComponent)(t)?function(t,e,n,s){let r=(0,i.useMemo)(()=>{let i=v();return(0,f.buildSVGAttrs)(i,e,(0,g.isSVGTag)(s),t.transformTemplate,t.style),(0,u._)((0,l._)({},i.attrs),{style:(0,l._)({},i.style)})},[e]);if(t.style){let e={};p(e,t.style,t),r.style=(0,l._)({},e,r.style)}
2return r}:function(t,e){let n,s,r={},o=(n=t.style||{},p(s={},n,t),Object.assign(s,function(t,e){let{transformTemplate:n}=t;return(0,i.useMemo)(()=>{let t=m();return(0,d.buildHTMLStyles)(t,e,n),Object.assign({},t.vars,t.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r})(e,o,r,t),y=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(T(s)||!0===i&&x(s)||!e&&!x(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,a),V=t!==i.Fragment?(0,u._)((0,l._)({},y,c),{ref:n}):{},{children:S}=e,w=(0,i.useMemo)(()=>(0,h.isMotionValue)(S)?S.get():S,[S]);return(0,i.createElement)(t,(0,u._)((0,l._)({},V),{children:w}))}],869883)},295547,t=>{"use strict";let e=(0,t.i(521275).createContext)(null);t.s(["PresenceContext",0,e])},838419,424765,499449,210681,444866,414161,43658,960567,127362,765016,392402,t=>{"use strict";var e=t.i(207738),i=t.i(320778),n=t.i(747990),s=t.i(576002),r=t.i(972143),o=t.i(984622);function a(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function l(t,e){var n;let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},h=(0,s.resolveVariant)(t,e,"exit"===u.type?null==(n=t.presenceContext)?void 0:n.custom:void 0),{transition:c=t.getDefaultTransition()||{}}=h||{};u.transitionOverride&&(c=u.transitionOverride);let d=h?()=>Promise.all((0,r.animateTarget)(t,h,u)):()=>Promise.resolve(),m=t.variantChildren&&t.variantChildren.size?function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:s=0,staggerChildren:r,staggerDirection:h}=c;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,h=arguments.length>6?arguments[6]:void 0,c=[];for(let d of t.variantChildren)d.notify("AnimationStart",e),c.push(l(d,e,(0,o._)((0,i._)({},h),{delay:n+("function"==typeof s?0:s)+a(t.variantChildren,d,s,r,u)})).then(()=>d.notify("AnimationComplete",e)));return Promise.all(c)}(t,e,n,s,r,h,u)}:()=>Promise.resolve(),{when:p}=c;if(!p)return Promise.all([d(),m(u.delay)]);{let[t,e]="beforeChildren"===p?[d,m]:[m,d];return t().then(()=>e())}}function u(t,e){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>l(t,e,n)));else if("string"==typeof e)i=l(t,e,n);else{let o="function"==typeof e?(0,s.resolveVariant)(t,e,n.custom):e;i=Promise.all((0,r.animateTarget)(t,o,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}t.s(["animateVisualElement",0,u],424765);var h=t.i(919309);function c(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var d=t.i(970361),m=t.i(325591);let p=m.variantProps.length,f=[...m.variantPriorityOrder].reverse(),v=m.variantPriorityOrder.length;function g(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function y(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}
2class x{update(){}constructor(t){this.isMounted=!1,this.node=t}}t.s(["Feature",0,x],499449);let T=0;t.s(["animations",0,{animation:{Feature:class extends x{updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,e.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}constructor(t){super(t),t.animationState||(t.animationState=function(t){let r=e=>Promise.all(e.map(e=>{let{animation:i,options:n}=e;return u(t,i,n)})),o=y(),l=!0,g=e=>(r,o)=>{var a;let l=(0,s.resolveVariant)(t,o,"exit"===e?null==(a=t.presenceContext)?void 0:a.custom:void 0);if(l){let{transition:t,transitionEnd:e}=l,s=(0,n._)(l,["transition","transitionEnd"]);r=(0,i._)({},r,s,e)}return r};function x(n){let{props:u}=t,y=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<p;t++){let n=m.variantProps[t],s=e.props[n];((0,d.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},x=[],T=new Set,P={},V=1/0;for(let r=0;r<v;r++){var S,w;let m=f[r],p=o[m],v=void 0!==u[m]?u[m]:y[m],b=(0,d.isVariantLabel)(v),A=m===n?p.isActive:null;!1===A&&(V=r);let C=v===y[m]&&v!==u[m]&&b;if(C&&l&&t.manuallyAnimateOnMount&&(C=!1),p.protectedKeys=(0,i._)({},P),!p.isActive&&null===A||!v&&!p.prevProp||(0,e.isAnimationControls)(v)||"boolean"==typeof v)continue;let M=(S=p.prevProp,"string"==typeof(w=v)?w!==S:!!Array.isArray(w)&&!c(w,S)),E=M||m===n&&p.isActive&&!C&&b||r>V&&b,D=!1,R=Array.isArray(v)?v:[v],B=R.reduce(g(m),{});!1===A&&(B={});let{prevResolvedValues:L={}}=p,k=(0,i._)({},L,B),j=e=>{E=!0,T.has(e)&&(D=!0,T.delete(e)),p.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=B[t],i=L[t];if(!P.hasOwnProperty(t))((0,h.isKeyframesTarget)(e)&&(0,h.isKeyframesTarget)(i)?c(e,i):e===i)?void 0!==e&&T.has(t)?j(t):p.protectedKeys[t]=!0:null!=e?j(t):T.add(t)}p.prevProp=v,p.prevResolvedValues=B,p.isActive&&(P=(0,i._)({},P,B)),l&&t.blockInitialAnimation&&(E=!1);let F=C&&M,O=!F||D;E&&O&&x.push(...R.map(e=>{let i={type:m};if("string"==typeof e&&l&&!F&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,s.resolveVariant)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=a(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(T.size){let e={};if("boolean"!=typeof u.initial){let i=(0,s.resolveVariant)(t,Array.isArray(u.initial)?u.initial[0]:u.initial);i&&i.transition&&(e.transition=i.transition)}T.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=n?n:null}),x.push({animation:e})}let b=!!x.length;return l&&(!1===u.initial||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(b=!1),l=!1,b?r(x):Promise.resolve()}return{animateChanges:x,setActive:function(e,i){var n;if(o[e].isActive===i)return Promise.resolve();null==(n=t.variantChildren)||n.forEach(t=>{var n;return null==(n=t.animationState)?void 0:n.setActive(e,i)}),o[e].isActive=i;let s=x(e);for(let t in o)o[t].protectedKeys={};return s},setAnimateFunction:function(e){r=e(t)},getState:()=>o,reset:()=>{o=y()}}}(t))}}},exit:{Feature:class extends x{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||{};
2e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}constructor(){super(...arguments),this.id=T++}}}}],838419);var P=t.i(175602),V=t.i(347248),S=t.i(647480);let w={x:!1,y:!1};t.s(["isDragActive",0,function(){return w.x||w.y},"isDragging",0,w],210681);var b=t.i(21365),A=t.i(348367),C=t.i(927740);function M(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)}t.s(["addDomEvent",0,M],444866);let E=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function D(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,E],414161);let R=t=>e=>E(e)&&t(e,D(e));function B(t,e,i,n){return M(t,e,R(i),n)}t.s(["addPointerInfo",0,R,"extractEventInfo",0,D],43658);var L=t.i(890511);function k(t){return t.max-t.min}function j(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,S.mixNumber)(e.min,e.max,t.origin),t.scale=k(i)/k(e),t.translate=(0,S.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function F(t,e,i){t.min=i.min+e.min,t.max=t.min+k(e)}function O(t,e,i){t.min=e.min-i.min,t.max=t.min+k(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){j(t.x,e.x,i.x,n?n.originX:void 0),j(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,k,"calcRelativeBox",0,function(t,e,i){F(t.x,e.x,i.x),F(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){O(t.x,e.x,i.x),O(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],960567);var I=t.i(454340);function _(t){return[t("x"),t("y")]}t.s(["eachAxis",0,_],127362);var N=t.i(68145);let U=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var W=t.i(607780),G=t.i(820611),H=t.i(640746),K=t.i(667327);let z=(t,e)=>Math.abs(t-e);class Y{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,V.cancelFrame)(this.updatePoint)}constructor(t,e,{transformPagePoint:n,contextWindow:s=window,dragSnapToOrigin:r=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=q(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=n.offset,e={x:0,y:0},Math.sqrt(z(t.x,e.x)**2+z(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!r)return;let{point:a}=n,{timestamp:l}=V.frameData;this.history.push((0,o._)((0,i._)({},a),{timestamp:l}));let{onStart:u,onMove:h}=this.handlers;s||(u&&u(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=X(e,this.transformPagePoint),V.frame.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=q("pointercancel"===t.type?this.lastMoveEventInfo:X(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!E(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=s||window;const l=X(D(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=V.frameData;this.history=[(0,o._)((0,i._)({},u),{timestamp:h})];const{onSessionStart:c}=e;c&&c(t,q(l,this.history)),this.removeListeners=(0,H.pipe)(B(this.contextWindow,"pointermove",this.handlePointerMove),B(this.contextWindow,"pointerup",this.handlePointerUp),B(this.contextWindow,"pointercancel",this.handlePointerUp))}}function X(t,e){return e?{point:e(t.point)}:t}function Z(t,e){return{x:t.x-e.x,y:t.y-e.y}}function q(t,e){let{point:i}=t;return{point:i,delta:Z(i,J(e)),offset:Z(i,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=J(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,K.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let s=(0,K.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s}
2;return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function J(t){return t[t.length-1]}var $=t.i(747113),Q=t.i(483032);function tt(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 te(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 ti(t,e,i){return{min:tn(t,e),max:tn(t,i)}}function tn(t,e){return"number"==typeof t?t:t[e]||0}let ts=new WeakMap;class tr{start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(D(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(w[t])return null;else return w[t]=!0,()=>{w[t]=!1};return w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_(t=>{let e=this.getAxisMotionValue(t).get()||0;if(b.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=k(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&V.frame.postRender(()=>s(t,e)),(0,G.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=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)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>_(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 Y(t,{onSessionStart:s,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:U(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&V.frame.postRender(()=>o(i,n))}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||!to(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,e,i){let{min:n,max:s}=e;return void 0!==n&&t<n?t=i?(0,S.mixNumber)(n,t,i.min):Math.max(t,n):void 0!==s&&t>s&&(t=i?(0,S.mixNumber)(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,W.isRefObject)(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:tt(t.x,n,r),y:tt(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:ti(t,"left","right"),y:ti(t,"top","bottom")}}(i),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&_(t=>{var e,i;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=n.layoutBox[t],i=this.constraints[t],s={},void 0!==i.min&&(s.min=i.min-e.min),void 0!==i.max&&(s.max=i.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,W.isRefObject)(e))return!1;let n=e.current;(0,A.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=(0,N.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:te(t.x,r.x),y:te(t.y,r.y)});if(i){let t=i((0,L.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,L.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:s,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all(_(a=>{if(!to(a,e,this.currentDirection))return;let u=l&&l[a]||{};o&&(u={min:0,max:0});let h=(0,i._)({type:"inertia",velocity:n?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},r,u);return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,G.addValueToWillChange)(this.visualElement,t),i.start((0,C.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){_(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){_(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){_(e=>{let{drag:i}=this.getProps();if(!to(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,S.mixNumber)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,W.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};_(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,o,a,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,o=k(i),(a=k(s))>o?r=(0,$.progress)(s.min,s.max-o,i.min):o>a&&(r=(0,$.progress)(i.min,i.max-a,s.min)),(0,Q.clamp)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),_(e=>{if(!to(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,S.mixNumber)(s,r,n[e]))})}addListeners(){if(!this.visualElement.current)return;ts.set(this.visualElement,this);let t=B(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,W.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.frame.read(e);let s=M(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&(_(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),t(),n(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:a=.35,dragMomentum:l=!0}=t;return(0,o._)((0,i._)({},t),{drag:e,dragDirectionLock:n,dragPropagation:s,dragConstraints:r,dragElastic:a,dragMomentum:l})}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,I.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function to(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}t.s(["DragGesture",0,class extends x{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||P.noop}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(t){super(t),this.removeGroupControls=P.noop,this.removeListeners=P.noop,this.controls=new tr(t)}}],765016);let ta=t=>(e,i)=>{t&&V.frame.postRender(()=>t(e,i))};t.s(["PanGesture",0,class extends x{onPointerDown(t){this.session=new Y(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ta(t),onStart:ta(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&V.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=B(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=P.noop}}],392402)},752127,938632,t=>{"use strict";var e=t.i(320778),i=t.i(984622),n=t.i(92571),s=t.i(347248),r=t.i(984776),o=t.i(521275),a=t.i(689599),l=t.i(612792),u=t.i(243058);let h={hasAnimatedSinceResize:!0,hasEverUpdated:!1};t.s(["globalProjectionState",0,h],938632);var c=t.i(21365);function d(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let m={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!c.px.test(t))return t;else t=parseFloat(t);let i=d(t,e.target.x),n=d(t,e.target.y);return"".concat(i,"% ").concat(n,"%")}};var p=t.i(377149),f=t.i(647480),v=t.i(321115);let g=!1;class y extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:r}=this.props,{projection:o}=t;(0,v.addScaleCorrector)(x),o&&(n.group&&n.group.add(o),s&&s.register&&r&&s.register(o),g&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions((0,i._)((0,e._)({},o.options),{onExitComplete:()=>this.safeToRemove()}))),h.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,g=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||s.frame.postRender(()=>
2{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),r.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;g=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}let x={borderRadius:(0,i._)((0,e._)({},m),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:m,borderTopRightRadius:m,borderBottomLeftRadius:m,borderBottomRightRadius:m,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:n}=e,s=p.complex.parse(t);if(s.length>5)return t;let r=p.complex.createTransformer(t),o=+("number"!=typeof s[0]),a=n.x.scale*i.x,l=n.y.scale*i.y;s[0+o]/=a,s[1+o]/=l;let u=(0,f.mixNumber)(a,l,.5);return"number"==typeof s[2+o]&&(s[2+o]/=u),"number"==typeof s[3+o]&&(s[3+o]/=u),r(s)}}};t.s(["MeasureLayout",0,function(t){let[s,r]=(0,a.usePresence)(),h=(0,o.useContext)(l.LayoutGroupContext);return(0,n.jsx)(y,(0,i._)((0,e._)({},t),{layoutGroup:h,switchLayoutGroup:(0,o.useContext)(u.SwitchLayoutGroupContext),isPresent:s,safeToRemove:r}))}],752127)},68145,890511,612723,22182,t=>{"use strict";function e(t){let{top:e,left:i,right:n,bottom:s}=t;return{x:{min:i,max:n},y:{min:e,max:s}}}function i(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}t.s(["convertBoundingBoxToBox",0,e,"convertBoxToBoundingBox",0,function(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}},"transformBoxPoints",0,i],890511);var n=t.i(647480);function s(t){return void 0===t||1===t}function r(t){let{scale:e,scaleX:i,scaleY:n}=t;return!s(e)||!s(i)||!s(n)}function o(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}function l(t,e,i){return i+e*(t-i)}function u(t,e,i,n,s){return void 0!==s&&(t=l(t,s,n)),l(t,i,n)+e}function h(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;t.min=u(t.min,e,i,n,s),t.max=u(t.max,e,i,n,s)}function c(t,e){let{x:i,y:n}=e;h(t.x,i.translate,i.scale,i.originPoint),h(t.y,n.translate,n.scale,n.originPoint)}function d(t,e){t.min=t.min+e,t.max=t.max+e}function m(t,e,i,s){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,o=(0,n.mixNumber)(t.min,t.max,r);h(t,e,i,o,s)}function p(t,e){m(t.x,e.x,e.scaleX,e.scale,e.originX),m(t.y,e.y,e.scaleY,e.scale,e.originY)}function f(t,n){return e(i(t.getBoundingClientRect(),n))}t.s(["has2DTranslate",0,a,"hasScale",0,r,"hasTransform",0,o],612723),t.s(["applyBoxDelta",0,c,"applyTreeDeltas",0,function(t,e,i){let n,s,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=i.length;if(a){e.x=e.y=1;for(let l=0;l<a;l++){s=(n=i[l]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&p(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,c(t,s)),r&&o(n.latestValues)&&p(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,l,"transformBox",0,p,"translateAxis",0,d],22182),t.s(["measurePageBox",0,function(t,e,i){let n=f(t,i),{scroll:s}=e;return s&&(d(n.x,s.offset.x),d(n.y,s.offset.y)),n},"measureViewportBox",0,f],68145)},172318,243058,t=>{"use strict";var e=t.i(320778),i=t.i(984622),n=t.i(92571),s=t.i(521275),r=t.i(612792),o=t.i(122977),a=t.i(177398),l=t.i(727115),u=t.i(56672),h=t.i(869883),c=t.i(321100),d=t.i(681236),m=t.i(51810),p=t.i(77939),f=t.i(957679),v=t.i(453570),g=t.i(894615),y=t.i(931854),x=t.i(966064),T=t.i(295547);let P=(0,s.createContext)({});t.s(["SwitchLayoutGroupContext",0,P],243058);var V=t.i(607780),S=t.i(556865);function w(t){var w,b;let{forwardMotionProps:A=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},C=arguments.length>2?arguments[2]:void 0,M=arguments.length>3?arguments[3]:void 0;C&&(0,v.loadFeatures)(C);let E=(0,c.isSVGComponent)(t)?m.useSVGVisualState:d.useHTMLVisualState;function D(c,d){let m,v=(0,i._)((0,e._)({},(0,s.useContext)(a.MotionConfigContext),c),{layoutId:function(t){let{layoutId:e}=t,i=(0,s.useContext)(r.LayoutGroupContext).id;return i&&void 0!==e?i+"-"+e:e}(c)}),{isStatic:g}=v,w=(0,u.useCreateMotionContext)(c),b=E(c,g);if(!g&&p.isBrowser){(0,s.useContext)(o.LazyContext).strict;let i=function(t){let{drag:i,layout:n}=f.featureDefinitions;if(!i&&!n)return{};let s=(0,e._)({},i,n);return{MeasureLayout:(null==i?void 0:i.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
2(v);m=i.MeasureLayout,w.visualElement=function(t,e,i,n,r){var u,h,c,d;let{visualElement:m}=(0,s.useContext)(l.MotionContext),p=(0,s.useContext)(o.LazyContext),f=(0,s.useContext)(T.PresenceContext),v=(0,s.useContext)(a.MotionConfigContext).reducedMotion,g=(0,s.useRef)(null);n=n||p.renderer,!g.current&&n&&(g.current=n(t,{visualState:e,parent:m,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:v}));let y=g.current,w=(0,s.useContext)(P);y&&!y.projection&&r&&("html"===y.type||"svg"===y.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!o||a&&(0,V.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(g.current,i,r,w);let b=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{y&&b.current&&y.update(i,f)});let A=i[x.optimizedAppearDataAttribute],C=(0,s.useRef)(!!A&&!(null==(u=(h=window).MotionHandoffIsComplete)?void 0:u.call(h,A))&&(null==(c=(d=window).MotionHasOptimisedAnimation)?void 0:c.call(d,A)));return(0,S.useIsomorphicLayoutEffect)(()=>{y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),C.current&&y.animationState&&y.animationState.animateChanges())}),(0,s.useEffect)(()=>{y&&(!C.current&&y.animationState&&y.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,A)}),C.current=!1),y.enteringChildren=void 0)}),y}(t,b,v,M,i.ProjectionNode)}return(0,n.jsxs)(l.MotionContext.Provider,{value:w,children:[m&&w.visualElement?(0,n.jsx)(m,(0,e._)({visualElement:w.visualElement},v)):null,(0,h.useRender)(t,c,(0,y.useMotionRef)(b,w.visualElement,d),b,g,A)]})}D.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(w=null!=(b=t.displayName)?b:t.name)?w:"",")"));let R=(0,s.forwardRef)(D);return R[g.motionComponentSymbol]=t,R}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return w;let i=new Map,n=(i,n)=>w(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,w(r,void 0,t,e)),i.get(r))})}],172318)},70477,t=>{"use strict";var e=t.i(8893),i=t.i(172318),n=t.i(320778),s=t.i(838419),r=t.i(765016),o=t.i(392402),a=t.i(752127),l=t.i(984622),u=t.i(680124),h=t.i(361979),c=t.i(597471),d=t.i(347248),m=t.i(965836),p=t.i(924140),f=t.i(984776),v=t.i(840289),g=t.i(134026),y=t.i(647480),x=t.i(824949),T=t.i(483032),P=t.i(175602),V=t.i(56150),S=t.i(891520),w=t.i(133639);let b=(t,e)=>t.depth-e.depth;class A{add(t){(0,w.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,w.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(b),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}t.i(667327);var C=t.i(855539),M=t.i(21365),E=t.i(747113),D=t.i(118744);let R=["TopLeft","TopRight","BottomLeft","BottomRight"],B=R.length,L=t=>"string"==typeof t?parseFloat(t):t,k=t=>"number"==typeof t||M.px.test(t);function j(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let F=I(0,.5,D.circOut),O=I(.5,.95,P.noop);function I(t,e,i){return n=>n<t?0:n>e?1:i((0,E.progress)(t,e,n))}function _(t,e){t.min=e.min,t.max=e.max}function N(t,e){_(t.x,e.x),_(t.y,e.y)}function U(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var W=t.i(22182),G=t.i(960567);function H(t,e,i,n,s){return t-=e,t=(0,W.scalePoint)(t,1/i,n),void 0!==s&&(t=(0,W.scalePoint)(t,1/s,n)),t}function K(t,e,i,n,s){let[r,o,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(M.percent.test(e)&&(e=parseFloat(e),e=(0,y.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,y.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=H(t.min,e,i,a,s),t.max=H(t.max,e,i,a,s)}(t,e[r],e[o],e[a],e.scale,n,s)}let z=["x","scaleX","originX"],Y=["y","scaleY","originY"];function X(t,e,i,n){K(t.x,e,z,i?i.x:void 0,n?n.x:void 0),K(t.y,e,Y,i?i.y:void 0,n?n.y:void 0)}var Z=t.i(454340);function q(t){return 0===t.translate&&1===t.scale}function J(t){return q(t.x)&&q(t.y)}function $(t,e){return t.min===e.min&&t.max===e.max}function Q(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tt(t,e){return Q(t.x,e.x)&&Q(t.y,e.y)}function te(t){return(0,G.calcLength)(t.x)/(0,G.calcLength)(t.y)}function ti(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class tn{add(t){(0,w.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,w.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
2}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}constructor(){this.members=[]}}var ts=t.i(321115),tr=t.i(127362),to=t.i(612723),ta=t.i(938632);let tl={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tu=["","X","Y","Z"],th=0;function tc(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function td(t){let{attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:o}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new x.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];let s=this.eventHandlers.get(t);s&&s.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,h.isSVGElement)(t)&&!(0,c.isSVGSVGElement)(t),this.instance=t;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),e){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;d.frame.read(()=>{n=window.innerWidth}),e(t,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=p.time.now(),r=t=>{let{timestamp:i}=t,n=i-e;n>=250&&((0,d.cancelFrame)(r),s())},d.frame.setup(r,!0),i=()=>(0,d.cancelFrame)(r),ta.globalProjectionState.hasAnimatedSinceResize&&(ta.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tP))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:o}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||r.getDefaultTransition()||tE,{onLayoutAnimationStart:u,onLayoutAnimationComplete:h}=r.getProps(),c=!this.targetLayout||!tt(this.targetLayout,o),d=!i&&s;if(this.options.layoutRoot||this.resumeFrom||d||i&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t=(0,l._)((0,n._)({},(0,m.getValueTransition)(a,"layout")),{onPlay:u,onComplete:h});(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d)}else i||tP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,d.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tw),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,S.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",d.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}
2(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ty);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tx);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tT),this.nodes.forEach(tm),this.nodes.forEach(tp)):this.nodes.forEach(tx),this.clearAllSnapshots();let t=p.time.now();d.frameData.delta=(0,T.clamp)(0,1e3/60,t-d.frameData.timestamp),d.frameData.timestamp=t,d.frameData.isProcessing=!0,d.frameSteps.update.process(d.frameData),d.frameSteps.preRender.process(d.frameData),d.frameSteps.render.process(d.frameData),d.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,f.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tg),this.sharedNodes.forEach(tb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,d.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){d.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,G.calcLength)(this.snapshot.measuredBox.x)||(0,G.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,Z.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!J(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,to.hasTransform)(this.latestValues)||s)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),tB((t=n).x),tB(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,Z.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tk))){let{scroll:t}=this.root;t&&((0,W.translateAxis)(i.x,t.offset.x),(0,W.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,Z.createBox)();if(N(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&N(i,t),(0,W.translateAxis)(i.x,s.offset.x),(0,W.translateAxis)(i.y,s.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,Z.createBox)();N(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,W.transformBox)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,to.hasTransform)(n.latestValues)&&(0,W.transformBox)(i,n.latestValues)}return(0,to.hasTransform)(this.latestValues)&&(0,W.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,Z.createBox)();N(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,to.hasTransform)(i.latestValues))continue;(0,to.hasScale)(i.latestValues)&&i.updateSnapshot();let n=(0,Z.createBox)();N(n,i.measurePageBox()),X(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,to.hasTransform)(this.latestValues)&&X(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=(0,l._)((0,n._)({},this.options,t),{crossfade:void 0===t.crossfade||t.crossfade})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==d.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==i;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(this.layout&&(s||r)){if(this.resolvedRelativeTargetAt=d.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Z.createBox)(),this.relativeTargetOrigin=(0,Z.createBox)(),(0,G.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),N(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,Z.createBox)(),this.targetWithTransforms=(0,Z.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,G.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):N(this.target,this.layout.layoutBox),(0,W.applyBoxDelta)(this.target,this.targetDelta)):N(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Z.createBox)(),this.relativeTargetOrigin=(0,Z.createBox)(),(0,G.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),N(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}u.statsBuffer.value&&tl.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,to.hasScale)(this.parent.latestValues)||(0,to.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===d.frameData.timestamp&&(n=!1),n)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;N(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,W.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,Z.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(U(this.prevProjectionDelta.x,this.projectionDelta.x),U(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,G.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&ti(this.projectionDelta.x,this.prevProjectionDelta.x)&&ti(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),u.statsBuffer.value&&tl.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,Z.createDelta)(),this.projectionDelta=(0,Z.createDelta)(),this.projectionDeltaWithTransform=(0,Z.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,r=s?s.latestValues:{},o=(0,n._)({},this.latestValues),a=(0,Z.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let l=(0,Z.createBox)(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(tM));this.animationProgress=0,this.mixTargetDelta=i=>{let n=i/1e3;if(tA(a.x,t.x,n),tA(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var s,h,m,p,f,v;(0,G.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=l,v=n,tC(m.x,p.x,f.x,v),tC(m.y,p.y,f.y,v),e&&(s=this.relativeTarget,h=e,$(s.x,h.x)&&$(s.y,h.y))&&(this.isProjectionDirty=!1),e||(e=(0,Z.createBox)()),N(e,this.relativeTarget)}
2u&&(this.animationValues=o,function(t,e,i,n,s,r){var o,a,l,u;s?(t.opacity=(0,y.mixNumber)(0,null!=(o=i.opacity)?o:1,F(n)),t.opacityExit=(0,y.mixNumber)(null!=(a=e.opacity)?a:1,0,O(n))):r&&(t.opacity=(0,y.mixNumber)(null!=(l=e.opacity)?l:1,null!=(u=i.opacity)?u:1,n));for(let s=0;s<B;s++){let r="border".concat(R[s],"Radius"),o=j(e,r),a=j(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||k(o)===k(a)?(t[r]=Math.max((0,y.mixNumber)(L(o),L(a),n),0),(M.percent.test(a)||M.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,y.mixNumber)(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,s;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(s=this.resumingFrom)||null==(i=s.currentAnimation)||i.stop(),this.pendingAnimation&&((0,d.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=d.frame.update(()=>{ta.globalProjectionState.hasAnimatedSinceResize=!0,v.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,g.motionValue)(0)),this.currentAnimation=(0,V.animateSingleValue)(this.motionValue,[0,1e3],(0,l._)((0,n._)({},t),{velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{v.activeAnimations.layout--},onComplete:()=>{v.activeAnimations.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&tL(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,Z.createBox)();let e=(0,G.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=(0,G.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}N(e,i),(0,W.transformBox)(e,s),(0,G.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tn),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&tc("z",t,n,this.animationValues);for(let e=0;e<tu.length;e++)tc("rotate".concat(tu[e]),t,n,this.animationValues),tc("skew".concat(tu[e]),t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,C.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,C.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,to.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();
2let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||r||o)&&(n="translate3d(".concat(s,"px, ").concat(r,"px, ").concat(o,"px) ")),(1!==e.x||1!==e.y)&&(n+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:o,skewY:a}=i;t&&(n="perspective(".concat(t,"px) ").concat(n)),e&&(n+="rotate(".concat(e,"deg) ")),s&&(n+="rotateX(".concat(s,"deg) ")),r&&(n+="rotateY(".concat(r,"deg) ")),o&&(n+="skewX(".concat(o,"deg) ")),a&&(n+="skewY(".concat(a,"deg) "))}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+="scale(".concat(a,", ").concat(l,")")),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;if(t.transformOrigin="".concat(100*o.origin,"% ").concat(100*a.origin,"% 0"),n.animationValues){var l,u;t.opacity=n===this?null!=(l=null!=(u=s.opacity)?u:this.latestValues.opacity)?l:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit}else t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;
2for(let e in ts.scaleCorrectors){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ts.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,C.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(ty),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=th++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,u.statsBuffer.value&&(tl.nodes=tl.calculatedTargetDeltas=tl.calculatedProjections=0),this.nodes.forEach(tf),this.nodes.forEach(tV),this.nodes.forEach(tS),this.nodes.forEach(tv),u.statsBuffer.addProjectionMetrics&&u.statsBuffer.addProjectionMetrics(tl)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new A)}}}function tm(t){t.updateLayout()}function tp(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:s}=t.options,r=i.source!==t.layout.source;"size"===s?(0,tr.eachAxis)(t=>{let n=r?i.measuredBox[t]:i.layoutBox[t],s=(0,G.calcLength)(n);n.min=e[t].min,n.max=n.min+s}):tL(s,i.layoutBox,e)&&(0,tr.eachAxis)(n=>{let s=r?i.measuredBox[n]:i.layoutBox[n],o=(0,G.calcLength)(e[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,Z.createDelta)();(0,G.calcBoxDelta)(o,e,i.layoutBox);let a=(0,Z.createDelta)();r?(0,G.calcBoxDelta)(a,t.applyTransform(n,!0),i.measuredBox):(0,G.calcBoxDelta)(a,e,i.layoutBox);let l=!J(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=(0,Z.createBox)();(0,G.calcRelativePosition)(o,i.layoutBox,s.layoutBox);let a=(0,Z.createBox)();(0,G.calcRelativePosition)(a,e,r.layoutBox),tt(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tf(t){u.statsBuffer.value&&tl.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tg(t){t.clearSnapshot()}function ty(t){t.clearMeasurements()}function tx(t){t.isLayoutDirty=!1}function tT(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tV(t){t.resolveTargetDelta()}function tS(t){t.calcProjection()}
2function tw(t){t.resetSkewAndRotation()}function tb(t){t.removeLeadSnapshot()}function tA(t,e,i){t.translate=(0,y.mixNumber)(e.translate,0,i),t.scale=(0,y.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tC(t,e,i,n){t.min=(0,y.mixNumber)(e.min,i.min,n),t.max=(0,y.mixNumber)(e.max,i.max,n)}function tM(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tE={duration:.45,ease:[.4,0,.1,1]},tD=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tR=tD("applewebkit/")&&!tD("chrome/")?Math.round:P.noop;function tB(t){t.min=tR(t.min),t.max=tR(t.max)}function tL(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,G.isNear)(te(e),te(i),.2)}function tk(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tj=t.i(444866);let tF=td({attachResizeListener:(t,e)=>(0,tj.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tO={current:void 0},tI=td({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tO.current){let t=new tF({});t.mount(window),t.setOptions({layoutScroll:!0}),tO.current=t}return tO.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),t_={pan:{Feature:o.PanGesture},drag:{Feature:r.DragGesture,ProjectionNode:tI,MeasureLayout:a.MeasureLayout}};var tN=t.i(210681),tU=t.i(369710);function tW(t,e){let i=(0,tU.resolveElements)(t),s=new AbortController;return[i,(0,l._)((0,n._)({passive:!0},e),{signal:s.signal}),()=>s.abort()]}function tG(t){return!("touch"===t.pointerType||(0,tN.isDragActive)())}var tH=t.i(43658),tK=t.i(499449);function tz(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&d.frame.postRender(()=>s(e,(0,tH.extractEventInfo)(e)))}class tY extends tK.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=tW(t,i),o=t=>{if(!tG(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{tG(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,s)};return n.forEach(t=>{t.addEventListener("pointerenter",o,s)}),r}(t,(t,e)=>(tz(this.node,e,"Start"),t=>tz(this.node,t,"End"))))}unmount(){}}var tX=t.i(640746),tZ=tK;class tq extends tZ.Feature{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,tX.pipe)((0,tj.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tj.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}var tJ=t.i(812064);let t$=(t,e)=>!!e&&(t===e||t$(t,e.parentElement));var tQ=t.i(414161);let t0=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),t1=new WeakSet;function t2(t){return e=>{"Enter"===e.key&&t(e)}}function t4(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function t9(t){return(0,tQ.isPrimaryPointer)(t)&&!(0,tN.isDragActive)()}var t3=tK;function t5(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&d.frame.postRender(()=>s(e,(0,tH.extractEventInfo)(e)))}class t8 extends t3.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=tW(t,i),o=t=>{let n=t.currentTarget;if(!t9(t))return;t1.add(n);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),t1.has(n)&&t1.delete(n),t9(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||t$(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};
2return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,tJ.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=t2(()=>{if(t1.has(i))return;t4(i,"down");let t=t2(()=>{t4(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>t4(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),t0.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(t5(this.node,e,"Start"),(t,e)=>{let{success:i}=e;return t5(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var t6=tK,t7=t.i(747990);let et=new WeakMap,ee=new WeakMap,ei=t=>{let e=et.get(t.target);e&&e(t)},en=t=>{t.forEach(ei)},es={some:0,all:1};class er extends t6.Feature{startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:o="some",once:a}=i,l={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof o?o:es[o]},u=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!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)};return t=this.node.current,e=function(t){let{root:e}=t,i=(0,t7._)(t,["root"]),s=e||document;ee.has(s)||ee.set(s,{});let r=ee.get(s),o=JSON.stringify(i);return r[o]||(r[o]=new IntersectionObserver(en,(0,n._)({root:e},i))),r[o]}(l),et.set(t,u),e.observe(t),()=>{et.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let eo={layout:{ProjectionNode:tI,MeasureLayout:a.MeasureLayout}},ea=(0,n._)({},s.animations,{inView:{Feature:er},tap:{Feature:t8},focus:{Feature:tq},hover:{Feature:tY}},t_,eo),el=(0,i.createMotionProxy)(ea,e.createDomVisualElement);t.s(["motion",0,el],70477)},8893,321100,t=>{"use strict";var e=t.i(521275),i=t.i(420993),n=t.i(24643);let s=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(t){if("string"!=typeof t||t.includes("-"));else if(s.indexOf(t)>-1||RegExp("[A-Z]","u").test(t))return!0;return!1}t.s(["isSVGComponent",0,r],321100),t.s(["createDomVisualElement",0,(t,s)=>r(t)?new n.SVGVisualElement(s):new i.HTMLVisualElement(s,{allowProjection:t!==e.Fragment})],8893)},396542,t=>{"use strict";t.s(["camelToDash",0,t=>t.replace(RegExp("([a-z])([A-Z])","gu"),"$1-$2").toLowerCase()])},420993,579639,227234,58059,419218,321115,161085,432314,t=>{"use strict";var e=t.i(229859),i=t.i(238740),n=t.i(242210),s=t.i(68145),r=t.i(636056),o=t.i(538305),a=t.i(320778),l=t.i(747990),u=t.i(883582),h=t.i(924140),c=t.i(347248),d=t.i(134026),m=t.i(946974),p=t.i(377149),f=t.i(920885),v=t.i(984776),g=t.i(811855),y=t.i(440919),x=t.i(824949),T=t.i(957679),P=t.i(454340),V=t.i(162370),S=t.i(974960),w=t.i(805494),b=t.i(700086),A=t.i(419335),C=t.i(459380);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class E{scrapeMotionValuesFromProps(t,e,i){return{}}mount(t){var e;this.current=t,w.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),S.hasReducedMotionListener.current||(0,V.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||S.prefersReducedMotion.current),null==(e=this.parent)||e.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;
2for(let e in this.projection&&this.projection.unmount(),(0,c.cancelFrame)(this.notifyUpdate),(0,c.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=e.transformProps.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=i.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&c.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{r(),n&&n(),i.owner&&i.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 T.featureDefinitions){let e=T.featureDefinitions[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,P.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<M.length;e++){let i=M[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=(0,A.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let 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,d.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&((0,g.isNumericalString)(n)||(0,y.isZeroValueString)(n))?n=parseFloat(n):!(0,m.findValueType)(n)&&p.complex.test(e)&&(n=(0,f.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,o.isMotionValue)(n)?n.get():n)),(0,o.isMotionValue)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){var n;let s=(0,C.resolveVariantFromProps)(this.props,i,null==(n=this.presenceContext)?void 0:n.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,o.isMotionValue)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new x.SubscriptionManager),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){v.microtask.render(this.render)}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:s,visualState:r},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=u.
2KeyframeResolver,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=h.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,c.frame.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=r;this.latestValues=m,this.baseTarget=(0,a._)({},m),this.initialValues=e.initial?(0,a._)({},m):{},this.renderState=p,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=d,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,b.isControllingVariants)(e),this.isVariantNode=(0,b.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const f=this.scrapeMotionValuesFromProps(e,{},this),{willChange:v}=f,g=(0,l._)(f,["willChange"]);for(const t in g){const e=g[t];void 0!==m[t]&&(0,o.isMotionValue)(e)&&e.set(m[t])}}}t.s(["VisualElement",0,E],579639);class D extends E{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:n}=e;delete i[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}constructor(){super(...arguments),this.KeyframeResolver=r.DOMKeyframesResolver}}t.s(["DOMVisualElement",0,D],227234);let R=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var B=t.i(124424);let L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},k=e.transformPropOrder.length;function j(t,i,s){let{style:r,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in i){let s=i[t];if(e.transformProps.has(t)){l=!0;continue}if((0,n.isCSSVariableName)(t)){o[t]=s;continue}{let e=R(s,B.numberValueTypes[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}if(!i.transform&&(l||s?r.transform=function(t,i,n){let s="",r=!0;for(let o=0;o<k;o++){let a=e.transformPropOrder[o],l=t[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||n){let t=R(l,B.numberValueTypes[a]);if(!u){r=!1;let e=L[a]||a;s+="".concat(e,"(").concat(t,") ")}n&&(i[a]=t)}}return s=s.trim(),n?s=n(i,r?"":s):r&&(s="none"),s}(i,t.transform,s):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin="".concat(t," ").concat(e," ").concat(i)}}function F(t,e,i,n){let s,{style:r,vars:o}=e,a=t.style;for(s in r)a[s]=r[s];for(s in null==n||n.applyProjectionStyles(a,i),o)a.setProperty(s,o[s])}t.s(["buildHTMLStyles",0,j],58059),t.s(["renderHTML",0,F],419218);let O={};function I(t,i){let{layout:n,layoutId:s}=i;return e.transformProps.has(t)||t.startsWith("origin")||(n||void 0!==s)&&(!!O[t]||"opacity"===t)}function _(t,e,i){let{style:n}=t,s={};for(let a in n){var r;((0,o.isMotionValue)(n[a])||e.style&&(0,o.isMotionValue)(e.style[a])||I(a,t)||(null==i||null==(r=i.getValue(a))?void 0:r.liveStyle)!==void 0)&&(s[a]=n[a])}return s}t.s(["addScaleCorrector",0,function(t){for(let e in t)O[e]=t[e],(0,n.isCSSVariableName)(e)&&(O[e].isCSSVariable=!0)},"scaleCorrectors",0,O],321115),t.s(["isForcedMotionValue",0,I],161085),t.s(["scrapeMotionValuesFromProps",0,_],432314),t.s(["HTMLVisualElement",0,class extends D{readValueFromInstance(t,s){var r;if(e.transformProps.has(s))return(null==(r=this.projection)?void 0:r.isProjecting)?(0,i.defaultTransformValue)(s):(0,i.readTransformValue)(t,s);{let e=window.getComputedStyle(t),i=((0,n.isCSSVariableName)(s)?e.getPropertyValue(s):e[s])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return(0,s.measureViewportBox)(t,i)}build(t,e,i){j(t,e,i.transformTemplate)}
2scrapeMotionValuesFromProps(t,e,i){return _(t,e,i)}constructor(){super(...arguments),this.type="html",this.renderInstance=F}}],420993)},681236,855539,51810,453570,894615,607780,931854,t=>{"use strict";var e=t.i(747990),i=t.i(521275),n=t.i(207738),s=t.i(727115),r=t.i(295547),o=t.i(700086),a=t.i(459380),l=t.i(426691),u=t.i(538305);function h(t){return(0,u.isMotionValue)(t)?t.get():t}t.s(["resolveMotionValue",0,h],855539);let c=t=>(u,c)=>{let d=(0,i.useContext)(s.MotionContext),m=(0,i.useContext)(r.PresenceContext),p=()=>(function(t,i,s,r){let{scrapeMotionValuesFromProps:l,createRenderState:u}=t;return{latestValues:function(t,i,s,r){let l={},u=r(t,{});for(let t in u)l[t]=h(u[t]);let{initial:c,animate:d}=t,m=(0,o.isControllingVariants)(t),p=(0,o.isVariantNode)(t);i&&p&&!m&&!1!==t.inherit&&(void 0===c&&(c=i.initial),void 0===d&&(d=i.animate));let f=!!s&&!1===s.initial,v=(f=f||!1===c)?d:c;if(v&&"boolean"!=typeof v&&!(0,n.isAnimationControls)(v)){let i=Array.isArray(v)?v:[v];for(let n=0;n<i.length;n++){let s=(0,a.resolveVariantFromProps)(t,i[n]);if(s){let{transitionEnd:t,transition:i}=s,n=(0,e._)(s,["transitionEnd","transition"]);for(let t in n){let e=n[t];if(Array.isArray(e)){let t=f?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(i,s,r,l),renderState:u()}})(t,u,d,m);return c?p():(0,l.useConstant)(p)};var d=t.i(385836);let m=c({scrapeMotionValuesFromProps:t.i(432314).scrapeMotionValuesFromProps,createRenderState:d.createHtmlRenderState});t.s(["useHTMLVisualState",0,m],681236);var p=t.i(809083);let f=c({scrapeMotionValuesFromProps:t.i(757411).scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",0,f],51810);var v=t.i(320778),g=t.i(957679);t.s(["loadFeatures",0,function(t){for(let e in t)g.featureDefinitions[e]=(0,v._)({},g.featureDefinitions[e],t[e])}],453570);let y=Symbol.for("motionComponentSymbol");function x(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["motionComponentSymbol",0,y],894615),t.s(["isRefObject",0,x],607780),t.s(["useMotionRef",0,function(t,e,n){return(0,i.useCallback)(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"==typeof n?n(i):x(n)&&(n.current=i))},[e])}],931854)},805494,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},24643,242120,24189,757411,t=>{"use strict";var e=t.i(229859),i=t.i(698158),n=t.i(454340),s=t.i(227234),r=t.i(396542),o=t.i(747990),a=t.i(58059),l=t.i(21365);let u={offset:"stroke-dashoffset",array:"stroke-dasharray"},h={offset:"strokeDashoffset",array:"strokeDasharray"};function c(t,e,i,n,s){var r,c;let[d,...m]=[e,i,n,s],{attrX:p,attrY:f,attrScale:v,pathLength:g,pathSpacing:y=1,pathOffset:x=0}=d,T=(0,o._)(d,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]),[P,...V]=m,[S,...w]=V,[b]=w;if((0,a.buildHTMLStyles)(t,T,S),P){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:A,style:C}=t;A.transform&&(C.transform=A.transform,delete A.transform),(C.transform||A.transformOrigin)&&(C.transformOrigin=null!=(r=A.transformOrigin)?r:"50% 50%",delete A.transformOrigin),C.transform&&(C.transformBox=null!=(c=null==b?void 0:b.transformBox)?c:"fill-box",delete A.transformBox),void 0!==p&&(A.x=p),void 0!==f&&(A.y=f),void 0!==v&&(A.scale=v),void 0!==g&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let r=s?u:h;t[r.offset]=l.px.transform(-n);let o=l.px.transform(e),a=l.px.transform(i);t[r.array]="".concat(o," ").concat(a)}(A,g,y,x,!1)}
2t.s(["buildSVGAttrs",0,c],242120);let d=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"]),m=t=>"string"==typeof t&&"svg"===t.toLowerCase();t.s(["isSVGTag",0,m],24189);var p=t.i(419218),f=t.i(538305),v=t.i(432314);function g(t,i,n){let s=(0,v.scrapeMotionValuesFromProps)(t,i,n);for(let n in t)((0,f.isMotionValue)(t[n])||(0,f.isMotionValue)(i[n]))&&(s[-1!==e.transformPropOrder.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}t.s(["scrapeMotionValuesFromProps",0,g],757411);class y extends s.DOMVisualElement{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,n){if(e.transformProps.has(n)){let t=(0,i.getDefaultValueType)(n);return t&&t.default||0}return n=d.has(n)?n:(0,r.camelToDash)(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,e,i){return g(t,e,i)}build(t,e,i){c(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,p.renderHTML)(t,e,void 0,n),e.attrs)t.setAttribute(d.has(i)?i:(0,r.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=m(t.tagName),super.mount(t)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n.createBox}}t.s(["SVGVisualElement",0,y],24643)},700086,207738,970361,325591,419335,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,e],207738),t.s(["isVariantLabel",0,i],970361);let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...n];function r(t){return e(t.animate)||s.some(e=>i(t[e]))}t.s(["variantPriorityOrder",0,n,"variantProps",0,s],325591),t.s(["isControllingVariants",0,r,"isVariantNode",0,function(t){return!!(r(t)||t.variants)}],700086);var o=t.i(538305),a=t.i(134026);t.s(["updateMotionValuesFromProps",0,function(t,e,i){for(let n in e){let s=e[n],r=i[n];if((0,o.isMotionValue)(s))t.addValue(n,s);else if((0,o.isMotionValue)(r))t.addValue(n,(0,a.motionValue)(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,a.motionValue)(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}],419335)},576002,t=>{"use strict";var e=t.i(459380);t.s(["resolveVariant",0,function(t,i,n){let s=t.getProps();return(0,e.resolveVariantFromProps)(s,i,void 0!==n?n:s.custom,t)}])},459380,t=>{"use strict";function e(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}t.s(["resolveVariantFromProps",0,function(t,i,n,s){if("function"==typeof i){let[r,o]=e(s);i=i(void 0!==n?n:t.custom,r,o)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[r,o]=e(s);i=i(void 0!==n?n:t.custom,r,o)}return i}])},184016,820611,t=>{"use strict";var e=t.i(320778),i=t.i(747990),n=t.i(134026),s=t.i(919309),r=t.i(576002);t.s(["setTarget",0,function(t,o){let a=(0,r.resolveVariant)(t,o)||{},{transitionEnd:l={},transition:u={}}=a,h=(0,i._)(a,["transitionEnd","transition"]);for(let i in h=(0,e._)({},h,l)){var c;let e=(c=h[i],(0,s.isKeyframesTarget)(c)?c[c.length-1]||0:c);t.hasValue(i)?t.getValue(i).set(e):t.addValue(i,(0,n.motionValue)(e))}}],184016);var o=t.i(954912),a=t.i(538305);t.s(["addValueToWillChange",0,function(t,e){let i=t.getValue("willChange");if((0,a.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&o.MotionGlobalConfig.WillChange){let i=new o.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}],820611)},161,t=>{"use strict";t.s(["isGenerator",0,function(t){return"function"==typeof t&&"applyToOptions"in t}])},636056,124424,698158,920885,946974,984776,957679,454340,974960,162370,t=>{"use strict";var e=t.i(444948),i=t.i(896091),n=t.i(110332),s=t.i(242210),r=t.i(883582),o=t.i(440919),a=t.i(377149),l=t.i(320778),u=t.i(984622),h=t.i(801935);let c=new Set(["brightness","contrast","saturate","opacity"]);function d(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(h.floatRegex)||[];
2if(!n)return t;let s=i.replace(n,""),r=+!!c.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let m=RegExp("\\b([a-z-]*)\\(.*?\\)","gu"),p=(0,u._)((0,l._)({},a.complex),{getAnimatableNone:t=>{let e=t.match(m);return e?e.map(d).join(" "):t}});var f=t.i(168826),v=t.i(960851);let g=(0,u._)((0,l._)({},v.number),{transform:Math.round});var y=t.i(21365);let x={rotate:y.degrees,rotateX:y.degrees,rotateY:y.degrees,rotateZ:y.degrees,scale:v.scale,scaleX:v.scale,scaleY:v.scale,scaleZ:v.scale,skew:y.degrees,skewX:y.degrees,skewY:y.degrees,distance:y.px,translateX:y.px,translateY:y.px,translateZ:y.px,x:y.px,y:y.px,z:y.px,perspective:y.px,transformPerspective:y.px,opacity:v.alpha,originX:y.progressPercentage,originY:y.progressPercentage,originZ:y.px},T=(0,u._)((0,l._)({borderWidth:y.px,borderTopWidth:y.px,borderRightWidth:y.px,borderBottomWidth:y.px,borderLeftWidth:y.px,borderRadius:y.px,radius:y.px,borderTopLeftRadius:y.px,borderTopRightRadius:y.px,borderBottomRightRadius:y.px,borderBottomLeftRadius:y.px,width:y.px,maxWidth:y.px,height:y.px,maxHeight:y.px,top:y.px,right:y.px,bottom:y.px,left:y.px,padding:y.px,paddingTop:y.px,paddingRight:y.px,paddingBottom:y.px,paddingLeft:y.px,margin:y.px,marginTop:y.px,marginRight:y.px,marginBottom:y.px,marginLeft:y.px,backgroundPositionX:y.px,backgroundPositionY:y.px},x),{zIndex:g,fillOpacity:v.alpha,strokeOpacity:v.alpha,numOctaves:g});t.s(["numberValueTypes",0,T],124424);let P=(0,u._)((0,l._)({},T),{color:f.color,backgroundColor:f.color,outlineColor:f.color,fill:f.color,stroke:f.color,borderColor:f.color,borderTopColor:f.color,borderRightColor:f.color,borderBottomColor:f.color,borderLeftColor:f.color,filter:p,WebkitFilter:p}),V=t=>P[t];function S(t,e){let i=V(t);return i!==p&&(i=a.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,V],698158),t.s(["getAnimatableNone",0,S],920885);let w=new Set(["auto","none","0"]);var b=t.i(400857);class A extends r.KeyframeResolver{readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,s.isCSSVariableToken)(i))){let s=(0,n.getVariableValue)(i,r.current);void 0!==s&&(t[e]=s),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(o)||2!==t.length)return;let[a,l]=t,u=(0,i.findDimensionValueType)(a),h=(0,i.findDimensionValueType)(l);if(u!==h)if((0,b.isNumOrPxType)(u)&&(0,b.isNumOrPxType)(h))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else b.positionalValues[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,o.isZeroValueString)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!w.has(e)&&(0,a.analyseComplexValue)(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=S(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=b.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=b.positionalValues[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
2h(t=>{let[i,n]=t;e.getValue(i).set(n)}),this.resolveNoneKeyframes()}constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}}t.s(["DOMKeyframesResolver",0,A],636056);var C=t.i(960125);let M=[...i.dimensionValueTypes,f.color,a.complex];t.s(["findValueType",0,t=>M.find((0,C.testValueType)(t))],946974);let{schedule:E}=(0,t.i(817967).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,E],984776);let D={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},R={};for(let t in D)R[t]={isEnabled:e=>D[t].some(t=>!!e[t])};t.s(["featureDefinitions",0,R],957679);let B=()=>({translate:0,scale:1,origin:0,originPoint:0}),L=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:L(),y:L()}),"createDelta",0,()=>({x:B(),y:B()})],454340);var k=t.i(77939);let j={current:null},F={current:!1};t.s(["hasReducedMotionListener",0,F,"prefersReducedMotion",0,j],974960),t.s(["initPrefersReducedMotion",0,function(){if(F.current=!0,k.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>j.current=t.matches;t.addEventListener("change",e),e()}else j.current=!1}],162370)},883582,400857,t=>{"use strict";var e=t.i(537466),i=t.i(238740),n=t.i(229859),s=t.i(960851),r=t.i(21365);let o=new Set(["x","y","z"]),a=n.transformPropOrder.filter(t=>!o.has(t));function l(t){let e=[];return a.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let u={width:(t,e)=>{let{x:i}=t,{paddingLeft:n="0",paddingRight:s="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(s)},height:(t,e)=>{let{y:i}=t,{paddingTop:n="0",paddingBottom:s="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(s)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:n}=e;return parseFloat(n)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:n}=e;return parseFloat(n)+(i.max-i.min)},x:(t,e)=>{let{transform:n}=e;return(0,i.parseValueFromTransform)(n,"x")},y:(t,e)=>{let{transform:n}=e;return(0,i.parseValueFromTransform)(n,"y")}};u.translateX=u.x,u.translateY=u.y,t.s(["isNumOrPxType",0,t=>t===s.number||t===r.px,"positionalValues",0,u,"removeNonTranslationalTransform",0,l],400857);var h=t.i(347248);let c=new Set,d=!1,m=!1,p=!1;function f(){if(m){let t=Array.from(c).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=l(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=>{var i;let[n,s]=e;null==(i=t.getValue(n))||i.set(s)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}m=!1,d=!1,c.forEach(t=>t.complete(p)),c.clear()}function v(){c.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(m=!0)})}t.s(["KeyframeResolver",0,class{scheduleResolve(){this.state="scheduled",this.isAsync?(c.add(this),d||(d=!0,h.frame.read(v),h.frame.resolveKeyframes(f))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:i,element:n,motionValue:s}=this;if(null===t[0]){let e=null==s?void 0:s.get(),r=t[t.length-1];if(void 0!==e)t[0]=e;else if(n&&i){let e=n.readValue(i,r);null!=e&&(t[0]=e)}void 0===t[0]&&(t[0]=r),s&&void 0===e&&s.set(t[0])}(0,e.fillWildcards)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),c.delete(this)}cancel(){"scheduled"===this.state&&(c.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}},"flushKeyframeResolvers",0,function(){p=!0,v(),f(),p=!1}],883582)},537466,t=>{"use strict";t.s(["fillWildcards",0,function(t){for(let e=1;e<t.length;e++)null!=t[e]||(t[e]=t[e-1])}])},965836,t=>{"use strict";t.s(["getValueTransition",0,function(t,e){var i,n;return null!=(i=null!=(n=null==t?void 0:t[e])?n:null==t?void 0:t.default)?i:t}])},238740,t=>{"use strict";let e=t=>180*t/Math.PI,i=t=>
2s(e(Math.atan2(t[1],t[0]))),n={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:i,rotateZ:i,skewX:t=>e(Math.atan(t[1])),skewY:t=>e(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},s=t=>((t%=360)<0&&(t+=360),t),r=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),o=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),a={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:r,scaleY:o,scale:t=>(r(t)+o(t))/2,rotateX:t=>s(e(Math.atan2(t[6],t[5]))),rotateY:t=>s(e(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>e(Math.atan(t[4])),skewY:t=>e(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function l(t){return+!!t.includes("scale")}function u(t,e){let i,s;if(!t||"none"===t)return l(e);let r=t.match(RegExp("^matrix3d\\(([-\\d.e\\s,]+)\\)$","u"));if(r)i=a,s=r;else{let e=t.match(RegExp("^matrix\\(([-\\d.e\\s,]+)\\)$","u"));i=n,s=e}if(!s)return l(e);let o=i[e],u=s[1].split(",").map(h);return"function"==typeof o?o(u):u[o]}function h(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,u,"readTransformValue",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return u(i,e)}])},640248,32806,699834,t=>{"use strict";let e;t.s(["setStyle",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],640248);var i,n=t.i(840289),s=t.i(680124),r=t.i(994415),o=t.i(338212);let a={},l=(i=()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},e=(0,o.memo)(i),()=>{var t;return null!=(t=a.linearEasing)?t:e()});t.s(["supportsLinearEasing",0,l],32806);var u=t.i(682580);let h=t=>{let[e,i,n,s]=t;return"cubic-bezier(".concat(e,", ").concat(i,", ").concat(n,", ").concat(s,")")},c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:h([0,.65,.55,1]),circOut:h([.55,0,1,.45]),backIn:h([.31,.01,.66,-.59]),backOut:h([.33,1.53,.69,.99])};t.s(["startWaapiAnimation",0,function(t,e,i){let{delay:o=0,duration:a=300,repeat:d=0,repeatType:m="loop",ease:p="easeOut",times:f}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},v=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,g={[e]:i};f&&(g.offset=f);let y=function t(e,i){if(e)return"function"==typeof e?l()?(0,u.generateLinearEasing)(e,i):"ease-out":(0,r.isBezierDefinition)(e)?h(e):Array.isArray(e)?e.map(e=>t(e,i)||c.easeOut):c[e]}(p,a);Array.isArray(y)&&(g.easing=y),s.statsBuffer.value&&n.activeAnimations.waapi++;let x={delay:o,duration:a,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:d+1,direction:"reverse"===m?"alternate":"normal"};v&&(x.pseudoElement=v);let T=t.animate(g,x);return s.statsBuffer.value&&T.finished.finally(()=>{n.activeAnimations.waapi--}),T}],699834)},444948,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(229859).transformPropOrder]);t.s(["positionalKeys",0,e])},229859,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",0,e,"transformProps",0,i])},597471,t=>{"use strict";var e=t.i(361979);t.s(["isSVGSVGElement",0,function(t){return(0,e.isSVGElement)(t)&&"svg"===t.tagName}])},896091,960125,110332,t=>{"use strict";var e=t.i(960851),i=t.i(21365);let n=t=>e=>e.test(t);t.s(["testValueType",0,n],960125);let s=[e.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}];t.s(["dimensionValueTypes",0,s,"findDimensionValueType",0,t=>s.find(n(t))],896091);var r=t.i(348367),o=t.i(811855),a=t.i(242210);let l=RegExp("^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)","u");t.s(["getVariableValue",0,function t(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,r.invariant)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");let[s,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,n,s]=e;return["--".concat(null!=i?i:n),s]}(e);if(!s)return;let h=window.getComputedStyle(i).getPropertyValue(s);if(h){let t=h.trim();return(0,o.isNumericalString)(t)?parseFloat(t):t}return(0,a.isCSSVariableToken)(u)?t(u,i,n+1):u}],110332)}]); 3 4//# debugId=c36123ba-a110-f5d2-6878-43da06cd8cd5
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.