1"use strict";(self.webpackChunkknowledge_base_saas=self.webpackChunkknowledge_base_saas||[]).push([[5607],{19927(t,e,n){n.d(e,{s:()=>c});var i=n(34930),o=n(40293),s=n(24142),r=n(97225),a=n(31868);function l(t,e){[...e].reverse().forEach(n=>{const i=t.getVariant(n);i&&(0,s.U)(t,i),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function u(){let t=!1;const e=new Set,n={subscribe:t=>(e.add(t),()=>{e.delete(t)}),start(n,i){(0,a.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const o=[];return e.forEach(t=>{o.push((0,r._)(t,n,{transitionOverride:i}))}),Promise.all(o)},set:n=>((0,a.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{!function(t,e){Array.isArray(e)?l(t,e):"string"===typeof e?l(t,[e]):(0,s.U)(t,e)}(t,n)})),stop(){e.forEach(t=>{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount:()=>(t=!0,()=>{t=!1,n.stop()})};return n}const c=function(){const t=(0,i.M)(u);return(0,o.E)(t.mount,[]),t}},28917(t,e,n){n.d(e,{xQ:()=>s});var i=n(65043),o=n(9674);function s(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=(0,i.useContext)(o.t);if(null===e)return[!0,null];const n=e.isPresent,s=e.onExitComplete,r=e.register,a=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return r(a)},[t]);const l=(0,i.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!n&&s?[!1,l]:[!0]}},2190(t,e,n){n.d(e,{L:()=>i});const i=(0,n(65043).createContext)({})},91051(t,e,n){n.d(e,{Q:()=>i});const i=(0,n(65043).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},9674(t,e,n){n.d(e,{t:()=>i});const i=(0,n(65043).createContext)(null)},70601(t,e,n){n.d(e,{P:()=>_o});var i=n(8689),o=n(89379),s=n(76087),r=n(5544),a=n(72326),l=n(88085);const u=new Set(["brightness","contrast","saturate","opacity"]);function c(t){const e=t.slice(0,-1).split("("),n=(0,r.A)(e,2),i=n[0],o=n[1];if("drop-shadow"===i)return t;const s=o.match(l.S)||[],a=(0,r.A)(s,1)[0];if(!a)return t;const c=o.replace(a,"");let h=u.has(i)?1:0;return a!==o&&(h*=100),i+"("+h+c+")"}const h=/\b([\x2Da-z]*)\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\)/g,d=(0,o.A)((0,o.A)({},a.f),{},{getAnimatableNone:t=>{const e=t.match(h);return e?e.map(c).join(" "):t}}),p=(0,o.A)((0,o.A)({},a.f),{},{getAnimatableNone:t=>{const e=a.f.parse(t);return a.f.createTransformer(t)(e.map(t=>"number"===typeof t?0:"object"===typeof t?(0,o.A)((0,o.A)({},t),{},{alpha:1}):t))}});var m=n(20708);const v=(0,o.A)((0,o.A)({},m.ai),{},{transform:Math.round});var f=n(87449);const g={rotate:f.uj,pathRotation:f.uj,rotateX:f.uj,rotateY:f.uj,rotateZ:f.uj,scale:m.hs,scaleX:m.hs,scaleY:m.hs,scaleZ:m.hs,skew:f.uj,skewX:f.uj,skewY:f.uj,distance:f.px,translateX:f.px,translateY:f.px,translateZ:f.px,x:f.px,y:f.px,z:f.px,perspective:f.px,transformPerspective:f.px,opacity:m.X4,originX:f.gQ,originY:f.gQ,originZ:f.px},y=(0,o.A)((0,o.A)({borderWidth:f.px,borderTopWidth:f.px,borderRightWidth:f.px,borderBottomWidth:f.px,borderLeftWidth:f.px,borderRadius:f.px,borderTopLeftRadius:f.px,borderTopRightRadius:f.px,borderBottomRightRadius:f.px,borderBottomLeftRadius:f.px,width:f.px,maxWidth:f.px,height:f.px,maxHeight:f.px,top:f.px,right:f.px,bottom:f.px,left:f.px,inset:f.px,insetBlock:f.px,insetBlockStart:f.px,insetBlockEnd:f.px,insetInline:f.px,insetInlineStart:f.px,insetInlineEnd:f.px,padding:f.px,paddingTop:f.px,paddingRight:f.px,paddingBottom:f.px,paddingLeft:f.px,paddingBlock:f.px,paddingBlockStart:f.px,paddingBlockEnd:f.px,paddingInline:f.px,paddingInlineStart:f.px,paddingInlineEnd:f.px,margin:f.px,marginTop:f.px,marginRight:f.px,marginBottom:f.px,marginLeft:f.px,marginBlock:f.px,marginBlockStart:f.px,marginBlockEnd:f.px,marginInline:f.px,marginInlineStart:f.px,marginInlineEnd:f.px,fontSize:f.px,backgroundPositionX:f.px,backgroundPositionY:f.px},g),{},{zIndex:v,fillOpacity:m.X4,strokeOpacity:m.X4,numOctaves:v}),x=(0,o.A)((0,o.A)({},y),{},{color:s.y,backgroundColor:s.y,outlineColor:s.y,fill:s.y,stroke:s.y,borderColor:s.y,borderTopColor:s.y,borderRightColor:s.y,borderBottomColor:s.y,borderLeftColor:s.y,filter:d,WebkitFilter:d,mask:p,WebkitMask:p}),A=t=>x[t],T=()=>({x:{min:0,max:0},y:{min:0,max:0}});var E=n(73964),w=n(70462);const P=t=>e=>e.test(t),S=[m.ai,f.px,f.KN,f.uj,f.vw,f.vh,{test:t=>"auto"===t,parse:t=>t}],F=t=>S.find(P(t));var b=n(31868);const C=t=>/^-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)$/.test(t);var D=n(32001);const V=/^var\(--(?:([\x2D0-9A-Z_a-z]+)|([\x2D0-9A-Z_a-z]+), ?([ #%\(\),-\.0-9A-Za-z]+))\)/;function M(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,b.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");const i=function(t){const e=V.exec(t);if(!e)return[,];const n=(0,r.A)(e,4),i=n[1],o=n[2],s=n[3];return["--".concat(null!==i&&void 0!==i?i:o),s]}(t),o=(0,r.A)(i,2),s=o[0],a=o[1];if(!s)return;const l=window.getComputedStyle(e).getPropertyValue(s);if(l){const t=l.trim();return C(t)?parseFloat(t):t}return(0,D.pG)(a)?M(a,e,n+1):a}var k=n(95583);const R=t=>/^0(?:[\0-\x08\x0E-\x1F!-\x2D\/-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2F
1FF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/.test(t);function L(t){return"number"===typeof t?0===t:null===t||("none"===t||"0"===t||R(t))}const B=new Set([d,p]);function j(t,e){let n=A(t);return B.has(n)||(n=a.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const I=new Set(["auto","none","0"]);var O=n(20935);class _ extends k.h{constructor(t,e,n,i,o){super(t,e,n,i,o,!0)}readKeyframes(){const t=this.unresolvedKeyframes,e=this.element,n=this.name;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let n=t[r];if("string"===typeof n&&(n=n.trim(),(0,D.pG)(n))){const i=M(n,e.current);void 0!==i&&(t[r]=i),r===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!w.$.has(n)||2!==t.length)return;const i=(0,r.A)(t,2),o=i[0],s=i[1],a=F(o),l=F(s);if((0,D.rm)(o)!==(0,D.rm)(s)&&O.Hr[n])this.needsMeasurement=!0;else if(a!==l)if((0,O.E4)(a)&&(0,O.E4)(l))for(let r=0;r<t.length;r++){const e=t[r];"string"===typeof e&&(t[r]=parseFloat(e))}else O.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const t=this.unresolvedKeyframes,e=this.name,n=[];for(let i=0;i<t.length;i++)(null===t[i]||L(t[i]))&&n.push(i);n.length&&function(t,e,n){let i,o=0;for(;o<t.length&&!i;){const e=t[o];"string"===typeof e&&!I.has(e)&&(0,a.V)(e).values.length&&(i=t[o]),o++}if(i&&n)for(const s of e)t[s]=j(n,i)}(t,n,e)}measureInitialState(){const t=this.element,e=this.unresolvedKeyframes,n=this.name;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=O.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const e=this.element,n=this.name,i=this.unresolvedKeyframes;if(!e||!e.current)return;const o=e.getValue(n);o&&o.jump(this.measuredOrigin,!1);const s=i.length-1,a=i[s];i[s]=O.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),null!==(t=this.removedTransforms)&&void 0!==t&&t.length&&this.removedTransforms.forEac
1h(t=>{let n=(0,r.A)(t,2),i=n[0],o=n[1];e.getValue(i).set(o)}),this.resolveNoneKeyframes()}}var U=n(53986),W=n(13084),G=n(96317),N=n(22828),X=n(44297);const K=(0,n(11422).I)(queueMicrotask,!1),q=K.schedule;K.cancel;var z=n(27178),H=n(7189);const Y=[...S,s.y,a.f],Q=new WeakMap;function Z(t){return null!==t&&"object"===typeof t&&"function"===typeof t.start}function $(t){return"string"===typeof t||Array.isArray(t)}const J=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tt=["initial",...J];function et(t){return Z(t.animate)||tt.some(e=>$(t[e]))}function nt(t){return Boolean(et(t)||t.variants)}var it=n(45398),ot=n(8281),st=n(26437),rt=n(98412);const at=["willChange"],lt=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ut={};function ct(t){ut=t}class ht{scrapeMotionValuesFromProps(t,e,n){return{}}constructor(t){let e=t.parent,n=t.props,i=t.presenceContext,s=t.reducedMotionConfig,r=t.skipAnimations,a=t.blockInitialAnimation,l=t.visualState,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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=k.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=z.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,rt.Gt.render(this.render,!1,!0))};const c=l.latestValues,h=l.renderState;this.latestValues=c,this.baseTarget=(0,o.A)({},c),this.initialValues=n.initial?(0,o.A)({},c):{},this.renderState=h,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=r,this.options=u,this.blockInitialAnimation=Boolean(a),this.isControllingVariants=et(n),this.isVariantNode=nt(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const d=this.scrapeMotionValuesFromProps(n,{},this),p=(d.willChange,(0,U.A)(d,at));for(const o in p){const t=p[o];void 0!==c[o]&&(0,E.S)(t)&&t.set(c[o])}}mount(t){var e,n;if(this.hasBeenMounted)for(const o in this.initialValues){var i;null===(i=this.values.get(o))||void 0===i||i.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o]}this.current=t,Q.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(st.r.current||(0,it.Uu)(),this.shouldReduceMotion=st.O.current),this.shouldSkipAnimations=null!==(e=this.skipAnimationsConfig)&&void 0!==e&&e,null===(n=this.parent)||void 0===n||n.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),(0,rt.WG)(this.notifyUpdate),(0,rt.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null===(t=this.parent)||void 0===t||t.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(t){var e;this.children.add(t),null!==(e=this.enteringChildren)&&void 0!==e||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&X.M.has(t)&&this.current instanceof HTMLElement){const n=e.accelerate,i=n.factory,o=n.keyframes,s=n.times,r=n.ease,a=n.duration,l=new N.m({element:this.current,name:t,keyframes:o,times:s,ease:r,duration:(0,W.f)(a)}),u=i(l);return void this.valueSubscriptions.set(t,()=>{u(),l.cancel()})}const n=i.f.has(t);n&&this.onBindTransform&&this.onBindTransform();const o=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&rt.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;"undefined"!==typeof window&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{o(),s&&s()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ut){const e=ut[t];if(!e)continue;const n=e.isEnabled,i=e.Feature;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<lt.length;n++){const e=lt[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const o=e[i],s=n[i];if((0,E.S)(o))t.addValue(i,o);else if((0,E.S)(s))t.addValue(i,(0,H.OQ)(o,{owner:t}));else if(s!==o)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(o):e.hasAnimated||e.set(o)}else{const e=t.getStaticValue(i);t.addValue(i,(0,H.OQ)(void 0!==e?e:o,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const 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())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,H.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var o;return void 0!==i&&null!==i&&("string"===typeof i&&(C(i)||R(i))?i=parseFloat(i):(o=i,!Y.find(P(o))&&a.f.test(e)&&(i=j(t,e))),this.setBaseTarget(t,(0,E.S)(i)?i.get():i)),(0,E.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const e=this.props.initial;let n;if("string"===typeof e||"object"===typeof e){var i;const o=(0,ot.a)(this.props,e,null===(i=this.presenceContext)||void 0===i?void 0:i.custom);o&&(n=o[t])}if(e&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,E.S)(o)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new G.v),this.events[t].add(e)}notify(t){if(this.events[t]){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.events[t].notify(...n)}}scheduleRenderMicrotask(){q.render(this.render)}}class dt extends ht{constructor(){super(...arguments),this.KeyframeResolver=_}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,e){let n=e.vars,i=e.style;delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const t=this.props.children;(0,E.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}}var pt=n(96914);const mt=(t,e)=>e&&"number"===typeof t?e.transform(t):t,vt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ft=i.U.length;function gt(t,e,n){const o=t.style,s=t.vars,r=t.transformOrigin;let a=!1,l=!1;for(const u in e){const t=e[u];if(i.f.has(u))a=!0;else if((0,D.j4)(u))s[u]=t;else{const e=mt(t,y[u]);u.startsWith("origin")?(l=!0,r[u]=e):o[u]=e}}if(e.transform||(a||n?o.transform=function(t,e,n){let o="",s=!0;for(let a=0;a<ft;a++){const r=i.U[a],l=t[r];if(void 0===l)continue;let u=!0;
1if("number"===typeof l)u=l===(r.startsWith("scale")?1:0);else{const t=parseFloat(l);u=r.startsWith("scale")?1===t:0===t}if(!u||n){const t=mt(l,y[r]);u||(s=!1,o+="".concat(vt[r]||r,"(").concat(t,") ")),n&&(e[r]=t)}}const r=t.pathRotation;return r&&(s=!1,o+="rotate(".concat(mt(r,y.pathRotation),") ")),o=o.trim(),n?o=n(e,s?"":o):s&&(o="none"),o}(e,t.transform,n):o.transform&&(o.transform="none")),l){const t=r.originX,e=void 0===t?"50%":t,n=r.originY,i=void 0===n?"50%":n,s=r.originZ,a=void 0===s?0:s;o.transformOrigin="".concat(e," ").concat(i," ").concat(a)}}const yt={offset:"stroke-dashoffset",array:"stroke-dasharray"},xt={offset:"strokeDashoffset",array:"strokeDasharray"};const At=["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"],Tt=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Et(t,e,n,i,o){let s=e.attrX,r=e.attrY,a=e.attrScale,l=e.pathLength,u=e.pathSpacing,c=void 0===u?1:u,h=e.pathOffset,d=void 0===h?0:h;if(gt(t,(0,U.A)(e,At),i),n)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const p=t.attrs,m=t.style;var v,f;(p.transform&&(m.transform=p.transform,delete p.transform),m.transform||p.transformOrigin)&&(m.transformOrigin=null!==(v=p.transformOrigin)&&void 0!==v?v:"50% 50%",delete p.transformOrigin);m.transform&&(m.transformBox=null!==(f=null===o||void 0===o?void 0:o.transformBox)&&void 0!==f?f:"fill-box",delete p.transformBox);for(const g of Tt)void 0!==p[g]&&(m[g]=p[g],delete p[g]);void 0!==s&&(p.x=s),void 0!==r&&(p.y=r),void 0!==a&&(p.scale=a),void 0!==l&&function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const s=o?yt:xt;t[s.offset]="".concat(-i),t[s.array]="".concat(e," ").concat(n)}(p,l,c,d,!1)}const wt=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"]),Pt=t=>"string"===typeof t&&"svg"===t.toLowerCase();function St(t,e,n,i){let o=e.style,s=e.vars;const r=t.style;let a;for(a in o)r[a]=o[a];for(a in null===i||void 0===i||i.applyProjectionStyles(r,n),s)r.setProperty(a,s[a])}function Ft(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const bt={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!f.px.test(t))return t;t=parseFloat(t)}const n=Ft(t,e.target.x),i=Ft(t,e.target.y);return"".concat(n,"% ").concat(i,"%")}};var Ct=n(71853);const Dt={correct:(t,e)=>{let n=e.treeScale,i=e.projectionDelta;const o=t,s=a.f.parse(t);if(s.length>5)return o;const r=a.f.createTransformer(t),l="number"!==typeof s[0]?1:0,u=i.x.scale*n.x,c=i.y.scale*n.y;s[0+l]/=u,s[1+l]/=c;const h=(0,Ct.k)(u,c,.5);return"number"===typeof s[2+l]&&(s[2+l]/=h),"number"===typeof s[3+l]&&(s[3+l]/=h),r(s)}};const Vt={borderRadius:(0,o.A)((0,o.A)({},bt),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:bt,borderTopRightRadius:bt,borderBottomLeftRadius:bt,borderBottomRightRadius:bt,boxShadow:Dt};function Mt(t,e){let n=e.layout,o=e.layoutId;return i.f.has(t)||t.startsWith("origin")||(n||void 0!==o)&&(!!Vt[t]||"opacity"===t)}function kt(t,e,n){const i=t.style,o=null===e||void 0===e?void 0:e.style,s={};if(!i)return s;for(const a in i){var r;((0,E.S)(i[a])||o&&(0,E.S)(o[a])||Mt(a,t)||void 0!==(null===n||void 0===n||null===(r=n.getValue(a))||void 0===r?void 0:r.liveStyle))&&(s[a]=i[a])}return s}function Rt(t,e,n){const o=kt(t,e,n);for(const s in t)if((0,E.S)(t[s])||(0,E.S)(e[s])){o[-1!==i.U.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]}return o}class Lt extends dt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=T}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(i.f.has(e)){const t=A(e);return t&&t.default||0}return e=wt.has(e)?e:(0,pt.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Rt(t,e,n)}
1build(t,e,n){Et(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){St(t,e,void 0,i);for(const o in e.attrs)t.setAttribute(wt.has(o)?o:(0,pt.I)(o),e.attrs[o])}(t,e,0,i)}mount(t){this.isSVGTag=Pt(t.tagName),super.mount(t)}}var Bt=n(42667);function jt(t){let e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function It(t){return void 0===t||1===t}function Ot(t){let e=t.scale,n=t.scaleX,i=t.scaleY;return!It(e)||!It(n)||!It(i)}function _t(t){return Ot(t)||Ut(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ut(t){return Wt(t.x)||Wt(t.y)}function Wt(t){return t&&"0%"!==t}function Gt(t,e,n){return n+e*(t-n)}function Nt(t,e,n,i,o){return void 0!==o&&(t=Gt(t,o,i)),Gt(t,n,i)+e}function Xt(t){let 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,o=arguments.length>4?arguments[4]:void 0;t.min=Nt(t.min,e,n,i,o),t.max=Nt(t.max,e,n,i,o)}function Kt(t,e){let n=e.x,i=e.y;Xt(t.x,n.translate,n.scale,n.originPoint),Xt(t.y,i.translate,i.scale,i.originPoint)}const qt=.999999999999,zt=1.0000000000001;function Ht(t,e){t.min+=e,t.max+=e}function Yt(t,e,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;Xt(t,e,n,(0,Ct.k)(t.min,t.max,o),i)}function Qt(t,e){return"string"===typeof t?parseFloat(t)/100*(e.max-e.min):t}function Zt(t,e,n){const i=null!==n&&void 0!==n?n:t;Yt(t.x,Qt(e.x,i.x),e.scaleX,e.scale,e.originX),Yt(t.y,Qt(e.y,i.y),e.scaleY,e.scale,e.originY)}function $t(t,e){return jt(function(t,e){if(!e)return t;const 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}}(t.getBoundingClientRect(),e))}class Jt extends dt{constructor(){super(...arguments),this.type="html",this.renderInstance=St}readValueFromInstance(t,e){var n,o;if(i.f.has(e))return null!==(n=this.projection)&&void 0!==n&&n.isProjecting?(0,Bt.zs)(e):(0,Bt.Ib)(t,e);{const n=(o=t,window.getComputedStyle(o)),i=((0,D.j4)(e)?n.getPropertyValue(e):n[e])||0;return"string"===typeof i?i.trim():i}}measureInstanceViewportBox(t,e){return $t(t,e.transformPagePoint)}build(t,e,n){gt(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return kt(t,e,n)}}var te=n(65043);const ee=["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 ne(t){return"string"===typeof t&&!t.includes("-")&&!!(ee.indexOf(t)>-1||/[A-Z]/.test(t))}const ie=(t,e)=>{var n;return(null!==(n=e.isSVG)&&void 0!==n?n:ne(t))?new Lt(e):new Jt(e,{allowProjection:t!==te.Fragment})};var oe=n(70579),se=n(2190);const re=(0,te.createContext)({strict:!1});var ae=n(91051);const le=(0,te.createContext)({});function ue(t){const e=function(t,e){if(et(t)){const e=t.initial,n=t.animate;return{initial:!1===e||$(e)?e:void 0,animate:$(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,te.useContext)(le)),n=e.initial,i=e.animate;return(0,te.useMemo)(()=>({initial:n,animate:i}),[ce(n),ce(i)])}function ce(t){return Array.isArray(t)?t.join(" "):t}const he=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function de(t,e,n){for(const i in e)(0,E.S)(e[i])||Mt(i,n)||(t[i]=e[i])}function pe(t,e){const n={};return de(n,t.style||{},t),Object.assign(n,function(t,e){let n=t.transformTemplate;return(0,te.useMemo)(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return gt(t,e,n),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}function me(t,e){const n={},i=pe(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const ve=()=>(0,o.A)((0,o.A)({},{style:{},transform:{},transformOrigin:{},vars:{}}),{},{attrs:{}});function fe(t,e,n,i){const s=(0,te.useMemo)(()=>{const n=ve();return Et(n,e,Pt(i),t.transformTemplate,t.style),(0,o.A)((0,o.A)({},n.attrs),{},{style:(0,o.A)({},n.style)})},[e]);if(t.style){const e={};de(e,t.style,t),s.style=(0,o.A)((0,o.A)({},e),s.style)}return s}const ge=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","propagate","ignoreStrict","viewport"]);function ye(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ge.has(t)}let xe=t=>!ye(t);try{"function"===typeof(Ae=require("@emotion/is-prop-valid").default)&&(xe=t=>t.startsWith("on")?!ye(t):Ae(t))}catch(Uo){}var Ae;function Te(t,e,n,i,s){let r=i.latestValues,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;const u=((null!==l&&void 0!==l?l:ne(t))?fe:me)(e,r,s,t),c=function(t,e,n){const i={};for(const o in t)"values"===o&&"object"===typeof t.values||(xe(o)||!0===n&&ye(o)||!e&&!ye(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o
1]);return i}(e,"string"===typeof t,a),h=t!==te.Fragment?(0,o.A)((0,o.A)((0,o.A)({},c),u),{},{ref:n}):{},d=e.children,p=(0,te.useMemo)(()=>(0,E.S)(d)?d.get():d,[d]);return(0,te.createElement)(t,(0,o.A)((0,o.A)({},h),{},{children:p}))}function Ee(t){return(0,E.S)(t)?t.get():t}var we=n(9674),Pe=n(34930);const Se=["transitionEnd","transition"];function Fe(t,e,n,i){const o={},s=i(t,{});for(const d in s)o[d]=Ee(s[d]);let r=t.initial,a=t.animate;const l=et(t),u=nt(t);e&&u&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let c=!!n&&!1===n.initial;c=c||!1===r;const h=c?a:r;if(h&&"boolean"!==typeof h&&!Z(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=(0,ot.a)(t,e[n]);if(i){const t=i.transitionEnd,e=(i.transition,(0,U.A)(i,Se));for(const n in e){let t=e[n];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(o[n]=t)}for(const n in t)o[n]=t[n]}}}return o}const be=t=>(e,n)=>{const i=(0,te.useContext)(le),o=(0,te.useContext)(we.t),s=()=>function(t,e,n,i){let o=t.scrapeMotionValuesFromProps,s=t.createRenderState;return{latestValues:Fe(e,n,i,o),renderState:s()}}(t,e,i,o);return n?s():(0,Pe.M)(s)},Ce=be({scrapeMotionValuesFromProps:kt,createRenderState:he}),De=be({scrapeMotionValuesFromProps:Rt,createRenderState:ve});var Ve=n(14735);const Me={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"]};let ke=!1;function Re(){return function(){if(ke)return;const t={};for(const e in Me)t[e]={isEnabled:t=>Me[e].some(e=>!!t[e])};ct(t),ke=!0}(),ut}const Le=Symbol.for("motionComponentSymbol");function Be(t,e,n){const i=(0,te.useRef)(n);(0,te.useInsertionEffect)(()=>{i.current=n});const o=(0,te.useRef)(null);return(0,te.useCallback)(n=>{var s;n&&(null===(s=t.onMount)||void 0===s||s.call(t,n));e&&(n?e.mount(n):e.unmount());const r=i.current;if("function"===typeof r)if(n){const t=r(n);"function"===typeof t&&(o.current=t)}else o.current?(o.current(),o.current=null):r(n);else r&&(r.current=n)},[e])}var je=n(12692);const Ie=(0,te.createContext)({});function Oe(t){return t&&"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var _e=n(40293);function Ue(t,e,n,i,o,s){var r,a,l,u;const c=(0,te.useContext)(le).visualElement,h=(0,te.useContext)(re),d=(0,te.useContext)(we.t),p=(0,te.useContext)(ae.Q),m=p.reducedMotion,v=p.skipAnimations,f=(0,te.useRef)(null),g=(0,te.useRef)(!1);i=i||h.renderer,!f.current&&i&&(f.current=i(t,{visualState:e,parent:c,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:v,isSVG:s}),g.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const y=f.current,x=(0,te.useContext)(Ie);!y||y.projection||!o||"html"!==y.type&&"svg"!==y.type||function(t,e,n,i){const o=e.layoutId,s=e.layout,r=e.drag,a=e.dragConstraints,l=e.layoutScroll,u=e.layoutRoot,c=e.layoutCrossfade;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:We(t.parent)),t.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:Boolean(r)||a&&Oe(a),visualElement:t,animationType:"string"===typeof s?s:"both",initialPromotionConfig:i,crossfade:c,layoutScroll:l,layoutRoot:u})}(f.current,n,o,x);const A=(0,te.useRef)(!1);(0,te.useInsertionEffect)(()=>{y&&A.current&&y.update(n,d)});const T=n[je.n],E=(0,te.useRef)(Boolean(T)&&!(null!==(r=(a=window).MotionHandoffIsComplete)&&void 0!==r&&r.call(a,T))&&(null===(l=(u=window).MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(u,T)));return(0,_e.E)(()=>{g.current=!0,y&&(A.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),E.current&&y.animationState&&y.animationState.animateChanges())}),(0,te.useEffect)(()=>{y&&(!E.current&&y.animationState&&y.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,T)}),E.current=!1),y.enteringChildren=void 0)}),y}function We(t){if(t)return!1!==t.options.allowProjection?t.projection:We(t.parent)}function Ge(t){var e,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.forwardMotionProps,r=void 0!==s&&s,a=i.type,l=arguments.length>2?arguments[2]:void 0,u=arguments.length>3?arguments[3]:void 0;l&&function(t){const e=Re();for(const n in t)e[n]=(0,o.A)((0,o.A)({},e[n]),t[n]);ct(e)}(l);const c=a?"svg"===a:ne(t),h=c?De:Ce;function d(e,n){let i;const s=(0,o.A)((0,o.A)((0,o.A)({},(0,te.useContext)(ae.Q)),e),{},{layoutId:Ne(e)}),a=s.isStatic,l=ue(e),d=h(e,a);if(!a&&Ve.B){!function(){(0,te.useContext)(re).strict;0}();const e=function(t){const e=Re(),n=e.drag,i=e.layout;if(!n&&!i)return{};const s=(0,o.A)((0,o.A)({},n),i);return{MeasureLayout:null!==n&&void 0!==n&&n.isEnabled(t)||null!==i&&void 0!==i&&i.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
1(s);i=e.MeasureLayout,l.visualElement=Ue(t,d,s,u,e.ProjectionNode,c)}return(0,oe.jsxs)(le.Provider,{value:l,children:[i&&l.visualElement?(0,oe.jsx)(i,(0,o.A)({visualElement:l.visualElement},s)):null,Te(t,e,Be(d,l.visualElement,n),d,a,r,c)]})}d.displayName="motion.".concat("string"===typeof t?t:"create(".concat(null!==(e=null!==(n=t.displayName)&&void 0!==n?n:t.name)&&void 0!==e?e:"",")"));const p=(0,te.forwardRef)(d);return p[Le]=t,p}function Ne(t){let e=t.layoutId;const n=(0,te.useContext)(se.L).id;return n&&void 0!==e?n+"-"+e:e}function Xe(t,e){if("undefined"===typeof Proxy)return Ge;const n=new Map,i=(n,i)=>Ge(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(o,s)=>"create"===s?i:(n.has(s)||n.set(s,Ge(s,void 0,t,e)),n.get(s))})}class Ke{constructor(t){this.isMounted=!1,this.node=t}update(){}}var qe=n(97225),ze=n(94934);const He=tt.length;function Ye(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&Ye(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<He;n++){const i=tt[n],o=t.props[i];($(o)||!1===o)&&(e[i]=o)}return e}var Qe=n(44308),Ze=n(75829);function $e(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const Je=["transition","transitionEnd"],tn=[...J].reverse(),en=J.length;function nn(t){let e=function(t){return e=>Promise.all(e.map(e=>{let n=e.animation,i=e.options;return(0,qe._)(t,n,i)}))}(t),n=rn(),i=!0,s=!1;const r=e=>(n,i)=>{var s;const r=(0,Ze.K)(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(r){r.transition;const t=r.transitionEnd,e=(0,U.A)(r,Je);n=(0,o.A)((0,o.A)((0,o.A)({},n),e),t)}return n};function a(a){const l=t.props,u=Ye(t.parent)||{},c=[],h=new Set;let d={},p=1/0;for(let e=0;e<en;e++){const m=tn[e],v=n[m],f=void 0!==l[m]?l[m]:u[m],g=$(f),y=m===a?v.isActive:null;!1===y&&(p=e);let x=f===u[m]&&f!==l[m]&&g;if(x&&(i||s)&&t.manuallyAnimateOnMount&&(x=!1),v.protectedKeys=(0,o.A)({},d),!v.isActive&&null===y||!f&&!v.prevProp||Z(f)||"boolean"===typeof f)continue;if("exit"===m&&v.isActive&&!0!==y){v.prevResolvedValues&&(d=(0,o.A)((0,o.A)({},d),v.prevResolvedValues));continue}const A=on(v.prevProp,f);let T=A||m===a&&v.isActive&&!x&&g||e>p&&g,E=!1;const w=Array.isArray(f)?f:[f];let P=w.reduce(r(m),{});!1===y&&(P={});const S=v.prevResolvedValues,F=void 0===S?{}:S,b=(0,o.A)((0,o.A)({},F),P),C=e=>{T=!0,h.has(e)&&(E=!0,h.delete(e)),v.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in b){const e=P[t],n=F[t];if(d.hasOwnProperty(t))continue;let i=!1;i=(0,Qe.p)(e)&&(0,Qe.p)(n)?!$e(e,n)||A:e!==n,i?void 0!==e&&null!==e?C(t):h.add(t):void 0!==e&&h.has(t)?C(t):v.protectedKeys[t]=!0}v.prevProp=f,v.prevResolvedValues=P,v.isActive&&(d=(0,o.A)((0,o.A)({},d),P)),(i||s)&&t.blockInitialAnimation&&(T=!1);const D=x&&A;T&&(!D||E)&&c.push(...w.map(e=>{const n={type:m};if("string"===typeof e&&(i||s)&&!D&&t.manuallyAnimateOnMount&&t.parent){const i=t.parent,o=(0,Ze.K)(i,e);if(i.enteringChildren&&o){const e=(o.transition||{}).delayChildren;n.delay=(0,ze.L)(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(h.size){const e={};if("boolean"!==typeof l.initial){const n=(0,Ze.K)(t,Array.isArray(l.initial)?l.initial[0]:l.initial);n&&n.transition&&(e.transition=n.transition)}h.forEach(n=>{const i=t.getBaseTarget(n),o=t.getValue(n);o&&(o.liveStyle=!0),e[n]=null!==i&&void 0!==i?i:null}),c.push({animation:e})}let m=Boolean(c.length);return!i||!1!==l.initial&&l.initial!==l.animate||t.manuallyAnimateOnMount||(m=!1),i=!1,s=!1,m?e(c):Promise.resolve()}return{animateChanges:a,setActive:function(e,i){var o;if(n[e].isActive===i)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;const s=a(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=rn(),s=!0}}}function on(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!$e(e,t)}function sn(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rn(){return{animate:sn(!0),whileInView:sn(),whileHover:sn(),whileTap:sn(),whileDrag:sn(),whileFocus:sn(),exit:sn()}}let an=0;const ln={animation:{Feature:class extends Ke{constructor(t){super(t),t.animationState||(t.animationState=nn(t))}updateAnimationControlsSubscription(){const t=this.node.getProps().animate;Z(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends Ke{constructor(){super(...arguments),this.id=an++}update(){if(!this.node.presenceContext)return;const t=this.node.presenceContext,e=t.isPresent,n=t.onExitComplete,i=(this.node.prevPresenceContext||{}).isPresent;if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e);n&&!e&&o.then(()=>{n(this.id)})}mount(){const t=this.node.presenceContext||{},e=t.register,n=t.onExitComplete;
1n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};var un=n(64760);const cn={x:!1,y:!1};function hn(){return cn.x||cn.y}function dn(t){return[t("x"),t("y")]}function pn(t){return t.max-t.min}function mn(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=i,t.originPoint=(0,Ct.k)(e.min,e.max,t.origin),t.scale=pn(n)/pn(e),t.translate=(0,Ct.k)(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 vn(t,e,n,i){mn(t.x,e.x,n.x,i?i.originX:void 0),mn(t.y,e.y,n.y,i?i.originY:void 0)}function fn(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=i?(0,Ct.k)(n.min,n.max,i):n.min;t.min=o+e.min,t.max=t.min+pn(e)}function gn(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=i?(0,Ct.k)(n.min,n.max,i):n.min;t.min=e.min-o,t.max=t.min+pn(e)}function yn(t,e,n,i){gn(t.x,e.x,n.x,null===i||void 0===i?void 0:i.x),gn(t.y,e.y,n.y,null===i||void 0===i?void 0:i.y)}var xn=n(22993),An=n(65532);const Tn=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const En=new Set(["INPUT","SELECT","TEXTAREA"]);function wn(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}var Pn=n(42115);const Sn=t=>"mouse"===t.pointerType?"number"!==typeof t.button||t.button<=0:!1!==t.isPrimary;function Fn(t){return{point:{x:t.pageX,y:t.pageY}}}function bn(t,e,n,i){return wn(t,e,(t=>e=>Sn(e)&&t(e,Fn(e)))(n),i)}const Cn=t=>{let e=t.current;return e?e.ownerDocument.defaultView:null};var Dn=n(98560);const Vn=(t,e)=>Math.abs(t-e);const Mn=new Set(["auto","scroll"]);class kn{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.transformPagePoint,s=n.contextWindow,r=void 0===s?window:s,a=n.dragSnapToOrigin,l=void 0!==a&&a,u=n.distanceThreshold,c=void 0===u?3:u,h=n.element;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Bn(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Vn(t.x,e.x),i=Vn(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const i=t.point,s=rt.uv.timestamp;this.history.push((0,o.A)((0,o.A)({},i),{},{timestamp:s}));const r=this.handlers,a=r.onStart,l=r.onMove;e||(a&&a(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Rn(e,this.transformPagePoint),rt.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const n=this.handlers,i=n.onEnd,o=n.onSessionEnd,s=n.resumeAnimation;if(!this.dragSnapToOrigin&&this.startEvent||s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=Bn("pointercancel"===t.type?this.lastMoveEventInfo:Rn(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),o&&o(t,r)},!Sn(t))return;this.dragSnapToOrigin=l,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=c,this.contextWindow=r||window;const d=Rn(Fn(t),this.transformPagePoint),p=d.point,m=rt.uv.timestamp;this.history=[(0,o.A)((0,o.A)({},p),{},{timestamp:m})];const v=e.onSessionStart;v&&v(t,Bn(d,this.history)),this.removeListeners=(0,Dn.F)(bn(this.contextWindow,"pointermove",this.handlePointerMove),bn(this.contextWindow,"pointerup",this.handlePointerUp),bn(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(Mn.has(t.overflowX)||Mn.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.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=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o=i.x-e.x,s=i.y-e.y;0===o&&0===s||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o,this.lastMoveEventInfo.point.y+=s):this.history.length>0&&(this.history[0].x-=o,this.history[0].y-=s),this.scrollPositions.set(t,i),rt.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,rt.WG)(this.updatePoint)}}function Rn(t,e){return e?{point:e(t.point)}:t}function Ln(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Bn(t,e){let n=t.point;return{point:n,delta:Ln(n,In(e)),offset:Ln(n,jn(e)),velocity:On(e,.1)}}function jn(t){return t[0]}function In(t){return t[t.length-1]}function On(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=In(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>(0,W.f)(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&o.timestamp-i.timestamp>2*(0,W.f)(e)&&(i=t[1]);const s=(0,W.X)(o.timestamp-i.timestamp);if(0===s)return{x:0,y:0};const r={x:(o.x-i.x)/s,y:(o.y-i.y)/s}
1;return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}var _n=n(2349),Un=n(217);function Wn(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 Gn(t,e){let n=e.min-t.min,i=e.max-t.max;if(e.max-e.min<t.max-t.min){var o=[i,n];n=o[0],i=o[1]}return{min:n,max:i}}const Nn=.35;function Xn(t,e,n){return{min:Kn(t,e),max:Kn(t,n)}}function Kn(t,e){return"number"===typeof t?t:t[e]||0}const qn=new WeakMap;class zn{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.snapToCursor,i=void 0!==n&&n,o=e.distanceThreshold;const s=this.visualElement.presenceContext;if(s&&!1===s.isPresent)return;const r=this.getProps().dragSnapToOrigin;this.panSession=new kn(t,{onSessionStart:t=>{i&&this.snapToCursor(Fn(t).point),this.stopAnimation()},onStart:(t,e)=>{const n=this.getProps(),i=n.drag,o=n.dragPropagation,s=n.onDragStart;if(i&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=i)||"y"===r?cn[r]?null:(cn[r]=!0,()=>{cn[r]=!1}):cn.x||cn.y?null:(cn.x=cn.y=!0,()=>{cn.x=cn.y=!1}),!this.openDragLock))return;var r;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dn(t=>{let e=this.getAxisMotionValue(t).get()||0;if(f.KN.test(e)){const n=this.visualElement.projection;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=pn(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),s&&rt.Gt.update(()=>s(t,e),!1,!0),(0,xn.g)(this.visualElement,"transform");const a=this.visualElement.animationState;a&&a.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const n=this.getProps(),i=n.dragPropagation,o=n.dragDirectionLock,s=n.onDirectionLock,r=n.onDrag;if(!i&&!this.openDragLock)return;const a=e.offset;if(o&&null===this.currentDirection)return this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&rt.Gt.update(()=>r(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{(this.getProps().dragSnapToOrigin||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:o,contextWindow:Cn(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!n)return;const s=i.velocity;this.startAnimation(s);const r=this.getProps().onDragEnd;r&&rt.Gt.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;const 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)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const i=this.getProps().drag;if(!n||!Yn(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,e,n){let i=e.min,o=e.max;return void 0!==i&&t<i?t=n?(0,Ct.k)(i,t,n.min):Math.max(t,i):void 0!==o&&t>o&&(t=n?(0,Ct.k)(o,t,n.max):Math.min(t,o)),t}(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const e=this.getProps(),n=e.dragConstraints,i=e.dragElastic,o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;n&&Oe(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(t,e){let n=e.top,i=e.left,o=e.bottom,s=e.right;return{x:Wn(t.x,i,s),y:Wn(t.y,n,o)}}(o.layoutBox,n),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nn;return!1===t?t=0:!0===t&&(t=Nn),{x:Xn(t,"left","right"),y:Xn(t,"top","bottom")}}(i),s!==this.constraints&&!Oe(n)&&o&&this.constraints&&!this.hasMutatedConstraints&&dn(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(o.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!Oe(e))return!1;const i=e.current;(0,b.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const o=this.visualElement.projection;if(!o||!o.layout)return!1;const s=function(t,e,n){const i=$t(t,n),o=e.scroll;return o&&(Ht(i.x,o.offset.x),Ht(i.y,o.offset.y)),i}(i,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:Gn(t.x,e.x),y:Gn(t.y,e.y)}}(o.layout.layoutBox,s);if(n){const t=n(function(t){let e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(r));this.hasMutatedConstraints=!!t,t&&(r=jt(t))}return r}startAnimation(t){const e=this.getProps(),n=e.drag,i=e.dragMomentum,s=e.dragElastic,r=e.dragTransition,a=e.dragSnapToOrigin,l=e.onDragTransitionEnd,u=this.constraints||{},c=dn(e=>{if(!Yn(e,n,this.currentDirection))return;let l=u&&u[e]||{};a&&(l={min:0,max:0});const c=s?200:1e6,h=s?40:1e7,d=(0,o.A)((0,o.A)({type:"inertia",velocity:i?t[e]:0,bounceStiffness:c,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10},r),l);return this.startAxisValueAnimation(e,d)});return Promise.all(c).then(l)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return(0,xn.g)(this.visualElement,t),n.start((0,An.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){dn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const e="_drag".concat(t.toUpperCase()),n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){dn(e=>{if(!Yn(e,this.getProps().drag,this.currentDirection))return;const n=this.visualElement.projection,i=this.getAxisMotionValue(e);if(n&&n.layout){const o=n.layout.layoutBox[e],s=o.min,r=o.max,a=i.get()||0;i.set(t[e]-(0,Ct.k)(s,r,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const t=this.getProps(),e=t.drag,n=t.dragConstraints,i=this.visualElement.projection;if(!Oe(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};dn(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();o[t]=function(t,e){let n=.5;const i=pn(t),o=pn(e);return o>i?n=(0,_n.q)(e.min,e.max-i,t.min):i>
1o&&(n=(0,_n.q)(t.min,t.max-o,e.min)),(0,Un.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});const s=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),dn(t=>{if(!Yn(t,e,null))return;const n=this.getAxisMotionValue(t),i=this.constraints[t],s=i.min,r=i.max;n.set((0,Ct.k)(s,r,o[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;qn.set(this.visualElement,this);const t=this.visualElement.current,e=bn(t,"pointerdown",e=>{const n=this.getProps(),i=n.drag,o=n.dragListener,s=void 0===o||o,r=e.target,a=r!==t&&function(t){return En.has(t.tagName)||!0===t.isContentEditable}(r);i&&s&&!a&&this.start(e)});let n;const i=()=>{const e=this.getProps().dragConstraints;Oe(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=(0,Pn.X)(t,Hn(n)),o=(0,Pn.X)(e,Hn(n));return()=>{i(),o()}}(t,e.current,()=>this.scalePositionWithinConstraints())))},o=this.visualElement.projection,s=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),rt.Gt.read(i);const r=wn(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",t=>{let e=t.delta,n=t.hasLayoutChanged;this.isDragging&&n&&(dn(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),s(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,i=t.dragDirectionLock,s=void 0!==i&&i,r=t.dragPropagation,a=void 0!==r&&r,l=t.dragConstraints,u=void 0!==l&&l,c=t.dragElastic,h=void 0===c?Nn:c,d=t.dragMomentum,p=void 0===d||d;return(0,o.A)((0,o.A)({},t),{},{drag:n,dragDirectionLock:s,dragPropagation:a,dragConstraints:u,dragElastic:h,dragMomentum:p})}}function Hn(t){let e=!0;return()=>{e?e=!1:t()}}function Yn(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const Qn=t=>(e,n)=>{t&&rt.Gt.update(()=>t(e,n),!1,!0)};const Zn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var $n=n(28917);let Jn=!1;class ti extends te.Component{componentDidMount(){const t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,s=t.layoutId,r=e.projection;r&&(n.group&&n.group.add(r),i&&i.register&&s&&i.register(r),Jn&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions((0,o.A)((0,o.A)({},r.options),{},{layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()}))),Zn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const e=this.props,n=e.layoutDependency,i=e.visualElement,s=e.drag,r=e.isPresent,a=i.projection;return a?(a.isPresent=r,t.layoutDependency!==n&&a.setOptions((0,o.A)((0,o.A)({},a.options),{},{layoutDependency:n})),Jn=!0,s||t.layoutDependency!==n||void 0===n||t.isPresent!==r?a.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?a.promote():a.relegate()||rt.Gt.postRender(()=>{const t=a.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const t=this.props.visualElement.projection;t&&(t.root.didUpdate(),q.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,o=e.projection;Jn=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const t=this.props.safeToRemove;t&&t()}render(){return null}}function ei(t){const e=(0,$n.xQ)(),n=(0,r.A)(e,2),i=n[0],s=n[1],a=(0,te.useContext)(se.L);return(0,oe.jsx)(ti,(0,o.A)((0,o.A)({},t),{},{layoutGroup:a,switchLayoutGroup:(0,te.useContext)(Ie),isPresent:i,safeToRemove:s}))}var ni=n(73070),ii=n(28878),oi=n(8523),si=n(47151);function ri(t,e){const n=z.k.now(),i=o=>{const s=o.timestamp-n;s>=e&&((0,rt.WG)(i),t(s-e))};return rt.Gt.setup(i,!0),()=>(0,rt.WG)(i)}var ai=n(75749);var li=n(42427);const ui=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ci=ui.length,hi=t=>"string"===typeof t?parseFloat(t):t,di=t=>"number"===typeof t||f.px.test(t);function pi(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const mi=fi(0,.5,li.yT),vi=fi(.5,.95,un.l);function fi(t,e,n){return i=>i<t?0:i>
1e?1:n((0,_n.q)(t,e,i))}function gi(t,e){t.min=e.min,t.max=e.max}function yi(t,e){gi(t.x,e.x),gi(t.y,e.y)}function xi(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Ai(t,e,n,i,o){return t=Gt(t-=e,1/n,i),void 0!==o&&(t=Gt(t,1/o,i)),t}function Ti(t,e,n,i,o){let s=(0,r.A)(n,3),a=s[0],l=s[1],u=s[2];!function(t){let 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,o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;f.KN.test(e)&&(e=parseFloat(e),e=(0,Ct.k)(r.min,r.max,e/100)-r.min);if("number"!==typeof e)return;let a=(0,Ct.k)(s.min,s.max,i);t===s&&(a-=e),t.min=Ai(t.min,e,n,a,o),t.max=Ai(t.max,e,n,a,o)}(t,e[a],e[l],e[u],e.scale,i,o)}const Ei=["x","scaleX","originX"],wi=["y","scaleY","originY"];function Pi(t,e,n,i){Ti(t.x,e,Ei,n?n.x:void 0,i?i.x:void 0),Ti(t.y,e,wi,n?n.y:void 0,i?i.y:void 0)}function Si(t){return 0===t.translate&&1===t.scale}function Fi(t){return Si(t.x)&&Si(t.y)}function bi(t,e){return t.min===e.min&&t.max===e.max}function Ci(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Di(t,e){return Ci(t.x,e.x)&&Ci(t.y,e.y)}function Vi(t){return pn(t.x)/pn(t.y)}function Mi(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ki=n(69755);class Ri{constructor(){this.members=[]}add(t){(0,ki.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||((0,ki.Ai)(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if((0,ki.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let n=this.members.indexOf(t)-1;n>=0;n--){var e;const t=this.members[n];if(!1!==t.isPresent&&!1!==(null===(e=t.instance)||void 0===e?void 0:e.isConnected))return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const o=n.options.layoutDependency,s=t.options.layoutDependency;var i;if(void 0===o||o!==s)t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),null!==(i=t.root)&&void 0!==i&&i.isUpdating&&(t.isLayoutDirty=!0);!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var e,n,i,o,s;null===(e=(n=t.options).onExitComplete)||void 0===e||e.call(n),null===(i=t.resumingFrom)||void 0===i||null===(o=(s=i.options).onExitComplete)||void 0===o||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;null!==(t=this.lead)&&void 0!==t&&t.snapshot&&(this.lead.snapshot=void 0)}}const Li=(t,e)=>t.depth-e.depth;class Bi{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ki.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,ki.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Li),this.isDirty=!1,this.children.forEach(t)}}const ji={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Ii=["","X","Y","Z"];let Oi=0;function _i(t,e,n,i){const o=e.latestValues;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Ui(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const e=t.options.visualElement;if(!e)return;const n=(0,ni.P)(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const e=t.options,i=e.layout,o=e.layoutId;window.MotionCancelOptimisedAnimation(n,"transform",rt.Gt,!(i||o))}const i=t.parent;i&&!i.hasCheckedOptimisedAppear&&Ui(i)}function Wi(t){let e=t.attachResizeListener,n=t.defaultParent,i=t.measureScroll,s=t.checkIsScrollRoot,r=t.resetTransform;return class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===n||void 0===n?void 0:n();this.id=Oi++,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=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,si.Q.value&&(ji.nodes=ji.calculatedTargetDeltas=ji.calculatedProjections=0),this.nodes.forEac
1h(Xi),this.nodes.forEach(Ji),this.nodes.forEach(to),this.nodes.forEach(Ki),si.Q.addProjectionMetrics&&si.Q.addProjectionMetrics(ji)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bi)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new G.v),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e&&e.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;var n;this.isSVG=(0,ai.x)(t)&&(n=t,!((0,ai.x)(n)&&"svg"===n.tagName)),this.instance=t;const i=this.options,s=i.layoutId,r=i.layout,a=i.visualElement;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||s)&&(this.isLayoutDirty=!0),e){let n,i=0;const o=()=>this.root.updateBlockedByResize=!1;rt.Gt.read(()=>{i=window.innerWidth}),e(t,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=ri(o,250),Zn.hasAnimatedSinceResize&&(Zn.hasAnimatedSinceResize=!1,this.nodes.forEach($i)))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&a&&(s||r)&&this.addEventListener("didUpdate",t=>{let e=t.delta,n=t.hasLayoutChanged,i=t.hasRelativeLayoutChanged,s=t.layout;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||a.getDefaultTransition()||ro,l=a.getProps(),u=l.onLayoutAnimationStart,c=l.onLayoutAnimationComplete,h=!this.targetLayout||!Di(this.targetLayout,s),d=!n&&i;if(this.options.layoutRoot||this.resumeFrom||d||n&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t=(0,o.A)((0,o.A)({},(0,ii.r)(r,"layout")),{},{onPlay:u,onComplete:c});(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d,t.path)}else n||$i(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,rt.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(eo),this.animationId++)}getTransformTemplate(){const t=this.options.visualElement;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ui(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,"string"!==typeof t.latestValues.x&&"string"!==typeof t.latestValues.y||(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const e=this.options,n=e.layoutId,i=e.layout;if(void 0===n&&!i)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(Hi),void this.nodes.forEach(zi)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Yi);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Qi),this.nodes.forEach(Zi),this.nodes.forEach(Gi),this.nodes.forEach(Ni)):this.nodes.forEach(Yi),this.clearAllSnapshots();const t=z.k.now();rt.uv.delta=(0,Un.q)(0,1e3/60,t-rt.uv.timestamp),rt.uv.timestamp=t,rt.uv.isProcessing=!0,rt.PP.update.process(rt.uv),rt.PP.preRender.process(rt.uv),rt.PP.render.process(rt.uv),rt.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,q.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qi),this.sharedNodes.forEach(no)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rt.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rt.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||pn(this.snapshot.measuredBox.x)||pn(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const e=this.options.visualElement;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Fi(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||_t(this.latestValues)||o)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),uo((i=n).x),uo(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ho))){const t=this.root.scroll;t&&(Ht(n.x,t.offset.x),Ht(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};if(yi(n,t),null!==(e=this.scroll)&&void 0!==e&&e.wasRoot)return n;for(let i=0;i<this.path.length;i++){const e=this.path[i],o=e.scroll,s=e.options;e!==this.root&&o&&s.layoutScroll&&(o.wasRoot&&yi(n,t),Ht(n.x,o.offset.x),Ht(n.y,o.offset.y))}return n}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(arguments.length>2?arguments[2]:void 0)||{x:{min:0,max:0},y:{min:0,max:0}};yi(n,t);for(let s=0;s<this.path.length;s++){var i;const t=this.path[s];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(Ht(n.x,-t.scroll.offset.x),Ht(n.y,-t.scroll.offset.y)),_t(t.latestValues)&&Zt(n,t.latestValues,null===(i=t.layout)||void 0===i?void 0:i.layoutBox)}var o;_t(this.latestValues)&&Zt(n,this.latestValues,null===(o=this.layout)||void 0===o?void 0:o.layoutBox);return n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};yi(e,t);for(let i=0;i<this.path.length;i++){var n;const t=this.path[i];if(!_t(t.latestValues))continue;let o;t.instance&&(Ot(t.latestValues)&&t.updateSnapshot(),o=T(),yi(o,t.measurePageBox())),Pi(e,t.latestValues,null===(n=t.snapshot)||void 0===n?void 0:n.layoutBox,o)}return _t(this.latestValues)&&Pi(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=(0,o.A)((0,o.A)((0,o.A)({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==rt.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||null!==(t=this.parent)&&void 0!==t&&t.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const o=this.options,s=o.layout,r=o.layoutId;if(!this.layout||!s&&!r)return;this.resolvedRelativeTargetAt=rt.uv.timestamp;const a=this.getClosestProjectingParent();var l,u,c,h;(a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),l=this.target,u=this.relativeTarget,c=this.relativeParent.target,h=this.options.layoutAnchor||void 0,fn(l.x,u.x,c.x,null===h||void 0===h?void 0:h.x),fn(l.y,u.y,c.y,null===h||void 0===h?void 0:h.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):yi(this.target,this.layout.layoutBox),Kt(this.target,this.targetDelta)):yi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&a&&Boolean(a.resumingFrom)===Boolean(this.resumingFrom)&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),si.Q.value&&ji.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!Ot(this.parent.latestValues)&&!Ut(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},yn(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),yi(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||null!==(t=this.parent)&&void 0!==t&&t.isProjectionDirty)&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===rt.uv.timestamp&&(i=!1),i)return;const o=this.options,s=o.layout,r=o.layoutId;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!r)return;yi(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,l=this.treeScale.y;!function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=n.length;if(!o)return;let s,r;e.x=e.y=1;for(let l=0;l<o;l++){s=n[l],r=s.projectionDelta;const o=s.options.visualElement;var a;o&&o.props.style&&"contents"===o.props.style.display||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Ht(t.x,-s.scroll.offset.x),Ht(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Kt(t,r)),i&&_t(s.latestValues)&&Zt(t,s.latestValues,null===(a=s.layout)||void 0===a?void 0:a.layoutBox))}e.x<zt&&e.x>qt&&(e.x=1),e.y<zt&&e.y>qt&&(e.y=1)}(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={x:{min:0,max:0},y:{min:0,max:0}});const u=e.target;u?(this.projectionDelta&&this.prevProjectionDelta?(xi(this.prevProjectionDelta.x,this.projectionDelta.x),xi(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),vn(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===l&&Mi(this.projectionDelta.x,this.prevProjectionDelta.x)&&Mi(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),si.Q.value&&ji.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;const i=this.snapshot,s=i?i.latestValues:{},r=(0,o.A)({},this.latestValues),a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const l={x:{min:0,max:0},y:{min:0,max:0}},u=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),h=!c||c.members.length<=1,d=Boolean(u&&!h&&
1!0===this.options.crossfade&&!this.path.some(so));let p;this.animationProgress=0;const m=null===n||void 0===n?void 0:n.interpolateProjection(t);this.mixTargetDelta=e=>{const n=e/1e3,i=null===m||void 0===m?void 0:m(n);var o,c,v,g,y,x;i?(a.x.translate=i.x,a.x.scale=(0,Ct.k)(t.x.scale,1,n),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=i.y,a.y.scale=(0,Ct.k)(t.y.scale,1,n),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(io(a.x,t.x,n),io(a.y,t.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(yn(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),v=this.relativeTarget,g=this.relativeTargetOrigin,y=l,x=n,oo(v.x,g.x,y.x,x),oo(v.y,g.y,y.y,x),p&&(o=this.relativeTarget,c=p,bi(o.x,c.x)&&bi(o.y,c.y))&&(this.isProjectionDirty=!1),p||(p={x:{min:0,max:0},y:{min:0,max:0}}),yi(p,this.relativeTarget)),u&&(this.animationValues=r,function(t,e,n,i,o,s){var r,a;if(o)t.opacity=(0,Ct.k)(0,null!==(r=n.opacity)&&void 0!==r?r:1,mi(i)),t.opacityExit=(0,Ct.k)(null!==(a=e.opacity)&&void 0!==a?a:1,0,vi(i));else if(s){var l,u;t.opacity=(0,Ct.k)(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(u=n.opacity)&&void 0!==u?u:1,i)}for(let c=0;c<ci;c++){const o=ui[c];let s=pi(e,o),r=pi(n,o);void 0===s&&void 0===r||(s||(s=0),r||(r=0),0===s||0===r||di(s)===di(r)?(t[o]=Math.max((0,Ct.k)(hi(s),hi(r),i),0),(f.KN.test(r)||f.KN.test(s))&&(t[o]+="%")):t[o]=r)}(e.rotate||n.rotate)&&(t.rotate=(0,Ct.k)(e.rotate||0,n.rotate||0,i))}(r,s,this.latestValues,n,d,h)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=r),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){var e,n;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),null===(n=this.resumingFrom)||void 0===n||null===(n=n.currentAnimation)||void 0===n||n.stop(),this.pendingAnimation&&((0,rt.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.Gt.update(()=>{Zn.hasAnimatedSinceResize=!0,oi.q.layout++,this.motionValue||(this.motionValue=(0,H.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){const i=(0,E.S)(t)?t:(0,H.OQ)(t);return i.start((0,An.f)("",i,e,n)),i.animation}(this.motionValue,[0,1e3],(0,o.A)((0,o.A)({},t),{},{velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{oi.q.layout--},onComplete:()=>{oi.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let e=t.targetWithTransforms,n=t.target,i=t.layout,o=t.latestValues;if(e&&n&&i){if(this!==t&&this.layout&&i&&co(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=pn(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=pn(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}yi(e,n),Zt(e,o),vn(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Ri);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)}promote(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.needsReset,n=t.transition,i=t.preserveFollowOpacity;const o=this.getStack();o&&o.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}
1resetSkewAndRotation(){const t=this.options.visualElement;if(!t)return;let e=!1;const n=t.latestValues;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&_i("z",t,i,this.animationValues);for(let o=0;o<Ii.length;o++)_i("rotate".concat(Ii[o]),t,i,this.animationValues),_i("skew".concat(Ii[o]),t,i,this.animationValues);t.render();for(const o in i)t.setStaticValue(o,i[o]),this.animationValues&&(this.animationValues[o]=i[o]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=Ee(null===e||void 0===e?void 0:e.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ee(null===e||void 0===e?void 0:e.pointerEvents)||""),void(this.hasProjected&&!_t(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const o=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,n){let i="";const o=t.x.translate/e.x,s=t.y.translate/e.y,r=(null===n||void 0===n?void 0:n.z)||0;if((o||s||r)&&(i="translate3d(".concat(o,"px, ").concat(s,"px, ").concat(r,"px) ")),1===e.x&&1===e.y||(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){const t=n.transformPerspective,e=n.rotate,o=n.pathRotation,s=n.rotateX,r=n.rotateY,a=n.skewX,l=n.skewY;t&&(i="perspective(".concat(t,"px) ").concat(i)),e&&(i+="rotate(".concat(e,"deg) ")),o&&(i+="rotate(".concat(o,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),r&&(i+="rotateY(".concat(r,"deg) ")),a&&(i+="skewX(".concat(a,"deg) ")),l&&(i+="skewY(".concat(l,"deg) "))}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+="scale(".concat(a,", ").concat(l,")")),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);n&&(s=n(o,s)),t.transform=s;const r=this.projectionDelta,a=r.x,l=r.y;var u,c;(t.transformOrigin="".concat(100*a.origin,"% ").concat(100*l.origin,"% 0"),i.animationValues)?t.opacity=i===this?null!==(u=null!==(c=o.opacity)&&void 0!==c?c:this.latestValues.opacity)&&void 0!==u?u:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=i===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const h in Vt){if(void 0===o[h])continue;const e=Vt[h],n=e.correct,r=e.applyTo,a=e.isCSSVariable,l="none"===s?o[h]:n(o[h],i);if(r){const e=r.length;for(let n=0;n<e;n++)t[r[n]]=l}else a?this.options.visualElement.renderState.vars[h]=l:t[h]=l}this.options.layoutId&&(t.pointerEvents=i===this?Ee(null===e||void 0===e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(zi),this.root.sharedNodes.clear()}}}function Gi(t){t.updateLayout()}function Ni(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const e=t.layout,i=e.layoutBox,o=e.measuredBox,s=t.options.animationType,r=n.source!==t.layout.source;if("size"===s)dn(t=>{const e=r?n.measuredBox[t]:n.layoutBox[t],o=pn(e);e.min=i[t].min,e.max=e.min+o});else if("x"===s||"y"===s){const t="x"===s?"y":"x";gi(r?n.measuredBox[t]:n.layoutBox[t],i[t])}else co(s,n.layoutBox,i)&&dn(e=>{const o=r?n.measuredBox[e]:n.layoutBox[e],s=pn(i[e]);o.max=o.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[e].max=t.relativeTarget[e].min+s)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};vn(a,i,n.layoutBox);const l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?vn(l,t.applyTransform(o,!0),n.measuredBox):vn(l,i,n.layoutBox);const u=!Fi(a);let c=!1;if(!t.resumeFrom){const e=t.getClosestProjectingParent();if(e&&!e.resumeFrom){const o=e.snapshot,s=e.layout;if(o&&s){const r=t.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};yn(a,n.layoutBox,o.layoutBox,r);const l={x:{min:0,max:0},y:{min:0,max:0}};yn(l,i,s.layoutBox,r),Di(a,l)||(c=!0),e.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=e)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(t.isLead()){const e=t.options.onExitComplete;e&&e()}t.options.transition=void 0}function Xi(t){si.Q.value&&ji.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Ki(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function qi(t){t.clearSnapshot()}function zi(t){t.clearMeasurements()}function Hi(t){t.isLayoutDirty=!0,t.updateLayout()}function Yi(t){t.isLayoutDirty=!1}function Qi(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Zi(t){const e=t.options.visualElement;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function $i(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Ji(t){t.resolveTargetDelta()}function to(t){t.calcProjection()}
1function eo(t){t.resetSkewAndRotation()}function no(t){t.removeLeadSnapshot()}function io(t,e,n){t.translate=(0,Ct.k)(e.translate,0,n),t.scale=(0,Ct.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function oo(t,e,n,i){t.min=(0,Ct.k)(e.min,n.min,i),t.max=(0,Ct.k)(e.max,n.max,i)}function so(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const ro={duration:.45,ease:[.4,0,.1,1]},ao=t=>"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),lo=ao("applewebkit/")&&!ao("chrome/")?Math.round:un.l;function uo(t){t.min=lo(t.min),t.max=lo(t.max)}function co(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=Vi(e),o=Vi(n),s=.2,!(Math.abs(i-o)<=s));var i,o,s}function ho(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const po=Wi({attachResizeListener:(t,e)=>wn(t,"resize",e),measureScroll:()=>{var t,e;return{x:document.documentElement.scrollLeft||(null===(t=document.body)||void 0===t?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||(null===(e=document.body)||void 0===e?void 0:e.scrollTop)||0}},checkIsScrollRoot:()=>!0}),mo={current:void 0},vo=Wi({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!mo.current){const t=new po({});t.mount(window),t.setOptions({layoutScroll:!0}),mo.current=t}return mo.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),fo={pan:{Feature:class extends Ke{constructor(){super(...arguments),this.removePointerDownListener=un.l}onPointerDown(t){this.session=new kn(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cn(this.node)})}createPanHandlers(){const t=this.node.getProps(),e=t.onPanSessionStart,n=t.onPanStart,i=t.onPan,o=t.onPanEnd;return{onSessionStart:Qn(e),onStart:Qn(n),onMove:Qn(i),onEnd:(t,e)=>{delete this.session,o&&rt.Gt.postRender(()=>o(t,e))}}}mount(){this.removePointerDownListener=bn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Ke{constructor(t){super(t),this.removeGroupControls=un.l,this.removeListeners=un.l,this.controls=new zn(t)}mount(){const t=this.node.getProps().dragControls;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||un.l}update(){const t=this.node.getProps().dragControls;t!==(this.node.prevProps||{}).dragControls&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:vo,MeasureLayout:ei}};var go=n(78297);function yo(t,e){const n=(0,go.K)(t),i=new AbortController;return[n,(0,o.A)((0,o.A)({passive:!0},e),{},{signal:i.signal}),()=>i.abort()]}function xo(t,e){const n=yo(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),i=(0,r.A)(n,3),o=i[0],s=i[1],a=i[2];return o.forEach(t=>{let n,i=!1,o=!1;const r=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},l=t=>{"touch"!==t.pointerType&&(i?o=!0:r(t))};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||hn())return;o=!1;const r=e(t,i);"function"===typeof r&&(n=r,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),a}function Ao(t,e,n){const i=t.props;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const o=i["onHover"+n];o&&rt.Gt.postRender(()=>o(e,Fn(e)))}var To=n(8676);const Eo=(t,e)=>!!e&&(t===e||Eo(t,e.parentElement)),wo=new WeakSet;function Po(t){return e=>{"Enter"===e.key&&t(e)}}function So(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Fo(t){return Sn(t)&&!hn()}const bo=new WeakSet;function Co(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=yo(t,n),o=(0,r.A)(i,3),s=o[0],a=o[1],l=o[2],u=t=>{const i=t.currentTarget;if(!Fo(t))return;if(bo.has(t))return;wo.add(i),n.stopPropagation&&bo.add(t);const o=e(i,t),s=(t,e)=>{window.removeEventListener("pointerup",r),window.removeEventListener("pointercancel",l),wo.has(i)&&wo.delete(i),Fo(t)&&"function"===typeof o&&o(t,{success:e})},r=t=>{s(t,i===window||i===document||n.useGlobalTarget||Eo(i,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",r,a),window.addEventListener("pointercancel",l,a)};
1return s.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",u,a),(0,To.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=Po(()=>{if(wo.has(n))return;So(n,"down");const t=Po(()=>{So(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>So(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,a)),e=t,Tn.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),l}function Do(t,e,n){const i=t.props;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const o=i["onTap"+("End"===n?"":n)];o&&rt.Gt.postRender(()=>o(e,Fn(e)))}const Vo=["root"],Mo=new WeakMap,ko=new WeakMap,Ro=t=>{const e=Mo.get(t.target);e&&e(t)},Lo=t=>{t.forEach(Ro)};function Bo(t,e,n){const i=function(t){let e=t.root,n=(0,U.A)(t,Vo);const i=e||document;ko.has(i)||ko.set(i,{});const s=ko.get(i),r=JSON.stringify(n);return s[r]||(s[r]=new IntersectionObserver(Lo,(0,o.A)({root:e},n))),s[r]}(e);return Mo.set(t,n),i.observe(t),()=>{Mo.delete(t),i.unobserve(t)}}const jo={some:0,all:1};const Io={inView:{Feature:class extends Ke{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const t=this.node.getProps().viewport,e=void 0===t?{}:t,n=e.root,i=e.margin,o=e.amount,s=void 0===o?"some":o,r=e.once,a={root:n?n.current:void 0,rootMargin:i,threshold:"number"===typeof s?s:jo[s]};return Bo(this.node.current,a,t=>{const e=t.isIntersecting;if(this.isInView===e)return;if(this.isInView=e,r&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const n=this.node.getProps(),i=n.onViewportEnter,o=n.onViewportLeave,s=e?i:o;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const t=this.node,e=t.props,n=t.prevProps,i=["amount","margin","root"].some(function(t){let e=t.viewport,n=void 0===e?{}:e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.viewport,s=void 0===o?{}:o;return t=>n[t]!==s[t]}(e,n));i&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ke{mount(){const t=this.node.current;if(!t)return;const e=this.node.props,n=e.globalTapTarget,i=e.propagate;this.unmount=Co(t,(t,e)=>(Do(this.node,e,"Start"),(t,e)=>{let n=e.success;return Do(this.node,t,n?"End":"Cancel")}),{useGlobalTarget:n,stopPropagation:!1===(null===i||void 0===i?void 0:i.tap)})}unmount(){}}},focus:{Feature:class extends Ke{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,Dn.F)(wn(this.node.current,"focus",()=>this.onFocus()),wn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ke{mount(){const t=this.node.current;t&&(this.unmount=xo(t,(t,e)=>(Ao(this.node,e,"Start"),t=>Ao(this.node,t,"End"))))}unmount(){}}}},Oo={layout:{ProjectionNode:vo,MeasureLayout:ei}},_o=Xe((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},ln),Io),fo),Oo),ie)},14735(t,e,n){n.d(e,{B:()=>i});const i="undefined"!==typeof window},34930(t,e,n){n.d(e,{M:()=>o});var i=n(65043);function o(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},40293(t,e,n){n.d(e,{E:()=>o});var i=n(65043);const o=n(14735).B?i.useLayoutEffect:i.useEffect},22828(t,e,n){n.d(e,{m:()=>w});var i=n(31868),o=n(13084),s=n(64760),r=n(74094),a=n(43591),l=n(24569),u=n(4989),c=n(8523),h=n(47151),d=n(12506);const p=(0,n(60924).J)(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=n(33370),v=n(5544);const f=t=>{let e=(0,v.A)(t,4),n=e[0],i=e[1],o=e[2],s=e[3];return"cubic-bezier(".concat(n,", ").concat(i,", ").concat(o,", ").concat(s,")")},g={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:f([0,.65,.55,1]),circOut:f([.55,0,1,.45]),backIn:f([.31,.01,.66,-.59]),backOut:f([.33,1.53,.69,.99])};function y(t,e){return t?"function"===typeof t?p()?(0,m.K)(t,e):"ease-out":(0,d.D)(t)?f(t):Array.isArray(t)?t.map(t=>y(t,e)||g.easeOut):g[t]:void 0}function x(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.delay,s=void 0===o?0:o,r=i.duration,a=void 0===r?300:r,l=i.repeat,u=void 0===l?0:l,d=i.repeatType,p=void 0===d?"loop":d,m=i.ease,v=void 0===m?"easeOut":m,f=i.times,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;const x={[e]:n};f&&(x.offset=f);const A=y(v,a);Array.isArray(A)&&(x.easing=A),h.Q.value&&c.q.waapi++;const T={delay:s,duration:a,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:u+1,direction:"reverse"===p?"alternate":"normal"};g&&(T.pseudoElement=g);const E=t.animate(x,T);return h.Q.value&&E.finished.finally(()=>{c.q.waapi--}),E}var A=n(53986),T=n(72715);const E=["type"];class w extends u.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const e=t.element,n=t.name,o=t.keyframes,s=t.pseudoElement,a=t.allowFlatten,u=void 0!==a&&a,c=t.finalKeyframe,h=t.onComplete;this.isPseudoElement=Boolean(s),this.allowFlatten=u,this.options=t,(0,i.V)("string"!==typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const d=function(t){let e=t.type,n=(0,A.A)(t,E);return(0,T.W)(e)&&p()?e.applyToOptions(n):(null!==(i=n.duration)&&void 0!==i||(n.duration=300),null!==(o=n.ease)&&void 0!==o||(n.ease="easeOut"),n);var i,o}(t);this.animation=x(e,n,o,d,s),!1===d.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const t=(0,l.X)(o,this.options,c,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,r.e)(e,n,t),this.animation.cancel()}null===h||void 0===h||h(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;null===(t=(e=this.animation).finish)||void 0===t||t.call(e)}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const t=this.state;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t;const e=null===(t=this.options)||void 0===t?void 0:t.element;var n,i;!this.isPseudoElement&&null!==e&&void 0!==e&&e.isConnected&&(null===(n=(i=this.animation).commitStyles)||void 0===n||n.call(i))}get duration(){var t,e;const n=(null===(t=this.animation.effect)||void 0===t||null===(e=t.getComputedTiming)||void 0===e?void 0:e.call(t).duration)||0;return(0,o.X)(Number(n))}get iterationDuration(){const t=(this.options||{}).delay,e=void 0===t?0:t;return this.duration+(0,o.X)(e)}get time(){return(0,o.X)(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,o.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){var t;return null!==(t=this.manualStartTime)&&void 0!==t?t:Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline(t){let e=t.timeline,n=t.rangeStart,i=t.rangeEnd,o=t.observe;var r;this.allowFlatten&&(null===(r=this.animation.effect)||void 0===r||r.updateTiming({easing:"linear"}));return this.animation.onfinish=null,e&&(0,a.J)()?(this.animation.timeline=e,n&&(this.animation.rangeStart=n),i&&(this.animation.rangeEnd=i),s.l):o(this)}}},72715(t,e,n){function i(t){return"function"===typeof t&&"applyToOptions"in t}n.d(e,{W:()=>i})},65532(t,e,n){n.d(e,{f:()=>_t});var i=n(89379),o=n(13084),s=n(52896),r=n(53986),a=n(64760),l=n(27178),u=n(98560),c=n(217),h=n(8523),d=n(27550),p=n(98412);const m=t=>{const e=e=>{let n=e.timestamp;return t(n)};return{start:function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return p.Gt.update(e,t)},stop:()=>(0,p.WG)(e),now:()=>p.uv.isProcessing?p.uv.timestamp:l.k.now()}};var v=n(31868),f=n(33370);const g=2e4;function y(t){let e=0;let n=t.next(e);for(;!n.done&&e<g;)e+=50,n=t.next(e);return e>=g?1/0:e}const x=100,A=10,T=1,E=0,w=800,P=.3,S=.3,F={granular:.01,default:2},b={granular:.005,default:.5},C=.01,D=10,V=.05,M=1;function k(t,e){return t*Math.sqrt(1-e*e)}const R=.001;const L=["duration","bounce"],B=["stiffness","damping","mass"];function j(t,e){return e.some(e=>void 0!==t[e])}function I(t){let e=(0,i.A)({velocity:E,stiffness:x,damping:A,mass:T,isResolvedFromDuration:!1},t);if(!j(t,B)&&j(t,L))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,o=2*Math.PI/(1.2*n),s=o*o,r=2*(0,c.q)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e=(0,i.A)((0,i.A)({},e),{},{mass:T,stiffness:s,damping:r})}else{const n=function(t){let e,n,i=t.duration,s=void 0===i?w:i,r=t.bounce,a=void 0===r?P:r,l=t.velocity,u=void 0===l?E:l,h=t.mass,d=void 0===h?T:h;(0,v.$)(s<=(0,o.f)(D),"Spring duration must be 10 seconds or less","spring-duration-limit");let p=1-a;p=(0,c.q)(V,M,p),s=(0,c.q)(C,D,(0,o.X)(s)),p<1?(e=t=>{const e=t*p,n=e*s,i=e-u,o=k(t,p),r=Math.exp(-n);return R-i/o*r},n=t=>{const n=t*p*s,i=n*u+u,o=Math.pow(p,2)*Math.pow(t,2)*s,r=Math.exp(-n),a=k(Math.pow(t,2),p);return(-e(t)+R>0?-1:1)*((i-o)*r)/a}):(e=t=>Math.exp(-t*s)*((t-u)*s+1)-.001,n=t=>Math.exp(-t*s)*(s*s*(u-t)));const m=function(t,e,n){let i=n;for(let o=1;o<12;o++)i-=t(i)/e(i);return i}(e,n,5/s);if(s=(0,o.f)(s),isNaN(m))return{stiffness:x,damping:A,duration:s};{const t=Math.pow(m,2)*d;return{stiffness:t,damping:2*p*Math.sqrt(d*t),duration:s}}}((0,i.A)((0,i.A)({},t),{},{velocity:0}));e=(0,i.A)((0,i.A)((0,i.A)({},e),n),{},{mass:T}),e.isResolvedFromDuration=!0}return e}function O(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;const e="object"!==typeof t?{visualDuration:t,keyframes:[0,1],bounce:arguments.length>1&&void 0!==arguments[1]?arguments[1]:P}:t;let n=e.restSpeed,s=e.restDelta;const r=e.keyframes[0],a=e.keyframes[e.keyframes.length-1],l={done:!1,value:r},u=I((0,i.A)((0,i.A)({},e),{},{velocity:-(0,o.X)(e.velocity||0)}
1)),c=u.stiffness,h=u.damping,d=u.mass,p=u.duration,m=u.velocity,v=u.isResolvedFromDuration,x=m||0,A=h/(2*Math.sqrt(c*d)),T=a-r,E=(0,o.X)(Math.sqrt(c/d)),w=Math.abs(T)<5;let C,D,V,M,R,L;if(n||(n=w?F.granular:F.default),s||(s=w?b.granular:b.default),A<1)V=k(E,A),M=(x+A*E*T)/V,C=t=>{const e=Math.exp(-A*E*t);return a-e*(M*Math.sin(V*t)+T*Math.cos(V*t))},R=A*E*M+T*V,L=A*E*T-M*V,D=t=>Math.exp(-A*E*t)*(R*Math.sin(V*t)+L*Math.cos(V*t));else if(1===A){C=t=>a-Math.exp(-E*t)*(T+(x+E*T)*t);const t=x+E*T;D=e=>Math.exp(-E*e)*(E*t*e-x)}else{const t=E*Math.sqrt(A*A-1);C=e=>{const n=Math.exp(-A*E*e),i=Math.min(t*e,300);return a-n*((x+A*E*T)*Math.sinh(i)+t*T*Math.cosh(i))/t};const e=(x+A*E*T)/t,n=A*E*e-T*t,i=A*E*T-e*t;D=e=>{const o=Math.exp(-A*E*e),s=Math.min(t*e,300);return o*(n*Math.sinh(s)+i*Math.cosh(s))}}const B={calculatedDuration:v&&p||null,velocity:t=>(0,o.f)(D(t)),next:t=>{if(!v&&A<1){const e=Math.exp(-A*E*t),i=Math.sin(V*t),r=Math.cos(V*t),u=a-e*(M*i+T*r),c=(0,o.f)(e*(R*i+L*r));return l.done=Math.abs(c)<=n&&Math.abs(a-u)<=s,l.value=l.done?a:u,l}const e=C(t);if(v)l.done=t>=p;else{const i=(0,o.f)(D(t));l.done=Math.abs(i)<=n&&Math.abs(a-e)<=s}return l.value=l.done?a:e,l},toString:()=>{const t=Math.min(y(B),g),e=(0,f.K)(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}O.applyToOptions=t=>{const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const n=(arguments.length>2?arguments[2]:void 0)((0,i.A)((0,i.A)({},t),{},{keyframes:[0,e]})),s=Math.min(y(n),g);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,o.X)(s)}}(t,100,O);return t.ease=e.ease,t.duration=(0,o.f)(e.duration),t.type="keyframes",t};var _=n(94784);function U(t,e,n){const i=Math.max(e-5,0);return(0,_.f)(n-t(i),e-i)}function W(t){let e=t.keyframes,n=t.velocity,i=void 0===n?0:n,o=t.power,s=void 0===o?.8:o,r=t.timeConstant,a=void 0===r?325:r,l=t.bounceDamping,u=void 0===l?10:l,c=t.bounceStiffness,h=void 0===c?500:c,d=t.modifyTarget,p=t.min,m=t.max,v=t.restDelta,f=void 0===v?.5:v,g=t.restSpeed;const y=e[0],x={done:!1,value:y},A=t=>void 0===p?m:void 0===m||Math.abs(p-t)<Math.abs(m-t)?p:m;let T=s*i;const E=y+T,w=void 0===d?E:d(E);w!==E&&(T=w-y);const P=t=>-T*Math.exp(-t/a),S=t=>w+P(t),F=t=>{const e=P(t),n=S(t);x.done=Math.abs(e)<=f,x.value=x.done?w:n};let b,C;const D=t=>{var e;(e=x.value,void 0!==p&&e<p||void 0!==m&&e>m)&&(b=t,C=O({keyframes:[x.value,A(x.value)],velocity:U(S,t,x.value),damping:u,stiffness:h,restDelta:f,restSpeed:g}))};return D(0),{calculatedDuration:null,next:t=>{let e=!1;return C||void 0!==b||(e=!0,F(t),D(t)),void 0!==b&&t>=b?C.next(t-b):(!e&&F(t),x)}}}const G=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function N(t,e,n,i){if(t===e&&n===i)return a.l;const o=e=>function(t,e,n,i,o){let s,r,a=0;do{r=e+(n-e)/2,s=G(r,i,o)-t,s>0?n=r:e=r}while(Math.abs(s)>1e-7&&++a<12);return r}(e,0,1,t,n);return t=>0===t||1===t?t:G(o(t),e,i)}const X=N(.42,0,1,1),K=N(0,0,.58,1),q=N(.42,0,.58,1);var z=n(5544),H=n(79086),Y=n(71827);const Q=N(.33,1.53,.69,.99),Z=(0,Y.G)(Q),$=(0,H.V)(Z),J=t=>t>=1?1:(t*=2)<1?.5*Z(t):.5*(2-Math.pow(2,-10*(t-1)));var tt=n(42427),et=n(12506);const nt={linear:a.l,easeIn:X,easeInOut:q,easeOut:K,circIn:tt.po,circInOut:tt.tn,circOut:tt.yT,backIn:Z,backInOut:$,backOut:Q,anticipate:J},it=t=>{if((0,et.D)(t)){(0,v.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const e=(0,z.A)(t,4);return N(e[0],e[1],e[2],e[3])}return"string"===typeof t?((0,v.V)(void 0!==nt[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),nt[t]):t};var ot=n(26744),st=n(97445);function rt(t){let e=t.duration,n=void 0===e?300:e,i=t.keyframes,o=t.times,s=t.ease,r=void 0===s?"easeInOut":s;const a=(t=>Array.isArray(t)&&"number"!==typeof t[0])(r)?r.map(it):it(r),l={done:!1,value:i[0]},u=function(t,e){return t.map(t=>t*e)}(o&&o.length===i.length?o:(0,st.Z)(i),n),c=(0,ot.G)(u,i,{ease:Array.isArray(a)?a:(h=i,d=a,h.map(()=>d||q).splice(0,h.length-1))});var h,d;return{calculatedDuration:n,next:t=>(l.value=c(t),l.done=t>=n,l)}}var at=n(24569);const lt={decay:W,inertia:W,tween:rt,keyframes:rt,spring:O};function ut(t){"string"===typeof t.type&&(t.type=lt[t.type])}var ct=n(4989);const ht=t=>t/100;class dt extends ct.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var t,e;const n=this.options.motionValue;n&&n.updatedAt!==l.k.now()&&this.tick(l.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null===(t=(e=this.options).onStop)||void 0===t||t.call(e))},h.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const t=this.options;ut(t);const e=t.type,n=void 0===e?rt:e,o=t.repeat,s=void 0===o?0:o,r=t.repeatDelay,a=void 0===r?0:r,l=t.repeatType,c=t.velocity,h=void 0===c?0:c;let p=t.keyframes;const m=n||rt;m!==rt&&"number"!==typeof p[0]&&(this.mixKeyframes=(0,u.F)(ht,(0,d.j)(p[0],p[1])),p=[0,100]);const v=m((0,i.A)((0,i.A)({},t),{},{keyframes:p}));"mirror"===l&&(this.mirroredGenerator=m((0,i.A)((0,i.A)({},t),{},{keyframes:[...p].reverse(),velocity:-h}))),null===v.calculatedDuration&&(v.calculatedDuration=y(v));const f=v.calculatedDuration;this.calculatedDuration=f,this.resolvedDuration=f+a,this.totalDuration=this.resolvedDuration*(s+1)-a,this.generator=v}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.generator,i=this.totalDuration,o=this.mixKeyframes,s=this.mirroredGenerator,r=this.resolvedDuration,a=this.calculatedDuration;if(null===this.startTime)return n.next(0);
1const l=this.options,u=l.delay,h=void 0===u?0:u,d=l.keyframes,p=l.repeat,m=l.repeatType,v=l.repeatDelay,f=l.type,g=l.onUpdate,y=l.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);const x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let T,E=this.currentTime,w=n;if(p){const t=Math.min(this.currentTime,i)/r;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,p+1);Boolean(e%2)&&("reverse"===m?(n=1-n,v&&(n-=v/r)):"mirror"===m&&(w=s)),E=(0,c.q)(0,1,n)*r}A?(this.delayState.value=d[0],T=this.delayState):T=w.next(E),o&&!A&&(T.value=o(T.value));let P=T.done;A||null===a||(P=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return S&&f!==W&&(T.value=(0,at.X)(d,this.options,y,this.speed)),g&&g(T.value),S&&this.finish(),T}then(t,e){return this.finished.then(t,e)}get duration(){return(0,o.X)(this.calculatedDuration)}get iterationDuration(){const t=(this.options||{}).delay,e=void 0===t?0:t;return this.duration+(0,o.X)(e)}get time(){return(0,o.X)(this.currentTime)}set time(t){t=(0,o.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);return U(t=>this.generator.next(t).value,t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(l.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,o.X)(this.currentTime))}play(){var t,e;if(this.isStopped)return;const n=this.options,i=n.driver,o=void 0===i?m:i,s=n.startTime;this.driver||(this.driver=o(t=>this.tick(t))),null===(t=(e=this.options).onPlay)||void 0===t||t.call(e);const r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=null!==s&&void 0!==s?s:r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(l.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null===(t=(e=this.options).onComplete)||void 0===t||t.call(e)}cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null===(t=(e=this.options).onCancel)||void 0===t||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,h.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null===(e=this.driver)||void 0===e||e.stop(),t.observe(this)}}var pt=n(95583),mt=n(74094),vt=n(22828);const ft={anticipate:J,backInOut:$,circInOut:tt.tn};function gt(t){"string"===typeof t.ease&&t.ease in ft&&(t.ease=ft[t.ease])}const yt=["motionValue","onUpdate","onComplete","element"];class xt extends vt.m{constructor(t){gt(t),ut(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const e=this.options,n=e.motionValue,o=(e.onUpdate,e.onComplete,e.element),s=(0,r.A)(e,yt);if(!n)return;if(void 0!==t)return void n.set(t);const a=new dt((0,i.A)((0,i.A)({},s),{},{autoplay:!1})),u=Math.max(10,l.k.now()-this.startTime),h=(0,c.q)(0,10,u-10),d=a.sample(u).value,p=this.options.name;o&&p&&(0,mt.e)(o,p,d),n.setWithVelocity(a.sample(Math.max(0,u-h)).value,d,h),a.stop()}}var At=n(72715),Tt=n(72326);const Et=(t,e)=>"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Tt.f.test(t)&&"0"!==t||t.startsWith("url(")));function wt(t){t.duration=0,t.type="keyframes"}var Pt=n(99930),St=n(44297);const Ft=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const bt=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Ct=(0,Pt.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Dt(t){var e;const n=t.motionValue,i=t.name,o=t.repeatDelay,s=t.repeatType,r=t.damping,a=t.type,l=t.keyframes;if(!((null===n||void 0===n||null===(e=n.owner)||void 0===e?void 0:e.current)instanceof HTMLElement))return!1;const u=n.owner.getProps(),c=u.onUpdate,h=u.transformTemplate;return Ct()&&i&&(St.M.has(i)||bt.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"===typeof t[e]&&Ft.test(t[e]))return!0;return!1}(l))&&("transform"!==i||!h)&&!c&&!o&&"mirror"!==s&&0!==r&&"inertia"!==a}const Vt=["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"];class Mt extends ct.q{constructor(t){var e;let n=t.autoplay,o=void 0===n||n,s=t.delay,a=void 0===s?0:s,u=t.type,c=void 0===u?"keyframes":u,h=t.repeat,d=void 0===h?0:h,p=t.repeatDelay,m=void 0===p?0:p,v=t.repeatType,f=void 0===v?"loop":v,g=t.keyframes,y=t.name,x=t.motionValue,A=t.element,T=(0,r.A)(t,Vt);super(),this.stop=()=>{var t,e;this._animation&&(this._animation.stop(),null===(e=this.stopTimeline)||void 0===e||e.call(this));null===(t=this.keyframeResolver)||void 0===t||t.cancel()},this.createdAt=l.k.now();const E=(0,i.A)({autoplay:o,delay:a,type:c,repeat:d,repeatDelay:m,repeatType:f,name:y,motionValue:x,element:A},T),w=(null===A||void 0===A?void 0:A.KeyframeResolver)||pt.h;this.keyframeResolver=new w(g,(t,e,n)=>this.onKeyframesResolved(t,e,E,!n),y,x,A),null===(e=this.keyframeResolver)||void 0===e||e.scheduleResolve()}onKeyframesResolved(t,e,n,o){var r;this.keyframeResolver=void 0;const u=n.name,c=n.type,h=n.velocity,d=n.delay,p=n.isHandoff,m=n.onUpdate;this.resolvedAt=l.k.now();let f=!0;(function(t,e,n,i){const o=t[0];if(null===o)return!1;if("display"===e||"visibility"===e)return!0;const s=t[t.length-1],r=Et(o,e),a=Et(s,e);return(0,v.$)(r===a,"You are trying to animate ".concat(e,' from "').concat(o,'" to "').concat(s,'". "').concat(r?s:o,'" is not an animatable value.'),"value-not-animatable"),!(!r||!a)&&
1(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,At.W)(n))&&i)})(t,u,c,h)||(f=!1,!s.W.instantAnimations&&d||null===m||void 0===m||m((0,at.X)(t,n,e)),t[0]=t[t.length-1],wt(n),n.repeat=0);const g=o?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,y=(0,i.A)((0,i.A)({startTime:g,finalKeyframe:e},n),{},{keyframes:t}),x=f&&!p&&Dt(y),A=null===(r=y.motionValue)||void 0===r||null===(r=r.owner)||void 0===r?void 0:r.current;let T;if(x)try{T=new xt((0,i.A)((0,i.A)({},y),{},{element:A}))}catch(E){T=new dt(y)}else T=new dt(y);T.finished.then(()=>{this.notifyFinished()}).catch(a.l),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){var t;this._animation||(null===(t=this.keyframeResolver)||void 0===t||t.resume(),(0,pt.q)());return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),null===(t=this.keyframeResolver)||void 0===t||t.cancel()}}var kt=n(28878),Rt=n(8689);const Lt={type:"spring",stiffness:500,damping:25,restSpeed:10},Bt={type:"keyframes",duration:.8},jt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},It=(t,e)=>{let n=e.keyframes;return n.length>2?Bt:Rt.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:Lt:jt},Ot=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const _t=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0;return u=>{const c=(0,kt.r)(r,t)||{},h=c.delay||r.delay||0;let d=r.elapsed,m=void 0===d?0:d;m-=(0,o.f)(h);const v=(0,i.A)((0,i.A)({keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity()},c),{},{delay:-m,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{u(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:l?void 0:a});(function(t){for(const e in t)if(!Ot.has(e))return!0;return!1})(c)||Object.assign(v,It(t,v)),v.duration&&(v.duration=(0,o.f)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,o.f)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let f=!1;if((!1===v.type||0===v.duration&&!v.repeatDelay)&&(wt(v),0===v.delay&&(f=!0)),(s.W.instantAnimations||s.W.skipAnimations||null!==a&&void 0!==a&&a.shouldSkipAnimations||c.skipAnimations)&&(f=!0,wt(v),v.delay=0),v.allowFlatten=!c.type&&!c.ease,f&&!l&&void 0!==e.get()){const t=(0,at.X)(v.keyframes,c);if(void 0!==t)return void p.Gt.update(()=>{v.onUpdate(t),v.onComplete()})}return c.isSync?new dt(v):new Mt(v)}}},97225(t,e,n){n.d(e,{_:()=>A});var i=n(75829),o=n(89379),s=n(53986),r=n(28878),a=n(79690),l=n(70462),u=n(24142),c=n(22993),h=n(73070),d=n(65532),p=n(98412);const m=["transition","transitionEnd"];function v(t,e){let n=t.protectedKeys,i=t.needsAnimating;const o=n.hasOwnProperty(e)&&!0!==i[e];return i[e]=!1,o}function f(t,e){var n,i,f;let g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},y=g.delay,x=void 0===y?0:y,A=g.transitionOverride,T=g.type,E=e.transition,w=e.transitionEnd,P=(0,s.A)(e,m);const S=t.getDefaultTransition();E=E?(0,a.K)(E,S):S;const F=null===(n=E)||void 0===n?void 0:n.reduceMotion,b=null===(i=E)||void 0===i?void 0:i.skipAnimations;A&&(E=A);const C=[],D=T&&t.animationState&&t.animationState.getState()[T],V=null===(f=E)||void 0===f?void 0:f.path;V&&V.animateVisualElement(t,P,E,x,C);for(const s in P){var M;const e=t.getValue(s,null!==(M=t.latestValues[s])&&void 0!==M?M:null),n=P[s];if(void 0===n||D&&v(D,s))continue;const i=(0,o.A)({delay:x},(0,r.r)(E||{},s));b&&(i.skipAnimations=!0);const a=e.get();if(void 0!==a&&!e.isAnimating()&&!Array.isArray(n)&&n===a&&!i.velocity){p.Gt.update(()=>e.set(n));continue}let u=!1;if(window.MotionHandoffAnimation){const e=(0,h.P)(t);if(e){const t=window.MotionHandoffAnimation(e,s,p.Gt);null!==t&&(i.startTime=t,u=!0)}}(0,c.g)(t,s);const m=null!==F&&void 0!==F?F:t.shouldReduceMotion;e.start((0,d.f)(s,e,n,m&&l.$.has(s)?{type:!1}:i,t,u));const f=e.animation;f&&C.push(f)}if(w){const e=()=>p.Gt.update(()=>{w&&(0,u.U)(t,w)});C.length?Promise.all(C).then(e):e()}return C}var g=n(5544),y=n(94934);function x(t,e){var n;let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,i.K)(t,e,"exit"===s.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);let a=(r||{}).transition,l=void 0===a?t.getDefaultTransition()||{}:a;s.transitionOverride&&(l=s.transitionOverride);const u=r?()=>Promise.all(f(t,r,s)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const i=l,r=i.delayChildren,a=void 0===r?0:r,u=i.staggerChildren,c=i.staggerDirection;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6?arguments[6]:void 0;const l=[];for(const u of t.variantChildren)u.notify("AnimationStart",e),l.push(x(u,e,(0,o.A)((0,o.A)({},a),{},{delay:n+("function"===typeof i?0:i)+(0,y.L)(t.variantChildren,u,i,s,r)})).then(()=>u.notify("AnimationComplete",e)));return Promise.all(l)}(t,e,n,a,u,c,s)}:()=>Promise.resolve(),h=l.when;if(h){const t="beforeChildren"===h?[u,c]:[c,u],e=(0,g.A)(t,2),n=e[0],i=e[1];return n().then(()=>i())}return Promise.all([u(),c(s.delay)])}function A(t,e){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e)){const i=e.map(e=>x(t,e,o));n=Promise.all(i)}else if("string"===typeof e)n=x(t,e,o);else{const s="function"===typeof e?(0,i.K)(t,e,o.custom):e;n=Promise.all(f(t,s,o))}return n.then(()=>{t.notify("AnimationComplete",e)})}},95583(t,e,n){n.d(e,{h:()=>p,q:()=>d});var i=n(5544);var o=n(20935),s=n(98412);const r=new Set;let a=!1,l=!1,u=!1;function c(){if(l){const t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=(0,o.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);
1e&&e.forEach(e=>{var n;let o=(0,i.A)(e,2),s=o[0],r=o[1];null===(n=t.getValue(s))||void 0===n||n.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}l=!1,a=!1,r.forEach(t=>t.complete(u)),r.clear()}function h(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(l=!0)})}function d(){u=!0,h(),c(),u=!1}class p{constructor(t,e,n,i,o){let s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),a||(a=!0,s.Gt.read(h),s.Gt.resolveKeyframes(c))):(this.readKeyframes(),this.complete())}readKeyframes(){const t=this.unresolvedKeyframes,e=this.name,n=this.element,i=this.motionValue;if(null===t[0]){const o=null===i||void 0===i?void 0:i.get(),s=t[t.length-1];if(void 0!==o)t[0]=o;else if(n&&e){const i=n.readValue(e,s);void 0!==i&&null!==i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===o&&i.set(t[0])}!function(t){for(let n=1;n<t.length;n++){var e;null!==(e=t[n])&&void 0!==e||(t[n]=t[n-1])}}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},24569(t,e,n){n.d(e,{X:()=>o});const i=t=>null!==t;function o(t,e,n){let o=e.repeat,s=e.repeatType,r=void 0===s?"loop":s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const l=t.filter(i),u=a<0||o&&"loop"!==r&&o%2===1?0:l.length-1;return u&&void 0!==n?n:l[u]}},97445(t,e,n){n.d(e,{Z:()=>s});var i=n(2349),o=n(71853);function s(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const r=(0,i.q)(0,e,s);t.push((0,o.k)(n,1,r))}}(e,t.length-1),e}},20935(t,e,n){n.d(e,{E4:()=>a,Hr:()=>h,W9:()=>c});var i=n(42667),o=n(8689),s=n(20708),r=n(87449);const a=t=>t===s.ai||t===r.px,l=new Set(["x","y","z"]),u=o.U.filter(t=>!l.has(t));function c(t){const e=[];return u.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const h={width:(t,e)=>{let n=t.x,i=e.paddingLeft,o=void 0===i?"0":i,s=e.paddingRight,r=void 0===s?"0":s,a=e.boxSizing;const l=n.max-n.min;return"border-box"===a?l:l-parseFloat(o)-parseFloat(r)},height:(t,e)=>{let n=t.y,i=e.paddingTop,o=void 0===i?"0":i,s=e.paddingBottom,r=void 0===s?"0":s,a=e.boxSizing;const l=n.max-n.min;return"border-box"===a?l:l-parseFloat(o)-parseFloat(r)},top:(t,e)=>{let n=e.top;return parseFloat(n)},left:(t,e)=>{let n=e.left;return parseFloat(n)},bottom:(t,e)=>{let n=t.y,i=e.top;return parseFloat(i)+(n.max-n.min)},right:(t,e)=>{let n=t.x,i=e.left;return parseFloat(i)+(n.max-n.min)},x:(t,e)=>{let n=e.transform;return(0,i.ry)(n,"x")},y:(t,e)=>{let n=e.transform;return(0,i.ry)(n,"y")}};h.translateX=h.x,h.translateY=h.y},12692(t,e,n){n.d(e,{n:()=>i});const i="data-"+(0,n(96914).I)("framerAppearId")},73070(t,e,n){n.d(e,{P:()=>o});var i=n(12692);function o(t){return t.props[i.n]}},4989(t,e,n){n.d(e,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},94934(t,e,n){function i(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),r=t.size,a=(r-1)*i;return"function"===typeof n?n(s,r):1===o?s*i:a-s*i}n.d(e,{L:()=>i})},28878(t,e,n){n.d(e,{r:()=>o});var i=n(79690);function o(t,e){var n,o;const s=null!==(n=null!==(o=null===t||void 0===t?void 0:t[e])&&void 0!==o?o:null===t||void 0===t?void 0:t.default)&&void 0!==n?n:t;return s!==t?(0,i.K)(s,t):s}},32001(t,e,n){n.d(e,{j4:()=>
1o,pG:()=>r,rm:()=>l});const i=t=>e=>"string"===typeof e&&e.startsWith(t),o=i("--"),s=i("var(--"),r=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)$/i;function l(t){return"string"===typeof t&&t.split("/*")[0].includes("var(--")}},79690(t,e,n){n.d(e,{K:()=>r});var i=n(89379),o=n(53986);const s=["inherit"];function r(t,e){if(null!==t&&void 0!==t&&t.inherit&&e){t.inherit;const n=(0,o.A)(t,s);return(0,i.A)((0,i.A)({},e),n)}return t}},44297(t,e,n){n.d(e,{M:()=>i});const i=new Set(["opacity","clipPath","filter","transform"])},33370(t,e,n){n.d(e,{K:()=>i});const i=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i="";const o=Math.max(Math.round(e/n),2);for(let s=0;s<o;s++)i+=Math.round(1e4*t(s/(o-1)))/1e4+", ";return"linear(".concat(i.substring(0,i.length-2),")")}},11422(t,e,n){n.d(e,{I:()=>r});var i=n(52896);const o=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=n(47151);function r(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=o.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,o=!1,r=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},u=0;function c(e){a.has(e)&&(h.schedule(e),t()),u++,e(l)}const h={schedule:function(t){const e=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o?n:i;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),e.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>{if(l=t,o)return void(r=!0);o=!0;const a=n;n=i,i=a,n.forEach(c),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,n.clear(),o=!1,r&&(r=!1,h.process(t))}};return h}(l,e?n:void 0),t),{}),c=u.setup,h=u.read,d=u.resolveKeyframes,p=u.preUpdate,m=u.update,v=u.preRender,f=u.render,g=u.postRender,y=()=>{const o=i.W.useManualTiming,s=o?a.timestamp:performance.now();n=!1,o||(a.delta=r?1e3/60:Math.max(Math.min(s-a.timestamp,40),1)),a.timestamp=s,a.isProcessing=!0,c.process(a),h.process(a),d.process(a),p.process(a),m.process(a),v.process(a),f.process(a),g.process(a),a.isProcessing=!1,n&&e&&(r=!1,t(y))},x=o.reduce((e,i)=>{const o=u[i];return e[i]=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(n=!0,r=!0,a.isProcessing||t(y)),o.schedule(e,i,s)},e},{});return{schedule:x,cancel:t=>{for(let e=0;e<o.length;e++)u[o[e]].cancel(t)},state:a,steps:u}}},98412(t,e,n){n.d(e,{Gt:()=>s,PP:()=>l,WG:()=>r,uv:()=>a});var i=n(64760);const o=(0,n(11422).I)("undefined"!==typeof requestAnimationFrame?requestAnimationFrame:i.l,!0),s=o.schedule,r=o.cancel,a=o.state,l=o.steps},27178(t,e,n){n.d(e,{k:()=>a});var i=n(52896),o=n(98412);let s;function r(){s=void 0}const a={now:()=>(void 0===s&&a.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(r)}}},42667(t,e,n){n.d(e,{Ib:()=>d,ry:()=>h,zs:()=>c});const i=t=>180*t/Math.PI,o=t=>{const e=i(Math.atan2(t[1],t[0]));return r(e)},s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:o,rotateZ:o,skewX:t=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},r=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>r(i(Math.atan2(t[6],t[5]))),rotateY:t=>r(i(Math.atan2(-t[2],t[0]))),rotateZ:o,rotate:o,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function c(t){return t.includes("scale")?1:0}function h(t,e){if(!t||"none"===t)return c(e);const n=t.match(/^matrix3d\(([\t-\r ,-\.0-9e\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)\)$/);let i,o;if(n)i=u,o=n;else{const e=t.match(/^matrix\(([\t-\r ,-\.0-9e\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)\)$/);i=s,o=e}if(!o)return c(e);const r=i[e],a=o[1].split(",").map(p);return"function"===typeof r?r(a):a[r]}const d=(t,e)=>{const n=getComputedStyle(t).transform;return h(void 0===n?"none":n,e)};function p(t){return parseFloat(t.trim())}},74094(t,e,n){n.d(e,{e:()=>i});function i(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}},96914(t,e,n){function i(t){return t.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase()))}n.d(e,{I:()=>i})},44308(t,e,n){n.d(e,{p:()=>i});const i=t=>Array.isArray(t)},70462(t,e,n){n.d(e,{$:()=>o});var i=n(8689);const o=new Set(["width","height","top","left","right","bottom",...i.U])},8689(t,e,n){n.d(e,{U:()=>i,f:()=>o});const i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=(()=>new Set([...i,"pathRotation"]))()},45398(t,e,n){n.d(e,{Uu:()=>s});var i=n(26437);const o="undefined"!==typeof window;function s(){if(i.r.current=!0,o)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.O.current=t.matches;t.addEventListener("change",e),e()}else i.O.current=!1}},26437(t,e,n){n.d(e,{O:()=>i,r:()=>o});const i={current:null},o={current:!1}},75829(t,e,n){n.d(e,{K:()=>o});var i=n(8281);function o(t,e,n){const o=t.getProps();return(0,i.a)(o,e,void 0!==n?n:o.custom,t)}},8281(t,e,n){n.d(e,{a:()=>s});var i=n(5544);function o(t){const e=[{},{}];
1return null===t||void 0===t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function s(t,e,n,s){if("function"===typeof e){const r=o(s),a=(0,i.A)(r,2),l=a[0],u=a[1];e=e(void 0!==n?n:t.custom,l,u)}if("string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e){const r=o(s),a=(0,i.A)(r,2),l=a[0],u=a[1];e=e(void 0!==n?n:t.custom,l,u)}return e}},24142(t,e,n){n.d(e,{U:()=>h});var i=n(89379),o=n(53986),s=n(7189),r=n(75829),a=n(44308);const l=["transitionEnd","transition"];function u(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,s.OQ)(n))}function c(t){return(0,a.p)(t)?t[t.length-1]||0:t}function h(t,e){let n=(0,r.K)(t,e)||{},s=n.transitionEnd,a=void 0===s?{}:s,h=(n.transition,(0,o.A)(n,l));h=(0,i.A)((0,i.A)({},h),a);for(const i in h){u(t,i,c(h[i]))}}},42115(t,e,n){n.d(e,{X:()=>f});var i=n(75749),o=n(78297);const s=new WeakMap;let r;const a=(t,e,n)=>(o,s)=>s&&s[0]?s[0][t+"Size"]:(0,i.x)(o)&&"getBBox"in o?o.getBBox()[e]:o[n],l=a("inline","width","offsetWidth"),u=a("block","height","offsetHeight");function c(t){var e;let n=t.target,i=t.borderBoxSize;null===(e=s.get(n))||void 0===e||e.forEach(t=>{t(n,{get width(){return l(n,i)},get height(){return u(n,i)}})})}function h(t){t.forEach(c)}function d(t,e){r||"undefined"!==typeof ResizeObserver&&(r=new ResizeObserver(h));const n=(0,o.K)(t);return n.forEach(t=>{var n;let i=s.get(t);i||(i=new Set,s.set(t,i)),i.add(e),null===(n=r)||void 0===n||n.observe(t)}),()=>{n.forEach(t=>{const n=s.get(t);var i;(null===n||void 0===n||n.delete(e),null!==n&&void 0!==n&&n.size)||(null===(i=r)||void 0===i||i.unobserve(t))})}}const p=new Set;let m;function v(t){return p.add(t),m||(m=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",m)),()=>{p.delete(t),p.size||"function"!==typeof m||(window.removeEventListener("resize",m),m=void 0)}}function f(t,e){return"function"===typeof t?v(t):d(t,e)}},8523(t,e,n){n.d(e,{q:()=>i});const i={layout:0,mainThread:0,waapi:0}},47151(t,e,n){n.d(e,{Q:()=>i});const i={value:null,addProjectionMetrics:null}},26744(t,e,n){n.d(e,{G:()=>c});var i=n(217),o=n(31868),s=n(52896),r=n(64760),a=n(98560),l=n(2349),u=n(27550);function c(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=n.clamp,h=void 0===c||c,d=n.ease,p=n.mixer;const m=t.length;if((0,o.V)(m===e.length,"Both input and output ranges must be the same length","range-length"),1===m)return()=>e[0];if(2===m&&e[0]===e[1])return()=>e[1];const v=t[0]===t[1];t[0]>t[m-1]&&(t=[...t].reverse(),e=[...e].reverse());const f=function(t,e,n){const i=[],o=n||s.W.mix||u.j,l=t.length-1;for(let s=0;s<l;s++){let n=o(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]||r.l:e;n=(0,a.F)(t,n)}i.push(n)}return i}(e,d,p),g=f.length,y=n=>{if(v&&n<t[0])return e[0];let i=0;if(g>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const o=(0,l.q)(t[i],t[i+1],n);return f[i](o)};return h?e=>y((0,i.q)(t[0],t[m-1],e)):y}},8676(t,e,n){n.d(e,{s:()=>o});var i=n(18328);function o(t){return(0,i.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},75749(t,e,n){n.d(e,{x:()=>o});var i=n(18328);function o(t){return(0,i.G)(t)&&"ownerSVGElement"in t}},27550(t,e,n){n.d(e,{j:()=>S});var i=n(89379),o=n(98560),s=n(31868),r=n(32001),a=n(76087),l=n(72326),u=n(65040),c=n(2879);function h(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var d=n(58123);function p(t,e){return n=>n>0?e:t}var m=n(71853);const v=(t,e,n)=>{const i=t*t,o=n*(e*e-i)+i;return o<0?0:Math.sqrt(o)},f=[u.u,d.B,c.V];function g(t){const e=(n=t,f.find(t=>t.test(n)));var n;if((0,s.$)(Boolean(e),"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!Boolean(e))return!1;let i=e.parse(t);return e===c.V&&(i=function(t){let e=t.hue,n=t.saturation,i=t.lightness,o=t.alpha;e/=360,n/=100,i/=100;let s=0,r=0,a=0;if(n){const t=i<.5?i*(1+n):i+n-i*n,o=2*i-t;s=h(o,t,e+1/3),r=h(o,t,e),a=h(o,t,e-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:o}}(i)),i}const y=(t,e)=>{const n=g(t),o=g(e);if(!n||!o)return p(t,e);const s=(0,i.A)({},n);return t=>(s.red=v(n.red,o.red,t),s.green=v(n.green,o.green,t),s.blue=v(n.blue,o.blue,t),s.alpha=(0,m.k)(n.alpha,o.alpha,t),d.B.transform(s))},x=new Set(["none","hidden"]);function A(t,e){return n=>(0,m.k)(t,e,n)}function T(t){return"number"===typeof t?A:"string"===typeof t?(0,r.pG)(t)?p:a.y.test(t)?y:P:Array.isArray(t)?E:"object"===typeof t?a.y.test(t)?y:w:p}function E(t,e){const n=[...t],i=n.length,o=t.map((t,n)=>T(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=o[e](t);return n}}function w(t,e){const n=(0,i.A)((0,i.A)({},t),e),o={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(o[i]=T(t[i])(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}}const P=(t,e)=>{const n=l.f.createTransformer(e),i=(0,l.V)(t),r=(0,l.V)(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?x.has(t)&&!r.values.length||x.has(e)&&!i.values.length?function(t,e){return x.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,o.F)(E(function(t,e){const n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){var o;const r=e.types[s],a=t.indexes[r][i[r]],l=null!==(o=t.values[a])&&void 0!==o?o:0;n[s]=l,i[r]++}return n}(i,r),r.values),n):((0,s.$)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all c
1olors 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"),p(t,e))};function S(t,e,n){if("number"===typeof t&&"number"===typeof e&&"number"===typeof n)return(0,m.k)(t,e,n);return T(t)(t,e)}},71853(t,e,n){n.d(e,{k:()=>i});const i=(t,e,n)=>t+(e-t)*n},78297(t,e,n){function i(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"===typeof t){var i;let o=document;e&&(o=e.current);const s=null!==(i=null===n||void 0===n?void 0:n[t])&&void 0!==i?i:o.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}n.d(e,{K:()=>i})},60924(t,e,n){n.d(e,{J:()=>s});var i=n(99930);const o={};function s(t,e){const n=(0,i.p)(t);return()=>{var t;return null!==(t=o[e])&&void 0!==t?t:n()}}},43591(t,e,n){n.d(e,{J:()=>i});const i=(0,n(60924).J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline")},7189(t,e,n){n.d(e,{OQ:()=>u,bt:()=>a});var i=n(96317),o=n(94784),s=n(27178),r=n(98412);const a={current:void 0};class l{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=s.k.now();var n;if((this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev)&&(null===(n=this.events.change)||void 0===n||n.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),r.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;null===(t=this.events.change)||void 0===t||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,o.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,e;null===(t=this.dependents)||void 0===t||t.clear(),null===(e=this.events.destroy)||void 0===e||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},65040(t,e,n){n.d(e,{u:()=>o});var i=n(58123);const o={test:(0,n(38436).$)("#"),parse:function(t){let e="",n="",i="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,i+=i,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:o?parseInt(o,16)/255:1}},transform:i.B.transform}},2879(t,e,n){n.d(e,{V:()=>a});var i=n(20708),o=n(87449),s=n(45330),r=n(38436);const a={test:(0,r.$)("hsl","hue"),parse:(0,r.q)("hue","saturation","lightness"),transform:t=>{let e=t.hue,n=t.saturation,r=t.lightness,a=t.alpha,l=void 0===a?1:a;return"hsla("+Math.round(e)+", "+o.KN.transform((0,s.a)(n))+", "+o.KN.transform((0,s.a)(r))+", "+(0,s.a)(i.X4.transform(l))+")"}}},76087(t,e,n){n.d(e,{y:()=>r});var i=n(65040),o=n(2879),s=n(58123);const r={test:t=>s.B.test(t)||i.u.test(t)||o.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):o.V.test(t)?o.V.parse(t):i.u.parse(t),transform:t=>"string"===typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):o.V.transform(t),getAnimatableNone:t=>{const e=r.parse(t);return e.alpha=0,r.transform(e)}}},58123(t,e,n){n.d(e,{B:()=>u});var i=n(89379),o=n(217),s=n(20708),r=n(45330),a=n(38436);const l=(0,i.A)((0,i.A)({},s.ai),{},{transform:t=>Math.round((t=>(0,o.q)(0,255,t))(t))}),u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:t=>{let e=t.red,n=t.green,i=t.blue,o=t.alpha,a=void 0===o?1:o;return"rgba("+l.transform(e)+", "+l.transform(n)+", "+l.transform(i)+", "+(0,r.a)(s.X4.transform(a))+")"}}},38436(t,e,n){n.d(e,{$:()=>r,q:()=>a});var i=n(5544),o=n(88085);const s=/^(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))$/i,r=(t,e)=>n=>Boolean("string"===typeof n&&s.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),a=(t,e,n)=>s=>{if("string"!==typeof s)return s;const r=s.match(o.S),a=(0,i.A)(r,4),l=a[0],u=a[1],c=a[2],h=a[3];return{[t]:parseFloat(l),[e]:parseFloat(u),[n]:parseFloat(c),alpha:void 0!==h?parseFloat(h):1}}},72326(t,e,n){n.d(e,{V:()=>c,f:()=>p});var i=n(76087);const o=/(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))/gi;var s=n(88085),r=n(45330);const a="number",l="color",u=/var[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)|#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\)|-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/gi;function c(t){const e=t.toString(),n=[],o={color:[],number:[],var:[]},s=[];let r=0;const c=e.replace(u,t=>(i.y.test(t)?(o.color.push(r),s.push(l),n.push(i.y.parse(t))):t.startsWith("var(")?(o.var.push(r),s.push("var"),n.push(t)):(o.number.push(r),s.push(a),n.push(parseFloat(t))),++r,"${}")).split("${}");return{values:n,split:c,indexes:o,types:s}}function h(t){let e=t.split,n=t.types;const o=e.length;return t=>{let s="";for(let u=0;u<o;u++)if(s+=e[u],void 0!==t[u]){const e=n[u];s+=e===a?(0,r.a)(t[u]):e===l?i.y.transform(t[u]):t[u]}return s}}const d=(t,e)=>{return"number"===typeof t?null!==e&&void 0!==e&&e.trim().endsWith("/")?t:0:"number"===typeof(n=t)?0:i.y.test(n)?i.y.getAnimatableNone(n):n;var n};const p={test:function(t){var e,n;return isNaN(t)&&"string"===typeof t&&((null===(e=t.match(s.S))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(o)
1)||void 0===n?void 0:n.length)||0)>0},parse:function(t){return c(t).values},createTransformer:function(t){return h(c(t))},getAnimatableNone:function(t){const e=c(t);return h(e)(e.values.map((t,n)=>d(t,e.split[n])))}}},20708(t,e,n){n.d(e,{X4:()=>r,ai:()=>s,hs:()=>a});var i=n(89379),o=n(217);const s={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},r=(0,i.A)((0,i.A)({},s),{},{transform:t=>(0,o.q)(0,1,t)}),a=(0,i.A)((0,i.A)({},s),{},{default:1})},87449(t,e,n){n.d(e,{KN:()=>r,gQ:()=>c,px:()=>a,uj:()=>s,vh:()=>l,vw:()=>u});var i=n(89379);const o=t=>({test:e=>"string"===typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),s=o("deg"),r=o("%"),a=o("px"),l=o("vh"),u=o("vw"),c=(()=>(0,i.A)((0,i.A)({},r),{},{parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}))()},88085(t,e,n){n.d(e,{S:()=>i});const i=/-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/g},45330(t,e,n){n.d(e,{a:()=>i});const i=t=>Math.round(1e5*t)/1e5},73964(t,e,n){n.d(e,{S:()=>i});const i=t=>Boolean(t&&t.getVelocity)},22993(t,e,n){n.d(e,{g:()=>s});var i=n(52896),o=n(73964);function s(t,e){const n=t.getValue("willChange");if(s=n,Boolean((0,o.S)(s)&&s.add))return n.add(e);if(!n&&i.W.WillChange){const n=new i.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}var s}},69755(t,e,n){function i(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>o,Kq:()=>i})},217(t,e,n){n.d(e,{q:()=>i});const i=(t,e,n)=>n>e?e:n<t?t:n},42427(t,e,n){n.d(e,{po:()=>s,tn:()=>a,yT:()=>r});var i=n(79086),o=n(71827);const s=t=>1-Math.sin(Math.acos(t)),r=(0,o.G)(s),a=(0,i.V)(s)},79086(t,e,n){n.d(e,{V:()=>i});const i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},71827(t,e,n){n.d(e,{G:()=>i});const i=t=>e=>1-t(1-e)},12506(t,e,n){n.d(e,{D:()=>i});const i=t=>Array.isArray(t)&&"number"===typeof t[0]},31868(t,e,n){function i(t,e){return e?"".concat(t,". For more information and steps for solving, visit https://motion.dev/troubleshooting/").concat(e):t}var o;n.d(e,{V:()=>r,$:()=>s});let s=()=>{},r=()=>{};"undefined"!==typeof process&&"production"!==(null===(o={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_NAME:"Gary Riger",REACT_APP_VERCEL_GIT_PROVIDER:"github",REACT_APP_VERCEL_PROJECT_ID:"prj_A5c8ZMv75ibxQVceA3I7GjPny9oD",REACT_APP_VERCEL_GIT_PULL_REQUEST_ID:"",REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG:'{"analytics":{"scriptSrc":"8f81e36d25c71756/script.js","viewEndpoint":"8f81e36d25c71756/view","eventEndpoint":"8f81e36d25c71756/event","sessionEndpoint":"8f81e36d25c71756/session"},"speedInsights":{"scriptSrc":"1e9f61cb490e195d/script.js","endpoint":"1e9f61cb490e195d/vitals"}}',REACT_APP_VERCEL_BRANCH_URL:"based-git-main-trybased.vercel.app",REACT_APP_VERCEL_GIT_COMMIT_MESSAGE:"Merge pull request #72 from grigerny/cursor/fix-doc-path-route-92cd\n\nfix: /doc/:id white screen \u2014 redirect to /?doc=",REACT_APP_VERCEL_DEPLOYMENT_ID:"dpl_AGjsSaVrRaABU1cBfdrSwYgrbTnK",REACT_APP_VERCEL_GIT_REPO_SLUG:"knowledge-base-saas",REACT_APP_VERCEL_TARGET_ENV:"production",REACT_APP_VERCEL_GIT_COMMIT_SHA:"3652b2969ded46d64de91ec6acc78f22cc8c6ae4",REACT_APP_VERCEL_ENV:"production",REACT_APP_VERCEL_GIT_COMMIT_REF:"main",REACT_APP_VERCEL_URL:"based-hwwo5zpxx-trybased.vercel.app",REACT_APP_VERCEL_PROJECT_PRODUCTION_URL:"www.trybased.com",REACT_APP_VERCEL_GIT_PREVIOUS_SHA:"",REACT_APP_VERCEL_GIT_REPO_ID:"980833582",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_LOGIN:"grigerny",REACT_APP_VERCEL_GIT_REPO_OWNER:"grigerny"})||void 0===o?void 0:o.NODE_ENV)&&(s=(t,e,n)=>{t||"undefined"===typeof console||console.warn(i(e,n))},r=(t,e,n)=>{if(!t)throw new Error(i(e,n))})},52896(t,e,n){n.d(e,{W:()=>i});const i={}},18328(t,e,n){n.d(e,{G:()=>i});const i=t=>"object"===typeof t&&null!==t},99930(t,e,n){function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{p:()=>i})},64760(t,e,n){n.d(e,{l:()=>i});const i=t=>t},98560(t,e,n){n.d(e,{F:()=>i});const i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((t,e)=>n=>e(t(n)))}},2349(t,e,n){n.d(e,{q:()=>i});const i=(t,e,n)=>{const i=e-t;return i?(n-t)/i:1}},96317(t,e,n){n.d(e,{v:()=>o});var i=n(69755);class o{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},13084(t,e,n){n.d(e,{X:()=>o,f:()=>i});const i=t=>1e3*t,o=t=>t/1e3},94784(t,e,n){n.d(e,{f:()=>i});const i=(t,e)=>e?t*(1e3/e):0}}]); 2//# sourceMappingURL=5607.2bcd52d9.chunk.js.map
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.