PageSourceSearch

https://adipa.mx/_next/static/chunks/0tzp_no1fmjlz.js?dpl=dpl_H3UW7TTmSRMxbNf5NgV7TeeiU5XF

js adipa.mx collected 2026-10-08 03:28:24 UTC 72,705 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,807464,t=>{"use strict";let e=(0,t.i(498337).createContext)({});t.s(["LayoutGroupContext",0,e])},134174,t=>{"use strict";var e=t.i(498337);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},736986,t=>{"use strict";var e=t.i(498337);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],736986)},370338,t=>{"use strict";let e=(0,t.i(498337).createContext)(null);t.s(["PresenceContext",0,e])},250438,t=>{"use strict";var e=t.i(921496);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},753942,t=>{"use strict";let e=(0,t.i(498337).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},718015,t=>{"use strict";var e=t.i(498337),i=t.i(370338);t.s(["usePresence",0,function(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:o,register:r}=s,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return r(a)},[t]);let l=(0,e.useCallback)(()=>t&&o&&o(a),[a,o,t]);return!n&&o?[!1,l]:[!0]}])},818454,592798,t=>{"use strict";var e=t.i(141577),i=t.i(597157),s=t.i(498337);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 o(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,o],592798),t.s(["createDomVisualElement",0,(t,n)=>n.isSVG??o(t)?new e.SVGVisualElement(n):new i.HTMLVisualElement(n,{allowProjection:t!==s.Fragment})],818454)},247237,t=>{"use strict";let e=(0,t.i(498337).createContext)({strict:!1});t.s(["LazyContext",0,e])},891433,631563,405470,243725,842070,408106,730525,891945,t=>{"use strict";var e=t.i(498337);let i=(0,e.createContext)({});t.s(["MotionContext",0,i],891433);var s=t.i(21280),n=t.i(786843);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:r,animate:a}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,n.isVariantLabel)(e)?e:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:r,animate:a}),[o(r),o(a)])}],631563);var r=t.i(236585),a=t.i(235629),l=t.i(19563);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u(t,e,i){for(let s in e)(0,r.isMotionValue)(e[s])||(0,a.isForcedMotionValue)(s,i)||(t[s]=e[s])}t.s(["createHtmlRenderState",0,h],405470);var c=t.i(348971),d=t.i(604445);let m=()=>({...h(),attrs:{}});t.s(["createSvgRenderState",0,m],243725);let p=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function f(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||p.has(t)}let v=t=>!f(t);function y(t){"function"==typeof t&&(v=e=>e.startsWith("on")?!f(e):t(e))}try{y((()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)}catch{}function g(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!(0,r.isMotionValue)(t[n])&&(v(n)||!0===i&&f(n)||!e&&!f(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}t.s(["filterProps",0,g,"loadExternalIsValidProp",0,y],842070);var x=t.i(592798);t.s(["useRender",0,function(t,i,s,{latestValues:n},o,a=!1,p){let f=(p??(0,x.isSVGComponent)(t)?function(t,i,s,n){let o=(0,e.useMemo)(()=>{let e=m();return(0,c.buildSVGAttrs)(e,i,(0,d.isSVGTag)(n),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};u(e,t.style,t),o.style={...e,...o.style}}return o}:function(t,i){let s,n,o={},r=(s=t.style||{},u(n={},s,t),Object.assign(n,function({transformTemplate:t},i){return(0,e.useMemo)(()=>{let e=h();return(0,l.buildHTMLStyles)(e,i,t),Object.assign({},e.vars,e.style)},[i])}(t,i)),n);return t.drag&&!1!==t.dragListener&&(o.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)&&(o.tabIndex=0),o.style=r,o})(i,n,o,t),v=g(i,"string"==typeof t,a),y=t!==e.Fragment?{...v,...f,ref:s}:{},{children:P}=i,w=(0,e.useMemo)(()=>(0,r.isMotionValue)(P)?P.get():P,[P]);return(0,e.createElement)(t,{...y,children:w})}],408106);var P=t.i(645744);t.s(["scrapeHTMLMotionValuesFromProps",()=>P.scrapeMotionValuesFromProps],730525),t.s(["resolveMotionValue",0,function(t){return(0,r.isMotionValue)(t)?t.get():t}],891945)},563241,702529,402680,286091,262859,305261,636333,339705,t=>{"use strict";var e=t.i(730525),i=t.i(891945),s=t.i(21280),n=t.i(991363),o=t.i(161560),r=t.i(498337),a=t.i(891433),l=t.i(370338),h=t.i(134174);let u=t=>(e,u)=>{let c=(0,r.useContext)(a.MotionContext),d=(0,r.useContext)(l.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},r,a,l){return{latestValues:function(t,e,r,a){let l={},h=a(t,{});for(let t in h)l[t]=(0,i.resolveMotionValue)(h[t]);let{initial:u,animate:c}=t,d=(0,s.isControllingVariants)(t),m=(0,s.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===u&&(u=e.initial),void 0===c&&(c=e.animate));let p=!!r&&!1===r.initial,f=(p=p||!1===u)?c:u;if(f&&"boolean"!=typeof f&&!(0,n.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let s=(0,o.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(r,a,l,t),renderState:e()}})(t,e,c,d);return u?m():(0,h.useConstant)(m)};var c=t.i(405470);let d=u({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],563241);var m=t.i(742917),m=m,p=t.i(243725);let f=u({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",0,f],702529);var v=t.i(96819);let y={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"]},g=!1;function x(){return!function(){if(g)return;let t={};for(let e in y)t[e]={isEnabled:t=>y[e].some(e=>!!t[e])};(0,v.setFeatureDefinitions)(t),g=!0}(),(0,v.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,x],402680),t.s(["loadFeatures",0,function(t){let e=x();for(let i in t)e[i]={...e[i],...t[i]};(0,v.setFeatureDefinitions)(e)}],286091);let P=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,P],262859),t.s(["useMotionRef",0,function(t,e,
1i){let s=(0,r.useRef)(i);(0,r.useInsertionEffect)(()=>{s.current=i});let n=(0,r.useRef)(null);return(0,r.useCallback)(i=>{i&&t.onMount?.(i);let o=s.current;if("function"==typeof o)if(i){let t=o(i);"function"==typeof t&&(n.current=t)}else n.current?(n.current(),n.current=null):o(i);else o&&(o.current=i);e&&(i?e.mount(i):e.unmount())},[e])}],305261);let w=(0,r.createContext)({});t.s(["SwitchLayoutGroupContext",0,w],636333),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],339705)},933112,136656,t=>{"use strict";t.i(437523);var e=t.i(660698),i=t.i(498337),s=t.i(807464),n=t.i(247237),o=t.i(753942),r=t.i(891433),a=t.i(631563),l=t.i(408106),h=t.i(592798),u=t.i(563241),c=t.i(702529),d=t.i(402680),m=t.i(286091),p=t.i(262859),f=t.i(305261),v=t.i(329957),y=t.i(370338),g=t.i(636333),x=t.i(339705),P=t.i(736986);function w(t,{forwardMotionProps:E=!1,type:S}={},T,D){T&&(0,m.loadFeatures)(T);let A=S?"svg"===S:(0,h.isSVGComponent)(t),C=A?c.useSVGVisualState:u.useHTMLVisualState;function L(h,u){let c,m={...(0,i.useContext)(o.MotionConfigContext),...h,layoutId:function({layoutId:t}){let e=(0,i.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(h)},{isStatic:p}=m,w=(0,a.useCreateMotionContext)(h),S=C(h,p);if(!p&&"u">typeof window){(0,i.useContext)(n.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(m);c=e.MeasureLayout,w.visualElement=function(t,e,s,a,l,h){let{visualElement:u}=(0,i.useContext)(r.MotionContext),c=(0,i.useContext)(n.LazyContext),d=(0,i.useContext)(y.PresenceContext),m=(0,i.useContext)(o.MotionConfigContext),p=m.reducedMotion,f=m.skipAnimations,w=(0,i.useRef)(null),E=(0,i.useRef)(!1);a=a||c.renderer,!w.current&&a&&(w.current=a(t,{visualState:e,parent:u,props:s,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p,skipAnimations:f,isSVG:h}),E.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let S=w.current,T=(0,i.useContext)(g.SwitchLayoutGroupContext);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(t,e,i,s){let{layoutId:n,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:c}=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:n,layout:o,alwaysMeasureLayout:!!r||a&&(0,x.isRefObject)(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:s,crossfade:c,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(w.current,s,l,T);let D=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&D.current&&S.update(s,d)});
1let A=s[v.optimizedAppearDataAttribute],C=(0,i.useRef)(!!A&&"u">typeof window&&!window.MotionHandoffIsComplete?.(A)&&window.MotionHasOptimisedAnimation?.(A));return(0,P.useIsomorphicLayoutEffect)(()=>{E.current=!0,S&&(D.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),C.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!C.current&&S.animationState&&S.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(A)}),C.current=!1),S.enteringChildren=void 0)}),S}(t,S,m,D,e.ProjectionNode,A)}return(0,e.jsxs)(r.MotionContext.Provider,{value:w,children:[c&&w.visualElement?(0,e.jsx)(c,{visualElement:w.visualElement,...m}):null,(0,l.useRender)(t,h,(0,f.useMotionRef)(S,w.visualElement,u),S,p,E,A)]})}L.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let V=(0,i.forwardRef)(L);return V[p.motionComponentSymbol]=t,V}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return w;let i=new Map,s=(i,s)=>w(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,o)=>"create"===o?s:(i.has(o)||i.set(o,w(o,void 0,t,e)),i.get(o))})}],933112),t.s(["Feature",0,class{constructor(t){this.isMounted=!1,this.node=t}update(){}}],136656)},169486,230834,t=>{"use strict";var e=t.i(937642),i=t.i(771788);function s(t,e,i,n=0,o=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*n;return"function"==typeof i?i(r,a):1===o?r*n:l-r*n}function n(t,o,r={}){let a=(0,e.resolveVariant)(t,o,"exit"===r.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(l=r.transitionOverride);let h=a?()=>Promise.all((0,i.animateTarget)(t,a,r)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(e=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:h}=l;return function(t,e,i=0,o=0,r=0,a=1,l){let h=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),h.push(n(u,e,{...l,delay:i+("function"==typeof o?0:o)+s(t.variantChildren,u,o,r,a)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(h)}(t,o,e,i,a,h,r)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([h(),u(r.delay)]);{let[t,e]="beforeChildren"===c?[h,u]:[u,h];return t().then(()=>e())}}t.s(["calcChildStagger",0,s],230834),t.s(["animateVisualElement",0,function(t,s,o={}){let r;if(t.notify("AnimationStart",s),Array.isArray(s))r=Promise.all(s.map(e=>n(t,e,o)));else if("string"==typeof s)r=n(t,s,o);else{let n="function"==typeof s?(0,e.resolveVariant)(t,s,o.custom):s;r=Promise.all((0,i.animateTarget)(t,n,o))}return r.then(()=>{t.notify("AnimationComplete",s)})}],169486)},441169,692672,765869,597719,413316,460208,253422,94801,43866,550743,39993,524785,t=>{"use strict";let e,i;var s=t.i(136656),n=t.i(169486),o=t.i(230834),r=t.i(786843),a=t.i(16919);let l=a.variantProps.length;var h=t.i(991363),u=t.i(167235),c=t.i(937642);function d(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}let m=[...a.variantPriorityOrder].reverse(),p=a.variantPriorityOrder.length;function f(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v(){return{animate:f(!0),whileInView:f(),whileHover:f(),whileTap:f(),whileDrag:f(),whileFocus:f(),exit:f()}}class y extends s.Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,n.animateVisualElement)(t,e,i))),i=v(),s=!0,f=!1,y=e=>(i,s)=>{let n=(0,c.resolveVariant)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function g(n){let{props:v}=t,g=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<l;t++){let s=a.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},x=[],P=new Set,w={},E=1/0;for(let e=0;e<p;e++){var S,T;let a=m[e],l=i[a],p=void 0!==v[a]?v[a]:g[a],D=(0,r.isVariantLabel)(p),A=a===n?l.isActive:null;!1===A&&(E=e);let C=p===g[a]&&p!==v[a]&&D;if(C&&(s||f)&&t.manuallyAnimateOnMount&&(C=!1),l.protectedKeys={...w},!l.isActive&&null===A||!p&&!l.prevProp||(0,h.isAnimationControls)(p)||"boolean"==typeof p)continue;if("exit"===a&&l.isActive&&!0!==A){l.prevResolvedValues&&(w={...w,...l.prevResolvedValues});continue}let L=(S=l.prevProp,"string"==typeof(T=p)?T!==S:!!Array.isArray(T)&&!d(T,S)),V=L||a===n&&l.isActive&&!C&&D||e>E&&D,b=!1,M=Array.isArray(p)?p:[p],R=M.reduce(y(a),{});!1===A&&(R={});let{prevResolvedValues:B={}}=l,j={...B,...R},k=e=>{V=!0,P.has(e)&&(b=!0,P.delete(e)),l.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in j){let e=R[t],i=B[t];if(!w.hasOwnProperty(t))((0,u.isKeyframesTarget)(e)&&(0,u.isKeyframesTarget)(i)?d(e,i):e===i)?void 0!==e&&P.has(t)?k(t):l.protectedKeys[t]=!0:null!=e?k(t):P.add(t)}l.prevProp=p,l.prevResolvedValues=R,l.isActive&&(w={...w,...R}),(s||f)&&t.blockInitialAnimation&&(V=!1);let F=C&&L,I=!F||b;V&&I&&x.push(...M.map(e=>{let i={type:a};if("string"==typeof e&&(s||f)&&!F&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=(0,c.resolveVariant)(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=(0,o.calcChildStagger)(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(P.size){let e={};if("boolean"!=typeof v.initial){let i=(0,c.resolveVariant)(t,Array.isArray(v.initial)?v.initial[0]:v.initial);i&&i.transition&&(e.transition=i.transition)}P.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),x.push({animation:e})}let D=!!x.length;return s&&(!1===v.initial||v.initial===v.animate)&&!t.manuallyAnimateOnMount&&(D=!1),s=!1,f=!1,D?e(x):Promise.resolve()}return{animateChanges:g,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 n=g(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=v(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,h.isAnimationControls)(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?.()}}var g=s;let x=0;class P extends g.Feature{constructor(){super(...arguments),this.id=x++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=(0,c.resolveVariant)(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...s}=i;for(let t in s)this.node.getValue(t)?.jump(s[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}t.s(["animations",0,{animation:{Feature:y},exit:{Feature:P}}],441169);var w=s,E=t.i(470919),S=t.i(427684),T=t.i(967682);function D(t){return[t("x"),t("y")]}t.s(["eachAxis",0,D],692672);var A=t.i(679514),C=t.i(364646),L=t.i(850669),V=t.i(502225),b=t.i(870820);function M(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}t.s(["addDomEvent",0,M],765869);let R={x:!1,y:!1};t.s(["isDragActive",0,function(){return R.x||R.y},"isDragging",0,R],597719);var B=t.i(409138);function j(t){return t.max-t.min}function k(t,e,i,s=.5){t.origin=s,t.originPoint=(0,b.mixNumber)(e.min,e.max,t.origin),t.scale=j(i)/j(e),t.translate=(0,b.mixNumber)(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 F(t,e,i,s=0){t.min=(s?(0,b.mixNumber)(i.min,i.max,s):i.min)+e.min,t.max=t.min+j(e)}function I(t,e,i,s=0){let n=s?(0,b.mixNumber)(i.min,i.max,s):i.min;t.min=e.min-n,t.max=t.min+j(e)}t.s(["calcBoxDelta",0,function(t,e,i,s){k(t.x,e.x,i.x,s?s.originX:void 0),k(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,j,"calcRelativeBox",0,function(t,e,i,s){F(t.x,e.x,i.x,s?.x),F(t.y,e.y,i.y,s?.y)},"calcRelativePosition",0,function(t,e,i,s){I(t.x,e.x,i.x,s?.x),I(t.y,e.y,i.y,s?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],413316);var O=t.i(838752),U=t.i(427772);let N=new WeakMap,G=(t,e,i)=>(s,n)=>n&&n[0]?n[0][t+"Size"]:(0,O.isSVGElement)(s)&&"getBBox"in s?s.getBBox()[e]:s[i],H=G("inline","width","offsetWidth"),W=G("block","height","offsetHeight");function z({target:t,borderBoxSize:e}){N.get(t)?.forEach(i=>{i(t,{get width(){return H(t,e)},get height(){return W(t,e)}})})}function $(t){t.forEach(z)}let X=new Set;function Y(t,s){let n;return"function"==typeof t?(X.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};X.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{X.delete(t),X.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver($)),(n=(0,U.resolveElements)(t)).forEach(t=>{let i=N.get(t);i||(i=new Set,N.set(t,i)),i.add(s),e?.observe(t)}),()=>{n.forEach(t=>{let i=N.get(t);i?.delete(s),i?.size||e?.unobserve(t)})})}t.s(["resize",0,Y],460208);let K=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),_=new Set(["INPUT","SELECT","TEXTAREA"]);function q(t){return _.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return K.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,q],253422);var Z=t.i(26809);let J=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Q(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,J],94801);let tt=t=>e=>J(e)&&t(e,Q(e));function te(t,e,i,s){return M(t,e,tt(i),s)}t.s(["addPointerInfo",0,tt,"extractEventInfo",0,Q],43866);let ti=({current:t})=>t?t.ownerDocument.defaultView:null;var ts=t.i(339705),tn=t.i(92727),to=t.i(490692);let tr=(t,e)=>Math.abs(t-e),ta=new Set(["auto","scroll"]);class tl{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:o=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=th(this.lastRawMoveEventInfo,this.transformPagePoint));let i=tc(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(tr(t.x,e.x)**2+tr(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:o}=i,{timestamp:r}=T.frameData;this.history.push({...o,timestamp:r});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=th(e,this.transformPagePoint),T.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=tc("pointercancel"===t.type?this.lastMoveEventInfo:th(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),s&&s(t,o)},!J(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=s||window;const a=th(Q(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=T.frameData;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,tc(a,this.history)),this.removeListeners=(0,tn.pipe)(te(this.contextWindow,"pointermove",this.handlePointerMove),te(this.contextWindow,"pointerup",this.handlePointerUp),te(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(ta.has(t.overflowX)||ta.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:s.x-e.x,y:s.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,s),T.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,T.cancelFrame)(this.updatePoint)}}function th(t,e){return e?{point:e(t.point)}:t}function tu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tc({point:t},e){return{point:t,delta:tu(t,td(e)),offset:tu(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=td(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,to.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>
12*(0,to.secondsToMilliseconds)(.1)&&(i=t[1]);let n=(0,to.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let o={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e)}}function td(t){return t[t.length-1]}var tm=t.i(241058),tp=t.i(493858);function tf(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 tv(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function ty(t,e,i){return{min:tg(t,e),max:tg(t,i)}}function tg(t,e){return"number"==typeof t?t:t[e]||0}let tx=new WeakMap;class tP{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,S.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{e&&this.snapToCursor(Q(t).point),this.stopAnimation()},o=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(R[t])return null;else return R[t]=!0,()=>{R[t]=!1};return R.x||R.y?null:(R.x=R.y=!0,()=>{R.x=R.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),D(t=>{let e=this.getAxisMotionValue(t).get()||0;if(B.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=j(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&T.frame.update(()=>n(t,e),!1,!0),(0,L.addValueToWillChange)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},r=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:r}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(r),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&T.frame.update(()=>o(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new tl(t,{onSessionStart:n,onStart:o,onMove:r,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:ti(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:o}=s;this.startAnimation(o);let{onDragEnd:r}=this.getProps();r&&T.frame.postRender(()=>r(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!tE(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,b.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,b.mixNumber)(i,t,s.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),n.set(o)}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,s=this.constraints;t&&(0,ts.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:tf(t.x,i,n),y:tf(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ty(t,"left","right"),y:ty(t,"top","bottom")}}(e),s!==this.constraints&&!(0,ts.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&D(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,ts.isRefObject)(e))return!1;let s=e.current;(0,Z.invariant)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let o=(0,A.measurePageBox)(s,n.root,this.visualElement.getTransformPagePoint()),r=(t=n.layout.layoutBox,{x:tv(t.x,o.x),y:tv(t.y,o.y)});if(i){let t=i((0,C.convertBoxToBoundingBox)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,C.convertBoundingBoxToBox)(t))}return r}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all(D(r=>{if(!tE(r,e,this.currentDirection))return;let l=a&&a[r]||{};(!0===o||o===r)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(r,h)})).then(r)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,L.addValueToWillChange)(this.visualElement,t),i.start((0,V.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){D(t=>this.getAxisMotionValue(t).stop())}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){D(e=>{let{drag:i}=this.getProps();if(!tE(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:o}=s.layout.layoutBox[e],r=n.get()||0;n.set(t[e]-(0,b.mixNumber)(i,o,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,ts.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};D(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let o,r,a,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],o=.5,r=j(i),(a=j(n))>r?o=(0,tm.progress)(n.min,n.max-r,i.min):r>a&&(o=(0,tm.progress)(i.min,i.max-a,n.min)),(0,tp.clamp)(0,1,o))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),D(e=>{if(!tE(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:o}=this.constraints[e];i.set((0,b.mixNumber)(n,o,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;tx.set(this.visualElement,this);let e=this.visualElement.current,i=te(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}
1=this.getProps(),n=t.target,o=n!==e&&q(n);i&&s&&!o&&this.start(t)}),s=()=>{var i,s,n;let o,r,{dragConstraints:a}=this.getProps();(0,ts.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=a.current,o=Y(i,tw(n=()=>this.scalePositionWithinConstraints())),r=Y(s,tw(n)),t=()=>{o(),r()}))},{projection:n}=this.visualElement,o=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),T.frame.read(s);let r=M(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(D(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),i(),o(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:o=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:o,dragMomentum:r}}}function tw(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function tE(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tS extends w.Feature{constructor(t){super(t),this.removeGroupControls=E.noop,this.removeListeners=E.noop,this.controls=new tP(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||E.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",0,tS],550743);var tT=s;let tD=t=>(e,i)=>{t&&T.frame.update(()=>t(e,i),!1,!0)};class tA extends tT.Feature{constructor(){super(...arguments),this.removePointerDownListener=E.noop}onPointerDown(t){this.session=new tl(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ti(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tD(t),onStart:tD(e),onMove:tD(i),onEnd:(t,e)=>{delete this.session,s&&T.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=te(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,tA],39993),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],524785)},583860,386343,149921,328437,870563,362962,t=>{"use strict";var e=t.i(550743),i=t.i(39993),s=t.i(660698),n=t.i(524785),o=t.i(967682),r=t.i(427139),a=t.i(498337),l=t.i(718015),h=t.i(807464),u=t.i(636333);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),c&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),n.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),c=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?r.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?r.promote():r.relegate()||o.frame.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),r.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;c=!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 m(t){let[e,i]=(0,l.usePresence)(),n=(0,a.useContext)(h.LayoutGroupContext);return(0,s.jsx)(d,{...t,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(u.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",0,m],386343);var p=t.i(796457),f=t.i(493858),v=t.i(470919),y=t.i(597849),g=t.i(530017),x=t.i(138526),P=t.i(957798),w=t.i(639068),E=t.i(431772),S=t.i(94907);
1t.i(490692);var T=t.i(838752),D=t.i(497474),A=t.i(870820),C=t.i(702915),L=t.i(891945),V=t.i(409138),b=t.i(241058),M=t.i(771559);let R=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],B=R.length,j=t=>"string"==typeof t?parseFloat(t):t,k=t=>"number"==typeof t||V.px.test(t);function F(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let I=U(0,.5,M.circOut),O=U(.5,.95,v.noop);function U(t,e,i){return s=>s<t?0:s>e?1:i((0,b.progress)(t,e,s))}function N(t,e){t.min=e.min,t.max=e.max}function G(t,e){N(t.x,e.x),N(t.y,e.y)}function H(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var W=t.i(656731),z=t.i(413316);function $(t,e,i,s,n){return t-=e,t=(0,W.scalePoint)(t,1/i,s),void 0!==n&&(t=(0,W.scalePoint)(t,1/n,s)),t}function X(t,e,[i,s,n],o,r){!function(t,e=0,i=1,s=.5,n,o=t,r=t){if(V.percent.test(e)&&(e=parseFloat(e),e=(0,A.mixNumber)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,A.mixNumber)(o.min,o.max,s);t===o&&(a-=e),t.min=$(t.min,e,i,a,n),t.max=$(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,o,r)}let Y=["x","scaleX","originX"],K=["y","scaleY","originY"];function _(t,e,i,s){X(t.x,e,Y,i?i.x:void 0,s?s.x:void 0),X(t.y,e,K,i?i.y:void 0,s?s.y:void 0)}var q=t.i(427684);function Z(t){return 0===t.translate&&1===t.scale}function J(t){return Z(t.x)&&Z(t.y)}function Q(t,e){return t.min===e.min&&t.max===e.max}function tt(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function te(t,e){return tt(t.x,e.x)&&tt(t.y,e.y)}function ti(t){return(0,z.calcLength)(t.x)/(0,z.calcLength)(t.y)}function ts(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var tn=t.i(57307);class to{constructor(){this.members=[]}add(t){(0,tn.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||((0,tn.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,tn.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:n}=t.options;(void 0===s||s!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var tr=t.i(692672);let ta=(t,e)=>t.depth-e.depth;class tl{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tn.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,tn.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ta),this.isDirty=!1,this.children.forEach(t)}}var th=t.i(961417);let tu={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tc=["","X","Y","Z"],td=0;function tm(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tp({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=td++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,S.statsBuffer.value&&(tu.nodes=tu.calculatedTargetDeltas=tu.calculatedProjections=0),this.nodes.forEac
1h(ty),this.nodes.forEach(tA),this.nodes.forEach(tC),this.nodes.forEach(tg),S.statsBuffer.addProjectionMetrics&&S.statsBuffer.addProjectionMetrics(tu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 tl)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,T.isSVGElement)(e)&&!(0,D.isSVGSVGElement)(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;o.frame.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,a;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=P.time.now(),a=({timestamp:t})=>{let i=t-e;i>=250&&((0,o.cancelFrame)(a),r(i-250))},o.frame.setup(a,!0),i=()=>(0,o.cancelFrame)(a),n.globalProjectionState.hasAnimatedSinceResize&&(n.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tD))}})}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()||tB,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!te(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,x.getValueTransition)(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||tD(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,o.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tL),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,g.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",o.frame,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!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()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(tw),this.nodes.forEach(tP);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tE);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tS),this.nodes.forEach(tT),this.nodes.forEach(tf),this.nodes.forEach(tv)):this.nodes.forEach(tE),this.clearAllSnapshots();let t=P.time.now();o.frameData.delta=(0,f.clamp)(0,1e3/60,t-o.frameData.timestamp),o.frameData.timestamp=t,o.frameData.isProcessing=!0,o.frameSteps.update.process(o.frameData),o.frameSteps.preRender.process(o.frameData),o.frameSteps.render.process(o.frameData),o.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,r.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,o.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){o.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,z.calcLength)(this.snapshot.measuredBox.x)||(0,z.calcLength)(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,q.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&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(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!J(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,th.hasTransform)(this.latestValues)||n)&&(a(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)),tF((e=s).x),tF(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,q.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tO))){let{scroll:t}=this.root;t&&((0,W.translateAxis)(e.x,t.offset.x),(0,W.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,q.createBox)();if(G(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:o}=s;s!==this.root&&n&&o.layoutScroll&&(n.wasRoot&&G(e,t),(0,W.translateAxis)(e.x,n.offset.x),(0,W.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let s=i||(0,q.createBox)();G(s,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,W.translateAxis)(s.x,-i.scroll.offset.x),(0,W.translateAxis)(s.y,-i.scroll.offset.y)),(0,th.hasTransform)(i.latestValues)&&(0,W.transformBox)(s,i.latestValues,i.layout?.layoutBox)}return(0,th.hasTransform)(this.latestValues)&&(0,W.transformBox)(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(t){let e=(0,q.createBox)();G(e,t);for(let t=0;t<this.path.length;t++){let i,s=this.path[t];(0,th.hasTransform)(s.latestValues)&&(s.instance&&((0,th.hasScale)(s.latestValues)&&s.updateSnapshot(),G(i=(0,q.createBox)(),s.measurePageBox())),_(e,s.latestValues,s.snapshot?.layoutBox,i))}return(0,th.hasTransform)(this.latestValues)&&_(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.frameData.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:n}=this.options;if(!this.layout||!(s||n))return;this.resolvedRelativeTargetAt=o.frameData.timestamp;let r=this.getClosestProjectingParent();r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,q.createBox)(),this.targetWithTransforms=(0,q.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,z.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):G(this.target,this.layout.layoutBox),(0,W.applyBoxDelta)(this.target,this.targetDelta)):G(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0),S.statsBuffer.value&&tu.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,th.hasScale)(this.parent.latestValues)||(0,th.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,q.createBox)(),this.relativeTargetOrigin=(0,q.createBox)(),(0,z.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),G(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}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.frameData.timestamp&&(i=!1),i)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;G(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,W.applyTreeDeltas)(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,q.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(H(this.prevProjectionDelta.x,this.projectionDelta.x),H(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,z.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&ts(this.projectionDelta.x,this.prevProjectionDelta.x)&&ts(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),S.statsBuffer.value&&tu.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,q.createDelta)(),this.projectionDelta=(0,q.createDelta)(),this.projectionDeltaWithTransform=(0,q.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},o={...this.latestValues},r=(0,q.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,q.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,c=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(tR));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tb(r.x,t.x,s),tb(r.y,t.y,s),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,d,m,p,f,v;(0,z.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,v=s,tM(m.x,p.x,f.x,v),tM(m.y,p.y,f.y,v),i&&(h=this.relativeTarget,d=i,Q(h.x,d.x)&&Q(h.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,q.createBox)()),G(i,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,i,s,n,o){n?(t.opacity=(0,A.mixNumber)(0,i.opacity??1,I(s)),t.opacityExit=(0,A.mixNumber)(e.opacity??1,0,O(s))):o&&(t.opacity=(0,A.mixNumber)(e.opacity??1,i.opacity??1,s));for(let n=0;n<B;n++){let o=R[n],r=F(e,o),a=F(i,o);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||k(r)===k(a)?(t[o]=Math.max((0,A.mixNumber)(j(r),j(a),s),0),(V.percent.test(a)||V.percent.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,A.mixNumber)(e.rotate||0,i.rotate||0,s))}(o,n,this.latestValues,s,c,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,o.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=o.frame.update(()=>{n.globalProjectionState.hasAnimatedSinceResize=!0,E.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,C.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,y.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{E.activeAnimations.layout--},onComplete:()=>{E.activeAnimations.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:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tI(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,q.createBox)();let e=(0,z.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,z.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}G(e,i),(0,W.transformBox)(e,n),(0,z.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new to),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&&tm("z",t,s,this.animationValues);for(let e=0;e<tc.length;e++)tm(`rotate${tc[e]}`,t,s,this.animationValues),tm(`skew${tc[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=(0,L.resolveMotionValue)(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=(0,L.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,th.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let o=function(t,e,i){let s="",n=t.x.translate/e.x,o=t.y.translate/e.y,r=i?.z||0;if((n||o||r)&&(s=`translate3d(${n}px, ${o}px, ${r}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:o,skewX:r,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),o&&(s+=`rotateY(${o}deg) `),r&&(s+=`skewX(${r}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,n);i&&(o=i(n,o)),t.transform=o;let{x:r,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,w.scaleCorrectors){if
1(void 0===n[e])continue;let{correct:i,applyTo:r,isCSSVariable:a}=w.scaleCorrectors[e],l="none"===o?n[e]:i(n[e],s);if(r){let e=r.length;for(let i=0;i<e;i++)t[r[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,L.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tP),this.root.sharedNodes.clear()}}}function tf(t){t.updateLayout()}function tv(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:n}=t.options,o=e.source!==t.layout.source;if("size"===n)(0,tr.eachAxis)(t=>{let s=o?e.measuredBox[t]:e.layoutBox[t],n=(0,z.calcLength)(s);s.min=i[t].min,s.max=s.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";N(o?e.measuredBox[t]:e.layoutBox[t],i[t])}else tI(n,e.layoutBox,i)&&(0,tr.eachAxis)(s=>{let n=o?e.measuredBox[s]:e.layoutBox[s],r=(0,z.calcLength)(i[s]);n.max=n.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,q.createDelta)();(0,z.calcBoxDelta)(r,i,e.layoutBox);let a=(0,q.createDelta)();o?(0,z.calcBoxDelta)(a,t.applyTransform(s,!0),e.measuredBox):(0,z.calcBoxDelta)(a,i,e.layoutBox);let l=!J(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:o}=s;if(n&&o){let r=t.options.layoutAnchor||void 0,a=(0,q.createBox)();(0,z.calcRelativePosition)(a,e.layoutBox,n.layoutBox,r);let l=(0,q.createBox)();(0,z.calcRelativePosition)(l,i,o.layoutBox,r),te(a,l)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ty(t){S.statsBuffer.value&&tu.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tg(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tx(t){t.clearSnapshot()}function tP(t){t.clearMeasurements()}function tw(t){t.isLayoutDirty=!0,t.updateLayout()}function tE(t){t.isLayoutDirty=!1}function tS(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tT(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tD(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tA(t){t.resolveTargetDelta()}function tC(t){t.calcProjection()}function tL(t){t.resetSkewAndRotation()}function tV(t){t.removeLeadSnapshot()}function tb(t,e,i){t.translate=(0,A.mixNumber)(e.translate,0,i),t.scale=(0,A.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tM(t,e,i,s){t.min=(0,A.mixNumber)(e.min,i.min,s),t.max=(0,A.mixNumber)(e.max,i.max,s)}function tR(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tB={duration:.45,ease:[.4,0,.1,1]},tj=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tk=tj("applewebkit/")&&!tj("chrome/")?Math.round:v.noop;function tF(t){t.min=tk(t.min),t.max=tk(t.max)}function tI(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,z.isNear)(ti(e),ti(i),.2)}function tO(t){return t!==t.root&&t.scroll?.wasRoot}
1var tU=t.i(765869);let tN=tp({attachResizeListener:(t,e)=>(0,tU.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tG={current:void 0},tH=tp({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tG.current){let t=new tN({});t.mount(window),t.setOptions({layoutScroll:!0}),tG.current=t}return tG.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tH],149921);let tW={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tH,MeasureLayout:m}};t.s(["drag",0,tW],583860);var tz=t.i(136656),t$=t.i(597719),tX=t.i(427772);function tY(t,e){let i=(0,tX.resolveElements)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}t.s(["setupGesture",0,tY],328437);var tK=t.i(43866);function t_(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&o.frame.postRender(()=>n(e,(0,tK.extractEventInfo)(e)))}class tq extends tz.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,o]=tY(t,i);return s.forEach(t=>{let i,s=!1,o=!1,r=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{s=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},l=t=>{if("touch"!==t.pointerType){if(s){o=!0;return}r(t)}};t.addEventListener("pointerenter",s=>{if("touch"===s.pointerType||(0,t$.isDragActive)())return;o=!1;let r=e(t,s);"function"==typeof r&&(i=r,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{s=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),o}(t,(t,e)=>(t_(this.node,e,"Start"),t=>t_(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,tq],870563);var tZ=tz,tJ=t.i(92727);class tQ extends tZ.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tJ.pipe)((0,tU.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tU.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tQ],362962)},112086,t=>{"use strict";var e=t.i(818454),i=t.i(933112),s=t.i(441169),n=t.i(583860),o=t.i(870563),r=t.i(362962),a=t.i(136656),l=t.i(250438),h=t.i(597719);let u=(t,e)=>!!e&&(t===e||u(t,e.parentElement));var c=t.i(94801),d=t.i(328437),m=t.i(253422);let p=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function v(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function y(t){return(0,c.isPrimaryPointer)(t)&&!(0,h.isDragActive)()}let g=new WeakSet;var x=t.i(967682),P=t.i(43866);function w(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&x.frame.postRender(()=>n(e,(0,P.extractEventInfo)(e)))}class E extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[s,n,o]=(0,d.setupGesture)(t,i),r=t=>{let s=t.currentTarget;if(!y(t)||g.has(t))return;p.add(s),i.stopPropagation&&g.add(t);let o=e(s,t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),p.has(s)&&p.delete(s),y(t)&&"function"==typeof o&&o(t,{success:e})},a=t=>{r(t,s===window||s===document||i.useGlobalTarget||u(s,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",r,n),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=f(()=>{if(p.has(i))return;v(i,"down");let t=f(()=>
1{v(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>v(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),(0,m.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(w(this.node,e,"Start"),(t,{success:e})=>w(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var S=a;let T=new WeakMap,D=new WeakMap,A=t=>{let e=T.get(t.target);e&&e(t)},C=t=>{t.forEach(A)},L={some:0,all:1};class V extends S.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:o="some",once:r}=i,a={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:L[o]},l=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)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;D.has(i)||D.set(i,{});let s=D.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(C,{root:t,...e})),s[n]}(a),T.set(t,l),e.observe(t),()=>{T.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let b={inView:{Feature:V},tap:{Feature:E},focus:{Feature:r.FocusGesture},hover:{Feature:o.HoverGesture}};var M=t.i(149921),R=t.i(386343);let B={layout:{ProjectionNode:M.HTMLProjectionNode,MeasureLayout:R.MeasureLayout}},j={...s.animations,...b,...n.drag,...B},k=(0,i.createMotionProxy)(j,e.createDomVisualElement);t.s(["motion",0,k],112086)}]);

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.