PageSourceSearch

https://www.24hrslocklondon.co.uk/_next/static/chunks/framer-motion-d929e15b-9b255223133122dc.js

js 24hrslocklondon.co.uk collected 2026-10-08 23:50:15 UTC 69,846 bytes, 1 lines download raw bytes

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