PHP-Course/exam/dist/assets/index-Bv9g1hLV.js

618 lines
351 KiB
JavaScript

var Td=e=>{throw TypeError(e)};var ha=(e,t,n)=>t.has(e)||Td("Cannot "+n);var P=(e,t,n)=>(ha(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Td("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),U=(e,t,n,r)=>(ha(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ie=(e,t,n)=>(ha(e,t,"access private method"),n);var Mi=(e,t,n,r)=>({set _(o){U(e,t,o,n)},get _(){return P(e,t,r)}});function Hy(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function th(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Wn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var nh={exports:{}},ol={},rh={exports:{}},H={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wi=Symbol.for("react.element"),Vy=Symbol.for("react.portal"),Ky=Symbol.for("react.fragment"),Gy=Symbol.for("react.strict_mode"),Qy=Symbol.for("react.profiler"),qy=Symbol.for("react.provider"),Yy=Symbol.for("react.context"),Xy=Symbol.for("react.forward_ref"),Jy=Symbol.for("react.suspense"),Zy=Symbol.for("react.memo"),ev=Symbol.for("react.lazy"),Md=Symbol.iterator;function tv(e){return e===null||typeof e!="object"?null:(e=Md&&e[Md]||e["@@iterator"],typeof e=="function"?e:null)}var oh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ih=Object.assign,sh={};function ho(e,t,n){this.props=e,this.context=t,this.refs=sh,this.updater=n||oh}ho.prototype.isReactComponent={};ho.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};ho.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lh(){}lh.prototype=ho.prototype;function ac(e,t,n){this.props=e,this.context=t,this.refs=sh,this.updater=n||oh}var uc=ac.prototype=new lh;uc.constructor=ac;ih(uc,ho.prototype);uc.isPureReactComponent=!0;var Ld=Array.isArray,ah=Object.prototype.hasOwnProperty,cc={current:null},uh={key:!0,ref:!0,__self:!0,__source:!0};function ch(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)ah.call(t,r)&&!uh.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:wi,type:e,key:i,ref:s,props:o,_owner:cc.current}}function nv(e,t){return{$$typeof:wi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function dc(e){return typeof e=="object"&&e!==null&&e.$$typeof===wi}function rv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zd=/\/+/g;function ma(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rv(""+e.key):t.toString(36)}function ls(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case wi:case Vy:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+ma(s,0):r,Ld(o)?(n="",e!=null&&(n=e.replace(zd,"$&/")+"/"),ls(o,t,n,"",function(u){return u})):o!=null&&(dc(o)&&(o=nv(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(zd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Ld(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+ma(i,l);s+=ls(i,t,n,a,o)}else if(a=tv(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+ma(i,l++),s+=ls(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Li(e,t,n){if(e==null)return e;var r=[],o=0;return ls(e,r,"","",function(i){return t.call(n,i,o++)}),r}function ov(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xe={current:null},as={transition:null},iv={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:as,ReactCurrentOwner:cc};function dh(){throw Error("act(...) is not supported in production builds of React.")}H.Children={map:Li,forEach:function(e,t,n){Li(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Li(e,function(){t++}),t},toArray:function(e){return Li(e,function(t){return t})||[]},only:function(e){if(!dc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};H.Component=ho;H.Fragment=Ky;H.Profiler=Qy;H.PureComponent=ac;H.StrictMode=Gy;H.Suspense=Jy;H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iv;H.act=dh;H.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ih({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=cc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)ah.call(t,a)&&!uh.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:wi,type:e.type,key:o,ref:i,props:r,_owner:s}};H.createContext=function(e){return e={$$typeof:Yy,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qy,_context:e},e.Consumer=e};H.createElement=ch;H.createFactory=function(e){var t=ch.bind(null,e);return t.type=e,t};H.createRef=function(){return{current:null}};H.forwardRef=function(e){return{$$typeof:Xy,render:e}};H.isValidElement=dc;H.lazy=function(e){return{$$typeof:ev,_payload:{_status:-1,_result:e},_init:ov}};H.memo=function(e,t){return{$$typeof:Zy,type:e,compare:t===void 0?null:t}};H.startTransition=function(e){var t=as.transition;as.transition={};try{e()}finally{as.transition=t}};H.unstable_act=dh;H.useCallback=function(e,t){return Xe.current.useCallback(e,t)};H.useContext=function(e){return Xe.current.useContext(e)};H.useDebugValue=function(){};H.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)};H.useEffect=function(e,t){return Xe.current.useEffect(e,t)};H.useId=function(){return Xe.current.useId()};H.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)};H.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)};H.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)};H.useMemo=function(e,t){return Xe.current.useMemo(e,t)};H.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)};H.useRef=function(e){return Xe.current.useRef(e)};H.useState=function(e){return Xe.current.useState(e)};H.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)};H.useTransition=function(){return Xe.current.useTransition()};H.version="18.3.1";rh.exports=H;var R=rh.exports;const X=th(R),Fd=Hy({__proto__:null,default:X},[R]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sv=R,lv=Symbol.for("react.element"),av=Symbol.for("react.fragment"),uv=Object.prototype.hasOwnProperty,cv=sv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dv={key:!0,ref:!0,__self:!0,__source:!0};function fh(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)uv.call(t,r)&&!dv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:lv,type:e,key:i,ref:s,props:o,_owner:cv.current}}ol.Fragment=av;ol.jsx=fh;ol.jsxs=fh;nh.exports=ol;var p=nh.exports,il=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(){}},sl=typeof window>"u"||"Deno"in globalThis;function Mt(){}function fv(e,t){return typeof e=="function"?e(t):e}function pv(e){return typeof e=="number"&&e>=0&&e!==1/0}function hv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Id(e,t){return typeof e=="function"?e(t):e}function mv(e,t){return typeof e=="function"?e(t):e}function Nd(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==fc(s,t.options))return!1}else if(!Yo(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Dd(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(qo(t.options.mutationKey)!==qo(i))return!1}else if(!Yo(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function fc(e,t){return((t==null?void 0:t.queryKeyHashFn)||qo)(e)}function qo(e){return JSON.stringify(e,(t,n)=>tu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Yo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Yo(e[n],t[n])):!1}function ph(e,t){if(e===t)return e;const n=Ad(e)&&Ad(t);if(n||tu(e)&&tu(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{};let a=0;for(let u=0;u<s;u++){const c=n?u:i[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(l[c]=void 0,a++):(l[c]=ph(e[c],t[c]),l[c]===e[c]&&e[c]!==void 0&&a++)}return o===s&&a===o?e:l}return t}function Ad(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function tu(e){if(!Bd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Bd(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Bd(e){return Object.prototype.toString.call(e)==="[object Object]"}function yv(e){return new Promise(t=>{setTimeout(t,e)})}function vv(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ph(e,t):t}function gv(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function xv(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var hh=Symbol();function mh(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===hh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var nr,_n,Vr,Gp,Sv=(Gp=class extends il{constructor(){super();J(this,nr);J(this,_n);J(this,Vr);U(this,Vr,t=>{if(!sl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,_n)||this.setEventListener(P(this,Vr))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,_n))==null||t.call(this),U(this,_n,void 0))}setEventListener(t){var n;U(this,Vr,t),(n=P(this,_n))==null||n.call(this),U(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,nr)!==t&&(U(this,nr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,nr)=="boolean"?P(this,nr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},nr=new WeakMap,_n=new WeakMap,Vr=new WeakMap,Gp),yh=new Sv,Kr,Pn,Gr,Qp,wv=(Qp=class extends il{constructor(){super();J(this,Kr,!0);J(this,Pn);J(this,Gr);U(this,Gr,t=>{if(!sl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){P(this,Pn)||this.setEventListener(P(this,Gr))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,Pn))==null||t.call(this),U(this,Pn,void 0))}setEventListener(t){var n;U(this,Gr,t),(n=P(this,Pn))==null||n.call(this),U(this,Pn,t(this.setOnline.bind(this)))}setOnline(t){P(this,Kr)!==t&&(U(this,Kr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,Kr)}},Kr=new WeakMap,Pn=new WeakMap,Gr=new WeakMap,Qp),_s=new wv;function kv(e){return Math.min(1e3*2**e,3e4)}function vh(e){return(e??"online")==="online"?_s.isOnline():!0}var gh=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ya(e){return e instanceof gh}function xh(e){let t=!1,n=0,r=!1,o,i,s;const l=new Promise((h,m)=>{i=h,s=m}),a=h=>{var m;r||(x(new gh(h)),(m=e.abort)==null||m.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>yh.isFocused()&&(e.networkMode==="always"||_s.isOnline())&&e.canRun(),f=()=>vh(e.networkMode)&&e.canRun(),y=h=>{var m;r||(r=!0,(m=e.onSuccess)==null||m.call(e,h),o==null||o(),i(h))},x=h=>{var m;r||(r=!0,(m=e.onError)==null||m.call(e,h),o==null||o(),s(h))},v=()=>new Promise(h=>{var m;o=g=>{(r||d())&&h(g)},(m=e.onPause)==null||m.call(e)}).then(()=>{var h;o=void 0,r||(h=e.onContinue)==null||h.call(e)}),k=()=>{if(r)return;let h;const m=n===0?e.initialPromise:void 0;try{h=m??e.fn()}catch(g){h=Promise.reject(g)}Promise.resolve(h).then(y).catch(g=>{var w;if(r)return;const S=e.retry??(sl?0:3),C=e.retryDelay??kv,_=typeof C=="function"?C(n,g):C,E=S===!0||typeof S=="number"&&n<S||typeof S=="function"&&S(n,g);if(t||!E){x(g);return}n++,(w=e.onFail)==null||w.call(e,n,g),yv(_).then(()=>d()?void 0:v()).then(()=>{t?x(g):k()})})};return{promise:l,cancel:a,continue:()=>(o==null||o(),l),cancelRetry:u,continueRetry:c,canStart:f,start:()=>(f()?k():v().then(k),l)}}function Cv(){let e=[],t=0,n=f=>{f()},r=f=>{f()},o=f=>setTimeout(f,0);const i=f=>{o=f},s=f=>{let y;t++;try{y=f()}finally{t--,t||u()}return y},l=f=>{t?e.push(f):o(()=>{n(f)})},a=f=>(...y)=>{l(()=>{f(...y)})},u=()=>{const f=e;e=[],f.length&&o(()=>{r(()=>{f.forEach(y=>{n(y)})})})};return{batch:s,batchCalls:a,schedule:l,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:i}}var qe=Cv(),rr,qp,Sh=(qp=class{constructor(){J(this,rr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),pv(this.gcTime)&&U(this,rr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sl?1/0:5*60*1e3))}clearGcTimeout(){P(this,rr)&&(clearTimeout(P(this,rr)),U(this,rr,void 0))}},rr=new WeakMap,qp),Qr,qr,gt,Be,xi,or,zt,on,Yp,Ev=(Yp=class extends Sh{constructor(t){super();J(this,zt);J(this,Qr);J(this,qr);J(this,gt);J(this,Be);J(this,xi);J(this,or);U(this,or,!1),U(this,xi,t.defaultOptions),this.setOptions(t.options),this.observers=[],U(this,gt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,U(this,Qr,t.state||Pv(this.options)),this.state=P(this,Qr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,Be))==null?void 0:t.promise}setOptions(t){this.options={...P(this,xi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,gt).remove(this)}setData(t,n){const r=vv(this.state.data,t,this.options);return Ie(this,zt,on).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ie(this,zt,on).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=P(this,Be))==null?void 0:r.promise;return(o=P(this,Be))==null||o.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,Qr))}isActive(){return this.observers.some(t=>mv(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!hv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Be))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Be))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,Be)&&(P(this,or)?P(this,Be).cancel({revert:!0}):P(this,Be).cancelRetry()),this.scheduleGc()),P(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ie(this,zt,on).call(this,{type:"invalidate"})}fetch(t,n){var a,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Be))return P(this,Be).continueRetry(),P(this,Be).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(U(this,or,!0),r.signal)})},i=()=>{const d=mh(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return o(f),U(this,or,!1),this.options.persister?this.options.persister(d,f,this):d(f)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(s),(a=this.options.behavior)==null||a.onFetch(s,this),U(this,qr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&Ie(this,zt,on).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const l=d=>{var f,y,x,v;ya(d)&&d.silent||Ie(this,zt,on).call(this,{type:"error",error:d}),ya(d)||((y=(f=P(this,gt).config).onError)==null||y.call(f,d,this),(v=(x=P(this,gt).config).onSettled)==null||v.call(x,this.state.data,d,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return U(this,Be,xh({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,y,x,v;if(d===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(d),(y=(f=P(this,gt).config).onSuccess)==null||y.call(f,d,this),(v=(x=P(this,gt).config).onSettled)==null||v.call(x,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(d,f)=>{Ie(this,zt,on).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{Ie(this,zt,on).call(this,{type:"pause"})},onContinue:()=>{Ie(this,zt,on).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),P(this,Be).start()}},Qr=new WeakMap,qr=new WeakMap,gt=new WeakMap,Be=new WeakMap,xi=new WeakMap,or=new WeakMap,zt=new WeakSet,on=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,..._v(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return ya(o)&&o.revert&&P(this,qr)?{...P(this,qr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,gt).notify({query:this,type:"updated",action:t})})},Yp);function _v(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:vh(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Pv(e){const 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,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Kt,Xp,$v=(Xp=class extends il{constructor(t={}){super();J(this,Kt);this.config=t,U(this,Kt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??fc(o,n);let s=this.get(i);return s||(s=new Ev({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){P(this,Kt).has(t.queryHash)||(P(this,Kt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,Kt).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,Kt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,Kt).get(t)}getAll(){return[...P(this,Kt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Nd(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Nd(t,r)):n}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Kt=new WeakMap,Xp),Gt,Ke,ir,Qt,xn,Jp,Rv=(Jp=class extends Sh{constructor(t){super();J(this,Qt);J(this,Gt);J(this,Ke);J(this,ir);this.mutationId=t.mutationId,U(this,Ke,t.mutationCache),U(this,Gt,[]),this.state=t.state||jv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,Gt).includes(t)||(P(this,Gt).push(t),this.clearGcTimeout(),P(this,Ke).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){U(this,Gt,P(this,Gt).filter(n=>n!==t)),this.scheduleGc(),P(this,Ke).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,Gt).length||(this.state.status==="pending"?this.scheduleGc():P(this,Ke).remove(this))}continue(){var t;return((t=P(this,ir))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,s,l,a,u,c,d,f,y,x,v,k,h,m,g,S,C,_,E;U(this,ir,xh({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(w,b)=>{Ie(this,Qt,xn).call(this,{type:"failed",failureCount:w,error:b})},onPause:()=>{Ie(this,Qt,xn).call(this,{type:"pause"})},onContinue:()=>{Ie(this,Qt,xn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Ke).canRun(this)}));const n=this.state.status==="pending",r=!P(this,ir).canStart();try{if(!n){Ie(this,Qt,xn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(o=P(this,Ke).config).onMutate)==null?void 0:i.call(o,t,this));const b=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));b!==this.state.context&&Ie(this,Qt,xn).call(this,{type:"pending",context:b,variables:t,isPaused:r})}const w=await P(this,ir).start();return await((u=(a=P(this,Ke).config).onSuccess)==null?void 0:u.call(a,w,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,w,t,this.state.context)),await((y=(f=P(this,Ke).config).onSettled)==null?void 0:y.call(f,w,null,this.state.variables,this.state.context,this)),await((v=(x=this.options).onSettled)==null?void 0:v.call(x,w,null,t,this.state.context)),Ie(this,Qt,xn).call(this,{type:"success",data:w}),w}catch(w){try{throw await((h=(k=P(this,Ke).config).onError)==null?void 0:h.call(k,w,t,this.state.context,this)),await((g=(m=this.options).onError)==null?void 0:g.call(m,w,t,this.state.context)),await((C=(S=P(this,Ke).config).onSettled)==null?void 0:C.call(S,void 0,w,this.state.variables,this.state.context,this)),await((E=(_=this.options).onSettled)==null?void 0:E.call(_,void 0,w,t,this.state.context)),w}finally{Ie(this,Qt,xn).call(this,{type:"error",error:w})}}finally{P(this,Ke).runNext(this)}}},Gt=new WeakMap,Ke=new WeakMap,ir=new WeakMap,Qt=new WeakSet,xn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),qe.batch(()=>{P(this,Gt).forEach(r=>{r.onMutationUpdate(t)}),P(this,Ke).notify({mutation:this,type:"updated",action:t})})},Jp);function jv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var at,Si,Zp,bv=(Zp=class extends il{constructor(t={}){super();J(this,at);J(this,Si);this.config=t,U(this,at,new Map),U(this,Si,Date.now())}build(t,n,r){const o=new Rv({mutationCache:this,mutationId:++Mi(this,Si)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=zi(t),r=P(this,at).get(n)??[];r.push(t),P(this,at).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=zi(t);if(P(this,at).has(n)){const o=(r=P(this,at).get(n))==null?void 0:r.filter(i=>i!==t);o&&(o.length===0?P(this,at).delete(n):P(this,at).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=P(this,at).get(zi(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=P(this,at).get(zi(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...P(this,at).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Dd(n,r))}findAll(t={}){return this.getAll().filter(n=>Dd(t,n))}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qe.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},at=new WeakMap,Si=new WeakMap,Zp);function zi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Ov(e){return{onFetch:(t,n)=>{const r=async()=>{var x,v,k,h,m;const o=t.options,i=(k=(v=(x=t.fetchOptions)==null?void 0:x.meta)==null?void 0:v.fetchMore)==null?void 0:k.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],l=((m=t.state.data)==null?void 0:m.pageParams)||[],a={pages:[],pageParams:[]};let u=!1;const c=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=mh(t.options,t.fetchOptions),f=async(g,S,C)=>{if(u)return Promise.reject();if(S==null&&g.pages.length)return Promise.resolve(g);const _={queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};c(_);const E=await d(_),{maxPages:w}=t.options,b=C?xv:gv;return{pages:b(g.pages,E,w),pageParams:b(g.pageParams,S,w)}};let y;if(i&&s.length){const g=i==="backward",S=g?Tv:Ud,C={pages:s,pageParams:l},_=S(o,C);y=await f(C,_,g)}else{y=await f(a,l[0]??o.initialPageParam);const g=e??s.length;for(let S=1;S<g;S++){const C=Ud(o,y);y=await f(y,C)}}return y};t.options.persister?t.fetchFn=()=>{var o,i;return(i=(o=t.options).persister)==null?void 0:i.call(o,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function Ud(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Tv(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var xe,$n,Rn,Yr,Xr,jn,Jr,Zr,eh,Mv=(eh=class{constructor(e={}){J(this,xe);J(this,$n);J(this,Rn);J(this,Yr);J(this,Xr);J(this,jn);J(this,Jr);J(this,Zr);U(this,xe,e.queryCache||new $v),U(this,$n,e.mutationCache||new bv),U(this,Rn,e.defaultOptions||{}),U(this,Yr,new Map),U(this,Xr,new Map),U(this,jn,0)}mount(){Mi(this,jn)._++,P(this,jn)===1&&(U(this,Jr,yh.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,xe).onFocus())})),U(this,Zr,_s.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,xe).onOnline())})))}unmount(){var e,t;Mi(this,jn)._--,P(this,jn)===0&&((e=P(this,Jr))==null||e.call(this),U(this,Jr,void 0),(t=P(this,Zr))==null||t.call(this),U(this,Zr,void 0))}isFetching(e){return P(this,xe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,$n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,xe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=P(this,xe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Id(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return P(this,xe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=P(this,xe).get(r.queryHash),i=o==null?void 0:o.state.data,s=fv(t,i);if(s!==void 0)return P(this,xe).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return qe.batch(()=>P(this,xe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,xe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,xe);qe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,xe),r={type:"active",...e};return qe.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=qe.batch(()=>P(this,xe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e={},t={}){return qe.batch(()=>{if(P(this,xe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=qe.batch(()=>P(this,xe).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Mt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,xe).build(this,t);return n.isStaleByTime(Id(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=Ov(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}resumePausedMutations(){return _s.isOnline()?P(this,$n).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,xe)}getMutationCache(){return P(this,$n)}getDefaultOptions(){return P(this,Rn)}setDefaultOptions(e){U(this,Rn,e)}setQueryDefaults(e,t){P(this,Yr).set(qo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Yr).values()];let n={};return t.forEach(r=>{Yo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){P(this,Xr).set(qo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,Xr).values()];let n={};return t.forEach(r=>{Yo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,Rn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=fc(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.enabled!==!0&&t.queryFn===hh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,Rn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,xe).clear(),P(this,$n).clear()}},xe=new WeakMap,$n=new WeakMap,Rn=new WeakMap,Yr=new WeakMap,Xr=new WeakMap,jn=new WeakMap,Jr=new WeakMap,Zr=new WeakMap,eh),Lv=R.createContext(void 0),zv=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(Lv.Provider,{value:e,children:t}));const Wd="pushstate",Hd="popstate",wh="beforeunload",kh=e=>(e.preventDefault(),e.returnValue=""),Fv=()=>{removeEventListener(wh,kh,{capture:!0})};function Ch(e){let t=e.getLocation();const n=new Set;let r=[];const o=()=>{t=e.getLocation(),n.forEach(s=>s())},i=async(s,l)=>{var a;if(!((l==null?void 0:l.ignoreBlocker)??!1)&&typeof document<"u"&&r.length){for(const c of r)if(!await c()){(a=e.onBlocked)==null||a.call(e,o);return}}s()};return{get location(){return t},subscribers:n,subscribe:s=>(n.add(s),()=>{n.delete(s)}),push:(s,l,a)=>{l=Io(l),i(()=>{e.pushState(s,l),o()},a)},replace:(s,l,a)=>{l=Io(l),i(()=>{e.replaceState(s,l),o()},a)},go:(s,l)=>{i(()=>{e.go(s),o()},l)},back:s=>{i(()=>{e.back(),o()},s)},forward:s=>{i(()=>{e.forward(),o()},s)},createHref:s=>e.createHref(s),block:s=>(r.push(s),r.length===1&&addEventListener(wh,kh,{capture:!0}),()=>{r=r.filter(l=>l!==s),r.length||Fv()}),flush:()=>{var s;return(s=e.flush)==null?void 0:s.call(e)},destroy:()=>{var s;return(s=e.destroy)==null?void 0:s.call(e)},notify:o}}function Io(e){return e||(e={}),{...e,key:Eh()}}function Iv(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,r=t.history.replaceState,o=v=>v,i=()=>nu(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state);let s=i(),l;const a=()=>s;let u,c;const d=()=>{if(!u)return;(u.isPush?n:r).call(t.history,u.state,"",u.href),u=void 0,c=void 0,l=void 0},f=(v,k,h)=>{const m=o(k);c||(l=s),s=nu(k,h),u={href:m,state:h,isPush:(u==null?void 0:u.isPush)||v==="push"},c||(c=Promise.resolve().then(()=>d()))},y=()=>{s=i(),x.notify()},x=Ch({getLocation:a,pushState:(v,k)=>f("push",v,k),replaceState:(v,k)=>f("replace",v,k),back:()=>t.history.back(),forward:()=>t.history.forward(),go:v=>t.history.go(v),createHref:v=>o(v),flush:d,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(Wd,y),t.removeEventListener(Hd,y)},onBlocked:v=>{l&&s!==l&&(s=l,v())}});return t.addEventListener(Wd,y),t.addEventListener(Hd,y),t.history.pushState=function(...v){const k=n.apply(t.history,v);return y(),k},t.history.replaceState=function(...v){const k=r.apply(t.history,v);return y(),k},x}function Nv(e={initialEntries:["/"]}){const t=e.initialEntries;let n=e.initialIndex??t.length-1,r={key:Eh()};return Ch({getLocation:()=>nu(t[n],r),pushState:(i,s)=>{r=s,t.splice,n<t.length-1&&t.splice(n+1),t.push(i),n=Math.max(t.length-1,0)},replaceState:(i,s)=>{r=s,t[n]=i},back:()=>{r=Io(r),n=Math.max(n-1,0)},forward:()=>{r=Io(r),n=Math.min(n+1,t.length-1)},go:i=>{r=Io(r),n=Math.min(Math.max(n+i,0),t.length-1)},createHref:i=>i})}function nu(e,t){const n=e.indexOf("#"),r=e.indexOf("?");return{href:e,pathname:e.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:e.length),hash:n>-1?e.substring(n):"",search:r>-1?e.slice(r,n===-1?void 0:n):"",state:t||{}}}function Eh(){return(Math.random()+1).toString(36).substring(7)}var Dv="Invariant failed";function Qe(e,t){if(!e)throw new Error(Dv)}const va=R.createContext(null);function _h(){return typeof document>"u"?va:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=va,va)}function yn(e){const t=R.useContext(_h());return e==null||e.warn,t}var Ph={exports:{}},$h={},Rh={exports:{}},jh={};/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var eo=R;function Av(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bv=typeof Object.is=="function"?Object.is:Av,Uv=eo.useState,Wv=eo.useEffect,Hv=eo.useLayoutEffect,Vv=eo.useDebugValue;function Kv(e,t){var n=t(),r=Uv({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Hv(function(){o.value=n,o.getSnapshot=t,ga(o)&&i({inst:o})},[e,n,t]),Wv(function(){return ga(o)&&i({inst:o}),e(function(){ga(o)&&i({inst:o})})},[e]),Vv(n),n}function ga(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bv(e,n)}catch{return!0}}function Gv(e,t){return t()}var Qv=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Gv:Kv;jh.useSyncExternalStore=eo.useSyncExternalStore!==void 0?eo.useSyncExternalStore:Qv;Rh.exports=jh;var qv=Rh.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ll=R,Yv=qv;function Xv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jv=typeof Object.is=="function"?Object.is:Xv,Zv=Yv.useSyncExternalStore,eg=ll.useRef,tg=ll.useEffect,ng=ll.useMemo,rg=ll.useDebugValue;$h.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=eg(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=ng(function(){function a(y){if(!u){if(u=!0,c=y,y=r(y),o!==void 0&&s.hasValue){var x=s.value;if(o(x,y))return d=x}return d=y}if(x=d,Jv(c,y))return x;var v=r(y);return o!==void 0&&o(x,v)?x:(c=y,d=v)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var l=Zv(e,i[0],i[1]);return tg(function(){s.hasValue=!0,s.value=l},[l]),rg(l),l};Ph.exports=$h;var og=Ph.exports;class ig{constructor(t,n){this.listeners=new Set,this._batching=!1,this._flushing=0,this.subscribe=r=>{var o,i;this.listeners.add(r);const s=(i=(o=this.options)==null?void 0:o.onSubscribe)==null?void 0:i.call(o,r,this);return()=>{this.listeners.delete(r),s==null||s()}},this.setState=r=>{var o,i,s;const l=this.state;this.state=(o=this.options)!=null&&o.updateFn?this.options.updateFn(l)(r):r(l),(s=(i=this.options)==null?void 0:i.onUpdate)==null||s.call(i),this._flush()},this._flush=()=>{if(this._batching)return;const r=++this._flushing;this.listeners.forEach(o=>{this._flushing===r&&o()})},this.batch=r=>{if(this._batching)return r();this._batching=!0,r(),this._batching=!1,this._flush()},this.state=t,this.options=n}}function sg(e,t=n=>n){return og.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,lg)}function lg(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}const Ue="__root__";function ag(e,t){let n,r,o,i="";for(n in e)if((o=e[n])!==void 0)if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return""+i}function Vd(e){if(!e)return"";const t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t}function ug(e,t){let n,r;const o={},i=e.split("&");for(;n=i.shift();){const s=n.indexOf("=");if(s!==-1){r=n.slice(0,s);const l=n.slice(s+1);o[r]!==void 0?o[r]=[].concat(o[r],Vd(l)):o[r]=Vd(l)}else r=n,o[r]=""}return o}const cg=fg(JSON.parse),dg=pg(JSON.stringify,JSON.parse);function fg(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));const n=ug(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function pg(e,t){function n(r){if(typeof r=="object"&&r!==null)try{return e(r)}catch{}else if(typeof r=="string"&&typeof t=="function")try{return t(r),e(r)}catch{}return r}return r=>{r={...r},Object.keys(r).forEach(i=>{const s=r[i];typeof s>"u"||s===void 0?delete r[i]:r[i]=n(s)});const o=ag(r).toString();return o?`?${o}`:""}}function Ps(e){return e[e.length-1]}function hg(e){return typeof e=="function"}function kr(e,t){return hg(e)?e(t):e}function No(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function Wt(e,t){if(e===t)return e;const n=t,r=Gd(e)&&Gd(n);if(r||$s(e)&&$s(n)){const o=r?e:Object.keys(e),i=o.length,s=r?n:Object.keys(n),l=s.length,a=r?[]:{};let u=0;for(let c=0;c<l;c++){const d=r?c:s[c];(!r&&o.includes(d)||r)&&e[d]===void 0&&n[d]===void 0?(a[d]=void 0,u++):(a[d]=Wt(e[d],n[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===l&&u===i?e:a}return n}function $s(e){if(!Kd(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Kd(n)||!n.hasOwnProperty("isPrototypeOf"))}function Kd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Gd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Fr(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if($s(e)&&$s(t)){const r=Object.keys(e).filter(i=>e[i]!==void 0),o=Object.keys(t).filter(i=>t[i]!==void 0);return!n&&r.length!==o.length?!1:!o.some(i=>!(i in e)||!Fr(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!Fr(r,t[o],n)):!1}const xa=typeof window<"u"?R.useLayoutEffect:R.useEffect;function wr(e){let t,n;const r=new Promise((o,i)=>{t=o,n=i});return r.status="pending",r.resolve=o=>{r.status="resolved",r.value=o,t(o),e==null||e(o)},r.reject=o=>{r.status="rejected",n(o)},r}function Qd(e){const t=R.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function Tn(e){return al(e.filter(Boolean).join("/"))}function al(e){return e.replace(/\/{2,}/g,"/")}function pc(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Xn(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function ru(e){return Xn(pc(e))}function Rs(e,t){return e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function mg(e,t,n){return Rs(e,n)===Rs(t,n)}function yg({basepath:e,base:t,to:n,trailingSlash:r="never"}){var o,i;t=t.replace(new RegExp(`^${e}`),"/"),n=n.replace(new RegExp(`^${e}`),"/");let s=to(t);const l=to(n);s.length>1&&((o=Ps(s))==null?void 0:o.value)==="/"&&s.pop(),l.forEach((u,c)=>{u.value==="/"?c?c===l.length-1&&s.push(u):s=[u]:u.value===".."?s.pop():u.value==="."||s.push(u)}),s.length>1&&(((i=Ps(s))==null?void 0:i.value)==="/"?r==="never"&&s.pop():r==="always"&&s.push({type:"pathname",value:"/"}));const a=Tn([e,...s.map(u=>u.value)]);return al(a)}function to(e){if(!e)return[];e=al(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r==="$"||r==="*"?{type:"wildcard",value:r}:r.charAt(0)==="$"?{type:"param",value:r}:{type:"pathname",value:decodeURIComponent(r)})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function Sa({path:e,params:t,leaveWildcards:n,leaveParams:r}){const o=to(e),i={};for(const[s,l]of Object.entries(t)){const a=typeof l=="string";["*","_splat"].includes(s)?i[s]=a?encodeURI(l):l:i[s]=a?encodeURIComponent(l):l}return Tn(o.map(s=>{if(s.type==="wildcard"){const l=i._splat;return n?`${s.value}${l??""}`:l}if(s.type==="param"){if(r){const l=i[s.value];return`${s.value}${l??""}`}return i[s.value.substring(1)]??"undefined"}return s.value}))}function Fi(e,t,n){const r=vg(e,t,n);if(!(n.to&&!r))return r??{}}function qd(e,t){switch(!0){case e==="/":return t;case t===e:return"";case t.length<e.length:return t;case t[e.length]!=="/":return t;case t.startsWith(e):return t.slice(e.length);default:return t}}function vg(e,t,n){t=qd(e,t);const r=qd(e,`${n.to??"$"}`),o=to(t),i=to(r);t.startsWith("/")||o.unshift({type:"pathname",value:"/"}),r.startsWith("/")||i.unshift({type:"pathname",value:"/"});const s={};return(()=>{for(let a=0;a<Math.max(o.length,i.length);a++){const u=o[a],c=i[a],d=a>=o.length-1,f=a>=i.length-1;if(c){if(c.type==="wildcard"){if(u!=null&&u.value){const y=decodeURI(Tn(o.slice(a).map(x=>x.value)));return s["*"]=y,s._splat=y,!0}return!1}if(c.type==="pathname"){if(c.value==="/"&&!(u!=null&&u.value))return!0;if(u){if(n.caseSensitive){if(c.value!==u.value)return!1}else if(c.value.toLowerCase()!==u.value.toLowerCase())return!1}}if(!u)return!1;if(c.type==="param"){if(u.value==="/")return!1;u.value.charAt(0)!=="$"&&(s[c.value.substring(1)]=decodeURIComponent(u.value))}}if(!d&&f)return s["**"]=Tn(o.slice(a+1).map(y=>y.value)),!!n.fuzzy&&(c==null?void 0:c.value)!=="/"}return!0})()?s:void 0}function Gn(e){return!!(e!=null&&e.isRedirect)}function Yd(e){return!!(e!=null&&e.isRedirect)&&e.href}function hc(e){const t=e.errorComponent??ul;return p.jsx(gg,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?R.createElement(t,{error:n,reset:r}):e.children})}class gg extends R.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(t){return{resetKey:t.getResetKey()}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidUpdate(t,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function ul({error:e}){const[t,n]=R.useState(!1);return p.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[p.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),p.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(r=>!r),children:t?"Hide Error":"Show Error"})]}),p.jsx("div",{style:{height:".25rem"}}),t?p.jsx("div",{children:p.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?p.jsx("code",{children:e.message}):null})}):null]})}function Le(e){const t=yn({warn:(e==null?void 0:e.router)===void 0});return sg(((e==null?void 0:e.router)||t).__store,e==null?void 0:e.select)}function Vt(e){return!!(e!=null&&e.isNotFound)}function xg(e){const t=Le({select:n=>`not-found-${n.location.pathname}-${n.status}`});return p.jsx(hc,{getResetKey:()=>t,onCatch:(n,r)=>{var o;if(Vt(n))(o=e.onCatch)==null||o.call(e,n,r);else throw n},errorComponent:({error:n})=>{var r;return(r=e.fallback)==null?void 0:r.call(e,n)},children:e.children})}function Sg(){return p.jsx("p",{children:"Not Found"})}const wg=["component","errorComponent","pendingComponent","notFoundComponent"];function kg(e){return new Cg(e)}class Cg{constructor(t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.subscribers=new Set,this.startReactTransition=n=>n(),this.update=n=>{n.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/guide/not-found-errors#migrating-from-notfoundroute for more info.");const r=this.options;this.options={...this.options,...n},this.isServer=this.options.isServer??typeof document>"u",(!this.basepath||n.basepath&&n.basepath!==r.basepath)&&(n.basepath===void 0||n.basepath===""||n.basepath==="/"?this.basepath="/":this.basepath=`/${ru(n.basepath)}`),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history??(this.isServer?Nv({initialEntries:[this.basepath||"/"]}):Iv()),this.latestLocation=this.parseLocation()),this.options.routeTree!==this.routeTree&&(this.routeTree=this.options.routeTree,this.buildRouteTree()),this.__store||(this.__store=new ig(Pg(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(o=>!["redirected"].includes(o.status))}}}))},this.buildRouteTree=()=>{this.routesById={},this.routesByPath={};const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n);const r=s=>{s.forEach((l,a)=>{l.init({originalIndex:a});const u=this.routesById[l.id];if(Qe(!u,`Duplicate routes found with id: ${String(l.id)}`),this.routesById[l.id]=l,!l.isRoot&&l.path){const d=Xn(l.fullPath);(!this.routesByPath[d]||l.fullPath.endsWith("/"))&&(this.routesByPath[d]=l)}const c=l.children;c!=null&&c.length&&r(c)})};r([this.routeTree]);const o=[];Object.values(this.routesById).forEach((s,l)=>{var a;if(s.isRoot||!s.path)return;const u=pc(s.fullPath),c=to(u);for(;c.length>1&&((a=c[0])==null?void 0:a.value)==="/";)c.shift();const d=c.map(f=>f.value==="/"?.75:f.type==="param"?.5:f.type==="wildcard"?.25:1);o.push({child:s,trimmed:u,parsed:c,index:l,scores:d})}),this.flatRoutes=o.sort((s,l)=>{const a=Math.min(s.scores.length,l.scores.length);for(let u=0;u<a;u++)if(s.scores[u]!==l.scores[u])return l.scores[u]-s.scores[u];if(s.scores.length!==l.scores.length)return l.scores.length-s.scores.length;for(let u=0;u<a;u++)if(s.parsed[u].value!==l.parsed[u].value)return s.parsed[u].value>l.parsed[u].value?1:-1;return s.index-l.index}).map((s,l)=>(s.child.rank=l,s.child))},this.subscribe=(n,r)=>{const o={eventType:n,fn:r};return this.subscribers.add(o),()=>{this.subscribers.delete(o)}},this.emit=n=>{this.subscribers.forEach(r=>{r.eventType===n.type&&r.fn(n)})},this.parseLocation=n=>{const r=({pathname:l,search:a,hash:u,state:c})=>{const d=this.options.parseSearch(a),f=this.options.stringifySearch(d);return{pathname:l,searchStr:f,search:Wt(n==null?void 0:n.search,d),hash:u.split("#").reverse()[0]??"",href:`${l}${f}${u}`,state:Wt(n==null?void 0:n.state,c)}},o=r(this.history.location),{__tempLocation:i,__tempKey:s}=o.state;if(i&&(!s||s===this.tempLocationKey)){const l=r(i);return l.state.key=o.state.key,delete l.state.__tempLocation,{...l,maskedLocation:o}}return o},this.resolvePathWithBase=(n,r)=>yg({basepath:this.basepath,base:n,to:al(r),trailingSlash:this.options.trailingSlash}),this.matchRoutes=(n,r,o)=>{let i={};const s=this.flatRoutes.find(y=>{const x=Fi(this.basepath,Xn(n),{to:y.fullPath,caseSensitive:y.options.caseSensitive??this.options.caseSensitive,fuzzy:!0});return x?(i=x,!0):!1});let l=s||this.routesById[Ue];const a=[l];let u=!1;for((s?s.path!=="/"&&i["**"]:Xn(n))&&(this.options.notFoundRoute?a.push(this.options.notFoundRoute):u=!0);l.parentRoute;)l=l.parentRoute,a.unshift(l);const c=(()=>{if(u){if(this.options.notFoundMode!=="root")for(let y=a.length-1;y>=0;y--){const x=a[y];if(x.children)return x.id}return Ue}})(),d=a.map(y=>{var x;let v;const k=((x=y.options.params)==null?void 0:x.parse)??y.options.parseParams;if(k)try{const h=k(i);Object.assign(i,h)}catch(h){if(v=new _g(h.message,{cause:h}),o!=null&&o.throwOnError)throw v;return v}}),f=[];return a.forEach((y,x)=>{var v,k,h,m,g,S,C,_,E,w;const b=f[x-1],[O,z]=(()=>{const T=(b==null?void 0:b.search)??r;try{const L=typeof y.options.validateSearch=="object"?y.options.validateSearch.parse:y.options.validateSearch,A=(L==null?void 0:L(T))??{};return[{...T,...A},void 0]}catch(L){const A=new Eg(L.message,{cause:L});if(o!=null&&o.throwOnError)throw A;return[T,A]}})(),F=((k=(v=y.options).loaderDeps)==null?void 0:k.call(v,{search:O}))??"",I=F?JSON.stringify(F):"",W=Sa({path:y.fullPath,params:i}),G=Sa({path:y.id,params:i,leaveWildcards:!0})+I,N=this.getMatch(G),re=this.state.matches.find(T=>T.id===G)?"stay":"enter";let $;if(N)$={...N,cause:re,params:i};else{const T=y.options.loader||y.options.beforeLoad||y.lazyFn?"pending":"success";$={id:G,index:x,routeId:y.id,params:i,pathname:Tn([this.basepath,W]),updatedAt:Date.now(),search:{},searchError:void 0,status:T,isFetching:!1,error:void 0,paramsError:d[x],routeContext:void 0,context:void 0,abortController:new AbortController,fetchCount:0,cause:re,loaderDeps:F,invalid:!1,preload:!1,links:(m=(h=y.options).links)==null?void 0:m.call(h),scripts:(S=(g=y.options).scripts)==null?void 0:S.call(g),staticData:y.options.staticData||{},loadPromise:wr()}}$.status==="success"&&($.meta=(_=(C=y.options).meta)==null?void 0:_.call(C,{matches:f,match:$,params:$.params,loaderData:$.loaderData}),$.headers=(w=(E=y.options).headers)==null?void 0:w.call(E,{loaderData:$.loaderData})),o!=null&&o.preload||($.globalNotFound=c===y.id),$.search=Wt($.search,O),$.searchError=z,f.push($)}),f},this.cancelMatch=n=>{const r=this.getMatch(n);r&&(r.abortController.abort(),clearTimeout(r.pendingTimeout))},this.cancelMatches=()=>{var n;(n=this.state.pendingMatches)==null||n.forEach(r=>{this.cancelMatch(r.id)})},this.buildLocation=n=>{const r=(i={},s)=>{var l,a,u;const c=i._fromLocation!=null?this.matchRoutes(i._fromLocation.pathname,i.fromSearch||i._fromLocation.search):this.state.matches,d=i.from!=null?c.find(I=>Fi(this.basepath,Xn(I.pathname),{to:i.from,caseSensitive:!1,fuzzy:!1})):void 0,f=(d==null?void 0:d.pathname)||this.latestLocation.pathname;Qe(i.from==null||d!=null,"Could not find match for from: "+i.from);const y=((l=Ps(c))==null?void 0:l.search)||this.latestLocation.search,x=s==null?void 0:s.filter(I=>c.find(W=>W.routeId===I.routeId)),v=this.routesById[(a=x==null?void 0:x.find(I=>I.pathname===f))==null?void 0:a.routeId];let k=i.to?this.resolvePathWithBase(f,`${i.to}`):this.resolvePathWithBase(f,(v==null?void 0:v.to)??f);const h={...(u=Ps(c))==null?void 0:u.params};let m=(i.params??!0)===!0?h:{...h,...kr(i.params,h)};Object.keys(m).length>0&&(s==null||s.map(I=>{var W;const G=this.looseRoutesById[I.routeId];return((W=G==null?void 0:G.options.params)==null?void 0:W.stringify)??G.options.stringifyParams}).filter(Boolean).forEach(I=>{m={...m,...I(m)}})),k=Sa({path:k,params:m??{},leaveWildcards:!1,leaveParams:n.leaveParams});const g=(x==null?void 0:x.map(I=>this.looseRoutesById[I.routeId].options.preSearchFilters??[]).flat().filter(Boolean))??[],S=(x==null?void 0:x.map(I=>this.looseRoutesById[I.routeId].options.postSearchFilters??[]).flat().filter(Boolean))??[],C=g.length?g.reduce((I,W)=>W(I),y):y,_=i.search===!0?C:i.search?kr(i.search,C):g.length?C:{},E=S.length?S.reduce((I,W)=>W(I),_):_,w=Wt(y,E),b=this.options.stringifySearch(w),O=i.hash===!0?this.latestLocation.hash:i.hash?kr(i.hash,this.latestLocation.hash):void 0,z=O?`#${O}`:"";let F=i.state===!0?this.latestLocation.state:i.state?kr(i.state,this.latestLocation.state):{};return F=Wt(this.latestLocation.state,F),{pathname:k,search:w,searchStr:b,state:F,hash:O??"",href:`${k}${b}${z}`,unmaskOnReload:i.unmaskOnReload}},o=(i={},s)=>{var l;const a=r(i);let u=s?r(s):void 0;if(!u){let x={};const v=(l=this.options.routeMasks)==null?void 0:l.find(k=>{const h=Fi(this.basepath,a.pathname,{to:k.from,caseSensitive:!1,fuzzy:!1});return h?(x=h,!0):!1});if(v){const{from:k,...h}=v;s={...No(n,["from"]),...h,params:x},u=r(s)}}const c=this.matchRoutes(a.pathname,a.search),d=u?this.matchRoutes(u.pathname,u.search):void 0,f=u?r(s,d):void 0,y=r(i,c);return f&&(y.maskedLocation=f),y};return n.mask?o(n,{...No(n,["from"]),...n.mask}):o(n)},this.commitLocation=({viewTransition:n,ignoreBlocker:r,...o})=>{const i=()=>{o.state.key=this.latestLocation.state.key;const a=Fr(o.state,this.latestLocation.state);return delete o.state.key,a},s=this.latestLocation.href===o.href,l=this.commitLocationPromise;if(this.commitLocationPromise=wr(()=>{l==null||l.resolve()}),s&&i())this.load();else{let{maskedLocation:a,...u}=o;a&&(u={...a,state:{...a.state,__tempKey:void 0,__tempLocation:{...u,search:u.searchStr,state:{...u.state,__tempKey:void 0,__tempLocation:void 0,key:void 0}}}},(u.unmaskOnReload??this.options.unmaskOnReload??!1)&&(u.state.__tempKey=this.tempLocationKey)),this.shouldViewTransition=n,this.history[o.replace?"replace":"push"](u.href,u.state,{ignoreBlocker:r})}return this.resetNextScroll=o.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:r,viewTransition:o,ignoreBlocker:i,...s}={})=>{const l=this.buildLocation(s);return this.commitLocation({...l,viewTransition:o,replace:n,resetScroll:r,ignoreBlocker:i})},this.navigate=({from:n,to:r,__isRedirect:o,...i})=>{const s=String(r);let l;try{new URL(`${s}`),l=!0}catch{}return Qe(!l),this.buildAndCommitLocation({...i,from:n,to:r})},this.load=async()=>{this.latestLocation=this.parseLocation(this.latestLocation),this.__store.setState(i=>({...i,loadedAt:Date.now()}));let n,r;const o=new Promise(i=>{this.startReactTransition(async()=>{var s;try{const l=this.latestLocation,a=this.state.resolvedLocation,u=a.href!==l.href;this.cancelMatches();let c;this.__store.batch(()=>{c=this.matchRoutes(l.pathname,l.search),this.__store.setState(d=>({...d,status:"pending",isLoading:!0,location:l,pendingMatches:c,cachedMatches:d.cachedMatches.filter(f=>!c.find(y=>y.id===f.id))}))}),this.state.redirect||this.emit({type:"onBeforeNavigate",fromLocation:a,toLocation:l,pathChanged:u}),this.emit({type:"onBeforeLoad",fromLocation:a,toLocation:l,pathChanged:u}),await this.loadMatches({matches:c,location:l,onReady:async()=>{this.startViewTransition(async()=>{let d,f,y;this.__store.batch(()=>{this.__store.setState(x=>{const v=x.matches,k=x.pendingMatches||x.matches;return d=v.filter(h=>!k.find(m=>m.id===h.id)),f=k.filter(h=>!v.find(m=>m.id===h.id)),y=v.filter(h=>k.find(m=>m.id===h.id)),{...x,isLoading:!1,matches:k,pendingMatches:void 0,cachedMatches:[...x.cachedMatches,...d.filter(h=>h.status!=="error")]}}),this.cleanCache()}),[[d,"onLeave"],[f,"onEnter"],[y,"onStay"]].forEach(([x,v])=>{x.forEach(k=>{var h,m;(m=(h=this.looseRoutesById[k.routeId].options)[v])==null||m.call(h,k)})})})}})}catch(l){Yd(l)?(n=l,this.isServer||this.navigate({...l,replace:!0,__isRedirect:!0})):Vt(l)&&(r=l),this.__store.setState(a=>({...a,statusCode:n?n.statusCode:r?404:a.matches.some(u=>u.status==="error")?500:200,redirect:n}))}this.latestLoadPromise===o&&((s=this.commitLocationPromise)==null||s.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),i()})});for(this.latestLoadPromise=o,await o;this.latestLoadPromise&&o!==this.latestLoadPromise;)await this.latestLoadPromise},this.startViewTransition=n=>{var r,o;const i=this.shouldViewTransition??this.options.defaultViewTransition;delete this.shouldViewTransition,(o=(r=i&&typeof document<"u"?document:void 0)==null?void 0:r.startViewTransition)!=null&&o.call(r,n)||n()},this.updateMatch=(n,r)=>{var o;let i;const s=(o=this.state.pendingMatches)==null?void 0:o.find(u=>u.id===n),l=this.state.matches.find(u=>u.id===n),a=s?"pendingMatches":l?"matches":"cachedMatches";return this.__store.setState(u=>{var c;return{...u,[a]:(c=u[a])==null?void 0:c.map(d=>d.id===n?i=r(d):d)}}),i},this.getMatch=n=>[...this.state.cachedMatches,...this.state.pendingMatches??[],...this.state.matches].find(r=>r.id===n),this.loadMatches=async({location:n,matches:r,preload:o,onReady:i,updateMatch:s=this.updateMatch})=>{let l,a=!1;const u=async()=>{a||(a=!0,await(i==null?void 0:i()))};!this.isServer&&!this.state.matches.length&&u();const c=(d,f)=>{var y,x,v;if(Yd(f))throw f;if(Gn(f)||Vt(f)){if(s(d.id,k=>({...k,status:Gn(f)?"redirected":Vt(f)?"notFound":"error",isFetching:!1,error:f,beforeLoadPromise:void 0,loaderPromise:void 0})),f.routeId||(f.routeId=d.routeId),(y=d.beforeLoadPromise)==null||y.resolve(),(x=d.loaderPromise)==null||x.resolve(),(v=d.loadPromise)==null||v.resolve(),Gn(f))throw a=!0,f=this.resolveRedirect({...f,_fromLocation:n}),f;if(Vt(f))throw this._handleNotFound(r,f,{updateMatch:s}),f}};try{await new Promise((d,f)=>{(async()=>{var y,x,v;try{const k=(g,S,C)=>{var _,E;const{id:w,routeId:b}=r[g],O=this.looseRoutesById[b];if(S instanceof Promise)throw S;S.routerCode=C,l=l??g,c(this.getMatch(w),S);try{(E=(_=O.options).onError)==null||E.call(_,S)}catch(z){S=z,c(this.getMatch(w),S)}s(w,z=>{var F;return(F=z.beforeLoadPromise)==null||F.resolve(),{...z,error:S,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController,beforeLoadPromise:void 0}})};for(const[g,{id:S,routeId:C}]of r.entries()){const _=this.getMatch(S);if(_.beforeLoadPromise||_.loaderPromise)await _.beforeLoadPromise;else{try{s(S,Q=>({...Q,loadPromise:wr(()=>{var oe;(oe=Q.loadPromise)==null||oe.resolve()}),beforeLoadPromise:wr()}));const E=this.looseRoutesById[C],w=new AbortController,b=(y=r[g-1])==null?void 0:y.id,O=()=>b?this.getMatch(b).context??this.options.context??{}:this.options.context??{},z=E.options.pendingMs??this.options.defaultPendingMs,F=!!(i&&!this.isServer&&!o&&(E.options.loader||E.options.beforeLoad)&&typeof z=="number"&&z!==1/0&&(E.options.pendingComponent??this.options.defaultPendingComponent));let I;F&&(I=setTimeout(()=>{try{u()}catch{}},z));const{paramsError:W,searchError:G}=this.getMatch(S);W&&k(g,W,"PARSE_PARAMS"),G&&k(g,G,"VALIDATE_SEARCH");const N=O();s(S,Q=>({...Q,isFetching:"beforeLoad",fetchCount:Q.fetchCount+1,routeContext:Wt(Q.routeContext,N),context:Wt(Q.context,N),abortController:w,pendingTimeout:I}));const{search:re,params:$,routeContext:T,cause:L}=this.getMatch(S),A={search:re,abortController:w,params:$,preload:!!o,context:T,location:n,navigate:Q=>this.navigate({...Q,_fromLocation:n}),buildLocation:this.buildLocation,cause:o?"preload":L},V=await((v=(x=E.options).beforeLoad)==null?void 0:v.call(x,A))??{};(Gn(V)||Vt(V))&&k(g,V,"BEFORE_LOAD"),s(S,Q=>{const oe={...Q.routeContext,...V};return{...Q,routeContext:Wt(Q.routeContext,oe),context:Wt(Q.context,oe),abortController:w}})}catch(E){k(g,E,"BEFORE_LOAD")}s(S,E=>{var w;return(w=E.beforeLoadPromise)==null||w.resolve(),{...E,beforeLoadPromise:void 0,isFetching:!1}})}}const h=r.slice(0,l),m=[];h.forEach(({id:g,routeId:S},C)=>{m.push((async()=>{const{loaderPromise:_}=this.getMatch(g);if(_)await _;else{const E=m[C-1],w=this.looseRoutesById[S],b=()=>{const{params:T,loaderDeps:L,abortController:A,context:V,cause:Q}=this.getMatch(g);return{params:T,deps:L,preload:!!o,parentMatchPromise:E,abortController:A,context:V,location:n,navigate:oe=>this.navigate({...oe,_fromLocation:n}),cause:o?"preload":Q,route:w}},O=Date.now()-this.getMatch(g).updatedAt,z=o?w.options.preloadStaleTime??this.options.defaultPreloadStaleTime??3e4:w.options.staleTime??this.options.defaultStaleTime??0,F=w.options.shouldReload,I=typeof F=="function"?F(b()):F;s(g,T=>({...T,loaderPromise:wr(),preload:!!o&&!this.state.matches.find(L=>L.id===g)}));const W=async()=>{var T,L,A,V,Q,oe,lt,Ee;try{const Ve=async()=>{const Ze=this.getMatch(g);Ze.minPendingPromise&&await Ze.minPendingPromise};try{w._lazyPromise=w._lazyPromise||(w.lazyFn?w.lazyFn().then(ie=>{Object.assign(w.options,ie.options)}):Promise.resolve());const Ze=this.getMatch(g).componentsPromise||w._lazyPromise.then(()=>Promise.all(wg.map(async ie=>{const nn=w.options[ie];nn!=null&&nn.preload&&await nn.preload()})));s(g,ie=>({...ie,isFetching:"loader",componentsPromise:Ze})),await w._lazyPromise;let me=await((L=(T=w.options).loader)==null?void 0:L.call(T,b()));this.serializeLoaderData&&(me=this.serializeLoaderData(me,{router:this,match:this.getMatch(g)})),c(this.getMatch(g),me),await Ve();const Ot=(V=(A=w.options).meta)==null?void 0:V.call(A,{matches:r,match:this.getMatch(g),params:this.getMatch(g).params,loaderData:me}),ye=(oe=(Q=w.options).headers)==null?void 0:oe.call(Q,{loaderData:me});s(g,ie=>({...ie,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),loaderData:me,meta:Ot,headers:ye}))}catch(Ze){let me=Ze;await Ve(),c(this.getMatch(g),Ze);try{(Ee=(lt=w.options).onError)==null||Ee.call(lt,Ze)}catch(Ot){me=Ot,c(this.getMatch(g),Ot)}s(g,Ot=>({...Ot,error:me,status:"error",isFetching:!1}))}await this.getMatch(g).componentsPromise}catch(Ve){c(this.getMatch(g),Ve)}},{status:G,invalid:N}=this.getMatch(g);G==="success"&&(N||(I??O>z))?(async()=>{try{await W()}catch{}})():G!=="success"&&await W();const{loaderPromise:re,loadPromise:$}=this.getMatch(g);re==null||re.resolve(),$==null||$.resolve()}s(g,E=>({...E,isFetching:!1,loaderPromise:void 0}))})())}),await Promise.all(m),d()}catch(k){f(k)}})()}),await u()}catch(d){if(Gn(d)||Vt(d))throw Vt(d)&&!o&&await u(),d}return r},this.invalidate=()=>{const n=r=>({...r,invalid:!0,...r.status==="error"?{status:"pending",error:void 0}:{}});return this.__store.setState(r=>{var o;return{...r,matches:r.matches.map(n),cachedMatches:r.cachedMatches.map(n),pendingMatches:(o=r.pendingMatches)==null?void 0:o.map(n)}}),this.load()},this.resolveRedirect=n=>{const r=n;return r.href||(r.href=this.buildLocation(r).href),r},this.cleanCache=()=>{this.__store.setState(n=>({...n,cachedMatches:n.cachedMatches.filter(r=>{const o=this.looseRoutesById[r.routeId];if(!o.options.loader)return!1;const i=(r.preload?o.options.preloadGcTime??this.options.defaultPreloadGcTime:o.options.gcTime??this.options.defaultGcTime)??5*60*1e3;return r.status!=="error"&&Date.now()-r.updatedAt<i})}))},this.preloadRoute=async n=>{const r=this.buildLocation(n);let o=this.matchRoutes(r.pathname,r.search,{throwOnError:!0,preload:!0});const i=Object.fromEntries([...this.state.matches,...this.state.pendingMatches??[],...this.state.cachedMatches].map(l=>[l.id,!0]));this.__store.batch(()=>{o.forEach(l=>{i[l.id]||this.__store.setState(a=>({...a,cachedMatches:[...a.cachedMatches,l]}))})});const s=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(l=>l.id));try{return o=await this.loadMatches({matches:o,location:r,preload:!0,updateMatch:(l,a)=>{s.has(l)?o=o.map(u=>u.id===l?a(u):u):this.updateMatch(l,a)}}),o}catch(l){if(Gn(l))return await this.preloadRoute({...l,_fromLocation:r});console.error(l);return}},this.matchRoute=(n,r)=>{const o={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},i=this.buildLocation(o);if(r!=null&&r.pending&&this.state.status!=="pending")return!1;const l=((r==null?void 0:r.pending)===void 0?!this.state.isLoading:r.pending)?this.latestLocation:this.state.resolvedLocation,a=Fi(this.basepath,l.pathname,{...r,to:i.pathname});return!a||n.params&&!Fr(a,n.params,!0)?!1:a&&((r==null?void 0:r.includeSearch)??!0)?Fr(l.search,i.search,!0)?a:!1:a},this.dehydrate=()=>{var n;const r=((n=this.options.errorSerializer)==null?void 0:n.serialize)??$g;return{state:{dehydratedMatches:this.state.matches.map(o=>({...No(o,["id","status","updatedAt"]),error:o.error?{data:r(o.error),__isServerError:!0}:void 0}))},manifest:this.manifest}},this.hydrate=()=>{var n,r,o;let i;typeof document<"u"&&(i=this.options.transformer.parse((n=window.__TSR__)==null?void 0:n.dehydrated)),Qe(i),this.dehydratedData=i.payload,(o=(r=this.options).hydrate)==null||o.call(r,i.payload);const s=i.router.state,l=this.matchRoutes(this.state.location.pathname,this.state.location.search).map(a=>{const u=s.dehydratedMatches.find(c=>c.id===a.id);return Qe(u,`Could not find a client-side match for dehydrated match with id: ${a.id}!`),{...a,...u}});this.__store.setState(a=>({...a,matches:l})),this.manifest=i.router.manifest},this.injectedHtml=[],this.injectHtml=n=>{const r=()=>(this.injectedHtml=this.injectedHtml.filter(o=>o!==r),n);this.injectedHtml.push(r)},this.streamedKeys=new Set,this.getStreamedValue=n=>{var r;if(this.isServer)return;const o=(r=window.__TSR__)==null?void 0:r.streamedValues[n];if(o)return o.parsed||(o.parsed=this.options.transformer.parse(o.value)),o.parsed},this.streamValue=(n,r)=>{var o;this.streamedKeys.has(n),this.streamedKeys.add(n);const i=`__TSR__.streamedValues['${n}'] = { value: ${(o=this.serializer)==null?void 0:o.call(this,this.options.transformer.stringify(r))}}`;this.injectHtml(`<script class='tsr-once'>${i}; __TSR__.cleanScripts()<\/script>`)},this._handleNotFound=(n,r,{updateMatch:o=this.updateMatch}={})=>{const i=Object.fromEntries(n.map(a=>[a.routeId,a]));let s=(r.global?this.looseRoutesById[Ue]:this.looseRoutesById[r.routeId])||this.looseRoutesById[Ue];for(;!s.options.notFoundComponent&&!this.options.defaultNotFoundComponent&&s.id!==Ue;)s=s.parentRoute,Qe(s);const l=i[s.id];Qe(l,"Could not find match for route: "+s.id),o(l.id,a=>({...a,status:"notFound",error:r,isFetching:!1})),r.routerCode==="BEFORE_LOAD"&&s.parentRoute&&(r.routeId=s.parentRoute.id,this._handleNotFound(n,r,{updateMatch:o}))},this.hasNotFoundMatch=()=>this.__store.state.matches.some(n=>n.status==="notFound"||n.globalNotFound),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,stringifySearch:t.stringifySearch??dg,parseSearch:t.parseSearch??cg}),typeof document<"u"&&(window.__TSR__ROUTER__=this)}get state(){return this.__store.state}get looseRoutesById(){return this.routesById}}class Eg extends Error{}class _g extends Error{}function Pg(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:{...e},location:e,matches:[],pendingMatches:[],cachedMatches:[],statusCode:200}}function $g(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Xd(e){return!(typeof e=="object"&&e&&"data"in e)||!("__isServerError"in e&&e.__isServerError)||!(typeof e.data=="object"&&e.data)?!1:e.__isServerError===!0}function Jd(e){if("name"in e&&"message"in e){const t=new Error(e.message);return t.name=e.name,t}return e.data}const cl=R.createContext(void 0);function no(e){const t=R.useContext(cl);return Le({select:r=>{const o=r.matches.find(i=>e.from?e.from===i.routeId:i.id===t);if(Qe(!((e.shouldThrow??!0)&&!o),`Could not find ${e.from?`an active match from "${e.from}"`:"a nearest match!"}`),o!==void 0)return e.select?e.select(o):o}})}function Rg(e){return no({...e,select:t=>typeof e.select=="function"?e.select(t.loaderDeps):t.loaderDeps})}function jg(e){return no({...e,select:t=>typeof e.select=="function"?e.select(t.loaderData):t.loaderData})}function bg(e){return no({...e,select:t=>e.select?e.select(t.params):t.params})}function Og(e){return no({...e,select:t=>e.select?e.select(t.search):t.search})}function Tg(e){const t=yn();return R.useCallback(n=>t.navigate({...n}),[t])}let bh=class{constructor(t){this.init=n=>{var r,o;this.originalIndex=n.originalIndex;const i=this.options,s=!(i!=null&&i.path)&&!(i!=null&&i.id);this.parentRoute=(o=(r=this.options)==null?void 0:r.getParentRoute)==null?void 0:o.call(r),s?this.path=Ue:Qe(this.parentRoute);let l=s?Ue:i.path;l&&l!=="/"&&(l=pc(l));const a=(i==null?void 0:i.id)||l;let u=s?Ue:Tn([this.parentRoute.id===Ue?"":this.parentRoute.id,a]);l===Ue&&(l="/"),u!==Ue&&(u=Tn(["/",u]));const c=u===Ue?"/":Tn([this.parentRoute.fullPath,l]);this.path=l,this.id=u,this.fullPath=c,this.to=c},this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.useMatch=n=>no({...n,from:this.id}),this.useRouteContext=n=>no({...n,from:this.id,select:r=>n!=null&&n.select?n.select(r.context):r.context}),this.useSearch=n=>Og({...n,from:this.id}),this.useParams=n=>bg({...n,from:this.id}),this.useLoaderDeps=n=>Rg({...n,from:this.id}),this.useLoaderData=n=>jg({...n,from:this.id}),this.useNavigate=()=>Tg({from:this.id}),this.options=t||{},this.isRoot=!(t!=null&&t.getParentRoute),Qe(!(t!=null&&t.id&&(t!=null&&t.path))),this.$$typeof=Symbol.for("react.memo")}addChildren(t){return this.children=Array.isArray(t)?t:Object.values(t),this}};function Mg(e){return new bh(e)}function Lg(){return e=>Fg(e)}class zg extends bh{constructor(t){super(t)}addChildren(t){return super.addChildren(t)}}function Fg(e){return new zg(e)}function Ig(e){return new Ng(e,{silent:!0}).createRoute}class Ng{constructor(t,n){this.path=t,this.createRoute=r=>{this.silent;const o=Mg(r);return o.isRoot=!1,o},this.silent=n==null?void 0:n.silent}}var Oh={exports:{}},mt={},Th={exports:{}},Mh={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t($,T){var L=$.length;$.push(T);e:for(;0<L;){var A=L-1>>>1,V=$[A];if(0<o(V,T))$[A]=T,$[L]=V,L=A;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var T=$[0],L=$.pop();if(L!==T){$[0]=L;e:for(var A=0,V=$.length,Q=V>>>1;A<Q;){var oe=2*(A+1)-1,lt=$[oe],Ee=oe+1,Ve=$[Ee];if(0>o(lt,L))Ee<V&&0>o(Ve,lt)?($[A]=Ve,$[Ee]=L,A=Ee):($[A]=lt,$[oe]=L,A=oe);else if(Ee<V&&0>o(Ve,L))$[A]=Ve,$[Ee]=L,A=Ee;else break e}}return T}function o($,T){var L=$.sortIndex-T.sortIndex;return L!==0?L:$.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,d=null,f=3,y=!1,x=!1,v=!1,k=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g($){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=$)r(u),T.sortIndex=T.expirationTime,t(a,T);else break;T=n(u)}}function S($){if(v=!1,g($),!x)if(n(a)!==null)x=!0,N(C);else{var T=n(u);T!==null&&re(S,T.startTime-$)}}function C($,T){x=!1,v&&(v=!1,h(w),w=-1),y=!0;var L=f;try{for(g(T),d=n(a);d!==null&&(!(d.expirationTime>T)||$&&!z());){var A=d.callback;if(typeof A=="function"){d.callback=null,f=d.priorityLevel;var V=A(d.expirationTime<=T);T=e.unstable_now(),typeof V=="function"?d.callback=V:d===n(a)&&r(a),g(T)}else r(a);d=n(a)}if(d!==null)var Q=!0;else{var oe=n(u);oe!==null&&re(S,oe.startTime-T),Q=!1}return Q}finally{d=null,f=L,y=!1}}var _=!1,E=null,w=-1,b=5,O=-1;function z(){return!(e.unstable_now()-O<b)}function F(){if(E!==null){var $=e.unstable_now();O=$;var T=!0;try{T=E(!0,$)}finally{T?I():(_=!1,E=null)}}else _=!1}var I;if(typeof m=="function")I=function(){m(F)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,G=W.port2;W.port1.onmessage=F,I=function(){G.postMessage(null)}}else I=function(){k(F,0)};function N($){E=$,_||(_=!0,I())}function re($,T){w=k(function(){$(e.unstable_now())},T)}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($){$.callback=null},e.unstable_continueExecution=function(){x||y||(x=!0,N(C))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function($){switch(f){case 1:case 2:case 3:var T=3;break;default:T=f}var L=f;f=T;try{return $()}finally{f=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,T){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var L=f;f=$;try{return T()}finally{f=L}},e.unstable_scheduleCallback=function($,T,L){var A=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?A+L:A):L=A,$){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=L+V,$={id:c++,callback:T,priorityLevel:$,startTime:L,expirationTime:V,sortIndex:-1},L>A?($.sortIndex=L,t(u,$),n(a)===null&&$===n(u)&&(v?(h(w),w=-1):v=!0,re(S,L-A))):($.sortIndex=V,t(a,$),x||y||(x=!0,N(C))),$},e.unstable_shouldYield=z,e.unstable_wrapCallback=function($){var T=f;return function(){var L=f;f=T;try{return $.apply(this,arguments)}finally{f=L}}}})(Mh);Th.exports=Mh;var Dg=Th.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ag=R,ht=Dg;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var Lh=new Set,Xo={};function pr(e,t){ro(e,t),ro(e+"Capture",t)}function ro(e,t){for(Xo[e]=t,e=0;e<t.length;e++)Lh.add(t[e])}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ou=Object.prototype.hasOwnProperty,Bg=/^[: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]*$/,Zd={},ef={};function Ug(e){return ou.call(ef,e)?!0:ou.call(Zd,e)?!1:Bg.test(e)?ef[e]=!0:(Zd[e]=!0,!1)}function Wg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Hg(e,t,n,r){if(t===null||typeof t>"u"||Wg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fe[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var mc=/[\-:]([a-z])/g;function yc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mc,yc);Fe[t]=new Je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mc,yc);Fe[t]=new Je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mc,yc);Fe[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function vc(e,t,n,r){var o=Fe.hasOwnProperty(t)?Fe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Hg(t,n,o,r)&&(n=null),r||o===null?Ug(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var vn=Ag.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ii=Symbol.for("react.element"),Cr=Symbol.for("react.portal"),Er=Symbol.for("react.fragment"),gc=Symbol.for("react.strict_mode"),iu=Symbol.for("react.profiler"),zh=Symbol.for("react.provider"),Fh=Symbol.for("react.context"),xc=Symbol.for("react.forward_ref"),su=Symbol.for("react.suspense"),lu=Symbol.for("react.suspense_list"),Sc=Symbol.for("react.memo"),Sn=Symbol.for("react.lazy"),Ih=Symbol.for("react.offscreen"),tf=Symbol.iterator;function Co(e){return e===null||typeof e!="object"?null:(e=tf&&e[tf]||e["@@iterator"],typeof e=="function"?e:null)}var he=Object.assign,wa;function Mo(e){if(wa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);wa=t&&t[1]||""}return`
`+wa+e}var ka=!1;function Ca(e,t){if(!e||ka)return"";ka=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),i=r.stack.split(`
`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{ka=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mo(e):""}function Vg(e){switch(e.tag){case 5:return Mo(e.type);case 16:return Mo("Lazy");case 13:return Mo("Suspense");case 19:return Mo("SuspenseList");case 0:case 2:case 15:return e=Ca(e.type,!1),e;case 11:return e=Ca(e.type.render,!1),e;case 1:return e=Ca(e.type,!0),e;default:return""}}function au(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Er:return"Fragment";case Cr:return"Portal";case iu:return"Profiler";case gc:return"StrictMode";case su:return"Suspense";case lu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fh:return(e.displayName||"Context")+".Consumer";case zh:return(e._context.displayName||"Context")+".Provider";case xc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sc:return t=e.displayName||null,t!==null?t:au(e.type)||"Memo";case Sn:t=e._payload,e=e._init;try{return au(e(t))}catch{}}return null}function Kg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return au(t);case 8:return t===gc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Bn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gg(e){var t=Nh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ni(e){e._valueTracker||(e._valueTracker=Gg(e))}function Dh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function js(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function uu(e,t){var n=t.checked;return he({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Bn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ah(e,t){t=t.checked,t!=null&&vc(e,"checked",t,!1)}function cu(e,t){Ah(e,t);var n=Bn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?du(e,t.type,n):t.hasOwnProperty("defaultValue")&&du(e,t.type,Bn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function du(e,t,n){(t!=="number"||js(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lo=Array.isArray;function Ir(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Bn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function fu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return he({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function of(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Lo(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Bn(n)}}function Bh(e,t){var n=Bn(t.value),r=Bn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function sf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Uh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Uh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Di,Wh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Di=Di||document.createElement("div"),Di.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Do={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qg=["Webkit","ms","Moz","O"];Object.keys(Do).forEach(function(e){Qg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Do[t]=Do[e]})});function Hh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Do.hasOwnProperty(e)&&Do[e]?(""+t).trim():t+"px"}function Vh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Hh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var qg=he({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hu(e,t){if(t){if(qg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function mu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 yu=null;function wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vu=null,Nr=null,Dr=null;function lf(e){if(e=Ei(e)){if(typeof vu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ml(t),vu(e.stateNode,e.type,t))}}function Kh(e){Nr?Dr?Dr.push(e):Dr=[e]:Nr=e}function Gh(){if(Nr){var e=Nr,t=Dr;if(Dr=Nr=null,lf(e),t)for(e=0;e<t.length;e++)lf(t[e])}}function Qh(e,t){return e(t)}function qh(){}var Ea=!1;function Yh(e,t,n){if(Ea)return e(t,n);Ea=!0;try{return Qh(e,t,n)}finally{Ea=!1,(Nr!==null||Dr!==null)&&(qh(),Gh())}}function Zo(e,t){var n=e.stateNode;if(n===null)return null;var r=ml(n);if(r===null)return null;n=r[t];e: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 e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(j(231,t,typeof n));return n}var gu=!1;if(dn)try{var Eo={};Object.defineProperty(Eo,"passive",{get:function(){gu=!0}}),window.addEventListener("test",Eo,Eo),window.removeEventListener("test",Eo,Eo)}catch{gu=!1}function Yg(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ao=!1,bs=null,Os=!1,xu=null,Xg={onError:function(e){Ao=!0,bs=e}};function Jg(e,t,n,r,o,i,s,l,a){Ao=!1,bs=null,Yg.apply(Xg,arguments)}function Zg(e,t,n,r,o,i,s,l,a){if(Jg.apply(this,arguments),Ao){if(Ao){var u=bs;Ao=!1,bs=null}else throw Error(j(198));Os||(Os=!0,xu=u)}}function hr(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 Xh(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 af(e){if(hr(e)!==e)throw Error(j(188))}function e1(e){var t=e.alternate;if(!t){if(t=hr(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return af(o),e;if(i===r)return af(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function Jh(e){return e=e1(e),e!==null?Zh(e):null}function Zh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Zh(e);if(t!==null)return t;e=e.sibling}return null}var e0=ht.unstable_scheduleCallback,uf=ht.unstable_cancelCallback,t1=ht.unstable_shouldYield,n1=ht.unstable_requestPaint,we=ht.unstable_now,r1=ht.unstable_getCurrentPriorityLevel,kc=ht.unstable_ImmediatePriority,t0=ht.unstable_UserBlockingPriority,Ts=ht.unstable_NormalPriority,o1=ht.unstable_LowPriority,n0=ht.unstable_IdlePriority,dl=null,Jt=null;function i1(e){if(Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(dl,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:a1,s1=Math.log,l1=Math.LN2;function a1(e){return e>>>=0,e===0?32:31-(s1(e)/l1|0)|0}var Ai=64,Bi=4194304;function zo(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ms(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=zo(l):(i&=s,i!==0&&(r=zo(i)))}else s=n&~o,s!==0?r=zo(s):i!==0&&(r=zo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Nt(t),o=1<<n,r|=e[n],t&=~o;return r}function u1(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function c1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Nt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=u1(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function Su(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function r0(){var e=Ai;return Ai<<=1,!(Ai&4194240)&&(Ai=64),e}function _a(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ki(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function d1(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Nt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Cc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ee=0;function o0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var i0,Ec,s0,l0,a0,wu=!1,Ui=[],Mn=null,Ln=null,zn=null,ei=new Map,ti=new Map,kn=[],f1="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 submit".split(" ");function cf(e,t){switch(e){case"focusin":case"focusout":Mn=null;break;case"dragenter":case"dragleave":Ln=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":ei.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ti.delete(t.pointerId)}}function _o(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ei(t),t!==null&&Ec(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function p1(e,t,n,r,o){switch(t){case"focusin":return Mn=_o(Mn,e,t,n,r,o),!0;case"dragenter":return Ln=_o(Ln,e,t,n,r,o),!0;case"mouseover":return zn=_o(zn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ei.set(i,_o(ei.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ti.set(i,_o(ti.get(i)||null,e,t,n,r,o)),!0}return!1}function u0(e){var t=Jn(e.target);if(t!==null){var n=hr(t);if(n!==null){if(t=n.tag,t===13){if(t=Xh(n),t!==null){e.blockedOn=t,a0(e.priority,function(){s0(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 us(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ku(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);yu=r,n.target.dispatchEvent(r),yu=null}else return t=Ei(n),t!==null&&Ec(t),e.blockedOn=n,!1;t.shift()}return!0}function df(e,t,n){us(e)&&n.delete(t)}function h1(){wu=!1,Mn!==null&&us(Mn)&&(Mn=null),Ln!==null&&us(Ln)&&(Ln=null),zn!==null&&us(zn)&&(zn=null),ei.forEach(df),ti.forEach(df)}function Po(e,t){e.blockedOn===t&&(e.blockedOn=null,wu||(wu=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,h1)))}function ni(e){function t(o){return Po(o,e)}if(0<Ui.length){Po(Ui[0],e);for(var n=1;n<Ui.length;n++){var r=Ui[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mn!==null&&Po(Mn,e),Ln!==null&&Po(Ln,e),zn!==null&&Po(zn,e),ei.forEach(t),ti.forEach(t),n=0;n<kn.length;n++)r=kn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<kn.length&&(n=kn[0],n.blockedOn===null);)u0(n),n.blockedOn===null&&kn.shift()}var Ar=vn.ReactCurrentBatchConfig,Ls=!0;function m1(e,t,n,r){var o=ee,i=Ar.transition;Ar.transition=null;try{ee=1,_c(e,t,n,r)}finally{ee=o,Ar.transition=i}}function y1(e,t,n,r){var o=ee,i=Ar.transition;Ar.transition=null;try{ee=4,_c(e,t,n,r)}finally{ee=o,Ar.transition=i}}function _c(e,t,n,r){if(Ls){var o=ku(e,t,n,r);if(o===null)za(e,t,r,zs,n),cf(e,r);else if(p1(o,e,t,n,r))r.stopPropagation();else if(cf(e,r),t&4&&-1<f1.indexOf(e)){for(;o!==null;){var i=Ei(o);if(i!==null&&i0(i),i=ku(e,t,n,r),i===null&&za(e,t,r,zs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else za(e,t,r,null,n)}}var zs=null;function ku(e,t,n,r){if(zs=null,e=wc(r),e=Jn(e),e!==null)if(t=hr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Xh(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 zs=e,null}function c0(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(r1()){case kc:return 1;case t0:return 4;case Ts:case o1:return 16;case n0:return 536870912;default:return 16}default:return 16}}var bn=null,Pc=null,cs=null;function d0(){if(cs)return cs;var e,t=Pc,n=t.length,r,o="value"in bn?bn.value:bn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return cs=o.slice(e,1<r?1-r:void 0)}function ds(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 Wi(){return!0}function ff(){return!1}function yt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Wi:ff,this.isPropagationStopped=ff,this}return he(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Wi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Wi)},persist:function(){},isPersistent:Wi}),t}var mo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$c=yt(mo),Ci=he({},mo,{view:0,detail:0}),v1=yt(Ci),Pa,$a,$o,fl=he({},Ci,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rc,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!==$o&&($o&&e.type==="mousemove"?(Pa=e.screenX-$o.screenX,$a=e.screenY-$o.screenY):$a=Pa=0,$o=e),Pa)},movementY:function(e){return"movementY"in e?e.movementY:$a}}),pf=yt(fl),g1=he({},fl,{dataTransfer:0}),x1=yt(g1),S1=he({},Ci,{relatedTarget:0}),Ra=yt(S1),w1=he({},mo,{animationName:0,elapsedTime:0,pseudoElement:0}),k1=yt(w1),C1=he({},mo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),E1=yt(C1),_1=he({},mo,{data:0}),hf=yt(_1),P1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$1={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},R1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function j1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=R1[e])?!!t[e]:!1}function Rc(){return j1}var b1=he({},Ci,{key:function(e){if(e.key){var t=P1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ds(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rc,charCode:function(e){return e.type==="keypress"?ds(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ds(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),O1=yt(b1),T1=he({},fl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mf=yt(T1),M1=he({},Ci,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rc}),L1=yt(M1),z1=he({},mo,{propertyName:0,elapsedTime:0,pseudoElement:0}),F1=yt(z1),I1=he({},fl,{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}),N1=yt(I1),D1=[9,13,27,32],jc=dn&&"CompositionEvent"in window,Bo=null;dn&&"documentMode"in document&&(Bo=document.documentMode);var A1=dn&&"TextEvent"in window&&!Bo,f0=dn&&(!jc||Bo&&8<Bo&&11>=Bo),yf=" ",vf=!1;function p0(e,t){switch(e){case"keyup":return D1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function h0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function B1(e,t){switch(e){case"compositionend":return h0(t);case"keypress":return t.which!==32?null:(vf=!0,yf);case"textInput":return e=t.data,e===yf&&vf?null:e;default:return null}}function U1(e,t){if(_r)return e==="compositionend"||!jc&&p0(e,t)?(e=d0(),cs=Pc=bn=null,_r=!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 f0&&t.locale!=="ko"?null:t.data;default:return null}}var W1={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 gf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!W1[e.type]:t==="textarea"}function m0(e,t,n,r){Kh(r),t=Fs(t,"onChange"),0<t.length&&(n=new $c("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Uo=null,ri=null;function H1(e){P0(e,0)}function pl(e){var t=Rr(e);if(Dh(t))return e}function V1(e,t){if(e==="change")return t}var y0=!1;if(dn){var ja;if(dn){var ba="oninput"in document;if(!ba){var xf=document.createElement("div");xf.setAttribute("oninput","return;"),ba=typeof xf.oninput=="function"}ja=ba}else ja=!1;y0=ja&&(!document.documentMode||9<document.documentMode)}function Sf(){Uo&&(Uo.detachEvent("onpropertychange",v0),ri=Uo=null)}function v0(e){if(e.propertyName==="value"&&pl(ri)){var t=[];m0(t,ri,e,wc(e)),Yh(H1,t)}}function K1(e,t,n){e==="focusin"?(Sf(),Uo=t,ri=n,Uo.attachEvent("onpropertychange",v0)):e==="focusout"&&Sf()}function G1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return pl(ri)}function Q1(e,t){if(e==="click")return pl(t)}function q1(e,t){if(e==="input"||e==="change")return pl(t)}function Y1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:Y1;function oi(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 o=n[r];if(!ou.call(t,o)||!At(e[o],t[o]))return!1}return!0}function wf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function kf(e,t){var n=wf(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}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wf(n)}}function g0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?g0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function x0(){for(var e=window,t=js();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=js(e.document)}return t}function bc(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")}function X1(e){var t=x0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&g0(n.ownerDocument.documentElement,n)){if(r!==null&&bc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=kf(n,i);var s=kf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var J1=dn&&"documentMode"in document&&11>=document.documentMode,Pr=null,Cu=null,Wo=null,Eu=!1;function Cf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Eu||Pr==null||Pr!==js(r)||(r=Pr,"selectionStart"in r&&bc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wo&&oi(Wo,r)||(Wo=r,r=Fs(Cu,"onSelect"),0<r.length&&(t=new $c("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pr)))}function Hi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $r={animationend:Hi("Animation","AnimationEnd"),animationiteration:Hi("Animation","AnimationIteration"),animationstart:Hi("Animation","AnimationStart"),transitionend:Hi("Transition","TransitionEnd")},Oa={},S0={};dn&&(S0=document.createElement("div").style,"AnimationEvent"in window||(delete $r.animationend.animation,delete $r.animationiteration.animation,delete $r.animationstart.animation),"TransitionEvent"in window||delete $r.transitionend.transition);function hl(e){if(Oa[e])return Oa[e];if(!$r[e])return e;var t=$r[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in S0)return Oa[e]=t[n];return e}var w0=hl("animationend"),k0=hl("animationiteration"),C0=hl("animationstart"),E0=hl("transitionend"),_0=new Map,Ef="abort auxClick 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(" ");function Hn(e,t){_0.set(e,t),pr(t,[e])}for(var Ta=0;Ta<Ef.length;Ta++){var Ma=Ef[Ta],Z1=Ma.toLowerCase(),ex=Ma[0].toUpperCase()+Ma.slice(1);Hn(Z1,"on"+ex)}Hn(w0,"onAnimationEnd");Hn(k0,"onAnimationIteration");Hn(C0,"onAnimationStart");Hn("dblclick","onDoubleClick");Hn("focusin","onFocus");Hn("focusout","onBlur");Hn(E0,"onTransitionEnd");ro("onMouseEnter",["mouseout","mouseover"]);ro("onMouseLeave",["mouseout","mouseover"]);ro("onPointerEnter",["pointerout","pointerover"]);ro("onPointerLeave",["pointerout","pointerover"]);pr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));pr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));pr("onBeforeInput",["compositionend","keypress","textInput","paste"]);pr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));pr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));pr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="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(" "),tx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo));function _f(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Zg(r,t,void 0,e),e.currentTarget=null}function P0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;_f(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;_f(o,l,u),i=a}}}if(Os)throw e=xu,Os=!1,xu=null,e}function ae(e,t){var n=t[ju];n===void 0&&(n=t[ju]=new Set);var r=e+"__bubble";n.has(r)||($0(t,e,2,!1),n.add(r))}function La(e,t,n){var r=0;t&&(r|=4),$0(n,e,r,t)}var Vi="_reactListening"+Math.random().toString(36).slice(2);function ii(e){if(!e[Vi]){e[Vi]=!0,Lh.forEach(function(n){n!=="selectionchange"&&(tx.has(n)||La(n,!1,e),La(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vi]||(t[Vi]=!0,La("selectionchange",!1,t))}}function $0(e,t,n,r){switch(c0(t)){case 1:var o=m1;break;case 4:o=y1;break;default:o=_c}n=o.bind(null,t,n,e),o=void 0,!gu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function za(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Jn(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}Yh(function(){var u=i,c=wc(n),d=[];e:{var f=_0.get(e);if(f!==void 0){var y=$c,x=e;switch(e){case"keypress":if(ds(n)===0)break e;case"keydown":case"keyup":y=O1;break;case"focusin":x="focus",y=Ra;break;case"focusout":x="blur",y=Ra;break;case"beforeblur":case"afterblur":y=Ra;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=pf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=x1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=L1;break;case w0:case k0:case C0:y=k1;break;case E0:y=F1;break;case"scroll":y=v1;break;case"wheel":y=N1;break;case"copy":case"cut":case"paste":y=E1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=mf}var v=(t&4)!==0,k=!v&&e==="scroll",h=v?f!==null?f+"Capture":null:f;v=[];for(var m=u,g;m!==null;){g=m;var S=g.stateNode;if(g.tag===5&&S!==null&&(g=S,h!==null&&(S=Zo(m,h),S!=null&&v.push(si(m,S,g)))),k)break;m=m.return}0<v.length&&(f=new y(f,x,null,n,c),d.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",f&&n!==yu&&(x=n.relatedTarget||n.fromElement)&&(Jn(x)||x[fn]))break e;if((y||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,y?(x=n.relatedTarget||n.toElement,y=u,x=x?Jn(x):null,x!==null&&(k=hr(x),x!==k||x.tag!==5&&x.tag!==6)&&(x=null)):(y=null,x=u),y!==x)){if(v=pf,S="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=mf,S="onPointerLeave",h="onPointerEnter",m="pointer"),k=y==null?f:Rr(y),g=x==null?f:Rr(x),f=new v(S,m+"leave",y,n,c),f.target=k,f.relatedTarget=g,S=null,Jn(c)===u&&(v=new v(h,m+"enter",x,n,c),v.target=g,v.relatedTarget=k,S=v),k=S,y&&x)t:{for(v=y,h=x,m=0,g=v;g;g=mr(g))m++;for(g=0,S=h;S;S=mr(S))g++;for(;0<m-g;)v=mr(v),m--;for(;0<g-m;)h=mr(h),g--;for(;m--;){if(v===h||h!==null&&v===h.alternate)break t;v=mr(v),h=mr(h)}v=null}else v=null;y!==null&&Pf(d,f,y,v,!1),x!==null&&k!==null&&Pf(d,k,x,v,!0)}}e:{if(f=u?Rr(u):window,y=f.nodeName&&f.nodeName.toLowerCase(),y==="select"||y==="input"&&f.type==="file")var C=V1;else if(gf(f))if(y0)C=q1;else{C=G1;var _=K1}else(y=f.nodeName)&&y.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=Q1);if(C&&(C=C(e,u))){m0(d,C,n,c);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&du(f,"number",f.value)}switch(_=u?Rr(u):window,e){case"focusin":(gf(_)||_.contentEditable==="true")&&(Pr=_,Cu=u,Wo=null);break;case"focusout":Wo=Cu=Pr=null;break;case"mousedown":Eu=!0;break;case"contextmenu":case"mouseup":case"dragend":Eu=!1,Cf(d,n,c);break;case"selectionchange":if(J1)break;case"keydown":case"keyup":Cf(d,n,c)}var E;if(jc)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else _r?p0(e,n)&&(w="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(w="onCompositionStart");w&&(f0&&n.locale!=="ko"&&(_r||w!=="onCompositionStart"?w==="onCompositionEnd"&&_r&&(E=d0()):(bn=c,Pc="value"in bn?bn.value:bn.textContent,_r=!0)),_=Fs(u,w),0<_.length&&(w=new hf(w,e,null,n,c),d.push({event:w,listeners:_}),E?w.data=E:(E=h0(n),E!==null&&(w.data=E)))),(E=A1?B1(e,n):U1(e,n))&&(u=Fs(u,"onBeforeInput"),0<u.length&&(c=new hf("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=E))}P0(d,t)})}function si(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Zo(e,n),i!=null&&r.unshift(si(e,i,o)),i=Zo(e,t),i!=null&&r.push(si(e,i,o))),e=e.return}return r}function mr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pf(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=Zo(n,i),a!=null&&s.unshift(si(n,a,l))):o||(a=Zo(n,i),a!=null&&s.push(si(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var nx=/\r\n?/g,rx=/\u0000|\uFFFD/g;function $f(e){return(typeof e=="string"?e:""+e).replace(nx,`
`).replace(rx,"")}function Ki(e,t,n){if(t=$f(t),$f(e)!==t&&n)throw Error(j(425))}function Is(){}var _u=null,Pu=null;function $u(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ru=typeof setTimeout=="function"?setTimeout:void 0,ox=typeof clearTimeout=="function"?clearTimeout:void 0,Rf=typeof Promise=="function"?Promise:void 0,ix=typeof queueMicrotask=="function"?queueMicrotask:typeof Rf<"u"?function(e){return Rf.resolve(null).then(e).catch(sx)}:Ru;function sx(e){setTimeout(function(){throw e})}function Fa(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ni(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ni(t)}function Fn(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==="$?")break;if(t==="/$")return null}}return e}function jf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var yo=Math.random().toString(36).slice(2),Xt="__reactFiber$"+yo,li="__reactProps$"+yo,fn="__reactContainer$"+yo,ju="__reactEvents$"+yo,lx="__reactListeners$"+yo,ax="__reactHandles$"+yo;function Jn(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=jf(e);e!==null;){if(n=e[Xt])return n;e=jf(e)}return t}e=n,n=e.parentNode}return null}function Ei(e){return e=e[Xt]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Rr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function ml(e){return e[li]||null}var bu=[],jr=-1;function Vn(e){return{current:e}}function ue(e){0>jr||(e.current=bu[jr],bu[jr]=null,jr--)}function le(e,t){jr++,bu[jr]=e.current,e.current=t}var Un={},He=Vn(Un),rt=Vn(!1),ar=Un;function oo(e,t){var n=e.type.contextTypes;if(!n)return Un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ot(e){return e=e.childContextTypes,e!=null}function Ns(){ue(rt),ue(He)}function bf(e,t,n){if(He.current!==Un)throw Error(j(168));le(He,t),le(rt,n)}function R0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(j(108,Kg(e)||"Unknown",o));return he({},n,r)}function Ds(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Un,ar=He.current,le(He,e),le(rt,rt.current),!0}function Of(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=R0(e,t,ar),r.__reactInternalMemoizedMergedChildContext=e,ue(rt),ue(He),le(He,e)):ue(rt),le(rt,n)}var ln=null,yl=!1,Ia=!1;function j0(e){ln===null?ln=[e]:ln.push(e)}function ux(e){yl=!0,j0(e)}function Kn(){if(!Ia&&ln!==null){Ia=!0;var e=0,t=ee;try{var n=ln;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ln=null,yl=!1}catch(o){throw ln!==null&&(ln=ln.slice(e+1)),e0(kc,Kn),o}finally{ee=t,Ia=!1}}return null}var br=[],Or=0,As=null,Bs=0,wt=[],kt=0,ur=null,an=1,un="";function Qn(e,t){br[Or++]=Bs,br[Or++]=As,As=e,Bs=t}function b0(e,t,n){wt[kt++]=an,wt[kt++]=un,wt[kt++]=ur,ur=e;var r=an;e=un;var o=32-Nt(r)-1;r&=~(1<<o),n+=1;var i=32-Nt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,an=1<<32-Nt(t)+o|n<<o|r,un=i+e}else an=1<<i|n<<o|r,un=e}function Oc(e){e.return!==null&&(Qn(e,1),b0(e,1,0))}function Tc(e){for(;e===As;)As=br[--Or],br[Or]=null,Bs=br[--Or],br[Or]=null;for(;e===ur;)ur=wt[--kt],wt[kt]=null,un=wt[--kt],wt[kt]=null,an=wt[--kt],wt[kt]=null}var ft=null,dt=null,de=!1,It=null;function O0(e,t){var n=Et(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Tf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,dt=Fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ur!==null?{id:an,overflow:un}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Et(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function Ou(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Tu(e){if(de){var t=dt;if(t){var n=t;if(!Tf(e,t)){if(Ou(e))throw Error(j(418));t=Fn(n.nextSibling);var r=ft;t&&Tf(e,t)?O0(r,n):(e.flags=e.flags&-4097|2,de=!1,ft=e)}}else{if(Ou(e))throw Error(j(418));e.flags=e.flags&-4097|2,de=!1,ft=e}}}function Mf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function Gi(e){if(e!==ft)return!1;if(!de)return Mf(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!$u(e.type,e.memoizedProps)),t&&(t=dt)){if(Ou(e))throw T0(),Error(j(418));for(;t;)O0(e,t),t=Fn(t.nextSibling)}if(Mf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){dt=Fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}dt=null}}else dt=ft?Fn(e.stateNode.nextSibling):null;return!0}function T0(){for(var e=dt;e;)e=Fn(e.nextSibling)}function io(){dt=ft=null,de=!1}function Mc(e){It===null?It=[e]:It.push(e)}var cx=vn.ReactCurrentBatchConfig;function Ro(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Qi(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lf(e){var t=e._init;return t(e._payload)}function M0(e){function t(h,m){if(e){var g=h.deletions;g===null?(h.deletions=[m],h.flags|=16):g.push(m)}}function n(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function r(h,m){for(h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function o(h,m){return h=An(h,m),h.index=0,h.sibling=null,h}function i(h,m,g){return h.index=g,e?(g=h.alternate,g!==null?(g=g.index,g<m?(h.flags|=2,m):g):(h.flags|=2,m)):(h.flags|=1048576,m)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,m,g,S){return m===null||m.tag!==6?(m=Ha(g,h.mode,S),m.return=h,m):(m=o(m,g),m.return=h,m)}function a(h,m,g,S){var C=g.type;return C===Er?c(h,m,g.props.children,S,g.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Sn&&Lf(C)===m.type)?(S=o(m,g.props),S.ref=Ro(h,m,g),S.return=h,S):(S=gs(g.type,g.key,g.props,null,h.mode,S),S.ref=Ro(h,m,g),S.return=h,S)}function u(h,m,g,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=Va(g,h.mode,S),m.return=h,m):(m=o(m,g.children||[]),m.return=h,m)}function c(h,m,g,S,C){return m===null||m.tag!==7?(m=lr(g,h.mode,S,C),m.return=h,m):(m=o(m,g),m.return=h,m)}function d(h,m,g){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ha(""+m,h.mode,g),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ii:return g=gs(m.type,m.key,m.props,null,h.mode,g),g.ref=Ro(h,null,m),g.return=h,g;case Cr:return m=Va(m,h.mode,g),m.return=h,m;case Sn:var S=m._init;return d(h,S(m._payload),g)}if(Lo(m)||Co(m))return m=lr(m,h.mode,g,null),m.return=h,m;Qi(h,m)}return null}function f(h,m,g,S){var C=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return C!==null?null:l(h,m,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ii:return g.key===C?a(h,m,g,S):null;case Cr:return g.key===C?u(h,m,g,S):null;case Sn:return C=g._init,f(h,m,C(g._payload),S)}if(Lo(g)||Co(g))return C!==null?null:c(h,m,g,S,null);Qi(h,g)}return null}function y(h,m,g,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(g)||null,l(m,h,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Ii:return h=h.get(S.key===null?g:S.key)||null,a(m,h,S,C);case Cr:return h=h.get(S.key===null?g:S.key)||null,u(m,h,S,C);case Sn:var _=S._init;return y(h,m,g,_(S._payload),C)}if(Lo(S)||Co(S))return h=h.get(g)||null,c(m,h,S,C,null);Qi(m,S)}return null}function x(h,m,g,S){for(var C=null,_=null,E=m,w=m=0,b=null;E!==null&&w<g.length;w++){E.index>w?(b=E,E=null):b=E.sibling;var O=f(h,E,g[w],S);if(O===null){E===null&&(E=b);break}e&&E&&O.alternate===null&&t(h,E),m=i(O,m,w),_===null?C=O:_.sibling=O,_=O,E=b}if(w===g.length)return n(h,E),de&&Qn(h,w),C;if(E===null){for(;w<g.length;w++)E=d(h,g[w],S),E!==null&&(m=i(E,m,w),_===null?C=E:_.sibling=E,_=E);return de&&Qn(h,w),C}for(E=r(h,E);w<g.length;w++)b=y(E,h,w,g[w],S),b!==null&&(e&&b.alternate!==null&&E.delete(b.key===null?w:b.key),m=i(b,m,w),_===null?C=b:_.sibling=b,_=b);return e&&E.forEach(function(z){return t(h,z)}),de&&Qn(h,w),C}function v(h,m,g,S){var C=Co(g);if(typeof C!="function")throw Error(j(150));if(g=C.call(g),g==null)throw Error(j(151));for(var _=C=null,E=m,w=m=0,b=null,O=g.next();E!==null&&!O.done;w++,O=g.next()){E.index>w?(b=E,E=null):b=E.sibling;var z=f(h,E,O.value,S);if(z===null){E===null&&(E=b);break}e&&E&&z.alternate===null&&t(h,E),m=i(z,m,w),_===null?C=z:_.sibling=z,_=z,E=b}if(O.done)return n(h,E),de&&Qn(h,w),C;if(E===null){for(;!O.done;w++,O=g.next())O=d(h,O.value,S),O!==null&&(m=i(O,m,w),_===null?C=O:_.sibling=O,_=O);return de&&Qn(h,w),C}for(E=r(h,E);!O.done;w++,O=g.next())O=y(E,h,w,O.value,S),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?w:O.key),m=i(O,m,w),_===null?C=O:_.sibling=O,_=O);return e&&E.forEach(function(F){return t(h,F)}),de&&Qn(h,w),C}function k(h,m,g,S){if(typeof g=="object"&&g!==null&&g.type===Er&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ii:e:{for(var C=g.key,_=m;_!==null;){if(_.key===C){if(C=g.type,C===Er){if(_.tag===7){n(h,_.sibling),m=o(_,g.props.children),m.return=h,h=m;break e}}else if(_.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Sn&&Lf(C)===_.type){n(h,_.sibling),m=o(_,g.props),m.ref=Ro(h,_,g),m.return=h,h=m;break e}n(h,_);break}else t(h,_);_=_.sibling}g.type===Er?(m=lr(g.props.children,h.mode,S,g.key),m.return=h,h=m):(S=gs(g.type,g.key,g.props,null,h.mode,S),S.ref=Ro(h,m,g),S.return=h,h=S)}return s(h);case Cr:e:{for(_=g.key;m!==null;){if(m.key===_)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(h,m.sibling),m=o(m,g.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Va(g,h.mode,S),m.return=h,h=m}return s(h);case Sn:return _=g._init,k(h,m,_(g._payload),S)}if(Lo(g))return x(h,m,g,S);if(Co(g))return v(h,m,g,S);Qi(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(h,m.sibling),m=o(m,g),m.return=h,h=m):(n(h,m),m=Ha(g,h.mode,S),m.return=h,h=m),s(h)):n(h,m)}return k}var so=M0(!0),L0=M0(!1),Us=Vn(null),Ws=null,Tr=null,Lc=null;function zc(){Lc=Tr=Ws=null}function Fc(e){var t=Us.current;ue(Us),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Br(e,t){Ws=e,Lc=Tr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function Pt(e){var t=e._currentValue;if(Lc!==e)if(e={context:e,memoizedValue:t,next:null},Tr===null){if(Ws===null)throw Error(j(308));Tr=e,Ws.dependencies={lanes:0,firstContext:e}}else Tr=Tr.next=e;return t}var Zn=null;function Ic(e){Zn===null?Zn=[e]:Zn.push(e)}function z0(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ic(t)):(n.next=o.next,o.next=n),t.interleaved=n,pn(e,r)}function pn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wn=!1;function Nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function F0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function In(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,pn(e,n)}return o=r.interleaved,o===null?(t.next=t,Ic(r)):(t.next=o.next,o.next=t),r.interleaved=t,pn(e,n)}function fs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Cc(e,n)}}function zf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Hs(e,t,n,r){var o=e.updateQueue;wn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,c=u=a=null,l=i;do{var f=l.lane,y=l.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,v=l;switch(f=t,y=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(y,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,f=typeof x=="function"?x.call(y,d,f):x,f==null)break e;d=he({},d,f);break e;case 2:wn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[l]:f.push(l))}else y={eventTime:y,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=y,a=d):c=c.next=y,s|=f;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;f=l,l=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);dr|=s,e.lanes=s,e.memoizedState=d}}function Ff(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(j(191,o));o.call(r)}}}var _i={},Zt=Vn(_i),ai=Vn(_i),ui=Vn(_i);function er(e){if(e===_i)throw Error(j(174));return e}function Dc(e,t){switch(le(ui,t),le(ai,e),le(Zt,_i),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pu(t,e)}ue(Zt),le(Zt,t)}function lo(){ue(Zt),ue(ai),ue(ui)}function I0(e){er(ui.current);var t=er(Zt.current),n=pu(t,e.type);t!==n&&(le(ai,e),le(Zt,n))}function Ac(e){ai.current===e&&(ue(Zt),ue(ai))}var fe=Vn(0);function Vs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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 Na=[];function Bc(){for(var e=0;e<Na.length;e++)Na[e]._workInProgressVersionPrimary=null;Na.length=0}var ps=vn.ReactCurrentDispatcher,Da=vn.ReactCurrentBatchConfig,cr=0,pe=null,$e=null,je=null,Ks=!1,Ho=!1,ci=0,dx=0;function Ne(){throw Error(j(321))}function Uc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!At(e[n],t[n]))return!1;return!0}function Wc(e,t,n,r,o,i){if(cr=i,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ps.current=e===null||e.memoizedState===null?mx:yx,e=n(r,o),Ho){i=0;do{if(Ho=!1,ci=0,25<=i)throw Error(j(301));i+=1,je=$e=null,t.updateQueue=null,ps.current=vx,e=n(r,o)}while(Ho)}if(ps.current=Gs,t=$e!==null&&$e.next!==null,cr=0,je=$e=pe=null,Ks=!1,t)throw Error(j(300));return e}function Hc(){var e=ci!==0;return ci=0,e}function Ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?pe.memoizedState=je=e:je=je.next=e,je}function $t(){if($e===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=$e.next;var t=je===null?pe.memoizedState:je.next;if(t!==null)je=t,$e=e;else{if(e===null)throw Error(j(310));$e=e,e={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},je===null?pe.memoizedState=je=e:je=je.next=e}return je}function di(e,t){return typeof t=="function"?t(e):t}function Aa(e){var t=$t(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=$e,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((cr&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,pe.lanes|=c,dr|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,At(r,t.memoizedState)||(nt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,pe.lanes|=i,dr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ba(e){var t=$t(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);At(i,t.memoizedState)||(nt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function N0(){}function D0(e,t){var n=pe,r=$t(),o=t(),i=!At(r.memoizedState,o);if(i&&(r.memoizedState=o,nt=!0),r=r.queue,Vc(U0.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||je!==null&&je.memoizedState.tag&1){if(n.flags|=2048,fi(9,B0.bind(null,n,r,o,t),void 0,null),be===null)throw Error(j(349));cr&30||A0(n,t,o)}return o}function A0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function B0(e,t,n,r){t.value=n,t.getSnapshot=r,W0(t)&&H0(e)}function U0(e,t,n){return n(function(){W0(t)&&H0(e)})}function W0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!At(e,n)}catch{return!0}}function H0(e){var t=pn(e,1);t!==null&&Dt(t,e,1,-1)}function If(e){var t=Ht();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:e},t.queue=e,e=e.dispatch=hx.bind(null,pe,e),[t.memoizedState,e]}function fi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function V0(){return $t().memoizedState}function hs(e,t,n,r){var o=Ht();pe.flags|=e,o.memoizedState=fi(1|t,n,void 0,r===void 0?null:r)}function vl(e,t,n,r){var o=$t();r=r===void 0?null:r;var i=void 0;if($e!==null){var s=$e.memoizedState;if(i=s.destroy,r!==null&&Uc(r,s.deps)){o.memoizedState=fi(t,n,i,r);return}}pe.flags|=e,o.memoizedState=fi(1|t,n,i,r)}function Nf(e,t){return hs(8390656,8,e,t)}function Vc(e,t){return vl(2048,8,e,t)}function K0(e,t){return vl(4,2,e,t)}function G0(e,t){return vl(4,4,e,t)}function Q0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function q0(e,t,n){return n=n!=null?n.concat([e]):null,vl(4,4,Q0.bind(null,t,e),n)}function Kc(){}function Y0(e,t){var n=$t();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function X0(e,t){var n=$t();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function J0(e,t,n){return cr&21?(At(n,t)||(n=r0(),pe.lanes|=n,dr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nt=!0),e.memoizedState=n)}function fx(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=Da.transition;Da.transition={};try{e(!1),t()}finally{ee=n,Da.transition=r}}function Z0(){return $t().memoizedState}function px(e,t,n){var r=Dn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},em(e))tm(t,n);else if(n=z0(e,t,n,r),n!==null){var o=Ye();Dt(n,e,r,o),nm(n,t,r)}}function hx(e,t,n){var r=Dn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(em(e))tm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,At(l,s)){var a=t.interleaved;a===null?(o.next=o,Ic(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=z0(e,t,o,r),n!==null&&(o=Ye(),Dt(n,e,r,o),nm(n,t,r))}}function em(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function tm(e,t){Ho=Ks=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Cc(e,n)}}var Gs={readContext:Pt,useCallback:Ne,useContext:Ne,useEffect:Ne,useImperativeHandle:Ne,useInsertionEffect:Ne,useLayoutEffect:Ne,useMemo:Ne,useReducer:Ne,useRef:Ne,useState:Ne,useDebugValue:Ne,useDeferredValue:Ne,useTransition:Ne,useMutableSource:Ne,useSyncExternalStore:Ne,useId:Ne,unstable_isNewReconciler:!1},mx={readContext:Pt,useCallback:function(e,t){return Ht().memoizedState=[e,t===void 0?null:t],e},useContext:Pt,useEffect:Nf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,hs(4194308,4,Q0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hs(4194308,4,e,t)},useInsertionEffect:function(e,t){return hs(4,2,e,t)},useMemo:function(e,t){var n=Ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=px.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Ht();return e={current:e},t.memoizedState=e},useState:If,useDebugValue:Kc,useDeferredValue:function(e){return Ht().memoizedState=e},useTransition:function(){var e=If(!1),t=e[0];return e=fx.bind(null,e[1]),Ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=Ht();if(de){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),be===null)throw Error(j(349));cr&30||A0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Nf(U0.bind(null,r,i,e),[e]),r.flags|=2048,fi(9,B0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ht(),t=be.identifierPrefix;if(de){var n=un,r=an;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ci++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=dx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},yx={readContext:Pt,useCallback:Y0,useContext:Pt,useEffect:Vc,useImperativeHandle:q0,useInsertionEffect:K0,useLayoutEffect:G0,useMemo:X0,useReducer:Aa,useRef:V0,useState:function(){return Aa(di)},useDebugValue:Kc,useDeferredValue:function(e){var t=$t();return J0(t,$e.memoizedState,e)},useTransition:function(){var e=Aa(di)[0],t=$t().memoizedState;return[e,t]},useMutableSource:N0,useSyncExternalStore:D0,useId:Z0,unstable_isNewReconciler:!1},vx={readContext:Pt,useCallback:Y0,useContext:Pt,useEffect:Vc,useImperativeHandle:q0,useInsertionEffect:K0,useLayoutEffect:G0,useMemo:X0,useReducer:Ba,useRef:V0,useState:function(){return Ba(di)},useDebugValue:Kc,useDeferredValue:function(e){var t=$t();return $e===null?t.memoizedState=e:J0(t,$e.memoizedState,e)},useTransition:function(){var e=Ba(di)[0],t=$t().memoizedState;return[e,t]},useMutableSource:N0,useSyncExternalStore:D0,useId:Z0,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=he({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Lu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:he({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var gl={isMounted:function(e){return(e=e._reactInternals)?hr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ye(),o=Dn(e),i=cn(r,o);i.payload=t,n!=null&&(i.callback=n),t=In(e,i,o),t!==null&&(Dt(t,e,o,r),fs(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ye(),o=Dn(e),i=cn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=In(e,i,o),t!==null&&(Dt(t,e,o,r),fs(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ye(),r=Dn(e),o=cn(n,r);o.tag=2,t!=null&&(o.callback=t),t=In(e,o,r),t!==null&&(Dt(t,e,r,n),fs(t,e,r))}};function Df(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!oi(n,r)||!oi(o,i):!0}function rm(e,t,n){var r=!1,o=Un,i=t.contextType;return typeof i=="object"&&i!==null?i=Pt(i):(o=ot(t)?ar:He.current,r=t.contextTypes,i=(r=r!=null)?oo(e,o):Un),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=gl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Af(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&&gl.enqueueReplaceState(t,t.state,null)}function zu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Nc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Pt(i):(i=ot(t)?ar:He.current,o.context=oo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Lu(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&gl.enqueueReplaceState(o,o.state,null),Hs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ao(e,t){try{var n="",r=t;do n+=Vg(r),r=r.return;while(r);var o=n}catch(i){o=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Ua(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var gx=typeof WeakMap=="function"?WeakMap:Map;function om(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qs||(qs=!0,Ku=r),Fu(e,t)},n}function im(e,t,n){n=cn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Fu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Fu(e,t),typeof r!="function"&&(Nn===null?Nn=new Set([this]):Nn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Bf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new gx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Tx.bind(null,e,t,n),t.then(e,e))}function Uf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Wf(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=cn(-1,1),t.tag=2,In(n,t,1))),n.lanes|=1),e)}var xx=vn.ReactCurrentOwner,nt=!1;function Ge(e,t,n,r){t.child=e===null?L0(t,null,n,r):so(t,e.child,n,r)}function Hf(e,t,n,r,o){n=n.render;var i=t.ref;return Br(t,o),r=Wc(e,t,n,r,i,o),n=Hc(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,hn(e,t,o)):(de&&n&&Oc(t),t.flags|=1,Ge(e,t,r,o),t.child)}function Vf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ed(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,sm(e,t,i,r,o)):(e=gs(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:oi,n(s,r)&&e.ref===t.ref)return hn(e,t,o)}return t.flags|=1,e=An(i,r),e.ref=t.ref,e.return=t,t.child=e}function sm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(oi(i,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,hn(e,t,o)}return Iu(e,t,n,r,o)}function lm(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},le(Lr,ut),ut|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,le(Lr,ut),ut|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,le(Lr,ut),ut|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,le(Lr,ut),ut|=r;return Ge(e,t,o,n),t.child}function am(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Iu(e,t,n,r,o){var i=ot(n)?ar:He.current;return i=oo(t,i),Br(t,o),n=Wc(e,t,n,r,i,o),r=Hc(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,hn(e,t,o)):(de&&r&&Oc(t),t.flags|=1,Ge(e,t,n,o),t.child)}function Kf(e,t,n,r,o){if(ot(n)){var i=!0;Ds(t)}else i=!1;if(Br(t,o),t.stateNode===null)ms(e,t),rm(t,n,r),zu(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Pt(u):(u=ot(n)?ar:He.current,u=oo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Af(t,s,r,u),wn=!1;var f=t.memoizedState;s.state=f,Hs(t,r,s,o),a=t.memoizedState,l!==r||f!==a||rt.current||wn?(typeof c=="function"&&(Lu(t,n,c,r),a=t.memoizedState),(l=wn||Df(t,n,l,r,f,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,F0(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Lt(t.type,l),s.props=u,d=t.pendingProps,f=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Pt(a):(a=ot(n)?ar:He.current,a=oo(t,a));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||f!==a)&&Af(t,s,r,a),wn=!1,f=t.memoizedState,s.state=f,Hs(t,r,s,o);var x=t.memoizedState;l!==d||f!==x||rt.current||wn?(typeof y=="function"&&(Lu(t,n,y,r),x=t.memoizedState),(u=wn||Df(t,n,u,r,f,x,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Nu(e,t,n,r,i,o)}function Nu(e,t,n,r,o,i){am(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Of(t,n,!1),hn(e,t,i);r=t.stateNode,xx.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=so(t,e.child,null,i),t.child=so(t,null,l,i)):Ge(e,t,l,i),t.memoizedState=r.state,o&&Of(t,n,!0),t.child}function um(e){var t=e.stateNode;t.pendingContext?bf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&bf(e,t.context,!1),Dc(e,t.containerInfo)}function Gf(e,t,n,r,o){return io(),Mc(o),t.flags|=256,Ge(e,t,n,r),t.child}var Du={dehydrated:null,treeContext:null,retryLane:0};function Au(e){return{baseLanes:e,cachePool:null,transitions:null}}function cm(e,t,n){var r=t.pendingProps,o=fe.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),le(fe,o&1),e===null)return Tu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=wl(s,r,0,null),e=lr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Au(n),t.memoizedState=Du,e):Gc(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Sx(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=An(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=An(l,i):(i=lr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Au(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Du,r}return i=e.child,e=i.sibling,r=An(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Gc(e,t){return t=wl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qi(e,t,n,r){return r!==null&&Mc(r),so(t,e.child,null,n),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sx(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Ua(Error(j(422))),qi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=wl({mode:"visible",children:r.children},o,0,null),i=lr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&so(t,e.child,null,s),t.child.memoizedState=Au(s),t.memoizedState=Du,i);if(!(t.mode&1))return qi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(j(419)),r=Ua(i,r,void 0),qi(e,t,s,r)}if(l=(s&e.childLanes)!==0,nt||l){if(r=be,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,pn(e,o),Dt(r,e,o,-1))}return Zc(),r=Ua(Error(j(421))),qi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Mx.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,dt=Fn(o.nextSibling),ft=t,de=!0,It=null,e!==null&&(wt[kt++]=an,wt[kt++]=un,wt[kt++]=ur,an=e.id,un=e.overflow,ur=t),t=Gc(t,r.children),t.flags|=4096,t)}function Qf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Mu(e.return,t,n)}function Wa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function dm(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ge(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Qf(e,n,t);else if(e.tag===19)Qf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(le(fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Vs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Vs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wa(t,!0,n,null,i);break;case"together":Wa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ms(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),dr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=An(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=An(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function wx(e,t,n){switch(t.tag){case 3:um(t),io();break;case 5:I0(t);break;case 1:ot(t.type)&&Ds(t);break;case 4:Dc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;le(Us,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(le(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?cm(e,t,n):(le(fe,fe.current&1),e=hn(e,t,n),e!==null?e.sibling:null);le(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return dm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),le(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,lm(e,t,n)}return hn(e,t,n)}var fm,Bu,pm,hm;fm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Bu=function(){};pm=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,er(Zt.current);var i=null;switch(n){case"input":o=uu(e,o),r=uu(e,r),i=[];break;case"select":o=he({},o,{value:void 0}),r=he({},r,{value:void 0}),i=[];break;case"textarea":o=fu(e,o),r=fu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Is)}hu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Xo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Xo.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&ae("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};hm=function(e,t,n,r){n!==r&&(t.flags|=4)};function jo(e,t){if(!de)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 De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function kx(e,t,n){var r=t.pendingProps;switch(Tc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return ot(t.type)&&Ns(),De(t),null;case 3:return r=t.stateNode,lo(),ue(rt),ue(He),Bc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Gi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,It!==null&&(qu(It),It=null))),Bu(e,t),De(t),null;case 5:Ac(t);var o=er(ui.current);if(n=t.type,e!==null&&t.stateNode!=null)pm(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return De(t),null}if(e=er(Zt.current),Gi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Xt]=t,r[li]=i,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(o=0;o<Fo.length;o++)ae(Fo[o],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":nf(r,i),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ae("invalid",r);break;case"textarea":of(r,i),ae("invalid",r)}hu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Ki(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Ki(r.textContent,l,e),o=["children",""+l]):Xo.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&ae("scroll",r)}switch(n){case"input":Ni(r),rf(r,i,!0);break;case"textarea":Ni(r),sf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Is)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Uh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Xt]=t,e[li]=r,fm(e,t,!1,!1),t.stateNode=e;e:{switch(s=mu(n,r),n){case"dialog":ae("cancel",e),ae("close",e),o=r;break;case"iframe":case"object":case"embed":ae("load",e),o=r;break;case"video":case"audio":for(o=0;o<Fo.length;o++)ae(Fo[o],e);o=r;break;case"source":ae("error",e),o=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),o=r;break;case"details":ae("toggle",e),o=r;break;case"input":nf(e,r),o=uu(e,r),ae("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=he({},r,{value:void 0}),ae("invalid",e);break;case"textarea":of(e,r),o=fu(e,r),ae("invalid",e);break;default:o=r}hu(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Vh(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Wh(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Jo(e,a):typeof a=="number"&&Jo(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Xo.hasOwnProperty(i)?a!=null&&i==="onScroll"&&ae("scroll",e):a!=null&&vc(e,i,a,s))}switch(n){case"input":Ni(e),rf(e,r,!1);break;case"textarea":Ni(e),sf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Bn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ir(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ir(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Is)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return De(t),null;case 6:if(e&&t.stateNode!=null)hm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=er(ui.current),er(Zt.current),Gi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(i=r.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:Ki(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ki(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return De(t),null;case 13:if(ue(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&dt!==null&&t.mode&1&&!(t.flags&128))T0(),io(),t.flags|=98560,i=!1;else if(i=Gi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Xt]=t}else io(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;De(t),i=!1}else It!==null&&(qu(It),It=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Re===0&&(Re=3):Zc())),t.updateQueue!==null&&(t.flags|=4),De(t),null);case 4:return lo(),Bu(e,t),e===null&&ii(t.stateNode.containerInfo),De(t),null;case 10:return Fc(t.type._context),De(t),null;case 17:return ot(t.type)&&Ns(),De(t),null;case 19:if(ue(fe),i=t.memoizedState,i===null)return De(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)jo(i,!1);else{if(Re!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Vs(e),s!==null){for(t.flags|=128,jo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return le(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&we()>uo&&(t.flags|=128,r=!0,jo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Vs(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!de)return De(t),null}else 2*we()-i.renderingStartTime>uo&&n!==1073741824&&(t.flags|=128,r=!0,jo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=we(),t.sibling=null,n=fe.current,le(fe,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Jc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ut&1073741824&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Cx(e,t){switch(Tc(t),t.tag){case 1:return ot(t.type)&&Ns(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return lo(),ue(rt),ue(He),Bc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ac(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));io()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return lo(),null;case 10:return Fc(t.type._context),null;case 22:case 23:return Jc(),null;case 24:return null;default:return null}}var Yi=!1,We=!1,Ex=typeof WeakSet=="function"?WeakSet:Set,M=null;function Mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Se(e,t,r)}else n.current=null}function Uu(e,t,n){try{n()}catch(r){Se(e,t,r)}}var qf=!1;function _x(e,t){if(_u=Ls,e=x0(),bc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(y=d.firstChild)!==null;)f=d,d=y;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=s),f===i&&++c===r&&(a=s),(y=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=y}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pu={focusedElem:e,selectionRange:n},Ls=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,k=x.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:Lt(t.type,v),k);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){Se(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return x=qf,qf=!1,x}function Vo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Uu(t,n,i)}o=o.next}while(o!==r)}}function xl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Wu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function mm(e){var t=e.alternate;t!==null&&(e.alternate=null,mm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[li],delete t[ju],delete t[lx],delete t[ax])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ym(e){return e.tag===5||e.tag===3||e.tag===4}function Yf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ym(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.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Is));else if(r!==4&&(e=e.child,e!==null))for(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}function Vu(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&&(e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}var Te=null,Ft=!1;function gn(e,t,n){for(n=n.child;n!==null;)vm(e,t,n),n=n.sibling}function vm(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(dl,n)}catch{}switch(n.tag){case 5:We||Mr(n,t);case 6:var r=Te,o=Ft;Te=null,gn(e,t,n),Te=r,Ft=o,Te!==null&&(Ft?(e=Te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Te.removeChild(n.stateNode));break;case 18:Te!==null&&(Ft?(e=Te,n=n.stateNode,e.nodeType===8?Fa(e.parentNode,n):e.nodeType===1&&Fa(e,n),ni(e)):Fa(Te,n.stateNode));break;case 4:r=Te,o=Ft,Te=n.stateNode.containerInfo,Ft=!0,gn(e,t,n),Te=r,Ft=o;break;case 0:case 11:case 14:case 15:if(!We&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Uu(n,t,s),o=o.next}while(o!==r)}gn(e,t,n);break;case 1:if(!We&&(Mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Se(n,t,l)}gn(e,t,n);break;case 21:gn(e,t,n);break;case 22:n.mode&1?(We=(r=We)||n.memoizedState!==null,gn(e,t,n),We=r):gn(e,t,n);break;default:gn(e,t,n)}}function Xf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ex),t.forEach(function(r){var o=Lx.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Te=l.stateNode,Ft=!1;break e;case 3:Te=l.stateNode.containerInfo,Ft=!0;break e;case 4:Te=l.stateNode.containerInfo,Ft=!0;break e}l=l.return}if(Te===null)throw Error(j(160));vm(i,s,o),Te=null,Ft=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){Se(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)gm(t,e),t=t.sibling}function gm(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tt(t,e),Ut(e),r&4){try{Vo(3,e,e.return),xl(3,e)}catch(v){Se(e,e.return,v)}try{Vo(5,e,e.return)}catch(v){Se(e,e.return,v)}}break;case 1:Tt(t,e),Ut(e),r&512&&n!==null&&Mr(n,n.return);break;case 5:if(Tt(t,e),Ut(e),r&512&&n!==null&&Mr(n,n.return),e.flags&32){var o=e.stateNode;try{Jo(o,"")}catch(v){Se(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Ah(o,i),mu(l,s);var u=mu(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?Vh(o,d):c==="dangerouslySetInnerHTML"?Wh(o,d):c==="children"?Jo(o,d):vc(o,c,d,u)}switch(l){case"input":cu(o,i);break;case"textarea":Bh(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var y=i.value;y!=null?Ir(o,!!i.multiple,y,!1):f!==!!i.multiple&&(i.defaultValue!=null?Ir(o,!!i.multiple,i.defaultValue,!0):Ir(o,!!i.multiple,i.multiple?[]:"",!1))}o[li]=i}catch(v){Se(e,e.return,v)}}break;case 6:if(Tt(t,e),Ut(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){Se(e,e.return,v)}}break;case 3:if(Tt(t,e),Ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ni(t.containerInfo)}catch(v){Se(e,e.return,v)}break;case 4:Tt(t,e),Ut(e);break;case 13:Tt(t,e),Ut(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Yc=we())),r&4&&Xf(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(We=(u=We)||c,Tt(t,e),We=u):Tt(t,e),Ut(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(M=e,c=e.child;c!==null;){for(d=M=c;M!==null;){switch(f=M,y=f.child,f.tag){case 0:case 11:case 14:case 15:Vo(4,f,f.return);break;case 1:Mr(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){Se(r,n,v)}}break;case 5:Mr(f,f.return);break;case 22:if(f.memoizedState!==null){Zf(d);continue}}y!==null?(y.return=f,M=y):Zf(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Hh("display",s))}catch(v){Se(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Se(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Tt(t,e),Ut(e),r&4&&Xf(e);break;case 21:break;default:Tt(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ym(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Jo(o,""),r.flags&=-33);var i=Yf(e);Vu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Yf(e);Hu(e,l,s);break;default:throw Error(j(161))}}catch(a){Se(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Px(e,t,n){M=e,xm(e)}function xm(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var o=M,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Yi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||We;l=Yi;var u=We;if(Yi=s,(We=a)&&!u)for(M=o;M!==null;)s=M,a=s.child,s.tag===22&&s.memoizedState!==null?ep(o):a!==null?(a.return=s,M=a):ep(o);for(;i!==null;)M=i,xm(i),i=i.sibling;M=o,Yi=l,We=u}Jf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,M=i):Jf(e)}}function Jf(e){for(;M!==null;){var t=M;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:We||xl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!We)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ff(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ff(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&ni(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}We||t.flags&512&&Wu(t)}catch(f){Se(t,t.return,f)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function Zf(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function ep(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xl(4,t)}catch(a){Se(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){Se(t,o,a)}}var i=t.return;try{Wu(t)}catch(a){Se(t,i,a)}break;case 5:var s=t.return;try{Wu(t)}catch(a){Se(t,s,a)}}}catch(a){Se(t,t.return,a)}if(t===e){M=null;break}var l=t.sibling;if(l!==null){l.return=t.return,M=l;break}M=t.return}}var $x=Math.ceil,Qs=vn.ReactCurrentDispatcher,Qc=vn.ReactCurrentOwner,_t=vn.ReactCurrentBatchConfig,K=0,be=null,Pe=null,ze=0,ut=0,Lr=Vn(0),Re=0,pi=null,dr=0,Sl=0,qc=0,Ko=null,et=null,Yc=0,uo=1/0,sn=null,qs=!1,Ku=null,Nn=null,Xi=!1,On=null,Ys=0,Go=0,Gu=null,ys=-1,vs=0;function Ye(){return K&6?we():ys!==-1?ys:ys=we()}function Dn(e){return e.mode&1?K&2&&ze!==0?ze&-ze:cx.transition!==null?(vs===0&&(vs=r0()),vs):(e=ee,e!==0||(e=window.event,e=e===void 0?16:c0(e.type)),e):1}function Dt(e,t,n,r){if(50<Go)throw Go=0,Gu=null,Error(j(185));ki(e,n,r),(!(K&2)||e!==be)&&(e===be&&(!(K&2)&&(Sl|=n),Re===4&&Cn(e,ze)),it(e,r),n===1&&K===0&&!(t.mode&1)&&(uo=we()+500,yl&&Kn()))}function it(e,t){var n=e.callbackNode;c1(e,t);var r=Ms(e,e===be?ze:0);if(r===0)n!==null&&uf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&uf(n),t===1)e.tag===0?ux(tp.bind(null,e)):j0(tp.bind(null,e)),ix(function(){!(K&6)&&Kn()}),n=null;else{switch(o0(r)){case 1:n=kc;break;case 4:n=t0;break;case 16:n=Ts;break;case 536870912:n=n0;break;default:n=Ts}n=$m(n,Sm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sm(e,t){if(ys=-1,vs=0,K&6)throw Error(j(327));var n=e.callbackNode;if(Ur()&&e.callbackNode!==n)return null;var r=Ms(e,e===be?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Xs(e,r);else{t=r;var o=K;K|=2;var i=km();(be!==e||ze!==t)&&(sn=null,uo=we()+500,sr(e,t));do try{bx();break}catch(l){wm(e,l)}while(!0);zc(),Qs.current=i,K=o,Pe!==null?t=0:(be=null,ze=0,t=Re)}if(t!==0){if(t===2&&(o=Su(e),o!==0&&(r=o,t=Qu(e,o))),t===1)throw n=pi,sr(e,0),Cn(e,r),it(e,we()),n;if(t===6)Cn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Rx(o)&&(t=Xs(e,r),t===2&&(i=Su(e),i!==0&&(r=i,t=Qu(e,i))),t===1))throw n=pi,sr(e,0),Cn(e,r),it(e,we()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:qn(e,et,sn);break;case 3:if(Cn(e,r),(r&130023424)===r&&(t=Yc+500-we(),10<t)){if(Ms(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ye(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ru(qn.bind(null,e,et,sn),t);break}qn(e,et,sn);break;case 4:if(Cn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Nt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$x(r/1960))-r,10<r){e.timeoutHandle=Ru(qn.bind(null,e,et,sn),r);break}qn(e,et,sn);break;case 5:qn(e,et,sn);break;default:throw Error(j(329))}}}return it(e,we()),e.callbackNode===n?Sm.bind(null,e):null}function Qu(e,t){var n=Ko;return e.current.memoizedState.isDehydrated&&(sr(e,t).flags|=256),e=Xs(e,t),e!==2&&(t=et,et=n,t!==null&&qu(t)),e}function qu(e){et===null?et=e:et.push.apply(et,e)}function Rx(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!At(i(),o))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 Cn(e,t){for(t&=~qc,t&=~Sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function tp(e){if(K&6)throw Error(j(327));Ur();var t=Ms(e,0);if(!(t&1))return it(e,we()),null;var n=Xs(e,t);if(e.tag!==0&&n===2){var r=Su(e);r!==0&&(t=r,n=Qu(e,r))}if(n===1)throw n=pi,sr(e,0),Cn(e,t),it(e,we()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,qn(e,et,sn),it(e,we()),null}function Xc(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(uo=we()+500,yl&&Kn())}}function fr(e){On!==null&&On.tag===0&&!(K&6)&&Ur();var t=K;K|=1;var n=_t.transition,r=ee;try{if(_t.transition=null,ee=1,e)return e()}finally{ee=r,_t.transition=n,K=t,!(K&6)&&Kn()}}function Jc(){ut=Lr.current,ue(Lr)}function sr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ox(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch(Tc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ns();break;case 3:lo(),ue(rt),ue(He),Bc();break;case 5:Ac(r);break;case 4:lo();break;case 13:ue(fe);break;case 19:ue(fe);break;case 10:Fc(r.type._context);break;case 22:case 23:Jc()}n=n.return}if(be=e,Pe=e=An(e.current,null),ze=ut=t,Re=0,pi=null,qc=Sl=dr=0,et=Ko=null,Zn!==null){for(t=0;t<Zn.length;t++)if(n=Zn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Zn=null}return e}function wm(e,t){do{var n=Pe;try{if(zc(),ps.current=Gs,Ks){for(var r=pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ks=!1}if(cr=0,je=$e=pe=null,Ho=!1,ci=0,Qc.current=null,n===null||n.return===null){Re=1,pi=t,Pe=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=ze,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var y=Uf(s);if(y!==null){y.flags&=-257,Wf(y,s,l,i,t),y.mode&1&&Bf(i,u,t),t=y,a=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(a),t.updateQueue=v}else x.add(a);break e}else{if(!(t&1)){Bf(i,u,t),Zc();break e}a=Error(j(426))}}else if(de&&l.mode&1){var k=Uf(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),Wf(k,s,l,i,t),Mc(ao(a,l));break e}}i=a=ao(a,l),Re!==4&&(Re=2),Ko===null?Ko=[i]:Ko.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=om(i,a,t);zf(i,h);break e;case 1:l=a;var m=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Nn===null||!Nn.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=im(i,l,t);zf(i,S);break e}}i=i.return}while(i!==null)}Em(n)}catch(C){t=C,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function km(){var e=Qs.current;return Qs.current=Gs,e===null?Gs:e}function Zc(){(Re===0||Re===3||Re===2)&&(Re=4),be===null||!(dr&268435455)&&!(Sl&268435455)||Cn(be,ze)}function Xs(e,t){var n=K;K|=2;var r=km();(be!==e||ze!==t)&&(sn=null,sr(e,t));do try{jx();break}catch(o){wm(e,o)}while(!0);if(zc(),K=n,Qs.current=r,Pe!==null)throw Error(j(261));return be=null,ze=0,Re}function jx(){for(;Pe!==null;)Cm(Pe)}function bx(){for(;Pe!==null&&!t1();)Cm(Pe)}function Cm(e){var t=Pm(e.alternate,e,ut);e.memoizedProps=e.pendingProps,t===null?Em(e):Pe=t,Qc.current=null}function Em(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Cx(n,t),n!==null){n.flags&=32767,Pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Re=6,Pe=null;return}}else if(n=kx(n,t,ut),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Re===0&&(Re=5)}function qn(e,t,n){var r=ee,o=_t.transition;try{_t.transition=null,ee=1,Ox(e,t,n,r)}finally{_t.transition=o,ee=r}return null}function Ox(e,t,n,r){do Ur();while(On!==null);if(K&6)throw Error(j(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(d1(e,i),e===be&&(Pe=be=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Xi||(Xi=!0,$m(Ts,function(){return Ur(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=_t.transition,_t.transition=null;var s=ee;ee=1;var l=K;K|=4,Qc.current=null,_x(e,n),gm(n,e),X1(Pu),Ls=!!_u,Pu=_u=null,e.current=n,Px(n),n1(),K=l,ee=s,_t.transition=i}else e.current=n;if(Xi&&(Xi=!1,On=e,Ys=o),i=e.pendingLanes,i===0&&(Nn=null),i1(n.stateNode),it(e,we()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qs)throw qs=!1,e=Ku,Ku=null,e;return Ys&1&&e.tag!==0&&Ur(),i=e.pendingLanes,i&1?e===Gu?Go++:(Go=0,Gu=e):Go=0,Kn(),null}function Ur(){if(On!==null){var e=o0(Ys),t=_t.transition,n=ee;try{if(_t.transition=null,ee=16>e?16:e,On===null)var r=!1;else{if(e=On,On=null,Ys=0,K&6)throw Error(j(331));var o=K;for(K|=4,M=e.current;M!==null;){var i=M,s=i.child;if(M.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(M=u;M!==null;){var c=M;switch(c.tag){case 0:case 11:case 15:Vo(8,c,i)}var d=c.child;if(d!==null)d.return=c,M=d;else for(;M!==null;){c=M;var f=c.sibling,y=c.return;if(mm(c),c===u){M=null;break}if(f!==null){f.return=y,M=f;break}M=y}}}var x=i.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var k=v.sibling;v.sibling=null,v=k}while(v!==null)}}M=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,M=s;else e:for(;M!==null;){if(i=M,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Vo(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,M=h;break e}M=i.return}}var m=e.current;for(M=m;M!==null;){s=M;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,M=g;else e:for(s=m;M!==null;){if(l=M,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:xl(9,l)}}catch(C){Se(l,l.return,C)}if(l===s){M=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,M=S;break e}M=l.return}}if(K=o,Kn(),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(dl,e)}catch{}r=!0}return r}finally{ee=n,_t.transition=t}}return!1}function np(e,t,n){t=ao(n,t),t=om(e,t,1),e=In(e,t,1),t=Ye(),e!==null&&(ki(e,1,t),it(e,t))}function Se(e,t,n){if(e.tag===3)np(e,e,n);else for(;t!==null;){if(t.tag===3){np(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Nn===null||!Nn.has(r))){e=ao(n,e),e=im(t,e,1),t=In(t,e,1),e=Ye(),t!==null&&(ki(t,1,e),it(t,e));break}}t=t.return}}function Tx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ye(),e.pingedLanes|=e.suspendedLanes&n,be===e&&(ze&n)===n&&(Re===4||Re===3&&(ze&130023424)===ze&&500>we()-Yc?sr(e,0):qc|=n),it(e,t)}function _m(e,t){t===0&&(e.mode&1?(t=Bi,Bi<<=1,!(Bi&130023424)&&(Bi=4194304)):t=1);var n=Ye();e=pn(e,t),e!==null&&(ki(e,t,n),it(e,n))}function Mx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_m(e,n)}function Lx(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),_m(e,n)}var Pm;Pm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,wx(e,t,n);nt=!!(e.flags&131072)}else nt=!1,de&&t.flags&1048576&&b0(t,Bs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ms(e,t),e=t.pendingProps;var o=oo(t,He.current);Br(t,n),o=Wc(null,t,r,e,o,n);var i=Hc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ot(r)?(i=!0,Ds(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Nc(t),o.updater=gl,t.stateNode=o,o._reactInternals=t,zu(t,r,e,n),t=Nu(null,t,r,!0,i,n)):(t.tag=0,de&&i&&Oc(t),Ge(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ms(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Fx(r),e=Lt(r,e),o){case 0:t=Iu(null,t,r,e,n);break e;case 1:t=Kf(null,t,r,e,n);break e;case 11:t=Hf(null,t,r,e,n);break e;case 14:t=Vf(null,t,r,Lt(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Iu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Kf(e,t,r,o,n);case 3:e:{if(um(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,F0(e,t),Hs(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ao(Error(j(423)),t),t=Gf(e,t,r,n,o);break e}else if(r!==o){o=ao(Error(j(424)),t),t=Gf(e,t,r,n,o);break e}else for(dt=Fn(t.stateNode.containerInfo.firstChild),ft=t,de=!0,It=null,n=L0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(io(),r===o){t=hn(e,t,n);break e}Ge(e,t,r,n)}t=t.child}return t;case 5:return I0(t),e===null&&Tu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,$u(r,o)?s=null:i!==null&&$u(r,i)&&(t.flags|=32),am(e,t),Ge(e,t,s,n),t.child;case 6:return e===null&&Tu(t),null;case 13:return cm(e,t,n);case 4:return Dc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=so(t,null,r,n):Ge(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Hf(e,t,r,o,n);case 7:return Ge(e,t,t.pendingProps,n),t.child;case 8:return Ge(e,t,t.pendingProps.children,n),t.child;case 12:return Ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,le(Us,r._currentValue),r._currentValue=s,i!==null)if(At(i.value,s)){if(i.children===o.children&&!rt.current){t=hn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=cn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Mu(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(j(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Mu(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ge(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Br(t,n),o=Pt(o),r=r(o),t.flags|=1,Ge(e,t,r,n),t.child;case 14:return r=t.type,o=Lt(r,t.pendingProps),o=Lt(r.type,o),Vf(e,t,r,o,n);case 15:return sm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),ms(e,t),t.tag=1,ot(r)?(e=!0,Ds(t)):e=!1,Br(t,n),rm(t,r,o),zu(t,r,o,n),Nu(null,t,r,!0,e,n);case 19:return dm(e,t,n);case 22:return lm(e,t,n)}throw Error(j(156,t.tag))};function $m(e,t){return e0(e,t)}function zx(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.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 Et(e,t,n,r){return new zx(e,t,n,r)}function ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fx(e){if(typeof e=="function")return ed(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xc)return 11;if(e===Sc)return 14}return 2}function An(e,t){var n=e.alternate;return n===null?(n=Et(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&14680064,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}function gs(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")ed(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Er:return lr(n.children,o,i,t);case gc:s=8,o|=8;break;case iu:return e=Et(12,n,t,o|2),e.elementType=iu,e.lanes=i,e;case su:return e=Et(13,n,t,o),e.elementType=su,e.lanes=i,e;case lu:return e=Et(19,n,t,o),e.elementType=lu,e.lanes=i,e;case Ih:return wl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zh:s=10;break e;case Fh:s=9;break e;case xc:s=11;break e;case Sc:s=14;break e;case Sn:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Et(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function lr(e,t,n,r){return e=Et(7,e,r,t),e.lanes=n,e}function wl(e,t,n,r){return e=Et(22,e,r,t),e.elementType=Ih,e.lanes=n,e.stateNode={isHidden:!1},e}function Ha(e,t,n){return e=Et(6,e,null,t),e.lanes=n,e}function Va(e,t,n){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ix(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_a(0),this.expirationTimes=_a(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_a(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function td(e,t,n,r,o,i,s,l,a){return e=new Ix(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Et(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nc(i),e}function Nx(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Cr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Rm(e){if(!e)return Un;e=e._reactInternals;e:{if(hr(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ot(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(ot(n))return R0(e,n,t)}return t}function jm(e,t,n,r,o,i,s,l,a){return e=td(n,r,!0,e,o,i,s,l,a),e.context=Rm(null),n=e.current,r=Ye(),o=Dn(n),i=cn(r,o),i.callback=t??null,In(n,i,o),e.current.lanes=o,ki(e,o,r),it(e,r),e}function kl(e,t,n,r){var o=t.current,i=Ye(),s=Dn(o);return n=Rm(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=In(o,t,s),e!==null&&(Dt(e,o,s,i),fs(e,o,s)),s}function Js(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nd(e,t){rp(e,t),(e=e.alternate)&&rp(e,t)}function Dx(){return null}var bm=typeof reportError=="function"?reportError:function(e){console.error(e)};function rd(e){this._internalRoot=e}Cl.prototype.render=rd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));kl(e,t,null,null)};Cl.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fr(function(){kl(null,e,null,null)}),t[fn]=null}};function Cl(e){this._internalRoot=e}Cl.prototype.unstable_scheduleHydration=function(e){if(e){var t=l0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kn.length&&t!==0&&t<kn[n].priority;n++);kn.splice(n,0,e),n===0&&u0(e)}};function od(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function El(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function op(){}function Ax(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Js(s);i.call(u)}}var s=jm(t,r,e,0,null,!1,!1,"",op);return e._reactRootContainer=s,e[fn]=s.current,ii(e.nodeType===8?e.parentNode:e),fr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Js(a);l.call(u)}}var a=td(e,0,!1,null,null,!1,!1,"",op);return e._reactRootContainer=a,e[fn]=a.current,ii(e.nodeType===8?e.parentNode:e),fr(function(){kl(t,a,n,r)}),a}function _l(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=Js(s);l.call(a)}}kl(t,s,e,o)}else s=Ax(n,t,e,o,r);return Js(s)}i0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=zo(t.pendingLanes);n!==0&&(Cc(t,n|1),it(t,we()),!(K&6)&&(uo=we()+500,Kn()))}break;case 13:fr(function(){var r=pn(e,1);if(r!==null){var o=Ye();Dt(r,e,1,o)}}),nd(e,1)}};Ec=function(e){if(e.tag===13){var t=pn(e,134217728);if(t!==null){var n=Ye();Dt(t,e,134217728,n)}nd(e,134217728)}};s0=function(e){if(e.tag===13){var t=Dn(e),n=pn(e,t);if(n!==null){var r=Ye();Dt(n,e,t,r)}nd(e,t)}};l0=function(){return ee};a0=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};vu=function(e,t,n){switch(t){case"input":if(cu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ml(r);if(!o)throw Error(j(90));Dh(r),cu(r,o)}}}break;case"textarea":Bh(e,n);break;case"select":t=n.value,t!=null&&Ir(e,!!n.multiple,t,!1)}};Qh=Xc;qh=fr;var Bx={usingClientEntryPoint:!1,Events:[Ei,Rr,ml,Kh,Gh,Xc]},bo={findFiberByHostInstance:Jn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ux={bundleType:bo.bundleType,version:bo.version,rendererPackageName:bo.rendererPackageName,rendererConfig:bo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Jh(e),e===null?null:e.stateNode},findFiberByHostInstance:bo.findFiberByHostInstance||Dx,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ji=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ji.isDisabled&&Ji.supportsFiber)try{dl=Ji.inject(Ux),Jt=Ji}catch{}}mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bx;mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!od(t))throw Error(j(200));return Nx(e,t,null,n)};mt.createRoot=function(e,t){if(!od(e))throw Error(j(299));var n=!1,r="",o=bm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=td(e,1,!1,null,null,n,!1,r,o),e[fn]=t.current,ii(e.nodeType===8?e.parentNode:e),new rd(t)};mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=Jh(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e){return fr(e)};mt.hydrate=function(e,t,n){if(!El(t))throw Error(j(200));return _l(null,e,t,!0,n)};mt.hydrateRoot=function(e,t,n){if(!od(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=bm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=jm(t,null,e,1,n??null,o,!1,i,s),e[fn]=t.current,ii(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Cl(t)};mt.render=function(e,t,n){if(!El(t))throw Error(j(200));return _l(null,e,t,!1,n)};mt.unmountComponentAtNode=function(e){if(!El(e))throw Error(j(40));return e._reactRootContainer?(fr(function(){_l(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};mt.unstable_batchedUpdates=Xc;mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!El(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return _l(e,t,n,!1,r)};mt.version="18.3.1-next-f1338f8080-20240426";function Om(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Om)}catch(e){console.error(e)}}Om(),Oh.exports=mt;var Tm=Oh.exports;const Wx="Error preloading route! ☝️";function Hx(e){const t=yn(),[n,r]=R.useState(!1),{activeProps:o=()=>({className:"active"}),inactiveProps:i=()=>({}),activeOptions:s,hash:l,search:a,params:u,to:c,state:d,mask:f,preload:y,preloadDelay:x,replace:v,startTransition:k,resetScroll:h,viewTransition:m,children:g,target:S,disabled:C,style:_,className:E,onClick:w,onFocus:b,onMouseEnter:O,onMouseLeave:z,onTouchStart:F,ignoreBlocker:I,...W}=e;let G="internal";try{new URL(`${c}`),G="external"}catch{}const N=t.buildLocation(e),re=y??t.options.defaultPreload,$=x??t.options.defaultPreloadDelay??0,T=Le({select:ye=>{const ie=Rs(ye.location.pathname,t.basepath).split("/"),wo=Rs(N.pathname,t.basepath).split("/").every((ca,da)=>ca===ie[da]),la=s!=null&&s.exact?mg(ye.location.pathname,N.pathname,t.basepath):wo,aa=s!=null&&s.includeHash?ye.location.hash===N.hash:!0,ua=(s==null?void 0:s.includeSearch)??!0?Fr(ye.location.search,N.search,!(s!=null&&s.exact)):!0;return la&&aa&&ua}});if(G==="external")return{...W,type:G,href:c,...g&&{children:g},...S&&{target:S},...C&&{disabled:C},..._&&{style:_},...E&&{className:E},...w&&{onClick:w},...b&&{onFocus:b},...O&&{onMouseEnter:O},...z&&{onMouseLeave:z},...F&&{onTouchStart:F}};const L=ye=>{if(!C&&!Kx(ye)&&!ye.defaultPrevented&&(!S||S==="_self")&&ye.button===0){ye.preventDefault(),Tm.flushSync(()=>{r(!0)});const ie=t.subscribe("onResolved",()=>{ie(),r(!1)});t.commitLocation({...N,replace:v,resetScroll:h,startTransition:k,viewTransition:m,ignoreBlocker:I})}},A=()=>{t.preloadRoute(e).catch(ye=>{console.warn(ye),console.warn(Wx)})},V=ye=>{C||re&&A()},Q=V,oe=ye=>{if(C)return;const ie=ye.target||{};if(re){if(ie.preloadTimeout)return;ie.preloadTimeout=setTimeout(()=>{ie.preloadTimeout=null,A()},$)}},lt=ye=>{if(C)return;const ie=ye.target||{};ie.preloadTimeout&&(clearTimeout(ie.preloadTimeout),ie.preloadTimeout=null)},Ee=ye=>ie=>{var nn;(nn=ie.persist)==null||nn.call(ie),ye.filter(Boolean).forEach(wo=>{ie.defaultPrevented||wo(ie)})},Ve=T?kr(o,{})??{}:{},Ze=T?{}:kr(i,{}),me=[E,Ve.className,Ze.className].filter(Boolean).join(" "),Ot={..._,...Ve.style,...Ze.style};return{...Ve,...Ze,...W,href:C?void 0:N.maskedLocation?t.history.createHref(N.maskedLocation.href):t.history.createHref(N.href),onClick:Ee([w,L]),onFocus:Ee([b,V]),onMouseEnter:Ee([O,oe]),onMouseLeave:Ee([z,lt]),onTouchStart:Ee([F,Q]),disabled:!!C,target:S,...Object.keys(Ot).length&&{style:Ot},...me&&{className:me},...C&&{role:"link","aria-disabled":!0},...T&&{"data-status":"active","aria-current":"page"},...n&&{"data-transitioning":"transitioning"}}}const Vx=R.forwardRef((e,t)=>{const{_asChild:n,...r}=e,{type:o,...i}=Hx(r),s=typeof r.children=="function"?r.children({isActive:i["data-status"]==="active"}):r.children;return typeof n>"u"&&delete i.disabled,R.createElement(n||"a",{...i,ref:t},s)});function Kx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Gx(){const e=yn(),t=R.useRef({router:e,mounted:!1}),n=Le({select:u=>No(u,["isLoading","location","resolvedLocation","isTransitioning"])}),[r,o]=R.useTransition(),i=Le({select:u=>u.matches.some(c=>c.status==="pending")}),s=Qd(n.isLoading),l=n.isLoading||r||i,a=Qd(l);return e.isServer||(e.startReactTransition=o),R.useEffect(()=>{const u=e.history.subscribe(e.load),c=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0});return Xn(e.latestLocation.href)!==Xn(c.href)&&e.commitLocation({...c,replace:!0}),()=>{u()}},[e,e.history]),xa(()=>{var u;if((u=window.__TSR__)!=null&&u.dehydrated||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(d){console.error(d)}})()},[e]),xa(()=>{if(s&&!n.isLoading){const u=e.state.location,c=e.state.resolvedLocation,d=c.href!==u.href;e.emit({type:"onLoad",fromLocation:c,toLocation:u,pathChanged:d})}},[s,e,n.isLoading]),xa(()=>{if(a&&!l){const u=e.state.location,c=e.state.resolvedLocation,d=c.href!==u.href;if(e.emit({type:"onResolved",fromLocation:c,toLocation:u,pathChanged:d}),e.__store.setState(f=>({...f,status:"idle",resolvedLocation:f.location})),document.querySelector&&e.state.location.hash!==""){const f=document.getElementById(e.state.location.hash);f&&f.scrollIntoView()}}},[l,a,e]),null}function xs(e){return p.jsx(p.Fragment,{children:e.children})}function Mm(e,t,n){return t.options.notFoundComponent?p.jsx(t.options.notFoundComponent,{data:n}):e.options.defaultNotFoundComponent?p.jsx(e.options.defaultNotFoundComponent,{data:n}):p.jsx(Sg,{})}function Lm({matchId:e}){var t,n;const r=yn(),o=Le({select:v=>{var k;return(k=v.matches.find(h=>h.id===e))==null?void 0:k.routeId}});Qe(o);const i=r.routesById[o],s=i.options.pendingComponent??r.options.defaultPendingComponent,l=s?p.jsx(s,{}):null,a=i.options.errorComponent??r.options.defaultErrorComponent,u=i.options.onCatch??r.options.defaultOnCatch,c=i.isRoot?i.options.notFoundComponent??((t=r.options.notFoundRoute)==null?void 0:t.options.component):i.options.notFoundComponent,d=(!i.isRoot||i.options.wrapInSuspense)&&(i.options.wrapInSuspense??s??((n=i.options.errorComponent)==null?void 0:n.preload))?R.Suspense:xs,f=a?hc:xs,y=c?xg:xs,x=Le({select:v=>v.loadedAt});return p.jsx(cl.Provider,{value:e,children:p.jsx(d,{fallback:l,children:p.jsx(f,{getResetKey:()=>x,errorComponent:a||ul,onCatch:(v,k)=>{if(Vt(v))throw v;u==null||u(v,k)},children:p.jsx(y,{fallback:v=>{if(!c||v.routeId&&v.routeId!==o||!v.routeId&&!i.isRoot)throw v;return R.createElement(c,v)},children:p.jsx(Qx,{matchId:e})})})})})}function Qx({matchId:e}){var t,n;const r=yn(),o=Le({select:d=>{var f;return(f=d.matches.find(y=>y.id===e))==null?void 0:f.routeId}}),i=r.routesById[o],s=Le({select:d=>d.matches.findIndex(f=>f.id===e)}),l=Le({select:d=>{const f=d.matches[s];return No(f,["id","status","error","loadPromise","minPendingPromise"])}}),a=(i.options.errorComponent??r.options.defaultErrorComponent)||ul;if(l.status==="notFound"){let d;return Xd(l.error)?d=(((t=r.options.errorSerializer)==null?void 0:t.deserialize)??Jd)(l.error.data):d=l.error,Qe(Vt(d)),Mm(r,i,d)}if(l.status==="redirected")throw Qe(Gn(l.error)),l.loadPromise;if(l.status==="error"){if(r.isServer)return p.jsx(a,{error:l.error,info:{componentStack:""}});throw Xd(l.error)?(((n=r.options.errorSerializer)==null?void 0:n.deserialize)??Jd)(l.error.data):l.error}if(l.status==="pending"){const d=i.options.pendingMinMs??r.options.defaultPendingMinMs;if(d&&!l.minPendingPromise&&!r.isServer){const f=wr();Promise.resolve().then(()=>{r.updateMatch(l.id,y=>({...y,minPendingPromise:f}))}),setTimeout(()=>{f.resolve(),r.updateMatch(l.id,y=>({...y,minPendingPromise:void 0}))},d)}throw l.loadPromise}const u=i.options.component??r.options.defaultComponent,c=u?p.jsx(u,{}):p.jsx(zm,{});return p.jsxs(p.Fragment,{children:[c,r.AfterEachMatch?p.jsx(r.AfterEachMatch,{match:l,matchIndex:s}):null]})}const zm=R.memo(function(){const t=yn(),n=R.useContext(cl),r=Le({select:u=>{var c;return(c=u.matches.find(d=>d.id===n))==null?void 0:c.routeId}}),o=t.routesById[r],{parentGlobalNotFound:i}=Le({select:u=>{const d=u.matches.find(f=>f.id===n);return Qe(d),{parentGlobalNotFound:d.globalNotFound}}}),s=Le({select:u=>{var c;const d=u.matches,f=d.findIndex(y=>y.id===n);return(c=d[f+1])==null?void 0:c.id}});if(i)return Mm(t,o,void 0);if(!s)return null;const l=p.jsx(Lm,{matchId:s}),a=t.options.defaultPendingComponent?p.jsx(t.options.defaultPendingComponent,{}):null;return n===Ue?p.jsx(R.Suspense,{fallback:a,children:l}):l});function qx(){const e=yn(),t=e.options.defaultPendingComponent?p.jsx(e.options.defaultPendingComponent,{}):null,n=e.state.matches.length?xs:R.Suspense,r=p.jsxs(n,{fallback:t,children:[p.jsx(Gx,{}),p.jsx(Yx,{})]});return e.options.InnerWrap?p.jsx(e.options.InnerWrap,{children:r}):r}function Yx(){const e=Le({select:n=>{var r;return(r=n.matches[0])==null?void 0:r.id}}),t=Le({select:n=>n.loadedAt});return p.jsx(cl.Provider,{value:e,children:p.jsx(hc,{getResetKey:()=>t,errorComponent:ul,onCatch:n=>{n.message||n.toString()},children:e?p.jsx(Lm,{matchId:e}):null})})}function Xx({router:e,children:t,...n}){e.update({...e.options,...n,context:{...e.options.context,...n.context}});const r=_h(),o=p.jsx(r.Provider,{value:e,children:t});return e.options.Wrap?p.jsx(e.options.Wrap,{children:o}):o}function Jx({router:e,...t}){return p.jsx(Xx,{router:e,...t,children:p.jsx(qx,{})})}var Yu={},ip=Tm;Yu.createRoot=ip.createRoot,Yu.hydrateRoot=ip.hydrateRoot;var Zx=function(){return null};let e2={data:""},t2=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||e2,n2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,r2=/\/\*[^]*?\*\/| +/g,sp=/\n+/g,Yn=(e,t)=>{let n="",r="",o="";for(let i in e){let s=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+s+";":r+=i[1]=="f"?Yn(s,i):i+"{"+Yn(s,i[1]=="k"?"":t)+"}":typeof s=="object"?r+=Yn(s,t?t.replace(/([^,])+/g,l=>i.replace(/(^:.*)|([^,])+/g,a=>/&/.test(a)?a.replace(/&/g,l):l?l+" "+a:a)):i):s!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Yn.p?Yn.p(i,s):i+":"+s+";")}return n+(t&&o?t+"{"+o+"}":o)+r},rn={},Fm=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Fm(e[n]);return t}return e},o2=(e,t,n,r,o)=>{let i=Fm(e),s=rn[i]||(rn[i]=(a=>{let u=0,c=11;for(;u<a.length;)c=101*c+a.charCodeAt(u++)>>>0;return"go"+c})(i));if(!rn[s]){let a=i!==e?e:(u=>{let c,d,f=[{}];for(;c=n2.exec(u.replace(r2,""));)c[4]?f.shift():c[3]?(d=c[3].replace(sp," ").trim(),f.unshift(f[0][d]=f[0][d]||{})):f[0][c[1]]=c[2].replace(sp," ").trim();return f[0]})(e);rn[s]=Yn(o?{["@keyframes "+s]:a}:a,n?"":"."+s)}let l=n&&rn.g?rn.g:null;return n&&(rn.g=rn[s]),((a,u,c,d)=>{d?u.data=u.data.replace(d,a):u.data.indexOf(a)===-1&&(u.data=c?a+u.data:u.data+a)})(rn[s],t,r,l),s},i2=(e,t,n)=>e.reduce((r,o,i)=>{let s=t[i];if(s&&s.call){let l=s(n),a=l&&l.props&&l.props.className||/^go/.test(l)&&l;s=a?"."+a:l&&typeof l=="object"?l.props?"":Yn(l,""):l===!1?"":l}return r+o+(s??"")},"");function co(e){let t=this||{},n=e.call?e(t.p):e;return o2(n.unshift?n.raw?i2(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,t2(t.target),t.g,t.o,t.k)}co.bind({g:1});co.bind({k:1});function Im(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Im(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Z(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Im(e))&&(r&&(r+=" "),r+=t);return r}const s2=e=>{try{const t=localStorage.getItem(e);return typeof t=="string"?JSON.parse(t):void 0}catch{return}};function Zs(e,t){const[n,r]=X.useState();X.useEffect(()=>{const i=s2(e);r(typeof i>"u"||i===null?typeof t=="function"?t():t:i)},[t,e]);const o=X.useCallback(i=>{r(s=>{let l=i;typeof i=="function"&&(l=i(s));try{localStorage.setItem(e,JSON.stringify(l))}catch{}return l})},[e]);return[n,o]}const l2=typeof window>"u";function Xu(e){const t={pending:"yellow",success:"green",error:"red",notFound:"purple",redirected:"gray"};return e.isFetching&&e.status==="success"?e.isFetching==="beforeLoad"?"purple":"blue":t[e.status]}function a2(e,t){const n=e.find(r=>r.routeId===t.id);return n?Xu(n):"gray"}function Nm(){const e=X.useRef(!1),t=X.useCallback(()=>e.current,[]);return X[l2?"useEffect":"useLayoutEffect"](()=>(e.current=!0,()=>{e.current=!1}),[]),t}const u2=e=>{const t=Object.getOwnPropertyNames(Object(e)),n=typeof e=="bigint"?`${e.toString()}n`:e;try{return JSON.stringify(n,t)}catch{return"unable to stringify"}};function lp(e){const t=Nm(),[n,r]=X.useState(e),o=X.useCallback(i=>{c2(()=>{t()&&r(i)})},[t]);return[n,o]}function c2(e){Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function d2(e,t=[n=>n]){return e.map((n,r)=>[n,r]).sort(([n,r],[o,i])=>{for(const s of t){const l=s(n),a=s(o);if(typeof l>"u"){if(typeof a>"u")continue;return 1}if(l!==a)return l>a?1:-1}return r-i}).map(([n])=>n)}const se={colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"#ffffff",neutral:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},darkGray:{50:"#525c7a",100:"#49536e",200:"#414962",300:"#394056",400:"#313749",500:"#292e3d",600:"#212530",700:"#191c24",800:"#111318",900:"#0b0d10"},gray:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},blue:{25:"#F5FAFF",50:"#EFF8FF",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185"},green:{25:"#F6FEF9",50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},yellow:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E"},purple:{25:"#FAFAFF",50:"#F4F3FF",100:"#EBE9FE",200:"#D9D6FE",300:"#BDB4FE",400:"#9B8AFB",500:"#7A5AF8",600:"#6938EF",700:"#5925DC",800:"#4A1FB8",900:"#3E1C96"},teal:{25:"#F6FEFC",50:"#F0FDF9",100:"#CCFBEF",200:"#99F6E0",300:"#5FE9D0",400:"#2ED3B7",500:"#15B79E",600:"#0E9384",700:"#107569",800:"#125D56",900:"#134E48"},pink:{25:"#fdf2f8",50:"#fce7f3",100:"#fbcfe8",200:"#f9a8d4",300:"#f472b6",400:"#ec4899",500:"#db2777",600:"#be185d",700:"#9d174d",800:"#831843",900:"#500724"},cyan:{25:"#ecfeff",50:"#cffafe",100:"#a5f3fc",200:"#67e8f9",300:"#22d3ee",400:"#06b6d4",500:"#0891b2",600:"#0e7490",700:"#155e75",800:"#164e63",900:"#083344"}},alpha:{100:"ff",90:"e5",80:"cc",70:"b3",60:"99",50:"80",40:"66",30:"4d",20:"33",10:"1a",0:"00"},font:{size:{"2xs":"calc(var(--tsrd-font-size) * 0.625)",xs:"calc(var(--tsrd-font-size) * 0.75)",sm:"calc(var(--tsrd-font-size) * 0.875)",md:"var(--tsrd-font-size)",lg:"calc(var(--tsrd-font-size) * 1.125)",xl:"calc(var(--tsrd-font-size) * 1.25)","2xl":"calc(var(--tsrd-font-size) * 1.5)","3xl":"calc(var(--tsrd-font-size) * 1.875)","4xl":"calc(var(--tsrd-font-size) * 2.25)","5xl":"calc(var(--tsrd-font-size) * 3)","6xl":"calc(var(--tsrd-font-size) * 3.75)","7xl":"calc(var(--tsrd-font-size) * 4.5)","8xl":"calc(var(--tsrd-font-size) * 6)","9xl":"calc(var(--tsrd-font-size) * 8)"},lineHeight:{"3xs":"calc(var(--tsrd-font-size) * 0.75)","2xs":"calc(var(--tsrd-font-size) * 0.875)",xs:"calc(var(--tsrd-font-size) * 1)",sm:"calc(var(--tsrd-font-size) * 1.25)",md:"calc(var(--tsrd-font-size) * 1.5)",lg:"calc(var(--tsrd-font-size) * 1.75)",xl:"calc(var(--tsrd-font-size) * 2)","2xl":"calc(var(--tsrd-font-size) * 2.25)","3xl":"calc(var(--tsrd-font-size) * 2.5)","4xl":"calc(var(--tsrd-font-size) * 2.75)","5xl":"calc(var(--tsrd-font-size) * 3)","6xl":"calc(var(--tsrd-font-size) * 3.25)","7xl":"calc(var(--tsrd-font-size) * 3.5)","8xl":"calc(var(--tsrd-font-size) * 3.75)","9xl":"calc(var(--tsrd-font-size) * 4)"},weight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fontFamily:{sans:"ui-sans-serif, Inter, system-ui, sans-serif, sans-serif",mono:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"}},breakpoints:{xs:"320px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},border:{radius:{none:"0px",xs:"calc(var(--tsrd-font-size) * 0.125)",sm:"calc(var(--tsrd-font-size) * 0.25)",md:"calc(var(--tsrd-font-size) * 0.375)",lg:"calc(var(--tsrd-font-size) * 0.5)",xl:"calc(var(--tsrd-font-size) * 0.75)","2xl":"calc(var(--tsrd-font-size) * 1)","3xl":"calc(var(--tsrd-font-size) * 1.5)",full:"9999px"}},size:{0:"0px",.25:"calc(var(--tsrd-font-size) * 0.0625)",.5:"calc(var(--tsrd-font-size) * 0.125)",1:"calc(var(--tsrd-font-size) * 0.25)",1.5:"calc(var(--tsrd-font-size) * 0.375)",2:"calc(var(--tsrd-font-size) * 0.5)",2.5:"calc(var(--tsrd-font-size) * 0.625)",3:"calc(var(--tsrd-font-size) * 0.75)",3.5:"calc(var(--tsrd-font-size) * 0.875)",4:"calc(var(--tsrd-font-size) * 1)",4.5:"calc(var(--tsrd-font-size) * 1.125)",5:"calc(var(--tsrd-font-size) * 1.25)",5.5:"calc(var(--tsrd-font-size) * 1.375)",6:"calc(var(--tsrd-font-size) * 1.5)",6.5:"calc(var(--tsrd-font-size) * 1.625)",7:"calc(var(--tsrd-font-size) * 1.75)",8:"calc(var(--tsrd-font-size) * 2)",9:"calc(var(--tsrd-font-size) * 2.25)",10:"calc(var(--tsrd-font-size) * 2.5)",11:"calc(var(--tsrd-font-size) * 2.75)",12:"calc(var(--tsrd-font-size) * 3)",14:"calc(var(--tsrd-font-size) * 3.5)",16:"calc(var(--tsrd-font-size) * 4)",20:"calc(var(--tsrd-font-size) * 5)",24:"calc(var(--tsrd-font-size) * 6)",28:"calc(var(--tsrd-font-size) * 7)",32:"calc(var(--tsrd-font-size) * 8)",36:"calc(var(--tsrd-font-size) * 9)",40:"calc(var(--tsrd-font-size) * 10)",44:"calc(var(--tsrd-font-size) * 11)",48:"calc(var(--tsrd-font-size) * 12)",52:"calc(var(--tsrd-font-size) * 13)",56:"calc(var(--tsrd-font-size) * 14)",60:"calc(var(--tsrd-font-size) * 15)",64:"calc(var(--tsrd-font-size) * 16)",72:"calc(var(--tsrd-font-size) * 18)",80:"calc(var(--tsrd-font-size) * 20)",96:"calc(var(--tsrd-font-size) * 24)"},shadow:{xs:(e="rgb(0 0 0 / 0.1)")=>"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:(e="rgb(0 0 0 / 0.1)")=>`0 1px 3px 0 ${e}, 0 1px 2px -1px ${e}`,md:(e="rgb(0 0 0 / 0.1)")=>`0 4px 6px -1px ${e}, 0 2px 4px -2px ${e}`,lg:(e="rgb(0 0 0 / 0.1)")=>`0 10px 15px -3px ${e}, 0 4px 6px -4px ${e}`,xl:(e="rgb(0 0 0 / 0.1)")=>`0 20px 25px -5px ${e}, 0 8px 10px -6px ${e}`,"2xl":(e="rgb(0 0 0 / 0.25)")=>`0 25px 50px -12px ${e}`,inner:(e="rgb(0 0 0 / 0.05)")=>`inset 0 2px 4px 0 ${e}`,none:()=>"none"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800}},Pl=X.createContext(void 0),id=X.createContext(void 0),f2=()=>{const e=X.useContext(id);if(!e)throw new Error("useDevtoolsOnClose must be used within a TanStackRouterDevtools component");return e},ap=({expanded:e,style:t={}})=>{const n=Dm();return p.jsx("span",{className:n.expander,children:p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none",viewBox:"0 0 24 24",className:Z(n.expanderIcon(e)),children:p.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 18l6-6-6-6"})})})};function p2(e,t){if(t<1)return[];let n=0;const r=[];for(;n<e.length;)r.push(e.slice(n,n+t)),n=n+t;return r}const h2=({handleEntry:e,label:t,value:n,subEntries:r=[],subEntryPages:o=[],type:i,expanded:s=!1,toggleExpanded:l,pageSize:a,renderer:u})=>{const[c,d]=R.useState([]),[f,y]=R.useState(void 0),x=Dm(),v=()=>{y(n())};return p.jsx("div",{className:x.entry,children:o.length?p.jsxs(p.Fragment,{children:[p.jsxs("button",{className:x.expandButton,onClick:()=>l(),children:[p.jsx(ap,{expanded:s}),t,p.jsxs("span",{className:x.info,children:[String(i).toLowerCase()==="iterable"?"(Iterable) ":"",r.length," ",r.length>1?"items":"item"]})]}),s?o.length===1?p.jsx("div",{className:x.subEntries,children:r.map((k,h)=>e(k))}):p.jsx("div",{className:x.subEntries,children:o.map((k,h)=>p.jsx("div",{children:p.jsxs("div",{className:x.entry,children:[p.jsxs("button",{className:Z(x.labelButton,"labelButton"),onClick:()=>d(m=>m.includes(h)?m.filter(g=>g!==h):[...m,h]),children:[p.jsx(ap,{expanded:c.includes(h)})," ","[",h*a," ..."," ",h*a+a-1,"]"]}),c.includes(h)?p.jsx("div",{className:x.subEntries,children:k.map(m=>e(m))}):null]})},h))}):null]}):i==="function"?p.jsx(p.Fragment,{children:p.jsx(zr,{renderer:u,label:p.jsxs("button",{onClick:v,className:x.refreshValueBtn,children:[p.jsx("span",{children:t})," 🔄"," "]}),value:f,defaultExpanded:{}})}):p.jsxs(p.Fragment,{children:[p.jsxs("span",{children:[t,":"]})," ",p.jsx("span",{className:x.value,children:u2(n)})]})})};function m2(e){return Symbol.iterator in e}function zr({value:e,defaultExpanded:t,renderer:n=h2,pageSize:r=100,filterSubEntries:o,...i}){const[s,l]=R.useState(!!t),a=R.useCallback(()=>l(y=>!y),[]);let u=typeof e,c=[];const d=y=>{const x=t===!0?{[y.label]:!0}:t==null?void 0:t[y.label];return{...y,defaultExpanded:x}};Array.isArray(e)?(u="array",c=e.map((y,x)=>d({label:x.toString(),value:y}))):e!==null&&typeof e=="object"&&m2(e)&&typeof e[Symbol.iterator]=="function"?(u="Iterable",c=Array.from(e,(y,x)=>d({label:x.toString(),value:y}))):typeof e=="object"&&e!==null&&(u="object",c=Object.entries(e).map(([y,x])=>d({label:y,value:x}))),c=o?o(c):c;const f=p2(c,r);return n({handleEntry:y=>p.jsx(zr,{value:e,renderer:n,filterSubEntries:o,...i,...y},y.label),type:u,subEntries:c,subEntryPages:f,value:e,expanded:s,toggleExpanded:a,pageSize:r,...i})}const y2=e=>{const{colors:t,font:n,size:r,alpha:o,shadow:i,border:s}=se,{fontFamily:l,lineHeight:a,size:u}=n,c=e?co.bind({target:e}):co;return{entry:c`
font-family: ${l.mono};
font-size: ${u.xs};
line-height: ${a.sm};
outline: none;
word-break: break-word;
`,labelButton:c`
cursor: pointer;
color: inherit;
font: inherit;
outline: inherit;
background: transparent;
border: none;
padding: 0;
`,expander:c`
display: inline-flex;
align-items: center;
justify-content: center;
width: ${r[3]};
height: ${r[3]};
padding-left: 3px;
box-sizing: content-box;
`,expanderIcon:d=>d?c`
transform: rotate(90deg);
transition: transform 0.1s ease;
`:c`
transform: rotate(0deg);
transition: transform 0.1s ease;
`,expandButton:c`
display: flex;
gap: ${r[1]};
align-items: center;
cursor: pointer;
color: inherit;
font: inherit;
outline: inherit;
background: transparent;
border: none;
padding: 0;
`,value:c`
color: ${t.purple[400]};
`,subEntries:c`
margin-left: ${r[2]};
padding-left: ${r[2]};
border-left: 2px solid ${t.darkGray[400]};
`,info:c`
color: ${t.gray[500]};
font-size: ${u["2xs"]};
padding-left: ${r[1]};
`,refreshValueBtn:c`
appearance: none;
border: 0;
cursor: pointer;
background: transparent;
color: inherit;
padding: 0;
font-family: ${l.mono};
font-size: ${u.xs};
`}};let Zi=null;function Dm(){const e=R.useContext(Pl);return Zi||(Zi=y2(e),Zi)}function up(){const e=X.useId();return p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 634 633",viewBox:"0 0 634 633",children:p.jsxs("g",{transform:"translate(1)",children:[p.jsxs("linearGradient",{id:`a-${e}`,x1:"-641.486",x2:"-641.486",y1:"856.648",y2:"855.931",gradientTransform:"matrix(633 0 0 -633 406377 542258)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#6bdaff"}),p.jsx("stop",{offset:"0.319",stopColor:"#f9ffb5"}),p.jsx("stop",{offset:"0.706",stopColor:"#ffa770"}),p.jsx("stop",{offset:"1",stopColor:"#ff7373"})]}),p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:`url(#a-${e})`,fillRule:"evenodd",clipRule:"evenodd"}),p.jsx("defs",{children:p.jsx("filter",{id:`b-${e}`,width:"454",height:"396.9",x:"-137.5",y:"412",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`c-${e}`,width:"454",height:"396.9",x:"-137.5",y:"412",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#b-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"89.5",cy:"610.5",fill:"#015064",fillRule:"evenodd",stroke:"#00CFE2",strokeWidth:"25",clipRule:"evenodd",mask:`url(#c-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`d-${e}`,width:"454",height:"396.9",x:"316.5",y:"412",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`e-${e}`,width:"454",height:"396.9",x:"316.5",y:"412",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#d-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"543.5",cy:"610.5",fill:"#015064",fillRule:"evenodd",stroke:"#00CFE2",strokeWidth:"25",clipRule:"evenodd",mask:`url(#e-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`f-${e}`,width:"454",height:"396.9",x:"-137.5",y:"450",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`g-${e}`,width:"454",height:"396.9",x:"-137.5",y:"450",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#f-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"89.5",cy:"648.5",fill:"#015064",fillRule:"evenodd",stroke:"#00A8B8",strokeWidth:"25",clipRule:"evenodd",mask:`url(#g-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`h-${e}`,width:"454",height:"396.9",x:"316.5",y:"450",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`i-${e}`,width:"454",height:"396.9",x:"316.5",y:"450",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#h-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"543.5",cy:"648.5",fill:"#015064",fillRule:"evenodd",stroke:"#00A8B8",strokeWidth:"25",clipRule:"evenodd",mask:`url(#i-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`j-${e}`,width:"454",height:"396.9",x:"-137.5",y:"486",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`k-${e}`,width:"454",height:"396.9",x:"-137.5",y:"486",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#j-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"89.5",cy:"684.5",fill:"#015064",fillRule:"evenodd",stroke:"#007782",strokeWidth:"25",clipRule:"evenodd",mask:`url(#k-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`l-${e}`,width:"454",height:"396.9",x:"316.5",y:"486",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`m-${e}`,width:"454",height:"396.9",x:"316.5",y:"486",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#l-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("ellipse",{cx:"543.5",cy:"684.5",fill:"#015064",fillRule:"evenodd",stroke:"#007782",strokeWidth:"25",clipRule:"evenodd",mask:`url(#m-${e})`,rx:"214.5",ry:"186"}),p.jsx("defs",{children:p.jsx("filter",{id:`n-${e}`,width:"176.9",height:"129.3",x:"272.2",y:"308",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`o-${e}`,width:"176.9",height:"129.3",x:"272.2",y:"308",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#n-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsxs("g",{mask:`url(#o-${e})`,children:[p.jsx("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"11",d:"M436 403.2l-5 28.6m-140-90.3l-10.9 62m52.8-19.4l-4.3 27.1"}),p.jsxs("linearGradient",{id:`p-${e}`,x1:"-645.656",x2:"-646.499",y1:"854.878",y2:"854.788",gradientTransform:"matrix(-184.159 -32.4722 11.4608 -64.9973 -128419.844 34938.836)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ee2700"}),p.jsx("stop",{offset:"1",stopColor:"#ff008e"})]}),p.jsx("path",{fill:`url(#p-${e})`,fillRule:"evenodd",d:"M344.1 363l97.7 17.2c5.8 2.1 8.2 6.2 7.1 12.1-1 5.9-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1.8-12.8 3.7-3.7 8.3-4.4 13.7-2.1l55.2 53.6z",clipRule:"evenodd"}),p.jsx("path",{fill:"#D8D8D8",fillRule:"evenodd",stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"7",d:"M428.3 384.5l.9-6.5m-33.9 1.5l.9-6.5m-34 .5l.9-6.1m-38.9-16.1l4.2-3.9m-25.2-16.1l4.2-3.9",clipRule:"evenodd"})]}),p.jsx("defs",{children:p.jsx("filter",{id:`q-${e}`,width:"280.6",height:"317.4",x:"73.2",y:"113.9",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`r-${e}`,width:"280.6",height:"317.4",x:"73.2",y:"113.9",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#q-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsxs("g",{mask:`url(#r-${e})`,children:[p.jsxs("linearGradient",{id:`s-${e}`,x1:"-646.8",x2:"-646.8",y1:"854.844",y2:"853.844",gradientTransform:"matrix(-100.1751 48.8587 -97.9753 -200.879 19124.773 203538.61)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#a17500"}),p.jsx("stop",{offset:"1",stopColor:"#5d2100"})]}),p.jsx("path",{fill:`url(#s-${e})`,fillRule:"evenodd",d:"M192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.2-2.9 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6-3.4-18.7-10.8-51.8-22.2-99.6l-25.3 4.6",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`t-${e}`,x1:"-635.467",x2:"-635.467",y1:"852.115",y2:"851.115",gradientTransform:"matrix(92.6873 4.8575 2.0257 -38.6535 57323.695 36176.047)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#t-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`u-${e}`,x1:"-636.573",x2:"-636.573",y1:"855.444",y2:"854.444",gradientTransform:"matrix(109.9945 5.7646 6.3597 -121.3507 64719.133 107659.336)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#u-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.3 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20 49.6-53.1 49.6-53.1z",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`v-${e}`,x1:"-632.145",x2:"-632.145",y1:"854.174",y2:"853.174",gradientTransform:"matrix(62.9558 3.2994 3.5021 -66.8246 37035.367 59284.227)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#v-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M195 183.9c-.8-21.9 6-38 20.6-48.2 14.6-10.2 29.8-15.3 45.5-15.3-6.1 21.4-14.5 35.8-25.2 43.4-10.7 7.5-24.4 14.2-40.9 20.1z",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`w-${e}`,x1:"-638.224",x2:"-638.224",y1:"853.801",y2:"852.801",gradientTransform:"matrix(152.4666 7.9904 3.0934 -59.0251 94939.86 55646.855)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#w-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M194.9 184.5c31.9-30 64.1-39.7 96.7-29 32.6 10.7 50.8 30.4 54.6 59.1-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`x-${e}`,x1:"-637.723",x2:"-637.723",y1:"855.103",y2:"854.103",gradientTransform:"matrix(136.467 7.1519 5.2165 -99.5377 82830.875 89859.578)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#x-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M194.9 184.5c35.8-7.6 65.6-.2 89.2 22 23.6 22.2 37.7 49 42.3 80.3-39.8-9.7-68.3-23.8-85.5-42.4-17.2-18.5-32.5-38.5-46-59.9z",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`y-${e}`,x1:"-631.79",x2:"-631.79",y1:"855.872",y2:"854.872",gradientTransform:"matrix(60.8683 3.19 8.7771 -167.4773 31110.818 145537.61)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#2f8a00"}),p.jsx("stop",{offset:"1",stopColor:"#90ff57"})]}),p.jsx("path",{fill:`url(#y-${e})`,fillRule:"evenodd",stroke:"#2F8A00",strokeWidth:"13",d:"M194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6-6.5 29.9-3.6 63.1 8.7 99.6 27.4-40.3 43.2-69.6 47.4-88 4.2-18.3 5.5-44.1 4-77.2z",clipRule:"evenodd"}),p.jsx("path",{fill:"none",stroke:"#2F8A00",strokeLinecap:"round",strokeWidth:"8",d:"M196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4-5.7 18-9.4 33-11.1 45.1"}),p.jsx("path",{fill:"none",stroke:"#2F8A00",strokeLinecap:"round",strokeWidth:"8",d:"M194.8 185.7c-24.4 1.7-43.8 9-58.1 21.8-14.3 12.8-24.7 25.4-31.3 37.8m99.1-68.9c29.7-6.7 52-8.4 67-5 15 3.4 26.9 8.7 35.8 15.9m-110.8-5.9c20.3 9.9 38.2 20.5 53.9 31.9 15.7 11.4 27.4 22.1 35.1 32"})]}),p.jsx("defs",{children:p.jsx("filter",{id:`z-${e}`,width:"532",height:"633",x:"50.5",y:"399",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`A-${e}`,width:"532",height:"633",x:"50.5",y:"399",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#z-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsxs("linearGradient",{id:`B-${e}`,x1:"-641.104",x2:"-641.278",y1:"856.577",y2:"856.183",gradientTransform:"matrix(532 0 0 -633 341484.5 542657)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#fff400"}),p.jsx("stop",{offset:"1",stopColor:"#3c8700"})]}),p.jsx("ellipse",{cx:"316.5",cy:"715.5",fill:`url(#B-${e})`,fillRule:"evenodd",clipRule:"evenodd",mask:`url(#A-${e})`,rx:"266",ry:"316.5"}),p.jsx("defs",{children:p.jsx("filter",{id:`C-${e}`,width:"288",height:"283",x:"391",y:"-24",filterUnits:"userSpaceOnUse",children:p.jsx("feColorMatrix",{values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"})})}),p.jsx("mask",{id:`D-${e}`,width:"288",height:"283",x:"391",y:"-24",maskUnits:"userSpaceOnUse",children:p.jsx("g",{filter:`url(#C-${e})`,children:p.jsx("circle",{cx:"316.5",cy:"316.5",r:"316.5",fill:"#FFF",fillRule:"evenodd",clipRule:"evenodd"})})}),p.jsx("g",{mask:`url(#D-${e})`,children:p.jsxs("g",{transform:"translate(397 -24)",children:[p.jsxs("linearGradient",{id:`E-${e}`,x1:"-1036.672",x2:"-1036.672",y1:"880.018",y2:"879.018",gradientTransform:"matrix(227 0 0 -227 235493 199764)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffdf00"}),p.jsx("stop",{offset:"1",stopColor:"#ff9d00"})]}),p.jsx("circle",{cx:"168.5",cy:"113.5",r:"113.5",fill:`url(#E-${e})`,fillRule:"evenodd",clipRule:"evenodd"}),p.jsxs("linearGradient",{id:`F-${e}`,x1:"-1017.329",x2:"-1018.602",y1:"658.003",y2:"657.998",gradientTransform:"matrix(30 0 0 -1 30558 771)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#F-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M30 113H0"}),p.jsxs("linearGradient",{id:`G-${e}`,x1:"-1014.501",x2:"-1015.774",y1:"839.985",y2:"839.935",gradientTransform:"matrix(26.5 0 0 -5.5 26925 4696.5)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#G-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M33.5 79.5L7 74"}),p.jsxs("linearGradient",{id:`H-${e}`,x1:"-1016.59",x2:"-1017.862",y1:"852.671",y2:"852.595",gradientTransform:"matrix(29 0 0 -8 29523 6971)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#H-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M34 146l-29 8"}),p.jsxs("linearGradient",{id:`I-${e}`,x1:"-1011.984",x2:"-1013.257",y1:"863.523",y2:"863.229",gradientTransform:"matrix(24 0 0 -13 24339 11407)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#I-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M45 177l-24 13"}),p.jsxs("linearGradient",{id:`J-${e}`,x1:"-1006.673",x2:"-1007.946",y1:"869.279",y2:"868.376",gradientTransform:"matrix(20 0 0 -19 20205 16720)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#J-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M67 204l-20 19"}),p.jsxs("linearGradient",{id:`K-${e}`,x1:"-992.85",x2:"-993.317",y1:"871.258",y2:"870.258",gradientTransform:"matrix(13.8339 0 0 -22.8467 13825.796 20131.938)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#K-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M94.4 227l-13.8 22.8"}),p.jsxs("linearGradient",{id:`L-${e}`,x1:"-953.835",x2:"-953.965",y1:"871.9",y2:"870.9",gradientTransform:"matrix(7.5 0 0 -24.5 7278 21605)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#L-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M127.5 243.5L120 268"}),p.jsxs("linearGradient",{id:`M-${e}`,x1:"244.504",x2:"244.496",y1:"871.898",y2:"870.898",gradientTransform:"matrix(.5 0 0 -24.5 45.5 21614)",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{offset:"0",stopColor:"#ffa400"}),p.jsx("stop",{offset:"1",stopColor:"#ff5e00"})]}),p.jsx("path",{fill:"none",stroke:`url(#M-${e})`,strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:"12",d:"M167.5 252.5l.5 24.5"})]})})]})})}function v2(e){const{className:t,...n}=e,r=Pi();return p.jsxs("button",{...n,className:Z(r.logo,t),children:[p.jsx("div",{className:r.tanstackLogo,children:"TANSTACK"}),p.jsx("div",{className:r.routerLogo,children:"React Router v1"})]})}function g2(e){const{shadowDOMTarget:t}=e;return p.jsx(Pl.Provider,{value:t,children:p.jsx(x2,{...e})})}function x2({initialIsOpen:e,panelProps:t={},closeButtonProps:n={},toggleButtonProps:r={},position:o="bottom-left",containerElement:i="footer",router:s,shadowDOMTarget:l}){const[a,u]=X.useState(),c=X.useRef(null),[d,f]=Zs("tanstackRouterDevtoolsOpen",e),[y,x]=Zs("tanstackRouterDevtoolsHeight",null),[v,k]=lp(!1),[h,m]=lp(!1),g=Nm(),S=Pi(),C=(N,re)=>{if(re.button!==0)return;m(!0);const $={originalHeight:(N==null?void 0:N.getBoundingClientRect().height)??0,pageY:re.pageY},T=A=>{const V=$.pageY-A.pageY,Q=$.originalHeight+V;x(Q),Q<70?f(!1):f(!0)},L=()=>{m(!1),document.removeEventListener("mousemove",T),document.removeEventListener("mouseUp",L)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",L)},_=d??!1;X.useEffect(()=>{k(d??!1)},[d,v,k]),X.useEffect(()=>{var N;if(v){const re=(N=a==null?void 0:a.parentElement)==null?void 0:N.style.paddingBottom,$=()=>{var T;const L=(T=c.current)==null?void 0:T.getBoundingClientRect().height;a!=null&&a.parentElement&&(a.parentElement.style.paddingBottom=`${L}px`)};if($(),typeof window<"u")return window.addEventListener("resize",$),()=>{window.removeEventListener("resize",$),a!=null&&a.parentElement&&typeof re=="string"&&(a.parentElement.style.paddingBottom=re)}}},[v,a==null?void 0:a.parentElement]),X.useEffect(()=>{if(a){const N=a,re=getComputedStyle(N).fontSize;N.style.setProperty("--tsrd-font-size",re)}},[a]);const{style:E={},...w}=t,{style:b={},onClick:O,...z}=n,{onClick:F,className:I,...W}=r;if(!g())return null;const G=y??500;return p.jsxs(i,{ref:u,className:"TanStackRouterDevtools",children:[p.jsx(id.Provider,{value:{onCloseClick:O??(()=>{})},children:p.jsx(Bm,{ref:c,...w,router:s,className:Z(S.devtoolsPanelContainer,S.devtoolsPanelContainerVisibility(!!d),S.devtoolsPanelContainerResizing(h),S.devtoolsPanelContainerAnimation(v,G+16)),style:{height:G,...E},isOpen:v,setIsOpen:f,handleDragStart:N=>C(c.current,N),shadowDOMTarget:l})}),p.jsxs("button",{type:"button",...W,"aria-label":"Open TanStack Router Devtools",onClick:N=>{f(!0),F&&F(N)},className:Z(S.mainCloseBtn,S.mainCloseBtnPosition(o),S.mainCloseBtnAnimation(!_),I),children:[p.jsxs("div",{className:S.mainCloseBtnIconContainer,children:[p.jsx("div",{className:S.mainCloseBtnIconOuter,children:p.jsx(up,{})}),p.jsx("div",{className:S.mainCloseBtnIconInner,children:p.jsx(up,{})})]}),p.jsx("div",{className:S.mainCloseBtnDivider,children:"-"}),p.jsx("div",{className:S.routerLogoCloseButton,children:"TanStack Router"})]})]})}X.forwardRef(function(t,n){const{shadowDOMTarget:r}=t;return p.jsx(Pl.Provider,{value:r,children:p.jsx(id.Provider,{value:{onCloseClick:()=>{}},children:p.jsx(Bm,{ref:n,...t})})})});function Am({router:e,route:t,isRoot:n,activeId:r,setActiveId:o}){var i;const s=Le({router:e}),l=Pi(),a=s.pendingMatches||s.matches,u=s.matches.find(d=>d.routeId===t.id),c=X.useMemo(()=>{try{if(u!=null&&u.params){const d=u.params,f=t.path||ru(t.id);if(f.startsWith("$")){const y=f.slice(1);if(d[y])return`(${d[y]})`}}return""}catch{return""}},[u,t]);return p.jsxs("div",{children:[p.jsxs("div",{role:"button","aria-label":`Open match details for ${t.id}`,onClick:()=>{u&&o(r===t.id?"":t.id)},className:Z(l.routesRowContainer(t.id===r,!!u)),children:[p.jsx("div",{className:Z(l.matchIndicator(a2(a,t)))}),p.jsxs("div",{className:Z(l.routesRow(!!u)),children:[p.jsxs("div",{children:[p.jsxs("code",{className:l.code,children:[n?Ue:t.path||ru(t.id)," "]}),p.jsx("code",{className:l.routeParamInfo,children:c})]}),p.jsx(Ju,{match:u,router:e})]})]}),(i=t.children)!=null&&i.length?p.jsx("div",{className:l.nestedRouteRow(!!n),children:[...t.children].sort((d,f)=>d.rank-f.rank).map(d=>p.jsx(Am,{router:e,route:d,activeId:r,setActiveId:o},d.id))}):null]})}const Bm=X.forwardRef(function(t,n){var r;const{isOpen:o=!0,setIsOpen:i,handleDragStart:s,router:l,shadowDOMTarget:a,...u}=t,{onCloseClick:c}=f2(),d=Pi(),{className:f,...y}=u,x=yn({warn:!1}),v=l??x,k=Le({router:v});Qe(v);const[h,m]=Zs("tanstackRouterDevtoolsShowMatches",!0),[g,S]=Zs("tanstackRouterDevtoolsActiveRouteId",""),C=X.useMemo(()=>[...k.pendingMatches??[],...k.matches,...k.cachedMatches].find(b=>b.routeId===g||b.id===g),[g,k.cachedMatches,k.matches,k.pendingMatches]),_=Object.keys(k.location.search).length,E={...v,state:v.state};return p.jsxs("div",{ref:n,className:Z(d.devtoolsPanel,"TanStackRouterDevtoolsPanel",f),...y,children:[s?p.jsx("div",{className:d.dragHandle,onMouseDown:s}):null,p.jsx("button",{className:d.panelCloseBtn,onClick:w=>{i(!1),c(w)},children:p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"6",fill:"none",viewBox:"0 0 10 6",className:d.panelCloseBtnIcon,children:p.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M1 1l4 4 4-4"})})}),p.jsxs("div",{className:d.firstContainer,children:[p.jsx("div",{className:d.row,children:p.jsx(v2,{"aria-hidden":!0,onClick:w=>{i(!1),c(w)}})}),p.jsx("div",{className:d.routerExplorerContainer,children:p.jsx("div",{className:d.routerExplorer,children:p.jsx(zr,{label:"Router",value:Object.fromEntries(d2(Object.keys(E),["state","routesById","routesByPath","flatRoutes","options","manifest"].map(w=>b=>b!==w)).map(w=>[w,E[w]]).filter(w=>typeof w[1]!="function"&&!["__store","basepath","injectedHtml","subscribers","latestLoadPromise","navigateTimeout","resetNextScroll","tempLocationKey","latestLocation","routeTree","history"].includes(w[0]))),defaultExpanded:{state:{},context:{},options:{}},filterSubEntries:w=>w.filter(b=>typeof b.value!="function")})})})]}),p.jsxs("div",{className:d.secondContainer,children:[p.jsxs("div",{className:d.matchesContainer,children:[p.jsxs("div",{className:d.detailsHeader,children:[p.jsx("span",{children:"Pathname"}),k.location.maskedLocation?p.jsx("div",{className:d.maskedBadgeContainer,children:p.jsx("span",{className:d.maskedBadge,children:"masked"})}):null]}),p.jsxs("div",{className:d.detailsContent,children:[p.jsx("code",{children:k.location.pathname}),k.location.maskedLocation?p.jsx("code",{className:d.maskedLocation,children:k.location.maskedLocation.pathname}):null]}),p.jsxs("div",{className:d.detailsHeader,children:[p.jsxs("div",{className:d.routeMatchesToggle,children:[p.jsx("button",{type:"button",onClick:()=>{m(!1)},disabled:!h,className:Z(d.routeMatchesToggleBtn(!h,!0)),children:"Routes"}),p.jsx("button",{type:"button",onClick:()=>{m(!0)},disabled:h,className:Z(d.routeMatchesToggleBtn(!!h,!1)),children:"Matches"})]}),p.jsx("div",{className:d.detailsHeaderInfo,children:p.jsx("div",{children:"age / staleTime / gcTime"})})]}),p.jsx("div",{className:Z(d.routesContainer),children:h?p.jsx("div",{children:(k.pendingMatches||k.matches).map((w,b)=>p.jsxs("div",{role:"button","aria-label":`Open match details for ${w.id}`,onClick:()=>S(g===w.id?"":w.id),className:Z(d.matchRow(w===C)),children:[p.jsx("div",{className:Z(d.matchIndicator(Xu(w)))}),p.jsx("code",{className:d.matchID,children:`${w.routeId===Ue?Ue:w.pathname}`}),p.jsx(Ju,{match:w,router:v})]},w.id||b))}):p.jsx(Am,{router:v,route:v.routeTree,isRoot:!0,activeId:g,setActiveId:S})})]}),k.cachedMatches.length?p.jsxs("div",{className:d.cachedMatchesContainer,children:[p.jsxs("div",{className:d.detailsHeader,children:[p.jsx("div",{children:"Cached Matches"}),p.jsx("div",{className:d.detailsHeaderInfo,children:"age / staleTime / gcTime"})]}),p.jsx("div",{children:k.cachedMatches.map(w=>p.jsxs("div",{role:"button","aria-label":`Open match details for ${w.id}`,onClick:()=>S(g===w.id?"":w.id),className:Z(d.matchRow(w===C)),children:[p.jsx("div",{className:Z(d.matchIndicator(Xu(w)))}),p.jsx("code",{className:d.matchID,children:`${w.id}`}),p.jsx(Ju,{match:w,router:v})]},w.id))})]}):null]}),C?p.jsxs("div",{className:d.thirdContainer,children:[p.jsx("div",{className:d.detailsHeader,children:"Match Details"}),p.jsx("div",{children:p.jsxs("div",{className:d.matchDetails,children:[p.jsx("div",{className:d.matchStatus(C.status,C.isFetching),children:p.jsx("div",{children:C.status==="success"&&C.isFetching?"fetching":C.status})}),p.jsxs("div",{className:d.matchDetailsInfoLabel,children:[p.jsx("div",{children:"ID:"}),p.jsx("div",{className:d.matchDetailsInfo,children:p.jsx("code",{children:C.id})})]}),p.jsxs("div",{className:d.matchDetailsInfoLabel,children:[p.jsx("div",{children:"State:"}),p.jsx("div",{className:d.matchDetailsInfo,children:(r=k.pendingMatches)!=null&&r.find(w=>w.id===C.id)?"Pending":k.matches.find(w=>w.id===C.id)?"Active":"Cached"})]}),p.jsxs("div",{className:d.matchDetailsInfoLabel,children:[p.jsx("div",{children:"Last Updated:"}),p.jsx("div",{className:d.matchDetailsInfo,children:C.updatedAt?new Date(C.updatedAt).toLocaleTimeString():"N/A"})]})]})}),C.loaderData?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:d.detailsHeader,children:"Loader Data"}),p.jsx("div",{className:d.detailsContent,children:p.jsx(zr,{label:"loaderData",value:C.loaderData,defaultExpanded:{}})})]}):null,p.jsx("div",{className:d.detailsHeader,children:"Explorer"}),p.jsx("div",{className:d.detailsContent,children:p.jsx(zr,{label:"Match",value:C,defaultExpanded:{}})})]}):null,_?p.jsxs("div",{className:d.fourthContainer,children:[p.jsx("div",{className:d.detailsHeader,children:"Search Params"}),p.jsx("div",{className:d.detailsContent,children:p.jsx(zr,{value:k.location.search,defaultExpanded:Object.keys(k.location.search).reduce((w,b)=>(w[b]={},w),{})})})]}):null]})});function Ju({match:e,router:t}){const n=Pi(),r=X.useReducer(()=>({}),()=>({}))[1];if(X.useEffect(()=>{const a=setInterval(()=>{r()},1e3);return()=>{clearInterval(a)}},[r]),!e)return null;const o=t.looseRoutesById[e.routeId];if(!o.options.loader)return null;const i=Date.now()-e.updatedAt,s=o.options.staleTime??t.options.defaultStaleTime??0,l=o.options.gcTime??t.options.defaultGcTime??30*60*1e3;return p.jsxs("div",{className:Z(n.ageTicker(i>s)),children:[p.jsx("div",{children:Ka(i)}),p.jsx("div",{children:"/"}),p.jsx("div",{children:Ka(s)}),p.jsx("div",{children:"/"}),p.jsx("div",{children:Ka(l)})]})}function Ka(e){const t=["s","min","h","d"],n=[e/1e3,e/6e4,e/36e5,e/864e5];let r=0;for(let i=1;i<n.length&&!(n[i]<1);i++)r=i;return new Intl.NumberFormat(navigator.language,{compactDisplay:"short",notation:"compact",maximumFractionDigits:0}).format(n[r])+t[r]}const S2=e=>{const{colors:t,font:n,size:r,alpha:o,shadow:i,border:s}=se,{fontFamily:l,lineHeight:a,size:u}=n,c=e?co.bind({target:e}):co;return{devtoolsPanelContainer:c`
direction: ltr;
position: fixed;
bottom: 0;
right: 0;
z-index: 99999;
width: 100%;
max-height: 90%;
border-top: 1px solid ${t.gray[700]};
transform-origin: top;
`,devtoolsPanelContainerVisibility:d=>c`
visibility: ${d?"visible":"hidden"};
`,devtoolsPanelContainerResizing:d=>d?c`
transition: none;
`:c`
transition: all 0.4s ease;
`,devtoolsPanelContainerAnimation:(d,f)=>d?c`
pointer-events: auto;
transform: translateY(0);
`:c`
pointer-events: none;
transform: translateY(${f}px);
`,logo:c`
cursor: pointer;
display: flex;
flex-direction: column;
background-color: transparent;
border: none;
font-family: ${l.sans};
gap: ${se.size[.5]};
padding: 0px;
&:hover {
opacity: 0.7;
}
&:focus-visible {
outline-offset: 4px;
border-radius: ${s.radius.xs};
outline: 2px solid ${t.blue[800]};
}
`,tanstackLogo:c`
font-size: ${n.size.md};
font-weight: ${n.weight.bold};
line-height: ${n.lineHeight.xs};
white-space: nowrap;
color: ${t.gray[300]};
`,routerLogo:c`
font-weight: ${n.weight.semibold};
font-size: ${n.size.xs};
background: linear-gradient(to right, #84cc16, #10b981);
background-clip: text;
-webkit-background-clip: text;
line-height: 1;
-webkit-text-fill-color: transparent;
white-space: nowrap;
`,devtoolsPanel:c`
display: flex;
font-size: ${u.sm};
font-family: ${l.sans};
background-color: ${t.darkGray[700]};
color: ${t.gray[300]};
@media (max-width: 700px) {
flex-direction: column;
}
@media (max-width: 600px) {
font-size: ${u.xs};
}
`,dragHandle:c`
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 4px;
cursor: row-resize;
z-index: 100000;
&:hover {
background-color: ${t.purple[400]}${o[90]};
}
`,firstContainer:c`
flex: 1 1 500px;
min-height: 40%;
max-height: 100%;
overflow: auto;
border-right: 1px solid ${t.gray[700]};
display: flex;
flex-direction: column;
`,routerExplorerContainer:c`
overflow-y: auto;
flex: 1;
`,routerExplorer:c`
padding: ${se.size[2]};
`,row:c`
display: flex;
align-items: center;
padding: ${se.size[2]} ${se.size[2.5]};
gap: ${se.size[2.5]};
border-bottom: ${t.darkGray[500]} 1px solid;
align-items: center;
`,detailsHeader:c`
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
position: sticky;
top: 0;
z-index: 2;
background-color: ${t.darkGray[600]};
padding: 0px ${se.size[2]};
font-weight: ${n.weight.medium};
font-size: ${n.size.xs};
min-height: ${se.size[8]};
line-height: ${n.lineHeight.xs};
text-align: left;
display: flex;
align-items: center;
`,maskedBadge:c`
background: ${t.yellow[900]}${o[70]};
color: ${t.yellow[300]};
display: inline-block;
padding: ${se.size[0]} ${se.size[2.5]};
border-radius: ${s.radius.full};
font-size: ${n.size.xs};
font-weight: ${n.weight.normal};
border: 1px solid ${t.yellow[300]};
`,maskedLocation:c`
color: ${t.yellow[300]};
`,detailsContent:c`
padding: ${se.size[1.5]} ${se.size[2]};
display: flex;
align-items: center;
font-size: ${n.size.xs};
`,routeMatchesToggle:c`
display: flex;
align-items: center;
border: 1px solid ${t.gray[500]};
border-radius: ${s.radius.sm};
overflow: hidden;
`,routeMatchesToggleBtn:(d,f)=>{const x=[c`
appearance: none;
border: none;
font-size: 12px;
padding: 4px 8px;
background: transparent;
cursor: pointer;
font-family: ${l.sans};
font-weight: ${n.weight.medium};
`];if(d){const v=c`
background: ${t.darkGray[400]};
color: ${t.gray[300]};
`;x.push(v)}else{const v=c`
color: ${t.gray[500]};
background: ${t.darkGray[800]}${o[20]};
`;x.push(v)}return f&&x.push(c`
border-right: 1px solid ${se.colors.gray[500]};
`),x},detailsHeaderInfo:c`
flex: 1;
justify-content: flex-end;
display: flex;
align-items: center;
font-weight: ${n.weight.normal};
color: ${t.gray[400]};
`,matchRow:d=>{const y=[c`
display: flex;
border-bottom: 1px solid ${t.darkGray[400]};
cursor: pointer;
align-items: center;
padding: ${r[1]} ${r[2]};
gap: ${r[2]};
font-size: ${u.xs};
color: ${t.gray[300]};
`];if(d){const x=c`
background: ${t.darkGray[500]};
`;y.push(x)}return y},matchIndicator:d=>{const y=[c`
flex: 0 0 auto;
width: ${r[3]};
height: ${r[3]};
background: ${t[d][900]};
border: 1px solid ${t[d][500]};
border-radius: ${s.radius.full};
transition: all 0.25s ease-out;
box-sizing: border-box;
`];if(d==="gray"){const x=c`
background: ${t.gray[700]};
border-color: ${t.gray[400]};
`;y.push(x)}return y},matchID:c`
flex: 1;
line-height: ${a.xs};
`,ageTicker:d=>{const y=[c`
display: flex;
gap: ${r[1]};
font-size: ${u.xs};
color: ${t.gray[400]};
font-variant-numeric: tabular-nums;
line-height: ${a.xs};
`];if(d){const x=c`
color: ${t.yellow[400]};
`;y.push(x)}return y},secondContainer:c`
flex: 1 1 500px;
min-height: 40%;
max-height: 100%;
overflow: auto;
border-right: 1px solid ${t.gray[700]};
display: flex;
flex-direction: column;
`,thirdContainer:c`
flex: 1 1 500px;
overflow: auto;
display: flex;
flex-direction: column;
height: 100%;
border-right: 1px solid ${t.gray[700]};
@media (max-width: 700px) {
border-top: 2px solid ${t.gray[700]};
}
`,fourthContainer:c`
flex: 1 1 500px;
min-height: 40%;
max-height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
`,routesContainer:c`
overflow-x: auto;
overflow-y: visible;
`,routesRowContainer:(d,f)=>{const x=[c`
display: flex;
border-bottom: 1px solid ${t.darkGray[400]};
align-items: center;
padding: ${r[1]} ${r[2]};
gap: ${r[2]};
font-size: ${u.xs};
color: ${t.gray[300]};
cursor: ${f?"pointer":"default"};
line-height: ${a.xs};
`];if(d){const v=c`
background: ${t.darkGray[500]};
`;x.push(v)}return x},routesRow:d=>{const y=[c`
flex: 1 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
font-size: ${u.xs};
line-height: ${a.xs};
`];if(!d){const x=c`
color: ${t.gray[400]};
`;y.push(x)}return y},routeParamInfo:c`
color: ${t.gray[400]};
font-size: ${u.xs};
line-height: ${a.xs};
`,nestedRouteRow:d=>c`
margin-left: ${d?0:r[3.5]};
border-left: ${d?"":`solid 1px ${t.gray[700]}`};
`,code:c`
font-size: ${u.xs};
line-height: ${a.xs};
`,matchesContainer:c`
flex: 1 1 auto;
overflow-y: auto;
`,cachedMatchesContainer:c`
flex: 1 1 auto;
overflow-y: auto;
max-height: 50%;
`,maskedBadgeContainer:c`
flex: 1;
justify-content: flex-end;
display: flex;
`,matchDetails:c`
display: flex;
flex-direction: column;
padding: ${se.size[2]};
font-size: ${se.font.size.xs};
color: ${se.colors.gray[300]};
line-height: ${se.font.lineHeight.sm};
`,matchStatus:(d,f)=>{const x=f&&d==="success"?f==="beforeLoad"?"purple":"blue":{pending:"yellow",success:"green",error:"red",notFound:"purple",redirected:"gray"}[d];return c`
display: flex;
justify-content: center;
align-items: center;
height: 40px;
border-radius: ${se.border.radius.sm};
font-weight: ${se.font.weight.normal};
background-color: ${se.colors[x][900]}${se.alpha[90]};
color: ${se.colors[x][300]};
border: 1px solid ${se.colors[x][600]};
margin-bottom: ${se.size[2]};
transition: all 0.25s ease-out;
`},matchDetailsInfo:c`
display: flex;
justify-content: flex-end;
flex: 1;
`,matchDetailsInfoLabel:c`
display: flex;
`,mainCloseBtn:c`
background: ${t.darkGray[700]};
padding: ${r[1]} ${r[2]} ${r[1]} ${r[1.5]};
border-radius: ${s.radius.md};
position: fixed;
z-index: 99999;
display: inline-flex;
width: fit-content;
cursor: pointer;
appearance: none;
border: 0;
gap: 8px;
align-items: center;
border: 1px solid ${t.gray[500]};
font-size: ${n.size.xs};
cursor: pointer;
transition: all 0.25s ease-out;
&:hover {
background: ${t.darkGray[500]};
}
`,mainCloseBtnPosition:d=>c`
${d==="top-left"?`top: ${r[2]}; left: ${r[2]};`:""}
${d==="top-right"?`top: ${r[2]}; right: ${r[2]};`:""}
${d==="bottom-left"?`bottom: ${r[2]}; left: ${r[2]};`:""}
${d==="bottom-right"?`bottom: ${r[2]}; right: ${r[2]};`:""}
`,mainCloseBtnAnimation:d=>d?c`
opacity: 1;
pointer-events: auto;
visibility: visible;
`:c`
opacity: 0;
pointer-events: none;
visibility: hidden;
`,routerLogoCloseButton:c`
font-weight: ${n.weight.semibold};
font-size: ${n.size.xs};
background: linear-gradient(to right, #98f30c, #00f4a3);
background-clip: text;
-webkit-background-clip: text;
line-height: 1;
-webkit-text-fill-color: transparent;
white-space: nowrap;
`,mainCloseBtnDivider:c`
width: 1px;
background: ${se.colors.gray[600]};
height: 100%;
border-radius: 999999px;
color: transparent;
`,mainCloseBtnIconContainer:c`
position: relative;
width: ${r[5]};
height: ${r[5]};
background: pink;
border-radius: 999999px;
overflow: hidden;
`,mainCloseBtnIconOuter:c`
width: ${r[5]};
height: ${r[5]};
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
filter: blur(3px) saturate(1.8) contrast(2);
`,mainCloseBtnIconInner:c`
width: ${r[4]};
height: ${r[4]};
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
`,panelCloseBtn:c`
position: absolute;
cursor: pointer;
z-index: 100001;
display: flex;
align-items: center;
justify-content: center;
outline: none;
background-color: ${t.darkGray[700]};
&:hover {
background-color: ${t.darkGray[500]};
}
top: 0;
right: ${r[2]};
transform: translate(0, -100%);
border-right: ${t.darkGray[300]} 1px solid;
border-left: ${t.darkGray[300]} 1px solid;
border-top: ${t.darkGray[300]} 1px solid;
border-bottom: none;
border-radius: ${s.radius.sm} ${s.radius.sm} 0px 0px;
padding: ${r[1]} ${r[1.5]} ${r[.5]} ${r[1.5]};
&::after {
content: ' ';
position: absolute;
top: 100%;
left: -${r[2.5]};
height: ${r[1.5]};
width: calc(100% + ${r[5]});
}
`,panelCloseBtnIcon:c`
color: ${t.gray[400]};
width: ${r[2]};
height: ${r[2]};
`}};let es=null;function Pi(){const e=X.useContext(Pl);return es||(es=S2(e),es)}const Um=Lg()({component:()=>p.jsxs(p.Fragment,{children:[p.jsx(Vx,{to:"/",activeProps:{className:"font-bold"},activeOptions:{exact:!0},children:"Home"}),p.jsx(zm,{}),p.jsx(g2,{})]})}),hi={black:"#000",white:"#fff"},yr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},vr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},gr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},xr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Sr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Oo={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},w2={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function mi(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const k2=Object.freeze(Object.defineProperty({__proto__:null,default:mi},Symbol.toStringTag,{value:"Module"})),C2="$$material";function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(null,arguments)}function Bt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Wm(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var E2=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,_2=Wm(function(e){return E2.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),P2=!1;function $2(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function R2(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var j2=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!P2:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(R2(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=$2(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ae="-ms-",el="-moz-",q="-webkit-",Hm="comm",sd="rule",ld="decl",b2="@import",Vm="@keyframes",O2="@layer",T2=Math.abs,$l=String.fromCharCode,M2=Object.assign;function L2(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function Km(e){return e.trim()}function z2(e,t){return(e=t.exec(e))?e[0]:e}function Y(e,t,n){return e.replace(t,n)}function Zu(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function yi(e,t,n){return e.slice(t,n)}function qt(e){return e.length}function ad(e){return e.length}function ts(e,t){return t.push(e),e}function F2(e,t){return e.map(t).join("")}var Rl=1,fo=1,Gm=0,st=0,_e=0,vo="";function jl(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Rl,column:fo,length:s,return:""}}function To(e,t){return M2(jl("",null,null,"",null,null,0),e,{length:-e.length},t)}function I2(){return _e}function N2(){return _e=st>0?Me(vo,--st):0,fo--,_e===10&&(fo=1,Rl--),_e}function pt(){return _e=st<Gm?Me(vo,st++):0,fo++,_e===10&&(fo=1,Rl++),_e}function en(){return Me(vo,st)}function Ss(){return st}function $i(e,t){return yi(vo,e,t)}function vi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Qm(e){return Rl=fo=1,Gm=qt(vo=e),st=0,[]}function qm(e){return vo="",e}function ws(e){return Km($i(st-1,ec(e===91?e+2:e===40?e+1:e)))}function D2(e){for(;(_e=en())&&_e<33;)pt();return vi(e)>2||vi(_e)>3?"":" "}function A2(e,t){for(;--t&&pt()&&!(_e<48||_e>102||_e>57&&_e<65||_e>70&&_e<97););return $i(e,Ss()+(t<6&&en()==32&&pt()==32))}function ec(e){for(;pt();)switch(_e){case e:return st;case 34:case 39:e!==34&&e!==39&&ec(_e);break;case 40:e===41&&ec(e);break;case 92:pt();break}return st}function B2(e,t){for(;pt()&&e+_e!==57;)if(e+_e===84&&en()===47)break;return"/*"+$i(t,st-1)+"*"+$l(e===47?e:pt())}function U2(e){for(;!vi(en());)pt();return $i(e,st)}function W2(e){return qm(ks("",null,null,null,[""],e=Qm(e),0,[0],e))}function ks(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,d=s,f=0,y=0,x=0,v=1,k=1,h=1,m=0,g="",S=o,C=i,_=r,E=g;k;)switch(x=m,m=pt()){case 40:if(x!=108&&Me(E,d-1)==58){Zu(E+=Y(ws(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:E+=ws(m);break;case 9:case 10:case 13:case 32:E+=D2(x);break;case 92:E+=A2(Ss()-1,7);continue;case 47:switch(en()){case 42:case 47:ts(H2(B2(pt(),Ss()),t,n),a);break;default:E+="/"}break;case 123*v:l[u++]=qt(E)*h;case 125*v:case 59:case 0:switch(m){case 0:case 125:k=0;case 59+c:h==-1&&(E=Y(E,/\f/g,"")),y>0&&qt(E)-d&&ts(y>32?dp(E+";",r,n,d-1):dp(Y(E," ","")+";",r,n,d-2),a);break;case 59:E+=";";default:if(ts(_=cp(E,t,n,u,c,o,l,g,S=[],C=[],d),i),m===123)if(c===0)ks(E,t,_,_,S,i,d,l,C);else switch(f===99&&Me(E,3)===110?100:f){case 100:case 108:case 109:case 115:ks(e,_,_,r&&ts(cp(e,_,_,0,0,o,l,g,o,S=[],d),C),o,C,d,l,r?S:C);break;default:ks(E,_,_,_,[""],C,0,l,C)}}u=c=y=0,v=h=1,g=E="",d=s;break;case 58:d=1+qt(E),y=x;default:if(v<1){if(m==123)--v;else if(m==125&&v++==0&&N2()==125)continue}switch(E+=$l(m),m*v){case 38:h=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(qt(E)-1)*h,h=1;break;case 64:en()===45&&(E+=ws(pt())),f=en(),c=d=qt(g=E+=U2(Ss())),m++;break;case 45:x===45&&qt(E)==2&&(v=0)}}return i}function cp(e,t,n,r,o,i,s,l,a,u,c){for(var d=o-1,f=o===0?i:[""],y=ad(f),x=0,v=0,k=0;x<r;++x)for(var h=0,m=yi(e,d+1,d=T2(v=s[x])),g=e;h<y;++h)(g=Km(v>0?f[h]+" "+m:Y(m,/&\f/g,f[h])))&&(a[k++]=g);return jl(e,t,n,o===0?sd:l,a,u,c)}function H2(e,t,n){return jl(e,t,n,Hm,$l(I2()),yi(e,2,-2),0)}function dp(e,t,n,r){return jl(e,t,n,ld,yi(e,0,r),yi(e,r+1,-1),r)}function Wr(e,t){for(var n="",r=ad(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function V2(e,t,n,r){switch(e.type){case O2:if(e.children.length)break;case b2:case ld:return e.return=e.return||e.value;case Hm:return"";case Vm:return e.return=e.value+"{"+Wr(e.children,r)+"}";case sd:e.value=e.props.join(",")}return qt(n=Wr(e.children,r))?e.return=e.value+"{"+n+"}":""}function K2(e){var t=ad(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function G2(e){return function(t){t.root||(t=t.return)&&e(t)}}var Q2=function(t,n,r){for(var o=0,i=0;o=i,i=en(),o===38&&i===12&&(n[r]=1),!vi(i);)pt();return $i(t,st)},q2=function(t,n){var r=-1,o=44;do switch(vi(o)){case 0:o===38&&en()===12&&(n[r]=1),t[r]+=Q2(st-1,n,r);break;case 2:t[r]+=ws(o);break;case 4:if(o===44){t[++r]=en()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=$l(o)}while(o=pt());return t},Y2=function(t,n){return qm(q2(Qm(t),n))},fp=new WeakMap,X2=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!fp.get(r))&&!o){fp.set(t,!0);for(var i=[],s=Y2(n,i),l=r.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)t.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},J2=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ym(e,t){switch(L2(e,t)){case 5103:return q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+el+e+Ae+e+e;case 6828:case 4268:return q+e+Ae+e+e;case 6165:return q+e+Ae+"flex-"+e+e;case 5187:return q+e+Y(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return q+e+Ae+"flex-item-"+Y(e,/flex-|-self/,"")+e;case 4675:return q+e+Ae+"flex-line-pack"+Y(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+Ae+Y(e,"shrink","negative")+e;case 5292:return q+e+Ae+Y(e,"basis","preferred-size")+e;case 6060:return q+"box-"+Y(e,"-grow","")+q+e+Ae+Y(e,"grow","positive")+e;case 4554:return q+Y(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return Y(Y(Y(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return Y(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return Y(Y(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return Y(e,/(.+)-inline(.+)/,q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return Y(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+el+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zu(e,"stretch")?Ym(Y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,qt(e)-3-(~Zu(e,"!important")&&10))){case 107:return Y(e,":",":"+q)+e;case 101:return Y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Me(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return q+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Ae+e+e}return e}var Z2=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ld:t.return=Ym(t.value,t.length);break;case Vm:return Wr([To(t,{value:Y(t.value,"@","@"+q)})],o);case sd:if(t.length)return F2(t.props,function(i){switch(z2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wr([To(t,{props:[Y(i,/:(read-\w+)/,":"+el+"$1")]})],o);case"::placeholder":return Wr([To(t,{props:[Y(i,/:(plac\w+)/,":"+q+"input-$1")]}),To(t,{props:[Y(i,/:(plac\w+)/,":"+el+"$1")]}),To(t,{props:[Y(i,/:(plac\w+)/,Ae+"input-$1")]})],o)}return""})}},eS=[Z2],Xm=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var k=v.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||eS,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var k=v.getAttribute("data-emotion").split(" "),h=1;h<k.length;h++)i[k[h]]=!0;l.push(v)});var a,u=[X2,J2];{var c,d=[V2,G2(function(v){c.insert(v)})],f=K2(u.concat(o,d)),y=function(k){return Wr(W2(k),f)};a=function(k,h,m,g){c=m,y(k?k+"{"+h.styles+"}":h.styles),g&&(x.inserted[h.name]=!0)}}var x={key:n,sheet:new j2({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return x.sheet.hydrate(l),x},Jm={exports:{}},te={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Oe=typeof Symbol=="function"&&Symbol.for,ud=Oe?Symbol.for("react.element"):60103,cd=Oe?Symbol.for("react.portal"):60106,bl=Oe?Symbol.for("react.fragment"):60107,Ol=Oe?Symbol.for("react.strict_mode"):60108,Tl=Oe?Symbol.for("react.profiler"):60114,Ml=Oe?Symbol.for("react.provider"):60109,Ll=Oe?Symbol.for("react.context"):60110,dd=Oe?Symbol.for("react.async_mode"):60111,zl=Oe?Symbol.for("react.concurrent_mode"):60111,Fl=Oe?Symbol.for("react.forward_ref"):60112,Il=Oe?Symbol.for("react.suspense"):60113,tS=Oe?Symbol.for("react.suspense_list"):60120,Nl=Oe?Symbol.for("react.memo"):60115,Dl=Oe?Symbol.for("react.lazy"):60116,nS=Oe?Symbol.for("react.block"):60121,rS=Oe?Symbol.for("react.fundamental"):60117,oS=Oe?Symbol.for("react.responder"):60118,iS=Oe?Symbol.for("react.scope"):60119;function vt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ud:switch(e=e.type,e){case dd:case zl:case bl:case Tl:case Ol:case Il:return e;default:switch(e=e&&e.$$typeof,e){case Ll:case Fl:case Dl:case Nl:case Ml:return e;default:return t}}case cd:return t}}}function Zm(e){return vt(e)===zl}te.AsyncMode=dd;te.ConcurrentMode=zl;te.ContextConsumer=Ll;te.ContextProvider=Ml;te.Element=ud;te.ForwardRef=Fl;te.Fragment=bl;te.Lazy=Dl;te.Memo=Nl;te.Portal=cd;te.Profiler=Tl;te.StrictMode=Ol;te.Suspense=Il;te.isAsyncMode=function(e){return Zm(e)||vt(e)===dd};te.isConcurrentMode=Zm;te.isContextConsumer=function(e){return vt(e)===Ll};te.isContextProvider=function(e){return vt(e)===Ml};te.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ud};te.isForwardRef=function(e){return vt(e)===Fl};te.isFragment=function(e){return vt(e)===bl};te.isLazy=function(e){return vt(e)===Dl};te.isMemo=function(e){return vt(e)===Nl};te.isPortal=function(e){return vt(e)===cd};te.isProfiler=function(e){return vt(e)===Tl};te.isStrictMode=function(e){return vt(e)===Ol};te.isSuspense=function(e){return vt(e)===Il};te.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===bl||e===zl||e===Tl||e===Ol||e===Il||e===tS||typeof e=="object"&&e!==null&&(e.$$typeof===Dl||e.$$typeof===Nl||e.$$typeof===Ml||e.$$typeof===Ll||e.$$typeof===Fl||e.$$typeof===rS||e.$$typeof===oS||e.$$typeof===iS||e.$$typeof===nS)};te.typeOf=vt;Jm.exports=te;var sS=Jm.exports,ey=sS,lS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},aS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ty={};ty[ey.ForwardRef]=lS;ty[ey.Memo]=aS;var uS=!0;function cS(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var ny=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||uS===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},ry=function(t,n,r){ny(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function dS(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var fS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pS=!1,hS=/[A-Z]|^ms/g,mS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,oy=function(t){return t.charCodeAt(1)===45},pp=function(t){return t!=null&&typeof t!="boolean"},Ga=Wm(function(e){return oy(e)?e:e.replace(hS,"-$&").toLowerCase()}),hp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(mS,function(r,o,i){return Yt={name:o,styles:i,next:Yt},o})}return fS[t]!==1&&!oy(t)&&typeof n=="number"&&n!==0?n+"px":n},yS="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function gi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Yt={name:o.name,styles:o.styles,next:Yt},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Yt={name:s.name,styles:s.styles,next:Yt},s=s.next;var l=i.styles+";";return l}return vS(e,t,n)}case"function":{if(e!==void 0){var a=Yt,u=n(e);return Yt=a,gi(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function vS(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=gi(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":pp(l)&&(r+=Ga(i)+":"+hp(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&pS)throw new Error(yS);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)pp(s[a])&&(r+=Ga(i)+":"+hp(i,s[a])+";");else{var u=gi(e,t,s);switch(i){case"animation":case"animationName":{r+=Ga(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var mp=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Yt;function fd(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Yt=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=gi(n,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=gi(n,t,e[l]),r){var a=i;o+=a[l]}mp.lastIndex=0;for(var u="",c;(c=mp.exec(o))!==null;)u+="-"+c[1];var d=dS(o)+u;return{name:d,styles:o,next:Yt}}var gS=function(t){return t()},iy=Fd.useInsertionEffect?Fd.useInsertionEffect:!1,xS=iy||gS,yp=iy||R.useLayoutEffect,sy=R.createContext(typeof HTMLElement<"u"?Xm({key:"css"}):null),SS=sy.Provider,ly=function(t){return R.forwardRef(function(n,r){var o=R.useContext(sy);return t(n,o,r)})},pd=R.createContext({}),wS=ly(function(e,t){var n=e.styles,r=fd([n],void 0,R.useContext(pd)),o=R.useRef();return yp(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,a=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),a!==null&&(l=!0,a.setAttribute("data-emotion",i),s.hydrate([a])),o.current=[s,l],function(){s.flush()}},[t]),yp(function(){var i=o.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&ry(t,r.next,!0),s.tags.length){var a=s.tags[s.tags.length-1].nextElementSibling;s.before=a,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function ay(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fd(t)}var Al=function(){var t=ay.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},kS=_2,CS=function(t){return t!=="theme"},vp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?kS:CS},gp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},ES=!1,_S=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return ny(n,r,o),xS(function(){return ry(n,r,o)}),null},PS=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=gp(t,n,r),a=l||vp(o),u=!a("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,y=1;y<f;y++)d.push(c[y],c[0][y])}var x=ly(function(v,k,h){var m=u&&v.as||o,g="",S=[],C=v;if(v.theme==null){C={};for(var _ in v)C[_]=v[_];C.theme=R.useContext(pd)}typeof v.className=="string"?g=cS(k.registered,S,v.className):v.className!=null&&(g=v.className+" ");var E=fd(d.concat(S),k.registered,C);g+=k.key+"-"+E.name,s!==void 0&&(g+=" "+s);var w=u&&l===void 0?vp(m):a,b={};for(var O in v)u&&O==="as"||w(O)&&(b[O]=v[O]);return b.className=g,h&&(b.ref=h),R.createElement(R.Fragment,null,R.createElement(_S,{cache:k,serialized:E,isStringTag:typeof m=="string"}),R.createElement(m,b))});return x.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=o,x.__emotion_styles=d,x.__emotion_forwardProp=l,Object.defineProperty(x,"toString",{value:function(){return s===void 0&&ES?"NO_COMPONENT_SELECTOR":"."+s}}),x.withComponent=function(v,k){return e(v,D({},n,k,{shouldForwardProp:gp(x,k,!0)})).apply(void 0,d)},x}},$S=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],tc=PS.bind();$S.forEach(function(e){tc[e]=tc(e)});let nc;typeof document=="object"&&(nc=Xm({key:"css",prepend:!0}));function RS(e){const{injectFirst:t,children:n}=e;return t&&nc?p.jsx(SS,{value:nc,children:n}):n}function jS(e){return e==null||Object.keys(e).length===0}function bS(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(jS(o)?n:o):t;return p.jsx(wS,{styles:r})}function OS(e,t){return tc(e,t)}const TS=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},MS=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:bS,StyledEngineProvider:RS,ThemeContext:pd,css:ay,default:OS,internal_processStyles:TS,keyframes:Al},Symbol.toStringTag,{value:"Module"}));function En(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function uy(e){if(!En(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=uy(e[n])}),t}function tn(e,t,n={clone:!0}){const r=n.clone?D({},e):e;return En(e)&&En(t)&&Object.keys(t).forEach(o=>{En(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&En(e[o])?r[o]=tn(e[o],t[o],n):n.clone?r[o]=En(t[o])?uy(t[o]):t[o]:r[o]=t[o]}),r}const LS=Object.freeze(Object.defineProperty({__proto__:null,default:tn,isPlainObject:En},Symbol.toStringTag,{value:"Module"})),zS=["values","unit","step"],FS=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>D({},n,{[r.key]:r.val}),{})};function cy(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Bt(e,zS),i=FS(t),s=Object.keys(i);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,y){const x=s.indexOf(y);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(x!==-1&&typeof t[s[x]]=="number"?t[s[x]]:y)-r/100}${n})`}function c(f){return s.indexOf(f)+1<s.length?u(f,s[s.indexOf(f)+1]):l(f)}function d(f){const y=s.indexOf(f);return y===0?l(s[1]):y===s.length-1?a(s[y]):u(f,s[s.indexOf(f)+1]).replace("@media","@media not all and")}return D({keys:s,values:i,up:l,down:a,between:u,only:c,not:d,unit:n},o)}const IS={borderRadius:4};function Qo(e,t){return t?tn(e,t,{clone:!1}):e}const hd={xs:0,sm:600,md:900,lg:1200,xl:1536},xp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${hd[e]}px)`};function mn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||xp;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||xp;return Object.keys(t).reduce((s,l)=>{if(Object.keys(i.values||hd).indexOf(l)!==-1){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function NS(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function DS(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function tt(e){if(typeof e!="string")throw new Error(mi(7));return e.charAt(0).toUpperCase()+e.slice(1)}const AS=Object.freeze(Object.defineProperty({__proto__:null,default:tt},Symbol.toStringTag,{value:"Module"}));function Bl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function tl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Bl(e,n)||r,t&&(o=t(o,r,e)),o}function ke(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Bl(a,r)||{};return mn(s,l,d=>{let f=tl(u,o,d);return d===f&&typeof d=="string"&&(f=tl(u,o,`${t}${d==="default"?"":tt(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function BS(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const US={m:"margin",p:"padding"},WS={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},HS=BS(e=>{if(e.length>2)if(Sp[e])e=Sp[e];else return[e];const[t,n]=e.split(""),r=US[t],o=WS[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),md=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],yd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...md,...yd];function Ri(e,t,n,r){var o;const i=(o=Bl(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function dy(e){return Ri(e,"spacing",8)}function ji(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function VS(e,t){return n=>e.reduce((r,o)=>(r[o]=ji(t,n),r),{})}function KS(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=HS(n),i=VS(o,r),s=e[n];return mn(e,s,i)}function fy(e,t){const n=dy(e.theme);return Object.keys(e).map(r=>KS(e,t,r,n)).reduce(Qo,{})}function ve(e){return fy(e,md)}ve.propTypes={};ve.filterProps=md;function ge(e){return fy(e,yd)}ge.propTypes={};ge.filterProps=yd;function GS(e=8){if(e.mui)return e;const t=dy({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Ul(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Qo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Ct(e){return typeof e!="number"?e:`${e}px solid`}function jt(e,t){return ke({prop:e,themeKey:"borders",transform:t})}const QS=jt("border",Ct),qS=jt("borderTop",Ct),YS=jt("borderRight",Ct),XS=jt("borderBottom",Ct),JS=jt("borderLeft",Ct),ZS=jt("borderColor"),ew=jt("borderTopColor"),tw=jt("borderRightColor"),nw=jt("borderBottomColor"),rw=jt("borderLeftColor"),ow=jt("outline",Ct),iw=jt("outlineColor"),Wl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ri(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ji(t,r)});return mn(e,e.borderRadius,n)}return null};Wl.propTypes={};Wl.filterProps=["borderRadius"];Ul(QS,qS,YS,XS,JS,ZS,ew,tw,nw,rw,Wl,ow,iw);const Hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ri(e.theme,"spacing",8),n=r=>({gap:ji(t,r)});return mn(e,e.gap,n)}return null};Hl.propTypes={};Hl.filterProps=["gap"];const Vl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ri(e.theme,"spacing",8),n=r=>({columnGap:ji(t,r)});return mn(e,e.columnGap,n)}return null};Vl.propTypes={};Vl.filterProps=["columnGap"];const Kl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ri(e.theme,"spacing",8),n=r=>({rowGap:ji(t,r)});return mn(e,e.rowGap,n)}return null};Kl.propTypes={};Kl.filterProps=["rowGap"];const sw=ke({prop:"gridColumn"}),lw=ke({prop:"gridRow"}),aw=ke({prop:"gridAutoFlow"}),uw=ke({prop:"gridAutoColumns"}),cw=ke({prop:"gridAutoRows"}),dw=ke({prop:"gridTemplateColumns"}),fw=ke({prop:"gridTemplateRows"}),pw=ke({prop:"gridTemplateAreas"}),hw=ke({prop:"gridArea"});Ul(Hl,Vl,Kl,sw,lw,aw,uw,cw,dw,fw,pw,hw);function Hr(e,t){return t==="grey"?t:e}const mw=ke({prop:"color",themeKey:"palette",transform:Hr}),yw=ke({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Hr}),vw=ke({prop:"backgroundColor",themeKey:"palette",transform:Hr});Ul(mw,yw,vw);function ct(e){return e<=1&&e!==0?`${e*100}%`:e}const gw=ke({prop:"width",transform:ct}),vd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||hd[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:ct(n)}};return mn(e,e.maxWidth,t)}return null};vd.filterProps=["maxWidth"];const xw=ke({prop:"minWidth",transform:ct}),Sw=ke({prop:"height",transform:ct}),ww=ke({prop:"maxHeight",transform:ct}),kw=ke({prop:"minHeight",transform:ct});ke({prop:"size",cssProperty:"width",transform:ct});ke({prop:"size",cssProperty:"height",transform:ct});const Cw=ke({prop:"boxSizing"});Ul(gw,vd,xw,Sw,ww,kw,Cw);const Ew={border:{themeKey:"borders",transform:Ct},borderTop:{themeKey:"borders",transform:Ct},borderRight:{themeKey:"borders",transform:Ct},borderBottom:{themeKey:"borders",transform:Ct},borderLeft:{themeKey:"borders",transform:Ct},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ct},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Wl},color:{themeKey:"palette",transform:Hr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Hr},backgroundColor:{themeKey:"palette",transform:Hr},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:ve},mt:{style:ve},mr:{style:ve},mb:{style:ve},ml:{style:ve},mx:{style:ve},my:{style:ve},margin:{style:ve},marginTop:{style:ve},marginRight:{style:ve},marginBottom:{style:ve},marginLeft:{style:ve},marginX:{style:ve},marginY:{style:ve},marginInline:{style:ve},marginInlineStart:{style:ve},marginInlineEnd:{style:ve},marginBlock:{style:ve},marginBlockStart:{style:ve},marginBlockEnd:{style:ve},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Hl},rowGap:{style:Kl},columnGap:{style:Vl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ct},maxWidth:{style:vd},minWidth:{transform:ct},height:{transform:ct},maxHeight:{transform:ct},minHeight:{transform:ct},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},bi=Ew;function _w(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Pw(e,t){return typeof e=="function"?e(t):e}function py(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Bl(o,u)||{};return d?d(s):mn(s,r,x=>{let v=tl(f,c,x);return x===v&&typeof x=="string"&&(v=tl(f,c,`${n}${x==="default"?"":tt(x)}`,x)),a===!1?v:{[a]:v}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:bi;function l(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=NS(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(y=>{const x=Pw(u[y],i);if(x!=null)if(typeof x=="object")if(s[y])f=Qo(f,e(y,x,i,s));else{const v=mn({theme:i},x,k=>({[y]:k}));_w(v,x)?f[y]=t({sx:x,theme:i}):f=Qo(f,v)}else f=Qo(f,e(y,x,i,s))}),DS(d,f)}return Array.isArray(o)?o.map(l):l(o)}return t}const hy=py();hy.filterProps=["sx"];const gd=hy;function my(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const $w=["breakpoints","palette","spacing","shape"];function yy(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Bt(e,$w),l=cy(n),a=GS(o);let u=tn({breakpoints:l,direction:"ltr",components:{},palette:D({mode:"light"},r),spacing:a,shape:D({},IS,i)},s);return u.applyStyles=my,u=t.reduce((c,d)=>tn(c,d),u),u.unstable_sxConfig=D({},bi,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return gd({sx:d,theme:this})},u}const Rw=Object.freeze(Object.defineProperty({__proto__:null,default:yy,private_createBreakpoints:cy,unstable_applyStyles:my},Symbol.toStringTag,{value:"Module"})),jw=["sx"],bw=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:bi;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Ow(e){const{sx:t}=e,n=Bt(e,jw),{systemProps:r,otherProps:o}=bw(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return En(l)?D({},r,l):r}:i=D({},r,t),D({},o,{sx:i})}const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:gd,extendSxProp:Ow,unstable_createStyleFunctionSx:py,unstable_defaultSxConfig:bi},Symbol.toStringTag,{value:"Module"})),wp=e=>e,Mw=()=>{let e=wp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wp}}},Lw=Mw(),zw={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function xd(e,t,n="Mui"){const r=zw[t];return r?`${n}-${r}`:`${Lw.generate(e)}-${t}`}function Sd(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=xd(e,o,n)}),r}var vy={exports:{}},ne={};/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wd=Symbol.for("react.element"),kd=Symbol.for("react.portal"),Gl=Symbol.for("react.fragment"),Ql=Symbol.for("react.strict_mode"),ql=Symbol.for("react.profiler"),Yl=Symbol.for("react.provider"),Xl=Symbol.for("react.context"),Fw=Symbol.for("react.server_context"),Jl=Symbol.for("react.forward_ref"),Zl=Symbol.for("react.suspense"),ea=Symbol.for("react.suspense_list"),ta=Symbol.for("react.memo"),na=Symbol.for("react.lazy"),Iw=Symbol.for("react.offscreen"),gy;gy=Symbol.for("react.module.reference");function bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case wd:switch(e=e.type,e){case Gl:case ql:case Ql:case Zl:case ea:return e;default:switch(e=e&&e.$$typeof,e){case Fw:case Xl:case Jl:case na:case ta:case Yl:return e;default:return t}}case kd:return t}}}ne.ContextConsumer=Xl;ne.ContextProvider=Yl;ne.Element=wd;ne.ForwardRef=Jl;ne.Fragment=Gl;ne.Lazy=na;ne.Memo=ta;ne.Portal=kd;ne.Profiler=ql;ne.StrictMode=Ql;ne.Suspense=Zl;ne.SuspenseList=ea;ne.isAsyncMode=function(){return!1};ne.isConcurrentMode=function(){return!1};ne.isContextConsumer=function(e){return bt(e)===Xl};ne.isContextProvider=function(e){return bt(e)===Yl};ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wd};ne.isForwardRef=function(e){return bt(e)===Jl};ne.isFragment=function(e){return bt(e)===Gl};ne.isLazy=function(e){return bt(e)===na};ne.isMemo=function(e){return bt(e)===ta};ne.isPortal=function(e){return bt(e)===kd};ne.isProfiler=function(e){return bt(e)===ql};ne.isStrictMode=function(e){return bt(e)===Ql};ne.isSuspense=function(e){return bt(e)===Zl};ne.isSuspenseList=function(e){return bt(e)===ea};ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gl||e===ql||e===Ql||e===Zl||e===ea||e===Iw||typeof e=="object"&&e!==null&&(e.$$typeof===na||e.$$typeof===ta||e.$$typeof===Yl||e.$$typeof===Xl||e.$$typeof===Jl||e.$$typeof===gy||e.getModuleId!==void 0)};ne.typeOf=bt;vy.exports=ne;var kp=vy.exports;const Nw=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xy(e){const t=`${e}`.match(Nw);return t&&t[1]||""}function Sy(e,t=""){return e.displayName||e.name||xy(e)||t}function Cp(e,t,n){const r=Sy(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Dw(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Sy(e,"Component");if(typeof e=="object")switch(e.$$typeof){case kp.ForwardRef:return Cp(e,e.render,"ForwardRef");case kp.Memo:return Cp(e,e.type,"memo");default:return}}}const Aw=Object.freeze(Object.defineProperty({__proto__:null,default:Dw,getFunctionName:xy},Symbol.toStringTag,{value:"Module"}));function nl(e,t){const n=D({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=D({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=D({},i),Object.keys(o).forEach(s=>{n[r][s]=nl(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const Bw=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Uw(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:Uw},Symbol.toStringTag,{value:"Module"}));function Hw(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ns(e){const t=R.useRef(e);return Bw(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function Ep(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Hw(n,t)})},e)}const _p={};function Vw(e,t){const n=R.useRef(_p);return n.current===_p&&(n.current=e(t)),n}const Kw=[];function Gw(e){R.useEffect(e,Kw)}class ra{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ra}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Qw(){const e=Vw(ra.create).current;return Gw(e.disposeEffect),e}let oa=!0,rc=!1;const qw=new ra,Yw={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Xw(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Yw[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Jw(e){e.metaKey||e.altKey||e.ctrlKey||(oa=!0)}function Qa(){oa=!1}function Zw(){this.visibilityState==="hidden"&&rc&&(oa=!0)}function e5(e){e.addEventListener("keydown",Jw,!0),e.addEventListener("mousedown",Qa,!0),e.addEventListener("pointerdown",Qa,!0),e.addEventListener("touchstart",Qa,!0),e.addEventListener("visibilitychange",Zw,!0)}function t5(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return oa||Xw(t)}function n5(){const e=R.useCallback(o=>{o!=null&&e5(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(rc=!0,qw.start(100,()=>{rc=!1}),t.current=!1,!0):!1}function r(o){return t5(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function wy(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const l=t(s);l!==""&&i.push(l),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const r5=R.createContext(void 0);function o5(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?nl(o.defaultProps,r):!o.styleOverrides&&!o.variants?nl(o,r):r}function i5({props:e,name:t}){const n=R.useContext(r5);return o5({props:e,name:t,theme:{components:n}})}function s5(e,t){return D({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ce={},ky={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ky);var Cy=ky.exports;const l5=Wn(k2),a5=Wn(Ww);var Ey=Cy;Object.defineProperty(Ce,"__esModule",{value:!0});var rs=Ce.alpha=Ry;Ce.blend=w5;Ce.colorChannel=void 0;var u5=Ce.darken=Ed;Ce.decomposeColor=Rt;Ce.emphasize=jy;var c5=Ce.getContrastRatio=y5;Ce.getLuminance=rl;Ce.hexToRgb=_y;Ce.hslToRgb=$y;var d5=Ce.lighten=_d;Ce.private_safeAlpha=v5;Ce.private_safeColorChannel=void 0;Ce.private_safeDarken=g5;Ce.private_safeEmphasize=S5;Ce.private_safeLighten=x5;Ce.recomposeColor=go;Ce.rgbToHex=m5;var Pp=Ey(l5),f5=Ey(a5);function Cd(e,t=0,n=1){return(0,f5.default)(e,t,n)}function _y(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function p5(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Rt(e){if(e.type)return e;if(e.charAt(0)==="#")return Rt(_y(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Pp.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Pp.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Py=e=>{const t=Rt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ce.colorChannel=Py;const h5=(e,t)=>{try{return Py(e)}catch{return e}};Ce.private_safeColorChannel=h5;function go(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function m5(e){if(e.indexOf("#")===0)return e;const{values:t}=Rt(e);return`#${t.map((n,r)=>p5(r===3?Math.round(255*n):n)).join("")}`}function $y(e){e=Rt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),go({type:l,values:a})}function rl(e){e=Rt(e);let t=e.type==="hsl"||e.type==="hsla"?Rt($y(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function y5(e,t){const n=rl(e),r=rl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ry(e,t){return e=Rt(e),t=Cd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,go(e)}function v5(e,t,n){try{return Ry(e,t)}catch{return e}}function Ed(e,t){if(e=Rt(e),t=Cd(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return go(e)}function g5(e,t,n){try{return Ed(e,t)}catch{return e}}function _d(e,t){if(e=Rt(e),t=Cd(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return go(e)}function x5(e,t,n){try{return _d(e,t)}catch{return e}}function jy(e,t=.15){return rl(e)>.5?Ed(e,t):_d(e,t)}function S5(e,t,n){try{return jy(e,t)}catch{return e}}function w5(e,t,n,r=1){const o=(a,u)=>Math.round((a**(1/r)*(1-n)+u**(1/r)*n)**r),i=Rt(e),s=Rt(t),l=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return go({type:"rgb",values:l})}const k5=["mode","contrastThreshold","tonalOffset"],$p={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:hi.white,default:hi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},qa={text:{primary:hi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:hi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Rp(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=d5(e.main,o):t==="dark"&&(e.dark=u5(e.main,i)))}function C5(e="light"){return e==="dark"?{main:gr[200],light:gr[50],dark:gr[400]}:{main:gr[700],light:gr[400],dark:gr[800]}}function E5(e="light"){return e==="dark"?{main:vr[200],light:vr[50],dark:vr[400]}:{main:vr[500],light:vr[300],dark:vr[700]}}function _5(e="light"){return e==="dark"?{main:yr[500],light:yr[300],dark:yr[700]}:{main:yr[700],light:yr[400],dark:yr[800]}}function P5(e="light"){return e==="dark"?{main:xr[400],light:xr[300],dark:xr[700]}:{main:xr[700],light:xr[500],dark:xr[900]}}function $5(e="light"){return e==="dark"?{main:Sr[400],light:Sr[300],dark:Sr[700]}:{main:Sr[800],light:Sr[500],dark:Sr[900]}}function R5(e="light"){return e==="dark"?{main:Oo[400],light:Oo[300],dark:Oo[700]}:{main:"#ed6c02",light:Oo[500],dark:Oo[900]}}function j5(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Bt(e,k5),i=e.primary||C5(t),s=e.secondary||E5(t),l=e.error||_5(t),a=e.info||P5(t),u=e.success||$5(t),c=e.warning||R5(t);function d(v){return c5(v,qa.text.primary)>=n?qa.text.primary:$p.text.primary}const f=({color:v,name:k,mainShade:h=500,lightShade:m=300,darkShade:g=700})=>{if(v=D({},v),!v.main&&v[h]&&(v.main=v[h]),!v.hasOwnProperty("main"))throw new Error(mi(11,k?` (${k})`:"",h));if(typeof v.main!="string")throw new Error(mi(12,k?` (${k})`:"",JSON.stringify(v.main)));return Rp(v,"light",m,r),Rp(v,"dark",g,r),v.contrastText||(v.contrastText=d(v.main)),v},y={dark:qa,light:$p};return tn(D({common:D({},hi),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:w2,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},y[t]),o)}const b5=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function O5(e){return Math.round(e*1e5)/1e5}const jp={textTransform:"uppercase"},bp='"Roboto", "Helvetica", "Arial", sans-serif';function T5(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=bp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=Bt(n,b5),y=o/14,x=d||(h=>`${h/u*y}rem`),v=(h,m,g,S,C)=>D({fontFamily:r,fontWeight:h,fontSize:x(m),lineHeight:g},r===bp?{letterSpacing:`${O5(S/m)}em`}:{},C,c),k={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(l,14,1.75,.4,jp),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,jp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tn(D({htmlFontSize:u,pxToRem:x,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},k),f,{clone:!1})}const M5=.2,L5=.14,z5=.12;function ce(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${M5})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${L5})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${z5})`].join(",")}const F5=["none",ce(0,2,1,-1,0,1,1,0,0,1,3,0),ce(0,3,1,-2,0,2,2,0,0,1,5,0),ce(0,3,3,-2,0,3,4,0,0,1,8,0),ce(0,2,4,-1,0,4,5,0,0,1,10,0),ce(0,3,5,-1,0,5,8,0,0,1,14,0),ce(0,3,5,-1,0,6,10,0,0,1,18,0),ce(0,4,5,-2,0,7,10,1,0,2,16,1),ce(0,5,5,-3,0,8,10,1,0,3,14,2),ce(0,5,6,-3,0,9,12,1,0,3,16,2),ce(0,6,6,-3,0,10,14,1,0,4,18,3),ce(0,6,7,-4,0,11,15,1,0,4,20,3),ce(0,7,8,-4,0,12,17,2,0,5,22,4),ce(0,7,8,-4,0,13,19,2,0,5,24,4),ce(0,7,9,-4,0,14,21,2,0,5,26,4),ce(0,8,9,-5,0,15,22,2,0,6,28,5),ce(0,8,10,-5,0,16,24,2,0,6,30,5),ce(0,8,11,-5,0,17,26,2,0,6,32,5),ce(0,9,11,-5,0,18,28,2,0,7,34,6),ce(0,9,12,-6,0,19,29,2,0,7,36,6),ce(0,10,13,-6,0,20,31,3,0,8,38,7),ce(0,10,13,-6,0,21,33,3,0,8,40,7),ce(0,10,14,-6,0,22,35,3,0,8,42,7),ce(0,11,14,-7,0,23,36,3,0,9,44,8),ce(0,11,15,-7,0,24,38,3,0,9,46,8)],I5=["duration","easing","delay"],N5={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},D5={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Op(e){return`${Math.round(e)}ms`}function A5(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function B5(e){const t=D({},N5,e.easing),n=D({},D5,e.duration);return D({getAutoHeightDuration:A5,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0}=i;return Bt(i,I5),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:Op(s)} ${l} ${typeof a=="string"?a:Op(a)}`).join(",")}},e,{easing:t,duration:n})}const U5={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},W5=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function H5(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=Bt(e,W5);if(e.vars)throw new Error(mi(18));const l=j5(r),a=yy(e);let u=tn(a,{mixins:s5(a.breakpoints,n),palette:l,shadows:F5.slice(),typography:T5(l,i),transitions:B5(o),zIndex:D({},U5)});return u=tn(u,s),u=t.reduce((c,d)=>tn(c,d),u),u.unstable_sxConfig=D({},bi,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return gd({sx:d,theme:this})},u}const V5=H5();var Oi={},Ya={exports:{}},Tp;function K5(){return Tp||(Tp=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)({}).hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ya)),Ya.exports}var Xa={exports:{}},Mp;function G5(){return Mp||(Mp=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.includes(i))continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Xa)),Xa.exports}const Q5=Wn(MS),q5=Wn(LS),Y5=Wn(AS),X5=Wn(Aw),J5=Wn(Rw),Z5=Wn(Tw);var xo=Cy;Object.defineProperty(Oi,"__esModule",{value:!0});var ek=Oi.default=pk;Oi.shouldForwardProp=Cs;Oi.systemDefaultTheme=void 0;var xt=xo(K5()),oc=xo(G5()),Lp=lk(Q5),tk=q5;xo(Y5);xo(X5);var nk=xo(J5),rk=xo(Z5);const ok=["ownerState"],ik=["variants"],sk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function by(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(by=function(r){return r?n:t})(e)}function lk(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=by(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function ak(e){return Object.keys(e).length===0}function uk(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Cs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ck=Oi.systemDefaultTheme=(0,nk.default)(),dk=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function os({defaultTheme:e,theme:t,themeId:n}){return ak(t)?e:t[n]||t}function fk(e){return e?(t,n)=>n[e]:null}function Es(e,t){let{ownerState:n}=t,r=(0,oc.default)(t,ok);const o=typeof e=="function"?e((0,xt.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Es(i,(0,xt.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=(0,oc.default)(o,ik);return i.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props((0,xt.default)({ownerState:n},r,n)):Object.keys(a.props).forEach(c=>{(n==null?void 0:n[c])!==a.props[c]&&r[c]!==a.props[c]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof a.style=="function"?a.style((0,xt.default)({ownerState:n},r,n)):a.style))}),l}return o}function pk(e={}){const{themeId:t,defaultTheme:n=ck,rootShouldForwardProp:r=Cs,slotShouldForwardProp:o=Cs}=e,i=s=>(0,rk.default)((0,xt.default)({},s,{theme:os((0,xt.default)({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,l={})=>{(0,Lp.internal_processStyles)(s,C=>C.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=fk(dk(u))}=l,y=(0,oc.default)(l,sk),x=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,v=d||!1;let k,h=Cs;u==="Root"||u==="root"?h=r:u?h=o:uk(s)&&(h=void 0);const m=(0,Lp.default)(s,(0,xt.default)({shouldForwardProp:h,label:k},y)),g=C=>typeof C=="function"&&C.__emotion_real!==C||(0,tk.isPlainObject)(C)?_=>Es(C,(0,xt.default)({},_,{theme:os({theme:_.theme,defaultTheme:n,themeId:t})})):C,S=(C,..._)=>{let E=g(C);const w=_?_.map(g):[];a&&f&&w.push(z=>{const F=os((0,xt.default)({},z,{defaultTheme:n,themeId:t}));if(!F.components||!F.components[a]||!F.components[a].styleOverrides)return null;const I=F.components[a].styleOverrides,W={};return Object.entries(I).forEach(([G,N])=>{W[G]=Es(N,(0,xt.default)({},z,{theme:F}))}),f(z,W)}),a&&!x&&w.push(z=>{var F;const I=os((0,xt.default)({},z,{defaultTheme:n,themeId:t})),W=I==null||(F=I.components)==null||(F=F[a])==null?void 0:F.variants;return Es({variants:W},(0,xt.default)({},z,{theme:I}))}),v||w.push(i);const b=w.length-_.length;if(Array.isArray(C)&&b>0){const z=new Array(b).fill("");E=[...C,...z],E.raw=[...C.raw,...z]}const O=m(E,...w);return s.muiName&&(O.muiName=s.muiName),O};return m.withConfig&&(S.withConfig=m.withConfig),S}}function hk(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Oy=e=>hk(e)&&e!=="classes",So=ek({themeId:C2,defaultTheme:V5,rootShouldForwardProp:Oy});function Pd(e){return i5(e)}function ic(e,t){return ic=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ic(e,t)}function mk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ic(e,t)}const zp=X.createContext(null);function yk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function vk(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var a in t){if(r[a])for(s=0;s<r[a].length;s++){var u=r[a][s];l[r[a][s]]=n(u)}l[a]=n(a)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function tr(e,t,n){return n[t]!=null?n[t]:e.props[t]}function gk(e,t){return $d(e.children,function(n){return R.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:tr(n,"appear",e),enter:tr(n,"enter",e),exit:tr(n,"exit",e)})})}function xk(e,t,n){var r=$d(e.children),o=vk(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(R.isValidElement(s)){var l=i in t,a=i in r,u=t[i],c=R.isValidElement(u)&&!u.props.in;a&&(!l||c)?o[i]=R.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:tr(s,"exit",e),enter:tr(s,"enter",e)}):!a&&l&&!c?o[i]=R.cloneElement(s,{in:!1}):a&&l&&R.isValidElement(u)&&(o[i]=R.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:tr(s,"exit",e),enter:tr(s,"enter",e)}))}}),o}var Sk=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},wk={component:"div",childFactory:function(t){return t}},Rd=function(e){mk(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(yk(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,a=i.firstRender;return{children:a?gk(o,l):xk(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=$d(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var a=D({},l.children);return delete a[o.key],{children:a}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=Bt(o,["component","childFactory"]),a=this.state.contextValue,u=Sk(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?X.createElement(zp.Provider,{value:a},u):X.createElement(zp.Provider,{value:a},X.createElement(i,l,u))},t}(X.Component);Rd.propTypes={};Rd.defaultProps=wk;function kk(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[c,d]=R.useState(!1),f=Z(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},x=Z(n.child,c&&n.childLeaving,r&&n.childPulsate);return!l&&!c&&d(!0),R.useEffect(()=>{if(!l&&a!=null){const v=setTimeout(a,u);return()=>{clearTimeout(v)}}},[a,l,u]),p.jsx("span",{className:f,style:y,children:p.jsx("span",{className:x})})}const St=Sd("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ck=["center","classes","className"];let ia=e=>e,Fp,Ip,Np,Dp;const sc=550,Ek=80,_k=Al(Fp||(Fp=ia`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),Pk=Al(Ip||(Ip=ia`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),$k=Al(Np||(Np=ia`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),Rk=So("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),jk=So(kk,{name:"MuiTouchRipple",slot:"Ripple"})(Dp||(Dp=ia`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),St.rippleVisible,_k,sc,({theme:e})=>e.transitions.easing.easeInOut,St.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,St.child,St.childLeaving,Pk,sc,({theme:e})=>e.transitions.easing.easeInOut,St.childPulsate,$k,({theme:e})=>e.transitions.easing.easeInOut),bk=R.forwardRef(function(t,n){const r=Pd({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,l=Bt(r,Ck),[a,u]=R.useState([]),c=R.useRef(0),d=R.useRef(null);R.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const f=R.useRef(!1),y=Qw(),x=R.useRef(null),v=R.useRef(null),k=R.useCallback(S=>{const{pulsate:C,rippleX:_,rippleY:E,rippleSize:w,cb:b}=S;u(O=>[...O,p.jsx(jk,{classes:{ripple:Z(i.ripple,St.ripple),rippleVisible:Z(i.rippleVisible,St.rippleVisible),ripplePulsate:Z(i.ripplePulsate,St.ripplePulsate),child:Z(i.child,St.child),childLeaving:Z(i.childLeaving,St.childLeaving),childPulsate:Z(i.childPulsate,St.childPulsate)},timeout:sc,pulsate:C,rippleX:_,rippleY:E,rippleSize:w},c.current)]),c.current+=1,d.current=b},[i]),h=R.useCallback((S={},C={},_=()=>{})=>{const{pulsate:E=!1,center:w=o||C.pulsate,fakeElement:b=!1}=C;if((S==null?void 0:S.type)==="mousedown"&&f.current){f.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(f.current=!0);const O=b?null:v.current,z=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,I,W;if(w||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)F=Math.round(z.width/2),I=Math.round(z.height/2);else{const{clientX:G,clientY:N}=S.touches&&S.touches.length>0?S.touches[0]:S;F=Math.round(G-z.left),I=Math.round(N-z.top)}if(w)W=Math.sqrt((2*z.width**2+z.height**2)/3),W%2===0&&(W+=1);else{const G=Math.max(Math.abs((O?O.clientWidth:0)-F),F)*2+2,N=Math.max(Math.abs((O?O.clientHeight:0)-I),I)*2+2;W=Math.sqrt(G**2+N**2)}S!=null&&S.touches?x.current===null&&(x.current=()=>{k({pulsate:E,rippleX:F,rippleY:I,rippleSize:W,cb:_})},y.start(Ek,()=>{x.current&&(x.current(),x.current=null)})):k({pulsate:E,rippleX:F,rippleY:I,rippleSize:W,cb:_})},[o,k,y]),m=R.useCallback(()=>{h({},{pulsate:!0})},[h]),g=R.useCallback((S,C)=>{if(y.clear(),(S==null?void 0:S.type)==="touchend"&&x.current){x.current(),x.current=null,y.start(0,()=>{g(S,C)});return}x.current=null,u(_=>_.length>0?_.slice(1):_),d.current=C},[y]);return R.useImperativeHandle(n,()=>({pulsate:m,start:h,stop:g}),[m,h,g]),p.jsx(Rk,D({className:Z(St.root,i.root,s),ref:v},l,{children:p.jsx(Rd,{component:null,exit:!0,children:a})}))});function Ok(e){return xd("MuiButtonBase",e)}const Tk=Sd("MuiButtonBase",["root","disabled","focusVisible"]),Mk=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Lk=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=wy({root:["root",t&&"disabled",n&&"focusVisible"]},Ok,o);return n&&r&&(s.root+=` ${r}`),s},zk=So("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Tk.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fk=R.forwardRef(function(t,n){const r=Pd({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:y="a",onBlur:x,onClick:v,onContextMenu:k,onDragLeave:h,onFocus:m,onFocusVisible:g,onKeyDown:S,onKeyUp:C,onMouseDown:_,onMouseLeave:E,onMouseUp:w,onTouchEnd:b,onTouchMove:O,onTouchStart:z,tabIndex:F=0,TouchRippleProps:I,touchRippleRef:W,type:G}=r,N=Bt(r,Mk),re=R.useRef(null),$=R.useRef(null),T=Ep($,W),{isFocusVisibleRef:L,onFocus:A,onBlur:V,ref:Q}=n5(),[oe,lt]=R.useState(!1);u&&oe&&lt(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{lt(!0),re.current.focus()}}),[]);const[Ee,Ve]=R.useState(!1);R.useEffect(()=>{Ve(!0)},[]);const Ze=Ee&&!c&&!u;R.useEffect(()=>{oe&&f&&!c&&Ee&&$.current.pulsate()},[c,f,oe,Ee]);function me(B,bd,Wy=d){return ns(Od=>(bd&&bd(Od),!Wy&&$.current&&$.current[B](Od),!0))}const Ot=me("start",_),ye=me("stop",k),ie=me("stop",h),nn=me("stop",w),wo=me("stop",B=>{oe&&B.preventDefault(),E&&E(B)}),la=me("start",z),aa=me("stop",b),ua=me("stop",O),ca=me("stop",B=>{V(B),L.current===!1&&lt(!1),x&&x(B)},!1),da=ns(B=>{re.current||(re.current=B.currentTarget),A(B),L.current===!0&&(lt(!0),g&&g(B)),m&&m(B)}),fa=()=>{const B=re.current;return a&&a!=="button"&&!(B.tagName==="A"&&B.href)},pa=R.useRef(!1),Dy=ns(B=>{f&&!pa.current&&oe&&$.current&&B.key===" "&&(pa.current=!0,$.current.stop(B,()=>{$.current.start(B)})),B.target===B.currentTarget&&fa()&&B.key===" "&&B.preventDefault(),S&&S(B),B.target===B.currentTarget&&fa()&&B.key==="Enter"&&!u&&(B.preventDefault(),v&&v(B))}),Ay=ns(B=>{f&&B.key===" "&&$.current&&oe&&!B.defaultPrevented&&(pa.current=!1,$.current.stop(B,()=>{$.current.pulsate(B)})),C&&C(B),v&&B.target===B.currentTarget&&fa()&&B.key===" "&&!B.defaultPrevented&&v(B)});let Ti=a;Ti==="button"&&(N.href||N.to)&&(Ti=y);const ko={};Ti==="button"?(ko.type=G===void 0?"button":G,ko.disabled=u):(!N.href&&!N.to&&(ko.role="button"),u&&(ko["aria-disabled"]=u));const By=Ep(n,Q,re),jd=D({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:F,focusVisible:oe}),Uy=Lk(jd);return p.jsxs(zk,D({as:Ti,className:Z(Uy.root,l),ownerState:jd,onBlur:ca,onClick:v,onContextMenu:ye,onFocus:da,onKeyDown:Dy,onKeyUp:Ay,onMouseDown:Ot,onMouseLeave:wo,onMouseUp:nn,onDragLeave:ie,onTouchEnd:aa,onTouchMove:ua,onTouchStart:la,ref:By,tabIndex:u?-1:F,type:G},ko,N,{children:[s,Ze?p.jsx(bk,D({ref:T,center:i},I)):null]}))});function Ik(e){return xd("MuiButton",e)}const is=Sd("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Nk=R.createContext({}),Dk=R.createContext(void 0),Ak=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Bk=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${tt(t)}`,`size${tt(o)}`,`${i}Size${tt(o)}`,`color${tt(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${tt(o)}`],endIcon:["icon","endIcon",`iconSize${tt(o)}`]},a=wy(l,Ik,s);return D({},s,a)},Ty=e=>D({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Uk=So(Fk,{shouldForwardProp:e=>Oy(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${tt(n.color)}`],t[`size${tt(n.size)}`],t[`${n.variant}Size${tt(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return D({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":D({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:rs(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:rs(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:rs(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":D({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${is.focusVisible}`]:D({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${is.disabled}`]:D({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${rs(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${is.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${is.disabled}`]:{boxShadow:"none"}}),Wk=So("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${tt(n.size)}`]]}})(({ownerState:e})=>D({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Ty(e))),Hk=So("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${tt(n.size)}`]]}})(({ownerState:e})=>D({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Ty(e))),Ap=R.forwardRef(function(t,n){const r=R.useContext(Nk),o=R.useContext(Dk),i=nl(r,t),s=Pd({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:y=!1,endIcon:x,focusVisibleClassName:v,fullWidth:k=!1,size:h="medium",startIcon:m,type:g,variant:S="text"}=s,C=Bt(s,Ak),_=D({},s,{color:a,component:u,disabled:d,disableElevation:f,disableFocusRipple:y,fullWidth:k,size:h,type:g,variant:S}),E=Bk(_),w=m&&p.jsx(Wk,{className:E.startIcon,ownerState:_,children:m}),b=x&&p.jsx(Hk,{className:E.endIcon,ownerState:_,children:x}),O=o||"";return p.jsxs(Uk,D({ownerState:_,className:Z(r.className,E.root,c,O),component:u,disabled:d,focusRipple:!y,focusVisibleClassName:Z(E.focusVisible,v),ref:n,type:g},C,{classes:E,children:[w,l,b]}))}),Bp="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let Up;class Vk{constructor(){if(this.token="",this.logIn=async(t,n)=>{const{user:r,token:o}=await(await this.post("login",{email:t,password:n})).json();return this.token=o,r},this.logOut=async()=>await(await this.postAuth("logout")).json(),this.post=async(t,n=void 0,r=void 0)=>{const o=await fetch(`${Bp}${t}`,{mode:"cors",method:"post",headers:r,body:JSON.stringify(n)});if(o.ok)return o;throw await o.json()},this.postAuth=async(t,n=void 0,r=void 0)=>{const o=await fetch(`${Bp}${t}`,{mode:"cors",method:"post",headers:{token:this.token,...r},body:JSON.stringify(n)});if(o.ok)return o;throw await o.json()},Up)throw new Error("New instance cannot be created!!");Up=this}}const Wp=new Vk;var Kk={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Hp=e=>{let t;const n=new Set,r=(c,d)=>{const f=typeof c=="function"?c(t):c;if(!Object.is(f,t)){const y=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(x=>x(t,y))}},o=()=>t,a={setState:r,getState:o,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(Kk?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,a);return a},Gk=e=>e?Hp(e):Hp;var My={exports:{}},Ly={},zy={exports:{}},Fy={};/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var po=R;function Qk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qk=typeof Object.is=="function"?Object.is:Qk,Yk=po.useState,Xk=po.useEffect,Jk=po.useLayoutEffect,Zk=po.useDebugValue;function eC(e,t){var n=t(),r=Yk({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Jk(function(){o.value=n,o.getSnapshot=t,Ja(o)&&i({inst:o})},[e,n,t]),Xk(function(){return Ja(o)&&i({inst:o}),e(function(){Ja(o)&&i({inst:o})})},[e]),Zk(n),n}function Ja(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qk(e,n)}catch{return!0}}function tC(e,t){return t()}var nC=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?tC:eC;Fy.useSyncExternalStore=po.useSyncExternalStore!==void 0?po.useSyncExternalStore:nC;zy.exports=Fy;var rC=zy.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sa=R,oC=rC;function iC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sC=typeof Object.is=="function"?Object.is:iC,lC=oC.useSyncExternalStore,aC=sa.useRef,uC=sa.useEffect,cC=sa.useMemo,dC=sa.useDebugValue;Ly.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=aC(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=cC(function(){function a(y){if(!u){if(u=!0,c=y,y=r(y),o!==void 0&&s.hasValue){var x=s.value;if(o(x,y))return d=x}return d=y}if(x=d,sC(c,y))return x;var v=r(y);return o!==void 0&&o(x,v)?x:(c=y,d=v)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var l=lC(e,i[0],i[1]);return uC(function(){s.hasValue=!0,s.value=l},[l]),dC(l),l};My.exports=Ly;var fC=My.exports;const pC=th(fC);var Iy={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:hC}=X,{useSyncExternalStoreWithSelector:mC}=pC;let Vp=!1;const yC=e=>e;function vC(e,t=yC,n){(Iy?"production":void 0)!=="production"&&n&&!Vp&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Vp=!0);const r=mC(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return hC(r),r}const gC=e=>{(Iy?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?Gk(e):e,n=(r,o)=>vC(t,r,o);return Object.assign(n,t),n},xC=e=>gC;var Za={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const lc=new Map,ss=e=>{const t=lc.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},SC=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=lc.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return lc.set(n.name,o),{type:"tracked",store:e,...o}},wC=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:s,store:l,...a}=t;let u;try{u=(i??(Za?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(Za?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:c,...d}=SC(l,u,a);let f=!0;o.setState=(v,k,h)=>{const m=n(v,k);if(!f)return m;const g=h===void 0?{type:s||"anonymous"}:typeof h=="string"?{type:h}:h;return l===void 0?(c==null||c.send(g,r()),m):(c==null||c.send({...g,type:`${l}/${g.type}`},{...ss(a.name),[l]:o.getState()}),m)};const y=(...v)=>{const k=f;f=!1,n(...v),f=k},x=e(o.setState,r,o);if(d.type==="untracked"?c==null||c.init(x):(d.stores[d.store]=o,c==null||c.init(Object.fromEntries(Object.entries(d.stores).map(([v,k])=>[v,v===d.store?x:k.getState()])))),o.dispatchFromDevtools&&typeof o.dispatch=="function"){let v=!1;const k=o.dispatch;o.dispatch=(...h)=>{(Za?"production":void 0)!=="production"&&h[0].type==="__setState"&&!v&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),v=!0),k(...h)}}return c.subscribe(v=>{var k;switch(v.type){case"ACTION":if(typeof v.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return eu(v.payload,h=>{if(h.type==="__setState"){if(l===void 0){y(h.state);return}Object.keys(h.state).length!==1&&console.error(`
[zustand devtools middleware] Unsupported __setState action format.
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
`);const m=h.state[l];if(m==null)return;JSON.stringify(o.getState())!==JSON.stringify(m)&&y(m);return}o.dispatchFromDevtools&&typeof o.dispatch=="function"&&o.dispatch(h)});case"DISPATCH":switch(v.payload.type){case"RESET":return y(x),l===void 0?c==null?void 0:c.init(o.getState()):c==null?void 0:c.init(ss(a.name));case"COMMIT":if(l===void 0){c==null||c.init(o.getState());return}return c==null?void 0:c.init(ss(a.name));case"ROLLBACK":return eu(v.state,h=>{if(l===void 0){y(h),c==null||c.init(o.getState());return}y(h[l]),c==null||c.init(ss(a.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return eu(v.state,h=>{if(l===void 0){y(h);return}JSON.stringify(o.getState())!==JSON.stringify(h[l])&&y(h[l])});case"IMPORT_STATE":{const{nextLiftedState:h}=v.payload,m=(k=h.computedStates.slice(-1)[0])==null?void 0:k.state;if(!m)return;y(l===void 0?m:m[l]),c==null||c.send(null,h);return}case"PAUSE_RECORDING":return f=!f}return}}),x},kC=wC,eu=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)},CC=xC()(kC(e=>({user:void 0,setUser:t=>e(()=>({user:t}))}))),EC=Ig("/")({component:_C});function _C(){const e=CC(t=>t.setUser);return p.jsxs(p.Fragment,{children:[p.jsx(Ap,{onClick:async()=>{try{e(await Wp.logIn("max@moritz.net","max"))}catch(t){console.log(t)}},children:"Log In"}),p.jsx(Ap,{onClick:async()=>{try{await Wp.logOut(),e(void 0)}catch(t){console.log(t)}},children:"Log Out"})]})}const PC=EC.update({path:"/",getParentRoute:()=>Um}),$C=Um.addChildren({IndexRoute:PC}),Ny=new Mv,RC=kg({routeTree:$C,context:{queryClient:Ny},defaultPreload:"intent",defaultPreloadStaleTime:0,basepath:"/phpCourse/exam"}),Kp=document.getElementById("root");Kp.innerHTML||Yu.createRoot(Kp).render(p.jsx(R.StrictMode,{children:p.jsxs(zv,{client:Ny,children:[p.jsx(Jx,{router:RC}),p.jsx(Zx,{initialIsOpen:!1})]})}));