PageSourceSearch

https://mobbin.com/_next/static/immutable/chunks/1pu8ptcn3atel.js

js mobbin.com collected 2026-10-02 06:44:28 UTC 138,508 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bb28173a-6de2-a65f-2296-343f66051d1d")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,216517,t=>{"use strict";var e=t.i(370888),i=t.i(652731),s=t.i(306500);t.s(["animateSingleValue",0,function(t,n,r){let a=(0,e.isMotionValue)(t)?t:(0,i.motionValue)(t);return a.start((0,s.animateMotionValue)("",a,n,r)),a.animation}])},516468,306500,t=>{"use strict";var e=t.i(188530),i=t.i(799414),s=t.i(160036),n=t.i(396417),r=t.i(661287),a=t.i(910983),o=t.i(166649),l=t.i(800993),u=t.i(867572),h=t.i(122474),c=t.i(167810),d=t.i(868908),m=t.i(464918),p=t.i(816766),f=t.i(451660),g=t.i(943116),v=t.i(417521);let y=new Set(["opacity","clipPath","filter","transform"]),x=(0,g.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class T extends f.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=h.time.now();const m={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:u,...c},p=u?.KeyframeResolver||d.KeyframeResolver;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,m,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:d,isHandoff:f,onUpdate:g}=i;this.resolvedAt=h.time.now(),(0,p.canAnimate)(t,n,r,a)||((l.MotionGlobalConfig.instantAnimations||!d)&&g?.((0,c.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let T={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},b=!f&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=t;if(!(0,v.isHTMLElement)(e?.owner?.current))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return x()&&i&&y.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(T)?new m.NativeAnimationExtended({...T,element:T.motionValue.owner.current}):new o.JSAnimation(T);b.finished.then(()=>this.notifyFinished()).catch(u.noop),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,d.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var b=t.i(245961);let P=t=>null!==t;var S=t.i(852088);let V={type:"spring",stiffness:500,damping:25,restSpeed:10},w={type:"keyframes",duration:.8},M={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},A=function(t,s,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4?arguments[4]:void 0,u=arguments.length>5?arguments[5]:void 0;return h=>{let c=(0,e.getValueTransition)(r,t)||{},d=c.delay||r.delay||0,{elapsed:m=0}=r;m-=(0,b.secondsToMilliseconds)(d);let p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:s.getVelocity(),...c,delay:-m,onUpdate:t=>{s.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{h(),c.onComplete&&c.onComplete()},name:t,motionValue:s,element:u?void 0:a};!function(t){let{when:e,delay:i,delayChildren:s,staggerChildren:n,staggerDirection:r,repeat:a,repeatType:
2o,repeatDelay:l,from:u,elapsed:h,...c}=t;return!!Object.keys(c).length}(c)&&Object.assign(p,((t,e)=>{let{keyframes:i}=e;return i.length>2?w:S.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:V:M})(t,p)),p.duration&&(p.duration=(0,b.secondsToMilliseconds)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,b.secondsToMilliseconds)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let f=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(p.duration=0,0===p.delay&&(f=!0)),(l.MotionGlobalConfig.instantAnimations||l.MotionGlobalConfig.skipAnimations)&&(f=!0,p.duration=0,p.delay=0),p.allowFlatten=!c.type&&!c.ease,f&&!u&&void 0!==s.get()){let t=function(t,e){let{repeat:i,repeatType:s="loop"}=e,n=t.filter(P),r=i&&"loop"!==s&&i%2==1?0:n.length-1;return n[r]}(p.keyframes,c);if(void 0!==t)return void i.frame.update(()=>{p.onUpdate(t),p.onComplete()})}return c.isSync?new o.JSAnimation(p):new T(p)}};t.s(["animateMotionValue",0,A],306500),t.s(["animateTarget",0,function(t,o){let{delay:l=0,transitionOverride:u,type:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:c=t.getDefaultTransition(),transitionEnd:d,...m}=o;u&&(c=u);let p=[],f=h&&t.animationState&&t.animationState.getState()[h];for(let n in m){let o=t.getValue(n,t.latestValues[n]??null),u=m[n];if(void 0===u||f&&function(t,e){let{protectedKeys:i,needsAnimating:s}=t,n=i.hasOwnProperty(e)&&!0!==s[e];return s[e]=!1,n}(f,n))continue;let h={delay:l,...(0,e.getValueTransition)(c||{},n)},d=o.get();if(void 0!==d&&!o.isAnimating&&!Array.isArray(u)&&u===d&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){let e=(0,a.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,n,i.frame);null!==t&&(h.startTime=t,g=!0)}}(0,r.addValueToWillChange)(t,n),o.start(A(n,o,u,t.shouldReduceMotion&&s.positionalKeys.has(n)?{type:!1}:h,t,g));let v=o.animation;v&&p.push(v)}return d&&Promise.all(p).then(()=>{i.frame.update(()=>{d&&(0,n.setTarget)(t,d)})}),p}],516468)},19253,176053,t=>{"use strict";var e=t.i(616464),i=t.i(516468);function s(t,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,e.resolveVariant)(t,r,"exit"===a.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(l=a.transitionOverride);let u=o?()=>Promise.all((0,i.animateTarget)(t,o,a)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:i=0,staggerChildren:o,staggerDirection:u}=l;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5?arguments[5]:void 0,l=[],u=(t.variantChildren.size-1)*r,h=1===a?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*r}:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return u-t*r};return Array.from(t.variantChildren).sort(n).forEach((t,n)=>{t.notify("AnimationStart",e),l.push(s(t,e,{...o,delay:i+h(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(l)}(t,r,i+e,o,u,a)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),h(a.delay)]);{let[t,e]="beforeChildren"===c?[u,h]:[h,u];return t().then(()=>e())}}function n(t,e){return t.sortNodePosition(e)}t.s(["animateVisualElement",0,function(t,n){let r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",n),Array.isArray(n))r=Promise.all(n.map(e=>s(t,e,a)));else if("string"==typeof n)r=s(t,n,a);else{let s="function"==typeof n?(0,e.resolveVariant)(t,n,a.custom):n;r=Promise.all((0,i.animateTarget)(t,s,a))}return r.then(()=>{t.notify("AnimationComplete",n)})}],19253),t.s(["shallowCompare",0,function(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}],176053)},669592,t=>{"use strict";t.s(["isAnimationControls",0,function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}])},542869,t=>{"use strict";var e=t.i(232122),i=t.i(624007);t.s(["useIsPresent",0,function(){var t;return null===(t=(0,e.useContext)(i.PresenceContext))||t.isPresent},"usePresence",0,function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:r,register:a}=s,o=(0,e.useId)();(0,e.useEffect)(()=>
2{if(t)return a(o)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,l]:[!0]}])},669065,t=>{"use strict";let e=(0,t.i(232122).createContext)({});t.s(["LayoutGroupContext",0,e])},422182,t=>{"use strict";let e=(0,t.i(232122).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},238285,t=>{"use strict";var e=t.i(232122),i=t.i(502759),s=t.i(458174),n=t.i(748926);function r(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:a,animate:o}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,n.isVariantLabel)(e)?e:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i.MotionContext));return(0,e.useMemo)(()=>({initial:a,animate:o}),[r(a),r(o)])}],238285)},502759,t=>{"use strict";let e=(0,t.i(232122).createContext)({});t.s(["MotionContext",0,e])},624007,t=>{"use strict";let e=(0,t.i(232122).createContext)(null);t.s(["PresenceContext",0,e])},495814,76520,461153,444908,t=>{"use strict";let e=(0,t.i(232122).createContext)({});t.s(["SwitchLayoutGroupContext",0,e],495814),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],76520);var i=t.i(21061);function s(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let n={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!i.px.test(t))return t;else t=parseFloat(t);let n=s(t,e.target.x),r=s(t,e.target.y);return`${n}% ${r}%`}};t.s(["correctBorderRadius",0,n],461153);var r=t.i(931091),a=t.i(690703);t.s(["correctBoxShadow",0,{correct:(t,e)=>{let{treeScale:i,projectionDelta:s}=e,n=r.complex.parse(t);if(n.length>5)return t;let o=r.complex.createTransformer(t),l=+("number"!=typeof n[0]),u=s.x.scale*i.x,h=s.y.scale*i.y;n[0+l]/=u,n[1+l]/=h;let c=(0,a.mixNumber)(u,h,.5);return"number"==typeof n[2+l]&&(n[2+l]/=c),"number"==typeof n[3+l]&&(n[3+l]/=c),o(n)}}],444908)},459724,69607,123064,56140,55389,t=>{"use strict";var e=t.i(890454),i=t.i(867572),s=t.i(799414),n=t.i(690703),r=t.i(41500),a=t.i(21061),o=t.i(300748),l=t.i(306500),u=t.i(365747),h=t.i(857987),c=t.i(444836),d=t.i(718865),m=t.i(713043),p=t.i(257637),f=t.i(285474),g=t.i(595158);let v=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};function y(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["isRefObject",0,y],69607);var x=t.i(661287),T=t.i(872307),b=t.i(668149),P=t.i(245961);let S=(t,e)=>Math.abs(t-e);function V(t,e){return Math.sqrt(S(t.x,e.x)**2+S(t.y,e.y)**2)}t.s(["distance2D",0,V],123064);class w{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=D(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=V(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=s.frameData;this.history.push({...n,timestamp:r});let{onStart:a,onMove:o}=this.handlers;e||(a&&a(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=M(e,this.transformPagePoint),s.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=D("pointercancel"===t.type?this.lastMoveEventInfo:M(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!(0,T.isPrimaryPointer)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;const a=M((0,c.extractEventInfo)(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=s.frameData;this.history=[{...o,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,D(a,this.history)),this.removeListeners=(0,b.pipe)((0,h.addPointerEvent)(this.contextWindow,"pointermove",this.handlePointerMove),(0,h.addPointerEvent)(this.contextWindow,"pointerup",this.handlePointerUp),(0,h.addPointerEvent)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,s.cancelFrame)(this.updatePoint)}}function M(t,e){return e?{point:e(t.point)}:t}function A(t,e){return{x:t.x-e.x,y:t.y-e.y}}function D(t,e){let{point:i}=t;return{point:i,delta:A(i,C(e)),offset:A(i,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=C(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,P.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let n=(0,P.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let r={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function C(t){return t[t.length-1]}var E=t.i(836648),R=t.i(800303);function B(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 k(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function L(t,e,i){return{min:F(t,e),max:F(t,i)}}function F(t,e){return"number"==typeof t?t:t[e]||0}let j=new WeakMap;class O{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,p.createBox)(),this.visualElement=t}start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,c.extractEventInfo)(t).point)},o=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:o}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,r.setDragLock)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,f.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(a.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=(0,m.calcLength)(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),o&&s.frame.postRender(()=>o(t,e)),(0,x.addValueToWillChange)(this.visualElement,"transform");let{animationState:l}=this.visualElement;l&&l.setActive("whileDrag",!0)},l=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},u=(t,e)=>this.stop(t,e),h=()=>(0,f.eachAxis)(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:d}=this.getProps();
2this.panSession=new w(t,{onSessionStart:n,onStart:o,onMove:l,onSessionEnd:u,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:v(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&s.frame.postRender(()=>r(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:s}=this.getProps();if(!i||!I(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),a=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(a=function(t,e,i){let{min:s,max:r}=e;return void 0!==s&&t<s?t=i?(0,n.mixNumber)(s,t,i.min):Math.max(t,s):void 0!==r&&t>r&&(t=i?(0,n.mixNumber)(r,t,i.max):Math.min(t,r)),t}(a,this.constraints[t],this.elastic[t])),r.set(a)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&y(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,e){let{top:i,left:s,bottom:n,right:r}=e;return{x:B(t.x,s,r),y:B(t.y,i,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:L(t,"left","right"),y:L(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,f.eachAxis)(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!y(e))return!1;let s=e.current;(0,o.invariant)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=(0,g.measurePageBox)(s,n.root,this.visualElement.getTransformPagePoint()),a=(t=n.layout.layoutBox,{x:k(t.x,r.x),y:k(t.y,r.y)});if(i){let t=i((0,d.convertBoxToBoundingBox)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,d.convertBoundingBoxToBox)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all((0,f.eachAxis)(a=>{if(!I(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,x.addValueToWillChange)(this.visualElement,t),i.start((0,l.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,f.eachAxis)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,f.eachAxis)(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.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){(0,f.eachAxis)(e=>{let{drag:i}=this.getProps();if(!I(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:a}=s.layout.layoutBox[e];r.set(t[e]-(0,n.mixNumber)(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!y(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,f.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,a,o,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,a=(0,m.calcLength)(i),(o=(0,m.calcLength)(n))>a?r=(0,E.progress)(n.min,n.max-a,i.min):a>o&&(r=(0,E.progress)(i.min,i.max-o,n.min)),(0,R.clamp)(0,1,r))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,f.eachAxis)(e=>{if(!I(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:a}=this.constraints[e];i.set((0,n.mixNumber)(r,a,s[e]))})}addListeners(){if(!this.visualElement.current)return;j.set(this.visualElement,this);let t=this.visualElement.current,e=(0,h.addPointerEvent)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();y(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),s.frame.read(i);let a=(0,u.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,f.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),e(),r(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:a}}}function I(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class N extends e.Feature{constructor(t){super(t),this.removeGroupControls=i.no
2op,this.removeListeners=i.noop,this.controls=new O(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",0,N],459724);var U=e;let G=t=>(e,i)=>{t&&s.frame.postRender(()=>t(e,i))};class W extends U.Feature{constructor(){super(...arguments),this.removePointerDownListener=i.noop}onPointerDown(t){this.session=new w(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:v(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:G(t),onStart:G(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&s.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=(0,h.addPointerEvent)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,W],56140);let{schedule:$}=(0,t.i(598465).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,$],55389)},459447,890454,674749,41500,365747,872307,444836,857987,t=>{"use strict";var e=t.i(669592),i=t.i(19253),s=t.i(643875),n=t.i(176053),r=t.i(748926),a=t.i(732362);let o=a.variantProps.length;var l=t.i(616464);let u=[...a.variantPriorityOrder].reverse(),h=a.variantPriorityOrder.length;function c(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function d(){return{animate:c(!0),whileInView:c(),whileHover:c(),whileTap:c(),whileDrag:c(),whileFocus:c(),exit:c()}}class m{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,m],890454);let p=0;t.s(["animations",0,{animation:{Feature:class extends m{constructor(t){super(t),t.animationState||(t.animationState=function(t){let c=e=>Promise.all(e.map(e=>{let{animation:s,options:n}=e;return(0,i.animateVisualElement)(t,s,n)})),m=d(),p=!0,f=e=>(i,s)=>{let n=(0,l.resolveVariant)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function g(i){let{props:d}=t,g=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<o;t++){let s=a.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},v=[],y=new Set,x={},T=1/0;for(let a=0;a<h;a++){var b,P;let o=u[a],l=m[o],h=void 0!==d[o]?d[o]:g[o],c=(0,r.isVariantLabel)(h),S=o===i?l.isActive:null;!1===S&&(T=a);let V=h===g[o]&&h!==d[o]&&c;if(V&&p&&t.manuallyAnimateOnMount&&(V=!1),l.protectedKeys={...x},!l.isActive&&null===S||!h&&!l.prevProp||(0,e.isAnimationControls)(h)||"boolean"==typeof h)continue;let w=(b=l.prevProp,"string"==typeof(P=h)?P!==b:!!Array.isArray(P)&&!(0,n.shallowCompare)(P,b)),M=w||o===i&&l.isActive&&!V&&c||a>T&&c,A=!1,D=Array.isArray(h)?h:[h],C=D.reduce(f(o),{});!1===S&&(C={});let{prevResolvedValues:E={}}=l,R={...E,...C},B=e=>{M=!0,y.has(e)&&(A=!0,y.delete(e)),l.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in R){let e=C[t],i=E[t];if(!x.hasOwnProperty(t))((0,s.isKeyframesTarget)(e)&&(0,s.isKeyframesTarget)(i)?(0,n.shallowCompare)(e,i):e===i)?void 0!==e&&y.has(t)?B(t):l.protectedKeys[t]=!0:null!=e?B(t):y.add(t)}l.prevProp=h,l.prevResolvedValues=C,l.isActive&&(x={...x,...C}),p&&t.blockInitialAnimation&&(M=!1);let k=!(V&&w)||A;M&&k&&v.push(...D.map(t=>({animation:t,options:{type:o}})))}if(y.size){let e={};if("boolean"!=typeof d.initial){let i=(0,l.resolveVariant)(t,Array.isArray(d.initial)?d.initial[0]:d.initial);i&&i.transition&&(e.transition=i.transition)}y.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),v.push({animation:e})}let S=!!v.length;return p&&(!1===d.initial||d.initial===d.animate)&&!t.manuallyAnimateOnMount&&(S=!1),p=!1,S?c(v):Promise.resolve()}return{animateChanges:g,setActive:function(e,i){if(m[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),m[e].isActive=i;let s=g(e);for(let t in m)m[t].protectedKeys={};return s},setAnimateFunction:function(e){c=e(t)},getState:()=>m,reset:()=>{m=d(),p=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,e.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends m{constructor(){super(...arguments),this.id=p++}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 s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>
2{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}}],459447);let f={x:!1,y:!1};function g(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}t.s(["isDragActive",0,function(){return f.x||f.y},"isDragging",0,f],674749),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(f[t])return null;else return f[t]=!0,()=>{f[t]=!1};return f.x||f.y?null:(f.x=f.y=!0,()=>{f.x=f.y=!1})}],41500),t.s(["addDomEvent",0,g],365747);let v=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function y(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,v],872307);let x=t=>e=>v(e)&&t(e,y(e));t.s(["addPointerInfo",0,x,"extractEventInfo",0,y],444836),t.s(["addPointerEvent",0,function(t,e,i,s){return g(t,e,x(i),s)}],857987)},475567,t=>{"use strict";let e={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"]},i={};for(let t in e)i[t]={isEnabled:i=>e[t].some(t=>!!i[t])};t.s(["featureDefinitions",0,i])},175959,334292,619390,928840,928e3,t=>{"use strict";var e=t.i(459724),i=t.i(56140),s=t.i(90633),n=t.i(912280),r=t.i(840457),a=t.i(758183),o=t.i(188530),l=t.i(799414),u=t.i(122474),h=t.i(55389),c=t.i(322551),d=t.i(652731),m=t.i(690703),p=t.i(48804),f=t.i(800303),g=t.i(867572),v=t.i(216517),y=t.i(910983),x=t.i(217328);let T=(t,e)=>t.depth-e.depth;class b{constructor(){this.children=[],this.isDirty=!1}add(t){(0,x.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,x.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(T),this.isDirty=!1,this.children.forEach(t)}}t.i(245961);var P=t.i(370888);function S(t){return(0,P.isMotionValue)(t)?t.get():t}t.s(["resolveMotionValue",0,S],334292);var V=t.i(21061),w=t.i(836648),M=t.i(47649);let A=["TopLeft","TopRight","BottomLeft","BottomRight"],D=A.length,C=t=>"string"==typeof t?parseFloat(t):t,E=t=>"number"==typeof t||V.px.test(t);function R(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let B=L(0,.5,M.circOut),k=L(.5,.95,g.noop);function L(t,e,i){return s=>s<t?0:s>e?1:i((0,w.progress)(t,e,s))}function F(t,e){t.min=e.min,t.max=e.max}function j(t,e){F(t.x,e.x),F(t.y,e.y)}function O(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var I=t.i(59902),N=t.i(713043);function U(t,e,i,s,n){return t-=e,t=(0,I.scalePoint)(t,1/i,s),void 0!==n&&(t=(0,I.scalePoint)(t,1/n,s)),t}function G(t,e,i,s,n){let[r,a,o]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,n=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(V.percent.test(e)&&(e=parseFloat(e),e=(0,m.mixNumber)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,m.mixNumber)(r.min,r.max,s);t===r&&(o-=e),t.min=U(t.min,e,i,o,n),t.max=U(t.max,e,i,o,n)}(t,e[r],e[a],e[o],e.scale,s,n)}let W=["x","scaleX","originX"],$=["y","scaleY","originY"];function H(t,e,i,s){G(t.x,e,W,i?i.x:void 0,s?s.x:void 0),G(t.y,e,$,i?i.y:void 0,s?s.y:void 0)}var K=t.i(257637);function z(t){return 0===t.translate&&1===t.scale}function Y(t){return z(t.x)&&z(t.y)}function X(t,e){return t.min===e.min&&t.max===e.max}function q(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Z(t,e){return q(t.x,e.x)&&q(t.y,e.y)}function _(t){return(0,N.calcLength)(t.x)/(0,N.calcLength)(t.y)}function J(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Q{constructor(){this.members=[]}add(t){(0,x.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,x.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
2}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&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 tt=t.i(740513),te=t.i(285474),ti=t.i(331775),ts=t.i(76520);let tn={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tr=["","X","Y","Z"],ta={visibility:"hidden"},to=0;function tl(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tu(t){let{attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:g,resetTransform:x}=t;return class{constructor(t={},e=i?.()){this.id=to++,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,n.statsBuffer.value&&(tn.nodes=tn.calculatedTargetDeltas=tn.calculatedProjections=0),this.nodes.forEach(td),this.nodes.forEach(tx),this.nodes.forEach(tT),this.nodes.forEach(tm),n.statsBuffer.addProjectionMetrics&&n.statsBuffer.addProjectionMetrics(tn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new b)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];let n=this.eventHandlers.get(t);n&&n.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,r.isSVGElement)(t)&&!(0,a.isSVGSVGElement)(t),this.instance=t;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),e){let i,s=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=u.time.now(),e=i=>{let{timestamp:n}=i,r=n-t;r>=250&&((0,l.cancelFrame)(e),s())},l.frame.setup(e,!0),i=()=>(0,l.cancelFrame)(e),ts.globalProjectionState.hasAnimatedSinceResize&&(ts.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(ty))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:r}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||n.getDefaultTransition()||tM,{onLayoutAnimationStart:l,onLayoutAnimationComplete:u}=n.getProps(),h=!this.targetLayout||!Z(this.targetLayout,r),c=!i&&s;if(this.options.layoutRoot||this.resumeFrom||c||i&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,o.getValueTransition)(a,"layout"),onPlay:l,onComplete:u};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else i||ty(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,this.eventHandlers.clear(),(0,l.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(tb),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,y.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",l.frame,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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 s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tf);return}this.isUpdating||this.nodes.forEach(tg),this.isUpdating=!1,this.nodes.forEach(tv),this.nodes.forEach(th),this.nodes.forEach(tc),this.clearAllSnapshots();let t=u.time.now();l.frameData.delta=(0,f.clamp)(0,1e3/60,t-l.frameData.timestamp),l.frameData.timestamp=t,l.frameData.isProcessing=!0,l.frameSteps.update.process(l.frameData),l.frameSteps.preRender.process(l.frameData),l.frameSteps.render.process(l.frameData),l.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tp),this.sharedNodes.forEach(tP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,l.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){l.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,N.calcLength)(this.snapshot.measuredBox.x)||(0,N.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,K.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=g(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!x)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Y(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ti.hasTransform)(this.latestValues)||n)&&(x(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),s=this.removeElementScroll(i);return e&&(s=this.removeTransform(s)),tC((t=s).x),tC(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,K.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tR))){let{scroll:t}=this.root;t&&((0,I.translateAxis)(e.x,t.offset.x),(0,I.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,K.createBox)();if(j(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&j(e,t),(0,I.translateAxis)(e.x,n.offset.x),(0,I.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,K.createBox)();j(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,I.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,ti.hasTransform)(s.latestValues)&&(0,I.transformBox)(i,s.latestValues)}return(0,ti.hasTransform)(this.latestValues)&&(0,I.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,K.createBox)();j(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ti.hasTransform)(i.latestValues))continue;(0,ti.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,K.createBox)();j(s,i.measurePageBox()),H(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,ti.hasTransform)(this.latestValues)&&H(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!==l.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(this.layout&&(s||r)){if(this.resolvedRelativeTargetAt=l.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,K.createBox)(),this.relativeTargetOrigin=(0,K.createBox)(),(0,N.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),j(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,K.createBox)(),this.targetWithTransforms=(0,K.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,N.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):j(this.target,this.layout.layoutBox),(0,I.applyBoxDelta)(this.target,this.targetDelta)):j(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,K.createBox)(),this.relativeTargetOrigin=(0,K.createBox)(),(0,N.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),j(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}n.statsBuffer.value&&tn.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,ti.hasScale)(this.parent.latestValues)||(0,ti.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
2if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===l.frameData.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;j(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;(0,I.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,K.createBox)());let{target:u}=t;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(O(this.prevProjectionDelta.x,this.projectionDelta.x),O(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,N.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&J(this.projectionDelta.x,this.prevProjectionDelta.x)&&J(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),n.statsBuffer.value&&tn.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,K.createDelta)(),this.projectionDelta=(0,K.createDelta)(),this.projectionDeltaWithTransform=(0,K.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},a=(0,K.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let o=(0,K.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tw));this.animationProgress=0,this.mixTargetDelta=i=>{let s=i/1e3;if(tS(a.x,t.x,s),tS(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,g,v;(0,N.calcRelativePosition)(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,g=o,v=s,tV(p.x,f.x,g.x,v),tV(p.y,f.y,g.y,v),e&&(u=this.relativeTarget,d=e,X(u.x,d.x)&&X(u.y,d.y))&&(this.isProjectionDirty=!1),e||(e=(0,K.createBox)()),j(e,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=(0,m.mixNumber)(0,i.opacity??1,B(s)),t.opacityExit=(0,m.mixNumber)(e.opacity??1,0,k(s))):r&&(t.opacity=(0,m.mixNumber)(e.opacity??1,i.opacity??1,s));for(let n=0;n<D;n++){let r=`border${A[n]}Radius`,a=R(e,r),o=R(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||E(a)===E(o)?(t[r]=Math.max((0,m.mixNumber)(C(a),C(o),s),0),(V.percent.test(o)||V.percent.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,m.mixNumber)(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,l.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=l.frame.update(()=>{ts.globalProjectionState.hasAnimatedSinceResize=!0,c.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,d.motionValue)(0)),this.currentAnimation=(0,v.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{c.activeAnimations.layout--},onComplete:()=>{c.activeAnimations.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tE(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,K.createBox)();let e=(0,N.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,N.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}j(e,i),(0,I.transformBox)(e,n),(0,N.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Q),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(){let{layoutId:t}=this.options;
2return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=this.getStack();s&&s.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 s={};i.z&&tl("z",t,s,this.animationValues);for(let e=0;e<tr.length;e++)tl(`rotate${tr[e]}`,t,s,this.animationValues),tl(`skew${tr[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return ta;let e={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.opacity="",e.pointerEvents=S(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none",e;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=S(t?.pointerEvents)||""),this.hasProjected&&!(0,ti.hasTransform)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let n=s.animationValues||s.latestValues;this.applyTransformsToTarget(),e.transform=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((n||r||a)&&(s=`translate3d(${n}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n),i&&(e.transform=i(n,e.transform));let{x:r,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,s.animationValues?e.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tt.scaleCorrectors){if
2(void 0===n[t])continue;let{correct:i,applyTo:r,isCSSVariable:a}=tt.scaleCorrectors[t],o="none"===e.transform?n[t]:i(n[t],s);if(r){let t=r.length;for(let i=0;i<t;i++)e[r[i]]=o}else a?this.options.visualElement.renderState.vars[t]=o:e[t]=o}return this.options.layoutId&&(e.pointerEvents=s===this?S(t?.pointerEvents)||"":"none"),e}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tf),this.root.sharedNodes.clear()}}}function th(t){t.updateLayout()}function tc(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;"size"===n?(0,te.eachAxis)(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=(0,N.calcLength)(s);s.min=i[t].min,s.max=s.min+n}):tE(n,e.layoutBox,i)&&(0,te.eachAxis)(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],a=(0,N.calcLength)(i[s]);n.max=n.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=(0,K.createDelta)();(0,N.calcBoxDelta)(a,i,e.layoutBox);let o=(0,K.createDelta)();r?(0,N.calcBoxDelta)(o,t.applyTransform(s,!0),e.measuredBox):(0,N.calcBoxDelta)(o,i,e.layoutBox);let l=!Y(a),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let a=(0,K.createBox)();(0,N.calcRelativePosition)(a,e.layoutBox,n.layoutBox);let o=(0,K.createBox)();(0,N.calcRelativePosition)(o,i,r.layoutBox),Z(a,o)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function td(t){n.statsBuffer.value&&tn.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tm(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tp(t){t.clearSnapshot()}function tf(t){t.clearMeasurements()}function tg(t){t.isLayoutDirty=!1}function tv(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ty(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tx(t){t.resolveTargetDelta()}function tT(t){t.calcProjection()}function tb(t){t.resetSkewAndRotation()}function tP(t){t.removeLeadSnapshot()}function tS(t,e,i){t.translate=(0,m.mixNumber)(e.translate,0,i),t.scale=(0,m.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tV(t,e,i,s){t.min=(0,m.mixNumber)(e.min,i.min,s),t.max=(0,m.mixNumber)(e.max,i.max,s)}function tw(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tM={duration:.45,ease:[.4,0,.1,1]},tA=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tD=tA("applewebkit/")&&!tA("chrome/")?Math.round:g.noop;function tC(t){t.min=tD(t.min),t.max=tD(t.max)}function tE(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,N.isNear)(_(e),_(i),.2)}function tR(t){return t!==t.root&&t.scroll?.wasRoot}var tB=t.i(365747);let tk=tu({attachResizeListener:(t,e)=>(0,tB.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tL={current:void 0},tF=tu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tL.current){let t=new tk({});t.mount(window),t.setOptions({layoutScroll:!0}),tL.current=t}return tL.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tj={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tF,MeasureLayout:s.MeasureLayout}};t.s(["drag",0,tj],175959);var tO=t.i(674749),tI=t.i(943268);function tN(t,e){let i=(0,tI.resolveElements)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function tU(t){return!("touch"===t.pointerType||(0,tO.isDragActive)())}var tG=t.i(444836),tW=t.i(890454);function t$(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&l.frame.postRender(()=>n(e,(0,tG.extractEventInfo)(e)))}class tH extends tW.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,n,r]=tN(t,i),a=t=>{if(!tU(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let r=t=>{tU(t)&&(s(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,n)};
2return s.forEach(t=>{t.addEventListener("pointerenter",a,n)}),r}(t,(t,e)=>(t$(this.node,e,"Start"),t=>t$(this.node,t,"End"))))}unmount(){}}var tK=t.i(668149),tz=tW;class tY extends tz.Feature{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,tK.pipe)((0,tB.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tB.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var tX=t.i(417521);let tq=(t,e)=>!!e&&(t===e||tq(t,e.parentElement));var tZ=t.i(872307);let t_=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tJ=new WeakSet;function tQ(t){return e=>{"Enter"===e.key&&t(e)}}function t0(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function t1(t){return(0,tZ.isPrimaryPointer)(t)&&!(0,tO.isDragActive)()}var t2=tW;function t5(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&l.frame.postRender(()=>n(e,(0,tG.extractEventInfo)(e)))}class t6 extends t2.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,n,r]=tN(t,i),a=t=>{let s=t.currentTarget;if(!t1(t))return;tJ.add(s);let r=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),tJ.has(s)&&tJ.delete(s),t1(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||tq(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,n),(0,tX.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=tQ(()=>{if(tJ.has(i))return;t0(i,"down");let t=tQ(()=>{t0(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>t0(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),t_.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(t5(this.node,e,"Start"),(t,e)=>{let{success:i}=e;return t5(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var t8=tW;let t3=new WeakMap,t4=new WeakMap,t9=t=>{let e=t3.get(t.target);e&&e(t)},t7=t=>{t.forEach(t9)},et={some:0,all:1};class ee extends t8.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:r="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:et[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};return t=this.node.current,e=function(t){let{root:e,...i}=t,s=e||document;t4.has(s)||t4.set(s,{});let n=t4.get(s),r=JSON.stringify(i);return n[r]||(n[r]=new IntersectionObserver(t7,{root:e,...i})),n[r]}(o),t3.set(t,l),e.observe(t),()=>{t3.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}}t.s(["gestureAnimations",0,{inView:{Feature:ee},tap:{Feature:t6},focus:{Feature:tY},hover:{Feature:tH}}],619390);let ei={layout:{ProjectionNode:tF,MeasureLayout:s.MeasureLayout}};t.s(["layout",0,ei],928840);let es=(0,t.i(232122).createContext)({strict:!1});t.s(["LazyContext",0,es],928e3)},90633,t=>{"use strict";var e=t.i(161615),i=t.i(799414),s=t.i(55389),n=t.i(232122),r=t.i(542869),a=t.i(669065),o=t.i(495814),l=t.i(76520),u=t.i(461153),h=t.i(444908),c=t.i(740513);class d extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;(0,c.addScaleCorrector)(m),n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),l.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:s,drag:n,isPresent:r}=this.props,{projection:a}=s;return a&&(a.isPresent=r,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?a.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?a.promote():a.relegate()||i.frame.postRender(()=>{let t=a.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),s.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}let m={borderRadius:{...u.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:u.correctBorderRadius,borderTopRightRadius:u.correctBorderRadius,borderBottomLeftRadius:u.correctBorderRadius,borderBottomRightRadius:u.correctBorderRadius,boxSh
2adow:h.correctBoxShadow};t.s(["MeasureLayout",0,function(t){let[i,s]=(0,r.usePresence)(),l=(0,n.useContext)(a.LayoutGroupContext);return(0,e.jsx)(d,{...t,layoutGroup:l,switchLayoutGroup:(0,n.useContext)(o.SwitchLayoutGroupContext),isPresent:i,safeToRemove:s})}])},955614,173183,952223,t=>{"use strict";var e=t.i(475567);t.s(["loadFeatures",0,function(t){for(let i in t)e.featureDefinitions[i]={...e.featureDefinitions[i],...t[i]}}],955614);let i=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,i],173183);var s=t.i(232122),n=t.i(69607);t.s(["useMotionRef",0,function(t,e,i){return(0,s.useCallback)(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),i&&("function"==typeof i?i(s):(0,n.isRefObject)(i)&&(i.current=s))},[e])}],952223)},356634,t=>{"use strict";var e=t.i(161615),i=t.i(232122),s=t.i(669065),n=t.i(928e3),r=t.i(422182),a=t.i(502759),o=t.i(238285),l=t.i(892817),u=t.i(475567),h=t.i(955614),c=t.i(173183),d=t.i(952223),m=t.i(55389),p=t.i(332610),f=t.i(624007),g=t.i(495814),v=t.i(69607),y=t.i(346433);t.s(["createRendererMotionComponent",0,function(t){let{preloadedFeatures:x,createVisualElement:T,useRender:b,useVisualState:P,Component:S}=t;function V(t,h){let c,x={...(0,i.useContext)(r.MotionConfigContext),...t,layoutId:function(t){let{layoutId:e}
2=t,n=(0,i.useContext)(s.LayoutGroupContext).id;return n&&void 0!==e?n+"-"+e:e}(t)},{isStatic:V}=x,w=(0,o.useCreateMotionContext)(t),M=P(t,V);if(!V&&l.isBrowser){(0,i.useContext)(n.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=u.featureDefinitions;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(x);c=t.MeasureLayout,w.visualElement=function(t,e,s,o,l){let{visualElement:u}=(0,i.useContext)(a.MotionContext),h=(0,i.useContext)(n.LazyContext),c=(0,i.useContext)(f.PresenceContext),d=(0,i.useContext)(r.MotionConfigContext).reducedMotion,x=(0,i.useRef)(null);o=o||h.renderer,!x.current&&o&&(x.current=o(t,{visualState:e,parent:u,props:s,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d}));let T=x.current,b=(0,i.useContext)(g.SwitchLayoutGroupContext);T&&!T.projection&&l&&("html"===T.type||"svg"===T.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!a||o&&(0,v.isRefObject)(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:l,layoutRoot:u})}(x.current,s,l,b);let P=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{T&&P.current&&T.update(s,c)});let S=s[p.optimizedAppearDataAttribute],V=(0,i.useRef)(!!S&&!window.MotionHandoffIsComplete?.(S)&&window.MotionHasOptimisedAnimation?.(S));return(0,y.useIsomorphicLayoutEffect)(()=>{T&&(P.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),m.microtask.render(T.render),V.current&&T.animationState&&T.animationState.animateChanges())}),(0,i.useEffect)(()=>{T&&(!V.current&&T.animationState&&T.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(S)}),V.current=!1))}),T}(S,M,x,T,t.ProjectionNode)}return(0,e.jsxs)(a.MotionContext.Provider,{value:w,children:[c&&w.visualElement?(0,e.jsx)(c,{visualElement:w.visualElement,...x}):null,b(S,t,(0,d.useMotionRef)(M,w.visualElement,h),M,V,w.visualElement)]})}x&&(0,h.loadFeatures)(x),V.displayName=`motion.${"string"==typeof S?S:`create(${S.displayName??S.name??""})`}`;let w=(0,i.forwardRef)(V);return w[c.motionComponentSymbol]=S,w}],356634)},751349,t=>{"use strict";var e=t.i(852088),i=t.i(740513);t.s(["isForcedMotionValue",0,function(t,s){let{layout:n,layoutId:r}=s;return e.transformProps.has(t)||t.startsWith("origin")||(n||void 0!==r)&&(!!i.scaleCorrectors[t]||"opacity"===t)}])},917462,t=>{"use strict";var e=t.i(232122),i=t.i(669592),s=t.i(502759),n=t.i(624007),r=t.i(458174),a=t.i(578048),o=t.i(898137),l=t.i(334292);t.s(["makeUseVisualState",0,t=>(u,h)=>{let c=(0,e.useContext)(s.MotionContext),d=(0,e.useContext)(n.PresenceContext),m=()=>(function(t,e,s,n){let{scrapeMotionValuesFromProps:o,createRenderState:u}=t;return{latestValues:function(t,e,s,n){let o={},u=n(t,{});for(let t in u)o[t]=(0,l.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,r.isControllingVariants)(t),m=(0,r.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!s&&!1===s.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,i.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let s=(0,a.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let e in t)o[e]=t[e]}}}return o}(e,s,n,o),renderState:u()}})(t,u,c,d);return h?m():(0,o.useConstant)(m)}])},718865,t=>{"use strict";t.s(["convertBoundingBoxToBox",0,function(t){let{top:e,left:i,right:s,bottom:n}=t;return{x:{min:i,max:s},y:{min:e,max:n}}},"convertBoxToBoundingBox",0,function(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}},"transformBoxPoints",0,function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}])},713043,t=>{"use strict";var e=t.i(690703);function i(t){return t.max-t.min}
2function s(t,s,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=r,t.originPoint=(0,e.mixNumber)(s.min,s.max,t.origin),t.scale=i(n)/i(s),t.translate=(0,e.mixNumber)(n.min,n.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 n(t,e,s){t.min=s.min+e.min,t.max=t.min+i(e)}function r(t,e,s){t.min=e.min-s.min,t.max=t.min+i(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){s(t.x,e.x,i.x,n?n.originX:void 0),s(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,i,"calcRelativeBox",0,function(t,e,i){n(t.x,e.x,i.x),n(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){r(t.x,e.x,i.x),r(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}])},257637,t=>{"use strict";let e=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:i(),y:i()}),"createDelta",0,()=>({x:e(),y:e()})])},740513,t=>{"use strict";var e=t.i(250779);let i={};t.s(["addScaleCorrector",0,function(t){for(let s in t)i[s]=t[s],(0,e.isCSSVariableName)(s)&&(i[s].isCSSVariable=!0)},"scaleCorrectors",0,i])},285474,t=>{"use strict";t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}])},595158,331775,59902,t=>{"use strict";var e=t.i(718865),i=t.i(690703);function s(t){return void 0===t||1===t}function n(t){let{scale:e,scaleX:i,scaleY:n}=t;return!s(e)||!s(i)||!s(n)}function r(t){return n(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function o(t,e,i){return i+e*(t-i)}function l(t,e,i,s,n){return void 0!==n&&(t=o(t,n,s)),o(t,i,s)+e}function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;t.min=l(t.min,e,i,s,n),t.max=l(t.max,e,i,s,n)}function h(t,e){let{x:i,y:s}=e;u(t.x,i.translate,i.scale,i.originPoint),u(t.y,s.translate,s.scale,s.originPoint)}function c(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,s,n){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,a=(0,i.mixNumber)(t.min,t.max,r);u(t,e,s,a,n)}function m(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}function p(t,i){return(0,e.convertBoundingBoxToBox)((0,e.transformBoxPoints)(t.getBoundingClientRect(),i))}t.s(["has2DTranslate",0,a,"hasScale",0,n,"hasTransform",0,r],331775),t.s(["applyBoxDelta",0,h,"applyTreeDeltas",0,function(t,e,i){let s,n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=i.length;if(o){e.x=e.y=1;for(let l=0;l<o;l++){n=(s=i[l]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(a&&s.options.layoutScroll&&s.scroll&&s!==s.root&&m(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,h(t,n)),a&&r(s.latestValues)&&m(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,o,"transformBox",0,m,"translateAxis",0,c],59902),t.s(["measurePageBox",0,function(t,e,i){let s=p(t,i),{scroll:n}=e;return n&&(c(s.x,n.offset.x),c(s.y,n.offset.y)),s},"measureViewportBox",0,p],595158)},604738,t=>{"use strict";var e=t.i(356634),i=t.i(125003),s=t.i(595829),n=t.i(203150),r=t.i(917462),a=t.i(841102),o=t.i(516293);let l={useVisualState:(0,r.makeUseVisualState)({scrapeMotionValuesFromProps:o.scrapeMotionValuesFromProps,createRenderState:a.createSvgRenderState})};t.s(["createMotionComponentFactory",0,function(t,r){return function(a){let{forwardMotionProps:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1},u={...(0,s.isSVGComponent)(a)?l:n.htmlMotionConfig,preloadedFeatures:t,useRender:(0,i.createUseRender)(o),createVisualElement:r,Component:a};return(0,e.createRendererMotionComponent)(u)}}],604738)},552804,t=>{"use strict";t.s(["createDOMMotionComponentProxy",0,function(t){if("u"<typeof Proxy)return t;let e=new Map;return new Proxy(function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];return t(...i)},{get:(i,s)=>"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}])},577296,t=>{"use strict";var e=t.i(552804),i=t.i(459447),s=t.i(175959),n=t.i(619390),r=t.i(928840),a=t.i(604738),o=t.i(232122),l=t.i(750787),u=t.i(40316),h=t.i(595829);let c=(0,a.createMotionComponentFactory)({...i.animations,...n.gestureAnimations,...s.drag,...r.layout},(t,e)=>(0,h.isSVGComponent)(t)?new u.SVGVisualElement(e):new l.HTMLVisualElement(e,{allowProjection:t!==o.Fragment})),d=(0,e.createDOMMotionComponentProxy)(c);t.s(["motion",0,d],577296)},844484,620332,t=>{"use strict";var e=t.i(244670),i=t.i(370888),s=t.i(868908),n=t.i(122474),r=t.i(799414),a=t.i(852088),o=t.i(652731),l=t.i(824629),u=t.i(931091),h=t.i(981606),c=t.i(139709),d=t.i(968457),m=t.i(48804),p=t.i(475567),f=t.i(257637),g=t.i(385696),v=t.i(262786),y=t.i(796575),x=t.i(458174),T=t.i(578048);let b=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];
2class P{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:a,reducedMotionConfig:o,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=s.KeyframeResolver,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=n.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,r.frame.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=u;this.latestValues=c,this.baseTarget={...c},this.initialValues=e.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=e,this.presenceContext=a,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,x.isControllingVariants)(e),this.isVariantNode=(0,x.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in p){const e=p[t];void 0!==c[t]&&(0,i.isMotionValue)(e)&&e.set(c[t],!1)}}mount(t){this.current=t,y.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),v.hasReducedMotionListener.current||(0,g.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||v.prefersReducedMotion.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,r.cancelFrame)(this.notifyUpdate),(0,r.cancelFrame)(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 s=a.transformProps.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&r.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),o(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in p.featureDefinitions){let e=p.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,f.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<b.length;e++){let i=b[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,s){for(let n in e){let r=e[n],a=s[n];if((0,i.isMotionValue)(r))t.addValue(n,r);else if((0,i.isMotionValue)(a))t.addValue(n,(0,o.motionValue)(r,{owner:t}));else if(a!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,o.motionValue)(void 0!==e?e:r,{owner:t}))}}for(let i in s)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
2addVariantChild(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,o.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let s=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=s&&("string"==typeof s&&((0,c.isNumericalString)(s)||(0,d.isZeroValueString)(s))?s=parseFloat(s):!(0,l.findValueType)(s)&&u.complex.test(e)&&(s=(0,h.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,i.isMotionValue)(s)?s.get():s)),(0,i.isMotionValue)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let i=(0,T.resolveVariantFromProps)(this.props,s,this.presenceContext?.custom);i&&(e=i[t])}if(s&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,i.isMotionValue)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new m.SubscriptionManager),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];this.events[t]&&this.events[t].notify(...i)}}t.s(["VisualElement",0,P],620332),t.s(["DOMVisualElement",0,class extends P{constructor(){super(...arguments),this.KeyframeResolver=e.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:s}=e;delete i[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,i.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}],844484)},125003,595829,t=>{"use strict";var e,i=t.i(370888),s=t.i(232122),n=t.i(119960),r=t.i(191039),a=t.i(841102),o=t.i(282651);let l=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 u(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||l.has(t)}let h=t=>!u(t);try{(e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)&&(h=t=>t.startsWith("on")?!u(t):e(t))}catch{}let c=["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 d(t){if("string"!=typeof t||t.includes("-"));else if(c.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,d],595829),t.s(["createUseRender",0,function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e,l,c,m,p)=>{let{latestValues:f}=m,g=(d(e)?function(t,e,i,l){let u=(0,s.useMemo)(()=>{let i=(0,a.createSvgRenderState)();return(0,r.buildSVGAttrs)(i,e,(0,o.isSVGTag)(l),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};(0,n.copyRawValuesOnly)(e,t.style,t),u.style={...e,...u.style}}return u}
2:n.useHTMLProps)(l,f,p,e),v=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(h(n)||!0===i&&u(n)||!e&&!u(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(l,"string"==typeof e,t),y=e!==s.Fragment?{...v,...g,ref:c}:{},{children:x}=l,T=(0,s.useMemo)(()=>(0,i.isMotionValue)(x)?x.get():x,[x]);return(0,s.createElement)(e,{...y,children:T})}}],125003)},750787,t=>{"use strict";var e=t.i(852088),i=t.i(185598),s=t.i(250779),n=t.i(595158),r=t.i(844484),a=t.i(729212),o=t.i(161866),l=t.i(995680);class u extends r.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=o.renderHTML}readValueFromInstance(t,n){if(e.transformProps.has(n))return this.projection?.isProjecting?(0,i.defaultTransformValue)(n):(0,i.readTransformValue)(t,n);{let e=window.getComputedStyle(t),i=((0,s.isCSSVariableName)(n)?e.getPropertyValue(n):e[n])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return(0,n.measureViewportBox)(t,i)}build(t,e,i){(0,a.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,l.scrapeMotionValuesFromProps)(t,e,i)}}t.s(["HTMLVisualElement",0,u])},203150,t=>{"use strict";var e=t.i(917462),i=t.i(995680),s=t.i(401386);let n={useVisualState:(0,e.makeUseVisualState)({scrapeMotionValuesFromProps:i.scrapeMotionValuesFromProps,createRenderState:s.createHtmlRenderState})};t.s(["htmlMotionConfig",0,n])},119960,401386,t=>{"use strict";var e=t.i(370888),i=t.i(232122),s=t.i(751349),n=t.i(729212);let r=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function a(t,i,n){for(let r in i)(0,e.isMotionValue)(i[r])||(0,s.isForcedMotionValue)(r,n)||(t[r]=i[r])}t.s(["createHtmlRenderState",0,r],401386),t.s(["copyRawValuesOnly",0,a,"useHTMLProps",0,function(t,e){let s,o,l={},u=(s=t.style||{},a(o={},s,t),Object.assign(o,function(t,e){let{transformTemplate:s}=t;return(0,i.useMemo)(()=>{let t=r();return(0,n.buildHTMLStyles)(t,e,s),Object.assign({},t.vars,t.style)},[e])}(t,e)),o);return t.drag&&!1!==t.dragListener&&(l.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(l.tabIndex=0),l.style=u,l}],119960)},729212,t=>{"use strict";var e=t.i(852088),i=t.i(250779),s=t.i(35415),n=t.i(704274);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=e.transformPropOrder.length;t.s(["buildHTMLStyles",0,function(t,o,l){let{style:u,vars:h,transformOrigin:c}=t,d=!1,m=!1;for(let t in o){let r=o[t];if(e.transformProps.has(t)){d=!0;continue}if((0,i.isCSSVariableName)(t)){h[t]=r;continue}{let e=(0,s.getValueAsType)(r,n.numberValueTypes[t]);t.startsWith("origin")?(m=!0,c[t]=e):u[t]=e}}if(!o.transform&&(d||l?u.transform=function(t,i,o){let l="",u=!0;for(let h=0;h<a;h++){let a=e.transformPropOrder[h],c=t[a];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===+!!a.startsWith("scale"):0===parseFloat(c))||o){let t=(0,s.getValueAsType)(c,n.numberValueTypes[a]);if(!d){u=!1;let e=r[a]||a;l+=`${e}(${t}) `}o&&(i[a]=t)}}return l=l.trim(),o?l=o(i,u?"":l):u&&(l="none"),l}(o,t.transform,l):u.transform&&(u.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}],729212)},161866,t=>{"use strict";t.s(["renderHTML",0,function(t,e,i,s){let{style:n,vars:r}=e;for(let e in Object.assign(t.style,n,s&&s.getProjectionStyles(i)),r)t.style.setProperty(e,r[e])}])},995680,t=>{"use strict";var e=t.i(370888),i=t.i(751349);t.s(["scrapeMotionValuesFromProps",0,function(t,s,n){let{style:r}=t,a={};for(let o in r)((0,e.isMotionValue)(r[o])||s.style&&(0,e.isMotionValue)(s.style[o])||(0,i.isForcedMotionValue)(o,t)||n?.getValue(o)?.liveStyle!==void 0)&&(a[o]=r[o]);return a}])},796575,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},40316,t=>{"use strict";var e=t.i(852088),i=t.i(64264),s=t.i(257637),n=t.i(844484),r=t.i(478573),a=t.i(191039),o=t.i(35684),l=t.i(282651),u=t.i(901773),h=t.i(516293);class c extends n.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,s){if(e.transformProps.has(s)){let t=(0,i.getDefaultValueType)(s);return t&&t.default||0}
2return s=o.camelCaseAttributes.has(s)?s:(0,r.camelToDash)(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,e,i){return(0,h.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,a.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){(0,u.renderSVG)(t,e,i,s)}mount(t){this.isSVGTag=(0,l.isSVGTag)(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",0,c])},191039,t=>{"use strict";var e=t.i(729212),i=t.i(21061);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},n={offset:"strokeDashoffset",array:"strokeDasharray"};t.s(["buildSVGAttrs",0,function(t,r,a,o,l){let{attrX:u,attrY:h,attrScale:c,pathLength:d,pathSpacing:m=1,pathOffset:p=0,...f}=r;if((0,e.buildHTMLStyles)(t,f,o),a){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:v}=t;g.transform&&(v.transform=g.transform,delete g.transform),(v.transform||g.transformOrigin)&&(v.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),v.transform&&(v.transformBox=l?.transformBox??"fill-box",delete g.transformBox),void 0!==u&&(g.x=u),void 0!==h&&(g.y=h),void 0!==c&&(g.scale=c),void 0!==d&&function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let l=o?s:n;t[l.offset]=i.px.transform(-a);let u=i.px.transform(e),h=i.px.transform(r);t[l.array]=`${u} ${h}`}(g,d,m,p,!1)}],191039)},35684,t=>{"use strict";let e=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"]);t.s(["camelCaseAttributes",0,e])},841102,t=>{"use strict";var e=t.i(401386);t.s(["createSvgRenderState",0,()=>({...(0,e.createHtmlRenderState)(),attrs:{}})])},282651,t=>{"use strict";t.s(["isSVGTag",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()])},901773,t=>{"use strict";var e=t.i(478573),i=t.i(161866),s=t.i(35684);t.s(["renderSVG",0,function(t,n,r,a){for(let r in(0,i.renderHTML)(t,n,void 0,a),n.attrs)t.setAttribute(s.camelCaseAttributes.has(r)?r:(0,e.camelToDash)(r),n.attrs[r])}])},516293,t=>{"use strict";var e=t.i(370888),i=t.i(852088),s=t.i(995680);t.s(["scrapeMotionValuesFromProps",0,function(t,n,r){let a=(0,s.scrapeMotionValuesFromProps)(t,n,r);for(let s in t)((0,e.isMotionValue)(t[s])||(0,e.isMotionValue)(n[s]))&&(a[-1!==i.transformPropOrder.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]);return a}])},458174,t=>{"use strict";var e=t.i(669592),i=t.i(748926),s=t.i(732362);function n(t){return(0,e.isAnimationControls)(t.animate)||s.variantProps.some(e=>(0,i.isVariantLabel)(t[e]))}t.s(["isControllingVariants",0,n,"isVariantNode",0,function(t){return!!(n(t)||t.variants)}])},748926,732362,t=>{"use strict";t.s(["isVariantLabel",0,function(t){return"string"==typeof t||Array.isArray(t)}],748926);let e=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...e];t.s(["variantPriorityOrder",0,e,"variantProps",0,i],732362)},616464,578048,t=>{"use strict";function e(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function i(t,i,s,n){if("function"==typeof i){let[r,a]=e(n);i=i(void 0!==s?s:t.custom,r,a)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[r,a]=e(n);i=i(void 0!==s?s:t.custom,r,a)}return i}t.s(["resolveVariantFromProps",0,i],578048),t.s(["resolveVariant",0,function(t,e,s){let n=t.getProps();return i(n,e,void 0!==s?s:n.custom,t)}],616464)},396417,t=>{"use strict";var e=t.i(652731),i=t.i(643875),s=t.i(616464);t.s(["setTarget",0,function(t,n){let{transitionEnd:r={},transition:a={},...o}=(0,s.resolveVariant)(t,n)||{};for(let s in o={...o,...r}){var l;let n=(l=o[s],(0,i.isKeyframesTarget)(l)?l[l.length-1]||0:l);t.hasValue(s)?t.getValue(s).set(n):t.addValue(s,(0,e.motionValue)(n))}}])},892817,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",0,e])},385696,262786,t=>{"use strict";var e=t.i(892817);let i={current:null},s={current:!1};t.s(["hasReducedMotionListener",0,s,"prefersReducedMotion",0,i],262786),t.s(["initPrefersReducedMotion",0,function(){if(s.current=!0,e.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.current=t.matches;t.addListener(e),e()}else i.current=!1}],385696)},898137,t=>{"use strict";var e=t.i(232122);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},346433,t=>{"use strict";var e=t.i(232122);let i=t.i(892817).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i])},661287,478573,332610,910983,668149,t=>{"use strict";var e=t.i(800993),i=t.i(370888);t.s(["addValueToWillChange",0,function(t,s){let n=t.getValue("willChange");if((0,i.isMotionValue)(n)&&n.add)return n.add(s);if(!n&&e.MotionGlobalConfig.WillChange){let i=new e.MotionGlobalConfig.WillChange("auto");
2t.addValue("willChange",i),i.add(s)}}],661287);let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",0,s],478573);let n="data-"+s("framerAppearId");t.s(["optimizedAppearDataAttribute",0,n],332610),t.s(["getOptimisedAppearId",0,function(t){return t.props[n]}],910983);let r=(t,e)=>i=>e(t(i));t.s(["pipe",0,function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.reduce(r)}],668149)},166649,167810,748268,451660,185598,575997,868908,436321,943116,503076,585185,661335,t=>{"use strict";let e;var i=t.i(668149),s=t.i(800303),n=t.i(245961),r=t.i(122474),a=t.i(322551),o=t.i(596009),l=t.i(85780),u=t.i(778985),h=t.i(820608),c=t.i(401670),d=t.i(564671),m=t.i(413491),p=t.i(1135);function f(t){var e;let{duration:i=300,keyframes:s,times:n,ease:r="easeInOut"}=t,a=(0,c.isEasingArray)(r)?r.map(d.easingDefinitionToFunction):(0,d.easingDefinitionToFunction)(r),o={done:!1,value:s[0]},l=(e=n&&n.length===s.length?n:(0,p.defaultOffset)(s),e.map(t=>t*i)),u=(0,m.interpolate)(l,s,{ease:Array.isArray(a)?a:s.map(()=>a||h.easeInOut).splice(0,s.length-1)});return{calculatedDuration:i,next:t=>(o.value=u(t),o.done=t>=i,o)}}var g=t.i(277035);let v=t=>null!==t;function y(t,e,i){let{repeat:s,repeatType:n="loop"}=e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=t.filter(v),o=r<0||s&&"loop"!==n&&s%2==1?0:a.length-1;return o&&void 0!==i?i:a[o]}t.s(["getFinalKeyframe",0,y],167810);var x=t.i(31583);let T={decay:u.inertia,inertia:u.inertia,tween:f,keyframes:f,spring:x.spring};function b(t){"string"==typeof t.type&&(t.type=T[t.type])}t.s(["replaceTransitionType",0,b],748268);class P{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}t.s(["WithPromise",0,P],451660);let S=t=>t/100;t.s(["JSAnimation",0,class extends P{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==r.time.now()&&this.tick(r.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;b(t);let{type:e=f,repeat:s=0,repeatDelay:n=0,repeatType:r,velocity:a=0}=t,{keyframes:l}=t,u=e||f;u!==f&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,i.pipe)(S,(0,o.mix)(l[0],l[1])),l=[0,100]);let h=u({...t,keyframes:l});"mirror"===r&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,g.calcGeneratorDuration)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(s+1)-n,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:m,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?x<0:x>n;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,P=i;if(d){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/o)):"mirror"===m&&(P=a)),b=(0,s.clamp)(0,1,i)*o}let S=T?{done:!1,value:c[0]}:P.next(b);r&&(S.value=r(S.value));let{done:V}=S;T||null===l||(V=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&V);return w&&f!==u.inertia&&(S.value=y(c,this.options,v,this.speed)),g&&g(S.value),w&&this.finish(),S}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.millisecondsToSeconds)(this.calculatedDuration)}get time(){return(0,n.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,n.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(r.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,n.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=l.frameloopDriver,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(r.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,a.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}],166649);let V=t=>180*t/Math.PI,w=t=>A(V(Math.atan2(t[1],t[0]))),M={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:w,rotateZ:w,skewX:t=>V(Math.atan(t[1])),skewY:t=>V(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},A=t=>((t%=360)<0&&(t+=360),t),D=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),C=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),E={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:D,scaleY:C,scale:t=>(D(t)+C(t))/2,rotateX:t=>A(V(Math.atan2(t[6],t[5]))),rotateY:t=>A(V(Math.atan2(-t[2],t[0]))),rotateZ:w,rotate:w,skewX:t=>V(Math.atan(t[4])),skewY:t=>V(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function R(t){return+!!t.includes("scale")}function B(t,e){let i,s;if(!t||"none"===t)return R(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=E,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=M,s=e}if(!s)return R(e);let r=i[e],a=s[1].split(",").map(k);return"function"==typeof r?r(a):a[r]}function k(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,R,"parseValueFromTransform",0,B,"readTransformValue",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return B(i,e)}],185598);var L=t.i(852088),F=t.i(225481),j=t.i(21061);let O=new Set(["x","y","z"]),I=L.transformPropOrder.filter(t=>!O.has(t));function N(t){let e=[];return I.forEach(i=>
2{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}let U={width:(t,e)=>{let{x:i}=t,{paddingLeft:s="0",paddingRight:n="0"}=e;return i.max-i.min-parseFloat(s)-parseFloat(n)},height:(t,e)=>{let{y:i}=t,{paddingTop:s="0",paddingBottom:n="0"}=e;return i.max-i.min-parseFloat(s)-parseFloat(n)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:s}=e;return parseFloat(s)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:s}=e;return parseFloat(s)+(i.max-i.min)},x:(t,e)=>{let{transform:i}=e;return B(i,"x")},y:(t,e)=>{let{transform:i}=e;return B(i,"y")}};U.translateX=U.x,U.translateY=U.y,t.s(["isNumOrPxType",0,t=>t===F.number||t===j.px,"positionalValues",0,U,"removeNonTranslationalTransform",0,N],575997);var G=t.i(799414);let W=new Set,$=!1,H=!1,K=!1;function z(){if(H){let t=Array.from(W).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=N(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=>{let[i,s]=e;t.getValue(i)?.set(s)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}H=!1,$=!1,W.forEach(t=>t.complete(K)),W.clear()}function Y(){W.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(H=!0)})}function X(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["KeyframeResolver",0,class{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(W.add(this),$||($=!0,G.frame.read(Y),G.frame.resolveKeyframes(z))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),W.delete(this)}cancel(){"scheduled"===this.state&&(W.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"flushKeyframeResolvers",0,function(){K=!0,Y(),z(),K=!1}],868908),t.s(["setStyle",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],436321),t.s(["memo",0,X],943116);let q=X(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",0,q],503076);var Z=t.i(912280),_=t.i(476535);let J={},Q=(e=X(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>J.linearEasing??e());t.s(["supportsLinearEasing",0,Q],585185);var tt=t.i(798201);let te=t=>{let[e,i,s,n]=t;return`cubic-bezier(${e}, ${i}, ${s}, ${n})`},ti={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:te([0,.65,.55,1]),circOut:te([.55,0,1,.45]),backIn:te([.31,.01,.66,-.59]),backOut:te([.33,1.53,.69,.99])};t.s(["startWaapiAnimation",0,function(t,e,i){let{delay:s=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:l="easeOut",times:u}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,c={[e]:i};u&&(c.offset=u);let d=function t(e,i){if(e)return"function"==typeof e?Q()?(0,tt.generateLinearEasing)(e,i):"ease-out":(0,_.isBezierDefinition)(e)?te(e):Array.isArray(e)?e.map(e=>t(e,i)||ti.easeOut):ti[e]}(l,n);Array.isArray(d)&&(c.easing=d),Z.statsBuffer.value&&a.activeAnimations.waapi++;let m={delay:s,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};h&&(m.pseudoElement=h);let p=t.animate(c,m);return Z.statsBuffer.value&&p.finished.finally(()=>{a.activeAnimations.waapi--}),p}],661335)},464918,816766,t=>{"use strict";var e=t.i(245961),i=t.i(166649),s=t.i(300748),n=t.i(867572),r=t.i(436321),a=t.i(503076),o=t.i(167810),l=t.i(451660),u=t.i(661335),h=t.i(585185),c=t.i(864510);class d extends l.WithPromise{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:a,allowFlatten:l=!1,finalKeyframe:d,onComplete:m}=t;this.isPseudoElement=!!a,this.allowFlatten=l,this.options=t,(0,s.invariant)("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');const p=function(t){let{type:e,...i}=t;return(0,c.isGenerator)(e)&&(0,h.supportsLinearEasing)()?e.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}(t);this.animation=(0,u.startWaapiAnimation)(e,i,n,p,a),!1===p.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let t=(0,o.getFinalKeyframe)(n,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,r.setStyle)(e,i,t),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,e.millisecondsToSeconds)(Number(t))}get time(){return(0,e.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,e.secondsToMilliseconds)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline(t){let{timeline:e,observe:i}=t;return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,a.supportsScrollTimeline)())?(this.animation.timeline=e,n.noop):i(this)}}var m=t.i(748268),p=t.i(747760),f=t.i(660563),g=t.i(47649);let v={anticipate:p.anticipate,backInOut:f.backInOut,circInOut:g.circInOut};t.s(["NativeAnimationExtended",0,class extends d{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in v&&(t.ease=v[t.ease])}(t),(0,m.replaceTransitionType)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:s,onUpdate:n,onComplete:r,element:a,...o}=this.options;if(!s)return;if(void 0!==t)return void s.set(t);let l=new i.JSAnimation({...o,autoplay:!1}),u=(0,e.secondsToMilliseconds)(this.finishedTime??this.time);s.setWithVelocity(l.sample(u-10).value,l.sample(u).value,10),l.stop()}}],464918);var y=t.i(931091);let x=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(y.complex.test(t)||"0"===t)&&!t.startsWith("url("));
2t.s(["canAnimate",0,function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let a=t[t.length-1],o=x(r,e),l=x(a,e);return(0,s.warning)(o===l,`You are trying to animate ${e} from "${r}" to "${a}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${a} via the \`style\` property.`),!!o&&!!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,c.isGenerator)(i))&&n)}],816766)},778985,367258,820608,t=>{"use strict";var e=t.i(31583),i=t.i(383097);t.s(["inertia",0,function(t){let s,n,{keyframes:r,velocity:a=0,power:o=.8,timeConstant:l=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:c,min:d,max:m,restDelta:p=.5,restSpeed:f}=t,g=r[0],v={done:!1,value:g},y=o*a,x=g+y,T=void 0===c?x:c(x);T!==x&&(y=T-g);let b=t=>-y*Math.exp(-t/l),P=t=>T+b(t),S=t=>{let e=b(t),i=P(t);v.done=Math.abs(e)<=p,v.value=v.done?T:i},V=t=>{let r;if(r=v.value,void 0!==d&&r<d||void 0!==m&&r>m){var a;s=t,n=(0,e.spring)({keyframes:[v.value,(a=v.value,void 0===d?m:void 0===m||Math.abs(d-a)<Math.abs(m-a)?d:m)],velocity:(0,i.calcGeneratorVelocity)(P,t,v.value),damping:u,stiffness:h,restDelta:p,restSpeed:f})}};return V(0),{calculatedDuration:null,next:t=>{let e=!1;return(n||void 0!==s||(e=!0,S(t),V(t)),void 0!==s&&t>=s)?n.next(t-s):(e||S(t),v)}}}],778985);var s=t.i(867572);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function r(t,e,i,r){return t===e&&i===r?s.noop:s=>0===s||1===s?s:n(function(t,e,i,s,r){let a,o,l=0;do(a=n(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12)return o}(s,0,1,t,i),e,r)}t.s(["cubicBezier",0,r],367258);let a=r(.42,0,1,1),o=r(0,0,.58,1),l=r(.42,0,.58,1);t.s(["easeIn",0,a,"easeInOut",0,l,"easeOut",0,o],820608)},31583,t=>{"use strict";var e=t.i(245961),i=t.i(800303),s=t.i(798201),n=t.i(277035),r=t.i(751373),a=t.i(383097),o=t.i(996678),l=t.i(300748);function u(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],c=["stiffness","damping","mass"];function d(t,e){return e.some(e=>void 0!==t[e])}function m(){let t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.springDefaults.visualDuration,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.springDefaults.bounce,p="object"!=typeof r?{visualDuration:r,keyframes:[0,1],bounce:m}:r,{restSpeed:f,restDelta:g}=p,v=p.keyframes[0],y=p.keyframes[p.keyframes.length-1],x={done:!1,value:v},{stiffness:T,damping:b,mass:P,duration:S,velocity:V,isResolvedFromDuration:w}=function(t){let s={velocity:o.springDefaults.velocity,stiffness:o.springDefaults.stiffness,damping:o.springDefaults.damping,mass:o.springDefaults.mass,isResolvedFromDuration:!1,...t};if(!d(t,c)&&d(t,h))if(t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration),n=e*e,r=2*(0,i.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);s={...s,mass:o.springDefaults.mass,stiffness:n,damping:r}}else{let n=function(t){let s,n,{duration:r=o.springDefaults.duration,bounce:a=o.springDefaults.bounce,velocity:h=o.springDefaults.velocity,mass:c=o.springDefaults.mass}=t;(0,l.warning)(r<=(0,e.secondsToMilliseconds)(o.springDefaults.maxDuration),"Spring duration must be 10 seconds or less");let d=1-a;d=(0,i.clamp)(o.springDefaults.minDamping,o.springDefaults.maxDamping,d),r=(0,i.clamp)(o.springDefaults.minDuration,o.springDefaults.maxDuration,(0,e.millisecondsToSeconds)(r)),d<1?(s=t=>{let e=t*d,i=e*r;return .001-(e-h)/u(t,d)*Math.exp(-i)},n=t=>{let e=t*d*r,i=Math.pow(d,2)*Math.pow(t,2)*r,n=Math.exp(-e),a=u(Math.pow(t,2),d);return(e*h+h-i)*n*(-s(t)+.001>0?-1:1)/a}):(s=t=>-.001+Math.exp(-t*r)*((t-h)*r+1),n=t=>r*r*(h-t)*Math.exp(-t*r));let m=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(s,n,5/r);if(r=(0,e.secondsToMilliseconds)(r),isNaN(m))return{stiffness:o.springDefaults.stiffness,damping:o.springDefaults.damping,duration:r};{let t=Math.pow(m,2)*c;return{stiffness:t,damping:2*d*Math.sqrt(c*t),duration:r}}}(t);(s={...s,...n,mass:o.springDefaults.mass}).isResolvedFromDuration=!0}return s}({...p,velocity:-(0,e.millisecondsToSeconds)(p.velocity||0)}),M=V||0,A=b/(2*Math.sqrt(T*P)),D=y-v,C=(0,e.millisecondsToSeconds)(Math.sqrt(T/P)),E=5>Math.abs(D);if(f||(f=E?o.springDefaults.restSpeed.granular:o.springDefaults.restSpeed.default),g||(g=E?o.springDefaults.restDelta.granular:o.springDefaults.restDelta.default),A<1){let e=u(C,A);t=t=>y-Math.exp(-A*C*t)*((M+A*C*D)/e*Math.sin(e*t)+D*Math.cos(e*t))}else if(1===A)t=t=>y-Math.exp(-C*t)*(D+(M+C*D)*t);else{let e=C*Math.sqrt(A*A-1);
2t=t=>{let i=Math.exp(-A*C*t),s=Math.min(e*t,300);return y-i*((M+A*C*D)*Math.sinh(s)+e*D*Math.cosh(s))/e}}let R={calculatedDuration:w&&S||null,next:i=>{let s=t(i);if(w)x.done=i>=S;else{let n=0===i?M:0;A<1&&(n=0===i?(0,e.secondsToMilliseconds)(M):(0,a.calcGeneratorVelocity)(t,i,s));let r=Math.abs(y-s)<=g;x.done=Math.abs(n)<=f&&r}return x.value=x.done?y:s,x},toString:()=>{let t=Math.min((0,n.calcGeneratorDuration)(R),n.maxGeneratorDuration),e=(0,s.generateLinearEasing)(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}m.applyToOptions=t=>{let i=(0,r.createGeneratorEasing)(t,100,m);return t.ease=i.ease,t.duration=(0,e.secondsToMilliseconds)(i.duration),t.type="keyframes",t},t.s(["spring",0,m],31583)},864510,t=>{"use strict";t.s(["isGenerator",0,function(t){return"function"==typeof t&&"applyToOptions"in t}])},383097,996678,t=>{"use strict";var e=t.i(930243);t.s(["calcGeneratorVelocity",0,function(t,i,s){let n=Math.max(i-5,0);return(0,e.velocityPerSecond)(s-t(n),i-n)}],383097),t.s(["springDefaults",0,{stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1}],996678)},244670,64264,981606,824629,t=>{"use strict";var e=t.i(160036),i=t.i(281902),s=t.i(681501),n=t.i(250779),r=t.i(868908),a=t.i(398182),o=t.i(931091),l=t.i(736898),u=t.i(939187);let h={...t.i(704274).numberValueTypes,color:u.color,backgroundColor:u.color,outlineColor:u.color,fill:u.color,stroke:u.color,borderColor:u.color,borderTopColor:u.color,borderRightColor:u.color,borderBottomColor:u.color,borderLeftColor:u.color,filter:l.filter,WebkitFilter:l.filter},c=t=>h[t];function d(t,e){let i=c(t);return i!==l.filter&&(i=o.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,c],64264),t.s(["getAnimatableNone",0,d],981606);let m=new Set(["auto","none","0"]);var p=t.i(575997);class f extends r.KeyframeResolver{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,n.isCSSVariableToken)(i))){let n=(0,s.getVariableValue)(i,r.current);void 0!==n&&(t[e]=n),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(a)||2!==t.length)return;let[o,l]=t,u=(0,i.findDimensionValueType)(o),h=(0,i.findDimensionValueType)(l);if(u!==h)if((0,p.isNumOrPxType)(u)&&(0,p.isNumOrPxType)(h))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else p.positionalValues[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||(0,a.isNone)(t[e]))&&i.push(e);i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!m.has(e)&&(0,o.analyseComplexValue)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=d(i,s)}(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.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=p.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
2h(e=>{let[i,s]=e;t.getValue(i).set(s)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",0,f],244670);var g=t.i(498207);let v=[...i.dimensionValueTypes,u.color,o.complex];t.s(["findValueType",0,t=>v.find((0,g.testValueType)(t))],824629)},1135,716869,t=>{"use strict";var e=t.i(836648),i=t.i(690703);function s(t,s){let n=t[t.length-1];for(let r=1;r<=s;r++){let a=(0,e.progress)(0,s,r);t.push((0,i.mixNumber)(n,1,a))}}t.s(["fillOffset",0,s],716869),t.s(["defaultOffset",0,function(t){let e=[0];return s(e,t.length-1),e}],1135)},188530,t=>{"use strict";t.s(["getValueTransition",0,function(t,e){return t?.[e]??t?.default??t}])},250779,225481,206550,695773,455665,21061,303543,939187,931091,784988,219149,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),s=e("var(--"),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",0,i,"isCSSVariableToken",0,t=>!!s(t)&&n.test(t.split("/*")[0].trim())],250779);var r=t.i(800303);let a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...a,transform:t=>(0,r.clamp)(0,1,t)},l={...a,default:1};t.s(["alpha",0,o,"number",0,a,"scale",0,l],225481);let u=t=>Math.round(1e5*t)/1e5,h=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",0,h],206550);let c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(t,e)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,a,o]=s.match(h);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},p={...a,transform:t=>Math.round((0,r.clamp)(0,255,t))},f={test:d("rgb","red"),parse:m("red","green","blue"),transform:t=>{let{red:e,green:i,blue:s,alpha:n=1}=t;return"rgba("+p.transform(e)+", "+p.transform(i)+", "+p.transform(s)+", "+u(o.transform(n))+")"}};t.s(["rgba",0,f],695773);let g={test:d("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:f.transform};t.s(["hex",0,g],455665);let v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),y=v("deg"),x=v("%"),T=v("px"),b=v("vh"),P=v("vw"),S={...x,parse:t=>x.parse(t)/100,transform:t=>x.transform(100*t)};t.s(["degrees",0,y,"percent",0,x,"progressPercentage",0,S,"px",0,T,"vh",0,b,"vw",0,P],21061);let V={test:d("hsl","hue"),parse:m("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:i,lightness:s,alpha:n=1}=t;return"hsla("+Math.round(e)+", "+x.transform(u(i))+", "+x.transform(u(s))+", "+u(o.transform(n))+")"}};t.s(["hsla",0,V],303543);let w={test:t=>f.test(t)||g.test(t)||V.test(t),parse:t=>f.test(t)?f.parse(t):V.test(t)?V.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?f.transform(t):V.transform(t)};t.s(["color",0,w],939187);let M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",D="color",C=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function E(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=e.replace(C,t=>(w.test(t)?(s.color.push(r),n.push(D),i.push(w.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(A),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function R(t){return E(t).values}function B(t){let{split:e,types:i}=E(t),s=e.length;return t=>{let n="";for(let r=0;r<s;r++)if(n+=e[r],void 0!==t[r]){let e=i[r];e===A?n+=u(t[r]):e===D?n+=w.transform(t[r]):n+=t[r]}return n}}let k=t=>"number"==typeof t?0:t;function L(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}t.s(["analyseComplexValue",0,E,"complex",0,{test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(h)?.length||0)+(t.match(M)?.length||0)>0},parse:R,createTransformer:B,getAnimatableNone:function(t){let e=R(t);return B(t)(e.map(k))}}],931091),t.s(["hslaToRgba",0,function(t){let{hue:e,saturation:i,lightness:s,alpha:n}=t;e/=360,s/=100;let r=0,a=0,o=0;if(i/=100){let t=s<.5?s*(1+i):s+i-s*i,n=2*s-t;r=L(n,t,e+1/3),a=L(n,t,e),o=L(n,t,e-1/3)}else r=a=o=s;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}],784988),t.s(["mixImmediate",0,function(t,e){return i=>i>0?e:t}],219149)},798201,277035,751373,t=>{"use strict";function e(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}t.s(["generateLinearEasing",0,function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=t(e/(n-1))+", ";return`linear(${s.substring(0,s.length-2)})`}],798201),t.s(["calcGeneratorDuration",0,e,"maxGeneratorDuration",0,2e4],277035);var i=t.i(245961);t.s(["createGeneratorEasing",0,function(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2?arguments[2]:void 0,r=n({...t,keyframes:[0,s]}),a=Math.min(e(r),2e4);return{type:"keyframes",ease:t=>r.next(a*t).value/s,duration:(0,i.millisecondsToSeconds)(a)}}],751373)},799414,867572,800993,912280,598465,t=>{"use strict";let e=t=>t;t.s(["noop",0,e],867572);let i={};t.s(["MotionGlobalConfig",0,i],800993);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],n={value:null,addProjectionMetrics:null};function r(t,e){let r=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=s.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,r=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){o.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=n&&r?i:s;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{s.delete(t),o.delete(t)},process:t=>{if(l=t,r){a=!0;return}
2r=!0,[i,s]=[s,i],i.forEach(h),e&&n.value&&n.value.frameloop[e].push(u),u=0,i.clear(),r=!1,a&&(a=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:m,update:p,preRender:f,render:g,postRender:v}=u,y=()=>{let s=i.useManualTiming?o.timestamp:performance.now();r=!1,i.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(s-o.timestamp,40),1)),o.timestamp=s,o.isProcessing=!0,h.process(o),c.process(o),d.process(o),m.process(o),p.process(o),f.process(o),g.process(o),v.process(o),o.isProcessing=!1,r&&e&&(a=!1,t(y))};return{schedule:s.reduce((e,i)=>{let s=u[i];return e[i]=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!r&&(r=!0,a=!0,o.isProcessing||t(y)),s.schedule(e,i,n)},e},{}),cancel:t=>{for(let e=0;e<s.length;e++)u[s[e]].cancel(t)},state:o,steps:u}}t.s(["statsBuffer",0,n],912280),t.s(["createRenderBatcher",0,r],598465);let{schedule:a,cancel:o,state:l,steps:u}=r("u">typeof requestAnimationFrame?requestAnimationFrame:e,!0);t.s(["cancelFrame",0,o,"frame",0,a,"frameData",0,l,"frameSteps",0,u],799414)},160036,852088,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",0,e,"transformProps",0,i],852088);let s=new Set(["width","height","top","left","right","bottom",...e]);t.s(["positionalKeys",0,s],160036)},322551,t=>{"use strict";t.s(["activeAnimations",0,{layout:0,mainThread:0,waapi:0}])},413491,t=>{"use strict";var e=t.i(300748),i=t.i(800303),s=t.i(800993),n=t.i(867572),r=t.i(668149),a=t.i(836648),o=t.i(596009);t.s(["interpolate",0,function(t,l){let{clamp:u=!0,ease:h,mixer:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=t.length;if((0,e.invariant)(d===l.length,"Both input and output ranges must be the same length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let m=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),l=[...l].reverse());let p=function(t,e,i){let a=[],l=i||s.MotionGlobalConfig.mix||o.mix,u=t.length-1;for(let i=0;i<u;i++){let s=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.noop:e;s=(0,r.pipe)(t,s)}a.push(s)}return a}(l,h,c),f=p.length,g=e=>{if(m&&e<t[0])return l[0];let i=0;if(f>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let s=(0,a.progress)(t[i],t[i+1],e);return p[i](s)};return u?e=>g((0,i.clamp)(t[0],t[d-1],e)):g}])},417521,386849,t=>{"use strict";function e(t){return"object"==typeof t&&null!==t}t.s(["isObject",0,e],386849),t.s(["isHTMLElement",0,function(t){return e(t)&&"offsetHeight"in t}],417521)},840457,758183,t=>{"use strict";var e=t.i(386849);function i(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}t.s(["isSVGElement",0,i],840457),t.s(["isSVGSVGElement",0,function(t){return i(t)&&"svg"===t.tagName}],758183)},596009,85780,t=>{"use strict";var e=t.i(668149),i=t.i(300748),s=t.i(250779),n=t.i(939187),r=t.i(931091),a=t.i(455665),o=t.i(303543),l=t.i(784988),u=t.i(695773),h=t.i(219149),c=t.i(690703);let d=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},m=[a.hex,u.rgba,o.hsla];function p(t){let e=m.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let s=e.parse(t);return e===o.hsla&&(s=(0,l.hslaToRgba)(s)),s}let f=(t,e)=>{let i=p(t),s=p(e);if(!i||!s)return(0,h.mixImmediate)(t,e);let n={...i};return t=>(n.red=d(i.red,s.red,t),n.green=d(i.green,s.green,t),n.blue=d(i.blue,s.blue,t),n.alpha=(0,c.mixNumber)(i.alpha,s.alpha,t),u.rgba.transform(n))},g=new Set(["none","hidden"]);function v(t,e){return i=>(0,c.mixNumber)(t,e,i)}function y(t){return"number"==typeof t?v:"string"==typeof t?(0,s.isCSSVariableToken)(t)?h.mixImmediate:n.color.test(t)?f:b:Array.isArray(t)?x:"object"==typeof t?n.color.test(t)?f:T:h.mixImmediate}function x(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>y(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function T(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=y(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,s)=>{let n=r.complex.createTransformer(s),a=(0,r.analyseComplexValue)(t),o=(0,r.analyseComplexValue)(s);if(!(a.indexes.var.length===o.indexes.var.length&&a.indexes.color.length===o.indexes.color.length&&a.indexes.number.length>=o.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${s}
2' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),(0,h.mixImmediate)(t,s);if(g.has(t)&&!o.values.length||g.has(s)&&!a.values.length)return g.has(t)?e=>e<=0?t:s:e=>e>=1?s:t;return(0,e.pipe)(x(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(a,o),o.values),n)};t.s(["mix",0,function(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.mixNumber)(t,e,i):y(t)(t,e)}],596009);var P=t.i(122474),S=t.i(799414);t.s(["frameloopDriver",0,t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return S.frame.update(e,t)},stop:()=>(0,S.cancelFrame)(e),now:()=>S.frameData.isProcessing?S.frameData.timestamp:P.time.now()}}],85780)},690703,t=>{"use strict";t.s(["mixNumber",0,(t,e,i)=>t+(e-t)*i])},652731,122474,643875,t=>{"use strict";let e;var i=t.i(48804),s=t.i(930243),n=t.i(800993),r=t.i(799414);function a(){e=void 0}let o={now:()=>(void 0===e&&o.set(r.frameData.isProcessing||n.MotionGlobalConfig.useManualTiming?r.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(a)}};t.s(["time",0,o],122474);let l={current:void 0};class u{constructor(t,e={}){var i=this;this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=o.now();if(i.updatedAt!==s&&i.setPrevFrameValue(),i.prev=i.current,i.setCurrent(t),i.current!==i.prev&&(i.events.change?.notify(i.current),i.dependents))for(let t of i.dependents)t.dirty();e&&i.events.renderRequest?.notify(i.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=o.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.SubscriptionManager);let s=this.events[t].add(e);return"change"===t?()=>{s(),r.frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=o.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}t.s(["collectMotionValues",0,l,"motionValue",0,function(t,e){return new u(t,e)}],652731),t.s(["isKeyframesTarget",0,t=>Array.isArray(t)],643875)},281902,498207,139709,681501,968457,398182,736898,t=>{"use strict";var e=t.i(225481),i=t.i(21061);let s=t=>e=>e.test(t);t.s(["testValueType",0,s],498207);let n=[e.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}];t.s(["dimensionValueTypes",0,n,"findDimensionValueType",0,t=>n.find(s(t))],281902);var r=t.i(300748);let a=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",0,a],139709);var o=t.i(250779);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["getVariableValue",0,function t(e,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,r.invariant)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let h=window.getComputedStyle(i).getPropertyValue(n);if(h){let t=h.trim();return a(t)?parseFloat(t):t}return(0,o.isCSSVariableToken)(u)?t(u,i,s+1):u}],681501);let u=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,u],968457),t.s(["isNone",0,function(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||u(t)}],398182);var h=t.i(931091),c=t.i(206550);let d=new Set(["brightness","contrast","saturate","opacity"]);function m(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(c.floatRegex)||[];
2if(!s)return t;let n=i.replace(s,""),r=+!!d.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let p=/\b([a-z-]*)\(.*?\)/gu,f={...h.complex,getAnimatableNone:t=>{let e=t.match(p);return e?e.map(m).join(" "):t}};t.s(["filter",0,f],736898)},704274,t=>{"use strict";var e=t.i(225481);let i={...e.number,transform:Math.round};var s=t.i(21061);let n={rotate:s.degrees,rotateX:s.degrees,rotateY:s.degrees,rotateZ:s.degrees,scale:e.scale,scaleX:e.scale,scaleY:e.scale,scaleZ:e.scale,skew:s.degrees,skewX:s.degrees,skewY:s.degrees,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:e.alpha,originX:s.progressPercentage,originY:s.progressPercentage,originZ:s.px},r={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,...n,zIndex:i,fillOpacity:e.alpha,strokeOpacity:e.alpha,numOctaves:i};t.s(["numberValueTypes",0,r],704274)},35415,t=>{"use strict";t.s(["getValueAsType",0,(t,e)=>e&&"number"==typeof t?e.transform(t):t])},370888,t=>{"use strict";t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)])},217328,t=>{"use strict";t.s(["addUniqueItem",0,function(t,e){-1===t.indexOf(e)&&t.push(e)},"removeItem",0,function(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}])},800303,t=>{"use strict";t.s(["clamp",0,(t,e,i)=>i>e?e:i<t?t:i])},401670,t=>{"use strict";t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]])},564671,660563,747760,47649,476535,t=>{"use strict";var e=t.i(300748),i=t.i(867572),s=t.i(367258);let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,r=t=>e=>1-t(1-e),a=(0,s.cubicBezier)(.33,1.53,.69,.99),o=r(a),l=n(o);t.s(["backIn",0,o,"backInOut",0,l,"backOut",0,a],660563);let u=t=>(t*=2)<1?.5*o(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["anticipate",0,u],747760);let h=t=>1-Math.sin(Math.acos(t)),c=r(h),d=n(h);t.s(["circIn",0,h,"circInOut",0,d,"circOut",0,c],47649);var m=t.i(820608);let p=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,p],476535);let f={linear:i.noop,easeIn:m.easeIn,easeInOut:m.easeInOut,easeOut:m.easeOut,circIn:h,circInOut:d,circOut:c,backIn:o,backInOut:l,backOut:a,anticipate:u};t.s(["easingDefinitionToFunction",0,t=>{if(p(t)){(0,e.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[i,n,r,a]=t;return(0,s.cubicBezier)(i,n,r,a)}return"string"==typeof t?((0,e.invariant)(void 0!==f[t],`Invalid easing type '${t}'`),f[t]):t}],564671)},300748,t=>{"use strict";t.s(["invariant",0,()=>{},"warning",0,()=>{}])},836648,t=>{"use strict";t.s(["progress",0,(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}])},48804,t=>{"use strict";var e=t.i(217328);t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return(0,e.addUniqueItem)(this.subscriptions,t),()=>(0,e.removeItem)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}])},245961,t=>{"use strict";t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t])},930243,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])}]);
3
4//# debugId=bb28173a-6de2-a65f-2296-343f66051d1d

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.