PageSourceSearch

https://upsidelab.io/_next/static/chunks/3736-26c97acf0a7cb7be.js

js upsidelab.io collected 2026-09-30 05:06:20 UTC 103,825 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3736],{3736:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(8607),s=i(66142);let r=function(t,e){if("undefined"==typeof Proxy)return s.G;let i=new Map,n=(i,n)=>(0,s.G)(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,a)=>"create"===a?n:(i.has(a)||i.set(a,(0,s.G)(a,void 0,t,e)),i.get(a))})}(i(91362).F,n.J)},7513:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>s});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),s=()=>({x:n(),y:n()}),r=()=>({min:0,max:0}),a=()=>({x:r(),y:r()})},8062:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var n=i(43337),s=i(29936),r=i(14191);function a(t){return(0,n.N)(t.animate)||r._.some(e=>(0,s.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},8607:(t,e,i)=>{i.d(e,{J:()=>ta});var n=i(20115),s=i(20938),r=i(59016),a=i(56710),o=i(89810),l=i(23749),h=i(42023),u=i(27782);let d=t=>e=>e.test(t),c=[h.ai,u.px,u.KN,u.uj,u.vw,u.vh,{test:t=>"auto"===t,parse:t=>t}],p=t=>c.find(d(t));var m=i(64711);let f=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),v=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var y=i(28120);let g=t=>/^0[^.\s]+$/u.test(t);var x=i(28633),T=i(25102);let w=new Set(["brightness","contrast","saturate","opacity"]);function P(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(T.S)||[];if(!n)return t;let s=i.replace(n,""),r=+!!w.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let S=/\b([a-z-]*)\(.*?\)/gu,b={...x.f,getAnimatableNone:t=>{let e=t.match(S);return e?e.map(P).join(" "):t}};var A=i(7368);let M={...i(88817).W,color:A.y,backgroundColor:A.y,outlineColor:A.y,fill:A.y,stroke:A.y,borderColor:A.y,borderTopColor:A.y,borderRightColor:A.y,borderBottomColor:A.y,borderLeftColor:A.y,filter:b,WebkitFilter:b},k=t=>M[t];function V(t,e){let i=k(t);return i!==b&&(i=x.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let E=new Set(["auto","none","0"]);var D=i(95712);class C extends y.h{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,a.p)(n))){let s=function t(e,i,n=1){(0,m.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=v.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return f(t)?parseFloat(t):t}return(0,a.p)(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!l.$.has(i)||2!==t.length)return;let[n,s]=t,r=p(n),o=p(s);if(r!==o)if((0,D.E4)(r)&&(0,D.E4)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else D.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||g(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!E.has(e)&&(0,x.V)(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=V(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=D.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=D.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var R=i(77803),j=i(25117),L=i(86387),B=i(15290);let F=[...c,A.y,x.f];var O=i(29227),I=i(99911),U=i(53031),W=i(7513),N=i(37396),$=i(85747);let G=new WeakMap;var H=i(8062),X=i(45482);let Y=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class z{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:s,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=y.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=j.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,L.Gt.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,H.e)(e),this.isVariantNode=(0,H.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in u){let e=u[t];void 0!==o[t]&&(0,R.S)(e)&&e.set(o[t],!1)}}mount(t){this.current=t,G.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)),$.r.current||(0,N.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||$.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,L.WG)(this.notifyUpdate),(0,L.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=s.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&L.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),a(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in U.B){let e=U.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,W.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<Y.length;e++){let i=Y[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if((0,R.S)(s))t.addValue(n,s);else if((0,R.S)(r))t.addValue(n,(0,B.OQ)(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,B.OQ)(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);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){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,B.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(f(i)||g(i)))i=parseFloat(i);else{let n;n=i,!F.find(d(n))&&x.f.test(e)&&(i=V(t,e))}this.setBaseTarget(t,(0,R.S)(i)?i.get():i)}return(0,R.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,X.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,R.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new I.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){O.k.render(this.render)}}class K extends z{constructor(){super(...arguments),this.KeyframeResolver=C}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,R.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var Q=i(41206);function q(t,{style:e,vars:i},n,s){let r,a=t.style;for(r in e)a[r]=e[r];for(r in s?.applyProjectionStyles(a,n),i)a.setProperty(r,i[r])}var _=i(53213);class Z extends K{constructor(){super(...arguments),this.type="html",this.renderInstance=q}readValueFromInstance(t,e){if(s.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,a.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,Q.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,_.x)(t,e,i)}}var J=i(49181),tt=i(23694);let te=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"]);var ti=i(11122),tn=i(10078);class ts extends K{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.f.has(e)){let t=k(e);return t&&t.default||0}return e=te.has(e)?e:(0,J.I)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return(0,tn.x)(t,e,i)}build(t,e,i){(0,tt.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in q(t,e,void 0,n),e.attrs)t.setAttribute(te.has(i)?i:(0,J.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,ti.n)(t.tagName),super.mount(t)}}var tr=i(71109);let ta=(t,e)=>(0,tr.Q)(t)?new ts(e):new Z(e,{allowProjection:t!==n.Fragment})},10078:(t,e,i)=>{i.d(e,{x:()=>a});var n=i(77803),s=i(20938),r=i(53213);function a(t,e,i){let a=(0,r.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(a[-1!==s.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},11122:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},11621:(t,e,i)=>{i.d(e,{u:()=>s});var n=i(77803);function s(t){return(0,n.S)(t)?t.get():t}},14033:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(20115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},14191:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>s});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...n]},20938:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>s});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(n)},21666:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>c,hq:()=>r,o4:()=>l});var n=i(57954),s=i(53097);function r(t,e,i){return i+e*(t-i)}function a(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function o(t,e=0,i=1,n,s){t.min=a(t.min,e,i,n,s),t.max=a(t.max,e,i,n,s)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,n=!1){let r,a,o=i.length;if(o){e.x=e.y=1;for(let h=0;h<o;h++){a=(r=i[h]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&c(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),n&&(0,s.HD)(r.latestValues)&&c(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,s,r=.5){let a=(0,n.k)(t.min,t.max,r);o(t,e,i,a,s)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},23694:(t,e,i)=>{i.d(e,{B:()=>o});var n=i(41206),s=i(27782);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function o(t,{attrX:e,attrY:i,attrScale:o,pathLength:l,pathSpacing:h=1,pathOffset:u=0,...d},c,p,m){if((0,n.O)(t,d,p),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:v}=t;f.transform&&(v.transform=f.transform,delete f.transform),(v.transform||f.transformOrigin)&&(v.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==o&&(f.scale=o),void 0!==l&&function(t,e,i=1,n=0,o=!0){t.pathLength=1;let l=o?r:a;t[l.offset]=s.px.transform(-n);let h=s.px.transform(e),u=s.px.transform(i);t[l.array]=`${h} ${u}`}(f,l,h,u,!1)}},23749:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(20938).U])},28120:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(95712),s=i(86387);let r=new Set,a=!1,o=!1,l=!1;function h(){if(o){let t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,r.forEach(t=>t.complete(l)),r.clear()}function u(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,u(),h(),l=!1}class c{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),a||(a=!0,s.Gt.read(u),s.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;
1if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){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()}}},29227:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(89836).I)(queueMicrotask,!1)},29936:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},37396:(t,e,i)=>{i.d(e,{U:()=>r});var n=i(87751),s=i(85747);function r(){if(s.r.current=!0,n.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>s.O.current=t.matches;t.addEventListener("change",e),e()}else s.O.current=!1}},37960:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(20115).createContext)(null)},41206:(t,e,i)=>{i.d(e,{O:()=>h});var n=i(20938),s=i(56710);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var a=i(88817);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.U.length;function h(t,e,i){let{style:h,vars:u,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(n.f.has(t)){c=!0;continue}if((0,s.j)(t)){u[t]=i;continue}{let e=r(i,a.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}if(!e.transform&&(c||i?h.transform=function(t,e,i){let s="",h=!0;for(let u=0;u<l;u++){let l=n.U[u],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=r(d,a.W[l]);if(!c){h=!1;let e=o[l]||l;s+=`${e}(${t}) `}i&&(e[l]=t)}}return s=s.trim(),i?s=i(e,h?"":s):h&&(s="none"),s}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin=`${t} ${e} ${i}`}}},41330:(t,e,i)=>{i.d(e,{$:()=>r,H:()=>s});var n=i(56710);let s={};function r(t){for(let e in t)s[e]=t[e],(0,n.j)(e)&&(s[e].isCSSVariable=!0)}},41759:(t,e,i)=>{i.d(e,{xQ:()=>r});var n=i(20115),s=i(37960);function r(t=!0){let e=(0,n.useContext)(s.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:a,register:o}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return o(l)},[t]);let h=(0,n.useCallback)(()=>t&&a&&a(l),[l,a,t]);return!i&&a?[!1,h]:[!0]}},43337:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},45482:(t,e,i)=>{function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function s(t,e,i,s){if("function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}return e}i.d(e,{a:()=>s})},49181:(t,e,i)=>{i.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},53031:(t,e,i)=>{i.d(e,{B:()=>s});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},s={};for(let t in n)s[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},53097:(t,e,i)=>{function n(t){return void 0===t||1===t}function s({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function r(t){return s(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>r,vF:()=>a,vk:()=>s})},53213:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(77803),s=i(58510);function r(t,e,i){let{style:r}=t,a={};for(let o in r)((0,n.S)(r[o])||e.style&&(0,n.S)(e.style[o])||(0,s.z)(o,t)||i?.getValue(o)?.liveStyle!==void 0)&&(a[o]=r[o]);return a}},55711:(t,e,i)=>{function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function s({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function r(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>r,pA:()=>s})},58510:(t,e,i)=>{i.d(e,{z:()=>r});var n=i(20938),s=i(41330);function r(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!s.H[t]||"opacity"===t)}},59016:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>u});let n=t=>180*t/Math.PI,s=t=>a(n(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:s,rotateZ:s,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:s,rotate:s,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return u(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=h,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,n=e}if(!n)return u(e);let a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},60006:(t,e,i)=>{i.d(e,{N:()=>n});let n=(0,i(20115).createContext)({})},60710:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(20115).createContext)({})},66142:(t,e,i)=>{i.d(e,{G:()=>U});var n=i(5555),s=i(20115),r=i(60710);let a=(0,s.createContext)({strict:!1});var o=i(14033);let l=(0,s.createContext)({});var h=i(8062),u=i(29936);function d(t){return Array.isArray(t)?t.join(" "):t}var c=i(77803),p=i(58510),m=i(41206);let f=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function v(t,e,i){for(let n in e)(0,c.S)(e[n])||(0,p.z)(n,i)||(t[n]=e[n])}var y=i(23694);let g=()=>({...f(),attrs:{}});var x=i(11122);let T=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function w(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||T.has(t)}let P=t=>!w(t);try{!function(t){"function"==typeof t&&(P=e=>e.startsWith("on")?!w(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var S=i(71109),b=i(43337),A=i(37960),M=i(45482),k=i(25122),V=i(11621);let E=t=>(e,i)=>{let n=(0,s.useContext)(l),r=(0,s.useContext)(A.t),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,s){return{latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=(0,V.u)(r[t]);let{initial:a,animate:o}=t,l=(0,h.e)(t),u=(0,h.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!(0,b.N)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=(0,M.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,n,s,t),renderState:e()}})(t,e,n,r);return i?a():(0,k.M)(a)},D=E({scrapeMotionValuesFromProps:i(53213).x,createRenderState:f}),C=E({scrapeMotionValuesFromProps:i(10078).x,createRenderState:g});var R=i(87751),j=i(53031);let L=Symbol.for("motionComponentSymbol");var B=i(87634),F=i(95715),O=i(60006),I=i(22187);function U(t){var e,i;let{forwardMotionProps:p=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},T=arguments.length>2?arguments[2]:void 0,b=arguments.length>3?arguments[3]:void 0;T&&function(t){for(let e in t)j.B[e]={...j.B[e],...t[e]}}(T);let M=(0,S.Q)(t)?C:D;function k(e,i){var T;let k,V={...(0,s.useContext)(o.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,s.useContext)(r.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:E}=V,D=function(t){let{initial:e,animate:i}=function(t,e){if((0,h.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,u.w)(e)?e:void 0,animate:(0,u.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(l));return(0,s.useMemo)(()=>({initial:e,animate:i}),[d(e),d(i)])}(e),C=M(e,E);if(!E&&R.B){(0,s.useContext)(a).strict;let e=function(t){let{drag:e,layout:i}=j.B;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(V);k=e.MeasureLayout,D.visualElement=function(t,e,i,n,r){let{visualElement:h}=(0,s.useContext)(l),u=(0,s.useContext)(a),d=(0,s.useContext)(A.t),c=(0,s.useContext)(o.Q).reducedMotion,p=(0,s.useRef)(null);n=n||u.renderer,!p.current&&n&&(p.current=n(t,{visualState:e,parent:h,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:c}));let m=p.current,f=(0,s.useContext)(O.N);m&&!m.projection&&r&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!a||o&&(0,B.X)(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:u,layoutScroll:l,layoutRoot:h})}(p.current,i,r,f);let v=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{m&&v.current&&m.update(i,d)});let y=i[F.n],g=(0,s.useRef)(!!y&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,I.E)(()=>{m&&(v.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,s.useEffect)(()=>{m&&(!g.current&&m.animationState&&m.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),g.current=!1))}),m}(t,C,V,b,e.ProjectionNode)}return(0,n.jsxs)(l.Provider,{value:D,children:[k&&D.visualElement?(0,n.jsx)(k,{visualElement:D.visualElement,...V}
1):null,function(t,e,i,{latestValues:n},r,a=!1){let o=((0,S.Q)(t)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=g();return(0,y.B)(i,e,(0,x.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};v(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return v(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=f();return(0,m.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,n,r,t),l=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(P(s)||!0===i&&w(s)||!e&&!w(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,a),h=t!==s.Fragment?{...l,...o,ref:i}:{},{children:u}=e,d=(0,s.useMemo)(()=>(0,c.S)(u)?u.get():u,[u]);return(0,s.createElement)(t,{...h,children:d})}(t,e,(T=D.visualElement,(0,s.useCallback)(t=>{t&&C.onMount&&C.onMount(t),T&&(t?T.mount(t):T.unmount()),i&&("function"==typeof i?i(t):(0,B.X)(i)&&(i.current=t))},[T])),C,E,p)]})}k.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let V=(0,s.forwardRef)(k);return V[L]=t,V}},71109:(t,e,i)=>{i.d(e,{Q:()=>s});let n=["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 s(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},77803:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},85747:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>s});let n={current:null},s={current:!1}},87634:(t,e,i)=>{i.d(e,{X:()=>n});function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},88817:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(42023);let s={...n.ai,transform:Math.round};var r=i(27782);let a={rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.X4,originX:r.gQ,originY:r.gQ,originZ:r.px},o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px,...a,zIndex:s,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:s}},89810:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>r});var n=i(55711),s=i(21666);function r(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=r(t,i),{scroll:a}=e;return a&&((0,s.Ql)(n.x,a.offset.x),(0,s.Ql)(n.y,a.offset.y)),n}},91362:(t,e,i)=>{i.d(e,{F:()=>i0});var n=i(43337),s=i(45482);function r(t,e,i){let n=t.getProps();return(0,s.a)(n,e,void 0!==i?i:n.custom,t)}function a(t,e){return t?.[e]??t?.default??t}var o=i(86387),l=i(23749),h=i(15290);let u=t=>Array.isArray(t);var d=i(91880),c=i(77803);function p(t,e){let i=t.getValue("willChange");if((0,c.S)(i)&&i.add)return i.add(e);if(!i&&d.W.WillChange){let i=new d.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var m=i(95715);function f(t){return t.props[m.n]}var v=i(11154),y=i(81001);let g=t=>1e3*t;var x=i(25117);let T={layout:0,mainThread:0,waapi:0};var w=i(93602);let P=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>o.Gt.update(e,t),stop:()=>(0,o.WG)(e),now:()=>o.uv.isProcessing?o.uv.timestamp:x.k.now()}},S=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function b(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}var A=i(84368);function M(t,e,i){let n=Math.max(e-5,0);return(0,A.f)(i-t(n),e-n)}let k={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var V=i(64711);function E(t,e){return t*Math.sqrt(1-e*e)}let D=["duration","bounce"],C=["stiffness","damping","mass"];function R(t,e){return e.some(e=>void 0!==t[e])}function j(t=k.visualDuration,e=k.bounce){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:r}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:h,damping:u,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:k.velocity,stiffness:k.stiffness,damping:k.damping,mass:k.mass,isResolvedFromDuration:!1,...t};if(!R(t,C)&&R(t,D))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,y.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:k.mass,stiffness:n,damping:s}}else{let i=function({duration:t=k.duration,bounce:e=k.bounce,velocity:i=k.velocity,mass:n=k.mass}){let s,r;(0,V.$)(t<=g(k.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=(0,y.q)(k.minDamping,k.maxDamping,a),t=(0,y.q)(k.minDuration,k.maxDuration,t/1e3),a<1?(s=e=>{let n=e*a,s=n*t;return .001-(n-i)/E(e,a)*Math.exp(-s)},r=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=E(Math.pow(e,2),a);return(n*i+i-r)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));
1let o=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=g(t),isNaN(o))return{stiffness:k.stiffness,damping:k.damping,duration:t};{let e=Math.pow(o,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:k.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),f=p||0,v=u/(2*Math.sqrt(h*d)),x=o-a,T=Math.sqrt(h/d)/1e3,w=5>Math.abs(x);if(s||(s=w?k.restSpeed.granular:k.restSpeed.default),r||(r=w?k.restDelta.granular:k.restDelta.default),v<1){let t=E(T,v);i=e=>o-Math.exp(-v*T*e)*((f+v*T*x)/t*Math.sin(t*e)+x*Math.cos(t*e))}else if(1===v)i=t=>o-Math.exp(-T*t)*(x+(f+T*x)*t);else{let t=T*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*T*e),n=Math.min(t*e,300);return o-i*((f+v*T*x)*Math.sinh(n)+t*x*Math.cosh(n))/t}}let P={calculatedDuration:m&&c||null,next:t=>{let e=i(t);if(m)l.done=t>=c;else{let n=0===t?f:0;v<1&&(n=0===t?g(f):M(i,t,e));let a=Math.abs(o-e)<=r;l.done=Math.abs(n)<=s&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(b(P),2e4),e=S(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}function L({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,y=void 0===a?v:a(v);y!==v&&(f=y-p);let g=t=>-f*Math.exp(-t/n),x=t=>y+g(t),T=t=>{let e=g(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=j({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:M(x,t,m.value),damping:s,stiffness:r,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,T(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||T(t),m)}}}j.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(b(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:s/1e3}}(t,100,j);return t.ease=e.ease,t.duration=g(e.duration),t.type="keyframes",t};var B=i(22546);let F=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function O(t,e,i,n){return t===e&&i===n?B.l:s=>0===s||1===s?s:F(function(t,e,i,n,s){let r,a,o=0;do(r=F(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12);return a}(s,0,1,t,i),e,n)}let I=O(.42,0,1,1),U=O(0,0,.58,1),W=O(.42,0,.58,1),N=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,$=t=>e=>1-t(1-e),G=O(.33,1.53,.69,.99),H=$(G),X=N(H),Y=t=>(t*=2)<1?.5*H(t):.5*(2-Math.pow(2,-10*(t-1))),z=t=>1-Math.sin(Math.acos(t)),K=$(z),Q=N(z),q=t=>Array.isArray(t)&&"number"==typeof t[0],_={linear:B.l,easeIn:I,easeInOut:W,easeOut:U,circIn:z,circInOut:Q,circOut:K,backIn:H,backInOut:X,backOut:G,anticipate:Y},Z=t=>{if(q(t)){(0,V.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return O(e,i,n,s)}return"string"==typeof t?((0,V.V)(void 0!==_[t],`Invalid easing type '${t}'`,"invalid-easing-type"),_[t]):t};var J=i(26191),tt=i(70146);function te({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r=Array.isArray(n)&&"number"!=typeof n[0]?n.map(Z):Z(n),a={done:!1,value:e[0]},o=(s=i&&i.length===e.length?i:(0,tt.Z)(e),s.map(e=>e*t)),l=(0,J.G)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||W).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let ti=t=>null!==t;function tn(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(ti),a=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==n?n:r[a]}let ts={decay:L,inertia:L,tween:te,keyframes:te,spring:j};function tr(t){"string"==typeof t.type&&(t.type=ts[t.type])}class ta{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)}}let to=t=>t/100;class tl extends ta{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==x.k.now()&&this.tick(x.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},T.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tr(t);let{type:e=te,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:a}=t,o=e||te;o!==te&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,v.F)(to,(0,w.j)(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=b(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:h,repeat:u,repeatType:d,repeatDelay:c,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,T=i;if(u){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,u+1))%2&&("reverse"===d?(i=1-i,c&&(i-=c/a)):"mirror"===d&&(T=r)),x=(0,y.q)(0,1,i)*a}let w=g?{done:!1,value:h[0]}:T.next(x);s&&(w.value=s(w.value));let{done:P}=w;g||null===o||(P=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return S&&p!==L&&(w.value=tn(h,this.options,f,this.speed)),m&&m(w.value),S&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(t){t=g(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(x.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=P,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(x.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,T.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var th=i(28120),tu=i(62724),td=i(57744),tc=i(82488);let tp={},tm=function(t,e){let i=(0,tc.p)(t);return()=>tp[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tf=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tf([0,.65,.55,1]),circOut:tf([.55,0,1,.45]),backIn:tf([.31,.01,.66,-.59]),backOut:tf([.33,1.53,.69,.99])};function ty(t){return"function"==typeof t&&"applyToOptions"in t}class tg extends ta{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,(0,V.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return ty(t)&&tm()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?tm()?S(e,i):"ease-out":q(e)?tf(e):Array.isArray(e)?e.map(e=>t(e,i)||tv.easeOut):tv[e]}(o,s);Array.isArray(d)&&(u.easing=d),td.Q.value&&T.waapi++;let c={delay:n,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return td.Q.value&&p.finished.finally(()=>{T.waapi--}),p}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tn(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=g(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,tu.J)())?(this.animation.timeline=t,B.l):e(this)}}let tx={anticipate:Y,backInOut:X,circInOut:Q};class tT extends tg{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tx&&(t.ease=tx[t.ease])}(t),tr(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new tl({...r,autoplay:!1}),o=g(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}var tw=i(28633);let tP=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tw.f.test(t)||"0"===t)&&!t.startsWith("url(")),tS=new Set(["opacity","clipPath","filter","transform"]),tb=(0,tc.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tA extends ta{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=x.k.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:o,motionValue:l,element:h,...u},c=h?.KeyframeResolver||th.h;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=x.k.now(),!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=tP(s,e),o=tP(r,e);return(0,V.$)(a===o,`You are trying to animate ${e} from "${s}" to "${r}". "${a?r:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ty(i))&&n)}(t,s,r,a)&&((d.W.instantAnimations||!o)&&h?.(tn(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let u={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return tb()&&i&&tS.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(u)?new tT({...u,element:u.motionValue.owner.current}):new tl(u);c.finished.then(()=>this.notifyFinished()).catch(B.l),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,th.q)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tM=t=>null!==t;var tk=i(20938);let tV={type:"spring",stiffness:500,damping:25,restSpeed:10},tE={type:"keyframes",duration:.8},tD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tC=(t,e,i,n={},s,r)=>l=>{let h=a(n,t)||{},u=h.delay||n.delay||0,{elapsed:c=0}=n;c-=g(u);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-c,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{l(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:s,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(h)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?tE:tk.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tV:tD)(t,p)),p.duration&&(p.duration=g(p.duration)),p.repeatDelay&&(p.repeatDelay=g(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(p.duration=0,0===p.delay&&(m=!0)),(d.W.instantAnimations||d.W.skipAnimations)&&(m=!0,p.duration=0,p.delay=0),p.allowFlatten=!h.type&&!h.ease,m&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let s=t.filter(tM),r=e&&"loop"!==i&&e%2==1?0:s.length-1;return s[r]}(p.keyframes,h);if(void 0!==t)return void o.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return h.isSync?new tl(p):new tA(p)};function tR(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:d=t.getDefaultTransition(),transitionEnd:c,...m}=e;n&&(d=n);let v=[],y=s&&t.animationState&&t.animationState.getState()[s];for(let e in m){let n=t.getValue(e,t.latestValues[e]??null),s=m[e];if(void 0===s||y&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(y,e))continue;let r={delay:i,...a(d||{},e)},h=n.get();if(void 0!==h&&!n.isAnimating&&!Array.isArray(s)&&s===h&&!r.velocity)continue;let u=!1;if(window.MotionHandoffAnimation){let i=f(t);if(i){let t=window.MotionHandoffAnimation(i,e,o.Gt);null!==t&&(r.startTime=t,u=!0)}}p(t,e),n.start(tC(e,n,s,t.shouldReduceMotion&&l.$.has(e)?{type:!1}:r,t,u));let c=n.animation;c&&v.push(c)}return c&&Promise.all(v).then(()=>{o.Gt.update(()=>{c&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=r(t,e)||{};for(let e in s={...s,...i}){var a;let i=u(a=s[e])?a[a.length-1]||0:a;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,h.OQ)(i))}}(t,c)})}),v}function tj(t,e,i={}){let n=r(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let a=n?()=>Promise.all(tR(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;
1return function(t,e,i=0,n=0,s=0,r=1,a){let o=[],l=t.variantChildren.size,h=(l-1)*s,u="function"==typeof n,d=u?t=>n(t,l):1===r?(t=0)=>t*s:(t=0)=>h-t*s;return Array.from(t.variantChildren).sort(tL).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(tj(t,e,{...a,delay:i+(u?0:n)+d(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n,r,a,o,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([a(),o(i.delay)]);{let[t,e]="beforeChildren"===l?[a,o]:[o,a];return t().then(()=>e())}}function tL(t,e){return t.sortNodePosition(e)}function tB(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var tF=i(29936),tO=i(14191);let tI=tO._.length,tU=[...tO.U].reverse(),tW=tO.U.length;function tN(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function t$(){return{animate:tN(!0),whileInView:tN(),whileHover:tN(),whileTap:tN(),whileDrag:tN(),whileFocus:tN(),exit:tN()}}class tG{constructor(t){this.isMounted=!1,this.node=t}update(){}}class tH extends tG{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>tj(t,e,i)));else if("string"==typeof e)n=tj(t,e,i);else{let s="function"==typeof e?r(t,e,i.custom):e;n=Promise.all(tR(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=t$(),s=!0,a=e=>(i,n)=>{let s=r(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function o(o){let{props:l}=t,h=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<tI;t++){let n=tO._[t],s=e.props[n];((0,tF.w)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},d=[],c=new Set,p={},m=1/0;for(let e=0;e<tW;e++){var f,v;let r=tU[e],y=i[r],g=void 0!==l[r]?l[r]:h[r],x=(0,tF.w)(g),T=r===o?y.isActive:null;!1===T&&(m=e);let w=g===h[r]&&g!==l[r]&&x;if(w&&s&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...p},!y.isActive&&null===T||!g&&!y.prevProp||(0,n.N)(g)||"boolean"==typeof g)continue;let P=(f=y.prevProp,"string"==typeof(v=g)?v!==f:!!Array.isArray(v)&&!tB(v,f)),S=P||r===o&&y.isActive&&!w&&x||e>m&&x,b=!1,A=Array.isArray(g)?g:[g],M=A.reduce(a(r),{});!1===T&&(M={});let{prevResolvedValues:k={}}=y,V={...k,...M},E=e=>{S=!0,c.has(e)&&(b=!0,c.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=M[t],i=k[t];if(!p.hasOwnProperty(t))(u(e)&&u(i)?tB(e,i):e===i)?void 0!==e&&c.has(t)?E(t):y.protectedKeys[t]=!0:null!=e?E(t):c.add(t)}y.prevProp=g,y.prevResolvedValues=M,y.isActive&&(p={...p,...M}),s&&t.blockInitialAnimation&&(S=!1);let D=!(w&&P)||b;S&&D&&d.push(...A.map(t=>({animation:t,options:{type:r}})))}if(c.size){let e={};if("boolean"!=typeof l.initial){let i=r(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),d.push({animation:e})}let y=!!d.length;return s&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?e(d):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=o(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=t$(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tX=0;class tY extends tG{constructor(){super(...arguments),this.id=tX++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let tz={x:!1,y:!1};var tK=i(27782),tQ=i(57954);function tq(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let t_=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tZ(t){return{point:{x:t.pageX,y:t.pageY}}}function tJ(t,e,i,n){return tq(t,e,t=>t_(t)&&i(t,tZ(t)),n)}var t0=i(55711);function t1(t){return t.max-t.min}function t2(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tQ.k)(e.min,e.max,t.origin),t.scale=t1(i)/t1(e),t.translate=(0,tQ.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function t3(t,e,i,n){t2(t.x,e.x,i.x,n?n.originX:void 0),t2(t.y,e.y,i.y,n?n.originY:void 0)}function t5(t,e,i){t.min=i.min+e.min,t.max=t.min+t1(e)}function t9(t,e,i){t.min=e.min-i.min,t.max=t.min+t1(e)}function t7(t,e,i){t9(t.x,e.x,i.x),t9(t.y,e.y,i.y)}var t8=i(7513);function t4(t){return[t("x"),t("y")]}var t6=i(89810);let et=({current:t})=>t?t.ownerDocument.defaultView:null;var ee=i(87634);let ei=(t,e)=>Math.abs(t-e);class en{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=ea(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ei(t.x,e.x)**2+ei(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:s}=o.uv;this.history.push({...n,timestamp:s});let{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=es(e,this.transformPagePoint),o.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=ea("pointercancel"===t.type?this.lastMoveEventInfo:es(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!t_(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;let a=es(tZ(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=o.uv;this.history=[{...l,timestamp:h}];let{onSessionStart:u}=e;u&&u(t,ea(a,this.history)),this.removeListeners=(0,v.F)(tJ(this.contextWindow,"pointermove",this.handlePointerMove),tJ(this.contextWindow,"pointerup",this.handlePointerUp),tJ(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,o.WG)(this.updatePoint)}}function es(t,e){return e?{point:e(t.point)}:t}function er(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ea({point:t},e){return{point:t,delta:er(t,eo(e)),offset:er(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,s=eo(t);for(;i>=0&&(n=t[i],!(s.timestamp-n.timestamp>g(.1)));)i--;if(!n)return{x:0,y:0};let r=(s.timestamp-n.timestamp)/1e3;if(0===r)return{x:0,y:0};let a={x:(s.x-n.x)/r,y:(s.y-n.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function eo(t){return t[t.length-1]}var el=i(41787);function eh(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function eu(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function ed(t,e,i){return{min:ec(t,e),max:ec(t,i)}}function ec(t,e){return"number"==typeof t?t:t[e]||0}let ep=new WeakMap;class em{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,t8.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tZ(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tz[t])return null;else return tz[t]=!0,()=>{tz[t]=!1};return tz.x||tz.y?null:(tz.x=tz.y=!0,()=>{tz.x=tz.y=!1})}(i),!this.openDragLock))return;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),t4(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tK.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=t1(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&o.Gt.postRender(()=>s(t,e)),p(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>t4(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new en(t,{onSessionStart:s,onStart:r,onMove:a,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:et(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&o.Gt.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ef(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,tQ.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tQ.k)(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&(0,ee.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:eh(t.x,i,s),y:eh(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ed(t,"left","right"),y:ed(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&t4(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,ee.X)(e))return!1;let n=e.current;(0,V.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=(0,t6.L)(n,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:eu(t.x,r.x),y:eu(t.y,r.y)});if(i){let t=i((0,t0.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,t0.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(t4(a=>{if(!ef(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return p(this.visualElement,t),i.start(tC(t,i,0,e,this.visualElement,!1))}stopAnimation(){t4(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){t4(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){t4(e=>{let{drag:i}=this.getProps();if(!ef(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e];s.set(t[e]-(0,tQ.k)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,ee.X)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};t4(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=t1(t),s=t1(e);return s>n?i=(0,el.q)(e.min,e.max-n,t.min):n>s&&(i=(0,el.q)(t.min,t.max-s,e.min)),(0,y.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),t4(e=>{if(!ef(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];
1i.set((0,tQ.k)(s,r,n[e]))})}addListeners(){if(!this.visualElement.current)return;ep.set(this.visualElement,this);let t=tJ(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,ee.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),o.Gt.read(e);let s=tq(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(t4(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),n(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:a}}}function ef(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ev extends tG{constructor(t){super(t),this.removeGroupControls=B.l,this.removeListeners=B.l,this.controls=new em(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||B.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let ey=t=>(e,i)=>{t&&o.Gt.postRender(()=>t(e,i))};class eg extends tG{constructor(){super(...arguments),this.removePointerDownListener=B.l}onPointerDown(t){this.session=new en(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:et(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ey(t),onStart:ey(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&o.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tJ(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ex=i(5555),eT=i(29227),ew=i(20115),eP=i(41759),eS=i(60710),eb=i(60006);let eA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eM(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ek={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tK.px.test(t))return t;else t=parseFloat(t);let i=eM(t,e.target.x),n=eM(t,e.target.y);return`${i}% ${n}%`}};var eV=i(41330);let eE=!1;class eD extends ew.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;(0,eV.$)(eR),s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),eE&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),eA.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,eE=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||o.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),eT.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function eC(t){let[e,i]=(0,eP.xQ)(),n=(0,ew.useContext)(eS.L);return(0,ex.jsx)(eD,{...t,layoutGroup:n,switchLayoutGroup:(0,ew.useContext)(eb.N),isPresent:e,safeToRemove:i})}let eR={borderRadius:{...ek,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ek,borderTopRightRadius:ek,borderBottomLeftRadius:ek,borderBottomRightRadius:ek,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tw.f.parse(t);if(n.length>5)return t;let s=tw.f.createTransformer(t),r=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+r]/=a,n[1+r]/=o;
1let l=(0,tQ.k)(a,o,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};var ej=i(81790),eL=i(99911),eB=i(68767);let eF=(t,e)=>t.depth-e.depth;class eO{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eB.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,eB.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eF),this.isDirty=!1,this.children.forEach(t)}}var eI=i(11621);let eU=["TopLeft","TopRight","BottomLeft","BottomRight"],eW=eU.length,eN=t=>"string"==typeof t?parseFloat(t):t,e$=t=>"number"==typeof t||tK.px.test(t);function eG(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eH=eY(0,.5,K),eX=eY(.5,.95,B.l);function eY(t,e,i){return n=>n<t?0:n>e?1:i((0,el.q)(t,e,n))}function ez(t,e){t.min=e.min,t.max=e.max}function eK(t,e){ez(t.x,e.x),ez(t.y,e.y)}function eQ(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eq=i(21666);function e_(t,e,i,n,s){return t-=e,t=(0,eq.hq)(t,1/i,n),void 0!==s&&(t=(0,eq.hq)(t,1/s,n)),t}function eZ(t,e,[i,n,s],r,a){!function(t,e=0,i=1,n=.5,s,r=t,a=t){if(tK.KN.test(e)&&(e=parseFloat(e),e=(0,tQ.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,tQ.k)(r.min,r.max,n);t===r&&(o-=e),t.min=e_(t.min,e,i,o,s),t.max=e_(t.max,e,i,o,s)}(t,e[i],e[n],e[s],e.scale,r,a)}let eJ=["x","scaleX","originX"],e0=["y","scaleY","originY"];function e1(t,e,i,n){eZ(t.x,e,eJ,i?i.x:void 0,n?n.x:void 0),eZ(t.y,e,e0,i?i.y:void 0,n?n.y:void 0)}function e2(t){return 0===t.translate&&1===t.scale}function e3(t){return e2(t.x)&&e2(t.y)}function e5(t,e){return t.min===e.min&&t.max===e.max}function e9(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function e7(t,e){return e9(t.x,e.x)&&e9(t.y,e.y)}function e8(t){return t1(t.x)/t1(t.y)}function e4(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class e6{constructor(){this.members=[]}add(t){(0,eB.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,eB.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var it=i(53097);let ie={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ii=["","X","Y","Z"],is=0;function ir(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ia({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=is++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,td.Q.value&&(ie.nodes=ie.calculatedTargetDeltas=ie.calculatedProjections=0),this.nodes.forEac
1h(ih),this.nodes.forEach(iy),this.nodes.forEach(ig),this.nodes.forEach(iu),td.Q.addProjectionMetrics&&td.Q.addProjectionMetrics(ie)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new eO)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new eL.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,ej.x)(e)&&(!(0,ej.x)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;o.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=x.k.now(),n=({timestamp:e})=>{let s=e-i;s>=250&&((0,o.WG)(n),t(s-250))};return o.Gt.setup(n,!0),()=>(0,o.WG)(n)}(s,250),eA.hasAnimatedSinceResize&&(eA.hasAnimatedSinceResize=!1,this.nodes.forEach(iv)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||ib,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=s.getProps(),h=!this.targetLayout||!e7(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...a(r,"layout"),onPlay:o,onComplete:l};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||iv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,o.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(ix),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=f(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",o.Gt,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(ic);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ip);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(im),this.nodes.forEach(io),this.nodes.forEach(il)):this.nodes.forEach(ip),this.clearAllSnapshots();let t=x.k.now();o.uv.delta=(0,y.q)(0,1e3/60,t-o.uv.timestamp),o.uv.timestamp=t,o.uv.isProcessing=!0,o.PP.update.process(o.uv),o.PP.preRender.process(o.uv),o.PP.render.process(o.uv),o.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eT.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(id),this.sharedNodes.forEach(iT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,o.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){o.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||t1(this.snapshot.measuredBox.x)||t1(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,t8.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!e3(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,it.HD)(this.latestValues)||r)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),ik((e=n).x),ik(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,t8.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iE))){let{scroll:t}=this.root;t&&((0,eq.Ql)(e.x,t.offset.x),(0,eq.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,t8.ge)();if(eK(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&eK(e,t),(0,eq.Ql)(e.x,s.offset.x),(0,eq.Ql)(e.y,s.offset.y))}return e}applyTransform(t,e=!1){let i=(0,t8.ge)();eK(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,eq.Ww)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,it.HD)(n.latestValues)&&(0,eq.Ww)(i,n.latestValues)}return(0,it.HD)(this.latestValues)&&(0,eq.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,t8.ge)();eK(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,it.HD)(i.latestValues))continue;(0,it.vk)(i.latestValues)&&i.updateSnapshot();let n=(0,t8.ge)();eK(n,i.measurePageBox()),e1(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,it.HD)(this.latestValues)&&e1(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==o.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(this.layout&&(n||s)){if(this.resolvedRelativeTargetAt=o.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,t8.ge)(),this.relativeTargetOrigin=(0,t8.ge)(),t7(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),eK(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,t8.ge)(),this.targetWithTransforms=(0,t8.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,a,l;this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,t5(r.x,a.x,l.x),t5(r.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):eK(this.target,this.layout.layoutBox),(0,eq.o4)(this.target,this.targetDelta)):eK(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,t8.ge)(),this.relativeTargetOrigin=(0,t8.ge)(),t7(this.relativeTargetOrigin,this.target,t.target),eK(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}td.Q.value&&ie.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,it.vk)(this.parent.latestValues)||(0,it.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===o.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;eK(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,eq.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,t8.ge)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eQ(this.prevProjectionDelta.x,this.projectionDelta.x),eQ(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),t3(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&e4(this.projectionDelta.x,this.prevProjectionDelta.x)&&e4(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),td.Q.value&&ie.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,t8.xU)(),this.projectionDelta=(0,t8.xU)(),this.projectionDeltaWithTransform=(0,t8.xU)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},a=(0,t8.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,t8.ge)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(iS));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(iw(a.x,t.x,n),iw(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,v;t7(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=n,iP(p.x,m.x,f.x,v),iP(p.y,m.y,f.y,v),i&&(h=this.relativeTarget,c=i,e5(h.x,c.x)&&e5(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,t8.ge)()),eK(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,n,s,r){s?(t.opacity=(0,tQ.k)(0,i.opacity??1,eH(n)),t.opacityExit=(0,tQ.k)(e.opacity??1,0,eX(n))):r&&(t.opacity=(0,tQ.k)(e.opacity??1,i.opacity??1,n));for(let s=0;s<eW;s++){let r=`border${eU[s]}Radius`,a=eG(e,r),o=eG(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||e$(a)===e$(o)?(t[r]=Math.max((0,tQ.k)(eN(a),eN(o),n),0),(tK.KN.test(o)||tK.KN.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,tQ.k)(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,o.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=o.Gt.update(()=>{eA.hasAnimatedSinceResize=!0,T.layout++,this.motionValue||(this.motionValue=(0,h.OQ)(0)),this.currentAnimation=function(t,e,i){let n=(0,c.S)(t)?t:(0,h.OQ)(t);return n.start(tC("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{T.layout--},onComplete:()=>{T.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&iV(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,t8.ge)();let e=t1(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=t1(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}
1eK(e,i),(0,eq.Ww)(e,s),t3(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new e6),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&ir("z",t,n,this.animationValues);for(let e=0;e<ii.length;e++)ir(`rotate${ii[e]}`,t,n,this.animationValues),ir(`skew${ii[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,eI.u)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,eI.u)(e?.pointerEvents)||""),this.hasProjected&&!(0,it.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((s||r||a)&&(n=`translate3d(${s}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:a,skewY:o}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotateX(${s}deg) `),r&&(n+=`rotateY(${r}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eV.H){if(void 0===s[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=eV.H[e],l="none"===r?s[e]:i(s[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,eI.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(ic),this.root.sharedNodes.clear()}}}function io(t){t.updateLayout()}function il(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;"size"===s?t4(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=t1(n);n.min=i[t].min,n.max=n.min+s}):iV(s,e.layoutBox,i)&&t4(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],a=t1(i[n]);s.max=s.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=(0,t8.xU)();t3(a,i,e.layoutBox);let o=(0,t8.xU)();r?t3(o,t.applyTransform(n,!0),e.measuredBox):t3(o,i,e.layoutBox);let l=!e3(a),h=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let a=(0,t8.ge)();t7(a,e.layoutBox,s.layoutBox);let o=(0,t8.ge)();t7(o,i,r.layoutBox),e7(a,o)||(h=!0),n.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ih(t){td.Q.value&&ie.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iu(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function id(t){t.clearSnapshot()}function ic(t){t.clearMeasurements()}function ip(t){t.isLayoutDirty=!1}function im(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function iv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function iy(t){t.resolveTargetDelta()}function ig(t){t.calcProjection()}function ix(t){t.resetSkewAndRotation()}function iT(t){t.removeLeadSnapshot()}function iw(t,e,i){t.translate=(0,tQ.k)(e.translate,0,i),t.scale=(0,tQ.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function iP(t,e,i,n){t.min=(0,tQ.k)(e.min,i.min,n),t.max=(0,tQ.k)(e.max,i.max,n)}function iS(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ib={duration:.45,ease:[.4,0,.1,1]},iA=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iM=iA("applewebkit/")&&!iA("chrome/")?Math.round:B.l;function ik(t){t.min=iM(t.min),t.max=iM(t.max)}function iV(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(e8(e)-e8(i)))}function iE(t){return t!==t.root&&t.scroll?.wasRoot}let iD=ia({attachResizeListener:(t,e)=>tq(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iC={current:void 0},iR=ia({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!iC.current){let t=new iD({});t.mount(window),t.setOptions({layoutScroll:!0}),iC.current=t}return iC.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ij=i(93406);function iL(t,e){let i=(0,ij.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function iB(t){return!("touch"===t.pointerType||tz.x||tz.y)}function iF(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&o.Gt.postRender(()=>s(e,tZ(e)))}class iO extends tG{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=iL(t,i),a=t=>{if(!iB(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{iB(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,s)};return n.forEach(t=>{t.addEventListener("pointerenter",a,s)}),r}(t,(t,e)=>(iF(this.node,e,"Start"),t=>iF(this.node,t,"End"))))}unmount(){}}class iI extends tG{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,v.F)(tq(this.node.current,"focus",()=>this.onFocus()),tq(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var iU=i(28799);let iW=(t,e)=>!!e&&(t===e||iW(t,e.parentElement)),iN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),i$=new WeakSet;function iG(t){return e=>{"Enter"===e.key&&t(e)}}function iH(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function iX(t){return t_(t)&&!(tz.x||tz.y)}function iY(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&o.Gt.postRender(()=>s(e,tZ(e)))}class iz extends tG{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=iL(t,i),a=t=>{let n=t.currentTarget;if(!iX(t))return;i$.add(n);let r=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),i$.has(n)&&i$.delete(n),iX(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||iW(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",l,s)};
1return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),(0,iU.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=iG(()=>{if(i$.has(i))return;iH(i,"down");let t=iG(()=>{iH(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iH(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),iN.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(iY(this.node,e,"Start"),(t,{success:e})=>iY(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iK=new WeakMap,iQ=new WeakMap,iq=t=>{let e=iK.get(t.target);e&&e(t)},i_=t=>{t.forEach(iq)},iZ={some:0,all:1};class iJ extends tG{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:s}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:iZ[n]},a=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,s&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};var o=this.node.current;let l=function({root:t,...e}){let i=t||document;iQ.has(i)||iQ.set(i,{});let n=iQ.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(i_,{root:t,...e})),n[s]}(r);return iK.set(o,a),l.observe(o),()=>{iK.delete(o),l.unobserve(o)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let i0={animation:{Feature:tH},exit:{Feature:tY},inView:{Feature:iJ},tap:{Feature:iz},focus:{Feature:iI},hover:{Feature:iO},pan:{Feature:eg},drag:{Feature:ev,ProjectionNode:iR,MeasureLayout:eC},layout:{ProjectionNode:iR,MeasureLayout:eC}}},95712:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>u});var n=i(59016),s=i(20938),r=i(42023),a=i(27782);let o=t=>t===r.ai||t===a.px,l=new Set(["x","y","z"]),h=s.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},95715:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(49181).I)("framerAppearId")}}]);

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.