(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(d);new MutationObserver(d=>{for(const p of d)if(p.type==="childList")for(const N of p.addedNodes)N.tagName==="LINK"&&N.rel==="modulepreload"&&o(N)}).observe(document,{childList:!0,subtree:!0});function f(d){const p={};return d.integrity&&(p.integrity=d.integrity),d.referrerPolicy&&(p.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?p.credentials="include":d.crossOrigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function o(d){if(d.ep)return;d.ep=!0;const p=f(d);fetch(d.href,p)}})();function Ap(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var xs={exports:{}},On={};/**
 * @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 Dd;function zp(){if(Dd)return On;Dd=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function f(o,d,p){var N=null;if(p!==void 0&&(N=""+p),d.key!==void 0&&(N=""+d.key),"key"in d){p={};for(var D in d)D!=="key"&&(p[D]=d[D])}else p=d;return d=p.ref,{$$typeof:i,type:o,key:N,ref:d!==void 0?d:null,props:p}}return On.Fragment=r,On.jsx=f,On.jsxs=f,On}var Cd;function Op(){return Cd||(Cd=1,xs.exports=zp()),xs.exports}var y=Op(),Ss={exports:{}},ee={};/**
 * @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 Ud;function jp(){if(Ud)return ee;Ud=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.consumer"),N=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),U=Symbol.iterator;function w(g){return g===null||typeof g!="object"?null:(g=U&&g[U]||g["@@iterator"],typeof g=="function"?g:null)}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q=Object.assign,Z={};function X(g,C,Y){this.props=g,this.context=C,this.refs=Z,this.updater=Y||W}X.prototype.isReactComponent={},X.prototype.setState=function(g,C){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,C,"setState")},X.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function H(){}H.prototype=X.prototype;function ie(g,C,Y){this.props=g,this.context=C,this.refs=Z,this.updater=Y||W}var I=ie.prototype=new H;I.constructor=ie,Q(I,X.prototype),I.isPureReactComponent=!0;var xe=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},Ce=Object.prototype.hasOwnProperty;function Me(g,C,Y,B,$,ce){return Y=ce.ref,{$$typeof:i,type:g,key:C,ref:Y!==void 0?Y:null,props:ce}}function Ue(g,C){return Me(g.type,C,void 0,void 0,void 0,g.props)}function Ee(g){return typeof g=="object"&&g!==null&&g.$$typeof===i}function et(g){var C={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(Y){return C[Y]})}var ft=/\/+/g;function Qe(g,C){return typeof g=="object"&&g!==null&&g.key!=null?et(""+g.key):C.toString(36)}function Ea(){}function Ta(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(Ea,Ea):(g.status="pending",g.then(function(C){g.status==="pending"&&(g.status="fulfilled",g.value=C)},function(C){g.status==="pending"&&(g.status="rejected",g.reason=C)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function Ze(g,C,Y,B,$){var ce=typeof g;(ce==="undefined"||ce==="boolean")&&(g=null);var P=!1;if(g===null)P=!0;else switch(ce){case"bigint":case"string":case"number":P=!0;break;case"object":switch(g.$$typeof){case i:case r:P=!0;break;case z:return P=g._init,Ze(P(g._payload),C,Y,B,$)}}if(P)return $=$(g),P=B===""?"."+Qe(g,0):B,xe($)?(Y="",P!=null&&(Y=P.replace(ft,"$&/")+"/"),Ze($,C,Y,"",function(Ft){return Ft})):$!=null&&(Ee($)&&($=Ue($,Y+($.key==null||g&&g.key===$.key?"":(""+$.key).replace(ft,"$&/")+"/")+P)),C.push($)),1;P=0;var tt=B===""?".":B+":";if(xe(g))for(var pe=0;pe<g.length;pe++)B=g[pe],ce=tt+Qe(B,pe),P+=Ze(B,C,Y,ce,$);else if(pe=w(g),typeof pe=="function")for(g=pe.call(g),pe=0;!(B=g.next()).done;)B=B.value,ce=tt+Qe(B,pe++),P+=Ze(B,C,Y,ce,$);else if(ce==="object"){if(typeof g.then=="function")return Ze(Ta(g),C,Y,B,$);throw C=String(g),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return P}function O(g,C,Y){if(g==null)return g;var B=[],$=0;return Ze(g,B,"","",function(ce){return C.call(Y,ce,$++)}),B}function q(g){if(g._status===-1){var C=g._result;C=C(),C.then(function(Y){(g._status===0||g._status===-1)&&(g._status=1,g._result=Y)},function(Y){(g._status===0||g._status===-1)&&(g._status=2,g._result=Y)}),g._status===-1&&(g._status=0,g._result=C)}if(g._status===1)return g._result.default;throw g._result}var J=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var C=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(C))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)};function ge(){}return ee.Children={map:O,forEach:function(g,C,Y){O(g,function(){C.apply(this,arguments)},Y)},count:function(g){var C=0;return O(g,function(){C++}),C},toArray:function(g){return O(g,function(C){return C})||[]},only:function(g){if(!Ee(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},ee.Component=X,ee.Fragment=f,ee.Profiler=d,ee.PureComponent=ie,ee.StrictMode=o,ee.Suspense=x,ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,ee.__COMPILER_RUNTIME={__proto__:null,c:function(g){return F.H.useMemoCache(g)}},ee.cache=function(g){return function(){return g.apply(null,arguments)}},ee.cloneElement=function(g,C,Y){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var B=Q({},g.props),$=g.key,ce=void 0;if(C!=null)for(P in C.ref!==void 0&&(ce=void 0),C.key!==void 0&&($=""+C.key),C)!Ce.call(C,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&C.ref===void 0||(B[P]=C[P]);var P=arguments.length-2;if(P===1)B.children=Y;else if(1<P){for(var tt=Array(P),pe=0;pe<P;pe++)tt[pe]=arguments[pe+2];B.children=tt}return Me(g.type,$,void 0,void 0,ce,B)},ee.createContext=function(g){return g={$$typeof:N,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:p,_context:g},g},ee.createElement=function(g,C,Y){var B,$={},ce=null;if(C!=null)for(B in C.key!==void 0&&(ce=""+C.key),C)Ce.call(C,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&($[B]=C[B]);var P=arguments.length-2;if(P===1)$.children=Y;else if(1<P){for(var tt=Array(P),pe=0;pe<P;pe++)tt[pe]=arguments[pe+2];$.children=tt}if(g&&g.defaultProps)for(B in P=g.defaultProps,P)$[B]===void 0&&($[B]=P[B]);return Me(g,ce,void 0,void 0,null,$)},ee.createRef=function(){return{current:null}},ee.forwardRef=function(g){return{$$typeof:D,render:g}},ee.isValidElement=Ee,ee.lazy=function(g){return{$$typeof:z,_payload:{_status:-1,_result:g},_init:q}},ee.memo=function(g,C){return{$$typeof:m,type:g,compare:C===void 0?null:C}},ee.startTransition=function(g){var C=F.T,Y={};F.T=Y;try{var B=g(),$=F.S;$!==null&&$(Y,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(ge,J)}catch(ce){J(ce)}finally{F.T=C}},ee.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},ee.use=function(g){return F.H.use(g)},ee.useActionState=function(g,C,Y){return F.H.useActionState(g,C,Y)},ee.useCallback=function(g,C){return F.H.useCallback(g,C)},ee.useContext=function(g){return F.H.useContext(g)},ee.useDebugValue=function(){},ee.useDeferredValue=function(g,C){return F.H.useDeferredValue(g,C)},ee.useEffect=function(g,C,Y){var B=F.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return B.useEffect(g,C)},ee.useId=function(){return F.H.useId()},ee.useImperativeHandle=function(g,C,Y){return F.H.useImperativeHandle(g,C,Y)},ee.useInsertionEffect=function(g,C){return F.H.useInsertionEffect(g,C)},ee.useLayoutEffect=function(g,C){return F.H.useLayoutEffect(g,C)},ee.useMemo=function(g,C){return F.H.useMemo(g,C)},ee.useOptimistic=function(g,C){return F.H.useOptimistic(g,C)},ee.useReducer=function(g,C,Y){return F.H.useReducer(g,C,Y)},ee.useRef=function(g){return F.H.useRef(g)},ee.useState=function(g){return F.H.useState(g)},ee.useSyncExternalStore=function(g,C,Y){return F.H.useSyncExternalStore(g,C,Y)},ee.useTransition=function(){return F.H.useTransition()},ee.version="19.1.1",ee}var wd;function Rs(){return wd||(wd=1,Ss.exports=jp()),Ss.exports}var M=Rs();const Mp=Ap(M);var _s={exports:{}},jn={},Es={exports:{}},Ts={};/**
 * @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 Hd;function Rp(){return Hd||(Hd=1,(function(i){function r(O,q){var J=O.length;O.push(q);e:for(;0<J;){var ge=J-1>>>1,g=O[ge];if(0<d(g,q))O[ge]=q,O[J]=g,J=ge;else break e}}function f(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var q=O[0],J=O.pop();if(J!==q){O[0]=J;e:for(var ge=0,g=O.length,C=g>>>1;ge<C;){var Y=2*(ge+1)-1,B=O[Y],$=Y+1,ce=O[$];if(0>d(B,J))$<g&&0>d(ce,B)?(O[ge]=ce,O[$]=J,ge=$):(O[ge]=B,O[Y]=J,ge=Y);else if($<g&&0>d(ce,J))O[ge]=ce,O[$]=J,ge=$;else break e}}return q}function d(O,q){var J=O.sortIndex-q.sortIndex;return J!==0?J:O.id-q.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;i.unstable_now=function(){return p.now()}}else{var N=Date,D=N.now();i.unstable_now=function(){return N.now()-D}}var x=[],m=[],z=1,U=null,w=3,W=!1,Q=!1,Z=!1,X=!1,H=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function xe(O){for(var q=f(m);q!==null;){if(q.callback===null)o(m);else if(q.startTime<=O)o(m),q.sortIndex=q.expirationTime,r(x,q);else break;q=f(m)}}function F(O){if(Z=!1,xe(O),!Q)if(f(x)!==null)Q=!0,Ce||(Ce=!0,Qe());else{var q=f(m);q!==null&&Ze(F,q.startTime-O)}}var Ce=!1,Me=-1,Ue=5,Ee=-1;function et(){return X?!0:!(i.unstable_now()-Ee<Ue)}function ft(){if(X=!1,Ce){var O=i.unstable_now();Ee=O;var q=!0;try{e:{Q=!1,Z&&(Z=!1,ie(Me),Me=-1),W=!0;var J=w;try{t:{for(xe(O),U=f(x);U!==null&&!(U.expirationTime>O&&et());){var ge=U.callback;if(typeof ge=="function"){U.callback=null,w=U.priorityLevel;var g=ge(U.expirationTime<=O);if(O=i.unstable_now(),typeof g=="function"){U.callback=g,xe(O),q=!0;break t}U===f(x)&&o(x),xe(O)}else o(x);U=f(x)}if(U!==null)q=!0;else{var C=f(m);C!==null&&Ze(F,C.startTime-O),q=!1}}break e}finally{U=null,w=J,W=!1}q=void 0}}finally{q?Qe():Ce=!1}}}var Qe;if(typeof I=="function")Qe=function(){I(ft)};else if(typeof MessageChannel<"u"){var Ea=new MessageChannel,Ta=Ea.port2;Ea.port1.onmessage=ft,Qe=function(){Ta.postMessage(null)}}else Qe=function(){H(ft,0)};function Ze(O,q){Me=H(function(){O(i.unstable_now())},q)}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"):Ue=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return w},i.unstable_next=function(O){switch(w){case 1:case 2:case 3:var q=3;break;default:q=w}var J=w;w=q;try{return O()}finally{w=J}},i.unstable_requestPaint=function(){X=!0},i.unstable_runWithPriority=function(O,q){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var J=w;w=O;try{return q()}finally{w=J}},i.unstable_scheduleCallback=function(O,q,J){var ge=i.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ge+J:ge):J=ge,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=J+g,O={id:z++,callback:q,priorityLevel:O,startTime:J,expirationTime:g,sortIndex:-1},J>ge?(O.sortIndex=J,r(m,O),f(x)===null&&O===f(m)&&(Z?(ie(Me),Me=-1):Z=!0,Ze(F,J-ge))):(O.sortIndex=g,r(x,O),Q||W||(Q=!0,Ce||(Ce=!0,Qe()))),O},i.unstable_shouldYield=et,i.unstable_wrapCallback=function(O){var q=w;return function(){var J=w;w=q;try{return O.apply(this,arguments)}finally{w=J}}}})(Ts)),Ts}var Bd;function Dp(){return Bd||(Bd=1,Es.exports=Rp()),Es.exports}var Ns={exports:{}},Ke={};/**
 * @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 qd;function Cp(){if(qd)return Ke;qd=1;var i=Rs();function r(x){var m="https://react.dev/errors/"+x;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)m+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+x+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var o={d:{f,r:function(){throw Error(r(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},d=Symbol.for("react.portal");function p(x,m,z){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:U==null?null:""+U,children:x,containerInfo:m,implementation:z}}var N=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function D(x,m){if(x==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Ke.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Ke.createPortal=function(x,m){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(r(299));return p(x,m,null,z)},Ke.flushSync=function(x){var m=N.T,z=o.p;try{if(N.T=null,o.p=2,x)return x()}finally{N.T=m,o.p=z,o.d.f()}},Ke.preconnect=function(x,m){typeof x=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(x,m))},Ke.prefetchDNS=function(x){typeof x=="string"&&o.d.D(x)},Ke.preinit=function(x,m){if(typeof x=="string"&&m&&typeof m.as=="string"){var z=m.as,U=D(z,m.crossOrigin),w=typeof m.integrity=="string"?m.integrity:void 0,W=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;z==="style"?o.d.S(x,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:U,integrity:w,fetchPriority:W}):z==="script"&&o.d.X(x,{crossOrigin:U,integrity:w,fetchPriority:W,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Ke.preinitModule=function(x,m){if(typeof x=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var z=D(m.as,m.crossOrigin);o.d.M(x,{crossOrigin:z,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(x)},Ke.preload=function(x,m){if(typeof x=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var z=m.as,U=D(z,m.crossOrigin);o.d.L(x,z,{crossOrigin:U,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Ke.preloadModule=function(x,m){if(typeof x=="string")if(m){var z=D(m.as,m.crossOrigin);o.d.m(x,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:z,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(x)},Ke.requestFormReset=function(x){o.d.r(x)},Ke.unstable_batchedUpdates=function(x,m){return x(m)},Ke.useFormState=function(x,m,z){return N.H.useFormState(x,m,z)},Ke.useFormStatus=function(){return N.H.useHostTransitionStatus()},Ke.version="19.1.1",Ke}var Yd;function Up(){if(Yd)return Ns.exports;Yd=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(r){console.error(r)}}return i(),Ns.exports=Cp(),Ns.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 Ld;function wp(){if(Ld)return jn;Ld=1;var i=Dp(),r=Rs(),f=Up();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function p(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function N(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function D(e){if(p(e)!==e)throw Error(o(188))}function x(e){var t=e.alternate;if(!t){if(t=p(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var u=n.alternate;if(u===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===a)return D(n),e;if(u===l)return D(n),t;u=u.sibling}throw Error(o(188))}if(a.return!==l.return)a=n,l=u;else{for(var c=!1,s=n.child;s;){if(s===a){c=!0,a=n,l=u;break}if(s===l){c=!0,l=n,a=u;break}s=s.sibling}if(!c){for(s=u.child;s;){if(s===a){c=!0,a=u,l=n;break}if(s===l){c=!0,l=u,a=n;break}s=s.sibling}if(!c)throw Error(o(189))}}if(a.alternate!==l)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var z=Object.assign,U=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),ie=Symbol.for("react.consumer"),I=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),Ce=Symbol.for("react.suspense_list"),Me=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),Ee=Symbol.for("react.activity"),et=Symbol.for("react.memo_cache_sentinel"),ft=Symbol.iterator;function Qe(e){return e===null||typeof e!="object"?null:(e=ft&&e[ft]||e["@@iterator"],typeof e=="function"?e:null)}var Ea=Symbol.for("react.client.reference");function Ta(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ea?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Q:return"Fragment";case X:return"Profiler";case Z:return"StrictMode";case F:return"Suspense";case Ce:return"SuspenseList";case Ee:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case W:return"Portal";case I:return(e.displayName||"Context")+".Provider";case ie:return(e._context.displayName||"Context")+".Consumer";case xe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Me:return t=e.displayName||null,t!==null?t:Ta(e.type)||"Memo";case Ue:t=e._payload,e=e._init;try{return Ta(e(t))}catch{}}return null}var Ze=Array.isArray,O=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ge=[],g=-1;function C(e){return{current:e}}function Y(e){0>g||(e.current=ge[g],ge[g]=null,g--)}function B(e,t){g++,ge[g]=e.current,e.current=t}var $=C(null),ce=C(null),P=C(null),tt=C(null);function pe(e,t){switch(B(P,t),B(ce,e),B($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?id(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=id(t),e=cd(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Y($),B($,e)}function Ft(){Y($),Y(ce),Y(P)}function ui(e){e.memoizedState!==null&&B(tt,e);var t=$.current,a=cd(t,e.type);t!==a&&(B(ce,e),B($,a))}function Bn(e){ce.current===e&&(Y($),Y(ce)),tt.current===e&&(Y(tt),En._currentValue=J)}var ii=Object.prototype.hasOwnProperty,ci=i.unstable_scheduleCallback,si=i.unstable_cancelCallback,ny=i.unstable_shouldYield,uy=i.unstable_requestPaint,Nt=i.unstable_now,iy=i.unstable_getCurrentPriorityLevel,qs=i.unstable_ImmediatePriority,Ys=i.unstable_UserBlockingPriority,qn=i.unstable_NormalPriority,cy=i.unstable_LowPriority,Ls=i.unstable_IdlePriority,sy=i.log,oy=i.unstable_setDisableYieldValue,Ml=null,at=null;function Pt(e){if(typeof sy=="function"&&oy(e),at&&typeof at.setStrictMode=="function")try{at.setStrictMode(Ml,e)}catch{}}var lt=Math.clz32?Math.clz32:dy,ry=Math.log,fy=Math.LN2;function dy(e){return e>>>=0,e===0?32:31-(ry(e)/fy|0)|0}var Yn=256,Ln=4194304;function Na(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Gn(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,u=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var s=l&134217727;return s!==0?(l=s&~u,l!==0?n=Na(l):(c&=s,c!==0?n=Na(c):a||(a=s&~e,a!==0&&(n=Na(a))))):(s=l&~u,s!==0?n=Na(s):c!==0?n=Na(c):a||(a=l&~e,a!==0&&(n=Na(a)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:n}function Rl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gs(){var e=Yn;return Yn<<=1,(Yn&4194048)===0&&(Yn=256),e}function Xs(){var e=Ln;return Ln<<=1,(Ln&62914560)===0&&(Ln=4194304),e}function oi(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Dl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function my(e,t,a,l,n,u){var c=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var s=e.entanglements,h=e.expirationTimes,_=e.hiddenUpdates;for(a=c&~a;0<a;){var A=31-lt(a),R=1<<A;s[A]=0,h[A]=-1;var E=_[A];if(E!==null)for(_[A]=null,A=0;A<E.length;A++){var T=E[A];T!==null&&(T.lane&=-536870913)}a&=~R}l!==0&&Qs(e,l,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(c&~t))}function Qs(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-lt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&4194090}function Zs(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-lt(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function ri(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function fi(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function $s(){var e=q.p;return e!==0?e:(e=window.event,e===void 0?32:Ad(e.type))}function gy(e,t){var a=q.p;try{return q.p=e,t()}finally{q.p=a}}var It=Math.random().toString(36).slice(2),$e="__reactFiber$"+It,ke="__reactProps$"+It,Qa="__reactContainer$"+It,di="__reactEvents$"+It,yy="__reactListeners$"+It,vy="__reactHandles$"+It,Vs="__reactResources$"+It,Cl="__reactMarker$"+It;function hi(e){delete e[$e],delete e[ke],delete e[di],delete e[yy],delete e[vy]}function Za(e){var t=e[$e];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Qa]||a[$e]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=fd(e);e!==null;){if(a=e[$e])return a;e=fd(e)}return t}e=a,a=e.parentNode}return null}function $a(e){if(e=e[$e]||e[Qa]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ul(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Va(e){var t=e[Vs];return t||(t=e[Vs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function we(e){e[Cl]=!0}var Ks=new Set,Js={};function Aa(e,t){Ka(e,t),Ka(e+"Capture",t)}function Ka(e,t){for(Js[e]=t,e=0;e<t.length;e++)Ks.add(t[e])}var py=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]*$"),ks={},Ws={};function by(e){return ii.call(Ws,e)?!0:ii.call(ks,e)?!1:py.test(e)?Ws[e]=!0:(ks[e]=!0,!1)}function Xn(e,t,a){if(by(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Qn(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Ut(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}var mi,Fs;function Ja(e){if(mi===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);mi=t&&t[1]||"",Fs=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+mi+e+Fs}var gi=!1;function yi(e,t){if(!e||gi)return"";gi=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(T){var E=T}Reflect.construct(e,[],R)}else{try{R.call()}catch(T){E=T}e.call(R.prototype)}}else{try{throw Error()}catch(T){E=T}(R=e())&&typeof R.catch=="function"&&R.catch(function(){})}}catch(T){if(T&&E&&typeof T.stack=="string")return[T.stack,E.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=l.DetermineComponentFrameRoot(),c=u[0],s=u[1];if(c&&s){var h=c.split(`
`),_=s.split(`
`);for(n=l=0;l<h.length&&!h[l].includes("DetermineComponentFrameRoot");)l++;for(;n<_.length&&!_[n].includes("DetermineComponentFrameRoot");)n++;if(l===h.length||n===_.length)for(l=h.length-1,n=_.length-1;1<=l&&0<=n&&h[l]!==_[n];)n--;for(;1<=l&&0<=n;l--,n--)if(h[l]!==_[n]){if(l!==1||n!==1)do if(l--,n--,0>n||h[l]!==_[n]){var A=`
`+h[l].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=l&&0<=n);break}}}finally{gi=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ja(a):""}function xy(e){switch(e.tag){case 26:case 27:case 5:return Ja(e.type);case 16:return Ja("Lazy");case 13:return Ja("Suspense");case 19:return Ja("SuspenseList");case 0:case 15:return yi(e.type,!1);case 11:return yi(e.type.render,!1);case 1:return yi(e.type,!0);case 31:return Ja("Activity");default:return""}}function Ps(e){try{var t="";do t+=xy(e),e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Is(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sy(e){var t=Is(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){l=""+c,u.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zn(e){e._valueTracker||(e._valueTracker=Sy(e))}function eo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=Is(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function $n(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var _y=/[\n"\\]/g;function ht(e){return e.replace(_y,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function vi(e,t,a,l,n,u,c,s){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?pi(e,c,dt(t)):a!=null?pi(e,c,dt(a)):l!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+dt(s):e.removeAttribute("name")}function to(e,t,a,l,n,u,c,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null))return;a=a!=null?""+dt(a):"",t=t!=null?""+dt(t):a,s||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=s?e.checked:!!l,e.defaultChecked=!!l,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c)}function pi(e,t,a){t==="number"&&$n(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ka(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+dt(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function ao(e,t,a){if(t!=null&&(t=""+dt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+dt(a):""}function lo(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(o(92));if(Ze(l)){if(1<l.length)throw Error(o(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=dt(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l)}function Wa(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Ey=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 no(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Ey.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function uo(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&no(e,n,l)}else for(var u in t)t.hasOwnProperty(u)&&no(e,u,t[u])}function bi(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ty=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"]]),Ny=/^[\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 Vn(e){return Ny.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var xi=null;function Si(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fa=null,Pa=null;function io(e){var t=$a(e);if(t&&(e=t.stateNode)){var a=e[ke]||null;e:switch(e=t.stateNode,t.type){case"input":if(vi(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+ht(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[ke]||null;if(!n)throw Error(o(90));vi(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&eo(l)}break e;case"textarea":ao(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ka(e,!!a.multiple,t,!1)}}}var _i=!1;function co(e,t,a){if(_i)return e(t,a);_i=!0;try{var l=e(t);return l}finally{if(_i=!1,(Fa!==null||Pa!==null)&&(Ru(),Fa&&(t=Fa,e=Pa,Pa=Fa=null,io(t),e)))for(t=0;t<e.length;t++)io(e[t])}}function wl(e,t){var a=e.stateNode;if(a===null)return null;var l=a[ke]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var wt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ei=!1;if(wt)try{var Hl={};Object.defineProperty(Hl,"passive",{get:function(){Ei=!0}}),window.addEventListener("test",Hl,Hl),window.removeEventListener("test",Hl,Hl)}catch{Ei=!1}var ea=null,Ti=null,Kn=null;function so(){if(Kn)return Kn;var e,t=Ti,a=t.length,l,n="value"in ea?ea.value:ea.textContent,u=n.length;for(e=0;e<a&&t[e]===n[e];e++);var c=a-e;for(l=1;l<=c&&t[a-l]===n[u-l];l++);return Kn=n.slice(e,1<l?1-l:void 0)}function Jn(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kn(){return!0}function oo(){return!1}function We(e){function t(a,l,n,u,c){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(a=e[s],this[s]=a?a(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?kn:oo,this.isPropagationStopped=oo,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=kn)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=kn)},persist:function(){},isPersistent:kn}),t}var za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wn=We(za),Bl=z({},za,{view:0,detail:0}),Ay=We(Bl),Ni,Ai,ql,Fn=z({},Bl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ql&&(ql&&e.type==="mousemove"?(Ni=e.screenX-ql.screenX,Ai=e.screenY-ql.screenY):Ai=Ni=0,ql=e),Ni)},movementY:function(e){return"movementY"in e?e.movementY:Ai}}),ro=We(Fn),zy=z({},Fn,{dataTransfer:0}),Oy=We(zy),jy=z({},Bl,{relatedTarget:0}),zi=We(jy),My=z({},za,{animationName:0,elapsedTime:0,pseudoElement:0}),Ry=We(My),Dy=z({},za,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cy=We(Dy),Uy=z({},za,{data:0}),fo=We(Uy),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hy={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"},By={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=By[e])?!!t[e]:!1}function Oi(){return qy}var Yy=z({},Bl,{key:function(e){if(e.key){var t=wy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Jn(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oi,charCode:function(e){return e.type==="keypress"?Jn(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Jn(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ly=We(Yy),Gy=z({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ho=We(Gy),Xy=z({},Bl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oi}),Qy=We(Xy),Zy=z({},za,{propertyName:0,elapsedTime:0,pseudoElement:0}),$y=We(Zy),Vy=z({},Fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ky=We(Vy),Jy=z({},za,{newState:0,oldState:0}),ky=We(Jy),Wy=[9,13,27,32],ji=wt&&"CompositionEvent"in window,Yl=null;wt&&"documentMode"in document&&(Yl=document.documentMode);var Fy=wt&&"TextEvent"in window&&!Yl,mo=wt&&(!ji||Yl&&8<Yl&&11>=Yl),go=" ",yo=!1;function vo(e,t){switch(e){case"keyup":return Wy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function po(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ia=!1;function Py(e,t){switch(e){case"compositionend":return po(t);case"keypress":return t.which!==32?null:(yo=!0,go);case"textInput":return e=t.data,e===go&&yo?null:e;default:return null}}function Iy(e,t){if(Ia)return e==="compositionend"||!ji&&vo(e,t)?(e=so(),Kn=Ti=ea=null,Ia=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return mo&&t.locale!=="ko"?null:t.data;default:return null}}var ev={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 bo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ev[e.type]:t==="textarea"}function xo(e,t,a,l){Fa?Pa?Pa.push(l):Pa=[l]:Fa=l,t=Bu(t,"onChange"),0<t.length&&(a=new Wn("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var Ll=null,Gl=null;function tv(e){td(e,0)}function Pn(e){var t=Ul(e);if(eo(t))return e}function So(e,t){if(e==="change")return t}var _o=!1;if(wt){var Mi;if(wt){var Ri="oninput"in document;if(!Ri){var Eo=document.createElement("div");Eo.setAttribute("oninput","return;"),Ri=typeof Eo.oninput=="function"}Mi=Ri}else Mi=!1;_o=Mi&&(!document.documentMode||9<document.documentMode)}function To(){Ll&&(Ll.detachEvent("onpropertychange",No),Gl=Ll=null)}function No(e){if(e.propertyName==="value"&&Pn(Gl)){var t=[];xo(t,Gl,e,Si(e)),co(tv,t)}}function av(e,t,a){e==="focusin"?(To(),Ll=t,Gl=a,Ll.attachEvent("onpropertychange",No)):e==="focusout"&&To()}function lv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pn(Gl)}function nv(e,t){if(e==="click")return Pn(t)}function uv(e,t){if(e==="input"||e==="change")return Pn(t)}function iv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nt=typeof Object.is=="function"?Object.is:iv;function Xl(e,t){if(nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!ii.call(t,n)||!nt(e[n],t[n]))return!1}return!0}function Ao(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zo(e,t){var a=Ao(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ao(a)}}function Oo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Oo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jo(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$n(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=$n(e.document)}return t}function Di(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var cv=wt&&"documentMode"in document&&11>=document.documentMode,el=null,Ci=null,Ql=null,Ui=!1;function Mo(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ui||el==null||el!==$n(l)||(l=el,"selectionStart"in l&&Di(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ql&&Xl(Ql,l)||(Ql=l,l=Bu(Ci,"onSelect"),0<l.length&&(t=new Wn("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=el)))}function Oa(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var tl={animationend:Oa("Animation","AnimationEnd"),animationiteration:Oa("Animation","AnimationIteration"),animationstart:Oa("Animation","AnimationStart"),transitionrun:Oa("Transition","TransitionRun"),transitionstart:Oa("Transition","TransitionStart"),transitioncancel:Oa("Transition","TransitionCancel"),transitionend:Oa("Transition","TransitionEnd")},wi={},Ro={};wt&&(Ro=document.createElement("div").style,"AnimationEvent"in window||(delete tl.animationend.animation,delete tl.animationiteration.animation,delete tl.animationstart.animation),"TransitionEvent"in window||delete tl.transitionend.transition);function ja(e){if(wi[e])return wi[e];if(!tl[e])return e;var t=tl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Ro)return wi[e]=t[a];return e}var Do=ja("animationend"),Co=ja("animationiteration"),Uo=ja("animationstart"),sv=ja("transitionrun"),ov=ja("transitionstart"),rv=ja("transitioncancel"),wo=ja("transitionend"),Ho=new Map,Hi="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(" ");Hi.push("scrollEnd");function _t(e,t){Ho.set(e,t),Aa(t,[e])}var Bo=new WeakMap;function mt(e,t){if(typeof e=="object"&&e!==null){var a=Bo.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ps(t)},Bo.set(e,t),t)}return{value:e,source:t,stack:Ps(t)}}var gt=[],al=0,Bi=0;function In(){for(var e=al,t=Bi=al=0;t<e;){var a=gt[t];gt[t++]=null;var l=gt[t];gt[t++]=null;var n=gt[t];gt[t++]=null;var u=gt[t];if(gt[t++]=null,l!==null&&n!==null){var c=l.pending;c===null?n.next=n:(n.next=c.next,c.next=n),l.pending=n}u!==0&&qo(a,n,u)}}function eu(e,t,a,l){gt[al++]=e,gt[al++]=t,gt[al++]=a,gt[al++]=l,Bi|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function qi(e,t,a,l){return eu(e,t,a,l),tu(e)}function ll(e,t){return eu(e,null,null,t),tu(e)}function qo(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,u=e.return;u!==null;)u.childLanes|=a,l=u.alternate,l!==null&&(l.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-lt(a),e=u.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),u):null}function tu(e){if(50<gn)throw gn=0,Zc=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var nl={};function fv(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ut(e,t,a,l){return new fv(e,t,a,l)}function Yi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ht(e,t){var a=e.alternate;return a===null?(a=ut(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Yo(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function au(e,t,a,l,n,u){var c=0;if(l=e,typeof e=="function")Yi(e)&&(c=1);else if(typeof e=="string")c=hp(e,a,$.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ee:return e=ut(31,a,t,n),e.elementType=Ee,e.lanes=u,e;case Q:return Ma(a.children,n,u,t);case Z:c=8,n|=24;break;case X:return e=ut(12,a,t,n|2),e.elementType=X,e.lanes=u,e;case F:return e=ut(13,a,t,n),e.elementType=F,e.lanes=u,e;case Ce:return e=ut(19,a,t,n),e.elementType=Ce,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:case I:c=10;break e;case ie:c=9;break e;case xe:c=11;break e;case Me:c=14;break e;case Ue:c=16,l=null;break e}c=29,a=Error(o(130,e===null?"null":typeof e,"")),l=null}return t=ut(c,a,t,n),t.elementType=e,t.type=l,t.lanes=u,t}function Ma(e,t,a,l){return e=ut(7,e,l,t),e.lanes=a,e}function Li(e,t,a){return e=ut(6,e,null,t),e.lanes=a,e}function Gi(e,t,a){return t=ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ul=[],il=0,lu=null,nu=0,yt=[],vt=0,Ra=null,Bt=1,qt="";function Da(e,t){ul[il++]=nu,ul[il++]=lu,lu=e,nu=t}function Lo(e,t,a){yt[vt++]=Bt,yt[vt++]=qt,yt[vt++]=Ra,Ra=e;var l=Bt;e=qt;var n=32-lt(l)-1;l&=~(1<<n),a+=1;var u=32-lt(t)+n;if(30<u){var c=n-n%5;u=(l&(1<<c)-1).toString(32),l>>=c,n-=c,Bt=1<<32-lt(t)+n|a<<n|l,qt=u+e}else Bt=1<<u|a<<n|l,qt=e}function Xi(e){e.return!==null&&(Da(e,1),Lo(e,1,0))}function Qi(e){for(;e===lu;)lu=ul[--il],ul[il]=null,nu=ul[--il],ul[il]=null;for(;e===Ra;)Ra=yt[--vt],yt[vt]=null,qt=yt[--vt],yt[vt]=null,Bt=yt[--vt],yt[vt]=null}var Je=null,Te=null,oe=!1,Ca=null,At=!1,Zi=Error(o(519));function Ua(e){var t=Error(o(418,""));throw Vl(mt(t,e)),Zi}function Go(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[$e]=e,t[ke]=l,a){case"dialog":ne("cancel",t),ne("close",t);break;case"iframe":case"object":case"embed":ne("load",t);break;case"video":case"audio":for(a=0;a<vn.length;a++)ne(vn[a],t);break;case"source":ne("error",t);break;case"img":case"image":case"link":ne("error",t),ne("load",t);break;case"details":ne("toggle",t);break;case"input":ne("invalid",t),to(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Zn(t);break;case"select":ne("invalid",t);break;case"textarea":ne("invalid",t),lo(t,l.value,l.defaultValue,l.children),Zn(t)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||ud(t.textContent,a)?(l.popover!=null&&(ne("beforetoggle",t),ne("toggle",t)),l.onScroll!=null&&ne("scroll",t),l.onScrollEnd!=null&&ne("scrollend",t),l.onClick!=null&&(t.onclick=qu),t=!0):t=!1,t||Ua(e)}function Xo(e){for(Je=e.return;Je;)switch(Je.tag){case 5:case 13:At=!1;return;case 27:case 3:At=!0;return;default:Je=Je.return}}function Zl(e){if(e!==Je)return!1;if(!oe)return Xo(e),oe=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||is(e.type,e.memoizedProps)),a=!a),a&&Te&&Ua(e),Xo(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){Te=Tt(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}Te=null}}else t===27?(t=Te,ya(e.type)?(e=rs,rs=null,Te=e):Te=t):Te=Je?Tt(e.stateNode.nextSibling):null;return!0}function $l(){Te=Je=null,oe=!1}function Qo(){var e=Ca;return e!==null&&(Ie===null?Ie=e:Ie.push.apply(Ie,e),Ca=null),e}function Vl(e){Ca===null?Ca=[e]:Ca.push(e)}var $i=C(null),wa=null,Yt=null;function ta(e,t,a){B($i,t._currentValue),t._currentValue=a}function Lt(e){e._currentValue=$i.current,Y($i)}function Vi(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Ki(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;e:for(;u!==null;){var s=u;u=n;for(var h=0;h<t.length;h++)if(s.context===t[h]){u.lanes|=a,s=u.alternate,s!==null&&(s.lanes|=a),Vi(u.return,a,e),l||(c=null);break e}u=s.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(o(341));c.lanes|=a,u=c.alternate,u!==null&&(u.lanes|=a),Vi(c,a,e),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===e){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function Kl(e,t,a,l){e=null;for(var n=t,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 c=n.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var s=n.type;nt(n.pendingProps.value,c.value)||(e!==null?e.push(s):e=[s])}}else if(n===tt.current){if(c=n.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(En):e=[En])}n=n.return}e!==null&&Ki(t,e,a,l),t.flags|=262144}function uu(e){for(e=e.firstContext;e!==null;){if(!nt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ha(e){wa=e,Yt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ve(e){return Zo(wa,e)}function iu(e,t){return wa===null&&Ha(e),Zo(e,t)}function Zo(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Yt===null){if(e===null)throw Error(o(308));Yt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Yt=Yt.next=t;return a}var dv=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},hv=i.unstable_scheduleCallback,mv=i.unstable_NormalPriority,Re={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ji(){return{controller:new dv,data:new Map,refCount:0}}function Jl(e){e.refCount--,e.refCount===0&&hv(mv,function(){e.controller.abort()})}var kl=null,ki=0,cl=0,sl=null;function gv(e,t){if(kl===null){var a=kl=[];ki=0,cl=Fc(),sl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return ki++,t.then($o,$o),t}function $o(){if(--ki===0&&kl!==null){sl!==null&&(sl.status="fulfilled");var e=kl;kl=null,cl=0,sl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function yv(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var Vo=O.S;O.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&gv(e,t),Vo!==null&&Vo(e,t)};var Ba=C(null);function Wi(){var e=Ba.current;return e!==null?e:ve.pooledCache}function cu(e,t){t===null?B(Ba,Ba.current):B(Ba,t.pool)}function Ko(){var e=Wi();return e===null?null:{parent:Re._currentValue,pool:e}}var Wl=Error(o(460)),Jo=Error(o(474)),su=Error(o(542)),Fi={then:function(){}};function ko(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ou(){}function Wo(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(ou,ou),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Po(e),e;default:if(typeof t.status=="string")t.then(ou,ou);else{if(e=ve,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Po(e),e}throw Fl=t,Wl}}var Fl=null;function Fo(){if(Fl===null)throw Error(o(459));var e=Fl;return Fl=null,e}function Po(e){if(e===Wl||e===su)throw Error(o(483))}var aa=!1;function Pi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ii(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function la(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function na(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(re&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=tu(e),qo(e,null,a),t}return eu(e,l,t,a),tu(e)}function Pl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Zs(e,a)}}function ec(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,a=a.next}while(a!==null);u===null?n=u=t:u=u.next=t}else n=u=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var tc=!1;function Il(){if(tc){var e=sl;if(e!==null)throw e}}function en(e,t,a,l){tc=!1;var n=e.updateQueue;aa=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var h=s,_=h.next;h.next=null,c===null?u=_:c.next=_,c=h;var A=e.alternate;A!==null&&(A=A.updateQueue,s=A.lastBaseUpdate,s!==c&&(s===null?A.firstBaseUpdate=_:s.next=_,A.lastBaseUpdate=h))}if(u!==null){var R=n.baseState;c=0,A=_=h=null,s=u;do{var E=s.lane&-536870913,T=E!==s.lane;if(T?(ue&E)===E:(l&E)===E){E!==0&&E===cl&&(tc=!0),A!==null&&(A=A.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var k=e,V=s;E=t;var me=a;switch(V.tag){case 1:if(k=V.payload,typeof k=="function"){R=k.call(me,R,E);break e}R=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=V.payload,E=typeof k=="function"?k.call(me,R,E):k,E==null)break e;R=z({},R,E);break e;case 2:aa=!0}}E=s.callback,E!==null&&(e.flags|=64,T&&(e.flags|=8192),T=n.callbacks,T===null?n.callbacks=[E]:T.push(E))}else T={lane:E,tag:s.tag,payload:s.payload,callback:s.callback,next:null},A===null?(_=A=T,h=R):A=A.next=T,c|=E;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;T=s,s=T.next,T.next=null,n.lastBaseUpdate=T,n.shared.pending=null}}while(!0);A===null&&(h=R),n.baseState=h,n.firstBaseUpdate=_,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),da|=c,e.lanes=c,e.memoizedState=R}}function Io(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function er(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Io(a[e],t)}var ol=C(null),ru=C(0);function tr(e,t){e=Kt,B(ru,e),B(ol,t),Kt=e|t.baseLanes}function ac(){B(ru,Kt),B(ol,ol.current)}function lc(){Kt=ru.current,Y(ol),Y(ru)}var ua=0,te=null,de=null,Oe=null,fu=!1,rl=!1,qa=!1,du=0,tn=0,fl=null,vv=0;function Ae(){throw Error(o(321))}function nc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!nt(e[a],t[a]))return!1;return!0}function uc(e,t,a,l,n,u){return ua=u,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?qr:Yr,qa=!1,u=a(l,n),qa=!1,rl&&(u=lr(t,a,l,n)),ar(e),u}function ar(e){O.H=pu;var t=de!==null&&de.next!==null;if(ua=0,Oe=de=te=null,fu=!1,tn=0,fl=null,t)throw Error(o(300));e===null||He||(e=e.dependencies,e!==null&&uu(e)&&(He=!0))}function lr(e,t,a,l){te=e;var n=0;do{if(rl&&(fl=null),tn=0,rl=!1,25<=n)throw Error(o(301));if(n+=1,Oe=de=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=Tv,u=t(a,l)}while(rl);return u}function pv(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?an(t):t,e=e.useState()[0],(de!==null?de.memoizedState:null)!==e&&(te.flags|=1024),t}function ic(){var e=du!==0;return du=0,e}function cc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function sc(e){if(fu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fu=!1}ua=0,Oe=de=te=null,rl=!1,tn=du=0,fl=null}function Fe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oe===null?te.memoizedState=Oe=e:Oe=Oe.next=e,Oe}function je(){if(de===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=de.next;var t=Oe===null?te.memoizedState:Oe.next;if(t!==null)Oe=t,de=e;else{if(e===null)throw te.alternate===null?Error(o(467)):Error(o(310));de=e,e={memoizedState:de.memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},Oe===null?te.memoizedState=Oe=e:Oe=Oe.next=e}return Oe}function oc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function an(e){var t=tn;return tn+=1,fl===null&&(fl=[]),e=Wo(fl,e,t),t=te,(Oe===null?t.memoizedState:Oe.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?qr:Yr),e}function hu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return an(e);if(e.$$typeof===I)return Ve(e)}throw Error(o(438,String(e)))}function rc(e){var t=null,a=te.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=te.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=oc(),te.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=et;return t.index++,a}function Gt(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=je();return fc(t,de,e)}function fc(e,t,a){var l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=a;var n=e.baseQueue,u=l.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,l.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var s=c=null,h=null,_=t,A=!1;do{var R=_.lane&-536870913;if(R!==_.lane?(ue&R)===R:(ua&R)===R){var E=_.revertLane;if(E===0)h!==null&&(h=h.next={lane:0,revertLane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),R===cl&&(A=!0);else if((ua&E)===E){_=_.next,E===cl&&(A=!0);continue}else R={lane:0,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},h===null?(s=h=R,c=u):h=h.next=R,te.lanes|=E,da|=E;R=_.action,qa&&a(u,R),u=_.hasEagerState?_.eagerState:a(u,R)}else E={lane:R,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},h===null?(s=h=E,c=u):h=h.next=E,te.lanes|=R,da|=R;_=_.next}while(_!==null&&_!==t);if(h===null?c=u:h.next=s,!nt(u,e.memoizedState)&&(He=!0,A&&(a=sl,a!==null)))throw a;e.memoizedState=u,e.baseState=c,e.baseQueue=h,l.lastRenderedState=u}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function dc(e){var t=je(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,u=t.memoizedState;if(n!==null){a.pending=null;var c=n=n.next;do u=e(u,c.action),c=c.next;while(c!==n);nt(u,t.memoizedState)||(He=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,l]}function nr(e,t,a){var l=te,n=je(),u=oe;if(u){if(a===void 0)throw Error(o(407));a=a()}else a=t();var c=!nt((de||n).memoizedState,a);c&&(n.memoizedState=a,He=!0),n=n.queue;var s=cr.bind(null,l,n,e);if(ln(2048,8,s,[e]),n.getSnapshot!==t||c||Oe!==null&&Oe.memoizedState.tag&1){if(l.flags|=2048,dl(9,gu(),ir.bind(null,l,n,a,t),null),ve===null)throw Error(o(349));u||(ua&124)!==0||ur(l,t,a)}return a}function ur(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=te.updateQueue,t===null?(t=oc(),te.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function ir(e,t,a,l){t.value=a,t.getSnapshot=l,sr(t)&&or(e)}function cr(e,t,a){return a(function(){sr(t)&&or(e)})}function sr(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!nt(e,a)}catch{return!0}}function or(e){var t=ll(e,2);t!==null&&rt(t,e,2)}function hc(e){var t=Fe();if(typeof e=="function"){var a=e;if(e=a(),qa){Pt(!0);try{a()}finally{Pt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gt,lastRenderedState:e},t}function rr(e,t,a,l){return e.baseState=a,fc(e,de,typeof l=="function"?l:Gt)}function bv(e,t,a,l,n){if(vu(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};O.T!==null?a(!0):u.isTransition=!1,l(u),a=t.pending,a===null?(u.next=t.pending=u,fr(t,u)):(u.next=a.next,t.pending=a.next=u)}}function fr(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var u=O.T,c={};O.T=c;try{var s=a(n,l),h=O.S;h!==null&&h(c,s),dr(e,t,s)}catch(_){mc(e,t,_)}finally{O.T=u}}else try{u=a(n,l),dr(e,t,u)}catch(_){mc(e,t,_)}}function dr(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){hr(e,t,l)},function(l){return mc(e,t,l)}):hr(e,t,a)}function hr(e,t,a){t.status="fulfilled",t.value=a,mr(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,fr(e,a)))}function mc(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,mr(t),t=t.next;while(t!==l)}e.action=null}function mr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function gr(e,t){return t}function yr(e,t){if(oe){var a=ve.formState;if(a!==null){e:{var l=te;if(oe){if(Te){t:{for(var n=Te,u=At;n.nodeType!==8;){if(!u){n=null;break t}if(n=Tt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Te=Tt(n.nextSibling),l=n.data==="F!";break e}}Ua(l)}l=!1}l&&(t=a[0])}}return a=Fe(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:t},a.queue=l,a=wr.bind(null,te,l),l.dispatch=a,l=hc(!1),u=bc.bind(null,te,!1,l.queue),l=Fe(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=bv.bind(null,te,n,u,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function vr(e){var t=je();return pr(t,de,e)}function pr(e,t,a){if(t=fc(e,t,gr)[0],e=mu(Gt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=an(t)}catch(c){throw c===Wl?su:c}else l=t;t=je();var n=t.queue,u=n.dispatch;return a!==t.memoizedState&&(te.flags|=2048,dl(9,gu(),xv.bind(null,n,a),null)),[l,u,e]}function xv(e,t){e.action=t}function br(e){var t=je(),a=de;if(a!==null)return pr(t,a,e);je(),t=t.memoizedState,a=je();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function dl(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=te.updateQueue,t===null&&(t=oc(),te.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function gu(){return{destroy:void 0,resource:void 0}}function xr(){return je().memoizedState}function yu(e,t,a,l){var n=Fe();l=l===void 0?null:l,te.flags|=e,n.memoizedState=dl(1|t,gu(),a,l)}function ln(e,t,a,l){var n=je();l=l===void 0?null:l;var u=n.memoizedState.inst;de!==null&&l!==null&&nc(l,de.memoizedState.deps)?n.memoizedState=dl(t,u,a,l):(te.flags|=e,n.memoizedState=dl(1|t,u,a,l))}function Sr(e,t){yu(8390656,8,e,t)}function _r(e,t){ln(2048,8,e,t)}function Er(e,t){return ln(4,2,e,t)}function Tr(e,t){return ln(4,4,e,t)}function Nr(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ar(e,t,a){a=a!=null?a.concat([e]):null,ln(4,4,Nr.bind(null,t,e),a)}function gc(){}function zr(e,t){var a=je();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&nc(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Or(e,t){var a=je();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&nc(t,l[1]))return l[0];if(l=e(),qa){Pt(!0);try{e()}finally{Pt(!1)}}return a.memoizedState=[l,t],l}function yc(e,t,a){return a===void 0||(ua&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=Df(),te.lanes|=e,da|=e,a)}function jr(e,t,a,l){return nt(a,t)?a:ol.current!==null?(e=yc(e,a,l),nt(e,t)||(He=!0),e):(ua&42)===0?(He=!0,e.memoizedState=a):(e=Df(),te.lanes|=e,da|=e,t)}function Mr(e,t,a,l,n){var u=q.p;q.p=u!==0&&8>u?u:8;var c=O.T,s={};O.T=s,bc(e,!1,t,a);try{var h=n(),_=O.S;if(_!==null&&_(s,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var A=yv(h,l);nn(e,t,A,ot(e))}else nn(e,t,l,ot(e))}catch(R){nn(e,t,{then:function(){},status:"rejected",reason:R},ot())}finally{q.p=u,O.T=c}}function Sv(){}function vc(e,t,a,l){if(e.tag!==5)throw Error(o(476));var n=Rr(e).queue;Mr(e,n,t,J,a===null?Sv:function(){return Dr(e),a(l)})}function Rr(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gt,lastRenderedState:J},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gt,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Dr(e){var t=Rr(e).next.queue;nn(e,t,{},ot())}function pc(){return Ve(En)}function Cr(){return je().memoizedState}function Ur(){return je().memoizedState}function _v(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ot();e=la(a);var l=na(t,e,a);l!==null&&(rt(l,t,a),Pl(l,t,a)),t={cache:Ji()},e.payload=t;return}t=t.return}}function Ev(e,t,a){var l=ot();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},vu(e)?Hr(t,a):(a=qi(e,t,a,l),a!==null&&(rt(a,e,l),Br(a,t,l)))}function wr(e,t,a){var l=ot();nn(e,t,a,l)}function nn(e,t,a,l){var n={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(vu(e))Hr(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,s=u(c,a);if(n.hasEagerState=!0,n.eagerState=s,nt(s,c))return eu(e,t,n,0),ve===null&&In(),!1}catch{}finally{}if(a=qi(e,t,n,l),a!==null)return rt(a,e,l),Br(a,t,l),!0}return!1}function bc(e,t,a,l){if(l={lane:2,revertLane:Fc(),action:l,hasEagerState:!1,eagerState:null,next:null},vu(e)){if(t)throw Error(o(479))}else t=qi(e,a,l,2),t!==null&&rt(t,e,2)}function vu(e){var t=e.alternate;return e===te||t!==null&&t===te}function Hr(e,t){rl=fu=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Br(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Zs(e,a)}}var pu={readContext:Ve,use:hu,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useLayoutEffect:Ae,useInsertionEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useSyncExternalStore:Ae,useId:Ae,useHostTransitionStatus:Ae,useFormState:Ae,useActionState:Ae,useOptimistic:Ae,useMemoCache:Ae,useCacheRefresh:Ae},qr={readContext:Ve,use:hu,useCallback:function(e,t){return Fe().memoizedState=[e,t===void 0?null:t],e},useContext:Ve,useEffect:Sr,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,yu(4194308,4,Nr.bind(null,t,e),a)},useLayoutEffect:function(e,t){return yu(4194308,4,e,t)},useInsertionEffect:function(e,t){yu(4,2,e,t)},useMemo:function(e,t){var a=Fe();t=t===void 0?null:t;var l=e();if(qa){Pt(!0);try{e()}finally{Pt(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=Fe();if(a!==void 0){var n=a(t);if(qa){Pt(!0);try{a(t)}finally{Pt(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=Ev.bind(null,te,e),[l.memoizedState,e]},useRef:function(e){var t=Fe();return e={current:e},t.memoizedState=e},useState:function(e){e=hc(e);var t=e.queue,a=wr.bind(null,te,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:gc,useDeferredValue:function(e,t){var a=Fe();return yc(a,e,t)},useTransition:function(){var e=hc(!1);return e=Mr.bind(null,te,e.queue,!0,!1),Fe().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=te,n=Fe();if(oe){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),ve===null)throw Error(o(349));(ue&124)!==0||ur(l,t,a)}n.memoizedState=a;var u={value:a,getSnapshot:t};return n.queue=u,Sr(cr.bind(null,l,u,e),[e]),l.flags|=2048,dl(9,gu(),ir.bind(null,l,u,a,t),null),a},useId:function(){var e=Fe(),t=ve.identifierPrefix;if(oe){var a=qt,l=Bt;a=(l&~(1<<32-lt(l)-1)).toString(32)+a,t="«"+t+"R"+a,a=du++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=vv++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:pc,useFormState:yr,useActionState:yr,useOptimistic:function(e){var t=Fe();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=bc.bind(null,te,!0,a),a.dispatch=t,[e,t]},useMemoCache:rc,useCacheRefresh:function(){return Fe().memoizedState=_v.bind(null,te)}},Yr={readContext:Ve,use:hu,useCallback:zr,useContext:Ve,useEffect:_r,useImperativeHandle:Ar,useInsertionEffect:Er,useLayoutEffect:Tr,useMemo:Or,useReducer:mu,useRef:xr,useState:function(){return mu(Gt)},useDebugValue:gc,useDeferredValue:function(e,t){var a=je();return jr(a,de.memoizedState,e,t)},useTransition:function(){var e=mu(Gt)[0],t=je().memoizedState;return[typeof e=="boolean"?e:an(e),t]},useSyncExternalStore:nr,useId:Cr,useHostTransitionStatus:pc,useFormState:vr,useActionState:vr,useOptimistic:function(e,t){var a=je();return rr(a,de,e,t)},useMemoCache:rc,useCacheRefresh:Ur},Tv={readContext:Ve,use:hu,useCallback:zr,useContext:Ve,useEffect:_r,useImperativeHandle:Ar,useInsertionEffect:Er,useLayoutEffect:Tr,useMemo:Or,useReducer:dc,useRef:xr,useState:function(){return dc(Gt)},useDebugValue:gc,useDeferredValue:function(e,t){var a=je();return de===null?yc(a,e,t):jr(a,de.memoizedState,e,t)},useTransition:function(){var e=dc(Gt)[0],t=je().memoizedState;return[typeof e=="boolean"?e:an(e),t]},useSyncExternalStore:nr,useId:Cr,useHostTransitionStatus:pc,useFormState:br,useActionState:br,useOptimistic:function(e,t){var a=je();return de!==null?rr(a,de,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:rc,useCacheRefresh:Ur},hl=null,un=0;function bu(e){var t=un;return un+=1,hl===null&&(hl=[]),Wo(hl,e,t)}function cn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xu(e,t){throw t.$$typeof===U?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Lr(e){var t=e._init;return t(e._payload)}function Gr(e){function t(b,v){if(e){var S=b.deletions;S===null?(b.deletions=[v],b.flags|=16):S.push(v)}}function a(b,v){if(!e)return null;for(;v!==null;)t(b,v),v=v.sibling;return null}function l(b){for(var v=new Map;b!==null;)b.key!==null?v.set(b.key,b):v.set(b.index,b),b=b.sibling;return v}function n(b,v){return b=Ht(b,v),b.index=0,b.sibling=null,b}function u(b,v,S){return b.index=S,e?(S=b.alternate,S!==null?(S=S.index,S<v?(b.flags|=67108866,v):S):(b.flags|=67108866,v)):(b.flags|=1048576,v)}function c(b){return e&&b.alternate===null&&(b.flags|=67108866),b}function s(b,v,S,j){return v===null||v.tag!==6?(v=Li(S,b.mode,j),v.return=b,v):(v=n(v,S),v.return=b,v)}function h(b,v,S,j){var L=S.type;return L===Q?A(b,v,S.props.children,j,S.key):v!==null&&(v.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Ue&&Lr(L)===v.type)?(v=n(v,S.props),cn(v,S),v.return=b,v):(v=au(S.type,S.key,S.props,null,b.mode,j),cn(v,S),v.return=b,v)}function _(b,v,S,j){return v===null||v.tag!==4||v.stateNode.containerInfo!==S.containerInfo||v.stateNode.implementation!==S.implementation?(v=Gi(S,b.mode,j),v.return=b,v):(v=n(v,S.children||[]),v.return=b,v)}function A(b,v,S,j,L){return v===null||v.tag!==7?(v=Ma(S,b.mode,j,L),v.return=b,v):(v=n(v,S),v.return=b,v)}function R(b,v,S){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Li(""+v,b.mode,S),v.return=b,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case w:return S=au(v.type,v.key,v.props,null,b.mode,S),cn(S,v),S.return=b,S;case W:return v=Gi(v,b.mode,S),v.return=b,v;case Ue:var j=v._init;return v=j(v._payload),R(b,v,S)}if(Ze(v)||Qe(v))return v=Ma(v,b.mode,S,null),v.return=b,v;if(typeof v.then=="function")return R(b,bu(v),S);if(v.$$typeof===I)return R(b,iu(b,v),S);xu(b,v)}return null}function E(b,v,S,j){var L=v!==null?v.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return L!==null?null:s(b,v,""+S,j);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case w:return S.key===L?h(b,v,S,j):null;case W:return S.key===L?_(b,v,S,j):null;case Ue:return L=S._init,S=L(S._payload),E(b,v,S,j)}if(Ze(S)||Qe(S))return L!==null?null:A(b,v,S,j,null);if(typeof S.then=="function")return E(b,v,bu(S),j);if(S.$$typeof===I)return E(b,v,iu(b,S),j);xu(b,S)}return null}function T(b,v,S,j,L){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return b=b.get(S)||null,s(v,b,""+j,L);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case w:return b=b.get(j.key===null?S:j.key)||null,h(v,b,j,L);case W:return b=b.get(j.key===null?S:j.key)||null,_(v,b,j,L);case Ue:var ae=j._init;return j=ae(j._payload),T(b,v,S,j,L)}if(Ze(j)||Qe(j))return b=b.get(S)||null,A(v,b,j,L,null);if(typeof j.then=="function")return T(b,v,S,bu(j),L);if(j.$$typeof===I)return T(b,v,S,iu(v,j),L);xu(v,j)}return null}function k(b,v,S,j){for(var L=null,ae=null,G=v,K=v=0,qe=null;G!==null&&K<S.length;K++){G.index>K?(qe=G,G=null):qe=G.sibling;var se=E(b,G,S[K],j);if(se===null){G===null&&(G=qe);break}e&&G&&se.alternate===null&&t(b,G),v=u(se,v,K),ae===null?L=se:ae.sibling=se,ae=se,G=qe}if(K===S.length)return a(b,G),oe&&Da(b,K),L;if(G===null){for(;K<S.length;K++)G=R(b,S[K],j),G!==null&&(v=u(G,v,K),ae===null?L=G:ae.sibling=G,ae=G);return oe&&Da(b,K),L}for(G=l(G);K<S.length;K++)qe=T(G,b,K,S[K],j),qe!==null&&(e&&qe.alternate!==null&&G.delete(qe.key===null?K:qe.key),v=u(qe,v,K),ae===null?L=qe:ae.sibling=qe,ae=qe);return e&&G.forEach(function(Sa){return t(b,Sa)}),oe&&Da(b,K),L}function V(b,v,S,j){if(S==null)throw Error(o(151));for(var L=null,ae=null,G=v,K=v=0,qe=null,se=S.next();G!==null&&!se.done;K++,se=S.next()){G.index>K?(qe=G,G=null):qe=G.sibling;var Sa=E(b,G,se.value,j);if(Sa===null){G===null&&(G=qe);break}e&&G&&Sa.alternate===null&&t(b,G),v=u(Sa,v,K),ae===null?L=Sa:ae.sibling=Sa,ae=Sa,G=qe}if(se.done)return a(b,G),oe&&Da(b,K),L;if(G===null){for(;!se.done;K++,se=S.next())se=R(b,se.value,j),se!==null&&(v=u(se,v,K),ae===null?L=se:ae.sibling=se,ae=se);return oe&&Da(b,K),L}for(G=l(G);!se.done;K++,se=S.next())se=T(G,b,K,se.value,j),se!==null&&(e&&se.alternate!==null&&G.delete(se.key===null?K:se.key),v=u(se,v,K),ae===null?L=se:ae.sibling=se,ae=se);return e&&G.forEach(function(Np){return t(b,Np)}),oe&&Da(b,K),L}function me(b,v,S,j){if(typeof S=="object"&&S!==null&&S.type===Q&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case w:e:{for(var L=S.key;v!==null;){if(v.key===L){if(L=S.type,L===Q){if(v.tag===7){a(b,v.sibling),j=n(v,S.props.children),j.return=b,b=j;break e}}else if(v.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Ue&&Lr(L)===v.type){a(b,v.sibling),j=n(v,S.props),cn(j,S),j.return=b,b=j;break e}a(b,v);break}else t(b,v);v=v.sibling}S.type===Q?(j=Ma(S.props.children,b.mode,j,S.key),j.return=b,b=j):(j=au(S.type,S.key,S.props,null,b.mode,j),cn(j,S),j.return=b,b=j)}return c(b);case W:e:{for(L=S.key;v!==null;){if(v.key===L)if(v.tag===4&&v.stateNode.containerInfo===S.containerInfo&&v.stateNode.implementation===S.implementation){a(b,v.sibling),j=n(v,S.children||[]),j.return=b,b=j;break e}else{a(b,v);break}else t(b,v);v=v.sibling}j=Gi(S,b.mode,j),j.return=b,b=j}return c(b);case Ue:return L=S._init,S=L(S._payload),me(b,v,S,j)}if(Ze(S))return k(b,v,S,j);if(Qe(S)){if(L=Qe(S),typeof L!="function")throw Error(o(150));return S=L.call(S),V(b,v,S,j)}if(typeof S.then=="function")return me(b,v,bu(S),j);if(S.$$typeof===I)return me(b,v,iu(b,S),j);xu(b,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,v!==null&&v.tag===6?(a(b,v.sibling),j=n(v,S),j.return=b,b=j):(a(b,v),j=Li(S,b.mode,j),j.return=b,b=j),c(b)):a(b,v)}return function(b,v,S,j){try{un=0;var L=me(b,v,S,j);return hl=null,L}catch(G){if(G===Wl||G===su)throw G;var ae=ut(29,G,null,b.mode);return ae.lanes=j,ae.return=b,ae}finally{}}}var ml=Gr(!0),Xr=Gr(!1),pt=C(null),zt=null;function ia(e){var t=e.alternate;B(De,De.current&1),B(pt,e),zt===null&&(t===null||ol.current!==null||t.memoizedState!==null)&&(zt=e)}function Qr(e){if(e.tag===22){if(B(De,De.current),B(pt,e),zt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(zt=e)}}else ca()}function ca(){B(De,De.current),B(pt,pt.current)}function Xt(e){Y(pt),zt===e&&(zt=null),Y(De)}var De=C(0);function Su(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||os(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function xc(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:z({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Sc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=ot(),n=la(l);n.payload=t,a!=null&&(n.callback=a),t=na(e,n,l),t!==null&&(rt(t,e,l),Pl(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=ot(),n=la(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=na(e,n,l),t!==null&&(rt(t,e,l),Pl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ot(),l=la(a);l.tag=2,t!=null&&(l.callback=t),t=na(e,l,a),t!==null&&(rt(t,e,a),Pl(t,e,a))}};function Zr(e,t,a,l,n,u,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,u,c):t.prototype&&t.prototype.isPureReactComponent?!Xl(a,l)||!Xl(n,u):!0}function $r(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&Sc.enqueueReplaceState(t,t.state,null)}function Ya(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=z({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}var _u=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Vr(e){_u(e)}function Kr(e){console.error(e)}function Jr(e){_u(e)}function Eu(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function kr(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function _c(e,t,a){return a=la(a),a.tag=3,a.payload={element:null},a.callback=function(){Eu(e,t)},a}function Wr(e){return e=la(e),e.tag=3,e}function Fr(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var u=l.value;e.payload=function(){return n(u)},e.callback=function(){kr(t,a,l)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){kr(t,a,l),typeof n!="function"&&(ha===null?ha=new Set([this]):ha.add(this));var s=l.stack;this.componentDidCatch(l.value,{componentStack:s!==null?s:""})})}function Nv(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Kl(t,a,n,!0),a=pt.current,a!==null){switch(a.tag){case 13:return zt===null?Vc():a.alternate===null&&Ne===0&&(Ne=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Fi?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),Jc(e,l,n)),!1;case 22:return a.flags|=65536,l===Fi?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),Jc(e,l,n)),!1}throw Error(o(435,a.tag))}return Jc(e,l,n),Vc(),!1}if(oe)return t=pt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==Zi&&(e=Error(o(422),{cause:l}),Vl(mt(e,a)))):(l!==Zi&&(t=Error(o(423),{cause:l}),Vl(mt(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=mt(l,a),n=_c(e.stateNode,l,n),ec(e,n),Ne!==4&&(Ne=2)),!1;var u=Error(o(520),{cause:l});if(u=mt(u,a),mn===null?mn=[u]:mn.push(u),Ne!==4&&(Ne=2),t===null)return!0;l=mt(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=_c(a.stateNode,l,e),ec(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ha===null||!ha.has(u))))return a.flags|=65536,n&=-n,a.lanes|=n,n=Wr(n),Fr(n,e,a,l),ec(a,n),!1}a=a.return}while(a!==null);return!1}var Pr=Error(o(461)),He=!1;function Ye(e,t,a,l){t.child=e===null?Xr(t,null,a,l):ml(t,e.child,a,l)}function Ir(e,t,a,l,n){a=a.render;var u=t.ref;if("ref"in l){var c={};for(var s in l)s!=="ref"&&(c[s]=l[s])}else c=l;return Ha(t),l=uc(e,t,a,c,u,n),s=ic(),e!==null&&!He?(cc(e,t,n),Qt(e,t,n)):(oe&&s&&Xi(t),t.flags|=1,Ye(e,t,l,n),t.child)}function ef(e,t,a,l,n){if(e===null){var u=a.type;return typeof u=="function"&&!Yi(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,tf(e,t,u,l,n)):(e=au(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Mc(e,n)){var c=u.memoizedProps;if(a=a.compare,a=a!==null?a:Xl,a(c,l)&&e.ref===t.ref)return Qt(e,t,n)}return t.flags|=1,e=Ht(u,l),e.ref=t.ref,e.return=t,t.child=e}function tf(e,t,a,l,n){if(e!==null){var u=e.memoizedProps;if(Xl(u,l)&&e.ref===t.ref)if(He=!1,t.pendingProps=l=u,Mc(e,n))(e.flags&131072)!==0&&(He=!0);else return t.lanes=e.lanes,Qt(e,t,n)}return Ec(e,t,a,l,n)}function af(e,t,a){var l=t.pendingProps,n=l.children,u=e!==null?e.memoizedState:null;if(l.mode==="hidden"){if((t.flags&128)!==0){if(l=u!==null?u.baseLanes|a:a,e!==null){for(n=t.child=e.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;t.childLanes=u&~l}else t.childLanes=0,t.child=null;return lf(e,t,l,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cu(t,u!==null?u.cachePool:null),u!==null?tr(t,u):ac(),Qr(t);else return t.lanes=t.childLanes=536870912,lf(e,t,u!==null?u.baseLanes|a:a,a)}else u!==null?(cu(t,u.cachePool),tr(t,u),ca(),t.memoizedState=null):(e!==null&&cu(t,null),ac(),ca());return Ye(e,t,n,a),t.child}function lf(e,t,a,l){var n=Wi();return n=n===null?null:{parent:Re._currentValue,pool:n},t.memoizedState={baseLanes:a,cachePool:n},e!==null&&cu(t,null),ac(),Qr(t),e!==null&&Kl(e,t,l,!0),null}function Tu(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Ec(e,t,a,l,n){return Ha(t),a=uc(e,t,a,l,void 0,n),l=ic(),e!==null&&!He?(cc(e,t,n),Qt(e,t,n)):(oe&&l&&Xi(t),t.flags|=1,Ye(e,t,a,n),t.child)}function nf(e,t,a,l,n,u){return Ha(t),t.updateQueue=null,a=lr(t,l,a,n),ar(e),l=ic(),e!==null&&!He?(cc(e,t,u),Qt(e,t,u)):(oe&&l&&Xi(t),t.flags|=1,Ye(e,t,a,u),t.child)}function uf(e,t,a,l,n){if(Ha(t),t.stateNode===null){var u=nl,c=a.contextType;typeof c=="object"&&c!==null&&(u=Ve(c)),u=new a(l,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Sc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=l,u.state=t.memoizedState,u.refs={},Pi(t),c=a.contextType,u.context=typeof c=="object"&&c!==null?Ve(c):nl,u.state=t.memoizedState,c=a.getDerivedStateFromProps,typeof c=="function"&&(xc(t,a,c,l),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Sc.enqueueReplaceState(u,u.state,null),en(t,l,u,n),Il(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){u=t.stateNode;var s=t.memoizedProps,h=Ya(a,s);u.props=h;var _=u.context,A=a.contextType;c=nl,typeof A=="object"&&A!==null&&(c=Ve(A));var R=a.getDerivedStateFromProps;A=typeof R=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||_!==c)&&$r(t,u,l,c),aa=!1;var E=t.memoizedState;u.state=E,en(t,l,u,n),Il(),_=t.memoizedState,s||E!==_||aa?(typeof R=="function"&&(xc(t,a,R,l),_=t.memoizedState),(h=aa||Zr(t,a,h,l,E,_,c))?(A||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"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=_),u.props=l,u.state=_,u.context=c,l=h):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{u=t.stateNode,Ii(e,t),c=t.memoizedProps,A=Ya(a,c),u.props=A,R=t.pendingProps,E=u.context,_=a.contextType,h=nl,typeof _=="object"&&_!==null&&(h=Ve(_)),s=a.getDerivedStateFromProps,(_=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==R||E!==h)&&$r(t,u,l,h),aa=!1,E=t.memoizedState,u.state=E,en(t,l,u,n),Il();var T=t.memoizedState;c!==R||E!==T||aa||e!==null&&e.dependencies!==null&&uu(e.dependencies)?(typeof s=="function"&&(xc(t,a,s,l),T=t.memoizedState),(A=aa||Zr(t,a,A,l,E,T,h)||e!==null&&e.dependencies!==null&&uu(e.dependencies))?(_||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,T,h),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,T,h)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=T),u.props=l,u.state=T,u.context=h,l=A):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),l=!1)}return u=l,Tu(e,t),l=(t.flags&128)!==0,u||l?(u=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&l?(t.child=ml(t,e.child,null,n),t.child=ml(t,null,a,n)):Ye(e,t,a,n),t.memoizedState=u.state,e=t.child):e=Qt(e,t,n),e}function cf(e,t,a,l){return $l(),t.flags|=256,Ye(e,t,a,l),t.child}var Tc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Nc(e){return{baseLanes:e,cachePool:Ko()}}function Ac(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=bt),e}function sf(e,t,a){var l=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=e!==null&&e.memoizedState===null?!1:(De.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(oe){if(n?ia(t):ca(),oe){var s=Te,h;if(h=s){e:{for(h=s,s=At;h.nodeType!==8;){if(!s){s=null;break e}if(h=Tt(h.nextSibling),h===null){s=null;break e}}s=h}s!==null?(t.memoizedState={dehydrated:s,treeContext:Ra!==null?{id:Bt,overflow:qt}:null,retryLane:536870912,hydrationErrors:null},h=ut(18,null,null,0),h.stateNode=s,h.return=t,t.child=h,Je=t,Te=null,h=!0):h=!1}h||Ua(t)}if(s=t.memoizedState,s!==null&&(s=s.dehydrated,s!==null))return os(s)?t.lanes=32:t.lanes=536870912,null;Xt(t)}return s=l.children,l=l.fallback,n?(ca(),n=t.mode,s=Nu({mode:"hidden",children:s},n),l=Ma(l,n,a,null),s.return=t,l.return=t,s.sibling=l,t.child=s,n=t.child,n.memoizedState=Nc(a),n.childLanes=Ac(e,c,a),t.memoizedState=Tc,l):(ia(t),zc(t,s))}if(h=e.memoizedState,h!==null&&(s=h.dehydrated,s!==null)){if(u)t.flags&256?(ia(t),t.flags&=-257,t=Oc(e,t,a)):t.memoizedState!==null?(ca(),t.child=e.child,t.flags|=128,t=null):(ca(),n=l.fallback,s=t.mode,l=Nu({mode:"visible",children:l.children},s),n=Ma(n,s,a,null),n.flags|=2,l.return=t,n.return=t,l.sibling=n,t.child=l,ml(t,e.child,null,a),l=t.child,l.memoizedState=Nc(a),l.childLanes=Ac(e,c,a),t.memoizedState=Tc,t=n);else if(ia(t),os(s)){if(c=s.nextSibling&&s.nextSibling.dataset,c)var _=c.dgst;c=_,l=Error(o(419)),l.stack="",l.digest=c,Vl({value:l,source:null,stack:null}),t=Oc(e,t,a)}else if(He||Kl(e,t,a,!1),c=(a&e.childLanes)!==0,He||c){if(c=ve,c!==null&&(l=a&-a,l=(l&42)!==0?1:ri(l),l=(l&(c.suspendedLanes|a))!==0?0:l,l!==0&&l!==h.retryLane))throw h.retryLane=l,ll(e,l),rt(c,e,l),Pr;s.data==="$?"||Vc(),t=Oc(e,t,a)}else s.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=h.treeContext,Te=Tt(s.nextSibling),Je=t,oe=!0,Ca=null,At=!1,e!==null&&(yt[vt++]=Bt,yt[vt++]=qt,yt[vt++]=Ra,Bt=e.id,qt=e.overflow,Ra=t),t=zc(t,l.children),t.flags|=4096);return t}return n?(ca(),n=l.fallback,s=t.mode,h=e.child,_=h.sibling,l=Ht(h,{mode:"hidden",children:l.children}),l.subtreeFlags=h.subtreeFlags&65011712,_!==null?n=Ht(_,n):(n=Ma(n,s,a,null),n.flags|=2),n.return=t,l.return=t,l.sibling=n,t.child=l,l=n,n=t.child,s=e.child.memoizedState,s===null?s=Nc(a):(h=s.cachePool,h!==null?(_=Re._currentValue,h=h.parent!==_?{parent:_,pool:_}:h):h=Ko(),s={baseLanes:s.baseLanes|a,cachePool:h}),n.memoizedState=s,n.childLanes=Ac(e,c,a),t.memoizedState=Tc,l):(ia(t),a=e.child,e=a.sibling,a=Ht(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=a,t.memoizedState=null,a)}function zc(e,t){return t=Nu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Nu(e,t){return e=ut(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Oc(e,t,a){return ml(t,e.child,null,a),e=zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function of(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Vi(e.return,t,a)}function jc(e,t,a,l,n){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=l,u.tail=a,u.tailMode=n)}function rf(e,t,a){var l=t.pendingProps,n=l.revealOrder,u=l.tail;if(Ye(e,t,l.children,a),l=De.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&of(e,a,t);else if(e.tag===19)of(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}switch(B(De,l),n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&Su(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),jc(t,!1,n,a,u);break;case"backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Su(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}jc(t,!0,a,null,u);break;case"together":jc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qt(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),da|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Kl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=Ht(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Ht(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Mc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&uu(e)))}function Av(e,t,a){switch(t.tag){case 3:pe(t,t.stateNode.containerInfo),ta(t,Re,e.memoizedState.cache),$l();break;case 27:case 5:ui(t);break;case 4:pe(t,t.stateNode.containerInfo);break;case 10:ta(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(ia(t),t.flags|=128,null):(a&t.child.childLanes)!==0?sf(e,t,a):(ia(t),e=Qt(e,t,a),e!==null?e.sibling:null);ia(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Kl(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return rf(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),B(De,De.current),l)break;return null;case 22:case 23:return t.lanes=0,af(e,t,a);case 24:ta(t,Re,e.memoizedState.cache)}return Qt(e,t,a)}function ff(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)He=!0;else{if(!Mc(e,a)&&(t.flags&128)===0)return He=!1,Av(e,t,a);He=(e.flags&131072)!==0}else He=!1,oe&&(t.flags&1048576)!==0&&Lo(t,nu,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,n=l._init;if(l=n(l._payload),t.type=l,typeof l=="function")Yi(l)?(e=Ya(l,e),t.tag=1,t=uf(null,t,l,e,a)):(t.tag=0,t=Ec(null,t,l,e,a));else{if(l!=null){if(n=l.$$typeof,n===xe){t.tag=11,t=Ir(null,t,l,e,a);break e}else if(n===Me){t.tag=14,t=ef(null,t,l,e,a);break e}}throw t=Ta(l)||l,Error(o(306,t,""))}}return t;case 0:return Ec(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=Ya(l,t.pendingProps),uf(e,t,l,n,a);case 3:e:{if(pe(t,t.stateNode.containerInfo),e===null)throw Error(o(387));l=t.pendingProps;var u=t.memoizedState;n=u.element,Ii(e,t),en(t,l,null,a);var c=t.memoizedState;if(l=c.cache,ta(t,Re,l),l!==u.cache&&Ki(t,[Re],a,!0),Il(),l=c.element,u.isDehydrated)if(u={element:l,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=cf(e,t,l,a);break e}else if(l!==n){n=mt(Error(o(424)),t),Vl(n),t=cf(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Te=Tt(e.firstChild),Je=t,oe=!0,Ca=null,At=!0,a=Xr(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if($l(),l===n){t=Qt(e,t,a);break e}Ye(e,t,l,a)}t=t.child}return t;case 26:return Tu(e,t),e===null?(a=gd(t.type,null,t.pendingProps,null))?t.memoizedState=a:oe||(a=t.type,e=t.pendingProps,l=Yu(P.current).createElement(a),l[$e]=t,l[ke]=e,Ge(l,a,e),we(l),t.stateNode=l):t.memoizedState=gd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ui(t),e===null&&oe&&(l=t.stateNode=dd(t.type,t.pendingProps,P.current),Je=t,At=!0,n=Te,ya(t.type)?(rs=n,Te=Tt(l.firstChild)):Te=n),Ye(e,t,t.pendingProps.children,a),Tu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oe&&((n=l=Te)&&(l=ep(l,t.type,t.pendingProps,At),l!==null?(t.stateNode=l,Je=t,Te=Tt(l.firstChild),At=!1,n=!0):n=!1),n||Ua(t)),ui(t),n=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,l=u.children,is(n,u)?l=null:c!==null&&is(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=uc(e,t,pv,null,null,a),En._currentValue=n),Tu(e,t),Ye(e,t,l,a),t.child;case 6:return e===null&&oe&&((e=a=Te)&&(a=tp(a,t.pendingProps,At),a!==null?(t.stateNode=a,Je=t,Te=null,e=!0):e=!1),e||Ua(t)),null;case 13:return sf(e,t,a);case 4:return pe(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=ml(t,null,l,a):Ye(e,t,l,a),t.child;case 11:return Ir(e,t,t.type,t.pendingProps,a);case 7:return Ye(e,t,t.pendingProps,a),t.child;case 8:return Ye(e,t,t.pendingProps.children,a),t.child;case 12:return Ye(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,ta(t,t.type,l.value),Ye(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,Ha(t),n=Ve(n),l=l(n),t.flags|=1,Ye(e,t,l,a),t.child;case 14:return ef(e,t,t.type,t.pendingProps,a);case 15:return tf(e,t,t.type,t.pendingProps,a);case 19:return rf(e,t,a);case 31:return l=t.pendingProps,a=t.mode,l={mode:l.mode,children:l.children},e===null?(a=Nu(l,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=Ht(e.child,l),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return af(e,t,a);case 24:return Ha(t),l=Ve(Re),e===null?(n=Wi(),n===null&&(n=ve,u=Ji(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=a),n=u),t.memoizedState={parent:l,cache:n},Pi(t),ta(t,Re,n)):((e.lanes&a)!==0&&(Ii(e,t),en(t,null,null,a),Il()),n=e.memoizedState,u=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ta(t,Re,l)):(l=u.cache,ta(t,Re,l),l!==n.cache&&Ki(t,[Re],a,!0))),Ye(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Zt(e){e.flags|=4}function df(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!xd(t)){if(t=pt.current,t!==null&&((ue&4194048)===ue?zt!==null:(ue&62914560)!==ue&&(ue&536870912)===0||t!==zt))throw Fl=Fi,Jo;e.flags|=8192}}function Au(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Xs():536870912,e.lanes|=t,pl|=t)}function sn(e,t){if(!oe)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Se(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function zv(e,t,a){var l=t.pendingProps;switch(Qi(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Se(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Lt(Re),Ft(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Zl(t)?Zt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qo())),Se(t),null;case 26:return a=t.memoizedState,e===null?(Zt(t),a!==null?(Se(t),df(t,a)):(Se(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Zt(t),Se(t),df(t,a)):(Se(t),t.flags&=-16777217):(e.memoizedProps!==l&&Zt(t),Se(t),t.flags&=-16777217),null;case 27:Bn(t),a=P.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Zt(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Se(t),null}e=$.current,Zl(t)?Go(t):(e=dd(n,l,a),t.stateNode=e,Zt(t))}return Se(t),null;case 5:if(Bn(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Zt(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Se(t),null}if(e=$.current,Zl(t))Go(t);else{switch(n=Yu(P.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?n.createElement("select",{is:l.is}):n.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?n.createElement(a,{is:l.is}):n.createElement(a)}}e[$e]=t,e[ke]=l;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=e;e:switch(Ge(e,a,l),a){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Zt(t)}}return Se(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Zt(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(o(166));if(e=P.current,Zl(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=Je,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[$e]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||ud(e.nodeValue,a)),e||Ua(t)}else e=Yu(e).createTextNode(l),e[$e]=t,t.stateNode=e}return Se(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Zl(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[$e]=t}else $l(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Se(t),n=!1}else n=Qo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Xt(t),t):(Xt(t),null)}if(Xt(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=l!==null,e=e!==null&&e.memoizedState!==null,a){l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool);var u=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==n&&(l.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),Au(t,t.updateQueue),Se(t),null;case 4:return Ft(),e===null&&ts(t.stateNode.containerInfo),Se(t),null;case 10:return Lt(t.type),Se(t),null;case 19:if(Y(De),n=t.memoizedState,n===null)return Se(t),null;if(l=(t.flags&128)!==0,u=n.rendering,u===null)if(l)sn(n,!1);else{if(Ne!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Su(e),u!==null){for(t.flags|=128,sn(n,!1),e=u.updateQueue,t.updateQueue=e,Au(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Yo(a,e),a=a.sibling;return B(De,De.current&1|2),t.child}e=e.sibling}n.tail!==null&&Nt()>ju&&(t.flags|=128,l=!0,sn(n,!1),t.lanes=4194304)}else{if(!l)if(e=Su(u),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Au(t,e),sn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!oe)return Se(t),null}else 2*Nt()-n.renderingStartTime>ju&&a!==536870912&&(t.flags|=128,l=!0,sn(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(e=n.last,e!==null?e.sibling=u:t.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Nt(),t.sibling=null,e=De.current,B(De,l?e&1|2:e&1),t):(Se(t),null);case 22:case 23:return Xt(t),lc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),a=t.updateQueue,a!==null&&Au(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&Y(Ba),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Lt(Re),Se(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Ov(e,t){switch(Qi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Lt(Re),Ft(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Bn(t),null;case 13:if(Xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));$l()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(De),null;case 4:return Ft(),null;case 10:return Lt(t.type),null;case 22:case 23:return Xt(t),lc(),e!==null&&Y(Ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Lt(Re),null;case 25:return null;default:return null}}function hf(e,t){switch(Qi(t),t.tag){case 3:Lt(Re),Ft();break;case 26:case 27:case 5:Bn(t);break;case 4:Ft();break;case 13:Xt(t);break;case 19:Y(De);break;case 10:Lt(t.type);break;case 22:case 23:Xt(t),lc(),e!==null&&Y(Ba);break;case 24:Lt(Re)}}function on(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var u=a.create,c=a.inst;l=u(),c.destroy=l}a=a.next}while(a!==n)}}catch(s){ye(t,t.return,s)}}function sa(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var u=n.next;l=u;do{if((l.tag&e)===e){var c=l.inst,s=c.destroy;if(s!==void 0){c.destroy=void 0,n=t;var h=a,_=s;try{_()}catch(A){ye(n,h,A)}}}l=l.next}while(l!==u)}}catch(A){ye(t,t.return,A)}}function mf(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{er(t,a)}catch(l){ye(e,e.return,l)}}}function gf(e,t,a){a.props=Ya(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){ye(e,t,l)}}function rn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){ye(e,t,n)}}function Ot(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){ye(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){ye(e,t,n)}else a.current=null}function yf(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){ye(e,e.return,n)}}function Rc(e,t,a){try{var l=e.stateNode;kv(l,e.type,a,t),l[ke]=t}catch(n){ye(e,e.return,n)}}function vf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ya(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ya(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cc(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=qu));else if(l!==4&&(l===27&&ya(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Cc(e,t,a),e=e.sibling;e!==null;)Cc(e,t,a),e=e.sibling}function zu(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&ya(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(zu(e,t,a),e=e.sibling;e!==null;)zu(e,t,a),e=e.sibling}function pf(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Ge(t,l,a),t[$e]=e,t[ke]=a}catch(u){ye(e,e.return,u)}}var $t=!1,ze=!1,Uc=!1,bf=typeof WeakSet=="function"?WeakSet:Set,Be=null;function jv(e,t){if(e=e.containerInfo,ns=$u,e=jo(e),Di(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var c=0,s=-1,h=-1,_=0,A=0,R=e,E=null;t:for(;;){for(var T;R!==a||n!==0&&R.nodeType!==3||(s=c+n),R!==u||l!==0&&R.nodeType!==3||(h=c+l),R.nodeType===3&&(c+=R.nodeValue.length),(T=R.firstChild)!==null;)E=R,R=T;for(;;){if(R===e)break t;if(E===a&&++_===n&&(s=c),E===u&&++A===l&&(h=c),(T=R.nextSibling)!==null)break;R=E,E=R.parentNode}R=T}a=s===-1||h===-1?null:{start:s,end:h}}else a=null}a=a||{start:0,end:0}}else a=null;for(us={focusedElem:e,selectionRange:a},$u=!1,Be=t;Be!==null;)if(t=Be,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Be=e;else for(;Be!==null;){switch(t=Be,u=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,n=u.memoizedProps,u=u.memoizedState,l=a.stateNode;try{var k=Ya(a.type,n,a.elementType===a.type);e=l.getSnapshotBeforeUpdate(k,u),l.__reactInternalSnapshotBeforeUpdate=e}catch(V){ye(a,a.return,V)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)ss(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ss(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Be=e;break}Be=t.return}}function xf(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:oa(e,a),l&4&&on(5,a);break;case 1:if(oa(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(c){ye(a,a.return,c)}else{var n=Ya(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){ye(a,a.return,c)}}l&64&&mf(a),l&512&&rn(a,a.return);break;case 3:if(oa(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{er(e,t)}catch(c){ye(a,a.return,c)}}break;case 27:t===null&&l&4&&pf(a);case 26:case 5:oa(e,a),t===null&&l&4&&yf(a),l&512&&rn(a,a.return);break;case 12:oa(e,a);break;case 13:oa(e,a),l&4&&Ef(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=qv.bind(null,a),ap(e,a))));break;case 22:if(l=a.memoizedState!==null||$t,!l){t=t!==null&&t.memoizedState!==null||ze,n=$t;var u=ze;$t=l,(ze=t)&&!u?ra(e,a,(a.subtreeFlags&8772)!==0):oa(e,a),$t=n,ze=u}break;case 30:break;default:oa(e,a)}}function Sf(e){var t=e.alternate;t!==null&&(e.alternate=null,Sf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&hi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var be=null,Pe=!1;function Vt(e,t,a){for(a=a.child;a!==null;)_f(e,t,a),a=a.sibling}function _f(e,t,a){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(Ml,a)}catch{}switch(a.tag){case 26:ze||Ot(a,t),Vt(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ze||Ot(a,t);var l=be,n=Pe;ya(a.type)&&(be=a.stateNode,Pe=!1),Vt(e,t,a),bn(a.stateNode),be=l,Pe=n;break;case 5:ze||Ot(a,t);case 6:if(l=be,n=Pe,be=null,Vt(e,t,a),be=l,Pe=n,be!==null)if(Pe)try{(be.nodeType===9?be.body:be.nodeName==="HTML"?be.ownerDocument.body:be).removeChild(a.stateNode)}catch(u){ye(a,t,u)}else try{be.removeChild(a.stateNode)}catch(u){ye(a,t,u)}break;case 18:be!==null&&(Pe?(e=be,rd(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),zn(e)):rd(be,a.stateNode));break;case 4:l=be,n=Pe,be=a.stateNode.containerInfo,Pe=!0,Vt(e,t,a),be=l,Pe=n;break;case 0:case 11:case 14:case 15:ze||sa(2,a,t),ze||sa(4,a,t),Vt(e,t,a);break;case 1:ze||(Ot(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&gf(a,t,l)),Vt(e,t,a);break;case 21:Vt(e,t,a);break;case 22:ze=(l=ze)||a.memoizedState!==null,Vt(e,t,a),ze=l;break;default:Vt(e,t,a)}}function Ef(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{zn(e)}catch(a){ye(t,t.return,a)}}function Mv(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new bf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new bf),t;default:throw Error(o(435,e.tag))}}function wc(e,t){var a=Mv(e);t.forEach(function(l){var n=Yv.bind(null,e,l);a.has(l)||(a.add(l),l.then(n,n))})}function it(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],u=e,c=t,s=c;e:for(;s!==null;){switch(s.tag){case 27:if(ya(s.type)){be=s.stateNode,Pe=!1;break e}break;case 5:be=s.stateNode,Pe=!1;break e;case 3:case 4:be=s.stateNode.containerInfo,Pe=!0;break e}s=s.return}if(be===null)throw Error(o(160));_f(u,c,n),be=null,Pe=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Tf(t,e),t=t.sibling}var Et=null;function Tf(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:it(t,e),ct(e),l&4&&(sa(3,e,e.return),on(3,e),sa(5,e,e.return));break;case 1:it(t,e),ct(e),l&512&&(ze||a===null||Ot(a,a.return)),l&64&&$t&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Et;if(it(t,e),ct(e),l&512&&(ze||a===null||Ot(a,a.return)),l&4){var u=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Cl]||u[$e]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(l),n.head.insertBefore(u,n.querySelector("head > title"))),Ge(u,l,a),u[$e]=e,we(u),l=u;break e;case"link":var c=pd("link","href",n).get(l+(a.href||""));if(c){for(var s=0;s<c.length;s++)if(u=c[s],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(s,1);break t}}u=n.createElement(l),Ge(u,l,a),n.head.appendChild(u);break;case"meta":if(c=pd("meta","content",n).get(l+(a.content||""))){for(s=0;s<c.length;s++)if(u=c[s],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(s,1);break t}}u=n.createElement(l),Ge(u,l,a),n.head.appendChild(u);break;default:throw Error(o(468,l))}u[$e]=e,we(u),l=u}e.stateNode=l}else bd(n,e.type,e.stateNode);else e.stateNode=vd(n,l,e.memoizedProps);else u!==l?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,l===null?bd(n,e.type,e.stateNode):vd(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Rc(e,e.memoizedProps,a.memoizedProps)}break;case 27:it(t,e),ct(e),l&512&&(ze||a===null||Ot(a,a.return)),a!==null&&l&4&&Rc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(it(t,e),ct(e),l&512&&(ze||a===null||Ot(a,a.return)),e.flags&32){n=e.stateNode;try{Wa(n,"")}catch(T){ye(e,e.return,T)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,Rc(e,n,a!==null?a.memoizedProps:n)),l&1024&&(Uc=!0);break;case 6:if(it(t,e),ct(e),l&4){if(e.stateNode===null)throw Error(o(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(T){ye(e,e.return,T)}}break;case 3:if(Xu=null,n=Et,Et=Lu(t.containerInfo),it(t,e),Et=n,ct(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{zn(t.containerInfo)}catch(T){ye(e,e.return,T)}Uc&&(Uc=!1,Nf(e));break;case 4:l=Et,Et=Lu(e.stateNode.containerInfo),it(t,e),ct(e),Et=l;break;case 12:it(t,e),ct(e);break;case 13:it(t,e),ct(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Gc=Nt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,wc(e,l)));break;case 22:n=e.memoizedState!==null;var h=a!==null&&a.memoizedState!==null,_=$t,A=ze;if($t=_||n,ze=A||h,it(t,e),ze=A,$t=_,ct(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||h||$t||ze||La(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){h=a=t;try{if(u=h.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{s=h.stateNode;var R=h.memoizedProps.style,E=R!=null&&R.hasOwnProperty("display")?R.display:null;s.style.display=E==null||typeof E=="boolean"?"":(""+E).trim()}}catch(T){ye(h,h.return,T)}}}else if(t.tag===6){if(a===null){h=t;try{h.stateNode.nodeValue=n?"":h.memoizedProps}catch(T){ye(h,h.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,wc(e,a))));break;case 19:it(t,e),ct(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,wc(e,l)));break;case 30:break;case 21:break;default:it(t,e),ct(e)}}function ct(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(vf(l)){a=l;break}l=l.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var n=a.stateNode,u=Dc(e);zu(e,u,n);break;case 5:var c=a.stateNode;a.flags&32&&(Wa(c,""),a.flags&=-33);var s=Dc(e);zu(e,s,c);break;case 3:case 4:var h=a.stateNode.containerInfo,_=Dc(e);Cc(e,_,h);break;default:throw Error(o(161))}}catch(A){ye(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function oa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xf(e,t.alternate,t),t=t.sibling}function La(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:sa(4,t,t.return),La(t);break;case 1:Ot(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&gf(t,t.return,a),La(t);break;case 27:bn(t.stateNode);case 26:case 5:Ot(t,t.return),La(t);break;case 22:t.memoizedState===null&&La(t);break;case 30:La(t);break;default:La(t)}e=e.sibling}}function ra(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,u=t,c=u.flags;switch(u.tag){case 0:case 11:case 15:ra(n,u,a),on(4,u);break;case 1:if(ra(n,u,a),l=u,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(_){ye(l,l.return,_)}if(l=u,n=l.updateQueue,n!==null){var s=l.stateNode;try{var h=n.shared.hiddenCallbacks;if(h!==null)for(n.shared.hiddenCallbacks=null,n=0;n<h.length;n++)Io(h[n],s)}catch(_){ye(l,l.return,_)}}a&&c&64&&mf(u),rn(u,u.return);break;case 27:pf(u);case 26:case 5:ra(n,u,a),a&&l===null&&c&4&&yf(u),rn(u,u.return);break;case 12:ra(n,u,a);break;case 13:ra(n,u,a),a&&c&4&&Ef(n,u);break;case 22:u.memoizedState===null&&ra(n,u,a),rn(u,u.return);break;case 30:break;default:ra(n,u,a)}t=t.sibling}}function Hc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Jl(a))}function Bc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Jl(e))}function jt(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Af(e,t,a,l),t=t.sibling}function Af(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:jt(e,t,a,l),n&2048&&on(9,t);break;case 1:jt(e,t,a,l);break;case 3:jt(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Jl(e)));break;case 12:if(n&2048){jt(e,t,a,l),e=t.stateNode;try{var u=t.memoizedProps,c=u.id,s=u.onPostCommit;typeof s=="function"&&s(c,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(h){ye(t,t.return,h)}}else jt(e,t,a,l);break;case 13:jt(e,t,a,l);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?jt(e,t,a,l):fn(e,t):u._visibility&2?jt(e,t,a,l):(u._visibility|=2,gl(e,t,a,l,(t.subtreeFlags&10256)!==0)),n&2048&&Hc(c,t);break;case 24:jt(e,t,a,l),n&2048&&Bc(t.alternate,t);break;default:jt(e,t,a,l)}}function gl(e,t,a,l,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=e,c=t,s=a,h=l,_=c.flags;switch(c.tag){case 0:case 11:case 15:gl(u,c,s,h,n),on(8,c);break;case 23:break;case 22:var A=c.stateNode;c.memoizedState!==null?A._visibility&2?gl(u,c,s,h,n):fn(u,c):(A._visibility|=2,gl(u,c,s,h,n)),n&&_&2048&&Hc(c.alternate,c);break;case 24:gl(u,c,s,h,n),n&&_&2048&&Bc(c.alternate,c);break;default:gl(u,c,s,h,n)}t=t.sibling}}function fn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:fn(a,l),n&2048&&Hc(l.alternate,l);break;case 24:fn(a,l),n&2048&&Bc(l.alternate,l);break;default:fn(a,l)}t=t.sibling}}var dn=8192;function yl(e){if(e.subtreeFlags&dn)for(e=e.child;e!==null;)zf(e),e=e.sibling}function zf(e){switch(e.tag){case 26:yl(e),e.flags&dn&&e.memoizedState!==null&&gp(Et,e.memoizedState,e.memoizedProps);break;case 5:yl(e);break;case 3:case 4:var t=Et;Et=Lu(e.stateNode.containerInfo),yl(e),Et=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=dn,dn=16777216,yl(e),dn=t):yl(e));break;default:yl(e)}}function Of(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function hn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Be=l,Mf(l,e)}Of(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jf(e),e=e.sibling}function jf(e){switch(e.tag){case 0:case 11:case 15:hn(e),e.flags&2048&&sa(9,e,e.return);break;case 3:hn(e);break;case 12:hn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ou(e)):hn(e);break;default:hn(e)}}function Ou(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Be=l,Mf(l,e)}Of(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:sa(8,t,t.return),Ou(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Ou(t));break;default:Ou(t)}e=e.sibling}}function Mf(e,t){for(;Be!==null;){var a=Be;switch(a.tag){case 0:case 11:case 15:sa(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Jl(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,Be=l;else e:for(a=e;Be!==null;){l=Be;var n=l.sibling,u=l.return;if(Sf(l),l===a){Be=null;break e}if(n!==null){n.return=u,Be=n;break e}Be=u}}}var Rv={getCacheForType:function(e){var t=Ve(Re),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},Dv=typeof WeakMap=="function"?WeakMap:Map,re=0,ve=null,le=null,ue=0,fe=0,st=null,fa=!1,vl=!1,qc=!1,Kt=0,Ne=0,da=0,Ga=0,Yc=0,bt=0,pl=0,mn=null,Ie=null,Lc=!1,Gc=0,ju=1/0,Mu=null,ha=null,Le=0,ma=null,bl=null,xl=0,Xc=0,Qc=null,Rf=null,gn=0,Zc=null;function ot(){if((re&2)!==0&&ue!==0)return ue&-ue;if(O.T!==null){var e=cl;return e!==0?e:Fc()}return $s()}function Df(){bt===0&&(bt=(ue&536870912)===0||oe?Gs():536870912);var e=pt.current;return e!==null&&(e.flags|=32),bt}function rt(e,t,a){(e===ve&&(fe===2||fe===9)||e.cancelPendingCommit!==null)&&(Sl(e,0),ga(e,ue,bt,!1)),Dl(e,a),((re&2)===0||e!==ve)&&(e===ve&&((re&2)===0&&(Ga|=a),Ne===4&&ga(e,ue,bt,!1)),Mt(e))}function Cf(e,t,a){if((re&6)!==0)throw Error(o(327));var l=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Rl(e,t),n=l?wv(e,t):Kc(e,t,!0),u=l;do{if(n===0){vl&&!l&&ga(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!Cv(a)){n=Kc(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var s=e;n=mn;var h=s.current.memoizedState.isDehydrated;if(h&&(Sl(s,c).flags|=256),c=Kc(s,c,!1),c!==2){if(qc&&!h){s.errorRecoveryDisabledLanes|=u,Ga|=u,n=4;break e}u=Ie,Ie=n,u!==null&&(Ie===null?Ie=u:Ie.push.apply(Ie,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){Sl(e,0),ga(e,t,0,!0);break}e:{switch(l=e,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:ga(l,t,bt,!fa);break e;case 2:Ie=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=Gc+300-Nt(),10<n)){if(ga(l,t,bt,!fa),Gn(l,0,!0)!==0)break e;l.timeoutHandle=sd(Uf.bind(null,l,a,Ie,Mu,Lc,t,bt,Ga,pl,fa,u,2,-0,0),n);break e}Uf(l,a,Ie,Mu,Lc,t,bt,Ga,pl,fa,u,0,-0,0)}}break}while(!0);Mt(e)}function Uf(e,t,a,l,n,u,c,s,h,_,A,R,E,T){if(e.timeoutHandle=-1,R=t.subtreeFlags,(R&8192||(R&16785408)===16785408)&&(_n={stylesheets:null,count:0,unsuspend:mp},zf(t),R=yp(),R!==null)){e.cancelPendingCommit=R(Gf.bind(null,e,t,u,a,l,n,c,s,h,A,1,E,T)),ga(e,u,c,!_);return}Gf(e,t,u,a,l,n,c,s,h)}function Cv(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],u=n.getSnapshot;n=n.value;try{if(!nt(u(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ga(e,t,a,l){t&=~Yc,t&=~Ga,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var u=31-lt(n),c=1<<u;l[u]=-1,n&=~c}a!==0&&Qs(e,a,t)}function Ru(){return(re&6)===0?(yn(0),!1):!0}function $c(){if(le!==null){if(fe===0)var e=le.return;else e=le,Yt=wa=null,sc(e),hl=null,un=0,e=le;for(;e!==null;)hf(e.alternate,e),e=e.return;le=null}}function Sl(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Fv(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),$c(),ve=e,le=a=Ht(e.current,null),ue=t,fe=0,st=null,fa=!1,vl=Rl(e,t),qc=!1,pl=bt=Yc=Ga=da=Ne=0,Ie=mn=null,Lc=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-lt(l),u=1<<n;t|=e[n],l&=~u}return Kt=t,In(),a}function wf(e,t){te=null,O.H=pu,t===Wl||t===su?(t=Fo(),fe=3):t===Jo?(t=Fo(),fe=4):fe=t===Pr?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,st=t,le===null&&(Ne=1,Eu(e,mt(t,e.current)))}function Hf(){var e=O.H;return O.H=pu,e===null?pu:e}function Bf(){var e=O.A;return O.A=Rv,e}function Vc(){Ne=4,fa||(ue&4194048)!==ue&&pt.current!==null||(vl=!0),(da&134217727)===0&&(Ga&134217727)===0||ve===null||ga(ve,ue,bt,!1)}function Kc(e,t,a){var l=re;re|=2;var n=Hf(),u=Bf();(ve!==e||ue!==t)&&(Mu=null,Sl(e,t)),t=!1;var c=Ne;e:do try{if(fe!==0&&le!==null){var s=le,h=st;switch(fe){case 8:$c(),c=6;break e;case 3:case 2:case 9:case 6:pt.current===null&&(t=!0);var _=fe;if(fe=0,st=null,_l(e,s,h,_),a&&vl){c=0;break e}break;default:_=fe,fe=0,st=null,_l(e,s,h,_)}}Uv(),c=Ne;break}catch(A){wf(e,A)}while(!0);return t&&e.shellSuspendCounter++,Yt=wa=null,re=l,O.H=n,O.A=u,le===null&&(ve=null,ue=0,In()),c}function Uv(){for(;le!==null;)qf(le)}function wv(e,t){var a=re;re|=2;var l=Hf(),n=Bf();ve!==e||ue!==t?(Mu=null,ju=Nt()+500,Sl(e,t)):vl=Rl(e,t);e:do try{if(fe!==0&&le!==null){t=le;var u=st;t:switch(fe){case 1:fe=0,st=null,_l(e,t,u,1);break;case 2:case 9:if(ko(u)){fe=0,st=null,Yf(t);break}t=function(){fe!==2&&fe!==9||ve!==e||(fe=7),Mt(e)},u.then(t,t);break e;case 3:fe=7;break e;case 4:fe=5;break e;case 7:ko(u)?(fe=0,st=null,Yf(t)):(fe=0,st=null,_l(e,t,u,7));break;case 5:var c=null;switch(le.tag){case 26:c=le.memoizedState;case 5:case 27:var s=le;if(!c||xd(c)){fe=0,st=null;var h=s.sibling;if(h!==null)le=h;else{var _=s.return;_!==null?(le=_,Du(_)):le=null}break t}}fe=0,st=null,_l(e,t,u,5);break;case 6:fe=0,st=null,_l(e,t,u,6);break;case 8:$c(),Ne=6;break e;default:throw Error(o(462))}}Hv();break}catch(A){wf(e,A)}while(!0);return Yt=wa=null,O.H=l,O.A=n,re=a,le!==null?0:(ve=null,ue=0,In(),Ne)}function Hv(){for(;le!==null&&!ny();)qf(le)}function qf(e){var t=ff(e.alternate,e,Kt);e.memoizedProps=e.pendingProps,t===null?Du(e):le=t}function Yf(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=nf(a,t,t.pendingProps,t.type,void 0,ue);break;case 11:t=nf(a,t,t.pendingProps,t.type.render,t.ref,ue);break;case 5:sc(t);default:hf(a,t),t=le=Yo(t,Kt),t=ff(a,t,Kt)}e.memoizedProps=e.pendingProps,t===null?Du(e):le=t}function _l(e,t,a,l){Yt=wa=null,sc(t),hl=null,un=0;var n=t.return;try{if(Nv(e,n,t,a,ue)){Ne=1,Eu(e,mt(a,e.current)),le=null;return}}catch(u){if(n!==null)throw le=n,u;Ne=1,Eu(e,mt(a,e.current)),le=null;return}t.flags&32768?(oe||l===1?e=!0:vl||(ue&536870912)!==0?e=!1:(fa=e=!0,(l===2||l===9||l===3||l===6)&&(l=pt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Lf(t,e)):Du(t)}function Du(e){var t=e;do{if((t.flags&32768)!==0){Lf(t,fa);return}e=t.return;var a=zv(t.alternate,t,Kt);if(a!==null){le=a;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);Ne===0&&(Ne=5)}function Lf(e,t){do{var a=Ov(e.alternate,e);if(a!==null){a.flags&=32767,le=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){le=e;return}le=e=a}while(e!==null);Ne=6,le=null}function Gf(e,t,a,l,n,u,c,s,h){e.cancelPendingCommit=null;do Cu();while(Le!==0);if((re&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Bi,my(e,a,u,c,s,h),e===ve&&(le=ve=null,ue=0),bl=t,ma=e,xl=a,Xc=u,Qc=n,Rf=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Lv(qn,function(){return Vf(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null,n=q.p,q.p=2,c=re,re|=4;try{jv(e,t,a)}finally{re=c,q.p=n,O.T=l}}Le=1,Xf(),Qf(),Zf()}}function Xf(){if(Le===1){Le=0;var e=ma,t=bl,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var l=q.p;q.p=2;var n=re;re|=4;try{Tf(t,e);var u=us,c=jo(e.containerInfo),s=u.focusedElem,h=u.selectionRange;if(c!==s&&s&&s.ownerDocument&&Oo(s.ownerDocument.documentElement,s)){if(h!==null&&Di(s)){var _=h.start,A=h.end;if(A===void 0&&(A=_),"selectionStart"in s)s.selectionStart=_,s.selectionEnd=Math.min(A,s.value.length);else{var R=s.ownerDocument||document,E=R&&R.defaultView||window;if(E.getSelection){var T=E.getSelection(),k=s.textContent.length,V=Math.min(h.start,k),me=h.end===void 0?V:Math.min(h.end,k);!T.extend&&V>me&&(c=me,me=V,V=c);var b=zo(s,V),v=zo(s,me);if(b&&v&&(T.rangeCount!==1||T.anchorNode!==b.node||T.anchorOffset!==b.offset||T.focusNode!==v.node||T.focusOffset!==v.offset)){var S=R.createRange();S.setStart(b.node,b.offset),T.removeAllRanges(),V>me?(T.addRange(S),T.extend(v.node,v.offset)):(S.setEnd(v.node,v.offset),T.addRange(S))}}}}for(R=[],T=s;T=T.parentNode;)T.nodeType===1&&R.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<R.length;s++){var j=R[s];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}$u=!!ns,us=ns=null}finally{re=n,q.p=l,O.T=a}}e.current=t,Le=2}}function Qf(){if(Le===2){Le=0;var e=ma,t=bl,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var l=q.p;q.p=2;var n=re;re|=4;try{xf(e,t.alternate,t)}finally{re=n,q.p=l,O.T=a}}Le=3}}function Zf(){if(Le===4||Le===3){Le=0,uy();var e=ma,t=bl,a=xl,l=Rf;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Le=5:(Le=0,bl=ma=null,$f(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(ha=null),fi(a),t=t.stateNode,at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(Ml,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=O.T,n=q.p,q.p=2,O.T=null;try{for(var u=e.onRecoverableError,c=0;c<l.length;c++){var s=l[c];u(s.value,{componentStack:s.stack})}}finally{O.T=t,q.p=n}}(xl&3)!==0&&Cu(),Mt(e),n=e.pendingLanes,(a&4194090)!==0&&(n&42)!==0?e===Zc?gn++:(gn=0,Zc=e):gn=0,yn(0)}}function $f(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Jl(t)))}function Cu(e){return Xf(),Qf(),Zf(),Vf()}function Vf(){if(Le!==5)return!1;var e=ma,t=Xc;Xc=0;var a=fi(xl),l=O.T,n=q.p;try{q.p=32>a?32:a,O.T=null,a=Qc,Qc=null;var u=ma,c=xl;if(Le=0,bl=ma=null,xl=0,(re&6)!==0)throw Error(o(331));var s=re;if(re|=4,jf(u.current),Af(u,u.current,c,a),re=s,yn(0,!1),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(Ml,u)}catch{}return!0}finally{q.p=n,O.T=l,$f(e,t)}}function Kf(e,t,a){t=mt(a,t),t=_c(e.stateNode,t,2),e=na(e,t,2),e!==null&&(Dl(e,2),Mt(e))}function ye(e,t,a){if(e.tag===3)Kf(e,e,a);else for(;t!==null;){if(t.tag===3){Kf(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ha===null||!ha.has(l))){e=mt(a,e),a=Wr(2),l=na(t,a,2),l!==null&&(Fr(a,l,t,e),Dl(l,2),Mt(l));break}}t=t.return}}function Jc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new Dv;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(qc=!0,n.add(a),e=Bv.bind(null,e,t,a),t.then(e,e))}function Bv(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ve===e&&(ue&a)===a&&(Ne===4||Ne===3&&(ue&62914560)===ue&&300>Nt()-Gc?(re&2)===0&&Sl(e,0):Yc|=a,pl===ue&&(pl=0)),Mt(e)}function Jf(e,t){t===0&&(t=Xs()),e=ll(e,t),e!==null&&(Dl(e,t),Mt(e))}function qv(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Jf(e,a)}function Yv(e,t){var a=0;switch(e.tag){case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(t),Jf(e,a)}function Lv(e,t){return ci(e,t)}var Uu=null,El=null,kc=!1,wu=!1,Wc=!1,Xa=0;function Mt(e){e!==El&&e.next===null&&(El===null?Uu=El=e:El=El.next=e),wu=!0,kc||(kc=!0,Xv())}function yn(e,t){if(!Wc&&wu){Wc=!0;do for(var a=!1,l=Uu;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var u=0;else{var c=l.suspendedLanes,s=l.pingedLanes;u=(1<<31-lt(42|e)+1)-1,u&=n&~(c&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,Pf(l,u))}else u=ue,u=Gn(l,l===ve?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||Rl(l,u)||(a=!0,Pf(l,u));l=l.next}while(a);Wc=!1}}function Gv(){kf()}function kf(){wu=kc=!1;var e=0;Xa!==0&&(Wv()&&(e=Xa),Xa=0);for(var t=Nt(),a=null,l=Uu;l!==null;){var n=l.next,u=Wf(l,t);u===0?(l.next=null,a===null?Uu=n:a.next=n,n===null&&(El=a)):(a=l,(e!==0||(u&3)!==0)&&(wu=!0)),l=n}yn(e)}function Wf(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var c=31-lt(u),s=1<<c,h=n[c];h===-1?((s&a)===0||(s&l)!==0)&&(n[c]=hy(s,t)):h<=t&&(e.expiredLanes|=s),u&=~s}if(t=ve,a=ue,a=Gn(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(fe===2||fe===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&si(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Rl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&si(l),fi(a)){case 2:case 8:a=Ys;break;case 32:a=qn;break;case 268435456:a=Ls;break;default:a=qn}return l=Ff.bind(null,e),a=ci(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&si(l),e.callbackPriority=2,e.callbackNode=null,2}function Ff(e,t){if(Le!==0&&Le!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Cu()&&e.callbackNode!==a)return null;var l=ue;return l=Gn(e,e===ve?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Cf(e,l,t),Wf(e,Nt()),e.callbackNode!=null&&e.callbackNode===a?Ff.bind(null,e):null)}function Pf(e,t){if(Cu())return null;Cf(e,t,!0)}function Xv(){Pv(function(){(re&6)!==0?ci(qs,Gv):kf()})}function Fc(){return Xa===0&&(Xa=Gs()),Xa}function If(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Vn(""+e)}function ed(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Qv(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var u=If((n[ke]||null).action),c=l.submitter;c&&(t=(t=c[ke]||null)?If(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var s=new Wn("action","action",null,l,n);e.push({event:s,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Xa!==0){var h=c?ed(n,c):new FormData(n);vc(a,{pending:!0,data:h,method:n.method,action:u},null,h)}}else typeof u=="function"&&(s.preventDefault(),h=c?ed(n,c):new FormData(n),vc(a,{pending:!0,data:h,method:n.method,action:u},u,h))},currentTarget:n}]})}}for(var Pc=0;Pc<Hi.length;Pc++){var Ic=Hi[Pc],Zv=Ic.toLowerCase(),$v=Ic[0].toUpperCase()+Ic.slice(1);_t(Zv,"on"+$v)}_t(Do,"onAnimationEnd"),_t(Co,"onAnimationIteration"),_t(Uo,"onAnimationStart"),_t("dblclick","onDoubleClick"),_t("focusin","onFocus"),_t("focusout","onBlur"),_t(sv,"onTransitionRun"),_t(ov,"onTransitionStart"),_t(rv,"onTransitionCancel"),_t(wo,"onTransitionEnd"),Ka("onMouseEnter",["mouseout","mouseover"]),Ka("onMouseLeave",["mouseout","mouseover"]),Ka("onPointerEnter",["pointerout","pointerover"]),Ka("onPointerLeave",["pointerout","pointerover"]),Aa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Aa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Aa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Aa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Aa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Aa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vn="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(" "),Vv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vn));function td(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var u=void 0;if(t)for(var c=l.length-1;0<=c;c--){var s=l[c],h=s.instance,_=s.currentTarget;if(s=s.listener,h!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=_;try{u(n)}catch(A){_u(A)}n.currentTarget=null,u=h}else for(c=0;c<l.length;c++){if(s=l[c],h=s.instance,_=s.currentTarget,s=s.listener,h!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=_;try{u(n)}catch(A){_u(A)}n.currentTarget=null,u=h}}}}function ne(e,t){var a=t[di];a===void 0&&(a=t[di]=new Set);var l=e+"__bubble";a.has(l)||(ad(t,e,2,!1),a.add(l))}function es(e,t,a){var l=0;t&&(l|=4),ad(a,e,l,t)}var Hu="_reactListening"+Math.random().toString(36).slice(2);function ts(e){if(!e[Hu]){e[Hu]=!0,Ks.forEach(function(a){a!=="selectionchange"&&(Vv.has(a)||es(a,!1,e),es(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Hu]||(t[Hu]=!0,es("selectionchange",!1,t))}}function ad(e,t,a,l){switch(Ad(t)){case 2:var n=bp;break;case 8:n=xp;break;default:n=gs}a=n.bind(null,t,a,e),n=void 0,!Ei||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function as(e,t,a,l,n){var u=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var c=l.tag;if(c===3||c===4){var s=l.stateNode.containerInfo;if(s===n)break;if(c===4)for(c=l.return;c!==null;){var h=c.tag;if((h===3||h===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;s!==null;){if(c=Za(s),c===null)return;if(h=c.tag,h===5||h===6||h===26||h===27){l=u=c;continue e}s=s.parentNode}}l=l.return}co(function(){var _=u,A=Si(a),R=[];e:{var E=Ho.get(e);if(E!==void 0){var T=Wn,k=e;switch(e){case"keypress":if(Jn(a)===0)break e;case"keydown":case"keyup":T=Ly;break;case"focusin":k="focus",T=zi;break;case"focusout":k="blur",T=zi;break;case"beforeblur":case"afterblur":T=zi;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=ro;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Oy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=Qy;break;case Do:case Co:case Uo:T=Ry;break;case wo:T=$y;break;case"scroll":case"scrollend":T=Ay;break;case"wheel":T=Ky;break;case"copy":case"cut":case"paste":T=Cy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=ho;break;case"toggle":case"beforetoggle":T=ky}var V=(t&4)!==0,me=!V&&(e==="scroll"||e==="scrollend"),b=V?E!==null?E+"Capture":null:E;V=[];for(var v=_,S;v!==null;){var j=v;if(S=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||S===null||b===null||(j=wl(v,b),j!=null&&V.push(pn(v,j,S))),me)break;v=v.return}0<V.length&&(E=new T(E,k,null,a,A),R.push({event:E,listeners:V}))}}if((t&7)===0){e:{if(E=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",E&&a!==xi&&(k=a.relatedTarget||a.fromElement)&&(Za(k)||k[Qa]))break e;if((T||E)&&(E=A.window===A?A:(E=A.ownerDocument)?E.defaultView||E.parentWindow:window,T?(k=a.relatedTarget||a.toElement,T=_,k=k?Za(k):null,k!==null&&(me=p(k),V=k.tag,k!==me||V!==5&&V!==27&&V!==6)&&(k=null)):(T=null,k=_),T!==k)){if(V=ro,j="onMouseLeave",b="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(V=ho,j="onPointerLeave",b="onPointerEnter",v="pointer"),me=T==null?E:Ul(T),S=k==null?E:Ul(k),E=new V(j,v+"leave",T,a,A),E.target=me,E.relatedTarget=S,j=null,Za(A)===_&&(V=new V(b,v+"enter",k,a,A),V.target=S,V.relatedTarget=me,j=V),me=j,T&&k)t:{for(V=T,b=k,v=0,S=V;S;S=Tl(S))v++;for(S=0,j=b;j;j=Tl(j))S++;for(;0<v-S;)V=Tl(V),v--;for(;0<S-v;)b=Tl(b),S--;for(;v--;){if(V===b||b!==null&&V===b.alternate)break t;V=Tl(V),b=Tl(b)}V=null}else V=null;T!==null&&ld(R,E,T,V,!1),k!==null&&me!==null&&ld(R,me,k,V,!0)}}e:{if(E=_?Ul(_):window,T=E.nodeName&&E.nodeName.toLowerCase(),T==="select"||T==="input"&&E.type==="file")var L=So;else if(bo(E))if(_o)L=uv;else{L=lv;var ae=av}else T=E.nodeName,!T||T.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?_&&bi(_.elementType)&&(L=So):L=nv;if(L&&(L=L(e,_))){xo(R,L,a,A);break e}ae&&ae(e,E,_),e==="focusout"&&_&&E.type==="number"&&_.memoizedProps.value!=null&&pi(E,"number",E.value)}switch(ae=_?Ul(_):window,e){case"focusin":(bo(ae)||ae.contentEditable==="true")&&(el=ae,Ci=_,Ql=null);break;case"focusout":Ql=Ci=el=null;break;case"mousedown":Ui=!0;break;case"contextmenu":case"mouseup":case"dragend":Ui=!1,Mo(R,a,A);break;case"selectionchange":if(cv)break;case"keydown":case"keyup":Mo(R,a,A)}var G;if(ji)e:{switch(e){case"compositionstart":var K="onCompositionStart";break e;case"compositionend":K="onCompositionEnd";break e;case"compositionupdate":K="onCompositionUpdate";break e}K=void 0}else Ia?vo(e,a)&&(K="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(K="onCompositionStart");K&&(mo&&a.locale!=="ko"&&(Ia||K!=="onCompositionStart"?K==="onCompositionEnd"&&Ia&&(G=so()):(ea=A,Ti="value"in ea?ea.value:ea.textContent,Ia=!0)),ae=Bu(_,K),0<ae.length&&(K=new fo(K,e,null,a,A),R.push({event:K,listeners:ae}),G?K.data=G:(G=po(a),G!==null&&(K.data=G)))),(G=Fy?Py(e,a):Iy(e,a))&&(K=Bu(_,"onBeforeInput"),0<K.length&&(ae=new fo("onBeforeInput","beforeinput",null,a,A),R.push({event:ae,listeners:K}),ae.data=G)),Qv(R,e,_,a,A)}td(R,t)})}function pn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Bu(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=wl(e,a),n!=null&&l.unshift(pn(e,n,u)),n=wl(e,t),n!=null&&l.push(pn(e,n,u))),e.tag===3)return l;e=e.return}return[]}function Tl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ld(e,t,a,l,n){for(var u=t._reactName,c=[];a!==null&&a!==l;){var s=a,h=s.alternate,_=s.stateNode;if(s=s.tag,h!==null&&h===l)break;s!==5&&s!==26&&s!==27||_===null||(h=_,n?(_=wl(a,u),_!=null&&c.unshift(pn(a,_,h))):n||(_=wl(a,u),_!=null&&c.push(pn(a,_,h)))),a=a.return}c.length!==0&&e.push({event:t,listeners:c})}var Kv=/\r\n?/g,Jv=/\u0000|\uFFFD/g;function nd(e){return(typeof e=="string"?e:""+e).replace(Kv,`
`).replace(Jv,"")}function ud(e,t){return t=nd(t),nd(e)===t}function qu(){}function he(e,t,a,l,n,u){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Wa(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Wa(e,""+l);break;case"className":Qn(e,"class",l);break;case"tabIndex":Qn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Qn(e,a,l);break;case"style":uo(e,l,u);break;case"data":if(t!=="object"){Qn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Vn(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"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"&&(a==="formAction"?(t!=="input"&&he(e,t,"name",n.name,n,null),he(e,t,"formEncType",n.formEncType,n,null),he(e,t,"formMethod",n.formMethod,n,null),he(e,t,"formTarget",n.formTarget,n,null)):(he(e,t,"encType",n.encType,n,null),he(e,t,"method",n.method,n,null),he(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Vn(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=qu);break;case"onScroll":l!=null&&ne("scroll",e);break;case"onScrollEnd":l!=null&&ne("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=Vn(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":ne("beforetoggle",e),ne("toggle",e),Xn(e,"popover",l);break;case"xlinkActuate":Ut(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ut(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ut(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ut(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ut(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ut(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Xn(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Ty.get(a)||a,Xn(e,a,l))}}function ls(e,t,a,l,n,u){switch(a){case"style":uo(e,l,u);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof l=="string"?Wa(e,l):(typeof l=="number"||typeof l=="bigint")&&Wa(e,""+l);break;case"onScroll":l!=null&&ne("scroll",e);break;case"onScrollEnd":l!=null&&ne("scrollend",e);break;case"onClick":l!=null&&(e.onclick=qu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Js.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),u=e[ke]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof l=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):Xn(e,a,l)}}}function Ge(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ne("error",e),ne("load",e);var l=!1,n=!1,u;for(u in a)if(a.hasOwnProperty(u)){var c=a[u];if(c!=null)switch(u){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:he(e,t,u,c,a,null)}}n&&he(e,t,"srcSet",a.srcSet,a,null),l&&he(e,t,"src",a.src,a,null);return;case"input":ne("invalid",e);var s=u=c=n=null,h=null,_=null;for(l in a)if(a.hasOwnProperty(l)){var A=a[l];if(A!=null)switch(l){case"name":n=A;break;case"type":c=A;break;case"checked":h=A;break;case"defaultChecked":_=A;break;case"value":u=A;break;case"defaultValue":s=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:he(e,t,l,A,a,null)}}to(e,u,s,h,_,c,n,!1),Zn(e);return;case"select":ne("invalid",e),l=c=u=null;for(n in a)if(a.hasOwnProperty(n)&&(s=a[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:he(e,t,n,s,a,null)}t=u,a=c,e.multiple=!!l,t!=null?ka(e,!!l,t,!1):a!=null&&ka(e,!!l,a,!0);return;case"textarea":ne("invalid",e),u=n=l=null;for(c in a)if(a.hasOwnProperty(c)&&(s=a[c],s!=null))switch(c){case"value":l=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:he(e,t,c,s,a,null)}lo(e,l,n,u),Zn(e);return;case"option":for(h in a)if(a.hasOwnProperty(h)&&(l=a[h],l!=null))switch(h){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:he(e,t,h,l,a,null)}return;case"dialog":ne("beforetoggle",e),ne("toggle",e),ne("cancel",e),ne("close",e);break;case"iframe":case"object":ne("load",e);break;case"video":case"audio":for(l=0;l<vn.length;l++)ne(vn[l],e);break;case"image":ne("error",e),ne("load",e);break;case"details":ne("toggle",e);break;case"embed":case"source":case"link":ne("error",e),ne("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in a)if(a.hasOwnProperty(_)&&(l=a[_],l!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:he(e,t,_,l,a,null)}return;default:if(bi(t)){for(A in a)a.hasOwnProperty(A)&&(l=a[A],l!==void 0&&ls(e,t,A,l,a,void 0));return}}for(s in a)a.hasOwnProperty(s)&&(l=a[s],l!=null&&he(e,t,s,l,a,null))}function kv(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,s=null,h=null,_=null,A=null;for(T in a){var R=a[T];if(a.hasOwnProperty(T)&&R!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":h=R;default:l.hasOwnProperty(T)||he(e,t,T,null,l,R)}}for(var E in l){var T=l[E];if(R=a[E],l.hasOwnProperty(E)&&(T!=null||R!=null))switch(E){case"type":u=T;break;case"name":n=T;break;case"checked":_=T;break;case"defaultChecked":A=T;break;case"value":c=T;break;case"defaultValue":s=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(o(137,t));break;default:T!==R&&he(e,t,E,T,l,R)}}vi(e,c,s,h,_,A,u,n);return;case"select":T=c=s=E=null;for(u in a)if(h=a[u],a.hasOwnProperty(u)&&h!=null)switch(u){case"value":break;case"multiple":T=h;default:l.hasOwnProperty(u)||he(e,t,u,null,l,h)}for(n in l)if(u=l[n],h=a[n],l.hasOwnProperty(n)&&(u!=null||h!=null))switch(n){case"value":E=u;break;case"defaultValue":s=u;break;case"multiple":c=u;default:u!==h&&he(e,t,n,u,l,h)}t=s,a=c,l=T,E!=null?ka(e,!!a,E,!1):!!l!=!!a&&(t!=null?ka(e,!!a,t,!0):ka(e,!!a,a?[]:"",!1));return;case"textarea":T=E=null;for(s in a)if(n=a[s],a.hasOwnProperty(s)&&n!=null&&!l.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:he(e,t,s,null,l,n)}for(c in l)if(n=l[c],u=a[c],l.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":E=n;break;case"defaultValue":T=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&he(e,t,c,n,l,u)}ao(e,E,T);return;case"option":for(var k in a)if(E=a[k],a.hasOwnProperty(k)&&E!=null&&!l.hasOwnProperty(k))switch(k){case"selected":e.selected=!1;break;default:he(e,t,k,null,l,E)}for(h in l)if(E=l[h],T=a[h],l.hasOwnProperty(h)&&E!==T&&(E!=null||T!=null))switch(h){case"selected":e.selected=E&&typeof E!="function"&&typeof E!="symbol";break;default:he(e,t,h,E,l,T)}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 V in a)E=a[V],a.hasOwnProperty(V)&&E!=null&&!l.hasOwnProperty(V)&&he(e,t,V,null,l,E);for(_ in l)if(E=l[_],T=a[_],l.hasOwnProperty(_)&&E!==T&&(E!=null||T!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(o(137,t));break;default:he(e,t,_,E,l,T)}return;default:if(bi(t)){for(var me in a)E=a[me],a.hasOwnProperty(me)&&E!==void 0&&!l.hasOwnProperty(me)&&ls(e,t,me,void 0,l,E);for(A in l)E=l[A],T=a[A],!l.hasOwnProperty(A)||E===T||E===void 0&&T===void 0||ls(e,t,A,E,l,T);return}}for(var b in a)E=a[b],a.hasOwnProperty(b)&&E!=null&&!l.hasOwnProperty(b)&&he(e,t,b,null,l,E);for(R in l)E=l[R],T=a[R],!l.hasOwnProperty(R)||E===T||E==null&&T==null||he(e,t,R,E,l,T)}var ns=null,us=null;function Yu(e){return e.nodeType===9?e:e.ownerDocument}function id(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cd(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function is(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var cs=null;function Wv(){var e=window.event;return e&&e.type==="popstate"?e===cs?!1:(cs=e,!0):(cs=null,!1)}var sd=typeof setTimeout=="function"?setTimeout:void 0,Fv=typeof clearTimeout=="function"?clearTimeout:void 0,od=typeof Promise=="function"?Promise:void 0,Pv=typeof queueMicrotask=="function"?queueMicrotask:typeof od<"u"?function(e){return od.resolve(null).then(e).catch(Iv)}:sd;function Iv(e){setTimeout(function(){throw e})}function ya(e){return e==="head"}function rd(e,t){var a=t,l=0,n=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(0<l&&8>l){a=l;var c=e.ownerDocument;if(a&1&&bn(c.documentElement),a&2&&bn(c.body),a&4)for(a=c.head,bn(a),c=a.firstChild;c;){var s=c.nextSibling,h=c.nodeName;c[Cl]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=s}}if(n===0){e.removeChild(u),zn(t);return}n--}else a==="$"||a==="$?"||a==="$!"?n++:l=a.charCodeAt(0)-48;else l=0;a=u}while(a);zn(t)}function ss(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ss(a),hi(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function ep(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Cl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Tt(e.nextSibling),e===null)break}return null}function tp(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Tt(e.nextSibling),e===null))return null;return e}function os(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function ap(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Tt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var rs=null;function fd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function dd(e,t,a){switch(t=Yu(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function bn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);hi(e)}var xt=new Map,hd=new Set;function Lu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Jt=q.d;q.d={f:lp,r:np,D:up,C:ip,L:cp,m:sp,X:rp,S:op,M:fp};function lp(){var e=Jt.f(),t=Ru();return e||t}function np(e){var t=$a(e);t!==null&&t.tag===5&&t.type==="form"?Dr(t):Jt.r(e)}var Nl=typeof document>"u"?null:document;function md(e,t,a){var l=Nl;if(l&&typeof t=="string"&&t){var n=ht(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),hd.has(n)||(hd.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),Ge(t,"link",e),we(t),l.head.appendChild(t)))}}function up(e){Jt.D(e),md("dns-prefetch",e,null)}function ip(e,t){Jt.C(e,t),md("preconnect",e,t)}function cp(e,t,a){Jt.L(e,t,a);var l=Nl;if(l&&e&&t){var n='link[rel="preload"][as="'+ht(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+ht(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+ht(a.imageSizes)+'"]')):n+='[href="'+ht(e)+'"]';var u=n;switch(t){case"style":u=Al(e);break;case"script":u=zl(e)}xt.has(u)||(e=z({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),xt.set(u,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(xn(u))||t==="script"&&l.querySelector(Sn(u))||(t=l.createElement("link"),Ge(t,"link",e),we(t),l.head.appendChild(t)))}}function sp(e,t){Jt.m(e,t);var a=Nl;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+ht(l)+'"][href="'+ht(e)+'"]',u=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=zl(e)}if(!xt.has(u)&&(e=z({rel:"modulepreload",href:e},t),xt.set(u,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Sn(u)))return}l=a.createElement("link"),Ge(l,"link",e),we(l),a.head.appendChild(l)}}}function op(e,t,a){Jt.S(e,t,a);var l=Nl;if(l&&e){var n=Va(l).hoistableStyles,u=Al(e);t=t||"default";var c=n.get(u);if(!c){var s={loading:0,preload:null};if(c=l.querySelector(xn(u)))s.loading=5;else{e=z({rel:"stylesheet",href:e,"data-precedence":t},a),(a=xt.get(u))&&fs(e,a);var h=c=l.createElement("link");we(h),Ge(h,"link",e),h._p=new Promise(function(_,A){h.onload=_,h.onerror=A}),h.addEventListener("load",function(){s.loading|=1}),h.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Gu(c,t,l)}c={type:"stylesheet",instance:c,count:1,state:s},n.set(u,c)}}}function rp(e,t){Jt.X(e,t);var a=Nl;if(a&&e){var l=Va(a).hoistableScripts,n=zl(e),u=l.get(n);u||(u=a.querySelector(Sn(n)),u||(e=z({src:e,async:!0},t),(t=xt.get(n))&&ds(e,t),u=a.createElement("script"),we(u),Ge(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(n,u))}}function fp(e,t){Jt.M(e,t);var a=Nl;if(a&&e){var l=Va(a).hoistableScripts,n=zl(e),u=l.get(n);u||(u=a.querySelector(Sn(n)),u||(e=z({src:e,async:!0,type:"module"},t),(t=xt.get(n))&&ds(e,t),u=a.createElement("script"),we(u),Ge(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(n,u))}}function gd(e,t,a,l){var n=(n=P.current)?Lu(n):null;if(!n)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Al(a.href),a=Va(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Al(a.href);var u=Va(n).hoistableStyles,c=u.get(e);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,c),(u=n.querySelector(xn(e)))&&!u._p&&(c.instance=u,c.state.loading=5),xt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},xt.set(e,a),u||dp(n,e,a,c.state))),t&&l===null)throw Error(o(528,""));return c}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=zl(a),a=Va(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Al(e){return'href="'+ht(e)+'"'}function xn(e){return'link[rel="stylesheet"]['+e+"]"}function yd(e){return z({},e,{"data-precedence":e.precedence,precedence:null})}function dp(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Ge(t,"link",a),we(t),e.head.appendChild(t))}function zl(e){return'[src="'+ht(e)+'"]'}function Sn(e){return"script[async]"+e}function vd(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+ht(a.href)+'"]');if(l)return t.instance=l,we(l),l;var n=z({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),we(l),Ge(l,"style",n),Gu(l,a.precedence,e),t.instance=l;case"stylesheet":n=Al(a.href);var u=e.querySelector(xn(n));if(u)return t.state.loading|=4,t.instance=u,we(u),u;l=yd(a),(n=xt.get(n))&&fs(l,n),u=(e.ownerDocument||e).createElement("link"),we(u);var c=u;return c._p=new Promise(function(s,h){c.onload=s,c.onerror=h}),Ge(u,"link",l),t.state.loading|=4,Gu(u,a.precedence,e),t.instance=u;case"script":return u=zl(a.src),(n=e.querySelector(Sn(u)))?(t.instance=n,we(n),n):(l=a,(n=xt.get(u))&&(l=z({},a),ds(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),we(n),Ge(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Gu(l,a.precedence,e));return t.instance}function Gu(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,u=n,c=0;c<l.length;c++){var s=l[c];if(s.dataset.precedence===t)u=s;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function fs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ds(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Xu=null;function pd(e,t,a){if(Xu===null){var l=new Map,n=Xu=new Map;n.set(a,l)}else n=Xu,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var u=a[n];if(!(u[Cl]||u[$e]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=e+c;var s=l.get(c);s?s.push(u):l.set(c,[u])}}return l}function bd(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function hp(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function xd(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var _n=null;function mp(){}function gp(e,t,a){if(_n===null)throw Error(o(475));var l=_n;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Al(a.href),u=e.querySelector(xn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=Qu.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,we(u);return}u=e.ownerDocument||e,a=yd(a),(n=xt.get(n))&&fs(a,n),u=u.createElement("link"),we(u);var c=u;c._p=new Promise(function(s,h){c.onload=s,c.onerror=h}),Ge(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=Qu.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function yp(){if(_n===null)throw Error(o(475));var e=_n;return e.stylesheets&&e.count===0&&hs(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&hs(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function Qu(){if(this.count--,this.count===0){if(this.stylesheets)hs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zu=null;function hs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zu=new Map,t.forEach(vp,e),Zu=null,Qu.call(e))}function vp(e,t){if(!(t.state.loading&4)){var a=Zu.get(e);if(a)var l=a.get(null);else{a=new Map,Zu.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(a.set(c.dataset.precedence,c),l=c)}l&&a.set(null,l)}n=t.instance,c=n.getAttribute("data-precedence"),u=a.get(c)||l,u===l&&a.set(null,n),a.set(c,n),this.count++,l=Qu.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var En={$$typeof:I,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function pp(e,t,a,l,n,u,c,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=oi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oi(0),this.hiddenUpdates=oi(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Sd(e,t,a,l,n,u,c,s,h,_,A,R){return e=new pp(e,t,a,c,s,h,_,R),t=1,u===!0&&(t|=24),u=ut(3,null,null,t),e.current=u,u.stateNode=e,t=Ji(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:l,isDehydrated:a,cache:t},Pi(u),e}function _d(e){return e?(e=nl,e):nl}function Ed(e,t,a,l,n,u){n=_d(n),l.context===null?l.context=n:l.pendingContext=n,l=la(t),l.payload={element:a},u=u===void 0?null:u,u!==null&&(l.callback=u),a=na(e,l,t),a!==null&&(rt(a,e,t),Pl(a,e,t))}function Td(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function ms(e,t){Td(e,t),(e=e.alternate)&&Td(e,t)}function Nd(e){if(e.tag===13){var t=ll(e,67108864);t!==null&&rt(t,e,67108864),ms(e,67108864)}}var $u=!0;function bp(e,t,a,l){var n=O.T;O.T=null;var u=q.p;try{q.p=2,gs(e,t,a,l)}finally{q.p=u,O.T=n}}function xp(e,t,a,l){var n=O.T;O.T=null;var u=q.p;try{q.p=8,gs(e,t,a,l)}finally{q.p=u,O.T=n}}function gs(e,t,a,l){if($u){var n=ys(l);if(n===null)as(e,t,l,Vu,a),zd(e,l);else if(_p(n,e,t,a,l))l.stopPropagation();else if(zd(e,l),t&4&&-1<Sp.indexOf(e)){for(;n!==null;){var u=$a(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=Na(u.pendingLanes);if(c!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;c;){var h=1<<31-lt(c);s.entanglements[1]|=h,c&=~h}Mt(u),(re&6)===0&&(ju=Nt()+500,yn(0))}}break;case 13:s=ll(u,2),s!==null&&rt(s,u,2),Ru(),ms(u,2)}if(u=ys(l),u===null&&as(e,t,l,Vu,a),u===n)break;n=u}n!==null&&l.stopPropagation()}else as(e,t,l,null,a)}}function ys(e){return e=Si(e),vs(e)}var Vu=null;function vs(e){if(Vu=null,e=Za(e),e!==null){var t=p(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=N(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Vu=e,null}function Ad(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(iy()){case qs:return 2;case Ys:return 8;case qn:case cy:return 32;case Ls:return 268435456;default:return 32}default:return 32}}var ps=!1,va=null,pa=null,ba=null,Tn=new Map,Nn=new Map,xa=[],Sp="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 zd(e,t){switch(e){case"focusin":case"focusout":va=null;break;case"dragenter":case"dragleave":pa=null;break;case"mouseover":case"mouseout":ba=null;break;case"pointerover":case"pointerout":Tn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nn.delete(t.pointerId)}}function An(e,t,a,l,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:u,targetContainers:[n]},t!==null&&(t=$a(t),t!==null&&Nd(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function _p(e,t,a,l,n){switch(t){case"focusin":return va=An(va,e,t,a,l,n),!0;case"dragenter":return pa=An(pa,e,t,a,l,n),!0;case"mouseover":return ba=An(ba,e,t,a,l,n),!0;case"pointerover":var u=n.pointerId;return Tn.set(u,An(Tn.get(u)||null,e,t,a,l,n)),!0;case"gotpointercapture":return u=n.pointerId,Nn.set(u,An(Nn.get(u)||null,e,t,a,l,n)),!0}return!1}function Od(e){var t=Za(e.target);if(t!==null){var a=p(t);if(a!==null){if(t=a.tag,t===13){if(t=N(a),t!==null){e.blockedOn=t,gy(e.priority,function(){if(a.tag===13){var l=ot();l=ri(l);var n=ll(a,l);n!==null&&rt(n,a,l),ms(a,l)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ku(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=ys(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);xi=l,a.target.dispatchEvent(l),xi=null}else return t=$a(a),t!==null&&Nd(t),e.blockedOn=a,!1;t.shift()}return!0}function jd(e,t,a){Ku(e)&&a.delete(t)}function Ep(){ps=!1,va!==null&&Ku(va)&&(va=null),pa!==null&&Ku(pa)&&(pa=null),ba!==null&&Ku(ba)&&(ba=null),Tn.forEach(jd),Nn.forEach(jd)}function Ju(e,t){e.blockedOn===t&&(e.blockedOn=null,ps||(ps=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ep)))}var ku=null;function Md(e){ku!==e&&(ku=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){ku===e&&(ku=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(vs(l||a)===null)continue;break}var u=$a(a);u!==null&&(e.splice(t,3),t-=3,vc(u,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function zn(e){function t(h){return Ju(h,e)}va!==null&&Ju(va,e),pa!==null&&Ju(pa,e),ba!==null&&Ju(ba,e),Tn.forEach(t),Nn.forEach(t);for(var a=0;a<xa.length;a++){var l=xa[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<xa.length&&(a=xa[0],a.blockedOn===null);)Od(a),a.blockedOn===null&&xa.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],u=a[l+1],c=n[ke]||null;if(typeof u=="function")c||Md(a);else if(c){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[ke]||null)s=c.formAction;else if(vs(n)!==null)continue}else s=c.action;typeof s=="function"?a[l+1]=s:(a.splice(l,3),l-=3),Md(a)}}}function bs(e){this._internalRoot=e}Wu.prototype.render=bs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,l=ot();Ed(a,l,e,t,null,null)},Wu.prototype.unmount=bs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ed(e.current,2,null,e,null,null),Ru(),t[Qa]=null}};function Wu(e){this._internalRoot=e}Wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=$s();e={blockedOn:null,target:e,priority:t};for(var a=0;a<xa.length&&t!==0&&t<xa[a].priority;a++);xa.splice(a,0,e),a===0&&Od(e)}};var Rd=r.version;if(Rd!=="19.1.1")throw Error(o(527,Rd,"19.1.1"));q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=x(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var Tp={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fu.isDisabled&&Fu.supportsFiber)try{Ml=Fu.inject(Tp),at=Fu}catch{}}return jn.createRoot=function(e,t){if(!d(e))throw Error(o(299));var a=!1,l="",n=Vr,u=Kr,c=Jr,s=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(s=t.unstable_transitionCallbacks)),t=Sd(e,1,!1,null,null,a,l,n,u,c,s,null),e[Qa]=t.current,ts(e),new bs(t)},jn.hydrateRoot=function(e,t,a){if(!d(e))throw Error(o(299));var l=!1,n="",u=Vr,c=Kr,s=Jr,h=null,_=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(c=a.onCaughtError),a.onRecoverableError!==void 0&&(s=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(h=a.unstable_transitionCallbacks),a.formState!==void 0&&(_=a.formState)),t=Sd(e,1,!0,t,a??null,l,n,u,c,s,h,_),t.context=_d(null),a=t.current,l=ot(),l=ri(l),n=la(l),n.callback=null,na(a,n,l),a=l,t.current.lanes=a,Dl(t,a),Mt(t),e[Qa]=t.current,ts(e),new Wu(t)},jn.version="19.1.1",jn}var Gd;function Hp(){if(Gd)return _s.exports;Gd=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(r){console.error(r)}}return i(),_s.exports=wp(),_s.exports}var Bp=Hp();/**
 * react-router v7.8.0
 *
 * 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 Xd="popstate";function qp(i={}){function r(o,d){let{pathname:p,search:N,hash:D}=o.location;return js("",{pathname:p,search:N,hash:D},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function f(o,d){return typeof d=="string"?d:Cn(d)}return Lp(r,f,null,i)}function _e(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Rt(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Yp(){return Math.random().toString(36).substring(2,10)}function Qd(i,r){return{usr:i.state,key:i.key,idx:r}}function js(i,r,f=null,o){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?Ol(r):r,state:f,key:r&&r.key||o||Yp()}}function Cn({pathname:i="/",search:r="",hash:f=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),f&&f!=="#"&&(i+=f.charAt(0)==="#"?f:"#"+f),i}function Ol(i){let r={};if(i){let f=i.indexOf("#");f>=0&&(r.hash=i.substring(f),i=i.substring(0,f));let o=i.indexOf("?");o>=0&&(r.search=i.substring(o),i=i.substring(0,o)),i&&(r.pathname=i)}return r}function Lp(i,r,f,o={}){let{window:d=document.defaultView,v5Compat:p=!1}=o,N=d.history,D="POP",x=null,m=z();m==null&&(m=0,N.replaceState({...N.state,idx:m},""));function z(){return(N.state||{idx:null}).idx}function U(){D="POP";let X=z(),H=X==null?null:X-m;m=X,x&&x({action:D,location:Z.location,delta:H})}function w(X,H){D="PUSH";let ie=js(Z.location,X,H);m=z()+1;let I=Qd(ie,m),xe=Z.createHref(ie);try{N.pushState(I,"",xe)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;d.location.assign(xe)}p&&x&&x({action:D,location:Z.location,delta:1})}function W(X,H){D="REPLACE";let ie=js(Z.location,X,H);m=z();let I=Qd(ie,m),xe=Z.createHref(ie);N.replaceState(I,"",xe),p&&x&&x({action:D,location:Z.location,delta:0})}function Q(X){return Gp(X)}let Z={get action(){return D},get location(){return i(d,N)},listen(X){if(x)throw new Error("A history only accepts one active listener");return d.addEventListener(Xd,U),x=X,()=>{d.removeEventListener(Xd,U),x=null}},createHref(X){return r(d,X)},createURL:Q,encodeLocation(X){let H=Q(X);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:w,replace:W,go(X){return N.go(X)}};return Z}function Gp(i,r=!1){let f="http://localhost";typeof window<"u"&&(f=window.location.origin!=="null"?window.location.origin:window.location.href),_e(f,"No window.location.(origin|href) available to create URL");let o=typeof i=="string"?i:Cn(i);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=f+o),new URL(o,f)}function Wd(i,r,f="/"){return Xp(i,r,f,!1)}function Xp(i,r,f,o){let d=typeof r=="string"?Ol(r):r,p=Wt(d.pathname||"/",f);if(p==null)return null;let N=Fd(i);Qp(N);let D=null;for(let x=0;D==null&&x<N.length;++x){let m=e1(p);D=Pp(N[x],m,o)}return D}function Fd(i,r=[],f=[],o=""){let d=(p,N,D)=>{let x={relativePath:D===void 0?p.path||"":D,caseSensitive:p.caseSensitive===!0,childrenIndex:N,route:p};x.relativePath.startsWith("/")&&(_e(x.relativePath.startsWith(o),`Absolute route path "${x.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(o.length));let m=kt([o,x.relativePath]),z=f.concat(x);p.children&&p.children.length>0&&(_e(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Fd(p.children,r,z,m)),!(p.path==null&&!p.index)&&r.push({path:m,score:Wp(m,p.index),routesMeta:z})};return i.forEach((p,N)=>{if(p.path===""||!p.path?.includes("?"))d(p,N);else for(let D of Pd(p.path))d(p,N,D)}),r}function Pd(i){let r=i.split("/");if(r.length===0)return[];let[f,...o]=r,d=f.endsWith("?"),p=f.replace(/\?$/,"");if(o.length===0)return d?[p,""]:[p];let N=Pd(o.join("/")),D=[];return D.push(...N.map(x=>x===""?p:[p,x].join("/"))),d&&D.push(...N),D.map(x=>i.startsWith("/")&&x===""?"/":x)}function Qp(i){i.sort((r,f)=>r.score!==f.score?f.score-r.score:Fp(r.routesMeta.map(o=>o.childrenIndex),f.routesMeta.map(o=>o.childrenIndex)))}var Zp=/^:[\w-]+$/,$p=3,Vp=2,Kp=1,Jp=10,kp=-2,Zd=i=>i==="*";function Wp(i,r){let f=i.split("/"),o=f.length;return f.some(Zd)&&(o+=kp),r&&(o+=Vp),f.filter(d=>!Zd(d)).reduce((d,p)=>d+(Zp.test(p)?$p:p===""?Kp:Jp),o)}function Fp(i,r){return i.length===r.length&&i.slice(0,-1).every((o,d)=>o===r[d])?i[i.length-1]-r[r.length-1]:0}function Pp(i,r,f=!1){let{routesMeta:o}=i,d={},p="/",N=[];for(let D=0;D<o.length;++D){let x=o[D],m=D===o.length-1,z=p==="/"?r:r.slice(p.length)||"/",U=ti({path:x.relativePath,caseSensitive:x.caseSensitive,end:m},z),w=x.route;if(!U&&m&&f&&!o[o.length-1].route.index&&(U=ti({path:x.relativePath,caseSensitive:x.caseSensitive,end:!1},z)),!U)return null;Object.assign(d,U.params),N.push({params:d,pathname:kt([p,U.pathname]),pathnameBase:n1(kt([p,U.pathnameBase])),route:w}),U.pathnameBase!=="/"&&(p=kt([p,U.pathnameBase]))}return N}function ti(i,r){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[f,o]=Ip(i.path,i.caseSensitive,i.end),d=r.match(f);if(!d)return null;let p=d[0],N=p.replace(/(.)\/+$/,"$1"),D=d.slice(1);return{params:o.reduce((m,{paramName:z,isOptional:U},w)=>{if(z==="*"){let Q=D[w]||"";N=p.slice(0,p.length-Q.length).replace(/(.)\/+$/,"$1")}const W=D[w];return U&&!W?m[z]=void 0:m[z]=(W||"").replace(/%2F/g,"/"),m},{}),pathname:p,pathnameBase:N,pattern:i}}function Ip(i,r=!1,f=!0){Rt(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 o=[],d="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(N,D,x)=>(o.push({paramName:D,isOptional:x!=null}),x?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(o.push({paramName:"*"}),d+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):f?d+="\\/*$":i!==""&&i!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,r?void 0:"i"),o]}function e1(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Rt(!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 (${r}).`),i}}function Wt(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let f=r.endsWith("/")?r.length-1:r.length,o=i.charAt(f);return o&&o!=="/"?null:i.slice(f)||"/"}function t1(i,r="/"){let{pathname:f,search:o="",hash:d=""}=typeof i=="string"?Ol(i):i;return{pathname:f?f.startsWith("/")?f:a1(f,r):r,search:u1(o),hash:i1(d)}}function a1(i,r){let f=r.replace(/\/+$/,"").split("/");return i.split("/").forEach(d=>{d===".."?f.length>1&&f.pop():d!=="."&&f.push(d)}),f.length>1?f.join("/"):"/"}function As(i,r,f,o){return`Cannot include a '${i}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${f}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function l1(i){return i.filter((r,f)=>f===0||r.route.path&&r.route.path.length>0)}function Id(i){let r=l1(i);return r.map((f,o)=>o===r.length-1?f.pathname:f.pathnameBase)}function eh(i,r,f,o=!1){let d;typeof i=="string"?d=Ol(i):(d={...i},_e(!d.pathname||!d.pathname.includes("?"),As("?","pathname","search",d)),_e(!d.pathname||!d.pathname.includes("#"),As("#","pathname","hash",d)),_e(!d.search||!d.search.includes("#"),As("#","search","hash",d)));let p=i===""||d.pathname==="",N=p?"/":d.pathname,D;if(N==null)D=f;else{let U=r.length-1;if(!o&&N.startsWith("..")){let w=N.split("/");for(;w[0]==="..";)w.shift(),U-=1;d.pathname=w.join("/")}D=U>=0?r[U]:"/"}let x=t1(d,D),m=N&&N!=="/"&&N.endsWith("/"),z=(p||N===".")&&f.endsWith("/");return!x.pathname.endsWith("/")&&(m||z)&&(x.pathname+="/"),x}var kt=i=>i.join("/").replace(/\/\/+/g,"/"),n1=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),u1=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,i1=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function c1(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var th=["POST","PUT","PATCH","DELETE"];new Set(th);var s1=["GET",...th];new Set(s1);var jl=M.createContext(null);jl.displayName="DataRouter";var ai=M.createContext(null);ai.displayName="DataRouterState";M.createContext(!1);var ah=M.createContext({isTransitioning:!1});ah.displayName="ViewTransition";var o1=M.createContext(new Map);o1.displayName="Fetchers";var r1=M.createContext(null);r1.displayName="Await";var Dt=M.createContext(null);Dt.displayName="Navigation";var Un=M.createContext(null);Un.displayName="Location";var Ct=M.createContext({outlet:null,matches:[],isDataRoute:!1});Ct.displayName="Route";var Ds=M.createContext(null);Ds.displayName="RouteError";function f1(i,{relative:r}={}){_e(wn(),"useHref() may be used only in the context of a <Router> component.");let{basename:f,navigator:o}=M.useContext(Dt),{hash:d,pathname:p,search:N}=Hn(i,{relative:r}),D=p;return f!=="/"&&(D=p==="/"?f:kt([f,p])),o.createHref({pathname:D,search:N,hash:d})}function wn(){return M.useContext(Un)!=null}function _a(){return _e(wn(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Un).location}var lh="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nh(i){M.useContext(Dt).static||M.useLayoutEffect(i)}function d1(){let{isDataRoute:i}=M.useContext(Ct);return i?N1():h1()}function h1(){_e(wn(),"useNavigate() may be used only in the context of a <Router> component.");let i=M.useContext(jl),{basename:r,navigator:f}=M.useContext(Dt),{matches:o}=M.useContext(Ct),{pathname:d}=_a(),p=JSON.stringify(Id(o)),N=M.useRef(!1);return nh(()=>{N.current=!0}),M.useCallback((x,m={})=>{if(Rt(N.current,lh),!N.current)return;if(typeof x=="number"){f.go(x);return}let z=eh(x,JSON.parse(p),d,m.relative==="path");i==null&&r!=="/"&&(z.pathname=z.pathname==="/"?r:kt([r,z.pathname])),(m.replace?f.replace:f.push)(z,m.state,m)},[r,f,p,d,i])}M.createContext(null);function uh(){let{matches:i}=M.useContext(Ct),r=i[i.length-1];return r?r.params:{}}function Hn(i,{relative:r}={}){let{matches:f}=M.useContext(Ct),{pathname:o}=_a(),d=JSON.stringify(Id(f));return M.useMemo(()=>eh(i,JSON.parse(d),o,r==="path"),[i,d,o,r])}function m1(i,r){return ih(i,r)}function ih(i,r,f,o){_e(wn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=M.useContext(Dt),{matches:p}=M.useContext(Ct),N=p[p.length-1],D=N?N.params:{},x=N?N.pathname:"/",m=N?N.pathnameBase:"/",z=N&&N.route;{let H=z&&z.path||"";ch(x,!z||H.endsWith("*")||H.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${H}">) 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="${H}"> to <Route path="${H==="/"?"*":`${H}/*`}">.`)}let U=_a(),w;if(r){let H=typeof r=="string"?Ol(r):r;_e(m==="/"||H.pathname?.startsWith(m),`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 "${m}" but pathname "${H.pathname}" was given in the \`location\` prop.`),w=H}else w=U;let W=w.pathname||"/",Q=W;if(m!=="/"){let H=m.replace(/^\//,"").split("/");Q="/"+W.replace(/^\//,"").split("/").slice(H.length).join("/")}let Z=Wd(i,{pathname:Q});Rt(z||Z!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Rt(Z==null||Z[Z.length-1].route.element!==void 0||Z[Z.length-1].route.Component!==void 0||Z[Z.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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 X=b1(Z&&Z.map(H=>Object.assign({},H,{params:Object.assign({},D,H.params),pathname:kt([m,d.encodeLocation?d.encodeLocation(H.pathname).pathname:H.pathname]),pathnameBase:H.pathnameBase==="/"?m:kt([m,d.encodeLocation?d.encodeLocation(H.pathnameBase).pathname:H.pathnameBase])})),p,f,o);return r&&X?M.createElement(Un.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},X):X}function g1(){let i=T1(),r=c1(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),f=i instanceof Error?i.stack:null,o="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:o},p={padding:"2px 4px",backgroundColor:o},N=null;return console.error("Error handled by React Router default ErrorBoundary:",i),N=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:p},"ErrorBoundary")," or"," ",M.createElement("code",{style:p},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},r),f?M.createElement("pre",{style:d},f):null,N)}var y1=M.createElement(g1,null),v1=class extends M.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,r){return r.location!==i.location||r.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:r.error,location:r.location,revalidation:i.revalidation||r.revalidation}}componentDidCatch(i,r){console.error("React Router caught the following error during render",i,r)}render(){return this.state.error!==void 0?M.createElement(Ct.Provider,{value:this.props.routeContext},M.createElement(Ds.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function p1({routeContext:i,match:r,children:f}){let o=M.useContext(jl);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),M.createElement(Ct.Provider,{value:i},f)}function b1(i,r=[],f=null,o=null){if(i==null){if(!f)return null;if(f.errors)i=f.matches;else if(r.length===0&&!f.initialized&&f.matches.length>0)i=f.matches;else return null}let d=i,p=f?.errors;if(p!=null){let x=d.findIndex(m=>m.route.id&&p?.[m.route.id]!==void 0);_e(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let N=!1,D=-1;if(f)for(let x=0;x<d.length;x++){let m=d[x];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(D=x),m.route.id){let{loaderData:z,errors:U}=f,w=m.route.loader&&!z.hasOwnProperty(m.route.id)&&(!U||U[m.route.id]===void 0);if(m.route.lazy||w){N=!0,D>=0?d=d.slice(0,D+1):d=[d[0]];break}}}return d.reduceRight((x,m,z)=>{let U,w=!1,W=null,Q=null;f&&(U=p&&m.route.id?p[m.route.id]:void 0,W=m.route.errorElement||y1,N&&(D<0&&z===0?(ch("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,Q=null):D===z&&(w=!0,Q=m.route.hydrateFallbackElement||null)));let Z=r.concat(d.slice(0,z+1)),X=()=>{let H;return U?H=W:w?H=Q:m.route.Component?H=M.createElement(m.route.Component,null):m.route.element?H=m.route.element:H=x,M.createElement(p1,{match:m,routeContext:{outlet:x,matches:Z,isDataRoute:f!=null},children:H})};return f&&(m.route.ErrorBoundary||m.route.errorElement||z===0)?M.createElement(v1,{location:f.location,revalidation:f.revalidation,component:W,error:U,children:X(),routeContext:{outlet:null,matches:Z,isDataRoute:!0}}):X()},null)}function Cs(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function x1(i){let r=M.useContext(jl);return _e(r,Cs(i)),r}function S1(i){let r=M.useContext(ai);return _e(r,Cs(i)),r}function _1(i){let r=M.useContext(Ct);return _e(r,Cs(i)),r}function Us(i){let r=_1(i),f=r.matches[r.matches.length-1];return _e(f.route.id,`${i} can only be used on routes that contain a unique "id"`),f.route.id}function E1(){return Us("useRouteId")}function T1(){let i=M.useContext(Ds),r=S1("useRouteError"),f=Us("useRouteError");return i!==void 0?i:r.errors?.[f]}function N1(){let{router:i}=x1("useNavigate"),r=Us("useNavigate"),f=M.useRef(!1);return nh(()=>{f.current=!0}),M.useCallback(async(d,p={})=>{Rt(f.current,lh),f.current&&(typeof d=="number"?i.navigate(d):await i.navigate(d,{fromRouteId:r,...p}))},[i,r])}var $d={};function ch(i,r,f){!r&&!$d[i]&&($d[i]=!0,Rt(!1,f))}M.memo(A1);function A1({routes:i,future:r,state:f}){return ih(i,void 0,f,r)}function Dn(i){_e(!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 z1({basename:i="/",children:r=null,location:f,navigationType:o="POP",navigator:d,static:p=!1}){_e(!wn(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let N=i.replace(/^\/*/,"/"),D=M.useMemo(()=>({basename:N,navigator:d,static:p,future:{}}),[N,d,p]);typeof f=="string"&&(f=Ol(f));let{pathname:x="/",search:m="",hash:z="",state:U=null,key:w="default"}=f,W=M.useMemo(()=>{let Q=Wt(x,N);return Q==null?null:{location:{pathname:Q,search:m,hash:z,state:U,key:w},navigationType:o}},[N,x,m,z,U,w,o]);return Rt(W!=null,`<Router basename="${N}"> is not able to match the URL "${x}${m}${z}" because it does not start with the basename, so the <Router> won't render anything.`),W==null?null:M.createElement(Dt.Provider,{value:D},M.createElement(Un.Provider,{children:r,value:W}))}function O1({children:i,location:r}){return m1(Ms(i),r)}function Ms(i,r=[]){let f=[];return M.Children.forEach(i,(o,d)=>{if(!M.isValidElement(o))return;let p=[...r,d];if(o.type===M.Fragment){f.push.apply(f,Ms(o.props.children,p));return}_e(o.type===Dn,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),_e(!o.props.index||!o.props.children,"An index route cannot have child routes.");let N={id:o.props.id||p.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(N.children=Ms(o.props.children,p)),f.push(N)}),f}var Iu="get",ei="application/x-www-form-urlencoded";function li(i){return i!=null&&typeof i.tagName=="string"}function j1(i){return li(i)&&i.tagName.toLowerCase()==="button"}function M1(i){return li(i)&&i.tagName.toLowerCase()==="form"}function R1(i){return li(i)&&i.tagName.toLowerCase()==="input"}function D1(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function C1(i,r){return i.button===0&&(!r||r==="_self")&&!D1(i)}var Pu=null;function U1(){if(Pu===null)try{new FormData(document.createElement("form"),0),Pu=!1}catch{Pu=!0}return Pu}var w1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function zs(i){return i!=null&&!w1.has(i)?(Rt(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ei}"`),null):i}function H1(i,r){let f,o,d,p,N;if(M1(i)){let D=i.getAttribute("action");o=D?Wt(D,r):null,f=i.getAttribute("method")||Iu,d=zs(i.getAttribute("enctype"))||ei,p=new FormData(i)}else if(j1(i)||R1(i)&&(i.type==="submit"||i.type==="image")){let D=i.form;if(D==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let x=i.getAttribute("formaction")||D.getAttribute("action");if(o=x?Wt(x,r):null,f=i.getAttribute("formmethod")||D.getAttribute("method")||Iu,d=zs(i.getAttribute("formenctype"))||zs(D.getAttribute("enctype"))||ei,p=new FormData(D,i),!U1()){let{name:m,type:z,value:U}=i;if(z==="image"){let w=m?`${m}.`:"";p.append(`${w}x`,"0"),p.append(`${w}y`,"0")}else m&&p.append(m,U)}}else{if(li(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');f=Iu,o=null,d=ei,N=i}return p&&d==="text/plain"&&(N=p,p=void 0),{action:o,method:f.toLowerCase(),encType:d,formData:p,body:N}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ws(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function B1(i,r,f){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return o.pathname==="/"?o.pathname=`_root.${f}`:r&&Wt(o.pathname,r)==="/"?o.pathname=`${r.replace(/\/$/,"")}/_root.${f}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${f}`,o}async function q1(i,r){if(i.id in r)return r[i.id];try{let f=await import(i.module);return r[i.id]=f,f}catch(f){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(f),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Y1(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 L1(i,r,f){let o=await Promise.all(i.map(async d=>{let p=r.routes[d.route.id];if(p){let N=await q1(p,f);return N.links?N.links():[]}return[]}));return Z1(o.flat(1).filter(Y1).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Vd(i,r,f,o,d,p){let N=(x,m)=>f[m]?x.route.id!==f[m].route.id:!0,D=(x,m)=>f[m].pathname!==x.pathname||f[m].route.path?.endsWith("*")&&f[m].params["*"]!==x.params["*"];return p==="assets"?r.filter((x,m)=>N(x,m)||D(x,m)):p==="data"?r.filter((x,m)=>{let z=o.routes[x.route.id];if(!z||!z.hasLoader)return!1;if(N(x,m)||D(x,m))return!0;if(x.route.shouldRevalidate){let U=x.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:f[0]?.params||{},nextUrl:new URL(i,window.origin),nextParams:x.params,defaultShouldRevalidate:!0});if(typeof U=="boolean")return U}return!0}):[]}function G1(i,r,{includeHydrateFallback:f}={}){return X1(i.map(o=>{let d=r.routes[o.route.id];if(!d)return[];let p=[d.module];return d.clientActionModule&&(p=p.concat(d.clientActionModule)),d.clientLoaderModule&&(p=p.concat(d.clientLoaderModule)),f&&d.hydrateFallbackModule&&(p=p.concat(d.hydrateFallbackModule)),d.imports&&(p=p.concat(d.imports)),p}).flat(1))}function X1(i){return[...new Set(i)]}function Q1(i){let r={},f=Object.keys(i).sort();for(let o of f)r[o]=i[o];return r}function Z1(i,r){let f=new Set;return new Set(r),i.reduce((o,d)=>{let p=JSON.stringify(Q1(d));return f.has(p)||(f.add(p),o.push({key:p,link:d})),o},[])}function sh(){let i=M.useContext(jl);return ws(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function $1(){let i=M.useContext(ai);return ws(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var Hs=M.createContext(void 0);Hs.displayName="FrameworkContext";function oh(){let i=M.useContext(Hs);return ws(i,"You must render this element inside a <HydratedRouter> element"),i}function V1(i,r){let f=M.useContext(Hs),[o,d]=M.useState(!1),[p,N]=M.useState(!1),{onFocus:D,onBlur:x,onMouseEnter:m,onMouseLeave:z,onTouchStart:U}=r,w=M.useRef(null);M.useEffect(()=>{if(i==="render"&&N(!0),i==="viewport"){let Z=H=>{H.forEach(ie=>{N(ie.isIntersecting)})},X=new IntersectionObserver(Z,{threshold:.5});return w.current&&X.observe(w.current),()=>{X.disconnect()}}},[i]),M.useEffect(()=>{if(o){let Z=setTimeout(()=>{N(!0)},100);return()=>{clearTimeout(Z)}}},[o]);let W=()=>{d(!0)},Q=()=>{d(!1),N(!1)};return f?i!=="intent"?[p,w,{}]:[p,w,{onFocus:Mn(D,W),onBlur:Mn(x,Q),onMouseEnter:Mn(m,W),onMouseLeave:Mn(z,Q),onTouchStart:Mn(U,W)}]:[!1,w,{}]}function Mn(i,r){return f=>{i&&i(f),f.defaultPrevented||r(f)}}function K1({page:i,...r}){let{router:f}=sh(),o=M.useMemo(()=>Wd(f.routes,i,f.basename),[f.routes,i,f.basename]);return o?M.createElement(k1,{page:i,matches:o,...r}):null}function J1(i){let{manifest:r,routeModules:f}=oh(),[o,d]=M.useState([]);return M.useEffect(()=>{let p=!1;return L1(i,r,f).then(N=>{p||d(N)}),()=>{p=!0}},[i,r,f]),o}function k1({page:i,matches:r,...f}){let o=_a(),{manifest:d,routeModules:p}=oh(),{basename:N}=sh(),{loaderData:D,matches:x}=$1(),m=M.useMemo(()=>Vd(i,r,x,d,o,"data"),[i,r,x,d,o]),z=M.useMemo(()=>Vd(i,r,x,d,o,"assets"),[i,r,x,d,o]),U=M.useMemo(()=>{if(i===o.pathname+o.search+o.hash)return[];let Q=new Set,Z=!1;if(r.forEach(H=>{let ie=d.routes[H.route.id];!ie||!ie.hasLoader||(!m.some(I=>I.route.id===H.route.id)&&H.route.id in D&&p[H.route.id]?.shouldRevalidate||ie.hasClientLoader?Z=!0:Q.add(H.route.id))}),Q.size===0)return[];let X=B1(i,N,"data");return Z&&Q.size>0&&X.searchParams.set("_routes",r.filter(H=>Q.has(H.route.id)).map(H=>H.route.id).join(",")),[X.pathname+X.search]},[N,D,o,d,m,r,i,p]),w=M.useMemo(()=>G1(z,d),[z,d]),W=J1(z);return M.createElement(M.Fragment,null,U.map(Q=>M.createElement("link",{key:Q,rel:"prefetch",as:"fetch",href:Q,...f})),w.map(Q=>M.createElement("link",{key:Q,rel:"modulepreload",href:Q,...f})),W.map(({key:Q,link:Z})=>M.createElement("link",{key:Q,nonce:f.nonce,...Z})))}function W1(...i){return r=>{i.forEach(f=>{typeof f=="function"?f(r):f!=null&&(f.current=r)})}}var rh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{rh&&(window.__reactRouterVersion="7.8.0")}catch{}function F1({basename:i,children:r,window:f}){let o=M.useRef();o.current==null&&(o.current=qp({window:f,v5Compat:!0}));let d=o.current,[p,N]=M.useState({action:d.action,location:d.location}),D=M.useCallback(x=>{M.startTransition(()=>N(x))},[N]);return M.useLayoutEffect(()=>d.listen(D),[d,D]),M.createElement(z1,{basename:i,children:r,location:p.location,navigationType:p.action,navigator:d})}var fh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xe=M.forwardRef(function({onClick:r,discover:f="render",prefetch:o="none",relative:d,reloadDocument:p,replace:N,state:D,target:x,to:m,preventScrollReset:z,viewTransition:U,...w},W){let{basename:Q}=M.useContext(Dt),Z=typeof m=="string"&&fh.test(m),X,H=!1;if(typeof m=="string"&&Z&&(X=m,rh))try{let Ee=new URL(window.location.href),et=m.startsWith("//")?new URL(Ee.protocol+m):new URL(m),ft=Wt(et.pathname,Q);et.origin===Ee.origin&&ft!=null?m=ft+et.search+et.hash:H=!0}catch{Rt(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let ie=f1(m,{relative:d}),[I,xe,F]=V1(o,w),Ce=tb(m,{replace:N,state:D,target:x,preventScrollReset:z,relative:d,viewTransition:U});function Me(Ee){r&&r(Ee),Ee.defaultPrevented||Ce(Ee)}let Ue=M.createElement("a",{...w,...F,href:X||ie,onClick:H||p?r:Me,ref:W1(W,xe),target:x,"data-discover":!Z&&f==="render"?"true":void 0});return I&&!Z?M.createElement(M.Fragment,null,Ue,M.createElement(K1,{page:ie})):Ue});Xe.displayName="Link";var P1=M.forwardRef(function({"aria-current":r="page",caseSensitive:f=!1,className:o="",end:d=!1,style:p,to:N,viewTransition:D,children:x,...m},z){let U=Hn(N,{relative:m.relative}),w=_a(),W=M.useContext(ai),{navigator:Q,basename:Z}=M.useContext(Dt),X=W!=null&&ib(U)&&D===!0,H=Q.encodeLocation?Q.encodeLocation(U).pathname:U.pathname,ie=w.pathname,I=W&&W.navigation&&W.navigation.location?W.navigation.location.pathname:null;f||(ie=ie.toLowerCase(),I=I?I.toLowerCase():null,H=H.toLowerCase()),I&&Z&&(I=Wt(I,Z)||I);const xe=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let F=ie===H||!d&&ie.startsWith(H)&&ie.charAt(xe)==="/",Ce=I!=null&&(I===H||!d&&I.startsWith(H)&&I.charAt(H.length)==="/"),Me={isActive:F,isPending:Ce,isTransitioning:X},Ue=F?r:void 0,Ee;typeof o=="function"?Ee=o(Me):Ee=[o,F?"active":null,Ce?"pending":null,X?"transitioning":null].filter(Boolean).join(" ");let et=typeof p=="function"?p(Me):p;return M.createElement(Xe,{...m,"aria-current":Ue,className:Ee,ref:z,style:et,to:N,viewTransition:D},typeof x=="function"?x(Me):x)});P1.displayName="NavLink";var I1=M.forwardRef(({discover:i="render",fetcherKey:r,navigate:f,reloadDocument:o,replace:d,state:p,method:N=Iu,action:D,onSubmit:x,relative:m,preventScrollReset:z,viewTransition:U,...w},W)=>{let Q=nb(),Z=ub(D,{relative:m}),X=N.toLowerCase()==="get"?"get":"post",H=typeof D=="string"&&fh.test(D),ie=I=>{if(x&&x(I),I.defaultPrevented)return;I.preventDefault();let xe=I.nativeEvent.submitter,F=xe?.getAttribute("formmethod")||N;Q(xe||I.currentTarget,{fetcherKey:r,method:F,navigate:f,replace:d,state:p,relative:m,preventScrollReset:z,viewTransition:U})};return M.createElement("form",{ref:W,method:X,action:Z,onSubmit:o?x:ie,...w,"data-discover":!H&&i==="render"?"true":void 0})});I1.displayName="Form";function eb(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function dh(i){let r=M.useContext(jl);return _e(r,eb(i)),r}function tb(i,{target:r,replace:f,state:o,preventScrollReset:d,relative:p,viewTransition:N}={}){let D=d1(),x=_a(),m=Hn(i,{relative:p});return M.useCallback(z=>{if(C1(z,r)){z.preventDefault();let U=f!==void 0?f:Cn(x)===Cn(m);D(i,{replace:U,state:o,preventScrollReset:d,relative:p,viewTransition:N})}},[x,D,m,f,o,r,i,d,p,N])}var ab=0,lb=()=>`__${String(++ab)}__`;function nb(){let{router:i}=dh("useSubmit"),{basename:r}=M.useContext(Dt),f=E1();return M.useCallback(async(o,d={})=>{let{action:p,method:N,encType:D,formData:x,body:m}=H1(o,r);if(d.navigate===!1){let z=d.fetcherKey||lb();await i.fetch(z,f,d.action||p,{preventScrollReset:d.preventScrollReset,formData:x,body:m,formMethod:d.method||N,formEncType:d.encType||D,flushSync:d.flushSync})}else await i.navigate(d.action||p,{preventScrollReset:d.preventScrollReset,formData:x,body:m,formMethod:d.method||N,formEncType:d.encType||D,replace:d.replace,state:d.state,fromRouteId:f,flushSync:d.flushSync,viewTransition:d.viewTransition})},[i,r,f])}function ub(i,{relative:r}={}){let{basename:f}=M.useContext(Dt),o=M.useContext(Ct);_e(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),p={...Hn(i||".",{relative:r})},N=_a();if(i==null){p.search=N.search;let D=new URLSearchParams(p.search),x=D.getAll("index");if(x.some(z=>z==="")){D.delete("index"),x.filter(U=>U).forEach(U=>D.append("index",U));let z=D.toString();p.search=z?`?${z}`:""}}return(!i||i===".")&&d.route.index&&(p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index"),f!=="/"&&(p.pathname=p.pathname==="/"?f:kt([f,p.pathname])),Cn(p)}function ib(i,{relative:r}={}){let f=M.useContext(ah);_e(f!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=dh("useViewTransitionState"),d=Hn(i,{relative:r});if(!f.isTransitioning)return!1;let p=Wt(f.currentLocation.pathname,o)||f.currentLocation.pathname,N=Wt(f.nextLocation.pathname,o)||f.nextLocation.pathname;return ti(d.pathname,N)!=null||ti(d.pathname,p)!=null}/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cb=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),sb=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,f,o)=>o?o.toUpperCase():f.toLowerCase()),Kd=i=>{const r=sb(i);return r.charAt(0).toUpperCase()+r.slice(1)},hh=(...i)=>i.filter((r,f,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===f).join(" ").trim(),ob=i=>{for(const r in i)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var rb={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.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fb=M.forwardRef(({color:i="currentColor",size:r=24,strokeWidth:f=2,absoluteStrokeWidth:o,className:d="",children:p,iconNode:N,...D},x)=>M.createElement("svg",{ref:x,...rb,width:r,height:r,stroke:i,strokeWidth:o?Number(f)*24/Number(r):f,className:hh("lucide",d),...!p&&!ob(D)&&{"aria-hidden":"true"},...D},[...N.map(([m,z])=>M.createElement(m,z)),...Array.isArray(p)?p:[p]]));/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const St=(i,r)=>{const f=M.forwardRef(({className:o,...d},p)=>M.createElement(fb,{ref:p,iconNode:r,className:hh(`lucide-${cb(Kd(i))}`,`lucide-${i}`,o),...d}));return f.displayName=Kd(i),f};/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const db=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],mh=St("arrow-left",db);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Os=St("arrow-right",hb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mb=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],gb=St("book-open",mb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Jd=St("globe",yb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],pb=St("info",vb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bb=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],gh=St("map-pin",bb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xb=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Sb=St("menu",xb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _b=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],Eb=St("ruler",_b);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Tb=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],yh=St("shield",Tb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nb=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Ab=St("users",Nb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zb=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],Ob=St("utensils",zb);/**
 * @license lucide-react v0.539.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Mb=St("x",jb);function Rb(){const[i,r]=Mp.useState(!1),f=_a(),o=d=>f.pathname===d;return y.jsx("header",{className:"bg-white shadow-lg sticky top-0 z-50",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs("div",{className:"flex justify-between items-center h-16",children:[y.jsxs(Xe,{to:"/",className:"flex items-center space-x-2",children:[y.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-teal-600 to-emerald-700 rounded-lg flex items-center justify-center",children:y.jsx("span",{className:"text-white font-bold text-sm",children:"WB"})}),y.jsx("span",{className:"text-xl font-bold text-gray-900",children:"Weird Animals"})]}),y.jsxs("nav",{className:"hidden md:flex space-x-8",children:[y.jsx(Xe,{to:"/",className:`px-3 py-2 rounded-md text-sm font-medium transition-colors ${o("/")?"text-teal-600 bg-teal-50":"text-gray-700 hover:text-teal-600 hover:bg-gray-50"}`,children:"Home"}),y.jsx(Xe,{to:"/categories",className:`px-3 py-2 rounded-md text-sm font-medium transition-colors ${o("/categories")?"text-teal-600 bg-teal-50":"text-gray-700 hover:text-teal-600 hover:bg-gray-50"}`,children:"Categories"})]}),y.jsx("div",{className:"flex items-center space-x-4",children:y.jsx("button",{className:"md:hidden p-2 text-gray-400 hover:text-gray-500",onClick:()=>r(!i),children:i?y.jsx(Mb,{className:"w-6 h-6"}):y.jsx(Sb,{className:"w-6 h-6"})})})]}),i&&y.jsx("div",{className:"md:hidden",children:y.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 bg-gray-50 rounded-lg mt-2",children:[y.jsx(Xe,{to:"/",className:`block px-3 py-2 rounded-md text-base font-medium transition-colors ${o("/")?"text-teal-600 bg-teal-50":"text-gray-700 hover:text-teal-600 hover:bg-gray-100"}`,onClick:()=>r(!1),children:"Home"}),y.jsx(Xe,{to:"/categories",className:`block px-3 py-2 rounded-md text-base font-medium transition-colors ${o("/categories")?"text-teal-600 bg-teal-50":"text-gray-700 hover:text-teal-600 hover:bg-gray-100"}`,onClick:()=>r(!1),children:"Categories"})]})})]})})}const vh="Birds",ph="Birds",bh="Feathered creatures that soar through the skies",xh="#4A90E2",Db={name:vh,title:ph,description:bh,color:xh},Cb=Object.freeze(Object.defineProperty({__proto__:null,color:xh,default:Db,description:bh,name:vh,title:ph},Symbol.toStringTag,{value:"Module"})),Sh="Deep Sea Creatures",_h="Deep Sea Creatures",Eh="Bizarre and fascinating creatures from the ocean's darkest depths",Th="#1e3a8a",Ub={name:Sh,title:_h,description:Eh,color:Th},wb=Object.freeze(Object.defineProperty({__proto__:null,color:Th,default:Ub,description:Eh,name:Sh,title:_h},Symbol.toStringTag,{value:"Module"})),Nh="Living Fossils",Ah="Living Fossils",zh="Ancient creatures that have survived virtually unchanged for millions of years",Oh="#a16207",Hb={name:Nh,title:Ah,description:zh,color:Oh},Bb=Object.freeze(Object.defineProperty({__proto__:null,color:Oh,default:Hb,description:zh,name:Nh,title:Ah},Symbol.toStringTag,{value:"Module"})),jh="Mammals",Mh="Mammals",Rh="Warm-blooded vertebrates that nurse their young with milk",Dh="#8B5A2B",qb={name:jh,title:Mh,description:Rh,color:Dh},Yb=Object.freeze(Object.defineProperty({__proto__:null,color:Dh,default:qb,description:Rh,name:jh,title:Mh},Symbol.toStringTag,{value:"Module"})),Ch="Nocturnal Oddities",Uh="Nocturnal Oddities",wh="Mysterious creatures that emerge when darkness falls",Hh="#581c87",Lb={name:Ch,title:Uh,description:wh,color:Hh},Gb=Object.freeze(Object.defineProperty({__proto__:null,color:Hh,default:Lb,description:wh,name:Ch,title:Uh},Symbol.toStringTag,{value:"Module"})),Bh="Venomous Oddities",qh="Venomous Oddities",Yh="Deadly creatures with unusual and surprising toxic abilities",Lh="#dc2626",Xb={name:Bh,title:qh,description:Yh,color:Lh},Qb=Object.freeze(Object.defineProperty({__proto__:null,color:Lh,default:Xb,description:Yh,name:Bh,title:qh},Symbol.toStringTag,{value:"Module"}));function Bs(){const i=[];try{const r=Object.assign({"/src/data/categories/birds.json":Cb,"/src/data/categories/deep-sea-creatures.json":wb,"/src/data/categories/living-fossils.json":Bb,"/src/data/categories/mammals.json":Yb,"/src/data/categories/nocturnal-oddities.json":Gb,"/src/data/categories/venomous-oddities.json":Qb});for(const f in r){const o=f.split("/").pop()?.replace(/\.json$/,"")||"",d=r[f];i.push({...d.default,slug:o})}return i}catch(r){return console.error("Error loading categories:",r),[]}}function Gh(i){return Bs().find(f=>f.slug.toLocaleLowerCase()===i.toLocaleLowerCase())||null}const Xh="African Elephant",Qh="Loxodonta africana",Zh="Mammals",$h="Savannas, grasslands, and forests",Vh="Sub-Saharan Africa",Kh="The African elephant is the largest living terrestrial animal and is distinguished by its enormous ears, which are shaped like the African continent. These gentle giants play a crucial role in their ecosystem by creating water holes and dispersing seeds.",Jh=["Can weigh up to 6 tons and consume 300 pounds of vegetation daily","Their ears can be up to 6 feet wide and help regulate body temperature","Have excellent memories and can recognize hundreds of individuals","Can live up to 70 years in the wild","Use their trunks as a fifth limb with over 40,000 muscles"],kh="Endangered",Wh="/uploads/african-elephant.jpg",Fh="3-4 meters (10-13 feet) tall",Ph="Herbivore",Zb={name:Xh,scientificName:Qh,category:Zh,habitat:$h,location:Vh,description:Kh,funFacts:Jh,conservationStatus:kh,image:Wh,size:Fh,diet:Ph},$b=Object.freeze(Object.defineProperty({__proto__:null,category:Zh,conservationStatus:kh,default:Zb,description:Kh,diet:Ph,funFacts:Jh,habitat:$h,image:Wh,location:Vh,name:Xh,scientificName:Qh,size:Fh},Symbol.toStringTag,{value:"Module"})),Ih="Aye-aye",em="Daubentonia madagascariensis",tm="nocturnal-oddities",am="Rainforest canopy and bamboo thickets",lm="Madagascar",nm="The aye-aye is Madagascar's strangest primate, with bat-like ears, beaver-like teeth, and a skeletal middle finger used for tapping trees and extracting insect larvae. Local superstitions consider it a harbinger of bad luck, making it one of the most persecuted animals on Earth.",um=["Uses echolocation-like tapping to find insect larvae in wood","Has a specialized skeletal middle finger that grows continuously","Builds a new nest every night in the treetops","Is the world's largest nocturnal primate","Locals believe seeing one brings death, leading to persecution"],im="Endangered",cm="/uploads/aye-aye.jpg",sm="36-44 cm (14-17 inches) body length",om="Omnivore",Vb={name:Ih,scientificName:em,category:tm,habitat:am,location:lm,description:nm,funFacts:um,conservationStatus:im,image:cm,size:sm,diet:om},Kb=Object.freeze(Object.defineProperty({__proto__:null,category:tm,conservationStatus:im,default:Vb,description:nm,diet:om,funFacts:um,habitat:am,image:cm,location:lm,name:Ih,scientificName:em,size:sm},Symbol.toStringTag,{value:"Module"})),rm="Barreleye Fish",fm="Macropinna microstoma",dm="deep-sea-creatures",hm="Deep ocean twilight zone",mm="North Pacific Ocean (600-800m depth)",gm="The barreleye fish has a completely transparent head filled with fluid, allowing its tubular eyes to rotate upward to spot prey silhouetted against the faint light from above. This bizarre adaptation makes it one of the most alien-looking creatures on our planet.",ym=["Has a completely transparent, fluid-filled head","Eyes can rotate 90 degrees to look straight up through its skull","Was first described in 1939 but transparent head wasn't discovered until 2004","Steals food from siphonophores using its precise eye movement","Can remain motionless for hours waiting for prey"],vm="Least Concern",pm="/uploads/barreleye-fish.jpg",bm="15 cm (6 inches)",xm="Carnivore",Jb={name:rm,scientificName:fm,category:dm,habitat:hm,location:mm,description:gm,funFacts:ym,conservationStatus:vm,image:pm,size:bm,diet:xm},kb=Object.freeze(Object.defineProperty({__proto__:null,category:dm,conservationStatus:vm,default:Jb,description:gm,diet:xm,funFacts:ym,habitat:hm,image:pm,location:mm,name:rm,scientificName:fm,size:bm},Symbol.toStringTag,{value:"Module"})),Sm="Blue-ringed Octopus",_m="Hapalochlaena",Em="venomous-oddities",Tm="Shallow tide pools and coral reefs",Nm="Pacific Ocean (Australia to Japan)",Am="Despite being only the size of a golf ball, the blue-ringed octopus carries enough venom to kill 26 adult humans within minutes. When threatened, brilliant blue rings appear across its body as a warning. There is no antidote to its bite.",zm=["Carries enough venom to kill 26 adult humans","Only weighs 10-100 grams but is one of the world's most venomous animals","Blue rings only appear when threatened or excited","Venom causes total paralysis within minutes","No known antidote exists for its bite"],Om="Least Concern",jm="/uploads/blue-ringed-octopus.jpg",Mm="12-20 cm (5-8 inches) including tentacles",Rm="Carnivore",Wb={name:Sm,scientificName:_m,category:Em,habitat:Tm,location:Nm,description:Am,funFacts:zm,conservationStatus:Om,image:jm,size:Mm,diet:Rm},Fb=Object.freeze(Object.defineProperty({__proto__:null,category:Em,conservationStatus:Om,default:Wb,description:Am,diet:Rm,funFacts:zm,habitat:Tm,image:jm,location:Nm,name:Sm,scientificName:_m,size:Mm},Symbol.toStringTag,{value:"Module"})),Dm="Coelacanth",Cm="Latimeria chalumnae",Um="living-fossils",wm="Deep ocean caves and rocky slopes",Hm="Indian Ocean (off South Africa and Comoros)",Bm="The coelacanth was thought extinct for 66 million years until a living specimen was caught in 1938. This 'living fossil' has lobed fins that move like limbs and is closely related to the first fish that walked on land. It can live over 100 years and doesn't reach maturity until age 55.",qm=["Thought extinct for 66 million years until rediscovered in 1938","Lobed fins move alternately like a walking animal","Can live over 100 years and pregnancies last 5 years","Has a primitive lung and can detect electrical fields","One of the closest living relatives to land vertebrates"],Ym="Critically Endangered",Lm="/uploads/coelacanth.jpg",Gm="1-2 meters (3-6 feet) long",Xm="Carnivore",Pb={name:Dm,scientificName:Cm,category:Um,habitat:wm,location:Hm,description:Bm,funFacts:qm,conservationStatus:Ym,image:Lm,size:Gm,diet:Xm},Ib=Object.freeze(Object.defineProperty({__proto__:null,category:Um,conservationStatus:Ym,default:Pb,description:Bm,diet:Xm,funFacts:qm,habitat:wm,image:Lm,location:Hm,name:Dm,scientificName:Cm,size:Gm},Symbol.toStringTag,{value:"Module"})),Qm="Dumbo Octopus",Zm="Grimpoteuthis",$m="deep-sea-creatures",Vm="Deep ocean floor and water column",Km="Deep waters worldwide (3000-7000m depth)",Jm="The dumbo octopus is the deepest-living octopus species, residing at crushing depths where sunlight never reaches. Named for its ear-like fins that resemble Disney's Dumbo elephant, it gracefully flaps through the abyssal darkness like an underwater ghost.",km=["Lives deeper than any other octopus species","Ear-like fins make it look like it's flying underwater","Can swallow prey whole due to lack of ink sac","Has no breeding season - can reproduce anytime","Some species glow in the dark with bioluminescence"],Wm="Data Deficient",Fm="/uploads/dumbo-octopus.jpg",Pm="20-30 cm (8-12 inches)",Im="Carnivore",e2={name:Qm,scientificName:Zm,category:$m,habitat:Vm,location:Km,description:Jm,funFacts:km,conservationStatus:Wm,image:Fm,size:Pm,diet:Im},t2=Object.freeze(Object.defineProperty({__proto__:null,category:$m,conservationStatus:Wm,default:e2,description:Jm,diet:Im,funFacts:km,habitat:Vm,image:Fm,location:Km,name:Qm,scientificName:Zm,size:Pm},Symbol.toStringTag,{value:"Module"})),e0="Emperor Penguin",t0="Aptenodytes forsteri",a0="Birds",l0="Antarctic ice and surrounding waters",n0="Antarctica",u0="Emperor penguins are the tallest and heaviest of all penguin species, renowned for their incredible parenting dedication. Males incubate eggs on their feet for 64 days during the harsh Antarctic winter, often without eating.",i0=["Males incubate eggs on their feet for 64 days during Antarctic winter","Can dive to depths of over 500 meters (1,640 feet)","Can hold their breath for up to 22 minutes underwater","Huddle together in groups of thousands to stay warm","Chicks are born with gray fluffy down feathers"],c0="Near Threatened",s0="/uploads/emperor-penguin.jpg",o0="100-130 cm (39-51 inches) tall",r0="Piscivore",a2={name:e0,scientificName:t0,category:a0,habitat:l0,location:n0,description:u0,funFacts:i0,conservationStatus:c0,image:s0,size:o0,diet:r0},l2=Object.freeze(Object.defineProperty({__proto__:null,category:a0,conservationStatus:c0,default:a2,description:u0,diet:r0,funFacts:i0,habitat:l0,image:s0,location:n0,name:e0,scientificName:t0,size:o0},Symbol.toStringTag,{value:"Module"})),f0="Giant Panda",d0="Ailuropoda melanoleuca",h0="Mammals",m0="Bamboo forests in mountains",g0="Central China",y0="The giant panda is one of the world's most beloved and recognizable animals. Despite being classified as a carnivore, pandas have evolved to eat almost exclusively bamboo, spending 12-16 hours a day eating to meet their nutritional needs.",v0=["Eats 26-84 pounds of bamboo per day","Has a pseudo-thumb to help grip bamboo stalks","Cubs are born pink, blind, and about the size of a stick of butter","Can live up to 30 years in captivity","Has one of the most restrictive diets of any mammal"],p0="Vulnerable",b0="/uploads/giant-panda.jpg",x0="1.2-1.9 meters (4-6 feet) long",S0="Herbivore",n2={name:f0,scientificName:d0,category:h0,habitat:m0,location:g0,description:y0,funFacts:v0,conservationStatus:p0,image:b0,size:x0,diet:S0},u2=Object.freeze(Object.defineProperty({__proto__:null,category:h0,conservationStatus:p0,default:n2,description:y0,diet:S0,funFacts:v0,habitat:m0,image:b0,location:g0,name:f0,scientificName:d0,size:x0},Symbol.toStringTag,{value:"Module"})),_0="Harpy Eagle",E0="Harpia harpyja",T0="Birds",N0="Tropical rainforest canopy",A0="Central and South America",z0="The harpy eagle is one of the most powerful birds of prey in the world, with talons larger than grizzly bear claws. These magnificent eagles are apex predators of the rainforest canopy and are considered near-mythical by many indigenous cultures.",O0=["Has the largest talons of any living eagle","Can fly silently through dense forest canopy","Their facial disc helps direct sound to their ears like an owl","Can lift prey weighing up to 20 pounds","Nests are used for multiple years and can be 6 feet wide"],j0="Near Threatened",M0="/uploads/harpy-eagle.jpg",R0="86-107 cm (34-42 inches) wingspan up to 224 cm",D0="Carnivore",i2={name:_0,scientificName:E0,category:T0,habitat:N0,location:A0,description:z0,funFacts:O0,conservationStatus:j0,image:M0,size:R0,diet:D0},c2=Object.freeze(Object.defineProperty({__proto__:null,category:T0,conservationStatus:j0,default:i2,description:z0,diet:D0,funFacts:O0,habitat:N0,image:M0,location:A0,name:_0,scientificName:E0,size:R0},Symbol.toStringTag,{value:"Module"})),C0="Horseshoe Crab",U0="Limulus polyphemus",w0="living-fossils",H0="Shallow coastal waters and sandy beaches",B0="Atlantic coast of North America",q0="Horseshoe crabs have remained virtually unchanged for 450 million years, predating dinosaurs, trees, and even sharks. Despite their name, they're more closely related to spiders than crabs. Their blue blood is harvested for medical research and is worth $60,000 per gallon.",Y0=["Unchanged for 450 million years - older than dinosaurs","More closely related to spiders than crabs","Has 10 eyes including UV and polarized light detection","Blue blood worth $60,000 per gallon for medical testing","Can survive a year without food"],L0="Vulnerable",G0="/uploads/horseshoe-crab.jpg",X0="14-19 inches (35-48 cm) long",Q0="Omnivore",s2={name:C0,scientificName:U0,category:w0,habitat:H0,location:B0,description:q0,funFacts:Y0,conservationStatus:L0,image:G0,size:X0,diet:Q0},o2=Object.freeze(Object.defineProperty({__proto__:null,category:w0,conservationStatus:L0,default:s2,description:q0,diet:Q0,funFacts:Y0,habitat:H0,image:G0,location:B0,name:C0,scientificName:U0,size:X0},Symbol.toStringTag,{value:"Module"})),Z0="Peregrine Falcon",$0="Falco peregrinus",V0="Birds",K0="Urban areas, cliffs, and open landscapes",J0="Found on every continent except Antarctica",k0="The peregrine falcon is the fastest animal on Earth, capable of reaching speeds over 240 mph during hunting dives. These remarkable birds of prey have made an incredible recovery after nearly going extinct due to DDT pesticide use.",W0=["Fastest animal on Earth, reaching speeds over 240 mph in hunting dives","Can spot prey from over 3 miles away","Nests on skyscrapers in many major cities worldwide","Nearly went extinct in the 1970s but made a remarkable recovery","Their nostrils have special baffles to prevent lung damage during high-speed dives"],F0="Least Concern",P0="/uploads/peregrine-falcon.jpg",I0="34-58 cm (13-23 inches) wingspan up to 120 cm",eg="Carnivore",r2={name:Z0,scientificName:$0,category:V0,habitat:K0,location:J0,description:k0,funFacts:W0,conservationStatus:F0,image:P0,size:I0,diet:eg},f2=Object.freeze(Object.defineProperty({__proto__:null,category:V0,conservationStatus:F0,default:r2,description:k0,diet:eg,funFacts:W0,habitat:K0,image:P0,location:J0,name:Z0,scientificName:$0,size:I0},Symbol.toStringTag,{value:"Module"})),tg="Slow Loris",ag="Nycticebus",lg="venomous-oddities",ng="Tropical rainforest canopy",ug="Southeast Asia",ig="The slow loris is the world's only venomous primate. This adorable-looking creature produces toxins in glands on its elbows, which it licks and mixes with saliva to create a venomous bite. Despite its cute appearance, it's one of the most dangerous small mammals.",cg=["Only venomous primate in the world","Produces toxin from elbow glands mixed with saliva","Has a grip so strong it can hang from branches all night","Eyes reflect light like a cat's in the dark","Illegally captured for pet trade due to cute appearance"],sg="Vulnerable",og="/uploads/slow-loris.jpg",rg="18-38 cm (7-15 inches)",fg="Omnivore",d2={name:tg,scientificName:ag,category:lg,habitat:ng,location:ug,description:ig,funFacts:cg,conservationStatus:sg,image:og,size:rg,diet:fg},h2=Object.freeze(Object.defineProperty({__proto__:null,category:lg,conservationStatus:sg,default:d2,description:ig,diet:fg,funFacts:cg,habitat:ng,image:og,location:ug,name:tg,scientificName:ag,size:rg},Symbol.toStringTag,{value:"Module"})),dg="Snow Leopard",hg="Panthera uncia",mg="Mammals",gg="High mountains and alpine areas",yg="Central and South Asia mountains",vg="The snow leopard is a magnificent big cat perfectly adapted to life in harsh mountain environments. With its thick fur, powerful legs, and long tail for balance, it's one of the most elusive and beautiful predators in the world.",pg=["Can leap up to 50 feet in a single bound","Their large paws act like snowshoes in deep snow","Cannot roar like other big cats, but can chuff and purr","Their long tail helps with balance and can wrap around their body for warmth","Can survive in temperatures as low as -40°F (-40°C)"],bg="Vulnerable",xg="/uploads/snow-leopard.jpg",Sg="1.2-1.5 meters (4-5 feet) body length",_g="Carnivore",m2={name:dg,scientificName:hg,category:mg,habitat:gg,location:yg,description:vg,funFacts:pg,conservationStatus:bg,image:xg,size:Sg,diet:_g},g2=Object.freeze(Object.defineProperty({__proto__:null,category:mg,conservationStatus:bg,default:m2,description:vg,diet:_g,funFacts:pg,habitat:gg,image:xg,location:yg,name:dg,scientificName:hg,size:Sg},Symbol.toStringTag,{value:"Module"})),Eg="Star-nosed Mole",Tg="Condylura cristata",Ng="nocturnal-oddities",Ag="Wetlands, marshes, and underground tunnels",zg="Eastern North America",Og="The star-nosed mole has one of the most bizarre facial features in the animal kingdom - a fleshy star of 22 tentacle-like appendages around its nose. This alien-looking organ is actually the most sensitive touch organ of any mammal, with over 100,000 nerve fibers.",jg=["Has the most sensitive touch organ of any mammal","Can identify and eat prey in 120 milliseconds","Star contains over 100,000 nerve fibers (6 times more than a human hand)","Can smell underwater by blowing and re-inhaling air bubbles","Eats faster than the human eye can follow"],Mg="Least Concern",Rg="/uploads/star-nosed-mole.jpg",Dg="15-20 cm (6-8 inches)",Cg="Insectivore",y2={name:Eg,scientificName:Tg,category:Ng,habitat:Ag,location:zg,description:Og,funFacts:jg,conservationStatus:Mg,image:Rg,size:Dg,diet:Cg},v2=Object.freeze(Object.defineProperty({__proto__:null,category:Ng,conservationStatus:Mg,default:y2,description:Og,diet:Cg,funFacts:jg,habitat:Ag,image:Rg,location:zg,name:Eg,scientificName:Tg,size:Dg},Symbol.toStringTag,{value:"Module"})),Ug="Tarsier",wg="Carlito syrichta",Hg="nocturnal-oddities",Bg="Tropical rainforest trees",qg="Southeast Asia (Philippines, Borneo, Sumatra)",Yg="Tarsiers are tiny primates with enormous eyes that cannot move in their sockets, forcing them to rotate their heads 180 degrees like owls. Each eye is larger than their brain, and they can leap 40 times their body length between trees in complete darkness.",Lg=["Each eye weighs more than its entire brain","Cannot move their eyes so must turn their head 180 degrees","Can leap 40 times their body length between trees","Have the longest fingers relative to body size of any primate","Commit suicide in captivity due to stress - literally die of depression"],Gg="Near Threatened",Xg="/uploads/tarsier.jpg",Qg="10-15 cm (4-6 inches) body length",Zg="Carnivore",p2={name:Ug,scientificName:wg,category:Hg,habitat:Bg,location:qg,description:Yg,funFacts:Lg,conservationStatus:Gg,image:Xg,size:Qg,diet:Zg},b2=Object.freeze(Object.defineProperty({__proto__:null,category:Hg,conservationStatus:Gg,default:p2,description:Yg,diet:Zg,funFacts:Lg,habitat:Bg,image:Xg,location:qg,name:Ug,scientificName:wg,size:Qg},Symbol.toStringTag,{value:"Module"})),$g="Vampire Squid",Vg="Vampyroteutis infernalis",Kg="deep-sea-creatures",Jg="Deep ocean oxygen minimum zones",kg="Deep waters worldwide (600-900m depth)",Wg="Despite its ominous name, the vampire squid doesn't drink blood. This living fossil can turn itself inside out when threatened and survives in areas with almost no oxygen. It's neither squid nor octopus but belongs to its own unique order.",Fg=["Can turn itself completely inside out for protection","Survives in oxygen levels as low as 3% (lethal to most marine life)","Has the largest eyes relative to body size of any animal on Earth","Is a living fossil - unchanged for 300 million years","Neither squid nor octopus but in its own taxonomic order"],Pg="Least Concern",Ig="/uploads/vampire-squid.jpg",ey="15-30 cm (6-12 inches)",ty="Carnivore",x2={name:$g,scientificName:Vg,category:Kg,habitat:Jg,location:kg,description:Wg,funFacts:Fg,conservationStatus:Pg,image:Ig,size:ey,diet:ty},S2=Object.freeze(Object.defineProperty({__proto__:null,category:Kg,conservationStatus:Pg,default:x2,description:Wg,diet:ty,funFacts:Fg,habitat:Jg,image:Ig,location:kg,name:$g,scientificName:Vg,size:ey},Symbol.toStringTag,{value:"Module"}));function ni(){const i=[];try{const r=Object.assign({"/src/data/animals/african-elephant.json":$b,"/src/data/animals/aye-aye.json":Kb,"/src/data/animals/barreleye-fish.json":kb,"/src/data/animals/blue-ringed-octopus.json":Fb,"/src/data/animals/coelacanth.json":Ib,"/src/data/animals/dumbo-octopus.json":t2,"/src/data/animals/emperor-penguin.json":l2,"/src/data/animals/giant-panda.json":u2,"/src/data/animals/harpy-eagle.json":c2,"/src/data/animals/horseshoe-crab.json":o2,"/src/data/animals/peregrine-falcon.json":f2,"/src/data/animals/slow-loris.json":h2,"/src/data/animals/snow-leopard.json":g2,"/src/data/animals/star-nosed-mole.json":v2,"/src/data/animals/tarsier.json":b2,"/src/data/animals/vampire-squid.json":S2});for(const f in r){const o=f.split("/").pop()?.replace(/\.json$/,"")||"",d=r[f];i.push({...d.default,slug:o})}return i}catch(r){return console.error("Error loading animals:",r),[]}}function _2(){const i=ni();if(i.length===0)return null;const r=Math.floor(Math.random()*i.length);return i[r]}function ay(i){return ni().filter(f=>f.category.toLowerCase()===i.toLowerCase())}function E2(i){return ni().find(f=>f.slug===i)||null}function ly({animal:i}){const r=f=>{switch(f.toLowerCase()){case"critically endangered":return"bg-red-100 text-red-800";case"endangered":return"bg-orange-100 text-orange-800";case"vulnerable":return"bg-yellow-100 text-yellow-800";case"near threatened":return"bg-blue-100 text-blue-800";case"least concern":return"bg-green-100 text-green-800";default:return"bg-gray-100 text-gray-800"}};return y.jsxs(Xe,{to:`/animal/${i.slug}`,className:"group block bg-white rounded-xl shadow-md hover:shadow-xl transition-all duration-300 overflow-hidden transform hover:-translate-y-1",children:[y.jsxs("div",{className:"relative h-48 overflow-hidden",children:[y.jsx("img",{src:i.image,alt:i.name,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),y.jsx("div",{className:"absolute top-3 right-3",children:y.jsx("span",{className:`px-2 py-1 rounded-full text-xs font-medium ${r(i.conservationStatus)}`,children:i.conservationStatus})})]}),y.jsxs("div",{className:"p-6",children:[y.jsx("div",{className:"flex items-start justify-between mb-3",children:y.jsxs("div",{children:[y.jsx("h3",{className:"text-xl font-bold text-gray-900 group-hover:text-teal-600 transition-colors",children:i.name}),y.jsx("p",{className:"text-sm text-gray-500 italic",children:i.scientificName})]})}),y.jsx("p",{className:"text-gray-600 text-sm mb-4 line-clamp-3",children:i.description}),y.jsxs("div",{className:"space-y-2 text-xs text-gray-500",children:[y.jsxs("div",{className:"flex items-center space-x-1",children:[y.jsx(gh,{className:"w-3 h-3"}),y.jsx("span",{children:i.location})]}),y.jsxs("div",{className:"flex items-center space-x-1",children:[y.jsx(yh,{className:"w-3 h-3"}),y.jsx("span",{children:i.habitat})]})]}),y.jsx("div",{className:"mt-4 pt-4 border-t border-gray-100",children:y.jsxs("div",{className:"flex justify-between text-xs text-gray-500",children:[y.jsxs("span",{children:["Size: ",i.size]}),y.jsx("span",{className:"text-teal-600 font-medium group-hover:text-teal-700",children:"Learn more →"})]})})]})]})}const T2="Journey into the extraordinary world of nature's most bizarre and fascinating creatures",N2="Meet some of the most extraordinary animals you've probably never heard of",A2="Featured Creatures",z2="Ready to Expand Your Wildlife Knowledge?",O2="Dive deeper into the fascinating world of nature's most unusual creatures",Rn={subtitle:T2,featuredSubtitle:N2,featuredTitle:A2,footerTitle:z2,footerSubtitle:O2},j2=Bs(),kd=ni();function M2(){document.title="Weird Animals";const i=kd.slice(0,3),r=_2()?.slug;return y.jsxs("div",{className:"min-h-screen bg-gray-50",children:[y.jsxs("section",{className:"relative bg-gradient-to-br from-teal-600 via-emerald-600 to-green-700 text-white overflow-hidden",children:[y.jsxs("div",{className:"absolute inset-0",children:[y.jsx("div",{className:"absolute inset-0 bg-black/20"}),y.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-1/2 bg-gradient-to-bl from-white/10 to-transparent rounded-full blur-3xl"}),y.jsx("div",{className:"absolute bottom-0 left-0 w-1/3 h-1/3 bg-gradient-to-tr from-teal-400/20 to-transparent rounded-full blur-2xl"})]}),y.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24",children:y.jsxs("div",{className:"text-center",children:[y.jsxs("h1",{className:"text-5xl md:text-6xl font-bold mb-6 leading-tight",children:["Discover the",y.jsx("span",{className:"block bg-gradient-to-r from-yellow-300 to-orange-300 bg-clip-text text-transparent",children:"Weirdest Animals"}),"on Earth"]}),y.jsx("p",{className:"text-xl md:text-2xl mb-8 max-w-3xl mx-auto text-teal-100",children:Rn.subtitle}),y.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[y.jsxs(Xe,{to:"/categories",className:"inline-flex items-center px-8 py-3 bg-white text-teal-600 rounded-lg font-semibold hover:bg-gray-100 transition-colors duration-300 shadow-lg",children:["Explore Categories",y.jsx(Os,{className:"ml-2 w-5 h-5"})]}),r&&y.jsxs(Xe,{to:`/animal/${r}`,className:"inline-flex items-center px-8 py-3 bg-teal-700/50 text-white rounded-lg font-semibold hover:bg-teal-700/70 transition-colors duration-300 backdrop-blur-sm border border-white/20",children:[y.jsx(Jd,{className:"mr-2 w-5 h-5"}),"Random Discovery"]})]})]})})]}),y.jsx("section",{className:"py-16 bg-white",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-teal-100 text-teal-600 rounded-full mb-4",children:y.jsx(Ab,{className:"w-8 h-8"})}),y.jsx("h3",{className:"text-3xl font-bold text-gray-900 mb-2",children:kd.length}),y.jsx("p",{className:"text-gray-600",children:"Unique Species"})]}),y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-emerald-100 text-emerald-600 rounded-full mb-4",children:y.jsx(Jd,{className:"w-8 h-8"})}),y.jsx("h3",{className:"text-3xl font-bold text-gray-900 mb-2",children:j2.length}),y.jsx("p",{className:"text-gray-600",children:"Habitat Categories"})]}),y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-orange-100 text-orange-600 rounded-full mb-4",children:y.jsx(gb,{className:"w-8 h-8"})}),y.jsx("h3",{className:"text-3xl font-bold text-gray-900 mb-2",children:"∞"}),y.jsx("p",{className:"text-gray-600",children:"Amazing Facts"})]})]})})}),y.jsx("section",{className:"py-16",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs("div",{className:"text-center mb-12",children:[y.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4",children:Rn.featuredTitle}),y.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:Rn.featuredSubtitle})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12",children:i.map(f=>y.jsx(ly,{animal:f},f.slug))}),y.jsx("div",{className:"text-center",children:y.jsxs(Xe,{to:"/categories",className:"inline-flex items-center px-6 py-3 bg-gradient-to-r from-teal-600 to-emerald-600 text-white rounded-lg font-semibold hover:from-teal-700 hover:to-emerald-700 transition-all duration-300 shadow-lg hover:shadow-xl",children:["See All Animals",y.jsx(Os,{className:"ml-2 w-5 h-5"})]})})]})}),y.jsx("section",{className:"py-16 bg-gradient-to-br from-gray-900 to-gray-800 text-white",children:y.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[y.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:Rn.footerTitle}),y.jsx("p",{className:"text-xl text-gray-300 mb-8",children:Rn.footerSubtitle}),y.jsxs(Xe,{to:"/categories",className:"inline-flex items-center px-8 py-4 bg-gradient-to-r from-teal-500 to-emerald-500 text-white rounded-lg font-bold hover:from-teal-600 hover:to-emerald-600 transition-all duration-300 shadow-lg hover:shadow-xl text-lg",children:["Start Exploring",y.jsx(Os,{className:"ml-3 w-6 h-6"})]})]})})]})}function R2({category:i}){const r=ay(i.slug).length;return y.jsx(Xe,{to:`/category/${i.slug}`,className:"group block h-full",children:y.jsxs("div",{className:"relative overflow-hidden rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1 h-full flex flex-col",children:[y.jsxs("div",{className:"h-32 relative flex-shrink-0",style:{background:`linear-gradient(to bottom right, ${i.color}, #1f2937)`},children:[y.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors duration-300"}),y.jsxs("div",{className:"relative z-10 p-6 h-full flex flex-col justify-end",children:[y.jsx("h3",{className:"text-xl font-bold text-white mb-1",children:i.name}),y.jsxs("p",{className:"text-white/90 text-sm",children:[r," ","species"]})]})]}),y.jsxs("div",{className:"bg-white p-4 flex flex-col justify-between flex-grow",children:[y.jsx("p",{className:"text-gray-600 text-sm group-hover:text-gray-800 transition-colors",children:i.description}),y.jsx("div",{className:"mt-3 text-right",children:y.jsx("span",{className:"text-teal-600 text-sm font-medium group-hover:text-teal-700",children:"Explore →"})})]})]})})}function D2(){const i=Bs();return document.title="Animal Categories - Weird Animals",y.jsx("div",{className:"min-h-screen bg-gray-50",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[y.jsxs("div",{className:"text-center mb-12",children:[y.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:"Animal Categories"}),y.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Explore our collection of weird and wonderful creatures organized by their natural habitats"})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:i.map(r=>y.jsx(R2,{category:r},r.slug))}),y.jsx("div",{className:"mt-16 bg-white rounded-xl shadow-lg p-8",children:y.jsxs("div",{className:"text-center",children:[y.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Why These Categories?"}),y.jsx("p",{className:"text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Each habitat presents unique challenges that have led to incredible adaptations. From the crushing depths of the ocean to the scorching heat of deserts, these environments have shaped some of the most extraordinary creatures on Earth. By organizing animals by their habitats, we can better understand how environment influences evolution and behavior."})]})})]})})}function C2(){const{categoryId:i}=uh();if(!i)return y.jsx("div",{children:"Category not found"});const r=Gh(i),f=ay(i);return r?(document.title=`${r.name} - Weird Animals`,y.jsx("div",{className:"min-h-screen bg-gray-50",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[y.jsx("nav",{className:"mb-8",children:y.jsxs(Xe,{to:"/categories",className:"inline-flex items-center text-teal-600 hover:text-teal-700 font-medium",children:[y.jsx(mh,{className:"w-4 h-4 mr-2"}),"Back to Categories"]})}),y.jsxs("div",{className:"relative rounded-xl overflow-hidden mb-12 bg-gradient-to-br",style:{background:`linear-gradient(to bottom right, ${r.color}, #1f2937)`},children:[y.jsx("div",{className:"absolute inset-0 bg-black/20"}),y.jsxs("div",{className:"relative z-10 px-8 py-16 text-center text-white",children:[y.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:r.name}),y.jsx("p",{className:"text-xl md:text-2xl text-white/90 max-w-2xl mx-auto",children:r.description}),y.jsx("div",{className:"mt-6",children:y.jsxs("span",{className:"inline-block bg-white/20 backdrop-blur-sm px-4 py-2 rounded-full text-sm font-medium",children:[f.length," ",(f.length===1,"species")," ","discovered"]})})]})]}),f.length>0?y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:f.map(o=>y.jsx(ly,{animal:o},o.slug))}):y.jsx("div",{className:"text-center py-16",children:y.jsxs("div",{className:"max-w-md mx-auto",children:[y.jsx("div",{className:"w-24 h-24 bg-gray-200 rounded-full mx-auto mb-6 flex items-center justify-center",children:y.jsx("span",{className:"text-4xl",children:"🔍"})}),y.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No animals found"}),y.jsx("p",{className:"text-gray-600",children:"We're still discovering creatures in this category. Check back soon!"})]})})]})})):y.jsx("div",{children:"Category not found"})}function U2(){const{animalId:i}=uh();if(!i)return y.jsx("div",{children:"Animal not found"});const r=E2(i);if(!r)return y.jsx("div",{children:"Animal not found"});const f=Gh(r.category),o=d=>{switch(d.toLowerCase()){case"critically endangered":return"bg-red-100 text-red-800 border-red-200";case"endangered":return"bg-orange-100 text-orange-800 border-orange-200";case"vulnerable":return"bg-yellow-100 text-yellow-800 border-yellow-200";case"near threatened":return"bg-blue-100 text-blue-800 border-blue-200";case"least concern":return"bg-green-100 text-green-800 border-green-200";default:return"bg-gray-100 text-gray-800 border-gray-200"}};return document.title=`${r.name} - Weird Animals`,y.jsx("div",{className:"min-h-screen bg-gray-50",children:y.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[y.jsxs("nav",{className:"mb-8 flex items-center space-x-2 text-sm",children:[y.jsx(Xe,{to:"/categories",className:"text-teal-600 hover:text-teal-700",children:"Categories"}),y.jsx("span",{className:"text-gray-400",children:"/"}),y.jsx(Xe,{to:`/category/${f?.slug}`,className:"text-teal-600 hover:text-teal-700",children:f?.name}),y.jsx("span",{className:"text-gray-400",children:"/"}),y.jsx("span",{className:"text-gray-600",children:r.name})]}),y.jsxs(Xe,{to:`/category/${r.category}`,className:"inline-flex items-center text-teal-600 hover:text-teal-700 font-medium mb-8",children:[y.jsx(mh,{className:"w-4 h-4 mr-2"}),"Back to ",f?.name]}),y.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden",children:[y.jsxs("div",{className:"relative h-96",children:[y.jsx("img",{src:r.image,alt:r.name,className:"w-full h-full object-cover"}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),y.jsxs("div",{className:"absolute bottom-6 left-6 text-white",children:[y.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-2",children:r.name}),y.jsx("p",{className:"text-xl italic text-white/90",children:r.scientificName})]}),y.jsx("div",{className:"absolute top-6 right-6",children:y.jsxs("span",{className:`px-4 py-2 rounded-full text-sm font-medium border ${o(r.conservationStatus)}`,children:[y.jsx(yh,{className:"w-4 h-4 inline mr-2"}),r.conservationStatus]})})]}),y.jsxs("div",{className:"p-8",children:[y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-8",children:[y.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[y.jsxs("div",{className:"flex items-center text-gray-600 mb-2",children:[y.jsx(gh,{className:"w-4 h-4 mr-2"}),y.jsx("span",{className:"text-sm font-medium",children:"Location"})]}),y.jsx("p",{className:"font-semibold text-gray-900",children:r.location})]}),y.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[y.jsxs("div",{className:"flex items-center text-gray-600 mb-2",children:[y.jsx(Eb,{className:"w-4 h-4 mr-2"}),y.jsx("span",{className:"text-sm font-medium",children:"Size"})]}),y.jsx("p",{className:"font-semibold text-gray-900",children:r.size})]}),y.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[y.jsxs("div",{className:"flex items-center text-gray-600 mb-2",children:[y.jsx(Ob,{className:"w-4 h-4 mr-2"}),y.jsx("span",{className:"text-sm font-medium",children:"Diet"})]}),y.jsx("p",{className:"font-semibold text-gray-900",children:r.diet})]}),y.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[y.jsxs("div",{className:"flex items-center text-gray-600 mb-2",children:[y.jsx(pb,{className:"w-4 h-4 mr-2"}),y.jsx("span",{className:"text-sm font-medium",children:"Habitat"})]}),y.jsx("p",{className:"font-semibold text-gray-900",children:r.habitat})]})]}),y.jsxs("div",{className:"mb-8",children:[y.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"About This Animal"}),y.jsx("p",{className:"text-gray-700 text-lg leading-relaxed",children:r.description})]}),y.jsxs("div",{children:[y.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Amazing Facts"}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:r.funFacts.map((d,p)=>y.jsx("div",{className:"bg-gradient-to-r from-teal-50 to-emerald-50 rounded-lg p-4 border-l-4 border-teal-500",children:y.jsx("p",{className:"text-gray-800 font-medium",children:d})},p))})]})]})]})]})})}function w2(){return(typeof window<"u"?window.location:{pathname:"/"}).pathname.startsWith("/admin")?null:y.jsx(F1,{children:y.jsxs("div",{className:"min-h-screen bg-gray-50",children:[y.jsx(Rb,{}),y.jsxs(O1,{children:[y.jsx(Dn,{path:"/",element:y.jsx(M2,{})}),y.jsx(Dn,{path:"/categories",element:y.jsx(D2,{})}),y.jsx(Dn,{path:"/category/:categoryId",element:y.jsx(C2,{})}),y.jsx(Dn,{path:"/animal/:animalId",element:y.jsx(U2,{})})]})]})})}Bp.createRoot(document.getElementById("root")).render(y.jsx(M.StrictMode,{children:y.jsx(w2,{})}));