vendor: 19,533 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-BMiAqoc1.js","assets/use-switch-locale-CyBtt1zp.js","assets/_-_locale_-Dg5W5xH_.js","assets/SectionLabel-DN5Q8aan.js","assets/PlatformLink-BsKAdpHo.js","assets/terms-BvtLErSX.js","assets/LegalPage-B44sNRKY.js","assets/privacy-Bi4j3NwT.js","assets/for-teachers-ZLK1ErCl.js","assets/for-parents-BTsyJfzz.js","assets/faq-CDAZE1mm.js"])))=>i.map(i=>d[i]); 2var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var ee=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function ne(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function re(e,t){return ne(e.type,t,e.props)}function w(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ie(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ae=/\/+/g;function oe(e,t){return typeof e==`object`&&e&&e.key!=null?ie(``+e.key):t.toString(36)}function se(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(S,S):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ce(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,ce(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+oe(e,0):a,ee(o)?(i=``,c!=null&&(i=c.replace(ae,`$&/`)+`/`),ce(o,r,i,``,function(e){return e})):o!=null&&(w(o)&&(o=re(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ae,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(ee(e))for(var u=0;u<e.length;u++)a=e[u],s=l+oe(a,u),c+=ce(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+oe(a,u++),c+=ce(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ce(se(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function le(e,t,n){if(e==null)return e;var r=[],i=0;return ce(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ue(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var E=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},D={map:le,forEach:function(e,t,n){le(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return le(e,function(){t++}),t},toArray:function(e){return le(e,function(e){return e})||[]},only:function(e){if(!w(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=D,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!te.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return ne(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)te.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return ne(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=w,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ue}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=C.T,n={};C.T=n;try{var r=e(),i=C.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(S,E)}catch(e){E(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),C.T=t}},e.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},e.use=function(e){return C.H.use(e)},e.useActionState=function(e,t,n){return C.H.useActionState(e,t,n)},e.useCallback=function(e,t){return C.H.useCallback(e,t)},e.useContext=function(e){return C.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return C.H.useEffect(e,t)},e.useEffectEvent=function(e){return C.H.useEffectEvent(e)},e.useId=function(){return C.H.useId()},e.useImperativeHandle=function(e,t,n){return C.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return C.H.useMemo(e,t)},e.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return C.H.useReducer(e,t,n)},e.useRef=function(e){return C.H.useRef(e)},e.useState=function(e){return C.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return C.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return C.H.useTransition()},e.version=`19.2.7`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,w());else{var t=n(l);t!==null&&oe(x,t.startTime-e)}}var ee=!1,S=-1,C=5,te=-1;function ne(){return g?!0:!(e.unstable_now()-te<C)}function re(){if(g=!1,ee){var t=e.unstable_now();te=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(S),S=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ne());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&oe(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?w():ee=!1}}}var w;if(typeof y==`function`)w=function(){y(re)};else if(typeof MessageChannel<`u`){var ie=new MessageChannel,ae=ie.port2;ie.port1.onmessage=re,w=function(){ae.postMessage(null)}}else w=function(){_(re,0)};function oe(t,n){S=_(function(){t(e.unstable_now())},n)}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(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(S),S=-1):h=!0,oe(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,w()))),r},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.7`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),ee=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),C=Symbol.for(`react.forward_ref`),te=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),w=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function se(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var ce=Symbol.for(`react.client.reference`);function le(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case te:return`Suspense`;case ne:return`SuspenseList`;case ie:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case S:return e.displayName||`Context`;case ee:return(e._context.displayName||`Context`)+`.Consumer`;case C:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?le(e.type)||`Memo`:t;case w:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}var ue=Array.isArray,E=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=[],pe=-1;function me(e){return{current:e}}function O(e){0>pe||(e.current=fe[pe],fe[pe]=null,pe--)}function k(e,t){pe++,fe[pe]=e.current,e.current=t}var he=me(null),ge=me(null),_e=me(null),ve=me(null);function ye(e,t){switch(k(_e,t),k(ge,e),k(he,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Hd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Hd(t),e=Ud(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}O(he),k(he,e)}function be(){O(he),O(ge),O(_e)}
vendor: 13,961 bytes, lines 2-9
2function xe(e){e.memoizedState!==null&&k(ve,e);var t=he.current,n=Ud(t,e.type);t!==n&&(k(ge,e),k(he,n))}function Se(e){ge.current===e&&(O(he),O(ge)),ve.current===e&&(O(ve),$f._currentValue=de)}var Ce,we;function Te(e){if(Ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ce=t&&t[1]||``,we=-1<e.stack.indexOf(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+Ce+e+we}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 5`),l=s.split(` 6`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 7`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Te(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return Te(e.type);case 16:return Te(`Lazy`);case 13:return e.child!==t&&t!==null?Te(`Suspense Fallback`):Te(`Suspense`);case 19:return Te(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Te(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 8Error generating stack: `+e.message+` 9`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,Ne=t.unstable_shouldYield,Pe=t.unstable_requestPaint,Fe=t.unstable_now,Ie=t.unstable_getCurrentPriorityLevel,Le=t.unstable_ImmediatePriority,Re=t.unstable_UserBlockingPriority,ze=t.unstable_NormalPriority,Be=t.unstable_LowPriority,Ve=t.unstable_IdlePriority,He=t.log,Ue=t.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Xe,Je=Math.log,Ye=Math.LN2;function Xe(e){return e>>>=0,e===0?32:31-(Je(e)/Ye|0)|0}var Ze=256,Qe=262144,$e=4194304;function et(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function tt(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=et(n))):i=et(o):i=et(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=et(n))):i=et(o)):i=et(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function nt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 it(){var e=$e;return $e<<=1,!($e&62914560)&&($e=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-qe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=D.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function mt(e,t){var n=D.p;try{return D.p=e,t()}finally{D.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,Ct=`__reactMarker$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[yt],delete e[bt],delete e[xt]}function Tt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[gt])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[Ct]=!0}var At=new Set,jt={};function Mt(e,t){Nt(e,t),Nt(e+`Capture`,t)}function Nt(e,t){for(jt[e]=t,e=0;e<t.length;e++)At.add(t[e])}var Pt=RegExp(`^[: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][: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]*$`),Ft={},It={};function Lt(e){return Ae.call(It,e)?!0:Ae.call(Ft,e)?!1:Pt.test(e)?It[e]=!0:(Ft[e]=!0,!1)}function Rt(e,t,n){if(Lt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function zt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Bt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wt(e){if(!e._valueTracker){var t=Ht(e)?`checked`:`value`;e._valueTracker=Ut(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Vt(s):e.removeAttribute(`name`)}function Xt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Wt(e);return}n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Wt(e)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Vt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ue(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=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(` `));function rn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&rn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(e){if(e.indexOf(`-`)===-1)return!1;switch(e){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 sn=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`],[`
9clipPath`,`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`]]),cn=/^[\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 ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function un(){}var dn=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pn=null,mn=null;function hn(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[_t]||null;if(!a)throw Error(i(90));Yt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var gn=!1;function _n(e,t,n){if(gn)return e(t,n);gn=!0;try{return e(t)}finally{if(gn=!1,(pn!==null||mn!==null)&&(xu(),pn&&(t=pn,e=mn,mn=pn=null,hn(t),e)))for(t=0;t<e.length;t++)hn(e[t])}}function vn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var yn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),bn=!1;if(yn)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){bn=!0}}),window.addEventListener(`test`,xn,xn),window.removeEventListener(`test`,xn,xn)}catch{bn=!1}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return wn=i.slice(e,1<r?1-r:void 0)}function En(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dn(){return!0}function On(){return!1}function kn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Dn:On,this.isPropagationStopped=On,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jn=kn(An),Mn=m({},An,{view:0,detail:0}),Nn=kn(Mn),Pn,Fn,In,Ln=m({},Mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==In&&(In&&e.type===`mousemove`?(Pn=e.screenX-In.screenX,Fn=e.screenY-In.screenY):Fn=Pn=0,In=e),Pn)},movementY:function(e){return`movementY`in e?e.movementY:Fn}}),Rn=kn(Ln),zn=kn(m({},Ln,{dataTransfer:0})),Bn=kn(m({},Mn,{relatedTarget:0})),Vn=kn(m({},An,{animationName:0,elapsedTime:0,pseudoElement:0})),Hn=kn(m({},An,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Un=kn(m({},An,{data:0})),Wn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Gn={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:`F
95`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Kn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kn[e])?!!t[e]:!1}function Jn(){return qn}var Yn=kn(m({},Mn,{key:function(e){if(e.key){var t=Wn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Gn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Xn=kn(m({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=kn(m({},Mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jn})),Qn=kn(m({},An,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=kn(m({},Ln,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),er=kn(m({},An,{newState:0,oldState:0})),tr=[9,13,27,32],nr=yn&&`CompositionEvent`in window,rr=null;yn&&`documentMode`in document&&(rr=document.documentMode);var ir=yn&&`TextEvent`in window&&!rr,ar=yn&&(!nr||rr&&8<rr&&11>=rr),A=` `,or=!1;function sr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var j=!1;function lr(e,t){switch(e){case`compositionend`:return cr(t);case`keypress`:return t.which===32?(or=!0,A):null;case`textInput`:return e=t.data,e===A&&or?null:e;default:return null}}function ur(e,t){if(j)return e===`compositionend`||!nr&&sr(e,t)?(e=Tn(),wn=Cn=Sn=null,j=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return ar&&t.locale!==`ko`?null:t.data;default:return null}}var dr={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 fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!dr[e.type]:t===`textarea`}function pr(e,t,n,r){pn?mn?mn.push(r):mn=[r]:pn=r,t=Dd(t,`onChange`),0<t.length&&(n=new jn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var mr=null,hr=null;function gr(e){bd(e,0)}function _r(e){if(Gt(Dt(e)))return e}function vr(e,t){if(e===`change`)return t}var yr=!1;if(yn){var br;if(yn){var xr=`oninput`in document;if(!xr){var Sr=document.createElement(`div`);Sr.setAttribute(`oninput`,`return;`),xr=typeof Sr.oninput==`function`}br=xr}else br=!1;yr=br&&(!document.documentMode||9<document.documentMode)}function Cr(){mr&&(mr.detachEvent(`onpropertychange`,wr),hr=mr=null)}function wr(e){if(e.propertyName===`value`&&_r(hr)){var t=[];pr(t,hr,e,fn(e)),_n(gr,t)}}function Tr(e,t,n){e===`focusin`?(Cr(),mr=t,hr=n,mr.attachEvent(`onpropertychange`,wr)):e===`focusout`&&Cr()}function Er(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return _r(hr)}function Dr(e,t){if(e===`click`)return _r(t)}function Or(e,t){if(e===`input`||e===`change`)return _r(t)}function kr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Ar=typeof Object.is==`function`?Object.is:kr;function jr(e,t){if(Ar(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ae.call(t,i)||!Ar(e[i],t[i]))return!1}return!0}function Mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=Mr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Mr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Lr=yn&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==Kt(r)||(r=Rr,`selectionStart`in r&&Ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 73,788 bytes, line 9
9sNode:r.focusNode,focusOffset:r.focusOffset}),Br&&jr(Br,r)||(Br=r,r=Dd(zr,`onSelect`),0<r.length&&(t=new jn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};yn&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`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(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),Mt(t,[e])}var ii=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ai=[],oi=0,si=0;function ci(){for(var e=oi,t=si=oi=0;t<e;){var n=ai[t];ai[t++]=null;var r=ai[t];ai[t++]=null;var i=ai[t];ai[t++]=null;var a=ai[t];if(ai[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&fi(n,i,a)}}function li(e,t,n,r){ai[oi++]=e,ai[oi++]=t,ai[oi++]=n,ai[oi++]=r,si|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ui(e,t,n,r){return li(e,t,n,r),pi(e)}function di(e,t){return li(e,null,null,t),pi(e)}function fi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function pi(e){if(50<fu)throw fu=0,pu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var mi={};function hi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gi(e,t,n,r){return new hi(e,t,n,r)}function _i(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vi(e,t){var n=e.alternate;return n===null?(n=gi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function yi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function bi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)_i(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,he.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ie:return e=gi(31,n,t,a),e.elementType=ie,e.lanes=o,e;case y:return xi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=gi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case te:return e=gi(13,n,t,a),e.elementType=te,e.lanes=o,e;case ne:return e=gi(19,n,t,a),e.elementType=ne,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case S:s=10;break a;case ee:s=9;break a;case C:s=11;break a;case re:s=14;break a;case w:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=gi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function xi(e,t,n,r){return e=gi(7,e,r,t),e.lanes=n,e}function Si(e,t,n){return e=gi(6,e,null,t),e.lanes=n,e}function Ci(e){var t=gi(18,null,null,0);return t.stateNode=e,t}function wi(e,t,n){return t=gi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ti=new WeakMap;function Ei(e,t){if(typeof e==`object`&&e){var n=Ti.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ti.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var Di=[],Oi=0,ki=null,Ai=0,ji=[],Mi=0,Ni=null,Pi=1,Fi=``;function Ii(e,t){Di[Oi++]=Ai,Di[Oi++]=ki,ki=e,Ai=t}function Li(e,t,n){ji[Mi++]=Pi,ji[Mi++]=Fi,ji[Mi++]=Ni,Ni=e;var r=Pi;e=Fi;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Pi=1<<32-qe(t)+i|n<<i|r,Fi=a+e}else Pi=1<<a|n<<i|r,Fi=e}function Ri(e){e.return!==null&&(Ii(e,1),Li(e,1,0))}function zi(e){for(;e===ki;)ki=Di[--Oi],Di[Oi]=null,Ai=Di[--Oi],Di[Oi]=null;for(;e===Ni;)Ni=ji[--Mi],ji[Mi]=null,Fi=ji[--Mi],ji[Mi]=null,Pi=ji[--Mi],ji[Mi]=null}function Bi(e,t){ji[Mi++]=Pi,ji[Mi++]=Fi,ji[Mi++]=Ni,Pi=t.id,Fi=t.overflow,Ni=e}var Vi=null,M=null,N=!1,Hi=null,Ui=!1,Wi=Error(i(519));function Gi(e){throw Zi(Ei(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Wi}function Ki(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<vd.length;n++)Q(vd[n],t);break;case`source`:Q(`error`,t);break;case`img`:case`image`:case`link`:Q(`error`,t),Q(`load`,t);break;case`details`:Q(`toggle`,t);break;case`input`:Q(`invalid`,t),Xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),en(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Nd(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=un),t=!0):t=!1,t||Gi(e,!0)}function qi(e){for(Vi=e.return;Vi;)switch(Vi.tag){case 5:case 31:case 13:Ui=!1;return;case 27:case 3:Ui=!0;return;default:Vi=Vi.return}}function Ji(e){if(e!==Vi)return!1;if(!N)return qi(e),N=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Wd(e.type,e.memoizedProps)),n=!n),n&&M&&Gi(e),qi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=df(e)}else t===27?(t=M,Qd(e.type)?(e=uf,uf=null,M=e):M=t):M=Vi?lf(e.stateNode.nextSibling):null;return!0}function Yi(){M=Vi=null,N=!1}function Xi(){var e=Hi;return e!==null&&(Ql===null?Ql=e:Ql.push.apply(Ql,e),Hi=null),e}function Zi(e){Hi===null?Hi=[e]:Hi.push(e)}var Qi=me(null),$i=null,ea=null;function ta(e,t,n){k(Qi,t._currentValue),t._currentValue=n}function na(e){e._currentValue=Qi.current,O(Qi)}function ra(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ia(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ra(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ra(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function aa(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Ar(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ve.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}a=a.return}e!==null&&ia(t,e,n,r),t.flags|=262144}function oa(e){for(e=e.firstContext;e!==null;){if(!Ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sa(e){$i=e,ea=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ca(e){return ua($i,e)}function la(e,t){return $i===null&&sa(e),ua(e,t)}function ua(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ea===null){if(e===null)throw Error(i(308));ea=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ea=ea.next=t;return n}var da=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},fa=t.unstable_scheduleCallback,pa=t.unstable_NormalPriority,ma={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ha(){return{controller:new da,data:new Map,refCount:0}}function ga(e){e.refCount--,e.refCount===0&&fa(pa,function(){e.controller.abort()})}var P=null,_a=0,va=0,ya=null;function ba(e,t){if(P===null){var n=P=[];_a=0,va=fd(),ya={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return _a++,t.then(xa,xa),t}function xa(){if(--_a===0&&P!==null){ya!==null&&(ya.status=`fulfilled`);var e=P;P=null,va=0,ya=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Sa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Ca=E.S;E.S=function(e,t){tu=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&ba(e,t),Ca!==null&&Ca(e,t)};var wa=me(null);function Ta(){var e=wa.current;return e===null?q.pooledCache:e}function Ea(e,t){t===null?k(wa,wa.current):k(wa,t.pool)}function Da(){var e=Ta();return e===null?null:{parent:ma._currentValue,pool:e}}var Oa=Error(i(460)),ka=Error(i(474)),Aa=Error(i(542)),ja={then:function(){}};function Ma(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Na(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(un,un),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,La(e),e;default:if(typeof t.status==`string`)t.then(un,un);else{if(e=q,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,La(e),e}throw Fa=t,Oa}}function Pa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Fa=e,Oa):e}}var Fa=null;function Ia(){if(Fa===null)throw Error(i(459));var e=Fa;return Fa=null,e}function La(e){if(e===Oa||e===Aa)throw Error(i(483))}var Ra=null,za=0;function Ba(e){var t=za;return za+=1,Ra===null&&(Ra=[]),Na(Ra,e,t)}function Va(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ha(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ua(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=vi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Si(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===w&&Pa(i)===t.type)?(t=a(t,n.props),Va(t,n),t.return=e,t):(t=bi(n.type,n.key,n.props,null,e.mode,r),Va(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=wi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=xi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Si(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=bi(t.type,t.key,t.props,null,e.mode,n),Va(n,t),n.return=e,n;case v:return t=wi(t,e.mode,n),t.return=e,t;case w:return t=Pa(t),f(e,t,n)}if(ue(t)||se(t))return t=xi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ba(t),n);if(t.$$typeof===S)return f(e,la(e,t),n);Ha(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case w:return n=Pa(n),p(e,t,n,r)}if(ue(n)||se(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ba(n),r);if(n.$$typeof===S)return p(e,t,la(e,n),r);Ha(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case w:return r=Pa(r),m(e,t,n,r,i)}if(ue(r)||se(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ba(r),i);if(r.$$typeof===S)return m(e,t,n,la(t,r),i);Ha(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),N&&Ii(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return N&&Ii(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),N&&Ii(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),N&&Ii(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return N&&Ii(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),N&&Ii(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===w&&Pa(l)===r.type){n(e,r.sibling),c=a(r,o.props),Va(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=xi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=bi(o.type,o.key,o.props,null,e.mode,c),Va(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=wi(o,e.mode,c),c.return=e,e=c}return s(e);case w:return o=Pa(o),b(e,r,o,c)}if(ue(o))return h(e,r,o,c);if(se(o)){if(l=se(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ba(o),c);if(o.$$typeof===S)return b(e,r,la(e,o),c);Ha(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Si(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{za=0;var i=b(e,t,n,r);return Ra=null,i}catch(t){if(t===Oa||t===Aa)throw t;var a=gi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Wa=Ua(!0),Ga=Ua(!1),Ka=!1;function qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ja(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=pi(e),fi(e,null,n),t}return li(e,r,t,n),pi(e)}function Za(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}function Qa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var $a=!1;function eo(){if($a){var e=ya;if(e!==null)throw e}}function to(e,t,n,r){$a=!1;var i=e.updateQueue;Ka=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===va&&($a=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ka=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function no(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function ro(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)no(n[e],t)}var io=me(null),ao=me(0);function oo(e,t){e=Wl,k(ao,e),k(io,t),Wl=e|t.baseLanes}function so(){k(ao,Wl),k(io,io.current)}function co(){Wl=ao.current,O(io),O(ao)}var lo=me(null),uo=null;function fo(e){var t=e.alternate;k(_o,_o.current&1),k(lo,e),uo===null&&(t===null||io.current!==null||t.memoizedState!==null)&&(uo=e)}function po(e){k(_o,_o.current),k(lo,e),uo===null&&(uo=e)}function mo(e){e.tag===22?(k(_o,_o.current),k(lo,e),uo===null&&(uo=e)):ho(e)}function ho(){k(_o,_o.current),k(lo,lo.current)}function go(e){O(lo),uo===e&&(uo=null),O(_o)}var _o=me(0);function F(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vo=0,I=null,L=null,yo=null,bo=!1,xo=!1,So=!1,Co=0,wo=0,To=null,Eo=0;function R(){throw Error(i(321))}function Do(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ar(e[n],t[n]))return!1;return!0}function Oo(e,t,n,r,i,a){return vo=a,I=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Hs:Us,So=!1,a=n(r,i),So=!1,xo&&(a=Ao(t,n,r,i)),ko(e),a}function ko(e){E.H=Vs;var t=L!==null&&L.next!==null;if(vo=0,yo=L=I=null,bo=!1,wo=0,To=null,t)throw Error(i(300));e===null||U||(e=e.dependencies,e!==null&&oa(e)&&(U=!0))}function Ao(e,t,n,r){I=e;var a=0;do{if(xo&&(To=null),wo=0,xo=!1,25<=a)throw Error(i(301));if(a+=1,yo=L=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}E.H=Ws,o=t(n,r)}while(xo);return o}function jo(){var e=E.H,t=e.useState()[0];return t=typeof t.then==`function`?Ro(t):t,e=e.useState()[0],(L===null?null:L.memoizedState)!==e&&(I.flags|=1024),t}function Mo(){var e=Co!==0;return Co=0,e}function No(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Po(e){if(bo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}bo=!1}vo=0,yo=L=I=null,xo=!1,wo=Co=0,To=null}function Fo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yo===null?I.memoizedState=yo=e:yo=yo.next=e,yo}function Io(){if(L===null){var e=I.alternate;e=e===null?null:e.memoizedState}else e=L.next;var t=yo===null?I.memoizedState:yo.next;if(t!==null)yo=t,L=e;else{if(e===null)throw I.alternate===null?Error(i(467)):Error(i(310));L=e,e={memoizedState:L.memoizedState,baseState:L.baseState,baseQueue:L.baseQueue,queue:L.queue,next:null},yo===null?I.memoizedState=yo=e:yo=yo.next=e}return yo}function Lo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ro(e){var t=wo;return wo+=1,To===null&&(To=[]),e=Na(To,e,t),t=I,(yo===null?t.memoizedState:yo.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Hs:Us),e}function zo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ro(e);if(e.$$typeof===S)return ca(e)}throw Error(i(438,String(e)))}function Bo(e){var t=null,n=I.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=I.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Lo(),I.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ae;return t.index++,n}function Vo(e,t){return typeof t==`function`?t(e):t}function Ho(e){return Uo(Io(),L,e)}function Uo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(vo&f)===f:(Y&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===va&&(d=!0);else if((vo&p)===p){u=u.next,p===va&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,I.lanes|=p,Kl|=p;f=u.action,So&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,I.lanes|=f,Kl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Ar(o,e.memoizedState)&&(U=!0,d&&(n=ya,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Wo(e){var t=Io(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Ar(o,t.memoizedState)||(U=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Go(e,t,n){var r=I,a=Io(),o=N;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Ar((L||a).memoizedState,n);if(s&&(a.memoizedState=n,U=!0),a=a.queue,hs(Jo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||yo!==null&&yo.memoizedState.tag&1){if(r.flags|=2048,ds(9,{destroy:void 0},qo.bind(null,r,a,n,t),null),q===null)throw Error(i(349));o||vo&127||Ko(r,t,n)}return n}function Ko(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=I.updateQueue,t===null?(t=Lo(),I.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qo(e,t,n,r){t.value=n,t.getSnapshot=r,Yo(t)&&Xo(e)}function Jo(e,t,n){return n(function(){Yo(t)&&Xo(e)})}function Yo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ar(e,n)}catch{return!0}}function Xo(e){var t=di(e,2);t!==null&&gu(t,e,2)}function Zo(e){var t=Fo();if(typeof e==`function`){var n=e;if(e=n(),So){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:e},t}function Qo(e,t,n,r){return e.baseState=n,Uo(e,L,typeof r==`function`?r:Vo)}function $o(e,t,n,r,a){if(Rs(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};E.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,es(t,o)):(o.next=n.next,t.pending=n.next=o)}}function es(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=E.T,o={};E.T=o;try{var s=n(i,r),c=E.S;c!==null&&c(o,s),ts(e,t,s)}catch(n){rs(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),E.T=a}}else try{a=n(i,r),ts(e,t,a)}catch(n){rs(e,t,n)}}function ts(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){ns(e,t,n)},function(n){return rs(e,t,n)}):ns(e,t,n)}function ns(e,t,n){t.status=`fulfilled`,t.value=n,is(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,es(e,n)))}function rs(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,is(t),t=t.next;while(t!==r)}e.action=null}function is(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function as(e,t){return t}function os(e,t){if(N){var n=q.formState;if(n!==null){a:{var r=I;if(N){if(M){b:{for(var i=M,a=Ui;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){M=lf(i.nextSibling),r=i.data===`F!`;break a}}Gi(r)}r=!1}r&&(t=n[0])}}return n=Fo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:t},n.queue=r,n=Fs.bind(null,I,r),r.dispatch=n,r=Zo(!1),a=Ls.bind(null,I,!1,r.queue),r=Fo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=$o.bind(null,I,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ss(e){return cs(Io(),L,e)}function cs(e,t,n){if(t=Uo(e,t,as)[0],e=Ho(Vo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Ro(t)}catch(e){throw e===Oa?Aa:e}else r=t;t=Io();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(I.flags|=2048,ds(9,{destroy:void 0},ls.bind(null,i,n),null)),[r,a,e]}function ls(e,t){e.action=t}function us(e){var t=Io(),n=L;if(n!==null)return cs(t,n,e);Io(),t=t.memoizedState,n=Io();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ds(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=I.updateQueue,t===null&&(t=Lo(),I.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function fs(){return Io().memoizedState}function ps(e,t,n,r){var i=Fo();I.flags|=e,i.memoizedState=ds(1|t,{destroy:void 0},n,r===void 0?null:r)}function z(e,t,n,r){var i=Io();r=r===void 0?null:r;var a=i.memoizedState.inst;L!==null&&r!==null&&Do(r,L.memoizedState.deps)?i.memoizedState=ds(t,a,n,r):(I.flags|=e,i.memoizedState=ds(1|t,a,n,r))}function ms(e,t){ps(8390656,8,e,t)}function hs(e,t){z(2048,8,e,t)}function gs(e){I.flags|=4;var t=I.updateQueue;if(t===null)t=Lo(),I.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function _s(e){var t=Io().memoizedState;return gs({ref:t,nextImpl:e}),function(){if(K&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function vs(e,t){return z(4,2,e,t)}function ys(e,t){return z(4,4,e,t)}function bs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function B(e,t,n){n=n==null?null:n.concat([e]),z(4,4,bs.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Io();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Do(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Io();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Do(t,r[1]))return r[0];if(r=e(),So){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||vo&1073741824&&!(Y&261930)?e.memoizedState=t:(e.memoizedState=n,e=hu(),I.lanes|=e,Kl|=e,n)}function Ts(e,t,n,r){return Ar(n,t)?n:io.current===null?!(vo&42)||vo&1073741824&&!(Y&261930)?(U=!0,e.memoizedState=n):(e=hu(),I.lanes|=e,Kl|=e,t):(e=ws(e,n,r),Ar(e,t)||(U=!0),e)}function Es(e,t,n,r,i){var a=D.p;D.p=a!==0&&8>a?a:8;var o=E.T,s={};E.T=s,Ls(e,!1,t,n);try{var c=i(),l=E.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Is(e,t,Sa(c,r),mu(e)):Is(e,t,r,mu(e))}catch(n){Is(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{D.p=a,o!==null&&s.types!==null&&(o.types=s.types),E.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,de,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:de,baseState:de,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:de},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Is(e,t.next.queue,{},mu())}function js(){return ca($f)}function Ms(){return Io().memoizedState}function Ns(){return Io().memoizedState}function V(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Ya(n);var r=Xa(t,e,n);r!==null&&(gu(r,t,n),Za(r,t,n)),t={cache:ha()},e.payload=t;return}t=t.return}}function Ps(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Rs(e)?zs(t,n):(n=ui(e,t,n,r),n!==null&&(gu(n,e,r),Bs(n,t,r)))}function Fs(e,t,n){Is(e,t,n,mu())}function Is(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Rs(e))zs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ar(s,o))return li(e,t,i,0),q===null&&ci(),!1}catch{}if(n=ui(e,t,i,r),n!==null)return gu(n,e,r),Bs(n,t,r),!0}return!1}function Ls(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Rs(e)){if(t)throw Error(i(479))}else t=ui(e,n,r,2),t!==null&&gu(t,e,2)}function Rs(e){var t=e.alternate;return e===I||t!==null&&t===I}function zs(e,t){xo=bo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var Vs={readContext:ca,use:zo,useCallback:R,useContext:R,useEffect:R,useImperativeHandle:R,useLayoutEffect:R,useInsertionEffect:R,useMemo:R,useReducer:R,useRef:R,useState:R,useDebugValue:R,useDeferredValue:R,useTransition:R,useSyncExternalStore:R,useId:R,useHostTransitionStatus:R,useFormState:R,useActionState:R,useOptimistic:R,useMemoCache:R,useCacheRefresh:R};Vs.useEffectEvent=R;var Hs={readContext:ca,use:zo,useCallback:function(e,t){return Fo().memoizedState=[e,t===void 0?null:t],e},useContext:ca,useEffect:ms,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ps(4194308,4,bs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ps(4194308,4,e,t)},useInsertionEffect:function(e,t){ps(4,2,e,t)},useMemo:function(e,t){var n=Fo();t=t===void 0?null:t;var r=e();if(So){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Fo();if(n!==void 0){var i=n(t);if(So){Ke(!0);try{n(t)}finally{Ke(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ps.bind(null,I,e),[r.memoizedState,e]},useRef:function(e){var t=Fo();return e={current:e},t.memoizedState=e},useState:function(e){e=Zo(e);var t=e.queue,n=Fs.bind(null,I,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(Fo(),e,t)},useTransition:function(){var e=Zo(!1);return e=Es.bind(null,I,e.queue,!0,!1),Fo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=I,a=Fo();if(N){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||Ko(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ms(Jo.bind(null,r,o,e),[e]),r.flags|=2048,ds(9,{destroy:void 0},qo.bind(null,r,o,n,t),null),n},useId:function(){var e=Fo(),t=q.identifierPrefix;if(N){var n=Fi,r=Pi;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Co++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Eo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:os,useActionState:os,useOptimistic:function(e){var t=Fo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ls.bind(null,I,!0,n),n.dispatch=t,[e,t]},useMemoCache:Bo,useCacheRefresh:function(){return Fo().memoizedState=V.bind(null,I)},useEffectEvent:function(e){var t=Fo(),n={impl:e};return t.memoizedState=n,function(){if(K&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Us={readContext:ca,use:zo,useCallback:Ss,useContext:ca,useEffect:hs,useImperativeHandle:B,useInsertionEffect:vs,useLayoutEffect:ys,useMemo:Cs,useReducer:Ho,useRef:fs,useState:function(){return Ho(Vo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Io(),L.memoizedState,e,t)},useTransition:function(){var e=Ho(Vo)[0],t=Io().memoizedState;return[typeof e==`boolean`?e:Ro(e),t]},useSyncExternalStore:Go,useId:Ms,useHostTransitionStatus:js,useFormState:ss,useActionState:ss,useOptimistic:function(e,t){return Qo(Io(),L,e,t)},useMemoCache:Bo,useCacheRefresh:Ns};Us.useEffectEvent=_s;var Ws={readContext:ca,use:zo,useCallback:Ss,useContext:ca,useEffect:hs,useImperativeHandle:B,useInsertionEffect:vs,useLayoutEffect:ys,useMemo:Cs,useReducer:Wo,useRef:fs,useState:function(){return Wo(Vo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Io();return L===null?ws(n,e,t):Ts(n,L.memoizedState,e,t)},useTransition:function(){var e=Wo(Vo)[0],t=Io().memoizedState;return[typeof e==`boolean`?e:Ro(e),t]},useSyncExternalStore:Go,useId:Ms,useHostTransitionStatus:js,useFormState:us,useActionState:us,useOptimistic:function(e,t){var n=Io();return L===null?(n.baseState=e,[e,n.queue.dispatch]):Qo(n,L,e,t)},useMemoCache:Bo,useCacheRefresh:Ns};Ws.useEffectEvent=_s;function Gs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ks={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ya(r);i.payload=t,n!=null&&(i.callback=n),t=Xa(e,i,r),t!==null&&(gu(t,e,r),Za(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ya(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xa(e,i,r),t!==null&&(gu(t,e,r),Za(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mu(),r=Ya(n);r.tag=2,t!=null&&(r.callback=t),t=Xa(e,r,n),t!==null&&(gu(t,e,n),Za(t,e,n))}};function qs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!jr(n,r)||!jr(i,a):!0}function Js(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ks.enqueueReplaceState(t,t.state,null)}function Ys(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Xs(e){ii(e)}function Zs(e){console.error(e)}function Qs(e){ii(e)}function $s(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ec(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function tc(e,t,n){return n=Ya(n),n.tag=3,n.payload={element:null},n.callback=function(){$s(e,t)},n}function nc(e){return e=Ya(e),e.tag=3,e}function H(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){ec(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){ec(t,n,r),typeof i!=`function`&&(iu===null?iu=new Set([this]):iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&aa(t,n,a,!0),n=lo.current,n!==null){switch(n.tag){case 31:case 13:return uo===null?Ou():n.alternate===null&&Gl===0&&(Gl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===ja?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ku(e,r,a)),!1;case 22:return n.flags|=65536,r===ja?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ku(e,r,a)),!1}throw Error(i(435,n.tag))}return Ku(e,r,a),Ou(),!1}if(N)return t=lo.current,t===null?(r!==Wi&&(t=Error(i(423),{cause:r}),Zi(Ei(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ei(r,n),a=tc(e.stateNode,r,a),Qa(e,a),Gl!==4&&(Gl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Wi&&(e=Error(i(422),{cause:r}),Zi(Ei(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ei(o,n),Zl===null?Zl=[o]:Zl.push(o),Gl!==4&&(Gl=2),t===null)return!0;r=Ei(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=tc(n.stateNode,r,e),Qa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(iu===null||!iu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=nc(a),H(a,e,n,r),Qa(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),U=!1;function ac(e,t,n,r){t.child=e===null?Ga(t,null,n,r):Wa(t,e.child,n,r)}function oc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return sa(t),r=Oo(e,t,n,o,a,i),s=Mo(),e!==null&&!U?(No(e,t,i),Ac(e,t,i)):(N&&s&&Ri(t),t.flags|=1,ac(e,t,r,i),t.child)}function sc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!_i(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,cc(e,t,a,r,i)):(e=bi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!jc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?jr:n,n(o,r)&&e.ref===t.ref)return Ac(e,t,i)}return t.flags|=1,e=vi(a,r),e.ref=t.ref,e.return=t,t.child=e}function cc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(jr(a,r)&&e.ref===t.ref)if(U=!1,t.pendingProps=r=a,jc(e,i))e.flags&131072&&(U=!0);else return t.lanes=e.lanes,Ac(e,t,i)}return gc(e,t,n,r,i)}function lc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return dc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ea(t,a===null?null:a.cachePool),a===null?so():oo(t,a),mo(t);else return r=t.lanes=536870912,dc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ea(t,null),so(),ho(t)):(Ea(t,a.cachePool),oo(t,a),ho(t),t.memoizedState=null);return ac(e,t,i,n),t.child}function uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dc(e,t,n,r,i){var a=Ta();return a=a===null?null:{parent:ma._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ea(t,null),so(),mo(t),e!==null&&aa(e,t,r,!0),t.childLanes=i,null}function fc(e,t){return t=Tc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function pc(e,t,n){return Wa(t,e.child,null,n),e=fc(t,t.pendingProps),e.flags|=2,go(t),t.memoizedState=null,e}function mc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(N){if(r.mode===`hidden`)return e=fc(t,r),t.lanes=536870912,uc(null,e);if(po(t),(e=M)?(e=af(e,Ui),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ni===null?null:{id:Pi,overflow:Fi},retryLane:536870912,hydrationErrors:null},n=Ci(e),n.return=t,t.child=n,Vi=t,M=null)):e=null,e===null)throw Gi(t);return t.lanes=536870912,null}return fc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(po(t),a)if(t.flags&256)t.flags&=-257,t=pc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(U||aa(e,t,n,!1),a=(n&e.childLanes)!==0,U||a){if(r=q,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,di(e,s),gu(r,e,s),ic;Ou(),t=pc(e,t,n)}else e=o.treeContext,M=lf(s.nextSibling),Vi=t,N=!0,Hi=null,Ui=!1,e!==null&&Bi(t,e),t=fc(t,r),t.flags|=4096;return t}return e=vi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function gc(e,t,n,r,i){return sa(t),n=Oo(e,t,n,r,void 0,i),r=Mo(),e!==null&&!U?(No(e,t,i),Ac(e,t,i)):(N&&r&&Ri(t),t.flags|=1,ac(e,t,n,i),t.child)}function _c(e,t,n,r,i,a){return sa(t),t.updateQueue=null,n=Ao(t,r,n,i),ko(e),r=Mo(),e!==null&&!U?(No(e,t,a),Ac(e,t,a)):(N&&r&&Ri(t),t.flags|=1,ac(e,t,n,a),t.child)}function vc(e,t,n,r,i){if(sa(t),t.stateNode===null){var a=mi,o=n.contextType;typeof o==`object`&&o&&(a=ca(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ks,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},qa(t),o=n.contextType,a.context=typeof o==`object`&&o?ca(o):mi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Gs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ks.enqueueReplaceState(a,a.state,null),to(t,r,a,i),eo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ys(n,s);a.props=c;var l=a.context,u=n.contextType;o=mi,typeof u==`object`&&u&&(o=ca(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Js(t,a,r,o),Ka=!1;var f=t.memoizedState;a.state=f,to(t,r,a,i),eo(),l=t.memoizedState,s||f!==l||Ka?(typeof d==`function`&&(Gs(t,n,d,r),l=t.memoizedState),(c=Ka||qs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ja(e,t),o=t.memoizedProps,u=Ys(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=mi,typeof l==`object`&&l&&(c=ca(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Js(t,a,r,c),Ka=!1,f=t.memoizedState,a.state=f,to(t,r,a,i),eo();var p=t.memoizedState;o!==d||f!==p||Ka||e!==null&&e.dependencies!==null&&oa(e.dependencies)?(typeof s==`function`&&(Gs(t,n,s,r),p=t.memoizedState),(u=Ka||qs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&oa(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,hc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Wa(t,e.child,null,i),t.child=Wa(t,null,n,i)):ac(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Ac(e,t,i),e}function yc(e,t,n,r){return Yi(),t.flags|=256,ac(e,t,n,r),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(e){return{baseLanes:e,cachePool:Da()}}function Sc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Yl),e}function Cc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(_o.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(N){if(a?fo(t):ho(t),(e=M)?(e=af(e,Ui),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ni===null?null:{id:Pi,overflow:Fi},retryLane:536870912,hydrationErrors:null},n=Ci(e),n.return=t,t.child=n,Vi=t,M=null)):e=null,e===null)throw Gi(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ho(t),a=t.mode,c=Tc({mode:`hidden`,children:c},a),r=xi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(null,r)):(fo(t),wc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(fo(t),t.flags&=-257,t=Ec(e,t,n)):t.memoizedState===null?(ho(t),c=r.fallback,a=t.mode,r=Tc({mode:`visible`,children:r.children},a),c=xi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Wa(t,e.child,null,n),r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,t=uc(null,r)):(ho(t),t.child=e.child,t.flags|=128,t=null);else if(fo(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Zi({value:r,source:null,stack:null}),t=Ec(e,t,n)}else if(U||aa(e,t,n,!1),s=(n&e.childLanes)!==0,U||s){if(s=q,s!==null&&(r=ut(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,di(e,r),gu(s,e,r),ic;of(c)||Ou(),t=Ec(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,M=lf(c.nextSibling),Vi=t,N=!0,Hi=null,Ui=!1,e!==null&&Bi(t,e),t=wc(t,r.children),t.flags|=4096);return t}return a?(ho(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=vi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=xi(c,a,n,null),c.flags|=2):c=vi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,uc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=xc(n):(a=c.cachePool,a===null?a=Da():(l=ma._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(e.child,r)):(fo(t),n=e.child,e=n.sibling,n=vi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function wc(e,t){return t=Tc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Tc(e,t){return e=gi(22,e,null,t),e.lanes=0,e}function Ec(e,t,n){return Wa(t,e.child,null,n),e=wc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ra(e.return,t,n)}function Oc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function kc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=_o.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,k(_o,o),ac(e,t,r,n),r=N?Ai:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dc(e,n,t);else if(e.tag===19)Dc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&F(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Oc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&F(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Oc(t,!0,n,null,a,r);break;case`together`:Oc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(aa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=vi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&oa(e))):!0}function Mc(e,t,n){switch(t.tag){case 3:ye(t,t.stateNode.containerInfo),ta(t,ma,e.memoizedState.cache),Yi();break;case 27:case 5:xe(t);break;case 4:ye(t,t.stateNode.containerInfo);break;case 10:ta(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,po(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(fo(t),e=Ac(e,t,n),e===null?null:e.sibling):Cc(e,t,n):(fo(t),t.flags|=128,null);fo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(aa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return kc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),k(_o,_o.current),r)break;return null;case 22:return t.lanes=0,lc(e,t,n,t.pendingProps);case 24:ta(t,ma,e.memoizedState.cache)}return Ac(e,t,n)}function Nc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)U=!0;else{if(!jc(e,n)&&!(t.flags&128))return U=!1,Mc(e,t,n);U=!!(e.flags&131072)}else U=!1,N&&t.flags&1048576&&Li(t,Ai,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Pa(t.elementType),t.type=e,typeof e==`function`)_i(e)?(r=Ys(e,r),t.tag=1,t=vc(null,t,e,r,n)):(t.tag=0,t=gc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===C){t.tag=11,t=oc(null,t,e,r,n);break a}else if(a===re){t.tag=14,t=sc(null,t,e,r,n);break a}}throw t=le(e)||e,Error(i(306,t,``))}}return t;case 0:return gc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ys(r,t.pendingProps),vc(e,t,r,a,n);case 3:a:{if(ye(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ja(e,t),to(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ta(t,ma,r),r!==o.cache&&ia(t,[ma],n,!0),eo(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=yc(e,t,r,n);break a}else if(r!==a){a=Ei(Error(i(424)),t),Zi(a),t=yc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(M=lf(e.firstChild),Vi=t,N=!0,Hi=null,Ui=!0,n=Ga(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Yi(),r===a){t=Ac(e,t,n);break a}ac(e,t,r,n)}t=t.child}return t;case 26:return hc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:N||(n=t.type,e=t.pendingProps,r=Vd(_e.current).createElement(n),r[gt]=t,r[_t]=e,Fd(r,n,e),kt(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xe(t),e===null&&N&&(r=t.stateNode=pf(t.type,t.pendingProps,_e.current),Vi=t,Ui=!0,a=M,Qd(t.type)?(uf=a,M=lf(r.firstChild)):M=a),ac(e,t,t.pendingProps.children,n),hc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&N&&((a=r=M)&&(r=nf(r,t.type,t.pendingProps,Ui),r===null?a=!1:(t.stateNode=r,Vi=t,M=lf(r.firstChild),Ui=!1,a=!0)),a||Gi(t)),xe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Wd(a,o)?r=null:s!==null&&Wd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Oo(e,t,jo,null,null,n),$f._currentValue=a),hc(e,t),ac(e,t,r,n),t.child;case 6:return e===null&&N&&((e=n=M)&&(n=rf(n,t.pendingProps,Ui),n===null?e=!1:(t.stateNode=n,Vi=t,M=null,e=!0)),e||Gi(t)),null;case 13:return Cc(e,t,n);case 4:return ye(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Wa(t,null,r,n):ac(e,t,r,n),t.child;case 11:return oc(e,t,t.type,t.pendingProps,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:return ac(e,t,t.pendingProps.children,n),t.child;case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,ta(t,t.type,r.value),ac(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,sa(t),a=ca(a),r=r(a),t.flags|=1,ac(e,t,r,n),t.child;case 14:return sc(e,t,t.type,t.pendingProps,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 19:return kc(e,t,n);case 31:return mc(e,t,n);case 22:return lc(e,t,n,t.pendingProps);case 24:return sa(t),r=ca(ma),e===null?(a=Ta(),a===null&&(a=q,o=ha(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},qa(t),ta(t,ma,a)):((e.lanes&n)!==0&&(Ja(e,t),to(t,null,null,n),eo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,ta(t,ma,r),r!==a.cache&&ia(t,[ma],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),ta(t,ma,r))),ac(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Pc(e){e.flags|=4}function Fc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Tu())e.flags|=8192;else throw Fa=ja,ka}else e.flags&=-16777217}function Ic(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(Tu())e.flags|=8192;else throw Fa=ja,ka}function Lc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,Xl|=t)}function Rc(e,t){if(!N)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function W(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zc(e,t,n){var r=t.pendingProps;switch(zi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return W(t),null;case 1:return W(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),na(ma),be(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ji(t)?Pc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xi())),W(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Pc(t),o===null?(W(t),Fc(t,a,null,r,n)):(W(t),Ic(t,o))):o?o===e.memoizedState?(W(t),t.flags&=-16777217):(Pc(t),W(t),Ic(t,o)):(e=e.memoizedProps,e!==r&&Pc(t),W(t),Fc(t,a,e,r,n)),null;case 27:if(Se(t),n=_e.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return W(t),null}e=he.current,Ji(t)?Ki(t,e):(e=pf(a,r,n),t.stateNode=e,Pc(t))}return W(t),null;case 5:if(Se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return W(t),null}if(o=he.current,Ji(t))Ki(t,o);else{var s=Vd(_e.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[gt]=t,o[_t]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Fd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Pc(t)}}return W(t),Fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=_e.current,Ji(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Vi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Gi(t,!0)}else e=Vd(e).createTextNode(r),e[gt]=t,t.stateNode=e}return W(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ji(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[gt]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;W(t),e=!1}else n=Xi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(go(t),t):(go(t),null);if(t.flags&128)throw Error(i(558))}return W(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ji(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[gt]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;W(t),a=!1}else a=Xi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(go(t),t):(go(t),null)}return go(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Lc(t,t.updateQueue),W(t),null);case 4:return be(),e===null&&Cd(t.stateNode.containerInfo),W(t),null;case 10:return na(t.type),W(t),null;case 19:if(O(_o),r=t.memoizedState,r===null)return W(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Rc(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=F(e),o!==null){for(t.flags|=128,Rc(r,!1),e=o.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)yi(n,e),n=n.sibling;return k(_o,_o.current&1|2),N&&Ii(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>nu&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304)}else{if(!a)if(e=F(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),Rc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!N)return W(t),null}else 2*Fe()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(W(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=_o.current,k(_o,a?n&1|2:n&1),N&&Ii(t,r.treeForkCount),e);case 22:case 23:return go(t),co(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(W(t),t.subtreeFlags&6&&(t.flags|=8192)):W(t),n=t.updateQueue,n!==null&&Lc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&O(wa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),na(ma),W(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Bc(e,t){switch(zi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return na(ma),be(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 31:if(t.memoizedState!==null){if(go(t),t.alternate===null)throw Error(i(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(go(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return O(_o),null;case 4:return be(),null;case 10:return na(t.type),null;case 22:case 23:return go(t),co(),e!==null&&O(wa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return na(ma),null;case 25:return null;default:return null}}function Vc(e,t){switch(zi(t),t.tag){case 3:na(ma),be();break;case 26:case 27:case 5:Se(t);break;case 4:be();break;case 31:t.memoizedState!==null&&go(t);break;case 13:go(t);break;case 19:O(_o);break;case 10:na(t.type);break;case 22:case 23:go(t),co(),e!==null&&O(wa);break;case 24:na(ma)}}function Hc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Uc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ro(t,n)}catch(t){Z(e,e.return,t)}}}function Gc(e,t,n){n.props=Ys(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Kc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}function Jc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[_t]=t}catch(t){Z(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=un));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[gt]=e,t[_t]=n}catch(t){Z(e,e.return,t)}}var tl=!1,nl=!1,rl=!1,il=typeof WeakSet==`function`?WeakSet:Set,al=null;function ol(e,t){if(e=e.containerInfo,zd=cp,e=Fr(e),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Bd={focusedElem:e,selectionRange:n},cp=!1,al=t;al!==null;)if(t=al,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,al=e;else for(;al!==null;){switch(t=al,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ys(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Z(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,al=e;break}al=t.return}}function sl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Hc(5,n);break;case 1:if(xl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=Ys(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(xl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ro(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&el(n);case 26:case 5:xl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&fl(e,n);break;case 13:xl(e,n),r&4&&pl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Yu.bind(null,n),cf(e,n))));break;case 22:if(r=n.memoizedState!==null||tl,!r){t=t!==null&&t.memoizedState!==null||nl,i=tl;var a=nl;tl=r,(nl=t)&&!a?Cl(e,n,(n.subtreeFlags&8772)!=0):xl(e,n),tl=i,nl=a}break;case 30:break;default:xl(e,n)}}function cl(e){var t=e.alternate;t!==null&&(e.alternate=null,cl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var G=null,ll=!1;function ul(e,t,n){for(n=n.child;n!==null;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:nl||qc(n,t),ul(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nl||qc(n,t);var r=G,i=ll;Qd(n.type)&&(G=n.stateNode,ll=!1),ul(e,t,n),mf(n.stateNode),G=r,ll=i;break;case 5:nl||qc(n,t);
vendor: 3,782 bytes, line 9
9case 6:if(r=G,i=ll,G=null,ul(e,t,n),G=r,ll=i,G!==null)if(ll)try{(G.nodeType===9?G.body:G.nodeName===`HTML`?G.ownerDocument.body:G).removeChild(n.stateNode)}catch(e){Z(n,t,e)}else try{G.removeChild(n.stateNode)}catch(e){Z(n,t,e)}break;case 18:G!==null&&(ll?(e=G,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):$d(G,n.stateNode));break;case 4:r=G,i=ll,G=n.stateNode.containerInfo,ll=!0,ul(e,t,n),G=r,ll=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),nl||Uc(4,n,t),ul(e,t,n);break;case 1:nl||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:nl=(r=nl)||n.memoizedState!==null,ul(e,t,n),nl=r;break;default:ul(e,t,n)}}function fl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){Z(t,t.return,e)}}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){Z(t,t.return,e)}}function ml(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new il),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new il),t;default:throw Error(i(435,e.tag))}}function hl(e,t){var n=ml(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Xu.bind(null,e,t);t.then(r,r)}})}function gl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Qd(c.type)){G=c.stateNode,ll=!1;break a}break;case 5:G=c.stateNode,ll=!1;break a;case 3:case 4:G=c.stateNode.containerInfo,ll=!0;break a}c=c.return}if(G===null)throw Error(i(160));dl(o,s,a),G=null,ll=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)vl(t,e),t=t.sibling}var _l=null;function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gl(t,e),yl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&64&&tl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=_l;if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[Ct]||o[gt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Fd(o,r,n),o[gt]=e,kt(o),r=o;break a;case`link`:var s=Hf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Hf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[gt]=e,kt(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(a,r,e.memoizedProps);
vendor: 40,470 bytes, lines 9-10
9else o===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Uf(a,e.type,e.stateNode):Lf(a,r,e.memoizedProps))}break;case 27:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),e.flags&32){a=e.stateNode;try{tn(a,``)}catch(t){Z(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Yc(e,a,n===null?a:n.memoizedProps)),r&1024&&(rl=!0);break;case 6:if(gl(t,e),yl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Z(e,e.return,t)}}break;case 3:if(Vf=null,a=_l,_l=_f(t.containerInfo),gl(t,e),_l=a,yl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){Z(e,e.return,t)}rl&&(rl=!1,bl(e));break;case 4:r=_l,_l=_f(e.stateNode.containerInfo),gl(t,e),yl(e),_l=r;break;case 12:gl(t,e),yl(e);break;case 31:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 13:gl(t,e),yl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eu=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=tl,d=nl;if(tl=u||a,nl=d||l,gl(t,e),nl=d,tl=u,yl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||tl||nl||Sl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Z(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Z(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ef(m,!0):ef(l.stateNode,!1)}catch(e){Z(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,hl(e,n))));break;case 19:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 30:break;case 21:break;default:gl(t,e),yl(e)}}function yl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;$c(e,Zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),$c(e,Zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(i(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sl(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),Sl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),Sl(t);break;case 27:mf(t.stateNode);case 26:case 5:qc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Cl(i,a,n),Hc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Z(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)no(c[i],s)}catch(e){Z(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:el(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&fl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Kc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ga(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ga(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Hc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ga(e)));break;case 12:if(i&2048){El(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Z(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Ol(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&Kf(n,_l,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=_l;_l=_f(e.stateNode.containerInfo),jl(e,t,n),_l=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;al!==null;){var n=al;switch(n.tag){case 0:case 11:case 15:Uc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ga(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,al=r;else a:for(n=e;al!==null;){r=al;var i=r.sibling,a=r.return;if(cl(r),r===n){al=null;break a}if(i!==null){i.return=a,al=i;break a}al=a}}}var Rl={getCacheForType:function(e){var t=ca(ma),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ca(ma).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,K=0,q=null,J=null,Y=0,X=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=null,Ql=null,$l=!1,eu=0,tu=0,nu=1/0,ru=null,iu=null,au=0,ou=null,su=null,cu=0,lu=0,uu=null,du=null,fu=0,pu=null;function mu(){return K&2&&Y!==0?Y&-Y:E.T===null?pt():fd()}function hu(){if(Yl===0)if(!(Y&536870912)||N){var e=Qe;Qe<<=1,!(Qe&3932160)&&(Qe=262144),Yl=e}else Yl=536870912;return e=lo.current,e!==null&&(e.flags|=32),Yl}function gu(e,t,n){(e===q&&(X===2||X===9)||e.cancelPendingCommit!==null)&&(Cu(e,0),bu(e,Y,Yl,!1)),ot(e,n),(!(K&2)||e!==q)&&(e===q&&(!(K&2)&&(ql|=n),Gl===4&&bu(e,Y,Yl,!1)),id(e))}function _u(e,t,n){if(K&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||nt(e,t),a=r?ju(e,t):ku(e,t,!0),o=r;do{if(a===0){Hl&&!r&&bu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!yu(n)){a=ku(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Zl;var l=c.current.memoizedState.isDehydrated;if(l&&(Cu(c,s).flags|=256),s=ku(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=o,ql|=o,a=4;break a}o=Ql,Ql=a,o!==null&&(Ql===null?Ql=o:Ql.push.apply(Ql,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Cu(e,0),bu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:bu(r,t,Yl,!Vl);break a;case 2:Ql=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=eu+300-Fe(),10<a)){if(bu(r,t,Yl,!Vl),tt(r,0,!0)!==0)break a;cu=t,r.timeoutHandle=qd(vu.bind(null,r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,`Throttled`,-0,0),a);break a}vu(r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,null,-0,0)}}break}while(1);id(e)}function vu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:un},Ml(t,a,d);var m=(a&62914560)===a?eu-Fe():(a&4194048)===a?tu-Fe():0;if(m=Jf(d,m),m!==null){cu=a,e.cancelPendingCommit=m(Ru.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),bu(e,a,o,!l);return}}Ru(e,t,a,n,r,i,o,s,c)}function yu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ar(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function bu(e,t,n,r){t&=~Jl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function xu(){return K&6?!0:(ad(0,!1),!1)}function Su(){if(J!==null){if(X===0)var e=J.return;else e=J,ea=$i=null,Po(e),Ra=null,za=0,e=J;for(;e!==null;)Vc(e.alternate,e),e=e.return;J=null}}function Cu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),cu=0,Su(),q=e,J=n=vi(e.current,null),Y=t,X=0,Bl=null,Vl=!1,Hl=nt(e,t),Ul=!1,Xl=Yl=Jl=ql=Kl=Gl=0,Ql=Zl=null,$l=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,ci(),n}function wu(e,t){I=null,E.H=Vs,t===Oa||t===Aa?(t=Ia(),X=3):t===ka?(t=Ia(),X=4):X=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,J===null&&(Gl=1,$s(e,Ei(t,e.current)))}function Tu(){var e=lo.current;return e===null?!0:(Y&4194048)===Y?uo===null:(Y&62914560)===Y||Y&536870912?e===uo:!1}function Eu(){var e=E.H;return E.H=Vs,e===null?Vs:e}function Du(){var e=E.A;return E.A=Rl,e}function Ou(){Gl=4,Vl||(Y&4194048)!==Y&&lo.current!==null||(Hl=!0),!(Kl&134217727)&&!(ql&134217727)||q===null||bu(q,Y,Yl,!1)}function ku(e,t,n){var r=K;K|=2;var i=Eu(),a=Du();(q!==e||Y!==t)&&(ru=null,Cu(e,t)),t=!1;var o=Gl;a:do try{if(X!==0&&J!==null){var s=J,c=Bl;switch(X){case 8:Su(),o=6;break a;case 3:case 2:case 9:case 6:lo.current===null&&(t=!0);var l=X;if(X=0,Bl=null,Fu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=X,X=0,Bl=null,Fu(e,s,c,l)}}Au(),o=Gl;break}catch(t){wu(e,t)}while(1);return t&&e.shellSuspendCounter++,ea=$i=null,K=r,E.H=i,E.A=a,J===null&&(q=null,Y=0,ci()),o}function Au(){for(;J!==null;)Nu(J)}function ju(e,t){var n=K;K|=2;var r=Eu(),a=Du();q!==e||Y!==t?(ru=null,nu=Fe()+500,Cu(e,t)):Hl=nt(e,t);a:do try{if(X!==0&&J!==null){t=J;var o=Bl;b:switch(X){case 1:X=0,Bl=null,Fu(e,t,o,1);break;case 2:case 9:if(Ma(o)){X=0,Bl=null,Pu(t);break}t=function(){X!==2&&X!==9||q!==e||(X=7),id(e)},o.then(t,t);break a;case 3:X=7;break a;case 4:X=5;break a;case 7:Ma(o)?(X=0,Bl=null,Pu(t)):(X=0,Bl=null,Fu(e,t,o,7));break;case 5:var s=null;switch(J.tag){case 26:s=J.memoizedState;case 5:case 27:var c=J;if(s?Gf(s):c.stateNode.complete){X=0,Bl=null;var l=c.sibling;if(l!==null)J=l;else{var u=c.return;u===null?J=null:(J=u,Iu(u))}break b}}X=0,Bl=null,Fu(e,t,o,5);break;case 6:X=0,Bl=null,Fu(e,t,o,6);break;case 8:Su(),Gl=6;break a;default:throw Error(i(462))}}Mu();break}catch(t){wu(e,t)}while(1);return ea=$i=null,E.H=r,E.A=a,K=n,J===null?(q=null,Y=0,ci(),Gl):0}function Mu(){for(;J!==null&&!Ne();)Nu(J)}function Nu(e){var t=Nc(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Iu(e):J=t}function Pu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=_c(n,t,t.pendingProps,t.type,void 0,Y);break;case 11:t=_c(n,t,t.pendingProps,t.type.render,t.ref,Y);break;case 5:Po(t);default:Vc(n,t),t=J=yi(t,Wl),t=Nc(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Iu(e):J=t}function Fu(e,t,n,r){ea=$i=null,Po(t),Ra=null,za=0;var i=t.return;try{if(rc(e,i,t,n,Y)){Gl=1,$s(e,Ei(n,e.current)),J=null;return}}catch(t){if(i!==null)throw J=i,t;Gl=1,$s(e,Ei(n,e.current)),J=null;return}t.flags&32768?(N||r===1?e=!0:Hl||Y&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=lo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Lu(t,e)):Iu(t)}function Iu(e){var t=e;do{if(t.flags&32768){Lu(t,Vl);return}e=t.return;var n=zc(t.alternate,t,Wl);if(n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);Gl===0&&(Gl=5)}function Lu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,J=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){J=e;return}J=e=n}while(e!==null);Gl=6,J=null}function Ru(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Uu();while(au!==0);if(K&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=si,st(e,n,o,s,c,l),e===q&&(J=q=null,Y=0),su=t,ou=e,cu=n,lu=o,uu=a,du=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Zu(ze,function(){return Wu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=E.T,E.T=null,a=D.p,D.p=2,s=K,K|=4;try{ol(e,t,n)}finally{K=s,D.p=a,E.T=r}}au=1,zu(),Bu(),Vu()}}function zu(){if(au===1){au=0;var e=ou,t=su,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=K;K|=4;try{vl(t,e);var a=Bd,o=Fr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}cp=!!zd,Bd=zd=null}finally{K=i,D.p=r,E.T=n}}e.current=t,au=2}}function Bu(){if(au===2){au=0;var e=ou,t=su,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=K;K|=4;try{sl(e,t.alternate,t)}finally{K=i,D.p=r,E.T=n}}au=3}}function Vu(){if(au===4||au===3){au=0,Pe();var e=ou,t=su,n=cu,r=du;t.subtreeFlags&10256||t.flags&10256?au=5:(au=0,su=ou=null,Hu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(iu=null),ft(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=E.T,i=D.p,D.p=2,E.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{E.T=t,D.p=i}}cu&3&&Uu(),id(e),i=e.pendingLanes,n&261930&&i&42?e===pu?fu++:(fu=0,pu=e):fu=0,ad(0,!1)}}function Hu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ga(t)))}function Uu(){return zu(),Bu(),Vu(),Wu()}function Wu(){if(au!==5)return!1;var e=ou,t=lu;lu=0;var n=ft(cu),r=E.T,a=D.p;try{D.p=32>n?32:n,E.T=null,n=uu,uu=null;var o=ou,s=cu;if(au=0,su=ou=null,cu=0,K&6)throw Error(i(331));var c=K;if(K|=4,Fl(o.current),Dl(o,o.current,s,n),K=c,ad(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{D.p=a,E.T=r,Hu(e,t)}}function Gu(e,t,n){t=Ei(n,t),t=tc(e.stateNode,t,2),e=Xa(e,t,2),e!==null&&(ot(e,2),id(e))}function Z(e,t,n){if(e.tag===3)Gu(e,e,n);else for(;t!==null;){if(t.tag===3){Gu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=Ei(n,e),n=nc(2),r=Xa(t,n,2),r!==null&&(H(n,r,t,e),ot(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(Gl===4||Gl===3&&(Y&62914560)===Y&&300>Fe()-eu?!(K&2)&&Cu(e,0):Jl|=n,Xl===Y&&(Xl=0)),id(e)}function Ju(e,t){t===0&&(t=it()),e=di(e,t),e!==null&&(ot(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ju(e,n)}function Zu(e,t){return je(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=Y,a=tt(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||nt(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Kd()&&(e=rd);for(var t=Fe(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}au!==0&&au!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=q,n=Y,n=tt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(X===2||X===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||nt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),ft(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=ld.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function ld(e,t){if(au!==0&&au!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Uu()&&e.callbackNode!==n)return null;var r=Y;return r=tt(e,e===q?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_u(e,r,t),cd(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?ld.bind(null,e):null)}function ud(e,t){if(Uu())return null;_u(e,t,!0)}function dd(){Xd(function(){K&6?je(Le,od):sd()})}function fd(){if(rd===0){var e=va;e===0&&(e=Ze,Ze<<=1,!(Ze&261888)&&(Ze=256)),rd=e}return rd}function pd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+e)}function md(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function hd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=pd((i[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?pd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new jn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(rd!==0){var e=o?md(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?md(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var gd=0;gd<ni.length;gd++){var _d=ni[gd];ri(_d.toLowerCase(),`on`+(_d[0].toUpperCase()+_d.slice(1)))}ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),Nt(`onMouseEnter`,[`mouseout`,`mouseover`]),Nt(`onMouseLeave`,[`mouseout`,`mouseover`]),Nt(`onPointerEnter`,[`pointerout`,`pointerover`]),Nt(`onPointerLeave`,[`pointerout`,`pointerover`]),Mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var vd=`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(` `),yd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(vd));function bd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[yt];n===void 0&&(n=t[yt]=new Set);var r=e+`__bubble`;n.has(r)||(wd(t,e,2,!1),n.add(r))}function xd(e,t,n){var r=0;t&&(r|=4),wd(n,e,r,t)}var Sd=`_reactListening`+Math.random().toString(36).slice(2);function Cd(e){if(!e[Sd]){e[Sd]=!0,At.forEach(function(t){t!==`selectionchange`&&(yd.has(t)||xd(t,!1,e),xd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sd]||(t[Sd]=!0,xd(`selectionchange`,!1,t))}}function wd(e,t,n,r){switch(hp(t)){case 2:var i=lp;break;case 8:i=up;break;default:i=dp}n=i.bind(null,t,n,e),i=void 0,!bn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Td(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Tt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}_n(function(){var r=a,i=fn(n),s=[];a:{var c=ti.get(e);if(c!==void 0){var l=jn,u=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:l=Yn;break;case`focusin`:u=`focus`,l=Bn;break;case`focusout`:u=`blur`,l=Bn;break;case`beforeblur`:case`afterblur`:l=Bn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Rn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=zn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Zn;break;case Jr:case Yr:case Xr:l=Vn;break;case ei:l=Qn;break;case`scroll`:case`scrollend`:l=Nn;break;case`wheel`:l=$n;break;case`copy`:case`cut`:case`paste`:l=Hn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Xn;break;case`toggle`:case`beforetoggle`:l=er}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=vn(m,p),g!=null&&d.push(Ed(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==dn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Tt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Rn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Xn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Dt(l),h=u==null?c:Dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Tt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Od,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&kd(s,c,l,d,!1),u!==null&&f!==null&&kd(s,f,u,d,!0)}}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=vr;else if(fr(c))if(yr)v=Or;else{v=Er;var y=Tr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(v=vr):v=Dr;if(v&&=v(e,r)){pr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(y=r?Dt(r):window,e){case`focusin`:(fr(y)||y.contentEditable===`true`)&&(Rr=y,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(s,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(s,n,i)}var b;if(nr)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else j?sr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ar&&n.locale!==`ko`&&(j||x!==`onCompositionStart`?x===`onCompositionEnd`&&j&&(b=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,j=!0)),y=Dd(r,x),0<y.length&&(x=new Un(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=cr(n),b!==null&&(x.data=b)))),(b=ir?lr(e,n):ur(e,n))&&(x=Dd(r,`onBeforeInput`),0<x.length&&(y=new Un(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}bd(s,t)})}function Ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=vn(e,n),i!=null&&r.unshift(Ed(e,i,a)),i=vn(e,t),i!=null&&r.push(Ed(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=vn(n,a),l!=null&&o.unshift(Ed(n,l,c))):i||(l=vn(n,a),l!=null&&o.push(Ed(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ad=/\r\n?/g,jd=/\u0000|\uFFFD/g;function Md(e){return(typeof e==`string`?e:``+e).replace(Ad,` 10`).replace(jd,``)}function Nd(e,t){return t=Md(t),Md(e)===t}function $(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:zt(e,`class`,r);break;case`tabIndex`:zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:zt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){zt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`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 o==`function`&&(n===`formAction`?(t!==`input`&&$(e,t,`name`,a.name,a,null),$(e,t,`formEncType`,a.formEncType,a,null),$(e,t,`formMethod`,a.formMethod,a,null),$(e,t,`formTarget`,a.formTarget,a,null)):($(e,t,`encType`,a.encType,a,null),$(e,t,`method`,a.method,a,null),$(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=un);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=ln(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);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`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Q(`beforetoggle`,e),Q(`toggle`,e),Rt(e,`popover`,r);break;case`xlinkActuate`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Rt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=sn.get(n)||n,Rt(e,n,r))}}function Pd(e,t,n,r,a,o){switch(n){case`style`:an(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(e,``+r);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=un);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!jt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[_t]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Rt(e,n,r)}}}function Fd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Q(`error`,e),Q(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:$(e,t,o,s,n,null)}}a&&$(e,t,`srcSet`,n.srcSet,n,null),r&&$(e,t,`src`,n.src,n,null);return;case`input`:Q(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:$(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Q(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:$(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in Q(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:$(e,t,s,c,n,null)}en(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:$(e,t,l,r,n,null)}return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<vd.length;r++)Q(vd[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:$(e,t,u,r,n,null)}return;default:if(on(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Pd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&$(e,t,c,r,n,null))}function Id(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||$(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&$(e,t,p,m,r,f)}}Yt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||$(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&$(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:$(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&$(e,t,s,a,r,o)}$t(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:$(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:$(e,t,l,p,r,m)}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 g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&$(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:$(e,t,u,p,r,m)}return;default:if(on(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Pd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 10
10for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Pd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&$(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||$(e,t,f,p,r,m)}function Ld(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Rd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Ld(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Ld(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var zd=null,Bd=null;function Vd(e){return e.nodeType===9?e:e.ownerDocument}function Hd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Ud(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Wd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gd=null;function Kd(){var e=window.event;return e&&e.type===`popstate`?e===Gd?!1:(Gd=e,!0):(Gd=null,!1)}var qd=typeof setTimeout==`function`?setTimeout:void 0,Jd=typeof clearTimeout==`function`?clearTimeout:void 0,Yd=typeof Promise==`function`?Promise:void 0,Xd=typeof queueMicrotask==`function`?queueMicrotask:Yd===void 0?qd:function(e){return Yd.resolve(null).then(e).catch(Zd)};function Zd(e){setTimeout(function(){throw e})}function Qd(e){return e===`head`}function $d(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)mf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Ct]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&mf(e.ownerDocument.body);n=i}while(n);Pp(t)}function ef(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function tf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:tf(n),wt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function nf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Ct])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=lf(e.nextSibling),e===null)break}return null}function rf(e,t,n){if(t===``)return null;for(;
vendor: 20,905 bytes, line 10
10e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lf(e.nextSibling),e===null))return null;return e}function af(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lf(e.nextSibling),e===null))return null;return e}function of(e){return e.data===`$?`||e.data===`$~`}function sf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function lf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var uf=null;function df(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function ff(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function pf(e,t,n){switch(t=Vd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(e)}var hf=new Map,gf=new Set;function _f(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vf=D.d;D.d={f:yf,r:bf,D:Cf,C:wf,L:Tf,m:Ef,X:Of,S:Df,M:kf};function yf(){var e=vf.f(),t=xu();return e||t}function bf(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?As(t):vf.r(e)}var xf=typeof document>`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Jt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Jt(r)+`"][href="`+Jt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),kt(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=Ot(r).hoistableStyles,a=jf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);kt(c),Fd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=Ot(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),kt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=Ot(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),kt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=_e.current)?_f(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=jf(n.href),n=Ot(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=jf(n.href);var o=Ot(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hf.set(e,n),o||Pf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Ff(n),n=Ot(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function jf(e){return`href="`+Jt(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Fd(t,`link`,n),kt(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Jt(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,kt(a),a):(r=n,(a=hf.get(o))&&(r=m({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),kt(a),Fd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Rf(r,n.precedence,e));return t.instance}function Rf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Vf=null;function Hf(e,t,n){if(Vf===null){var r=new Map,i=Vf=new Map;i.set(n,r)}else i=Vf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Ct]||a[gt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Uf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Wf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,kt(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),kt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&qf===0&&(qf=62500*Rd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Yf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var $f={$$typeof:S,Provider:null,Consumer:null,_currentValue:de,_currentValue2:de,_threadCount:0};function ep(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,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=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function tp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ep(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=gi(3,null,null,t),e.current=a,a.stateNode=e,t=ha(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},qa(a),e}function np(e){return e?(e=mi,e):mi}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Ya(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Xa(e,r,t),n!==null&&(gu(n,e,t),Za(n,e,t))}function ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ap(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}function op(e){if(e.tag===13||e.tag===31){var t=di(e,67108864);t!==null&&gu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=mu();t=dt(t);var n=di(e,t);n!==null&&gu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=2,dp(e,t,n,r)}finally{D.p=a,E.T=i}}function up(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=8,dp(e,t,n,r)}finally{D.p=a,E.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)Td(e,t,r,pp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=et(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}id(a),!(K&6)&&(nu=Fe()+500,ad(0,!1))}}break;case 31:case 13:s=di(a,2),s!==null&&gu(s,a,2),xu(),ap(a,2)}if(a=fp(r),a===null&&Td(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Td(e,t,r,null,n)}}function fp(e){return e=fn(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=Tt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return pp=e,null}function hp(e){switch(e){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(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var gp=!1,_p=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`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 wp(e,t){switch(e){case`focusin`:case`focusout`:_p=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Et(t),t!==null&&op(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return _p=Tp(_p,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=Tt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,mt(e.priority,function(){sp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){sp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);dn=r,n.target.dispatchEvent(r),dn=null}else return t=Et(n),t!==null&&op(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){gp=!1,_p!==null&&Op(_p)&&(_p=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,gp||(gp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ap)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mp===e&&(Mp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(mp(r||n)===null)continue;break}var a=Et(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}_p!==null&&jp(_p,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[_t]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||null)s=o.formAction;else if(mp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;rp(n,mu(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rp(e.current,2,null,e,null,null),xu(),t[vt]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=n.version;if(Rp!==`19.2.7`)throw Error(i(527,Rp,`19.2.7`));D.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var zp={bundleType:0,version:`19.2.7`,rendererPackageName:`react-dom`,currentDispatcherRef:E,reconcilerVersion:`19.2.7`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{We=Bp.inject(zp),Ge=Bp}catch{}}e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Xs,c=Zs,l=Qs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=tp(e,1,!0,t,n??null,r,o,u,s,c,l,Fp),t.context=np(null),n=t.current,r=mu(),r=dt(r),o=Ya(r),o.callback=null,Xa(n,o,r),n=r,t.current.lanes=n,ot(t,n),id(t),e[vt]=t.current,Cd(e),new Lp(t)}})),_=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=`__TSS_CONTEXT`,y=Symbol.for(`TSS_SERVER_FUNCTION`),b=`application/x-tss-framed`,x={JSON:0,CHUNK:1,END:2,ERROR:3};`${b}`;var ee=/;\s*v=(\d+)/;function S(e){let t=e.match(ee);return t?parseInt(t[1],10):void 0}function C(e){let t=S(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var te=()=>window.__TSS_START_OPTIONS__;function ne(e){return e[e.length-1]}function re(e){return typeof e==`function`}function w(e,t){return re(e)?e(t):e}var ie=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;function oe(e){for(let t in e)if(ie.call(e,t))return!0;return!1}var se=()=>Object.create(null),ce=(e,t)=>le(e,t,se);function le(e,t,n=()=>({}),r=0){if(e===t)return e;if(r>500)return t;let i=t,a=de(e)&&de(i);if(!a&&!(E(e)&&E(i)))return i;let o=a?e:ue(e);if(!o)return i;let s=a?i:ue(i);if(!s)return i;let c=o.length,l=s.length,u=a?Array(l):n(),d=0;for(let t=0;t<l;t++){let o=a?t:s[t],l=e[o],f=i[o];if(l===f){u[o]=l,(a?t<c:ie.call(e,o))&&d++;continue}if(l===null||f===null||typeof l!=`object`||typeof f!=`object`){u[o]=f;continue}let p=le(l,f,n,r+1);u[o]=p,p===l&&d++}return c===l&&d===c?e:u}function ue(e){let t=Object.getOwnPropertyNames(e);for(let n of t)if(!ae.call(e,n))return!1;let n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;let r=t;for(let t of n){if(!ae.call(e,t))return!1;r.push(t)}return r}function E(e){if(!D(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!D(n)||!n.hasOwnProperty(`isPrototypeOf`))}function D(e){return Object.prototype.toString.call(e)===`[object Object]`}function de(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function fe(e,t,n){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!fe(e[r],t[r],n))return!1;return!0}if(E(e)&&E(t)){let r=n?.ignoreUndefined??!0;if(n?.partial){for(let i in t)if((!r||t[i]!==void 0)&&!fe(e[i],t[i],n))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(let t in e)e[t]!==void 0&&i++;let a=0;for(let o in t)if((!r||t[o]!==void 0)&&(a++,a>i||!fe(e[o],t[o],n)))return!1;return i===a}return!1}function pe(e){let t,n,r=new Promise((e,r)=>{t=e,n=r});return r.status=`pending`,r.resolve=n=>{r.status=`resolved`,r.value=n,t(n),e?.(n)},r.reject=e=>{r.status=`rejected`,n(e)},r}function me(e){return typeof e?.message==`string`?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`):!1}
10function O(e){return!!(e&&typeof e==`object`&&typeof e.then==`function`)}var k=/[\x00-\x1f\x7f"<>`{}]/g;function he(e){return e.replace(k,e=>`%`+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,`0`))}function ge(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return he(t)}var _e=[`http:`,`https:`,`mailto:`,`tel:`];function ve(e,t){if(!e)return!1;try{let n=new URL(e);return!t.has(n.protocol)}catch{return!1}}var ye={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},be=/[&><\u2028\u2029]/g;function xe(e){return e.replace(be,e=>ye[e])}function Se(e){if(!e||!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith(`//`))return{path:e,handledProtocolRelativeURL:!1};let t=/%25|%5C/gi,n=0,r=``,i;for(;(i=t.exec(e))!==null;)r+=ge(e.slice(n,i.index))+i[0],n=t.lastIndex;r+=ge(n?e.slice(n):e);let a=!1;return r.startsWith(`//`)&&(a=!0,r=`/`+r.replace(/^\/+/,``)),{path:r,handledProtocolRelativeURL:a}}function Ce(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function we(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Te(){throw Error(`Invariant failed`)}function Ee(e){let t=new Map,n,r,i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){let n=t.get(e);if(n)return i(n),n.value},set(a,o){if(t.size>=e&&n){let e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}let s=t.get(a);if(s)s.value=o,i(s);else{let e={key:a,value:o,prev:r};r&&(r.next=e),r=e,n||=e,t.set(a,e)}},clear(){t.clear(),n=void 0,r=void 0}}}var De=4,Oe=5;function ke(e){let t=e.indexOf(`{`);if(t===-1)return null;let n=e.indexOf(`}`,t);return n===-1||t+1>=e.length?null:[t,n]}function Ae(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);if(!a||!a.includes(`$`))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if(a===`$`){let r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(a.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;let o=ke(a);if(o){let[r,s]=o,c=a.charCodeAt(r+1);if(c===45){if(r+2<a.length&&a.charCodeAt(r+2)===36){let e=r+3,a=s;if(e<a)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+a,n[4]=t+s+1,n[5]=i,n}}else if(c===36){let a=r+1,o=r+2;return o===s?(n[0]=2,n[1]=t+r,n[2]=t+a,n[3]=t+o,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+o,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function je(e,t,n,r,i,a,o){o?.(n);let s=r;{let r=n.fullPath??n.from,o=r.length,c=n.options?.caseSensitive??e,l=n.options?.params?.parse??n.options?.parseParams;for(;s<o;){let e=Ae(r,s,t),o,u=s,d=e[5];switch(s=d+1,a++,e[0]){case 0:{let t=r.substring(e[2],e[3]);if(c){let e=i.static?.get(t);if(e)o=e;else{i.static??=new Map;let e=Pe(n.fullPath??n.from);e.parent=i,e.depth=a,o=e,i.static.set(t,e)}}else{let e=t.toLowerCase(),r=i.staticInsensitive?.get(e);if(r)o=r;else{i.staticInsensitive??=new Map;let t=Pe(n.fullPath??n.from);t.parent=i,t.depth=a,o=t,i.staticInsensitive.set(e,t)}}break}case 1:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.dynamic?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=Fe(1,n.fullPath??n.from,f,p,m);o=e,e.depth=a,e.parent=i,i.dynamic??=[],i.dynamic.push(e)}break}case 3:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.optional?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=Fe(3,n.fullPath??n.from,f,p,m);o=e,e.parent=i,e.depth=a,i.optional??=[],i.optional.push(e)}break}case 2:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),l=c&&!!(t||s),f=t?l?t:t.toLowerCase():void 0,p=s?l?s:s.toLowerCase():void 0,m=Fe(2,n.fullPath??n.from,l,f,p);o=m,m.parent=i,m.depth=a,i.wildcard??=[],i.wildcard.push(m)}}i=o}
10if(l&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf(`/`)+1)===95){let e=Pe(n.fullPath??n.from);e.kind=Oe,e.parent=i,a++,e.depth=a,i.pathless??=[],i.pathless.push(e),i=e}let u=(n.path||!n.children)&&!n.isRoot;if(u&&r.endsWith(`/`)){let e=Pe(n.fullPath??n.from);e.kind=De,e.parent=i,a++,e.depth=a,i.index=e,i=e}i.parse=l??null,i.priority=n.options?.params?.priority??0,u&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(let r of n.children)je(e,t,r,s,i,a,o)}function Me(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function Ne(e){if(e.pathless)for(let t of e.pathless)Ne(t);if(e.static)for(let t of e.static.values())Ne(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())Ne(t);if(e.dynamic?.length){e.dynamic.sort(Me);for(let t of e.dynamic)Ne(t)}if(e.optional?.length){e.optional.sort(Me);for(let t of e.optional)Ne(t)}if(e.wildcard?.length){e.wildcard.sort(Me);for(let t of e.wildcard)Ne(t)}}function Pe(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,priority:0}}function Fe(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function Ie(e,t){let n=Pe(`/`),r=new Uint16Array(6);for(let t of e)je(!1,r,t,1,n,0);Ne(n),t.masksTree=n,t.flatCache=Ee(1e3)}function Le(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=He(e,t.masksTree);return t.flatCache.set(e,r),r}function Re(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=Pe(`/`),je(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),He(r,o,n)}function ze(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=He(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=We(a.route)),t.matchCache.set(r,a),a}function Be(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function Ve(e,t=!1,n){let r=Pe(e.fullPath),i=new Uint16Array(6),a={},o={},s=0;return je(t,i,e,1,r,0,e=>{if(n?.(e,s),e.id in a&&Te(),a[e.id]=e,s!==0&&e.path){let t=Be(e.fullPath);(!o[t]||e.fullPath.endsWith(`/`))&&(o[t]=e)}s++}),Ne(r),{processedTree:{segmentTree:r,singleCache:Ee(1e3),matchCache:Ee(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function He(e,t,n=!1){let r=e.split(`/`),i=Ke(e,r,t,n);if(!i)return null;let[a]=Ue(e,r,i);return{route:i.node.route,rawParams:a}}function Ue(e,t,n){let r=Ge(n.node),i=null,a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.segment??0;for(;s<r.length;o++,s++,c++,l++){let u=r[s];if(u.kind===De)break;if(u.kind===Oe){l--,o--,c--;continue}let d=t[o],f=c;if(d&&(c+=d.length),u.kind===1){i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0;if(e.charCodeAt(t)===123){let n=u.suffix?.length??0,r=e.substring(t+2,e.length-n-1),i=d.substring(t,d.length-n);a[r]=decodeURIComponent(i)}else{let t=e.substring(1);a[t]=decodeURIComponent(d)}}else if(u.kind===3){if(n.skipped&1<<s){o--,c=f-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,p=e.substring(t+3,e.length-r-1),m=u.suffix||u.prefix?d.substring(t,d.length-r):d;m&&(a[p]=decodeURIComponent(m))}else if(u.kind===2){let t=u,n=e.substring(f+(t.prefix?.length??0),e.length-(t.suffix?.length??0)),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,segment:l}]}function We(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function Ge(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function Ke(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let i=!ne(t),a=i&&e!==`/`,o=t.length-+!!i,s=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],c=null,l=null;for(;s.length;){let n=s.pop(),{node:i,index:u,skipped:d,depth:f,statics:p,dynamics:m,optionals:h}=n,{extract:g,rawParams:_}=n;if(i.kind===2&&i.route&&!Xe(l,n))continue;if(i.parse){if(!Ye(e,t,n))continue;_=n.rawParams,g=n.extract}r&&i.route&&i.kind!==De&&Xe(c,n)&&(c=n);let v=u===o;if(v&&(i.route&&(!a||i.kind===De||i.kind===2)&&Xe(l,n)&&(l=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let y=v?void 0:t[u],b;if(v&&i.index){let n={node:i.index,index:u,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_},r=!0;
10if(i.index.parse&&(Ye(e,t,n)||(r=!1)),r){if(!m&&!h&&!d&&Je(p,o))return n;Xe(l,n)&&(l=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!(r&&(v||!(n.caseSensitive?y:b??=y.toLowerCase()).startsWith(r)))){if(a){if(v)continue;let e=t.slice(u).join(`/`).slice(-a.length);if((n.caseSensitive?e:e.toLowerCase())!==a)continue}s.push({node:n,index:o,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}if(i.optional){let e=d|1<<f,t=f+1;for(let n=i.optional.length-1;n>=0;n--){let r=i.optional[n];s.push({node:r,index:u,skipped:e,depth:t,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v)for(let e=i.optional.length-1;e>=0;e--){let n=i.optional[e],{prefix:r,suffix:a}=n;if(r||a){let e=n.caseSensitive?y:b??=y.toLowerCase();if(r&&!e.startsWith(r)||a&&!e.endsWith(a))continue}s.push({node:n,index:u+1,skipped:d,depth:t,statics:p,dynamics:m,optionals:h+qe(o,u),extract:g,rawParams:_})}}if(!v&&i.dynamic&&y)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?y:b??=y.toLowerCase();if(n&&!e.startsWith(n)||r&&!e.endsWith(r))continue}s.push({node:t,index:u+1,skipped:d,depth:f+1,statics:p,dynamics:m+qe(o,u),optionals:h,extract:g,rawParams:_})}if(!v&&i.staticInsensitive){let e=i.staticInsensitive.get(b??=y.toLowerCase());e&&s.push({node:e,index:u+1,skipped:d,depth:f+1,statics:p+qe(o,u),dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v&&i.static){let e=i.static.get(y);e&&s.push({node:e,index:u+1,skipped:d,depth:f+1,statics:p+qe(o,u),dynamics:m,optionals:h,extract:g,rawParams:_})}if(i.pathless){let e=f+1;for(let t=i.pathless.length-1;t>=0;t--){let n=i.pathless[t];s.push({node:n,index:u,skipped:d,depth:e,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}}if(l)return l;if(r&&c){let n=c.index;for(let e=0;e<c.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return c.rawParams??=Object.create(null),c.rawParams[`**`]=decodeURIComponent(r),c}return null}function qe(e,t){return 2**(e-t-1)}function Je(e,t){return e===2**(t-1)-1}function Ye(e,t,n){let r,i;try{[r,i]=Ue(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function Xe(e,t){return!e||t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===De)>(e.node.kind===De)||t.node.kind===De==(e.node.kind===De)&&t.depth>e.depth)))}function Ze(e){return Qe(e.filter(e=>e!==void 0).join(`/`))}function Qe(e){return e.replace(/\/{2,}/g,`/`)}function $e(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function et(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function tt(e){return et($e(e))}function nt(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function rt(e,t,n){return nt(e,n)===nt(t,n)}function it({base:e,to:t,trailingSlash:n=`never`,cache:r}){let i=t.startsWith(`/`),a=!i&&t===`.`,o;if(r){o=i?t:a?e:e+`\0`+t;let n=r.get(o);if(n)return n}let s;if(a)s=e.split(`/`);else if(i)s=t.split(`/`);else{for(s=e.split(`/`);s.length>1&&ne(s)===``;)s.pop();let n=t.split(`/`);for(let e=0,t=n.length;e<t;e++){let r=n[e];r===``?e?e===t-1&&s.push(r):s=[r]:r===`..`?s.pop():r===`.`||s.push(r)}}s.length>1&&(ne(s)===``?n===`never`&&s.pop():n===`always`&&s.push(``));let c=Qe(s.join(`/`))||`/`;return o&&r&&r.set(o,c),c}function at(e){let t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),r=new RegExp(n,`g`);return e=>e.replace(r,e=>t.get(e)??e)}function ot(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>ct(e,n)).join(`/`):ct(r,n):r}function st({path:e,params:t,decoder:n,...r}){let i=!1,a=Object.create(null);if(!e||e===`/`)return{interpolatedPath:`/`,usedParams:a,isMissingParams:i};if(!e.includes(`$`))return{interpolatedPath:e,usedParams:a,isMissingParams:i};let o=e.length,s=0,c,l=``;for(;s<o;){let r=s;c=Ae(e,r,c);let o=c[5];if(s=o+1,r===o)continue;let u=c[0];if(u===0){l+=`/`+e.substring(r,o);continue}if(u===2){let s=t._splat;a._splat=s,a[`*`]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o);if(!s){i=!0,(u||d)&&(l+=`/`+u+d);continue}let f=ot(`_splat`,t,n);l+=`/`+u+f+d;continue}if(u===1){let s=e.substring(c[2],c[3]);!i&&!(s in t)&&(i=!0),a[s]=t[s];
10let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=ot(s,t,n)??`undefined`;l+=`/`+u+f+d;continue}if(u===3){let i=e.substring(c[2],c[3]),s=t[i];if(s==null)continue;a[i]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=ot(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function ct(e,t){let n=encodeURIComponent(e);return t?.(n)??n}function lt(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function ut(e){return e?.isNotFound===!0}function dt(){try{return sessionStorage}catch{return}}var ft=`tsr-scroll-restoration-v1_3`,pt=dt();function mt(){try{return JSON.parse(pt?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}function ht(){try{pt?.setItem(ft,JSON.stringify(gt))}catch{}}var gt=mt(),_t=`data-scroll-restoration-id`,vt=e=>e.state.__TSR_key||e.href;function yt(e){let t=e.getAttribute(_t);if(t)return`[${_t}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var bt=!1,xt=`window`;function St(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function Ct(e){let t=new Set;for(let n of e){if(n===xt)continue;let e=St(n);e&&t.add(e)}return t}function wt(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.restoring=!0);let i=e.options.getScrollRestorationKey||vt,a=new Set,o=e=>{let t=gt[e]||={};for(let e of a)e===document?t[xt]={scrollX,scrollY}:e.isConnected&&(t[yt(e)]={scrollX:e.scrollLeft,scrollY:e.scrollTop})};n&&!r.restoration&&(r.restoration=!0,bt=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,e=>{bt||a.add(e.target)},!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&o(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{o(i(e.stores.resolvedLocation.get()??e.stores.location.get())),ht()})),!r.reset&&(r.reset=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.next,c=r.hash,l;if(a.clear(),r.next=!0,r.hash=!1,typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let u=i(t.toLocation),d=t.fromLocation&&i(t.fromLocation);if(r.restoring&&d&&d!==u){let e=gt[d];if(e){let t=gt[u];for(let n in e){if(n===xt){if(s)continue}else{let e=St(n);if(!e||s&&o&&(l??=Ct(o),l.has(e)))continue}t||=gt[u]={},t[n]??=e[n]}}}bt=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){!e&&o&&(l??=Ct(o));let t=e&&i&&c,s=r.restoring?gt[u]:void 0;if(s)for(let e in s){let{scrollX:r,scrollY:i}=s[e];if(e===xt){if(t)continue;scrollTo({top:i,left:r,behavior:n}),a=!0}else{let t=St(e);t&&(t.scrollLeft=r,t.scrollTop=i,l?.delete(t))}}if(!e){let e={top:0,left:0,behavior:n};if(a||scrollTo(e),l)for(let t of l)t.scrollTo(e)}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{bt=!1}}))}function Tt(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function Et(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function Dt(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=Et(r):Array.isArray(t)?t.push(Et(r)):n[e]=[t,Et(r)]}return n}var Ot=At(JSON.parse),kt=jt(JSON.stringify,JSON.parse);function At(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=Dt(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function jt(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=Tt(e,r);return t?`?${t}`:``}}var Mt=`__root__`;function Nt(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{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function Pt(e){return e instanceof Response&&!!e.options}function Ft(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return Nt(e)}function It(e){return{input:({url:t})=>{for(let n of e)t=Rt(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=zt(e[n],t);return t}}}function Lt(e){let t=tt(e.basepath),n=`/${t}`,r=e.caseSensitive?n:n.toLowerCase(),i=`${r}/`;return{input:({url:t})=>{let a=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return a===r?t.pathname=`/`:a.startsWith(i)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=Ze([`/`,t,e.pathname]),e)}}function Rt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function zt(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Bt(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>Vt(o,_.get())),x=r(()=>Vt(s,v.get())),ee=r(()=>Vt(c,y.get())),S=r(()=>_.get()[0]),C=r(()=>_.get().some(e=>
10o.get(e)?.get().status===`pending`)),te=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),ne=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),re=Ee(64);function w(e){let t=re.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),re.set(e,t)),t}let ie={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:ee,firstId:S,hasPending:C,matchRouteDeps:te,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:ne,getRouteMatchStore:w,setMatches:ae,setPending:oe,setCached:se};ae(e.matches),a?.(ie);function ae(e){Ht(e,o,_,n,i)}function oe(e){Ht(e,s,v,n,i)}function se(e){Ht(e,c,y,n,i)}return ie}function Vt(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function Ht(e,t,n,r,i){let a=e.map(e=>e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}we(n.get(),a)||n.set(a)})}var Ut=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Wt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Gt=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Kt=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);
10i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},qt=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},Jt=(e,t,n)=>{if(!(!Pt(n)&&!ut(n)))throw Pt(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:Pt(n)?`redirected`:ut(n)?`notFound`:r.status===`pending`?`success`:r.status,context:Kt(e,t.index),isFetching:!1,error:n})),ut(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),Pt(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},Yt=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},Xt=(e,t,n)=>{let r=Kt(e,n);e.updateMatch(t,e=>({...e,context:r}))},Zt=(e,t,n)=>{let{id:r,routeId:i}=e.matches[t],a=e.router.looseRoutesById[i];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,Jt(e,e.router.getMatch(r),n);try{a.options.onError?.(n)}catch(t){n=t,Jt(e,e.router.getMatch(r),n)}e.updateMatch(r,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!Pt(n)&&!ut(n)&&(e.serialError??=n)},Qt=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Gt(e,t)&&(n.options.loader||n.options.beforeLoad||un(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{Ut(e)},i);r._nonReactive.pendingTimeout=t}},$t=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Qt(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&Jt(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},en=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=pe(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&Zt(e,n,o),s&&Zt(e,n,s),Qt(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=pe();let f={...Kt(e,n,!1),...i.__routeContext},{search:p,params:m,cause:h}=i,g=Gt(e,t),_={search:p,abortController:c,params:m,preload:g,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:g?`preload`:h,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},v=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(Pt(r)||ut(r))&&(u(),Zt(e,n,r)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},y;try{if(y=r.options.beforeLoad(_),O(y))return u(),y.catch(t=>{Zt(e,n,t)}).then(v)}catch(t){u(),Zt(e,n,t)}v(y)},tn=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>en(e,n,t,i),s=()=>{if(Yt(e,n))return;let t=$t(e,n,i);return O(t)?t.then(o):o()};return a()},nn=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},rn=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=Kt(e,r),d=Gt(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},an=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{ln(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(rn(e,t,n,r,i)),l=!!s&&O(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;Jt(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:Kt(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>
10({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:Kt(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,ut(t)&&await i.options.notFoundComponent?.preload?.(),Jt(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,Jt(e,e.router.getMatch(n),t)}!Pt(o)&&!ut(o)&&await ln(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:Kt(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),Jt(e,r,t)}},on=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(rn(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await an(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){Pt(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await an(e,t,i,n,d):Xt(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(Yt(e,i)){if(!e.router.getMatch(i))return e.matches[n];Xt(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=Gt(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&Jt(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=pe(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function sn(e){let t=e,n=[];Wt(t.router)&&Ut(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=tn(t,e);O(n)&&await n}catch(e){if(Pt(e))throw e;if(ut(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?qt(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(on(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(Pt(e))throw e;ut(e)?s??=e:c??=e}if(c!==void 0)throw c}let l=s??(r&&!t.preload?r:void 0),u=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!l&&r&&t.preload)return t.matches;if(l){let e=qt(t,l);e===void 0&&Te();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),l.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:l},isFetching:!1})),u=e,await ln(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await ln(e,[`errorComponent`])}for(let e=0;e<=u;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=nn(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let d=Ut(t);if(O(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function cn(e,t){let n=t.map(t=>
10e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function ln(e,t=dn){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===dn?(()=>{if(e._componentsPromise===void 0){let t=cn(e,dn);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():cn(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function un(e){for(let t of dn)if(e.options[t]?.preload)return!0;return!1}var dn=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],fn=`__TSR_index`,pn=`popstate`,mn=`beforeunload`;function hn(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=yn(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[fn];i=gn(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[fn];i=gn(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[fn]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function gn(e,t){t||={};let n=bn();return{...t,key:n,__TSR_key:n,[fn]:e}}function _n(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>yn(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=bn();t.history.replaceState({[fn]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(S._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),S._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=yn(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),S.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[fn]-l.state[fn],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),S.notify(u);return}}}l=c(),S.notify(u)},ee=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},S=hn({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(mn,ee,{capture:!0}),t.removeEventListener(pn,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});
10return t.addEventListener(mn,ee,{capture:!0}),t.addEventListener(pn,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return S._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return S._ignoreSubscribers||b(`REPLACE`),n},S}function vn(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function yn(e,t){let n=vn(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=bn();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[fn]:0,key:a,__TSR_key:a}}}function bn(){return(Math.random()+1).toString(36).substring(7)}function xn(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Sn(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var Cn=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=at(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=_n()),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 e;this.resolvePathCache=Ee(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Bt(En(this.latestLocation),e),wt(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=tt(o);t&&t!==`/`&&e.push(Lt({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:It(e),this.history&&this.updateLatestLocation(),a=!0}a&&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=()=>{let e=Ve(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&Ie(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:Se(e).path,external:!1,searchStr:o,search:ce(t?.search,i),hash:Se(r.slice(1)).path,state:le(t?.state,a)}}let o=new URL(i,this.origin),s=Rt(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:Se(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:ce(t?.search,c),hash:Se(s.hash.slice(1)).path,state:le(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>it({base:e,to:t.includes(`//`)?Qe(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>On({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);
10t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let i=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,a=t.to?`${t.to}`:void 0,o=r.search,s=Object.assign(Object.create(null),r.params),c=a?.charCodeAt(0)===47?`/`:this.resolvePathWithBase(i,`.`),l=a?this.resolvePathWithBase(c,a):c,u=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?s:Object.assign(s,w(t.params,s)),d=this.routesByPath[et(l)],f;if(d)f=this.getRouteBranch(d);else if(l.includes(`$`))f=[];else{let e=this.getMatchedRoutes(l);f=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||e.foundRoute.path!==`/`&&e.routeParams[`**`])&&(f=[...f,this.options.notFoundRoute])}if(f.length&&oe(u))for(let e of f){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(u,t(u))}catch{}}let p=e.leaveParams?l:Se(st({path:l,params:u,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,m=o;if(e._includeValidateSearch&&this.options.search?.strict){let e={};f.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,Dn(t.options.validateSearch,{...e,...m}))}catch{}}),m=e}m=kn({search:m,dest:t,destRoutes:f,_includeValidateSearch:e._includeValidateSearch}),m=ce(o,m);let h=this.options.stringifySearch(m),g=t.hash===!0?n.hash:t.hash?w(t.hash,n.hash):void 0,_=g?`#${g}`:``,v=t.state===!0?n.state:t.state?w(t.state,n.state):{};v=le(n.state,v);let y=`${p}${h}${_}`,b,x,ee=!1;if(this.rewrite){let e=new URL(y,this.origin),t=zt(this.rewrite,e);b=e.href.replace(e.origin,``),t.origin===this.origin?x=t.pathname+t.search+t.hash:(x=t.href,ee=!0)}else b=Ce(y),x=b;return{publicHref:x,href:b,pathname:p,search:m,searchStr:h,state:v,hash:g??``,external:ee,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=Le(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,w(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r,i=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=fe(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},a=et(this.latestLocation.href)===et(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=pe(()=>{o?.resolve(),o=void 0}),a&&i())this.load();else{let{maskedLocation:i,hashScrollIntoView:a,...o}=n;i&&(o={...i,state:{...i.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state.__hashScrollIntoViewOptions=a??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,r=n.replace?`REPLACE`:`PUSH`,this.history[r===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:t})}return this._scroll.next=n.resetScroll??!0,this.history.subscribers.size||this.load(r?{action:{type:r}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=yn(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=Rt(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return queueMicrotask(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}
10catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(ve(t,this.protocolAllowlist))return;if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return}i.replace?window.location.replace(t):window.location.href=t;return}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.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(e),this.stores.setCached(t)})},this.load=async e=>{let t=e?.action?.type,n,r,i,a=this.stores.resolvedLocation.get()??this.stores.location.get();for(i=new Promise(o=>{this.startTransition(async()=>{try{this.beforeLoad(),t&&(this._scroll.hash=t===`PUSH`||t===`REPLACE`);let n=this.latestLocation,r=Sn(n,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await sn({router:this,sync:e?.sync,forceStaleReload:a.href===n.href,matches:this.stores.pendingMatches.get(),location:n,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){Pt(e)?(n=e,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):ut(e)&&(r=e);let t=n?n.status:r?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(t),this.stores.redirect.set(n)})}this.latestLoadPromise===i&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),o()})}),this.latestLoadPromise=i,await i;this.latestLoadPromise&&i!==this.latestLoadPromise;)await this.latestLoadPromise;let o;this.hasNotFoundMatch()?o=404:this.stores.matches.get().some(e=>e.status===`error`)&&(o=500),o!==void 0&&this.stores.statusCode.set(o)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(Sn(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pe
10ndingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&ve(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`||e-t.updatedAt>=r}})},this.loadRouteChunk=ln,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await sn({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(Pt(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});ut(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=Re(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!fe(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?fe(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??kt,parseSearch:e.parseSearch??Ot,protocolAllowlist:e.protocolAllowlist??_e}),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:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=We(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i}=n,{matchedRoutes:a}=n,o=!1;(r?r.path!==`/`&&i[`**`]:et(e.pathname))&&(this.options.notFoundRoute?a=[...a,this.options.notFoundRoute]:o=!0);let s=o?jn(this.options.notFoundMode,a):void 0,c=Array(a.length),l=new Map;for(let e of this.stores.matchStores.values())e.routeId&&l.set(e.routeId,e.get());for(let n=0;n<a.length;n++){let r=a[n],o=c[n-1],u,d,f;{let n=o?.search??e.search,i=o?._strictSearch??void 0;try{let e=Dn(r.options.validateSearch,{...n})??void 0;u={...n,...e},d={...i,...e},f=void 0}catch(e){let r=e;if(e instanceof wn||(r=new wn(e.message,{cause:e})),t?.throwOnError)throw r;u=n,d={},f=r}}let p=r.options.loaderDeps?.({search:u})??``,m=p?JSON.stringify(p):``,{interpolatedPath:h,usedParams:g}=st({path:r.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),_=r.id+h+m,v=this.getMatch(_),y=l.get(r.id),b=v?._strictParams??g,x;if(!v)try{Mn(r,b)}catch(e){if(x=ut(e)||Pt(e)?e:new Tn(e.message,{cause:e}),t?.throwOnError)throw x}Object.assign(i,b);let ee=y?`stay`:`enter`,S;if(v)S={...v,cause:ee,params:y?.params??i,_strictParams:b,search:ce(y?y.search:v.search,u),_strictSearch:d};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||un(r)?`pending`:`success`;S={id:_,ssr:r.options.ssr,index:n,routeId:r.id,params:y?.params??i,_strictParams:b,pathname:h,updatedAt:Date.now(),search:y?ce(y.search,u):u,_strictSearch:d,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:x,__routeC
10ontext:void 0,_nonReactive:{loadPromise:pe()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ee,loaderDeps:y?le(y.loaderDeps,p):p,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(S.globalNotFound=s===r.id),S.searchError=f;let C=this.getParentContext(o);S.context={...C,...S.__routeContext,...S.__beforeLoadContext},c[n]=S}for(let t=0;t<c.length;t++){let n=c[t],r=this.looseRoutesById[n.routeId],a=this.getMatch(n.id),o=l.get(n.routeId);if(n.params=o?ce(o.params,i):i,!a){let i=c[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:c,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return c}matchRoutesLightweight(e){let t=ne(this.stores.matchesId.get()),n=this.lightweightCache.get(e);if(n&&n[0]===t)return n[1];let{matchedRoutes:r,routeParams:i}=this.getMatchedRoutes(e.pathname),a=ne(r),o={...e.search};for(let e of r)try{Object.assign(o,Dn(e.options.validateSearch,o))}catch{}let s=t&&this.stores.matchStores.get(t)?.get(),c=s&&s.routeId===a.id&&s.pathname===e.pathname,l;if(c)l=s.params;else{let e=Object.assign(Object.create(null),i);for(let t of r)try{Mn(t,e)}catch{}l=e}let u={matchedRoutes:r,fullPath:a.fullPath,search:o,params:l};return this.lightweightCache.set(e,[t,u]),u}},wn=class extends Error{},Tn=class extends Error{};function En(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Dn(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new wn(`Async validation not supported`);if(n.issues)throw new wn(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function On({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=et(e),a,o=ze(i,n,!0);return o&&(a=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:o?.branch||[t.__root__],routeParams:r,foundRoute:a}}function kn({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return An(n)(e,t,r??!1)}function An(e){let t,n,r=[];for(let t of e){let e=t.options;`search`in e?e.search?.middlewares&&r.push(...e.search.middlewares):(e.preSearchFilters||e.postSearchFilters)&&r.push(({search:t,next:n})=>{let r=n(e.preSearchFilters?e.preSearchFilters.reduce((e,t)=>t(e),t):t);return e.postSearchFilters?e.postSearchFilters.reduce((e,t)=>t(e),r):r});let i=e.validateSearch;i&&r.push(({search:e,next:t,meta:r})=>{let a=t(e);if(n)try{let e=Dn(i,a);if(r&&e)for(let t in e)t in a||(r.defaulted||=new Map).set(t,e[t]);return{...a,...e}}catch{}return a})}let i=(e,n,a)=>{if(e>=r.length){if(!t.search)return{};if(t.search===!0)return n;let e=w(t.search,n);return a&&(a.explicit=e),e}return r[e]({search:n,next:(t,n)=>{if(n){let n=a||{};return{search:i(e+1,t,n),meta:n}}return i(e+1,t,a)},meta:a})};return function(e,r,a){return t=r,n=a,i(0,e)}}function jn(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return Mt}function Mn(e,t){let n=e.options.params?.parse??e.options.parseParams;if(n){let e=n(t);if(e===!1)throw Error(`Route params.parse returned false for a matched route`);Object.assign(t,e)}}var Nn=Symbol.for(`TSR_DEFERRED_PROMISE`);function Pn(e,t){let n=e;return n[Nn]?n:(n[Nn]={status:`pending`},n.then(e=>{n[Nn].status=`success`,n[Nn].data=e}).catch(e=>{n[Nn].status=`error`,n[Nn].error={data:(t?.serializeError??xn)(e),__isServerError:!0}}),n)}var Fn=`Error preloading route! âï¸`;function In(e,t){if(e)return typeof e==`string`?e:e[t]}function Ln(e){return e?.scriptFormat??`module`}function Rn(e,t,n){let r=zn(t),i=In(n,`script`)??r.crossOrigin;return{...Ln(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function zn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function Bn(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function Vn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}var Hn=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=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=Mt:this.parentRoute||Te();let r=n?Mt:t?.path;r&&r!==`/`&&(r=$e(r));let i=t?.id||r,a=n?Mt:Ze([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);
10r===`__root__`&&(r=`/`),a!==`__root__`&&(a=Ze([`/`,a]));let o=a===`__root__`?`/`:Ze([this.parentRoute.fullPath,r]);this._path=r,this._id=a,this._fullPath=o,this._to=et(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>Nt({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},Un=class extends Hn{constructor(e){super(e)}},Wn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(Wn||{}),Gn=Symbol.asyncIterator,Kn=Symbol.hasInstance,qn=Symbol.isConcatSpreadable,Jn=Symbol.iterator,Yn=Symbol.match,Xn=Symbol.matchAll,Zn=Symbol.replace,Qn=Symbol.search,$n=Symbol.species,er=Symbol.split,tr=Symbol.toPrimitive,nr=Symbol.toStringTag,rr=Symbol.unscopables,ir={[Gn]:0,[Kn]:1,[qn]:2,[Jn]:3,[Yn]:4,[Xn]:5,[Zn]:6,[Qn]:7,[$n]:8,[er]:9,[tr]:10,[nr]:11,[rr]:12},ar={0:Gn,1:Kn,2:qn,3:Jn,4:Yn,5:Xn,6:Zn,7:Qn,8:$n,9:er,10:tr,11:nr,12:rr},A=void 0,or={2:!0,3:!1,1:A,0:null,4:-0,5:1/0,6:-1/0,7:NaN},sr={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},cr={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function j(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function lr(e){return j(2,A,e,A,A,A,A,A,A,A,A,A)}var ur=lr(2),dr=lr(3),fr=lr(1),pr=lr(0),mr=lr(4),hr=lr(5),gr=lr(6),_r=lr(7);function vr(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 A}}function yr(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=vr(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function br(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 xr(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,br)}var Sr=`__SEROVAL_REFS__`,Cr=new Map,wr=new Map;function Tr(e){return Cr.has(e)}function Er(e){return wr.has(e)}function Dr(e){if(Tr(e))return Cr.get(e);throw new hi(e)}function Or(e){if(Er(e))return wr.get(e);throw new gi(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,Sr,{value:wr,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,Sr,{value:wr,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,Sr,{value:wr,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,Sr,{value:wr,configurable:!0,writable:!1,enumerable:!1});function kr(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 Ar(e){let t=sr[kr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function jr(e,t){let n=Ar(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function Mr(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function Nr(e){switch(e){case 1/0:return hr;case-1/0:return gr}return e===e?Object.is(e,-0)?mr:j(0,A,e,A,A,A,A,A,A,A,A,A):_r}function Pr(e){return j(1,A,yr(e),A,A,A,A,A,A,A,A,A)}function Fr(e){return j(3,A,``+e,A,A,A,A,A,A,A,A,A)}function Ir(e){return j(4,e,A,A,A,A,A,A,A,A,A,A)}function Lr(e,t){let n=t.valueOf();return j(5,e,n===n?t.toISOString():``,A,A,A,A,A,A,A,A,A)}function Rr(e,t){return j(6,e,A,yr(t.source),t.flags,A,A,A,A,A,A,A)}function zr(e,t){return j(17,e,ir[t],A,A,A,A,A,A,A,A,A)}function Br(e,t){return j(18,e,yr(Dr(t)),A,A,A,A,A,A,A,A,A)}function Vr(e,t,n){return j(25,e,n,yr(t),A,A,A,A,A,A,A,A)}function Hr(e,t,n){return j(9,e,A,A,A,A,A,n,A,A,Mr(t),A)}function Ur(e,t){return j(21,e,A,A,A,A,A,A,t,A,A,A)}function Wr(e,t,n){return j(15,e,A,t.constructor.name,A,A,A,A,n,t.byteOffset,A,t.length)}function Gr(e,t,n){return j(16,e,A,t.constructor.name,A,A,A,A,n,t.byteOffset,A,t.length)}function Kr(e,t,n){return j(20,e,A,A,A,A,A,A,n,t.byteOffset,A,t.byteLength)}function qr(e,t,n){return j(13,e,kr(t),A,yr(t.message),n,A,A,A,A,A,A)}function Jr(e,t,n){return j(14,e,kr(t),A,yr(t.message),n,A,A,A,A,A,A)}function Yr(e,t){return j(7,e,A,A,A,A,A,t,A,A,A,A)}function Xr(e,t){return j(28,A,A,A,A,A,A,[e,t],A,A,A,A)}function Zr(e,t){return j(30,A,A,A,A,A,A,[e,t],A,A,A,A)}function Qr(e,t,n){return j(31,e,A,A,A,A,A,n,t,A,A,A)}function $r(e,t){return j(32,e,A,A,A,A,A,A,t,A,A,A)}function ei(e,t){return j(33,e,A,A,A,A,A,A,t,A,A,A)}function ti(e,t){return j(34,e,A,A,A,A,A,A,t,A,A,A)}function ni(e,t,n,r){return j(35,e,n,A,A,A,A,t,A,A,A,r)}var{toString:ri}
12=Object.prototype,ii={parsing:1,serialization:2,deserialization:3};function ai(e){return`Seroval Error (step: ${ii[e]})`}var oi=(e,t)=>ai(e),si=class extends Error{constructor(e,t){super(oi(e,t)),this.cause=t}},ci=class extends si{constructor(e){super(`parsing`,e)}},li=class extends si{constructor(e){super(`deserialization`,e)}};function ui(e){return`Seroval Error (specific: ${e})`}var di=class extends Error{constructor(e){super(ui(1)),this.value=e}},fi=class extends Error{constructor(e){super(ui(2))}},pi=class extends Error{constructor(e){super(ui(3))}},mi=class extends Error{constructor(e){super(ui(4))}},hi=class extends Error{constructor(e){super(ui(5)),this.value=e}},gi=class extends Error{constructor(e){super(ui(6))}},_i=class extends Error{constructor(e){super(ui(7))}},vi=class extends Error{constructor(e){super(ui(8))}},yi=class extends Error{constructor(e){super(ui(9))}},bi=class{constructor(e,t){this.value=e,this.replacement=t}},xi=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};xi.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var Si=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};Si.toString();var Ci=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};Ci.toString();var wi=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};wi.toString();var Ti=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};Ti.toString();function Ei(e){return`__SEROVAL_SEQUENCE__`in e}function Di(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function Oi(e){let t=[],n=-1,r=-1,i=e[Jn]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return Di(t,n,r)}var ki=Ci(Jn);function Ai(e){return ki(e)}var ji={},Mi={},Ni={0:{},1:{},2:{},3:{},4:{},5:{}};function Pi(e){return`__SEROVAL_STREAM__`in e}function Fi(){return Si()}function Ii(e){let t=Fi(),n=e[Gn]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Li=wi(Gn,xi);function Ri(e){return Li(e)}async function zi(e){try{return[1,await e]}catch(e){return[0,e]}}function Bi(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Vi(e,t){e.marked.add(t)}function M(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function N(e,t){let n=e.refs.get(t);return n==null?{type:0,value:M(e,t)}
12:(Vi(e,n),{type:1,value:Ir(n)})}function Hi(e,t){let n=N(e,t);return n.type===1?n:Tr(t)?{type:2,value:Br(n.value,t)}:n}function Ui(e,t){let n=Hi(e,t);if(n.type!==0)return n.value;if(t in ir)return zr(n.value,t);throw new di(t)}function Wi(e,t){let n=N(e,Ni[t]);return n.type===1?n.value:j(26,n.value,t,A,A,A,A,A,A,A,A,A)}function Gi(e){let t=N(e,ji);return t.type===1?t.value:j(27,t.value,A,A,A,A,A,A,Ui(e,Jn),A,A,A)}function Ki(e){let t=N(e,Mi);return t.type===1?t.value:j(29,t.value,A,A,A,A,A,[Wi(e,1),Ui(e,Gn)],A,A,A,A)}function qi(e,t,n,r){return j(n?11:10,e,A,A,A,r,A,A,A,A,Mr(t),A)}function Ji(e,t,n,r){return j(8,t,A,A,A,A,{k:n,v:r},A,Wi(e,0),A,A,A)}function Yi(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return j(19,t,yr(btoa(i)),A,A,A,A,A,Wi(e,5),A,A,A)}function Xi(e,t){return{base:Bi(e,t),child:void 0}}var Zi=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return P(this._p,this.depth,e)}};async function Qi(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await P(e,t,n[i]):r[i]=0;return r}async function $i(e,t,n,r){return Hr(n,r,await Qi(e,t,r))}async function ea(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(yr(r[n][0])),a.push(await P(e,t,r[n][1]));return Jn in n&&(i.push(Ui(e.base,Jn)),a.push(Xr(Gi(e.base),await P(e,t,Oi(n))))),Gn in n&&(i.push(Ui(e.base,Gn)),a.push(Zr(Ki(e.base),await P(e,t,Ii(n))))),nr in n&&(i.push(Ui(e.base,nr)),a.push(Pr(n[nr]))),qn in n&&(i.push(Ui(e.base,qn)),a.push(n[qn]?ur:dr)),{k:i,v:a}}async function ta(e,t,n,r,i){return qi(n,r,i,await ea(e,t,r))}async function na(e,t,n,r){return Ur(n,await P(e,t,r.valueOf()))}async function ra(e,t,n,r){return Wr(n,r,await P(e,t,r.buffer))}async function ia(e,t,n,r){return Gr(n,r,await P(e,t,r.buffer))}async function aa(e,t,n,r){return Kr(n,r,await P(e,t,r.buffer))}async function oa(e,t,n,r){let i=jr(r,e.base.features);return qr(n,r,i?await ea(e,t,i):A)}async function sa(e,t,n,r){let i=jr(r,e.base.features);return Jr(n,r,i?await ea(e,t,i):A)}async function ca(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await P(e,t,n)),a.push(await P(e,t,o));return Ji(e.base,n,i,a)}async function la(e,t,n,r){let i=[];for(let n of r.keys())i.push(await P(e,t,n));return Yr(n,i)}async function ua(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return Vr(n,o.tag,await o.parse.async(r,new Zi(e,t),{id:n}))}return A}async function da(e,t,n,r){let[i,a]=await zi(r);return j(12,n,i,A,A,A,A,A,await P(e,t,a),A,A,A)}function fa(e,t,n,r,i){let a=[],o=n.on({next:n=>{Vi(this.base,t),P(this,e,n).then(e=>{a.push($r(t,e))},e=>{i(e),o()})},throw:n=>{Vi(this.base,t),P(this,e,n).then(e=>{a.push(ei(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{Vi(this.base,t),P(this,e,n).then(e=>{a.push(ti(t,e)),r(a),o()},e=>{i(e),o()})}})}async function pa(e,t,n,r){return Qr(n,Wi(e.base,4),await new Promise(fa.bind(e,t,n,r)))}async function ma(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await P(e,t,r.v[n]);return ni(n,i,r.t,r.d)}async function ha(e,t,n,r){if(Array.isArray(r))return $i(e,t,n,r);if(Pi(r))return pa(e,t,n,r);if(Ei(r))return ma(e,t,n,r);let i=r.constructor;if(i===bi)return P(e,t,r.replacement);let a=await ua(e,t,n,r);if(a)return a;switch(i){case Object:return ta(e,t,n,r,!1);case A:return ta(e,t,n,r,!0);case Date:return Lr(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return oa(e,t,n,r);case Number:case Boolean:case String:case BigInt:return na(e,t,n,r);case ArrayBuffer:return Yi(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return ra(e,t,n,r);case DataView:return aa(e,t,n,r);case Map:return ca(e,t,n,r);case Set:return la(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return da(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return Rr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return ia(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return sa(e,t,n,r);if(r instanceof Error)return oa(e,t,n,r);if(Jn in r||Gn in r)return ta(e,t,n,r,!!i);throw new di(r)}async function ga(e,t,n){let r=Hi(e.base,n);if(r.type!==0)return r.value;let i=await ua(e,t,r.value,n);if(i)return i;throw new di(n)}async function P(e,t,n){switch(typeof n){case`boolean`:return n?ur:dr;case`undefined`:return fr;case`string`:return Pr(n);case`number`:return Nr(n);case`bigint`:return Fr(n);case`object`:if(n){let r=Hi(e.base,n);return r.type===0?await ha(e,t+1,r.value,n):r.value}return pr;case`symbol`:return Ui(e.base,n);case`function`:return ga(e,t,n);default:throw new di(n)}}async function _a(e,t){try{return await P(e,0,t)}catch(e){throw e instanceof ci?e:new ci(e)}}var va=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(va||{});function ya(e){return e}function ba(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&ba(e,r.extends))}}function xa(e){if(e){let t=new Set;return ba(t,e),[...t]}}function Sa(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 _i(e)}}function Ca(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function wa(e){switch(e){case Gn:case qn:case nr:case Jn:return!0;default:return!1}}var Ta=1e6,Ea=1e4,Da=2e4;function Oa(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var ka=1e3;function Aa(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||ka}}
12function ja(e){return{mode:2,base:Aa(2,e),child:A}}var Ma=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return F(this._p,this.depth,e)}};function Na(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new vi({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function Pa(e,t,n){return Na(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function Fa(e,t,n){return Na(e.base,t),e.base.refs.set(t,n),n}function Ia(e,t,n){return e.mode===1?Pa(e,t,n):Fa(e,t,n)}function La(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new vi(e)}function Ra(e,t){return Ia(e,t.i,Or(xr(t.s)))}function za(e,t,n){let r=n.a,i=r.length,a=Ia(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=F(e,t,o));return Oa(a,n.o),a}function Ba(e,t,n){Ca(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function Va(e,t,n,r,i){if(typeof r==`string`)Ba(n,xr(r),F(e,t,i));else{let a=F(e,t,r);switch(typeof a){case`string`:Ba(n,a,F(e,t,i));break;case`symbol`:wa(a)&&(n[a]=F(e,t,i));break;default:throw new vi(r)}}}function Ha(e,t,n){e.base.refs.types.set(t,n)}function Ua(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new vi(t)}function Wa(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)Va(e,t,r,i[a],o[a]);return r}function Ga(e,t,n){let r=Ia(e,n.i,n.t===10?{}:Object.create(null));return Wa(e,t,n.p,r),Oa(r,n.o),r}function Ka(e,t){return Ia(e,t.i,new Date(t.s))}function qa(e,t){if(e.base.features&32){let n=xr(t.c);if(n.length>Da)throw new vi(t);return Ia(e,t.i,new RegExp(n,t.m))}throw new fi(t)}function Ja(e,t,n){let r=Ia(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(F(e,t,a[i]));return r}function Ya(e,t,n){let r=Ia(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(F(e,t,a[i]),F(e,t,o[i]));return r}function Xa(e,t){if(t.s.length>Ta)throw new vi(t);return Ia(e,t.i,Ti(xr(t.s)))}function Za(e,t,n){let r=Sa(n.c),i=F(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new vi(n);return Ia(e,n.i,new r(i,a,n.l))}function Qa(e,t,n){let r=F(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new vi(n);return Ia(e,n.i,new DataView(r,i,n.l))}function $a(e,t,n,r){if(n.p){let i=Wa(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function eo(e,t,n){return $a(e,t,n,Ia(e,n.i,AggregateError([],xr(n.m))))}function to(e,t,n){let r=La(n,cr,n.s);return $a(e,t,n,Ia(e,n.i,new r(xr(n.m))))}function no(e,t,n){let r=xi(),i=Ia(e,n.i,r.p),a=F(e,t,n.f);return n.s?r.s(a):r.f(a),i}function ro(e,t,n){return Ia(e,n.i,Object(F(e,t,n.f)))}function io(e,t,n){let r=e.base.plugins;if(r){let i=xr(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return Ia(e,n.i,o.deserialize(n.s,new Ma(e,t),{id:n.i}))}}throw new pi(n.c)}function ao(e,t){let n=Ia(e,t.i,Ia(e,t.s,xi()).p);return Ha(e,t.s,22),n}function oo(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ua(e,n,n.i,22),r.s(F(e,t,n.a[1])),A;throw new mi(`Promise`)}function so(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ua(e,n,n.i,22),r.f(F(e,t,n.a[1])),A;throw new mi(`Promise`)}function co(e,t,n){return F(e,t,n.a[0]),Ai(F(e,t,n.a[1]))}function lo(e,t,n){return F(e,t,n.a[0]),Ri(F(e,t,n.a[1]))}function uo(e,t,n){let r=Ia(e,n.i,Fi());Ha(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)F(e,t,i[n]);return r}function fo(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ua(e,n,n.i,31),r.next(F(e,t,n.f)),A;throw new mi(`Stream`)}function po(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ua(e,n,n.i,31),r.throw(F(e,t,n.f)),A;throw new mi(`Stream`)}function mo(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ua(e,n,n.i,31),r.return(F(e,t,n.f)),A;throw new mi(`Stream`)}function ho(e,t,n){return F(e,t,n.f),A}function go(e,t,n){return F(e,t,n.a[1]),A}function _o(e,t,n){let r=Ia(e,n.i,Di([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=F(e,t,n.a[i]);return r}function F(e,t,n){if(t>e.base.depthLimit)throw new yi(e.base.depthLimit);switch(t+=1,n.t){case 2:return La(n,or,n.s);case 0:return Number(n.s);case 1:return xr(String(n.s));case 3:if(String(n.s).length>Ea)throw new vi(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Ra(e,n);case 9:return za(e,t,n);case 10:case 11:return Ga(e,t,n);case 5:return Ka(e,n);case 6:return qa(e,n);case 7:return Ja(e,t,n);case 8:return Ya(e,t,n);case 19:return Xa(e,n);
12case 16:case 15:return Za(e,t,n);case 20:return Qa(e,t,n);case 14:return eo(e,t,n);case 13:return to(e,t,n);case 12:return no(e,t,n);case 17:return La(n,ar,n.s);case 21:return ro(e,t,n);case 25:return io(e,t,n);case 22:return ao(e,n);case 23:return oo(e,t,n);case 24:return so(e,t,n);case 28:return co(e,t,n);case 30:return lo(e,t,n);case 31:return uo(e,t,n);case 32:return fo(e,t,n);case 33:return po(e,t,n);case 34:return mo(e,t,n);case 27:return ho(e,t,n);case 29:return go(e,t,n);case 35:return _o(e,t,n);default:throw new fi(n)}}function vo(e,t){try{return F(e,0,t)}catch(e){throw new li(e)}}var I=(()=>T).toString();/=>/.test(I);function L(e,t){return vo(ja({plugins:xa(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function yo(e,t={}){let n=Xi(1,{plugins:xa(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await _a(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function bo(e){return e}function xo(e){return ya({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var So=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},Co=globalThis.Buffer,wo=!!Co&&typeof Co.from==`function`;function To(e){if(e.length===0)return``;if(wo)return Co.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function Eo(e){if(e.length===0)return new Uint8Array;
12if(wo){let t=Co.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var R=Object.create(null),Do=Object.create(null),Oo=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(Eo(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),ko=new TextEncoder,Ao=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(ko.encode(e)):t.enqueue(Eo(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),jo=`(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(_){}}})}}))`,Mo=`(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 No(e){let t=Fi(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(To(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function Po(e){let t=Fi(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:To(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var Fo=ya({tag:`tss/RawStream`,extends:[ya({tag:`tss/RawStreamFactory`,test(e){return e===R},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return jo},deserialize(e,t,n){return R}}),ya({tag:`tss/RawStreamFactoryText`,test(e){return e===Do},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return Mo},deserialize(e,t,n){return Do}})],test(e){return e instanceof So},parse:{sync(e,t,n){let r=e.hint===`text`?Do:R;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(Fi())}},async async(e,t,n){let r=e.hint===`text`?Do:R,i=e.hint===`text`?Po(e.stream):No(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?Do:R,i=e.hint===`text`?Po(e.stream):No(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?Ao(r):Oo(r)}});function Io(e){return ya({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var Lo=ya({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),Ro={},zo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),Bo=ya({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===Ro},parse:{sync(){return Ro},async async(){return await Promise.resolve(Ro)},stream(){return Ro}},serialize(){return zo.toString()},deserialize(){return Ro}});async function Vo(e,t){try{let n=await t.read();n.done?(e.return(n.value),t.releaseLock()):(e.next(n.value),await Vo(e,t))}catch(t){e.throw(t)}}function Ho(e){e.cancel().catch(()=>{}),e.releaseLock()}function Uo(e){let t=Fi(),n=e.getReader(),r=Ho.bind(null,n);return Vo(t,n).catch(r),[t,r]}var Wo=[Lo,Fo,ya({tag:`seroval/plugins/web/ReadableStream`,extends:[Bo],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(Ro),stream:t.parse(Fi())}},async async(e,t){return{factory:await t.parse(Ro),stream:await t.parse(Uo(e)[0])}},stream(e,t){let[n,r]=Uo(e);return t.addCleanup(r),{factory:t.parse(Ro),stream:t.parse(n)}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return zo(t.deserialize(e.stream))}})];function Go(){return[...(te()?.serializationAdapters)?.map(xo)??[],...Wo]}var Ko=new TextDecoder,qo=new Uint8Array,Jo=16*1024*1024,Yo=32*1024*1024,Xo=1024,Zo=1e5;function Qo(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}
12t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=Xo)throw Error(`Too many raw streams in framed response (max ${Xo})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return qo;let t=c[0];if(t&&t.length>=e){let n=t.subarray(0,e);return t.length===e?c.shift():c[0]=t.subarray(e),l-=e,n}let n=new Uint8Array(e),r=0,i=e;for(;i>0&&c.length>0;){let e=c[0];if(!e)break;let t=Math.min(e.length,i);n.set(e.subarray(0,t),r),r+=t,i-=t,t===e.length?c.shift():c[0]=e.subarray(t)}return l-=e,n}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;if(a){if(l+a.length>Yo)throw Error(`Framed response buffer exceeded ${Yo} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==x.JSON&&n!==x.CHUNK&&n!==x.END&&n!==x.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===x.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>Jo)throw Error(`Frame payload too large: ${a} bytes (max ${Jo})`);let c=9+a;if(l<c)break;if(++o>Zo)throw Error(`Too many frames in framed response (max ${Zo})`);f(9);let p=f(a);switch(n){case x.JSON:try{s.enqueue(Ko.decode(p))}catch{}break;case x.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case x.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case x.ERROR:{let e=u(i);if(r.add(i),e){let n=Ko.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var $o=null;async function es(e){e.length>0&&await Promise.allSettled(e)}var ts=Object.prototype.hasOwnProperty;function ns(e){for(let t in e)if(ts.call(e,t))return!0;return!1}async function rs(e,t,n){$o||=Go();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${b}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await is(r);if(t!==void 0){let n=Tt({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await os(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await ss(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function is(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&ns(e.context)&&(t=!0,n.context=e.context),t)return as(n)}async function as(e){return JSON.stringify(await Promise.resolve(yo(e,{plugins:$o})))}async function os(e){if(e.data instanceof FormData){let t;return e.context&&ns(e.context)&&(t=await as(e.context)),t!==void 0&&e.data.set(v,t),{body:e.data}}let t=await is(e);if(t)return{body:t,contentType:`application/json`}}async function ss(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||Te(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(C(n),!t.body)throw Error(`No response body for framed response`);
12let{getOrCreateStream:r,jsonChunks:i}=Qo(t.body),a=[Io(r),...$o||[]],o=new Map;e=await cs({jsonStream:i,onMessage:e=>L(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(n.includes(`application/json`)){let n=await t.json(),r=[];try{e=L(n,{plugins:$o})}finally{}await es(r)}if(e||Te(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=Ft(e);if(n)throw n;if(ut(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function cs({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await es(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await es(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function ls(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=te()?.serverFns?.fetch;return rs(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[y]:!0})}var us=bo({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(y in e)?!1:!!e[y],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>ls(e)});function ds(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function fs(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function ps(e){window.$_TSR||Te();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||Te();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=ds(e.i)}),n.lastMatchId&&=ds(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o},await e.options.hydrate?.(i);let s=e.matchRoutes(e.stores.location.get()),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=pe();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}fs(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.stores.setMatches(s);let f=e.stores.matches.get(),p=e.stores.location.get();await Promise.all(f.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=f[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:p,navigate:t=>e.navigate({...t,_fromLocation:p}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:f,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(ut(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let m=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!m)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),c;let h=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(m){let t=s[1];t||Te(),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=h,h.then(()=>{e.batch(()=>
12{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var z=l(d(),1),ms=z.use,hs=typeof window<`u`?z.useLayoutEffect:z.useEffect;function gs(e){let t=z.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function _s(e,t,n={},r={}){z.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function vs(e){let t=z.useRef(null);return z.useImperativeHandle(e,()=>t.current,[]),t}var ys=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),bs=o(((e,t)=>{t.exports=ys()})),B=bs();function xs({promise:e}){if(ms)return ms(e);let t=Pn(e);if(t[Nn].status===`pending`)throw t;if(t[Nn].status===`error`)throw t[Nn].error;return t[Nn].data}function Ss(e){let t=(0,B.jsx)(Cs,{...e});return e.fallback?(0,B.jsx)(z.Suspense,{fallback:e.fallback,children:t}):t}function Cs(e){let t=xs(e);return e.children(t)}function ws(e){let t=e.errorComponent??Es;return(0,B.jsx)(Ts,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?z.createElement(t,{error:n,reset:r}):e.children})}var Ts=class extends z.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Es({error:e}){let[t,n]=z.useState(!1);return(0,B.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,B.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,B.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,B.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,B.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,B.jsx)(`div`,{children:(0,B.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,B.jsx)(`code`,{children:e.message}):null})}):null]})}function Ds({children:e,fallback:t=null}){return Os()?(0,B.jsx)(z.Fragment,{children:e}):(0,B.jsx)(z.Fragment,{children:t})}function Os(){return z.useSyncExternalStore(ks,()=>!0,()=>!1)}function ks(){return()=>{}}var As=z.createContext(null);function js(e){return z.useContext(As)}var Ms=z.createContext(void 0),Ns=z.createContext(void 0),V=(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))(V||{});function Ps({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;
12if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Fs(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Is=[],Ls=0,{link:Rs,unlink:zs,propagate:Bs,checkDirty:Vs,shallowPropagate:Hs}=Ps({update(e){return e._update()},notify(e){Is[Ws++]=e,e.flags&=~V.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=V.Mutable|V.Dirty,Js(e))}}),Us=0,Ws=0,Gs,Ks=0;function qs(e){try{++Ks,e()}finally{--Ks||Ys()}}function Js(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=zs(n,e)}function Ys(){if(!(Ks>0)){for(;Us<Ws;){let e=Is[Us];Is[Us++]=void 0,e.notify()}Us=0,Ws=0}}function Xs(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?V.None:V.Mutable,get(){return Gs!==void 0&&Rs(i,Gs,Ls),i._snapshot},subscribe(e){let t=Fs(e),n={current:!1},r=Zs(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=Gs,o=t?.compare??Object.is;if(n)Gs=i,++Ls,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=V.Mutable|V.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{Gs=a,n&&(i.flags&=~V.RecursedCheck),Js(i)}}};return n?(i.flags=V.Mutable|V.Dirty,i.get=function(){let e=i.flags;if(e&V.Dirty||e&V.Pending&&Vs(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Hs(e)}}else e&V.Pending&&(i.flags=e&~V.Pending);return Gs!==void 0&&Rs(i,Gs,Ls),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(Bs(e),Hs(e),Ys())}},i}function Zs(e){let t=()=>{let t=Gs;Gs=n,++Ls,n.depsTail=void 0,n.flags=V.Watching|V.RecursedCheck;try{return e()}finally{Gs=t,n.flags&=~V.RecursedCheck,Js(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:V.Watching|V.RecursedCheck,notify(){let e=this.flags;e&V.Dirty||e&V.Pending&&Vs(this.deps,this)?t():this.flags=V.Watching},stop(){this.flags=V.None,this.depsTail=void 0,Js(this)}};return t(),n}var Qs=o((e=>{var t=d();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),$s=o(((e,t)=>{t.exports=Qs()})),ec=o((e=>{var t=d(),n=$s();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),tc=o(((e,t)=>{t.exports=ec()}))();function nc(e,t){return e===t}function H(e,t,n=nc){let r=(0,z.useCallback)(t=>{if(!e)return()=>{};let{unsubscribe:n}=e.subscribe(t);return n},[e]),i=(0,z.useCallback)(()=>e?.get(),[e]);return(0,tc.useSyncExternalStoreWithSelector)(r,i,i,t,n)}var rc={get(){},subscribe(){return{unsubscribe(){}}}};function ic(e,t){let n=z.useRef();return r=>{let i=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=le(n.current,i):i}}function U(e){let t=js(),n=z.useContext(e.from?Ns:Ms),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(n),i=ic(e,t),a=H(r??rc,e=>e?i(e):rc);if(a!==rc)return a;(e.shouldThrow??!0)&&Te()}function ac(e){return U({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function oc(e){let{select:t,...n}=e;return U({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function sc(e){return U({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function cc(e){return U({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function lc(e){let t=js();return z.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function uc(e){return U({...e,select:t=>e.select?e.select(t.context):t.context})}var dc=l(h(),1);function fc(e,t){let n=js(),r=vs(t),{activeProps:i,inactiveProps:a,activeOptions:o,to:s,preload:c,preloadDelay:l,preloadIntentProximity:u,hashScrollIntoView:d,replace:f,startTransition:p,resetScroll:m,viewTransition:h,children:g,target:_,disabled:v,style:y,className:b,onClick:x,onBlur:ee,onFocus:S,onMouseEnter:C,onMouseLeave:te,onTouchStart:ne,ignoreBlocker:re,params:ie,search:ae,hash:oe,state:se,mask:ce,reloadDocument:le,unsafeRelative:ue,from:E,_fromLocation:D,...de}=e,pe=Os(),me=z.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),O=H(n.stores.location,e=>e,(e,t)=>e.href===t.href),k=z.useMemo(()=>{let e={_fromLocation:O,...me};return n.buildLocation(e)},[n,O,me]),he=k.maskedLocation?k.maskedLocation.publicHref:k.publicHref,ge=k.maskedLocation?k.maskedLocation.external:k.external,_e=z.useMemo(()=>xc(he,ge,n.history,v),[v,ge,he,n.history]),ye=z.useMemo(()=>
12{if(_e?.external)return ve(_e.href,n.protocolAllowlist)?void 0:_e.href;if(!Sc(s)&&!(typeof s!=`string`||s.indexOf(`:`)===-1))try{return new URL(s),ve(s,n.protocolAllowlist)?void 0:s}catch{}},[s,_e,n.protocolAllowlist]),be=z.useMemo(()=>{if(ye)return!1;if(o?.exact){if(!rt(O.pathname,k.pathname,n.basepath))return!1}else{let e=nt(O.pathname,n.basepath),t=nt(k.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(o?.includeSearch??!0)&&!fe(O.search,k.search,{partial:!o?.exact,ignoreUndefined:!o?.explicitUndefined})?!1:!o?.includeHash||pe&&O.hash===k.hash},[o?.exact,o?.explicitUndefined,o?.includeHash,o?.includeSearch,O,ye,pe,k.hash,k.pathname,k.search,n.basepath]),xe=be?w(i,{})??mc:pc,Se=be?pc:w(a,{})??pc,Ce=[b,xe.className,Se.className].filter(Boolean).join(` `),we=(y||xe.style||Se.style)&&{...y,...xe.style,...Se.style},[Te,Ee]=z.useState(!1),De=z.useRef(!1),Oe=e.reloadDocument||ye?!1:c??n.options.defaultPreload,ke=l??n.options.defaultPreloadDelay??0,Ae=z.useCallback(()=>{n.preloadRoute({...me,_builtLocation:k}).catch(e=>{console.warn(e),console.warn(Fn)})},[n,me,k]);_s(r,z.useCallback(e=>{e?.isIntersecting&&Ae()},[Ae]),yc,{disabled:!!v||Oe!==`viewport`}),z.useEffect(()=>{De.current||!v&&Oe===`render`&&(Ae(),De.current=!0)},[v,Ae,Oe]);let je=e=>{let t=e.currentTarget.getAttribute(`target`),r=_===void 0?t:_;if(!v&&!wc(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,dc.flushSync)(()=>{Ee(!0)});let t=n.subscribe(`onResolved`,()=>{t(),Ee(!1)});n.navigate({...me,replace:f,resetScroll:m,hashScrollIntoView:d,startTransition:p,viewTransition:h,ignoreBlocker:re})}};if(ye)return{...de,ref:r,href:ye,...g&&{children:g},..._&&{target:_},...v&&{disabled:v},...y&&{style:y},...b&&{className:b},...x&&{onClick:x},...ee&&{onBlur:ee},...S&&{onFocus:S},...C&&{onMouseEnter:C},...te&&{onMouseLeave:te},...ne&&{onTouchStart:ne}};let Me=e=>{if(v||Oe!==`intent`)return;if(!ke){Ae();return}let t=e.currentTarget;if(vc.has(t))return;let n=setTimeout(()=>{vc.delete(t),Ae()},ke);vc.set(t,n)},Ne=e=>{v||Oe!==`intent`||Ae()},Pe=e=>{if(v||!Oe||!ke)return;let t=e.currentTarget,n=vc.get(t);n&&(clearTimeout(n),vc.delete(t))};return{...de,...xe,...Se,href:_e?.href,ref:r,onClick:bc([x,je]),onBlur:bc([ee,Pe]),onFocus:bc([S,Me]),onMouseEnter:bc([C,Me]),onMouseLeave:bc([te,Pe]),onTouchStart:bc([ne,Ne]),disabled:!!v,target:_,...we&&{style:we},...Ce&&{className:Ce},...v&&hc,...be&&gc,...pe&&Te&&_c}}var pc={},mc={className:`active`},hc={role:`link`,"aria-disabled":!0},gc={"data-status":`active`,"aria-current":`page`},_c={"data-transitioning":`transitioning`},vc=new WeakMap,yc={rootMargin:`100px`},bc=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function xc(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function Sc(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Cc=z.forwardRef((e,t)=>{let{_asChild:n,...r}=e,{type:i,...a}=fc(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return z.createElement(`a`,t,o)}return z.createElement(n,a,o)});function wc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Tc=class extends Hn{constructor(e){super(e),this.useMatch=e=>U({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>uc({...e,from:this.id}),this.useSearch=e=>cc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>sc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>oc({...e,from:this.id}),this.useLoaderData=e=>ac({...e,from:this.id}),this.useNavigate=()=>lc({from:this.fullPath}),this.Link=z.forwardRef((e,t)=>(0,B.jsx)(Cc,{ref:t,from:this.fullPath,...e}))}};function Ec(e){return new Tc(e)}function Dc(){return e=>kc(e)}var Oc=class extends Un{constructor(e){super(e),this.useMatch=e=>U({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>uc({...e,from:this.id}),this.useSearch=e=>cc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>sc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>oc({...e,from:this.id}),this.useLoaderData=e=>ac({...e,from:this.id}),this.useNavigate=()=>lc({from:this.fullPath}),this.Link=z.forwardRef((e,t)=>
12(0,B.jsx)(Cc,{ref:t,from:this.fullPath,...e}))}};function kc(e){return new Oc(e)}function Ac(e){return new jc(e,{silent:!0}).createRoute}var jc=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=Ec(e);return t.isRoot=!1,t},this.silent=t?.silent}};function Mc(e,t){let n,r,i,a,o=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(i=e,me(i)&&i instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),a=!0)}}),n),s=function(e){if(a)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(ms)ms(o());else throw o();return z.createElement(r,e)};return s.preload=o,s}function Nc(e){let t=js(),n=`not-found-${H(t.stores.location,e=>e.pathname)}-${H(t.stores.status,e=>e)}`;return(0,B.jsx)(ws,{getResetKey:()=>n,onCatch:(t,n)=>{if(ut(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(ut(t))return e.fallback?.(t);throw t},children:e.children})}function Pc(){return(0,B.jsx)(`p`,{children:`Not Found`})}function Fc(e){return(0,B.jsx)(B.Fragment,{children:e.children})}function Ic(e,t,n){return t.options.notFoundComponent?(0,B.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,B.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,B.jsx)(Pc,{})}var Lc=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Rc=(e,t)=>e[0]===t[0]&&e[1]===t[1],W=z.memo(function({matchId:e}){let t=js(),n=t.stores.matchStores.get(e);n||Te();let r=H(t.stores.loadedAt,e=>e),i=H(n,e=>e,Lc);return(0,B.jsx)(zc,{router:t,matchId:e,resetKey:r,matchState:z.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function zc({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,B.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?z.Suspense:Fc,f=s?ws:Fc,p=l?Nc:Fc;return(0,B.jsxs)(i.isRoot?i.options.shellComponent??Fc:Fc,{children:[(0,B.jsx)(Ms.Provider,{value:t,children:(0,B.jsx)(d,{fallback:o,children:(0,B.jsx)(f,{getResetKey:()=>n,errorComponent:s||Es,onCatch:(e,t)=>{if(ut(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,B.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return z.createElement(l,e)},children:u||r._displayPending?(0,B.jsx)(Ds,{fallback:o,children:(0,B.jsx)(Vc,{matchId:t})}):(0,B.jsx)(Vc,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Bc,{}),(e.options.scrollRestoration,null)]}):null]})}function Bc(){let e=js(),t=z.useRef();return hs(()=>{let n=e.stores.resolvedLocation.get(),r=t.current;n&&(!r||r.href!==n.href)&&e.emit({type:`onRendered`,...Sn(e.stores.location.get(),r??n)}),t.current=n},[H(e.stores.resolvedLocation,e=>e?.state.__TSR_key),e]),null}var Vc=z.memo(function({matchId:e}){let t=js(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||Te();let i=H(r,e=>e),a=i.routeId,o=t.routesById[a],s=z.useMemo(()=>{let e=(t.routesById[a].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:a,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[a,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),c=z.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?(0,B.jsx)(e,{},s):(0,B.jsx)(Hc,{})},[s,o.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);
12if(i.status===`pending`){let e=o.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=pe();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return ut(i.error)||Te(),Ic(t,o,i.error);if(i.status===`redirected`)throw Pt(i.error)||Te(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return c}),Hc=z.memo(function(){let e=js(),t=z.useContext(Ms),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=H(a,e=>[e?.routeId,e?.globalNotFound??!1],Rc),i=H(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,B.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||Te(),Ic(e,a,void 0);if(!i)return null;let s=(0,B.jsx)(W,{matchId:i});return n===`__root__`?(0,B.jsx)(z.Suspense,{fallback:o,children:s}):s});function Uc(){let e=js(),t=z.useRef({router:e,mounted:!1}),[n,r]=z.useState(!1),i=H(e.stores.isLoading,e=>e),a=H(e.stores.hasPending,e=>e),o=gs(i),s=i||n||a,c=gs(s),l=i||a,u=gs(l);return e.startTransition=e=>{r(!0),z.startTransition(()=>{e(),r(!1)})},z.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return et(e.latestLocation.publicHref)!==et(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),hs(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),hs(()=>{o&&!i&&e.emit({type:`onLoad`,...Sn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),hs(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...Sn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),hs(()=>
12{if(c&&!s){let t=Sn(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),qs(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())})}},[s,c,e]),null}function Wc(){let e=js(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,B.jsx)(t,{}):null,r=(0,B.jsxs)(typeof document<`u`&&e.ssr?Fc:z.Suspense,{fallback:n,children:[(0,B.jsx)(Uc,{}),(0,B.jsx)(Gc,{})]});return e.options.InnerWrap?(0,B.jsx)(e.options.InnerWrap,{children:r}):r}function Gc(){let e=js(),t=H(e.stores.firstId,e=>e),n=H(e.stores.loadedAt,e=>e),r=t?(0,B.jsx)(W,{matchId:t}):null;return(0,B.jsx)(Ms.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,B.jsx)(ws,{getResetKey:()=>n,errorComponent:Es,onCatch:void 0,children:r})})}var Kc=e=>({createMutableStore:Xs,createReadonlyStore:Xs,batch:qs}),qc=e=>new Jc(e),Jc=class extends Cn{constructor(e){super(e,Kc)}};function Yc({router:e,children:t,...n}){oe(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,B.jsx)(As.Provider,{value:e,children:t});return e.options.Wrap?(0,B.jsx)(e.options.Wrap,{children:r}):r}function Xc({router:e,...t}){return(0,B.jsx)(Yc,{router:e,...t,children:(0,B.jsx)(Wc,{})})}function Zc(e){let t=js();return H(t.stores.location,ic(e,t))}function Qc(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function $c(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e;switch(e.tag){case`title`:return(0,B.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,B.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,B.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,B.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,B.jsx)(el,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function el({attrs:e,children:t,preventScriptHoist:n}){js();let r=Os(),i=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(z.useEffect(()=>{if(!i){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();for(let e of document.querySelectorAll(`script[src]`))if(e.src===t)return;let n=document.createElement(`script`);return Qc(n,e),document.head.appendChild(n),()=>n.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.querySelectorAll(`script:not([src])`)){if(!(e instanceof HTMLScriptElement))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,Qc(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,i]),i&&typeof t==`string`)return(0,B.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!r){if(e?.src)return(0,B.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,B.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var tl=e=>{let t=js(),n=t.options.ssr?.nonce,r=H(t.stores.matches,e=>e.map(e=>e.meta).filter(e=>e!==void 0),fe),i=z.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:xe(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=H(t.stores.matches,e=>e.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:n}}
12)),fe),o=H(t.stores.matches,r=>{let i=t.ssr?.manifest,a=[];return i?(r.forEach(t=>{i.routes[t.routeId]?.css?.forEach(t=>{let r=Vn(t);a.push({tag:`link`,attrs:{rel:`stylesheet`,...r,crossOrigin:In(e,`stylesheet`)??r.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),i.inlineStyle&&a.push({tag:`style`,attrs:{...i.inlineStyle.attrs,nonce:n},children:i.inlineStyle.children,inlineCss:!0}),a):a},fe),s=H(t.stores.matches,r=>{let i=[],a=t.ssr?.manifest;return a&&r.forEach(t=>{a.routes[t.routeId]?.preloads?.forEach(t=>{i.push({tag:`link`,attrs:{...Rn(a,t,e),nonce:n}})})}),i},fe),c=H(t.stores.matches,e=>e.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),fe),l=H(t.stores.matches,e=>e.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),fe),u=[];return Bn(u,i),u.push(...s),Bn(u,a),u.push(...o),Bn(u,c),Bn(u,l),u};function nl(e){let t=tl(e.assetCrossOrigin),n=js().options.ssr?.nonce;return(0,B.jsx)(B.Fragment,{children:t.map(e=>(0,z.createElement)($c,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var rl=()=>{let e=js(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;if(!i)return[];for(let e of n){let n=i.routes[e.routeId]?.scripts;if(n)for(let e of n)r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children,...typeof e.attrs?.src==`string`?{preventScriptHoist:!0}:{}})}return r},r=e=>e.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e})),i=H(e.stores.matches,n,fe);return il(e,H(e.stores.matches,r,fe),i)};function il(e,t,n){let r=[...t,...n];return(0,B.jsx)(B.Fragment,{children:r.map((e,t)=>(0,z.createElement)($c,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var al=(e,t)=>{let n={type:`request`,...t||e},r=e=>al({},Object.assign(n,{validator:e,inputValidator:e}));return{options:n,middleware:e=>al({},Object.assign(n,{middleware:e})),validator:r,inputValidator:r,client:e=>al({},Object.assign(n,{client:e})),server:e=>al({},Object.assign(n,{server:e}))}};function ol(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&ol(e,r.extends))}}var sl=(e=>({getOptions:async()=>{let t=await e();if(t.serializationAdapters){let e=new Set;ol(e,t.serializationAdapters),t.serializationAdapters=Array.from(e)}return t},createMiddleware:al}))(()=>({})),cl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},G=new class extends cl{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},ll={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},ul=new class{#e=ll;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function dl(e){setTimeout(e,0)}var fl=typeof window>`u`||`Deno`in globalThis;function pl(){}function ml(e,t){return typeof e==`function`?e(t):e}function hl(e){return typeof e==`number`&&e>=0&&e!==1/0}function gl(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _l(e,t){return typeof e==`function`?e(t):e}function vl(e,t){return typeof e==`function`?e(t):e}function yl(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==xl(o,t.options))return!1}else if(!Cl(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function bl(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Sl(t.options.mutationKey)!==Sl(a))return!1}else if(!Cl(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function xl(e,t){return(t?.queryKeyHashFn||Sl)(e)}function Sl(e){return JSON.stringify(e,(e,t)=>Dl(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Cl(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Cl(e[n],t[n])):!1}var wl=Object.prototype.hasOwnProperty;function Tl(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=El(e)&&El(t);if(!r&&!(Dl(e)&&Dl(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:wl.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Tl(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function El(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Dl(e){if(!Ol(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!Ol(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function Ol(e){return Object.prototype.toString.call(e)===`[object Object]`}function kl(e){return new Promise(t=>{ul.setTimeout(t,e)})}function Al(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Tl(e,t)}function jl(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ml(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Nl=Symbol();function Pl(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Nl?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Fl(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Il=(()=>{let e=()=>fl;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ll(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Rl=dl;function zl(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Rl,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>
12{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var K=zl(),q=new class extends cl{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function J(e){return Math.min(1e3*2**e,3e4)}function Y(e){return(e??`online`)!==`online`||q.isOnline()}var X=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Bl(e){let t=!1,n=0,r,i=Ll(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new X(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>G.isFocused()&&(e.networkMode===`always`||q.isOnline())&&e.canRun(),u=()=>Y(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Il.isServer()?0:3),o=e.retryDelay??J,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),kl(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Vl=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hl(this.gcTime)&&(this.#e=ul.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Il.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(ul.clearTimeout(this.#e),this.#e=void 0)}};function Hl(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Fl(e,()=>t.signal,()=>n=!0)},u=Pl(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?Ml:jl;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Wl:Ul,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Ul(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Ul(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Wl(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Gl=class extends Vl{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Jl(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Jl(this.options);e.data!==void 0&&(this.setState(ql(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Al(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(pl).catch(pl):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>vl(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Nl||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
12Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>_l(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!gl(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Pl(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Hl(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Bl({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof X&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof X){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Kl(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...ql(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),K.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Kl(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Y(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function ql(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Jl(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
12Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Yl=class extends Vl{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Xl(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Bl({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),K.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Xl(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Zl=class extends cl{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Yl({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Ql(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Ql(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Ql(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>
vendor: 4,297 bytes, line 12
12e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Ql(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){K.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>bl(t,e))}findAll(e={}){return this.getAll().filter(t=>bl(e,t))}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return K.batch(()=>Promise.all(e.map(e=>e.continue().catch(pl))))}};function Ql(e){return e.options.scope?.id}var $l=class extends cl{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??xl(r,t),a=this.get(i);return a||(a=new Gl({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){K.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>yl(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>yl(e,t)):t}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){K.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){K.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},eu=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new $l,this.#t=e.mutationCache||new Zl,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=G.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=q.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(_l(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=ml(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return K.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;K.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return K.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=K.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(pl).catch(pl)}invalidateQueries(e,t={}){return K.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=K.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(pl)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(pl)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(_l(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(pl).catch(pl)}
12fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(pl).catch(pl)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return q.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Sl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Cl(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Sl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Cl(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=xl(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Nl&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},tu=z.createContext(void 0),nu=({client:e,children:t})=>(z.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,B.jsx)(tu.Provider,{value:e,children:t})),ru={en:{nav:{home:`Home`,parents:`For Parents`,teachers:`For Teachers`,features:`Features`,faq:`FAQ`,openMenu:`Open menu`,menu:`Menu`,main:`Main`,mobile:`Mobile`,skip:`Skip to content`,backHome:`Back to Home`},footer:{tagline:`A playful world where kids learn to earn, save, spend and invest.`,pages:`Pages`,contact:`Contact Us`,location:`Edmonton, AB · Canada`,privacy:`Privacy`,terms:`Terms`,builtWith:`Built with ð· for future finance whizzes.`},locale:{button:(e,t)=>`Region and language: ${e}, ${t}`,title:`Choose your region`,description:`Content, programs and partners can differ by region.`,northAmerica:`North America`,confirmTitle:`Confirm your location`,confirmBody:`Select the region to see content specific to your location.`,close:`Close`},platforms:{teacher:{action:`Teacher Access`},student:{action:`Play Now`},newTab:`(opens in a new tab)`},regions:{CA:`Canada`,US:`United States`},notFound:{title:`Page not found`,body:`The page you're looking for doesn't exist or has been moved.`,home:`Go home`},error:{title:`This page didn't load`,body:`Something went wrong on our end. You can try refreshing or head back home.`,retry:`Try again`,home:`Go home`}},fr:{nav:{home:`Accueil`,parents:`Pour les parents`,teachers:`Pour les enseignants`,features:`Fonctionnalités`,faq:`FAQ`,openMenu:`Ouvrir le menu`,menu:`Menu`,main:`Principal`,mobile:`Mobile`,skip:`Aller au contenu`,backHome:`Retour à lâaccueil`},footer:{tagline:`Un monde ludique où les enfants apprennent à gagner, épargner, dépenser et investir.`,pages:`Pages`,contact:`Nous joindre`,location:`Edmonton (Alberta) · Canada`,privacy:`Confidentialité`,terms:`Conditions`,builtWith:`Conçu avec ð· pour les futurs as de la finance.`},locale:{button:(e,t)=>`Région et langue : ${e}, ${t}`,title:`Choisissez votre région`,description:`Le contenu, les programmes et les partenaires peuvent varier selon la région.`,northAmerica:`Amérique du Nord`,confirmTitle:`Confirmez votre emplacement`,confirmBody:`Sélectionnez la région pour voir le contenu propre à votre emplacement.`,close:`Fermer`},platforms:{teacher:{action:`Accès enseignant`},student:{action:`Jouer maintenant`},newTab:`(sâouvre dans un nouvel onglet)`},regions:{CA:`Canada`,US:`Ãtats-Unis`},notFound:{title:`Page introuvable`,body:`La page que vous cherchez nâexiste pas ou a été déplacée.`,home:`Retour à lâaccueil`},error:{title:`Cette page ne sâest pas chargée`,body:`Un problème est survenu de notre côté. Essayez dâactualiser la page ou revenez à lâaccueil.`,retry:`Réessayer`,home:`Retour à lâaccueil`}}},iu={"en-CA":{region:`CA`,language:`en`,slug:void 0,languageLabel:`English`},"fr-CA":{region:`CA`,language:`fr`,slug:`fr-ca`,languageLabel:`Français`}
12,"en-US":{region:`US`,language:`en`,slug:`en-us`,languageLabel:`English`}},au=`en-CA`,ou=[{region:`CA`,locales:[`en-CA`,`fr-CA`]},{region:`US`,locales:[`en-US`]}];function su(e){if(e===void 0)return au;let t=Object.entries(iu).find(([,t])=>t.slug===e.toLowerCase());return t?t[0]:null}function cu(e){return su(e.split(`/`)[1]||void 0)??`en-CA`}function lu(e){return iu[su(e)??`en-CA`].language}function uu(e){return typeof e==`string`&&e in iu}function du(e){let[,t,...n]=e.split(`/`);return Object.values(iu).some(e=>e.slug===t?.toLowerCase())?`/${n.join(`/`)}`:e}function fu(e,t){let n=du(e),r=iu[t].slug;return r?n===`/`?`/${r}`:`/${r}${n}`:n}function pu(){let{pathname:e}=Zc(),t=cu(e);return{locale:t,...iu[t]}}function mu(e){return e[pu().language]}var hu=`/assets/styles-BBdK2z4G.css`;function gu(){let e=mu(ru).notFound;return(0,B.jsxs)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:[(0,B.jsx)(`meta`,{name:`robots`,content:`noindex`}),(0,B.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,B.jsx)(`h1`,{className:`text-7xl font-bold text-foreground`,children:`404`}),(0,B.jsx)(`h2`,{className:`mt-4 text-xl font-semibold text-foreground`,children:e.title}),(0,B.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.body}),(0,B.jsx)(`div`,{className:`mt-6`,children:(0,B.jsx)(Cc,{to:`/{-$locale}`,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:e.home})})]})]})}function _u({error:e,reset:t}){console.error(e);let n=js(),r=mu(ru).error,{locale:i}=pu();return(0,B.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,B.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,B.jsx)(`h1`,{className:`text-xl font-semibold tracking-tight text-foreground`,children:r.title}),(0,B.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:r.body}),(0,B.jsxs)(`div`,{className:`mt-6 flex flex-wrap justify-center gap-2`,children:[(0,B.jsx)(`button`,{onClick:()=>{n.invalidate(),t()},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:r.retry}),(0,B.jsx)(`a`,{href:fu(`/`,i),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:r.home})]})]})})}var vu=Dc()({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{title:`MoneyPrep â Fun Financial Literacy for Kids`},{name:`description`,content:`Playful games and lessons that teach kids to earn, save, spend wisely and invest. Trusted by 10,000+ parents and schools.`},{name:`author`,content:`MoneyPrep`},{property:`og:title`,content:`MoneyPrep â Fun Financial Literacy for Kids`},{property:`og:description`,content:`Playful games and lessons that teach kids to earn, save, spend wisely and invest.`},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`},{name:`theme-color`,content:`#FFFDF8`}],links:[{rel:`preconnect`,href:`https://fonts.googleapis.com`},{rel:`preconnect`,href:`https://fonts.gstatic.com`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap`},{rel:`stylesheet`,href:hu},{rel:`icon`,href:`/favicon.ico`}],scripts:[{src:`https://cdn.brevo.com/js/sdk-loader.js`,async:!0},{children:` 13 window.Brevo = window.Brevo || []; 14 Brevo.push([ 15 "init", 16 { 17 client_key: "pukvkgr0pfghk3d7z4tdxtdu", 18 // Optional: Add other initialization options, see documentation 19 } 20 ]);`}]}),shellComponent:yu,component:bu,notFoundComponent:gu,errorComponent:_u});function yu({children:e}){return(0,B.jsxs)(`html`,{lang:`en`,children:[(0,B.jsx)(`head`,{children:(0,B.jsx)(nl,{})}),(0,B.jsxs)(`body`,{children:[e,(0,B.jsx)(rl,{})]})]})}function bu(){let{queryClient:e}=vu.useRouteContext();return(0,B.jsx)(nu,{client:e,children:(0,B.jsx)(Hc,{})})}var xu=`mp:locale`;function Su(){try{let e=window.localStorage.getItem(xu);return uu(e)?e:null}catch{return null}}function Cu(e){try{window.localStorage.setItem(xu,e)}catch{}}var wu=`modulepreload`,Tu=function(e){return`/`+e},Eu={},Du=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Tu(t,n),t=s(t),t in Eu)return;Eu[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:wu,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n
20)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Ou=()=>Du(()=>import(`./route-BMiAqoc1.js`),__vite__mapDeps([0,1])),ku=!0,Au=Ac(`/{-$locale}`)({beforeLoad:({params:e,location:t})=>{let n=su(e.locale);if(!n)throw lt();let r=ku;if(ku=!1,r&&e.locale===void 0){let e=Su();if(e&&e!==n)throw Nt({href:`${fu(t.pathname,e)}${t.searchStr}${t.hash?`#${t.hash}`:``}`,replace:!0})}},component:Mc(Ou,`component`)}),ju={en:{meta:{title:`MoneyPrep â Fun Financial Literacy for Kids`,description:`Playful games and lessons that teach kids to earn, save, spend wisely and invest. Trusted by 10,000+ parents and schools.`},hero:{label:`Financial Wellness · For Youth`,title:{before:`The Ultimate `,accent:`Learning`,after:` Experience`},body:`MoneyPrep brings FUNancial literacy into classrooms and homes with curriculum-aligned lessons and interactive play. Kids immerse themselves in the world of money - turning FUN into smart financial habits that last.`},features:[{title:`Learn & Earn`,desc:`Kids earn points, badges and bonuses for completing challenges. They can compete or learn solo.`,tag:`Learn â Points`},{title:`Achievements`,desc:`Leaderboards, certificates and in-game milestones provide return-to-learn incentive. more play = more practice = more skills.`,tag:`Personal Goals`},{title:`Real World Application`,desc:`MoneyPrep helps kids connect the dots between interactive play and everyday life - giving them insight into how to manage money and reach their goals, for real!`,tag:`Everyday Value`}],games:{label:`How it works`,title:{line1:`Fun Interactive Play`,before:`for `,accent:`Money Smart Kids`},body:`MoneyPrep fulfills ALL the specific financial literacy objectives set out by every Province & State. And FUN is always at the core of the learning!`,bullets:[`Hundreds money themed challenges.`,`Thousands of money skill questions.`,`Incentives for continued practice.`,`Participation and play bonuses.`,`Feedback loop for understanding.`,`Focus on real world applications.`],classDemo:`Class Demo`,appDemo:`App Demo`,imageAlt:`Excited kid holding piggy banks`,tags:{earn:`ð° Earn`,save:`ð· Save`,budget:`ð Budget`,invest:`ð Invest`}},testimonials:[{text:`I use MoneyPrep in my classroom every week. It is a great way to showcase how math works in the real world AND check off my fin lit objectives.`,province:`Alberta`,role:`Grade 3 Teacher`},{text:`My class LOVES MoneyPrep. They cheer every time I add it to the schedule. Highly recommend it.`,province:`Ontario`,role:`Grade 6 Teacher`},{text:`I am happy I found the MoneyPrep app. My son enjoys playing and it is opening so much dialogue about financial choices.`,province:`British Columbia`,role:`Sam's Parent`}],stats:{label:`Join the club! And the thousands of happy MoneyPrep users worldwide!`,items:[{n:`300k+`,label:`Kids worldwide`},{n:`93%`,label:`Net Promoter Score`},{n:`7M+`,label:`Learning Games Played`},{n:`15k+`,label:`Classrooms globally`}]},awards:{label:`Award Winning Education`,title:{before1:`We Know `,accent1:`Money`,before2:`and We Know `,accent2:`Kids`},body:`MoneyPrep has been recognized for its fun-centered approach to learning and its commitment to responsible financial habit development by numerous distinguished panels.`,bullets:[`International MAIA award winner - Best Non-Financial Services Company (2022)`,`Mom's Choice Award - Gold Award - Online Resources (2021).`,`Parents Pick Award - Best Elementary Product (2021).`,`Parents Pick Award - Best Educational Product (2024).`],badgeAlts:[`MAIA Awards â Winner 2022`,`Mom's Choice Awards â Gold, 2021`,`Parents' Picks Awards â Winner 2021`,`Parents' Picks Awards â Winner 2024`]},ticker:[`Smart Spending ðµ`,`Saving Wisely ð°`,`Budgeting Skills ð®`,`Money Terms ð`,`Progress Reports ð¥`,`Certifications ð`,`Play Rewards ð`],milestones:{label:`The MoneyPrep Advantage`,title:{before:`Engaged Learning That Makes A `,accent:`Difference`},body:`A complete learning experience for classrooms and homes that is FUN, and it works!!`,steps:[{title:`Trusted Content`,desc:`Tried, tested and proven in thous
20ands of classrooms AND homes.`},{title:`Comprehensive`,desc:`ALL the financial literacy skills that are relevant in today's world.`},{title:`Easy!`,desc:`Easy to use, Easy to play, Easy to learn with.`}]}},fr:{meta:{title:`MoneyPrep â La littératie financière ludique pour les enfants`,description:`Des jeux et des leçons ludiques qui apprennent aux enfants à gagner, épargner, dépenser judicieusement et investir. La confiance de plus de 10\xA0000 parents et écoles.`},hero:{label:`Bien-être financier · Pour les jeunes`,title:{before:`Lâexpérience `,accent:`dâapprentissage`,after:` ultime`},body:`MoneyPrep fait entrer la littératie financière dans les classes et les foyers, avec des leçons alignées sur le programme scolaire et du jeu interactif. Les enfants plongent dans lâunivers de lâargent et transforment le PLAISIR en saines habitudes financières durables.`},features:[{title:`Apprendre et gagner`,desc:`Les enfants gagnent des points, des badges et des bonis en relevant des défis. Ils peuvent jouer en compétition ou apprendre en solo.`,tag:`Apprendre â Points`},{title:`Réussites`,desc:`Classements, certificats et étapes à franchir dans le jeu donnent envie de revenir apprendre. Plus de jeu = plus de pratique = plus de compétences.`,tag:`Objectifs personnels`},{title:`Application concrète`,desc:`MoneyPrep aide les enfants à faire le lien entre le jeu interactif et la vie de tous les jours â pour comprendre comment gérer leur argent et atteindre leurs objectifs, pour vrai!`,tag:`Utile au quotidien`}],games:{label:`Comment ça marche`,title:{line1:`Du jeu interactif amusant`,before:`pour des `,accent:`enfants futés en argent`},body:`MoneyPrep répond à TOUS les objectifs de littératie financière fixés par chaque province et chaque Ãtat. Et le PLAISIR est toujours au cÅur de lâapprentissage!`,bullets:[`Des centaines de défis sur le thème de lâargent.`,`Des milliers de questions sur les compétences financières.`,`Des incitatifs pour continuer à pratiquer.`,`Des bonis de participation et de jeu.`,`Une rétroaction qui favorise la compréhension.`,`Un accent sur les applications concrètes.`],classDemo:`Démo en classe`,appDemo:`Démo de lâappli`,imageAlt:`Enfant enthousiaste tenant des tirelires`,tags:{earn:`ð° Gagner`,save:`ð· Ãpargner`,budget:`ð Budgéter`,invest:`ð Investir`}},testimonials:[{text:`Jâutilise MoneyPrep dans ma classe chaque semaine. Câest une excellente façon de montrer comment les maths sâappliquent dans la vraie vie ET de cocher mes objectifs de littératie financière.`,province:`Alberta`,role:`Enseigne en 3e année`},{text:`Ma classe ADORE MoneyPrep. Les élèves applaudissent chaque fois que je lâajoute à lâhoraire. Je le recommande fortement.`,province:`Ontario`,role:`Enseigne en 6e année`},{text:`Quelle chance dâavoir découvert lâappli MoneyPrep! Mon fils adore y jouer et ça ouvre plein de discussions sur les choix financiers.`,province:`Colombie-Britannique`,role:`Parent de Sam`}],stats:{label:`Joignez-vous au club! Et aux milliers dâutilisateurs heureux de MoneyPrep partout dans le monde!`,items:[{n:`300\xA0k+`,label:`Enfants dans le monde`},{n:`93\xA0%`,label:`Indice de recommandation net`},{n:`7\xA0M+`,label:`Parties dâapprentissage jouées`},{n:`15\xA0k+`,label:`Classes dans le monde`}]},awards:{label:`Une éducation primée`,title:{before1:`On connaît lâ`,accent1:`argent`,before2:`et on connaît les `,accent2:`enfants`},body:`MoneyPrep a été reconnue par de nombreux jurys prestigieux pour son approche de lâapprentissage axée sur le plaisir et son engagement envers le développement de saines habitudes financières.`,bullets:[`Lauréat international des prix MAIA â Meilleure entreprise hors services financiers (2022)`,`Momâs Choice Award â Prix Or â Ressources en ligne (2021).`,`Parentsâ Picks Award â Meilleur produit pour le primaire (2021).`,`Parentsâ Picks Award â Meilleur produit éducatif (2024).`],badgeAlts:[`Prix MAIA â Lauréat 2022`,`Momâs Choice Awards â Or, 2021`,`Parentsâ Picks Awards â Lauréat 2021`,`Parentsâ Picks Awards â Lauréat 2024`]},ticker:[`Dépenser futé ðµ`,`Ãpargner sagement ð°`,`Compétences budgétaires ð®`,`Vocabulaire financier ð`,`Rapports de progrès ð¥`,`Certifications ð`,`Récompenses de jeu ð`],milestones:{label:`Lâavantage MoneyPrep`,title:{before:`Un apprentissage engageant qui fait toute la `,accent:`différence`},body:`Une expérience dâapprentissage complète pour la classe et la maison, qui est AMUSANTE et qui fonctionne!!`,steps:[{title:`Un contenu fiable`,desc:`Essayé, testé et éprouvé dans de
20s milliers de classes ET de foyers.`},{title:`Complet`,desc:`TOUTES les compétences en littératie financière qui comptent dans le monde dâaujourdâhui.`},{title:`Facile!`,desc:`Facile à utiliser, facile à jouer, facile pour apprendre.`}]}}},Mu=Ac(`/{-$locale}/`)({component:Mc(()=>Du(()=>import(`./_-_locale_-Dg5W5xH_.js`),__vite__mapDeps([2,3,1,4])),`component`),head:({params:e})=>{let{meta:t}=ju[lu(e.locale)];return{meta:[{title:t.title},{name:`description`,content:t.description},{property:`og:title`,content:t.title},{property:`og:description`,content:t.description}]}}});function Nu({items:e}){return(0,B.jsx)(`ul`,{className:`list-disc space-y-3 pl-5 marker:text-brand-magenta`,children:e.map((e,t)=>(0,B.jsx)(`li`,{children:e},t))})}function Pu({label:e,children:t}){return(0,B.jsxs)(`div`,{className:`rounded-2xl border border-brand-ink/10 bg-brand-cream/70 p-5`,children:[(0,B.jsx)(`p`,{className:`mb-2 text-xs font-bold uppercase tracking-widest text-brand-magenta`,children:e}),t]})}function Fu({items:e}){return(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.map((e,t)=>(0,B.jsxs)(`li`,{className:`flex gap-3`,children:[(0,B.jsxs)(`span`,{"aria-hidden":!0,className:`w-4 shrink-0 font-bold text-brand-magenta`,children:[String.fromCharCode(97+t),`.`]}),(0,B.jsx)(`div`,{className:`min-w-0 space-y-3`,children:e})]},t))})}var Iu=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Lu=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ru=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),zu=e=>{let t=Ru(e);return t.charAt(0).toUpperCase()+t.slice(1)},Bu={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Vu=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Hu=(0,z.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,z.createElement)(`svg`,{ref:c,...Bu,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Iu(`lucide`,i),...!a&&!Vu(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,z.createElement)(e,t)),...Array.isArray(a)?a:[a]])),Uu=(e,t)=>{let n=(0,z.forwardRef)(({className:n,...r},i)=>(0,z.createElement)(Hu,{ref:i,iconNode:t,className:Iu(`lucide-${Lu(zu(e))}`,`lucide-${e}`,n),...r}));return n.displayName=zu(e),n},Wu=Uu(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]);function Gu({children:e}){let{pending:t}=mu($u).shared;return(0,B.jsxs)(`div`,{className:`flex gap-4 rounded-2xl border border-brand-orange bg-brand-orange/15 p-5`,children:[(0,B.jsx)(`span`,{"aria-hidden":!0,className:`grid h-8 w-8 shrink-0 place-items-center rounded-xl bg-brand-orange text-brand-ink`,children:(0,B.jsx)(Wu,{className:`h-4 w-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`mb-1 text-xs font-bold uppercase tracking-widest text-brand-ink/70`,children:t}),(0,B.jsx)(`div`,{className:`text-brand-ink/75`,children:e})]})]})}function Z({caption:e,headers:t,rows:n}){return(0,B.jsx)(`div`,{className:`overflow-x-auto rounded-2xl border border-brand-ink/10`,children:(0,B.jsxs)(`table`,{className:`w-full min-w-[34rem] border-collapse text-left text-sm`,children:[(0,B.jsx)(`caption`,{className:`sr-only`,children:e}),(0,B.jsx)(`thead`,{children:(0,B.jsx)(`tr`,{className:`bg-brand-cream/80`,children:t.map(e=>(0,B.jsx)(`th`,{scope:`col`,className:`px-4 py-3 text-xs font-bold uppercase tracking-widest text-brand-magenta`,children:e},e))})}),(0,B.jsx)(`tbody`,{children:n.map((e,t)=>(0,B.jsx)(`tr`,{className:`border-t border-brand-ink/10`,children:e.map((e,t)=>(0,B.jsx)(`td`,{className:t===0?`px-4 py-3 font-semibold text-brand-ink`:`px-4 py-3 text-brand-ink/75`,children:e},t))},t))})]})})}var Ku=`[email protected]`,qu=[{id:`what-money-prep-is`,title:`What MoneyPrep is`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`MoneyPrep is a financial literacy education platform that teaches
20K-12 students money management skills. Teachers plan and run live sessions from a classroom dashboard; students play through those sessions in MoneyPrep, our student app, and can keep practising skills on their own between them. Teachers can hand out awards when a student completes an objective.`}),(0,B.jsx)(`p`,{children:`There is no chat feature, no advertising and no in-app purchasing of any kind.`})]})},{id:`who-uses-the-services`,title:`Who uses the Services`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`There are two kinds of user.`}),(0,B.jsx)(Pu,{label:`Teachers`,children:(0,B.jsx)(`p`,{children:`Teachers hold an account. A teacher signs in with their own email address, chooses their school, creates classrooms and adds students.`})}),(0,B.jsx)(Pu,{label:`Students`,children:(0,B.jsx)(`p`,{children:`Students do not hold an account and cannot sign themselves up. A student record is created by their teacher, and belongs to that teacherâs classroom. A student signs in with a printed card, never with an email address.`})}),(0,B.jsx)(`p`,{children:`There are no parent or guardian accounts today. MoneyPrep has no relationship with, and collects nothing from, a studentâs family.`}),(0,B.jsx)(Gu,{children:(0,B.jsx)(`p`,{children:`A parent platform is in development â parents will create profiles for their own children, as a teacher does for a student. It is not live, and no parent account exists yet. This section and section 3 need to describe what it collects before it launches.`})})]})},{id:`what-we-collect`,title:`What we collect`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h3`,{children:`A. Information a teacher gives us`}),(0,B.jsx)(`p`,{children:`To create an account, a teacher provides an email address. To finish setting up, they provide their name and choose their school, which also sets the curriculum and grades available to them. Onboarding asks once, optionally, how they heard about MoneyPrep; a teacher may skip it.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`We never store a password for a teacher.`}),` Sign-in is by a one-time code sent to your email address, or through Google if you choose to use it â there is no password to store, leak or reset.`]}),(0,B.jsx)(`p`,{children:`If you sign in with Google, we also receive and store the name and profile picture on your Google account, and the access credential Google issues us for your sign-in. We ask Google for nothing else, and we cannot read your Google account beyond confirming who you are.`}),(0,B.jsx)(`h3`,{children:`B. Student records, created by a teacher`}),(0,B.jsx)(`p`,{children:`We collect the least we can to give a student a personal place to learn and to let their teacher follow their progress. A student record holds:`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[`a `,(0,B.jsx)(`strong`,{children:`first name`}),`, entered by the teacher;`]}),(0,B.jsxs)(B.Fragment,{children:[`a `,(0,B.jsx)(`strong`,{children:`player ID`}),` and a `,(0,B.jsx)(`strong`,{children:`badge ID`}),`, both generated by us at random;`]}),(0,B.jsxs)(B.Fragment,{children:[`a `,(0,B.jsx)(`strong`,{children:`PIN`}),`, stored only as a one-way hash â see`,` `,(0,B.jsx)(`a`,{href:`#how-we-keep-it-secure`,children:`section 7`}),`;`]}),(0,B.jsx)(B.Fragment,{children:`which classroom the student belongs to.`})]}),(0,B.jsx)(`p`,{children:`That is the whole record. We do not collect, and there is nowhere to enter, a studentâs surname, email address, date of birth, home address, phone number, photograph or device fingerprint. This is a structural decision, not a setting: a student record has no column to put them in.`}),(0,B.jsx)(`h3`,{children:`C. Learning activity`}),(0,B.jsx)(`p`,{children:`As a student plays, we record what they did so their teacher can teach from it and so their own progress is theirs to see: which challenges were drawn, whether each answer was right, wrong or skipped, how long it took, the points awarded, which skills have been completed, running totals such as experience points, and any certificates their teacher has issued.`}),(0,B.jsx)(`h3`,{children:`D. Information collected automatically`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`IP address on sign-in attempts.`}),` When a student asks to join a class, or signs in with their card, we record the network address the request came from alongside the outcome. This is a security record â it is how a teacher and we can tell a mistyped PIN from someone trying many â and it is used for nothing else.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`A session cookie`}
20),`, for teachers, so you stay signed in. Students are never given a persistent cookie or any browser-stored credential; see`,` `,(0,B.jsx)(`a`,{href:`#how-we-keep-it-secure`,children:`section 7`}),`.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Server logs and error reports.`}),` We keep operational logs, and we use PostHog to be told when something breaks. Error reports and logs carry no personal or sensitive information â they describe what failed, not who was using it.`]})]}),(0,B.jsxs)(`p`,{children:[`What we do `,(0,B.jsx)(`strong`,{children:`not`}),` collect is worth stating as plainly: no advertising or behavioural trackers, no third-party tracking pixels, no device fingerprinting, no profiling of a student, and no location beyond the region your school is in.`]}),(0,B.jsx)(`h3`,{children:`E. School information`}),(0,B.jsx)(`p`,{children:`We hold a schoolâs name and the jurisdiction it teaches in, so a classroom gets the right curriculum and grades.`}),(0,B.jsxs)(`p`,{children:[`Two smaller records hold an adult email address, and both hold it`,` `,(0,B.jsx)(`strong`,{children:`encrypted, never in plain text`}),`: an entry barring a specific address from signing in, and a request from a teacher asking us to add a school that is not yet listed.`]})]})},{id:`where-your-data-lives`,title:`Where your data lives`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`This is the part of our design we would most like you to know about.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`MoneyPrep is deployed separately in each region we serve.`}),` A classroomâs records â every student, session, answer and award â live on the deployment for the region the school teaches in, and stay there. They are not copied to another region, and there is no shared database or routing path that could send a request for one regionâs data anywhere else.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`The systems that write our curriculum content cannot read student data.`}),` `,`Our lesson and challenge material is written centrally and published into every region. Those systems connect to each regional database with credentials that carry no permission on any table describing a student, a teacher, a classroom or a session. An attempt to read one is refused by the database itself â not by a check in our code that someone could change, and not by a policy we ask people to follow. Where we need to know how much the platform is being used, each region counts its own activity and reports the totals; no record about a person is sent.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`The only thing shared between regions is curriculum.`}),` Lesson plans, worksheets, images and the like are teaching material about money, not about children, and are stored once and served everywhere.`]})]})},{id:`how-we-use-your-information`,title:`How we use your information`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`We use what we collect to run classrooms and live sessions, to show a student their own progress and a teacher their classâs, to issue awards, to keep accounts and sessions secure, and to keep the Services working.`}),(0,B.jsx)(`p`,{children:`We do not use a studentâs information to advertise anything to them, and we do not market to students at all.`})]})},{id:`who-we-share-it-with`,title:`Who we share it with`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`We do not sell personal information. We share personal information only when necessary to operate, secure, support, or improve the Services, to comply with the law, or as otherwise described in this Privacy Policy.`}),(0,B.jsx)(`p`,{children:`We use carefully selected service providers to perform specific functions on our behalf. These providers are permitted to access only the information reasonably necessary to perform their services and are required to protect it appropriately.`}),(0,B.jsx)(`p`,{children:`Our current service providers include:`}),(0,B.jsx)(Z,{caption:`Service providers and the information each one receives`,headers:[`Service provider`,`What it does`,`Information involved`],rows:[[`Resend or Brevo`,`Delivers one-time sign-in codes to teachers`,`Teacher email address`],[`Brevo Contacts`,`Holds teacher email addresses for product communications, where enabled`,`Teacher email address`],[`Google`,`Optional âContinue with Googleâ sign-in for teachers`,`Information required to authenticate the teacher`],[`Google`,`Assists with drafting curriculum content for our writers to review`,`Curriculum content only; no student personal information`],[`PostHog`,`Helps us identify product errors and technical problems`,`Technical and error information, as configured`],[`Object storage`,`Stores lesson materials and images`,`Teaching materials; no student personal information`]]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Student information.`}),` We do not provide student names, player IDs, answers, learning progress, or other student records to service providers unless a provider is specifically required to process that information to provide a service on our behalf and that processing is permitted under applicable law and our agreements with schools or school districts.`]}),(0,B.jsx)(`p`,{children:`We require our service providers to protect personal information and to use it only for the purposes for which we provide it.`}),(0,B.jsx)(`h3`,{children:`Teacher email and product news`}),(0,B.jsx)(`p`,{children:`When a teacher finishes setting up their account, we may add their email address to our mailing list so we can tell them about the product. Every message carries an unsubscribe link, and unsubscribing is immediate.`})]})},{id:`how-we-keep-it-secure`,title:`How we keep it secure`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`The security of this information matters to us more than most, because much of it belongs to children. Some of what we do:`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`No passwords anywhere.`}),` Teachers sign in with a one-time code or through Google. There is no password to steal and no reset flow to attack.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`PINs and passcodes are one-way hashed.`}),` A studentâs card PIN and a sessionâs board passcode are stored in a form nobody â including us â can read back. A PIN is shown once, when the card is printed; reprinting means generating a new one, which retires the old card immediately.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`A teacher must let a student in.`}),` Having a card is not enough to enter a live class: the teacher sees the request and admits or refuses it.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`A failed sign-in tells an attacker nothing.`}),` Every unsuccessful attempt returns the identical response, so it cannot be used to discover whether a player ID exists.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Nothing is left on a shared device.`}),` A studentâs credential is held in memory for as long as they are playing and is gone when the tab closes â it is never written to browser storage, so a classroom tablet
20carries nothing from one child to the next.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`The teacher and student apps run on separate origins`}),`, so a problem in one cannot reach the otherâs sign-in.`]}),(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(`strong`,{children:`Teacher email addresses on the content side are encrypted.`})})]}),(0,B.jsx)(`h3`,{children:`Security incidents`}),(0,B.jsx)(`p`,{children:`No system can be guaranteed to be completely secure. If we become aware of a security incident that affects personal information, we will investigate it, take reasonable steps to contain and remediate the incident, and determine whether notification is required.`}),(0,B.jsx)(`p`,{children:`Where required by applicable law, we will notify affected schools, school districts, individuals, regulators, or other appropriate parties about a breach of personal information. The nature and timing of any notification will depend on the circumstances of the incident and the requirements of applicable law.`}),(0,B.jsx)(`p`,{children:`Please be aware that no system is completely secure, and we are not responsible for the security of information travelling over networks outside our control, such as the internet and wireless networks.`})]})},{id:`retention-and-deletion`,title:`How long we keep it, and how to change or delete it`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`A teacher can, at any time, correct or remove a student from their roster, regenerate a studentâs PIN, edit their own profile, and archive a classroom they have finished teaching.`}),(0,B.jsx)(`h3`,{children:`Access and correction`}),(0,B.jsx)(`p`,{children:`You may ask us what personal information we hold about you and, where applicable, request a copy of that information. You may also ask us to correct personal information that is inaccurate or incomplete.`}),(0,B.jsx)(`p`,{children:`For student information, requests may be handled through the studentâs school or school district where appropriate, particularly where the school or district controls or provides the information.`}),(0,B.jsxs)(`p`,{children:[`To make an access, correction, or deletion request, contact us using the information in`,` `,(0,B.jsx)(`a`,{href:`#contact`,children:`Section 11`}),`. We may need to verify the identity and authority of the person making the request before providing information or making changes.`]}),(0,B.jsx)(`p`,{children:`We will respond to privacy requests within the time required by applicable law. Where PIPEDA applies, we generally respond to access requests within 30 days, subject to any lawful extension or exception.`}),(0,B.jsx)(`h3`,{children:`How long we keep information`}),(0,B.jsx)(`p`,{children:`We keep personal information only for as long as it is reasonably necessary to provide the Services, support teaching and learning, maintain security, comply with legal obligations, and resolve disputes.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Student records and learning activity.`}),` A studentâs record and learning history are retained while the student is an active member of a classroom. When a classroom is archived or a student is removed, the associated student information is retained for 12 months and then permanently deleted, unless we are required by law to retain it for longer.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Teacher accounts.`}),` Teacher account information is retained while the account is active. When a teacher requests account deletion, their personal information is deleted within 30 days, except where retention is required for legal, security, fraud-prevention, or record-keeping purposes.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Security records.`}),` IP addresses and other security logs relating to sign-in attempts are retained for 90 days and then deleted or irreversibly anonymized.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Backups.`}),` Information removed from our active systems may remain temporarily in encrypted backups. Backups are automatically overwritten or securely deleted within 90 days.`]}),(0,B.jsx)(`p`,{children:`When information is no longer required, we securely delete it or irreversibly anonymize it so that it can no longer be associated with an identifiable person.`})]})},{id:`childrens-privacy`,title:`Childrenâs privacy`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`MoneyPrep is designed for use by Kâ12 students through their schools and teachers. We take particular care to minimize the personal information collected from students.`}),(0,B.jsx)(`p`,{children:`Students do not create their own MoneyPrep accounts. A teacher creates a student record and determines which students are added to a classroom. Students sign in using a player ID and PIN rather than an email address.`}),(0,B.jsx)(`p`,{children:`We intentionally limit the information associated with a student to what is reasonably necessary to provide the learning experience and allow the teacher to understand the studentâs progress. A student record contains a first name, randomly generated player ID and badge ID, a PIN stored as a one-way hash, classroom information, and learning activity associated with the studentâs use of the Services. We do not require a studentâs surname, email address, date of birth, home address, telephone number, photograph, or other direct contact information.`}),(0,B.jsx)(`p`,{children:`We do not sell student personal information. We do not use student personal information for advertising, behavioral advertising, or marketing to students. Students cannot make purchases through the Services and have no direct messaging or chat feature.`}),(0,B.jsx)(`p`,{children:`Where a school or school district provides or authorizes student information for use with MoneyPrep, we process that information only for the purposes described
20in this Privacy Policy and the applicable agreement with the school or school district.`}),(0,B.jsxs)(`p`,{children:[`Parents and guardians may contact us using the contact information in`,` `,(0,B.jsx)(`a`,{href:`#contact`,children:`Section 11`}),` to ask questions about their childâs information or to make a privacy request. Where appropriate, we may work with the relevant school or school district to respond to requests concerning student records.`]}),(0,B.jsx)(`p`,{children:`MoneyPrep complies with the privacy and data-protection requirements that apply to the Services in the jurisdictions in which we operate. Where laws provide additional protections for childrenâs information, we apply those protections as required.`}),(0,B.jsx)(`p`,{children:`We do not knowingly collect more personal information from children than is reasonably necessary to provide the Services.`})]})},{id:`changes-to-this-policy`,title:`Changes to this policy`,body:(0,B.jsx)(`p`,{children:`We are committed to keeping your data secure and to keeping this policy current. Whenever it is updated we will tell you, by posting the revised policy on our website, inside the Services, or by email.`})},{id:`contact`,title:`Contact`,body:(0,B.jsxs)(`p`,{children:[`Questions about this policy, or a request about your information, can be sent to`,` `,(0,B.jsx)(`a`,{href:`mailto:${Ku}`,children:Ku}),`.`]})}],Ju=[{id:`account-types`,title:`Account types`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`We offer two kinds of access through the Services.`}),(0,B.jsx)(Pu,{label:`a. Teacher account`,children:(0,B.jsx)(`p`,{children:`Registered by an Adult who teaches at a school, school district, licensed childcare facility or other educational institution or programme. A teacher account is reached with the teacherâs own email address.`})}),(0,B.jsx)(Pu,{label:`b. Student record`,children:(0,B.jsx)(`p`,{children:`A student record is created by a teacher and belongs to that teacherâs classroom. It is not a self-registered account: a student cannot sign themselves up, and there is no way for a student to create, transfer or delete a record. A student reaches the Services with the player ID and PIN printed on the card their teacher gives them.`})}),(0,B.jsx)(`p`,{children:`There are no parent or guardian accounts today.`}),(0,B.jsx)(Gu,{children:(0,B.jsx)(`p`,{children:`A parent platform is in development, letting a parent create profiles for their own children. It is not live yet. These Terms need an account type for it before it launches.`})})]})},{id:`registration-and-sign-in`,title:`Registration and sign-in`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`You are required to provide accurate and complete information when registering, and to keep it current. You must not provide false or misleading information, and you must not create an account for anyone other than yourself. By registering you certify that you are 18 years of age or older.`}),(0,B.jsx)(`p`,{children:`Sign-in is passwordless. You will receive a one-time code at your email address, or you may choose to continue with Google. You are responsible for keeping access to that email account secure, and you must not let anyone else sign in as you. You may not transfer your account to anyone else.`}),(0,B.jsx)(`p`,{children:`We may refuse a registration, or bar a particular email address from signing in, at our discretion.`})]})},{id:`student-record-responsibilities`,title:`Your responsibilities for student records`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`You are the person who decides which students are added to your classroom, and these Terms hold you to that.`}),(0,B.jsx)(Fu,{items:[(0,B.jsxs)(B.Fragment,{children:[`You must enter `,(0,B.jsx)(`strong`,{children:`first names only`}),`. You must not enter a surname, an email address, a date of birth, or any other information that identifies a student, in a studentâs name or anywhere else in the Services.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`You represent that you have the authority, under your schoolâs, districtâs, or institutionâs policies and applicable law, to add each student you add to your classroom and to provide the information you enter into the Services.`}),(0,B.jsx)(`p`,{children:`You are responsible for following your school, district, or institutionâs requirements regarding student information, including any required notices, permissions, or approvals.`})]}),(0,B.jsx)(B.Fragment,{children:`Student cards carry a working credential. You are responsible for handing them out, keeping unused ones secure, and destroying ones no longer in use.`}),(0,B.jsx)(B.Fragment,{children:`If a card is lost or seen by the wrong person, regenerate that studentâs PIN. Regenerating retires the old card immediately.`}),(0,B.jsx)(B.Fragment,{children:`You must not share a board passcode outside the class it was created for.`}),(0,B.jsx)(B.Fragment,{children:`You must use the Services only for legitimate educational purposes and only for students whom you are authorized to add to your classroom. You must promptly remove or archive a student who is no longer part of your classroom.`})]})]})},{id:`live-sessions-and-free-play`,title:`Live sessions and free play`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`A teacher runs a live session for a classroom. Students join with the player ID on their card and the board passcode the teacher puts on the board, and the teacher admits each student before they can take part. Between sessions, a student can sign in with their player ID and PIN to keep practising skills on their own; that sign-in reaches their own space only and can never be used to enter a live class.`}),(0,B.jsxs)(`p`,{children:[`As students play, they complete challenges, earn experience points, clear skills, and may be issued a certificate by their teacher for completing an objective.`,` `,(0,B.jsx)(`strong`,{children:`Experience points, progress and awards have no monetary value.`}),` They cannot be exchanged for money, bought, sold, transferred between students, or redeemed for anything outside the Services.`]})]})},{id:`fees`,title:`Fees`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`The Services are currently provided at no charge. There is no paid membership, subscription, or purchasing inside the Services, and we do not collect payment details from teachers or students.`}),(0,B.jsx)(`p`,{children:`Some lesson plans may be funded by a sponsor and unlocked with a sponsor code. Sponsor-funded content is provided at no cost to teachers or students.`}),(0,B.jsx)(`p`,{children:`If we introduce paid plans or fees in the future, we will provide notice and update these Terms before the new fees apply to you.`})]})},{id:`acceptable-use`,title:`Acceptable use`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`You agree not to:`}),(0,B.jsx)(Fu,{items:[(0,B.jsx)(B.Fragment,{children:`share your sign-in, or let anyone else use your account;`}),(0,B.jsx)(B.Fragment,{children:`attempt to reach a classroom, student record or session that is not yours;`}),(0,B.jsx)(B.Fragment,{children:`probe, scan or test the security of the Services, or work around any limit or access control in them;`}),(0,B.jsx)(B.Fragment,{children:`scrape, harvest or bulk-download content or data from the Services;`}),(0,B.jsx)(B.Fragment,{children:`use the Services to store or transmit anything unlawful, or anything harmful to the children using them.`})]})]})}
20,{id:`ownership-and-licence`,title:`Service ownership and licence`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`The Services are owned and controlled by MoneyPrep Inc. and protected by international copyright, trademark, patent and other intellectual property rights and laws to the fullest extent. You agree not to copy, reproduce, reverse-engineer, create derivative works from, disassemble, change, modify or otherwise exploit the Services.`}),(0,B.jsxs)(`p`,{children:[`Your access to the Services is a limited, non-transferable licence (the`,` `,(0,B.jsx)(`strong`,{children:`Licence`}),`) to use them for as long as your account is open. The Licence grants you no ownership rights.`]})]})},{id:`content-and-sponsors`,title:`Content and sponsors`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`The curriculum, objectives, skills, challenges and lesson plans in the Services are ours or our licensorsâ, and are provided to you for teaching your own classroom.`}),(0,B.jsx)(`p`,{children:`Where a lesson plan is funded by a sponsor, the sponsorâs name may appear on that material in the teacher-facing part of the Services. A sponsor receives no student names, answers, progress or any other data about your classroom, and no sponsor branding appears on a studentâs screen.`})]})},{id:`termination`,title:`Termination`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`p`,{children:[`You may stop using the Services at any time. You can archive a classroom you have finished teaching, which retires its cards and codes, and you may ask us to delete your account or a classroomâs records as described in our`,` `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`Privacy Policy`}),`.`]}),(0,B.jsx)(`p`,{children:`We may suspend or terminate your access to the Services if you materially breach these Terms, use the Services unlawfully or in a way that may harm students, compromise the security of the Services, or otherwise misuse the Services.`}),(0,B.jsx)(`p`,{children:`Where reasonably practicable, we will provide notice before terminating or suspending an account. We may suspend or terminate access without prior notice where we reasonably believe immediate action is necessary to protect students, users, the Services, or our systems, or where required by law.`}),(0,B.jsx)(`p`,{children:`If an account is terminated, your right to use the Services ends. Sections of these Terms that by their nature should continue after termination, including provisions concerning ownership, limitations of liability, indemnity, governing law, and dispute-related obligations, will continue to apply.`}),(0,B.jsx)(`p`,{children:`Termination does not affect any rights or obligations that arose before termination.`})]})},{id:`privacy`,title:`Privacy`,body:(0,B.jsxs)(`p`,{children:[`We take your privacy seriously and make best efforts to limit the information we collect. Please read our `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`privacy policy`}),` for the details, including what a student record holds and where a classroomâs data lives.`]})},{id:`disclaimer-of-warranties`,title:`Disclaimer of warranties`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`The Services are provided on an âas isâ and âas availableâ basis and without warranty of any kind, express or implied. No warranty, representation, endorsement or promise is made as to the following, but not limited to:`}),(0,B.jsx)(Fu,{items:[(0,B.jsx)(B.Fragment,{children:`the Services;`}),(0,B.jsx)(B.Fragment,{children:`functionality, features, or other elements made available through the Services;`}),(0,B.jsx)(B.Fragment,{children:`any products or services linked to the Services;`}),(0,B.jsx)(B.Fragment,{children:`whether the Services are available, error-free, or free from harmful components;`}),(0,B.jsx)(B.Fragment,{children:`specific availability of the Services, and whether any defects will be repaired in a certain time period and, but not limited to;`}),(0,B.jsx)(B.Fragment,{children:`whether your use of the Services is lawful in any particular jurisdiction.`})]})]})},{id:`limitation-of-liability`,title:`Limitation of liability`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`To the fullest extent permitted by applicable law, MoneyPrep Inc. will not be liable for indirect, incidental, special, consequential, exemplary, or punitive damages, or for loss of profits, revenue, business opportunities, or goodwill, arising from or relating to the Services or these Terms.`}),(0,B.jsxs)(`p`,{children:[`To the fullest extent permitted by applicable law, MoneyPrep Inc.âs total aggregate liability arising from or relating to the Services or these Terms will not exceed the greater of`,` `,(0,B.jsx)(`strong`,{children:`$100 CAD or the amount you have paid to MoneyPrep Inc. for the Services during the 12 months before the event giving rise to the claim`}),`.`]}),(0,B.jsx)(`p`,{children:`Nothing in these Terms limits or excludes liability that cannot lawfully be limited or excluded under applicable law.`})]})},{id:`indemnity`,title:`Indemnity`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`To the extent permitted by applicable law, you agree to indemnify and hold harmless MoneyPrep Inc., its affiliates, officers, directors, employees, and agents from third-party claims, losses, liabilities, damages, and reasonable legal costs arising directly from:`}),(0,B.jsx)(Nu,{items:[(0,B.jsx)(B.Fragment,{children:`your material breach of these Terms;`}),(0,B.jsx)(B.Fragment,{children:`your unlawful use of the Services;`}),(0,B.jsx)(B.Fragment,{children:`your intentional misuse of the Services; or`}),(0,B.jsx)(B.Fragment,{children:`your violation of a third partyâs rights through your use of the Services.`})]}),(0,B.jsx)(`p`,{children:`This obligation does not apply to the extent that a claim results from MoneyPrep Inc.âs own negligence, willful misconduct, or violation of applicable law.`})]})},{id:`third-party-links`,title:`Third-party links`,body:(0,B.jsx)(`p`,{children:`The Services may provide links to third-party websites or resources. We make no representations or warranties of any kind regarding the quality, availability or legality of these external sites. We are not responsible for any third-party website or resources contained outside of the Services.`})},{id:`severability`,title:`Severability`,body:(0,B.jsx)(`p`,{children:`If any term or provision of these Terms is held to be void or unenforceable, that term or provision shall be severed from these Terms. The balance of these Terms will survive and will be reasonably construed to carry out the intent of the parties as evidenced by the terms of these Terms.`})},{id:`governing-law`,title:`Governing law`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`These Terms are governed by the laws of the Province of Alberta and the applicable laws of Canada, without regard to conflict-of-law principles.`}),(0,B.jsx)(`p`,{children:`Subject to any mandatory rights or protections that apply in the jurisdiction where you or your students are located, the courts located in Alberta will have jurisdiction over disputes arising from or relating to these Terms or the Services.`}),(0,B.jsx)(`p`,{children:`Nothing in these Terms is intended to limit any mandatory rights or protections that cannot lawfully be waived under the laws applicable to you.`})]})},{id:`assignment`,title:`Assignment`,body:(0,B.jsx)(`p`,{children:`We reserve the right to assign our rights and obligations under these Terms, or any additional terms, in whole or in part, to any party at any time without prior notice.`})},{id:`entire-agreement`,title:`Entire agreement`,body:(0,B.jsx)(`p`,{children:`These Terms constitute the entire understanding and agreement between you and MoneyPrep Inc with respect to their subject matter. There are no agreements, restrictions, representations, understandings or warranties other than those expressly outlined in these Terms.`})},{id:`changes-to-these-terms`,title:`Changes to these Terms`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`We may update these Terms from time to time to reflect changes to the Services, our business, or applicable legal requirements.`}),(0,B.jsx)(`p`,{children:`When we make a material change, we will provide reasonable notice by posting the updated Terms on our website or within the Services and, where appropriate, by email.`}),(0,B.jsx)(`p`,{children:`The revised Terms will apply from the effective date stated in the updated Terms. Your continued use of the Services after that date constitutes acceptance of the revised Terms, to the extent permitted by applicable law.`}),(0,B.jsxs)(`p`,{children:[`If you do not agree to a material change, you may stop using the Services and request deleti
20on of your account and applicable records as described in our`,` `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`Privacy Policy`}),`.`]})]})}],Yu={shared:{eyebrow:`Legal`,effectiveDate:`Effective date: September 1, 2026`,lastUpdated:`Last updated: September 1, 2026`,onThisPage:`On This Page`,pending:`Pending`,footer:{title:`Still Have Questions?`,body:`Our team is happy to walk you through any of this. Drop us a note and a real human will get back to you.`,backHome:`Back to Home`}},privacy:{meta:{title:`Privacy Policy â MoneyPrep`,description:`What MoneyPrep collects about teachers and the students they add, how we use it, which region it lives in, and who else ever sees it.`},titleLead:`Privacy`,titleAccent:`Policy`,otherLegal:`Terms & Conditions`,intro:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Welcome to MoneyPrep. This policy describes what we collect about the people who use our platform â teachers and the students their teachers add â how we use it, where it lives, and who else may receive it.`}),(0,B.jsxs)(`p`,{children:[`Please read it carefully. This Privacy Policy explains how MoneyPrep collects, uses, protects, retains, and discloses personal information when you use our websites, applications, and learning programme (together, the`,` `,(0,B.jsx)(`strong`,{className:`font-bold`,children:`Services`}),`).`]}),(0,B.jsx)(`p`,{children:`Your use of the Services is subject to this Privacy Policy and our applicable Terms of Service. For student information provided or authorized by a school or school district, we process that information in accordance with the applicable agreement with the school or school district and applicable privacy law.`})]}),responsibleParty:{title:`Who is responsible for your information`,body:`MoneyPrep is operated by MoneyPrep Inc. (âMoneyPrepâ, âweâ, âusâ, or âourâ). MoneyPrep Inc. is responsible for the personal information described in this Privacy Policy.`},sections:qu},terms:{meta:{title:`Terms & Conditions â MoneyPrep`,description:`The terms that govern teacher accounts, student records and use of the MoneyPrep websites, apps, learning programme and teaching resources.`},titleLead:`Terms &`,titleAccent:`Conditions`,otherLegal:`Privacy Policy`,intro:(0,B.jsxs)(`p`,{children:[`Please read these terms and conditions (the `,(0,B.jsx)(`strong`,{className:`font-bold`,children:`Terms`}),`) before using the Services. By registering for an account you acknowledge that you have read and understood these Terms, and that you agree to them.`]}),definitionsTitle:`Words We Use`,definitions:[{term:`You`,meaning:`refers to an Adult using the Services.`},{term:`Adult`,meaning:`is a person of legal age who can enter into this contract by registering an account. You represent and warrant that you are an adult, and you are responsible for ensuring that any student you authorise to use the Services does so in accordance with these Terms.`},{term:`Services`,meaning:`refers to our websites, applications, everything accessible through them, the learning programme, and teaching resources including lesson plans.`},{term:`Account`,meaning:`refers to a teacherâs registration to the Services, and the email address and sign-in method used to reach it.`},{term:`Student record`,meaning:`refers to the classroom-scoped record a teacher creates for a student, and the card carrying that studentâs player ID and PIN.`},{term:`Users`,meaning:`refers to teachers and students.`}],sections:Ju}},Xu=`[email protected]`,Zu=[{id:`what-money-prep-is`,title:`Ce quâest MoneyPrep`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`MoneyPrep est une plateforme dâéducation en littératie financière qui enseigne aux élèves de la maternelle à la 12e année des compétences en gestion de lâargent. Les enseignants planifient et animent des séances en direct à partir dâun tableau de bord de classe; les élèves participent à ces séances dans MoneyPrep, notre application pour les élèves, et peuvent continuer à pratiquer leurs compétences par eux-mêmes entre les séances. Les enseignants peuvent remettre des récompenses lorsquâun élève atteint un objectif.`}),(0,B.jsx)(`p`,{children:`Il nây a aucune fonction de clavardage, aucune publicité et aucun achat intégré de quelque nature que ce soit.`})]})}
20,{id:`who-uses-the-services`,title:`Qui utilise les Services`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Il existe deux types dâutilisateurs.`}),(0,B.jsx)(Pu,{label:`Enseignants`,children:(0,B.jsx)(`p`,{children:`Les enseignants détiennent un compte. Un enseignant se connecte avec sa propre adresse courriel, choisit son école, crée des classes et y ajoute des élèves.`})}),(0,B.jsx)(Pu,{label:`Ãlèves`,children:(0,B.jsx)(`p`,{children:`Les élèves ne détiennent pas de compte et ne peuvent pas sâinscrire eux-mêmes. Le dossier dâun élève est créé par son enseignant et appartient à la classe de cet enseignant. Un élève se connecte avec une carte imprimée, jamais avec une adresse courriel.`})}),(0,B.jsx)(`p`,{children:`Il nâexiste actuellement aucun compte pour les parents ou tuteurs. MoneyPrep nâa aucune relation avec la famille dâun élève et ne recueille rien auprès dâelle.`}),(0,B.jsx)(Gu,{children:(0,B.jsx)(`p`,{children:`Une plateforme pour les parents est en développement : les parents pourront créer des profils pour leurs propres enfants, comme un enseignant le fait pour un élève. Elle nâest pas en service et aucun compte parent nâexiste encore. Cette section et la section 3 devront décrire ce quâelle recueille avant son lancement.`})})]})},{id:`what-we-collect`,title:`Ce que nous recueillons`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h3`,{children:`A. Renseignements fournis par un enseignant`}),(0,B.jsx)(`p`,{children:`Pour créer un compte, un enseignant fournit une adresse courriel. Pour terminer la configuration, il fournit son nom et choisit son école, ce qui détermine aussi le programme dâétudes et les années scolaires qui lui sont offerts. Lâaccueil demande une seule fois, de façon facultative, comment il a entendu parler de MoneyPrep; lâenseignant peut passer cette question.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Nous ne conservons jamais de mot de passe pour un enseignant.`}),` La connexion se fait au moyen dâun code à usage unique envoyé à votre adresse courriel, ou par Google si vous choisissez de lâutiliser : il nây a aucun mot de passe à conserver, à divulguer ou à réinitialiser.`]}),(0,B.jsx)(`p`,{children:`Si vous vous connectez avec Google, nous recevons et conservons également le nom et la photo de profil de votre compte Google, ainsi que lâidentifiant dâaccès que Google nous délivre pour votre connexion. Nous ne demandons rien dâautre à Google et nous ne pouvons pas consulter votre compte Google au-delà de la confirmation de votre identité.`}),(0,B.jsx)(`h3`,{children:`B. Dossiers dâélèves, créés par un enseignant`}),(0,B.jsx)(`p`,{children:`Nous recueillons le strict minimum pour offrir à un élève un espace dâapprentissage personnel et permettre à son enseignant de suivre ses progrès. Le dossier dâun élève contient :`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[`un `,(0,B.jsx)(`strong`,{children:`prénom`}),`, saisi par lâenseignant;`]}),(0,B.jsxs)(B.Fragment,{children:[`un `,(0,B.jsx)(`strong`,{children:`identifiant de joueur`}),` et un `,(0,B.jsx)(`strong`,{children:`identifiant de badge`}),`, tous deux générés aléatoirement par nous;`]}),(0,B.jsxs)(B.Fragment,{children:[`un `,(0,B.jsx)(`strong`,{children:`NIP`}),`, conservé uniquement sous forme de hachage unidirectionnel â voir la `,(0,B.jsx)(`a`,{href:`#how-we-keep-it-secure`,children:`section 7`}),`;`]}),(0,B.jsx)(B.Fragment,{children:`la classe à laquelle lâélève appartient.`})]}),(0,B.jsx)(`p`,{children:`Câest tout le dossier. Nous ne recueillons pas, et il nâexiste aucun endroit pour saisir, le nom de famille, lâadresse courriel, la date de naissance, lâadresse du domicile, le numéro de téléphone, la photo ou lâempreinte de lâappareil dâun élève. Il sâagit dâun choix de conception, et non dâun paramètre : le dossier dâun élève ne comporte aucun champ où les inscrire.`}),(0,B.jsx)(`h3`,{children:`C. Activité dâapprentissage`}
20),(0,B.jsx)(`p`,{children:`Pendant quâun élève joue, nous enregistrons ce quâil a fait afin que son enseignant puisse sâen servir pour enseigner et que lâélève puisse voir ses propres progrès : les défis tirés, si chaque réponse était bonne, mauvaise ou passée, le temps pris, les points accordés, les compétences acquises, les totaux cumulés comme les points dâexpérience, et les certificats que son enseignant lui a remis.`}),(0,B.jsx)(`h3`,{children:`D. Renseignements recueillis automatiquement`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Adresse IP lors des tentatives de connexion.`}),` Lorsquâun élève demande à rejoindre une classe ou se connecte avec sa carte, nous enregistrons lâadresse réseau dâoù provient la demande ainsi que le résultat. Il sâagit dâun registre de sécurité â câest ainsi quâun enseignant et nous-mêmes pouvons distinguer un NIP mal saisi dâune personne qui en essaie plusieurs â et il ne sert à rien dâautre.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Un témoin de session`}),`, pour les enseignants, afin que vous restiez connecté. Les élèves ne reçoivent jamais de témoin persistant ni dâidentifiant conservé dans le navigateur; voir la `,(0,B.jsx)(`a`,{href:`#how-we-keep-it-secure`,children:`section 7`}),`.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Journaux du serveur et rapports dâerreurs.`}),` Nous conservons des journaux dâexploitation et utilisons PostHog pour être avisés lorsquâun problème survient. Les rapports dâerreurs et les journaux ne contiennent aucun renseignement personnel ou sensible : ils décrivent ce qui a échoué, et non qui lâutilisait.`]})]}),(0,B.jsxs)(`p`,{children:[`Ce que nous ne recueillons `,(0,B.jsx)(`strong`,{children:`pas`}),` mérite dâêtre dit tout aussi clairement : aucun traceur publicitaire ou comportemental, aucun pixel de suivi de tiers, aucune empreinte dâappareil, aucun profilage dâun élève et aucune localisation au-delà de la région où se trouve votre école.`]}),(0,B.jsx)(`h3`,{children:`E. Renseignements sur lâécole`}),(0,B.jsx)(`p`,{children:`Nous conservons le nom dâune école et le territoire où elle enseigne, afin quâune classe obtienne le bon programme dâétudes et les bonnes années scolaires.`}),(0,B.jsxs)(`p`,{children:[`Deux dossiers plus restreints contiennent lâadresse courriel dâun adulte, et tous deux la conservent `,(0,B.jsx)(`strong`,{children:`chiffrée, jamais en texte clair`}),` : une entrée qui interdit à une adresse précise de se connecter, et une demande dâun enseignant qui nous demande dâajouter une école ne figurant pas encore dans la liste.`]})]})},{id:`where-your-data-lives`,title:`Où vos données sont conservées`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Câest lâaspect de notre conception que nous tenons le plus à vous faire connaître.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`MoneyPrep est déployé séparément dans chaque région que nous desservons.`}),` `,`Les dossiers dâune classe â chaque élève, séance, réponse et récompense â sont conservés dans le déploiement de la région où lâécole enseigne, et y restent. Ils ne sont pas copiés dans une autre région, et il nâexiste aucune base de données commune ni aucun chemin dâacheminement qui pourrait envoyer ailleurs une demande visant les données dâune région.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Les systèmes qui produisent notre contenu pédagogique ne peuvent pas lire les données des élèves.`}),` `,`Nos leçons et nos défis sont rédigés de façon centralisée et publiés dans chaque région. Ces systèmes se connectent à chaque base de données régionale avec des identifiants qui nâont aucune permission sur les tables décrivant un élève, un enseignant, une classe ou une séance. Toute tentative dâen lire une est refusée par la base de données elle-même â non par une vérification dans notre code que quelquâun pourrait modifier, ni par une politique que nous demandons de respecter. Lorsque nous devons connaître le niveau dâutilisation de la plateforme, chaque région compte sa propre activité et transmet les totaux; aucun dossier concernant une personne nâest envoyé.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`La seule chose partagée entre les régions est le contenu pédagogique.`}),` Les plans de leçon, les fiches dâexercices, les images et autres éléments semblables sont du matériel dâenseignement sur lâargent, et non sur les enfants; ils sont conservés une seule fois et offerts partout.`]})]})},{id:`how-we-use-your-information`,title:`Comment nous utilisons vos renseignements`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Nous utilisons ce que nous recueillons pour faire fonctionner les classes et les séances en direct, pour montrer à un élève ses propres progrès et à un enseignant ceux de sa classe, pour remettre des récompenses, pour assurer la sécurité des comptes et des séances, et pour assurer le bon fonctionnement des Services.`}),(0,B.jsx)(`p`,{children:`Nous nâutilisons pas les renseignements dâun élève pour lui faire de la publicité, et nous ne faisons aucun marketing auprès des élèves.`})]})}
20,{id:`who-we-share-it-with`,title:`Avec qui nous les communiquons`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Nous ne vendons pas de renseignements personnels. Nous communiquons des renseignements personnels uniquement lorsque cela est nécessaire pour exploiter, sécuriser, soutenir ou améliorer les Services, pour nous conformer à la loi, ou de toute autre manière décrite dans la présente Politique de confidentialité.`}),(0,B.jsx)(`p`,{children:`Nous faisons appel à des fournisseurs de services soigneusement choisis pour exécuter des fonctions précises en notre nom. Ces fournisseurs ne sont autorisés à accéder quâaux renseignements raisonnablement nécessaires à la prestation de leurs services et sont tenus de les protéger adéquatement.`}),(0,B.jsx)(`p`,{children:`Nos fournisseurs de services actuels comprennent :`}),(0,B.jsx)(Z,{caption:`Fournisseurs de services et renseignements que chacun reçoit`,headers:[`Fournisseur de services`,`Ce quâil fait`,`Renseignements visés`],rows:[[`Resend ou Brevo`,`Transmet les codes de connexion à usage unique aux enseignants`,`Adresse courriel de lâenseignant`],[`Brevo Contacts`,`Conserve les adresses courriel des enseignants pour les communications sur le produit, lorsque cette fonction est activée`,`Adresse courriel de lâenseignant`],[`Google`,`Connexion facultative « Continuer avec Google » pour les enseignants`,`Renseignements nécessaires pour authentifier lâenseignant`],[`Google`,`Aide à la rédaction du contenu pédagogique, qui est révisé par nos rédacteurs`,`Contenu pédagogique seulement; aucun renseignement personnel sur les élèves`],[`PostHog`,`Nous aide à repérer les erreurs du produit et les problèmes techniques`,`Renseignements techniques et sur les erreurs, selon la configuration`],[`Stockage dâobjets`,`Conserve le matériel de leçon et les images`,`Matériel pédagogique; aucun renseignement personnel sur les élèves`]]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Renseignements sur les élèves.`}),` Nous ne communiquons pas aux fournisseurs de services les noms, identifiants de joueur, réponses, progrès dâapprentissage ou autres dossiers des élèves, à moins quâun fournisseur ne doive expressément traiter ces renseignements pour fournir un service en notre nom et que ce traitement soit permis par la loi applicable et par nos ententes avec les écoles ou les conseils scolaires.`]}),(0,B.jsx)(`p`,{children:`Nous exigeons de nos fournisseurs de services quâils protègent les renseignements personnels et quâils les utilisent uniquement aux fins pour lesquelles nous les leur fournissons.`}),(0,B.jsx)(`h3`,{children:`Courriel des enseignants et nouvelles sur le produit`}),(0,B.jsx)(`p`,{children:`Lorsquâun enseignant termine la configuration de son compte, nous pouvons ajouter son adresse courriel à notre liste dâenvoi afin de lâinformer au sujet du produit. Chaque message comporte un lien de désabonnement, et le désabonnement est immédiat.`})]})},{id:`how-we-keep-it-secure`,title:`Comment nous en assurons la sécurité`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`La sécurité de ces renseignements nous importe plus que tout, car une grande partie dâentre eux appartient à des enfants. Voici une partie de ce que nous faisons :`}),(0,B.jsx)(Nu,{items:[(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Aucun mot de passe, nulle part.`}),` Les enseignants se connectent avec un code à usage unique ou par Google. Il nây a aucun mot de passe à voler ni aucun processus de réinitialisation à attaquer.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Les NIP et les codes dâaccès font lâobjet dâun hachage unidirectionnel.`}),` `,`Le NIP de la carte dâun élève et le code dâaccès au tableau dâune séance sont conservés sous une forme que personne â pas même nous â ne peut relire. Un NIP nâest affiché quâune seule fois, au moment de lâimpression de la carte; réimprimer une carte signifie en générer un nouveau, ce qui désactive immédiatement lâancienne carte.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Un enseignant doit laisser entrer lâélève.`}),` Avoir une carte ne suffit pas pour entrer dans une classe en direct : lâenseignant voit la demande et lâaccepte ou la refuse.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Une connexion ratée ne révèle rien à un attaquant.`}),` Chaque tentative infructueuse renvoie une réponse identique, de sorte quâelle ne peut pas servir à découvrir si un identifiant de joueur existe.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Rien ne reste sur un appareil partagé.`}),` Lâidentifiant dâun élève est gardé en mémoire tant quâil joue et disparaît à la fermeture de lâonglet â il nâest jamais écrit dans le stockage du navigateur, de sorte quâune tablette de classe ne transporte rien dâun enfant à lâautre.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`strong`,{children:`Les applications des enseignants et des élèves fonctionnent sur des origines distinctes`}),`, de sorte quâun problème dans lâune ne peut pas atteindre la connexion de lâautre.`]}),(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(`strong`,{children:`Les adresses courriel des enseignants du côté du contenu sont chiffrées.`})})]}),(0,B.jsx)(`h3`,{children:`Incidents de sécurité`}),(0,B.jsx)(`p`,{children:`Aucun système ne peut garantir une sécurité absolue. Si nous prenons connaissance dâun incident de sécurité touchant des renseignements personnels, nous ferons enquête, prendrons des mesures raisonnables pour le circonscrire et y remédier, et déterminerons si une notification est requise.`}),(0,B.jsx)(`p`,{children:`Lorsque la loi applicable lâexige, nous aviserons les écoles, les conseils scolaires, les personnes, les organismes de réglementation ou les autres parties concernées dâune atteinte aux renseignements personnels. La nature et le moment de toute notification dépendront des cir
20constances de lâincident et des exigences de la loi applicable.`}),(0,B.jsx)(`p`,{children:`Veuillez noter quâaucun système nâest entièrement sécuritaire et que nous ne sommes pas responsables de la sécurité des renseignements qui circulent sur des réseaux hors de notre contrôle, comme Internet et les réseaux sans fil.`})]})},{id:`retention-and-deletion`,title:`Durée de conservation, et comment les modifier ou les supprimer`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Un enseignant peut, en tout temps, corriger ou retirer un élève de sa liste, générer un nouveau NIP pour un élève, modifier son propre profil et archiver une classe dont il a terminé lâenseignement.`}),(0,B.jsx)(`h3`,{children:`Accès et rectification`}),(0,B.jsx)(`p`,{children:`Vous pouvez nous demander quels renseignements personnels nous détenons à votre sujet et, sâil y a lieu, en demander une copie. Vous pouvez également nous demander de corriger des renseignements personnels inexacts ou incomplets.`}),(0,B.jsx)(`p`,{children:`Pour les renseignements sur les élèves, les demandes peuvent être traitées par lâintermédiaire de lâécole ou du conseil scolaire de lâélève lorsque cela est approprié, notamment lorsque lâécole ou le conseil contrôle ou fournit les renseignements.`}),(0,B.jsxs)(`p`,{children:[`Pour présenter une demande dâaccès, de rectification ou de suppression, communiquez avec nous à lâaide des coordonnées figurant à la `,(0,B.jsx)(`a`,{href:`#contact`,children:`section 11`}),`. Nous pourrions devoir vérifier lâidentité et lâautorité de la personne qui présente la demande avant de fournir des renseignements ou dâapporter des modifications.`]}),(0,B.jsx)(`p`,{children:`Nous répondrons aux demandes relatives à la vie privée dans les délais prévus par la loi applicable. Lorsque la LPRPDE sâapplique, nous répondons généralement aux demandes dâaccès dans un délai de 30 jours, sous réserve de toute prolongation ou exception prévue par la loi.`}),(0,B.jsx)(`h3`,{children:`Durée de conservation des renseignements`}),(0,B.jsx)(`p`,{children:`Nous ne conservons les renseignements personnels que le temps raisonnablement nécessaire pour fournir les Services, soutenir lâenseignement et lâapprentissage, assurer la sécurité, respecter nos obligations légales et régler les différends.`}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Dossiers dâélèves et activité dâapprentissage.`}),` Le dossier et lâhistorique dâapprentissage dâun élève sont conservés tant que lâélève est membre actif dâune classe. Lorsquâune classe est archivée ou quâun élève est retiré, les renseignements associés sont conservés pendant 12 mois, puis supprimés définitivement, à moins que la loi ne nous oblige à les conserver plus longtemps.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Comptes des enseignants.`}),` Les renseignements du compte dâun enseignant sont conservés tant que le compte est actif. Lorsquâun enseignant demande la suppression de son compte, ses renseignements personnels sont supprimés dans un délai de 30 jours, sauf si leur conservation est requise à des fins juridiques, de sécurité, de prévention de la fraude ou de tenue de dossiers.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Registres de sécurité.`}),` Les adresses IP et les autres journaux de sécurité liés aux tentatives de connexion sont conservés pendant 90 jours, puis supprimés ou anonymisés de façon irréversible.`]}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Sauvegardes.`}),` Les renseignements retirés de nos systèmes actifs peuvent demeurer temporairement dans des sauvegardes chiffrées. Les sauvegardes sont automatiquement écrasées ou supprimées de façon sécuritaire dans un délai de 90 jours.`]}),(0,B.jsx)(`p`,{children:`Lorsque des renseignements ne sont plus nécessaires, nous les supprimons de façon sécuritaire ou les anonymisons de façon irréversible afin quâils ne puissent plus être associés à une personne identifiable.`})]})},{id:`childrens-privacy`,title:`Protection de la vie privée des enfants`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`MoneyPrep est conçu pour être utilisé par les élèves de la maternelle à la 12e année par lâintermédiaire de leur école et de leurs enseignants. Nous veillons tout particulièrement à réduire au minimum les renseignements personnels recueillis auprès des élèves.`}),(0,B.jsx)(`p`,{children:`Les élèves ne créent pas leur propre compte MoneyPrep. Un enseignant crée le dossier dâun élève et détermine quels élèves sont ajoutés à une classe. Les élèves se connectent au moyen dâun identifiant de joueur et dâun NIP plutôt que dâune adresse courriel.`}),(0,B.jsx)(`p`,{children:`Nous limitons volontairement les renseignements associés à un élève à ce qui est raisonnablement nécessaire pour offrir lâexpérience dâapprentissage et permettre à lâenseignant de comprendre les progrès de lâélève. Le dossier dâun élève contient un prénom, un identifiant de joueur et un identifiant de badge générés aléatoirement, un NIP conservé sous forme de hachage unidirectionnel, des renseignements sur la classe et lâactivité dâapprentissage liée à lâutilisation des Services par lâélève. Nous nâexigeons pas le nom de famille, lâadresse courriel, la date de naissance, lâadresse du domicile, le numéro de téléphone, la photo ou dâautres coordonnées directes dâun élève.`}),(0,B.jsx)(`p`,{children:`Nous ne vendons pas les renseignements personnels des élèves. Nous nâutilisons pas les renseignements personnels des élèves à des fins de publicité, de publicité comportementale ou de marketing auprès des élèves. Les élèves ne peuvent pas faire dâachats au moyen des Services et ne disposent dâaucune fonction de messagerie directe ou de clavardage.`}),(0,B.jsx)(`p`,{children:`Lorsquâune école ou un conseil scolaire fournit ou autorise des renseignements sur des élèves pour une utilisation avec MoneyPrep, nous traitons ces renseignements uniquement aux fins décrites dans la présente Politique de confidentialité et dans lâentente applicable conclue avec lâécole ou le conseil scolaire.`}),(0,B.jsxs)(`p`,{children:[`Les parents et tuteurs peuvent communiquer avec nous à lâaide des coordonnées figurant à la `,(0,B.jsx)(`a`,{href:`#contact`,children:`section 11`}),` pour poser des questions sur les renseignements de leur enfant ou présenter une demande relative à la vie privée. Sâil y a lieu, nous pouvons collaborer avec lâécole ou le conseil scolaire concerné pour répondre aux demandes visant les dossiers dâélèves.`]}),(0,B.jsx)(`p`,{children:`MoneyPrep se conforme aux exigences en matière de protection de la vie privée et des données qui sâappliquent aux Services dans les territoires où nous exerçons nos activités. Lorsque des lois prévoient des protections supplémentaires pour les renseignements concernant les enfants, nous appliquons ces protections comme il est requis.`}),(0,B.jsx)(`p`,{children:`Nous ne recueillons pas sciemment auprès des enfants plus de renseignements personnels que ce qui est raisonnablement nécessaire pour fournir les Services.`})]})},{id:`changes-to-this-policy`,title:`Modifications de la présente politique`,body:(0,B.jsx)(`p`,{children:`Nous nous engageons à protéger vos données et à tenir la présente politique à jour. Chaque fois quâelle sera modifiée, nous vous en informerons en publiant la politique révisée sur notre site Web, dans les Services ou par courriel.`})},{id:`contact`,title:`Nous joindre`,body:(0,B.jsxs)(`p`,{children:[`Vos questions sur la présente politique, ou toute demande concernant vos renseignements, peuvent être envoyées à `,(0,B.jsx)(`a`,{href:`mailto:${Xu}`,children:Xu}),`.`]})}],Qu=[{id:`account-types`,title:`Types de comptes`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Nous offrons deux types dâaccès par lâintermédiaire des Services.`}),(0,B.jsx)(Pu,{label:`a. Compte enseignant`,children:(0,B.jsx)(`p`,{children:`Ouvert par un Adulte qui enseigne dans une école, un conseil scolaire, un service de garde agréé ou un autre établissement ou programme dâenseignement. On accède à un compte enseignant avec lâadresse courriel de lâenseignant.`})}),(0,B.jsx)(Pu,{label:`b. Dossier dâélève`,children:(0,B.jsx)(`p`,{children:`Le dossier dâun élève est créé par un enseignant et appartient à la classe de cet enseignant. Il ne sâagit pas dâun compte ouvert par lâélève lui-même : un élève ne peut pas sâinscrire, et il nâa aucun moyen de créer, de transférer ou de supprimer un dossier. Un élève accède aux Services avec lâidentifiant de joueur et le NIP imprimés sur la carte que lui remet son enseignant.`})}),(0,B.jsx)(`p`,{children:`Il nâexiste actuellement aucun compte pour les parents ou tuteurs.`}),(0,B.jsx)(Gu,{children:(0,B.jsx)(`p`,{children:`Une plateforme pour les parents est en développement; elle permettra à un parent de créer des profils pour ses propres enfants. Elle nâest pas encore en service. Les présentes Conditions devront prévoir un type de compte pour celle-ci avant son lancement.`})})]})},{id:`registration-and-sign-in`,title:`Inscription et connexion`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Vous devez fournir des renseignements exacts et complets lors de votre inscription et les tenir à jour. Vous ne devez pas fournir de renseignements faux ou trompeurs, et vous ne devez pas créer de compte pour une autre personne que vous-même. En vous inscrivant, vous attestez avoir 18 ans ou plus.`}),(0,B.jsx)(`p`,{children:`La connexion se fait sans mot de passe. Vous recevrez un code à usage unique à votre adresse courriel, ou vous pouvez choisir de continuer avec Google. Vous êtes responsable de protéger lâaccè
20s à ce compte de courriel, et vous ne devez laisser personne dâautre se connecter en votre nom. Vous ne pouvez pas transférer votre compte à une autre personne.`}),(0,B.jsx)(`p`,{children:`Nous pouvons, à notre discrétion, refuser une inscription ou interdire à une adresse courriel précise de se connecter.`})]})},{id:`student-record-responsibilities`,title:`Vos responsabilités à lâégard des dossiers dâélèves`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Câest vous qui décidez quels élèves sont ajoutés à votre classe, et les présentes Conditions vous en tiennent responsable.`}),(0,B.jsx)(Fu,{items:[(0,B.jsxs)(B.Fragment,{children:[`Vous devez saisir `,(0,B.jsx)(`strong`,{children:`uniquement des prénoms`}),`. Vous ne devez pas saisir de nom de famille, dâadresse courriel, de date de naissance ni aucun autre renseignement permettant dâidentifier un élève, que ce soit dans le nom dâun élève ou ailleurs dans les Services.`]}),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Vous déclarez avoir lâautorité, en vertu des politiques de votre école, de votre conseil scolaire ou de votre établissement et de la loi applicable, dâajouter à votre classe chaque élève que vous y ajoutez et de fournir les renseignements que vous saisissez dans les Services.`}),(0,B.jsx)(`p`,{children:`Vous êtes responsable de respecter les exigences de votre école, de votre conseil scolaire ou de votre établissement concernant les renseignements sur les élèves, y compris les avis, permissions ou approbations requis.`})]}),(0,B.jsx)(B.Fragment,{children:`Les cartes des élèves comportent un identifiant fonctionnel. Vous êtes responsable de les distribuer, de conserver en lieu sûr celles qui ne sont pas utilisées et de détruire celles qui ne servent plus.`}),(0,B.jsx)(B.Fragment,{children:`Si une carte est perdue ou vue par la mauvaise personne, générez un nouveau NIP pour cet élève. Cette opération désactive immédiatement lâancienne carte.`}),(0,B.jsx)(B.Fragment,{children:`Vous ne devez pas communiquer un code dâaccès au tableau en dehors de la classe pour laquelle il a été créé.`}),(0,B.jsx)(B.Fragment,{children:`Vous devez utiliser les Services uniquement à des fins éducatives légitimes et seulement pour les élèves que vous êtes autorisé à ajouter à votre classe. Vous devez retirer ou archiver sans tarder tout élève qui ne fait plus partie de votre classe.`})]})]})},{id:`live-sessions-and-free-play`,title:`Séances en direct et jeu libre`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Un enseignant anime une séance en direct pour une classe. Les élèves se joignent à la séance avec lâidentifiant de joueur inscrit sur leur carte et le code dâaccès que lâenseignant affiche au tableau, et lâenseignant admet chaque élève avant quâil puisse participer. Entre les séances, un élève peut se connecter avec son identifiant de joueur et son NIP pour continuer à pratiquer ses compétences par lui-même; cette connexion donne accès uniquement à son propre espace et ne peut jamais servir à entrer dans une classe en direct.`}),(0,B.jsxs)(`p`,{children:[`En jouant, les élèves relèvent des défis, accumulent des points dâexpérience, acquièrent des compétences et peuvent recevoir de leur enseignant un certificat pour lâatteinte dâun objectif.`,` `,(0,B.jsx)(`strong`,{children:`Les points dâexpérience, les progrès et les récompenses nâont aucune valeur monétaire.`}),` `,`Ils ne peuvent pas être échangés contre de lâargent, achetés, vendus, transférés entre élèves ni échangés contre quoi que ce soit en dehors des Services.`]})]})},{id:`fees`,title:`Frais`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Les Services sont actuellement offerts gratuitement. Il nây a aucun abonnement ni aucune adhésion payante, ni aucun achat dans les Services, et nous ne recueillons aucun renseignement de paiement auprès des enseignants ou des élèves.`}),(0,B.jsx)(`p`,{children:`Certains plans de leçon peuvent être financés par un commanditaire et débloqués au moyen dâun code de commanditaire. Le contenu financé par un commanditaire est offert sans frais aux enseignants et aux élèves.`}),(0,B.jsx)(`p`,{children:`Si nous instaurons des forfaits payants ou des frais à lâavenir, nous vous en aviserons et mettrons à jour les présentes Conditions avant que ces nouveaux frais ne sâappliquent à vous.`})]})},{id:`acceptable-use`,title:`Utilisation acceptable`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Vous vous engagez à ne pas :`}),(0,B.jsx)(Fu,{items:[(0,B.jsx)(B.Fragment,{children:`communiquer vos informations de connexion ou laisser quelquâun dâautre utiliser votre compte;`}),(0,B.jsx)(B.Fragment,{children:`tenter dâaccéder à une classe, à un dossier dâélève ou à une séance qui ne vous appartient pas;`}),(0,B.jsx)(B.Fragment,{children:`sonder, analyser ou tester la sécurité des Services, ni contourner toute limite ou tout contrôle dâaccès quâils comportent;`}),(0,B.jsx)(B.Fragment,{children:`extraire, moissonner ou télécharger en masse du contenu ou des données des Services;`}),(0,B.jsx)(B.Fragment,{children:`utiliser les Services pour conserver ou transmettre quoi que ce soit dâillégal, ou de nuisible pour les enfants qui les utilisent.`})]})]})}
20,{id:`ownership-and-licence`,title:`Propriété des Services et licence`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Les Services appartiennent à MoneyPrep Inc., qui en a le contrôle, et sont protégés dans toute la mesure possible par les lois et droits internationaux en matière de droit dâauteur, de marques de commerce, de brevets et dâautres formes de propriété intellectuelle. Vous vous engagez à ne pas copier, reproduire, désosser, désassembler, modifier ou autrement exploiter les Services, ni à en créer des Åuvres dérivées.`}),(0,B.jsxs)(`p`,{children:[`Votre accès aux Services constitue une licence limitée et non transférable (la`,` `,(0,B.jsx)(`strong`,{children:`Licence`}),`) vous permettant de les utiliser tant que votre compte est ouvert. La Licence ne vous confère aucun droit de propriété.`]})]})},{id:`content-and-sponsors`,title:`Contenu et commanditaires`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Le programme, les objectifs, les compétences, les défis et les plans de leçon des Services nous appartiennent ou appartiennent à nos concédants de licence, et vous sont fournis pour lâenseignement dans votre propre classe.`}),(0,B.jsx)(`p`,{children:`Lorsquâun plan de leçon est financé par un commanditaire, le nom de celui-ci peut figurer sur ce matériel dans la partie des Services destinée aux enseignants. Un commanditaire ne reçoit aucun nom dâélève, aucune réponse, aucun progrès ni aucune autre donnée sur votre classe, et aucune image de marque dâun commanditaire nâapparaît à lâécran dâun élève.`})]})},{id:`termination`,title:`Résiliation`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`p`,{children:[`Vous pouvez cesser dâutiliser les Services en tout temps. Vous pouvez archiver une classe dont vous avez terminé lâenseignement, ce qui désactive ses cartes et ses codes, et vous pouvez nous demander de supprimer votre compte ou les dossiers dâune classe comme le décrit notre `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`Politique de confidentialité`}),`.`]}),(0,B.jsx)(`p`,{children:`Nous pouvons suspendre ou résilier votre accès aux Services si vous enfreignez de façon importante les présentes Conditions, utilisez les Services de façon illégale ou dâune manière susceptible de nuire aux élèves, compromettez la sécurité des Services ou faites autrement un usage abusif des Services.`}),(0,B.jsx)(`p`,{children:`Lorsque cela est raisonnablement possible, nous donnerons un préavis avant de résilier ou de suspendre un compte. Nous pouvons suspendre ou résilier lâaccès sans préavis lorsque nous croyons raisonnablement quâune mesure immédiate est nécessaire pour protéger les élèves, les utilisateurs, les Services ou nos systèmes, ou lorsque la loi lâexige.`}),(0,B.jsx)(`p`,{children:`Si un compte est résilié, votre droit dâutiliser les Services prend fin. Les dispositions des présentes Conditions qui, de par leur nature, devraient survivre à la résiliation, y compris celles portant sur la propriété, les limitations de responsabilité, lâindemnisation, le droit applicable et les obligations liées aux différends, continueront de sâappliquer.`}),(0,B.jsx)(`p`,{children:`La résiliation nâa aucune incidence sur les droits ou obligations nés avant celle-ci.`})]})},{id:`privacy`,title:`Confidentialité`,body:(0,B.jsxs)(`p`,{children:[`Nous prenons votre vie privée au sérieux et faisons tout notre possible pour limiter les renseignements que nous recueillons. Veuillez lire notre`,` `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`politique de confidentialité`}),` pour les détails, notamment ce que contient le dossier dâun élève et où sont conservées les données dâune classe.`]})},{id:`disclaimer-of-warranties`,title:`Exclusion de garanties`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Les Services sont fournis « tels quels » et « selon leur disponibilité », sans garantie dâaucune sorte, expresse ou implicite. Aucune garantie, déclaration, approbation ou promesse nâest faite quant aux éléments suivants, notamment :`}),(0,B.jsx)(Fu,{items:[(0,B.jsx)(B.Fragment,{children:`les Services;`}),(0,B.jsx)(B.Fragment,{children:`les fonctionnalités, caractéristiques ou autres éléments offerts par lâintermédiaire des Services;`}),(0,B.jsx)(B.Fragment,{children:`tout produit ou service lié aux Services;`}),(0,B.jsx)(B.Fragment,{children:`la disponibilité des Services, lâabsence dâerreurs ou lâabsence dâéléments nuisibles;`}),(0,B.jsx)(B.Fragment,{children:`la disponibilité précise des Services, et la réparation de toute défectuosité dans un délai donné, notamment;`}),(0,B.jsx)(B.Fragment,{children:`la légalité de votre utilisation des Services dans un territoire donné.`})]})]})},{id:`limitation-of-liability`,title:`Limitation de responsabilité`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Dans toute la mesure permise par la loi applicable, MoneyPrep Inc. ne sera pas responsable des dommages indirects, accessoires, spéciaux, c
20onsécutifs, exemplaires ou punitifs, ni de la perte de profits, de revenus, dâoccasions dâaffaires ou dâachalandage, découlant des Services ou des présentes Conditions ou sây rapportant.`}),(0,B.jsxs)(`p`,{children:[`Dans toute la mesure permise par la loi applicable, la responsabilité globale totale de MoneyPrep Inc. découlant des Services ou des présentes Conditions ou sây rapportant nâexcédera pas le plus élevé des montants suivants :`,` `,(0,B.jsx)(`strong`,{children:`100 $ CA ou le montant que vous avez payé à MoneyPrep Inc. pour les Services au cours des 12 mois précédant lâévénement à lâorigine de la réclamation`}),`.`]}),(0,B.jsx)(`p`,{children:`Rien dans les présentes Conditions ne limite ni nâexclut une responsabilité qui ne peut légalement être limitée ou exclue en vertu de la loi applicable.`})]})},{id:`indemnity`,title:`Indemnisation`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Dans la mesure permise par la loi applicable, vous acceptez dâindemniser et de tenir à couvert MoneyPrep Inc., ses sociétés affiliées, ses dirigeants, ses administrateurs, ses employés et ses mandataires à lâégard des réclamations de tiers, pertes, responsabilités, dommages et frais juridiques raisonnables découlant directement :`}),(0,B.jsx)(Nu,{items:[(0,B.jsx)(B.Fragment,{children:`dâun manquement important de votre part aux présentes Conditions;`}),(0,B.jsx)(B.Fragment,{children:`de votre utilisation illégale des Services;`}),(0,B.jsx)(B.Fragment,{children:`de votre utilisation abusive et intentionnelle des Services; ou`}),(0,B.jsx)(B.Fragment,{children:`de la violation des droits dâun tiers dans le cadre de votre utilisation des Services.`})]}),(0,B.jsx)(`p`,{children:`Cette obligation ne sâapplique pas dans la mesure où une réclamation résulte de la négligence, de lâinconduite volontaire ou dâune violation de la loi applicable de la part de MoneyPrep Inc.`})]})},{id:`third-party-links`,title:`Liens vers des tiers`,body:(0,B.jsx)(`p`,{children:`Les Services peuvent contenir des liens vers des sites Web ou des ressources de tiers. Nous ne faisons aucune déclaration ni ne donnons aucune garantie de quelque nature que ce soit quant à la qualité, à la disponibilité ou à la légalité de ces sites externes. Nous ne sommes pas responsables des sites Web ou des ressources de tiers situés en dehors des Services.`})},{id:`severability`,title:`Divisibilité`,body:(0,B.jsx)(`p`,{children:`Si une modalité ou une disposition des présentes Conditions est jugée nulle ou inapplicable, elle sera retranchée des présentes Conditions. Le reste des présentes Conditions demeurera en vigueur et sera raisonnablement interprété de manière à réaliser lâintention des parties telle quâelle ressort des présentes Conditions.`})},{id:`governing-law`,title:`Droit applicable`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Les présentes Conditions sont régies par les lois de la province dâAlberta et les lois du Canada qui sây appliquent, sans égard aux règles de conflit de lois.`}),(0,B.jsx)(`p`,{children:`Sous réserve des droits ou protections impératifs applicables dans le territoire où vous ou vos élèves vous trouvez, les tribunaux situés en Alberta auront compétence à lâégard des différends découlant des présentes Conditions ou des Services ou sây rapportant.`}),(0,B.jsx)(`p`,{children:`Rien dans les présentes Conditions ne vise à limiter les droits ou protections impératifs auxquels il ne peut être légalement renoncé en vertu des lois qui vous sont applicables.`})]})},{id:`assignment`,title:`Cession`,body:(0,B.jsx)(`p`,{children:`Nous nous réservons le droit de céder, en tout ou en partie, nos droits et obligations en vertu des présentes Conditions ou de toute condition supplémentaire, à toute partie et en tout temps, sans préavis.`})},{id:`entire-agreement`,title:`Intégralité de lâentente`,body:(0,B.jsx)(`p`,{children:`Les présentes Conditions constituent lâintégralité de lâentente intervenue entre vou
20s et MoneyPrep Inc. quant à leur objet. Il nâexiste aucune autre entente, restriction, déclaration, compréhension ou garantie que celles expressément énoncées dans les présentes Conditions.`})},{id:`changes-to-these-terms`,title:`Modifications des présentes Conditions`,body:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Nous pouvons mettre à jour les présentes Conditions de temps à autre pour tenir compte de changements apportés aux Services, à nos activités ou aux exigences légales applicables.`}),(0,B.jsx)(`p`,{children:`Lorsque nous apportons une modification importante, nous en donnons un préavis raisonnable en publiant les Conditions mises à jour sur notre site Web ou dans les Services et, sâil y a lieu, par courriel.`}),(0,B.jsx)(`p`,{children:`Les Conditions révisées sâappliqueront à compter de la date dâentrée en vigueur indiquée dans les Conditions mises à jour. Votre utilisation continue des Services après cette date constitue une acceptation des Conditions révisées, dans la mesure permise par la loi applicable.`}),(0,B.jsxs)(`p`,{children:[`Si vous nâacceptez pas une modification importante, vous pouvez cesser dâutiliser les Services et demander la suppression de votre compte et des dossiers applicables comme le décrit notre `,(0,B.jsx)(Cc,{to:`/{-$locale}/privacy`,children:`Politique de confidentialité`}),`.`]})]})}],$u={en:Yu,fr:{shared:{eyebrow:`Mentions légales`,effectiveDate:`Date dâentrée en vigueur : 1er septembre 2026`,lastUpdated:`Dernière mise à jour : 1er septembre 2026`,onThisPage:`Sur cette page`,pending:`En attente`,footer:{title:`Vous avez encore des questions?`,body:`Notre équipe se fera un plaisir de vous expliquer tout cela. Ãcrivez-nous et une vraie personne vous répondra.`,backHome:`Retour à lâaccueil`}},privacy:{meta:{title:`Politique de confidentialité â MoneyPrep`,description:`Ce que MoneyPrep recueille sur les enseignants et les élèves quâils ajoutent, comment nous lâutilisons, dans quelle région câest conservé et qui dâautre peut y avoir accès.`},titleLead:`Politique de`,titleAccent:`confidentialité`,otherLegal:`Conditions dâutilisation`,intro:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Bienvenue chez MoneyPrep. La présente politique décrit ce que nous recueillons sur les personnes qui utilisent notre plateforme â les enseignants et les élèves que leurs enseignants ajoutent â, comment nous lâutilisons, où câest conservé et qui dâautre peut le recevoir.`}),(0,B.jsxs)(`p`,{children:[`Veuillez la lire attentivement. La présente Politique de confidentialité explique comment MoneyPrep recueille, utilise, protège, conserve et communique les renseignements personnels lorsque vous utilisez nos sites Web, nos applications et notre programme dâapprentissage (collectivement, les `,(0,B.jsx)(`strong`,{className:`font-bold`,children:`Services`}),`).`]}),(0,B.jsx)(`p`,{children:`Votre utilisation des Services est assujettie à la présente Politique de confidentialité et à nos Conditions dâutilisation applicables. Les renseignements sur les élèves fournis ou autorisés par une école ou un conseil scolaire sont traités conformément à lâentente applicable conclue avec lâécole ou le conseil scolaire et à la loi applicable en matière de protection des renseignements personnels.`})]}),responsibleParty:{title:`Qui est responsable de vos renseignements`,body:`MoneyPrep est exploité par MoneyPrep Inc. (« MoneyPrep », « nous », « notre » ou « nos »). MoneyPrep Inc. est responsable des renseignements personnels décrits dans la présente Politique de confidentialité.`},sections:Zu},terms:{meta:{title:`Conditions dâutilisation â MoneyPrep`,description:`Les conditions qui régissent les comptes enseignants, les dossiers dâélèves et lâutilisation des sites Web, des applications, du programme dâapprentissage et des ressources pédagogiques de MoneyPrep.`},titleLead:`Conditions`,titleAccent:`dâutilisation`,otherLegal:`Politique de confidentialité`,intro:(0,B.jsxs)(`p`,{children:[`Veuillez lire les présentes conditions dâutilisation (les`,` `,(0,B.jsx)(`strong`,{className:`font-bold`,children:`Conditions`}),`) avant dâutiliser les Services. En vous inscrivant à un compte, vous reconnaissez avoir lu et compris les présentes Conditions et vous acceptez dây être lié.`]}),definitionsTitle:`Les termes que nous utilisons`,definitions:[{term:`Vous`,meaning:`désigne un Adulte qui utilise les
20Services.`},{term:`Adulte`,meaning:`désigne une personne majeure pouvant conclure le présent contrat en sâinscrivant à un compte. Vous déclarez et garantissez être un adulte, et vous êtes responsable de veiller à ce que tout élève que vous autorisez à utiliser les Services le fasse conformément aux présentes Conditions.`},{term:`Services`,meaning:`désigne nos sites Web, nos applications, tout ce qui est accessible par leur intermédiaire, le programme dâapprentissage et les ressources pédagogiques, y compris les plans de leçon.`},{term:`Compte`,meaning:`désigne lâinscription dâun enseignant aux Services, ainsi que lâadresse courriel et le mode de connexion utilisés pour y accéder.`},{term:`Dossier dâélève`,meaning:`désigne le dossier, propre à une classe, quâun enseignant crée pour un élève, ainsi que la carte portant lâidentifiant de joueur et le NIP de cet élève.`},{term:`Utilisateurs`,meaning:`désigne les enseignants et les élèves.`}],sections:Qu}}},ed=Ac(`/{-$locale}/terms`)({component:Mc(()=>Du(()=>import(`./terms-BvtLErSX.js`),__vite__mapDeps([5,3,1,6])),`component`),head:({params:e})=>{let{meta:t}=$u[lu(e.locale)].terms;return{meta:[{title:t.title},{name:`description`,content:t.description}]}}}),td=Ac(`/{-$locale}/privacy`)({component:Mc(()=>Du(()=>import(`./privacy-Bi4j3NwT.js`),__vite__mapDeps([7,3,1,6])),`component`),head:({params:e})=>{let{meta:t}=$u[lu(e.locale)].privacy;return{meta:[{title:t.title},{name:`description`,content:t.description}]}}}),nd={en:{meta:{title:`For Teachers â MoneyPrep`,description:`Curriculum-aligned lesson plans, student books and classroom games that make money skills easy to teach.`},hero:{label:`For Teachers`,title:{before:`Fulfill Your Financial `,accent:`Literacy Objectives`},body:`MoneyPrep provides you with ALL the tools you need to teach financial literacy in your specific region. No more searching for one off worksheets! It's easy, requires no prep and gives your students a learning experience to remember.`,cta:`Get Started for FREE!`},teacherPlatform:{label:`Teacher Dashboard`,title:{before:`Your `,accent:`Classroom`,after:`Command Centre`},body:`One place to find resources, launch classroom interactive sessions and monitor class performance.`,capabilities:[`no searching necessary - resources filtered by curricular learning objectives!`,`multi-modal tools available - interactive sessions AND printable activities.`,`set up a class and invite students to participate with a few clicks.`,`follow class and individual performance at a glance.`,`check out suggestion section for topics that need extra attention.`,`shareables to keep the learning going with your parent community.`],previewLabel:`Teacher Dashboard`},studentPlatform:{label:`Student Platform`,title:{before:`What Your `,accent:`Students`,after:`See`},body:`Students see the FUN stuff! Interactive sessions to join, leaderboards and learning achievements. MoneyPrep is engaging, so it is truly learning money the FUN way!`,highlights:[{title:`Play, Then Reflect`,desc:`Every session provides a feedback loop.`},{title:`Safe by Design`,desc:`Follows all guidelines for kids under 13.`},{title:`Built for Schools`,desc:`Runs on tablets and Chromebooks used in schools.`}],previewLabel:`Student View`},resources:{label:`What You Get`,title:{before:`Everything You Need to `,accent:`Teach Fin Lit Tomorrow`},body:`Open the platform, pick a lesson, run it. No prep weekend required.`,items:[{title:`Lesson Plans`,desc:`Ready-to-run plans with objectives, timings and discussion prompts.`},{title:`Peace of Mind`,desc:`Used extensively across the country by thousands of colleagues just like you!`},{title:`Classroom Interactive Sessions`,desc:`Mini games and classroom competitions for fun style learning.`},{title:`Curriculum Alignment`,desc:`Guaranteed fulfillment that is easily organized by the objectives for your specific region.`},{title:`Progress Dashboards`,desc:`See student and class performance at a glance, and what skills need extra practice!`},{title:`Printables`,desc:`Worksheets and take-home challenges for screen-free days.`}]}},fr:{meta:{title:`Pour les enseignants â MoneyPrep`,description:`Des plans de leçon alignés sur le programme, des cahiers pour les élèves et des jeux en classe qui rendent les compétences financières faciles à enseigner.`},hero:{label:`Pour les enseignants`,title:{before:`Atteignez vos objectifs de `,accent:`littératie financière`},body:`MoneyPrep vous offre TOUS les outils nécessaires pour enseigner la littératie financière dans votre région. Fini la chasse aux fiches dâexercices isolées! Câest facile, ça ne demande aucune préparation et vos élèves vivront une expérience dâapprentissage m
20émorable.`,cta:`Commencez GRATUITEMENT!`},teacherPlatform:{label:`Tableau de bord de lâenseignant`,title:{before:`Le centre de commande de `,accent:`votre classe`,after:``},body:`Un seul endroit pour trouver des ressources, lancer des séances interactives en classe et suivre le rendement de la classe.`,capabilities:[`aucune recherche nécessaire : les ressources sont filtrées selon les objectifs dâapprentissage du programme!`,`des outils multimodaux : séances interactives ET activités à imprimer.`,`créez une classe et invitez vos élèves à participer en quelques clics.`,`suivez le rendement de la classe et de chaque élève en un coup dâÅil.`,`consultez la section de suggestions pour repérer les sujets qui demandent plus dâattention.`,`du contenu à partager pour prolonger lâapprentissage avec les parents.`],previewLabel:`Tableau de bord de lâenseignant`},studentPlatform:{label:`Plateforme des élèves`,title:{before:`Ce que voient `,accent:`vos élèves`,after:``},body:`Les élèves voient la partie AMUSANTE! Des séances interactives à rejoindre, des classements et des réussites dâapprentissage. MoneyPrep est captivant : câest vraiment apprendre lâargent en sâAMUSANT!`,highlights:[{title:`Jouer, puis réfléchir`,desc:`Chaque séance offre une boucle de rétroaction.`},{title:`Sécuritaire dès la conception`,desc:`Respecte toutes les lignes directrices pour les enfants de moins de 13 ans.`},{title:`Conçu pour les écoles`,desc:`Fonctionne sur les tablettes et les Chromebook utilisés dans les écoles.`}],previewLabel:`Vue de lâélève`},resources:{label:`Ce que vous obtenez`,title:{before:`Tout ce quâil vous faut pour `,accent:`enseigner la littératie financière dès demain`},body:`Ouvrez la plateforme, choisissez une leçon, lancez-la. Pas besoin de passer la fin de semaine à préparer.`,items:[{title:`Plans de leçon`,desc:`Des plans prêts à utiliser, avec objectifs, durées et pistes de discussion.`},{title:`Tranquillité dâesprit`,desc:`Utilisé partout au pays par des milliers de collègues comme vous!`},{title:`Séances interactives en classe`,desc:`Des mini-jeux et des compétitions en classe pour apprendre en sâamusant.`},{title:`Alignement sur le programme`,desc:`Une couverture garantie, facilement organisée selon les objectifs de votre région.`},{title:`Tableaux de progrès`,desc:`Voyez le rendement des élèves et de la classe en un coup dâÅil, et les compétences à pratiquer davantage!`},{title:`Documents à imprimer`,desc:`Des fiches dâexercices et des défis à faire à la maison pour les journées sans écran.`}]}}},rd=Ac(`/{-$locale}/for-teachers`)({component:Mc(()=>Du(()=>import(`./for-teachers-ZLK1ErCl.js`),__vite__mapDeps([8,3,1,4])),`component`),head:({params:e})=>{let{meta:t}=nd[lu(e.locale)];return{meta:[{title:t.title},{name:`description`,content:t.description}]}}}),id={en:{meta:{title:`For Parents â MoneyPrep`,description:`Tools for grown-ups to follow their kid's progress and turn everyday money moments into lessons. Coming soon.`},label:`For Parents`,title:{before:`Something Good Is `,accent:`On the Way`},body:`Weâre building a space for grown ups - tools to follow your kids progress and connect their in-game achievements to real life bonuses. MoneyPrep is digital game play that you can get behind!`,backHome:`Back to Home`,forTeachers:`For Teachers`},fr:{meta:{title:`Pour les parents â MoneyPrep`,description:`Des outils pour permettre aux adultes de suivre les progrès de leur enfant et de transformer les moments dâargent du quotidien en leçons. Bientôt disponible.`},label:`Pour les parents`,title:{before:`Quelque chose de bien `,accent:`sâen vient`},body:`Nous créons un espace pour les adultes : des outils pour suivre les progrès de vos enfants et relier leurs réussites dans le jeu à des récompenses dans la vraie vie. MoneyPrep, câest du jeu numérique que vous pouvez appuyer!`,backHome:`Retour à lâaccueil`,forTeachers:`Pour les enseignants`}},ad=Ac(`/{-$locale}/for-parents`)({component:Mc(()=>Du(()=>import(`./for-parents-BTsyJfzz.js`),__vite__mapDeps([9,3,1])),`component`),head:({params:e})=>{let{meta:t}=id[lu(e.locale)];return{meta:[{title:t.title},{name:`description`,content:t.description}]}}}),od={en:{meta:{title:`FAQ â MoneyPrep`,description:`Answers to what teachers ask most: whether MoneyPrep is free, how it maps to your jurisdiction's financial literacy objectives, how long setup takes, and using it across grades.`},hero:{label:`FAQ`,title:{before:`Questions, `,accent:`Answered`},body:`The things teachers ask us most, before their first class with MoneyPrep.`},questionLabel:e=>`Question ${e}`,faqs:[{id:`is-moneyprep-free`,question:`Is MoneyPrep free?`,answer:`Yes! Any elementary teacher can sign up to start the interactive learning! Check out all the available (and FUN) sessions for your classroom.`},{id:`financial-literacy-objectives`,question:`Does MoneyPrep meet MY financial literacy objectives?`,answer:`Absolutely! We have taken great effort to provide teaching resources that fulfill all your specific fin lit objectives. Not only that, they are organized by YOUR jurisdiction. You can be confident that our materials meet your needs and are easy to find.`},{id:`setup-time`,question:`Is it time consuming to set up?`,answer:`Not at all. You are able to set up your class and explore the resources in minutes. Very user friendly!`},{id:`multiple-grades`,question:`Can I use resources for more than one grade?`,answer:`You bet! You can set up classrooms for different grades. We know that many teachers wear multiple hats!`}],cta:{title:`Still Wondering Something?`,body:`Ask us anything about running MoneyPrep in your classroom â a real human will get back to you.`,link:`See What You Get`}},fr:{meta:{title:`FAQ â MoneyPrep`,description:`Les réponses aux questions les plus fréquentes des enseignants : MoneyPrep est-il gratuit, comment correspond-il aux objectifs de littératie financière de votre territoire, combien de temps prend la configuration et comment lâutiliser pour plusieurs années scolaires.`},hero:{label:`FAQ`,title:{before:`Vos questions, `,accent:`nos réponses`},body:`Ce que les enseignants nous demandent le plus souvent, avant leur premier cours avec MoneyPrep.`},questionLabel:e=>`Question ${e}`,faqs:[{id:`is-moneyprep-free`,question:`MoneyPrep est-il gratuit?`,answer:`Oui! Tout enseignant du primaire peut sâinscrire et commencer lâapprentissage interactif! Découvrez toutes les séances offertes (et AMUSANTES) pour votre classe.`},{id:`financial-literacy-objectives`,question:`MoneyPrep répond-il à MES objectifs de littératie financière?`,answer:`Absolument! Nous avons tout mis en Åuvre pour offrir des ressources pédagogiques qui répondent à chacun de vos objectifs de littératie financière. En plus, elles s
20ont organisées selon VOTRE territoire. Vous pouvez avoir confiance : notre matériel répond à vos besoins et il est facile à trouver.`},{id:`setup-time`,question:`La configuration prend-elle beaucoup de temps?`,answer:`Pas du tout. Vous pouvez créer votre classe et explorer les ressources en quelques minutes. Câest très convivial!`},{id:`multiple-grades`,question:`Puis-je utiliser les ressources pour plus dâune année scolaire?`,answer:`Bien sûr! Vous pouvez créer des classes pour différentes années. Nous savons que bien des enseignants portent plusieurs chapeaux!`}],cta:{title:`Vous avez encore une question?`,body:`Posez-nous toutes vos questions sur lâutilisation de MoneyPrep en classe â une vraie personne vous répondra.`,link:`Voir ce que vous obtenez`}}},sd=Ac(`/{-$locale}/faq`)({component:Mc(()=>Du(()=>import(`./faq-CDAZE1mm.js`),__vite__mapDeps([10,3,1])),`component`),head:({params:e})=>{let{meta:t,faqs:n}=od[lu(e.locale)],r={"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:n.map(e=>({"@type":`Question`,name:e.question,acceptedAnswer:{"@type":`Answer`,text:e.answer}}))};return{meta:[{title:t.title},{name:`description`,content:t.description}],scripts:[{type:`application/ld+json`,children:JSON.stringify(r)}]}}}),cd=Au.update({id:`/{-$locale}`,path:`/{-$locale}`,getParentRoute:()=>vu}),ld=Mu.update({id:`/`,path:`/`,getParentRoute:()=>cd}),ud=ed.update({id:`/terms`,path:`/terms`,getParentRoute:()=>cd}),dd=td.update({id:`/privacy`,path:`/privacy`,getParentRoute:()=>cd}),fd=rd.update({id:`/for-teachers`,path:`/for-teachers`,getParentRoute:()=>cd}),pd=ad.update({id:`/for-parents`,path:`/for-parents`,getParentRoute:()=>cd}),md={Char123LocaleChar125FaqRoute:sd.update({id:`/faq`,path:`/faq`,getParentRoute:()=>cd}),Char123LocaleChar125ForParentsRoute:pd,Char123LocaleChar125ForTeachersRoute:fd,Char123LocaleChar125PrivacyRoute:dd,Char123LocaleChar125TermsRoute:ud,Char123LocaleChar125IndexRoute:ld},hd={Char123LocaleChar125RouteRoute:cd._addFileChildren(md)},gd=vu._addFileChildren(hd),_d=()=>qc({routeTree:gd,context:{queryClient:new eu},scrollRestoration:!0,defaultPreloadStaleTime:0});async function vd(){let e=await _d(),t;if(sl){let n=await sl.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.serializationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(us),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await ps(e),e}var yd=vd;async function bd(){let e=await yd();return window.$_TSR?.h(),e}var Q;function xd(){return Q||=bd(),(0,B.jsx)(Ss,{promise:Q,children:e=>(0,B.jsx)(Xc,{router:e})})}var Sd=_();(0,z.startTransition)(()=>{(0,Sd.hydrateRoot)(document,(0,B.jsx)(z.StrictMode,{children:(0,B.jsx)(xd,{})}))});export{bs as C,l as D,s as E,lc as S,d as T,fu as _,Wu as a,Hc as b,Au as c,pu as d,mu as f,su as g,ou as h,$u as i,Su as l,iu as m,id as n,Uu as o,au as p,nd as r,ju as s,od as t,Cu as u,ru as v,h as w,Cc as x,Zc as y};
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.