PageSourceSearch

https://katch.ru/_next/static/chunks/7677-52a8e7d59167f14b.js

js katch.ru collected 2026-10-06 07:02:36 UTC 117,777 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7677],{631:(t,e,i)=>{i.d(e,{w:()=>s});function s(t){return"string"==typeof t||Array.isArray(t)}},971:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var s=i(71710),r=i(631),n=i(37214);function o(t){return(0,s.N)(t.animate)||n._.some(e=>(0,r.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},5848:(t,e,i)=>{i.d(e,{v:()=>r});var s=i(65030);class r{constructor(){this.subscriptions=[]}add(t){return(0,s.Kq)(this.subscriptions,t),()=>(0,s.Ai)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},6047:(t,e,i)=>{i.d(e,{D:()=>o});var s=i(6907),r=i(32422);let n={...i(44341).W,color:s.y,backgroundColor:s.y,outlineColor:s.y,fill:s.y,stroke:s.y,borderColor:s.y,borderTopColor:s.y,borderRightColor:s.y,borderBottomColor:s.y,borderLeftColor:s.y,filter:r.p,WebkitFilter:r.p},o=t=>n[t]},6907:(t,e,i)=>{i.d(e,{y:()=>o});var s=i(51008),r=i(59985),n=i(31949);let o={test:t=>n.B.test(t)||s.u.test(t)||r.V.test(t),parse:t=>n.B.test(t)?n.B.parse(t):r.V.test(t)?r.V.parse(t):s.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?n.B.transform(t):r.V.transform(t)}},11223:(t,e,i)=>{i.d(e,{b:()=>n});var s=i(24160),r=i(77099);class n extends s.B{constructor(){super(...arguments),this.KeyframeResolver=r.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]}}},11229:(t,e,i)=>{i.d(e,{F:()=>r});let s=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(s)},11791:(t,e,i)=>{i.d(e,{Z:()=>r});var s=i(16437);function r(t){let e=[0];return(0,s.f)(e,t.length-1),e}},13723:(t,e,i)=>{i.d(e,{d:()=>o});var s=i(15484),r=i(58222),n=i(70819);function o(t,e,i,o){for(let i in(0,r.e)(t,e,void 0,o),e.attrs)t.setAttribute(n.e.has(i)?i:(0,s.I)(i),e.attrs[i])}},14329:(t,e,i)=>{i.d(e,{C:()=>s});let s=new WeakMap},14397:(t,e,i)=>{i.d(e,{$:()=>n,q:()=>o});var s=i(97033);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,n=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,o,a,l]=r.match(s.S);return{[t]:parseFloat(n),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},14712:(t,e,i)=>{i.d(e,{B:()=>r});let 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"]},r={};for(let t in s)r[t]={isEnabled:e=>s[t].some(t=>!!e[t])}},15484:(t,e,i)=>{i.d(e,{I:()=>s});let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},16384:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>n,uv:()=>o});var s=i(58741);let{schedule:r,cancel:n,state:o,steps:a}=(0,i(39640).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:s.l,!0)},16437:(t,e,i)=>{i.d(e,{f:()=>n});var s=i(61683),r=i(52840);function n(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let o=(0,r.q)(0,e,n);t.push((0,s.k)(i,1,o))}}},16726:(t,e,i)=>{function s({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function n(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>n,pA:()=>r})},17228:(t,e,i)=>{i.d(e,{X4:()=>n,ai:()=>r,hs:()=>o});var s=i(71156);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},n={...r,transform:t=>(0,s.q)(0,1,t)},o={...r,default:1}},17517:(t,e,i)=>{i.d(e,{K:()=>r});var s=i(52840);let r=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=t((0,s.q)(0,n-1,e))+", ";return`linear(${r.substring(0,r.length-2)})`}},17714:(t,e,i)=>{i.d(e,{n:()=>s});let s="data-"+(0,i(15484).I)("framerAppearId")},18149:(t,e,i)=>{i.d(e,{K:()=>r});var s=i(25857);function r(t,e,i){let r=t.getProps();return(0,s.a)(r,e,void 0!==i?i:r.custom,t)}},22157:(t,e,i)=>{i.d(e,{V:()=>s});let s=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},23727:(t,e,i)=>{i.d(e,{$:()=>r,H:()=>s});let s={};function r(t){Object.assign(s,t)}},23783:(t,e,i)=>{i.d(e,{M:()=>c});
1var s=i(86580),r=i(58070),n=i(80428),o=i(33552),a=i(58222),l=i(6047),h=i(77119),u=i(11223),d=i(74128);class c extends u.b{constructor(){super(...arguments),this.type="html",this.renderInstance=a.e}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,l.D)(e);return t&&t.default||0}{let 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,h.m)(t,e)}build(t,e,i){(0,s.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,o.x)(t,e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,d.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},24160:(t,e,i)=>{i.d(e,{B:()=>k});var s=i(50998);let r={current:null},n={current:!1};var o=i(5848),a=i(28577),l=i(74128),h=i(80428),u=i(971),d=i(25857),c=i(14712),p=i(14329),m=i(88373),f=i(78032),v=i(71058),g=i(6907),y=i(67798),x=i(31253),P=i(98869);let w=[...x.T,g.y,y.f];var T=i(69658),S=i(66916),b=i(68478),A=i(16384);let V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=m.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=b.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,A.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:h}=n;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=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,u.e)(e),this.isVariantNode=(0,u.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&(0,l.S)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,p.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)),n.current||function(){if(n.current=!0,s.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.current=t.matches;t.addListener(e),e()}else r.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in p.C.delete(this.current),this.projection&&this.projection.unmount(),(0,A.WG)(this.notifyUpdate),(0,A.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=h.f.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in c.B){let e=c.B[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
1e.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<V.length;e++){let i=V[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if((0,l.S)(r))t.addValue(s,r);else if((0,l.S)(n))t.addValue(s,(0,a.OQ)(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,(0,a.OQ)(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,a.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=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];if(null!=s){if("string"==typeof s&&((0,f.i)(s)||(0,v.$)(s)))s=parseFloat(s);else{let i;i=s,!w.find((0,P.w)(i))&&y.f.test(e)&&(s=(0,T.J)(t,e))}this.setBaseTarget(t,(0,l.S)(s)?s.get():s)}return(0,l.S)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let r=(0,d.a)(this.props,s,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(s&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,l.S)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new o.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},24275:(t,e,i)=>{i.d(e,{t:()=>s});let s=(0,i(12115).createContext)(null)},24370:(t,e,i)=>{i.d(e,{W:()=>s});let s={skipAnimations:!1,useManualTiming:!1}},25857:(t,e,i)=>{function s(t){let e=[{},{}];return 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[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}return e}i.d(e,{a:()=>r})},26216:(t,e,i)=>{i.d(e,{po:()=>n,tn:()=>a,yT:()=>o});var s=i(22157),r=i(99452);let n=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(n),a=(0,s.V)(n)},28577:(t,e,i)=>{i.d(e,{OQ:()=>h});var s=i(5848),r=i(99485),n=i(68478),o=i(16384);let a={current:void 0};class l{constructor(t,e={}){this.version="11.12.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=n.k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}}
1,31253:(t,e,i)=>{i.d(e,{T:()=>o,n:()=>a});var s=i(17228),r=i(36117),n=i(98869);let o=[s.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,n.w)(t))},31949:(t,e,i)=>{i.d(e,{B:()=>l});var s=i(71156),r=i(17228),n=i(37316),o=i(14397);let a={...r.ai,transform:t=>Math.round((0,s.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,n.a)(r.X4.transform(s))+")"}},32422:(t,e,i)=>{i.d(e,{p:()=>l});var s=i(67798),r=i(97033);let n=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(r.S)||[];if(!s)return t;let o=i.replace(s,""),a=+!!n.has(e);return s!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...s.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},33552:(t,e,i)=>{i.d(e,{x:()=>n});var s=i(60101),r=i(74128);function n(t,e,i){var n;let{style:o}=t,a={};for(let l in o)((0,r.S)(o[l])||e.style&&(0,r.S)(e.style[l])||(0,s.z)(l,t)||(null==(n=null==i?void 0:i.getValue(l))?void 0:n.liveStyle)!==void 0)&&(a[l]=o[l]);return a}},34307:(t,e,i)=>{i.d(e,{x:()=>s});function s(t){return t instanceof SVGElement&&"svg"!==t.tagName}},35351:(t,e,i)=>{i.d(e,{W:()=>s});function s(t){return"function"==typeof t}},36117:(t,e,i)=>{i.d(e,{KN:()=>n,gQ:()=>h,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let s=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=s("deg"),n=s("%"),o=s("px"),a=s("vh"),l=s("vw"),h={...n,parse:t=>n.parse(t)/100,transform:t=>n.transform(100*t)}},37214:(t,e,i)=>{i.d(e,{U:()=>s,_:()=>r});let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...s]},37316:(t,e,i)=>{i.d(e,{a:()=>s});let s=t=>Math.round(1e5*t)/1e5},39640:(t,e,i)=>{i.d(e,{I:()=>n});var s=i(24370);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function n(t,e){let i=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,r=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){n.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&s?e:i;return r&&n.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0,[e,i]=[i,e],i.clear(),e.forEach(a),s=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:h,resolveKeyframes:u,update:d,preRender:c,render:p,postRender:m}=l,f=()=>{let r=s.W.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=n?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,h.process(o),u.process(o),d.process(o),c.process(o),p.process(o),m.process(o),o.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:r.reduce((e,s)=>{let r=l[s];return e[s]=(e,s=!1,a=!1)=>(!i&&(i=!0,n=!0,o.isProcessing||t(f)),r.schedule(e,s,a)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},39760:(t,e,i)=>{i.d(e,{o:()=>m});var s=i(17517),r=i(84313),n=i(47466),o=i(63288),a=i(71156);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function h(t,e){return t*Math.sqrt(1-e*e)}var u=i(77571);let d=["duration","bounce"],c=["stiffness","damping","mass"];function p(t,e){return e.some(e=>void 0!==t[e])}function m(t=l.visualDuration,e=l.bounce){let i,f="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:g}=f,y=f.keyframes[0],x=f.keyframes[f.keyframes.length-1],P={done:!1,value:y},{stiffness:w,damping:T,mass:S,duration:b,velocity:A,isResolvedFromDuration:V}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};if(!p(t,c)&&p(t,d))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,r=2*(0,a.q)(.05,1,1-t.bounce)*Math.sqrt(s);e={...e,mass:l.mass,stiffness:s,damping:r}}else{let i=function({duration:t=l.duration,bounce:e=l.bounce,velocity:i=l.velocity,mass:s=l.mass}){let n,u;(0,o.$)(t<=(0,r.f)(l.maxDuration),"Spring duration must be 10 seconds or less");let d=1-e;d=(0,a.q)(l.minDamping,l.maxDamping,d),t=(0,a.q)(l.minDuration,l.maxDuration,(0,r.X)(t)),d<1?(n=e=>{let s=e*d,r=s*t;return .001-(s-i)/h(e,d)*Math.exp(-r)},u=e=>{let s=e*d*t,r=Math.pow(d,2)*Math.pow(e,2)*t,o=Math.exp(-s),a=h(Math.pow(e,2),d);return(s*i+i-r)*o*(-n(e)+.001>0?-1:1)/a}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),u=e=>t*t*(i-e)*Math.exp(-e*t));
1let c=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(n,u,5/t);if(t=(0,r.f)(t),isNaN(c))return{stiffness:l.stiffness,damping:l.damping,duration:t};{let e=Math.pow(c,2)*s;return{stiffness:e,damping:2*d*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:l.mass}).isResolvedFromDuration=!0}return e}({...f,velocity:-(0,r.X)(f.velocity||0)}),k=A||0,M=T/(2*Math.sqrt(w*S)),E=x-y,D=(0,r.X)(Math.sqrt(w/S)),C=5>Math.abs(E);if(v||(v=C?l.restSpeed.granular:l.restSpeed.default),g||(g=C?l.restDelta.granular:l.restDelta.default),M<1){let t=h(D,M);i=e=>x-Math.exp(-M*D*e)*((k+M*D*E)/t*Math.sin(t*e)+E*Math.cos(t*e))}else if(1===M)i=t=>x-Math.exp(-D*t)*(E+(k+D*E)*t);else{let t=D*Math.sqrt(M*M-1);i=e=>{let i=Math.exp(-M*D*e),s=Math.min(t*e,300);return x-i*((k+M*D*E)*Math.sinh(s)+t*E*Math.cosh(s))/t}}let R={calculatedDuration:V&&b||null,next:t=>{let e=i(t);if(V)P.done=t>=b;else{let s=0;M<1&&(s=0===t?(0,r.f)(k):(0,n.Y)(i,t,e));let o=Math.abs(x-e)<=g;P.done=Math.abs(s)<=v&&o}return P.value=P.done?x:e,P},toString:()=>{let t=Math.min((0,u.t)(R),u.Y),e=(0,s.K)(e=>R.next(t*e).value,t,30);return t+"ms "+e}};return R}},40209:(t,e,i)=>{i.d(e,{x:()=>o});var s=i(74128),r=i(33552),n=i(80428);function o(t,e,i){let o=(0,r.x)(t,e,i);for(let i in t)((0,s.S)(t[i])||(0,s.S)(e[i]))&&(o[-1!==n.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},40305:(t,e,i)=>{i.d(e,{h:()=>s});let s=t=>Array.isArray(t)&&"number"!=typeof t[0]},41373:(t,e,i)=>{i.d(e,{n:()=>s});let s=t=>"string"==typeof t&&"svg"===t.toLowerCase()},42007:(t,e,i)=>{i.d(e,{L:()=>s});let s=(0,i(12115).createContext)({})},43407:(t,e,i)=>{i.d(e,{g:()=>r});var s=i(74128);function r(t,e){let i=t.getValue("willChange");if((0,s.S)(i)&&i.add)return i.add(e)}},44196:(t,e,i)=>{function s(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function n(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>n,vF:()=>o,vk:()=>r})},44226:(t,e,i)=>{i.d(e,{$y:()=>o,E4:()=>a,Hr:()=>p,W9:()=>c});var s=i(80428),r=i(17228),n=i(36117);let o=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),a=t=>t===r.ai||t===n.px,l=(t,e)=>parseFloat(t.split(", ")[e]),h=(t,e)=>(i,{transform:s})=>{if("none"===s||!s)return 0;let r=s.match(/^matrix3d\((.+)\)$/u);if(r)return l(r[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?l(e[1],t):0}},u=new Set(["x","y","z"]),d=s.U.filter(t=>!u.has(t));function c(t){let e=[];return d.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}let p={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:h(4,13),y:h(5,14)};p.translateX=p.x,p.translateY=p.y},44341:(t,e,i)=>{i.d(e,{W:()=>l});var s=i(17228),r=i(36117);let n={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px},o={rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:s.hs,scaleX:s.hs,scaleY:s.hs,scaleZ:s.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:s.X4,originX:r.gQ,originY:r.gQ,originZ:r.px},a={...s.ai,transform:Math.round},l={...n,...o,zIndex:a,size:r.px,fillOpacity:s.X4,strokeOpacity:s.X4,numOctaves:a}},47466:(t,e,i)=>{i.d(e,{Y:()=>r});var s=i(99485);function r(t,e,i){let r=Math.max(e-5,0);return(0,s.f)(i-t(r),e-r)}},47642:(t,e,i)=>{i.d(e,{z:()=>o});var s=i(69203),r=i(28577),n=i(74128);function o(t,e,i){let o=(0,n.S)(t)?t:(0,r.OQ)(t);return o.start((0,s.f)("",o,e,i)),o.animation}},50998:(t,e,i)=>{i.d(e,{B:()=>s});let s="undefined"!=typeof window},51008:(t,e,i)=>{i.d(e,{u:()=>r});var s=i(31949);let r={test:(0,i(14397).$)("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alph
1a:r?parseInt(r,16)/255:1}},transform:s.B.transform}},51857:(t,e,i)=>{i.d(e,{B:()=>r,K:()=>n});var s=i(92332);let r=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),n=t=>(0,s.p)(t)?t[t.length-1]||0:t},52840:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}},54634:(t,e,i)=>{i.d(e,{Q:()=>s});let s=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},58070:(t,e,i)=>{i.d(e,{j:()=>r,p:()=>o});let s=t=>e=>"string"==typeof e&&e.startsWith(t),r=s("--"),n=s("var(--"),o=t=>!!n(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},58222:(t,e,i)=>{i.d(e,{e:()=>s});function s(t,{style:e,vars:i},s,r){for(let n in Object.assign(t.style,e,r&&r.getProjectionStyles(s)),i)t.style.setProperty(n,i[n])}},58741:(t,e,i)=>{i.d(e,{l:()=>s});let s=t=>t},59985:(t,e,i)=>{i.d(e,{V:()=>a});var s=i(17228),r=i(36117),n=i(37316),o=i(14397);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,n.a)(e))+", "+r.KN.transform((0,n.a)(i))+", "+(0,n.a)(s.X4.transform(o))+")"}},60101:(t,e,i)=>{i.d(e,{z:()=>n});var s=i(23727),r=i(80428);function n(t,{layout:e,layoutId:i}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!s.H[t]||"opacity"===t)}},61683:(t,e,i)=>{i.d(e,{k:()=>s});let s=(t,e,i)=>t+(e-t)*i},63288:(t,e,i)=>{i.d(e,{$:()=>r,V:()=>n});var s=i(58741);let r=s.l,n=s.l},63931:(t,e,i)=>{i.d(e,{P:()=>r});let s=(0,i(75127).p)(()=>void 0!==window.ScrollTimeline);class r{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>s()&&i.attachTimeline?i.attachTimeline(t):e(i));return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},65030:(t,e,i)=>{function s(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>s})},66916:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>r});let s=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:s(),y:s()}),n=()=>({min:0,max:0}),o=()=>({x:n(),y:n()})},67798:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>m});var s=i(6907);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var n=i(97033),o=i(37316);let a="number",l="color",h=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],o=0,u=e.replace(h,t=>(s.y.test(t)?(r.color.push(o),n.push(l),i.push(s.y.parse(t))):t.startsWith("var(")?(r.var.push(o),n.push("var"),i.push(t)):(r.number.push(o),n.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:u,indexes:r,types:n}}function d(t){return u(t).values}function c(t){let{split:e,types:i}=u(t),r=e.length;return t=>{let n="";for(let h=0;h<r;h++)if(n+=e[h],void 0!==t[h]){let e=i[h];e===a?n+=(0,o.a)(t[h]):e===l?n+=s.y.transform(t[h]):n+=t[h]}return n}}let p=t=>"number"==typeof t?0:t,m={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(n.S))?void 0:e.length)||0)+((null==(i=t.match(r))?void 0:i.length)||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},68478:(t,e,i)=>{let s;i.d(e,{k:()=>a});var r=i(24370),n=i(16384);function o(){s=void 0}let a={now:()=>(void 0===s&&a.set(n.uv.isProcessing||r.W.useManualTiming?n.uv.timestamp:performance.now()),s),set
1:t=>{s=t,queueMicrotask(o)}}},69203:(t,e,i)=>{i.d(e,{f:()=>tM});var s=i(84313),r=i(80428);let n={type:"spring",stiffness:500,damping:25,restSpeed:10},o={type:"keyframes",duration:.8},a={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var l=i(95408),h=i(24370);let u={current:!1},d=t=>null!==t;function c(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(d),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}var p=i(16384),m=i(89003),f=i(22157),v=i(99452);let g=(0,m.A)(.33,1.53,.69,.99),y=(0,v.G)(g),x=(0,f.V)(y),P=t=>(t*=2)<1?.5*y(t):.5*(2-Math.pow(2,-10*(t-1)));var w=i(26216),T=i(77099),S=i(58741),b=i(35351),A=i(68478),V=i(88373),k=i(63288),M=i(67798);let E=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(M.f.test(t)||"0"===t)&&!t.startsWith("url("));class D{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=A.k.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,V.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=A.k.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:n,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=E(r,e),a=E(n,e);return(0,k.$)(o===a,`You are trying to animate ${e} from "${r}" to "${n}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,b.W)(i))&&s)}(t,i,s,r))if(u.current||!n){null==a||a(c(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}else this.options.duration=0;let h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var C=i(39760),R=i(47466);function j({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,g=void 0===o?v:o(v);g!==v&&(f=g-p);let y=t=>-f*Math.exp(-t/s),x=t=>g+y(t),P=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?g:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=(0,C.o)({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,R.Y)(x,t,m.value),damping:r,stiffness:n,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,P(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||P(t),m)}}}let F=(0,m.A)(.42,0,1,1),L=(0,m.A)(0,0,.58,1),B=(0,m.A)(.42,0,.58,1);var O=i(40305);let U=t=>Array.isArray(t)&&"number"==typeof t[0],I={linear:S.l,easeIn:F,easeInOut:B,easeOut:L,circIn:w.po,circInOut:w.tn,circOut:w.yT,backIn:y,backInOut:x,backOut:g,anticipate:P},$=t=>{if(U(t)){(0,k.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,r]=t;return(0,m.A)(e,i,s,r)}return"string"==typeof t?((0,k.V)(void 0!==I[t],`Invalid easing type '${t}'`),I[t]):t};var W=i(71156),N=i(11229),G=i(52840),K=i(61683);function q(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var H=i(51008),X=i(31949),z=i(59985);function Y(t,e){return i=>i>0?e:t}let _=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},Q=[H.u,X.B,z.V];function Z(t){let e=Q.find(e=>e.test(t));if((0,k.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===z.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let r=0,n=0,o=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,a=2*i-s;r=q(a,s,t+1/3),n=q(a,s,t),o=q(a,s,t-1/3)}else r=n=o=i;return{red:Math.round(255*r),green:Math.round(255*n),blue:Math.round(255*o),alpha:s}}(i)),i}let J=(t,e)=>{let i=Z(t),s=Z(e);if(!i||!s)return Y(t,e);let r={...i};return t=>(r.red=_(i.red,s.red,t),r.green=_(i.green,s.green,t),r.blue=_(i.blue,s.blue,t),r.alpha=(0,K.k)(i.alpha,s.alpha,t),X.B.transform(r))};var tt=i(6907),te=i(58070);let ti=new Set(["none","hidden"]);function ts(t,e){return i=>(0,K.k)(t,e,i)}function tr(t){return"number"==typeof t?ts:"string"==typeof t?(0,te.p)(t)?Y:tt.y.test(t)?J:ta:Array.isArray(t)?tn:"object"==typeof t?tt.y.test(t)?J:to:Y}function tn(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>tr(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function to(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=tr(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let ta=(t,e)=>{let i=M.f.createTransformer(e),s=(0,M.V)(t),r=(0,M.V)(e);return s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length?ti.has(t)&&!r.values.length||ti.has(e)&&!s.values.length?function(t,e){return ti.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,N.F)(tn(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;s[n]=l,r[o]++}return s}(s,r),r.values),i):((0,k.$)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Y(t,e))};function tl(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,K.k)(t,e,i):tr(t)(t,e)}var th=i(11791);function tu({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n=(0,O.h)(s)?s.map($):$(s),o={done:!1,value:e[0]},a=function(t,e,{clamp:i=!0,ease:s,mixer:r}={}){let n=t.length;if((0,k.V)(n===e.length,"Both input and output ranges must be the same length"),1===n)return()=>e[0];if(2===n&&t[0]===t[1])return()=>e[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],r=i||tl,n=t.length-1;for(let i=0;i<n;i++){let n=r(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||S.l:e;n=(0,N.F)(t,n)}s.push(n)}return s}(e,s,r),a=o.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let s=(0,G.q)(t[i],t[i+1],e);return o[i](s)};return i?e=>l((0,W.q)(t[0],t[n-1],e)):l}((r=i&&i.length===e.length?i:(0,th.Z)(e),r.map(e=>e*t)),e,{ease:Array.isArray(n)?n:e.map(()=>n||B).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var td=i(77571);let tc=t=>{let e=({timestamp:e})=>t(e);return{start:()=>p.Gt.update(e,!0),stop:()=>(0,p.WG)(e),now:()=>p.uv.isProcessing?p.uv.timestamp:A.k.now()}},tp={decay:j,inertia:j,tween:tu,keyframes:tu,spring:C.o},tm=t=>t/100;class tf extends D{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:s,keyframes:r}=this.options,n=(null==s?void 0:s.KeyframeResolver)||V.h,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(r,o,e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=(0,b.W)(s)?s:tp[s]||tu;l!==tu&&"number"!=typeof t[0]&&(e=(0,N.F)(tm,tl(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,td.t)(h));let{calculatedDuration:u}=h,d=u+n;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(r+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:r,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:p,repeatType:m,repeatDelay:f,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>h;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let x=this.currentTime,P=r;if(p){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===m?(i=1-i,f&&(i-=f/u)):"mirror"===m&&(P=n)),x=(0,W.q)(0,1,i)*u}let w=y?{done:!1,value:a[0]}:P.next(x);o&&(w.value=o(w.value));let{done:T}=w;y||null===l||(T=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&void 0!==s&&(w.value=c(a,this.options,s)),v&&v(w.value),S&&this.finish(),w}get duration(){let{resolved:t}=this;return t?(0,s.X)(t.calculatedDuration):0}
1get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=tc,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let s=this.driver.now();null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=s):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let tv=new Set(["opacity","clipPath","filter","transform"]);var tg=i(17517),ty=i(75127);let tx={linearEasing:void 0},tP=function(t,e){let i=(0,ty.p)(t);return()=>{var t;return null!=(t=tx[e])?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tw=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,tT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tw([0,.65,.55,1]),circOut:tw([.55,0,1,.45]),backIn:tw([.31,.01,.66,-.59]),backOut:tw([.33,1.53,.69,.99])};function tS(t,e){t.timeline=e,t.onfinish=null}let tb=(0,ty.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tA={anticipate:P,backInOut:x,circInOut:w.tn};class tV extends D{constructor(t){super(t);let{name:e,motionValue:i,element:s,keyframes:r}=this.options;this.resolver=new T.K(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}initPlayback(t,e){var i,s;let{duration:r=300,times:n,ease:o,type:a,motionValue:l,name:h,startTime:u}=this.options;if(!(null==(i=l.owner)?void 0:i.current))return!1;if("string"==typeof o&&tP()&&o in tA&&(o=tA[o]),s=this.options,(0,b.W)(s.type)||"spring"===s.type||!function t(e){return!!("function"==typeof e&&tP()||!e||"string"==typeof e&&(e in tT||tP())||U(e)||Array.isArray(e)&&e.every(t))}(s.ease)){let{onComplete:e,onUpdate:i,motionValue:s,element:l,...h}=this.options,u=function(t,e){let i=new tf({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},r=[],n=0;for(;!s.done&&n<2e4;)r.push((s=i.sample(n)).value),n+=10;return{times:void 0,keyframes:r,duration:n-10,ease:"linear"}}(t,h);1===(t=u.keyframes).length&&(t[1]=t[0]),r=u.duration,n=u.times,o=u.ease,a="keyframes"}let d=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let h={[e]:i};l&&(h.offset=l);let u=function t(e,i){if(e)return"function"==typeof e&&tP()?(0,tg.K)(e,i):U(e)?tw(e):Array.isArray(e)?e.map(e=>t(e,i)||tT.easeOut):tT[e]}(a,r);return Array.isArray(u)&&(h.easing=u),t.animate(h,{delay:s,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,h,t,{...this.options,duration:r,times:n,ease:o});return d.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(tS(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:i}=this.options;l.set(c(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:n,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,s.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,s.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,s.f)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return S.l;let{animation:i}=e;tS(i,t)}else this.pendingTimeline=t;return S.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:n,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:h,...u}=this.options,d=new tf({...u,keyframes:i,duration:r,type:n,ease:o,times:a,isGenerator:!0}),c=(0,s.f)(this.time);t.setWithVelocity(d.sample(c-10).value,d.sample(c).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:o}=t;return tb()&&i&&tv.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUp
1date&&!s&&"mirror"!==r&&0!==n&&"inertia"!==o}}var tk=i(63931);let tM=(t,e,i,d={},m,f)=>v=>{let g=(0,l.r)(d,t)||{},y=g.delay||d.delay||0,{elapsed:x=0}=d;x-=(0,s.f)(y);let P={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...g,delay:-x,onUpdate:t=>{e.set(t),g.onUpdate&&g.onUpdate(t)},onComplete:()=>{v(),g.onComplete&&g.onComplete()},name:t,motionValue:e,element:f?void 0:m};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(g)&&(P={...P,...((t,{keyframes:e})=>e.length>2?o:r.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:n:a)(t,P)}),P.duration&&(P.duration=(0,s.f)(P.duration)),P.repeatDelay&&(P.repeatDelay=(0,s.f)(P.repeatDelay)),void 0!==P.from&&(P.keyframes[0]=P.from);let w=!1;if(!1!==P.type&&(0!==P.duration||P.repeatDelay)||(P.duration=0,0===P.delay&&(w=!0)),(u.current||h.W.skipAnimations)&&(w=!0,P.duration=0,P.delay=0),w&&!f&&void 0!==e.get()){let t=c(P.keyframes,g);if(void 0!==t)return p.Gt.update(()=>{P.onUpdate(t),P.onComplete()}),new tk.P([])}return!f&&tV.supports(P)?new tV(P):new tf(P)}},69658:(t,e,i)=>{i.d(e,{J:()=>o});var s=i(67798),r=i(32422),n=i(6047);function o(t,e){let i=(0,n.D)(t);return i!==r.p&&(i=s.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},69837:(t,e,i)=>{i.d(e,{$:()=>c});var s=i(80428),r=i(69203),n=i(51857),o=i(28577),a=i(18149),l=i(95408),h=i(77556),u=i(43407),d=i(16384);function c(t,e,{delay:i=0,transitionOverride:p,type:m}={}){var f;let{transition:v=t.getDefaultTransition(),transitionEnd:g,...y}=e;p&&(v=p);let x=[],P=m&&t.animationState&&t.animationState.getState()[m];for(let e in y){let n=t.getValue(e,null!=(f=t.latestValues[e])?f:null),o=y[e];if(void 0===o||P&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(P,e))continue;let a={delay:i,...(0,l.r)(v||{},e)},c=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,d.Gt);null!==t&&(a.startTime=t,c=!0)}}(0,u.g)(t,e),n.start((0,r.f)(e,n,o,t.shouldReduceMotion&&s.f.has(e)?{type:!1}:a,t,c));let p=n.animation;p&&x.push(p)}return g&&Promise.all(x).then(()=>{d.Gt.update(()=>{g&&function(t,e){let{transitionEnd:i={},transition:s={},...r}=(0,a.K)(t,e)||{};for(let e in r={...r,...i}){let i=(0,n.K)(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,g)})}),x}},70819:(t,e,i)=>{i.d(e,{e:()=>s});let s=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"])},71058:(t,e,i)=>{i.d(e,{$:()=>s});let s=t=>/^0[^.\s]+$/u.test(t)},71156:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>i>e?e:i<t?t:i},71710:(t,e,i)=>{i.d(e,{N:()=>s});function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},74128:(t,e,i)=>{i.d(e,{S:()=>s});let s=t=>!!(t&&t.getVelocity)},75127:(t,e,i)=>{i.d(e,{p:()=>s});function s(t){let e;return()=>(void 0===e&&(e=t()),e)}},77099:(t,e,i)=>{i.d(e,{K:()=>m});var s=i(71058),r=i(63288),n=i(78032),o=i(58070);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=i(44226),h=i(31253),u=i(88373),d=i(67798),c=i(69658);let p=new Set(["auto","none","0"]);class m extends u.h{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&(s=s.trim(),(0,o.p)(s))){let l=function t(e,i,s=1){(0,r.V)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[l,h]=function(t){let e=a.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!l)return;let u=window.getComputedStyle(i).getPropertyValue(l);if(u){let t=u.trim();return(0,n.i)(t)?parseFloat(t):t}return(0,o.p)(h)?t(h,i,s+1):h}(s,e.current);void 0!==l&&(t[i]=l),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!l.$y.has(i)||2!==t.length)return;let[s,u]=t,d=(0,h.n)(s),c=(0,h.n)(u);
1if(d!==c)if((0,l.E4)(d)&&(0,l.E4)(c))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||(0,s.$)(r))&&i.push(e)}i.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=(0,c.J)(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let n=s.length-1,o=s[n];s[n]=l.Hr[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},77119:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>n});var s=i(16726),r=i(94537);function n(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let s=n(t,i),{scroll:o}=e;return o&&((0,r.Ql)(s.x,o.offset.x),(0,r.Ql)(s.y,o.offset.y)),s}},77556:(t,e,i)=>{i.d(e,{P:()=>r});var s=i(17714);function r(t){return t.props[s.n]}},77571:(t,e,i)=>{i.d(e,{Y:()=>s,t:()=>r});let s=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<s;)e+=50,i=t.next(e);return e>=s?1/0:e}},78032:(t,e,i)=>{i.d(e,{i:()=>s});let s=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},80043:(t,e,i)=>{i.d(e,{M:()=>r});var s=i(12115);function r(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}},80428:(t,e,i)=>{i.d(e,{U:()=>s,f:()=>r});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(s)},84313:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>s});let s=t=>1e3*t,r=t=>t/1e3},86580:(t,e,i)=>{i.d(e,{O:()=>h});var s=i(80428);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var n=i(44341);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=s.U.length;var l=i(58070);function h(t,e,i){let{style:h,vars:u,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){c=!0;continue}if((0,l.j)(t)){u[t]=i;continue}{let e=r(i,n.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}if(!e.transform&&(c||i?h.transform=function(t,e,i){let l="",h=!0;for(let u=0;u<a;u++){let a=s.U[u],d=t[a];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!a.startsWith("scale"):0===parseFloat(d))||i){let t=r(d,n.W[a]);if(!c){h=!1;let e=o[a]||a;l+=`${e}(${t}) `}i&&(e[a]=t)}}return l=l.trim(),i?l=i(e,h?"":l):h&&(l="none"),l}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin=`${t} ${e} ${i}`}}},88373:(t,e,i)=>{i.d(e,{h:()=>d,q:()=>u});var s=i(44226),r=i(16384);let n=new Set,o=!1,a=!1;function l(){if(a){let t=Array.from(n).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,s.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var s;null==(s=t.getValue(e))||s.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,n.forEach(t=>t.complete()),n.clear()}function h(){n.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function u(){h(),l()}class d{constructor(t,e,i,s,r,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(n.add(this),o||(o=!0,r.Gt.read(h),r.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==s?void 0:s.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),n.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,n.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},88623:(t,e,i)=>{i.d(e,{l:()=>p});var s=i(40209),r=i(11223),n=i(98611),o=i(15484),a=i(70819),l=i(80428),h=i(13723),u=i(6047),d=i(66916),c=i(41373);class p extends r.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=d.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(l.f.has(e)){let t=(0,u.D)(e);return t&&t.default||0}return e=a.e.has(e)?e:(0,o.I)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return(0,s.x)(t,e,i)}build(t,e,i){(0,n.B)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){(0,h.d)(t,e,i,s)}mount(t){this.isSVGTag=(0,c.n)(t.tagName),super.mount(t)}}},89003:(t,e,i)=>{i.d(e,{A:()=>n});var s=i(58741);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function n(t,e,i,n){return t===e&&i===n?s.l:s=>0===s||1===s?s:r(function(t,e,i,s,n){let o,a,l=0;do(o=r(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(s,0,1,t,i),e,n)}},92332:(t,e,i)=>{i.d(e,{p:()=>s});let s=t=>Array.isArray(t)},94537:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>c,hq:()=>n,o4:()=>l});var s=i(61683),r=i(44196);function n(t,e,i){return i+e*(t-i)}function o(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function a(t,e=0,i=1,s,r){t.min=o(t.min,e,i,s,r),t.max=o(t.max,e,i,s,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,s=!1){let n,o,a=i.length;if(a){e.x=e.y=1;for(let h=0;h<a;h++){o=(n=i[h]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&c(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),s&&(0,r.HD)(n.latestValues)&&c(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,r,n=.5){let o=(0,s.k)(t.min,t.max,n);a(t,e,i,o,r)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},95124:(t,e,i)=>{i.d(e,{E:()=>r});var s=i(12115);let r=i(50998).B?s.useLayoutEffect:s.useEffect},95408:(t,e,i)=>{i.d(e,{r:()=>s});function s(t,e){return t?t[e]||t.default||t:void 0}},97033:(t,e,i)=>{i.d(e,{S:()=>s});let s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},97677:(t,e,i)=>{i.d(e,{P:()=>iP});var s,r,n=i(71710),o=i(92332);function a(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}var l=i(631),h=i(18149),u=i(37214),d=i(69837);function c(t,e,i={}){var s;let r=(0,h.K)(t,e,"exit"===i.type?null==(s=t.presenceContext)?void 0:s.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let o=r?()=>Promise.all((0,d.$)(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,s=0,r=1,n){let o=[],a=(t.variantChildren.size-1)*s,l=1===r?(t=0)=>t*s:(t=0)=>a-t*s;return Array.from(t.variantChildren).sort(p).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(c(t,e,{...n,delay:i+l(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+s,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function p(t,e){return t.sortNodePosition(e)}let m=u._.length,f=[...u.U].reverse(),v=u.U.length;function g(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function y(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}class x{constructor(t){this.isMounted=!1,this.node=t}update(){}}class P extends x{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>c(t,e,i)));else if("string"==typeof e)s=c(t,e,i);else{let r="function"==typeof e?(0,h.K)(t,e,i.custom):e;s=Promise.all((0,d.$)(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=y(),s=!0,r=e=>(i,s)=>{var r;let n=(0,h.K)(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function p(h){let{props:d}=t,c=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<m;t++){let s=u._[t],r=e.props[s];((0,l.w)(r)||!1===r)&&(i[s]=r)}return i}(t.parent)||{},p=[],g=new Set,y={},x=1/0;for(let e=0;e<v;e++){var P,w;let u=f[e],m=i[u],v=void 0!==d[u]?d[u]:c[u],T=(0,l.w)(v),S=u===h?m.isActive:null;!1===S&&(x=e);let b=v===c[u]&&v!==d[u]&&T;if(b&&s&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...y},!m.isActive&&null===S||!v&&!m.prevProp||(0,n.N)(v)||"boolean"==typeof v)continue;let A=(P=m.prevProp,"string"==typeof(w=v)?w!==P:!!Array.isArray(w)&&!a(w,P)),V=A||u===h&&m.isActive&&!b&&T||e>x&&T,k=!1,M=Array.isArray(v)?v:[v],E=M.reduce(r(u),{});!1===S&&(E={});let{prevResolvedValues:D={}}=m,C={...D,...E},R=e=>{V=!0,g.has(e)&&(k=!0,g.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in C){let e=E[t],i=D[t];if(!y.hasOwnProperty(t))((0,o.p)(e)&&(0,o.p)(i)?a(e,i):e===i)?void 0!==e&&g.has(t)?R(t):m.protectedKeys[t]=!0:null!=e?R(t):g.add(t)}m.prevProp=v,m.prevResolvedValues=E,m.isActive&&(y={...y,...E}),s&&t.blockInitialAnimation&&(V=!1);let j=!(b&&A)||k;V&&j&&p.push(...M.map(t=>({animation:t,options:{type:u}})))}if(g.size){let e={};g.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=s?s:null}),p.push({animation:e})}let T=!!p.length;return s&&(!1===d.initial||d.initial===d.animate)&&!t.manuallyAnimateOnMount&&(T=!1),s=!1,T?e(p):Promise.resolve()}return{animateChanges:p,setActive:function(e,s){var r;if(i[e].isActive===s)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,s)}),i[e].isActive=s;let n=p(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=y(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}let w=0;class T extends x{constructor(){super(...arguments),this.id=w++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var S=i(58741),b=i(63288);let A=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function V(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}var k=i(84313);function M(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}function E(t,e,i,s){return M(t,e,t=>A(t)&&i(t,V(t)),s)}var D=i(11229);let C=(t,e)=>Math.abs(t-e);var R=i(16384);class j{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=B(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(C(t.x,e.x)**2+C(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:s}=t,{timestamp:r}=R.uv;this.history.push({...s,timestamp:r});let{onStart:n,onMove:o}=this.handlers;e||(n&&n(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=F(e,this.transformPagePoint),R.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=B("pointercancel"===t.type?this.lastMoveEventInfo:F(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!A(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let n=F(V(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=R.uv;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,B(n,this.history)),this.removeListeners=(0,D.F)(E(this.contextWindow,"pointermove",this.handlePointerMove),E(this.contextWindow,"pointerup",this.handlePointerUp),E(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,R.WG)(this.updatePoint)}}function F(t,e){return e?{point:e(t.point)}:t}function L(t,e){return{x:t.x-e.x,y:t.y-e.y}}function B({point:t},e){return{point:t,delta:L(t,O(e)),offset:L(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=O(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>(0,k.f)(.1)));)i--;if(!s)return{x:0,y:0};let n=(0,k.X)(r.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let o={x:(r.x-s.x)/n,y:(r.y-s.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function O(t){return t[t.length-1]}function U(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let I=U("dragHorizontal"),$=U("dragVertical");function W(t){let e=!1;if("y"===t)e=$();else if("x"===t)e=I();else{let t=I(),i=$();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function N(){let t=W(!0);return!t||(t(),!1)}function G(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var K=i(52840),q=i(61683);function H(t){return t.max-t.min}function X(t,e,i,s=.5){t.origin=s,t.originPoint=(0,q.k)(e.min,e.max,t.origin),t.scale=H(i)/H(e),t.translate=(0,q.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 z(t,e,i,s){X(t.x,e.x,i.x,s?s.originX:void 0),X(t.y,e.y,i.y,s?s.originY:void 0)}function Y(t,e,i){t.min=i.min+e.min,t.max=t.min+H(e)}function _(t,e,i){t.min=e.min-i.min,t.max=t.min+H(e)}function Q(t,e,i){_(t.x,e.x,i.x),_(t.y,e.y,i.y)}var Z=i(71156);function J(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tt(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function te(t,e,i){return{min:ti(t,e),max:ti(t,i)}}function ti(t,e){return"number"==typeof t?t:t[e]||0}var ts=i(66916);function tr(t){return[t("x"),t("y")]}var tn=i(77119),to=i(16726),ta=i(36117),tl=i(69203);let th=({current:t})=>t?t.ownerDocument.defaultView:null;var tu=i(43407);let td=new WeakMap;class tc{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,ts.ge)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(V(t,"page").point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=W(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tr(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ta.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=H(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&R.Gt.postRender(()=>r(t,e)),(0,tu.g)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>tr(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new j(t,{onSessionStart:s,onStart:r,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:th(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:r}=this.getProps();r&&R.Gt.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!tp(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,q.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,q.k)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&G(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:J(t.x,i,r),y:J(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:te(t,"left","right"),y:te(t,"top","bottom")}}(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&tr(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!G(e))return!1;let s=e.current;(0,b.V)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let n=(0,tn.L)(s,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:tt(t.x,n.x),y:tt(t.y,n.y)});if(i){let t=i((0,to.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,to.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tr(o=>{if(!tp(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tu.g)(this.visualElement,t),i.start((0,tl.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tr(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tr(e=>{let{drag:i}=this.getProps();if(!tp(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-(0,q.k)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!G(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};tr(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=H(t),r=H(e);return r>s?i=(0,K.q)(e.min,e.max-s,t.min):s>r&&(i=(0,K.q)(t.min,t.max-r,e.min)),(0,Z.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tr(e=>{if(!tp(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,q.k)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;td.set(this.visualElement,this);let t=E(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();G(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),R.Gt.read(e);let r=M(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tr(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:o}}}function tp(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tm extends x{constructor(t){super(t),this.removeGroupControls=S.l,this.removeListeners=S.l,this.controls=new tc(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||S.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tf=t=>(e,i)=>{t&&R.Gt.postRender(()=>t(e,i))};class tv extends x{constructor(){super(...arguments),this.removePointerDownListener=S.l}onPointerDown(t){this.session=new j(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:th(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tf(t),onStart:tf(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&R.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=E(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tg=i(95155),ty=i(12115),tx=i(24275),tP=i(42007);let tw=(0,ty.createContext)({}),tT={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tS(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tb={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!ta.px.test(t))return t;else t=parseFloat(t);let i=tS(t,e.target.x),s=tS(t,e.target.y);return`${i}% ${s}%`}};var tA=i(67798),tV=i(23727);let{schedule:tk,cancel:tM}=(0,i(39640).I)(queueMicrotask,!1);class tE extends ty.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;(0,tV.$)(tC),r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tT.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,n=i.projection;return n&&(n.isPresent=r,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||R.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tk.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tD(t){let[e,i]=function(){let t=(0,ty.useContext)(tx.t);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:s}=t,r=(0,ty.useId)();(0,ty.useEffect)(()=>s(r),[]);let n=(0,ty.useCallback)(()=>i&&i(r),[r,i]);return!e&&i?[!1,n]:[!0]}(),s=(0,ty.useContext)(tP.L);return(0,tg.jsx)(tE,{...t,layoutGroup:s,switchLayoutGroup:(0,ty.useContext)(tw),isPresent:e,safeToRemove:i})}let tC={borderRadius:{...tb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tb,borderTopRightRadius:tb,borderBottomLeftRadius:tb,borderBottomRightRadius:tb,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=tA.f.parse(t);if(s.length>5)return t;let r=tA.f.createTransformer(t),n=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=o,s[1+n]/=a;let l=(0,q.k)(o,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};var tR=i(5848),tj=i(26216);let tF=["TopLeft","TopRight","BottomLeft","BottomRight"],tL=tF.length,tB=t=>"string"==typeof t?parseFloat(t):t,tO=t=>"number"==typeof t||ta.px.test(t);function tU(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tI=tW(0,.5,tj.yT),t$=tW(.5,.95,S.l);function tW(t,e,i){return s=>s<t?0:s>e?1:i((0,K.q)(t,e,s))}function tN(t,e){t.min=e.min,t.max=e.max}function tG(t,e){tN(t.x,e.x),tN(t.y,e.y)}function tK(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tq=i(94537);
1function tH(t,e,i,s,r){return t-=e,t=(0,tq.hq)(t,1/i,s),void 0!==r&&(t=(0,tq.hq)(t,1/r,s)),t}function tX(t,e,[i,s,r],n,o){!function(t,e=0,i=1,s=.5,r,n=t,o=t){if(ta.KN.test(e)&&(e=parseFloat(e),e=(0,q.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,q.k)(n.min,n.max,s);t===n&&(a-=e),t.min=tH(t.min,e,i,a,r),t.max=tH(t.max,e,i,a,r)}(t,e[i],e[s],e[r],e.scale,n,o)}let tz=["x","scaleX","originX"],tY=["y","scaleY","originY"];function t_(t,e,i,s){tX(t.x,e,tz,i?i.x:void 0,s?s.x:void 0),tX(t.y,e,tY,i?i.y:void 0,s?s.y:void 0)}var tQ=i(95408);function tZ(t){return 0===t.translate&&1===t.scale}function tJ(t){return tZ(t.x)&&tZ(t.y)}function t0(t,e){return t.min===e.min&&t.max===e.max}function t1(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t2(t,e){return t1(t.x,e.x)&&t1(t.y,e.y)}function t3(t){return H(t.x)/H(t.y)}function t7(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var t5=i(65030);class t4{constructor(){this.members=[]}add(t){(0,t5.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,t5.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var t8=i(44196);let t9=(t,e)=>t.depth-e.depth;class t6{constructor(){this.children=[],this.isDirty=!1}add(t){(0,t5.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,t5.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(t9),this.isDirty=!1,this.children.forEach(t)}}var et=i(51857),ee=i(74128);function ei(t){let e=(0,ee.S)(t)?t.get():t;return(0,et.B)(e)?e.toValue():e}var es=i(68478),er=i(34307),en=i(47642),eo=i(77556);let ea={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},el="undefined"!=typeof window&&void 0!==window.MotionDebug,eh=["","X","Y","Z"],eu={visibility:"hidden"},ed=0;function ec(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function ep({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=ed++,this.animationId=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,el&&(ea.totalNodes=ea.resolvedTargetDeltas=ea.recalculatedProjection=0),this.nodes.forEach(ev),this.nodes.forEach(eS),this.nodes.forEach(eb),this.nodes.forEach(eg),el&&window.MotionDebug.record(ea)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new t6)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tR.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,er.x)(e),this.instance=e;let{layoutId:s,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||s)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=es.k.now(),s=({timestamp:e})=>{let r=e-i;r>=250&&((0,R.WG)(s),t(r-250))};return R.Gt.read(s,!0),()=>(0,R.WG)(s)}(s,250),tT.hasAnimatedSinceResize&&(tT.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eT))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||eD,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!t2(this.targetLayout,s)||i,h=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...(0,tQ.r)(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,R.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(eA),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,eo.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",R.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ex);return}this.isUpdating||this.nodes.forEach(eP),this.isUpdating=!1,this.nodes.forEach(ew),this.nodes.forEach(em),this.nodes.forEach(ef),this.clearAllSnapshots();let t=es.k.now();R.uv.delta=(0,Z.q)(0,1e3/60,t-R.uv.timestamp),R.uv.timestamp=t,R.uv.isProcessing=!0,R.PP.update.process(R.uv),R.PP.preRender.process(R.uv),R.PP.render.process(R.uv),R.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tk.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ey),this.sharedNodes.forEach(eV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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,ts.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tJ(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&(e||(0,t8.HD)(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),ej((e=s).x),ej(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,ts.ge)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(eL))){let{scroll:t}=this.root;t&&((0,tq.Ql)(i.x,t.offset.x),(0,tq.Ql)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,ts.ge)();if(tG(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&tG(i,t),(0,tq.Ql)(i.x,r.offset.x),(0,tq.Ql)(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=(0,ts.ge)();tG(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,tq.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,t8.HD)(s.latestValues)&&(0,tq.Ww)(i,s.latestValues)}return(0,t8.HD)(this.latestValues)&&(0,tq.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,ts.ge)();tG(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,t8.HD)(i.latestValues))continue;(0,t8.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,ts.ge)();tG(s,i.measurePageBox()),t_(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,t8.HD)(this.latestValues)&&t_(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!==R.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,s,r;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==n;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=R.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ts.ge)(),this.relativeTargetOrigin=(0,ts.ge)(),Q(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,ts.ge)(),this.targetWithTransforms=(0,ts.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,r=this.relativeParent.target,Y(i.x,s.x,r.x),Y(i.y,s.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tG(this.target,this.layout.layoutBox),(0,tq.o4)(this.target,this.targetDelta)):tG(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,ts.ge)(),this.relativeTargetOrigin=(0,ts.ge)(),Q(this.relativeTargetOrigin,this.target,t.target),tG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}el&&ea.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,t8.vk)(this.parent.latestValues)||(0,t8.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,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===R.uv.timestamp&&(s=!1),s)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;tG(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,tq.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,ts.ge)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tK(this.prevProjectionDelta.x,this.projectionDelta.x),tK(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),z(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&t7(this.projectionDelta.x,this.prevProjectionDelta.x)&&t7(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),el&&ea.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,ts.xU)(),this.projectionDelta=(0,ts.xU)(),this.projectionDeltaWithTransform=(0,ts.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=(0,ts.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,ts.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(eE));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;
1if(ek(o.x,t.x,s),ek(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,v;Q(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,v=s,eM(p.x,m.x,f.x,v),eM(p.y,m.y,f.y,v),i&&(h=this.relativeTarget,c=i,t0(h.x,c.x)&&t0(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,ts.ge)()),tG(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,q.k)(0,void 0!==i.opacity?i.opacity:1,tI(s)),t.opacityExit=(0,q.k)(void 0!==e.opacity?e.opacity:1,0,t$(s))):n&&(t.opacity=(0,q.k)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<tL;r++){let n=`border${tF[r]}Radius`,o=tU(e,n),a=tU(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||tO(o)===tO(a)?(t[n]=Math.max((0,q.k)(tB(o),tB(a),s),0),(ta.KN.test(a)||ta.KN.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,q.k)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,R.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.Gt.update(()=>{tT.hasAnimatedSinceResize=!0,this.currentAnimation=(0,en.z)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&eF(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,ts.ge)();let e=H(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=H(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}tG(e,i),(0,tq.Ww)(e,r),z(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new t4),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({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&ec("z",t,s,this.animationValues);for(let e=0;e<eh.length;e++)ec(`rotate${eh[e]}`,t,s,this.animationValues),ec(`skew${eh[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eu;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=ei(null==t?void 0:t.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ei(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,t8.HD)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;
1this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(s.transform=r(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tV.H){if(void 0===o[t])continue;let{correct:e,applyTo:i}=tV.H[t],r="none"===s.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=r}else s[t]=r}return this.options.layoutId&&(s.pointerEvents=n===this?ei(null==t?void 0:t.pointerEvents)||"":"none"),s}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(ex),this.root.sharedNodes.clear()}}}function em(t){t.updateLayout()}function ef(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:s}=t.layout,{animationType:r}=t.options,n=i.source!==t.layout.source;"size"===r?tr(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],r=H(s);s.min=e[t].min,s.max=s.min+r}):eF(r,i.layoutBox,e)&&tr(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],o=H(e[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,ts.xU)();z(o,e,i.layoutBox);let a=(0,ts.xU)();n?z(a,t.applyTransform(s,!0),i.measuredBox):z(a,e,i.layoutBox);let l=!tJ(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=(0,ts.ge)();Q(o,i.layoutBox,r.layoutBox);let a=(0,ts.ge)();Q(a,e,n.layoutBox),t2(o,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ev(t){el&&ea.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eg(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ey(t){t.clearSnapshot()}function ex(t){t.clearMeasurements()}function eP(t){t.isLayoutDirty=!1}function ew(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eT(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eS(t){t.resolveTargetDelta()}function eb(t){t.calcProjection()}function eA(t){t.resetSkewAndRotation()}function eV(t){t.removeLeadSnapshot()}function ek(t,e,i){t.translate=(0,q.k)(e.translate,0,i),t.scale=(0,q.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eM(t,e,i,s){t.min=(0,q.k)(e.min,i.min,s),t.max=(0,q.k)(e.max,i.max,s)}function eE(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eD={duration:.45,ease:[.4,0,.1,1]},eC=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eR=eC("applewebkit/")&&!eC("chrome/")?Math.round:S.l;function ej(t){t.min=eR(t.min),t.max=eR(t.max)}function eF(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(t3(e)-t3(i)))}function eL(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let eB=ep({attachResizeListener:(t,e)=>M(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eO={current:void 0},eU=ep({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eO.current){let t=new eB({});t.mount(window),t.setOptions({layoutScroll:!0}),eO.current=t}return eO.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function eI(t,e){let i=e?"onHoverStart":"onHoverEnd";return E(t.current,e?"pointerenter":"pointerleave",(s,r)=>{if("touch"===s.pointerType||N())return;let n=t.getProps();t.animationState&&n.whileHover&&t.animationState.setActive("whileHover",e);let o=n[i];o&&R.Gt.postRender(()=>o(s,r))},{passive:!t.getProps()[i]})}class e$ extends x{mount(){this.unmount=(0,D.F)(eI(this.node,!0),eI(this.node,!1))}unmount(){}}class eW extends x{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,D.F)(M(this.node.current,"focus",()=>this.onFocus()),M(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eN=(t,e)=>!!e&&(t===e||eN(t,e.parentElement));function eG(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,V(i))}class eK extends x{constructor(){super(...arguments),this.removeStartListeners=S.l,this.removeEndListeners=S.l,this.removeAccessibleListeners=S.l,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),s=E(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:s,globalTapTarget:r}=this.node.getProps(),n=r||eN(this.node.current,t.target)?i:s;n&&R.Gt.update(()=>n(t,e))},{passive:!(i.onTap||i.onPointerUp)}),r=E(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,D.F)(s,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&eG("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&R.Gt.postRender(()=>i(t,e))})};this.removeEndListeners(),this.removeEndListeners=M(this.node.current,"keyup",e),eG("down",(t,e)=>{this.startPress(t,e)})},e=M(this.node.current,"keydown",t),i=()=>{this.isPressing&&eG("cancel",(t,e)=>this.cancelPress(t,e))},s=M(this.node.current,"blur",i);this.removeAccessibleListeners=(0,D.F)(e,s)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&R.Gt.postRender(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!N()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&R.Gt.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=E(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=M(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,D.F)(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eq=new WeakMap,eH=new WeakMap,eX=t=>{let e=eq.get(t.target);e&&e(t)}
1,ez=t=>{t.forEach(eX)},eY={some:0,all:1};class e_ extends x{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:r}=t,n={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:eY[s]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;eH.has(i)||eH.set(i,{});let s=eH.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(ez,{root:t,...e})),s[r]}(n);return eq.set(a,o),l.observe(a),()=>{eq.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}var eQ=i(54634);let eZ=(0,ty.createContext)({});var eJ=i(95124);let e0=(0,ty.createContext)({strict:!1});var e1=i(17714),e2=i(971);function e3(t){return Array.isArray(t)?t.join(" "):t}var e7=i(14712),e5=i(50998);let e4=Symbol.for("motionComponentSymbol"),e8=["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 e9(t){if("string"!=typeof t||t.includes("-"));else if(e8.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e6=i(13723),it=i(40209),ie=i(25857),ii=i(80043);let is=t=>(e,i)=>{let s=(0,ty.useContext)(eZ),r=(0,ty.useContext)(tx.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},s,r,o){let a={latestValues:function(t,e,i,s){let r={},o=s(t,{});for(let t in o)r[t]=ei(o[t]);let{initial:a,animate:l}=t,h=(0,e2.e)(t),u=(0,e2.O)(t);e&&u&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?l:a;if(c&&"boolean"!=typeof c&&!(0,n.N)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=(0,ie.a)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(s,r,o,t),renderState:e()};return i&&(a.mount=t=>i(s,t,a)),a})(t,e,s,r);return i?o():(0,ii.M)(o)},ir=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),io=()=>({...ir(),attrs:{}});var ia=i(98611),il=i(41373);let ih={useVisualState:is({scrapeMotionValuesFromProps:it.x,createRenderState:io,onMount:(t,e,{renderState:i,latestValues:s})=>{R.Gt.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),R.Gt.render(()=>{(0,ia.B)(i,s,(0,il.n)(e.tagName),t.transformTemplate),(0,e6.d)(e,i)})}})},iu={useVisualState:is({scrapeMotionValuesFromProps:i(33552).x,createRenderState:ir})};var id=i(60101),ic=i(86580);function ip(t,e,i){for(let s in e)(0,ee.S)(e[s])||(0,id.z)(s,i)||(t[s]=e[s])}let im=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 iv(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||im.has(t)}let ig=t=>!iv(t);try{!function(t){t&&(ig=e=>e.startsWith("on")?!iv(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}var iy=i(23783),ix=i(88623);let iP=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,s)=>"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}((s={animation:{Feature:P},exit:{Feature:T},inView:{Feature:e_},tap:{Feature:eK},focus:{Feature:eW},hover:{Feature:e$},pan:{Feature:tv},drag:{Feature:tm,ProjectionNode:eU,MeasureLayout:tD},layout:{ProjectionNode:eU,MeasureLayout:tD}},r=(t,e)=>e9(t)?new ix.l(e):new iy.M(e,{allowProjection:t!==ty.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:i,useRender:s,useVisualState:r,Component:n}=t;e&&function(t){for(let e in t)e7.B[e]={...e7.B[e],...t[e]}}(e);let o=(0,ty.forwardRef)(function(t,e){var o,a,h;let u,d={...(0,ty.useContext)(eQ.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,ty.useContext)(tP.L).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if((0,e2.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,l.w)(e)?e:void 0,animate:(0,l.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ty.useContext)(eZ));return(0,ty.useMemo)(()=>({initial:e,animate:i}),[e3(e),e3(i)])}(t),m=r(t,c);if(!c&&e5.B){a=0,h=0,(0,ty.useContext)(e0).strict;let t=function(t){let{drag:e,layout:i}=e7.B;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
1(d);u=t.MeasureLayout,p.visualElement=function(t,e,i,s,r){var n,o;let{visualElement:a}=(0,ty.useContext)(eZ),l=(0,ty.useContext)(e0),h=(0,ty.useContext)(tx.t),u=(0,ty.useContext)(eQ.Q).reducedMotion,d=(0,ty.useRef)();s=s||l.renderer,!d.current&&s&&(d.current=s(t,{visualState:e,parent:a,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:u}));let c=d.current,p=(0,ty.useContext)(tw);c&&!c.projection&&r&&("html"===c.type||"svg"===c.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!o||a&&G(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:h})}(d.current,i,r,p);let m=(0,ty.useRef)(!1);(0,ty.useInsertionEffect)(()=>{c&&m.current&&c.update(i,h)});let f=i[e1.n],v=(0,ty.useRef)(!!f&&!(null==(n=window.MotionHandoffIsComplete)?void 0:n.call(window,f))&&(null==(o=window.MotionHasOptimisedAnimation)?void 0:o.call(window,f)));return(0,eJ.E)(()=>{c&&(m.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),tk.render(c.render),v.current&&c.animationState&&c.animationState.animateChanges())}),(0,ty.useEffect)(()=>{c&&(!v.current&&c.animationState&&c.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,f)}),v.current=!1))}),c}(n,m,d,i,t.ProjectionNode)}return(0,tg.jsxs)(eZ.Provider,{value:p,children:[u&&p.visualElement?(0,tg.jsx)(u,{visualElement:p.visualElement,...d}):null,s(n,t,(o=p.visualElement,(0,ty.useCallback)(t=>{t&&m.mount&&m.mount(t),o&&(t?o.mount(t):o.unmount()),e&&("function"==typeof e?e(t):G(e)&&(e.current=t))},[o])),m,c,p.visualElement)]})});return o[e4]=n,o}({...e9(t)?ih:iu,preloadedFeatures:s,useRender:function(t=!1){return(e,i,s,{latestValues:r},n)=>{let o=(e9(e)?function(t,e,i,s){let r=(0,ty.useMemo)(()=>{let i=io();return(0,ia.B)(i,e,(0,il.n)(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ip(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},s=function(t,e){let i=t.style||{},s={};return ip(s,i,t),Object.assign(s,function({transformTemplate:t},e){return(0,ty.useMemo)(()=>{let i=ir();return(0,ic.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.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=s,i})(i,r,n,e),a=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(ig(r)||!0===i&&iv(r)||!e&&!iv(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),l=e!==ty.Fragment?{...a,...o,ref:s}:{},{children:h}=i,u=(0,ty.useMemo)(()=>(0,ee.S)(h)?h.get():h,[h]);return(0,ty.createElement)(e,{...l,children:u})}}(e),createVisualElement:r,Component:t})}))},98611:(t,e,i)=>{i.d(e,{B:()=>l});var s=i(86580),r=i(36117);function n(t,e,i){return"string"==typeof t?t:r.px.transform(e+i*t)}let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(t,{attrX:e,attrY:i,attrScale:l,originX:h,originY:u,pathLength:d,pathSpacing:c=1,pathOffset:p=0,...m},f,v){if((0,s.O)(t,m,v),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:y,dimensions:x}=t;g.transform&&(x&&(y.transform=g.transform),delete g.transform),x&&(void 0!==h||void 0!==u||y.transform)&&(y.transformOrigin=function(t,e,i){let s=n(e,t.x,t.width),r=n(i,t.y,t.height);return`${s} ${r}`}(x,void 0!==h?h:.5,void 0!==u?u:.5)),void 0!==e&&(g.x=e),void 0!==i&&(g.y=i),void 0!==l&&(g.scale=l),void 0!==d&&function(t,e,i=1,s=0,n=!0){t.pathLength=1;let l=n?o:a;t[l.offset]=r.px.transform(-s);let h=r.px.transform(e),u=r.px.transform(i);t[l.array]=`${h} ${u}`}(g,d,c,p,!1)}},98869:(t,e,i)=>{i.d(e,{w:()=>s});let s=t=>e=>e.test(t)},99452:(t,e,i)=>{i.d(e,{G:()=>s});let s=t=>e=>1-t(1-e)},99485:(t,e,i)=>{i.d(e,{f:()=>s});function s(t,e){return e?1e3/e*t:0}}}]);

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.