1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64978,t=>{"use strict";var e=t.i(71645),n=t.i(21476);t.s(["usePresence",0,function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=(0,e.useContext)(n.PresenceContext);if(null===i)return[!0,null];var r=i.isPresent,a=i.onExitComplete,o=i.register,s=(0,e.useId)();(0,e.useEffect)(function(){if(t)return o(s)},[t]);var u=(0,e.useCallback)(function(){return t&&a&&a(s)},[s,a,t]);return!r&&a?[!1,u]:[!0]}])},31178,t=>{"use strict";var e=(0,t.i(71645).createContext)({});t.s(["LayoutGroupContext",0,e])},48070,t=>{"use strict";var e=(0,t.i(71645).createContext)({strict:!1});t.s(["LazyContext",0,e])},37806,t=>{"use strict";var e=(0,t.i(71645).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},88291,82474,86549,11587,8576,30665,33871,t=>{"use strict";var e,n=t.i(71645),i=(0,n.createContext)({});t.s(["MotionContext",0,i],88291);var r=t.i(87576),a=t.i(32525);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){var e=function(t,e){if((0,r.isControllingVariants)(t)){var n=t.initial,i=t.animate;return{initial:!1===n||(0,a.isVariantLabel)(n)?n:void 0,animate:(0,a.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(i)),s=e.initial,u=e.animate;return(0,n.useMemo)(function(){return{initial:s,animate:u}},[o(s),o(u)])}],82474);var s=t.i(20786),u=t.i(92808),l=t.i(83411),c=t.i(30789),h=t.i(44947),v=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};function d(t,e,n){for(var i in e)(0,l.isMotionValue)(e[i])||(0,c.isForcedMotionValue)(i,n)||(t[i]=e[i])}t.s(["createHtmlRenderState",0,v],86549);var f=t.i(81261),p=t.i(99951),m=function(){return(0,u._)((0,s._)({},v()),{attrs:{}})};t.s(["createSvgRenderState",0,m],11587);var y=t.i(75),g=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function x(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||g.has(t)}var k=function(t){return!x(t)};try{e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof e&&(k=function(t){return t.startsWith("on")?!x(t):e(t)})}catch(t){}var T=t.i(44966);t.s(["useRender",0,function(t,e,i,r,a){var o=r.latestValues,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],g=arguments.length>6?arguments[6]:void 0,S=((null!=g?g:(0,T.isSVGComponent)(t))?function(t,e,i,r){var a=(0,n.useMemo)(function(){var n=m();return(0,f.buildSVGAttrs)(n,e,(0,p.isSVGTag)(r),t.transformTemplate,t.style),(0,u._)((0,s._)({},n.attrs),{style:(0,s._)({},n.style)})},[e]);if(t.style){var o={};d(o,t.style,t),a.style=(0,s._)({},o,a.style)}return a}:function(t,e){var i,r,a={},o=(d(i={},t.style||{},t),Object.assign(i,(r=t.transformTemplate,(0,n.useMemo)(function(){var t=v();return(0,h.buildHTMLStyles)(t,e,r),Object.assign({},t.vars,t.style)},[e]))),i);return t.drag&&!1!==t.dragListener&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(a.tabIndex=0),a.style=o,a})(e,o,a,t),w=function(t,e,n){var i={};for(var r in t)("values"!==r||"object"!==(0,y._)(t.values))&&(k(r)||!0===n&&x(r)||!e&&!x(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(e,"string"==typeof t,c),P=t!==n.Fragment?(0,u._)((0,s._)({},w,S),{ref:i}):{},b=e.children,M=(0,n.useMemo)(function(){return(0,l.isMotionValue)(b)?b.get():b},[b]);return(0,n.createElement)(t,(0,u._)((0,s._)({},P),{children:M}))}],8576);var S=t.i(84049);t.s(["scrapeHTMLMotionValuesFromProps",()=>S.scrapeMotionValuesFromProps],30665),t.s(["resolveMotionValue",0,function(t){return(0,l.isMotionValue)(t)?t.get():t}],33871)},21476,t=>{"use strict";var e=(0,t.i(71645).createContext)(null);t.s(["PresenceContext",0,e])},76948,13565,21967,83640,35043,4035,25522,t=>{"use strict";var e=t.i(17218),n={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=!1;function r(){var t=function(t){r[t]={isEnabled:function(e){return n[t].some(function(t){return!!e[t]})}}};if(!i){var r={};for(var a in n)t(a);(0,e.setFeatureDefinitions)(r),i=!0}return(0,e.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,r],76948);var a=t.i(20786);t.s(["loadFeatures",0,function(t){var n=r();for(var i in t)n[i]=(0,a._)({},n[i],t[i]);(0,e.setFeatureDefinitions)(n)}],13565);var o=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,o],21967);var s=t.i(71645);t.s(["useMotionRef",0,function(t,e,n){var i=(0,s.useRef)(n);(0,s.useInsertionEffect)(function(){i.current=n});var r=(0,s.useRef)(null);return(0,s.useCallback)(function(n){if(n){var a;null==(a=t.onMount)||a.call(t,n)}e&&(n?e.mount(n):e.unmount());var o=i.current;if("function"==typeof o)if(n){var s=o(n);"function"==typeof s&&(r.current=s)}else r.current?(r.current(),r.current=null):o(n);else o&&(o.current=n)},[e])}],83640);var u="data-"+(0,t.i(93787).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,u],35043);var l=(0,s.createContext)({});t.s(["SwitchLayoutGroupContext",0,l],4035);var c=t.i(75);t.s(["isRefObject",0,function(t){return t&&(void 0===t?"undefined":(0,c._)(t))==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}],25522)}
1,46816,89026,17871,49652,73089,57512,99642,t=>{"use strict";var e=t.i(33986),n=t.i(85651),i=t.i(77397),r=t.i(92955),a=t.i(80646),o=t.i(20786),s=t.i(92808),u=t.i(40316),l=t.i(70596),c=t.i(76959),h=t.i(60830),v=t.i(68705),d=t.i(16896),f=t.i(87333),p=t.i(60140),m=t.i(96173),y=t.i(24463),g=t.i(4169),x=t.i(80248),k=t.i(67807),T=t.i(42824);function S(t){return(0,T.isObject)(t)&&"ownerSVGElement"in t}t.s(["isSVGElement",0,S],89026);var w=t.i(706),P=t.i(86427),b=t.i(33871),M=t.i(65091),A=t.i(83920),V=t.i(91559),C=["TopLeft","TopRight","BottomLeft","BottomRight"],E=C.length,D=function(t){return"string"==typeof t?parseFloat(t):t},_=function(t){return"number"==typeof t||M.px.test(t)};function R(t,e){return void 0!==t[e]?t[e]:t.borderRadius}var L=F(0,.5,V.circOut),B=F(.5,.95,h.noop);function F(t,e,n){return function(i){return i<t?0:i>e?1:n((0,A.progress)(t,e,i))}}function j(t,e){t.min=e.min,t.max=e.max}function I(t,e){j(t.x,e.x),j(t.y,e.y)}function O(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var N=t.i(35636),U=t.i(52101),W=t.i(51682);function G(t,e,n,i,r){return t-=e,t=(0,N.scalePoint)(t,1/n,i),void 0!==r&&(t=(0,N.scalePoint)(t,1/r,i)),t}function H(t,e,n,i,r){var a=(0,W._)(n,3),o=a[0],s=a[1],u=a[2];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(M.percent.test(e)&&(e=parseFloat(e),e=(0,w.mixNumber)(o.min,o.max,e/100)-o.min),"number"==typeof e){var s=(0,w.mixNumber)(a.min,a.max,i);t===a&&(s-=e),t.min=G(t.min,e,n,s,r),t.max=G(t.max,e,n,s,r)}}(t,e[o],e[s],e[u],e.scale,i,r)}var K=["x","scaleX","originX"],Y=["y","scaleY","originY"];function z(t,e,n,i){H(t.x,e,K,n?n.x:void 0,i?i.x:void 0),H(t.y,e,Y,n?n.y:void 0,i?i.y:void 0)}var X=t.i(30162);function q(t){return 0===t.translate&&1===t.scale}function Z(t){return q(t.x)&&q(t.y)}function $(t,e){return t.min===e.min&&t.max===e.max}function J(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Q(t,e){return J(t.x,e.x)&&J(t.y,e.y)}function tt(t){return(0,U.calcLength)(t.x)/(0,U.calcLength)(t.y)}function te(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var tn=t.i(33887),ti=function(){function t(){(0,r._)(this,t),this.members=[]}return(0,a._)(t,[{key:"add",value:function(t){(0,tn.addUniqueItem)(this.members,t),t.scheduleRender()}},{key:"remove",value:function(t){if((0,tn.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}}},{key:"relegate",value:function(t){var e,n=this.members.findIndex(function(e){return t===e});if(0===n)return!1;for(var i=n;i>=0;i--){var r=this.members[i];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}},{key:"promote",value:function(t,e){var n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender();var i=n.options.layoutDependency,r=t.options.layoutDependency;(void 0===i||void 0===r||i!==r)&&(t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}},{key:"exitAnimationComplete",value:function(){this.members.forEach(function(t){var e=t.options,n=t.resumingFrom;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}},{key:"scheduleRender",value:function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),t}(),tr=t.i(55559),ta=function(t,e){return t.depth-e.depth},to=function(){function t(){(0,r._)(this,t),this.children=[],this.isDirty=!1}return(0,a._)(t,[{key:"add",value:function(t){(0,tn.addUniqueItem)(this.children,t),this.isDirty=!0}},{key:"remove",value:function(t){(0,tn.removeItem)(this.children,t),this.isDirty=!0}}
1,{key:"forEach",value:function(t){this.isDirty&&this.children.sort(ta),this.isDirty=!1,this.children.forEach(t)}}]),t}(),ts=t.i(77777),tu=t.i(7230),tl=t.i(87022),tc={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},th=["","X","Y","Z"],tv=0;function td(t,e,n,i){var r=e.latestValues;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function tf(t){var e=t.attachResizeListener,n=t.defaultParent,i=t.measureScroll,h=t.checkIsScrollRoot,T=t.resetTransform;function A(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==n?void 0:n();(0,r._)(this,A),this.id=tv++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=function(){return t.update()},this.projectionUpdateScheduled=!1,this.checkUpdateFailed=function(){t.isUpdating&&(t.isUpdating=!1,t.clearAllSnapshots())},this.updateProjection=function(){t.projectionUpdateScheduled=!1,x.statsBuffer.value&&(tc.nodes=tc.calculatedTargetDeltas=tc.calculatedProjections=0),t.nodes.forEach(ty),t.nodes.forEach(tP),t.nodes.forEach(tb),t.nodes.forEach(tg),x.statsBuffer.addProjectionMetrics&&x.statsBuffer.addProjectionMetrics(tc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?(0,u._)(i.path).concat([i]):[],this.parent=i,this.depth=i?i.depth+1:0;for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new to)}return(0,a._)(A,[{key:"addEventListener",value:function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new l.SubscriptionManager),this.eventHandlers.get(t).add(e)}},{key:"notifyListeners",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=this.eventHandlers.get(t);r&&r.notify.apply(r,(0,u._)(n))}},{key:"hasListeners",value:function(t){return this.eventHandlers.has(t)}},{key:"mount",value:function(t){var n=this;if(!this.instance){this.isSVG=S(t)&&!(S(t)&&"svg"===t.tagName),this.instance=t;var i=this.options,r=i.layoutId,a=i.layout,u=i.visualElement;if(u&&!u.current&&u.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||r)&&(this.isLayoutDirty=!0),e){var l,c=0,h=function(){return n.root.updateBlockedByResize=!1};tl.frame.read(function(){c=window.innerWidth}),e(t,function(){var t=window.innerWidth;t!==c&&(c=t,n.root.updateBlockedByResize=!0,l&&l(),l=(0,k.delay)(h,250),tu.globalProjectionState.hasAnimatedSinceResize&&(tu.globalProjectionState.hasAnimatedSinceResize=!1,n.nodes.forEach(tw)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&u&&(r||a)&&this.addEventListener("didUpdate",function(t){var e=t.delta,i=t.hasLayoutChanged,r=t.hasRelativeLayoutChanged,a=t.layout;if(n.isTreeAnimationBlocked()){n.target=void 0,n.relativeTarget=void 0;return}var l=n.options.transition||u.getDefaultTransition()||tD,c=u.getProps(),h=c.onLayoutAnimationStart,v=c.onLayoutAnimationComplete,d=!n.targetLayout||!Q(n.targetLayout,a),p=!i&&r;if(n.options.layoutRoot||n.resumeFrom||p||i&&(d||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0);var m=(0,s._)((0,o._)({},(0,f.getValueTransition)(l,"layout")),{onPlay:h,onComplete:v});(u.shouldReduceMotion||n.options.layoutRoot)&&(m.delay=0,m.type=!1),n.startAnimation(m),n.setAnimationOrigin(e,p)}else i||tw(n),n.isLead()&&n.options.onExitComplete&&n.options.onExitComplete();n.targetLayout=a})}}},{key:"unmount",value:function(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);var t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tl.cancelFrame)(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}}
1,{key:"startUpdate",value:function(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tM),this.animationId++)}},{key:"getTransformTemplate",value:function(){var t=this.options.visualElement;return t&&t.getProps().transformTemplate}},{key:"willUpdate",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root!==e){var n=e.options.visualElement;if(n){var i=(0,d.getOptimisedAppearId)(n);if(window.MotionHasOptimisedAnimation(i,"transform")){var r=e.options,a=r.layout,o=r.layoutId;window.MotionCancelOptimisedAnimation(i,"transform",tl.frame,!(a||o))}var s=e.parent;s&&!s.hasCheckedOptimisedAppear&&t(s)}}}(this),this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e=0;e<this.path.length;e++){var n=this.path[e];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}var i=this.options,r=i.layoutId,a=i.layout;if(void 0!==r||a){var o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}}},{key:"update",value:function(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tk);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tT);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tS),this.nodes.forEach(tp),this.nodes.forEach(tm)):this.nodes.forEach(tT),this.clearAllSnapshots();var t=m.time.now();tl.frameData.delta=(0,c.clamp)(0,1e3/60,t-tl.frameData.timestamp),tl.frameData.timestamp=t,tl.frameData.isProcessing=!0,tl.frameSteps.update.process(tl.frameData),tl.frameSteps.preRender.process(tl.frameData),tl.frameSteps.render.process(tl.frameData),tl.frameData.isProcessing=!1}},{key:"didUpdate",value:function(){this.updateScheduled||(this.updateScheduled=!0,p.microtask.read(this.scheduleUpdate))}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(tx),this.sharedNodes.forEach(tA)}},{key:"scheduleUpdateProjection",value:function(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tl.frame.preRender(this.updateProjection,!1,!0))}},{key:"scheduleCheckAfterUnmount",value:function(){var t=this;tl.frame.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,U.calcLength)(this.snapshot.measuredBox.x)||(0,U.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}},{key:"updateLayout",value:function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=(0,X.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);var n=this.options.visualElement;n&&n.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}}},{key:"updateScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){var n=h(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:n,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:n}}}},{key:"resetTransform",value:function(){if(T){var t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Z(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ts.hasTransform)(this.latestValues)||r)&&(T(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var t,e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),tL((t=i).x),tL(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var t,e=this.options.visualElement;if(!e)return(0,X.createBox)();var n=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tF))){var i=this.root.scroll;i&&((0,N.translateAxis)(n.x,i.offset.x),(0,N.translateAxis)(n.y,i.offset.y))}return n}}
1,{key:"removeElementScroll",value:function(t){var e,n=(0,X.createBox)();if(I(n,t),null==(e=this.scroll)?void 0:e.wasRoot)return n;for(var i=0;i<this.path.length;i++){var r=this.path[i],a=r.scroll,o=r.options;r!==this.root&&a&&o.layoutScroll&&(a.wasRoot&&I(n,t),(0,N.translateAxis)(n.x,a.offset.x),(0,N.translateAxis)(n.y,a.offset.y))}return n}},{key:"applyTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,X.createBox)();I(n,t);for(var i=0;i<this.path.length;i++){var r=this.path[i];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,N.transformBox)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,ts.hasTransform)(r.latestValues)&&(0,N.transformBox)(n,r.latestValues)}return(0,ts.hasTransform)(this.latestValues)&&(0,N.transformBox)(n,this.latestValues),n}},{key:"removeTransform",value:function(t){var e=(0,X.createBox)();I(e,t);for(var n=0;n<this.path.length;n++){var i=this.path[n];if(i.instance&&(0,ts.hasTransform)(i.latestValues)){(0,ts.hasScale)(i.latestValues)&&i.updateSnapshot();var r=(0,X.createBox)();I(r,i.measurePageBox()),z(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}}return(0,ts.hasTransform)(this.latestValues)&&z(e,this.latestValues),e}},{key:"setTargetDelta",value:function(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}},{key:"setOptions",value:function(t){this.options=(0,s._)((0,o._)({},this.options,t),{crossfade:void 0===t.crossfade||t.crossfade})}},{key:"clearMeasurements",value:function(){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}},{key:"forceRelativeParentToResolveTarget",value:function(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tl.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}},{key:"resolveTargetDelta",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);var i=!!this.resumingFrom||this!==n;if(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize){var r=this.options,a=r.layout,o=r.layoutId;if(this.layout&&(a||o)){this.resolvedRelativeTargetAt=tl.frameData.timestamp;var s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,X.createBox)(),this.targetWithTransforms=(0,X.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,U.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):I(this.target,this.layout.layoutBox),(0,N.applyBoxDelta)(this.target,this.targetDelta)):I(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),x.statsBuffer.value&&tc.calculatedTargetDeltas++)}}}},{key:"getClosestProjectingParent",value:function(){if(!(!this.parent||(0,ts.hasScale)(this.parent.latestValues)||(0,ts.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}},{key:"isProjecting",value:function(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}},{key:"createRelativeTarget",value:function(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,X.createBox)(),this.relativeTargetOrigin=(0,X.createBox)(),(0,U.calcRelativePosition)(this.relativeTargetOrigin,e,n),I(this.relativeTarget,this.relativeTargetOrigin)}},{key:"removeRelativeTarget",value:function(){this.relativeParent=this.relativeTarget=void 0}},{key:"calcProjection",value:function(){var t,e=this.getLead(),n=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tl.frameData.timestamp&&(i=!1),!i){var r=this.options,a=r.layout,o=r.layoutId;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(a||o)){I(this.layoutCorrected,this.layout.layoutBox);var s=this.treeScale.x,u=this.treeScale.y;(0,N.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,X.createBox)());var l=e.target;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(O(this.prevProjectionDelta.x,this.projectionDelta.x),O(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,U.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===u&&te(this.projectionDelta.x,this.prevProjectionDelta.x)&&te(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),x.statsBuffer.value&&tc.calculatedProjections++}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var t,e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){var n=this.getStack();n&&n.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"createProjectionDeltas",value:function(){this.prevProjectionDelta=(0,X.createDelta)(),this.projectionDelta=(0,X.createDelta)(),this.projectionDeltaWithTransform=(0,X.createDelta)()}},{key:"setAnimationOrigin",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,a=r?r.latestValues:{},s=(0,o._)({},this.latestValues),u=(0,X.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;var l=(0,X.createBox)(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),v=!h||h.members.length<=1,d=!!(c&&!v&&!0===this.options.crossfade&&!this.path.some(tE));this.animationProgress=0,this.mixTargetDelta=function(i){var r,o,h,f,p,m,y=i/1e3;if(tV(u.x,t.x,y),tV(u.y,t.y,y),n.setTargetDelta(u),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&n.relativeParent&&n.relativeParent.layout){(0,U.calcRelativePosition)(l,n.layout.layoutBox,n.relativeParent.layout.layoutBox),r=n.relativeTarget,o=n.relativeTargetOrigin,h=l,f=y,tC(r.x,o.x,h.x,f),tC(r.y,o.y,h.y,f),e&&(p=n.relativeTarget,m=e,$(p.x,m.x)&&$(p.y,m.y))&&(n.isProjectionDirty=!1),e||(e=(0,X.createBox)()),I(e,n.relativeTarget)}c&&(n.animationValues=s,function(t,e,n,i,r,a){r?(t.opacity=(0,w.mixNumber)(0,null!=(o=n.opacity)?o:1,L(i)),t.opacityExit=(0,w.mixNumber)(null!=(s=e.opacity)?s:1,0,B(i))
1):a&&(t.opacity=(0,w.mixNumber)(null!=(u=e.opacity)?u:1,null!=(l=n.opacity)?l:1,i));for(var o,s,u,l,c=0;c<E;c++){var h="border".concat(C[c],"Radius"),v=R(e,h),d=R(n,h);(void 0!==v||void 0!==d)&&(v||(v=0),d||(d=0),0===v||0===d||_(v)===_(d)?(t[h]=Math.max((0,w.mixNumber)(D(v),D(d),i),0),(M.percent.test(d)||M.percent.test(v))&&(t[h]+="%")):t[h]=d)}(e.rotate||n.rotate)&&(t.rotate=(0,w.mixNumber)(e.rotate||0,n.rotate||0,i))}(s,a,n.latestValues,y,d,v)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=y},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}},{key:"startAnimation",value:function(t){var e,n,i,r=this;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(i=this.resumingFrom)||null==(n=i.currentAnimation)||n.stop(),this.pendingAnimation&&((0,tl.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tl.frame.update(function(){tu.globalProjectionState.hasAnimatedSinceResize=!0,g.activeAnimations.layout++,r.motionValue||(r.motionValue=(0,P.motionValue)(0)),r.currentAnimation=(0,v.animateSingleValue)(r.motionValue,[0,1e3],(0,s._)((0,o._)({},t),{velocity:0,isSync:!0,onUpdate:function(e){r.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:function(){g.activeAnimations.layout--},onComplete:function(){g.activeAnimations.layout--,t.onComplete&&t.onComplete(),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})}},{key:"completeAnimation",value:function(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);var t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,i=t.layout,r=t.latestValues;if(e&&n&&i){if(this!==t&&this.layout&&i&&tB(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,X.createBox)();var a=(0,U.calcLength)(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+a;var o=(0,U.calcLength)(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+o}I(e,n),(0,N.transformBox)(e,r),(0,U.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}},{key:"registerSharedNode",value:function(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ti),this.sharedNodes.get(t).add(e);var n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}},{key:"isLead",value:function(){var t=this.getStack();return!t||t.lead===this}},{key:"getLead",value:function(){var t;return this.options.layoutId&&(null==(t=this.getStack())?void 0:t.lead)||this}},{key:"getPrevLead",value:function(){var t;return this.options.layoutId?null==(t=this.getStack())?void 0:t.prevLead:void 0}},{key:"getStack",value:function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)}},{key:"promote",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.needsReset,n=t.transition,i=t.preserveFollowOpacity,r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var t=this.getStack();return!!t&&t.relegate(this)}},{key:"resetSkewAndRotation",value:function(){var t=this.options.visualElement;if(t){var e=!1,n=t.latestValues;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),e){var i={};n.z&&td("z",t,i,this.animationValues);for(var r=0;r<th.length;r++)td("rotate".concat(th[r]),t,i,this.animationValues),td("skew".concat(th[r]),t,i,this.animationValues);for(var a in t.render(),i)t.setStaticValue(a,i[a]),this.animationValues&&(this.animationValues[a]=i[a]);t.scheduleRender()}}}},{key:"applyProjectionStyles",value:function(t,e){if(this.instance&&!this.isSVG){if(!this.isVisible){t.visibility="hidden";return}var n,i,r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,b.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=r?r(this.latestValues,""):"none";return}var a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,b.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,ts.hasTransform)(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1);return}t.visibility="";var o=a.animationValues||a.latestValues;this.applyTransformsToTarget();var s=function(t,e,n){var i="",r=t.x.translate/e.x,a=t.y.translate/e.y,o=(null==n?void 0:n.z)||0;if((r||a||o)&&(i="translate3d(".concat(r,"px, ").concat(a,"px, ").concat(o,"px) ")),(1!==e.x||1!==e.y)&&
1(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){var s=n.transformPerspective,u=n.rotate,l=n.rotateX,c=n.rotateY,h=n.skewX,v=n.skewY;s&&(i="perspective(".concat(s,"px) ").concat(i)),u&&(i+="rotate(".concat(u,"deg) ")),l&&(i+="rotateX(".concat(l,"deg) ")),c&&(i+="rotateY(".concat(c,"deg) ")),h&&(i+="skewX(".concat(h,"deg) ")),v&&(i+="skewY(".concat(v,"deg) "))}var d=t.x.scale*e.x,f=t.y.scale*e.y;return(1!==d||1!==f)&&(i+="scale(".concat(d,", ").concat(f,")")),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);r&&(s=r(o,s)),t.transform=s;var u=this.projectionDelta,l=u.x,c=u.y;for(var h in t.transformOrigin="".concat(100*l.origin,"% ").concat(100*c.origin,"% 0"),a.animationValues?t.opacity=a===this?null!=(n=null!=(i=o.opacity)?i:this.latestValues.opacity)?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=a===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,y.scaleCorrectors)if(void 0!==o[h]){var v=y.scaleCorrectors[h],d=v.correct,f=v.applyTo,p=v.isCSSVariable,m="none"===s?o[h]:d(o[h],a);if(f)for(var g=f.length,x=0;x<g;x++)t[f[x]]=m;else p?this.options.visualElement.renderState.vars[h]=m:t[h]=m}this.options.layoutId&&(t.pointerEvents=a===this?(0,b.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach(function(t){var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tk),this.root.sharedNodes.clear()}}]),A}function tp(t){t.updateLayout()}function tm(t){var e,n=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){var i=t.layout,r=i.layoutBox,a=i.measuredBox,o=t.options.animationType,s=n.source!==t.layout.source;"size"===o?(0,tr.eachAxis)(function(t){var e=s?n.measuredBox[t]:n.layoutBox[t],i=(0,U.calcLength)(e);e.min=r[t].min,e.max=e.min+i}):tB(o,n.layoutBox,r)&&(0,tr.eachAxis)(function(e){var i=s?n.measuredBox[e]:n.layoutBox[e],a=(0,U.calcLength)(r[e]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[e].max=t.relativeTarget[e].min+a)});var u=(0,X.createDelta)();(0,U.calcBoxDelta)(u,r,n.layoutBox);var l=(0,X.createDelta)();s?(0,U.calcBoxDelta)(l,t.applyTransform(a,!0),n.measuredBox):(0,U.calcBoxDelta)(l,r,n.layoutBox);var c=!Z(u),h=!1;if(!t.resumeFrom){var v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){var d=v.snapshot,f=v.layout;if(d&&f){var p=(0,X.createBox)();(0,U.calcRelativePosition)(p,n.layoutBox,d.layoutBox);var m=(0,X.createBox)();(0,U.calcRelativePosition)(m,r,f.layoutBox),Q(p,m)||(h=!0),v.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=p,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeLayoutChanged:h})}else if(t.isLead()){var y=t.options.onExitComplete;y&&y()}t.options.transition=void 0}function ty(t){x.statsBuffer.value&&tc.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tg(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tx(t){t.clearSnapshot()}function tk(t){t.clearMeasurements()}function tT(t){t.isLayoutDirty=!1}function tS(t){var e=t.options.visualElement;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tw(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tP(t){t.resolveTargetDelta()}function tb(t){t.calcProjection()}function tM(t){t.resetSkewAndRotation()}function tA(t){t.removeLeadSnapshot()}function tV(t,e,n){t.translate=(0,w.mixNumber)(e.translate,0,n),t.scale=(0,w.mixNumber)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function tC(t,e,n,i){t.min=(0,w.mixNumber)(e.min,n.min,i),t.max=(0,w.mixNumber)(e.max,n.max,i)}function tE(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var tD={duration:.45,ease:[.4,0,.1,1]},t_=function(t){return"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t)},tR=t_("applewebkit/")&&!t_("chrome/")?Math.round:h.noop;function tL(t){t.min=tR(t.min),t.max=tR(t.max)}function tB(t,e,n){return"position"===t||"preserve-aspect"===t&&!(0,U.isNear)(tt(e),tt(n),.2)}function tF(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tj=t.i(82774),tI=tf({attachResizeListener:function(t,e){return(0,tj.addDomEvent)(t,"resize",e)},measureScroll:function(){var t,e;return{x:document.documentElement.scrollLeft||(null==(t=document.body)?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(e=
1document.body)?void 0:e.scrollTop)||0}},checkIsScrollRoot:function(){return!0}}),tO={current:void 0},tN=tf({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!tO.current){var t=new tI({});t.mount(window),t.setOptions({layoutScroll:!0}),tO.current=t}return tO.current},resetTransform:function(t,e){t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:function(t){return"fixed"===window.getComputedStyle(t).position}});t.s(["HTMLProjectionNode",0,tN],17871);var tU={pan:{Feature:n.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tN,MeasureLayout:i.MeasureLayout}};t.s(["drag",0,tU],46816);var tW=t.i(38981),tG=t.i(64217),tH=t.i(42098),tK=t.i(39676),tY=t.i(8487);function tz(t,e,n){if(null==t)return[];if((0,tY._)(t,EventTarget))return[t];if("string"==typeof t){var i,r=document;e&&(r=e.current);var a=null!=(i=null==n?void 0:n[t])?i:r.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t).filter(function(t){return null!=t})}function tX(t,e){var n=tz(t),i=new AbortController;return[n,(0,s._)((0,o._)({passive:!0},e),{signal:i.signal}),function(){return i.abort()}]}function tq(t){return!("touch"===t.pointerType||(0,tK.isDragActive)())}t.s(["resolveElements",0,tz],49652),t.s(["setupGesture",0,tX],73089);var tZ=t.i(65536);function t$(t,e,n){var i=t.props;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);var r=i["onHover"+n];r&&tl.frame.postRender(function(){return r(e,(0,tZ.extractEventInfo)(e))})}var tJ=function(t){function e(){return(0,r._)(this,e),(0,tW._)(this,e,arguments)}return(0,tG._)(e,t),(0,a._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,W._)(tX(t,n),3),r=i[0],a=i[1],o=i[2],s=function(t){if(tq(t)){var n=t.target,i=e(n,t);if("function"==typeof i&&n){var r=function(t){tq(t)&&(i(t),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,a)}}};return r.forEach(function(t){t.addEventListener("pointerenter",s,a)}),o}(e,function(e,n){return t$(t.node,n,"Start"),function(e){return t$(t.node,e,"End")}}))}},{key:"unmount",value:function(){}}]),e}(tH.Feature);t.s(["HoverGesture",0,tJ],57512);var tQ=t.i(38638),t0=function(t){function e(){var t;return(0,r._)(this,e),t=(0,tW._)(this,e,arguments),t.isActive=!1,t}return(0,tG._)(e,t),(0,a._)(e,[{key:"onFocus",value:function(){var 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)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var t=this;this.unmount=(0,tQ.pipe)((0,tj.addDomEvent)(this.node.current,"focus",function(){return t.onFocus()}),(0,tj.addDomEvent)(this.node.current,"blur",function(){return t.onBlur()}))}},{key:"unmount",value:function(){}}]),e}(tH.Feature);t.s(["FocusGesture",0,t0],99642)},77397,68705,67807,t=>{"use strict";var e=t.i(38981),n=t.i(92955),i=t.i(80646),r=t.i(64217),a=t.i(20786),o=t.i(92808),s=t.i(51682),u=t.i(18050),l=t.i(7230),c=t.i(87022),h=t.i(60140),v=t.i(71645),d=t.i(64978),f=t.i(31178),p=t.i(4035),m=!1,y=function(t){function s(){return(0,n._)(this,s),(0,e._)(this,s,arguments)}return(0,r._)(s,t),(0,i._)(s,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.visualElement,i=e.layoutGroup,r=e.switchLayoutGroup,s=e.layoutId,u=n.projection;u&&(i.group&&i.group.add(u),r&&r.register&&s&&r.register(u),m&&u.root.didUpdate(),u.addEventListener("animationComplete",function(){t.safeToRemove()}),u.setOptions((0,o._)((0,a._)({},u.options),{layoutDependency:this.props.layoutDependency,onExitComplete:function(){return t.safeToRemove()}}))),l.globalProjectionState.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(t){var e=this,n=this.props,i=n.layoutDependency,r=n.visualElement,s=n.drag,u=n.isPresent,l=r.projection;return l&&(l.isPresent=u,t.layoutDependency!==i&&l.setOptions((0,o._)((0,a._)({},l.options),{layoutDependency:i})),m=!0,s||t.layoutDependency!==i||void 0===i||t.isPresent!==u?l.willUpdate():this.safeToRemove(),t.isPresent!==u&&(u?l.promote():l.relegate()||c.frame.postRender(function(){var t=l.getStack();t&&t.members.length||e.safeToRemove()}))),null}},{key:"componentDidUpdate",value:function(){var t=this,e=this.props.visualElement.projection;e&&(e.root.didUpdate(),h.microtask.postRender(function(){!e.currentAnimation&&e.isLead()&&t.safeToRemove()}))}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,r=e.projection;m=!0,r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}},{key:"safeToRemove",value:function(){var t=this.props.safeToRemove;t&&t()}},{key:"render",value:function(){return null}}]),s}(v.Component);t.s(["MeasureLayout",0,function(t){var e=(0,s._)((0,d.usePresence)(),2),n=e[0],i=e[1],r=(0,v.useContext)(f.LayoutGroupContext);return(0,u.jsx)(y,(0,o._)((0,a._)({},t),{layoutGroup:r,switchLayoutGroup:(0,v.useContext)(p.SwitchLayoutGroupContext),isPresent:n,safeToRemove:i}))}],77397);
1var g=t.i(39011),x=t.i(86427),k=t.i(83411);t.s(["animateSingleValue",0,function(t,e,n){var i=(0,k.isMotionValue)(t)?t:(0,x.motionValue)(t);return i.start((0,g.animateMotionValue)("",i,e,n)),i.animation}],68705);var T=t.i(96173);t.i(63074),t.s(["delay",0,function(t,e){var n=T.time.now(),i=function(r){var a=r.timestamp-n;a>=e&&((0,c.cancelFrame)(i),t(a-e))};return c.frame.setup(i,!0),function(){return(0,c.cancelFrame)(i)}}],67807)},7051,42098,87333,16896,63074,38638,4169,91559,83920,44230,15923,30551,39011,23070,55559,19880,82774,39676,52101,41327,65536,33986,85651,7230,t=>{"use strict";var e,n=t.i(20786),i=t.i(92808),r=t.i(18050),a=t.i(71645),o=t.i(31178),s=t.i(48070),u=t.i(37806),l=t.i(88291),c=t.i(82474),h=t.i(8576),v=t.i(44966),d=t.i(11805),f=t.i(1664),p=t.i(92936),m=t.i(76948),y=t.i(13565),g=t.i(21967),x=t.i(83640),k=t.i(35043),T=t.i(21476),S=t.i(4035),w=t.i(25522),P=t.i(74008);function b(t){var e,b,M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=M.forwardMotionProps,V=void 0!==A&&A,C=M.type,E=arguments.length>2?arguments[2]:void 0,D=arguments.length>3?arguments[3]:void 0;E&&(0,y.loadFeatures)(E);var _=C?"svg"===C:(0,v.isSVGComponent)(t),R=_?f.useSVGVisualState:d.useHTMLVisualState;function L(e,v){var d,f,y,g=(0,i._)((0,n._)({},(0,a.useContext)(u.MotionConfigContext),e),{layoutId:(d=e.layoutId,(f=(0,a.useContext)(o.LayoutGroupContext).id)&&void 0!==d?f+"-"+d:d)}),b=g.isStatic,M=(0,c.useCreateMotionContext)(e),A=R(e,b);if(!b&&p.isBrowser){(0,a.useContext)(s.LazyContext).strict;var C,E,L,B,F,j,I,O,N,U,W,G,H,K,Y,z,X,q,Z,$,J,Q,tt,te,tn,ti,tr,ta,to,ts,tu=function(t){var e=(0,m.getInitializedFeatureDefinitions)(),i=e.drag,r=e.layout;if(!i&&!r)return{};var a=(0,n._)({},i,r);return{MeasureLayout:(null==i?void 0:i.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}(g);y=tu.MeasureLayout,G=D,H=tu.ProjectionNode,q=(0,a.useContext)(l.MotionContext).visualElement,Z=(0,a.useContext)(s.LazyContext),$=(0,a.useContext)(T.PresenceContext),Q=(J=(0,a.useContext)(u.MotionConfigContext)).reducedMotion,tt=J.skipAnimations,te=(0,a.useRef)(null),tn=(0,a.useRef)(!1),G=G||Z.renderer,!te.current&&G&&(te.current=G(t,{visualState:A,parent:q,props:g,presenceContext:$,blockInitialAnimation:!!$&&!1===$.initial,reducedMotionConfig:Q,skipAnimations:tt,isSVG:_}),tn.current&&te.current&&(te.current.manuallyAnimateOnMount=!0)),ti=te.current,tr=(0,a.useContext)(S.SwitchLayoutGroupContext),ti&&!ti.projection&&H&&("html"===ti.type||"svg"===ti.type)&&(C=te.current,E=g,L=H,B=tr,F=E.layoutId,j=E.layout,I=E.drag,O=E.dragConstraints,N=E.layoutScroll,U=E.layoutRoot,W=E.layoutCrossfade,C.projection=new L(C.latestValues,E["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(C.parent)),C.projection.setOptions({layoutId:F,layout:j,alwaysMeasureLayout:!!I||O&&(0,w.isRefObject)(O),visualElement:C,animationType:"string"==typeof j?j:"both",initialPromotionConfig:B,crossfade:W,layoutScroll:N,layoutRoot:U})),ta=(0,a.useRef)(!1),(0,a.useInsertionEffect)(function(){ti&&ta.current&&ti.update(g,$)}),to=g[k.optimizedAppearDataAttribute],ts=(0,a.useRef)(!!to&&!(null==(K=(Y=window).MotionHandoffIsComplete)?void 0:K.call(Y,to))&&(null==(z=(X=window).MotionHasOptimisedAnimation)?void 0:z.call(X,to))),(0,P.useIsomorphicLayoutEffect)(function(){tn.current=!0,ti&&(ta.current=!0,window.MotionIsMounted=!0,ti.updateFeatures(),ti.scheduleRenderMicrotask(),ts.current&&ti.animationState&&ti.animationState.animateChanges())}),(0,a.useEffect)(function(){ti&&(!ts.current&&ti.animationState&&ti.animationState.animateChanges(),ts.current&&(queueMicrotask(function(){var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,to)}),ts.current=!1),ti.enteringChildren=void 0)}),M.visualElement=ti}return(0,r.jsxs)(l.MotionContext.Provider,{value:M,children:[y&&M.visualElement?(0,r.jsx)(y,(0,n._)({visualElement:M.visualElement},g)):null,(0,h.useRender)(t,e,(0,x.useMotionRef)(A,M.visualElement,v),A,b,V,_)]})}L.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(e=null!=(b=t.displayName)?b:t.name)?e:"",")"));var B=(0,a.forwardRef)(L);return B[g.motionComponentSymbol]=t,B}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return b;var n=new Map,i=function(n,i){return b(n,i,t,e)};return new Proxy(function(t,e){return i(t,e)},{get:function(r,a){return"create"===a?i:(n.has(a)||n.set(a,b(a,void 0,t,e)),n.get(a))}})}],7051);var M=t.i(38981),A=t.i(92955),V=t.i(80646),C=t.i(64217),E=function(){function t(e){(0,A._)(this,t),this.isMounted=!1,this.node=e}return(0,V._)(t,[{key:"update",value:function(){}}]),t}();t.s(["Feature",0,E],42098);var D=t.i(33027),_=t.i(40316),R=t.i(86579);function L(t,e,n){var i=t.getProps();return(0,R.resolveVariantFromProps)(i,e,void 0!==n?n:i.custom,t)}function B(t,e){var n,i;return null!=(n=null!=(i=null==t?void 0:t[e])?i:null==t?void 0:t.default)?n:t}t.s(["getValueTransition",0,B],87333);var F=t.i(64440),j=t.i(86427),I=function(t){return Array.isArray(t)},O=t.i(46791),N=t.i(83411);function U(t,e){var n=t.getValue("willChange");if((0,N.isMotionValue)(n)&&n.add)return n.add(e);if(!n&&O.MotionGlobalConfig.WillChange){var i=new O.MotionGlobalConfig.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}function W(t){return t.props[k.optimizedAppearDataAttribute]}t.s(["getOptimisedAppearId",0,W],16896);var G=function(t){return 1e3*t},H=function(t){return t/1e3};t.s(["millisecondsToSeconds",0,H,"secondsToMilliseconds",0,G],63074);var K=t.i(60830),Y=t.i(96173),z=function(t,e){return function(n){return e(t(n))}},X=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(z)};t.s(["pipe",0,X],38638);var q=t.i(76959),Z={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",0,Z],4169);var $=t.i(75),J=t.i(65566),Q=t.i(19928),tt=t.i(79444),te=t.i(69577),tn=t.i(63011),ti=t.i(22660);function tr(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var ta=t.i(66820);function to(t,e){return function(n){return n>0?e:t}}var ts=t.i(706),tu=function(t,e,n){var i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},tl=[tn.hex,ta.rgba,ti.hsla];function tc(t){var e=tl.find(function(e){return e.test(t)});if((0,J.warning)(!!e,"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!e)return!1;var n=e.parse(t);return e===ti.hsla&&(n=function(t){var e=t.hue,n=t.saturation,i=t.lightness,r=t.alpha;e/=360,i/=100;var a=0,o=0,s=0;if(n/=100){var u=i<.5?i*(1+n):i+n-i*n,l=2*i-u;a=tr(l,u,e+1/3),o=tr(l,u,e),s=tr(l,u,e-1/3)}else a=o=s=i;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}var th=function(t,e){var i=tc(t),r=tc(e);if(!i||!r)return to(t,e);var a=(0,n._)({},i);return function(t){return a.red=tu(i.red,r.red,t),a.green=tu(i.green,r.green,t),a.blue=tu(i.blue,r.blue,t),a.alpha=(0,ts.mixNumber)(i.alpha,r.alpha,t),ta.rgba.transform(a)}},tv=new Set(["none","hidden"]);function td(t,e){return function(n){return(0,ts.mixNumber)(t,e,n)}}function tf(t){return"number"==typeof t?td:"string"==typeof t?(0,Q.isCSSVariableToken)(t)?to:tt.color.test(t)?th:ty:Array.isArray(t)?tp:(void 0===t?"undefined":(0,$._)(t))==="object"?tt.color.test(t)?th:tm:to}function tp(t,e){var n=(0,_._)(t),i=n.length,r=t.map(function(t,n){return tf(t)(t,e[n])});return function(t){for(var e=0;e<i;e++)n[e]=r[e](t);return n}}function tm(t,e){var i=(0,n._)({},t,e),r={};for(var a in i)void 0!==t[a]&&void 0!==e[a]&&(r[a]=tf(t[a])(t[a],e[a]));return function(t){for(var e in r)i[e]=r[e](t);return i}}var ty=function(t,e){var n=te.complex.createTransformer(e),i=(0,te.analyseComplexValue)(t),r=(0,te.analyseComplexValue)(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?tv.has(t)&&!r.values.length||tv.has(e)&&!i.values.length?tv.has(t)?function(n){return n<=0?t:e}:function(n){return n>=1?e:t}:X(tp(function(t,e){for(var n=[],i={color:0,var:0,number:0},r=0;r<e.values.length;r++){var a,o=e.types[r],s=t.indexes[o][i[o]],u=null!=(a=t.values[s])?a:0;n[r]=u,i[o]++}return n}(i,r),r.values),n):((0,J.warning)(!0,"Complex values '".concat(t,"' and '").concat(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."),"complex-values-different"),to(t,e))};function tg(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,ts.mixNumber)(t,e,n):tf(t)(t,e)}var tx=t.i(87022),tk=function(t){var e=function(e){return t(e.timestamp)};return{start:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return tx.frame.update(e,t)},stop:function(){return(0,tx.cancelFrame)(e)},now:function(){return tx.frameData.isProcessing?tx.frameData.timestamp:Y.time.now()}}},tT=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i="",r=Math.max(Math.round(e/n),2),a=0;a<r;a++)i+=Math.round(1e4*t(a/(r-1)))/1e4+", ";return"linear(".concat(i.substring(0,i.length-2),")")};function tS(t){for(var e=0,n=t.next(e);!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}var tw=t.i(25791);function tP(t,e,n){var i=Math.max(e-5,0);return(0,tw.velocityPerSecond)(n-t(i),e-i)}var tb=.01,tM=2,tA=.005,tV=.5;function tC(t,e){return t*Math.sqrt(1-e*e)}var tE=["duration","bounce"],tD=["stiffness","damping","mass"];function t_(t,e){return e.some(function(e){return void 0!==t[e]})}function tR(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3,a=(void 0===e?"undefined":(0,$._)(e))!=="object"?{visualDuration:e,keyframes:[0,1],bounce:r}:e,o=a.restSpeed,s=a.restDelta,u=a.keyframes[0],l=a.keyframes[a.keyframes.length-1],c={done:!1,value:u},h=function(t){var e=(0,n._)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!t_(t,tD)&&t_(t,tE))if(t.visualDuration){var r=2*Math.PI/(1.2*t.visualDuration),a=r*r,o=2*(0,q.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(a);e=(0,i._)((0,n._)({},e),{mass:1,stiffness:a,damping:o})}else{var s=function(t){var e,n,i=t.duration,r=void 0===i?800:i,a=t.bounce,o=t.velocity,s=void 0===o?0:o,u=t.mass,l=void 0===u?1:u;(0,J.warning)(r<=G(10),"Spring duration must be 10 seconds or less","spring-duration-limit");var c=1-(void 0===a?.3:a);c=(0,q.clamp)(.05,1,c),r=(0,q.clamp)(.01,10,H(r)),c<1?(e=function(t){var e=t*c,n=e*r;return .001-(e-s)/tC(t,c)*Math.exp(-n)},n=function(t){var n=t*c*r,i=Math.pow(c,2)*Math.pow(t,2)*r,a=Math.exp(-n),o=tC(Math.pow(t,2),c);return(n*s+s-i)*a*(-e(t)+.001>0?-1:1)/o}):(e=function(t){return -.001+Math.exp(-t*r)*((t-s)*r+1)},n=function(t){return r*r*(s-t)*Math.exp(-t*r)});var h=function(t,e,n){for(var i=n,r=1;r<12;r++)i-=t(i)/e(i);return i}(e,n,5/r);if(r=G(r),isNaN(h))return{stiffness:100,damping:10,duration:r};var v=Math.pow(h,2)*l;return{stiffness:v,damping:2*c*Math.sqrt(l*v),duration:r}}(t);(e=(0,i._)((0,n._)({},e,s),{mass:1})).isResolvedFromDuration=!0}return e}((0,i._)((0,n._)({},a),{velocity:-H(a.velocity||0)}
1)),v=h.stiffness,d=h.damping,f=h.mass,p=h.duration,m=h.velocity,y=h.isResolvedFromDuration,g=m||0,x=d/(2*Math.sqrt(v*f)),k=l-u,T=H(Math.sqrt(v/f)),S=5>Math.abs(k);if(o||(o=S?tb:tM),s||(s=S?tA:tV),x<1){var w=tC(T,x);t=function(t){return l-Math.exp(-x*T*t)*((g+x*T*k)/w*Math.sin(w*t)+k*Math.cos(w*t))}}else if(1===x)t=function(t){return l-Math.exp(-T*t)*(k+(g+T*k)*t)};else{var P=T*Math.sqrt(x*x-1);t=function(t){var e=Math.exp(-x*T*t),n=Math.min(P*t,300);return l-e*((g+x*T*k)*Math.sinh(n)+P*k*Math.cosh(n))/P}}var b={calculatedDuration:y&&p||null,next:function(e){var n=t(e);if(y)c.done=e>=p;else{var i=0===e?g:0;x<1&&(i=0===e?G(g):tP(t,e,n));var r=Math.abs(l-n)<=s;c.done=Math.abs(i)<=o&&r}return c.value=c.done?l:n,c},toString:function(){var t=Math.min(tS(b),2e4),e=tT(function(e){return b.next(t*e).value},t,30);return t+"ms "+e},toTransition:function(){}};return b}function tL(t){var e,n,i=t.keyframes,r=t.velocity,a=t.power,o=t.timeConstant,s=void 0===o?325:o,u=t.bounceDamping,l=void 0===u?10:u,c=t.bounceStiffness,h=void 0===c?500:c,v=t.modifyTarget,d=t.min,f=t.max,p=t.restDelta,m=void 0===p?.5:p,y=t.restSpeed,g=i[0],x={done:!1,value:g},k=(void 0===a?.8:a)*(void 0===r?0:r),T=g+k,S=void 0===v?T:v(T);S!==T&&(k=S-g);var w=function(t){return-k*Math.exp(-t/s)},P=function(t){return S+w(t)},b=function(t){var e=w(t),n=P(t);x.done=Math.abs(e)<=m,x.value=x.done?S:n},M=function(t){var i,r;i=x.value,(void 0!==d&&i<d||void 0!==f&&i>f)&&(e=t,n=tR({keyframes:[x.value,(r=x.value,void 0===d?f:void 0===f||Math.abs(d-r)<Math.abs(f-r)?d:f)],velocity:tP(P,t,x.value),damping:l,stiffness:h,restDelta:m,restSpeed:y}))};return M(0),{calculatedDuration:null,next:function(t){var i=!1;return(n||void 0!==e||(i=!0,b(t),M(t)),void 0!==e&&t>=e)?n.next(t-e):(i||b(t),x)}}}tR.applyToOptions=function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2?arguments[2]:void 0,a=r((0,i._)((0,n._)({},t),{keyframes:[0,e]})),o=Math.min(tS(a),2e4);return{type:"keyframes",ease:function(t){return a.next(o*t).value/e},duration:H(o)}}(t,100,tR);return t.ease=e.ease,t.duration=G(e.duration),t.type="keyframes",t};var tB=function(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t};function tF(t,e,n,i){if(t===e&&n===i)return K.noop;var r=function(e){var i,r,a=0,o=1,s=0;do(i=tB(r=a+(o-a)/2,t,n)-e)>0?o=r:a=r;while(Math.abs(i)>1e-7&&++s<12)return r};return function(t){return 0===t||1===t?t:tB(r(t),e,i)}}var tj=tF(.42,0,1,1),tI=tF(0,0,.58,1),tO=tF(.42,0,.58,1),tN=t.i(51682),tU=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}},tW=function(t){return function(e){return 1-t(1-e)}},tG=tF(.33,1.53,.69,.99),tH=tW(tG),tK=tU(tH),tY=function(t){return(t*=2)<1?.5*tH(t):.5*(2-Math.pow(2,-10*(t-1)))},tz=function(t){return 1-Math.sin(Math.acos(t))},tX=tW(tz),tq=tU(tz);t.s(["circIn",0,tz,"circInOut",0,tq,"circOut",0,tX],91559);var tZ=function(t){return Array.isArray(t)&&"number"==typeof t[0]},t$={linear:K.noop,easeIn:tj,easeInOut:tO,easeOut:tI,circIn:tz,circInOut:tq,circOut:tX,backIn:tH,backInOut:tK,backOut:tG,anticipate:tY},tJ=function(t){if(tZ(t)){(0,J.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");var e=(0,tN._)(t,4);return tF(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,J.invariant)(void 0!==t$[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),t$[t]):t},tQ=function(t,e,n){var i=e-t;return 0===i?1:(n-t)/i};function t0(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.clamp,r=n.ease,a=n.mixer,o=t.length;if((0,J.invariant)(o===e.length,"Both input and output ranges must be the same length","range-length"),1===o)return function(){return e[0]};if(2===o&&e[0]===e[1])return function(){return e[1]};var s=t[0]===t[1];t[0]>t[o-1]&&(t=(0,_._)(t).reverse(),e=(0,_._)(e).reverse());var u=function(t,e,n){for(var i=[],r=n||O.MotionGlobalConfig.mix||tg,a=t.length-1,o=0;o<a;o++){var s=r(t[o],t[o+1]);e&&(s=X(Array.isArray(e)?e[o]||K.noop:e,s)),i.push(s)}return i}(e,r,a),l=u.length,c=function(n){if(s&&n<t[0])return e[0];var i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);var r=tQ(t[i],t[i+1],n);return u[i](r)};return void 0===i||i?function(e){return c((0,q.clamp)(t[0],t[o-1],e))}:c}function t1(t){var e=[0];return!function(t,e){for(var n=t[t.length-1],i=1;i<=e;i++){var r=tQ(0,e,i);t.push((0,ts.mixNumber)(n,1,r))}}(e,t.length-1),e}function t2(t){var e,n=t.duration,i=void 0===n?300:n,r=t.keyframes,a=t.times,o=t.ease,s=void 0===o?"easeInOut":o,u=Array.isArray(s)&&"number"!=typeof s[0]?s.map(tJ):tJ(s),l={done:!1,value:r[0]},c=t0((e=a&&a.length===r.length?a:t1(r),e.map(function(t){return t*i})),r,{ease:Array.isArray(u)?u:r.map(function(){return u||tO}).splice(0,r.length-1)});return{calculatedDuration:i,next:function(t){return l.value=c(t),l.done=t>=i,l}}}t.s(["progress",0,tQ],83920),t.s(["interpolate",0,t0],44230),t.s(["defaultOffset",0,t1],15923);var t6=function(t){return null!==t};function t5(t,e,n){var i=e.repeat,r=e.repeatType,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=t.filter(t6),s=a<0||i&&"loop"!==(void 0===r?"loop":r)&&i%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}
1var t3={decay:tL,inertia:tL,tween:t2,keyframes:t2,spring:tR};function t7(t){"string"==typeof t.type&&(t.type=t3[t.type])}var t4=function(){function t(){(0,A._)(this,t),this.updateFinished()}return(0,V._)(t,[{key:"finished",get:function(){return this._finished}},{key:"updateFinished",value:function(){var t=this;this._finished=new Promise(function(e){t.resolve=e})}},{key:"notifyFinished",value:function(){this.resolve()}},{key:"then",value:function(t,e){return this.finished.then(t,e)}}]),t}(),t8=function(t){return t/100},t9=function(t){function e(t){var n;return(0,A._)(this,e),(n=(0,M._)(this,e)).state="idle",n.startTime=null,n.isStopped=!1,n.currentTime=0,n.holdTime=null,n.playbackSpeed=1,n.stop=function(){var t,e,i=n.options.motionValue;i&&i.updatedAt!==Y.time.now()&&n.tick(Y.time.now()),n.isStopped=!0,"idle"!==n.state&&(n.teardown(),null==(t=(e=n.options).onStop)||t.call(e))},Z.mainThread++,n.options=t,n.initAnimation(),n.play(),!1===t.autoplay&&n.pause(),n}return(0,C._)(e,t),(0,V._)(e,[{key:"initAnimation",value:function(){var t=this.options;t7(t);var e=t.type,r=t.repeat,a=t.repeatDelay,o=void 0===a?0:a,s=t.repeatType,u=t.velocity,l=t.keyframes,c=(void 0===e?t2:e)||t2;c!==t2&&"number"!=typeof l[0]&&(this.mixKeyframes=X(t8,tg(l[0],l[1])),l=[0,100]);var h=c((0,i._)((0,n._)({},t),{keyframes:l}));"mirror"===s&&(this.mirroredGenerator=c((0,i._)((0,n._)({},t),{keyframes:(0,_._)(l).reverse(),velocity:-(void 0===u?0:u)}))),null===h.calculatedDuration&&(h.calculatedDuration=tS(h));var v=h.calculatedDuration;this.calculatedDuration=v,this.resolvedDuration=v+o,this.totalDuration=this.resolvedDuration*((void 0===r?0:r)+1)-o,this.generator=h}},{key:"updateTime",value:function(t){var e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}},{key:"tick",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.generator,i=this.totalDuration,r=this.mixKeyframes,a=this.mirroredGenerator,o=this.resolvedDuration,s=this.calculatedDuration;if(null===this.startTime)return n.next(0);var u=this.options,l=u.delay,c=u.keyframes,h=u.repeat,v=u.repeatType,d=u.repeatDelay,f=u.type,p=u.onUpdate,m=u.finalKeyframe;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);var y=this.currentTime-(void 0===l?0:l)*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);var x=this.currentTime,k=n;if(h){var T=Math.min(this.currentTime,i)/o,S=Math.floor(T),w=T%1;!w&&T>=1&&(w=1),1===w&&S--,(S=Math.min(S,h+1))%2&&("reverse"===v?(w=1-w,d&&(w-=d/o)):"mirror"===v&&(k=a)),x=(0,q.clamp)(0,1,w)*o}var P=g?{done:!1,value:c[0]}:k.next(x);r&&(P.value=r(P.value));var b=P.done;g||null===s||(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);var M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return M&&f!==tL&&(P.value=t5(c,this.options,m,this.speed)),p&&p(P.value),M&&this.finish(),P}},{key:"then",value:function(t,e){return this.finished.then(t,e)}},{key:"duration",get:function(){return H(this.calculatedDuration)}},{key:"iterationDuration",get:function(){var t=(this.options||{}).delay;return this.duration+H(void 0===t?0:t)}},{key:"time",get:function(){return H(this.currentTime)},set:function(t){var e;t=G(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),null==(e=this.driver)||e.start(!1)}},{key:"speed",get:function(){return this.playbackSpeed},set:function(t){this.updateTime(Y.time.now());var e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=H(this.currentTime))}},{key:"play",value:function(){var t,e,n=this;if(!this.isStopped){var i=this.options,r=i.driver,a=i.startTime;this.driver||(this.driver=(void 0===r?tk:r)(function(t){return n.tick(t)})),null==(t=(e=this.options).onPlay)||t.call(e);var o=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=o):null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime||(this.startTime=null!=a?a:o),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}}},{key:"pause",value:function(){this.state="paused",this.updateTime(Y.time.now()),this.holdTime=this.currentTime}},{key:"complete",value:function(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}},{key:"finish",value:function(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}},{key:"cancel",value:function(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}},{key:"teardown",value:function(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,Z.mainThread--}},{key:"stopDriver",value:function(){this.driver&&(this.driver.stop(),this.driver=void 0)}},{key:"sample",value:function(t){return this.startTime=0,this.tick(t,!0)}},{key:"attachTimeline",value:function(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(e=this.driver)||e.stop(),t.observe(this)}}]),e}(t4),et=t.i(21012),ee=t.i(9136);function en(t){var e;return function(){return void 0===e&&(e=t()),e}}var ei=en(function(){return void 0!==window.ScrollTimeline});t.s(["supportsScrollTimeline",0,ei],30551);var er=t.i(99749),ea=t.i(80248),eo={},es=(e=en(function(){try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),function(){var t;return null!=(t=eo.linearEasing)?t:e()}),eu=function(t){var e=(0,tN._)(t,4),n=e[0],i=e[1],r=e[2],a=e[3];return"cubic-bezier(".concat(n,", ").concat(i,", ").concat(r,", ").concat(a,")")},el={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eu([0,.65,.55,1]),circOut:eu([.55,0,1,.45]),backIn:eu([.31,.01,.66,-.59]),backOut:eu([.33,1.53,.69,.99])};function ec(t){return"function"==typeof t&&"applyToOptions"in t}var eh=function(t){function e(t){if((0,A._)(this,e),(r=(0,M._)(this,e)).finishedTime=null,r.isStopped=!1,r.manualStartTime=null,!t)return(0,ee._)(r);var n,i,r,a=t.element,o=t.name,s=t.keyframes,u=t.pseudoElement,l=t.allowFlatten,c=t.finalKeyframe,h=t.onComplete;r.isPseudoElement=!!u,r.allowFlatten=void 0!==l&&l,r.options=t,(0,J.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");var v=(n=t.type,i=(0,D._)(t,["type"]),ec(n)&&es()?n.applyToOptions(i):(null!=i.duration||(i.duration=300),null!=i.ease||(i.ease="easeOut"),i));return r.animation=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.delay,a=i.duration,o=void 0===a?300:a,s=i.repeat,u=i.repeatType,l=i.ease,c=i.times,h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,v=(0,er._)({},e,n);c&&(v.offset=c);var d=function t(e,n){if(e)return"function"==typeof e?es()?tT(e,n):"ease-out":tZ(e)?eu(e):Array.isArray(e)?e.map(function(e){return t(e,n)||el.easeOut}):el[e]}(void 0===l?"easeOut":l,o);Array.isArray(d)&&(v.easing=d),ea.statsBuffer.value&&Z.waapi++;var f={delay:void 0===r?0:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:(void 0===s?0:s)+1,direction:"reverse"===(void 0===u?"loop":u)?"alternate":"normal"};h&&(f.pseudoElement=h);var p=t.animate(v,f);return ea.statsBuffer.value&&p.finished.finally(function(){Z.waapi--}),p}(a,o,s,v,u),!1===v.autoplay&&r.animation.pause(),r.animation.onfinish=function(){if(r.finishedTime=r.time,!u){var t=t5(s,r.options,c,r.speed);r.updateMotionValue?r.updateMotionValue(t):o.startsWith("--")?a.style.setProperty(o,t):a.style[o]=t,r.animation.cancel()}null==h||h(),r.notifyFinished()},r}return(0,C._)(e,t),(0,V._)(e,[{key:"play",value:function(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}},{key:"pause",value:function(){this.animation.pause()}},{key:"complete",value:function(){var t,e;null==(t=(e=this.animation).finish)||t.call(e)}},{key:"cancel",value:function(){try{this.animation.cancel()}catch(t){}}},{key:"stop",value:function(){if(!this.isStopped){this.isStopped=!0;var t=this.state;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}}},{key:"commitStyles",value:function(){var t,e,n,i=null==(t=this.options)?void 0:t.element;!this.isPseudoElement&&(null==i?void 0:i.isConnected)&&(null==(e=(n=this.animation).commitStyles)||e.call(n))}},{key:"duration",get:function(){var t,e;return H(Number((null==(e=this.animation.effect)||null==(t=e.getComputedTiming)?void 0:t.call(e).duration)||0))}},{key:"iterationDuration",get:function(){var t=(this.options||{}).delay;return this.duration+H(void 0===t?0:t)}},{key:"time",get:function(){return H(Number(this.animation.currentTime)||0)},set:function(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=G(t)}},{key:"speed",get:function(){return this.animation.playbackRate},set:function(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}},{key:"state",get:function(){return null!==this.finishedTime?"finished":this.animation.playState}},{key:"startTime",get:function(){var t;return null!=(t=this.manualStartTime)?t:Number(this.animation.startTime)},set:function(t){this.manualStartTime=this.animation.startTime=t}},{key:"attachTimeline",value:function(t){var e,n=t.timeline,i=t.observe;return(this.allowFlatten&&(null==(e=this.animation.effect)||e.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&ei())?(this.animation.timeline=n,K.noop):i(this)}}]),e}(t4),ev={anticipate:tY,backInOut:tK,circInOut:tq},ed=function(t){function e(t){var n;return(0,A._)(this,e),"string"==typeof t.ease&&t.ease in ev&&(t.ease=ev[t.ease]),t7(t),n=(0,M._)(this,e,[t]),void 0!==t.startTime&&(n.startTime=t.startTime),n.options=t,n}return(0,C._)(e,t),(0,V._)(e,[{key:"updateMotionValue",value:function(t){var e=this.options,r=e.motionValue,a=(e.onUpdate,e.onComplete,e.element,(0,D._)(e,["motionValue","onUpdate","onComplete","element"]));if(r){if(void 0!==t)return void r.set(t);var o=new t9((0,i._)((0,n._)({},a),{autoplay:!1})),s=Math.max(10,Y.time.now()-this.startTime),u=(0,q.clamp)(0,10,s-10);r.setWithVelocity(o.sample(Math.max(0,s-u)).value,o.sample(s).value,u),o.stop()}}}]),e}(eh),ef=function(t,e){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(te.complex.test(t)||"0"===t)&&!t.startsWith("url("))};function ep(t){t.duration=0,t.type="keyframes"}var em=t.i(8487),ey=new Set(["opacity","clipPath","filter","transform"]),eg=en(function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}),ex=function(t){function e(t){(0,A._)(this,e);var i,r,a=t.autoplay,o=t.delay,s=t.type,u=t.repeat,l=t.repeatDelay,c=t.repeatType,h=t.keyframes,v=t.name,d=t.motionValue,f=t.element,p=(0,D._)(t,["auto
1play","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);(i=(0,M._)(this,e)).stop=function(){var t,e;i._animation&&(i._animation.stop(),null==(e=i.stopTimeline)||e.call(i)),null==(t=i.keyframeResolver)||t.cancel()},i.createdAt=Y.time.now();var m=(0,n._)({autoplay:void 0===a||a,delay:void 0===o?0:o,type:void 0===s?"keyframes":s,repeat:void 0===u?0:u,repeatDelay:void 0===l?0:l,repeatType:void 0===c?"loop":c,name:v,motionValue:d,element:f},p);return i.keyframeResolver=new((null==f?void 0:f.KeyframeResolver)||et.KeyframeResolver)(h,function(t,e,n){return i.onKeyframesResolved(t,e,m,!n)},v,d,f),null==(r=i.keyframeResolver)||r.scheduleResolve(),i}return(0,C._)(e,t),(0,V._)(e,[{key:"onKeyframesResolved",value:function(t,e,r,a){var o,s,u=this;this.keyframeResolver=void 0;var l=r.name,c=r.type,h=r.velocity,v=r.delay,d=r.isHandoff,f=r.onUpdate;this.resolvedAt=Y.time.now(),!function(t,e,n,i){var r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;var a=t[t.length-1],o=ef(r,e),s=ef(a,e);return(0,J.warning)(o===s,"You are trying to animate ".concat(e,' from "').concat(r,'" to "').concat(a,'". "').concat(o?a:r,'" is not an animatable value.'),"value-not-animatable"),!!o&&!!s&&(function(t){var e=t[0];if(1===t.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||ec(n))&&i)}(t,l,c,h)&&((O.MotionGlobalConfig.instantAnimations||!v)&&(null==f||f(t5(t,r,e))),t[0]=t[t.length-1],ep(r),r.repeat=0);var p=a?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,m=(0,i._)((0,n._)({startTime:p,finalKeyframe:e},r),{keyframes:t}),y=!d&&function(t){var e,n=t.motionValue,i=t.name,r=t.repeatDelay,a=t.repeatType,o=t.damping,s=t.type,u=null==n||null==(e=n.owner)?void 0:e.current;if(!(0,em._)(u,HTMLElement))return!1;var l=n.owner.getProps(),c=l.onUpdate,h=l.transformTemplate;return eg()&&i&&ey.has(i)&&("transform"!==i||!h)&&!c&&!r&&"mirror"!==a&&0!==o&&"inertia"!==s}(m),g=null==(s=m.motionValue)||null==(o=s.owner)?void 0:o.current,x=y?new ed((0,i._)((0,n._)({},m),{element:g})):new t9(m);x.finished.then(function(){u.notifyFinished()}).catch(K.noop),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}},{key:"finished",get:function(){return this._animation?this.animation.finished:this._finished}},{key:"then",value:function(t,e){return this.finished.finally(t).then(function(){})}},{key:"animation",get:function(){if(!this._animation){var t;null==(t=this.keyframeResolver)||t.resume(),(0,et.flushKeyframeResolvers)()}return this._animation}},{key:"duration",get:function(){return this.animation.duration}},{key:"iterationDuration",get:function(){return this.animation.iterationDuration}},{key:"time",get:function(){return this.animation.time},set:function(t){this.animation.time=t}},{key:"speed",get:function(){return this.animation.speed},set:function(t){this.animation.speed=t}},{key:"state",get:function(){return this.animation.state}},{key:"startTime",get:function(){return this.animation.startTime}},{key:"attachTimeline",value:function(t){var e=this;return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,function(){return e.stop()}}},{key:"play",value:function(){this.animation.play()}},{key:"pause",value:function(){this.animation.pause()}},{key:"complete",value:function(){this.animation.complete()}},{key:"cancel",value:function(){var t;this._animation&&this.animation.cancel(),null==(t=this.keyframeResolver)||t.cancel()}}]),e}(t4),ek=t.i(57788),eT={type:"spring",stiffness:500,damping:25,restSpeed:10},eS={type:"keyframes",duration:.8},ew={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eP=function(t,e){var n=e.keyframes;return n.length>2?eS:ek.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:eT:ew},eb=function(t){return null!==t},eM=function(t,e,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;return function(u){var l=B(a,t)||{},c=l.delay||a.delay||0,h=a.elapsed,v=void 0===h?0:h;v-=G(c);var d=(0,i._)((0,n._)({keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity()},l),{delay:-v,onUpdate:function(t){e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:function(){u(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:o});l.when,l.delay,l.delayChildren,l.staggerChildren,l.staggerDirection,l.repeat,l.repeatType,l.repeatDelay,l.from,l.elapsed,Object.keys((0,D._)(l,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"])).length||Object.assign(d,eP(t,d)),d.duration&&(d.duration=G(d.duration)),d.repeatDelay&&(d.repeatDelay=G(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);var f=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(ep(d),0===d.delay&&(f=!0)),(O.MotionGlobalConfig.instantAnimations||O.MotionGlobalConfig.skipAnimations||(null==o?void 0:o.shouldSkipAnimations))&&(f=!0,ep(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!s&&void 0!==e.get()){var p,m,y,g,x,k=(p=d.keyframes,m=l.repeat,y=l.repeatType,g=p.filter(eb),x=m&&"loop"!==(void 0===y?"loop":y)&&m%2==1?0:g.length-1,g[x]);if(void 0!==k)return void tx.frame.update(function(){d.onUpdate(k),d.onComplete()})}return l.isSync?new t9(d):new ex(d)}};function eA(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.delay,a=void 0===r?0:r,o=i.transitionOverride,s=i.type,u=e.transition,l=void 0===u?t.getDefaultTransition():u,c=e.transitionEnd,h=(0,D._)(e,["transition","transitionEnd"]),v=null==l?void 0:l.reduceMotion;o&&(l=o);var d=[],f=s&&t.animationState&&t.animationState.getState()[s];for(var p in h){var m,y=t.getValue(p,null!=(m=t.latestValues[p])?m:null),g=h[p];if(!(void 0===g||f&&function(t,e){var n=t.protectedKeys,i=t.needsAnimating,r=n.hasOwnProperty(e)&&!0!==i[e];return i[e]=!1,r}(f,p))){var x=(0,n._)({delay:a},B(l||{},p)),k=y.get();if(void 0===k||y.isAnimating||Array.isArray(g)||g!==k||x.velocity){var T=!1;if(window.MotionHandoffAnimation){var S=W(t);if(S){var w=window.MotionHandoffAnimation(S,p,tx.frame);null!==w&&(x.startTime=w,T=!0)}}U(t,p);var P=null!=v?v:t.shouldReduceMotion;y.start(eM(p,y,g,P&&F.positionalKeys.has(p)?{type:!1}:x,t,T));var b=y.animation;b&&d.push(b)}}}return c&&Promise.all(d).then(function(){tx.frame.update(function(){c&&function(t,e){var i=L(t,e)||{},r=i.transitionEnd,a=(i.transition,(0,D._)(i,["transitionEnd","transition"]));for(var o in a=(0,n._)({},a,void 0===r?{}:r)){var s,u=I(s=a[o])?s[s.length-1]||0:s;t.hasValue(o)?t.getValue(o).set(u):t.addValue(o,(0,j.motionValue)(u))}}(t,c)})}),d}function eV(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=Array.from(t).sort(function(t,e){return t.sortNodePosition(e)}).indexOf(e),o=t.size,s=(o-1)*i;return"function"==typeof n?n(a,o):1===r?a*i:s-a*i}function eC(t,e){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=L(t,e,"exit"===a.type?null==(r=t.presenceContext)?void 0:r.custom:void 0),s=(o||{}).transition,u=void 0===s?t.getDefaultTransition()||{}:s;a.transitionOverride&&(u=a.transitionOverride);var l=o?function(){return Promise.all(eA(t,o,a))}:function(){return Promise.resolve()},c=t.variantChildren&&t.variantChildren.size?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=u.delayChildren;return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,u=arguments.length>6?arguments[6]:void 0,l=[],c=!0,h=!1,v=void 0;try{for(var d,f=t.variantChildren[Symbol.iterator]();!(c=(d=f.next()).done);c=!0)!function(){var c=d.value;c.notify("AnimationStart",e),l.push(eC(c,e,(0,i._)((0,n._)({},u),{delay:r+("function"==typeof a?0:a)+eV(t.variantChildren,c,a,o,s)})).then(function(){return c.notify("AnimationComplete",e)}))}()}catch(t){h=!0,v=t}finally{try{c||null==f.return||f.return()}finally{if(h)throw v}}return Promise.all(l)}(t,e,r,void 0===o?0:o,u.staggerChildren,u.staggerDirection,a)}:function(){return Promise.resolve()},h=u.when;if(!h)return Promise.all([l(),c(a.delay)]);var v=(0,tN._)("beforeChildren"===h?[l,c]:[c,l],2),d=v[0],f=v[1];return d().then(function(){return f()})}t.s(["animateMotionValue",0,eM],39011);var eE=t.i(32525),eD=t.i(6840),e_=eD.variantProps.length,eR=t.i(85983);function eL(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var eB=(0,_._)(eD.variantPriorityOrder).reverse(),eF=eD.variantPriorityOrder.length;function ej(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eI(){return{animate:ej(!0),whileInView:ej(),whileHover:ej(),whileTap:ej(),whileDrag:ej(),whileFocus:ej(),exit:ej()}}var eO=function(t){function e(t){var i;return(0,A._)(this,e),i=(0,M._)(this,e,[t]),t.animationState||(t.animationState=function(t){var e=function(e){return Promise.all(e.map(function(e){return function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(function(e){return eC(t,e,i)}));else if("string"==typeof e)n=eC(t,e,i);else{var r="function"==typeof e?L(t,e,i.custom):e;n=Promise.all(eA(t,r,i))}return n.then(function(){t.notify("AnimationComplete",e)})}(t,e.animation,e.options)}))},i=eI(),r=!0;function a(a){for(var o=t.props,s=function t(e){if(e){if(!e.isControllingVariants){var n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}for(var i={},r=0;r<e_;r++){var a=eD.variantProps[r],o=e.props[a];((0,eE.isVariantLabel)(o)||!1===o)&&(i[a]=o)}return i}}(t.parent)||{},u=[],l=new Set,c={},h=1/0,v=0;v<eF;v++)!function(e){var v,d,f=eB[e],p=i[f],m=void 0!==o[f]?o[f]:s[f],y=(0,eE.isVariantLabel)(m),g=f===a?p.isActive:null;!1===g&&(h=e);var x=m===s[f]&&m!==o[f]&&y;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),p.protectedKeys=(0,n._)({},c),!(!p.isActive&&null===g||!m&&!p.prevProp||(0,eR.isAnimationControls)(m))&&"boolean"!=typeof m){var k=(v=p.prevProp,"string"==typeof(d=m)?d!==v:!!Array.isArray(d)&&!eL(d,v)),T=k||f===a&&p.isActive&&!x&&y||e>h&&y,S=!1,w=Array.isArray(m)?m:[m],P=w.reduce(function(e,i){var r,a=L(t,i,"exit"===f?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(a){a.transition;var o=a.transitionEnd,s=(0,D._)(a,["transition","transitionEnd"]);e=(0,n._)({},e,s,o)}return e},{});!1===g&&(P={});var b=p.prevResolvedValues,M=void 0===b?{}:b,A=(0,n._)({},M,P),V=function(e){T=!0,l.has(e)&&(S=!0,l.delete(e)),p.needsAnimating[e]=!0;var n=t.getValue(e);n&&(n.liveStyle=!1)};for(var C in A){var E=P[C],R=M[C];!c.hasOwnProperty(C)&&((I(E)&&I(R)?eL(E,R):E===R)?void 0!==E&&l.has(C)?V(C):p.protectedKeys[C]=!0:null!=E?V(C):l.add(C))}p.prevProp=m,p.prevResolvedValues=P,p.isActive&&(c=(0,n._)({},c,P)),r&&t.blockInitialAnimation&&(T=!1);var B=x&&k,F=!B||S;T&&F&&u.push.apply(u,(0,_._)(w.map(function(e){var n={type:f};if("string"==typeof e&&r&&!B&&t.manuallyAnimateOnMount&&t.parent){var i=t.parent,a=L(i,e);if(i.enteringChildren&&a){var o=(a.transition||{}).delayChildren;n.delay=eV(i.enteringChildren,t,o)}}return{animation:e,options:n}})))}}(v);if(l.size){var d={};if("boolean"!=typeof o.initial){var f=L(t,Array.isArray(o.initial)?o.initial[0]:o.initial);f&&f.transition&&(d.transition=f.transition)}l.forEach(function(e){var n=t.getBaseTarget(e),i=t.getValue(e);
1i&&(i.liveStyle=!0),d[e]=null!=n?n:null}),u.push({animation:d})}var p=!!u.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),r=!1,p?e(u):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(function(t){var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;var r,o=a(e);for(var s in i)i[s].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:function(){return i},reset:function(){i=eI()}}}(t)),i}return(0,C._)(e,t),(0,V._)(e,[{key:"updateAnimationControlsSubscription",value:function(){var t=this.node.getProps().animate;(0,eR.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}]),e}(E),eN=0,eU=function(t){function e(){var t;return(0,A._)(this,e),t=(0,M._)(this,e,arguments),t.id=eN++,t}return(0,C._)(e,t),(0,V._)(e,[{key:"update",value:function(){var t=this;if(this.node.presenceContext){var e=this.node.presenceContext,n=e.isPresent,i=e.onExitComplete,r=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&n!==r){var a=this.node.animationState.setActive("exit",!n);i&&!n&&a.then(function(){i(t.id)})}}}},{key:"mount",value:function(){var t=this.node.presenceContext||{},e=t.register,n=t.onExitComplete;n&&n(this.id),e&&(this.unmount=e(this.id))}},{key:"unmount",value:function(){}}]),e}(E);t.s(["animations",0,{animation:{Feature:eO},exit:{Feature:eU}}],23070);var eW=t.i(30162);function eG(t){return[t("x"),t("y")]}t.s(["eachAxis",0,eG],55559);var eH=t.i(53689),eK=t.i(27677),eY=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ez(t){return eY.has(t.tagName)||!0===t.isContentEditable}function eX(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,i),function(){return t.removeEventListener(e,n)}}t.s(["isElementKeyboardAccessible",0,ez],19880),t.s(["addDomEvent",0,eX],82774);var eq={x:!1,y:!1};t.s(["isDragActive",0,function(){return eq.x||eq.y},"isDragging",0,eq],39676);var eZ=t.i(65091);function e$(t){return t.max-t.min}function eJ(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=i,t.originPoint=(0,ts.mixNumber)(e.min,e.max,t.origin),t.scale=e$(n)/e$(e),t.translate=(0,ts.mixNumber)(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function eQ(t,e,n){t.min=n.min+e.min,t.max=t.min+e$(e)}function e0(t,e,n){t.min=e.min-n.min,t.max=t.min+e$(e)}t.s(["calcBoxDelta",0,function(t,e,n,i){eJ(t.x,e.x,n.x,i?i.originX:void 0),eJ(t.y,e.y,n.y,i?i.originY:void 0)},"calcLength",0,e$,"calcRelativeBox",0,function(t,e,n){eQ(t.x,e.x,n.x),eQ(t.y,e.y,n.y)},"calcRelativePosition",0,function(t,e,n){e0(t.x,e.x,n.x),e0(t.y,e.y,n.y)},"isNear",0,function(t,e,n){return Math.abs(t-e)<=n}],52101);var e1=function(t){return"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary};function e2(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,e1],41327);var e6=function(t){return function(e){return e1(e)&&t(e,e2(e))}};function e5(t,e,n,i){return eX(t,e,e6(n),i)}t.s(["addPointerInfo",0,e6,"extractEventInfo",0,e2],65536);var e3=function(t){var e=t.current;return e?e.ownerDocument.defaultView:null},e7=function(t,e){return Math.abs(t-e)},e4=new Set(["auto","scroll"]),e8=function(){function t(e,r){var a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o.transformPagePoint,u=o.contextWindow,l=void 0===u?window:u,c=o.dragSnapToOrigin,h=o.distanceThreshold,v=o.element;if((0,A._)(this,t),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=function(t){a.handleScroll(t.target)},this.onWindowScroll=function(){a.handleScroll(window)},this.updatePoint=function(){if(a.lastMoveEvent&&a.lastMoveEventInfo){var t,e,r=ne(a.lastMoveEventInfo,a.history),o=null!==a.startEvent,s=(t=r.offset,e={x:0,y:0},Math.sqrt(Math.pow(e7(t.x,e.x),2)+Math.pow(e7(t.y,e.y),2))>=a.distanceThreshold);if(o||s){var u=r.point,l=tx.frameData.timestamp;a.history.push((0,i._)((0,n._)({},u),{timestamp:l}));var c=a.handlers,h=c.onStart,v=c.onMove;o||(h&&h(a.lastMoveEvent,r),a.startEvent=a.lastMoveEvent),v&&v(a.lastMoveEvent,r)}}},this.handlePointerMove=function(t,e){a.lastMoveEvent=t,a.lastMoveEventInfo=e9(e,a.transformPagePoint),tx.frame.update(a.updatePoint,!0)},this.handlePointerUp=function(t,e){a.end();var n=a.handlers,i=n.onEnd,r=n.onSessionEnd,o=n.resumeAnimation;if((a.dragSnapToOrigin||!a.startEvent)&&o&&o(),a.lastMoveEvent&&a.lastMoveEventInfo){var s=ne("pointercancel"===t.type?a.lastMoveEventInfo:e9(e,a.transformPagePoint),a.history);a.startEvent&&i&&i(t,s),r&&r(t,s)}},e1(e)){this.dragSnapToOrigin=void 0!==c&&c,this.handlers=r,this.transformPagePoint=s,this.distanceThreshold=void 0===h?3:h,this.contextWindow=l||window;var d=e9(e2(e),this.transformPagePoint),f=d.point,p=tx.frameData.timestamp;this.history=[(0,i._)((0,n._)({},f),{timestamp:p})];var m=r.onSessionStart;m&&m(e,ne(d,this.history)),this.removeListeners=X(e5(this.contextWindow,"pointermove",this.handlePointerMove),e5(this.contextWindow,"pointerup",this.handlePointerUp),e5(this.contextWindow,"pointercancel",this.handlePointerUp)),v&&this.startScrollTracking(v)}}return(0,V._)(t,[{key:"startScrollTracking",value:function(t){for(var e=this,n=t.parentElement;n;){var i=getComputedStyle(n);(e4.has(i.overflowX)||e4.has(i.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=function(){window.removeEventListener("scroll",e.onElementScroll,{capture:!0}),window.removeEventListener("scroll",e.onWindowScroll)}}},{key:"handleScroll",value:function(t){var e=this.scrollPositions.get(t);if(e){var n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:i.x-e.x,y:i.y-e.y};(0!==r.x||0!==r.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,i),tx.frame.update(this.updatePoint,!0))}}},{key:"updateHandlers",value:function(t){this.handlers=t}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tx.cancelFrame)(this.updatePoint)}}]),t}();function e9(t,e){return e?{point:e(t.point)}:t}function nt(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ne(t,e){var n=t.point;return{point:n,delta:nt(n,nn(e)),offset:nt(n,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};for(var e=t.length-1,n=null,i=nn(t);e>=0&&(n=t[e],!(i.timestamp-n.timestamp>G(.1)));)e--;if(!n)return{x:0,y:0};var r=H(i.timestamp-n.timestamp);if(0===r)return{x:0,y:0};var a={x:(i.x-n.x)/r,y:(i.y-n.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e)}}function nn(t){return t[t.length-1]}function ni(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function nr(t,e){var n,i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&(i=(n=[r,i])[0],r=n[1]),{min:i,max:r}}function na(t,e,n){return{min:no(t,e),max:no(t,n)}}function no(t,e){return"number"==typeof t?t:t[e]||0}var ns=new WeakMap,nu=function(){function t(e){(0,A._)(this,t),this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,eW.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}return(0,V._)(t,[{key:"start",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.snapToCursor,r=void 0!==i&&i,a=n.distanceThreshold,o=this.visualElement.presenceContext;if(!o||!1!==o.isPresent){var s=this.getProps().dragSnapToOrigin;this.panSession=new e8(t,{onSessionStart:function(t){r?(e.stopAnimation(),e.snapToCursor(e2(t).point)):e.pauseAnimation()},onStart:function(t,n){e.stopAnimation();var i=e.getProps(),r=i.drag,a=i.dragPropagation,o=i.onDragStart;if(!r||a||(e.openDragLock&&e.openDragLock(),e.openDragLock=function(t){if("x"===t||"y"===t)if(eq[t])return null;else return eq[t]=!0,function(){eq[t]=!1};return eq.x||eq.y?null:(eq.x=eq.y=!0,function(){eq.x=eq.y=!1})}(r),e.openDragLock)){e.latestPointerEvent=t,e.latestPanInfo=n,e.isDragging=!0,e.currentDirection=null,e.resolve
1Constraints(),e.visualElement.projection&&(e.visualElement.projection.isAnimationBlocked=!0,e.visualElement.projection.target=void 0),eG(function(t){var n=e.getAxisMotionValue(t).get()||0;if(eZ.percent.test(n)){var i=e.visualElement.projection;if(i&&i.layout){var r=i.layout.layoutBox[t];r&&(n=e$(r)*(parseFloat(n)/100))}}e.originPoint[t]=n}),o&&tx.frame.postRender(function(){return o(t,n)}),U(e.visualElement,"transform");var s=e.visualElement.animationState;s&&s.setActive("whileDrag",!0)}},onMove:function(t,n){e.latestPointerEvent=t,e.latestPanInfo=n;var i=e.getProps(),r=i.dragPropagation,a=i.dragDirectionLock,o=i.onDirectionLock,s=i.onDrag;if(r||e.openDragLock){var u=n.offset;if(a&&null===e.currentDirection){e.currentDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(u),null!==e.currentDirection&&o&&o(e.currentDirection);return}e.updateAxis("x",n.point,u),e.updateAxis("y",n.point,u),e.visualElement.render(),s&&s(t,n)}},onSessionEnd:function(t,n){e.latestPointerEvent=t,e.latestPanInfo=n,e.stop(t,n),e.latestPointerEvent=null,e.latestPanInfo=null},resumeAnimation:function(){return eG(function(t){var n;return"paused"===e.getAnimationState(t)&&(null==(n=e.getAxisMotionValue(t).animation)?void 0:n.play())})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:a,contextWindow:e3(this.visualElement),element:this.visualElement.current})}}},{key:"stop",value:function(t,e){var n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),r&&i&&n){var a=i.velocity;this.startAnimation(a);var o=this.getProps().onDragEnd;o&&tx.frame.postRender(function(){return o(n,i)})}}},{key:"cancel",value:function(){this.isDragging=!1;var t=this.visualElement,e=t.projection,n=t.animationState;e&&(e.isAnimationBlocked=!1),this.endPanSession(),!this.getProps().dragPropagation&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}},{key:"endPanSession",value:function(){this.panSession&&this.panSession.end(),this.panSession=void 0}},{key:"updateAxis",value:function(t,e,n){var i=this.getProps().drag;if(n&&nl(t,i,this.currentDirection)){var r,a,o,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=c,a=this.constraints[t],o=this.elastic[t],s=a.min,u=a.max,void 0!==s&&r<s?r=o?(0,ts.mixNumber)(s,r,o.min):Math.max(r,s):void 0!==u&&r>u&&(r=o?(0,ts.mixNumber)(u,r,o.max):Math.min(r,u)),c=r),l.set(c)}}},{key:"resolveConstraints",value:function(){var t,e,n,i,r,a,o=this,s=this.getProps(),u=s.dragConstraints,l=s.dragElastic,c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(a=this.visualElement.projection)?void 0:a.layout,h=this.constraints;u&&(0,w.isRefObject)(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&c?this.constraints=(t=c.layoutBox,e=u.top,n=u.left,i=u.bottom,r=u.right,{x:ni(t.x,n,r),y:ni(t.y,e,i)}):this.constraints=!1,this.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:na(t,"left","right"),y:na(t,"top","bottom")}}(l),h!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&eG(function(t){var e,n,i;!1!==o.constraints&&o.getAxisMotionValue(t)&&(o.constraints[t]=(e=c.layoutBox[t],n=o.constraints[t],i={},void 0!==n.min&&(i.min=n.min-e.min),void 0!==n.max&&(i.max=n.max-e.min),i))})}},{key:"resolveRefConstraints",value:function(){var t,e=this.getProps(),n=e.dragConstraints,i=e.onMeasureDragConstraints;if(!n||!(0,w.isRefObject)(n))return!1;var r=n.current;(0,J.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");var a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=(0,eH.measurePageBox)(r,a.root,this.visualElement.getTransformPagePoint()),s=(t=a.layout.layoutBox,{x:nr(t.x,o.x),y:nr(t.y,o.y)});if(i){var u=i((0,eK.convertBoxToBoundingBox)(s));this.hasMutatedConstraints=!!u,u&&(s=(0,eK.convertBoundingBoxToBox)(u))}return s}},{key:"startAnimation",value:function(t){var e=this,i=this.getProps(),r=i.drag,a=i.dragMomentum,o=i.dragElastic,s=i.dragTransition,u=i.dragSnapToOrigin,l=i.onDragTransitionEnd,c=this.constraints||{};return Promise.all(eG(function(i){if(nl(i,r,e.currentDirection)){var l=c&&c[i]||{};u&&(l={min:0,max:0});var h=(0,n._)({type:"inertia",velocity:a?t[i]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},s,l);return e.startAxisValueAnimation(i,h)}})).then(l)}},{key:"startAxisValueAnimation",value:function(t,e){var n=this.getAxisMotionValue(t);return U(this.visualElement,t),n.start(eM(t,n,0,e,this.visualElement,!1))}},{key:"stopAnimation",value:function(){var t=this;eG(function(e){return t.getAxisMotionValue(e).stop()})}},{key:"pauseAnimation",value:function(){var t=this;eG(function(e){var n;return null==(n=t.getAxisMotionValue(e).animation)?void 0:n.pause()})}},{key:"getAnimationState",value:function(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}},{key:"getAxisMotionValue",value:function(t){var e="_drag".concat(t.toUpperCase()),n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}},{key:"snapToCursor",value:function(t){var e=this;eG(function(n){if(nl(n,e.getProps().drag,e.currentDirection)){var i=e.visualElement.projection,r=e.getAxisMotionValue(n);if(i&&i.layout){var a=i.layout.layoutBox[n],o=a.min,s=a.max,u=r.get()||0;r.set(t[n]-(0,ts.mixNumber)(o,s,.5)+u)}}})}},{key:"scalePositionWithinConstraints",value:function(){var t=this;if(this.visualElement.current){var e=this.getProps(),n=e.drag,i=e.dragConstraints,r=this.visualElement.projection;if((0,w.isRefObject)(i)&&r&&this.constraints){this.stopAnimation();var a={x:0,y:0};eG(function(e){var n=t.getAxisMotionValue(e);if(n&&!1!==t.constraints){var i,r,o,s,u,l=n.get();a[e]=(i={min:l,max:l},r=t.constraints[e],o=.5,s=e$(i),(u=e$(r))>s?o=tQ(r.min,r.max-s,i.min):s>u&&(o=tQ(i.min,i.max-u,r.min)),(0,q.clamp)(0,1,o))}});var o=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),eG(function(e){if(nl(e,n,null)){var i=t.getAxisMotionValue(e),r=t.constraints[e],o=r.min,s=r.max;i.set((0,ts.mixNumber)(o,s,a[e]))}})}}}},{key:"addListeners",value:function(){var t=this;if(this.visualElement.current){ns.set(this.visualElement,this);var e=this.visualElement.current,n=e5(e,"pointerdown",function(n){var i=t.getProps(),r=i.drag,a=i.dragListener,o=n.target,s=o!==e&&ez(o);r&&(void 0===a||a)&&!s&&t.start(n)}),i=function(){var e=t.getProps().dragConstraints;(0,w.isRefObject)(e)&&e.current&&(t.constraints=t.resolveRefConstraints())},r=this.visualElement.projection,a=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tx.frame.read(i);var o=eX(window,"resize",function(){return t.scalePositionWithinConstraints()}),s=r.addEventListener("didUpdate",function(e){var n=e.delta,i=e.hasLayoutChanged;t.isDragging&&i&&(eG(function(e){var i=t.getAxisMotionValue(e);
1i&&(t.originPoint[e]+=n[e].translate,i.set(i.get()+n[e].translate))}),t.visualElement.render())});return function(){o(),n(),a(),s&&s()}}}},{key:"getProps",value:function(){var t=this.visualElement.getProps(),e=t.drag,r=t.dragDirectionLock,a=t.dragPropagation,o=t.dragConstraints,s=t.dragElastic,u=t.dragMomentum;return(0,i._)((0,n._)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==r&&r,dragPropagation:void 0!==a&&a,dragConstraints:void 0!==o&&o,dragElastic:void 0===s?.35:s,dragMomentum:void 0===u||u})}}]),t}();function nl(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var nc=function(t){function e(t){var n;return(0,A._)(this,e),(n=(0,M._)(this,e,[t])).removeGroupControls=K.noop,n.removeListeners=K.noop,n.controls=new nu(t),n}return(0,C._)(e,t),(0,V._)(e,[{key:"mount",value:function(){var t=this.node.getProps().dragControls;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||K.noop}},{key:"update",value:function(){var t=this.node.getProps().dragControls;t!==(this.node.prevProps||{}).dragControls&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}]),e}(E);t.s(["DragGesture",0,nc],33986);var nh=function(t){return function(e,n){t&&tx.frame.postRender(function(){return t(e,n)})}},nv=function(t){function e(){var t;return(0,A._)(this,e),t=(0,M._)(this,e,arguments),t.removePointerDownListener=K.noop,t}return(0,C._)(e,t),(0,V._)(e,[{key:"onPointerDown",value:function(t){this.session=new e8(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e3(this.node)})}},{key:"createPanHandlers",value:function(){var t=this,e=this.node.getProps(),n=e.onPanSessionStart,i=e.onPanStart,r=e.onPan,a=e.onPanEnd;return{onSessionStart:nh(n),onStart:nh(i),onMove:r,onEnd:function(e,n){delete t.session,a&&tx.frame.postRender(function(){return a(e,n)})}}}},{key:"mount",value:function(){var t=this;this.removePointerDownListener=e5(this.node.current,"pointerdown",function(e){return t.onPointerDown(e)})}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),e}(E);t.s(["PanGesture",0,nv],85651),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],7230)},46932,t=>{"use strict";var e=t.i(54505),n=t.i(7051),i=t.i(20786),r=t.i(23070),a=t.i(46816),o=t.i(57512),s=t.i(99642),u=t.i(38981),l=t.i(92955),c=t.i(80646),h=t.i(64217),v=t.i(8487),d=t.i(42098),f=t.i(51682),p=t.i(72846),m=t.i(39676),y=function(t,e){return!!e&&(t===e||y(t,e.parentElement))},g=t.i(41327),x=t.i(73089),k=t.i(19880),T=new WeakSet;function S(t){return function(e){"Enter"===e.key&&t(e)}}function w(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}var P=function(t,e){var n=t.currentTarget;if(n){var i=S(function(){if(!T.has(n)){w(n,"down");var t=S(function(){w(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",function(){return w(n,"cancel")},e)}});n.addEventListener("keydown",i,e),n.addEventListener("blur",function(){return n.removeEventListener("keydown",i)},e)}};function b(t){return(0,g.isPrimaryPointer)(t)&&!(0,m.isDragActive)()}var M=t.i(87022),A=t.i(65536);function V(t,e,n){var i=t.props;if(!(0,v._)(t.current,HTMLButtonElement)||!t.current.disabled){t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);var r=i["onTap"+("End"===n?"":n)];r&&M.frame.postRender(function(){return r(e,(0,A.extractEventInfo)(e))})}}var C=function(t){function e(){return(0,l._)(this,e),(0,u._)(this,e,arguments)}return(0,h._)(e,t),(0,c._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,f._)((0,x.setupGesture)(t,n),3),r=i[0],a=i[1],o=i[2],s=function(t){var i=t.currentTarget;if(b(t)){T.add(i);var r=e(i,t),o=function(t,e){window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",u),T.has(i)&&T.delete(i),b(t)&&"function"==typeof r&&r(t,{success:e})},s=function(t){o(t,i===window||i===document||n.useGlobalTarget||y(i,t.target))},u=function(t){o(t,!1)};window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",u,a)}};return r.forEach(function(t){(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,a),(0,p.isHTMLElement)(t)&&(t.addEventListener("focus",function(t){return P(t,a)}),(0,k.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(e,function(e,n){return V(t.node,n,"Start"),function(e,n){var i=n.success;
1return V(t.node,e,i?"End":"Cancel")}},{useGlobalTarget:this.node.props.globalTapTarget}))}},{key:"unmount",value:function(){}}]),e}(d.Feature),E=t.i(33027),D=new WeakMap,_=new WeakMap,R=function(t){var e=D.get(t.target);e&&e(t)},L=function(t){t.forEach(R)},B={some:0,all:1},F={inView:{Feature:function(t){function e(){var t;return(0,l._)(this,e),t=(0,u._)(this,e,arguments),t.hasEnteredView=!1,t.isInView=!1,t}return(0,h._)(e,t),(0,c._)(e,[{key:"startObserver",value:function(){var t,e,n,r,a,o,s,u,l=this;this.unmount();var c=this.node.getProps().viewport,h=void 0===c?{}:c,v=h.root,d=h.margin,f=h.amount,p=void 0===f?"some":f,m=h.once,y={root:v?v.current:void 0,rootMargin:d,threshold:"number"==typeof p?p:B[p]};return t=this.node.current,e=function(t){var e=t.isIntersecting;if(l.isInView!==e){if(l.isInView=e,m&&!e&&l.hasEnteredView)return;e&&(l.hasEnteredView=!0),l.node.animationState&&l.node.animationState.setActive("whileInView",e);var n=l.node.getProps(),i=n.onViewportEnter,r=n.onViewportLeave,a=e?i:r;a&&a(t)}},n=y.root,r=(0,E._)(y,["root"]),a=n||document,_.has(a)||_.set(a,{}),(o=_.get(a))[s=JSON.stringify(r)]||(o[s]=new IntersectionObserver(L,(0,i._)({root:n},r))),u=o[s],D.set(t,e),u.observe(t),function(){D.delete(t),u.unobserve(t)}}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("u">typeof IntersectionObserver){var t=this.node;["amount","margin","root"].some(function(t){var e=t.viewport,n=void 0===e?{}:e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.viewport,a=void 0===r?{}:r;return function(t){return n[t]!==a[t]}}(t.props,t.prevProps))&&this.startObserver()}}},{key:"unmount",value:function(){}}]),e}(d.Feature)},tap:{Feature:C},focus:{Feature:s.FocusGesture},hover:{Feature:o.HoverGesture}},j=t.i(17871),I=t.i(77397),O={layout:{ProjectionNode:j.HTMLProjectionNode,MeasureLayout:I.MeasureLayout}},N=(0,i._)({},r.animations,F,a.drag,O),U=(0,n.createMotionProxy)(N,e.createDomVisualElement);t.s(["motion",0,U],46932)},54505,80700,57788,76959,66820,63011,65091,22660,79444,69577,30162,83411,64440,65566,19928,60830,46791,80248,87022,21012,33887,70596,60140,96173,25791,86427,71164,38544,85983,32525,6840,87576,86579,17218,93787,44947,81261,99951,706,24463,30789,84049,67926,27677,77777,35636,53689,44966,t=>{"use strict";var e,n,i=t.i(38981),r=t.i(92955),a=t.i(80646),o=t.i(2048);function s(t,e,n){return(s="u">typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=(0,o._)(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n||t):r.value}})(t,e,n||t)}t.s(["_",()=>s],80700);var u=t.i(64217),l=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],c=new Set(l);t.s(["transformPropOrder",0,l,"transformProps",0,c],57788);var h=t.i(20786),v=t.i(92808),d=function(t,e,n){return n>e?e:n<t?t:n};t.s(["clamp",0,d],76959);var f={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},p=(0,v._)((0,h._)({},f),{transform:function(t){return d(0,1,t)}}),m=(0,v._)((0,h._)({},f),{default:1}),y=function(t){return Math.round(1e5*t)/1e5},g=t.i(99749),x=t.i(51682),k=RegExp("-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)","gu"),T=RegExp("^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$","iu"),S=function(t,e){return function(n){return!!("string"==typeof n&&T.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e))}},w=function(t,e,n){return function(i){if("string"!=typeof i)return i;var r,a=(0,x._)(i.match(k),4),o=a[0],s=a[1],u=a[2],l=a[3];return r={},(0,g._)(r,t,parseFloat(o)),(0,g._)(r,e,parseFloat(s)),(0,g._)(r,n,parseFloat(u)),(0,g._)(r,"alpha",void 0!==l?parseFloat(l):1),r}},P=(0,v._)((0,h._)({},f),{transform:function(t){return Math.round(d(0,255,t))}}),b={test:S("rgb","red"),parse:w("red","green","blue"),transform:function(t){var e=t.red,n=t.green,i=t.blue,r=t.alpha;return"rgba("+P.transform(e)+", "+P.transform(n)+", "+P.transform(i)+", "+y(p.transform(void 0===r?1:r))+")"}};t.s(["rgba",0,b],66820);var M={test:S("#"),parse:function(t){var e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:r?parseInt(r,16)/255:1}},transform:b.transform};t.s(["hex",0,M],63011);var A=function(t){return{test:function(e){return"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return"".concat(e).concat(t)}}},V=A("deg"),C=A("%"),E=A("px"),D=A("vh"),_=A("vw"),R=(0,v._)((0,h._)({},C),{parse:function(t){return C.parse(t)/100},transform:function(t){return C.transform(100*t)}});t.s(["degrees",0,V,"percent",0,C,"progressPercentage",0,R,"px",0,E,"vh",0,D,"vw",0,_],65091);var L={test:S("hsl","hue"),parse:w("hue","saturation","lightness"),transform:function(t){var e=t.hue,n=t.saturation,i=t.lightness,r=t.alpha;return"hsla("+Math.round(e)+", "+C.transform(y(n))+", "+C.transform(y(i))+", "+y(p.transform(void 0===r?1:r))+")"}};t.s(["hsla",0,L],22660);var B={test:function(t){return b.test(t)||M.test(t)||L.test(t)},parse:function(t){return b.test(t)?b.parse(t):L.test(t)?L.parse(t):M.parse(t)},transform:function(t){return"string"==typeof t?t:t.hasOwnProperty("red")?b.transform(t):L.transform(t)},getAnimatableNone:function(t){var e=B.parse(t);return e.alpha=0,B.transform(e)}};t.s(["color",0,B],79444);var F=RegExp("(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))","giu"),j="number",I="color",O=RegExp("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 N(t){var e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],a=0,o=e.replace(O,function(t){return B.test(t)?(i.color.push(a),r.push(I),n.push(B.parse(t))):t.startsWith("var(")?(i.var.push(a),r.push("var"),n.push(t)):(i.number.push(a),r.push(j),n.push(parseFloat(t))),++a,"${}"}).split("${}");return{values:n,split:o,indexes:i,types:r}}function U(t){return N(t).values}function W(t){var e=N(t),n=e.split,i=e.types,r=n.length;return function(t){for(var e="",a=0;a<r;a++)if(e+=n[a],void 0!==t[a]){var o=i[a];o===j?e+=y(t[a]):o===I?e+=B.transform(t[a]):e+=t[a]}return e}}var G=function(t){return"number"==typeof t?0:B.test(t)?B.getAnimatableNone(t):t},H={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(k))?void 0:e.length)||0)+((null==(n=t.match(F))?void 0:n.length)||0)>0},parse:U,createTransformer:W,getAnimatableNone:function(t){var e=U(t);return W(t)(e.map(G))}};t.s(["analyseComplexValue",0,N,"complex",0,H],69577);var K=new Set(["brightness","contrast","saturate","opacity"]);function Y(t){var e=(0,x._)(t.slice(0,-1).split("("),2),n=e[0],i=e[1];if("drop-shadow"===n)return t;var r=(0,x._)(i.match(k)||[],1)[0];if(!r)return t;var a=i.replace(r,""),o=+!!K.has(n);return r!==i&&(o*=100),n+"("+o+a+")"}var z=RegExp("\\b([a-z-]*)\\(.*?\\)","gu"),X=(0,v._)((0,h._)({},H),{getAnimatableNone:function(t){var e=t.match(z);return e?e.map(Y).join(" "):t}}),q=(0,v._)((0,h._)({},f),{transform:Math.round}),Z=(0,v._)((0,h._)({borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E},{rotate:V,rotateX:V,rotateY:V,rotateZ:V,scale:m,scaleX:m,scaleY:m,scaleZ:m,skew:V,skewX:V,skewY:V,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:p,originX:R,originY:R,originZ:E}),{zIndex:q,fillOpacity:p,strokeOpacity:p,numOctaves:q}),$=(0,v._)((0,h._)({},Z),{color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:X,WebkitFilter:X}),J=function(t){return $[t]},Q=function(){return{translate:0,scale:1,origin:0,originPoint:0}},tt=function(){return{min:0,max:0}},te=function(){return{x:tt(),y:tt()}};t.s(["createBox",0,te,"createDelta",0,function(){return{x:Q(),y:Q()}}],30162);var tn=function(t){return!!(t&&t.getVelocity)};t.s(["isMotionValue",0,tn],83411);var ti=t.i(40316),tr=new Set(["width","height","top","left","right","bottom"].concat((0,ti._)(l)));t.s(["positionalKeys",0,tr],64440);var ta=function(t){return function(e){return e.test(t)}},to=[f,E,C,V,_,D,{test:function(t){return"auto"===t},parse:function(t){return t}}],ts=function(t){return to.find(ta(t))},tu=t.i(47167);function tl(t,e){return e?"".concat(t,". For more information and steps for solving, visit https://motion.dev/troubleshooting/").concat(e):t}var tc=function(){},th=function(){};void 0!==tu.default&&(null==(e=tu.default.env)?void 0:e.NODE_ENV)!=="production"&&(tc=function(t,e,n){!t&&"u">typeof console&&console.warn(tl(e,n))},th=function(t,e,n){if(!t)throw Error(tl(e,n))}),t.s(["invariant",0,th,"warning",0,tc],65566);var tv=function(t){return RegExp("^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$","u").test(t)},td=function(t){return function(e){return"string"==typeof e&&e.startsWith(t)}},tf=td("--"),tp=td("var(--"),tm=function(t){return!!tp(t)&&ty.test(t.split("/*")[0].trim())},ty=RegExp("var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$","iu");function tg(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",0,tg,"isCSSVariableName",0,tf,"isCSSVariableToken",0,tm],19928);var tx=RegExp("^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)","u"),tk=function(t){return 180*t/Math.PI},tT=function(t){return tw(tk(Math.atan2(t[1],t[0])))},tS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:function(t){return(Math.abs(t[0])+Math.abs(t[3]))/2},rotate:tT,rotateZ:tT,skewX:function(t){return tk(Math.atan(t[1]))},skewY:function(t){return tk(Math.atan(t[2]))},skew:function(t){return(Math.abs(t[1])+Math.abs(t[2]))/2}},tw=function(t){return(t%=360)<0&&(t+=360),t},tP=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},tb=function(t){return Math.sqrt(t[4]*t[4]+t[5]*t[5])},tM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tP,scaleY:tb,scale:function(t){return(tP(t)+tb(t))/2},rotateX:function(t){return tw(tk(Math.atan2(t[6],t[5])))},rotateY:function(t){return tw(tk(Math.atan2(-t[2],t[0])))},rotateZ:tT,rotate:tT,skewX:function(t){return tk(Math.atan(t[4]))},skewY:function(t){return tk(Math.atan(t[1]))},skew:function(t){return(Math.abs(t[1])+Math.abs(t[4]))/2}};function tA(t){return+!!t.includes("scale")}function tV(t,e){if(!t||"none"===t)return tA(e);var n,i,r=t.match(RegExp("^matrix3d\\(([-\\d.e\\s,]+)\\)$","u"));if(r)n=tM,i=r;else{var a=t.match(RegExp("^matrix\\(([-\\d.e\\s,]+)\\)$","u"));n=tS,i=a}if(!i)return tA(e);var o=n[e],s=i[1].split(",").map(tE);return"function"==typeof o?o(s):s[o]}var tC=function(t,e){var n=getComputedStyle(t).transform;return tV(void 0===n?"none":n,e)};function tE(t){return parseFloat(t.trim())}var tD=function(t){return t===f||t===E},t_=new Set(["x","y","z"]),tR=l.filter(function(t){return!t_.has(t)}),tL={width:function(t,e){var n=t.x,i=e.paddingLeft,r=e.paddingRight;return n.max-n.min-parseFloat(void 0===i?"0":i)-parseFloat(void 0===r?"0":r)},height:function(t,e){var n=t.y,i=e.paddingTop,r=e.paddingBottom;return n.max-n.min-parseFloat(void 0===i?"0":i)-parseFloat(void 0===r?"0":r)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:function(t,e){return tV(e.transform,"x")},y:function(t,e){return tV(e.transform,"y")}};tL.translateX=tL.x,tL.translateY=tL.y;var tB=function(t){return t};t.s(["noop",0,tB],60830);var tF={};t.s(["MotionGlobalConfig",0,tF],46791);var tj=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tI={value:null,addProjectionMetrics:null};function tO(t,e){var n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},a=function(){return n=!0},o=tj.reduce(function(t,n){return t[n]=function(t,e){var n=new Set,i=new Set,r=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},u=0;function l(e){o.has(e)&&(c.schedule(e),t()),u++,e(s)}var c={schedule:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=a&&r?n:i;return e&&o.add(t),s.has(t)||s.add(t),t},cancel:function(t){i.delete(t),o.delete(t)},process:function(t){var o;if(s=t,r){a=!0;return}
1r=!0,n=(o=[i,n])[0],i=o[1],n.forEach(l),e&&tI.value&&tI.value.frameloop[e].push(u),u=0,n.clear(),r=!1,a&&(a=!1,c.process(t))}};return c}(a,e?n:void 0),t},{}),s=o.setup,u=o.read,l=o.resolveKeyframes,c=o.preUpdate,h=o.update,v=o.preRender,d=o.render,f=o.postRender,p=function(){var a=tF.useManualTiming?r.timestamp:performance.now();n=!1,tF.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(a-r.timestamp,40),1)),r.timestamp=a,r.isProcessing=!0,s.process(r),u.process(r),l.process(r),c.process(r),h.process(r),v.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(p))},m=function(){n=!0,i=!0,r.isProcessing||t(p)};return{schedule:tj.reduce(function(t,e){var i=o[e];return t[e]=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||m(),i.schedule(t,e,r)},t},{}),cancel:function(t){for(var e=0;e<tj.length;e++)o[tj[e]].cancel(t)},state:r,steps:o}}t.s(["statsBuffer",0,tI],80248);var tN=tO("u">typeof requestAnimationFrame?requestAnimationFrame:tB,!0),tU=tN.schedule,tW=tN.cancel,tG=tN.state,tH=tN.steps;t.s(["cancelFrame",0,tW,"frame",0,tU,"frameData",0,tG,"frameSteps",0,tH],87022);var tK=new Set,tY=!1,tz=!1,tX=!1;function tq(){if(tz){var t=Array.from(tK).filter(function(t){return t.needsMeasurement}),e=new Set(t.map(function(t){return t.element})),n=new Map;e.forEach(function(t){var e,i=(e=[],tR.forEach(function(n){var i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),e);i.length&&(n.set(t,i),t.render())}),t.forEach(function(t){return t.measureInitialState()}),e.forEach(function(t){t.render();var e=n.get(t);e&&e.forEach(function(e){var n,i=(0,x._)(e,2),r=i[0],a=i[1];null==(n=t.getValue(r))||n.set(a)})}),t.forEach(function(t){return t.measureEndState()}),t.forEach(function(t){void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tz=!1,tY=!1,tK.forEach(function(t){return t.complete(tX)}),tK.clear()}function tZ(){tK.forEach(function(t){t.readKeyframes(),t.needsMeasurement&&(tz=!0)})}var t$=function(){function t(e,n,i,a,o){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,r._)(this,t),this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=(0,ti._)(e),this.onComplete=n,this.name=i,this.motionValue=a,this.element=o,this.isAsync=s}return(0,a._)(t,[{key:"scheduleResolve",value:function(){this.state="scheduled",this.isAsync?(tK.add(this),tY||(tY=!0,tU.read(tZ),tU.resolveKeyframes(tq))):(this.readKeyframes(),this.complete())}},{key:"readKeyframes",value:function(){var t=this.unresolvedKeyframes,e=this.name,n=this.element,i=this.motionValue;if(null===t[0]){var r=null==i?void 0:i.get(),a=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){var o=n.readValue(e,a);null!=o&&(t[0]=o)}void 0===t[0]&&(t[0]=a),i&&void 0===r&&i.set(t[0])}for(var s,u=1;u<t.length;u++)null!=t[u]||(t[u]=t[u-1])}},{key:"setFinalKeyframe",value:function(){}},{key:"measureInitialState",value:function(){}},{key:"renderEndStyles",value:function(){}},{key:"measureEndState",value:function(){}},{key:"complete",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tK.delete(this)}},{key:"cancel",value:function(){"scheduled"===this.state&&(tK.delete(this),this.state="pending")}},{key:"resume",value:function(){"pending"===this.state&&this.scheduleResolve()}}]),t}();t.s(["KeyframeResolver",0,t$,"flushKeyframeResolvers",0,function(){tX=!0,tZ(),tq(),tX=!1}],21012);var tJ=function(t){return RegExp("^0[^.\\s]+$","u").test(t)};function tQ(t,e){var n=J(t);return n!==X&&(n=H),n.getAnimatableNone?n.getAnimatableNone(e):void 0}var t0=new Set(["auto","none","0"]),t1=function(t){function e(t,n,a,o,s){return(0,r._)(this,e),(0,i._)(this,e,[t,n,a,o,s,!0])}return(0,u._)(e,t),(0,a._)(e,[{key:"readKeyframes",value:function(){var t=this.unresolvedKeyframes,n=this.element,i=this.name;if(n&&n.current){s((0,o._)(e.prototype),"readKeyframes",this).call(this);for(var r=0;r<t.length;r++){var a=t[r];if("string"==typeof a&&tm(a=a.trim())){var u=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;th(i<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");var r=(0,x._)(function(t){var e=tx.exec(t);if(!e)return[,];var n=(0,x._)(e,4),i=n[1],r=n[2],a=n[3];return["--".concat(null!=i?i:r),a]}(e),2),a=r[0],o=r[1];if(a){var s=window.getComputedStyle(n).getPropertyValue(a);if(s){var u=s.trim();return tv(u)?parseFloat(u):u}return tm(o)?t(o,n,i+1):o}}(a,n.current);void 0!==u&&(t[r]=u),r===t.length-1&&(this.finalKeyframe=a)}}if(this.resolveNoneKeyframes(),tr.has(i)&&2===t.length){var l=(0,x._)(t,2),c=l[0],h=l[1],v=ts(c),d=ts(h);if(tg(c)!==tg(h)&&tL[i]){this.needsMeasurement=!0;return}if(v!==d)if(tD(v)&&tD(d))for(var f=0;f<t.length;f++){var p=t[f];"string"==typeof p&&(t[f]=parseFloat(p))}else tL[i]&&(this.needsMeasurement=!0)}}}},{key:"resolveNoneKeyframes",value:function(){for(var t,e=this.unresolvedKeyframes,n=this.name,i=[],r=0;r<e.length;r++)(null===e[r]||("number"==typeof(t=e[r])?0===t:null===t||"none"===t||"0"===t||tJ(t)))&&i.push(r);i.length&&function(t,e,n){for(var i=0,r=void 0;i<t.length&&!r;){var a=t[i];"string"==typeof a&&!t0.has(a)&&N(a).values.length&&(r=t[i]),i++}if(r&&n){var o=!0,s=!1,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0)t[l.value]=tQ(n,r)}catch(t){s=!0,u=t}finally{try{o||null==c.return||c.return()}finally{if(s)throw u}}}}(e,i,n)}},{key:"measureInitialState",value:function(){var t=this.element,e=this.unresolvedKeyframes,n=this.name;if(t&&t.current){"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tL[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;var i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}}},{key:"measureEndState",value:function(){var t,e=this.element,n=this.name,i=this.unresolvedKeyframes;if(e&&e.current){var r=e.getValue(n);r&&r.jump(this.measuredOrigin,!1);var a=i.length-1,o=i[a];i[a]=tL[n](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
1h(function(t){var n=(0,x._)(t,2),i=n[0],r=n[1];e.getValue(i).set(r)}),this.resolveNoneKeyframes()}}}]),e}(t$),t2=t.i(33027),t6=t.i(75),t5=t.i(12344);function t3(t,e){-1===t.indexOf(e)&&t.push(e)}function t7(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}t.s(["addUniqueItem",0,t3,"removeItem",0,t7],33887);var t4=function(){function t(){(0,r._)(this,t),this.subscriptions=[]}return(0,a._)(t,[{key:"add",value:function(t){var e=this;return t3(this.subscriptions,t),function(){return t7(e.subscriptions,t)}}},{key:"notify",value:function(t,e,n){var i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(var r=0;r<i;r++){var a=this.subscriptions[r];a&&a(t,e,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),t}();t.s(["SubscriptionManager",0,t4],70596);var t8=tO(queueMicrotask,!1),t9=t8.schedule;function et(){n=void 0}t8.cancel,t.s(["microtask",0,t9],60140);var ee={now:function(){return void 0===n&&ee.set(tG.isProcessing||tF.useManualTiming?tG.timestamp:performance.now()),n},set:function(t){n=t,queueMicrotask(et)}};function en(t,e){return e?1e3/e*t:0}t.s(["time",0,ee],96173),t.s(["velocityPerSecond",0,en],25791);var ei={current:void 0},er=function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r._)(this,t),this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){var e=ee.now();if(n.updatedAt!==e&&n.setPrevFrameValue(),n.prev=n.current,n.setCurrent(t),n.current!==n.prev&&(null==(o=n.events.change)||o.notify(n.current),n.dependents)){var i=!0,r=!1,a=void 0;try{for(var o,s,u=n.dependents[Symbol.iterator]();!(i=(s=u.next()).done);i=!0)s.value.dirty()}catch(t){r=!0,a=t}finally{try{i||null==u.return||u.return()}finally{if(r)throw a}}}},this.hasAnimated=!1,this.setCurrent(e),this.owner=i.owner}return(0,a._)(t,[{key:"setCurrent",value:function(t){this.current=t,this.updatedAt=ee.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}},{key:"setPrevFrameValue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}},{key:"onChange",value:function(t){return this.on("change",t)}},{key:"on",value:function(t,e){var n=this;this.events[t]||(this.events[t]=new t4);var i=this.events[t].add(e);return"change"===t?function(){i(),tU.read(function(){n.events.change.getSize()||n.stop()})}:i}},{key:"clearListeners",value:function(){for(var t in this.events)this.events[t].clear()}},{key:"attach",value:function(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}},{key:"set",value:function(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}},{key:"setWithVelocity",value:function(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}},{key:"jump",value:function(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},{key:"dirty",value:function(){var t;null==(t=this.events.change)||t.notify(this.current)}},{key:"addDependent",value:function(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}},{key:"removeDependent",value:function(t){this.dependents&&this.dependents.delete(t)}},{key:"get",value:function(){return ei.current&&ei.current.push(this),this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){var t=ee.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;var e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return en(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}},{key:"start",value:function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.animation=t(n),e.events.animationStart&&e.events.animationStart.notify()}).then(function(){e.events.animationComplete&&e.events.animationComplete.notify(),e.clearAnimation()})}},{key:"stop",value:function(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.animation}},{key:"clearAnimation",value:function(){delete this.animation}},{key:"destroy",value:function(){var t,e;null==(t=this.dependents)||t.clear(),null==(e=this.events.destroy)||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}]),t}();function ea(t,e){return new er(t,e)}t.s(["collectMotionValues",0,ei,"motionValue",0,ea],86427);var eo=(0,ti._)(to).concat([B,H]),es={current:null},eu={current:!1};t.s(["hasReducedMotionListener",0,eu,"prefersReducedMotion",0,es],71164);var el="u">typeof window;function ec(){if(eu.current=!0,el)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return es.current=t.matches};t.addEventListener("change",e),e()}else es.current=!1}t.s(["initPrefersReducedMotion",0,ec],38544);var eh=new WeakMap;function ev(t){return null!==t&&(void 0===t?"undefined":(0,t6._)(t))==="object"&&"function"==typeof t.start}function ed(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,ev],85983),t.s(["isVariantLabel",0,ed],32525);var ef=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ep=["initial"].concat((0,ti._)(ef));function em(t){return ev(t.animate)||ep.some(function(e){return ed(t[e])})}function ey(t){return!!(em(t)||t.variants)}function eg(t){var e=[{},{}];
1return null==t||t.values.forEach(function(t,n){e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function ex(t,e,n,i){if("function"==typeof e){var r=(0,x._)(eg(i),2),a=r[0],o=r[1];e=e(void 0!==n?n:t.custom,a,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){var s=(0,x._)(eg(i),2),u=s[0],l=s[1];e=e(void 0!==n?n:t.custom,u,l)}return e}t.s(["variantPriorityOrder",0,ef,"variantProps",0,ep],6840),t.s(["isControllingVariants",0,em,"isVariantNode",0,ey],87576),t.s(["resolveVariantFromProps",0,ex],86579);var ek=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eT={},eS=function(){function t(e){var n=this,i=e.parent,a=e.props,o=e.presenceContext,s=e.reducedMotionConfig,u=e.skipAnimations,l=e.blockInitialAnimation,c=e.visualState,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r._)(this,t),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=t$,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.renderScheduledAt=0,this.scheduleRender=function(){var t=ee.now();n.renderScheduledAt<t&&(n.renderScheduledAt=t,tU.render(n.render,!1,!0))};var d=c.latestValues,f=c.renderState;this.latestValues=d,this.baseTarget=(0,h._)({},d),this.initialValues=a.initial?(0,h._)({},d):{},this.renderState=f,this.parent=i,this.props=a,this.presenceContext=o,this.depth=i?i.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=u,this.options=v,this.blockInitialAnimation=!!l,this.isControllingVariants=em(a),this.isVariantNode=ey(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);var p=this.scrapeMotionValuesFromProps(a,{},this),m=(p.willChange,(0,t2._)(p,["willChange"]));for(var y in m){var g=m[y];void 0!==d[y]&&tn(g)&&g.set(d[y])}}return(0,a._)(t,[{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return{}}},{key:"mount",value:function(t){var e,n,i=this;this.current=t,eh.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(function(t,e){return i.bindToMotionValue(e,t)}),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eu.current||ec(),this.shouldReduceMotion=es.current),this.shouldSkipAnimations=null!=(e=this.skipAnimationsConfig)&&e,null==(n=this.parent)||n.addChild(this),this.update(this.props,this.presenceContext)}},{key:"unmount",value:function(){var t;for(var e in this.projection&&this.projection.unmount(),tW(this.notifyUpdate),tW(this.render),this.valueSubscriptions.forEach(function(t){return t()}),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].clear();for(var n in this.features){var i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}},{key:"addChild",value:function(t){this.children.add(t),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}},{key:"removeChild",value:function(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}},{key:"bindToMotionValue",value:function(t,e){var n,i=this;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();var r=c.has(t);r&&this.onBindTransform&&this.onBindTransform();var a=e.on("change",function(e){i.latestValues[t]=e,i.props.onUpdate&&tU.preRender(i.notifyUpdate),r&&i.projection&&(i.projection.isTransformDirty=!0),i.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,function(){a(),n&&n(),e.owner&&e.stop()})}}
1,{key:"sortNodePosition",value:function(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}},{key:"updateFeatures",value:function(){var t="animation";for(t in eT){var e=eT[t];if(e){var n=e.isEnabled,i=e.Feature;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){var r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):te()}},{key:"getStaticValue",value:function(t){return this.latestValues[t]}},{key:"setStaticValue",value:function(t,e){this.latestValues[t]=e}},{key:"update",value:function(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(var n=0;n<ek.length;n++){var i=ek[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);var r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,n){for(var i in e){var r=e[i],a=n[i];if(tn(r))t.addValue(i,r);else if(tn(a))t.addValue(i,ea(r,{owner:t}));else if(a!==r)if(t.hasValue(i)){var o=t.getValue(i);!0===o.liveStyle?o.jump(r):o.hasAnimated||o.set(r)}else{var s=t.getStaticValue(i);t.addValue(i,ea(void 0!==s?s:r,{owner:t}))}}for(var u in n)void 0===e[u]&&t.removeValue(u);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(t){return this.props.variants?this.props.variants[t]:void 0}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}},{key:"addVariantChild",value:function(t){var e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),function(){return e.variantChildren.delete(t)}}},{key:"addValue",value:function(t,e){var n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}},{key:"removeValue",value:function(t){this.values.delete(t);var e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}},{key:"hasValue",value:function(t){return this.values.has(t)}},{key:"getValue",value:function(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];var n=this.values.get(t);return void 0===n&&void 0!==e&&(n=ea(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}},{key:"readValue",value:function(t,e){var n,i,r=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&(tv(r)||tJ(r))?r=parseFloat(r):(n=r,!eo.find(ta(n))&&H.test(e)&&(r=tQ(t,e))),this.setBaseTarget(t,tn(r)?r.get():r)),tn(r)?r.get():r}},{key:"setBaseTarget",value:function(t,e){this.baseTarget[t]=e}},{key:"getBaseTarget",value:function(t){var e=this.props.initial;if("string"==typeof e||(void 0===e?"undefined":(0,t6._)(e))==="object"){var n,i,r=ex(this.props,e,null==(i=this.presenceContext)?void 0:i.custom);r&&(n=r[t])}if(e&&void 0!==n)return n;var a=this.getBaseTargetFromProps(this.props,t);return void 0===a||tn(a)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:a}},{key:"on",value:function(t,e){return this.events[t]||(this.events[t]=new t4),this.events[t].add(e)}},{key:"notify",value:function(t){for(var e,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];this.events[t]&&(e=this.events[t]).notify.apply(e,(0,ti._)(i))}},{key:"scheduleRenderMicrotask",value:function(){t9.render(this.render)}}]),t}();t.s(["VisualElement",0,eS,"getFeatureDefinitions",0,function(){return eT},"setFeatureDefinitions",0,function(t){eT=t}],17218);var ew=function(t){function e(){var t;return(0,r._)(this,e),t=(0,i._)(this,e,arguments),t.KeyframeResolver=t
11,t}return(0,u._)(e,t),(0,a._)(e,[{key:"sortInstanceNodePosition",value:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1}},{key:"getBaseTargetFromProps",value:function(t,e){var n=t.style;return n?n[e]:void 0}},{key:"removeValueFromRenderState",value:function(t,e){var n=e.vars,i=e.style;delete n[t],delete i[t]}},{key:"handleChildMotionValue",value:function(){var t=this;this.childSubscription&&(this.childSubscription(),delete this.childSubscription);var e=this.props.children;tn(e)&&(this.childSubscription=e.on("change",function(e){t.current&&(t.current.textContent="".concat(e))}))}}]),e}(eS);function eP(t){return t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})}t.s(["camelToDash",0,eP],93787);var eb=function(t,e){return e&&"number"==typeof t?e.transform(t):t},eM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eA=l.length;function eV(t,e,n){var i=t.style,r=t.vars,a=t.transformOrigin,o=!1,s=!1;for(var u in e){var h=e[u];if(c.has(u)){o=!0;continue}if(tf(u)){r[u]=h;continue}var v=eb(h,Z[u]);u.startsWith("origin")?(s=!0,a[u]=v):i[u]=v}if(!e.transform&&(o||n?i.transform=function(t,e,n){for(var i="",r=!0,a=0;a<eA;a++){var o=l[a],s=t[o];if(void 0!==s){var u=!0;if("number"==typeof s)u=s===+!!o.startsWith("scale");else{var c=parseFloat(s);u=o.startsWith("scale")?1===c:0===c}if(!u||n){var h=eb(s,Z[o]);if(!u){r=!1;var v=eM[o]||o;i+="".concat(v,"(").concat(h,") ")}n&&(e[o]=h)}}}return i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),s){var d=a.originX,f=a.originY,p=a.originZ;i.transformOrigin="".concat(void 0===d?"50%":d," ").concat(void 0===f?"50%":f," ").concat(void 0===p?0:p)}}t.s(["buildHTMLStyles",0,eV],44947);var eC={offset:"stroke-dashoffset",array:"stroke-dasharray"},eE={offset:"strokeDashoffset",array:"strokeDasharray"},eD=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function e_(t,e,n,i,r){var a=(0,t5._)([e,n,i,r]),o=a[0],s=a.slice(1),u=o.attrX,l=o.attrY,c=o.attrScale,h=o.pathLength,v=o.pathSpacing,d=o.pathOffset,f=(0,t2._)(o,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]),p=(0,t5._)(s),m=p[0],y=p.slice(1),g=(0,t5._)(y),k=g[0],T=g.slice(1),S=(0,x._)(T,1)[0];if(eV(t,f,k),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};var w=t.attrs,P=t.style;w.transform&&(P.transform=w.transform,delete w.transform),(P.transform||w.transformOrigin)&&(P.transformOrigin=null!=(V=w.transformOrigin)?V:"50% 50%",delete w.transformOrigin),P.transform&&(P.transformBox=null!=(C=null==S?void 0:S.transformBox)?C:"fill-box",delete w.transformBox);var b=!0,M=!1,A=void 0;try{for(var V,C,E,D=eD[Symbol.iterator]();!(b=(E=D.next()).done);b=!0){var _=E.value;void 0!==w[_]&&(P[_]=w[_],delete w[_])}}catch(t){M=!0,A=t}finally{try{b||null==D.return||D.return()}finally{if(M)throw A}}void 0!==u&&(w.x=u),void 0!==l&&(w.y=l),void 0!==c&&(w.scale=c),void 0!==h&&function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;var a=r?eC:eE;t[a.offset]="".concat(-i),t[a.array]="".concat(e," ").concat(n)}(w,h,void 0===v?1:v,void 0===d?0:d,!1)}t.s(["buildSVGAttrs",0,e_],81261);var eR=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"]),eL=function(t){return"string"==typeof t&&"svg"===t.toLowerCase()};function eB(t,e,n,i){var r,a=e.style,o=e.vars,s=t.style;for(r in a)s[r]=a[r];for(r in null==i||i.applyProjectionStyles(s,n),o)s.setProperty(r,o[r])}function eF(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["isSVGTag",0,eL],99951);var ej={correct:function(t,e){if(!e.target)return t;if("string"==typeof t)if(!E.test(t))return t;else t=parseFloat(t);var n=eF(t,e.target.x),i=eF(t,e.target.y);return"".concat(n,"% ").concat(i,"%")}},eI=function(t,e,n){return t+(e-t)*n};t.s(["mixNumber",0,eI],706);var eO={borderRadius:(0,v._)((0,h._)({},ej),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ej,borderTopRightRadius:ej,borderBottomLeftRadius:ej,borderBottomRightRadius:ej,boxSh
1adow:{correct:function(t,e){var n=e.treeScale,i=e.projectionDelta,r=H.parse(t);if(r.length>5)return t;var a=H.createTransformer(t),o=+("number"!=typeof r[0]),s=i.x.scale*n.x,u=i.y.scale*n.y;r[0+o]/=s,r[1+o]/=u;var l=eI(s,u,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),a(r)}}};function eN(t,e){var n=e.layout,i=e.layoutId;return c.has(t)||t.startsWith("origin")||(n||void 0!==i)&&(!!eO[t]||"opacity"===t)}function eU(t,e,n){var i,r=t.style,a=null==e?void 0:e.style,o={};if(!r)return o;for(var s in r)(tn(r[s])||a&&tn(a[s])||eN(s,t)||(null==n||null==(i=n.getValue(s))?void 0:i.liveStyle)!==void 0)&&(o[s]=r[s]);return o}function eW(t,e,n){var i=eU(t,e,n);for(var r in t)(tn(t[r])||tn(e[r]))&&(i[-1!==l.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}t.s(["scaleCorrectors",0,eO],24463),t.s(["isForcedMotionValue",0,eN],30789),t.s(["scrapeMotionValuesFromProps",0,eU],84049),t.s(["scrapeMotionValuesFromProps",0,eW],67926);var eG=function(t){function e(){var t;return(0,r._)(this,e),t=(0,i._)(this,e,arguments),t.type="svg",t.isSVGTag=!1,t.measureInstanceViewportBox=te,t}return(0,u._)(e,t),(0,a._)(e,[{key:"getBaseTargetFromProps",value:function(t,e){return t[e]}},{key:"readValueFromInstance",value:function(t,e){if(c.has(e)){var n=J(e);return n&&n.default||0}return e=eR.has(e)?e:eP(e),t.getAttribute(e)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return eW(t,e,n)}}
1,{key:"build",value:function(t,e,n){e_(t,e,this.isSVGTag,n.transformTemplate,n.style)}},{key:"renderInstance",value:function(t,e,n,i){for(var r in eB(t,e,void 0,i),e.attrs)t.setAttribute(eR.has(r)?r:eP(r),e.attrs[r])}},{key:"mount",value:function(t){this.isSVGTag=eL(t.tagName),s((0,o._)(e.prototype),"mount",this).call(this,t)}}]),e}(ew);function eH(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function eK(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function eY(t){return void 0===t||1===t}function ez(t){var e=t.scale,n=t.scaleX,i=t.scaleY;return!eY(e)||!eY(n)||!eY(i)}function eX(t){return ez(t)||eq(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eq(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function eZ(t,e,n){return n+e*(t-n)}function e$(t,e,n,i,r){return void 0!==r&&(t=eZ(t,r,i)),eZ(t,n,i)+e}function eJ(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;t.min=e$(t.min,e,n,i,r),t.max=e$(t.max,e,n,i,r)}function eQ(t,e){var n=e.x,i=e.y;eJ(t.x,n.translate,n.scale,n.originPoint),eJ(t.y,i.translate,i.scale,i.originPoint)}function e0(t,e){t.min=t.min+e,t.max=t.max+e}function e1(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,a=eI(t.min,t.max,r);eJ(t,e,n,a,i)}function e2(t,e){e1(t.x,e.x,e.scaleX,e.scale,e.originX),e1(t.y,e.y,e.scaleY,e.scale,e.originY)}function e6(t,e){return eH(eK(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,eH,"convertBoxToBoundingBox",0,function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}},"transformBoxPoints",0,eK],27677),t.s(["has2DTranslate",0,eq,"hasScale",0,ez,"hasTransform",0,eX],77777),t.s(["applyBoxDelta",0,eQ,"applyTreeDeltas",0,function(t,e,n){var i,r,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.length;if(o){e.x=e.y=1;for(var s=0;s<o;s++){r=(i=n[s]).projectionDelta;var u=i.options.visualElement;(!u||!u.props.style||"contents"!==u.props.style.display)&&(a&&i.options.layoutScroll&&i.scroll&&i!==i.root&&e2(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,eQ(t,r)),a&&eX(i.latestValues)&&e2(t,i.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,eZ,"transformBox",0,e2,"translateAxis",0,e0],35636),t.s(["measurePageBox",0,function(t,e,n){var i=e6(t,n),r=e.scroll;return r&&(e0(i.x,r.offset.x),e0(i.y,r.offset.y)),i},"measureViewportBox",0,e6],53689);var e5=function(t){function e(){var t;return(0,r._)(this,e),t=(0,i._)(this,e,arguments),t.type="html",t.renderInstance=eB,t}return(0,u._)(e,t),(0,a._)(e,[{key:"readValueFromInstance",value:function(t,e){if(c.has(e)){var n;return(null==(n=this.projection)?void 0:n.isProjecting)?tA(e):tC(t,e)}var i=window.getComputedStyle(t),r=(tf(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}},{key:"measureInstanceViewportBox",value:function(t,e){return e6(t,e.transformPagePoint)}},{key:"build",value:function(t,e,n){eV(t,e,n.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return eU(t,e,n)}}]),e}(ew),e3=t.i(71645),e7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e4(t){if("string"!=typeof t||t.includes("-"));else if(e7.indexOf(t)>-1||RegExp("[A-Z]","u").test(t))return!0;return!1}t.s(["isSVGComponent",0,e4],44966),t.s(["createDomVisualElement",0,function(t,e){var n;return(null!=(n=e.isSVG)?n:e4(t))?new eG(e):new e5(e,{allowProjection:t!==e3.Fragment})}],54505)},11805,1664,t=>{"use strict";var e=t.i(30665),n=t.i(33027),i=t.i(33871),r=t.i(87576),a=t.i(85983),o=t.i(86579),s=t.i(71645),u=t.i(88291),l=t.i(21476),c=t.i(47414),h=function(t){return function(e,h){var v=(0,s.useContext)(u.MotionContext),d=(0,s.useContext)(l.PresenceContext),f=function(){var s,u;return s=t.scrapeMotionValuesFromProps,u=t.createRenderState,{latestValues:function(t,e,s,u){var l={},c=u(t,{});for(var h in c)l[h]=(0,i.resolveMotionValue)(c[h]);
1var v=t.initial,d=t.animate,f=(0,r.isControllingVariants)(t),p=(0,r.isVariantNode)(t);e&&p&&!f&&!1!==t.inherit&&(void 0===v&&(v=e.initial),void 0===d&&(d=e.animate));var m=!!s&&!1===s.initial,y=(m=m||!1===v)?d:v;if(y&&"boolean"!=typeof y&&!(0,a.isAnimationControls)(y))for(var g=Array.isArray(y)?y:[y],x=0;x<g.length;x++){var k=(0,o.resolveVariantFromProps)(t,g[x]);if(k){var T=k.transitionEnd,S=(k.transition,(0,n._)(k,["transitionEnd","transition"]));for(var w in S){var P=S[w];if(Array.isArray(P)){var b=m?P.length-1:0;P=P[b]}null!==P&&(l[w]=P)}for(var M in T)l[M]=T[M]}}return l}(e,v,d,s),renderState:u()}};return h?f():(0,c.useConstant)(f)}},v=t.i(86549),d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:v.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],11805);var f=t.i(67926),f=f,p=t.i(11587),m=h({scrapeMotionValuesFromProps:f.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",0,m],1664)},92936,t=>{"use strict";var e="u">typeof window;t.s(["isBrowser",0,e])},47414,t=>{"use strict";var e=t.i(71645);t.s(["useConstant",0,function(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}])},74008,t=>{"use strict";var e=t.i(71645),n=t.i(92936).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,n])},72846,t=>{"use strict";var e=t.i(42824);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t}])}
1,42824,t=>{"use strict";var e=t.i(75);t.s(["isObject",0,function(t){return(void 0===t?"undefined":(0,e._)(t))==="object"&&null!==t}])}]);
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.