vendor: 5,342 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/tai-DtByhHNu.js","assets/Footer-Dr8tYiVs.js","assets/shield-check-BZdtbd3q.js","assets/wallet-DgswVZAr.js","assets/syfan-VkhWOrpz.js","assets/ProspectLanding-BQpqfuqT.js","assets/security-dbDMToIr.js","assets/lock-Dh2DXom4.js","assets/privacy-F9eZZ8U-.js","assets/contact-D4X8YagB.js","assets/arrive-DxWpnrkg.js","assets/about-DgkjFjbs.js","assets/CTA-5yGC-c-7.js","assets/index-D8jFlHED.js","assets/chevron-right-HepNa5-j.js","assets/accordion-CNZy5HB4.js","assets/shipment-types._type-bOV-Q-x2.js","assets/shipment-types._type-DxzN2ROB.js","assets/products._slug-CFfObeLa.js","assets/products._slug-BUY0q2_m.js","assets/modules._module-B-QlP0eG.js","assets/modules._module-BtTIbudv.js","assets/resources.index-BbOxIV21.js","assets/resources._slug-CkqG20fP.js","assets/resources._slug-BSo_Ls-Y.js"])))=>i.map(i=>d[i]); 2function lA(e,i){for(var a=0;a<i.length;a++){const r=i[a];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(r,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function uA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tf={exports:{}},yr={};var Sy;function cA(){if(Sy)return yr;Sy=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(r,l,c){var d=null;if(c!==void 0&&(d=""+c),l.key!==void 0&&(d=""+l.key),"key"in l){c={};for(var h in l)h!=="key"&&(c[h]=l[h])}else c=l;return l=c.ref,{$$typeof:e,type:r,key:d,ref:l!==void 0?l:null,props:c}}return yr.Fragment=i,yr.jsx=a,yr.jsxs=a,yr}var xy;function fA(){return xy||(xy=1,Tf.exports=cA()),Tf.exports}var R=fA(),Af={exports:{}},ft={};var Ty;function dA(){if(Ty)return ft;Ty=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function S(D){return D===null||typeof D!="object"?null:(D=b&&D[b]||D["@@iterator"],typeof D=="function"?D:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,w={};function _(D,G,tt){this.props=D,this.context=G,this.refs=w,this.updater=tt||A}_.prototype.isReactComponent={},_.prototype.setState=function(D,G){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,G,"setState")},_.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function j(){}j.prototype=_.prototype;function O(D,G,tt){this.props=D,this.context=G,this.refs=w,this.updater=tt||A}var z=O.prototype=new j;z.constructor=O,C(z,_.prototype),z.isPureReactComponent=!0;var X=Array.isArray;function J(){}var H={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function Q(D,G,tt){var nt=tt.ref;return{$$typeof:e,type:D,key:G,ref:nt!==void 0?nt:null,props:tt}}function Z(D,G){return Q(D.type,G,D.props)}function W(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function lt(D){var G={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(tt){return G[tt]})}var dt=/\/+/g;function At(D,G){return typeof D=="object"&&D!==null&&D.key!=null?lt(""+D.key):G.toString(36)}function gt(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(J,J):(D.status="pending",D.then(function(G){D.status==="pending"&&(D.status="fulfilled",D.value=G)},function(G){D.status==="pending"&&(D.status="rejected",D.reason=G)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function U(D,G,tt,nt,rt){var pt=typeof D;(pt==="undefined"||pt==="boolean")&&(D=null);var wt=!1;if(D===null)wt=!0;else switch(pt){case"bigint":case"string":case"number":wt=!0;break;case"object":switch(D.$$typeof){case e:case i:wt=!0;break;case g:return wt=D._init,U(wt(D._payload),G,tt,nt,rt)}}if(wt)return rt=rt(D),wt=nt===""?"."+At(D,0):nt,X(rt)?(tt="",wt!=null&&(tt=wt.replace(dt,"$&/")+"/"),U(rt,G,tt,"",function(Rn){return Rn})):rt!=null&&(W(rt)&&(rt=Z(rt,tt+(rt.key==null||D&&D.key===rt.key?"":(""+rt.key).replace(dt,"$&/")+"/")+wt)),G.push(rt)),1;wt=0;var Kt=nt===""?".":nt+":";if(X(D))for(var zt=0;zt<D.length;zt++)nt=D[zt],pt=Kt+At(nt,zt),wt+=U(nt,G,tt,pt,rt);else if(zt=S(D),typeof zt=="function")for(D=zt.call(D),zt=0;!(nt=D.next()).done;)nt=nt.value,pt=Kt+At(nt,zt++),wt+=U(nt,G,tt,pt,rt);else if(pt==="object"){if(typeof D.then=="function")return U(gt(D),G,tt,nt,rt);throw G=String(D),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return wt}function $(D,G,tt){if(D==null)return D;var nt=[],rt=0;return U(D,nt,"","",function(pt){return G.call(tt,pt,rt++)}),nt}
vendor: 4,264 bytes, line 2
2function et(D){if(D._status===-1){var G=D._result;G=G(),G.then(function(tt){(D._status===0||D._status===-1)&&(D._status=1,D._result=tt)},function(tt){(D._status===0||D._status===-1)&&(D._status=2,D._result=tt)}),D._status===-1&&(D._status=0,D._result=G)}if(D._status===1)return D._result.default;throw D._result}var ct=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},yt={map:$,forEach:function(D,G,tt){$(D,function(){G.apply(this,arguments)},tt)},count:function(D){var G=0;return $(D,function(){G++}),G},toArray:function(D){return $(D,function(G){return G})||[]},only:function(D){if(!W(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return ft.Activity=y,ft.Children=yt,ft.Component=_,ft.Fragment=a,ft.Profiler=l,ft.PureComponent=O,ft.StrictMode=r,ft.Suspense=p,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,ft.__COMPILER_RUNTIME={__proto__:null,c:function(D){return H.H.useMemoCache(D)}},ft.cache=function(D){return function(){return D.apply(null,arguments)}},ft.cacheSignal=function(){return null},ft.cloneElement=function(D,G,tt){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var nt=C({},D.props),rt=D.key;if(G!=null)for(pt in G.key!==void 0&&(rt=""+G.key),G)!Y.call(G,pt)||pt==="key"||pt==="__self"||pt==="__source"||pt==="ref"&&G.ref===void 0||(nt[pt]=G[pt]);var pt=arguments.length-2;if(pt===1)nt.children=tt;else if(1<pt){for(var wt=Array(pt),Kt=0;Kt<pt;Kt++)wt[Kt]=arguments[Kt+2];nt.children=wt}return Q(D.type,rt,nt)},ft.createContext=function(D){return D={$$typeof:d,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:c,_context:D},D},ft.createElement=function(D,G,tt){var nt,rt={},pt=null;if(G!=null)for(nt in G.key!==void 0&&(pt=""+G.key),G)Y.call(G,nt)&&nt!=="key"&&nt!=="__self"&&nt!=="__source"&&(rt[nt]=G[nt]);var wt=arguments.length-2;if(wt===1)rt.children=tt;else if(1<wt){for(var Kt=Array(wt),zt=0;zt<wt;zt++)Kt[zt]=arguments[zt+2];rt.children=Kt}if(D&&D.defaultProps)for(nt in wt=D.defaultProps,wt)rt[nt]===void 0&&(rt[nt]=wt[nt]);return Q(D,pt,rt)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(D){return{$$typeof:h,render:D}},ft.isValidElement=W,ft.lazy=function(D){return{$$typeof:g,_payload:{_status:-1,_result:D},_init:et}},ft.memo=function(D,G){return{$$typeof:m,type:D,compare:G===void 0?null:G}},ft.startTransition=function(D){var G=H.T,tt={};H.T=tt;try{var nt=D(),rt=H.S;rt!==null&&rt(tt,nt),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"&&nt.then(J,ct)}catch(pt){ct(pt)}finally{G!==null&&tt.types!==null&&(G.types=tt.types),H.T=G}},ft.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},ft.use=function(D){return H.H.use(D)},ft.useActionState=function(D,G,tt){return H.H.useActionState(D,G,tt)},ft.useCallback=function(D,G){return H.H.useCallback(D,G)},ft.useContext=function(D){return H.H.useContext(D)},ft.useDebugValue=function(){},ft.useDeferredValue=function(D,G){return H.H.useDeferredValue(D,G)},ft.useEffect=function(D,G){return H.H.useEffect(D,G)},ft.useEffectEvent=function(D){return H.H.useEffectEvent(D)},ft.useId=function(){return H.H.useId()},ft.useImperativeHandle=function(D,G,tt){return H.H.useImperativeHandle(D,G,tt)},ft.useInsertionEffect=function(D,G){return H.H.useInsertionEffect(D,G)},ft.useLayoutEffect=function(D,G){return H.H.useLayoutEffect(D,G)},ft.useMemo=function(D,G){return H.H.useMemo(D,G)},ft.useOptimistic=function(D,G){return H.H.useOptimistic(D,G)},ft.useReducer=function(D,G,tt){return H.H.useReducer(D,G,tt)},ft.useRef=function(D){return H.H.useRef(D)},ft.useState=function(D){return H.H.useState(D)},ft.useSyncExternalStore=function(D,G,tt){return H.H.useSyncExternalStore(D,G,tt)},ft.useTransition=function(){return H.H.useTransition()},ft.version="19.2.5",ft}var Ay;
vendor: 7,462 bytes, line 2
2function Ir(){return Ay||(Ay=1,Af.exports=dA()),Af.exports}var K=Ir();const ps=uA(K),Q3=lA({__proto__:null,default:ps},[K]);var wf={exports:{}},vr={},Ef={exports:{}},Rf={};var wy;function hA(){return wy||(wy=1,(function(e){function i(U,$){var et=U.length;U.push($);t:for(;0<et;){var ct=et-1>>>1,yt=U[ct];if(0<l(yt,$))U[ct]=$,U[et]=yt,et=ct;else break t}}function a(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var $=U[0],et=U.pop();if(et!==$){U[0]=et;t:for(var ct=0,yt=U.length,D=yt>>>1;ct<D;){var G=2*(ct+1)-1,tt=U[G],nt=G+1,rt=U[nt];if(0>l(tt,et))nt<yt&&0>l(rt,tt)?(U[ct]=rt,U[nt]=et,ct=nt):(U[ct]=tt,U[G]=et,ct=G);else if(nt<yt&&0>l(rt,et))U[ct]=rt,U[nt]=et,ct=nt;else break t}}return $}function l(U,$){var et=U.sortIndex-$.sortIndex;return et!==0?et:U.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,h=d.now();e.unstable_now=function(){return d.now()-h}}var p=[],m=[],g=1,y=null,b=3,S=!1,A=!1,C=!1,w=!1,_=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function z(U){for(var $=a(m);$!==null;){if($.callback===null)r(m);else if($.startTime<=U)r(m),$.sortIndex=$.expirationTime,i(p,$);else break;$=a(m)}}function X(U){if(C=!1,z(U),!A)if(a(p)!==null)A=!0,J||(J=!0,lt());else{var $=a(m);$!==null&>(X,$.startTime-U)}}var J=!1,H=-1,Y=5,Q=-1;function Z(){return w?!0:!(e.unstable_now()-Q<Y)}function W(){if(w=!1,J){var U=e.unstable_now();Q=U;var $=!0;try{t:{A=!1,C&&(C=!1,j(H),H=-1),S=!0;var et=b;try{e:{for(z(U),y=a(p);y!==null&&!(y.expirationTime>U&&Z());){var ct=y.callback;if(typeof ct=="function"){y.callback=null,b=y.priorityLevel;var yt=ct(y.expirationTime<=U);if(U=e.unstable_now(),typeof yt=="function"){y.callback=yt,z(U),$=!0;break e}y===a(p)&&r(p),z(U)}else r(p);y=a(p)}if(y!==null)$=!0;else{var D=a(m);D!==null&>(X,D.startTime-U),$=!1}}break t}finally{y=null,b=et,S=!1}$=void 0}}finally{$?lt():J=!1}}}var lt;if(typeof O=="function")lt=function(){O(W)};else if(typeof MessageChannel<"u"){var dt=new MessageChannel,At=dt.port2;dt.port1.onmessage=W,lt=function(){At.postMessage(null)}}else lt=function(){_(W,0)};function gt(U,$){H=_(function(){U(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(U){switch(b){case 1:case 2:case 3:var $=3;break;default:$=b}var et=b;b=$;try{return U()}finally{b=et}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(U,$){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var et=b;b=U;try{return $()}finally{b=et}},e.unstable_scheduleCallback=function(U,$,et){var ct=e.unstable_now();switch(typeof et=="object"&&et!==null?(et=et.delay,et=typeof et=="number"&&0<et?ct+et:ct):et=ct,U){case 1:var yt=-1;break;case 2:yt=250;break;case 5:yt=1073741823;break;case 4:yt=1e4;break;default:yt=5e3}return yt=et+yt,U={id:g++,callback:$,priorityLevel:U,startTime:et,expirationTime:yt,sortIndex:-1},et>ct?(U.sortIndex=et,i(m,U),a(p)===null&&U===a(m)&&(C?(j(H),H=-1):C=!0,gt(X,et-ct))):(U.sortIndex=yt,i(p,U),A||S||(A=!0,J||(J=!0,lt()))),U},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(U){var $=b;return function(){var et=b;b=$;try{return U.apply(this,arguments)}finally{b=et}}}})(Rf)),Rf}var Ey;function mA(){return Ey||(Ey=1,Ef.exports=hA()),Ef.exports}var _f={exports:{}},Te={};var Ry;function pA(){if(Ry)return Te;Ry=1;var e=Ir();function i(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(p,m,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:p,containerInfo:m,implementation:g}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Te.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Te.createPortal=function(p,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return c(p,m,null,g)},Te.flushSync=function(p){var m=d.T,g=r.p;try{if(d.T=null,r.p=2,p)return p()}finally{d.T=m,r.p=g,r.d.f()}},Te.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(p,m))},Te.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},Te.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var g=m.as,y=h(g,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,S=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?r.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:S}):g==="script"&&r.d.X(p,{crossOrigin:y,integrity:b,fetchPriority:S,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Te.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=h(m.as,m.crossOrigin);r.d.M(p,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(p)},Te.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,y=h(g,m.crossOrigin);r.d.L(p,g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Te.preloadModule=function(p,m){if(typeof p=="string")if(m){var g=h(m.as,m.crossOrigin);r.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(p)},Te.requestFormReset=function(p){r.d.r(p)},Te.unstable_batchedUpdates=function(p,m){return p(m)},Te.useFormState=function(p,m,g){return d.H.useFormState(p,m,g)},Te.useFormStatus=function(){return d.H.useHostTransitionStatus()},Te.version="19.2.5",Te}var _y;function q0(){if(_y)return _f.exports;_y=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}
vendor: 5,003 bytes, lines 2-4
2return e(),_f.exports=pA(),_f.exports}var Cy;function gA(){if(Cy)return vr;Cy=1;var e=mA(),i=Ir(),a=q0();function r(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var n=t,s=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(s=n.return),t=n.return;while(t)}return n.tag===3?s:null}function d(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function h(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function p(t){if(c(t)!==t)throw Error(r(188))}function m(t){var n=t.alternate;if(!n){if(n=c(t),n===null)throw Error(r(188));return n!==t?null:t}for(var s=t,o=n;;){var u=s.return;if(u===null)break;var f=u.alternate;if(f===null){if(o=u.return,o!==null){s=o;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===s)return p(u),t;if(f===o)return p(u),n;f=f.sibling}throw Error(r(188))}if(s.return!==o.return)s=u,o=f;else{for(var v=!1,x=u.child;x;){if(x===s){v=!0,s=u,o=f;break}if(x===o){v=!0,o=u,s=f;break}x=x.sibling}if(!v){for(x=f.child;x;){if(x===s){v=!0,s=f,o=u;break}if(x===o){v=!0,o=f,s=u;break}x=x.sibling}if(!v)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:n}function g(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=g(t),n!==null)return n;t=t.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),O=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),Q=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function lt(t){return t===null||typeof t!="object"?null:(t=W&&t[W]||t["@@iterator"],typeof t=="function"?t:null)}var dt=Symbol.for("react.client.reference");function At(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===dt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case _:return"Profiler";case w:return"StrictMode";case X:return"Suspense";case J:return"SuspenseList";case Q:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case O:return t.displayName||"Context";case j:return(t._context.displayName||"Context")+".Consumer";case z:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case H:return n=t.displayName||null,n!==null?n:At(t.type)||"Memo";case Y:n=t._payload,t=t._init;try{return At(t(n))}catch{}}return null}var gt=Array.isArray,U=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et={pending:!1,data:null,method:null,action:null},ct=[],yt=-1;function D(t){return{current:t}}function G(t){0>yt||(t.current=ct[yt],ct[yt]=null,yt--)}function tt(t,n){yt++,ct[yt]=t.current,t.current=n}var nt=D(null),rt=D(null),pt=D(null),wt=D(null);function Kt(t,n){switch(tt(pt,n),tt(rt,t),tt(nt,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?qg(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=qg(n),t=Yg(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(nt),tt(nt,t)}function zt(){G(nt),G(rt),G(pt)}function Rn(t){t.memoizedState!==null&&tt(wt,t);var n=nt.current,s=Yg(n,t.type);n!==s&&(tt(rt,t),tt(nt,s))}function _n(t){rt.current===t&&(G(nt),G(rt)),wt.current===t&&(G(wt),hr._currentValue=et)}var Jn,Ts;function mn(t){if(Jn===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);Jn=n&&n[1]||"",Ts=-1<s.stack.indexOf(` 3 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 4`+Jn+t+Ts}var As=!1;function ba(t,n){if(!t||As)return"";As=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(k){var B=k}Reflect.construct(t,[],F)}else{try{F.call()}catch(k){B=k}t.call(F.prototype)}}else{try{throw Error()}catch(k){B=k}(F=t())&&typeof F.catch=="function"&&F.catch(function(){})}}
vendor: 6,458 bytes, lines 4-9
4catch(k){if(k&&B&&typeof k.stack=="string")return[k.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=o.DetermineComponentFrameRoot(),v=f[0],x=f[1];if(v&&x){var M=v.split(` 5`),V=x.split(` 6`);for(u=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;u<V.length&&!V[u].includes("DetermineComponentFrameRoot");)u++;if(o===M.length||u===V.length)for(o=M.length-1,u=V.length-1;1<=o&&0<=u&&M[o]!==V[u];)u--;for(;1<=o&&0<=u;o--,u--)if(M[o]!==V[u]){if(o!==1||u!==1)do if(o--,u--,0>u||M[o]!==V[u]){var I=` 7`+M[o].replace(" at new "," at ");return t.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",t.displayName)),I}while(1<=o&&0<=u);break}}}finally{As=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?mn(s):""}function Kr(t,n){switch(t.tag){case 26:case 27:case 5:return mn(t.type);case 16:return mn("Lazy");case 13:return t.child!==n&&n!==null?mn("Suspense Fallback"):mn("Suspense");case 19:return mn("SuspenseList");case 0:case 15:return ba(t.type,!1);case 11:return ba(t.type.render,!1);case 1:return ba(t.type,!0);case 31:return mn("Activity");default:return""}}function Cn(t){try{var n="",s=null;do n+=Kr(t,s),s=t,t=t.return;while(t);return n}catch(o){return` 8Error generating stack: `+o.message+` 9`+o.stack}}var Bi=Object.prototype.hasOwnProperty,on=e.unstable_scheduleCallback,ws=e.unstable_cancelCallback,Qr=e.unstable_shouldYield,lu=e.unstable_requestPaint,xe=e.unstable_now,Ut=e.unstable_getCurrentPriorityLevel,de=e.unstable_ImmediatePriority,pn=e.unstable_UserBlockingPriority,Sa=e.unstable_NormalPriority,qx=e.unstable_LowPriority,Ah=e.unstable_IdlePriority,Yx=e.log,Gx=e.unstable_setDisableYieldValue,Es=null,Ve=null;function $n(t){if(typeof Yx=="function"&&Gx(t),Ve&&typeof Ve.setStrictMode=="function")try{Ve.setStrictMode(Es,t)}catch{}}var Be=Math.clz32?Math.clz32:Kx,Fx=Math.log,Xx=Math.LN2;function Kx(t){return t>>>=0,t===0?32:31-(Fx(t)/Xx|0)|0}var Zr=256,Jr=262144,$r=4194304;function Ui(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Wr(t,n,s){var o=t.pendingLanes;if(o===0)return 0;var u=0,f=t.suspendedLanes,v=t.pingedLanes;t=t.warmLanes;var x=o&134217727;return x!==0?(o=x&~f,o!==0?u=Ui(o):(v&=x,v!==0?u=Ui(v):s||(s=x&~t,s!==0&&(u=Ui(s))))):(x=o&~f,x!==0?u=Ui(x):v!==0?u=Ui(v):s||(s=o&~t,s!==0&&(u=Ui(s)))),u===0?0:n!==0&&n!==u&&(n&f)===0&&(f=u&-u,s=n&-n,f>=s||f===32&&(s&4194048)!==0)?n:u}function Rs(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function Qx(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wh(){var t=$r;return $r<<=1,($r&62914560)===0&&($r=4194304),t}function uu(t){for(var n=[],s=0;31>s;s++)n.push(t);return n}function _s(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Zx(t,n,s,o,u,f){var v=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var x=t.entanglements,M=t.expirationTimes,V=t.hiddenUpdates;for(s=v&~s;0<s;){var I=31-Be(s),F=1<<I;x[I]=0,M[I]=-1;var B=V[I];if(B!==null)for(V[I]=null,I=0;I<B.length;I++){var k=B[I];k!==null&&(k.lane&=-536870913)}s&=~F}o!==0&&Eh(t,o,0),f!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=f&~(v&~n))}function Eh(t,n,s){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Be(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|s&261930}function Rh(t,n){var s=t.entangledLanes|=n;for(t=t.entanglements;s;){var o=31-Be(s),u=1<<o;u&n|t[o]&n&&(t[o]|=n),s&=~u}}function _h(t,n){var s=n&-n;return s=(s&42)!==0?1:cu(s),(s&(t.suspendedLanes|n))!==0?0:s}function cu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function fu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ch(){var t=$.p;return t!==0?t:(t=window.event,t===void 0?32:hy(t.type))}function Mh(t,n){var s=$.p;try{return $.p=t,n()}finally{$.p=s}}var Wn=Math.random().toString(36).slice(2),he="__reactFiber$"+Wn,Re="__reactProps$"+Wn,xa="__reactContainer$"+Wn,du="__reactEvents$"+Wn,Jx="__reactListeners$"+Wn,$x="__reactHandles$"+Wn,Dh="__reactResources$"+Wn,Cs="__reactMarker$"+Wn;function hu(t){delete t[he],delete t[Re],delete t[du],delete t[Jx],delete t[$x]}function Ta(t){var n=t[he];if(n)return n;for(var s=t.parentNode;s;){if(n=s[xa]||s[he]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(t=Jg(t);t!==null;){if(s=t[he])return s;t=Jg(t)}return n}t=s,s=t.parentNode}return null}function Aa(t){if(t=t[he]||t[xa]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function Ms(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(r(33))}function wa(t){var n=t[Dh];return n||(n=t[Dh]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function le(t){t[Cs]=!0}var Lh=new Set,Oh={};function ki(t,n){Ea(t,n),Ea(t+"Capture",n)}function Ea(t,n){for(Oh[t]=n,t=0;t<n.length;t++)Lh.add(n[t])}var Wx=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
9037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Nh={},jh={};function t1(t){return Bi.call(jh,t)?!0:Bi.call(Nh,t)?!1:Wx.test(t)?jh[t]=!0:(Nh[t]=!0,!1)}function to(t,n,s){if(t1(n))if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+s)}}function eo(t,n,s){if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+s)}}function Mn(t,n,s,o){if(o===null)t.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(n,s,""+o)}}function Ke(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function zh(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function e1(t,n,s){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,f=o.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return u.call(this)},set:function(v){s=""+v,f.call(this,v)}}),Object.defineProperty(t,n,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(v){s=""+v},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function mu(t){if(!t._valueTracker){var n=zh(t)?"checked":"value";t._valueTracker=e1(t,n,""+t[n])}}function Ph(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var s=n.getValue(),o="";return t&&(o=zh(t)?t.checked?"true":"false":t.value),t=o,t!==s?(n.setValue(t),!0):!1}function no(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var n1=/[\n"\\]/g;function Qe(t){return t.replace(n1,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function pu(t,n,s,o,u,f,v,x){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),n!=null?v==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+Ke(n)):t.value!==""+Ke(n)&&(t.value=""+Ke(n)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),n!=null?gu(t,v,Ke(n)):s!=null?gu(t,v,Ke(s)):o!=null&&t.removeAttribute("value"),u==null&&f!=null&&(t.defaultChecked=!!f),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.name=""+Ke(x):t.removeAttribute("name")}function Vh(t,n,s,o,u,f,v,x){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),n!=null||s!=null){if(!(f!=="submit"&&f!=="reset"||n!=null)){mu(t);return}s=s!=null?""+Ke(s):"",n=n!=null?""+Ke(n):s,x||n===t.value||(t.value=n),t.defaultValue=n}o=o??u,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=x?t.checked:!!o,t.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v),mu(t)}function gu(t,n,s){n==="number"&&no(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function Ra(t,n,s,o){if(t=t.options,n){n={};for(var u=0;u<s.length;u++)n["$"+s[u]]=!0;for(s=0;s<t.length;s++)u=n.hasOwnProperty("$"+t[s].value),t[s].selected!==u&&(t[s].selected=u),u&&o&&(t[s].defaultSelected=!0)}else{for(s=""+Ke(s),n=null,u=0;u<t.length;u++){if(t[u].value===s){t[u].selected=!0,o&&(t[u].defaultSelected=!0);return}n!==null||t[u].disabled||(n=t[u])}n!==null&&(n.selected=!0)}}function Bh(t,n,s){if(n!=null&&(n=""+Ke(n),n!==t.value&&(t.value=n),s==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=s!=null?""+Ke(s):""}function Uh(t,n,s,o){if(n==null){if(o!=null){if(s!=null)throw Error(r(92));if(gt(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),n=s}s=Ke(n),t.defaultValue=s,o=t.textContent,o===s&&o!==""&&o!==null&&(t.value=o),mu(t)}function _a(t,n){if(n){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=n;return}}t.textContent=n}var i1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
vendor: 4,619 bytes, line 9
9function kh(t,n,s){var o=n.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,s):typeof s!="number"||s===0||i1.has(n)?n==="float"?t.cssFloat=s:t[n]=(""+s).trim():t[n]=s+"px"}function Hh(t,n,s){if(n!=null&&typeof n!="object")throw Error(r(62));if(t=t.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var u in n)o=n[u],n.hasOwnProperty(u)&&s[u]!==o&&kh(t,u,o)}else for(var f in n)n.hasOwnProperty(f)&&kh(t,f,n[f])}function yu(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var a1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),s1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function io(t){return s1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Dn(){}var vu=null;function bu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ca=null,Ma=null;function Ih(t){var n=Aa(t);if(n&&(t=n.stateNode)){var s=t[Re]||null;t:switch(t=n.stateNode,n.type){case"input":if(pu(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),n=s.name,s.type==="radio"&&n!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Qe(""+n)+'"][type="radio"]'),n=0;n<s.length;n++){var o=s[n];if(o!==t&&o.form===t.form){var u=o[Re]||null;if(!u)throw Error(r(90));pu(o,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(n=0;n<s.length;n++)o=s[n],o.form===t.form&&Ph(o)}break t;case"textarea":Bh(t,s.value,s.defaultValue);break t;
vendor: 9,354 bytes, line 9
9case"select":n=s.value,n!=null&&Ra(t,!!s.multiple,n,!1)}}}var Su=!1;function qh(t,n,s){if(Su)return t(n,s);Su=!0;try{var o=t(n);return o}finally{if(Su=!1,(Ca!==null||Ma!==null)&&(Go(),Ca&&(n=Ca,t=Ma,Ma=Ca=null,Ih(n),t)))for(n=0;n<t.length;n++)Ih(t[n])}}function Ds(t,n){var s=t.stateNode;if(s===null)return null;var o=s[Re]||null;if(o===null)return null;s=o[n];t:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,n,typeof s));return s}var Ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xu=!1;if(Ln)try{var Ls={};Object.defineProperty(Ls,"passive",{get:function(){xu=!0}}),window.addEventListener("test",Ls,Ls),window.removeEventListener("test",Ls,Ls)}catch{xu=!1}var ti=null,Tu=null,ao=null;function Yh(){if(ao)return ao;var t,n=Tu,s=n.length,o,u="value"in ti?ti.value:ti.textContent,f=u.length;for(t=0;t<s&&n[t]===u[t];t++);var v=s-t;for(o=1;o<=v&&n[s-o]===u[f-o];o++);return ao=u.slice(t,1<o?1-o:void 0)}function so(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function ro(){return!0}function Gh(){return!1}function _e(t){function n(s,o,u,f,v){this._reactName=s,this._targetInst=u,this.type=o,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var x in t)t.hasOwnProperty(x)&&(s=t[x],this[x]=s?s(f):f[x]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ro:Gh,this.isPropagationStopped=Gh,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=ro)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=ro)},persist:function(){},isPersistent:ro}),n}var Hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oo=_e(Hi),Os=y({},Hi,{view:0,detail:0}),r1=_e(Os),Au,wu,Ns,lo=y({},Os,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ru,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ns&&(Ns&&t.type==="mousemove"?(Au=t.screenX-Ns.screenX,wu=t.screenY-Ns.screenY):wu=Au=0,Ns=t),Au)},movementY:function(t){return"movementY"in t?t.movementY:wu}}),Fh=_e(lo),o1=y({},lo,{dataTransfer:0}),l1=_e(o1),u1=y({},Os,{relatedTarget:0}),Eu=_e(u1),c1=y({},Hi,{animationName:0,elapsedTime:0,pseudoElement:0}),f1=_e(c1),d1=y({},Hi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),h1=_e(d1),m1=y({},Hi,{data:0}),Xh=_e(m1),p1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},g1={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},y1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function v1(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=y1[t])?!!n[t]:!1}function Ru(){return v1}var b1=y({},Os,{key:function(t){if(t.key){var n=p1[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=so(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?g1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ru,charCode:function(t){return t.type==="keypress"?so(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?so(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),S1=_e(b1),x1=y({},lo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kh=_e(x1),T1=y({},Os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ru}),A1=_e(T1),w1=y({},Hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),E1=_e(w1),R1=y({},lo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),_1=_e(R1),C1=y({},Hi,{newState:0,oldState:0}),M1=_e(C1),D1=[9,13,27,32],_u=Ln&&"CompositionEvent"in window,js=null;Ln&&"documentMode"in document&&(js=document.documentMode);var L1=Ln&&"TextEvent"in window&&!js,Qh=Ln&&(!_u||js&&8<js&&11>=js),Zh=" ",Jh=!1;function $h(t,n){switch(t){case"keyup":return D1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Da=!1;function O1(t,n){switch(t){case"compositionend":return Wh(n);case"keypress":return n.which!==32?null:(Jh=!0,Zh);case"textInput":return t=n.data,t===Zh&&Jh?null:t;default:return null}}function N1(t,n){if(Da)return t==="compositionend"||!_u&&$h(t,n)?(t=Yh(),ao=Tu=ti=null,Da=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Qh&&n.locale!=="ko"?null:n.data;default:return null}}var j1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tm(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!j1[t.type]:n==="textarea"}function em(t,n,s,o){Ca?Ma?Ma.push(o):Ma=[o]:Ca=o,n=$o(n,"onChange"),0<n.length&&(s=new oo("onChange","change",null,s,o),t.push({event:s,listeners:n}))}var zs=null,Ps=null;function z1(t){Vg(t,0)}function uo(t){var n=Ms(t);if(Ph(n))return t}function nm(t,n){if(t==="change")return n}var im=!1;if(Ln){var Cu;if(Ln){var Mu="oninput"in document;if(!Mu){var am=document.createElement("div");am.setAttribute("oninput","return;"),Mu=typeof am.oninput=="function"}Cu=Mu}else Cu=!1;im=Cu&&(!document.documentMode||9<document.documentMode)}function sm(){zs&&(zs.detachEvent("onpropertychange",rm),Ps=zs=null)}function rm(t){if(t.propertyName==="value"&&uo(Ps)){var n=[];em(n,Ps,t,bu(t)),qh(z1,n)}}function P1(t,n,s){t==="focusin"?(sm(),zs=n,Ps=s,zs.attachEvent("onpropertychange",rm)):t==="focusout"&&sm()}function V1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return uo(Ps)}function B1(t,n){if(t==="click")return uo(n)}function U1(t,n){if(t==="input"||t==="change")return uo(n)}function k1(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Ue=typeof Object.is=="function"?Object.is:k1;function Vs(t,n){if(Ue(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var s=Object.keys(t),o=Object.keys(n);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var u=s[o];if(!Bi.call(n,u)||!Ue(t[u],n[u]))return!1}return!0}function om(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function lm(t,n){var s=om(t);t=0;for(var o;s;){if(s.nodeType===3){if(o=t+s.textContent.length,t<=n&&o>=n)return{node:s,offset:n-t};t=o}t:{for(;s;){if(s.nextSibling){s=s.nextSibling;break t}s=s.parentNode}s=void 0}s=om(s)}}function um(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?um(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function cm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=no(t.document);n instanceof t.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)t=n.contentWindow;else break;n=no(t.document)}return n}function Du(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var H1=Ln&&"documentMode"in document&&11>=document.documentMode,La=null,Lu=null,Bs=null,Ou=!1;function fm(t,n,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Ou||La==null||La!==no(o)||(o=La,"selectionStart"in o&&Du(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
vendor: 15,007 bytes, line 9
9sNode:o.focusNode,focusOffset:o.focusOffset}),Bs&&Vs(Bs,o)||(Bs=o,o=$o(Lu,"onSelect"),0<o.length&&(n=new oo("onSelect","select",null,n,s),t.push({event:n,listeners:o}),n.target=La)))}function Ii(t,n){var s={};return s[t.toLowerCase()]=n.toLowerCase(),s["Webkit"+t]="webkit"+n,s["Moz"+t]="moz"+n,s}var Oa={animationend:Ii("Animation","AnimationEnd"),animationiteration:Ii("Animation","AnimationIteration"),animationstart:Ii("Animation","AnimationStart"),transitionrun:Ii("Transition","TransitionRun"),transitionstart:Ii("Transition","TransitionStart"),transitioncancel:Ii("Transition","TransitionCancel"),transitionend:Ii("Transition","TransitionEnd")},Nu={},dm={};Ln&&(dm=document.createElement("div").style,"AnimationEvent"in window||(delete Oa.animationend.animation,delete Oa.animationiteration.animation,delete Oa.animationstart.animation),"TransitionEvent"in window||delete Oa.transitionend.transition);function qi(t){if(Nu[t])return Nu[t];if(!Oa[t])return t;var n=Oa[t],s;for(s in n)if(n.hasOwnProperty(s)&&s in dm)return Nu[t]=n[s];return t}var hm=qi("animationend"),mm=qi("animationiteration"),pm=qi("animationstart"),I1=qi("transitionrun"),q1=qi("transitionstart"),Y1=qi("transitioncancel"),gm=qi("transitionend"),ym=new Map,ju="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ju.push("scrollEnd");function ln(t,n){ym.set(t,n),ki(n,[t])}var co=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ze=[],Na=0,zu=0;function fo(){for(var t=Na,n=zu=Na=0;n<t;){var s=Ze[n];Ze[n++]=null;var o=Ze[n];Ze[n++]=null;var u=Ze[n];Ze[n++]=null;var f=Ze[n];if(Ze[n++]=null,o!==null&&u!==null){var v=o.pending;v===null?u.next=u:(u.next=v.next,v.next=u),o.pending=u}f!==0&&vm(s,u,f)}}function ho(t,n,s,o){Ze[Na++]=t,Ze[Na++]=n,Ze[Na++]=s,Ze[Na++]=o,zu|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Pu(t,n,s,o){return ho(t,n,s,o),mo(t)}function Yi(t,n){return ho(t,null,null,n),mo(t)}function vm(t,n,s){t.lanes|=s;var o=t.alternate;o!==null&&(o.lanes|=s);for(var u=!1,f=t.return;f!==null;)f.childLanes|=s,o=f.alternate,o!==null&&(o.childLanes|=s),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(u=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,u&&n!==null&&(u=31-Be(s),t=f.hiddenUpdates,o=t[u],o===null?t[u]=[n]:o.push(n),n.lane=s|536870912),f):null}function mo(t){if(50<rr)throw rr=0,Gc=null,Error(r(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var ja={};function G1(t,n,s,o){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ke(t,n,s,o){return new G1(t,n,s,o)}function Vu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function On(t,n){var s=t.alternate;return s===null?(s=ke(t.tag,n,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=n,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&65011712,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,n=t.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}function bm(t,n){t.flags&=65011714;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,n=s.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function po(t,n,s,o,u,f){var v=0;if(o=t,typeof t=="function")Vu(t)&&(v=1);else if(typeof t=="string")v=ZT(t,s,nt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Q:return t=ke(31,s,n,u),t.elementType=Q,t.lanes=f,t;case C:return Gi(s.children,u,f,n);case w:v=8,u|=24;break;case _:return t=ke(12,s,n,u|2),t.elementType=_,t.lanes=f,t;case X:return t=ke(13,s,n,u),t.elementType=X,t.lanes=f,t;case J:return t=ke(19,s,n,u),t.elementType=J,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case O:v=10;break t;case j:v=9;break t;case z:v=11;break t;case H:v=14;break t;case Y:v=16,o=null;break t}v=29,s=Error(r(130,t===null?"null":typeof t,"")),o=null}return n=ke(v,s,n,u),n.elementType=t,n.type=o,n.lanes=f,n}function Gi(t,n,s,o){return t=ke(7,t,o,n),t.lanes=s,t}function Bu(t,n,s){return t=ke(6,t,null,n),t.lanes=s,t}function Sm(t){var n=ke(18,null,null,0);return n.stateNode=t,n}function Uu(t,n,s){return n=ke(4,t.children!==null?t.children:[],t.key,n),n.lanes=s,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var xm=new WeakMap;function Je(t,n){if(typeof t=="object"&&t!==null){var s=xm.get(t);return s!==void 0?s:(n={value:t,source:n,stack:Cn(n)},xm.set(t,n),n)}return{value:t,source:n,stack:Cn(n)}}var za=[],Pa=0,go=null,Us=0,$e=[],We=0,ei=null,gn=1,yn="";function Nn(t,n){za[Pa++]=Us,za[Pa++]=go,go=t,Us=n}function Tm(t,n,s){$e[We++]=gn,$e[We++]=yn,$e[We++]=ei,ei=t;var o=gn;t=yn;var u=32-Be(o)-1;o&=~(1<<u),s+=1;var f=32-Be(n)+u;if(30<f){var v=u-u%5;f=(o&(1<<v)-1).toString(32),o>>=v,u-=v,gn=1<<32-Be(n)+u|s<<u|o,yn=f+t}else gn=1<<f|s<<u|o,yn=t}function ku(t){t.return!==null&&(Nn(t,1),Tm(t,1,0))}function Hu(t){for(;t===go;)go=za[--Pa],za[Pa]=null,Us=za[--Pa],za[Pa]=null;for(;t===ei;)ei=$e[--We],$e[We]=null,yn=$e[--We],$e[We]=null,gn=$e[--We],$e[We]=null}function Am(t,n){$e[We++]=gn,$e[We++]=yn,$e[We++]=ei,gn=n.id,yn=n.overflow,ei=t}var me=null,kt=null,Tt=!1,ni=null,tn=!1,Iu=Error(r(519));function ii(t){var n=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ks(Je(n,t)),Iu}function wm(t){var n=t.stateNode,s=t.type,o=t.memoizedProps;switch(n[he]=t,n[Re]=o,s){case"dialog":bt("cancel",n),bt("close",n);break;case"iframe":case"object":case"embed":bt("load",n);break;case"video":case"audio":for(s=0;s<lr.length;s++)bt(lr[s],n);break;case"source":bt("error",n);break;case"img":case"image":case"link":bt("error",n),bt("load",n);break;case"details":bt("toggle",n);break;case"input":bt("invalid",n),Vh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":bt("invalid",n);break;case"textarea":bt("invalid",n),Uh(n,o.value,o.defaultValue,o.children)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||n.textContent===""+s||o.suppressHydrationWarning===!0||Hg(n.textContent,s)?(o.popover!=null&&(bt("beforetoggle",n),bt("toggle",n)),o.onScroll!=null&&bt("scroll",n),o.onScrollEnd!=null&&bt("scrollend",n),o.onClick!=null&&(n.onclick=Dn),n=!0):n=!1,n||ii(t,!0)}function Em(t){for(me=t.return;me;)switch(me.tag){case 5:case 31:case 13:tn=!1;return;case 27:case 3:tn=!0;return;default:me=me.return}}function Va(t){if(t!==me)return!1;if(!Tt)return Em(t),Tt=!0,!1;var n=t.tag,s;if((s=n!==3&&n!==27)&&((s=n===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||of(t.type,t.memoizedProps)),s=!s),s&&kt&&ii(t),Em(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));kt=Zg(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));kt=Zg(t)}else n===27?(n=kt,yi(t.type)?(t=df,df=null,kt=t):kt=n):kt=me?nn(t.stateNode.nextSibling):null;return!0}function Fi(){kt=me=null,Tt=!1}function qu(){var t=ni;return t!==null&&(Le===null?Le=t:Le.push.apply(Le,t),ni=null),t}function ks(t){ni===null?ni=[t]:ni.push(t)}var Yu=D(null),Xi=null,jn=null;function ai(t,n,s){tt(Yu,n._currentValue),n._currentValue=s}function zn(t){t._currentValue=Yu.current,G(Yu)}function Gu(t,n,s){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===s)break;t=t.return}}function Fu(t,n,s,o){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var f=u.dependencies;if(f!==null){var v=u.child;f=f.firstContext;t:for(;f!==null;){var x=f;f=u;for(var M=0;M<n.length;M++)if(x.context===n[M]){f.lanes|=s,x=f.alternate,x!==null&&(x.lanes|=s),Gu(f.return,s,t),o||(v=null);break t}f=x.next}}else if(u.tag===18){if(v=u.return,v===null)throw Error(r(341));v.lanes|=s,f=v.alternate,f!==null&&(f.lanes|=s),Gu(v,s,t),v=null}else v=u.child;if(v!==null)v.return=u;else for(v=u;v!==null;){if(v===t){v=null;break}if(u=v.sibling,u!==null){u.return=v.return,v=u;break}v=v.return}u=v}}function Ba(t,n,s,o){t=null;for(var u=n,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var v=u.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var x=u.type;Ue(u.pendingProps.value,v.value)||(t!==null?t.push(x):t=[x])}}else if(u===wt.current){if(v=u.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(hr):t=[hr])}u=u.return}t!==null&&Fu(n,t,s,o),n.flags|=262144}function yo(t){for(t=t.firstContext;t!==null;){if(!Ue(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ki(t){Xi=t,jn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function pe(t){return Rm(Xi,t)}function vo(t,n){return Xi===null&&Ki(t),Rm(t,n)}function Rm(t,n){var s=n._currentValue;if(n={context:n,memoizedValue:s,next:null},jn===null){if(t===null)throw Error(r(308));jn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else jn=jn.next=n;return s}var F1=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(s,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(s){return s()})}},X1=e.unstable_scheduleCallback,K1=e.unstable_NormalPriority,Jt={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xu(){return{controller:new F1,data:new Map,refCount:0}}function Hs(t){t.refCount--,t.refCount===0&&X1(K1,function(){t.controller.abort()})}var Is=null,Ku=0,Ua=0,ka=null;function Q1(t,n){if(Is===null){var s=Is=[];Ku=0,Ua=Jc(),ka={status:"pending",value:void 0,then:function(o){s.push(o)}}}return Ku++,n.then(_m,_m),n}function _m(){if(--Ku===0&&Is!==null){ka!==null&&(ka.status="fulfilled");var t=Is;Is=null,Ua=0,ka=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function Z1(t,n){var s=[],o={status:"pending",value:null,reason:null,then:function(u){s.push(u)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var u=0;u<s.length;u++)(0,s[u])(n)},function(u){for(o.status="rejected",o.reason=u,u=0;u<s.length;u++)(0,s[u])(void 0)}),o}var Cm=U.S;U.S=function(t,n){fg=xe(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&Q1(t,n),Cm!==null&&Cm(t,n)};var Qi=D(null);function Qu(){var t=Qi.current;return t!==null?t:Pt.pooledCache}function bo(t,n){n===null?tt(Qi,Qi.current):tt(Qi,n.pool)}function Mm(){var t=Qu();return t===null?null:{parent:Jt._currentValue,pool:t}}var Ha=Error(r(460)),Zu=Error(r(474)),So=Error(r(542)),xo={then:function(){}};function Dm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Lm(t,n,s){switch(s=t[s],s===void 0?t.push(n):s!==n&&(n.then(Dn,Dn),n=s),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Nm(t),t;default:if(typeof n.status=="string")n.then(Dn,Dn);else{if(t=Pt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var u=n;u.status="fulfilled",u.value=o}},function(o){if(n.status==="pending"){var u=n;u.status="rejected",u.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Nm(t),t}throw Ji=n,Ha}}function Zi(t){try{var n=t._init;return n(t._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ji=s,Ha):s}}var Ji=null;function Om(){if(Ji===null)throw Error(r(459));var t=Ji;return Ji=null,t}function Nm(t){if(t===Ha||t===So)throw Error(r(483))}var Ia=null,qs=0;function To(t){var n=qs;return qs+=1,Ia===null&&(Ia=[]),Lm(Ia,t,n)}function Ys(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function Ao(t,n){throw n.$$typeof===b?Error(r(525)):(t=Object.prototype.toString.call(n),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function jm(t){function n(N,L){if(t){var P=N.deletions;P===null?(N.deletions=[L],N.flags|=16):P.push(L)}}function s(N,L){if(!t)return null;for(;L!==null;)n(N,L),L=L.sibling;return null}function o(N){for(var L=new Map;N!==null;)N.key!==null?L.set(N.key,N):L.set(N.index,N),N=N.sibling;return L}function u(N,L){return N=On(N,L),N.index=0,N.sibling=null,N}function f(N,L,P){return N.index=P,t?(P=N.alternate,P!==null?(P=P.index,P<L?(N.flags|=67108866,L):P):(N.flags|=67108866,L)):(N.flags|=1048576,L)}function v(N){return t&&N.alternate===null&&(N.flags|=67108866),N}function x(N,L,P,q){return L===null||L.tag!==6?(L=Bu(P,N.mode,q),L.return=N,L):(L=u(L,P),L.return=N,L)}function M(N,L,P,q){var ot=P.type;return ot===C?I(N,L,P.props.children,q,P.key):L!==null&&(L.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Y&&Zi(ot)===L.type)?(L=u(L,P.props),Ys(L,P),L.return=N,L):(L=po(P.type,P.key,P.props,null,N.mode,q),Ys(L,P),L.return=N,L)}function V(N,L,P,q){return L===null||L.tag!==4||L.stateNode.containerInfo!==P.containerInfo||L.stateNode.implementation!==P.implementation?(L=Uu(P,N.mode,q),L.return=N,L):(L=u(L,P.children||[]),L.return=N,L)}function I(N,L,P,q,ot){return L===null||L.tag!==7?(L=Gi(P,N.mode,q,ot),L.return=N,L):(L=u(L,P),L.return=N,L)}function F(N,L,P){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return L=Bu(""+L,N.mode,P),L.return=N,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case S:return P=po(L.type,L.
vendor: 7,169 bytes, line 9
9key,L.props,null,N.mode,P),Ys(P,L),P.return=N,P;case A:return L=Uu(L,N.mode,P),L.return=N,L;case Y:return L=Zi(L),F(N,L,P)}if(gt(L)||lt(L))return L=Gi(L,N.mode,P,null),L.return=N,L;if(typeof L.then=="function")return F(N,To(L),P);if(L.$$typeof===O)return F(N,vo(N,L),P);Ao(N,L)}return null}function B(N,L,P,q){var ot=L!==null?L.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return ot!==null?null:x(N,L,""+P,q);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case S:return P.key===ot?M(N,L,P,q):null;case A:return P.key===ot?V(N,L,P,q):null;case Y:return P=Zi(P),B(N,L,P,q)}if(gt(P)||lt(P))return ot!==null?null:I(N,L,P,q,null);if(typeof P.then=="function")return B(N,L,To(P),q);if(P.$$typeof===O)return B(N,L,vo(N,P),q);Ao(N,P)}return null}function k(N,L,P,q,ot){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return N=N.get(P)||null,x(L,N,""+q,ot);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case S:return N=N.get(q.key===null?P:q.key)||null,M(L,N,q,ot);case A:return N=N.get(q.key===null?P:q.key)||null,V(L,N,q,ot);case Y:return q=Zi(q),k(N,L,P,q,ot)}if(gt(q)||lt(q))return N=N.get(P)||null,I(L,N,q,ot,null);if(typeof q.then=="function")return k(N,L,P,To(q),ot);if(q.$$typeof===O)return k(N,L,P,vo(L,q),ot);Ao(L,q)}return null}function it(N,L,P,q){for(var ot=null,Et=null,st=L,mt=L=0,xt=null;st!==null&&mt<P.length;mt++){st.index>mt?(xt=st,st=null):xt=st.sibling;var Rt=B(N,st,P[mt],q);if(Rt===null){st===null&&(st=xt);break}t&&st&&Rt.alternate===null&&n(N,st),L=f(Rt,L,mt),Et===null?ot=Rt:Et.sibling=Rt,Et=Rt,st=xt}if(mt===P.length)return s(N,st),Tt&&Nn(N,mt),ot;if(st===null){for(;mt<P.length;mt++)st=F(N,P[mt],q),st!==null&&(L=f(st,L,mt),Et===null?ot=st:Et.sibling=st,Et=st);return Tt&&Nn(N,mt),ot}for(st=o(st);mt<P.length;mt++)xt=k(st,N,mt,P[mt],q),xt!==null&&(t&&xt.alternate!==null&&st.delete(xt.key===null?mt:xt.key),L=f(xt,L,mt),Et===null?ot=xt:Et.sibling=xt,Et=xt);return t&&st.forEach(function(Ti){return n(N,Ti)}),Tt&&Nn(N,mt),ot}function ut(N,L,P,q){if(P==null)throw Error(r(151));for(var ot=null,Et=null,st=L,mt=L=0,xt=null,Rt=P.next();st!==null&&!Rt.done;mt++,Rt=P.next()){st.index>mt?(xt=st,st=null):xt=st.sibling;var Ti=B(N,st,Rt.value,q);if(Ti===null){st===null&&(st=xt);break}t&&st&&Ti.alternate===null&&n(N,st),L=f(Ti,L,mt),Et===null?ot=Ti:Et.sibling=Ti,Et=Ti,st=xt}if(Rt.done)return s(N,st),Tt&&Nn(N,mt),ot;if(st===null){for(;!Rt.done;mt++,Rt=P.next())Rt=F(N,Rt.value,q),Rt!==null&&(L=f(Rt,L,mt),Et===null?ot=Rt:Et.sibling=Rt,Et=Rt);return Tt&&Nn(N,mt),ot}for(st=o(st);!Rt.done;mt++,Rt=P.next())Rt=k(st,N,mt,Rt.value,q),Rt!==null&&(t&&Rt.alternate!==null&&st.delete(Rt.key===null?mt:Rt.key),L=f(Rt,L,mt),Et===null?ot=Rt:Et.sibling=Rt,Et=Rt);return t&&st.forEach(function(oA){return n(N,oA)}),Tt&&Nn(N,mt),ot}function jt(N,L,P,q){if(typeof P=="object"&&P!==null&&P.type===C&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case S:t:{for(var ot=P.key;L!==null;){if(L.key===ot){if(ot=P.type,ot===C){if(L.tag===7){s(N,L.sibling),q=u(L,P.props.children),q.return=N,N=q;break t}}else if(L.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Y&&Zi(ot)===L.type){s(N,L.sibling),q=u(L,P.props),Ys(q,P),q.return=N,N=q;break t}s(N,L);break}else n(N,L);L=L.sibling}P.type===C?(q=Gi(P.props.children,N.mode,q,P.key),q.return=N,N=q):(q=po(P.type,P.key,P.props,null,N.mode,q),Ys(q,P),q.return=N,N=q)}return v(N);case A:t:{for(ot=P.key;L!==null;){if(L.key===ot)if(L.tag===4&&L.stateNode.containerInfo===P.containerInfo&&L.stateNode.implementation===P.implementation){s(N,L.sibling),q=u(L,P.children||[]),q.return=N,N=q;break t}else{s(N,L);break}else n(N,L);L=L.sibling}q=Uu(P,N.mode,q),q.return=N,N=q}return v(N);case Y:return P=Zi(P),jt(N,L,P,q)}if(gt(P))return it(N,L,P,q);if(lt(P)){if(ot=lt(P),typeof ot!="function")throw Error(r(150));return P=ot.call(P),ut(N,L,P,q)}if(typeof P.then=="function")return jt(N,L,To(P),q);if(P.$$typeof===O)return jt(N,L,vo(N,P),q);Ao(N,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,L!==null&&L.tag===6?(s(N,L.sibling),q=u(L,P),q.return=N,N=q):(s(N,L),q=Bu(P,N.mode,q),q.return=N,N=q),v(N)):s(N,L)}return function(N,L,P,q){try{qs=0;var ot=jt(N,L,P,q);return Ia=null,ot}catch(st){if(st===Ha||st===So)throw st;var Et=ke(29,st,null,N.mode);return Et.lanes=q,Et.return=N,Et}}}var $i=jm(!0),zm=jm(!1),si=!1;function Ju(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $u(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ri(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function oi(t,n,s){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Ct&2)!==0){var u=o.pending;return u===null?n.next=n:(n.next=u.next,u.next=n),o.pending=n,n=mo(t),vm(t,null,s),n}return ho(t,o,n,s),mo(t)}function Gs(t,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,s|=o,n.lanes=s,Rh(t,s)}}function Wu(t,n){var s=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var u=null,f=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};f===null?u=f=v:f=f.next=v,s=s.next}while(s!==null);f===null?u=f=n:f=f.next=n}else u=f=n;s={baseState:o.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=n:t.next=n,s.lastBaseUpdate=n}var tc=!1;function Fs(){if(tc){var t=ka;if(t!==null)throw t}}function Xs(t,n,s,o){tc=!1;var u=t.updateQueue;si=!1;var f=u.firstBaseUpdate,v=u.lastBaseUpdate,x=u.shared.pending;if(x!==null){u.shared.pending=null;var M=x,V=M.next;M.next=null,v===null?f=V:v.next=V,v=M;var I=t.alternate;I!==null&&(I=I.updateQueue,x=I.lastBaseUpdate,x!==v&&(x===null?I.firstBaseUpdate=V:x.next=V,I.lastBaseUpdate=M))}if(f!==null){var F=u.baseState;v=0,I=V=M=null,x=f;do{var B=x.lane&-536870913,k=B!==x.lane;if(k?(St&B)===B:(o&B)===B){B!==0&&B===Ua&&(tc=!0),I!==null&&(I=I.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});t:{var it=t,ut=x;B=n;var jt=s;switch(ut.tag){case 1:if(it=ut.payload,typeof it=="function"){F=it.call(jt,F,B);break t}F=it;break t;case 3:it.flags=it.flags&-65537|128;case 0:if(it=ut.payload,B=typeof it=="function"?it.call(jt,F,B):it,B==null)break t;F=y({},F,B);break t;case 2:si=!0}}B=x.callback,B!==null&&(t.flags|=64,k&&(t.flags|=8192),k=u.callbacks,k===null?u.callbacks=[B]:k.push(B))}else k={lane:B,tag:x.tag,payload:x.payload,callback:x.callback,next:null},I===null?(V=I=k,M=F):I=I.next=k,v|=B;if(x=x.next,x===null){if(x=u.shared.pending,x===null)break;k=x,x=k.next,k.next=null,u.lastBaseUpdate=k,u.shared.pending=null}}while(!0);I===null&&(M=F),u.baseState=M,u.firstBaseUpdate=V,u.lastBaseUpdate=I,f===null&&(u.shared.lanes=0),di|=v,t.lanes=v,t.memoizedState=F}}function Pm(t,n){if(typeof t!="function")throw Error(r(191,t));t.call(n)}function Vm(t,n){var s=t.callbacks;
vendor: 5,299 bytes, line 9
9if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)Pm(s[t],n)}var qa=D(null),wo=D(0);function Bm(t,n){t=Yn,tt(wo,t),tt(qa,n),Yn=t|n.baseLanes}function ec(){tt(wo,Yn),tt(qa,qa.current)}function nc(){Yn=wo.current,G(qa),G(wo)}var He=D(null),en=null;function li(t){var n=t.alternate;tt(Qt,Qt.current&1),tt(He,t),en===null&&(n===null||qa.current!==null||n.memoizedState!==null)&&(en=t)}function ic(t){tt(Qt,Qt.current),tt(He,t),en===null&&(en=t)}function Um(t){t.tag===22?(tt(Qt,Qt.current),tt(He,t),en===null&&(en=t)):ui()}function ui(){tt(Qt,Qt.current),tt(He,He.current)}function Ie(t){G(He),en===t&&(en=null),G(Qt)}var Qt=D(0);function Eo(t){for(var n=t;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||cf(s)||ff(s)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Pn=0,ht=null,Ot=null,$t=null,Ro=!1,Ya=!1,Wi=!1,_o=0,Ks=0,Ga=null,J1=0;function Gt(){throw Error(r(321))}function ac(t,n){if(n===null)return!1;for(var s=0;s<n.length&&s<t.length;s++)if(!Ue(t[s],n[s]))return!1;return!0}function sc(t,n,s,o,u,f){return Pn=f,ht=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,U.H=t===null||t.memoizedState===null?Tp:Sc,Wi=!1,f=s(o,u),Wi=!1,Ya&&(f=Hm(n,s,o,u)),km(t),f}function km(t){U.H=Js;var n=Ot!==null&&Ot.next!==null;if(Pn=0,$t=Ot=ht=null,Ro=!1,Ks=0,Ga=null,n)throw Error(r(300));t===null||Wt||(t=t.dependencies,t!==null&&yo(t)&&(Wt=!0))}function Hm(t,n,s,o){ht=t;var u=0;do{if(Ya&&(Ga=null),Ks=0,Ya=!1,25<=u)throw Error(r(301));if(u+=1,$t=Ot=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}U.H=Ap,f=n(s,o)}while(Ya);return f}function $1(){var t=U.H,n=t.useState()[0];return n=typeof n.then=="function"?Qs(n):n,t=t.useState()[0],(Ot!==null?Ot.memoizedState:null)!==t&&(ht.flags|=1024),n}function rc(){var t=_o!==0;return _o=0,t}function oc(t,n,s){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~s}function lc(t){if(Ro){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Ro=!1}Pn=0,$t=Ot=ht=null,Ya=!1,Ks=_o=0,Ga=null}function Ae(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?ht.memoizedState=$t=t:$t=$t.next=t,$t}function Zt(){if(Ot===null){var t=ht.alternate;t=t!==null?t.memoizedState:null}else t=Ot.next;var n=$t===null?ht.memoizedState:$t.next;if(n!==null)$t=n,Ot=t;else{if(t===null)throw ht.alternate===null?Error(r(467)):Error(r(310));Ot=t,t={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},$t===null?ht.memoizedState=$t=t:$t=$t.next=t}return $t}function Co(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Qs(t){var n=Ks;return Ks+=1,Ga===null&&(Ga=[]),t=Lm(Ga,t,n),n=ht,($t===null?n.memoizedState:$t.next)===null&&(n=n.alternate,U.H=n===null||n.memoizedState===null?Tp:Sc),t}function Mo(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Qs(t);if(t.$$typeof===O)return pe(t)}throw Error(r(438,String(t)))}function uc(t){var n=null,s=ht.updateQueue;if(s!==null&&(n=s.memoCache),n==null){var o=ht.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(u){return u.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),s===null&&(s=Co(),ht.updateQueue=s),s.memoCache=n,s=n.data[n.index],s===void 0)for(s=n.data[n.index]=Array(t),o=0;o<t;o++)s[o]=Z;return n.index++,s}function Vn(t,n){return typeof n=="function"?n(t):n}function Do(t){var n=Zt();return cc(n,Ot,t)}function cc(t,n,s){var o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var u=t.baseQueue,f=o.pending;if(f!==null){if(u!==null){var v=u.next;u.next=f.next,f.next=v}n.baseQueue=u=f,o.pending=null}if(f=t.baseState,u===null)t.memoizedState=f;else{n=u.next;var x=v=null,M=null,V=n,I=!1;do{var F=V.lane&-536870913;if(F!==V.lane?(St&F)===F:(Pn&F)===F){var B=V.revertLane;if(B===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),F===Ua&&(I=!0);else if((Pn&B)===B){V=V.next,B===Ua&&(I=!0);continue}else F={lane:0,revertLane:V.revertLane,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},M===null?(x=M=F,v=f):M=M.next=F,ht.lanes|=B,di|=B;F=V.action,Wi&&s(f,F),f=V.hasEagerState?V.eagerState:s(f,F)}else B={lane:F,revertLane:V.revertLane,gesture:V.gesture,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},M===null?(x=M=B,v=f):M=M.next=B,ht.lanes|=F,di|=F;V=V.next}while(V!==null&&V!==n);if(M===null?v=f:M.next=x,!Ue(f,t.memoizedState)&&(Wt=!0,I&&(s=ka,s!==null)))throw s;t.memoizedState=f,t.baseState=v,t.baseQueue=M,o.lastRenderedState=f}return u===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function fc(t){var n=Zt(),s=n.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;
vendor: 4,227 bytes, line 9
9var o=s.dispatch,u=s.pending,f=n.memoizedState;if(u!==null){s.pending=null;var v=u=u.next;do f=t(f,v.action),v=v.next;while(v!==u);Ue(f,n.memoizedState)||(Wt=!0),n.memoizedState=f,n.baseQueue===null&&(n.baseState=f),s.lastRenderedState=f}return[f,o]}function Im(t,n,s){var o=ht,u=Zt(),f=Tt;if(f){if(s===void 0)throw Error(r(407));s=s()}else s=n();var v=!Ue((Ot||u).memoizedState,s);if(v&&(u.memoizedState=s,Wt=!0),u=u.queue,mc(Gm.bind(null,o,u,t),[t]),u.getSnapshot!==n||v||$t!==null&&$t.memoizedState.tag&1){if(o.flags|=2048,Fa(9,{destroy:void 0},Ym.bind(null,o,u,s,n),null),Pt===null)throw Error(r(349));f||(Pn&127)!==0||qm(o,n,s)}return s}function qm(t,n,s){t.flags|=16384,t={getSnapshot:n,value:s},n=ht.updateQueue,n===null?(n=Co(),ht.updateQueue=n,n.stores=[t]):(s=n.stores,s===null?n.stores=[t]:s.push(t))}function Ym(t,n,s,o){n.value=s,n.getSnapshot=o,Fm(n)&&Xm(t)}function Gm(t,n,s){return s(function(){Fm(n)&&Xm(t)})}function Fm(t){var n=t.getSnapshot;t=t.value;try{var s=n();return!Ue(t,s)}catch{return!0}}function Xm(t){var n=Yi(t,2);n!==null&&Oe(n,t,2)}function dc(t){var n=Ae();if(typeof t=="function"){var s=t;if(t=s(),Wi){$n(!0);try{s()}finally{$n(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:t},n}function Km(t,n,s,o){return t.baseState=s,cc(t,Ot,typeof o=="function"?o:Vn)}function W1(t,n,s,o,u){if(No(t))throw Error(r(485));if(t=n.action,t!==null){var f={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};U.T!==null?s(!0):f.isTransition=!1,o(f),s=n.pending,s===null?(f.next=n.pending=f,Qm(n,f)):(f.next=s.next,n.pending=s.next=f)}}function Qm(t,n){var s=n.action,o=n.payload,u=t.state;if(n.isTransition){var f=U.T,v={};U.T=v;try{var x=s(u,o),M=U.S;M!==null&&M(v,x),Zm(t,n,x)}catch(V){hc(t,n,V)}finally{f!==null&&v.types!==null&&(f.types=v.types),U.T=f}}else try{f=s(u,o),Zm(t,n,f)}catch(V){hc(t,n,V)}}function Zm(t,n,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){Jm(t,n,o)},function(o){return hc(t,n,o)}):Jm(t,n,s)}function Jm(t,n,s){n.status="fulfilled",n.value=s,$m(n),t.state=s,n=t.pending,n!==null&&(s=n.next,s===n?t.pending=null:(s=s.next,n.next=s,Qm(t,s)))}function hc(t,n,s){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=s,$m(n),n=n.next;while(n!==o)}t.action=null}function $m(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Wm(t,n){return n}function tp(t,n){if(Tt){var s=Pt.formState;if(s!==null){t:{var o=ht;if(Tt){if(kt){e:{for(var u=kt,f=tn;u.nodeType!==8;){if(!f){u=null;break e}if(u=nn(u.nextSibling),u===null){u=null;break e}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){kt=nn(u.nextSibling),o=u.data==="F!";break t}}ii(o)}o=!1}o&&(n=s[0])}}return s=Ae(),s.memoizedState=s.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wm,lastRenderedState:n},s.queue=o,s=bp.bind(null,ht,o),o.dispatch=s,o=dc(!1),f=bc.bind(null,ht,!1,o.queue),o=Ae(),u={state:n,dispatch:null,action:t,pending:null},o.queue=u,s=W1.bind(null,ht,u,f,s),u.dispatch=s,o.memoizedState=t,[n,s,!1]}function ep(t){var n=Zt();return np(n,Ot,t)}function np(t,n,s){if(n=cc(t,n,Wm)[0],t=Do(Vn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Qs(n)}catch(v){throw v===Ha?So:v}else o=n;n=Zt();var u=n.queue,f=u.dispatch;return s!==n.memoizedState&&(ht.flags|=2048,Fa(9,{destroy:void 0},tT.bind(null,u,s),null)),[o,f,t]}function tT(t,n){t.action=n}function ip(t){var n=Zt(),s=Ot;if(s!==null)return np(n,s,t);Zt(),n=n.memoizedState,s=Zt();var o=s.queue.dispatch;return s.memoizedState=t,[n,o,!1]}function Fa(t,n,s,o){return t={tag:t,create:s,deps:o,inst:n,next:null},n=ht.updateQueue,n===null&&(n=Co(),ht.updateQueue=n),s=n.lastEffect,s===null?n.lastEffect=t.next=t:(o=s.next,s.next=t,t.next=o,n.lastEffect=t),t}function ap(){return Zt().memoizedState}function Lo(t,n,s,o){var u=Ae();ht.flags|=t,u.memoizedState=Fa(1|n,{destroy:void 0},s,o===void 0?null:o)}function Oo(t,n,s,o){var u=Zt();o=o===void 0?null:o;var f=u.memoizedState.inst;Ot!==null&&o!==null&&ac(o,Ot.memoizedState.deps)?u.memoizedState=Fa(n,f,s,o):(ht.flags|=t,u.memoizedState=Fa(1|
vendor: 4,956 bytes, line 9
9n,f,s,o))}function sp(t,n){Lo(8390656,8,t,n)}function mc(t,n){Oo(2048,8,t,n)}function eT(t){ht.flags|=4;var n=ht.updateQueue;if(n===null)n=Co(),ht.updateQueue=n,n.events=[t];else{var s=n.events;s===null?n.events=[t]:s.push(t)}}function rp(t){var n=Zt().memoizedState;return eT({ref:n,nextImpl:t}),function(){if((Ct&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function op(t,n){return Oo(4,2,t,n)}function lp(t,n){return Oo(4,4,t,n)}function up(t,n){if(typeof n=="function"){t=t();var s=n(t);return function(){typeof s=="function"?s():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function cp(t,n,s){s=s!=null?s.concat([t]):null,Oo(4,4,up.bind(null,n,t),s)}function pc(){}function fp(t,n){var s=Zt();n=n===void 0?null:n;var o=s.memoizedState;return n!==null&&ac(n,o[1])?o[0]:(s.memoizedState=[t,n],t)}function dp(t,n){var s=Zt();n=n===void 0?null:n;var o=s.memoizedState;if(n!==null&&ac(n,o[1]))return o[0];if(o=t(),Wi){$n(!0);try{t()}finally{$n(!1)}}return s.memoizedState=[o,n],o}function gc(t,n,s){return s===void 0||(Pn&1073741824)!==0&&(St&261930)===0?t.memoizedState=n:(t.memoizedState=s,t=hg(),ht.lanes|=t,di|=t,s)}function hp(t,n,s,o){return Ue(s,n)?s:qa.current!==null?(t=gc(t,s,o),Ue(t,n)||(Wt=!0),t):(Pn&42)===0||(Pn&1073741824)!==0&&(St&261930)===0?(Wt=!0,t.memoizedState=s):(t=hg(),ht.lanes|=t,di|=t,n)}function mp(t,n,s,o,u){var f=$.p;$.p=f!==0&&8>f?f:8;var v=U.T,x={};U.T=x,bc(t,!1,n,s);try{var M=u(),V=U.S;if(V!==null&&V(x,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var I=Z1(M,o);Zs(t,n,I,Ge(t))}else Zs(t,n,o,Ge(t))}catch(F){Zs(t,n,{then:function(){},status:"rejected",reason:F},Ge())}finally{$.p=f,v!==null&&x.types!==null&&(v.types=x.types),U.T=v}}function nT(){}function yc(t,n,s,o){if(t.tag!==5)throw Error(r(476));var u=pp(t).queue;mp(t,u,n,et,s===null?nT:function(){return gp(t),s(o)})}function pp(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:et,baseState:et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:et},next:null};var s={};return n.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:s},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function gp(t){var n=pp(t);n.next===null&&(n=t.alternate.memoizedState),Zs(t,n.next.queue,{},Ge())}function vc(){return pe(hr)}function yp(){return Zt().memoizedState}function vp(){return Zt().memoizedState}function iT(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var s=Ge();t=ri(s);var o=oi(n,t,s);o!==null&&(Oe(o,n,s),Gs(o,n,s)),n={cache:Xu()},t.payload=n;return}n=n.return}}function aT(t,n,s){var o=Ge();s={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},No(t)?Sp(n,s):(s=Pu(t,n,s,o),s!==null&&(Oe(s,t,o),xp(s,n,o)))}function bp(t,n,s){var o=Ge();Zs(t,n,s,o)}function Zs(t,n,s,o){var u={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(No(t))Sp(n,u);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=n.lastRenderedReducer,f!==null))try{var v=n.lastRenderedState,x=f(v,s);if(u.hasEagerState=!0,u.eagerState=x,Ue(x,v))return ho(t,n,u,0),Pt===null&&fo(),!1}catch{}if(s=Pu(t,n,u,o),s!==null)return Oe(s,t,o),xp(s,n,o),!0}return!1}function bc(t,n,s,o){if(o={lane:2,revertLane:Jc(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},No(t)){if(n)throw Error(r(479))}else n=Pu(t,s,o,2),n!==null&&Oe(n,t,2)}function No(t){var n=t.alternate;return t===ht||n!==null&&n===ht}function Sp(t,n){Ya=Ro=!0;var s=t.pending;s===null?n.next=n:(n.next=s.next,s.next=n),t.pending=n}function xp(t,n,s){if((s&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,s|=o,n.lanes=s,Rh(t,s)}}var Js={readContext:pe,use:Mo,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt};Js.useEffectEvent=Gt;var Tp={readContext:pe,use:Mo,useCallback:function(t,n){return Ae().memoizedState=[t,n===void 0?null:n],t},useContext:pe,useEffect:sp,useImperativeHandle:function(t,n,s){s=s!=null?s.concat([t]):null,Lo(4194308,4,up.bind(null,n,t),s)},useLayoutEffect:function(t,n){return Lo(4194308,4,t,n)},useInsertionEffect:function(t,n){Lo(4,2,t,n)},useMemo:function(t,n){var s=Ae();n=n===void 0?null:n;var o=t();if(Wi){$n(!0);try{t()}finally{$n(!1)}}return s.memoizedState=[o,n],o},useReducer:function(t,n,s){var o=Ae();if(s!==void 0){var u=s(n);if(Wi){$n(!0);try{s(n)}finally{$n(!1)}}}else u=n;return o.memoizedState=o.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},o.queue=t,t=t.dispatch=aT.bind(null,ht,t),[o.memoizedState,t]}
vendor: 5,679 bytes, line 9
9,useRef:function(t){var n=Ae();return t={current:t},n.memoizedState=t},useState:function(t){t=dc(t);var n=t.queue,s=bp.bind(null,ht,n);return n.dispatch=s,[t.memoizedState,s]},useDebugValue:pc,useDeferredValue:function(t,n){var s=Ae();return gc(s,t,n)},useTransition:function(){var t=dc(!1);return t=mp.bind(null,ht,t.queue,!0,!1),Ae().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,s){var o=ht,u=Ae();if(Tt){if(s===void 0)throw Error(r(407));s=s()}else{if(s=n(),Pt===null)throw Error(r(349));(St&127)!==0||qm(o,n,s)}u.memoizedState=s;var f={value:s,getSnapshot:n};return u.queue=f,sp(Gm.bind(null,o,f,t),[t]),o.flags|=2048,Fa(9,{destroy:void 0},Ym.bind(null,o,f,s,n),null),s},useId:function(){var t=Ae(),n=Pt.identifierPrefix;if(Tt){var s=yn,o=gn;s=(o&~(1<<32-Be(o)-1)).toString(32)+s,n="_"+n+"R_"+s,s=_o++,0<s&&(n+="H"+s.toString(32)),n+="_"}else s=J1++,n="_"+n+"r_"+s.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:vc,useFormState:tp,useActionState:tp,useOptimistic:function(t){var n=Ae();n.memoizedState=n.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=s,n=bc.bind(null,ht,!0,s),s.dispatch=n,[t,n]},useMemoCache:uc,useCacheRefresh:function(){return Ae().memoizedState=iT.bind(null,ht)},useEffectEvent:function(t){var n=Ae(),s={impl:t};return n.memoizedState=s,function(){if((Ct&2)!==0)throw Error(r(440));return s.impl.apply(void 0,arguments)}}},Sc={readContext:pe,use:Mo,useCallback:fp,useContext:pe,useEffect:mc,useImperativeHandle:cp,useInsertionEffect:op,useLayoutEffect:lp,useMemo:dp,useReducer:Do,useRef:ap,useState:function(){return Do(Vn)},useDebugValue:pc,useDeferredValue:function(t,n){var s=Zt();return hp(s,Ot.memoizedState,t,n)},useTransition:function(){var t=Do(Vn)[0],n=Zt().memoizedState;return[typeof t=="boolean"?t:Qs(t),n]},useSyncExternalStore:Im,useId:yp,useHostTransitionStatus:vc,useFormState:ep,useActionState:ep,useOptimistic:function(t,n){var s=Zt();return Km(s,Ot,t,n)},useMemoCache:uc,useCacheRefresh:vp};Sc.useEffectEvent=rp;var Ap={readContext:pe,use:Mo,useCallback:fp,useContext:pe,useEffect:mc,useImperativeHandle:cp,useInsertionEffect:op,useLayoutEffect:lp,useMemo:dp,useReducer:fc,useRef:ap,useState:function(){return fc(Vn)},useDebugValue:pc,useDeferredValue:function(t,n){var s=Zt();return Ot===null?gc(s,t,n):hp(s,Ot.memoizedState,t,n)},useTransition:function(){var t=fc(Vn)[0],n=Zt().memoizedState;return[typeof t=="boolean"?t:Qs(t),n]},useSyncExternalStore:Im,useId:yp,useHostTransitionStatus:vc,useFormState:ip,useActionState:ip,useOptimistic:function(t,n){var s=Zt();return Ot!==null?Km(s,Ot,t,n):(s.baseState=t,[t,s.queue.dispatch])},useMemoCache:uc,useCacheRefresh:vp};Ap.useEffectEvent=rp;function xc(t,n,s,o){n=t.memoizedState,s=s(o,n),s=s==null?n:y({},n,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var Tc={enqueueSetState:function(t,n,s){t=t._reactInternals;var o=Ge(),u=ri(o);u.payload=n,s!=null&&(u.callback=s),n=oi(t,u,o),n!==null&&(Oe(n,t,o),Gs(n,t,o))},enqueueReplaceState:function(t,n,s){t=t._reactInternals;var o=Ge(),u=ri(o);u.tag=1,u.payload=n,s!=null&&(u.callback=s),n=oi(t,u,o),n!==null&&(Oe(n,t,o),Gs(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var s=Ge(),o=ri(s);o.tag=2,n!=null&&(o.callback=n),n=oi(t,o,s),n!==null&&(Oe(n,t,s),Gs(n,t,s))}};function wp(t,n,s,o,u,f,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,f,v):n.prototype&&n.prototype.isPureReactComponent?!Vs(s,o)||!Vs(u,f):!0}function Ep(t,n,s,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,o),n.state!==t&&Tc.enqueueReplaceState(n,n.state,null)}function ta(t,n){var s=n;if("ref"in n){s={};for(var o in n)o!=="ref"&&(s[o]=n[o])}if(t=t.defaultProps){s===n&&(s=y({},s));for(var u in t)s[u]===void 0&&(s[u]=t[u])}return s}function Rp(t){co(t)}function _p(t){console.error(t)}function Cp(t){co(t)}function jo(t,n){try{var s=t.onUncaughtError;s(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Mp(t,n,s){try{var o=t.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Ac(t,n,s){return s=ri(s),s.tag=3,s.payload={element:null},s.callback=function(){jo(t,n)},s}function Dp(t){return t=ri(t),t.tag=3,t}function Lp(t,n,s,o){var u=s.type.getDerivedStateFromError;if(typeof u=="function"){var f=o.value;t.payload=function(){return u(f)},t.callback=function(){Mp(n,s,o)}}var v=s.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){Mp(n,s,o),typeof u!="function"&&(hi===null?hi=new Set([this]):hi.add(this));var x=o.stack;this.componentDidCatch(o.value,{componentStack:x!==null?x:""})})}function sT(t,n,s,o,u){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=s.alternate,n!==null&&Ba(n,s,u,!0),s=He.current,s!==null){switch(s.tag){case 31:case 13:return en===null?Fo():s.alternate===null&&Ft===0&&(Ft=3),s.flags&=-257,s.flags|=65536,s.lanes=u,o===xo?s.flags|=16384:(n=s.updateQueue,n===null?s.updateQueue=new Set([o]):n.add(o),Kc(t,o,u)),!1;case 22:return s.flags|=65536,o===xo?s.flags|=16384:(n=s.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=n):(s=n.retryQueue,s===null?n.retryQueue=new Set([o]):s.add(o)),Kc(t,o,u)),!1}throw Error(r(435,s.tag))}return Kc(t,o,u),Fo(),!1}if(Tt)return n=He.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=u,o!==Iu&&(t=Error(r(422),{cause:o}
vendor: 5,149 bytes, line 9
9),ks(Je(t,s)))):(o!==Iu&&(n=Error(r(423),{cause:o}),ks(Je(n,s))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,o=Je(o,s),u=Ac(t.stateNode,o,u),Wu(t,u),Ft!==4&&(Ft=2)),!1;var f=Error(r(520),{cause:o});if(f=Je(f,s),sr===null?sr=[f]:sr.push(f),Ft!==4&&(Ft=2),n===null)return!0;o=Je(o,s),s=n;do{switch(s.tag){case 3:return s.flags|=65536,t=u&-u,s.lanes|=t,t=Ac(s.stateNode,o,t),Wu(s,t),!1;case 1:if(n=s.type,f=s.stateNode,(s.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(hi===null||!hi.has(f))))return s.flags|=65536,u&=-u,s.lanes|=u,u=Dp(u),Lp(u,t,s,o),Wu(s,u),!1}s=s.return}while(s!==null);return!1}var wc=Error(r(461)),Wt=!1;function ge(t,n,s,o){n.child=t===null?zm(n,null,s,o):$i(n,t.child,s,o)}function Op(t,n,s,o,u){s=s.render;var f=n.ref;if("ref"in o){var v={};for(var x in o)x!=="ref"&&(v[x]=o[x])}else v=o;return Ki(n),o=sc(t,n,s,v,f,u),x=rc(),t!==null&&!Wt?(oc(t,n,u),Bn(t,n,u)):(Tt&&x&&ku(n),n.flags|=1,ge(t,n,o,u),n.child)}function Np(t,n,s,o,u){if(t===null){var f=s.type;return typeof f=="function"&&!Vu(f)&&f.defaultProps===void 0&&s.compare===null?(n.tag=15,n.type=f,jp(t,n,f,o,u)):(t=po(s.type,null,o,n,n.mode,u),t.ref=n.ref,t.return=n,n.child=t)}if(f=t.child,!Oc(t,u)){var v=f.memoizedProps;if(s=s.compare,s=s!==null?s:Vs,s(v,o)&&t.ref===n.ref)return Bn(t,n,u)}return n.flags|=1,t=On(f,o),t.ref=n.ref,t.return=n,n.child=t}function jp(t,n,s,o,u){if(t!==null){var f=t.memoizedProps;if(Vs(f,o)&&t.ref===n.ref)if(Wt=!1,n.pendingProps=o=f,Oc(t,u))(t.flags&131072)!==0&&(Wt=!0);else return n.lanes=t.lanes,Bn(t,n,u)}return Ec(t,n,s,o,u)}function zp(t,n,s,o){var u=o.children,f=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(f=f!==null?f.baseLanes|s:s,t!==null){for(o=n.child=t.child,u=0;o!==null;)u=u|o.lanes|o.childLanes,o=o.sibling;o=u&~f}else o=0,n.child=null;return Pp(t,n,f,s,o)}if((s&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&bo(n,f!==null?f.cachePool:null),f!==null?Bm(n,f):ec(),Um(n);else return o=n.lanes=536870912,Pp(t,n,f!==null?f.baseLanes|s:s,s,o)}else f!==null?(bo(n,f.cachePool),Bm(n,f),ui(),n.memoizedState=null):(t!==null&&bo(n,null),ec(),ui());return ge(t,n,u,s),n.child}function $s(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function Pp(t,n,s,o,u){var f=Qu();return f=f===null?null:{parent:Jt._currentValue,pool:f},n.memoizedState={baseLanes:s,cachePool:f},t!==null&&bo(n,null),ec(),Um(n),t!==null&&Ba(t,n,o,!0),n.childLanes=u,null}function zo(t,n){return n=Vo({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function Vp(t,n,s){return $i(n,t.child,null,s),t=zo(n,n.pendingProps),t.flags|=2,Ie(n),n.memoizedState=null,t}function rT(t,n,s){var o=n.pendingProps,u=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(Tt){if(o.mode==="hidden")return t=zo(n,o),n.lanes=536870912,$s(null,t);if(ic(n),(t=kt)?(t=Qg(t,tn),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:ei!==null?{id:gn,overflow:yn}:null,retryLane:536870912,hydrationErrors:null},s=Sm(t),s.return=n,n.child=s,me=n,kt=null)):t=null,t===null)throw ii(n);return n.lanes=536870912,null}return zo(n,o)}var f=t.memoizedState;if(f!==null){var v=f.dehydrated;if(ic(n),u)if(n.flags&256)n.flags&=-257,n=Vp(t,n,s);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(r(558));else if(Wt||Ba(t,n,s,!1),u=(s&t.childLanes)!==0,Wt||u){if(o=Pt,o!==null&&(v=_h(o,s),v!==0&&v!==f.retryLane))throw f.retryLane=v,Yi(t,v),Oe(o,t,v),wc;Fo(),n=Vp(t,n,s)}else t=f.treeContext,kt=nn(v.nextSibling),me=n,Tt=!0,ni=null,tn=!1,t!==null&&Am(n,t),n=zo(n,o),n.flags|=4096;return n}return t=On(t.child,{mode:o.mode,children:o.children}),t.ref=n.ref,n.child=t,t.return=n,t}function Po(t,n){var s=n.ref;if(s===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(t===null||t.ref!==s)&&(n.flags|=4194816)}}function Ec(t,n,s,o,u){return Ki(n),s=sc(t,n,s,o,void 0,u),o=rc(),t!==null&&!Wt?(oc(t,n,u),Bn(t,n,u)):(Tt&&o&&ku(n),n.flags|=1,ge(t,n,s,u),n.child)}function Bp(t,n,s,o,u,f){return Ki(n),n.updateQueue=null,s=Hm(n,o,s,u),km(t),o=rc(),t!==null&&!Wt?(oc(t,n,f),Bn(t,n,f)):(Tt&&o&&ku(n),n.flags|=1,ge(t,n,s,f),n.child)}function Up(t,n,s,o,u){if(Ki(n),n.stateNode===null){var f=ja,v=s.contextType;typeof v=="object"&&v!==null&&(f=pe(v)),f=new s(o,f),n.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Tc,n.stateNode=f,f._reactInternals=n,f=n.stateNode,f.props=o,f.state=n.memoizedState,f.refs={},Ju(n),v=s.contextType,f.context=typeof v=="object"&&v!==null?pe(v):ja,f.state=n.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(xc(n,s,v,o),f.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.
vendor: 3,154 bytes, line 9
9state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&Tc.enqueueReplaceState(f,f.state,null),Xs(n,o,f,u),Fs(),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){f=n.stateNode;var x=n.memoizedProps,M=ta(s,x);f.props=M;var V=f.context,I=s.contextType;v=ja,typeof I=="object"&&I!==null&&(v=pe(I));var F=s.getDerivedStateFromProps;I=typeof F=="function"||typeof f.getSnapshotBeforeUpdate=="function",x=n.pendingProps!==x,I||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(x||V!==v)&&Ep(n,f,o,v),si=!1;var B=n.memoizedState;f.state=B,Xs(n,o,f,u),Fs(),V=n.memoizedState,x||B!==V||si?(typeof F=="function"&&(xc(n,s,F,o),V=n.memoizedState),(M=si||wp(n,s,M,o,B,V,v))?(I||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(n.flags|=4194308)):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=V),f.props=o,f.state=V,f.context=v,o=M):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{f=n.stateNode,$u(t,n),v=n.memoizedProps,I=ta(s,v),f.props=I,F=n.pendingProps,B=f.context,V=s.contextType,M=ja,typeof V=="object"&&V!==null&&(M=pe(V)),x=s.getDerivedStateFromProps,(V=typeof x=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==F||B!==M)&&Ep(n,f,o,M),si=!1,B=n.memoizedState,f.state=B,Xs(n,o,f,u),Fs();var k=n.memoizedState;v!==F||B!==k||si||t!==null&&t.dependencies!==null&&yo(t.dependencies)?(typeof x=="function"&&(xc(n,s,x,o),k=n.memoizedState),(I=si||wp(n,s,I,o,B,k,M)||t!==null&&t.dependencies!==null&&yo(t.dependencies))?(V||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,k,M),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,k,M)),typeof f.componentDidUpdate=="function"&&(n.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&B===t.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&B===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=k),f.props=o,f.state=k,f.context=M,o=I):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&B===t.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&B===t.memoizedState||(n.flags|=1024),o=!1)}return f=o,Po(t,n),o=(n.flags&128)!==0,f||o?(f=n.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:f.render(),n.flags|=1,t!==null&&o?(n.child=$i(n,t.child,null,u),n.child=$i(n,null,s,u)):ge(t,n,s,u),n.memoizedState=f.state,t=n.child):t=Bn(t,n,u),t}
vendor: 5,724 bytes, line 9
9function kp(t,n,s,o){return Fi(),n.flags|=256,ge(t,n,s,o),n.child}var Rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _c(t){return{baseLanes:t,cachePool:Mm()}}function Cc(t,n,s){return t=t!==null?t.childLanes&~s:0,n&&(t|=Ye),t}function Hp(t,n,s){var o=n.pendingProps,u=!1,f=(n.flags&128)!==0,v;if((v=f)||(v=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),v&&(u=!0,n.flags&=-129),v=(n.flags&32)!==0,n.flags&=-33,t===null){if(Tt){if(u?li(n):ui(),(t=kt)?(t=Qg(t,tn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:ei!==null?{id:gn,overflow:yn}:null,retryLane:536870912,hydrationErrors:null},s=Sm(t),s.return=n,n.child=s,me=n,kt=null)):t=null,t===null)throw ii(n);return ff(t)?n.lanes=32:n.lanes=536870912,null}var x=o.children;return o=o.fallback,u?(ui(),u=n.mode,x=Vo({mode:"hidden",children:x},u),o=Gi(o,u,s,null),x.return=n,o.return=n,x.sibling=o,n.child=x,o=n.child,o.memoizedState=_c(s),o.childLanes=Cc(t,v,s),n.memoizedState=Rc,$s(null,o)):(li(n),Mc(n,x))}var M=t.memoizedState;if(M!==null&&(x=M.dehydrated,x!==null)){if(f)n.flags&256?(li(n),n.flags&=-257,n=Dc(t,n,s)):n.memoizedState!==null?(ui(),n.child=t.child,n.flags|=128,n=null):(ui(),x=o.fallback,u=n.mode,o=Vo({mode:"visible",children:o.children},u),x=Gi(x,u,s,null),x.flags|=2,o.return=n,x.return=n,o.sibling=x,n.child=o,$i(n,t.child,null,s),o=n.child,o.memoizedState=_c(s),o.childLanes=Cc(t,v,s),n.memoizedState=Rc,n=$s(null,o));else if(li(n),ff(x)){if(v=x.nextSibling&&x.nextSibling.dataset,v)var V=v.dgst;v=V,o=Error(r(419)),o.stack="",o.digest=v,ks({value:o,source:null,stack:null}),n=Dc(t,n,s)}else if(Wt||Ba(t,n,s,!1),v=(s&t.childLanes)!==0,Wt||v){if(v=Pt,v!==null&&(o=_h(v,s),o!==0&&o!==M.retryLane))throw M.retryLane=o,Yi(t,o),Oe(v,t,o),wc;cf(x)||Fo(),n=Dc(t,n,s)}else cf(x)?(n.flags|=192,n.child=t.child,n=null):(t=M.treeContext,kt=nn(x.nextSibling),me=n,Tt=!0,ni=null,tn=!1,t!==null&&Am(n,t),n=Mc(n,o.children),n.flags|=4096);return n}return u?(ui(),x=o.fallback,u=n.mode,M=t.child,V=M.sibling,o=On(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&65011712,V!==null?x=On(V,x):(x=Gi(x,u,s,null),x.flags|=2),x.return=n,o.return=n,o.sibling=x,n.child=o,$s(null,o),o=n.child,x=t.child.memoizedState,x===null?x=_c(s):(u=x.cachePool,u!==null?(M=Jt._currentValue,u=u.parent!==M?{parent:M,pool:M}:u):u=Mm(),x={baseLanes:x.baseLanes|s,cachePool:u}),o.memoizedState=x,o.childLanes=Cc(t,v,s),n.memoizedState=Rc,$s(t.child,o)):(li(n),s=t.child,t=s.sibling,s=On(s,{mode:"visible",children:o.children}),s.return=n,s.sibling=null,t!==null&&(v=n.deletions,v===null?(n.deletions=[t],n.flags|=16):v.push(t)),n.child=s,n.memoizedState=null,s)}function Mc(t,n){return n=Vo({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Vo(t,n){return t=ke(22,t,null,n),t.lanes=0,t}function Dc(t,n,s){return $i(n,t.child,null,s),t=Mc(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function Ip(t,n,s){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),Gu(t.return,n,s)}function Lc(t,n,s,o,u,f){var v=t.memoizedState;v===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:u,treeForkCount:f}:(v.isBackwards=n,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=s,v.tailMode=u,v.treeForkCount=f)}function qp(t,n,s){var o=n.pendingProps,u=o.revealOrder,f=o.tail;o=o.children;var v=Qt.current,x=(v&2)!==0;if(x?(v=v&1|2,n.flags|=128):v&=1,tt(Qt,v),ge(t,n,o,s),o=Tt?Us:0,!x&&t!==null&&(t.flags&128)!==0)t:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ip(t,s,n);else if(t.tag===19)Ip(t,s,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break t;for(;t.sibling===null;){if(t.return===null||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(s=n.child,u=null;s!==null;)t=s.alternate,t!==null&&Eo(t)===null&&(u=s),s=s.sibling;s=u,s===null?(u=n.child,n.child=null):(u=s.sibling,s.sibling=null),Lc(n,!1,u,s,f,o);break;case"backwards":case"unstable_legacy-backwards":for(s=null,u=n.child,n.child=null;u!==null;){if(t=u.alternate,t!==null&&Eo(t)===null){n.child=u;break}t=u.sibling,u.sibling=s,s=u,u=t}Lc(n,!0,s,null,f,o);break;case"together":Lc(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function Bn(t,n,s){if(t!==null&&(n.dependencies=t.dependencies),di|=n.lanes,(s&n.childLanes)===0)if(t!==null){if(Ba(t,n,s,!1),(s&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(r(153));if(n.child!==null){for(t=n.child,s=On(t,t.pendingProps),n.child=s,s.return=n;t.sibling!==null;)t=t.sibling,s=s.sibling=On(t,t.pendingProps),s.return=n;s.sibling=null}return n.child}function Oc(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&yo(t)))}function oT(t,n,s){switch(n.tag){case 3:Kt(n,n.stateNode.containerInfo),ai(n,Jt,t.memoizedState.cache),Fi();break;case 27:case 5:Rn(n);break;case 4:Kt(n,n.stateNode.containerInfo);break;case 10:ai(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,ic(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(li(n),n.flags|=128,null):(s&n.child.childLanes)!==0?Hp(t,n,s):(li(n),t=Bn(t,n,s),t!==null?t.sibling:null);li(n);break;case 19:var u=(t.flags&128)!==0;if(o=(s&n.childLanes)!==0,o||(Ba(t,n,s,!1),o=(s&n.childLanes)!==0),u){if(o)return qp(t,n,s);n.flags|=128}if(u=n.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),tt(Qt,Qt.current),o)break;return null;case 22:return n.lanes=0,zp(t,n,s,n.pendingProps);case 24:ai(n,Jt,t.memoizedState.cache)}return Bn(t,n,s)}function Yp(t,n,s){if(t!==null)if(t.memoizedProps!==n.pendingProps)Wt=!0;
vendor: 5,283 bytes, line 9
9else{if(!Oc(t,s)&&(n.flags&128)===0)return Wt=!1,oT(t,n,s);Wt=(t.flags&131072)!==0}else Wt=!1,Tt&&(n.flags&1048576)!==0&&Tm(n,Us,n.index);switch(n.lanes=0,n.tag){case 16:t:{var o=n.pendingProps;if(t=Zi(n.elementType),n.type=t,typeof t=="function")Vu(t)?(o=ta(t,o),n.tag=1,n=Up(null,n,t,o,s)):(n.tag=0,n=Ec(null,n,t,o,s));else{if(t!=null){var u=t.$$typeof;if(u===z){n.tag=11,n=Op(null,n,t,o,s);break t}else if(u===H){n.tag=14,n=Np(null,n,t,o,s);break t}}throw n=At(t)||t,Error(r(306,n,""))}}return n;case 0:return Ec(t,n,n.type,n.pendingProps,s);case 1:return o=n.type,u=ta(o,n.pendingProps),Up(t,n,o,u,s);case 3:t:{if(Kt(n,n.stateNode.containerInfo),t===null)throw Error(r(387));o=n.pendingProps;var f=n.memoizedState;u=f.element,$u(t,n),Xs(n,o,null,s);var v=n.memoizedState;if(o=v.cache,ai(n,Jt,o),o!==f.cache&&Fu(n,[Jt],s,!0),Fs(),o=v.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:v.cache},n.updateQueue.baseState=f,n.memoizedState=f,n.flags&256){n=kp(t,n,o,s);break t}else if(o!==u){u=Je(Error(r(424)),n),ks(u),n=kp(t,n,o,s);break t}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,kt=nn(t.firstChild),me=n,Tt=!0,ni=null,tn=!0,s=zm(n,null,o,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Fi(),o===u){n=Bn(t,n,s);break t}ge(t,n,o,s)}n=n.child}return n;case 26:return Po(t,n),t===null?(s=ey(n.type,null,n.pendingProps,null))?n.memoizedState=s:Tt||(s=n.type,t=n.pendingProps,o=Wo(pt.current).createElement(s),o[he]=n,o[Re]=t,ye(o,s,t),le(o),n.stateNode=o):n.memoizedState=ey(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Rn(n),t===null&&Tt&&(o=n.stateNode=$g(n.type,n.pendingProps,pt.current),me=n,tn=!0,u=kt,yi(n.type)?(df=u,kt=nn(o.firstChild)):kt=u),ge(t,n,n.pendingProps.children,s),Po(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Tt&&((u=o=kt)&&(o=VT(o,n.type,n.pendingProps,tn),o!==null?(n.stateNode=o,me=n,kt=nn(o.firstChild),tn=!1,u=!0):u=!1),u||ii(n)),Rn(n),u=n.type,f=n.pendingProps,v=t!==null?t.memoizedProps:null,o=f.children,of(u,f)?o=null:v!==null&&of(u,v)&&(n.flags|=32),n.memoizedState!==null&&(u=sc(t,n,$1,null,null,s),hr._currentValue=u),Po(t,n),ge(t,n,o,s),n.child;case 6:return t===null&&Tt&&((t=s=kt)&&(s=BT(s,n.pendingProps,tn),s!==null?(n.stateNode=s,me=n,kt=null,t=!0):t=!1),t||ii(n)),null;case 13:return Hp(t,n,s);case 4:return Kt(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=$i(n,null,o,s):ge(t,n,o,s),n.child;case 11:return Op(t,n,n.type,n.pendingProps,s);case 7:return ge(t,n,n.pendingProps,s),n.child;case 8:return ge(t,n,n.pendingProps.children,s),n.child;case 12:return ge(t,n,n.pendingProps.children,s),n.child;case 10:return o=n.pendingProps,ai(n,n.type,o.value),ge(t,n,o.children,s),n.child;case 9:return u=n.type._context,o=n.pendingProps.children,Ki(n),u=pe(u),o=o(u),n.flags|=1,ge(t,n,o,s),n.child;case 14:return Np(t,n,n.type,n.pendingProps,s);case 15:return jp(t,n,n.type,n.pendingProps,s);case 19:return qp(t,n,s);case 31:return rT(t,n,s);case 22:return zp(t,n,s,n.pendingProps);case 24:return Ki(n),o=pe(Jt),t===null?(u=Qu(),u===null&&(u=Pt,f=Xu(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=s),u=f),n.memoizedState={parent:o,cache:u},Ju(n),ai(n,Jt,u)):((t.lanes&s)!==0&&($u(t,n),Xs(n,null,null,s),Fs()),u=t.memoizedState,f=n.memoizedState,u.parent!==o?(u={parent:o,cache:o},n.memoizedState=u,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=u),ai(n,Jt,o)):(o=f.cache,ai(n,Jt,o),o!==u.cache&&Fu(n,[Jt],s,!0))),ge(t,n,n.pendingProps.children,s),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Un(t){t.flags|=4}function Nc(t,n,s,o,u){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(yg())t.flags|=8192;else throw Ji=xo,Zu}else t.flags&=-16777217}function Gp(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!ry(n))if(yg())t.flags|=8192;else throw Ji=xo,Zu}function Bo(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?wh():536870912,t.lanes|=n,Za|=n)}function Ws(t,n){if(!Tt)switch(t.tailMode){case"hidden":n=t.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Ht(t){var n=t.alternate!==null&&t.alternate.child===t.child,s=0,o=0;if(n)for(var u=t.child;u!==null;)s|=u.lanes|u.childLanes,o|=u.subtreeFlags&65011712,o|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)s|=u.lanes|u.childLanes,o|=u.subtreeFlags,o|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=o,t.childLanes=s,n}function lT(t,n,s){var o=n.pendingProps;switch(Hu(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(n),null;case 1:return Ht(n),null;case 3:return s=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),zn(Jt),zt(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(Va(n)?Un(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,qu(
vendor: 1,086 bytes, line 9
9))),Ht(n),null;case 26:var u=n.type,f=n.memoizedState;return t===null?(Un(n),f!==null?(Ht(n),Gp(n,f)):(Ht(n),Nc(n,u,null,o,s))):f?f!==t.memoizedState?(Un(n),Ht(n),Gp(n,f)):(Ht(n),n.flags&=-16777217):(t=t.memoizedProps,t!==o&&Un(n),Ht(n),Nc(n,u,t,o,s)),null;case 27:if(_n(n),s=pt.current,u=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ht(n),null}t=nt.current,Va(n)?wm(n):(t=$g(u,o,s),n.stateNode=t,Un(n))}return Ht(n),null;case 5:if(_n(n),u=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ht(n),null}if(f=nt.current,Va(n))wm(n);else{var v=Wo(pt.current);switch(f){case 1:f=v.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:f=v.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":f=v.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":f=v.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":f=v.createElement("div"),f.innerHTML="<script><\/script>
9",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?v.createElement("select",{is:o.is}):v.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?v.createElement(u,{is:o.is}):v.createElement(u)}}f[he]=n,f[Re]=o;t:for(v=n.child;v!==null;){if(v.tag===5||v.tag===6)f.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===n)break t;for(;v.sibling===null;){if(v.return===null||v.return===n)break t;v=v.return}v.sibling.return=v.return,v=v.sibling}n.stateNode=f;t:switch(ye(f,u,o),u){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&Un(n)}}return Ht(n),Nc(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,s),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&Un(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(t=pt.current,Va(n)){if(t=n.stateNode,s=n.memoizedProps,o=null,u=me,u!==null)switch(u.tag){case 27:case 5:o=u.memoizedProps}t[he]=n,t=!!(t.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||Hg(t.nodeValue,s)),t||ii(n,!0)}else t=Wo(t).createTextNode(o),t[he]=n,n.stateNode=t}return Ht(n),null;case 31:if(s=n.memoizedState,t===null||t.memoizedState!==null){if(o=Va(n),s!==null){if(t===null){if(!o)throw Error(r(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[he]=n}else Fi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ht(n),t=!1}else s=qu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),t=!0;if(!t)return n.flags&256?(Ie(n),n):(Ie(n),null);if((n.flags&128)!==0)throw Error(r(558))}return Ht(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Va(n),o!==null&&o.dehydrated!==null){if(t===null){if(!u)throw Error(r(318));if(u=n.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[he]=n}else Fi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ht(n),u=!1}else u=qu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return n.flags&256?(Ie(n),n):(Ie(n),null)}return Ie(n),(n.flags&128)!==0?(n.lanes=s,n):(s=o!==null,t=t!==null&&t.memoizedState!==null,s&&(o=n.child,u=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(u=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==u&&(o.flags|=2048)),s!==t&&s&&(n.child.flags|=8192),Bo(n,n.updateQueue),Ht(n),null);case 4:return zt(),t===null&&ef(n.stateNode.containerInfo),Ht(n),null;case 10:return zn(n.type),Ht(n),null;case 19:if(G(Qt),o=n.memoizedState,o===null)return Ht(n),null;if(u=(n.flags&128)!==0,f=o.rendering,f===null)if(u)Ws(o,!1);else{if(Ft!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(f=Eo(t),f!==null){for(n.flags|=128,Ws(o,!1),t=f.updateQueue,n.updateQueue=t,Bo(n,t),n.subtreeFlags=0,t=s,s=n.child;s!==null;)bm(s,t),s=s.sibling;return tt(Qt,Qt.current&1|2),Tt&&Nn(n,o.treeForkCount),n.child}t=t.sibling}o.tail!==null&&xe()>qo&&(n.flags|=128,u=!0,Ws(o,!1),n.lanes=4194304)}else{if(!u)if(t=Eo(f),t!==null){if(n.flags|=128,u=!0,t=t.updateQueue,n.updateQueue=t,Bo(n,t),Ws(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!Tt)return Ht(n),null}else 2*xe()-o.renderingStartTime>qo&&s!==536870912&&(n.flags|=128,u=!0,Ws(o,!1),n.lanes=4194304);o.isBackwards?(f.sibling=n.child,n.child=f):(t=o.last,t!==null?t.sibling=f:n.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xe(),t.sibling=null,s=Qt.current,tt(Qt,u?s&1|2:s&1),Tt&&Nn(n,o.treeForkCount),t):(Ht(n),null);case 22:case 23:return Ie(n),nc(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(s&536870912)!==0&&(n.flags&128)===0&&(Ht(n),n.subtreeFlags&6&&(n.flags|=8192)):Ht(n),s=n.updateQueue,s!==null&&Bo(n,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==s&&(n.flags|=2048),t!==null&&G(Qi),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),zn(Jt),Ht(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}
vendor: 19,785 bytes, line 9
9function uT(t,n){switch(Hu(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return zn(Jt),zt(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return _n(n),null;case 31:if(n.memoizedState!==null){if(Ie(n),n.alternate===null)throw Error(r(340));Fi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(Ie(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Fi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return G(Qt),null;case 4:return zt(),null;case 10:return zn(n.type),null;case 22:case 23:return Ie(n),nc(),t!==null&&G(Qi),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return zn(Jt),null;case 25:return null;default:return null}}function Fp(t,n){switch(Hu(n),n.tag){case 3:zn(Jt),zt();break;case 26:case 27:case 5:_n(n);break;case 4:zt();break;case 31:n.memoizedState!==null&&Ie(n);break;case 13:Ie(n);break;case 19:G(Qt);break;case 10:zn(n.type);break;case 22:case 23:Ie(n),nc(),t!==null&&G(Qi);break;case 24:zn(Jt)}}function tr(t,n){try{var s=n.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var u=o.next;s=u;do{if((s.tag&t)===t){o=void 0;var f=s.create,v=s.inst;o=f(),v.destroy=o}s=s.next}while(s!==u)}}catch(x){Lt(n,n.return,x)}}function ci(t,n,s){try{var o=n.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next;o=f;do{if((o.tag&t)===t){var v=o.inst,x=v.destroy;if(x!==void 0){v.destroy=void 0,u=n;var M=s,V=x;try{V()}catch(I){Lt(u,M,I)}}}o=o.next}while(o!==f)}}catch(I){Lt(n,n.return,I)}}function Xp(t){var n=t.updateQueue;if(n!==null){var s=t.stateNode;try{Vm(n,s)}catch(o){Lt(t,t.return,o)}}}function Kp(t,n,s){s.props=ta(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(o){Lt(t,n,o)}}function er(t,n){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof s=="function"?t.refCleanup=s(o):s.current=o}}catch(u){Lt(t,n,u)}}function vn(t,n){var s=t.ref,o=t.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(u){Lt(t,n,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(u){Lt(t,n,u)}else s.current=null}function Qp(t){var n=t.type,s=t.memoizedProps,o=t.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break t;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(u){Lt(t,t.return,u)}}function jc(t,n,s){try{var o=t.stateNode;LT(o,t.type,s,n),o[Re]=n}catch(u){Lt(t,t.return,u)}}function Zp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yi(t.type)||t.tag===4}function zc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Zp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&yi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Pc(t,n,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,n):(n=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,n.appendChild(t),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=Dn));else if(o!==4&&(o===27&&yi(t.type)&&(s=t.stateNode,n=null),t=t.child,t!==null))for(Pc(t,n,s),t=t.sibling;t!==null;)Pc(t,n,s),t=t.sibling}function Uo(t,n,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?s.insertBefore(t,n):s.appendChild(t);else if(o!==4&&(o===27&&yi(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(Uo(t,n,s),t=t.sibling;t!==null;)Uo(t,n,s),t=t.sibling}function Jp(t){var n=t.stateNode,s=t.memoizedProps;try{for(var o=t.type,u=n.attributes;u.length;)n.removeAttributeNode(u[0]);ye(n,o,s),n[he]=t,n[Re]=s}catch(f){Lt(t,t.return,f)}}var kn=!1,te=!1,Vc=!1,$p=typeof WeakSet=="function"?WeakSet:Set,ue=null;function cT(t,n){if(t=t.containerInfo,sf=rl,t=cm(t),Du(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else t:{s=(s=t.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var u=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{s.nodeType,f.nodeType}catch{s=null;break t}var v=0,x=-1,M=-1,V=0,I=0,F=t,B=null;e:for(;;){for(var k;F!==s||u!==0&&F.nodeType!==3||(x=v+u),F!==f||o!==0&&F.nodeType!==3||(M=v+o),F.nodeType===3&&(v+=F.nodeValue.length),(k=F.firstChild)!==null;)B=F,F=k;for(;;){if(F===t)break e;if(B===s&&++V===u&&(x=v),B===f&&++I===o&&(M=v),(k=F.nextSibling)!==null)break;F=B,B=F.parentNode}F=k}s=x===-1||M===-1?null:{start:x,end:M}}else s=null}s=s||{start:0,end:0}}else s=null;for(rf={focusedElem:t,selectionRange:s},rl=!1,ue=n;ue!==null;)if(n=ue,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,ue=t;else for(;ue!==null;){switch(n=ue,f=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(s=0;s<t.length;s++)u=t[s],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,s=n,u=f.memoizedProps,f=f.memoizedState,o=s.stateNode;try{var it=ta(s.type,u);t=o.getSnapshotBeforeUpdate(it,f),o.__reactInternalSnapshotBeforeUpdate=t}catch(ut){Lt(s,s.return,ut)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,s=t.nodeType,s===9)uf(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":uf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=n.sibling,t!==null){t.return=n.return,ue=t;break}ue=n.return}}function Wp(t,n,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:In(t,s),o&4&&tr(5,s);break;case 1:if(In(t,s),o&4)if(t=s.stateNode,n===null)try{t.componentDidMount()}catch(v){Lt(s,s.return,v)}else{var u=ta(s.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(u,n,t.__reactInternalSnapshotBeforeUpdate)}catch(v){Lt(s,s.return,v)}}o&64&&Xp(s),o&512&&er(s,s.return);break;case 3:if(In(t,s),o&64&&(t=s.updateQueue,t!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{Vm(t,n)}catch(v){Lt(s,s.return,v)}}break;case 27:n===null&&o&4&&Jp(s);case 26:case 5:In(t,s),n===null&&o&4&&Qp(s),o&512&&er(s,s.return);break;case 12:In(t,s);break;case 31:In(t,s),o&4&&ng(t,s);break;case 13:In(t,s),o&4&&ig(t,s),o&64&&(t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(s=bT.bind(null,s),UT(t,s))));break;case 22:if(o=s.memoizedState!==null||kn,!o){n=n!==null&&n.memoizedState!==null||te,u=kn;var f=te;kn=o,(te=n)&&!f?qn(t,s,(s.subtreeFlags&8772)!==0):In(t,s),kn=u,te=f}break;case 30:break;default:In(t,s)}}function tg(t){var n=t.alternate;n!==null&&(t.alternate=null,tg(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&hu(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var qt=null,Ce=!1;function Hn(t,n,s){for(s=s.child;s!==null;)eg(t,n,s),s=s.sibling}function eg(t,n,s){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(Es,s)}catch{}switch(s.tag){case 26:te||vn(s,n),Hn(t,n,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:te||vn(s,n);var o=qt,u=Ce;yi(s.type)&&(qt=s.stateNode,Ce=!1),Hn(t,n,s),cr(s.stateNode),qt=o,Ce=u;break;case 5:te||vn(s,n);case 6:if(o=qt,u=Ce,qt=null,Hn(t,n,s),qt=o,Ce=u,qt!==null)if(Ce)try{(qt.nodeType===9?qt.body:qt.nodeName==="HTML"?qt.ownerDocument.body:qt).removeChild(s.stateNode)}catch(f){Lt(s,n,f)}else try{qt.removeChild(s.stateNode)}catch(f){Lt(s,n,f)}break;case 18:qt!==null&&(Ce?(t=qt,Xg(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,s.stateNode),as(t)):Xg(qt,s.stateNode));break;case 4:o=qt,u=Ce,qt=s.stateNode.containerInfo,Ce=!0,Hn(t,n,s),qt=o,Ce=u;break;case 0:case 11:case 14:case 15:ci(2,s,n),te||ci(4,s,n),Hn(t,n,s);break;case 1:te||(vn(s,n),o=s.stateNode,typeof o.componentWillUnmount=="function"&&Kp(s,n,o)),Hn(t,n,s);break;case 21:Hn(t,n,s);break;case 22:te=(o=te)||s.memoizedState!==null,Hn(t,n,s),te=o;break;default:Hn(t,n,s)}}function ng(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{as(t)}catch(s){Lt(n,n.return,s)}}}function ig(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{as(t)}catch(s){Lt(n,n.return,s)}}function fT(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new $p),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new $p),n;default:throw Error(r(435,t.tag))}}function ko(t,n){var s=fT(t);n.forEach(function(o){if(!s.has(o)){s.add(o);var u=ST.bind(null,t,o);o.then(u,u)}})}function Me(t,n){var s=n.deletions;if(s!==null)for(var o=0;o<s.length;o++){var u=s[o],f=t,v=n,x=v;t:for(;x!==null;){switch(x.tag){case 27:if(yi(x.type)){qt=x.stateNode,Ce=!1;break t}break;case 5:qt=x.stateNode,Ce=!1;break t;case 3:case 4:qt=x.stateNode.containerInfo,Ce=!0;break t}x=x.return}if(qt===null)throw Error(r(160));eg(f,v,u),qt=null,Ce=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)ag(n,t),n=n.sibling}var un=null;function ag(t,n){var s=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Me(n,t),De(t),o&4&&(ci(3,t,t.return),tr(3,t),ci(5,t,t.return));break;case 1:Me(n,t),De(t),o&512&&(te||s===null||vn(s,s.return)),o&64&&kn&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var u=un;if(Me(n,t),De(t),o&512&&(te||s===null||vn(s,s.return)),o&4){var f=s!==null?s.memoizedState:null;if(o=t.memoizedState,s===null)if(o===null)if(t.stateNode===null){t:{o=t.type,s=t.memoizedProps,u=u.ownerDocument||u;e:switch(o){case"title":f=u.getElementsByTagName("title")[0],(!f||f[Cs]||f[he]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(o),u.head.insertBefore(f,u.querySelector("head > title"))),ye(f,o,s),f[he]=t,le(f),o=f;break t;case"link":var v=ay("link","href",u).get(o+(s.href||""));if(v){for(var x=0;x<v.length;x++)if(f=v[x],f.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&f.getAttribute("rel")===(s.rel==null?null:s.rel)&&f.getAttribute("title")===(s.title==null?null:s.title)&&f.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){v.splice(x,1);break e}}f=u.createElement(o),ye(f,o,s),u.head.appendChild(f);break;case"meta":if(v=ay("meta","content",u).get(o+(s.content||""))){for(x=0;x<v.length;x++)if(f=v[x],f.getAttribute("content")===(s.content==null?null:""+s.content)&&f.getAttribute("name")===(s.name==null?null:s.name)&&f.getAttribute("property")===(s.property==null?null:s.property)&&f.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&f.getAttribute("charset")===(s.charSet==null?null:s.charSet)){v.splice(x,1);break e}}f=u.createElement(o),ye(f,o,s),u.head.appendChild(f);break;default:throw Error(r(468,o))}f[he]=t,le(f),o=f}t.stateNode=o}else sy(u,t.type,t.stateNode);else t.stateNode=iy(u,o,t.memoizedProps);else f!==o?(f===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):f.count--,o===null?sy(u,t.type,t.stateNode):iy(u,o,t.memoizedProps)):o===null&&t.stateNode!==null&&jc(t,t.memoizedProps,s.memoizedProps)}break;case 27:Me(n,t),De(t),o&512&&(te||s===null||vn(s,s.return)),s!==null&&o&4&&jc(t,t.memoizedProps,s.memoizedProps);break;case 5:if(Me(n,t),De(t),o&512&&(te||s===null||vn(s,s.return)),t.flags&32){u=t.stateNode;try{_a(u,"")}catch(it){Lt(t,t.return,it)}}o&4&&t.stateNode!=null&&(u=t.memoizedProps,jc(t,u,s!==null?s.memoizedProps:u)),o&1024&&(Vc=!0);break;case 6:if(Me(n,t),De(t),o&4){if(t.stateNode===null)throw Error(r(162));o=t.memoizedProps,s=t.stateNode;try{s.nodeValue=o}catch(it){Lt(t,t.return,it)}}break;case 3:if(nl=null,u=un,un=tl(n.containerInfo),Me(n,t),un=u,De(t),o&4&&s!==null&&s.memoizedState.isDehydrated)try{as(n.containerInfo)}catch(it){Lt(t,t.return,it)}Vc&&(Vc=!1,sg(t));break;case 4:o=un,un=tl(t.stateNode.containerInfo),Me(n,t),De(t),un=o;break;case 12:Me(n,t),De(t);break;case 31:Me(n,t),De(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,ko(t,o)));break;case 13:Me(n,t),De(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Io=xe()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,ko(t,o)));break;case 22:u=t.memoizedState!==null;var M=s!==null&&s.memoizedState!==null,V=kn,I=te;if(kn=V||u,te=I||M,Me(n,t),te=I,kn=V,De(t),o&8192)t:for(n=t.stateNode,n._visibility=u?n._visibility&-2:n._visibility|1,u&&(s===null||M||kn||te||ea(t)),s=null,n=t;;){if(n.tag===5||n.tag===26){if(s===null){M=s=n;try{if(f=M.stateNode,u)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{x=M.stateNode;var F=M.memoizedProps.style,B=F!=null&&F.hasOwnProperty("display")?F.display:null;x.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(it){Lt(M,M.return,it)}}}else if(n.tag===6){if(s===null){M=n;try{M.stateNode.nodeValue=u?"":M.memoizedProps}catch(it){Lt(M,M.return,it)}}}else if(n.tag===18){if(s===null){M=n;try{var k=M.stateNode;u?Kg(k,!0):Kg(M.stateNode,!1)}catch(it){Lt(M,M.return,it)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break t;for(;n.sibling===null;){if(n.return===null||n.return===t)break t;s===n&&(s=null),n=n.return}s===n&&(s=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,ko(t,s))));break;case 19:Me(n,t),De(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,ko(t,o)));break;case 30:break;case 21:break;default:Me(n,t),De(t)}}function De(t){var n=t.flags;if(n&2){try{for(var s,o=t.return;o!==null;){if(Zp(o)){s=o;break}o=o.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var u=s.stateNode,f=zc(t);Uo(t,f,u);break;case 5:var v=s.stateNode;s.flags&32&&(_a(v,""),s.flags&=-33);var x=zc(t);Uo(t,x,v);break;case 3:case 4:var M=s.stateNode.containerInfo,V=zc(t);Pc(t,V,M);break;default:throw Error(r(161))}}catch(I){Lt(t,t.return,I)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function sg(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;sg(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function In(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Wp(t,n.alternate,n),n=n.sibling}function ea(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ci(4,n,n.return),ea(n);break;case 1:vn(n,n.return);var s=n.stateNode;typeof s.componentWillUnmount=="function"&&Kp(n,n.return,s),ea(n);break;case 27:cr(n.stateNode);case 26:case 5:vn(n,n.return),ea(n);break;case 22:n.memoizedState===null&&ea(n);break;case 30:ea(n);break;default:ea(n)}t=t.sibling}}function qn(t,n,s){for(s=s&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,u=t,f=n,v=f.flags;switch(f.tag){case 0:case 11:case 15:qn(u,f,s),tr(4,f);break;case 1:if(qn(u,f,s),o=f,u=o.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(V){Lt(o,o.return,V)}if(o=f,u=o.updateQueue,u!==null){var x=o.stateNode;try{var M=u.shared.hiddenCallbacks;if(M!==null)for(u.shared.hiddenCallbacks=null,u=0;u<M.length;u++)Pm(M[u],x)}catch(V){Lt(o,o.return,V)}}s&&v&64&&Xp(f),er(f,f.return);break;case 27:Jp(f);case 26:case 5:qn(u,f,s),s&&o===null&&v&4&&Qp(f),er(f,f.return);break;case 12:qn(u,f,s);break;case 31:qn(u,f,s),s&&v&4&&ng(u,f);break;case 13:qn(u,f,s),s&&v&4&&ig(u,f);break;case 22:f.memoizedState===null&&qn(u,f,s),er(f,f.return);break;case 30:break;default:qn(u,f,s)}n=n.sibling}}function Bc(t,n){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&Hs(s))}function Uc(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Hs(t))}function cn(t,n,s,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)rg(t,n,s,o),n=n.sibling}function rg(t,n,s,o){var u=n.flags;switch(n.tag){case 0:case 11:case 15:cn(t,n,s,o),u&2048&&tr(9,n);break;case 1:cn(t,n,s,o);break;case 3:cn(t,n,s,o),u&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Hs(t)));break;case 12:if(u&2048){cn(t,n,s,o),t=n.stateNode;try{var f=n.memoizedProps,v=f.id,x=f.onPostCommit;typeof x=="function"&&x(v,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(M){Lt(n,n.return,M)}}else cn(t,n,s,o);break;case 31:cn(t,n,s,o);break;case 13:cn(t,n,s,o);break;case 23:break;case 22:f=n.stateNode,v=n.alternate,n.memoizedState!==null?f._visibility&2?cn(t,n,s,o):nr(t,n):f._visibility&2?cn(t,n,s,o):(f._visibility|=2,Xa(t,n,s,o,(n.subtreeFlags&10256)!==0||!1)),u&2048&&Bc(v,n);break;case 24:cn(t,n,s,o),u&2048&&Uc(n.alternate,n);break;default:cn(t,n,s,o)}}function Xa(t,n,s,o,u){for(u=u&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var f=t,v=n,x=s,M=o,V=v.flags;switch(v.tag){case 0:case 11:case 15:Xa(f,v,x,M,u),tr(8,v);break;case 23:break;case 22:var I=v.stateNode;v.memoizedState!==null?I._visibility&2?Xa(f,v,x,M,u):nr(f,v):(I._visibility|=2,Xa(f,v,x,M,u)),u&&V&2048&&Bc(v.alternate,v);break;case 24:Xa(f,v,x,M,u),u&&V&2048&&Uc(v.alternate,v);break;default:Xa(f,v,x,M,u)}n=n.sibling}}function nr(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var s=t,o=n,u=o.flags;switch(o.tag){case 22:nr(s,o),u&2048&&Bc(o.alternate,o);break;case 24:nr(s,o),u&2048&&Uc(o.alternate,o);break;default:nr(s,o)}n=n.sibling}}var ir=8192;function Ka(t,n,s){if(t.subtreeFlags&ir)for(t=t.child;t!==null;)og(t,n,s),t=t.sibling}function og(t,n,s){switch(t.tag){case 26:Ka(t,n,s),t.flags&ir&&t.memoizedState!==null&&JT(s,un,t.memoizedState,t.memoizedProps);break;case 5:Ka(t,n,s);break;case 3:case 4:var o=un;un=tl(t.stateNode.containerInfo),Ka(t,n,s),un=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=ir,ir=16777216,Ka(t,n,s),ir=o):Ka(t,n,s));break;default:Ka(t,n,s)}}function lg(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function ar(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];ue=o,cg(o,t)}lg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ug(t),t=t.sibling}function ug(t){switch(t.tag){case 0:case 11:case 15:ar(t),t.flags&2048&&ci(9,t,t.return);break;case 3:ar(t);break;case 12:ar(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Ho(t)):ar(t);break;default:ar(t)}}function Ho(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];ue=o,cg(o,t)}lg(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:ci(8,n,n.return),Ho(n);break;case 22:s=n.stateNode,s._visibility&2&&(s._visibility&=-3,Ho(n));break;default:Ho(n)}t=t.sibling}}function cg(t,n){for(;ue!==null;){var s=ue;switch(s.tag){case 0:case 11:case 15:ci(8,s,n);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Hs(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,ue=o;else t:for(s=t;ue!==null;){o=ue;var u=o.sibling,f=o.return;if(tg(o),o===s){ue=null;break t}if(u!==null){u.return=f,ue=u;break t}ue=f}}}
vendor: 22,308 bytes, lines 9-10
9var dT={getCacheForType:function(t){var n=pe(Jt),s=n.data.get(t);return s===void 0&&(s=t(),n.data.set(t,s)),s},cacheSignal:function(){return pe(Jt).controller.signal}},hT=typeof WeakMap=="function"?WeakMap:Map,Ct=0,Pt=null,vt=null,St=0,Dt=0,qe=null,fi=!1,Qa=!1,kc=!1,Yn=0,Ft=0,di=0,na=0,Hc=0,Ye=0,Za=0,sr=null,Le=null,Ic=!1,Io=0,fg=0,qo=1/0,Yo=null,hi=null,ae=0,mi=null,Ja=null,Gn=0,qc=0,Yc=null,dg=null,rr=0,Gc=null;function Ge(){return(Ct&2)!==0&&St!==0?St&-St:U.T!==null?Jc():Ch()}function hg(){if(Ye===0)if((St&536870912)===0||Tt){var t=Jr;Jr<<=1,(Jr&3932160)===0&&(Jr=262144),Ye=t}else Ye=536870912;return t=He.current,t!==null&&(t.flags|=32),Ye}function Oe(t,n,s){(t===Pt&&(Dt===2||Dt===9)||t.cancelPendingCommit!==null)&&($a(t,0),pi(t,St,Ye,!1)),_s(t,s),((Ct&2)===0||t!==Pt)&&(t===Pt&&((Ct&2)===0&&(na|=s),Ft===4&&pi(t,St,Ye,!1)),bn(t))}function mg(t,n,s){if((Ct&6)!==0)throw Error(r(327));var o=!s&&(n&127)===0&&(n&t.expiredLanes)===0||Rs(t,n),u=o?gT(t,n):Xc(t,n,!0),f=o;do{if(u===0){Qa&&!o&&pi(t,n,0,!1);break}else{if(s=t.current.alternate,f&&!mT(s)){u=Xc(t,n,!1),f=!1;continue}if(u===2){if(f=n,t.errorRecoveryDisabledLanes&f)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){n=v;t:{var x=t;u=sr;var M=x.current.memoizedState.isDehydrated;if(M&&($a(x,v).flags|=256),v=Xc(x,v,!1),v!==2){if(kc&&!M){x.errorRecoveryDisabledLanes|=f,na|=f,u=4;break t}f=Le,Le=u,f!==null&&(Le===null?Le=f:Le.push.apply(Le,f))}u=v}if(f=!1,u!==2)continue}}if(u===1){$a(t,0),pi(t,n,0,!0);break}t:{switch(o=t,f=u,f){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:pi(o,n,Ye,!fi);break t;case 2:Le=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(u=Io+300-xe(),10<u)){if(pi(o,n,Ye,!fi),Wr(o,0,!0)!==0)break t;Gn=n,o.timeoutHandle=Gg(pg.bind(null,o,s,Le,Yo,Ic,n,Ye,na,Za,fi,f,"Throttled",-0,0),u);break t}pg(o,s,Le,Yo,Ic,n,Ye,na,Za,fi,f,null,-0,0)}}break}while(!0);bn(t)}function pg(t,n,s,o,u,f,v,x,M,V,I,F,B,k){if(t.timeoutHandle=-1,F=n.subtreeFlags,F&8192||(F&16785408)===16785408){F={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dn},og(n,f,F);var it=(f&62914560)===f?Io-xe():(f&4194048)===f?fg-xe():0;if(it=$T(F,it),it!==null){Gn=f,t.cancelPendingCommit=it(Ag.bind(null,t,n,f,s,o,u,v,x,M,I,F,null,B,k)),pi(t,f,v,!V);return}}Ag(t,n,f,s,o,u,v,x,M)}function mT(t){for(var n=t;;){var s=n.tag;if((s===0||s===11||s===15)&&n.flags&16384&&(s=n.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var u=s[o],f=u.getSnapshot;u=u.value;try{if(!Ue(f(),u))return!1}catch{return!1}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function pi(t,n,s,o){n&=~Hc,n&=~na,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var u=n;0<u;){var f=31-Be(u),v=1<<f;o[f]=-1,u&=~v}s!==0&&Eh(t,s,n)}function Go(){return(Ct&6)===0?(or(0),!1):!0}function Fc(){if(vt!==null){if(Dt===0)var t=vt.return;else t=vt,jn=Xi=null,lc(t),Ia=null,qs=0,t=vt;for(;t!==null;)Fp(t.alternate,t),t=t.return;vt=null}}function $a(t,n){var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,jT(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),Gn=0,Fc(),Pt=t,vt=s=On(t.current,null),St=n,Dt=0,qe=null,fi=!1,Qa=Rs(t,n),kc=!1,Za=Ye=Hc=na=di=Ft=0,Le=sr=null,Ic=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var u=31-Be(o),f=1<<u;n|=t[u],o&=~f}return Yn=n,fo(),s}function gg(t,n){ht=null,U.H=Js,n===Ha||n===So?(n=Om(),Dt=3):n===Zu?(n=Om(),Dt=4):Dt=n===wc?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,qe=n,vt===null&&(Ft=1,jo(t,Je(n,t.current)))}function yg(){var t=He.current;return t===null?!0:(St&4194048)===St?en===null:(St&62914560)===St||(St&536870912)!==0?t===en:!1}function vg(){var t=U.H;return U.H=Js,t===null?Js:t}function bg(){var t=U.A;return U.A=dT,t}function Fo(){Ft=4,fi||(St&4194048)!==St&&He.current!==null||(Qa=!0),(di&134217727)===0&&(na&134217727)===0||Pt===null||pi(Pt,St,Ye,!1)}function Xc(t,n,s){var o=Ct;Ct|=2;var u=vg(),f=bg();(Pt!==t||St!==n)&&(Yo=null,$a(t,n)),n=!1;var v=Ft;t:do try{if(Dt!==0&&vt!==null){var x=vt,M=qe;switch(Dt){case 8:Fc(),v=6;break t;case 3:case 2:case 9:case 6:He.current===null&&(n=!0);var V=Dt;if(Dt=0,qe=null,Wa(t,x,M,V),s&&Qa){v=0;break t}break;default:V=Dt,Dt=0,qe=null,Wa(t,x,M,V)}}pT(),v=Ft;break}catch(I){gg(t,I)}while(!0);return n&&t.shellSuspendCounter++,jn=Xi=null,Ct=o,U.H=u,U.A=f,vt===null&&(Pt=null,St=0,fo()),v}function pT(){for(;vt!==null;)Sg(vt)}function gT(t,n){var s=Ct;Ct|=2;var o=vg(),u=bg();Pt!==t||St!==n?(Yo=null,qo=xe()+500,$a(t,n)):Qa=Rs(t,n);t:do try{if(Dt!==0&&vt!==null){n=vt;var f=qe;e:switch(Dt){case 1:Dt=0,qe=null,Wa(t,n,f,1);break;case 2:case 9:if(Dm(f)){Dt=0,qe=null,xg(n);break}n=function(){Dt!==2&&Dt!==9||Pt!==t||(Dt=7),bn(t)},f.then(n,n);break t;case 3:Dt=7;break t;case 4:Dt=5;break t;case 7:Dm(f)?(Dt=0,qe=null,xg(n)):(Dt=0,qe=null,Wa(t,n,f,7));break;case 5:var v=null;switch(vt.tag){case 26:v=vt.memoizedState;case 5:case 27:var x=vt;if(v?ry(v):x.stateNode.complete){Dt=0,qe=null;var M=x.sibling;if(M!==null)vt=M;else{var V=x.return;V!==null?(vt=V,Xo(V)):vt=null}break e}}Dt=0,qe=null,Wa(t,n,f,5);break;case 6:Dt=0,qe=null,Wa(t,n,f,6);break;case 8:Fc(),Ft=6;break t;default:throw Error(r(462))}}yT();break}catch(I){gg(t,I)}while(!0);return jn=Xi=null,U.H=o,U.A=u,Ct=s,vt!==null?0:(Pt=null,St=0,fo(),Ft)}function yT(){for(;vt!==null&&!Qr();)Sg(vt)}function Sg(t){var n=Yp(t.alternate,t,Yn);t.memoizedProps=t.pendingProps,n===null?Xo(t):vt=n}function xg(t){var n=t,s=n.alternate;switch(n.tag){case 15:case 0:n=Bp(s,n,n.pendingProps,n.type,void 0,St);break;case 11:n=Bp(s,n,n.pendingProps,n.type.render,n.ref,St);break;case 5:lc(n);default:Fp(s,n),n=vt=bm(n,Yn),n=Yp(s,n,Yn)}t.memoizedProps=t.pendingProps,n===null?Xo(t):vt=n}function Wa(t,n,s,o){jn=Xi=null,lc(n),Ia=null,qs=0;var u=n.return;try{if(sT(t,u,n,s,St)){Ft=1,jo(t,Je(s,t.current)),vt=null;return}}catch(f){if(u!==null)throw vt=u,f;Ft=1,jo(t,Je(s,t.current)),vt=null;return}n.flags&32768?(Tt||o===1?t=!0:Qa||(St&536870912)!==0?t=!1:(fi=t=!0,(o===2||o===9||o===3||o===6)&&(o=He.current,o!==null&&o.tag===13&&(o.flags|=16384))),Tg(n,t)):Xo(n)}function Xo(t){var n=t;do{if((n.flags&32768)!==0){Tg(n,fi);return}t=n.return;var s=lT(n.alternate,n,Yn);if(s!==null){vt=s;return}if(n=n.sibling,n!==null){vt=n;return}vt=n=t}while(n!==null);Ft===0&&(Ft=5)}function Tg(t,n){do{var s=uT(t.alternate,t);if(s!==null){s.flags&=32767,vt=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!n&&(t=t.sibling,t!==null)){vt=t;return}vt=t=s}while(t!==null);Ft=6,vt=null}function Ag(t,n,s,o,u,f,v,x,M){t.cancelPendingCommit=null;do Ko();while(ae!==0);if((Ct&6)!==0)throw Error(r(327));if(n!==null){if(n===t.current)throw Error(r(177));if(f=n.lanes|n.childLanes,f|=zu,Zx(t,s,f,v,x,M),t===Pt&&(vt=Pt=null,St=0),Ja=n,mi=t,Gn=s,qc=f,Yc=u,dg=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,xT(Sa,function(){return Cg(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=U.T,U.T=null,u=$.p,$.p=2,v=Ct,Ct|=4;try{cT(t,n,s)}finally{Ct=v,$.p=u,U.T=o}}ae=1,wg(),Eg(),Rg()}}function wg(){if(ae===1){ae=0;var t=mi,n=Ja,s=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||s){s=U.T,U.T=null;var o=$.p;$.p=2;var u=Ct;Ct|=4;try{ag(n,t);var f=rf,v=cm(t.containerInfo),x=f.focusedElem,M=f.selectionRange;if(v!==x&&x&&x.ownerDocument&&um(x.ownerDocument.documentElement,x)){if(M!==null&&Du(x)){var V=M.start,I=M.end;if(I===void 0&&(I=V),"selectionStart"in x)x.selectionStart=V,x.selectionEnd=Math.min(I,x.value.length);else{var F=x.ownerDocument||document,B=F&&F.defaultView||window;if(B.getSelection){var k=B.getSelection(),it=x.textContent.length,ut=Math.min(M.start,it),jt=M.end===void 0?ut:Math.min(M.end,it);!k.extend&&ut>jt&&(v=jt,jt=ut,ut=v);var N=lm(x,ut),L=lm(x,jt);if(N&&L&&(k.rangeCount!==1||k.anchorNode!==N.node||k.anchorOffset!==N.offset||k.focusNode!==L.node||k.focusOffset!==L.offset)){var P=F.createRange();P.setStart(N.node,N.offset),k.removeAllRanges(),ut>jt?(k.addRange(P),k.extend(L.node,L.offset)):(P.setEnd(L.node,L.offset),k.addRange(P))}}}}for(F=[],k=x;k=k.parentNode;)k.nodeType===1&&F.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<F.length;x++){var q=F[x];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}rl=!!sf,rf=sf=null}finally{Ct=u,$.p=o,U.T=s}}t.current=n,ae=2}}function Eg(){if(ae===2){ae=0;var t=mi,n=Ja,s=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||s){s=U.T,U.T=null;var o=$.p;$.p=2;var u=Ct;Ct|=4;try{Wp(t,n.alternate,n)}finally{Ct=u,$.p=o,U.T=s}}ae=3}}function Rg(){if(ae===4||ae===3){ae=0,lu();var t=mi,n=Ja,s=Gn,o=dg;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ae=5:(ae=0,Ja=mi=null,_g(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(hi=null),fu(s),n=n.stateNode,Ve&&typeof Ve.onCommitFiberRoot=="function")try{Ve.onCommitFiberRoot(Es,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=U.T,u=$.p,$.p=2,U.T=null;try{for(var f=t.onRecoverableError,v=0;v<o.length;v++){var x=o[v];f(x.value,{componentStack:x.stack})}}finally{U.T=n,$.p=u}}(Gn&3)!==0&&Ko(),bn(t),u=t.pendingLanes,(s&261930)!==0&&(u&42)!==0?t===Gc?rr++:(rr=0,Gc=t):rr=0,or(0)}}function _g(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,Hs(n)))}function Ko(){return wg(),Eg(),Rg(),Cg()}function Cg(){if(ae!==5)return!1;var t=mi,n=qc;qc=0;var s=fu(Gn),o=U.T,u=$.p;try{$.p=32>s?32:s,U.T=null,s=Yc,Yc=null;var f=mi,v=Gn;if(ae=0,Ja=mi=null,Gn=0,(Ct&6)!==0)throw Error(r(331));var x=Ct;if(Ct|=4,ug(f.current),rg(f,f.current,v,s),Ct=x,or(0,!1),Ve&&typeof Ve.onPostCommitFiberRoot=="function")try{Ve.onPostCommitFiberRoot(Es,f)}catch{}return!0}finally{$.p=u,U.T=o,_g(t,n)}}function Mg(t,n,s){n=Je(s,n),n=Ac(t.stateNode,n,2),t=oi(t,n,2),t!==null&&(_s(t,2),bn(t))}function Lt(t,n,s){if(t.tag===3)Mg(t,t,s);else for(;n!==null;){if(n.tag===3){Mg(n,t,s);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(hi===null||!hi.has(o))){t=Je(s,t),s=Dp(2),o=oi(n,s,2),o!==null&&(Lp(s,o,n,t),_s(o,2),bn(o));break}}n=n.return}}function Kc(t,n,s){var o=t.pingCache;if(o===null){o=t.pingCache=new hT;var u=new Set;o.set(n,u)}else u=o.get(n),u===void 0&&(u=new Set,o.set(n,u));u.has(s)||(kc=!0,u.add(s),t=vT.bind(null,t,n,s),n.then(t,t))}function vT(t,n,s){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,Pt===t&&(St&s)===s&&(Ft===4||Ft===3&&(St&62914560)===St&&300>xe()-Io?(Ct&2)===0&&$a(t,0):Hc|=s,Za===St&&(Za=0)),bn(t)}function Dg(t,n){n===0&&(n=wh()),t=Yi(t,n),t!==null&&(_s(t,n),bn(t))}function bT(t){var n=t.memoizedState,s=0;n!==null&&(s=n.retryLane),Dg(t,s)}function ST(t,n){var s=0;switch(t.tag){case 31:case 13:var o=t.stateNode,u=t.memoizedState;u!==null&&(s=u.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(n),Dg(t,s)}function xT(t,n){return on(t,n)}var Qo=null,ts=null,Qc=!1,Zo=!1,Zc=!1,gi=0;function bn(t){t!==ts&&t.next===null&&(ts===null?Qo=ts=t:ts=ts.next=t),Zo=!0,Qc||(Qc=!0,AT())}function or(t,n){if(!Zc&&Zo){Zc=!0;do for(var s=!1,o=Qo;o!==null;){if(t!==0){var u=o.pendingLanes;if(u===0)var f=0;else{var v=o.suspendedLanes,x=o.pingedLanes;f=(1<<31-Be(42|t)+1)-1,f&=u&~(v&~x),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(s=!0,jg(o,f))}else f=St,f=Wr(o,o===Pt?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(f&3)===0||Rs(o,f)||(s=!0,jg(o,f));o=o.next}while(s);Zc=!1}}function TT(){Lg()}function Lg(){Zo=Qc=!1;var t=0;gi!==0&&NT()&&(t=gi);for(var n=xe(),s=null,o=Qo;o!==null;){var u=o.next,f=Og(o,n);f===0?(o.next=null,s===null?Qo=u:s.next=u,u===null&&(ts=s)):(s=o,(t!==0||(f&3)!==0)&&(Zo=!0)),o=u}ae!==0&&ae!==5||or(t),gi!==0&&(gi=0)}function Og(t,n){for(var s=t.suspendedLanes,o=t.pingedLanes,u=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var v=31-Be(f),x=1<<v,M=u[v];M===-1?((x&s)===0||(x&o)!==0)&&(u[v]=Qx(x,n)):M<=n&&(t.expiredLanes|=x),f&=~x}if(n=Pt,s=St,s=Wr(t,t===n?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,s===0||t===n&&(Dt===2||Dt===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&ws(o),t.callbackNode=null,t.callbackPriority=0;if((s&3)===0||Rs(t,s)){if(n=s&-s,n===t.callbackPriority)return n;switch(o!==null&&ws(o),fu(s)){case 2:case 8:s=pn;break;case 32:s=Sa;break;case 268435456:s=Ah;break;default:s=Sa}return o=Ng.bind(null,t),s=on(s,o),t.callbackPriority=n,t.callbackNode=s,n}return o!==null&&o!==null&&ws(o),t.callbackPriority=2,t.callbackNode=null,2}function Ng(t,n){if(ae!==0&&ae!==5)return t.callbackNode=null,t.callbackPriority=0,null;var s=t.callbackNode;if(Ko()&&t.callbackNode!==s)return null;var o=St;return o=Wr(t,t===Pt?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(mg(t,o,n),Og(t,xe()),t.callbackNode!=null&&t.callbackNode===s?Ng.bind(null,t):null)}function jg(t,n){if(Ko())return null;mg(t,n,!0)}function AT(){zT(function(){(Ct&6)!==0?on(de,TT):Lg()})}function Jc(){if(gi===0){var t=Ua;t===0&&(t=Zr,Zr<<=1,(Zr&261888)===0&&(Zr=256)),gi=t}return gi}function zg(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:io(""+t)}function Pg(t,n){var s=n.ownerDocument.createElement("input");return s.name=n.name,s.value=n.value,t.id&&s.setAttribute("form",t.id),n.parentNode.insertBefore(s,n),t=new FormData(t),s.parentNode.removeChild(s),t}function wT(t,n,s,o,u){if(n==="submit"&&s&&s.stateNode===u){var f=zg((u[Re]||null).action),v=o.submitter;v&&(n=(n=v[Re]||null)?zg(n.formAction):v.getAttribute("formAction"),n!==null&&(f=n,v=null));var x=new oo("action","action",null,o,u);t.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(gi!==0){var M=v?Pg(u,v):new FormData(u);yc(s,{pending:!0,data:M,method:u.method,action:f},null,M)}}else typeof f=="function"&&(x.preventDefault(),M=v?Pg(u,v):new FormData(u),yc(s,{pending:!0,data:M,method:u.method,action:f},f,M))},currentTarget:u}]})}}for(var $c=0;$c<ju.length;$c++){var Wc=ju[$c],ET=Wc.toLowerCase(),RT=Wc[0].toUpperCase()+Wc.slice(1);ln(ET,"on"+RT)}ln(hm,"onAnimationEnd"),ln(mm,"onAnimationIteration"),ln(pm,"onAnimationStart"),ln("dblclick","onDoubleClick"),ln("focusin","onFocus"),ln("focusout","onBlur"),ln(I1,"onTransitionRun"),ln(q1,"onTransitionStart"),ln(Y1,"onTransitionCancel"),ln(gm,"onTransitionEnd"),Ea("onMouseEnter",["mouseout","mouseover"]),Ea("onMouseLeave",["mouseout","mouseover"]),Ea("onPointerEnter",["pointerout","pointerover"]),Ea("onPointerLeave",["pointerout","pointerover"]),ki("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ki("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ki("onBeforeInput",["compositionend","keypress","textInput","paste"]),ki("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ki("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ki("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_T=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lr));function Vg(t,n){n=(n&4)!==0;for(var s=0;s<t.length;s++){var o=t[s],u=o.event;o=o.listeners;t:{var f=void 0;if(n)for(var v=o.length-1;0<=v;v--){var x=o[v],M=x.instance,V=x.currentTarget;if(x=x.listener,M!==f&&u.isPropagationStopped())break t;f=x,u.currentTarget=V;try{f(u)}catch(I){co(I)}u.currentTarget=null,f=M}else for(v=0;v<o.length;v++){if(x=o[v],M=x.instance,V=x.currentTarget,x=x.listener,M!==f&&u.isPropagationStopped())break t;f=x,u.currentTarget=V;try{f(u)}catch(I){co(I)}u.currentTarget=null,f=M}}}}function bt(t,n){var s=n[du];s===void 0&&(s=n[du]=new Set);var o=t+"__bubble";s.has(o)||(Bg(n,t,2,!1),s.add(o))}function tf(t,n,s){var o=0;n&&(o|=4),Bg(s,t,o,n)}var Jo="_reactListening"+Math.random().toString(36).slice(2);function ef(t){if(!t[Jo]){t[Jo]=!0,Lh.forEach(function(s){s!=="selectionchange"&&(_T.has(s)||tf(s,!1,t),tf(s,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Jo]||(n[Jo]=!0,tf("selectionchange",!1,n))}}function Bg(t,n,s,o){switch(hy(n)){case 2:var u=eA;break;case 8:u=nA;break;default:u=yf}s=u.bind(null,n,s,t),u=void 0,!xu||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(u=!0),o?u!==void 0?t.addEventListener(n,s,{capture:!0,passive:u}):t.addEventListener(n,s,!0):u!==void 0?t.addEventListener(n,s,{passive:u}):t.addEventListener(n,s,!1)}function nf(t,n,s,o,u){var f=o;if((n&1)===0&&(n&2)===0&&o!==null)t:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var x=o.stateNode.containerInfo;if(x===u)break;if(v===4)for(v=o.return;v!==null;){var M=v.tag;if((M===3||M===4)&&v.stateNode.containerInfo===u)return;v=v.return}for(;x!==null;){if(v=Ta(x),v===null)return;if(M=v.tag,M===5||M===6||M===26||M===27){o=f=v;continue t}x=x.parentNode}}o=o.return}qh(function(){var V=f,I=bu(s),F=[];t:{var B=ym.get(t);if(B!==void 0){var k=oo,it=t;switch(t){case"keypress":if(so(s)===0)break t;case"keydown":case"keyup":k=S1;break;case"focusin":it="focus",k=Eu;break;case"focusout":it="blur",k=Eu;break;case"beforeblur":case"afterblur":k=Eu;break;case"click":if(s.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=Fh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=l1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=A1;break;case hm:case mm:case pm:k=f1;break;case gm:k=E1;break;case"scroll":case"scrollend":k=r1;break;case"wheel":k=_1;break;case"copy":case"cut":case"paste":k=h1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=Kh;break;case"toggle":case"beforetoggle":k=M1}var ut=(n&4)!==0,jt=!ut&&(t==="scroll"||t==="scrollend"),N=ut?B!==null?B+"Capture":null:B;ut=[];for(var L=V,P;L!==null;){var q=L;if(P=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||P===null||N===null||(q=Ds(L,N),q!=null&&ut.push(ur(L,q,P))),jt)break;L=L.return}0<ut.length&&(B=new k(B,it,null,s,I),F.push({event:B,listeners:ut}))}}if((n&7)===0){t:{if(B=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",B&&s!==vu&&(it=s.relatedTarget||s.fromElement)&&(Ta(it)||it[xa]))break t;if((k||B)&&(B=I.window===I?I:(B=I.ownerDocument)?B.defaultView||B.parentWindow:window,k?(it=s.relatedTarget||s.toElement,k=V,it=it?Ta(it):null,it!==null&&(jt=c(it),ut=it.tag,it!==jt||ut!==5&&ut!==27&&ut!==6)&&(it=null)):(k=null,it=V),k!==it)){if(ut=Fh,q="onMouseLeave",N="onMouseEnter",L="mouse",(t==="pointerout"||t==="pointerover")&&(ut=Kh,q="onPointerLeave",N="onPointerEnter",L="pointer"),jt=k==null?B:Ms(k),P=it==null?B:Ms(it),B=new ut(q,L+"leave",k,s,I),B.target=jt,B.relatedTarget=P,q=null,Ta(I)===V&&(ut=new ut(N,L+"enter",it,s,I),ut.target=P,ut.relatedTarget=jt,q=ut),jt=q,k&&it)e:{for(ut=CT,N=k,L=it,P=0,q=N;q;q=ut(q))P++;q=0;for(var ot=L;ot;ot=ut(ot))q++;for(;0<P-q;)N=ut(N),P--;for(;0<q-P;)L=ut(L),q--;for(;P--;){if(N===L||L!==null&&N===L.alternate){ut=N;break e}N=ut(N),L=ut(L)}ut=null}else ut=null;k!==null&&Ug(F,B,k,ut,!1),it!==null&&jt!==null&&Ug(F,jt,it,ut,!0)}}t:{if(B=V?Ms(V):window,k=B.nodeName&&B.nodeName.toLowerCase(),k==="select"||k==="input"&&B.type==="file")var Et=nm;else if(tm(B))if(im)Et=U1;else{Et=V1;var st=P1}else k=B.nodeName,!k||k.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?V&&yu(V.elementType)&&(Et=nm):Et=B1;if(Et&&(Et=Et(t,V))){em(F,Et,s,I);break t}st&&st(t,B,V),t==="focusout"&&V&&B.type==="number"&&V.memoizedProps.value!=null&&gu(B,"number",B.value)}switch(st=V?Ms(V):window,t){case"focusin":(tm(st)||st.contentEditable==="true")&&(La=st,Lu=V,Bs=null);break;case"focusout":Bs=Lu=La=null;break;case"mousedown":Ou=!0;break;case"contextmenu":case"mouseup":case"dragend":Ou=!1,fm(F,s,I);break;case"selectionchange":if(H1)break;case"keydown":case"keyup":fm(F,s,I)}var mt;if(_u)t:{switch(t){case"compositionstart":var xt="onCompositionStart";break t;case"compositionend":xt="onCompositionEnd";break t;case"compositionupdate":xt="onCompositionUpdate";break t}xt=void 0}else Da?$h(t,s)&&(xt="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(xt="onCompositionStart");xt&&(Qh&&s.locale!=="ko"&&(Da||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&Da&&(mt=Yh()):(ti=I,Tu="value"in ti?ti.value:ti.textContent,Da=!0)),st=$o(V,xt),0<st.length&&(xt=new Xh(xt,t,null,s,I),F.push({event:xt,listeners:st}),mt?xt.data=mt:(mt=Wh(s),mt!==null&&(xt.data=mt)))),(mt=L1?O1(t,s):N1(t,s))&&(xt=$o(V,"onBeforeInput"),0<xt.length&&(st=new Xh("onBeforeInput","beforeinput",null,s,I),F.push({event:st,listeners:xt}),st.data=mt)),wT(F,t,V,s,I)}Vg(F,n)})}function ur(t,n,s){return{instance:t,listener:n,currentTarget:s}}function $o(t,n){for(var s=n+"Capture",o=[];t!==null;){var u=t,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=Ds(t,s),u!=null&&o.unshift(ur(t,u,f)),u=Ds(t,n),u!=null&&o.push(ur(t,u,f))),t.tag===3)return o;t=t.return}return[]}function CT(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ug(t,n,s,o,u){for(var f=n._reactName,v=[];s!==null&&s!==o;){var x=s,M=x.alternate,V=x.stateNode;if(x=x.tag,M!==null&&M===o)break;x!==5&&x!==26&&x!==27||V===null||(M=V,u?(V=Ds(s,f),V!=null&&v.unshift(ur(s,V,M))):u||(V=Ds(s,f),V!=null&&v.push(ur(s,V,M)))),s=s.return}v.length!==0&&t.push({event:n,listeners:v})}var MT=/\r\n?/g,DT=/\u0000|\uFFFD/g;function kg(t){return(typeof t=="string"?t:""+t).replace(MT,` 10`).replace(DT,"")}function Hg(t,n){return n=kg(n),kg(t)===n}function Nt(t,n,s,o,u,f){switch(s){case"children":typeof o=="str
10ing"?n==="body"||n==="textarea"&&o===""||_a(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&_a(t,""+o);break;case"className":eo(t,"class",o);break;case"tabIndex":eo(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":eo(t,s,o);break;case"style":Hh(t,o,f);break;case"data":if(n!=="object"){eo(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||s!=="href")){t.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=io(""+o),t.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(s==="formAction"?(n!=="input"&&Nt(t,n,"name",u.name,u,null),Nt(t,n,"formEncType",u.formEncType,u,null),Nt(t,n,"formMethod",u.formMethod,u,null),Nt(t,n,"formTarget",u.formTarget,u,null)):(Nt(t,n,"encType",u.encType,u,null),Nt(t,n,"method",u.method,u,null),Nt(t,n,"target",u.target,u,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=io(""+o),t.setAttribute(s,o);break;case"onClick":o!=null&&(t.onclick=Dn);break;case"onScroll":o!=null&&bt("scroll",t);break;case"onScrollEnd":o!=null&&bt("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=s}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}s=io(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,""+o):t.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":o===!0?t.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,o):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(s,o):t.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(s):t.setAttribute(s,o);break;case"popover":bt("beforetoggle",t),bt("toggle",t),to(t,"popover",o);break;case"xlinkActuate":Mn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Mn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Mn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Mn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Mn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Mn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":to(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=a1.get(s)||s,to(t,s,o))}}function af(t,n,s,o,u,f){switch(s){case"style":Hh(t,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=s}}break;
vendor: 5,360 bytes, line 10
10case"children":typeof o=="string"?_a(t,o):(typeof o=="number"||typeof o=="bigint")&&_a(t,""+o);break;case"onScroll":o!=null&&bt("scroll",t);break;case"onScrollEnd":o!=null&&bt("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Oh.hasOwnProperty(s))t:{if(s[0]==="o"&&s[1]==="n"&&(u=s.endsWith("Capture"),n=s.slice(2,u?s.length-7:void 0),f=t[Re]||null,f=f!=null?f[s]:null,typeof f=="function"&&t.removeEventListener(n,f,u),typeof o=="function")){typeof f!="function"&&f!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(n,o,u);break t}s in t?t[s]=o:o===!0?t.setAttribute(s,""):to(t,s,o)}}}function ye(t,n,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":bt("error",t),bt("load",t);var o=!1,u=!1,f;for(f in s)if(s.hasOwnProperty(f)){var v=s[f];if(v!=null)switch(f){case"src":o=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:Nt(t,n,f,v,s,null)}}u&&Nt(t,n,"srcSet",s.srcSet,s,null),o&&Nt(t,n,"src",s.src,s,null);return;case"input":bt("invalid",t);var x=f=v=u=null,M=null,V=null;for(o in s)if(s.hasOwnProperty(o)){var I=s[o];if(I!=null)switch(o){case"name":u=I;break;case"type":v=I;break;case"checked":M=I;break;case"defaultChecked":V=I;break;case"value":f=I;break;case"defaultValue":x=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(r(137,n));break;default:Nt(t,n,o,I,s,null)}}Vh(t,f,x,M,V,v,u,!1);return;case"select":bt("invalid",t),o=v=f=null;for(u in s)if(s.hasOwnProperty(u)&&(x=s[u],x!=null))switch(u){case"value":f=x;break;case"defaultValue":v=x;break;case"multiple":o=x;default:Nt(t,n,u,x,s,null)}n=f,s=v,t.multiple=!!o,n!=null?Ra(t,!!o,n,!1):s!=null&&Ra(t,!!o,s,!0);return;case"textarea":bt("invalid",t),f=u=o=null;for(v in s)if(s.hasOwnProperty(v)&&(x=s[v],x!=null))switch(v){case"value":o=x;break;case"defaultValue":u=x;break;case"children":f=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Nt(t,n,v,x,s,null)}Uh(t,o,u,f);return;case"option":for(M in s)s.hasOwnProperty(M)&&(o=s[M],o!=null)&&(M==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Nt(t,n,M,o,s,null));return;case"dialog":bt("beforetoggle",t),bt("toggle",t),bt("cancel",t),bt("close",t);break;case"iframe":case"object":bt("load",t);break;case"video":case"audio":for(o=0;o<lr.length;o++)bt(lr[o],t);break;case"image":bt("error",t),bt("load",t);break;case"details":bt("toggle",t);break;case"embed":case"source":case"link":bt("error",t),bt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in s)if(s.hasOwnProperty(V)&&(o=s[V],o!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:Nt(t,n,V,o,s,null)}return;default:if(yu(n)){for(I in s)s.hasOwnProperty(I)&&(o=s[I],o!==void 0&&af(t,n,I,o,s,void 0));return}}for(x in s)s.hasOwnProperty(x)&&(o=s[x],o!=null&&Nt(t,n,x,o,s,null))}function LT(t,n,s,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,f=null,v=null,x=null,M=null,V=null,I=null;for(k in s){var F=s[k];if(s.hasOwnProperty(k)&&F!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":M=F;default:o.hasOwnProperty(k)||Nt(t,n,k,null,o,F)}}for(var B in o){var k=o[B];if(F=s[B],o.hasOwnProperty(B)&&(k!=null||F!=null))switch(B){case"type":f=k;break;case"name":u=k;break;case"checked":V=k;break;case"defaultChecked":I=k;break;case"value":v=k;break;case"defaultValue":x=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,n));break;default:k!==F&&Nt(t,n,B,k,o,F)}}pu(t,v,x,M,V,I,f,u);return;case"select":k=v=x=B=null;for(f in s)if(M=s[f],s.hasOwnProperty(f)&&M!=null)switch(f){case"value":break;case"multiple":k=M;default:o.hasOwnProperty(f)||Nt(t,n,f,null,o,M)}for(u in o)if(f=o[u],M=s[u],o.hasOwnProperty(u)&&(f!=null||M!=null))switch(u){case"value":B=f;break;case"defaultValue":x=f;break;case"multiple":v=f;default:f!==M&&Nt(t,n,u,f,o,M)}n=x,s=v,o=k,B!=null?Ra(t,!!s,B,!1):!!o!=!!s&&(n!=null?Ra(t,!!s,n,!0):Ra(t,!!s,s?[]:"",!1));return;case"textarea":k=B=null;for(x in s)if(u=s[x],s.hasOwnProperty(x)&&u!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Nt(t,n,x,null,o,u)}for(v in o)if(u=o[v],f=s[v],o.hasOwnProperty(v)&&(u!=null||f!=null))switch(v){case"value":B=u;break;case"defaultValue":k=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(r(91));break;default:u!==f&&Nt(t,n,v,u,o,f)}Bh(t,B,k);return;case"option":for(var it in s)B=s[it],s.hasOwnProperty(it)&&B!=null&&!o.hasOwnProperty(it)&&(it==="selected"?t.selected=!1:Nt(t,n,it,null,o,B));for(M in o)B=o[M],k=s[M],o.hasOwnProperty(M)&&B!==k&&(B!=null||k!=null)&&(M==="selected"?t.selected=B&&typeof B!="function"&&typeof B!="symbol":Nt(t,n,M,B,o,k));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ut in s)B=s[ut],s.hasOwnProperty(ut)&&B!=null&&!o.hasOwnProperty(ut)&&Nt(t,n,ut,null,o,B);
vendor: 5,658 bytes, line 10
10for(V in o)if(B=o[V],k=s[V],o.hasOwnProperty(V)&&B!==k&&(B!=null||k!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:Nt(t,n,V,B,o,k)}return;default:if(yu(n)){for(var jt in s)B=s[jt],s.hasOwnProperty(jt)&&B!==void 0&&!o.hasOwnProperty(jt)&&af(t,n,jt,void 0,o,B);for(I in o)B=o[I],k=s[I],!o.hasOwnProperty(I)||B===k||B===void 0&&k===void 0||af(t,n,I,B,o,k);return}}for(var N in s)B=s[N],s.hasOwnProperty(N)&&B!=null&&!o.hasOwnProperty(N)&&Nt(t,n,N,null,o,B);for(F in o)B=o[F],k=s[F],!o.hasOwnProperty(F)||B===k||B==null&&k==null||Nt(t,n,F,B,o,k)}function Ig(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function OT(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,s=performance.getEntriesByType("resource"),o=0;o<s.length;o++){var u=s[o],f=u.transferSize,v=u.initiatorType,x=u.duration;if(f&&x&&Ig(v)){for(v=0,x=u.responseEnd,o+=1;o<s.length;o++){var M=s[o],V=M.startTime;if(V>x)break;var I=M.transferSize,F=M.initiatorType;I&&Ig(F)&&(M=M.responseEnd,v+=I*(M<x?1:(x-V)/(M-V)))}if(--o,n+=8*(f+v)/(u.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var sf=null,rf=null;function Wo(t){return t.nodeType===9?t:t.ownerDocument}function qg(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yg(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function of(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var lf=null;function NT(){var t=window.event;return t&&t.type==="popstate"?t===lf?!1:(lf=t,!0):(lf=null,!1)}var Gg=typeof setTimeout=="function"?setTimeout:void 0,jT=typeof clearTimeout=="function"?clearTimeout:void 0,Fg=typeof Promise=="function"?Promise:void 0,zT=typeof queueMicrotask=="function"?queueMicrotask:typeof Fg<"u"?function(t){return Fg.resolve(null).then(t).catch(PT)}:Gg;function PT(t){setTimeout(function(){throw t})}function yi(t){return t==="head"}function Xg(t,n){var s=n,o=0;do{var u=s.nextSibling;if(t.removeChild(s),u&&u.nodeType===8)if(s=u.data,s==="/$"||s==="/&"){if(o===0){t.removeChild(u),as(n);return}o--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")o++;else if(s==="html")cr(t.ownerDocument.documentElement);else if(s==="head"){s=t.ownerDocument.head,cr(s);for(var f=s.firstChild;f;){var v=f.nextSibling,x=f.nodeName;f[Cs]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&f.rel.toLowerCase()==="stylesheet"||s.removeChild(f),f=v}}else s==="body"&&cr(t.ownerDocument.body);s=u}while(s);as(n)}function Kg(t,n){var s=t;t=0;do{var o=s.nextSibling;if(s.nodeType===1?n?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(n?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),o&&o.nodeType===8)if(s=o.data,s==="/$"){if(t===0)break;t--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||t++;s=o}while(s)}function uf(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var s=n;switch(n=n.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":uf(s),hu(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}function VT(t,n,s,o){for(;t.nodeType===1;){var u=s;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[Cs])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=nn(t.nextSibling),t===null)break}return null}function BT(t,n,s){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=nn(t.nextSibling),t===null))return null;return t}function Qg(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=nn(t.nextSibling),t===null))return null;return t}function cf(t){return t.data==="$?"||t.data==="$~"}function ff(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function UT(t,n){var s=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||s.readyState!=="loading")n();else{var o=function(){n(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function nn(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;
vendor: 5,062 bytes, line 10
10if(n==="/$"||n==="/&")return null}}return t}var df=null;function Zg(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"||s==="/&"){if(n===0)return nn(t.nextSibling);n--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||n++}t=t.nextSibling}return null}function Jg(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(n===0)return t;n--}else s!=="/$"&&s!=="/&"||n++}t=t.previousSibling}return null}function $g(t,n,s){switch(n=Wo(s),t){case"html":if(t=n.documentElement,!t)throw Error(r(452));return t;case"head":if(t=n.head,!t)throw Error(r(453));return t;case"body":if(t=n.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function cr(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);hu(t)}var an=new Map,Wg=new Set;function tl(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Fn=$.d;$.d={f:kT,r:HT,D:IT,C:qT,L:YT,m:GT,X:XT,S:FT,M:KT};function kT(){var t=Fn.f(),n=Go();return t||n}function HT(t){var n=Aa(t);n!==null&&n.tag===5&&n.type==="form"?gp(n):Fn.r(t)}var es=typeof document>"u"?null:document;function ty(t,n,s){var o=es;if(o&&typeof n=="string"&&n){var u=Qe(n);u='link[rel="'+t+'"][href="'+u+'"]',typeof s=="string"&&(u+='[crossorigin="'+s+'"]'),Wg.has(u)||(Wg.add(u),t={rel:t,crossOrigin:s,href:n},o.querySelector(u)===null&&(n=o.createElement("link"),ye(n,"link",t),le(n),o.head.appendChild(n)))}}function IT(t){Fn.D(t),ty("dns-prefetch",t,null)}function qT(t,n){Fn.C(t,n),ty("preconnect",t,n)}function YT(t,n,s){Fn.L(t,n,s);var o=es;if(o&&t&&n){var u='link[rel="preload"][as="'+Qe(n)+'"]';n==="image"&&s&&s.imageSrcSet?(u+='[imagesrcset="'+Qe(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(u+='[imagesizes="'+Qe(s.imageSizes)+'"]')):u+='[href="'+Qe(t)+'"]';var f=u;switch(n){case"style":f=ns(t);break;case"script":f=is(t)}an.has(f)||(t=y({rel:"preload",href:n==="image"&&s&&s.imageSrcSet?void 0:t,as:n},s),an.set(f,t),o.querySelector(u)!==null||n==="style"&&o.querySelector(fr(f))||n==="script"&&o.querySelector(dr(f))||(n=o.createElement("link"),ye(n,"link",t),le(n),o.head.appendChild(n)))}}function GT(t,n){Fn.m(t,n);var s=es;if(s&&t){var o=n&&typeof n.as=="string"?n.as:"script",u='link[rel="modulepreload"][as="'+Qe(o)+'"][href="'+Qe(t)+'"]',f=u;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=is(t)}if(!an.has(f)&&(t=y({rel:"modulepreload",href:t},n),an.set(f,t),s.querySelector(u)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(dr(f)))return}o=s.createElement("link"),ye(o,"link",t),le(o),s.head.appendChild(o)}}}function FT(t,n,s){Fn.S(t,n,s);var o=es;if(o&&t){var u=wa(o).hoistableStyles,f=ns(t);n=n||"default";var v=u.get(f);if(!v){var x={loading:0,preload:null};if(v=o.querySelector(fr(f)))x.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":n},s),(s=an.get(f))&&hf(t,s);var M=v=o.createElement("link");le(M),ye(M,"link",t),M._p=new Promise(function(V,I){M.onload=V,M.onerror=I}),M.addEventListener("load",function(){x.loading|=1}),M.addEventListener("error",function(){x.loading|=2}),x.loading|=4,el(v,n,o)}v={type:"stylesheet",instance:v,count:1,state:x},u.set(f,v)}}}function XT(t,n){Fn.X(t,n);var s=es;if(s&&t){var o=wa(s).hoistableScripts,u=is(t),f=o.get(u);f||(f=s.querySelector(dr(u)),f||(t=y({src:t,async:!0},n),(n=an.get(u))&&mf(t,n),f=s.createElement("script"),le(f),ye(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(u,f))}}function KT(t,n){Fn.M(t,n);var s=es;if(s&&t){var o=wa(s).hoistableScripts,u=is(t),f=o.get(u);f||(f=s.querySelector(dr(u)),f||(t=y({src:t,async:!0,type:"module"},n),(n=an.get(u))&&mf(t,n),f=s.createElement("script"),le(f),ye(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(u,f))}}function ey(t,n,s,o){var u=(u=pt.current)?tl(u):null;if(!u)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(n=ns(s.href),s=wa(u).hoistableStyles,o=s.get(n),o||(o={type:"style",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=ns(s.href);var f=wa(u).hoistableStyles,v=f.get(t);if(v||(u=u.ownerDocument||u,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,v),(f=u.querySelector(fr(t)))&&!f._p&&(v.instance=f,v.state.loading=5),an.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},an.set(t,s),f||QT(u,t,s,v.state))),n&&o===null)throw Error(r(528,""));return v}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=s.async,s=s.src,typeof s=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?
vendor: 5,251 bytes, line 10
10(n=is(s),s=wa(u).hoistableScripts,o=s.get(n),o||(o={type:"script",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ns(t){return'href="'+Qe(t)+'"'}function fr(t){return'link[rel="stylesheet"]['+t+"]"}function ny(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function QT(t,n,s,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),ye(n,"link",s),le(n),t.head.appendChild(n))}function is(t){return'[src="'+Qe(t)+'"]'}function dr(t){return"script[async]"+t}function iy(t,n,s){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+Qe(s.href)+'"]');if(o)return n.instance=o,le(o),o;var u=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),le(o),ye(o,"style",u),el(o,s.precedence,t),n.instance=o;case"stylesheet":u=ns(s.href);var f=t.querySelector(fr(u));if(f)return n.state.loading|=4,n.instance=f,le(f),f;o=ny(s),(u=an.get(u))&&hf(o,u),f=(t.ownerDocument||t).createElement("link"),le(f);var v=f;return v._p=new Promise(function(x,M){v.onload=x,v.onerror=M}),ye(f,"link",o),n.state.loading|=4,el(f,s.precedence,t),n.instance=f;case"script":return f=is(s.src),(u=t.querySelector(dr(f)))?(n.instance=u,le(u),u):(o=s,(u=an.get(f))&&(o=y({},s),mf(o,u)),t=t.ownerDocument||t,u=t.createElement("script"),le(u),ye(u,"link",o),t.head.appendChild(u),n.instance=u);case"void":return null;default:throw Error(r(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,el(o,s.precedence,t));return n.instance}function el(t,n,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=o.length?o[o.length-1]:null,f=u,v=0;v<o.length;v++){var x=o[v];if(x.dataset.precedence===n)f=x;else if(f!==u)break}f?f.parentNode.insertBefore(t,f.nextSibling):(n=s.nodeType===9?s.head:s,n.insertBefore(t,n.firstChild))}function hf(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function mf(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var nl=null;function ay(t,n,s){if(nl===null){var o=new Map,u=nl=new Map;u.set(s,o)}else u=nl,o=u.get(s),o||(o=new Map,u.set(s,o));if(o.has(t))return o;for(o.set(t,null),s=s.getElementsByTagName(t),u=0;u<s.length;u++){var f=s[u];if(!(f[Cs]||f[he]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(n)||"";v=t+v;var x=o.get(v);x?x.push(f):o.set(v,[f])}}return o}function sy(t,n,s){t=t.ownerDocument||t,t.head.insertBefore(s,n==="title"?t.querySelector("head > title"):null)}function ZT(t,n,s){if(s===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function ry(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function JT(t,n,s,o){if(s.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var u=ns(o.href),f=n.querySelector(fr(u));if(f){n=f._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=il.bind(t),n.then(t,t)),s.state.loading|=4,s.instance=f,le(f);return}f=n.ownerDocument||n,o=ny(o),(u=an.get(u))&&hf(o,u),f=f.createElement("link"),le(f);var v=f;v._p=new Promise(function(x,M){v.onload=x,v.onerror=M}),ye(f,"link",o),s.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(s,n),(n=s.state.preload)&&(s.state.loading&3)===0&&(t.count++,s=il.bind(t),n.addEventListener("load",s),n.addEventListener("error",s))}}var pf=0;function $T(t,n){return t.stylesheets&&t.count===0&&sl(t,t.stylesheets),0<t.count||0<t.imgCount?function(s){var o=setTimeout(function(){if(t.stylesheets&&sl(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},6e4+n);0<t.imgBytes&&pf===0&&(pf=62500*OT());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&sl(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>pf?50:800)+n);return t.unsuspend=s,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(u)}}:null}function il(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sl(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var al=null;function sl(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,al=new Map,n.forEac
vendor: 9,856 bytes, line 10
10h(WT,t),al=null,il.call(t))}function WT(t,n){if(!(n.state.loading&4)){var s=al.get(t);if(s)var o=s.get(null);else{s=new Map,al.set(t,s);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var v=u[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(s.set(v.dataset.precedence,v),o=v)}o&&s.set(null,o)}u=n.instance,v=u.getAttribute("data-precedence"),f=s.get(v)||o,f===o&&s.set(null,u),s.set(v,u),this.count++,o=il.bind(this),u.addEventListener("load",o),u.addEventListener("error",o),f?f.parentNode.insertBefore(u,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),n.state.loading|=4}}var hr={$$typeof:O,Provider:null,Consumer:null,_currentValue:et,_currentValue2:et,_threadCount:0};function tA(t,n,s,o,u,f,v,x,M){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=uu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.hiddenUpdates=uu(null),this.identifierPrefix=o,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function oy(t,n,s,o,u,f,v,x,M,V,I,F){return t=new tA(t,n,s,v,M,V,I,F,x),n=1,f===!0&&(n|=24),f=ke(3,null,null,n),t.current=f,f.stateNode=t,n=Xu(),n.refCount++,t.pooledCache=n,n.refCount++,f.memoizedState={element:o,isDehydrated:s,cache:n},Ju(f),t}function ly(t){return t?(t=ja,t):ja}function uy(t,n,s,o,u,f){u=ly(u),o.context===null?o.context=u:o.pendingContext=u,o=ri(n),o.payload={element:s},f=f===void 0?null:f,f!==null&&(o.callback=f),s=oi(t,o,n),s!==null&&(Oe(s,t,n),Gs(s,t,n))}function cy(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<n?s:n}}function gf(t,n){cy(t,n),(t=t.alternate)&&cy(t,n)}function fy(t){if(t.tag===13||t.tag===31){var n=Yi(t,67108864);n!==null&&Oe(n,t,67108864),gf(t,67108864)}}function dy(t){if(t.tag===13||t.tag===31){var n=Ge();n=cu(n);var s=Yi(t,n);s!==null&&Oe(s,t,n),gf(t,n)}}var rl=!0;function eA(t,n,s,o){var u=U.T;U.T=null;var f=$.p;try{$.p=2,yf(t,n,s,o)}finally{$.p=f,U.T=u}}function nA(t,n,s,o){var u=U.T;U.T=null;var f=$.p;try{$.p=8,yf(t,n,s,o)}finally{$.p=f,U.T=u}}function yf(t,n,s,o){if(rl){var u=vf(o);if(u===null)nf(t,n,o,ol,s),my(t,o);else if(aA(u,t,n,s,o))o.stopPropagation();else if(my(t,o),n&4&&-1<iA.indexOf(t)){for(;u!==null;){var f=Aa(u);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=Ui(f.pendingLanes);if(v!==0){var x=f;for(x.pendingLanes|=2,x.entangledLanes|=2;v;){var M=1<<31-Be(v);x.entanglements[1]|=M,v&=~M}bn(f),(Ct&6)===0&&(qo=xe()+500,or(0))}}break;case 31:case 13:x=Yi(f,2),x!==null&&Oe(x,f,2),Go(),gf(f,2)}if(f=vf(o),f===null&&nf(t,n,o,ol,s),f===u)break;u=f}u!==null&&o.stopPropagation()}else nf(t,n,o,null,s)}}function vf(t){return t=bu(t),bf(t)}var ol=null;function bf(t){if(ol=null,t=Ta(t),t!==null){var n=c(t);if(n===null)t=null;else{var s=n.tag;if(s===13){if(t=d(n),t!==null)return t;t=null}else if(s===31){if(t=h(n),t!==null)return t;t=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return ol=t,null}function hy(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ut()){case de:return 2;case pn:return 8;case Sa:case qx:return 32;case Ah:return 268435456;default:return 32}default:return 32}}var Sf=!1,vi=null,bi=null,Si=null,mr=new Map,pr=new Map,xi=[],iA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function my(t,n){switch(t){case"focusin":case"focusout":vi=null;break;case"dragenter":case"dragleave":bi=null;break;case"mouseover":case"mouseout":Si=null;break;case"pointerover":case"pointerout":mr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(n.pointerId)}}function gr(t,n,s,o,u,f){return t===null||t.nativeEvent!==f?(t={blockedOn:n,domEventName:s,eventSystemFlags:o,nativeEvent:f,targetContainers:[u]},n!==null&&(n=Aa(n),n!==null&&fy(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,u!==null&&n.indexOf(u)===-1&&n.push(u),t)}function aA(t,n,s,o,u){switch(n){case"focusin":return vi=gr(vi,t,n,s,o,u),!0;case"dragenter":return bi=gr(bi,t,n,s,o,u),!0;case"mouseover":return Si=gr(Si,t,n,s,o,u),!0;case"pointerover":var f=u.pointerId;return mr.set(f,gr(mr.get(f)||null,t,n,s,o,u)),!0;case"gotpointercapture":return f=u.pointerId,pr.set(f,gr(pr.get(f)||null,t,n,s,o,u)),!0}return!1}function py(t){var n=Ta(t.target);if(n!==null){var s=c(n);if(s!==null){if(n=s.tag,n===13){if(n=d(s),n!==null){t.blockedOn=n,Mh(t.priority,function(){dy(s)});return}}else if(n===31){if(n=h(s),n!==null){t.blockedOn=n,Mh(t.priority,function(){dy(s)});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ll(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var s=vf(t.nativeEvent);if(s===null){s=t.nativeEvent;var o=new s.constructor(s.type,s);vu=o,s.target.dispatchEvent(o),vu=null}else return n=Aa(s),n!==null&&fy(n),t.blockedOn=s,!1;n.shift()}return!0}function gy(t,n,s){ll(t)&&s.delete(n)}function sA(){Sf=!1,vi!==null&&ll(vi)&&(vi=null),bi!==null&&ll(bi)&&(bi=null),Si!==null&&ll(Si)&&(Si=null),mr.forEach(gy),pr.forEach(gy)}function ul(t,n){t.blockedOn===n&&(t.blockedOn=null,Sf||(Sf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,sA)))}var cl=null;function yy(t){cl!==t&&(cl=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){cl===t&&(cl=null);for(var n=0;n<t.length;n+=3){var s=t[n],o=t[n+1],u=t[n+2];if(typeof o!="function"){if(bf(o||s)===null)continue;break}var f=Aa(s);f!==null&&(t.splice(n,3),n-=3,yc(f,{pending:!0,data:u,method:s.method,action:o},o,u))}}))}function as(t){function n(M){return ul(M,t)}vi!==null&&ul(vi,t),bi!==null&&ul(bi,t),Si!==null&&ul(Si,t),mr.forEach(n),pr.forEach(n);for(var s=0;s<xi.length;s++){var o=xi[s];o.blockedOn===t&&(o.blockedOn=null)}for(;0<xi.length&&(s=xi[0],s.blockedOn===null);)py(s),s.blockedOn===null&&xi.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var u=s[o],f=s[o+1],v=u[Re]||null;if(typeof f=="function")v||yy(s);else if(v){var x=null;if(f&&f.hasAttribute("formAction")){if(u=f,v=f[Re]||null)x=v.formAction;else if(bf(u)!==null)continue}else x=v.action;typeof x=="function"?s[o+1]=x:(s.splice(o,3),o-=3),yy(s)}}}function vy(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(v){return u=v})},focusReset:"manual",scroll:"manual"})}function n(){u!==null&&(u(),u=null),o||setTimeout(s,20)}function s(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(s,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),u!==null&&(u(),u=null)}}}function xf(t){this._internalRoot=t}fl.prototype.render=xf.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));var s=n.current,o=Ge();uy(s,o,t,n,null,null)},fl.prototype.unmount=xf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;uy(t.current,2,null,t,null,null),Go(),n[xa]=null}};function fl(t){this._internalRoot=t}fl.prototype.unstable_scheduleHydration=function(t){if(t){var n=Ch();t={blockedOn:null,target:t,priority:n};for(var s=0;s<xi.length&&n!==0&&n<xi[s].priority;s++);xi.splice(s,0,t),s===0&&py(t)}};var by=i.version;if(by!=="19.2.5")throw Error(r(527,by,"19.2.5"));$.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(n),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var rA={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.5"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dl.isDisabled&&dl.supportsFiber)try{Es=dl.inject(rA),Ve=dl}catch{}}return vr.createRoot=function(t,n){if(!l(t))throw Error(r(299));var s=!1,o="",u=Rp,f=_p,v=Cp;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError)),n=oy(t,1,!1,null,null,s,o,null,u,f,v,vy),t[xa]=n.current,ef(t),new xf(n)},vr.hydrateRoot=function(t,n,s){if(!l(t))throw Error(r(299));var o=!1,u="",f=Rp,v=_p,x=Cp,M=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(u=s.identifierPrefix),s.onUncaughtError!==void 0&&(f=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(x=s.onRecoverableError),s.formState!==void 0&&(M=s.formState)),n=oy(t,1,!0,n,s??null,o,u,M,f,v,x,vy),n.context=ly(null),s=n.current,o=Ge(),o=cu(o),u=ri(o),u.callback=null,oi(s,u,o),s=o,n.current.lanes=s,_s(n,s),bn(n),t[xa]=n.current,ef(t),new fl(n)},vr.version="19.2.5",vr}var My;function yA(){if(My)return wf.exports;My=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}return e(),wf.exports=gA(),wf.exports}var vA=yA(),bA="__TSS_CONTEXT",rd=Symbol.for("TSS_SERVER_FUNCTION"),SA="application/x-tss-framed",Xn={JSON:0,CHUNK:1,END:2,ERROR:3},xA=/;\s*v=(\d+)/;function TA(e){const i=e.match(xA);return i?parseInt(i[1],10):void 0}function AA(e){const i=TA(e);if(i!==void 0&&i!==1)throw new Error(`Incompatible framed protocol version: server=${i}, client=1. Please ensure client and server are using compatible versions.`)}var Y0=()=>window.__TSS_START_OPTIONS__,G0=!1;function Nr(e){return e[e.length-1]}function wA(e){return typeof e=="function"}function Ri(e,i){return wA(e)?e(i):e}var EA=Object.prototype.hasOwnProperty,Dy=Object.prototype.propertyIsEnumerable,RA=()=>Object.create(null),ia=(e,i)=>ra(e,i,RA);function ra(e,i,a=()=>({}),r=0){if(e===i)return e;if(r>500)return i;const l=i,c=Ny(e)&&Ny(l);if(!c&&!(gs(e)&&gs(l)))return l;const d=c?e:Ly(e);if(!d)return l;const h=c?l:Ly(l);if(!h)return l;const p=d.length,m=h.length,g=c?new Array(m):a();let y=0;for(let b=0;b<m;b++){const S=c?b:h[b],A=e[S],C=l[S];if(A===C){g[S]=A,(c?b<p:EA.call(e,S))&&y++;continue}if(A===null||C===null||typeof A!="object"||typeof C!="object"){g[S]=C;continue}const w=ra(A,C,a,r+1);g[S]=w,w===A&&y++}return p===m&&y===p?e:g}function Ly(e){const i=Object.getOwnPropertyNames(e);for(const l of i)if(!Dy.call(e,l))return!1;const a=Object.getOwnPropertySymbols(e);if(a.length===0)return i;const r=i;for(const l of a){if(!Dy.call(e,l))return!1;r.push(l)}return r}function gs(e){if(!Oy(e))return!1;const i=e.constructor;if(typeof i>"u")return!0;const a=i.prototype;return!(!Oy(a)||!a.hasOwnProperty("isPrototypeOf"))}function Oy(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ny(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ne(e,i,a){if(e===i)return!0;if(typeof e!=typeof i)return!1;if(Array.isArray(e)&&Array.isArray(i)){if(e.length!==i.length)return!1;for(let r=0,l=e.length;r<l;r++)if(!Ne(e[r],i[r],a))return!1;return!0}if(gs(e)&&gs(i)){const r=a?.ignoreUndefined??!0;if(a?.partial){for(const d in i)if((!r||i[d]!==void 0)&&!Ne(e[d],i[d],a))return!1;return!0}let l=0;if(!r)l=Object.keys(e).length;else for(const d in e)e[d]!==void 0&&l++;let c=0;for(const d in i)if((!r||i[d]!==void 0)&&(c++,c>l||!Ne(e[d],i[d],a)))return!1;return l===c}return!1}function ga(e){let i,a;const r=new Promise((l,c)=>{i=l,a=c});return r.status="pending",r.resolve=l=>{r.status="resolved",r.value=l,i(l),e?.(l)},r.reject=l=>{r.status="rejected",a(l)},r}function _A(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function jr(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}function CA(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function jy(e){let i;try{i=decodeURI(e)}catch{i=e.replaceAll(/%[0-9A-F]{2}/gi,a=>{try{return decodeURI(a)}catch{return a}})}return CA(i)}var MA=["http:","https:","mailto:","tel:"];function Nl(e,i){if(!e)return!1;try{const a=new URL(e);return!i.has(a.protocol)}catch{return!1}}var DA={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},LA=/[&><\u2028\u2029]/g;function OA(e){return e.replace(LA,i=>DA[i])}function br(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let a=0,r="",l;for(;(l=i.exec(e))!==null;)r+=jy(e.slice(a,l.index))+l[0],a=i.lastIndex;r=r+jy(a?e.slice(a):e);let c=!1;return r.startsWith("//")&&(c=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:c}}function NA(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function jA(e,i){if(e===i)return!0;
10if(e.length!==i.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return!1;return!0}function ze(){throw new Error("Invariant failed")}function zr(e){const i=new Map;let a,r;const l=c=>{c.next&&(c.prev?(c.prev.next=c.next,c.next.prev=c.prev,c.next=void 0,r&&(r.next=c,c.prev=r)):(c.next.prev=void 0,a=c.next,c.next=void 0,r&&(c.prev=r,r.next=c)),r=c)};return{get(c){const d=i.get(c);if(d)return l(d),d.value},set(c,d){if(i.size>=e&&a){const p=a;i.delete(p.key),p.next&&(a=p.next,p.next.prev=void 0),p===r&&(r=void 0)}const h=i.get(c);if(h)h.value=d,l(h);else{const p={key:c,value:d,prev:r};r&&(r.next=p),r=p,a||(a=p),i.set(c,p)}},clear(){i.clear(),a=void 0,r=void 0}}}var oa=4,F0=5;function zA(e){const i=e.indexOf("{");if(i===-1)return null;const a=e.indexOf("}",i);return a===-1||i+1>=e.length?null:[i,a]}function Bd(e,i,a=new Uint16Array(6)){const r=e.indexOf("/",i),l=r===-1?e.length:r,c=e.substring(i,l);if(!c||!c.includes("$"))return a[0]=0,a[1]=i,a[2]=i,a[3]=l,a[4]=l,a[5]=l,a;if(c==="$"){const h=e.length;return a[0]=2,a[1]=i,a[2]=i,a[3]=h,a[4]=h,a[5]=h,a}if(c.charCodeAt(0)===36)return a[0]=1,a[1]=i,a[2]=i+1,a[3]=l,a[4]=l,a[5]=l,a;const d=zA(c);if(d){const[h,p]=d,m=c.charCodeAt(h+1);if(m===45){if(h+2<c.length&&c.charCodeAt(h+2)===36){const g=h+3,y=p;if(g<y)return a[0]=3,a[1]=i+h,a[2]=i+g,a[3]=i+y,a[4]=i+p+1,a[5]=l,a}}else if(m===36){const g=h+1,y=h+2;return y===p?(a[0]=2,a[1]=i+h,a[2]=i+g,a[3]=i+y,a[4]=i+p+1,a[5]=e.length,a):(a[0]=1,a[1]=i+h,a[2]=i+y,a[3]=i+p,a[4]=i+p+1,a[5]=l,a)}}return a[0]=0,a[1]=i,a[2]=i,a[3]=l,a[4]=l,a[5]=l,a}function Ql(e,i,a,r,l,c,d){d?.(a);let h=r;{const p=a.fullPath??a.from,m=p.length,g=a.options?.caseSensitive??e,y=!!(a.options?.params?.parse&&a.options?.skipRouteOnParseError?.params);for(;h<m;){const S=Bd(p,h,i);let A;const C=h,w=S[5];switch(h=w+1,c++,S[0]){case 0:{const _=p.substring(S[2],S[3]);if(g){const j=l.static?.get(_);if(j)A=j;else{l.static??=new Map;const O=la(a.fullPath??a.from);O.parent=l,O.depth=c,A=O,l.static.set(_,O)}}else{const j=_.toLowerCase(),O=l.staticInsensitive?.get(j);if(O)A=O;else{l.staticInsensitive??=new Map;const z=la(a.fullPath??a.from);z.parent=l,z.depth=c,A=z,l.staticInsensitive.set(j,z)}}break}case 1:{const _=p.substring(C,S[1]),j=p.substring(S[4],w),O=g&&!!(_||j),z=_?O?_:_.toLowerCase():void 0,X=j?O?j:j.toLowerCase():void 0,J=!y&&l.dynamic?.find(H=>!H.skipOnParamError&&H.caseSensitive===O&&H.prefix===z&&H.suffix===X);if(J)A=J;else{const H=Mf(1,a.fullPath??a.from,O,z,X);A=H,H.depth=c,H.parent=l,l.dynamic??=[],l.dynamic.push(H)}break}case 3:{const _=p.substring(C,S[1]),j=p.substring(S[4],w),O=g&&!!(_||j),z=_?O?_:_.toLowerCase():void 0,X=j?O?j:j.toLowerCase():void 0,J=!y&&l.optional?.find(H=>!H.skipOnParamError&&H.caseSensitive===O&&H.prefix===z&&H.suffix===X);if(J)A=J;else{const H=Mf(3,a.fullPath??a.from,O,z,X);A=H,H.parent=l,H.depth=c,l.optional??=[],l.optional.push(H)}break}case 2:{const _=p.substring(C,S[1]),j=p.substring(S[4],w),O=g&&!!(_||j),z=_?O?_:_.toLowerCase():void 0,X=j?O?j:j.toLowerCase():void 0,J=Mf(2,a.fullPath??a.from,O,z,X);A=J,J.parent=l,J.depth=c,l.wildcard??=[],l.wildcard.push(J)}}l=A}if(y&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){const S=la(a.fullPath??a.from);S.kind=F0,S.parent=l,c++,S.depth=c,l.pathless??=[],l.pathless.push(S),l=S}const b=(a.path||!a.children)&&!a.isRoot;if(b&&p.endsWith("/")){const S=la(a.fullPath??a.from);S.kind=oa,S.parent=l,c++,S.depth=c,l.index=S,l=S}l.parse=a.options?.params?.parse??null,l.skipOnParamError=y,l.parsingPriority=a.options?.skipRouteOnParseError?.priority??0,b&&!l.route&&(l.route=a,l.fullPath=a.fullPath??a.from)}if(a.children)for(const p of a.children)Ql(e,i,p,h,l,c,d)}function Cf(e,i){if(e.skipOnParamError&&!i.skipOnParamError)return-1;if(!e.skipOnParamError&&i.skipOnParamError)return 1;if(e.skipOnParamError&&i.skipOnParamError&&(e.parsingPriority||i.parsingPriority))return i.parsingPriority-e.parsingPriority;if(e.prefix&&i.prefix&&e.prefix!==i.prefix){if(e.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(e.prefix))return 1}
10if(e.suffix&&i.suffix&&e.suffix!==i.suffix){if(e.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(e.suffix))return 1}return e.prefix&&!i.prefix?-1:!e.prefix&&i.prefix?1:e.suffix&&!i.suffix?-1:!e.suffix&&i.suffix?1:e.caseSensitive&&!i.caseSensitive?-1:!e.caseSensitive&&i.caseSensitive?1:0}function wi(e){if(e.pathless)for(const i of e.pathless)wi(i);if(e.static)for(const i of e.static.values())wi(i);if(e.staticInsensitive)for(const i of e.staticInsensitive.values())wi(i);if(e.dynamic?.length){e.dynamic.sort(Cf);for(const i of e.dynamic)wi(i)}if(e.optional?.length){e.optional.sort(Cf);for(const i of e.optional)wi(i)}if(e.wildcard?.length){e.wildcard.sort(Cf);for(const i of e.wildcard)wi(i)}}function la(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function Mf(e,i,a,r,l){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:a,prefix:r,suffix:l}}function PA(e,i){const a=la("/"),r=new Uint16Array(6);for(const l of e)Ql(!1,r,l,1,a,0);wi(a),i.masksTree=a,i.flatCache=zr(1e3)}function VA(e,i){e||="/";const a=i.flatCache.get(e);if(a)return a;const r=Ud(e,i.masksTree);return i.flatCache.set(e,r),r}function BA(e,i,a,r,l){e||="/",r||="/";const c=i?`case\0${e}`:e;let d=l.singleCache.get(c);return d||(d=la("/"),Ql(i,new Uint16Array(6),{from:e},1,d,0),l.singleCache.set(c,d)),Ud(r,d,a)}function UA(e,i,a=!1){const r=a?e:`nofuzz\0${e}`,l=i.matchCache.get(r);if(l!==void 0)return l;e||="/";let c;try{c=Ud(e,i.segmentTree,a)}catch(d){if(d instanceof URIError)c=null;else throw d}return c&&(c.branch=IA(c.route)),i.matchCache.set(r,c),c}function kA(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function HA(e,i=!1,a){const r=la(e.fullPath),l=new Uint16Array(6),c={},d={};let h=0;return Ql(i,l,e,1,r,0,p=>{if(a?.(p,h),p.id in c&&ze(),c[p.id]=p,h!==0&&p.path){const m=kA(p.fullPath);(!d[m]||p.fullPath.endsWith("/"))&&(d[m]=p)}h++}),wi(r),{processedTree:{segmentTree:r,singleCache:zr(1e3),matchCache:zr(1e3),flatCache:null,masksTree:null},routesById:c,routesByPath:d}}function Ud(e,i,a=!1){const r=e.split("/"),l=YA(e,r,i,a);if(!l)return null;const[c]=X0(e,r,l);return{route:l.node.route,rawParams:c,parsedParams:l.parsedParams}}function X0(e,i,a){const r=qA(a.node);let l=null;const c=Object.create(null);let d=a.extract?.part??0,h=a.extract?.node??0,p=a.extract?.path??0,m=a.extract?.segment??0;for(;h<r.length;d++,h++,p++,m++){const g=r[h];if(g.kind===oa)break;if(g.kind===F0){m--,d--,p--;continue}const y=i[d],b=p;if(y&&(p+=y.length),g.kind===1){l??=a.node.fullPath.split("/");const S=l[m],A=g.prefix?.length??0;if(S.charCodeAt(A)===123){const C=g.suffix?.length??0,w=S.substring(A+2,S.length-C-1),_=y.substring(A,y.length-C);c[w]=decodeURIComponent(_)}else{const C=S.substring(1);c[C]=decodeURIComponent(y)}}else if(g.kind===3){if(a.skipped&1<<h){d--,p=b-1;continue}l??=a.node.fullPath.split("/");const S=l[m],A=g.prefix?.length??0,C=g.suffix?.length??0,w=S.substring(A+3,S.length-C-1),_=g.suffix||g.prefix?y.substring(A,y.length-C):y;_&&(c[w]=decodeURIComponent(_))}else if(g.kind===2){const S=g,A=e.substring(b+(S.prefix?.length??0),e.length-(S.suffix?.length??0)),C=decodeURIComponent(A);c["*"]=C,c._splat=C;break}}return a.rawParams&&Object.assign(c,a.rawParams),[c,{part:d,node:h,path:p,segment:m}]}function IA(e){const i=[e];for(;e.parentRoute;)e=e.parentRoute,i.push(e);return i.reverse(),i}function qA(e){const i=Array(e.depth+1);do i[e.depth]=e,e=e.parent;while(e);return i}function YA(e,i,a,r){if(e==="/"&&a.index)return{node:a.index,skipped:0};const l=!Nr(i),c=l&&e!=="/",d=i.length-(l?1:0),h=[{node:a,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let p=null,m=null,g=null;for(;h.length;){const y=h.pop(),{node:b,index:S,skipped:A,depth:C,statics:w,dynamics:_,optionals:j}=y;let{extract:O,rawParams:z,parsedParams:X}=y;if(b.skipOnParamError){if(!Df(e,i,y))continue;z=y.rawParams,O=y.extract,X=y.parsedParams}r&&b.route&&b.kind!==oa&&Sr(m,y)&&(m=y);const J=S===d;if(J&&(b.route&&!c&&Sr(g,y)&&(g=y),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const H=J?void 0:i[S];let Y;if(J&&b.index){const Q={node:b.index,index:S,skipped:A,depth:C+1,statics:w,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X};let Z=!0;if(b.index.skipOnParamError&&(Df(e,i,Q)||(Z=!1)),Z){if(w===d&&!_&&!j&&!A)return Q;Sr(g,Q)&&(g=Q)}}if(b.wildcard&&Sr(p,y))for(const Q of b.wildcard){const{prefix:Z,suffix:W}=Q;if(Z&&(J||!(Q.caseSensitive?H:Y??=H.toLowerCase()).startsWith(Z)))continue;if(W){if(J)continue;const dt=i.slice(S).join("/").slice(-W.length);if((Q.caseSensitive?dt:dt.toLowerCase())!==W)continue}const lt={node:Q,index:d,skipped:A,depth:C,statics:w,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X};if(!(Q.skipOnParamError&&!Df(e,i,lt))){p=lt;break}}if(b.optional){const Q=A|1<<C,Z=C+1;for(let W=b.optional.length-1;W>=0;W--){const lt=b.optional[W];h.push({node:lt,index:S,skipped:Q,depth:Z,statics:w,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X})}if(!J)for(let W=b.optional.length-1;W>=0;W--){const lt=b.optional[W],{prefix:dt,suffix:At}=lt;if(dt||At){const gt=lt.caseSensitive?H:Y??=H.toLowerCase();if(dt&&!gt.startsWith(dt)||At&&!gt.endsWith(At))continue}h.push({node:lt,index:S+1,skipped:A,depth:Z,statics:w,dynamics:_,optionals:j+1,extract:O,rawParams:z,parsedParams:X})}}if(!J&&b.dynamic&&H)for(let Q=b.dynamic.length-1;Q>=0;Q--){const Z=b.dynamic[Q],{prefix:W,suffix:lt}=Z;if(W||lt){const dt=Z.caseSensitive?H:Y??=H.toLowerCase();if(W&&!dt.startsWith(W)||lt&&!dt.endsWith(lt))continue}h.push({node:Z,index:S+1,skipped:A,depth:C+1,statics:w,dynamics:_+1,optionals:j,extract:O,rawParams:z,parsedParams:X})}if(!J&&b.staticInsensitive){const Q=b.staticInsensitive.get(Y??=H.toLowerCase());Q&&h.push({node:Q,index:S+1,skipped:A,depth:C+1,statics:w+1,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X})}if(!J&&b.static){const Q=b.static.get(H);Q&&h.push({node:Q,index:S+1,skipped:A,depth:C+1,statics:w+1,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X})}if(b.pathless){const Q=C+1;for(let Z=b.pathless.length-1;Z>=0;Z--){const W=b.pathless[Z];h.push({node:W,index:S,skipped:A,depth:Q,statics:w,dynamics:_,optionals:j,extract:O,rawParams:z,parsedParams:X})}}}if(g&&p)return Sr(p,g)?g:p;if(g)return g;if(p)return p;if(r&&m){let y=m.index;for(let S=0;S<m.index;S++)y+=i[S].length;const b=y===e.length?"/":e.slice(y);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(b),m}return null}function Df(e,i,a){try{const[r,l]=X0(e,i,a);a.rawParams=r,a.extract=l;const c=a.node.parse(r);return a.parsedParams=Object.assign(Object.create(null),a.parsedParams,c),!0}catch{return null}}function Sr(e,i){return e?i.statics>e.statics||i.statics===e.statics&&(i.dynamics>e.dynamics||i.dynamics===e.dynamics&&(i.optionals>e.optionals||i.optionals===e.optionals&&((i.node.kind===oa)>(e.node.kind===oa)||i.node.kind===oa==(e.node.kind===oa)&&i.depth>
10e.depth))):!0}function Sl(e){return kd(e.filter(i=>i!==void 0).join("/"))}function kd(e){return e.replace(/\/{2,}/g,"/")}function K0(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Mi(e){const i=e.length;return i>1&&e[i-1]==="/"?e.replace(/\/{1,}$/,""):e}function Q0(e){return Mi(K0(e))}function jl(e,i){return e?.endsWith("/")&&e!=="/"&&e!==`${i}/`?e.slice(0,-1):e}function GA(e,i,a){return jl(e,a)===jl(i,a)}function FA({base:e,to:i,trailingSlash:a="never",cache:r}){const l=i.startsWith("/"),c=!l&&i===".";let d;if(r){d=l?i:c?e:e+"\0"+i;const y=r.get(d);if(y)return y}let h;if(c)h=e.split("/");else if(l)h=i.split("/");else{for(h=e.split("/");h.length>1&&Nr(h)==="";)h.pop();const y=i.split("/");for(let b=0,S=y.length;b<S;b++){const A=y[b];A===""?b?b===S-1&&h.push(A):h=[A]:A===".."?h.pop():A==="."||h.push(A)}}h.length>1&&(Nr(h)===""?a==="never"&&h.pop():a==="always"&&h.push(""));let p,m="";for(let y=0;y<h.length;y++){y>0&&(m+="/");const b=h[y];if(!b)continue;p=Bd(b,0,p);const S=p[0];if(S===0){m+=b;continue}const A=p[5],C=b.substring(0,p[1]),w=b.substring(p[4],A),_=b.substring(p[2],p[3]);S===1?m+=C||w?`${C}{$${_}}${w}`:`$${_}`:S===2?m+=C||w?`${C}{$}${w}`:"$":m+=`${C}{-$${_}}${w}`}
10m=kd(m);const g=m||"/";return d&&r&&r.set(d,g),g}function XA(e){const i=new Map(e.map(l=>[encodeURIComponent(l),l])),a=Array.from(i.keys()).map(l=>l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(a,"g");return l=>l.replace(r,c=>i.get(c)??c)}function Lf(e,i,a){const r=i[e];return typeof r!="string"?r:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(l=>Py(l,a)).join("/"):Py(r,a)}function zy({path:e,params:i,decoder:a,...r}){let l=!1;const c=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:c,isMissingParams:l};if(!e.includes("$"))return{interpolatedPath:e,usedParams:c,isMissingParams:l};const d=e.length;let h=0,p,m="";for(;h<d;){const g=h;p=Bd(e,g,p);const y=p[5];if(h=y+1,g===y)continue;const b=p[0];if(b===0){m+="/"+e.substring(g,y);continue}if(b===2){const S=i._splat;c._splat=S,c["*"]=S;const A=e.substring(g,p[1]),C=e.substring(p[4],y);if(!S){l=!0,(A||C)&&(m+="/"+A+C);continue}const w=Lf("_splat",i,a);m+="/"+A+w+C;continue}if(b===1){const S=e.substring(p[2],p[3]);!l&&!(S in i)&&(l=!0),c[S]=i[S];const A=e.substring(g,p[1]),C=e.substring(p[4],y),w=Lf(S,i,a)??"undefined";m+="/"+A+w+C;continue}if(b===3){const S=e.substring(p[2],p[3]),A=i[S];if(A==null)continue;c[S]=A;const C=e.substring(g,p[1]),w=e.substring(p[4],y),_=Lf(S,i,a)??"";m+="/"+C+_+w;continue}}return e.endsWith("/")&&(m+="/"),{usedParams:c,interpolatedPath:m||"/",isMissingParams:l}}function Py(e,i){const a=encodeURIComponent(e);return i?.(a)??a}function Zl(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function ce(e){return e?.isNotFound===!0}function KA(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var QA="tsr-scroll-restoration-v1_3";function ZA(){const e=KA();if(!e)return null;let i={};try{const r=JSON.parse(e.getItem("tsr-scroll-restoration-v1_3")||"{}");gs(r)&&(i=r)}catch{}return{get state(){return i},set:r=>{i=Ri(r,i)||i},persist:()=>{try{e.setItem(QA,JSON.stringify(i))}catch{}}}}var Vy=ZA(),JA=e=>e.state.__TSR_key||e.href;function $A(e){const i=[];let a;for(;a=e.parentNode;)i.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(a.children,e)+1})`),e=a;return`${i.reverse().join(" > ")}`.toLowerCase()}var hl=!1,xr="window",By="data-scroll-restoration-id";function WA(e,i){if(!Vy)return;const a=Vy;if((e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!a)return;e.isScrollRestorationSetup=!0,hl=!1;const r=e.options.getScrollRestorationKey||JA,l=new Map;window.history.scrollRestoration="manual";const c=h=>{if(!(hl||!e.isScrollRestoring))if(h.target===document||h.target===window)l.set(xr,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const p=h.target;l.set(p,{scrollX:p.scrollLeft||0,scrollY:p.scrollTop||0})}},d=h=>{if(!e.isScrollRestoring||!h||l.size===0||!a)return;const p=a.state[h]||={};for(const[m,g]of l){let y;if(m===xr)y=xr;else if(m.isConnected){const b=m.getAttribute(By);y=b?`[${By}="${b}"]`:$A(m)}y&&(p[y]=g)}};document.addEventListener("scroll",c,!0),e.subscribe("onBeforeLoad",h=>{d(h.fromLocation?r(h.fromLocation):void 0),l.clear()}),window.addEventListener("pagehide",()=>{d(r(e.stores.resolvedLocation.get()??e.stores.location.get())),a.persist()}),e.subscribe("onRendered",h=>{const p=r(h.toLocation),m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors;if(l.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))){hl=!0;try{const y=e.isScrollRestoring?a.state[p]:void 0;let b=!1;if(y)for(const S in y){const A=y[S];if(!gs(A))continue;const{scrollX:C,scrollY:w}=A;if(!(!Number.isFinite(C)||!Number.isFinite(w))){if(S===xr)window.scrollTo({top:w,left:C,behavior:m}),b=!0;else if(S){let _;try{_=document.querySelector(S)}catch{continue}_&&(_.scrollLeft=C,_.scrollTop=w,b=!0)}}}if(!b){const S=e.history.location.hash.slice(1);if(S){const A=window.history.state?.__hashScrollIntoViewOptions??!0;if(A){const C=document.getElementById(S);C&&C.scrollIntoView(A)}}else{const A={top:0,left:0,behavior:m};if(window.scrollTo(A),g)for(const C of g){if(C===xr)continue;const w=typeof C=="function"?C():document.querySelector(C);w&&w.scrollTo(A)}}}}finally{hl=!1}e.isScrollRestoring&&a.set(y=>(y[p]||={},y))}})}function Z0(e,i=String){const a=new URLSearchParams;for(const r in e){const l=e[r];l!==void 0&&a.set(r,i(l))}return a.toString()}function Of(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function tw(e){const i=new URLSearchParams(e),a=Object.create(null);for(const[r,l]of i.entries()){const c=a[r];c==null?a[r]=Of(l):Array.isArray(c)?c.push(Of(l)):a[r]=[c,Of(l)]}return a}var ew=iw(JSON.parse),nw=aw(JSON.stringify,JSON.parse);function iw(e){return i=>{i[0]==="?"&&(i=i.substring(1));const a=tw(i);for(const r in a){const l=a[r];if(typeof l=="string")try{a[r]=e(l)}catch{}}return a}}function aw(e,i){const a=typeof i=="function";function r(l){if(typeof l=="object"&&l!==null)try{return e(l)}catch{}else if(a&&typeof l=="string")try{return i(l),e(l)}catch{}return l}return l=>{const c=Z0(l,r);return c?`?${c}`:""}}var da="__root__";function J0(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const i=new Headers(e.headers);e.href&&i.get("Location")===null&&i.set("Location",e.href);const a=new Response(null,{status:e.statusCode,headers:i});if(a.options=e,e.throw)throw a;return a}function je(e){return e instanceof Response&&!!e.options}function sw(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return J0(e)}function rw(e){return{input:({url:i})=>{for(const a of e)i=od(a,i);return i},output:({url:i})=>{for(let a=e.length-1;a>=0;a--)i=$0(e[a],i);return i}}}function ow(e){const i=Q0(e.basepath),a=`/${i}`,r=`${a}/`,l=e.caseSensitive?a:a.toLowerCase(),c=e.caseSensitive?r:r.toLowerCase();return{input:({url:d})=>{const h=e.caseSensitive?d.pathname:d.pathname.toLowerCase();return h===l?d.pathname="/":h.startsWith(c)&&(d.pathname=d.pathname.slice(a.length)),d},output:({url:d})=>(d.pathname=Sl(["/",i,d.pathname]),d)}}function od(e,i){const a=e?.input?.({url:i});
10if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return i}function $0(e,i){const a=e?.output?.({url:i});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return i}function lw(e,i){const{createMutableStore:a,createReadonlyStore:r,batch:l,init:c}=i,d=new Map,h=new Map,p=new Map,m=a(e.status),g=a(e.loadedAt),y=a(e.isLoading),b=a(e.isTransitioning),S=a(e.location),A=a(e.resolvedLocation),C=a(e.statusCode),w=a(e.redirect),_=a([]),j=a([]),O=a([]),z=r(()=>Nf(d,_.get())),X=r(()=>Nf(h,j.get())),J=r(()=>Nf(p,O.get())),H=r(()=>_.get()[0]),Y=r(()=>_.get().some($=>d.get($)?.get().status==="pending")),Q=r(()=>({locationHref:S.get().href,resolvedLocationHref:A.get()?.href,status:m.get()})),Z=r(()=>({status:m.get(),loadedAt:g.get(),isLoading:y.get(),isTransitioning:b.get(),matches:z.get(),location:S.get(),resolvedLocation:A.get(),statusCode:C.get(),redirect:w.get()})),W=zr(64);function lt($){let et=W.get($);return et||(et=r(()=>{const ct=_.get();for(const yt of ct){const D=d.get(yt);if(D&&D.routeId===$)return D.get()}}),W.set($,et)),et}const dt={status:m,loadedAt:g,isLoading:y,isTransitioning:b,location:S,resolvedLocation:A,statusCode:C,redirect:w,matchesId:_,pendingIds:j,cachedIds:O,matches:z,pendingMatches:X,cachedMatches:J,firstId:H,hasPending:Y,matchRouteDeps:Q,matchStores:d,pendingMatchStores:h,cachedMatchStores:p,__store:Z,getRouteMatchStore:lt,setMatches:At,setPending:gt,setCached:U};At(e.matches),c?.(dt);function At($){jf($,d,_,a,l)}function gt($){jf($,h,j,a,l)}function U($){jf($,p,O,a,l)}return dt}function Nf(e,i){const a=[];for(const r of i){const l=e.get(r);l&&a.push(l.get())}return a}function jf(e,i,a,r,l){const c=e.map(h=>h.id),d=new Set(c);l(()=>{for(const h of i.keys())d.has(h)||i.delete(h);for(const h of e){const p=i.get(h.id);if(!p){const m=r(h);m.routeId=h.routeId,i.set(h.id,m);continue}p.routeId=h.routeId,p.get()!==h&&p.set(h)}jA(a.get(),c)||a.set(c)})}var ld=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},uw=e=>e.stores.matchesId.get().some(i=>e.stores.matchStores.get(i)?.get()._forcePending),Jl=(e,i)=>!!(e.preload&&!e.router.stores.matchStores.has(i)),ha=(e,i,a=!0)=>{const r={...e.router.options.context??{}},l=a?i:i-1;for(let c=0;c<=l;c++){const d=e.matches[c];if(!d)continue;const h=e.router.getMatch(d.id);h&&Object.assign(r,h.__routeContext,h.__beforeLoadContext)}return r},Uy=(e,i)=>{if(!e.matches.length)return;const a=i.routeId,r=e.matches.findIndex(d=>d.routeId===e.router.routeTree.id),l=r>=0?r:0;let c=a?e.matches.findIndex(d=>d.routeId===a):e.firstBadMatchIndex??e.matches.length-1;c<0&&(c=l);for(let d=c;d>=0;d--){const h=e.matches[d];if(e.router.looseRoutesById[h.routeId].options.notFoundComponent)return d}return a?c:l},_i=(e,i,a)=>{if(!(!je(a)&&!ce(a)))throw je(a)&&a.redirectHandled&&!a.options.reloadDocument||(i&&(i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.loaderPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=a,e.updateMatch(i.id,r=>({...r,status:je(a)?"redirected":ce(a)?"notFound":r.status==="pending"?"success":r.status,context:ha(e,i.index),isFetching:!1,error:a})),ce(a)&&!a.routeId&&(a.routeId=i.routeId),i._nonReactive.loadPromise?.resolve()),je(a)&&(e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a))),a},W0=(e,i)=>{const a=e.router.getMatch(i);return!!(!a||a._nonReactive.dehydrated)},ky=(e,i,a)=>{const r=ha(e,a);e.updateMatch(i,l=>({...l,context:r}))},Tr=(e,i,a,r)=>{const{id:l,routeId:c}=e.matches[i],d=e.router.looseRoutesById[c];if(a instanceof Promise)throw a;a.routerCode=r,e.firstBadMatchIndex??=i,_i(e,e.router.getMatch(l),a);try{d.options.onError?.(a)}catch(h){a=h,_i(e,e.router.getMatch(l),a)}e.updateMatch(l,h=>(h._nonReactive.beforeLoadPromise?.resolve(),h._nonReactive.beforeLoadPromise=void 0,h._nonReactive.loadPromise?.resolve(),{...h,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!je(a)&&!ce(a)&&(e.serialError??=a)},tb=(e,i,a,r)=>
10{if(r._nonReactive.pendingTimeout!==void 0)return;const l=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Jl(e,i)&&(a.options.loader||a.options.beforeLoad||nb(a))&&typeof l=="number"&&l!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){const c=setTimeout(()=>{ld(e)},l);r._nonReactive.pendingTimeout=c}},cw=(e,i,a)=>{const r=e.router.getMatch(i);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;tb(e,i,a,r);const l=()=>{const c=e.router.getMatch(i);c.preload&&(c.status==="redirected"||c.status==="notFound")&&_i(e,c,c.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(l):l()},fw=(e,i,a,r)=>{const l=e.router.getMatch(i);let c=l._nonReactive.loadPromise;l._nonReactive.loadPromise=ga(()=>{c?.resolve(),c=void 0});const{paramsError:d,searchError:h}=l;d&&Tr(e,a,d,"PARSE_PARAMS"),h&&Tr(e,a,h,"VALIDATE_SEARCH"),tb(e,i,r,l);const p=new AbortController;let m=!1;const g=()=>{m||(m=!0,e.updateMatch(i,z=>({...z,isFetching:"beforeLoad",fetchCount:z.fetchCount+1,abortController:p})))},y=()=>{l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,e.updateMatch(i,z=>({...z,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{g(),y()});return}l._nonReactive.beforeLoadPromise=ga();const b={...ha(e,a,!1),...l.__routeContext},{search:S,params:A,cause:C}=l,w=Jl(e,i),_={search:S,abortController:p,params:A,preload:w,context:b,location:e.location,navigate:z=>e.router.navigate({...z,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:w?"preload":C,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},j=z=>{if(z===void 0){e.router.batch(()=>{g(),y()});return}(je(z)||ce(z))&&(g(),Tr(e,a,z,"BEFORE_LOAD")),e.router.batch(()=>{g(),e.updateMatch(i,X=>({...X,__beforeLoadContext:z})),y()})};let O;try{if(O=r.options.beforeLoad(_),jr(O))return g(),O.catch(z=>{Tr(e,a,z,"BEFORE_LOAD")}).then(j)}catch(z){g(),Tr(e,a,z,"BEFORE_LOAD")}j(O)},dw=(e,i)=>{const{id:a,routeId:r}=e.matches[i],l=e.router.looseRoutesById[r],c=()=>h(),d=()=>fw(e,a,i,l),h=()=>{if(W0(e,a))return;const p=cw(e,a,l);return jr(p)?p.then(d):d()};return c()},hw=(e,i,a)=>{const r=e.router.getMatch(i);if(!r||!a.options.head&&!a.options.scripts&&!a.options.headers)return;const l={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([a.options.head?.(l),a.options.scripts?.(l),a.options.headers?.(l)]).then(([c,d,h])=>({meta:c?.meta,links:c?.links,headScripts:c?.scripts,headers:h,scripts:d,styles:c?.styles}))},eb=(e,i,a,r,l)=>{const c=i[r-1],{params:d,loaderDeps:h,abortController:p,cause:m}=e.router.getMatch(a),g=ha(e,r),y=Jl(e,a);return{params:d,deps:h,preload:!!y,parentMatchPromise:c,abortController:p,context:g,location:e.location,navigate:b=>e.router.navigate({...b,_fromLocation:e.location}),cause:y?"preload":m,route:l,...e.router.options.additionalContext}},Hy=async(e,i,a,r,l)=>{try{const c=e.router.getMatch(a);try{(!(G0??e.router.isServer)||c.ssr===!0)&&Pr(l);const d=l.options.loader,h=typeof d=="function"?d:d?.handler,p=h?.(eb(e,i,a,r,l)),m=!!h&&jr(p);if((m||l._lazyPromise||l._componentsPromise||l.options.head||l.options.scripts||l.options.headers||c._nonReactive.minPendingPromise)&&e.updateMatch(a,y=>({...y,isFetching:"loader"})),h){const y=m?await p:p;_i(e,e.router.getMatch(a),y),y!==void 0&&e.updateMatch(a,b=>({...b,loaderData:y}))}l._lazyPromise&&await l._lazyPromise;const g=c._nonReactive.minPendingPromise;g&&await g,l._componentsPromise&&await l._componentsPromise,e.updateMatch(a,y=>({...y,error:void 0,context:ha(e,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(d){let h=d;if(h?.name==="AbortError"){if(c.abortController.signal.aborted){c._nonReactive.loaderPromise?.resolve(),c._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,m=>({...m,status:m.status==="pending"?"success":m.status,isFetching:!1,context:ha(e,r)}));return}const p=c._nonReactive.minPendingPromise;p&&await p,ce(d)&&await l.options.notFoundComponent?.preload?.(),_i(e,e.router.getMatch(a),d);try{l.options.onError?.(d)}catch(m){h=m,_i(e,e.router.getMatch(a),m)}!je(h)&&!ce(h)&&await Pr(l,["errorComponent"]),e.updateMatch(a,m=>({...m,error:h,context:ha(e,r),status:"error",isFetching:!1}))}}catch(c){const d=e.router.getMatch(a);d&&(d._nonReactive.loaderPromise=void 0),_i(e,d,c)}},mw=async(e,i,a)=>{async function r(S,A,C,w,_){const j=Date.now()-A.updatedAt,O=S?_.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:_.options.staleTime??e.router.options.defaultStaleTime??0,z=_.options.shouldReload,X=typeof z=="function"?z(eb(e,i,l,a,_)):z,{status:J,invalid:H}=w,Y=j>=O&&(!!e.forceStaleReload||w.cause==="enter"||C!==void 0&&C!==w.id);d=J==="success"&&(H||(X??Y)),S&&_.options.preload===!1||(d&&!e.sync&&g?(h=!0,(async()=>{try{await Hy(e,i,l,a,_);const Q=e.router.getMatch(l);Q._nonReactive.loaderPromise?.resolve(),Q._nonReactive.loadPromise?.resolve(),Q._nonReactive.loaderPromise=void 0,Q._nonReactive.loadPromise=void 0}catch(Q){je(Q)&&await e.router.navigate(Q.options)}})()):J!=="success"||d?await Hy(e,i,l,a,_):ky(e,l,a))}const{id:l,routeId:c}=e.matches[a];let d=!1,h=!1;const p=e.router.looseRoutesById[c],m=p.options.loader,g=((typeof m=="function"?void 0:m?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(W0(e,l)){if(!e.router.getMatch(l))return e.matches[a];ky(e,l,a)}else{const S=e.router.getMatch(l),A=e.router.stores.matchesId.get()[a],C=(A&&e.router.stores.matchStores.get(A)||null)?.routeId===c?A:e.router.stores.matches.get().find(_=>_.routeId===c)?.id,w=Jl(e,l);if(S._nonReactive.loaderPromise){if(S.status==="success"&&!e.sync&&!S.preload&&g)return S;await S._nonReactive.loaderPromise;const _=e.router.getMatch(l),j=_._nonReactive.error||_.error;j&&_i(e,_,j),_.status==="pending"&&await r(w,S,C,_,p)}else{const _=w&&!e.router.stores.matchStores.has(l),j=e.router.getMatch(l);j._nonReactive.loaderPromise=ga(),_!==j.preload&&e.updateMatch(l,O=>({...O,preload:_})),await r(w,S,C,j,p)}}const y=e.router.getMatch(l);h||(y._nonReactive.loaderPromise?.resolve(),y._nonReactive.loadPromise?.resolve(),y._nonReactive.loadPromise=void 0),clearTimeout(y._nonReactive.pen
10dingTimeout),y._nonReactive.pendingTimeout=void 0,h||(y._nonReactive.loaderPromise=void 0),y._nonReactive.dehydrated=void 0;const b=h?y.isFetching:!1;return b!==y.isFetching||y.invalid!==!1?(e.updateMatch(l,S=>({...S,isFetching:b,invalid:!1})),e.router.getMatch(l)):y};async function Iy(e){const i=e,a=[];uw(i.router)&&ld(i);let r;for(let b=0;b<i.matches.length;b++){try{const S=dw(i,b);jr(S)&&await S}catch(S){if(je(S))throw S;if(ce(S))r=S;else if(!i.preload)throw S;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const l=i.firstBadMatchIndex??i.matches.length,c=r&&!i.preload?Uy(i,r):void 0,d=r&&i.preload?0:c!==void 0?Math.min(c+1,l):l;let h,p;for(let b=0;b<d;b++)a.push(mw(i,a,b));try{await Promise.all(a)}catch{const b=await Promise.allSettled(a);for(const S of b){if(S.status!=="rejected")continue;const A=S.reason;if(je(A))throw A;ce(A)?h??=A:p??=A}if(p!==void 0)throw p}const m=h??(r&&!i.preload?r:void 0);let g=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!m&&r&&i.preload)return i.matches;if(m){const b=Uy(i,m);b===void 0&&ze();const S=i.matches[b],A=i.router.looseRoutesById[S.routeId],C=i.router.options?.defaultNotFoundComponent;!A.options.notFoundComponent&&C&&(A.options.notFoundComponent=C),m.routeId=S.routeId;const w=S.routeId===i.router.routeTree.id;i.updateMatch(S.id,_=>({..._,...w?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:m},isFetching:!1})),g=b,await Pr(A,["notFoundComponent"])}else if(!i.preload){const b=i.matches[0];b.globalNotFound||i.router.getMatch(b.id)?.globalNotFound&&i.updateMatch(b.id,S=>({...S,globalNotFound:!1,error:void 0}))}if(i.serialError&&i.firstBadMatchIndex!==void 0){const b=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Pr(b,["errorComponent"])}for(let b=0;b<=g;b++){const{id:S,routeId:A}=i.matches[b],C=i.router.looseRoutesById[A];try{const w=hw(i,S,C);if(w){const _=await w;i.updateMatch(S,j=>({...j,..._}))}}catch(w){console.error(`Error executing head for route ${A}:`,w)}}const y=ld(i);if(jr(y)&&await y,m)throw m;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function qy(e,i){const a=i.map(r=>e.options[r]?.preload?.()).filter(Boolean);if(a.length!==0)return Promise.all(a)}function Pr(e,i=xl){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(r=>{const{id:l,...c}=r.options;Object.assign(e.options,c),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const a=()=>e._componentsLoaded?void 0:i===xl?(()=>{if(e._componentsPromise===void 0){const r=qy(e,xl);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():qy(e,i);return e._lazyPromise?e._lazyPromise.then(a):a()}function nb(e){for(const i of xl)if(e.options[i]?.preload)return!0;return!1}var xl=["component","errorComponent","pendingComponent","notFoundComponent"],Di="__TSR_index",Yy="popstate",Gy="beforeunload";function pw(e){let i=e.getLocation();const a=new Set,r=d=>{i=e.getLocation(),a.forEach(h=>h({location:i,action:d}))},l=d=>{e.notifyOnIndexChange??!0?r(d):i=e.getLocation()},c=async({task:d,navigateOpts:h,...p})=>{if(h?.ignoreBlocker??!1){d();return}const m=e.getBlockers?.()??[],g=p.type==="PUSH"||p.type==="REPLACE";if(typeof document<"u"&&m.length&&g)for(const y of m){const b=zl(p.path,p.state);if(await y.blockerFn({currentLocation:i,nextLocation:b,action:p.type})){e.onBlocked?.();return}}d()};return{get location(){return i},get length(){return e.getLength()},subscribers:a,subscribe:d=>(a.add(d),()=>{a.delete(d)}),push:(d,h,p)=>{const m=i.state[Di];h=Fy(m+1,h),c({task:()=>{e.pushState(d,h),r({type:"PUSH"})},navigateOpts:p,type:"PUSH",path:d,state:h})},replace:(d,h,p)=>{const m=i.state[Di];h=Fy(m,h),c({task:()=>{e.replaceState(d,h),r({type:"REPLACE"})},navigateOpts:p,type:"REPLACE",path:d,state:h})},go:(d,h)=>{c({task:()=>{e.go(d),l({type:"GO",index:d})},navigateOpts:h,type:"GO"})},back:d=>{c({task:()=>{e.back(d?.ignoreBlocker??!1),l({type:"BACK"})},navigateOpts:d,type:"BACK"})},forward:d=>{c({task:()=>{e.forward(d?.ignoreBlocker??!1),l({type:"FORWARD"})},navigateOpts:d,type:"FORWARD"})},canGoBack:()=>i.state[Di]!==0,createHref:d=>e.createHref(d),block:d=>{if(!e.setBlockers)return()=>{};const h=e.getBlockers?.()??[];return e.setBlockers([...h,d]),()=>{const p=e.getBlockers?.()??[];e.setBlockers?.(p.filter(m=>m!==d))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function Fy(e,i){i||(i={});const a=Hd();return{...i,key:a,__TSR_key:a,[Di]:e}}function gw(e){const i=typeof document<"u"?window:void 0,a=i.history.pushState,r=i.history.replaceState;let l=[];const c=()=>l,d=Y=>l=Y,h=(Y=>Y),p=(()=>zl(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!i.history.state?.__TSR_key&&!i.history.state?.key){const Y=Hd();i.history.replaceState({[Di]:0,key:Y,__TSR_key:Y},"")}let m=p(),g,y=!1,b=!1,S=!1,A=!1;const C=()=>m;let w,_;const j=()=>{w&&(H._ignoreSubscribers=!0,(w.isPush?i.history.pushState:i.history.replaceState)(w.state,"",w.href),H._ignoreSubscribers=!1,w=void 0,_=void 0,g=void 0)},O=(Y,Q,Z)=>{const W=h(Q);_||(g=m),m=zl(Q,Z),w={href:W,state:Z,isPush:w?.isPush||Y==="push"},_||(_=Promise.resolve().then(()=>j()))},z=Y=>{m=p(),H.notify({type:Y})},X=async()=>
10{if(b){b=!1;return}const Y=p(),Q=Y.state[Di]-m.state[Di],Z=Q===1,W=Q===-1,lt=!Z&&!W||y;y=!1;const dt=lt?"GO":W?"BACK":"FORWARD",At=lt?{type:"GO",index:Q}:{type:W?"BACK":"FORWARD"};if(S)S=!1;else{const gt=c();if(typeof document<"u"&>.length){for(const U of gt)if(await U.blockerFn({currentLocation:m,nextLocation:Y,action:dt})){b=!0,i.history.go(1),H.notify(At);return}}}m=p(),H.notify(At)},J=Y=>{if(A){A=!1;return}let Q=!1;const Z=c();if(typeof document<"u"&&Z.length)for(const W of Z){const lt=W.enableBeforeUnload??!0;if(lt===!0){Q=!0;break}if(typeof lt=="function"&<()===!0){Q=!0;break}}if(Q)return Y.preventDefault(),Y.returnValue=""},H=pw({getLocation:C,getLength:()=>i.history.length,pushState:(Y,Q)=>O("push",Y,Q),replaceState:(Y,Q)=>O("replace",Y,Q),back:Y=>(Y&&(S=!0),A=!0,i.history.back()),forward:Y=>{Y&&(S=!0),A=!0,i.history.forward()},go:Y=>{y=!0,i.history.go(Y)},createHref:Y=>h(Y),flush:j,destroy:()=>{i.history.pushState=a,i.history.replaceState=r,i.removeEventListener(Gy,J,{capture:!0}),i.removeEventListener(Yy,X)},onBlocked:()=>{g&&m!==g&&(m=g)},getBlockers:c,setBlockers:d,notifyOnIndexChange:!1});return i.addEventListener(Gy,J,{capture:!0}),i.addEventListener(Yy,X),i.history.pushState=function(...Y){const Q=a.apply(i.history,Y);return H._ignoreSubscribers||z("PUSH"),Q},i.history.replaceState=function(...Y){const Q=r.apply(i.history,Y);return H._ignoreSubscribers||z("REPLACE"),Q},H}function yw(e){let i=e.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function zl(e,i){const a=yw(e),r=a.indexOf("#"),l=a.indexOf("?"),c=Hd();return{href:a,pathname:a.substring(0,r>0?l>0?Math.min(r,l):r:l>0?l:a.length),hash:r>-1?a.substring(r):"",search:l>-1?a.slice(l,r===-1?void 0:r):"",state:i||{[Di]:0,key:c,__TSR_key:c}}}function Hd(){return(Math.random()+1).toString(36).substring(7)}function vw(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function ds(e,i){const a=i,r=e;return{fromLocation:a,toLocation:r,pathChanged:a?.pathname!==r.pathname,hrefChanged:a?.href!==r.href,hashChanged:a?.hash!==r.hash}}var bw=class{constructor(e,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=a=>a(),this.update=a=>{const r=this.options,l=this.basepath??r?.basepath??"/",c=this.basepath===void 0,d=r?.rewrite;if(this.options={...r,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=XA(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=gw()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let g;this.resolvePathCache=zr(1e3),g=this.buildRouteTree(),this.setRoutes(g)}if(!this.stores&&this.latestLocation){const g=this.getStoreConfig(this);this.batch=g.batch,this.stores=lw(xw(this.latestLocation),g),WA(this)}let h=!1;const p=this.options.basepath??"/",m=this.options.rewrite;if(c||l!==p||d!==m){this.basepath=p;const g=[],y=Q0(p);y&&y!=="/"&&g.push(ow({basepath:p})),m&&g.push(m),this.rewrite=g.length===0?void 0:g.length===1?g[0]:rw(g),this.history&&this.updateLatestLocation(),h=!0}h&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const a=HA(this.routeTree,this.options.caseSensitive,(r,l)=>{r.init({originalIndex:l})});return this.options.routeMasks&&PA(this.options.routeMasks,a.processedTree),a},this.subscribe=(a,r)=>{const l={eventType:a,fn:r};return this.subscribers.add(l),()=>{this.subscribers.delete(l)}},this.emit=a=>
10{this.subscribers.forEach(r=>{r.eventType===a.type&&r.fn(a)})},this.parseLocation=(a,r)=>{const l=({pathname:p,search:m,hash:g,href:y,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(p)){const _=this.options.parseSearch(m),j=this.options.stringifySearch(_);return{href:p+j+g,publicHref:p+j+g,pathname:br(p).path,external:!1,searchStr:j,search:ia(r?.search,_),hash:br(g.slice(1)).path,state:ra(r?.state,b)}}const S=new URL(y,this.origin),A=od(this.rewrite,S),C=this.options.parseSearch(A.search),w=this.options.stringifySearch(C);return A.search=w,{href:A.href.replace(A.origin,""),publicHref:y,pathname:br(A.pathname).path,external:!!this.rewrite&&A.origin!==this.origin,searchStr:w,search:ia(r?.search,C),hash:br(A.hash.slice(1)).path,state:ra(r?.state,b)}},c=l(a),{__tempLocation:d,__tempKey:h}=c.state;if(d&&(!h||h===this.tempLocationKey)){const p=l(d);return p.state.key=c.state.key,p.state.__TSR_key=c.state.__TSR_key,delete p.state.__tempLocation,{...p,maskedLocation:c}}return c},this.resolvePathWithBase=(a,r)=>FA({base:a,to:kd(r),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,r,l)=>typeof a=="string"?this.matchRoutesInternal({pathname:a,search:r},l):this.matchRoutesInternal(a,r),this.getMatchedRoutes=a=>Tw({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=a=>{const r=this.getMatch(a);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(a=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach(a=>{if(this.stores.pendingMatchStores.has(a))return;const r=this.stores.matchStores.get(a)?.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(a)})},this.buildLocation=a=>{const r=(c={})=>{const d=c._fromLocation||this.pendingBuiltLocation||this.latestLocation,h=this.matchRoutesLightweight(d);c.from;const p=c.unsafeRelative==="path"?d.pathname:c.from??h.fullPath,m=this.resolvePathWithBase(p,"."),g=h.search,y=Object.assign(Object.create(null),h.params),b=c.to?this.resolvePathWithBase(m,`${c.to}`):this.resolvePathWithBase(m,"."),S=c.params===!1||c.params===null?Object.create(null):(c.params??!0)===!0?y:Object.assign(y,Ri(c.params,y)),A=this.getMatchedRoutes(b);let C=A.matchedRoutes;if((!A.foundRoute||A.foundRoute.path!=="/"&&A.routeParams["**"])&&this.options.notFoundRoute&&(C=[...C,this.options.notFoundRoute]),Object.keys(S).length>0)for(const Z of C){const W=Z.options.params?.stringify??Z.options.stringifyParams;if(W)try{Object.assign(S,W(S))}catch{}}const w=a.leaveParams?b:br(zy({path:b,params:S,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let _=g;if(a._includeValidateSearch&&this.options.search?.strict){const Z={};C.forEach(W=>{if(W.options.validateSearch)try{Object.assign(Z,Tl(W.options.validateSearch,{...Z,..._}))}catch{}}),_=Z}_=Aw({search:_,dest:c,destRoutes:C,_includeValidateSearch:a._includeValidateSearch}),_=ia(g,_);const j=this.options.stringifySearch(_),O=c.hash===!0?d.hash:c.hash?Ri(c.hash,d.hash):void 0,z=O?`#${O}`:"";let X=c.state===!0?d.state:c.state?Ri(c.state,d.state):{};X=ra(d.state,X);const J=`${w}${j}${z}`;let H,Y,Q=!1;if(this.rewrite){const Z=new URL(J,this.origin),W=$0(this.rewrite,Z);H=Z.href.replace(Z.origin,""),W.origin!==this.origin?(Y=W.href,Q=!0):Y=W.pathname+W.search+W.hash}else H=NA(J),Y=H;return{publicHref:Y,href:H,pathname:w,search:_,searchStr:j,state:X,hash:O??"",external:Q,unmaskOnReload:c.unmaskOnReload}},l=(c={},d)=>{const h=r(c);let p=d?r(d):void 0;if(!p){const m=Object.create(null);if(this.options.routeMasks){const g=VA(h.pathname,this.processedTree);if(g){Object.assign(m,g.rawParams);const{from:y,params:b,...S}=g.route,A=b===!1||b===null?Object.create(null):(b??!0)===!0?m:Object.assign(m,Ri(b,m));d={from:a.from,...S,params:A},p=r(d)}}}return p&&(h.maskedLocation=p),h};return a.mask?l(a,{from:a.from,...a.mask}):l(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:r,...l})=>{const c=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(g=>{l.state[g]=this.latestLocation.state[g]});const m=Ne(l.state,this.latestLocation.state);return p.forEach(g=>{delete l.state[g]}),m},d=Mi(this.latestLocation.href)===Mi(l.href);let h=this.commitLocationPromise;if(this.commitLocationPromise=ga(()=>{h?.resolve(),h=void 0}),d&&c())this.load();else{let{maskedLocation:p,hashScrollIntoView:m,...g}=l;p&&(g={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...g,search:g.searchStr,state:{...g.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(g.unmaskOnReload??this.options.unmaskOnReload??!1)&&(g.state.__tempKey=this.tempLocationKey)),g.state.__hashScrollIntoViewOptions=m??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,this.history[l.replace?"replace":"push"](g.publicHref,g.state,{ignoreBlocker:r})}return this.resetNextScroll=l.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:r,hashScrollIntoView:l,viewTransition:c,ignoreBlocker:d,href:h,...p}={})=>
10{if(h){const y=this.history.location.state.__TSR_index,b=zl(h,{__TSR_index:a?y:y+1}),S=new URL(b.pathname,this.origin);p.to=od(this.rewrite,S).pathname,p.search=this.options.parseSearch(b.search),p.hash=b.hash.slice(1)}const m=this.buildLocation({...p,_includeValidateSearch:!0});this.pendingBuiltLocation=m;const g=this.commitLocation({...m,viewTransition:c,replace:a,resetScroll:r,hashScrollIntoView:l,ignoreBlocker:d});return Promise.resolve().then(()=>{this.pendingBuiltLocation===m&&(this.pendingBuiltLocation=void 0)}),g},this.navigate=async({to:a,reloadDocument:r,href:l,publicHref:c,...d})=>{let h=!1;if(l)try{new URL(`${l}`),h=!0}catch{}if(h&&!r&&(r=!0),r){if(a!==void 0||!l){const m=this.buildLocation({to:a,...d});l=l??m.publicHref,c=c??m.publicHref}const p=!h&&c?c:l;if(Nl(p,this.protocolAllowlist))return Promise.resolve();if(!d.ignoreBlocker){const m=this.history.getBlockers?.()??[];for(const g of m)if(g?.blockerFn&&await g.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return d.replace?window.location.replace(p):window.location.href=p,Promise.resolve()}return this.buildAndCommitLocation({...d,href:l,to:a,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const a=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(l=>!a.some(c=>c.id===l.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(r)})},this.load=async a=>{let r,l,c;const d=this.stores.resolvedLocation.get()??this.stores.location.get();for(c=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad();const m=this.latestLocation,g=ds(m,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...g}),this.emit({type:"onBeforeLoad",...g}),await Iy({router:this,sync:a?.sync,forceStaleReload:d.href===m.href,matches:this.stores.pendingMatches.get(),location:m,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let y=null,b=null,S=null,A=null;this.batch(()=>{const C=this.stores.pendingMatches.get(),w=C.length,_=this.stores.matches.get();y=w?_.filter(z=>!this.stores.pendingMatchStores.has(z.id)):null;const j=new Set;for(const z of this.stores.pendingMatchStores.values())z.routeId&&j.add(z.routeId);const O=new Set;for(const z of this.stores.matchStores.values())z.routeId&&O.add(z.routeId);b=w?_.filter(z=>!j.has(z.routeId)):null,S=w?C.filter(z=>!O.has(z.routeId)):null,A=w?C.filter(z=>O.has(z.routeId)):_,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),w&&(this.stores.setMatches(C),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...y.filter(z=>z.status!=="error"&&z.status!=="notFound"&&z.status!=="redirected")]),this.clearExpiredCache())});for(const[C,w]of[[b,"onLeave"],[S,"onEnter"],[A,"onStay"]])if(C)for(const _ of C)this.looseRoutesById[_.routeId].options[w]?.(_)})})}})}catch(m){je(m)?(r=m,this.navigate({...r.options,replace:!0,ignoreBlocker:!0})):ce(m)&&(l=m);const g=r?r.status:l?404:this.stores.matches.get().some(y=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(g),this.stores.redirect.set(r)})}this.latestLoadPromise===c&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=c,await c;this.latestLoadPromise&&c!==this.latestLoadPromise;)await this.latestLoadPromise;let h;this.hasNotFoundMatch()?h=404:this.stores.matches.get().some(p=>p.status==="error")&&(h=500),h!==void 0&&this.stores.statusCode.set(h)},this.startViewTransition=a=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let l;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const c=this.latestLocation,d=this.stores.resolvedLocation.get(),h=typeof r.types=="function"?r.types(ds(c,d)):r.types;if(h===!1){a();return}l={update:a,types:h}}else l=a;document.startViewTransition(l)}else a()},this.updateMatch=(a,r)=>{this.startTransition(()=>
10{const l=this.stores.pendingMatchStores.get(a);if(l){l.set(r);return}const c=this.stores.matchStores.get(a);if(c){c.set(r);return}const d=this.stores.cachedMatchStores.get(a);if(d){const h=r(d.get());h.status==="redirected"?this.stores.cachedMatchStores.delete(a)&&this.stores.cachedIds.set(p=>p.filter(m=>m!==a)):d.set(h)}})},this.getMatch=a=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=a=>{const r=l=>a?.filter?.(l)??!0?{...l,invalid:!0,...a?.forcePending||l.status==="error"||l.status==="notFound"?{status:"pending",error:void 0}:void 0}:l;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=a=>a.publicHref||"/",this.resolveRedirect=a=>{const r=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){const l=a.options._builtLocation??this.buildLocation(a.options),c=this.getParsedLocationHref(l);a.options.href=c,a.headers.set("Location",c)}else if(r)try{const l=new URL(r);if(this.origin&&l.origin===this.origin){const c=l.pathname+l.search+l.hash;a.options.href=c,a.headers.set("Location",c)}}catch{}if(a.options.href&&!a.options._builtLocation&&Nl(a.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return a.headers.get("Location")||a.headers.set("Location",a.options.href),a},this.clearCache=a=>{const r=a?.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(l=>!r(l))):this.stores.setCached([])},this.clearExpiredCache=()=>{const a=Date.now(),r=l=>{const c=this.looseRoutesById[l.routeId];if(!c.options.loader)return!0;const d=(l.preload?c.options.preloadGcTime??this.options.defaultPreloadGcTime:c.options.gcTime??this.options.defaultGcTime)??300*1e3;return l.status==="error"?!0:a-l.updatedAt>=d};this.clearCache({filter:r})},this.loadRouteChunk=Pr,this.preloadRoute=async a=>{const r=a._builtLocation??this.buildLocation(a);let l=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:a});const c=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),d=new Set([...c,...this.stores.cachedIds.get()]),h=l.filter(p=>!d.has(p.id));if(h.length){const p=this.stores.cachedMatches.get();this.stores.setCached([...p,...h])}try{return l=await Iy({router:this,matches:l,location:r,preload:!0,updateMatch:(p,m)=>{c.has(p)?l=l.map(g=>g.id===p?m(g):g):this.updateMatch(p,m)}}),l}catch(p){if(je(p))return p.options.reloadDocument?void 0:await this.preloadRoute({...p.options,_fromLocation:r});ce(p)||console.error(p);return}},this.matchRoute=(a,r)=>{const l={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},c=this.buildLocation(l);if(r?.pending&&this.stores.status.get()!=="pending")return!1;const d=(r?.pending===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),h=BA(c.pathname,r?.caseSensitive??!1,r?.fuzzy??!1,d.pathname,this.processedTree);return!h||a.params&&!Ne(h.rawParams,a.params,{partial:!0})?!1:r?.includeSearch??!0?Ne(d.search,c.search,{partial:!0})?h.rawParams:!1:h.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(a=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??nw,parseSearch:e.parseSearch??ew,protocolAllowlist:e.protocolAllowlist??MA}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:i,processedTree:a}){this.routesById=e,this.routesByPath=i,this.processedTree=a;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,i){const a=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParam
10s:l,parsedParams:c}=a;let{matchedRoutes:d}=a,h=!1;(r?r.path!=="/"&&l["**"]:Mi(e.pathname))&&(this.options.notFoundRoute?d=[...d,this.options.notFoundRoute]:h=!0);const p=h?Ew(this.options.notFoundMode,d):void 0,m=new Array(d.length),g=new Map;for(const y of this.stores.matchStores.values())y.routeId&&g.set(y.routeId,y.get());for(let y=0;y<d.length;y++){const b=d[y],S=m[y-1];let A,C,w;{const dt=S?.search??e.search,At=S?._strictSearch??void 0;try{const gt=Tl(b.options.validateSearch,{...dt})??void 0;A={...dt,...gt},C={...At,...gt},w=void 0}catch(gt){let U=gt;if(gt instanceof Pl||(U=new Pl(gt.message,{cause:gt})),i?.throwOnError)throw U;A=dt,C={},w=U}}const _=b.options.loaderDeps?.({search:A})??"",j=_?JSON.stringify(_):"",{interpolatedPath:O,usedParams:z}=zy({path:b.fullPath,params:l,decoder:this.pathParamsDecoder,server:this.isServer}),X=b.id+O+j,J=this.getMatch(X),H=g.get(b.id),Y=J?._strictParams??z;let Q;if(!J)try{Xy(b,z,c,Y)}catch(dt){if(ce(dt)||je(dt)?Q=dt:Q=new Sw(dt.message,{cause:dt}),i?.throwOnError)throw Q}Object.assign(l,Y);const Z=H?"stay":"enter";let W;if(J)W={...J,cause:Z,params:H?.params??l,_strictParams:Y,search:ia(H?H.search:J.search,A),_strictSearch:C};else{const dt=b.options.loader||b.options.beforeLoad||b.lazyFn||nb(b)?"pending":"success";W={id:X,ssr:b.options.ssr,index:y,routeId:b.id,params:H?.params??l,_strictParams:Y,pathname:O,updatedAt:Date.now(),search:H?ia(H.search,A):A,_strictSearch:C,searchError:void 0,status:dt,isFetching:!1,error:void 0,paramsError:Q,__routeC
10ontext:void 0,_nonReactive:{loadPromise:ga()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:Z,loaderDeps:H?ra(H.loaderDeps,_):_,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}i?.preload||(W.globalNotFound=p===b.id),W.searchError=w;const lt=this.getParentContext(S);W.context={...lt,...W.__routeContext,...W.__beforeLoadContext},m[y]=W}for(let y=0;y<m.length;y++){const b=m[y],S=this.looseRoutesById[b.routeId],A=this.getMatch(b.id),C=g.get(b.routeId);if(b.params=C?ia(C.params,l):l,!A){const w=m[y-1],_=this.getParentContext(w);if(S.options.context){const j={deps:b.loaderDeps,params:b.params,context:_??{},location:e,navigate:O=>this.navigate({...O,_fromLocation:e}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:m,routeId:S.id};b.__routeContext=S.options.context(j)??void 0}b.context={..._,...b.__routeContext,...b.__beforeLoadContext}}}return m}matchRoutesLightweight(e){const{matchedRoutes:i,routeParams:a,parsedParams:r}=this.getMatchedRoutes(e.pathname),l=Nr(i),c={...e.search};for(const g of i)try{Object.assign(c,Tl(g.options.validateSearch,c))}catch{}const d=Nr(this.stores.matchesId.get()),h=d&&this.stores.matchStores.get(d)?.get(),p=h&&h.routeId===l.id&&h.pathname===e.pathname;let m;if(p)m=h.params;else{const g=Object.assign(Object.create(null),a);for(const y of i)try{Xy(y,a,r??{},g)}catch{}m=g}return{matchedRoutes:i,fullPath:l.fullPath,search:c,params:m}}},Pl=class extends Error{},Sw=class extends Error{};function xw(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Tl(e,i){if(e==null)return{};if("~standard"in e){const a=e["~standard"].validate(i);if(a instanceof Promise)throw new Pl("Async validation not supported");if(a.issues)throw new Pl(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}return"parse"in e?e.parse(i):typeof e=="function"?e(i):{}}function Tw({pathname:e,routesById:i,processedTree:a}){const r=Object.create(null),l=Mi(e);let c,d;const h=UA(l,a,!0);return h&&(c=h.route,Object.assign(r,h.rawParams),d=Object.assign(Object.create(null),h.parsedParams)),{matchedRoutes:h?.branch||[i.__root__],routeParams:r,foundRoute:c,parsedParams:d}}function Aw({search:e,dest:i,destRoutes:a,_includeValidateSearch:r}){return ww(a)(e,i,r??!1)}function ww(e){const i={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const l of e){if("search"in l.options)l.options.search?.middlewares&&i.middlewares.push(...l.options.search.middlewares);else if(l.options.preSearchFilters||l.options.postSearchFilters){const c=({search:d,next:h})=>{let p=d;"preSearchFilters"in l.options&&l.options.preSearchFilters&&(p=l.options.preSearchFilters.reduce((g,y)=>y(g),d));const m=h(p);return"postSearchFilters"in l.options&&l.options.postSearchFilters?l.options.postSearchFilters.reduce((g,y)=>y(g),m):m};i.middlewares.push(c)}if(l.options.validateSearch){const c=({search:d,next:h})=>{const p=h(d);if(!i._includeValidateSearch)return p;try{return{...p,...Tl(l.options.validateSearch,p)??void 0}}catch{return p}};i.middlewares.push(c)}}const a=({search:l})=>{const c=i.dest;return c.search?c.search===!0?l:Ri(c.search,l):{}};i.middlewares.push(a);const r=(l,c,d)=>{if(l>=d.length)return c;const h=d[l];return h({search:c,next:m=>r(l+1,m,d)})};return function(c,d,h){return i.dest=d,i._includeValidateSearch=h,r(0,c,i.middlewares)}}function Ew(e,i){if(e!=="root")for(let a=i.length-1;a>=0;a--){const r=i[a];if(r.children)return r.id}return da}function Xy(e,i,a,r){const l=e.options.params?.parse??e.options.parseParams;if(l)if(e.options.skipRouteOnParseError)for(const c in i)c in a&&(r[c]=a[c]);else{const c=l(r);Object.assign(r,c)}}var Tn=Symbol.for("TSR_DEFERRED_PROMISE");function Rw(e,i){const a=e;return a[Tn]||(a[Tn]={status:"pending"},a.then(r=>{a[Tn].status="success",a[Tn].data=r}).catch(r=>{a[Tn].status="error",a[Tn].error={data:vw(r),__isServerError:!0}})),a}var _w="Error preloading route! âï¸";function Ky(e,i){if(e)return typeof e=="string"?e:e[i]}function Cw(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}var ib=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=i=>{this.originalIndex=i.originalIndex;const a=this.options,r=!a?.path&&!a?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=da:this.parentRoute||ze();let l=r?da:a?.path;l&&l!=="/"&&(l=K0(l));const c=a?.id||l;let d=r?da:Sl([this.parentRoute.id==="__root__"?"":this.parentRoute.id,c]);l==="__root__"&&(l="/"),d!=="__root__"&&(d=Sl(["/",d]));const h=d==="__root__"?"/":Sl([this.parentRoute.fullPath,l]);this._path=l,this._id=d,this._fullPath=h,this._to=Mi(h)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>J0({from:this.fullPath,...i}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},Mw=class extends ib{constructor(e){super(e)}};function Dw(e){if(typeof document<"u"&&document.querySelector){const i=e.stores.location.get(),a=i.state.__hashScrollIntoViewOptions??!0;if(a&&i.hash!==""){const r=document.getElementById(i.hash);r&&r.scrollIntoView(a)}}}var Lw=(e=>(e[e.AggregateError=1]="AggregateError",e[e.ArrowFunction=2]="ArrowFunction",e[e.ErrorPrototypeStack=4]="ErrorPrototypeStack",e[e.ObjectAssign=8]="Ob
10jectAssign",e[e.BigIntTypedArray=16]="BigIntTypedArray",e[e.RegExp=32]="RegExp",e))(Lw||{}),Kn=Symbol.asyncIterator,ab=Symbol.hasInstance,hs=Symbol.isConcatSpreadable,Qn=Symbol.iterator,sb=Symbol.match,rb=Symbol.matchAll,ob=Symbol.replace,lb=Symbol.search,ub=Symbol.species,cb=Symbol.split,fb=Symbol.toPrimitive,ms=Symbol.toStringTag,db=Symbol.unscopables,hb={[Kn]:0,[ab]:1,[hs]:2,[Qn]:3,[sb]:4,[rb]:5,[ob]:6,[lb]:7,[ub]:8,[cb]:9,[fb]:10,[ms]:11,[db]:12},Ow={0:Kn,1:ab,2:hs,3:Qn,4:sb,5:rb,6:ob,7:lb,8:ub,9:cb,10:fb,11:ms,12:db},E=void 0,Nw={2:!0,3:!1,1:E,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},jw={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},zw={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function _t(e,i,a,r,l,c,d,h,p,m,g,y){return{t:e,i,s:a,c:r,m:l,p:c,e:d,a:h,f:p,b:m,o:g,l:y}}function Ni(e){return _t(2,E,e,E,E,E,E,E,E,E,E,E)}var mb=Ni(2),pb=Ni(3),Pw=Ni(1),Vw=Ni(0),Bw=Ni(4),Uw=Ni(5),kw=Ni(6),Hw=Ni(7);function Iw(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case` 11`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case" ":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return E}}function ji(e){let i="",a=0,r;for(let l=0,c=e.length;l<c;l++)r=Iw(e[l]),r&&(i+=e.slice(a,l)+r,a=l+1);return a===0?i=e:i+=e.slice(a),i}function qw(e){switch(e){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return` 12`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return" ";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return e}}function zi(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,qw)}var ml="__SEROVAL_REFS__",gb=new Map,ls=new Map;function yb(e){return gb.has(e)}function Yw(e){return ls.has(e)}function Gw(e){if(yb(e))return gb.get(e);throw new TE(e)}function Fw(e){if(Yw(e))return ls.get(e);throw new AE(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,ml,{value:ls,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,ml,{value:ls,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,ml,{value:ls,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,ml,{value:ls,configurable:!0,writable:!1,enumerable:!1});function Id(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function Xw(e){let i=jw[Id(e)];return e.name!==i?{name:e.name}:e.constructor.name!==i?{name:e.constructor.name}:{}}function vb(e,i){let a=Xw(e),r=Object.getOwnPropertyNames(e);for(let l=0,c=r.length,d;l<c;l++)d=r[l],d!=="name"&&d!=="message"&&(d==="stack"?i&4&&(a=a||{},a[d]=e[d]):(a=a||{},a[d]=e[d]));return a}function bb(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}function Kw(e){switch(e){case Number.POSITIVE_INFINITY:return Uw;case Number.NEGATIVE_INFINITY:return kw}return e!==e?Hw:Object.is(e,-0)?Bw:_t(0,E,e,E,E,E,E,E,E,E,E,E)}function Sb(e){return _t(1,E,ji(e),E,E,E,E,E,E,E,E,E)}function Qw(e){return _t(3,E,""+e,E,E,E,E,E,E,E,E,E)}function Zw(e){return _t(4,e,E,E,E,E,E,E,E,E,E,E)}function Jw(e,i){let a=i.valueOf();return _t(5,e,a!==a?"":i.toISOString(),E,E,E,E,E,E,E,E,E)}function $w(e,i){return _t(6,e,E,ji(i.source),i.flags,E,E,E,E,E,E,E)}function Ww(e,i){return _t(17,e,hb[i],E,E,E,E,E,E,E,E,E)}function tE(e,i){return _t(18,e,ji(Gw(i)),E,E,E,E,E,E,E,E,E)}function eE(e,i,a){return _t(25,e,a,ji(i),E,E,E,E,E,E,E,E)}function nE(e,i,a){return _t(9,e,E,E,E,E,E,a,E,E,bb(i),E)}function iE(e,i){return _t(21,e,E,E,E,E,E,E,i,E,E,E)}function aE(e,i,a){return _t(15,e,E,i.constructor.name,E,E,E,E,a,i.byteOffset,E,i.length)}function sE(e,i,a){return _t(16,e,E,i.constructor.name,E,E,E,E,a,i.byteOffset,E,i.byteLength)}function rE(e,i,a){return _t(20,e,E,E,E,E,E,E,a,i.byteOffset,E,i.byteLength)}function oE(e,i,a){return _t(13,e,Id(i),E,ji(i.message),a,E,E,E,E,E,E)}function lE(e,i,a){return _t(14,e,Id(i),E,ji(i.message),a,E,E,E,E,E,E)}function uE(e,i){return _t(7,e,E,E,E,E,E,i,E,E,E,E)}function cE(e,i){return _t(28,E,E,E,E,E,E,[e,i],E,E,E,E)}function fE(e,i){return _t(30,E,E,E,E,E,E,[e,i],E,E,E,E)}function dE(e,i,a){return _t(31,e,E,E,E,E,E,a,i,E,E,E)}function hE(e,i){return _t(32,e,E,E,E,E,E,E,i,E,E,E)}function mE(e,i){return _t(33,e,E,E,E,E,E,E,i,E,E,E)}function pE(e,i){return _t(34,e,E,E,E,E,E,E,i,E,E,E)}function gE(e,i,a,r){return _t(35,e,a,E,E,E,E,i,E,E,E,r)}
12var yE={parsing:1,serialization:2,deserialization:3};function vE(e){return`Seroval Error (step: ${yE[e]})`}var bE=(e,i)=>vE(e),xb=class extends Error{constructor(e,i){super(bE(e)),this.cause=i}},Qy=class extends xb{constructor(e){super("parsing",e)}},SE=class extends xb{constructor(e){super("deserialization",e)}};function Zn(e){return`Seroval Error (specific: ${e})`}var $l=class extends Error{constructor(i){super(Zn(1)),this.value=i}},Tb=class extends Error{constructor(i){super(Zn(2))}},xE=class extends Error{constructor(e){super(Zn(3))}},qr=class extends Error{constructor(e){super(Zn(4))}},TE=class extends Error{constructor(e){super(Zn(5)),this.value=e}},AE=class extends Error{constructor(e){super(Zn(6))}},wE=class extends Error{constructor(e){super(Zn(7))}},Pi=class extends Error{constructor(e){super(Zn(8))}},EE=class extends Error{constructor(i){super(Zn(9))}},RE=class{constructor(e,i){this.value=e,this.replacement=i}},Wl=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((i,a)=>{e.s=i,e.f=a}),e},_E=(e,i)=>{e.s(i),e.p.s=1,e.p.v=i},CE=(e,i)=>{e.f(i),e.p.s=2,e.p.v=i};Wl.toString();_E.toString();CE.toString();var ME=()=>{let e=[],i=[],a=!0,r=!1,l=0,c=(p,m,g)=>{for(g=0;g<l;g++)i[g]&&i[g][m](p)},d=(p,m,g,y)=>{for(m=0,g=e.length;m<g;m++)y=e[m],!a&&m===g-1?p[r?"return":"throw"](y):p.next(y)},h=(p,m)=>(a&&(m=l++,i[m]=p),d(p),()=>{a&&(i[m]=i[l],i[l--]=void 0)});return{__SEROVAL_STREAM__:!0,on:p=>h(p),next:p=>{a&&(e.push(p),c(p,"next"))},throw:p=>{a&&(e.push(p),c(p,"throw"),a=!1,r=!1,i.length=0)},return:p=>{a&&(e.push(p),c(p,"return"),a=!1,r=!0,i.length=0)}}},DE=e=>i=>()=>{let a=0,r={[e]:()=>r,next:()=>{if(a>i.d)return{done:!0,value:void 0};let l=a++,c=i.v[l];if(l===i.t)throw c;return{done:l===i.d,value:c}}};return r},LE=(e,i)=>a=>()=>{let r=0,l=-1,c=!1,d=[],h=[],p=(g=0,y=h.length)=>{for(;g<y;g++)h[g].s({done:!0,value:void 0})};a.on({next:g=>{let y=h.shift();y&&y.s({done:!1,value:g}),d.push(g)},throw:g=>{let y=h.shift();y&&y.f(g),p(),l=d.length,c=!0,d.push(g)},return:g=>{let y=h.shift();y&&y.s({done:!0,value:g}),p(),l=d.length,d.push(g)}});let m={[e]:()=>m,next:()=>{if(l===-1){let b=r++;if(b>=d.length){let S=i();return h.push(S),S.p}return{done:!1,value:d[b]}}if(r>l)return{done:!0,value:void 0};let g=r++,y=d[g];if(g!==l)return{done:!1,value:y};if(c)throw y;return{done:!0,value:y}}};return m},Ab=e=>{let i=atob(e),a=i.length,r=new Uint8Array(a);for(let l=0;l<a;l++)r[l]=i.charCodeAt(l);return r.buffer};Ab.toString();function OE(e){return"__SEROVAL_SEQUENCE__"in e}function wb(e,i,a){return{__SEROVAL_SEQUENCE__:!0,v:e,t:i,d:a}}function NE(e){let i=[],a=-1,r=-1,l=e[Qn]();for(;;)try{let c=l.next();if(i.push(c.value),c.done){r=i.length-1;break}}catch(c){a=i.length,i.push(c)}return wb(i,a,r)}var jE=DE(Qn);function zE(e){return jE(e)}var PE={},VE={},BE={0:{},1:{},2:{},3:{},4:{},5:{}};function tu(e){return"__SEROVAL_STREAM__"in e}function ya(){return ME()}function UE(e){let i=ya(),a=e[Kn]();async function r(){try{let l=await a.next();l.done?i.return(l.value):(i.next(l.value),await r())}catch(l){i.throw(l)}}return r().catch(()=>{}),i}var kE=LE(Kn,Wl);function HE(e){return kE(e)}async function IE(e){try{return[1,await e]}catch(i){return[0,i]}}function qE(e,i){return{plugins:i.plugins,mode:e,marked:new Set,features:63^(i.disabledFeatures||0),refs:i.refs||new Map,depthLimit:i.depthLimit||1e3}}function Al(e,i){e.marked.add(i)}function YE(e,i){let a=e.refs.size;return e.refs.set(i,a),a}function eu(e,i){let a=e.refs.get(i);return a!=null?(Al(e,a),{type:1,value:Zw(a)}):{type:0,value:YE(e,i)}}function qd(e,i){let a=eu(e,i);return a.type===1?a:yb(i)?{type:2,value:tE(a.value,i)}:a}function ua(e,i){let a=qd(e,i);if(a.type!==0)return a.value;if(i in hb)return Ww(a.value,i);throw new $l(i)}function nu(e,i){let a=eu(e,BE[i]);return a.type===1?a.value:_t(26,a.value,i,E,E,E,E,E,E,E,E,E)}function GE(e){let i=eu(e,PE);return i.type===1?i.value:_t(27,i.value,E,E,E,E,E,E,ua(e,Qn),E,E,E)}function FE(e){let i=eu(e,VE);return i.type===1?i.value:_t(29,i.value,E,E,E,E,E,[nu(e,1),ua(e,Kn)],E,E,E,E)}function XE(e,i,a,r){return _t(a?11:10,e,E,E,E,r,E,E,E,E,bb(i),E)}function KE(e,i,a,r){return _t(8,i,E,E,E,E,{k:a,v:r},E,nu(e,0),E,E,E)}function QE(e,i,a){let r=new Uint8Array(a),l="";for(let c=0,d=r.length;c<d;c++)l+=String.fromCharCode(r[c]);return _t(19,i,ji(btoa(l)),E,E,E,E,E,nu(e,5),E,E,E)}function ZE(e,i){return{base:qE(e,i),child:void 0}}var JE=class{constructor(e,i){this._p=e,this.depth=i}parse(e){return re(this._p,this.depth,e)}};async function $E(e,i,a){let r=[];for(let l=0,c=a.length;l<c;l++)l in a?r[l]=await re(e,i,a[l]):r[l]=0;return r}async function WE(e,i,a,r){return nE(a,r,await $E(e,i,r))}async function Yd(e,i,a){let r=Object.entries(a),l=[],c=[];for(let d=0,h=r.length;d<h;d++)l.push(ji(r[d][0])),c.push(await re(e,i,r[d][1]));return Qn in a&&(l.push(ua(e.base,Qn)),c.push(cE(GE(e.base),await re(e,i,NE(a))))),Kn in a&&(l.push(ua(e.base,Kn)),c.push(fE(FE(e.base),await re(e,i,UE(a))))),ms in a&&(l.push(ua(e.base,ms)),c.push(Sb(a[ms]))),hs in a&&(l.push(ua(e.base,hs)),c.push(a[hs]?mb:pb)),{k:l,v:c}}async function zf(e,i,a,r,l){return XE(a,r,l,await Yd(e,i,r))}async function tR(e,i,a,r){return iE(a,await re(e,i,r.valueOf()))}async function eR(e,i,a,r){return aE(a,r,await re(e,i,r.buffer))}async function nR(e,i,a,r){return sE(a,r,await re(e,i,r.buffer))}async function iR(e,i,a,r){return rE(a,r,await re(e,i,r.buffer))}async function Zy(e,i,a,r){let l=vb(r,e.base.features);return oE(a,r,l?await Yd(e,i,l):E)}async function aR(e,i,a,r){let l=vb(r,e.base.features);return lE(a,r,l?await Yd(e,i,l):E)}async function sR(e,i,a,r){let l=[],c=[];for(let[d,h]of r.entries())l.push(await re(e,i,d)),c.push(await re(e,i,h));return KE(e.base,a,l,c)}async function rR(e,i,a,r){let l=[];for(let c of r.keys())l.push(await re(e,i,c));return uE(a,l)}async function Eb(e,i,a,r){let l=e.base.plugins;if(l)for(let c=0,d=l.length;c<d;c++){let h=l[c];if(h.parse.async&&h.test(r))return eE(a,h.tag,await h.parse.async(r,new JE(e,i),{id:a}))}return E}async function oR(e,i,a,r){let[l,c]=await IE(r);return _t(12,a,l,E,E,E,E,E,await re(e,i,c),E,E,E)}function lR(e,i,a,r,l){let c=[],d=a.on({next:h=>{Al(this.base,i),re(this,e,h).then(p=>{c.push(hE(i,p))},p=>{l(p),d()})},throw:h=>{Al(this.base,i),re(this,e,h).then(p=>{c.push(mE(i,p)),r(c),d()},p=>{l(p),d()})},return:h=>{Al(this.base,i),re(this,e,h).then(p=>{c.push(pE(i,p)),r(c),d()},p=>{l(p),d()})}})}async function uR(e,i,a,r){return dE(a,nu(e.base,4),await new Promise(lR.bind(e,i,a,r)))}async function cR(e,i,a,r){let l=[];for(let c=0,d=r.v.length;c<d;c++)l[c]=await re(e,i,r.v[c]);return gE(a,l,r.t,r.d)}async function fR(e,i,a,r){if(Array.isArray(r))return WE(e,i,a,r);if(tu(r))return uR(e,i,a,r);if(OE(r))return cR(e,i,a,r);let l=r.constructor;if(l===RE)return re(e,i,r.replacement);let c=await Eb(e,i,a,r);if(c)return c;switch(l){case Object:return zf(e,i,a,r,!1);case E:return zf(e,i,a,r,!0);case Date:return Jw(a,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Zy(e,i,a,r);case Number:case Boolean:case String:case BigInt:return tR(e,i,a,r);case ArrayBuffer:return QE(e.base,a,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return eR(e,i,a,r);case DataView:return iR(e,i,a,r);case Map:return sR(e,i,a,r);case Set:return rR(e,i,a,r)}
12if(l===Promise||r instanceof Promise)return oR(e,i,a,r);let d=e.base.features;if(d&32&&l===RegExp)return $w(a,r);if(d&16)switch(l){case BigInt64Array:case BigUint64Array:return nR(e,i,a,r)}if(d&1&&typeof AggregateError<"u"&&(l===AggregateError||r instanceof AggregateError))return aR(e,i,a,r);if(r instanceof Error)return Zy(e,i,a,r);if(Qn in r||Kn in r)return zf(e,i,a,r,!!l);throw new $l(r)}async function dR(e,i,a){let r=qd(e.base,a);if(r.type!==0)return r.value;let l=await Eb(e,i,r.value,a);if(l)return l;throw new $l(a)}async function re(e,i,a){switch(typeof a){case"boolean":return a?mb:pb;case"undefined":return Pw;case"string":return Sb(a);case"number":return Kw(a);case"bigint":return Qw(a);case"object":{if(a){let r=qd(e.base,a);return r.type===0?await fR(e,i+1,r.value,a):r.value}return Vw}case"symbol":return ua(e.base,a);case"function":return dR(e,i,a);default:throw new $l(a)}}async function hR(e,i){try{return await re(e,0,i)}catch(a){throw a instanceof Qy?a:new Qy(a)}}var mR=(e=>(e[e.Vanilla=1]="Vanilla",e[e.Cross=2]="Cross",e))(mR||{});function Rb(e,i){for(let a=0,r=i.length;a<r;a++){let l=i[a];e.has(l)||(e.add(l),l.extends&&Rb(e,l.extends))}}function _b(e){if(e){let i=new Set;return Rb(i,e),[...i]}}function pR(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new wE(e)}}var gR=1e6,yR=1e4,vR=2e4;function Cb(e,i){switch(i){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var bR=1e3;function SR(e,i){var a;return{mode:e,plugins:i.plugins,refs:i.refs||new Map,features:(a=i.features)!=null?a:63^(i.disabledFeatures||0),depthLimit:i.depthLimit||bR}}function xR(e){return{mode:2,base:SR(2,e),child:E}}var TR=class{constructor(e,i){this._p=e,this.depth=i}deserialize(e){return Vt(this._p,this.depth,e)}};function Mb(e,i){if(i<0||!Number.isFinite(i)||!Number.isInteger(i))throw new Pi({t:4,i});if(e.refs.has(i))throw new Error("Conflicted ref id: "+i)}function AR(e,i,a){return Mb(e.base,i),e.state.marked.has(i)&&e.base.refs.set(i,a),a}function wR(e,i,a){return Mb(e.base,i),e.base.refs.set(i,a),a}function oe(e,i,a){return e.mode===1?AR(e,i,a):wR(e,i,a)}function ud(e,i,a){if(Object.hasOwn(i,a))return i[a];throw new Pi(e)}function ER(e,i){return oe(e,i.i,Fw(zi(i.s)))}function RR(e,i,a){let r=a.a,l=r.length,c=oe(e,a.i,new Array(l));for(let d=0,h;d<l;d++)h=r[d],h&&(c[d]=Vt(e,i,h));return Cb(c,a.o),c}function _R(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function CR(e){switch(e){case Kn:case hs:case ms:case Qn:return!0;default:return!1}}function Jy(e,i,a){_R(i)?e[i]=a:Object.defineProperty(e,i,{value:a,configurable:!0,enumerable:!0,writable:!0})}function MR(e,i,a,r,l){if(typeof r=="string")Jy(a,zi(r),Vt(e,i,l));else{let c=Vt(e,i,r);switch(typeof c){case"string":Jy(a,c,Vt(e,i,l));break;case"symbol":CR(c)&&(a[c]=Vt(e,i,l));break;default:throw new Pi(r)}}}function Db(e,i,a,r){let l=a.k;if(l.length>0)for(let c=0,d=a.v,h=l.length;c<h;c++)MR(e,i,r,l[c],d[c]);return r}function DR(e,i,a){let r=oe(e,a.i,a.t===10?{}:Object.create(null));return Db(e,i,a.p,r),Cb(r,a.o),r}function LR(e,i){return oe(e,i.i,new Date(i.s))}function OR(e,i){if(e.base.features&32){let a=zi(i.c);if(a.length>vR)throw new Pi(i);return oe(e,i.i,new RegExp(a,i.m))}throw new Tb(i)}function NR(e,i,a){let r=oe(e,a.i,new Set);for(let l=0,c=a.a,d=c.length;l<d;l++)r.add(Vt(e,i,c[l]));return r}function jR(e,i,a){let r=oe(e,a.i,new Map);for(let l=0,c=a.e.k,d=a.e.v,h=c.length;l<h;l++)r.set(Vt(e,i,c[l]),Vt(e,i,d[l]));return r}function zR(e,i){if(i.s.length>gR)throw new Pi(i);return oe(e,i.i,Ab(zi(i.s)))}function PR(e,i,a){var r;let l=pR(a.c),c=Vt(e,i,a.f),d=(r=a.b)!=null?r:0;if(d<0||d>c.byteLength)throw new Pi(a);return oe(e,a.i,new l(c,d,a.l))}function VR(e,i,a){var r;let l=Vt(e,i,a.f),c=(r=a.b)!=null?r:0;if(c<0||c>l.byteLength)throw new Pi(a);return oe(e,a.i,new DataView(l,c,a.l))}
12function Lb(e,i,a,r){if(a.p){let l=Db(e,i,a.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(l))}return r}function BR(e,i,a){let r=oe(e,a.i,new AggregateError([],zi(a.m)));return Lb(e,i,a,r)}function UR(e,i,a){let r=ud(a,zw,a.s),l=oe(e,a.i,new r(zi(a.m)));return Lb(e,i,a,l)}function kR(e,i,a){let r=Wl(),l=oe(e,a.i,r.p),c=Vt(e,i,a.f);return a.s?r.s(c):r.f(c),l}function HR(e,i,a){return oe(e,a.i,Object(Vt(e,i,a.f)))}function IR(e,i,a){let r=e.base.plugins;if(r){let l=zi(a.c);for(let c=0,d=r.length;c<d;c++){let h=r[c];if(h.tag===l)return oe(e,a.i,h.deserialize(a.s,new TR(e,i),{id:a.i}))}}throw new xE(a.c)}function qR(e,i){return oe(e,i.i,oe(e,i.s,Wl()).p)}function YR(e,i,a){let r=e.base.refs.get(a.i);if(r)return r.s(Vt(e,i,a.a[1])),E;throw new qr("Promise")}function GR(e,i,a){let r=e.base.refs.get(a.i);if(r)return r.f(Vt(e,i,a.a[1])),E;throw new qr("Promise")}function FR(e,i,a){Vt(e,i,a.a[0]);let r=Vt(e,i,a.a[1]);return zE(r)}function XR(e,i,a){Vt(e,i,a.a[0]);let r=Vt(e,i,a.a[1]);return HE(r)}function KR(e,i,a){let r=oe(e,a.i,ya()),l=a.a,c=l.length;if(c)for(let d=0;d<c;d++)Vt(e,i,l[d]);return r}function QR(e,i,a){let r=e.base.refs.get(a.i);if(r&&tu(r))return r.next(Vt(e,i,a.f)),E;throw new qr("Stream")}function ZR(e,i,a){let r=e.base.refs.get(a.i);if(r&&tu(r))return r.throw(Vt(e,i,a.f)),E;throw new qr("Stream")}function JR(e,i,a){let r=e.base.refs.get(a.i);if(r&&tu(r))return r.return(Vt(e,i,a.f)),E;throw new qr("Stream")}function $R(e,i,a){return Vt(e,i,a.f),E}function WR(e,i,a){return Vt(e,i,a.a[1]),E}function t_(e,i,a){let r=oe(e,a.i,wb([],a.s,a.l));for(let l=0,c=a.a.length;l<c;l++)r.v[l]=Vt(e,i,a.a[l]);return r}function Vt(e,i,a){if(i>e.base.depthLimit)throw new EE(e.base.depthLimit);switch(i+=1,a.t){case 2:return ud(a,Nw,a.s);case 0:return Number(a.s);case 1:return zi(String(a.s));case 3:if(String(a.s).length>yR)throw new Pi(a);return BigInt(a.s);case 4:return e.base.refs.get(a.i);case 18:return ER(e,a);case 9:return RR(e,i,a);case 10:case 11:return DR(e,i,a);case 5:return LR(e,a);case 6:return OR(e,a);case 7:return NR(e,i,a);case 8:return jR(e,i,a);case 19:return zR(e,a);case 16:case 15:return PR(e,i,a);case 20:return VR(e,i,a);case 14:return BR(e,i,a);case 13:return UR(e,i,a);case 12:return kR(e,i,a);case 17:return ud(a,Ow,a.s);case 21:return HR(e,i,a);case 25:return IR(e,i,a);case 22:return qR(e,a);case 23:return YR(e,i,a);case 24:return GR(e,i,a);case 28:return FR(e,i,a);case 30:return XR(e,i,a);case 31:return KR(e,i,a);case 32:return QR(e,i,a);case 33:return ZR(e,i,a);case 34:return JR(e,i,a);case 27:return $R(e,i,a);case 29:return WR(e,i,a);case 35:return t_(e,i,a);default:throw new Tb(a)}}function e_(e,i){try{return Vt(e,0,i)}catch(a){throw new SE(a)}}var n_=()=>T;n_.toString();function $y(e,i){let a=_b(i.plugins),r=xR({plugins:a,refs:i.refs,features:i.features,disabledFeatures:i.disabledFeatures,depthLimit:i.depthLimit});return e_(r,e)}async function i_(e,i={}){let a=_b(i.plugins),r=ZE(1,{plugins:a,disabledFeatures:i.disabledFeatures});return{t:await hR(r,e),f:r.base.features,m:Array.from(r.base.marked)}}function a_(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(i,a,r){return{v:a.parse(e.toSerializable(i))}},async async(i,a,r){return{v:await a.parse(e.toSerializable(i))}},stream(i,a,r){return{v:a.parse(e.toSerializable(i))}}},serialize:void 0,deserialize(i,a,r){return e.fromSerializable(a.deserialize(i.v))}}}var s_=class{constructor(e,i){this.stream=e,this.hint=i?.hint??"binary"}},Vl=globalThis.Buffer,Ob=!!Vl&&typeof Vl.from=="function";function Nb(e){if(e.length===0)return"";if(Ob)return Vl.from(e).toString("base64");const i=32768,a=[];for(let r=0;r<e.length;r+=i){const l=e.subarray(r,r+i);a.push(String.fromCharCode.apply(null,l))}return btoa(a.join(""))}function jb(e){if(e.length===0)return new Uint8Array(0);if(Ob){const r=Vl.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}const i=atob(e),a=new Uint8Array(i.length);for(let r=0;r<i.length;r++)a[r]=i.charCodeAt(r);return a}var Ar=Object.create(null),wr=Object.create(null),r_=e=>new ReadableStream({start(i){e.on({next(a){try{i.enqueue(jb(a))}catch{}},throw(a){i.error(a)},return(){try{i.close()}catch{}}})}}),o_=new TextEncoder,l_=e=>
12new ReadableStream({start(i){e.on({next(a){try{typeof a=="string"?i.enqueue(o_.encode(a)):i.enqueue(jb(a.$b64))}catch{}},throw(a){i.error(a)},return(){try{i.close()}catch{}}})}}),u_="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",c_="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function Wy(e){const i=ya(),a=e.getReader();return(async()=>{try{for(;;){const{done:r,value:l}=await a.read();if(r){i.return(void 0);break}i.next(Nb(l))}}catch(r){i.throw(r)}finally{a.releaseLock()}})(),i}function tv(e){const i=ya(),a=e.getReader(),r=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:l,value:c}=await a.read();if(l){try{const d=r.decode();d.length>0&&i.next(d)}catch{}i.return(void 0);break}try{const d=r.decode(c,{stream:!0});d.length>0&&i.next(d)}catch{i.next({$b64:Nb(c)})}}}catch(l){i.throw(l)}finally{a.releaseLock()}})(),i}var f_={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(e){return e===Ar},parse:{sync(e,i,a){return{}},async async(e,i,a){return{}},stream(e,i,a){return{}}},serialize(e,i,a){return u_},deserialize(e,i,a){return Ar}},{tag:"tss/RawStreamFactoryText",test(e){return e===wr},parse:{sync(e,i,a){return{}},async async(e,i,a){return{}},stream(e,i,a){return{}}},serialize(e,i,a){return c_},deserialize(e,i,a){return wr}}],test(e){return e instanceof s_},parse:{sync(e,i,a){const r=e.hint==="text"?wr:Ar;return{hint:i.parse(e.hint),factory:i.parse(r),stream:i.parse(ya())}},async async(e,i,a){const r=e.hint==="text"?wr:Ar,l=e.hint==="text"?tv(e.stream):Wy(e.stream);return{hint:await i.parse(e.hint),factory:await i.parse(r),stream:await i.parse(l)}},stream(e,i,a){const r=e.hint==="text"?wr:Ar,l=e.hint==="text"?tv(e.stream):Wy(e.stream);return{hint:i.parse(e.hint),factory:i.parse(r),stream:i.parse(l)}}},serialize(e,i,a){return"("+i.serialize(e.factory)+")("+i.serialize(e.stream)+")"},deserialize(e,i,a){const r=i.deserialize(e.stream);return i.deserialize(e.hint)==="text"?l_(r):r_(r)}};function d_(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(i,a,r){return e(typeof a?.deserialize=="function"?a.deserialize(i.streamId):i.streamId)}}}var h_={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,i){return{message:i.parse(e.message)}},async async(e,i){return{message:await i.parse(e.message)}},stream(e,i){return{message:i.parse(e.message)}}},serialize(e,i){return"new Error("+i.serialize(e.message)+")"},deserialize(e,i){return new Error(i.deserialize(e.message))}},Ei={},zb=e=>new ReadableStream({start:i=>{e.on({next:a=>{try{i.enqueue(a)}catch{}},throw:a=>{i.error(a)},return:()=>{try{i.close()}catch{}}})}}),m_={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===Ei},parse:{sync(){return Ei},async async(){return await Promise.resolve(Ei)},stream(){return Ei}},serialize(){return zb.toString()},deserialize(){return Ei}};function ev(e){let i=ya(),a=e.getReader();async function r(){try{let l=await a.read();l.done?i.return(l.value):(i.next(l.value),await r())}catch(l){i.throw(l)}}return r().catch(()=>{}),i}var p_={tag:"seroval/plugins/web/ReadableStream",extends:[m_],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,i){return{factory:i.parse(Ei),stream:i.parse(ya())}},async async(e,i){return{factory:await i.parse(Ei),stream:await i.parse(ev(e))}},stream(e,i){return{factory:i.parse(Ei),stream:i.parse(ev(e))}}},serialize(e,i){return"("+i.serialize(e.factory)+")("+i.serialize(e.stream)+")"},deserialize(e,i){let a=i.deserialize(e.stream);return zb(a)}},g_=p_,y_=[h_,f_,g_];function v_(){return[...Y0()?.serializationAdapters?.map(a_)??[],...y_]}
12var nv=new TextDecoder,b_=new Uint8Array(0),iv=16*1024*1024,av=32*1024*1024,sv=1024,rv=1e5;function S_(e){const i=new Map,a=new Map,r=new Set;let l=!1,c=null,d=0,h;const p=new ReadableStream({start(y){h=y},cancel(){l=!0;try{c?.cancel()}catch{}i.forEach(y=>{try{y.error(new Error("Framed response cancelled"))}catch{}}),i.clear(),a.clear(),r.clear()}});function m(y){const b=a.get(y);if(b)return b;if(r.has(y))return new ReadableStream({start(A){A.close()}});if(a.size>=sv)throw new Error(`Too many raw streams in framed response (max ${sv})`);const S=new ReadableStream({start(A){i.set(y,A)},cancel(){r.add(y),i.delete(y),a.delete(y)}});return a.set(y,S),S}function g(y){return m(y),i.get(y)}return(async()=>{const y=e.getReader();c=y;const b=[];let S=0;function A(){if(S<9)return null;const w=b[0];if(w.length>=9)return{type:w[0],streamId:(w[1]<<24|w[2]<<16|w[3]<<8|w[4])>>>0,length:(w[5]<<24|w[6]<<16|w[7]<<8|w[8])>>>0};const _=new Uint8Array(9);let j=0,O=9;for(let z=0;z<b.length&&O>0;z++){const X=b[z],J=Math.min(X.length,O);_.set(X.subarray(0,J),j),j+=J,O-=J}return{type:_[0],streamId:(_[1]<<24|_[2]<<16|_[3]<<8|_[4])>>>0,length:(_[5]<<24|_[6]<<16|_[7]<<8|_[8])>>>0}}function C(w){if(w===0)return b_;const _=new Uint8Array(w);let j=0,O=w;for(;O>0&&b.length>0;){const z=b[0];if(!z)break;const X=Math.min(z.length,O);_.set(z.subarray(0,X),j),j+=X,O-=X,X===z.length?b.shift():b[0]=z.subarray(X)}return S-=w,_}try{for(;;){const{done:w,value:_}=await y.read();if(l||w)break;if(_){if(S+_.length>av)throw new Error(`Framed response buffer exceeded ${av} bytes`);for(b.push(_),S+=_.length;;){const j=A();if(!j)break;const{type:O,streamId:z,length:X}=j;if(O!==Xn.JSON&&O!==Xn.CHUNK&&O!==Xn.END&&O!==Xn.ERROR)throw new Error(`Unknown frame type: ${O}`);if(O===Xn.JSON){if(z!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(z===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(X>iv)throw new Error(`Frame payload too large: ${X} bytes (max ${iv})`);const J=9+X;if(S<J)break;if(++d>rv)throw new Error(`Too many frames in framed response (max ${rv})`);C(9);const H=C(X);switch(O){case Xn.JSON:try{h.enqueue(nv.decode(H))}catch{}break;case Xn.CHUNK:{const Y=g(z);Y&&Y.enqueue(H);break}case Xn.END:{const Y=g(z);if(r.add(z),Y){try{Y.close()}catch{}i.delete(z)}break}case Xn.ERROR:{const Y=g(z);if(r.add(z),Y){const Q=nv.decode(H);Y.error(new Error(Q)),i.delete(z)}break}}}}}if(S!==0)throw new Error("Incomplete frame at end of framed response");try{h.close()}catch{}i.forEach(w=>{try{w.close()}catch{}}),i.clear()}catch(w){try{h.error(w)}catch{}i.forEach(_=>{try{_.error(w)}catch{}}),i.clear()}finally{try{y.releaseLock()}catch{}c=null}})(),{getOrCreateStream:m,jsonChunks:p}}var Vr=null;async function cd(e){e.length>0&&await Promise.allSettled(e)}var x_=Object.prototype.hasOwnProperty;function Pb(e){for(const i in e)if(x_.call(e,i))return!0;return!1}async function T_(e,i,a){Vr||(Vr=v_());const r=i[0],l=r.fetch??a,c=r.data instanceof FormData?"formData":"payload",d=r.headers?new Headers(r.headers):new Headers;if(d.set("x-tsr-serverFn","true"),c==="payload"&&d.set("accept",`${SA}, application/x-ndjson, application/json`),r.method==="GET"){if(c==="formData")throw new Error("FormData is not supported with GET requests");const p=await Vb(r);if(p!==void 0){const m=Z0({payload:p});e.includes("?")?e+=`&${m}`:e+=`?${m}`}}let h;if(r.method==="POST"){const p=await A_(r);p?.contentType&&d.set("content-type",p.contentType),h=p?.body}return await w_(async()=>l(e,{method:r.method,headers:d,signal:r.signal,body:h}))}async function Vb(e){let i=!1;const a={};if(e.data!==void 0&&(i=!0,a.data=e.data),e.context&&Pb(e.context)&&(i=!0,a.context=e.context),i)return Bb(a)}async function Bb(e){return JSON.stringify(await Promise.resolve(i_(e,{plugins:Vr})))}async function A_(e){if(e.data instanceof FormData){let a;return e.context&&Pb(e.context)&&(a=await Bb(e.context)),a!==void 0&&e.data.set(bA,a),{body:e.data}}const i=await Vb(e);if(i)return{body:i,contentType:"application/json"}}async function w_(e){let i;try{i=await e()}catch(r){if(r instanceof Response)i=r;else throw console.log(r),r}if(i.headers.get("x-tss-raw")==="true")return i;const a=i.headers.get("content-type");if(a||ze(),i.headers.get("x-tss-serialized")){let r;if(a.includes("application/x-tss-framed")){if(AA(a),!i.body)throw new Error("No response body for framed response");const{getOrCreateStream:l,jsonChunks:c}=S_(i.body),d=[d_(l),...Vr||[]],h=new Map;r=await E_({jsonStream:c,onMessage:p=>$y(p,{refs:h,plugins:d}),onError(p,m){console.error(p,m)}})}else if(a.includes("application/json")){const l=await i.json(),c=[];r=$y(l,{plugins:Vr}),await cd(c)}if(r||ze(),r instanceof Error)throw r;return r}if(a.includes("application/json")){const r=await i.json(),l=sw(r);if(l)throw l;if(ce(r))throw r;return r}if(!i.ok)throw new Error(await i.text());return i}async function E_({jsonStream:e,onMessage:i,onError:a}){const r=e.getReader(),{value:l,done:c}=await r.read();if(c||!l)throw new Error("Stream ended before first object");const d=JSON.parse(l);let h=!1;const p=(async()=>{try{for(;;){const{value:y,done:b}=await r.read();if(b)break;
12if(y)try{const S=[];try{i(JSON.parse(y))}finally{}await cd(S)}catch(S){a?.(`Invalid JSON: ${y}`,S)}}}catch(y){h||a?.("Stream processing error:",y)}})();let m;const g=[];try{m=i(d)}catch(y){throw h=!0,r.cancel().catch(()=>{}),y}return await cd(g),Promise.resolve(m).catch(()=>{h=!0,r.cancel().catch(()=>{})}),p.finally(()=>{try{r.releaseLock()}catch{}}),m}function R_(e){const i="/_serverFn/"+e;return Object.assign((...l)=>{const c=Y0()?.serverFns?.fetch;return T_(i,l,c??fetch)},{url:i,serverFnMeta:{id:e},[rd]:!0})}var __={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(rd in e)?!1:!!e[rd],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>R_(e)};function ov(e){return e.replaceAll("\0","/").replaceAll("�","/")}function C_(e,i){e.id=i.i,e.__beforeLoadContext=i.b,e.loaderData=i.l,e.status=i.s,e.ssr=i.ssr,e.updatedAt=i.u,e.error=i.e,i.g!==void 0&&(e.globalNotFound=i.g)}async function M_(e){window.$_TSR||ze();const i=e.options.serializationAdapters;if(i?.length){const w=new Map;i.forEach(_=>{w.set(_.key,_.fromSerializable)}),window.$_TSR.t=w,window.$_TSR.buffer.forEach(_=>_())}window.$_TSR.initialized=!0,window.$_TSR.router||ze();const a=window.$_TSR.router;a.matches.forEach(w=>{w.i=ov(w.i)}),a.lastMatchId&&(a.lastMatchId=ov(a.lastMatchId));const{manifest:r,dehydratedData:l,lastMatchId:c}=a;e.ssr={manifest:r};const d=document.querySelector('meta[property="csp-nonce"]')?.content;e.options.ssr={nonce:d};const h=e.matchRoutes(e.stores.location.get()),p=Promise.all(h.map(w=>e.loadRouteChunk(e.looseRoutesById[w.routeId])));function m(w){const _=e.looseRoutesById[w.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(_){const j=ga();w._nonReactive.minPendingPromise=j,w._forcePending=!0,setTimeout(()=>{j.resolve(),e.updateMatch(w.id,O=>(O._nonReactive.minPendingPromise=void 0,{...O,_forcePending:void 0}))},_)}}function g(w){const _=e.looseRoutesById[w.routeId];_&&(_.options.ssr=w.ssr)}let y;h.forEach(w=>{const _=a.matches.find(j=>j.i===w.id);if(!_){w._nonReactive.dehydrated=!1,w.ssr=!1,g(w);return}C_(w,_),g(w),w._nonReactive.dehydrated=w.ssr!==!1,(w.ssr==="data-only"||w.ssr===!1)&&y===void 0&&(y=w.index,m(w))}),e.stores.setMatches(h),await e.options.hydrate?.(l);const b=e.stores.matches.get(),S=e.stores.location.get();await Promise.all(b.map(async w=>{try{const _=e.looseRoutesById[w.routeId],j=b[w.index-1]?.context??e.options.context;if(_.options.context){const J={deps:w.loaderDeps,params:w.params,context:j??{},location:S,navigate:H=>e.navigate({...H,_fromLocation:S}),buildLocation:e.buildLocation,cause:w.cause,abortController:w.abortController,preload:!1,matches:h,routeId:_.id};w.__routeContext=_.options.context(J)??void 0}w.context={...j,...w.__routeContext,...w.__beforeLoadContext};const O={ssr:e.options.ssr,matches:b,match:w,params:w.params,loaderData:w.loaderData},z=await _.options.head?.(O),X=await _.options.scripts?.(O);w.meta=z?.meta,w.links=z?.links,w.headScripts=z?.scripts,w.styles=z?.styles,w.scripts=X}catch(_){if(ce(_))w.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${w.routeId}`,_);else throw w.error=_,console.error(`Error during hydration for route ${w.routeId}:`,_),_}}));const A=h[h.length-1].id!==c;if(!h.some(w=>w.ssr===!1)&&!A)return h.forEach(w=>{w._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),p;const C=Promise.resolve().then(()=>e.load()).catch(w=>{console.error("Error during router hydration:",w)});if(A){const w=h[1];w||ze(),m(w),w._displayPending=!0,w._nonReactive.displayPendingPromise=C,C.then(()=>{e.batch(()=>{e.stores.status.get()==="pending"&&(e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(w.id,_=>({..._,_displayPending:void 0,displayPendingPromise:void 0}))})})}return p}var Bl=K.use,_r=typeof window<"u"?K.useLayoutEffect:K.useEffect;function Pf(e){const i=K.useRef({value:e,prev:null}),a=i.current.value;return e!==a&&(i.current={value:e,prev:a}),i.current.prev}function D_(e,i,a={},r={}){K.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!="function")return;const l=new IntersectionObserver(([c])=>{i(c)},a);return l.observe(e.current),()=>{l.disconnect()}},[i,a,r.disabled,e])}function L_(e){const i=K.useRef(null);return K.useImperativeHandle(e,()=>i.current,[]),i}function O_({promise:e}){if(Bl)return Bl(e);const i=Rw(e);if(i[Tn].status==="pending")throw i;if(i[Tn].status==="error")throw i[Tn].error;return i[Tn].data}function N_(e){const i=R.jsx(j_,{...e});
12return e.fallback?R.jsx(K.Suspense,{fallback:e.fallback,children:i}):i}function j_(e){const i=O_(e);return e.children(i)}function Gd(e){const i=e.errorComponent??Fd;return R.jsx(z_,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:r})=>a?K.createElement(i,{error:a,reset:r}):e.children})}var z_=class extends K.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,i){const a=e.getResetKey();return i.error&&i.resetKey!==a?{resetKey:a,error:null}:{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,i){this.props.onCatch&&this.props.onCatch(e,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Fd({error:e}){const[i,a]=K.useState(!1);return R.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[R.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),R.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a(r=>!r),children:i?"Hide Error":"Show Error"})]}),R.jsx("div",{style:{height:".25rem"}}),i?R.jsx("div",{children:R.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?R.jsx("code",{children:e.message}):null})}):null]})}function P_({children:e,fallback:i=null}){return Xd()?R.jsx(ps.Fragment,{children:e}):R.jsx(ps.Fragment,{children:i})}function Xd(){return ps.useSyncExternalStore(V_,()=>!0,()=>!1)}function V_(){return()=>{}}var Ub=K.createContext(null);function Se(e){return K.useContext(Ub)}var iu=K.createContext(void 0),B_=K.createContext(void 0),Yt=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Yt||{});function U_({update:e,notify:i,unwatched:a}){return{link:r,unlink:l,propagate:c,checkDirty:d,shallowPropagate:h};function r(m,g,y){const b=g.depsTail;if(b!==void 0&&b.dep===m)return;const S=b!==void 0?b.nextDep:g.deps;if(S!==void 0&&S.dep===m){S.version=y,g.depsTail=S;return}const A=m.subsTail;if(A!==void 0&&A.version===y&&A.sub===g)return;const C=g.depsTail=m.subsTail={version:y,dep:m,sub:g,prevDep:b,nextDep:S,prevSub:A,nextSub:void 0};S!==void 0&&(S.prevDep=C),b!==void 0?b.nextDep=C:g.deps=C,A!==void 0?A.nextSub=C:m.subs=C}function l(m,g=m.sub){const y=m.dep,b=m.prevDep,S=m.nextDep,A=m.nextSub,C=m.prevSub;return S!==void 0?S.prevDep=b:g.depsTail=b,b!==void 0?b.nextDep=S:g.deps=S,A!==void 0?A.prevSub=C:y.subsTail=C,C!==void 0?C.nextSub=A:(y.subs=A)===void 0&&a(y),S}function c(m){let g=m.nextSub,y;t:do{const b=m.sub;let S=b.flags;if(S&60?S&12?S&4?!(S&48)&&p(m,b)?(b.flags=S|40,S&=1):S=0:b.flags=S&-9|32:S=0:b.flags=S|32,S&2&&i(b),S&1){const A=b.subs;if(A!==void 0){const C=(m=A).nextSub;C!==void 0&&(y={value:g,prev:y},g=C);continue}}if((m=g)!==void 0){g=m.nextSub;continue}for(;y!==void 0;)if(m=y.value,y=y.prev,m!==void 0){g=m.nextSub;continue t}break}while(!0)}function d(m,g){let y,b=0,S=!1;t:do{const A=m.dep,C=A.flags;if(g.flags&16)S=!0;else if((C&17)===17){if(e(A)){const w=A.subs;w.nextSub!==void 0&&h(w),S=!0}}else if((C&33)===33){(m.nextSub!==void 0||m.prevSub!==void 0)&&(y={value:m,prev:y}),m=A.deps,g=A,++b;continue}if(!S){const w=m.nextDep;if(w!==void 0){m=w;continue}}for(;b--;){const w=g.subs,_=w.nextSub!==void 0;if(_?(m=y.value,y=y.prev):m=w,S){if(e(g)){_&&h(w),g=m.sub;continue}S=!1}else g.flags&=-33;g=m.sub;const j=m.nextDep;if(j!==void 0){m=j;continue t}}return S}while(!0)}function h(m){do{const g=m.sub,y=g.flags;(y&48)===32&&(g.flags=y|16,(y&6)===2&&i(g))}while((m=m.nextSub)!==void 0)}function p(m,g){let y=g.depsTail;for(;y!==void 0;){if(y===m)return!0;y=y.prevDep}return!1}}function k_(e,i,a){const r=typeof e=="object",l=r?e:void 0;return{next:(r?e.next:e)?.bind(l),error:(r?e.error:i)?.bind(l),complete:(r?e.complete:a)?.bind(l)}}const fd=[];let wl=0;const{link:lv,unlink:H_,propagate:I_,checkDirty:kb,shallowPropagate:uv}=U_({update(e){return e._update()},notify(e){fd[dd++]=e,e.flags&=~Yt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=Yt.Mutable|Yt.Dirty,Ul(e))}});let pl=0,dd=0,xn,hd=0;function Hb(e){try{++hd,e()}finally{--hd||Ib()}}function Ul(e){const i=e.depsTail;let a=i!==void 0?i.nextDep:e.deps;for(;a!==void 0;)a=H_(a,e)}function Ib(){if(!(hd>0)){for(;pl<dd;){const e=fd[pl];fd[pl++]=void 0,e.notify()}pl=0,dd=0}}function cv(e,i){const a=typeof e=="function",r=e,l={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?Yt.None:Yt.Mutable,get(){return xn!==void 0&&lv(l,xn,wl),l._snapshot},subscribe(c){const d=k_(c),h={current:!1},p=q_(()=>{l.get(),h.current?d.next?.(l._snapshot):h.current=!0});return{unsubscribe:()=>{p.stop()}}},_update(c){const d=xn,h=i?.compare??Object.is;if(a)xn=l,++wl,l.depsTail=void 0;else if(c===void 0)return!1;a&&(l.flags=Yt.Mutable|Yt.RecursedCheck);try{const p=l._snapshot,m=typeof c=="function"?c(p):c===void 0&&a?r(p):c;return p===void 0||!h(p,m)?(l._snapshot=m,!0):!1}finally{xn=d,a&&(l.flags&=~Yt.RecursedCheck),Ul(l)}}};return a?(l.flags=Yt.Mutable|Yt.Dirty,l.get=function(){const c=l.flags;if(c&Yt.Dirty||c&Yt.Pending&&kb(l.deps,l)){if(l._update()){const d=l.subs;d!==void 0&&uv(d)}}else c&Yt.Pending&&(l.flags=c&~Yt.Pending);return xn!==void 0&&lv(l,xn,wl),l._snapshot}):l.set=function(c){if(l._update(c)){const d=l.subs;d!==void 0&&(I_(d),uv(d),Ib())}},l}function q_(e){const i=()=>{const r=xn;xn=a,++wl,a.depsTail=void 0,a.flags=Yt.Watching|Yt.RecursedCheck;try{return e()}finally{xn=r,a.flags&=~Yt.RecursedCheck,Ul(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Yt.Watching|Yt.RecursedCheck,notify(){const r=this.flags;r&Yt.Dirty||r&Yt.Pending&&kb(this.deps,this)?i():this.flags=Yt.Watching},stop(){this.flags=Yt.None,this.depsTail=void 0,Ul(this)}};return i(),a}var Vf={exports:{}},Bf={},Uf={exports:{}},kf={};var fv;function Y_(){if(fv)return kf;fv=1;var e=Ir();function i(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var a=typeof Object.is=="function"?Object.is:i,r=e.useState,l=e.useEffect,c=e.useLayoutEffect,d=e.useDebugValue;
12function h(y,b){var S=b(),A=r({inst:{value:S,getSnapshot:b}}),C=A[0].inst,w=A[1];return c(function(){C.value=S,C.getSnapshot=b,p(C)&&w({inst:C})},[y,S,b]),l(function(){return p(C)&&w({inst:C}),y(function(){p(C)&&w({inst:C})})},[y]),d(S),S}function p(y){var b=y.getSnapshot;y=y.value;try{var S=b();return!a(y,S)}catch{return!0}}function m(y,b){return b()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:h;return kf.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,kf}var dv;function G_(){return dv||(dv=1,Uf.exports=Y_()),Uf.exports}var hv;function F_(){if(hv)return Bf;hv=1;var e=Ir(),i=G_();function a(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var r=typeof Object.is=="function"?Object.is:a,l=i.useSyncExternalStore,c=e.useRef,d=e.useEffect,h=e.useMemo,p=e.useDebugValue;return Bf.useSyncExternalStoreWithSelector=function(m,g,y,b,S){var A=c(null);if(A.current===null){var C={hasValue:!1,value:null};A.current=C}else C=A.current;A=h(function(){function _(J){if(!j){if(j=!0,O=J,J=b(J),S!==void 0&&C.hasValue){var H=C.value;if(S(H,J))return z=H}return z=J}if(H=z,r(O,J))return H;var Y=b(J);return S!==void 0&&S(H,Y)?(O=J,H):(O=J,z=Y)}var j=!1,O,z,X=y===void 0?null:y;return[function(){return _(g())},X===null?void 0:function(){return _(X())}]},[g,y,b,S]);var w=l(m,A[0],A[1]);return d(function(){C.hasValue=!0,C.value=w},[w]),p(w),w},Bf}var mv;function X_(){return mv||(mv=1,Vf.exports=F_()),Vf.exports}var K_=X_();function Q_(e,i){return e===i}function ne(e,i,a=Q_){const r=K.useCallback(d=>{if(!e)return()=>{};const{unsubscribe:h}=e.subscribe(d);return h},[e]),l=K.useCallback(()=>e?.get(),[e]);return K_.useSyncExternalStoreWithSelector(r,l,l,i,a)}var Z_={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function va(e){const i=Se(),a=K.useContext(e.from?B_:iu),r=e.from??a,l=r?e.from?i.stores.getRouteMatchStore(r):i.stores.matchStores.get(r):void 0,c=K.useRef(void 0);return ne(l??Z_,d=>{if((e.shouldThrow??!0)&&!d&&ze(),d===void 0)return;const h=e.select?e.select(d):d;if(e.structuralSharing??i.options.defaultStructuralSharing){const p=ra(c.current,h);return c.current=p,p}return h})}function qb(e){return va({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:i=>e.select?e.select(i.loaderData):i.loaderData})}function Yb(e){const{select:i,...a}=e;return va({...a,select:r=>i?i(r.loaderDeps):r.loaderDeps})}function Gb(e){return va({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:i=>{const a=e.strict===!1?i.params:i._strictParams;return e.select?e.select(a):a}})}function Fb(e){return va({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:i=>e.select?e.select(i.search):i.search})}function Xb(e){const i=Se();return K.useCallback(a=>i.navigate({...a,from:a.from??e?.from}),[e?.from,i])}function Kb(e){return va({...e,select:i=>e.select?e.select(i.context):i.context})}var J_=q0();function $_(e,i){const a=Se(),r=L_(i),{activeProps:l,inactiveProps:c,activeOptions:d,to:h,preload:p,preloadDelay:m,preloadIntentProximity:g,hashScrollIntoView:y,replace:b,startTransition:S,resetScroll:A,viewTransition:C,children:w,target:_,disabled:j,style:O,className:z,onClick:X,onBlur:J,onFocus:H,onMouseEnter:Y,onMouseLeave:Q,onTouchStart:Z,ignoreBlocker:W,params:lt,search:dt,hash:At,state:gt,mask:U,reloadDocument:$,unsafeRelative:et,from:ct,_fromLocation:yt,...D}=e,G=Xd(),tt=K.useMemo(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),nt=ne(a.stores.location,Ut=>Ut,(Ut,de)=>Ut.href===de.href),rt=K.useMemo(()=>{const Ut={_fromLocation:nt,...tt};return a.buildLocation(Ut)},[a,nt,tt]),pt=rt.maskedLocation?rt.maskedLocation.publicHref:rt.publicHref,wt=rt.maskedLocation?rt.maskedLocation.external:rt.external,Kt=K.useMemo(()=>a2(pt,wt,a.history,j),[j,wt,pt,a.history]),zt=K.useMemo(()=>{if(Kt?.external)return Nl(Kt.href,a.protocolAllowlist)?void 0:Kt.href;if(!s2(h)&&!(typeof h!="string"||h.indexOf(":")===-1))try{return new URL(h),Nl(h,a.protocolAllowlist)?void 0:h}catch{}},[h,Kt,a.protocolAllowlist]),Rn=K.useMemo(()=>
12{if(zt)return!1;if(d?.exact){if(!GA(nt.pathname,rt.pathname,a.basepath))return!1}else{const Ut=jl(nt.pathname,a.basepath),de=jl(rt.pathname,a.basepath);if(!(Ut.startsWith(de)&&(Ut.length===de.length||Ut[de.length]==="/")))return!1}return(d?.includeSearch??!0)&&!Ne(nt.search,rt.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined})?!1:d?.includeHash?G&&nt.hash===rt.hash:!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,nt,zt,G,rt.hash,rt.pathname,rt.search,a.basepath]),_n=Rn?Ri(l,{})??W_:Hf,Jn=Rn?Hf:Ri(c,{})??Hf,Ts=[z,_n.className,Jn.className].filter(Boolean).join(" "),mn=(O||_n.style||Jn.style)&&{...O,..._n.style,...Jn.style},[As,ba]=K.useState(!1),Kr=K.useRef(!1),Cn=e.reloadDocument||zt?!1:p??a.options.defaultPreload,Bi=m??a.options.defaultPreloadDelay??0,on=K.useCallback(()=>{a.preloadRoute({...tt,_builtLocation:rt}).catch(Ut=>{console.warn(Ut),console.warn(_w)})},[a,tt,rt]);D_(r,K.useCallback(Ut=>{Ut?.isIntersecting&&on()},[on]),i2,{disabled:!!j||Cn!=="viewport"}),K.useEffect(()=>{Kr.current||!j&&Cn==="render"&&(on(),Kr.current=!0)},[j,on,Cn]);const ws=Ut=>{const de=Ut.currentTarget.getAttribute("target"),pn=_!==void 0?_:de;if(!j&&!r2(Ut)&&!Ut.defaultPrevented&&(!pn||pn==="_self")&&Ut.button===0){Ut.preventDefault(),J_.flushSync(()=>{ba(!0)});const Sa=a.subscribe("onResolved",()=>{Sa(),ba(!1)});a.navigate({...tt,replace:b,resetScroll:A,hashScrollIntoView:y,startTransition:S,viewTransition:C,ignoreBlocker:W})}};if(zt)return{...D,ref:r,href:zt,...w&&{children:w},..._&&{target:_},...j&&{disabled:j},...O&&{style:O},...z&&{className:z},...X&&{onClick:X},...J&&{onBlur:J},...H&&{onFocus:H},...Y&&{onMouseEnter:Y},...Q&&{onMouseLeave:Q},...Z&&{onTouchStart:Z}};const Qr=Ut=>{if(j||Cn!=="intent")return;if(!Bi){on();return}const de=Ut.currentTarget;if(Er.has(de))return;const pn=setTimeout(()=>{Er.delete(de),on()},Bi);Er.set(de,pn)},lu=Ut=>{j||Cn!=="intent"||on()},xe=Ut=>{if(j||!Cn||!Bi)return;const de=Ut.currentTarget,pn=Er.get(de);pn&&(clearTimeout(pn),Er.delete(de))};return{...D,..._n,...Jn,href:Kt?.href,ref:r,onClick:ss([X,ws]),onBlur:ss([J,xe]),onFocus:ss([H,Qr]),onMouseEnter:ss([Y,Qr]),onMouseLeave:ss([Q,xe]),onTouchStart:ss([Z,lu]),disabled:!!j,target:_,...mn&&{style:mn},...Ts&&{className:Ts},...j&&t2,...Rn&&e2,...G&&As&&n2}}var Hf={},W_={className:"active"},t2={role:"link","aria-disabled":!0},e2={"data-status":"active","aria-current":"page"},n2={"data-transitioning":"transitioning"},Er=new WeakMap,i2={rootMargin:"100px"},ss=e=>i=>{for(const a of e)if(a){if(i.defaultPrevented)return;a(i)}};function a2(e,i,a,r){if(!r)return i?{href:e,external:!0}:{href:a.createHref(e)||"/",external:!1}}function s2(e){if(typeof e!="string")return!1;const i=e.charCodeAt(0);return i===47?e.charCodeAt(1)!==47:i===46}var Kd=K.forwardRef((e,i)=>{const{_asChild:a,...r}=e,{type:l,...c}=$_(r,i),d=typeof r.children=="function"?r.children({isActive:c["data-status"]==="active"}):r.children;if(!a){const{disabled:h,...p}=c;return K.createElement("a",p,d)}return K.createElement(a,c,d)});function r2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var o2=class extends ib{constructor(i){super(i),this.useMatch=a=>va({select:a?.select,from:this.id,structuralSharing:a?.structuralSharing}),this.useRouteContext=a=>Kb({...a,from:this.id}),this.useSearch=a=>Fb({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useParams=a=>Gb({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useLoaderDeps=a=>Yb({...a,from:this.id}),this.useLoaderData=a=>qb({...a,from:this.id}),this.useNavigate=()=>Xb({from:this.fullPath}),this.Link=ps.forwardRef((a,r)=>R.jsx(Kd,{ref:r,from:this.fullPath,...a}))}};function l2(e){return new o2(e)}var u2=class extends Mw{constructor(e){super(e),this.useMatch=i=>va({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>Kb({...i,from:this.id}),this.useSearch=i=>Fb({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>Gb({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>Yb({...i,from:this.id}),this.useLoaderData=i=>qb({...i,from:this.id}),this.useNavigate=()=>Xb({from:this.fullPath}),this.Link=ps.forwardRef((i,a)=>R.jsx(Kd,{ref:a,from:this.fullPath,...i}))}};function c2(e){return new u2(e)}function Pe(e){return new f2(e,{silent:!0}).createRoute}var f2=class{constructor(e,i){this.path=e,this.createRoute=a=>{const r=l2(a);return r.isRoot=!1,r},this.silent=i?.silent}};function fe(e,i){let a,r,l,c;const d=()=>(a||(a=e().then(p=>{a=void 0,r=p[i??"default"]}).catch(p=>{if(l=p,_A(l)&&l instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const m=`tanstack_router_reload:${l.message}`;sessionStorage.getItem(m)||(sessionStorage.setItem(m,"1"),c=!0)}})),a),h=function(m){if(c)throw window.location.reload(),new Promise(()=>{});if(l)throw l;if(!r)if(Bl)Bl(d());else throw d();return K.createElement(r,m)};return h.preload=d,h}function d2(e){const i=Se(),a=`not-found-${ne(i.stores.location,r=>r.pathname)}-${ne(i.stores.status,r=>r)}`;return R.jsx(Gd,{getResetKey:()=>a,onCatch:(r,l)=>{if(ce(r))e.onCatch?.(r,l);else throw r},errorComponent:({error:r})=>{if(ce(r))return e.fallback?.(r);throw r},children:e.children})}function h2(){return R.jsx("p",{children:"Not Found"})}function rs(e){return R.jsx(R.Fragment,{children:e.children})}function Qb(e,i,a){return i.options.notFoundComponent?R.jsx(i.options.notFoundComponent,{...a}):e.options.defaultNotFoundComponent?R.jsx(e.options.defaultNotFoundComponent,{...a}):R.jsx(h2,{})}function m2(e){return null}function p2(){return m2(Se()),null}
12var Zb=K.memo(function({matchId:i}){const a=Se(),r=a.stores.matchStores.get(i);r||ze();const l=ne(a.stores.loadedAt,d=>d),c=ne(r,d=>d);return R.jsx(g2,{router:a,matchId:i,resetKey:l,matchState:K.useMemo(()=>{const d=c.routeId,h=a.routesById[d].parentRoute?.id;return{routeId:d,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:h}},[c._displayPending,c.routeId,c.ssr,a.routesById])})});function g2({router:e,matchId:i,resetKey:a,matchState:r}){const l=e.routesById[r.routeId],c=l.options.pendingComponent??e.options.defaultPendingComponent,d=c?R.jsx(c,{}):null,h=l.options.errorComponent??e.options.defaultErrorComponent,p=l.options.onCatch??e.options.defaultOnCatch,m=l.isRoot?l.options.notFoundComponent??e.options.notFoundRoute?.options.component:l.options.notFoundComponent,g=r.ssr===!1||r.ssr==="data-only",y=(!l.isRoot||l.options.wrapInSuspense||g)&&(l.options.wrapInSuspense??c??(l.options.errorComponent?.preload||g))?K.Suspense:rs,b=h?Gd:rs,S=m?d2:rs;return R.jsxs(l.isRoot?l.options.shellComponent??rs:rs,{children:[R.jsx(iu.Provider,{value:i,children:R.jsx(y,{fallback:d,children:R.jsx(b,{getResetKey:()=>a,errorComponent:h||Fd,onCatch:(A,C)=>{if(ce(A))throw A.routeId??=r.routeId,A;p?.(A,C)},children:R.jsx(S,{fallback:A=>{if(A.routeId??=r.routeId,!m||A.routeId&&A.routeId!==r.routeId||!A.routeId&&!l.isRoot)throw A;return K.createElement(m,A)},children:g||r._displayPending?R.jsx(P_,{fallback:d,children:R.jsx(pv,{matchId:i})}):R.jsx(pv,{matchId:i})})})})}),r.parentRouteId===da?R.jsxs(R.Fragment,{children:[R.jsx(y2,{resetKey:a}),e.options.scrollRestoration&&G0?R.jsx(p2,{}):null]}):null]})}function y2({resetKey:e}){const i=Se(),a=K.useRef(void 0);return _r(()=>{const r=i.latestLocation.href;(a.current===void 0||a.current!==r)&&(i.emit({type:"onRendered",...ds(i.stores.location.get(),i.stores.resolvedLocation.get())}),a.current=r)},[i.latestLocation.state.__TSR_key,e,i]),null}var pv=K.memo(function({matchId:i}
12){const a=Se(),r=(g,y)=>a.getMatch(g.id)?._nonReactive[y]??g._nonReactive[y],l=a.stores.matchStores.get(i);l||ze();const c=ne(l,g=>g),d=c.routeId,h=a.routesById[d],p=K.useMemo(()=>{const g=(a.routesById[d].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:d,loaderDeps:c.loaderDeps,params:c._strictParams,search:c._strictSearch});return g?JSON.stringify(g):void 0},[d,c.loaderDeps,c._strictParams,c._strictSearch,a.options.defaultRemountDeps,a.routesById]),m=K.useMemo(()=>{const g=h.options.component??a.options.defaultComponent;return g?R.jsx(g,{},p):R.jsx(Jb,{})},[p,h.options.component,a.options.defaultComponent]);if(c._displayPending)throw r(c,"displayPendingPromise");if(c._forcePending)throw r(c,"minPendingPromise");if(c.status==="pending"){const g=h.options.pendingMinMs??a.options.defaultPendingMinMs;if(g){const y=a.getMatch(c.id);if(y&&!y._nonReactive.minPendingPromise){const b=ga();y._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),y._nonReactive.minPendingPromise=void 0},g)}}throw r(c,"loadPromise")}if(c.status==="notFound")return ce(c.error)||ze(),Qb(a,h,c.error);if(c.status==="redirected")throw je(c.error)||ze(),r(c,"loadPromise");if(c.status==="error")throw c.error;return m}),Jb=K.memo(function(){const i=Se(),a=K.useContext(iu);let r,l=!1,c;{const m=a?i.stores.matchStores.get(a):void 0;[r,l]=ne(m,g=>[g?.routeId,g?.globalNotFound??!1]),c=ne(i.stores.matchesId,g=>g[g.findIndex(y=>y===a)+1])}const d=r?i.routesById[r]:void 0,h=i.options.defaultPendingComponent?R.jsx(i.options.defaultPendingComponent,{}):null;if(l)return d||ze(),Qb(i,d,void 0);if(!c)return null;const p=R.jsx(Zb,{matchId:c});return r===da?R.jsx(K.Suspense,{fallback:h,children:p}):p});function v2(){const e=Se(),i=K.useRef({router:e,mounted:!1}),[a,r]=K.useState(!1),l=ne(e.stores.isLoading,y=>y),c=ne(e.stores.hasPending,y=>y),d=Pf(l),h=l||a||c,p=Pf(h),m=l||c,g=Pf(m);return e.startTransition=y=>{r(!0),K.startTransition(()=>{y(),r(!1)})},K.useEffect(()=>{const y=e.history.subscribe(e.load),b=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Mi(e.latestLocation.publicHref)!==Mi(b.publicHref)&&e.commitLocation({...b,replace:!0}),()=>{y()}},[e,e.history]),_r(()=>{if(typeof window<"u"&&e.ssr||i.current.router===e&&i.current.mounted)return;i.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(b){console.error(b)}})()},[e]),_r(()=>{d&&!l&&e.emit({type:"onLoad",...ds(e.stores.location.get(),e.stores.resolvedLocation.get())})},[d,e,l]),_r(()=>{g&&!m&&e.emit({type:"onBeforeRouteMount",...ds(e.stores.location.get(),e.stores.resolvedLocation.get())})},[m,g,e]),_r(()=>{if(p&&!h){const y=ds(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...y}),Hb(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())}),y.hrefChanged&&Dw(e)}},[h,p,e]),null}function b2(){const e=Se(),i=e.routesById[da].options.pendingComponent??e.options.defaultPendingComponent,a=i?R.jsx(i,{}):null,r=R.jsxs(typeof document<"u"&&e.ssr?rs:K.Suspense,{fallback:a,children:[R.jsx(v2,{}),R.jsx(S2,{})]});return e.options.InnerWrap?R.jsx(e.options.InnerWrap,{children:r}):r}function S2(){const e=Se(),i=ne(e.stores.firstId,l=>l),a=ne(e.stores.loadedAt,l=>l),r=i?R.jsx(Zb,{matchId:i}):null;return R.jsx(iu.Provider,{value:i,children:e.options.disableGlobalCatchBoundary?r:R.jsx(Gd,{getResetKey:()=>a,errorComponent:Fd,onCatch:void 0,children:r})})}var x2=e=>({createMutableStore:cv,createReadonlyStore:cv,batch:Hb}),T2=e=>new A2(e),A2=class extends bw{constructor(e){super(e,x2)}};function w2({router:e,children:i,...a}){Object.keys(a).length>0&&e.update({...e.options,...a,context:{...e.options.context,...a.context}});const r=R.jsx(Ub.Provider,{value:e,children:i});return e.options.Wrap?R.jsx(e.options.Wrap,{children:r}):r}function E2({router:e,...i}){return R.jsx(w2,{router:e,...i,children:R.jsx(b2,{})})}function $b({tag:e,attrs:i,children:a,nonce:r}){switch(e){case"title":return R.jsx("title",{...i,suppressHydrationWarning:!0,children:a});case"meta":return R.jsx("meta",{...i,suppressHydrationWarning:!0});case"link":return R.jsx("link",{...i,nonce:r,suppressHydrationWarning:!0});case"style":return R.jsx("style",{...i,dangerouslySetInnerHTML:{__html:a},nonce:r});case"script":return R.jsx(R2,{attrs:i,children:a});default:return null}}function R2({attrs:e,children:i}){Se();const a=Xd(),r=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(K.useEffect(()=>{if(!r){if(e?.src){const l=(()=>{try{const d=document.baseURI||window.location.href;return new URL(e.src,d).href}catch{return e.src}})();if(Array.from(document.querySelectorAll("script[src]")).find(d=>d.src===l))return;const c=document.createElement("script");for(const[d,h]of Object.entries(e))d!=="suppressHydrationWarning"&&h!==void 0&&h!==!1&&c.setAttribute(d,typeof h=="boolean"?"":String(h));return document.head.appendChild(c),()=>{c.parentNode&&c.parentNode.removeChild(c)}}if(typeof i=="string"){const l=typeof e?.type=="string"?e.type:"text/javascript",c=typeof e?.nonce=="string"?e.nonce:void 0;if(Array.from(document.querySelectorAll("script:not([src])")).find(h=>{if(!(h instanceof HTMLScriptElement))return!1;const p=h.getAttribute("type")??"text/javascript",m=h.getAttribute("nonce")??void 0;return h.textContent===i&&p===l&&m===c}))return;const d=document.createElement("script");
12if(d.textContent=i,e)for(const[h,p]of Object.entries(e))h!=="suppressHydrationWarning"&&p!==void 0&&p!==!1&&d.setAttribute(h,typeof p=="boolean"?"":String(p));return document.head.appendChild(d),()=>{d.parentNode&&d.parentNode.removeChild(d)}}}},[e,i,r]),r&&typeof i=="string")return R.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:i}});if(!a){if(e?.src)return R.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof i=="string")return R.jsx("script",{...e,dangerouslySetInnerHTML:{__html:i},suppressHydrationWarning:!0})}return null}var _2=e=>{const i=Se(),a=i.options.ssr?.nonce,r=ne(i.stores.matches,m=>m.map(g=>g.meta).filter(Boolean),Ne),l=K.useMemo(()=>{const m=[],g={};let y;for(let b=r.length-1;b>=0;b--){const S=r[b];for(let A=S.length-1;A>=0;A--){const C=S[A];if(C)if(C.title)y||(y={tag:"title",children:C.title});else if("script:ld+json"in C)try{const w=JSON.stringify(C["script:ld+json"]);m.push({tag:"script",attrs:{type:"application/ld+json"},children:OA(w)})}catch{}else{const w=C.name??C.property;if(w){if(g[w])continue;g[w]=!0}m.push({tag:"meta",attrs:{...C,nonce:a}})}}}return y&&m.push(y),a&&m.push({tag:"meta",attrs:{property:"csp-nonce",content:a}}),m.reverse(),m},[r,a]),c=ne(i.stores.matches,m=>{const g=m.map(S=>S.links).filter(Boolean).flat(1).map(S=>({tag:"link",attrs:{...S,nonce:a}})),y=i.ssr?.manifest,b=m.map(S=>y?.routes[S.routeId]?.assets??[]).filter(Boolean).flat(1).filter(S=>S.tag==="link").map(S=>({tag:"link",attrs:{...S.attrs,crossOrigin:Ky(e,"stylesheet")??S.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:a}}));return[...g,...b]},Ne),d=ne(i.stores.matches,m=>{const g=[];return m.map(y=>i.looseRoutesById[y.routeId]).forEach(y=>i.ssr?.manifest?.routes[y.id]?.preloads?.filter(Boolean).forEach(b=>{const S=Cw(b);g.push({tag:"link",attrs:{rel:"modulepreload",href:S.href,crossOrigin:Ky(e,"modulepreload")??S.crossOrigin,nonce:a}})})),g},Ne),h=ne(i.stores.matches,m=>m.map(g=>g.styles).flat(1).filter(Boolean).map(({children:g,...y})=>({tag:"style",attrs:{...y,nonce:a},children:g})),Ne),p=ne(i.stores.matches,m=>m.map(g=>g.headScripts).flat(1).filter(Boolean).map(({children:g,...y})=>({tag:"script",attrs:{...y,nonce:a},children:g})),Ne);return C2([...l,...d,...c,...h,...p],m=>JSON.stringify(m))};function C2(e,i){const a=new Set;return e.filter(r=>{const l=i(r);return a.has(l)?!1:(a.add(l),!0)})}function M2(e){const i=_2(e.assetCrossOrigin),a=Se().options.ssr?.nonce;return R.jsx(R.Fragment,{children:i.map(r=>K.createElement($b,{...r,key:`tsr-meta-${JSON.stringify(r)}`,nonce:a}))})}var D2=()=>{const e=Se(),i=e.options.ssr?.nonce,a=c=>{const d=[],h=e.ssr?.manifest;return h?(c.map(p=>e.looseRoutesById[p.routeId]).forEach(p=>h.routes[p.id]?.assets?.filter(m=>m.tag==="script").forEach(m=>{d.push({tag:"script",attrs:{...m.attrs,nonce:i},children:m.children})})),d):[]},r=c=>c.map(d=>d.scripts).flat(1).filter(Boolean).map(({children:d,...h})=>({tag:"script",attrs:{...h,suppressHydrationWarning:!0,nonce:i},children:d})),l=ne(e.stores.matches,a,Ne);return L2(e,ne(e.stores.matches,r,Ne),l)};function L2(e,i,a){let r;e.serverSsr&&(r=e.serverSsr.takeBufferedScripts());const l=[...i,...a];return r&&l.unshift(r),R.jsx(R.Fragment,{children:l.map((c,d)=>K.createElement($b,{...c,key:`tsr-scripts-${c.tag}-${d}`}))})}const O2="/assets/styles-BNsm5Ghx.css";function N2(){return R.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:R.jsxs("div",{className:"max-w-md text-center",children:[R.jsx("h1",{className:"text-7xl font-bold text-foreground",children:"404"}),R.jsx("h2",{className:"mt-4 text-xl font-semibold text-foreground",children:"Page not found"}),R.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"The page you're looking for doesn't exist or has been moved."}),R.jsx("div",{className:"mt-6",children:R.jsx(Kd,{to:"/",className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Go home"})})]})})}const Xe=c2({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{title:"LHZ - AI for collections, Audit & AR"},{name:"description",content:"Freight Flow Forward streamlines freight operations with AI-powered audit, collections, and AR solutions for brokers."},{name:"author",content:"Lovable"},{property:"og:title",content:"LHZ - AI for collections, Audit & AR"},{property:"og:description",content:"Freight Flow Forward streamlines freight operations with AI-powered audit, collections, and AR solutions for brokers."},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:site",content:"@Lovable"},{name:"twitter:title",content:"LHZ - AI for collections, Audit & AR"},{name:"twitter:description",content:"Freight Flow Forward streamlines freight operations with AI-powered audit, collections, and AR solutions for brokers."},{property:"og:image",content:"https://storage.googleapis.com/gpt-engineer-file-uploads/hxId2avMFhfCxd19eh1BiCYrRIj2/social-images/social-1776449935191-ChatGPT_Image_Apr_17,_2026,_02_13_11_PM.webp"},{name:"twitter:image",content:"https://storage.googleapis.com/gpt-engineer-file-uploads/hxId2avMFhfCxd19eh1BiCYrRIj2/social-images/social-1776449935191-ChatGPT_Image_Apr_17,_2026,_02_13_11_PM.webp"}],links:[{rel:"stylesheet",href:O2},{rel:"icon",type:"image/png",href:"/favicon.png?v=2"}]}),shellComponent:z2,component:P2,notFoundComponent:N2});function j2(){return K.useEffect(()=>{if(document.querySelector("script[data-claydar-init]"))return;const i=document.createElement("script");i.src="https://static.claydar.com/init.v1.js?id=cWXAyDXW6w",i.async=!0,i.dataset.claydarInit="",document.body.appendChild(i)},[]),null}function z2({children:e}){return R.jsxs("html",{lang:"en",suppressHydrationWarning:!0,children:[R.jsx("head",{children:R.jsx(M2,{})}),R.jsxs("body",{suppressHydrationWarning:!0,children:[e,R.jsx(D2,{}),R.jsx(j2,{})]})]})}function P2(){return R.jsx(Jb,{})}const V2="modulepreload",B2=function(e){return"/"+e},gv={},ie=function(i,a,r){let l=Promise.resolve();if(a&&a.length>0){let p=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),h=d?.nonce||d?.getAttribute("nonce");l=p(a.map(m=>{if(m=B2(m),m in gv)return;gv[m]=!0;const g=m.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${y}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":V2,g||(b.as="script"),b.crossOrigin="",b.href=m,h&&b.setAttribute("nonce",h),document.head.appendChild(b),g)return new Promise((S,A)=>{b.addEventListener("load",S),b.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${m}`)))})}))}function c(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return l.then(d=>{for(const h of d||[])h.status==="rejected"&&c(h.reason);return i().catch(c)})},U2=()=>ie(()=>import("./tai-DtByhHNu.js"),__vite__mapDeps([0,1,2,3])),yv="https://lhz.lovable.app/tai",k2=Pe("/tai")({head:()=>({meta:[{title:"Lighthouz AI + TAI TMS â 15% off freight audit & collections"},{name:"description",content:"Exclusive TAI TMS offer: 15% off Lighthouz AI freight bill audit and collections automation for TL and LTL. Same finance team, more cash flow."},{property:"og:title",content:"Lighthouz AI + TAI TMS â 15% off freight audit & collections"},{property:"og:description",content:"Exclusive TAI TMS offer: 15% off Lighthouz AI freight bill audit and collections automation for TL and LTL. Same finance team, more cash flow."},{property:"og:url",content:yv},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:yv}]}),component:fe(U2,"component")}),H2=()=>ie(()=>import("./syfan-VkhWOrpz.js"),__vite__mapDeps([4,5,1,3,2])),vv="https://lhz.lovable.app/syfan",bv="Lighthouz AI for Syfan Logistics â end-to-e
12nd AI agents for freight finance",Sv="Lighthouz AI runs freight bill audit, collections, AR invoicing, and AR analytics end to end for Syfan Logistics. The whole finance stack, agentic. Same finance team, more cash flow.",I2=Pe("/syfan")({head:()=>({meta:[{title:bv},{name:"description",content:Sv},{property:"og:title",content:bv},{property:"og:description",content:Sv},{property:"og:url",content:vv},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:vv}]}),component:fe(H2,"component")}),q2=()=>ie(()=>import("./security-dbDMToIr.js"),__vite__mapDeps([6,1,7])),Y2=Pe("/security")({head:()=>({meta:[{title:"Security â Lighthouz AI"},{name:"description",content:"Enterprise-grade security at Lighthouz AI: SOC 2-aligned controls, encryption in transit and at rest, SSO, and least-privilege access for freight broker data."},{property:"og:title",content:"Security â Lighthouz AI"},{property:"og:description",content:"How Lighthouz AI protects freight broker data: encryption, access controls, sub-processors, and incident response."}]}),component:fe(q2,"component")}),G2=()=>ie(()=>import("./resources-DbYU5vuS.js"),[]),F2=Pe("/resources")({component:fe(G2,"component")}),X2=()=>ie(()=>import("./privacy-F9eZZ8U-.js"),__vite__mapDeps([8,1])),K2=Pe("/privacy")({head:()=>({meta:[{title:"Privacy Policy â Lighthouz AI"},{name:"description",content:"How Lighthouz AI collects, uses, stores, and protects your data across our freight back-office automation platform."},{property:"og:title",content:"Privacy Policy â Lighthouz AI"},{property:"og:description",content:"Our commitments around data collection, use, retention, and your rights as a Lighthouz AI customer."}]}),component:fe(X2,"component")}),Q2=()=>ie(()=>import("./contact-D4X8YagB.js"),__vite__mapDeps([9,1])),Z2=Pe("/contact")({head:()=>({meta:[{title:"Contact â Lighthouz AI"},{name:"description",content:"Book a demo of Lighthouz AI â freight bill audit, AR automation, and collections automation for freight brokers."},{property:"og:title",content:"Contact Lighthouz AI"},{property:"og:description",content:"Book a 30-minute demo with the Lighthouz AI team to see freight back-office automation in action."}]}),component:fe(Q2,"component")}),J2=()=>ie(()=>import("./arrive-DxWpnrkg.js"),__vite__mapDeps([10,5,1,3,2])),xv="https://lhz.lovable.app/arrive",Tv="Lighthouz AI for Arrive Logistics â end-to-end AI agents for freight finance",Av="Lighthouz AI runs freight bill audit, collections, AR invoicing, and AR analytics end to end for Arrive Logistics. The whole finance stack, agentic. Same finance team, more cash flow.",$2=Pe("/arrive")({head:()=>({meta:[{title:Tv},{name:"description",content:Av},{property:"og:title",content:Tv},{property:"og:description",content:Av},{property:"og:url",content:xv},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:xv}]}),component:fe(J2,"component")}),W2=()=>ie(()=>import("./about-DgkjFjbs.js"),__vite__mapDeps([11,1,12])),tC=Pe("/about")({head:()=>({meta:[{title:"About Lighthouz AI â YC-backed freight back-office automation"},{name:"description",content:"Lighthouz AI is a YC S24-backed freight back-office automation platform helping freight brokers automate freight bill audit, AR, and collections."},{property:"og:title",content:"About Lighthouz AI â Freight back-office automation"},{property:"og:description",content:"YC S24-backed team building AI agents for freight bill audit, AR automation, and collections automation."}]}),component:fe(W2,"component")}),eC=()=>ie(()=>import("./index-D8jFlHED.js"),__vite__mapDeps([13,1,14,12,15,2,7])),nC=Pe("/")({head:()=>({meta:[{title:"Lighthouz AI â FTL & LTL freight bill audit, AR & collections automation"},{name:"description",content:"Lighthouz AI automates FTL and LTL freight bill audits, AR, and collections for freight brokers. AI agents for freight bill audit, shipper invoicing, AR automation, and collections automation across truckload and LTL. No rip-and-replace."},{property:"og:title",content:"Lighthouz AI â FTL & LTL freight bill audit, AR & collections automation for brokers"},{property:"og:description",content:"Automate FTL and LTL freight bill audit, invoicing, and collections with AI agents purpose-built for freight brokerages."}]}),component:fe(eC,"component")}),iC={slug:"ftl",eyebrow:"Truckload (FTL) · Now Live",h1:"Full truckload carrier bills. Audited automatically.",subhead:"Lighthouz ingests FTL carrier bills from any source â PDF, EDI, email â and audits every line item against your TMS load data. 70â85% resolved with zero human touch.",metaTitle:"FTL Freight Bill Audit Automation â Lighthouz AI for Freight Brokers",metaDesc:"Automate full truckload (FTL) carrier bill audits with Lighthouz AI. Linehaul, FSC, accessorial verification, and auto-dispute filing for freight brokers.",stats:[{value:"70â85%",label:"No-touch rate"},{value:"45+",label:"Audit checks per bill"},{value:"<60s",label:"Per audit"}]},aC={slug:"ltl",eyebrow:"LTL Freight · Now Live",h1:"The LTL audit automation tool brokers have been waiting for",subhead:"LTL carrier bills are full of accessorials, re-rates, reweighs, and reclasses. Generic AP tools check invoice totals. Lighthouz checks every line item â and files disputes automatically.",metaTitle:"LTL Freight Audit & Dispute Automation â Lighthouz AI",metaDesc:"Lighthouz AI is the first freight bill audit tool built for LTL billing complexity â accessorial validation, reweighs, reclasses, and automated dispute filing for freight brokers.",stats:[{value:"91%",label:"no-touch AP"},{value:"5 days",label:"earlier invoicing"},{value:"42.8%",label:"of LTL errors from accessorials"}]},sC=()=>ie(()=>import("./shipment-types._type-bOV-Q-x2.js"),__vite__mapDeps([16,1])),rC=()=>ie(()=>import("./shipment-types._type-DxzN2ROB.js"),__vite__mapDeps([17,1])),oC={ftl:iC,ltl:aC},lC=Pe("/shipment-types/$type")({loader:({params:e})=>{const i=oC[e.type];if(!i)throw Zl();return{content:i}},head:({loaderData:e})=>{const i=e?.content;return i?{meta:[{title:i.metaTitle},{name:"description",content:i.metaDesc},{property:"og:title",content:i.metaTitle},{property:"og:description",content:i.metaDesc}]}:{meta:[{title:"Shipment Type â Lighthouz AI"}]}},component:fe(rC,"component"),notFoundComponent:fe(sC,"notFoundComponent")}),Wb=K.createContext({});function uC(e){const i=K.useRef(null);return i.current===null&&(i.current=e()),i.current}const cC=typeof window<"u",fC=cC?K.useLayoutEffect:K.useEffect,Qd=K.createContext(null);function Zd(e,i){e.indexOf(i)===-1&&e.push(i)}function kl(e,i){const a=e.indexOf(i);a>-1&&e.splice(a,1)}const En=(e,i,a)=>a>i?i:a<e?e:a;let Jd=()=>{};const Li={},tS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function eS(e){return typeof e=="object"&&e!==null}const nS=e=>/^0[^.\s]+$/u.test(e);function iS(e){let i;return()=>(i===void 0&&(i=e()),i)}const rn=e=>e,dC=(e,i)=>a=>i(e(a)),Yr=(...e)=>e.reduce(dC),Br=(e,i,a)=>{const r=i-e;return r===0?1:(a-e)/r};class $d{constructor(){this.subscriptions=[]}add(i){return Zd(this.subscriptions,i),()=>kl(this.subscriptions,i)}notify(i,a,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](i,a,r);else for(let c=0;c<l;c++){const d=this.subscriptions[c];d&&d(i,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Fe=e=>e*1e3,sn=e=>e/1e3;function aS(e,i){return i?e*(1e3/i):0}const sS=(e,i,a)=>(((1-3*a+3*i)*e+(3*a-6*i))*e+3*i)*e,hC=1e-7,mC=12;function pC(e,i,a,r,l){let c,d,h=0;do d=i+(a-i)/2,c=sS(d,r,l)-e,c>0?a=d:i=d;while(Math.abs(c)>hC&&++h<mC);return d}function Gr(e,i,a,r){if(e===i&&a===r)return rn;const l=c=>pC(c,0,1,e,a);return c=>c===0||c===1?c:sS(l(c),i,r)}const rS=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,oS=e=>i=>1-e(1-i),lS=Gr(.33,1.53,.69,.99),Wd=oS(lS),uS=rS(Wd),cS=e=>e>=1?1:(e*=2)<1?.5*Wd(e):.5*(2-Math.pow(2,-10*(e-1))),th=e=>1-Math.sin(Math.acos(e)),fS=oS(th),dS=rS(th),gC=Gr(.42,0,1,1),yC=Gr(0,0,.58,1),hS=Gr(.42,0,.58,1),vC=e=>Array.isArray(e)&&typeof e[0]!="number",mS=e=>Array.isArray(e)&&typeof e[0]=="number",bC={linear:rn,easeIn:gC,easeInOut:hS,easeOut:yC,circIn:th,circInOut:dS,circOut:fS,backIn:Wd,backInOut:uS,backOut:lS,anticipate:cS},SC=e=>typeof e=="string",wv=e=>{if(mS(e)){Jd(e.length===4);const[i,a,r,l]=e;return Gr(i,a,r,l)}else if(SC(e))return bC[e];return e},gl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xC(e,i){let a=new Set,r=new Set,l=!1,c=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};
vendor: 95,232 bytes, line 12
12function p(g){d.has(g)&&(m.schedule(g),e()),g(h)}const m={schedule:(g,y=!1,b=!1)=>{const A=b&&l?a:r;return y&&d.add(g),A.add(g),g},cancel:g=>{r.delete(g),d.delete(g)},process:g=>{if(h=g,l){c=!0;return}l=!0;const y=a;a=r,r=y,a.forEach(p),a.clear(),l=!1,c&&(c=!1,m.process(g))}};return m}const TC=40;function pS(e,i){let a=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,d=gl.reduce((O,z)=>(O[z]=xC(c),O),{}),{setup:h,read:p,resolveKeyframes:m,preUpdate:g,update:y,preRender:b,render:S,postRender:A}=d,C=()=>{const O=Li.useManualTiming,z=O?l.timestamp:performance.now();a=!1,O||(l.delta=r?1e3/60:Math.max(Math.min(z-l.timestamp,TC),1)),l.timestamp=z,l.isProcessing=!0,h.process(l),p.process(l),m.process(l),g.process(l),y.process(l),b.process(l),S.process(l),A.process(l),l.isProcessing=!1,a&&i&&(r=!1,e(C))},w=()=>{a=!0,r=!0,l.isProcessing||e(C)};return{schedule:gl.reduce((O,z)=>{const X=d[z];return O[z]=(J,H=!1,Y=!1)=>(a||w(),X.schedule(J,H,Y)),O},{}),cancel:O=>{for(let z=0;z<gl.length;z++)d[gl[z]].cancel(O)},state:l,steps:d}}const{schedule:Bt,cancel:Oi,state:ve,steps:If}=pS(typeof requestAnimationFrame<"u"?requestAnimationFrame:rn,!0);let El;function AC(){El=void 0}const we={now:()=>(El===void 0&&we.set(ve.isProcessing||Li.useManualTiming?ve.timestamp:performance.now()),El),set:e=>{El=e,queueMicrotask(AC)}},gS=e=>i=>typeof i=="string"&&i.startsWith(e),yS=gS("--"),wC=gS("var(--"),eh=e=>wC(e)?EC.test(e.split("/*")[0].trim()):!1,EC=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ev(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const bs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ur={...bs,transform:e=>En(0,1,e)},yl={...bs,default:1},Mr=e=>Math.round(e*1e5)/1e5,nh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function RC(e){return e==null}const _C=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ih=(e,i)=>a=>!!(typeof a=="string"&&_C.test(a)&&a.startsWith(e)||i&&!RC(a)&&Object.prototype.hasOwnProperty.call(a,i)),vS=(e,i,a)=>r=>{if(typeof r!="string")return r;const[l,c,d,h]=r.match(nh);return{[e]:parseFloat(l),[i]:parseFloat(c),[a]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},CC=e=>En(0,255,e),qf={...bs,transform:e=>Math.round(CC(e))},ca={test:ih("rgb","red"),parse:vS("red","green","blue"),transform:({red:e,green:i,blue:a,alpha:r=1})=>"rgba("+qf.transform(e)+", "+qf.transform(i)+", "+qf.transform(a)+", "+Mr(Ur.transform(r))+")"};function MC(e){let i="",a="",r="",l="";return e.length>5?(i=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),l=e.substring(7,9)):(i=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),l=e.substring(4,5),i+=i,a+=a,r+=r,l+=l),{red:parseInt(i,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const md={test:ih("#"),parse:MC,transform:ca.transform},Fr=e=>({test:i=>typeof i=="string"&&i.endsWith(e)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${e}`}),Ai=Fr("deg"),wn=Fr("%"),at=Fr("px"),DC=Fr("vh"),LC=Fr("vw"),Rv={...wn,parse:e=>wn.parse(e)/100,transform:e=>wn.transform(e*100)},us={test:ih("hsl","hue"),parse:vS("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+wn.transform(Mr(i))+", "+wn.transform(Mr(a))+", "+Mr(Ur.transform(r))+")"},ee={test:e=>ca.test(e)||md.test(e)||us.test(e),parse:e=>ca.test(e)?ca.parse(e):us.test(e)?us.parse(e):md.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ca.transform(e):us.transform(e),getAnimatableNone:e=>{const i=ee.parse(e);return i.alpha=0,ee.transform(i)}},OC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function NC(e){return isNaN(e)&&typeof e=="string"&&(e.match(nh)?.length||0)+(e.match(OC)?.length||0)>0}const bS="number",SS="color",jC="var",zC="var(",_v="${}",PC=/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 ys(e){const i=e.toString(),a=[],r={color:[],number:[],var:[]},l=[];let c=0;const h=i.replace(PC,p=>(ee.test(p)?(r.color.push(c),l.push(SS),a.push(ee.parse(p))):p.startsWith(zC)?(r.var.push(c),l.push(jC),a.push(p)):(r.number.push(c),l.push(bS),a.push(parseFloat(p))),++c,_v)).split(_v);return{values:a,split:h,indexes:r,types:l}}function VC(e){return ys(e).values}function xS({split:e,types:i}){const a=e.length;return r=>{let l="";for(let c=0;c<a;c++)if(l+=e[c],r[c]!==void 0){const d=i[c];d===bS?l+=Mr(r[c]):d===SS?l+=ee.transform(r[c]):l+=r[c]}return l}}function BC(e){return xS(ys(e))}const UC=e=>typeof e=="number"?0:ee.test(e)?ee.getAnimatableNone(e):e,kC=(e,i)=>typeof e=="number"?i?.trim().endsWith("/")?e:0:UC(e);function HC(e){const i=ys(e);return xS(i)(i.values.map((r,l)=>kC(r,i.split[l])))}const hn={test:NC,parse:VC,createTransformer:BC,getAnimatableNone:HC};function Yf(e,i,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(i-e)*6*a:a<1/2?i:a<2/3?e+(i-e)*(2/3-a)*6:e}function IC({hue:e,saturation:i,lightness:a,alpha:r}){e/=360,i/=100,a/=100;let l=0,c=0,d=0;if(!i)l=c=d=a;else{const h=a<.5?a*(1+i):a+i-a*i,p=2*a-h;l=Yf(p,h,e+1/3),c=Yf(p,h,e),d=Yf(p,h,e-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:r}}function Hl(e,i){return a=>a>0?i:e}const It=(e,i,a)=>e+(i-e)*a,Gf=(e,i,a)=>{const r=e*e,l=a*(i*i-r)+r;return l<0?0:Math.sqrt(l)},qC=[md,ca,us],YC=e=>qC.find(i=>i.test(e));function Cv(e){const i=YC(e);if(!i)return!1;let a=i.parse(e);return i===us&&(a=IC(a)),a}const Mv=(e,i)=>{const a=Cv(e),r=Cv(i);if(!a||!r)return Hl(e,i);const l={...a};return c=>(l.red=Gf(a.red,r.red,c),l.green=Gf(a.green,r.green,c),l.blue=Gf(a.blue,r.blue,c),l.alpha=It(a.alpha,r.alpha,c),ca.transform(l))},pd=new Set(["none","hidden"]);function GC(e,i){return pd.has(e)?a=>a<=0?e:i:a=>a>=1?i:e}function FC(e,i){return a=>It(e,i,a)}function ah(e){return typeof e=="number"?FC:typeof e=="string"?eh(e)?Hl:ee.test(e)?Mv:QC:Array.isArray(e)?TS:typeof e=="object"?ee.test(e)?Mv:XC:Hl}function TS(e,i){const a=[...e],r=a.length,l=e.map((c,d)=>ah(c)(c,i[d]));return c=>{for(let d=0;d<r;d++)a[d]=l[d](c);return a}}function XC(e,i){const a={...e,...i},r={};for(const l in a)e[l]!==void 0&&i[l]!==void 0&&(r[l]=ah(e[l])(e[l],i[l]));return l=>{for(const c in r)a[c]=r[c](l);return a}}function KC(e,i){const a=[],r={color:0,var:0,number:0};for(let l=0;l<i.values.length;l++){const c=i.types[l],d=e.indexes[c][r[c]],h=e.values[d]??0;a[l]=h,r[c]++}return a}const QC=(e,i)=>{const a=hn.createTransformer(i),r=ys(e),l=ys(i);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?pd.has(e)&&!l.values.length||pd.has(i)&&!r.values.length?GC(e,i):Yr(TS(KC(r,l),l.values),a):Hl(e,i)};function AS(e,i,a){return typeof e=="number"&&typeof i=="number"&&typeof a=="number"?It(e,i,a):ah(e)(e,i)}const ZC=e=>{const i=({timestamp:a})=>e(a);return{start:(a=!0)=>Bt.update(i,a),stop:()=>Oi(i),now:()=>ve.isProcessing?ve.timestamp:we.now()}},wS=(e,i,a=10)=>{let r="";const l=Math.max(Math.round(i/a),2);for(let c=0;c<l;c++)r+=Math.round(e(c/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Il=2e4;function sh(e){let i=0;const a=50;let r=e.next(i);for(;!r.done&&i<Il;)i+=a,r=e.next(i);return i>=Il?1/0:i}function JC(e,i=100,a){const r=a({...e,keyframes:[0,i]}),l=Math.min(sh(r),Il);return{type:"keyframes",ease:c=>r.next(l*c).value/i,duration:sn(l)}}const Xt={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 gd(e,i){return e*Math.sqrt(1-i*i)}const $C=12;function WC(e,i,a){let r=a;for(let l=1;l<$C;l++)r=r-e(r)/i(r);return r}const Ff=.001;function tM({duration:e=Xt.duration,bounce:i=Xt.bounce,velocity:a=Xt.velocity,mass:r=Xt.mass}){let l,c,d=1-i;d=En(Xt.minDamping,Xt.maxDamping,d),e=En(Xt.minDuration,Xt.maxDuration,sn(e)),d<1?(l=m=>{const g=m*d,y=g*e,b=g-a,S=gd(m,d),A=Math.exp(-y);return Ff-b/S*A},c=m=>{const y=m*d*e,b=y*a+a,S=Math.pow(d,2)*Math.pow(m,2)*e,A=Math.exp(-y),C=gd(Math.pow(m,2),d);return(-l(m)+Ff>0?-1:1)*((b-S)*A)/C}):(l=m=>{const g=Math.exp(-m*e),y=(m-a)*e+1;return-Ff+g*y},c=m=>{const g=Math.exp(-m*e),y=(a-m)*(e*e);return g*y});const h=5/e,p=WC(l,c,h);if(e=Fe(e),isNaN(p))return{stiffness:Xt.stiffness,damping:Xt.damping,duration:e};{const m=Math.pow(p,2)*r;return{stiffness:m,damping:d*2*Math.sqrt(r*m),duration:e}}}const eM=["duration","bounce"],nM=["stiffness","damping","mass"];function Dv(e,i){return i.some(a=>e[a]!==void 0)}function iM(e){let i={velocity:Xt.velocity,stiffness:Xt.stiffness,damping:Xt.damping,mass:Xt.mass,isResolvedFromDuration:!1,...e};if(!Dv(e,nM)&&Dv(e,eM))if(i.velocity=0,e.visualDuration){const a=e.visualDuration,r=2*Math.PI/(a*1.2),l=r*r,c=2*En(.05,1,1-(e.bounce||0))*Math.sqrt(l);i={...i,mass:Xt.mass,stiffness:l,damping:c}}else{const a=tM({...e,velocity:0});i={...i,...a,mass:Xt.mass},i.isResolvedFromDuration=!0}return i}function ql(e=Xt.visualDuration,i=Xt.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:i}:e;let{restSpeed:r,restDelta:l}=a;const c=a.keyframes[0],d=a.keyframes[a.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:m,mass:g,duration:y,velocity:b,isResolvedFromDuration:S}=iM({...a,velocity:-sn(a.velocity||0)}),A=b||0,C=m/(2*Math.sqrt(p*g)),w=d-c,_=sn(Math.sqrt(p/g)),j=Math.abs(w)<5;r||(r=j?Xt.restSpeed.granular:Xt.restSpeed.default),l||(l=j?Xt.restDelta.granular:Xt.restDelta.default);let O,z,X,J,H,Y;if(C<1)X=gd(_,C),J=(A+C*_*w)/X,O=Z=>{const W=Math.exp(-C*_*Z);return d-W*(J*Math.sin(X*Z)+w*Math.cos(X*Z))},H=C*_*J+w*X,Y=C*_*w-J*X,z=Z=>Math.exp(-C*_*Z)*(H*Math.sin(X*Z)+Y*Math.cos(X*Z));else if(C===1){O=W=>d-Math.exp(-_*W)*(w+(A+_*w)*W);const Z=A+_*w;z=W=>Math.exp(-_*W)*(_*Z*W-A)}else{const Z=_*Math.sqrt(C*C-1);O=At=>{const gt=Math.exp(-C*_*At),U=Math.min(Z*At,300);return d-gt*((A+C*_*w)*Math.sinh(U)+Z*w*Math.cosh(U))/Z};const W=(A+C*_*w)/Z,lt=C*_*W-w*Z,dt=C*_*w-W*Z;z=At=>{const gt=Math.exp(-C*_*At),U=Math.min(Z*At,300);return gt*(lt*Math.sinh(U)+dt*Math.cosh(U))}}const Q={calculatedDuration:S&&y||null,velocity:Z=>Fe(z(Z)),next:Z=>{if(!S&&C<1){const lt=Math.exp(-C*_*Z),dt=Math.sin(X*Z),At=Math.cos(X*Z),gt=d-lt*(J*dt+w*At),U=Fe(lt*(H*dt+Y*At));return h.done=Math.abs(U)<=r&&Math.abs(d-gt)<=l,h.value=h.done?d:gt,h}const W=O(Z);if(S)h.done=Z>=y;else{const lt=Fe(z(Z));h.done=Math.abs(lt)<=r&&Math.abs(d-W)<=l}return h.value=h.done?d:W,h},toString:()=>{const Z=Math.min(sh(Q),Il),W=wS(lt=>Q.next(Z*lt).value,Z,30);return Z+"ms "+W},toTransition:()=>{}};return Q}ql.applyToOptions=e=>{const i=JC(e,100,ql);return e.ease=i.ease,e.duration=Fe(i.duration),e.type="keyframes",e};const aM=5;function ES(e,i,a){const r=Math.max(i-aM,0);return aS(a-e(r),i-r)}function yd({keyframes:e,velocity:i=0,power:a=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:d,min:h,max:p,restDelta:m=.5,restSpeed:g}){const y=e[0],b={done:!1,value:y},S=Y=>h!==void 0&&Y<h||p!==void 0&&Y>p,A=Y=>h===void 0?p:p===void 0||Math.abs(h-Y)<Math.abs(p-Y)?h:p;let C=a*i;const w=y+C,_=d===void 0?w:d(w);_!==w&&(C=_-y);const j=Y=>-C*Math.exp(-Y/r),O=Y=>_+j(Y),z=Y=>{const Q=j(Y),Z=O(Y);b.done=Math.abs(Q)<=m,b.value=b.done?_:Z};let X,J;const H=Y=>{S(b.value)&&(X=Y,J=ql({keyframes:[b.value,A(b.value)],velocity:ES(O,Y,b.value),damping:l,stiffness:c,restDelta:m,restSpeed:g}))};return H(0),{calculatedDuration:null,next:Y=>{let Q=!1;return!J&&X===void 0&&(Q=!0,z(Y),H(Y)),X!==void 0&&Y>=X?J.next(Y-X):(!Q&&z(Y),b)}}}function sM(e,i,a){const r=[],l=a||Li.mix||AS,c=e.length-1;for(let d=0;d<c;d++){let h=l(e[d],e[d+1]);if(i){const p=Array.isArray(i)?i[d]||rn:i;h=Yr(p,h)}r.push(h)}return r}function rM(e,i,{clamp:a=!0,ease:r,mixer:l}={}){const c=e.length;if(Jd(c===i.length),c===1)return()=>i[0];if(c===2&&i[0]===i[1])return()=>i[1];const d=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),i=[...i].reverse());const h=sM(i,r,l),p=h.length,m=g=>{if(d&&g<e[0])return i[0];let y=0;if(p>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const b=Br(e[y],e[y+1],g);return h[y](b)};return a?g=>m(En(e[0],e[c-1],g)):m}function oM(e,i){const a=e[e.length-1];for(let r=1;r<=i;r++){const l=Br(0,i,r);e.push(It(a,1,l))}}function lM(e){const i=[0];return oM(i,e.length-1),i}function uM(e,i){return e.map(a=>a*i)}function cM(e,i){return e.map(()=>i||hS).splice(0,e.length-1)}function Dr({duration:e=300,keyframes:i,times:a,ease:r="easeInOut"}){const l=vC(r)?r.map(wv):wv(r),c={done:!1,value:i[0]},d=uM(a&&a.length===i.length?a:lM(i),e),h=rM(d,i,{ease:Array.isArray(l)?l:cM(i,l)});return{calculatedDuration:e,next:p=>(c.value=h(p),c.done=p>=e,c)}}const fM=e=>e!==null;function au(e,{repeat:i,repeatType:a="loop"},r,l=1){const c=e.filter(fM),h=l<0||i&&a!=="loop"&&i%2===1?0:c.length-1;return!h||r===void 0?c[h]:r}const dM={decay:yd,inertia:yd,tween:Dr,keyframes:Dr,spring:ql};function RS(e){typeof e.type=="string"&&(e.type=dM[e.type])}class rh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,a){return this.finished.then(i,a)}}const hM=e=>e/100;class Yl extends rh{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==we.now()&&this.tick(we.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;RS(i);const{type:a=Dr,repeat:r=0,repeatDelay:l=0,repeatType:c,velocity:d=0}=i;let{keyframes:h}=i;const p=a||Dr;p!==Dr&&typeof h[0]!="number"&&(this.mixKeyframes=Yr(hM,AS(h[0],h[1])),h=[0,100]);const m=p({...i,keyframes:h});c==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...h].reverse(),velocity:-d})),m.calculatedDuration===null&&(m.calculatedDuration=sh(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=m}updateTime(i){const a=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(i,a=!1){const{generator:r,totalDuration:l,mixKeyframes:c,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:g,repeat:y,repeatType:b,repeatDelay:S,type:A,onUpdate:C,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-l/this.speed,this.startTime)),a?this.currentTime=i:this.updateTime(i);const _=this.currentTime-m*(this.playbackSpeed>=0?1:-1),j=this.playbackSpeed>=0?_<0:_>l;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let O=this.currentTime,z=r;if(y){const Y=Math.min(this.currentTime,l)/h;let Q=Math.floor(Y),Z=Y%1;!Z&&Y>=1&&(Z=1),Z===1&&Q--,Q=Math.min(Q,y+1),Q%2&&(b==="reverse"?(Z=1-Z,S&&(Z-=S/h)):b==="mirror"&&(z=d)),O=En(0,1,Z)*h}let X;j?(this.delayState.value=g[0],X=this.delayState):X=z.next(O),c&&!j&&(X.value=c(X.value));let{done:J}=X;!j&&p!==null&&(J=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&J);return H&&A!==yd&&(X.value=au(g,this.options,w,this.speed)),C&&C(X.value),H&&this.finish(),X}then(i,a){return this.finished.then(i,a)}get duration(){return sn(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+sn(i)}get time(){return sn(this.currentTime)}set time(i){i=Fe(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const a=this.generator.next(i).value;return ES(r=>this.generator.next(r).value,i,a)}get speed(){return this.playbackSpeed}set speed(i){const a=this.playbackSpeed!==i;a&&this.driver&&this.updateTime(we.now()),this.playbackSpeed=i,a&&this.driver&&(this.time=sn(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=ZC,startTime:a}=this.options;this.driver||(this.driver=i(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(we.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function mM(e){for(let i=1;i<e.length;i++)e[i]??(e[i]=e[i-1])}const fa=e=>e*180/Math.PI,vd=e=>{const i=fa(Math.atan2(e[1],e[0]));return bd(i)},pM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:vd,rotateZ:vd,skewX:e=>fa(Math.atan(e[1])),skewY:e=>fa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},bd=e=>(e=e%360,e<0&&(e+=360),e),Lv=vd,Ov=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Nv=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),gM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ov,scaleY:Nv,scale:e=>(Ov(e)+Nv(e))/2,rotateX:e=>bd(fa(Math.atan2(e[6],e[5]))),rotateY:e=>bd(fa(Math.atan2(-e[2],e[0]))),rotateZ:Lv,rotate:Lv,skewX:e=>fa(Math.atan(e[4])),skewY:e=>fa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Sd(e){return e.includes("scale")?1:0}function xd(e,i){if(!e||e==="none")return Sd(i);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(a)r=gM,l=a;else{const h=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=pM,l=h}if(!l)return Sd(i);const c=r[i],d=l[1].split(",").map(vM);return typeof c=="function"?c(d):d[c]}const yM=(e,i)=>{const{transform:a="none"}=getComputedStyle(e);return xd(a,i)};function vM(e){return parseFloat(e.trim())}const Ss=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xs=new Set(Ss),jv=e=>e===bs||e===at,bM=new Set(["x","y","z"]),SM=Ss.filter(e=>!bM.has(e));function xM(e){const i=[];return SM.forEach(a=>{const r=e.getValue(a);r!==void 0&&(i.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),i}const Ci={width:({x:e},{paddingLeft:i="0",paddingRight:a="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},height:({y:e},{paddingTop:i="0",paddingBottom:a="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},top:(e,{top:i})=>parseFloat(i),left:(e,{left:i})=>parseFloat(i),bottom:({y:e},{top:i})=>parseFloat(i)+(e.max-e.min),right:({x:e},{left:i})=>parseFloat(i)+(e.max-e.min),x:(e,{transform:i})=>xd(i,"x"),y:(e,{transform:i})=>xd(i,"y")};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const ma=new Set;let Td=!1,Ad=!1,wd=!1;function _S(){if(Ad){const e=Array.from(ma).filter(r=>r.needsMeasurement),i=new Set(e.map(r=>r.element)),a=new Map;i.forEach(r=>{const l=xM(r);l.length&&(a.set(r,l),r.render())}),e.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const l=a.get(r);l&&l.forEach(([c,d])=>{r.getValue(c)?.set(d)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ad=!1,Td=!1,ma.forEach(e=>e.complete(wd)),ma.clear()}function CS(){ma.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ad=!0)})}function TM(){wd=!0,CS(),_S(),wd=!1}class oh{constructor(i,a,r,l,c,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=a,this.name=r,this.motionValue=l,this.element=c,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(ma.add(this),Td||(Td=!0,Bt.read(CS),Bt.resolveKeyframes(_S))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:a,element:r,motionValue:l}=this;if(i[0]===null){const c=l?.get(),d=i[i.length-1];if(c!==void 0)i[0]=c;else if(r&&a){const h=r.readValue(a,d);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=d),l&&c===void 0&&l.set(i[0])}mM(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),ma.delete(this)}cancel(){this.state==="scheduled"&&(ma.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const AM=e=>e.startsWith("--");function MS(e,i,a){AM(i)?e.style.setProperty(i,a):e.style[i]=a}const wM={};function DS(e,i){const a=iS(e);return()=>wM[i]??a()}const EM=DS(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),LS=DS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Cr=([e,i,a,r])=>`cubic-bezier(${e}, ${i}, ${a}, ${r})`,zv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cr([0,.65,.55,1]),circOut:Cr([.55,0,1,.45]),backIn:Cr([.31,.01,.66,-.59]),backOut:Cr([.33,1.53,.69,.99])};function OS(e,i){if(e)return typeof e=="function"?LS()?wS(e,i):"ease-out":mS(e)?Cr(e):Array.isArray(e)?e.map(a=>OS(a,i)||zv.easeOut):zv[e]}function RM(e,i,a,{delay:r=0,duration:l=300,repeat:c=0,repeatType:d="loop",ease:h="easeOut",times:p}={},m=void 0){const g={[i]:a};p&&(g.offset=p);const y=OS(h,l);Array.isArray(y)&&(g.easing=y);const b={delay:r,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"};return m&&(b.pseudoElement=m),e.animate(g,b)}function NS(e){return typeof e=="function"&&"applyToOptions"in e}function _M({type:e,...i}){return NS(e)&&LS()?e.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class jS extends rh{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:a,name:r,keyframes:l,pseudoElement:c,allowFlatten:d=!1,finalKeyframe:h,onComplete:p}=i;this.isPseudoElement=!!c,this.allowFlatten=d,this.options=i,Jd(typeof i.type!="string");const m=_M(i);this.animation=RM(a,r,l,m,c),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=au(l,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),MS(a,r,g),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const i=this.options?.element;!this.isPseudoElement&&i?.isConnected&&this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return sn(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+sn(i)}get time(){return sn(Number(this.animation.currentTime)||0)}set time(i){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Fe(i),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:a,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&EM()?(this.animation.timeline=i,a&&(this.animation.rangeStart=a),r&&(this.animation.rangeEnd=r),rn):l(this)}}const zS={anticipate:cS,backInOut:uS,circInOut:dS};function CM(e){return e in zS}function MM(e){typeof e.ease=="string"&&CM(e.ease)&&(e.ease=zS[e.ease])}const Xf=10;class DM extends jS{constructor(i){MM(i),RS(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:a,onUpdate:r,onComplete:l,element:c,...d}=this.options;if(!a)return;if(i!==void 0){a.set(i);return}const h=new Yl({...d,autoplay:!1}),p=Math.max(Xf,we.now()-this.startTime),m=En(0,Xf,p-Xf),g=h.sample(p).value,{name:y}=this.options;c&&y&&MS(c,y,g),a.setWithVelocity(h.sample(Math.max(0,p-m)).value,g,m),h.stop()}}const Pv=(e,i)=>i==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(hn.test(e)||e==="0")&&!e.startsWith("url("));function LM(e){const i=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==i)return!0}function OM(e,i,a,r){const l=e[0];if(l===null)return!1;if(i==="display"||i==="visibility")return!0;const c=e[e.length-1],d=Pv(l,i),h=Pv(c,i);return!d||!h?!1:LM(e)||(a==="spring"||NS(a))&&r}function Ed(e){e.duration=0,e.type="keyframes"}const PS=new Set(["opacity","clipPath","filter","transform"]),NM=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function jM(e){for(let i=0;i<e.length;i++)if(typeof e[i]=="string"&&NM.test(e[i]))return!0;return!1}const zM=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),PM=iS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function VM(e){const{motionValue:i,name:a,repeatDelay:r,repeatType:l,damping:c,type:d,keyframes:h}=e;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:g}=i.owner.getProps();return PM()&&a&&(PS.has(a)||zM.has(a)&&jM(h))&&(a!=="transform"||!g)&&!m&&!r&&l!=="mirror"&&c!==0&&d!=="inertia"}const BM=40;class UM extends rh{constructor({autoplay:i=!0,delay:a=0,type:r="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:d="loop",keyframes:h,name:p,motionValue:m,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=we.now();const b={autoplay:i,delay:a,type:r,repeat:l,repeatDelay:c,repeatType:d,name:p,motionValue:m,element:g,...y},S=g?.KeyframeResolver||oh;this.keyframeResolver=new S(h,(A,C,w)=>this.onKeyframesResolved(A,C,b,!w),p,m,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,a,r,l){this.keyframeResolver=void 0;const{name:c,type:d,velocity:h,delay:p,isHandoff:m,onUpdate:g}=r;this.resolvedAt=we.now();let y=!0;OM(i,c,d,h)||(y=!1,(Li.instantAnimations||!p)&&g?.(au(i,r,a)),i[0]=i[i.length-1],Ed(r),r.repeat=0);const S={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>BM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:i},A=y&&!m&&VM(S),C=S.motionValue?.owner?.current;let w;if(A)try{w=new DM({...S,element:C})}catch{w=new Yl(S)}else w=new Yl(S);w.finished.then(()=>{this.notifyFinished()}).catch(rn),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(i,a){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),TM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function VS(e,i,a,r=0,l=1){const c=Array.from(e).sort((m,g)=>m.sortNodePosition(g)).indexOf(i),d=e.size,h=(d-1)*r;return typeof a=="function"?a(c,d):l===1?c*r:h-c*r}const kM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function HM(e){const i=kM.exec(e);if(!i)return[,];const[,a,r,l]=i;return[`--${a??r}`,l]}function BS(e,i,a=1){const[r,l]=HM(e);if(!r)return;const c=window.getComputedStyle(i).getPropertyValue(r);if(c){const d=c.trim();return tS(d)?parseFloat(d):d}return eh(l)?BS(l,i,a+1):l}const IM={type:"spring",stiffness:500,damping:25,restSpeed:10},qM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YM={type:"keyframes",duration:.8},GM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},FM=(e,{keyframes:i})=>i.length>2?YM:xs.has(e)?e.startsWith("scale")?qM(i[1]):IM:GM;function US(e,i){if(e?.inherit&&i){const{inherit:a,...r}=e;return{...i,...r}}return e}function lh(e,i){const a=e?.[i]??e?.default??e;return a!==e?US(a,e):a}const XM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function KM(e){for(const i in e)if(!XM.has(i))return!0;return!1}const uh=(e,i,a,r={},l,c)=>d=>{const h=lh(r,e)||{},p=h.delay||r.delay||0;let{elapsed:m=0}=r;m=m-Fe(p);const g={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-m,onUpdate:b=>{i.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:e,motionValue:i,element:c?void 0:l};KM(h)||Object.assign(g,FM(e,g)),g.duration&&(g.duration=Fe(g.duration)),g.repeatDelay&&(g.repeatDelay=Fe(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Ed(g),g.delay===0&&(y=!0)),(Li.instantAnimations||Li.skipAnimations||l?.shouldSkipAnimations)&&(y=!0,Ed(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,y&&!c&&i.get()!==void 0){const b=au(g.keyframes,h);if(b!==void 0){Bt.update(()=>{g.onUpdate(b),g.onComplete()});return}}return h.isSync?new Yl(g):new UM(g)};function Vv(e){const i=[{},{}];return e?.values.forEach((a,r)=>{i[0][r]=a.get(),i[1][r]=a.getVelocity()}),i}function ch(e,i,a,r){if(typeof i=="function"){const[l,c]=Vv(r);i=i(a!==void 0?a:e.custom,l,c)}if(typeof i=="string"&&(i=e.variants&&e.variants[i]),typeof i=="function"){const[l,c]=Vv(r);i=i(a!==void 0?a:e.custom,l,c)}return i}function pa(e,i,a){const r=e.getProps();return ch(r,i,a!==void 0?a:r.custom,e)}const kS=new Set(["width","height","top","left","right","bottom",...Ss]),Bv=30,QM=e=>!isNaN(parseFloat(e)),Uv={current:void 0};class ZM{constructor(i,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=we.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=a.owner}setCurrent(i){this.current=i,this.updatedAt=we.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=QM(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,a){this.events[i]||(this.events[i]=new $d);const r=this.events[i].add(a);return i==="change"?()=>{r(),Bt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,a){this.passiveEffect=i,this.stopPassiveEffect=a}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,a=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return Uv.current&&Uv.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=we.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Bv)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Bv);return aS(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(i){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=i(a),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function vs(e,i){return new ZM(e,i)}const Rd=e=>Array.isArray(e);function JM(e,i,a){e.hasValue(i)?e.getValue(i).set(a):e.addValue(i,vs(a))}function $M(e){return Rd(e)?e[e.length-1]||0:e}function WM(e,i){const a=pa(e,i);let{transitionEnd:r={},transition:l={},...c}=a||{};c={...c,...r};for(const d in c){const h=$M(c[d]);JM(e,d,h)}}const be=e=>!!(e&&e.getVelocity);function tD(e){return!!(be(e)&&e.add)}function _d(e,i){const a=e.getValue("willChange");if(tD(a))return a.add(i);if(!a&&Li.WillChange){const r=new Li.WillChange("auto");e.addValue("willChange",r),r.add(i)}}function fh(e){return e.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const eD="framerAppearId",HS="data-"+fh(eD);function IS(e){return e.props[HS]}function nD({protectedKeys:e,needsAnimating:i},a){const r=e.hasOwnProperty(a)&&i[a]!==!0;return i[a]=!1,r}function qS(e,i,{delay:a=0,transitionOverride:r,type:l}={}){let{transition:c,transitionEnd:d,...h}=i;const p=e.getDefaultTransition();c=c?US(c,p):p;const m=c?.reduceMotion;r&&(c=r);const g=[],y=l&&e.animationState&&e.animationState.getState()[l];for(const b in h){const S=e.getValue(b,e.latestValues[b]??null),A=h[b];if(A===void 0||y&&nD(y,b))continue;const C={delay:a,...lh(c||{},b)},w=S.get();if(w!==void 0&&!S.isAnimating()&&!Array.isArray(A)&&A===w&&!C.velocity){Bt.update(()=>S.set(A));continue}let _=!1;if(window.MotionHandoffAnimation){const z=IS(e);if(z){const X=window.MotionHandoffAnimation(z,b,Bt);X!==null&&(C.startTime=X,_=!0)}}_d(e,b);const j=m??e.shouldReduceMotion;S.start(uh(b,S,A,j&&kS.has(b)?{type:!1}:C,e,_));const O=S.animation;O&&g.push(O)}if(d){const b=()=>Bt.update(()=>{d&&WM(e,d)});g.length?Promise.all(g).then(b):b()}return g}function Cd(e,i,a={}){const r=pa(e,i,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(l=a.transitionOverride);const c=r?()=>Promise.all(qS(e,r,a)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:m=0,staggerChildren:g,staggerDirection:y}=l;return iD(e,i,p,m,g,y,a)}:()=>Promise.resolve(),{when:h}=l;if(h){const[p,m]=h==="beforeChildren"?[c,d]:[d,c];return p().then(()=>m())}else return Promise.all([c(),d(a.delay)])}function iD(e,i,a=0,r=0,l=0,c=1,d){const h=[];for(const p of e.variantChildren)p.notify("AnimationStart",i),h.push(Cd(p,i,{...d,delay:a+(typeof r=="function"?0:r)+VS(e.variantChildren,p,r,l,c)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(h)}function aD(e,i,a={}){e.notify("AnimationStart",i);let r;if(Array.isArray(i)){const l=i.map(c=>Cd(e,c,a));r=Promise.all(l)}else if(typeof i=="string")r=Cd(e,i,a);else{const l=typeof i=="function"?pa(e,i,a.custom):i;r=Promise.all(qS(e,l,a))}return r.then(()=>{e.notify("AnimationComplete",i)})}const sD={test:e=>e==="auto",parse:e=>e},YS=e=>i=>i.test(e),GS=[bs,at,wn,Ai,LC,DC,sD],kv=e=>GS.find(YS(e));function rD(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||nS(e):!0}const oD=new Set(["brightness","contrast","saturate","opacity"]);function lD(e){const[i,a]=e.slice(0,-1).split("(");if(i==="drop-shadow")return e;const[r]=a.match(nh)||[];if(!r)return e;const l=a.replace(r,"");let c=oD.has(i)?1:0;return r!==a&&(c*=100),i+"("+c+l+")"}const uD=/\b([a-z-]*)\(.*?\)/gu,Md={...hn,getAnimatableNone:e=>{const i=e.match(uD);return i?i.map(lD).join(" "):e}},Dd={...hn,getAnimatableNone:e=>{const i=hn.parse(e);return hn.createTransformer(e)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Hv={...bs,transform:Math.round},cD={rotate:Ai,rotateX:Ai,rotateY:Ai,rotateZ:Ai,scale:yl,scaleX:yl,scaleY:yl,scaleZ:yl,skew:Ai,skewX:Ai,skewY:Ai,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:Ur,originX:Rv,originY:Rv,originZ:at},dh={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,top:at,right:at,bottom:at,left:at,inset:at,insetBlock:at,insetBlockStart:at,insetBlockEnd:at,insetInline:at,insetInlineStart:at,insetInlineEnd:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,paddingBlock:at,paddingBlockStart:at,paddingBlockEnd:at,paddingInline:at,paddingInlineStart:at,paddingInlineEnd:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,marginBlock:at,marginBlockStart:at,marginBlockEnd:at,marginInline:at,marginInlineStart:at,marginInlineEnd:at,fontSize:at,backgroundPositionX:at,backgroundPositionY:at,...cD,zIndex:Hv,fillOpacity:Ur,strokeOpacity:Ur,numOctaves:Hv},fD={...dh,color:ee,backgroundColor:ee,outlineColor:ee,fill:ee,stroke:ee,borderColor:ee,borderTopColor:ee,borderRightColor:ee,borderBottomColor:ee,borderLeftColor:ee,filter:Md,WebkitFilter:Md,mask:Dd,WebkitMask:Dd},FS=e=>fD[e],dD=new Set([Md,Dd]);function XS(e,i){let a=FS(e);return dD.has(a)||(a=hn),a.getAnimatableNone?a.getAnimatableNone(i):void 0}const hD=new Set(["auto","none","0"]);function mD(e,i,a){let r=0,l;for(;r<e.length&&!l;){const c=e[r];typeof c=="string"&&!hD.has(c)&&ys(c).values.length&&(l=e[r]),r++}if(l&&a)for(const c of i)e[c]=XS(a,l)}class pD extends oh{constructor(i,a,r,l,c){super(i,a,r,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let y=i[g];if(typeof y=="string"&&(y=y.trim(),eh(y))){const b=BS(y,a.current);b!==void 0&&(i[g]=b),g===i.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!kS.has(r)||i.length!==2)return;const[l,c]=i,d=kv(l),h=kv(c),p=Ev(l),m=Ev(c);if(p!==m&&Ci[r]){this.needsMeasurement=!0;return}if(d!==h)if(jv(d)&&jv(h))for(let g=0;g<i.length;g++){const y=i[g];typeof y=="string"&&(i[g]=parseFloat(y))}else Ci[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:a}=this,r=[];for(let l=0;l<i.length;l++)(i[l]===null||rD(i[l]))&&r.push(l);r.length&&mD(i,r,a)}measureInitialState(){const{element:i,unresolvedKeyframes:a,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ci[r](i.measureViewportBox(),window.getComputedStyle(i.current)),a[0]=this.measuredOrigin;const l=a[a.length-1];l!==void 0&&i.getValue(r,l).jump(l,!1)}measureEndState(){const{element:i,name:a,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const l=i.getValue(a);l&&l.jump(this.measuredOrigin,!1);const c=r.length-1,d=r[c];r[c]=Ci[a](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,p])=>{i.getValue(h).set(p)}),this.resolveNoneKeyframes()}}function KS(e,i,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;i&&(r=i.current);const l=a?.[e]??r.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e).filter(r=>r!=null)}const QS=(e,i)=>i&&typeof e=="number"?i.transform(e):e;function gD(e){return eS(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:hh}=pS(queueMicrotask,!1),dn={x:!1,y:!1};function ZS(){return dn.x||dn.y}function yD(e){return e==="x"||e==="y"?dn[e]?null:(dn[e]=!0,()=>{dn[e]=!1}):dn.x||dn.y?null:(dn.x=dn.y=!0,()=>{dn.x=dn.y=!1})}function JS(e,i){const a=KS(e),r=new AbortController,l={passive:!0,...i,signal:r.signal};return[a,l,()=>r.abort()]}function vD(e){return!(e.pointerType==="touch"||ZS())}function bD(e,i,a={}){const[r,l,c]=JS(e,a);return r.forEach(d=>{let h=!1,p=!1,m;const g=()=>{d.removeEventListener("pointerleave",A)},y=w=>{m&&(m(w),m=void 0),g()},b=w=>{h=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),p&&(p=!1,y(w))},S=()=>{h=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},A=w=>{if(w.pointerType!=="touch"){if(h){p=!0;return}y(w)}},C=w=>{if(!vD(w))return;p=!1;const _=i(d,w);typeof _=="function"&&(m=_,d.addEventListener("pointerleave",A,l))};d.addEventListener("pointerenter",C,l),d.addEventListener("pointerdown",S,l)}),c}const $S=(e,i)=>i?e===i?!0:$S(e,i.parentElement):!1,mh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,SD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function xD(e){return SD.has(e.tagName)||e.isContentEditable===!0}const TD=new Set(["INPUT","SELECT","TEXTAREA"]);function AD(e){return TD.has(e.tagName)||e.isContentEditable===!0}const Rl=new WeakSet;function Iv(e){return i=>{i.key==="Enter"&&e(i)}}function Kf(e,i){e.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const wD=(e,i)=>{const a=e.currentTarget;if(!a)return;const r=Iv(()=>{if(Rl.has(a))return;Kf(a,"down");const l=Iv(()=>{Kf(a,"up")}),c=()=>Kf(a,"cancel");a.addEventListener("keyup",l,i),a.addEventListener("blur",c,i)});a.addEventListener("keydown",r,i),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),i)};function qv(e){return mh(e)&&!ZS()}const Yv=new WeakSet;function ED(e,i,a={}){const[r,l,c]=JS(e,a),d=h=>{const p=h.currentTarget;if(!qv(h)||Yv.has(h))return;Rl.add(p),a.stopPropagation&&Yv.add(h);const m=i(p,h),g=(S,A)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),Rl.has(p)&&Rl.delete(p),qv(S)&&typeof m=="function"&&m(S,{success:A})},y=S=>{g(S,p===window||p===document||a.useGlobalTarget||$S(p,S.target))},b=S=>{g(S,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",b,l)};return r.forEach(h=>{(a.useGlobalTarget?window:h).addEventListener("pointerdown",d,l),gD(h)&&(h.addEventListener("focus",m=>wD(m,l)),!xD(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function ph(e){return eS(e)&&"ownerSVGElement"in e}const _l=new WeakMap;let Cl;const WS=(e,i,a)=>(r,l)=>l&&l[0]?l[0][e+"Size"]:ph(r)&&"getBBox"in r?r.getBBox()[i]:r[a],RD=WS("inline","width","offsetWidth"),_D=WS("block","height","offsetHeight");function CD({target:e,borderBoxSize:i}){_l.get(e)?.forEach(a=>{a(e,{get width(){return RD(e,i)},get height(){return _D(e,i)}})})}function MD(e){e.forEach(CD)}function DD(){typeof ResizeObserver>"u"||(Cl=new ResizeObserver(MD))}function LD(e,i){Cl||DD();const a=KS(e);return a.forEach(r=>{let l=_l.get(r);l||(l=new Set,_l.set(r,l)),l.add(i),Cl?.observe(r)}),()=>{a.forEach(r=>{const l=_l.get(r);l?.delete(i),l?.size||Cl?.unobserve(r)})}}const Ml=new Set;let cs;function OD(){cs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ml.forEach(i=>i(e))},window.addEventListener("resize",cs)}function ND(e){return Ml.add(e),cs||OD(),()=>{Ml.delete(e),!Ml.size&&typeof cs=="function"&&(window.removeEventListener("resize",cs),cs=void 0)}}function Gv(e,i){return typeof e=="function"?ND(e):LD(e,i)}function jD(e){return ph(e)&&e.tagName==="svg"}const zD=[...GS,ee,hn],PD=e=>zD.find(YS(e)),Fv=()=>({translate:0,scale:1,origin:0,originPoint:0}),fs=()=>({x:Fv(),y:Fv()}),Xv=()=>({min:0,max:0}),se=()=>({x:Xv(),y:Xv()}),VD=new WeakMap;function su(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function kr(e){return typeof e=="string"||Array.isArray(e)}const gh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yh=["initial",...gh];function ru(e){return su(e.animate)||yh.some(i=>kr(e[i]))}function tx(e){return!!(ru(e)||e.variants)}function BD(e,i,a){for(const r in i){const l=i[r],c=a[r];if(be(l))e.addValue(r,l);else if(be(c))e.addValue(r,vs(l,{owner:e}));else if(c!==l)if(e.hasValue(r)){const d=e.getValue(r);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=e.getStaticValue(r);e.addValue(r,vs(d!==void 0?d:l,{owner:e}))}}for(const r in a)i[r]===void 0&&e.removeValue(r);return i}const Ld={current:null},ex={current:!1},UD=typeof window<"u";function kD(){if(ex.current=!0,!!UD)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),i=()=>Ld.current=e.matches;e.addEventListener("change",i),i()}else Ld.current=!1}const Kv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Gl={};function nx(e){Gl=e}function HD(){return Gl}class ID{scrapeMotionValuesFromProps(i,a,r){return{}}constructor({parent:i,props:a,presenceContext:r,reducedMotionConfig:l,skipAnimations:c,blockInitialAnimation:d,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=oh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=we.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Bt.render(this.render,!1,!0))};const{latestValues:m,renderState:g}=h;this.latestValues=m,this.baseTarget={...m},this.initialValues=a.initial?{...m}:{},this.renderState=g,this.parent=i,this.props=a,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=c,this.options=p,this.blockInitialAnimation=!!d,this.isControllingVariants=ru(a),this.isVariantNode=tx(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:y,...b}=this.scrapeMotionValuesFromProps(a,{},this);for(const S in b){const A=b[S];m[S]!==void 0&&be(A)&&A.set(m[S])}}mount(i){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=i,VD.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ex.current||kD(),this.shouldReduceMotion=Ld.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Oi(this.notifyUpdate),Oi(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,a){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),a.accelerate&&PS.has(i)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:p,ease:m,duration:g}=a.accelerate,y=new jS({element:this.current,name:i,keyframes:h,times:p,ease:m,duration:Fe(g)}),b=d(y);this.valueSubscriptions.set(i,()=>{b(),y.cancel()});return}const r=xs.has(i);r&&this.onBindTransform&&this.onBindTransform();const l=a.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&Bt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,i,a)),this.valueSubscriptions.set(i,()=>{l(),c&&c(),a.owner&&a.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Gl){const a=Gl[i];if(!a)continue;const{isEnabled:r,Feature:l}=a;if(!this.features[i]&&l&&r(this.props)&&(this.features[i]=new l(this)),this.features[i]){const c=this.features[i];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):se()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,a){this.latestValues[i]=a}update(i,a){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<Kv.length;r++){const l=Kv[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,d=i[c];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=BD(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(i),()=>a.variantChildren.delete(i)}addValue(i,a){const r=this.values.get(i);a!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,a),this.values.set(i,a),this.latestValues[i]=a.get())}removeValue(i){this.values.delete(i);const a=this.valueSubscriptions.get(i);a&&(a(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,a){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&a!==void 0&&(r=vs(a===null?void 0:a,{owner:this}),this.addValue(i,r)),r}readValue(i,a){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(tS(r)||nS(r))?r=parseFloat(r):!PD(r)&&hn.test(a)&&(r=XS(i,a)),this.setBaseTarget(i,be(r)?r.get():r)),be(r)?r.get():r}setBaseTarget(i,a){this.baseTarget[i]=a}getBaseTarget(i){const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const c=ch(this.props,a,this.presenceContext?.custom);c&&(r=c[i])}if(a&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,i);return l!==void 0&&!be(l)?l:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,a){return this.events[i]||(this.events[i]=new $d),this.events[i].add(a)}notify(i,...a){this.events[i]&&this.events[i].notify(...a)}scheduleRenderMicrotask(){hh.render(this.render)}}class ix extends ID{constructor(){super(...arguments),this.KeyframeResolver=pD}sortInstanceNodePosition(i,a){return i.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(i,a){const r=i.style;return r?r[a]:void 0}removeValueFromRenderState(i,{vars:a,style:r}){delete a[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;be(i)&&(this.childSubscription=i.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Vi{constructor(i){this.isMounted=!1,this.node=i}update(){}}function ax({top:e,left:i,right:a,bottom:r}){return{x:{min:i,max:a},y:{min:e,max:r}}}function qD({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function YD(e,i){if(!i)return e;const a=i({x:e.left,y:e.top}),r=i({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Qf(e){return e===void 0||e===1}function Od({scale:e,scaleX:i,scaleY:a}){return!Qf(e)||!Qf(i)||!Qf(a)}function sa(e){return Od(e)||sx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sx(e){return Qv(e.x)||Qv(e.y)}function Qv(e){return e&&e!=="0%"}function Fl(e,i,a){const r=e-a,l=i*r;return a+l}function Zv(e,i,a,r,l){return l!==void 0&&(e=Fl(e,l,r)),Fl(e,a,r)+i}function Nd(e,i=0,a=1,r,l){e.min=Zv(e.min,i,a,r,l),e.max=Zv(e.max,i,a,r,l)}function rx(e,{x:i,y:a}){Nd(e.x,i.translate,i.scale,i.originPoint),Nd(e.y,a.translate,a.scale,a.originPoint)}const Jv=.999999999999,$v=1.0000000000001;function GD(e,i,a,r=!1){const l=a.length;if(!l)return;i.x=i.y=1;let c,d;for(let h=0;h<l;h++){c=a[h],d=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(An(e.x,-c.scroll.offset.x),An(e.y,-c.scroll.offset.y)),d&&(i.x*=d.x.scale,i.y*=d.y.scale,rx(e,d)),r&&sa(c.latestValues)&&Dl(e,c.latestValues,c.layout?.layoutBox))}i.x<$v&&i.x>Jv&&(i.x=1),i.y<$v&&i.y>Jv&&(i.y=1)}function An(e,i){e.min+=i,e.max+=i}function Wv(e,i,a,r,l=.5){const c=It(e.min,e.max,l);Nd(e,i,a,c,r)}function t0(e,i){return typeof e=="string"?parseFloat(e)/100*(i.max-i.min):e}function Dl(e,i,a){const r=a??e;Wv(e.x,t0(i.x,r.x),i.scaleX,i.scale,i.originX),Wv(e.y,t0(i.y,r.y),i.scaleY,i.scale,i.originY)}function ox(e,i){return ax(YD(e.getBoundingClientRect(),i))}function FD(e,i,a){const r=ox(e,a),{scroll:l}=i;return l&&(An(r.x,l.offset.x),An(r.y,l.offset.y)),r}const XD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},KD=Ss.length;function QD(e,i,a){let r="",l=!0;for(let c=0;c<KD;c++){const d=Ss[c],h=e[d];if(h===void 0)continue;let p=!0;if(typeof h=="number")p=h===(d.startsWith("scale")?1:0);else{const m=parseFloat(h);p=d.startsWith("scale")?m===1:m===0}if(!p||a){const m=QS(h,dh[d]);if(!p){l=!1;const g=XD[d]||d;r+=`${g}(${m}) `}a&&(i[d]=m)}}return r=r.trim(),a?r=a(i,l?"":r):l&&(r="none"),r}function vh(e,i,a){const{style:r,vars:l,transformOrigin:c}=e;let d=!1,h=!1;for(const p in i){const m=i[p];if(xs.has(p)){d=!0;continue}else if(yS(p)){l[p]=m;continue}else{const g=QS(m,dh[p]);p.startsWith("origin")?(h=!0,c[p]=g):r[p]=g}}if(i.transform||(d||a?r.transform=QD(i,e.transform,a):r.transform&&(r.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:g=0}=c;r.transformOrigin=`${p} ${m} ${g}`}}function lx(e,{style:i,vars:a},r,l){const c=e.style;let d;for(d in i)c[d]=i[d];l?.applyProjectionStyles(c,r);for(d in a)c.setProperty(d,a[d])}function e0(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}const Rr={correct:(e,i)=>{if(!i.target)return e;if(typeof e=="string")if(at.test(e))e=parseFloat(e);else return e;const a=e0(e,i.target.x),r=e0(e,i.target.y);return`${a}% ${r}%`}},ZD={correct:(e,{treeScale:i,projectionDelta:a})=>{const r=e,l=hn.parse(e);if(l.length>5)return r;const c=hn.createTransformer(e),d=typeof l[0]!="number"?1:0,h=a.x.scale*i.x,p=a.y.scale*i.y;l[0+d]/=h,l[1+d]/=p;const m=It(h,p,.5);return typeof l[2+d]=="number"&&(l[2+d]/=m),typeof l[3+d]=="number"&&(l[3+d]/=m),c(l)}},jd={borderRadius:{...Rr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Rr,borderTopRightRadius:Rr,borderBottomLeftRadius:Rr,borderBottomRightRadius:Rr,boxShadow:ZD};function ux(e,{layout:i,layoutId:a}){return xs.has(e)||e.startsWith("origin")||(i||a!==void 0)&&(!!jd[e]||e==="opacity")}function bh(e,i,a){const r=e.style,l=i?.style,c={};if(!r)return c;for(const d in r)(be(r[d])||l&&be(l[d])||ux(d,e)||a?.getValue(d)?.liveStyle!==void 0)&&(c[d]=r[d]);return c}function JD(e){return window.getComputedStyle(e)}class $D extends ix{constructor(){super(...arguments),this.type="html",this.renderInstance=lx}readValueFromInstance(i,a){if(xs.has(a))return this.projection?.isProjecting?Sd(a):yM(i,a);{const r=JD(i),l=(yS(a)?r.getPropertyValue(a):r[a])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:a}){return ox(i,a)}build(i,a,r){vh(i,a,r.transformTemplate)}scrapeMotionValuesFromProps(i,a,r){return bh(i,a,r)}}const WD={offset:"stroke-dashoffset",array:"stroke-dasharray"},tL={offset:"strokeDashoffset",array:"strokeDasharray"};function eL(e,i,a=1,r=0,l=!0){e.pathLength=1;const c=l?WD:tL;e[c.offset]=`${-r}`,e[c.array]=`${i} ${a}`}const nL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function cx(e,{attrX:i,attrY:a,attrScale:r,pathLength:l,pathSpacing:c=1,pathOffset:d=0,...h},p,m,g){if(vh(e,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:b}=e;y.transform&&(b.transform=y.transform,delete y.transform),(b.transform||y.transformOrigin)&&(b.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),b.transform&&(b.transformBox=g?.transformBox??"fill-box",delete y.transformBox);for(const S of nL)y[S]!==void 0&&(b[S]=y[S],delete y[S]);i!==void 0&&(y.x=i),a!==void 0&&(y.y=a),r!==void 0&&(y.scale=r),l!==void 0&&eL(y,l,c,d,!1)}const fx=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"]),dx=e=>typeof e=="string"&&e.toLowerCase()==="svg";function iL(e,i,a,r){lx(e,i,void 0,r);for(const l in i.attrs)e.setAttribute(fx.has(l)?l:fh(l),i.attrs[l])}function hx(e,i,a){const r=bh(e,i,a);for(const l in e)if(be(e[l])||be(i[l])){const c=Ss.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[c]=e[l]}return r}class aL extends ix{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=se}getBaseTargetFromProps(i,a){return i[a]}readValueFromInstance(i,a){if(xs.has(a)){const r=FS(a);return r&&r.default||0}return a=fx.has(a)?a:fh(a),i.getAttribute(a)}scrapeMotionValuesFromProps(i,a,r){return hx(i,a,r)}build(i,a,r){cx(i,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,a,r,l){iL(i,a,r,l)}mount(i){this.isSVGTag=dx(i.tagName),super.mount(i)}}const sL=yh.length;function mx(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?mx(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const i={};for(let a=0;a<sL;a++){const r=yh[a],l=e.props[r];(kr(l)||l===!1)&&(i[r]=l)}return i}function px(e,i){if(!Array.isArray(i))return!1;const a=i.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(i[r]!==e[r])return!1;return!0}const rL=[...gh].reverse(),oL=gh.length;function lL(e){return i=>Promise.all(i.map(({animation:a,options:r})=>aD(e,a,r)))}function uL(e){let i=lL(e),a=n0(),r=!0,l=!1;const c=m=>(g,y)=>{const b=pa(e,y,m==="exit"?e.presenceContext?.custom:void 0);if(b){const{transition:S,transitionEnd:A,...C}=b;g={...g,...C,...A}}return g};function d(m){i=m(e)}function h(m){const{props:g}=e,y=mx(e.parent)||{},b=[],S=new Set;let A={},C=1/0;for(let _=0;_<oL;_++){const j=rL[_],O=a[j],z=g[j]!==void 0?g[j]:y[j],X=kr(z),J=j===m?O.isActive:null;J===!1&&(C=_);let H=z===y[j]&&z!==g[j]&&X;if(H&&(r||l)&&e.manuallyAnimateOnMount&&(H=!1),O.protectedKeys={...A},!O.isActive&&J===null||!z&&!O.prevProp||su(z)||typeof z=="boolean")continue;if(j==="exit"&&O.isActive&&J!==!0){O.prevResolvedValues&&(A={...A,...O.prevResolvedValues});continue}const Y=cL(O.prevProp,z);let Q=Y||j===m&&O.isActive&&!H&&X||_>C&&X,Z=!1;const W=Array.isArray(z)?z:[z];let lt=W.reduce(c(j),{});J===!1&&(lt={});const{prevResolvedValues:dt={}}=O,At={...dt,...lt},gt=et=>{Q=!0,S.has(et)&&(Z=!0,S.delete(et)),O.needsAnimating[et]=!0;const ct=e.getValue(et);ct&&(ct.liveStyle=!1)};for(const et in At){const ct=lt[et],yt=dt[et];if(A.hasOwnProperty(et))continue;let D=!1;Rd(ct)&&Rd(yt)?D=!px(ct,yt):D=ct!==yt,D?ct!=null?gt(et):S.add(et):ct!==void 0&&S.has(et)?gt(et):O.protectedKeys[et]=!0}O.prevProp=z,O.prevResolvedValues=lt,O.isActive&&(A={...A,...lt}),(r||l)&&e.blockInitialAnimation&&(Q=!1);const U=H&&Y;Q&&(!U||Z)&&b.push(...W.map(et=>{const ct={type:j};if(typeof et=="string"&&(r||l)&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:yt}=e,D=pa(yt,et);if(yt.enteringChildren&&D){const{delayChildren:G}=D.transition||{};ct.delay=VS(yt.enteringChildren,e,G)}}return{animation:et,options:ct}}))}if(S.size){const _={};if(typeof g.initial!="boolean"){const j=pa(e,Array.isArray(g.initial)?g.initial[0]:g.initial);j&&j.transition&&(_.transition=j.transition)}S.forEach(j=>{const O=e.getBaseTarget(j),z=e.getValue(j);z&&(z.liveStyle=!0),_[j]=O??null}),b.push({animation:_})}let w=!!b.length;return r&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,l=!1,w?i(b):Promise.resolve()}function p(m,g){if(a[m].isActive===g)return Promise.resolve();e.variantChildren?.forEach(b=>b.animationState?.setActive(m,g)),a[m].isActive=g;const y=h(m);for(const b in a)a[b].protectedKeys={};return y}return{animateChanges:h,setActive:p,setAnimateFunction:d,getState:()=>a,reset:()=>{a=n0(),l=!0}}}function cL(e,i){return typeof i=="string"?i!==e:Array.isArray(i)?!px(i,e):!1}function aa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n0(){return{animate:aa(!0),whileInView:aa(),whileHover:aa(),whileTap:aa(),whileDrag:aa(),whileFocus:aa(),exit:aa()}}function zd(e,i){e.min=i.min,e.max=i.max}function fn(e,i){zd(e.x,i.x),zd(e.y,i.y)}function i0(e,i){e.translate=i.translate,e.scale=i.scale,e.originPoint=i.originPoint,e.origin=i.origin}const gx=1e-4,fL=1-gx,dL=1+gx,yx=.01,hL=0-yx,mL=0+yx;function Ee(e){return e.max-e.min}function pL(e,i,a){return Math.abs(e-i)<=a}function a0(e,i,a,r=.5){e.origin=r,e.originPoint=It(i.min,i.max,e.origin),e.scale=Ee(a)/Ee(i),e.translate=It(a.min,a.max,e.origin)-e.originPoint,(e.scale>=fL&&e.scale<=dL||isNaN(e.scale))&&(e.scale=1),(e.translate>=hL&&e.translate<=mL||isNaN(e.translate))&&(e.translate=0)}function Lr(e,i,a,r){a0(e.x,i.x,a.x,r?r.originX:void 0),a0(e.y,i.y,a.y,r?r.originY:void 0)}function s0(e,i,a,r=0){const l=r?It(a.min,a.max,r):a.min;e.min=l+i.min,e.max=e.min+Ee(i)}function gL(e,i,a,r){s0(e.x,i.x,a.x,r?.x),s0(e.y,i.y,a.y,r?.y)}function r0(e,i,a,r=0){const l=r?It(a.min,a.max,r):a.min;e.min=i.min-l,e.max=e.min+Ee(i)}function Xl(e,i,a,r){r0(e.x,i.x,a.x,r?.x),r0(e.y,i.y,a.y,r?.y)}function o0(e,i,a,r,l){return e-=i,e=Fl(e,1/a,r),l!==void 0&&(e=Fl(e,1/l,r)),e}function yL(e,i=0,a=1,r=.5,l,c=e,d=e){if(wn.test(i)&&(i=parseFloat(i),i=It(d.min,d.max,i/100)-d.min),typeof i!="number")return;let h=It(c.min,c.max,r);e===c&&(h-=i),e.min=o0(e.min,i,a,h,l),e.max=o0(e.max,i,a,h,l)}function l0(e,i,[a,r,l],c,d){yL(e,i[a],i[r],i[l],i.scale,c,d)}const vL=["x","scaleX","originX"],bL=["y","scaleY","originY"];function u0(e,i,a,r){l0(e.x,i,vL,a?a.x:void 0,r?r.x:void 0),l0(e.y,i,bL,a?a.y:void 0,r?r.y:void 0)}function c0(e){return e.translate===0&&e.scale===1}function vx(e){return c0(e.x)&&c0(e.y)}function f0(e,i){return e.min===i.min&&e.max===i.max}function SL(e,i){return f0(e.x,i.x)&&f0(e.y,i.y)}function d0(e,i){return Math.round(e.min)===Math.round(i.min)&&Math.round(e.max)===Math.round(i.max)}function bx(e,i){return d0(e.x,i.x)&&d0(e.y,i.y)}function h0(e){return Ee(e.x)/Ee(e.y)}function m0(e,i){return e.translate===i.translate&&e.scale===i.scale&&e.originPoint===i.originPoint}function Sn(e){return[e("x"),e("y")]}function xL(e,i,a){let r="";const l=e.x.translate/i.x,c=e.y.translate/i.y,d=a?.z||0;if((l||c||d)&&(r=`translate3d(${l}px, ${c}px, ${d}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),a){const{transformPerspective:m,rotate:g,rotateX:y,rotateY:b,skewX:S,skewY:A}=a;m&&(r=`perspective(${m}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),b&&(r+=`rotateY(${b}deg) `),S&&(r+=`skewX(${S}deg) `),A&&(r+=`skewY(${A}deg) `)}const h=e.x.scale*i.x,p=e.y.scale*i.y;return(h!==1||p!==1)&&(r+=`scale(${h}, ${p})`),r||"none"}const Sx=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],TL=Sx.length,p0=e=>typeof e=="string"?parseFloat(e):e,g0=e=>typeof e=="number"||at.test(e);function AL(e,i,a,r,l,c){l?(e.opacity=It(0,a.opacity??1,wL(r)),e.opacityExit=It(i.opacity??1,0,EL(r))):c&&(e.opacity=It(i.opacity??1,a.opacity??1,r));for(let d=0;d<TL;d++){const h=Sx[d];let p=y0(i,h),m=y0(a,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||g0(p)===g0(m)?(e[h]=Math.max(It(p0(p),p0(m),r),0),(wn.test(m)||wn.test(p))&&(e[h]+="%")):e[h]=m}(i.rotate||a.rotate)&&(e.rotate=It(i.rotate||0,a.rotate||0,r))}function y0(e,i){return e[i]!==void 0?e[i]:e.borderRadius}const wL=xx(0,.5,fS),EL=xx(.5,.95,rn);function xx(e,i,a){return r=>r<e?0:r>i?1:a(Br(e,i,r))}function RL(e,i,a){const r=be(e)?e:vs(e);return r.start(uh("",r,i,a)),r.animation}function Hr(e,i,a,r={passive:!0}){return e.addEventListener(i,a,r),()=>e.removeEventListener(i,a)}const _L=(e,i)=>e.depth-i.depth;class CL{constructor(){this.children=[],this.isDirty=!1}add(i){Zd(this.children,i),this.isDirty=!0}remove(i){kl(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(_L),this.isDirty=!1,this.children.forEach(i)}}function ML(e,i){const a=we.now(),r=({timestamp:l})=>{const c=l-a;c>=i&&(Oi(r),e(c-i))};return Bt.setup(r,!0),()=>Oi(r)}function Ll(e){return be(e)?e.get():e}class DL{constructor(){this.members=[]}add(i){Zd(this.members,i);for(let a=this.members.length-1;a>=0;a--){const r=this.members[a];if(r===i||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(kl(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(kl(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(i){for(let a=this.members.indexOf(i)-1;a>=0;a--){const r=this.members[a];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,a){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:c}=i.options;(l===void 0||l!==c)&&(i.resumeFrom=r,a&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Ol={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Zf=["","X","Y","Z"],LL=1e3;let OL=0;function Jf(e,i,a,r){const{latestValues:l}=i;l[e]&&(a[e]=l[e],i.setStaticValue(e,0),r&&(r[e]=0))}function Tx(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:i}=e.options;if(!i)return;const a=IS(i);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:l,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Bt,!(l||c))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Tx(r)}function Ax({attachResizeListener:e,defaultParent:i,measureScroll:a,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(d={},h=i?.()){this.id=OL++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(zL),this.nodes.forEach(HL),this.nodes.forEach(IL),this.nodes.forEach(PL)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new CL)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new $d),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const p=this.eventHandlers.get(d);p&&p.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=ph(d)&&!jD(d),this.instance=d;const{layoutId:h,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),e){let g,y=0;const b=()=>this.root.updateBlockedByResize=!1;Bt.read(()=>{y=window.innerWidth}),e(d,()=>{const S=window.innerWidth;S!==y&&(y=S,this.root.updateBlockedByResize=!0,g&&g(),g=ML(b,250),Ol.hasAnimatedSinceResize&&(Ol.hasAnimatedSinceResize=!1,this.nodes.forEach(S0)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||p)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:b,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||m.getDefaultTransition()||XL,{onLayoutAnimationStart:C,onLayoutAnimationComplete:w}=m.getProps(),_=!this.targetLayout||!bx(this.targetLayout,S),j=!y&&b;if(this.options.layoutRoot||this.resumeFrom||j||y&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const O={...lh(A,"layout"),onPlay:C,onComplete:w};(m.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O),this.setAnimationOrigin(g,j)}else y||S0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oi(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(qL),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Tx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(BL),this.nodes.forEach(v0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(b0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(UL),this.nodes.forEach(kL),this.nodes.forEach(NL),this.nodes.forEach(jL)):this.nodes.forEach(b0),this.clearAllSnapshots();const h=we.now();ve.delta=En(0,1e3/60,h-ve.timestamp),ve.timestamp=h,ve.isProcessing=!0,If.update.process(ve),If.preRender.process(ve),If.render.process(ve),ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,hh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(VL),this.sharedNodes.forEach(YL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Bt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Bt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ee(this.snapshot.measuredBox.x)&&!Ee(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=se()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!vx(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;d&&this.instance&&(h||sa(this.latestValues)||g)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return d&&(p=this.removeTransform(p)),KL(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return se();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(QL))){const{scroll:m}=this.root;m&&(An(h.x,m.offset.x),An(h.y,m.offset.y))}return h}removeElementScroll(d){const h=se();if(fn(h,d),this.scroll?.wasRoot)return h;for(let p=0;p<this.path.length;p++){const m=this.path[p],{scroll:g,options:y}=m;m!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&fn(h,d),An(h.x,g.offset.x),An(h.y,g.offset.y))}return h}applyTransform(d,h=!1,p){const m=p||se();fn(m,d);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&(An(m.x,-y.scroll.offset.x),An(m.y,-y.scroll.offset.y)),sa(y.latestValues)&&Dl(m,y.latestValues,y.layout?.layoutBox)}return sa(this.latestValues)&&Dl(m,this.latestValues,this.layout?.layoutBox),m}removeTransform(d){const h=se();fn(h,d);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!sa(m.latestValues))continue;let g;m.instance&&(Od(m.latestValues)&&m.updateSnapshot(),g=se(),fn(g,m.measurePageBox())),u0(h,m.latestValues,m.snapshot?.layoutBox,g)}return sa(this.latestValues)&&u0(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}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!==ve.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=ve.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=se(),this.targetWithTransforms=se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),gL(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):fn(this.target,this.layout.layoutBox),rx(this.target,this.targetDelta)):fn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Od(this.parent.latestValues)||sx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=se(),this.relativeTargetOrigin=se(),Xl(this.relativeTargetOrigin,h,p,this.options.layoutAnchor||void 0),fn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ve.timestamp&&(p=!1),p)return;const{layout:m,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||g))return;fn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,b=this.treeScale.y;GD(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=se());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(i0(this.prevProjectionDelta.x,this.projectionDelta.x),i0(this.prevProjectionDelta.y,this.projectionDelta.y)),Lr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==b||!m0(this.projectionDelta.x,this.prevProjectionDelta.x)||!m0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fs(),this.projectionDelta=fs(),this.projectionDeltaWithTransform=fs()}setAnimationOrigin(d,h=!1){const p=this.snapshot,m=p?p.latestValues:{},g={...this.latestValues},y=fs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=se(),S=p?p.source:void 0,A=this.layout?this.layout.source:void 0,C=S!==A,w=this.getStack(),_=!w||w.members.length<=1,j=!!(C&&!_&&this.options.crossfade===!0&&!this.path.some(FL));this.animationProgress=0;let O;this.mixTargetDelta=z=>{const X=z/1e3;x0(y.x,d.x,X),x0(y.y,d.y,X),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xl(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),GL(this.relativeTarget,this.relativeTargetOrigin,b,X),O&&SL(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=se()),fn(O,this.relativeTarget)),C&&(this.animationValues=g,AL(g,m,this.latestValues,X,j,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=X},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Bt.update(()=>{Ol.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=vs(0)),this.motionValue.jump(0,!1),this.currentAnimation=RL(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(LL),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:g}=d;if(!(!h||!p||!m)){if(this!==d&&this.layout&&m&&wx(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||se();const y=Ee(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+y;const b=Ee(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+b}fn(h,p),Dl(h,g),Lr(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new DL),this.sharedNodes.get(d).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&Jf("z",d,m,this.animationValues);for(let g=0;g<Zf.length;g++)Jf(`rotate${Zf[g]}`,d,m,this.animationValues),Jf(`skew${Zf[g]}`,d,m,this.animationValues);d.render();for(const g in m)d.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Ll(h?.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Ll(h?.pointerEvents)||""),this.hasProjected&&!sa(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let y=xL(this.projectionDeltaWithTransform,this.treeScale,g);p&&(y=p(g,y)),d.transform=y;const{x:b,y:S}=this.projectionDelta;d.transformOrigin=`${b.origin*100}% ${S.origin*100}% 0`,m.animationValues?d.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const A in jd){if(g[A]===void 0)continue;const{correct:C,applyTo:w,isCSSVariable:_}=jd[A],j=y==="none"?g[A]:C(g[A],m);if(w){const O=w.length;for(let z=0;z<O;z++)d[w[z]]=j}else _?this.options.visualElement.renderState.vars[A]=j:d[A]=j}this.options.layoutId&&(d.pointerEvents=m===this?Ll(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(v0),this.root.sharedNodes.clear()}}}function NL(e){e.updateLayout()}function jL(e){const i=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=e.layout,{animationType:l}=e.options,c=i.source!==e.layout.source;if(l==="size")Sn(g=>{const y=c?i.measuredBox[g]:i.layoutBox[g],b=Ee(y);y.min=a[g].min,y.max=y.min+b});else if(l==="x"||l==="y"){const g=l==="x"?"y":"x";zd(c?i.measuredBox[g]:i.layoutBox[g],a[g])}else wx(l,i.layoutBox,a)&&Sn(g=>{const y=c?i.measuredBox[g]:i.layoutBox[g],b=Ee(a[g]);y.max=y.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+b)});const d=fs();Lr(d,a,i.layoutBox);const h=fs();c?Lr(h,e.applyTransform(r,!0),i.measuredBox):Lr(h,a,i.layoutBox);const p=!vx(d);let m=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:b}=g;if(y&&b){const S=e.options.layoutAnchor||void 0,A=se();Xl(A,i.layoutBox,y.layoutBox,S);const C=se();Xl(C,a,b.layoutBox,S),bx(A,C)||(m=!0),g.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=A,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:i,delta:h,layoutDelta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:m})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function zL(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function PL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function VL(e){e.clearSnapshot()}function v0(e){e.clearMeasurements()}function BL(e){e.isLayoutDirty=!0,e.updateLayout()}function b0(e){e.isLayoutDirty=!1}function UL(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function kL(e){const{visualElement:i}=e.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function S0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function HL(e){e.resolveTargetDelta()}function IL(e){e.calcProjection()}function qL(e){e.resetSkewAndRotation()}function YL(e){e.removeLeadSnapshot()}function x0(e,i,a){e.translate=It(i.translate,0,a),e.scale=It(i.scale,1,a),e.origin=i.origin,e.originPoint=i.originPoint}function T0(e,i,a,r){e.min=It(i.min,a.min,r),e.max=It(i.max,a.max,r)}function GL(e,i,a,r){T0(e.x,i.x,a.x,r),T0(e.y,i.y,a.y,r)}function FL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const XL={duration:.45,ease:[.4,0,.1,1]},A0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),w0=A0("applewebkit/")&&!A0("chrome/")?Math.round:rn;function E0(e){e.min=w0(e.min),e.max=w0(e.max)}function KL(e){E0(e.x),E0(e.y)}function wx(e,i,a){return e==="position"||e==="preserve-aspect"&&!pL(h0(i),h0(a),.2)}function QL(e){return e!==e.root&&e.scroll?.wasRoot}const ZL=Ax({attachResizeListener:(e,i)=>Hr(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),$f={current:void 0},Ex=Ax({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$f.current){const e=new ZL({});e.mount(window),e.setOptions({layoutScroll:!0}),$f.current=e}return $f.current},resetTransform:(e,i)=>{e.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rx=K.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function JL(e=!0){const i=K.useContext(Qd);if(i===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:l}=i,c=K.useId();K.useEffect(()=>{if(e)return l(c)},[e]);const d=K.useCallback(()=>e&&r&&r(c),[c,r,e]);return!a&&r?[!1,d]:[!0]}const _x=K.createContext({strict:!1}),R0={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"]};let _0=!1;function $L(){if(_0)return;const e={};for(const i in R0)e[i]={isEnabled:a=>R0[i].some(r=>!!a[r])};nx(e),_0=!0}function Cx(){return $L(),HD()}function WL(e){const i=Cx();for(const a in e)i[a]={...i[a],...e[a]};nx(i)}const tO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Kl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tO.has(e)}let Mx=e=>!Kl(e);function eO(e){typeof e=="function"&&(Mx=i=>i.startsWith("on")?!Kl(i):e(i))}try{eO(require("@emotion/is-prop-valid").default)}catch{}function nO(e,i,a){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||be(e[l])||(Mx(l)||a===!0&&Kl(l)||!i&&!Kl(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}const ou=K.createContext({});function iO(e,i){if(ru(e)){const{initial:a,animate:r}=e;return{initial:a===!1||kr(a)?a:void 0,animate:kr(r)?r:void 0}}return e.inherit!==!1?i:{}}function aO(e){const{initial:i,animate:a}=iO(e,K.useContext(ou));return K.useMemo(()=>({initial:i,animate:a}),[C0(i),C0(a)])}function C0(e){return Array.isArray(e)?e.join(" "):e}const Sh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dx(e,i,a){for(const r in i)!be(i[r])&&!ux(r,a)&&(e[r]=i[r])}function sO({transformTemplate:e},i){return K.useMemo(()=>{const a=Sh();return vh(a,i,e),Object.assign({},a.vars,a.style)},[i])}function rO(e,i){const a=e.style||{},r={};return Dx(r,a,e),Object.assign(r,sO(e,i)),r}function oO(e,i){const a={},r=rO(e,i);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
12`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}const Lx=()=>({...Sh(),attrs:{}});function lO(e,i,a,r){const l=K.useMemo(()=>{const c=Lx();return cx(c,i,dx(r),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[i]);if(e.style){const c={};Dx(c,e.style,e),l.style={...c,...l.style}}return l}const uO=["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 xh(e){return typeof e!="string"||e.includes("-")?!1:!!(uO.indexOf(e)>-1||/[A-Z]/u.test(e))}function cO(e,i,a,{latestValues:r},l,c=!1,d){const p=(d??xh(e)?lO:oO)(i,r,l,e),m=nO(i,typeof e=="string",c),g=e!==K.Fragment?{...m,...p,ref:a}:{},{children:y}=i,b=K.useMemo(()=>be(y)?y.get():y,[y]);return K.createElement(e,{...g,children:b})}function fO({scrapeMotionValuesFromProps:e,createRenderState:i},a,r,l){return{latestValues:dO(a,r,l,e),renderState:i()}}function dO(e,i,a,r){const l={},c=r(e,{});for(const b in c)l[b]=Ll(c[b]);let{initial:d,animate:h}=e;const p=ru(e),m=tx(e);i&&m&&!p&&e.inherit!==!1&&(d===void 0&&(d=i.initial),h===void 0&&(h=i.animate));let g=a?a.initial===!1:!1;g=g||d===!1;const y=g?h:d;if(y&&typeof y!="boolean"&&!su(y)){const b=Array.isArray(y)?y:[y];for(let S=0;S<b.length;S++){const A=ch(e,b[S]);if(A){const{transitionEnd:C,transition:w,..._}=A;for(const j in _){let O=_[j];if(Array.isArray(O)){const z=g?O.length-1:0;O=O[z]}O!==null&&(l[j]=O)}for(const j in C)l[j]=C[j]}}}return l}const Ox=e=>(i,a)=>{const r=K.useContext(ou),l=K.useContext(Qd),c=()=>fO(e,i,r,l);return a?c():uC(c)},hO=Ox({scrapeMotionValuesFromProps:bh,createRenderState:Sh}),mO=Ox({scrapeMotionValuesFromProps:hx,createRenderState:Lx}),pO=Symbol.for("motionComponentSymbol");function gO(e,i,a){const r=K.useRef(a);K.useInsertionEffect(()=>{r.current=a});const l=K.useRef(null);return K.useCallback(c=>{c&&e.onMount?.(c);const d=r.current;if(typeof d=="function")if(c){const h=d(c);typeof h=="function"&&(l.current=h)}else l.current?(l.current(),l.current=null):d(c);else d&&(d.current=c);i&&(c?i.mount(c):i.unmount())},[i])}const Nx=K.createContext({});function os(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yO(e,i,a,r,l,c){const{visualElement:d}=K.useContext(ou),h=K.useContext(_x),p=K.useContext(Qd),m=K.useContext(Rx),g=m.reducedMotion,y=m.skipAnimations,b=K.useRef(null),S=K.useRef(!1);r=r||h.renderer,!b.current&&r&&(b.current=r(e,{visualState:i,parent:d,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,skipAnimations:y,isSVG:c}),S.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const A=b.current,C=K.useContext(Nx);A&&!A.projection&&l&&(A.type==="html"||A.type==="svg")&&vO(b.current,a,l,C);const w=K.useRef(!1);K.useInsertionEffect(()=>{A&&w.current&&A.update(a,p)});const _=a[HS],j=K.useRef(!!_&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return fC(()=>{S.current=!0,A&&(w.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),j.current&&A.animationState&&A.animationState.animateChanges())}),K.useEffect(()=>{A&&(!j.current&&A.animationState&&A.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),j.current=!1),A.enteringChildren=void 0)}),A}function vO(e,i,a,r){const{layoutId:l,layout:c,drag:d,dragConstraints:h,layoutScroll:p,layoutRoot:m,layoutAnchor:g,layoutCrossfade:y}=i;e.projection=new a(e.latestValues,i["data-framer-portal-id"]?void 0:jx(e.parent)),e.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!d||h&&os(h),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:p,layoutRoot:m,layoutAnchor:g})}function jx(e){if(e)return e.options.allowProjection!==!1?e.projection:jx(e.parent)}function Wf(e,{forwardMotionProps:i=!1,type:a}={},r,l){r&&WL(r);const c=a?a==="svg":xh(e),d=c?mO:hO;function h(m,g){let y;const b={...K.useContext(Rx),...m,layoutId:bO(m)},{isStatic:S}=b,A=aO(m),C=d(m,S);
vendor: 20,794 bytes, line 12
12if(!S&&typeof window<"u"){SO();const w=xO(b);y=w.MeasureLayout,A.visualElement=yO(e,C,b,l,w.ProjectionNode,c)}return R.jsxs(ou.Provider,{value:A,children:[y&&A.visualElement?R.jsx(y,{visualElement:A.visualElement,...b}):null,cO(e,m,gO(C,A.visualElement,g),C,S,i,c)]})}h.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=K.forwardRef(h);return p[pO]=e,p}function bO({layoutId:e}){const i=K.useContext(Wb).id;return i&&e!==void 0?i+"-"+e:e}function SO(e,i){K.useContext(_x).strict}function xO(e){const i=Cx(),{drag:a,layout:r}=i;if(!a&&!r)return{};const l={...a,...r};return{MeasureLayout:a?.isEnabled(e)||r?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function TO(e,i){if(typeof Proxy>"u")return Wf;const a=new Map,r=(c,d)=>Wf(c,d,e,i),l=(c,d)=>r(c,d);return new Proxy(l,{get:(c,d)=>d==="create"?r:(a.has(d)||a.set(d,Wf(d,void 0,e,i)),a.get(d))})}const AO=(e,i)=>i.isSVG??xh(e)?new aL(i):new $D(i,{allowProjection:e!==K.Fragment});class wO extends Vi{constructor(i){super(i),i.animationState||(i.animationState=uL(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();su(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:a}=this.node.prevProps||{};i!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let EO=0;class RO extends Vi{constructor(){super(...arguments),this.id=EO++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:c,custom:d}=this.node.getProps();if(typeof c=="string"){const h=pa(this.node,c,d);if(h){const{transition:p,transitionEnd:m,...g}=h;for(const y in g)this.node.getValue(y)?.jump(g[y])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!i);a&&!i&&l.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:i,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const _O={animation:{Feature:wO},exit:{Feature:RO}};function Xr(e){return{point:{x:e.pageX,y:e.pageY}}}const CO=e=>i=>mh(i)&&e(i,Xr(i));function Or(e,i,a,r){return Hr(e,i,CO(a),r)}const zx=({current:e})=>e?e.ownerDocument.defaultView:null,M0=(e,i)=>Math.abs(e-i);function MO(e,i){const a=M0(e.x,i.x),r=M0(e.y,i.y);return Math.sqrt(a**2+r**2)}const D0=new Set(["auto","scroll"]);class Px{constructor(i,a,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:c=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=vl(this.lastRawMoveEventInfo,this.transformPagePoint));const S=td(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,C=MO(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!A&&!C)return;const{point:w}=S,{timestamp:_}=ve;this.history.push({...w,timestamp:_});const{onStart:j,onMove:O}=this.handlers;A||(j&&j(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,S)},this.handlePointerMove=(S,A)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=A,this.lastMoveEventInfo=vl(A,this.transformPagePoint),Bt.update(this.updatePoint,!0)},this.handlePointerUp=(S,A)=>{this.end();const{onEnd:C,onSessionEnd:w,resumeAnimation:_}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=td(S.type==="pointercancel"?this.lastMoveEventInfo:vl(A,this.transformPagePoint),this.history);this.startEvent&&C&&C(S,j),w&&w(S,j)},!mh(i))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=d,this.contextWindow=l||window;const p=Xr(i),m=vl(p,this.transformPagePoint),{point:g}=m,{timestamp:y}=ve;this.history=[{...g,timestamp:y}];const{onSessionStart:b}=a;b&&b(i,td(m,this.history)),this.removeListeners=Yr(Or(this.contextWindow,"pointermove",this.handlePointerMove),Or(this.contextWindow,"pointerup",this.handlePointerUp),Or(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(i){let a=i.parentElement;for(;a;){const r=getComputedStyle(a);(D0.has(r.overflowX)||D0.has(r.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const a=this.scrollPositions.get(i);if(!a)return;const r=i===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},c={x:l.x-a.x,y:l.y-a.y};c.x===0&&c.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(i,l),Bt.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Oi(this.updatePoint)}}function vl(e,i){return i?{point:i(e.point)}:e}function L0(e,i){return{x:e.x-i.x,y:e.y-i.y}}function td({point:e},i){return{point:e,delta:L0(e,Vx(i)),offset:L0(e,DO(i)),velocity:LO(i,.1)}}function DO(e){return e[0]}function Vx(e){return e[e.length-1]}function LO(e,i){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null;const l=Vx(e);for(;a>=0&&(r=e[a],!(l.timestamp-r.timestamp>Fe(i)));)a--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&l.timestamp-r.timestamp>Fe(i)*2&&(r=e[1]);const c=sn(l.timestamp-r.timestamp);if(c===0)return{x:0,y:0};const d={x:(l.x-r.x)/c,y:(l.y-r.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function OO(e,{min:i,max:a},r){return i!==void 0&&e<i?e=r?It(i,e,r.min):Math.max(e,i):a!==void 0&&e>a&&(e=r?It(a,e,r.max):Math.min(e,a)),e}function O0(e,i,a){return{min:i!==void 0?e.min+i:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function NO(e,{top:i,left:a,bottom:r,right:l}){return{x:O0(e.x,a,l),y:O0(e.y,i,r)}}function N0(e,i){let a=i.min-e.min,r=i.max-e.max;return i.max-i.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function jO(e,i){return{x:N0(e.x,i.x),y:N0(e.y,i.y)}}function zO(e,i){let a=.5;const r=Ee(e),l=Ee(i);return l>r?a=Br(i.min,i.max-r,e.min):r>l&&(a=Br(e.min,e.max-l,i.min)),En(0,1,a)}function PO(e,i){const a={};return i.min!==void 0&&(a.min=i.min-e.min),i.max!==void 0&&(a.max=i.max-e.min),a}const Pd=.35;function VO(e=Pd){return e===!1?e=0:e===!0&&(e=Pd),{x:j0(e,"left","right"),y:j0(e,"top","bottom")}}function j0(e,i,a){return{min:z0(e,i),max:z0(e,a)}}function z0(e,i){return typeof e=="number"?e:e[i]||0}const BO=new WeakMap;class UO{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:a=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=y=>{a&&this.snapToCursor(Xr(y).point),this.stopAnimation()},d=(y,b)=>{const{drag:S,dragPropagation:A,onDragStart:C}=this.getProps();if(S&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=yD(S),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Sn(_=>{let j=this.getAxisMotionValue(_).get()||0;if(wn.test(j)){const{projection:O}=this.visualElement;if(O&&O.layout){const z=O.layout.layoutBox[_];z&&(j=Ee(z)*(parseFloat(j)/100))}}this.originPoint[_]=j}),C&&Bt.update(()=>C(y,b),!1,!0),_d(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},h=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b;const{dragPropagation:S,dragDirectionLock:A,onDirectionLock:C,onDrag:w}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:_}=b;if(A&&this.currentDirection===null){this.currentDirection=HO(_),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",b.point,_),this.updateAxis("y",b.point,_),this.visualElement.render(),w&&Bt.update(()=>w(y,b),!1,!0)},p=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b,this.stop(y,b),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Px(i,{onSessionStart:c,onStart:d,onMove:h,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:zx(this.visualElement),element:this.visualElement.current})}stop(i,a){const r=i||this.latestPointerEvent,l=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!l||!r)return;const{velocity:d}=l;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&Bt.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:a}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,a,r){const{drag:l}=this.getProps();if(!r||!bl(i,l,this.currentDirection))return;const c=this.getAxisMotionValue(i);let d=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(d=OO(d,this.constraints[i],this.elastic[i])),c.set(d)}resolveConstraints(){const{dragConstraints:i,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;i&&os(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=NO(r.layoutBox,i):this.constraints=!1,this.elastic=VO(a),l!==this.constraints&&!os(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&Sn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=PO(r.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:a}=this.getProps();if(!i||!os(i))return!1;const r=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=FD(r,l.root,this.visualElement.getTransformPagePoint());let d=jO(l.layout.layoutBox,c);if(a){const h=a(qD(d));this.hasMutatedConstraints=!!h,h&&(d=ax(h))}return d}startAnimation(i){const{drag:a,dragMomentum:r,dragElastic:l,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=Sn(g=>{if(!bl(g,a,this.currentDirection))return;let y=p&&p[g]||{};(d===!0||d===g)&&(y={min:0,max:0});const b=l?200:1e6,S=l?40:1e7,A={type:"inertia",velocity:r?i[g]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...y};return this.startAxisValueAnimation(g,A)});return Promise.all(m).then(h)}startAxisValueAnimation(i,a){const r=this.getAxisMotionValue(i);return _d(this.visualElement,i),r.start(uh(i,r,0,a,this.visualElement,!1))}stopAnimation(){Sn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const a=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),l=r[a];return l||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){Sn(a=>{const{drag:r}=this.getProps();if(!bl(a,r,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(a);if(l&&l.layout){const{min:d,max:h}=l.layout.layoutBox[a],p=c.get()||0;c.set(i[a]-It(d,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!os(a)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Sn(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const p=h.get();l[d]=zO({min:p,max:p},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Sn(d=>{if(!bl(d,i,null))return;const h=this.getAxisMotionValue(d),{min:p,max:m}=this.constraints[d];h.set(It(p,m,l[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;BO.set(this.visualElement,this);const i=this.visualElement.current,a=Or(i,"pointerdown",m=>{const{drag:g,dragListener:y=!0}=this.getProps(),b=m.target,S=b!==i&&AD(b);g&&y&&!S&&this.start(m)});let r;const l=()=>{const{dragConstraints:m}=this.getProps();os(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),r||(r=kO(i,m.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,d=c.addEventListener("measure",l);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Bt.read(l);const h=Hr(window,"resize",()=>this.scalePositionWithinConstraints()),p=c.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:g})=>{this.isDragging&&g&&(Sn(y=>{const b=this.getAxisMotionValue(y);b&&(this.originPoint[y]+=m[y].translate,b.set(b.get()+m[y].translate))}),this.visualElement.render())}));return()=>{h(),a(),d(),p&&p(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:d=Pd,dragMomentum:h=!0}=i;return{...i,drag:a,dragDirectionLock:r,dragPropagation:l,dragConstraints:c,dragElastic:d,dragMomentum:h}}}function P0(e){let i=!0;return()=>{if(i){i=!1;return}e()}}function kO(e,i,a){const r=Gv(e,P0(a)),l=Gv(i,P0(a));return()=>{r(),l()}}function bl(e,i,a){return(i===!0||i===e)&&(a===null||a===e)}function HO(e,i=10){let a=null;return Math.abs(e.y)>i?a="y":Math.abs(e.x)>i&&(a="x"),a}class IO extends Vi{constructor(i){super(i),this.removeGroupControls=rn,this.removeListeners=rn,this.controls=new UO(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rn}update(){const{dragControls:i}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};i!==a&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const ed=e=>(i,a)=>{e&&Bt.update(()=>e(i,a),!1,!0)};class qO extends Vi{constructor(){super(...arguments),this.removePointerDownListener=rn}onPointerDown(i){this.session=new Px(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zx(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:a,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:ed(i),onStart:ed(a),onMove:ed(r),onEnd:(c,d)=>{delete this.session,l&&Bt.postRender(()=>l(c,d))}}}mount(){this.removePointerDownListener=Or(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nd=!1;class YO extends K.Component{componentDidMount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r,layoutId:l}=this.props,{projection:c}=i;c&&(a.group&&a.group.add(c),r&&r.register&&l&&r.register(c),nd&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ol.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:a,visualElement:r,drag:l,isPresent:c}=this.props,{projection:d}=r;return d&&(d.isPresent=c,i.layoutDependency!==a&&d.setOptions({...d.options,layoutDependency:a}),nd=!0,l||i.layoutDependency!==a||a===void 0||i.isPresent!==c?d.willUpdate():this.safeToRemove(),i.isPresent!==c&&(c?d.promote():d.relegate()||Bt.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:a}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=a,r.root.didUpdate(),hh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:l}=i;nd=!0,l&&(l.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Bx(e){const[i,a]=JL(),r=K.useContext(Wb);return R.jsx(YO,{...e,layoutGroup:r,switchLayoutGroup:K.useContext(Nx),isPresent:i,safeToRemove:a})}const GO={pan:{Feature:qO},drag:{Feature:IO,ProjectionNode:Ex,MeasureLayout:Bx}};function V0(e,i,a){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");const l="onHover"+a,c=r[l];c&&Bt.postRender(()=>c(i,Xr(i)))}class FO extends Vi{mount(){const{current:i}=this.node;i&&(this.unmount=bD(i,(a,r)=>(V0(this.node,r,"Start"),l=>V0(this.node,l,"End"))))}unmount(){}}class XO extends Vi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=Yr(Hr(this.node.current,"focus",()=>this.onFocus()),Hr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function B0(e,i,a){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");const l="onTap"+(a==="End"?"":a),c=r[l];c&&Bt.postRender(()=>c(i,Xr(i)))}class KO extends Vi{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:a,propagate:r}=this.node.props;this.unmount=ED(i,(l,c)=>(B0(this.node,c,"Start"),(d,{success:h})=>B0(this.node,d,h?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:r?.tap===!1})}unmount(){}}const Vd=new WeakMap,id=new WeakMap,QO=e=>{const i=Vd.get(e.target);i&&i(e)},ZO=e=>{e.forEach(QO)};function JO({root:e,...i}){const a=e||document;id.has(a)||id.set(a,{});const r=id.get(a),l=JSON.stringify(i);return r[l]||(r[l]=new IntersectionObserver(ZO,{root:e,...i})),r[l]}function $O(e,i,a){const r=JO(i);return Vd.set(e,a),r.observe(e),()=>{Vd.delete(e),r.unobserve(e)}}const WO={some:0,all:1};class t3 extends Vi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:i={}}=this.node.getProps(),{root:a,margin:r,amount:l="some",once:c}=i,d={root:a?a.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:WO[l]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,c&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),b=m?g:y;b&&b(p)};this.stopObserver=$O(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:a}=this.node;["amount","margin","root"].some(e3(i,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function e3({viewport:e={}},{viewport:i={}}={}){return a=>e[a]!==i[a]}const n3={inView:{Feature:t3},tap:{Feature:KO},focus:{Feature:XO},hover:{Feature:FO}},i3={layout:{ProjectionNode:Ex,MeasureLayout:Bx}},a3={..._O,...n3,...GO,...i3},Mt=TO(a3,AO);function U0(){const e=[{label:"Linehaul",ok:!0}
12,{label:"Fuel surcharge",ok:!0},{label:"Detention 2hr",ok:!1},{label:"Lumper fee",ok:!0}];return R.jsxs("div",{className:"absolute inset-0 p-4",children:[R.jsxs("div",{className:"mb-2 flex items-center justify-between text-[10px] text-muted-foreground",children:[R.jsx("span",{children:"Carrier Bill · BOL #84721"}),R.jsx("span",{className:"rounded bg-primary/20 px-1.5 py-0.5 text-primary-foreground",children:"AUDIT"})]}),R.jsx("div",{className:"space-y-1.5",children:e.map((i,a)=>R.jsxs(Mt.div,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:{delay:a*.4,repeat:1/0,repeatDelay:1.6,duration:.4},className:"flex items-center justify-between rounded-md border border-border bg-background/60 px-2.5 py-1.5 text-[11px]",children:[R.jsx("span",{children:i.label}),R.jsx(Mt.span,{initial:{scale:0},animate:{scale:1},transition:{delay:a*.4+.2,repeat:1/0,repeatDelay:1.6},className:`rounded-full px-1.5 text-[10px] font-medium ${i.ok?"bg-success/20 text-success":"bg-destructive/20 text-destructive"}`,children:i.ok?"â match":"â disputed"})]},i.label))})]})}function s3(){return R.jsxs("div",{className:"absolute inset-0 grid grid-cols-2 gap-3 p-4 text-[11px]",children:[R.jsxs("div",{className:"space-y-1.5",children:[R.jsx("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:"Payments"}),[["ACH · $4,250","Acme Holdings"],["Wire · $1,820","ACME LLC"],["Check · $920","A. Corp"]].map(([e,i],a)=>R.jsxs(Mt.div,{initial:{x:-10,opacity:0},animate:{x:0,opacity:1},transition:{delay:a*.2,repeat:1/0,repeatDelay:2},className:"rounded border border-border bg-background/60 p-2",children:[R.jsx("div",{className:"font-medium",children:e}),R.jsx("div",{className:"text-[10px] text-muted-foreground",children:i})]},e))]}),R.jsxs("div",{className:"space-y-1.5",children:[R.jsx("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:"Invoices"}),["INV-2041","INV-2039","INV-2027"].map((e,i)=>R.jsxs(Mt.div,{initial:{borderColor:"var(--border)"},animate:{borderColor:["var(--border)","color-mix(in oklab, var(--success) 80%, transparent)","var(--border)"]},transition:{delay:i*.2+.4,repeat:1/0,repeatDelay:1.6,duration:1},className:"rounded border border-border bg-background/60 p-2",children:[R.jsx("div",{className:"font-medium",children:e}),R.jsx("div",{className:"text-[10px] text-success",children:"Matched â"})]},e))]})]})}function r3(){return R.jsx("div",{className:"absolute inset-0 flex items-center justify-center p-4",children:R.jsxs(Mt.div,{initial:{y:10,opacity:0,rotate:-3},animate:{y:0,opacity:1,rotate:0},transition:{duration:.6,repeat:1/0,repeatType:"reverse",repeatDelay:1.2},className:"w-full rounded-lg border border-border bg-background p-3 text-[10px] shadow-[var(--shadow-elegant)]",children:[R.jsxs("div",{className:"flex items-center justify-between",children:[R.jsx("div",{className:"font-semibold",children:"INVOICE INV-2041"}),R.jsx("div",{className:"rounded bg-success/20 px-1.5 text-success",children:"SENT"})]}),R.jsx("div",{className:"mt-2 text-muted-foreground",children:"Bill to: Acme Corp"}),R.jsxs("div",{className:"mt-2 space-y-1",children:[[["Linehaul","$1,200"],["Fuel","$180"],["Detention","$70"]].map(([e,i])=>R.jsxs("div",{className:"flex justify-between border-b border-border/50 py-0.5",children:[R.jsx("span",{children:e}),R.jsx("span",{children:i})]},e)),R.jsxs("div",{className:"flex justify-between pt-1 font-semibold",children:[R.jsx("span",{children:"Total"}),R.jsx("span",{children:"$1,450.00"})]})]})]})})}function o3(){return R.jsxs("div",{className:"absolute inset-0 space-y-2 p-4 text-[11px]",children:[R.jsxs(Mt.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.4,repeat:1/0,repeatDelay:2},className:"rounded-lg border border-destructive/40 bg-destructive/10 p-2",children:[R.jsx("div",{className:"text-[10px] text-destructive",children:"Shipper response"}),R.jsx("div",{children:'"Detention charge looks high â can you confirm hours?"'})]}),R.jsxs(Mt.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.7,duration:.4,repeat:1/0,repeatDelay:2},className:"rounded-lg border border-primary/40 bg-primary/10 p-2",children:[R.jsx("div",{className:"text-[10px] text-primary-foreground
12/80",children:"Lighthouz reply"}),R.jsx("div",{children:"Driver arrived 09:12, departed 11:47 â 2h 35m. Attaching signed PoD timestamps."})]}),R.jsx(Mt.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.4,repeat:1/0,repeatDelay:1.6},className:"inline-flex items-center gap-1 rounded-full bg-success/15 px-2 py-0.5 text-[10px] text-success",children:"Resolved"})]})}function l3(){return R.jsxs("div",{className:"absolute inset-0 space-y-2 p-4 text-[11px]",children:[R.jsxs(Mt.div,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:{duration:.4,repeat:1/0,repeatDelay:2.4},className:"rounded-lg border border-border bg-background/60 p-2",children:[R.jsx("div",{className:"text-[10px] text-muted-foreground",children:"[email protected]"}),R.jsx("div",{children:'"I never got invoice INV-2041 â can you resend?"'})]}),R.jsxs(Mt.div,{initial:{opacity:0,x:8},animate:{opacity:1,x:0},transition:{delay:.7,duration:.4,repeat:1/0,repeatDelay:2.4},className:"ml-6 rounded-lg border border-primary/40 bg-primary/10 p-2",children:[R.jsx("div",{className:"text-[10px] text-primary-foreground/80",children:"Lighthouz · auto-reply"}),R.jsx("div",{children:"Resending INV-2041 + statement. PoD attached."})]}),R.jsxs(Mt.div,{initial:{opacity:0}
12,animate:{opacity:1},transition:{delay:1.4,repeat:1/0,repeatDelay:2},className:"inline-flex items-center gap-1 rounded-full bg-success/15 px-2 py-0.5 text-[10px] text-success",children:[R.jsx("span",{className:"h-1 w-1 rounded-full bg-success"})," Resolved · 12s"]})]})}function k0(){const e=[60,78,45,92,68,84];return R.jsxs("div",{className:"absolute inset-0 p-4 text-[11px]",children:[R.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[R.jsx("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:"Cashflow · 30d"}),R.jsx("div",{className:"rounded bg-success/20 px-1.5 py-0.5 text-[9px] text-success",children:"+12%"})]}),R.jsx("div",{className:"flex h-16 items-end gap-1",children:e.map((i,a)=>R.jsx(Mt.div,{initial:{scaleY:0},animate:{scaleY:1},transition:{delay:a*.08,duration:.6,repeat:1/0,repeatDelay:2,repeatType:"reverse"},style:{height:`${i}%`,transformOrigin:"bottom",background:"var(--gradient-primary)"},className:"flex-1 rounded-t"},a))}),R.jsx("div",{className:"mt-3 grid grid-cols-3 gap-2",children:[["DSO","38d"],["Open AR","$1.2M"],["At-risk","4"]].map(([i,a])=>R.jsxs("div",{className:"rounded border border-border bg-background/60 p-1.5 text-center",children:[R.jsx("div",{className:"text-[9px] text-muted-foreground",children:i}),R.jsx("div",{className:"font-semibold",children:a})]},i))})]})}function u3(){const e=[{name:"ADL Logistics",amt:"$48,200",pri:"P1"},{name:"Northwind Co.",amt:"$22,940",pri:"P1"},{name:"Acme Holdings",amt:"$11,500",pri:"P2"}];return R.jsxs("div",{className:"absolute inset-0 space-y-1.5 p-4 text-[11px]",children:[R.jsx("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:"Today's Queue · 3 of 12"}),e.map((i,a)=>R.jsxs(Mt.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:a*.2,duration:.4,repeat:1/0,repeatDelay:2},className:"flex items-center justify-between rounded-md border border-border bg-background/60 px-2.5 py-1.5",children:[R.jsxs("div",{className:"flex items-center gap-2",children:[R.jsx("span",{className:`rounded px-1 text-[9px] font-semibold ${i.pri==="P1"?"bg-destructive/20 text-destructive":"bg-accent/20 text-accent"}`,children:i.pri}),R.jsx("span",{className:"font-medium",children:i.name})]}),R.jsx("span",{className:"font-mono text-[10px]",children:i.amt})]},i.name)),R.jsx("div",{className:"text-[9px] text-muted-foreground",children:"Next action: call AP lead · script ready"})]})}function c3(){const i=a=>({duration:9,times:[0,Math.max(0,a-.01),a,1],repeat:1/0});return R.jsxs("div",{className:"absolute inset-0 space-y-2 p-4 text-[11px]",children:[R.jsxs(Mt.div,{initial:{opacity:0,x:8},animate:{opacity:[0,0,1,1],x:[8,8,0,0]},transition:i(.05),className:"ml-6 rounded-lg border border-primary/40 bg-primary/10 p-2",children:[R.jsx("div",{className:"text-[10px] text-muted-foreground",children:"Lighthouz â [email protected]"}),R.jsx("div",{className:"font-medium",children:"Friendly reminder · INV-2041"}),R.jsx("div",{className:"text-muted-foreground",children:"$1,450 due in 3 days. PoD attached."})]}),R.jsxs(Mt.div,{initial:{opacity:0,x:-8},animate:{opacity:[0,0,1,1],x:[-8,-8,0,0]},transition:i(.3),className:"mr-6 rounded-lg border border-border bg-background/60 p-2",children:[R.jsx("div",{className:"text-[10px] text-muted-foreground",children:"[email protected] â Lighthouz"}),R.jsx("div",{className:"font-medium",children:"Re: Friendly reminder · INV-2041"}),R.jsx("div",{className:"text-muted-foreground",children:'"Thanks â can you also send me the aging report?"'})]}),R.jsxs(Mt.div,{initial:{opacity:0,x:8},animate:{opacity:[0,0,1,1],x:[8,8,0,0]},transition:i(.55),className:"ml-6 rounded-lg border border-primary/40 bg-primary/10 p-2",children:[R.jsx("div",{className:"text-[10px] text-primary-foreground/80",children:"Lighthouz · auto-reply"}),R.jsx("div",{children:"Here's your aging report through today â attached."}),R.jsx("div",{className:"mt-1.5 inline-flex items-center gap-1 rounded border border-border bg-card px-1.5 py-0.5 text-[10px]",children:"ð Aging_Report_Acme.pdf"})]}),R.jsxs(Mt.div,{initial:{opacity:0}
12,animate:{opacity:[0,0,1,1]},transition:i(.78),className:"inline-flex items-center gap-1 rounded-full bg-accent/15 px-2 py-0.5 text-[10px] text-accent",children:[R.jsx("span",{className:"h-1 w-1 rounded-full bg-accent"})," Sent · logged to TMS"]})]})}function f3(){const e=["Cass","AlchemyTMS","Uber Freight","E2Open","RMIS","OpenInvoice"],i=[{co:"Walmart · INV-44218",tag:"Rejected",tone:"destructive"},{co:"Target · INV-32910",tag:"Missing info",tone:"warning"},{co:"Costco · INV-29104",tag:"Duplicate",tone:"destructive"}],a=7;return R.jsxs("div",{className:"absolute inset-0 grid grid-cols-2 gap-3 p-4 text-[11px]",children:[R.jsxs("div",{className:"flex flex-col items-center justify-center",children:[R.jsxs("div",{className:"relative h-20 w-20",children:[R.jsx(Mt.div,{animate:{rotate:360},transition:{duration:2.4,repeat:1/0,ease:"linear"},className:"absolute inset-0 rounded-full border-2 border-transparent",style:{borderTopColor:"var(--accent)",borderRightColor:"color-mix(in oklab, var(--accent) 40%, transparent)"}}),R.jsxs("div",{className:"absolute inset-2 flex items-center justify-center rounded-full border border-border bg-background/60 text-[9px] uppercase tracking-wider text-muted-foreground",children:["24",R.jsx("span",{className:"ml-1",children:"portals"})]})]}),R.jsx("div",{className:"mt-3 text-[10px] uppercase tracking-wider text-muted-foreground",children:"Scanning AP portals"}),R.jsx("div",{className:"mt-1 grid grid-cols-2 gap-x-2 text-[9px] text-muted-foreground",children:e.map((r,l)=>R.jsxs(Mt.div,{initial:{opacity:.3},animate:{opacity:[.3,1,.3]},transition:{duration:1.8,repeat:1/0,delay:l*.25},className:"flex items-center gap-1",children:[R.jsx("span",{className:"h-1 w-1 rounded-full bg-accent"})," ",r]},r))})]}),R.jsxs("div",{className:"flex flex-col",children:[R.jsxs(Mt.div,{initial:{opacity:0}
12,animate:{opacity:[0,0,1,1]},transition:{duration:a,times:[0,.4,.5,1],repeat:1/0},className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:[R.jsx("span",{className:"text-destructive",children:"3"})," of 24 flagged"]}),R.jsx("div",{className:"mt-2 space-y-1.5",children:i.map((r,l)=>R.jsxs(Mt.div,{initial:{opacity:0,x:8},animate:{opacity:[0,0,0,1,1],x:[8,8,8,0,0]},transition:{duration:a,times:[0,.45,.5+l*.05,.6+l*.05,1],repeat:1/0},className:"flex items-center justify-between rounded-md border border-border bg-background/60 px-2 py-1.5",children:[R.jsx("span",{className:"font-medium",children:r.co}),R.jsx("span",{className:`rounded-full px-1.5 py-0.5 text-[9px] font-semibold ${r.tone==="destructive"?"bg-destructive/20 text-destructive":"bg-warning/20 text-warning"}`,children:r.tag})]},r.co))})]})]})}const d3=[{slug:"freight-bill-audit",category:"ap",problemHeadline:"Every carrier bill, audited by hand.",title:"Freight Bill Audit",desc:"Ingest PDFs and EDI, audit against TMS load data, and auto-resolve 70â85% of bills with zero human touch.",Anim:U0,longDescription:"Lighthouz reads every carrier bill â PDF, EDI 210, or email â and runs 45+ audits against your TMS load data. Accessorials, fuel, lumper, detention, and lane rate variances are caught instantly. Disputes are filed with the carrier automatically and tracked to resolution.",capabilities:["Multi-format ingestion: PDF, EDI 210, email, scanned images","45+ audits per bill against TMS load data and contracted rates","Auto-dispute filing with carrier and status tracking","Approved bills pushed to your ERP for payment","Exception queue for the 20â30% requiring human review","Automated data entry and documents uploaded to TMS"],outcomes:[{metric:"70â85%",label:"no-touch resolution rate"},{metric:"45+",label:"audits per bill"},{metric:"10x",label:"faster than manual audit"}]},{slug:"email-collections-agent",category:"collections",problemHeadline:"104 dunning emails. Every single day.",title:"Email Collections Agent",desc:"AI sends every collections email and responds to basic customer replies â all logged to TMS and Lighthouz automatically.",Anim:c3,longDescription:"Your collectors don't need to write the 104th dunning email of the day. The Email Collections Agent sends personalized reminders on your SOP cadence, replies to routine customer questions (PoD requests, statement re-sends, payment confirmations), and records every send and receive into your TMS and into Lighthouz.",capabilities:["Sends personalized collections emails on your SOP cadence","Auto-responds to basic customer queries â PoDs, statements, confirmations","Attaches the right invoice, BOL, or PoD per request","Smart pause when a human conversation is in flight","Logs every send and reply to TMS and to Lighthouz"],outcomes:[{metric:"104",label:"emails / day handled per agent"},{metric:"25",label:"basic replies auto-answered"},{metric:"100%",label:"logged in TMS automatically"}],beforeAfter:{before:{headline:"Today: collector at the keyboard",bullets:["Human writes 104 collections emails, one after the other.","Human responds to 25 basic customer emails, one by one.","Human records every send/receive in the TMS or a spreadsheet."],stat:{value:"104",label:"emails written by hand"}},after:{headline:"With Lighthouz: AI on the keyboard",bullets:["AI sends all 104 collections emails on your cadence.","AI replies to 25 basic customer emails automatically.","AI logs every communication to TMS and Lighthouz."],stat:{value:"0",label:"manual emails or logging"}}}},{slug:"portal-collections-agent",category:"collections",problemHeadline:"Six portals. Forty-seven invoices. No time to call.",title:"Portal Collections Agent",desc:"AI monitors every customer AP portal, checks invoice status, and surfaces only the exceptions that need human review.",Anim:f3,longDescription:"Logging into 50 portals to check the status of 273 invoices isn't collections work â it's data-entry work. The Portal Collections Agent monitors every customer AP portal continuously, pulls live status for every open invoice, and hands your collectors only the exceptions worth a human's attention.",capabilities:["Continuously monitors every customer AP portal","Pulls live status for every open invoice","Detects exceptions: short-pays, disputes, missing docs, holds","Surfaces only the invoices that need human review","Threads portal status into the collector work queue"],outcomes:[{metric:"50",label:"portals monitored 24/7"},{metric:"273 â 12",label:"invoices reviewed by humans"}
12,{metric:"4 hrs â 20 min",label:"saved per collector / day"}],beforeAfter:{before:{headline:"Today: 50 logins before lunch",bullets:["Human logs into 50 portals, one by one, to check 273 invoices.","Human identifies the 12 invoices that actually need attention.","The full sweep takes 4 hours."],stat:{value:"4 hrs",label:"portal-hopping per day"}},after:{headline:"With Lighthouz: AI sweeps the portals",bullets:["AI monitors 50 portals and pulls status on all 273 invoices.","AI surfaces only the 12 that need human review.","Human reviews those 12 in 20 minutes."],stat:{value:"20 min",label:"humans on portals per day"}}}},{slug:"ar-command-center",category:"collections",problemHeadline:"Cashflow lives in five spreadsheets.",title:"AR Command Center",desc:"AR Dashboard for real-time cashflow visibility and a Collections Dashboard for live status. All collections notes in one place.",Anim:k0,longDescription:"The AR Command Center gives finance leaders one screen for cashflow, aging, and collections health. Every reminder sent, portal checked, dispute filed, and payment promised is logged automatically â no more scattered spreadsheets and notes.",capabilities:["Real-time cashflow forecast and aging snapshot","Collections status dashboard across every customer","Unified notes log â agent + human activity in one timeline","Customer-level health scores and risk alerts","Drill-down from KPI to invoice to email thread"],outcomes:[{metric:"1 screen",label:"for the entire AR org"},{metric:"Real-time",label:"cashflow forecast"},{metric:"0",label:"notes lost in spreadsheets"}]},{slug:"collector-work-queue",category:"collections",problemHeadline:"Spreadsheets won't tell you who to call next.",title:"Collections Work Queue",desc:"AI surfaces the invoices that need a human, records every interaction, and lets collectors act with one click.",Anim:u3,longDescription:"The Collections Work Queue is where humans do the work only humans can do. AI surfaces the invoices that actually need attention, records every interaction automatically, and gives the collector a one-click way to take the next action â no spreadsheets, no copy-paste.",capabilities:["AI-prioritized queue of invoices that need a human","Full account context surfaced in one click","All interactions recorded automatically â no manual notes","One-click next action: call, email, escalate, snooze","Manager view for queue load and SLA compliance"],outcomes:[{metric:"2x",label:"collector productivity"},{metric:"0",label:"spreadsheets to maintain"},{metric:"Higher",label:"promise-to-pay conversion"}],beforeAfter:{before:{headline:"Today: the spreadsheet runs the day",bullets:["Human maintains 5 spreadsheets of invoices needing attention.","Human updates the spreadsheets after every customer interaction.","Context lives in someone's head, not the system."],stat:{value:"5",label:"SPREADSHEETS OF TRUTH"}},after:{headline:"With Lighthouz: AI runs the queue",bullets:["AI surfaces invoices that require human attention.","AI records every interaction automatically.","Human takes the next action with one click."],stat:{value:"1-click",label:"to take action"}}}},{slug:"ar-risk-dashboard",category:"collections",problemHeadline:"Risk hides in last week's aging report.",title:"AR Risk Dashboard",desc:"AI builds a daily-updated AR risk dashboard â credit utilization, overdue invoices, and high-risk accounts surfaced automatically.",Anim:k0,longDescription:"Stop writing the weekly risk report. The AR Risk Dashboard is updated daily, computes credit utilization across every account, flags high-risk accounts and way-overdue invoices, and turns your controller from a data-generator into an analyst.",capabilities:["Daily-updated credit utilization across all accounts","High-risk account flagging with reasons","Way-overdue invoice escalation list","Credit risk scoring per customer","Drill-down from KPI to invoice to comms history"],outcomes:[{metric:"Daily",label:"refresh, not weekly"},{metric:"0",label:"spreadsheets to build"},{metric:"Analyst",label:"role for your controller"}],beforeAfter:{before:{headline:"Today: controller as data-generator",bullets:["Controller/AR Manager builds a weekly spreadsheet or PowerBI.","Calculates credit utilization across every account by hand.","Highlights high-risk accounts and way-overdue invoices manually."],stat:{value:"Weekly",label:"manual risk report"}},after:{headline:"With Lighthouz: controller as analyst",bullets:["AI builds the dashboard and refreshes it every day.","Credit utilization, overdue invoices and risk surfaced automatically.","Controller spends time analyzing, not generating."],stat:{value:"Daily",label:"auto-refreshed dashboard"}}}},{slug:"shipper-invoicing",category:"ar",problemHeadline:"Invoices take days. Customers wait. Cash waits.",title:"Shipper Invoicing",desc:"Move from delivery to invoice in hours, not days. Clean documents, automatic ERP push.",Anim:r3,longDescription:"Lighthouz turns delivered loads into invoice-ready packets the moment a PoD lands. Documents are validated, formatted to each shipper's spec, and pushed to your ERP and the shipper's AP portal automatically.",capabilities:["Auto-trigger invoice on PoD receipt","Per-shipper formatting and document requirements","Direct push to QuickBooks, NetSuite, Sage Intacct, SAP","Submission to shipper AP portals (RMIS, Anvyl, Coupa, etc.)","Exception handling for missing documents"],outcomes:[{metric:"36%",label:"faster invoicing"},{metric:"Hours",label:"delivery to invoice â not days"},{metric:"0",label:"manual portal uploads"}]},{slug:"dispute-agent",category:"ap",problemHeadline:"Short-pays slip through the cracks for weeks.",title:"Dispute Agent",desc:"Track invoice status across AP portals and email threads, and respond to disputes without stepping in.",Anim:o3,longDescription:"The Dispute Agent watches every open invoice across email and AP portals, detects shorts and chargebacks the moment they appear, and responds with the right backup â PoD timestamps, signed BOLs, accessorial proof â in seconds.",capabilities:["Cross-portal and email status tracking","Automatic short-pay and chargeback detection","AI-generated dispute responses with backup attached","Aging-based escalation rules","Resolution analytics by customer and reason code"],outcomes:[{metric:"Faster",label:"dispute turnaround"},{metric:"Higher",label:"recovery rate on chargebacks"},{metric:"Zero",label:"lost-in-portal invoices"}]},{slug:"rate-verification",category:"ap",problemHeadline:"Factor RV emails pile up â every hour.",title:"Rate Verification Agent",desc:"Auto-replies to factor rate-verification (RV) emails with TMS rate details, contracted lane rates, and accessorial breakdowns.",Anim:U0,longDescription:"Factors flood your inbox with rate-verification requests before they advance funds to carriers. The Rate Verification Agent reads each RV email, looks up the load in your TMS, validates the rate against your contracted lane and accessorial schedule, and replies with the right confirmation â in seconds, 24/7.",capabilities:["Reads factor RV emails and identifies the load reference","Looks up TMS rate, lane, FAK class, and accessorials","Validates against contracted carrier rate agreements","Auto-replies with structured rate confirmation","Escalates mismatches to AP for review"],outcomes:[{metric:"<2 min",label:"factor response time"},{metric:"24/7",label:"RV email coverage"},{metric:"0",label:"manual TMS lookups"}]},{slug:"payment-status",category:"ap",problemHeadline:"âWhen will I get paid?â â answered 100 times a day.",title:"Payment Status Response Agent",desc:"Answers carrier and factor payment-status emails 24/7 with live ERP and TMS data â no AP clerk required.",Anim:l3,longDescription:"âWhen will I get paid?â is the #1 question in every AP inbox. The Payment Status Response Agent reads carrier and factor emails, pulls live status from your ERP and TMS, and replies with payment date, check/ACH reference, and any open exceptions â automatically.",capabilities:["Classifies payment-status emails from carriers and factors","Live lookup against ERP (QuickBooks, NetSuite, Sage, SAP)","Replies with payment date, method, and reference number","Surfaces open disputes or short-pays in the response","Threads conversation history into the AP workspace"],outcomes:[{metric:"24/7",label:"carrier coverage"},{metric:"85%",label:"of status emails auto-resolved"},{metric:"<2 min",label:"average response time"}]},{slug:"cash-application",category:"ar",problemHeadline:"ACH, lockbox, remittances â matched by hand.",title:"Cash Application",desc:"Match ACH, lockbox, and remittances to invoices â even with parentâchild payers and DBA mismatches.",Anim:s3,comingSoon:!0,longDescription:"Coming soon. Lighthouz Cash Application will match ACH, wire, lockbox, and check payments to open invoices â handling parent/child payers, DBA mismatches, and short pays automatically.",capabilities:["ACH, wire, lockbox, and check matching","Parentâchild payer and DBA reconciliation","Remittance email parsing","Short-pay rout
12ing into the Dispute Agent","Direct posting to your ERP"],outcomes:[{metric:"Coming",label:"soon"},{metric:"â",label:""},{metric:"â",label:""}]}],h3=Object.fromEntries(d3.map(e=>[e.slug,e])),m3=()=>ie(()=>import("./products._slug-CFfObeLa.js"),__vite__mapDeps([18,1])),p3=()=>ie(()=>import("./products._slug-BUY0q2_m.js"),__vite__mapDeps([19,1,12])),g3=Pe("/products/$slug")({loader:({params:e})=>{const i=h3[e.slug];if(!i)throw Zl();return{agent:i}},head:({loaderData:e})=>{const i=e?.agent;if(!i)return{meta:[{title:"Product â Lighthouz AI"}]};const a=`${i.title} â Lighthouz AI for freight brokers`;return{meta:[{title:a},{name:"description",content:i.desc},{property:"og:title",content:a},{property:"og:description",content:i.desc}]}},component:fe(p3,"component"),notFoundComponent:fe(m3,"notFoundComponent")}),y3=[{slug:"collections",eyebrow:"AI FOR Collections",title:"Collections",promise:"Portal monitoring and personalized dunning, done with no human touches",description:"Trained on your SOP, your tone, and each customer's preferred cadence. AI runs the routine outreach, monitors AP portals, and surfaces a prioritized queue for your collectors.",pipeline:["Auto-remind","Auto-monitor","Auto-record","Prioritized queue"],accent:"accent",glow:"radial-gradient(420px 220px at 50% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%)",agents:[{slug:"email-collections-agent",title:"Email Collections Agent",blurb:"Sends every collections email; replies to basic customer queries."},{slug:"portal-collections-agent",title:"Portal Collections Agent",blurb:"Monitors every customer AP portal; surfaces only the exceptions."},{slug:"collector-work-queue",title:"Collections Work Queue",blurb:"Prioritized human queue with one-click actions and auto-logging."},{slug:"ar-risk-dashboard",title:"AR Risk Dashboard",blurb:"Daily-updated credit utilization, risk, and overdue escalation."}],platform:[{label:"Collections Dashboard",sub:"Aging, comms log, drill-down to invoice"}],callouts:["Trained on your SOP & communication style","Monitors Cass, AlchemyTMS, Uber Freight, E2Open","One source of truth â no more scattered spreadsheets","Pauses when a human conversation is in flight"],outcomes:[{metric:"â2 to â5d",label:"DSO reduction"},{metric:"4 hrs",label:"saved per collector / day"},{metric:"100%",label:"of portals monitored"}]},{slug:"ar",eyebrow:"AI for AR",title:"Accounts Payable & Receivable",promise:"Customer invoices created and sent, with no human touch",description:"From PoD to invoice in hours. AI answers shipper queries, attaches the right docs, and gives finance one screen for cashflow, credit, and aging.",pipeline:["Auto-invoice","Auto-respond","Auto-track","Auto-apply"],accent:"accent",glow:"radial-gradient(420px 220px at 70% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%)",agents:[{slug:"shipper-invoicing",title:"Shipper Invoicing Agent",blurb:"PoD-triggered, ERP-pushed, portal-submitted."}],platform:[{label:"AR Command Center",sub:"Real-time cashflow, credit, aging"}],outcomes:[{metric:"36%",label:"no-touch automation on carrier bills "},{metric:"â5 days",label:"to customer payment"},{metric:"1 screen",label:"for the AR org"}]},{slug:"ap",eyebrow:"AI FOR AP",title:"Accounts Payable",promise:"Carrier bills processed with minimal human touches",description:"AI ingests every carrier bill from email, EDI, and FTP â runs 85+ audits, files disputes, and approves clean bills to your TMS. No more clerk-by-clerk data entry.",pipeline:["Auto-ingest","Auto-audit","Auto-reply","Auto-dispute"],accent:"accent",glow:"radial-gradient(420px 220px at 30% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%)",ftlAgents:[{slug:"freight-bill-audit",title:"Freight Bill Processing & Audit Agent",blurb:"Indexes PDFs/EDI, runs 45+ checks against TMS load data."},{slug:"rate-verification",title:"Rate Verification Agent",blurb:"Auto-replies to factor RV emails with TMS rate details."},{slug:"payment-status",title:"Payment Status Response Agent",blurb:"Answers carrier/factor payment-status emails 24/7."},{slug:"dispute-agent",title:"Dispute Agent",blurb:"Files and tracks disputes across portals and email."}],ltlAgents:[{slug:"freight-bill-audit",title:"LTL Freight Bill Audit Agent",blurb:"Accessorial, class, weight & PoD checks per bill."},{slug:"dispute-agent",title:"LTL Dispute Agent",blurb:"Reweigh / reclass / accessorial variance â auto-files disputes with backup."}],platform:[{label:"Inbox Plugin",sub:"Audits inside Gmail & Outlook"},{label:"AP Dashboard",sub:"Every submission, one screen"}],outcomes:[{metric:"~85%",label:"no-touch processing"},{metric:"85+",label:"audits per bill"},{metric:"4Ã",label:"AP clerk throughput"}]}],v3=()=>ie(()=>import("./modules._module-B-QlP0eG.js"),__vite__mapDeps([20,1,12,15])),b3=()=>ie(()=>import("./modules._module-BtTIbudv.js"),__vite__mapDeps([21,1])),S3=Pe("/modules/$module")({loader:({params:e})=>{const i=y3.find(a=>a.slug===e.module);if(!i)throw Zl();return{module:i}},head:({loaderData:e})=>{const i=e?.module;if(!i)return{};const a=`${i.title} â ${i.promise} | Lighthouz AI`,r=i.description;return{meta:[{title:a},{name:"description",content:r},{property:"og:title",content:a},{property:"og:description",content:r}]}},notFoundComponent:fe(b3,"notFoundComponent"),component:fe(v3,"component")});
12function eN({eyebrow:e="The shift",title:i,before:a,after:r,afterTitle:l="What your team does with Lighthouz",beforeTitle:c="What your team does today"}){return R.jsxs("section",{className:"mx-auto mt-28 max-w-6xl px-6",children:[R.jsxs("div",{className:"text-center",children:[R.jsx("div",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:e}),R.jsx("h2",{className:"mt-3 text-balance text-3xl font-semibold tracking-tight md:text-4xl",children:i})]}),R.jsxs("div",{className:"mt-10 grid grid-cols-1 gap-5 md:grid-cols-2",children:[R.jsxs("div",{className:"rounded-2xl border border-border bg-card/30 p-6",children:[R.jsx("div",{className:"text-sm font-semibold text-muted-foreground",children:c}),R.jsx("ul",{className:"mt-4 space-y-3 text-sm",children:a.map(d=>R.jsxs("li",{className:"flex items-start gap-3",children:[R.jsx("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-destructive"}),R.jsx("span",{className:"text-foreground/90",children:d})]},d))})]}),R.jsxs("div",{className:"rounded-2xl border border-accent/40 bg-accent/5 p-6 shadow-lg shadow-accent/5",children:[R.jsx("div",{className:"text-sm font-semibold text-accent",children:l}),R.jsx("ul",{className:"mt-4 space-y-3 text-sm",children:r.map(d=>R.jsxs("li",{className:"flex items-start gap-3",children:[R.jsx("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-success"}),R.jsx("span",{className:"text-foreground/90",children:d})]},d))})]})]})]})}const nN=["Manually log into 6 portals daily","Copy-paste the same dunning email 50Ã","Lose context when invoices age","Spreadsheets out of sync across the team"],iN=["Portals monitored 24/7 â automatically","Personalized dunning per customer cadence","Every touch logged with full context","Collectors open one prioritized queue"];function aN(){const e=[{name:"Cass",status:"Checkingâ¦"},{name:"AlchemyTMS",status:"Logging inâ¦"},{name:"Uber Freight",status:"Loading agingâ¦"},{name:"E2Open",status:"2FA required"},{name:"RMIS",status:"Checkingâ¦"},{name:"OpenInvoice",status:"Session expired"}],i=[{co:"Walmart",inv:"INV-44218",days:47},{co:"Target",inv:"INV-32910",days:31},{co:"Costco",inv:"INV-29104",days:28},{co:"Home Depot",inv:"INV-28811",days:22},{co:"Lowe's",inv:"INV-27710",days:18}];return R.jsxs("section",{className:"mx-auto mt-28 max-w-6xl px-6",children:[R.jsxs("div",{className:"text-center",children:[R.jsx("div",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-destructive/90",children:"A day in your collector's life"}),R.jsxs("h2",{className:"mx-auto mt-3 max-w-2xl text-balance text-3xl font-semibold tracking-tight md:text-4xl",children:["Six logins, forty-seven invoices,"," ",R.jsx("span",{className:"text-destructive",children:"and it's only 11am."})]}),R.jsx("p",{className:"mx-auto mt-3 max-w-xl text-muted-foreground",children:"Most of the day disappears into portals and copy-paste dunning emails â not the conversations that actually move money."})]}),R.jsxs("div",{className:"mt-10 grid grid-cols-1 gap-6 lg:grid-cols-2",children:[R.jsxs("div",{className:"rounded-2xl border border-border bg-card/40 p-5",children:[R.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Portals to log into · today"}),R.jsx("div",{className:"mt-4 grid grid-cols-2 gap-2",children:e.map((a,r)=>R.jsxs(Mt.div,{initial:{opacity:0,y:6},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.08},className:"rounded-lg border border-border bg-background/60 p-3",children:[R.jsx("div",{className:"text-sm font-semibold",children:a.name}),R.jsxs("div",{className:"mt-1 inline-flex items-center gap-1.5 text-[10px] text-muted-foreground",children:[R.jsx(Mt.span,{animate:{opacity:[.3,1,.3]},transition:{duration:1.6,repeat:1/0,delay:r*.2},className:"h-1.5 w-1.5 rounded-full bg-warning"}),a.status]})]},a.name))})]}),R.jsxs("div",{className:"rounded-2xl border border-destructive/30 bg-destructive/5 p-5",children:[R.jsxs("div",{className:"flex items-center justify-between",children:[R.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider text-destructive",children:"Overdue invoices"}),R.jsx("div",{className:"text-[11px] font-semibold text-destructive",children:"47 open"})]}),R.jsx("div",{className:"mt-4 space-y-2",children:i.map((a,r)=>
12R.jsxs(Mt.div,{initial:{opacity:0,x:8},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.2+r*.1},className:"flex items-center justify-between rounded-lg border border-destructive/20 bg-background/40 px-3 py-2",children:[R.jsxs("div",{children:[R.jsx("div",{className:"text-sm font-semibold",children:a.co}),R.jsx("div",{className:"text-[10px] text-muted-foreground",children:a.inv})]}),R.jsxs("span",{className:"rounded-full bg-destructive/15 px-2 py-0.5 text-[10px] font-semibold text-destructive",children:[a.days,"d late"]})]},a.inv))}),R.jsx("div",{className:"mt-4 text-center text-[11px] font-medium text-destructive",children:"+ 42 more · 23 dunning emails to write"})]})]})]})}function sN(){const e=[{name:"Cass",ok:!0},{name:"AlchemyTMS",ok:!0},{name:"Uber Freight",ok:!1},{name:"E2Open",ok:!0}],i=[{co:"Walmart Logistics",amt:"$48,210",days:47,last:"Email · 3d ago",action:"Call CFO â Karen R.",tone:"destructive"},{co:"Target Distribution",amt:"$31,055",days:31,last:"Auto-email · 1d ago",action:"Send final notice",tone:"warning"},{co:"Costco Wholesale",amt:"$22,910",days:28,last:"Auto-emailingâ¦",action:"â",tone:"live"},{co:"Home Depot",amt:"$18,400",days:22,last:"Statement · 2d ago",action:"Escalate to AR Mgr",tone:"accent"}];return R.jsxs("section",{className:"relative mx-auto mt-28 max-w-6xl px-6",children:[R.jsxs("div",{className:"mb-8 max-w-2xl",children:[R.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-accent/40 bg-accent/10 px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-accent",children:[R.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-accent"}),"Collector Work Queue"]}),R.jsxs("h2",{className:"mt-4 text-balance text-3xl font-semibold tracking-tight md:text-4xl",children:["One queue."," ",R.jsx("span",{className:"text-gradient",children:"Everything you need to act."})]}),R.jsx("p",{className:"mt-3 text-muted-foreground",children:"AI handles the routine. Your collectors open one screen â already ranked, with context and the next best action."})]}),R.jsxs("div",{className:"overflow-hidden rounded-2xl border border-border bg-background/80 shadow-2xl",children:[R.jsxs("div",{className:"flex items-center gap-1.5 border-b border-border bg-background/60 px-3 py-2",children:[R.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-destructive/60"}),R.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-warning/60"}),R.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-success/60"}),R.jsx("span",{className:"ml-3 text-[10px] text-muted-foreground",children:"app.lighthouz.ai/collections"})]}),R.jsxs("div",{className:"grid grid-cols-1 gap-4 p-4 md:p-6 lg:grid-cols-[1.6fr_1fr]",children:[R.jsxs("div",{className:"space-y-3",children:[R.jsxs("div",{className:"rounded-xl border border-border bg-card/40 p-3",children:[R.jsxs("div",{className:"flex items-center justify-between",children:[R.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Portal monitor"}),R.jsxs(Mt.span,{animate:{opacity:[.5,1,.5]},transition:{duration:1.6,repeat:1/0},className:"inline-flex items-center gap-1 text-[10px] font-medium text-success",children:[R.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-success"}),"24/7"]})]}),R.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5",children:e.map((a,r)=>R.jsxs(Mt.span,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:r*.08},className:`inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium ${a.ok?"bg-success/15 text-success":"bg-accent/15 text-accent"}`,children:[a.ok?R.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-success"}):R.jsx(Mt.span,{animate:{opacity:[.4,1,.4]},transition:{duration:1.2,repeat:1/0},className:"h-1.5 w-1.5 rounded-full bg-accent"}),a.name,!a.ok&&" · syncing"]},a.name))})]}),R.jsxs("div",{className:"rounded-xl border border-border bg-card/40",children:[R.jsxs("div",{className:"flex items-center justify-between border-b border-border px-3 py-2",children:[R.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Prioritized queue · today"}),R.jsx("div",{className:"text-[10px] text-muted-foreground",children:"4 of 47 surfaced"})]}),R.jsx("div",{className:"divide-y divide-border",children:i.map((a,r)=>
12R.jsxs(Mt.div,{initial:{opacity:0,x:12},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-40px"},transition:{delay:.2+r*.12},className:"grid grid-cols-[1.4fr_1fr_1.2fr] items-center gap-3 px-3 py-3",children:[R.jsxs("div",{children:[R.jsx("div",{className:"text-[12px] font-semibold",children:a.co}),R.jsxs("div",{className:"text-[10px] text-muted-foreground",children:[a.amt," · ",a.days,"d late"]})]}),R.jsx("div",{className:"text-[10px] text-muted-foreground",children:a.tone==="live"?R.jsx(Mt.span,{animate:{opacity:[.5,1,.5]},transition:{duration:1.4,repeat:1/0},className:"text-accent",children:a.last}):a.last}),R.jsx("div",{className:"flex justify-end",children:a.action!=="â"?R.jsx("span",{className:`inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-semibold ${a.tone==="destructive"?"bg-destructive/15 text-destructive":a.tone==="warning"?"bg-warning/15 text-warning":"bg-accent/15 text-accent"}`,children:a.action}):R.jsx("span",{className:"text-[10px] text-muted-foreground",children:"AI handling"})})]},a.co))})]})]}),R.jsxs(Mt.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-xl border border-accent/30 bg-accent/5 p-4",children:[R.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-wider text-accent",children:"Trained on your SOP"}),R.jsx("ul",{className:"mt-3 space-y-2.5 text-[12px]",children:[["Tone","Firm-friendly"],["Cadence","7 / 14 / 21 days"],["Channels","Email · Portal · Phone"],["Pause if","Human reply detected"],["Escalate at","30 days · $25k+"]].map(([a,r])=>R.jsxs("li",{className:"flex items-center justify-between gap-2 border-b border-border/60 pb-2 last:border-0",children:[R.jsx("span",{className:"text-muted-foreground",children:a}),R.jsx("span",{className:"font-medium",children:r})]},a))}),R.jsxs("div",{className:"mt-4 rounded-lg border border-border bg-background/60 p-3",children:[R.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Sample dunning · auto-personalised"}),R.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-foreground/80",children:'"Hi Karen â quick nudge on INV-44218 ($48,210), now 47 days past terms. Happy to jump on a call this week to clear itâ¦"'})]})]})]})]})]})}const Ux="https://landing.lighthouz.ai/wp-json/wp/v2",kx={headers:{Accept:"application/json"},cf:{cacheTtl:300,cacheEverything:!0}};function ad(e){return e.replace(/&#(\d+);/g,(i,a)=>String.fromCharCode(parseInt(a,10))).replace(/&#x([0-9a-f]+);/gi,(i,a)=>String.fromCharCode(parseInt(a,16))).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/ /g," ")}function H0(e){return e.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim()}function I0(e,i=155){if(e.length<=i)return e;const a=e.slice(0,i),r=a.lastIndexOf(" ");return(r>80?a.slice(0,r):a).trim()+"â¦"}function Hx(e){const i=e._embedded?.["wp:featuredmedia"]?.[0],r=(e._embedded?.["wp:term"]??[]).find(d=>d[0]?.taxonomy==="category"),l=ad(H0(e.excerpt?.rendered??"")),c=l&&l.length<=200?I0(l,160):I0(ad(H0(e.content?.rendered??"")),155);return{slug:e.slug,title:ad(e.title?.rendered??"").trim(),date:e.date,category:r?.[0]?.name??"Article",excerpt:c,cover:i?.source_url??null,contentHtml:e.content?.rendered??"",link:e.link}}async function Ix({perPage:e=12}={}){const{LOCAL_POSTS:i}=await ie(async()=>{const{LOCAL_POSTS:l}=await import("./localPosts-Bb1sHcQ3.js");return{LOCAL_POSTS:l}},[]),a=`${Ux}/posts?per_page=${e}&_embed=1&orderby=date&order=desc`;let r=[];try{const l=await fetch(a,kx);l.ok?r=(await l.json()).map(Hx):console.error("[WP] fetchPosts non-OK:",l.status)}catch(l){console.error("[WP] fetchPosts threw:",l)}return[...i,...r].sort((l,c)=>new Date(c.date).getTime()-new Date(l.date).getTime())}async function x3(e){const{findLocalPost:i}=await ie(async()=>{const{findLocalPost:l}=await import("./localPosts-Bb1sHcQ3.js");return{findLocalPost:l}},[]),a=i(e);if(a)return a;const r=`${Ux}/posts?slug=${encodeURIComponent(e)}&_embed=1`;try{const l=await fetch(r,kx);if(!l.ok)return null;const c=await l.json();return c.length?Hx(c[0]):null}catch(l){return console.error("[WP] fetchPostBySlug threw:",l),null}}function rN(e){try{return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}catch{return e}}const T3=()=>ie(()=>import("./resources.index-BbOxIV21.js"),__vite__mapDeps([22,1,14])),A3=Pe("/resources/")({loader:async()=>({posts:await Ix({perPage:12})}),head:({loaderData:e})=>{const i="https://lhz.lovable.app/resources",a=e?.posts??[],r={"@context":"https://schema.org","@type":"Blog",name:"Lighthouz AI Resources",url:i,publisher:{"@type":"Organization",name:"Lighthouz AI",logo:{"@type":"ImageObject",url:"https://lhz.lovable.app/favicon.png"}},blogPost:a.slice(0,20).map(l=>({"@type":"BlogPosting",headline:l.title,url:`https://lhz.lovable.app/resources/${l.slug}`,datePublished:l.date,image:l.cover??void 0,description:l.excerpt}))};return{meta:[{title:"Resources â Freight bill audit, AR automation & collections insights"},{name:"description",content:"Guides, case studies, and product updates on freight bill audit, AR automation, and collections automation for freight brokers."},{name:"robots",content:"index,follow,max-image-preview:large,max-snippet:-1"},{property:"og:title",content:"Lighthouz AI Resources â AP/AR insights for freight brokers"},{property:"og:description",content:"Blog, case studies, and product updates on freight bill audit, AR automation, and collections automation."},{property:"og:url",content:i},{property:"og:type",content:"website"},{property:"og:site_name",content:"Lighthouz AI"}],links:[{rel:"canonical",href:i}],scripts:[{type:"application/ld+json",children:JSON.stringify(r)}]}},component:fe(T3,"component")}),w3=()=>ie(()=>import("./resources._slug-CkqG20fP.js"),__vite__mapDeps([23,1])),E3=()=>ie(()=>import("./resources._slug-BSo_Ls-Y.js"),__vite__mapDeps([24,1,12])),R3=Pe("/resources/$slug")({loader:async({params:e})=>{const[i,a]=await Promise.all([x3(e.slug),Ix({perPage:6})]);if(!i)throw Zl();const r=a.filter(l=>l.slug!==i.slug).slice(0,2);return{post:i,related:r}},head:({params:e,loaderData:i})=>{const a=i?.post;if(!a)return{meta:[{title:"Article â Lighthouz AI"}]};const r=`${a.title} â Lighthouz AI`,l=`https://lhz.lovable.app/resources/${e.slug}`,d={"@context":"https://schema.org","@type":"Article",headline:a.title,de
12scription:a.excerpt,image:a.cover?[a.cover]:void 0,datePublished:a.date,dateModified:a.date,articleSection:a.category,author:{"@type":"Person",name:"Sonali Pattnaik"},publisher:{"@type":"Organization",name:"Lighthouz AI",logo:{"@type":"ImageObject",url:"https://lhz.lovable.app/favicon.png"}},mainEntityOfPage:{"@type":"WebPage","@id":l}},h={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://lhz.lovable.app/"},{"@type":"ListItem",position:2,name:"Resources",item:"https://lhz.lovable.app/resources"},{"@type":"ListItem",position:3,name:a.title,item:l}]};return{meta:[{title:r},{name:"description",content:a.excerpt},{name:"author",content:"Sonali Pattnaik"},{name:"robots",content:"index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1"},{property:"og:title",content:r},{property:"og:description",content:a.excerpt},{property:"og:url",content:l},{property:"og:type",content:"article"},{property:"og:site_name",content:"Lighthouz AI"},{property:"article:published_time",content:a.date},{property:"article:section",content:a.category},{property:"article:author",content:"Sonali Pattnaik"},...a.cover?[{property:"og:image",content:a.cover}]:[],{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:r},{name:"twitter:description",content:a.excerpt},...a.cover?[{name:"twitter:image",content:a.cover}]:[]],links:[{rel:"canonical",href:l}],scripts:[{type:"application/ld+json",children:JSON.stringify(d)},{type:"application/ld+json",children:JSON.stringify(h)}]}},component:fe(E3,"component"),notFoundComponent:fe(w3,"notFoundComponent")}),_3=k2.update({id:"/tai",path:"/tai",getParentRoute:()=>Xe}),C3=I2.update({id:"/syfan",path:"/syfan",getParentRoute:()=>Xe}),M3=Y2.update({id:"/security",path:"/security",getParentRoute:()=>Xe}),Th=F2.update({id:"/resources",path:"/resources",getParentRoute:()=>Xe}),D3=K2.update({id:"/privacy",path:"/privacy",getParentRoute:()=>Xe}),L3=Z2.update({id:"/contact",path:"/contact",getParentRoute:()=>Xe}),O3=$2.update({id:"/arrive",path:"/arrive",getParentRoute:()=>Xe}),N3=tC.update({id:"/about",path:"/about",getParentRoute:()=>Xe}),j3=nC.update({id:"/",path:"/",getParentRoute:()=>Xe}),z3=lC.update({id:"/shipment-types/$type",path:"/shipment-types/$type",getParentRoute:()=>Xe}),P3=g3.update({id:"/products/$slug",path:"/products/$slug",getParentRoute:()=>Xe}),V3=S3.update({id:"/modules/$module",path:"/modules/$module",getParentRoute:()=>Xe}),B3=A3.update({id:"/",path:"/",getParentRoute:()=>Th}),U3=R3.update({id:"/$slug",path:"/$slug",getParentRoute:()=>Th}),k3={ResourcesSlugRoute:U3,ResourcesIndexRoute:B3},H3=Th._addFileChildren(k3),I3={IndexRoute:j3,AboutRoute:N3,ArriveRoute:O3,ContactRoute:L3,PrivacyRoute:D3,ResourcesRoute:H3,SecurityRoute:M3,SyfanRoute:C3,TaiRoute:_3,ModulesModuleRoute:V3,ProductsSlugRoute:P3,ShipmentTypesTypeRoute:z3},q3=Xe._addFileChildren(I3);function Y3({error:e,reset:i}){const a=Se();return R.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:R.jsxs("div",{className:"max-w-md text-center",children:[R.jsx("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10",children:R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-8 w-8 text-destructive",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})})}),R.jsx("h1",{className:"text-2xl font-bold tracking-tight text-foreground",children:"Something went wrong"}),R.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"An unexpected error occurred. Please try again."}),!1,R.jsxs("div",{className:"mt-6 flex items-center justify-center gap-3",children:[R.jsx("button",{onClick:()=>{a.invalidate(),i()},className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Try again"}),R.jsx("a",{href:"/",className:"inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent",children:"Go home"})]})]})})}const G3=()=>T2({routeTree:q3,context:{},scrollRestoration:!0,defaultPreloadStaleTime:0,defaultErrorComponent:Y3});async function F3(){const e=await G3();let i;return i=[],window.__TSS_START_OPTIONS__={serializationAdapters:i},i.push(__),e.options.serializationAdapters&&i.push(...e.options.serializationAdapters),e.update({basepath:"",serializationAdapters:i}
12),e.stores.matchesId.get().length||await M_(e),e}async function X3(){const e=await F3();return window.$_TSR?.h(),e}var sd;function K3(){return sd||(sd=X3()),R.jsx(N_,{promise:sd,children:e=>R.jsx(E2,{router:e})})}K.startTransition(()=>{vA.hydrateRoot(document,R.jsx(K.StrictMode,{children:R.jsx(K3,{})}))});export{ne as $,ql as A,Mt as B,y3 as C,aC as D,g3 as E,iC as F,d3 as G,$D as H,aN as I,eN as J,iN as K,Kd as L,Rx as M,nN as N,Jb as O,sN as P,S3 as Q,lC as R,aL as S,h3 as T,ps as U,ID as V,Q3 as W,A3 as X,rN as Y,R3 as Z,Se as _,rM as a,ra as a0,fC as b,se as c,Oi as d,Uv as e,Bt as f,KS as g,It as h,vC as i,R as j,kl as k,be as l,vs as m,lM as n,JC as o,oM as p,NS as q,K as r,Fe as s,Br as t,uC as u,ph as v,jD as w,VD as x,RL as y,qS as z};
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.