function tp(i,c){for(var r=0;r<c.length;r++){const o=c[r];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in i)){const d=Object.getOwnPropertyDescriptor(o,f);d&&Object.defineProperty(i,f,d.get?d:{enumerable:!0,get:()=>o[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function r(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(f){if(f.ep)return;f.ep=!0;const d=r(f);fetch(f.href,d)}})();try{}catch(i){console.error("[wxt] Failed to initialize plugins",i)}function Mr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var dr={exports:{}},ai={};/**
 * @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 Wm;function ep(){if(Wm)return ai;Wm=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,f,d){var h=null;if(d!==void 0&&(h=""+d),f.key!==void 0&&(h=""+f.key),"key"in f){d={};for(var g in f)g!=="key"&&(d[g]=f[g])}else d=f;return f=d.ref,{$$typeof:i,type:o,key:h,ref:f!==void 0?f:null,props:d}}return ai.Fragment=c,ai.jsx=r,ai.jsxs=r,ai}var Fm;function lp(){return Fm||(Fm=1,dr.exports=ep()),dr.exports}var it=lp(),mr={exports:{}},rt={};/**
 * @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 Im;function np(){if(Im)return rt;Im=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),N=Symbol.iterator;function H(S){return S===null||typeof S!="object"?null:(S=N&&S[N]||S["@@iterator"],typeof S=="function"?S:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,T={};function O(S,G,J){this.props=S,this.context=G,this.refs=T,this.updater=J||X}O.prototype.isReactComponent={},O.prototype.setState=function(S,G){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,G,"setState")},O.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function D(){}D.prototype=O.prototype;function B(S,G,J){this.props=S,this.context=G,this.refs=T,this.updater=J||X}var V=B.prototype=new D;V.constructor=B,x(V,O.prototype),V.isPureReactComponent=!0;var k=Array.isArray;function $(){}var Z={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function nt(S,G,J){var W=J.ref;return{$$typeof:i,type:S,key:G,ref:W!==void 0?W:null,props:J}}function et(S,G){return nt(S.type,G,S.props)}function gt(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function st(S){var G={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(J){return G[J]})}var pt=/\/+/g;function bt(S,G){return typeof S=="object"&&S!==null&&S.key!=null?st(""+S.key):G.toString(36)}function vt(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then($,$):(S.status="pending",S.then(function(G){S.status==="pending"&&(S.status="fulfilled",S.value=G)},function(G){S.status==="pending"&&(S.status="rejected",S.reason=G)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function C(S,G,J,W,ct){var ft=typeof S;(ft==="undefined"||ft==="boolean")&&(S=null);var at=!1;if(S===null)at=!0;else switch(ft){case"bigint":case"string":case"number":at=!0;break;case"object":switch(S.$$typeof){case i:case c:at=!0;break;case b:return at=S._init,C(at(S._payload),G,J,W,ct)}}if(at)return ct=ct(S),at=W===""?"."+bt(S,0):W,k(ct)?(J="",at!=null&&(J=at.replace(pt,"$&/")+"/"),C(ct,G,J,"",function(fe){return fe})):ct!=null&&(gt(ct)&&(ct=et(ct,J+(ct.key==null||S&&S.key===ct.key?"":(""+ct.key).replace(pt,"$&/")+"/")+at)),G.push(ct)),1;at=0;var Gt=W===""?".":W+":";if(k(S))for(var zt=0;zt<S.length;zt++)W=S[zt],ft=Gt+bt(W,zt),at+=C(W,G,J,ft,ct);else if(zt=H(S),typeof zt=="function")for(S=zt.call(S),zt=0;!(W=S.next()).done;)W=W.value,ft=Gt+bt(W,zt++),at+=C(W,G,J,ft,ct);else if(ft==="object"){if(typeof S.then=="function")return C(vt(S),G,J,W,ct);throw G=String(S),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return at}function Q(S,G,J){if(S==null)return S;var W=[],ct=0;return C(S,W,"","",function(ft){return G.call(J,ft,ct++)}),W}function L(S){if(S._status===-1){var G=S._result;G=G(),G.then(function(J){(S._status===0||S._status===-1)&&(S._status=1,S._result=J)},function(J){(S._status===0||S._status===-1)&&(S._status=2,S._result=J)}),S._status===-1&&(S._status=0,S._result=G)}if(S._status===1)return S._result.default;throw S._result}var ot=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},mt={map:Q,forEach:function(S,G,J){Q(S,function(){G.apply(this,arguments)},J)},count:function(S){var G=0;return Q(S,function(){G++}),G},toArray:function(S){return Q(S,function(G){return G})||[]},only:function(S){if(!gt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return rt.Activity=A,rt.Children=mt,rt.Component=O,rt.Fragment=r,rt.Profiler=f,rt.PureComponent=B,rt.StrictMode=o,rt.Suspense=v,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,rt.__COMPILER_RUNTIME={__proto__:null,c:function(S){return Z.H.useMemoCache(S)}},rt.cache=function(S){return function(){return S.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(S,G,J){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var W=x({},S.props),ct=S.key;if(G!=null)for(ft in G.key!==void 0&&(ct=""+G.key),G)!K.call(G,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&G.ref===void 0||(W[ft]=G[ft]);var ft=arguments.length-2;if(ft===1)W.children=J;else if(1<ft){for(var at=Array(ft),Gt=0;Gt<ft;Gt++)at[Gt]=arguments[Gt+2];W.children=at}return nt(S.type,ct,W)},rt.createContext=function(S){return S={$$typeof:h,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:d,_context:S},S},rt.createElement=function(S,G,J){var W,ct={},ft=null;if(G!=null)for(W in G.key!==void 0&&(ft=""+G.key),G)K.call(G,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(ct[W]=G[W]);var at=arguments.length-2;if(at===1)ct.children=J;else if(1<at){for(var Gt=Array(at),zt=0;zt<at;zt++)Gt[zt]=arguments[zt+2];ct.children=Gt}if(S&&S.defaultProps)for(W in at=S.defaultProps,at)ct[W]===void 0&&(ct[W]=at[W]);return nt(S,ft,ct)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(S){return{$$typeof:g,render:S}},rt.isValidElement=gt,rt.lazy=function(S){return{$$typeof:b,_payload:{_status:-1,_result:S},_init:L}},rt.memo=function(S,G){return{$$typeof:y,type:S,compare:G===void 0?null:G}},rt.startTransition=function(S){var G=Z.T,J={};Z.T=J;try{var W=S(),ct=Z.S;ct!==null&&ct(J,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then($,ot)}catch(ft){ot(ft)}finally{G!==null&&J.types!==null&&(G.types=J.types),Z.T=G}},rt.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},rt.use=function(S){return Z.H.use(S)},rt.useActionState=function(S,G,J){return Z.H.useActionState(S,G,J)},rt.useCallback=function(S,G){return Z.H.useCallback(S,G)},rt.useContext=function(S){return Z.H.useContext(S)},rt.useDebugValue=function(){},rt.useDeferredValue=function(S,G){return Z.H.useDeferredValue(S,G)},rt.useEffect=function(S,G){return Z.H.useEffect(S,G)},rt.useEffectEvent=function(S){return Z.H.useEffectEvent(S)},rt.useId=function(){return Z.H.useId()},rt.useImperativeHandle=function(S,G,J){return Z.H.useImperativeHandle(S,G,J)},rt.useInsertionEffect=function(S,G){return Z.H.useInsertionEffect(S,G)},rt.useLayoutEffect=function(S,G){return Z.H.useLayoutEffect(S,G)},rt.useMemo=function(S,G){return Z.H.useMemo(S,G)},rt.useOptimistic=function(S,G){return Z.H.useOptimistic(S,G)},rt.useReducer=function(S,G,J){return Z.H.useReducer(S,G,J)},rt.useRef=function(S){return Z.H.useRef(S)},rt.useState=function(S){return Z.H.useState(S)},rt.useSyncExternalStore=function(S,G,J){return Z.H.useSyncExternalStore(S,G,J)},rt.useTransition=function(){return Z.H.useTransition()},rt.version="19.2.3",rt}var Pm;function Rr(){return Pm||(Pm=1,mr.exports=np()),mr.exports}var M=Rr();const ap=Mr(M),Dr=tp({__proto__:null,default:ap},[M]);var hr={exports:{}},ii={},yr={exports:{}},vr={};/**
 * @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 th;function ip(){return th||(th=1,function(i){function c(C,Q){var L=C.length;C.push(Q);t:for(;0<L;){var ot=L-1>>>1,mt=C[ot];if(0<f(mt,Q))C[ot]=Q,C[L]=mt,L=ot;else break t}}function r(C){return C.length===0?null:C[0]}function o(C){if(C.length===0)return null;var Q=C[0],L=C.pop();if(L!==Q){C[0]=L;t:for(var ot=0,mt=C.length,S=mt>>>1;ot<S;){var G=2*(ot+1)-1,J=C[G],W=G+1,ct=C[W];if(0>f(J,L))W<mt&&0>f(ct,J)?(C[ot]=ct,C[W]=L,ot=W):(C[ot]=J,C[G]=L,ot=G);else if(W<mt&&0>f(ct,L))C[ot]=ct,C[W]=L,ot=W;else break t}}return Q}function f(C,Q){var L=C.sortIndex-Q.sortIndex;return L!==0?L:C.id-Q.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var h=Date,g=h.now();i.unstable_now=function(){return h.now()-g}}var v=[],y=[],b=1,A=null,N=3,H=!1,X=!1,x=!1,T=!1,O=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function V(C){for(var Q=r(y);Q!==null;){if(Q.callback===null)o(y);else if(Q.startTime<=C)o(y),Q.sortIndex=Q.expirationTime,c(v,Q);else break;Q=r(y)}}function k(C){if(x=!1,V(C),!X)if(r(v)!==null)X=!0,$||($=!0,st());else{var Q=r(y);Q!==null&&vt(k,Q.startTime-C)}}var $=!1,Z=-1,K=5,nt=-1;function et(){return T?!0:!(i.unstable_now()-nt<K)}function gt(){if(T=!1,$){var C=i.unstable_now();nt=C;var Q=!0;try{t:{X=!1,x&&(x=!1,D(Z),Z=-1),H=!0;var L=N;try{e:{for(V(C),A=r(v);A!==null&&!(A.expirationTime>C&&et());){var ot=A.callback;if(typeof ot=="function"){A.callback=null,N=A.priorityLevel;var mt=ot(A.expirationTime<=C);if(C=i.unstable_now(),typeof mt=="function"){A.callback=mt,V(C),Q=!0;break e}A===r(v)&&o(v),V(C)}else o(v);A=r(v)}if(A!==null)Q=!0;else{var S=r(y);S!==null&&vt(k,S.startTime-C),Q=!1}}break t}finally{A=null,N=L,H=!1}Q=void 0}}finally{Q?st():$=!1}}}var st;if(typeof B=="function")st=function(){B(gt)};else if(typeof MessageChannel<"u"){var pt=new MessageChannel,bt=pt.port2;pt.port1.onmessage=gt,st=function(){bt.postMessage(null)}}else st=function(){O(gt,0)};function vt(C,Q){Z=O(function(){C(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(C){C.callback=null},i.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<C?Math.floor(1e3/C):5},i.unstable_getCurrentPriorityLevel=function(){return N},i.unstable_next=function(C){switch(N){case 1:case 2:case 3:var Q=3;break;default:Q=N}var L=N;N=Q;try{return C()}finally{N=L}},i.unstable_requestPaint=function(){T=!0},i.unstable_runWithPriority=function(C,Q){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var L=N;N=C;try{return Q()}finally{N=L}},i.unstable_scheduleCallback=function(C,Q,L){var ot=i.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?ot+L:ot):L=ot,C){case 1:var mt=-1;break;case 2:mt=250;break;case 5:mt=1073741823;break;case 4:mt=1e4;break;default:mt=5e3}return mt=L+mt,C={id:b++,callback:Q,priorityLevel:C,startTime:L,expirationTime:mt,sortIndex:-1},L>ot?(C.sortIndex=L,c(y,C),r(v)===null&&C===r(y)&&(x?(D(Z),Z=-1):x=!0,vt(k,L-ot))):(C.sortIndex=mt,c(v,C),X||H||(X=!0,$||($=!0,st()))),C},i.unstable_shouldYield=et,i.unstable_wrapCallback=function(C){var Q=N;return function(){var L=N;N=Q;try{return C.apply(this,arguments)}finally{N=L}}}}(vr)),vr}var eh;function up(){return eh||(eh=1,yr.exports=ip()),yr.exports}var gr={exports:{}},le={};/**
 * @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 lh;function cp(){if(lh)return le;lh=1;var i=Rr();function c(v){var y="https://react.dev/errors/"+v;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)y+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+v+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(v,y,b){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:A==null?null:""+A,children:v,containerInfo:y,implementation:b}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(v,y){if(v==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return le.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,le.createPortal=function(v,y){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return d(v,y,null,b)},le.flushSync=function(v){var y=h.T,b=o.p;try{if(h.T=null,o.p=2,v)return v()}finally{h.T=y,o.p=b,o.d.f()}},le.preconnect=function(v,y){typeof v=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(v,y))},le.prefetchDNS=function(v){typeof v=="string"&&o.d.D(v)},le.preinit=function(v,y){if(typeof v=="string"&&y&&typeof y.as=="string"){var b=y.as,A=g(b,y.crossOrigin),N=typeof y.integrity=="string"?y.integrity:void 0,H=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;b==="style"?o.d.S(v,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:A,integrity:N,fetchPriority:H}):b==="script"&&o.d.X(v,{crossOrigin:A,integrity:N,fetchPriority:H,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},le.preinitModule=function(v,y){if(typeof v=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var b=g(y.as,y.crossOrigin);o.d.M(v,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(v)},le.preload=function(v,y){if(typeof v=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var b=y.as,A=g(b,y.crossOrigin);o.d.L(v,b,{crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},le.preloadModule=function(v,y){if(typeof v=="string")if(y){var b=g(y.as,y.crossOrigin);o.d.m(v,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(v)},le.requestFormReset=function(v){o.d.r(v)},le.unstable_batchedUpdates=function(v,y){return v(y)},le.useFormState=function(v,y,b){return h.H.useFormState(v,y,b)},le.useFormStatus=function(){return h.H.useHostTransitionStatus()},le.version="19.2.3",le}var nh;function Mh(){if(nh)return gr.exports;nh=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(c){console.error(c)}}return i(),gr.exports=cp(),gr.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 ah;function op(){if(ah)return ii;ah=1;var i=up(),c=Rr(),r=Mh();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(d(t)!==t)throw Error(o(188))}function y(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(o(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return v(a),t;if(u===n)return v(a),e;u=u.sibling}throw Error(o(188))}if(l.return!==n.return)l=a,n=u;else{for(var s=!1,m=a.child;m;){if(m===l){s=!0,l=a,n=u;break}if(m===n){s=!0,n=a,l=u;break}m=m.sibling}if(!s){for(m=u.child;m;){if(m===l){s=!0,l=u,n=a;break}if(m===n){s=!0,n=u,l=a;break}m=m.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==n)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var A=Object.assign,N=Symbol.for("react.element"),H=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),B=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),nt=Symbol.for("react.activity"),et=Symbol.for("react.memo_cache_sentinel"),gt=Symbol.iterator;function st(t){return t===null||typeof t!="object"?null:(t=gt&&t[gt]||t["@@iterator"],typeof t=="function"?t:null)}var pt=Symbol.for("react.client.reference");function bt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===pt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case x:return"Fragment";case O:return"Profiler";case T:return"StrictMode";case k:return"Suspense";case $:return"SuspenseList";case nt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case X:return"Portal";case B:return t.displayName||"Context";case D:return(t._context.displayName||"Context")+".Consumer";case V:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Z:return e=t.displayName||null,e!==null?e:bt(t.type)||"Memo";case K:e=t._payload,t=t._init;try{return bt(t(e))}catch{}}return null}var vt=Array.isArray,C=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},ot=[],mt=-1;function S(t){return{current:t}}function G(t){0>mt||(t.current=ot[mt],ot[mt]=null,mt--)}function J(t,e){mt++,ot[mt]=t.current,t.current=e}var W=S(null),ct=S(null),ft=S(null),at=S(null);function Gt(t,e){switch(J(ft,e),J(ct,t),J(W,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?bm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=bm(e),t=Sm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(W),J(W,t)}function zt(){G(W),G(ct),G(ft)}function fe(t){t.memoizedState!==null&&J(at,t);var e=W.current,l=Sm(e,t.type);e!==l&&(J(ct,t),J(W,l))}function Ue(t){ct.current===t&&(G(W),G(ct)),at.current===t&&(G(at),ti._currentValue=L)}var He,pl;function Ye(t){if(He===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);He=e&&e[1]||"",pl=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+He+t+pl}var sa=!1;function fa(t,e){if(!t||sa)return"";sa=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(U){var R=U}Reflect.construct(t,[],Y)}else{try{Y.call()}catch(U){R=U}t.call(Y.prototype)}}else{try{throw Error()}catch(U){R=U}(Y=t())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(U){if(U&&R&&typeof U.stack=="string")return[U.stack,R.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),s=u[0],m=u[1];if(s&&m){var p=s.split(`
`),z=m.split(`
`);for(a=n=0;n<p.length&&!p[n].includes("DetermineComponentFrameRoot");)n++;for(;a<z.length&&!z[a].includes("DetermineComponentFrameRoot");)a++;if(n===p.length||a===z.length)for(n=p.length-1,a=z.length-1;1<=n&&0<=a&&p[n]!==z[a];)a--;for(;1<=n&&0<=a;n--,a--)if(p[n]!==z[a]){if(n!==1||a!==1)do if(n--,a--,0>a||p[n]!==z[a]){var j=`
`+p[n].replace(" at new "," at ");return t.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",t.displayName)),j}while(1<=n&&0<=a);break}}}finally{sa=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Ye(l):""}function Wu(t,e){switch(t.tag){case 26:case 27:case 5:return Ye(t.type);case 16:return Ye("Lazy");case 13:return t.child!==e&&e!==null?Ye("Suspense Fallback"):Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 15:return fa(t.type,!1);case 11:return fa(t.type.render,!1);case 1:return fa(t.type,!0);case 31:return Ye("Activity");default:return""}}function di(t){try{var e="",l=null;do e+=Wu(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var bl=Object.prototype.hasOwnProperty,Fu=i.unstable_scheduleCallback,Iu=i.unstable_cancelCallback,Dy=i.unstable_shouldYield,Ny=i.unstable_requestPaint,de=i.unstable_now,Uy=i.unstable_getCurrentPriorityLevel,Wr=i.unstable_ImmediatePriority,Fr=i.unstable_UserBlockingPriority,mi=i.unstable_NormalPriority,Hy=i.unstable_LowPriority,Ir=i.unstable_IdlePriority,Ly=i.log,jy=i.unstable_setDisableYieldValue,da=null,me=null;function Sl(t){if(typeof Ly=="function"&&jy(t),me&&typeof me.setStrictMode=="function")try{me.setStrictMode(da,t)}catch{}}var he=Math.clz32?Math.clz32:Gy,By=Math.log,qy=Math.LN2;function Gy(t){return t>>>=0,t===0?32:31-(By(t)/qy|0)|0}var hi=256,yi=262144,vi=4194304;function Wl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function gi(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,u=t.suspendedLanes,s=t.pingedLanes;t=t.warmLanes;var m=n&134217727;return m!==0?(n=m&~u,n!==0?a=Wl(n):(s&=m,s!==0?a=Wl(s):l||(l=m&~t,l!==0&&(a=Wl(l))))):(m=n&~u,m!==0?a=Wl(m):s!==0?a=Wl(s):l||(l=n&~t,l!==0&&(a=Wl(l)))),a===0?0:e!==0&&e!==a&&(e&u)===0&&(u=a&-a,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:a}function ma(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Yy(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pr(){var t=vi;return vi<<=1,(vi&62914560)===0&&(vi=4194304),t}function Pu(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function ha(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Vy(t,e,l,n,a,u){var s=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var m=t.entanglements,p=t.expirationTimes,z=t.hiddenUpdates;for(l=s&~l;0<l;){var j=31-he(l),Y=1<<j;m[j]=0,p[j]=-1;var R=z[j];if(R!==null)for(z[j]=null,j=0;j<R.length;j++){var U=R[j];U!==null&&(U.lane&=-536870913)}l&=~Y}n!==0&&ts(t,n,0),u!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=u&~(s&~e))}function ts(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-he(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function es(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-he(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function ls(t,e){var l=e&-e;return l=(l&42)!==0?1:tc(l),(l&(t.suspendedLanes|e))!==0?0:l}function tc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ec(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ns(){var t=Q.p;return t!==0?t:(t=window.event,t===void 0?32:Xm(t.type))}function as(t,e){var l=Q.p;try{return Q.p=t,e()}finally{Q.p=l}}var El=Math.random().toString(36).slice(2),Ft="__reactFiber$"+El,ae="__reactProps$"+El,pn="__reactContainer$"+El,lc="__reactEvents$"+El,Xy="__reactListeners$"+El,Qy="__reactHandles$"+El,is="__reactResources$"+El,ya="__reactMarker$"+El;function nc(t){delete t[Ft],delete t[ae],delete t[lc],delete t[Xy],delete t[Qy]}function bn(t){var e=t[Ft];if(e)return e;for(var l=t.parentNode;l;){if(e=l[pn]||l[Ft]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=wm(t);t!==null;){if(l=t[Ft])return l;t=wm(t)}return e}t=l,l=t.parentNode}return null}function Sn(t){if(t=t[Ft]||t[pn]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function va(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function En(t){var e=t[is];return e||(e=t[is]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function $t(t){t[ya]=!0}var us=new Set,cs={};function Fl(t,e){An(t,e),An(t+"Capture",e)}function An(t,e){for(cs[t]=e,t=0;t<e.length;t++)us.add(e[t])}var Zy=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]*$"),os={},rs={};function Ky(t){return bl.call(rs,t)?!0:bl.call(os,t)?!1:Zy.test(t)?rs[t]=!0:(os[t]=!0,!1)}function pi(t,e,l){if(Ky(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function bi(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function We(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function xe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ss(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Jy(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,u=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(s){l=""+s,u.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ac(t){if(!t._valueTracker){var e=ss(t)?"checked":"value";t._valueTracker=Jy(t,e,""+t[e])}}function fs(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=ss(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Si(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var ky=/[\n"\\]/g;function _e(t){return t.replace(ky,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ic(t,e,l,n,a,u,s,m){t.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.type=s:t.removeAttribute("type"),e!=null?s==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+xe(e)):t.value!==""+xe(e)&&(t.value=""+xe(e)):s!=="submit"&&s!=="reset"||t.removeAttribute("value"),e!=null?uc(t,s,xe(e)):l!=null?uc(t,s,xe(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.name=""+xe(m):t.removeAttribute("name")}function ds(t,e,l,n,a,u,s,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){ac(t);return}l=l!=null?""+xe(l):"",e=e!=null?""+xe(e):l,m||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=m?t.checked:!!n,t.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.name=s),ac(t)}function uc(t,e,l){e==="number"&&Si(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Tn(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+xe(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function ms(t,e,l){if(e!=null&&(e=""+xe(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+xe(l):""}function hs(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(o(92));if(vt(n)){if(1<n.length)throw Error(o(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=xe(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),ac(t)}function xn(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var $y=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 ys(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||$y.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function vs(t,e,l){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&ys(t,a,n)}else for(var u in e)e.hasOwnProperty(u)&&ys(t,u,e[u])}function cc(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wy=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"]]),Fy=/^[\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 Ei(t){return Fy.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Fe(){}var oc=null;function rc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var _n=null,On=null;function gs(t){var e=Sn(t);if(e&&(t=e.stateNode)){var l=t[ae]||null;t:switch(t=e.stateNode,e.type){case"input":if(ic(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+_e(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[ae]||null;if(!a)throw Error(o(90));ic(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&fs(n)}break t;case"textarea":ms(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Tn(t,!!l.multiple,e,!1)}}}var sc=!1;function ps(t,e,l){if(sc)return t(e,l);sc=!0;try{var n=t(e);return n}finally{if(sc=!1,(_n!==null||On!==null)&&(ou(),_n&&(e=_n,t=On,On=_n=null,gs(e),t)))for(e=0;e<t.length;e++)gs(t[e])}}function ga(t,e){var l=t.stateNode;if(l===null)return null;var n=l[ae]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(o(231,e,typeof l));return l}var Ie=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fc=!1;if(Ie)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){fc=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{fc=!1}var Al=null,dc=null,Ai=null;function bs(){if(Ai)return Ai;var t,e=dc,l=e.length,n,a="value"in Al?Al.value:Al.textContent,u=a.length;for(t=0;t<l&&e[t]===a[t];t++);var s=l-t;for(n=1;n<=s&&e[l-n]===a[u-n];n++);return Ai=a.slice(t,1<n?1-n:void 0)}function Ti(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function xi(){return!0}function Ss(){return!1}function ie(t){function e(l,n,a,u,s){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=u,this.target=s,this.currentTarget=null;for(var m in t)t.hasOwnProperty(m)&&(l=t[m],this[m]=l?l(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?xi:Ss,this.isPropagationStopped=Ss,this}return A(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=xi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),e}var Il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_i=ie(Il),ba=A({},Il,{view:0,detail:0}),Iy=ie(ba),mc,hc,Sa,Oi=A({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Sa&&(Sa&&t.type==="mousemove"?(mc=t.screenX-Sa.screenX,hc=t.screenY-Sa.screenY):hc=mc=0,Sa=t),mc)},movementY:function(t){return"movementY"in t?t.movementY:hc}}),Es=ie(Oi),Py=A({},Oi,{dataTransfer:0}),tv=ie(Py),ev=A({},ba,{relatedTarget:0}),yc=ie(ev),lv=A({},Il,{animationName:0,elapsedTime:0,pseudoElement:0}),nv=ie(lv),av=A({},Il,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),iv=ie(av),uv=A({},Il,{data:0}),As=ie(uv),cv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ov={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"},rv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=rv[t])?!!e[t]:!1}function vc(){return sv}var fv=A({},ba,{key:function(t){if(t.key){var e=cv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ti(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ov[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vc,charCode:function(t){return t.type==="keypress"?Ti(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ti(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),dv=ie(fv),mv=A({},Oi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ts=ie(mv),hv=A({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vc}),yv=ie(hv),vv=A({},Il,{propertyName:0,elapsedTime:0,pseudoElement:0}),gv=ie(vv),pv=A({},Oi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),bv=ie(pv),Sv=A({},Il,{newState:0,oldState:0}),Ev=ie(Sv),Av=[9,13,27,32],gc=Ie&&"CompositionEvent"in window,Ea=null;Ie&&"documentMode"in document&&(Ea=document.documentMode);var Tv=Ie&&"TextEvent"in window&&!Ea,xs=Ie&&(!gc||Ea&&8<Ea&&11>=Ea),_s=" ",Os=!1;function ws(t,e){switch(t){case"keyup":return Av.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var wn=!1;function xv(t,e){switch(t){case"compositionend":return zs(e);case"keypress":return e.which!==32?null:(Os=!0,_s);case"textInput":return t=e.data,t===_s&&Os?null:t;default:return null}}function _v(t,e){if(wn)return t==="compositionend"||!gc&&ws(t,e)?(t=bs(),Ai=dc=Al=null,wn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return xs&&e.locale!=="ko"?null:e.data;default:return null}}var Ov={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 Cs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Ov[t.type]:e==="textarea"}function Ms(t,e,l,n){_n?On?On.push(n):On=[n]:_n=n,e=yu(e,"onChange"),0<e.length&&(l=new _i("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var Aa=null,Ta=null;function wv(t){mm(t,0)}function wi(t){var e=va(t);if(fs(e))return t}function Rs(t,e){if(t==="change")return e}var Ds=!1;if(Ie){var pc;if(Ie){var bc="oninput"in document;if(!bc){var Ns=document.createElement("div");Ns.setAttribute("oninput","return;"),bc=typeof Ns.oninput=="function"}pc=bc}else pc=!1;Ds=pc&&(!document.documentMode||9<document.documentMode)}function Us(){Aa&&(Aa.detachEvent("onpropertychange",Hs),Ta=Aa=null)}function Hs(t){if(t.propertyName==="value"&&wi(Ta)){var e=[];Ms(e,Ta,t,rc(t)),ps(wv,e)}}function zv(t,e,l){t==="focusin"?(Us(),Aa=e,Ta=l,Aa.attachEvent("onpropertychange",Hs)):t==="focusout"&&Us()}function Cv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return wi(Ta)}function Mv(t,e){if(t==="click")return wi(e)}function Rv(t,e){if(t==="input"||t==="change")return wi(e)}function Dv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ye=typeof Object.is=="function"?Object.is:Dv;function xa(t,e){if(ye(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!bl.call(e,a)||!ye(t[a],e[a]))return!1}return!0}function Ls(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function js(t,e){var l=Ls(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ls(l)}}function Bs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Bs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function qs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Si(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Si(t.document)}return e}function Sc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Nv=Ie&&"documentMode"in document&&11>=document.documentMode,zn=null,Ec=null,_a=null,Ac=!1;function Gs(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ac||zn==null||zn!==Si(n)||(n=zn,"selectionStart"in n&&Sc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),_a&&xa(_a,n)||(_a=n,n=yu(Ec,"onSelect"),0<n.length&&(e=new _i("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=zn)))}function Pl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var Cn={animationend:Pl("Animation","AnimationEnd"),animationiteration:Pl("Animation","AnimationIteration"),animationstart:Pl("Animation","AnimationStart"),transitionrun:Pl("Transition","TransitionRun"),transitionstart:Pl("Transition","TransitionStart"),transitioncancel:Pl("Transition","TransitionCancel"),transitionend:Pl("Transition","TransitionEnd")},Tc={},Ys={};Ie&&(Ys=document.createElement("div").style,"AnimationEvent"in window||(delete Cn.animationend.animation,delete Cn.animationiteration.animation,delete Cn.animationstart.animation),"TransitionEvent"in window||delete Cn.transitionend.transition);function tn(t){if(Tc[t])return Tc[t];if(!Cn[t])return t;var e=Cn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Ys)return Tc[t]=e[l];return t}var Vs=tn("animationend"),Xs=tn("animationiteration"),Qs=tn("animationstart"),Uv=tn("transitionrun"),Hv=tn("transitionstart"),Lv=tn("transitioncancel"),Zs=tn("transitionend"),Ks=new Map,xc="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(" ");xc.push("scrollEnd");function Le(t,e){Ks.set(t,e),Fl(e,[t])}var zi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Oe=[],Mn=0,_c=0;function Ci(){for(var t=Mn,e=_c=Mn=0;e<t;){var l=Oe[e];Oe[e++]=null;var n=Oe[e];Oe[e++]=null;var a=Oe[e];Oe[e++]=null;var u=Oe[e];if(Oe[e++]=null,n!==null&&a!==null){var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}u!==0&&Js(l,a,u)}}function Mi(t,e,l,n){Oe[Mn++]=t,Oe[Mn++]=e,Oe[Mn++]=l,Oe[Mn++]=n,_c|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function Oc(t,e,l,n){return Mi(t,e,l,n),Ri(t)}function en(t,e){return Mi(t,null,null,e),Ri(t)}function Js(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,u=t.return;u!==null;)u.childLanes|=l,n=u.alternate,n!==null&&(n.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(a=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,a&&e!==null&&(a=31-he(l),t=u.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),u):null}function Ri(t){if(50<Ja)throw Ja=0,Lo=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Rn={};function jv(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ve(t,e,l,n){return new jv(t,e,l,n)}function wc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Pe(t,e){var l=t.alternate;return l===null?(l=ve(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function ks(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Di(t,e,l,n,a,u){var s=0;if(n=t,typeof t=="function")wc(t)&&(s=1);else if(typeof t=="string")s=Vg(t,l,W.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case nt:return t=ve(31,l,e,a),t.elementType=nt,t.lanes=u,t;case x:return ln(l.children,a,u,e);case T:s=8,a|=24;break;case O:return t=ve(12,l,e,a|2),t.elementType=O,t.lanes=u,t;case k:return t=ve(13,l,e,a),t.elementType=k,t.lanes=u,t;case $:return t=ve(19,l,e,a),t.elementType=$,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case B:s=10;break t;case D:s=9;break t;case V:s=11;break t;case Z:s=14;break t;case K:s=16,n=null;break t}s=29,l=Error(o(130,t===null?"null":typeof t,"")),n=null}return e=ve(s,l,e,a),e.elementType=t,e.type=n,e.lanes=u,e}function ln(t,e,l,n){return t=ve(7,t,n,e),t.lanes=l,t}function zc(t,e,l){return t=ve(6,t,null,e),t.lanes=l,t}function $s(t){var e=ve(18,null,null,0);return e.stateNode=t,e}function Cc(t,e,l){return e=ve(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ws=new WeakMap;function we(t,e){if(typeof t=="object"&&t!==null){var l=Ws.get(t);return l!==void 0?l:(e={value:t,source:e,stack:di(e)},Ws.set(t,e),e)}return{value:t,source:e,stack:di(e)}}var Dn=[],Nn=0,Ni=null,Oa=0,ze=[],Ce=0,Tl=null,Ve=1,Xe="";function tl(t,e){Dn[Nn++]=Oa,Dn[Nn++]=Ni,Ni=t,Oa=e}function Fs(t,e,l){ze[Ce++]=Ve,ze[Ce++]=Xe,ze[Ce++]=Tl,Tl=t;var n=Ve;t=Xe;var a=32-he(n)-1;n&=~(1<<a),l+=1;var u=32-he(e)+a;if(30<u){var s=a-a%5;u=(n&(1<<s)-1).toString(32),n>>=s,a-=s,Ve=1<<32-he(e)+a|l<<a|n,Xe=u+t}else Ve=1<<u|l<<a|n,Xe=t}function Mc(t){t.return!==null&&(tl(t,1),Fs(t,1,0))}function Rc(t){for(;t===Ni;)Ni=Dn[--Nn],Dn[Nn]=null,Oa=Dn[--Nn],Dn[Nn]=null;for(;t===Tl;)Tl=ze[--Ce],ze[Ce]=null,Xe=ze[--Ce],ze[Ce]=null,Ve=ze[--Ce],ze[Ce]=null}function Is(t,e){ze[Ce++]=Ve,ze[Ce++]=Xe,ze[Ce++]=Tl,Ve=e.id,Xe=e.overflow,Tl=t}var It=null,Ht=null,xt=!1,xl=null,Me=!1,Dc=Error(o(519));function _l(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wa(we(e,t)),Dc}function Ps(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[Ft]=t,e[ae]=n,l){case"dialog":Et("cancel",e),Et("close",e);break;case"iframe":case"object":case"embed":Et("load",e);break;case"video":case"audio":for(l=0;l<$a.length;l++)Et($a[l],e);break;case"source":Et("error",e);break;case"img":case"image":case"link":Et("error",e),Et("load",e);break;case"details":Et("toggle",e);break;case"input":Et("invalid",e),ds(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":Et("invalid",e);break;case"textarea":Et("invalid",e),hs(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||gm(e.textContent,l)?(n.popover!=null&&(Et("beforetoggle",e),Et("toggle",e)),n.onScroll!=null&&Et("scroll",e),n.onScrollEnd!=null&&Et("scrollend",e),n.onClick!=null&&(e.onclick=Fe),e=!0):e=!1,e||_l(t,!0)}function tf(t){for(It=t.return;It;)switch(It.tag){case 5:case 31:case 13:Me=!1;return;case 27:case 3:Me=!0;return;default:It=It.return}}function Un(t){if(t!==It)return!1;if(!xt)return tf(t),xt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Fo(t.type,t.memoizedProps)),l=!l),l&&Ht&&_l(t),tf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ht=Om(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ht=Om(t)}else e===27?(e=Ht,ql(t.type)?(t=lr,lr=null,Ht=t):Ht=e):Ht=It?De(t.stateNode.nextSibling):null;return!0}function nn(){Ht=It=null,xt=!1}function Nc(){var t=xl;return t!==null&&(re===null?re=t:re.push.apply(re,t),xl=null),t}function wa(t){xl===null?xl=[t]:xl.push(t)}var Uc=S(null),an=null,el=null;function Ol(t,e,l){J(Uc,e._currentValue),e._currentValue=l}function ll(t){t._currentValue=Uc.current,G(Uc)}function Hc(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function Lc(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){var s=a.child;u=u.firstContext;t:for(;u!==null;){var m=u;u=a;for(var p=0;p<e.length;p++)if(m.context===e[p]){u.lanes|=l,m=u.alternate,m!==null&&(m.lanes|=l),Hc(u.return,l,t),n||(s=null);break t}u=m.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(o(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),Hc(s,l,t),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Hn(t,e,l,n){t=null;for(var a=e,u=!1;a!==null;){if(!u){if((a.flags&524288)!==0)u=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var m=a.type;ye(a.pendingProps.value,s.value)||(t!==null?t.push(m):t=[m])}}else if(a===at.current){if(s=a.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(ti):t=[ti])}a=a.return}t!==null&&Lc(e,t,l,n),e.flags|=262144}function Ui(t){for(t=t.firstContext;t!==null;){if(!ye(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function un(t){an=t,el=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Pt(t){return ef(an,t)}function Hi(t,e){return an===null&&un(t),ef(t,e)}function ef(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},el===null){if(t===null)throw Error(o(308));el=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else el=el.next=e;return l}var Bv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},qv=i.unstable_scheduleCallback,Gv=i.unstable_NormalPriority,Xt={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jc(){return{controller:new Bv,data:new Map,refCount:0}}function za(t){t.refCount--,t.refCount===0&&qv(Gv,function(){t.controller.abort()})}var Ca=null,Bc=0,Ln=0,jn=null;function Yv(t,e){if(Ca===null){var l=Ca=[];Bc=0,Ln=Vo(),jn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return Bc++,e.then(lf,lf),e}function lf(){if(--Bc===0&&Ca!==null){jn!==null&&(jn.status="fulfilled");var t=Ca;Ca=null,Ln=0,jn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Vv(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var nf=C.S;C.S=function(t,e){Yd=de(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Yv(t,e),nf!==null&&nf(t,e)};var cn=S(null);function qc(){var t=cn.current;return t!==null?t:Ut.pooledCache}function Li(t,e){e===null?J(cn,cn.current):J(cn,e.pool)}function af(){var t=qc();return t===null?null:{parent:Xt._currentValue,pool:t}}var Bn=Error(o(460)),Gc=Error(o(474)),ji=Error(o(542)),Bi={then:function(){}};function uf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function cf(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Fe,Fe),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,rf(t),t;default:if(typeof e.status=="string")e.then(Fe,Fe);else{if(t=Ut,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,rf(t),t}throw rn=e,Bn}}function on(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(rn=l,Bn):l}}var rn=null;function of(){if(rn===null)throw Error(o(459));var t=rn;return rn=null,t}function rf(t){if(t===Bn||t===ji)throw Error(o(483))}var qn=null,Ma=0;function qi(t){var e=Ma;return Ma+=1,qn===null&&(qn=[]),cf(qn,t,e)}function Ra(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Gi(t,e){throw e.$$typeof===N?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function sf(t){function e(_,E){if(t){var w=_.deletions;w===null?(_.deletions=[E],_.flags|=16):w.push(E)}}function l(_,E){if(!t)return null;for(;E!==null;)e(_,E),E=E.sibling;return null}function n(_){for(var E=new Map;_!==null;)_.key!==null?E.set(_.key,_):E.set(_.index,_),_=_.sibling;return E}function a(_,E){return _=Pe(_,E),_.index=0,_.sibling=null,_}function u(_,E,w){return _.index=w,t?(w=_.alternate,w!==null?(w=w.index,w<E?(_.flags|=67108866,E):w):(_.flags|=67108866,E)):(_.flags|=1048576,E)}function s(_){return t&&_.alternate===null&&(_.flags|=67108866),_}function m(_,E,w,q){return E===null||E.tag!==6?(E=zc(w,_.mode,q),E.return=_,E):(E=a(E,w),E.return=_,E)}function p(_,E,w,q){var lt=w.type;return lt===x?j(_,E,w.props.children,q,w.key):E!==null&&(E.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===K&&on(lt)===E.type)?(E=a(E,w.props),Ra(E,w),E.return=_,E):(E=Di(w.type,w.key,w.props,null,_.mode,q),Ra(E,w),E.return=_,E)}function z(_,E,w,q){return E===null||E.tag!==4||E.stateNode.containerInfo!==w.containerInfo||E.stateNode.implementation!==w.implementation?(E=Cc(w,_.mode,q),E.return=_,E):(E=a(E,w.children||[]),E.return=_,E)}function j(_,E,w,q,lt){return E===null||E.tag!==7?(E=ln(w,_.mode,q,lt),E.return=_,E):(E=a(E,w),E.return=_,E)}function Y(_,E,w){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=zc(""+E,_.mode,w),E.return=_,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case H:return w=Di(E.type,E.key,E.props,null,_.mode,w),Ra(w,E),w.return=_,w;case X:return E=Cc(E,_.mode,w),E.return=_,E;case K:return E=on(E),Y(_,E,w)}if(vt(E)||st(E))return E=ln(E,_.mode,w,null),E.return=_,E;if(typeof E.then=="function")return Y(_,qi(E),w);if(E.$$typeof===B)return Y(_,Hi(_,E),w);Gi(_,E)}return null}function R(_,E,w,q){var lt=E!==null?E.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return lt!==null?null:m(_,E,""+w,q);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case H:return w.key===lt?p(_,E,w,q):null;case X:return w.key===lt?z(_,E,w,q):null;case K:return w=on(w),R(_,E,w,q)}if(vt(w)||st(w))return lt!==null?null:j(_,E,w,q,null);if(typeof w.then=="function")return R(_,E,qi(w),q);if(w.$$typeof===B)return R(_,E,Hi(_,w),q);Gi(_,w)}return null}function U(_,E,w,q,lt){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return _=_.get(w)||null,m(E,_,""+q,lt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case H:return _=_.get(q.key===null?w:q.key)||null,p(E,_,q,lt);case X:return _=_.get(q.key===null?w:q.key)||null,z(E,_,q,lt);case K:return q=on(q),U(_,E,w,q,lt)}if(vt(q)||st(q))return _=_.get(w)||null,j(E,_,q,lt,null);if(typeof q.then=="function")return U(_,E,w,qi(q),lt);if(q.$$typeof===B)return U(_,E,w,Hi(E,q),lt);Gi(E,q)}return null}function F(_,E,w,q){for(var lt=null,_t=null,tt=E,ht=E=0,Tt=null;tt!==null&&ht<w.length;ht++){tt.index>ht?(Tt=tt,tt=null):Tt=tt.sibling;var Ot=R(_,tt,w[ht],q);if(Ot===null){tt===null&&(tt=Tt);break}t&&tt&&Ot.alternate===null&&e(_,tt),E=u(Ot,E,ht),_t===null?lt=Ot:_t.sibling=Ot,_t=Ot,tt=Tt}if(ht===w.length)return l(_,tt),xt&&tl(_,ht),lt;if(tt===null){for(;ht<w.length;ht++)tt=Y(_,w[ht],q),tt!==null&&(E=u(tt,E,ht),_t===null?lt=tt:_t.sibling=tt,_t=tt);return xt&&tl(_,ht),lt}for(tt=n(tt);ht<w.length;ht++)Tt=U(tt,_,ht,w[ht],q),Tt!==null&&(t&&Tt.alternate!==null&&tt.delete(Tt.key===null?ht:Tt.key),E=u(Tt,E,ht),_t===null?lt=Tt:_t.sibling=Tt,_t=Tt);return t&&tt.forEach(function(Ql){return e(_,Ql)}),xt&&tl(_,ht),lt}function ut(_,E,w,q){if(w==null)throw Error(o(151));for(var lt=null,_t=null,tt=E,ht=E=0,Tt=null,Ot=w.next();tt!==null&&!Ot.done;ht++,Ot=w.next()){tt.index>ht?(Tt=tt,tt=null):Tt=tt.sibling;var Ql=R(_,tt,Ot.value,q);if(Ql===null){tt===null&&(tt=Tt);break}t&&tt&&Ql.alternate===null&&e(_,tt),E=u(Ql,E,ht),_t===null?lt=Ql:_t.sibling=Ql,_t=Ql,tt=Tt}if(Ot.done)return l(_,tt),xt&&tl(_,ht),lt;if(tt===null){for(;!Ot.done;ht++,Ot=w.next())Ot=Y(_,Ot.value,q),Ot!==null&&(E=u(Ot,E,ht),_t===null?lt=Ot:_t.sibling=Ot,_t=Ot);return xt&&tl(_,ht),lt}for(tt=n(tt);!Ot.done;ht++,Ot=w.next())Ot=U(tt,_,ht,Ot.value,q),Ot!==null&&(t&&Ot.alternate!==null&&tt.delete(Ot.key===null?ht:Ot.key),E=u(Ot,E,ht),_t===null?lt=Ot:_t.sibling=Ot,_t=Ot);return t&&tt.forEach(function(Pg){return e(_,Pg)}),xt&&tl(_,ht),lt}function Nt(_,E,w,q){if(typeof w=="object"&&w!==null&&w.type===x&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case H:t:{for(var lt=w.key;E!==null;){if(E.key===lt){if(lt=w.type,lt===x){if(E.tag===7){l(_,E.sibling),q=a(E,w.props.children),q.return=_,_=q;break t}}else if(E.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===K&&on(lt)===E.type){l(_,E.sibling),q=a(E,w.props),Ra(q,w),q.return=_,_=q;break t}l(_,E);break}else e(_,E);E=E.sibling}w.type===x?(q=ln(w.props.children,_.mode,q,w.key),q.return=_,_=q):(q=Di(w.type,w.key,w.props,null,_.mode,q),Ra(q,w),q.return=_,_=q)}return s(_);case X:t:{for(lt=w.key;E!==null;){if(E.key===lt)if(E.tag===4&&E.stateNode.containerInfo===w.containerInfo&&E.stateNode.implementation===w.implementation){l(_,E.sibling),q=a(E,w.children||[]),q.return=_,_=q;break t}else{l(_,E);break}else e(_,E);E=E.sibling}q=Cc(w,_.mode,q),q.return=_,_=q}return s(_);case K:return w=on(w),Nt(_,E,w,q)}if(vt(w))return F(_,E,w,q);if(st(w)){if(lt=st(w),typeof lt!="function")throw Error(o(150));return w=lt.call(w),ut(_,E,w,q)}if(typeof w.then=="function")return Nt(_,E,qi(w),q);if(w.$$typeof===B)return Nt(_,E,Hi(_,w),q);Gi(_,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,E!==null&&E.tag===6?(l(_,E.sibling),q=a(E,w),q.return=_,_=q):(l(_,E),q=zc(w,_.mode,q),q.return=_,_=q),s(_)):l(_,E)}return function(_,E,w,q){try{Ma=0;var lt=Nt(_,E,w,q);return qn=null,lt}catch(tt){if(tt===Bn||tt===ji)throw tt;var _t=ve(29,tt,null,_.mode);return _t.lanes=q,_t.return=_,_t}finally{}}}var sn=sf(!0),ff=sf(!1),wl=!1;function Yc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cl(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(wt&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=Ri(t),Js(t,null,l),e}return Mi(t,n,e,l),Ri(t)}function Da(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,es(t,l)}}function Xc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?a=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?a=u=e:u=u.next=e}else a=u=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Qc=!1;function Na(){if(Qc){var t=jn;if(t!==null)throw t}}function Ua(t,e,l,n){Qc=!1;var a=t.updateQueue;wl=!1;var u=a.firstBaseUpdate,s=a.lastBaseUpdate,m=a.shared.pending;if(m!==null){a.shared.pending=null;var p=m,z=p.next;p.next=null,s===null?u=z:s.next=z,s=p;var j=t.alternate;j!==null&&(j=j.updateQueue,m=j.lastBaseUpdate,m!==s&&(m===null?j.firstBaseUpdate=z:m.next=z,j.lastBaseUpdate=p))}if(u!==null){var Y=a.baseState;s=0,j=z=p=null,m=u;do{var R=m.lane&-536870913,U=R!==m.lane;if(U?(At&R)===R:(n&R)===R){R!==0&&R===Ln&&(Qc=!0),j!==null&&(j=j.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});t:{var F=t,ut=m;R=e;var Nt=l;switch(ut.tag){case 1:if(F=ut.payload,typeof F=="function"){Y=F.call(Nt,Y,R);break t}Y=F;break t;case 3:F.flags=F.flags&-65537|128;case 0:if(F=ut.payload,R=typeof F=="function"?F.call(Nt,Y,R):F,R==null)break t;Y=A({},Y,R);break t;case 2:wl=!0}}R=m.callback,R!==null&&(t.flags|=64,U&&(t.flags|=8192),U=a.callbacks,U===null?a.callbacks=[R]:U.push(R))}else U={lane:R,tag:m.tag,payload:m.payload,callback:m.callback,next:null},j===null?(z=j=U,p=Y):j=j.next=U,s|=R;if(m=m.next,m===null){if(m=a.shared.pending,m===null)break;U=m,m=U.next,U.next=null,a.lastBaseUpdate=U,a.shared.pending=null}}while(!0);j===null&&(p=Y),a.baseState=p,a.firstBaseUpdate=z,a.lastBaseUpdate=j,u===null&&(a.shared.lanes=0),Ul|=s,t.lanes=s,t.memoizedState=Y}}function df(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function mf(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)df(l[t],e)}var Gn=S(null),Yi=S(0);function hf(t,e){t=fl,J(Yi,t),J(Gn,e),fl=t|e.baseLanes}function Zc(){J(Yi,fl),J(Gn,Gn.current)}function Kc(){fl=Yi.current,G(Gn),G(Yi)}var ge=S(null),Re=null;function Ml(t){var e=t.alternate;J(Yt,Yt.current&1),J(ge,t),Re===null&&(e===null||Gn.current!==null||e.memoizedState!==null)&&(Re=t)}function Jc(t){J(Yt,Yt.current),J(ge,t),Re===null&&(Re=t)}function yf(t){t.tag===22?(J(Yt,Yt.current),J(ge,t),Re===null&&(Re=t)):Rl()}function Rl(){J(Yt,Yt.current),J(ge,ge.current)}function pe(t){G(ge),Re===t&&(Re=null),G(Yt)}var Yt=S(0);function Vi(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||tr(l)||er(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var nl=0,dt=null,Rt=null,Qt=null,Xi=!1,Yn=!1,fn=!1,Qi=0,Ha=0,Vn=null,Xv=0;function Bt(){throw Error(o(321))}function kc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!ye(t[l],e[l]))return!1;return!0}function $c(t,e,l,n,a,u){return nl=u,dt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,C.H=t===null||t.memoizedState===null?If:so,fn=!1,u=l(n,a),fn=!1,Yn&&(u=gf(e,l,n,a)),vf(t),u}function vf(t){C.H=Ba;var e=Rt!==null&&Rt.next!==null;if(nl=0,Qt=Rt=dt=null,Xi=!1,Ha=0,Vn=null,e)throw Error(o(300));t===null||Zt||(t=t.dependencies,t!==null&&Ui(t)&&(Zt=!0))}function gf(t,e,l,n){dt=t;var a=0;do{if(Yn&&(Vn=null),Ha=0,Yn=!1,25<=a)throw Error(o(301));if(a+=1,Qt=Rt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}C.H=Pf,u=e(l,n)}while(Yn);return u}function Qv(){var t=C.H,e=t.useState()[0];return e=typeof e.then=="function"?La(e):e,t=t.useState()[0],(Rt!==null?Rt.memoizedState:null)!==t&&(dt.flags|=1024),e}function Wc(){var t=Qi!==0;return Qi=0,t}function Fc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Ic(t){if(Xi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Xi=!1}nl=0,Qt=Rt=dt=null,Yn=!1,Ha=Qi=0,Vn=null}function ne(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?dt.memoizedState=Qt=t:Qt=Qt.next=t,Qt}function Vt(){if(Rt===null){var t=dt.alternate;t=t!==null?t.memoizedState:null}else t=Rt.next;var e=Qt===null?dt.memoizedState:Qt.next;if(e!==null)Qt=e,Rt=t;else{if(t===null)throw dt.alternate===null?Error(o(467)):Error(o(310));Rt=t,t={memoizedState:Rt.memoizedState,baseState:Rt.baseState,baseQueue:Rt.baseQueue,queue:Rt.queue,next:null},Qt===null?dt.memoizedState=Qt=t:Qt=Qt.next=t}return Qt}function Zi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function La(t){var e=Ha;return Ha+=1,Vn===null&&(Vn=[]),t=cf(Vn,t,e),e=dt,(Qt===null?e.memoizedState:Qt.next)===null&&(e=e.alternate,C.H=e===null||e.memoizedState===null?If:so),t}function Ki(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return La(t);if(t.$$typeof===B)return Pt(t)}throw Error(o(438,String(t)))}function Pc(t){var e=null,l=dt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=dt.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Zi(),dt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=et;return e.index++,l}function al(t,e){return typeof e=="function"?e(t):e}function Ji(t){var e=Vt();return to(e,Rt,t)}function to(t,e,l){var n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=l;var a=t.baseQueue,u=n.pending;if(u!==null){if(a!==null){var s=a.next;a.next=u.next,u.next=s}e.baseQueue=a=u,n.pending=null}if(u=t.baseState,a===null)t.memoizedState=u;else{e=a.next;var m=s=null,p=null,z=e,j=!1;do{var Y=z.lane&-536870913;if(Y!==z.lane?(At&Y)===Y:(nl&Y)===Y){var R=z.revertLane;if(R===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),Y===Ln&&(j=!0);else if((nl&R)===R){z=z.next,R===Ln&&(j=!0);continue}else Y={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},p===null?(m=p=Y,s=u):p=p.next=Y,dt.lanes|=R,Ul|=R;Y=z.action,fn&&l(u,Y),u=z.hasEagerState?z.eagerState:l(u,Y)}else R={lane:Y,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},p===null?(m=p=R,s=u):p=p.next=R,dt.lanes|=Y,Ul|=Y;z=z.next}while(z!==null&&z!==e);if(p===null?s=u:p.next=m,!ye(u,t.memoizedState)&&(Zt=!0,j&&(l=jn,l!==null)))throw l;t.memoizedState=u,t.baseState=s,t.baseQueue=p,n.lastRenderedState=u}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function eo(t){var e=Vt(),l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,u=e.memoizedState;if(a!==null){l.pending=null;var s=a=a.next;do u=t(u,s.action),s=s.next;while(s!==a);ye(u,e.memoizedState)||(Zt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,n]}function pf(t,e,l){var n=dt,a=Vt(),u=xt;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=e();var s=!ye((Rt||a).memoizedState,l);if(s&&(a.memoizedState=l,Zt=!0),a=a.queue,ao(Ef.bind(null,n,a,t),[t]),a.getSnapshot!==e||s||Qt!==null&&Qt.memoizedState.tag&1){if(n.flags|=2048,Xn(9,{destroy:void 0},Sf.bind(null,n,a,l,e),null),Ut===null)throw Error(o(349));u||(nl&127)!==0||bf(n,e,l)}return l}function bf(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=dt.updateQueue,e===null?(e=Zi(),dt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Sf(t,e,l,n){e.value=l,e.getSnapshot=n,Af(e)&&Tf(t)}function Ef(t,e,l){return l(function(){Af(e)&&Tf(t)})}function Af(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!ye(t,l)}catch{return!0}}function Tf(t){var e=en(t,2);e!==null&&se(e,t,2)}function lo(t){var e=ne();if(typeof t=="function"){var l=t;if(t=l(),fn){Sl(!0);try{l()}finally{Sl(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:t},e}function xf(t,e,l,n){return t.baseState=l,to(t,Rt,typeof n=="function"?n:al)}function Zv(t,e,l,n,a){if(Wi(t))throw Error(o(485));if(t=e.action,t!==null){var u={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){u.listeners.push(s)}};C.T!==null?l(!0):u.isTransition=!1,n(u),l=e.pending,l===null?(u.next=e.pending=u,_f(e,u)):(u.next=l.next,e.pending=l.next=u)}}function _f(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var u=C.T,s={};C.T=s;try{var m=l(a,n),p=C.S;p!==null&&p(s,m),Of(t,e,m)}catch(z){no(t,e,z)}finally{u!==null&&s.types!==null&&(u.types=s.types),C.T=u}}else try{u=l(a,n),Of(t,e,u)}catch(z){no(t,e,z)}}function Of(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){wf(t,e,n)},function(n){return no(t,e,n)}):wf(t,e,l)}function wf(t,e,l){e.status="fulfilled",e.value=l,zf(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,_f(t,l)))}function no(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,zf(e),e=e.next;while(e!==n)}t.action=null}function zf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Cf(t,e){return e}function Mf(t,e){if(xt){var l=Ut.formState;if(l!==null){t:{var n=dt;if(xt){if(Ht){e:{for(var a=Ht,u=Me;a.nodeType!==8;){if(!u){a=null;break e}if(a=De(a.nextSibling),a===null){a=null;break e}}u=a.data,a=u==="F!"||u==="F"?a:null}if(a){Ht=De(a.nextSibling),n=a.data==="F!";break t}}_l(n)}n=!1}n&&(e=l[0])}}return l=ne(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cf,lastRenderedState:e},l.queue=n,l=$f.bind(null,dt,n),n.dispatch=l,n=lo(!1),u=ro.bind(null,dt,!1,n.queue),n=ne(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=Zv.bind(null,dt,a,u,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function Rf(t){var e=Vt();return Df(e,Rt,t)}function Df(t,e,l){if(e=to(t,e,Cf)[0],t=Ji(al)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=La(e)}catch(s){throw s===Bn?ji:s}else n=e;e=Vt();var a=e.queue,u=a.dispatch;return l!==e.memoizedState&&(dt.flags|=2048,Xn(9,{destroy:void 0},Kv.bind(null,a,l),null)),[n,u,t]}function Kv(t,e){t.action=e}function Nf(t){var e=Vt(),l=Rt;if(l!==null)return Df(e,l,t);Vt(),e=e.memoizedState,l=Vt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Xn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=dt.updateQueue,e===null&&(e=Zi(),dt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function Uf(){return Vt().memoizedState}function ki(t,e,l,n){var a=ne();dt.flags|=t,a.memoizedState=Xn(1|e,{destroy:void 0},l,n===void 0?null:n)}function $i(t,e,l,n){var a=Vt();n=n===void 0?null:n;var u=a.memoizedState.inst;Rt!==null&&n!==null&&kc(n,Rt.memoizedState.deps)?a.memoizedState=Xn(e,u,l,n):(dt.flags|=t,a.memoizedState=Xn(1|e,u,l,n))}function Hf(t,e){ki(8390656,8,t,e)}function ao(t,e){$i(2048,8,t,e)}function Jv(t){dt.flags|=4;var e=dt.updateQueue;if(e===null)e=Zi(),dt.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Lf(t){var e=Vt().memoizedState;return Jv({ref:e,nextImpl:t}),function(){if((wt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function jf(t,e){return $i(4,2,t,e)}function Bf(t,e){return $i(4,4,t,e)}function qf(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Gf(t,e,l){l=l!=null?l.concat([t]):null,$i(4,4,qf.bind(null,e,t),l)}function io(){}function Yf(t,e){var l=Vt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&kc(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function Vf(t,e){var l=Vt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&kc(e,n[1]))return n[0];if(n=t(),fn){Sl(!0);try{t()}finally{Sl(!1)}}return l.memoizedState=[n,e],n}function uo(t,e,l){return l===void 0||(nl&1073741824)!==0&&(At&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Xd(),dt.lanes|=t,Ul|=t,l)}function Xf(t,e,l,n){return ye(l,e)?l:Gn.current!==null?(t=uo(t,l,n),ye(t,e)||(Zt=!0),t):(nl&42)===0||(nl&1073741824)!==0&&(At&261930)===0?(Zt=!0,t.memoizedState=l):(t=Xd(),dt.lanes|=t,Ul|=t,e)}function Qf(t,e,l,n,a){var u=Q.p;Q.p=u!==0&&8>u?u:8;var s=C.T,m={};C.T=m,ro(t,!1,e,l);try{var p=a(),z=C.S;if(z!==null&&z(m,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var j=Vv(p,n);ja(t,e,j,Ee(t))}else ja(t,e,n,Ee(t))}catch(Y){ja(t,e,{then:function(){},status:"rejected",reason:Y},Ee())}finally{Q.p=u,s!==null&&m.types!==null&&(s.types=m.types),C.T=s}}function kv(){}function co(t,e,l,n){if(t.tag!==5)throw Error(o(476));var a=Zf(t).queue;Qf(t,a,e,L,l===null?kv:function(){return Kf(t),l(n)})}function Zf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:L},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Kf(t){var e=Zf(t);e.next===null&&(e=t.alternate.memoizedState),ja(t,e.next.queue,{},Ee())}function oo(){return Pt(ti)}function Jf(){return Vt().memoizedState}function kf(){return Vt().memoizedState}function $v(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ee();t=zl(l);var n=Cl(e,t,l);n!==null&&(se(n,e,l),Da(n,e,l)),e={cache:jc()},t.payload=e;return}e=e.return}}function Wv(t,e,l){var n=Ee();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Wi(t)?Wf(e,l):(l=Oc(t,e,l,n),l!==null&&(se(l,t,n),Ff(l,e,n)))}function $f(t,e,l){var n=Ee();ja(t,e,l,n)}function ja(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Wi(t))Wf(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var s=e.lastRenderedState,m=u(s,l);if(a.hasEagerState=!0,a.eagerState=m,ye(m,s))return Mi(t,e,a,0),Ut===null&&Ci(),!1}catch{}finally{}if(l=Oc(t,e,a,n),l!==null)return se(l,t,n),Ff(l,e,n),!0}return!1}function ro(t,e,l,n){if(n={lane:2,revertLane:Vo(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Wi(t)){if(e)throw Error(o(479))}else e=Oc(t,l,n,2),e!==null&&se(e,t,2)}function Wi(t){var e=t.alternate;return t===dt||e!==null&&e===dt}function Wf(t,e){Yn=Xi=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Ff(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,es(t,l)}}var Ba={readContext:Pt,use:Ki,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:Bt,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:Bt,useCacheRefresh:Bt};Ba.useEffectEvent=Bt;var If={readContext:Pt,use:Ki,useCallback:function(t,e){return ne().memoizedState=[t,e===void 0?null:e],t},useContext:Pt,useEffect:Hf,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,ki(4194308,4,qf.bind(null,e,t),l)},useLayoutEffect:function(t,e){return ki(4194308,4,t,e)},useInsertionEffect:function(t,e){ki(4,2,t,e)},useMemo:function(t,e){var l=ne();e=e===void 0?null:e;var n=t();if(fn){Sl(!0);try{t()}finally{Sl(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=ne();if(l!==void 0){var a=l(e);if(fn){Sl(!0);try{l(e)}finally{Sl(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=Wv.bind(null,dt,t),[n.memoizedState,t]},useRef:function(t){var e=ne();return t={current:t},e.memoizedState=t},useState:function(t){t=lo(t);var e=t.queue,l=$f.bind(null,dt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:io,useDeferredValue:function(t,e){var l=ne();return uo(l,t,e)},useTransition:function(){var t=lo(!1);return t=Qf.bind(null,dt,t.queue,!0,!1),ne().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=dt,a=ne();if(xt){if(l===void 0)throw Error(o(407));l=l()}else{if(l=e(),Ut===null)throw Error(o(349));(At&127)!==0||bf(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,Hf(Ef.bind(null,n,u,t),[t]),n.flags|=2048,Xn(9,{destroy:void 0},Sf.bind(null,n,u,l,e),null),l},useId:function(){var t=ne(),e=Ut.identifierPrefix;if(xt){var l=Xe,n=Ve;l=(n&~(1<<32-he(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Qi++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Xv++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:oo,useFormState:Mf,useActionState:Mf,useOptimistic:function(t){var e=ne();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=ro.bind(null,dt,!0,l),l.dispatch=e,[t,e]},useMemoCache:Pc,useCacheRefresh:function(){return ne().memoizedState=$v.bind(null,dt)},useEffectEvent:function(t){var e=ne(),l={impl:t};return e.memoizedState=l,function(){if((wt&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},so={readContext:Pt,use:Ki,useCallback:Yf,useContext:Pt,useEffect:ao,useImperativeHandle:Gf,useInsertionEffect:jf,useLayoutEffect:Bf,useMemo:Vf,useReducer:Ji,useRef:Uf,useState:function(){return Ji(al)},useDebugValue:io,useDeferredValue:function(t,e){var l=Vt();return Xf(l,Rt.memoizedState,t,e)},useTransition:function(){var t=Ji(al)[0],e=Vt().memoizedState;return[typeof t=="boolean"?t:La(t),e]},useSyncExternalStore:pf,useId:Jf,useHostTransitionStatus:oo,useFormState:Rf,useActionState:Rf,useOptimistic:function(t,e){var l=Vt();return xf(l,Rt,t,e)},useMemoCache:Pc,useCacheRefresh:kf};so.useEffectEvent=Lf;var Pf={readContext:Pt,use:Ki,useCallback:Yf,useContext:Pt,useEffect:ao,useImperativeHandle:Gf,useInsertionEffect:jf,useLayoutEffect:Bf,useMemo:Vf,useReducer:eo,useRef:Uf,useState:function(){return eo(al)},useDebugValue:io,useDeferredValue:function(t,e){var l=Vt();return Rt===null?uo(l,t,e):Xf(l,Rt.memoizedState,t,e)},useTransition:function(){var t=eo(al)[0],e=Vt().memoizedState;return[typeof t=="boolean"?t:La(t),e]},useSyncExternalStore:pf,useId:Jf,useHostTransitionStatus:oo,useFormState:Nf,useActionState:Nf,useOptimistic:function(t,e){var l=Vt();return Rt!==null?xf(l,Rt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Pc,useCacheRefresh:kf};Pf.useEffectEvent=Lf;function fo(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:A({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var mo={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=Ee(),a=zl(n);a.payload=e,l!=null&&(a.callback=l),e=Cl(t,a,n),e!==null&&(se(e,t,n),Da(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=Ee(),a=zl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=Cl(t,a,n),e!==null&&(se(e,t,n),Da(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Ee(),n=zl(l);n.tag=2,e!=null&&(n.callback=e),e=Cl(t,n,l),e!==null&&(se(e,t,l),Da(e,t,l))}};function td(t,e,l,n,a,u,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,u,s):e.prototype&&e.prototype.isPureReactComponent?!xa(l,n)||!xa(a,u):!0}function ed(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&mo.enqueueReplaceState(e,e.state,null)}function dn(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=A({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function ld(t){zi(t)}function nd(t){console.error(t)}function ad(t){zi(t)}function Fi(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function id(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function ho(t,e,l){return l=zl(l),l.tag=3,l.payload={element:null},l.callback=function(){Fi(t,e)},l}function ud(t){return t=zl(t),t.tag=3,t}function cd(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;t.payload=function(){return a(u)},t.callback=function(){id(e,l,n)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){id(e,l,n),typeof a!="function"&&(Hl===null?Hl=new Set([this]):Hl.add(this));var m=n.stack;this.componentDidCatch(n.value,{componentStack:m!==null?m:""})})}function Fv(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&Hn(e,l,a,!0),l=ge.current,l!==null){switch(l.tag){case 31:case 13:return Re===null?ru():l.alternate===null&&qt===0&&(qt=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Bi?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),qo(t,n,a)),!1;case 22:return l.flags|=65536,n===Bi?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),qo(t,n,a)),!1}throw Error(o(435,l.tag))}return qo(t,n,a),ru(),!1}if(xt)return e=ge.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==Dc&&(t=Error(o(422),{cause:n}),wa(we(t,l)))):(n!==Dc&&(e=Error(o(423),{cause:n}),wa(we(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=we(n,l),a=ho(t.stateNode,n,a),Xc(t,a),qt!==4&&(qt=2)),!1;var u=Error(o(520),{cause:n});if(u=we(u,l),Ka===null?Ka=[u]:Ka.push(u),qt!==4&&(qt=2),e===null)return!0;n=we(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=ho(l.stateNode,n,t),Xc(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Hl===null||!Hl.has(u))))return l.flags|=65536,a&=-a,l.lanes|=a,a=ud(a),cd(a,t,l,n),Xc(l,a),!1}l=l.return}while(l!==null);return!1}var yo=Error(o(461)),Zt=!1;function te(t,e,l,n){e.child=t===null?ff(e,null,l,n):sn(e,t.child,l,n)}function od(t,e,l,n,a){l=l.render;var u=e.ref;if("ref"in n){var s={};for(var m in n)m!=="ref"&&(s[m]=n[m])}else s=n;return un(e),n=$c(t,e,l,s,u,a),m=Wc(),t!==null&&!Zt?(Fc(t,e,a),il(t,e,a)):(xt&&m&&Mc(e),e.flags|=1,te(t,e,n,a),e.child)}function rd(t,e,l,n,a){if(t===null){var u=l.type;return typeof u=="function"&&!wc(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,sd(t,e,u,n,a)):(t=Di(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!To(t,a)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:xa,l(s,n)&&t.ref===e.ref)return il(t,e,a)}return e.flags|=1,t=Pe(u,n),t.ref=e.ref,t.return=e,e.child=t}function sd(t,e,l,n,a){if(t!==null){var u=t.memoizedProps;if(xa(u,n)&&t.ref===e.ref)if(Zt=!1,e.pendingProps=n=u,To(t,a))(t.flags&131072)!==0&&(Zt=!0);else return e.lanes=t.lanes,il(t,e,a)}return vo(t,e,l,n,a)}function fd(t,e,l,n){var a=n.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~u}else n=0,e.child=null;return dd(t,e,u,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Li(e,u!==null?u.cachePool:null),u!==null?hf(e,u):Zc(),yf(e);else return n=e.lanes=536870912,dd(t,e,u!==null?u.baseLanes|l:l,l,n)}else u!==null?(Li(e,u.cachePool),hf(e,u),Rl(),e.memoizedState=null):(t!==null&&Li(e,null),Zc(),Rl());return te(t,e,a,l),e.child}function qa(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function dd(t,e,l,n,a){var u=qc();return u=u===null?null:{parent:Xt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&Li(e,null),Zc(),yf(e),t!==null&&Hn(t,e,n,!0),e.childLanes=a,null}function Ii(t,e){return e=tu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function md(t,e,l){return sn(e,t.child,null,l),t=Ii(e,e.pendingProps),t.flags|=2,pe(e),e.memoizedState=null,t}function Iv(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(xt){if(n.mode==="hidden")return t=Ii(e,n),e.lanes=536870912,qa(null,t);if(Jc(e),(t=Ht)?(t=_m(t,Me),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Tl!==null?{id:Ve,overflow:Xe}:null,retryLane:536870912,hydrationErrors:null},l=$s(t),l.return=e,e.child=l,It=e,Ht=null)):t=null,t===null)throw _l(e);return e.lanes=536870912,null}return Ii(e,n)}var u=t.memoizedState;if(u!==null){var s=u.dehydrated;if(Jc(e),a)if(e.flags&256)e.flags&=-257,e=md(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(Zt||Hn(t,e,l,!1),a=(l&t.childLanes)!==0,Zt||a){if(n=Ut,n!==null&&(s=ls(n,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,en(t,s),se(n,t,s),yo;ru(),e=md(t,e,l)}else t=u.treeContext,Ht=De(s.nextSibling),It=e,xt=!0,xl=null,Me=!1,t!==null&&Is(e,t),e=Ii(e,n),e.flags|=4096;return e}return t=Pe(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Pi(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function vo(t,e,l,n,a){return un(e),l=$c(t,e,l,n,void 0,a),n=Wc(),t!==null&&!Zt?(Fc(t,e,a),il(t,e,a)):(xt&&n&&Mc(e),e.flags|=1,te(t,e,l,a),e.child)}function hd(t,e,l,n,a,u){return un(e),e.updateQueue=null,l=gf(e,n,l,a),vf(t),n=Wc(),t!==null&&!Zt?(Fc(t,e,u),il(t,e,u)):(xt&&n&&Mc(e),e.flags|=1,te(t,e,l,u),e.child)}function yd(t,e,l,n,a){if(un(e),e.stateNode===null){var u=Rn,s=l.contextType;typeof s=="object"&&s!==null&&(u=Pt(s)),u=new l(n,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=mo,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=n,u.state=e.memoizedState,u.refs={},Yc(e),s=l.contextType,u.context=typeof s=="object"&&s!==null?Pt(s):Rn,u.state=e.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(fo(e,l,s,n),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&mo.enqueueReplaceState(u,u.state,null),Ua(e,n,u,a),Na(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){u=e.stateNode;var m=e.memoizedProps,p=dn(l,m);u.props=p;var z=u.context,j=l.contextType;s=Rn,typeof j=="object"&&j!==null&&(s=Pt(j));var Y=l.getDerivedStateFromProps;j=typeof Y=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=e.pendingProps!==m,j||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||z!==s)&&ed(e,u,n,s),wl=!1;var R=e.memoizedState;u.state=R,Ua(e,n,u,a),Na(),z=e.memoizedState,m||R!==z||wl?(typeof Y=="function"&&(fo(e,l,Y,n),z=e.memoizedState),(p=wl||td(e,l,p,n,R,z,s))?(j||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=z),u.props=n,u.state=z,u.context=s,n=p):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{u=e.stateNode,Vc(t,e),s=e.memoizedProps,j=dn(l,s),u.props=j,Y=e.pendingProps,R=u.context,z=l.contextType,p=Rn,typeof z=="object"&&z!==null&&(p=Pt(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==Y||R!==p)&&ed(e,u,n,p),wl=!1,R=e.memoizedState,u.state=R,Ua(e,n,u,a),Na();var U=e.memoizedState;s!==Y||R!==U||wl||t!==null&&t.dependencies!==null&&Ui(t.dependencies)?(typeof m=="function"&&(fo(e,l,m,n),U=e.memoizedState),(j=wl||td(e,l,j,n,R,U,p)||t!==null&&t.dependencies!==null&&Ui(t.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,U,p),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,U,p)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=U),u.props=n,u.state=U,u.context=p,n=j):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),n=!1)}return u=n,Pi(t,e),n=(e.flags&128)!==0,u||n?(u=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&n?(e.child=sn(e,t.child,null,a),e.child=sn(e,null,l,a)):te(t,e,l,a),e.memoizedState=u.state,t=e.child):t=il(t,e,a),t}function vd(t,e,l,n){return nn(),e.flags|=256,te(t,e,l,n),e.child}var go={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function po(t){return{baseLanes:t,cachePool:af()}}function bo(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Se),t}function gd(t,e,l){var n=e.pendingProps,a=!1,u=(e.flags&128)!==0,s;if((s=u)||(s=t!==null&&t.memoizedState===null?!1:(Yt.current&2)!==0),s&&(a=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(xt){if(a?Ml(e):Rl(),(t=Ht)?(t=_m(t,Me),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Tl!==null?{id:Ve,overflow:Xe}:null,retryLane:536870912,hydrationErrors:null},l=$s(t),l.return=e,e.child=l,It=e,Ht=null)):t=null,t===null)throw _l(e);return er(t)?e.lanes=32:e.lanes=536870912,null}var m=n.children;return n=n.fallback,a?(Rl(),a=e.mode,m=tu({mode:"hidden",children:m},a),n=ln(n,a,l,null),m.return=e,n.return=e,m.sibling=n,e.child=m,n=e.child,n.memoizedState=po(l),n.childLanes=bo(t,s,l),e.memoizedState=go,qa(null,n)):(Ml(e),So(e,m))}var p=t.memoizedState;if(p!==null&&(m=p.dehydrated,m!==null)){if(u)e.flags&256?(Ml(e),e.flags&=-257,e=Eo(t,e,l)):e.memoizedState!==null?(Rl(),e.child=t.child,e.flags|=128,e=null):(Rl(),m=n.fallback,a=e.mode,n=tu({mode:"visible",children:n.children},a),m=ln(m,a,l,null),m.flags|=2,n.return=e,m.return=e,n.sibling=m,e.child=n,sn(e,t.child,null,l),n=e.child,n.memoizedState=po(l),n.childLanes=bo(t,s,l),e.memoizedState=go,e=qa(null,n));else if(Ml(e),er(m)){if(s=m.nextSibling&&m.nextSibling.dataset,s)var z=s.dgst;s=z,n=Error(o(419)),n.stack="",n.digest=s,wa({value:n,source:null,stack:null}),e=Eo(t,e,l)}else if(Zt||Hn(t,e,l,!1),s=(l&t.childLanes)!==0,Zt||s){if(s=Ut,s!==null&&(n=ls(s,l),n!==0&&n!==p.retryLane))throw p.retryLane=n,en(t,n),se(s,t,n),yo;tr(m)||ru(),e=Eo(t,e,l)}else tr(m)?(e.flags|=192,e.child=t.child,e=null):(t=p.treeContext,Ht=De(m.nextSibling),It=e,xt=!0,xl=null,Me=!1,t!==null&&Is(e,t),e=So(e,n.children),e.flags|=4096);return e}return a?(Rl(),m=n.fallback,a=e.mode,p=t.child,z=p.sibling,n=Pe(p,{mode:"hidden",children:n.children}),n.subtreeFlags=p.subtreeFlags&65011712,z!==null?m=Pe(z,m):(m=ln(m,a,l,null),m.flags|=2),m.return=e,n.return=e,n.sibling=m,e.child=n,qa(null,n),n=e.child,m=t.child.memoizedState,m===null?m=po(l):(a=m.cachePool,a!==null?(p=Xt._currentValue,a=a.parent!==p?{parent:p,pool:p}:a):a=af(),m={baseLanes:m.baseLanes|l,cachePool:a}),n.memoizedState=m,n.childLanes=bo(t,s,l),e.memoizedState=go,qa(t.child,n)):(Ml(e),l=t.child,t=l.sibling,l=Pe(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=l,e.memoizedState=null,l)}function So(t,e){return e=tu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tu(t,e){return t=ve(22,t,null,e),t.lanes=0,t}function Eo(t,e,l){return sn(e,t.child,null,l),t=So(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function pd(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),Hc(t.return,e,l)}function Ao(t,e,l,n,a,u){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:u}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=l,s.tailMode=a,s.treeForkCount=u)}function bd(t,e,l){var n=e.pendingProps,a=n.revealOrder,u=n.tail;n=n.children;var s=Yt.current,m=(s&2)!==0;if(m?(s=s&1|2,e.flags|=128):s&=1,J(Yt,s),te(t,e,n,l),n=xt?Oa:0,!m&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&pd(t,l,e);else if(t.tag===19)pd(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&Vi(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Ao(e,!1,a,l,u,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&Vi(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Ao(e,!0,l,null,u,n);break;case"together":Ao(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function il(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Ul|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Hn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,l=Pe(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Pe(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function To(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ui(t)))}function Pv(t,e,l){switch(e.tag){case 3:Gt(e,e.stateNode.containerInfo),Ol(e,Xt,t.memoizedState.cache),nn();break;case 27:case 5:fe(e);break;case 4:Gt(e,e.stateNode.containerInfo);break;case 10:Ol(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Jc(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(Ml(e),e.flags|=128,null):(l&e.child.childLanes)!==0?gd(t,e,l):(Ml(e),t=il(t,e,l),t!==null?t.sibling:null);Ml(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(Hn(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return bd(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),J(Yt,Yt.current),n)break;return null;case 22:return e.lanes=0,fd(t,e,l,e.pendingProps);case 24:Ol(e,Xt,t.memoizedState.cache)}return il(t,e,l)}function Sd(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Zt=!0;else{if(!To(t,l)&&(e.flags&128)===0)return Zt=!1,Pv(t,e,l);Zt=(t.flags&131072)!==0}else Zt=!1,xt&&(e.flags&1048576)!==0&&Fs(e,Oa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=on(e.elementType),e.type=t,typeof t=="function")wc(t)?(n=dn(t,n),e.tag=1,e=yd(null,e,t,n,l)):(e.tag=0,e=vo(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===V){e.tag=11,e=od(null,e,t,n,l);break t}else if(a===Z){e.tag=14,e=rd(null,e,t,n,l);break t}}throw e=bt(t)||t,Error(o(306,e,""))}}return e;case 0:return vo(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=dn(n,e.pendingProps),yd(t,e,n,a,l);case 3:t:{if(Gt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));n=e.pendingProps;var u=e.memoizedState;a=u.element,Vc(t,e),Ua(e,n,null,l);var s=e.memoizedState;if(n=s.cache,Ol(e,Xt,n),n!==u.cache&&Lc(e,[Xt],l,!0),Na(),n=s.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:s.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=vd(t,e,n,l);break t}else if(n!==a){a=we(Error(o(424)),e),wa(a),e=vd(t,e,n,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ht=De(t.firstChild),It=e,xt=!0,xl=null,Me=!0,l=ff(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(nn(),n===a){e=il(t,e,l);break t}te(t,e,n,l)}e=e.child}return e;case 26:return Pi(t,e),t===null?(l=Rm(e.type,null,e.pendingProps,null))?e.memoizedState=l:xt||(l=e.type,t=e.pendingProps,n=vu(ft.current).createElement(l),n[Ft]=e,n[ae]=t,ee(n,l,t),$t(n),e.stateNode=n):e.memoizedState=Rm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return fe(e),t===null&&xt&&(n=e.stateNode=zm(e.type,e.pendingProps,ft.current),It=e,Me=!0,a=Ht,ql(e.type)?(lr=a,Ht=De(n.firstChild)):Ht=a),te(t,e,e.pendingProps.children,l),Pi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&xt&&((a=n=Ht)&&(n=Cg(n,e.type,e.pendingProps,Me),n!==null?(e.stateNode=n,It=e,Ht=De(n.firstChild),Me=!1,a=!0):a=!1),a||_l(e)),fe(e),a=e.type,u=e.pendingProps,s=t!==null?t.memoizedProps:null,n=u.children,Fo(a,u)?n=null:s!==null&&Fo(a,s)&&(e.flags|=32),e.memoizedState!==null&&(a=$c(t,e,Qv,null,null,l),ti._currentValue=a),Pi(t,e),te(t,e,n,l),e.child;case 6:return t===null&&xt&&((t=l=Ht)&&(l=Mg(l,e.pendingProps,Me),l!==null?(e.stateNode=l,It=e,Ht=null,t=!0):t=!1),t||_l(e)),null;case 13:return gd(t,e,l);case 4:return Gt(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=sn(e,null,n,l):te(t,e,n,l),e.child;case 11:return od(t,e,e.type,e.pendingProps,l);case 7:return te(t,e,e.pendingProps,l),e.child;case 8:return te(t,e,e.pendingProps.children,l),e.child;case 12:return te(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,Ol(e,e.type,n.value),te(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,un(e),a=Pt(a),n=n(a),e.flags|=1,te(t,e,n,l),e.child;case 14:return rd(t,e,e.type,e.pendingProps,l);case 15:return sd(t,e,e.type,e.pendingProps,l);case 19:return bd(t,e,l);case 31:return Iv(t,e,l);case 22:return fd(t,e,l,e.pendingProps);case 24:return un(e),n=Pt(Xt),t===null?(a=qc(),a===null&&(a=Ut,u=jc(),a.pooledCache=u,u.refCount++,u!==null&&(a.pooledCacheLanes|=l),a=u),e.memoizedState={parent:n,cache:a},Yc(e),Ol(e,Xt,a)):((t.lanes&l)!==0&&(Vc(t,e),Ua(e,null,null,l),Na()),a=t.memoizedState,u=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),Ol(e,Xt,n)):(n=u.cache,Ol(e,Xt,n),n!==a.cache&&Lc(e,[Xt],l,!0))),te(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function ul(t){t.flags|=4}function xo(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(Jd())t.flags|=8192;else throw rn=Bi,Gc}else t.flags&=-16777217}function Ed(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Lm(e))if(Jd())t.flags|=8192;else throw rn=Bi,Gc}function eu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Pr():536870912,t.lanes|=e,Jn|=e)}function Ga(t,e){if(!xt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Lt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function tg(t,e,l){var n=e.pendingProps;switch(Rc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(e),null;case 1:return Lt(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),ll(Xt),zt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Un(e)?ul(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Nc())),Lt(e),null;case 26:var a=e.type,u=e.memoizedState;return t===null?(ul(e),u!==null?(Lt(e),Ed(e,u)):(Lt(e),xo(e,a,null,n,l))):u?u!==t.memoizedState?(ul(e),Lt(e),Ed(e,u)):(Lt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&ul(e),Lt(e),xo(e,a,t,n,l)),null;case 27:if(Ue(e),l=ft.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&ul(e);else{if(!n){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}t=W.current,Un(e)?Ps(e):(t=zm(a,n,l),e.stateNode=t,ul(e))}return Lt(e),null;case 5:if(Ue(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&ul(e);else{if(!n){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}if(u=W.current,Un(e))Ps(e);else{var s=vu(ft.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}u[Ft]=e,u[ae]=n;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=u;t:switch(ee(u,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&ul(e)}}return Lt(e),xo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&ul(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(o(166));if(t=ft.current,Un(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=It,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[Ft]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||gm(t.nodeValue,l)),t||_l(e,!0)}else t=vu(t).createTextNode(n),t[Ft]=e,e.stateNode=t}return Lt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=Un(e),l!==null){if(t===null){if(!n)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Ft]=e}else nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),t=!1}else l=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(pe(e),e):(pe(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Lt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=Un(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(o(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[Ft]=e}else nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),a=!1}else a=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(pe(e),e):(pe(e),null)}return pe(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),eu(e,e.updateQueue),Lt(e),null);case 4:return zt(),t===null&&Ko(e.stateNode.containerInfo),Lt(e),null;case 10:return ll(e.type),Lt(e),null;case 19:if(G(Yt),n=e.memoizedState,n===null)return Lt(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)Ga(n,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Vi(t),u!==null){for(e.flags|=128,Ga(n,!1),t=u.updateQueue,e.updateQueue=t,eu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)ks(l,t),l=l.sibling;return J(Yt,Yt.current&1|2),xt&&tl(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&de()>uu&&(e.flags|=128,a=!0,Ga(n,!1),e.lanes=4194304)}else{if(!a)if(t=Vi(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,eu(e,t),Ga(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!xt)return Lt(e),null}else 2*de()-n.renderingStartTime>uu&&l!==536870912&&(e.flags|=128,a=!0,Ga(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=de(),t.sibling=null,l=Yt.current,J(Yt,a?l&1|2:l&1),xt&&tl(e,n.treeForkCount),t):(Lt(e),null);case 22:case 23:return pe(e),Kc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(Lt(e),e.subtreeFlags&6&&(e.flags|=8192)):Lt(e),l=e.updateQueue,l!==null&&eu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&G(cn),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),ll(Xt),Lt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function eg(t,e){switch(Rc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ll(Xt),zt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ue(e),null;case 31:if(e.memoizedState!==null){if(pe(e),e.alternate===null)throw Error(o(340));nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(pe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return G(Yt),null;case 4:return zt(),null;case 10:return ll(e.type),null;case 22:case 23:return pe(e),Kc(),t!==null&&G(cn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ll(Xt),null;case 25:return null;default:return null}}function Ad(t,e){switch(Rc(e),e.tag){case 3:ll(Xt),zt();break;case 26:case 27:case 5:Ue(e);break;case 4:zt();break;case 31:e.memoizedState!==null&&pe(e);break;case 13:pe(e);break;case 19:G(Yt);break;case 10:ll(e.type);break;case 22:case 23:pe(e),Kc(),t!==null&&G(cn);break;case 24:ll(Xt)}}function Ya(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var u=l.create,s=l.inst;n=u(),s.destroy=n}l=l.next}while(l!==a)}}catch(m){Mt(e,e.return,m)}}function Dl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){var s=n.inst,m=s.destroy;if(m!==void 0){s.destroy=void 0,a=e;var p=l,z=m;try{z()}catch(j){Mt(a,p,j)}}}n=n.next}while(n!==u)}}catch(j){Mt(e,e.return,j)}}function Td(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{mf(e,l)}catch(n){Mt(t,t.return,n)}}}function xd(t,e,l){l.props=dn(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){Mt(t,e,n)}}function Va(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){Mt(t,e,a)}}function Qe(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Mt(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Mt(t,e,a)}else l.current=null}function _d(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Mt(t,t.return,a)}}function _o(t,e,l){try{var n=t.stateNode;Tg(n,t.type,l,e),n[ae]=e}catch(a){Mt(t,t.return,a)}}function Od(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ql(t.type)||t.tag===4}function Oo(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Od(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ql(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function wo(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Fe));else if(n!==4&&(n===27&&ql(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(wo(t,e,l),t=t.sibling;t!==null;)wo(t,e,l),t=t.sibling}function lu(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&ql(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(lu(t,e,l),t=t.sibling;t!==null;)lu(t,e,l),t=t.sibling}function wd(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);ee(e,n,l),e[Ft]=t,e[ae]=l}catch(u){Mt(t,t.return,u)}}var cl=!1,Kt=!1,zo=!1,zd=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function lg(t,e){if(t=t.containerInfo,$o=Tu,t=qs(t),Sc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,u=n.focusNode;n=n.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var s=0,m=-1,p=-1,z=0,j=0,Y=t,R=null;e:for(;;){for(var U;Y!==l||a!==0&&Y.nodeType!==3||(m=s+a),Y!==u||n!==0&&Y.nodeType!==3||(p=s+n),Y.nodeType===3&&(s+=Y.nodeValue.length),(U=Y.firstChild)!==null;)R=Y,Y=U;for(;;){if(Y===t)break e;if(R===l&&++z===a&&(m=s),R===u&&++j===n&&(p=s),(U=Y.nextSibling)!==null)break;Y=R,R=Y.parentNode}Y=U}l=m===-1||p===-1?null:{start:m,end:p}}else l=null}l=l||{start:0,end:0}}else l=null;for(Wo={focusedElem:t,selectionRange:l},Tu=!1,Wt=e;Wt!==null;)if(e=Wt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Wt=t;else for(;Wt!==null;){switch(e=Wt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,a=u.memoizedProps,u=u.memoizedState,n=l.stateNode;try{var F=dn(l.type,a);t=n.getSnapshotBeforeUpdate(F,u),n.__reactInternalSnapshotBeforeUpdate=t}catch(ut){Mt(l,l.return,ut)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Po(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Po(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,Wt=t;break}Wt=e.return}}function Cd(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:rl(t,l),n&4&&Ya(5,l);break;case 1:if(rl(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(s){Mt(l,l.return,s)}else{var a=dn(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(s){Mt(l,l.return,s)}}n&64&&Td(l),n&512&&Va(l,l.return);break;case 3:if(rl(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{mf(t,e)}catch(s){Mt(l,l.return,s)}}break;case 27:e===null&&n&4&&wd(l);case 26:case 5:rl(t,l),e===null&&n&4&&_d(l),n&512&&Va(l,l.return);break;case 12:rl(t,l);break;case 31:rl(t,l),n&4&&Dd(t,l);break;case 13:rl(t,l),n&4&&Nd(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=fg.bind(null,l),Rg(t,l))));break;case 22:if(n=l.memoizedState!==null||cl,!n){e=e!==null&&e.memoizedState!==null||Kt,a=cl;var u=Kt;cl=n,(Kt=e)&&!u?sl(t,l,(l.subtreeFlags&8772)!==0):rl(t,l),cl=a,Kt=u}break;case 30:break;default:rl(t,l)}}function Md(t){var e=t.alternate;e!==null&&(t.alternate=null,Md(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&nc(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var jt=null,ue=!1;function ol(t,e,l){for(l=l.child;l!==null;)Rd(t,e,l),l=l.sibling}function Rd(t,e,l){if(me&&typeof me.onCommitFiberUnmount=="function")try{me.onCommitFiberUnmount(da,l)}catch{}switch(l.tag){case 26:Kt||Qe(l,e),ol(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Kt||Qe(l,e);var n=jt,a=ue;ql(l.type)&&(jt=l.stateNode,ue=!1),ol(t,e,l),Fa(l.stateNode),jt=n,ue=a;break;case 5:Kt||Qe(l,e);case 6:if(n=jt,a=ue,jt=null,ol(t,e,l),jt=n,ue=a,jt!==null)if(ue)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(l.stateNode)}catch(u){Mt(l,e,u)}else try{jt.removeChild(l.stateNode)}catch(u){Mt(l,e,u)}break;case 18:jt!==null&&(ue?(t=jt,Tm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ea(t)):Tm(jt,l.stateNode));break;case 4:n=jt,a=ue,jt=l.stateNode.containerInfo,ue=!0,ol(t,e,l),jt=n,ue=a;break;case 0:case 11:case 14:case 15:Dl(2,l,e),Kt||Dl(4,l,e),ol(t,e,l);break;case 1:Kt||(Qe(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&xd(l,e,n)),ol(t,e,l);break;case 21:ol(t,e,l);break;case 22:Kt=(n=Kt)||l.memoizedState!==null,ol(t,e,l),Kt=n;break;default:ol(t,e,l)}}function Dd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ea(t)}catch(l){Mt(e,e.return,l)}}}function Nd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ea(t)}catch(l){Mt(e,e.return,l)}}function ng(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new zd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new zd),e;default:throw Error(o(435,t.tag))}}function nu(t,e){var l=ng(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=dg.bind(null,t,n);n.then(a,a)}})}function ce(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],u=t,s=e,m=s;t:for(;m!==null;){switch(m.tag){case 27:if(ql(m.type)){jt=m.stateNode,ue=!1;break t}break;case 5:jt=m.stateNode,ue=!1;break t;case 3:case 4:jt=m.stateNode.containerInfo,ue=!0;break t}m=m.return}if(jt===null)throw Error(o(160));Rd(u,s,a),jt=null,ue=!1,u=a.alternate,u!==null&&(u.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Ud(e,t),e=e.sibling}var je=null;function Ud(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ce(e,t),oe(t),n&4&&(Dl(3,t,t.return),Ya(3,t),Dl(5,t,t.return));break;case 1:ce(e,t),oe(t),n&512&&(Kt||l===null||Qe(l,l.return)),n&64&&cl&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=je;if(ce(e,t),oe(t),n&512&&(Kt||l===null||Qe(l,l.return)),n&4){var u=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":u=a.getElementsByTagName("title")[0],(!u||u[ya]||u[Ft]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=a.createElement(n),a.head.insertBefore(u,a.querySelector("head > title"))),ee(u,n,l),u[Ft]=t,$t(u),n=u;break t;case"link":var s=Um("link","href",a).get(n+(l.href||""));if(s){for(var m=0;m<s.length;m++)if(u=s[m],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(m,1);break e}}u=a.createElement(n),ee(u,n,l),a.head.appendChild(u);break;case"meta":if(s=Um("meta","content",a).get(n+(l.content||""))){for(m=0;m<s.length;m++)if(u=s[m],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(m,1);break e}}u=a.createElement(n),ee(u,n,l),a.head.appendChild(u);break;default:throw Error(o(468,n))}u[Ft]=t,$t(u),n=u}t.stateNode=n}else Hm(a,t.type,t.stateNode);else t.stateNode=Nm(a,n,t.memoizedProps);else u!==n?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,n===null?Hm(a,t.type,t.stateNode):Nm(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&_o(t,t.memoizedProps,l.memoizedProps)}break;case 27:ce(e,t),oe(t),n&512&&(Kt||l===null||Qe(l,l.return)),l!==null&&n&4&&_o(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ce(e,t),oe(t),n&512&&(Kt||l===null||Qe(l,l.return)),t.flags&32){a=t.stateNode;try{xn(a,"")}catch(F){Mt(t,t.return,F)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,_o(t,a,l!==null?l.memoizedProps:a)),n&1024&&(zo=!0);break;case 6:if(ce(e,t),oe(t),n&4){if(t.stateNode===null)throw Error(o(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(F){Mt(t,t.return,F)}}break;case 3:if(bu=null,a=je,je=gu(e.containerInfo),ce(e,t),je=a,oe(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{ea(e.containerInfo)}catch(F){Mt(t,t.return,F)}zo&&(zo=!1,Hd(t));break;case 4:n=je,je=gu(t.stateNode.containerInfo),ce(e,t),oe(t),je=n;break;case 12:ce(e,t),oe(t);break;case 31:ce(e,t),oe(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,nu(t,n)));break;case 13:ce(e,t),oe(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(iu=de()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,nu(t,n)));break;case 22:a=t.memoizedState!==null;var p=l!==null&&l.memoizedState!==null,z=cl,j=Kt;if(cl=z||a,Kt=j||p,ce(e,t),Kt=j,cl=z,oe(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||p||cl||Kt||mn(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){p=l=e;try{if(u=p.stateNode,a)s=u.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{m=p.stateNode;var Y=p.memoizedProps.style,R=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;m.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(F){Mt(p,p.return,F)}}}else if(e.tag===6){if(l===null){p=e;try{p.stateNode.nodeValue=a?"":p.memoizedProps}catch(F){Mt(p,p.return,F)}}}else if(e.tag===18){if(l===null){p=e;try{var U=p.stateNode;a?xm(U,!0):xm(p.stateNode,!1)}catch(F){Mt(p,p.return,F)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,nu(t,l))));break;case 19:ce(e,t),oe(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,nu(t,n)));break;case 30:break;case 21:break;default:ce(e,t),oe(t)}}function oe(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(Od(n)){l=n;break}n=n.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var a=l.stateNode,u=Oo(t);lu(t,u,a);break;case 5:var s=l.stateNode;l.flags&32&&(xn(s,""),l.flags&=-33);var m=Oo(t);lu(t,m,s);break;case 3:case 4:var p=l.stateNode.containerInfo,z=Oo(t);wo(t,z,p);break;default:throw Error(o(161))}}catch(j){Mt(t,t.return,j)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Hd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Hd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function rl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Cd(t,e.alternate,e),e=e.sibling}function mn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Dl(4,e,e.return),mn(e);break;case 1:Qe(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&xd(e,e.return,l),mn(e);break;case 27:Fa(e.stateNode);case 26:case 5:Qe(e,e.return),mn(e);break;case 22:e.memoizedState===null&&mn(e);break;case 30:mn(e);break;default:mn(e)}t=t.sibling}}function sl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,u=e,s=u.flags;switch(u.tag){case 0:case 11:case 15:sl(a,u,l),Ya(4,u);break;case 1:if(sl(a,u,l),n=u,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(z){Mt(n,n.return,z)}if(n=u,a=n.updateQueue,a!==null){var m=n.stateNode;try{var p=a.shared.hiddenCallbacks;if(p!==null)for(a.shared.hiddenCallbacks=null,a=0;a<p.length;a++)df(p[a],m)}catch(z){Mt(n,n.return,z)}}l&&s&64&&Td(u),Va(u,u.return);break;case 27:wd(u);case 26:case 5:sl(a,u,l),l&&n===null&&s&4&&_d(u),Va(u,u.return);break;case 12:sl(a,u,l);break;case 31:sl(a,u,l),l&&s&4&&Dd(a,u);break;case 13:sl(a,u,l),l&&s&4&&Nd(a,u);break;case 22:u.memoizedState===null&&sl(a,u,l),Va(u,u.return);break;case 30:break;default:sl(a,u,l)}e=e.sibling}}function Co(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&za(l))}function Mo(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&za(t))}function Be(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ld(t,e,l,n),e=e.sibling}function Ld(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Be(t,e,l,n),a&2048&&Ya(9,e);break;case 1:Be(t,e,l,n);break;case 3:Be(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&za(t)));break;case 12:if(a&2048){Be(t,e,l,n),t=e.stateNode;try{var u=e.memoizedProps,s=u.id,m=u.onPostCommit;typeof m=="function"&&m(s,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(p){Mt(e,e.return,p)}}else Be(t,e,l,n);break;case 31:Be(t,e,l,n);break;case 13:Be(t,e,l,n);break;case 23:break;case 22:u=e.stateNode,s=e.alternate,e.memoizedState!==null?u._visibility&2?Be(t,e,l,n):Xa(t,e):u._visibility&2?Be(t,e,l,n):(u._visibility|=2,Qn(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&Co(s,e);break;case 24:Be(t,e,l,n),a&2048&&Mo(e.alternate,e);break;default:Be(t,e,l,n)}}function Qn(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,s=e,m=l,p=n,z=s.flags;switch(s.tag){case 0:case 11:case 15:Qn(u,s,m,p,a),Ya(8,s);break;case 23:break;case 22:var j=s.stateNode;s.memoizedState!==null?j._visibility&2?Qn(u,s,m,p,a):Xa(u,s):(j._visibility|=2,Qn(u,s,m,p,a)),a&&z&2048&&Co(s.alternate,s);break;case 24:Qn(u,s,m,p,a),a&&z&2048&&Mo(s.alternate,s);break;default:Qn(u,s,m,p,a)}e=e.sibling}}function Xa(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:Xa(l,n),a&2048&&Co(n.alternate,n);break;case 24:Xa(l,n),a&2048&&Mo(n.alternate,n);break;default:Xa(l,n)}e=e.sibling}}var Qa=8192;function Zn(t,e,l){if(t.subtreeFlags&Qa)for(t=t.child;t!==null;)jd(t,e,l),t=t.sibling}function jd(t,e,l){switch(t.tag){case 26:Zn(t,e,l),t.flags&Qa&&t.memoizedState!==null&&Xg(l,je,t.memoizedState,t.memoizedProps);break;case 5:Zn(t,e,l);break;case 3:case 4:var n=je;je=gu(t.stateNode.containerInfo),Zn(t,e,l),je=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Qa,Qa=16777216,Zn(t,e,l),Qa=n):Zn(t,e,l));break;default:Zn(t,e,l)}}function Bd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Za(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Wt=n,Gd(n,t)}Bd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qd(t),t=t.sibling}function qd(t){switch(t.tag){case 0:case 11:case 15:Za(t),t.flags&2048&&Dl(9,t,t.return);break;case 3:Za(t);break;case 12:Za(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,au(t)):Za(t);break;default:Za(t)}}function au(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Wt=n,Gd(n,t)}Bd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Dl(8,e,e.return),au(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,au(e));break;default:au(e)}t=t.sibling}}function Gd(t,e){for(;Wt!==null;){var l=Wt;switch(l.tag){case 0:case 11:case 15:Dl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:za(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,Wt=n;else t:for(l=t;Wt!==null;){n=Wt;var a=n.sibling,u=n.return;if(Md(n),n===l){Wt=null;break t}if(a!==null){a.return=u,Wt=a;break t}Wt=u}}}var ag={getCacheForType:function(t){var e=Pt(Xt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return Pt(Xt).controller.signal}},ig=typeof WeakMap=="function"?WeakMap:Map,wt=0,Ut=null,St=null,At=0,Ct=0,be=null,Nl=!1,Kn=!1,Ro=!1,fl=0,qt=0,Ul=0,hn=0,Do=0,Se=0,Jn=0,Ka=null,re=null,No=!1,iu=0,Yd=0,uu=1/0,cu=null,Hl=null,Jt=0,Ll=null,kn=null,dl=0,Uo=0,Ho=null,Vd=null,Ja=0,Lo=null;function Ee(){return(wt&2)!==0&&At!==0?At&-At:C.T!==null?Vo():ns()}function Xd(){if(Se===0)if((At&536870912)===0||xt){var t=yi;yi<<=1,(yi&3932160)===0&&(yi=262144),Se=t}else Se=536870912;return t=ge.current,t!==null&&(t.flags|=32),Se}function se(t,e,l){(t===Ut&&(Ct===2||Ct===9)||t.cancelPendingCommit!==null)&&($n(t,0),jl(t,At,Se,!1)),ha(t,l),((wt&2)===0||t!==Ut)&&(t===Ut&&((wt&2)===0&&(hn|=l),qt===4&&jl(t,At,Se,!1)),Ze(t))}function Qd(t,e,l){if((wt&6)!==0)throw Error(o(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||ma(t,e),a=n?og(t,e):Bo(t,e,!0),u=n;do{if(a===0){Kn&&!n&&jl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!ug(l)){a=Bo(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var s=0;else s=t.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){e=s;t:{var m=t;a=Ka;var p=m.current.memoizedState.isDehydrated;if(p&&($n(m,s).flags|=256),s=Bo(m,s,!1),s!==2){if(Ro&&!p){m.errorRecoveryDisabledLanes|=u,hn|=u,a=4;break t}u=re,re=a,u!==null&&(re===null?re=u:re.push.apply(re,u))}a=s}if(u=!1,a!==2)continue}}if(a===1){$n(t,0),jl(t,e,0,!0);break}t:{switch(n=t,u=a,u){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:jl(n,e,Se,!Nl);break t;case 2:re=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(a=iu+300-de(),10<a)){if(jl(n,e,Se,!Nl),gi(n,0,!0)!==0)break t;dl=e,n.timeoutHandle=Em(Zd.bind(null,n,l,re,cu,No,e,Se,hn,Jn,Nl,u,"Throttled",-0,0),a);break t}Zd(n,l,re,cu,No,e,Se,hn,Jn,Nl,u,null,-0,0)}}break}while(!0);Ze(t)}function Zd(t,e,l,n,a,u,s,m,p,z,j,Y,R,U){if(t.timeoutHandle=-1,Y=e.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fe},jd(e,u,Y);var F=(u&62914560)===u?iu-de():(u&4194048)===u?Yd-de():0;if(F=Qg(Y,F),F!==null){dl=u,t.cancelPendingCommit=F(Pd.bind(null,t,e,u,l,n,a,s,m,p,j,Y,null,R,U)),jl(t,u,s,!z);return}}Pd(t,e,u,l,n,a,s,m,p)}function ug(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],u=a.getSnapshot;a=a.value;try{if(!ye(u(),a))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function jl(t,e,l,n){e&=~Do,e&=~hn,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var u=31-he(a),s=1<<u;n[u]=-1,a&=~s}l!==0&&ts(t,l,e)}function ou(){return(wt&6)===0?(ka(0),!1):!0}function jo(){if(St!==null){if(Ct===0)var t=St.return;else t=St,el=an=null,Ic(t),qn=null,Ma=0,t=St;for(;t!==null;)Ad(t.alternate,t),t=t.return;St=null}}function $n(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Og(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),dl=0,jo(),Ut=t,St=l=Pe(t.current,null),At=e,Ct=0,be=null,Nl=!1,Kn=ma(t,e),Ro=!1,Jn=Se=Do=hn=Ul=qt=0,re=Ka=null,No=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-he(n),u=1<<a;e|=t[a],n&=~u}return fl=e,Ci(),l}function Kd(t,e){dt=null,C.H=Ba,e===Bn||e===ji?(e=of(),Ct=3):e===Gc?(e=of(),Ct=4):Ct=e===yo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,be=e,St===null&&(qt=1,Fi(t,we(e,t.current)))}function Jd(){var t=ge.current;return t===null?!0:(At&4194048)===At?Re===null:(At&62914560)===At||(At&536870912)!==0?t===Re:!1}function kd(){var t=C.H;return C.H=Ba,t===null?Ba:t}function $d(){var t=C.A;return C.A=ag,t}function ru(){qt=4,Nl||(At&4194048)!==At&&ge.current!==null||(Kn=!0),(Ul&134217727)===0&&(hn&134217727)===0||Ut===null||jl(Ut,At,Se,!1)}function Bo(t,e,l){var n=wt;wt|=2;var a=kd(),u=$d();(Ut!==t||At!==e)&&(cu=null,$n(t,e)),e=!1;var s=qt;t:do try{if(Ct!==0&&St!==null){var m=St,p=be;switch(Ct){case 8:jo(),s=6;break t;case 3:case 2:case 9:case 6:ge.current===null&&(e=!0);var z=Ct;if(Ct=0,be=null,Wn(t,m,p,z),l&&Kn){s=0;break t}break;default:z=Ct,Ct=0,be=null,Wn(t,m,p,z)}}cg(),s=qt;break}catch(j){Kd(t,j)}while(!0);return e&&t.shellSuspendCounter++,el=an=null,wt=n,C.H=a,C.A=u,St===null&&(Ut=null,At=0,Ci()),s}function cg(){for(;St!==null;)Wd(St)}function og(t,e){var l=wt;wt|=2;var n=kd(),a=$d();Ut!==t||At!==e?(cu=null,uu=de()+500,$n(t,e)):Kn=ma(t,e);t:do try{if(Ct!==0&&St!==null){e=St;var u=be;e:switch(Ct){case 1:Ct=0,be=null,Wn(t,e,u,1);break;case 2:case 9:if(uf(u)){Ct=0,be=null,Fd(e);break}e=function(){Ct!==2&&Ct!==9||Ut!==t||(Ct=7),Ze(t)},u.then(e,e);break t;case 3:Ct=7;break t;case 4:Ct=5;break t;case 7:uf(u)?(Ct=0,be=null,Fd(e)):(Ct=0,be=null,Wn(t,e,u,7));break;case 5:var s=null;switch(St.tag){case 26:s=St.memoizedState;case 5:case 27:var m=St;if(s?Lm(s):m.stateNode.complete){Ct=0,be=null;var p=m.sibling;if(p!==null)St=p;else{var z=m.return;z!==null?(St=z,su(z)):St=null}break e}}Ct=0,be=null,Wn(t,e,u,5);break;case 6:Ct=0,be=null,Wn(t,e,u,6);break;case 8:jo(),qt=6;break t;default:throw Error(o(462))}}rg();break}catch(j){Kd(t,j)}while(!0);return el=an=null,C.H=n,C.A=a,wt=l,St!==null?0:(Ut=null,At=0,Ci(),qt)}function rg(){for(;St!==null&&!Dy();)Wd(St)}function Wd(t){var e=Sd(t.alternate,t,fl);t.memoizedProps=t.pendingProps,e===null?su(t):St=e}function Fd(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=hd(l,e,e.pendingProps,e.type,void 0,At);break;case 11:e=hd(l,e,e.pendingProps,e.type.render,e.ref,At);break;case 5:Ic(e);default:Ad(l,e),e=St=ks(e,fl),e=Sd(l,e,fl)}t.memoizedProps=t.pendingProps,e===null?su(t):St=e}function Wn(t,e,l,n){el=an=null,Ic(e),qn=null,Ma=0;var a=e.return;try{if(Fv(t,a,e,l,At)){qt=1,Fi(t,we(l,t.current)),St=null;return}}catch(u){if(a!==null)throw St=a,u;qt=1,Fi(t,we(l,t.current)),St=null;return}e.flags&32768?(xt||n===1?t=!0:Kn||(At&536870912)!==0?t=!1:(Nl=t=!0,(n===2||n===9||n===3||n===6)&&(n=ge.current,n!==null&&n.tag===13&&(n.flags|=16384))),Id(e,t)):su(e)}function su(t){var e=t;do{if((e.flags&32768)!==0){Id(e,Nl);return}t=e.return;var l=tg(e.alternate,e,fl);if(l!==null){St=l;return}if(e=e.sibling,e!==null){St=e;return}St=e=t}while(e!==null);qt===0&&(qt=5)}function Id(t,e){do{var l=eg(t.alternate,t);if(l!==null){l.flags&=32767,St=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){St=t;return}St=t=l}while(t!==null);qt=6,St=null}function Pd(t,e,l,n,a,u,s,m,p){t.cancelPendingCommit=null;do fu();while(Jt!==0);if((wt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(u=e.lanes|e.childLanes,u|=_c,Vy(t,l,u,s,m,p),t===Ut&&(St=Ut=null,At=0),kn=e,Ll=t,dl=l,Uo=u,Ho=a,Vd=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,mg(mi,function(){return am(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=C.T,C.T=null,a=Q.p,Q.p=2,s=wt,wt|=4;try{lg(t,e,l)}finally{wt=s,Q.p=a,C.T=n}}Jt=1,tm(),em(),lm()}}function tm(){if(Jt===1){Jt=0;var t=Ll,e=kn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=C.T,C.T=null;var n=Q.p;Q.p=2;var a=wt;wt|=4;try{Ud(e,t);var u=Wo,s=qs(t.containerInfo),m=u.focusedElem,p=u.selectionRange;if(s!==m&&m&&m.ownerDocument&&Bs(m.ownerDocument.documentElement,m)){if(p!==null&&Sc(m)){var z=p.start,j=p.end;if(j===void 0&&(j=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(j,m.value.length);else{var Y=m.ownerDocument||document,R=Y&&Y.defaultView||window;if(R.getSelection){var U=R.getSelection(),F=m.textContent.length,ut=Math.min(p.start,F),Nt=p.end===void 0?ut:Math.min(p.end,F);!U.extend&&ut>Nt&&(s=Nt,Nt=ut,ut=s);var _=js(m,ut),E=js(m,Nt);if(_&&E&&(U.rangeCount!==1||U.anchorNode!==_.node||U.anchorOffset!==_.offset||U.focusNode!==E.node||U.focusOffset!==E.offset)){var w=Y.createRange();w.setStart(_.node,_.offset),U.removeAllRanges(),ut>Nt?(U.addRange(w),U.extend(E.node,E.offset)):(w.setEnd(E.node,E.offset),U.addRange(w))}}}}for(Y=[],U=m;U=U.parentNode;)U.nodeType===1&&Y.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<Y.length;m++){var q=Y[m];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}Tu=!!$o,Wo=$o=null}finally{wt=a,Q.p=n,C.T=l}}t.current=e,Jt=2}}function em(){if(Jt===2){Jt=0;var t=Ll,e=kn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=C.T,C.T=null;var n=Q.p;Q.p=2;var a=wt;wt|=4;try{Cd(t,e.alternate,e)}finally{wt=a,Q.p=n,C.T=l}}Jt=3}}function lm(){if(Jt===4||Jt===3){Jt=0,Ny();var t=Ll,e=kn,l=dl,n=Vd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Jt=5:(Jt=0,kn=Ll=null,nm(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(Hl=null),ec(l),e=e.stateNode,me&&typeof me.onCommitFiberRoot=="function")try{me.onCommitFiberRoot(da,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=C.T,a=Q.p,Q.p=2,C.T=null;try{for(var u=t.onRecoverableError,s=0;s<n.length;s++){var m=n[s];u(m.value,{componentStack:m.stack})}}finally{C.T=e,Q.p=a}}(dl&3)!==0&&fu(),Ze(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===Lo?Ja++:(Ja=0,Lo=t):Ja=0,ka(0)}}function nm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,za(e)))}function fu(){return tm(),em(),lm(),am()}function am(){if(Jt!==5)return!1;var t=Ll,e=Uo;Uo=0;var l=ec(dl),n=C.T,a=Q.p;try{Q.p=32>l?32:l,C.T=null,l=Ho,Ho=null;var u=Ll,s=dl;if(Jt=0,kn=Ll=null,dl=0,(wt&6)!==0)throw Error(o(331));var m=wt;if(wt|=4,qd(u.current),Ld(u,u.current,s,l),wt=m,ka(0,!1),me&&typeof me.onPostCommitFiberRoot=="function")try{me.onPostCommitFiberRoot(da,u)}catch{}return!0}finally{Q.p=a,C.T=n,nm(t,e)}}function im(t,e,l){e=we(l,e),e=ho(t.stateNode,e,2),t=Cl(t,e,2),t!==null&&(ha(t,2),Ze(t))}function Mt(t,e,l){if(t.tag===3)im(t,t,l);else for(;e!==null;){if(e.tag===3){im(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Hl===null||!Hl.has(n))){t=we(l,t),l=ud(2),n=Cl(e,l,2),n!==null&&(cd(l,n,e,t),ha(n,2),Ze(n));break}}e=e.return}}function qo(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new ig;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(Ro=!0,a.add(l),t=sg.bind(null,t,e,l),e.then(t,t))}function sg(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ut===t&&(At&l)===l&&(qt===4||qt===3&&(At&62914560)===At&&300>de()-iu?(wt&2)===0&&$n(t,0):Do|=l,Jn===At&&(Jn=0)),Ze(t)}function um(t,e){e===0&&(e=Pr()),t=en(t,e),t!==null&&(ha(t,e),Ze(t))}function fg(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),um(t,l)}function dg(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(e),um(t,l)}function mg(t,e){return Fu(t,e)}var du=null,Fn=null,Go=!1,mu=!1,Yo=!1,Bl=0;function Ze(t){t!==Fn&&t.next===null&&(Fn===null?du=Fn=t:Fn=Fn.next=t),mu=!0,Go||(Go=!0,yg())}function ka(t,e){if(!Yo&&mu){Yo=!0;do for(var l=!1,n=du;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var s=n.suspendedLanes,m=n.pingedLanes;u=(1<<31-he(42|t)+1)-1,u&=a&~(s&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,sm(n,u))}else u=At,u=gi(n,n===Ut?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||ma(n,u)||(l=!0,sm(n,u));n=n.next}while(l);Yo=!1}}function hg(){cm()}function cm(){mu=Go=!1;var t=0;Bl!==0&&_g()&&(t=Bl);for(var e=de(),l=null,n=du;n!==null;){var a=n.next,u=om(n,e);u===0?(n.next=null,l===null?du=a:l.next=a,a===null&&(Fn=l)):(l=n,(t!==0||(u&3)!==0)&&(mu=!0)),n=a}Jt!==0&&Jt!==5||ka(t),Bl!==0&&(Bl=0)}function om(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var s=31-he(u),m=1<<s,p=a[s];p===-1?((m&l)===0||(m&n)!==0)&&(a[s]=Yy(m,e)):p<=e&&(t.expiredLanes|=m),u&=~m}if(e=Ut,l=At,l=gi(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(Ct===2||Ct===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&Iu(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||ma(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&Iu(n),ec(l)){case 2:case 8:l=Fr;break;case 32:l=mi;break;case 268435456:l=Ir;break;default:l=mi}return n=rm.bind(null,t),l=Fu(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&Iu(n),t.callbackPriority=2,t.callbackNode=null,2}function rm(t,e){if(Jt!==0&&Jt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(fu()&&t.callbackNode!==l)return null;var n=At;return n=gi(t,t===Ut?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(Qd(t,n,e),om(t,de()),t.callbackNode!=null&&t.callbackNode===l?rm.bind(null,t):null)}function sm(t,e){if(fu())return null;Qd(t,e,!0)}function yg(){wg(function(){(wt&6)!==0?Fu(Wr,hg):cm()})}function Vo(){if(Bl===0){var t=Ln;t===0&&(t=hi,hi<<=1,(hi&261888)===0&&(hi=256)),Bl=t}return Bl}function fm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ei(""+t)}function dm(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function vg(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var u=fm((a[ae]||null).action),s=n.submitter;s&&(e=(e=s[ae]||null)?fm(e.formAction):s.getAttribute("formAction"),e!==null&&(u=e,s=null));var m=new _i("action","action",null,n,a);t.push({event:m,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Bl!==0){var p=s?dm(a,s):new FormData(a);co(l,{pending:!0,data:p,method:a.method,action:u},null,p)}}else typeof u=="function"&&(m.preventDefault(),p=s?dm(a,s):new FormData(a),co(l,{pending:!0,data:p,method:a.method,action:u},u,p))},currentTarget:a}]})}}for(var Xo=0;Xo<xc.length;Xo++){var Qo=xc[Xo],gg=Qo.toLowerCase(),pg=Qo[0].toUpperCase()+Qo.slice(1);Le(gg,"on"+pg)}Le(Vs,"onAnimationEnd"),Le(Xs,"onAnimationIteration"),Le(Qs,"onAnimationStart"),Le("dblclick","onDoubleClick"),Le("focusin","onFocus"),Le("focusout","onBlur"),Le(Uv,"onTransitionRun"),Le(Hv,"onTransitionStart"),Le(Lv,"onTransitionCancel"),Le(Zs,"onTransitionEnd"),An("onMouseEnter",["mouseout","mouseover"]),An("onMouseLeave",["mouseout","mouseover"]),An("onPointerEnter",["pointerout","pointerover"]),An("onPointerLeave",["pointerout","pointerover"]),Fl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Fl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $a="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(" "),bg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($a));function mm(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var u=void 0;if(e)for(var s=n.length-1;0<=s;s--){var m=n[s],p=m.instance,z=m.currentTarget;if(m=m.listener,p!==u&&a.isPropagationStopped())break t;u=m,a.currentTarget=z;try{u(a)}catch(j){zi(j)}a.currentTarget=null,u=p}else for(s=0;s<n.length;s++){if(m=n[s],p=m.instance,z=m.currentTarget,m=m.listener,p!==u&&a.isPropagationStopped())break t;u=m,a.currentTarget=z;try{u(a)}catch(j){zi(j)}a.currentTarget=null,u=p}}}}function Et(t,e){var l=e[lc];l===void 0&&(l=e[lc]=new Set);var n=t+"__bubble";l.has(n)||(hm(e,t,2,!1),l.add(n))}function Zo(t,e,l){var n=0;e&&(n|=4),hm(l,t,n,e)}var hu="_reactListening"+Math.random().toString(36).slice(2);function Ko(t){if(!t[hu]){t[hu]=!0,us.forEach(function(l){l!=="selectionchange"&&(bg.has(l)||Zo(l,!1,t),Zo(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[hu]||(e[hu]=!0,Zo("selectionchange",!1,e))}}function hm(t,e,l,n){switch(Xm(e)){case 2:var a=Jg;break;case 8:a=kg;break;default:a=cr}l=a.bind(null,e,l,t),a=void 0,!fc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function Jo(t,e,l,n,a){var u=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var m=n.stateNode.containerInfo;if(m===a)break;if(s===4)for(s=n.return;s!==null;){var p=s.tag;if((p===3||p===4)&&s.stateNode.containerInfo===a)return;s=s.return}for(;m!==null;){if(s=bn(m),s===null)return;if(p=s.tag,p===5||p===6||p===26||p===27){n=u=s;continue t}m=m.parentNode}}n=n.return}ps(function(){var z=u,j=rc(l),Y=[];t:{var R=Ks.get(t);if(R!==void 0){var U=_i,F=t;switch(t){case"keypress":if(Ti(l)===0)break t;case"keydown":case"keyup":U=dv;break;case"focusin":F="focus",U=yc;break;case"focusout":F="blur",U=yc;break;case"beforeblur":case"afterblur":U=yc;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=Es;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=tv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=yv;break;case Vs:case Xs:case Qs:U=nv;break;case Zs:U=gv;break;case"scroll":case"scrollend":U=Iy;break;case"wheel":U=bv;break;case"copy":case"cut":case"paste":U=iv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Ts;break;case"toggle":case"beforetoggle":U=Ev}var ut=(e&4)!==0,Nt=!ut&&(t==="scroll"||t==="scrollend"),_=ut?R!==null?R+"Capture":null:R;ut=[];for(var E=z,w;E!==null;){var q=E;if(w=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||w===null||_===null||(q=ga(E,_),q!=null&&ut.push(Wa(E,q,w))),Nt)break;E=E.return}0<ut.length&&(R=new U(R,F,null,l,j),Y.push({event:R,listeners:ut}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",R&&l!==oc&&(F=l.relatedTarget||l.fromElement)&&(bn(F)||F[pn]))break t;if((U||R)&&(R=j.window===j?j:(R=j.ownerDocument)?R.defaultView||R.parentWindow:window,U?(F=l.relatedTarget||l.toElement,U=z,F=F?bn(F):null,F!==null&&(Nt=d(F),ut=F.tag,F!==Nt||ut!==5&&ut!==27&&ut!==6)&&(F=null)):(U=null,F=z),U!==F)){if(ut=Es,q="onMouseLeave",_="onMouseEnter",E="mouse",(t==="pointerout"||t==="pointerover")&&(ut=Ts,q="onPointerLeave",_="onPointerEnter",E="pointer"),Nt=U==null?R:va(U),w=F==null?R:va(F),R=new ut(q,E+"leave",U,l,j),R.target=Nt,R.relatedTarget=w,q=null,bn(j)===z&&(ut=new ut(_,E+"enter",F,l,j),ut.target=w,ut.relatedTarget=Nt,q=ut),Nt=q,U&&F)e:{for(ut=Sg,_=U,E=F,w=0,q=_;q;q=ut(q))w++;q=0;for(var lt=E;lt;lt=ut(lt))q++;for(;0<w-q;)_=ut(_),w--;for(;0<q-w;)E=ut(E),q--;for(;w--;){if(_===E||E!==null&&_===E.alternate){ut=_;break e}_=ut(_),E=ut(E)}ut=null}else ut=null;U!==null&&ym(Y,R,U,ut,!1),F!==null&&Nt!==null&&ym(Y,Nt,F,ut,!0)}}t:{if(R=z?va(z):window,U=R.nodeName&&R.nodeName.toLowerCase(),U==="select"||U==="input"&&R.type==="file")var _t=Rs;else if(Cs(R))if(Ds)_t=Rv;else{_t=Cv;var tt=zv}else U=R.nodeName,!U||U.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?z&&cc(z.elementType)&&(_t=Rs):_t=Mv;if(_t&&(_t=_t(t,z))){Ms(Y,_t,l,j);break t}tt&&tt(t,R,z),t==="focusout"&&z&&R.type==="number"&&z.memoizedProps.value!=null&&uc(R,"number",R.value)}switch(tt=z?va(z):window,t){case"focusin":(Cs(tt)||tt.contentEditable==="true")&&(zn=tt,Ec=z,_a=null);break;case"focusout":_a=Ec=zn=null;break;case"mousedown":Ac=!0;break;case"contextmenu":case"mouseup":case"dragend":Ac=!1,Gs(Y,l,j);break;case"selectionchange":if(Nv)break;case"keydown":case"keyup":Gs(Y,l,j)}var ht;if(gc)t:{switch(t){case"compositionstart":var Tt="onCompositionStart";break t;case"compositionend":Tt="onCompositionEnd";break t;case"compositionupdate":Tt="onCompositionUpdate";break t}Tt=void 0}else wn?ws(t,l)&&(Tt="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(Tt="onCompositionStart");Tt&&(xs&&l.locale!=="ko"&&(wn||Tt!=="onCompositionStart"?Tt==="onCompositionEnd"&&wn&&(ht=bs()):(Al=j,dc="value"in Al?Al.value:Al.textContent,wn=!0)),tt=yu(z,Tt),0<tt.length&&(Tt=new As(Tt,t,null,l,j),Y.push({event:Tt,listeners:tt}),ht?Tt.data=ht:(ht=zs(l),ht!==null&&(Tt.data=ht)))),(ht=Tv?xv(t,l):_v(t,l))&&(Tt=yu(z,"onBeforeInput"),0<Tt.length&&(tt=new As("onBeforeInput","beforeinput",null,l,j),Y.push({event:tt,listeners:Tt}),tt.data=ht)),vg(Y,t,z,l,j)}mm(Y,e)})}function Wa(t,e,l){return{instance:t,listener:e,currentTarget:l}}function yu(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,u=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||u===null||(a=ga(t,l),a!=null&&n.unshift(Wa(t,a,u)),a=ga(t,e),a!=null&&n.push(Wa(t,a,u))),t.tag===3)return n;t=t.return}return[]}function Sg(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ym(t,e,l,n,a){for(var u=e._reactName,s=[];l!==null&&l!==n;){var m=l,p=m.alternate,z=m.stateNode;if(m=m.tag,p!==null&&p===n)break;m!==5&&m!==26&&m!==27||z===null||(p=z,a?(z=ga(l,u),z!=null&&s.unshift(Wa(l,z,p))):a||(z=ga(l,u),z!=null&&s.push(Wa(l,z,p)))),l=l.return}s.length!==0&&t.push({event:e,listeners:s})}var Eg=/\r\n?/g,Ag=/\u0000|\uFFFD/g;function vm(t){return(typeof t=="string"?t:""+t).replace(Eg,`
`).replace(Ag,"")}function gm(t,e){return e=vm(e),vm(t)===e}function Dt(t,e,l,n,a,u){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||xn(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&xn(t,""+n);break;case"className":bi(t,"class",n);break;case"tabIndex":bi(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":bi(t,l,n);break;case"style":vs(t,n,u);break;case"data":if(e!=="object"){bi(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Ei(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&Dt(t,e,"name",a.name,a,null),Dt(t,e,"formEncType",a.formEncType,a,null),Dt(t,e,"formMethod",a.formMethod,a,null),Dt(t,e,"formTarget",a.formTarget,a,null)):(Dt(t,e,"encType",a.encType,a,null),Dt(t,e,"method",a.method,a,null),Dt(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Ei(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=Fe);break;case"onScroll":n!=null&&Et("scroll",t);break;case"onScrollEnd":n!=null&&Et("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=Ei(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":Et("beforetoggle",t),Et("toggle",t),pi(t,"popover",n);break;case"xlinkActuate":We(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":We(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":We(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":We(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":We(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":We(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":We(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":We(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":We(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":pi(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Wy.get(l)||l,pi(t,l,n))}}function ko(t,e,l,n,a,u){switch(l){case"style":vs(t,n,u);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));t.innerHTML=l}}break;case"children":typeof n=="string"?xn(t,n):(typeof n=="number"||typeof n=="bigint")&&xn(t,""+n);break;case"onScroll":n!=null&&Et("scroll",t);break;case"onScrollEnd":n!=null&&Et("scrollend",t);break;case"onClick":n!=null&&(t.onclick=Fe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cs.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),u=t[ae]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,a),typeof n=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):pi(t,l,n)}}}function ee(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Et("error",t),Et("load",t);var n=!1,a=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Dt(t,e,u,s,l,null)}}a&&Dt(t,e,"srcSet",l.srcSet,l,null),n&&Dt(t,e,"src",l.src,l,null);return;case"input":Et("invalid",t);var m=u=s=a=null,p=null,z=null;for(n in l)if(l.hasOwnProperty(n)){var j=l[n];if(j!=null)switch(n){case"name":a=j;break;case"type":s=j;break;case"checked":p=j;break;case"defaultChecked":z=j;break;case"value":u=j;break;case"defaultValue":m=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,e));break;default:Dt(t,e,n,j,l,null)}}ds(t,u,m,p,z,s,a,!1);return;case"select":Et("invalid",t),n=s=u=null;for(a in l)if(l.hasOwnProperty(a)&&(m=l[a],m!=null))switch(a){case"value":u=m;break;case"defaultValue":s=m;break;case"multiple":n=m;default:Dt(t,e,a,m,l,null)}e=u,l=s,t.multiple=!!n,e!=null?Tn(t,!!n,e,!1):l!=null&&Tn(t,!!n,l,!0);return;case"textarea":Et("invalid",t),u=a=n=null;for(s in l)if(l.hasOwnProperty(s)&&(m=l[s],m!=null))switch(s){case"value":n=m;break;case"defaultValue":a=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(o(91));break;default:Dt(t,e,s,m,l,null)}hs(t,n,a,u);return;case"option":for(p in l)if(l.hasOwnProperty(p)&&(n=l[p],n!=null))switch(p){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Dt(t,e,p,n,l,null)}return;case"dialog":Et("beforetoggle",t),Et("toggle",t),Et("cancel",t),Et("close",t);break;case"iframe":case"object":Et("load",t);break;case"video":case"audio":for(n=0;n<$a.length;n++)Et($a[n],t);break;case"image":Et("error",t),Et("load",t);break;case"details":Et("toggle",t);break;case"embed":case"source":case"link":Et("error",t),Et("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(n=l[z],n!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Dt(t,e,z,n,l,null)}return;default:if(cc(e)){for(j in l)l.hasOwnProperty(j)&&(n=l[j],n!==void 0&&ko(t,e,j,n,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(n=l[m],n!=null&&Dt(t,e,m,n,l,null))}function Tg(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,u=null,s=null,m=null,p=null,z=null,j=null;for(U in l){var Y=l[U];if(l.hasOwnProperty(U)&&Y!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":p=Y;default:n.hasOwnProperty(U)||Dt(t,e,U,null,n,Y)}}for(var R in n){var U=n[R];if(Y=l[R],n.hasOwnProperty(R)&&(U!=null||Y!=null))switch(R){case"type":u=U;break;case"name":a=U;break;case"checked":z=U;break;case"defaultChecked":j=U;break;case"value":s=U;break;case"defaultValue":m=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,e));break;default:U!==Y&&Dt(t,e,R,U,n,Y)}}ic(t,s,m,p,z,j,u,a);return;case"select":U=s=m=R=null;for(u in l)if(p=l[u],l.hasOwnProperty(u)&&p!=null)switch(u){case"value":break;case"multiple":U=p;default:n.hasOwnProperty(u)||Dt(t,e,u,null,n,p)}for(a in n)if(u=n[a],p=l[a],n.hasOwnProperty(a)&&(u!=null||p!=null))switch(a){case"value":R=u;break;case"defaultValue":m=u;break;case"multiple":s=u;default:u!==p&&Dt(t,e,a,u,n,p)}e=m,l=s,n=U,R!=null?Tn(t,!!l,R,!1):!!n!=!!l&&(e!=null?Tn(t,!!l,e,!0):Tn(t,!!l,l?[]:"",!1));return;case"textarea":U=R=null;for(m in l)if(a=l[m],l.hasOwnProperty(m)&&a!=null&&!n.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Dt(t,e,m,null,n,a)}for(s in n)if(a=n[s],u=l[s],n.hasOwnProperty(s)&&(a!=null||u!=null))switch(s){case"value":R=a;break;case"defaultValue":U=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==u&&Dt(t,e,s,a,n,u)}ms(t,R,U);return;case"option":for(var F in l)if(R=l[F],l.hasOwnProperty(F)&&R!=null&&!n.hasOwnProperty(F))switch(F){case"selected":t.selected=!1;break;default:Dt(t,e,F,null,n,R)}for(p in n)if(R=n[p],U=l[p],n.hasOwnProperty(p)&&R!==U&&(R!=null||U!=null))switch(p){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Dt(t,e,p,R,n,U)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ut in l)R=l[ut],l.hasOwnProperty(ut)&&R!=null&&!n.hasOwnProperty(ut)&&Dt(t,e,ut,null,n,R);for(z in n)if(R=n[z],U=l[z],n.hasOwnProperty(z)&&R!==U&&(R!=null||U!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,e));break;default:Dt(t,e,z,R,n,U)}return;default:if(cc(e)){for(var Nt in l)R=l[Nt],l.hasOwnProperty(Nt)&&R!==void 0&&!n.hasOwnProperty(Nt)&&ko(t,e,Nt,void 0,n,R);for(j in n)R=n[j],U=l[j],!n.hasOwnProperty(j)||R===U||R===void 0&&U===void 0||ko(t,e,j,R,n,U);return}}for(var _ in l)R=l[_],l.hasOwnProperty(_)&&R!=null&&!n.hasOwnProperty(_)&&Dt(t,e,_,null,n,R);for(Y in n)R=n[Y],U=l[Y],!n.hasOwnProperty(Y)||R===U||R==null&&U==null||Dt(t,e,Y,R,n,U)}function pm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xg(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],u=a.transferSize,s=a.initiatorType,m=a.duration;if(u&&m&&pm(s)){for(s=0,m=a.responseEnd,n+=1;n<l.length;n++){var p=l[n],z=p.startTime;if(z>m)break;var j=p.transferSize,Y=p.initiatorType;j&&pm(Y)&&(p=p.responseEnd,s+=j*(p<m?1:(m-z)/(p-z)))}if(--n,e+=8*(u+s)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var $o=null,Wo=null;function vu(t){return t.nodeType===9?t:t.ownerDocument}function bm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Sm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Fo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Io=null;function _g(){var t=window.event;return t&&t.type==="popstate"?t===Io?!1:(Io=t,!0):(Io=null,!1)}var Em=typeof setTimeout=="function"?setTimeout:void 0,Og=typeof clearTimeout=="function"?clearTimeout:void 0,Am=typeof Promise=="function"?Promise:void 0,wg=typeof queueMicrotask=="function"?queueMicrotask:typeof Am<"u"?function(t){return Am.resolve(null).then(t).catch(zg)}:Em;function zg(t){setTimeout(function(){throw t})}function ql(t){return t==="head"}function Tm(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),ea(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Fa(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Fa(l);for(var u=l.firstChild;u;){var s=u.nextSibling,m=u.nodeName;u[ya]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&Fa(t.ownerDocument.body);l=a}while(l);ea(e)}function xm(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Po(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Po(l),nc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Cg(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[ya])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=De(t.nextSibling),t===null)break}return null}function Mg(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=De(t.nextSibling),t===null))return null;return t}function _m(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=De(t.nextSibling),t===null))return null;return t}function tr(t){return t.data==="$?"||t.data==="$~"}function er(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Rg(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function De(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var lr=null;function Om(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return De(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function wm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function zm(t,e,l){switch(e=vu(l),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Fa(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);nc(t)}var Ne=new Map,Cm=new Set;function gu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ml=Q.d;Q.d={f:Dg,r:Ng,D:Ug,C:Hg,L:Lg,m:jg,X:qg,S:Bg,M:Gg};function Dg(){var t=ml.f(),e=ou();return t||e}function Ng(t){var e=Sn(t);e!==null&&e.tag===5&&e.type==="form"?Kf(e):ml.r(t)}var In=typeof document>"u"?null:document;function Mm(t,e,l){var n=In;if(n&&typeof e=="string"&&e){var a=_e(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Cm.has(a)||(Cm.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),ee(e,"link",t),$t(e),n.head.appendChild(e)))}}function Ug(t){ml.D(t),Mm("dns-prefetch",t,null)}function Hg(t,e){ml.C(t,e),Mm("preconnect",t,e)}function Lg(t,e,l){ml.L(t,e,l);var n=In;if(n&&t&&e){var a='link[rel="preload"][as="'+_e(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+_e(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+_e(l.imageSizes)+'"]')):a+='[href="'+_e(t)+'"]';var u=a;switch(e){case"style":u=Pn(t);break;case"script":u=ta(t)}Ne.has(u)||(t=A({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Ne.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(Ia(u))||e==="script"&&n.querySelector(Pa(u))||(e=n.createElement("link"),ee(e,"link",t),$t(e),n.head.appendChild(e)))}}function jg(t,e){ml.m(t,e);var l=In;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+_e(n)+'"][href="'+_e(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ta(t)}if(!Ne.has(u)&&(t=A({rel:"modulepreload",href:t},e),Ne.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Pa(u)))return}n=l.createElement("link"),ee(n,"link",t),$t(n),l.head.appendChild(n)}}}function Bg(t,e,l){ml.S(t,e,l);var n=In;if(n&&t){var a=En(n).hoistableStyles,u=Pn(t);e=e||"default";var s=a.get(u);if(!s){var m={loading:0,preload:null};if(s=n.querySelector(Ia(u)))m.loading=5;else{t=A({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Ne.get(u))&&nr(t,l);var p=s=n.createElement("link");$t(p),ee(p,"link",t),p._p=new Promise(function(z,j){p.onload=z,p.onerror=j}),p.addEventListener("load",function(){m.loading|=1}),p.addEventListener("error",function(){m.loading|=2}),m.loading|=4,pu(s,e,n)}s={type:"stylesheet",instance:s,count:1,state:m},a.set(u,s)}}}function qg(t,e){ml.X(t,e);var l=In;if(l&&t){var n=En(l).hoistableScripts,a=ta(t),u=n.get(a);u||(u=l.querySelector(Pa(a)),u||(t=A({src:t,async:!0},e),(e=Ne.get(a))&&ar(t,e),u=l.createElement("script"),$t(u),ee(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function Gg(t,e){ml.M(t,e);var l=In;if(l&&t){var n=En(l).hoistableScripts,a=ta(t),u=n.get(a);u||(u=l.querySelector(Pa(a)),u||(t=A({src:t,async:!0,type:"module"},e),(e=Ne.get(a))&&ar(t,e),u=l.createElement("script"),$t(u),ee(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function Rm(t,e,l,n){var a=(a=ft.current)?gu(a):null;if(!a)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Pn(l.href),l=En(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Pn(l.href);var u=En(a).hoistableStyles,s=u.get(t);if(s||(a=a.ownerDocument||a,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,s),(u=a.querySelector(Ia(t)))&&!u._p&&(s.instance=u,s.state.loading=5),Ne.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ne.set(t,l),u||Yg(a,t,l,s.state))),e&&n===null)throw Error(o(528,""));return s}if(e&&n!==null)throw Error(o(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ta(l),l=En(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Pn(t){return'href="'+_e(t)+'"'}function Ia(t){return'link[rel="stylesheet"]['+t+"]"}function Dm(t){return A({},t,{"data-precedence":t.precedence,precedence:null})}function Yg(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),ee(e,"link",l),$t(e),t.head.appendChild(e))}function ta(t){return'[src="'+_e(t)+'"]'}function Pa(t){return"script[async]"+t}function Nm(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+_e(l.href)+'"]');if(n)return e.instance=n,$t(n),n;var a=A({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),$t(n),ee(n,"style",a),pu(n,l.precedence,t),e.instance=n;case"stylesheet":a=Pn(l.href);var u=t.querySelector(Ia(a));if(u)return e.state.loading|=4,e.instance=u,$t(u),u;n=Dm(l),(a=Ne.get(a))&&nr(n,a),u=(t.ownerDocument||t).createElement("link"),$t(u);var s=u;return s._p=new Promise(function(m,p){s.onload=m,s.onerror=p}),ee(u,"link",n),e.state.loading|=4,pu(u,l.precedence,t),e.instance=u;case"script":return u=ta(l.src),(a=t.querySelector(Pa(u)))?(e.instance=a,$t(a),a):(n=l,(a=Ne.get(u))&&(n=A({},l),ar(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),$t(a),ee(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,pu(n,l.precedence,t));return e.instance}function pu(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,s=0;s<n.length;s++){var m=n[s];if(m.dataset.precedence===e)u=m;else if(u!==a)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function nr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ar(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var bu=null;function Um(t,e,l){if(bu===null){var n=new Map,a=bu=new Map;a.set(l,n)}else a=bu,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var u=l[a];if(!(u[ya]||u[Ft]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(e)||"";s=t+s;var m=n.get(s);m?m.push(u):n.set(s,[u])}}return n}function Hm(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Vg(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Lm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Xg(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Pn(n.href),u=e.querySelector(Ia(a));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Su.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,$t(u);return}u=e.ownerDocument||e,n=Dm(n),(a=Ne.get(a))&&nr(n,a),u=u.createElement("link"),$t(u);var s=u;s._p=new Promise(function(m,p){s.onload=m,s.onerror=p}),ee(u,"link",n),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Su.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var ir=0;function Qg(t,e){return t.stylesheets&&t.count===0&&Au(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&ir===0&&(ir=62500*xg());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>ir?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function Su(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Au(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Eu=null;function Au(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Eu=new Map,e.forEach(Zg,t),Eu=null,Su.call(t))}function Zg(t,e){if(!(e.state.loading&4)){var l=Eu.get(t);if(l)var n=l.get(null);else{l=new Map,Eu.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<a.length;u++){var s=a[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),n=s)}n&&l.set(null,n)}a=e.instance,s=a.getAttribute("data-precedence"),u=l.get(s)||n,u===n&&l.set(null,a),l.set(s,a),this.count++,n=Su.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),u?u.parentNode.insertBefore(a,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var ti={$$typeof:B,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Kg(t,e,l,n,a,u,s,m,p){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pu(0),this.hiddenUpdates=Pu(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function jm(t,e,l,n,a,u,s,m,p,z,j,Y){return t=new Kg(t,e,l,s,p,z,j,Y,m),e=1,u===!0&&(e|=24),u=ve(3,null,null,e),t.current=u,u.stateNode=t,e=jc(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:n,isDehydrated:l,cache:e},Yc(u),t}function Bm(t){return t?(t=Rn,t):Rn}function qm(t,e,l,n,a,u){a=Bm(a),n.context===null?n.context=a:n.pendingContext=a,n=zl(e),n.payload={element:l},u=u===void 0?null:u,u!==null&&(n.callback=u),l=Cl(t,n,e),l!==null&&(se(l,t,e),Da(l,t,e))}function Gm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function ur(t,e){Gm(t,e),(t=t.alternate)&&Gm(t,e)}function Ym(t){if(t.tag===13||t.tag===31){var e=en(t,67108864);e!==null&&se(e,t,67108864),ur(t,67108864)}}function Vm(t){if(t.tag===13||t.tag===31){var e=Ee();e=tc(e);var l=en(t,e);l!==null&&se(l,t,e),ur(t,e)}}var Tu=!0;function Jg(t,e,l,n){var a=C.T;C.T=null;var u=Q.p;try{Q.p=2,cr(t,e,l,n)}finally{Q.p=u,C.T=a}}function kg(t,e,l,n){var a=C.T;C.T=null;var u=Q.p;try{Q.p=8,cr(t,e,l,n)}finally{Q.p=u,C.T=a}}function cr(t,e,l,n){if(Tu){var a=or(n);if(a===null)Jo(t,e,n,xu,l),Qm(t,n);else if(Wg(a,t,e,l,n))n.stopPropagation();else if(Qm(t,n),e&4&&-1<$g.indexOf(t)){for(;a!==null;){var u=Sn(a);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=Wl(u.pendingLanes);if(s!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;s;){var p=1<<31-he(s);m.entanglements[1]|=p,s&=~p}Ze(u),(wt&6)===0&&(uu=de()+500,ka(0))}}break;case 31:case 13:m=en(u,2),m!==null&&se(m,u,2),ou(),ur(u,2)}if(u=or(n),u===null&&Jo(t,e,n,xu,l),u===a)break;a=u}a!==null&&n.stopPropagation()}else Jo(t,e,n,null,l)}}function or(t){return t=rc(t),rr(t)}var xu=null;function rr(t){if(xu=null,t=bn(t),t!==null){var e=d(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=h(e),t!==null)return t;t=null}else if(l===31){if(t=g(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return xu=t,null}function Xm(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Uy()){case Wr:return 2;case Fr:return 8;case mi:case Hy:return 32;case Ir:return 268435456;default:return 32}default:return 32}}var sr=!1,Gl=null,Yl=null,Vl=null,ei=new Map,li=new Map,Xl=[],$g="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 Qm(t,e){switch(t){case"focusin":case"focusout":Gl=null;break;case"dragenter":case"dragleave":Yl=null;break;case"mouseover":case"mouseout":Vl=null;break;case"pointerover":case"pointerout":ei.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(e.pointerId)}}function ni(t,e,l,n,a,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:u,targetContainers:[a]},e!==null&&(e=Sn(e),e!==null&&Ym(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Wg(t,e,l,n,a){switch(e){case"focusin":return Gl=ni(Gl,t,e,l,n,a),!0;case"dragenter":return Yl=ni(Yl,t,e,l,n,a),!0;case"mouseover":return Vl=ni(Vl,t,e,l,n,a),!0;case"pointerover":var u=a.pointerId;return ei.set(u,ni(ei.get(u)||null,t,e,l,n,a)),!0;case"gotpointercapture":return u=a.pointerId,li.set(u,ni(li.get(u)||null,t,e,l,n,a)),!0}return!1}function Zm(t){var e=bn(t.target);if(e!==null){var l=d(e);if(l!==null){if(e=l.tag,e===13){if(e=h(l),e!==null){t.blockedOn=e,as(t.priority,function(){Vm(l)});return}}else if(e===31){if(e=g(l),e!==null){t.blockedOn=e,as(t.priority,function(){Vm(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function _u(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=or(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);oc=n,l.target.dispatchEvent(n),oc=null}else return e=Sn(l),e!==null&&Ym(e),t.blockedOn=l,!1;e.shift()}return!0}function Km(t,e,l){_u(t)&&l.delete(e)}function Fg(){sr=!1,Gl!==null&&_u(Gl)&&(Gl=null),Yl!==null&&_u(Yl)&&(Yl=null),Vl!==null&&_u(Vl)&&(Vl=null),ei.forEach(Km),li.forEach(Km)}function Ou(t,e){t.blockedOn===e&&(t.blockedOn=null,sr||(sr=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Fg)))}var wu=null;function Jm(t){wu!==t&&(wu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){wu===t&&(wu=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(rr(n||l)===null)continue;break}var u=Sn(l);u!==null&&(t.splice(e,3),e-=3,co(u,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function ea(t){function e(p){return Ou(p,t)}Gl!==null&&Ou(Gl,t),Yl!==null&&Ou(Yl,t),Vl!==null&&Ou(Vl,t),ei.forEach(e),li.forEach(e);for(var l=0;l<Xl.length;l++){var n=Xl[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<Xl.length&&(l=Xl[0],l.blockedOn===null);)Zm(l),l.blockedOn===null&&Xl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],u=l[n+1],s=a[ae]||null;if(typeof u=="function")s||Jm(l);else if(s){var m=null;if(u&&u.hasAttribute("formAction")){if(a=u,s=u[ae]||null)m=s.formAction;else if(rr(a)!==null)continue}else m=s.action;typeof m=="function"?l[n+1]=m:(l.splice(n,3),n-=3),Jm(l)}}}function km(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return a=s})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function fr(t){this._internalRoot=t}zu.prototype.render=fr.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var l=e.current,n=Ee();qm(l,n,t,e,null,null)},zu.prototype.unmount=fr.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;qm(t.current,2,null,t,null,null),ou(),e[pn]=null}};function zu(t){this._internalRoot=t}zu.prototype.unstable_scheduleHydration=function(t){if(t){var e=ns();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Xl.length&&e!==0&&e<Xl[l].priority;l++);Xl.splice(l,0,t),l===0&&Zm(t)}};var $m=c.version;if($m!=="19.2.3")throw Error(o(527,$m,"19.2.3"));Q.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=y(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var Ig={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{da=Cu.inject(Ig),me=Cu}catch{}}return ii.createRoot=function(t,e){if(!f(t))throw Error(o(299));var l=!1,n="",a=ld,u=nd,s=ad;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=jm(t,1,!1,null,null,l,n,null,a,u,s,km),t[pn]=e.current,Ko(t),new fr(e)},ii.hydrateRoot=function(t,e,l){if(!f(t))throw Error(o(299));var n=!1,a="",u=ld,s=nd,m=ad,p=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(p=l.formState)),e=jm(t,1,!0,e,l??null,n,a,p,u,s,m,km),e.context=Bm(null),l=e.current,n=Ee(),n=tc(n),a=zl(n),a.callback=null,Cl(l,a,n),l=n,e.current.lanes=l,ha(e,l),Ze(e),t[pn]=e.current,Ko(t),new zu(e)},ii.version="19.2.3",ii}var ih;function rp(){if(ih)return hr.exports;ih=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(c){console.error(c)}}return i(),hr.exports=op(),hr.exports}var sp=rp();const I1=Mr(sp);function Rh(i){var c,r,o="";if(typeof i=="string"||typeof i=="number")o+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(c=0;c<f;c++)i[c]&&(r=Rh(i[c]))&&(o&&(o+=" "),o+=r)}else for(r in i)i[r]&&(o&&(o+=" "),o+=r);return o}function Dh(){for(var i,c,r=0,o="",f=arguments.length;r<f;r++)(i=arguments[r])&&(c=Rh(i))&&(o&&(o+=" "),o+=c);return o}const fp=(i,c)=>{const r=new Array(i.length+c.length);for(let o=0;o<i.length;o++)r[o]=i[o];for(let o=0;o<c.length;o++)r[i.length+o]=c[o];return r},dp=(i,c)=>({classGroupId:i,validator:c}),Nh=(i=new Map,c=null,r)=>({nextPart:i,validators:c,classGroupId:r}),ju="-",uh=[],mp="arbitrary..",hp=i=>{const c=vp(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=i;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return yp(h);const g=h.split(ju),v=g[0]===""&&g.length>1?1:0;return Uh(g,v,c)},getConflictingClassGroupIds:(h,g)=>{if(g){const v=o[h],y=r[h];return v?y?fp(y,v):v:y||uh}return r[h]||uh}}},Uh=(i,c,r)=>{if(i.length-c===0)return r.classGroupId;const f=i[c],d=r.nextPart.get(f);if(d){const y=Uh(i,c+1,d);if(y)return y}const h=r.validators;if(h===null)return;const g=c===0?i.join(ju):i.slice(c).join(ju),v=h.length;for(let y=0;y<v;y++){const b=h[y];if(b.validator(g))return b.classGroupId}},yp=i=>i.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const c=i.slice(1,-1),r=c.indexOf(":"),o=c.slice(0,r);return o?mp+o:void 0})(),vp=i=>{const{theme:c,classGroups:r}=i;return gp(r,c)},gp=(i,c)=>{const r=Nh();for(const o in i){const f=i[o];Nr(f,r,o,c)}return r},Nr=(i,c,r,o)=>{const f=i.length;for(let d=0;d<f;d++){const h=i[d];pp(h,c,r,o)}},pp=(i,c,r,o)=>{if(typeof i=="string"){bp(i,c,r);return}if(typeof i=="function"){Sp(i,c,r,o);return}Ep(i,c,r,o)},bp=(i,c,r)=>{const o=i===""?c:Hh(c,i);o.classGroupId=r},Sp=(i,c,r,o)=>{if(Ap(i)){Nr(i(o),c,r,o);return}c.validators===null&&(c.validators=[]),c.validators.push(dp(r,i))},Ep=(i,c,r,o)=>{const f=Object.entries(i),d=f.length;for(let h=0;h<d;h++){const[g,v]=f[h];Nr(v,Hh(c,g),r,o)}},Hh=(i,c)=>{let r=i;const o=c.split(ju),f=o.length;for(let d=0;d<f;d++){const h=o[d];let g=r.nextPart.get(h);g||(g=Nh(),r.nextPart.set(h,g)),r=g}return r},Ap=i=>"isThemeGetter"in i&&i.isThemeGetter===!0,Tp=i=>{if(i<1)return{get:()=>{},set:()=>{}};let c=0,r=Object.create(null),o=Object.create(null);const f=(d,h)=>{r[d]=h,c++,c>i&&(c=0,o=r,r=Object.create(null))};return{get(d){let h=r[d];if(h!==void 0)return h;if((h=o[d])!==void 0)return f(d,h),h},set(d,h){d in r?r[d]=h:f(d,h)}}},Ar="!",ch=":",xp=[],oh=(i,c,r,o,f)=>({modifiers:i,hasImportantModifier:c,baseClassName:r,maybePostfixModifierPosition:o,isExternal:f}),_p=i=>{const{prefix:c,experimentalParseClassName:r}=i;let o=f=>{const d=[];let h=0,g=0,v=0,y;const b=f.length;for(let x=0;x<b;x++){const T=f[x];if(h===0&&g===0){if(T===ch){d.push(f.slice(v,x)),v=x+1;continue}if(T==="/"){y=x;continue}}T==="["?h++:T==="]"?h--:T==="("?g++:T===")"&&g--}const A=d.length===0?f:f.slice(v);let N=A,H=!1;A.endsWith(Ar)?(N=A.slice(0,-1),H=!0):A.startsWith(Ar)&&(N=A.slice(1),H=!0);const X=y&&y>v?y-v:void 0;return oh(d,H,N,X)};if(c){const f=c+ch,d=o;o=h=>h.startsWith(f)?d(h.slice(f.length)):oh(xp,!1,h,void 0,!0)}if(r){const f=o;o=d=>r({className:d,parseClassName:f})}return o},Op=i=>{const c=new Map;return i.orderSensitiveModifiers.forEach((r,o)=>{c.set(r,1e6+o)}),r=>{const o=[];let f=[];for(let d=0;d<r.length;d++){const h=r[d],g=h[0]==="[",v=c.has(h);g||v?(f.length>0&&(f.sort(),o.push(...f),f=[]),o.push(h)):f.push(h)}return f.length>0&&(f.sort(),o.push(...f)),o}},wp=i=>({cache:Tp(i.cacheSize),parseClassName:_p(i),sortModifiers:Op(i),...hp(i)}),zp=/\s+/,Cp=(i,c)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:f,sortModifiers:d}=c,h=[],g=i.trim().split(zp);let v="";for(let y=g.length-1;y>=0;y-=1){const b=g[y],{isExternal:A,modifiers:N,hasImportantModifier:H,baseClassName:X,maybePostfixModifierPosition:x}=r(b);if(A){v=b+(v.length>0?" "+v:v);continue}let T=!!x,O=o(T?X.substring(0,x):X);if(!O){if(!T){v=b+(v.length>0?" "+v:v);continue}if(O=o(X),!O){v=b+(v.length>0?" "+v:v);continue}T=!1}const D=N.length===0?"":N.length===1?N[0]:d(N).join(":"),B=H?D+Ar:D,V=B+O;if(h.indexOf(V)>-1)continue;h.push(V);const k=f(O,T);for(let $=0;$<k.length;++$){const Z=k[$];h.push(B+Z)}v=b+(v.length>0?" "+v:v)}return v},Mp=(...i)=>{let c=0,r,o,f="";for(;c<i.length;)(r=i[c++])&&(o=Lh(r))&&(f&&(f+=" "),f+=o);return f},Lh=i=>{if(typeof i=="string")return i;let c,r="";for(let o=0;o<i.length;o++)i[o]&&(c=Lh(i[o]))&&(r&&(r+=" "),r+=c);return r},Rp=(i,...c)=>{let r,o,f,d;const h=v=>{const y=c.reduce((b,A)=>A(b),i());return r=wp(y),o=r.cache.get,f=r.cache.set,d=g,g(v)},g=v=>{const y=o(v);if(y)return y;const b=Cp(v,r);return f(v,b),b};return d=h,(...v)=>d(Mp(...v))},Dp=[],kt=i=>{const c=r=>r[i]||Dp;return c.isThemeGetter=!0,c},jh=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Bh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Np=/^\d+\/\d+$/,Up=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hp=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,la=i=>Np.test(i),yt=i=>!!i&&!Number.isNaN(Number(i)),Zl=i=>!!i&&Number.isInteger(Number(i)),pr=i=>i.endsWith("%")&&yt(i.slice(0,-1)),hl=i=>Up.test(i),qp=()=>!0,Gp=i=>Hp.test(i)&&!Lp.test(i),qh=()=>!1,Yp=i=>jp.test(i),Vp=i=>Bp.test(i),Xp=i=>!I(i)&&!P(i),Qp=i=>ua(i,Vh,qh),I=i=>jh.test(i),yn=i=>ua(i,Xh,Gp),br=i=>ua(i,$p,yt),rh=i=>ua(i,Gh,qh),Zp=i=>ua(i,Yh,Vp),Mu=i=>ua(i,Qh,Yp),P=i=>Bh.test(i),ui=i=>ca(i,Xh),Kp=i=>ca(i,Wp),sh=i=>ca(i,Gh),Jp=i=>ca(i,Vh),kp=i=>ca(i,Yh),Ru=i=>ca(i,Qh,!0),ua=(i,c,r)=>{const o=jh.exec(i);return o?o[1]?c(o[1]):r(o[2]):!1},ca=(i,c,r=!1)=>{const o=Bh.exec(i);return o?o[1]?c(o[1]):r:!1},Gh=i=>i==="position"||i==="percentage",Yh=i=>i==="image"||i==="url",Vh=i=>i==="length"||i==="size"||i==="bg-size",Xh=i=>i==="length",$p=i=>i==="number",Wp=i=>i==="family-name",Qh=i=>i==="shadow",Fp=()=>{const i=kt("color"),c=kt("font"),r=kt("text"),o=kt("font-weight"),f=kt("tracking"),d=kt("leading"),h=kt("breakpoint"),g=kt("container"),v=kt("spacing"),y=kt("radius"),b=kt("shadow"),A=kt("inset-shadow"),N=kt("text-shadow"),H=kt("drop-shadow"),X=kt("blur"),x=kt("perspective"),T=kt("aspect"),O=kt("ease"),D=kt("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...V(),P,I],$=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],K=()=>[P,I,v],nt=()=>[la,"full","auto",...K()],et=()=>[Zl,"none","subgrid",P,I],gt=()=>["auto",{span:["full",Zl,P,I]},Zl,P,I],st=()=>[Zl,"auto",P,I],pt=()=>["auto","min","max","fr",P,I],bt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],vt=()=>["start","end","center","stretch","center-safe","end-safe"],C=()=>["auto",...K()],Q=()=>[la,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],L=()=>[i,P,I],ot=()=>[...V(),sh,rh,{position:[P,I]}],mt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],S=()=>["auto","cover","contain",Jp,Qp,{size:[P,I]}],G=()=>[pr,ui,yn],J=()=>["","none","full",y,P,I],W=()=>["",yt,ui,yn],ct=()=>["solid","dashed","dotted","double"],ft=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],at=()=>[yt,pr,sh,rh],Gt=()=>["","none",X,P,I],zt=()=>["none",yt,P,I],fe=()=>["none",yt,P,I],Ue=()=>[yt,P,I],He=()=>[la,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[hl],breakpoint:[hl],color:[qp],container:[hl],"drop-shadow":[hl],ease:["in","out","in-out"],font:[Xp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[hl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[hl],shadow:[hl],spacing:["px",yt],text:[hl],"text-shadow":[hl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",la,I,P,T]}],container:["container"],columns:[{columns:[yt,I,P,g]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:nt()}],"inset-x":[{"inset-x":nt()}],"inset-y":[{"inset-y":nt()}],start:[{start:nt()}],end:[{end:nt()}],top:[{top:nt()}],right:[{right:nt()}],bottom:[{bottom:nt()}],left:[{left:nt()}],visibility:["visible","invisible","collapse"],z:[{z:[Zl,"auto",P,I]}],basis:[{basis:[la,"full","auto",g,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[yt,la,"auto","initial","none",I]}],grow:[{grow:["",yt,P,I]}],shrink:[{shrink:["",yt,P,I]}],order:[{order:[Zl,"first","last","none",P,I]}],"grid-cols":[{"grid-cols":et()}],"col-start-end":[{col:gt()}],"col-start":[{"col-start":st()}],"col-end":[{"col-end":st()}],"grid-rows":[{"grid-rows":et()}],"row-start-end":[{row:gt()}],"row-start":[{"row-start":st()}],"row-end":[{"row-end":st()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pt()}],"auto-rows":[{"auto-rows":pt()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[...bt(),"normal"]}],"justify-items":[{"justify-items":[...vt(),"normal"]}],"justify-self":[{"justify-self":["auto",...vt()]}],"align-content":[{content:["normal",...bt()]}],"align-items":[{items:[...vt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...vt(),{baseline:["","last"]}]}],"place-content":[{"place-content":bt()}],"place-items":[{"place-items":[...vt(),"baseline"]}],"place-self":[{"place-self":["auto",...vt()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],w:[{w:[g,"screen",...Q()]}],"min-w":[{"min-w":[g,"screen","none",...Q()]}],"max-w":[{"max-w":[g,"screen","none","prose",{screen:[h]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",r,ui,yn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,P,br]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pr,I]}],"font-family":[{font:[Kp,I,c]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,P,I]}],"line-clamp":[{"line-clamp":[yt,"none",P,br]}],leading:[{leading:[d,...K()]}],"list-image":[{"list-image":["none",P,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",P,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ct(),"wavy"]}],"text-decoration-thickness":[{decoration:[yt,"from-font","auto",P,yn]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[yt,"auto",P,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ot()}],"bg-repeat":[{bg:mt()}],"bg-size":[{bg:S()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zl,P,I],radial:["",P,I],conic:[Zl,P,I]},kp,Zp]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ct(),"hidden","none"]}],"divide-style":[{divide:[...ct(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...ct(),"none","hidden"]}],"outline-offset":[{"outline-offset":[yt,P,I]}],"outline-w":[{outline:["",yt,ui,yn]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",b,Ru,Mu]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",A,Ru,Mu]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[yt,yn]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",N,Ru,Mu]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[yt,P,I]}],"mix-blend":[{"mix-blend":[...ft(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ft()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[yt]}],"mask-image-linear-from-pos":[{"mask-linear-from":at()}],"mask-image-linear-to-pos":[{"mask-linear-to":at()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":at()}],"mask-image-t-to-pos":[{"mask-t-to":at()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":at()}],"mask-image-r-to-pos":[{"mask-r-to":at()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":at()}],"mask-image-b-to-pos":[{"mask-b-to":at()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":at()}],"mask-image-l-to-pos":[{"mask-l-to":at()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":at()}],"mask-image-x-to-pos":[{"mask-x-to":at()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":at()}],"mask-image-y-to-pos":[{"mask-y-to":at()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[P,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":at()}],"mask-image-radial-to-pos":[{"mask-radial-to":at()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[yt]}],"mask-image-conic-from-pos":[{"mask-conic-from":at()}],"mask-image-conic-to-pos":[{"mask-conic-to":at()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ot()}],"mask-repeat":[{mask:mt()}],"mask-size":[{mask:S()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",P,I]}],filter:[{filter:["","none",P,I]}],blur:[{blur:Gt()}],brightness:[{brightness:[yt,P,I]}],contrast:[{contrast:[yt,P,I]}],"drop-shadow":[{"drop-shadow":["","none",H,Ru,Mu]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",yt,P,I]}],"hue-rotate":[{"hue-rotate":[yt,P,I]}],invert:[{invert:["",yt,P,I]}],saturate:[{saturate:[yt,P,I]}],sepia:[{sepia:["",yt,P,I]}],"backdrop-filter":[{"backdrop-filter":["","none",P,I]}],"backdrop-blur":[{"backdrop-blur":Gt()}],"backdrop-brightness":[{"backdrop-brightness":[yt,P,I]}],"backdrop-contrast":[{"backdrop-contrast":[yt,P,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",yt,P,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[yt,P,I]}],"backdrop-invert":[{"backdrop-invert":["",yt,P,I]}],"backdrop-opacity":[{"backdrop-opacity":[yt,P,I]}],"backdrop-saturate":[{"backdrop-saturate":[yt,P,I]}],"backdrop-sepia":[{"backdrop-sepia":["",yt,P,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",P,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[yt,"initial",P,I]}],ease:[{ease:["linear","initial",O,P,I]}],delay:[{delay:[yt,P,I]}],animate:[{animate:["none",D,P,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,P,I]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:zt()}],"rotate-x":[{"rotate-x":zt()}],"rotate-y":[{"rotate-y":zt()}],"rotate-z":[{"rotate-z":zt()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[P,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:He()}],"translate-x":[{"translate-x":He()}],"translate-y":[{"translate-y":He()}],"translate-z":[{"translate-z":He()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P,I]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[yt,ui,yn,br]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ip=Rp(Fp);function Ur(...i){return Ip(Dh(i))}const Xu={STORAGE_KEYS:{QUICK_MENU_IS_ACTIVE:"quickMenuIsActive",QUICK_MESSAGES_IS_ACTIVE:"quickMessagesIsActive",QUICK_MESSAGES:"quickMessages",LOCAL_TRANSLATOR_TARGET_LANGUAGE:"localTranslatorTargetLanguage",TRANSLATOR_IS_ACTIVE:"translatorIsActive",UPDATE_NOTIFICATION_LAST_SHOWN:"updateNotificationLastShown",SPEECH_TO_TRANSLATE_IS_ACTIVE:"speechToTranslateIsActive",SPEECH_TO_TRANSLATE_TAB_ID:"speechToTranslateTabId",SUBTITLE_FONT_SIZE:"subtitleFontSize",SUBTITLE_FONT_COLOR:"subtitleFontColor",SUBTITLE_BG_COLOR:"subtitleBgColor",SELECTION_TRANSLATOR_IS_ACTIVE:"selectionTranslatorIsActive",SELECTION_TRANSLATOR_TARGET_LANGUAGE:"selectionTranslatorTargetLanguage",CHATUR_CLEAN_CHAT_IS_ACTIVE:"chaturCleanChatIsActive"},SPEECH_TO_TRANSLATE_CONFIG:{SOURCE_LANGUAGE:"es"},ERROR_MESSAGES:{SC_ELEMENTS_NOT_READY:"Some elements are not available yet.",QM_NOT_MESSAGES:"No messages found."},BG_MESSAGE_TYPE:{CHAT_MESSAGE:"CHAT_MESSAGE",INPUT_MESSAGE:"INPUT_MESSAGE",CHECK_EXT_UPLOAD:"CHECK_EXT_UPLOAD",SELECTION_MESSAGE:"SELECTION_MESSAGE"},APP_INFORMATION:{APP_NAME:"Redna Models",APP_NAME_SHORT:"Redna",APP_DIVISION:"Models",APP_PROVIDER:"Estrellas Webcam"},ESTRELLAS_WEB_BASEURL:{PRODUCTION:"https://www.estrellaswebcam.com",DEV:"http://localhost:4321"}};Object.freeze(Xu);var fh=Object.prototype.hasOwnProperty;function Tr(i,c){var r,o;if(i===c)return!0;if(i&&c&&(r=i.constructor)===c.constructor){if(r===Date)return i.getTime()===c.getTime();if(r===RegExp)return i.toString()===c.toString();if(r===Array){if((o=i.length)===c.length)for(;o--&&Tr(i[o],c[o]););return o===-1}if(!r||typeof i=="object"){o=0;for(r in i)if(fh.call(i,r)&&++o&&!fh.call(c,r)||!(r in c)||!Tr(i[r],c[r]))return!1;return Object.keys(c).length===o}}return i!==i&&c!==c}const Pp=new Error("request for lock canceled");var t0=function(i,c,r,o){function f(d){return d instanceof r?d:new r(function(h){h(d)})}return new(r||(r=Promise))(function(d,h){function g(b){try{y(o.next(b))}catch(A){h(A)}}function v(b){try{y(o.throw(b))}catch(A){h(A)}}function y(b){b.done?d(b.value):f(b.value).then(g,v)}y((o=o.apply(i,c||[])).next())})};class e0{constructor(c,r=Pp){this._value=c,this._cancelError=r,this._queue=[],this._weightedWaiters=[]}acquire(c=1,r=0){if(c<=0)throw new Error(`invalid weight ${c}: must be positive`);return new Promise((o,f)=>{const d={resolve:o,reject:f,weight:c,priority:r},h=Zh(this._queue,g=>r<=g.priority);h===-1&&c<=this._value?this._dispatchItem(d):this._queue.splice(h+1,0,d)})}runExclusive(c){return t0(this,arguments,void 0,function*(r,o=1,f=0){const[d,h]=yield this.acquire(o,f);try{return yield r(d)}finally{h()}})}waitForUnlock(c=1,r=0){if(c<=0)throw new Error(`invalid weight ${c}: must be positive`);return this._couldLockImmediately(c,r)?Promise.resolve():new Promise(o=>{this._weightedWaiters[c-1]||(this._weightedWaiters[c-1]=[]),l0(this._weightedWaiters[c-1],{resolve:o,priority:r})})}isLocked(){return this._value<=0}getValue(){return this._value}setValue(c){this._value=c,this._dispatchQueue()}release(c=1){if(c<=0)throw new Error(`invalid weight ${c}: must be positive`);this._value+=c,this._dispatchQueue()}cancel(){this._queue.forEach(c=>c.reject(this._cancelError)),this._queue=[]}_dispatchQueue(){for(this._drainUnlockWaiters();this._queue.length>0&&this._queue[0].weight<=this._value;)this._dispatchItem(this._queue.shift()),this._drainUnlockWaiters()}_dispatchItem(c){const r=this._value;this._value-=c.weight,c.resolve([r,this._newReleaser(c.weight)])}_newReleaser(c){let r=!1;return()=>{r||(r=!0,this.release(c))}}_drainUnlockWaiters(){if(this._queue.length===0)for(let c=this._value;c>0;c--){const r=this._weightedWaiters[c-1];r&&(r.forEach(o=>o.resolve()),this._weightedWaiters[c-1]=[])}else{const c=this._queue[0].priority;for(let r=this._value;r>0;r--){const o=this._weightedWaiters[r-1];if(!o)continue;const f=o.findIndex(d=>d.priority<=c);(f===-1?o:o.splice(0,f)).forEach(d=>d.resolve())}}}_couldLockImmediately(c,r){return(this._queue.length===0||this._queue[0].priority<r)&&c<=this._value}}function l0(i,c){const r=Zh(i,o=>c.priority<=o.priority);i.splice(r+1,0,c)}function Zh(i,c){for(let r=i.length-1;r>=0;r--)if(c(i[r]))return r;return-1}var n0=function(i,c,r,o){function f(d){return d instanceof r?d:new r(function(h){h(d)})}return new(r||(r=Promise))(function(d,h){function g(b){try{y(o.next(b))}catch(A){h(A)}}function v(b){try{y(o.throw(b))}catch(A){h(A)}}function y(b){b.done?d(b.value):f(b.value).then(g,v)}y((o=o.apply(i,c||[])).next())})};class a0{constructor(c){this._semaphore=new e0(1,c)}acquire(){return n0(this,arguments,void 0,function*(c=0){const[,r]=yield this._semaphore.acquire(1,c);return r})}runExclusive(c,r=0){return this._semaphore.runExclusive(()=>c(),1,r)}isLocked(){return this._semaphore.isLocked()}waitForUnlock(c=0){return this._semaphore.waitForUnlock(1,c)}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}}var zh,Ch;const Hu=((Ch=(zh=globalThis.browser)==null?void 0:zh.runtime)==null?void 0:Ch.id)==null?globalThis.chrome:globalThis.browser,i0=u0();function u0(){const i={local:Du("local"),session:Du("session"),sync:Du("sync"),managed:Du("managed")},c=x=>{const T=i[x];if(T==null){const O=Object.keys(i).join(", ");throw Error(`Invalid area "${x}". Options: ${O}`)}return T},r=x=>{const T=x.indexOf(":"),O=x.substring(0,T),D=x.substring(T+1);if(D==null)throw Error(`Storage key should be in the form of "area:key", but received "${x}"`);return{driverArea:O,driverKey:D,driver:c(O)}},o=x=>x+"$",f=(x,T)=>{const O={...x};return Object.entries(T).forEach(([D,B])=>{B==null?delete O[D]:O[D]=B}),O},d=(x,T)=>x??T??null,h=x=>typeof x=="object"&&!Array.isArray(x)?x:{},g=async(x,T,O)=>{const D=await x.getItem(T);return d(D,(O==null?void 0:O.fallback)??(O==null?void 0:O.defaultValue))},v=async(x,T)=>{const O=o(T),D=await x.getItem(O);return h(D)},y=async(x,T,O)=>{await x.setItem(T,O??null)},b=async(x,T,O)=>{const D=o(T),B=h(await x.getItem(D));await x.setItem(D,f(B,O))},A=async(x,T,O)=>{if(await x.removeItem(T),O!=null&&O.removeMeta){const D=o(T);await x.removeItem(D)}},N=async(x,T,O)=>{const D=o(T);if(O==null)await x.removeItem(D);else{const B=h(await x.getItem(D));[O].flat().forEach(V=>delete B[V]),await x.setItem(D,B)}},H=(x,T,O)=>x.watch(T,O);return{getItem:async(x,T)=>{const{driver:O,driverKey:D}=r(x);return await g(O,D,T)},getItems:async x=>{const T=new Map,O=new Map,D=[];x.forEach(V=>{let k,$;typeof V=="string"?k=V:"getValue"in V?(k=V.key,$={fallback:V.fallback}):(k=V.key,$=V.options),D.push(k);const{driverArea:Z,driverKey:K}=r(k),nt=T.get(Z)??[];T.set(Z,nt.concat(K)),O.set(k,$)});const B=new Map;return await Promise.all(Array.from(T.entries()).map(async([V,k])=>{(await i[V].getItems(k)).forEach(Z=>{const K=`${V}:${Z.key}`,nt=O.get(K),et=d(Z.value,(nt==null?void 0:nt.fallback)??(nt==null?void 0:nt.defaultValue));B.set(K,et)})})),D.map(V=>({key:V,value:B.get(V)}))},getMeta:async x=>{const{driver:T,driverKey:O}=r(x);return await v(T,O)},getMetas:async x=>{const T=x.map(B=>{const V=typeof B=="string"?B:B.key,{driverArea:k,driverKey:$}=r(V);return{key:V,driverArea:k,driverKey:$,driverMetaKey:o($)}}),O=T.reduce((B,V)=>{var k;return B[k=V.driverArea]??(B[k]=[]),B[V.driverArea].push(V),B},{}),D={};return await Promise.all(Object.entries(O).map(async([B,V])=>{const k=await Hu.storage[B].get(V.map($=>$.driverMetaKey));V.forEach($=>{D[$.key]=k[$.driverMetaKey]??{}})})),T.map(B=>({key:B.key,meta:D[B.key]}))},setItem:async(x,T)=>{const{driver:O,driverKey:D}=r(x);await y(O,D,T)},setItems:async x=>{const T={};x.forEach(O=>{const{driverArea:D,driverKey:B}=r("key"in O?O.key:O.item.key);T[D]??(T[D]=[]),T[D].push({key:B,value:O.value})}),await Promise.all(Object.entries(T).map(async([O,D])=>{await c(O).setItems(D)}))},setMeta:async(x,T)=>{const{driver:O,driverKey:D}=r(x);await b(O,D,T)},setMetas:async x=>{const T={};x.forEach(O=>{const{driverArea:D,driverKey:B}=r("key"in O?O.key:O.item.key);T[D]??(T[D]=[]),T[D].push({key:B,properties:O.meta})}),await Promise.all(Object.entries(T).map(async([O,D])=>{const B=c(O),V=D.map(({key:K})=>o(K));console.log(O,V);const k=await B.getItems(V),$=Object.fromEntries(k.map(({key:K,value:nt})=>[K,h(nt)])),Z=D.map(({key:K,properties:nt})=>{const et=o(K);return{key:et,value:f($[et]??{},nt)}});await B.setItems(Z)}))},removeItem:async(x,T)=>{const{driver:O,driverKey:D}=r(x);await A(O,D,T)},removeItems:async x=>{const T={};x.forEach(O=>{let D,B;typeof O=="string"?D=O:"getValue"in O?D=O.key:"item"in O?(D=O.item.key,B=O.options):(D=O.key,B=O.options);const{driverArea:V,driverKey:k}=r(D);T[V]??(T[V]=[]),T[V].push(k),B!=null&&B.removeMeta&&T[V].push(o(k))}),await Promise.all(Object.entries(T).map(async([O,D])=>{await c(O).removeItems(D)}))},clear:async x=>{await c(x).clear()},removeMeta:async(x,T)=>{const{driver:O,driverKey:D}=r(x);await N(O,D,T)},snapshot:async(x,T)=>{var B;const D=await c(x).snapshot();return(B=T==null?void 0:T.excludeKeys)==null||B.forEach(V=>{delete D[V],delete D[o(V)]}),D},restoreSnapshot:async(x,T)=>{await c(x).restoreSnapshot(T)},watch:(x,T)=>{const{driver:O,driverKey:D}=r(x);return H(O,D,T)},unwatch(){Object.values(i).forEach(x=>{x.unwatch()})},defineItem:(x,T)=>{const{driver:O,driverKey:D}=r(x),{version:B=1,migrations:V={}}=T??{};if(B<1)throw Error("Storage item version cannot be less than 1. Initial versions should be set to 1, not 0.");const k=async()=>{var C;const et=o(D),[{value:gt},{value:st}]=await O.getItems([D,et]);if(gt==null)return;const pt=(st==null?void 0:st.v)??1;if(pt>B)throw Error(`Version downgrade detected (v${pt} -> v${B}) for "${x}"`);if(pt===B)return;console.debug(`[@wxt-dev/storage] Running storage migration for ${x}: v${pt} -> v${B}`);const bt=Array.from({length:B-pt},(Q,L)=>pt+L+1);let vt=gt;for(const Q of bt)try{vt=await((C=V==null?void 0:V[Q])==null?void 0:C.call(V,vt))??vt}catch(L){throw new c0(x,Q,{cause:L})}await O.setItems([{key:D,value:vt},{key:et,value:{...st,v:B}}]),console.debug(`[@wxt-dev/storage] Storage migration completed for ${x} v${B}`,{migratedValue:vt})},$=(T==null?void 0:T.migrations)==null?Promise.resolve():k().catch(et=>{console.error(`[@wxt-dev/storage] Migration failed for ${x}`,et)}),Z=new a0,K=()=>(T==null?void 0:T.fallback)??(T==null?void 0:T.defaultValue)??null,nt=()=>Z.runExclusive(async()=>{const et=await O.getItem(D);if(et!=null||(T==null?void 0:T.init)==null)return et;const gt=await T.init();return await O.setItem(D,gt),gt});return $.then(nt),{key:x,get defaultValue(){return K()},get fallback(){return K()},getValue:async()=>(await $,T!=null&&T.init?await nt():await g(O,D,T)),getMeta:async()=>(await $,await v(O,D)),setValue:async et=>(await $,await y(O,D,et)),setMeta:async et=>(await $,await b(O,D,et)),removeValue:async et=>(await $,await A(O,D,et)),removeMeta:async et=>(await $,await N(O,D,et)),watch:et=>H(O,D,(gt,st)=>et(gt??K(),st??K())),migrate:k}}}}function Du(i){const c=()=>{if(Hu.runtime==null)throw Error(["'wxt/storage' must be loaded in a web extension environment",`
 - If thrown during a build, see https://github.com/wxt-dev/wxt/issues/371`,` - If thrown during tests, mock 'wxt/browser' correctly. See https://wxt.dev/guide/go-further/testing.html
`].join(`
`));if(Hu.storage==null)throw Error("You must add the 'storage' permission to your manifest to use 'wxt/storage'");const o=Hu.storage[i];if(o==null)throw Error(`"browser.storage.${i}" is undefined`);return o},r=new Set;return{getItem:async o=>(await c().get(o))[o],getItems:async o=>{const f=await c().get(o);return o.map(d=>({key:d,value:f[d]??null}))},setItem:async(o,f)=>{f==null?await c().remove(o):await c().set({[o]:f})},setItems:async o=>{const f=o.reduce((d,{key:h,value:g})=>(d[h]=g,d),{});await c().set(f)},removeItem:async o=>{await c().remove(o)},removeItems:async o=>{await c().remove(o)},clear:async()=>{await c().clear()},snapshot:async()=>await c().get(),restoreSnapshot:async o=>{await c().set(o)},watch(o,f){const d=h=>{const g=h[o];g!=null&&(Tr(g.newValue,g.oldValue)||f(g.newValue??null,g.oldValue??null))};return c().onChanged.addListener(d),r.add(d),()=>{c().onChanged.removeListener(d),r.delete(d)}},unwatch(){r.forEach(o=>{c().onChanged.removeListener(o)}),r.clear()}}}class c0 extends Error{constructor(c,r,o){super(`v${r} migration failed for "${c}"`,o),this.key=c,this.version=r}}const Hr=(i,c)=>{const r=i0.defineItem(`local:${i}`,{fallback:c});return()=>({setItem:async o=>{await r.setValue(o)},getItem:async()=>await r.getValue(),watchItem:o=>{r.watch(f=>{o(f)})}})},P1=Hr(Xu.STORAGE_KEYS.SPEECH_TO_TRANSLATE_IS_ACTIVE,!1),tS=Hr(Xu.STORAGE_KEYS.SPEECH_TO_TRANSLATE_TAB_ID,null);var Lr=Mh();const o0=Mr(Lr);function dh(i,c){if(typeof i=="function")return i(c);i!=null&&(i.current=c)}function jr(...i){return c=>{let r=!1;const o=i.map(f=>{const d=dh(f,c);return!r&&typeof d=="function"&&(r=!0),d});if(r)return()=>{for(let f=0;f<o.length;f++){const d=o[f];typeof d=="function"?d():dh(i[f],null)}}}}function gn(...i){return M.useCallback(jr(...i),i)}function r0(i){const c=s0(i),r=M.forwardRef((o,f)=>{const{children:d,...h}=o,g=M.Children.toArray(d),v=g.find(d0);if(v){const y=v.props.children,b=g.map(A=>A===v?M.Children.count(y)>1?M.Children.only(null):M.isValidElement(y)?y.props.children:null:A);return it.jsx(c,{...h,ref:f,children:M.isValidElement(y)?M.cloneElement(y,void 0,b):null})}return it.jsx(c,{...h,ref:f,children:d})});return r.displayName=`${i}.Slot`,r}function s0(i){const c=M.forwardRef((r,o)=>{const{children:f,...d}=r;if(M.isValidElement(f)){const h=h0(f),g=m0(d,f.props);return f.type!==M.Fragment&&(g.ref=o?jr(o,h):h),M.cloneElement(f,g)}return M.Children.count(f)>1?M.Children.only(null):null});return c.displayName=`${i}.SlotClone`,c}var Kh=Symbol("radix.slottable");function f0(i){const c=({children:r})=>it.jsx(it.Fragment,{children:r});return c.displayName=`${i}.Slottable`,c.__radixId=Kh,c}function d0(i){return M.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===Kh}function m0(i,c){const r={...c};for(const o in c){const f=i[o],d=c[o];/^on[A-Z]/.test(o)?f&&d?r[o]=(...g)=>{const v=d(...g);return f(...g),v}:f&&(r[o]=f):o==="style"?r[o]={...f,...d}:o==="className"&&(r[o]=[f,d].filter(Boolean).join(" "))}return{...i,...r}}function h0(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var y0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$l=y0.reduce((i,c)=>{const r=r0(`Primitive.${c}`),o=M.forwardRef((f,d)=>{const{asChild:h,...g}=f,v=h?r:c;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),it.jsx(v,{...g,ref:d})});return o.displayName=`Primitive.${c}`,{...i,[c]:o}},{});function v0(i,c){i&&Lr.flushSync(()=>i.dispatchEvent(c))}var Kl=globalThis!=null&&globalThis.document?M.useLayoutEffect:()=>{};function g0(i,c){return M.useReducer((r,o)=>c[r][o]??r,i)}var Br=i=>{const{present:c,children:r}=i,o=p0(c),f=typeof r=="function"?r({present:o.isPresent}):M.Children.only(r),d=gn(o.ref,b0(f));return typeof r=="function"||o.isPresent?M.cloneElement(f,{ref:d}):null};Br.displayName="Presence";function p0(i){const[c,r]=M.useState(),o=M.useRef(null),f=M.useRef(i),d=M.useRef("none"),h=i?"mounted":"unmounted",[g,v]=g0(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return M.useEffect(()=>{const y=Nu(o.current);d.current=g==="mounted"?y:"none"},[g]),Kl(()=>{const y=o.current,b=f.current;if(b!==i){const N=d.current,H=Nu(y);i?v("MOUNT"):H==="none"||(y==null?void 0:y.display)==="none"?v("UNMOUNT"):v(b&&N!==H?"ANIMATION_OUT":"UNMOUNT"),f.current=i}},[i,v]),Kl(()=>{if(c){let y;const b=c.ownerDocument.defaultView??window,A=H=>{const x=Nu(o.current).includes(CSS.escape(H.animationName));if(H.target===c&&x&&(v("ANIMATION_END"),!f.current)){const T=c.style.animationFillMode;c.style.animationFillMode="forwards",y=b.setTimeout(()=>{c.style.animationFillMode==="forwards"&&(c.style.animationFillMode=T)})}},N=H=>{H.target===c&&(d.current=Nu(o.current))};return c.addEventListener("animationstart",N),c.addEventListener("animationcancel",A),c.addEventListener("animationend",A),()=>{b.clearTimeout(y),c.removeEventListener("animationstart",N),c.removeEventListener("animationcancel",A),c.removeEventListener("animationend",A)}}else v("ANIMATION_END")},[c,v]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:M.useCallback(y=>{o.current=y?getComputedStyle(y):null,r(y)},[])}}function Nu(i){return(i==null?void 0:i.animationName)||"none"}function b0(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}function eS(i,c){const r=M.createContext(c),o=d=>{const{children:h,...g}=d,v=M.useMemo(()=>g,Object.values(g));return it.jsx(r.Provider,{value:v,children:h})};o.displayName=i+"Provider";function f(d){const h=M.useContext(r);if(h)return h;if(c!==void 0)return c;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[o,f]}function Jh(i,c=[]){let r=[];function o(d,h){const g=M.createContext(h),v=r.length;r=[...r,h];const y=A=>{var O;const{scope:N,children:H,...X}=A,x=((O=N==null?void 0:N[i])==null?void 0:O[v])||g,T=M.useMemo(()=>X,Object.values(X));return it.jsx(x.Provider,{value:T,children:H})};y.displayName=d+"Provider";function b(A,N){var x;const H=((x=N==null?void 0:N[i])==null?void 0:x[v])||g,X=M.useContext(H);if(X)return X;if(h!==void 0)return h;throw new Error(`\`${A}\` must be used within \`${d}\``)}return[y,b]}const f=()=>{const d=r.map(h=>M.createContext(h));return function(g){const v=(g==null?void 0:g[i])||d;return M.useMemo(()=>({[`__scope${i}`]:{...g,[i]:v}}),[g,v])}};return f.scopeName=i,[o,S0(f,...c)]}function S0(...i){const c=i[0];if(i.length===1)return c;const r=()=>{const o=i.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(d){const h=o.reduce((g,{useScope:v,scopeName:y})=>{const A=v(d)[`__scope${y}`];return{...g,...A}},{});return M.useMemo(()=>({[`__scope${c.scopeName}`]:h}),[h])}};return r.scopeName=c.scopeName,r}function Qu(i){const c=M.useRef(i);return M.useEffect(()=>{c.current=i}),M.useMemo(()=>(...r)=>{var o;return(o=c.current)==null?void 0:o.call(c,...r)},[])}function yl(i,c,{checkForDefaultPrevented:r=!0}={}){return function(f){if(i==null||i(f),r===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}function E0(i,c=globalThis==null?void 0:globalThis.document){const r=Qu(i);M.useEffect(()=>{const o=f=>{f.key==="Escape"&&r(f)};return c.addEventListener("keydown",o,{capture:!0}),()=>c.removeEventListener("keydown",o,{capture:!0})},[r,c])}var A0="DismissableLayer",xr="dismissableLayer.update",T0="dismissableLayer.pointerDownOutside",x0="dismissableLayer.focusOutside",mh,kh=M.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$h=M.forwardRef((i,c)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:g,...v}=i,y=M.useContext(kh),[b,A]=M.useState(null),N=(b==null?void 0:b.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,H]=M.useState({}),X=gn(c,Z=>A(Z)),x=Array.from(y.layers),[T]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),O=x.indexOf(T),D=b?x.indexOf(b):-1,B=y.layersWithOutsidePointerEventsDisabled.size>0,V=D>=O,k=w0(Z=>{const K=Z.target,nt=[...y.branches].some(et=>et.contains(K));!V||nt||(f==null||f(Z),h==null||h(Z),Z.defaultPrevented||g==null||g())},N),$=z0(Z=>{const K=Z.target;[...y.branches].some(et=>et.contains(K))||(d==null||d(Z),h==null||h(Z),Z.defaultPrevented||g==null||g())},N);return E0(Z=>{D===y.layers.size-1&&(o==null||o(Z),!Z.defaultPrevented&&g&&(Z.preventDefault(),g()))},N),M.useEffect(()=>{if(b)return r&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(mh=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(b)),y.layers.add(b),hh(),()=>{r&&y.layersWithOutsidePointerEventsDisabled.size===1&&(N.body.style.pointerEvents=mh)}},[b,N,r,y]),M.useEffect(()=>()=>{b&&(y.layers.delete(b),y.layersWithOutsidePointerEventsDisabled.delete(b),hh())},[b,y]),M.useEffect(()=>{const Z=()=>H({});return document.addEventListener(xr,Z),()=>document.removeEventListener(xr,Z)},[]),it.jsx($l.div,{...v,ref:X,style:{pointerEvents:B?V?"auto":"none":void 0,...i.style},onFocusCapture:yl(i.onFocusCapture,$.onFocusCapture),onBlurCapture:yl(i.onBlurCapture,$.onBlurCapture),onPointerDownCapture:yl(i.onPointerDownCapture,k.onPointerDownCapture)})});$h.displayName=A0;var _0="DismissableLayerBranch",O0=M.forwardRef((i,c)=>{const r=M.useContext(kh),o=M.useRef(null),f=gn(c,o);return M.useEffect(()=>{const d=o.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),it.jsx($l.div,{...i,ref:f})});O0.displayName=_0;function w0(i,c=globalThis==null?void 0:globalThis.document){const r=Qu(i),o=M.useRef(!1),f=M.useRef(()=>{});return M.useEffect(()=>{const d=g=>{if(g.target&&!o.current){let v=function(){Wh(T0,r,y,{discrete:!0})};const y={originalEvent:g};g.pointerType==="touch"?(c.removeEventListener("click",f.current),f.current=v,c.addEventListener("click",f.current,{once:!0})):v()}else c.removeEventListener("click",f.current);o.current=!1},h=window.setTimeout(()=>{c.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(h),c.removeEventListener("pointerdown",d),c.removeEventListener("click",f.current)}},[c,r]),{onPointerDownCapture:()=>o.current=!0}}function z0(i,c=globalThis==null?void 0:globalThis.document){const r=Qu(i),o=M.useRef(!1);return M.useEffect(()=>{const f=d=>{d.target&&!o.current&&Wh(x0,r,{originalEvent:d},{discrete:!1})};return c.addEventListener("focusin",f),()=>c.removeEventListener("focusin",f)},[c,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function hh(){const i=new CustomEvent(xr);document.dispatchEvent(i)}function Wh(i,c,r,{discrete:o}){const f=r.originalEvent.target,d=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:r});c&&f.addEventListener(i,c,{once:!0}),o?v0(f,d):f.dispatchEvent(d)}var C0=Dr[" useId ".trim().toString()]||(()=>{}),M0=0;function R0(i){const[c,r]=M.useState(C0());return Kl(()=>{r(o=>o??String(M0++))},[i]),i||(c?`radix-${c}`:"")}const D0=["top","right","bottom","left"],Jl=Math.min,Ae=Math.max,Bu=Math.round,Uu=Math.floor,Je=i=>({x:i,y:i}),N0={left:"right",right:"left",bottom:"top",top:"bottom"},U0={start:"end",end:"start"};function _r(i,c,r){return Ae(i,Jl(c,r))}function vl(i,c){return typeof i=="function"?i(c):i}function gl(i){return i.split("-")[0]}function oa(i){return i.split("-")[1]}function qr(i){return i==="x"?"y":"x"}function Gr(i){return i==="y"?"height":"width"}const H0=new Set(["top","bottom"]);function Ke(i){return H0.has(gl(i))?"y":"x"}function Yr(i){return qr(Ke(i))}function L0(i,c,r){r===void 0&&(r=!1);const o=oa(i),f=Yr(i),d=Gr(f);let h=f==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return c.reference[d]>c.floating[d]&&(h=qu(h)),[h,qu(h)]}function j0(i){const c=qu(i);return[Or(i),c,Or(c)]}function Or(i){return i.replace(/start|end/g,c=>U0[c])}const yh=["left","right"],vh=["right","left"],B0=["top","bottom"],q0=["bottom","top"];function G0(i,c,r){switch(i){case"top":case"bottom":return r?c?vh:yh:c?yh:vh;case"left":case"right":return c?B0:q0;default:return[]}}function Y0(i,c,r,o){const f=oa(i);let d=G0(gl(i),r==="start",o);return f&&(d=d.map(h=>h+"-"+f),c&&(d=d.concat(d.map(Or)))),d}function qu(i){return i.replace(/left|right|bottom|top/g,c=>N0[c])}function V0(i){return{top:0,right:0,bottom:0,left:0,...i}}function Fh(i){return typeof i!="number"?V0(i):{top:i,right:i,bottom:i,left:i}}function Gu(i){const{x:c,y:r,width:o,height:f}=i;return{width:o,height:f,top:r,left:c,right:c+o,bottom:r+f,x:c,y:r}}function gh(i,c,r){let{reference:o,floating:f}=i;const d=Ke(c),h=Yr(c),g=Gr(h),v=gl(c),y=d==="y",b=o.x+o.width/2-f.width/2,A=o.y+o.height/2-f.height/2,N=o[g]/2-f[g]/2;let H;switch(v){case"top":H={x:b,y:o.y-f.height};break;case"bottom":H={x:b,y:o.y+o.height};break;case"right":H={x:o.x+o.width,y:A};break;case"left":H={x:o.x-f.width,y:A};break;default:H={x:o.x,y:o.y}}switch(oa(c)){case"start":H[h]-=N*(r&&y?-1:1);break;case"end":H[h]+=N*(r&&y?-1:1);break}return H}const X0=async(i,c,r)=>{const{placement:o="bottom",strategy:f="absolute",middleware:d=[],platform:h}=r,g=d.filter(Boolean),v=await(h.isRTL==null?void 0:h.isRTL(c));let y=await h.getElementRects({reference:i,floating:c,strategy:f}),{x:b,y:A}=gh(y,o,v),N=o,H={},X=0;for(let x=0;x<g.length;x++){const{name:T,fn:O}=g[x],{x:D,y:B,data:V,reset:k}=await O({x:b,y:A,initialPlacement:o,placement:N,strategy:f,middlewareData:H,rects:y,platform:h,elements:{reference:i,floating:c}});b=D??b,A=B??A,H={...H,[T]:{...H[T],...V}},k&&X<=50&&(X++,typeof k=="object"&&(k.placement&&(N=k.placement),k.rects&&(y=k.rects===!0?await h.getElementRects({reference:i,floating:c,strategy:f}):k.rects),{x:b,y:A}=gh(y,N,v)),x=-1)}return{x:b,y:A,placement:N,strategy:f,middlewareData:H}};async function ci(i,c){var r;c===void 0&&(c={});const{x:o,y:f,platform:d,rects:h,elements:g,strategy:v}=i,{boundary:y="clippingAncestors",rootBoundary:b="viewport",elementContext:A="floating",altBoundary:N=!1,padding:H=0}=vl(c,i),X=Fh(H),T=g[N?A==="floating"?"reference":"floating":A],O=Gu(await d.getClippingRect({element:(r=await(d.isElement==null?void 0:d.isElement(T)))==null||r?T:T.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(g.floating)),boundary:y,rootBoundary:b,strategy:v})),D=A==="floating"?{x:o,y:f,width:h.floating.width,height:h.floating.height}:h.reference,B=await(d.getOffsetParent==null?void 0:d.getOffsetParent(g.floating)),V=await(d.isElement==null?void 0:d.isElement(B))?await(d.getScale==null?void 0:d.getScale(B))||{x:1,y:1}:{x:1,y:1},k=Gu(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:D,offsetParent:B,strategy:v}):D);return{top:(O.top-k.top+X.top)/V.y,bottom:(k.bottom-O.bottom+X.bottom)/V.y,left:(O.left-k.left+X.left)/V.x,right:(k.right-O.right+X.right)/V.x}}const Q0=i=>({name:"arrow",options:i,async fn(c){const{x:r,y:o,placement:f,rects:d,platform:h,elements:g,middlewareData:v}=c,{element:y,padding:b=0}=vl(i,c)||{};if(y==null)return{};const A=Fh(b),N={x:r,y:o},H=Yr(f),X=Gr(H),x=await h.getDimensions(y),T=H==="y",O=T?"top":"left",D=T?"bottom":"right",B=T?"clientHeight":"clientWidth",V=d.reference[X]+d.reference[H]-N[H]-d.floating[X],k=N[H]-d.reference[H],$=await(h.getOffsetParent==null?void 0:h.getOffsetParent(y));let Z=$?$[B]:0;(!Z||!await(h.isElement==null?void 0:h.isElement($)))&&(Z=g.floating[B]||d.floating[X]);const K=V/2-k/2,nt=Z/2-x[X]/2-1,et=Jl(A[O],nt),gt=Jl(A[D],nt),st=et,pt=Z-x[X]-gt,bt=Z/2-x[X]/2+K,vt=_r(st,bt,pt),C=!v.arrow&&oa(f)!=null&&bt!==vt&&d.reference[X]/2-(bt<st?et:gt)-x[X]/2<0,Q=C?bt<st?bt-st:bt-pt:0;return{[H]:N[H]+Q,data:{[H]:vt,centerOffset:bt-vt-Q,...C&&{alignmentOffset:Q}},reset:C}}}),Z0=function(i){return i===void 0&&(i={}),{name:"flip",options:i,async fn(c){var r,o;const{placement:f,middlewareData:d,rects:h,initialPlacement:g,platform:v,elements:y}=c,{mainAxis:b=!0,crossAxis:A=!0,fallbackPlacements:N,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:X="none",flipAlignment:x=!0,...T}=vl(i,c);if((r=d.arrow)!=null&&r.alignmentOffset)return{};const O=gl(f),D=Ke(g),B=gl(g)===g,V=await(v.isRTL==null?void 0:v.isRTL(y.floating)),k=N||(B||!x?[qu(g)]:j0(g)),$=X!=="none";!N&&$&&k.push(...Y0(g,x,X,V));const Z=[g,...k],K=await ci(c,T),nt=[];let et=((o=d.flip)==null?void 0:o.overflows)||[];if(b&&nt.push(K[O]),A){const bt=L0(f,h,V);nt.push(K[bt[0]],K[bt[1]])}if(et=[...et,{placement:f,overflows:nt}],!nt.every(bt=>bt<=0)){var gt,st;const bt=(((gt=d.flip)==null?void 0:gt.index)||0)+1,vt=Z[bt];if(vt&&(!(A==="alignment"?D!==Ke(vt):!1)||et.every(L=>L.overflows[0]>0&&Ke(L.placement)===D)))return{data:{index:bt,overflows:et},reset:{placement:vt}};let C=(st=et.filter(Q=>Q.overflows[0]<=0).sort((Q,L)=>Q.overflows[1]-L.overflows[1])[0])==null?void 0:st.placement;if(!C)switch(H){case"bestFit":{var pt;const Q=(pt=et.filter(L=>{if($){const ot=Ke(L.placement);return ot===D||ot==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(ot=>ot>0).reduce((ot,mt)=>ot+mt,0)]).sort((L,ot)=>L[1]-ot[1])[0])==null?void 0:pt[0];Q&&(C=Q);break}case"initialPlacement":C=g;break}if(f!==C)return{reset:{placement:C}}}return{}}}};function ph(i,c){return{top:i.top-c.height,right:i.right-c.width,bottom:i.bottom-c.height,left:i.left-c.width}}function bh(i){return D0.some(c=>i[c]>=0)}const K0=function(i){return i===void 0&&(i={}),{name:"hide",options:i,async fn(c){const{rects:r}=c,{strategy:o="referenceHidden",...f}=vl(i,c);switch(o){case"referenceHidden":{const d=await ci(c,{...f,elementContext:"reference"}),h=ph(d,r.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:bh(h)}}}case"escaped":{const d=await ci(c,{...f,altBoundary:!0}),h=ph(d,r.floating);return{data:{escapedOffsets:h,escaped:bh(h)}}}default:return{}}}}},Ih=new Set(["left","top"]);async function J0(i,c){const{placement:r,platform:o,elements:f}=i,d=await(o.isRTL==null?void 0:o.isRTL(f.floating)),h=gl(r),g=oa(r),v=Ke(r)==="y",y=Ih.has(h)?-1:1,b=d&&v?-1:1,A=vl(c,i);let{mainAxis:N,crossAxis:H,alignmentAxis:X}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return g&&typeof X=="number"&&(H=g==="end"?X*-1:X),v?{x:H*b,y:N*y}:{x:N*y,y:H*b}}const k0=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(c){var r,o;const{x:f,y:d,placement:h,middlewareData:g}=c,v=await J0(c,i);return h===((r=g.offset)==null?void 0:r.placement)&&(o=g.arrow)!=null&&o.alignmentOffset?{}:{x:f+v.x,y:d+v.y,data:{...v,placement:h}}}}},$0=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(c){const{x:r,y:o,placement:f}=c,{mainAxis:d=!0,crossAxis:h=!1,limiter:g={fn:T=>{let{x:O,y:D}=T;return{x:O,y:D}}},...v}=vl(i,c),y={x:r,y:o},b=await ci(c,v),A=Ke(gl(f)),N=qr(A);let H=y[N],X=y[A];if(d){const T=N==="y"?"top":"left",O=N==="y"?"bottom":"right",D=H+b[T],B=H-b[O];H=_r(D,H,B)}if(h){const T=A==="y"?"top":"left",O=A==="y"?"bottom":"right",D=X+b[T],B=X-b[O];X=_r(D,X,B)}const x=g.fn({...c,[N]:H,[A]:X});return{...x,data:{x:x.x-r,y:x.y-o,enabled:{[N]:d,[A]:h}}}}}},W0=function(i){return i===void 0&&(i={}),{options:i,fn(c){const{x:r,y:o,placement:f,rects:d,middlewareData:h}=c,{offset:g=0,mainAxis:v=!0,crossAxis:y=!0}=vl(i,c),b={x:r,y:o},A=Ke(f),N=qr(A);let H=b[N],X=b[A];const x=vl(g,c),T=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(v){const B=N==="y"?"height":"width",V=d.reference[N]-d.floating[B]+T.mainAxis,k=d.reference[N]+d.reference[B]-T.mainAxis;H<V?H=V:H>k&&(H=k)}if(y){var O,D;const B=N==="y"?"width":"height",V=Ih.has(gl(f)),k=d.reference[A]-d.floating[B]+(V&&((O=h.offset)==null?void 0:O[A])||0)+(V?0:T.crossAxis),$=d.reference[A]+d.reference[B]+(V?0:((D=h.offset)==null?void 0:D[A])||0)-(V?T.crossAxis:0);X<k?X=k:X>$&&(X=$)}return{[N]:H,[A]:X}}}},F0=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(c){var r,o;const{placement:f,rects:d,platform:h,elements:g}=c,{apply:v=()=>{},...y}=vl(i,c),b=await ci(c,y),A=gl(f),N=oa(f),H=Ke(f)==="y",{width:X,height:x}=d.floating;let T,O;A==="top"||A==="bottom"?(T=A,O=N===(await(h.isRTL==null?void 0:h.isRTL(g.floating))?"start":"end")?"left":"right"):(O=A,T=N==="end"?"top":"bottom");const D=x-b.top-b.bottom,B=X-b.left-b.right,V=Jl(x-b[T],D),k=Jl(X-b[O],B),$=!c.middlewareData.shift;let Z=V,K=k;if((r=c.middlewareData.shift)!=null&&r.enabled.x&&(K=B),(o=c.middlewareData.shift)!=null&&o.enabled.y&&(Z=D),$&&!N){const et=Ae(b.left,0),gt=Ae(b.right,0),st=Ae(b.top,0),pt=Ae(b.bottom,0);H?K=X-2*(et!==0||gt!==0?et+gt:Ae(b.left,b.right)):Z=x-2*(st!==0||pt!==0?st+pt:Ae(b.top,b.bottom))}await v({...c,availableWidth:K,availableHeight:Z});const nt=await h.getDimensions(g.floating);return X!==nt.width||x!==nt.height?{reset:{rects:!0}}:{}}}};function Zu(){return typeof window<"u"}function ra(i){return Ph(i)?(i.nodeName||"").toLowerCase():"#document"}function Te(i){var c;return(i==null||(c=i.ownerDocument)==null?void 0:c.defaultView)||window}function $e(i){var c;return(c=(Ph(i)?i.ownerDocument:i.document)||window.document)==null?void 0:c.documentElement}function Ph(i){return Zu()?i instanceof Node||i instanceof Te(i).Node:!1}function qe(i){return Zu()?i instanceof Element||i instanceof Te(i).Element:!1}function ke(i){return Zu()?i instanceof HTMLElement||i instanceof Te(i).HTMLElement:!1}function Sh(i){return!Zu()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Te(i).ShadowRoot}const I0=new Set(["inline","contents"]);function si(i){const{overflow:c,overflowX:r,overflowY:o,display:f}=Ge(i);return/auto|scroll|overlay|hidden|clip/.test(c+o+r)&&!I0.has(f)}const P0=new Set(["table","td","th"]);function tb(i){return P0.has(ra(i))}const eb=[":popover-open",":modal"];function Ku(i){return eb.some(c=>{try{return i.matches(c)}catch{return!1}})}const lb=["transform","translate","scale","rotate","perspective"],nb=["transform","translate","scale","rotate","perspective","filter"],ab=["paint","layout","strict","content"];function Vr(i){const c=Xr(),r=qe(i)?Ge(i):i;return lb.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!c&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!c&&(r.filter?r.filter!=="none":!1)||nb.some(o=>(r.willChange||"").includes(o))||ab.some(o=>(r.contain||"").includes(o))}function ib(i){let c=kl(i);for(;ke(c)&&!aa(c);){if(Vr(c))return c;if(Ku(c))return null;c=kl(c)}return null}function Xr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ub=new Set(["html","body","#document"]);function aa(i){return ub.has(ra(i))}function Ge(i){return Te(i).getComputedStyle(i)}function Ju(i){return qe(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function kl(i){if(ra(i)==="html")return i;const c=i.assignedSlot||i.parentNode||Sh(i)&&i.host||$e(i);return Sh(c)?c.host:c}function ty(i){const c=kl(i);return aa(c)?i.ownerDocument?i.ownerDocument.body:i.body:ke(c)&&si(c)?c:ty(c)}function oi(i,c,r){var o;c===void 0&&(c=[]),r===void 0&&(r=!0);const f=ty(i),d=f===((o=i.ownerDocument)==null?void 0:o.body),h=Te(f);if(d){const g=wr(h);return c.concat(h,h.visualViewport||[],si(f)?f:[],g&&r?oi(g):[])}return c.concat(f,oi(f,[],r))}function wr(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function ey(i){const c=Ge(i);let r=parseFloat(c.width)||0,o=parseFloat(c.height)||0;const f=ke(i),d=f?i.offsetWidth:r,h=f?i.offsetHeight:o,g=Bu(r)!==d||Bu(o)!==h;return g&&(r=d,o=h),{width:r,height:o,$:g}}function Qr(i){return qe(i)?i:i.contextElement}function na(i){const c=Qr(i);if(!ke(c))return Je(1);const r=c.getBoundingClientRect(),{width:o,height:f,$:d}=ey(c);let h=(d?Bu(r.width):r.width)/o,g=(d?Bu(r.height):r.height)/f;return(!h||!Number.isFinite(h))&&(h=1),(!g||!Number.isFinite(g))&&(g=1),{x:h,y:g}}const cb=Je(0);function ly(i){const c=Te(i);return!Xr()||!c.visualViewport?cb:{x:c.visualViewport.offsetLeft,y:c.visualViewport.offsetTop}}function ob(i,c,r){return c===void 0&&(c=!1),!r||c&&r!==Te(i)?!1:c}function vn(i,c,r,o){c===void 0&&(c=!1),r===void 0&&(r=!1);const f=i.getBoundingClientRect(),d=Qr(i);let h=Je(1);c&&(o?qe(o)&&(h=na(o)):h=na(i));const g=ob(d,r,o)?ly(d):Je(0);let v=(f.left+g.x)/h.x,y=(f.top+g.y)/h.y,b=f.width/h.x,A=f.height/h.y;if(d){const N=Te(d),H=o&&qe(o)?Te(o):o;let X=N,x=wr(X);for(;x&&o&&H!==X;){const T=na(x),O=x.getBoundingClientRect(),D=Ge(x),B=O.left+(x.clientLeft+parseFloat(D.paddingLeft))*T.x,V=O.top+(x.clientTop+parseFloat(D.paddingTop))*T.y;v*=T.x,y*=T.y,b*=T.x,A*=T.y,v+=B,y+=V,X=Te(x),x=wr(X)}}return Gu({width:b,height:A,x:v,y})}function Zr(i,c){const r=Ju(i).scrollLeft;return c?c.left+r:vn($e(i)).left+r}function ny(i,c,r){r===void 0&&(r=!1);const o=i.getBoundingClientRect(),f=o.left+c.scrollLeft-(r?0:Zr(i,o)),d=o.top+c.scrollTop;return{x:f,y:d}}function rb(i){let{elements:c,rect:r,offsetParent:o,strategy:f}=i;const d=f==="fixed",h=$e(o),g=c?Ku(c.floating):!1;if(o===h||g&&d)return r;let v={scrollLeft:0,scrollTop:0},y=Je(1);const b=Je(0),A=ke(o);if((A||!A&&!d)&&((ra(o)!=="body"||si(h))&&(v=Ju(o)),ke(o))){const H=vn(o);y=na(o),b.x=H.x+o.clientLeft,b.y=H.y+o.clientTop}const N=h&&!A&&!d?ny(h,v,!0):Je(0);return{width:r.width*y.x,height:r.height*y.y,x:r.x*y.x-v.scrollLeft*y.x+b.x+N.x,y:r.y*y.y-v.scrollTop*y.y+b.y+N.y}}function sb(i){return Array.from(i.getClientRects())}function fb(i){const c=$e(i),r=Ju(i),o=i.ownerDocument.body,f=Ae(c.scrollWidth,c.clientWidth,o.scrollWidth,o.clientWidth),d=Ae(c.scrollHeight,c.clientHeight,o.scrollHeight,o.clientHeight);let h=-r.scrollLeft+Zr(i);const g=-r.scrollTop;return Ge(o).direction==="rtl"&&(h+=Ae(c.clientWidth,o.clientWidth)-f),{width:f,height:d,x:h,y:g}}function db(i,c){const r=Te(i),o=$e(i),f=r.visualViewport;let d=o.clientWidth,h=o.clientHeight,g=0,v=0;if(f){d=f.width,h=f.height;const y=Xr();(!y||y&&c==="fixed")&&(g=f.offsetLeft,v=f.offsetTop)}return{width:d,height:h,x:g,y:v}}const mb=new Set(["absolute","fixed"]);function hb(i,c){const r=vn(i,!0,c==="fixed"),o=r.top+i.clientTop,f=r.left+i.clientLeft,d=ke(i)?na(i):Je(1),h=i.clientWidth*d.x,g=i.clientHeight*d.y,v=f*d.x,y=o*d.y;return{width:h,height:g,x:v,y}}function Eh(i,c,r){let o;if(c==="viewport")o=db(i,r);else if(c==="document")o=fb($e(i));else if(qe(c))o=hb(c,r);else{const f=ly(i);o={x:c.x-f.x,y:c.y-f.y,width:c.width,height:c.height}}return Gu(o)}function ay(i,c){const r=kl(i);return r===c||!qe(r)||aa(r)?!1:Ge(r).position==="fixed"||ay(r,c)}function yb(i,c){const r=c.get(i);if(r)return r;let o=oi(i,[],!1).filter(g=>qe(g)&&ra(g)!=="body"),f=null;const d=Ge(i).position==="fixed";let h=d?kl(i):i;for(;qe(h)&&!aa(h);){const g=Ge(h),v=Vr(h);!v&&g.position==="fixed"&&(f=null),(d?!v&&!f:!v&&g.position==="static"&&!!f&&mb.has(f.position)||si(h)&&!v&&ay(i,h))?o=o.filter(b=>b!==h):f=g,h=kl(h)}return c.set(i,o),o}function vb(i){let{element:c,boundary:r,rootBoundary:o,strategy:f}=i;const h=[...r==="clippingAncestors"?Ku(c)?[]:yb(c,this._c):[].concat(r),o],g=h[0],v=h.reduce((y,b)=>{const A=Eh(c,b,f);return y.top=Ae(A.top,y.top),y.right=Jl(A.right,y.right),y.bottom=Jl(A.bottom,y.bottom),y.left=Ae(A.left,y.left),y},Eh(c,g,f));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function gb(i){const{width:c,height:r}=ey(i);return{width:c,height:r}}function pb(i,c,r){const o=ke(c),f=$e(c),d=r==="fixed",h=vn(i,!0,d,c);let g={scrollLeft:0,scrollTop:0};const v=Je(0);function y(){v.x=Zr(f)}if(o||!o&&!d)if((ra(c)!=="body"||si(f))&&(g=Ju(c)),o){const H=vn(c,!0,d,c);v.x=H.x+c.clientLeft,v.y=H.y+c.clientTop}else f&&y();d&&!o&&f&&y();const b=f&&!o&&!d?ny(f,g):Je(0),A=h.left+g.scrollLeft-v.x-b.x,N=h.top+g.scrollTop-v.y-b.y;return{x:A,y:N,width:h.width,height:h.height}}function Sr(i){return Ge(i).position==="static"}function Ah(i,c){if(!ke(i)||Ge(i).position==="fixed")return null;if(c)return c(i);let r=i.offsetParent;return $e(i)===r&&(r=r.ownerDocument.body),r}function iy(i,c){const r=Te(i);if(Ku(i))return r;if(!ke(i)){let f=kl(i);for(;f&&!aa(f);){if(qe(f)&&!Sr(f))return f;f=kl(f)}return r}let o=Ah(i,c);for(;o&&tb(o)&&Sr(o);)o=Ah(o,c);return o&&aa(o)&&Sr(o)&&!Vr(o)?r:o||ib(i)||r}const bb=async function(i){const c=this.getOffsetParent||iy,r=this.getDimensions,o=await r(i.floating);return{reference:pb(i.reference,await c(i.floating),i.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Sb(i){return Ge(i).direction==="rtl"}const Eb={convertOffsetParentRelativeRectToViewportRelativeRect:rb,getDocumentElement:$e,getClippingRect:vb,getOffsetParent:iy,getElementRects:bb,getClientRects:sb,getDimensions:gb,getScale:na,isElement:qe,isRTL:Sb};function uy(i,c){return i.x===c.x&&i.y===c.y&&i.width===c.width&&i.height===c.height}function Ab(i,c){let r=null,o;const f=$e(i);function d(){var g;clearTimeout(o),(g=r)==null||g.disconnect(),r=null}function h(g,v){g===void 0&&(g=!1),v===void 0&&(v=1),d();const y=i.getBoundingClientRect(),{left:b,top:A,width:N,height:H}=y;if(g||c(),!N||!H)return;const X=Uu(A),x=Uu(f.clientWidth-(b+N)),T=Uu(f.clientHeight-(A+H)),O=Uu(b),B={rootMargin:-X+"px "+-x+"px "+-T+"px "+-O+"px",threshold:Ae(0,Jl(1,v))||1};let V=!0;function k($){const Z=$[0].intersectionRatio;if(Z!==v){if(!V)return h();Z?h(!1,Z):o=setTimeout(()=>{h(!1,1e-7)},1e3)}Z===1&&!uy(y,i.getBoundingClientRect())&&h(),V=!1}try{r=new IntersectionObserver(k,{...B,root:f.ownerDocument})}catch{r=new IntersectionObserver(k,B)}r.observe(i)}return h(!0),d}function Tb(i,c,r,o){o===void 0&&(o={});const{ancestorScroll:f=!0,ancestorResize:d=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:v=!1}=o,y=Qr(i),b=f||d?[...y?oi(y):[],...oi(c)]:[];b.forEach(O=>{f&&O.addEventListener("scroll",r,{passive:!0}),d&&O.addEventListener("resize",r)});const A=y&&g?Ab(y,r):null;let N=-1,H=null;h&&(H=new ResizeObserver(O=>{let[D]=O;D&&D.target===y&&H&&(H.unobserve(c),cancelAnimationFrame(N),N=requestAnimationFrame(()=>{var B;(B=H)==null||B.observe(c)})),r()}),y&&!v&&H.observe(y),H.observe(c));let X,x=v?vn(i):null;v&&T();function T(){const O=vn(i);x&&!uy(x,O)&&r(),x=O,X=requestAnimationFrame(T)}return r(),()=>{var O;b.forEach(D=>{f&&D.removeEventListener("scroll",r),d&&D.removeEventListener("resize",r)}),A==null||A(),(O=H)==null||O.disconnect(),H=null,v&&cancelAnimationFrame(X)}}const xb=k0,_b=$0,Ob=Z0,wb=F0,zb=K0,Th=Q0,Cb=W0,Mb=(i,c,r)=>{const o=new Map,f={platform:Eb,...r},d={...f.platform,_c:o};return X0(i,c,{...f,platform:d})};var Rb=typeof document<"u",Db=function(){},Lu=Rb?M.useLayoutEffect:Db;function Yu(i,c){if(i===c)return!0;if(typeof i!=typeof c)return!1;if(typeof i=="function"&&i.toString()===c.toString())return!0;let r,o,f;if(i&&c&&typeof i=="object"){if(Array.isArray(i)){if(r=i.length,r!==c.length)return!1;for(o=r;o--!==0;)if(!Yu(i[o],c[o]))return!1;return!0}if(f=Object.keys(i),r=f.length,r!==Object.keys(c).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(c,f[o]))return!1;for(o=r;o--!==0;){const d=f[o];if(!(d==="_owner"&&i.$$typeof)&&!Yu(i[d],c[d]))return!1}return!0}return i!==i&&c!==c}function cy(i){return typeof window>"u"?1:(i.ownerDocument.defaultView||window).devicePixelRatio||1}function xh(i,c){const r=cy(i);return Math.round(c*r)/r}function Er(i){const c=M.useRef(i);return Lu(()=>{c.current=i}),c}function Nb(i){i===void 0&&(i={});const{placement:c="bottom",strategy:r="absolute",middleware:o=[],platform:f,elements:{reference:d,floating:h}={},transform:g=!0,whileElementsMounted:v,open:y}=i,[b,A]=M.useState({x:0,y:0,strategy:r,placement:c,middlewareData:{},isPositioned:!1}),[N,H]=M.useState(o);Yu(N,o)||H(o);const[X,x]=M.useState(null),[T,O]=M.useState(null),D=M.useCallback(L=>{L!==$.current&&($.current=L,x(L))},[]),B=M.useCallback(L=>{L!==Z.current&&(Z.current=L,O(L))},[]),V=d||X,k=h||T,$=M.useRef(null),Z=M.useRef(null),K=M.useRef(b),nt=v!=null,et=Er(v),gt=Er(f),st=Er(y),pt=M.useCallback(()=>{if(!$.current||!Z.current)return;const L={placement:c,strategy:r,middleware:N};gt.current&&(L.platform=gt.current),Mb($.current,Z.current,L).then(ot=>{const mt={...ot,isPositioned:st.current!==!1};bt.current&&!Yu(K.current,mt)&&(K.current=mt,Lr.flushSync(()=>{A(mt)}))})},[N,c,r,gt,st]);Lu(()=>{y===!1&&K.current.isPositioned&&(K.current.isPositioned=!1,A(L=>({...L,isPositioned:!1})))},[y]);const bt=M.useRef(!1);Lu(()=>(bt.current=!0,()=>{bt.current=!1}),[]),Lu(()=>{if(V&&($.current=V),k&&(Z.current=k),V&&k){if(et.current)return et.current(V,k,pt);pt()}},[V,k,pt,et,nt]);const vt=M.useMemo(()=>({reference:$,floating:Z,setReference:D,setFloating:B}),[D,B]),C=M.useMemo(()=>({reference:V,floating:k}),[V,k]),Q=M.useMemo(()=>{const L={position:r,left:0,top:0};if(!C.floating)return L;const ot=xh(C.floating,b.x),mt=xh(C.floating,b.y);return g?{...L,transform:"translate("+ot+"px, "+mt+"px)",...cy(C.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ot,top:mt}},[r,g,C.floating,b.x,b.y]);return M.useMemo(()=>({...b,update:pt,refs:vt,elements:C,floatingStyles:Q}),[b,pt,vt,C,Q])}const Ub=i=>{function c(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:i,fn(r){const{element:o,padding:f}=typeof i=="function"?i(r):i;return o&&c(o)?o.current!=null?Th({element:o.current,padding:f}).fn(r):{}:o?Th({element:o,padding:f}).fn(r):{}}}},Hb=(i,c)=>({...xb(i),options:[i,c]}),Lb=(i,c)=>({..._b(i),options:[i,c]}),jb=(i,c)=>({...Cb(i),options:[i,c]}),Bb=(i,c)=>({...Ob(i),options:[i,c]}),qb=(i,c)=>({...wb(i),options:[i,c]}),Gb=(i,c)=>({...zb(i),options:[i,c]}),Yb=(i,c)=>({...Ub(i),options:[i,c]});var Vb="Arrow",oy=M.forwardRef((i,c)=>{const{children:r,width:o=10,height:f=5,...d}=i;return it.jsx($l.svg,{...d,ref:c,width:o,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:i.asChild?r:it.jsx("polygon",{points:"0,0 30,0 15,10"})})});oy.displayName=Vb;var Xb=oy;function Qb(i){const[c,r]=M.useState(void 0);return Kl(()=>{if(i){r({width:i.offsetWidth,height:i.offsetHeight});const o=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const d=f[0];let h,g;if("borderBoxSize"in d){const v=d.borderBoxSize,y=Array.isArray(v)?v[0]:v;h=y.inlineSize,g=y.blockSize}else h=i.offsetWidth,g=i.offsetHeight;r({width:h,height:g})});return o.observe(i,{box:"border-box"}),()=>o.unobserve(i)}else r(void 0)},[i]),c}var Kr="Popper",[ry,sy]=Jh(Kr),[Zb,fy]=ry(Kr),dy=i=>{const{__scopePopper:c,children:r}=i,[o,f]=M.useState(null);return it.jsx(Zb,{scope:c,anchor:o,onAnchorChange:f,children:r})};dy.displayName=Kr;var my="PopperAnchor",hy=M.forwardRef((i,c)=>{const{__scopePopper:r,virtualRef:o,...f}=i,d=fy(my,r),h=M.useRef(null),g=gn(c,h),v=M.useRef(null);return M.useEffect(()=>{const y=v.current;v.current=(o==null?void 0:o.current)||h.current,y!==v.current&&d.onAnchorChange(v.current)}),o?null:it.jsx($l.div,{...f,ref:g})});hy.displayName=my;var Jr="PopperContent",[Kb,Jb]=ry(Jr),yy=M.forwardRef((i,c)=>{var at,Gt,zt,fe,Ue,He;const{__scopePopper:r,side:o="bottom",sideOffset:f=0,align:d="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:v=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:A="partial",hideWhenDetached:N=!1,updatePositionStrategy:H="optimized",onPlaced:X,...x}=i,T=fy(Jr,r),[O,D]=M.useState(null),B=gn(c,pl=>D(pl)),[V,k]=M.useState(null),$=Qb(V),Z=($==null?void 0:$.width)??0,K=($==null?void 0:$.height)??0,nt=o+(d!=="center"?"-"+d:""),et=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},gt=Array.isArray(y)?y:[y],st=gt.length>0,pt={padding:et,boundary:gt.filter($b),altBoundary:st},{refs:bt,floatingStyles:vt,placement:C,isPositioned:Q,middlewareData:L}=Nb({strategy:"fixed",placement:nt,whileElementsMounted:(...pl)=>Tb(...pl,{animationFrame:H==="always"}),elements:{reference:T.anchor},middleware:[Hb({mainAxis:f+K,alignmentAxis:h}),v&&Lb({mainAxis:!0,crossAxis:!1,limiter:A==="partial"?jb():void 0,...pt}),v&&Bb({...pt}),qb({...pt,apply:({elements:pl,rects:Ye,availableWidth:sa,availableHeight:fa})=>{const{width:Wu,height:di}=Ye.reference,bl=pl.floating.style;bl.setProperty("--radix-popper-available-width",`${sa}px`),bl.setProperty("--radix-popper-available-height",`${fa}px`),bl.setProperty("--radix-popper-anchor-width",`${Wu}px`),bl.setProperty("--radix-popper-anchor-height",`${di}px`)}}),V&&Yb({element:V,padding:g}),Wb({arrowWidth:Z,arrowHeight:K}),N&&Gb({strategy:"referenceHidden",...pt})]}),[ot,mt]=py(C),S=Qu(X);Kl(()=>{Q&&(S==null||S())},[Q,S]);const G=(at=L.arrow)==null?void 0:at.x,J=(Gt=L.arrow)==null?void 0:Gt.y,W=((zt=L.arrow)==null?void 0:zt.centerOffset)!==0,[ct,ft]=M.useState();return Kl(()=>{O&&ft(window.getComputedStyle(O).zIndex)},[O]),it.jsx("div",{ref:bt.setFloating,"data-radix-popper-content-wrapper":"",style:{...vt,transform:Q?vt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ct,"--radix-popper-transform-origin":[(fe=L.transformOrigin)==null?void 0:fe.x,(Ue=L.transformOrigin)==null?void 0:Ue.y].join(" "),...((He=L.hide)==null?void 0:He.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:it.jsx(Kb,{scope:r,placedSide:ot,onArrowChange:k,arrowX:G,arrowY:J,shouldHideArrow:W,children:it.jsx($l.div,{"data-side":ot,"data-align":mt,...x,ref:B,style:{...x.style,animation:Q?void 0:"none"}})})})});yy.displayName=Jr;var vy="PopperArrow",kb={top:"bottom",right:"left",bottom:"top",left:"right"},gy=M.forwardRef(function(c,r){const{__scopePopper:o,...f}=c,d=Jb(vy,o),h=kb[d.placedSide];return it.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[h]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:it.jsx(Xb,{...f,ref:r,style:{...f.style,display:"block"}})})});gy.displayName=vy;function $b(i){return i!==null}var Wb=i=>({name:"transformOrigin",options:i,fn(c){var T,O,D;const{placement:r,rects:o,middlewareData:f}=c,h=((T=f.arrow)==null?void 0:T.centerOffset)!==0,g=h?0:i.arrowWidth,v=h?0:i.arrowHeight,[y,b]=py(r),A={start:"0%",center:"50%",end:"100%"}[b],N=(((O=f.arrow)==null?void 0:O.x)??0)+g/2,H=(((D=f.arrow)==null?void 0:D.y)??0)+v/2;let X="",x="";return y==="bottom"?(X=h?A:`${N}px`,x=`${-v}px`):y==="top"?(X=h?A:`${N}px`,x=`${o.floating.height+v}px`):y==="right"?(X=`${-v}px`,x=h?A:`${H}px`):y==="left"&&(X=`${o.floating.width+v}px`,x=h?A:`${H}px`),{data:{x:X,y:x}}}});function py(i){const[c,r="center"]=i.split("-");return[c,r]}var Fb=dy,Ib=hy,Pb=yy,t1=gy,e1="Portal",by=M.forwardRef((i,c)=>{var g;const{container:r,...o}=i,[f,d]=M.useState(!1);Kl(()=>d(!0),[]);const h=r||f&&((g=globalThis==null?void 0:globalThis.document)==null?void 0:g.body);return h?o0.createPortal(it.jsx($l.div,{...o,ref:c}),h):null});by.displayName=e1;var l1=Dr[" useInsertionEffect ".trim().toString()]||Kl;function n1({prop:i,defaultProp:c,onChange:r=()=>{},caller:o}){const[f,d,h]=a1({defaultProp:c,onChange:r}),g=i!==void 0,v=g?i:f;{const b=M.useRef(i!==void 0);M.useEffect(()=>{const A=b.current;A!==g&&console.warn(`${o} is changing from ${A?"controlled":"uncontrolled"} to ${g?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),b.current=g},[g,o])}const y=M.useCallback(b=>{var A;if(g){const N=i1(b)?b(i):b;N!==i&&((A=h.current)==null||A.call(h,N))}else d(b)},[g,i,d,h]);return[v,y]}function a1({defaultProp:i,onChange:c}){const[r,o]=M.useState(i),f=M.useRef(r),d=M.useRef(c);return l1(()=>{d.current=c},[c]),M.useEffect(()=>{var h;f.current!==r&&((h=d.current)==null||h.call(d,r),f.current=r)},[r,f]),[r,o,d]}function i1(i){return typeof i=="function"}var u1=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),c1="VisuallyHidden",Sy=M.forwardRef((i,c)=>it.jsx($l.span,{...i,ref:c,style:{...u1,...i.style}}));Sy.displayName=c1;var o1=Sy,[ku,lS]=Jh("Tooltip",[sy]),$u=sy(),Ey="TooltipProvider",r1=700,zr="tooltip.open",[s1,kr]=ku(Ey),Ay=i=>{const{__scopeTooltip:c,delayDuration:r=r1,skipDelayDuration:o=300,disableHoverableContent:f=!1,children:d}=i,h=M.useRef(!0),g=M.useRef(!1),v=M.useRef(0);return M.useEffect(()=>{const y=v.current;return()=>window.clearTimeout(y)},[]),it.jsx(s1,{scope:c,isOpenDelayedRef:h,delayDuration:r,onOpen:M.useCallback(()=>{window.clearTimeout(v.current),h.current=!1},[]),onClose:M.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>h.current=!0,o)},[o]),isPointerInTransitRef:g,onPointerInTransitChange:M.useCallback(y=>{g.current=y},[]),disableHoverableContent:f,children:d})};Ay.displayName=Ey;var ri="Tooltip",[f1,fi]=ku(ri),Ty=i=>{const{__scopeTooltip:c,children:r,open:o,defaultOpen:f,onOpenChange:d,disableHoverableContent:h,delayDuration:g}=i,v=kr(ri,i.__scopeTooltip),y=$u(c),[b,A]=M.useState(null),N=R0(),H=M.useRef(0),X=h??v.disableHoverableContent,x=g??v.delayDuration,T=M.useRef(!1),[O,D]=n1({prop:o,defaultProp:f??!1,onChange:Z=>{Z?(v.onOpen(),document.dispatchEvent(new CustomEvent(zr))):v.onClose(),d==null||d(Z)},caller:ri}),B=M.useMemo(()=>O?T.current?"delayed-open":"instant-open":"closed",[O]),V=M.useCallback(()=>{window.clearTimeout(H.current),H.current=0,T.current=!1,D(!0)},[D]),k=M.useCallback(()=>{window.clearTimeout(H.current),H.current=0,D(!1)},[D]),$=M.useCallback(()=>{window.clearTimeout(H.current),H.current=window.setTimeout(()=>{T.current=!0,D(!0),H.current=0},x)},[x,D]);return M.useEffect(()=>()=>{H.current&&(window.clearTimeout(H.current),H.current=0)},[]),it.jsx(Fb,{...y,children:it.jsx(f1,{scope:c,contentId:N,open:O,stateAttribute:B,trigger:b,onTriggerChange:A,onTriggerEnter:M.useCallback(()=>{v.isOpenDelayedRef.current?$():V()},[v.isOpenDelayedRef,$,V]),onTriggerLeave:M.useCallback(()=>{X?k():(window.clearTimeout(H.current),H.current=0)},[k,X]),onOpen:V,onClose:k,disableHoverableContent:X,children:r})})};Ty.displayName=ri;var Cr="TooltipTrigger",xy=M.forwardRef((i,c)=>{const{__scopeTooltip:r,...o}=i,f=fi(Cr,r),d=kr(Cr,r),h=$u(r),g=M.useRef(null),v=gn(c,g,f.onTriggerChange),y=M.useRef(!1),b=M.useRef(!1),A=M.useCallback(()=>y.current=!1,[]);return M.useEffect(()=>()=>document.removeEventListener("pointerup",A),[A]),it.jsx(Ib,{asChild:!0,...h,children:it.jsx($l.button,{"aria-describedby":f.open?f.contentId:void 0,"data-state":f.stateAttribute,...o,ref:v,onPointerMove:yl(i.onPointerMove,N=>{N.pointerType!=="touch"&&!b.current&&!d.isPointerInTransitRef.current&&(f.onTriggerEnter(),b.current=!0)}),onPointerLeave:yl(i.onPointerLeave,()=>{f.onTriggerLeave(),b.current=!1}),onPointerDown:yl(i.onPointerDown,()=>{f.open&&f.onClose(),y.current=!0,document.addEventListener("pointerup",A,{once:!0})}),onFocus:yl(i.onFocus,()=>{y.current||f.onOpen()}),onBlur:yl(i.onBlur,f.onClose),onClick:yl(i.onClick,f.onClose)})})});xy.displayName=Cr;var $r="TooltipPortal",[d1,m1]=ku($r,{forceMount:void 0}),_y=i=>{const{__scopeTooltip:c,forceMount:r,children:o,container:f}=i,d=fi($r,c);return it.jsx(d1,{scope:c,forceMount:r,children:it.jsx(Br,{present:r||d.open,children:it.jsx(by,{asChild:!0,container:f,children:o})})})};_y.displayName=$r;var ia="TooltipContent",Oy=M.forwardRef((i,c)=>{const r=m1(ia,i.__scopeTooltip),{forceMount:o=r.forceMount,side:f="top",...d}=i,h=fi(ia,i.__scopeTooltip);return it.jsx(Br,{present:o||h.open,children:h.disableHoverableContent?it.jsx(wy,{side:f,...d,ref:c}):it.jsx(h1,{side:f,...d,ref:c})})}),h1=M.forwardRef((i,c)=>{const r=fi(ia,i.__scopeTooltip),o=kr(ia,i.__scopeTooltip),f=M.useRef(null),d=gn(c,f),[h,g]=M.useState(null),{trigger:v,onClose:y}=r,b=f.current,{onPointerInTransitChange:A}=o,N=M.useCallback(()=>{g(null),A(!1)},[A]),H=M.useCallback((X,x)=>{const T=X.currentTarget,O={x:X.clientX,y:X.clientY},D=p1(O,T.getBoundingClientRect()),B=b1(O,D),V=S1(x.getBoundingClientRect()),k=A1([...B,...V]);g(k),A(!0)},[A]);return M.useEffect(()=>()=>N(),[N]),M.useEffect(()=>{if(v&&b){const X=T=>H(T,b),x=T=>H(T,v);return v.addEventListener("pointerleave",X),b.addEventListener("pointerleave",x),()=>{v.removeEventListener("pointerleave",X),b.removeEventListener("pointerleave",x)}}},[v,b,H,N]),M.useEffect(()=>{if(h){const X=x=>{const T=x.target,O={x:x.clientX,y:x.clientY},D=(v==null?void 0:v.contains(T))||(b==null?void 0:b.contains(T)),B=!E1(O,h);D?N():B&&(N(),y())};return document.addEventListener("pointermove",X),()=>document.removeEventListener("pointermove",X)}},[v,b,h,y,N]),it.jsx(wy,{...i,ref:d})}),[y1,v1]=ku(ri,{isInside:!1}),g1=f0("TooltipContent"),wy=M.forwardRef((i,c)=>{const{__scopeTooltip:r,children:o,"aria-label":f,onEscapeKeyDown:d,onPointerDownOutside:h,...g}=i,v=fi(ia,r),y=$u(r),{onClose:b}=v;return M.useEffect(()=>(document.addEventListener(zr,b),()=>document.removeEventListener(zr,b)),[b]),M.useEffect(()=>{if(v.trigger){const A=N=>{const H=N.target;H!=null&&H.contains(v.trigger)&&b()};return window.addEventListener("scroll",A,{capture:!0}),()=>window.removeEventListener("scroll",A,{capture:!0})}},[v.trigger,b]),it.jsx($h,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:A=>A.preventDefault(),onDismiss:b,children:it.jsxs(Pb,{"data-state":v.stateAttribute,...y,...g,ref:c,style:{...g.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[it.jsx(g1,{children:o}),it.jsx(y1,{scope:r,isInside:!0,children:it.jsx(o1,{id:v.contentId,role:"tooltip",children:f||o})})]})})});Oy.displayName=ia;var zy="TooltipArrow",Cy=M.forwardRef((i,c)=>{const{__scopeTooltip:r,...o}=i,f=$u(r);return v1(zy,r).isInside?null:it.jsx(t1,{...f,...o,ref:c})});Cy.displayName=zy;function p1(i,c){const r=Math.abs(c.top-i.y),o=Math.abs(c.bottom-i.y),f=Math.abs(c.right-i.x),d=Math.abs(c.left-i.x);switch(Math.min(r,o,f,d)){case d:return"left";case f:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function b1(i,c,r=5){const o=[];switch(c){case"top":o.push({x:i.x-r,y:i.y+r},{x:i.x+r,y:i.y+r});break;case"bottom":o.push({x:i.x-r,y:i.y-r},{x:i.x+r,y:i.y-r});break;case"left":o.push({x:i.x+r,y:i.y-r},{x:i.x+r,y:i.y+r});break;case"right":o.push({x:i.x-r,y:i.y-r},{x:i.x-r,y:i.y+r});break}return o}function S1(i){const{top:c,right:r,bottom:o,left:f}=i;return[{x:f,y:c},{x:r,y:c},{x:r,y:o},{x:f,y:o}]}function E1(i,c){const{x:r,y:o}=i;let f=!1;for(let d=0,h=c.length-1;d<c.length;h=d++){const g=c[d],v=c[h],y=g.x,b=g.y,A=v.x,N=v.y;b>o!=N>o&&r<(A-y)*(o-b)/(N-b)+y&&(f=!f)}return f}function A1(i){const c=i.slice();return c.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),T1(c)}function T1(i){if(i.length<=1)return i.slice();const c=[];for(let o=0;o<i.length;o++){const f=i[o];for(;c.length>=2;){const d=c[c.length-1],h=c[c.length-2];if((d.x-h.x)*(f.y-h.y)>=(d.y-h.y)*(f.x-h.x))c.pop();else break}c.push(f)}c.pop();const r=[];for(let o=i.length-1;o>=0;o--){const f=i[o];for(;r.length>=2;){const d=r[r.length-1],h=r[r.length-2];if((d.x-h.x)*(f.y-h.y)>=(d.y-h.y)*(f.x-h.x))r.pop();else break}r.push(f)}return r.pop(),c.length===1&&r.length===1&&c[0].x===r[0].x&&c[0].y===r[0].y?c:c.concat(r)}var x1=Ay,_1=Ty,O1=xy,w1=_y,z1=Oy,C1=Cy;function M1({delayDuration:i=0,...c}){return it.jsx(x1,{"data-slot":"tooltip-provider",delayDuration:i,...c})}function R1({...i}){return it.jsx(M1,{children:it.jsx(_1,{"data-slot":"tooltip",...i})})}function D1({...i}){return it.jsx(O1,{"data-slot":"tooltip-trigger",...i})}function N1({className:i,sideOffset:c=0,children:r,...o}){return it.jsx(w1,{children:it.jsxs(z1,{"data-slot":"tooltip-content",sideOffset:c,className:Ur("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md border border-accent bg-primary-foreground px-3 py-1.5 text-xs text-balance text-accent-foreground shadow-xl fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",i),...o,children:[r,it.jsx(C1,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] border-r border-b border-primary bg-primary-foreground fill-primary-foreground"})]})})}var U1=Symbol.for("react.lazy"),Vu=Dr[" use ".trim().toString()];function H1(i){return typeof i=="object"&&i!==null&&"then"in i}function My(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===U1&&"_payload"in i&&H1(i._payload)}function L1(i){const c=B1(i),r=M.forwardRef((o,f)=>{let{children:d,...h}=o;My(d)&&typeof Vu=="function"&&(d=Vu(d._payload));const g=M.Children.toArray(d),v=g.find(G1);if(v){const y=v.props.children,b=g.map(A=>A===v?M.Children.count(y)>1?M.Children.only(null):M.isValidElement(y)?y.props.children:null:A);return it.jsx(c,{...h,ref:f,children:M.isValidElement(y)?M.cloneElement(y,void 0,b):null})}return it.jsx(c,{...h,ref:f,children:d})});return r.displayName=`${i}.Slot`,r}var j1=L1("Slot");function B1(i){const c=M.forwardRef((r,o)=>{let{children:f,...d}=r;if(My(f)&&typeof Vu=="function"&&(f=Vu(f._payload)),M.isValidElement(f)){const h=V1(f),g=Y1(d,f.props);return f.type!==M.Fragment&&(g.ref=o?jr(o,h):h),M.cloneElement(f,g)}return M.Children.count(f)>1?M.Children.only(null):null});return c.displayName=`${i}.SlotClone`,c}var q1=Symbol("radix.slottable");function G1(i){return M.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===q1}function Y1(i,c){const r={...c};for(const o in c){const f=i[o],d=c[o];/^on[A-Z]/.test(o)?f&&d?r[o]=(...g)=>{const v=d(...g);return f(...g),v}:f&&(r[o]=f):o==="style"?r[o]={...f,...d}:o==="className"&&(r[o]=[f,d].filter(Boolean).join(" "))}return{...i,...r}}function V1(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}const _h=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Oh=Dh,X1=(i,c)=>r=>{var o;if((c==null?void 0:c.variants)==null)return Oh(i,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:f,defaultVariants:d}=c,h=Object.keys(f).map(y=>{const b=r==null?void 0:r[y],A=d==null?void 0:d[y];if(b===null)return null;const N=_h(b)||_h(A);return f[y][N]}),g=r&&Object.entries(r).reduce((y,b)=>{let[A,N]=b;return N===void 0||(y[A]=N),y},{}),v=c==null||(o=c.compoundVariants)===null||o===void 0?void 0:o.reduce((y,b)=>{let{class:A,className:N,...H}=b;return Object.entries(H).every(X=>{let[x,T]=X;return Array.isArray(T)?T.includes({...d,...g}[x]):{...d,...g}[x]===T})?[...y,A,N]:y},[]);return Oh(i,h,v,r==null?void 0:r.class,r==null?void 0:r.className)},Q1=X1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function nS({className:i,variant:c,size:r,asChild:o=!1,...f}){const d=o?j1:"button";return it.jsx(d,{"data-slot":"button",className:Ur(Q1({variant:c,size:r,className:i})),...f})}/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Z1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),K1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,o)=>o?o.toUpperCase():r.toLowerCase()),wh=i=>{const c=K1(i);return c.charAt(0).toUpperCase()+c.slice(1)},Ry=(...i)=>i.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim(),J1=i=>{for(const c in i)if(c.startsWith("aria-")||c==="role"||c==="title")return!0};/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var k1={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.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $1=M.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:f="",children:d,iconNode:h,...g},v)=>M.createElement("svg",{ref:v,...k1,width:c,height:c,stroke:i,strokeWidth:o?Number(r)*24/Number(c):r,className:Ry("lucide",f),...!d&&!J1(g)&&{"aria-hidden":"true"},...g},[...h.map(([y,b])=>M.createElement(y,b)),...Array.isArray(d)?d:[d]]));/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const W1=(i,c)=>{const r=M.forwardRef(({className:o,...f},d)=>M.createElement($1,{ref:d,iconNode:c,className:Ry(`lucide-${Z1(wh(i))}`,`lucide-${i}`,o),...f}));return r.displayName=wh(i),r};/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const F1=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],aS=W1("download",F1);function iS({className:i,type:c,...r}){return it.jsx("input",{type:c,"data-slot":"input",className:Ur("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",i),...r})}const uS=({children:i,tooltipText:c})=>it.jsxs(R1,{children:[it.jsx(D1,{asChild:!0,children:i}),c&&it.jsx(N1,{className:"max-w-sm",children:c})]}),cS=Hr(Xu.STORAGE_KEYS.LOCAL_TRANSLATOR_TARGET_LANGUAGE,"en");export{uS as A,nS as B,sy as C,$h as D,Fb as E,Ib as F,Xu as G,Pb as H,iS as I,t1 as J,jr as K,cS as L,I1 as M,$l as P,ap as R,R1 as T,Hr as a,tS as b,Ur as c,gn as d,Jh as e,Br as f,yl as g,Qu as h,Kl as i,it as j,n1 as k,R0 as l,by as m,r0 as n,eS as o,W1 as p,L1 as q,M as r,i0 as s,X1 as t,P1 as u,D1 as v,Q1 as w,N1 as x,aS as y,Qb as z};
