1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f8b858dc-29a5-4341-903a-133b300d14f3",t._sentryDebugIdIdentifier="sentry-dbid-f8b858dc-29a5-4341-903a-133b300d14f3")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5916],{390:(t,e,i)=>{"use strict";i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},409:(t,e,i)=>{"use strict";i.d(e,{e:()=>r});let r=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"])},4903:(t,e,i)=>{"use strict";i.d(e,{C:()=>r});let r=new WeakMap},5658:t=>{var e="u">typeof Element,i="function"==typeof Map,r="function"==typeof Set,s="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(t,n){try{return function t(n,o){if(n===o)return!0;if(n&&o&&"object"==typeof n&&"object"==typeof o){var a,l,u,h;if(n.constructor!==o.constructor)return!1;if(Array.isArray(n)){if((a=n.length)!=o.length)return!1;for(l=a;0!=l--;)if(!t(n[l],o[l]))return!1;return!0}if(i&&n instanceof Map&&o instanceof Map){if(n.size!==o.size)return!1;for(h=n.entries();!(l=h.next()).done;)if(!o.has(l.value[0]))return!1;for(h=n.entries();!(l=h.next()).done;)if(!t(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&n instanceof Set&&o instanceof Set){if(n.size!==o.size)return!1;for(h=n.entries();!(l=h.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(n)&&ArrayBuffer.isView(o)){if((a=n.length)!=o.length)return!1;for(l=a;0!=l--;)if(n[l]!==o[l])return!1;return!0}if(n.constructor===RegExp)return n.source===o.source&&n.flags===o.flags;if(n.valueOf!==Object.prototype.valueOf&&"function"==typeof n.valueOf&&"function"==typeof o.valueOf)return n.valueOf()===o.valueOf();if(n.toString!==Object.prototype.toString&&"function"==typeof n.toString&&"function"==typeof o.toString)return n.toString()===o.toString();if((a=(u=Object.keys(n)).length)!==Object.keys(o).length)return!1;for(l=a;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,u[l]))return!1;if(e&&n instanceof Element)return!1;for(l=a;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!n.$$typeof)&&!t(n[u[l]],o[u[l]]))return!1;return!0}return n!=n&&o!=o}(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},5733:(t,e,i)=>{"use strict";i.d(e,{P:()=>iy});var r,s,n,o=i(19084),a=i(34970);function l(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}var u=i(95173),h=i(29251),c=i(41968),d=i(56274);function p(t,e,i={}){var r;let s=(0,h.K)(t,e,"exit"===i.type?null==(r=t.presenceContext)?void 0:r.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let o=s?()=>Promise.all((0,d.$)(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,s=1,n){let o=[],a=(t.variantChildren.size-1)*r,l=1===s?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(f).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(p(t,e,{...n,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function f(t,e){return t.sortNodePosition(e)}let m=c._.length,v=[...c.U].reverse(),y=c.U.length;function g(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function x(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}class S{constructor(t){this.isMounted=!1,this.node=t}update(){}}class w extends S{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>p(t,e,i)));else if("string"==typeof e)r=p(t,e,i);else{let s="function"==typeof e?(0,h.K)(t,e,i.custom):e;r=Promise.all((0,d.$)(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=x(),r=!0,s=e=>(i,r)=>{var s;let n=(0,h.K)(t,r,"exit"===e?null==(s=t.presenceContext)?void 0:s.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function n(n){let{props:h}=t,d=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<m;t++){let r=c._[t],s=e.props[r];((0,u.w)(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},p=[],f=new Set,g={},x=1/0;for(let e=0;e<y;e++){var S,w;let c=v[e],m=i[c],y=void 0!==h[c]?h[c]:d[c],b=(0,u.w)(y),P=c===n?m.isActive:null;!1===P&&(x=e);let T=y===d[c]&&y!==h[c]&&b;if(T&&r&&t.manuallyAnimateOnMount&&(T=!1),m.protectedKeys={...g},!m.isActive&&null===P||!y&&!m.prevProp||(0,o.N)(y)||"boolean"==typeof y)continue;let A=(S=m.prevProp,"string"==typeof(w=y)?w!==S:!!Array.isArray(w)&&!l(w,S)),M=A||c===n&&m.isActive&&!T&&b||e>x&&b,k=!1,V=Array.isArray(y)?y:[y],C=V.reduce(s(c),{});!1===P&&(C={});let{prevResolvedValues:E={}}=m,j={...E,...C},D=e=>{M=!0,f.has(e)&&(k=!0,f.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in j){let e=C[t],i=E[t];if(!g.hasOwnProperty(t))((0,a.p)(e)&&(0,a.p)(i)?l(e,i):e===i)?void 0!==e&&f.has(t)?D(t):m.protectedKeys[t]=!0:null!=e?D(t):f.add(t)}m.prevProp=y,m.prevResolvedValues=C,m.isActive&&(g={...g,...C}),r&&t.blockInitialAnimation&&(M=!1);let R=!(T&&A)||k;M&&R&&p.push(...V.map(t=>({animation:t,options:{type:c}})))}
1if(f.size){let e={};f.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=r?r:null}),p.push({animation:e})}let b=!!p.length;return r&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(b=!1),r=!1,b?e(p):Promise.resolve()}return{animateChanges:n,setActive:function(e,r){var s;if(i[e].isActive===r)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,r)}),i[e].isActive=r;let o=n(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=x(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,o.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}let b=0;class P extends S{constructor(){super(...arguments),this.id=b++}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 r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var T=i(94670),A=i(41927),M=i(95120),k=i(488);function V(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}function C(t){return{point:{x:t.pageX,y:t.pageY}}}function E(t,e,i,r){return V(t,e,t=>(0,M.Mc)(t)&&i(t,C(t)),r)}let j=(t,e)=>Math.abs(t-e);var D=i(73559),R=i(21670);class B{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){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 i=F(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(j(t.x,e.x)**2+j(t.y,e.y)**2)>=3);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=R.uv;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=O(e,this.transformPagePoint),R.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=F("pointercancel"===t.type?this.lastMoveEventInfo:O(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!(0,M.Mc)(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;const n=O(C(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=R.uv;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,F(n,this.history)),this.removeListeners=(0,D.F)(E(this.contextWindow,"pointermove",this.handlePointerMove),E(this.contextWindow,"pointerup",this.handlePointerUp),E(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,R.WG)(this.updatePoint)}}function O(t,e){return e?{point:e(t.point)}:t}function L(t,e){return{x:t.x-e.x,y:t.y-e.y}}function F({point:t},e){return{point:t,delta:L(t,$(e)),offset:L(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=$(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>(0,k.f)(.1)));)e--;if(!i)return{x:0,y:0};let s=(0,k.X)(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let n={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function $(t){return t[t.length-1]}function U(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var I=i(88955),W=i(8137);function N(t){return t.max-t.min}function _(t,e,i,r=.5){t.origin=r,t.originPoint=(0,W.k)(e.min,e.max,t.origin),t.scale=N(i)/N(e),t.translate=(0,W.k)(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 G(t,e,i,r){_(t.x,e.x,i.x,r?r.originX:void 0),_(t.y,e.y,i.y,r?r.originY:void 0)}function z(t,e,i){t.min=i.min+e.min,t.max=t.min+N(e)}
1function H(t,e,i){t.min=e.min-i.min,t.max=t.min+N(e)}function K(t,e,i){H(t.x,e.x,i.x),H(t.y,e.y,i.y)}var X=i(67386);function Y(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 q(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function Q(t,e,i){return{min:Z(t,e),max:Z(t,i)}}function Z(t,e){return"number"==typeof t?t:t[e]||0}var J=i(17102);function tt(t){return[t("x"),t("y")]}var te=i(11857),ti=i(6964),tr=i(27783),ts=i(24188);let tn=({current:t})=>t?t.ownerDocument.defaultView:null;var to=i(90004);let ta=new WeakMap;class tl{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,J.ge)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(C(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,M.Wp)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tt(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tr.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=N(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&R.Gt.postRender(()=>s(t,e)),(0,to.g)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let 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(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>tt(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new B(t,{onSessionStart:r,onStart:s,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:tn(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:s}=this.getProps();s&&R.Gt.postRender(()=>s(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tu(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,W.k)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,W.k)(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=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&&U(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:Y(t.x,i,s),y:Y(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:Q(t,"left","right"),y:Q(t,"top","bottom")}}(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&tt(t=>{var e,i;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=r.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||!U(e))return!1;let r=e.current;(0,A.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let n=(0,te.L)(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:q(t.x,n.x),y:q(t.y,n.y)});if(i){let t=i((0,ti.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,ti.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tt(o=>{if(!tu(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,to.g)(this.visualElement,t),i.start((0,ts.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tt(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${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tt(e=>{let{drag:i}=this.getProps();if(!tu(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e];s.set(t[e]-(0,W.k)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!U(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};tt(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,a,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,o=N(i),(a=N(s))>o?n=(0,I.q)(s.min,s.max-o,i.min):o>a&&(n=(0,I.q)(i.min,i.max-a,s.min)),(0,X.q)(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tt(e=>{if(!tu(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set((0,W.k)(s,n,r[e]))})}addListeners(){if(!this.visualElement.current)return;ta.set(this.visualElement,this);let t=E(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();U(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),R.Gt.read(e);let s=V(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tt(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),r(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function tu(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class th extends S{constructor(t){super(t),this.removeGroupControls=T.l,this.removeListeners=T.l,this.controls=new tl(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||T.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tc=t=>(e,i)=>{t&&R.Gt.postRender(()=>t(e,i))};class td extends S{constructor(){super(...arguments),this.removePointerDownListener=T.l}onPointerDown(t){this.session=new B(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tn(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:tc(t),onStart:tc(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&R.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=E(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tp=i(89142),tf=i(94070),tm=i(56686),tv=i(19593);let ty=(0,tf.createContext)({}),tg={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tx(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tS={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tr.px.test(t))return t;else t=parseFloat(t);let i=tx(t,e.target.x),r=tx(t,e.target.y);return`${i}% ${r}%`}};var tw=i(75603),tb=i(13985);let{schedule:tP,cancel:tT}=(0,i(53611).I)(queueMicrotask,!1);class tA extends tf.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;(0,tb.$)(tk),s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),tg.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,n=i.projection;return n&&(n.isPresent=s,r||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||R.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tP.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tM(t){let[e,i]=(0,tm.xQ)(),r=(0,tf.useContext)(tv.L);return(0,tp.jsx)(tA,{...t,layoutGroup:r,switchLayoutGroup:(0,tf.useContext)(ty),isPresent:e,safeToRemove:i})}let tk={borderRadius:{...tS,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tS,borderTopRightRadius:tS,borderBottomLeftRadius:tS,borderBottomRightRadius:tS,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tw.f.parse(t);if(r.length>5)return t;let s=tw.f.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=(0,W.k)(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};var tV=i(35756),tC=i(27298),tE=i(31380),tj=i(21601),tD=i(22636);let tR=(t,e)=>t.depth-e.depth;class tB{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tD.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,tD.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tR),this.isDirty=!1,this.children.forEac
1h(t)}}var tO=i(6654),tL=i(56187),tF=i(20726);function t$(t){let e=(0,tF.S)(t)?t.get():t;return(0,tL.B)(e)?e.toValue():e}var tU=i(13662);let tI=["TopLeft","TopRight","BottomLeft","BottomRight"],tW=tI.length,tN=t=>"string"==typeof t?parseFloat(t):t,t_=t=>"number"==typeof t||tr.px.test(t);function tG(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tz=tK(0,.5,tU.yT),tH=tK(.5,.95,T.l);function tK(t,e,i){return r=>r<t?0:r>e?1:i((0,I.q)(t,e,r))}function tX(t,e){t.min=e.min,t.max=e.max}function tY(t,e){tX(t.x,e.x),tX(t.y,e.y)}function tq(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tQ=i(57691);function tZ(t,e,i,r,s){return t-=e,t=(0,tQ.hq)(t,1/i,r),void 0!==s&&(t=(0,tQ.hq)(t,1/s,r)),t}function tJ(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(tr.KN.test(e)&&(e=parseFloat(e),e=(0,W.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,W.k)(n.min,n.max,r);t===n&&(a-=e),t.min=tZ(t.min,e,i,a,s),t.max=tZ(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let t0=["x","scaleX","originX"],t1=["y","scaleY","originY"];function t4(t,e,i,r){tJ(t.x,e,t0,i?i.x:void 0,r?r.x:void 0),tJ(t.y,e,t1,i?i.y:void 0,r?r.y:void 0)}function t9(t){return 0===t.translate&&1===t.scale}function t2(t){return t9(t.x)&&t9(t.y)}function t5(t,e){return t.min===e.min&&t.max===e.max}function t3(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t6(t,e){return t3(t.x,e.x)&&t3(t.y,e.y)}function t7(t){return N(t.x)/N(t.y)}function t8(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class et{constructor(){this.members=[]}add(t){(0,tD.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,tD.Ai)(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)}}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:r}=t.options;!1===r&&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)}}var ee=i(83522);let ei={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},er="u">typeof window&&void 0!==window.MotionDebug,es=["","X","Y","Z"],en={visibility:"hidden"},eo=0;function ea(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function el({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=null==e?void 0:e()){this.id=eo++,this.animationId=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,er&&(ei.totalNodes=ei.resolvedTargetDeltas=ei.recalculatedProjection=0),this.nodes.forEach(ec),this.nodes.forEach(eg),this.nodes.forEach(ex),this.nodes.forEach(ed),er&&window.MotionDebug.record(ei)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tB)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tO.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,tj.x)(e),this.instance=e;let{layoutId:r,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(s||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=tE.k.now(),e=({timestamp:i})=>{let s=i-t;s>=250&&((0,R.WG)(e),r(s-250))},R.Gt.read(e,!0),i=()=>(0,R.WG)(e),tg.hasAnimatedSinceResize&&(tg.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(ey))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||eA,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!t6(this.targetLayout,r)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,M.rU)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ey(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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,(0,R.WG)(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(eS),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!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 r=(0,tC.P)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",R.Gt,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(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 r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ef);return}this.isUpdating||this.nodes.forEach(em),this.isUpdating=!1,this.nodes.forEach(ev),this.nodes.forEach(eu),this.nodes.forEach(eh),this.clearAllSnapshots();let t=tE.k.now();R.uv.delta=(0,X.q)(0,1e3/60,t-R.uv.timestamp),R.uv.timestamp=t,R.uv.isProcessing=!0,R.PP.update.process(R.uv),R.PP.preRender.process(R.uv),R.PP.render.process(R.uv),R.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ep),this.sharedNodes.forEach(ew)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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,J.ge)(),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(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!t2(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&(e||(0,ee.HD)(this.latestValues)||n)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),eV((e=r).x),eV(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,J.ge)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(eE))){let{scroll:t}=this.root;t&&((0,tQ.Ql)(i.x,t.offset.x),(0,tQ.Ql)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,J.ge)();if(tY(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let r=this.path[e],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&tY(i,t),(0,tQ.Ql)(i.x,s.offset.x),(0,tQ.Ql)(i.y,s.offset.y))}return i}applyTransform(t,e=!1){let i=(0,J.ge)();tY(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,tQ.Ww)(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,ee.HD)(r.latestValues)&&(0,tQ.Ww)(i,r.latestValues)}return(0,ee.HD)(this.latestValues)&&(0,tQ.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,J.ge)();tY(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ee.HD)(i.latestValues))continue;(0,ee.vk)(i.latestValues)&&i.updateSnapshot();let r=(0,J.ge)();tY(r,i.measurePageBox()),t4(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return(0,ee.HD)(this.latestValues)&&t4(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...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!==R.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,s;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==n;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=R.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,J.ge)(),this.relativeTargetOrigin=(0,J.ge)(),K(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tY(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,J.ge)(),this.targetWithTransforms=(0,J.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,s=this.relativeParent.target,z(i.x,r.x,s.x),z(i.y,r.y,s.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tY(this.target,this.layout.layoutBox),(0,tQ.o4)(this.target,this.targetDelta)):tY(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,J.ge)(),this.relativeTargetOrigin=(0,J.ge)(),K(this.relativeTargetOrigin,this.target,t.target),tY(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}er&&ei.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,ee.vk)(this.parent.latestValues)||(0,ee.vF)(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,r=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===R.uv.timestamp&&(r=!1),r)return;let{layout:s,layoutId:n}=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||n))return;tY(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,tQ.OU)(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,J.ge)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tq(this.prevProjectionDelta.x,this.projectionDelta.x),tq(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),G(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&t8(this.projectionDelta.x,this.prevProjectionDelta.x)&&t8(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),er&&ei.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,J.xU)(),this.projectionDelta=(0,J.xU)(),this.projectionDeltaWithTransform=(0,J.xU)()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,s=r?r.latestValues:{},n={...this.latestValues},o=(0,J.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,J.ge)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(eT));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(eb(o.x,t.x,r),eb(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,v;K(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,v=r,eP(p.x,f.x,m.x,v),eP(p.y,f.y,m.y,v),i&&(u=this.relativeTarget,d=i,t5(u.x,d.x)&&t5(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,J.ge)()),tY(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=(0,W.k)(0,void 0!==i.opacity?i.opacity:1,tz(r)),t.opacityExit=(0,W.k)(void 0!==e.opacity?e.opacity:1,0,tH(r))):n&&(t.opacity=(0,W.k)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let s=0;s<tW;s++){let n=`border${tI[s]}Radius`,o=tG(e,n),a=tG(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t_(o)===t_(a)?(t[n]=Math.max((0,W.k)(tN(o),tN(a),r),0),(tr.KN.test(a)||tr.KN.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,W.k)(e.rotate||0,i.rotate||0,r))}(n,s,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,R.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.Gt.update(()=>{tg.hasAnimatedSinceResize=!0,this.currentAnimation=(0,tV.z)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{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:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&eC(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,J.ge)();let e=N(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=N(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}tY(e,i),(0,tQ.Ww)(e,s),G(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new et),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({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.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 r={};i.z&&ea("z",t,r,this.animationValues);for(let e=0;e<es.length;e++)ea(`rotate${es[e]}`,t,r,this.animationValues),ea(`skew${es[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return en;let r={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=t$(null==t?void 0:t.pointerEvents)||"",r.transform=s?s(this.latestValues,""):"none",r;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=t$(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,ee.HD)(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;
1this.applyTransformsToTarget(),r.transform=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:n,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotateX(${s}deg) `),n&&(r+=`rotateY(${n}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),s&&(r.transform=s(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?r.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tb.H){if(void 0===o[t])continue;let{correct:e,applyTo:i}=tb.H[t],s="none"===r.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=s}else r[t]=s}return this.options.layoutId&&(r.pointerEvents=n===this?t$(null==t?void 0:t.pointerEvents)||"":"none"),r}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(ef),this.root.sharedNodes.clear()}}}function eu(t){t.updateLayout()}function eh(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:r}=t.layout,{animationType:s}=t.options,n=i.source!==t.layout.source;"size"===s?tt(t=>{let r=n?i.measuredBox[t]:i.layoutBox[t],s=N(r);r.min=e[t].min,r.max=r.min+s}):eC(s,i.layoutBox,e)&&tt(r=>{let s=n?i.measuredBox[r]:i.layoutBox[r],o=N(e[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,J.xU)();G(o,e,i.layoutBox);let a=(0,J.xU)();n?G(a,t.applyTransform(r,!0),i.measuredBox):G(a,e,i.layoutBox);let l=!t2(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=(0,J.ge)();K(o,i.layoutBox,s.layoutBox);let a=(0,J.ge)();K(a,e,n.layoutBox),t6(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ec(t){er&&ei.totalNodes++,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 ed(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ep(t){t.clearSnapshot()}function ef(t){t.clearMeasurements()}function em(t){t.isLayoutDirty=!1}function ev(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ey(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eg(t){t.resolveTargetDelta()}function ex(t){t.calcProjection()}function eS(t){t.resetSkewAndRotation()}function ew(t){t.removeLeadSnapshot()}function eb(t,e,i){t.translate=(0,W.k)(e.translate,0,i),t.scale=(0,W.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eP(t,e,i,r){t.min=(0,W.k)(e.min,i.min,r),t.max=(0,W.k)(e.max,i.max,r)}function eT(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eA={duration:.45,ease:[.4,0,.1,1]},eM=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ek=eM("applewebkit/")&&!eM("chrome/")?Math.round:T.l;function eV(t){t.min=ek(t.min),t.max=ek(t.max)}function eC(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(t7(e)-t7(i)))}function eE(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let ej=el({attachResizeListener:(t,e)=>V(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eD={current:void 0},eR=el({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eD.current){let t=new ej({});t.mount(window),t.setOptions({layoutScroll:!0}),eD.current=t}return eD.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function eB(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&R.Gt.postRender(()=>s(e,C(e)))}class eO extends S{mount(){let{current:t}=this.node;t&&(this.unmount=(0,M.PT)(t,t=>(eB(this.node,t,"Start"),t=>eB(this.node,t,"End"))))}unmount(){}}class eL extends S{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,D.F)(V(this.node.current,"focus",()=>this.onFocus()),V(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function eF(t,e,i){let{props:r}=t;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&R.Gt.postRender(()=>s(e,C(e)))}class e$ extends S{mount(){let{current:t}=this.node;t&&(this.unmount=(0,M.c$)(t,t=>(eF(this.node,t,"Start"),(t,{success:e})=>eF(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let eU=new WeakMap,eI=new WeakMap,eW=t=>{let e=eU.get(t.target);e&&e(t)}
1,eN=t=>{t.forEach(eW)},e_={some:0,all:1};class eG extends S{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:e_[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;eI.has(i)||eI.set(i,{});let r=eI.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(eN,{root:t,...e})),r[s]}(a),eU.set(t,l),e.observe(t),()=>{eU.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({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let ez=(0,tf.createContext)({strict:!1});var eH=i(47532);let eK=(0,tf.createContext)({});var eX=i(49833);function eY(t){return Array.isArray(t)?t.join(" "):t}var eq=i(25324),eQ=i(42182);let eZ=Symbol.for("motionComponentSymbol");var eJ=i(81025),e0=i(55626),e1=i(16588);let e4=["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 e9(t){if("string"!=typeof t||t.includes("-"));else if(e4.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e2=i(85079),e5=i(45721);let e3=t=>(e,i)=>{let r=(0,tf.useContext)(eK),s=(0,tf.useContext)(eJ.t),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},r,s,n){let a={latestValues:function(t,e,i,r){let s={},n=r(t,{});for(let t in n)s[t]=t$(n[t]);let{initial:a,animate:l}=t,u=(0,eX.e)(t),h=(0,eX.O)(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===a)?l:a;if(d&&"boolean"!=typeof d&&!(0,o.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=(0,e2.a)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(r,s,n,t),renderState:e()};return i&&(a.onMount=t=>i({props:r,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,r,s);return i?n():(0,e5.M)(n)};var e6=i(49475),e7=i(52799);let e8=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),it=()=>({...e8(),attrs:{}});var ie=i(64943),ii=i(93417),ir=i(84420);let is=["x","y","width","height","cx","cy","r"],io={useVisualState:e3({scrapeMotionValuesFromProps:ir.x,createRenderState:it,onUpdate:({props:t,prevProps:e,current:i,renderState:r,latestValues:s})=>{if(!i)return;let n=!!t.drag;if(!n){for(let t in s)if(e6.f.has(t)){n=!0;break}}if(!n)return;let o=!e;if(e)for(let i=0;i<is.length;i++){let r=is[i];t[r]!==e[r]&&(o=!0)}o&&R.Gt.read(()=>{try{r.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}R.Gt.render(()=>{(0,e7.B)(r,s,(0,ie.n)(i.tagName),t.transformTemplate),(0,ii.d)(i,r)})})}})},ia={useVisualState:e3({scrapeMotionValuesFromProps:i(44789).x,createRenderState:e8})};var il=i(29831),iu=i(35645);function ih(t,e,i){for(let r in e)(0,tF.S)(e[r])||(0,il.z)(r,i)||(t[r]=e[r])}let ic=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 id(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ic.has(t)}let ip=t=>!id(t);try{(r=require("@emotion/is-prop-valid").default)&&(ip=t=>t.startsWith("on")?!id(t):r(t))}catch(t){}var im=i(58681),iv=i(46665);let iy=function(t){if("u"<typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((s={animation:{Feature:w},exit:{Feature:P},inView:{Feature:eG},tap:{Feature:e$},focus:{Feature:eL},hover:{Feature:eO},pan:{Feature:td},drag:{Feature:th,ProjectionNode:eR,MeasureLayout:tM},layout:{ProjectionNode:eR,MeasureLayout:tM}},n=(t,e)=>e9(t)?new iv.l(e):new im.M(e,{allowProjection:t!==tf.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:r,Component:s}){var n,o;function a(t,n){var o;let a,l={...(0,tf.useContext)(eH.Q),...t,layoutId:function({layoutId:t}){let e=(0,tf.useContext)(tv.L).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:h}=l,c=function(t){let{initial:e,animate:i}=function(t,e){if((0,eX.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,u.w)(e)?e:void 0,animate:(0,u.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,tf.useContext)(eK));return(0,tf.useMemo)(()=>({initial:e,animate:i}),[eY(e),eY(i)])}(t),d=r(t,h);if(!h&&eq.B){(0,tf.useContext)(ez).strict;let t=function(t){let{drag:e,layout:i}=eQ.B;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(l);a=t.MeasureLayout,c.visualElement=function(t,e,i,r,s){var n,o;let{visualElement:a}=(0,tf.useContext)(eK),l=(0,tf.useContext)(ez),u=(0,tf.useContext)(eJ.t),h=(0,tf.useContext)(eH.Q).reducedMotion,c=(0,tf.useRef)(null);r=r||l.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,p=(0,tf.useContext)(ty);d&&!d.projection&&s&&("html"===d.type||"svg"===d.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=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:n,alwaysMeasureLayout:!!o||a&&U(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(c.current,i,s,p);let f=(0,tf.useRef)(!1);(0,tf.useInsertionEffect)(()=>{d&&f.current&&d.update(i,u)});let m=i[e1.n],v=(0,tf.useRef)(!!m&&!(null==(n=window.MotionHandoffIsComplete)?void 0:n.call(window,m))&&(null==(o=window.MotionHasOptimisedAnimation)?void 0:o.call(window,m)));return(0,e0.E)(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),tP.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,tf.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,m)}),v.current=!1))}),d}(s,d,l,e,t.ProjectionNode)}return(0,tp.jsxs)(eK.Provider,{value:c,children:[a&&c.visualElement?(0,tp.jsx)(a,{visualElement:c.visualElement,...l}):null,i(s,t,(o=c.visualElement,(0,tf.useCallback)(t=>{t&&d.onMount&&d.onMount(t),o&&(t?o.mount(t):o.unmount()),n&&("function"==typeof n?n(t):U(n)&&(n.current=t))},[o])),d,h,c.visualElement)]})}t&&function(t){for(let e in t)eQ.B[e]={...eQ.B[e],...t[e]}}(t),a.displayName=`motion.${"string"==typeof s?s:`create(${null!=(o=null!=(n=s.displayName)?n:s.name)?o:""})`}`;let l=(0,tf.forwardRef)(a);return l[eZ]=s,l}({...e9(t)?io:ia,preloadedFeatures:s,useRender:function(t=!1){return(e,i,r,{latestValues:s},n)=>{let o=(e9(e)?function(t,e,i,r){let s=(0,tf.useMemo)(()=>{let i=it();return(0,e7.B)(i,e,(0,ie.n)(r),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ih(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,r,s={},n=(i=t.style||{},ih(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,tf.useMemo)(()=>{let i=e8();return(0,iu.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=n,s})(i,s,n,e),a=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(ip(s)||!0===i&&id(s)||!e&&!id(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(i,"string"==typeof e,t),l=e!==tf.Fragment?{...a,...o,ref:r}:{},{children:u}=i,h=(0,tf.useMemo)(()=>(0,tF.S)(u)?u.get():u,[u]);return(0,tf.createElement)(e,{...l,children:h})}}(e),createVisualElement:n,Component:t})}))},6964:(t,e,i)=>{"use strict";function r({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function s({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function n(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}i.d(e,{FY:()=>r,bS:()=>n,pA:()=>s})},10337:(t,e,i)=>{"use strict";function r(t){return t}function s(t){return t}function n(t){return{definePartsStyle:t=>t,defineMultiStyleConfig:e=>({parts:t,...e})}}i.d(e,{Dt:()=>s,H2:()=>r,YU:()=>n})},10572:(t,e,i)=>{"use strict";i.d(e,{R:()=>u,d:()=>h});var r=i(33893);function s(t){let e,i;if(null==t)return t;let{unitless:r}=(e=parseFloat(t.toString()),{unitless:!(i=t.toString().replace(String(e),"")),value:e,unit:i});return r||"number"==typeof t?`${t}px`:t}let n=(t,e)=>parseInt(t[1],10)>parseInt(e[1],10)?1:-1,o=t=>Object.fromEntries(Object.entries(t).sort(n));function a(t){let e=o(t);return Object.assign(Object.values(e),e)}function l(t){return t?"number"==typeof(t=s(t)??t)?`${t+-.02}`:t.replace(/(\d+\.?\d*)/u,t=>`${parseFloat(t)+-.02}`):t}function u(t,e){let i=["@media screen"];return t&&i.push("and",`(min-width: ${s(t)})`),e&&i.push("and",`(max-width: ${s(e)})`),i.join(" ")}function h(t){if(!t)return null;t.base=t.base??"0px";let e=a(t),i=Object.entries(t).sort(n).map(([t,e],i,r)=>{let[,s]=r[i+1]??[];return s=parseFloat(s)>
10?l(s):void 0,{_minW:l(e),breakpoint:t,minW:e,maxW:s,maxWQuery:u(null,s),minWQuery:u(e),minMaxQuery:u(e,s)}}),s=new Set(Object.keys(o(t))),h=Array.from(s.values());return{keys:s,normalized:e,isResponsive(t){let e=Object.keys(t);return e.length>0&&e.every(t=>s.has(t))},asObject:o(t),asArray:a(t),details:i,get:t=>i.find(e=>e.breakpoint===t),media:[null,...e.map(t=>u(t)).slice(1)],toArrayValue(t){let e;if(!(0,r.Gv)(t))throw Error("toArrayValue: value must be an object");let i=h.map(e=>t[e]??null);for(;null===((e=null==i?0:i.length)?i[e-1]:void 0);)i.pop();return i},toObjectValue(t){if(!Array.isArray(t))throw Error("toObjectValue: value must be an array");return t.reduce((t,e,i)=>{let r=h[i];return null!=r&&null!=e&&(t[r]=e),t},{})}}}},10778:(t,e,i)=>{"use strict";i.d(e,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...i(49475).U])},11857:(t,e,i)=>{"use strict";i.d(e,{L:()=>o,m:()=>n});var r=i(6964),s=i(57691);function n(t,e){return(0,r.FY)((0,r.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let r=n(t,i),{scroll:o}=e;return o&&((0,s.Ql)(r.x,o.offset.x),(0,s.Ql)(r.y,o.offset.y)),r}},13027:(t,e,i)=>{"use strict";var r=i(28153),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(t){return r.isMemo(t)?o:a[t.$$typeof]||s}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var u=Object.defineProperty,h=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;t.exports=function t(e,i,r){if("string"!=typeof i){if(f){var s=p(i);s&&s!==f&&t(e,s,r)}var o=h(i);c&&(o=o.concat(c(i)));for(var a=l(e),m=l(i),v=0;v<o.length;++v){var y=o[v];if(!n[y]&&!(r&&r[y])&&!(m&&m[y])&&!(a&&a[y])){var g=d(i,y);try{u(e,y,g)}catch(t){}}}}return e}},13662:(t,e,i)=>{"use strict";i.d(e,{po:()=>n,tn:()=>a,yT:()=>o});var r=i(69423),s=i(390);let n=t=>1-Math.sin(Math.acos(t)),o=(0,s.G)(n),a=(0,r.V)(n)},13985:(t,e,i)=>{"use strict";i.d(e,{$:()=>s,H:()=>r});let r={};function s(t){Object.assign(r,t)}},15421:(t,e,i)=>{"use strict";i.d(e,{zy:()=>M,NP:()=>w,Wh:()=>A});var r=i(89142),s=i(10572),n=i(33893),o=i(93215),a=i(44328),l=i(19090);function u(t,e,i={}){let{stop:r,getKey:s}=i;return function t(i,o=[]){if((0,n.Gv)(i)||Array.isArray(i)){let n={};for(let[a,l]of Object.entries(i)){let u=s?.(a)??a,h=[...o,u];if(r?.(i,h))return e(i,o);n[u]=t(l,h)}return n}return e(i,o)}(t)}var h=i(56136);let c=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function d(t,e){return(0,l.Vg)(String(t).replace(/\./g,"-"),void 0,e)}var p=i(12548),f=i(19460),m=i(74125),v=i(79191),y=i(42960),g=i(53662),x=i(94070),S=i(88372);function w(t){let{cssVarsRoot:e,theme:i,children:l}=t,p=(0,x.useMemo)(()=>(function(t){let e=function(t){let{__cssMap:e,__cssVars:i,__breakpoints:r,...s}=t;return s}(t),{cssMap:i,cssVars:r}=function(t){var e;let i,r,s,l,p=(i=function(t){let e={};for(let i of c)i in t&&(e[i]=t[i]);return e}(e=t),r=e.semanticTokens,s=t=>h.s.includes(t)||"default"===t,l={},u(i,(t,e)=>{null!=t&&(l[e.join(".")]={isSemantic:!1,value:t})}),u(r,(t,e)=>{null!=t&&(l[e.join(".")]={isSemantic:!0,value:t})},{stop:t=>Object.keys(t).every(s)}),l),f=t.config?.cssVarPrefix,m={},v={};for(let[t,e]of Object.entries(p)){let{isSemantic:i,value:r}=e,{variable:s,reference:l}=d(t,f);if(!i){if(t.startsWith("space")){let[e,...i]=t.split("."),n=`${e}.-${i.join(".")}`,o=a._.negate(r),u=a._.negate(l);v[n]={value:o,var:s,varRef:u}}m[s]=r,v[t]={value:r,var:s,varRef:l};continue}m=o(m,Object.entries((0,n.Gv)(r)?r:{default:r}).reduce((e,[i,r])=>{if(!r)return e;let n=function(t,e){let i=[String(t).split(".")[0],e].join(".");if(!p[i])return e;let{reference:r}=d(i,f);return r}(t,`${r}`);return"default"===i?e[s]=n:e[h.T?.[i]??i]={[s]:n},e},{})),v[t]={value:l,var:s,varRef:l}}return{cssVars:m,cssMap:v}}(e);return Object.assign(e,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...r},__cssMap:i,__breakpoints:(0,s.d)(e.breakpoints)}),e})(i),[i]);return(0,r.jsxs)(y.a,{theme:p,children:[(0,r.jsx)(b,{root:e}),l]})}function b({root:t=":host, :root"}){let e=[t,"[data-theme]"].join(",");return(0,r.jsx)(g.mL,{styles:t=>({[e]:t.__cssVars})})}let[P,T]=(0,f.q)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function A(t){return(0,f.q)({name:`${t}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${t} />" `})}function M(){let{colorMode:t}=(0,S.G6)();return(0,r.jsx)(g.mL,{styles:e=>{let i=(0,m.r)(e,"styles.global"),r=(0,v.J)(i,{theme:e,colorMode:t});if(r)return(0,p.A)(r)(e)}})}},16588:(t,e,i)=>{"use strict";i.d(e,{n:()=>r});let r="data-"+(0,i(39406).I)("framerAppearId")},17102:(t,e,i)=>{"use strict";i.d(e,{ge:()=>o,xU:()=>s});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),s=()=>({x:r(),y:r()}),n=()=>({min:0,max:0}),o=()=>({x:n(),y:n()})},17285:(t,e,i)=>{"use strict";i.d(e,{W:()=>l});var r=i(54038),s=i(27783);let n={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px},o={rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:r.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},a={...r.ai,transform:Math.round},l={...n,...o,zIndex:a,size:s.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:a}},19070:(t,e,i)=>{"use strict";function r(t,e=[]){let i=Object.assign({},t);for(let t of e)t in i&&delete i[t];return i}i.d(e,{c:()=>r})},19084:(t,e,i)=>{"use strict";function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{N:()=>r})},19090:(t,e,i)=>{"use strict";function r(t,e,i){let r=function(t,e=""){var i;return((i=function(t,e="-"){return t.replace(/\s+/g,e)}
1(`--${(function(t,e=""){return[e,t].filter(Boolean).join("-")})(t,e)}`.toString())).includes("\\.")||Number.isInteger(parseFloat(i.toString()))?i:i.replace(".","\\.")).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(t,i);return{variable:r,reference:`var(${r}${e?`, ${e}`:""})`}}function s(t,e){let i={};for(let s of e){if(Array.isArray(s)){let[e,n]=s;i[e]=r(`${t}-${e}`,n);continue}i[s]=r(`${t}-${s}`)}return i}i.d(e,{Vg:()=>r,lL:()=>s})},19460:(t,e,i)=>{"use strict";i.d(e,{q:()=>s});var r=i(94070);function s(t={}){let{name:e,strict:i=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:a,defaultValue:l}=t,u=(0,r.createContext)(l);return u.displayName=e,[u.Provider,function t(){let e=(0,r.useContext)(u);if(!e&&i){let e=Error(a??`${n} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw e.name="ContextError",Error.captureStackTrace?.(e,t),e}return e},u]}},19593:(t,e,i)=>{"use strict";i.d(e,{L:()=>r});let r=(0,i(94070).createContext)({})},20595:(t,e,i)=>{"use strict";i.d(e,{N:()=>y});var r=i(89142),s=i(94070),n=i(19593),o=i(45721),a=i(81025),l=i(47532);class u extends s.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:t,isPresent:e}){let i=(0,s.useId)(),n=(0,s.useRef)(null),o=(0,s.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,s.useContext)(l.Q);return(0,s.useInsertionEffect)(()=>{let{width:t,height:r,top:s,left:l}=o.current;if(e||!n.current||!t||!r)return;n.current.dataset.motionPopId=i;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 2 [data-motion-pop-id="${i}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${r}px !important; 6 top: ${s}px !important; 7 left: ${l}px !important; 8 } 9 `),()=>{document.head.removeChild(u)}},[e]),(0,r.jsx)(u,{isPresent:e,childRef:n,sizeRef:o,children:s.cloneElement(t,{ref:n})})}let c=({children:t,initial:e,isPresent:i,onExitComplete:n,custom:l,presenceAffectsLayout:u,mode:c})=>{let p=(0,o.M)(d),f=(0,s.useId)(),m=(0,s.useCallback)(t=>{for(let e of(p.set(t,!0),p.values()))if(!e)return;n&&n()},[p,n]),v=(0,s.useMemo)(()=>({id:f,initial:e,isPresent:i,custom:l,onExitComplete:m,register:t=>(p.set(t,!1),()=>p.delete(t))}),u?[Math.random(),m]:[i,m]);return(0,s.useMemo)(()=>{p.forEach((t,e)=>p.set(e,!1))},[i]),s.useEffect(()=>{i||p.size||!n||n()},[i]),"popLayout"===c&&(t=(0,r.jsx)(h,{isPresent:i,children:t})),(0,r.jsx)(a.t.Provider,{value:v,children:t})};function d(){return new Map}var p=i(56686);let f=t=>t.key||"";function m(t){let e=[];return s.Children.forEach(t,t=>{(0,s.isValidElement)(t)&&e.push(t)}),e}var v=i(55626);let y=({children:t,custom:e,initial:i=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync",propagate:h=!1})=>{let[d,y]=(0,p.xQ)(h),g=(0,s.useMemo)(()=>m(t),[t]),x=h&&!d?[]:g.map(f),S=(0,s.useRef)(!0),w=(0,s.useRef)(g),b=(0,o.M)(()=>
9new Map),[P,T]=(0,s.useState)(g),[A,M]=(0,s.useState)(g);(0,v.E)(()=>{S.current=!1,w.current=g;for(let t=0;t<A.length;t++){let e=f(A[t]);x.includes(e)?b.delete(e):!0!==b.get(e)&&b.set(e,!1)}},[A,x.length,x.join("-")]);let k=[];if(g!==P){let t=[...g];for(let e=0;e<A.length;e++){let i=A[e],r=f(i);x.includes(r)||(t.splice(e,0,i),k.push(i))}"wait"===u&&k.length&&(t=k),M(m(t)),T(g);return}let{forceRender:V}=(0,s.useContext)(n.L);return(0,r.jsx)(r.Fragment,{children:A.map(t=>{let s=f(t),n=(!h||!!d)&&(g===A||x.includes(s));return(0,r.jsx)(c,{isPresent:n,initial:(!S.current||!!i)&&void 0,custom:n?void 0:e,presenceAffectsLayout:l,mode:u,onExitComplete:n?void 0:()=>{if(!b.has(s))return;b.set(s,!0);let t=!0;b.forEach(e=>{e||(t=!1)}),t&&(null==V||V(),M(w.current),h&&(null==y||y()),a&&a())},children:t},s)})})}},20726:(t,e,i)=>{"use strict";i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},21601:(t,e,i)=>{"use strict";function r(t){return t instanceof SVGElement&&"svg"!==t.tagName}i.d(e,{x:()=>r})},24188:(t,e,i)=>{"use strict";i.d(e,{f:()=>J});var r=i(95120),s=i(488),n=i(21670),o=i(29932),a=i(94670);let l=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function u(t,e,i,r){return t===e&&i===r?a.l:s=>0===s||1===s?s:l(function(t,e,i,r,s){let n,o,a=0;do(n=l(o=e+(i-e)/2,r,s)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12);return o}(s,0,1,t,i),e,r)}var h=i(69423),c=i(390);let d=u(.33,1.53,.69,.99),p=(0,c.G)(d),f=(0,h.V)(p),m=t=>(t*=2)<1?.5*p(t):.5*(2-Math.pow(2,-10*(t-1)));var v=i(13662),y=i(77689),g=i(31380),x=i(66403),S=i(41927),w=i(75603);let b=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(w.f.test(t)||"0"===t)&&!t.startsWith("url(")),P=t=>null!==t;function T(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(P),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return n&&void 0!==r?r:s[n]}class A{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=g.k.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,x.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=g.k.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:n,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],a=b(n,e),l=b(o,e);return(0,S.$)(a===l,`You are trying to animate ${e} from "${n}" to "${o}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!l&&(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,r.WH)(i))&&s)}(t,i,s,n))if(o)this.options.duration=0;else{l&&l(T(t,this.options,e)),a&&a(),this.resolveFinishedPromise();return}let h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var M=i(67386),k=i(70298),V=i(73559),C=i(33898),E=i(28904);function j({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],f={done:!1,value:p},m=i*e,v=p+m,y=void 0===o?v:o(v);y!==v&&(m=y-p);let g=t=>-m*Math.exp(-t/r),x=t=>y+g(t),S=t=>{let e=g(t),i=x(t);f.done=Math.abs(e)<=u,f.value=f.done?y:i},w=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=(0,C.o)({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,E.Y)(x,t,f.value),damping:s,stiffness:n,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,S(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||S(t),f)}}}let D=u(.42,0,1,1),R=u(0,0,.58,1),B=u(.42,0,.58,1);var O=i(69899);let L={linear:a.l,easeIn:D,easeInOut:B,easeOut:R,circIn:v.po,circInOut:v.tn,circOut:v.yT,backIn:p,backInOut:f,backOut:d,anticipate:m},F=t=>{if((0,r.DW)(t)){(0,S.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,s]=t;
9return u(e,i,r,s)}return"string"==typeof t?((0,S.V)(void 0!==L[t],`Invalid easing type '${t}'`),L[t]):t};var $=i(87474),U=i(77405);function I({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n=(0,O.h)(r)?r.map(F):F(r),o={done:!1,value:e[0]},a=(s=i&&i.length===e.length?i:(0,U.Z)(e),s.map(e=>e*t)),l=(0,$.G)(a,e,{ease:Array.isArray(n)?n:e.map(()=>n||B).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let W=t=>{let e=({timestamp:e})=>t(e);return{start:()=>n.Gt.update(e,!0),stop:()=>(0,n.WG)(e),now:()=>n.uv.isProcessing?n.uv.timestamp:g.k.now()}},N={decay:j,inertia:j,tween:I,keyframes:I,spring:C.o},_=t=>t/100;class G extends A{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:r,keyframes:s}=this.options,n=(null==r?void 0:r.KeyframeResolver)||x.h,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(s,o,e,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:s="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:l=0}=this.options,u=(0,r.WH)(s)?s:N[s]||I;u!==I&&"number"!=typeof t[0]&&(e=(0,V.F)(_,(0,k.j)(t[0],t[1])),t=[0,100]);let h=u({...this.options,keyframes:t});"mirror"===a&&(i=u({...this.options,keyframes:[...t].reverse(),velocity:-l})),null===h.calculatedDuration&&(h.calculatedDuration=(0,r.tu)(h));let{calculatedDuration:c}=h,d=c+o;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(n+1)-o}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:r,generator:s,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return s.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let g=this.currentTime,x=s;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(x=n)),g=(0,M.q)(0,1,i)*h}let S=y?{done:!1,value:a[0]}:x.next(g);o&&(S.value=o(S.value));let{done:w}=S;y||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&void 0!==r&&(S.value=T(a,this.options,r)),m&&m(S.value),b&&this.finish(),S}get duration(){let{resolved:t}=this;return t?(0,s.X)(t.calculatedDuration):0}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=W,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
9ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let z=new Set(["opacity","clipPath","filter","transform"]),H=(0,i(66704).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),K={anticipate:m,backInOut:f,circInOut:v.tn};class X extends A{constructor(t){super(t);const{name:e,motionValue:i,element:r,keyframes:s}=this.options;this.resolver=new y.K(s,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:s=300,times:n,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!l.owner||!l.owner.current)return!1;if("string"==typeof o&&(0,r.nL)()&&o in K&&(o=K[o]),i=this.options,(0,r.WH)(i.type)||"spring"===i.type||!(0,r.yL)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:r,element:l,...u}=this.options,h=function(t,e){let i=new G({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:t[0]},s=[],n=0;for(;!r.done&&n<2e4;)s.push((r=i.sample(n)).value),n+=10;return{times:void 0,keyframes:s,duration:n-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),s=h.duration,n=h.times,o=h.ease,a="keyframes"}let c=function(t,e,i,{delay:s=0,duration:n=300,repeat:o=0,repeatType:a="loop",ease:l="easeInOut",times:u}={}){let h={[e]:i};u&&(h.offset=u);let c=(0,r.TU)(l,n);return Array.isArray(c)&&(h.easing=c),t.animate(h,{delay:s,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:s,times:n,ease:o});return c.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?((0,r.vG)(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:i}=this.options;l.set(T(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:s,times:n,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,s.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,s.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,s.f)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return a.l;let{animation:i}=e;(0,r.vG)(i,t)}else this.pendingTimeline=t;return a.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:n,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,c=new G({...h,keyframes:i,duration:r,type:n,ease:o,times:a,isGenerator:!0}),d=(0,s.f)(this.time);t.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}
9static supports(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return H()&&i&&z.has(i)&&!a&&!l&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}}var Y=i(49475);let q={type:"spring",stiffness:500,damping:25,restSpeed:10},Q={type:"keyframes",duration:.8},Z={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},J=(t,e,i,a={},l,u)=>h=>{let c=(0,r.rU)(a,t)||{},d=c.delay||a.delay||0,{elapsed:p=0}=a;p-=(0,s.f)(d);let f={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-p,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{h(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:u?void 0:l};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:s,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(c)&&(f={...f,...((t,{keyframes:e})=>e.length>2?Q:Y.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:q:Z)(t,f)}),f.duration&&(f.duration=(0,s.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,s.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let m=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(f.duration=0,0===f.delay&&(m=!0)),o.W.skipAnimations&&(m=!0,f.duration=0,f.delay=0),m&&!u&&void 0!==e.get()){let t=T(f.keyframes,c);if(void 0!==t)return n.Gt.update(()=>{f.onUpdate(t),f.onComplete()}),new r.P6([])}return!u&&X.supports(f)?new X(f):new G(f)}},27298:(t,e,i)=>{"use strict";i.d(e,{P:()=>s});var r=i(16588);function s(t){return t.props[r.n]}},28153:(t,e,i)=>{"use strict";t.exports=i(68053)},28265:(t,e,i)=>{"use strict";i.d(e,{b:()=>o});var r=i(39672),s=i(77689),n=i(20726);class o extends r.B{constructor(){super(...arguments),this.KeyframeResolver=s.K}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,n.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},28904:(t,e,i)=>{"use strict";i.d(e,{Y:()=>s});var r=i(1283);function s(t,e,i){let s=Math.max(e-5,0);return(0,r.f)(i-t(s),e-s)}},29251:(t,e,i)=>{"use strict";i.d(e,{K:()=>s});var r=i(85079);function s(t,e,i){let s=t.getProps();return(0,r.a)(s,e,void 0!==i?i:s.custom,t)}},29831:(t,e,i)=>{"use strict";i.d(e,{z:()=>n});var r=i(13985),s=i(49475);function n(t,{layout:e,layoutId:i}){return s.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},33898:(t,e,i)=>{"use strict";i.d(e,{o:()=>v});var r=i(95120),s=i(488),n=i(67386),o=i(28904);let a=.01,l=2,u=.005,h=.5;var c=i(41927);function d(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],f=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function v(t=.3,e=.3){let i,y="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:g,restDelta:x}=y,S=y.keyframes[0],w=y.keyframes[y.keyframes.length-1],b={done:!1,value:S},{stiffness:P,damping:T,mass:A,duration:M,velocity:k,isResolvedFromDuration:V}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!m(t,f)&&m(t,p))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let o,a;(0,c.$)(t<=(0,s.f)(10),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,n.q)(.05,1,l),t=(0,n.q)(.01,10,(0,s.X)(t)),l<1?(o=e=>{let r=e*l,s=r*t;return .001-(r-i)/d(e,l)*Math.exp(-s)},a=e=>{let r=e*l*t,s=Math.pow(l,2)*Math.pow(e,2)*t,n=Math.exp(-r),a=d(Math.pow(e,2),l);return(r*i+i-s)*n*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));
9let u=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(o,a,5/t);if(t=(0,s.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*r;return{stiffness:e,damping:2*l*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...y,velocity:-(0,s.X)(y.velocity||0)}),C=k||0,E=T/(2*Math.sqrt(P*A)),j=w-S,D=(0,s.X)(Math.sqrt(P/A)),R=5>Math.abs(j);if(g||(g=R?a:l),x||(x=R?u:h),E<1){let t=d(D,E);i=e=>w-Math.exp(-E*D*e)*((C+E*D*j)/t*Math.sin(t*e)+j*Math.cos(t*e))}else if(1===E)i=t=>w-Math.exp(-D*t)*(j+(C+D*j)*t);else{let t=D*Math.sqrt(E*E-1);i=e=>{let i=Math.exp(-E*D*e),r=Math.min(t*e,300);return w-i*((C+E*D*j)*Math.sinh(r)+t*j*Math.cosh(r))/t}}let B={calculatedDuration:V&&M||null,next:t=>{let e=i(t);if(V)b.done=t>=M;else{let r=0;E<1&&(r=0===t?(0,s.f)(C):(0,o.Y)(i,t,e));let n=Math.abs(w-e)<=x;b.done=Math.abs(r)<=g&&n}return b.value=b.done?w:e,b},toString:()=>{let t=Math.min((0,r.tu)(B),r.YE),e=(0,r.KZ)(e=>B.next(t*e).value,t,30);return t+"ms "+e}};return B}},34326:(t,e,i)=>{"use strict";function r(t){return null!=t&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function s(){return!!globalThis?.document}function n(t){let e=t.getAttribute("contenteditable");return"false"!==e&&null!=e}function o(t){return!0==!!t.getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled")}i.d(e,{Bd:()=>s,N3:()=>function t(e){return!!(e.parentElement&&t(e.parentElement))||e.hidden},pj:()=>o,sb:()=>r,wu:()=>n})},34970:(t,e,i)=>{"use strict";i.d(e,{p:()=>r});let r=t=>Array.isArray(t)},35645:(t,e,i)=>{"use strict";i.d(e,{O:()=>u});var r=i(72844);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var n=i(17285),o=i(49475);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=o.U.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(o.f.has(t)){d=!0;continue}if((0,r.j)(t)){h[t]=i;continue}{let e=s(i,n.W[t]);t.startsWith("origin")?(p=!0,c[t]=e):u[t]=e}}if(!e.transform&&(d||i?u.transform=function(t,e,i){let r="",u=!0;for(let h=0;h<l;h++){let l=o.U[h],c=t[l];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===+!!l.startsWith("scale"):0===parseFloat(c))||i){let t=s(c,n.W[l]);if(!d){u=!1;let e=a[l]||l;r+=`${e}(${t}) `}i&&(e[l]=t)}}return r=r.trim(),i?r=i(e,u?"":r):u&&(r="none"),r}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}},35756:(t,e,i)=>{"use strict";i.d(e,{z:()=>o});var r=i(24275),s=i(20726),n=i(24188);function o(t,e,i){let o=(0,s.S)(t)?t:(0,r.OQ)(t);return o.start((0,n.f)("",o,e,i)),o.animation}},39406:(t,e,i)=>{"use strict";i.d(e,{I:()=>r});let r=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},39672:(t,e,i)=>{"use strict";i.d(e,{B:()=>k});var r=i(31380),s=i(42182),n=i(17102),o=i(70466),a=i(94768),l=i(25324);let u={current:null},h={current:!1};var c=i(6654),d=i(24275),p=i(75603),f=i(20726),m=i(74444),v=i(67261),y=i(82348),g=i(41699);let x=[...y.T,v.y,p.f];var S=i(49475),w=i(4903),b=i(49833),P=i(66403),T=i(85079),A=i(21670);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=P.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=r.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,A.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:h}=o;this.onUpdate=h,this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=(0,b.e)(e),this.isVariantNode=(0,b.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&(0,f.S)(e)&&e.set(l[t],!1)}}mount(t){this.current=t,w.C.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.forEac
9h((t,e)=>this.bindToMotionValue(e,t)),h.current||function(){if(h.current=!0,l.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>u.current=t.matches;t.addListener(e),e()}else u.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in w.C.delete(this.current),this.projection&&this.projection.unmount(),(0,A.WG)(this.notifyUpdate),(0,A.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=S.f.has(t),s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in s.B){let e=s.B[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(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,n.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<M.length;e++){let i=M[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,f.S)(s))t.addValue(r,s);else if((0,f.S)(n))t.addValue(r,(0,d.OQ)(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,(0,d.OQ)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let r=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];if(null!=r){if("string"==typeof r&&((0,o.i)(r)||(0,a.$)(r)))r=parseFloat(r);else{let i;i=r,!x.find((0,g.w)(i))&&p.f.test(e)&&(r=(0,m.J)(t,e))}this.setBaseTarget(t,(0,f.S)(r)?r.get():r)}return(0,f.S)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let s=(0,T.a)(this.props,r,null==(e=this.presenceContext)?void 0:e.custom);s&&(i=s[t])}if(r&&void 0!==i)return i;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,f.S)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new c.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},41699:(t,e,i)=>{"use strict";i.d(e,{w:()=>r});let r=t=>e=>e.test(t)},41968:(t,e,i)=>{"use strict";i.d(e,{U:()=>r,_:()=>s});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...r]},42182:(t,e,i)=>{"use strict";i.d(e,{B:()=>s});let r={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"]},s={};for(let t in r)s[t]={isEnabled:e=>r[t].some(t=>!!e[t])}}
9,44040:(t,e,i)=>{"use strict";i.d(e,{cx:()=>r});let r=(...t)=>t.filter(Boolean).join(" ")},44328:(t,e,i)=>{"use strict";i.d(e,{_:()=>c});var r=i(33893);function s(t){return(0,r.Gv)(t)&&t.reference?t.reference:String(t)}let n=(t,...e)=>e.map(s).join(` ${t} `).replace(/calc/g,""),o=(...t)=>`calc(${n("+",...t)})`,a=(...t)=>`calc(${n("-",...t)})`,l=(...t)=>`calc(${n("*",...t)})`,u=(...t)=>`calc(${n("/",...t)})`,h=t=>{let e=s(t);return null==e||Number.isNaN(parseFloat(e))?l(e,-1):String(e).startsWith("-")?String(e).slice(1):`-${e}`},c=Object.assign(t=>({add:(...e)=>c(o(t,...e)),subtract:(...e)=>c(a(t,...e)),multiply:(...e)=>c(l(t,...e)),divide:(...e)=>c(u(t,...e)),negate:()=>c(h(t)),toString:()=>t.toString()}),{add:o,subtract:a,multiply:l,divide:u,negate:h})},44789:(t,e,i)=>{"use strict";i.d(e,{x:()=>n});var r=i(29831),s=i(20726);function n(t,e,i){var n;let{style:o}=t,a={};for(let l in o)((0,s.S)(o[l])||e.style&&(0,s.S)(e.style[l])||(0,r.z)(l,t)||(null==(n=null==i?void 0:i.getValue(l))?void 0:n.liveStyle)!==void 0)&&(a[l]=o[l]);return a}},46665:(t,e,i)=>{"use strict";i.d(e,{l:()=>p});var r=i(17102),s=i(28265),n=i(39406),o=i(47589),a=i(49475),l=i(52799),u=i(409),h=i(64943),c=i(93417),d=i(84420);class p extends s.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.f.has(e)){let t=(0,o.D)(e);return t&&t.default||0}return e=u.e.has(e)?e:(0,n.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,d.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,r){(0,c.d)(t,e,i,r)}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},47532:(t,e,i)=>{"use strict";i.d(e,{Q:()=>r});let r=(0,i(94070).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},47589:(t,e,i)=>{"use strict";i.d(e,{D:()=>o});var r=i(67261),s=i(73708);let n={...i(17285).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:s.p,WebkitFilter:s.p},o=t=>n[t]},48594:(t,e,i)=>{"use strict";i.d(e,{M:()=>s});var r=i(19070);function s(t){return(0,r.c)(t,["styleConfig","size","variant","colorScheme"])}},48839:(t,e,i)=>{"use strict";i.d(e,{o:()=>p,V:()=>d});var r=i(33893),s=i(10572),n=i(79191),o=i(93215),a=i(74125),l=i(94070),u=i(5658),h=i(79669);function c(t,e={}){let{styleConfig:i,...d}=e,{theme:p,colorMode:f}=(0,h.UQ)(),m=t?(0,a.r)(p,`components.${t}`):void 0,v=i||m,y=o({theme:p,colorMode:f},v?.defaultProps??{},Object.fromEntries(Object.entries(d).filter(([t,e])=>void 0!==e&&"children"!==t&&!(0,l.isValidElement)(e))),(t,e)=>t?void 0:e),g=(0,l.useRef)({});if(v){let t=(t=>{let e,{variant:i,size:a,theme:l}=t,u=(e=l.__breakpoints,function(t,i,a,l){var u;if(!e)return;let h={},c=(u=e.toArrayValue,Array.isArray(a)?a:(0,r.Gv)(a)?u(a):null!=a?[a]:void 0);if(!c)return h;let d=c.length,p=1===d,f=!!t.parts;for(let r=0;r<d;r++){let a=e.details[r],u=e.details[function(t,e){for(let i=e+1;i<t.length;i++)if(null!=t[i])return i;return -1}(c,r)],d=(0,s.R)(a.minW,u?._minW),m=(0,n.J)(t[i]?.[c[r]],l);if(m){if(f){t.parts?.forEach(t=>{o(h,{[t]:p?m[t]:{[d]:m[t]}})});continue}if(!f){p?o(h,m):h[d]=m;continue}h[d]=m}}return h});return o({},(0,n.J)(v.baseStyle??{},t),u(v,"sizes",a,t),u(v,"variants",i,t))})(y);u(g.current,t)||(g.current=t)}return g.current}function d(t,e={}){return c(t,e)}function p(t,e={}){return c(t,e)}},49475:(t,e,i)=>{"use strict";i.d(e,{U:()=>r,f:()=>s});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(r)},49833:(t,e,i)=>{"use strict";i.d(e,{O:()=>a,e:()=>o});var r=i(19084),s=i(95173),n=i(41968);function o(t){return(0,r.N)(t.animate)||n._.some(e=>(0,s.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},50264:(t,e,i)=>{"use strict";function r(t,{style:e,vars:i},s,n){for(let r in Object.assign(t.style,e,n&&n.getProjectionStyles(s)),i)t.style.setProperty(r,i[r])}i.d(e,{e:()=>r})},52799:(t,e,i)=>{"use strict";i.d(e,{B:()=>l});var r=i(35645),s=i(27783);let n={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,e,i){return"string"==typeof t?t:s.px.transform(e+i*t)}function l(t,{attrX:e,attrY:i,attrScale:u,originX:h,originY:c,pathLength:d,pathSpacing:p=1,pathOffset:f=0,...m},v,y){let g,x;
9if((0,r.O)(t,m,y),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:S,style:w,dimensions:b}=t;S.transform&&(b&&(w.transform=S.transform),delete S.transform),b&&(void 0!==h||void 0!==c||w.transform)&&(g=a(void 0!==h?h:.5,b.x,b.width),x=a(void 0!==c?c:.5,b.y,b.height),w.transformOrigin=`${g} ${x}`),void 0!==e&&(S.x=e),void 0!==i&&(S.y=i),void 0!==u&&(S.scale=u),void 0!==d&&function(t,e,i=1,r=0,a=!0){t.pathLength=1;let l=a?n:o;t[l.offset]=s.px.transform(-r);let u=s.px.transform(e),h=s.px.transform(i);t[l.array]=`${u} ${h}`}(S,d,p,f,!1)}},53342:(t,e,i)=>{"use strict";i.d(e,{I:()=>u});var r=i(89142),s=i(44040),n=i(80966),o=i(48839),a=i(839);let l={path:(0,r.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,r.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,r.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,r.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},u=(0,n.R)((t,e)=>{let{as:i,viewBox:n,color:u="currentColor",focusable:h=!1,children:c,className:d,__css:p,...f}=t,m=(0,s.cx)("chakra-icon",d),v=(0,o.V)("Icon",t),y={ref:e,focusable:h,className:m,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:u,...p,...v}},g=n??l.viewBox;if(i&&"string"!=typeof i)return(0,r.jsx)(a.B.svg,{as:i,...y,...f});let x=c??l.path;return(0,r.jsx)(a.B.svg,{verticalAlign:"middle",viewBox:g,...y,...f,children:x})});u.displayName="Icon"},53662:(t,e,i)=>{"use strict";i.d(e,{i7:()=>p,mL:()=>c});var r,s,n=i(42960),o=i(94070),a=i(65631),l=i(82885),u=i(56117);i(10082),i(13027);var h=function(t,e){var i=arguments;if(null==e||!n.h.call(e,"css"))return o.createElement.apply(void 0,i);var r=i.length,s=Array(r);s[0]=n.E,s[1]=(0,n.c)(t,e);for(var a=2;a<r;a++)s[a]=i[a];return o.createElement.apply(null,s)};r=h||(h={}),s||(s=r.JSX||(r.JSX={}));var c=(0,n.w)(function(t,e){var i=t.styles,r=(0,u.J)([i],void 0,o.useContext(n.T)),s=o.useRef();return(0,l.i)(function(){var t=e.key+"-global",i=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+t+" "+r.name+'"]');return e.sheet.tags.length&&(i.before=e.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",t),i.hydrate([o])),s.current=[i,n],function(){i.flush()}},[e]),(0,l.i)(function(){var t=s.current,i=t[0];if(t[1]){t[1]=!1;return}if(void 0!==r.next&&(0,a.sk)(e,r.next,!0),i.tags.length){var n=i.tags[i.tags.length-1].nextElementSibling;i.before=n,i.flush()}e.insert("",r,i,!1)},[e,r.name]),null});function d(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return(0,u.J)(e)}function p(){var t=d.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},56187:(t,e,i)=>{"use strict";i.d(e,{B:()=>s,K:()=>n});var r=i(34970);let s=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),n=t=>(0,r.p)(t)?t[t.length-1]||0:t},56274:(t,e,i)=>{"use strict";i.d(e,{$:()=>d});var r=i(95120),s=i(10778),n=i(56187),o=i(24275),a=i(29251),l=i(90004),u=i(27298),h=i(24188),c=i(21670);function d(t,e,{delay:i=0,transitionOverride:p,type:f}={}){var m;let{transition:v=t.getDefaultTransition(),transitionEnd:y,...g}=e;p&&(v=p);let x=[],S=f&&t.animationState&&t.animationState.getState()[f];for(let e in g){let n=t.getValue(e,null!=(m=t.latestValues[e])?m:null),o=g[e];if(void 0===o||S&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(S,e))continue;let a={delay:i,...(0,r.rU)(v||{},e)},d=!1;if(window.MotionHandoffAnimation){let i=(0,u.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,c.Gt);null!==t&&(a.startTime=t,d=!0)}}(0,l.g)(t,e),n.start((0,h.f)(e,n,o,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:a,t,d));let p=n.animation;p&&x.push(p)}return y&&Promise.all(x).then(()=>{c.Gt.update(()=>{y&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=(0,a.K)(t,e)||{};for(let e in s={...s,...i}){let i=(0,n.K)(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,y)})}),x}},56686:(t,e,i)=>{"use strict";i.d(e,{tF:()=>o,xQ:()=>n});var r=i(94070),s=i(81025);function n(t=!0){let e=(0,r.useContext)(s.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,r.useId)();(0,r.useEffect)(()=>{t&&a(l)},[t]);let u=(0,r.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}function o(){var t;return null===(t=(0,r.useContext)(s.t))||t.isPresent}},57691:(t,e,i)=>{"use strict";i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>d,hq:()=>n,o4:()=>l});var r=i(8137),s=i(83522);function n(t,e,i){return i+e*(t-i)}function o(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function a(t,e=0,i=1,r,s){t.min=o(t.min,e,i,r,s),t.max=o(t.max,e,i,r,s)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,r=!1){let n,o,a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(n=i[u]).projectionDelta;let{visualElement:a}=n.options;
9(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&d(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),r&&(0,s.HD)(n.latestValues)&&d(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function c(t,e,i,s,n=.5){let o=(0,r.k)(t.min,t.max,n);a(t,e,i,o,s)}function d(t,e){c(t.x,e.x,e.scaleX,e.scale,e.originX),c(t.y,e.y,e.scaleY,e.scale,e.originY)}},58681:(t,e,i)=>{"use strict";i.d(e,{M:()=>c});var r=i(11857),s=i(28265),n=i(72844),o=i(47589),a=i(35645),l=i(49475),u=i(50264),h=i(44789);class c extends s.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(l.f.has(e)){let t=(0,o.D)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,n.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,r.m)(t,e)}build(t,e,i){(0,a.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},64638:(t,e,i)=>{"use strict";i.d(e,{y:()=>c});var r=i(89142),s=i(48594),n=i(44040),o=i(53662),a=i(80966),l=i(48839),u=i(839);let h=(0,o.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),c=(0,a.R)((t,e)=>{let i=(0,l.V)("Spinner",t),{label:o="Loading...",thickness:a="2px",speed:c="0.45s",emptyColor:d="transparent",className:p,...f}=(0,s.M)(t),m=(0,n.cx)("chakra-spinner",p),v={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:a,borderBottomColor:d,borderLeftColor:d,animation:`${h} ${c} linear infinite`,...i};return(0,r.jsx)(u.B.div,{ref:e,__css:v,className:m,...f,children:o&&(0,r.jsx)(u.B.span,{srOnly:!0,children:o})})});c.displayName="Spinner"},64943:(t,e,i)=>{"use strict";i.d(e,{n:()=>r});let r=t=>"string"==typeof t&&"svg"===t.toLowerCase()},66403:(t,e,i)=>{"use strict";i.d(e,{h:()=>c,q:()=>h});var r=i(90560),s=i(21670);let n=new Set,o=!1,a=!1;function l(){if(a){let t=Array.from(n).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,r.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var r;null==(r=t.getValue(e))||r.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,n.forEach(t=>t.complete()),n.clear()}function u(){n.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class c{constructor(t,e,i,r,s,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(n.add(this),o||(o=!0,s.Gt.read(u),s.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){let s=null==r?void 0:r.get(),n=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let r=i.readValue(e,n);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=n),r&&void 0===s&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),n.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,n.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},68053:(t,e)=>{"use strict";var i="function"==typeof Symbol&&Symbol.for,r=i?Symbol.for("react.element"):60103,s=i?Symbol.for("react.portal"):60106,n=i?Symbol.for("react.fragment"):60107,o=i?Symbol.for("react.strict_mode"):60108,a=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,u=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.async_mode"):60111,c=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,f=i?Symbol.for("react.suspense_list"):60120,m=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,y=i?Symbol.for("react.block"):60121,g=i?Symbol.for("react.fundamental"):60117,x=i?Symbol.for("react.responder"):60118,S=i?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case h:case c:case n:case a:case o:case p:return t;default:switch(t=t&&t.$$typeof){case u:case d:case v:case m:case l:return t;default:return e}}case s:return e}}}function b(t){return w(t)===c}e.AsyncMode=h,e.ConcurrentMode=c,e.ContextConsumer=u,e.ContextProvider=l,e.Element=r,e.ForwardRef=d,e.Fragment=n,e.Lazy=v,e.Memo=m,e.Portal=s,e.Profiler=a,e.StrictMode=o,e.Suspense=p,e.isAsyncMode=function(t){return b(t)||w(t)===h},e.isConcurrentMode=b,e.isContextConsumer=function(t){return w(t)===u},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===d},e.isFragment=function(t){return w(t)===n},e.isLazy=function(t){return w(t)===v},e.isMemo=function(t){return w(t)===m},e.isPortal=function(t){return w(t)===s},e.isProfiler=function(t){return w(t)===a},e.isStrictMode=function(t){return w(t)===o},e.isSuspense=function(t){return w(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===c||t===a||t===o||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===m||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===g||t.$$typeof===x||t.$$typeof===S||t.$$typeof===y)},e.typeOf=w},69423:(t,e,i)=>{"use strict";i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}
9,69899:(t,e,i)=>{"use strict";i.d(e,{h:()=>r});let r=t=>Array.isArray(t)&&"number"!=typeof t[0]},70466:(t,e,i)=>{"use strict";i.d(e,{i:()=>r});let r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},73708:(t,e,i)=>{"use strict";i.d(e,{p:()=>l});var r=i(75603),s=i(12951);let n=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(s.S)||[];if(!r)return t;let o=i.replace(r,""),a=+!!n.has(e);return r!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},74125:(t,e,i)=>{"use strict";var r;let s;i.d(e,{r:()=>n});let n=(r=function(t,e,i,r){let s="string"==typeof e?e.split("."):[e];for(r=0;r<s.length&&t;r+=1)t=t[s[r]];return void 0===t?i:t},s=new WeakMap,(t,e,i,n)=>{if(void 0===t)return r(t,e,i);s.has(t)||s.set(t,new Map);let o=s.get(t);if(o.has(e))return o.get(e);let a=r(t,e,i,n);return o.set(e,a),a})},74444:(t,e,i)=>{"use strict";i.d(e,{J:()=>o});var r=i(75603),s=i(73708),n=i(47589);function o(t,e){let i=(0,n.D)(t);return i!==s.p&&(i=r.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},77689:(t,e,i)=>{"use strict";i.d(e,{K:()=>m});var r=i(94768),s=i(10778),n=i(75603),o=i(74444);let a=new Set(["auto","none","0"]);var l=i(66403),u=i(41927),h=i(70466),c=i(72844);let d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var p=i(90560),f=i(82348);class m extends l.h{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,c.p)(r))){let s=function t(e,i,r=1){(0,u.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[s,n]=function(t){let e=d.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${null!=i?i:r}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return(0,h.i)(t)?parseFloat(t):t}return(0,c.p)(n)?t(n,i,r+1):n}(r,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!s.$.has(i)||2!==t.length)return;let[r,n]=t,o=(0,f.n)(r),a=(0,f.n)(n);if(o!==a)if((0,p.E4)(o)&&(0,p.E4)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||(0,r.$)(s))&&i.push(e)}i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!a.has(e)&&(0,n.V)(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=(0,o.J)(i,r)}(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=p.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let n=r.length-1,o=r[n];r[n]=p.Hr[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
9h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},79669:(t,e,i)=>{"use strict";i.d(e,{UQ:()=>n,gf:()=>a,rd:()=>o});var r=i(10880),s=i(88372);function n(){let t=(0,s.G6)(),e=(0,r.D)();return{...t,theme:e}}function o(t,e,i){let s=(0,r.D)();return a(t,e,i)(s)}function a(t,e,i){let r=Array.isArray(e)?e:[e],s=Array.isArray(i)?i:[i];return i=>{let n=s.filter(Boolean),o=r.map((e,r)=>{if("breakpoints"===t){var s=n[r]??e;if(null==e)return e;let t=t=>i.__breakpoints?.asArray?.[t];return t(e)??t(s)??s}var o=`${t}.${e}`,a=n[r]??e;if(null==o)return o;let l=t=>i.__cssMap?.[t]?.value;return l(o)??l(a)??a});return Array.isArray(e)?o:o[0]}}},80966:(t,e,i)=>{"use strict";i.d(e,{R:()=>s});var r=i(94070);function s(t){return(0,r.forwardRef)(t)}},81025:(t,e,i)=>{"use strict";i.d(e,{t:()=>r});let r=(0,i(94070).createContext)(null)},82348:(t,e,i)=>{"use strict";i.d(e,{T:()=>o,n:()=>a});var r=i(54038),s=i(27783),n=i(41699);let o=[r.ai,s.px,s.KN,s.uj,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,n.w)(t))},83522:(t,e,i)=>{"use strict";function r(t){return void 0===t||1===t}function s({scale:t,scaleX:e,scaleY:i}){return!r(t)||!r(e)||!r(i)}function n(t){return s(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>n,vF:()=>o,vk:()=>s})},84420:(t,e,i)=>{"use strict";i.d(e,{x:()=>o});var r=i(20726),s=i(49475),n=i(44789);function o(t,e,i){let o=(0,n.x)(t,e,i);for(let i in t)((0,r.S)(t[i])||(0,r.S)(e[i]))&&(o[-1!==s.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},85079:(t,e,i)=>{"use strict";function r(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function s(t,e,i,s){if("function"==typeof e){let[n,o]=r(s);e=e(void 0!==i?i:t.custom,n,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,o]=r(s);e=e(void 0!==i?i:t.custom,n,o)}return e}i.d(e,{a:()=>s})},90004:(t,e,i)=>{"use strict";i.d(e,{g:()=>s});var r=i(20726);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e)}},90560:(t,e,i)=>{"use strict";i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>c});var r=i(54038),s=i(27783),n=i(49475);let o=t=>t===r.ai||t===s.px,a=(t,e)=>parseFloat(t.split(", ")[e]),l=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let s=r.match(/^matrix3d\((.+)\)$/u);if(s)return a(s[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?a(e[1],t):0}},u=new Set(["x","y","z"]),h=n.U.filter(t=>!u.has(t));function c(t){let e=[];return h.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:l(4,13),y:l(5,14)};d.translateX=d.x,d.translateY=d.y},92460:(t,e,i)=>{"use strict";i.d(e,{w:()=>s});var r=i(94070);let s=(t,e)=>{let i=(0,r.useRef)(!1),s=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(i.current&&s.current)return t();s.current=!0},e),(0,r.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[])}},93417:(t,e,i)=>{"use strict";i.d(e,{d:()=>o});var r=i(39406),s=i(50264),n=i(409);function o(t,e,i,o){for(let i in(0,s.e)(t,e,void 0,o),e.attrs)t.setAttribute(n.e.has(i)?i:(0,r.I)(i),e.attrs[i])}},94768:(t,e,i)=>{"use strict";i.d(e,{$:()=>r});let r=t=>/^0[^.\s]+$/u.test(t)},95173:(t,e,i)=>{"use strict";function r(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{w:()=>r})},99334:(t,e,i)=>{"use strict";i.d(e,{c:()=>s});var r=i(94070);function s(t,e=[]){let i=(0,r.useRef)(t);return(0,r.useEffect)(()=>{i.current=t}),(0,r.useCallback)((...t)=>i.current?.(...t),e)}}}]);
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.