1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7e9886da-4507-4e1c-8638-d471be8a8f4e",t._sentryDebugIdIdentifier="sentry-dbid-7e9886da-4507-4e1c-8638-d471be8a8f4e")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7350],{1165:(t,e,i)=>{i.d(e,{U:()=>s,_:()=>r});let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...s]},7934:(t,e,i)=>{i.d(e,{w:()=>s});function s(t){return"string"==typeof t||Array.isArray(t)}},11447:(t,e,i)=>{function s(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function n(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>n,vF:()=>o,vk:()=>r})},12096:(t,e,i)=>{i.d(e,{K:()=>r});var s=i(34100);function r(t,e,i){let r=t.getProps();return(0,s.a)(r,e,void 0!==i?i:r.custom,t)}},23165:(t,e,i)=>{i.d(e,{X:()=>s});class s{constructor(t){this.isMounted=!1,this.node=t}update(){}}},34100:(t,e,i)=>{function s(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}return e}i.d(e,{a:()=>r})},48721:(t,e,i)=>{i.d(e,{CQ:()=>r,HQ:()=>n,N:()=>h,jA:()=>d,vb:()=>a});var s=i(39361);function r(t){return t.max-t.min}function n(t,e,i){return Math.abs(t-e)<=i}function o(t,e,i,n=.5){t.origin=n,t.originPoint=(0,s.k)(e.min,e.max,t.origin),t.scale=r(i)/r(e),t.translate=(0,s.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 a(t,e,i,s){o(t.x,e.x,i.x,s?s.originX:void 0),o(t.y,e.y,i.y,s?s.originY:void 0)}function l(t,e,i){t.min=i.min+e.min,t.max=t.min+r(e)}function h(t,e,i){l(t.x,e.x,i.x),l(t.y,e.y,i.y)}function u(t,e,i){t.min=e.min-i.min,t.max=t.min+r(e)}function d(t,e,i){u(t.x,e.x,i.x),u(t.y,e.y,i.y)}},56731:(t,e,i)=>{i.d(e,{P:()=>il});var s=i(12115),r=i(40479),n=i(37899),o=i(21391),a=i(63900),l=i(7559),h=i(33182),u=i(63946),d=i(27424),c=i(73934),p=i(22039),m=i(68890),f=i(24888),g=i(82264),y=i(38358),v=i(23863),x=i(15075),T=i(8453);let P={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 P)S[t]={isEnabled:e=>P[t].some(t=>!!e[t])};var w=i(59955);let V="undefined"!=typeof window,b={current:null},C={current:!1},A=new WeakMap;var D=i(62156),j=i(34100);let R=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=u.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=d.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,c.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=n;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,D.e)(e),this.isVariantNode=(0,D.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in m){let e=m[t];void 0!==a[t]&&(0,h.S)(e)&&e.set(a[t])}}mount(t){this.current=t,A.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.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),C.current||function(){if(C.current=!0,V)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>b.current=t.matches;t.addEventListener("change",e),e()}else b.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||b.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,c.WG)(this.notifyUpdate),(0,c.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=r.f.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&c.Gt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in S){let e=S[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,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<R.length;e++){let i=R[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if((0,h.S)(r))t.addValue(s,r);else if((0,h.S)(n))t.addValue(s,(0,p.OQ)(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,(0,p.OQ)(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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,p.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];return null!=i&&("string"==typeof i&&((0,v.i)(i)||(0,x.$)(i))?i=parseFloat(i):!(0,m.t)(i)&&f.f.test(e)&&(i=(0,g.J)(t,e)),this.setBaseTarget(t,(0,h.S)(i)?i.get():i)),(0,h.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 s=(0,j.a)(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,h.S)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new T.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}
1scheduleRenderMicrotask(){y.k.render(this.render)}}class B extends k{constructor(){super(...arguments),this.KeyframeResolver=l.K}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,h.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var M=i(72473),E=i(96868);let L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},F=r.U.length;function U(t,e,i){let{style:s,vars:n,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(r.f.has(t)){l=!0;continue}if((0,o.j)(t)){n[t]=i;continue}{let e=(0,M.e)(i,E.W[t]);t.startsWith("origin")?(h=!0,a[t]=e):s[t]=e}}if(!e.transform&&(l||i?s.transform=function(t,e,i){let s="",n=!0;for(let o=0;o<F;o++){let a=r.U[o],l=t[a];if(void 0===l)continue;let h=!0;if(!(h="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||i){let t=(0,M.e)(l,E.W[a]);if(!h){n=!1;let e=L[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;s.transformOrigin=`${t} ${e} ${i}`}}function O(t,{style:e,vars:i},s,r){let n,o=t.style;for(n in e)o[n]=e[n];for(n in r?.applyProjectionStyles(o,s),i)o.setProperty(n,i[n])}let I={};function N(t,{layout:e,layoutId:i}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!I[t]||"opacity"===t)}function W(t,e,i){let{style:s}=t,r={};for(let n in s)((0,h.S)(s[n])||e.style&&(0,h.S)(e.style[n])||N(n,t)||i?.getValue(n)?.liveStyle!==void 0)&&(r[n]=s[n]);return r}class $ extends B{constructor(){super(...arguments),this.type="html",this.renderInstance=O}readValueFromInstance(t,e){if(r.f.has(e))return this.projection?.isProjecting?(0,n.zs)(e):(0,n.Ib)(t,e);{let i=window.getComputedStyle(t),s=((0,o.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,a.m)(t,e)}build(t,e,i){U(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return W(t,e,i)}}var Q=i(98387),H=i(92287),X=i(92419);let G={offset:"stroke-dashoffset",array:"stroke-dasharray"},z={offset:"strokeDashoffset",array:"strokeDasharray"};function Y(t,{attrX:e,attrY:i,attrScale:s,pathLength:r,pathSpacing:n=1,pathOffset:o=0,...a},l,h,u){if(U(t,a,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==s&&(d.scale=s),void 0!==r&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?G:z;t[n.offset]=X.px.transform(-s);let o=X.px.transform(e),a=X.px.transform(i);t[n.array]=`${o} ${a}`}(d,r,n,o,!1)}let K=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),_=t=>"string"==typeof t&&"svg"===t.toLowerCase();function q(t,e,i){let s=W(t,e,i);for(let i in t)((0,h.S)(t[i])||(0,h.S)(e[i]))&&(s[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}class Z extends B{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=w.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.f.has(e)){let t=(0,Q.D)(e);return t&&t.default||0}return e=K.has(e)?e:(0,H.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return q(t,e,i)}build(t,e,i){Y(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in O(t,e,void 0,s),e.attrs)t.setAttribute(K.has(i)?i:(0,H.I)(i),e.attrs[i])}mount(t){this.isSVGTag=_(t.tagName),super.mount(t)}}let J=["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 tt(t){if("string"!=typeof t||t.includes("-"));else if(J.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var te=i(95155),ti=i(60296),ts=i(64209),tr=i(53127),tn=i(19648),to=i(34013);let ta=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function tl(t,e,i){for(let s in e)(0,h.S)(e[s])||N(s,i)||(t[s]=e[s])}let th=()=>({...ta(),attrs:{}}),tu=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 td(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tu.has(t)}let tc=t=>!td(t);try{!function(t){"function"==typeof t&&(tc=e=>e.startsWith("on")?!td(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var tp=i(82643),tm=i(59686);function tf(t){return(0,h.S)(t)?t.get():t}let tg=t=>(e,i)=>{let r=(0,s.useContext)(tn.A),n=(0,s.useContext)(tm.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,r){return{latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=tf(n[t]);let{initial:o,animate:a}=t,l=(0,D.e)(t),h=(0,D.O)(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,tp.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let s=(0,j.a)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,s,r,t),renderState:e()}})(t,e,r,n);return i?o():function(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}(o)},ty=tg({scrapeMotionValuesFromProps:W,createRenderState:ta}),tv=tg({scrapeMotionValuesFromProps:q,createRenderState:th}),tx=Symbol.for("motionComponentSymbol");var tT=i(96344),tP=i(61729),tS=i(98860);let tw=V?s.useLayoutEffect:s.useEffect;function tV(t){var e,i;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;n&&function(t){for(let e in t)S[e]={...S[e],...t[e]}}(n);let a=tt(t)?tv:ty;function l(e,i){var n;let l,u={...(0,s.useContext)(tr.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,s.useContext)(ti.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:d}=u,c=(0,to.z)(e),p=a(e,d);if(!d&&V){(0,s.useContext)(ts.Y).strict;let e=function(t){let{drag:e,layout:i}=S;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,i,r,n){let{visualElement:o}=(0,s.useContext)(tn.A),a=(0,s.useContext)(ts.Y),l=(0,s.useContext)(tm.t),h=(0,s.useContext)(tr.Q).reducedMotion,u=(0,s.useRef)(null);r=r||a.renderer,!u.current&&r&&(u.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h}));let d=u.current,c=(0,s.useContext)(tS.N);d&&!d.projection&&n&&("html"===d.type||"svg"===d.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,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:r,layout:n,alwaysMeasureLayout:!!o||a&&(0,tT.X)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:l,layoutRoot:h})}(u.current,i,n,c);let p=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{d&&p.current&&d.update(i,l)});let m=i[tP.n],f=(0,s.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return tw(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),f.current&&d.animationState&&d.animationState.animateChanges())}),(0,s.useEffect)(()=>{d&&(!f.current&&d.animationState&&d.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}
1),f.current=!1),d.enteringChildren=void 0)}),d}(t,p,u,o,e.ProjectionNode)}return(0,te.jsxs)(tn.A.Provider,{value:c,children:[l&&c.visualElement?(0,te.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,i,{latestValues:r},n,o=!1){let a=(tt(t)?function(t,e,i,r){let n=(0,s.useMemo)(()=>{let i=th();return Y(i,e,_(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};tl(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return tl(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=ta();return U(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,i})(e,r,n,t),l=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(tc(r)||!0===i&&td(r)||!e&&!td(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(e,"string"==typeof t,o),u=t!==s.Fragment?{...l,...a,ref:i}
1:{},{children:d}=e,c=(0,s.useMemo)(()=>(0,h.S)(d)?d.get():d,[d]);return(0,s.createElement)(t,{...u,children:c})}(t,e,(n=c.visualElement,(0,s.useCallback)(t=>{t&&p.onMount&&p.onMount(t),n&&(t?n.mount(t):n.unmount()),i&&("function"==typeof i?i(t):(0,tT.X)(i)&&(i.current=t))},[n])),p,d,r)]})}l.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let u=(0,s.forwardRef)(l);return u[tx]=t,u}var tb=i(55888),tC=i(52579),tA=i(41089);function tD(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}var tj=i(7934),tR=i(1165);let tk=tR._.length;var tB=i(12096);let tM=[...tR.U].reverse(),tE=tR.U.length;function tL(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tF(){return{animate:tL(!0),whileInView:tL(),whileHover:tL(),whileTap:tL(),whileDrag:tL(),whileFocus:tL(),exit:tL()}}var tU=i(23165);class tO extends tU.X{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,tb._)(t,e,i))),i=tF(),s=!0,r=e=>(i,s)=>{let r=(0,tB.K)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...s}=r;i={...i,...s,...e}}return i};function n(n){let{props:o}=t,a=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<tk;t++){let s=tR._[t],r=e.props[s];((0,tj.w)(r)||!1===r)&&(i[s]=r)}return i}(t.parent)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e<tE;e++){var c,p;let m=tM[e],f=i[m],g=void 0!==o[m]?o[m]:a[m],y=(0,tj.w)(g),v=m===n?f.isActive:null;!1===v&&(d=e);let x=g===a[m]&&g!==o[m]&&y;if(x&&s&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...u},!f.isActive&&null===v||!g&&!f.prevProp||(0,tp.N)(g)||"boolean"==typeof g)continue;let T=(c=f.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!tD(p,c)),P=T||m===n&&f.isActive&&!x&&y||e>d&&y,S=!1,w=Array.isArray(g)?g:[g],V=w.reduce(r(m),{});!1===v&&(V={});let{prevResolvedValues:b={}}=f,C={...b,...V},A=e=>{P=!0,h.has(e)&&(S=!0,h.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in C){let e=V[t],i=b[t];if(!u.hasOwnProperty(t))((0,tA.p)(e)&&(0,tA.p)(i)?tD(e,i):e===i)?void 0!==e&&h.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):h.add(t)}f.prevProp=g,f.prevResolvedValues=V,f.isActive&&(u={...u,...V}),s&&t.blockInitialAnimation&&(P=!1);let D=x&&T,j=!D||S;P&&j&&l.push(...w.map(e=>{let i={type:m};if("string"==typeof e&&s&&!D&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,r=(0,tB.K)(s,e);if(s.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=(0,tC.L)(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=(0,tB.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=s??null}),l.push({animation:e})}let m=!!l.length;return s&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(l):Promise.resolve()}return{animateChanges:n,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let r=n(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tF(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,tp.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 tI=0;class tN extends tU.X{constructor(){super(...arguments),this.id=tI++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var tW=i(12649),t$=i(3129),tQ=i(75601);let tH={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tX(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tG={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!X.px.test(t))return t;else t=parseFloat(t);let i=tX(t,e.target.x),s=tX(t,e.target.y);return`${i}% ${s}%`}};var tz=i(39361);let tY=!1;class tK extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;for(let t in tq)I[t]=tq[t],(0,o.j)(t)&&(I[t].isCSSVariable=!0);r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),tY&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tH.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,{projection:n}=i;return n&&(n.isPresent=r,tY=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==r?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||c.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),y.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;tY=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t_(t){let[e,i]=(0,tQ.xQ)(),r=(0,s.useContext)(ti.L);return(0,te.jsx)(tK,{...t,layoutGroup:r,switchLayoutGroup:(0,s.useContext)(tS.N),isPresent:e,safeToRemove:i})}let tq={borderRadius:{...tG,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tG,borderTopRightRadius:tG,borderBottomLeftRadius:tG,borderBottomRightRadius:tG,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=f.f.parse(t);if(s.length>5)return t;let r=f.f.createTransformer(t),n=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=o,s[1+n]/=a;let l=(0,tz.k)(o,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};var tZ=i(23867),tJ=i(29089),t0=i(25188),t1=i(63354),t9=i(62213),t5=i(48895),t3=i(6500),t2=i(8197),t4=i(41515),t8=i(16105);let t6=(t,e)=>t.depth-e.depth;class t7{constructor(){this.children=[],this.isDirty=!1}add(t){(0,t8.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,t8.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(t6),this.isDirty=!1,this.children.forEach(t)}}var et=i(69809),ee=i(91225);let ei=["TopLeft","TopRight","BottomLeft","BottomRight"],es=ei.length,er=t=>"string"==typeof t?parseFloat(t):t,en=t=>"number"==typeof t||X.px.test(t);function eo(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ea=eh(0,.5,et.yT),el=eh(.5,.95,t3.l);function eh(t,e,i){return s=>s<t?0:s>e?1:i((0,ee.q)(t,e,s))}function eu(t,e){t.min=e.min,t.max=e.max}function ed(t,e){eu(t.x,e.x),eu(t.y,e.y)}function ec(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var ep=i(75152),em=i(48721);function ef(t,e,i,s,r){return t-=e,t=(0,ep.hq)(t,1/i,s),void 0!==r&&(t=(0,ep.hq)(t,1/r,s)),t}function eg(t,e,[i,s,r],n,o){!function(t,e=0,i=1,s=.5,r,n=t,o=t){if(X.KN.test(e)&&(e=parseFloat(e),e=(0,tz.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tz.k)(n.min,n.max,s);t===n&&(a-=e),t.min=ef(t.min,e,i,a,r),t.max=ef(t.max,e,i,a,r)}(t,e[i],e[s],e[r],e.scale,n,o)}let ey=["x","scaleX","originX"],ev=["y","scaleY","originY"];function ex(t,e,i,s){eg(t.x,e,ey,i?i.x:void 0,s?s.x:void 0),eg(t.y,e,ev,i?i.y:void 0,s?s.y:void 0)}function eT(t){return 0===t.translate&&1===t.scale}function eP(t){return eT(t.x)&&eT(t.y)}function eS(t,e){return t.min===e.min&&t.max===e.max}function ew(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eV(t,e){return ew(t.x,e.x)&&ew(t.y,e.y)}function eb(t){return(0,em.CQ)(t.x)/(0,em.CQ)(t.y)}function eC(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eA{constructor(){this.members=[]}add(t){(0,t8.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,t8.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)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eD=i(58819),ej=i(11447);let eR={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ek=["","X","Y","Z"],eB=0;function eM(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function eE({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eB++,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,tZ.Q.value&&(eR.nodes=eR.calculatedTargetDeltas=eR.calculatedProjections=0),this.nodes.forEach(eU),this.nodes.forEach(eH),this.nodes.forEach(eX),this.nodes.forEach(eO),tZ.Q.addProjectionMetrics&&tZ.Q.addProjectionMetrics(eR)},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 t7)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new T.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,tJ.x)(e)&&!(0,t0.h)(e),this.instance=e;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,r=()=>this.root.updateBlockedByResize=!1;c.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=d.k.now(),s=({timestamp:e})=>{let r=e-i;r>=250&&((0,c.WG)(s),t(r-250))};return c.Gt.setup(s,!0),()=>(0,c.WG)(s)}(r,250),tH.hasAnimatedSinceResize&&(tH.hasAnimatedSinceResize=!1,this.nodes.forEach(eQ)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||eq,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!eV(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,t1.r)(n,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||eQ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,c.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.forEac
1h(eG),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,t4.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",c.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eN);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eW);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e$),this.nodes.forEach(eL),this.nodes.forEach(eF)):this.nodes.forEach(eW),this.clearAllSnapshots();let t=d.k.now();c.uv.delta=(0,t5.q)(0,1e3/60,t-c.uv.timestamp),c.uv.timestamp=t,c.uv.isProcessing=!0,c.PP.update.process(c.uv),c.PP.preRender.process(c.uv),c.PP.render.process(c.uv),c.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,y.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eI),this.sharedNodes.forEach(ez)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,c.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){c.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,em.CQ)(this.snapshot.measuredBox.x)||(0,em.CQ)(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,w.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=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eP(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ej.HD)(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),e0((e=s).x),e0(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,w.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e9))){let{scroll:t}=this.root;t&&((0,ep.Ql)(e.x,t.offset.x),(0,ep.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,w.ge)();if(ed(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&ed(e,t),(0,ep.Ql)(e.x,r.offset.x),(0,ep.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=(0,w.ge)();ed(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,ep.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,ej.HD)(s.latestValues)&&(0,ep.Ww)(i,s.latestValues)}return(0,ej.HD)(this.latestValues)&&(0,ep.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,w.ge)();ed(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ej.HD)(i.latestValues))continue;(0,ej.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,w.ge)();ed(s,i.measurePageBox()),ex(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,ej.HD)(this.latestValues)&&ex(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!==c.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:s,layoutId:r}=this.options;if(this.layout&&(s||r)){if(this.resolvedRelativeTargetAt=c.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,w.ge)(),this.relativeTargetOrigin=(0,w.ge)(),(0,em.jA)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ed(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,w.ge)(),this.targetWithTransforms=(0,w.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,em.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ed(this.target,this.layout.layoutBox),(0,ep.o4)(this.target,this.targetDelta)):ed(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,w.ge)(),this.relativeTargetOrigin=(0,w.ge)(),(0,em.jA)(this.relativeTargetOrigin,this.target,t.target),ed(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tZ.Q.value&&eR.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,ej.vk)(this.parent.latestValues)||(0,ej.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===c.uv.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;ed(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,o=this.treeScale.y;(0,ep.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,w.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ec(this.prevProjectionDelta.x,this.projectionDelta.x),ec(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,em.vb)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===o&&eC(this.projectionDelta.x,this.prevProjectionDelta.x)&&eC(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tZ.Q.value&&eR.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,w.xU)(),this.projectionDelta=(0,w.xU)(),this.projectionDeltaWithTransform=(0,w.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=(0,w.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,w.ge)(),l=(s?s.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(e_));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(eY(o.x,t.x,s),eY(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,g;(0,em.jA)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=s,eK(p.x,m.x,f.x,g),eK(p.y,m.y,f.y,g),i&&(h=this.relativeTarget,c=i,eS(h.x,c.x)&&eS(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,w.ge)()),ed(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,tz.k)(0,i.opacity??1,ea(s)),t.opacityExit=(0,tz.k)(e.opacity??1,0,el(s))):n&&(t.opacity=(0,tz.k)(e.opacity??1,i.opacity??1,s));for(let r=0;r<es;r++){let n=`border${ei[r]}Radius`,o=eo(e,n),a=eo(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||en(o)===en(a)?(t[n]=Math.max((0,tz.k)(er(o),er(a),s),0),(X.KN.test(a)||X.KN.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tz.k)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,c.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=c.Gt.update(()=>{tH.hasAnimatedSinceResize=!0,t9.q.layout++,this.motionValue||(this.motionValue=(0,p.OQ)(0)),this.currentAnimation=(0,t2.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t9.q.layout--},onComplete:()=>{t9.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&e1(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,w.ge)();let e=(0,em.CQ)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,em.CQ)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}ed(e,i),(0,ep.Ww)(e,r),(0,em.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eA),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;
1return 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 s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&eM("z",t,s,this.animationValues);for(let e=0;e<ek.length;e++)eM(`rotate${ek[e]}`,t,s,this.animationValues),eM(`skew${ek[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}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=tf(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tf(e?.pointerEvents)||""),this.hasProjected&&!(0,ej.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=i?.z||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(n=i(r,n)),t.transform=n;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=s===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,I){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=I[e],l="none"===n?r[e]:i(r[e],s);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?tf(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eN),this.root.sharedNodes.clear()}}}function eL(t){t.updateLayout()}function eF(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:r}=t.options,n=e.source!==t.layout.source;"size"===r?(0,eD.X)(t=>{let s=n?e.measuredBox[t]:e.layoutBox[t],r=(0,em.CQ)(s);s.min=i[t].min,s.max=s.min+r}):e1(r,e.layoutBox,i)&&(0,eD.X)(s=>{let r=n?e.measuredBox[s]:e.layoutBox[s],o=(0,em.CQ)(i[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,w.xU)();(0,em.vb)(o,i,e.layoutBox);let a=(0,w.xU)();n?(0,em.vb)(a,t.applyTransform(s,!0),e.measuredBox):(0,em.vb)(a,i,e.layoutBox);let l=!eP(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=(0,w.ge)();(0,em.jA)(o,e.layoutBox,r.layoutBox);let a=(0,w.ge)();(0,em.jA)(a,i,n.layoutBox),eV(o,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eU(t){tZ.Q.value&&eR.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 eO(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eI(t){t.clearSnapshot()}function eN(t){t.clearMeasurements()}function eW(t){t.isLayoutDirty=!1}function e$(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eQ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eH(t){t.resolveTargetDelta()}function eX(t){t.calcProjection()}function eG(t){t.resetSkewAndRotation()}function ez(t){t.removeLeadSnapshot()}function eY(t,e,i){t.translate=(0,tz.k)(e.translate,0,i),t.scale=(0,tz.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eK(t,e,i,s){t.min=(0,tz.k)(e.min,i.min,s),t.max=(0,tz.k)(e.max,i.max,s)}function e_(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eq={duration:.45,ease:[.4,0,.1,1]},eZ=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eJ=eZ("applewebkit/")&&!eZ("chrome/")?Math.round:t3.l;function e0(t){t.min=eJ(t.min),t.max=eJ(t.max)}function e1(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,em.HQ)(eb(e),eb(i),.2)}function e9(t){return t!==t.root&&t.scroll?.wasRoot}var e5=i(17735);let e3=eE({attachResizeListener:(t,e)=>(0,e5.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e2={current:void 0},e4=eE({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e2.current){let t=new e3({});t.mount(window),t.setOptions({layoutScroll:!0}),e2.current=t}return e2.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),e8={pan:{Feature:t$.f},drag:{Feature:tW.w,ProjectionNode:e4,MeasureLayout:t_}};var e6=i(44527),e7=i(34129),it=i(75960);let ie=new WeakMap,ii=new WeakMap,is=t=>{let e=ie.get(t.target);e&&e(t)},ir=t=>{t.forEach(is)},io={some:0,all:1};class ia extends tU.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:r}=t,n={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:io[s]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;ii.has(i)||ii.set(i,{});let s=ii.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(ir,{root:t,...e})),s[r]}(n);return ie.set(a,o),l.observe(a),()=>{ie.delete(a),l.unobserve(a)}}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 il=function(t,e){if("undefined"==typeof Proxy)return tV;let i=new Map,s=(i,s)=>tV(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(r,n)=>"create"===n?s:(i.has(n)||i.set(n,tV(n,void 0,t,e)),i.get(n))})}({animation:{Feature:tO},exit:{Feature:tN},...{inView:{Feature:ia},tap:{Feature:it.H},focus:{Feature:e7.c},hover:{Feature:e6.e}},...e8,layout:{ProjectionNode:e4,MeasureLayout:t_}},(t,e)=>tt(t)?new Z(e):new $(e,{allowProjection:t!==s.Fragment}))},58819:(t,e,i)=>{i.d(e,{X:()=>s});function s(t){return[t("x"),t("y")]}},59955:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>r});let s=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:s(),y:s()}),n=()=>({min:0,max:0}),o=()=>({x:n(),y:n()})},62156:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var s=i(82643),r=i(7934),n=i(1165);function o(t){return(0,s.N)(t.animate)||n._.some(e=>(0,r.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},63900:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>n});var s=i(65473),r=i(75152);function n(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let s=n(t,i),{scroll:o}=e;return o&&((0,r.Ql)(s.x,o.offset.x),(0,r.Ql)(s.y,o.offset.y)),s}},65473:(t,e,i)=>{function s({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function n(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>n,pA:()=>r})},66763:(t,e,i)=>{i.d(e,{w:()=>r});let s=(t,e)=>Math.abs(t-e);function r(t,e){return Math.sqrt(s(t.x,e.x)**2+s(t.y,e.y)**2)}}
1,74877:(t,e,i)=>{i.d(e,{s:()=>s});let s=({current:t})=>t?t.ownerDocument.defaultView:null},75152:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>c,hq:()=>n,o4:()=>l});var s=i(39361),r=i(11447);function n(t,e,i){return i+e*(t-i)}function o(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function a(t,e=0,i=1,s,r){t.min=o(t.min,e,i,s,r),t.max=o(t.max,e,i,s,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,s=!1){let n,o,a=i.length;if(a){e.x=e.y=1;for(let h=0;h<a;h++){o=(n=i[h]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&c(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),s&&(0,r.HD)(n.latestValues)&&c(t,n.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,r,n=.5){let o=(0,s.k)(t.min,t.max,n);a(t,e,i,o,r)}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)}},76258:(t,e,i)=>{i.d(e,{g:()=>n});var s=i(40042),r=i(33182);function n(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&s.W.WillChange){let i=new s.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},92287:(t,e,i)=>{i.d(e,{I:()=>s});let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},96344:(t,e,i)=>{i.d(e,{X:()=>s});function s(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},98763:(t,e,i)=>{i.d(e,{U:()=>o});var s=i(22039),r=i(41089),n=i(12096);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,n.K)(t,e)||{};for(let e in a={...a,...i}){var l;let i=(l=a[e],(0,r.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,s.OQ)(i))}}}}]);
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.