HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/www/wp-content/plugins_backup/surerank/build/vendor-8731da8d/index.js
"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[2584],{837:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>r});var s=i(65490),o=i(36551),n=i(35092);function r(t){return(0,s.N)(t.animate)||n._.some(e=>(0,o.w)(t[e]))}function a(t){return Boolean(r(t)||t.variants)}},3044:(t,e,i)=>{i.d(e,{X:()=>s});class s{constructor(t){this.isMounted=!1,this.node=t}update(){}}},5673:(t,e,i)=>{i.d(e,{OU:()=>c,Ql:()=>d,Ww:()=>m,hq:()=>n,o4:()=>l});var s=i(65744),o=i(41630);function n(t,e,i){return i+e*(t-i)}function r(t,e,i,s,o){return void 0!==o&&(t=n(t,o,s)),n(t,i,s)+e}function a(t,e=0,i=1,s,o){t.min=r(t.min,e,i,s,o),t.max=r(t.max,e,i,s,o)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}const h=.999999999999,u=1.0000000000001;function c(t,e,i,s=!1){const n=i.length;if(!n)return;let r,a;e.x=e.y=1;for(let h=0;h<n;h++){r=i[h],a=r.projectionDelta;const{visualElement:n}=r.options;n&&n.props.style&&"contents"===n.props.style.display||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&m(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),s&&(0,o.HD)(r.latestValues)&&m(t,r.latestValues))}e.x<u&&e.x>h&&(e.x=1),e.y<u&&e.y>h&&(e.y=1)}function d(t,e){t.min=t.min+e,t.max=t.max+e}function p(t,e,i,o,n=.5){a(t,e,i,(0,s.k)(t.min,t.max,n),o)}function m(t,e){p(t.x,e.x,e.scaleX,e.scale,e.originX),p(t.y,e.y,e.scaleY,e.scale,e.originY)}},13141:(t,e,i)=>{function s(t){const e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function o(t,e,i,o){if("function"===typeof e){const[n,r]=s(o);e=e(void 0!==i?i:t.custom,n,r)}if("string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e){const[n,r]=s(o);e=e(void 0!==i?i:t.custom,n,r)}return e}i.d(e,{a:()=>o})},24714:(t,e,i)=>{i.d(e,{U:()=>l});var s=i(4766),o=i(1712),n=i(74737);function r(t,e,i){t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,s.OQ)(i))}function a(t){return(0,o.p)(t)?t[t.length-1]||0:t}function l(t,e){const i=(0,n.K)(t,e);let{transitionEnd:s={},transition:o={},...l}=i||{};l={...l,...s};for(const n in l)r(t,n,a(l[n]))}},35092:(t,e,i)=>{i.d(e,{U:()=>s,_:()=>o});const s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...s]},36551:(t,e,i)=>{function s(t){return"string"===typeof t||Array.isArray(t)}i.d(e,{w:()=>s})},38448:(t,e,i)=>{function s({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function o({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function n(t,e){if(!e)return t;const i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>n,pA:()=>o})},41630:(t,e,i)=>{function s(t){return void 0===t||1===t}function o({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function n(t){return o(t)||r(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function r(t){return a(t.x)||a(t.y)}function a(t){return t&&"0%"!==t}i.d(e,{HD:()=>n,vF:()=>r,vk:()=>o})},46615:(t,e,i)=>{i.d(e,{P:()=>Wi});var s=i(51609),o=i(92518),n=i(32794),r=i(22846),a=i(94805),l=i(460),h=i(89495),u=i(31530),c=i(91833),d=i(1207),p=i(4766),m=i(27699),f=i(85933),y=i(72881),g=i(66719),v=i(9902),x=i(11602),T=i(63580);const S={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(const $i in S)P[$i]={isEnabled:t=>S[$i].some(e=>!!t[e])};var V=i(54106),w=i(2743),C=i(8452);const A=new WeakMap;var b=i(837),D=i(13141);const R=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class j{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:o,visualState:n},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=u.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=c.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,d.Gt.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=n;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=r,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=(0,b.e)(e),this.isVariantNode=(0,b.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(const u in m){const t=m[u];void 0!==a[u]&&(0,h.S)(t)&&t.set(a[u])}}mount(t){this.current=t,A.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),C.r.current||(0,w.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||C.O.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),(0,d.WG)(this.notifyUpdate),(0,d.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=o.f.has(t);i&&this.onBindTransform&&this.onBindTransform();const s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&d.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let n;window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),n&&n(),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){const e=P[t];if(!e)continue;const{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){const 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,V.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 i=0;i<R.length;i++){const e=R[i];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const s=t["on"+e];s&&(this.propEventSubscriptions[e]=this.on(e,s))}this.prevMotionValues=function(t,e,i){for(const s in e){const o=e[s],n=i[s];if((0,h.S)(o))t.addValue(s,o);else if((0,h.S)(n))t.addValue(s,(0,p.OQ)(o,{owner:t}));else if(n!==o)if(t.hasValue(s)){const e=t.getValue(s);!0===e.liveStyle?e.jump(o):e.hasAnimated||e.set(o)}else{const e=t.getStaticValue(s);t.addValue(s,(0,p.OQ)(void 0!==e?e:o,{owner:t}))}}for(const s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const 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);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,p.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return void 0!==i&&null!==i&&("string"===typeof i&&((0,v.i)(i)||(0,x.$)(i))?i=parseFloat(i):!(0,m.t)(i)&&f.f.test(e)&&(i=(0,y.J)(t,e)),this.setBaseTarget(t,(0,h.S)(i)?i.get():i)),(0,h.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let i;if("string"===typeof e||"object"===typeof e){const s=(0,D.a)(this.props,e,this.presenceContext?.custom);s&&(i=s[t])}if(e&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,h.S)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new T.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){g.k.render(this.render)}}class k extends j{constructor(){super(...arguments),this.KeyframeResolver=l.K}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,h.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var B=i(94072),E=i(41822);const L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},M=o.U.length;function F(t,e,i){const{style:s,vars:n,transformOrigin:a}=t;let l=!1,h=!1;for(const u in e){const t=e[u];if(o.f.has(u))l=!0;else if((0,r.j)(u))n[u]=t;else{const e=(0,B.e)(t,E.W[u]);u.startsWith("origin")?(h=!0,a[u]=e):s[u]=e}}if(e.transform||(l||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r<M;r++){const a=o.U[r],l=t[a];if(void 0===l)continue;let h=!0;if(h="number"===typeof l?l===(a.startsWith("scale")?1:0):0===parseFloat(l),!h||i){const t=(0,B.e)(l,E.W[a]);h||(n=!1,s+=`${L[a]||a}(${t}) `),i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),h){const{originX:t="50%",originY:e="50%",originZ:i=0}=a;s.transformOrigin=`${t} ${e} ${i}`}}function U(t,{style:e,vars:i},s,o){const n=t.style;let r;for(r in e)n[r]=e[r];for(r in o?.applyProjectionStyles(n,s),i)n.setProperty(r,i[r])}const O={};function I(t,{layout:e,layoutId:i}){return o.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!O[t]||"opacity"===t)}function N(t,e,i){const{style:s}=t,o={};for(const n in s)((0,h.S)(s[n])||e.style&&(0,h.S)(e.style[n])||I(n,t)||void 0!==i?.getValue(n)?.liveStyle)&&(o[n]=s[n]);return o}class W extends k{constructor(){super(...arguments),this.type="html",this.renderInstance=U}readValueFromInstance(t,e){if(o.f.has(e))return this.projection?.isProjecting?(0,n.zs)(e):(0,n.Ib)(t,e);{const i=window.getComputedStyle(t),s=((0,r.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"===typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,a.m)(t,e)}build(t,e,i){F(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return N(t,e,i)}}var $=i(54298),Q=i(48062),H=i(20538);const X={offset:"stroke-dashoffset",array:"stroke-dasharray"},z={offset:"strokeDashoffset",array:"strokeDasharray"};function G(t,{attrX:e,attrY:i,attrScale:s,pathLength:o,pathSpacing:n=1,pathOffset:r=0,...a},l,h,u){if(F(t,a,h),l)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:c,style:d}=t;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==s&&(c.scale=s),void 0!==o&&function(t,e,i=1,s=0,o=!0){t.pathLength=1;const n=o?X:z;t[n.offset]=H.px.transform(-s);const r=H.px.transform(e),a=H.px.transform(i);t[n.array]=`${r} ${a}`}(c,o,n,r,!1)}const Y=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"]),K=t=>"string"===typeof t&&"svg"===t.toLowerCase();function q(t,e,i){const s=N(t,e,i);for(const n in t)((0,h.S)(t[n])||(0,h.S)(e[n]))&&(s[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}class _ extends k{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=V.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.f.has(e)){const t=(0,$.D)(e);return t&&t.default||0}return e=Y.has(e)?e:(0,Q.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return q(t,e,i)}build(t,e,i){G(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){!function(t,e,i,s){U(t,e,void 0,s);for(const o in e.attrs)t.setAttribute(Y.has(o)?o:(0,Q.I)(o),e.attrs[o])}(t,e,0,s)}mount(t){this.isSVGTag=K(t.tagName),super.mount(t)}}const Z=["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 J(t){return"string"===typeof t&&!t.includes("-")&&!!(Z.indexOf(t)>-1||/[A-Z]/u.test(t))}const tt=(t,e)=>J(t)?new _(e):new W(e,{allowProjection:t!==s.Fragment});var et=i(74848),it=i(29473),st=i(66048),ot=i(35446),nt=i(45153),rt=i(60990);function at(t,e,i){for(const s in e)(0,h.S)(e[s])||I(s,i)||(t[s]=e[s])}function lt(t,e){const i={},o=function(t,e){const i={};return at(i,t.style||{},t),Object.assign(i,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return F(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}function ht(t,e,i,o){const n=(0,s.useMemo)(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return G(i,e,K(o),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){const e={};at(e,t.style,t),n.style={...e,...n.style}}return n}const ut=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 ct(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ut.has(t)}let dt=t=>!ct(t);try{"function"===typeof(pt=require("@emotion/is-prop-valid").default)&&(dt=t=>t.startsWith("on")?!ct(t):pt(t))}catch{}var pt;function mt(t,e,i,{latestValues:o},n,r=!1){const a=(J(t)?ht:lt)(e,o,n,t),l=function(t,e,i){const s={};for(const o in t)"values"===o&&"object"===typeof t.values||(dt(o)||!0===i&&ct(o)||!e&&!ct(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}(e,"string"===typeof t,r),u=t!==s.Fragment?{...l,...a,ref:i}:{},{children:c}=e,d=(0,s.useMemo)(()=>(0,h.S)(c)?c.get():c,[c]);return(0,s.createElement)(t,{...u,children:d})}var ft=i(65490),yt=i(86719),gt=i(28601),vt=i(14322);function xt(t,e,i,s){const o={},n=s(t,{});for(const d in n)o[d]=(0,vt.u)(n[d]);let{initial:r,animate:a}=t;const l=(0,b.e)(t),h=(0,b.O)(t);e&&h&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial;u=u||!1===r;const c=u?a:r;if(c&&"boolean"!==typeof c&&!(0,ft.N)(c)){const e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){const s=(0,D.a)(t,e[i]);if(s){const{transitionEnd:t,transition:e,...i}=s;for(const s in i){let t=i[s];Array.isArray(t)&&(t=t[u?t.length-1:0]),null!==t&&(o[s]=t)}for(const s in t)o[s]=t[s]}}}return o}const Tt=t=>(e,i)=>{const o=(0,s.useContext)(nt.A),n=(0,s.useContext)(yt.t),r=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,o){return{latestValues:xt(i,s,o,t),renderState:e()}}(t,e,o,n);return i?r():(0,gt.M)(r)},St=Tt({scrapeMotionValuesFromProps:N,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})}),Pt=Tt({scrapeMotionValuesFromProps:q,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})});var Vt=i(98288);const wt=Symbol.for("motionComponentSymbol");var Ct=i(83953);function At(t,e,i){return(0,s.useCallback)(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),i&&("function"===typeof i?i(s):(0,Ct.X)(i)&&(i.current=s))},[e])}var bt=i(82392),Dt=i(23717),Rt=i(25128);function jt(t,e,i,o,n){const{visualElement:r}=(0,s.useContext)(nt.A),a=(0,s.useContext)(st.Y),l=(0,s.useContext)(yt.t),h=(0,s.useContext)(ot.Q).reducedMotion,u=(0,s.useRef)(null);o=o||a.renderer,!u.current&&o&&(u.current=o(t,{visualState:e,parent:r,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h}));const c=u.current,d=(0,s.useContext)(Dt.N);!c||c.projection||!n||"html"!==c.type&&"svg"!==c.type||function(t,e,i,s){const{layoutId:o,layout:n,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:kt(t.parent)),t.projection.setOptions({layoutId:o,layout:n,alwaysMeasureLayout:Boolean(r)||a&&(0,Ct.X)(a),visualElement:t,animationType:"string"===typeof n?n:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:l,layoutRoot:h})}(u.current,i,n,d);const p=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{c&&p.current&&c.update(i,l)});const m=i[bt.n],f=(0,s.useRef)(Boolean(m)&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return(0,Rt.E)(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),f.current&&c.animationState&&c.animationState.animateChanges())}),(0,s.useEffect)(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),c.enteringChildren=void 0)}),c}function kt(t){if(t)return!1!==t.options.allowProjection?t.projection:kt(t.parent)}function Bt(t,{forwardMotionProps:e=!1}={},i,o){i&&function(t){for(const e in t)P[e]={...P[e],...t[e]}}(i);const n=J(t)?Pt:St;function r(i,r){let a;const l={...(0,s.useContext)(ot.Q),...i,layoutId:Et(i)},{isStatic:h}=l,u=(0,rt.z)(i),c=n(i,h);if(!h&&Vt.B){(0,s.useContext)(st.Y);const e=function(t){const{drag:e,layout:i}=P;if(!e&&!i)return{};const s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(l);a=e.MeasureLayout,u.visualElement=jt(t,c,l,o,e.ProjectionNode)}return(0,et.jsxs)(nt.A.Provider,{value:u,children:[a&&u.visualElement?(0,et.jsx)(a,{visualElement:u.visualElement,...l}):null,mt(t,i,At(c,u.visualElement,r),c,h,e)]})}r.displayName=`motion.${"string"===typeof t?t:`create(${t.displayName??t.name??""})`}`;const a=(0,s.forwardRef)(r);return a[wt]=t,a}function Et({layoutId:t}){const e=(0,s.useContext)(it.L).id;return e&&void 0!==t?e+"-"+t:t}function Lt(t,e){if("undefined"===typeof Proxy)return Bt;const i=new Map,s=(i,s)=>Bt(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(o,n)=>"create"===n?s:(i.has(n)||i.set(n,Bt(n,void 0,t,e)),i.get(n))})}var Mt=i(27523),Ft=i(25650),Ut=i(1712),Ot=i(22503),It=i(36551),Nt=i(35092);const Wt=Nt._.length;function $t(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&$t(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let i=0;i<Wt;i++){const s=Nt._[i],o=t.props[s];((0,It.w)(o)||!1===o)&&(e[s]=o)}return e}var Qt=i(74737);const Ht=[...Nt.U].reverse(),Xt=Nt.U.length;function zt(t){let e=function(t){return e=>Promise.all(e.map(({animation:e,options:i})=>(0,Mt._)(t,e,i)))}(t),i=Kt(),s=!0;const o=e=>(i,s)=>{const o=(0,Qt.K)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(o){const{transition:t,transitionEnd:e,...s}=o;i={...i,...s,...e}}return i};function n(n){const{props:r}=t,a=$t(t.parent)||{},l=[],h=new Set;let u={},c=1/0;for(let e=0;e<Xt;e++){const d=Ht[e],p=i[d],m=void 0!==r[d]?r[d]:a[d],f=(0,It.w)(m),y=d===n?p.isActive:null;!1===y&&(c=e);let g=m===a[d]&&m!==r[d]&&f;if(g&&s&&t.manuallyAnimateOnMount&&(g=!1),p.protectedKeys={...u},!p.isActive&&null===y||!m&&!p.prevProp||(0,ft.N)(m)||"boolean"===typeof m)continue;const v=Gt(p.prevProp,m);let x=v||d===n&&p.isActive&&!g&&f||e>c&&f,T=!1;const S=Array.isArray(m)?m:[m];let P=S.reduce(o(d),{});!1===y&&(P={});const{prevResolvedValues:V={}}=p,w={...V,...P},C=e=>{x=!0,h.has(e)&&(T=!0,h.delete(e)),p.needsAnimating[e]=!0;const i=t.getValue(e);i&&(i.liveStyle=!1)};for(const t in w){const e=P[t],i=V[t];if(u.hasOwnProperty(t))continue;let s=!1;s=(0,Ut.p)(e)&&(0,Ut.p)(i)?!(0,Ot.a)(e,i):e!==i,s?void 0!==e&&null!==e?C(t):h.add(t):void 0!==e&&h.has(t)?C(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=P,p.isActive&&(u={...u,...P}),s&&t.blockInitialAnimation&&(x=!1);const A=g&&v;x&&(!A||T)&&l.push(...S.map(e=>{const i={type:d};if("string"===typeof e&&s&&!A&&t.manuallyAnimateOnMount&&t.parent){const{parent:s}=t,o=(0,Qt.K)(s,e);if(s.enteringChildren&&o){const{delayChildren:e}=o.transition||{};i.delay=(0,Ft.L)(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){const e={};if("boolean"!==typeof r.initial){const i=(0,Qt.K)(t,Array.isArray(r.initial)?r.initial[0]:r.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{const s=t.getBaseTarget(i),o=t.getValue(i);o&&(o.liveStyle=!0),e[i]=s??null}),l.push({animation:e})}let d=Boolean(l.length);return!s||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),s=!1,d?e(l):Promise.resolve()}return{animateChanges:n,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;const o=n(e);for(const t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=Kt(),s=!0}}}function Gt(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!(0,Ot.a)(e,t)}function Yt(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kt(){return{animate:Yt(!0),whileInView:Yt(),whileHover:Yt(),whileTap:Yt(),whileDrag:Yt(),whileFocus:Yt(),exit:Yt()}}var qt=i(3044);let _t=0;const Zt={animation:{Feature:class extends qt.X{constructor(t){super(t),t.animationState||(t.animationState=zt(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();(0,ft.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends qt.X{constructor(){super(...arguments),this.id=_t++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};var Jt=i(44495),te=i(38792),ee=i(89120);const ie={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function se(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const oe={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!H.px.test(t))return t;t=parseFloat(t)}return`${se(t,e.target.x)}% ${se(t,e.target.y)}%`}};var ne=i(65744);const re={correct:(t,{treeScale:e,projectionDelta:i})=>{const s=t,o=f.f.parse(t);if(o.length>5)return s;const n=f.f.createTransformer(t),r="number"!==typeof o[0]?1:0,a=i.x.scale*e.x,l=i.y.scale*e.y;o[0+r]/=a,o[1+r]/=l;const h=(0,ne.k)(a,l,.5);return"number"===typeof o[2+r]&&(o[2+r]/=h),"number"===typeof o[3+r]&&(o[3+r]/=h),n(o)}};let ae=!1;class le extends s.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;!function(t){for(const e in t)O[e]=t[e],(0,r.j)(e)&&(O[e].isCSSVariable=!0)}(ue),o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),ae&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ie.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:i,drag:s,isPresent:o}=this.props,{projection:n}=i;return n?(n.isPresent=o,ae=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==o?n.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?n.promote():n.relegate()||d.Gt.postRender(()=>{const t=n.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),g.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;ae=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function he(t){const[e,i]=(0,ee.xQ)(),o=(0,s.useContext)(it.L);return(0,et.jsx)(le,{...t,layoutGroup:o,switchLayoutGroup:(0,s.useContext)(Dt.N),isPresent:e,safeToRemove:i})}const ue={borderRadius:{...oe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomLeftRadius:oe,borderBottomRightRadius:oe,boxShadow:re};var ce=i(83202),de=i(84872),pe=i(31109),me=i(35835),fe=i(36804),ye=i(17046),ge=i(41533),ve=i(62956),xe=i(94458),Te=i(32192);const Se=(t,e)=>t.depth-e.depth;class Pe{constructor(){this.children=[],this.isDirty=!1}add(t){(0,Te.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,Te.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Se),this.isDirty=!1,this.children.forEach(t)}}var Ve=i(66528),we=i(94312),Ce=i(86896);const Ae=["TopLeft","TopRight","BottomLeft","BottomRight"],be=Ae.length,De=t=>"string"===typeof t?parseFloat(t):t,Re=t=>"number"===typeof t||H.px.test(t);function je(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const ke=Ee(0,.5,we.yT),Be=Ee(.5,.95,ge.l);function Ee(t,e,i){return s=>s<t?0:s>e?1:i((0,Ce.q)(t,e,s))}function Le(t,e){t.min=e.min,t.max=e.max}function Me(t,e){Le(t.x,e.x),Le(t.y,e.y)}function Fe(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var Ue=i(5673),Oe=i(55120);function Ie(t,e,i,s,o){return t=(0,Ue.hq)(t-=e,1/i,s),void 0!==o&&(t=(0,Ue.hq)(t,1/o,s)),t}function Ne(t,e,[i,s,o],n,r){!function(t,e=0,i=1,s=.5,o,n=t,r=t){if(H.KN.test(e)&&(e=parseFloat(e),e=(0,ne.k)(r.min,r.max,e/100)-r.min),"number"!==typeof e)return;let a=(0,ne.k)(n.min,n.max,s);t===n&&(a-=e),t.min=Ie(t.min,e,i,a,o),t.max=Ie(t.max,e,i,a,o)}(t,e[i],e[s],e[o],e.scale,n,r)}const We=["x","scaleX","originX"],$e=["y","scaleY","originY"];function Qe(t,e,i,s){Ne(t.x,e,We,i?i.x:void 0,s?s.x:void 0),Ne(t.y,e,$e,i?i.y:void 0,s?s.y:void 0)}function He(t){return 0===t.translate&&1===t.scale}function Xe(t){return He(t.x)&&He(t.y)}function ze(t,e){return t.min===e.min&&t.max===e.max}function Ge(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ye(t,e){return Ge(t.x,e.x)&&Ge(t.y,e.y)}function Ke(t){return(0,Oe.CQ)(t.x)/(0,Oe.CQ)(t.y)}function qe(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class _e{constructor(){this.members=[]}add(t){(0,Te.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,Te.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let i;for(let s=e;s>=0;s--){const t=this.members[s];if(!1!==t.isPresent){i=t;break}}return!!i&&(this.promote(i),!0)}promote(t,e){const 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);const{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var Ze=i(75338),Je=i(41630);const ti={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ei=["","X","Y","Z"];let ii=0;function si(t,e,i,s){const{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function oi(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=(0,xe.P)(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:e,layoutId:s}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",d.Gt,!(e||s))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&oi(s)}function ni({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(t={},i=e?.()){this.id=ii++,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,ce.Q.value&&(ti.nodes=ti.calculatedTargetDeltas=ti.calculatedProjections=0),this.nodes.forEach(li),this.nodes.forEach(fi),this.nodes.forEach(yi),this.nodes.forEach(hi),ce.Q.addProjectionMetrics&&ce.Q.addProjectionMetrics(ti)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Pe)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new T.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const 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,de.x)(e)&&!(0,pe.h)(e),this.instance=e;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.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;const o=()=>this.root.updateBlockedByResize=!1;d.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=(0,Ve.c)(o,250),ie.hasAnimatedSinceResize&&(ie.hasAnimatedSinceResize=!1,this.nodes.forEach(mi)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const n=this.options.transition||o.getDefaultTransition()||Pi,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!Ye(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);const e={...(0,me.r)(n,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||mi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,d.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(gi),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&oi(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const t=this.path[o];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(ci);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(di);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(pi),this.nodes.forEach(ri),this.nodes.forEach(ai)):this.nodes.forEach(di),this.clearAllSnapshots();const t=c.k.now();d.uv.delta=(0,ye.q)(0,1e3/60,t-d.uv.timestamp),d.uv.timestamp=t,d.uv.isProcessing=!0,d.PP.update.process(d.uv),d.PP.preRender.process(d.uv),d.PP.render.process(d.uv),d.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,g.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ui),this.sharedNodes.forEach(vi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,d.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){d.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,Oe.CQ)(this.snapshot.measuredBox.x)||(0,Oe.CQ)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let i=0;i<this.path.length;i++)this.path[i].updateScroll();const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,V.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Xe(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,Je.HD)(this.latestValues)||n)&&(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let i=this.removeElementScroll(e);var s;return t&&(i=this.removeTransform(i)),Ci((s=i).x),Ci(s.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,V.ge)();const e=t.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(bi)){const{scroll:t}=this.root;t&&((0,Ue.Ql)(e.x,t.offset.x),(0,Ue.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){const e=(0,V.ge)();if(Me(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){const s=this.path[i],{scroll:o,options:n}=s;s!==this.root&&o&&n.layoutScroll&&(o.wasRoot&&Me(e,t),(0,Ue.Ql)(e.x,o.offset.x),(0,Ue.Ql)(e.y,o.offset.y))}return e}applyTransform(t,e=!1){const i=(0,V.ge)();Me(i,t);for(let s=0;s<this.path.length;s++){const t=this.path[s];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(0,Ue.Ww)(i,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),(0,Je.HD)(t.latestValues)&&(0,Ue.Ww)(i,t.latestValues)}return(0,Je.HD)(this.latestValues)&&(0,Ue.Ww)(i,this.latestValues),i}removeTransform(t){const e=(0,V.ge)();Me(e,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];if(!t.instance)continue;if(!(0,Je.HD)(t.latestValues))continue;(0,Je.vk)(t.latestValues)&&t.updateSnapshot();const s=(0,V.ge)();Me(s,t.measurePageBox()),Qe(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,s)}return(0,Je.HD)(this.latestValues)&&Qe(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!==d.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=d.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,V.ge)(),this.relativeTargetOrigin=(0,V.ge)(),(0,Oe.jA)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,V.ge)(),this.targetWithTransforms=(0,V.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,Oe.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Me(this.target,this.layout.layoutBox),(0,Ue.o4)(this.target,this.targetDelta)):Me(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,V.ge)(),this.relativeTargetOrigin=(0,V.ge)(),(0,Oe.jA)(this.relativeTargetOrigin,this.target,t.target),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ce.Q.value&&ti.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,Je.vk)(this.parent.latestValues)&&!(0,Je.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===d.uv.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;Me(this.layoutCorrected,this.layout.layoutBox);const n=this.treeScale.x,r=this.treeScale.y;(0,Ue.OU)(this.layoutCorrected,this.treeScale,this.path,e),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,V.ge)());const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(Fe(this.prevProjectionDelta.x,this.projectionDelta.x),Fe(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,Oe.vb)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===r&&qe(this.projectionDelta.x,this.prevProjectionDelta.x)&&qe(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ce.Q.value&&ti.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,V.xU)(),this.projectionDelta=(0,V.xU)(),this.projectionDeltaWithTransform=(0,V.xU)()}setAnimationOrigin(t,e=!1){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},n=(0,V.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r=(0,V.ge)(),a=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),h=!l||l.members.length<=1,u=Boolean(a&&!h&&!0===this.options.crossfade&&!this.path.some(Si));let c;this.animationProgress=0,this.mixTargetDelta=e=>{const i=e/1e3;var l,d,p,m,f,y;xi(n.x,t.x,i),xi(n.y,t.y,i),this.setTargetDelta(n),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,Oe.jA)(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ti((p=this.relativeTarget).x,(m=this.relativeTargetOrigin).x,(f=r).x,y=i),Ti(p.y,m.y,f.y,y),c&&ze((l=this.relativeTarget).x,(d=c).x)&&ze(l.y,d.y)&&(this.isProjectionDirty=!1),c||(c=(0,V.ge)()),Me(c,this.relativeTarget)),a&&(this.animationValues=o,function(t,e,i,s,o,n){o?(t.opacity=(0,ne.k)(0,i.opacity??1,ke(s)),t.opacityExit=(0,ne.k)(e.opacity??1,0,Be(s))):n&&(t.opacity=(0,ne.k)(e.opacity??1,i.opacity??1,s));for(let r=0;r<be;r++){const o=`border${Ae[r]}Radius`;let n=je(e,o),a=je(i,o);void 0===n&&void 0===a||(n||(n=0),a||(a=0),0===n||0===a||Re(n)===Re(a)?(t[o]=Math.max((0,ne.k)(De(n),De(a),s),0),(H.KN.test(a)||H.KN.test(n))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,ne.k)(e.rotate||0,i.rotate||0,s))}(o,s,this.latestValues,i,u,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,d.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=d.Gt.update(()=>{ie.hasAnimatedSinceResize=!0,fe.q.layout++,this.motionValue||(this.motionValue=(0,p.OQ)(0)),this.currentAnimation=(0,ve.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{fe.q.layout--},onComplete:()=>{fe.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:i,layout:s,latestValues:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&Ai(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,V.ge)();const e=(0,Oe.CQ)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;const s=(0,Oe.CQ)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}Me(e,i),(0,Ue.Ww)(e,o),(0,Oe.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new _e),this.sharedNodes.get(t).add(e);const i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){const s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;const s={};i.z&&si("z",t,s,this.animationValues);for(let o=0;o<ei.length;o++)si(`rotate${ei[o]}`,t,s,this.animationValues),si(`skew${ei[o]}`,t,s,this.animationValues);t.render();for(const o in s)t.setStaticValue(o,s[o]),this.animationValues&&(this.animationValues[o]=s[o]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,vt.u)(e?.pointerEvents)||"",void(t.transform=i?i(this.latestValues,""):"none");const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,vt.u)(e?.pointerEvents)||""),void(this.hasProjected&&!(0,Je.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1));t.visibility="";const o=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="";const o=t.x.translate/e.x,n=t.y.translate/e.y,r=i?.z||0;if((o||n||r)&&(s=`translate3d(${o}px, ${n}px, ${r}px) `),1===e.x&&1===e.y||(s+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:t,rotate:e,rotateX:o,rotateY:n,skewX:r,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotateX(${o}deg) `),n&&(s+=`rotateY(${n}deg) `),r&&(s+=`skewX(${r}deg) `),a&&(s+=`skewY(${a}deg) `)}const 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,o);i&&(n=i(o,n)),t.transform=n;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,t.opacity=s.animationValues?s===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const l in O){if(void 0===o[l])continue;const{correct:e,applyTo:i,isCSSVariable:r}=O[l],a="none"===n?o[l]:e(o[l],s);if(i){const e=i.length;for(let s=0;s<e;s++)t[i[s]]=a}else r?this.options.visualElement.renderState.vars[l]=a:t[l]=a}this.options.layoutId&&(t.pointerEvents=s===this?(0,vt.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(ci),this.root.sharedNodes.clear()}}}function ri(t){t.updateLayout()}function ai(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=t.layout,{animationType:o}=t.options,n=e.source!==t.layout.source;"size"===o?(0,Ze.X)(t=>{const s=n?e.measuredBox[t]:e.layoutBox[t],o=(0,Oe.CQ)(s);s.min=i[t].min,s.max=s.min+o}):Ai(o,e.layoutBox,i)&&(0,Ze.X)(s=>{const o=n?e.measuredBox[s]:e.layoutBox[s],r=(0,Oe.CQ)(i[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});const r=(0,V.xU)();(0,Oe.vb)(r,i,e.layoutBox);const a=(0,V.xU)();n?(0,Oe.vb)(a,t.applyTransform(s,!0),e.measuredBox):(0,Oe.vb)(a,i,e.layoutBox);const l=!Xe(r);let h=!1;if(!t.resumeFrom){const s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){const{snapshot:o,layout:n}=s;if(o&&n){const r=(0,V.ge)();(0,Oe.jA)(r,e.layoutBox,o.layoutBox);const a=(0,V.ge)();(0,Oe.jA)(a,i,n.layoutBox),Ye(r,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function li(t){ce.Q.value&&ti.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function hi(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ui(t){t.clearSnapshot()}function ci(t){t.clearMeasurements()}function di(t){t.isLayoutDirty=!1}function pi(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function mi(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function fi(t){t.resolveTargetDelta()}function yi(t){t.calcProjection()}function gi(t){t.resetSkewAndRotation()}function vi(t){t.removeLeadSnapshot()}function xi(t,e,i){t.translate=(0,ne.k)(e.translate,0,i),t.scale=(0,ne.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function Ti(t,e,i,s){t.min=(0,ne.k)(e.min,i.min,s),t.max=(0,ne.k)(e.max,i.max,s)}function Si(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Pi={duration:.45,ease:[.4,0,.1,1]},Vi=t=>"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),wi=Vi("applewebkit/")&&!Vi("chrome/")?Math.round:ge.l;function Ci(t){t.min=wi(t.min),t.max=wi(t.max)}function Ai(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,Oe.HQ)(Ke(e),Ke(i),.2)}function bi(t){return t!==t.root&&t.scroll?.wasRoot}var Di=i(63998);const Ri=ni({attachResizeListener:(t,e)=>(0,Di.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ji={current:void 0},ki=ni({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ji.current){const t=new Ri({});t.mount(window),t.setOptions({layoutScroll:!0}),ji.current=t}return ji.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Bi={pan:{Feature:te.f},drag:{Feature:Jt.w,ProjectionNode:ki,MeasureLayout:he}};var Ei=i(12846),Li=i(38016),Mi=i(921);const Fi=new WeakMap,Ui=new WeakMap,Oi=t=>{const e=Fi.get(t.target);e&&e(t)},Ii=t=>{t.forEach(Oi)},Ni={some:0,all:1},Wi=Lt({...Zt,inView:{Feature:class extends qt.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:o}=t;return function(t,e,i){const s=function({root:t,...e}){const i=t||document;Ui.has(i)||Ui.set(i,{});const s=Ui.get(i),o=JSON.stringify(e);return s[o]||(s[o]=new IntersectionObserver(Ii,{root:t,...e})),s[o]}(e);return Fi.set(t,i),s.observe(t),()=>{Fi.delete(t),s.unobserve(t)}}(this.node.current,{root:e?e.current:void 0,rootMargin:i,threshold:"number"===typeof s?s:Ni[s]},t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,o&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)})}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{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(){}}},tap:{Feature:Mi.H},focus:{Feature:Li.c},hover:{Feature:Ei.e},...Bi,layout:{ProjectionNode:ki,MeasureLayout:he}},tt)},48062:(t,e,i)=>{i.d(e,{I:()=>s});const s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},54106:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>s});const s=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),o=()=>({x:{min:0,max:0},y:{min:0,max:0}})},55120:(t,e,i)=>{i.d(e,{CQ:()=>l,HQ:()=>h,N:()=>p,jA:()=>f,vb:()=>c});var s=i(65744);const o=.9999,n=1.0001,r=-.01,a=.01;function l(t){return t.max-t.min}function h(t,e,i){return Math.abs(t-e)<=i}function u(t,e,i,h=.5){t.origin=h,t.originPoint=(0,s.k)(e.min,e.max,t.origin),t.scale=l(i)/l(e),t.translate=(0,s.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=o&&t.scale<=n||isNaN(t.scale))&&(t.scale=1),(t.translate>=r&&t.translate<=a||isNaN(t.translate))&&(t.translate=0)}function c(t,e,i,s){u(t.x,e.x,i.x,s?s.originX:void 0),u(t.y,e.y,i.y,s?s.originY:void 0)}function d(t,e,i){t.min=i.min+e.min,t.max=t.min+l(e)}function p(t,e,i){d(t.x,e.x,i.x),d(t.y,e.y,i.y)}function m(t,e,i){t.min=e.min-i.min,t.max=t.min+l(e)}function f(t,e,i){m(t.x,e.x,i.x),m(t.y,e.y,i.y)}},74737:(t,e,i)=>{i.d(e,{K:()=>o});var s=i(13141);function o(t,e,i){const o=t.getProps();return(0,s.a)(o,e,void 0!==i?i:o.custom,t)}},75338:(t,e,i)=>{function s(t){return[t("x"),t("y")]}i.d(e,{X:()=>s})},94805:(t,e,i)=>{i.d(e,{L:()=>r,m:()=>n});var s=i(38448),o=i(5673);function n(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function r(t,e,i){const s=n(t,i),{scroll:r}=e;return r&&((0,o.Ql)(s.x,r.offset.x),(0,o.Ql)(s.y,r.offset.y)),s}}}]);