const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LandingPage-DiT8KJV3.js","assets/Button-Cu8l7rID.js","assets/authSchemas-DDkGZrcM.js","assets/studentRegistrationSchemas-CVTP24QO.js","assets/schemas-BwNPnT22.js","assets/x-D4vgwdOf.js","assets/menu-Da05vmTL.js","assets/award-Cb8JG_li.js","assets/phone-DYXWN0h8.js","assets/graduation-cap-B3zNhUOw.js","assets/map-pin-C8p0ntE-.js","assets/users-BLfoITz0.js","assets/book-open-d9PZeRFr.js","assets/multiUserApiClient-CKPzIhIr.js","assets/cycleStore-Brm22ojq.js","assets/shield-Beyfz6Tk.js","assets/circle-check-big-CvbUXdGb.js","assets/trending-up-CtUJlxeB.js","assets/clock-BPH_g82s.js","assets/LoginPage-yGbsSkiM.js","assets/usePublicPageRedirect-BmN2olSc.js","assets/registerService-CxQfNS19.js","assets/endpoints-BUXROgJ9.js","assets/handleFormErrors-CaWHVJ6Q.js","assets/useAuth-DEWkUfUW.js","assets/authService-7ekyJsWC.js","assets/RegisterPage-BTFIrnsY.js","assets/useStudentRegistration-By0cAFYN.js","assets/search-h1vL1q1e.js","assets/user-Dm-qAtiL.js","assets/StudentLayout-Dj1UoTgg.js","assets/DashboardLayout-CZTqwOUi.js","assets/log-out-C3ghZd_W.js","assets/school-CCnutwvi.js","assets/settings-L85C4ab2.js","assets/Can-w-eLoK-Q.js","assets/chevron-down-4ep2ftiY.js","assets/StudentDashboard-DK7lVfga.js","assets/file-text-DgWlhdmN.js","assets/OnboardingPage-Ds1ipWv5.js","assets/circle-alert-B4Iu_AWZ.js","assets/Modal-tocKJOcW.js","assets/SearchableSelect-DESVOSo4.js","assets/useShared-C-dQZUur.js","assets/ConfirmModal-mJDwNEXB.js","assets/triangle-alert-BxjRBxgM.js","assets/eye-Dp7PbQrC.js","assets/TeacherLayout-DoGfPLOT.js","assets/TeacherDashboard-Ci6aR9vb.js","assets/AdminLayout-DAJQ30NC.js","assets/AdminDashboard-D7FLeZ3A.js","assets/PermissionList-DXS37_vX.js","assets/Alert-Cq7mXBD-.js","assets/RadioGroup-qqSrRVM3.js","assets/usePermissions-Bd6Y6GNw.js","assets/BaseService-B6zq4ARl.js","assets/RoleList-DAgg5yXH.js","assets/FullScreenModal-DHvf5XmH.js","assets/useRoles-B8PPbxwm.js","assets/UserList-CSk_82CN.js","assets/StudentList-v_af1xB1.js","assets/Toggle-BNZnRjy7.js","assets/CycleList-B0Nd_2jF.js","assets/EnrollmentList-DBKJ73Tf.js","assets/CountryList-bBjMmmYO.js","assets/DepartmentList-CfCq4y4N.js","assets/coerce-wCYFEFnk.js","assets/ProvinceList-CfLl7R-Y.js","assets/DistrictList-P-K_Rt9P.js","assets/CareerList-BUfLjbOQ.js","assets/SchoolList-DNsZghpu.js","assets/DiscountList-CQN_hGae.js"])))=>i.map(i=>d[i]);
(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))c(m);new MutationObserver(m=>{for(const y of m)if(y.type==="childList")for(const E of y.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&c(E)}).observe(document,{childList:!0,subtree:!0});function s(m){const y={};return m.integrity&&(y.integrity=m.integrity),m.referrerPolicy&&(y.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?y.credentials="include":m.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function c(m){if(m.ep)return;m.ep=!0;const y=s(m);fetch(m.href,y)}})();function Sm(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Qc={exports:{}},uu={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Pd;function $0(){if(Pd)return uu;Pd=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function s(c,m,y){var E=null;if(y!==void 0&&(E=""+y),m.key!==void 0&&(E=""+m.key),"key"in m){y={};for(var A in m)A!=="key"&&(y[A]=m[A])}else y=m;return m=y.ref,{$$typeof:i,type:c,key:E,ref:m!==void 0?m:null,props:y}}return uu.Fragment=o,uu.jsx=s,uu.jsxs=s,uu}var Id;function W0(){return Id||(Id=1,Qc.exports=$0()),Qc.exports}var N=W0(),Zc={exports:{}},ut={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var tm;function F0(){if(tm)return ut;tm=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),E=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),h=Symbol.iterator;function U(g){return g===null||typeof g!="object"?null:(g=h&&g[h]||g["@@iterator"],typeof g=="function"?g:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,G={};function Q(g,H,K){this.props=g,this.context=H,this.refs=G,this.updater=K||Y}Q.prototype.isReactComponent={},Q.prototype.setState=function(g,H){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,H,"setState")},Q.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function L(){}L.prototype=Q.prototype;function X(g,H,K){this.props=g,this.context=H,this.refs=G,this.updater=K||Y}var k=X.prototype=new L;k.constructor=X,V(k,Q.prototype),k.isPureReactComponent=!0;var dt=Array.isArray,tt={H:null,A:null,T:null,S:null,V:null},pt=Object.prototype.hasOwnProperty;function zt(g,H,K,j,Z,P){return K=P.ref,{$$typeof:i,type:g,key:H,ref:K!==void 0?K:null,props:P}}function _t(g,H){return zt(g.type,H,void 0,void 0,void 0,g.props)}function At(g){return typeof g=="object"&&g!==null&&g.$$typeof===i}function $t(g){var H={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(K){return H[K]})}var re=/\/+/g;function Ut(g,H){return typeof g=="object"&&g!==null&&g.key!=null?$t(""+g.key):H.toString(36)}function Wt(){}function De(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(Wt,Wt):(g.status="pending",g.then(function(H){g.status==="pending"&&(g.status="fulfilled",g.value=H)},function(H){g.status==="pending"&&(g.status="rejected",g.reason=H)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function wt(g,H,K,j,Z){var P=typeof g;(P==="undefined"||P==="boolean")&&(g=null);var W=!1;if(g===null)W=!0;else switch(P){case"bigint":case"string":case"number":W=!0;break;case"object":switch(g.$$typeof){case i:case o:W=!0;break;case S:return W=g._init,wt(W(g._payload),H,K,j,Z)}}if(W)return Z=Z(g),W=j===""?"."+Ut(g,0):j,dt(Z)?(K="",W!=null&&(K=W.replace(re,"$&/")+"/"),wt(Z,H,K,"",function(fe){return fe})):Z!=null&&(At(Z)&&(Z=_t(Z,K+(Z.key==null||g&&g.key===Z.key?"":(""+Z.key).replace(re,"$&/")+"/")+W)),H.push(Z)),1;W=0;var Gt=j===""?".":j+":";if(dt(g))for(var lt=0;lt<g.length;lt++)j=g[lt],P=Gt+Ut(j,lt),W+=wt(j,H,K,P,Z);else if(lt=U(g),typeof lt=="function")for(g=lt.call(g),lt=0;!(j=g.next()).done;)j=j.value,P=Gt+Ut(j,lt++),W+=wt(j,H,K,P,Z);else if(P==="object"){if(typeof g.then=="function")return wt(De(g),H,K,j,Z);throw H=String(g),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return W}function O(g,H,K){if(g==null)return g;var j=[],Z=0;return wt(g,j,"","",function(P){return H.call(K,P,Z++)}),j}function B(g){if(g._status===-1){var H=g._result;H=H(),H.then(function(K){(g._status===0||g._status===-1)&&(g._status=1,g._result=K)},function(K){(g._status===0||g._status===-1)&&(g._status=2,g._result=K)}),g._status===-1&&(g._status=0,g._result=H)}if(g._status===1)return g._result.default;throw g._result}var $=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)};function ot(){}return ut.Children={map:O,forEach:function(g,H,K){O(g,function(){H.apply(this,arguments)},K)},count:function(g){var H=0;return O(g,function(){H++}),H},toArray:function(g){return O(g,function(H){return H})||[]},only:function(g){if(!At(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},ut.Component=Q,ut.Fragment=s,ut.Profiler=m,ut.PureComponent=X,ut.StrictMode=c,ut.Suspense=b,ut.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt,ut.__COMPILER_RUNTIME={__proto__:null,c:function(g){return tt.H.useMemoCache(g)}},ut.cache=function(g){return function(){return g.apply(null,arguments)}},ut.cloneElement=function(g,H,K){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var j=V({},g.props),Z=g.key,P=void 0;if(H!=null)for(W in H.ref!==void 0&&(P=void 0),H.key!==void 0&&(Z=""+H.key),H)!pt.call(H,W)||W==="key"||W==="__self"||W==="__source"||W==="ref"&&H.ref===void 0||(j[W]=H[W]);var W=arguments.length-2;if(W===1)j.children=K;else if(1<W){for(var Gt=Array(W),lt=0;lt<W;lt++)Gt[lt]=arguments[lt+2];j.children=Gt}return zt(g.type,Z,void 0,void 0,P,j)},ut.createContext=function(g){return g={$$typeof:E,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:y,_context:g},g},ut.createElement=function(g,H,K){var j,Z={},P=null;if(H!=null)for(j in H.key!==void 0&&(P=""+H.key),H)pt.call(H,j)&&j!=="key"&&j!=="__self"&&j!=="__source"&&(Z[j]=H[j]);var W=arguments.length-2;if(W===1)Z.children=K;else if(1<W){for(var Gt=Array(W),lt=0;lt<W;lt++)Gt[lt]=arguments[lt+2];Z.children=Gt}if(g&&g.defaultProps)for(j in W=g.defaultProps,W)Z[j]===void 0&&(Z[j]=W[j]);return zt(g,P,void 0,void 0,null,Z)},ut.createRef=function(){return{current:null}},ut.forwardRef=function(g){return{$$typeof:A,render:g}},ut.isValidElement=At,ut.lazy=function(g){return{$$typeof:S,_payload:{_status:-1,_result:g},_init:B}},ut.memo=function(g,H){return{$$typeof:d,type:g,compare:H===void 0?null:H}},ut.startTransition=function(g){var H=tt.T,K={};tt.T=K;try{var j=g(),Z=tt.S;Z!==null&&Z(K,j),typeof j=="object"&&j!==null&&typeof j.then=="function"&&j.then(ot,$)}catch(P){$(P)}finally{tt.T=H}},ut.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()},ut.use=function(g){return tt.H.use(g)},ut.useActionState=function(g,H,K){return tt.H.useActionState(g,H,K)},ut.useCallback=function(g,H){return tt.H.useCallback(g,H)},ut.useContext=function(g){return tt.H.useContext(g)},ut.useDebugValue=function(){},ut.useDeferredValue=function(g,H){return tt.H.useDeferredValue(g,H)},ut.useEffect=function(g,H,K){var j=tt.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return j.useEffect(g,H)},ut.useId=function(){return tt.H.useId()},ut.useImperativeHandle=function(g,H,K){return tt.H.useImperativeHandle(g,H,K)},ut.useInsertionEffect=function(g,H){return tt.H.useInsertionEffect(g,H)},ut.useLayoutEffect=function(g,H){return tt.H.useLayoutEffect(g,H)},ut.useMemo=function(g,H){return tt.H.useMemo(g,H)},ut.useOptimistic=function(g,H){return tt.H.useOptimistic(g,H)},ut.useReducer=function(g,H,K){return tt.H.useReducer(g,H,K)},ut.useRef=function(g){return tt.H.useRef(g)},ut.useState=function(g){return tt.H.useState(g)},ut.useSyncExternalStore=function(g,H,K){return tt.H.useSyncExternalStore(g,H,K)},ut.useTransition=function(){return tt.H.useTransition()},ut.version="19.1.1",ut}var em;function as(){return em||(em=1,Zc.exports=F0()),Zc.exports}var D=as();const q=Sm(D);var Kc={exports:{}},iu={},Jc={exports:{}},kc={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var lm;function P0(){return lm||(lm=1,(function(i){function o(O,B){var $=O.length;O.push(B);t:for(;0<$;){var ot=$-1>>>1,g=O[ot];if(0<m(g,B))O[ot]=B,O[$]=g,$=ot;else break t}}function s(O){return O.length===0?null:O[0]}function c(O){if(O.length===0)return null;var B=O[0],$=O.pop();if($!==B){O[0]=$;t:for(var ot=0,g=O.length,H=g>>>1;ot<H;){var K=2*(ot+1)-1,j=O[K],Z=K+1,P=O[Z];if(0>m(j,$))Z<g&&0>m(P,j)?(O[ot]=P,O[Z]=$,ot=Z):(O[ot]=j,O[K]=$,ot=K);else if(Z<g&&0>m(P,$))O[ot]=P,O[Z]=$,ot=Z;else break t}}return B}function m(O,B){var $=O.sortIndex-B.sortIndex;return $!==0?$:O.id-B.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;i.unstable_now=function(){return y.now()}}else{var E=Date,A=E.now();i.unstable_now=function(){return E.now()-A}}var b=[],d=[],S=1,h=null,U=3,Y=!1,V=!1,G=!1,Q=!1,L=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function dt(O){for(var B=s(d);B!==null;){if(B.callback===null)c(d);else if(B.startTime<=O)c(d),B.sortIndex=B.expirationTime,o(b,B);else break;B=s(d)}}function tt(O){if(G=!1,dt(O),!V)if(s(b)!==null)V=!0,pt||(pt=!0,Ut());else{var B=s(d);B!==null&&wt(tt,B.startTime-O)}}var pt=!1,zt=-1,_t=5,At=-1;function $t(){return Q?!0:!(i.unstable_now()-At<_t)}function re(){if(Q=!1,pt){var O=i.unstable_now();At=O;var B=!0;try{t:{V=!1,G&&(G=!1,X(zt),zt=-1),Y=!0;var $=U;try{e:{for(dt(O),h=s(b);h!==null&&!(h.expirationTime>O&&$t());){var ot=h.callback;if(typeof ot=="function"){h.callback=null,U=h.priorityLevel;var g=ot(h.expirationTime<=O);if(O=i.unstable_now(),typeof g=="function"){h.callback=g,dt(O),B=!0;break e}h===s(b)&&c(b),dt(O)}else c(b);h=s(b)}if(h!==null)B=!0;else{var H=s(d);H!==null&&wt(tt,H.startTime-O),B=!1}}break t}finally{h=null,U=$,Y=!1}B=void 0}}finally{B?Ut():pt=!1}}}var Ut;if(typeof k=="function")Ut=function(){k(re)};else if(typeof MessageChannel<"u"){var Wt=new MessageChannel,De=Wt.port2;Wt.port1.onmessage=re,Ut=function(){De.postMessage(null)}}else Ut=function(){L(re,0)};function wt(O,B){zt=L(function(){O(i.unstable_now())},B)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(O){O.callback=null},i.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_t=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return U},i.unstable_next=function(O){switch(U){case 1:case 2:case 3:var B=3;break;default:B=U}var $=U;U=B;try{return O()}finally{U=$}},i.unstable_requestPaint=function(){Q=!0},i.unstable_runWithPriority=function(O,B){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var $=U;U=O;try{return B()}finally{U=$}},i.unstable_scheduleCallback=function(O,B,$){var ot=i.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?ot+$:ot):$=ot,O){case 1:var g=-1;break;case 2:g=250;break;case 5:g=1073741823;break;case 4:g=1e4;break;default:g=5e3}return g=$+g,O={id:S++,callback:B,priorityLevel:O,startTime:$,expirationTime:g,sortIndex:-1},$>ot?(O.sortIndex=$,o(d,O),s(b)===null&&O===s(d)&&(G?(X(zt),zt=-1):G=!0,wt(tt,$-ot))):(O.sortIndex=g,o(b,O),V||Y||(V=!0,pt||(pt=!0,Ut()))),O},i.unstable_shouldYield=$t,i.unstable_wrapCallback=function(O){var B=U;return function(){var $=U;U=B;try{return O.apply(this,arguments)}finally{U=$}}}})(kc)),kc}var am;function I0(){return am||(am=1,Jc.exports=P0()),Jc.exports}var $c={exports:{}},oe={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var nm;function ty(){if(nm)return oe;nm=1;var i=as();function o(b){var d="https://react.dev/errors/"+b;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)d+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+b+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var c={d:{f:s,r:function(){throw Error(o(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},m=Symbol.for("react.portal");function y(b,d,S){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:m,key:h==null?null:""+h,children:b,containerInfo:d,implementation:S}}var E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function A(b,d){if(b==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return oe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,oe.createPortal=function(b,d){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(o(299));return y(b,d,null,S)},oe.flushSync=function(b){var d=E.T,S=c.p;try{if(E.T=null,c.p=2,b)return b()}finally{E.T=d,c.p=S,c.d.f()}},oe.preconnect=function(b,d){typeof b=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,c.d.C(b,d))},oe.prefetchDNS=function(b){typeof b=="string"&&c.d.D(b)},oe.preinit=function(b,d){if(typeof b=="string"&&d&&typeof d.as=="string"){var S=d.as,h=A(S,d.crossOrigin),U=typeof d.integrity=="string"?d.integrity:void 0,Y=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;S==="style"?c.d.S(b,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:h,integrity:U,fetchPriority:Y}):S==="script"&&c.d.X(b,{crossOrigin:h,integrity:U,fetchPriority:Y,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},oe.preinitModule=function(b,d){if(typeof b=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var S=A(d.as,d.crossOrigin);c.d.M(b,{crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&c.d.M(b)},oe.preload=function(b,d){if(typeof b=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var S=d.as,h=A(S,d.crossOrigin);c.d.L(b,S,{crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},oe.preloadModule=function(b,d){if(typeof b=="string")if(d){var S=A(d.as,d.crossOrigin);c.d.m(b,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else c.d.m(b)},oe.requestFormReset=function(b){c.d.r(b)},oe.unstable_batchedUpdates=function(b,d){return b(d)},oe.useFormState=function(b,d,S){return E.H.useFormState(b,d,S)},oe.useFormStatus=function(){return E.H.useHostTransitionStatus()},oe.version="19.1.1",oe}var um;function Em(){if(um)return $c.exports;um=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),$c.exports=ty(),$c.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var im;function ey(){if(im)return iu;im=1;var i=I0(),o=as(),s=Em();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function y(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function E(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function A(t){if(y(t)!==t)throw Error(c(188))}function b(t){var e=t.alternate;if(!e){if(e=y(t),e===null)throw Error(c(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return A(n),t;if(u===a)return A(n),e;u=u.sibling}throw Error(c(188))}if(l.return!==a.return)l=n,a=u;else{for(var r=!1,f=n.child;f;){if(f===l){r=!0,l=n,a=u;break}if(f===a){r=!0,a=n,l=u;break}f=f.sibling}if(!r){for(f=u.child;f;){if(f===l){r=!0,l=u,a=n;break}if(f===a){r=!0,a=u,l=n;break}f=f.sibling}if(!r)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?t:e}function d(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=d(t),e!==null)return e;t=t.sibling}return null}var S=Object.assign,h=Symbol.for("react.element"),U=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),X=Symbol.for("react.consumer"),k=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),pt=Symbol.for("react.suspense_list"),zt=Symbol.for("react.memo"),_t=Symbol.for("react.lazy"),At=Symbol.for("react.activity"),$t=Symbol.for("react.memo_cache_sentinel"),re=Symbol.iterator;function Ut(t){return t===null||typeof t!="object"?null:(t=re&&t[re]||t["@@iterator"],typeof t=="function"?t:null)}var Wt=Symbol.for("react.client.reference");function De(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Wt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case V:return"Fragment";case Q:return"Profiler";case G:return"StrictMode";case tt:return"Suspense";case pt:return"SuspenseList";case At:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Y:return"Portal";case k:return(t.displayName||"Context")+".Provider";case X:return(t._context.displayName||"Context")+".Consumer";case dt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case zt:return e=t.displayName||null,e!==null?e:De(t.type)||"Memo";case _t:e=t._payload,t=t._init;try{return De(t(e))}catch{}}return null}var wt=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},ot=[],g=-1;function H(t){return{current:t}}function K(t){0>g||(t.current=ot[g],ot[g]=null,g--)}function j(t,e){g++,ot[g]=t.current,t.current=e}var Z=H(null),P=H(null),W=H(null),Gt=H(null);function lt(t,e){switch(j(W,e),j(P,t),j(Z,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Rd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Rd(e),t=Dd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}K(Z),j(Z,t)}function fe(){K(Z),K(P),K(W)}function El(t){t.memoizedState!==null&&j(Gt,t);var e=Z.current,l=Dd(e,t.type);e!==l&&(j(P,t),j(Z,l))}function el(t){P.current===t&&(K(Z),K(P)),Gt.current===t&&(K(Gt),tu._currentValue=$)}var Ke=Object.prototype.hasOwnProperty,cn=i.unstable_scheduleCallback,kl=i.unstable_cancelCallback,Ci=i.unstable_shouldYield,fu=i.unstable_requestPaint,ce=i.unstable_now,du=i.unstable_getCurrentPriorityLevel,ze=i.unstable_ImmediatePriority,mu=i.unstable_UserBlockingPriority,va=i.unstable_NormalPriority,de=i.unstable_LowPriority,ll=i.unstable_IdlePriority,Hi=i.log,ji=i.unstable_setDisableYieldValue,Je=null,me=null;function qe(t){if(typeof Hi=="function"&&ji(t),me&&typeof me.setStrictMode=="function")try{me.setStrictMode(Je,t)}catch{}}var le=Math.clz32?Math.clz32:Tl,xl=Math.log,hu=Math.LN2;function Tl(t){return t>>>=0,t===0?32:31-(xl(t)/hu|0)|0}var ga=256,pa=4194304;function ke(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function $l(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,r=t.pingedLanes;t=t.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=ke(a):(r&=f,r!==0?n=ke(r):l||(l=f&~t,l!==0&&(n=ke(l))))):(f=a&~u,f!==0?n=ke(f):r!==0?n=ke(r):l||(l=a&~t,l!==0&&(n=ke(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function Wl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function sn(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ye(){var t=ga;return ga<<=1,(ga&4194048)===0&&(ga=256),t}function yu(){var t=pa;return pa<<=1,(pa&62914560)===0&&(pa=4194304),t}function on(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function _l(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function vu(t,e,l,a,n,u){var r=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,v=t.expirationTimes,_=t.hiddenUpdates;for(l=r&~l;0<l;){var M=31-le(l),C=1<<M;f[M]=0,v[M]=-1;var R=_[M];if(R!==null)for(_[M]=null,M=0;M<R.length;M++){var z=R[M];z!==null&&(z.lane&=-536870913)}l&=~C}a!==0&&nt(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(r&~e))}function nt(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-le(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function jt(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-le(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function Vt(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ae(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Fl(){var t=B.p;return t!==0?t:(t=window.event,t===void 0?32:Kd(t.type))}function Kt(t,e){var l=B.p;try{return B.p=t,e()}finally{B.p=l}}var Bt=Math.random().toString(36).slice(2),Lt="__reactFiber$"+Bt,Rt="__reactProps$"+Bt,Ft="__reactContainer$"+Bt,ba="__reactEvents$"+Bt,al="__reactListeners$"+Bt,fs="__reactHandles$"+Bt,ds="__reactResources$"+Bt,fn="__reactMarker$"+Bt;function Bi(t){delete t[Lt],delete t[Rt],delete t[ba],delete t[al],delete t[fs]}function Sa(t){var e=t[Lt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Ft]||l[Lt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Nd(t);t!==null;){if(l=t[Lt])return l;t=Nd(t)}return e}t=l,l=t.parentNode}return null}function Ea(t){if(t=t[Lt]||t[Ft]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function dn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function xa(t){var e=t[ds];return e||(e=t[ds]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Pt(t){t[fn]=!0}var ms=new Set,hs={};function Pl(t,e){Ta(t,e),Ta(t+"Capture",e)}function Ta(t,e){for(hs[t]=e,t=0;t<e.length;t++)ms.add(e[t])}var Xm=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ys={},vs={};function Gm(t){return Ke.call(vs,t)?!0:Ke.call(ys,t)?!1:Xm.test(t)?vs[t]=!0:(ys[t]=!0,!1)}function gu(t,e,l){if(Gm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function pu(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function nl(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var Li,gs;function _a(t){if(Li===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Li=e&&e[1]||"",gs=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Li+t+gs}var qi=!1;function Yi(t,e){if(!t||qi)return"";qi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(z){var R=z}Reflect.construct(t,[],C)}else{try{C.call()}catch(z){R=z}t.call(C.prototype)}}else{try{throw Error()}catch(z){R=z}(C=t())&&typeof C.catch=="function"&&C.catch(function(){})}}catch(z){if(z&&R&&typeof z.stack=="string")return[z.stack,R.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),r=u[0],f=u[1];if(r&&f){var v=r.split(`
`),_=f.split(`
`);for(n=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;n<_.length&&!_[n].includes("DetermineComponentFrameRoot");)n++;if(a===v.length||n===_.length)for(a=v.length-1,n=_.length-1;1<=a&&0<=n&&v[a]!==_[n];)n--;for(;1<=a&&0<=n;a--,n--)if(v[a]!==_[n]){if(a!==1||n!==1)do if(a--,n--,0>n||v[a]!==_[n]){var M=`
`+v[a].replace(" at new "," at ");return t.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",t.displayName)),M}while(1<=a&&0<=n);break}}}finally{qi=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?_a(l):""}function Vm(t){switch(t.tag){case 26:case 27:case 5:return _a(t.type);case 16:return _a("Lazy");case 13:return _a("Suspense");case 19:return _a("SuspenseList");case 0:case 15:return Yi(t.type,!1);case 11:return Yi(t.type.render,!1);case 1:return Yi(t.type,!0);case 31:return _a("Activity");default:return""}}function ps(t){try{var e="";do e+=Vm(t),t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function Oe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function bs(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Qm(t){var e=bs(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,u=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(r){a=""+r,u.call(this,r)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(r){a=""+r},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function bu(t){t._valueTracker||(t._valueTracker=Qm(t))}function Ss(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=bs(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function Su(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Zm=/[\n"\\]/g;function Me(t){return t.replace(Zm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Xi(t,e,l,a,n,u,r,f){t.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.type=r:t.removeAttribute("type"),e!=null?r==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Oe(e)):t.value!==""+Oe(e)&&(t.value=""+Oe(e)):r!=="submit"&&r!=="reset"||t.removeAttribute("value"),e!=null?Gi(t,r,Oe(e)):l!=null?Gi(t,r,Oe(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Oe(f):t.removeAttribute("name")}function Es(t,e,l,a,n,u,r,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;l=l!=null?""+Oe(l):"",e=e!=null?""+Oe(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=f?t.checked:!!a,t.defaultChecked=!!a,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.name=r)}function Gi(t,e,l){e==="number"&&Su(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Aa(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Oe(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function xs(t,e,l){if(e!=null&&(e=""+Oe(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Oe(l):""}function Ts(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(c(92));if(wt(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Oe(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function Ra(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Km=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function _s(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||Km.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function As(t,e,l){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&_s(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&_s(t,u,e[u])}function Vi(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Jm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),km=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Eu(t){return km.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Qi=null;function Zi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Da=null,za=null;function Rs(t){var e=Ea(t);if(e&&(t=e.stateNode)){var l=t[Rt]||null;t:switch(t=e.stateNode,e.type){case"input":if(Xi(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Me(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[Rt]||null;if(!n)throw Error(c(90));Xi(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&Ss(a)}break t;case"textarea":xs(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Aa(t,!!l.multiple,e,!1)}}}var Ki=!1;function Ds(t,e,l){if(Ki)return t(e,l);Ki=!0;try{var a=t(e);return a}finally{if(Ki=!1,(Da!==null||za!==null)&&(ii(),Da&&(e=Da,t=za,za=Da=null,Rs(e),t)))for(e=0;e<t.length;e++)Rs(t[e])}}function mn(t,e){var l=t.stateNode;if(l===null)return null;var a=l[Rt]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(c(231,e,typeof l));return l}var ul=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ji=!1;if(ul)try{var hn={};Object.defineProperty(hn,"passive",{get:function(){Ji=!0}}),window.addEventListener("test",hn,hn),window.removeEventListener("test",hn,hn)}catch{Ji=!1}var Al=null,ki=null,xu=null;function zs(){if(xu)return xu;var t,e=ki,l=e.length,a,n="value"in Al?Al.value:Al.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var r=l-t;for(a=1;a<=r&&e[l-a]===n[u-a];a++);return xu=n.slice(t,1<a?1-a:void 0)}function Tu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function _u(){return!0}function Os(){return!1}function ye(t){function e(l,a,n,u,r){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=r,this.currentTarget=null;for(var f in t)t.hasOwnProperty(f)&&(l=t[f],this[f]=l?l(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?_u:Os,this.isPropagationStopped=Os,this}return S(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=_u)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=_u)},persist:function(){},isPersistent:_u}),e}var Il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=ye(Il),yn=S({},Il,{view:0,detail:0}),$m=ye(yn),$i,Wi,vn,Ru=S({},yn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==vn&&(vn&&t.type==="mousemove"?($i=t.screenX-vn.screenX,Wi=t.screenY-vn.screenY):Wi=$i=0,vn=t),$i)},movementY:function(t){return"movementY"in t?t.movementY:Wi}}),Ms=ye(Ru),Wm=S({},Ru,{dataTransfer:0}),Fm=ye(Wm),Pm=S({},yn,{relatedTarget:0}),Fi=ye(Pm),Im=S({},Il,{animationName:0,elapsedTime:0,pseudoElement:0}),th=ye(Im),eh=S({},Il,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),lh=ye(eh),ah=S({},Il,{data:0}),Ns=ye(ah),nh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uh={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"},ih={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rh(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ih[t])?!!e[t]:!1}function Pi(){return rh}var ch=S({},yn,{key:function(t){if(t.key){var e=nh[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Tu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?uh[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pi,charCode:function(t){return t.type==="keypress"?Tu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Tu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sh=ye(ch),oh=S({},Ru,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Us=ye(oh),fh=S({},yn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pi}),dh=ye(fh),mh=S({},Il,{propertyName:0,elapsedTime:0,pseudoElement:0}),hh=ye(mh),yh=S({},Ru,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),vh=ye(yh),gh=S({},Il,{newState:0,oldState:0}),ph=ye(gh),bh=[9,13,27,32],Ii=ul&&"CompositionEvent"in window,gn=null;ul&&"documentMode"in document&&(gn=document.documentMode);var Sh=ul&&"TextEvent"in window&&!gn,ws=ul&&(!Ii||gn&&8<gn&&11>=gn),Cs=" ",Hs=!1;function js(t,e){switch(t){case"keyup":return bh.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Oa=!1;function Eh(t,e){switch(t){case"compositionend":return Bs(e);case"keypress":return e.which!==32?null:(Hs=!0,Cs);case"textInput":return t=e.data,t===Cs&&Hs?null:t;default:return null}}function xh(t,e){if(Oa)return t==="compositionend"||!Ii&&js(t,e)?(t=zs(),xu=ki=Al=null,Oa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return ws&&e.locale!=="ko"?null:e.data;default:return null}}var Th={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 Ls(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Th[t.type]:e==="textarea"}function qs(t,e,l,a){Da?za?za.push(a):za=[a]:Da=a,e=di(e,"onChange"),0<e.length&&(l=new Au("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var pn=null,bn=null;function _h(t){Ed(t,0)}function Du(t){var e=dn(t);if(Ss(e))return t}function Ys(t,e){if(t==="change")return e}var Xs=!1;if(ul){var tr;if(ul){var er="oninput"in document;if(!er){var Gs=document.createElement("div");Gs.setAttribute("oninput","return;"),er=typeof Gs.oninput=="function"}tr=er}else tr=!1;Xs=tr&&(!document.documentMode||9<document.documentMode)}function Vs(){pn&&(pn.detachEvent("onpropertychange",Qs),bn=pn=null)}function Qs(t){if(t.propertyName==="value"&&Du(bn)){var e=[];qs(e,bn,t,Zi(t)),Ds(_h,e)}}function Ah(t,e,l){t==="focusin"?(Vs(),pn=e,bn=l,pn.attachEvent("onpropertychange",Qs)):t==="focusout"&&Vs()}function Rh(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Du(bn)}function Dh(t,e){if(t==="click")return Du(e)}function zh(t,e){if(t==="input"||t==="change")return Du(e)}function Oh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Se=typeof Object.is=="function"?Object.is:Oh;function Sn(t,e){if(Se(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Ke.call(e,n)||!Se(t[n],e[n]))return!1}return!0}function Zs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ks(t,e){var l=Zs(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Zs(l)}}function Js(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Js(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ks(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Su(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Su(t.document)}return e}function lr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Mh=ul&&"documentMode"in document&&11>=document.documentMode,Ma=null,ar=null,En=null,nr=!1;function $s(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;nr||Ma==null||Ma!==Su(a)||(a=Ma,"selectionStart"in a&&lr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),En&&Sn(En,a)||(En=a,a=di(ar,"onSelect"),0<a.length&&(e=new Au("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=Ma)))}function ta(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var Na={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},ur={},Ws={};ul&&(Ws=document.createElement("div").style,"AnimationEvent"in window||(delete Na.animationend.animation,delete Na.animationiteration.animation,delete Na.animationstart.animation),"TransitionEvent"in window||delete Na.transitionend.transition);function ea(t){if(ur[t])return ur[t];if(!Na[t])return t;var e=Na[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Ws)return ur[t]=e[l];return t}var Fs=ea("animationend"),Ps=ea("animationiteration"),Is=ea("animationstart"),Nh=ea("transitionrun"),Uh=ea("transitionstart"),wh=ea("transitioncancel"),to=ea("transitionend"),eo=new Map,ir="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ir.push("scrollEnd");function Xe(t,e){eo.set(t,e),Pl(e,[t])}var lo=new WeakMap;function Ne(t,e){if(typeof t=="object"&&t!==null){var l=lo.get(t);return l!==void 0?l:(e={value:t,source:e,stack:ps(e)},lo.set(t,e),e)}return{value:t,source:e,stack:ps(e)}}var Ue=[],Ua=0,rr=0;function zu(){for(var t=Ua,e=rr=Ua=0;e<t;){var l=Ue[e];Ue[e++]=null;var a=Ue[e];Ue[e++]=null;var n=Ue[e];Ue[e++]=null;var u=Ue[e];if(Ue[e++]=null,a!==null&&n!==null){var r=a.pending;r===null?n.next=n:(n.next=r.next,r.next=n),a.pending=n}u!==0&&ao(l,n,u)}}function Ou(t,e,l,a){Ue[Ua++]=t,Ue[Ua++]=e,Ue[Ua++]=l,Ue[Ua++]=a,rr|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function cr(t,e,l,a){return Ou(t,e,l,a),Mu(t)}function wa(t,e){return Ou(t,null,null,e),Mu(t)}function ao(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-le(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function Mu(t){if(50<Kn)throw Kn=0,hc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ca={};function Ch(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(t,e,l,a){return new Ch(t,e,l,a)}function sr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function il(t,e){var l=t.alternate;return l===null?(l=Ee(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function no(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Nu(t,e,l,a,n,u){var r=0;if(a=t,typeof t=="function")sr(t)&&(r=1);else if(typeof t=="string")r=j0(t,l,Z.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case At:return t=Ee(31,l,e,n),t.elementType=At,t.lanes=u,t;case V:return la(l.children,n,u,e);case G:r=8,n|=24;break;case Q:return t=Ee(12,l,e,n|2),t.elementType=Q,t.lanes=u,t;case tt:return t=Ee(13,l,e,n),t.elementType=tt,t.lanes=u,t;case pt:return t=Ee(19,l,e,n),t.elementType=pt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case L:case k:r=10;break t;case X:r=9;break t;case dt:r=11;break t;case zt:r=14;break t;case _t:r=16,a=null;break t}r=29,l=Error(c(130,t===null?"null":typeof t,"")),a=null}return e=Ee(r,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function la(t,e,l,a){return t=Ee(7,t,a,e),t.lanes=l,t}function or(t,e,l){return t=Ee(6,t,null,e),t.lanes=l,t}function fr(t,e,l){return e=Ee(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ha=[],ja=0,Uu=null,wu=0,we=[],Ce=0,aa=null,rl=1,cl="";function na(t,e){Ha[ja++]=wu,Ha[ja++]=Uu,Uu=t,wu=e}function uo(t,e,l){we[Ce++]=rl,we[Ce++]=cl,we[Ce++]=aa,aa=t;var a=rl;t=cl;var n=32-le(a)-1;a&=~(1<<n),l+=1;var u=32-le(e)+n;if(30<u){var r=n-n%5;u=(a&(1<<r)-1).toString(32),a>>=r,n-=r,rl=1<<32-le(e)+n|l<<n|a,cl=u+t}else rl=1<<u|l<<n|a,cl=t}function dr(t){t.return!==null&&(na(t,1),uo(t,1,0))}function mr(t){for(;t===Uu;)Uu=Ha[--ja],Ha[ja]=null,wu=Ha[--ja],Ha[ja]=null;for(;t===aa;)aa=we[--Ce],we[Ce]=null,cl=we[--Ce],we[Ce]=null,rl=we[--Ce],we[Ce]=null}var he=null,Ct=null,ht=!1,ua=null,$e=!1,hr=Error(c(519));function ia(t){var e=Error(c(418,""));throw _n(Ne(e,t)),hr}function io(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Lt]=t,e[Rt]=a,l){case"dialog":st("cancel",e),st("close",e);break;case"iframe":case"object":case"embed":st("load",e);break;case"video":case"audio":for(l=0;l<kn.length;l++)st(kn[l],e);break;case"source":st("error",e);break;case"img":case"image":case"link":st("error",e),st("load",e);break;case"details":st("toggle",e);break;case"input":st("invalid",e),Es(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),bu(e);break;case"select":st("invalid",e);break;case"textarea":st("invalid",e),Ts(e,a.value,a.defaultValue,a.children),bu(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||Ad(e.textContent,l)?(a.popover!=null&&(st("beforetoggle",e),st("toggle",e)),a.onScroll!=null&&st("scroll",e),a.onScrollEnd!=null&&st("scrollend",e),a.onClick!=null&&(e.onclick=mi),e=!0):e=!1,e||ia(t)}function ro(t){for(he=t.return;he;)switch(he.tag){case 5:case 13:$e=!1;return;case 27:case 3:$e=!0;return;default:he=he.return}}function xn(t){if(t!==he)return!1;if(!ht)return ro(t),ht=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Mc(t.type,t.memoizedProps)),l=!l),l&&Ct&&ia(t),ro(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Ct=Ve(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Ct=null}}else e===27?(e=Ct,Xl(t.type)?(t=Cc,Cc=null,Ct=t):Ct=e):Ct=he?Ve(t.stateNode.nextSibling):null;return!0}function Tn(){Ct=he=null,ht=!1}function co(){var t=ua;return t!==null&&(pe===null?pe=t:pe.push.apply(pe,t),ua=null),t}function _n(t){ua===null?ua=[t]:ua.push(t)}var yr=H(null),ra=null,sl=null;function Rl(t,e,l){j(yr,e._currentValue),e._currentValue=l}function ol(t){t._currentValue=yr.current,K(yr)}function vr(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function gr(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var r=n.child;u=u.firstContext;t:for(;u!==null;){var f=u;u=n;for(var v=0;v<e.length;v++)if(f.context===e[v]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),vr(u.return,l,t),a||(r=null);break t}u=f.next}}else if(n.tag===18){if(r=n.return,r===null)throw Error(c(341));r.lanes|=l,u=r.alternate,u!==null&&(u.lanes|=l),vr(r,l,t),r=null}else r=n.child;if(r!==null)r.return=n;else for(r=n;r!==null;){if(r===t){r=null;break}if(n=r.sibling,n!==null){n.return=r.return,r=n;break}r=r.return}n=r}}function An(t,e,l,a){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var r=n.alternate;if(r===null)throw Error(c(387));if(r=r.memoizedProps,r!==null){var f=n.type;Se(n.pendingProps.value,r.value)||(t!==null?t.push(f):t=[f])}}else if(n===Gt.current){if(r=n.alternate,r===null)throw Error(c(387));r.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(tu):t=[tu])}n=n.return}t!==null&&gr(e,t,l,a),e.flags|=262144}function Cu(t){for(t=t.firstContext;t!==null;){if(!Se(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ca(t){ra=t,sl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return so(ra,t)}function Hu(t,e){return ra===null&&ca(t),so(t,e)}function so(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},sl===null){if(t===null)throw Error(c(308));sl=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else sl=sl.next=e;return l}var Hh=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},jh=i.unstable_scheduleCallback,Bh=i.unstable_NormalPriority,Jt={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pr(){return{controller:new Hh,data:new Map,refCount:0}}function Rn(t){t.refCount--,t.refCount===0&&jh(Bh,function(){t.controller.abort()})}var Dn=null,br=0,Ba=0,La=null;function Lh(t,e){if(Dn===null){var l=Dn=[];br=0,Ba=Ec(),La={status:"pending",value:void 0,then:function(a){l.push(a)}}}return br++,e.then(oo,oo),e}function oo(){if(--br===0&&Dn!==null){La!==null&&(La.status="fulfilled");var t=Dn;Dn=null,Ba=0,La=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function qh(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var fo=O.S;O.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Lh(t,e),fo!==null&&fo(t,e)};var sa=H(null);function Sr(){var t=sa.current;return t!==null?t:Dt.pooledCache}function ju(t,e){e===null?j(sa,sa.current):j(sa,e.pool)}function mo(){var t=Sr();return t===null?null:{parent:Jt._currentValue,pool:t}}var zn=Error(c(460)),ho=Error(c(474)),Bu=Error(c(542)),Er={then:function(){}};function yo(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Lu(){}function vo(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Lu,Lu),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,po(t),t;default:if(typeof e.status=="string")e.then(Lu,Lu);else{if(t=Dt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,po(t),t}throw On=e,zn}}var On=null;function go(){if(On===null)throw Error(c(459));var t=On;return On=null,t}function po(t){if(t===zn||t===Bu)throw Error(c(483))}var Dl=!1;function xr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ol(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(vt&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Mu(t),ao(t,null,l),e}return Ou(t,a,e,l),Mu(t)}function Mn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,jt(t,l)}}function _r(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var r={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=r:u=u.next=r,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Ar=!1;function Nn(){if(Ar){var t=La;if(t!==null)throw t}}function Un(t,e,l,a){Ar=!1;var n=t.updateQueue;Dl=!1;var u=n.firstBaseUpdate,r=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var v=f,_=v.next;v.next=null,r===null?u=_:r.next=_,r=v;var M=t.alternate;M!==null&&(M=M.updateQueue,f=M.lastBaseUpdate,f!==r&&(f===null?M.firstBaseUpdate=_:f.next=_,M.lastBaseUpdate=v))}if(u!==null){var C=n.baseState;r=0,M=_=v=null,f=u;do{var R=f.lane&-536870913,z=R!==f.lane;if(z?(ft&R)===R:(a&R)===R){R!==0&&R===Ba&&(Ar=!0),M!==null&&(M=M.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});t:{var at=t,I=f;R=e;var Et=l;switch(I.tag){case 1:if(at=I.payload,typeof at=="function"){C=at.call(Et,C,R);break t}C=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=I.payload,R=typeof at=="function"?at.call(Et,C,R):at,R==null)break t;C=S({},C,R);break t;case 2:Dl=!0}}R=f.callback,R!==null&&(t.flags|=64,z&&(t.flags|=8192),z=n.callbacks,z===null?n.callbacks=[R]:z.push(R))}else z={lane:R,tag:f.tag,payload:f.payload,callback:f.callback,next:null},M===null?(_=M=z,v=C):M=M.next=z,r|=R;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;z=f,f=z.next,z.next=null,n.lastBaseUpdate=z,n.shared.pending=null}}while(!0);M===null&&(v=C),n.baseState=v,n.firstBaseUpdate=_,n.lastBaseUpdate=M,u===null&&(n.shared.lanes=0),Bl|=r,t.lanes=r,t.memoizedState=C}}function bo(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function So(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)bo(l[t],e)}var qa=H(null),qu=H(0);function Eo(t,e){t=gl,j(qu,t),j(qa,e),gl=t|e.baseLanes}function Rr(){j(qu,gl),j(qa,qa.current)}function Dr(){gl=qu.current,K(qa),K(qu)}var Ml=0,it=null,bt=null,Qt=null,Yu=!1,Ya=!1,oa=!1,Xu=0,wn=0,Xa=null,Yh=0;function qt(){throw Error(c(321))}function zr(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Se(t[l],e[l]))return!1;return!0}function Or(t,e,l,a,n,u){return Ml=u,it=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,O.H=t===null||t.memoizedState===null?nf:uf,oa=!1,u=l(a,n),oa=!1,Ya&&(u=To(e,l,a,n)),xo(t),u}function xo(t){O.H=Ju;var e=bt!==null&&bt.next!==null;if(Ml=0,Qt=bt=it=null,Yu=!1,wn=0,Xa=null,e)throw Error(c(300));t===null||It||(t=t.dependencies,t!==null&&Cu(t)&&(It=!0))}function To(t,e,l,a){it=t;var n=0;do{if(Ya&&(Xa=null),wn=0,Ya=!1,25<=n)throw Error(c(301));if(n+=1,Qt=bt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=Jh,u=e(l,a)}while(Ya);return u}function Xh(){var t=O.H,e=t.useState()[0];return e=typeof e.then=="function"?Cn(e):e,t=t.useState()[0],(bt!==null?bt.memoizedState:null)!==t&&(it.flags|=1024),e}function Mr(){var t=Xu!==0;return Xu=0,t}function Nr(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Ur(t){if(Yu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Yu=!1}Ml=0,Qt=bt=it=null,Ya=!1,wn=Xu=0,Xa=null}function ve(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?it.memoizedState=Qt=t:Qt=Qt.next=t,Qt}function Zt(){if(bt===null){var t=it.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var e=Qt===null?it.memoizedState:Qt.next;if(e!==null)Qt=e,bt=t;else{if(t===null)throw it.alternate===null?Error(c(467)):Error(c(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Qt===null?it.memoizedState=Qt=t:Qt=Qt.next=t}return Qt}function wr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cn(t){var e=wn;return wn+=1,Xa===null&&(Xa=[]),t=vo(Xa,t,e),e=it,(Qt===null?e.memoizedState:Qt.next)===null&&(e=e.alternate,O.H=e===null||e.memoizedState===null?nf:uf),t}function Gu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Cn(t);if(t.$$typeof===k)return se(t)}throw Error(c(438,String(t)))}function Cr(t){var e=null,l=it.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=it.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=wr(),it.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=$t;return e.index++,l}function fl(t,e){return typeof e=="function"?e(t):e}function Vu(t){var e=Zt();return Hr(e,bt,t)}function Hr(t,e,l){var a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var r=n.next;n.next=u.next,u.next=r}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var f=r=null,v=null,_=e,M=!1;do{var C=_.lane&-536870913;if(C!==_.lane?(ft&C)===C:(Ml&C)===C){var R=_.revertLane;if(R===0)v!==null&&(v=v.next={lane:0,revertLane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),C===Ba&&(M=!0);else if((Ml&R)===R){_=_.next,R===Ba&&(M=!0);continue}else C={lane:0,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},v===null?(f=v=C,r=u):v=v.next=C,it.lanes|=R,Bl|=R;C=_.action,oa&&l(u,C),u=_.hasEagerState?_.eagerState:l(u,C)}else R={lane:C,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},v===null?(f=v=R,r=u):v=v.next=R,it.lanes|=C,Bl|=C;_=_.next}while(_!==null&&_!==e);if(v===null?r=u:v.next=f,!Se(u,t.memoizedState)&&(It=!0,M&&(l=La,l!==null)))throw l;t.memoizedState=u,t.baseState=r,t.baseQueue=v,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function jr(t){var e=Zt(),l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var r=n=n.next;do u=t(u,r.action),r=r.next;while(r!==n);Se(u,e.memoizedState)||(It=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function _o(t,e,l){var a=it,n=Zt(),u=ht;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=e();var r=!Se((bt||n).memoizedState,l);r&&(n.memoizedState=l,It=!0),n=n.queue;var f=Do.bind(null,a,n,t);if(Hn(2048,8,f,[t]),n.getSnapshot!==e||r||Qt!==null&&Qt.memoizedState.tag&1){if(a.flags|=2048,Ga(9,Qu(),Ro.bind(null,a,n,l,e),null),Dt===null)throw Error(c(349));u||(Ml&124)!==0||Ao(a,e,l)}return l}function Ao(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=it.updateQueue,e===null?(e=wr(),it.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Ro(t,e,l,a){e.value=l,e.getSnapshot=a,zo(e)&&Oo(t)}function Do(t,e,l){return l(function(){zo(e)&&Oo(t)})}function zo(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Se(t,l)}catch{return!0}}function Oo(t){var e=wa(t,2);e!==null&&Re(e,t,2)}function Br(t){var e=ve();if(typeof t=="function"){var l=t;if(t=l(),oa){qe(!0);try{l()}finally{qe(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:t},e}function Mo(t,e,l,a){return t.baseState=l,Hr(t,bt,typeof a=="function"?a:fl)}function Gh(t,e,l,a,n){if(Ku(t))throw Error(c(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){u.listeners.push(r)}};O.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,No(e,u)):(u.next=l.next,e.pending=l.next=u)}}function No(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=O.T,r={};O.T=r;try{var f=l(n,a),v=O.S;v!==null&&v(r,f),Uo(t,e,f)}catch(_){Lr(t,e,_)}finally{O.T=u}}else try{u=l(n,a),Uo(t,e,u)}catch(_){Lr(t,e,_)}}function Uo(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){wo(t,e,a)},function(a){return Lr(t,e,a)}):wo(t,e,l)}function wo(t,e,l){e.status="fulfilled",e.value=l,Co(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,No(t,l)))}function Lr(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Co(e),e=e.next;while(e!==a)}t.action=null}function Co(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ho(t,e){return e}function jo(t,e){if(ht){var l=Dt.formState;if(l!==null){t:{var a=it;if(ht){if(Ct){e:{for(var n=Ct,u=$e;n.nodeType!==8;){if(!u){n=null;break e}if(n=Ve(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Ct=Ve(n.nextSibling),a=n.data==="F!";break t}}ia(a)}a=!1}a&&(e=l[0])}}return l=ve(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:e},l.queue=a,l=ef.bind(null,it,a),a.dispatch=l,a=Br(!1),u=Vr.bind(null,it,!1,a.queue),a=ve(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=Gh.bind(null,it,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Bo(t){var e=Zt();return Lo(e,bt,t)}function Lo(t,e,l){if(e=Hr(t,e,Ho)[0],t=Vu(fl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Cn(e)}catch(r){throw r===zn?Bu:r}else a=e;e=Zt();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(it.flags|=2048,Ga(9,Qu(),Vh.bind(null,n,l),null)),[a,u,t]}function Vh(t,e){t.action=e}function qo(t){var e=Zt(),l=bt;if(l!==null)return Lo(e,l,t);Zt(),e=e.memoizedState,l=Zt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Ga(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=it.updateQueue,e===null&&(e=wr(),it.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Qu(){return{destroy:void 0,resource:void 0}}function Yo(){return Zt().memoizedState}function Zu(t,e,l,a){var n=ve();a=a===void 0?null:a,it.flags|=t,n.memoizedState=Ga(1|e,Qu(),l,a)}function Hn(t,e,l,a){var n=Zt();a=a===void 0?null:a;var u=n.memoizedState.inst;bt!==null&&a!==null&&zr(a,bt.memoizedState.deps)?n.memoizedState=Ga(e,u,l,a):(it.flags|=t,n.memoizedState=Ga(1|e,u,l,a))}function Xo(t,e){Zu(8390656,8,t,e)}function Go(t,e){Hn(2048,8,t,e)}function Vo(t,e){return Hn(4,2,t,e)}function Qo(t,e){return Hn(4,4,t,e)}function Zo(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ko(t,e,l){l=l!=null?l.concat([t]):null,Hn(4,4,Zo.bind(null,e,t),l)}function qr(){}function Jo(t,e){var l=Zt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&zr(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function ko(t,e){var l=Zt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&zr(e,a[1]))return a[0];if(a=t(),oa){qe(!0);try{t()}finally{qe(!1)}}return l.memoizedState=[a,e],a}function Yr(t,e,l){return l===void 0||(Ml&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=Pf(),it.lanes|=t,Bl|=t,l)}function $o(t,e,l,a){return Se(l,e)?l:qa.current!==null?(t=Yr(t,l,a),Se(t,e)||(It=!0),t):(Ml&42)===0?(It=!0,t.memoizedState=l):(t=Pf(),it.lanes|=t,Bl|=t,e)}function Wo(t,e,l,a,n){var u=B.p;B.p=u!==0&&8>u?u:8;var r=O.T,f={};O.T=f,Vr(t,!1,e,l);try{var v=n(),_=O.S;if(_!==null&&_(f,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var M=qh(v,a);jn(t,e,M,Ae(t))}else jn(t,e,a,Ae(t))}catch(C){jn(t,e,{then:function(){},status:"rejected",reason:C},Ae())}finally{B.p=u,O.T=r}}function Qh(){}function Xr(t,e,l,a){if(t.tag!==5)throw Error(c(476));var n=Fo(t).queue;Wo(t,n,e,$,l===null?Qh:function(){return Po(t),l(a)})}function Fo(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:$},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Po(t){var e=Fo(t).next.queue;jn(t,e,{},Ae())}function Gr(){return se(tu)}function Io(){return Zt().memoizedState}function tf(){return Zt().memoizedState}function Zh(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ae();t=zl(l);var a=Ol(e,t,l);a!==null&&(Re(a,e,l),Mn(a,e,l)),e={cache:pr()},t.payload=e;return}e=e.return}}function Kh(t,e,l){var a=Ae();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Ku(t)?lf(e,l):(l=cr(t,e,l,a),l!==null&&(Re(l,t,a),af(l,e,a)))}function ef(t,e,l){var a=Ae();jn(t,e,l,a)}function jn(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ku(t))lf(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var r=e.lastRenderedState,f=u(r,l);if(n.hasEagerState=!0,n.eagerState=f,Se(f,r))return Ou(t,e,n,0),Dt===null&&zu(),!1}catch{}finally{}if(l=cr(t,e,n,a),l!==null)return Re(l,t,a),af(l,e,a),!0}return!1}function Vr(t,e,l,a){if(a={lane:2,revertLane:Ec(),action:a,hasEagerState:!1,eagerState:null,next:null},Ku(t)){if(e)throw Error(c(479))}else e=cr(t,l,a,2),e!==null&&Re(e,t,2)}function Ku(t){var e=t.alternate;return t===it||e!==null&&e===it}function lf(t,e){Ya=Yu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function af(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,jt(t,l)}}var Ju={readContext:se,use:Gu,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt},nf={readContext:se,use:Gu,useCallback:function(t,e){return ve().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:Xo,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Zu(4194308,4,Zo.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Zu(4194308,4,t,e)},useInsertionEffect:function(t,e){Zu(4,2,t,e)},useMemo:function(t,e){var l=ve();e=e===void 0?null:e;var a=t();if(oa){qe(!0);try{t()}finally{qe(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=ve();if(l!==void 0){var n=l(e);if(oa){qe(!0);try{l(e)}finally{qe(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Kh.bind(null,it,t),[a.memoizedState,t]},useRef:function(t){var e=ve();return t={current:t},e.memoizedState=t},useState:function(t){t=Br(t);var e=t.queue,l=ef.bind(null,it,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:qr,useDeferredValue:function(t,e){var l=ve();return Yr(l,t,e)},useTransition:function(){var t=Br(!1);return t=Wo.bind(null,it,t.queue,!0,!1),ve().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=it,n=ve();if(ht){if(l===void 0)throw Error(c(407));l=l()}else{if(l=e(),Dt===null)throw Error(c(349));(ft&124)!==0||Ao(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Xo(Do.bind(null,a,u,t),[t]),a.flags|=2048,Ga(9,Qu(),Ro.bind(null,a,u,l,e),null),l},useId:function(){var t=ve(),e=Dt.identifierPrefix;if(ht){var l=cl,a=rl;l=(a&~(1<<32-le(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=Xu++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=Yh++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Gr,useFormState:jo,useActionState:jo,useOptimistic:function(t){var e=ve();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Vr.bind(null,it,!0,l),l.dispatch=e,[t,e]},useMemoCache:Cr,useCacheRefresh:function(){return ve().memoizedState=Zh.bind(null,it)}},uf={readContext:se,use:Gu,useCallback:Jo,useContext:se,useEffect:Go,useImperativeHandle:Ko,useInsertionEffect:Vo,useLayoutEffect:Qo,useMemo:ko,useReducer:Vu,useRef:Yo,useState:function(){return Vu(fl)},useDebugValue:qr,useDeferredValue:function(t,e){var l=Zt();return $o(l,bt.memoizedState,t,e)},useTransition:function(){var t=Vu(fl)[0],e=Zt().memoizedState;return[typeof t=="boolean"?t:Cn(t),e]},useSyncExternalStore:_o,useId:Io,useHostTransitionStatus:Gr,useFormState:Bo,useActionState:Bo,useOptimistic:function(t,e){var l=Zt();return Mo(l,bt,t,e)},useMemoCache:Cr,useCacheRefresh:tf},Jh={readContext:se,use:Gu,useCallback:Jo,useContext:se,useEffect:Go,useImperativeHandle:Ko,useInsertionEffect:Vo,useLayoutEffect:Qo,useMemo:ko,useReducer:jr,useRef:Yo,useState:function(){return jr(fl)},useDebugValue:qr,useDeferredValue:function(t,e){var l=Zt();return bt===null?Yr(l,t,e):$o(l,bt.memoizedState,t,e)},useTransition:function(){var t=jr(fl)[0],e=Zt().memoizedState;return[typeof t=="boolean"?t:Cn(t),e]},useSyncExternalStore:_o,useId:Io,useHostTransitionStatus:Gr,useFormState:qo,useActionState:qo,useOptimistic:function(t,e){var l=Zt();return bt!==null?Mo(l,bt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Cr,useCacheRefresh:tf},Va=null,Bn=0;function ku(t){var e=Bn;return Bn+=1,Va===null&&(Va=[]),vo(Va,t,e)}function Ln(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function $u(t,e){throw e.$$typeof===h?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function rf(t){var e=t._init;return e(t._payload)}function cf(t){function e(x,p){if(t){var T=x.deletions;T===null?(x.deletions=[p],x.flags|=16):T.push(p)}}function l(x,p){if(!t)return null;for(;p!==null;)e(x,p),p=p.sibling;return null}function a(x){for(var p=new Map;x!==null;)x.key!==null?p.set(x.key,x):p.set(x.index,x),x=x.sibling;return p}function n(x,p){return x=il(x,p),x.index=0,x.sibling=null,x}function u(x,p,T){return x.index=T,t?(T=x.alternate,T!==null?(T=T.index,T<p?(x.flags|=67108866,p):T):(x.flags|=67108866,p)):(x.flags|=1048576,p)}function r(x){return t&&x.alternate===null&&(x.flags|=67108866),x}function f(x,p,T,w){return p===null||p.tag!==6?(p=or(T,x.mode,w),p.return=x,p):(p=n(p,T),p.return=x,p)}function v(x,p,T,w){var J=T.type;return J===V?M(x,p,T.props.children,w,T.key):p!==null&&(p.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===_t&&rf(J)===p.type)?(p=n(p,T.props),Ln(p,T),p.return=x,p):(p=Nu(T.type,T.key,T.props,null,x.mode,w),Ln(p,T),p.return=x,p)}function _(x,p,T,w){return p===null||p.tag!==4||p.stateNode.containerInfo!==T.containerInfo||p.stateNode.implementation!==T.implementation?(p=fr(T,x.mode,w),p.return=x,p):(p=n(p,T.children||[]),p.return=x,p)}function M(x,p,T,w,J){return p===null||p.tag!==7?(p=la(T,x.mode,w,J),p.return=x,p):(p=n(p,T),p.return=x,p)}function C(x,p,T){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=or(""+p,x.mode,T),p.return=x,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case U:return T=Nu(p.type,p.key,p.props,null,x.mode,T),Ln(T,p),T.return=x,T;case Y:return p=fr(p,x.mode,T),p.return=x,p;case _t:var w=p._init;return p=w(p._payload),C(x,p,T)}if(wt(p)||Ut(p))return p=la(p,x.mode,T,null),p.return=x,p;if(typeof p.then=="function")return C(x,ku(p),T);if(p.$$typeof===k)return C(x,Hu(x,p),T);$u(x,p)}return null}function R(x,p,T,w){var J=p!==null?p.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return J!==null?null:f(x,p,""+T,w);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case U:return T.key===J?v(x,p,T,w):null;case Y:return T.key===J?_(x,p,T,w):null;case _t:return J=T._init,T=J(T._payload),R(x,p,T,w)}if(wt(T)||Ut(T))return J!==null?null:M(x,p,T,w,null);if(typeof T.then=="function")return R(x,p,ku(T),w);if(T.$$typeof===k)return R(x,p,Hu(x,T),w);$u(x,T)}return null}function z(x,p,T,w,J){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return x=x.get(T)||null,f(p,x,""+w,J);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case U:return x=x.get(w.key===null?T:w.key)||null,v(p,x,w,J);case Y:return x=x.get(w.key===null?T:w.key)||null,_(p,x,w,J);case _t:var rt=w._init;return w=rt(w._payload),z(x,p,T,w,J)}if(wt(w)||Ut(w))return x=x.get(T)||null,M(p,x,w,J,null);if(typeof w.then=="function")return z(x,p,T,ku(w),J);if(w.$$typeof===k)return z(x,p,T,Hu(p,w),J);$u(p,w)}return null}function at(x,p,T,w){for(var J=null,rt=null,F=p,et=p=0,ee=null;F!==null&&et<T.length;et++){F.index>et?(ee=F,F=null):ee=F.sibling;var mt=R(x,F,T[et],w);if(mt===null){F===null&&(F=ee);break}t&&F&&mt.alternate===null&&e(x,F),p=u(mt,p,et),rt===null?J=mt:rt.sibling=mt,rt=mt,F=ee}if(et===T.length)return l(x,F),ht&&na(x,et),J;if(F===null){for(;et<T.length;et++)F=C(x,T[et],w),F!==null&&(p=u(F,p,et),rt===null?J=F:rt.sibling=F,rt=F);return ht&&na(x,et),J}for(F=a(F);et<T.length;et++)ee=z(F,x,et,T[et],w),ee!==null&&(t&&ee.alternate!==null&&F.delete(ee.key===null?et:ee.key),p=u(ee,p,et),rt===null?J=ee:rt.sibling=ee,rt=ee);return t&&F.forEach(function(Kl){return e(x,Kl)}),ht&&na(x,et),J}function I(x,p,T,w){if(T==null)throw Error(c(151));for(var J=null,rt=null,F=p,et=p=0,ee=null,mt=T.next();F!==null&&!mt.done;et++,mt=T.next()){F.index>et?(ee=F,F=null):ee=F.sibling;var Kl=R(x,F,mt.value,w);if(Kl===null){F===null&&(F=ee);break}t&&F&&Kl.alternate===null&&e(x,F),p=u(Kl,p,et),rt===null?J=Kl:rt.sibling=Kl,rt=Kl,F=ee}if(mt.done)return l(x,F),ht&&na(x,et),J;if(F===null){for(;!mt.done;et++,mt=T.next())mt=C(x,mt.value,w),mt!==null&&(p=u(mt,p,et),rt===null?J=mt:rt.sibling=mt,rt=mt);return ht&&na(x,et),J}for(F=a(F);!mt.done;et++,mt=T.next())mt=z(F,x,et,mt.value,w),mt!==null&&(t&&mt.alternate!==null&&F.delete(mt.key===null?et:mt.key),p=u(mt,p,et),rt===null?J=mt:rt.sibling=mt,rt=mt);return t&&F.forEach(function(k0){return e(x,k0)}),ht&&na(x,et),J}function Et(x,p,T,w){if(typeof T=="object"&&T!==null&&T.type===V&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case U:t:{for(var J=T.key;p!==null;){if(p.key===J){if(J=T.type,J===V){if(p.tag===7){l(x,p.sibling),w=n(p,T.props.children),w.return=x,x=w;break t}}else if(p.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===_t&&rf(J)===p.type){l(x,p.sibling),w=n(p,T.props),Ln(w,T),w.return=x,x=w;break t}l(x,p);break}else e(x,p);p=p.sibling}T.type===V?(w=la(T.props.children,x.mode,w,T.key),w.return=x,x=w):(w=Nu(T.type,T.key,T.props,null,x.mode,w),Ln(w,T),w.return=x,x=w)}return r(x);case Y:t:{for(J=T.key;p!==null;){if(p.key===J)if(p.tag===4&&p.stateNode.containerInfo===T.containerInfo&&p.stateNode.implementation===T.implementation){l(x,p.sibling),w=n(p,T.children||[]),w.return=x,x=w;break t}else{l(x,p);break}else e(x,p);p=p.sibling}w=fr(T,x.mode,w),w.return=x,x=w}return r(x);case _t:return J=T._init,T=J(T._payload),Et(x,p,T,w)}if(wt(T))return at(x,p,T,w);if(Ut(T)){if(J=Ut(T),typeof J!="function")throw Error(c(150));return T=J.call(T),I(x,p,T,w)}if(typeof T.then=="function")return Et(x,p,ku(T),w);if(T.$$typeof===k)return Et(x,p,Hu(x,T),w);$u(x,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,p!==null&&p.tag===6?(l(x,p.sibling),w=n(p,T),w.return=x,x=w):(l(x,p),w=or(T,x.mode,w),w.return=x,x=w),r(x)):l(x,p)}return function(x,p,T,w){try{Bn=0;var J=Et(x,p,T,w);return Va=null,J}catch(F){if(F===zn||F===Bu)throw F;var rt=Ee(29,F,null,x.mode);return rt.lanes=w,rt.return=x,rt}finally{}}}var Qa=cf(!0),sf=cf(!1),He=H(null),We=null;function Nl(t){var e=t.alternate;j(kt,kt.current&1),j(He,t),We===null&&(e===null||qa.current!==null||e.memoizedState!==null)&&(We=t)}function of(t){if(t.tag===22){if(j(kt,kt.current),j(He,t),We===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(We=t)}}else Ul()}function Ul(){j(kt,kt.current),j(He,He.current)}function dl(t){K(He),We===t&&(We=null),K(kt)}var kt=H(0);function Wu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||wc(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Qr(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:S({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Zr={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=Ae(),n=zl(a);n.payload=e,l!=null&&(n.callback=l),e=Ol(t,n,a),e!==null&&(Re(e,t,a),Mn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=Ae(),n=zl(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=Ol(t,n,a),e!==null&&(Re(e,t,a),Mn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Ae(),a=zl(l);a.tag=2,e!=null&&(a.callback=e),e=Ol(t,a,l),e!==null&&(Re(e,t,l),Mn(e,t,l))}};function ff(t,e,l,a,n,u,r){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,r):e.prototype&&e.prototype.isPureReactComponent?!Sn(l,a)||!Sn(n,u):!0}function df(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Zr.enqueueReplaceState(e,e.state,null)}function fa(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=S({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var Fu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function mf(t){Fu(t)}function hf(t){console.error(t)}function yf(t){Fu(t)}function Pu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function vf(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Kr(t,e,l){return l=zl(l),l.tag=3,l.payload={element:null},l.callback=function(){Pu(t,e)},l}function gf(t){return t=zl(t),t.tag=3,t}function pf(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){vf(e,l,a)}}var r=l.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(t.callback=function(){vf(e,l,a),typeof n!="function"&&(Ll===null?Ll=new Set([this]):Ll.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function kh(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&An(e,l,n,!0),l=He.current,l!==null){switch(l.tag){case 13:return We===null?vc():l.alternate===null&&Ht===0&&(Ht=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Er?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),pc(t,a,n)),!1;case 22:return l.flags|=65536,a===Er?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),pc(t,a,n)),!1}throw Error(c(435,l.tag))}return pc(t,a,n),vc(),!1}if(ht)return e=He.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==hr&&(t=Error(c(422),{cause:a}),_n(Ne(t,l)))):(a!==hr&&(e=Error(c(423),{cause:a}),_n(Ne(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ne(a,l),n=Kr(t.stateNode,a,n),_r(t,n),Ht!==4&&(Ht=2)),!1;var u=Error(c(520),{cause:a});if(u=Ne(u,l),Zn===null?Zn=[u]:Zn.push(u),Ht!==4&&(Ht=2),e===null)return!0;a=Ne(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Kr(l.stateNode,a,t),_r(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Ll===null||!Ll.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=gf(n),pf(n,t,l,a),_r(l,n),!1}l=l.return}while(l!==null);return!1}var bf=Error(c(461)),It=!1;function ne(t,e,l,a){e.child=t===null?sf(e,null,l,a):Qa(e,t.child,l,a)}function Sf(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var r={};for(var f in a)f!=="ref"&&(r[f]=a[f])}else r=a;return ca(e),a=Or(t,e,l,r,u,n),f=Mr(),t!==null&&!It?(Nr(t,e,n),ml(t,e,n)):(ht&&f&&dr(e),e.flags|=1,ne(t,e,a,n),e.child)}function Ef(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!sr(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,xf(t,e,u,a,n)):(t=Nu(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!tc(t,n)){var r=u.memoizedProps;if(l=l.compare,l=l!==null?l:Sn,l(r,a)&&t.ref===e.ref)return ml(t,e,n)}return e.flags|=1,t=il(u,a),t.ref=e.ref,t.return=e,e.child=t}function xf(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(Sn(u,a)&&t.ref===e.ref)if(It=!1,e.pendingProps=a=u,tc(t,n))(t.flags&131072)!==0&&(It=!0);else return e.lanes=t.lanes,ml(t,e,n)}return Jr(t,e,l,a,n)}function Tf(t,e,l){var a=e.pendingProps,n=a.children,u=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;e.childLanes=u&~a}else e.childLanes=0,e.child=null;return _f(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ju(e,u!==null?u.cachePool:null),u!==null?Eo(e,u):Rr(),of(e);else return e.lanes=e.childLanes=536870912,_f(t,e,u!==null?u.baseLanes|l:l,l)}else u!==null?(ju(e,u.cachePool),Eo(e,u),Ul(),e.memoizedState=null):(t!==null&&ju(e,null),Rr(),Ul());return ne(t,e,n,l),e.child}function _f(t,e,l,a){var n=Sr();return n=n===null?null:{parent:Jt._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&ju(e,null),Rr(),of(e),t!==null&&An(t,e,a,!0),null}function Iu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Jr(t,e,l,a,n){return ca(e),l=Or(t,e,l,a,void 0,n),a=Mr(),t!==null&&!It?(Nr(t,e,n),ml(t,e,n)):(ht&&a&&dr(e),e.flags|=1,ne(t,e,l,n),e.child)}function Af(t,e,l,a,n,u){return ca(e),e.updateQueue=null,l=To(e,a,l,n),xo(t),a=Mr(),t!==null&&!It?(Nr(t,e,u),ml(t,e,u)):(ht&&a&&dr(e),e.flags|=1,ne(t,e,l,u),e.child)}function Rf(t,e,l,a,n){if(ca(e),e.stateNode===null){var u=Ca,r=l.contextType;typeof r=="object"&&r!==null&&(u=se(r)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Zr,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},xr(e),r=l.contextType,u.context=typeof r=="object"&&r!==null?se(r):Ca,u.state=e.memoizedState,r=l.getDerivedStateFromProps,typeof r=="function"&&(Qr(e,l,r,a),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(r=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),r!==u.state&&Zr.enqueueReplaceState(u,u.state,null),Un(e,a,u,n),Nn(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var f=e.memoizedProps,v=fa(l,f);u.props=v;var _=u.context,M=l.contextType;r=Ca,typeof M=="object"&&M!==null&&(r=se(M));var C=l.getDerivedStateFromProps;M=typeof C=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,M||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||_!==r)&&df(e,u,a,r),Dl=!1;var R=e.memoizedState;u.state=R,Un(e,a,u,n),Nn(),_=e.memoizedState,f||R!==_||Dl?(typeof C=="function"&&(Qr(e,l,C,a),_=e.memoizedState),(v=Dl||ff(e,l,v,a,R,_,r))?(M||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=_),u.props=a,u.state=_,u.context=r,a=v):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,Tr(t,e),r=e.memoizedProps,M=fa(l,r),u.props=M,C=e.pendingProps,R=u.context,_=l.contextType,v=Ca,typeof _=="object"&&_!==null&&(v=se(_)),f=l.getDerivedStateFromProps,(_=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(r!==C||R!==v)&&df(e,u,a,v),Dl=!1,R=e.memoizedState,u.state=R,Un(e,a,u,n),Nn();var z=e.memoizedState;r!==C||R!==z||Dl||t!==null&&t.dependencies!==null&&Cu(t.dependencies)?(typeof f=="function"&&(Qr(e,l,f,a),z=e.memoizedState),(M=Dl||ff(e,l,M,a,R,z,v)||t!==null&&t.dependencies!==null&&Cu(t.dependencies))?(_||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,z,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,z,v)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||r===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||r===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=z),u.props=a,u.state=z,u.context=v,a=M):(typeof u.componentDidUpdate!="function"||r===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||r===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,Iu(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=Qa(e,t.child,null,n),e.child=Qa(e,null,l,n)):ne(t,e,l,n),e.memoizedState=u.state,t=e.child):t=ml(t,e,n),t}function Df(t,e,l,a){return Tn(),e.flags|=256,ne(t,e,l,a),e.child}var kr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $r(t){return{baseLanes:t,cachePool:mo()}}function Wr(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=je),t}function zf(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,r;if((r=u)||(r=t!==null&&t.memoizedState===null?!1:(kt.current&2)!==0),r&&(n=!0,e.flags&=-129),r=(e.flags&32)!==0,e.flags&=-33,t===null){if(ht){if(n?Nl(e):Ul(),ht){var f=Ct,v;if(v=f){t:{for(v=f,f=$e;v.nodeType!==8;){if(!f){f=null;break t}if(v=Ve(v.nextSibling),v===null){f=null;break t}}f=v}f!==null?(e.memoizedState={dehydrated:f,treeContext:aa!==null?{id:rl,overflow:cl}:null,retryLane:536870912,hydrationErrors:null},v=Ee(18,null,null,0),v.stateNode=f,v.return=e,e.child=v,he=e,Ct=null,v=!0):v=!1}v||ia(e)}if(f=e.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return wc(f)?e.lanes=32:e.lanes=536870912,null;dl(e)}return f=a.children,a=a.fallback,n?(Ul(),n=e.mode,f=ti({mode:"hidden",children:f},n),a=la(a,n,l,null),f.return=e,a.return=e,f.sibling=a,e.child=f,n=e.child,n.memoizedState=$r(l),n.childLanes=Wr(t,r,l),e.memoizedState=kr,a):(Nl(e),Fr(e,f))}if(v=t.memoizedState,v!==null&&(f=v.dehydrated,f!==null)){if(u)e.flags&256?(Nl(e),e.flags&=-257,e=Pr(t,e,l)):e.memoizedState!==null?(Ul(),e.child=t.child,e.flags|=128,e=null):(Ul(),n=a.fallback,f=e.mode,a=ti({mode:"visible",children:a.children},f),n=la(n,f,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,Qa(e,t.child,null,l),a=e.child,a.memoizedState=$r(l),a.childLanes=Wr(t,r,l),e.memoizedState=kr,e=n);else if(Nl(e),wc(f)){if(r=f.nextSibling&&f.nextSibling.dataset,r)var _=r.dgst;r=_,a=Error(c(419)),a.stack="",a.digest=r,_n({value:a,source:null,stack:null}),e=Pr(t,e,l)}else if(It||An(t,e,l,!1),r=(l&t.childLanes)!==0,It||r){if(r=Dt,r!==null&&(a=l&-l,a=(a&42)!==0?1:Vt(a),a=(a&(r.suspendedLanes|l))!==0?0:a,a!==0&&a!==v.retryLane))throw v.retryLane=a,wa(t,a),Re(r,t,a),bf;f.data==="$?"||vc(),e=Pr(t,e,l)}else f.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=v.treeContext,Ct=Ve(f.nextSibling),he=e,ht=!0,ua=null,$e=!1,t!==null&&(we[Ce++]=rl,we[Ce++]=cl,we[Ce++]=aa,rl=t.id,cl=t.overflow,aa=e),e=Fr(e,a.children),e.flags|=4096);return e}return n?(Ul(),n=a.fallback,f=e.mode,v=t.child,_=v.sibling,a=il(v,{mode:"hidden",children:a.children}),a.subtreeFlags=v.subtreeFlags&65011712,_!==null?n=il(_,n):(n=la(n,f,l,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,f=t.child.memoizedState,f===null?f=$r(l):(v=f.cachePool,v!==null?(_=Jt._currentValue,v=v.parent!==_?{parent:_,pool:_}:v):v=mo(),f={baseLanes:f.baseLanes|l,cachePool:v}),n.memoizedState=f,n.childLanes=Wr(t,r,l),e.memoizedState=kr,a):(Nl(e),l=t.child,t=l.sibling,l=il(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=l,e.memoizedState=null,l)}function Fr(t,e){return e=ti({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ti(t,e){return t=Ee(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Pr(t,e,l){return Qa(e,t.child,null,l),t=Fr(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Of(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),vr(t.return,e,l)}function Ir(t,e,l,a,n){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=l,u.tailMode=n)}function Mf(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;if(ne(t,e,a.children,l),a=kt.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Of(t,l,e);else if(t.tag===19)Of(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(j(kt,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Wu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),Ir(e,!1,n,l,u);break;case"backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Wu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}Ir(e,!0,l,null,u);break;case"together":Ir(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function ml(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Bl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(An(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,l=il(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=il(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function tc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Cu(t)))}function $h(t,e,l){switch(e.tag){case 3:lt(e,e.stateNode.containerInfo),Rl(e,Jt,t.memoizedState.cache),Tn();break;case 27:case 5:El(e);break;case 4:lt(e,e.stateNode.containerInfo);break;case 10:Rl(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Nl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?zf(t,e,l):(Nl(e),t=ml(t,e,l),t!==null?t.sibling:null);Nl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(An(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return Mf(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),j(kt,kt.current),a)break;return null;case 22:case 23:return e.lanes=0,Tf(t,e,l);case 24:Rl(e,Jt,t.memoizedState.cache)}return ml(t,e,l)}function Nf(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)It=!0;else{if(!tc(t,l)&&(e.flags&128)===0)return It=!1,$h(t,e,l);It=(t.flags&131072)!==0}else It=!1,ht&&(e.flags&1048576)!==0&&uo(e,wu,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,n=a._init;if(a=n(a._payload),e.type=a,typeof a=="function")sr(a)?(t=fa(a,t),e.tag=1,e=Rf(null,e,a,t,l)):(e.tag=0,e=Jr(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===dt){e.tag=11,e=Sf(null,e,a,t,l);break t}else if(n===zt){e.tag=14,e=Ef(null,e,a,t,l);break t}}throw e=De(a)||a,Error(c(306,e,""))}}return e;case 0:return Jr(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=fa(a,e.pendingProps),Rf(t,e,a,n,l);case 3:t:{if(lt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,Tr(t,e),Un(e,a,null,l);var r=e.memoizedState;if(a=r.cache,Rl(e,Jt,a),a!==u.cache&&gr(e,[Jt],l,!0),Nn(),a=r.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:r.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Df(t,e,a,l);break t}else if(a!==n){n=Ne(Error(c(424)),e),_n(n),e=Df(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ct=Ve(t.firstChild),he=e,ht=!0,ua=null,$e=!0,l=sf(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Tn(),a===n){e=ml(t,e,l);break t}ne(t,e,a,l)}e=e.child}return e;case 26:return Iu(t,e),t===null?(l=Hd(e.type,null,e.pendingProps,null))?e.memoizedState=l:ht||(l=e.type,t=e.pendingProps,a=hi(W.current).createElement(l),a[Lt]=e,a[Rt]=t,ie(a,l,t),Pt(a),e.stateNode=a):e.memoizedState=Hd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return El(e),t===null&&ht&&(a=e.stateNode=Ud(e.type,e.pendingProps,W.current),he=e,$e=!0,n=Ct,Xl(e.type)?(Cc=n,Ct=Ve(a.firstChild)):Ct=n),ne(t,e,e.pendingProps.children,l),Iu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ht&&((n=a=Ct)&&(a=T0(a,e.type,e.pendingProps,$e),a!==null?(e.stateNode=a,he=e,Ct=Ve(a.firstChild),$e=!1,n=!0):n=!1),n||ia(e)),El(e),n=e.type,u=e.pendingProps,r=t!==null?t.memoizedProps:null,a=u.children,Mc(n,u)?a=null:r!==null&&Mc(n,r)&&(e.flags|=32),e.memoizedState!==null&&(n=Or(t,e,Xh,null,null,l),tu._currentValue=n),Iu(t,e),ne(t,e,a,l),e.child;case 6:return t===null&&ht&&((t=l=Ct)&&(l=_0(l,e.pendingProps,$e),l!==null?(e.stateNode=l,he=e,Ct=null,t=!0):t=!1),t||ia(e)),null;case 13:return zf(t,e,l);case 4:return lt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Qa(e,null,a,l):ne(t,e,a,l),e.child;case 11:return Sf(t,e,e.type,e.pendingProps,l);case 7:return ne(t,e,e.pendingProps,l),e.child;case 8:return ne(t,e,e.pendingProps.children,l),e.child;case 12:return ne(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,Rl(e,e.type,a.value),ne(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,ca(e),n=se(n),a=a(n),e.flags|=1,ne(t,e,a,l),e.child;case 14:return Ef(t,e,e.type,e.pendingProps,l);case 15:return xf(t,e,e.type,e.pendingProps,l);case 19:return Mf(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=ti(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=il(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return Tf(t,e,l);case 24:return ca(e),a=se(Jt),t===null?(n=Sr(),n===null&&(n=Dt,u=pr(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},xr(e),Rl(e,Jt,n)):((t.lanes&l)!==0&&(Tr(t,e),Un(e,null,null,l),Nn()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Rl(e,Jt,a)):(a=u.cache,Rl(e,Jt,a),a!==n.cache&&gr(e,[Jt],l,!0))),ne(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function hl(t){t.flags|=4}function Uf(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Yd(e)){if(e=He.current,e!==null&&((ft&4194048)===ft?We!==null:(ft&62914560)!==ft&&(ft&536870912)===0||e!==We))throw On=Er,ho;t.flags|=8192}}function ei(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?yu():536870912,t.lanes|=e,ka|=e)}function qn(t,e){if(!ht)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Nt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function Wh(t,e,l){var a=e.pendingProps;switch(mr(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(e),null;case 1:return Nt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ol(Jt),fe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(xn(e)?hl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,co())),Nt(e),null;case 26:return l=e.memoizedState,t===null?(hl(e),l!==null?(Nt(e),Uf(e,l)):(Nt(e),e.flags&=-16777217)):l?l!==t.memoizedState?(hl(e),Nt(e),Uf(e,l)):(Nt(e),e.flags&=-16777217):(t.memoizedProps!==a&&hl(e),Nt(e),e.flags&=-16777217),null;case 27:el(e),l=W.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hl(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Nt(e),null}t=Z.current,xn(e)?io(e):(t=Ud(n,a,l),e.stateNode=t,hl(e))}return Nt(e),null;case 5:if(el(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&hl(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Nt(e),null}if(t=Z.current,xn(e))io(e);else{switch(n=hi(W.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}t[Lt]=e,t[Rt]=a;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(ie(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&hl(e)}}return Nt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&hl(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=W.current,xn(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=he,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Lt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Ad(t.nodeValue,l)),t||ia(e)}else t=hi(t).createTextNode(a),t[Lt]=e,e.stateNode=t}return Nt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=xn(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(c(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[Lt]=e}else Tn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Nt(e),n=!1}else n=co(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(dl(e),e):(dl(e),null)}if(dl(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),ei(e,e.updateQueue),Nt(e),null;case 4:return fe(),t===null&&Ac(e.stateNode.containerInfo),Nt(e),null;case 10:return ol(e.type),Nt(e),null;case 19:if(K(kt),n=e.memoizedState,n===null)return Nt(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)qn(n,!1);else{if(Ht!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Wu(t),u!==null){for(e.flags|=128,qn(n,!1),t=u.updateQueue,e.updateQueue=t,ei(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)no(l,t),l=l.sibling;return j(kt,kt.current&1|2),e.child}t=t.sibling}n.tail!==null&&ce()>ni&&(e.flags|=128,a=!0,qn(n,!1),e.lanes=4194304)}else{if(!a)if(t=Wu(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,ei(e,t),qn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ht)return Nt(e),null}else 2*ce()-n.renderingStartTime>ni&&l!==536870912&&(e.flags|=128,a=!0,qn(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ce(),e.sibling=null,t=kt.current,j(kt,a?t&1|2:t&1),e):(Nt(e),null);case 22:case 23:return dl(e),Dr(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Nt(e),e.subtreeFlags&6&&(e.flags|=8192)):Nt(e),l=e.updateQueue,l!==null&&ei(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&K(sa),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),ol(Jt),Nt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Fh(t,e){switch(mr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ol(Jt),fe(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return el(e),null;case 13:if(dl(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Tn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return K(kt),null;case 4:return fe(),null;case 10:return ol(e.type),null;case 22:case 23:return dl(e),Dr(),t!==null&&K(sa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ol(Jt),null;case 25:return null;default:return null}}function wf(t,e){switch(mr(e),e.tag){case 3:ol(Jt),fe();break;case 26:case 27:case 5:el(e);break;case 4:fe();break;case 13:dl(e);break;case 19:K(kt);break;case 10:ol(e.type);break;case 22:case 23:dl(e),Dr(),t!==null&&K(sa);break;case 24:ol(Jt)}}function Yn(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,r=l.inst;a=u(),r.destroy=a}l=l.next}while(l!==n)}}catch(f){xt(e,e.return,f)}}function wl(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var r=a.inst,f=r.destroy;if(f!==void 0){r.destroy=void 0,n=e;var v=l,_=f;try{_()}catch(M){xt(n,v,M)}}}a=a.next}while(a!==u)}}catch(M){xt(e,e.return,M)}}function Cf(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{So(e,l)}catch(a){xt(t,t.return,a)}}}function Hf(t,e,l){l.props=fa(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){xt(t,e,a)}}function Xn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){xt(t,e,n)}}function Fe(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){xt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){xt(t,e,n)}else l.current=null}function jf(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){xt(t,t.return,n)}}function ec(t,e,l){try{var a=t.stateNode;p0(a,t.type,l,e),a[Rt]=e}catch(n){xt(t,t.return,n)}}function Bf(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Xl(t.type)||t.tag===4}function lc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bf(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Xl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ac(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=mi));else if(a!==4&&(a===27&&Xl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(ac(t,e,l),t=t.sibling;t!==null;)ac(t,e,l),t=t.sibling}function li(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&Xl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(li(t,e,l),t=t.sibling;t!==null;)li(t,e,l),t=t.sibling}function Lf(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ie(e,a,l),e[Lt]=t,e[Rt]=l}catch(u){xt(t,t.return,u)}}var yl=!1,Yt=!1,nc=!1,qf=typeof WeakSet=="function"?WeakSet:Set,te=null;function Ph(t,e){if(t=t.containerInfo,zc=Si,t=ks(t),lr(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var r=0,f=-1,v=-1,_=0,M=0,C=t,R=null;e:for(;;){for(var z;C!==l||n!==0&&C.nodeType!==3||(f=r+n),C!==u||a!==0&&C.nodeType!==3||(v=r+a),C.nodeType===3&&(r+=C.nodeValue.length),(z=C.firstChild)!==null;)R=C,C=z;for(;;){if(C===t)break e;if(R===l&&++_===n&&(f=r),R===u&&++M===a&&(v=r),(z=C.nextSibling)!==null)break;C=R,R=C.parentNode}C=z}l=f===-1||v===-1?null:{start:f,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(Oc={focusedElem:t,selectionRange:l},Si=!1,te=e;te!==null;)if(e=te,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,te=t;else for(;te!==null;){switch(e=te,u=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var at=fa(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(at,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(I){xt(l,l.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Uc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Uc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,te=t;break}te=e.return}}function Yf(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Cl(t,l),a&4&&Yn(5,l);break;case 1:if(Cl(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(r){xt(l,l.return,r)}else{var n=fa(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(r){xt(l,l.return,r)}}a&64&&Cf(l),a&512&&Xn(l,l.return);break;case 3:if(Cl(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{So(t,e)}catch(r){xt(l,l.return,r)}}break;case 27:e===null&&a&4&&Lf(l);case 26:case 5:Cl(t,l),e===null&&a&4&&jf(l),a&512&&Xn(l,l.return);break;case 12:Cl(t,l);break;case 13:Cl(t,l),a&4&&Vf(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=r0.bind(null,l),A0(t,l))));break;case 22:if(a=l.memoizedState!==null||yl,!a){e=e!==null&&e.memoizedState!==null||Yt,n=yl;var u=Yt;yl=a,(Yt=e)&&!u?Hl(t,l,(l.subtreeFlags&8772)!==0):Cl(t,l),yl=n,Yt=u}break;case 30:break;default:Cl(t,l)}}function Xf(t){var e=t.alternate;e!==null&&(t.alternate=null,Xf(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Bi(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ot=null,ge=!1;function vl(t,e,l){for(l=l.child;l!==null;)Gf(t,e,l),l=l.sibling}function Gf(t,e,l){if(me&&typeof me.onCommitFiberUnmount=="function")try{me.onCommitFiberUnmount(Je,l)}catch{}switch(l.tag){case 26:Yt||Fe(l,e),vl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Yt||Fe(l,e);var a=Ot,n=ge;Xl(l.type)&&(Ot=l.stateNode,ge=!1),vl(t,e,l),Wn(l.stateNode),Ot=a,ge=n;break;case 5:Yt||Fe(l,e);case 6:if(a=Ot,n=ge,Ot=null,vl(t,e,l),Ot=a,ge=n,Ot!==null)if(ge)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(l.stateNode)}catch(u){xt(l,e,u)}else try{Ot.removeChild(l.stateNode)}catch(u){xt(l,e,u)}break;case 18:Ot!==null&&(ge?(t=Ot,Md(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),nu(t)):Md(Ot,l.stateNode));break;case 4:a=Ot,n=ge,Ot=l.stateNode.containerInfo,ge=!0,vl(t,e,l),Ot=a,ge=n;break;case 0:case 11:case 14:case 15:Yt||wl(2,l,e),Yt||wl(4,l,e),vl(t,e,l);break;case 1:Yt||(Fe(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Hf(l,e,a)),vl(t,e,l);break;case 21:vl(t,e,l);break;case 22:Yt=(a=Yt)||l.memoizedState!==null,vl(t,e,l),Yt=a;break;default:vl(t,e,l)}}function Vf(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{nu(t)}catch(l){xt(e,e.return,l)}}function Ih(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new qf),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new qf),e;default:throw Error(c(435,t.tag))}}function uc(t,e){var l=Ih(t);e.forEach(function(a){var n=c0.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function xe(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,r=e,f=r;t:for(;f!==null;){switch(f.tag){case 27:if(Xl(f.type)){Ot=f.stateNode,ge=!1;break t}break;case 5:Ot=f.stateNode,ge=!1;break t;case 3:case 4:Ot=f.stateNode.containerInfo,ge=!0;break t}f=f.return}if(Ot===null)throw Error(c(160));Gf(u,r,n),Ot=null,ge=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Qf(e,t),e=e.sibling}var Ge=null;function Qf(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:xe(e,t),Te(t),a&4&&(wl(3,t,t.return),Yn(3,t),wl(5,t,t.return));break;case 1:xe(e,t),Te(t),a&512&&(Yt||l===null||Fe(l,l.return)),a&64&&yl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ge;if(xe(e,t),Te(t),a&512&&(Yt||l===null||Fe(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[fn]||u[Lt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),ie(u,a,l),u[Lt]=t,Pt(u),a=u;break t;case"link":var r=Ld("link","href",n).get(a+(l.href||""));if(r){for(var f=0;f<r.length;f++)if(u=r[f],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){r.splice(f,1);break e}}u=n.createElement(a),ie(u,a,l),n.head.appendChild(u);break;case"meta":if(r=Ld("meta","content",n).get(a+(l.content||""))){for(f=0;f<r.length;f++)if(u=r[f],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){r.splice(f,1);break e}}u=n.createElement(a),ie(u,a,l),n.head.appendChild(u);break;default:throw Error(c(468,a))}u[Lt]=t,Pt(u),a=u}t.stateNode=a}else qd(n,t.type,t.stateNode);else t.stateNode=Bd(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?qd(n,t.type,t.stateNode):Bd(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&ec(t,t.memoizedProps,l.memoizedProps)}break;case 27:xe(e,t),Te(t),a&512&&(Yt||l===null||Fe(l,l.return)),l!==null&&a&4&&ec(t,t.memoizedProps,l.memoizedProps);break;case 5:if(xe(e,t),Te(t),a&512&&(Yt||l===null||Fe(l,l.return)),t.flags&32){n=t.stateNode;try{Ra(n,"")}catch(z){xt(t,t.return,z)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,ec(t,n,l!==null?l.memoizedProps:n)),a&1024&&(nc=!0);break;case 6:if(xe(e,t),Te(t),a&4){if(t.stateNode===null)throw Error(c(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(z){xt(t,t.return,z)}}break;case 3:if(gi=null,n=Ge,Ge=yi(e.containerInfo),xe(e,t),Ge=n,Te(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{nu(e.containerInfo)}catch(z){xt(t,t.return,z)}nc&&(nc=!1,Zf(t));break;case 4:a=Ge,Ge=yi(t.stateNode.containerInfo),xe(e,t),Te(t),Ge=a;break;case 12:xe(e,t),Te(t);break;case 13:xe(e,t),Te(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(fc=ce()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,uc(t,a)));break;case 22:n=t.memoizedState!==null;var v=l!==null&&l.memoizedState!==null,_=yl,M=Yt;if(yl=_||n,Yt=M||v,xe(e,t),Yt=M,yl=_,Te(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||v||yl||Yt||da(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){v=l=e;try{if(u=v.stateNode,n)r=u.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{f=v.stateNode;var C=v.memoizedProps.style,R=C!=null&&C.hasOwnProperty("display")?C.display:null;f.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(z){xt(v,v.return,z)}}}else if(e.tag===6){if(l===null){v=e;try{v.stateNode.nodeValue=n?"":v.memoizedProps}catch(z){xt(v,v.return,z)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,uc(t,l))));break;case 19:xe(e,t),Te(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,uc(t,a)));break;case 30:break;case 21:break;default:xe(e,t),Te(t)}}function Te(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Bf(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,u=lc(t);li(t,u,n);break;case 5:var r=l.stateNode;l.flags&32&&(Ra(r,""),l.flags&=-33);var f=lc(t);li(t,f,r);break;case 3:case 4:var v=l.stateNode.containerInfo,_=lc(t);ac(t,_,v);break;default:throw Error(c(161))}}catch(M){xt(t,t.return,M)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Zf(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Zf(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Cl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Yf(t,e.alternate,e),e=e.sibling}function da(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:wl(4,e,e.return),da(e);break;case 1:Fe(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Hf(e,e.return,l),da(e);break;case 27:Wn(e.stateNode);case 26:case 5:Fe(e,e.return),da(e);break;case 22:e.memoizedState===null&&da(e);break;case 30:da(e);break;default:da(e)}t=t.sibling}}function Hl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,r=u.flags;switch(u.tag){case 0:case 11:case 15:Hl(n,u,l),Yn(4,u);break;case 1:if(Hl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(_){xt(a,a.return,_)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var v=n.shared.hiddenCallbacks;if(v!==null)for(n.shared.hiddenCallbacks=null,n=0;n<v.length;n++)bo(v[n],f)}catch(_){xt(a,a.return,_)}}l&&r&64&&Cf(u),Xn(u,u.return);break;case 27:Lf(u);case 26:case 5:Hl(n,u,l),l&&a===null&&r&4&&jf(u),Xn(u,u.return);break;case 12:Hl(n,u,l);break;case 13:Hl(n,u,l),l&&r&4&&Vf(n,u);break;case 22:u.memoizedState===null&&Hl(n,u,l),Xn(u,u.return);break;case 30:break;default:Hl(n,u,l)}e=e.sibling}}function ic(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Rn(l))}function rc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Rn(t))}function Pe(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Kf(t,e,l,a),e=e.sibling}function Kf(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Pe(t,e,l,a),n&2048&&Yn(9,e);break;case 1:Pe(t,e,l,a);break;case 3:Pe(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Rn(t)));break;case 12:if(n&2048){Pe(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,r=u.id,f=u.onPostCommit;typeof f=="function"&&f(r,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(v){xt(e,e.return,v)}}else Pe(t,e,l,a);break;case 13:Pe(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,r=e.alternate,e.memoizedState!==null?u._visibility&2?Pe(t,e,l,a):Gn(t,e):u._visibility&2?Pe(t,e,l,a):(u._visibility|=2,Za(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&ic(r,e);break;case 24:Pe(t,e,l,a),n&2048&&rc(e.alternate,e);break;default:Pe(t,e,l,a)}}function Za(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var u=t,r=e,f=l,v=a,_=r.flags;switch(r.tag){case 0:case 11:case 15:Za(u,r,f,v,n),Yn(8,r);break;case 23:break;case 22:var M=r.stateNode;r.memoizedState!==null?M._visibility&2?Za(u,r,f,v,n):Gn(u,r):(M._visibility|=2,Za(u,r,f,v,n)),n&&_&2048&&ic(r.alternate,r);break;case 24:Za(u,r,f,v,n),n&&_&2048&&rc(r.alternate,r);break;default:Za(u,r,f,v,n)}e=e.sibling}}function Gn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Gn(l,a),n&2048&&ic(a.alternate,a);break;case 24:Gn(l,a),n&2048&&rc(a.alternate,a);break;default:Gn(l,a)}e=e.sibling}}var Vn=8192;function Ka(t){if(t.subtreeFlags&Vn)for(t=t.child;t!==null;)Jf(t),t=t.sibling}function Jf(t){switch(t.tag){case 26:Ka(t),t.flags&Vn&&t.memoizedState!==null&&L0(Ge,t.memoizedState,t.memoizedProps);break;case 5:Ka(t);break;case 3:case 4:var e=Ge;Ge=yi(t.stateNode.containerInfo),Ka(t),Ge=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Vn,Vn=16777216,Ka(t),Vn=e):Ka(t));break;default:Ka(t)}}function kf(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Qn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];te=a,Wf(a,t)}kf(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$f(t),t=t.sibling}function $f(t){switch(t.tag){case 0:case 11:case 15:Qn(t),t.flags&2048&&wl(9,t,t.return);break;case 3:Qn(t);break;case 12:Qn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ai(t)):Qn(t);break;default:Qn(t)}}function ai(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];te=a,Wf(a,t)}kf(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:wl(8,e,e.return),ai(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,ai(e));break;default:ai(e)}t=t.sibling}}function Wf(t,e){for(;te!==null;){var l=te;switch(l.tag){case 0:case 11:case 15:wl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Rn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,te=a;else t:for(l=t;te!==null;){a=te;var n=a.sibling,u=a.return;if(Xf(a),a===l){te=null;break t}if(n!==null){n.return=u,te=n;break t}te=u}}}var t0={getCacheForType:function(t){var e=se(Jt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},e0=typeof WeakMap=="function"?WeakMap:Map,vt=0,Dt=null,ct=null,ft=0,gt=0,_e=null,jl=!1,Ja=!1,cc=!1,gl=0,Ht=0,Bl=0,ma=0,sc=0,je=0,ka=0,Zn=null,pe=null,oc=!1,fc=0,ni=1/0,ui=null,Ll=null,ue=0,ql=null,$a=null,Wa=0,dc=0,mc=null,Ff=null,Kn=0,hc=null;function Ae(){if((vt&2)!==0&&ft!==0)return ft&-ft;if(O.T!==null){var t=Ba;return t!==0?t:Ec()}return Fl()}function Pf(){je===0&&(je=(ft&536870912)===0||ht?Ye():536870912);var t=He.current;return t!==null&&(t.flags|=32),je}function Re(t,e,l){(t===Dt&&(gt===2||gt===9)||t.cancelPendingCommit!==null)&&(Fa(t,0),Yl(t,ft,je,!1)),_l(t,l),((vt&2)===0||t!==Dt)&&(t===Dt&&((vt&2)===0&&(ma|=l),Ht===4&&Yl(t,ft,je,!1)),Ie(t))}function If(t,e,l){if((vt&6)!==0)throw Error(c(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Wl(t,e),n=a?n0(t,e):gc(t,e,!0),u=a;do{if(n===0){Ja&&!a&&Yl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!l0(l)){n=gc(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var r=0;else r=t.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){e=r;t:{var f=t;n=Zn;var v=f.current.memoizedState.isDehydrated;if(v&&(Fa(f,r).flags|=256),r=gc(f,r,!1),r!==2){if(cc&&!v){f.errorRecoveryDisabledLanes|=u,ma|=u,n=4;break t}u=pe,pe=n,u!==null&&(pe===null?pe=u:pe.push.apply(pe,u))}n=r}if(u=!1,n!==2)continue}}if(n===1){Fa(t,0),Yl(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Yl(a,e,je,!jl);break t;case 2:pe=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(n=fc+300-ce(),10<n)){if(Yl(a,e,je,!jl),$l(a,0,!0)!==0)break t;a.timeoutHandle=zd(td.bind(null,a,l,pe,ui,oc,e,je,ma,ka,jl,u,2,-0,0),n);break t}td(a,l,pe,ui,oc,e,je,ma,ka,jl,u,0,-0,0)}}break}while(!0);Ie(t)}function td(t,e,l,a,n,u,r,f,v,_,M,C,R,z){if(t.timeoutHandle=-1,C=e.subtreeFlags,(C&8192||(C&16785408)===16785408)&&(In={stylesheets:null,count:0,unsuspend:B0},Jf(e),C=q0(),C!==null)){t.cancelPendingCommit=C(rd.bind(null,t,e,u,l,a,n,r,f,v,M,1,R,z)),Yl(t,u,r,!_);return}rd(t,e,u,l,a,n,r,f,v)}function l0(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!Se(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Yl(t,e,l,a){e&=~sc,e&=~ma,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-le(n),r=1<<u;a[u]=-1,n&=~r}l!==0&&nt(t,l,e)}function ii(){return(vt&6)===0?(Jn(0),!1):!0}function yc(){if(ct!==null){if(gt===0)var t=ct.return;else t=ct,sl=ra=null,Ur(t),Va=null,Bn=0,t=ct;for(;t!==null;)wf(t.alternate,t),t=t.return;ct=null}}function Fa(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,S0(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),yc(),Dt=t,ct=l=il(t.current,null),ft=e,gt=0,_e=null,jl=!1,Ja=Wl(t,e),cc=!1,ka=je=sc=ma=Bl=Ht=0,pe=Zn=null,oc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-le(a),u=1<<n;e|=t[n],a&=~u}return gl=e,zu(),l}function ed(t,e){it=null,O.H=Ju,e===zn||e===Bu?(e=go(),gt=3):e===ho?(e=go(),gt=4):gt=e===bf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,_e=e,ct===null&&(Ht=1,Pu(t,Ne(e,t.current)))}function ld(){var t=O.H;return O.H=Ju,t===null?Ju:t}function ad(){var t=O.A;return O.A=t0,t}function vc(){Ht=4,jl||(ft&4194048)!==ft&&He.current!==null||(Ja=!0),(Bl&134217727)===0&&(ma&134217727)===0||Dt===null||Yl(Dt,ft,je,!1)}function gc(t,e,l){var a=vt;vt|=2;var n=ld(),u=ad();(Dt!==t||ft!==e)&&(ui=null,Fa(t,e)),e=!1;var r=Ht;t:do try{if(gt!==0&&ct!==null){var f=ct,v=_e;switch(gt){case 8:yc(),r=6;break t;case 3:case 2:case 9:case 6:He.current===null&&(e=!0);var _=gt;if(gt=0,_e=null,Pa(t,f,v,_),l&&Ja){r=0;break t}break;default:_=gt,gt=0,_e=null,Pa(t,f,v,_)}}a0(),r=Ht;break}catch(M){ed(t,M)}while(!0);return e&&t.shellSuspendCounter++,sl=ra=null,vt=a,O.H=n,O.A=u,ct===null&&(Dt=null,ft=0,zu()),r}function a0(){for(;ct!==null;)nd(ct)}function n0(t,e){var l=vt;vt|=2;var a=ld(),n=ad();Dt!==t||ft!==e?(ui=null,ni=ce()+500,Fa(t,e)):Ja=Wl(t,e);t:do try{if(gt!==0&&ct!==null){e=ct;var u=_e;e:switch(gt){case 1:gt=0,_e=null,Pa(t,e,u,1);break;case 2:case 9:if(yo(u)){gt=0,_e=null,ud(e);break}e=function(){gt!==2&&gt!==9||Dt!==t||(gt=7),Ie(t)},u.then(e,e);break t;case 3:gt=7;break t;case 4:gt=5;break t;case 7:yo(u)?(gt=0,_e=null,ud(e)):(gt=0,_e=null,Pa(t,e,u,7));break;case 5:var r=null;switch(ct.tag){case 26:r=ct.memoizedState;case 5:case 27:var f=ct;if(!r||Yd(r)){gt=0,_e=null;var v=f.sibling;if(v!==null)ct=v;else{var _=f.return;_!==null?(ct=_,ri(_)):ct=null}break e}}gt=0,_e=null,Pa(t,e,u,5);break;case 6:gt=0,_e=null,Pa(t,e,u,6);break;case 8:yc(),Ht=6;break t;default:throw Error(c(462))}}u0();break}catch(M){ed(t,M)}while(!0);return sl=ra=null,O.H=a,O.A=n,vt=l,ct!==null?0:(Dt=null,ft=0,zu(),Ht)}function u0(){for(;ct!==null&&!Ci();)nd(ct)}function nd(t){var e=Nf(t.alternate,t,gl);t.memoizedProps=t.pendingProps,e===null?ri(t):ct=e}function ud(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Af(l,e,e.pendingProps,e.type,void 0,ft);break;case 11:e=Af(l,e,e.pendingProps,e.type.render,e.ref,ft);break;case 5:Ur(e);default:wf(l,e),e=ct=no(e,gl),e=Nf(l,e,gl)}t.memoizedProps=t.pendingProps,e===null?ri(t):ct=e}function Pa(t,e,l,a){sl=ra=null,Ur(e),Va=null,Bn=0;var n=e.return;try{if(kh(t,n,e,l,ft)){Ht=1,Pu(t,Ne(l,t.current)),ct=null;return}}catch(u){if(n!==null)throw ct=n,u;Ht=1,Pu(t,Ne(l,t.current)),ct=null;return}e.flags&32768?(ht||a===1?t=!0:Ja||(ft&536870912)!==0?t=!1:(jl=t=!0,(a===2||a===9||a===3||a===6)&&(a=He.current,a!==null&&a.tag===13&&(a.flags|=16384))),id(e,t)):ri(e)}function ri(t){var e=t;do{if((e.flags&32768)!==0){id(e,jl);return}t=e.return;var l=Wh(e.alternate,e,gl);if(l!==null){ct=l;return}if(e=e.sibling,e!==null){ct=e;return}ct=e=t}while(e!==null);Ht===0&&(Ht=5)}function id(t,e){do{var l=Fh(t.alternate,t);if(l!==null){l.flags&=32767,ct=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){ct=t;return}ct=t=l}while(t!==null);Ht=6,ct=null}function rd(t,e,l,a,n,u,r,f,v){t.cancelPendingCommit=null;do ci();while(ue!==0);if((vt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(u=e.lanes|e.childLanes,u|=rr,vu(t,l,u,r,f,v),t===Dt&&(ct=Dt=null,ft=0),$a=e,ql=t,Wa=l,dc=u,mc=n,Ff=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,s0(va,function(){return dd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=O.T,O.T=null,n=B.p,B.p=2,r=vt,vt|=4;try{Ph(t,e,l)}finally{vt=r,B.p=n,O.T=a}}ue=1,cd(),sd(),od()}}function cd(){if(ue===1){ue=0;var t=ql,e=$a,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=O.T,O.T=null;var a=B.p;B.p=2;var n=vt;vt|=4;try{Qf(e,t);var u=Oc,r=ks(t.containerInfo),f=u.focusedElem,v=u.selectionRange;if(r!==f&&f&&f.ownerDocument&&Js(f.ownerDocument.documentElement,f)){if(v!==null&&lr(f)){var _=v.start,M=v.end;if(M===void 0&&(M=_),"selectionStart"in f)f.selectionStart=_,f.selectionEnd=Math.min(M,f.value.length);else{var C=f.ownerDocument||document,R=C&&C.defaultView||window;if(R.getSelection){var z=R.getSelection(),at=f.textContent.length,I=Math.min(v.start,at),Et=v.end===void 0?I:Math.min(v.end,at);!z.extend&&I>Et&&(r=Et,Et=I,I=r);var x=Ks(f,I),p=Ks(f,Et);if(x&&p&&(z.rangeCount!==1||z.anchorNode!==x.node||z.anchorOffset!==x.offset||z.focusNode!==p.node||z.focusOffset!==p.offset)){var T=C.createRange();T.setStart(x.node,x.offset),z.removeAllRanges(),I>Et?(z.addRange(T),z.extend(p.node,p.offset)):(T.setEnd(p.node,p.offset),z.addRange(T))}}}}for(C=[],z=f;z=z.parentNode;)z.nodeType===1&&C.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<C.length;f++){var w=C[f];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Si=!!zc,Oc=zc=null}finally{vt=n,B.p=a,O.T=l}}t.current=e,ue=2}}function sd(){if(ue===2){ue=0;var t=ql,e=$a,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=O.T,O.T=null;var a=B.p;B.p=2;var n=vt;vt|=4;try{Yf(t,e.alternate,e)}finally{vt=n,B.p=a,O.T=l}}ue=3}}function od(){if(ue===4||ue===3){ue=0,fu();var t=ql,e=$a,l=Wa,a=Ff;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ue=5:(ue=0,$a=ql=null,fd(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Ll=null),ae(l),e=e.stateNode,me&&typeof me.onCommitFiberRoot=="function")try{me.onCommitFiberRoot(Je,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=O.T,n=B.p,B.p=2,O.T=null;try{for(var u=t.onRecoverableError,r=0;r<a.length;r++){var f=a[r];u(f.value,{componentStack:f.stack})}}finally{O.T=e,B.p=n}}(Wa&3)!==0&&ci(),Ie(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===hc?Kn++:(Kn=0,hc=t):Kn=0,Jn(0)}}function fd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Rn(e)))}function ci(t){return cd(),sd(),od(),dd()}function dd(){if(ue!==5)return!1;var t=ql,e=dc;dc=0;var l=ae(Wa),a=O.T,n=B.p;try{B.p=32>l?32:l,O.T=null,l=mc,mc=null;var u=ql,r=Wa;if(ue=0,$a=ql=null,Wa=0,(vt&6)!==0)throw Error(c(331));var f=vt;if(vt|=4,$f(u.current),Kf(u,u.current,r,l),vt=f,Jn(0,!1),me&&typeof me.onPostCommitFiberRoot=="function")try{me.onPostCommitFiberRoot(Je,u)}catch{}return!0}finally{B.p=n,O.T=a,fd(t,e)}}function md(t,e,l){e=Ne(l,e),e=Kr(t.stateNode,e,2),t=Ol(t,e,2),t!==null&&(_l(t,2),Ie(t))}function xt(t,e,l){if(t.tag===3)md(t,t,l);else for(;e!==null;){if(e.tag===3){md(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ll===null||!Ll.has(a))){t=Ne(l,t),l=gf(2),a=Ol(e,l,2),a!==null&&(pf(l,a,e,t),_l(a,2),Ie(a));break}}e=e.return}}function pc(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new e0;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(cc=!0,n.add(l),t=i0.bind(null,t,e,l),e.then(t,t))}function i0(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Dt===t&&(ft&l)===l&&(Ht===4||Ht===3&&(ft&62914560)===ft&&300>ce()-fc?(vt&2)===0&&Fa(t,0):sc|=l,ka===ft&&(ka=0)),Ie(t)}function hd(t,e){e===0&&(e=yu()),t=wa(t,e),t!==null&&(_l(t,e),Ie(t))}function r0(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),hd(t,l)}function c0(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),hd(t,l)}function s0(t,e){return cn(t,e)}var si=null,Ia=null,bc=!1,oi=!1,Sc=!1,ha=0;function Ie(t){t!==Ia&&t.next===null&&(Ia===null?si=Ia=t:Ia=Ia.next=t),oi=!0,bc||(bc=!0,f0())}function Jn(t,e){if(!Sc&&oi){Sc=!0;do for(var l=!1,a=si;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var r=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-le(42|t)+1)-1,u&=n&~(r&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,pd(a,u))}else u=ft,u=$l(a,a===Dt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Wl(a,u)||(l=!0,pd(a,u));a=a.next}while(l);Sc=!1}}function o0(){yd()}function yd(){oi=bc=!1;var t=0;ha!==0&&(b0()&&(t=ha),ha=0);for(var e=ce(),l=null,a=si;a!==null;){var n=a.next,u=vd(a,e);u===0?(a.next=null,l===null?si=n:l.next=n,n===null&&(Ia=l)):(l=a,(t!==0||(u&3)!==0)&&(oi=!0)),a=n}Jn(t)}function vd(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var r=31-le(u),f=1<<r,v=n[r];v===-1?((f&l)===0||(f&a)!==0)&&(n[r]=sn(f,e)):v<=e&&(t.expiredLanes|=f),u&=~f}if(e=Dt,l=ft,l=$l(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(gt===2||gt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&kl(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Wl(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&kl(a),ae(l)){case 2:case 8:l=mu;break;case 32:l=va;break;case 268435456:l=ll;break;default:l=va}return a=gd.bind(null,t),l=cn(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&kl(a),t.callbackPriority=2,t.callbackNode=null,2}function gd(t,e){if(ue!==0&&ue!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(ci()&&t.callbackNode!==l)return null;var a=ft;return a=$l(t,t===Dt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(If(t,a,e),vd(t,ce()),t.callbackNode!=null&&t.callbackNode===l?gd.bind(null,t):null)}function pd(t,e){if(ci())return null;If(t,e,!0)}function f0(){E0(function(){(vt&6)!==0?cn(ze,o0):yd()})}function Ec(){return ha===0&&(ha=Ye()),ha}function bd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Eu(""+t)}function Sd(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function d0(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=bd((n[Rt]||null).action),r=a.submitter;r&&(e=(e=r[Rt]||null)?bd(e.formAction):r.getAttribute("formAction"),e!==null&&(u=e,r=null));var f=new Au("action","action",null,a,n);t.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ha!==0){var v=r?Sd(n,r):new FormData(n);Xr(l,{pending:!0,data:v,method:n.method,action:u},null,v)}}else typeof u=="function"&&(f.preventDefault(),v=r?Sd(n,r):new FormData(n),Xr(l,{pending:!0,data:v,method:n.method,action:u},u,v))},currentTarget:n}]})}}for(var xc=0;xc<ir.length;xc++){var Tc=ir[xc],m0=Tc.toLowerCase(),h0=Tc[0].toUpperCase()+Tc.slice(1);Xe(m0,"on"+h0)}Xe(Fs,"onAnimationEnd"),Xe(Ps,"onAnimationIteration"),Xe(Is,"onAnimationStart"),Xe("dblclick","onDoubleClick"),Xe("focusin","onFocus"),Xe("focusout","onBlur"),Xe(Nh,"onTransitionRun"),Xe(Uh,"onTransitionStart"),Xe(wh,"onTransitionCancel"),Xe(to,"onTransitionEnd"),Ta("onMouseEnter",["mouseout","mouseover"]),Ta("onMouseLeave",["mouseout","mouseover"]),Ta("onPointerEnter",["pointerout","pointerover"]),Ta("onPointerLeave",["pointerout","pointerover"]),Pl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kn="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(" "),y0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(kn));function Ed(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var r=a.length-1;0<=r;r--){var f=a[r],v=f.instance,_=f.currentTarget;if(f=f.listener,v!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=_;try{u(n)}catch(M){Fu(M)}n.currentTarget=null,u=v}else for(r=0;r<a.length;r++){if(f=a[r],v=f.instance,_=f.currentTarget,f=f.listener,v!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=_;try{u(n)}catch(M){Fu(M)}n.currentTarget=null,u=v}}}}function st(t,e){var l=e[ba];l===void 0&&(l=e[ba]=new Set);var a=t+"__bubble";l.has(a)||(xd(e,t,2,!1),l.add(a))}function _c(t,e,l){var a=0;e&&(a|=4),xd(l,t,a,e)}var fi="_reactListening"+Math.random().toString(36).slice(2);function Ac(t){if(!t[fi]){t[fi]=!0,ms.forEach(function(l){l!=="selectionchange"&&(y0.has(l)||_c(l,!1,t),_c(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[fi]||(e[fi]=!0,_c("selectionchange",!1,e))}}function xd(t,e,l,a){switch(Kd(e)){case 2:var n=G0;break;case 8:n=V0;break;default:n=qc}l=n.bind(null,e,l,t),n=void 0,!Ji||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function Rc(t,e,l,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var r=a.tag;if(r===3||r===4){var f=a.stateNode.containerInfo;if(f===n)break;if(r===4)for(r=a.return;r!==null;){var v=r.tag;if((v===3||v===4)&&r.stateNode.containerInfo===n)return;r=r.return}for(;f!==null;){if(r=Sa(f),r===null)return;if(v=r.tag,v===5||v===6||v===26||v===27){a=u=r;continue t}f=f.parentNode}}a=a.return}Ds(function(){var _=u,M=Zi(l),C=[];t:{var R=eo.get(t);if(R!==void 0){var z=Au,at=t;switch(t){case"keypress":if(Tu(l)===0)break t;case"keydown":case"keyup":z=sh;break;case"focusin":at="focus",z=Fi;break;case"focusout":at="blur",z=Fi;break;case"beforeblur":case"afterblur":z=Fi;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Fm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=dh;break;case Fs:case Ps:case Is:z=th;break;case to:z=hh;break;case"scroll":case"scrollend":z=$m;break;case"wheel":z=vh;break;case"copy":case"cut":case"paste":z=lh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Us;break;case"toggle":case"beforetoggle":z=ph}var I=(e&4)!==0,Et=!I&&(t==="scroll"||t==="scrollend"),x=I?R!==null?R+"Capture":null:R;I=[];for(var p=_,T;p!==null;){var w=p;if(T=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||T===null||x===null||(w=mn(p,x),w!=null&&I.push($n(p,w,T))),Et)break;p=p.return}0<I.length&&(R=new z(R,at,null,l,M),C.push({event:R,listeners:I}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",R&&l!==Qi&&(at=l.relatedTarget||l.fromElement)&&(Sa(at)||at[Ft]))break t;if((z||R)&&(R=M.window===M?M:(R=M.ownerDocument)?R.defaultView||R.parentWindow:window,z?(at=l.relatedTarget||l.toElement,z=_,at=at?Sa(at):null,at!==null&&(Et=y(at),I=at.tag,at!==Et||I!==5&&I!==27&&I!==6)&&(at=null)):(z=null,at=_),z!==at)){if(I=Ms,w="onMouseLeave",x="onMouseEnter",p="mouse",(t==="pointerout"||t==="pointerover")&&(I=Us,w="onPointerLeave",x="onPointerEnter",p="pointer"),Et=z==null?R:dn(z),T=at==null?R:dn(at),R=new I(w,p+"leave",z,l,M),R.target=Et,R.relatedTarget=T,w=null,Sa(M)===_&&(I=new I(x,p+"enter",at,l,M),I.target=T,I.relatedTarget=Et,w=I),Et=w,z&&at)e:{for(I=z,x=at,p=0,T=I;T;T=tn(T))p++;for(T=0,w=x;w;w=tn(w))T++;for(;0<p-T;)I=tn(I),p--;for(;0<T-p;)x=tn(x),T--;for(;p--;){if(I===x||x!==null&&I===x.alternate)break e;I=tn(I),x=tn(x)}I=null}else I=null;z!==null&&Td(C,R,z,I,!1),at!==null&&Et!==null&&Td(C,Et,at,I,!0)}}t:{if(R=_?dn(_):window,z=R.nodeName&&R.nodeName.toLowerCase(),z==="select"||z==="input"&&R.type==="file")var J=Ys;else if(Ls(R))if(Xs)J=zh;else{J=Rh;var rt=Ah}else z=R.nodeName,!z||z.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?_&&Vi(_.elementType)&&(J=Ys):J=Dh;if(J&&(J=J(t,_))){qs(C,J,l,M);break t}rt&&rt(t,R,_),t==="focusout"&&_&&R.type==="number"&&_.memoizedProps.value!=null&&Gi(R,"number",R.value)}switch(rt=_?dn(_):window,t){case"focusin":(Ls(rt)||rt.contentEditable==="true")&&(Ma=rt,ar=_,En=null);break;case"focusout":En=ar=Ma=null;break;case"mousedown":nr=!0;break;case"contextmenu":case"mouseup":case"dragend":nr=!1,$s(C,l,M);break;case"selectionchange":if(Mh)break;case"keydown":case"keyup":$s(C,l,M)}var F;if(Ii)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else Oa?js(t,l)&&(et="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(et="onCompositionStart");et&&(ws&&l.locale!=="ko"&&(Oa||et!=="onCompositionStart"?et==="onCompositionEnd"&&Oa&&(F=zs()):(Al=M,ki="value"in Al?Al.value:Al.textContent,Oa=!0)),rt=di(_,et),0<rt.length&&(et=new Ns(et,t,null,l,M),C.push({event:et,listeners:rt}),F?et.data=F:(F=Bs(l),F!==null&&(et.data=F)))),(F=Sh?Eh(t,l):xh(t,l))&&(et=di(_,"onBeforeInput"),0<et.length&&(rt=new Ns("onBeforeInput","beforeinput",null,l,M),C.push({event:rt,listeners:et}),rt.data=F)),d0(C,t,_,l,M)}Ed(C,e)})}function $n(t,e,l){return{instance:t,listener:e,currentTarget:l}}function di(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=mn(t,l),n!=null&&a.unshift($n(t,n,u)),n=mn(t,e),n!=null&&a.push($n(t,n,u))),t.tag===3)return a;t=t.return}return[]}function tn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Td(t,e,l,a,n){for(var u=e._reactName,r=[];l!==null&&l!==a;){var f=l,v=f.alternate,_=f.stateNode;if(f=f.tag,v!==null&&v===a)break;f!==5&&f!==26&&f!==27||_===null||(v=_,n?(_=mn(l,u),_!=null&&r.unshift($n(l,_,v))):n||(_=mn(l,u),_!=null&&r.push($n(l,_,v)))),l=l.return}r.length!==0&&t.push({event:e,listeners:r})}var v0=/\r\n?/g,g0=/\u0000|\uFFFD/g;function _d(t){return(typeof t=="string"?t:""+t).replace(v0,`
`).replace(g0,"")}function Ad(t,e){return e=_d(e),_d(t)===e}function mi(){}function St(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ra(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ra(t,""+a);break;case"className":pu(t,"class",a);break;case"tabIndex":pu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":pu(t,l,a);break;case"style":As(t,a,u);break;case"data":if(e!=="object"){pu(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Eu(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&St(t,e,"name",n.name,n,null),St(t,e,"formEncType",n.formEncType,n,null),St(t,e,"formMethod",n.formMethod,n,null),St(t,e,"formTarget",n.formTarget,n,null)):(St(t,e,"encType",n.encType,n,null),St(t,e,"method",n.method,n,null),St(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Eu(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=mi);break;case"onScroll":a!=null&&st("scroll",t);break;case"onScrollEnd":a!=null&&st("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Eu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":st("beforetoggle",t),st("toggle",t),gu(t,"popover",a);break;case"xlinkActuate":nl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":nl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":nl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":nl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":nl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":nl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":nl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":nl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":nl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":gu(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Jm.get(l)||l,gu(t,l,a))}}function Dc(t,e,l,a,n,u){switch(l){case"style":As(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Ra(t,a):(typeof a=="number"||typeof a=="bigint")&&Ra(t,""+a);break;case"onScroll":a!=null&&st("scroll",t);break;case"onScrollEnd":a!=null&&st("scrollend",t);break;case"onClick":a!=null&&(t.onclick=mi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!hs.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[Rt]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):gu(t,l,a)}}}function ie(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":st("error",t),st("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var r=l[u];if(r!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:St(t,e,u,r,l,null)}}n&&St(t,e,"srcSet",l.srcSet,l,null),a&&St(t,e,"src",l.src,l,null);return;case"input":st("invalid",t);var f=u=r=n=null,v=null,_=null;for(a in l)if(l.hasOwnProperty(a)){var M=l[a];if(M!=null)switch(a){case"name":n=M;break;case"type":r=M;break;case"checked":v=M;break;case"defaultChecked":_=M;break;case"value":u=M;break;case"defaultValue":f=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,e));break;default:St(t,e,a,M,l,null)}}Es(t,u,f,v,_,r,n,!1),bu(t);return;case"select":st("invalid",t),a=r=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":r=f;break;case"multiple":a=f;default:St(t,e,n,f,l,null)}e=u,l=r,t.multiple=!!a,e!=null?Aa(t,!!a,e,!1):l!=null&&Aa(t,!!a,l,!0);return;case"textarea":st("invalid",t),u=n=a=null;for(r in l)if(l.hasOwnProperty(r)&&(f=l[r],f!=null))switch(r){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(c(91));break;default:St(t,e,r,f,l,null)}Ts(t,a,n,u),bu(t);return;case"option":for(v in l)if(l.hasOwnProperty(v)&&(a=l[v],a!=null))switch(v){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:St(t,e,v,a,l,null)}return;case"dialog":st("beforetoggle",t),st("toggle",t),st("cancel",t),st("close",t);break;case"iframe":case"object":st("load",t);break;case"video":case"audio":for(a=0;a<kn.length;a++)st(kn[a],t);break;case"image":st("error",t),st("load",t);break;case"details":st("toggle",t);break;case"embed":case"source":case"link":st("error",t),st("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in l)if(l.hasOwnProperty(_)&&(a=l[_],a!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:St(t,e,_,a,l,null)}return;default:if(Vi(e)){for(M in l)l.hasOwnProperty(M)&&(a=l[M],a!==void 0&&Dc(t,e,M,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&St(t,e,f,a,l,null))}function p0(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,r=null,f=null,v=null,_=null,M=null;for(z in l){var C=l[z];if(l.hasOwnProperty(z)&&C!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":v=C;default:a.hasOwnProperty(z)||St(t,e,z,null,a,C)}}for(var R in a){var z=a[R];if(C=l[R],a.hasOwnProperty(R)&&(z!=null||C!=null))switch(R){case"type":u=z;break;case"name":n=z;break;case"checked":_=z;break;case"defaultChecked":M=z;break;case"value":r=z;break;case"defaultValue":f=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,e));break;default:z!==C&&St(t,e,R,z,a,C)}}Xi(t,r,f,v,_,M,u,n);return;case"select":z=r=f=R=null;for(u in l)if(v=l[u],l.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":z=v;default:a.hasOwnProperty(u)||St(t,e,u,null,a,v)}for(n in a)if(u=a[n],v=l[n],a.hasOwnProperty(n)&&(u!=null||v!=null))switch(n){case"value":R=u;break;case"defaultValue":f=u;break;case"multiple":r=u;default:u!==v&&St(t,e,n,u,a,v)}e=f,l=r,a=z,R!=null?Aa(t,!!l,R,!1):!!a!=!!l&&(e!=null?Aa(t,!!l,e,!0):Aa(t,!!l,l?[]:"",!1));return;case"textarea":z=R=null;for(f in l)if(n=l[f],l.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:St(t,e,f,null,a,n)}for(r in a)if(n=a[r],u=l[r],a.hasOwnProperty(r)&&(n!=null||u!=null))switch(r){case"value":R=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==u&&St(t,e,r,n,a,u)}xs(t,R,z);return;case"option":for(var at in l)if(R=l[at],l.hasOwnProperty(at)&&R!=null&&!a.hasOwnProperty(at))switch(at){case"selected":t.selected=!1;break;default:St(t,e,at,null,a,R)}for(v in a)if(R=a[v],z=l[v],a.hasOwnProperty(v)&&R!==z&&(R!=null||z!=null))switch(v){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:St(t,e,v,R,a,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var I in l)R=l[I],l.hasOwnProperty(I)&&R!=null&&!a.hasOwnProperty(I)&&St(t,e,I,null,a,R);for(_ in a)if(R=a[_],z=l[_],a.hasOwnProperty(_)&&R!==z&&(R!=null||z!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:St(t,e,_,R,a,z)}return;default:if(Vi(e)){for(var Et in l)R=l[Et],l.hasOwnProperty(Et)&&R!==void 0&&!a.hasOwnProperty(Et)&&Dc(t,e,Et,void 0,a,R);for(M in a)R=a[M],z=l[M],!a.hasOwnProperty(M)||R===z||R===void 0&&z===void 0||Dc(t,e,M,R,a,z);return}}for(var x in l)R=l[x],l.hasOwnProperty(x)&&R!=null&&!a.hasOwnProperty(x)&&St(t,e,x,null,a,R);for(C in a)R=a[C],z=l[C],!a.hasOwnProperty(C)||R===z||R==null&&z==null||St(t,e,C,R,a,z)}var zc=null,Oc=null;function hi(t){return t.nodeType===9?t:t.ownerDocument}function Rd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Dd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Mc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Nc=null;function b0(){var t=window.event;return t&&t.type==="popstate"?t===Nc?!1:(Nc=t,!0):(Nc=null,!1)}var zd=typeof setTimeout=="function"?setTimeout:void 0,S0=typeof clearTimeout=="function"?clearTimeout:void 0,Od=typeof Promise=="function"?Promise:void 0,E0=typeof queueMicrotask=="function"?queueMicrotask:typeof Od<"u"?function(t){return Od.resolve(null).then(t).catch(x0)}:zd;function x0(t){setTimeout(function(){throw t})}function Xl(t){return t==="head"}function Md(t,e){var l=e,a=0,n=0;do{var u=l.nextSibling;if(t.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(0<a&&8>a){l=a;var r=t.ownerDocument;if(l&1&&Wn(r.documentElement),l&2&&Wn(r.body),l&4)for(l=r.head,Wn(l),r=l.firstChild;r;){var f=r.nextSibling,v=r.nodeName;r[fn]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=f}}if(n===0){t.removeChild(u),nu(e);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=u}while(l);nu(e)}function Uc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Uc(l),Bi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function T0(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[fn])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ve(t.nextSibling),t===null)break}return null}function _0(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ve(t.nextSibling),t===null))return null;return t}function wc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function A0(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ve(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var Cc=null;function Nd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function Ud(t,e,l){switch(e=hi(l),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function Wn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Bi(t)}var Be=new Map,wd=new Set;function yi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var pl=B.d;B.d={f:R0,r:D0,D:z0,C:O0,L:M0,m:N0,X:w0,S:U0,M:C0};function R0(){var t=pl.f(),e=ii();return t||e}function D0(t){var e=Ea(t);e!==null&&e.tag===5&&e.type==="form"?Po(e):pl.r(t)}var en=typeof document>"u"?null:document;function Cd(t,e,l){var a=en;if(a&&typeof e=="string"&&e){var n=Me(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),wd.has(n)||(wd.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),ie(e,"link",t),Pt(e),a.head.appendChild(e)))}}function z0(t){pl.D(t),Cd("dns-prefetch",t,null)}function O0(t,e){pl.C(t,e),Cd("preconnect",t,e)}function M0(t,e,l){pl.L(t,e,l);var a=en;if(a&&t&&e){var n='link[rel="preload"][as="'+Me(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Me(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Me(l.imageSizes)+'"]')):n+='[href="'+Me(t)+'"]';var u=n;switch(e){case"style":u=ln(t);break;case"script":u=an(t)}Be.has(u)||(t=S({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Be.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Fn(u))||e==="script"&&a.querySelector(Pn(u))||(e=a.createElement("link"),ie(e,"link",t),Pt(e),a.head.appendChild(e)))}}function N0(t,e){pl.m(t,e);var l=en;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Me(a)+'"][href="'+Me(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=an(t)}if(!Be.has(u)&&(t=S({rel:"modulepreload",href:t},e),Be.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Pn(u)))return}a=l.createElement("link"),ie(a,"link",t),Pt(a),l.head.appendChild(a)}}}function U0(t,e,l){pl.S(t,e,l);var a=en;if(a&&t){var n=xa(a).hoistableStyles,u=ln(t);e=e||"default";var r=n.get(u);if(!r){var f={loading:0,preload:null};if(r=a.querySelector(Fn(u)))f.loading=5;else{t=S({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Be.get(u))&&Hc(t,l);var v=r=a.createElement("link");Pt(v),ie(v,"link",t),v._p=new Promise(function(_,M){v.onload=_,v.onerror=M}),v.addEventListener("load",function(){f.loading|=1}),v.addEventListener("error",function(){f.loading|=2}),f.loading|=4,vi(r,e,a)}r={type:"stylesheet",instance:r,count:1,state:f},n.set(u,r)}}}function w0(t,e){pl.X(t,e);var l=en;if(l&&t){var a=xa(l).hoistableScripts,n=an(t),u=a.get(n);u||(u=l.querySelector(Pn(n)),u||(t=S({src:t,async:!0},e),(e=Be.get(n))&&jc(t,e),u=l.createElement("script"),Pt(u),ie(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function C0(t,e){pl.M(t,e);var l=en;if(l&&t){var a=xa(l).hoistableScripts,n=an(t),u=a.get(n);u||(u=l.querySelector(Pn(n)),u||(t=S({src:t,async:!0,type:"module"},e),(e=Be.get(n))&&jc(t,e),u=l.createElement("script"),Pt(u),ie(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Hd(t,e,l,a){var n=(n=W.current)?yi(n):null;if(!n)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=ln(l.href),l=xa(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=ln(l.href);var u=xa(n).hoistableStyles,r=u.get(t);if(r||(n=n.ownerDocument||n,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,r),(u=n.querySelector(Fn(t)))&&!u._p&&(r.instance=u,r.state.loading=5),Be.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Be.set(t,l),u||H0(n,t,l,r.state))),e&&a===null)throw Error(c(528,""));return r}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=an(l),l=xa(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function ln(t){return'href="'+Me(t)+'"'}function Fn(t){return'link[rel="stylesheet"]['+t+"]"}function jd(t){return S({},t,{"data-precedence":t.precedence,precedence:null})}function H0(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ie(e,"link",l),Pt(e),t.head.appendChild(e))}function an(t){return'[src="'+Me(t)+'"]'}function Pn(t){return"script[async]"+t}function Bd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Me(l.href)+'"]');if(a)return e.instance=a,Pt(a),a;var n=S({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Pt(a),ie(a,"style",n),vi(a,l.precedence,t),e.instance=a;case"stylesheet":n=ln(l.href);var u=t.querySelector(Fn(n));if(u)return e.state.loading|=4,e.instance=u,Pt(u),u;a=jd(l),(n=Be.get(n))&&Hc(a,n),u=(t.ownerDocument||t).createElement("link"),Pt(u);var r=u;return r._p=new Promise(function(f,v){r.onload=f,r.onerror=v}),ie(u,"link",a),e.state.loading|=4,vi(u,l.precedence,t),e.instance=u;case"script":return u=an(l.src),(n=t.querySelector(Pn(u)))?(e.instance=n,Pt(n),n):(a=l,(n=Be.get(u))&&(a=S({},l),jc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Pt(n),ie(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,vi(a,l.precedence,t));return e.instance}function vi(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,r=0;r<a.length;r++){var f=a[r];if(f.dataset.precedence===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Hc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function jc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var gi=null;function Ld(t,e,l){if(gi===null){var a=new Map,n=gi=new Map;n.set(l,a)}else n=gi,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[fn]||u[Lt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var r=u.getAttribute(e)||"";r=t+r;var f=a.get(r);f?f.push(u):a.set(r,[u])}}return a}function qd(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function j0(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Yd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var In=null;function B0(){}function L0(t,e,l){if(In===null)throw Error(c(475));var a=In;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=ln(l.href),u=t.querySelector(Fn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=pi.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=u,Pt(u);return}u=t.ownerDocument||t,l=jd(l),(n=Be.get(n))&&Hc(l,n),u=u.createElement("link"),Pt(u);var r=u;r._p=new Promise(function(f,v){r.onload=f,r.onerror=v}),ie(u,"link",l),e.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=pi.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function q0(){if(In===null)throw Error(c(475));var t=In;return t.stylesheets&&t.count===0&&Bc(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&Bc(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function pi(){if(this.count--,this.count===0){if(this.stylesheets)Bc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var bi=null;function Bc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,bi=new Map,e.forEach(Y0,t),bi=null,pi.call(t))}function Y0(t,e){if(!(e.state.loading&4)){var l=bi.get(t);if(l)var a=l.get(null);else{l=new Map,bi.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var r=n[u];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(l.set(r.dataset.precedence,r),a=r)}a&&l.set(null,a)}n=e.instance,r=n.getAttribute("data-precedence"),u=l.get(r)||a,u===a&&l.set(null,n),l.set(r,n),this.count++,a=pi.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var tu={$$typeof:k,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function X0(t,e,l,a,n,u,r,f){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=on(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=on(0),this.hiddenUpdates=on(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Xd(t,e,l,a,n,u,r,f,v,_,M,C){return t=new X0(t,e,l,r,f,v,_,C),e=1,u===!0&&(e|=24),u=Ee(3,null,null,e),t.current=u,u.stateNode=t,e=pr(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},xr(u),t}function Gd(t){return t?(t=Ca,t):Ca}function Vd(t,e,l,a,n,u){n=Gd(n),a.context===null?a.context=n:a.pendingContext=n,a=zl(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Ol(t,a,e),l!==null&&(Re(l,t,e),Mn(l,t,e))}function Qd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Lc(t,e){Qd(t,e),(t=t.alternate)&&Qd(t,e)}function Zd(t){if(t.tag===13){var e=wa(t,67108864);e!==null&&Re(e,t,67108864),Lc(t,67108864)}}var Si=!0;function G0(t,e,l,a){var n=O.T;O.T=null;var u=B.p;try{B.p=2,qc(t,e,l,a)}finally{B.p=u,O.T=n}}function V0(t,e,l,a){var n=O.T;O.T=null;var u=B.p;try{B.p=8,qc(t,e,l,a)}finally{B.p=u,O.T=n}}function qc(t,e,l,a){if(Si){var n=Yc(a);if(n===null)Rc(t,e,a,Ei,l),Jd(t,a);else if(Z0(n,t,e,l,a))a.stopPropagation();else if(Jd(t,a),e&4&&-1<Q0.indexOf(t)){for(;n!==null;){var u=Ea(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var r=ke(u.pendingLanes);if(r!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;r;){var v=1<<31-le(r);f.entanglements[1]|=v,r&=~v}Ie(u),(vt&6)===0&&(ni=ce()+500,Jn(0))}}break;case 13:f=wa(u,2),f!==null&&Re(f,u,2),ii(),Lc(u,2)}if(u=Yc(a),u===null&&Rc(t,e,a,Ei,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else Rc(t,e,a,null,l)}}function Yc(t){return t=Zi(t),Xc(t)}var Ei=null;function Xc(t){if(Ei=null,t=Sa(t),t!==null){var e=y(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=E(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ei=t,null}function Kd(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(du()){case ze:return 2;case mu:return 8;case va:case de:return 32;case ll:return 268435456;default:return 32}default:return 32}}var Gc=!1,Gl=null,Vl=null,Ql=null,eu=new Map,lu=new Map,Zl=[],Q0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jd(t,e){switch(t){case"focusin":case"focusout":Gl=null;break;case"dragenter":case"dragleave":Vl=null;break;case"mouseover":case"mouseout":Ql=null;break;case"pointerover":case"pointerout":eu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":lu.delete(e.pointerId)}}function au(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=Ea(e),e!==null&&Zd(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Z0(t,e,l,a,n){switch(e){case"focusin":return Gl=au(Gl,t,e,l,a,n),!0;case"dragenter":return Vl=au(Vl,t,e,l,a,n),!0;case"mouseover":return Ql=au(Ql,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return eu.set(u,au(eu.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,lu.set(u,au(lu.get(u)||null,t,e,l,a,n)),!0}return!1}function kd(t){var e=Sa(t.target);if(e!==null){var l=y(e);if(l!==null){if(e=l.tag,e===13){if(e=E(l),e!==null){t.blockedOn=e,Kt(t.priority,function(){if(l.tag===13){var a=Ae();a=Vt(a);var n=wa(l,a);n!==null&&Re(n,l,a),Lc(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function xi(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Yc(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);Qi=a,l.target.dispatchEvent(a),Qi=null}else return e=Ea(l),e!==null&&Zd(e),t.blockedOn=l,!1;e.shift()}return!0}function $d(t,e,l){xi(t)&&l.delete(e)}function K0(){Gc=!1,Gl!==null&&xi(Gl)&&(Gl=null),Vl!==null&&xi(Vl)&&(Vl=null),Ql!==null&&xi(Ql)&&(Ql=null),eu.forEach($d),lu.forEach($d)}function Ti(t,e){t.blockedOn===e&&(t.blockedOn=null,Gc||(Gc=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,K0)))}var _i=null;function Wd(t){_i!==t&&(_i=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){_i===t&&(_i=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Xc(a||l)===null)continue;break}var u=Ea(l);u!==null&&(t.splice(e,3),e-=3,Xr(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function nu(t){function e(v){return Ti(v,t)}Gl!==null&&Ti(Gl,t),Vl!==null&&Ti(Vl,t),Ql!==null&&Ti(Ql,t),eu.forEach(e),lu.forEach(e);for(var l=0;l<Zl.length;l++){var a=Zl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Zl.length&&(l=Zl[0],l.blockedOn===null);)kd(l),l.blockedOn===null&&Zl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],r=n[Rt]||null;if(typeof u=="function")r||Wd(l);else if(r){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,r=u[Rt]||null)f=r.formAction;else if(Xc(n)!==null)continue}else f=r.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),Wd(l)}}}function Vc(t){this._internalRoot=t}Ai.prototype.render=Vc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var l=e.current,a=Ae();Vd(l,a,t,e,null,null)},Ai.prototype.unmount=Vc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Vd(t.current,2,null,t,null,null),ii(),e[Ft]=null}};function Ai(t){this._internalRoot=t}Ai.prototype.unstable_scheduleHydration=function(t){if(t){var e=Fl();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Zl.length&&e!==0&&e<Zl[l].priority;l++);Zl.splice(l,0,t),l===0&&kd(t)}};var Fd=o.version;if(Fd!=="19.1.1")throw Error(c(527,Fd,"19.1.1"));B.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=b(e),t=t!==null?d(t):null,t=t===null?null:t.stateNode,t};var J0={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ri=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ri.isDisabled&&Ri.supportsFiber)try{Je=Ri.inject(J0),me=Ri}catch{}}return iu.createRoot=function(t,e){if(!m(t))throw Error(c(299));var l=!1,a="",n=mf,u=hf,r=yf,f=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(r=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(f=e.unstable_transitionCallbacks)),e=Xd(t,1,!1,null,null,l,a,n,u,r,f,null),t[Ft]=e.current,Ac(t),new Vc(e)},iu.hydrateRoot=function(t,e,l){if(!m(t))throw Error(c(299));var a=!1,n="",u=mf,r=hf,f=yf,v=null,_=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(r=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(v=l.unstable_transitionCallbacks),l.formState!==void 0&&(_=l.formState)),e=Xd(t,1,!0,e,l??null,a,n,u,r,f,v,_),e.context=Gd(null),l=e.current,a=Ae(),a=Vt(a),n=zl(a),n.callback=null,Ol(l,n,a),l=a,e.current.lanes=l,_l(e,l),Ie(e),t[Ft]=e.current,Ac(t),new Ai(e)},iu.version="19.1.1",iu}var rm;function ly(){if(rm)return Kc.exports;rm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Kc.exports=ey(),Kc.exports}var ay=ly();/**
 * react-router v7.9.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var cm="popstate";function ny(i={}){function o(c,m){let{pathname:y,search:E,hash:A}=c.location;return Ic("",{pathname:y,search:E,hash:A},m.state&&m.state.usr||null,m.state&&m.state.key||"default")}function s(c,m){return typeof m=="string"?m:cu(m)}return iy(o,s,null,i)}function Mt(i,o){if(i===!1||i===null||typeof i>"u")throw new Error(o)}function Qe(i,o){if(!i){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function uy(){return Math.random().toString(36).substring(2,10)}function sm(i,o){return{usr:i.state,key:i.key,idx:o}}function Ic(i,o,s=null,c){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof o=="string"?nn(o):o,state:s,key:o&&o.key||c||uy()}}function cu({pathname:i="/",search:o="",hash:s=""}){return o&&o!=="?"&&(i+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(i+=s.charAt(0)==="#"?s:"#"+s),i}function nn(i){let o={};if(i){let s=i.indexOf("#");s>=0&&(o.hash=i.substring(s),i=i.substring(0,s));let c=i.indexOf("?");c>=0&&(o.search=i.substring(c),i=i.substring(0,c)),i&&(o.pathname=i)}return o}function iy(i,o,s,c={}){let{window:m=document.defaultView,v5Compat:y=!1}=c,E=m.history,A="POP",b=null,d=S();d==null&&(d=0,E.replaceState({...E.state,idx:d},""));function S(){return(E.state||{idx:null}).idx}function h(){A="POP";let Q=S(),L=Q==null?null:Q-d;d=Q,b&&b({action:A,location:G.location,delta:L})}function U(Q,L){A="PUSH";let X=Ic(G.location,Q,L);d=S()+1;let k=sm(X,d),dt=G.createHref(X);try{E.pushState(k,"",dt)}catch(tt){if(tt instanceof DOMException&&tt.name==="DataCloneError")throw tt;m.location.assign(dt)}y&&b&&b({action:A,location:G.location,delta:1})}function Y(Q,L){A="REPLACE";let X=Ic(G.location,Q,L);d=S();let k=sm(X,d),dt=G.createHref(X);E.replaceState(k,"",dt),y&&b&&b({action:A,location:G.location,delta:0})}function V(Q){return ry(Q)}let G={get action(){return A},get location(){return i(m,E)},listen(Q){if(b)throw new Error("A history only accepts one active listener");return m.addEventListener(cm,h),b=Q,()=>{m.removeEventListener(cm,h),b=null}},createHref(Q){return o(m,Q)},createURL:V,encodeLocation(Q){let L=V(Q);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:U,replace:Y,go(Q){return E.go(Q)}};return G}function ry(i,o=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Mt(s,"No window.location.(origin|href) available to create URL");let c=typeof i=="string"?i:cu(i);return c=c.replace(/ $/,"%20"),!o&&c.startsWith("//")&&(c=s+c),new URL(c,s)}function xm(i,o,s="/"){return cy(i,o,s,!1)}function cy(i,o,s,c){let m=typeof o=="string"?nn(o):o,y=Sl(m.pathname||"/",s);if(y==null)return null;let E=Tm(i);sy(E);let A=null;for(let b=0;A==null&&b<E.length;++b){let d=Sy(y);A=py(E[b],d,c)}return A}function Tm(i,o=[],s=[],c="",m=!1){let y=(E,A,b=m,d)=>{let S={relativePath:d===void 0?E.path||"":d,caseSensitive:E.caseSensitive===!0,childrenIndex:A,route:E};if(S.relativePath.startsWith("/")){if(!S.relativePath.startsWith(c)&&b)return;Mt(S.relativePath.startsWith(c),`Absolute route path "${S.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(c.length)}let h=bl([c,S.relativePath]),U=s.concat(S);E.children&&E.children.length>0&&(Mt(E.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Tm(E.children,o,U,h,b)),!(E.path==null&&!E.index)&&o.push({path:h,score:vy(h,E.index),routesMeta:U})};return i.forEach((E,A)=>{if(E.path===""||!E.path?.includes("?"))y(E,A);else for(let b of _m(E.path))y(E,A,!0,b)}),o}function _m(i){let o=i.split("/");if(o.length===0)return[];let[s,...c]=o,m=s.endsWith("?"),y=s.replace(/\?$/,"");if(c.length===0)return m?[y,""]:[y];let E=_m(c.join("/")),A=[];return A.push(...E.map(b=>b===""?y:[y,b].join("/"))),m&&A.push(...E),A.map(b=>i.startsWith("/")&&b===""?"/":b)}function sy(i){i.sort((o,s)=>o.score!==s.score?s.score-o.score:gy(o.routesMeta.map(c=>c.childrenIndex),s.routesMeta.map(c=>c.childrenIndex)))}var oy=/^:[\w-]+$/,fy=3,dy=2,my=1,hy=10,yy=-2,om=i=>i==="*";function vy(i,o){let s=i.split("/"),c=s.length;return s.some(om)&&(c+=yy),o&&(c+=dy),s.filter(m=>!om(m)).reduce((m,y)=>m+(oy.test(y)?fy:y===""?my:hy),c)}function gy(i,o){return i.length===o.length&&i.slice(0,-1).every((c,m)=>c===o[m])?i[i.length-1]-o[o.length-1]:0}function py(i,o,s=!1){let{routesMeta:c}=i,m={},y="/",E=[];for(let A=0;A<c.length;++A){let b=c[A],d=A===c.length-1,S=y==="/"?o:o.slice(y.length)||"/",h=Ni({path:b.relativePath,caseSensitive:b.caseSensitive,end:d},S),U=b.route;if(!h&&d&&s&&!c[c.length-1].route.index&&(h=Ni({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},S)),!h)return null;Object.assign(m,h.params),E.push({params:m,pathname:bl([y,h.pathname]),pathnameBase:_y(bl([y,h.pathnameBase])),route:U}),h.pathnameBase!=="/"&&(y=bl([y,h.pathnameBase]))}return E}function Ni(i,o){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[s,c]=by(i.path,i.caseSensitive,i.end),m=o.match(s);if(!m)return null;let y=m[0],E=y.replace(/(.)\/+$/,"$1"),A=m.slice(1);return{params:c.reduce((d,{paramName:S,isOptional:h},U)=>{if(S==="*"){let V=A[U]||"";E=y.slice(0,y.length-V.length).replace(/(.)\/+$/,"$1")}const Y=A[U];return h&&!Y?d[S]=void 0:d[S]=(Y||"").replace(/%2F/g,"/"),d},{}),pathname:y,pathnameBase:E,pattern:i}}function by(i,o=!1,s=!0){Qe(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],m="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(E,A,b)=>(c.push({paramName:A,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(c.push({paramName:"*"}),m+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?m+="\\/*$":i!==""&&i!=="/"&&(m+="(?:(?=\\/|$))"),[new RegExp(m,o?void 0:"i"),c]}function Sy(i){try{return i.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return Qe(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${o}).`),i}}function Sl(i,o){if(o==="/")return i;if(!i.toLowerCase().startsWith(o.toLowerCase()))return null;let s=o.endsWith("/")?o.length-1:o.length,c=i.charAt(s);return c&&c!=="/"?null:i.slice(s)||"/"}function Ey(i,o="/"){let{pathname:s,search:c="",hash:m=""}=typeof i=="string"?nn(i):i;return{pathname:s?s.startsWith("/")?s:xy(s,o):o,search:Ay(c),hash:Ry(m)}}function xy(i,o){let s=o.replace(/\/+$/,"").split("/");return i.split("/").forEach(m=>{m===".."?s.length>1&&s.pop():m!=="."&&s.push(m)}),s.length>1?s.join("/"):"/"}function Wc(i,o,s,c){return`Cannot include a '${i}' character in a manually specified \`to.${o}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ty(i){return i.filter((o,s)=>s===0||o.route.path&&o.route.path.length>0)}function ns(i){let o=Ty(i);return o.map((s,c)=>c===o.length-1?s.pathname:s.pathnameBase)}function us(i,o,s,c=!1){let m;typeof i=="string"?m=nn(i):(m={...i},Mt(!m.pathname||!m.pathname.includes("?"),Wc("?","pathname","search",m)),Mt(!m.pathname||!m.pathname.includes("#"),Wc("#","pathname","hash",m)),Mt(!m.search||!m.search.includes("#"),Wc("#","search","hash",m)));let y=i===""||m.pathname==="",E=y?"/":m.pathname,A;if(E==null)A=s;else{let h=o.length-1;if(!c&&E.startsWith("..")){let U=E.split("/");for(;U[0]==="..";)U.shift(),h-=1;m.pathname=U.join("/")}A=h>=0?o[h]:"/"}let b=Ey(m,A),d=E&&E!=="/"&&E.endsWith("/"),S=(y||E===".")&&s.endsWith("/");return!b.pathname.endsWith("/")&&(d||S)&&(b.pathname+="/"),b}var bl=i=>i.join("/").replace(/\/\/+/g,"/"),_y=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),Ay=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,Ry=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function Dy(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var Am=["POST","PUT","PATCH","DELETE"];new Set(Am);var zy=["GET",...Am];new Set(zy);var un=D.createContext(null);un.displayName="DataRouter";var Ui=D.createContext(null);Ui.displayName="DataRouterState";D.createContext(!1);var Rm=D.createContext({isTransitioning:!1});Rm.displayName="ViewTransition";var Oy=D.createContext(new Map);Oy.displayName="Fetchers";var My=D.createContext(null);My.displayName="Await";var Ze=D.createContext(null);Ze.displayName="Navigation";var su=D.createContext(null);su.displayName="Location";var Le=D.createContext({outlet:null,matches:[],isDataRoute:!1});Le.displayName="Route";var is=D.createContext(null);is.displayName="RouteError";function Ny(i,{relative:o}={}){Mt(rn(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:c}=D.useContext(Ze),{hash:m,pathname:y,search:E}=ou(i,{relative:o}),A=y;return s!=="/"&&(A=y==="/"?s:bl([s,y])),c.createHref({pathname:A,search:E,hash:m})}function rn(){return D.useContext(su)!=null}function Jl(){return Mt(rn(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(su).location}var Dm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zm(i){D.useContext(Ze).static||D.useLayoutEffect(i)}function Om(){let{isDataRoute:i}=D.useContext(Le);return i?Ky():Uy()}function Uy(){Mt(rn(),"useNavigate() may be used only in the context of a <Router> component.");let i=D.useContext(un),{basename:o,navigator:s}=D.useContext(Ze),{matches:c}=D.useContext(Le),{pathname:m}=Jl(),y=JSON.stringify(ns(c)),E=D.useRef(!1);return zm(()=>{E.current=!0}),D.useCallback((b,d={})=>{if(Qe(E.current,Dm),!E.current)return;if(typeof b=="number"){s.go(b);return}let S=us(b,JSON.parse(y),m,d.relative==="path");i==null&&o!=="/"&&(S.pathname=S.pathname==="/"?o:bl([o,S.pathname])),(d.replace?s.replace:s.push)(S,d.state,d)},[o,s,y,m,i])}var wy=D.createContext(null);function Cy(i){let o=D.useContext(Le).outlet;return o&&D.createElement(wy.Provider,{value:i},o)}function ap(){let{matches:i}=D.useContext(Le),o=i[i.length-1];return o?o.params:{}}function ou(i,{relative:o}={}){let{matches:s}=D.useContext(Le),{pathname:c}=Jl(),m=JSON.stringify(ns(s));return D.useMemo(()=>us(i,JSON.parse(m),c,o==="path"),[i,m,c,o])}function Hy(i,o){return Mm(i,o)}function Mm(i,o,s,c,m){Mt(rn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:y}=D.useContext(Ze),{matches:E}=D.useContext(Le),A=E[E.length-1],b=A?A.params:{},d=A?A.pathname:"/",S=A?A.pathnameBase:"/",h=A&&A.route;{let X=h&&h.path||"";Nm(d,!h||X.endsWith("*")||X.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${X}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${X}"> to <Route path="${X==="/"?"*":`${X}/*`}">.`)}let U=Jl(),Y;if(o){let X=typeof o=="string"?nn(o):o;Mt(S==="/"||X.pathname?.startsWith(S),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${S}" but pathname "${X.pathname}" was given in the \`location\` prop.`),Y=X}else Y=U;let V=Y.pathname||"/",G=V;if(S!=="/"){let X=S.replace(/^\//,"").split("/");G="/"+V.replace(/^\//,"").split("/").slice(X.length).join("/")}let Q=xm(i,{pathname:G});Qe(h||Q!=null,`No routes matched location "${Y.pathname}${Y.search}${Y.hash}" `),Qe(Q==null||Q[Q.length-1].route.element!==void 0||Q[Q.length-1].route.Component!==void 0||Q[Q.length-1].route.lazy!==void 0,`Matched leaf route at location "${Y.pathname}${Y.search}${Y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let L=Yy(Q&&Q.map(X=>Object.assign({},X,{params:Object.assign({},b,X.params),pathname:bl([S,y.encodeLocation?y.encodeLocation(X.pathname).pathname:X.pathname]),pathnameBase:X.pathnameBase==="/"?S:bl([S,y.encodeLocation?y.encodeLocation(X.pathnameBase).pathname:X.pathnameBase])})),E,s,c,m);return o&&L?D.createElement(su.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...Y},navigationType:"POP"}},L):L}function jy(){let i=Zy(),o=Dy(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),s=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",m={padding:"0.5rem",backgroundColor:c},y={padding:"2px 4px",backgroundColor:c},E=null;return console.error("Error handled by React Router default ErrorBoundary:",i),E=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:y},"ErrorBoundary")," or"," ",D.createElement("code",{style:y},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},o),s?D.createElement("pre",{style:m},s):null,E)}var By=D.createElement(jy,null),Ly=class extends D.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,o){return o.location!==i.location||o.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:o.error,location:o.location,revalidation:i.revalidation||o.revalidation}}componentDidCatch(i,o){this.props.unstable_onError?this.props.unstable_onError(i,o):console.error("React Router caught the following error during render",i)}render(){return this.state.error!==void 0?D.createElement(Le.Provider,{value:this.props.routeContext},D.createElement(is.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function qy({routeContext:i,match:o,children:s}){let c=D.useContext(un);return c&&c.static&&c.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=o.route.id),D.createElement(Le.Provider,{value:i},s)}function Yy(i,o=[],s=null,c=null,m=null){if(i==null){if(!s)return null;if(s.errors)i=s.matches;else if(o.length===0&&!s.initialized&&s.matches.length>0)i=s.matches;else return null}let y=i,E=s?.errors;if(E!=null){let d=y.findIndex(S=>S.route.id&&E?.[S.route.id]!==void 0);Mt(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(E).join(",")}`),y=y.slice(0,Math.min(y.length,d+1))}let A=!1,b=-1;if(s)for(let d=0;d<y.length;d++){let S=y[d];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(b=d),S.route.id){let{loaderData:h,errors:U}=s,Y=S.route.loader&&!h.hasOwnProperty(S.route.id)&&(!U||U[S.route.id]===void 0);if(S.route.lazy||Y){A=!0,b>=0?y=y.slice(0,b+1):y=[y[0]];break}}}return y.reduceRight((d,S,h)=>{let U,Y=!1,V=null,G=null;s&&(U=E&&S.route.id?E[S.route.id]:void 0,V=S.route.errorElement||By,A&&(b<0&&h===0?(Nm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Y=!0,G=null):b===h&&(Y=!0,G=S.route.hydrateFallbackElement||null)));let Q=o.concat(y.slice(0,h+1)),L=()=>{let X;return U?X=V:Y?X=G:S.route.Component?X=D.createElement(S.route.Component,null):S.route.element?X=S.route.element:X=d,D.createElement(qy,{match:S,routeContext:{outlet:d,matches:Q,isDataRoute:s!=null},children:X})};return s&&(S.route.ErrorBoundary||S.route.errorElement||h===0)?D.createElement(Ly,{location:s.location,revalidation:s.revalidation,component:V,error:U,children:L(),routeContext:{outlet:null,matches:Q,isDataRoute:!0},unstable_onError:c}):L()},null)}function rs(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Xy(i){let o=D.useContext(un);return Mt(o,rs(i)),o}function Gy(i){let o=D.useContext(Ui);return Mt(o,rs(i)),o}function Vy(i){let o=D.useContext(Le);return Mt(o,rs(i)),o}function cs(i){let o=Vy(i),s=o.matches[o.matches.length-1];return Mt(s.route.id,`${i} can only be used on routes that contain a unique "id"`),s.route.id}function Qy(){return cs("useRouteId")}function Zy(){let i=D.useContext(is),o=Gy("useRouteError"),s=cs("useRouteError");return i!==void 0?i:o.errors?.[s]}function Ky(){let{router:i}=Xy("useNavigate"),o=cs("useNavigate"),s=D.useRef(!1);return zm(()=>{s.current=!0}),D.useCallback(async(m,y={})=>{Qe(s.current,Dm),s.current&&(typeof m=="number"?i.navigate(m):await i.navigate(m,{fromRouteId:o,...y}))},[i,o])}var fm={};function Nm(i,o,s){!o&&!fm[i]&&(fm[i]=!0,Qe(!1,s))}D.memo(Jy);function Jy({routes:i,future:o,state:s,unstable_onError:c}){return Mm(i,void 0,s,c,o)}function Um({to:i,replace:o,state:s,relative:c}){Mt(rn(),"<Navigate> may be used only in the context of a <Router> component.");let{static:m}=D.useContext(Ze);Qe(!m,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:y}=D.useContext(Le),{pathname:E}=Jl(),A=Om(),b=us(i,ns(y),E,c==="path"),d=JSON.stringify(b);return D.useEffect(()=>{A(JSON.parse(d),{replace:o,state:s,relative:c})},[A,d,c,o,s]),null}function np(i){return Cy(i.context)}function yt(i){Mt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ky({basename:i="/",children:o=null,location:s,navigationType:c="POP",navigator:m,static:y=!1}){Mt(!rn(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let E=i.replace(/^\/*/,"/"),A=D.useMemo(()=>({basename:E,navigator:m,static:y,future:{}}),[E,m,y]);typeof s=="string"&&(s=nn(s));let{pathname:b="/",search:d="",hash:S="",state:h=null,key:U="default"}=s,Y=D.useMemo(()=>{let V=Sl(b,E);return V==null?null:{location:{pathname:V,search:d,hash:S,state:h,key:U},navigationType:c}},[E,b,d,S,h,U,c]);return Qe(Y!=null,`<Router basename="${E}"> is not able to match the URL "${b}${d}${S}" because it does not start with the basename, so the <Router> won't render anything.`),Y==null?null:D.createElement(Ze.Provider,{value:A},D.createElement(su.Provider,{children:o,value:Y}))}function $y({children:i,location:o}){return Hy(ts(i),o)}function ts(i,o=[]){let s=[];return D.Children.forEach(i,(c,m)=>{if(!D.isValidElement(c))return;let y=[...o,m];if(c.type===D.Fragment){s.push.apply(s,ts(c.props.children,y));return}Mt(c.type===yt,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Mt(!c.props.index||!c.props.children,"An index route cannot have child routes.");let E={id:c.props.id||y.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(E.children=ts(c.props.children,y)),s.push(E)}),s}var Oi="get",Mi="application/x-www-form-urlencoded";function wi(i){return i!=null&&typeof i.tagName=="string"}function Wy(i){return wi(i)&&i.tagName.toLowerCase()==="button"}function Fy(i){return wi(i)&&i.tagName.toLowerCase()==="form"}function Py(i){return wi(i)&&i.tagName.toLowerCase()==="input"}function Iy(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function tv(i,o){return i.button===0&&(!o||o==="_self")&&!Iy(i)}var Di=null;function ev(){if(Di===null)try{new FormData(document.createElement("form"),0),Di=!1}catch{Di=!0}return Di}var lv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Fc(i){return i!=null&&!lv.has(i)?(Qe(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Mi}"`),null):i}function av(i,o){let s,c,m,y,E;if(Fy(i)){let A=i.getAttribute("action");c=A?Sl(A,o):null,s=i.getAttribute("method")||Oi,m=Fc(i.getAttribute("enctype"))||Mi,y=new FormData(i)}else if(Wy(i)||Py(i)&&(i.type==="submit"||i.type==="image")){let A=i.form;if(A==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=i.getAttribute("formaction")||A.getAttribute("action");if(c=b?Sl(b,o):null,s=i.getAttribute("formmethod")||A.getAttribute("method")||Oi,m=Fc(i.getAttribute("formenctype"))||Fc(A.getAttribute("enctype"))||Mi,y=new FormData(A,i),!ev()){let{name:d,type:S,value:h}=i;if(S==="image"){let U=d?`${d}.`:"";y.append(`${U}x`,"0"),y.append(`${U}y`,"0")}else d&&y.append(d,h)}}else{if(wi(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Oi,c=null,m=Mi,E=i}return y&&m==="text/plain"&&(E=y,y=void 0),{action:c,method:s.toLowerCase(),encType:m,formData:y,body:E}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ss(i,o){if(i===!1||i===null||typeof i>"u")throw new Error(o)}function nv(i,o,s){let c=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return c.pathname==="/"?c.pathname=`_root.${s}`:o&&Sl(c.pathname,o)==="/"?c.pathname=`${o.replace(/\/$/,"")}/_root.${s}`:c.pathname=`${c.pathname.replace(/\/$/,"")}.${s}`,c}async function uv(i,o){if(i.id in o)return o[i.id];try{let s=await import(i.module);return o[i.id]=s,s}catch(s){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function iv(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function rv(i,o,s){let c=await Promise.all(i.map(async m=>{let y=o.routes[m.route.id];if(y){let E=await uv(y,s);return E.links?E.links():[]}return[]}));return fv(c.flat(1).filter(iv).filter(m=>m.rel==="stylesheet"||m.rel==="preload").map(m=>m.rel==="stylesheet"?{...m,rel:"prefetch",as:"style"}:{...m,rel:"prefetch"}))}function dm(i,o,s,c,m,y){let E=(b,d)=>s[d]?b.route.id!==s[d].route.id:!0,A=(b,d)=>s[d].pathname!==b.pathname||s[d].route.path?.endsWith("*")&&s[d].params["*"]!==b.params["*"];return y==="assets"?o.filter((b,d)=>E(b,d)||A(b,d)):y==="data"?o.filter((b,d)=>{let S=c.routes[b.route.id];if(!S||!S.hasLoader)return!1;if(E(b,d)||A(b,d))return!0;if(b.route.shouldRevalidate){let h=b.route.shouldRevalidate({currentUrl:new URL(m.pathname+m.search+m.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(i,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function cv(i,o,{includeHydrateFallback:s}={}){return sv(i.map(c=>{let m=o.routes[c.route.id];if(!m)return[];let y=[m.module];return m.clientActionModule&&(y=y.concat(m.clientActionModule)),m.clientLoaderModule&&(y=y.concat(m.clientLoaderModule)),s&&m.hydrateFallbackModule&&(y=y.concat(m.hydrateFallbackModule)),m.imports&&(y=y.concat(m.imports)),y}).flat(1))}function sv(i){return[...new Set(i)]}function ov(i){let o={},s=Object.keys(i).sort();for(let c of s)o[c]=i[c];return o}function fv(i,o){let s=new Set;return new Set(o),i.reduce((c,m)=>{let y=JSON.stringify(ov(m));return s.has(y)||(s.add(y),c.push({key:y,link:m})),c},[])}function wm(){let i=D.useContext(un);return ss(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function dv(){let i=D.useContext(Ui);return ss(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var os=D.createContext(void 0);os.displayName="FrameworkContext";function Cm(){let i=D.useContext(os);return ss(i,"You must render this element inside a <HydratedRouter> element"),i}function mv(i,o){let s=D.useContext(os),[c,m]=D.useState(!1),[y,E]=D.useState(!1),{onFocus:A,onBlur:b,onMouseEnter:d,onMouseLeave:S,onTouchStart:h}=o,U=D.useRef(null);D.useEffect(()=>{if(i==="render"&&E(!0),i==="viewport"){let G=L=>{L.forEach(X=>{E(X.isIntersecting)})},Q=new IntersectionObserver(G,{threshold:.5});return U.current&&Q.observe(U.current),()=>{Q.disconnect()}}},[i]),D.useEffect(()=>{if(c){let G=setTimeout(()=>{E(!0)},100);return()=>{clearTimeout(G)}}},[c]);let Y=()=>{m(!0)},V=()=>{m(!1),E(!1)};return s?i!=="intent"?[y,U,{}]:[y,U,{onFocus:ru(A,Y),onBlur:ru(b,V),onMouseEnter:ru(d,Y),onMouseLeave:ru(S,V),onTouchStart:ru(h,Y)}]:[!1,U,{}]}function ru(i,o){return s=>{i&&i(s),s.defaultPrevented||o(s)}}function hv({page:i,...o}){let{router:s}=wm(),c=D.useMemo(()=>xm(s.routes,i,s.basename),[s.routes,i,s.basename]);return c?D.createElement(vv,{page:i,matches:c,...o}):null}function yv(i){let{manifest:o,routeModules:s}=Cm(),[c,m]=D.useState([]);return D.useEffect(()=>{let y=!1;return rv(i,o,s).then(E=>{y||m(E)}),()=>{y=!0}},[i,o,s]),c}function vv({page:i,matches:o,...s}){let c=Jl(),{manifest:m,routeModules:y}=Cm(),{basename:E}=wm(),{loaderData:A,matches:b}=dv(),d=D.useMemo(()=>dm(i,o,b,m,c,"data"),[i,o,b,m,c]),S=D.useMemo(()=>dm(i,o,b,m,c,"assets"),[i,o,b,m,c]),h=D.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let V=new Set,G=!1;if(o.forEach(L=>{let X=m.routes[L.route.id];!X||!X.hasLoader||(!d.some(k=>k.route.id===L.route.id)&&L.route.id in A&&y[L.route.id]?.shouldRevalidate||X.hasClientLoader?G=!0:V.add(L.route.id))}),V.size===0)return[];let Q=nv(i,E,"data");return G&&V.size>0&&Q.searchParams.set("_routes",o.filter(L=>V.has(L.route.id)).map(L=>L.route.id).join(",")),[Q.pathname+Q.search]},[E,A,c,m,d,o,i,y]),U=D.useMemo(()=>cv(S,m),[S,m]),Y=yv(S);return D.createElement(D.Fragment,null,h.map(V=>D.createElement("link",{key:V,rel:"prefetch",as:"fetch",href:V,...s})),U.map(V=>D.createElement("link",{key:V,rel:"modulepreload",href:V,...s})),Y.map(({key:V,link:G})=>D.createElement("link",{key:V,nonce:s.nonce,...G})))}function gv(...i){return o=>{i.forEach(s=>{typeof s=="function"?s(o):s!=null&&(s.current=o)})}}var Hm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Hm&&(window.__reactRouterVersion="7.9.1")}catch{}function pv({basename:i,children:o,window:s}){let c=D.useRef();c.current==null&&(c.current=ny({window:s,v5Compat:!0}));let m=c.current,[y,E]=D.useState({action:m.action,location:m.location}),A=D.useCallback(b=>{D.startTransition(()=>E(b))},[E]);return D.useLayoutEffect(()=>m.listen(A),[m,A]),D.createElement(ky,{basename:i,children:o,location:y.location,navigationType:y.action,navigator:m})}var jm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bm=D.forwardRef(function({onClick:o,discover:s="render",prefetch:c="none",relative:m,reloadDocument:y,replace:E,state:A,target:b,to:d,preventScrollReset:S,viewTransition:h,...U},Y){let{basename:V}=D.useContext(Ze),G=typeof d=="string"&&jm.test(d),Q,L=!1;if(typeof d=="string"&&G&&(Q=d,Hm))try{let At=new URL(window.location.href),$t=d.startsWith("//")?new URL(At.protocol+d):new URL(d),re=Sl($t.pathname,V);$t.origin===At.origin&&re!=null?d=re+$t.search+$t.hash:L=!0}catch{Qe(!1,`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let X=Ny(d,{relative:m}),[k,dt,tt]=mv(c,U),pt=xv(d,{replace:E,state:A,target:b,preventScrollReset:S,relative:m,viewTransition:h});function zt(At){o&&o(At),At.defaultPrevented||pt(At)}let _t=D.createElement("a",{...U,...tt,href:Q||X,onClick:L||y?o:zt,ref:gv(Y,dt),target:b,"data-discover":!G&&s==="render"?"true":void 0});return k&&!G?D.createElement(D.Fragment,null,_t,D.createElement(hv,{page:X})):_t});Bm.displayName="Link";var bv=D.forwardRef(function({"aria-current":o="page",caseSensitive:s=!1,className:c="",end:m=!1,style:y,to:E,viewTransition:A,children:b,...d},S){let h=ou(E,{relative:d.relative}),U=Jl(),Y=D.useContext(Ui),{navigator:V,basename:G}=D.useContext(Ze),Q=Y!=null&&Dv(h)&&A===!0,L=V.encodeLocation?V.encodeLocation(h).pathname:h.pathname,X=U.pathname,k=Y&&Y.navigation&&Y.navigation.location?Y.navigation.location.pathname:null;s||(X=X.toLowerCase(),k=k?k.toLowerCase():null,L=L.toLowerCase()),k&&G&&(k=Sl(k,G)||k);const dt=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let tt=X===L||!m&&X.startsWith(L)&&X.charAt(dt)==="/",pt=k!=null&&(k===L||!m&&k.startsWith(L)&&k.charAt(L.length)==="/"),zt={isActive:tt,isPending:pt,isTransitioning:Q},_t=tt?o:void 0,At;typeof c=="function"?At=c(zt):At=[c,tt?"active":null,pt?"pending":null,Q?"transitioning":null].filter(Boolean).join(" ");let $t=typeof y=="function"?y(zt):y;return D.createElement(Bm,{...d,"aria-current":_t,className:At,ref:S,style:$t,to:E,viewTransition:A},typeof b=="function"?b(zt):b)});bv.displayName="NavLink";var Sv=D.forwardRef(({discover:i="render",fetcherKey:o,navigate:s,reloadDocument:c,replace:m,state:y,method:E=Oi,action:A,onSubmit:b,relative:d,preventScrollReset:S,viewTransition:h,...U},Y)=>{let V=Av(),G=Rv(A,{relative:d}),Q=E.toLowerCase()==="get"?"get":"post",L=typeof A=="string"&&jm.test(A),X=k=>{if(b&&b(k),k.defaultPrevented)return;k.preventDefault();let dt=k.nativeEvent.submitter,tt=dt?.getAttribute("formmethod")||E;V(dt||k.currentTarget,{fetcherKey:o,method:tt,navigate:s,replace:m,state:y,relative:d,preventScrollReset:S,viewTransition:h})};return D.createElement("form",{ref:Y,method:Q,action:G,onSubmit:c?b:X,...U,"data-discover":!L&&i==="render"?"true":void 0})});Sv.displayName="Form";function Ev(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Lm(i){let o=D.useContext(un);return Mt(o,Ev(i)),o}function xv(i,{target:o,replace:s,state:c,preventScrollReset:m,relative:y,viewTransition:E}={}){let A=Om(),b=Jl(),d=ou(i,{relative:y});return D.useCallback(S=>{if(tv(S,o)){S.preventDefault();let h=s!==void 0?s:cu(b)===cu(d);A(i,{replace:h,state:c,preventScrollReset:m,relative:y,viewTransition:E})}},[b,A,d,s,c,o,i,m,y,E])}var Tv=0,_v=()=>`__${String(++Tv)}__`;function Av(){let{router:i}=Lm("useSubmit"),{basename:o}=D.useContext(Ze),s=Qy();return D.useCallback(async(c,m={})=>{let{action:y,method:E,encType:A,formData:b,body:d}=av(c,o);if(m.navigate===!1){let S=m.fetcherKey||_v();await i.fetch(S,s,m.action||y,{preventScrollReset:m.preventScrollReset,formData:b,body:d,formMethod:m.method||E,formEncType:m.encType||A,flushSync:m.flushSync})}else await i.navigate(m.action||y,{preventScrollReset:m.preventScrollReset,formData:b,body:d,formMethod:m.method||E,formEncType:m.encType||A,replace:m.replace,state:m.state,fromRouteId:s,flushSync:m.flushSync,viewTransition:m.viewTransition})},[i,o,s])}function Rv(i,{relative:o}={}){let{basename:s}=D.useContext(Ze),c=D.useContext(Le);Mt(c,"useFormAction must be used inside a RouteContext");let[m]=c.matches.slice(-1),y={...ou(i||".",{relative:o})},E=Jl();if(i==null){y.search=E.search;let A=new URLSearchParams(y.search),b=A.getAll("index");if(b.some(S=>S==="")){A.delete("index"),b.filter(h=>h).forEach(h=>A.append("index",h));let S=A.toString();y.search=S?`?${S}`:""}}return(!i||i===".")&&m.route.index&&(y.search=y.search?y.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(y.pathname=y.pathname==="/"?s:bl([s,y.pathname])),cu(y)}function Dv(i,{relative:o}={}){let s=D.useContext(Rm);Mt(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=Lm("useViewTransitionState"),m=ou(i,{relative:o});if(!s.isTransitioning)return!1;let y=Sl(s.currentLocation.pathname,c)||s.currentLocation.pathname,E=Sl(s.nextLocation.pathname,c)||s.nextLocation.pathname;return Ni(m.pathname,E)!=null||Ni(m.pathname,y)!=null}var qm=Em();const zv=Sm(qm);function Ov(i){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",o.appendChild(s),s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i))}const Mv=i=>{switch(i){case"success":return wv;case"info":return Hv;case"warning":return Cv;case"error":return jv;default:return null}},Nv=Array(12).fill(0),Uv=({visible:i,className:o})=>q.createElement("div",{className:["sonner-loading-wrapper",o].filter(Boolean).join(" "),"data-visible":i},q.createElement("div",{className:"sonner-spinner"},Nv.map((s,c)=>q.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),wv=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Cv=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},q.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Hv=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),jv=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Bv=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},q.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Lv=()=>{const[i,o]=q.useState(document.hidden);return q.useEffect(()=>{const s=()=>{o(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),i};let es=1;class qv{constructor(){this.subscribe=o=>(this.subscribers.push(o),()=>{const s=this.subscribers.indexOf(o);this.subscribers.splice(s,1)}),this.publish=o=>{this.subscribers.forEach(s=>s(o))},this.addToast=o=>{this.publish(o),this.toasts=[...this.toasts,o]},this.create=o=>{var s;const{message:c,...m}=o,y=typeof o?.id=="number"||((s=o.id)==null?void 0:s.length)>0?o.id:es++,E=this.toasts.find(b=>b.id===y),A=o.dismissible===void 0?!0:o.dismissible;return this.dismissedToasts.has(y)&&this.dismissedToasts.delete(y),E?this.toasts=this.toasts.map(b=>b.id===y?(this.publish({...b,...o,id:y,title:c}),{...b,...o,id:y,dismissible:A,title:c}):b):this.addToast({title:c,...m,dismissible:A,id:y}),y},this.dismiss=o=>(o?(this.dismissedToasts.add(o),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:o,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(c=>c({id:s.id,dismiss:!0}))}),o),this.message=(o,s)=>this.create({...s,message:o}),this.error=(o,s)=>this.create({...s,message:o,type:"error"}),this.success=(o,s)=>this.create({...s,type:"success",message:o}),this.info=(o,s)=>this.create({...s,type:"info",message:o}),this.warning=(o,s)=>this.create({...s,type:"warning",message:o}),this.loading=(o,s)=>this.create({...s,type:"loading",message:o}),this.promise=(o,s)=>{if(!s)return;let c;s.loading!==void 0&&(c=this.create({...s,promise:o,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const m=Promise.resolve(o instanceof Function?o():o);let y=c!==void 0,E;const A=m.then(async d=>{if(E=["resolve",d],q.isValidElement(d))y=!1,this.create({id:c,type:"default",message:d});else if(Xv(d)&&!d.ok){y=!1;const h=typeof s.error=="function"?await s.error(`HTTP error! status: ${d.status}`):s.error,U=typeof s.description=="function"?await s.description(`HTTP error! status: ${d.status}`):s.description,V=typeof h=="object"&&!q.isValidElement(h)?h:{message:h};this.create({id:c,type:"error",description:U,...V})}else if(d instanceof Error){y=!1;const h=typeof s.error=="function"?await s.error(d):s.error,U=typeof s.description=="function"?await s.description(d):s.description,V=typeof h=="object"&&!q.isValidElement(h)?h:{message:h};this.create({id:c,type:"error",description:U,...V})}else if(s.success!==void 0){y=!1;const h=typeof s.success=="function"?await s.success(d):s.success,U=typeof s.description=="function"?await s.description(d):s.description,V=typeof h=="object"&&!q.isValidElement(h)?h:{message:h};this.create({id:c,type:"success",description:U,...V})}}).catch(async d=>{if(E=["reject",d],s.error!==void 0){y=!1;const S=typeof s.error=="function"?await s.error(d):s.error,h=typeof s.description=="function"?await s.description(d):s.description,Y=typeof S=="object"&&!q.isValidElement(S)?S:{message:S};this.create({id:c,type:"error",description:h,...Y})}}).finally(()=>{y&&(this.dismiss(c),c=void 0),s.finally==null||s.finally.call(s)}),b=()=>new Promise((d,S)=>A.then(()=>E[0]==="reject"?S(E[1]):d(E[1])).catch(S));return typeof c!="string"&&typeof c!="number"?{unwrap:b}:Object.assign(c,{unwrap:b})},this.custom=(o,s)=>{const c=s?.id||es++;return this.create({jsx:o(c),id:c,...s}),c},this.getActiveToasts=()=>this.toasts.filter(o=>!this.dismissedToasts.has(o.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const be=new qv,Yv=(i,o)=>{const s=o?.id||es++;return be.addToast({title:i,...o,id:s}),s},Xv=i=>i&&typeof i=="object"&&"ok"in i&&typeof i.ok=="boolean"&&"status"in i&&typeof i.status=="number",Gv=Yv,Vv=()=>be.toasts,Qv=()=>be.getActiveToasts(),up=Object.assign(Gv,{success:be.success,info:be.info,warning:be.warning,error:be.error,custom:be.custom,message:be.message,promise:be.promise,dismiss:be.dismiss,loading:be.loading},{getHistory:Vv,getToasts:Qv});Ov("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function zi(i){return i.label!==void 0}const Zv=3,Kv="24px",Jv="16px",mm=4e3,kv=356,$v=14,Wv=45,Fv=200;function tl(...i){return i.filter(Boolean).join(" ")}function Pv(i){const[o,s]=i.split("-"),c=[];return o&&c.push(o),s&&c.push(s),c}const Iv=i=>{var o,s,c,m,y,E,A,b,d;const{invert:S,toast:h,unstyled:U,interacting:Y,setHeights:V,visibleToasts:G,heights:Q,index:L,toasts:X,expanded:k,removeToast:dt,defaultRichColors:tt,closeButton:pt,style:zt,cancelButtonStyle:_t,actionButtonStyle:At,className:$t="",descriptionClassName:re="",duration:Ut,position:Wt,gap:De,expandByDefault:wt,classNames:O,icons:B,closeButtonAriaLabel:$="Close toast"}=i,[ot,g]=q.useState(null),[H,K]=q.useState(null),[j,Z]=q.useState(!1),[P,W]=q.useState(!1),[Gt,lt]=q.useState(!1),[fe,El]=q.useState(!1),[el,Ke]=q.useState(!1),[cn,kl]=q.useState(0),[Ci,fu]=q.useState(0),ce=q.useRef(h.duration||Ut||mm),du=q.useRef(null),ze=q.useRef(null),mu=L===0,va=L+1<=G,de=h.type,ll=h.dismissible!==!1,Hi=h.className||"",ji=h.descriptionClassName||"",Je=q.useMemo(()=>Q.findIndex(nt=>nt.toastId===h.id)||0,[Q,h.id]),me=q.useMemo(()=>{var nt;return(nt=h.closeButton)!=null?nt:pt},[h.closeButton,pt]),qe=q.useMemo(()=>h.duration||Ut||mm,[h.duration,Ut]),le=q.useRef(0),xl=q.useRef(0),hu=q.useRef(0),Tl=q.useRef(null),[ga,pa]=Wt.split("-"),ke=q.useMemo(()=>Q.reduce((nt,jt,Vt)=>Vt>=Je?nt:nt+jt.height,0),[Q,Je]),$l=Lv(),Wl=h.invert||S,sn=de==="loading";xl.current=q.useMemo(()=>Je*De+ke,[Je,ke]),q.useEffect(()=>{ce.current=qe},[qe]),q.useEffect(()=>{Z(!0)},[]),q.useEffect(()=>{const nt=ze.current;if(nt){const jt=nt.getBoundingClientRect().height;return fu(jt),V(Vt=>[{toastId:h.id,height:jt,position:h.position},...Vt]),()=>V(Vt=>Vt.filter(ae=>ae.toastId!==h.id))}},[V,h.id]),q.useLayoutEffect(()=>{if(!j)return;const nt=ze.current,jt=nt.style.height;nt.style.height="auto";const Vt=nt.getBoundingClientRect().height;nt.style.height=jt,fu(Vt),V(ae=>ae.find(Kt=>Kt.toastId===h.id)?ae.map(Kt=>Kt.toastId===h.id?{...Kt,height:Vt}:Kt):[{toastId:h.id,height:Vt,position:h.position},...ae])},[j,h.title,h.description,V,h.id,h.jsx,h.action,h.cancel]);const Ye=q.useCallback(()=>{W(!0),kl(xl.current),V(nt=>nt.filter(jt=>jt.toastId!==h.id)),setTimeout(()=>{dt(h)},Fv)},[h,dt,V,xl]);q.useEffect(()=>{if(h.promise&&de==="loading"||h.duration===1/0||h.type==="loading")return;let nt;return k||Y||$l?(()=>{if(hu.current<le.current){const ae=new Date().getTime()-le.current;ce.current=ce.current-ae}hu.current=new Date().getTime()})():(()=>{ce.current!==1/0&&(le.current=new Date().getTime(),nt=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),Ye()},ce.current))})(),()=>clearTimeout(nt)},[k,Y,h,de,$l,Ye]),q.useEffect(()=>{h.delete&&(Ye(),h.onDismiss==null||h.onDismiss.call(h,h))},[Ye,h.delete]);function yu(){var nt;if(B?.loading){var jt;return q.createElement("div",{className:tl(O?.loader,h==null||(jt=h.classNames)==null?void 0:jt.loader,"sonner-loader"),"data-visible":de==="loading"},B.loading)}return q.createElement(Uv,{className:tl(O?.loader,h==null||(nt=h.classNames)==null?void 0:nt.loader),visible:de==="loading"})}const on=h.icon||B?.[de]||Mv(de);var _l,vu;return q.createElement("li",{tabIndex:0,ref:ze,className:tl($t,Hi,O?.toast,h==null||(o=h.classNames)==null?void 0:o.toast,O?.default,O?.[de],h==null||(s=h.classNames)==null?void 0:s[de]),"data-sonner-toast":"","data-rich-colors":(_l=h.richColors)!=null?_l:tt,"data-styled":!(h.jsx||h.unstyled||U),"data-mounted":j,"data-promise":!!h.promise,"data-swiped":el,"data-removed":P,"data-visible":va,"data-y-position":ga,"data-x-position":pa,"data-index":L,"data-front":mu,"data-swiping":Gt,"data-dismissible":ll,"data-type":de,"data-invert":Wl,"data-swipe-out":fe,"data-swipe-direction":H,"data-expanded":!!(k||wt&&j),"data-testid":h.testId,style:{"--index":L,"--toasts-before":L,"--z-index":X.length-L,"--offset":`${P?cn:xl.current}px`,"--initial-height":wt?"auto":`${Ci}px`,...zt,...h.style},onDragEnd:()=>{lt(!1),g(null),Tl.current=null},onPointerDown:nt=>{nt.button!==2&&(sn||!ll||(du.current=new Date,kl(xl.current),nt.target.setPointerCapture(nt.pointerId),nt.target.tagName!=="BUTTON"&&(lt(!0),Tl.current={x:nt.clientX,y:nt.clientY})))},onPointerUp:()=>{var nt,jt,Vt;if(fe||!ll)return;Tl.current=null;const ae=Number(((nt=ze.current)==null?void 0:nt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Fl=Number(((jt=ze.current)==null?void 0:jt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Kt=new Date().getTime()-((Vt=du.current)==null?void 0:Vt.getTime()),Bt=ot==="x"?ae:Fl,Lt=Math.abs(Bt)/Kt;if(Math.abs(Bt)>=Wv||Lt>.11){kl(xl.current),h.onDismiss==null||h.onDismiss.call(h,h),K(ot==="x"?ae>0?"right":"left":Fl>0?"down":"up"),Ye(),El(!0);return}else{var Rt,Ft;(Rt=ze.current)==null||Rt.style.setProperty("--swipe-amount-x","0px"),(Ft=ze.current)==null||Ft.style.setProperty("--swipe-amount-y","0px")}Ke(!1),lt(!1),g(null)},onPointerMove:nt=>{var jt,Vt,ae;if(!Tl.current||!ll||((jt=window.getSelection())==null?void 0:jt.toString().length)>0)return;const Kt=nt.clientY-Tl.current.y,Bt=nt.clientX-Tl.current.x;var Lt;const Rt=(Lt=i.swipeDirections)!=null?Lt:Pv(Wt);!ot&&(Math.abs(Bt)>1||Math.abs(Kt)>1)&&g(Math.abs(Bt)>Math.abs(Kt)?"x":"y");let Ft={x:0,y:0};const ba=al=>1/(1.5+Math.abs(al)/20);if(ot==="y"){if(Rt.includes("top")||Rt.includes("bottom"))if(Rt.includes("top")&&Kt<0||Rt.includes("bottom")&&Kt>0)Ft.y=Kt;else{const al=Kt*ba(Kt);Ft.y=Math.abs(al)<Math.abs(Kt)?al:Kt}}else if(ot==="x"&&(Rt.includes("left")||Rt.includes("right")))if(Rt.includes("left")&&Bt<0||Rt.includes("right")&&Bt>0)Ft.x=Bt;else{const al=Bt*ba(Bt);Ft.x=Math.abs(al)<Math.abs(Bt)?al:Bt}(Math.abs(Ft.x)>0||Math.abs(Ft.y)>0)&&Ke(!0),(Vt=ze.current)==null||Vt.style.setProperty("--swipe-amount-x",`${Ft.x}px`),(ae=ze.current)==null||ae.style.setProperty("--swipe-amount-y",`${Ft.y}px`)}},me&&!h.jsx&&de!=="loading"?q.createElement("button",{"aria-label":$,"data-disabled":sn,"data-close-button":!0,onClick:sn||!ll?()=>{}:()=>{Ye(),h.onDismiss==null||h.onDismiss.call(h,h)},className:tl(O?.closeButton,h==null||(c=h.classNames)==null?void 0:c.closeButton)},(vu=B?.close)!=null?vu:Bv):null,(de||h.icon||h.promise)&&h.icon!==null&&(B?.[de]!==null||h.icon)?q.createElement("div",{"data-icon":"",className:tl(O?.icon,h==null||(m=h.classNames)==null?void 0:m.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||yu():null,h.type!=="loading"?on:null):null,q.createElement("div",{"data-content":"",className:tl(O?.content,h==null||(y=h.classNames)==null?void 0:y.content)},q.createElement("div",{"data-title":"",className:tl(O?.title,h==null||(E=h.classNames)==null?void 0:E.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?q.createElement("div",{"data-description":"",className:tl(re,ji,O?.description,h==null||(A=h.classNames)==null?void 0:A.description)},typeof h.description=="function"?h.description():h.description):null),q.isValidElement(h.cancel)?h.cancel:h.cancel&&zi(h.cancel)?q.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||_t,onClick:nt=>{zi(h.cancel)&&ll&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,nt),Ye())},className:tl(O?.cancelButton,h==null||(b=h.classNames)==null?void 0:b.cancelButton)},h.cancel.label):null,q.isValidElement(h.action)?h.action:h.action&&zi(h.action)?q.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||At,onClick:nt=>{zi(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,nt),!nt.defaultPrevented&&Ye())},className:tl(O?.actionButton,h==null||(d=h.classNames)==null?void 0:d.actionButton)},h.action.label):null)};function hm(){if(typeof window>"u"||typeof document>"u")return"ltr";const i=document.documentElement.getAttribute("dir");return i==="auto"||!i?window.getComputedStyle(document.documentElement).direction:i}function tg(i,o){const s={};return[i,o].forEach((c,m)=>{const y=m===1,E=y?"--mobile-offset":"--offset",A=y?Jv:Kv;function b(d){["top","right","bottom","left"].forEach(S=>{s[`${E}-${S}`]=typeof d=="number"?`${d}px`:d})}typeof c=="number"||typeof c=="string"?b(c):typeof c=="object"?["top","right","bottom","left"].forEach(d=>{c[d]===void 0?s[`${E}-${d}`]=A:s[`${E}-${d}`]=typeof c[d]=="number"?`${c[d]}px`:c[d]}):b(A)}),s}const eg=q.forwardRef(function(o,s){const{id:c,invert:m,position:y="bottom-right",hotkey:E=["altKey","KeyT"],expand:A,closeButton:b,className:d,offset:S,mobileOffset:h,theme:U="light",richColors:Y,duration:V,style:G,visibleToasts:Q=Zv,toastOptions:L,dir:X=hm(),gap:k=$v,icons:dt,containerAriaLabel:tt="Notifications"}=o,[pt,zt]=q.useState([]),_t=q.useMemo(()=>c?pt.filter(j=>j.toasterId===c):pt.filter(j=>!j.toasterId),[pt,c]),At=q.useMemo(()=>Array.from(new Set([y].concat(_t.filter(j=>j.position).map(j=>j.position)))),[_t,y]),[$t,re]=q.useState([]),[Ut,Wt]=q.useState(!1),[De,wt]=q.useState(!1),[O,B]=q.useState(U!=="system"?U:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=q.useRef(null),ot=E.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=q.useRef(null),H=q.useRef(!1),K=q.useCallback(j=>{zt(Z=>{var P;return(P=Z.find(W=>W.id===j.id))!=null&&P.delete||be.dismiss(j.id),Z.filter(({id:W})=>W!==j.id)})},[]);return q.useEffect(()=>be.subscribe(j=>{if(j.dismiss){requestAnimationFrame(()=>{zt(Z=>Z.map(P=>P.id===j.id?{...P,delete:!0}:P))});return}setTimeout(()=>{zv.flushSync(()=>{zt(Z=>{const P=Z.findIndex(W=>W.id===j.id);return P!==-1?[...Z.slice(0,P),{...Z[P],...j},...Z.slice(P+1)]:[j,...Z]})})})}),[pt]),q.useEffect(()=>{if(U!=="system"){B(U);return}if(U==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;const j=window.matchMedia("(prefers-color-scheme: dark)");try{j.addEventListener("change",({matches:Z})=>{B(Z?"dark":"light")})}catch{j.addListener(({matches:P})=>{try{B(P?"dark":"light")}catch(W){console.error(W)}})}},[U]),q.useEffect(()=>{pt.length<=1&&Wt(!1)},[pt]),q.useEffect(()=>{const j=Z=>{var P;if(E.every(lt=>Z[lt]||Z.code===lt)){var Gt;Wt(!0),(Gt=$.current)==null||Gt.focus()}Z.code==="Escape"&&(document.activeElement===$.current||(P=$.current)!=null&&P.contains(document.activeElement))&&Wt(!1)};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[E]),q.useEffect(()=>{if($.current)return()=>{g.current&&(g.current.focus({preventScroll:!0}),g.current=null,H.current=!1)}},[$.current]),q.createElement("section",{ref:s,"aria-label":`${tt} ${ot}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},At.map((j,Z)=>{var P;const[W,Gt]=j.split("-");return _t.length?q.createElement("ol",{key:j,dir:X==="auto"?hm():X,tabIndex:-1,ref:$,className:d,"data-sonner-toaster":!0,"data-sonner-theme":O,"data-y-position":W,"data-x-position":Gt,style:{"--front-toast-height":`${((P=$t[0])==null?void 0:P.height)||0}px`,"--width":`${kv}px`,"--gap":`${k}px`,...G,...tg(S,h)},onBlur:lt=>{H.current&&!lt.currentTarget.contains(lt.relatedTarget)&&(H.current=!1,g.current&&(g.current.focus({preventScroll:!0}),g.current=null))},onFocus:lt=>{lt.target instanceof HTMLElement&&lt.target.dataset.dismissible==="false"||H.current||(H.current=!0,g.current=lt.relatedTarget)},onMouseEnter:()=>Wt(!0),onMouseMove:()=>Wt(!0),onMouseLeave:()=>{De||Wt(!1)},onDragEnd:()=>Wt(!1),onPointerDown:lt=>{lt.target instanceof HTMLElement&&lt.target.dataset.dismissible==="false"||wt(!0)},onPointerUp:()=>wt(!1)},_t.filter(lt=>!lt.position&&Z===0||lt.position===j).map((lt,fe)=>{var El,el;return q.createElement(Iv,{key:lt.id,icons:dt,index:fe,toast:lt,defaultRichColors:Y,duration:(El=L?.duration)!=null?El:V,className:L?.className,descriptionClassName:L?.descriptionClassName,invert:m,visibleToasts:Q,closeButton:(el=L?.closeButton)!=null?el:b,interacting:De,position:j,style:L?.style,unstyled:L?.unstyled,classNames:L?.classNames,cancelButtonStyle:L?.cancelButtonStyle,actionButtonStyle:L?.actionButtonStyle,closeButtonAriaLabel:L?.closeButtonAriaLabel,removeToast:K,toasts:_t.filter(Ke=>Ke.position==lt.position),heights:$t.filter(Ke=>Ke.position==lt.position),setHeights:re,expandByDefault:A,gap:k,expanded:Ut,swipeDirections:o.swipeDirections})})):null}))}),lg=({...i})=>N.jsx(eg,{position:"top-right",expand:!0,richColors:!0,closeButton:!0,visibleToasts:5,duration:4e3,...i}),ym=i=>{let o;const s=new Set,c=(d,S)=>{const h=typeof d=="function"?d(o):d;if(!Object.is(h,o)){const U=o;o=S??(typeof h!="object"||h===null)?h:Object.assign({},o,h),s.forEach(Y=>Y(o,U))}},m=()=>o,A={setState:c,getState:m,getInitialState:()=>b,subscribe:d=>(s.add(d),()=>s.delete(d))},b=o=i(c,m,A);return A},ag=(i=>i?ym(i):ym),ng=i=>i;function ug(i,o=ng){const s=q.useSyncExternalStore(i.subscribe,q.useCallback(()=>o(i.getState()),[i,o]),q.useCallback(()=>o(i.getInitialState()),[i,o]));return q.useDebugValue(s),s}const vm=i=>{const o=ag(i),s=c=>ug(o,c);return Object.assign(s,o),s},ig=(i=>i?vm(i):vm);function rg(i,o){let s;try{s=i()}catch{return}return{getItem:m=>{var y;const E=b=>b===null?null:JSON.parse(b,void 0),A=(y=s.getItem(m))!=null?y:null;return A instanceof Promise?A.then(E):E(A)},setItem:(m,y)=>s.setItem(m,JSON.stringify(y,void 0)),removeItem:m=>s.removeItem(m)}}const ls=i=>o=>{try{const s=i(o);return s instanceof Promise?s:{then(c){return ls(c)(s)},catch(c){return this}}}catch(s){return{then(c){return this},catch(c){return ls(c)(s)}}}},cg=(i,o)=>(s,c,m)=>{let y={storage:rg(()=>localStorage),partialize:G=>G,version:0,merge:(G,Q)=>({...Q,...G}),...o},E=!1;const A=new Set,b=new Set;let d=y.storage;if(!d)return i((...G)=>{console.warn(`[zustand persist middleware] Unable to update item '${y.name}', the given storage is currently unavailable.`),s(...G)},c,m);const S=()=>{const G=y.partialize({...c()});return d.setItem(y.name,{state:G,version:y.version})},h=m.setState;m.setState=(G,Q)=>(h(G,Q),S());const U=i((...G)=>(s(...G),S()),c,m);m.getInitialState=()=>U;let Y;const V=()=>{var G,Q;if(!d)return;E=!1,A.forEach(X=>{var k;return X((k=c())!=null?k:U)});const L=((Q=y.onRehydrateStorage)==null?void 0:Q.call(y,(G=c())!=null?G:U))||void 0;return ls(d.getItem.bind(d))(y.name).then(X=>{if(X)if(typeof X.version=="number"&&X.version!==y.version){if(y.migrate){const k=y.migrate(X.state,X.version);return k instanceof Promise?k.then(dt=>[!0,dt]):[!0,k]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,X.state];return[!1,void 0]}).then(X=>{var k;const[dt,tt]=X;if(Y=y.merge(tt,(k=c())!=null?k:U),s(Y,!0),dt)return S()}).then(()=>{L?.(Y,void 0),Y=c(),E=!0,b.forEach(X=>X(Y))}).catch(X=>{L?.(void 0,X)})};return m.persist={setOptions:G=>{y={...y,...G},G.storage&&(d=G.storage)},clearStorage:()=>{d?.removeItem(y.name)},getOptions:()=>y,rehydrate:()=>V(),hasHydrated:()=>E,onHydrate:G=>(A.add(G),()=>{A.delete(G)}),onFinishHydration:G=>(b.add(G),()=>{b.delete(G)})},y.skipHydration||V(),Y||U},sg=cg,Pc={STUDENT:"student",TEACHER:"teacher",ADMIN:"admin"},ya=ig(sg((i,o)=>({user:null,token:null,expiresAt:null,meta:{},isInitialized:!1,login:s=>{const{user:c,access_token:m,expires_at:y,meta:E}=s.data;i({user:c,token:m,expiresAt:y,meta:E||{},isInitialized:!0})},logout:()=>{i({user:null,token:null,expiresAt:null,meta:{},isInitialized:!0})},updateUser:s=>{const c=o().user;c&&i({user:{...c,...s}})},updateMeta:s=>{i({meta:s})},updateMetaProperty:(s,c)=>{const m=o().meta;i({meta:{...m,[s]:c}})},syncAuth:s=>{o().login(s)},isTokenValid:()=>{const s=o().expiresAt;return s?new Date<new Date(s):!1},checkAuth:()=>{const{user:s,token:c,isTokenValid:m}=o();return o().isInitialized&&!s?!1:s&&!m()?(o().logout(),!1):(i({isInitialized:!0}),!!s&&!!c&&m())},isAuthenticated:()=>{const{user:s,isTokenValid:c}=o();return!!s&&c()},getUserType:()=>o().user?.user_type||null,getValidatedInformation:()=>o().user?.validated_information||!1,isStudent:()=>o().getUserType()===Pc.STUDENT,isTeacher:()=>o().getUserType()===Pc.TEACHER,isAdmin:()=>o().getUserType()===Pc.ADMIN,getPermissions:()=>o().meta?.permissions||[],getRoles:()=>o().meta?.roles||[],getAuthHeader:()=>{const s=o().token;return s?`Bearer ${s}`:null}}),{name:"cepre-auth",partialize:i=>({user:i.user,token:i.token,expiresAt:i.expiresAt,meta:i.meta})})),gm=({show:i=!0,message:o="Cargando...",overlay:s=!0,variant:c="minimal",className:m="",portal:y=!0,size:E="md",animate:A=!0})=>{if(!i)return null;const b={glass:{backdrop:"bg-black/20 backdrop-blur-sm",container:"bg-white/10 backdrop-blur-md border border-white/20 rounded-2xl shadow-2xl",gradient:"bg-gradient-to-br from-white/20 to-transparent",spinner:{base:"border-white/20",active:"border-white"},text:"text-white"},dark:{backdrop:"bg-black/40 backdrop-blur-sm",container:"bg-gray-900/80 backdrop-blur-md border border-gray-700/50 rounded-2xl shadow-2xl",gradient:"bg-gradient-to-br from-gray-600/20 to-transparent",spinner:{base:"border-gray-400/30",active:"border-gray-200"},text:"text-gray-200"},light:{backdrop:"bg-white/60 backdrop-blur-sm",container:"bg-white/80 backdrop-blur-md border border-gray-200/50 rounded-2xl shadow-lg",gradient:"bg-gradient-to-br from-blue-100/30 to-transparent",spinner:{base:"border-gray-300",active:"border-blue-600"},text:"text-gray-700"},minimal:{backdrop:"bg-black/10 backdrop-blur-sm",container:"bg-white/90 backdrop-blur-sm border border-white/30 rounded-xl shadow-lg",gradient:"bg-gradient-to-br from-white/40 to-transparent",spinner:{base:"border-gray-200",active:"border-blue-500"},text:"text-gray-600"}},d={sm:{spinner:"h-8 w-8 border-2",padding:"p-6"},md:{spinner:"h-12 w-12 border-4",padding:"p-8"},lg:{spinner:"h-16 w-16 border-4",padding:"p-10"}},S=b[c]||b.minimal,h=d[E]||d.md,U=y?"fixed":"absolute",Y=A?"animate-fadeIn":"",V=N.jsxs("div",{className:"flex flex-col items-center gap-4",children:[N.jsxs("div",{className:"relative",children:[N.jsx("div",{className:`animate-spin rounded-full ${h.spinner} ${S.spinner.base}`}),N.jsx("div",{className:`animate-spin rounded-full ${h.spinner} border-t-4 ${S.spinner.active} absolute top-0`})]}),o&&N.jsx("p",{className:`${S.text} font-medium text-center px-4 text-sm`,children:o})]});if(!s)return N.jsx("div",{className:`flex items-center justify-center py-8 ${m}`,children:V});const G=N.jsxs("div",{className:`${U} inset-0 flex items-center justify-center ${Y} ${m}`,style:{zIndex:y?9999:50},children:[N.jsx("div",{className:`absolute inset-0 ${S.backdrop}`}),N.jsxs("div",{className:`relative ${S.container} ${h.padding} transform transition-all duration-300 ease-out`,children:[N.jsx("div",{className:`absolute inset-0 ${S.gradient} rounded-2xl pointer-events-none`}),N.jsx("div",{className:"relative z-10",children:V})]})]});return y&&typeof document<"u"?qm.createPortal(G,document.body):G},og="modulepreload",fg=function(i){return"/"+i},pm={},Tt=function(o,s,c){let m=Promise.resolve();if(s&&s.length>0){let b=function(d){return Promise.all(d.map(S=>Promise.resolve(S).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const E=document.querySelector("meta[property=csp-nonce]"),A=E?.nonce||E?.getAttribute("nonce");m=b(s.map(d=>{if(d=fg(d),d in pm)return;pm[d]=!0;const S=d.endsWith(".css"),h=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const U=document.createElement("link");if(U.rel=S?"stylesheet":og,S||(U.as="script"),U.crossOrigin="",U.href=d,A&&U.setAttribute("nonce",A),document.head.appendChild(U),S)return new Promise((Y,V)=>{U.addEventListener("load",Y),U.addEventListener("error",()=>V(new Error(`Unable to preload CSS for ${d}`)))})}))}function y(E){const A=new Event("vite:preloadError",{cancelable:!0});if(A.payload=E,window.dispatchEvent(A),!A.defaultPrevented)throw E}return m.then(E=>{for(const A of E||[])A.status==="rejected"&&y(A.reason);return o().catch(y)})},dg=D.lazy(()=>Tt(()=>import("./LandingPage-DiT8KJV3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]))),mg=D.lazy(()=>Tt(()=>import("./LoginPage-yGbsSkiM.js"),__vite__mapDeps([19,20,1,9,14,13,21,22,2,3,4,5,6,7,8,10,11,12,23,15,24,25]))),hg=D.lazy(()=>Tt(()=>import("./RegisterPage-BTFIrnsY.js"),__vite__mapDeps([26,1,9,18,20,14,13,21,22,2,3,4,5,6,7,8,10,11,12,23,27,25,16,28,29]))),yg=N.jsxs(N.Fragment,{children:[N.jsx(yt,{path:"/",element:N.jsx(dg,{})}),N.jsx(yt,{path:"/login",element:N.jsx(mg,{})}),N.jsx(yt,{path:"/register",element:N.jsx(hg,{})})]});/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vg=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gg=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,s,c)=>c?c.toUpperCase():s.toLowerCase()),bm=i=>{const o=gg(i);return o.charAt(0).toUpperCase()+o.slice(1)},Ym=(...i)=>i.filter((o,s,c)=>!!o&&o.trim()!==""&&c.indexOf(o)===s).join(" ").trim(),pg=i=>{for(const o in i)if(o.startsWith("aria-")||o==="role"||o==="title")return!0};/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var bg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sg=D.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:m="",children:y,iconNode:E,...A},b)=>D.createElement("svg",{ref:b,...bg,width:o,height:o,stroke:i,strokeWidth:c?Number(s)*24/Number(o):s,className:Ym("lucide",m),...!y&&!pg(A)&&{"aria-hidden":"true"},...A},[...E.map(([d,S])=>D.createElement(d,S)),...Array.isArray(y)?y:[y]]));/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Eg=(i,o)=>{const s=D.forwardRef(({className:c,...m},y)=>D.createElement(Sg,{ref:y,iconNode:o,className:Ym(`lucide-${vg(bm(i))}`,`lucide-${i}`,c),...m}));return s.displayName=bm(i),s};/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xg=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Tg=Eg("loader-circle",xg),Xt=({children:i,allowedTypes:o=null,requiredPermissions:s=null,anyPermission:c=!1,redirectTo:m="/login"})=>{const y=ya(U=>U.user),E=ya(U=>U.isInitialized),A=ya(U=>U.getUserType),b=ya(U=>U.getPermissions),d=ya(U=>U.checkAuth);if(D.useEffect(()=>{d()},[d]),!E)return N.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:N.jsxs("div",{className:"text-center",children:[N.jsx(Tg,{className:"h-8 w-8 animate-spin mx-auto mb-4 text-blue-600"}),N.jsx("p",{className:"text-gray-600",children:"Verificando acceso..."})]})});if(!y)return N.jsx(Um,{to:m,replace:!0});const S=A(),h=b();if(o&&!o.includes(S))return N.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:N.jsxs("div",{className:"text-center max-w-md",children:[N.jsx("h2",{className:"text-2xl font-bold text-red-600 mb-2",children:"Acceso Denegado"}),N.jsx("p",{className:"text-gray-600",children:"No tienes permisos para acceder a esta sección."}),N.jsxs("p",{className:"text-sm text-gray-500 mt-2",children:["Tu tipo de usuario: ",N.jsx("span",{className:"font-semibold",children:S})]})]})});if(s&&s.length>0){let U=!1;if(c?U=s.some(Y=>h.includes(Y)):U=s.every(Y=>h.includes(Y)),!U)return N.jsx("div",{className:"flex items-center justify-center bg-gray-50",children:N.jsxs("div",{className:"text-center max-w-md",children:[N.jsx("h2",{className:"text-2xl font-bold text-red-600 mb-2",children:"Permisos Insuficientes"}),N.jsx("p",{className:"text-gray-600",children:"No tienes los permisos necesarios para acceder a esta sección."})]})})}return i},_g=D.lazy(()=>Tt(()=>import("./StudentLayout-Dj1UoTgg.js"),__vite__mapDeps([30,31,24,25,13,22,32,11,9,10,33,34,35,36,6,14]))),Ag=D.lazy(()=>Tt(()=>import("./StudentDashboard-DK7lVfga.js"),__vite__mapDeps([37,12,7,16,38,18]))),Rg=D.lazy(()=>Tt(()=>import("./OnboardingPage-Ds1ipWv5.js"),__vite__mapDeps([39,27,13,21,22,25,14,23,4,1,3,40,29,9,8,41,5,42,36,28,43,32,10,11,44,45,33,16,38,46,15,17,18]))),Dg=N.jsxs(N.Fragment,{children:[N.jsx(yt,{path:"/student/onboarding",element:N.jsx(Xt,{allowedTypes:["student"],children:N.jsx(Rg,{})})}),N.jsx(yt,{path:"/student",element:N.jsx(Xt,{allowedTypes:["student"],children:N.jsx(_g,{})}),children:N.jsx(yt,{index:!0,element:N.jsx(Ag,{})})})]}),zg=D.lazy(()=>Tt(()=>import("./TeacherLayout-DoGfPLOT.js"),__vite__mapDeps([47,31,24,25,13,22,32,11,9,10,33,34,35,36,6]))),Og=D.lazy(()=>Tt(()=>import("./TeacherDashboard-Ci6aR9vb.js"),__vite__mapDeps([48,12,11,38,18,40,16]))),Mg=N.jsx(yt,{path:"/teacher",element:N.jsx(Xt,{allowedTypes:["teacher"],children:N.jsx(zg,{})}),children:N.jsx(yt,{index:!0,element:N.jsx(Og,{})})}),Ng=D.lazy(()=>Tt(()=>import("./AdminLayout-DAJQ30NC.js"),__vite__mapDeps([49,31,24,25,13,22,32,11,9,10,33,34,35,36,6]))),Ug=D.lazy(()=>Tt(()=>import("./AdminDashboard-D7FLeZ3A.js"),__vite__mapDeps([50,9,17,11,12]))),wg=D.lazy(()=>Tt(()=>import("./PermissionList-DXS37_vX.js"),__vite__mapDeps([51,52,28,5,45,16,41,44,23,4,53,1,54,55,13,22,35]))),Cg=D.lazy(()=>Tt(()=>import("./RoleList-DAgg5yXH.js"),__vite__mapDeps([56,52,28,5,45,16,41,44,57,23,4,53,1,58,55,13,22,35,54,15]))),Hg=D.lazy(()=>Tt(()=>import("./UserList-CSk_82CN.js"),__vite__mapDeps([59,52,28,5,45,16,41,44,57,23,4,53,1,55,13,22,58,35,15]))),jg=D.lazy(()=>Tt(()=>import("./StudentList-v_af1xB1.js"),__vite__mapDeps([60,52,28,5,45,16,41,57,35,13,61,1,55,22,40,29,23,4,42,36,43,8,10,33,34]))),Bg=D.lazy(()=>Tt(()=>import("./CycleList-B0Nd_2jF.js"),__vite__mapDeps([62,52,28,5,45,16,41,44,23,4,61,35,13,55,22,11]))),Lg=D.lazy(()=>Tt(()=>Promise.resolve().then(()=>Ig),void 0)),qg=D.lazy(()=>Tt(()=>import("./EnrollmentList-DBKJ73Tf.js"),__vite__mapDeps([63,52,28,5,45,16,35,13,22,46]))),Yg=D.lazy(()=>Tt(()=>Promise.resolve().then(()=>tp),void 0)),Xg=D.lazy(()=>Tt(()=>Promise.resolve().then(()=>ep),void 0)),Gg=D.lazy(()=>Tt(()=>Promise.resolve().then(()=>lp),void 0)),Vg=D.lazy(()=>Tt(()=>import("./CountryList-bBjMmmYO.js"),__vite__mapDeps([64,52,28,5,45,16,41,44,23,4,1,55,13,22,35]))),Qg=D.lazy(()=>Tt(()=>import("./DepartmentList-CfCq4y4N.js"),__vite__mapDeps([65,52,28,5,45,16,41,44,23,4,1,42,36,66,55,13,22,10,35]))),Zg=D.lazy(()=>Tt(()=>import("./ProvinceList-CfLl7R-Y.js"),__vite__mapDeps([67,52,28,5,45,16,41,44,23,4,1,42,36,66,55,13,22,10,35]))),Kg=D.lazy(()=>Tt(()=>import("./DistrictList-P-K_Rt9P.js"),__vite__mapDeps([68,52,28,5,45,16,41,44,23,4,1,42,36,66,55,13,22,10,35]))),Jg=D.lazy(()=>Tt(()=>import("./CareerList-BUfLjbOQ.js"),__vite__mapDeps([69,52,28,5,45,16,41,44,23,4,53,1,55,13,22,35]))),kg=D.lazy(()=>Tt(()=>import("./SchoolList-DNsZghpu.js"),__vite__mapDeps([70,52,28,5,45,16,41,44,23,4,53,1,42,36,66,55,13,22,10,35]))),$g=D.lazy(()=>Tt(()=>import("./DiscountList-CQN_hGae.js"),__vite__mapDeps([71,52,28,5,45,16,41,44,23,4,53,1,55,13,22,35]))),Wg=N.jsxs(yt,{path:"/admin",element:N.jsx(Xt,{allowedTypes:["admin"],children:N.jsx(Ng,{})}),children:[N.jsx(yt,{index:!0,element:N.jsx(Ug,{})}),N.jsx(yt,{path:"permissions",element:N.jsx(Xt,{requiredPermissions:["permissions.index"],children:N.jsx(wg,{})})}),N.jsx(yt,{path:"roles",element:N.jsx(Xt,{ProtectedRoute:!0,requiredPermissions:["roles.index"],children:N.jsx(Cg,{})})}),N.jsx(yt,{path:"users",element:N.jsx(Xt,{requiredPermissions:["users.index"],children:N.jsx(Hg,{})})}),N.jsx(yt,{path:"students",element:N.jsx(Xt,{requiredPermissions:["students.index"],children:N.jsx(jg,{})})}),N.jsxs(yt,{path:"cycles",children:[N.jsx(yt,{index:!0,element:N.jsx(Xt,{requiredPermissions:["cycles.index"],children:N.jsx(Bg,{})})}),N.jsx(yt,{path:":cycleId",element:N.jsx(Xt,{requiredPermissions:["cycles.show"],children:N.jsx(Lg,{})})}),N.jsxs(yt,{path:":cycleId/enrollments",children:[N.jsx(yt,{index:!0,element:N.jsx(Xt,{requiredPermissions:["enrollments.index"],children:N.jsx(qg,{})})}),N.jsx(yt,{path:":enrollmentId",element:N.jsx(Xt,{requiredPermissions:["enrollments.show"],children:N.jsx(Yg,{})})}),N.jsx(yt,{path:":enrollmentId/edit",element:N.jsx(Xt,{requiredPermissions:["enrollments.update"],children:N.jsx(Xg,{})})}),N.jsx(yt,{path:":enrollmentId/payments",element:N.jsx(Xt,{requiredPermissions:["enrollments.payments"],children:N.jsx(Gg,{})})})]})]}),N.jsx(yt,{path:"countries",element:N.jsx(Xt,{requiredPermissions:["countries.index"],children:N.jsx(Vg,{})})}),N.jsx(yt,{path:"departments",element:N.jsx(Xt,{requiredPermissions:["departments.index"],children:N.jsx(Qg,{})})}),N.jsx(yt,{path:"provinces",element:N.jsx(Xt,{requiredPermissions:["provinces.index"],children:N.jsx(Zg,{})})}),N.jsx(yt,{path:"districts",element:N.jsx(Xt,{requiredPermissions:["districts.index"],children:N.jsx(Kg,{})})}),N.jsx(yt,{path:"careers",element:N.jsx(Xt,{requiredPermissions:["careers.index"],children:N.jsx(Jg,{})})}),N.jsx(yt,{path:"schools",element:N.jsx(Xt,{requiredPermissions:["schools.index"],children:N.jsx(kg,{})})}),N.jsx(yt,{path:"discount-types",element:N.jsx(Xt,{requiredPermissions:["discount-types.index"],children:N.jsx($g,{})})})]}),Fg=()=>ya(o=>o.isInitialized)?N.jsx(D.Suspense,{fallback:N.jsx(gm,{message:"Verificando Autenticación..."}),children:N.jsxs($y,{children:[yg,Dg,Mg,Wg,N.jsx(yt,{path:"*",element:N.jsx(Um,{to:"/",replace:!0})})]})}):N.jsx(gm,{message:"Verificando sesión..."});function Pg(){const i=ya(o=>o.checkAuth);return D.useEffect(()=>{i()},[i]),N.jsx(pv,{children:N.jsxs("div",{className:"min-h-screen",children:[N.jsx(Fg,{}),N.jsx(lg,{})]})})}ay.createRoot(document.getElementById("root")).render(N.jsx(D.StrictMode,{children:N.jsx(Pg,{})}));const Ig=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),tp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ep=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),lp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{gm as L,np as O,q as R,ya as a,ig as b,Eg as c,qm as d,Bm as e,ap as f,Tg as g,Jl as h,N as j,sg as p,D as r,up as t,Om as u};
