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]="13b015bf-0fd1-ac00-566f-47fd074b78e0")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,854472,t=>{"use strict";var e=t.i(86561),i=t.i(980271);t.s(["usePresence",0,function(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=s,a=(0,e.useId)();(0,e.useEffect)(()=>{t&&o(a)},[t]);let l=(0,e.useCallback)(()=>t&&n&&n(a),[a,n,t]);return!r&&n?[!1,l]:[!0]}])},412632,t=>{"use strict";let e=(0,t.i(86561).createContext)({});t.s(["LayoutGroupContext",0,e])},897778,t=>{"use strict";let e=(0,t.i(86561).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},604602,368242,948704,t=>{"use strict";var e=t.i(86561);let i=(0,e.createContext)({});t.s(["MotionContext",0,i],604602);var s=t.i(820071),r=t.i(99307),n=t.i(430533);function o(t){return(0,r.isAnimationControls)(t.animate)||n.variantProps.some(e=>(0,s.isVariantLabel)(t[e]))}function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["isControllingVariants",0,o,"isVariantNode",0,function(t){return!!(o(t)||t.variants)}],368242),t.s(["useCreateMotionContext",0,function(t){let{initial:r,animate:n}=function(t,e){if(o(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.isVariantLabel)(e)?e:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:r,animate:n}),[a(r),a(n)])}],948704)},980271,t=>{"use strict";let e=(0,t.i(86561).createContext)(null);t.s(["PresenceContext",0,e])},414265,843418,708606,301708,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],414265),t.s(["loadFeatures",0,function(t){for(let e in t)i[e]={...i[e],...t[e]}}],843418);let s=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,s],708606);var r=t.i(86561),n=t.i(306705);t.s(["useMotionRef",0,function(t,e,i){return(0,r.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])}],301708)},332015,790840,986361,977,359374,730040,236518,911606,t=>{"use strict";var e=t.i(676797),i=t.i(506897),s=t.i(405680),r=t.i(86561),n=t.i(854472),o=t.i(412632);let a=(0,r.createContext)({});t.s(["SwitchLayoutGroupContext",0,a],790840);let l={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var u=t.i(641385);function h(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let c={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!u.px.test(t))return t;else t=parseFloat(t);let i=h(t,e.target.x),s=h(t,e.target.y);return`${i}% ${s}%`}};var d=t.i(947495),p=t.i(548487);let m={};function f(t){Object.assign(m,t)}t.s(["addScaleCorrector",0,f,"scaleCorrectors",0,m],986361);let{schedule:v,cancel:g}=(0,t.i(822940).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,v],977);var y=t.i(875524);class x extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;f(T),r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),l.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,n=i.projection;return n&&(n.isPresent=r,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||y.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),v.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}}function P(t){let[e,i]=(0,n.usePresence)(),l=(0,r.useContext)(o.LayoutGroupContext);return(0,s.jsx)(x,{...t,layoutGroup:l,switchLayoutGroup:(0,r.useContext)(a),isPresent:e,safeToRemove:i})}let T={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=p.complex.parse(t);if(s.length>5)return t;let r=p.complex.createTransformer(t),n=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=o,s[1+n]/=a;let l=(0,d.mixNumber)(o,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};t.i(653216);var w=t.i(813915);t.i(870557);var b=t.i(415289),S=t.i(790424),A=t.i(268237),V=t.i(536248),M=t.i(311039),C=t.i(763198),D=t.i(271167);let E=(t,e)=>t.depth-e.depth;class R{constructor(){this.children=[],this.isDirty=!1}add(t){(0,D.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,D.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(E),this.isDirty=!1,this.children.forEac
2h(t)}}var k=t.i(168879);t.i(443634);var L=t.i(402519),B=t.i(782296);function F(t){let e=(0,A.isMotionValue)(t)?t.get():t;return(0,B.isCustomValue)(e)?e.toValue():e}t.s(["resolveMotionValue",0,F],359374);var j=t.i(474757),O=t.i(871850);let I=["TopLeft","TopRight","BottomLeft","BottomRight"],U=I.length,N=t=>"string"==typeof t?parseFloat(t):t,$=t=>"number"==typeof t||u.px.test(t);function W(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let z=Y(0,.5,O.circOut),K=Y(.5,.95,b.noop);function Y(t,e,i){return s=>s<t?0:s>e?1:i((0,j.progress)(t,e,s))}function G(t,e){t.min=e.min,t.max=e.max}function H(t,e){G(t.x,e.x),G(t.y,e.y)}function X(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var q=t.i(395934),Z=t.i(591178);function _(t,e,i,s,r){return t-=e,t=(0,q.scalePoint)(t,1/i,s),void 0!==r&&(t=(0,q.scalePoint)(t,1/r,s)),t}function J(t,e,[i,s,r],n,o){!function(t,e=0,i=1,s=.5,r,n=t,o=t){if(u.percent.test(e)&&(e=parseFloat(e),e=(0,d.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,d.mixNumber)(n.min,n.max,s);t===n&&(a-=e),t.min=_(t.min,e,i,a,r),t.max=_(t.max,e,i,a,r)}(t,e[i],e[s],e[r],e.scale,n,o)}let Q=["x","scaleX","originX"],tt=["y","scaleY","originY"];function te(t,e,i,s){J(t.x,e,Q,i?i.x:void 0,s?s.x:void 0),J(t.y,e,tt,i?i.y:void 0,s?s.y:void 0)}var ti=t.i(989039);function ts(t){return 0===t.translate&&1===t.scale}function tr(t){return ts(t.x)&&ts(t.y)}function tn(t,e){return t.min===e.min&&t.max===e.max}function to(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ta(t,e){return to(t.x,e.x)&&to(t.y,e.y)}function tl(t){return(0,Z.calcLength)(t.x)/(0,Z.calcLength)(t.y)}function tu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class th{constructor(){this.members=[]}add(t){(0,D.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,D.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)}}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 tc=t.i(74035),td=t.i(388291);let tp={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},tm="u">typeof window&&void 0!==window.MotionDebug,tf=["","X","Y","Z"],tv={visibility:"hidden"},tg=0;function ty(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tx({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=tg++,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,tm&&(tp.totalNodes=tp.resolvedTargetDeltas=tp.recalculatedProjection=0),this.nodes.forEac
2h(tw),this.nodes.forEach(tD),this.nodes.forEach(tE),this.nodes.forEach(tb),tm&&window.MotionDebug.record(tp)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new R)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new L.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:s,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||s)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=C.time.now(),e=({timestamp:i})=>{let r=i-t;r>=250&&((0,y.cancelFrame)(e),s())},y.frame.read(e,!0),i=()=>(0,y.cancelFrame)(e),l.hasAnimatedSinceResize&&(l.hasAnimatedSinceResize=!1,this.nodes.forEach(tC))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||tj,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!ta(this.targetLayout,s)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,w.getValueTransition)(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,y.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tR),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,M.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",y.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(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.forEac
2h(tA);return}this.isUpdating||this.nodes.forEach(tV),this.isUpdating=!1,this.nodes.forEach(tM),this.nodes.forEach(tP),this.nodes.forEach(tT),this.clearAllSnapshots();let t=C.time.now();y.frameData.delta=(0,k.clamp)(0,1e3/60,t-y.frameData.timestamp),y.frameData.timestamp=t,y.frameData.isProcessing=!0,y.frameSteps.update.process(y.frameData),y.frameSteps.preRender.process(y.frameData),y.frameSteps.render.process(y.frameData),y.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,v.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tS),this.sharedNodes.forEach(tk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,y.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){y.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,ti.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(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tr(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&(e||(0,td.hasTransform)(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),tU((e=s).x),tU(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,ti.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(t$))){let{scroll:t}=this.root;t&&((0,q.translateAxis)(i.x,t.offset.x),(0,q.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,ti.createBox)();if(H(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&H(i,t),(0,q.translateAxis)(i.x,r.offset.x),(0,q.translateAxis)(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=(0,ti.createBox)();H(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,q.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,td.hasTransform)(s.latestValues)&&(0,q.transformBox)(i,s.latestValues)}return(0,td.hasTransform)(this.latestValues)&&(0,q.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,ti.createBox)();H(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,td.hasTransform)(i.latestValues))continue;(0,td.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,ti.createBox)();H(s,i.measurePageBox()),te(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,td.hasTransform)(this.latestValues)&&te(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!==y.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==i;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=y.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ti.createBox)(),this.relativeTargetOrigin=(0,ti.createBox)(),(0,Z.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),H(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,ti.createBox)(),this.targetWithTransforms=(0,ti.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,Z.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):H(this.target,this.layout.layoutBox),(0,q.applyBoxDelta)(this.target,this.targetDelta)):H(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,ti.createBox)(),this.relativeTargetOrigin=(0,ti.createBox)(),(0,Z.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),H(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tm&&tp.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,td.hasScale)(this.parent.latestValues)||(0,td.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===y.frameData.timestamp&&(s=!1),s)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;H(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,q.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,ti.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(X(this.prevProjectionDelta.x,this.projectionDelta.x),X(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,Z.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&tu(this.projectionDelta.x,this.prevProjectionDelta.x)&&tu(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tm&&tp.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,ti.createDelta)(),this.projectionDelta=(0,ti.createDelta)(),this.projectionDeltaWithTransform=(0,ti.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=(0,ti.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,ti.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,p=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(tF));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tL(o.x,t.x,s),tL(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,v,g,y;(0,Z.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,v=this.relativeTargetOrigin,g=a,y=s,tB(f.x,v.x,g.x,y),tB(f.y,v.y,g.y,y),i&&(h=this.relativeTarget,m=i,tn(h.x,m.x)&&tn(h.y,m.y))&&(this.isProjectionDirty=!1),i||(i=(0,ti.createBox)()),H(i,this.relativeTarget)}
2l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,d.mixNumber)(0,void 0!==i.opacity?i.opacity:1,z(s)),t.opacityExit=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,0,K(s))):n&&(t.opacity=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<U;r++){let n=`border${I[r]}Radius`,o=W(e,n),a=W(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||$(o)===$(a)?(t[n]=Math.max((0,d.mixNumber)(N(o),N(a),s),0),(u.percent.test(a)||u.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,d.mixNumber)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,y.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=y.frame.update(()=>{var e;let i;l.hasAnimatedSinceResize=!0,this.currentAnimation=(e={...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(i=(0,A.isMotionValue)(0)?0:(0,S.motionValue)(0)).start((0,V.animateMotionValue)("",i,1e3,e)),i.animation),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:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tN(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,ti.createBox)();let e=(0,Z.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,Z.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}H(e,i),(0,q.transformBox)(e,r),(0,Z.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new th),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let 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&&ty("z",t,s,this.animationValues);for(let e=0;e<tf.length;e++)ty(`rotate${tf[e]}`,t,s,this.animationValues),ty(`skew${tf[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){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tv;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=F(null==t?void 0:t.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=F(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,td.hasTransform)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;
2this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(s.transform=r(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,m){if(void 0===o[t])continue;let{correct:e,applyTo:i}=m[t],r="none"===s.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=r}else s[t]=r}return this.options.layoutId&&(s.pointerEvents=n===this?F(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tA),this.root.sharedNodes.clear()}}}function tP(t){t.updateLayout()}function tT(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:s}=t.layout,{animationType:r}=t.options,n=i.source!==t.layout.source;"size"===r?(0,tc.eachAxis)(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],r=(0,Z.calcLength)(s);s.min=e[t].min,s.max=s.min+r}):tN(r,i.layoutBox,e)&&(0,tc.eachAxis)(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],o=(0,Z.calcLength)(e[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,ti.createDelta)();
2(0,Z.calcBoxDelta)(o,e,i.layoutBox);let a=(0,ti.createDelta)();n?(0,Z.calcBoxDelta)(a,t.applyTransform(s,!0),i.measuredBox):(0,Z.calcBoxDelta)(a,e,i.layoutBox);let l=!tr(o),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=(0,ti.createBox)();(0,Z.calcRelativePosition)(o,i.layoutBox,r.layoutBox);let a=(0,ti.createBox)();(0,Z.calcRelativePosition)(a,e,n.layoutBox),ta(o,a)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tw(t){tm&&tp.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tb(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tS(t){t.clearSnapshot()}function tA(t){t.clearMeasurements()}function tV(t){t.isLayoutDirty=!1}function tM(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tC(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tD(t){t.resolveTargetDelta()}function tE(t){t.calcProjection()}function tR(t){t.resetSkewAndRotation()}function tk(t){t.removeLeadSnapshot()}function tL(t,e,i){t.translate=(0,d.mixNumber)(e.translate,0,i),t.scale=(0,d.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tB(t,e,i,s){t.min=(0,d.mixNumber)(e.min,i.min,s),t.max=(0,d.mixNumber)(e.max,i.max,s)}function tF(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tj={duration:.45,ease:[.4,0,.1,1]},tO=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tI=tO("applewebkit/")&&!tO("chrome/")?Math.round:b.noop;function tU(t){t.min=tI(t.min),t.max=tI(t.max)}function tN(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,Z.isNear)(tl(e),tl(i),.2)}function t$(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tW=t.i(144831);let tz=tx({attachResizeListener:(t,e)=>(0,tW.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tK={current:void 0},tY=tx({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tK.current){let t=new tz({});t.mount(window),t.setOptions({layoutScroll:!0}),tK.current=t}return tK.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tG={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tY,MeasureLayout:P}};t.s(["drag",0,tG],332015);var tH=t.i(841189),tX=t.i(767993);function tq(t,e){let i=function(t){if(t instanceof Element)return[t];if("string"==typeof t){let e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function tZ(t){return e=>{"touch"===e.pointerType||(0,tX.isDragActive)()||t(e)}}var t_=t.i(933235);function tJ(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&y.frame.postRender(()=>r(e,(0,t_.extractEventInfo)(e)))}class tQ extends tH.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,r,n]=tq(t,i),o=tZ(t=>{let{target:i}=t,s=e(t);if("function"!=typeof s||!i)return;let n=tZ(t=>{s(t),i.removeEventListener("pointerleave",n)});i.addEventListener("pointerleave",n,r)});return s.forEach(t=>{t.addEventListener("pointerenter",o,r)}),n}(t,t=>(tJ(this.node,t,"Start"),t=>tJ(this.node,t,"End"))))}unmount(){}}var t0=tH,t1=t.i(19938);class t9 extends t0.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,t1.pipe)((0,tW.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tW.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var t5=tH;let t3=(t,e)=>!!e&&(t===e||t3(t,e.parentElement));var t4=t.i(366199);let t2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),t8=new WeakSet;function t6(t){return e=>{"Enter"===e.key&&t(e)}}function t7(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function et(t){return(0,t4.isPrimaryPointer)(t)&&!(0,tX.isDragActive)()}function ee(t,e,i){let{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&y.frame.postRender(()=>r(e,(0,t_.extractEventInfo)(e)))}class ei extends t5.Feature{mount(){let{current:t}=this.node;
2t&&(this.unmount=function(t,e,i={}){let[s,r,n]=tq(t,i),o=t=>{let s=t.currentTarget;if(!et(t)||t8.has(s))return;t8.add(s);let n=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),et(t)&&t8.has(s)&&(t8.delete(s),"function"==typeof n&&n(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||t3(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return s.forEach(t=>{t2.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=t6(()=>{if(t8.has(i))return;t7(i,"down");let t=t6(()=>{t7(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>t7(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,r),r)}),n}(t,t=>(ee(this.node,t,"Start"),(t,{success:e})=>ee(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var es=tH;let er=new WeakMap,en=new WeakMap,eo=t=>{let e=er.get(t.target);e&&e(t)},ea=t=>{t.forEach(eo)},el={some:0,all:1};class eu extends es.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:r,amount:n="some",once:o}=i,a={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:el[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;en.has(i)||en.set(i,{});let s=en.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(ea,{root:t,...e})),s[r]}(a),er.set(t,l),e.observe(t),()=>{er.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}t.s(["gestureAnimations",0,{inView:{Feature:eu},tap:{Feature:ei},focus:{Feature:t9},hover:{Feature:tQ}}],730040),t.s(["layout",0,{layout:{ProjectionNode:tY,MeasureLayout:P}}],236518);let eh=(0,r.createContext)({strict:!1});t.s(["LazyContext",0,eh],911606)},255113,559413,t=>{"use strict";var e=t.i(405680);t.i(870557);var i=t.i(86561),s=t.i(412632),r=t.i(911606),n=t.i(897778),o=t.i(604602),a=t.i(948704),l=t.i(102271),u=t.i(414265),h=t.i(843418),c=t.i(708606),d=t.i(301708),p=t.i(980271),m=t.i(476476),f=t.i(790980),v=t.i(977),g=t.i(306705),y=t.i(790840);t.s(["createRendererMotionComponent",0,function({preloadedFeatures:t,createVisualElement:x,useRender:P,useVisualState:T,Component:w}){var b,S;function A(t,h){let c,b={...(0,i.useContext)(n.MotionConfigContext),...t,layoutId:function({layoutId:t}){let e=(0,i.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:S}=b,A=(0,a.useCreateMotionContext)(t),V=T(t,S);if(!S&&l.isBrowser){(0,i.useContext)(r.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=u.featureDefinitions;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(b);c=t.MeasureLayout,A.visualElement=function(t,e,s,a,l){var u,h;let{visualElement:c}=(0,i.useContext)(o.MotionContext),d=(0,i.useContext)(r.LazyContext),x=(0,i.useContext)(p.PresenceContext),P=(0,i.useContext)(n.MotionConfigContext).reducedMotion,T=(0,i.useRef)(null);a=a||d.renderer,!T.current&&a&&(T.current=a(t,{visualState:e,parent:c,props:s,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:P}));let w=T.current,b=(0,i.useContext)(y.SwitchLayoutGroupContext);w&&!w.projection&&l&&("html"===w.type||"svg"===w.type)&&function(t,e,
2i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!o||a&&(0,g.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}(T.current,s,l,b);let S=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{w&&S.current&&w.update(s,x)});let A=s[f.optimizedAppearDataAttribute],V=(0,i.useRef)(!!A&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,A))&&(null==(h=window.MotionHasOptimisedAnimation)?void 0:h.call(window,A)));return(0,m.useIsomorphicLayoutEffect)(()=>{w&&(S.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),v.microtask.render(w.render),V.current&&w.animationState&&w.animationState.animateChanges())}),(0,i.useEffect)(()=>{w&&(!V.current&&w.animationState&&w.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,A)}),V.current=!1))}),w}(w,V,b,x,t.ProjectionNode)}return(0,e.jsxs)(o.MotionContext.Provider,{value:A,children:[c&&A.visualElement?(0,e.jsx)(c,{visualElement:A.visualElement,...b}):null,P(w,t,(0,d.useMotionRef)(V,A.visualElement,h),V,S,A.visualElement)]})}t&&(0,h.loadFeatures)(t),A.displayName=`motion.${"string"==typeof w?w:`create(${null!=(S=null!=(b=w.displayName)?b:w.name)?S:""})`}`;let V=(0,i.forwardRef)(A);return V[c.motionComponentSymbol]=w,V}],255113);let x=["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"];t.s(["isSVGComponent",0,function(t){if("string"!=typeof t||t.includes("-"));else if(x.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}],559413)},652288,99307,820071,962847,430533,415289,870557,443634,474757,813915,653216,615921,782296,822940,875524,763198,271167,402519,790424,268237,329691,790980,311039,871850,448295,168879,641385,694583,548487,821438,429006,180419,947945,979964,475242,324488,966498,448935,947495,19938,536248,841189,609823,767993,366199,144831,933235,306705,591178,989039,74035,388291,395934,506151,676797,506897,t=>{"use strict";let e,i,s;function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}t.s(["createDOMMotionComponentProxy",0,function(t){if("u"<typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,s)=>"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}],652288),t.s(["isAnimationControls",0,r],99307);let n=t=>Array.isArray(t);function o(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}function a(t){return"string"==typeof t||Array.isArray(t)}function l(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function u(t,e,i,s){if("function"==typeof e){let[r,n]=l(s);e=e(void 0!==i?i:t.custom,r,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,n]=l(s);e=e(void 0!==i?i:t.custom,r,n)}return e}function h(t,e,i){let s=t.getProps();return u(s,e,void 0!==i?i:s.custom,t)}t.s(["isVariantLabel",0,a],820071),t.s(["resolveVariantFromProps",0,u],962847);let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...c];t.s(["variantPriorityOrder",0,c,"variantProps",0,d],430533);let p=t=>t;function m(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["noop",0,p],415289),t.s([],870557);let f=m(()=>void 0!==window.ScrollTimeline);class v{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>f()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>
2{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class g extends v{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}let y=t=>1e3*t,x=t=>t/1e3;function P(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}function T(t,e){t.timeline=e,t.onfinish=null}t.s(["millisecondsToSeconds",0,x,"secondsToMilliseconds",0,y],443634);let w=t=>Array.isArray(t)&&"number"==typeof t[0],b,S=(i=m(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>{var t;return null!=(t=b)?t:i()}),A=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};t.s(["progress",0,A],474757);let V=(t,e,i=10)=>{let s="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)s+=t(A(0,r-1,e))+", ";return`linear(${s.substring(0,s.length-2)})`},M=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,C={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:M([0,.65,.55,1]),circOut:M([.55,0,1,.45]),backIn:M([.31,.01,.66,-.59]),backOut:M([.33,1.53,.69,.99])};function D(t,e){return t?t[e]||t.default||t:void 0}function E(t){return"function"==typeof t}t.s(["getValueTransition",0,D],813915),t.s([],653216);let R=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],k=new Set(R);t.s(["transformPropOrder",0,R,"transformProps",0,k],615921);let L=new Set(["width","height","top","left","right","bottom",...R]),B=t=>n(t)?t[t.length-1]||0:t;t.s(["isCustomValue",0,t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),"resolveFinalValueInKeyframes",0,B],782296);let F=["read","resolveKeyframes","update","preRender","render","postRender"];function j(t,e){let i=!1,s=!0,r={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,o=F.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,r=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){n.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&s?e:i;return r&&n.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0,[e,i]=[i,e],e.forEach(a),e.clear(),s=!1,r&&(r=!1,l.process(t))}};return l}(n),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let n=performance.now();i=!1,r.delta=s?1e3/60:Math.max(Math.min(n-r.timestamp,40),1),r.timestamp=n,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),r.isProcessing=!1,i&&e&&(s=!1,t(p))};return{schedule:F.reduce((e,n)=>{let a=o[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,s=!0,r.isProcessing||t(p)),a.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<F.length;e++)o[F[e]].cancel(t)},state:r,steps:o}}t.s(["createRenderBatcher",0,j],822940);let{schedule:O,cancel:I,state:U,steps:N}=j("u">typeof requestAnimationFrame?requestAnimationFrame:p,!0);function $(){e=void 0}t.s(["cancelFrame",0,I,"frame",0,O,"frameData",0,U,"frameSteps",0,N],875524);let W={now:()=>(void 0===e&&W.set(U.isProcessing?U.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask($)}};function z(t,e){-1===t.indexOf(e)&&t.push(e)}function K(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["time",0,W],763198),t.s(["addUniqueItem",0,z,"removeItem",0,K],271167);class Y{constructor(){this.subscriptions=[]}add(t){return z(this.subscriptions,t),()=>K(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 r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}t.s(["SubscriptionManager",0,Y],402519);class G{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=W.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=W.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new Y);let i=this.events[t].add(e);return"change"===t?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return s&&s.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=W.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function H(t,e){return new G(t,e)}t.s(["motionValue",0,H],790424);let X=t=>!!(t&&t.getVelocity);function q(t,e){let i=t.getValue("willChange");if(X(i)&&i.add)return i.add(e)}t.s(["isMotionValue",0,X],268237);let Z=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",0,Z],329691);let _="data-"+Z("framerAppearId");function J(t){return t.props[_]}t.s(["optimizedAppearDataAttribute",0,_],790980),t.s(["getOptimisedAppearId",0,J],311039);let Q=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tt(t,e,i,s){return t===e&&i===s?p:r=>
20===r||1===r?r:Q(function(t,e,i,s,r){let n,o,a=0;do(n=Q(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(r,0,1,t,i),e,s)}let te=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ti=t=>e=>1-t(1-e),ts=tt(.33,1.53,.69,.99),tr=ti(ts),tn=te(tr),to=t=>(t*=2)<1?.5*tr(t):.5*(2-Math.pow(2,-10*(t-1))),ta=t=>1-Math.sin(Math.acos(t)),tl=ti(ta),tu=te(ta);t.s(["circIn",0,ta,"circInOut",0,tu,"circOut",0,tl],871850);let th=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,th],448295);let tc=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,tc],168879);let td={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tp={...td,transform:t=>tc(0,1,t)},tm={...td,default:1},tf=t=>Math.round(1e5*t)/1e5,tv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tg=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ty=(t,e)=>i=>!!("string"==typeof i&&tg.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tx=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,o,a]=s.match(tv);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tP={...td,transform:t=>Math.round(tc(0,255,t))},tT={test:ty("rgb","red"),parse:tx("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+tP.transform(t)+", "+tP.transform(e)+", "+tP.transform(i)+", "+tf(tp.transform(s))+")"},tw={test:ty("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:tT.transform},tb=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tS=tb("deg"),tA=tb("%"),tV=tb("px"),tM=tb("vh"),tC=tb("vw"),tD={...tA,parse:t=>tA.parse(t)/100,transform:t=>tA.transform(100*t)};t.s(["degrees",0,tS,"percent",0,tA,"progressPercentage",0,tD,"px",0,tV,"vh",0,tM,"vw",0,tC],641385);let tE={test:ty("hsl","hue"),parse:tx("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+tA.transform(tf(e))+", "+tA.transform(tf(i))+", "+tf(tp.transform(s))+")"},tR={test:t=>tT.test(t)||tw.test(t)||tE.test(t),parse:t=>tT.test(t)?tT.parse(t):tE.test(t)?tE.parse(t):tw.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tT.transform(t):tE.transform(t)};t.s(["color",0,tR],694583);let tk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tL="number",tB="color",tF=/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 tj(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],n=0,o=e.replace(tF,t=>(tR.test(t)?(s.color.push(n),r.push(tB),i.push(tR.parse(t))):t.startsWith("var(")?(s.var.push(n),r.push("var"),i.push(t)):(s.number.push(n),r.push(tL),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:s,types:r}}function tO(t){return tj(t).values}function tI(t){let{split:e,types:i}=tj(t),s=e.length;return t=>{let r="";for(let n=0;n<s;n++)if(r+=e[n],void 0!==t[n]){let e=i[n];e===tL?r+=tf(t[n]):e===tB?r+=tR.transform(t[n]):r+=t[n]}return r}}let tU=t=>"number"==typeof t?0:t,tN={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(tv))?void 0:e.length)||0)+((null==(i=t.match(tk))?void 0:i.length)||0)>0},parse:tO,createTransformer:tI,getAnimatableNone:function(t){let e=tO(t);return tI(t)(e.map(tU))}};t.s(["analyseComplexValue",0,tj,"complex",0,tN],548487);let t$=new Set(["brightness","contrast","saturate","opacity"]);function tW(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(tv)||[];if(!s)return t;let r=i.replace(s,""),n=+!!t$.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let tz=/\b([a-z-]*)\(.*?\)/gu,tK={...tN,getAnimatableNone:t=>{let e=t.match(tz);return e?e.map(tW).join(" "):t}},tY={...td,transform:Math.round},tG={borderWidth:tV,borderTopWidth:tV,borderRightWidth:tV,borderBottomWidth:tV,borderLeftWidth:tV,borderRadius:tV,radius:tV,borderTopLeftRadius:tV,borderTopRightRadius:tV,borderBottomRightRadius:tV,borderBottomLeftRadius:tV,width:tV,maxWidth:tV,height:tV,maxHeight:tV,top:tV,right:tV,bottom:tV,left
2:tV,padding:tV,paddingTop:tV,paddingRight:tV,paddingBottom:tV,paddingLeft:tV,margin:tV,marginTop:tV,marginRight:tV,marginBottom:tV,marginLeft:tV,backgroundPositionX:tV,backgroundPositionY:tV,rotate:tS,rotateX:tS,rotateY:tS,rotateZ:tS,scale:tm,scaleX:tm,scaleY:tm,scaleZ:tm,skew:tS,skewX:tS,skewY:tS,distance:tV,translateX:tV,translateY:tV,translateZ:tV,x:tV,y:tV,z:tV,perspective:tV,transformPerspective:tV,opacity:tp,originX:tD,originY:tD,originZ:tV,zIndex:tY,size:tV,fillOpacity:tp,strokeOpacity:tp,numOctaves:tY};t.s(["numberValueTypes",0,tG],821438);let tH={...tG,color:tR,backgroundColor:tR,outlineColor:tR,fill:tR,stroke:tR,borderColor:tR,borderTopColor:tR,borderRightColor:tR,borderBottomColor:tR,borderLeftColor:tR,filter:tK,WebkitFilter:tK},tX=t=>tH[t];function tq(t,e){let i=tX(t);return i!==tK&&(i=tN),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,tX],429006),t.s(["getAnimatableNone",0,tq],180419);let tZ=new Set(["auto","none","0"]),t_=t=>t===td||t===tV,tJ=(t,e)=>parseFloat(t.split(", ")[e]),tQ=(t,e)=>(i,{transform:s})=>{if("none"===s||!s)return 0;let r=s.match(/^matrix3d\((.+)\)$/u);if(r)return tJ(r[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?tJ(e[1],t):0}},t0=new Set(["x","y","z"]),t1=R.filter(t=>!t0.has(t)),t9={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:tQ(4,13),y:tQ(5,14)};t9.translateX=t9.x,t9.translateY=t9.y;let t5=new Set,t3=!1,t4=!1;function t2(){if(t4){let t=Array.from(t5).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],t1.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var s;null==(s=t.getValue(e))||s.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}t4=!1,t3=!1,t5.forEach(t=>t.complete()),t5.clear()}function t8(){t5.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(t4=!0)})}function t6(){t8(),t2()}class t7{constructor(t,e,i,s,r,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(t5.add(this),t3||(t3=!0,O.read(t8),O.resolveKeyframes(t2))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==s?void 0:s.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),t5.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,t5.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}t.s(["KeyframeResolver",0,t7,"flushKeyframeResolvers",0,t6],947945);let et=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",0,et],979964);let ee=t=>e=>"string"==typeof e&&e.startsWith(t),ei=ee("--"),es=ee("var(--"),er=t=>!!es(t)&&en.test(t.split("/*")[0].trim()),en=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",0,ei,"isCSSVariableToken",0,er],475242);let eo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ea=t=>e=>e.test(t);t.s(["testValueType",0,ea],324488);let el=[td,tV,tA,tS,tC,tM,{test:t=>"auto"===t,parse:t=>t}],eu=t=>el.find(ea(t));t.s(["dimensionValueTypes",0,el,"findDimensionValueType",0,eu],966498);class eh extends t7{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&er(s=s.trim())){let r=function t(e,i,s=1){p(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=eo.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);
2if(o){let t=o.trim();return et(t)?parseFloat(t):t}return er(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!L.has(i)||2!==t.length)return;let[s,r]=t,n=eu(s),o=eu(r);if(n!==o)if(t_(n)&&t_(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||th(s))&&i.push(e)}i.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!tZ.has(e)&&tj(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=tq(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=t9[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(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let n=s.length-1,o=s[n];s[n]=t9[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
2h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",0,eh],448935);let ec=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tN.test(t)||"0"===t)&&!t.startsWith("url(")),ed=t=>null!==t;function ep(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(ed),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}class em{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=W.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||t6(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=W.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:n,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=ec(r,e),a=ec(n,e);return p(o===a,`You are trying to animate ${e} from "${r}" to "${n}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||E(i))&&s)}(t,i,s,r))if(n)this.options.duration=0;else{a&&a(ep(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}let ef=(t,e,i)=>t+(e-t)*i;function ev(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function eg(t,e){return i=>i>0?e:t}t.s(["mixNumber",0,ef],947495);let ey=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},ex=[tw,tT,tE];function eP(t){let e=ex.find(e=>e.test(t));if(p(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tE&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let r=0,n=0,o=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,a=2*i-s;r=ev(a,s,t+1/3),n=ev(a,s,t),o=ev(a,s,t-1/3)}else r=n=o=i;return{red:Math.round(255*r),green:Math.round(255*n),blue:Math.round(255*o),alpha:s}}(i)),i}let eT=(t,e)=>{let i=eP(t),s=eP(e);if(!i||!s)return eg(t,e);let r={...i};return t=>(r.red=ey(i.red,s.red,t),r.green=ey(i.green,s.green,t),r.blue=ey(i.blue,s.blue,t),r.alpha=ef(i.alpha,s.alpha,t),tT.transform(r))},ew=(t,e)=>i=>e(t(i)),eb=(...t)=>t.reduce(ew);t.s(["pipe",0,eb],19938);let eS=new Set(["none","hidden"]);function eA(t,e){return i=>ef(t,e,i)}function eV(t){return"number"==typeof t?eA:"string"==typeof t?er(t)?eg:tR.test(t)?eT:eD:Array.isArray(t)?eM:"object"==typeof t?tR.test(t)?eT:eC:eg}function eM(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>eV(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function eC(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=eV(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let eD=(t,e)=>{let i=tN.createTransformer(e),s=tj(t),r=tj(e);if(!(s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length))return p(!0,`Complex values '${t}' and '${e}' 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.`),eg(t,e);if(eS.has(t)&&!r.values.length||eS.has(e)&&!s.values.length)return eS.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return eb(eM(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;s[n]=l,r[o]++}return s}(s,r),r.values),i)};function eE(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?ef(t,e,i):eV(t)(t,e)}
2function eR(t,e,i){var s,r;let n=Math.max(e-5,0);return s=i-t(n),(r=e-n)?1e3/r*s:0}let ek=.01,eL=2,eB=.005,eF=.5;function ej(t,e){return t*Math.sqrt(1-e*e)}let eO=["duration","bounce"],eI=["stiffness","damping","mass"];function eU(t,e){return e.some(e=>void 0!==t[e])}function eN(t=.3,e=.3){let i,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:n}=s,o=s.keyframes[0],a=s.keyframes[s.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!eU(t,eI)&&eU(t,eO))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,r=2*tc(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let r,n;p(t<=y(10));let o=1-e;o=tc(.05,1,o),t=tc(.01,10,x(t)),o<1?(r=e=>{let s=e*o,r=s*t;return .001-(s-i)/ej(e,o)*Math.exp(-r)},n=e=>{let s=e*o*t,n=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-s),l=ej(Math.pow(e,2),o);return(s*i+i-n)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(r,n,5/t);if(t=y(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*s;return{stiffness:e,damping:2*o*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...s,velocity:-x(s.velocity||0)}),v=m||0,g=h/(2*Math.sqrt(u*c)),T=a-o,w=x(Math.sqrt(u/c)),b=5>Math.abs(T);if(r||(r=b?ek:eL),n||(n=b?eB:eF),g<1){let t=ej(w,g);i=e=>a-Math.exp(-g*w*e)*((v+g*w*T)/t*Math.sin(t*e)+T*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-w*t)*(T+(v+w*T)*t);else{let t=w*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*w*e),s=Math.min(t*e,300);return a-i*((v+g*w*T)*Math.sinh(s)+t*T*Math.cosh(s))/t}}let S={calculatedDuration:f&&d||null,next:t=>{let e=i(t);if(f)l.done=t>=d;else{let s=0;g<1&&(s=0===t?y(v):eR(i,t,e));let o=Math.abs(a-e)<=n;l.done=Math.abs(s)<=r&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(P(S),2e4),e=V(e=>S.next(t*e).value,t,30);return t+"ms "+e}};return S}function e$({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,g=void 0===o?v:o(v);g!==v&&(f=g-p);let y=t=>-f*Math.exp(-t/s),x=t=>g+y(t),P=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?g:i},T=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=eN({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:eR(x,t,m.value),damping:r,stiffness:n,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,P(t),T(t)),void 0!==c&&t>=c)?d.next(t-c):(e||P(t),m)}}}let eW=tt(.42,0,1,1),ez=tt(0,0,.58,1),eK=tt(.42,0,.58,1),eY={linear:p,easeIn:eW,easeInOut:eK,easeOut:ez,circIn:ta,circInOut:tu,circOut:tl,backIn:tr,backInOut:tn,backOut:ts,anticipate:to},eG=t=>{if(w(t)){p(4===t.length);let[e,i,s,r]=t;return tt(e,i,s,r)}return"string"==typeof t?(p(void 0!==eY[t],`Invalid easing type '${t}'`),eY[t]):t};function eH({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n,o=Array.isArray(s)&&"number"!=typeof s[0]?s.map(eG):eG(s),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:s,mixer:r}={}){let n=t.length;if(p(n===e.length),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let s=[],r=i||eE,n=t.length-1;for(let i=0;i<n;i++){let n=r(t[i],t[i+1]);e&&(n=eb(Array.isArray(e)?e[i]||p:e,n)),s.push(n)}return s}(e,s,r),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let s=0;if(l>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let r=A(t[s],t[s+1],i);return a[s](r)};return i?e=>u(tc(t[0],t[n-1],e)):u}((r=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let r=A(0,e,s);t.push(ef(i,1,r))}}(n=[0],e.length-1),n),r.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||eK).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let eX=t=>{let e=({timestamp:e})=>t(e);return{start:()=>O.update(e,!0),stop:()=>I(e),now:()=>U.isProcessing?U.timestamp:W.now()}},eq={decay:e$,inertia:e$,tween:eH,keyframes:eH,spring:eN},eZ=t=>t/100;class e_ extends em{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
2{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:s,keyframes:r}=this.options,n=(null==s?void 0:s.KeyframeResolver)||t7,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(r,o,e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=E(s)?s:eq[s]||eH;l!==eH&&"number"!=typeof t[0]&&(e=eb(eZ,eE(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=P(u));let{calculatedDuration:h}=u,c=h+n;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:r,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=n)),y=tc(0,1,i)*h}let P=g?{done:!1,value:a[0]}:x.next(y);o&&(P.value=o(P.value));let{done:T}=P;g||null===l||(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return w&&void 0!==s&&(P.value=ep(a,this.options,s)),f&&f(P.value),w&&this.finish(),P}get duration(){let{resolved:t}=this;return t?x(t.calculatedDuration):0}get time(){return x(this.currentTime)}set time(t){t=y(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=x(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=eX,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let s=this.driver.now();null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=s):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let eJ=new Set(["opacity","clipPath","filter","transform"]),eQ=m(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),e0={anticipate:to,backInOut:tn,circInOut:tu};class e1 extends em{constructor(t){super(t);const{name:e,motionValue:i,element:s,keyframes:r}=this.options;this.resolver=new eh(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:s=300,times:r,ease:n,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof n&&S()&&n in e0&&(n=e0[n]),E((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&S()||!e||"string"==typeof e&&(e in C||S())||w(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new e_({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},r=[],n=0;for(;!s.done&&n<2e4;)r.push((s=i.sample(n)).value),n+=10;return{times:void 0,keyframes:r,duration:n-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),s=h.duration,r=h.times,n=h.ease,o="keyframes"}
2let h=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&S()?V(e,i):w(e)?M(e):Array.isArray(e)?e.map(e=>t(e,i)||C.easeOut):C[e]}(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:s,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:s,times:r,ease:n});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(T(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(ep(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:s,times:r,type:o,ease:n,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return x(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return x(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=y(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return p;let{animation:i}=e;T(i,t)}else this.pendingTimeline=t;return p}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:s,type:r,ease:n,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new e_({...u,keyframes:i,duration:s,type:r,ease:n,times:o,isGenerator:!0}),c=y(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return eQ()&&i&&eJ.has(i)&&!a&&!l&&!s&&"mirror"!==r&&0!==n&&"inertia"!==o}}let e9={type:"spring",stiffness:500,damping:25,restSpeed:10},e5={type:"keyframes",duration:.8},e3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e4=(t,e,i,s={},r,n)=>o=>{let a=D(s,t)||{},l=a.delay||s.delay||0,{elapsed:u=0}=s;u-=y(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:n?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...((t,{keyframes:e})=>e.length>2?e5:k.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e9:e3)(t,h)}),h.duration&&(h.duration=y(h.duration)),h.repeatDelay&&(h.repeatDelay=y(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(c=!0)),c&&!n&&void 0!==e.get()){let t=ep(h.keyframes,a);if(void 0!==t)return O.update(()=>{h.onUpdate(t),h.onComplete()}),new g([])}return!n&&e1.supports(h)?new e1(h):new e_(h)};function e2(t,e,{delay:i=0,transitionOverride:s,type:r}={}){var n;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(o=s);let u=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let s=t.getValue(e,null!=(n=t.latestValues[e])?n:null),r=l[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(c,e))continue;let a={delay:i,...D(o||{},e)},h=!1;if(window.MotionHandoffAnimation){let i=J(t);if(i){let t=window.MotionHandoffAnimation(i,e,O);null!==t&&(a.startTime=t,h=!0)}}q(t,e),s.start(e4(e,s,r,t.shouldReduceMotion&&L.has(e)?{type:!1}:a,t,h));let d=s.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{O.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...r}=h(t,e)||{};for(let e in r={...r,...i}){let i=B(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,H(i))}}(t,a)})}),u}function e8(t,e,i={}){var s;let r=h(t,e,"exit"===i.type?null==(s=t.presenceContext)?void 0:s.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let o=r?()=>Promise.all(e2(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=n;
2return function(t,e,i=0,s=0,r=1,n){let o=[],a=(t.variantChildren.size-1)*s,l=1===r?(t=0)=>t*s:(t=0)=>a-t*s;return Array.from(t.variantChildren).sort(e6).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(e8(t,e,{...n,delay:i+l(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+s,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function e6(t,e){return t.sortNodePosition(e)}t.s(["animateMotionValue",0,e4],536248);let e7=d.length,it=[...c].reverse(),ie=c.length;function ii(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function is(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}class ir{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,ir],841189);let io=0;t.s(["animations",0,{animation:{Feature:class extends ir{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>e8(t,e,i)));else if("string"==typeof e)s=e8(t,e,i);else{let r="function"==typeof e?h(t,e,i.custom):e;s=Promise.all(e2(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=is(),s=!0,l=e=>(i,s)=>{var r;let n=h(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function u(u){let{props:h}=t,c=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<e7;t++){let s=d[t],r=e.props[s];(a(r)||!1===r)&&(i[s]=r)}return i}(t.parent)||{},p=[],m=new Set,f={},v=1/0;for(let e=0;e<ie;e++){var g,y;let d=it[e],x=i[d],P=void 0!==h[d]?h[d]:c[d],T=a(P),w=d===u?x.isActive:null;!1===w&&(v=e);let b=P===c[d]&&P!==h[d]&&T;if(b&&s&&t.manuallyAnimateOnMount&&(b=!1),x.protectedKeys={...f},!x.isActive&&null===w||!P&&!x.prevProp||r(P)||"boolean"==typeof P)continue;let S=(g=x.prevProp,"string"==typeof(y=P)?y!==g:!!Array.isArray(y)&&!o(y,g)),A=S||d===u&&x.isActive&&!b&&T||e>v&&T,V=!1,M=Array.isArray(P)?P:[P],C=M.reduce(l(d),{});!1===w&&(C={});let{prevResolvedValues:D={}}=x,E={...D,...C},R=e=>{A=!0,m.has(e)&&(V=!0,m.delete(e)),x.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=C[t],i=D[t];if(!f.hasOwnProperty(t))(n(e)&&n(i)?o(e,i):e===i)?void 0!==e&&m.has(t)?R(t):x.protectedKeys[t]=!0:null!=e?R(t):m.add(t)}x.prevProp=P,x.prevResolvedValues=C,x.isActive&&(f={...f,...C}),s&&t.blockInitialAnimation&&(A=!1);let k=!(b&&S)||V;A&&k&&p.push(...M.map(t=>({animation:t,options:{type:d}})))}if(m.size){let e={};m.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=s?s:null}),p.push({animation:e})}let x=!!p.length;return s&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(x=!1),s=!1,x?e(p):Promise.resolve()}return{animateChanges:u,setActive:function(e,s){var r;if(i[e].isActive===s)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,s)}),i[e].isActive=s;let n=u(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=is(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}},exit:{Feature:class extends ir{constructor(){super(...arguments),this.id=io++}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(()=>
2e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}}],609823);let ia={x:!1,y:!1};t.s(["isDragActive",0,function(){return ia.x||ia.y},"isDragging",0,ia],767993);let il=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function iu(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}function ih(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,il],366199),t.s(["addDomEvent",0,iu],144831);let ic=t=>e=>il(e)&&t(e,ih(e));function id(t,e,i,s){return iu(t,e,ic(i),s)}t.s(["addPointerInfo",0,ic,"extractEventInfo",0,ih],933235);let ip=(t,e)=>Math.abs(t-e);class im{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=iy(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(ip(t.x,e.x)**2+ip(t.y,e.y)**2)>=3);if(!s&&!r)return;let{point:n}=i,{timestamp:o}=U;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iv(e,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=iy("pointercancel"===t.type?this.lastMoveEventInfo:iv(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!il(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;const n=iv(ih(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=U;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,iy(n,this.history)),this.removeListeners=eb(id(this.contextWindow,"pointermove",this.handlePointerMove),id(this.contextWindow,"pointerup",this.handlePointerUp),id(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),I(this.updatePoint)}}function iv(t,e){return e?{point:e(t.point)}:t}function ig(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iy({point:t},e){return{point:t,delta:ig(t,ix(e)),offset:ig(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=ix(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>y(.1)));)e--;if(!i)return{x:0,y:0};let r=x(s.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let n={x:(s.x-i.x)/r,y:(s.y-i.y)/r};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function ix(t){return t[t.length-1]}function iP(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["isRefObject",0,iP],306705);function iT(t){return t.max-t.min}function iw(t,e,i,s=.5){t.origin=s,t.originPoint=ef(e.min,e.max,t.origin),t.scale=iT(i)/iT(e),t.translate=ef(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ib(t,e,i){t.min=i.min+e.min,t.max=t.min+iT(e)}function iS(t,e,i){t.min=e.min-i.min,t.max=t.min+iT(e)}function iA(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 iV(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 iM(t,e,i){return{min:iC(t,e),max:iC(t,i)}}function iC(t,e){return"number"==typeof t?t:t[e]||0}t.s(["calcBoxDelta",0,function(t,e,i,s){iw(t.x,e.x,i.x,s?s.originX:void 0),iw(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,iT,"calcRelativeBox",0,function(t,e,i){ib(t.x,e.x,i.x),ib(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){iS(t.x,e.x,i.x),iS(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],591178);let iD=()=>({translate:0,scale:1,origin:0,originPoint:0}),iE=()=>({min:0,max:0}),iR=()=>({x:iE(),y:iE()});function ik(t){return[t("x"),t("y")]}function iL({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function iB(t){return void 0===t||1===t}function iF({scale:t,scaleX:e,scaleY:i}){return!iB(t)||!iB(e)||!iB(i)}function ij(t){return iF(t)||iO(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iO(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["createBox",0,iR,"createDelta",0,()=>({x:iD(),y:iD()})],989039),t.s(["eachAxis",0,ik],74035);function iI(t,e,i){return i+e*(t-i)}function iU(t,e,i,s,r){return void 0!==r&&(t=iI(t,r,s)),iI(t,i,s)+e}function iN(t,e=0,i=1,s,r){t.min=iU(t.min,e,i,s,r),t.max=iU(t.max,e,i,s,r)}function i$(t,{x:e,y:i}){iN(t.x,e.translate,e.scale,e.originPoint),iN(t.y,i.translate,i.scale,i.originPoint)}function iW(t,e){t.min=t.min+e,t.max=t.max+e}function iz(t,e,i,s,r=.5){let n=ef(t.min,t.max,r);iN(t,e,i,n,s)}function iK(t,e){iz(t.x,e.x,e.scaleX,e.scale,e.originX),iz(t.y,e.y,e.scaleY,e.scale,e.originY)}function iY(t,e){return iL(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}}(t.getBoundingClientRect(),e))}function iG(t,e,i){let s=iY(t,i),{scroll:r}=e;return r&&(iW(s.x,r.offset.x),iW(s.y,r.offset.y)),s}t.s(["has2DTranslate",0,iO,"hasScale",0,iF,"hasTransform",0,ij],388291),t.s(["applyBoxDelta",0,i$,"applyTreeDeltas",0,function(t,e,
2i,s=!1){let r,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iK(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,i$(t,n)),s&&ij(r.latestValues)&&iK(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,iI,"transformBox",0,iK,"translateAxis",0,iW],395934),t.s(["measurePageBox",0,iG,"measureViewportBox",0,iY],506151);let iH=({current:t})=>t?t.ownerDocument.defaultView:null,iX=new WeakMap;class iq{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=iR(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ih(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(ia[t])return null;else return ia[t]=!0,()=>{ia[t]=!1};return ia.x||ia.y?null:(ia.x=ia.y=!0,()=>{ia.x=ia.y=!1})}(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),ik(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tA.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=iT(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&O.postRender(()=>r(t,e)),q(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>ik(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new im(t,{onSessionStart:s,onStart:r,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:iH(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:r}=this.getProps();r&&O.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||!iZ(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?ef(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?ef(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&iP(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:iA(t.x,i,r),y:iA(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iM(t,"left","right"),y:iM(t,"top","bottom")}}(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&ik(t=>{var e,i;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=s.layoutBox[t],i=this.constraints[t],r={},void 0!==i.min&&(r.min=i.min-e.min),void 0!==i.max&&(r.max=i.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iP(e))return!1;let s=e.current;p(null!==s);let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let n=iG(s,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:iV(t.x,n.x),y:iV(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=iL(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(ik(o=>
2{if(!iZ(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return q(this.visualElement,t),i.start(e4(t,i,0,e,this.visualElement,!1))}stopAnimation(){ik(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ik(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){ik(e=>{let{drag:i}=this.getProps();if(!iZ(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-ef(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iP(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};ik(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let n,o,a,l=e.get();s[t]=(i={min:l,max:l},r=this.constraints[t],n=.5,o=iT(i),(a=iT(r))>o?n=A(r.min,r.max-o,i.min):o>a&&(n=A(i.min,i.max-a,r.min)),tc(0,1,n))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),ik(e=>{if(!iZ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set(ef(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;iX.set(this.visualElement,this);let t=id(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();iP(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),O.read(e);let r=iu(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ik(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:o}}}function iZ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}t.s(["DragGesture",0,class extends ir{constructor(t){super(t),this.removeGroupControls=p,this.removeListeners=p,this.controls=new iq(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||p}unmount(){this.removeGroupControls(),this.removeListeners()}}],676797);let i_=t=>(e,i)=>{t&&O.postRender(()=>t(e,i))};t.s(["PanGesture",0,class extends ir{constructor(){super(...arguments),this.removePointerDownListener=p}onPointerDown(t){this.session=new im(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iH(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:i_(t),onStart:i_(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&O.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=id(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}],506897)},76141,685326,134109,t=>{"use strict";var e,i,s,r=t.i(652288),n=t.i(609823),o=t.i(332015),a=t.i(730040),l=t.i(236518),u=t.i(255113),h=t.i(559413),c=t.i(875524),d=t.i(86561),p=t.i(99307),m=t.i(604602),f=t.i(980271),v=t.i(368242),g=t.i(962847),y=t.i(630142),x=t.i(359374);let P=t=>(e,i)=>{let s=(0,d.useContext)(m.MotionContext),r=(0,d.useContext)(f.PresenceContext),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i}
2,s,r,n){let o={latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=(0,x.resolveMotionValue)(n[t]);let{initial:o,animate:a}=t,l=(0,v.isControllingVariants)(t),u=(0,v.isVariantNode)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!(0,p.isAnimationControls)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=(0,g.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=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(s,r,n,t),renderState:e()};return i&&(o.onMount=t=>i({props:s,current:t,...o}),o.onUpdate=t=>i(t)),o})(t,e,s,r);return i?n():(0,y.useConstant)(n)};var T=t.i(615921),w=t.i(475242);let b=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var S=t.i(821438);let A={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V=T.transformPropOrder.length;function M(t,e,i){let{style:s,vars:r,transformOrigin:n}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(T.transformProps.has(t)){o=!0;continue}if((0,w.isCSSVariableName)(t)){r[t]=i;continue}{let e=b(i,S.numberValueTypes[t]);t.startsWith("origin")?(a=!0,n[t]=e):s[t]=e}}if(!e.transform&&(o||i?s.transform=function(t,e,i){let s="",r=!0;for(let n=0;n<V;n++){let o=T.transformPropOrder[n],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=b(a,S.numberValueTypes[o]);if(!l){r=!1;let e=A[o]||o;s+=`${e}(${t}) `}i&&(e[o]=t)}}return s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;s.transformOrigin=`${t} ${e} ${i}`}}var C=t.i(641385);let D={offset:"stroke-dashoffset",array:"stroke-dasharray"},E={offset:"strokeDashoffset",array:"strokeDasharray"};function R(t,e,i){return"string"==typeof t?t:C.px.transform(e+i*t)}function k(t,{attrX:e,attrY:i,attrScale:s,originX:r,originY:n,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){let d,p;if(M(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:f,dimensions:v}=t;m.transform&&(v&&(f.transform=m.transform),delete m.transform),v&&(void 0!==r||void 0!==n||f.transform)&&(d=R(void 0!==r?r:.5,v.x,v.width),p=R(void 0!==n?n:.5,v.y,v.height),f.transformOrigin=`${d} ${p}`),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==s&&(m.scale=s),void 0!==o&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?D:E;t[n.offset]=C.px.transform(-s);let o=C.px.transform(e),a=C.px.transform(i);t[n.array]=`${o} ${a}`}(m,o,a,l,!1)}let L=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),B=()=>({...L(),attrs:{}}),F=t=>"string"==typeof t&&"svg"===t.toLowerCase();var j=t.i(329691);function O(t,{style:e,vars:i},s,r){for(let n in Object.assign(t.style,e,r&&r.getProjectionStyles(s)),i)t.style.setProperty(n,i[n])}let I=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"]);function U(t,e,i,s){for(let i in O(t,e,void 0,s),e.attrs)t.setAttribute(I.has(i)?i:(0,j.camelToDash)(i),e.attrs[i])}var N=t.i(268237),$=t.i(986361);function W(t,{layout:e,layoutId:i}){return T.transformProps.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!$.scaleCorrectors[t]||"opacity"===t)}function z(t,e,i){var s;let{style:r}=t,n={};for(let o in r)((0,N.isMotionValue)(r[o])||e.style&&(0,N.isMotionValue)(e.style[o])||W(o,t)||(null==(s=null==i?void 0:i.getValue(o))?void 0:s.liveStyle)!==void 0)&&(n[o]=r[o]);return n}function K(t,e,i){let s=z(t,e,i);for(let i in t)((0,N.isMotionValue)(t[i])||(0,N.isMotionValue)(e[i]))&&(s[-1!==T.transformPropOrder.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}let Y=["x","y","width","height","cx","cy","r"],G={useVisualState:P({scrapeMotionValuesFromProps:K,createRenderState:B,onUpdate:({props:t,prevProps:e,current:i,renderState:s,latestValues:r})=>{if(!i)return;let n=!!t.drag;if(!n){for(let t in r)if(T.transformProps.has(t)){n=!0;break}}if(!n)return;let o=!e;if(e)for(let i=0;i<Y.length;i++){let s=Y[i];t[s]!==e[s]&&(o=!0)}o&&c.frame.read(()=>{try{s.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(t){s.dimensions={x:0,y:0,width:0,height:0}}c.frame.render(()=>{k(s,r,F(i.tagName),t.transformTemplate),U(i,s)})})}})},H={useVisualState:P({scrapeMotionValuesFromProps:z,createRenderState:L})};function X(t,e,i){for(let s in e)(0,N.isMotionValue)(e[s])||W(s,i)||(t[s]=e[s])}
2let q=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 Z(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||q.has(t)}let _=t=>!Z(t);try{(e=t.r(570606).default)&&(_=t=>t.startsWith("on")?!Z(t):e(t))}catch(t){}var J=t.i(506151),Q=t.i(763198),tt=t.i(414265),te=t.i(989039),ti=t.i(979964),ts=t.i(448295),tr=t.i(102271);let tn={current:null},to={current:!1};function ta(){if(to.current=!0,tr.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tn.current=t.matches;t.addListener(e),e()}else tn.current=!1}t.s(["hasReducedMotionListener",0,to,"prefersReducedMotion",0,tn],685326),t.s(["initPrefersReducedMotion",0,ta],134109);var tl=t.i(402519),tu=t.i(790424),th=t.i(548487),tc=t.i(180419),td=t.i(694583),tp=t.i(966498),tm=t.i(324488);let tf=[...tp.dimensionValueTypes,td.color,th.complex],tv=new WeakMap;var tg=t.i(947945);let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tx{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tg.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=Q.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,c.frame.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=n;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,v.isControllingVariants)(e),this.isVariantNode=(0,v.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==a[t]&&(0,N.isMotionValue)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,tv.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)),to.current||ta(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tn.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in tv.delete(this.current),this.projection&&this.projection.unmount(),(0,c.cancelFrame)(this.notifyUpdate),(0,c.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),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=T.transformProps.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&c.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tt.featureDefinitions){let e=tt.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];
2e.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,te.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<ty.length;e++){let i=ty[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,i){for(let s in e){let r=e[s],n=i[s];if((0,N.isMotionValue)(r))t.addValue(s,r);else if((0,N.isMotionValue)(n))t.addValue(s,(0,tu.motionValue)(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,(0,tu.motionValue)(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tu.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=s){if("string"==typeof s&&((0,ti.isNumericalString)(s)||(0,ts.isZeroValueString)(s)))s=parseFloat(s);else{let i;i=s,!tf.find((0,tm.testValueType)(i))&&th.complex.test(e)&&(s=(0,tc.getAnimatableNone)(t,e))}this.setBaseTarget(t,(0,N.isMotionValue)(s)?s.get():s)}return(0,N.isMotionValue)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let r=(0,g.resolveVariantFromProps)(this.props,s,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(s&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,N.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new tl.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}var tP=t.i(448935);class tT extends tx{constructor(){super(...arguments),this.KeyframeResolver=tP.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,N.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var tw=t.i(429006);class tb extends tT{constructor(){super(...arguments),this.type="html",this.renderInstance=O}readValueFromInstance(t,e){if(T.transformProps.has(e)){let t=(0,tw.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),s=((0,w.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,J.measureViewportBox)(t,e)}build(t,e,i){M(t,e,i.transformTemplate)}
2scrapeMotionValuesFromProps(t,e,i){return z(t,e,i)}}class tS extends tT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(T.transformProps.has(e)){let t=(0,tw.getDefaultValueType)(e);return t&&t.default||0}return e=I.has(e)?e:(0,j.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return K(t,e,i)}build(t,e,i){k(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){U(t,e,i,s)}mount(t){this.isSVGTag=F(t.tagName),super.mount(t)}}let tA=(i={...n.animations,...a.gestureAnimations,...o.drag,...l.layout},s=(t,e)=>(0,h.isSVGComponent)(t)?new tS(e):new tb(e,{allowProjection:t!==d.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){let r={...(0,h.isSVGComponent)(t)?G:H,preloadedFeatures:i,useRender:function(t=!1){return(e,i,s,{latestValues:r},n)=>{let o=((0,h.isSVGComponent)(e)?function(t,e,i,s){let r=(0,d.useMemo)(()=>{let i=B();return k(i,e,F(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};X(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},X(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,d.useMemo)(()=>{let i=L();return M(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(i,r,n,e),a=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(_(r)||!0===i&&Z(r)||!e&&!Z(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),l=e!==d.Fragment?{...a,...o,ref:s}:{},{children:u}=i,c=(0,d.useMemo)(()=>(0,N.isMotionValue)(u)?u.get():u,[u]);return(0,d.createElement)(e,{...l,children:c})}}(e),createVisualElement:s,Component:t};return(0,u.createRendererMotionComponent)(r)}),tV=(0,r.createDOMMotionComponentProxy)(tA);t.s(["motion",0,tV],76141)},102271,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",0,e])},630142,t=>{"use strict";var e=t.i(86561);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},476476,t=>{"use strict";var e=t.i(86561);let i=t.i(102271).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i])}]); 3 4//# debugId=13b015bf-0fd1-ac00-566f-47fd074b78e0
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.