PageSourceSearch

https://ai-navigation-sz5y.vercel.app/_next/static/chunks/36-c31c5b194fb3a87c.js

js ai-navigation-sz5y.vercel.app collected 2026-10-03 06:12:48 UTC 170,937 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[36],{7035:(t,e,r)=>{r.d(e,{A:()=>l});var i=r(2424);let n=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter((t,e,r)=>!!t&&""!==t.trim()&&r.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,i.forwardRef)((t,e)=>{let{color:r="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:d,iconNode:h,...c}=t;return(0,i.createElement)("svg",{ref:e,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",u),...c},[...h.map(t=>{let[e,r]=t;return(0,i.createElement)(e,r)}),...Array.isArray(d)?d:[d]])}),l=(t,e)=>{let r=(0,i.forwardRef)((r,o)=>{let{className:l,...u}=r;return(0,i.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(n(t)),l),...u})});return r.displayName="".concat(t),r}},518:(t,e,r)=>{r.d(e,{s:()=>o,t:()=>s});var i=r(2424);function n(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function s(...t){return e=>{let r=!1,i=t.map(t=>{let i=n(t,e);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let e=0;e<i.length;e++){let r=i[e];"function"==typeof r?r():n(t[e],null)}}}}function o(...t){return i.useCallback(s(...t),t)}},6069:(t,e,r)=>{r.d(e,{DX:()=>d});var i,n=r(2424),s=r(518),o=r(6884),a=Symbol.for("react.lazy"),l=(i||(i=r.t(n,2)))[" use ".trim().toString()];function u(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===a&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}var d=function(t){let e=function(t){let e=n.forwardRef((t,e)=>{let{children:r,...i}=t;if(u(r)&&"function"==typeof l&&(r=l(r._payload)),n.isValidElement(r)){var o;let t,a;let l=(o=r,(t=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?o.ref:(t=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?o.props.ref:o.props.ref||o.ref),u=function(t,e){let r={...e};for(let i in e){let n=t[i],s=e[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...t,...r}}(i,r.props);return r.type!==n.Fragment&&(u.ref=e?(0,s.t)(e,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),r=n.forwardRef((t,r)=>{let{children:i,...s}=t;u(i)&&"function"==typeof l&&(i=l(i._payload));let a=n.Children.toArray(i),d=a.find(c);if(d){let t=d.props.children,i=a.map(e=>e!==d?e:n.Children.count(t)>1?n.Children.only(null):n.isValidElement(t)?t.props.children:null);return(0,o.jsx)(e,{...s,ref:r,children:n.isValidElement(t)?n.cloneElement(t,void 0,i):null})}return(0,o.jsx)(e,{...s,ref:r,children:i})});return r.displayName=`${t}.Slot`,r}("Slot"),h=Symbol("radix.slottable");function c(t){return n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===h}},3267:(t,e,r)=>{r.d(e,{F:()=>o});var i=r(875);let n=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,s=i.$,o=(t,e)=>r=>{var i;if((null==e?void 0:e.variants)==null)return s(t,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=e,l=Object.keys(o).map(t=>{let e=null==r?void 0:r[t],i=null==a?void 0:a[t];if(null===e)return null;let s=n(e)||n(i);return o[t][s]}),u=r&&Object.entries(r).reduce((t,e)=>{let[r,i]=e;return void 0===i||(t[r]=i),t},{});return s(t,l,null==e?void 0:null===(i=e.compoundVariants)||void 0===i?void 0:i.reduce((t,e)=>{let{class:r,className:i,...n}=e;return Object.entries(n).every(t=>{let[e,r]=t;return Array.isArray(r)?r.includes({...a,...u}[e]):({...a,...u})[e]===r})?[...t,r,i]:t},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},875:(t,e,r)=>{r.d(e,{$:()=>i});function i(){for(var t,e,r=0,i="",n=arguments.length;r<n;r++)(t=arguments[r])&&(e=function t(e){var r,i,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e){if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(i=t(e[r]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i)}return n}(t))&&(i&&(i+=" "),i+=e);return i}},593:(t,e,r)=>{r.d(e,{xQ:()=>s});var i=r(2424),n=r(7350);function s(t=!0){let e=(0,i.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:r,onExitComplete:o,register:a}=e,l=(0,i.useId)();(0,i.useEffect)(()=>{t&&a(l)},[t]);let u=(0,i.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!r&&o?[!1,u]:[!0]}},904:(t,e,r)=>{r.d(e,{L:()=>i});let i=(0,r(2424).createContext)({})},8983:(t,e,r)=>{r.d(e,{Q:()=>i});let i=(0,r(2424).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},7350:(t,e,r)=>{r.d(e,{t:()=>i});let i=(0,r(2424).createContext)(null)},5066:(t,e,r)=>{r.d(e,{I:()=>s});var i=r(5685);let n=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let r=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,l=n.reduce((t,e)=>(t[e]=function(t){let e=new Set,r=new Set,i=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&i?e:r;return n&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),s.delete(t)},process:t=>{if(o=t,i){n=!0;return}i=!0,[e,r]=[r,e],e.forEach(a),e.clear(),i=!1,n&&(n=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:d,update:h,preRender:c,render:p,postRender:m}=l,f=()=>{let n=i.W.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=s?1e3/60:Math.max(Math.min(n-o.timestamp,40),1),o.timestamp=n,o.isProcessing=!0,u.process(o),d.process(o),h.process(o),c.process(o),p.process(o),m.process(o),o.isProcessing=!1,r&&e&&(s=!1,t(f))},g=()=>{r=!0,s=!0,o.isProcessing||t(f)};return{schedule:n.reduce((t,e)=>{let i=l[e];return t[e]=(t,e=!1,n=!1)=>(r||g(),i.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<n.length;
1e++)l[n[e]].cancel(t)},state:o,steps:l}}},5833:(t,e,r)=>{r.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var i=r(6862);let{schedule:n,cancel:s,state:o,steps:a}=(0,r(5066).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},3319:(t,e,r)=>{let i;r.d(e,{k:()=>a});var n=r(5685),s=r(5833);function o(){i=void 0}let a={now:()=>(void 0===i&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(o)}}},5555:(t,e,r)=>{function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}r.d(e,{P:()=>ns});let n=t=>Array.isArray(t);function s(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}function o(t){return"string"==typeof t||Array.isArray(t)}function a(t,e,r,i){if("function"==typeof e||("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e)){let[n,s]=function(t){let e=[{},{}];return null==t||t.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}(i);e=e(void 0!==r?r:t.custom,n,s)}return e}function l(t,e,r){let i=t.getProps();return a(i,e,void 0!==r?r:i.custom,t)}let u=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...u];var h,c,p=r(9773);let m=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set(m),g=new Set(["width","height","top","left","right","bottom",...m]),v=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),y=t=>n(t)?t[t.length-1]||0:t;var b=r(4624);let x=t=>!!(t&&t.getVelocity);function w(t,e){let r=t.getValue("willChange");if(x(r)&&r.add)return r.add(e)}let P=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),T="data-"+P("framerAppearId");var S=r(2772),k=r(5833),A=r(5685);let E={current:!1};var M=r(6862);let V=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function C(t,e,r,i){if(t===e&&r===i)return M.l;let n=e=>(function(t,e,r,i,n){let s,o;let a=0;do(s=V(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,r);return t=>0===t||1===t?t:V(n(t),e,i)}let D=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,j=t=>e=>1-t(1-e),R=C(.33,1.53,.69,.99),B=j(R),L=D(B),F=t=>(t*=2)<1?.5*B(t):.5*(2-Math.pow(2,-10*(t-1))),N=t=>1-Math.sin(Math.acos(t)),O=j(N),I=D(N),z=t=>/^0[^.\s]+$/u.test(t);var U=r(1154),$=r(8256);let W=new Set(["brightness","contrast","saturate","opacity"]);function G(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=r.match($.S)||[];if(!i)return t;let n=r.replace(i,""),s=W.has(e)?1:0;return i!==r&&(s*=100),e+"("+s+n+")"}let Y=/\b([a-z-]*)\(.*?\)/gu,H={...U.f,getAnimatableNone:t=>{let e=t.match(Y);return e?e.map(G).join(" "):t}};var q=r(8466),X=r(3105),K=r(1188);let _={borderWidth:K.px,borderTopWidth:K.px,borderRightWidth:K.px,borderBottomWidth:K.px,borderLeftWidth:K.px,borderRadius:K.px,radius:K.px,borderTopLeftRadius:K.px,borderTopRightRadius:K.px,borderBottomRightRadius:K.px,borderBottomLeftRadius:K.px,width:K.px,maxWidth:K.px,height:K.px,maxHeight:K.px,top:K.px,right:K.px,bottom:K.px,left:K.px,padding:K.px,paddingTop:K.px,paddingRight:K.px,paddingBottom:K.px,paddingLeft:K.px,margin:K.px,marginTop:K.px,marginRight:K.px,marginBottom:K.px,marginLeft:K.px,backgroundPositionX:K.px,backgroundPositionY:K.px},Z={rotate:K.uj,rotateX:K.uj,rotateY:K.uj,rotateZ:K.uj,scale:X.hs,scaleX:X.hs,scaleY:X.hs,scaleZ:X.hs,skew:K.uj,skewX:K.uj,skewY:K.uj,distance:K.px,translateX:K.px,translateY:K.px,translateZ:K.px,x:K.px,y:K.px,z:K.px,perspective:K.px,transformPerspective:K.px,opacity:X.X4,originX:K.gQ,originY:K.gQ,originZ:K.px},Q={...X.ai,transform:Math.round},J={..._,...Z,zIndex:Q,size:K.px,fillOpacity:X.X4,strokeOpacity:X.X4,numOctaves:Q},tt={...J,color:q.y,backgroundColor:q.y,outlineColor:q.y,fill:q.y,stroke:q.y,borderColor:q.y,borderTopColor:q.y,borderRightColor:q.y,borderBottomColor:q.y,borderLeftColor:q.y,filter:H,WebkitFilter:H},te=t=>tt[t];function tr(t,e){let r=te(t);return r!==H&&(r=U.f),r.getAnimatableNone?r.getAnimatableNone(e):void 0}
1let ti=new Set(["auto","none","0"]),tn=t=>t===X.ai||t===K.px,ts=(t,e)=>parseFloat(t.split(", ")[e]),to=(t,e)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return ts(n[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?ts(e[1],t):0}},ta=new Set(["x","y","z"]),tl=m.filter(t=>!ta.has(t)),tu={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),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:to(4,13),y:to(5,14)};tu.translateX=tu.x,tu.translateY=tu.y;let td=new Set,th=!1,tc=!1;function tp(){if(tc){let t=Array.from(td).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=function(t){let e=[];return tl.forEach(r=>{let i=t.getValue(r);void 0!==i&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e}(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tc=!1,th=!1,td.forEach(t=>t.complete()),td.clear()}function tm(){td.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tc=!0)})}class tf{constructor(t,e,r,i,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(td.add(this),th||(th=!0,k.Gt.read(tm),k.Gt.resolveKeyframes(tp))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:i}=this;for(let n=0;n<t.length;n++)if(null===t[n]){if(0===n){let n=null==i?void 0:i.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(r&&e){let i=r.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===n&&i.set(t[0])}else t[n]=t[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),td.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,td.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var tg=r(5387);let tv=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var ty=r(2945);let tb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tx=t=>e=>e.test(t),tw=[X.ai,K.px,K.KN,K.uj,K.vw,K.vh,{test:t=>"auto"===t,parse:t=>t}],tP=t=>tw.find(tx(t));class tT extends tf{constructor(t,e,r,i,n){super(t,e,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let i=t[r];if("string"==typeof i&&(i=i.trim(),(0,ty.p)(i))){let n=function t(e,r,i=1){(0,tg.V)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=tb.exec(t);if(!e)return[,];let[,r,i,n]=e;return[`--${null!=r?r:i}`,n]}(e);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let t=o.trim();return tv(t)?parseFloat(t):t}return(0,ty.p)(s)?t(s,r,i+1):s}(i,e.current);void 0!==n&&(t[r]=n),r===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!g.has(r)||2!==t.length)return;let[i,n]=t,s=tP(i),o=tP(n);if(s!==o){if(tn(s)&&tn(o))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var i;("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||z(i))&&r.push(e)}r.length&&function(t,e,r){let i,n=0;for(;n<t.length&&!i;){let e=t[n];"string"==typeof e&&!ti.has(e)&&(0,U.V)(e).values.length&&(i=t[n]),n++}if(i&&r)for(let n of e)t[n]=tr(r,i)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tu[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;let{element:e,name:r,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(r);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,o=i[s];i[s]=tu[r](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}var tS=r(3319);let tk=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(U.f.test(t)||"0"===t)&&!t.startsWith("url(")),tA=t=>null!==t;function tE(t,{repeat:e,repeatType:r="loop"},i){let n=t.filter(tA),s=e&&"loop"!==r&&e%2==1?0:n.length-1;return s&&void 0!==i?i:n[s]}class tM{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tS.k.now(),this.options={autoplay:t,delay:e,type:r,repeat:i,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tm(),tp()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tS.k.now(),this.hasAttemptedResolve=!0;let{name:r,type:i,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,r,i){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tk(n,e),a=tk(s,e);return(0,tg.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||(0,p.WH)(r))&&i)}(t,r,i,n)){if(E.current||!s){a&&a(tE(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},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 tV=r(5777),tC=r(7089),tD=r(9658),tj=r(8600);function tR(t,e,r){let i=Math.max(e-5,0);return(0,tj.f)(r-t(i),e-i)}let tB={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 tL(t,e){return t*Math.sqrt(1-e*e)}let tF=["duration","bounce"],tN=["stiffness","damping","mass"];function tO(t,e){return e.some(e=>void 0!==t[e])}function tI(t=tB.visualDuration,e=tB.bounce){let r;let i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=i,o=i.keyframes[0],a=i.keyframes[i.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:d,mass:h,duration:c,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:tB.velocity,stiffness:tB.stiffness,damping:tB.damping,mass:tB.mass,isResolvedFromDuration:!1,...t};if(!tO(t,tN)&&tO(t,tF)){if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),i=r*r,n=2*(0,tV.q)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:tB.mass,stiffness:i,damping:n}}else{let r=function({duration:t=tB.duration,bounce:e=tB.bounce,velocity:r=tB.velocity,mass:i=tB.mass}){let n,s;(0,tg.$)(t<=(0,S.f)(tB.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,tV.q)(tB.minDamping,tB.maxDamping,o),t=(0,tV.q)(tB.minDuration,tB.maxDuration,(0,S.X)(t)),o<1?(n=e=>{let i=e*o,n=i*t;return .001-(i-r)/tL(e,o)*Math.exp(-n)},s=e=>{let i=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-i),l=tL(Math.pow(e,2),o);return(i*r+r-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),s=e=>t*t*(r-e)*Math.exp(-e*t));let a=function(t,e,r){let i=r;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(n,s,5/t);if(t=(0,S.f)(t),isNaN(a))return{stiffness:tB.stiffness,damping:tB.damping,duration:t};{let e=Math.pow(a,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...r,mass:tB.mass}).isResolvedFromDuration=!0}}return e}({...i,velocity:-(0,S.X)(i.velocity||0)}),g=m||0,v=d/(2*Math.sqrt(u*h)),y=a-o,b=(0,S.X)(Math.sqrt(u/h)),x=5>Math.abs(y);if(n||(n=x?tB.restSpeed.granular:tB.restSpeed.default),s||(s=x?tB.restDelta.granular:tB.restDelta.default),v<1){let t=tL(b,v);r=e=>a-Math.exp(-v*b*e)*((g+v*b*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)r=t=>a-Math.exp(-b*t)*(y+(g+b*y)*t);else{let t=b*Math.sqrt(v*v-1);r=e=>{let r=Math.exp(-v*b*e),i=Math.min(t*e,300);return a-r*((g+v*b*y)*Math.sinh(i)+t*y*Math.cosh(i))/t}}let w={calculatedDuration:f&&c||null,next:t=>{let e=r(t);if(f)l.done=t>=c;else{let i=0;v<1&&(i=0===t?(0,S.f)(g):tR(r,t,e));let o=Math.abs(i)<=n,u=Math.abs(a-e)<=s;l.done=o&&u}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min((0,p.tu)(w),p.YE),e=(0,p.KZ)(e=>w.next(t*e).value,t,30);return t+"ms "+e}};return w}function tz({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){let h,c;let p=t[0],m={done:!1,value:p},f=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,v=r*e,y=p+v,b=void 0===o?y:o(y);b!==y&&(v=b-p);let x=t=>-v*Math.exp(-t/i),w=t=>b+x(t),P=t=>{let e=x(t),r=w(t);m.done=Math.abs(e)<=u,m.value=m.done?b:r},T=t=>{f(m.value)&&(h=t,c=tI({keyframes:[m.value,g(m.value)],velocity:tR(w,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==h||(e=!0,P(t),T(t)),void 0!==h&&t>=h)?c.next(t-h):(e||P(t),m)}}}let tU=C(.42,0,1,1),t$=C(0,0,.58,1),tW=C(.42,0,.58,1),tG=t=>Array.isArray(t)&&"number"!=typeof t[0],tY={linear:M.l,easeIn:tU,easeInOut:tW,easeOut:t$,circIn:N,circInOut:I,circOut:O,backIn:B,backInOut:L,backOut:R,anticipate:F},tH=t=>{if((0,p.DW)(t)){(0,tg.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,i,n]=t;return C(e,r,i,n)}return"string"==typeof t?((0,tg.V)(void 0!==tY[t],`Invalid easing type '${t}'`),tY[t]):t};var tq=r(3845),tX=r(627);function tK({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){let n=tG(i)?i.map(tH):tH(i),s={done:!1,value:e[0]},o=(r&&r.length===e.length?r:(0,tX.Z)(e)).map(e=>e*t),a=(0,tq.G)(o,e,{ease:Array.isArray(n)?n:e.map(()=>n||tW).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let t_=t=>{let e=({timestamp:e})=>t(e);return{start:()=>k.Gt.update(e,!0),stop:()=>(0,k.WG)(e),now:()=>k.uv.isProcessing?k.uv.timestamp:tS.k.now()}},tZ={decay:tz,inertia:tz,tween:tK,keyframes:tK,spring:tI},tQ=t=>t/100;class tJ extends tM{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=()=>
1{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:r,element:i,keyframes:n}=this.options,s=(null==i?void 0:i.KeyframeResolver)||tf;this.resolver=new s(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,r;let{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=(0,p.WH)(i)?i:tZ[i]||tK;l!==tK&&"number"!=typeof t[0]&&(e=(0,tD.F)(tQ,(0,tC.j)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(r=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,p.tu)(u));let{calculatedDuration:d}=u,h=d+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:e,calculatedDuration:d,resolvedDuration:h,totalDuration:h*(n+1)-s}}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:r}=this;if(!r){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=r;if(null===this.startTime)return n.next(0);let{delay:h,repeat:c,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/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-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=n;if(c){let t=Math.min(this.currentTime,u)/d,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(r=1-r,m&&(r-=m/d)):"mirror"===p&&(b=s)),y=(0,tV.q)(0,1,r)*d}let x=v?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&void 0!==i&&(x.value=tE(a,this.options,i)),f&&f(x.value),P&&this.finish(),x}get duration(){let{resolved:t}=this;return t?(0,S.X)(t.calculatedDuration):0}get 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=t_,onPlay:e,startTime:r}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=r?r: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)&&void 0!==t?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 t0=new Set(["opacity","clipPath","filter","transform"]),t1=(0,r(2364).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),t5={anticipate:F,backInOut:L,circInOut:I};class t2 extends tM{constructor(t){super(t);let{name:e,motionValue:r,element:i,keyframes:n}=this.options;this.resolver=new tT(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}initPlayback(t,e){var r;let{duration:i=300,times:n,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&(0,p.nL)()&&s in t5&&(s=t5[s]),r=this.options,
1(0,p.WH)(r.type)||"spring"===r.type||!(0,p.yL)(r.ease)){let{onComplete:e,onUpdate:r,motionValue:a,element:l,...u}=this.options,d=function(t,e){let r=new tJ({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},n=[],s=0;for(;!i.done&&s<2e4;)n.push((i=r.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(t,u);1===(t=d.keyframes).length&&(t[1]=t[0]),i=d.duration,n=d.times,s=d.ease,o="keyframes"}let d=function(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:r};l&&(u.offset=l);let d=(0,p.TU)(a,n);return Array.isArray(d)&&(u.easing=d),t.animate(u,{delay:i,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:i,times:n,ease:s});return d.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,p.vG)(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:r}=this.options;a.set(tE(t,this.options,e)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:n,type:o,ease:s,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:r}=e;r.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:r}=e;r.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 M.l;let{animation:r}=e;(0,p.vG)(r,t)}else this.pendingTimeline=t;return M.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:r,duration:i,type:n,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,d=new tJ({...u,keyframes:r,duration:i,type:n,ease:s,times:o,isGenerator:!0}),h=(0,S.f)(this.time);t.setWithVelocity(d.sample(h-10).value,d.sample(h).value,10)}let{onStop:a}=this.options;a&&a(),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:r,repeatDelay:i,repeatType:n,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return t1()&&r&&t0.has(r)&&!a&&!l&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}}let t3={type:"spring",stiffness:500,damping:25,restSpeed:10},t4=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),t8={type:"keyframes",duration:.8},t6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t9=(t,{keyframes:e})=>e.length>2?t8:f.has(t)?t.startsWith("scale")?t4(e[1]):t3:t6,t7=(t,e,r,i={},n,s)=>o=>{let a=(0,p.rU)(i,t)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=(0,S.f)(l);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(a)&&(d={...d,...t9(t,d)}),d.duration&&(d.duration=(0,S.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,S.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(h=!0)),(E.current||A.W.skipAnimations)&&(h=!0,d.duration=0,d.delay=0),h&&!s&&void 0!==e.get()){let t=tE(d.keyframes,a);if(void 0!==t)return k.Gt.update(()=>{d.onUpdate(t),d.onComplete()}),new p.P6([])}return!s&&t2.supports(d)?new t2(d):new tJ(d)};function et(t,e,{delay:r=0,transitionOverride:i,type:n}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...u}=e;i&&(o=i);let d=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in u){let i=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),n=u[e];
1if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},r){let i=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,i}(h,e))continue;let a={delay:r,...(0,p.rU)(o||{},e)},l=!1;if(window.MotionHandoffAnimation){let r=t.props[T];if(r){let t=window.MotionHandoffAnimation(r,e,k.Gt);null!==t&&(a.startTime=t,l=!0)}}w(t,e),i.start(t7(e,i,n,t.shouldReduceMotion&&g.has(e)?{type:!1}:a,t,l));let c=i.animation;c&&d.push(c)}return a&&Promise.all(d).then(()=>{k.Gt.update(()=>{a&&function(t,e){let{transitionEnd:r={},transition:i={},...n}=l(t,e)||{};for(let e in n={...n,...r}){let r=y(n[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,b.OQ)(r))}}(t,a)})}),d}function ee(t,e,r={}){var i;let n=l(t,e,"exit"===r.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(et(t,n,r)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,r=0,i=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===n?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(er).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(ee(t,e,{...s,delay:r+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+i,o,a,r)}:()=>Promise.resolve(),{when:u}=s;if(!u)return Promise.all([o(),a(r.delay)]);{let[t,e]="beforeChildren"===u?[o,a]:[a,o];return t().then(()=>e())}}function er(t,e){return t.sortNodePosition(e)}let ei=d.length,en=[...u].reverse(),es=u.length;function eo(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ea(){return{animate:eo(!0),whileInView:eo(),whileHover:eo(),whileTap:eo(),whileDrag:eo(),whileFocus:eo(),exit:eo()}}class el{constructor(t){this.isMounted=!1,this.node=t}update(){}}class eu extends el{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>ee(t,e,r)));else if("string"==typeof e)i=ee(t,e,r);else{let n="function"==typeof e?l(t,e,r.custom):e;i=Promise.all(et(t,n,r))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,r))),r=ea(),a=!0,u=e=>(r,i)=>{var n;let s=l(t,i,"exit"===e?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:t,transitionEnd:e,...i}=s;r={...r,...i,...e}}return r};function h(l){let{props:h}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;t<ei;t++){let i=d[t],n=e.props[i];(o(n)||!1===n)&&(r[i]=n)}return r}(t.parent)||{},p=[],m=new Set,f={},g=1/0;for(let e=0;e<es;e++){var v;let d=en[e],y=r[d],b=void 0!==h[d]?h[d]:c[d],x=o(b),w=d===l?y.isActive:null;!1===w&&(g=e);let P=b===c[d]&&b!==h[d]&&x;if(P&&a&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...f},!y.isActive&&null===w||!b&&!y.prevProp||i(b)||"boolean"==typeof b)continue;let T=(v=y.prevProp,"string"==typeof b?b!==v:!!Array.isArray(b)&&!s(b,v)),S=T||d===l&&y.isActive&&!P&&x||e>g&&x,k=!1,A=Array.isArray(b)?b:[b],E=A.reduce(u(d),{});!1===w&&(E={});let{prevResolvedValues:M={}}=y,V={...M,...E},C=e=>{S=!0,m.has(e)&&(k=!0,m.delete(e)),y.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in V){let e=E[t],r=M[t];if(!f.hasOwnProperty(t))(n(e)&&n(r)?s(e,r):e===r)?void 0!==e&&m.has(t)?C(t):y.protectedKeys[t]=!0:null!=e?C(t):m.add(t)}y.prevProp=b,y.prevResolvedValues=E,y.isActive&&(f={...f,...E}),a&&t.blockInitialAnimation&&(S=!1);let D=!(P&&T)||k;S&&D&&p.push(...A.map(t=>({animation:t,options:{type:d}})))}if(m.size){let e={};m.forEach(r=>{let i=t.getBaseTarget(r),n=t.getValue(r);n&&(n.liveStyle=!0),e[r]=null!=i?i:null}),p.push({animation:e})}let y=!!p.length;return a&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),a=!1,y?e(p):Promise.resolve()}return{animateChanges:h,setActive:function(e,i){var n;if(r[e].isActive===i)return Promise.resolve();
1null===(n=t.variantChildren)||void 0===n||n.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,i)}),r[e].isActive=i;let s=h(e);for(let t in r)r[t].protectedKeys={};return s},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=ea(),a=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();i(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)||void 0===t||t.call(this)}}let ed=0;class eh extends el{constructor(){super(...arguments),this.id=ed++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function ec(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}function ep(t){return{point:{x:t.pageX,y:t.pageY}}}let em=t=>e=>(0,p.Mc)(e)&&t(e,ep(e));function ef(t,e,r,i){return ec(t,e,em(r),i)}let eg=(t,e)=>Math.abs(t-e);class ev{constructor(t,e,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!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=ex(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){return Math.sqrt(eg(t.x,e.x)**2+eg(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!r)return;let{point:i}=t,{timestamp:n}=k.uv;this.history.push({...i,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ey(e,this.transformPagePoint),k.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ex("pointercancel"===t.type?this.lastMoveEventInfo:ey(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),i&&i(t,s)},!(0,p.Mc)(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=r,this.contextWindow=i||window;let s=ey(ep(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=k.uv;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,ex(s,this.history)),this.removeListeners=(0,tD.F)(ef(this.contextWindow,"pointermove",this.handlePointerMove),ef(this.contextWindow,"pointerup",this.handlePointerUp),ef(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,k.WG)(this.updatePoint)}}function ey(t,e){return e?{point:e(t.point)}:t}function eb(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ex({point:t},e){return{point:t,delta:eb(t,ew(e)),offset:eb(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null,n=ew(t);for(;r>=0&&(i=t[r],!(n.timestamp-i.timestamp>(0,S.f)(.1)));)r--;if(!i)return{x:0,y:0};let s=(0,S.X)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function ew(t){return t[t.length-1]}function eP(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var eT=r(8759),eS=r(9176);function ek(t){return t.max-t.min}function eA(t,e,r,i=.5){t.origin=i,t.originPoint=(0,eS.k)(e.min,e.max,t.origin),t.scale=ek(r)/ek(e),t.translate=(0,eS.k)(r.min,r.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 eE(t,e,r,i){eA(t.x,e.x,r.x,i?i.originX:void 0),eA(t.y,e.y,r.y,i?i.originY:void 0)}function eM(t,e,r){t.min=r.min+e.min,t.max=t.min+ek(e)}function eV(t,e,r){t.min=e.min-r.min,t.max=t.min+ek(e)}function eC(t,e,r){eV(t.x,e.x,r.x),eV(t.y,e.y,r.y)}function eD(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function ej(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function eR(t,e,r){return{min:eB(t,e),max:eB(t,r)}}function eB(t,e){return"number"==typeof t?t:t[e]||0}let eL=()=>({translate:0,scale:1,origin:0,originPoint:0}),eF=()=>({x:eL(),y:eL()}),eN=()=>({min:0,max:0}),eO=()=>({x:eN(),y:eN()});function eI(t){return[t("x"),t("y")]}function ez({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function eU(t){return void 0===t||1===t}function e$({scale:t,scaleX:e,scaleY:r}){return!eU(t)||!eU(e)||!eU(r)}function eW(t){return e$(t)||eG(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eG(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function eY(t,e,r,i,n){return void 0!==n&&(t=i+n*(t-i)),i+r*(t-i)+e}function eH(t,e=0,r=1,i,n){t.min=eY(t.min,e,r,i,n),t.max=eY(t.max,e,r,i,n)}function eq(t,{x:e,y:r}){eH(t.x,e.translate,e.scale,e.originPoint),eH(t.y,r.translate,r.scale,r.originPoint)}function eX(t,e){t.min=t.min+e,t.max=t.max+e}function eK(t,e,r,i,n=.5){let s=(0,eS.k)(t.min,t.max,n);eH(t,e,r,s,i)}function e_(t,e){eK(t.x,e.x,e.scaleX,e.scale,e.originX),eK(t.y,e.y,e.scaleY,e.scale,e.originY)}function eZ(t,e){return ez(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let eQ=({current:t})=>t?t.ownerDocument.defaultView:null,eJ=new WeakMap;class e0{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eO(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new ev(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ep(t).point)},onStart:(t,e)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,p.Wp)(r),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eI(t=>{let e=this.getAxisMotionValue(t).get()||0;if(K.KN.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[t];i&&(e=ek(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&k.Gt.postRender(()=>n(t,e)),w(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>eI(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:eQ(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&k.Gt.postRender(()=>n(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:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:i}=this.getProps();if(!r||!e1(t,i,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},i){return void 0!==e&&t<e?t=i?(0,eS.k)(e,t,i.min):Math.max(t,e):void 0!==r&&t>r&&(t=i?(0,eS.k)(r,t,i.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&&eP(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:r,bottom:i,right:n}){return{x:eD(t.x,r,n),y:eD(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:eR(t,"left","right"),y:eR(t,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&eI(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!eP(e))return!1;let i=e.current;(0,tg.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,r){let i=eZ(t,r),{scroll:n}=e;return n&&(eX(i.x,n.offset.x),eX(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:ej((t=n.layout.layoutBox).x,s.x),y:ej(t.y,s.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=ez(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(eI(o=>
1{if(!e1(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return w(this.visualElement,t),r.start(t7(t,r,0,e,this.visualElement,!1))}stopAnimation(){eI(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eI(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){eI(e=>{let{drag:r}=this.getProps();if(!e1(e,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(e);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[e];n.set(t[e]-(0,eS.k)(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!eP(e)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};eI(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();i[t]=function(t,e){let r=.5,i=ek(t),n=ek(e);return n>i?r=(0,eT.q)(e.min,e.max-i,t.min):i>n&&(r=(0,eT.q)(t.min,t.max-n,e.min)),(0,tV.q)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),eI(e=>{if(!e1(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];r.set((0,eS.k)(n,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;eJ.set(this.visualElement,this);let t=ef(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();eP(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),k.Gt.read(e);let n=ec(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eI(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function e1(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class e5 extends el{constructor(t){super(t),this.removeGroupControls=M.l,this.removeListeners=M.l,this.controls=new e0(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||M.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let e2=t=>(e,r)=>{t&&k.Gt.postRender(()=>t(e,r))};class e3 extends el{constructor(){super(...arguments),this.removePointerDownListener=M.l}onPointerDown(t){this.session=new ev(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eQ(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:e2(t),onStart:e2(e),onMove:r,onEnd:(t,e)=>{delete this.session,i&&k.Gt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=ef(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 e4=r(6884),e8=r(2424),e6=r(593),e9=r(904);let e7=(0,e8.createContext)({}),rt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function re(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rr={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!K.px.test(t))return t;t=parseFloat(t)}let r=re(t,e.target.x),i=re(t,e.target.y);return`${r}% ${i}%`}},ri={},{schedule:rn,cancel:rs}=(0,r(5066).I)(queueMicrotask,!1);class ro extends e8.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=t;Object.assign(ri,rl),n&&(e.group&&e.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),rt.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:i,isPresent:n}=this.props,s=r.projection;return s&&(s.isPresent=n,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||k.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),rn.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ra(t){let[e,r]=(0,e6.xQ)(),i=(0,e8.useContext)(e9.L);return(0,e4.jsx)(ro,{...t,layoutGroup:i,switchLayoutGroup:(0,e8.useContext)(e7),isPresent:e,safeToRemove:r})}let rl={borderRadius:{...rr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rr,borderTopRightRadius:rr,borderBottomLeftRadius:rr,borderBottomRightRadius:rr,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let i=U.f.parse(t);if(i.length>5)return t;let n=U.f.createTransformer(t),s="number"!=typeof i[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=(0,eS.k)(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}};var ru=r(5863);let rd=(t,e)=>t.depth-e.depth;class rh{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ru.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,ru.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rd),this.isDirty=!1,this.children.forEac
1h(t)}}var rc=r(9823);function rp(t){let e=x(t)?t.get():t;return v(e)?e.toValue():e}let rm=["TopLeft","TopRight","BottomLeft","BottomRight"],rf=rm.length,rg=t=>"string"==typeof t?parseFloat(t):t,rv=t=>"number"==typeof t||K.px.test(t);function ry(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rb=rw(0,.5,O),rx=rw(.5,.95,M.l);function rw(t,e,r){return i=>i<t?0:i>e?1:r((0,eT.q)(t,e,i))}function rP(t,e){t.min=e.min,t.max=e.max}function rT(t,e){rP(t.x,e.x),rP(t.y,e.y)}function rS(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rk(t,e,r,i,n){return t-=e,t=i+1/r*(t-i),void 0!==n&&(t=i+1/n*(t-i)),t}function rA(t,e,[r,i,n],s,o){!function(t,e=0,r=1,i=.5,n,s=t,o=t){if(K.KN.test(e)&&(e=parseFloat(e),e=(0,eS.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,eS.k)(s.min,s.max,i);t===s&&(a-=e),t.min=rk(t.min,e,r,a,n),t.max=rk(t.max,e,r,a,n)}(t,e[r],e[i],e[n],e.scale,s,o)}let rE=["x","scaleX","originX"],rM=["y","scaleY","originY"];function rV(t,e,r,i){rA(t.x,e,rE,r?r.x:void 0,i?i.x:void 0),rA(t.y,e,rM,r?r.y:void 0,i?i.y:void 0)}function rC(t){return 0===t.translate&&1===t.scale}function rD(t){return rC(t.x)&&rC(t.y)}function rj(t,e){return t.min===e.min&&t.max===e.max}function rR(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rB(t,e){return rR(t.x,e.x)&&rR(t.y,e.y)}function rL(t){return ek(t.x)/ek(t.y)}function rF(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rN{constructor(){this.members=[]}add(t){(0,ru.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,ru.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;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rO={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rI="undefined"!=typeof window&&void 0!==window.MotionDebug,rz=["","X","Y","Z"],rU={visibility:"hidden"},r$=0;function rW(t,e,r,i){let{latestValues:n}=e;n[t]&&(r[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function rG({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(t={},r=null==e?void 0:e()){this.id=r$++,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,rI&&(rO.totalNodes=rO.resolvedTargetDeltas=rO.recalculatedProjection=0),this.nodes.forEach(rq),this.nodes.forEach(r0),this.nodes.forEach(r1),this.nodes.forEach(rX),rI&&window.MotionDebug.record(rO)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rh)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new rc.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(n||i)&&(this.isLayoutDirty=!0),t){let r;let i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=tS.k.now(),i=({timestamp:e})=>{let n=e-r;n>=250&&((0,k.WG)(i),t(n-250))};return k.Gt.read(i,!0),()=>(0,k.WG)(i)}(i,250),rt.hasAnimatedSinceResize&&(rt.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(rJ))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||r6,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!rB(this.targetLayout,i)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,p.rU)(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||rJ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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,k.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(r5),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:r}=e.options;if(!r)return;let i=r.props[T];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",k.Gt,!(t||r))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r_);return}this.isUpdating||this.nodes.forEach(rZ),this.isUpdating=!1,this.nodes.forEach(rQ),this.nodes.forEach(rY),this.nodes.forEach(rH),this.clearAllSnapshots();let t=tS.k.now();k.uv.delta=(0,tV.q)(0,1e3/60,t-k.uv.timestamp),k.uv.timestamp=t,k.uv.isProcessing=!0,k.PP.update.process(k.uv),k.PP.preRender.process(k.uv),k.PP.render.process(k.uv),k.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rK),this.sharedNodes.forEach(r2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.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=eO(),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=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rD(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&(e||eW(this.latestValues)||s)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),i=this.removeElementScroll(r);
1return t&&(i=this.removeTransform(i)),it((e=i).x),it(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return eO();let r=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ir))){let{scroll:t}=this.root;t&&(eX(r.x,t.offset.x),eX(r.y,t.offset.y))}return r}removeElementScroll(t){var e;let r=eO();if(rT(r,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return r;for(let e=0;e<this.path.length;e++){let i=this.path[e],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rT(r,t),eX(r.x,n.offset.x),eX(r.y,n.offset.y))}return r}applyTransform(t,e=!1){let r=eO();rT(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&e_(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),eW(i.latestValues)&&e_(r,i.latestValues)}return eW(this.latestValues)&&e_(r,this.latestValues),r}removeTransform(t){let e=eO();rT(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!eW(r.latestValues))continue;e$(r.latestValues)&&r.updateSnapshot();let i=eO();rT(i,r.measurePageBox()),rV(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return eW(this.latestValues)&&rV(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!==k.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,i,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?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=k.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eO(),this.relativeTargetOrigin=eO(),eC(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=eO(),this.targetWithTransforms=eO()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,i=this.relativeTarget,n=this.relativeParent.target,eM(r.x,i.x,n.x),eM(r.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rT(this.target,this.layout.layoutBox),eq(this.target,this.targetDelta)):rT(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=eO(),this.relativeTargetOrigin=eO(),eC(this.relativeTargetOrigin,this.target,t.target),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rI&&rO.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||e$(this.parent.latestValues)||eG(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),r=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===k.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;rT(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,r,i=!1){let n,s;let o=r.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=r[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e_(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eq(t,s)),i&&eW(n.latestValues)&&e_(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=eO());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rS(this.prevProjectionDelta.x,this.projectionDelta.x),rS(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),eE(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&rF(this.projectionDelta.x,this.prevProjectionDelta.x)&&rF(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rI&&rO.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eF(),this.projectionDelta=eF(),this.projectionDeltaWithTransform=eF()}setAnimationOrigin(t,e=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=eF();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=eO(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,h=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(r8));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(r3(o.x,t.x,i),r3(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m;eC(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,r4(p.x,m.x,a.x,i),r4(p.y,m.y,a.y,i),r&&(u=this.relativeTarget,c=r,rj(u.x,c.x)&&rj(u.y,c.y))&&(this.isProjectionDirty=!1),r||(r=eO()),rT(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,i,n,s){n?(t.opacity=(0,eS.k)(0,void 0!==r.opacity?r.opacity:1,rb(i)),t.opacityExit=(0,eS.k)(void 0!==e.opacity?e.opacity:1,0,rx(i))):s&&(t.opacity=(0,eS.k)(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n<rf;n++){let s=`border${rm[n]}Radius`,o=ry(e,s),a=ry(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rv(o)===rv(a)?(t[s]=Math.max((0,eS.k)(rg(o),rg(a),i),0),(K.KN.test(a)||K.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=(0,eS.k)(e.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,i,h,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,k.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=k.Gt.update(()=>{rt.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let i=x(0)?0:(0,b.OQ)(0);return i.start(t7("",i,1e3,r)),i.animation}(0,0,{...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:r,layout:i,latestValues:n}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&ie(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||eO();let e=ek(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=ek(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}rT(e,r),e_(e,n),eE(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rN),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.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?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?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:r}={}){let i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}
1resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let i={};r.z&&rW("z",t,i,this.animationValues);for(let e=0;e<rz.length;e++)rW(`rotate${rz[e]}`,t,i,this.animationValues),rW(`skew${rz[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}getProjectionStyles(t){var e,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rU;let i={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=rp(null==t?void 0:t.pointerEvents)||"",i.transform=n?n(this.latestValues,""):"none",i;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rp(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!eW(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,r){let i="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==r?void 0:r.z)||0;if((n||s||o)&&(i=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=r;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),n&&(i+=`rotateX(${n}deg) `),s&&(i+=`rotateY(${s}deg) `),o&&(i+=`skewX(${o}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&&(i.transform=n(o,i.transform));let{x:a,y:l}=this.projectionDelta;for(let t in i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?i.opacity=s===this?null!==(r=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:i.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,ri){if(void 0===o[t])continue;let{correct:e,applyTo:r}=ri[t],n="none"===i.transform?o[t]:e(o[t],s);if(r){let t=r.length;for(let e=0;e<t;e++)i[r[e]]=n}else i[t]=n}return this.options.layoutId&&(i.pointerEvents=s===this?rp(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(r_),this.root.sharedNodes.clear()}}}function rY(t){t.updateLayout()}function rH(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:n}=t.options,s=r.source!==t.layout.source;"size"===n?eI(t=>{let i=s?r.measuredBox[t]:r.layoutBox[t],n=ek(i);i.min=e[t].min,i.max=i.min+n}):ie(n,r.layoutBox,e)&&eI(i=>{let n=s?r.measuredBox[i]:r.layoutBox[i],o=ek(e[i]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=eF();eE(o,e,r.layoutBox);let a=eF();s?eE(a,t.applyTransform(i,!0),r.measuredBox):eE(a,e,r.layoutBox);let l=!rD(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=eO();eC(o,r.layoutBox,n.layoutBox);let a=eO();eC(a,e,s.layoutBox),rB(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rq(t){rI&&rO.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 rX(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rK(t){t.clearSnapshot()}function r_(t){t.clearMeasurements()}function rZ(t){t.isLayoutDirty=!1}function rQ(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rJ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r0(t){t.resolveTargetDelta()}function r1(t){t.calcProjection()}
1function r5(t){t.resetSkewAndRotation()}function r2(t){t.removeLeadSnapshot()}function r3(t,e,r){t.translate=(0,eS.k)(e.translate,0,r),t.scale=(0,eS.k)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function r4(t,e,r,i){t.min=(0,eS.k)(e.min,r.min,i),t.max=(0,eS.k)(e.max,r.max,i)}function r8(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r6={duration:.45,ease:[.4,0,.1,1]},r9=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r7=r9("applewebkit/")&&!r9("chrome/")?Math.round:M.l;function it(t){t.min=r7(t.min),t.max=r7(t.max)}function ie(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rL(e)-rL(r)))}function ir(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let ii=rG({attachResizeListener:(t,e)=>ec(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),is={current:void 0},io=rG({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!is.current){let t=new ii({});t.mount(window),t.setOptions({layoutScroll:!0}),is.current=t}return is.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ia(t,e,r){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&k.Gt.postRender(()=>n(e,ep(e)))}class il extends el{mount(){let{current:t}=this.node;t&&(this.unmount=(0,p.PT)(t,t=>(ia(this.node,t,"Start"),t=>ia(this.node,t,"End"))))}unmount(){}}class iu extends el{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,tD.F)(ec(this.node.current,"focus",()=>this.onFocus()),ec(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function id(t,e,r){let{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&k.Gt.postRender(()=>n(e,ep(e)))}class ih extends el{mount(){let{current:t}=this.node;t&&(this.unmount=(0,p.c$)(t,t=>(id(this.node,t,"Start"),(t,{success:e})=>id(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ic=new WeakMap,ip=new WeakMap,im=t=>{let e=ic.get(t.target);e&&e(t)},ig=t=>{t.forEach(im)},iv={some:0,all:1};class iy extends el{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:i="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:iv[i]};return function(t,e,r){let i=function({root:t,...e}){let r=t||document;ip.has(r)||ip.set(r,{});let i=ip.get(r),n=JSON.stringify(e);return i[n]||(i[n]=new IntersectionObserver(ig,{root:t,...e})),i[n]}(e);return ic.set(t,r),i.observe(t),()=>{ic.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=e?r:i;s&&s(t)})}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 r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let ib=(0,e8.createContext)({strict:!1});var ix=r(8983);let iw=(0,e8.createContext)({});function iP(t){return i(t.animate)||d.some(e=>o(t[e]))}function iT(t){return!!(iP(t)||t.variants)}function iS(t){return Array.isArray(t)?t.join(" "):t}var ik=r(1689);let iA={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"]},iE={};for(let t in iA)iE[t]={isEnabled:e=>iA[t].some(t=>!!e[t])};let iM=Symbol.for("motionComponentSymbol");var iV=r(7350),iC=r(2409);let iD=["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 ij(t){if("string"!=typeof t||t.includes("-"));else if(iD.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var iR=r(8528);let iB=t=>(e,r)=>{let n=(0,e8.useContext)(iw),s=(0,e8.useContext)(iV.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:r},n,s,o){let l={latestValues:function(t,e,r,n){let s={},o=n(t,{});for(let t in o)s[t]=rp(o[t]);let{initial:l,animate:u}=t,d=iP(t),h=iT(t);
1e&&h&&!d&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===u&&(u=e.animate));let c=!!r&&!1===r.initial,p=(c=c||!1===l)?u:l;if(p&&"boolean"!=typeof p&&!i(p)){let e=Array.isArray(p)?p:[p];for(let r=0;r<e.length;r++){let i=a(t,e[r]);if(i){let{transitionEnd:t,transition:e,...r}=i;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(n,s,o,t),renderState:e()};return r&&(l.onMount=t=>r({props:n,current:t,...l}),l.onUpdate=t=>r(t)),l})(t,e,n,s);return r?o():(0,iR.M)(o)},iL=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iN=m.length;function iO(t,e,r){let{style:i,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let r=e[t];if(f.has(t)){o=!0;continue}if((0,ty.j)(t)){n[t]=r;continue}{let e=iL(r,J[t]);t.startsWith("origin")?(a=!0,s[t]=e):i[t]=e}}if(!e.transform&&(o||r?i.transform=function(t,e,r){let i="",n=!0;for(let s=0;s<iN;s++){let o=m[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||r){let t=iL(a,J[o]);if(!l){n=!1;let e=iF[o]||o;i+=`${e}(${t}) `}r&&(e[o]=t)}}return i=i.trim(),r?i=r(e,n?"":i):n&&(i="none"),i}(e,t.transform,r):i.transform&&(i.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:r=0}=s;i.transformOrigin=`${t} ${e} ${r}`}}let iI={offset:"stroke-dashoffset",array:"stroke-dasharray"},iz={offset:"strokeDashoffset",array:"strokeDasharray"};function iU(t,e,r){return"string"==typeof t?t:K.px.transform(e+r*t)}function i$(t,{attrX:e,attrY:r,attrScale:i,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},d,h){if(iO(t,u,h),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p,dimensions:m}=t;c.transform&&(m&&(p.transform=c.transform),delete c.transform),m&&(void 0!==n||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,r){let i=iU(e,t.x,t.width),n=iU(r,t.y,t.height);return`${i} ${n}`}(m,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(c.x=e),void 0!==r&&(c.y=r),void 0!==i&&(c.scale=i),void 0!==o&&function(t,e,r=1,i=0,n=!0){t.pathLength=1;let s=n?iI:iz;t[s.offset]=K.px.transform(-i);let o=K.px.transform(e),a=K.px.transform(r);t[s.array]=`${o} ${a}`}(c,o,a,l,!1)}let iW=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),iG=()=>({...iW(),attrs:{}}),iY=t=>"string"==typeof t&&"svg"===t.toLowerCase();function iH(t,{style:e,vars:r},i,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(i)),r)t.style.setProperty(s,r[s])}let iq=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"]);function iX(t,e,r,i){for(let r in iH(t,e,void 0,i),e.attrs)t.setAttribute(iq.has(r)?r:P(r),e.attrs[r])}function iK(t,{layout:e,layoutId:r}){return f.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!ri[t]||"opacity"===t)}function i_(t,e,r){var i;let{style:n}=t,s={};for(let o in n)(x(n[o])||e.style&&x(e.style[o])||iK(o,t)||(null===(i=null==r?void 0:r.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=n[o]);return s}function iZ(t,e,r){let i=i_(t,e,r);for(let r in t)(x(t[r])||x(e[r]))&&(i[-1!==m.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}let iQ=["x","y","width","height","cx","cy","r"],iJ={useVisualState:iB({scrapeMotionValuesFromProps:iZ,createRenderState:iG,onUpdate:({props:t,prevProps:e,current:r,renderState:i,latestValues:n})=>{if(!r)return;let s=!!t.drag;if(!s){for(let t in n)if(f.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let r=0;r<iQ.length;r++){let i=iQ[r];t[i]!==e[i]&&(o=!0)}o&&k.Gt.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(r,i),k.Gt.render(()=>{i$(i,n,iY(r.tagName),t.transformTemplate),iX(r,i)})})}})},i0={useVisualState:iB({scrapeMotionValuesFromProps:i_,createRenderState:iW})};function i1(t,e,r){for(let i in e)x(e[i])||iK(i,r)||(t[i]=e[i])}let i5=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 i2(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||i5.has(t)}let i3=t=>!i2(t);try{!function(t){t&&(i3=e=>e.startsWith("on")?!i2(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}let i4={current:null},i8={current:!1},i6=[...tw,q.y,U.f],i9=t=>i6.find(tx(t)),i7=new WeakMap,nt=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ne{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tf,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=tS.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,k.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=iP(e),this.isVariantNode=iT(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&x(e)&&e.set(a[t],!1)}}mount(t){this.current=t,i7.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),i8.current||function(){if(i8.current=!0,ik.B){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i4.current=t.matches;t.addListener(e),e()}else i4.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i4.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in i7.delete(this.current),this.projection&&this.projection.unmount(),(0,k.WG)(this.notifyUpdate),(0,k.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 r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=f.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),r&&r(),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 iE){let e=iE[t];if(!e)continue;let{isEnabled:r,Feature:i}=e;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eO()}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<nt.length;e++){let r=nt[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=t["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(t,e,r){for(let i in e){let n=e[i],s=r[i];if(x(n))t.addValue(i,n);else if(x(s))t.addValue(i,(0,b.OQ)(n,{owner:t}));else if(s!==n){if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(i);t.addValue(i,(0,b.OQ)(void 0!==e?e:n,{owner:t}))}}}for(let i in r)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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 r=this.values.get(t);e!==r&&(r&&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 r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,b.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){var r;let i=void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(tv(i)||z(i))?i=parseFloat(i):!i9(i)&&U.f.test(e)&&(i=tr(t,e)),this.setBaseTarget(t,x(i)?i.get():i)),x(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let r;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=a(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&&(r=n[t])}if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||x(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new rc.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class nr extends ne{constructor(){super(...arguments),this.KeyframeResolver=tT}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:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;x(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class ni extends nr{constructor(){super(...arguments),this.type="html",this.renderInstance=iH}readValueFromInstance(t,e){if(f.has(e)){let t=te(e);return t&&t.default||0}
1{let r=window.getComputedStyle(t),i=((0,ty.j)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eZ(t,e)}build(t,e,r){iO(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return i_(t,e,r)}}class nn extends nr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(f.has(e)){let t=te(e);return t&&t.default||0}return e=iq.has(e)?e:P(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return iZ(t,e,r)}build(t,e,r){i$(t,e,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,r,i){iX(t,e,r,i)}mount(t){this.isSVGTag=iY(t.tagName),super.mount(t)}}let ns=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(r,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}((h={animation:{Feature:eu},exit:{Feature:eh},inView:{Feature:iy},tap:{Feature:ih},focus:{Feature:iu},hover:{Feature:il},pan:{Feature:e3},drag:{Feature:e5,ProjectionNode:io,MeasureLayout:ra},layout:{ProjectionNode:io,MeasureLayout:ra}},c=(t,e)=>ij(t)?new nn(e):new ni(e,{allowProjection:t!==e8.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,r;let{preloadedFeatures:i,createVisualElement:n,useRender:s,useVisualState:a,Component:l}=t;function u(t,e){var r;let i;let u={...(0,e8.useContext)(ix.Q),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,e8.useContext)(e9.L).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:d}=u,h=function(t){let{initial:e,animate:r}=function(t,e){if(iP(t)){let{initial:e,animate:r}=t;return{initial:!1===e||o(e)?e:void 0,animate:o(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,e8.useContext)(iw));return(0,e8.useMemo)(()=>({initial:e,animate:r}),[iS(e),iS(r)])}(t),c=a(t,d);if(!d&&ik.B){(0,e8.useContext)(ib).strict;let t=function(t){let{drag:e,layout:r}=iE;if(!e&&!r)return{};let i={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(u);i=t.MeasureLayout,h.visualElement=function(t,e,r,i,n){var s,o;let{visualElement:a}=(0,e8.useContext)(iw),l=(0,e8.useContext)(ib),u=(0,e8.useContext)(iV.t),d=(0,e8.useContext)(ix.Q).reducedMotion,h=(0,e8.useRef)(null);i=i||l.renderer,!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:d}));let c=h.current,p=(0,e8.useContext)(e7);c&&!c.projection&&n&&("html"===c.type||"svg"===c.type)&&function(t,e,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&eP(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(h.current,r,n,p);let m=(0,e8.useRef)(!1);(0,e8.useInsertionEffect)(()=>{c&&m.current&&c.update(r,u)});let f=r[T],g=(0,e8.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,iC.E)(()=>{c&&(m.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),rn.render(c.render),g.current&&c.animationState&&c.animationState.animateChanges())}),(0,e8.useEffect)(()=>{c&&(!g.current&&c.animationState&&c.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),g.current=!1))}),c}(l,c,u,n,t.ProjectionNode)}return(0,e4.jsxs)(iw.Provider,{value:h,children:[i&&h.visualElement?(0,e4.jsx)(i,{visualElement:h.visualElement,...u}):null,s(l,t,(r=h.visualElement,(0,e8.useCallback)(t=>{t&&c.onMount&&c.onMount(t),r&&(t?r.mount(t):r.unmount()),e&&("function"==typeof e?e(t):eP(e)&&(e.current=t))},[r])),c,d,h.visualElement)]})}i&&function(t){for(let e in t)iE[e]={...iE[e],...t[e]}}(i),u.displayName="motion.".concat("string"==typeof l?l:"create(".concat(null!==(r=null!==(e=l.displayName)&&void 0!==e?e:l.name)&&void 0!==r?r:"",")"));let d=(0,e8.forwardRef)(u);return d[iM]=l,d}({...ij(t)?iJ:i0,preloadedFeatures:h,useRender:function(t=!1){return(e,r,i,{latestValues:n},s)=>{let o=(ij(e)?function(t,e,r,i){let n=(0,e8.useMemo)(()=>{let r=iG();return i$(r,e,iY(i),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};i1(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let r={},i=function(t,e){let r=t.style||{},i={};return i1(i,r,t),Object.assign(i,function({transformTemplate:t},e){return(0,e8.useMemo)(()=>{let r=iW();return iO(r,e,t),Object.assign({},r.vars,r.style)}
1,[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r})(r,n,s,e),a=function(t,e,r){let i={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(i3(n)||!0===r&&i2(n)||!e&&!i2(n)||t.draggable&&n.startsWith("onDrag"))&&(i[n]=t[n]);return i}(r,"string"==typeof e,t),l=e!==e8.Fragment?{...a,...o,ref:i}:{},{children:u}=r,d=(0,e8.useMemo)(()=>x(u)?u.get():u,[u]);return(0,e8.createElement)(e,{...l,children:d})}}(e),createVisualElement:c,Component:t})}))},2945:(t,e,r)=>{r.d(e,{j:()=>n,p:()=>o});let i=t=>e=>"string"==typeof e&&e.startsWith(t),n=i("--"),s=i("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},5685:(t,e,r)=>{r.d(e,{W:()=>i});let i={skipAnimations:!1,useManualTiming:!1}},5863:(t,e,r)=>{function i(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{Ai:()=>n,Kq:()=>i})},5777:(t,e,r)=>{r.d(e,{q:()=>i});let i=(t,e,r)=>r>e?e:r<t?t:r},3845:(t,e,r)=>{r.d(e,{G:()=>u});var i=r(6862),n=r(5387),s=r(8759),o=r(5777),a=r(7089),l=r(9658);function u(t,e,{clamp:r=!0,ease:d,mixer:h}={}){let c=t.length;if((0,n.V)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let p=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,r){let n=[],s=r||a.j,o=t.length-1;for(let r=0;r<o;r++){let o=s(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||i.l:e;o=(0,l.F)(t,o)}n.push(o)}return n}(e,d,h),f=m.length,g=r=>{if(p&&r<t[0])return e[0];let i=0;if(f>1)for(;i<t.length-2&&!(r<t[i+1]);i++);let n=(0,s.q)(t[i],t[i+1],r);return m[i](n)};return r?e=>g((0,o.q)(t[0],t[c-1],e)):g}},1689:(t,e,r)=>{r.d(e,{B:()=>i});let i="undefined"!=typeof window},7089:(t,e,r)=>{r.d(e,{j:()=>k});var i=r(9176),n=r(5387);function s(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var o=r(3773),a=r(2742),l=r(3850);function u(t,e){return r=>r>0?e:t}let d=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},h=[o.u,a.B,l.V],c=t=>h.find(e=>e.test(t));function p(t){let e=c(t);if((0,n.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===l.V&&(r=function({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,r/=100;let n=0,o=0,a=0;if(e/=100){let i=r<.5?r*(1+e):r+e-r*e,l=2*r-i;n=s(l,i,t+1/3),o=s(l,i,t),a=s(l,i,t-1/3)}else n=o=a=r;return{red:Math.round(255*n),green:Math.round(255*o),blue:Math.round(255*a),alpha:i}}(r)),r}let m=(t,e)=>{let r=p(t),n=p(e);if(!r||!n)return u(t,e);let s={...r};return t=>(s.red=d(r.red,n.red,t),s.green=d(r.green,n.green,t),s.blue=d(r.blue,n.blue,t),s.alpha=(0,i.k)(r.alpha,n.alpha,t),a.B.transform(s))};var f=r(9658),g=r(8466),v=r(1154),y=r(2945);let b=new Set(["none","hidden"]);function x(t,e){return r=>(0,i.k)(t,e,r)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,y.p)(t)?u:g.y.test(t)?m:S:Array.isArray(t)?P:"object"==typeof t?g.y.test(t)?m:T:u}function P(t,e){let r=[...t],i=r.length,n=t.map((t,r)=>w(t)(t,e[r]));return t=>{for(let e=0;e<i;e++)r[e]=n[e](t);return r}}function T(t,e){let r={...t,...e},i={};for(let n in r)void 0!==t[n]&&void 0!==e[n]&&(i[n]=w(t[n])(t[n],e[n]));return t=>{for(let e in i)r[e]=i[e](t);return r}}let S=(t,e)=>{let r=v.f.createTransformer(e),i=(0,v.V)(t),s=(0,v.V)(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?b.has(t)&&!s.values.length||b.has(e)&&!i.values.length?function(t,e){return b.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}(t,e):(0,f.F)(P(function(t,e){var r;let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][n[o]],l=null!==(r=t.values[a])&&void 0!==r?r:0;i[s]=l,n[o]++}return i}(i,s),s.values),r):((0,n.$)(!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.`),u(t,e))};function k(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?(0,i.k)(t,e,r):w(t)(t,e)}},9176:(t,e,r)=>{r.d(e,{k:()=>i});let i=(t,e,r)=>t+(e-t)*r},627:(t,e,r)=>{r.d(e,{Z:()=>s});var i=r(8759),n=r(9176);function s(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,i.q)(0,e,s);t.push((0,n.k)(r,1,o))}}(e,t.length-1),e}},9658:(t,e,r)=>{r.d(e,{F:()=>n});let i=(t,e)=>r=>e(t(r)),n=(...t)=>t.reduce(i)},9823:(t,e,r)=>{r.d(e,{v:()=>n});var i=r(5863);class n{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},8528:(t,e,r)=>{r.d(e,{M:()=>n});var i=r(2424);function n(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},2409:(t,e,r)=>{r.d(e,{E:()=>n});var i=r(2424);let n=r(1689).B?i.useLayoutEffect:i.useEffect},8600:(t,e,r)=>{r.d(e,{f:()=>i});function i(t,e){return e?1e3/e*t:0}},4624:(t,e,r)=>{r.d(e,{OQ:()=>d,bt:()=>l});var i=r(3319),n=r(9823),s=r(8600),o=r(5833);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=i.k.now();this.updatedAt!==r&&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=i.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(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 n.v);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}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 l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=i.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,s.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 d(t,e){return new u(t,e)}},3773:(t,e,r)=>{r.d(e,{u:()=>n});var i=r(2742);let n={test:(0,r(6389).$)("#"),parse:function(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alph
1a:n?parseInt(n,16)/255:1}},transform:i.B.transform}},3850:(t,e,r)=>{r.d(e,{V:()=>a});var i=r(3105),n=r(1188),s=r(5903),o=r(6389);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(r))+", "+(0,s.a)(i.X4.transform(o))+")"}},8466:(t,e,r)=>{r.d(e,{y:()=>o});var i=r(3773),n=r(3850),s=r(2742);let o={test:t=>s.B.test(t)||i.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):i.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t)}},2742:(t,e,r)=>{r.d(e,{B:()=>u});var i=r(5777),n=r(3105),s=r(5903),o=r(6389);let a=t=>(0,i.q)(0,255,t),l={...n.ai,transform:t=>Math.round(a(t))},u={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,s.a)(n.X4.transform(i))+")"}},6389:(t,e,r)=>{r.d(e,{$:()=>s,q:()=>o});var i=r(8256);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>r=>!!("string"==typeof r&&n.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),o=(t,e,r)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(i.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},1154:(t,e,r)=>{r.d(e,{V:()=>d,f:()=>m});var i=r(8466);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=r(8256),o=r(5903);let a="number",l="color",u=/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 d(t){let e=t.toString(),r=[],n={color:[],number:[],var:[]},s=[],o=0,d=e.replace(u,t=>(i.y.test(t)?(n.color.push(o),s.push(l),r.push(i.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),r.push(t)):(n.number.push(o),s.push(a),r.push(parseFloat(t))),++o,"${}")).split("${}");return{values:r,split:d,indexes:n,types:s}}function h(t){return d(t).values}function c(t){let{split:e,types:r}=d(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=r[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=i.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:t,m={test:function(t){var e,r;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.S))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(n))||void 0===r?void 0:r.length)||0)>0},parse:h,createTransformer:c,getAnimatableNone:function(t){let e=h(t);return c(t)(e.map(p))}}},3105:(t,e,r)=>{r.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var i=r(5777);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,i.q)(0,1,t)},o={...n,default:1}},1188:(t,e,r)=>{r.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=i("deg"),s=i("%"),o=i("px"),a=i("vh"),l=i("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},8256:(t,e,r)=>{r.d(e,{S:()=>i});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},5903:(t,e,r)=>{r.d(e,{a:()=>i});let i=t=>Math.round(1e5*t)/1e5},9773:(t,e,r)=>{r.d(e,{P6:()=>o,vG:()=>h,tu:()=>u,KZ:()=>g,rU:()=>a,PT:()=>S,DW:()=>c,WH:()=>d,Mc:()=>A,yL:()=>v,TU:()=>function t(e,r){if(e)return"function"==typeof e&&m()?g(e,r):c(e)?y(e):Array.isArray(e)?e.map(e=>t(e,r)||b.easeOut):b[e]},YE:()=>l,c$:()=>R,KJ:()=>w,Wp:()=>B,nL:()=>m,Jb:()=>n});var i=r(2364);let n=(0,i.p)(()=>void 0!==window.ScrollTimeline);class s{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=e}attachTimeline(t,e){let r=this.animations.map(r=>n()&&r.attachTimeline?r.attachTimeline(t):"function"==typeof e?e(r):void 0);return()=>{r.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}
1runAll(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")}}class o extends s{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}let l=2e4;function u(t){let e=0,r=t.next(e);for(;!r.done&&e<l;)e+=50,r=t.next(e);return e>=l?1/0:e}function d(t){return"function"==typeof t}function h(t,e){t.timeline=e,t.onfinish=null}let c=t=>Array.isArray(t)&&"number"==typeof t[0],p={linearEasing:void 0},m=function(t,e){let r=(0,i.p)(t);return()=>{var t;return null!==(t=p[e])&&void 0!==t?t:r()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var f=r(8759);let g=(t,e,r=10)=>{let i="",n=Math.max(Math.round(e/r),2);for(let e=0;e<n;e++)i+=t((0,f.q)(0,n-1,e))+", ";return`linear(${i.substring(0,i.length-2)})`};function v(t){return!!("function"==typeof t&&m()||!t||"string"==typeof t&&(t in b||m())||c(t)||Array.isArray(t)&&t.every(v))}let y=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])},x={x:!1,y:!1};function w(t,e,r){var i;if(t instanceof Element)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=null!==(i=null==r?void 0:r[t])&&void 0!==i?i:n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function P(t,e){let r=w(t),i=new AbortController;return[r,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function T(t){return e=>{"touch"===e.pointerType||x.x||x.y||t(e)}}function S(t,e,r={}){let[i,n,s]=P(t,r),o=T(t=>{let{target:r}=t,i=e(t);if("function"!=typeof i||!r)return;let s=T(t=>{i(t),r.removeEventListener("pointerleave",s)});r.addEventListener("pointerleave",s,n)});return i.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}let k=(t,e)=>!!e&&(t===e||k(t,e.parentElement)),A=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,E=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),M=new WeakSet;function V(t){return e=>{"Enter"===e.key&&t(e)}}function C(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let D=(t,e)=>{let r=t.currentTarget;if(!r)return;let i=V(()=>{if(M.has(r))return;C(r,"down");let t=V(()=>{C(r,"up")});r.addEventListener("keyup",t,e),r.addEventListener("blur",()=>C(r,"cancel"),e)});r.addEventListener("keydown",i,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),e)};function j(t){return A(t)&&!(x.x||x.y)}function R(t,e,r={}){let[i,n,s]=P(t,r),o=t=>{let i=t.currentTarget;if(!j(t)||M.has(i))return;M.add(i);let s=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),j(t)&&M.has(i)&&(M.delete(i),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,r.useGlobalTarget||k(i,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return i.forEach(t=>{E.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(r.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),t.addEventListener("focus",t=>D(t,n),n)}),s}function B(t){return"x"===t||"y"===t?x[t]?null:(x[t]=!0,()=>{x[t]=!1}):x.x||x.y?null:(x.x=x.y=!0,()=>{x.x=x.y=!1})}r(2772),r(6862)},5387:(t,e,r)=>{r.d(e,{$:()=>n,V:()=>s});var i=r(6862);let n=i.l,s=i.l},2364:(t,e,r)=>{r.d(e,{p:()=>i});function i(t){let e;return()=>(void 0===e&&(e=t()),e)}},6862:(t,e,r)=>{r.d(e,{l:()=>i});let i=t=>t},8759:(t,e,r)=>{r.d(e,{q:()=>i});let i=(t,e,r)=>{let i=e-t;return 0===i?1:(r-t)/i}},2772:(t,e,r)=>{r.d(e,{X:()=>n,f:()=>i});let i=t=>1e3*t,n=t=>t/1e3},1956:(t,e,r)=>{r.d(e,{l$:()=>P,oR:()=>v});var i=r(2424),n=r(3193),s=t=>{switch(t){case"success":return l;case"info":return d;case"warning":return u;case"error":return h;default:return null}},o=Array(12).fill(0),a=t=>{let{visible:e,className:r}=t;return i.createElement("div",{className:["sonner-loading-wrapper",r].filter(
1Boolean).join(" "),"data-visible":e},i.createElement("div",{className:"sonner-spinner"},o.map((t,e)=>i.createElement("div",{className:"sonner-loading-bar",key:"spinner-bar-".concat(e)}))))},l=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),u=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),d=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),h=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),c=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},i.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),p=()=>{let[t,e]=i.useState(document.hidden);return i.useEffect(()=>{let t=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),t},m=1,f=new class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:r,...i}=t,n="number"==typeof(null==t?void 0:t.id)||(null==(e=t.id)?void 0:e.length)>0?t.id:m++,s=this.toasts.find(t=>t.id===n),o=void 0===t.dismissible||t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),s?this.toasts=this.toasts.map(e=>e.id===n?(this.publish({...e,...t,id:n,title:r}),{...e,...t,id:n,dismissible:o,title:r}):e):this.addToast({title:r,...i,dismissible:o,id:n}),n},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(t=>{this.subscribers.forEach(e=>e({id:t.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{let r;if(!e)return;void 0!==e.loading&&(r=this.create({...e,promise:t,type:"loading",message:e.loading,description:"function"!=typeof e.description?e.description:void 0}));let n=t instanceof Promise?t:t(),s=void 0!==r,o,a=n.then(async t=>{if(o=["resolve",t],i.isValidElement(t))s=!1,this.create({id:r,type:"default",message:t});else if(g(t)&&!t.ok){s=!1;let i="function"==typeof e.error?await e.error("HTTP error! status: ".concat(t.status)):e.error,n="function"==typeof e.description?await e.description("HTTP error! status: ".concat(t.status)):e.description;this.create({id:r,type:"error",message:i,description:n})}else if(void 0!==e.success){s=!1;let i="function"==typeof e.success?await e.success(t):e.success,n="function"==typeof e.description?await e.description(t):e.description;this.create({id:r,type:"success",message:i,description:n})}}).catch(async t=>{if(o=["reject",t],void 0!==e.error){s=!1;let i="function"==typeof e.error?await e.error(t):e.error,n="function"==typeof e.description?await e.description(t):e.description;this.create({id:r,type:"error",message:i,description:n})}}).finally(()=>{var t;s&&(this.dismiss(r),r=void 0),null==(t=e.finally)||t.call(e)}),l=()=>new Promise((t,e)=>a.then(()=>"reject"===o[0]?e(o[1]):t(o[1])).catch(e));return"string"!=typeof r&&"number"!=typeof r?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,e)=>{let r=(null==e?void 0:e.id)||m++;return this.create({jsx:t(r),id:r,...e}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},g=t=>t&&"object"==typeof t&&"ok"in t&&"boolean"==typeof t.ok&&"status"in t&&"number"==typeof t.status,v=Object.assign((t,e)=>{let r=(null==e?void 0:e.id)||m++;return f.addToast({title:t,...e,id:r}),r},{success:f.success,info:f.info,warning:f.warning,error:f.error,custom:f.custom,message:f.message,promise:f.promise,dismiss:f.dismiss,loading:f.loading},{getHistory:()=>f.toasts,getToasts:()=>f.getActiveToasts()});function y(t){return void 0!==t.label}function b(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter(Boolean).join(" ")}!function(t){let{insertAt:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");
1i.type="text/css","top"===e&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
1left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
1:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
1--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var x=t=>{var e,r,n,o,l,u,d,h,m,f,g;let{invert:v,toast:x,unstyled:w,interacting:P,setHeights:T,visibleToasts:S,heights:k,index:A,toasts:E,expanded:M,removeToast:V,defaultRichColors:C,closeButton:D,style:j,cancelButtonStyle:R,actionButtonStyle:B,className:L="",descriptionClassName:F="",duration:N,position:O,gap:I,loadingIcon:z,expandByDefault:U,classNames:$,icons:W,closeButtonAriaLabel:G="Close toast",pauseWhenPageIsHidden:Y}=t,[H,q]=i.useState(null),[X,K]=i.useState(null),[_,Z]=i.useState(!1),[Q,J]=i.useState(!1),[tt,te]=i.useState(!1),[tr,ti]=i.useState(!1),[tn,ts]=i.useState(!1),[to,ta]=i.useState(0),[tl,tu]=i.useState(0),td=i.useRef(x.duration||N||4e3),th=i.useRef(null),tc=i.useRef(null),tp=0===A,tm=A+1<=S,tf=x.type,tg
1=!1!==x.dismissible,tv=x.className||"",ty=x.descriptionClassName||"",tb=i.useMemo(()=>k.findIndex(t=>t.toastId===x.id)||0,[k,x.id]),tx=i.useMemo(()=>{var t;return null!=(t=x.closeButton)?t:D},[x.closeButton,D]),tw=i.useMemo(()=>x.duration||N||4e3,[x.duration,N]),tP=i.useRef(0),tT=i.useRef(0),tS=i.useRef(0),tk=i.useRef(null),[tA,tE]=O.split("-"),tM=i.useMemo(()=>k.reduce((t,e,r)=>r>=tb?t:t+e.height,0),[k,tb]),tV=p(),tC=x.invert||v,tD="loading"===tf;tT.current=i.useMemo(()=>tb*I+tM,[tb,tM]),i.useEffect(()=>{td.current=tw},[tw]),i.useEffect(()=>{Z(!0)},[]),i.useEffect(()=>{let t=tc.current;if(t){let e=t.getBoundingClientRect().height;return tu(e),T(t=>[{toastId:x.id,height:e,position:x.position},...t]),()=>T(t=>t.filter(t=>t.toastId!==x.id))}},[T,x.id]),i.useLayoutEffect(()=>{if(!_)return;let t=tc.current,e=t.style.height;t.style.height="auto";let r=t.getBoundingClientRect().height;t.style.height=e,tu(r),T(t=>t.find(t=>t.toastId===x.id)?t.map(t=>t.toastId===x.id?{...t,height:r}:t):[{toastId:x.id,height:r,position:x.position},...t])},[_,x.title,x.description,T,x.id]);let tj=i.useCallback(()=>{J(!0),ta(tT.current),T(t=>t.filter(t=>t.toastId!==x.id)),setTimeout(()=>{V(x)},200)},[x,V,T,tT]);return i.useEffect(()=>{let t;if((!x.promise||"loading"!==tf)&&x.duration!==1/0&&"loading"!==x.type)return M||P||Y&&tV?(()=>{if(tS.current<tP.current){let t=new Date().getTime()-tP.current;td.current=td.current-t}tS.current=new Date().getTime()})():td.current!==1/0&&(tP.current=new Date().getTime(),t=setTimeout(()=>{var t;null==(t=x.onAutoClose)||t.call(x,x),tj()},td.current)),()=>clearTimeout(t)},[M,P,x,tf,Y,tV,tj]),i.useEffect(()=>{x.delete&&tj()},[tj,x.delete]),i.createElement("li",{tabIndex:0,ref:tc,className:b(L,tv,null==$?void 0:$.toast,null==(e=null==x?void 0:x.classNames)?void 0:e.toast,null==$?void 0:$.default,null==$?void 0:$[tf],null==(r=null==x?void 0:x.classNames)?void 0:r[tf]),"data-sonner-toast":"","data-rich-colors":null!=(n=x.richColors)?n:C,"data-styled":!(x.jsx||x.unstyled||w),"data-mounted":_,"data-promise":!!x.promise,"data-swiped":tn,"data-removed":Q,"data-visible":tm,"data-y-position":tA,"data-x-position":tE,"data-index":A,"data-front":tp,"data-swiping":tt,"data-dismissible":tg,"data-type":tf,"data-invert":tC,"data-swipe-out":tr,"data-swipe-direction":X,"data-expanded":!!(M||U&&_),style:{"--index":A,"--toasts-before":A,"--z-index":E.length-A,"--offset":"".concat(Q?to:tT.current,"px"),"--initial-height":U?"auto":"".concat(tl,"px"),...j,...x.style},onDragEnd:()=>{te(!1),q(null),tk.current=null},onPointerDown:t=>{tD||!tg||(th.current=new Date,ta(tT.current),t.target.setPointerCapture(t.pointerId),"BUTTON"!==t.target.tagName&&(te(!0),tk.current={x:t.clientX,y:t.clientY}))},onPointerUp:()=>{var t,e,r,i;if(tr||!tg)return;tk.current=null;let n=Number((null==(t=tc.current)?void 0:t.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),s=Number((null==(e=tc.current)?void 0:e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),o=new Date().getTime()-(null==(r=th.current)?void 0:r.getTime()),a="x"===H?n:s,l=Math.abs(a)/o;if(Math.abs(a)>=20||l>.11){ta(tT.current),null==(i=x.onDismiss)||i.call(x,x),K("x"===H?n>0?"right":"left":s>0?"down":"up"),tj(),ti(!0),ts(!1);return}te(!1),q(null)},onPointerMove:e=>{var r,i,n,s;if(!tk.current||!tg||(null==(r=window.getSelection())?void 0:r.toString().length)>0)return;let o=e.clientY-tk.current.y,a=e.clientX-tk.current.x,l=null!=(i=t.swipeDirections)?i:function(t){let[e,r]=t.split("-"),i=[];return e&&i.push(e),r&&i.push(r),i}(O);!H&&(Math.abs(a)>1||Math.abs(o)>1)&&q(Math.abs(a)>Math.abs(o)?"x":"y");let u={x:0,y:0};"y"===H?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&o<0||l.includes("bottom")&&o>0)&&(u.y=o):"x"===H&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&a<0||l.includes("right")&&a>0)&&(u.x=a),(Math.abs(u.x)>0||Math.abs(u.y)>0)&&ts(!0),null==(n=tc.current)||n.style.setProperty("--swipe-amount-x","".concat(u.x,"px")),null==(s=tc.current)||s.style.setProperty("--swipe-amount-y","".concat(u.y,"px"))}},tx&&!x.jsx?i.createElement("button",{"aria-label":G,"data-disabled":tD,"data-close-button":!0,onClick:tD||!tg?()=>{}:()=>{var t;tj(),null==(t=x.onDismiss)||t.call(x,x)},className:b(null==$?void 0:$.closeButton,null==(o=null==x?void 0:x.classNames)?void 0:o.closeButton)},null!=(l=null==W?void 0:W.close)?l:c):null,x.jsx||(0,i.isValidElement)(x.title)?x.jsx?x.jsx:"function"==typeof x.title?x.title():x.title:i.createElement(i.Fragment,null,tf||x.icon||x.promise?i.createElement("div",{"data-icon":"",className:b(null==$?void 0:$.icon,null==(u=null==x?void 0:x.classNames)?void 0:u.icon)},x.promise||"loading"===x.type&&!x.icon?x.icon||function(){var t,e,r;return null!=W&&W.loading?i.createElement("div",{className:b(null==$?void 0:$.loader,null==(t=null==x?void 0:x.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===tf},W.loading):z?i.createElement("div",{className:b(null==$?void 0:$.loader,null==(e=null==x?void 0:x.classNames)?void 0:e.loader,"sonner-loader"),"data-visible":"loading"===tf},z):i.createElement(a,{className:b(null==$?void 0:$.loader,null==(r=null==x?void 0:x.classNames)?void 0:r.loader),visible:"loading"===tf})}():null,"loading"!==x.type?x.icon||(null==W?void 0:W[tf])||s(tf):null):null,i.createElement("div",{"data-content":"",className:b(null==$?void 0:$.content,null==(d=null==x?void 0:x.classNames)?void 0:d.content)},i.createElement("div",{"data-title":"",className:b(null==$?void 0:$.t
1itle,null==(h=null==x?void 0:x.classNames)?void 0:h.title)},"function"==typeof x.title?x.title():x.title),x.description?i.createElement("div",{"data-description":"",className:b(F,ty,null==$?void 0:$.description,null==(m=null==x?void 0:x.classNames)?void 0:m.description)},"function"==typeof x.description?x.description():x.description):null),(0,i.isValidElement)(x.cancel)?x.cancel:x.cancel&&y(x.cancel)?i.createElement("button",{"data-button":!0,"data-cancel":!0,style:x.cancelButtonStyle||R,onClick:t=>{var e,r;y(x.cancel)&&tg&&(null==(r=(e=x.cancel).onClick)||r.call(e,t),tj())},className:b(null==$?void 0:$.cancelButton,null==(f=null==x?void 0:x.classNames)?void 0:f.cancelButton)},x.cancel.label):null,(0,i.isValidElement)(x.action)?x.action:x.action&&y(x.action)?i.createElement("button",{"data-button":!0,"data-action":!0,style:x.actionButtonStyle||B,onClick:t=>{var e,r;y(x.action)&&(null==(r=(e=x.action).onClick)||r.call(e,t),t.defaultPrevented||tj())},className:b(null==$?void 0:$.actionButton,null==(g=null==x?void 0:x.classNames)?void 0:g.actionButton)},x.action.label):null))};function w(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let t=document.documentElement.getAttribute("dir");return"auto"!==t&&t?t:window.getComputedStyle(document.documentElement).direction}var P=(0,i.forwardRef)(function(t,e){let{invert:r,position:s="bottom-right",hotkey:o=["altKey","KeyT"],expand:a,closeButton:l,className:u,offset:d,mobileOffset:h,theme:c="light",richColors:p,duration:m,style:g,visibleToasts:v=3,toastOptions:y,dir:b=w(),gap:P=14,loadingIcon:T,icons:S,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:A}=t,[E,M]=i.useState([]),V=i.useMemo(()=>Array.from(new Set([s].concat(E.filter(t=>t.position).map(t=>t.position)))),[E,s]),[C,D]=i.useState([]),[j,R]=i.useState(!1),[B,L]=i.useState(!1),[F,N]=i.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),O=i.useRef(null),I=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=i.useRef(null),U=i.useRef(!1),$=i.useCallback(t=>{M(e=>{var r;return null!=(r=e.find(e=>e.id===t.id))&&r.delete||f.dismiss(t.id),e.filter(e=>{let{id:r}=e;return r!==t.id})})},[]);return i.useEffect(()=>f.subscribe(t=>{if(t.dismiss){M(e=>e.map(e=>e.id===t.id?{...e,delete:!0}:e));return}setTimeout(()=>{n.flushSync(()=>{M(e=>{let r=e.findIndex(e=>e.id===t.id);return -1!==r?[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]:[t,...e]})})})}),[]),i.useEffect(()=>{if("system"!==c){N(c);return}if("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?N("dark"):N("light")),"undefined"==typeof window)return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",t=>{let{matches:e}=t;N(e?"dark":"light")})}catch(e){t.addListener(t=>{let{matches:e}=t;try{N(e?"dark":"light")}catch(t){console.error(t)}})}},[c]),i.useEffect(()=>{E.length<=1&&R(!1)},[E]),i.useEffect(()=>{let t=t=>{var e,r;o.every(e=>t[e]||t.code===e)&&(R(!0),null==(e=O.current)||e.focus()),"Escape"===t.code&&(document.activeElement===O.current||null!=(r=O.current)&&r.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[o]),i.useEffect(()=>{if(O.current)return()=>{z.current&&(z.current.focus({preventScroll:!0}),z.current=null,U.current=!1)}},[O.current]),i.createElement("section",{ref:e,"aria-label":"".concat(k," ").concat(I),tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},V.map((e,n)=>{var s;let o;let[c,f]=e.split("-");return E.length?i.createElement("ol",{key:e,dir:"auto"===b?w():b,tabIndex:-1,ref:O,className:u,"data-sonner-toaster":!0,"data-theme":F,"data-y-position":c,"data-lifted":j&&E.length>1&&!a,"data-x-position":f,style:{"--front-toast-height":"".concat((null==(s=C[0])?void 0:s.height)||0,"px"),"--width":"".concat(356,"px"),"--gap":"".concat(P,"px"),...g,...(o={},[d,h].forEach((t,e)=>{let r=1===e,i=r?"--mobile-offset":"--offset",n=r?"16px":"32px";
1function s(t){["top","right","bottom","left"].forEach(e=>{o["".concat(i,"-").concat(e)]="number"==typeof t?"".concat(t,"px"):t})}"number"==typeof t||"string"==typeof t?s(t):"object"==typeof t?["top","right","bottom","left"].forEach(e=>{void 0===t[e]?o["".concat(i,"-").concat(e)]=n:o["".concat(i,"-").concat(e)]="number"==typeof t[e]?"".concat(t[e],"px"):t[e]}):s(n)}),o)},onBlur:t=>{U.current&&!t.currentTarget.contains(t.relatedTarget)&&(U.current=!1,z.current&&(z.current.focus({preventScroll:!0}),z.current=null))},onFocus:t=>{t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible||U.current||(U.current=!0,z.current=t.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{B||R(!1)},onDragEnd:()=>R(!1),onPointerDown:t=>{t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible||L(!0)},onPointerUp:()=>L(!1)},E.filter(t=>!t.position&&0===n||t.position===e).map((n,s)=>{var o,u;return i.createElement(x,{key:n.id,icons:S,index:s,toast:n,defaultRichColors:p,duration:null!=(o=null==y?void 0:y.duration)?o:m,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:r,visibleToasts:v,closeButton:null!=(u=null==y?void 0:y.closeButton)?u:l,interacting:B,position:e,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,removeToast:$,toasts:E.filter(t=>t.position==n.position),heights:C.filter(t=>t.position==n.position),setHeights:D,expandByDefault:a,gap:P,loadingIcon:T,expanded:j,pauseWhenPageIsHidden:A,swipeDirections:t.swipeDirections})})):null}))})},471:(t,e,r)=>{r.d(e,{QP:()=>K});let i=t=>{let e=a(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:t=>{let r=t.split("-");return""===r[0]&&1!==r.length&&r.shift(),n(r,e)||o(t)},getConflictingClassGroupIds:(t,e)=>{let n=r[t]||[];return e&&i[t]?[...n,...i[t]]:n}}},n=(t,e)=>{if(0===t.length)return e.classGroupId;let r=t[0],i=e.nextPart.get(r),s=i?n(t.slice(1),i):void 0;if(s)return s;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},s=/^\[(.+)\]$/,o=t=>{if(s.test(t)){let e=s.exec(t)[1],r=e?.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},a=t=>{let{theme:e,prefix:r}=t,i={nextPart:new Map,validators:[]};return h(Object.entries(t.classGroups),r).forEach(([t,r])=>{l(r,i,t,e)}),i},l=(t,e,r,i)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:u(e,t)).classGroupId=r;return}if("function"==typeof t){if(d(t)){l(t(i),e,r,i);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([t,n])=>{l(n,u(e,t),r,i)})})},u=(t,e)=>{let r=t;return e.split("-").forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},d=t=>t.isThemeGetter,h=(t,e)=>e?t.map(([t,r])=>[t,r.map(t=>"string"==typeof t?e+t:"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,r])=>[e+t,r])):t)]):t,c=t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,r=new Map,i=new Map,n=(n,s)=>{r.set(n,s),++e>t&&(e=0,i=r,r=new Map)};return{get(t){let e=r.get(t);return void 0!==e?e:void 0!==(e=i.get(t))?(n(t,e),e):void 0},set(t,e){r.has(t)?r.set(t,e):n(t,e)}}},p=t=>{let{separator:e,experimentalParseClassName:r}=t,i=1===e.length,n=e[0],s=e.length,o=t=>{let r;let o=[],a=0,l=0;for(let u=0;u<t.length;u++){let d=t[u];if(0===a){if(d===n&&(i||t.slice(u,u+s)===e)){o.push(t.slice(l,u)),l=u+s;continue}if("/"===d){r=u;continue}}"["===d?a++:"]"===d&&a--}let u=0===o.length?t:t.substring(l),d=u.startsWith("!"),h=d?u.substring(1):u;return{modifiers:o,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:r&&r>l?r-l:void 0}};return r?t=>r({className:t,parseClassName:o}):o},m=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(t=>{"["===t[0]?(e.push(...r.sort(),t),r=[]):r.push(t)}),e.push(...r.sort()),e},f=t=>({cache:c(t.cacheSize),parseClassName:p(t),...i(t)}),g=/\s+/,v=(t,e)=>{let{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:n}=e,s=[],o=t.trim().split(g),a="";for(let t=o.length-1;t>=0;t-=1){let e=o[t],{modifiers:l,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:h}=r(e),c=!!h,p=i(c?d.substring(0,h):d);if(!p){if(!c||!(p=i(d))){a=e+(a.length>0?" "+a:a);continue}c=!1}let f=m(l).join(":"),g=u?f+"!":f,v=g+p;if(s.includes(v))continue;s.push(v);let y=n(p,c);for(let t=0;t<y.length;++t){let e=y[t];s.push(g+e)}
1a=e+(a.length>0?" "+a:a)}return a};function y(){let t,e,r=0,i="";for(;r<arguments.length;)(t=arguments[r++])&&(e=b(t))&&(i&&(i+=" "),i+=e);return i}let b=t=>{let e;if("string"==typeof t)return t;let r="";for(let i=0;i<t.length;i++)t[i]&&(e=b(t[i]))&&(r&&(r+=" "),r+=e);return r},x=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,P=/^\d+\/\d+$/,T=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=t=>D(t)||T.has(t)||P.test(t),C=t=>G(t,"length",Y),D=t=>!!t&&!Number.isNaN(Number(t)),j=t=>G(t,"number",D),R=t=>!!t&&Number.isInteger(Number(t)),B=t=>t.endsWith("%")&&D(t.slice(0,-1)),L=t=>w.test(t),F=t=>S.test(t),N=new Set(["length","size","percentage"]),O=t=>G(t,N,H),I=t=>G(t,"position",H),z=new Set(["image","url"]),U=t=>G(t,z,X),$=t=>G(t,"",q),W=()=>!0,G=(t,e,r)=>{let i=w.exec(t);return!!i&&(i[1]?"string"==typeof e?i[1]===e:e.has(i[1]):r(i[2]))},Y=t=>k.test(t)&&!A.test(t),H=()=>!1,q=t=>E.test(t),X=t=>M.test(t);Symbol.toStringTag;let K=function(t,...e){let r,i,n;let s=function(a){return i=(r=f(e.reduce((t,e)=>e(t),t()))).cache.get,n=r.cache.set,s=o,o(a)};function o(t){let e=i(t);if(e)return e;let s=v(t,r);return n(t,s),s}return function(){return s(y.apply(null,arguments))}}(()=>{let t=x("colors"),e=x("spacing"),r=x("blur"),i=x("brightness"),n=x("borderColor"),s=x("borderRadius"),o=x("borderSpacing"),a=x("borderWidth"),l=x("contrast"),u=x("grayscale"),d=x("hueRotate"),h=x("invert"),c=x("gap"),p=x("gradientColorStops"),m=x("gradientColorStopPositions"),f=x("inset"),g=x("margin"),v=x("opacity"),y=x("padding"),b=x("saturate"),w=x("scale"),P=x("sepia"),T=x("skew"),S=x("space"),k=x("translate"),A=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",L,e],N=()=>[L,e],z=()=>["",V,C],G=()=>["auto",D,L],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",L],_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[D,L];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[V,C],blur:["none","",F,L],brightness:Z(),borderColor:[t],borderRadius:["none","","full",F,L],borderSpacing:N(),borderWidth:z(),contrast:Z(),grayscale:K(),hueRotate:Z(),invert:K(),gap:N(),gradientColorStops:[t],gradientColorStopPositions:[B,C],inset:M(),margin:M(),opacity:Z(),padding:N(),saturate:Z(),scale:Z(),sepia:K(),skew:Z(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),L]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}
vendor: 9,885 bytes, line 1
1],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,L]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",R,L]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",R,L]},L]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[R,L]},L]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[c]}],"gap-x":[{"gap-x":[c]}],"gap-y":[{"gap-y":[c]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,e]}],"min-w":[{"min-w":[L,e,"min","max","fit"]}],"max-w":[{"max-w":[L,e,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[L,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,e,"auto","min","max","fit"]}],"font-size":[{text:["base",F,C]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",D,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,C]}],"underline-offset":[{"underline-offset":["auto",V,L]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),I]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",O]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},U]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:H()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[V,L]}],"outline-w":[{outline:[V,C]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[V,C]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",F,$]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",F,L]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[b]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[R,L]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 2,634 bytes, line 1
1],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[V,C,j]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);

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.