@juejin-opensource/jusage 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,151 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/rank-CqwpjE6-.js","assets/model-provider-CXm-Ru1s.js","assets/index-Cl161mdg.js","assets/downloads-BWVeZf1b.js","assets/useLocalStorage-CKd3SYzL.js","assets/pricing-DumQppSX.js","assets/download-C1JZSDMp.js","assets/dashboard-BW9PQ-aW.js","assets/dashboard-QA2DxQpC.css"])))=>i.map(i=>d[i]);
2
+ var Pg=e=>{throw TypeError(e)};var Og=(e,t,a)=>t.has(e)||Pg("Cannot "+a);var jg=(e,t,a)=>(Og(e,t,"read from private field"),a?a.call(e):t.get(e)),Ig=(e,t,a)=>t.has(e)?Pg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Qd=(e,t,a,r)=>(Og(e,t,"write to private field"),r?r.call(e,a):t.set(e,a),a);function xS(e,t){for(var a=0;a<t.length;a++){const r=t[a];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function a(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=a(i);fetch(i.href,s)}})();function Nv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jd={exports:{}},go={};/**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var Bg;function SS(){if(Bg)return go;Bg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(r,i,s){var u=null;if(s!==void 0&&(u=""+s),i.key!==void 0&&(u=""+i.key),"key"in i){s={};for(var f in i)f!=="key"&&(s[f]=i[f])}else s=i;return i=s.ref,{$$typeof:e,type:r,key:u,ref:i!==void 0?i:null,props:s}}return go.Fragment=t,go.jsx=a,go.jsxs=a,go}var Hg;function wS(){return Hg||(Hg=1,Jd.exports=SS()),Jd.exports}var C=wS(),e0={exports:{}},Te={};/**
11
+ * @license React
12
+ * react.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var Kg;function CS(){if(Kg)return Te;Kg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),v=Symbol.iterator;function S(D){return D===null||typeof D!="object"?null:(D=v&&D[v]||D["@@iterator"],typeof D=="function"?D:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,T={};function L(D,Q,se){this.props=D,this.context=Q,this.refs=T,this.updater=se||x}L.prototype.isReactComponent={},L.prototype.setState=function(D,Q){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,Q,"setState")},L.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function M(){}M.prototype=L.prototype;function N(D,Q,se){this.props=D,this.context=Q,this.refs=T,this.updater=se||x}var A=N.prototype=new M;A.constructor=N,E(A,L.prototype),A.isPureReactComponent=!0;var B=Array.isArray;function F(){}var $={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function K(D,Q,se){var ce=se.ref;return{$$typeof:e,type:D,key:Q,ref:ce!==void 0?ce:null,props:se}}function U(D,Q){return K(D.type,Q,D.props)}function q(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function ne(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(se){return Q[se]})}var ae=/\/+/g;function j(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?ne(""+D.key):Q.toString(36)}function W(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(F,F):(D.status="pending",D.then(function(Q){D.status==="pending"&&(D.status="fulfilled",D.value=Q)},function(Q){D.status==="pending"&&(D.status="rejected",D.reason=Q)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function z(D,Q,se,ce,H){var ie=typeof D;(ie==="undefined"||ie==="boolean")&&(D=null);var xe=!1;if(D===null)xe=!0;else switch(ie){case"bigint":case"string":case"number":xe=!0;break;case"object":switch(D.$$typeof){case e:case t:xe=!0;break;case p:return xe=D._init,z(xe(D._payload),Q,se,ce,H)}}if(xe)return H=H(D),xe=ce===""?"."+j(D,0):ce,B(H)?(se="",xe!=null&&(se=xe.replace(ae,"$&/")+"/"),z(H,Q,se,"",function(kt){return kt})):H!=null&&(q(H)&&(H=U(H,se+(H.key==null||D&&D.key===H.key?"":(""+H.key).replace(ae,"$&/")+"/")+xe)),Q.push(H)),1;xe=0;var Le=ce===""?".":ce+":";if(B(D))for(var de=0;de<D.length;de++)ce=D[de],ie=Le+j(ce,de),xe+=z(ce,Q,se,ie,H);else if(de=S(D),typeof de=="function")for(D=de.call(D),de=0;!(ce=D.next()).done;)ce=ce.value,ie=Le+j(ce,de++),xe+=z(ce,Q,se,ie,H);else if(ie==="object"){if(typeof D.then=="function")return z(W(D),Q,se,ce,H);throw Q=String(D),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return xe}function O(D,Q,se){if(D==null)return D;var ce=[],H=0;return z(D,ce,"","",function(ie){return Q.call(se,ie,H++)}),ce}function oe(D){if(D._status===-1){var Q=D._result;Q=Q(),Q.then(function(se){(D._status===0||D._status===-1)&&(D._status=1,D._result=se)},function(se){(D._status===0||D._status===-1)&&(D._status=2,D._result=se)}),D._status===-1&&(D._status=0,D._result=Q)}if(D._status===1)return D._result.default;throw D._result}var J=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},G={map:O,forEach:function(D,Q,se){O(D,function(){Q.apply(this,arguments)},se)},count:function(D){var Q=0;return O(D,function(){Q++}),Q},toArray:function(D){return O(D,function(Q){return Q})||[]},only:function(D){if(!q(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Te.Activity=b,Te.Children=G,Te.Component=L,Te.Fragment=a,Te.Profiler=i,Te.PureComponent=N,Te.StrictMode=r,Te.Suspense=d,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Te.__COMPILER_RUNTIME={__proto__:null,c:function(D){return $.H.useMemoCache(D)}},Te.cache=function(D){return function(){return D.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(D,Q,se){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ce=E({},D.props),H=D.key;if(Q!=null)for(ie in Q.key!==void 0&&(H=""+Q.key),Q)!k.call(Q,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&Q.ref===void 0||(ce[ie]=Q[ie]);var ie=arguments.length-2;if(ie===1)ce.children=se;else if(1<ie){for(var xe=Array(ie),Le=0;Le<ie;Le++)xe[Le]=arguments[Le+2];ce.children=xe}return K(D.type,H,ce)},Te.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:s,_context:D},D},Te.createElement=function(D,Q,se){var ce,H={},ie=null;if(Q!=null)for(ce in Q.key!==void 0&&(ie=""+Q.key),Q)k.call(Q,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(H[ce]=Q[ce]);var xe=arguments.length-2;if(xe===1)H.children=se;else if(1<xe){for(var Le=Array(xe),de=0;de<xe;de++)Le[de]=arguments[de+2];H.children=Le}if(D&&D.defaultProps)for(ce in xe=D.defaultProps,xe)H[ce]===void 0&&(H[ce]=xe[ce]);return K(D,ie,H)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(D){return{$$typeof:f,render:D}},Te.isValidElement=q,Te.lazy=function(D){return{$$typeof:p,_payload:{_status:-1,_result:D},_init:oe}},Te.memo=function(D,Q){return{$$typeof:h,type:D,compare:Q===void 0?null:Q}},Te.startTransition=function(D){var Q=$.T,se={};$.T=se;try{var ce=D(),H=$.S;H!==null&&H(se,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(F,J)}catch(ie){J(ie)}finally{Q!==null&&se.types!==null&&(Q.types=se.types),$.T=Q}},Te.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Te.use=function(D){return $.H.use(D)},Te.useActionState=function(D,Q,se){return $.H.useActionState(D,Q,se)},Te.useCallback=function(D,Q){return $.H.useCallback(D,Q)},Te.useContext=function(D){return $.H.useContext(D)},Te.useDebugValue=function(){},Te.useDeferredValue=function(D,Q){return $.H.useDeferredValue(D,Q)},Te.useEffect=function(D,Q){return $.H.useEffect(D,Q)},Te.useEffectEvent=function(D){return $.H.useEffectEvent(D)},Te.useId=function(){return $.H.useId()},Te.useImperativeHandle=function(D,Q,se){return $.H.useImperativeHandle(D,Q,se)},Te.useInsertionEffect=function(D,Q){return $.H.useInsertionEffect(D,Q)},Te.useLayoutEffect=function(D,Q){return $.H.useLayoutEffect(D,Q)},Te.useMemo=function(D,Q){return $.H.useMemo(D,Q)},Te.useOptimistic=function(D,Q){return $.H.useOptimistic(D,Q)},Te.useReducer=function(D,Q,se){return $.H.useReducer(D,Q,se)},Te.useRef=function(D){return $.H.useRef(D)},Te.useState=function(D){return $.H.useState(D)},Te.useSyncExternalStore=function(D,Q,se){return $.H.useSyncExternalStore(D,Q,se)},Te.useTransition=function(){return $.H.useTransition()},Te.version="19.2.7",Te}var Ug;function gi(){return Ug||(Ug=1,e0.exports=CS()),e0.exports}var y=gi();const _=Nv(y),ES=xS({__proto__:null,default:_},[y]);var t0={exports:{}},bo={},n0={exports:{}},a0={};/**
19
+ * @license React
20
+ * scheduler.production.js
21
+ *
22
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var Vg;function TS(){return Vg||(Vg=1,(function(e){function t(z,O){var oe=z.length;z.push(O);e:for(;0<oe;){var J=oe-1>>>1,G=z[J];if(0<i(G,O))z[J]=O,z[oe]=G,oe=J;else break e}}function a(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var O=z[0],oe=z.pop();if(oe!==O){z[0]=oe;e:for(var J=0,G=z.length,D=G>>>1;J<D;){var Q=2*(J+1)-1,se=z[Q],ce=Q+1,H=z[ce];if(0>i(se,oe))ce<G&&0>i(H,se)?(z[J]=H,z[ce]=oe,J=ce):(z[J]=se,z[Q]=oe,J=Q);else if(ce<G&&0>i(H,oe))z[J]=H,z[ce]=oe,J=ce;else break e}}return O}function i(z,O){var oe=z.sortIndex-O.sortIndex;return oe!==0?oe:z.id-O.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],h=[],p=1,b=null,v=3,S=!1,x=!1,E=!1,T=!1,L=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function A(z){for(var O=a(h);O!==null;){if(O.callback===null)r(h);else if(O.startTime<=z)r(h),O.sortIndex=O.expirationTime,t(d,O);else break;O=a(h)}}function B(z){if(E=!1,A(z),!x)if(a(d)!==null)x=!0,F||(F=!0,ne());else{var O=a(h);O!==null&&W(B,O.startTime-z)}}var F=!1,$=-1,k=5,K=-1;function U(){return T?!0:!(e.unstable_now()-K<k)}function q(){if(T=!1,F){var z=e.unstable_now();K=z;var O=!0;try{e:{x=!1,E&&(E=!1,M($),$=-1),S=!0;var oe=v;try{t:{for(A(z),b=a(d);b!==null&&!(b.expirationTime>z&&U());){var J=b.callback;if(typeof J=="function"){b.callback=null,v=b.priorityLevel;var G=J(b.expirationTime<=z);if(z=e.unstable_now(),typeof G=="function"){b.callback=G,A(z),O=!0;break t}b===a(d)&&r(d),A(z)}else r(d);b=a(d)}if(b!==null)O=!0;else{var D=a(h);D!==null&&W(B,D.startTime-z),O=!1}}break e}finally{b=null,v=oe,S=!1}O=void 0}}finally{O?ne():F=!1}}}var ne;if(typeof N=="function")ne=function(){N(q)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,j=ae.port2;ae.port1.onmessage=q,ne=function(){j.postMessage(null)}}else ne=function(){L(q,0)};function W(z,O){$=L(function(){z(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(z){switch(v){case 1:case 2:case 3:var O=3;break;default:O=v}var oe=v;v=O;try{return z()}finally{v=oe}},e.unstable_requestPaint=function(){T=!0},e.unstable_runWithPriority=function(z,O){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var oe=v;v=z;try{return O()}finally{v=oe}},e.unstable_scheduleCallback=function(z,O,oe){var J=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?J+oe:J):oe=J,z){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=oe+G,z={id:p++,callback:O,priorityLevel:z,startTime:oe,expirationTime:G,sortIndex:-1},oe>J?(z.sortIndex=oe,t(h,z),a(d)===null&&z===a(h)&&(E?(M($),$=-1):E=!0,W(B,oe-J))):(z.sortIndex=G,t(d,z),x||S||(x=!0,F||(F=!0,ne()))),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var O=v;return function(){var oe=v;v=O;try{return z.apply(this,arguments)}finally{v=oe}}}})(a0)),a0}var _g;function RS(){return _g||(_g=1,n0.exports=TS()),n0.exports}var l0={exports:{}},Ht={};/**
27
+ * @license React
28
+ * react-dom.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var Fg;function MS(){if(Fg)return Ht;Fg=1;var e=gi();function t(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(d,h,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:b==null?null:""+b,children:d,containerInfo:h,implementation:p}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ht.createPortal=function(d,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return s(d,h,null,p)},Ht.flushSync=function(d){var h=u.T,p=r.p;try{if(u.T=null,r.p=2,d)return d()}finally{u.T=h,r.p=p,r.d.f()}},Ht.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(d,h))},Ht.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},Ht.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?r.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:S}):p==="script"&&r.d.X(d,{crossOrigin:b,integrity:v,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Ht.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=f(h.as,h.crossOrigin);r.d.M(d,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(d)},Ht.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin);r.d.L(d,p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Ht.preloadModule=function(d,h){if(typeof d=="string")if(h){var p=f(h.as,h.crossOrigin);r.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(d)},Ht.requestFormReset=function(d){r.d.r(d)},Ht.unstable_batchedUpdates=function(d,h){return d(h)},Ht.useFormState=function(d,h,p){return u.H.useFormState(d,h,p)},Ht.useFormStatus=function(){return u.H.useHostTransitionStatus()},Ht.version="19.2.7",Ht}var Gg;function Dv(){if(Gg)return l0.exports;Gg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),l0.exports=MS(),l0.exports}/**
35
+ * @license React
36
+ * react-dom-client.production.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */var qg;function AS(){if(qg)return bo;qg=1;var e=RS(),t=gi(),a=Dv();function r(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)l+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var l=n,o=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(o=l.return),n=l.return;while(n)}return l.tag===3?o:null}function u(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function f(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function d(n){if(s(n)!==n)throw Error(r(188))}function h(n){var l=n.alternate;if(!l){if(l=s(n),l===null)throw Error(r(188));return l!==n?null:n}for(var o=n,c=l;;){var m=o.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){o=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===o)return d(m),n;if(g===c)return d(m),l;g=g.sibling}throw Error(r(188))}if(o.return!==c.return)o=m,c=g;else{for(var w=!1,R=m.child;R;){if(R===o){w=!0,o=m,c=g;break}if(R===c){w=!0,c=m,o=g;break}R=R.sibling}if(!w){for(R=g.child;R;){if(R===o){w=!0,o=g,c=m;break}if(R===c){w=!0,c=g,o=m;break}R=R.sibling}if(!w)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?n:l}function p(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=p(n),l!==null)return l;n=n.sibling}return null}var b=Object.assign,v=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),N=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function ne(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var ae=Symbol.for("react.client.reference");function j(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ae?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case E:return"Fragment";case L:return"Profiler";case T:return"StrictMode";case B:return"Suspense";case F:return"SuspenseList";case K:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case N:return n.displayName||"Context";case M:return(n._context.displayName||"Context")+".Consumer";case A:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case $:return l=n.displayName||null,l!==null?l:j(n.type)||"Memo";case k:l=n._payload,n=n._init;try{return j(n(l))}catch{}}return null}var W=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},J=[],G=-1;function D(n){return{current:n}}function Q(n){0>G||(n.current=J[G],J[G]=null,G--)}function se(n,l){G++,J[G]=n.current,n.current=l}var ce=D(null),H=D(null),ie=D(null),xe=D(null);function Le(n,l){switch(se(ie,l),se(H,n),se(ce,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?lg(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=lg(l),n=rg(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Q(ce),se(ce,n)}function de(){Q(ce),Q(H),Q(ie)}function kt(n){n.memoizedState!==null&&se(xe,n);var l=ce.current,o=rg(l,n.type);l!==o&&(se(H,n),se(ce,o))}function it(n){H.current===n&&(Q(ce),Q(H)),xe.current===n&&(Q(xe),fo._currentValue=oe)}var ue,fe;function Ce(n){if(ue===void 0)try{throw Error()}catch(o){var l=o.stack.trim().match(/\n( *(at )?)/);ue=l&&l[1]||"",fe=-1<o.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+ue+n+fe}var Fe=!1;function Ve(n,l){if(!n||Fe)return"";Fe=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(l){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(ee){var Z=ee}Reflect.construct(n,[],re)}else{try{re.call()}catch(ee){Z=ee}n.call(re.prototype)}}else{try{throw Error()}catch(ee){Z=ee}(re=n())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(ee){if(ee&&Z&&typeof ee.stack=="string")return[ee.stack,Z.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),w=g[0],R=g[1];if(w&&R){var P=w.split(`
45
+ `),X=R.split(`
46
+ `);for(m=c=0;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;for(;m<X.length&&!X[m].includes("DetermineComponentFrameRoot");)m++;if(c===P.length||m===X.length)for(c=P.length-1,m=X.length-1;1<=c&&0<=m&&P[c]!==X[m];)m--;for(;1<=c&&0<=m;c--,m--)if(P[c]!==X[m]){if(c!==1||m!==1)do if(c--,m--,0>m||P[c]!==X[m]){var te=`
47
+ `+P[c].replace(" at new "," at ");return n.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",n.displayName)),te}while(1<=c&&0<=m);break}}}finally{Fe=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?Ce(o):""}function Nt(n,l){switch(n.tag){case 26:case 27:case 5:return Ce(n.type);case 16:return Ce("Lazy");case 13:return n.child!==l&&l!==null?Ce("Suspense Fallback"):Ce("Suspense");case 19:return Ce("SuspenseList");case 0:case 15:return Ve(n.type,!1);case 11:return Ve(n.type.render,!1);case 1:return Ve(n.type,!0);case 31:return Ce("Activity");default:return""}}function Cn(n){try{var l="",o=null;do l+=Nt(n,o),o=n,n=n.return;while(n);return l}catch(c){return`
48
+ Error generating stack: `+c.message+`
49
+ `+c.stack}}var pt=Object.prototype.hasOwnProperty,jn=e.unstable_scheduleCallback,wi=e.unstable_cancelCallback,Jo=e.unstable_shouldYield,Iu=e.unstable_requestPaint,Bt=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Dt=e.unstable_ImmediatePriority,Gn=e.unstable_UserBlockingPriority,fr=e.unstable_NormalPriority,t7=e.unstable_LowPriority,Ih=e.unstable_IdlePriority,n7=e.log,a7=e.unstable_setDisableYieldValue,Ci=null,sn=null;function $a(n){if(typeof n7=="function"&&a7(n),sn&&typeof sn.setStrictMode=="function")try{sn.setStrictMode(Ci,n)}catch{}}var cn=Math.clz32?Math.clz32:i7,l7=Math.log,r7=Math.LN2;function i7(n){return n>>>=0,n===0?32:31-(l7(n)/r7|0)|0}var es=256,ts=262144,ns=4194304;function El(n){var l=n&42;if(l!==0)return l;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function as(n,l,o){var c=n.pendingLanes;if(c===0)return 0;var m=0,g=n.suspendedLanes,w=n.pingedLanes;n=n.warmLanes;var R=c&134217727;return R!==0?(c=R&~g,c!==0?m=El(c):(w&=R,w!==0?m=El(w):o||(o=R&~n,o!==0&&(m=El(o))))):(R=c&~g,R!==0?m=El(R):w!==0?m=El(w):o||(o=c&~n,o!==0&&(m=El(o)))),m===0?0:l!==0&&l!==m&&(l&g)===0&&(g=m&-m,o=l&-l,g>=o||g===32&&(o&4194048)!==0)?l:m}function Ei(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function o7(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Bh(){var n=ns;return ns<<=1,(ns&62914560)===0&&(ns=4194304),n}function Bu(n){for(var l=[],o=0;31>o;o++)l.push(n);return l}function Ti(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function s7(n,l,o,c,m,g){var w=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var R=n.entanglements,P=n.expirationTimes,X=n.hiddenUpdates;for(o=w&~o;0<o;){var te=31-cn(o),re=1<<te;R[te]=0,P[te]=-1;var Z=X[te];if(Z!==null)for(X[te]=null,te=0;te<Z.length;te++){var ee=Z[te];ee!==null&&(ee.lane&=-536870913)}o&=~re}c!==0&&Hh(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(w&~l))}function Hh(n,l,o){n.pendingLanes|=l,n.suspendedLanes&=~l;var c=31-cn(l);n.entangledLanes|=l,n.entanglements[c]=n.entanglements[c]|1073741824|o&261930}function Kh(n,l){var o=n.entangledLanes|=l;for(n=n.entanglements;o;){var c=31-cn(o),m=1<<c;m&l|n[c]&l&&(n[c]|=l),o&=~m}}function Uh(n,l){var o=l&-l;return o=(o&42)!==0?1:Hu(o),(o&(n.suspendedLanes|l))!==0?0:o}function Hu(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Ku(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Vh(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:Ag(n.type))}function _h(n,l){var o=O.p;try{return O.p=n,l()}finally{O.p=o}}var za=Math.random().toString(36).slice(2),$t="__reactFiber$"+za,Gt="__reactProps$"+za,dr="__reactContainer$"+za,Uu="__reactEvents$"+za,c7="__reactListeners$"+za,u7="__reactHandles$"+za,Fh="__reactResources$"+za,Ri="__reactMarker$"+za;function Vu(n){delete n[$t],delete n[Gt],delete n[Uu],delete n[c7],delete n[u7]}function hr(n){var l=n[$t];if(l)return l;for(var o=n.parentNode;o;){if(l=o[dr]||o[$t]){if(o=l.alternate,l.child!==null||o!==null&&o.child!==null)for(n=dg(n);n!==null;){if(o=n[$t])return o;n=dg(n)}return l}n=o,o=n.parentNode}return null}function mr(n){if(n=n[$t]||n[dr]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function Mi(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(r(33))}function pr(n){var l=n[Fh];return l||(l=n[Fh]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Tt(n){n[Ri]=!0}var Gh=new Set,qh={};function Tl(n,l){gr(n,l),gr(n+"Capture",l)}function gr(n,l){for(qh[n]=l,n=0;n<l.length;n++)Gh.add(l[n])}var f7=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]*$"),Yh={},Xh={};function d7(n){return pt.call(Xh,n)?!0:pt.call(Yh,n)?!1:f7.test(n)?Xh[n]=!0:(Yh[n]=!0,!1)}function ls(n,l,o){if(d7(l))if(o===null)n.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var c=l.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+o)}}function rs(n,l,o){if(o===null)n.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+o)}}function ra(n,l,o,c){if(c===null)n.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttributeNS(l,o,""+c)}}function En(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Wh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function h7(n,l,o){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,g=c.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return m.call(this)},set:function(w){o=""+w,g.call(this,w)}}),Object.defineProperty(n,l,{enumerable:c.enumerable}),{getValue:function(){return o},setValue:function(w){o=""+w},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function _u(n){if(!n._valueTracker){var l=Wh(n)?"checked":"value";n._valueTracker=h7(n,l,""+n[l])}}function Zh(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var o=l.getValue(),c="";return n&&(c=Wh(n)?n.checked?"true":"false":n.value),n=c,n!==o?(l.setValue(n),!0):!1}function is(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var m7=/[\n"\\]/g;function Tn(n){return n.replace(m7,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Fu(n,l,o,c,m,g,w,R){n.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.type=w:n.removeAttribute("type"),l!=null?w==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+En(l)):n.value!==""+En(l)&&(n.value=""+En(l)):w!=="submit"&&w!=="reset"||n.removeAttribute("value"),l!=null?Gu(n,w,En(l)):o!=null?Gu(n,w,En(o)):c!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?n.name=""+En(R):n.removeAttribute("name")}function Qh(n,l,o,c,m,g,w,R){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),l!=null||o!=null){if(!(g!=="submit"&&g!=="reset"||l!=null)){_u(n);return}o=o!=null?""+En(o):"",l=l!=null?""+En(l):o,R||l===n.value||(n.value=l),n.defaultValue=l}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=R?n.checked:!!c,n.defaultChecked=!!c,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(n.name=w),_u(n)}function Gu(n,l,o){l==="number"&&is(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function br(n,l,o,c){if(n=n.options,l){l={};for(var m=0;m<o.length;m++)l["$"+o[m]]=!0;for(o=0;o<n.length;o++)m=l.hasOwnProperty("$"+n[o].value),n[o].selected!==m&&(n[o].selected=m),m&&c&&(n[o].defaultSelected=!0)}else{for(o=""+En(o),l=null,m=0;m<n.length;m++){if(n[m].value===o){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}l!==null||n[m].disabled||(l=n[m])}l!==null&&(l.selected=!0)}}function Jh(n,l,o){if(l!=null&&(l=""+En(l),l!==n.value&&(n.value=l),o==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=o!=null?""+En(o):""}function e1(n,l,o,c){if(l==null){if(c!=null){if(o!=null)throw Error(r(92));if(W(c)){if(1<c.length)throw Error(r(93));c=c[0]}o=c}o==null&&(o=""),l=o}o=En(l),n.defaultValue=o,c=n.textContent,c===o&&c!==""&&c!==null&&(n.value=c),_u(n)}function vr(n,l){if(l){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=l;return}}n.textContent=l}var p7=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 t1(n,l,o){var c=l.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":c?n.setProperty(l,o):typeof o!="number"||o===0||p7.has(l)?l==="float"?n.cssFloat=o:n[l]=(""+o).trim():n[l]=o+"px"}function n1(n,l,o){if(l!=null&&typeof l!="object")throw Error(r(62));if(n=n.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||l!=null&&l.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var m in l)c=l[m],l.hasOwnProperty(m)&&o[m]!==c&&t1(n,m,c)}else for(var g in l)l.hasOwnProperty(g)&&t1(n,g,l[g])}function qu(n){if(n.indexOf("-")===-1)return!1;switch(n){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 g7=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"]]),b7=/^[\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 os(n){return b7.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function ia(){}var Yu=null;function Xu(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var yr=null,xr=null;function a1(n){var l=mr(n);if(l&&(n=l.stateNode)){var o=n[Gt]||null;e:switch(n=l.stateNode,l.type){case"input":if(Fu(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),l=o.name,o.type==="radio"&&l!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Tn(""+l)+'"][type="radio"]'),l=0;l<o.length;l++){var c=o[l];if(c!==n&&c.form===n.form){var m=c[Gt]||null;if(!m)throw Error(r(90));Fu(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(l=0;l<o.length;l++)c=o[l],c.form===n.form&&Zh(c)}break e;case"textarea":Jh(n,o.value,o.defaultValue);break e;case"select":l=o.value,l!=null&&br(n,!!o.multiple,l,!1)}}}var Wu=!1;function l1(n,l,o){if(Wu)return n(l,o);Wu=!0;try{var c=n(l);return c}finally{if(Wu=!1,(yr!==null||xr!==null)&&(Ys(),yr&&(l=yr,n=xr,xr=yr=null,a1(l),n)))for(l=0;l<n.length;l++)a1(n[l])}}function Ai(n,l){var o=n.stateNode;if(o===null)return null;var c=o[Gt]||null;if(c===null)return null;o=c[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(r(231,l,typeof o));return o}var oa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zu=!1;if(oa)try{var Li={};Object.defineProperty(Li,"passive",{get:function(){Zu=!0}}),window.addEventListener("test",Li,Li),window.removeEventListener("test",Li,Li)}catch{Zu=!1}var Pa=null,Qu=null,ss=null;function r1(){if(ss)return ss;var n,l=Qu,o=l.length,c,m="value"in Pa?Pa.value:Pa.textContent,g=m.length;for(n=0;n<o&&l[n]===m[n];n++);var w=o-n;for(c=1;c<=w&&l[o-c]===m[g-c];c++);return ss=m.slice(n,1<c?1-c:void 0)}function cs(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function us(){return!0}function i1(){return!1}function qt(n){function l(o,c,m,g,w){this._reactName=o,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(o=n[R],this[R]=o?o(g):g[R]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?us:i1,this.isPropagationStopped=i1,this}return b(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),l}var Rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fs=qt(Rl),ki=b({},Rl,{view:0,detail:0}),v7=qt(ki),Ju,ef,Ni,ds=b({},ki,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ni&&(Ni&&n.type==="mousemove"?(Ju=n.screenX-Ni.screenX,ef=n.screenY-Ni.screenY):ef=Ju=0,Ni=n),Ju)},movementY:function(n){return"movementY"in n?n.movementY:ef}}),o1=qt(ds),y7=b({},ds,{dataTransfer:0}),x7=qt(y7),S7=b({},ki,{relatedTarget:0}),tf=qt(S7),w7=b({},Rl,{animationName:0,elapsedTime:0,pseudoElement:0}),C7=qt(w7),E7=b({},Rl,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),T7=qt(E7),R7=b({},Rl,{data:0}),s1=qt(R7),M7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},A7={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"},L7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k7(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=L7[n])?!!l[n]:!1}function nf(){return k7}var N7=b({},ki,{key:function(n){if(n.key){var l=M7[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=cs(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?A7[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nf,charCode:function(n){return n.type==="keypress"?cs(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?cs(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),D7=qt(N7),$7=b({},ds,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),c1=qt($7),z7=b({},ki,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nf}),P7=qt(z7),O7=b({},Rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),j7=qt(O7),I7=b({},ds,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),B7=qt(I7),H7=b({},Rl,{newState:0,oldState:0}),K7=qt(H7),U7=[9,13,27,32],af=oa&&"CompositionEvent"in window,Di=null;oa&&"documentMode"in document&&(Di=document.documentMode);var V7=oa&&"TextEvent"in window&&!Di,u1=oa&&(!af||Di&&8<Di&&11>=Di),f1=" ",d1=!1;function h1(n,l){switch(n){case"keyup":return U7.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m1(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Sr=!1;function _7(n,l){switch(n){case"compositionend":return m1(l);case"keypress":return l.which!==32?null:(d1=!0,f1);case"textInput":return n=l.data,n===f1&&d1?null:n;default:return null}}function F7(n,l){if(Sr)return n==="compositionend"||!af&&h1(n,l)?(n=r1(),ss=Qu=Pa=null,Sr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return u1&&l.locale!=="ko"?null:l.data;default:return null}}var G7={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 p1(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!G7[n.type]:l==="textarea"}function g1(n,l,o,c){yr?xr?xr.push(c):xr=[c]:yr=c,l=tc(l,"onChange"),0<l.length&&(o=new fs("onChange","change",null,o,c),n.push({event:o,listeners:l}))}var $i=null,zi=null;function q7(n){Qp(n,0)}function hs(n){var l=Mi(n);if(Zh(l))return n}function b1(n,l){if(n==="change")return l}var v1=!1;if(oa){var lf;if(oa){var rf="oninput"in document;if(!rf){var y1=document.createElement("div");y1.setAttribute("oninput","return;"),rf=typeof y1.oninput=="function"}lf=rf}else lf=!1;v1=lf&&(!document.documentMode||9<document.documentMode)}function x1(){$i&&($i.detachEvent("onpropertychange",S1),zi=$i=null)}function S1(n){if(n.propertyName==="value"&&hs(zi)){var l=[];g1(l,zi,n,Xu(n)),l1(q7,l)}}function Y7(n,l,o){n==="focusin"?(x1(),$i=l,zi=o,$i.attachEvent("onpropertychange",S1)):n==="focusout"&&x1()}function X7(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return hs(zi)}function W7(n,l){if(n==="click")return hs(l)}function Z7(n,l){if(n==="input"||n==="change")return hs(l)}function Q7(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var un=typeof Object.is=="function"?Object.is:Q7;function Pi(n,l){if(un(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var o=Object.keys(n),c=Object.keys(l);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var m=o[c];if(!pt.call(l,m)||!un(n[m],l[m]))return!1}return!0}function w1(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function C1(n,l){var o=w1(n);n=0;for(var c;o;){if(o.nodeType===3){if(c=n+o.textContent.length,n<=l&&c>=l)return{node:o,offset:l-n};n=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=w1(o)}}function E1(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?E1(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function T1(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=is(n.document);l instanceof n.HTMLIFrameElement;){try{var o=typeof l.contentWindow.location.href=="string"}catch{o=!1}if(o)n=l.contentWindow;else break;l=is(n.document)}return l}function of(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var J7=oa&&"documentMode"in document&&11>=document.documentMode,wr=null,sf=null,Oi=null,cf=!1;function R1(n,l,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;cf||wr==null||wr!==is(c)||(c=wr,"selectionStart"in c&&of(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Oi&&Pi(Oi,c)||(Oi=c,c=tc(sf,"onSelect"),0<c.length&&(l=new fs("onSelect","select",null,l,o),n.push({event:l,listeners:c}),l.target=wr)))}function Ml(n,l){var o={};return o[n.toLowerCase()]=l.toLowerCase(),o["Webkit"+n]="webkit"+l,o["Moz"+n]="moz"+l,o}var Cr={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionrun:Ml("Transition","TransitionRun"),transitionstart:Ml("Transition","TransitionStart"),transitioncancel:Ml("Transition","TransitionCancel"),transitionend:Ml("Transition","TransitionEnd")},uf={},M1={};oa&&(M1=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);function Al(n){if(uf[n])return uf[n];if(!Cr[n])return n;var l=Cr[n],o;for(o in l)if(l.hasOwnProperty(o)&&o in M1)return uf[n]=l[o];return n}var A1=Al("animationend"),L1=Al("animationiteration"),k1=Al("animationstart"),ex=Al("transitionrun"),tx=Al("transitionstart"),nx=Al("transitioncancel"),N1=Al("transitionend"),D1=new Map,ff="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(" ");ff.push("scrollEnd");function In(n,l){D1.set(n,l),Tl(l,[n])}var ms=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Rn=[],Er=0,df=0;function ps(){for(var n=Er,l=df=Er=0;l<n;){var o=Rn[l];Rn[l++]=null;var c=Rn[l];Rn[l++]=null;var m=Rn[l];Rn[l++]=null;var g=Rn[l];if(Rn[l++]=null,c!==null&&m!==null){var w=c.pending;w===null?m.next=m:(m.next=w.next,w.next=m),c.pending=m}g!==0&&$1(o,m,g)}}function gs(n,l,o,c){Rn[Er++]=n,Rn[Er++]=l,Rn[Er++]=o,Rn[Er++]=c,df|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function hf(n,l,o,c){return gs(n,l,o,c),bs(n)}function Ll(n,l){return gs(n,null,null,l),bs(n)}function $1(n,l,o){n.lanes|=o;var c=n.alternate;c!==null&&(c.lanes|=o);for(var m=!1,g=n.return;g!==null;)g.childLanes|=o,c=g.alternate,c!==null&&(c.childLanes|=o),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&l!==null&&(m=31-cn(o),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[l]:c.push(l),l.lane=o|536870912),g):null}function bs(n){if(50<lo)throw lo=0,wd=null,Error(r(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var Tr={};function ax(n,l,o,c){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fn(n,l,o,c){return new ax(n,l,o,c)}function mf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function sa(n,l){var o=n.alternate;return o===null?(o=fn(n.tag,l,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=l,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&65011712,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,l=n.dependencies,o.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o.refCleanup=n.refCleanup,o}function z1(n,l){n.flags&=65011714;var o=n.alternate;return o===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=o.childLanes,n.lanes=o.lanes,n.child=o.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=o.memoizedProps,n.memoizedState=o.memoizedState,n.updateQueue=o.updateQueue,n.type=o.type,l=o.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function vs(n,l,o,c,m,g){var w=0;if(c=n,typeof n=="function")mf(n)&&(w=1);else if(typeof n=="string")w=sS(n,o,ce.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case K:return n=fn(31,o,l,m),n.elementType=K,n.lanes=g,n;case E:return kl(o.children,m,g,l);case T:w=8,m|=24;break;case L:return n=fn(12,o,l,m|2),n.elementType=L,n.lanes=g,n;case B:return n=fn(13,o,l,m),n.elementType=B,n.lanes=g,n;case F:return n=fn(19,o,l,m),n.elementType=F,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case N:w=10;break e;case M:w=9;break e;case A:w=11;break e;case $:w=14;break e;case k:w=16,c=null;break e}w=29,o=Error(r(130,n===null?"null":typeof n,"")),c=null}return l=fn(w,o,l,m),l.elementType=n,l.type=c,l.lanes=g,l}function kl(n,l,o,c){return n=fn(7,n,c,l),n.lanes=o,n}function pf(n,l,o){return n=fn(6,n,null,l),n.lanes=o,n}function P1(n){var l=fn(18,null,null,0);return l.stateNode=n,l}function gf(n,l,o){return l=fn(4,n.children!==null?n.children:[],n.key,l),l.lanes=o,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var O1=new WeakMap;function Mn(n,l){if(typeof n=="object"&&n!==null){var o=O1.get(n);return o!==void 0?o:(l={value:n,source:l,stack:Cn(l)},O1.set(n,l),l)}return{value:n,source:l,stack:Cn(l)}}var Rr=[],Mr=0,ys=null,ji=0,An=[],Ln=0,Oa=null,qn=1,Yn="";function ca(n,l){Rr[Mr++]=ji,Rr[Mr++]=ys,ys=n,ji=l}function j1(n,l,o){An[Ln++]=qn,An[Ln++]=Yn,An[Ln++]=Oa,Oa=n;var c=qn;n=Yn;var m=32-cn(c)-1;c&=~(1<<m),o+=1;var g=32-cn(l)+m;if(30<g){var w=m-m%5;g=(c&(1<<w)-1).toString(32),c>>=w,m-=w,qn=1<<32-cn(l)+m|o<<m|c,Yn=g+n}else qn=1<<g|o<<m|c,Yn=n}function bf(n){n.return!==null&&(ca(n,1),j1(n,1,0))}function vf(n){for(;n===ys;)ys=Rr[--Mr],Rr[Mr]=null,ji=Rr[--Mr],Rr[Mr]=null;for(;n===Oa;)Oa=An[--Ln],An[Ln]=null,Yn=An[--Ln],An[Ln]=null,qn=An[--Ln],An[Ln]=null}function I1(n,l){An[Ln++]=qn,An[Ln++]=Yn,An[Ln++]=Oa,qn=l.id,Yn=l.overflow,Oa=n}var zt=null,nt=null,Ie=!1,ja=null,kn=!1,yf=Error(r(519));function Ia(n){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ii(Mn(l,n)),yf}function B1(n){var l=n.stateNode,o=n.type,c=n.memoizedProps;switch(l[$t]=n,l[Gt]=c,o){case"dialog":ze("cancel",l),ze("close",l);break;case"iframe":case"object":case"embed":ze("load",l);break;case"video":case"audio":for(o=0;o<io.length;o++)ze(io[o],l);break;case"source":ze("error",l);break;case"img":case"image":case"link":ze("error",l),ze("load",l);break;case"details":ze("toggle",l);break;case"input":ze("invalid",l),Qh(l,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":ze("invalid",l);break;case"textarea":ze("invalid",l),e1(l,c.value,c.defaultValue,c.children)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||l.textContent===""+o||c.suppressHydrationWarning===!0||ng(l.textContent,o)?(c.popover!=null&&(ze("beforetoggle",l),ze("toggle",l)),c.onScroll!=null&&ze("scroll",l),c.onScrollEnd!=null&&ze("scrollend",l),c.onClick!=null&&(l.onclick=ia),l=!0):l=!1,l||Ia(n,!0)}function H1(n){for(zt=n.return;zt;)switch(zt.tag){case 5:case 31:case 13:kn=!1;return;case 27:case 3:kn=!0;return;default:zt=zt.return}}function Ar(n){if(n!==zt)return!1;if(!Ie)return H1(n),Ie=!0,!1;var l=n.tag,o;if((o=l!==3&&l!==27)&&((o=l===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||jd(n.type,n.memoizedProps)),o=!o),o&&nt&&Ia(n),H1(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=fg(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=fg(n)}else l===27?(l=nt,Qa(n.type)?(n=Ud,Ud=null,nt=n):nt=l):nt=zt?Dn(n.stateNode.nextSibling):null;return!0}function Nl(){nt=zt=null,Ie=!1}function xf(){var n=ja;return n!==null&&(Zt===null?Zt=n:Zt.push.apply(Zt,n),ja=null),n}function Ii(n){ja===null?ja=[n]:ja.push(n)}var Sf=D(null),Dl=null,ua=null;function Ba(n,l,o){se(Sf,l._currentValue),l._currentValue=o}function fa(n){n._currentValue=Sf.current,Q(Sf)}function wf(n,l,o){for(;n!==null;){var c=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,c!==null&&(c.childLanes|=l)):c!==null&&(c.childLanes&l)!==l&&(c.childLanes|=l),n===o)break;n=n.return}}function Cf(n,l,o,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var w=m.child;g=g.firstContext;e:for(;g!==null;){var R=g;g=m;for(var P=0;P<l.length;P++)if(R.context===l[P]){g.lanes|=o,R=g.alternate,R!==null&&(R.lanes|=o),wf(g.return,o,n),c||(w=null);break e}g=R.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(r(341));w.lanes|=o,g=w.alternate,g!==null&&(g.lanes|=o),wf(w,o,n),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===n){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function Lr(n,l,o,c){n=null;for(var m=l,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(r(387));if(w=w.memoizedProps,w!==null){var R=m.type;un(m.pendingProps.value,w.value)||(n!==null?n.push(R):n=[R])}}else if(m===xe.current){if(w=m.alternate,w===null)throw Error(r(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(fo):n=[fo])}m=m.return}n!==null&&Cf(l,n,o,c),l.flags|=262144}function xs(n){for(n=n.firstContext;n!==null;){if(!un(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function $l(n){Dl=n,ua=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Pt(n){return K1(Dl,n)}function Ss(n,l){return Dl===null&&$l(n),K1(n,l)}function K1(n,l){var o=l._currentValue;if(l={context:l,memoizedValue:o,next:null},ua===null){if(n===null)throw Error(r(308));ua=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else ua=ua.next=l;return o}var lx=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(o,c){n.push(c)}};this.abort=function(){l.aborted=!0,n.forEach(function(o){return o()})}},rx=e.unstable_scheduleCallback,ix=e.unstable_NormalPriority,gt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new lx,data:new Map,refCount:0}}function Bi(n){n.refCount--,n.refCount===0&&rx(ix,function(){n.controller.abort()})}var Hi=null,Tf=0,kr=0,Nr=null;function ox(n,l){if(Hi===null){var o=Hi=[];Tf=0,kr=Ad(),Nr={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Tf++,l.then(U1,U1),l}function U1(){if(--Tf===0&&Hi!==null){Nr!==null&&(Nr.status="fulfilled");var n=Hi;Hi=null,kr=0,Nr=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function sx(n,l){var o=[],c={status:"pending",value:null,reason:null,then:function(m){o.push(m)}};return n.then(function(){c.status="fulfilled",c.value=l;for(var m=0;m<o.length;m++)(0,o[m])(l)},function(m){for(c.status="rejected",c.reason=m,m=0;m<o.length;m++)(0,o[m])(void 0)}),c}var V1=z.S;z.S=function(n,l){Rp=Bt(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&ox(n,l),V1!==null&&V1(n,l)};var zl=D(null);function Rf(){var n=zl.current;return n!==null?n:Qe.pooledCache}function ws(n,l){l===null?se(zl,zl.current):se(zl,l.pool)}function _1(){var n=Rf();return n===null?null:{parent:gt._currentValue,pool:n}}var Dr=Error(r(460)),Mf=Error(r(474)),Cs=Error(r(542)),Es={then:function(){}};function F1(n){return n=n.status,n==="fulfilled"||n==="rejected"}function G1(n,l,o){switch(o=n[o],o===void 0?n.push(l):o!==l&&(l.then(ia,ia),l=o),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Y1(n),n;default:if(typeof l.status=="string")l.then(ia,ia);else{if(n=Qe,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=l,n.status="pending",n.then(function(c){if(l.status==="pending"){var m=l;m.status="fulfilled",m.value=c}},function(c){if(l.status==="pending"){var m=l;m.status="rejected",m.reason=c}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Y1(n),n}throw Ol=l,Dr}}function Pl(n){try{var l=n._init;return l(n._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Ol=o,Dr):o}}var Ol=null;function q1(){if(Ol===null)throw Error(r(459));var n=Ol;return Ol=null,n}function Y1(n){if(n===Dr||n===Cs)throw Error(r(483))}var $r=null,Ki=0;function Ts(n){var l=Ki;return Ki+=1,$r===null&&($r=[]),G1($r,n,l)}function Ui(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Rs(n,l){throw l.$$typeof===v?Error(r(525)):(n=Object.prototype.toString.call(l),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function X1(n){function l(V,I){if(n){var Y=V.deletions;Y===null?(V.deletions=[I],V.flags|=16):Y.push(I)}}function o(V,I){if(!n)return null;for(;I!==null;)l(V,I),I=I.sibling;return null}function c(V){for(var I=new Map;V!==null;)V.key!==null?I.set(V.key,V):I.set(V.index,V),V=V.sibling;return I}function m(V,I){return V=sa(V,I),V.index=0,V.sibling=null,V}function g(V,I,Y){return V.index=Y,n?(Y=V.alternate,Y!==null?(Y=Y.index,Y<I?(V.flags|=67108866,I):Y):(V.flags|=67108866,I)):(V.flags|=1048576,I)}function w(V){return n&&V.alternate===null&&(V.flags|=67108866),V}function R(V,I,Y,le){return I===null||I.tag!==6?(I=pf(Y,V.mode,le),I.return=V,I):(I=m(I,Y),I.return=V,I)}function P(V,I,Y,le){var Se=Y.type;return Se===E?te(V,I,Y.props.children,le,Y.key):I!==null&&(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pl(Se)===I.type)?(I=m(I,Y.props),Ui(I,Y),I.return=V,I):(I=vs(Y.type,Y.key,Y.props,null,V.mode,le),Ui(I,Y),I.return=V,I)}function X(V,I,Y,le){return I===null||I.tag!==4||I.stateNode.containerInfo!==Y.containerInfo||I.stateNode.implementation!==Y.implementation?(I=gf(Y,V.mode,le),I.return=V,I):(I=m(I,Y.children||[]),I.return=V,I)}function te(V,I,Y,le,Se){return I===null||I.tag!==7?(I=kl(Y,V.mode,le,Se),I.return=V,I):(I=m(I,Y),I.return=V,I)}function re(V,I,Y){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=pf(""+I,V.mode,Y),I.return=V,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return Y=vs(I.type,I.key,I.props,null,V.mode,Y),Ui(Y,I),Y.return=V,Y;case x:return I=gf(I,V.mode,Y),I.return=V,I;case k:return I=Pl(I),re(V,I,Y)}if(W(I)||ne(I))return I=kl(I,V.mode,Y,null),I.return=V,I;if(typeof I.then=="function")return re(V,Ts(I),Y);if(I.$$typeof===N)return re(V,Ss(V,I),Y);Rs(V,I)}return null}function Z(V,I,Y,le){var Se=I!==null?I.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Se!==null?null:R(V,I,""+Y,le);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:return Y.key===Se?P(V,I,Y,le):null;case x:return Y.key===Se?X(V,I,Y,le):null;case k:return Y=Pl(Y),Z(V,I,Y,le)}if(W(Y)||ne(Y))return Se!==null?null:te(V,I,Y,le,null);if(typeof Y.then=="function")return Z(V,I,Ts(Y),le);if(Y.$$typeof===N)return Z(V,I,Ss(V,Y),le);Rs(V,Y)}return null}function ee(V,I,Y,le,Se){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return V=V.get(Y)||null,R(I,V,""+le,Se);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case S:return V=V.get(le.key===null?Y:le.key)||null,P(I,V,le,Se);case x:return V=V.get(le.key===null?Y:le.key)||null,X(I,V,le,Se);case k:return le=Pl(le),ee(V,I,Y,le,Se)}if(W(le)||ne(le))return V=V.get(Y)||null,te(I,V,le,Se,null);if(typeof le.then=="function")return ee(V,I,Y,Ts(le),Se);if(le.$$typeof===N)return ee(V,I,Y,Ss(I,le),Se);Rs(I,le)}return null}function be(V,I,Y,le){for(var Se=null,Ke=null,ye=I,Ae=I=0,je=null;ye!==null&&Ae<Y.length;Ae++){ye.index>Ae?(je=ye,ye=null):je=ye.sibling;var Ue=Z(V,ye,Y[Ae],le);if(Ue===null){ye===null&&(ye=je);break}n&&ye&&Ue.alternate===null&&l(V,ye),I=g(Ue,I,Ae),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue,ye=je}if(Ae===Y.length)return o(V,ye),Ie&&ca(V,Ae),Se;if(ye===null){for(;Ae<Y.length;Ae++)ye=re(V,Y[Ae],le),ye!==null&&(I=g(ye,I,Ae),Ke===null?Se=ye:Ke.sibling=ye,Ke=ye);return Ie&&ca(V,Ae),Se}for(ye=c(ye);Ae<Y.length;Ae++)je=ee(ye,V,Ae,Y[Ae],le),je!==null&&(n&&je.alternate!==null&&ye.delete(je.key===null?Ae:je.key),I=g(je,I,Ae),Ke===null?Se=je:Ke.sibling=je,Ke=je);return n&&ye.forEach(function(al){return l(V,al)}),Ie&&ca(V,Ae),Se}function we(V,I,Y,le){if(Y==null)throw Error(r(151));for(var Se=null,Ke=null,ye=I,Ae=I=0,je=null,Ue=Y.next();ye!==null&&!Ue.done;Ae++,Ue=Y.next()){ye.index>Ae?(je=ye,ye=null):je=ye.sibling;var al=Z(V,ye,Ue.value,le);if(al===null){ye===null&&(ye=je);break}n&&ye&&al.alternate===null&&l(V,ye),I=g(al,I,Ae),Ke===null?Se=al:Ke.sibling=al,Ke=al,ye=je}if(Ue.done)return o(V,ye),Ie&&ca(V,Ae),Se;if(ye===null){for(;!Ue.done;Ae++,Ue=Y.next())Ue=re(V,Ue.value,le),Ue!==null&&(I=g(Ue,I,Ae),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return Ie&&ca(V,Ae),Se}for(ye=c(ye);!Ue.done;Ae++,Ue=Y.next())Ue=ee(ye,V,Ae,Ue.value,le),Ue!==null&&(n&&Ue.alternate!==null&&ye.delete(Ue.key===null?Ae:Ue.key),I=g(Ue,I,Ae),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return n&&ye.forEach(function(yS){return l(V,yS)}),Ie&&ca(V,Ae),Se}function Ze(V,I,Y,le){if(typeof Y=="object"&&Y!==null&&Y.type===E&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:e:{for(var Se=Y.key;I!==null;){if(I.key===Se){if(Se=Y.type,Se===E){if(I.tag===7){o(V,I.sibling),le=m(I,Y.props.children),le.return=V,V=le;break e}}else if(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pl(Se)===I.type){o(V,I.sibling),le=m(I,Y.props),Ui(le,Y),le.return=V,V=le;break e}o(V,I);break}else l(V,I);I=I.sibling}Y.type===E?(le=kl(Y.props.children,V.mode,le,Y.key),le.return=V,V=le):(le=vs(Y.type,Y.key,Y.props,null,V.mode,le),Ui(le,Y),le.return=V,V=le)}return w(V);case x:e:{for(Se=Y.key;I!==null;){if(I.key===Se)if(I.tag===4&&I.stateNode.containerInfo===Y.containerInfo&&I.stateNode.implementation===Y.implementation){o(V,I.sibling),le=m(I,Y.children||[]),le.return=V,V=le;break e}else{o(V,I);break}else l(V,I);I=I.sibling}le=gf(Y,V.mode,le),le.return=V,V=le}return w(V);case k:return Y=Pl(Y),Ze(V,I,Y,le)}if(W(Y))return be(V,I,Y,le);if(ne(Y)){if(Se=ne(Y),typeof Se!="function")throw Error(r(150));return Y=Se.call(Y),we(V,I,Y,le)}if(typeof Y.then=="function")return Ze(V,I,Ts(Y),le);if(Y.$$typeof===N)return Ze(V,I,Ss(V,Y),le);Rs(V,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,I!==null&&I.tag===6?(o(V,I.sibling),le=m(I,Y),le.return=V,V=le):(o(V,I),le=pf(Y,V.mode,le),le.return=V,V=le),w(V)):o(V,I)}return function(V,I,Y,le){try{Ki=0;var Se=Ze(V,I,Y,le);return $r=null,Se}catch(ye){if(ye===Dr||ye===Cs)throw ye;var Ke=fn(29,ye,null,V.mode);return Ke.lanes=le,Ke.return=V,Ke}finally{}}}var jl=X1(!0),W1=X1(!1),Ha=!1;function Af(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lf(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ka(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ua(n,l,o){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(_e&2)!==0){var m=c.pending;return m===null?l.next=l:(l.next=m.next,m.next=l),c.pending=l,l=bs(n),$1(n,null,o),l}return gs(n,c,l,o),bs(n)}function Vi(n,l,o){if(l=l.updateQueue,l!==null&&(l=l.shared,(o&4194048)!==0)){var c=l.lanes;c&=n.pendingLanes,o|=c,l.lanes=o,Kh(n,o)}}function kf(n,l){var o=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var m=null,g=null;if(o=o.firstBaseUpdate,o!==null){do{var w={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};g===null?m=g=w:g=g.next=w,o=o.next}while(o!==null);g===null?m=g=l:g=g.next=l}else m=g=l;o={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=l:n.next=l,o.lastBaseUpdate=l}var Nf=!1;function _i(){if(Nf){var n=Nr;if(n!==null)throw n}}function Fi(n,l,o,c){Nf=!1;var m=n.updateQueue;Ha=!1;var g=m.firstBaseUpdate,w=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var P=R,X=P.next;P.next=null,w===null?g=X:w.next=X,w=P;var te=n.alternate;te!==null&&(te=te.updateQueue,R=te.lastBaseUpdate,R!==w&&(R===null?te.firstBaseUpdate=X:R.next=X,te.lastBaseUpdate=P))}if(g!==null){var re=m.baseState;w=0,te=X=P=null,R=g;do{var Z=R.lane&-536870913,ee=Z!==R.lane;if(ee?(Oe&Z)===Z:(c&Z)===Z){Z!==0&&Z===kr&&(Nf=!0),te!==null&&(te=te.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var be=n,we=R;Z=l;var Ze=o;switch(we.tag){case 1:if(be=we.payload,typeof be=="function"){re=be.call(Ze,re,Z);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=we.payload,Z=typeof be=="function"?be.call(Ze,re,Z):be,Z==null)break e;re=b({},re,Z);break e;case 2:Ha=!0}}Z=R.callback,Z!==null&&(n.flags|=64,ee&&(n.flags|=8192),ee=m.callbacks,ee===null?m.callbacks=[Z]:ee.push(Z))}else ee={lane:Z,tag:R.tag,payload:R.payload,callback:R.callback,next:null},te===null?(X=te=ee,P=re):te=te.next=ee,w|=Z;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;ee=R,R=ee.next,ee.next=null,m.lastBaseUpdate=ee,m.shared.pending=null}}while(!0);te===null&&(P=re),m.baseState=P,m.firstBaseUpdate=X,m.lastBaseUpdate=te,g===null&&(m.shared.lanes=0),qa|=w,n.lanes=w,n.memoizedState=re}}function Z1(n,l){if(typeof n!="function")throw Error(r(191,n));n.call(l)}function Q1(n,l){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)Z1(o[n],l)}var zr=D(null),Ms=D(0);function J1(n,l){n=xa,se(Ms,n),se(zr,l),xa=n|l.baseLanes}function Df(){se(Ms,xa),se(zr,zr.current)}function $f(){xa=Ms.current,Q(zr),Q(Ms)}var dn=D(null),Nn=null;function Va(n){var l=n.alternate;se(ft,ft.current&1),se(dn,n),Nn===null&&(l===null||zr.current!==null||l.memoizedState!==null)&&(Nn=n)}function zf(n){se(ft,ft.current),se(dn,n),Nn===null&&(Nn=n)}function em(n){n.tag===22?(se(ft,ft.current),se(dn,n),Nn===null&&(Nn=n)):_a()}function _a(){se(ft,ft.current),se(dn,dn.current)}function hn(n){Q(dn),Nn===n&&(Nn=null),Q(ft)}var ft=D(0);function As(n){for(var l=n;l!==null;){if(l.tag===13){var o=l.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Hd(o)||Kd(o)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var da=0,Me=null,Xe=null,bt=null,Ls=!1,Pr=!1,Il=!1,ks=0,Gi=0,Or=null,cx=0;function ot(){throw Error(r(321))}function Pf(n,l){if(l===null)return!1;for(var o=0;o<l.length&&o<n.length;o++)if(!un(n[o],l[o]))return!1;return!0}function Of(n,l,o,c,m,g){return da=g,Me=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,z.H=n===null||n.memoizedState===null?jm:Zf,Il=!1,g=o(c,m),Il=!1,Pr&&(g=nm(l,o,c,m)),tm(n),g}function tm(n){z.H=Xi;var l=Xe!==null&&Xe.next!==null;if(da=0,bt=Xe=Me=null,Ls=!1,Gi=0,Or=null,l)throw Error(r(300));n===null||vt||(n=n.dependencies,n!==null&&xs(n)&&(vt=!0))}function nm(n,l,o,c){Me=n;var m=0;do{if(Pr&&(Or=null),Gi=0,Pr=!1,25<=m)throw Error(r(301));if(m+=1,bt=Xe=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}z.H=Im,g=l(o,c)}while(Pr);return g}function ux(){var n=z.H,l=n.useState()[0];return l=typeof l.then=="function"?qi(l):l,n=n.useState()[0],(Xe!==null?Xe.memoizedState:null)!==n&&(Me.flags|=1024),l}function jf(){var n=ks!==0;return ks=0,n}function If(n,l,o){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~o}function Bf(n){if(Ls){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}Ls=!1}da=0,bt=Xe=Me=null,Pr=!1,Gi=ks=0,Or=null}function Ut(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?Me.memoizedState=bt=n:bt=bt.next=n,bt}function dt(){if(Xe===null){var n=Me.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var l=bt===null?Me.memoizedState:bt.next;if(l!==null)bt=l,Xe=n;else{if(n===null)throw Me.alternate===null?Error(r(467)):Error(r(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},bt===null?Me.memoizedState=bt=n:bt=bt.next=n}return bt}function Ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qi(n){var l=Gi;return Gi+=1,Or===null&&(Or=[]),n=G1(Or,n,l),l=Me,(bt===null?l.memoizedState:bt.next)===null&&(l=l.alternate,z.H=l===null||l.memoizedState===null?jm:Zf),n}function Ds(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return qi(n);if(n.$$typeof===N)return Pt(n)}throw Error(r(438,String(n)))}function Hf(n){var l=null,o=Me.updateQueue;if(o!==null&&(l=o.memoCache),l==null){var c=Me.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(l={data:c.data.map(function(m){return m.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),o===null&&(o=Ns(),Me.updateQueue=o),o.memoCache=l,o=l.data[l.index],o===void 0)for(o=l.data[l.index]=Array(n),c=0;c<n;c++)o[c]=U;return l.index++,o}function ha(n,l){return typeof l=="function"?l(n):l}function $s(n){var l=dt();return Kf(l,Xe,n)}function Kf(n,l,o){var c=n.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var m=n.baseQueue,g=c.pending;if(g!==null){if(m!==null){var w=m.next;m.next=g.next,g.next=w}l.baseQueue=m=g,c.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{l=m.next;var R=w=null,P=null,X=l,te=!1;do{var re=X.lane&-536870913;if(re!==X.lane?(Oe&re)===re:(da&re)===re){var Z=X.revertLane;if(Z===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),re===kr&&(te=!0);else if((da&Z)===Z){X=X.next,Z===kr&&(te=!0);continue}else re={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=re,w=g):P=P.next=re,Me.lanes|=Z,qa|=Z;re=X.action,Il&&o(g,re),g=X.hasEagerState?X.eagerState:o(g,re)}else Z={lane:re,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=Z,w=g):P=P.next=Z,Me.lanes|=re,qa|=re;X=X.next}while(X!==null&&X!==l);if(P===null?w=g:P.next=R,!un(g,n.memoizedState)&&(vt=!0,te&&(o=Nr,o!==null)))throw o;n.memoizedState=g,n.baseState=w,n.baseQueue=P,c.lastRenderedState=g}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function Uf(n){var l=dt(),o=l.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var c=o.dispatch,m=o.pending,g=l.memoizedState;if(m!==null){o.pending=null;var w=m=m.next;do g=n(g,w.action),w=w.next;while(w!==m);un(g,l.memoizedState)||(vt=!0),l.memoizedState=g,l.baseQueue===null&&(l.baseState=g),o.lastRenderedState=g}return[g,c]}function am(n,l,o){var c=Me,m=dt(),g=Ie;if(g){if(o===void 0)throw Error(r(407));o=o()}else o=l();var w=!un((Xe||m).memoizedState,o);if(w&&(m.memoizedState=o,vt=!0),m=m.queue,Ff(im.bind(null,c,m,n),[n]),m.getSnapshot!==l||w||bt!==null&&bt.memoizedState.tag&1){if(c.flags|=2048,jr(9,{destroy:void 0},rm.bind(null,c,m,o,l),null),Qe===null)throw Error(r(349));g||(da&127)!==0||lm(c,l,o)}return o}function lm(n,l,o){n.flags|=16384,n={getSnapshot:l,value:o},l=Me.updateQueue,l===null?(l=Ns(),Me.updateQueue=l,l.stores=[n]):(o=l.stores,o===null?l.stores=[n]:o.push(n))}function rm(n,l,o,c){l.value=o,l.getSnapshot=c,om(l)&&sm(n)}function im(n,l,o){return o(function(){om(l)&&sm(n)})}function om(n){var l=n.getSnapshot;n=n.value;try{var o=l();return!un(n,o)}catch{return!0}}function sm(n){var l=Ll(n,2);l!==null&&Qt(l,n,2)}function Vf(n){var l=Ut();if(typeof n=="function"){var o=n;if(n=o(),Il){$a(!0);try{o()}finally{$a(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:n},l}function cm(n,l,o,c){return n.baseState=o,Kf(n,Xe,typeof c=="function"?c:ha)}function fx(n,l,o,c,m){if(Os(n))throw Error(r(485));if(n=l.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){g.listeners.push(w)}};z.T!==null?o(!0):g.isTransition=!1,c(g),o=l.pending,o===null?(g.next=l.pending=g,um(l,g)):(g.next=o.next,l.pending=o.next=g)}}function um(n,l){var o=l.action,c=l.payload,m=n.state;if(l.isTransition){var g=z.T,w={};z.T=w;try{var R=o(m,c),P=z.S;P!==null&&P(w,R),fm(n,l,R)}catch(X){_f(n,l,X)}finally{g!==null&&w.types!==null&&(g.types=w.types),z.T=g}}else try{g=o(m,c),fm(n,l,g)}catch(X){_f(n,l,X)}}function fm(n,l,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){dm(n,l,c)},function(c){return _f(n,l,c)}):dm(n,l,o)}function dm(n,l,o){l.status="fulfilled",l.value=o,hm(l),n.state=o,l=n.pending,l!==null&&(o=l.next,o===l?n.pending=null:(o=o.next,l.next=o,um(n,o)))}function _f(n,l,o){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do l.status="rejected",l.reason=o,hm(l),l=l.next;while(l!==c)}n.action=null}function hm(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function mm(n,l){return l}function pm(n,l){if(Ie){var o=Qe.formState;if(o!==null){e:{var c=Me;if(Ie){if(nt){t:{for(var m=nt,g=kn;m.nodeType!==8;){if(!g){m=null;break t}if(m=Dn(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){nt=Dn(m.nextSibling),c=m.data==="F!";break e}}Ia(c)}c=!1}c&&(l=o[0])}}return o=Ut(),o.memoizedState=o.baseState=l,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mm,lastRenderedState:l},o.queue=c,o=zm.bind(null,Me,c),c.dispatch=o,c=Vf(!1),g=Wf.bind(null,Me,!1,c.queue),c=Ut(),m={state:l,dispatch:null,action:n,pending:null},c.queue=m,o=fx.bind(null,Me,m,g,o),m.dispatch=o,c.memoizedState=n,[l,o,!1]}function gm(n){var l=dt();return bm(l,Xe,n)}function bm(n,l,o){if(l=Kf(n,l,mm)[0],n=$s(ha)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var c=qi(l)}catch(w){throw w===Dr?Cs:w}else c=l;l=dt();var m=l.queue,g=m.dispatch;return o!==l.memoizedState&&(Me.flags|=2048,jr(9,{destroy:void 0},dx.bind(null,m,o),null)),[c,g,n]}function dx(n,l){n.action=l}function vm(n){var l=dt(),o=Xe;if(o!==null)return bm(l,o,n);dt(),l=l.memoizedState,o=dt();var c=o.queue.dispatch;return o.memoizedState=n,[l,c,!1]}function jr(n,l,o,c){return n={tag:n,create:o,deps:c,inst:l,next:null},l=Me.updateQueue,l===null&&(l=Ns(),Me.updateQueue=l),o=l.lastEffect,o===null?l.lastEffect=n.next=n:(c=o.next,o.next=n,n.next=c,l.lastEffect=n),n}function ym(){return dt().memoizedState}function zs(n,l,o,c){var m=Ut();Me.flags|=n,m.memoizedState=jr(1|l,{destroy:void 0},o,c===void 0?null:c)}function Ps(n,l,o,c){var m=dt();c=c===void 0?null:c;var g=m.memoizedState.inst;Xe!==null&&c!==null&&Pf(c,Xe.memoizedState.deps)?m.memoizedState=jr(l,g,o,c):(Me.flags|=n,m.memoizedState=jr(1|l,g,o,c))}function xm(n,l){zs(8390656,8,n,l)}function Ff(n,l){Ps(2048,8,n,l)}function hx(n){Me.flags|=4;var l=Me.updateQueue;if(l===null)l=Ns(),Me.updateQueue=l,l.events=[n];else{var o=l.events;o===null?l.events=[n]:o.push(n)}}function Sm(n){var l=dt().memoizedState;return hx({ref:l,nextImpl:n}),function(){if((_e&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function wm(n,l){return Ps(4,2,n,l)}function Cm(n,l){return Ps(4,4,n,l)}function Em(n,l){if(typeof l=="function"){n=n();var o=l(n);return function(){typeof o=="function"?o():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function Tm(n,l,o){o=o!=null?o.concat([n]):null,Ps(4,4,Em.bind(null,l,n),o)}function Gf(){}function Rm(n,l){var o=dt();l=l===void 0?null:l;var c=o.memoizedState;return l!==null&&Pf(l,c[1])?c[0]:(o.memoizedState=[n,l],n)}function Mm(n,l){var o=dt();l=l===void 0?null:l;var c=o.memoizedState;if(l!==null&&Pf(l,c[1]))return c[0];if(c=n(),Il){$a(!0);try{n()}finally{$a(!1)}}return o.memoizedState=[c,l],c}function qf(n,l,o){return o===void 0||(da&1073741824)!==0&&(Oe&261930)===0?n.memoizedState=l:(n.memoizedState=o,n=Ap(),Me.lanes|=n,qa|=n,o)}function Am(n,l,o,c){return un(o,l)?o:zr.current!==null?(n=qf(n,o,c),un(n,l)||(vt=!0),n):(da&42)===0||(da&1073741824)!==0&&(Oe&261930)===0?(vt=!0,n.memoizedState=o):(n=Ap(),Me.lanes|=n,qa|=n,l)}function Lm(n,l,o,c,m){var g=O.p;O.p=g!==0&&8>g?g:8;var w=z.T,R={};z.T=R,Wf(n,!1,l,o);try{var P=m(),X=z.S;if(X!==null&&X(R,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var te=sx(P,c);Yi(n,l,te,gn(n))}else Yi(n,l,c,gn(n))}catch(re){Yi(n,l,{then:function(){},status:"rejected",reason:re},gn())}finally{O.p=g,w!==null&&R.types!==null&&(w.types=R.types),z.T=w}}function mx(){}function Yf(n,l,o,c){if(n.tag!==5)throw Error(r(476));var m=km(n).queue;Lm(n,m,l,oe,o===null?mx:function(){return Nm(n),o(c)})}function km(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:oe},next:null};var o={};return l.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:o},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function Nm(n){var l=km(n);l.next===null&&(l=n.alternate.memoizedState),Yi(n,l.next.queue,{},gn())}function Xf(){return Pt(fo)}function Dm(){return dt().memoizedState}function $m(){return dt().memoizedState}function px(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var o=gn();n=Ka(o);var c=Ua(l,n,o);c!==null&&(Qt(c,l,o),Vi(c,l,o)),l={cache:Ef()},n.payload=l;return}l=l.return}}function gx(n,l,o){var c=gn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Os(n)?Pm(l,o):(o=hf(n,l,o,c),o!==null&&(Qt(o,n,c),Om(o,l,c)))}function zm(n,l,o){var c=gn();Yi(n,l,o,c)}function Yi(n,l,o,c){var m={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Os(n))Pm(l,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=l.lastRenderedReducer,g!==null))try{var w=l.lastRenderedState,R=g(w,o);if(m.hasEagerState=!0,m.eagerState=R,un(R,w))return gs(n,l,m,0),Qe===null&&ps(),!1}catch{}finally{}if(o=hf(n,l,m,c),o!==null)return Qt(o,n,c),Om(o,l,c),!0}return!1}function Wf(n,l,o,c){if(c={lane:2,revertLane:Ad(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Os(n)){if(l)throw Error(r(479))}else l=hf(n,o,c,2),l!==null&&Qt(l,n,2)}function Os(n){var l=n.alternate;return n===Me||l!==null&&l===Me}function Pm(n,l){Pr=Ls=!0;var o=n.pending;o===null?l.next=l:(l.next=o.next,o.next=l),n.pending=l}function Om(n,l,o){if((o&4194048)!==0){var c=l.lanes;c&=n.pendingLanes,o|=c,l.lanes=o,Kh(n,o)}}var Xi={readContext:Pt,use:Ds,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useLayoutEffect:ot,useInsertionEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useSyncExternalStore:ot,useId:ot,useHostTransitionStatus:ot,useFormState:ot,useActionState:ot,useOptimistic:ot,useMemoCache:ot,useCacheRefresh:ot};Xi.useEffectEvent=ot;var jm={readContext:Pt,use:Ds,useCallback:function(n,l){return Ut().memoizedState=[n,l===void 0?null:l],n},useContext:Pt,useEffect:xm,useImperativeHandle:function(n,l,o){o=o!=null?o.concat([n]):null,zs(4194308,4,Em.bind(null,l,n),o)},useLayoutEffect:function(n,l){return zs(4194308,4,n,l)},useInsertionEffect:function(n,l){zs(4,2,n,l)},useMemo:function(n,l){var o=Ut();l=l===void 0?null:l;var c=n();if(Il){$a(!0);try{n()}finally{$a(!1)}}return o.memoizedState=[c,l],c},useReducer:function(n,l,o){var c=Ut();if(o!==void 0){var m=o(l);if(Il){$a(!0);try{o(l)}finally{$a(!1)}}}else m=l;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=gx.bind(null,Me,n),[c.memoizedState,n]},useRef:function(n){var l=Ut();return n={current:n},l.memoizedState=n},useState:function(n){n=Vf(n);var l=n.queue,o=zm.bind(null,Me,l);return l.dispatch=o,[n.memoizedState,o]},useDebugValue:Gf,useDeferredValue:function(n,l){var o=Ut();return qf(o,n,l)},useTransition:function(){var n=Vf(!1);return n=Lm.bind(null,Me,n.queue,!0,!1),Ut().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,o){var c=Me,m=Ut();if(Ie){if(o===void 0)throw Error(r(407));o=o()}else{if(o=l(),Qe===null)throw Error(r(349));(Oe&127)!==0||lm(c,l,o)}m.memoizedState=o;var g={value:o,getSnapshot:l};return m.queue=g,xm(im.bind(null,c,g,n),[n]),c.flags|=2048,jr(9,{destroy:void 0},rm.bind(null,c,g,o,l),null),o},useId:function(){var n=Ut(),l=Qe.identifierPrefix;if(Ie){var o=Yn,c=qn;o=(c&~(1<<32-cn(c)-1)).toString(32)+o,l="_"+l+"R_"+o,o=ks++,0<o&&(l+="H"+o.toString(32)),l+="_"}else o=cx++,l="_"+l+"r_"+o.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Xf,useFormState:pm,useActionState:pm,useOptimistic:function(n){var l=Ut();l.memoizedState=l.baseState=n;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=o,l=Wf.bind(null,Me,!0,o),o.dispatch=l,[n,l]},useMemoCache:Hf,useCacheRefresh:function(){return Ut().memoizedState=px.bind(null,Me)},useEffectEvent:function(n){var l=Ut(),o={impl:n};return l.memoizedState=o,function(){if((_e&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Zf={readContext:Pt,use:Ds,useCallback:Rm,useContext:Pt,useEffect:Ff,useImperativeHandle:Tm,useInsertionEffect:wm,useLayoutEffect:Cm,useMemo:Mm,useReducer:$s,useRef:ym,useState:function(){return $s(ha)},useDebugValue:Gf,useDeferredValue:function(n,l){var o=dt();return Am(o,Xe.memoizedState,n,l)},useTransition:function(){var n=$s(ha)[0],l=dt().memoizedState;return[typeof n=="boolean"?n:qi(n),l]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:Xf,useFormState:gm,useActionState:gm,useOptimistic:function(n,l){var o=dt();return cm(o,Xe,n,l)},useMemoCache:Hf,useCacheRefresh:$m};Zf.useEffectEvent=Sm;var Im={readContext:Pt,use:Ds,useCallback:Rm,useContext:Pt,useEffect:Ff,useImperativeHandle:Tm,useInsertionEffect:wm,useLayoutEffect:Cm,useMemo:Mm,useReducer:Uf,useRef:ym,useState:function(){return Uf(ha)},useDebugValue:Gf,useDeferredValue:function(n,l){var o=dt();return Xe===null?qf(o,n,l):Am(o,Xe.memoizedState,n,l)},useTransition:function(){var n=Uf(ha)[0],l=dt().memoizedState;return[typeof n=="boolean"?n:qi(n),l]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:Xf,useFormState:vm,useActionState:vm,useOptimistic:function(n,l){var o=dt();return Xe!==null?cm(o,Xe,n,l):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:Hf,useCacheRefresh:$m};Im.useEffectEvent=Sm;function Qf(n,l,o,c){l=n.memoizedState,o=o(c,l),o=o==null?l:b({},l,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Jf={enqueueSetState:function(n,l,o){n=n._reactInternals;var c=gn(),m=Ka(c);m.payload=l,o!=null&&(m.callback=o),l=Ua(n,m,c),l!==null&&(Qt(l,n,c),Vi(l,n,c))},enqueueReplaceState:function(n,l,o){n=n._reactInternals;var c=gn(),m=Ka(c);m.tag=1,m.payload=l,o!=null&&(m.callback=o),l=Ua(n,m,c),l!==null&&(Qt(l,n,c),Vi(l,n,c))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var o=gn(),c=Ka(o);c.tag=2,l!=null&&(c.callback=l),l=Ua(n,c,o),l!==null&&(Qt(l,n,o),Vi(l,n,o))}};function Bm(n,l,o,c,m,g,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,w):l.prototype&&l.prototype.isPureReactComponent?!Pi(o,c)||!Pi(m,g):!0}function Hm(n,l,o,c){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(o,c),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(o,c),l.state!==n&&Jf.enqueueReplaceState(l,l.state,null)}function Bl(n,l){var o=l;if("ref"in l){o={};for(var c in l)c!=="ref"&&(o[c]=l[c])}if(n=n.defaultProps){o===l&&(o=b({},o));for(var m in n)o[m]===void 0&&(o[m]=n[m])}return o}function Km(n){ms(n)}function Um(n){console.error(n)}function Vm(n){ms(n)}function js(n,l){try{var o=n.onUncaughtError;o(l.value,{componentStack:l.stack})}catch(c){setTimeout(function(){throw c})}}function _m(n,l,o){try{var c=n.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function ed(n,l,o){return o=Ka(o),o.tag=3,o.payload={element:null},o.callback=function(){js(n,l)},o}function Fm(n){return n=Ka(n),n.tag=3,n}function Gm(n,l,o,c){var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;n.payload=function(){return m(g)},n.callback=function(){_m(l,o,c)}}var w=o.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(n.callback=function(){_m(l,o,c),typeof m!="function"&&(Ya===null?Ya=new Set([this]):Ya.add(this));var R=c.stack;this.componentDidCatch(c.value,{componentStack:R!==null?R:""})})}function bx(n,l,o,c,m){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(l=o.alternate,l!==null&&Lr(l,o,m,!0),o=dn.current,o!==null){switch(o.tag){case 31:case 13:return Nn===null?Xs():o.alternate===null&&st===0&&(st=3),o.flags&=-257,o.flags|=65536,o.lanes=m,c===Es?o.flags|=16384:(l=o.updateQueue,l===null?o.updateQueue=new Set([c]):l.add(c),Td(n,c,m)),!1;case 22:return o.flags|=65536,c===Es?o.flags|=16384:(l=o.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=l):(o=l.retryQueue,o===null?l.retryQueue=new Set([c]):o.add(c)),Td(n,c,m)),!1}throw Error(r(435,o.tag))}return Td(n,c,m),Xs(),!1}if(Ie)return l=dn.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=m,c!==yf&&(n=Error(r(422),{cause:c}),Ii(Mn(n,o)))):(c!==yf&&(l=Error(r(423),{cause:c}),Ii(Mn(l,o))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=Mn(c,o),m=ed(n.stateNode,c,m),kf(n,m),st!==4&&(st=2)),!1;var g=Error(r(520),{cause:c});if(g=Mn(g,o),ao===null?ao=[g]:ao.push(g),st!==4&&(st=2),l===null)return!0;c=Mn(c,o),o=l;do{switch(o.tag){case 3:return o.flags|=65536,n=m&-m,o.lanes|=n,n=ed(o.stateNode,c,n),kf(o,n),!1;case 1:if(l=o.type,g=o.stateNode,(o.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Ya===null||!Ya.has(g))))return o.flags|=65536,m&=-m,o.lanes|=m,m=Fm(m),Gm(m,n,o,c),kf(o,m),!1}o=o.return}while(o!==null);return!1}var td=Error(r(461)),vt=!1;function Ot(n,l,o,c){l.child=n===null?W1(l,null,o,c):jl(l,n.child,o,c)}function qm(n,l,o,c,m){o=o.render;var g=l.ref;if("ref"in c){var w={};for(var R in c)R!=="ref"&&(w[R]=c[R])}else w=c;return $l(l),c=Of(n,l,o,w,g,m),R=jf(),n!==null&&!vt?(If(n,l,m),ma(n,l,m)):(Ie&&R&&bf(l),l.flags|=1,Ot(n,l,c,m),l.child)}function Ym(n,l,o,c,m){if(n===null){var g=o.type;return typeof g=="function"&&!mf(g)&&g.defaultProps===void 0&&o.compare===null?(l.tag=15,l.type=g,Xm(n,l,g,c,m)):(n=vs(o.type,null,c,l,l.mode,m),n.ref=l.ref,n.return=l,l.child=n)}if(g=n.child,!cd(n,m)){var w=g.memoizedProps;if(o=o.compare,o=o!==null?o:Pi,o(w,c)&&n.ref===l.ref)return ma(n,l,m)}return l.flags|=1,n=sa(g,c),n.ref=l.ref,n.return=l,l.child=n}function Xm(n,l,o,c,m){if(n!==null){var g=n.memoizedProps;if(Pi(g,c)&&n.ref===l.ref)if(vt=!1,l.pendingProps=c=g,cd(n,m))(n.flags&131072)!==0&&(vt=!0);else return l.lanes=n.lanes,ma(n,l,m)}return nd(n,l,o,c,m)}function Wm(n,l,o,c){var m=c.children,g=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((l.flags&128)!==0){if(g=g!==null?g.baseLanes|o:o,n!==null){for(c=l.child=n.child,m=0;c!==null;)m=m|c.lanes|c.childLanes,c=c.sibling;c=m&~g}else c=0,l.child=null;return Zm(n,l,g,o,c)}if((o&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&ws(l,g!==null?g.cachePool:null),g!==null?J1(l,g):Df(),em(l);else return c=l.lanes=536870912,Zm(n,l,g!==null?g.baseLanes|o:o,o,c)}else g!==null?(ws(l,g.cachePool),J1(l,g),_a(),l.memoizedState=null):(n!==null&&ws(l,null),Df(),_a());return Ot(n,l,m,o),l.child}function Wi(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Zm(n,l,o,c,m){var g=Rf();return g=g===null?null:{parent:gt._currentValue,pool:g},l.memoizedState={baseLanes:o,cachePool:g},n!==null&&ws(l,null),Df(),em(l),n!==null&&Lr(n,l,c,!0),l.childLanes=m,null}function Is(n,l){return l=Hs({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function Qm(n,l,o){return jl(l,n.child,null,o),n=Is(l,l.pendingProps),n.flags|=2,hn(l),l.memoizedState=null,n}function vx(n,l,o){var c=l.pendingProps,m=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(Ie){if(c.mode==="hidden")return n=Is(l,c),l.lanes=536870912,Wi(null,n);if(zf(l),(n=nt)?(n=ug(n,kn),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Oa!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=P1(n),o.return=l,l.child=o,zt=l,nt=null)):n=null,n===null)throw Ia(l);return l.lanes=536870912,null}return Is(l,c)}var g=n.memoizedState;if(g!==null){var w=g.dehydrated;if(zf(l),m)if(l.flags&256)l.flags&=-257,l=Qm(n,l,o);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(r(558));else if(vt||Lr(n,l,o,!1),m=(o&n.childLanes)!==0,vt||m){if(c=Qe,c!==null&&(w=Uh(c,o),w!==0&&w!==g.retryLane))throw g.retryLane=w,Ll(n,w),Qt(c,n,w),td;Xs(),l=Qm(n,l,o)}else n=g.treeContext,nt=Dn(w.nextSibling),zt=l,Ie=!0,ja=null,kn=!1,n!==null&&I1(l,n),l=Is(l,c),l.flags|=4096;return l}return n=sa(n.child,{mode:c.mode,children:c.children}),n.ref=l.ref,l.child=n,n.return=l,n}function Bs(n,l){var o=l.ref;if(o===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(n===null||n.ref!==o)&&(l.flags|=4194816)}}function nd(n,l,o,c,m){return $l(l),o=Of(n,l,o,c,void 0,m),c=jf(),n!==null&&!vt?(If(n,l,m),ma(n,l,m)):(Ie&&c&&bf(l),l.flags|=1,Ot(n,l,o,m),l.child)}function Jm(n,l,o,c,m,g){return $l(l),l.updateQueue=null,o=nm(l,c,o,m),tm(n),c=jf(),n!==null&&!vt?(If(n,l,g),ma(n,l,g)):(Ie&&c&&bf(l),l.flags|=1,Ot(n,l,o,g),l.child)}function ep(n,l,o,c,m){if($l(l),l.stateNode===null){var g=Tr,w=o.contextType;typeof w=="object"&&w!==null&&(g=Pt(w)),g=new o(c,g),l.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Jf,l.stateNode=g,g._reactInternals=l,g=l.stateNode,g.props=c,g.state=l.memoizedState,g.refs={},Af(l),w=o.contextType,g.context=typeof w=="object"&&w!==null?Pt(w):Tr,g.state=l.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(Qf(l,o,w,c),g.state=l.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(w=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),w!==g.state&&Jf.enqueueReplaceState(g,g.state,null),Fi(l,c,g,m),_i(),g.state=l.memoizedState),typeof g.componentDidMount=="function"&&(l.flags|=4194308),c=!0}else if(n===null){g=l.stateNode;var R=l.memoizedProps,P=Bl(o,R);g.props=P;var X=g.context,te=o.contextType;w=Tr,typeof te=="object"&&te!==null&&(w=Pt(te));var re=o.getDerivedStateFromProps;te=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=l.pendingProps!==R,te||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||X!==w)&&Hm(l,g,c,w),Ha=!1;var Z=l.memoizedState;g.state=Z,Fi(l,c,g,m),_i(),X=l.memoizedState,R||Z!==X||Ha?(typeof re=="function"&&(Qf(l,o,re,c),X=l.memoizedState),(P=Ha||Bm(l,o,P,c,Z,X,w))?(te||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(l.flags|=4194308)):(typeof g.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=c,l.memoizedState=X),g.props=c,g.state=X,g.context=w,c=P):(typeof g.componentDidMount=="function"&&(l.flags|=4194308),c=!1)}else{g=l.stateNode,Lf(n,l),w=l.memoizedProps,te=Bl(o,w),g.props=te,re=l.pendingProps,Z=g.context,X=o.contextType,P=Tr,typeof X=="object"&&X!==null&&(P=Pt(X)),R=o.getDerivedStateFromProps,(X=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w!==re||Z!==P)&&Hm(l,g,c,P),Ha=!1,Z=l.memoizedState,g.state=Z,Fi(l,c,g,m),_i();var ee=l.memoizedState;w!==re||Z!==ee||Ha||n!==null&&n.dependencies!==null&&xs(n.dependencies)?(typeof R=="function"&&(Qf(l,o,R,c),ee=l.memoizedState),(te=Ha||Bm(l,o,te,c,Z,ee,P)||n!==null&&n.dependencies!==null&&xs(n.dependencies))?(X||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,ee,P),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,ee,P)),typeof g.componentDidUpdate=="function"&&(l.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&Z===n.memoizedState||(l.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&Z===n.memoizedState||(l.flags|=1024),l.memoizedProps=c,l.memoizedState=ee),g.props=c,g.state=ee,g.context=P,c=te):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&Z===n.memoizedState||(l.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&Z===n.memoizedState||(l.flags|=1024),c=!1)}return g=c,Bs(n,l),c=(l.flags&128)!==0,g||c?(g=l.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:g.render(),l.flags|=1,n!==null&&c?(l.child=jl(l,n.child,null,m),l.child=jl(l,null,o,m)):Ot(n,l,o,m),l.memoizedState=g.state,n=l.child):n=ma(n,l,m),n}function tp(n,l,o,c){return Nl(),l.flags|=256,Ot(n,l,o,c),l.child}var ad={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(n){return{baseLanes:n,cachePool:_1()}}function rd(n,l,o){return n=n!==null?n.childLanes&~o:0,l&&(n|=pn),n}function np(n,l,o){var c=l.pendingProps,m=!1,g=(l.flags&128)!==0,w;if((w=g)||(w=n!==null&&n.memoizedState===null?!1:(ft.current&2)!==0),w&&(m=!0,l.flags&=-129),w=(l.flags&32)!==0,l.flags&=-33,n===null){if(Ie){if(m?Va(l):_a(),(n=nt)?(n=ug(n,kn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:Oa!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=P1(n),o.return=l,l.child=o,zt=l,nt=null)):n=null,n===null)throw Ia(l);return Kd(n)?l.lanes=32:l.lanes=536870912,null}var R=c.children;return c=c.fallback,m?(_a(),m=l.mode,R=Hs({mode:"hidden",children:R},m),c=kl(c,m,o,null),R.return=l,c.return=l,R.sibling=c,l.child=R,c=l.child,c.memoizedState=ld(o),c.childLanes=rd(n,w,o),l.memoizedState=ad,Wi(null,c)):(Va(l),id(l,R))}var P=n.memoizedState;if(P!==null&&(R=P.dehydrated,R!==null)){if(g)l.flags&256?(Va(l),l.flags&=-257,l=od(n,l,o)):l.memoizedState!==null?(_a(),l.child=n.child,l.flags|=128,l=null):(_a(),R=c.fallback,m=l.mode,c=Hs({mode:"visible",children:c.children},m),R=kl(R,m,o,null),R.flags|=2,c.return=l,R.return=l,c.sibling=R,l.child=c,jl(l,n.child,null,o),c=l.child,c.memoizedState=ld(o),c.childLanes=rd(n,w,o),l.memoizedState=ad,l=Wi(null,c));else if(Va(l),Kd(R)){if(w=R.nextSibling&&R.nextSibling.dataset,w)var X=w.dgst;w=X,c=Error(r(419)),c.stack="",c.digest=w,Ii({value:c,source:null,stack:null}),l=od(n,l,o)}else if(vt||Lr(n,l,o,!1),w=(o&n.childLanes)!==0,vt||w){if(w=Qe,w!==null&&(c=Uh(w,o),c!==0&&c!==P.retryLane))throw P.retryLane=c,Ll(n,c),Qt(w,n,c),td;Hd(R)||Xs(),l=od(n,l,o)}else Hd(R)?(l.flags|=192,l.child=n.child,l=null):(n=P.treeContext,nt=Dn(R.nextSibling),zt=l,Ie=!0,ja=null,kn=!1,n!==null&&I1(l,n),l=id(l,c.children),l.flags|=4096);return l}return m?(_a(),R=c.fallback,m=l.mode,P=n.child,X=P.sibling,c=sa(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,X!==null?R=sa(X,R):(R=kl(R,m,o,null),R.flags|=2),R.return=l,c.return=l,c.sibling=R,l.child=c,Wi(null,c),c=l.child,R=n.child.memoizedState,R===null?R=ld(o):(m=R.cachePool,m!==null?(P=gt._currentValue,m=m.parent!==P?{parent:P,pool:P}:m):m=_1(),R={baseLanes:R.baseLanes|o,cachePool:m}),c.memoizedState=R,c.childLanes=rd(n,w,o),l.memoizedState=ad,Wi(n.child,c)):(Va(l),o=n.child,n=o.sibling,o=sa(o,{mode:"visible",children:c.children}),o.return=l,o.sibling=null,n!==null&&(w=l.deletions,w===null?(l.deletions=[n],l.flags|=16):w.push(n)),l.child=o,l.memoizedState=null,o)}function id(n,l){return l=Hs({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Hs(n,l){return n=fn(22,n,null,l),n.lanes=0,n}function od(n,l,o){return jl(l,n.child,null,o),n=id(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function ap(n,l,o){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l),wf(n.return,l,o)}function sd(n,l,o,c,m,g){var w=n.memoizedState;w===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:m,treeForkCount:g}:(w.isBackwards=l,w.rendering=null,w.renderingStartTime=0,w.last=c,w.tail=o,w.tailMode=m,w.treeForkCount=g)}function lp(n,l,o){var c=l.pendingProps,m=c.revealOrder,g=c.tail;c=c.children;var w=ft.current,R=(w&2)!==0;if(R?(w=w&1|2,l.flags|=128):w&=1,se(ft,w),Ot(n,l,c,o),c=Ie?ji:0,!R&&n!==null&&(n.flags&128)!==0)e:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&ap(n,o,l);else if(n.tag===19)ap(n,o,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(m){case"forwards":for(o=l.child,m=null;o!==null;)n=o.alternate,n!==null&&As(n)===null&&(m=o),o=o.sibling;o=m,o===null?(m=l.child,l.child=null):(m=o.sibling,o.sibling=null),sd(l,!1,m,o,g,c);break;case"backwards":case"unstable_legacy-backwards":for(o=null,m=l.child,l.child=null;m!==null;){if(n=m.alternate,n!==null&&As(n)===null){l.child=m;break}n=m.sibling,m.sibling=o,o=m,m=n}sd(l,!0,o,null,g,c);break;case"together":sd(l,!1,null,null,void 0,c);break;default:l.memoizedState=null}return l.child}function ma(n,l,o){if(n!==null&&(l.dependencies=n.dependencies),qa|=l.lanes,(o&l.childLanes)===0)if(n!==null){if(Lr(n,l,o,!1),(o&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(r(153));if(l.child!==null){for(n=l.child,o=sa(n,n.pendingProps),l.child=o,o.return=l;n.sibling!==null;)n=n.sibling,o=o.sibling=sa(n,n.pendingProps),o.return=l;o.sibling=null}return l.child}function cd(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&xs(n)))}function yx(n,l,o){switch(l.tag){case 3:Le(l,l.stateNode.containerInfo),Ba(l,gt,n.memoizedState.cache),Nl();break;case 27:case 5:kt(l);break;case 4:Le(l,l.stateNode.containerInfo);break;case 10:Ba(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,zf(l),null;break;case 13:var c=l.memoizedState;if(c!==null)return c.dehydrated!==null?(Va(l),l.flags|=128,null):(o&l.child.childLanes)!==0?np(n,l,o):(Va(l),n=ma(n,l,o),n!==null?n.sibling:null);Va(l);break;case 19:var m=(n.flags&128)!==0;if(c=(o&l.childLanes)!==0,c||(Lr(n,l,o,!1),c=(o&l.childLanes)!==0),m){if(c)return lp(n,l,o);l.flags|=128}if(m=l.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),se(ft,ft.current),c)break;return null;case 22:return l.lanes=0,Wm(n,l,o,l.pendingProps);case 24:Ba(l,gt,n.memoizedState.cache)}return ma(n,l,o)}function rp(n,l,o){if(n!==null)if(n.memoizedProps!==l.pendingProps)vt=!0;else{if(!cd(n,o)&&(l.flags&128)===0)return vt=!1,yx(n,l,o);vt=(n.flags&131072)!==0}else vt=!1,Ie&&(l.flags&1048576)!==0&&j1(l,ji,l.index);switch(l.lanes=0,l.tag){case 16:e:{var c=l.pendingProps;if(n=Pl(l.elementType),l.type=n,typeof n=="function")mf(n)?(c=Bl(n,c),l.tag=1,l=ep(null,l,n,c,o)):(l.tag=0,l=nd(null,l,n,c,o));else{if(n!=null){var m=n.$$typeof;if(m===A){l.tag=11,l=qm(null,l,n,c,o);break e}else if(m===$){l.tag=14,l=Ym(null,l,n,c,o);break e}}throw l=j(n)||n,Error(r(306,l,""))}}return l;case 0:return nd(n,l,l.type,l.pendingProps,o);case 1:return c=l.type,m=Bl(c,l.pendingProps),ep(n,l,c,m,o);case 3:e:{if(Le(l,l.stateNode.containerInfo),n===null)throw Error(r(387));c=l.pendingProps;var g=l.memoizedState;m=g.element,Lf(n,l),Fi(l,c,null,o);var w=l.memoizedState;if(c=w.cache,Ba(l,gt,c),c!==g.cache&&Cf(l,[gt],o,!0),_i(),c=w.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:w.cache},l.updateQueue.baseState=g,l.memoizedState=g,l.flags&256){l=tp(n,l,c,o);break e}else if(c!==m){m=Mn(Error(r(424)),l),Ii(m),l=tp(n,l,c,o);break e}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(nt=Dn(n.firstChild),zt=l,Ie=!0,ja=null,kn=!0,o=W1(l,null,c,o),l.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Nl(),c===m){l=ma(n,l,o);break e}Ot(n,l,c,o)}l=l.child}return l;case 26:return Bs(n,l),n===null?(o=gg(l.type,null,l.pendingProps,null))?l.memoizedState=o:Ie||(o=l.type,n=l.pendingProps,c=nc(ie.current).createElement(o),c[$t]=l,c[Gt]=n,jt(c,o,n),Tt(c),l.stateNode=c):l.memoizedState=gg(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return kt(l),n===null&&Ie&&(c=l.stateNode=hg(l.type,l.pendingProps,ie.current),zt=l,kn=!0,m=nt,Qa(l.type)?(Ud=m,nt=Dn(c.firstChild)):nt=m),Ot(n,l,l.pendingProps.children,o),Bs(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&Ie&&((m=c=nt)&&(c=Xx(c,l.type,l.pendingProps,kn),c!==null?(l.stateNode=c,zt=l,nt=Dn(c.firstChild),kn=!1,m=!0):m=!1),m||Ia(l)),kt(l),m=l.type,g=l.pendingProps,w=n!==null?n.memoizedProps:null,c=g.children,jd(m,g)?c=null:w!==null&&jd(m,w)&&(l.flags|=32),l.memoizedState!==null&&(m=Of(n,l,ux,null,null,o),fo._currentValue=m),Bs(n,l),Ot(n,l,c,o),l.child;case 6:return n===null&&Ie&&((n=o=nt)&&(o=Wx(o,l.pendingProps,kn),o!==null?(l.stateNode=o,zt=l,nt=null,n=!0):n=!1),n||Ia(l)),null;case 13:return np(n,l,o);case 4:return Le(l,l.stateNode.containerInfo),c=l.pendingProps,n===null?l.child=jl(l,null,c,o):Ot(n,l,c,o),l.child;case 11:return qm(n,l,l.type,l.pendingProps,o);case 7:return Ot(n,l,l.pendingProps,o),l.child;case 8:return Ot(n,l,l.pendingProps.children,o),l.child;case 12:return Ot(n,l,l.pendingProps.children,o),l.child;case 10:return c=l.pendingProps,Ba(l,l.type,c.value),Ot(n,l,c.children,o),l.child;case 9:return m=l.type._context,c=l.pendingProps.children,$l(l),m=Pt(m),c=c(m),l.flags|=1,Ot(n,l,c,o),l.child;case 14:return Ym(n,l,l.type,l.pendingProps,o);case 15:return Xm(n,l,l.type,l.pendingProps,o);case 19:return lp(n,l,o);case 31:return vx(n,l,o);case 22:return Wm(n,l,o,l.pendingProps);case 24:return $l(l),c=Pt(gt),n===null?(m=Rf(),m===null&&(m=Qe,g=Ef(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=o),m=g),l.memoizedState={parent:c,cache:m},Af(l),Ba(l,gt,m)):((n.lanes&o)!==0&&(Lf(n,l),Fi(l,null,null,o),_i()),m=n.memoizedState,g=l.memoizedState,m.parent!==c?(m={parent:c,cache:c},l.memoizedState=m,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=m),Ba(l,gt,c)):(c=g.cache,Ba(l,gt,c),c!==m.cache&&Cf(l,[gt],o,!0))),Ot(n,l,l.pendingProps.children,o),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function pa(n){n.flags|=4}function ud(n,l,o,c,m){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(m&335544128)===m)if(n.stateNode.complete)n.flags|=8192;else if(Dp())n.flags|=8192;else throw Ol=Es,Mf}else n.flags&=-16777217}function ip(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Sg(l))if(Dp())n.flags|=8192;else throw Ol=Es,Mf}function Ks(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?Bh():536870912,n.lanes|=l,Kr|=l)}function Zi(n,l){if(!Ie)switch(n.tailMode){case"hidden":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function at(n){var l=n.alternate!==null&&n.alternate.child===n.child,o=0,c=0;if(l)for(var m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=o,l}function xx(n,l,o){var c=l.pendingProps;switch(vf(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(l),null;case 1:return at(l),null;case 3:return o=l.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),fa(gt),de(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Ar(l)?pa(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,xf())),at(l),null;case 26:var m=l.type,g=l.memoizedState;return n===null?(pa(l),g!==null?(at(l),ip(l,g)):(at(l),ud(l,m,null,c,o))):g?g!==n.memoizedState?(pa(l),at(l),ip(l,g)):(at(l),l.flags&=-16777217):(n=n.memoizedProps,n!==c&&pa(l),at(l),ud(l,m,n,c,o)),null;case 27:if(it(l),o=ie.current,m=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&pa(l);else{if(!c){if(l.stateNode===null)throw Error(r(166));return at(l),null}n=ce.current,Ar(l)?B1(l):(n=hg(m,c,o),l.stateNode=n,pa(l))}return at(l),null;case 5:if(it(l),m=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&pa(l);else{if(!c){if(l.stateNode===null)throw Error(r(166));return at(l),null}if(g=ce.current,Ar(l))B1(l);else{var w=nc(ie.current);switch(g){case 1:g=w.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:g=w.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":g=w.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":g=w.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":g=w.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof c.is=="string"?w.createElement("select",{is:c.is}):w.createElement("select"),c.multiple?g.multiple=!0:c.size&&(g.size=c.size);break;default:g=typeof c.is=="string"?w.createElement(m,{is:c.is}):w.createElement(m)}}g[$t]=l,g[Gt]=c;e:for(w=l.child;w!==null;){if(w.tag===5||w.tag===6)g.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===l)break e;for(;w.sibling===null;){if(w.return===null||w.return===l)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}l.stateNode=g;e:switch(jt(g,m,c),m){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&pa(l)}}return at(l),ud(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,o),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==c&&pa(l);else{if(typeof c!="string"&&l.stateNode===null)throw Error(r(166));if(n=ie.current,Ar(l)){if(n=l.stateNode,o=l.memoizedProps,c=null,m=zt,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[$t]=l,n=!!(n.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||ng(n.nodeValue,o)),n||Ia(l,!0)}else n=nc(n).createTextNode(c),n[$t]=l,l.stateNode=n}return at(l),null;case 31:if(o=l.memoizedState,n===null||n.memoizedState!==null){if(c=Ar(l),o!==null){if(n===null){if(!c)throw Error(r(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(557));n[$t]=l}else Nl(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;at(l),n=!1}else o=xf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return l.flags&256?(hn(l),l):(hn(l),null);if((l.flags&128)!==0)throw Error(r(558))}return at(l),null;case 13:if(c=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Ar(l),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(r(318));if(m=l.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[$t]=l}else Nl(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;at(l),m=!1}else m=xf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return l.flags&256?(hn(l),l):(hn(l),null)}return hn(l),(l.flags&128)!==0?(l.lanes=o,l):(o=c!==null,n=n!==null&&n.memoizedState!==null,o&&(c=l.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==m&&(c.flags|=2048)),o!==n&&o&&(l.child.flags|=8192),Ks(l,l.updateQueue),at(l),null);case 4:return de(),n===null&&Dd(l.stateNode.containerInfo),at(l),null;case 10:return fa(l.type),at(l),null;case 19:if(Q(ft),c=l.memoizedState,c===null)return at(l),null;if(m=(l.flags&128)!==0,g=c.rendering,g===null)if(m)Zi(c,!1);else{if(st!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(g=As(n),g!==null){for(l.flags|=128,Zi(c,!1),n=g.updateQueue,l.updateQueue=n,Ks(l,n),l.subtreeFlags=0,n=o,o=l.child;o!==null;)z1(o,n),o=o.sibling;return se(ft,ft.current&1|2),Ie&&ca(l,c.treeForkCount),l.child}n=n.sibling}c.tail!==null&&Bt()>Gs&&(l.flags|=128,m=!0,Zi(c,!1),l.lanes=4194304)}else{if(!m)if(n=As(g),n!==null){if(l.flags|=128,m=!0,n=n.updateQueue,l.updateQueue=n,Ks(l,n),Zi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!Ie)return at(l),null}else 2*Bt()-c.renderingStartTime>Gs&&o!==536870912&&(l.flags|=128,m=!0,Zi(c,!1),l.lanes=4194304);c.isBackwards?(g.sibling=l.child,l.child=g):(n=c.last,n!==null?n.sibling=g:l.child=g,c.last=g)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=Bt(),n.sibling=null,o=ft.current,se(ft,m?o&1|2:o&1),Ie&&ca(l,c.treeForkCount),n):(at(l),null);case 22:case 23:return hn(l),$f(),c=l.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(l.flags|=8192):c&&(l.flags|=8192),c?(o&536870912)!==0&&(l.flags&128)===0&&(at(l),l.subtreeFlags&6&&(l.flags|=8192)):at(l),o=l.updateQueue,o!==null&&Ks(l,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==o&&(l.flags|=2048),n!==null&&Q(zl),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),l.memoizedState.cache!==o&&(l.flags|=2048),fa(gt),at(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function Sx(n,l){switch(vf(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return fa(gt),de(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return it(l),null;case 31:if(l.memoizedState!==null){if(hn(l),l.alternate===null)throw Error(r(340));Nl()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(hn(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Nl()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return Q(ft),null;case 4:return de(),null;case 10:return fa(l.type),null;case 22:case 23:return hn(l),$f(),n!==null&&Q(zl),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return fa(gt),null;case 25:return null;default:return null}}function op(n,l){switch(vf(l),l.tag){case 3:fa(gt),de();break;case 26:case 27:case 5:it(l);break;case 4:de();break;case 31:l.memoizedState!==null&&hn(l);break;case 13:hn(l);break;case 19:Q(ft);break;case 10:fa(l.type);break;case 22:case 23:hn(l),$f(),n!==null&&Q(zl);break;case 24:fa(gt)}}function Qi(n,l){try{var o=l.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&n)===n){c=void 0;var g=o.create,w=o.inst;c=g(),w.destroy=c}o=o.next}while(o!==m)}}catch(R){qe(l,l.return,R)}}function Fa(n,l,o){try{var c=l.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&n)===n){var w=c.inst,R=w.destroy;if(R!==void 0){w.destroy=void 0,m=l;var P=o,X=R;try{X()}catch(te){qe(m,P,te)}}}c=c.next}while(c!==g)}}catch(te){qe(l,l.return,te)}}function sp(n){var l=n.updateQueue;if(l!==null){var o=n.stateNode;try{Q1(l,o)}catch(c){qe(n,n.return,c)}}}function cp(n,l,o){o.props=Bl(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(c){qe(n,l,c)}}function Ji(n,l){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof o=="function"?n.refCleanup=o(c):o.current=c}}catch(m){qe(n,l,m)}}function Xn(n,l){var o=n.ref,c=n.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(m){qe(n,l,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(m){qe(n,l,m)}else o.current=null}function up(n){var l=n.type,o=n.memoizedProps,c=n.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(m){qe(n,n.return,m)}}function fd(n,l,o){try{var c=n.stateNode;Vx(c,n.type,o,l),c[Gt]=l}catch(m){qe(n,n.return,m)}}function fp(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Qa(n.type)||n.tag===4}function dd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||fp(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Qa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function hd(n,l,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,l):(l=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,l.appendChild(n),o=o._reactRootContainer,o!=null||l.onclick!==null||(l.onclick=ia));else if(c!==4&&(c===27&&Qa(n.type)&&(o=n.stateNode,l=null),n=n.child,n!==null))for(hd(n,l,o),n=n.sibling;n!==null;)hd(n,l,o),n=n.sibling}function Us(n,l,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?o.insertBefore(n,l):o.appendChild(n);else if(c!==4&&(c===27&&Qa(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(Us(n,l,o),n=n.sibling;n!==null;)Us(n,l,o),n=n.sibling}function dp(n){var l=n.stateNode,o=n.memoizedProps;try{for(var c=n.type,m=l.attributes;m.length;)l.removeAttributeNode(m[0]);jt(l,c,o),l[$t]=n,l[Gt]=o}catch(g){qe(n,n.return,g)}}var ga=!1,yt=!1,md=!1,hp=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function wx(n,l){if(n=n.containerInfo,Pd=cc,n=T1(n),of(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{o.nodeType,g.nodeType}catch{o=null;break e}var w=0,R=-1,P=-1,X=0,te=0,re=n,Z=null;t:for(;;){for(var ee;re!==o||m!==0&&re.nodeType!==3||(R=w+m),re!==g||c!==0&&re.nodeType!==3||(P=w+c),re.nodeType===3&&(w+=re.nodeValue.length),(ee=re.firstChild)!==null;)Z=re,re=ee;for(;;){if(re===n)break t;if(Z===o&&++X===m&&(R=w),Z===g&&++te===c&&(P=w),(ee=re.nextSibling)!==null)break;re=Z,Z=re.parentNode}re=ee}o=R===-1||P===-1?null:{start:R,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(Od={focusedElem:n,selectionRange:o},cc=!1,Rt=l;Rt!==null;)if(l=Rt,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Rt=n;else for(;Rt!==null;){switch(l=Rt,g=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o<n.length;o++)m=n[o],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,o=l,m=g.memoizedProps,g=g.memoizedState,c=o.stateNode;try{var be=Bl(o.type,m);n=c.getSnapshotBeforeUpdate(be,g),c.__reactInternalSnapshotBeforeUpdate=n}catch(we){qe(o,o.return,we)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,o=n.nodeType,o===9)Bd(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Bd(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=l.sibling,n!==null){n.return=l.return,Rt=n;break}Rt=l.return}}function mp(n,l,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:va(n,o),c&4&&Qi(5,o);break;case 1:if(va(n,o),c&4)if(n=o.stateNode,l===null)try{n.componentDidMount()}catch(w){qe(o,o.return,w)}else{var m=Bl(o.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(m,l,n.__reactInternalSnapshotBeforeUpdate)}catch(w){qe(o,o.return,w)}}c&64&&sp(o),c&512&&Ji(o,o.return);break;case 3:if(va(n,o),c&64&&(n=o.updateQueue,n!==null)){if(l=null,o.child!==null)switch(o.child.tag){case 27:case 5:l=o.child.stateNode;break;case 1:l=o.child.stateNode}try{Q1(n,l)}catch(w){qe(o,o.return,w)}}break;case 27:l===null&&c&4&&dp(o);case 26:case 5:va(n,o),l===null&&c&4&&up(o),c&512&&Ji(o,o.return);break;case 12:va(n,o);break;case 31:va(n,o),c&4&&bp(n,o);break;case 13:va(n,o),c&4&&vp(n,o),c&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=Nx.bind(null,o),Zx(n,o))));break;case 22:if(c=o.memoizedState!==null||ga,!c){l=l!==null&&l.memoizedState!==null||yt,m=ga;var g=yt;ga=c,(yt=l)&&!g?ya(n,o,(o.subtreeFlags&8772)!==0):va(n,o),ga=m,yt=g}break;case 30:break;default:va(n,o)}}function pp(n){var l=n.alternate;l!==null&&(n.alternate=null,pp(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Vu(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var lt=null,Yt=!1;function ba(n,l,o){for(o=o.child;o!==null;)gp(n,l,o),o=o.sibling}function gp(n,l,o){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(Ci,o)}catch{}switch(o.tag){case 26:yt||Xn(o,l),ba(n,l,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:yt||Xn(o,l);var c=lt,m=Yt;Qa(o.type)&&(lt=o.stateNode,Yt=!1),ba(n,l,o),so(o.stateNode),lt=c,Yt=m;break;case 5:yt||Xn(o,l);case 6:if(c=lt,m=Yt,lt=null,ba(n,l,o),lt=c,Yt=m,lt!==null)if(Yt)try{(lt.nodeType===9?lt.body:lt.nodeName==="HTML"?lt.ownerDocument.body:lt).removeChild(o.stateNode)}catch(g){qe(o,l,g)}else try{lt.removeChild(o.stateNode)}catch(g){qe(o,l,g)}break;case 18:lt!==null&&(Yt?(n=lt,sg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),Xr(n)):sg(lt,o.stateNode));break;case 4:c=lt,m=Yt,lt=o.stateNode.containerInfo,Yt=!0,ba(n,l,o),lt=c,Yt=m;break;case 0:case 11:case 14:case 15:Fa(2,o,l),yt||Fa(4,o,l),ba(n,l,o);break;case 1:yt||(Xn(o,l),c=o.stateNode,typeof c.componentWillUnmount=="function"&&cp(o,l,c)),ba(n,l,o);break;case 21:ba(n,l,o);break;case 22:yt=(c=yt)||o.memoizedState!==null,ba(n,l,o),yt=c;break;default:ba(n,l,o)}}function bp(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Xr(n)}catch(o){qe(l,l.return,o)}}}function vp(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Xr(n)}catch(o){qe(l,l.return,o)}}function Cx(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new hp),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new hp),l;default:throw Error(r(435,n.tag))}}function Vs(n,l){var o=Cx(n);l.forEach(function(c){if(!o.has(c)){o.add(c);var m=Dx.bind(null,n,c);c.then(m,m)}})}function Xt(n,l){var o=l.deletions;if(o!==null)for(var c=0;c<o.length;c++){var m=o[c],g=n,w=l,R=w;e:for(;R!==null;){switch(R.tag){case 27:if(Qa(R.type)){lt=R.stateNode,Yt=!1;break e}break;case 5:lt=R.stateNode,Yt=!1;break e;case 3:case 4:lt=R.stateNode.containerInfo,Yt=!0;break e}R=R.return}if(lt===null)throw Error(r(160));gp(g,w,m),lt=null,Yt=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)yp(l,n),l=l.sibling}var Bn=null;function yp(n,l){var o=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Xt(l,n),Wt(n),c&4&&(Fa(3,n,n.return),Qi(3,n),Fa(5,n,n.return));break;case 1:Xt(l,n),Wt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&64&&ga&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(o=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var m=Bn;if(Xt(l,n),Wt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&4){var g=o!==null?o.memoizedState:null;if(c=n.memoizedState,o===null)if(c===null)if(n.stateNode===null){e:{c=n.type,o=n.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[Ri]||g[$t]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),jt(g,c,o),g[$t]=n,Tt(g),c=g;break e;case"link":var w=yg("link","href",m).get(c+(o.href||""));if(w){for(var R=0;R<w.length;R++)if(g=w[R],g.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&g.getAttribute("rel")===(o.rel==null?null:o.rel)&&g.getAttribute("title")===(o.title==null?null:o.title)&&g.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){w.splice(R,1);break t}}g=m.createElement(c),jt(g,c,o),m.head.appendChild(g);break;case"meta":if(w=yg("meta","content",m).get(c+(o.content||""))){for(R=0;R<w.length;R++)if(g=w[R],g.getAttribute("content")===(o.content==null?null:""+o.content)&&g.getAttribute("name")===(o.name==null?null:o.name)&&g.getAttribute("property")===(o.property==null?null:o.property)&&g.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&g.getAttribute("charset")===(o.charSet==null?null:o.charSet)){w.splice(R,1);break t}}g=m.createElement(c),jt(g,c,o),m.head.appendChild(g);break;default:throw Error(r(468,c))}g[$t]=n,Tt(g),c=g}n.stateNode=c}else xg(m,n.type,n.stateNode);else n.stateNode=vg(m,c,n.memoizedProps);else g!==c?(g===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):g.count--,c===null?xg(m,n.type,n.stateNode):vg(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&fd(n,n.memoizedProps,o.memoizedProps)}break;case 27:Xt(l,n),Wt(n),c&512&&(yt||o===null||Xn(o,o.return)),o!==null&&c&4&&fd(n,n.memoizedProps,o.memoizedProps);break;case 5:if(Xt(l,n),Wt(n),c&512&&(yt||o===null||Xn(o,o.return)),n.flags&32){m=n.stateNode;try{vr(m,"")}catch(be){qe(n,n.return,be)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,fd(n,m,o!==null?o.memoizedProps:m)),c&1024&&(md=!0);break;case 6:if(Xt(l,n),Wt(n),c&4){if(n.stateNode===null)throw Error(r(162));c=n.memoizedProps,o=n.stateNode;try{o.nodeValue=c}catch(be){qe(n,n.return,be)}}break;case 3:if(rc=null,m=Bn,Bn=ac(l.containerInfo),Xt(l,n),Bn=m,Wt(n),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Xr(l.containerInfo)}catch(be){qe(n,n.return,be)}md&&(md=!1,xp(n));break;case 4:c=Bn,Bn=ac(n.stateNode.containerInfo),Xt(l,n),Wt(n),Bn=c;break;case 12:Xt(l,n),Wt(n);break;case 31:Xt(l,n),Wt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(n,c)));break;case 13:Xt(l,n),Wt(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Fs=Bt()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(n,c)));break;case 22:m=n.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,X=ga,te=yt;if(ga=X||m,yt=te||P,Xt(l,n),yt=te,ga=X,Wt(n),c&8192)e:for(l=n.stateNode,l._visibility=m?l._visibility&-2:l._visibility|1,m&&(o===null||P||ga||yt||Hl(n)),o=null,l=n;;){if(l.tag===5||l.tag===26){if(o===null){P=o=l;try{if(g=P.stateNode,m)w=g.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{R=P.stateNode;var re=P.memoizedProps.style,Z=re!=null&&re.hasOwnProperty("display")?re.display:null;R.style.display=Z==null||typeof Z=="boolean"?"":(""+Z).trim()}}catch(be){qe(P,P.return,be)}}}else if(l.tag===6){if(o===null){P=l;try{P.stateNode.nodeValue=m?"":P.memoizedProps}catch(be){qe(P,P.return,be)}}}else if(l.tag===18){if(o===null){P=l;try{var ee=P.stateNode;m?cg(ee,!0):cg(P.stateNode,!1)}catch(be){qe(P,P.return,be)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;o===l&&(o=null),l=l.return}o===l&&(o=null),l.sibling.return=l.return,l=l.sibling}c&4&&(c=n.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,Vs(n,o))));break;case 19:Xt(l,n),Wt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(n,c)));break;case 30:break;case 21:break;default:Xt(l,n),Wt(n)}}function Wt(n){var l=n.flags;if(l&2){try{for(var o,c=n.return;c!==null;){if(fp(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,g=dd(n);Us(n,g,m);break;case 5:var w=o.stateNode;o.flags&32&&(vr(w,""),o.flags&=-33);var R=dd(n);Us(n,R,w);break;case 3:case 4:var P=o.stateNode.containerInfo,X=dd(n);hd(n,X,P);break;default:throw Error(r(161))}}catch(te){qe(n,n.return,te)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function xp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;xp(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function va(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)mp(n,l.alternate,l),l=l.sibling}function Hl(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:Fa(4,l,l.return),Hl(l);break;case 1:Xn(l,l.return);var o=l.stateNode;typeof o.componentWillUnmount=="function"&&cp(l,l.return,o),Hl(l);break;case 27:so(l.stateNode);case 26:case 5:Xn(l,l.return),Hl(l);break;case 22:l.memoizedState===null&&Hl(l);break;case 30:Hl(l);break;default:Hl(l)}n=n.sibling}}function ya(n,l,o){for(o=o&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var c=l.alternate,m=n,g=l,w=g.flags;switch(g.tag){case 0:case 11:case 15:ya(m,g,o),Qi(4,g);break;case 1:if(ya(m,g,o),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(X){qe(c,c.return,X)}if(c=g,m=c.updateQueue,m!==null){var R=c.stateNode;try{var P=m.shared.hiddenCallbacks;if(P!==null)for(m.shared.hiddenCallbacks=null,m=0;m<P.length;m++)Z1(P[m],R)}catch(X){qe(c,c.return,X)}}o&&w&64&&sp(g),Ji(g,g.return);break;case 27:dp(g);case 26:case 5:ya(m,g,o),o&&c===null&&w&4&&up(g),Ji(g,g.return);break;case 12:ya(m,g,o);break;case 31:ya(m,g,o),o&&w&4&&bp(m,g);break;case 13:ya(m,g,o),o&&w&4&&vp(m,g);break;case 22:g.memoizedState===null&&ya(m,g,o),Ji(g,g.return);break;case 30:break;default:ya(m,g,o)}l=l.sibling}}function pd(n,l){var o=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==o&&(n!=null&&n.refCount++,o!=null&&Bi(o))}function gd(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Bi(n))}function Hn(n,l,o,c){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Sp(n,l,o,c),l=l.sibling}function Sp(n,l,o,c){var m=l.flags;switch(l.tag){case 0:case 11:case 15:Hn(n,l,o,c),m&2048&&Qi(9,l);break;case 1:Hn(n,l,o,c);break;case 3:Hn(n,l,o,c),m&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Bi(n)));break;case 12:if(m&2048){Hn(n,l,o,c),n=l.stateNode;try{var g=l.memoizedProps,w=g.id,R=g.onPostCommit;typeof R=="function"&&R(w,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(P){qe(l,l.return,P)}}else Hn(n,l,o,c);break;case 31:Hn(n,l,o,c);break;case 13:Hn(n,l,o,c);break;case 23:break;case 22:g=l.stateNode,w=l.alternate,l.memoizedState!==null?g._visibility&2?Hn(n,l,o,c):eo(n,l):g._visibility&2?Hn(n,l,o,c):(g._visibility|=2,Ir(n,l,o,c,(l.subtreeFlags&10256)!==0||!1)),m&2048&&pd(w,l);break;case 24:Hn(n,l,o,c),m&2048&&gd(l.alternate,l);break;default:Hn(n,l,o,c)}}function Ir(n,l,o,c,m){for(m=m&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var g=n,w=l,R=o,P=c,X=w.flags;switch(w.tag){case 0:case 11:case 15:Ir(g,w,R,P,m),Qi(8,w);break;case 23:break;case 22:var te=w.stateNode;w.memoizedState!==null?te._visibility&2?Ir(g,w,R,P,m):eo(g,w):(te._visibility|=2,Ir(g,w,R,P,m)),m&&X&2048&&pd(w.alternate,w);break;case 24:Ir(g,w,R,P,m),m&&X&2048&&gd(w.alternate,w);break;default:Ir(g,w,R,P,m)}l=l.sibling}}function eo(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var o=n,c=l,m=c.flags;switch(c.tag){case 22:eo(o,c),m&2048&&pd(c.alternate,c);break;case 24:eo(o,c),m&2048&&gd(c.alternate,c);break;default:eo(o,c)}l=l.sibling}}var to=8192;function Br(n,l,o){if(n.subtreeFlags&to)for(n=n.child;n!==null;)wp(n,l,o),n=n.sibling}function wp(n,l,o){switch(n.tag){case 26:Br(n,l,o),n.flags&to&&n.memoizedState!==null&&cS(o,Bn,n.memoizedState,n.memoizedProps);break;case 5:Br(n,l,o);break;case 3:case 4:var c=Bn;Bn=ac(n.stateNode.containerInfo),Br(n,l,o),Bn=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=to,to=16777216,Br(n,l,o),to=c):Br(n,l,o));break;default:Br(n,l,o)}}function Cp(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function no(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var o=0;o<l.length;o++){var c=l[o];Rt=c,Tp(c,n)}Cp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Ep(n),n=n.sibling}function Ep(n){switch(n.tag){case 0:case 11:case 15:no(n),n.flags&2048&&Fa(9,n,n.return);break;case 3:no(n);break;case 12:no(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,_s(n)):no(n);break;default:no(n)}}function _s(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var o=0;o<l.length;o++){var c=l[o];Rt=c,Tp(c,n)}Cp(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:Fa(8,l,l.return),_s(l);break;case 22:o=l.stateNode,o._visibility&2&&(o._visibility&=-3,_s(l));break;default:_s(l)}n=n.sibling}}function Tp(n,l){for(;Rt!==null;){var o=Rt;switch(o.tag){case 0:case 11:case 15:Fa(8,o,l);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Bi(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,Rt=c;else e:for(o=n;Rt!==null;){c=Rt;var m=c.sibling,g=c.return;if(pp(c),c===o){Rt=null;break e}if(m!==null){m.return=g,Rt=m;break e}Rt=g}}}var Ex={getCacheForType:function(n){var l=Pt(gt),o=l.data.get(n);return o===void 0&&(o=n(),l.data.set(n,o)),o},cacheSignal:function(){return Pt(gt).controller.signal}},Tx=typeof WeakMap=="function"?WeakMap:Map,_e=0,Qe=null,$e=null,Oe=0,Ge=0,mn=null,Ga=!1,Hr=!1,bd=!1,xa=0,st=0,qa=0,Kl=0,vd=0,pn=0,Kr=0,ao=null,Zt=null,yd=!1,Fs=0,Rp=0,Gs=1/0,qs=null,Ya=null,St=0,Xa=null,Ur=null,Sa=0,xd=0,Sd=null,Mp=null,lo=0,wd=null;function gn(){return(_e&2)!==0&&Oe!==0?Oe&-Oe:z.T!==null?Ad():Vh()}function Ap(){if(pn===0)if((Oe&536870912)===0||Ie){var n=ts;ts<<=1,(ts&3932160)===0&&(ts=262144),pn=n}else pn=536870912;return n=dn.current,n!==null&&(n.flags|=32),pn}function Qt(n,l,o){(n===Qe&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)&&(Vr(n,0),Wa(n,Oe,pn,!1)),Ti(n,o),((_e&2)===0||n!==Qe)&&(n===Qe&&((_e&2)===0&&(Kl|=o),st===4&&Wa(n,Oe,pn,!1)),Wn(n))}function Lp(n,l,o){if((_e&6)!==0)throw Error(r(327));var c=!o&&(l&127)===0&&(l&n.expiredLanes)===0||Ei(n,l),m=c?Ax(n,l):Ed(n,l,!0),g=c;do{if(m===0){Hr&&!c&&Wa(n,l,0,!1);break}else{if(o=n.current.alternate,g&&!Rx(o)){m=Ed(n,l,!1),g=!1;continue}if(m===2){if(g=l,n.errorRecoveryDisabledLanes&g)var w=0;else w=n.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){l=w;e:{var R=n;m=ao;var P=R.current.memoizedState.isDehydrated;if(P&&(Vr(R,w).flags|=256),w=Ed(R,w,!1),w!==2){if(bd&&!P){R.errorRecoveryDisabledLanes|=g,Kl|=g,m=4;break e}g=Zt,Zt=m,g!==null&&(Zt===null?Zt=g:Zt.push.apply(Zt,g))}m=w}if(g=!1,m!==2)continue}}if(m===1){Vr(n,0),Wa(n,l,0,!0);break}e:{switch(c=n,g=m,g){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:Wa(c,l,pn,!Ga);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(m=Fs+300-Bt(),10<m)){if(Wa(c,l,pn,!Ga),as(c,0,!0)!==0)break e;Sa=l,c.timeoutHandle=ig(kp.bind(null,c,o,Zt,qs,yd,l,pn,Kl,Kr,Ga,g,"Throttled",-0,0),m);break e}kp(c,o,Zt,qs,yd,l,pn,Kl,Kr,Ga,g,null,-0,0)}}break}while(!0);Wn(n)}function kp(n,l,o,c,m,g,w,R,P,X,te,re,Z,ee){if(n.timeoutHandle=-1,re=l.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ia},wp(l,g,re);var be=(g&62914560)===g?Fs-Bt():(g&4194048)===g?Rp-Bt():0;if(be=uS(re,be),be!==null){Sa=g,n.cancelPendingCommit=be(Ip.bind(null,n,l,g,o,c,m,w,R,P,te,re,null,Z,ee)),Wa(n,g,w,!X);return}}Ip(n,l,g,o,c,m,w,R,P)}function Rx(n){for(var l=n;;){var o=l.tag;if((o===0||o===11||o===15)&&l.flags&16384&&(o=l.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var m=o[c],g=m.getSnapshot;m=m.value;try{if(!un(g(),m))return!1}catch{return!1}}if(o=l.child,l.subtreeFlags&16384&&o!==null)o.return=l,l=o;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Wa(n,l,o,c){l&=~vd,l&=~Kl,n.suspendedLanes|=l,n.pingedLanes&=~l,c&&(n.warmLanes|=l),c=n.expirationTimes;for(var m=l;0<m;){var g=31-cn(m),w=1<<g;c[g]=-1,m&=~w}o!==0&&Hh(n,o,l)}function Ys(){return(_e&6)===0?(ro(0),!1):!0}function Cd(){if($e!==null){if(Ge===0)var n=$e.return;else n=$e,ua=Dl=null,Bf(n),$r=null,Ki=0,n=$e;for(;n!==null;)op(n.alternate,n),n=n.return;$e=null}}function Vr(n,l){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,Gx(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Sa=0,Cd(),Qe=n,$e=o=sa(n.current,null),Oe=l,Ge=0,mn=null,Ga=!1,Hr=Ei(n,l),bd=!1,Kr=pn=vd=Kl=qa=st=0,Zt=ao=null,yd=!1,(l&8)!==0&&(l|=l&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=l;0<c;){var m=31-cn(c),g=1<<m;l|=n[m],c&=~g}return xa=l,ps(),o}function Np(n,l){Me=null,z.H=Xi,l===Dr||l===Cs?(l=q1(),Ge=3):l===Mf?(l=q1(),Ge=4):Ge=l===td?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,mn=l,$e===null&&(st=1,js(n,Mn(l,n.current)))}function Dp(){var n=dn.current;return n===null?!0:(Oe&4194048)===Oe?Nn===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?n===Nn:!1}function $p(){var n=z.H;return z.H=Xi,n===null?Xi:n}function zp(){var n=z.A;return z.A=Ex,n}function Xs(){st=4,Ga||(Oe&4194048)!==Oe&&dn.current!==null||(Hr=!0),(qa&134217727)===0&&(Kl&134217727)===0||Qe===null||Wa(Qe,Oe,pn,!1)}function Ed(n,l,o){var c=_e;_e|=2;var m=$p(),g=zp();(Qe!==n||Oe!==l)&&(qs=null,Vr(n,l)),l=!1;var w=st;e:do try{if(Ge!==0&&$e!==null){var R=$e,P=mn;switch(Ge){case 8:Cd(),w=6;break e;case 3:case 2:case 9:case 6:dn.current===null&&(l=!0);var X=Ge;if(Ge=0,mn=null,_r(n,R,P,X),o&&Hr){w=0;break e}break;default:X=Ge,Ge=0,mn=null,_r(n,R,P,X)}}Mx(),w=st;break}catch(te){Np(n,te)}while(!0);return l&&n.shellSuspendCounter++,ua=Dl=null,_e=c,z.H=m,z.A=g,$e===null&&(Qe=null,Oe=0,ps()),w}function Mx(){for(;$e!==null;)Pp($e)}function Ax(n,l){var o=_e;_e|=2;var c=$p(),m=zp();Qe!==n||Oe!==l?(qs=null,Gs=Bt()+500,Vr(n,l)):Hr=Ei(n,l);e:do try{if(Ge!==0&&$e!==null){l=$e;var g=mn;t:switch(Ge){case 1:Ge=0,mn=null,_r(n,l,g,1);break;case 2:case 9:if(F1(g)){Ge=0,mn=null,Op(l);break}l=function(){Ge!==2&&Ge!==9||Qe!==n||(Ge=7),Wn(n)},g.then(l,l);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:F1(g)?(Ge=0,mn=null,Op(l)):(Ge=0,mn=null,_r(n,l,g,7));break;case 5:var w=null;switch($e.tag){case 26:w=$e.memoizedState;case 5:case 27:var R=$e;if(w?Sg(w):R.stateNode.complete){Ge=0,mn=null;var P=R.sibling;if(P!==null)$e=P;else{var X=R.return;X!==null?($e=X,Ws(X)):$e=null}break t}}Ge=0,mn=null,_r(n,l,g,5);break;case 6:Ge=0,mn=null,_r(n,l,g,6);break;case 8:Cd(),st=6;break e;default:throw Error(r(462))}}Lx();break}catch(te){Np(n,te)}while(!0);return ua=Dl=null,z.H=c,z.A=m,_e=o,$e!==null?0:(Qe=null,Oe=0,ps(),st)}function Lx(){for(;$e!==null&&!Jo();)Pp($e)}function Pp(n){var l=rp(n.alternate,n,xa);n.memoizedProps=n.pendingProps,l===null?Ws(n):$e=l}function Op(n){var l=n,o=l.alternate;switch(l.tag){case 15:case 0:l=Jm(o,l,l.pendingProps,l.type,void 0,Oe);break;case 11:l=Jm(o,l,l.pendingProps,l.type.render,l.ref,Oe);break;case 5:Bf(l);default:op(o,l),l=$e=z1(l,xa),l=rp(o,l,xa)}n.memoizedProps=n.pendingProps,l===null?Ws(n):$e=l}function _r(n,l,o,c){ua=Dl=null,Bf(l),$r=null,Ki=0;var m=l.return;try{if(bx(n,m,l,o,Oe)){st=1,js(n,Mn(o,n.current)),$e=null;return}}catch(g){if(m!==null)throw $e=m,g;st=1,js(n,Mn(o,n.current)),$e=null;return}l.flags&32768?(Ie||c===1?n=!0:Hr||(Oe&536870912)!==0?n=!1:(Ga=n=!0,(c===2||c===9||c===3||c===6)&&(c=dn.current,c!==null&&c.tag===13&&(c.flags|=16384))),jp(l,n)):Ws(l)}function Ws(n){var l=n;do{if((l.flags&32768)!==0){jp(l,Ga);return}n=l.return;var o=xx(l.alternate,l,xa);if(o!==null){$e=o;return}if(l=l.sibling,l!==null){$e=l;return}$e=l=n}while(l!==null);st===0&&(st=5)}function jp(n,l){do{var o=Sx(n.alternate,n);if(o!==null){o.flags&=32767,$e=o;return}if(o=n.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!l&&(n=n.sibling,n!==null)){$e=n;return}$e=n=o}while(n!==null);st=6,$e=null}function Ip(n,l,o,c,m,g,w,R,P){n.cancelPendingCommit=null;do Zs();while(St!==0);if((_e&6)!==0)throw Error(r(327));if(l!==null){if(l===n.current)throw Error(r(177));if(g=l.lanes|l.childLanes,g|=df,s7(n,o,g,w,R,P),n===Qe&&($e=Qe=null,Oe=0),Ur=l,Xa=n,Sa=o,xd=g,Sd=m,Mp=c,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,$x(fr,function(){return Vp(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||c){c=z.T,z.T=null,m=O.p,O.p=2,w=_e,_e|=4;try{wx(n,l,o)}finally{_e=w,O.p=m,z.T=c}}St=1,Bp(),Hp(),Kp()}}function Bp(){if(St===1){St=0;var n=Xa,l=Ur,o=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=_e;_e|=4;try{yp(l,n);var g=Od,w=T1(n.containerInfo),R=g.focusedElem,P=g.selectionRange;if(w!==R&&R&&R.ownerDocument&&E1(R.ownerDocument.documentElement,R)){if(P!==null&&of(R)){var X=P.start,te=P.end;if(te===void 0&&(te=X),"selectionStart"in R)R.selectionStart=X,R.selectionEnd=Math.min(te,R.value.length);else{var re=R.ownerDocument||document,Z=re&&re.defaultView||window;if(Z.getSelection){var ee=Z.getSelection(),be=R.textContent.length,we=Math.min(P.start,be),Ze=P.end===void 0?we:Math.min(P.end,be);!ee.extend&&we>Ze&&(w=Ze,Ze=we,we=w);var V=C1(R,we),I=C1(R,Ze);if(V&&I&&(ee.rangeCount!==1||ee.anchorNode!==V.node||ee.anchorOffset!==V.offset||ee.focusNode!==I.node||ee.focusOffset!==I.offset)){var Y=re.createRange();Y.setStart(V.node,V.offset),ee.removeAllRanges(),we>Ze?(ee.addRange(Y),ee.extend(I.node,I.offset)):(Y.setEnd(I.node,I.offset),ee.addRange(Y))}}}}for(re=[],ee=R;ee=ee.parentNode;)ee.nodeType===1&&re.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<re.length;R++){var le=re[R];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}cc=!!Pd,Od=Pd=null}finally{_e=m,O.p=c,z.T=o}}n.current=l,St=2}}function Hp(){if(St===2){St=0;var n=Xa,l=Ur,o=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=_e;_e|=4;try{mp(n,l.alternate,l)}finally{_e=m,O.p=c,z.T=o}}St=3}}function Kp(){if(St===4||St===3){St=0,Iu();var n=Xa,l=Ur,o=Sa,c=Mp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?St=5:(St=0,Ur=Xa=null,Up(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Ya=null),Ku(o),l=l.stateNode,sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(Ci,l,void 0,(l.current.flags&128)===128)}catch{}if(c!==null){l=z.T,m=O.p,O.p=2,z.T=null;try{for(var g=n.onRecoverableError,w=0;w<c.length;w++){var R=c[w];g(R.value,{componentStack:R.stack})}}finally{z.T=l,O.p=m}}(Sa&3)!==0&&Zs(),Wn(n),m=n.pendingLanes,(o&261930)!==0&&(m&42)!==0?n===wd?lo++:(lo=0,wd=n):lo=0,ro(0)}}function Up(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,Bi(l)))}function Zs(){return Bp(),Hp(),Kp(),Vp()}function Vp(){if(St!==5)return!1;var n=Xa,l=xd;xd=0;var o=Ku(Sa),c=z.T,m=O.p;try{O.p=32>o?32:o,z.T=null,o=Sd,Sd=null;var g=Xa,w=Sa;if(St=0,Ur=Xa=null,Sa=0,(_e&6)!==0)throw Error(r(331));var R=_e;if(_e|=4,Ep(g.current),Sp(g,g.current,w,o),_e=R,ro(0,!1),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(Ci,g)}catch{}return!0}finally{O.p=m,z.T=c,Up(n,l)}}function _p(n,l,o){l=Mn(o,l),l=ed(n.stateNode,l,2),n=Ua(n,l,2),n!==null&&(Ti(n,2),Wn(n))}function qe(n,l,o){if(n.tag===3)_p(n,n,o);else for(;l!==null;){if(l.tag===3){_p(l,n,o);break}else if(l.tag===1){var c=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ya===null||!Ya.has(c))){n=Mn(o,n),o=Fm(2),c=Ua(l,o,2),c!==null&&(Gm(o,c,l,n),Ti(c,2),Wn(c));break}}l=l.return}}function Td(n,l,o){var c=n.pingCache;if(c===null){c=n.pingCache=new Tx;var m=new Set;c.set(l,m)}else m=c.get(l),m===void 0&&(m=new Set,c.set(l,m));m.has(o)||(bd=!0,m.add(o),n=kx.bind(null,n,l,o),l.then(n,n))}function kx(n,l,o){var c=n.pingCache;c!==null&&c.delete(l),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,Qe===n&&(Oe&o)===o&&(st===4||st===3&&(Oe&62914560)===Oe&&300>Bt()-Fs?(_e&2)===0&&Vr(n,0):vd|=o,Kr===Oe&&(Kr=0)),Wn(n)}function Fp(n,l){l===0&&(l=Bh()),n=Ll(n,l),n!==null&&(Ti(n,l),Wn(n))}function Nx(n){var l=n.memoizedState,o=0;l!==null&&(o=l.retryLane),Fp(n,o)}function Dx(n,l){var o=0;switch(n.tag){case 31:case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(o=m.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(l),Fp(n,o)}function $x(n,l){return jn(n,l)}var Qs=null,Fr=null,Rd=!1,Js=!1,Md=!1,Za=0;function Wn(n){n!==Fr&&n.next===null&&(Fr===null?Qs=Fr=n:Fr=Fr.next=n),Js=!0,Rd||(Rd=!0,Px())}function ro(n,l){if(!Md&&Js){Md=!0;do for(var o=!1,c=Qs;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var w=c.suspendedLanes,R=c.pingedLanes;g=(1<<31-cn(42|n)+1)-1,g&=m&~(w&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(o=!0,Xp(c,g))}else g=Oe,g=as(c,c===Qe?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Ei(c,g)||(o=!0,Xp(c,g));c=c.next}while(o);Md=!1}}function zx(){Gp()}function Gp(){Js=Rd=!1;var n=0;Za!==0&&Fx()&&(n=Za);for(var l=Bt(),o=null,c=Qs;c!==null;){var m=c.next,g=qp(c,l);g===0?(c.next=null,o===null?Qs=m:o.next=m,m===null&&(Fr=o)):(o=c,(n!==0||(g&3)!==0)&&(Js=!0)),c=m}St!==0&&St!==5||ro(n),Za!==0&&(Za=0)}function qp(n,l){for(var o=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var w=31-cn(g),R=1<<w,P=m[w];P===-1?((R&o)===0||(R&c)!==0)&&(m[w]=o7(R,l)):P<=l&&(n.expiredLanes|=R),g&=~R}if(l=Qe,o=Oe,o=as(n,n===l?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,o===0||n===l&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&wi(c),n.callbackNode=null,n.callbackPriority=0;if((o&3)===0||Ei(n,o)){if(l=o&-o,l===n.callbackPriority)return l;switch(c!==null&&wi(c),Ku(o)){case 2:case 8:o=Gn;break;case 32:o=fr;break;case 268435456:o=Ih;break;default:o=fr}return c=Yp.bind(null,n),o=jn(o,c),n.callbackPriority=l,n.callbackNode=o,l}return c!==null&&c!==null&&wi(c),n.callbackPriority=2,n.callbackNode=null,2}function Yp(n,l){if(St!==0&&St!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Zs()&&n.callbackNode!==o)return null;var c=Oe;return c=as(n,n===Qe?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(Lp(n,c,l),qp(n,Bt()),n.callbackNode!=null&&n.callbackNode===o?Yp.bind(null,n):null)}function Xp(n,l){if(Zs())return null;Lp(n,l,!0)}function Px(){qx(function(){(_e&6)!==0?jn(Dt,zx):Gp()})}function Ad(){if(Za===0){var n=kr;n===0&&(n=es,es<<=1,(es&261888)===0&&(es=256)),Za=n}return Za}function Wp(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:os(""+n)}function Zp(n,l){var o=l.ownerDocument.createElement("input");return o.name=l.name,o.value=l.value,n.id&&o.setAttribute("form",n.id),l.parentNode.insertBefore(o,l),n=new FormData(n),o.parentNode.removeChild(o),n}function Ox(n,l,o,c,m){if(l==="submit"&&o&&o.stateNode===m){var g=Wp((m[Gt]||null).action),w=c.submitter;w&&(l=(l=w[Gt]||null)?Wp(l.formAction):w.getAttribute("formAction"),l!==null&&(g=l,w=null));var R=new fs("action","action",null,c,m);n.push({event:R,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Za!==0){var P=w?Zp(m,w):new FormData(m);Yf(o,{pending:!0,data:P,method:m.method,action:g},null,P)}}else typeof g=="function"&&(R.preventDefault(),P=w?Zp(m,w):new FormData(m),Yf(o,{pending:!0,data:P,method:m.method,action:g},g,P))},currentTarget:m}]})}}for(var Ld=0;Ld<ff.length;Ld++){var kd=ff[Ld],jx=kd.toLowerCase(),Ix=kd[0].toUpperCase()+kd.slice(1);In(jx,"on"+Ix)}In(A1,"onAnimationEnd"),In(L1,"onAnimationIteration"),In(k1,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(ex,"onTransitionRun"),In(tx,"onTransitionStart"),In(nx,"onTransitionCancel"),In(N1,"onTransitionEnd"),gr("onMouseEnter",["mouseout","mouseover"]),gr("onMouseLeave",["mouseout","mouseover"]),gr("onPointerEnter",["pointerout","pointerover"]),gr("onPointerLeave",["pointerout","pointerover"]),Tl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Tl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Tl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Tl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Tl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Tl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var io="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(" "),Bx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(io));function Qp(n,l){l=(l&4)!==0;for(var o=0;o<n.length;o++){var c=n[o],m=c.event;c=c.listeners;e:{var g=void 0;if(l)for(var w=c.length-1;0<=w;w--){var R=c[w],P=R.instance,X=R.currentTarget;if(R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}else for(w=0;w<c.length;w++){if(R=c[w],P=R.instance,X=R.currentTarget,R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}}}}function ze(n,l){var o=l[Uu];o===void 0&&(o=l[Uu]=new Set);var c=n+"__bubble";o.has(c)||(Jp(l,n,2,!1),o.add(c))}function Nd(n,l,o){var c=0;l&&(c|=4),Jp(o,n,c,l)}var ec="_reactListening"+Math.random().toString(36).slice(2);function Dd(n){if(!n[ec]){n[ec]=!0,Gh.forEach(function(o){o!=="selectionchange"&&(Bx.has(o)||Nd(o,!1,n),Nd(o,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[ec]||(l[ec]=!0,Nd("selectionchange",!1,l))}}function Jp(n,l,o,c){switch(Ag(l)){case 2:var m=hS;break;case 8:m=mS;break;default:m=qd}o=m.bind(null,l,o,n),m=void 0,!Zu||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(l,o,{capture:!0,passive:m}):n.addEventListener(l,o,!0):m!==void 0?n.addEventListener(l,o,{passive:m}):n.addEventListener(l,o,!1)}function $d(n,l,o,c,m){var g=c;if((l&1)===0&&(l&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var R=c.stateNode.containerInfo;if(R===m)break;if(w===4)for(w=c.return;w!==null;){var P=w.tag;if((P===3||P===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;R!==null;){if(w=hr(R),w===null)return;if(P=w.tag,P===5||P===6||P===26||P===27){c=g=w;continue e}R=R.parentNode}}c=c.return}l1(function(){var X=g,te=Xu(o),re=[];e:{var Z=D1.get(n);if(Z!==void 0){var ee=fs,be=n;switch(n){case"keypress":if(cs(o)===0)break e;case"keydown":case"keyup":ee=D7;break;case"focusin":be="focus",ee=tf;break;case"focusout":be="blur",ee=tf;break;case"beforeblur":case"afterblur":ee=tf;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=o1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=x7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=P7;break;case A1:case L1:case k1:ee=C7;break;case N1:ee=j7;break;case"scroll":case"scrollend":ee=v7;break;case"wheel":ee=B7;break;case"copy":case"cut":case"paste":ee=T7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=c1;break;case"toggle":case"beforetoggle":ee=K7}var we=(l&4)!==0,Ze=!we&&(n==="scroll"||n==="scrollend"),V=we?Z!==null?Z+"Capture":null:Z;we=[];for(var I=X,Y;I!==null;){var le=I;if(Y=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||Y===null||V===null||(le=Ai(I,V),le!=null&&we.push(oo(I,le,Y))),Ze)break;I=I.return}0<we.length&&(Z=new ee(Z,be,null,o,te),re.push({event:Z,listeners:we}))}}if((l&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",ee=n==="mouseout"||n==="pointerout",Z&&o!==Yu&&(be=o.relatedTarget||o.fromElement)&&(hr(be)||be[dr]))break e;if((ee||Z)&&(Z=te.window===te?te:(Z=te.ownerDocument)?Z.defaultView||Z.parentWindow:window,ee?(be=o.relatedTarget||o.toElement,ee=X,be=be?hr(be):null,be!==null&&(Ze=s(be),we=be.tag,be!==Ze||we!==5&&we!==27&&we!==6)&&(be=null)):(ee=null,be=X),ee!==be)){if(we=o1,le="onMouseLeave",V="onMouseEnter",I="mouse",(n==="pointerout"||n==="pointerover")&&(we=c1,le="onPointerLeave",V="onPointerEnter",I="pointer"),Ze=ee==null?Z:Mi(ee),Y=be==null?Z:Mi(be),Z=new we(le,I+"leave",ee,o,te),Z.target=Ze,Z.relatedTarget=Y,le=null,hr(te)===X&&(we=new we(V,I+"enter",be,o,te),we.target=Y,we.relatedTarget=Ze,le=we),Ze=le,ee&&be)t:{for(we=Hx,V=ee,I=be,Y=0,le=V;le;le=we(le))Y++;le=0;for(var Se=I;Se;Se=we(Se))le++;for(;0<Y-le;)V=we(V),Y--;for(;0<le-Y;)I=we(I),le--;for(;Y--;){if(V===I||I!==null&&V===I.alternate){we=V;break t}V=we(V),I=we(I)}we=null}else we=null;ee!==null&&eg(re,Z,ee,we,!1),be!==null&&Ze!==null&&eg(re,Ze,be,we,!0)}}e:{if(Z=X?Mi(X):window,ee=Z.nodeName&&Z.nodeName.toLowerCase(),ee==="select"||ee==="input"&&Z.type==="file")var Ke=b1;else if(p1(Z))if(v1)Ke=Z7;else{Ke=X7;var ye=Y7}else ee=Z.nodeName,!ee||ee.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?X&&qu(X.elementType)&&(Ke=b1):Ke=W7;if(Ke&&(Ke=Ke(n,X))){g1(re,Ke,o,te);break e}ye&&ye(n,Z,X),n==="focusout"&&X&&Z.type==="number"&&X.memoizedProps.value!=null&&Gu(Z,"number",Z.value)}switch(ye=X?Mi(X):window,n){case"focusin":(p1(ye)||ye.contentEditable==="true")&&(wr=ye,sf=X,Oi=null);break;case"focusout":Oi=sf=wr=null;break;case"mousedown":cf=!0;break;case"contextmenu":case"mouseup":case"dragend":cf=!1,R1(re,o,te);break;case"selectionchange":if(J7)break;case"keydown":case"keyup":R1(re,o,te)}var Ae;if(af)e:{switch(n){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else Sr?h1(n,o)&&(je="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(je="onCompositionStart");je&&(u1&&o.locale!=="ko"&&(Sr||je!=="onCompositionStart"?je==="onCompositionEnd"&&Sr&&(Ae=r1()):(Pa=te,Qu="value"in Pa?Pa.value:Pa.textContent,Sr=!0)),ye=tc(X,je),0<ye.length&&(je=new s1(je,n,null,o,te),re.push({event:je,listeners:ye}),Ae?je.data=Ae:(Ae=m1(o),Ae!==null&&(je.data=Ae)))),(Ae=V7?_7(n,o):F7(n,o))&&(je=tc(X,"onBeforeInput"),0<je.length&&(ye=new s1("onBeforeInput","beforeinput",null,o,te),re.push({event:ye,listeners:je}),ye.data=Ae)),Ox(re,n,X,o,te)}Qp(re,l)})}function oo(n,l,o){return{instance:n,listener:l,currentTarget:o}}function tc(n,l){for(var o=l+"Capture",c=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Ai(n,o),m!=null&&c.unshift(oo(n,m,g)),m=Ai(n,l),m!=null&&c.push(oo(n,m,g))),n.tag===3)return c;n=n.return}return[]}function Hx(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function eg(n,l,o,c,m){for(var g=l._reactName,w=[];o!==null&&o!==c;){var R=o,P=R.alternate,X=R.stateNode;if(R=R.tag,P!==null&&P===c)break;R!==5&&R!==26&&R!==27||X===null||(P=X,m?(X=Ai(o,g),X!=null&&w.unshift(oo(o,X,P))):m||(X=Ai(o,g),X!=null&&w.push(oo(o,X,P)))),o=o.return}w.length!==0&&n.push({event:l,listeners:w})}var Kx=/\r\n?/g,Ux=/\u0000|\uFFFD/g;function tg(n){return(typeof n=="string"?n:""+n).replace(Kx,`
50
+ `).replace(Ux,"")}function ng(n,l){return l=tg(l),tg(n)===l}function We(n,l,o,c,m,g){switch(o){case"children":typeof c=="string"?l==="body"||l==="textarea"&&c===""||vr(n,c):(typeof c=="number"||typeof c=="bigint")&&l!=="body"&&vr(n,""+c);break;case"className":rs(n,"class",c);break;case"tabIndex":rs(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":rs(n,o,c);break;case"style":n1(n,c,g);break;case"data":if(l!=="object"){rs(n,"data",c);break}case"src":case"href":if(c===""&&(l!=="a"||o!=="href")){n.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=os(""+c),n.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(o,"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 g=="function"&&(o==="formAction"?(l!=="input"&&We(n,l,"name",m.name,m,null),We(n,l,"formEncType",m.formEncType,m,null),We(n,l,"formMethod",m.formMethod,m,null),We(n,l,"formTarget",m.formTarget,m,null)):(We(n,l,"encType",m.encType,m,null),We(n,l,"method",m.method,m,null),We(n,l,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=os(""+c),n.setAttribute(o,c);break;case"onClick":c!=null&&(n.onclick=ia);break;case"onScroll":c!=null&&ze("scroll",n);break;case"onScrollEnd":c!=null&&ze("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}o=os(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""+c):n.removeAttribute(o);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":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""):n.removeAttribute(o);break;case"capture":case"download":c===!0?n.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,c):n.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(o,c):n.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(o):n.setAttribute(o,c);break;case"popover":ze("beforetoggle",n),ze("toggle",n),ls(n,"popover",c);break;case"xlinkActuate":ra(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":ra(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":ra(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":ra(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":ra(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":ra(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":ra(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":ra(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":ra(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":ls(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=g7.get(o)||o,ls(n,o,c))}}function zd(n,l,o,c,m,g){switch(o){case"style":n1(n,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"children":typeof c=="string"?vr(n,c):(typeof c=="number"||typeof c=="bigint")&&vr(n,""+c);break;case"onScroll":c!=null&&ze("scroll",n);break;case"onScrollEnd":c!=null&&ze("scrollend",n);break;case"onClick":c!=null&&(n.onclick=ia);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qh.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(m=o.endsWith("Capture"),l=o.slice(2,m?o.length-7:void 0),g=n[Gt]||null,g=g!=null?g[o]:null,typeof g=="function"&&n.removeEventListener(l,g,m),typeof c=="function")){typeof g!="function"&&g!==null&&(o in n?n[o]=null:n.hasAttribute(o)&&n.removeAttribute(o)),n.addEventListener(l,c,m);break e}o in n?n[o]=c:c===!0?n.setAttribute(o,""):ls(n,o,c)}}}function jt(n,l,o){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",n),ze("load",n);var c=!1,m=!1,g;for(g in o)if(o.hasOwnProperty(g)){var w=o[g];if(w!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:We(n,l,g,w,o,null)}}m&&We(n,l,"srcSet",o.srcSet,o,null),c&&We(n,l,"src",o.src,o,null);return;case"input":ze("invalid",n);var R=g=w=m=null,P=null,X=null;for(c in o)if(o.hasOwnProperty(c)){var te=o[c];if(te!=null)switch(c){case"name":m=te;break;case"type":w=te;break;case"checked":P=te;break;case"defaultChecked":X=te;break;case"value":g=te;break;case"defaultValue":R=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,l));break;default:We(n,l,c,te,o,null)}}Qh(n,g,R,P,X,w,m,!1);return;case"select":ze("invalid",n),c=w=g=null;for(m in o)if(o.hasOwnProperty(m)&&(R=o[m],R!=null))switch(m){case"value":g=R;break;case"defaultValue":w=R;break;case"multiple":c=R;default:We(n,l,m,R,o,null)}l=g,o=w,n.multiple=!!c,l!=null?br(n,!!c,l,!1):o!=null&&br(n,!!c,o,!0);return;case"textarea":ze("invalid",n),g=m=c=null;for(w in o)if(o.hasOwnProperty(w)&&(R=o[w],R!=null))switch(w){case"value":c=R;break;case"defaultValue":m=R;break;case"children":g=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:We(n,l,w,R,o,null)}e1(n,c,m,g);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(c=o[P],c!=null))switch(P){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:We(n,l,P,c,o,null)}return;case"dialog":ze("beforetoggle",n),ze("toggle",n),ze("cancel",n),ze("close",n);break;case"iframe":case"object":ze("load",n);break;case"video":case"audio":for(c=0;c<io.length;c++)ze(io[c],n);break;case"image":ze("error",n),ze("load",n);break;case"details":ze("toggle",n);break;case"embed":case"source":case"link":ze("error",n),ze("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(X in o)if(o.hasOwnProperty(X)&&(c=o[X],c!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:We(n,l,X,c,o,null)}return;default:if(qu(l)){for(te in o)o.hasOwnProperty(te)&&(c=o[te],c!==void 0&&zd(n,l,te,c,o,void 0));return}}for(R in o)o.hasOwnProperty(R)&&(c=o[R],c!=null&&We(n,l,R,c,o,null))}function Vx(n,l,o,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,w=null,R=null,P=null,X=null,te=null;for(ee in o){var re=o[ee];if(o.hasOwnProperty(ee)&&re!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":P=re;default:c.hasOwnProperty(ee)||We(n,l,ee,null,c,re)}}for(var Z in c){var ee=c[Z];if(re=o[Z],c.hasOwnProperty(Z)&&(ee!=null||re!=null))switch(Z){case"type":g=ee;break;case"name":m=ee;break;case"checked":X=ee;break;case"defaultChecked":te=ee;break;case"value":w=ee;break;case"defaultValue":R=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(r(137,l));break;default:ee!==re&&We(n,l,Z,ee,c,re)}}Fu(n,w,R,P,X,te,g,m);return;case"select":ee=w=R=Z=null;for(g in o)if(P=o[g],o.hasOwnProperty(g)&&P!=null)switch(g){case"value":break;case"multiple":ee=P;default:c.hasOwnProperty(g)||We(n,l,g,null,c,P)}for(m in c)if(g=c[m],P=o[m],c.hasOwnProperty(m)&&(g!=null||P!=null))switch(m){case"value":Z=g;break;case"defaultValue":R=g;break;case"multiple":w=g;default:g!==P&&We(n,l,m,g,c,P)}l=R,o=w,c=ee,Z!=null?br(n,!!o,Z,!1):!!c!=!!o&&(l!=null?br(n,!!o,l,!0):br(n,!!o,o?[]:"",!1));return;case"textarea":ee=Z=null;for(R in o)if(m=o[R],o.hasOwnProperty(R)&&m!=null&&!c.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:We(n,l,R,null,c,m)}for(w in c)if(m=c[w],g=o[w],c.hasOwnProperty(w)&&(m!=null||g!=null))switch(w){case"value":Z=m;break;case"defaultValue":ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==g&&We(n,l,w,m,c,g)}Jh(n,Z,ee);return;case"option":for(var be in o)if(Z=o[be],o.hasOwnProperty(be)&&Z!=null&&!c.hasOwnProperty(be))switch(be){case"selected":n.selected=!1;break;default:We(n,l,be,null,c,Z)}for(P in c)if(Z=c[P],ee=o[P],c.hasOwnProperty(P)&&Z!==ee&&(Z!=null||ee!=null))switch(P){case"selected":n.selected=Z&&typeof Z!="function"&&typeof Z!="symbol";break;default:We(n,l,P,Z,c,ee)}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 we in o)Z=o[we],o.hasOwnProperty(we)&&Z!=null&&!c.hasOwnProperty(we)&&We(n,l,we,null,c,Z);for(X in c)if(Z=c[X],ee=o[X],c.hasOwnProperty(X)&&Z!==ee&&(Z!=null||ee!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,l));break;default:We(n,l,X,Z,c,ee)}return;default:if(qu(l)){for(var Ze in o)Z=o[Ze],o.hasOwnProperty(Ze)&&Z!==void 0&&!c.hasOwnProperty(Ze)&&zd(n,l,Ze,void 0,c,Z);for(te in c)Z=c[te],ee=o[te],!c.hasOwnProperty(te)||Z===ee||Z===void 0&&ee===void 0||zd(n,l,te,Z,c,ee);return}}for(var V in o)Z=o[V],o.hasOwnProperty(V)&&Z!=null&&!c.hasOwnProperty(V)&&We(n,l,V,null,c,Z);for(re in c)Z=c[re],ee=o[re],!c.hasOwnProperty(re)||Z===ee||Z==null&&ee==null||We(n,l,re,Z,c,ee)}function ag(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _x(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,o=performance.getEntriesByType("resource"),c=0;c<o.length;c++){var m=o[c],g=m.transferSize,w=m.initiatorType,R=m.duration;if(g&&R&&ag(w)){for(w=0,R=m.responseEnd,c+=1;c<o.length;c++){var P=o[c],X=P.startTime;if(X>R)break;var te=P.transferSize,re=P.initiatorType;te&&ag(re)&&(P=P.responseEnd,w+=te*(P<R?1:(R-X)/(P-X)))}if(--c,l+=8*(g+w)/(m.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Pd=null,Od=null;function nc(n){return n.nodeType===9?n:n.ownerDocument}function lg(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function rg(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function jd(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Id=null;function Fx(){var n=window.event;return n&&n.type==="popstate"?n===Id?!1:(Id=n,!0):(Id=null,!1)}var ig=typeof setTimeout=="function"?setTimeout:void 0,Gx=typeof clearTimeout=="function"?clearTimeout:void 0,og=typeof Promise=="function"?Promise:void 0,qx=typeof queueMicrotask=="function"?queueMicrotask:typeof og<"u"?function(n){return og.resolve(null).then(n).catch(Yx)}:ig;function Yx(n){setTimeout(function(){throw n})}function Qa(n){return n==="head"}function sg(n,l){var o=l,c=0;do{var m=o.nextSibling;if(n.removeChild(o),m&&m.nodeType===8)if(o=m.data,o==="/$"||o==="/&"){if(c===0){n.removeChild(m),Xr(l);return}c--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")c++;else if(o==="html")so(n.ownerDocument.documentElement);else if(o==="head"){o=n.ownerDocument.head,so(o);for(var g=o.firstChild;g;){var w=g.nextSibling,R=g.nodeName;g[Ri]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&g.rel.toLowerCase()==="stylesheet"||o.removeChild(g),g=w}}else o==="body"&&so(n.ownerDocument.body);o=m}while(o);Xr(l)}function cg(n,l){var o=n;n=0;do{var c=o.nextSibling;if(o.nodeType===1?l?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(l?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(n===0)break;n--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||n++;o=c}while(o)}function Bd(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var o=l;switch(l=l.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Bd(o),Vu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function Xx(n,l,o,c){for(;n.nodeType===1;){var m=o;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Ri])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=Dn(n.nextSibling),n===null)break}return null}function Wx(n,l,o){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=Dn(n.nextSibling),n===null))return null;return n}function ug(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Dn(n.nextSibling),n===null))return null;return n}function Hd(n){return n.data==="$?"||n.data==="$~"}function Kd(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Zx(n,l){var o=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||o.readyState!=="loading")l();else{var c=function(){l(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function Dn(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var Ud=null;function fg(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"||o==="/&"){if(l===0)return Dn(n.nextSibling);l--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||l++}n=n.nextSibling}return null}function dg(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(l===0)return n;l--}else o!=="/$"&&o!=="/&"||l++}n=n.previousSibling}return null}function hg(n,l,o){switch(l=nc(o),n){case"html":if(n=l.documentElement,!n)throw Error(r(452));return n;case"head":if(n=l.head,!n)throw Error(r(453));return n;case"body":if(n=l.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}function so(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Vu(n)}var $n=new Map,mg=new Set;function ac(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wa=O.d;O.d={f:Qx,r:Jx,D:eS,C:tS,L:nS,m:aS,X:rS,S:lS,M:iS};function Qx(){var n=wa.f(),l=Ys();return n||l}function Jx(n){var l=mr(n);l!==null&&l.tag===5&&l.type==="form"?Nm(l):wa.r(n)}var Gr=typeof document>"u"?null:document;function pg(n,l,o){var c=Gr;if(c&&typeof l=="string"&&l){var m=Tn(l);m='link[rel="'+n+'"][href="'+m+'"]',typeof o=="string"&&(m+='[crossorigin="'+o+'"]'),mg.has(m)||(mg.add(m),n={rel:n,crossOrigin:o,href:l},c.querySelector(m)===null&&(l=c.createElement("link"),jt(l,"link",n),Tt(l),c.head.appendChild(l)))}}function eS(n){wa.D(n),pg("dns-prefetch",n,null)}function tS(n,l){wa.C(n,l),pg("preconnect",n,l)}function nS(n,l,o){wa.L(n,l,o);var c=Gr;if(c&&n&&l){var m='link[rel="preload"][as="'+Tn(l)+'"]';l==="image"&&o&&o.imageSrcSet?(m+='[imagesrcset="'+Tn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(m+='[imagesizes="'+Tn(o.imageSizes)+'"]')):m+='[href="'+Tn(n)+'"]';var g=m;switch(l){case"style":g=qr(n);break;case"script":g=Yr(n)}$n.has(g)||(n=b({rel:"preload",href:l==="image"&&o&&o.imageSrcSet?void 0:n,as:l},o),$n.set(g,n),c.querySelector(m)!==null||l==="style"&&c.querySelector(co(g))||l==="script"&&c.querySelector(uo(g))||(l=c.createElement("link"),jt(l,"link",n),Tt(l),c.head.appendChild(l)))}}function aS(n,l){wa.m(n,l);var o=Gr;if(o&&n){var c=l&&typeof l.as=="string"?l.as:"script",m='link[rel="modulepreload"][as="'+Tn(c)+'"][href="'+Tn(n)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Yr(n)}if(!$n.has(g)&&(n=b({rel:"modulepreload",href:n},l),$n.set(g,n),o.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(uo(g)))return}c=o.createElement("link"),jt(c,"link",n),Tt(c),o.head.appendChild(c)}}}function lS(n,l,o){wa.S(n,l,o);var c=Gr;if(c&&n){var m=pr(c).hoistableStyles,g=qr(n);l=l||"default";var w=m.get(g);if(!w){var R={loading:0,preload:null};if(w=c.querySelector(co(g)))R.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":l},o),(o=$n.get(g))&&Vd(n,o);var P=w=c.createElement("link");Tt(P),jt(P,"link",n),P._p=new Promise(function(X,te){P.onload=X,P.onerror=te}),P.addEventListener("load",function(){R.loading|=1}),P.addEventListener("error",function(){R.loading|=2}),R.loading|=4,lc(w,l,c)}w={type:"stylesheet",instance:w,count:1,state:R},m.set(g,w)}}}function rS(n,l){wa.X(n,l);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(uo(m)),g||(n=b({src:n,async:!0},l),(l=$n.get(m))&&_d(n,l),g=o.createElement("script"),Tt(g),jt(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function iS(n,l){wa.M(n,l);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(uo(m)),g||(n=b({src:n,async:!0,type:"module"},l),(l=$n.get(m))&&_d(n,l),g=o.createElement("script"),Tt(g),jt(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function gg(n,l,o,c){var m=(m=ie.current)?ac(m):null;if(!m)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(l=qr(o.href),o=pr(m).hoistableStyles,c=o.get(l),c||(c={type:"style",instance:null,count:0,state:null},o.set(l,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=qr(o.href);var g=pr(m).hoistableStyles,w=g.get(n);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,w),(g=m.querySelector(co(n)))&&!g._p&&(w.instance=g,w.state.loading=5),$n.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},$n.set(n,o),g||oS(m,n,o,w.state))),l&&c===null)throw Error(r(528,""));return w}if(l&&c!==null)throw Error(r(529,""));return null;case"script":return l=o.async,o=o.src,typeof o=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Yr(o),o=pr(m).hoistableScripts,c=o.get(l),c||(c={type:"script",instance:null,count:0,state:null},o.set(l,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function qr(n){return'href="'+Tn(n)+'"'}function co(n){return'link[rel="stylesheet"]['+n+"]"}function bg(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function oS(n,l,o,c){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?c.loading=1:(l=n.createElement("link"),c.preload=l,l.addEventListener("load",function(){return c.loading|=1}),l.addEventListener("error",function(){return c.loading|=2}),jt(l,"link",o),Tt(l),n.head.appendChild(l))}function Yr(n){return'[src="'+Tn(n)+'"]'}function uo(n){return"script[async]"+n}function vg(n,l,o){if(l.count++,l.instance===null)switch(l.type){case"style":var c=n.querySelector('style[data-href~="'+Tn(o.href)+'"]');if(c)return l.instance=c,Tt(c),c;var m=b({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Tt(c),jt(c,"style",m),lc(c,o.precedence,n),l.instance=c;case"stylesheet":m=qr(o.href);var g=n.querySelector(co(m));if(g)return l.state.loading|=4,l.instance=g,Tt(g),g;c=bg(o),(m=$n.get(m))&&Vd(c,m),g=(n.ownerDocument||n).createElement("link"),Tt(g);var w=g;return w._p=new Promise(function(R,P){w.onload=R,w.onerror=P}),jt(g,"link",c),l.state.loading|=4,lc(g,o.precedence,n),l.instance=g;case"script":return g=Yr(o.src),(m=n.querySelector(uo(g)))?(l.instance=m,Tt(m),m):(c=o,(m=$n.get(g))&&(c=b({},o),_d(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),Tt(m),jt(m,"link",c),n.head.appendChild(m),l.instance=m);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(c=l.instance,l.state.loading|=4,lc(c,o.precedence,n));return l.instance}function lc(n,l,o){for(var c=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,w=0;w<c.length;w++){var R=c[w];if(R.dataset.precedence===l)g=R;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(l=o.nodeType===9?o.head:o,l.insertBefore(n,l.firstChild))}function Vd(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function _d(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var rc=null;function yg(n,l,o){if(rc===null){var c=new Map,m=rc=new Map;m.set(o,c)}else m=rc,c=m.get(o),c||(c=new Map,m.set(o,c));if(c.has(n))return c;for(c.set(n,null),o=o.getElementsByTagName(n),m=0;m<o.length;m++){var g=o[m];if(!(g[Ri]||g[$t]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var w=g.getAttribute(l)||"";w=n+w;var R=c.get(w);R?R.push(g):c.set(w,[g])}}return c}function xg(n,l,o){n=n.ownerDocument||n,n.head.insertBefore(o,l==="title"?n.querySelector("head > title"):null)}function sS(n,l,o){if(o===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return n=l.disabled,typeof l.precedence=="string"&&n==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Sg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function cS(n,l,o,c){if(o.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var m=qr(c.href),g=l.querySelector(co(m));if(g){l=g._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=ic.bind(n),l.then(n,n)),o.state.loading|=4,o.instance=g,Tt(g);return}g=l.ownerDocument||l,c=bg(c),(m=$n.get(m))&&Vd(c,m),g=g.createElement("link"),Tt(g);var w=g;w._p=new Promise(function(R,P){w.onload=R,w.onerror=P}),jt(g,"link",c),o.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,l),(l=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=ic.bind(n),l.addEventListener("load",o),l.addEventListener("error",o))}}var Fd=0;function uS(n,l){return n.stylesheets&&n.count===0&&sc(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var c=setTimeout(function(){if(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+l);0<n.imgBytes&&Fd===0&&(Fd=62500*_x());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Fd?50:800)+l);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function ic(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var oc=null;function sc(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,oc=new Map,l.forEach(fS,n),oc=null,ic.call(n))}function fS(n,l){if(!(l.state.loading&4)){var o=oc.get(n);if(o)var c=o.get(null);else{o=new Map,oc.set(n,o);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var w=m[g];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(o.set(w.dataset.precedence,w),c=w)}c&&o.set(null,c)}m=l.instance,w=m.getAttribute("data-precedence"),g=o.get(w)||c,g===c&&o.set(null,m),o.set(w,m),this.count++,c=ic.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),l.state.loading|=4}}var fo={$$typeof:N,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function dS(n,l,o,c,m,g,w,R,P){this.tag=1,this.containerInfo=n,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=Bu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bu(0),this.hiddenUpdates=Bu(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function wg(n,l,o,c,m,g,w,R,P,X,te,re){return n=new dS(n,l,o,w,P,X,te,re,R),l=1,g===!0&&(l|=24),g=fn(3,null,null,l),n.current=g,g.stateNode=n,l=Ef(),l.refCount++,n.pooledCache=l,l.refCount++,g.memoizedState={element:c,isDehydrated:o,cache:l},Af(g),n}function Cg(n){return n?(n=Tr,n):Tr}function Eg(n,l,o,c,m,g){m=Cg(m),c.context===null?c.context=m:c.pendingContext=m,c=Ka(l),c.payload={element:o},g=g===void 0?null:g,g!==null&&(c.callback=g),o=Ua(n,c,l),o!==null&&(Qt(o,n,l),Vi(o,n,l))}function Tg(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<l?o:l}}function Gd(n,l){Tg(n,l),(n=n.alternate)&&Tg(n,l)}function Rg(n){if(n.tag===13||n.tag===31){var l=Ll(n,67108864);l!==null&&Qt(l,n,67108864),Gd(n,67108864)}}function Mg(n){if(n.tag===13||n.tag===31){var l=gn();l=Hu(l);var o=Ll(n,l);o!==null&&Qt(o,n,l),Gd(n,l)}}var cc=!0;function hS(n,l,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=2,qd(n,l,o,c)}finally{O.p=g,z.T=m}}function mS(n,l,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=8,qd(n,l,o,c)}finally{O.p=g,z.T=m}}function qd(n,l,o,c){if(cc){var m=Yd(c);if(m===null)$d(n,l,c,uc,o),Lg(n,c);else if(gS(m,n,l,o,c))c.stopPropagation();else if(Lg(n,c),l&4&&-1<pS.indexOf(n)){for(;m!==null;){var g=mr(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var w=El(g.pendingLanes);if(w!==0){var R=g;for(R.pendingLanes|=2,R.entangledLanes|=2;w;){var P=1<<31-cn(w);R.entanglements[1]|=P,w&=~P}Wn(g),(_e&6)===0&&(Gs=Bt()+500,ro(0))}}break;case 31:case 13:R=Ll(g,2),R!==null&&Qt(R,g,2),Ys(),Gd(g,2)}if(g=Yd(c),g===null&&$d(n,l,c,uc,o),g===m)break;m=g}m!==null&&c.stopPropagation()}else $d(n,l,c,null,o)}}function Yd(n){return n=Xu(n),Xd(n)}var uc=null;function Xd(n){if(uc=null,n=hr(n),n!==null){var l=s(n);if(l===null)n=null;else{var o=l.tag;if(o===13){if(n=u(l),n!==null)return n;n=null}else if(o===31){if(n=f(l),n!==null)return n;n=null}else if(o===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return uc=n,null}function Ag(n){switch(n){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(Ye()){case Dt:return 2;case Gn:return 8;case fr:case t7:return 32;case Ih:return 268435456;default:return 32}default:return 32}}var Wd=!1,Ja=null,el=null,tl=null,ho=new Map,mo=new Map,nl=[],pS="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 Lg(n,l){switch(n){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":el=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":ho.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":mo.delete(l.pointerId)}}function po(n,l,o,c,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:l,domEventName:o,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},l!==null&&(l=mr(l),l!==null&&Rg(l)),n):(n.eventSystemFlags|=c,l=n.targetContainers,m!==null&&l.indexOf(m)===-1&&l.push(m),n)}function gS(n,l,o,c,m){switch(l){case"focusin":return Ja=po(Ja,n,l,o,c,m),!0;case"dragenter":return el=po(el,n,l,o,c,m),!0;case"mouseover":return tl=po(tl,n,l,o,c,m),!0;case"pointerover":var g=m.pointerId;return ho.set(g,po(ho.get(g)||null,n,l,o,c,m)),!0;case"gotpointercapture":return g=m.pointerId,mo.set(g,po(mo.get(g)||null,n,l,o,c,m)),!0}return!1}function kg(n){var l=hr(n.target);if(l!==null){var o=s(l);if(o!==null){if(l=o.tag,l===13){if(l=u(o),l!==null){n.blockedOn=l,_h(n.priority,function(){Mg(o)});return}}else if(l===31){if(l=f(o),l!==null){n.blockedOn=l,_h(n.priority,function(){Mg(o)});return}}else if(l===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function fc(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var o=Yd(n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);Yu=c,o.target.dispatchEvent(c),Yu=null}else return l=mr(o),l!==null&&Rg(l),n.blockedOn=o,!1;l.shift()}return!0}function Ng(n,l,o){fc(n)&&o.delete(l)}function bS(){Wd=!1,Ja!==null&&fc(Ja)&&(Ja=null),el!==null&&fc(el)&&(el=null),tl!==null&&fc(tl)&&(tl=null),ho.forEach(Ng),mo.forEach(Ng)}function dc(n,l){n.blockedOn===l&&(n.blockedOn=null,Wd||(Wd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,bS)))}var hc=null;function Dg(n){hc!==n&&(hc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){hc===n&&(hc=null);for(var l=0;l<n.length;l+=3){var o=n[l],c=n[l+1],m=n[l+2];if(typeof c!="function"){if(Xd(c||o)===null)continue;break}var g=mr(o);g!==null&&(n.splice(l,3),l-=3,Yf(g,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function Xr(n){function l(P){return dc(P,n)}Ja!==null&&dc(Ja,n),el!==null&&dc(el,n),tl!==null&&dc(tl,n),ho.forEach(l),mo.forEach(l);for(var o=0;o<nl.length;o++){var c=nl[o];c.blockedOn===n&&(c.blockedOn=null)}for(;0<nl.length&&(o=nl[0],o.blockedOn===null);)kg(o),o.blockedOn===null&&nl.shift();if(o=(n.ownerDocument||n).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var m=o[c],g=o[c+1],w=m[Gt]||null;if(typeof g=="function")w||Dg(o);else if(w){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,w=g[Gt]||null)R=w.formAction;else if(Xd(m)!==null)continue}else R=w.action;typeof R=="function"?o[c+1]=R:(o.splice(c,3),c-=3),Dg(o)}}}function $g(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(w){return m=w})},focusReset:"manual",scroll:"manual"})}function l(){m!==null&&(m(),m=null),c||setTimeout(o,20)}function o(){if(!c&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,m=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(o,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),m!==null&&(m(),m=null)}}}function Zd(n){this._internalRoot=n}mc.prototype.render=Zd.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(r(409));var o=l.current,c=gn();Eg(o,c,n,l,null,null)},mc.prototype.unmount=Zd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Eg(n.current,2,null,n,null,null),Ys(),l[dr]=null}};function mc(n){this._internalRoot=n}mc.prototype.unstable_scheduleHydration=function(n){if(n){var l=Vh();n={blockedOn:null,target:n,priority:l};for(var o=0;o<nl.length&&l!==0&&l<nl[o].priority;o++);nl.splice(o,0,n),o===0&&kg(n)}};var zg=t.version;if(zg!=="19.2.7")throw Error(r(527,zg,"19.2.7"));O.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=h(l),n=n!==null?p(n):null,n=n===null?null:n.stateNode,n};var vS={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pc.isDisabled&&pc.supportsFiber)try{Ci=pc.inject(vS),sn=pc}catch{}}return bo.createRoot=function(n,l){if(!i(n))throw Error(r(299));var o=!1,c="",m=Km,g=Um,w=Vm;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(g=l.onCaughtError),l.onRecoverableError!==void 0&&(w=l.onRecoverableError)),l=wg(n,1,!1,null,null,o,c,null,m,g,w,$g),n[dr]=l.current,Dd(n),new Zd(l)},bo.hydrateRoot=function(n,l,o){if(!i(n))throw Error(r(299));var c=!1,m="",g=Km,w=Um,R=Vm,P=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(w=o.onCaughtError),o.onRecoverableError!==void 0&&(R=o.onRecoverableError),o.formState!==void 0&&(P=o.formState)),l=wg(n,1,!0,l,o??null,c,m,P,g,w,R,$g),l.context=Cg(null),o=l.current,c=gn(),c=Hu(c),m=Ka(c),m.callback=null,Ua(o,m,c),o=c,l.current.lanes=o,Ti(l,o),Wn(l),n[dr]=l.current,Dd(n),new mc(l)},bo.version="19.2.7",bo}var Yg;function LS(){if(Yg)return t0.exports;Yg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),t0.exports=AS(),t0.exports}var kS=LS(),Xg=y.use,To=typeof window<"u"?y.useLayoutEffect:y.useEffect;function r0(e){const t=y.useRef({value:e,prev:null}),a=t.current.value;return e!==a&&(t.current={value:e,prev:a}),t.current.prev}function NS(e,t,a={},r={}){y.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!="function")return;const i=new IntersectionObserver(([s])=>{t(s)},a);return i.observe(e.current),()=>{i.disconnect()}},[t,a,r.disabled,e])}function DS(e){const t=y.useRef(null);return y.useImperativeHandle(e,()=>t.current,[]),t}const $v=!1;function $o(e){return e[e.length-1]}function $S(e){return typeof e=="function"}function ql(e,t){return $S(e)?e(t):e}const zv=Object.prototype.hasOwnProperty,Wg=Object.prototype.propertyIsEnumerable;function Pv(e){for(const t in e)if(zv.call(e,t))return!0;return!1}const zS=()=>Object.create(null),Ul=(e,t)=>Yl(e,t,zS);function Yl(e,t,a=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,s=Jg(e)&&Jg(i);if(!s&&!(Fc(e)&&Fc(i)))return i;const u=s?e:Zg(e);if(!u)return i;const f=s?i:Zg(i);if(!f)return i;const d=u.length,h=f.length,p=s?new Array(h):a();let b=0;for(let v=0;v<h;v++){const S=s?v:f[v],x=e[S],E=i[S];if(x===E){p[S]=x,(s?v<d:zv.call(e,S))&&b++;continue}if(x===null||E===null||typeof x!="object"||typeof E!="object"){p[S]=E;continue}const T=Yl(x,E,a,r+1);p[S]=T,T===x&&b++}return d===h&&b===d?e:p}function Zg(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!Wg.call(e,i))return!1;const a=Object.getOwnPropertySymbols(e);if(a.length===0)return t;const r=t;for(const i of a){if(!Wg.call(e,i))return!1;r.push(i)}return r}function Fc(e){if(!Qg(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const a=t.prototype;return!(!Qg(a)||!a.hasOwnProperty("isPrototypeOf"))}function Qg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Jg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Zl(e,t,a){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!Zl(e[r],t[r],a))return!1;return!0}if(Fc(e)&&Fc(t)){const r=(a==null?void 0:a.ignoreUndefined)??!0;if(a!=null&&a.partial){for(const u in t)if((!r||t[u]!==void 0)&&!Zl(e[u],t[u],a))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(const u in e)e[u]!==void 0&&i++;let s=0;for(const u in t)if((!r||t[u]!==void 0)&&(s++,s>i||!Zl(e[u],t[u],a)))return!1;return i===s}return!1}function pi(e){let t,a;const r=new Promise((i,s)=>{t=i,a=s});return r.status="pending",r.resolve=i=>{r.status="resolved",r.value=i,t(i),e==null||e(i)},r.reject=i=>{r.status="rejected",a(i)},r}function PS(e){return typeof(e==null?void 0:e.message)!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function zo(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}const OS=/[\x00-\x1f\x7f"<>`{}]/g;function jS(e){return e.replace(OS,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function eb(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,a=>{try{return decodeURI(a)}catch{return a}})}return jS(t)}const IS=["http:","https:","mailto:","tel:"];function Gc(e,t){if(!e)return!1;try{const a=new URL(e);return!t.has(a.protocol)}catch{return!1}}function vo(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let a=0,r="",i;for(;(i=t.exec(e))!==null;)r+=eb(e.slice(a,i.index))+i[0],a=t.lastIndex;r=r+eb(a?e.slice(a):e);let s=!1;return r.startsWith("//")&&(s=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:s}}function BS(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function HS(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}function Ra(){throw new Error("Invariant failed")}function Po(e){const t=new Map;let a,r;const i=s=>{s.next&&(s.prev?(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,r&&(r.next=s,s.prev=r)):(s.next.prev=void 0,a=s.next,s.next=void 0,r&&(s.prev=r,r.next=s)),r=s)};return{get(s){const u=t.get(s);if(u)return i(u),u.value},set(s,u){if(t.size>=e&&a){const d=a;t.delete(d.key),d.next&&(a=d.next,d.next.prev=void 0),d===r&&(r=void 0)}const f=t.get(s);if(f)f.value=u,i(f);else{const d={key:s,value:u,prev:r};r&&(r.next=d),r=d,a||(a=d),t.set(s,d)}},clear(){t.clear(),a=void 0,r=void 0}}}const ul=4,Ov=5;function KS(e){const t=e.indexOf("{");if(t===-1)return null;const a=e.indexOf("}",t);return a===-1||t+1>=e.length?null:[t,a]}function jv(e,t,a=new Uint16Array(6)){const r=e.indexOf("/",t),i=r===-1?e.length:r,s=e.substring(t,i);if(!s||!s.includes("$"))return a[0]=0,a[1]=t,a[2]=t,a[3]=i,a[4]=i,a[5]=i,a;if(s==="$"){const f=e.length;return a[0]=2,a[1]=t,a[2]=t,a[3]=f,a[4]=f,a[5]=f,a}if(s.charCodeAt(0)===36)return a[0]=1,a[1]=t,a[2]=t+1,a[3]=i,a[4]=i,a[5]=i,a;const u=KS(s);if(u){const[f,d]=u,h=s.charCodeAt(f+1);if(h===45){if(f+2<s.length&&s.charCodeAt(f+2)===36){const p=f+3,b=d;if(p<b)return a[0]=3,a[1]=t+f,a[2]=t+p,a[3]=t+b,a[4]=t+d+1,a[5]=i,a}}else if(h===36){const p=f+1,b=f+2;return b===d?(a[0]=2,a[1]=t+f,a[2]=t+p,a[3]=t+b,a[4]=t+d+1,a[5]=e.length,a):(a[0]=1,a[1]=t+f,a[2]=t+b,a[3]=t+d,a[4]=t+d+1,a[5]=i,a)}}return a[0]=0,a[1]=t,a[2]=t,a[3]=i,a[4]=i,a[5]=i,a}function yu(e,t,a,r,i,s,u){var d,h,p,b,v,S,x,E,T,L;u==null||u(a);let f=r;{const M=a.fullPath??a.from,N=M.length,A=((d=a.options)==null?void 0:d.caseSensitive)??e,B=((p=(h=a.options)==null?void 0:h.params)==null?void 0:p.parse)??((b=a.options)==null?void 0:b.parseParams);for(;f<N;){const $=jv(M,f,t);let k;const K=f,U=$[5];switch(f=U+1,s++,$[0]){case 0:{const q=M.substring($[2],$[3]);if(A){const ne=(v=i.static)==null?void 0:v.get(q);if(ne)k=ne;else{i.static??(i.static=new Map);const ae=Xl(a.fullPath??a.from);ae.parent=i,ae.depth=s,k=ae,i.static.set(q,ae)}}else{const ne=q.toLowerCase(),ae=(S=i.staticInsensitive)==null?void 0:S.get(ne);if(ae)k=ae;else{i.staticInsensitive??(i.staticInsensitive=new Map);const j=Xl(a.fullPath??a.from);j.parent=i,j.depth=s,k=j,i.staticInsensitive.set(ne,j)}}break}case 1:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),ae=A&&!!(q||ne),j=q?ae?q:q.toLowerCase():void 0,W=ne?ae?ne:ne.toLowerCase():void 0,z=!B&&((x=i.dynamic)==null?void 0:x.find(O=>!O.parse&&O.caseSensitive===ae&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=o0(1,a.fullPath??a.from,ae,j,W);k=O,O.depth=s,O.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(O)}break}case 3:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),ae=A&&!!(q||ne),j=q?ae?q:q.toLowerCase():void 0,W=ne?ae?ne:ne.toLowerCase():void 0,z=!B&&((E=i.optional)==null?void 0:E.find(O=>!O.parse&&O.caseSensitive===ae&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=o0(3,a.fullPath??a.from,ae,j,W);k=O,O.parent=i,O.depth=s,i.optional??(i.optional=[]),i.optional.push(O)}break}case 2:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),ae=A&&!!(q||ne),j=q?ae?q:q.toLowerCase():void 0,W=ne?ae?ne:ne.toLowerCase():void 0,z=o0(2,a.fullPath??a.from,ae,j,W);k=z,z.parent=i,z.depth=s,i.wildcard??(i.wildcard=[]),i.wildcard.push(z)}}i=k}if(B&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){const $=Xl(a.fullPath??a.from);$.kind=Ov,$.parent=i,s++,$.depth=s,i.pathless??(i.pathless=[]),i.pathless.push($),i=$}const F=(a.path||!a.children)&&!a.isRoot;if(F&&M.endsWith("/")){const $=Xl(a.fullPath??a.from);$.kind=ul,$.parent=i,s++,$.depth=s,i.index=$,i=$}i.parse=B??null,i.priority=((L=(T=a.options)==null?void 0:T.params)==null?void 0:L.priority)??0,F&&!i.route&&(i.route=a,i.fullPath=a.fullPath??a.from)}if(a.children)for(const M of a.children)yu(e,t,M,f,i,s,u)}function i0(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function sl(e){var t,a,r;if(e.pathless)for(const i of e.pathless)sl(i);if(e.static)for(const i of e.static.values())sl(i);if(e.staticInsensitive)for(const i of e.staticInsensitive.values())sl(i);if((t=e.dynamic)!=null&&t.length){e.dynamic.sort(i0);for(const i of e.dynamic)sl(i)}if((a=e.optional)!=null&&a.length){e.optional.sort(i0);for(const i of e.optional)sl(i)}if((r=e.wildcard)!=null&&r.length){e.wildcard.sort(i0);for(const i of e.wildcard)sl(i)}}function Xl(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function o0(e,t,a,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:a,prefix:r,suffix:i}}function US(e,t){const a=Xl("/"),r=new Uint16Array(6);for(const i of e)yu(!1,r,i,1,a,0);sl(a),t.masksTree=a,t.flatCache=Po(1e3)}function VS(e,t){e||(e="/");const a=t.flatCache.get(e);if(a)return a;const r=B2(e,t.masksTree);return t.flatCache.set(e,r),r}function _S(e,t,a,r,i){e||(e="/"),r||(r="/");const s=t?`case\0${e}`:e;let u=i.singleCache.get(s);return u||(u=Xl("/"),yu(t,new Uint16Array(6),{from:e},1,u,0),i.singleCache.set(s,u)),B2(r,u,a)}function FS(e,t,a=!1){const r=a?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||(e="/");let s;try{s=B2(e,t.segmentTree,a)}catch(u){if(u instanceof URIError)s=null;else throw u}return s&&(s.branch=Bv(s.route)),t.matchCache.set(r,s),s}function GS(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function qS(e,t=!1,a){const r=Xl(e.fullPath),i=new Uint16Array(6),s={},u={};let f=0;return yu(t,i,e,1,r,0,d=>{if(a==null||a(d,f),d.id in s&&Ra(),s[d.id]=d,f!==0&&d.path){const h=GS(d.fullPath);(!u[h]||d.fullPath.endsWith("/"))&&(u[h]=d)}f++}),sl(r),{processedTree:{segmentTree:r,singleCache:Po(1e3),matchCache:Po(1e3),flatCache:null,masksTree:null},routesById:s,routesByPath:u}}function B2(e,t,a=!1){const r=e.split("/"),i=XS(e,r,t,a);if(!i)return null;const[s]=Iv(e,r,i);return{route:i.node.route,rawParams:s}}function Iv(e,t,a){var p,b,v,S,x,E,T,L,M,N;const r=YS(a.node);let i=null;const s=Object.create(null);let u=((p=a.extract)==null?void 0:p.part)??0,f=((b=a.extract)==null?void 0:b.node)??0,d=((v=a.extract)==null?void 0:v.path)??0,h=((S=a.extract)==null?void 0:S.segment)??0;for(;f<r.length;u++,f++,d++,h++){const A=r[f];if(A.kind===ul)break;if(A.kind===Ov){h--,u--,d--;continue}const B=t[u],F=d;if(B&&(d+=B.length),A.kind===1){i??(i=a.node.fullPath.split("/"));const $=i[h],k=((x=A.prefix)==null?void 0:x.length)??0;if($.charCodeAt(k)===123){const K=((E=A.suffix)==null?void 0:E.length)??0,U=$.substring(k+2,$.length-K-1),q=B.substring(k,B.length-K);s[U]=decodeURIComponent(q)}else{const K=$.substring(1);s[K]=decodeURIComponent(B)}}else if(A.kind===3){if(a.skipped&1<<f){u--,d=F-1;continue}i??(i=a.node.fullPath.split("/"));const $=i[h],k=((T=A.prefix)==null?void 0:T.length)??0,K=((L=A.suffix)==null?void 0:L.length)??0,U=$.substring(k+3,$.length-K-1),q=A.suffix||A.prefix?B.substring(k,B.length-K):B;q&&(s[U]=decodeURIComponent(q))}else if(A.kind===2){const $=A,k=e.substring(F+(((M=$.prefix)==null?void 0:M.length)??0),e.length-(((N=$.suffix)==null?void 0:N.length)??0)),K=decodeURIComponent(k);s["*"]=K,s._splat=K;break}}return a.rawParams&&Object.assign(s,a.rawParams),[s,{part:u,node:f,path:d,segment:h}]}function Bv(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function YS(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function XS(e,t,a,r){if(e==="/"&&a.index)return{node:a.index,skipped:0};const i=!$o(t),s=i&&e!=="/",u=t.length-(i?1:0),f=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let d=null,h=null;for(;f.length;){const p=f.pop(),{node:b,index:v,skipped:S,depth:x,statics:E,dynamics:T,optionals:L}=p;let{extract:M,rawParams:N}=p;if(b.kind===2&&b.route&&!bc(h,p))continue;if(b.parse){if(!tb(e,t,p))continue;N=p.rawParams,M=p.extract}r&&b.route&&b.kind!==ul&&bc(d,p)&&(d=p);const A=v===u;if(A&&(b.route&&(!s||b.kind===ul||b.kind===2)&&bc(h,p)&&(h=p),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const B=A?void 0:t[v];let F;if(A&&b.index){const $={node:b.index,index:v,skipped:S,depth:x+1,statics:E,dynamics:T,optionals:L,extract:M,rawParams:N};let k=!0;if(b.index.parse&&(tb(e,t,$)||(k=!1)),k){if(!T&&!L&&!S&&WS(E,u))return $;bc(h,$)&&(h=$)}}if(b.wildcard)for(let $=b.wildcard.length-1;$>=0;$--){const k=b.wildcard[$],{prefix:K,suffix:U}=k;if(!(K&&(A||!(k.caseSensitive?B:F??(F=B.toLowerCase())).startsWith(K)))){if(U){if(A)continue;const q=t.slice(v).join("/").slice(-U.length);if((k.caseSensitive?q:q.toLowerCase())!==U)continue}f.push({node:k,index:u,skipped:S,depth:x+1,statics:E,dynamics:T,optionals:L,extract:M,rawParams:N})}}if(b.optional){const $=S|1<<x,k=x+1;for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K];f.push({node:U,index:v,skipped:$,depth:k,statics:E,dynamics:T,optionals:L,extract:M,rawParams:N})}if(!A)for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K],{prefix:q,suffix:ne}=U;if(q||ne){const ae=U.caseSensitive?B:F??(F=B.toLowerCase());if(q&&!ae.startsWith(q)||ne&&!ae.endsWith(ne))continue}f.push({node:U,index:v+1,skipped:S,depth:k,statics:E,dynamics:T,optionals:L+gc(u,v),extract:M,rawParams:N})}}if(!A&&b.dynamic&&B)for(let $=b.dynamic.length-1;$>=0;$--){const k=b.dynamic[$],{prefix:K,suffix:U}=k;if(K||U){const q=k.caseSensitive?B:F??(F=B.toLowerCase());if(K&&!q.startsWith(K)||U&&!q.endsWith(U))continue}f.push({node:k,index:v+1,skipped:S,depth:x+1,statics:E,dynamics:T+gc(u,v),optionals:L,extract:M,rawParams:N})}if(!A&&b.staticInsensitive){const $=b.staticInsensitive.get(F??(F=B.toLowerCase()));$&&f.push({node:$,index:v+1,skipped:S,depth:x+1,statics:E+gc(u,v),dynamics:T,optionals:L,extract:M,rawParams:N})}if(!A&&b.static){const $=b.static.get(B);$&&f.push({node:$,index:v+1,skipped:S,depth:x+1,statics:E+gc(u,v),dynamics:T,optionals:L,extract:M,rawParams:N})}if(b.pathless){const $=x+1;for(let k=b.pathless.length-1;k>=0;k--){const K=b.pathless[k];f.push({node:K,index:v,skipped:S,depth:$,statics:E,dynamics:T,optionals:L,extract:M,rawParams:N})}}}if(h)return h;if(r&&d){let p=d.index;for(let v=0;v<d.index;v++)p+=t[v].length;const b=p===e.length?"/":e.slice(p);return d.rawParams??(d.rawParams=Object.create(null)),d.rawParams["**"]=decodeURIComponent(b),d}return null}function gc(e,t){return 2**(e-t-1)}function WS(e,t){return e===2**(t-1)-1}function tb(e,t,a){let r,i;try{[r,i]=Iv(e,t,a)}catch{return null}if(a.rawParams=r,a.extract=i,!a.node.parse)return!0;try{if(a.node.parse(r)===!1)return null}catch{}return!0}function bc(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===ul)>(e.node.kind===ul)||t.node.kind===ul==(e.node.kind===ul)&&t.depth>e.depth))):!0}function Oc(e){return H2(e.filter(t=>t!==void 0).join("/"))}function H2(e){return e.replace(/\/{2,}/g,"/")}function Hv(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Ta(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/{1,}$/,""):e}function Kv(e){return Ta(Hv(e))}function qc(e,t){return e!=null&&e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function ZS(e,t,a){return qc(e,a)===qc(t,a)}function QS({base:e,to:t,trailingSlash:a="never",cache:r}){const i=t.startsWith("/"),s=!i&&t===".";let u;if(r){u=i?t:s?e:e+"\0"+t;const h=r.get(u);if(h)return h}let f;if(s)f=e.split("/");else if(i)f=t.split("/");else{for(f=e.split("/");f.length>1&&$o(f)==="";)f.pop();const h=t.split("/");for(let p=0,b=h.length;p<b;p++){const v=h[p];v===""?p?p===b-1&&f.push(v):f=[v]:v===".."?f.pop():v==="."||f.push(v)}}f.length>1&&($o(f)===""?a==="never"&&f.pop():a==="always"&&f.push(""));const d=H2(f.join("/"))||"/";return u&&r&&r.set(u,d),d}function JS(e){const t=new Map(e.map(i=>[encodeURIComponent(i),i])),a=Array.from(t.keys()).map(i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(a,"g");return i=>i.replace(r,s=>t.get(s)??s)}function s0(e,t,a){const r=t[e];return typeof r!="string"?r:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(i=>ab(i,a)).join("/"):ab(r,a)}function nb({path:e,params:t,decoder:a,...r}){let i=!1;const s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:i};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:i};const u=e.length;let f=0,d,h="";for(;f<u;){const p=f;d=jv(e,p,d);const b=d[5];if(f=b+1,p===b)continue;const v=d[0];if(v===0){h+="/"+e.substring(p,b);continue}if(v===2){const S=t._splat;s._splat=S,s["*"]=S;const x=e.substring(p,d[1]),E=e.substring(d[4],b);if(!S){i=!0,(x||E)&&(h+="/"+x+E);continue}const T=s0("_splat",t,a);h+="/"+x+T+E;continue}if(v===1){const S=e.substring(d[2],d[3]);!i&&!(S in t)&&(i=!0),s[S]=t[S];const x=e.substring(p,d[1]),E=e.substring(d[4],b),T=s0(S,t,a)??"undefined";h+="/"+x+T+E;continue}if(v===3){const S=e.substring(d[2],d[3]),x=t[S];if(x==null)continue;s[S]=x;const E=e.substring(p,d[1]),T=e.substring(d[4],b),L=s0(S,t,a)??"";h+="/"+E+L+T;continue}}return e.endsWith("/")&&(h+="/"),{usedParams:s,interpolatedPath:h||"/",isMissingParams:i}}function ab(e,t){const a=encodeURIComponent(e);return(t==null?void 0:t(a))??a}function Kt(e){return(e==null?void 0:e.isNotFound)===!0}function e9(){try{return sessionStorage}catch{return}}const t9="tsr-scroll-restoration-v1_3",si=e9();function n9(){try{return JSON.parse((si==null?void 0:si.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function a9(){try{si==null||si.setItem(t9,JSON.stringify(ol))}catch{}}const ol=n9(),lb="data-scroll-restoration-id",l9=e=>e.state.__TSR_key||e.href;function r9(e){const t=e.getAttribute(lb);if(t)return`[${lb}="${t}"]`;let a="",r=e,i;for(;i=r.parentNode;){let s=1,u=r;for(;u=u.previousElementSibling;)s++;const f=`${r.localName}:nth-child(${s})`;a=a?`${f} > ${a}`:f,r=i}return a}let vc=!1;const jc="window";function Y0(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function rb(e){const t=new Set;for(const a of e){if(a===jc)continue;const r=Y0(a);r&&t.add(r)}return t}function i9(e,t){const a=e.options.scrollRestoration,r=e._scroll;a&&(r.restoring=!0);const i=e.options.getScrollRestorationKey||l9,s=new Set,u=f=>{const d=ol[f]||(ol[f]={});for(const h of s)h===document?d[jc]={scrollX,scrollY}:h.isConnected&&(d[r9(h)]={scrollX:h.scrollLeft,scrollY:h.scrollTop})};a&&!r.restoration&&(r.restoration=!0,vc=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f=>{vc||s.add(f.target)},!0),e.subscribe("onBeforeLoad",f=>{f.fromLocation&&u(i(f.fromLocation)),s.clear()}),addEventListener("pagehide",()=>{u(i(e.stores.resolvedLocation.get()??e.stores.location.get())),a9()})),!r.reset&&(r.reset=!0,e.subscribe("onRendered",f=>{var E;const d=e.options.scrollRestorationBehavior,h=e.options.scrollToTopSelectors,p=r.next,b=r.hash;let v;if(s.clear(),r.next=!0,r.hash=!1,typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const S=i(f.toLocation),x=f.fromLocation&&i(f.fromLocation);if(r.restoring&&x&&x!==S){const T=ol[x];if(T){let L=ol[S];for(const M in T){if(M===jc){if(p)continue}else{const N=Y0(M);if(!N||p&&h&&(v??(v=rb(h)),v.has(N)))continue}L||(L=ol[S]={}),L[M]??(L[M]=T[M])}}}vc=!0;try{const T=f.toLocation.hash,L=f.toLocation.state.__hashScrollIntoViewOptions??!0;let M=!1;if(p){!T&&h&&(v??(v=rb(h)));const N=T&&L&&b,A=r.restoring?ol[S]:void 0;if(A)for(const B in A){const{scrollX:F,scrollY:$}=A[B];if(B===jc){if(N)continue;scrollTo({top:$,left:F,behavior:d}),M=!0}else{const k=Y0(B);k&&(k.scrollLeft=F,k.scrollTop=$,v==null||v.delete(k))}}if(!T){const B={top:0,left:0,behavior:d};if(M||scrollTo(B),v)for(const F of v)F.scrollTo(B)}}!M&&T&&L&&((E=document.getElementById(T))==null||E.scrollIntoView(L))}finally{vc=!1}}))}function o9(e,t=String){const a=new URLSearchParams;for(const r in e){const i=e[r];i!==void 0&&a.set(r,t(i))}return a.toString()}function c0(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function s9(e){const t=new URLSearchParams(e),a=Object.create(null);for(const[r,i]of t.entries()){const s=a[r];s==null?a[r]=c0(i):Array.isArray(s)?s.push(c0(i)):a[r]=[s,c0(i)]}return a}const c9=f9(JSON.parse),u9=d9(JSON.stringify,JSON.parse);function f9(e){return t=>{t[0]==="?"&&(t=t.substring(1));const a=s9(t);for(const r in a){const i=a[r];if(typeof i=="string")try{a[r]=e(i)}catch{}}return a}}function d9(e,t){const a=typeof t=="function";function r(i){if(typeof i=="object"&&i!==null)try{return e(i)}catch{}else if(a&&typeof i=="string")try{return t(i),e(i)}catch{}return i}return i=>{const s=o9(i,r);return s?`?${s}`:""}}const Ql="__root__";function xu(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const a=new Response(null,{status:e.statusCode,headers:t});if(a.options=e,e.throw)throw a;return a}function an(e){return e instanceof Response&&!!e.options}function h9(e){return{input:({url:t})=>{for(const a of e)t=X0(a,t);return t},output:({url:t})=>{for(let a=e.length-1;a>=0;a--)t=Uv(e[a],t);return t}}}function m9(e){const t=Kv(e.basepath),a=`/${t}`,r=e.caseSensitive?a:a.toLowerCase(),i=`${r}/`;return{input:({url:s})=>{const u=e.caseSensitive?s.pathname:s.pathname.toLowerCase();return u===r?s.pathname="/":u.startsWith(i)&&(s.pathname=s.pathname.slice(a.length)),s},output:({url:s})=>(s.pathname=Oc(["/",t,s.pathname]),s)}}function X0(e,t){var r;const a=(r=e==null?void 0:e.input)==null?void 0:r.call(e,{url:t});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return t}function Uv(e,t){var r;const a=(r=e==null?void 0:e.output)==null?void 0:r.call(e,{url:t});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return t}function p9(e,t){const{createMutableStore:a,createReadonlyStore:r,batch:i,init:s}=t,u=new Map,f=new Map,d=new Map,h=a(e.status),p=a(e.loadedAt),b=a(e.isLoading),v=a(e.isTransitioning),S=a(e.location),x=a(e.resolvedLocation),E=a(e.statusCode),T=a(e.redirect),L=a([]),M=a([]),N=a([]),A=r(()=>u0(u,L.get())),B=r(()=>u0(f,M.get())),F=r(()=>u0(d,N.get())),$=r(()=>L.get()[0]),k=r(()=>L.get().some(O=>{var oe;return((oe=u.get(O))==null?void 0:oe.get().status)==="pending"})),K=r(()=>{var O;return{locationHref:S.get().href,resolvedLocationHref:(O=x.get())==null?void 0:O.href,status:h.get()}}),U=r(()=>({status:h.get(),loadedAt:p.get(),isLoading:b.get(),isTransitioning:v.get(),matches:A.get(),location:S.get(),resolvedLocation:x.get(),statusCode:E.get(),redirect:T.get()})),q=Po(64);function ne(O){let oe=q.get(O);return oe||(oe=r(()=>{const J=L.get();for(const G of J){const D=u.get(G);if(D&&D.routeId===O)return D.get()}}),q.set(O,oe)),oe}const ae={status:h,loadedAt:p,isLoading:b,isTransitioning:v,location:S,resolvedLocation:x,statusCode:E,redirect:T,matchesId:L,pendingIds:M,cachedIds:N,matches:A,pendingMatches:B,cachedMatches:F,firstId:$,hasPending:k,matchRouteDeps:K,matchStores:u,pendingMatchStores:f,cachedMatchStores:d,__store:U,getRouteMatchStore:ne,setMatches:j,setPending:W,setCached:z};j(e.matches),s==null||s(ae);function j(O){f0(O,u,L,a,i)}function W(O){f0(O,f,M,a,i)}function z(O){f0(O,d,N,a,i)}return ae}function u0(e,t){const a=[];for(const r of t){const i=e.get(r);i&&a.push(i.get())}return a}function f0(e,t,a,r,i){const s=e.map(f=>f.id),u=new Set(s);i(()=>{for(const f of t.keys())u.has(f)||t.delete(f);for(const f of e){const d=t.get(f.id);if(!d){const h=r(f);h.routeId=f.routeId,t.set(f.id,h);continue}d.routeId=f.routeId,d.get()!==f&&d.set(f)}HS(a.get(),s)||a.set(s)})}const W0=e=>{var t;if(!e.rendered)return e.rendered=!0,(t=e.onReady)==null?void 0:t.call(e)},g9=e=>e.stores.matchesId.get().some(t=>{var a;return(a=e.stores.matchStores.get(t))==null?void 0:a.get()._forcePending}),Su=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Jl=(e,t,a=!0)=>{const r={...e.router.options.context??{}},i=a?t:t-1;for(let s=0;s<=i;s++){const u=e.matches[s];if(!u)continue;const f=e.router.getMatch(u.id);f&&Object.assign(r,f.__routeContext,f.__beforeLoadContext)}return r},ib=(e,t)=>{if(!e.matches.length)return;const a=t.routeId,r=e.matches.findIndex(u=>u.routeId===e.router.routeTree.id),i=r>=0?r:0;let s=a?e.matches.findIndex(u=>u.routeId===a):e.firstBadMatchIndex??e.matches.length-1;s<0&&(s=i);for(let u=s;u>=0;u--){const f=e.matches[u];if(e.router.looseRoutesById[f.routeId].options.notFoundComponent)return u}return a?s:i},fl=(e,t,a)=>{var r,i,s;if(!(!an(a)&&!Kt(a)))throw an(a)&&a.redirectHandled&&!a.options.reloadDocument||(t&&((r=t._nonReactive.beforeLoadPromise)==null||r.resolve(),(i=t._nonReactive.loaderPromise)==null||i.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=a,e.updateMatch(t.id,u=>({...u,status:an(a)?"redirected":Kt(a)?"notFound":u.status==="pending"?"success":u.status,context:Jl(e,t.index),isFetching:!1,error:a})),Kt(a)&&!a.routeId&&(a.routeId=t.routeId),(s=t._nonReactive.loadPromise)==null||s.resolve()),an(a)&&(e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a))),a},Vv=(e,t)=>{const a=e.router.getMatch(t);return!!(!a||a._nonReactive.dehydrated)},ob=(e,t,a)=>{const r=Jl(e,a);e.updateMatch(t,i=>({...i,context:r}))},yo=(e,t,a)=>{var u,f;const{id:r,routeId:i}=e.matches[t],s=e.router.looseRoutesById[i];if(a instanceof Promise)throw a;e.firstBadMatchIndex??(e.firstBadMatchIndex=t),fl(e,e.router.getMatch(r),a);try{(f=(u=s.options).onError)==null||f.call(u,a)}catch(d){a=d,fl(e,e.router.getMatch(r),a)}e.updateMatch(r,d=>{var h,p;return(h=d._nonReactive.beforeLoadPromise)==null||h.resolve(),d._nonReactive.beforeLoadPromise=void 0,(p=d._nonReactive.loadPromise)==null||p.resolve(),{...d,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}}),!e.preload&&!an(a)&&!Kt(a)&&(e.serialError??(e.serialError=a))},_v=(e,t,a,r)=>{var s;if(r._nonReactive.pendingTimeout!==void 0)return;const i=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Su(e,t)&&(a.options.loader||a.options.beforeLoad||Gv(a))&&typeof i=="number"&&i!==1/0&&(a.options.pendingComponent??((s=e.router.options)==null?void 0:s.defaultPendingComponent))){const u=setTimeout(()=>{W0(e)},i);r._nonReactive.pendingTimeout=u}},b9=(e,t,a)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;_v(e,t,a,r);const i=()=>{const s=e.router.getMatch(t);s.preload&&(s.status==="redirected"||s.status==="notFound")&&fl(e,s,s.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},v9=(e,t,a,r)=>{const i=e.router.getMatch(t);let s=i._nonReactive.loadPromise;i._nonReactive.loadPromise=pi(()=>{s==null||s.resolve(),s=void 0});const{paramsError:u,searchError:f}=i;u&&yo(e,a,u),f&&yo(e,a,f),_v(e,t,r,i);const d=new AbortController;let h=!1;const p=()=>{h||(h=!0,e.updateMatch(t,A=>({...A,isFetching:"beforeLoad",fetchCount:A.fetchCount+1,abortController:d})))},b=()=>{var A;(A=i._nonReactive.beforeLoadPromise)==null||A.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,B=>({...B,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{p(),b()});return}i._nonReactive.beforeLoadPromise=pi();const v={...Jl(e,a,!1),...i.__routeContext},{search:S,params:x,cause:E}=i,T=Su(e,t),L={search:S,abortController:d,params:x,preload:T,context:v,location:e.location,navigate:A=>e.router.navigate({...A,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:T?"preload":E,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},M=A=>{if(A===void 0){e.router.batch(()=>{p(),b()});return}(an(A)||Kt(A))&&(p(),yo(e,a,A)),e.router.batch(()=>{p(),e.updateMatch(t,B=>({...B,__beforeLoadContext:A})),b()})};let N;try{if(N=r.options.beforeLoad(L),zo(N))return p(),N.catch(A=>{yo(e,a,A)}).then(M)}catch(A){p(),yo(e,a,A)}M(N)},y9=(e,t)=>{const{id:a,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],s=()=>f(),u=()=>v9(e,a,t,i),f=()=>{if(Vv(e,a))return;const d=b9(e,a,i);return zo(d)?d.then(u):u()};return s()},x9=(e,t,a)=>{var s,u,f,d,h,p;const r=e.router.getMatch(t);if(!r||!a.options.head&&!a.options.scripts&&!a.options.headers)return;const i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([(u=(s=a.options).head)==null?void 0:u.call(s,i),(d=(f=a.options).scripts)==null?void 0:d.call(f,i),(p=(h=a.options).headers)==null?void 0:p.call(h,i)]).then(([b,v,S])=>({meta:b==null?void 0:b.meta,links:b==null?void 0:b.links,headScripts:b==null?void 0:b.scripts,headers:S,scripts:v,styles:b==null?void 0:b.styles}))},Fv=(e,t,a,r,i)=>{const s=t[r-1],{params:u,loaderDeps:f,abortController:d,cause:h}=e.router.getMatch(a),p=Jl(e,r),b=Su(e,a);return{params:u,deps:f,preload:!!b,parentMatchPromise:s,abortController:d,context:p,location:e.location,navigate:v=>e.router.navigate({...v,_fromLocation:e.location}),cause:b?"preload":h,route:i,...e.router.options.additionalContext}},sb=async(e,t,a,r,i)=>{var s,u,f,d,h;try{const p=e.router.getMatch(a);try{(!($v??e.router.isServer)||p.ssr===!0)&&Oo(i);const b=i.options.loader,v=typeof b=="function"?b:b==null?void 0:b.handler,S=v==null?void 0:v(Fv(e,t,a,r,i)),x=!!v&&zo(S);if((x||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||p._nonReactive.minPendingPromise)&&e.updateMatch(a,T=>({...T,isFetching:"loader"})),v){const T=x?await S:S;fl(e,e.router.getMatch(a),T),T!==void 0&&e.updateMatch(a,L=>({...L,loaderData:T}))}i._lazyPromise&&await i._lazyPromise;const E=p._nonReactive.minPendingPromise;E&&await E,i._componentsPromise&&await i._componentsPromise,e.updateMatch(a,T=>({...T,error:void 0,context:Jl(e,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(b){let v=b;if((v==null?void 0:v.name)==="AbortError"){if(p.abortController.signal.aborted){(s=p._nonReactive.loaderPromise)==null||s.resolve(),p._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,x=>({...x,status:x.status==="pending"?"success":x.status,isFetching:!1,context:Jl(e,r)}));return}const S=p._nonReactive.minPendingPromise;S&&await S,Kt(b)&&await((f=(u=i.options.notFoundComponent)==null?void 0:u.preload)==null?void 0:f.call(u)),fl(e,e.router.getMatch(a),b);try{(h=(d=i.options).onError)==null||h.call(d,b)}catch(x){v=x,fl(e,e.router.getMatch(a),x)}!an(v)&&!Kt(v)&&await Oo(i,["errorComponent"]),e.updateMatch(a,x=>({...x,error:v,context:Jl(e,r),status:"error",isFetching:!1}))}}catch(p){const b=e.router.getMatch(a);b&&(b._nonReactive.loaderPromise=void 0),fl(e,b,p)}},S9=async(e,t,a)=>{var S,x,E,T;async function r(L,M,N,A,B){const F=Date.now()-M.updatedAt,$=L?B.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:B.options.staleTime??e.router.options.defaultStaleTime??0,k=B.options.shouldReload,K=typeof k=="function"?k(Fv(e,t,i,a,B)):k,{status:U,invalid:q}=A,ne=F>=$&&(!!e.forceStaleReload||A.cause==="enter"||N!==void 0&&N!==A.id);u=U==="success"&&(q||(K??ne)),L&&B.options.preload===!1||(u&&!e.sync&&p?(f=!0,(async()=>{var ae,j;try{await sb(e,t,i,a,B);const W=e.router.getMatch(i);(ae=W._nonReactive.loaderPromise)==null||ae.resolve(),(j=W._nonReactive.loadPromise)==null||j.resolve(),W._nonReactive.loaderPromise=void 0,W._nonReactive.loadPromise=void 0}catch(W){an(W)&&await e.router.navigate(W.options)}})()):U!=="success"||u?await sb(e,t,i,a,B):ob(e,i,a))}const{id:i,routeId:s}=e.matches[a];let u=!1,f=!1;const d=e.router.looseRoutesById[s],h=d.options.loader,p=((typeof h=="function"||h==null?void 0:h.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(Vv(e,i)){if(!e.router.getMatch(i))return e.matches[a];ob(e,i,a)}else{const L=e.router.getMatch(i),M=e.router.stores.matchesId.get()[a],N=((S=M&&e.router.stores.matchStores.get(M)||null)==null?void 0:S.routeId)===s?M:(x=e.router.stores.matches.get().find(B=>B.routeId===s))==null?void 0:x.id,A=Su(e,i);if(L._nonReactive.loaderPromise){if(L.status==="success"&&!e.sync&&!L.preload&&p)return L;await L._nonReactive.loaderPromise;const B=e.router.getMatch(i),F=B._nonReactive.error||B.error;F&&fl(e,B,F),B.status==="pending"&&await r(A,L,N,B,d)}else{const B=A&&!e.router.stores.matchStores.has(i),F=e.router.getMatch(i);F._nonReactive.loaderPromise=pi(),B!==F.preload&&e.updateMatch(i,$=>({...$,preload:B})),await r(A,L,N,F,d)}}const b=e.router.getMatch(i);f||((E=b._nonReactive.loaderPromise)==null||E.resolve(),(T=b._nonReactive.loadPromise)==null||T.resolve(),b._nonReactive.loadPromise=void 0),clearTimeout(b._nonReactive.pendingTimeout),b._nonReactive.pendingTimeout=void 0,f||(b._nonReactive.loaderPromise=void 0),b._nonReactive.dehydrated=void 0;const v=f?b.isFetching:!1;return v!==b.isFetching||b.invalid!==!1?(e.updateMatch(i,L=>({...L,isFetching:v,invalid:!1})),e.router.getMatch(i)):b};async function cb(e){var v,S;const t=e,a=[];g9(t.router)&&W0(t);let r;for(let x=0;x<t.matches.length;x++){try{const E=y9(t,x);zo(E)&&await E}catch(E){if(an(E))throw E;if(Kt(E))r=E;else if(!t.preload)throw E;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const i=t.firstBadMatchIndex??t.matches.length,s=r&&!t.preload?ib(t,r):void 0,u=r&&t.preload?0:s!==void 0?Math.min(s+1,i):i;let f,d;for(let x=0;x<u;x++)a.push(S9(t,a,x));try{await Promise.all(a)}catch{const x=await Promise.allSettled(a);for(const E of x){if(E.status!=="rejected")continue;const T=E.reason;if(an(T))throw T;Kt(T)?f??(f=T):d??(d=T)}if(d!==void 0)throw d}const h=f??(r&&!t.preload?r:void 0);let p=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!h&&r&&t.preload)return t.matches;if(h){const x=ib(t,h);x===void 0&&Ra();const E=t.matches[x],T=t.router.looseRoutesById[E.routeId],L=(v=t.router.options)==null?void 0:v.defaultNotFoundComponent;!T.options.notFoundComponent&&L&&(T.options.notFoundComponent=L),h.routeId=E.routeId;const M=E.routeId===t.router.routeTree.id;t.updateMatch(E.id,N=>({...N,...M?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:h},isFetching:!1})),p=x,await Oo(T,["notFoundComponent"])}else if(!t.preload){const x=t.matches[0];x.globalNotFound||(S=t.router.getMatch(x.id))!=null&&S.globalNotFound&&t.updateMatch(x.id,E=>({...E,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const x=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Oo(x,["errorComponent"])}for(let x=0;x<=p;x++){const{id:E,routeId:T}=t.matches[x],L=t.router.looseRoutesById[T];try{const M=x9(t,E,L);if(M){const N=await M;t.updateMatch(E,A=>({...A,...N}))}}catch(M){console.error(`Error executing head for route ${T}:`,M)}}const b=W0(t);if(zo(b)&&await b,h)throw h;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function ub(e,t){const a=t.map(r=>{var i,s;return(s=(i=e.options[r])==null?void 0:i.preload)==null?void 0:s.call(i)}).filter(Boolean);if(a.length!==0)return Promise.all(a)}function Oo(e,t=Ic){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(r=>{const{id:i,...s}=r.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const a=()=>e._componentsLoaded?void 0:t===Ic?(()=>{if(e._componentsPromise===void 0){const r=ub(e,Ic);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():ub(e,t);return e._lazyPromise?e._lazyPromise.then(a):a()}function Gv(e){var t;for(const a of Ic)if((t=e.options[a])!=null&&t.preload)return!0;return!1}const Ic=["component","errorComponent","pendingComponent","notFoundComponent"];var ml="__TSR_index",fb="popstate",db="beforeunload";function w9(e){let t=e.getLocation();const a=new Set,r=u=>{t=e.getLocation(),a.forEach(f=>f({location:t,action:u}))},i=u=>{e.notifyOnIndexChange??!0?r(u):t=e.getLocation()},s=async({task:u,navigateOpts:f,...d})=>{var b,v;if((f==null?void 0:f.ignoreBlocker)??!1){u();return}const h=((b=e.getBlockers)==null?void 0:b.call(e))??[],p=d.type==="PUSH"||d.type==="REPLACE";if(typeof document<"u"&&h.length&&p)for(const S of h){const x=Yc(d.path,d.state);if(await S.blockerFn({currentLocation:t,nextLocation:x,action:d.type})){(v=e.onBlocked)==null||v.call(e);return}}u()};return{get location(){return t},get length(){return e.getLength()},subscribers:a,subscribe:u=>(a.add(u),()=>{a.delete(u)}),push:(u,f,d)=>{const h=t.state[ml];f=hb(h+1,f),s({task:()=>{e.pushState(u,f),r({type:"PUSH"})},navigateOpts:d,type:"PUSH",path:u,state:f})},replace:(u,f,d)=>{const h=t.state[ml];f=hb(h,f),s({task:()=>{e.replaceState(u,f),r({type:"REPLACE"})},navigateOpts:d,type:"REPLACE",path:u,state:f})},go:(u,f)=>{s({task:()=>{e.go(u),i({type:"GO",index:u})},navigateOpts:f,type:"GO"})},back:u=>{s({task:()=>{e.back((u==null?void 0:u.ignoreBlocker)??!1),i({type:"BACK"})},navigateOpts:u,type:"BACK"})},forward:u=>{s({task:()=>{e.forward((u==null?void 0:u.ignoreBlocker)??!1),i({type:"FORWARD"})},navigateOpts:u,type:"FORWARD"})},canGoBack:()=>t.state[ml]!==0,createHref:u=>e.createHref(u),block:u=>{var d;if(!e.setBlockers)return()=>{};const f=((d=e.getBlockers)==null?void 0:d.call(e))??[];return e.setBlockers([...f,u]),()=>{var p,b;const h=((p=e.getBlockers)==null?void 0:p.call(e))??[];(b=e.setBlockers)==null||b.call(e,h.filter(v=>v!==u))}},flush:()=>{var u;return(u=e.flush)==null?void 0:u.call(e)},destroy:()=>{var u;return(u=e.destroy)==null?void 0:u.call(e)},notify:r}}function hb(e,t){t||(t={});const a=K2();return{...t,key:a,__TSR_key:a,[ml]:e}}function C9(e){var k,K;const t=typeof document<"u"?window:void 0,a=t.history.pushState,r=t.history.replaceState;let i=[];const s=()=>i,u=U=>i=U,f=(U=>U),d=(()=>Yc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!((k=t.history.state)!=null&&k.__TSR_key)&&!((K=t.history.state)!=null&&K.key)){const U=K2();t.history.replaceState({[ml]:0,key:U,__TSR_key:U},"")}let h=d(),p,b=!1,v=!1,S=!1,x=!1;const E=()=>h;let T,L;const M=()=>{T&&($._ignoreSubscribers=!0,(T.isPush?t.history.pushState:t.history.replaceState)(T.state,"",T.href),$._ignoreSubscribers=!1,T=void 0,L=void 0,p=void 0)},N=(U,q,ne)=>{const ae=f(q);L||(p=h),h=Yc(q,ne),T={href:ae,state:ne,isPush:(T==null?void 0:T.isPush)||U==="push"},L||(L=Promise.resolve().then(()=>M()))},A=U=>{h=d(),$.notify({type:U})},B=async()=>{if(v){v=!1;return}const U=d(),q=U.state[ml]-h.state[ml],ne=q===1,ae=q===-1,j=!ne&&!ae||b;b=!1;const W=j?"GO":ae?"BACK":"FORWARD",z=j?{type:"GO",index:q}:{type:ae?"BACK":"FORWARD"};if(S)S=!1;else{const O=s();if(typeof document<"u"&&O.length){for(const oe of O)if(await oe.blockerFn({currentLocation:h,nextLocation:U,action:W})){v=!0,t.history.go(1),$.notify(z);return}}}h=d(),$.notify(z)},F=U=>{if(x){x=!1;return}let q=!1;const ne=s();if(typeof document<"u"&&ne.length)for(const ae of ne){const j=ae.enableBeforeUnload??!0;if(j===!0){q=!0;break}if(typeof j=="function"&&j()===!0){q=!0;break}}if(q)return U.preventDefault(),U.returnValue=""},$=w9({getLocation:E,getLength:()=>t.history.length,pushState:(U,q)=>N("push",U,q),replaceState:(U,q)=>N("replace",U,q),back:U=>(U&&(S=!0),x=!0,t.history.back()),forward:U=>{U&&(S=!0),x=!0,t.history.forward()},go:U=>{b=!0,t.history.go(U)},createHref:U=>f(U),flush:M,destroy:()=>{t.history.pushState=a,t.history.replaceState=r,t.removeEventListener(db,F,{capture:!0}),t.removeEventListener(fb,B)},onBlocked:()=>{p&&h!==p&&(h=p)},getBlockers:s,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(db,F,{capture:!0}),t.addEventListener(fb,B),t.history.pushState=function(...U){const q=a.apply(t.history,U);return $._ignoreSubscribers||A("PUSH"),q},t.history.replaceState=function(...U){const q=r.apply(t.history,U);return $._ignoreSubscribers||A("REPLACE"),q},$}function E9(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function Yc(e,t){const a=E9(e),r=a.indexOf("#"),i=a.indexOf("?"),s=K2();return{href:a,pathname:a.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:a.length),hash:r>-1?a.substring(r):"",search:i>-1?a.slice(i,r===-1?void 0:r):"",state:t||{[ml]:0,key:s,__TSR_key:s}}}function K2(){return(Math.random()+1).toString(36).substring(7)}function ci(e,t){const a=t,r=e;return{fromLocation:a,toLocation:r,pathChanged:(a==null?void 0:a.pathname)!==r.pathname,hrefChanged:(a==null?void 0:a.href)!==r.href,hashChanged:(a==null?void 0:a.hash)!==r.hash}}var T9=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=a=>a(),this.update=a=>{var p;const r=this.options,i=this.basepath??(r==null?void 0:r.basepath)??"/",s=this.basepath===void 0,u=r==null?void 0:r.rewrite;if(this.options={...r,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=JS(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=C9()),this.origin=this.options.origin,this.origin||(window!=null&&window.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let b;this.resolvePathCache=Po(1e3),b=this.buildRouteTree(),this.setRoutes(b)}if(!this.stores&&this.latestLocation){const b=this.getStoreConfig(this);this.batch=b.batch,this.stores=p9(M9(this.latestLocation),b),i9(this)}let f=!1;const d=this.options.basepath??"/",h=this.options.rewrite;if(s||i!==d||u!==h){this.basepath=d;const b=[],v=Kv(d);v&&v!=="/"&&b.push(m9({basepath:d})),h&&b.push(h),this.rewrite=b.length===0?void 0:b.length===1?b[0]:h9(b),this.history&&this.updateLatestLocation(),f=!0}f&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof((p=window.CSS)==null?void 0:p.supports)=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const a=qS(this.routeTree,this.options.caseSensitive,(r,i)=>{r.init({originalIndex:i})});return this.options.routeMasks&&US(this.options.routeMasks,a.processedTree),a},this.subscribe=(a,r)=>{const i={eventType:a,fn:r};return this.subscribers.add(i),()=>{this.subscribers.delete(i)}},this.emit=a=>{this.subscribers.forEach(r=>{r.eventType===a.type&&r.fn(a)})},this.parseLocation=(a,r)=>{const i=({pathname:d,search:h,hash:p,href:b,state:v})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(d)){const L=this.options.parseSearch(h),M=this.options.stringifySearch(L);return{href:d+M+p,publicHref:d+M+p,pathname:vo(d).path,external:!1,searchStr:M,search:Ul(r==null?void 0:r.search,L),hash:vo(p.slice(1)).path,state:Yl(r==null?void 0:r.state,v)}}const S=new URL(b,this.origin),x=X0(this.rewrite,S),E=this.options.parseSearch(x.search),T=this.options.stringifySearch(E);return x.search=T,{href:x.href.replace(x.origin,""),publicHref:b,pathname:vo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:T,search:Ul(r==null?void 0:r.search,E),hash:vo(x.hash.slice(1)).path,state:Yl(r==null?void 0:r.state,v)}},s=i(a),{__tempLocation:u,__tempKey:f}=s.state;if(u&&(!f||f===this.tempLocationKey)){const d=i(u);return d.state.key=s.state.key,d.state.__TSR_key=s.state.__TSR_key,delete d.state.__tempLocation,{...d,maskedLocation:s}}return s},this.resolvePathWithBase=(a,r)=>QS({base:a,to:r.includes("//")?H2(r):r,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,r,i)=>typeof a=="string"?this.matchRoutesInternal({pathname:a,search:r},i):this.matchRoutesInternal(a,r),this.getMatchedRoutes=a=>A9({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=a=>{const r=this.getMatch(a);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(a=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach(a=>{var i;if(this.stores.pendingMatchStores.has(a))return;const r=(i=this.stores.matchStores.get(a))==null?void 0:i.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(a)})},this.buildLocation=a=>{const r=(s={})=>{var q,ne;const u=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,f=this.matchRoutesLightweight(u);s.from;const d=s.unsafeRelative==="path"?u.pathname:s.from??f.fullPath,h=s.to?`${s.to}`:void 0,p=f.search,b=Object.assign(Object.create(null),f.params),v=(h==null?void 0:h.charCodeAt(0))===47?"/":this.resolvePathWithBase(d,"."),S=h?this.resolvePathWithBase(v,h):v,x=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?b:Object.assign(b,ql(s.params,b)),E=this.routesByPath[Ta(S)];let T;if(E)T=this.getRouteBranch(E);else if(S.includes("$"))T=[];else{const ae=this.getMatchedRoutes(S);T=ae.matchedRoutes,this.options.notFoundRoute&&(!ae.foundRoute||ae.foundRoute.path!=="/"&&ae.routeParams["**"])&&(T=[...T,this.options.notFoundRoute])}if(T.length&&Pv(x))for(const ae of T){const j=((q=ae.options.params)==null?void 0:q.stringify)??ae.options.stringifyParams;if(j)try{Object.assign(x,j(x))}catch{}}const L=a.leaveParams?S:vo(nb({path:S,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let M=p;if(a._includeValidateSearch&&((ne=this.options.search)!=null&&ne.strict)){const ae={};T.forEach(j=>{if(j.options.validateSearch)try{Object.assign(ae,Bc(j.options.validateSearch,{...ae,...M}))}catch{}}),M=ae}M=L9({search:M,dest:s,destRoutes:T,_includeValidateSearch:a._includeValidateSearch}),M=Ul(p,M);const N=this.options.stringifySearch(M),A=s.hash===!0?u.hash:s.hash?ql(s.hash,u.hash):void 0,B=A?`#${A}`:"";let F=s.state===!0?u.state:s.state?ql(s.state,u.state):{};F=Yl(u.state,F);const $=`${L}${N}${B}`;let k,K,U=!1;if(this.rewrite){const ae=new URL($,this.origin),j=Uv(this.rewrite,ae);k=ae.href.replace(ae.origin,""),j.origin!==this.origin?(K=j.href,U=!0):K=j.pathname+j.search+j.hash}else k=BS($),K=k;return{publicHref:K,href:k,pathname:L,search:M,searchStr:N,state:F,hash:A??"",external:U,unmaskOnReload:s.unmaskOnReload}},i=(s={},u)=>{const f=r(s);let d=u?r(u):void 0;if(!d){const h=Object.create(null);if(this.options.routeMasks){const p=VS(f.pathname,this.processedTree);if(p){Object.assign(h,p.rawParams);const{from:b,params:v,...S}=p.route,x=v===!1||v===null?Object.create(null):(v??!0)===!0?h:Object.assign(h,ql(v,h));u={from:a.from,...S,params:x},d=r(u)}}}return d&&(f.maskedLocation=d),f};return a.mask?i(a,{from:a.from,...a.mask}):i(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:r,...i})=>{let s;const u=()=>{const h=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];h.forEach(b=>{i.state[b]=this.latestLocation.state[b]});const p=Zl(i.state,this.latestLocation.state);return h.forEach(b=>{delete i.state[b]}),p},f=Ta(this.latestLocation.href)===Ta(i.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=pi(()=>{d==null||d.resolve(),d=void 0}),f&&u())this.load();else{let{maskedLocation:h,hashScrollIntoView:p,...b}=i;h&&(b={...h,state:{...h.state,__tempKey:void 0,__tempLocation:{...b,search:b.searchStr,state:{...b.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(b.unmaskOnReload??this.options.unmaskOnReload??!1)&&(b.state.__tempKey=this.tempLocationKey)),b.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,s=i.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](b.publicHref,b.state,{ignoreBlocker:r})}return this._scroll.next=i.resetScroll??!0,this.history.subscribers.size||this.load(s?{action:{type:s}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:r,hashScrollIntoView:i,viewTransition:s,ignoreBlocker:u,href:f,...d}={})=>{if(f){const b=this.history.location.state.__TSR_index,v=Yc(f,{__TSR_index:a?b:b+1}),S=new URL(v.pathname,this.origin);d.to=X0(this.rewrite,S).pathname,d.search=this.options.parseSearch(v.search),d.hash=v.hash.slice(1)}const h=this.buildLocation({...d,_includeValidateSearch:!0});this.pendingBuiltLocation=h;const p=this.commitLocation({...h,viewTransition:s,replace:a,resetScroll:r,hashScrollIntoView:i,ignoreBlocker:u});return queueMicrotask(()=>{this.pendingBuiltLocation===h&&(this.pendingBuiltLocation=void 0)}),p},this.navigate=async({to:a,reloadDocument:r,href:i,publicHref:s,...u})=>{var d,h;let f=!1;if(i)try{new URL(`${i}`),f=!0}catch{}if(f&&!r&&(r=!0),r){if(a!==void 0||!i){const b=this.buildLocation({to:a,...u});i=i??b.publicHref,s=s??b.publicHref}const p=!f&&s?s:i;if(Gc(p,this.protocolAllowlist))return;if(!u.ignoreBlocker){const b=((h=(d=this.history).getBlockers)==null?void 0:h.call(d))??[];for(const v of b)if(v!=null&&v.blockerFn&&await v.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}u.replace?window.location.replace(p):window.location.href=p;return}return this.buildAndCommitLocation({...u,href:i,to:a,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const a=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(i=>!a.some(s=>s.id===i.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(r)})},this.load=async a=>{var h;const r=(h=a==null?void 0:a.action)==null?void 0:h.type;let i,s,u;const f=this.stores.resolvedLocation.get()??this.stores.location.get();for(u=new Promise(p=>{this.startTransition(async()=>{var b;try{this.beforeLoad(),r&&(this._scroll.hash=r==="PUSH"||r==="REPLACE");const v=this.latestLocation,S=ci(v,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...S}),this.emit({type:"onBeforeLoad",...S}),await cb({router:this,sync:a==null?void 0:a.sync,forceStaleReload:f.href===v.href,matches:this.stores.pendingMatches.get(),location:v,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{var M,N;let x=null,E=null,T=null,L=null;this.batch(()=>{const A=this.stores.pendingMatches.get(),B=A.length,F=this.stores.matches.get();x=B?F.filter(K=>!this.stores.pendingMatchStores.has(K.id)):null;const $=new Set;for(const K of this.stores.pendingMatchStores.values())K.routeId&&$.add(K.routeId);const k=new Set;for(const K of this.stores.matchStores.values())K.routeId&&k.add(K.routeId);E=B?F.filter(K=>!$.has(K.routeId)):null,T=B?A.filter(K=>!k.has(K.routeId)):null,L=B?A.filter(K=>k.has(K.routeId)):F,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),B&&(this.stores.setMatches(A),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...x.filter(K=>K.status!=="error"&&K.status!=="notFound"&&K.status!=="redirected")]),this.clearExpiredCache())});for(const[A,B]of[[E,"onLeave"],[T,"onEnter"],[L,"onStay"]])if(A)for(const F of A)(N=(M=this.looseRoutesById[F.routeId].options)[B])==null||N.call(M,F)})})}})}catch(v){an(v)?(i=v,this.navigate({...i.options,replace:!0,ignoreBlocker:!0})):Kt(v)&&(s=v);const S=i?i.status:s?404:this.stores.matches.get().some(x=>x.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(S),this.stores.redirect.set(i)})}this.latestLoadPromise===u&&((b=this.commitLocationPromise)==null||b.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=u,await u;this.latestLoadPromise&&u!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=a=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let i;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const s=this.latestLocation,u=this.stores.resolvedLocation.get(),f=typeof r.types=="function"?r.types(ci(s,u)):r.types;if(f===!1){a();return}i={update:a,types:f}}else i=a;document.startViewTransition(i)}else a()},this.updateMatch=(a,r)=>{this.startTransition(()=>{const i=this.stores.pendingMatchStores.get(a);if(i){i.set(r);return}const s=this.stores.matchStores.get(a);if(s){s.set(r);return}const u=this.stores.cachedMatchStores.get(a);if(u){const f=r(u.get());f.status==="redirected"?this.stores.cachedMatchStores.delete(a)&&this.stores.cachedIds.set(d=>d.filter(h=>h!==a)):u.set(f)}})},this.getMatch=a=>{var r,i,s;return((r=this.stores.cachedMatchStores.get(a))==null?void 0:r.get())??((i=this.stores.pendingMatchStores.get(a))==null?void 0:i.get())??((s=this.stores.matchStores.get(a))==null?void 0:s.get())},this.invalidate=a=>{const r=i=>{var s;return((s=a==null?void 0:a.filter)==null?void 0:s.call(a,i))??!0?{...i,invalid:!0,...a!=null&&a.forcePending||i.status==="error"||i.status==="notFound"?{status:"pending",error:void 0}:void 0}:i};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:a==null?void 0:a.sync})},this.getParsedLocationHref=a=>a.publicHref||"/",this.resolveRedirect=a=>{const r=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){const i=a.options._builtLocation??this.buildLocation(a.options),s=this.getParsedLocationHref(i);a.options.href=s,a.headers.set("Location",s)}else if(r)try{const i=new URL(r);if(this.origin&&i.origin===this.origin){const s=i.pathname+i.search+i.hash;a.options.href=s,a.headers.set("Location",s)}}catch{}if(a.options.href&&!a.options._builtLocation&&Gc(a.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return a.headers.get("Location")||a.headers.set("Location",a.options.href),a},this.clearCache=a=>{const r=a==null?void 0:a.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(i=>!r(i))):this.stores.setCached([])},this.clearExpiredCache=()=>{const a=Date.now(),r=i=>{const s=this.looseRoutesById[i.routeId];if(!s.options.loader)return!0;const u=(i.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300*1e3;return i.status==="error"?!0:a-i.updatedAt>=u};this.clearCache({filter:r})},this.loadRouteChunk=Oo,this.preloadRoute=async a=>{const r=a._builtLocation??this.buildLocation(a);let i=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:a});const s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),u=new Set([...s,...this.stores.cachedIds.get()]),f=i.filter(d=>!u.has(d.id));if(f.length){const d=this.stores.cachedMatches.get();this.stores.setCached([...d,...f])}try{return i=await cb({router:this,matches:i,location:r,preload:!0,updateMatch:(d,h)=>{s.has(d)?i=i.map(p=>p.id===d?h(p):p):this.updateMatch(d,h)}}),i}catch(d){if(an(d))return d.options.reloadDocument?void 0:await this.preloadRoute({...d.options,_fromLocation:r});Kt(d)||console.error(d);return}},this.matchRoute=(a,r)=>{const i={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},s=this.buildLocation(i);if(r!=null&&r.pending&&this.stores.status.get()!=="pending")return!1;const u=((r==null?void 0:r.pending)===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=_S(s.pathname,(r==null?void 0:r.caseSensitive)??!1,(r==null?void 0:r.fuzzy)??!1,u.pathname,this.processedTree);return!f||a.params&&!Zl(f.rawParams,a.params,{partial:!0})?!1:(r==null?void 0:r.includeSearch)??!0?Zl(u.search,s.search,{partial:!0})?f.rawParams:!1:f.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(a=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??u9,parseSearch:e.parseSearch??c9,protocolAllowlist:e.protocolAllowlist??IS}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:a}){this.routesById=e,this.routesByPath=t,this.processedTree=a;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Bv(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e!=null&&e.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){var p,b;const a=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i}=a;let{matchedRoutes:s}=a,u=!1;(r?r.path!=="/"&&i["**"]:Ta(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:u=!0);const f=u?N9(this.options.notFoundMode,s):void 0,d=new Array(s.length),h=new Map;for(const v of this.stores.matchStores.values())v.routeId&&h.set(v.routeId,v.get());for(let v=0;v<s.length;v++){const S=s[v],x=d[v-1];let E,T,L;{const j=(x==null?void 0:x.search)??e.search,W=(x==null?void 0:x._strictSearch)??void 0;try{const z=Bc(S.options.validateSearch,{...j})??void 0;E={...j,...z},T={...W,...z},L=void 0}catch(z){let O=z;if(z instanceof Xc||(O=new Xc(z.message,{cause:z})),t!=null&&t.throwOnError)throw O;E=j,T={},L=O}}const M=((b=(p=S.options).loaderDeps)==null?void 0:b.call(p,{search:E}))??"",N=M?JSON.stringify(M):"",{interpolatedPath:A,usedParams:B}=nb({path:S.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),F=S.id+A+N,$=this.getMatch(F),k=h.get(S.id),K=($==null?void 0:$._strictParams)??B;let U;if(!$)try{mb(S,K)}catch(j){if(Kt(j)||an(j)?U=j:U=new R9(j.message,{cause:j}),t!=null&&t.throwOnError)throw U}Object.assign(i,K);const q=k?"stay":"enter";let ne;if($)ne={...$,cause:q,params:(k==null?void 0:k.params)??i,_strictParams:K,search:Ul(k?k.search:$.search,E),_strictSearch:T};else{const j=S.options.loader||S.options.beforeLoad||S.lazyFn||Gv(S)?"pending":"success";ne={id:F,ssr:S.options.ssr,index:v,routeId:S.id,params:(k==null?void 0:k.params)??i,_strictParams:K,pathname:A,updatedAt:Date.now(),search:k?Ul(k.search,E):E,_strictSearch:T,searchError:void 0,status:j,isFetching:!1,error:void 0,paramsError:U,__routeContext:void 0,_nonReactive:{loadPromise:pi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:q,loaderDeps:k?Yl(k.loaderDeps,M):M,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:S.options.staticData||{},fullPath:S.fullPath}}t!=null&&t.preload||(ne.globalNotFound=f===S.id),ne.searchError=L;const ae=this.getParentContext(x);ne.context={...ae,...ne.__routeContext,...ne.__beforeLoadContext},d[v]=ne}for(let v=0;v<d.length;v++){const S=d[v],x=this.looseRoutesById[S.routeId],E=this.getMatch(S.id),T=h.get(S.routeId);if(S.params=T?Ul(T.params,i):i,!E){const L=d[v-1],M=this.getParentContext(L);if(x.options.context){const N={deps:S.loaderDeps,params:S.params,context:M??{},location:e,navigate:A=>this.navigate({...A,_fromLocation:e}),buildLocation:this.buildLocation,cause:S.cause,abortController:S.abortController,preload:!!S.preload,matches:d,routeId:x.id};S.__routeContext=x.options.context(N)??void 0}S.context={...M,...S.__routeContext,...S.__beforeLoadContext}}}return d}matchRoutesLightweight(e){var b;const t=$o(this.stores.matchesId.get()),a=this.lightweightCache.get(e);if(a&&a[0]===t)return a[1];const{matchedRoutes:r,routeParams:i}=this.getMatchedRoutes(e.pathname),s=$o(r),u={...e.search};for(const v of r)try{Object.assign(u,Bc(v.options.validateSearch,u))}catch{}const f=t&&((b=this.stores.matchStores.get(t))==null?void 0:b.get()),d=f&&f.routeId===s.id&&f.pathname===e.pathname;let h;if(d)h=f.params;else{const v=Object.assign(Object.create(null),i);for(const S of r)try{mb(S,v)}catch{}h=v}const p={matchedRoutes:r,fullPath:s.fullPath,search:u,params:h};return this.lightweightCache.set(e,[t,p]),p}},Xc=class extends Error{},R9=class extends Error{};function M9(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Bc(e,t){if(e==null)return{};if("~standard"in e){const a=e["~standard"].validate(t);if(a instanceof Promise)throw new Xc("Async validation not supported");if(a.issues)throw new Xc(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function A9({pathname:e,routesById:t,processedTree:a}){const r=Object.create(null),i=Ta(e);let s;const u=FS(i,a,!0);return u&&(s=u.route,Object.assign(r,u.rawParams)),{matchedRoutes:(u==null?void 0:u.branch)||[t.__root__],routeParams:r,foundRoute:s}}function L9({search:e,dest:t,destRoutes:a,_includeValidateSearch:r}){return k9(a)(e,t,r??!1)}function k9(e){var s;let t,a;const r=[];for(const u of e){const f=u.options;if("search"in f)(s=f.search)!=null&&s.middlewares&&r.push(...f.search.middlewares);else if(f.preSearchFilters||f.postSearchFilters){const h=({search:p,next:b})=>{const v=b(f.preSearchFilters?f.preSearchFilters.reduce((S,x)=>x(S),p):p);return f.postSearchFilters?f.postSearchFilters.reduce((S,x)=>x(S),v):v};r.push(h)}const d=f.validateSearch;if(d){const h=({search:p,next:b,meta:v})=>{const S=b(p);if(a)try{const x=Bc(d,S);if(v&&x)for(const E in x)E in S||(v.defaulted||(v.defaulted=new Map)).set(E,x[E]);return{...S,...x}}catch{}return S};r.push(h)}}const i=(u,f,d)=>{if(u>=r.length){if(!t.search)return{};if(t.search===!0)return f;const p=ql(t.search,f);return d&&(d.explicit=p),p}const h=(p,b)=>{if(b){const v=d||{};return{search:i(u+1,p,v),meta:v}}return i(u+1,p,d)};return r[u]({search:f,next:h,meta:d})};return function(f,d,h){return t=d,a=h,i(0,f)}}function N9(e,t){if(e!=="root")for(let a=t.length-1;a>=0;a--){const r=t[a];if(r.children)return r.id}return Ql}function mb(e,t){var r;const a=((r=e.options.params)==null?void 0:r.parse)??e.options.parseParams;if(a){const i=a(t);if(i===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,i)}}const D9="Error preloading route! ☝️";var qv=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{var d,h;this.originalIndex=t.originalIndex;const a=this.options,r=!(a!=null&&a.path)&&!(a!=null&&a.id);this.parentRoute=(h=(d=this.options).getParentRoute)==null?void 0:h.call(d),r?this._path=Ql:this.parentRoute||Ra();let i=r?Ql:a==null?void 0:a.path;i&&i!=="/"&&(i=Hv(i));const s=(a==null?void 0:a.id)||i;let u=r?Ql:Oc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);i==="__root__"&&(i="/"),u!=="__root__"&&(u=Oc(["/",u]));const f=u==="__root__"?"/":Oc([this.parentRoute.fullPath,i]);this._path=i,this._id=u,this._fullPath=f,this._to=Ta(f)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>xu({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!(e!=null&&e.getParentRoute),e!=null&&e.id&&(e!=null&&e.path))throw new Error("Route cannot have both an 'id' and a 'path' option.")}},$9=class extends qv{constructor(e){super(e)}};function U2(e){const t=e.errorComponent??V2;return C.jsx(z9,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:r})=>a?y.createElement(t,{error:a,reset:r}):e.children})}var z9=class extends y.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const a=e.getResetKey();return t.error&&t.resetKey!==a?{resetKey:a,error:null}:{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function V2({error:e}){const[t,a]=y.useState(!1);return C.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[C.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[C.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),C.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a(r=>!r),children:t?"Hide Error":"Show Error"})]}),C.jsx("div",{style:{height:".25rem"}}),t?C.jsx("div",{children:C.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?C.jsx("code",{children:e.message}):null})}):null]})}function P9({children:e,fallback:t=null}){return Yv()?C.jsx(_.Fragment,{children:e}):C.jsx(_.Fragment,{children:t})}function Yv(){return _.useSyncExternalStore(O9,()=>!0,()=>!1)}function O9(){return()=>{}}var Xv=y.createContext(null);function yn(e){return y.useContext(Xv)}var wu=y.createContext(void 0),j9=y.createContext(void 0),rt=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(rt||{});function I9({update:e,notify:t,unwatched:a}){return{link:r,unlink:i,propagate:s,checkDirty:u,shallowPropagate:f};function r(h,p,b){const v=p.depsTail;if(v!==void 0&&v.dep===h)return;const S=v!==void 0?v.nextDep:p.deps;if(S!==void 0&&S.dep===h){S.version=b,p.depsTail=S;return}const x=h.subsTail;if(x!==void 0&&x.version===b&&x.sub===p)return;const E=p.depsTail=h.subsTail={version:b,dep:h,sub:p,prevDep:v,nextDep:S,prevSub:x,nextSub:void 0};S!==void 0&&(S.prevDep=E),v!==void 0?v.nextDep=E:p.deps=E,x!==void 0?x.nextSub=E:h.subs=E}function i(h,p=h.sub){const b=h.dep,v=h.prevDep,S=h.nextDep,x=h.nextSub,E=h.prevSub;return S!==void 0?S.prevDep=v:p.depsTail=v,v!==void 0?v.nextDep=S:p.deps=S,x!==void 0?x.prevSub=E:b.subsTail=E,E!==void 0?E.nextSub=x:(b.subs=x)===void 0&&a(b),S}function s(h){let p=h.nextSub,b;e:do{const v=h.sub;let S=v.flags;if(S&60?S&12?S&4?!(S&48)&&d(h,v)?(v.flags=S|40,S&=1):S=0:v.flags=S&-9|32:S=0:v.flags=S|32,S&2&&t(v),S&1){const x=v.subs;if(x!==void 0){const E=(h=x).nextSub;E!==void 0&&(b={value:p,prev:b},p=E);continue}}if((h=p)!==void 0){p=h.nextSub;continue}for(;b!==void 0;)if(h=b.value,b=b.prev,h!==void 0){p=h.nextSub;continue e}break}while(!0)}function u(h,p){let b,v=0,S=!1;e:do{const x=h.dep,E=x.flags;if(p.flags&16)S=!0;else if((E&17)===17){if(e(x)){const T=x.subs;T.nextSub!==void 0&&f(T),S=!0}}else if((E&33)===33){(h.nextSub!==void 0||h.prevSub!==void 0)&&(b={value:h,prev:b}),h=x.deps,p=x,++v;continue}if(!S){const T=h.nextDep;if(T!==void 0){h=T;continue}}for(;v--;){const T=p.subs,L=T.nextSub!==void 0;if(L?(h=b.value,b=b.prev):h=T,S){if(e(p)){L&&f(T),p=h.sub;continue}S=!1}else p.flags&=-33;p=h.sub;const M=h.nextDep;if(M!==void 0){h=M;continue e}}return S}while(!0)}function f(h){do{const p=h.sub,b=p.flags;(b&48)===32&&(p.flags=b|16,(b&6)===2&&t(p))}while((h=h.nextSub)!==void 0)}function d(h,p){let b=p.depsTail;for(;b!==void 0;){if(b===h)return!0;b=b.prevDep}return!1}}function B9(e,t,a){var s,u,f;const r=typeof e=="object",i=r?e:void 0;return{next:(s=r?e.next:e)==null?void 0:s.bind(i),error:(u=r?e.error:t)==null?void 0:u.bind(i),complete:(f=r?e.complete:a)==null?void 0:f.bind(i)}}const Z0=[];let Hc=0;const{link:pb,unlink:H9,propagate:K9,checkDirty:Wv,shallowPropagate:gb}=I9({update(e){return e._update()},notify(e){Z0[Q0++]=e,e.flags&=~rt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=rt.Mutable|rt.Dirty,Wc(e))}});let yc=0,Q0=0,ta,J0=0;function Zv(e){try{++J0,e()}finally{--J0||Qv()}}function Wc(e){const t=e.depsTail;let a=t!==void 0?t.nextDep:e.deps;for(;a!==void 0;)a=H9(a,e)}function Qv(){if(!(J0>0)){for(;yc<Q0;){const e=Z0[yc];Z0[yc++]=void 0,e.notify()}yc=0,Q0=0}}function bb(e,t){const a=typeof e=="function",r=e,i={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?rt.None:rt.Mutable,get(){return ta!==void 0&&pb(i,ta,Hc),i._snapshot},subscribe(s){const u=B9(s),f={current:!1},d=U9(()=>{var h;i.get(),f.current?(h=u.next)==null||h.call(u,i._snapshot):f.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(s){const u=ta,f=(t==null?void 0:t.compare)??Object.is;if(a)ta=i,++Hc,i.depsTail=void 0;else if(s===void 0)return!1;a&&(i.flags=rt.Mutable|rt.RecursedCheck);try{const d=i._snapshot,h=typeof s=="function"?s(d):s===void 0&&a?r(d):s;return d===void 0||!f(d,h)?(i._snapshot=h,!0):!1}finally{ta=u,a&&(i.flags&=~rt.RecursedCheck),Wc(i)}}};return a?(i.flags=rt.Mutable|rt.Dirty,i.get=function(){const s=i.flags;if(s&rt.Dirty||s&rt.Pending&&Wv(i.deps,i)){if(i._update()){const u=i.subs;u!==void 0&&gb(u)}}else s&rt.Pending&&(i.flags=s&~rt.Pending);return ta!==void 0&&pb(i,ta,Hc),i._snapshot}):i.set=function(s){if(i._update(s)){const u=i.subs;u!==void 0&&(K9(u),gb(u),Qv())}},i}function U9(e){const t=()=>{const r=ta;ta=a,++Hc,a.depsTail=void 0,a.flags=rt.Watching|rt.RecursedCheck;try{return e()}finally{ta=r,a.flags&=~rt.RecursedCheck,Wc(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:rt.Watching|rt.RecursedCheck,notify(){const r=this.flags;r&rt.Dirty||r&rt.Pending&&Wv(this.deps,this)?t():this.flags=rt.Watching},stop(){this.flags=rt.None,this.depsTail=void 0,Wc(this)}};return t(),a}var d0={exports:{}},h0={},m0={exports:{}},p0={};/**
51
+ * @license React
52
+ * use-sync-external-store-shim.production.js
53
+ *
54
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
55
+ *
56
+ * This source code is licensed under the MIT license found in the
57
+ * LICENSE file in the root directory of this source tree.
58
+ */var vb;function V9(){if(vb)return p0;vb=1;var e=gi();function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var a=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,s=e.useLayoutEffect,u=e.useDebugValue;function f(b,v){var S=v(),x=r({inst:{value:S,getSnapshot:v}}),E=x[0].inst,T=x[1];return s(function(){E.value=S,E.getSnapshot=v,d(E)&&T({inst:E})},[b,S,v]),i(function(){return d(E)&&T({inst:E}),b(function(){d(E)&&T({inst:E})})},[b]),u(S),S}function d(b){var v=b.getSnapshot;b=b.value;try{var S=v();return!a(b,S)}catch{return!0}}function h(b,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:f;return p0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,p0}var yb;function Jv(){return yb||(yb=1,m0.exports=V9()),m0.exports}/**
59
+ * @license React
60
+ * use-sync-external-store-shim/with-selector.production.js
61
+ *
62
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */var xb;function _9(){if(xb)return h0;xb=1;var e=gi(),t=Jv();function a(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:a,i=t.useSyncExternalStore,s=e.useRef,u=e.useEffect,f=e.useMemo,d=e.useDebugValue;return h0.useSyncExternalStoreWithSelector=function(h,p,b,v,S){var x=s(null);if(x.current===null){var E={hasValue:!1,value:null};x.current=E}else E=x.current;x=f(function(){function L(F){if(!M){if(M=!0,N=F,F=v(F),S!==void 0&&E.hasValue){var $=E.value;if(S($,F))return A=$}return A=F}if($=A,r(N,F))return $;var k=v(F);return S!==void 0&&S($,k)?(N=F,$):(N=F,A=k)}var M=!1,N,A,B=b===void 0?null:b;return[function(){return L(p())},B===null?void 0:function(){return L(B())}]},[p,b,v,S]);var T=i(h,x[0],x[1]);return u(function(){E.hasValue=!0,E.value=T},[T]),d(T),T},h0}var Sb;function F9(){return Sb||(Sb=1,d0.exports=_9()),d0.exports}var G9=F9();function q9(e,t){return e===t}function _t(e,t,a=q9){const r=y.useCallback(u=>{if(!e)return()=>{};const{unsubscribe:f}=e.subscribe(u);return f},[e]),i=y.useCallback(()=>e==null?void 0:e.get(),[e]);return G9.useSyncExternalStoreWithSelector(r,i,i,t,a)}var g0={get(){},subscribe(){return{unsubscribe(){}}}};function ey(e,t){const a=y.useRef();return r=>{const i=e!=null&&e.select?e.select(r):r;return(e==null?void 0:e.structuralSharing)??t.options.defaultStructuralSharing?a.current=Yl(a.current,i):i}}function ir(e){const t=yn(),a=y.useContext(e.from?j9:wu),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(a),i=ey(e,t),s=_t(r??g0,u=>u?i(u):g0);if(s!==g0)return s;(e.shouldThrow??!0)&&Ra()}function ty(e){return ir({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function ny(e){const{select:t,...a}=e;return ir({...a,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function ay(e){return ir({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const a=e.strict===!1?t.params:t._strictParams;return e.select?e.select(a):a}})}function ly(e){return ir({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function _2(e){const t=yn();return y.useCallback(a=>t.navigate({...a,from:a.from??(e==null?void 0:e.from)}),[e==null?void 0:e.from,t])}function ry(e){return ir({...e,select:t=>e.select?e.select(t.context):t.context})}var la=Dv();const Y9=Nv(la);function X9(e,t){const a=yn(),r=DS(t),{activeProps:i,inactiveProps:s,activeOptions:u,to:f,preload:d,preloadDelay:h,preloadIntentProximity:p,hashScrollIntoView:b,replace:v,startTransition:S,resetScroll:x,viewTransition:E,children:T,target:L,disabled:M,style:N,className:A,onClick:B,onBlur:F,onFocus:$,onMouseEnter:k,onMouseLeave:K,onTouchStart:U,ignoreBlocker:q,params:ne,search:ae,hash:j,state:W,mask:z,reloadDocument:O,unsafeRelative:oe,from:J,_fromLocation:G,...D}=e,Q=Yv(),se=y.useMemo(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=_t(a.stores.location,Ye=>Ye,(Ye,Dt)=>Ye.href===Dt.href),H=y.useMemo(()=>{const Ye={_fromLocation:ce,...se};return a.buildLocation(Ye)},[a,ce,se]),ie=H.maskedLocation?H.maskedLocation.publicHref:H.publicHref,xe=H.maskedLocation?H.maskedLocation.external:H.external,Le=y.useMemo(()=>tw(ie,xe,a.history,M),[M,xe,ie,a.history]),de=y.useMemo(()=>{if(Le!=null&&Le.external)return Gc(Le.href,a.protocolAllowlist)?void 0:Le.href;if(!nw(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),Gc(f,a.protocolAllowlist)?void 0:f}catch{}},[f,Le,a.protocolAllowlist]),kt=y.useMemo(()=>{if(de)return!1;if(u!=null&&u.exact){if(!ZS(ce.pathname,H.pathname,a.basepath))return!1}else{const Ye=qc(ce.pathname,a.basepath),Dt=qc(H.pathname,a.basepath);if(!(Ye.startsWith(Dt)&&(Ye.length===Dt.length||Ye[Dt.length]==="/")))return!1}return((u==null?void 0:u.includeSearch)??!0)&&!Zl(ce.search,H.search,{partial:!(u!=null&&u.exact),ignoreUndefined:!(u!=null&&u.explicitUndefined)})?!1:u!=null&&u.includeHash?Q&&ce.hash===H.hash:!0},[u==null?void 0:u.exact,u==null?void 0:u.explicitUndefined,u==null?void 0:u.includeHash,u==null?void 0:u.includeSearch,ce,de,Q,H.hash,H.pathname,H.search,a.basepath]),it=kt?ql(i,{})??W9:b0,ue=kt?b0:ql(s,{})??b0,fe=[A,it.className,ue.className].filter(Boolean).join(" "),Ce=(N||it.style||ue.style)&&{...N,...it.style,...ue.style},[Fe,Ve]=y.useState(!1),Nt=y.useRef(!1),Cn=e.reloadDocument||de?!1:d??a.options.defaultPreload,pt=h??a.options.defaultPreloadDelay??0,jn=y.useCallback(()=>{a.preloadRoute({...se,_builtLocation:H}).catch(Ye=>{console.warn(Ye),console.warn(D9)})},[a,se,H]);NS(r,y.useCallback(Ye=>{Ye!=null&&Ye.isIntersecting&&jn()},[jn]),ew,{disabled:!!M||Cn!=="viewport"}),y.useEffect(()=>{Nt.current||!M&&Cn==="render"&&(jn(),Nt.current=!0)},[M,jn,Cn]);const wi=Ye=>{const Dt=Ye.currentTarget.getAttribute("target"),Gn=L!==void 0?L:Dt;if(!M&&!aw(Ye)&&!Ye.defaultPrevented&&(!Gn||Gn==="_self")&&Ye.button===0){Ye.preventDefault(),la.flushSync(()=>{Ve(!0)});const fr=a.subscribe("onResolved",()=>{fr(),Ve(!1)});a.navigate({...se,replace:v,resetScroll:x,hashScrollIntoView:b,startTransition:S,viewTransition:E,ignoreBlocker:q})}};if(de)return{...D,ref:r,href:de,...T&&{children:T},...L&&{target:L},...M&&{disabled:M},...N&&{style:N},...A&&{className:A},...B&&{onClick:B},...F&&{onBlur:F},...$&&{onFocus:$},...k&&{onMouseEnter:k},...K&&{onMouseLeave:K},...U&&{onTouchStart:U}};const Jo=Ye=>{if(M||Cn!=="intent")return;if(!pt){jn();return}const Dt=Ye.currentTarget;if(xo.has(Dt))return;const Gn=setTimeout(()=>{xo.delete(Dt),jn()},pt);xo.set(Dt,Gn)},Iu=Ye=>{M||Cn!=="intent"||jn()},Bt=Ye=>{if(M||!Cn||!pt)return;const Dt=Ye.currentTarget,Gn=xo.get(Dt);Gn&&(clearTimeout(Gn),xo.delete(Dt))};return{...D,...it,...ue,href:Le==null?void 0:Le.href,ref:r,onClick:Wr([B,wi]),onBlur:Wr([F,Bt]),onFocus:Wr([$,Jo]),onMouseEnter:Wr([k,Jo]),onMouseLeave:Wr([K,Bt]),onTouchStart:Wr([U,Iu]),disabled:!!M,target:L,...Ce&&{style:Ce},...fe&&{className:fe},...M&&Z9,...kt&&Q9,...Q&&Fe&&J9}}var b0={},W9={className:"active"},Z9={role:"link","aria-disabled":!0},Q9={"data-status":"active","aria-current":"page"},J9={"data-transitioning":"transitioning"},xo=new WeakMap,ew={rootMargin:"100px"},Wr=e=>t=>{for(const a of e)if(a){if(t.defaultPrevented)return;a(t)}};function tw(e,t,a,r){if(!r)return t?{href:e,external:!0}:{href:a.createHref(e)||"/",external:!1}}function nw(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var iy=y.forwardRef((e,t)=>{const{_asChild:a,...r}=e,{type:i,...s}=X9(r,t),u=typeof r.children=="function"?r.children({isActive:s["data-status"]==="active"}):r.children;if(!a){const{disabled:f,...d}=s;return y.createElement("a",d,u)}return y.createElement(a,s,u)});function aw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var lw=class extends qv{constructor(t){super(t),this.useMatch=a=>ir({select:a==null?void 0:a.select,from:this.id,structuralSharing:a==null?void 0:a.structuralSharing}),this.useRouteContext=a=>ry({...a,from:this.id}),this.useSearch=a=>ly({select:a==null?void 0:a.select,structuralSharing:a==null?void 0:a.structuralSharing,from:this.id}),this.useParams=a=>ay({select:a==null?void 0:a.select,structuralSharing:a==null?void 0:a.structuralSharing,from:this.id}),this.useLoaderDeps=a=>ny({...a,from:this.id}),this.useLoaderData=a=>ty({...a,from:this.id}),this.useNavigate=()=>_2({from:this.fullPath}),this.Link=_.forwardRef((a,r)=>C.jsx(iy,{ref:r,from:this.fullPath,...a}))}};function rw(e){return new lw(e)}var iw=class extends $9{constructor(e){super(e),this.useMatch=t=>ir({select:t==null?void 0:t.select,from:this.id,structuralSharing:t==null?void 0:t.structuralSharing}),this.useRouteContext=t=>ry({...t,from:this.id}),this.useSearch=t=>ly({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useParams=t=>ay({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useLoaderDeps=t=>ny({...t,from:this.id}),this.useLoaderData=t=>ty({...t,from:this.id}),this.useNavigate=()=>_2({from:this.fullPath}),this.Link=_.forwardRef((t,a)=>C.jsx(iy,{ref:a,from:this.fullPath,...t}))}};function ow(e){return new iw(e)}function bi(e){return new sw(e,{silent:!0}).createRoute}var sw=class{constructor(e,t){this.path=e,this.createRoute=a=>{const r=rw(a);return r.isRoot=!1,r},this.silent=t==null?void 0:t.silent}};function Go(e,t){let a,r,i,s;const u=()=>(a||(a=e().then(d=>{a=void 0,r=d[t]}).catch(d=>{if(i=d,PS(i)&&i instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const h=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(h)||(sessionStorage.setItem(h,"1"),s=!0)}})),a),f=function(h){if(s)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(Xg)Xg(u());else throw u();return y.createElement(r,h)};return f.preload=u,f}function cw(e){const t=yn(),a=`not-found-${_t(t.stores.location,r=>r.pathname)}-${_t(t.stores.status,r=>r)}`;return C.jsx(U2,{getResetKey:()=>a,onCatch:(r,i)=>{var s;if(Kt(r))(s=e.onCatch)==null||s.call(e,r,i);else throw r},errorComponent:({error:r})=>{var i;if(Kt(r))return(i=e.fallback)==null?void 0:i.call(e,r);throw r},children:e.children})}function uw(){return C.jsx("p",{children:"Not Found"})}function ni(e){return C.jsx(C.Fragment,{children:e.children})}function oy(e,t,a){return t.options.notFoundComponent?C.jsx(t.options.notFoundComponent,{...a}):e.options.defaultNotFoundComponent?C.jsx(e.options.defaultNotFoundComponent,{...a}):C.jsx(uw,{})}function fw(e){return null}function dw(){return fw(yn()),null}var hw=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,mw=(e,t)=>e[0]===t[0]&&e[1]===t[1],sy=y.memo(function({matchId:t}){const a=yn(),r=a.stores.matchStores.get(t);r||Ra();const i=_t(a.stores.loadedAt,u=>u),s=_t(r,u=>u,hw);return C.jsx(pw,{router:a,matchId:t,resetKey:i,matchState:y.useMemo(()=>{var d;const u=s.routeId,f=(d=a.routesById[u].parentRoute)==null?void 0:d.id;return{routeId:u,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:f}},[s._displayPending,s.routeId,s.ssr,a.routesById])})});function pw({router:e,matchId:t,resetKey:a,matchState:r}){var x,E;const i=e.routesById[r.routeId],s=i.options.pendingComponent??e.options.defaultPendingComponent,u=s?C.jsx(s,{}):null,f=i.options.errorComponent??e.options.defaultErrorComponent,d=i.options.onCatch??e.options.defaultOnCatch,h=i.isRoot?i.options.notFoundComponent??((x=e.options.notFoundRoute)==null?void 0:x.options.component):i.options.notFoundComponent,p=r.ssr===!1||r.ssr==="data-only",b=(!i.isRoot||i.options.wrapInSuspense||p)&&(i.options.wrapInSuspense??s??(((E=i.options.errorComponent)==null?void 0:E.preload)||p))?y.Suspense:ni,v=f?U2:ni,S=h?cw:ni;return C.jsxs(i.isRoot?i.options.shellComponent??ni:ni,{children:[C.jsx(wu.Provider,{value:t,children:C.jsx(b,{fallback:u,children:C.jsx(v,{getResetKey:()=>a,errorComponent:f||V2,onCatch:(T,L)=>{if(Kt(T))throw T.routeId??(T.routeId=r.routeId),T;d==null||d(T,L)},children:C.jsx(S,{fallback:T=>{if(T.routeId??(T.routeId=r.routeId),!h||T.routeId&&T.routeId!==r.routeId||!T.routeId&&!i.isRoot)throw T;return y.createElement(h,T)},children:p||r._displayPending?C.jsx(P9,{fallback:u,children:C.jsx(wb,{matchId:t})}):C.jsx(wb,{matchId:t})})})})}),r.parentRouteId===Ql?C.jsxs(C.Fragment,{children:[C.jsx(gw,{}),e.options.scrollRestoration&&$v?C.jsx(dw,{}):null]}):null]})}function gw(){const e=yn(),t=y.useRef();return To(()=>{const a=e.stores.resolvedLocation.get(),r=t.current;a&&(!r||r.href!==a.href)&&e.emit({type:"onRendered",...ci(e.stores.location.get(),r??a)}),t.current=a},[_t(e.stores.resolvedLocation,a=>a==null?void 0:a.state.__TSR_key),e]),null}var wb=y.memo(function({matchId:t}){const a=yn(),r=(p,b)=>{var v;return((v=a.getMatch(p.id))==null?void 0:v._nonReactive[b])??p._nonReactive[b]},i=a.stores.matchStores.get(t);i||Ra();const s=_t(i,p=>p),u=s.routeId,f=a.routesById[u],d=y.useMemo(()=>{var b;const p=(b=a.routesById[u].options.remountDeps??a.options.defaultRemountDeps)==null?void 0:b({routeId:u,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return p?JSON.stringify(p):void 0},[u,s.loaderDeps,s._strictParams,s._strictSearch,a.options.defaultRemountDeps,a.routesById]),h=y.useMemo(()=>{const p=f.options.component??a.options.defaultComponent;return p?C.jsx(p,{},d):C.jsx(cy,{})},[d,f.options.component,a.options.defaultComponent]);if(s._displayPending)throw r(s,"displayPendingPromise");if(s._forcePending)throw r(s,"minPendingPromise");if(s.status==="pending"){const p=f.options.pendingMinMs??a.options.defaultPendingMinMs;if(p){const b=a.getMatch(s.id);if(b&&!b._nonReactive.minPendingPromise){const v=pi();b._nonReactive.minPendingPromise=v,setTimeout(()=>{v.resolve(),b._nonReactive.minPendingPromise=void 0},p)}}throw r(s,"loadPromise")}if(s.status==="notFound")return Kt(s.error)||Ra(),oy(a,f,s.error);if(s.status==="redirected")throw an(s.error)||Ra(),r(s,"loadPromise");if(s.status==="error")throw s.error;return h}),cy=y.memo(function(){const t=yn(),a=y.useContext(wu);let r,i=!1,s;{const h=a?t.stores.matchStores.get(a):void 0;[r,i]=_t(h,p=>[p==null?void 0:p.routeId,(p==null?void 0:p.globalNotFound)??!1],mw),s=_t(t.stores.matchesId,p=>p[p.findIndex(b=>b===a)+1])}const u=r?t.routesById[r]:void 0,f=t.options.defaultPendingComponent?C.jsx(t.options.defaultPendingComponent,{}):null;if(i)return u||Ra(),oy(t,u,void 0);if(!s)return null;const d=C.jsx(sy,{matchId:s});return r===Ql?C.jsx(y.Suspense,{fallback:f,children:d}):d});function bw(){const e=yn(),t=y.useRef({router:e,mounted:!1}),[a,r]=y.useState(!1),i=_t(e.stores.isLoading,b=>b),s=_t(e.stores.hasPending,b=>b),u=r0(i),f=i||a||s,d=r0(f),h=i||s,p=r0(h);return e.startTransition=b=>{r(!0),y.startTransition(()=>{b(),r(!1)})},y.useEffect(()=>{const b=e.history.subscribe(e.load),v=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Ta(e.latestLocation.publicHref)!==Ta(v.publicHref)&&e.commitLocation({...v,replace:!0}),()=>{b()}},[e,e.history]),To(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(v){console.error(v)}})()},[e]),To(()=>{u&&!i&&e.emit({type:"onLoad",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,e,i]),To(()=>{p&&!h&&e.emit({type:"onBeforeRouteMount",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[h,p,e]),To(()=>{if(d&&!f){const b=ci(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),Zv(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function vw(){const e=yn(),t=e.routesById[Ql].options.pendingComponent??e.options.defaultPendingComponent,a=t?C.jsx(t,{}):null,r=C.jsxs(typeof document<"u"&&e.ssr?ni:y.Suspense,{fallback:a,children:[C.jsx(bw,{}),C.jsx(yw,{})]});return e.options.InnerWrap?C.jsx(e.options.InnerWrap,{children:r}):r}function yw(){const e=yn(),t=_t(e.stores.firstId,i=>i),a=_t(e.stores.loadedAt,i=>i),r=t?C.jsx(sy,{matchId:t}):null;return C.jsx(wu.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:C.jsx(U2,{getResetKey:()=>a,errorComponent:V2,onCatch:void 0,children:r})})}var xw=e=>({createMutableStore:bb,createReadonlyStore:bb,batch:Zv}),Sw=e=>new ww(e),ww=class extends T9{constructor(e){super(e,xw)}};function Cw({router:e,children:t,...a}){Pv(a)&&e.update({...e.options,...a,context:{...e.options.context,...a.context}});const r=C.jsx(Xv.Provider,{value:e,children:t});return e.options.Wrap?C.jsx(e.options.Wrap,{children:r}):r}function Ew({router:e,...t}){return C.jsx(Cw,{router:e,...t,children:C.jsx(vw,{})})}function Tw(e){const t=yn();return _t(t.stores.location,ey(e,t))}const Rw="react-aria-clear-focus",Mw="react-aria-focus";function Cu(e){var a;if(typeof window>"u"||window.navigator==null)return!1;let t=(a=window.navigator.userAgentData)==null?void 0:a.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function F2(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)==null?void 0:t.platform)||window.navigator.platform):!1}function ka(e){let t=null;return()=>(t==null&&(t=e()),t)}const _n=ka(function(){return F2(/^Mac/i)}),Aw=ka(function(){return F2(/^iPhone/i)}),uy=ka(function(){return F2(/^iPad/i)||_n()&&navigator.maxTouchPoints>1}),bl=ka(function(){return Aw()||uy()}),Lw=ka(function(){return _n()||bl()}),Ma=ka(function(){return Cu(/AppleWebKit/i)&&(bl()||!fy())}),fy=ka(function(){return Cu(/Chrome|CriOS|CrMo/i)}),Zc=ka(function(){return Cu(/Android/i)}),kw=ka(function(){return Cu(/(Firefox|FxiOS)/i)});function nn(e){if(Nw())e.focus({preventScroll:!0});else{let t=Dw(e);e.focus(),$w(t)}}let xc=null;function Nw(){if(xc==null){xc=!1;try{document.createElement("div").focus({get preventScroll(){return xc=!0,!0}})}catch{}}return xc}function Dw(e){let t=e.parentNode,a=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&a.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&a.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),a}function $w(e){for(let{element:t,scrollTop:a,scrollLeft:r}of e)t.scrollTop=a,t.scrollLeft=r}const zw=y.createContext({isNative:!0,open:jw,useHref:e=>e});function qo(){return y.useContext(zw)}function Pw(e,t){let a=e.getAttribute("target");return(!a||a==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Aa(e,t,a=!0){var d,h;let{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}=t;!Ma()&&kw()&&((h=(d=window.event)==null?void 0:d.type)!=null&&h.startsWith("key"))&&e.target==="_blank"&&(_n()?r=!0:i=!0);let f=Ma()&&_n()&&!uy()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});Aa.isOpening=a,nn(e),e.dispatchEvent(f),Aa.isOpening=!1}Aa.isOpening=!1;function Ow(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let a=document.createElement("a");a.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(a.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(a.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(a.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(a.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(a.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(a),t(a),e.removeChild(a)}}function jw(e,t){Ow(e,a=>Aa(a,t))}function Xz(e){const a=qo().useHref(e.href??"");return{"data-href":e.href?a:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function dy(e){const a=qo().useHref((e==null?void 0:e.href)??"");let r={};if(e)for(let i of["href","target","rel","download","ping","referrerPolicy"])i in e&&e[i]!==void 0&&(r[i]=i==="href"?a:e[i]);return r}function Iw(e,t,a,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Pw(e.currentTarget,e)&&a&&(e.preventDefault(),t.open(e.currentTarget,e,a,r))}const De=typeof document<"u"?_.useLayoutEffect:()=>{},hy={prefix:String(Math.round(Math.random()*1e10)),current:0},my=_.createContext(hy),Bw=_.createContext(!1);let v0=new WeakMap;function Hw(e=!1){var r,i;let t=y.useContext(my),a=y.useRef(null);if(a.current===null&&!e){let s=(i=(r=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:r.ReactCurrentOwner)==null?void 0:i.current;if(s){let u=v0.get(s);u==null?v0.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,v0.delete(s))}a.current=++t.current}return a.current}function Kw(e){let t=y.useContext(my),a=Hw(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${a}`}function Uw(e){let t=_.useId(),[a]=y.useState(Na()),r=a?"react-aria":`react-aria${hy.prefix}`;return e||`${r}-${t}`}const Vw=typeof _.useId=="function"?Uw:Kw;function _w(){return!1}function Fw(){return!0}function Gw(e){return()=>{}}function Na(){return typeof _.useSyncExternalStore=="function"?_.useSyncExternalStore(Gw,_w,Fw):y.useContext(Bw)}function qw(e){let[t,a]=y.useState(e),r=y.useRef(t),i=y.useRef(null),s=y.useRef(()=>{if(!i.current)return;let f=i.current.next();if(f.done){i.current=null;return}r.current===f.value?s.current():a(f.value)});De(()=>{r.current=t,i.current&&s.current()});let u=y.useCallback(f=>{i.current=f(r.current),s.current()},[s]);return[t,u]}let Yw=!!(typeof window<"u"&&window.document&&window.document.createElement),ui=new Map,ai;typeof FinalizationRegistry<"u"&&(ai=new FinalizationRegistry(e=>{ui.delete(e)}));let y0=new WeakMap;function Fn(e){let[t,a]=y.useState(e),r=y.useRef(null),i=Vw(t),s=y.useRef(null),u=y0.get(s);if(ai&&u!==i&&(u!=null&&ai.unregister(s),ai.register(s,i,s),y0.set(s,i)),Yw){const f=ui.get(i);f&&!f.includes(r)?f.push(r):ui.set(i,[r])}return De(()=>{let f=i;return()=>{ai&&(ai.unregister(s),y0.delete(s)),ui.delete(f)}},[i]),y.useEffect(()=>{let f=r.current;return f&&a(f),()=>{f&&(r.current=null)}}),i}function Xw(e,t){if(e===t)return e;let a=ui.get(e);if(a)return a.forEach(i=>i.current=t),t;let r=ui.get(t);return r?(r.forEach(i=>i.current=e),e):t}function e2(e=[]){let t=Fn(),[a,r]=qw(t),i=y.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return De(i,[t,i,...e]),a}function er(...e){return(...t)=>{for(let a of e)typeof a=="function"&&a(...t)}}const He=e=>Ww(e)?e.document:Zw(e)?e:(e==null?void 0:e.ownerDocument)??(typeof document<"u"?document:void 0),It=e=>{let t=He(e);return(t==null?void 0:t.defaultView)??(typeof window<"u"?window:void 0)};function py(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Ww(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Zw(e){return py(e)&&e.nodeType===9}function G2(e){return py(e)&&e.nodeType===11&&"host"in e}function Qw(e,t,a,r){if(a==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let s of i)s.addEventListener(t,a,r);return()=>{for(let s of i)s.removeEventListener(t,a,r)}}let Jw=!1;function na(){return Jw}function Be(e,t){var r;if(!na())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let a=t;for(;a!==null;){if(a===e)return!0;typeof a.assignedElements!="function"&&((r=a.assignedSlot)!=null&&r.parentNode)?a=a.assignedSlot.parentNode:G2(a)?a=a.host:a=a.parentNode}return!1}const et=(e=document)=>{var a;if(!na())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&((a=t.shadowRoot)!=null&&a.activeElement);)t=t.shadowRoot.activeElement;return t};function ve(e){if(na()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function eC(e,t){if(t===null)return[];t=t??It(e);let a=[t];if(!na()||!e||e===t)return a;let r="getRootNode"in t?t.getRootNode():null,i=e.getRootNode()??null;for(;G2(i)&&i!==r;)a.push(i),i=i.host.getRootNode();return a}function jo(e){if(!e)return!1;let t=e.getRootNode(),a=It(e);if(!(t instanceof a.Document||t instanceof a.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}class tC{constructor(t,a,r,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=u=>{var f;if(u.nodeType===Node.ELEMENT_NODE){const d=u.shadowRoot;if(d){const h=this._doc.createTreeWalker(d,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(h),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(u);if((f=this.filter)!=null&&f.acceptNode)return this.filter.acceptNode(u);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=a,this.filter=i??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=a,this._walkerStack.unshift(t.createTreeWalker(a,r,this._acceptNode));const s=a.shadowRoot;if(s){const u=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(u)}}get currentNode(){return this._currentNode}set currentNode(t){if(!Be(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const a=[];let r=t,i=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const u=r,f=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});a.push(f),f.currentNode=i,this._currentSetFor.add(f),r=i=u.host}else r=r.parentNode;const s=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});a.push(s),s.currentNode=i,this._currentSetFor.add(s),this._walkerStack=a}get doc(){return this._doc}firstChild(){let t=this.currentNode,a=this.nextNode();return Be(t,a)?(a&&(this.currentNode=a),a):(this.currentNode=t,null)}lastChild(){let a=this._walkerStack[0].lastChild();return a&&(this.currentNode=a),a}nextNode(){var a;const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let i;if(typeof this.filter=="function"?i=this.filter(t):(a=this.filter)!=null&&a.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let s=this.nextNode();return s&&(this.currentNode=s),s}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){var r;const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const a=t.previousNode();if(a){if(a.shadowRoot){let s;if(typeof this.filter=="function"?s=this.filter(a):(r=this.filter)!=null&&r.acceptNode&&(s=this.filter.acceptNode(a)),s===NodeFilter.FILTER_ACCEPT)return a&&(this.currentNode=a),a;let u=this.lastChild();return u&&(this.currentNode=u),u}return a&&(this.currentNode=a),a}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function gy(e,t,a,r){return na()?new tC(e,t,a,r):e.createTreeWalker(t,a,r)}function yl(...e){return e.length===1&&e[0]?e[0]:t=>{let a=!1;const r=e.map(i=>{const s=Cb(i,t);return a||(a=typeof s=="function"),s});if(a)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():Cb(e[s],null)})}}}function Cb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function by(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=by(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function vy(){for(var e,t,a=0,r="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=by(e))&&(r&&(r+=" "),r+=t);return r}function Ee(...e){let t={...e[0]};for(let a=1;a<e.length;a++){let r=e[a];for(let i in r){let s=t[i],u=r[i];typeof s=="function"&&typeof u=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=er(s,u):(i==="className"||i==="UNSAFE_className")&&typeof s=="string"&&typeof u=="string"?t[i]=vy(s,u):i==="id"&&s&&u?t.id=Xw(s,u):i==="ref"&&s&&u?t.ref=yl(s,u):t[i]=u!==void 0?u:s}}return t}const nC=new Set(["id"]),aC=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),lC=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),rC=new Set(["dir","lang","hidden","inert","translate"]),Eb=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),iC=/^(data-.*)$/;function mt(e,t={}){let{labelable:a,isLink:r,global:i,events:s=i,propNames:u}=t,f={};for(const d in e)Object.prototype.hasOwnProperty.call(e,d)&&(nC.has(d)||a&&aC.has(d)||r&&lC.has(d)||i&&rC.has(d)||s&&(Eb.has(d)||d.endsWith("Capture")&&Eb.has(d.slice(0,-7)))||u!=null&&u.has(d)||iC.test(d))&&(f[d]=e[d]);return f}let cl=new Map,t2=new Set;function Tb(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{let i=ve(r);if(!e(r)||!i)return;let s=cl.get(i);s||(s=new Set,cl.set(i,s),i.addEventListener("transitioncancel",a,{once:!0})),s.add(r.propertyName)},a=r=>{let i=ve(r);if(!e(r)||!i)return;let s=cl.get(i);if(s&&(s.delete(r.propertyName),s.size===0&&(i.removeEventListener("transitioncancel",a),cl.delete(i)),cl.size===0)){for(let u of t2)u();t2.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",a)}typeof document<"u"&&(document.readyState!=="loading"?Tb():document.addEventListener("DOMContentLoaded",Tb));function oC(){for(const[e]of cl)"isConnected"in e&&!e.isConnected&&cl.delete(e)}function yy(e){requestAnimationFrame(()=>{oC(),cl.size===0?e():t2.add(e)})}function Eu(){let e=y.useRef(new Map),t=y.useCallback((i,s,u,f)=>{let d=f!=null&&f.once?(...h)=>{e.current.delete(u),u(...h)}:u;e.current.set(u,{type:s,eventTarget:i,fn:d,options:f}),i.addEventListener(s,d,f)},[]),a=y.useCallback((i,s,u,f)=>{var h;let d=((h=e.current.get(u))==null?void 0:h.fn)||u;i.removeEventListener(s,d,f),e.current.delete(u)},[]),r=y.useCallback(()=>{e.current.forEach((i,s)=>{a(i.eventTarget,i.type,s,i.options)})},[a]);return y.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:a,removeAllGlobalListeners:r}}function q2(e,t){let{id:a,"aria-label":r,"aria-labelledby":i}=e;return a=Fn(a),i&&r?i=[...new Set([a,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:a,"aria-label":r,"aria-labelledby":i}}function xn(e){const t=y.useRef(null),a=y.useRef(void 0),r=y.useCallback(i=>{if(typeof e=="function"){const s=e,u=s(i);return()=>{typeof u=="function"?u():s(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return y.useMemo(()=>({get current(){return t.current},set current(i){t.current=i,a.current&&(a.current(),a.current=void 0),i!=null&&(a.current=r(i))}}),[r])}const sC=_.useInsertionEffect??De;function Vn(e){const t=y.useRef(null);return sC(()=>{t.current=e},[e]),y.useCallback((...a)=>{const r=t.current;return r==null?void 0:r(...a)},[])}function Rb(e,t){const a=y.useRef(!0),r=y.useRef(null);De(()=>(a.current=!0,()=>{a.current=!1}),[]),De(()=>{a.current?a.current=!1:(!r.current||t.some((i,s)=>!Object.is(i,r[s])))&&e(),r.current=t},t)}function cC(){return typeof window.ResizeObserver<"u"}function n2(e){const{ref:t,box:a,onResize:r}=e;let i=Vn(r);y.useEffect(()=>{let s=t==null?void 0:t.current;if(s)if(cC()){const u=new window.ResizeObserver(f=>{f.length&&i()});return u.observe(s,{box:a}),()=>{s&&u.unobserve(s)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[t,a])}function Y2(e,t){De(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Io(e,t){if(!e)return!1;let a=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(a.overflow+a.overflowX+a.overflowY);return e===r&&a.overflow!=="hidden"&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function xy(e,t){let a=e;for(Io(a,t)&&(a=a.parentElement);a&&!Io(a,t);)a=a.parentElement;return a||document.scrollingElement||document.documentElement}function x0(e,t){let a=[],r=document.scrollingElement||document.documentElement;for(;e&&(Io(e,t)&&a.push(e),e!==r);)e=e.parentElement;return a}function Ro(e){return _n()?e.metaKey:e.ctrlKey}const uC=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Lo(e){return e instanceof HTMLInputElement&&!uC.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let tn=typeof document<"u"&&window.visualViewport;function fC(){let e=Na(),[t,a]=y.useState(()=>e?{width:0,height:0}:S0());return y.useEffect(()=>{let r=f=>{a(d=>f.width===d.width&&f.height===d.height?d:f)},i=()=>{tn&&tn.scale>1||r(S0())},s,u=f=>{tn&&tn.scale>1||Lo(ve(f))&&(s=requestAnimationFrame(()=>{let d=et();(!d||!Lo(d))&&r({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return r(S0()),bl()&&Ma()&&window.addEventListener("blur",u,!0),tn?tn.addEventListener("resize",i):window.addEventListener("resize",i),()=>{cancelAnimationFrame(s),bl()&&Ma()&&window.removeEventListener("blur",u,!0),tn?tn.removeEventListener("resize",i):window.removeEventListener("resize",i)}},[]),t}function S0(){return{width:tn?Math.min(tn.width*tn.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:tn?tn.height*tn.scale:document.documentElement.clientHeight}}let dC=0;const w0=new Map;function hC(e){let[t,a]=y.useState();return De(()=>{if(!e)return;let r=w0.get(e);if(r)a(r.element.id);else{let i=`react-aria-description-${dC++}`;a(i);let s=document.createElement("div");s.id=i,s.style.display="none",s.textContent=e,document.body.appendChild(s),r={refCount:0,element:s},w0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),w0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Sc(e,t,a,r){let i=Vn(a),s=a==null;y.useEffect(()=>{if(s||!e.current)return;let u=e.current;return u.addEventListener(t,i,r),()=>{u.removeEventListener(t,i,r)}},[e,t,r,s])}function Kc(e,t,a={}){let{block:r="nearest",inline:i="nearest"}=a;if(e===t)return;let s=e.scrollTop,u=e.scrollLeft,f=t.getBoundingClientRect(),d=e.getBoundingClientRect(),h=window.getComputedStyle(t),p=window.getComputedStyle(e),b=document.scrollingElement||document.documentElement,v=e===b,S=e===b?0:d.top,x=e===b?e.clientHeight:d.bottom,E=e===b?0:d.left,T=e===b?e.clientWidth:d.right,L=parseFloat(h.scrollMarginTop)||0,M=parseFloat(h.scrollMarginBottom)||0,N=parseFloat(h.scrollMarginLeft)||0,A=parseFloat(h.scrollMarginRight)||0,B=parseFloat(p.scrollPaddingTop)||0,F=parseFloat(p.scrollPaddingBottom)||0,$=parseFloat(p.scrollPaddingLeft)||0,k=parseFloat(p.scrollPaddingRight)||0,K=parseFloat(p.borderTopWidth)||0,U=parseFloat(p.borderBottomWidth)||0,q=parseFloat(p.borderLeftWidth)||0,ne=parseFloat(p.borderRightWidth)||0,ae=f.top-L,j=f.bottom+M,W=f.left-N,z=f.right+A,O=e===b?0:q+ne,oe=e===b?0:K+U,J=e===b?0:e.offsetWidth-e.clientWidth-O,G=e===b?0:e.offsetHeight-e.clientHeight-oe,D=S+(v?0:K)+B,Q=x-(v?0:U)-F-G,se=E+(v?0:q)+$,ce=T-(v?0:ne)-k;bl()&&Ma()||p.direction==="ltr"?ce-=J:p.direction==="rtl"&&(se+=J);let H=ae<D||j>Q,ie=W<se||z>ce;if(H&&r==="start")s+=ae-D;else if(H&&r==="center")s+=(ae+j)/2-(D+Q)/2;else if(H&&r==="end")s+=j-Q;else if(H&&r==="nearest"){let xe=ae-D,Le=j-Q;s+=Math.abs(xe)<=Math.abs(Le)?xe:Le}if(ie&&i==="start")u+=W-se;else if(ie&&i==="center")u+=(W+z)/2-(se+ce)/2;else if(ie&&i==="end")u+=z-ce;else if(ie&&i==="nearest"){let xe=W-se,Le=z-ce;u+=Math.abs(xe)<=Math.abs(Le)?xe:Le}e.scrollTo({left:u,top:s})}function Mb(e,t={}){var r,i,s;let{containingElement:a}=t;if(e&&e.isConnected){let u=document.scrollingElement||document.documentElement;if(window.getComputedStyle(u).overflow==="hidden"){let{left:d,top:h}=e.getBoundingClientRect(),p=x0(e,!0);for(let S of p)Kc(S,e);let{left:b,top:v}=e.getBoundingClientRect();if(Math.abs(d-b)>1||Math.abs(h-v)>1){p=a?x0(a,!0):[];for(let S of p)Kc(S,a,{block:"center",inline:"center"});for(let S of x0(e,!0))Kc(S,e)}}else{let{left:d,top:h}=e.getBoundingClientRect();(r=e==null?void 0:e.scrollIntoView)==null||r.call(e,{block:"nearest"});let{left:p,top:b}=e.getBoundingClientRect();(Math.abs(d-p)>1||Math.abs(h-b)>1)&&((i=a==null?void 0:a.scrollIntoView)==null||i.call(a,{block:"center",inline:"center"}),(s=e.scrollIntoView)==null||s.call(e,{block:"nearest"}))}}}function Sy(e){return e.pointerType===""&&e.isTrusted?!0:Zc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function mC(e){return!Zc()&&e.width===0&&e.height===0||Zc()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function pC(e,t,a){let r=Vn(i=>{a&&!i.defaultPrevented&&a(t)});y.useEffect(()=>{var s;let i=(s=e==null?void 0:e.current)==null?void 0:s.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e])}function Ab(e){const t=y.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}function Tu(e,t=!0){let[a,r]=y.useState(!0),i=a&&t;return De(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let s of e.current.getAnimations())s instanceof CSSTransition&&s.cancel()},[e,i]),wy(e,i,y.useCallback(()=>r(!1),[])),i}function Qc(e,t){let[a,r]=y.useState(t?"open":"closed");switch(a){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open");break}let i=a==="exiting";return wy(e,i,y.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function wy(e,t,a){De(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){a();return}let r=e.current.getAnimations();if(r.length===0){a();return}let i=!1;return Promise.allSettled(r.map(s=>s.finished)).then(()=>{i||la.flushSync(()=>{a()})}),()=>{i=!0}}},[e,t,a])}const gC=typeof Element<"u"&&"checkVisibility"in Element.prototype;function bC(e){const t=It(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:a,visibility:r}=e.style,i=a!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:s}=It(e);let{display:u,visibility:f}=s(e);i=u!=="none"&&f!=="hidden"&&f!=="collapse"}return i}function vC(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function X2(e,t){return gC?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&bC(e)&&vC(e,t)&&(!e.parentElement||X2(e.parentElement,e))}const W2=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],yC=W2.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";W2.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const xC=W2.join(':not([hidden]):not([tabindex="-1"]),');function Cy(e,t){return e.matches(yC)&&!Ey(e)&&((t==null?void 0:t.skipVisibilityCheck)||X2(e))}function Z2(e){return e.matches(xC)&&X2(e)&&!Ey(e)}function Ey(e){let t=e;for(;t!=null;){if(t instanceof It(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Lb(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let C0=new WeakMap;function Ty(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return Lb(t);if(C0.has(t))return C0.get(t);let a=t.querySelector('meta[property="csp-nonce"]'),r=a&&a instanceof It(a).HTMLMetaElement&&(a.nonce||a.content)||Lb(t)||void 0;return r!==void 0&&C0.set(t,r),r}function a2(e,t=-1/0,a=1/0){return Math.min(Math.max(e,t),a)}function SC(e,t){const{ref:a,render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>yl(a,s),[a,s]);De(()=>{},[e,r]);const f={...i,ref:u};return r?r(f,void 0):C.jsx(e,{...f})}const kb={},Et=new Proxy({},{get(e,t){if(typeof t!="string")return;let a=kb[t];return a||(a=SC.bind(null,t),kb[t]=a),a}});var wC=Array.isArray,Ru=e=>{if(!e&&e!==0&&e!==0n)return"";if(typeof e=="string")return e;if(typeof e=="number")return e!==e?"":""+e;if(typeof e=="bigint")return""+e;let t="";if(wC(e)){const a=e.length;for(let r=0;r<a;r++){const i=e[r];if(!i&&i!==0&&i!==0n)continue;const s=typeof i=="string"?i:Ru(i);s&&(t&&(t+=" "),t+=s)}return t}if(typeof e=="object")for(const a in e)e[a]&&(t&&(t+=" "),t+=a);return t},CC=/\s+/g,l2=Array.isArray,EC=e=>typeof e!="string"||!e?e:e.replace(CC," ").trim(),TC=e=>{const t=e.length;if(t===0)return!1;const a=e.charCodeAt(0),r=e.charCodeAt(t-1);if(a===32||r===32||a>=9&&a<=13||a===160||r>=9&&r<=13||r===160)return!0;for(let i=0;i<t;i++){const s=e.charCodeAt(i);if(s>=9&&s<=13||s===160||s===32&&i+1<t&&e.charCodeAt(i+1)===32)return!0}return!1},ko=(...e)=>{const t=Ru(e);if(t)return TC(t)?EC(t):t},r2=e=>e===!1?"false":e===!0?"true":e===0?"0":e,zn=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},Ry=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const a=e,r=t,i=Object.keys(a),s=Object.keys(r);if(i.length!==s.length)return!1;for(let u=0;u<i.length;u++){const f=i[u];if(!s.includes(f)||a[f]!==r[f])return!1}return!0},RC=(e,t)=>{const a=e;for(const r in t)if(Object.hasOwn(t,r)){const i=t[r];r in a?a[r]=ko(a[r],i):a[r]=i}return e},My=(e,t)=>{for(let a=0;a<e.length;a++){const r=e[a];l2(r)?My(r,t):r&&t.push(r)}},i2=(...e)=>{const t=[];My(e,t);const a=[];for(let r=0;r<t.length;r++)t[r]&&a.push(t[r]);return a},Q2=(e,t)=>{const a=e,r=t,i={};for(const s in a){const u=a[s];if(s in r){const f=r[s];l2(u)||l2(f)?i[s]=i2(f,u):typeof u=="object"&&typeof f=="object"&&u&&f?i[s]=Q2(u,f):i[s]=f+" "+u}else i[s]=u}for(const s in r)s in a||(i[s]=r[s]);return i},MC={twMerge:!0,twMergeConfig:{}},Ay=256,AC=128,tr=Symbol("tv-cache-miss"),LC=e=>(e==null?void 0:e.class)!=null&&e.class!==""||(e==null?void 0:e.className)!=null&&e.className!=="",Nb=e=>{if(e===void 0)return"";if(e===null)return"null";if(typeof e=="string")return e;if(typeof e=="boolean")return e?"true":"false";if(typeof e=="number")return e===0?"0":String(e);if(typeof e=="bigint")return String(e);const t=r2(e),a=typeof t;if(a==="string"||a==="number"||a==="boolean"||a==="bigint")return String(t);if(a==="object")try{return JSON.stringify(t)}catch{return null}return null},Zr=(e,t)=>{if(t===void 0)return e;if(t===null)return e+"null";const a=typeof t;if(a==="string"||a==="number"||a==="boolean"||a==="bigint")return e+String(t);if(Array.isArray(t))return e+t.join("\0");try{return e+JSON.stringify(t)}catch{return e+"?"}},Ly=(e,t,a,r)=>{let i="";const s=Object.create(null);for(let f=0;f<e.length;f++){const d=e[f];s[d]=1;let h=t[d];a&&a[d]!==void 0&&(h=a[d]);const p=Nb(h);if(p===null)return null;i+=d+":"+p+";"}const u=[];for(const f in t)f==="class"||f==="className"||s[f]||(s[f]=1,u.push(f));if(a)for(const f in a)f==="class"||f==="className"||s[f]||a[f]===void 0||(s[f]=1,u.push(f));u.length>1&&u.sort();for(let f=0;f<u.length;f++){const d=u[f];let h=t[d];a&&a[d]!==void 0&&(h=a[d]);const p=Nb(h);if(p===null)return null;i+=d+":"+p+";"}return i},ky=(e,t)=>{let a="";for(let r=0;r<e.length;r++){const{conditionKeys:i,source:s}=e[r];for(let u=0;u<i.length;u++){const f=i[u];a+=f+"=",a=Zr(a,s[f]),a+=","}a+="c=",a=Zr(a,s.class),a+="|cn=",a=Zr(a,s.className),a+=";"}for(let r=0;r<t.length;r++){const{conditionKeys:i,source:s}=t[r];for(let u=0;u<i.length;u++){const f=i[u];a+=f+"=",a=Zr(a,s[f]),a+=","}Array.isArray(s.slots)&&(a+="slots="+s.slots.join(",")+","),a+="c=",a=Zr(a,s.class),a+="|cn=",a=Zr(a,s.className),a+=";"}return a},Ny=(e=Ay)=>{let t=new Map,a=null;return{get(r){if(t.has(r))return t.get(r);if(a!=null&&a.has(r)){const i=a.get(r);return t.set(r,i),i}return tr},set(r,i){t.size>=e&&(a=t,t=new Map),t.set(r,i)}}},kC=(e=Ay)=>{const t=Ny(e);return{get(a){return t.get(a)},set(a,r){t.set(a,r)}}},NC=(e=AC)=>{let t=new Map,a=null,r=0;return{get(i,s){const u=t.get(i);if(u){const f=u.get(s);if(f!==void 0||u.has(s))return f}if(a){const f=a.get(i);if(f){const d=f.get(s);if(d!==void 0||f.has(s)){let h=t.get(i);return h||(h=new Map,t.set(i,h)),h.has(s)||r++,h.set(s,d),d}}}return tr},set(i,s,u){r>=e&&(a=t,t=new Map,r=0);let f=t.get(i);f||(f=new Map,t.set(i,f)),f.has(s)||r++,f.set(s,u)}}},J2=(e,t)=>{let a=null;return(r,i)=>{if(!LC(i))return r;const s=i.class,u=i.className;if(s!=null&&s!==""&&typeof s!="string"||u!=null&&u!==""&&typeof u!="string")return e(t,r,s,u);a??(a=NC());const f=r??"",d=(typeof s=="string"?s:"")+"\0"+(typeof u=="string"?u:""),h=a.get(f,d);if(h!==tr)return h;const p=e(t,r,s,u);return a.set(f,d,p),p}};function DC(){let e=null,t={},a=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return a},set didTwMergeConfigChange(r){a=r},reset(){e=null,t={},a=!1}}}var Vt=DC(),$C=e=>{!zn(e.twMergeConfig)&&!Ry(e.twMergeConfig,Vt.cachedTwMergeConfig)&&(Vt.didTwMergeConfigChange=!0,Vt.cachedTwMergeConfig=e.twMergeConfig)},zC=(e,t)=>{const a=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[i];a.push({key:i,values:s,isEmpty:zn(s)})}return a},PC=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let a=0;a<e.length;a++){const r=e[a],i=[];for(const s in r)s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},OC=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let a=0;a<e.length;a++){const r=e[a],i=[];for(const s in r)s!=="slots"&&s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},jC=e=>{const t={};for(let a=0;a<e.length;a++){const r=e[a],i=r.source.slots;if(Array.isArray(i))for(let s=0;s<i.length;s++){const u=i[s];t[u]||(t[u]=[]),t[u].push(r)}}return t},IC=(e,t)=>{const{extend:a=null,slots:r={},variants:i={},compoundVariants:s=[],compoundSlots:u=[],defaultVariants:f={}}=e,d={...MC,...t},h=e.slots!==void 0,p=a!=null&&a.base?ko(a.base,e==null?void 0:e.base):e==null?void 0:e.base,b=a!=null&&a.variants&&!zn(a.variants)?Q2(i,a.variants):i,v=a!=null&&a.defaultVariants&&!zn(a.defaultVariants)?{...a.defaultVariants,...f}:f;$C(d);const S=!(a!=null&&a.slots)||zn(a.slots),x=h?S&&(a!=null&&a.base)?ko(e==null?void 0:e.base,a.base):typeof(e==null?void 0:e.base)=="string"||(e==null?void 0:e.base)==null?e.base:ko(e.base):void 0,E=h?{base:x,...r}:{},T=S?E:RC({...a==null?void 0:a.slots},zn(E)?{base:e==null?void 0:e.base}:E),L=!(a!=null&&a.compoundVariants)||zn(a.compoundVariants)?s:i2(a==null?void 0:a.compoundVariants,s),M=!(a!=null&&a.compoundSlots)||zn(a.compoundSlots)?u:i2(a==null?void 0:a.compoundSlots,u),N=Object.keys(b),A=L&&!Array.isArray(L)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof L}`):M&&!Array.isArray(M)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`):null,B=h||!S?"slots":N.length===0?"plain":"variants";return{config:d,extend:a,base:p,variants:b,defaultVariants:v,slots:T,compoundVariants:L,compoundSlots:M,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:A,mode:B,slotKeys:null,variantKeys:N}},Dy=e=>(e.compiledVariants!==null||(e.compiledVariants=zC(e.variants,e.variantKeys),e.compiledCompoundVariants=PC(e.compoundVariants),e.compiledCompoundSlots=OC(e.compoundSlots),e.compiledCompoundSlotsBySlot=jC(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),o2=[],$y=[],BC=[],HC=[],KC=[],zy=(e,t,a)=>{const r={};for(const i in e)r[i]=e[i];if(t)for(const i in t)t[i]!==void 0&&(r[i]=t[i]);if(a)for(const i in a)a[i]!==void 0&&(r[i]=a[i]);return r},wc=e=>e==null||e===!1,UC=(e,t)=>{if(!Array.isArray(e))return e===t||wc(e)&&wc(t);for(let a=0;a<e.length;a++){const r=e[a];if(r===t||wc(r)&&wc(t))return!0}return!1},Py=(e,t,a,r)=>{if(e.isEmpty)return null;const i=(r==null?void 0:r[e.key])??(a==null?void 0:a[e.key]);if(i===null)return null;const s=r2(i);if(typeof s=="object")return null;const u=t==null?void 0:t[e.key],f=s??r2(u);return e.values[f||"false"]},eh=(e,t)=>{const{conditionKeys:a,source:r}=e;for(let i=0;i<a.length;i++){const s=a[i];if(!UC(r[s],t[s]))return!1}return!0},Db=(e,t,a)=>{typeof a=="string"?t==="base"&&e.push(a):a&&typeof a=="object"&&a[t]&&e.push(a[t])},VC=(e,t,a)=>{const r=$y;r.length=0;for(let i=0;i<e.length;i++){const s=Py(e[i],t,a);s&&r.push(s)}return r},_C=(e,t,a,r,i)=>{const s=$y;s.length=0;for(let u=0;u<t.length;u++){const f=Py(t[u],a,r,i),d=e==="base"&&typeof f=="string"?f:f&&f[e];d&&s.push(d)}return s},FC=(e,t)=>{const a=BC;a.length=0;for(let r=0;r<e.length;r++){const i=e[r];eh(i,t)&&(i.source.class&&a.push(i.source.class),i.source.className&&a.push(i.source.className))}return a},GC=(e,t,a)=>{const r=HC;r.length=0;for(let i=0;i<t.length;i++){const s=t[i];eh(s,a)&&(Db(r,e,s.source.class),Db(r,e,s.source.className))}return r},qC=(e,t)=>{const a=KC;a.length=0;for(let r=0;r<e.length;r++){const i=e[r];eh(i,t)&&(i.source.class&&a.push(i.source.class),i.source.className&&a.push(i.source.className))}return a},YC=(e,t)=>{const{base:a,config:r}=e;let i=tr;const s=J2(t,r);return(u=>(i===tr&&(i=t(r,a)),s(i,u)))},XC=(e,t)=>{const{base:a,config:r,defaultVariants:i,deferredError:s,variantKeys:u}=e;let f=e.compiledCompoundVariants,d=e.compiledVariants,h=o2,p=null;const b=J2(t,r);let v=1;const S=x=>{const E=f.length>0?FC(f,zy(i,x)):void 0;return t(r,a,VC(d,i,x),E)};return(x=>{if(s)throw s;(d===null||f===null)&&(Dy(e),d=e.compiledVariants,f=e.compiledCompoundVariants,h=e.compiledCompoundSlots??o2);let E;if(v>0)v--,E=S(x);else{p??(p=kC());const T=Ly(u,i,x);if(T!==null){const L=f.length>0||h.length>0?ky(f,h):"",M=T+"#"+L,N=p.get(M);N!==tr?E=N:(E=S(x),p.set(M,E))}else E=S(x)}return b(E,x)})},WC=(e,t)=>{const{config:a,defaultVariants:r,deferredError:i,slots:s,variantKeys:u}=e;let f=null,d=null,h=null,p=null,b=!1,v=null,S=null,x=1;const E=()=>{if(h!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&Dy(e);const L=e.compiledVariants;f=e.compiledCompoundVariants,d=e.compiledCompoundSlots;const M=e.compiledCompoundSlotsBySlot;h=e.slotKeys,b=f.length>0||d.length>0,v=J2(t,a);const N=new Array(h.length);for(let A=0;A<h.length;A++){const B=h[A],F=M[B]??o2;N[A]=($,k)=>{const K=b?zy(r,$,k):void 0,U=K?GC(B,f,K):void 0,q=K?qC(F,K):void 0;return t(a,s[B],_C(B,L,r,$,k),U,q)}}p=N},T=L=>{const M=h,N=p,A=v,B={};for(let F=0;F<M.length;F++){const $=N[F],k=$(L);B[M[F]]=K=>{if(K==null)return k;let U=!1;for(const q in K)if(!(q==="class"||q==="className")&&K[q]!==void 0){U=!0;break}return A(U?$(L,K):k,K)}}return B};return(L=>{if(i)throw i;if(E(),x>0)return x--,T(L);const M=Ly(u,r,L);if(M===null)return T(L);const N=b?ky(f,d):"",A=M+"#"+N;S??(S=Ny());const B=S.get(A);if(B!==tr)return B;const F=T(L);return S.set(A,F),F})},ZC=(e,t)=>{if(e.mode==="plain")return YC(e,t);let a;return(r=>(a??(a=e.mode==="slots"?WC(e,t):XC(e,t)),a(r)))},QC=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},JC=e=>{const t=(r,i)=>{const s=IC(r,i),u=ZC(s,e);return QC(u,s),u};return{tv:t,createTV:r=>(i,s)=>t(i,s?Q2(r,s):r)}},eE=(e,t)=>{const a=e.length,r=t.length,i=new Array(a+r);for(let s=0;s<a;s++)i[s]=e[s];for(let s=0;s<r;s++)i[a+s]=t[s];return i},tE=(e,t)=>({classGroupId:e,validator:t}),Oy=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),Jc="-",$b=[],nE="arbitrary..",aE=e=>{const t=rE(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u[0]==="["&&u[u.length-1]==="]")return lE(u);const f=u.split(Jc),d=f[0]===""&&f.length>1?1:0;return jy(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=a[u];return d?h?eE(h,d):d:h||$b}return a[u]||$b}}},jy=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const i=e[t],s=a.nextPart.get(i);if(s){const h=jy(e,t+1,s);if(h)return h}const u=a.validators;if(u===null)return;const f=t===0?e.join(Jc):e.slice(t).join(Jc),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},lE=e=>{const t=e.slice(1,-1),a=t.indexOf(":");if(a===-1)return;const r=t.slice(0,a);return r?nE+r:void 0},rE=e=>{const{theme:t,classGroups:a}=e;return iE(a,t)},iE=(e,t)=>{const a=Oy();for(const r in e){const i=e[r];th(i,a,r,t)}return a},th=(e,t,a,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];oE(u,t,a,r)}},oE=(e,t,a,r)=>{if(typeof e=="string"){sE(e,t,a);return}if(typeof e=="function"){cE(e,t,a,r);return}uE(e,t,a,r)},sE=(e,t,a)=>{const r=e===""?t:Iy(t,e);r.classGroupId=a},cE=(e,t,a,r)=>{if(fE(e)){th(e(r),t,a,r);return}t.validators===null&&(t.validators=[]),t.validators.push(tE(a,e))},uE=(e,t,a,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];th(d,Iy(t,f),a,r)}},Iy=(e,t)=>{let a=e;const r=t.split(Jc),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=a.nextPart.get(u);f||(f=Oy(),a.nextPart.set(u,f)),a=f}return a},fE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,dE="!",hE=58,mE=47,pE=91,gE=93,bE=40,vE=41,zb=33,yE=(e,t,a,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:void 0}),Pb=e=>{const t=[];let a=0,r=0,i=0,s;const u=e.length;for(let v=0;v<u;v++){const S=e.charCodeAt(v);if(a===0&&r===0){if(S===hE){t.push(e.slice(i,v)),i=v+1;continue}if(S===mE){s=v;continue}}S===pE?a++:S===gE?a--:S===bE?r++:S===vE&&r--}const f=t.length===0?e:e.slice(i);let d=f,h=!1;const p=f.length-1;f.charCodeAt(p)===zb?(d=f.slice(0,-1),h=!0):f.charCodeAt(0)===zb&&(d=f.slice(1),h=!0);const b=s&&s>i?s-i:void 0;return yE(t,h,d,b)},xE=e=>{const t=new Set(e.orderSensitiveModifiers);return a=>{const r=[];let i=[];for(let s=0;s<a.length;s++){const u=a[s],f=u[0]==="[",d=t.has(u);if(f||d){if(i.length>0){i.sort();for(let h=0;h<i.length;h++)r.push(i[h]);i=[]}r.push(u)}else i.push(u)}if(i.length>0){i.sort();for(let s=0;s<i.length;s++)r.push(i[s])}return r}},E0={isExternal:!0,classId:-1,conflictIds:[]},SE=4096,wE=16384,CE=e=>{const t=xE(e),a=EE(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=aE(e);let s=Object.create(null),u=Object.create(null),f=0,d=new Int32Array(256),h=0,p=new Uint8Array(64),b=!1;const v=N=>{const A=[],B=N.length;let F=-1;b=!1;for(let $=0;$<B;$++){const k=N.charCodeAt($);k===32?F!==-1&&(A.push(N.slice(F,$)),F=-1):k>=9&&k<=13?(b=!0,F!==-1&&(A.push(N.slice(F,$)),F=-1)):F===-1&&(F=$)}return F!==-1&&A.push(N.slice(F)),A},S=new Map;let x=0;const E=N=>{let A=S.get(N);if(A===void 0&&(A=x++,S.set(N,A),A>=d.length)){const B=new Int32Array(d.length*2);B.set(d),d=B}return A},T=N=>{const{isExternal:A,modifiers:B,hasImportantModifier:F,baseClassName:$,maybePostfixModifierPosition:k}=Pb(N);if(A)return E0;let K=!!k,U;if(K){const W=$.substring(0,k);U=r(W);const z=U&&a[U]?r($):void 0;z&&z!==U&&(U=z,K=!1)}else U=r($);if(!U){if(!K||(U=r($),!U))return E0;K=!1}const q=B.length===0?"":B.length===1?B[0]:t(B).join(":"),ne=F?q+dE:q,ae=i(U,K),j=[];for(let W=0;W<ae.length;W++)j.push(E(ne+ae[W]));return{isExternal:!1,classId:E(ne+U),conflictIds:j}},L=N=>{let A=s[N];return A!==void 0||(A=u[N],A===void 0&&(A=T(N)),s[N]=A,++f>SE&&(f=0,u=s,s=Object.create(null))),A};return{parseClassName:Pb,sortModifiers:t,postfixLookupClassGroupIds:a,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:L,mergeClassList:N=>{const A=v(N),B=A.length;if(B===1)return A[0];x>wE&&(S.clear(),x=0,s=Object.create(null),u=Object.create(null),f=0),h=h+1|0,h===0&&(h=1);const F=h;if(B>p.length){let U=p.length;for(;U<B;)U*=2;p=new Uint8Array(U)}let $=!1,k=0;for(let U=B-1;U>=0;U-=1){const q=A[U];k+=q.length;const ne=L(q);if(ne.isExternal){p[U]=1;continue}const ae=ne.classId;if(d[ae]===F){p[U]=0,$=!0;continue}d[ae]=F;const j=ne.conflictIds;for(let W=0;W<j.length;W++)d[j[W]]=F;p[U]=1}if(!$&&!b&&N.length===k+B-1)return N;let K="";for(let U=0;U<B;U++)p[U]===1&&(K&&(K+=" "),K+=A[U]);return K}}},EE=e=>{const t=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let r=0;r<a.length;r++)t[a[r]]=!0;return t},TE=500,Ob=e=>{let t,a,r=Object.create(null),i=Object.create(null),s=0;const u=h=>(t=CE(e()),a=t.mergeClassList,d.mergeString=f,f(h)),f=h=>{let p=r[h];return p!==void 0||(p=i[h],p===void 0&&(p=a(h)),r[h]=p,++s>TE&&(s=0,i=r,r=Object.create(null))),p},d=(...h)=>d.mergeString(Ru(h));return d.mergeString=u,d},RE=[],wt=e=>{const t=a=>a[e]||RE;return t.isThemeGetter=!0,t},By=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hy=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ME=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,AE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LE=/\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$/,kE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,NE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ky=Number,$E=Number.isNaN,zE=Number.isInteger,ll=e=>ME.test(e),ke=e=>!!e&&!$E(Ky(e)),Zn=e=>!!e&&zE(Ky(e)),T0=e=>e.endsWith("%")&&ke(e.slice(0,-1)),Ca=e=>AE.test(e),Uy=()=>!0,PE=e=>LE.test(e)&&!kE.test(e),nh=()=>!1,OE=e=>NE.test(e),jE=e=>DE.test(e),IE=e=>!he(e)&&!pe(e),BE=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),HE=e=>xl(e,Fy,nh),he=e=>By.test(e),Vl=e=>xl(e,Gy,PE),jb=e=>xl(e,YE,ke),KE=e=>xl(e,Yy,Uy),UE=e=>xl(e,qy,nh),Ib=e=>xl(e,Vy,nh),VE=e=>xl(e,_y,jE),Cc=e=>xl(e,Xy,OE),pe=e=>Hy.test(e),So=e=>or(e,Gy),_E=e=>or(e,qy),Bb=e=>or(e,Vy),FE=e=>or(e,Fy),GE=e=>or(e,_y),Ec=e=>or(e,Xy,!0),qE=e=>or(e,Yy,!0),xl=(e,t,a)=>{const r=By.exec(e);return r?r[1]?t(r[1]):a(r[2]):!1},or=(e,t,a=!1)=>{const r=Hy.exec(e);return r?r[1]?t(r[1]):a:!1},Vy=e=>e==="position"||e==="percentage",_y=e=>e==="image"||e==="url",Fy=e=>e==="length"||e==="size"||e==="bg-size",Gy=e=>e==="length",YE=e=>e==="number",qy=e=>e==="family-name",Yy=e=>e==="number"||e==="weight",Xy=e=>e==="shadow",R0=()=>{const e=wt("color"),t=wt("font"),a=wt("text"),r=wt("font-weight"),i=wt("tracking"),s=wt("leading"),u=wt("breakpoint"),f=wt("container"),d=wt("spacing"),h=wt("radius"),p=wt("shadow"),b=wt("inset-shadow"),v=wt("text-shadow"),S=wt("drop-shadow"),x=wt("blur"),E=wt("perspective"),T=wt("aspect"),L=wt("ease"),M=wt("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),pe,he],F=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[pe,he,d],K=()=>[ll,"full","auto",...k()],U=()=>[Zn,"none","subgrid",pe,he],q=()=>["auto",{span:["full",Zn,pe,he]},Zn,pe,he],ne=()=>[Zn,"auto",pe,he],ae=()=>["auto","min","max","fr",pe,he],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[ll,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[ll,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[ll,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,pe,he],D=()=>[...A(),Bb,Ib,{position:[pe,he]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",FE,HE,{size:[pe,he]}],ce=()=>[T0,So,Vl],H=()=>["","none","full",h,pe,he],ie=()=>["",ke,So,Vl],xe=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[ke,T0,Bb,Ib],kt=()=>["","none",x,pe,he],it=()=>["none",ke,pe,he],ue=()=>["none",ke,pe,he],fe=()=>[ke,pe,he],Ce=()=>[ll,"full",...k()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ca],breakpoint:[Ca],color:[Uy],container:[Ca],"drop-shadow":[Ca],ease:["in","out","in-out"],font:[IE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ca],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ca],shadow:[Ca],spacing:["px",ke],text:[Ca],"text-shadow":[Ca],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ll,he,pe,T]}],container:["container"],"container-type":[{"@container":["","normal","size",pe,he]}],"container-named":[BE],columns:[{columns:[ke,he,pe,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:B()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",pe,he]}],basis:[{basis:[ll,"full","auto",f,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,ll,"auto","initial","none",he]}],grow:[{grow:["",ke,pe,he]}],shrink:[{shrink:["",ke,pe,he]}],order:[{order:[Zn,"first","last","none",pe,he]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",a,So,Vl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,qE,KE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",T0,he]}],"font-family":[{font:[_E,UE,t]}],"font-features":[{"font-features":[he]}],"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:[i,pe,he]}],"line-clamp":[{"line-clamp":[ke,"none",pe,jb]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",pe,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",pe,Vl]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[ke,"auto",pe,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"tab-size":[{tab:[Zn,pe,he]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,he]}],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",pe,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zn,pe,he],radial:["",pe,he],conic:[Zn,pe,he]},GE,VE]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,pe,he]}],"outline-w":[{outline:["",ke,So,Vl]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,Ec,Cc]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,Ec,Cc]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[ke,Vl]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,Ec,Cc]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[ke,pe,he]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"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":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[pe,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,he]}],filter:[{filter:["","none",pe,he]}],blur:[{blur:kt()}],brightness:[{brightness:[ke,pe,he]}],contrast:[{contrast:[ke,pe,he]}],"drop-shadow":[{"drop-shadow":["","none",S,Ec,Cc]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",ke,pe,he]}],"hue-rotate":[{"hue-rotate":[ke,pe,he]}],invert:[{invert:["",ke,pe,he]}],saturate:[{saturate:[ke,pe,he]}],sepia:[{sepia:["",ke,pe,he]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,he]}],"backdrop-blur":[{"backdrop-blur":kt()}],"backdrop-brightness":[{"backdrop-brightness":[ke,pe,he]}],"backdrop-contrast":[{"backdrop-contrast":[ke,pe,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,pe,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,pe,he]}],"backdrop-invert":[{"backdrop-invert":["",ke,pe,he]}],"backdrop-opacity":[{"backdrop-opacity":[ke,pe,he]}],"backdrop-saturate":[{"backdrop-saturate":[ke,pe,he]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,pe,he]}],"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",pe,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",pe,he]}],ease:[{ease:["linear","initial",L,pe,he]}],delay:[{delay:[ke,pe,he]}],animate:[{animate:["none",M,pe,he]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,pe,he]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[pe,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],zoom:[{zoom:[Zn,pe,he]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",pe,he]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":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",pe,he]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[ke,So,Vl,jb]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},XE=(e,{extend:t={},override:a={}})=>(Tc(e.theme,a.theme),Tc(e.classGroups,a.classGroups),Tc(e.conflictingClassGroups,a.conflictingClassGroups),Tc(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),s2(e,"postfixLookupClassGroups",a.postfixLookupClassGroups),s2(e,"orderSensitiveModifiers",a.orderSensitiveModifiers),Rc(e.theme,t.theme),Rc(e.classGroups,t.classGroups),Rc(e.conflictingClassGroups,t.conflictingClassGroups),Rc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),c2(e,t,"postfixLookupClassGroups"),c2(e,t,"orderSensitiveModifiers"),e),s2=(e,t,a)=>{a!==void 0&&(e[t]=a)},Tc=(e,t)=>{if(t)for(const a in t)s2(e,a,t[a])},Rc=(e,t)=>{if(t)for(const a in t)c2(e,t,a)},c2=(e,t,a)=>{const r=t[a];r!==void 0&&(e[a]=e[a]?e[a].concat(r):r)},Wy=e=>Ob(e?typeof e=="function"?()=>e(R0()):()=>XE(R0(),e):R0),WE=e=>{if(zn(e))return;const t=e,a={...t.extend??{}};for(const i of["theme","classGroups","conflictingClassGroups","conflictingClassGroupModifiers","postfixLookupClassGroups","orderSensitiveModifiers","cacheSize","prefix","separator","experimentalParseClassName"])t[i]!==void 0&&a[i]===void 0&&(a[i]=t[i]);const r={};if(Object.keys(a).length>0&&(r.extend=a),t.override!=null&&!zn(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},ZE=e=>{const t=WE(e),a=Wy(t);return r=>a.mergeString(r)},Uc,QE=()=>(Uc||(Uc=Wy()),Uc),JE=()=>((!Vt.cachedTwMerge||Vt.didTwMergeConfigChange)&&(Vt.didTwMergeConfigChange=!1,Vt.cachedTwMerge=ZE(Vt.cachedTwMergeConfig)),Vt.cachedTwMerge),eT=e=>{const t=e==null?void 0:e.twMergeConfig;!t||zn(t)||Ry(t,Vt.cachedTwMergeConfig)||(Vt.cachedTwMergeConfig=t,Vt.didTwMergeConfigChange=!0)},tT=e=>Ru(e),nT=Vt.reset.bind(Vt);Vt.reset=()=>{Uc=void 0,nT()};var aT=(e,t)=>{const a=tT(e);return!a||!((t==null?void 0:t.twMerge)??!0)?a||void 0:a.indexOf(" ")===-1?a:(eT(t),(!!(t!=null&&t.twMergeConfig&&!zn(t.twMergeConfig))?JE():QE().mergeString)(a)||void 0)},lT=(e,...t)=>aT(t,e),rT=JC(lT),Sn=rT.tv,iT=ko;const oT=Sn({defaultVariants:{status:"default"},slots:{base:"alert",content:"alert__content",description:"alert__description",indicator:"alert__indicator",title:"alert__title"},variants:{status:{accent:{base:"alert--accent"},danger:{base:"alert--danger"},default:{base:"alert--default"},success:{base:"alert--success"},warning:{base:"alert--warning"}}}}),sT=Sn({defaultVariants:{color:"default",size:"md"},slots:{base:"avatar",fallback:"avatar__fallback",image:"avatar__image"},variants:{color:{accent:{fallback:"avatar__fallback--accent"},danger:{fallback:"avatar__fallback--danger"},default:{fallback:"avatar__fallback--default"},success:{fallback:"avatar__fallback--success"},warning:{fallback:"avatar__fallback--warning"}},size:{lg:{base:"avatar--lg"},md:{base:"avatar--md"},sm:{base:"avatar--sm"}},variant:{default:{},soft:{base:"avatar--soft"}}}}),cT=Sn({base:"button",defaultVariants:{fullWidth:!1,isIconOnly:!1,size:"md",variant:"primary"},variants:{fullWidth:{false:"",true:"button--full-width"},isIconOnly:{true:"button--icon-only"},size:{lg:"button--lg",md:"button--md",sm:"button--sm"},variant:{danger:"button--danger","danger-soft":"button--danger-soft",ghost:"button--ghost",outline:"button--outline",primary:"button--primary",secondary:"button--secondary",tertiary:"button--tertiary"}}}),uT=Sn({defaultVariants:{fullWidth:!1,orientation:"horizontal"},slots:{base:"button-group",separator:"button-group__separator"},variants:{fullWidth:{false:{},true:{base:"button-group--full-width"}},orientation:{horizontal:{base:"button-group--horizontal"},vertical:{base:"button-group--vertical"}}}}),fT=Sn({defaultVariants:{variant:"primary"},slots:{base:"checkbox",content:"checkbox__content",control:"checkbox__control",indicator:"checkbox__indicator"},variants:{variant:{primary:{base:"checkbox--primary"},secondary:{base:"checkbox--secondary"}}}}),dT=Sn({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}}),hT=Sn({slots:{base:"link",icon:"link__icon"}}),ah=Sn({defaultVariants:{scroll:"inside",size:"md",variant:"opaque"},slots:{backdrop:"modal__backdrop",body:"modal__body",closeTrigger:"modal__close-trigger",container:"modal__container",dialog:"modal__dialog",footer:"modal__footer",header:"modal__header",heading:"modal__heading",icon:"modal__icon",trigger:"modal__trigger"},variants:{scroll:{inside:{body:"modal__body--scroll-inside",dialog:"modal__dialog--scroll-inside"},outside:{body:"modal__body--scroll-outside",container:"modal__container--scroll-outside",dialog:"modal__dialog--scroll-outside"}},size:{cover:{dialog:"modal__dialog--cover"},full:{container:"modal__container--full",dialog:"modal__dialog--full"},lg:{dialog:"modal__dialog--lg"},md:{dialog:"modal__dialog--md"},sm:{dialog:"modal__dialog--sm"},xs:{dialog:"modal__dialog--xs"}},variant:{blur:{backdrop:"modal__backdrop--blur"},opaque:{backdrop:"modal__backdrop--opaque"},transparent:{backdrop:"modal__backdrop--transparent"}}}}),mT=Sn({defaultVariants:{hideScrollBar:!1,orientation:"vertical",variant:"fade"},slots:{base:"scroll-shadow"},variants:{hideScrollBar:{false:{},true:{base:"scroll-shadow--hide-scrollbar"}},orientation:{horizontal:{base:"scroll-shadow--horizontal"},vertical:{base:"scroll-shadow--vertical"}},variant:{fade:{base:"scroll-shadow--fade"}}}}),pT=Sn({base:"spinner",defaultVariants:{color:"accent",size:"md"},variants:{color:{accent:"spinner--accent",current:"spinner--current",danger:"spinner--danger",success:"spinner--success",warning:"spinner--warning"},size:{lg:"spinner--lg",md:"spinner--md",sm:"spinner--sm",xl:"spinner--xl"}}}),gT=Sn({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}}),bT=Sn({defaultVariants:{variant:"primary"},slots:{base:"tabs",scrollNext:"tabs__list-container__scroll-next",scrollPrev:"tabs__list-container__scroll-prev",scroller:"tabs__list-container__scroller",separator:"tabs__separator",tab:"tabs__tab",tabIndicator:"tabs__indicator",tabList:"tabs__list",tabListContainer:"tabs__list-container",tabPanel:"tabs__panel"},variants:{variant:{primary:{},secondary:{base:"tabs--secondary"}}}}),vT=Sn({defaultVariants:{placement:"bottom",variant:"default"},slots:{action:"toast__action",close:"toast__close-button",content:"toast__content",description:"toast__description",indicator:"toast__indicator",region:"toast-region",title:"toast__title",toast:"toast"},variants:{placement:{bottom:{region:"toast-region--bottom",toast:"toast--bottom"},"bottom end":{region:"toast-region--bottom-end",toast:"toast--bottom-end"},"bottom start":{region:"toast-region--bottom-start",toast:"toast--bottom-start"},top:{region:"toast-region--top",toast:"toast--top"},"top end":{region:"toast-region--top-end",toast:"toast--top-end"},"top start":{region:"toast-region--top-start",toast:"toast--top-start"}},variant:{accent:{toast:"toast--accent"},danger:{toast:"toast--danger"},default:{toast:"toast--default"},success:{toast:"toast--success"},warning:{toast:"toast--warning"}}}}),fi=Symbol("default");function sr({values:e,children:t}){for(let[a,r]of e)t=_.createElement(a.Provider,{value:r},t);return t}function Lt(e){let{className:t,style:a,children:r,defaultClassName:i,defaultChildren:s,defaultStyle:u,values:f,render:d}=e;return y.useMemo(()=>{let h,p,b;return typeof t=="function"?h=t({...f,defaultClassName:i}):h=t,typeof a=="function"?p=a({...f,defaultStyle:u||{}}):p=a,typeof r=="function"?b=r({...f,defaultChildren:s}):r==null?b=s:b=r,{className:h??i,style:p||u?{...u,...p}:void 0,children:b??s,"data-rac":"",render:d?v=>d(v,f):void 0}},[t,a,r,i,s,u,f,d])}function yT(e,t){return a=>t(typeof e=="function"?e(a):e,a)}function Mu(e,t){let a=y.useContext(e);if(t===null)return null;if(a&&typeof a=="object"&&"slots"in a&&a.slots){let r=t||fi;if(!a.slots[r]){let i=new Intl.ListFormat().format(Object.keys(a.slots).map(u=>`"${u}"`)),s=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${s} Valid slot names are ${i}.`)}return a.slots[r]}return a}function wn(e,t,a){let r=Mu(a,e.slot)||{},{ref:i,...s}=r,u=xn(y.useMemo(()=>yl(t,i),[t,i])),f=Ee(s,e);return"style"in s&&s.style&&"style"in e&&e.style&&(typeof s.style=="function"||typeof e.style=="function"?f.style=d=>{let h=typeof s.style=="function"?s.style(d):s.style,p={...d.defaultStyle,...h},b=typeof e.style=="function"?e.style({...d,defaultStyle:p}):e.style;return{...p,...b}}:f.style={...s.style,...e.style}),[f,u]}function Wz(e=!0){let[t,a]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,a(!!s)},[]);return De(()=>{r.current||a(!1)},[]),[i,t]}function xT(e){const t=/^(data-.*)$/;let a={};for(const r in e)t.test(r)||(a[r]=e[r]);return a}function ST(e,t,a){let{render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>yl(a,s),[a,s]);De(()=>{},[e,r]);let f={...i,ref:u};return r?r(f,void 0):_.createElement(e,f)}const Hb={},ut=new Proxy({},{get(e,t){if(typeof t!="string")return;let a=Hb[t];return a||(a=y.forwardRef(ST.bind(null,t)),Hb[t]=a),a}});typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));const eu=y.createContext(!1);function wT(e){if(y.useContext(eu))return _.createElement(_.Fragment,null,e.children);let a=_.createElement(eu.Provider,{value:!0},e.children);return _.createElement("template",null,a)}function Zy(e){let t=(a,r)=>y.useContext(eu)?null:e(a,r);return t.displayName=e.displayName||e.name,y.forwardRef(t)}function CT(){return y.useContext(eu)}const ET=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),TT=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function RT(e){if(Intl.Locale){let a=new Intl.Locale(e).maximize(),r=typeof a.getTextInfo=="function"?a.getTextInfo():a.textInfo;if(r)return r.direction==="rtl";if(a.script)return ET.has(a.script)}let t=e.split("-")[0];return TT.has(t)}const Qy=Symbol.for("react-aria.i18n.locale");function Jy(){let e=typeof window<"u"&&window[Qy]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:RT(e)?"rtl":"ltr"}}let u2=Jy(),Mo=new Set;function Kb(){u2=Jy();for(let e of Mo)e(u2)}function MT(){let e=Na(),[t,a]=y.useState(u2);return y.useEffect(()=>(Mo.size===0&&window.addEventListener("languagechange",Kb),Mo.add(a),()=>{Mo.delete(a),Mo.size===0&&window.removeEventListener("languagechange",Kb)}),[]),e?{locale:typeof window<"u"&&window[Qy]||"en-US",direction:"ltr"}:t}const AT=_.createContext(null);function vi(){let e=MT();return y.useContext(AT)||e}const LT=y.createContext(null),e5=7e3;let Qn=null;function Ub(e,t="assertive",a=e5){Qn?Qn.announce(e,t,a):(Qn=new kT,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qn.announce(e,t,a):setTimeout(()=>{Qn!=null&&Qn.isAttached()&&(Qn==null||Qn.announce(e,t,a))},100))}class kT{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){var t;return(t=this.node)==null?void 0:t.isConnected}createLog(t){let a=document.createElement("div");return a.setAttribute("role","log"),a.setAttribute("aria-live",t),a.setAttribute("aria-relevant","additions"),a}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,a="assertive",r=e5){var s,u;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,a==="assertive"?(s=this.assertiveLog)==null||s.appendChild(i):(u=this.politeLog)==null||u.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}}function lh(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function t5(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function n5(e){let t=y.useRef({isFocused:!1,observer:null});return De(()=>{const a=t.current;return()=>{a.observer&&(a.observer.disconnect(),a.observer=null)}},[]),y.useCallback(a=>{let r=ve(a);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r,s=u=>{if(t.current.isFocused=!1,i.disabled){let f=lh(u);e==null||e(f)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{var u;if(t.current.isFocused&&i.disabled){(u=t.current.observer)==null||u.disconnect();let f=i===et()?null:et();i.dispatchEvent(new FocusEvent("blur",{relatedTarget:f})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:f}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let tu=!1;function NT(e){for(;e&&!Cy(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=It(e),a=t.document.activeElement;if(!a||a===e)return;tu=!0;let r=!1,i=p=>{(ve(p)===a||r)&&p.stopImmediatePropagation()},s=p=>{(ve(p)===a||r)&&(p.stopImmediatePropagation(),!e&&!r&&(r=!0,nn(a),d()))},u=p=>{(ve(p)===e||r)&&p.stopImmediatePropagation()},f=p=>{(ve(p)===e||r)&&(p.stopImmediatePropagation(),r||(r=!0,nn(a),d()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",s,!0),t.addEventListener("focusin",f,!0),t.addEventListener("focus",u,!0);let d=()=>{cancelAnimationFrame(h),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",s,!0),t.removeEventListener("focusin",f,!0),t.removeEventListener("focus",u,!0),tu=!1,r=!1},h=requestAnimationFrame(d);return d}let La=null;const Bo=new Set;let No=new Map,nr=!1,f2=!1;const DT={Tab:!0,Escape:!0};function Au(e,t){for(let a of Bo)a(e,t)}function $T(e){return!(e.metaKey||!_n()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function nu(e){nr=!0,!Aa.isOpening&&$T(e)&&(La="keyboard",Au("keyboard",e))}function di(e){La="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(nr=!0,Au("pointer",e))}function a5(e){!Aa.isOpening&&Sy(e)&&(nr=!0,La="virtual")}function l5(e){let t=It(ve(e)),a=He(ve(e));ve(e)===t||ve(e)===a||tu||!e.isTrusted||(!nr&&!f2&&(La="virtual",Au("virtual",e)),nr=!1,f2=!1)}function r5(){tu||(nr=!1,f2=!0)}function au(e){if(typeof window>"u"||typeof document>"u")return;const t=It(e),a=He(e);if(No.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){nr=!0,r.apply(this,arguments)}}),a.addEventListener("keydown",nu,!0),a.addEventListener("keyup",nu,!0),a.addEventListener("click",a5,!0),t.addEventListener("focus",l5,!0),t.addEventListener("blur",r5,!1),typeof PointerEvent<"u"&&(a.addEventListener("pointerdown",di,!0),a.addEventListener("pointermove",di,!0),a.addEventListener("pointerup",di,!0)),t.addEventListener("beforeunload",()=>{i5(e)},{once:!0}),No.set(t,{focus:r})}const i5=(e,t)=>{const a=It(e),r=He(e);t&&r.removeEventListener("DOMContentLoaded",t),No.has(a)&&(Reflect.defineProperty(a.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:No.get(a).focus}),r.removeEventListener("keydown",nu,!0),r.removeEventListener("keyup",nu,!0),r.removeEventListener("click",a5,!0),a.removeEventListener("focus",l5,!0),a.removeEventListener("blur",r5,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",di,!0),r.removeEventListener("pointermove",di,!0),r.removeEventListener("pointerup",di,!0)),No.delete(a))};function zT(e){const t=He(e);let a;return t.readyState!=="loading"?au(e):(a=()=>{au(e)},t.addEventListener("DOMContentLoaded",a)),()=>i5(e,a)}typeof document<"u"&&zT();function d2(){return La!=="pointer"}function pl(){return La}function PT(e){La=e,Au(e,null)}function Zz(){au();let[e,t]=y.useState(La);return y.useEffect(()=>{let a=()=>{t(La)};return Bo.add(a),()=>{Bo.delete(a)}},[]),Na()?null:e}const OT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function jT(e,t,a){let r=a?ve(a):void 0,i=He(r),s=It(r);const u=typeof s<"u"?s.HTMLInputElement:HTMLInputElement,f=typeof s<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,d=typeof s<"u"?s.HTMLElement:HTMLElement,h=typeof s<"u"?s.KeyboardEvent:KeyboardEvent;let p=et(i);return e=e||p instanceof u&&!OT.has(p.type)||p instanceof f||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&a instanceof h&&!DT[a.key])}function IT(e,t,a){au(),y.useEffect(()=>{if((a==null?void 0:a.enabled)===!1)return;let r=(i,s)=>{jT(!!(a!=null&&a.isTextInput),i,s)&&e(d2())};return Bo.add(r),()=>{Bo.delete(r)}},t)}function vl(e){if(!e.isConnected)return;const t=He(e);if(pl()==="virtual"){let a=et(t);yy(()=>{const r=et(t);(r===a||r===t.body)&&e.isConnected&&nn(e)})}else nn(e)}function o5(e){let{isDisabled:t,onFocus:a,onBlur:r,onFocusChange:i}=e;const s=y.useCallback(d=>{if(ve(d)===d.currentTarget)return r&&r(d),i&&i(!1),!0},[r,i]),u=n5(s),f=y.useCallback(d=>{let h=ve(d);const p=He(h),b=p?et(p):et();h===d.currentTarget&&h===b&&(a&&a(d),i&&i(!0),u(d))},[i,a,u]);return{focusProps:{onFocus:!t&&(a||i||r)?f:void 0,onBlur:!t&&(r||i)?s:void 0}}}function Mc(e){if(e)return t=>{let a=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){a=!0},continuePropagation(){a=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return a}};e(r),a&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}const BT=new Set(["shift","alt","control","meta","mod"]),HT=["Alt","Control","Meta","Shift"];function KT(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(_n()?"Meta":"Control"),t}function UT(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function s5(e){return HT.filter(t=>e.has(t))}function VT(e){let t=e.split("+").reduce((a,r)=>{let i=r.toLowerCase();return BT.has(i)?i==="shift"?a.shift=!0:i==="alt"?a.alt=!0:i==="control"?a.ctrl=!0:i==="meta"?a.meta=!0:i==="mod"&&(a.mod=!0):a.key=r,a},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function c5(e){return e.toLowerCase()}const _T={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function FT(e){let t=c5(e),a=_T[t];return a??t}function GT(e){let t=s5(KT(e)),a=FT(e.key);return t.length>0?`${t.join("+")}+${a}`:a}function qT(e){let t=s5(UT(e)),a=c5(e.key);return(t.length>0?`${t.join("+")}+`:"")+a}function YT(e){let t=new Map;for(let[a,r]of Object.entries(e)){let i=VT(a);t.set(GT(i),r)}return a=>{let r=qT(a),i=t.get(r),s=i==null?void 0:i(a);s===void 0&&i!==void 0?s={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof s=="boolean"&&(s={shouldContinuePropagation:!s,shouldPreventDefault:s}),s!=null&&s.shouldPreventDefault&&a.preventDefault(),(!i||s!=null&&s.shouldContinuePropagation)&&a.continuePropagation()}}function lu(e){let{shortcuts:t,allowRepeats:a=!1,allowComposing:r=!1}=e,i,s;if(t){let u=YT(t),f=Mc(h=>{var p,b;if(!Be(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!a||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}u(h)}),d=Mc(h=>{var p,b;if(!Be(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!a||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}h.continuePropagation()});i=e.onKeyDown?er(e.onKeyDown,f):f,s=e.onKeyUp?er(e.onKeyUp,d):d}else i=Mc(e.onKeyDown),s=Mc(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}let Ho=_.createContext(null);function XT(e){let t=y.useContext(Ho)||{};Y2(t,e);let{ref:a,...r}=t;return r}const Qz=_.forwardRef(function(t,a){let{children:r,...i}=t,s=xn(a),u={...i,ref:s};return _.createElement(Ho.Provider,{value:u},r)});function Yo(e,t){let{focusProps:a}=o5(e),{keyboardProps:r}=lu(e),i=Ee(a,r),s=XT(t),u=e.isDisabled?{}:s,f=y.useRef(e.autoFocus);y.useEffect(()=>{f.current&&t.current&&vl(t.current),f.current=!1},[t]);let d=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(d=void 0),{focusableProps:Ee({...i,tabIndex:d},u)}}let ii="default",h2="",Vc=new WeakMap;function WT(e){if(bl()&&Ma()){if(ii==="default"){const t=He(e);h2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ii="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Vc.set(e,e.style[t]),e.style[t]="none"}}function Vb(e){if(bl()&&Ma()){if(ii!=="disabled")return;ii="restoring",setTimeout(()=>{yy(()=>{if(ii==="restoring"){const t=He(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=h2||""),h2="",ii="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Vc.has(e)){let t=Vc.get(e),a="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[a]==="none"&&(e.style[a]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Vc.delete(e)}}const Ko=_.createContext({register:()=>{}});Ko.displayName="PressResponderContext";function ZT(e){let t=y.useContext(Ko);if(t){let{register:a,ref:r,...i}=t;e=Ee(i,e),a()}return Y2(t,e.ref),e}var mi;class Ac{constructor(t,a,r,i){Ig(this,mi);Qd(this,mi,!0);let s=(i==null?void 0:i.target)??r.currentTarget;const u=s==null?void 0:s.getBoundingClientRect();let f,d=0,h,p=null;r.clientX!=null&&r.clientY!=null&&(h=r.clientX,p=r.clientY),u&&(h!=null&&p!=null?(f=h-u.left,d=p-u.top):(f=u.width/2,d=u.height/2)),this.type=t,this.pointerType=a,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=f,this.y=d,this.key=r.key}continuePropagation(){Qd(this,mi,!1)}get shouldStopPropagation(){return jg(this,mi)}}mi=new WeakMap;const _b=Symbol("linkClicked"),Fb="react-aria-pressable-style",Gb="data-react-aria-pressable";function ar(e){let{onPress:t,onPressChange:a,onPressStart:r,onPressEnd:i,onPressUp:s,onClick:u,isDisabled:f,isPressed:d,preventFocusOnPress:h,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:b,ref:v,...S}=ZT(e),[x,E]=y.useState(!1),T=y.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:L,removeAllGlobalListeners:M}=Eu(),N=y.useCallback((j,W)=>{let z=T.current;if(f||z.didFirePressStart)return!1;let O=!0;if(z.isTriggeringEvent=!0,r){let oe=new Ac("pressstart",W,j);r(oe),O=oe.shouldStopPropagation}return a&&a(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,E(!0),O},[f,r,a]),A=y.useCallback((j,W,z=!0)=>{let O=T.current;if(!O.didFirePressStart)return!1;O.didFirePressStart=!1,O.isTriggeringEvent=!0;let oe=!0;if(i){let J=new Ac("pressend",W,j);i(J),oe=J.shouldStopPropagation}if(a&&a(!1),E(!1),t&&z&&!f){let J=new Ac("press",W,j);t(J),oe&&(oe=J.shouldStopPropagation)}return O.isTriggeringEvent=!1,oe},[f,i,a,t]),B=Vn(A),F=y.useCallback((j,W)=>{let z=T.current;if(f)return!1;if(s){z.isTriggeringEvent=!0;let O=new Ac("pressup",W,j);return s(O),z.isTriggeringEvent=!1,O.shouldStopPropagation}return!0},[f,s]),$=Vn(F),k=y.useCallback(j=>{let W=T.current;if(W.isPressed&&W.target){W.didFirePressStart&&W.pointerType!=null&&A(_l(W.target,j),W.pointerType,!1),W.isPressed=!1,W.isOverTarget=!1,W.activePointerId=null,W.pointerType=null,M(),b||Vb(W.target);for(let z of W.disposables)z();W.disposables=[]}},[b,M,A]),K=Vn(k);y.useEffect(()=>{f&&T.current.isPressed&&K({currentTarget:T.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[f]);let U=y.useCallback(j=>{p&&k(j)},[p,k]),q=y.useCallback(j=>{f||u==null||u(j)},[f,u]),ne=y.useCallback((j,W)=>{if(!f&&u){let z=new MouseEvent("click",j);t5(z,W),u(lh(z))}},[f,u]),ae=y.useMemo(()=>{let j=T.current,W={onKeyDown(O){var oe;if(M0(O.nativeEvent,O.currentTarget)&&Be(O.currentTarget,ve(O))){qb(ve(O),O.key)&&O.preventDefault();let J=!0;!j.isPressed&&!O.repeat&&(j.target=O.currentTarget,j.isPressed=!0,j.pointerType="keyboard",J=N(O,"keyboard"));let G=O.currentTarget,D=Q=>{M0(Q,G)&&!Q.repeat&&Be(G,ve(Q))&&j.target&&$(_l(j.target,Q),"keyboard")};L(He(O.currentTarget),"keyup",er(D,z),!0),J&&O.stopPropagation(),O.metaKey&&_n()&&((oe=j.metaKeyEvents)==null||oe.set(O.key,O.nativeEvent))}else O.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(O){if(!(O&&!Be(O.currentTarget,ve(O)))&&O&&O.button===0&&!j.isTriggeringEvent&&!Aa.isOpening){let oe=!0;if(f&&O.preventDefault(),!j.ignoreEmulatedMouseEvents&&!j.isPressed&&(j.pointerType==="virtual"||Sy(O.nativeEvent))){let J=N(O,"virtual"),G=$(O,"virtual"),D=B(O,"virtual");q(O),oe=J&&G&&D}else if(j.isPressed&&j.pointerType!=="keyboard"){let J=j.pointerType||O.nativeEvent.pointerType||"virtual",G=$(_l(O.currentTarget,O),J),D=B(_l(O.currentTarget,O),J,!0);oe=G&&D,j.isOverTarget=!1,q(O),K(O)}j.ignoreEmulatedMouseEvents=!1,oe&&O.stopPropagation()}}},z=O=>{var oe,J,G;if(j.isPressed&&j.target&&M0(O,j.target)){qb(ve(O),O.key)&&O.preventDefault();let D=ve(O),Q=Be(j.target,D);B(_l(j.target,O),"keyboard",Q),Q&&ne(O,j.target),M(),O.key!=="Enter"&&rh(j.target)&&Be(j.target,D)&&!O[_b]&&(O[_b]=!0,Aa(j.target,O,!1)),j.isPressed=!1,(oe=j.metaKeyEvents)==null||oe.delete(O.key)}else if(O.key==="Meta"&&((J=j.metaKeyEvents)!=null&&J.size)){let D=j.metaKeyEvents;j.metaKeyEvents=void 0;for(let Q of D.values())(G=j.target)==null||G.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){W.onPointerDown=J=>{if(J.button!==0||!Be(J.currentTarget,ve(J)))return;if(mC(J.nativeEvent)){j.pointerType="virtual";return}j.pointerType=J.pointerType;let G=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=J.pointerId,j.target=J.currentTarget,b||WT(j.target),G=N(J,j.pointerType);let D=ve(J);"releasePointerCapture"in D&&("hasPointerCapture"in D?D.hasPointerCapture(J.pointerId)&&D.releasePointerCapture(J.pointerId):D.releasePointerCapture(J.pointerId)),L(He(J.currentTarget),"pointerup",O,!1),L(He(J.currentTarget),"pointercancel",oe,!1)}G&&J.stopPropagation()},W.onMouseDown=J=>{if(Be(J.currentTarget,ve(J))&&J.button===0){if(h){let G=NT(J.target);G&&j.disposables.push(G)}J.stopPropagation()}},W.onPointerUp=J=>{!Be(J.currentTarget,ve(J))||j.pointerType==="virtual"||J.button===0&&!j.isPressed&&$(J,j.pointerType||J.pointerType)},W.onPointerEnter=J=>{J.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,N(_l(j.target,J),j.pointerType))},W.onPointerLeave=J=>{J.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,B(_l(j.target,J),j.pointerType,!1),U(J))};let O=J=>{if(J.pointerId===j.activePointerId&&j.isPressed&&J.button===0&&j.target){if(Be(j.target,ve(J))&&j.pointerType!=null){let G=!1,D=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(G?K(J):(nn(j.target),j.target.click()))},80);L(J.currentTarget,"click",()=>G=!0,!0),j.disposables.push(()=>clearTimeout(D))}else K(J);j.isOverTarget=!1}},oe=J=>{K(J)};W.onDragStart=J=>{Be(J.currentTarget,ve(J))&&K(J)}}return W},[L,f,h,M,b,U,N,q,ne]);return y.useEffect(()=>{if(!v)return;const j=He(v.current);if(!j||!j.head||j.getElementById(Fb))return;const W=j.createElement("style");W.id=Fb;let z=Ty(j);z&&(W.nonce=z),W.textContent=`
67
+ @layer {
68
+ [${Gb}] {
69
+ touch-action: pan-x pan-y pinch-zoom;
70
+ }
71
+ }
72
+ `.trim(),j.head.prepend(W)},[v]),y.useEffect(()=>{let j=T.current;return()=>{b||Vb(j.target??void 0);for(let W of j.disposables)W();j.disposables=[]}},[b]),{isPressed:d||x,pressProps:Ee(S,ae,{[Gb]:!0})}}function rh(e){return e.tagName==="A"&&e.hasAttribute("href")}function M0(e,t){const{key:a,code:r}=e,i=t,s=i.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||r==="Space")&&!(i instanceof It(i).HTMLInputElement&&!u5(i,a)||i instanceof It(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&rh(i))&&a!=="Enter")}function _l(e,t){let a=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:a,clientY:r,key:t.key}}function QT(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!rh(e)}function qb(e,t){return _n()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!u5(e,t):QT(e)}const JT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function u5(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":JT.has(e.type)}function eR(e,t){let{elementType:a="button",isDisabled:r,onPress:i,onPressStart:s,onPressEnd:u,onPressUp:f,onPressChange:d,preventFocusOnPress:h,allowFocusWhenDisabled:p,onClick:b,href:v,target:S,rel:x,type:E="button"}=e,T;a==="button"?T={type:E,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:T={role:"button",href:a==="a"&&!r?v:void 0,target:a==="a"?S:void 0,type:a==="input"?E:void 0,disabled:a==="input"?r:void 0,"aria-disabled":!r||a==="input"?void 0:r,rel:a==="a"?x:void 0};let{pressProps:L,isPressed:M}=ar({onPressStart:s,onPressEnd:u,onPressChange:d,onPress:i,onPressUp:f,onClick:b,isDisabled:r,preventFocusOnPress:h,ref:t}),{focusableProps:N}=Yo(e,t);p&&(N.tabIndex=r?-1:N.tabIndex);let A=Ee(N,L,mt(e,{labelable:!0}));return{isPressed:M,buttonProps:Ee(T,A,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Xo(e){let{isDisabled:t,onBlurWithin:a,onFocusWithin:r,onFocusWithinChange:i}=e,s=y.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:f}=Eu(),d=y.useCallback(b=>{Be(b.currentTarget,ve(b))&&s.current.isFocusWithin&&!Be(b.currentTarget,b.relatedTarget)&&(s.current.isFocusWithin=!1,f(),a&&a(b),i&&i(!1))},[a,i,s,f]),h=n5(d),p=y.useCallback(b=>{if(!Be(b.currentTarget,ve(b)))return;let v=ve(b);const S=He(v),x=et(S);if(!s.current.isFocusWithin&&x===v){r&&r(b),i&&i(!0),s.current.isFocusWithin=!0,h(b);let E=b.currentTarget;u(S,"focus",T=>{let L=ve(T);if(s.current.isFocusWithin&&!Be(E,L)){let M=new S.defaultView.FocusEvent("blur",{relatedTarget:L});t5(M,E);let N=lh(M);d(N)}},{capture:!0})}},[r,i,h,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:d}}}function Da(e={}){let{autoFocus:t=!1,isTextInput:a,within:r}=e,i=y.useRef({isFocused:!1,isFocusVisible:t||d2()}),[s,u]=y.useState(!1),[f,d]=y.useState(()=>i.current.isFocused&&i.current.isFocusVisible),h=y.useCallback(()=>d(i.current.isFocused&&i.current.isFocusVisible),[]),p=y.useCallback(S=>{i.current.isFocused=S,i.current.isFocusVisible=d2(),u(S),h()},[h]);IT(S=>{i.current.isFocusVisible=S,h()},[a,s],{enabled:s,isTextInput:a});let{focusProps:b}=o5({isDisabled:r,onFocusChange:p}),{focusWithinProps:v}=Xo({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:f,focusProps:r?v:b}}let m2=!1,Lc=0;function tR(){m2=!0,setTimeout(()=>{m2=!1},500)}function Yb(e){e.pointerType==="touch"&&tR()}function nR(){let e=He(null);if(!(typeof e>"u"))return Lc===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Yb),Lc++,()=>{Lc--,!(Lc>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Yb)}}function Sl(e){let{onHoverStart:t,onHoverChange:a,onHoverEnd:r,isDisabled:i}=e,[s,u]=y.useState(!1),f=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(nR,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=Eu(),{hoverProps:p,triggerHoverEnd:b}=y.useMemo(()=>{let v=(E,T)=>{if(f.pointerType=T,i||T==="touch"||f.isHovered||!Be(E.currentTarget,ve(E)))return;f.isHovered=!0;let L=E.currentTarget;f.target=L,d(He(ve(E)),"pointerover",M=>{f.isHovered&&f.target&&!Be(f.target,ve(M))&&S(M,M.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:L,pointerType:T}),a&&a(!0),u(!0)},S=(E,T)=>{let L=f.target;f.pointerType="",f.target=null,!(T==="touch"||!f.isHovered||!L)&&(f.isHovered=!1,h(),r&&r({type:"hoverend",target:L,pointerType:T}),a&&a(!1),u(!1))},x={};return typeof PointerEvent<"u"&&(x.onPointerEnter=E=>{m2&&E.pointerType==="mouse"||v(E,E.pointerType)},x.onPointerLeave=E=>{!i&&Be(E.currentTarget,ve(E))&&S(E,E.pointerType)}),{hoverProps:x,triggerHoverEnd:S}},[t,a,r,i,f,d,h]);return y.useEffect(()=>{i&&b({currentTarget:f.target},f.pointerType)},[i]),{hoverProps:p,isHovered:s}}const ih=y.createContext({}),f5=Zy(function(t,a){[t,a]=wn(t,a,ih);let r=t,{isPending:i}=r,{buttonProps:s,isPressed:u}=eR(t,a);s=lR(s,i);let{focusProps:f,isFocused:d,isFocusVisible:h}=Da(t),{hoverProps:p,isHovered:b}=Sl({...t,isDisabled:t.isDisabled||i}),v={isHovered:b,isPressed:(r.isPressed||u)&&!i,isFocused:d,isFocusVisible:h,isDisabled:t.isDisabled||!1,isPending:i??!1},S=Lt({...t,values:v,defaultClassName:"react-aria-Button"}),x=Fn(s.id),E=Fn(),T=s["aria-labelledby"];i&&(T?T=`${T} ${E}`:s["aria-label"]&&(T=`${x} ${E}`));let L=y.useRef(i);y.useEffect(()=>{let N={"aria-labelledby":T||x};(!L.current&&d&&i||L.current&&d&&!i)&&Ub(N,"assertive"),L.current=i},[i,d,T,x]);let M=mt(t,{global:!0});return delete M.onClick,_.createElement(ut.button,{...Ee(M,S,s,f,p),type:s.type==="submit"&&i?"button":s.type,id:x,ref:a,"aria-labelledby":T,slot:t.slot||void 0,"aria-disabled":i?"true":s["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":v.isPressed||void 0,"data-hovered":b||void 0,"data-focused":d||void 0,"data-pending":i||void 0,"data-focus-visible":h||void 0},_.createElement(LT.Provider,{value:{id:E}},S.children))}),aR=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function lR(e,t){if(t){for(const a in e)a.startsWith("on")&&!aR.test(a)&&(e[a]=void 0);e.href=void 0,e.target=void 0}return e}const rR=typeof document<"u"?_.useInsertionEffect??_.useLayoutEffect:()=>{};function Lu(e,t,a){let[r,i]=y.useState(e||t),s=y.useRef(r),u=y.useRef(e!==void 0),f=e!==void 0;y.useEffect(()=>{u.current,u.current=f},[f]);let d=f?e:r;rR(()=>{s.current=d});let[,h]=y.useReducer(()=>({}),{}),p=y.useCallback((b,...v)=>{let S=typeof b=="function"?b(s.current):b;Object.is(s.current,S)||(s.current=S,i(S),h(),a==null||a(S,...v))},[a]);return[d,p]}const d5=y.createContext({}),iR=y.forwardRef(function(t,a){[t,a]=wn(t,a,d5);let{children:r,level:i=3,className:s,...u}=t,f=ut[`h${i}`];return _.createElement(f,{...u,ref:a,className:s??"react-aria-Heading"},r)}),p2=e=>e?"true":void 0;function At(e,t){return yT(e,(a,r)=>{const i=typeof t=="function"?t(r)??"":t??"";return iT(i,a??"")??""})}const Je=(e,t,a)=>typeof e=="function"?e({...a??{},className:t}):t,oR=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",fill:"currentColor",fillRule:"evenodd"})}),sR=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 0 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06",fill:"currentColor",fillRule:"evenodd"})}),cR=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",fill:"currentColor",fillRule:"evenodd"})}),uR=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M5.47 2.97a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),fR=({height:e=9,width:t=9,...a})=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:e,role:"presentation",viewBox:"0 0 7 7",width:t,xmlns:"http://www.w3.org/2000/svg",...a,children:C.jsx("path",{d:"M1.20592 6.84333L0.379822 6.01723L4.52594 1.8672H1.37819L1.38601 0.731812H6.48742V5.83714H5.34421L5.35203 2.6933L1.20592 6.84333Z",fill:"currentColor"})}),dR=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),ru=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),h5=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M7.134 2.994L2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0a1 1 0 0 1 2 0",fill:"currentColor",fillRule:"evenodd"})}),m5=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0M8.75 5a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),p5=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858L6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",fill:"currentColor",fillRule:"evenodd"})}),Jz=e=>C.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:C.jsx("path",{clipRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",fill:"currentColor",fillRule:"evenodd"})}),oh=y.createContext({}),Xb=({children:e,className:t,variant:a="default",...r})=>C.jsx(oh,{value:{variant:a},children:C.jsx(Et.div,{className:gT({variant:a,className:t}),"data-slot":"surface",...r,children:e})}),g5=y.createContext({placement:"bottom"}),eP=y.forwardRef(function(t,a){[t,a]=wn(t,a,g5);let r=t.placement,i={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(i[r]="100%");let s=Lt({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});s.style&&Object.keys(s.style).forEach(f=>s.style[f]===void 0&&delete s.style[f]);let u=mt(t);return _.createElement(ut.div,{...u,...s,style:{...i,...s.style},ref:a,"data-placement":r})}),hR=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Wb(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let wo=new WeakMap,Jt=[];function b5(e,t){let a=It(e==null?void 0:e[0]),r=t instanceof a.Element?{root:t}:t,i=(r==null?void 0:r.root)??document.body,s=(r==null?void 0:r.shouldUseInert)&&hR,u=new Set(e),f=new Set,d=T=>s&&T instanceof a.HTMLElement?T.inert:T.getAttribute("aria-hidden")==="true",h=(T,L)=>{s&&T instanceof a.HTMLElement?T.inert=L:L?T.setAttribute("aria-hidden","true"):(T.removeAttribute("aria-hidden"),T instanceof a.HTMLElement&&(T.inert=!1))},p=new Set;if(na()){let T=i.getRootNode();for(let L of e){let M=L.getRootNode();for(;G2(M)&&M!==T;)p.add(M),M=M.host.getRootNode()}}let b=T=>{for(let A of T.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(A);let L=A=>{if(f.has(A)||u.has(A)||A.parentElement&&f.has(A.parentElement)&&A.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let B of u)if(Be(A,B))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},M=gy(He(T),T,NodeFilter.SHOW_ELEMENT,{acceptNode:L}),N=L(T);if(N===NodeFilter.FILTER_ACCEPT&&v(T),N!==NodeFilter.FILTER_REJECT){let A=M.nextNode();for(;A!=null;)v(A),A=M.nextNode()}},v=T=>{let L=wo.get(T)??0;d(T)&&L===0||(L===0&&h(T,!0),f.add(T),wo.set(T,L+1))};Jt.length&&Jt[Jt.length-1].disconnect(),b(i);let S=new MutationObserver(T=>{for(let L of T)if(L.type==="childList"){if(L.target.isConnected&&![...u,...f].some(M=>Be(M,L.target)))for(let M of L.addedNodes)(M instanceof HTMLElement||M instanceof SVGElement)&&Wb(M)?u.add(M):M instanceof Element&&b(M);if(na()){for(let M of p)if(!M.isConnected){S.disconnect();break}}}});S.observe(i,{childList:!0,subtree:!0});let x=new Set;if(na())for(let T of p){let L=new MutationObserver(M=>{for(let N of M)if(N.type==="childList"){if(N.target.isConnected&&![...u,...f].some(A=>Be(A,N.target)))for(let A of N.addedNodes)(A instanceof HTMLElement||A instanceof SVGElement)&&Wb(A)?u.add(A):A instanceof Element&&b(A);if(na()){for(let A of p)if(!A.isConnected){S.disconnect();break}}}});L.observe(T,{childList:!0,subtree:!0}),x.add(L)}let E={visibleNodes:u,hiddenNodes:f,observe(){S.observe(i,{childList:!0,subtree:!0})},disconnect(){S.disconnect()}};return Jt.push(E),()=>{if(S.disconnect(),na())for(let T of x)T.disconnect();for(let T of f){let L=wo.get(T);L!=null&&(L===1?(h(T,!1),wo.delete(T)):wo.set(T,L-1))}E===Jt[Jt.length-1]?(Jt.pop(),Jt.length&&Jt[Jt.length-1].observe()):Jt.splice(Jt.indexOf(E),1)}}function mR(e){let t=Jt[Jt.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}const Pn={top:"top",bottom:"top",left:"left",right:"left"},iu={top:"bottom",bottom:"top",left:"right",right:"left"},pR={top:"left",left:"top"},g2={top:"height",left:"width"},v5={width:"totalWidth",height:"totalHeight"},kc={};let gR=()=>typeof document<"u"?window.visualViewport:null;function Zb(e,t){let a=0,r=0,i=0,s=0,u=0,f=0,d={},h=((t==null?void 0:t.scale)??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let p=document.documentElement;i=p.clientWidth,s=p.clientHeight,a=(t==null?void 0:t.width)??i,r=(t==null?void 0:t.height)??s,d.top=p.scrollTop||e.scrollTop,d.left=p.scrollLeft||e.scrollLeft,t&&(u=t.offsetTop,f=t.offsetLeft)}else({width:a,height:r,top:u,left:f}=Uo(e,!1)),d.top=e.scrollTop,d.left=e.scrollLeft,i=a,s=r;return Ma()&&(e.tagName==="BODY"||e.tagName==="HTML")&&h&&(d.top=0,d.left=0,u=(t==null?void 0:t.pageTop)??0,f=(t==null?void 0:t.pageLeft)??0),{width:a,height:r,totalWidth:i,totalHeight:s,scroll:d,top:u,left:f}}function bR(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Qb(e,t,a,r,i,s,u){let f=i.scroll[e]??0,d=r[g2[e]],h=u[e]+r.scroll[Pn[e]]+s,p=u[e]+r.scroll[Pn[e]]+d-s,b=t-f+r.scroll[Pn[e]]+u[e]-r[Pn[e]],v=t-f+a+r.scroll[Pn[e]]+u[e]-r[Pn[e]];return b<h?h-b:v>p?Math.max(p-v,h-b):0}function vR(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Jb(e){if(kc[e])return kc[e];let[t,a]=e.split(" "),r=Pn[t]||"right",i=pR[r];Pn[a]||(a="center");let s=g2[r],u=g2[i];return kc[e]={placement:t,crossPlacement:a,axis:r,crossAxis:i,size:s,crossSize:u},kc[e]}function A0(e,t,a,r,i,s,u,f,d,h,p){let{placement:b,crossPlacement:v,axis:S,crossAxis:x,size:E,crossSize:T}=r,L={};L[x]=e[x]??0,v==="center"?L[x]+=((e[T]??0)-(a[T]??0))/2:v!==x&&(L[x]+=(e[T]??0)-(a[T]??0)),L[x]+=s;const M=e[x]-a[T]+d+h,N=e[x]+e[T]-d-h;if(L[x]=a2(L[x],M,N),b===S){let A=f?p[E]:p[v5[E]];L[iu[S]]=Math.floor(A-e[S]+i)}else L[S]=Math.floor(e[S]+e[E]+i);return L}function yR(e,t,a,r,i,s,u,f,d,h,p){let b=(e.top!=null?e.top:d[v5.height]-(e.bottom??0)-u)-(d.scroll.top??0),v=h?a.top:0,S={top:Math.max(t.top+v,((p==null?void 0:p.offsetTop)??t.top)+v),bottom:Math.min(t.top+t.height+v,((p==null?void 0:p.offsetTop)??0)+((p==null?void 0:p.height)??0))};return f!=="top"?Math.max(0,S.bottom-b-((i.top??0)+(i.bottom??0)+s)):Math.max(0,b+u-S.top-((i.top??0)+(i.bottom??0)+s))}function e3(e,t,a,r,i,s,u,f){let{placement:d,axis:h,size:p}=s;return d===h?Math.max(0,a[h]-(u.scroll[h]??0)-(e[h]+(f?t[h]:0))-(r[h]??0)-r[iu[h]]-i):Math.max(0,e[p]+e[h]+(f?t[h]:0)-a[h]-a[p]+(u.scroll[h]??0)-(r[h]??0)-r[iu[h]]-i)}function xR(e,t,a,r,i,s,u,f,d,h,p,b,v,S,x,E,T,L){let M=Jb(e),{size:N,crossAxis:A,crossSize:B,placement:F,crossPlacement:$}=M,k=A0(t,f,a,M,p,b,h,v,x,E,d),K=p,U=e3(f,h,t,i,s+p,M,d,T);if(u&&a[N]>U){let H=Jb(`${iu[F]} ${$}`),ie=A0(t,f,a,H,p,b,h,v,x,E,d);e3(f,h,t,i,s+p,H,d,T)>U&&(M=H,k=ie,K=p)}let q="bottom";M.axis==="top"?M.placement==="top"?q="top":M.placement==="bottom"&&(q="bottom"):M.crossAxis==="top"&&(M.crossPlacement==="top"?q="bottom":M.crossPlacement==="bottom"&&(q="top"));let ne=Qb(A,k[A],a[B],f,d,s,h);k[A]+=ne;let ae=yR(k,f,h,v,i,s,a.height,q,d,T,L);S&&S<ae&&(ae=S),a.height=Math.min(a.height,ae),k=A0(t,f,a,M,K,b,h,v,x,E,d),ne=Qb(A,k[A],a[B],f,d,s,h),k[A]+=ne;let j={},W=t[A]-k[A]-i[Pn[A]],z=W+.5*t[B];const O=x/2+E,oe=Pn[A]==="left"?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),J=a[B]-oe-x/2-E,G=t[A]+x/2-(k[A]+i[Pn[A]]),D=t[A]+t[B]-x/2-(k[A]+i[Pn[A]]),Q=a2(z,G,D);j[A]=a2(Q,O,J),{placement:F,crossPlacement:$}=M,x?W=j[A]:$==="right"?W+=t[B]:$==="center"&&(W+=t[B]/2);let se=F==="left"||F==="top"?a[N]:0,ce={x:F==="top"||F==="bottom"?W:se,y:F==="left"||F==="right"?W:se};return{position:k,maxHeight:ae,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:F,triggerAnchorPoint:ce}}function SR(e){let{placement:t,targetNode:a,overlayNode:r,scrollNode:i,padding:s,shouldFlip:u,boundaryElement:f,offset:d,crossOffset:h,maxHeight:p,arrowSize:b=0,arrowBoundaryOffset:v=0,targetRect:S}=e,x=gR(),E=r instanceof HTMLElement?wR(r):document.documentElement,T=E===document.documentElement;const L=window.getComputedStyle(E).position;let M=!!L&&L!=="static",N=T?Uo(a,!1,S):t3(a,E,!1,S);if(!T){let{marginTop:q,marginLeft:ne}=window.getComputedStyle(a);N.top+=parseInt(q,10)||0,N.left+=parseInt(ne,10)||0}let A=Uo(r,!0),B=vR(r);A.width+=(B.left??0)+(B.right??0),A.height+=(B.top??0)+(B.bottom??0);let F=bR(i),$=Zb(f,x),k=Zb(E,x),K;if((f.tagName==="BODY"||f.tagName==="HTML")&&!T){let q=ku(E,!1);K={top:-(q.top-$.top),left:-(q.left-$.left),width:0,height:0}}else(f.tagName==="BODY"||f.tagName==="HTML")&&T?K={top:0,left:0,width:0,height:0}:K=t3(f,E,!1);let U=Be(f,E);return xR(t,N,A,F,B,s,u,$,k,K,d,h,M,p,b,v,U,x)}function ku(e,t){let{top:a,left:r,width:i,height:s}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,s=e.offsetHeight),{top:a,left:r,width:i,height:s}}function Uo(e,t,a){let{top:r,left:i,width:s,height:u}=a||ku(e,t),{scrollTop:f,scrollLeft:d,clientTop:h,clientLeft:p}=document.documentElement;return{top:r+f-h,left:i+d-p,width:s,height:u}}function t3(e,t,a,r){let i=window.getComputedStyle(e),s;if(i.position==="fixed")s=r||ku(e,a);else{s=Uo(e,a,r);let u=Uo(t,a),f=window.getComputedStyle(t);u.top+=(parseInt(f.borderTopWidth,10)||0)-t.scrollTop,u.left+=(parseInt(f.borderLeftWidth,10)||0)-t.scrollLeft,s.top-=u.top,s.left-=u.left}return s.top-=parseInt(i.marginTop,10)||0,s.left-=parseInt(i.marginLeft,10)||0,s}function wR(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!n3(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!n3(t);)t=t.parentElement;return t||document.documentElement}function n3(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const y5=new WeakMap;function CR(e){let{triggerRef:t,isOpen:a,onClose:r}=e;y.useEffect(()=>{if(!a||r===null)return;let i=s=>{let u=ve(s);if(!t.current||u instanceof Node&&!Be(u,t.current)||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement)return;let f=r||y5.get(t.current);f&&f()};return Qw(eC(t.current),"scroll",i,!0)},[a,r,t])}let ht=typeof document<"u"?window.visualViewport:null;function ER(e){let{direction:t}=vi(),{arrowSize:a,targetRef:r,overlayRef:i,arrowRef:s,scrollRef:u=i,placement:f="bottom",containerPadding:d=12,shouldFlip:h=!0,boundaryElement:p=typeof document<"u"?document.body:null,offset:b=0,crossOffset:v=0,shouldUpdatePosition:S=!0,isOpen:x=!0,onClose:E,maxHeight:T,arrowBoundaryOffset:L=0,getTargetRect:M}=e,[N,A]=y.useState(null),B=[S,f,i.current,r.current,s==null?void 0:s.current,u.current,d,h,p,b,v,x,t,T,L,a],F=y.useRef(ht==null?void 0:ht.scale);y.useEffect(()=>{x&&(F.current=ht==null?void 0:ht.scale)},[x]);let $=y.useCallback(()=>{var j,W;if(S===!1||!x||!i.current||!r.current||!p||(ht==null?void 0:ht.scale)!==F.current)return;let U=null;if(u.current&&jo(u.current)){let z=(j=et())==null?void 0:j.getBoundingClientRect(),O=u.current.getBoundingClientRect();U={type:"top",offset:((z==null?void 0:z.top)??0)-O.top},U.offset>O.height/2&&(U.type="bottom",U.offset=((z==null?void 0:z.bottom)??0)-O.bottom)}let q=i.current;!T&&i.current&&(q.style.top="0px",q.style.bottom="",q.style.maxHeight=(((W=window.visualViewport)==null?void 0:W.height)??window.innerHeight)+"px");let ne=SR({placement:RR(f,t),overlayNode:i.current,targetNode:r.current,scrollNode:u.current||i.current,padding:d,shouldFlip:h,boundaryElement:p,offset:b,crossOffset:v,maxHeight:T,arrowSize:a??(s!=null&&s.current?ku(s.current,!0).width:0),arrowBoundaryOffset:L,targetRect:M==null?void 0:M(r.current)});if(!ne.position)return;q.style.top="",q.style.bottom="",q.style.left="",q.style.right="",Object.keys(ne.position).forEach(z=>q.style[z]=ne.position[z]+"px"),q.style.maxHeight=ne.maxHeight!=null?ne.maxHeight+"px":"";let ae=et();if(U&&ae&&u.current){let z=ae.getBoundingClientRect(),O=u.current.getBoundingClientRect(),oe=z[U.type]-O[U.type];u.current.scrollTop+=oe-U.offset}A(ne)},B);De($,B),TR($),n2({ref:i,onResize:$}),n2({ref:r,onResize:$});let k=y.useRef(!1);De(()=>{let U,q=()=>{k.current=!0,clearTimeout(U),U=setTimeout(()=>{k.current=!1},500),$()},ne=()=>{k.current&&q()};return ht==null||ht.addEventListener("resize",q),ht==null||ht.addEventListener("scroll",ne),()=>{ht==null||ht.removeEventListener("resize",q),ht==null||ht.removeEventListener("scroll",ne)}},[$]);let K=y.useCallback(()=>{k.current||E==null||E()},[E,k]);return CR({triggerRef:r,isOpen:x,onClose:E&&K}),{overlayProps:{style:{position:N?"absolute":"fixed",top:N?void 0:0,left:N?void 0:0,zIndex:1e5,...N==null?void 0:N.position,maxHeight:(N==null?void 0:N.maxHeight)??"100vh"}},placement:(N==null?void 0:N.placement)??null,triggerAnchorPoint:(N==null?void 0:N.triggerAnchorPoint)??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:N==null?void 0:N.arrowOffsetLeft,top:N==null?void 0:N.arrowOffsetTop}},updatePosition:$}}function TR(e){De(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function RR(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const a3=_.createContext(null),b2="react-aria-focus-scope-restore";let tt=null;function MR(e){let{children:t,contain:a,restoreFocus:r,autoFocus:i}=e,s=y.useRef(null),u=y.useRef(null),f=y.useRef([]),{parentNode:d}=y.useContext(a3)||{},h=y.useMemo(()=>new y2({scopeRef:f}),[f]);De(()=>{let v=d||xt.root;if(xt.getTreeNode(v.scopeRef)&&tt&&!ou(tt,v.scopeRef)){let S=xt.getTreeNode(tt);S&&(v=S)}v.addChild(h),xt.addNode(h)},[h,d]),De(()=>{let v=xt.getTreeNode(f);v&&(v.contain=!!a)},[a]),De(()=>{var E;let v=(E=s.current)==null?void 0:E.nextSibling,S=[],x=T=>T.stopPropagation();for(;v&&v!==u.current;)S.push(v),v.addEventListener(b2,x),v=v.nextSibling;return f.current=S,()=>{for(let T of S)T.removeEventListener(b2,x)}},[t]),zR(f,r,a),NR(f,a),PR(f,r,a),$R(f,i),y.useEffect(()=>{const v=et(He(f.current?f.current[0]:void 0));let S=null;if(On(v,f.current)){for(let x of xt.traverse())x.scopeRef&&On(v,x.scopeRef.current)&&(S=x);S===xt.getTreeNode(f)&&(tt=S.scopeRef)}},[f]),De(()=>()=>{var S,x;let v=((x=(S=xt.getTreeNode(f))==null?void 0:S.parent)==null?void 0:x.scopeRef)??null;(f===tt||ou(f,tt))&&(!v||xt.getTreeNode(v))&&(tt=v),xt.removeTreeNode(f)},[f]);let p=y.useMemo(()=>AR(f),[]),b=y.useMemo(()=>({focusManager:p,parentNode:h}),[h,p]);return _.createElement(a3.Provider,{value:b},_.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,_.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function AR(e){return{focusNext(t={}){let a=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(a[0]??void 0)),d=a[0].previousElementSibling,h=Wl(a),p=aa(h,{tabbable:i,accept:u},a);p.currentNode=On(f,a)?f:d;let b=p.nextNode();return!b&&s&&(p.currentNode=d,b=p.nextNode()),b&&Un(b,!0),b},focusPrevious(t={}){let a=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(a[0]??void 0)),d=a[a.length-1].nextElementSibling,h=Wl(a),p=aa(h,{tabbable:i,accept:u},a);p.currentNode=On(f,a)?f:d;let b=p.previousNode();return!b&&s&&(p.currentNode=d,b=p.previousNode()),b&&Un(b,!0),b},focusFirst(t={}){let a=e.current,{tabbable:r,accept:i}=t,s=Wl(a),u=aa(s,{tabbable:r,accept:i},a);u.currentNode=a[0].previousElementSibling;let f=u.nextNode();return f&&Un(f,!0),f},focusLast(t={}){let a=e.current,{tabbable:r,accept:i}=t,s=Wl(a),u=aa(s,{tabbable:r,accept:i},a);u.currentNode=a[a.length-1].nextElementSibling;let f=u.previousNode();return f&&Un(f,!0),f}}}function Wl(e){return e[0].parentElement}function Ao(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function LR(e){if(!e.form)return Array.from(He(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);const t=e.form.elements.namedItem(e.name);let a=It(e);return t instanceof a.RadioNodeList?Array.from(t).filter(r=>r instanceof a.HTMLInputElement):t instanceof a.HTMLInputElement?[t]:[]}function kR(e){if(e.checked)return!0;const t=LR(e);return t.length>0&&!t.some(a=>a.checked)}function NR(e,t){let a=y.useRef(void 0),r=y.useRef(void 0);De(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const s=He(i?i[0]:void 0);let u=h=>{if(h.key!=="Tab"||h.altKey||h.ctrlKey||h.metaKey||!Ao(e)||h.isComposing)return;let p=et(s),b=e.current;if(!b||!On(p,b))return;let v=Wl(b),S=aa(v,{tabbable:!0},b);if(!p)return;S.currentNode=p;let x=h.shiftKey?S.previousNode():S.nextNode();x||(S.currentNode=h.shiftKey?b[b.length-1].nextElementSibling:b[0].previousElementSibling,x=h.shiftKey?S.previousNode():S.nextNode()),h.preventDefault(),x&&(Un(x,!0),x instanceof It(x).HTMLInputElement&&x.select())},f=h=>{(!tt||ou(tt,e))&&On(ve(h),e.current)?(tt=e,a.current=ve(h)):Ao(e)&&!dl(ve(h),e)?a.current?Un(a.current):tt&&tt.current&&v2(tt.current):Ao(e)&&(a.current=ve(h))},d=h=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let p=pl(),b=(p==="virtual"||p===null)&&Zc()&&fy(),v=et(s);if(!b&&v&&Ao(e)&&!dl(v,e)){tt=e;let S=ve(h);S&&S.isConnected?(a.current=S,Un(a.current)):tt.current&&v2(tt.current)}})};return s.addEventListener("keydown",u,!1),s.addEventListener("focusin",f,!1),i==null||i.forEach(h=>h.addEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.addEventListener("focusout",d,!1)),()=>{s.removeEventListener("keydown",u,!1),s.removeEventListener("focusin",f,!1),i==null||i.forEach(h=>h.removeEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.removeEventListener("focusout",d,!1))}},[e,t]),De(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function x5(e){return dl(e)}function On(e,t){return!e||!t?!1:t.some(a=>Be(a,e))}function dl(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:a}of xt.traverse(xt.getTreeNode(t)))if(a&&On(e,a.current))return!0;return!1}function DR(e){return dl(e,tt)}function ou(e,t){var r;let a=(r=xt.getTreeNode(t))==null?void 0:r.parent;for(;a;){if(a.scopeRef===e)return!0;a=a.parent}return!1}function Un(e,t=!1){if(e!=null&&!t)try{vl(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function S5(e,t=!0){let a=e[0].previousElementSibling,r=Wl(e),i=aa(r,{tabbable:t},e);i.currentNode=a;let s=i.nextNode();return t&&!s&&(r=Wl(e),i=aa(r,{tabbable:!1},e),i.currentNode=a,s=i.nextNode()),s}function v2(e,t=!0){Un(S5(e,t))}function $R(e,t){const a=_.useRef(t);y.useEffect(()=>{if(a.current){tt=e;const r=He(e.current?e.current[0]:void 0);!On(et(r),tt.current)&&e.current&&v2(e.current)}a.current=!1},[e])}function zR(e,t,a){De(()=>{if(t||a)return;let r=e.current;const i=He(r?r[0]:void 0);let s=u=>{let f=ve(u);On(f,e.current)?tt=e:x5(f)||(tt=null)};return i.addEventListener("focusin",s,!1),r==null||r.forEach(u=>u.addEventListener("focusin",s,!1)),()=>{i.removeEventListener("focusin",s,!1),r==null||r.forEach(u=>u.removeEventListener("focusin",s,!1))}},[e,t,a])}function l3(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function PR(e,t,a){const r=y.useRef(typeof document<"u"?et(He(e.current?e.current[0]:void 0)):null);De(()=>{let i=e.current;const s=He(i?i[0]:void 0);if(!t||a)return;let u=()=>{(!tt||ou(tt,e))&&On(et(s),e.current)&&(tt=e)};return s.addEventListener("focusin",u,!1),i==null||i.forEach(f=>f.addEventListener("focusin",u,!1)),()=>{s.removeEventListener("focusin",u,!1),i==null||i.forEach(f=>f.removeEventListener("focusin",u,!1))}},[e,a]),De(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!Ao(e)||u.isComposing)return;let f=i.activeElement;if(!dl(f,e)||!l3(e))return;let d=xt.getTreeNode(e);if(!d)return;let h=d.nodeToRestore,p=aa(i.body,{tabbable:!0});p.currentNode=f;let b=u.shiftKey?p.previousNode():p.nextNode();if((!h||!h.isConnected||h===i.body)&&(h=void 0,d.nodeToRestore=void 0),(!b||!dl(b,e))&&h){p.currentNode=h;do b=u.shiftKey?p.previousNode():p.nextNode();while(dl(b,e));u.preventDefault(),u.stopPropagation(),b?Un(b,!0):x5(h)?Un(h,!0):f.blur()}};return a||i.addEventListener("keydown",s,!0),()=>{a||i.removeEventListener("keydown",s,!0)}},[e,t,a]),De(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=xt.getTreeNode(e);if(s)return s.nodeToRestore=r.current??void 0,()=>{let u=xt.getTreeNode(e);if(!u)return;let f=u.nodeToRestore,d=et(i);if(t&&f&&(d&&dl(d,e)||d===i.body&&l3(e))){let h=xt.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let p=h.getTreeNode(e);for(;p;){if(p.nodeToRestore&&p.nodeToRestore.isConnected){r3(p.nodeToRestore);return}p=p.parent}for(p=h.getTreeNode(e);p;){if(p.scopeRef&&p.scopeRef.current&&xt.getTreeNode(p.scopeRef)){let b=S5(p.scopeRef.current,!0);r3(b);return}p=p.parent}}})}}},[e,t])}function r3(e){e.dispatchEvent(new CustomEvent(b2,{bubbles:!0,cancelable:!0}))&&Un(e)}function aa(e,t,a){let r=t!=null&&t.tabbable?Z2:Cy,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,s=He(i),u=gy(s,e||s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return Be(t==null?void 0:t.from,f)||t!=null&&t.tabbable&&f.tagName==="INPUT"&&f.getAttribute("type")==="radio"&&(!kR(f)||u.currentNode.tagName==="INPUT"&&u.currentNode.type==="radio"&&u.currentNode.name===f.name)?NodeFilter.FILTER_REJECT:r(f)&&(!a||On(f,a))&&(!(t!=null&&t.accept)||t.accept(f))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(u.currentNode=t.from),u}class sh{constructor(){this.fastMap=new Map,this.root=new y2({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,a,r){let i=this.fastMap.get(a??null);if(!i)return;let s=new y2({scopeRef:t});i.addChild(s),s.parent=i,this.fastMap.set(t,s),r&&(s.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let a=this.fastMap.get(t);if(!a)return;let r=a.parent;for(let s of this.traverse())s!==a&&a.nodeToRestore&&s.nodeToRestore&&a.scopeRef&&a.scopeRef.current&&On(s.nodeToRestore,a.scopeRef.current)&&(s.nodeToRestore=a.nodeToRestore);let i=a.children;r&&(r.removeChild(a),i.size>0&&i.forEach(s=>r&&r.addChild(s))),this.fastMap.delete(a.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let a of t.children)yield*this.traverse(a)}clone(){var a;let t=new sh;for(let r of this.traverse())t.addTreeNode(r.scopeRef,((a=r.parent)==null?void 0:a.scopeRef)??null,r.nodeToRestore);return t}}class y2{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}}let xt=new sh;function OR(e){let{ref:t,onInteractOutside:a,isDisabled:r,onInteractOutsideStart:i}=e,s=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Vn(d=>{a&&i3(d,t)&&(i&&i(d),s.current.isPointerDown=!0)}),f=Vn(d=>{a&&a(d)});y.useEffect(()=>{let d=s.current;if(r)return;const h=t.current,p=He(h);if(typeof PointerEvent<"u"){let b=v=>{d.isPointerDown&&i3(v,t)&&f(v),d.isPointerDown=!1};return p.addEventListener("pointerdown",u,!0),p.addEventListener("click",b,!0),()=>{p.removeEventListener("pointerdown",u,!0),p.removeEventListener("click",b,!0)}}},[t,r])}function i3(e,t){if(e.button>0)return!1;let a=ve(e);if(a){const r=a.ownerDocument;if(!r||!Be(r.documentElement,a)||a.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const Jn=[];function w5(e,t){let{onClose:a,shouldCloseOnBlur:r,isOpen:i,isDismissable:s=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:f}=e,d=y.useRef(void 0);y.useEffect(()=>{if(i&&!Jn.includes(t))return Jn.push(t),()=>{let x=Jn.indexOf(t);x>=0&&Jn.splice(x,1)}},[i,t]);let h=()=>{Jn[Jn.length-1]===t&&a&&a()},p=x=>{const E=Jn[Jn.length-1];d.current=E,(!f||f(ve(x)))&&E===t&&x.stopPropagation()},b=x=>{(!f||f(ve(x)))&&(Jn[Jn.length-1]===t&&x.stopPropagation(),d.current===t&&h()),d.current=void 0},{keyboardProps:v}=lu({shortcuts:{Escape:()=>{if(!u){h();return}return!1}}});OR({ref:t,onInteractOutside:s&&i?b:void 0,onInteractOutsideStart:p});let{focusWithinProps:S}=Xo({isDisabled:!r,onBlurWithin:x=>{!x.relatedTarget||DR(x.relatedTarget)||(!f||f(x.relatedTarget))&&(a==null||a())}});return{overlayProps:{...v,...S},underlayProps:{}}}const Do=typeof document<"u"&&window.visualViewport;let Nc=0,L0;function C5(e={}){let{isDisabled:t}=e;De(()=>{if(!t)return Nc++,Nc===1&&(bl()&&Ma()?L0=IR():L0=jR()),()=>{Nc--,Nc===0&&L0()}},[t])}function jR(){let e=window.innerWidth-document.documentElement.clientWidth;return er(e>0&&("scrollbarGutter"in document.documentElement.style?_c(document.documentElement,"scrollbarGutter","stable"):_c(document.documentElement,"paddingRight",`${e}px`)),_c(document.documentElement,"overflow","hidden"))}function IR(){let e=_c(document.documentElement,"overflow","hidden"),t,a=!1,r=p=>{let b=ve(p);t=Io(b)?b:xy(b,!0),a=!1;let v=b.ownerDocument.defaultView.getSelection();v&&!v.isCollapsed&&v.containsNode(b,!0)&&(a=!0),p.composedPath().some(S=>S instanceof HTMLInputElement&&S.type==="range")&&(a=!0),"selectionStart"in b&&"selectionEnd"in b&&b.selectionStart<b.selectionEnd&&b.ownerDocument.activeElement===b&&(a=!0)},i=document.createElement("style"),s=Ty();s&&(i.nonce=s),i.textContent=`
73
+ @layer {
74
+ * {
75
+ overscroll-behavior: contain;
76
+ }
77
+ }`.trim(),document.head.prepend(i);let u=p=>{if(!(p.touches.length===2||a)){if(!t||t===document.documentElement||t===document.body){p.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&p.preventDefault()}},f=p=>{var S;let b=ve(p),v=p.relatedTarget;if(v&&Lo(v))v.focus({preventScroll:!0}),o3(v,Lo(b));else if(!v){let x=(S=b.parentElement)==null?void 0:S.closest("[tabindex]");x==null||x.focus({preventScroll:!0})}},d=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(p){let b=et(),v=b!=null&&Lo(b);d.call(this,{...p,preventScroll:!0}),(!p||!p.preventScroll)&&o3(this,v)};let h=er(k0(document,"touchstart",r,{passive:!1,capture:!0}),k0(document,"touchmove",u,{passive:!1,capture:!0}),k0(document,"blur",f,!0));return()=>{e(),h(),i.remove(),HTMLElement.prototype.focus=d}}function _c(e,t,a){let r=e.style[t];return e.style[t]=a,()=>{e.style[t]=r}}function k0(e,t,a,r){return e.addEventListener(t,a,r),()=>{e.removeEventListener(t,a,r)}}function o3(e,t){t||!Do?s3(e):Do.addEventListener("resize",()=>s3(e),{once:!0})}function s3(e){let t=document.scrollingElement||document.documentElement,a=e;for(;a&&a!==t;){let r=xy(a);if(r!==document.documentElement&&r!==document.body&&r!==a){let i=r.getBoundingClientRect(),s=a.getBoundingClientRect();if(s.top<i.top||s.bottom>i.top+a.clientHeight){let u=i.bottom;Do&&(u=Math.min(u,Do.offsetTop+Do.height));let f=s.top-i.top-((u-i.top)/2-s.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+f)),behavior:"smooth"})}}a=r.parentElement}}function BR(e,t){let{triggerRef:a,popoverRef:r,groupRef:i,isNonModal:s,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f,...d}=e,h=d.trigger==="SubmenuTrigger",{overlayProps:p,underlayProps:b}=w5({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!s||h,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f},i??r),{overlayProps:v,arrowProps:S,placement:x,triggerAnchorPoint:E}=ER({...d,targetRef:a,overlayRef:r,isOpen:t.isOpen,onClose:s&&!h?t.close:null,getTargetRect:d.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});C5({isDisabled:s||!t.isOpen}),y.useEffect(()=>{if(t.isOpen&&r.current)return s?mR((i==null?void 0:i.current)??r.current):b5([(i==null?void 0:i.current)??r.current],{shouldUseInert:!0})},[s,t.isOpen,r,i]);let{focusWithinProps:T}=Xo(e);return{popoverProps:Ee(p,v,T),arrowProps:S,underlayProps:b,placement:x,triggerAnchorPoint:E}}var E5={};E5={dismiss:"تجاهل"};var T5={};T5={dismiss:"Отхвърляне"};var R5={};R5={dismiss:"Odstranit"};var M5={};M5={dismiss:"Luk"};var A5={};A5={dismiss:"Schließen"};var L5={};L5={dismiss:"Απόρριψη"};var k5={};k5={dismiss:"Dismiss"};var N5={};N5={dismiss:"Descartar"};var D5={};D5={dismiss:"Lõpeta"};var $5={};$5={dismiss:"Hylkää"};var z5={};z5={dismiss:"Rejeter"};var P5={};P5={dismiss:"התעלם"};var O5={};O5={dismiss:"Odbaci"};var j5={};j5={dismiss:"Elutasítás"};var I5={};I5={dismiss:"Ignora"};var B5={};B5={dismiss:"閉じる"};var H5={};H5={dismiss:"무시"};var K5={};K5={dismiss:"Atmesti"};var U5={};U5={dismiss:"Nerādīt"};var V5={};V5={dismiss:"Lukk"};var _5={};_5={dismiss:"Negeren"};var F5={};F5={dismiss:"Zignoruj"};var G5={};G5={dismiss:"Descartar"};var q5={};q5={dismiss:"Dispensar"};var Y5={};Y5={dismiss:"Revocare"};var X5={};X5={dismiss:"Пропустить"};var W5={};W5={dismiss:"Zrušiť"};var Z5={};Z5={dismiss:"Opusti"};var Q5={};Q5={dismiss:"Odbaci"};var J5={};J5={dismiss:"Avvisa"};var e4={};e4={dismiss:"Kapat"};var t4={};t4={dismiss:"Скасувати"};var n4={};n4={dismiss:"取消"};var a4={};a4={dismiss:"關閉"};var l4={};l4={"ar-AE":E5,"bg-BG":T5,"cs-CZ":R5,"da-DK":M5,"de-DE":A5,"el-GR":L5,"en-US":k5,"es-ES":N5,"et-EE":D5,"fi-FI":$5,"fr-FR":z5,"he-IL":P5,"hr-HR":O5,"hu-HU":j5,"it-IT":I5,"ja-JP":B5,"ko-KR":H5,"lt-LT":K5,"lv-LV":U5,"nb-NO":V5,"nl-NL":_5,"pl-PL":F5,"pt-BR":G5,"pt-PT":q5,"ro-RO":Y5,"ru-RU":X5,"sk-SK":W5,"sl-SI":Z5,"sr-SP":Q5,"sv-SE":J5,"tr-TR":e4,"uk-UA":t4,"zh-CN":n4,"zh-TW":a4};const HR=Symbol.for("react-aria.i18n.locale"),KR=Symbol.for("react-aria.i18n.strings");let Qr;class Nu{constructor(t,a="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=a}getStringForLocale(t,a){let i=this.getStringsForLocale(a)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${a} locale`);return i}getStringsForLocale(t){let a=this.strings[t];return a||(a=UR(t,this.strings,this.defaultLocale),this.strings[t]=a),a}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let a=window[HR];if(Qr===void 0){let i=window[KR];if(!i)return null;Qr={};for(let s in i)Qr[s]=new Nu({[a]:i[s]},a)}let r=Qr==null?void 0:Qr[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}function UR(e,t,a="en-US"){if(t[e])return t[e];let r=VR(e),i=_R(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let s in t)if(s.startsWith(r+"-"))return t[s];return t[a]}function VR(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function _R(e){if(Intl.Locale)return new Intl.Locale(e).script}const c3=new Map,u3=new Map;class FR{constructor(t,a){this.locale=t,this.strings=a}format(t,a){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(a,this):r}plural(t,a,r="cardinal"){let i=a["="+t];if(i)return typeof i=="function"?i():i;let s=this.locale+":"+r,u=c3.get(s);u||(u=new Intl.PluralRules(this.locale,{type:r}),c3.set(s,u));let f=u.select(t);return i=a[f]||a.other,typeof i=="function"?i():i}number(t){let a=u3.get(this.locale);return a||(a=new Intl.NumberFormat(this.locale),u3.set(this.locale,a)),a.format(t)}select(t,a){let r=t[a]||t.other;return typeof r=="function"?r():r}}const f3=new WeakMap;function GR(e){let t=f3.get(e);return t||(t=new Nu(e),f3.set(e,t)),t}function qR(e,t){return t&&Nu.getGlobalDictionaryForPackage(t)||GR(e)}function ch(e,t){let{locale:a}=vi(),r=qR(e,t);return y.useMemo(()=>new FR(a,r),[a,r])}const d3={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function YR(e={}){let{style:t,isFocusable:a}=e,[r,i]=y.useState(!1),{focusWithinProps:s}=Xo({isDisabled:!a,onFocusWithinChange:f=>i(f)}),u=y.useMemo(()=>r?t:t?{...d3,...t}:d3,[r]);return{visuallyHiddenProps:{...s,style:u}}}function r4(e){let{children:t,elementType:a="div",isFocusable:r,style:i,...s}=e,{visuallyHiddenProps:u}=YR(e);return _.createElement(a,Ee(s,u),t)}function XR(e){return e&&e.__esModule?e.default:e}function x2(e){let{onDismiss:t,...a}=e,r=ch(XR(l4),"@react-aria/overlays"),i=q2(a,r.format("dismiss")),s=()=>{t&&t()};return _.createElement(r4,null,_.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const WR=_.forwardRef(({children:e,...t},a)=>{let r=y.useRef(!1),i=y.useContext(Ko),s=Ee(i||{},{...t,register(){r.current=!0,i&&i.register()}});return s.ref=xn(a||(i==null?void 0:i.ref)),Y2(i,s.ref),y.useEffect(()=>{r.current||(r.current=!0)},[]),_.createElement(Ko.Provider,{value:s},e)});function ZR({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return _.createElement(Ko.Provider,{value:t},e)}const QR=y.createContext({});function i4(){return y.useContext(QR)??{}}const o4=_.createContext(null);function S2(e){let t=Na(),{portalContainer:a=t?null:document.body,isExiting:r}=e,[i,s]=y.useState(!1),u=y.useMemo(()=>({contain:i,setContain:s}),[i,s]),{getContainer:f}=i4();if(!e.portalContainer&&f&&(a=f()),!a)return null;let d=e.children;return e.disableFocusManagement||(d=_.createElement(MR,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},d)),d=_.createElement(o4.Provider,{value:u},_.createElement(ZR,null,_.createElement(Ho.Provider,{value:null},d))),Y9.createPortal(d,a)}function s4(){let e=y.useContext(o4),t=e==null?void 0:e.setContain;De(()=>{t==null||t(!0)},[t])}function uh(e){let[t,a]=Lu(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=y.useState(null);const s=y.useCallback(()=>{a(!0)},[a]),u=y.useCallback(()=>{a(!1)},[a]),f=y.useCallback(()=>{a(!t)},[a,t]);return{isOpen:t,setOpen:a,open:s,close:u,toggle:f,point:r,setPoint:i}}const c4=y.createContext(null),h3=y.createContext(null),tP=y.forwardRef(function(t,a){[t,a]=wn(t,a,c4);let r=y.useContext(xi),i=uh(t),s=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=Qc(a,s.isOpen),f=t.isExiting||!t.shouldSkipAnimation&&u||!1,d=CT(),{direction:h}=vi();if(d){let p=t.children;return typeof p=="function"&&(p=p({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),_.createElement(_.Fragment,null,p)}return s&&!s.isOpen&&!f?null:_.createElement(JR,{...t,triggerRef:t.triggerRef,state:s,popoverRef:a,isExiting:f,dir:h})});function JR({state:e,isExiting:t,UNSTABLE_portalContainer:a,clearContexts:r,...i}){var q,ne;let s=y.useRef(null),u=y.useRef(null),f=y.useContext(h3),d=f&&i.trigger==="SubmenuTrigger",{popoverProps:h,underlayProps:p,arrowProps:b,placement:v,triggerAnchorPoint:S}=BR({...i,offset:i.offset??8,arrowRef:s,groupRef:d?f:u},e),x=i.popoverRef,E=Tu(x,!!v),T=i.isEntering||!i.shouldSkipAnimation&&E||!1,L=Lt({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:v,isEntering:T,isExiting:t}}),M=!i.isNonModal||i.trigger==="SubmenuTrigger"||i.trigger==="PreviewTrigger",[N,A]=y.useState(i.trigger==="PreviewTrigger");De(()=>{x.current&&A(M&&!x.current.querySelector("[role=dialog]"))},[x,M]),y.useEffect(()=>{N&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||pl()!=="pointer")&&x.current&&!jo(x.current)&&vl(x.current)},[N,x,i.trigger]);let B=y.useMemo(()=>{let ae=L.children;if(r)for(let j of r)ae=_.createElement(j.Provider,{value:null},ae);return ae},[L.children,r]),[F,$]=y.useState(null),k=y.useCallback(()=>{i.triggerRef.current&&$(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);De(k,[k]),n2({ref:(q=L.style)!=null&&q["--trigger-width"]?void 0:i.triggerRef,onResize:k});let K={...h.style,"--trigger-anchor-point":S?`${S.x}px ${S.y}px`:void 0,...L.style,"--trigger-width":((ne=L.style)==null?void 0:ne["--trigger-width"])||F},U=_.createElement(ut.div,{...Ee(mt(i,{global:!0}),h),...L,id:N?i.id:void 0,role:N?"dialog":void 0,tabIndex:N?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:x,slot:i.slot||void 0,style:K,dir:i.dir,"data-trigger":i.trigger,"data-placement":v,"data-entering":T||void 0,"data-exiting":t||void 0},!i.isNonModal&&_.createElement(x2,{onDismiss:e.close}),_.createElement(g5.Provider,{value:{...b,placement:v,ref:s}},B),_.createElement(x2,{onDismiss:e.close}));return d?_.createElement(S2,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:a??(f==null?void 0:f.current)??void 0},U):_.createElement(S2,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:a},!i.isNonModal&&e.isOpen&&_.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),_.createElement("div",{ref:u,style:{display:"contents"}},_.createElement(h3.Provider,{value:u},U)))}class yi{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,a,r){let i=this.clone();return a.addDescendants(i,t),i}}class u4 extends yi{filter(t,a,r){let[i,s]=f4(t,a,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=s,u}}const Dh=class Dh extends yi{};Dh.type="header";let m3=Dh;const $h=class $h extends yi{};$h.type="loader";let p3=$h;const zh=class zh extends u4{filter(t,a,r){if(r(this.textValue,this)){let i=this.clone();return a.addDescendants(i,t),i}return null}};zh.type="item";let g3=zh;const Ph=class Ph extends u4{filter(t,a,r){let i=super.filter(t,a,r);if(i&&i.lastChildKey!==null){let s=t.getItem(i.lastChildKey);if(s&&s.type!=="header")return i}return null}};Ph.type="section";let b3=Ph;class eM{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let a=this.keyMap;return{*[Symbol.iterator](){let r=a.get(t),i=(r==null?void 0:r.firstChildKey)!=null?a.get(r.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?a.get(i.nextKey):void 0}}}getKeyBefore(t){let a=this.keyMap.get(t);if(!a)return null;if(a.prevKey!=null){for(a=this.keyMap.get(a.prevKey);a&&a.type!=="item"&&a.lastChildKey!=null;)a=this.keyMap.get(a.lastChildKey);return(a==null?void 0:a.key)??null}return a.parentKey}getKeyAfter(t){let a=this.keyMap.get(t);if(!a)return null;if(a.type!=="item"&&a.firstChildKey!=null)return a.firstChildKey;for(;a;){if(a.nextKey!=null)return a.nextKey;if(a.parentKey!=null)a=this.keyMap.get(a.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return(t==null?void 0:t.key)??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,a=new t;return a.keyMap=new Map(this.keyMap),a.firstKey=this.firstKey,a.lastKey=this.lastKey,a.itemCount=this.itemCount,a}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,a){this.addNode(t);let r=a.getChildren(t.key);for(let i of r)this.addDescendants(i,a)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let a=this.keyMap.get(t);a!=null&&a.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,a,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=a,this.frozen=!r}filter(t){let a=new this.constructor,[r,i]=f4(this,a,this.firstKey,t);return a==null||a.commit(r,i),a}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function f4(e,t,a,r){if(a==null)return[null,null];let i=null,s=null,u=e.getItem(a);for(;u!=null;){let f=u.filter(e,t,r);f!=null&&(f.nextKey=null,s&&(f.prevKey=s.key,s.nextKey=f.key),i==null&&(i=f),t.addNode(f),s=f),u=u.nextKey!=null?e.getItem(u.nextKey):null}if(s&&s.type==="separator"){let f=s.prevKey;t.removeNode(s.key),f!=null?(s=t.getItem(f),s.nextKey=null):s=null}return[(i==null?void 0:i.key)??null,(s==null?void 0:s.key)??null]}class d4{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)==null?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,a){if(a==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=a,t.previousSibling=a.previousSibling,t.index=a.index-1,this.firstChild===a?this.firstChild=t:a.previousSibling&&(a.previousSibling.nextSibling=t),a.previousSibling=t,t.parentNode=a.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}}class hi extends d4{constructor(t,a){super(a),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof hi?this.parentNode.level+(((t=this.parentNode.node)==null?void 0:t.type)==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var r,i,s,u,f,d,h,p;let t=this.nextVisibleSibling,a=this.getMutableNode();if(a!=null&&(a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof hi?((r=this.parentNode.node)==null?void 0:r.key)??null:null,a.prevKey=((s=(i=this.previousVisibleSibling)==null?void 0:i.node)==null?void 0:s.key)??null,a.nextKey=((u=t==null?void 0:t.node)==null?void 0:u.key)??null,a.hasChildNodes=!!this.firstChild,a.firstChildKey=((d=(f=this.firstVisibleChild)==null?void 0:f.node)==null?void 0:d.key)??null,a.lastChildKey=((p=(h=this.lastVisibleChild)==null?void 0:h.node)==null?void 0:p.key)??null,(a.colSpan!=null||a.colIndex!=null)&&t)){let b=(a.colIndex??a.index)+(a.colSpan??1);if(t.node!=null&&b!==t.node.colIndex){let v=t.getMutableNode();v.colIndex=b}}}setProps(t,a,r,i,s){let u,{value:f,textValue:d,id:h,...p}=t;if(this.node==null?(u=new r(h??`react-aria-${++this.ownerDocument.nodeId}`),this.node=u):u=this.getMutableNode(),p.ref=a,u.props=p,u.rendered=i,u.render=s,u.value=f,t["aria-label"]&&(u["aria-label"]=t["aria-label"]),u.textValue=d||(typeof p.children=="string"?p.children:"")||t["aria-label"]||"",h!=null&&h!==u.key)throw new Error("Cannot change the id of an item");p.colSpan!=null&&(u.colSpan=p.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(a){var i,s;let r=a==="none";if(t.isHidden!==r){(((i=t.parentNode)==null?void 0:i.firstVisibleChild)===t||((s=t.parentNode)==null?void 0:s.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let u=t.previousVisibleSibling,f=t.nextVisibleSibling;u&&t.ownerDocument.markDirty(u),f&&t.ownerDocument.markDirty(f),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class tM extends d4{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new hi(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let a=this.getMutableCollection();if(!a.getItem(t.node.key))for(let r of t)this.addNode(r);a.addNode(t.node)}removeNode(t){for(let a of t)this.removeNode(a);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){var t,a,r,i;for(let s of this.dirtyNodes)s instanceof hi&&(!s.isConnected||s.isHidden)?this.removeNode(s):s.updateChildIndices();for(let s of this.dirtyNodes)s instanceof hi?(s.isConnected&&!s.isHidden&&(s.updateNode(),this.addNode(s)),s.node&&this.dirtyNodes.delete(s),s.isMutated=!1):this.dirtyNodes.delete(s);this.nextCollection&&(this.nextCollection.commit(((a=(t=this.firstVisibleChild)==null?void 0:t.node)==null?void 0:a.key)??null,((i=(r=this.lastVisibleChild)==null?void 0:r.node)==null?void 0:i.key)??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}function h4(e){let{children:t,items:a,idScope:r,addIdAndValue:i,dependencies:s=[]}=e,u=y.useMemo(()=>{},[t]),f=y.useMemo(()=>new WeakMap,[...s,u]);return y.useMemo(()=>{if(a&&typeof t=="function"){let d=[];for(let h of a){let p=nM(h)?h:null,b=p?f.get(p):null;if(!b){b=t(h);let v=b.props.id??(h==null?void 0:h.key)??(h==null?void 0:h.id);r!=null&&b.props.id==null&&v!=null&&(v=r+":"+v);let S=v??d.length;b=y.cloneElement(b,i?{key:S,id:v,value:h}:{key:S}),p&&f.set(p,b)}d.push(b)}return d}else if(typeof t!="function")return t},[t,a,f,r,i])}function nM(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var fh=Jv();const m4=y.createContext(!1),Vo=y.createContext(null);function aM(e){if(y.useContext(Vo))return e.content;let{collection:a,document:r}=oM(e.createCollection);return _.createElement(_.Fragment,null,_.createElement(wT,null,_.createElement(Vo.Provider,{value:r},e.content)),_.createElement(lM,{render:e.children,collection:a}))}function lM({collection:e,render:t}){return t(e)}function rM(e,t,a){let r=Na(),i=y.useRef(r);i.current=r;let s=y.useCallback(()=>i.current?a():t(),[t,a]);return fh.useSyncExternalStore(e,s)}const iM=typeof _.useSyncExternalStore=="function"?_.useSyncExternalStore:rM;function oM(e){let[t]=y.useState(()=>new tM((e==null?void 0:e())||new eM)),a=y.useCallback(u=>t.subscribe(u),[t]),r=y.useCallback(()=>{let u=t.getCollection();return t.isSSR&&t.resetAfterSSR(),u},[t]),i=y.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:iM(a,r,i),document:t}}const w2=y.createContext(null);function sM(e){var a;return a=class extends yi{},a.type=e,a}function p4(e,t,a,r,i,s){typeof e=="string"&&(e=sM(e));let u=y.useCallback(d=>{d==null||d.setProps(t,a,e,r,s)},[t,a,r,s,e]),f=y.useContext(w2);if(f){let d=f.ownerDocument.nodesByProps.get(t);return d||(d=f.ownerDocument.createElement(e.type),d.setProps(t,a,e,r,s),f.appendChild(d),f.ownerDocument.updateCollection(),f.ownerDocument.nodesByProps.set(t,d)),i?_.createElement(w2.Provider,{value:d},i):null}return _.createElement(e.type,{ref:u},i)}function cM(e,t){let a=({node:i})=>t(i.props,i.props.ref,i),r=y.forwardRef((i,s)=>{let u=y.useContext(Ho);if(!y.useContext(m4)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,s)}return p4(e,i,s,"children"in i?i.children:null,null,d=>_.createElement(Ho.Provider,{value:u},_.createElement(a,{node:d})))});return r.displayName=t.name,r}function nP(e,t,a=g4){let r=({node:s})=>t(s.props,s.props.ref,s),i=y.forwardRef((s,u)=>{let f=a(s);return p4(e,s,u,null,f,d=>_.createElement(r,{node:d}))??_.createElement(_.Fragment,null)});return i.displayName=t.name,i}function g4(e){return h4({...e,addIdAndValue:!0})}const v3=y.createContext(null);function uM(e){let t=y.useContext(v3),a=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope??(t==null?void 0:t.idScope),i=g4({...e,idScope:r,dependencies:a});return y.useContext(Vo)&&(i=_.createElement(fM,null,i)),t=y.useMemo(()=>({dependencies:a,idScope:r}),[r,...a]),_.createElement(v3.Provider,{value:t},i)}function fM({children:e}){let t=y.useContext(Vo),a=y.useMemo(()=>_.createElement(Vo.Provider,{value:null},_.createElement(m4.Provider,{value:!0},e)),[e]);return Na()?_.createElement(w2.Provider,{value:t},a):la.createPortal(a,t)}const aP=y.createContext(null),b4={CollectionRoot({collection:e,renderDropIndicator:t}){return y3(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:a}){return y3(e,t,a)}};function y3(e,t,a){return h4({items:t?e.getChildren(t.key):e,dependencies:[a],children(r){if(r.type==="content")return _.createElement(_.Fragment,null);let i=r.render(r);return!a||r.type!=="item"?i:_.createElement(_.Fragment,null,a({type:"item",key:r.key,dropPosition:"before"}),i,dM(e,r,a))}})}function dM(e,t,a){let r=t.key,i=e.getKeyAfter(r),s=i!=null?e.getItem(i):null;for(;s!=null&&s.type!=="item";)i=e.getKeyAfter(s.key),s=i!=null?e.getItem(i):null;let u=t.nextKey!=null?e.getItem(t.nextKey):null;for(;u!=null&&u.type!=="item";)u=u.nextKey!=null?e.getItem(u.nextKey):null;let f=[];if(u==null){let d=t;for(;(d==null?void 0:d.type)==="item"&&(!s||d.parentKey!==s.parentKey&&s.level<d.level);){let h=a({type:"item",key:d.key,dropPosition:"after"});y.isValidElement(h)&&f.push(y.cloneElement(h,{key:`${d.key}-after`})),d=d.parentKey!=null?e.getItem(d.parentKey):null}}return f}const v4=y.createContext(b4);function hM(e){return y.useMemo(()=>e!=null?new Set([e]):null,[e])}function y4(e){let t=pM(He(e));t!==e&&(t&&mM(t,e),e&&x4(e,t))}function mM(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function x4(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function pM(e){let t=et(e),a=t==null?void 0:t.getAttribute("aria-activedescendant");return a&&e.getElementById(a)||t}const S4=y.createContext(null);function gM(e){let t=y.useRef({});return _.createElement(S4.Provider,{value:t},e.children)}const bM=y.forwardRef(function(t,a){let{name:r,isVisible:i=!0,children:s,className:u,style:f,render:d,...h}=t,[p,b]=y.useState(i?"visible":"hidden"),v=y.useContext(S4);if(!v)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");i&&p==="hidden"&&b("visible"),a=xn(a),De(()=>{let x=a.current,E=v.current,T=E[r],L=null;if(x&&i&&T){b("visible");let M=x.getAnimations(),N=T.style.map(([A,B])=>{let F=x.style[A];if(A==="translate"){let $=T.rect,k=x.getBoundingClientRect(),K=$.left-(k==null?void 0:k.left),U=$.top-(k==null?void 0:k.top);x.style.translate=`${K}px ${U}px`}else x.style[A]=B;return[A,F]});for(let A of x.getAnimations())M.includes(A)||A.cancel();L=requestAnimationFrame(()=>{L=null;for(let[A,B]of N)x.style[A]=B}),delete E[r]}else x&&i&&!T?(queueMicrotask(()=>la.flushSync(()=>b("entering"))),L=requestAnimationFrame(()=>{L=null,b("visible")})):x&&!i&&queueMicrotask(()=>{E[r]?(delete E[r],la.flushSync(()=>b("exiting")),Promise.all(x.getAnimations().map(M=>M.finished)).then(()=>b("hidden")).catch(()=>{})):b("hidden")});return()=>{if(L!=null&&cancelAnimationFrame(L),x&&x.isConnected&&!x.hasAttribute("data-exiting")){let M=window.getComputedStyle(x);if(M.transitionProperty!=="none"){let N=M.transitionProperty.split(/\s*,\s*/);E[r]={rect:x.getBoundingClientRect(),style:N.map(A=>[A,M[A]])}}}}},[a,v,r,i]);let S=Lt({children:s,className:u,style:f,render:d,values:{isEntering:p==="entering",isExiting:p==="exiting"}});return p==="hidden"?null:_.createElement(ut.div,{...h,...S,ref:a,"data-entering":p==="entering"||void 0,"data-exiting":p==="exiting"||void 0})}),w4=y.createContext({isSelected:!1}),vM=y.forwardRef(function(t,a){[t,a]=wn(t,a,w4);let{isSelected:r,...i}=t;return _.createElement(bM,{...i,ref:a,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})}),Du=y.createContext({}),C4=y.forwardRef(function(t,a){[t,a]=wn(t,a,Du);let{elementType:r="span",...i}=t,s=ut[r];return _.createElement(s,{className:"react-aria-Text",...i,ref:a})}),yM=500;function xM(e){let{isDisabled:t,pointerType:a,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:u=yM,accessibilityDescription:f}=e;const d=y.useRef(void 0);let{addGlobalListener:h,removeAllGlobalListeners:p}=Eu(),b=x=>a?x.pointerType===a:x.pointerType==="mouse"||x.pointerType==="touch",{pressProps:v}=ar({isDisabled:t,onPressStart(x){if(x.continuePropagation(),b(x)){r&&r({...x,type:"longpressstart"}),d.current=setTimeout(()=>{x.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),h(x.target,"click",T=>T.preventDefault(),{once:!0}),He(x.target).activeElement!==x.target&&nn(x.target),s&&s({...x,type:"longpress"}),d.current=void 0},u),x.pointerType==="touch"&&h(x.target,"contextmenu",T=>T.preventDefault(),{once:!0});let E=It(x.target);h(E,"pointerup",()=>{setTimeout(()=>{p()},100)},{once:!0})}},onPressEnd(x){d.current&&clearTimeout(d.current),i&&b(x)&&i({...x,type:"longpressend"})}}),S=hC(s&&!t?f:void 0);return{longPressProps:Ee(v,S)}}function SM(e,t,a){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{a&&a.current&&y5.set(a.current,t.close)});let s;r==="menu"?s=!0:r==="listbox"&&(s="listbox");let u=Fn();return{triggerProps:{"aria-haspopup":s,"aria-expanded":i,"aria-controls":i?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}function C2(e){return Lw()?e.altKey:e.ctrlKey}function N0(e,t){var i,s;let a=`[data-key="${CSS.escape(String(t))}"]`,r=(i=e.current)==null?void 0:i.dataset.collection;return r&&(a=`[data-collection="${CSS.escape(r)}"]${a}`),(s=e.current)==null?void 0:s.querySelector(a)}const E4=new WeakMap;function wM(e){let t=Fn();return E4.set(e,t),t}function CM(e){return E4.get(e)}const x3=1e3;function EM(e){let{keyboardDelegate:t,selectionManager:a,onTypeSelect:r}=e,i=y.useRef({search:"",timeout:void 0}),s=f=>{if(i.current.search.length>0&&f.key===" "){if(f.preventDefault(),(!("continuePropagation"in f)||"continuePropagation"in f&&!f.isPropagationStopped())&&f.stopPropagation(),i.current.search+=" ",t.getKeyForSearch!=null){let d=t.getKeyForSearch(i.current.search,a.focusedKey);d==null&&(d=t.getKeyForSearch(i.current.search)),d!=null&&(a.setFocusedKey(d),r&&r(d))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},x3)}},u=f=>{let d=TM(f.key);if(!(!d||f.ctrlKey||f.metaKey||f.altKey||!Be(f.currentTarget,ve(f))||i.current.search.length===0&&d===" ")){if(i.current.search+=d,t.getKeyForSearch!=null){let h=t.getKeyForSearch(i.current.search,a.focusedKey);if(h==null&&(h=t.getKeyForSearch(i.current.search)),h!=null)a.setFocusedKey(h),r&&r(h),f.preventDefault(),"continuePropagation"in f||f.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},x3)}};return y.useEffect(()=>{let f=i.current.timeout;return()=>{clearTimeout(f)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?s:void 0,onKeyDown:t.getKeyForSearch?u:void 0}}}function TM(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function RM(e){var it;let{selectionManager:t,keyboardDelegate:a,ref:r,autoFocus:i=!1,shouldFocusWrap:s=!1,disallowEmptySelection:u=!1,disallowSelectAll:f=!1,escapeKeyBehavior:d="clearSelection",selectOnFocus:h=t.selectionBehavior==="replace",disallowTypeAhead:p=!1,shouldUseVirtualFocus:b,allowsTabNavigation:v=!1,scrollRef:S=r,linkBehavior:x="action",UNSTABLE_focusOnEntry:E}=e,{direction:T}=vi(),L=qo();const M=(ue,fe,Ce)=>{if(fe!=null){if(t.isLink(fe)&&x==="selection"&&h&&!C2(ue)){la.flushSync(()=>{t.setFocusedKey(fe,Ce)});let Fe=N0(r,fe),Ve=t.getItemProps(fe);if(Fe){L.open(Fe,ue,Ve.href,Ve.routerOptions);return}return!1}if(t.setFocusedKey(fe,Ce),t.isLink(fe)&&x==="override")return!1;if(ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h&&!C2(ue)){t.replaceSelection(fe);return}}return!1};let N=ue=>{var fe,Ce,Fe;if(a.getKeyBelow){let Ve=t.focusedKey!=null?(fe=a.getKeyBelow)==null?void 0:fe.call(a,t.focusedKey):(Ce=a.getFirstKey)==null?void 0:Ce.call(a);if(Ve==null&&s&&(Ve=(Fe=a.getFirstKey)==null?void 0:Fe.call(a,t.focusedKey)),Ve!=null){M(ue,Ve);return}}return!1},A=ue=>{var fe,Ce,Fe;if(a.getKeyAbove){let Ve=t.focusedKey!=null?(fe=a.getKeyAbove)==null?void 0:fe.call(a,t.focusedKey):(Ce=a.getLastKey)==null?void 0:Ce.call(a);if(Ve==null&&s&&(Ve=(Fe=a.getLastKey)==null?void 0:Fe.call(a,t.focusedKey)),Ve!=null){M(ue,Ve);return}}return!1},B=ue=>{if(a.getFirstKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=a.getFirstKey(t.focusedKey,Ro(ue));if(t.setFocusedKey(fe),fe!=null){if(Ro(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},F=ue=>{var fe,Ce,Fe,Ve;if(a.getKeyLeftOf){let Nt=t.focusedKey!=null?(fe=a.getKeyLeftOf)==null?void 0:fe.call(a,t.focusedKey):(Ce=a.getFirstKey)==null?void 0:Ce.call(a);if(Nt==null&&s&&(Nt=T==="rtl"?(Fe=a.getFirstKey)==null?void 0:Fe.call(a,t.focusedKey):(Ve=a.getLastKey)==null?void 0:Ve.call(a,t.focusedKey)),Nt!=null){M(ue,Nt,T==="rtl"?"first":"last");return}}return!1},$=ue=>{var fe,Ce,Fe,Ve;if(a.getKeyRightOf){let Nt=t.focusedKey!=null?(fe=a.getKeyRightOf)==null?void 0:fe.call(a,t.focusedKey):(Ce=a.getFirstKey)==null?void 0:Ce.call(a);if(Nt==null&&s&&(Nt=T==="rtl"?(Fe=a.getLastKey)==null?void 0:Fe.call(a,t.focusedKey):(Ve=a.getFirstKey)==null?void 0:Ve.call(a,t.focusedKey)),Nt!=null){M(ue,Nt,T==="rtl"?"last":"first");return}}return!1},k=ue=>{if(a.getLastKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=a.getLastKey(t.focusedKey,Ro(ue));if(t.setFocusedKey(fe),fe!=null){if(Ro(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},K=ue=>{if(a.getKeyPageBelow&&t.focusedKey!=null){let fe=a.getKeyPageBelow(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},U=ue=>{if(a.getKeyPageAbove&&t.focusedKey!=null){let fe=a.getKeyPageAbove(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},q=()=>{if(t.selectionMode==="multiple"&&f!==!0){t.selectAll();return}return!1},ne=()=>{if(d==="clearSelection"&&!u&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},ae=()=>{if(!v&&r.current){let ue=aa(r.current,{tabbable:!0}),fe,Ce;do Ce=ue.lastChild(),Ce&&(fe=Ce);while(Ce);let Fe=et();fe&&(!jo(fe)||Fe&&!Z2(Fe))&&nn(fe)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!v&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),W=(ue,fe)=>({[_n()?ue+"+Shift+Alt":ue+"+Shift+Control"]:fe,[ue+"+Shift"]:fe,[_n()?ue+"+Alt":ue+"+Control"]:fe,[ue]:fe}),{keyboardProps:z}=lu({shortcuts:{...W("ArrowDown",N),...W("ArrowUp",A),...W("ArrowLeft",F),...W("ArrowRight",$),...W("PageDown",K),...W("PageUp",U)},allowRepeats:!0}),{keyboardProps:O}=lu({shortcuts:{...W("Home",B),...W("End",k),"Mod+A":q,Escape:ne,Tab:ae,"Tab+Shift":j}}),oe=y.useRef({top:0,left:0});Sc(S,"scroll",()=>{var ue,fe;oe.current={top:((ue=S.current)==null?void 0:ue.scrollTop)??0,left:((fe=S.current)==null?void 0:fe.scrollLeft)??0}});let J=ue=>{var Fe,Ve,Nt,Cn;if(t.isFocused){Be(ue.currentTarget,ve(ue))||t.setFocused(!1);return}if(!Be(ue.currentTarget,ve(ue)))return;let fe=pl();t.setFocused(!0);let Ce=pt=>{pt!=null&&(t.setFocusedKey(pt),h&&!t.isSelected(pt)&&t.replaceSelection(pt))};if(E&&(fe==="keyboard"||fe==="virtual"))Ce(E==="first"?(Fe=a.getFirstKey)==null?void 0:Fe.call(a):(Ve=a.getLastKey)==null?void 0:Ve.call(a));else if(t.focusedKey==null){let pt=ue.relatedTarget;pt&&ue.currentTarget.compareDocumentPosition(pt)&Node.DOCUMENT_POSITION_FOLLOWING?Ce(t.lastSelectedKey??((Nt=a.getLastKey)==null?void 0:Nt.call(a))):Ce(t.firstSelectedKey??((Cn=a.getFirstKey)==null?void 0:Cn.call(a)))}else S.current&&(S.current.scrollTop=oe.current.top,S.current.scrollLeft=oe.current.left);if(t.focusedKey!=null&&S.current){let pt=N0(r,t.focusedKey);pt instanceof HTMLElement&&(!jo(pt)&&!b&&nn(pt),(fe==="keyboard"||E&&fe==="virtual")&&Mb(pt,{containingElement:r.current}))}},G=ue=>{Be(ue.currentTarget,ue.relatedTarget)||t.setFocused(!1)},D=y.useRef(!1);Sc(r,Mw,b?ue=>{let{detail:fe}=ue;ue.stopPropagation(),t.setFocused(!0),(fe==null?void 0:fe.focusStrategy)==="first"&&(D.current=!0)}:void 0);let Q=((it=a.getFirstKey)==null?void 0:it.call(a))??null;Rb(()=>{if(D.current)if(Q==null){let ue=et();y4(r.current),x4(ue,null),t.collection.size>0&&(D.current=!1)}else t.setFocusedKey(Q),D.current=!1},[Q,t.collection.size]),Rb(()=>{t.collection.size>0&&(D.current=!1)},[t.focusedKey]),Sc(r,Rw,b?ue=>{var fe;ue.stopPropagation(),t.setFocused(!1),(fe=ue.detail)!=null&&fe.clearFocusKey&&t.setFocusedKey(null)}:void 0);const se=y.useRef(i),ce=y.useRef(!1);y.useEffect(()=>{var ue,fe;if(se.current){let Ce=null;i==="first"&&(Ce=((ue=a.getFirstKey)==null?void 0:ue.call(a))??null),i==="last"&&(Ce=((fe=a.getLastKey)==null?void 0:fe.call(a))??null);let Fe=t.selectedKeys;if(Fe.size){for(let Ve of Fe)if(t.canSelectItem(Ve)){Ce=Ve;break}}t.setFocused(!0),t.setFocusedKey(Ce),Ce==null&&!b&&r.current&&vl(r.current),t.collection.size>0&&(se.current=!1,ce.current=!0)}});let H=y.useRef(t.focusedKey),ie=y.useRef(null);y.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==H.current||ce.current)&&S.current&&r.current){let ue=pl(),fe=N0(r,t.focusedKey);if(!(fe instanceof HTMLElement))return;(ue==="keyboard"||ce.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{S.current&&(Kc(S.current,fe),ue!=="virtual"&&Mb(fe,{containingElement:r.current}))}))}!b&&t.isFocused&&t.focusedKey==null&&H.current!=null&&r.current&&vl(r.current),H.current=t.focusedKey,ce.current=!1}),y.useEffect(()=>()=>{ie.current&&cancelAnimationFrame(ie.current)},[]),Sc(r,"react-aria-focus-scope-restore",ue=>{ue.preventDefault(),t.setFocused(!0)});let xe={...Ee(O,z),onFocus:J,onBlur:G,onMouseDown(ue){S.current===ve(ue)&&ue.preventDefault()}},{typeSelectProps:Le}=EM({keyboardDelegate:a,selectionManager:t});p||(xe=Ee(Le,xe));let de;b||(de=t.focusedKey==null?0:-1);let kt=wM(t.collection);return{collectionProps:Ee(xe,{tabIndex:de,"data-collection":kt})}}function MM(e){let{id:t,selectionManager:a,key:r,ref:i,shouldSelectOnPressUp:s,shouldUseVirtualFocus:u,focus:f,isDisabled:d,onAction:h,allowsDifferentPressOrigin:p,linkBehavior:b="action"}=e,v=qo();t=Fn(t);let S=H=>{if(H.pointerType==="keyboard"&&C2(H))a.toggleSelection(r);else{if(a.selectionMode==="none")return;if(a.isLink(r)){if(b==="selection"&&i.current){let ie=a.getItemProps(r);v.open(i.current,H,ie.href,ie.routerOptions),a.setSelectedKeys(a.selectedKeys);return}else if(b==="override"||b==="none")return}a.selectionMode==="single"?a.isSelected(r)&&!a.disallowEmptySelection?a.toggleSelection(r):a.replaceSelection(r):H&&H.shiftKey?a.extendSelection(r):a.selectionBehavior==="toggle"||H&&(Ro(H)||H.pointerType==="touch"||H.pointerType==="virtual")?a.toggleSelection(r):a.replaceSelection(r)}};y.useEffect(()=>{r===a.focusedKey&&a.isFocused&&(u?y4(i.current):f?f():et()!==i.current&&i.current&&vl(i.current))},[i,r,a.focusedKey,a.childFocusStrategy,a.isFocused,u]),d=d||a.isDisabled(r);let x={};!u&&!d?x={tabIndex:r===a.focusedKey?0:-1,onFocus(H){ve(H)===i.current&&a.setFocusedKey(r)}}:d&&(x.onMouseDown=H=>{H.preventDefault()}),y.useEffect(()=>{d&&a.focusedKey===r&&a.setFocusedKey(null)},[a,d,r]);let E=a.isLink(r)&&b==="override",T=h&&e.UNSTABLE_itemBehavior==="action",L=a.isLink(r)&&b!=="selection"&&b!=="none",M=!d&&a.canSelectItem(r)&&!E&&!T,N=(h||L)&&!d,A=N&&(a.selectionBehavior==="replace"?!M:!M||a.isEmpty),B=N&&M&&a.selectionBehavior==="replace",F=A||B,$=y.useRef(null),k=F&&M,K=y.useRef(!1),U=y.useRef(!1),q=a.getItemProps(r),ne=H=>{var ie;h&&(h(),(ie=i.current)==null||ie.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),L&&i.current&&v.open(i.current,H,q.href,q.routerOptions)},ae={ref:i};s?(ae.onPressStart=H=>{$.current=H.pointerType,K.current=k,H.pointerType==="keyboard"&&(!F||w3(H.key))&&S(H)},p?(ae.onPressUp=A?void 0:H=>{H.pointerType==="mouse"&&M&&S(H)},ae.onPress=A?ne:H=>{H.pointerType!=="keyboard"&&H.pointerType!=="mouse"&&M&&S(H)}):ae.onPress=H=>{if(A||B&&H.pointerType!=="mouse"){if(H.pointerType==="keyboard"&&!S3(H.key))return;ne(H)}else H.pointerType!=="keyboard"&&M&&S(H)}):(ae.onPressStart=H=>{$.current=H.pointerType,K.current=k,U.current=A,M&&(H.pointerType==="mouse"&&!A||H.pointerType==="keyboard"&&(!N||w3(H.key)))&&S(H)},ae.onPress=H=>{(H.pointerType==="touch"||H.pointerType==="pen"||H.pointerType==="virtual"||H.pointerType==="keyboard"&&F&&S3(H.key)||H.pointerType==="mouse"&&U.current)&&(F?ne(H):M&&S(H))});let j=CM(a.collection);if(x["data-collection"]=j,x["data-key"]=r,ae.preventFocusOnPress=u,u&&(ae=Ee(ae,{onPressStart(H){H.pointerType!=="touch"&&(a.setFocused(!0),a.setFocusedKey(r))},onPress(H){H.pointerType==="touch"&&(a.setFocused(!0),a.setFocusedKey(r))}})),q)for(let H of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])q[H]&&(ae[H]=er(ae[H],q[H]));let{pressProps:W,isPressed:z}=ar(ae),O=B?H=>{$.current==="mouse"&&(H.stopPropagation(),H.preventDefault(),ne(H))}:void 0,{longPressProps:oe}=xM({isDisabled:!k,onLongPress(H){H.pointerType==="touch"&&(S(H),a.setSelectionBehavior("toggle"))}}),J=H=>{$.current==="touch"&&K.current&&H.preventDefault()},G=b!=="none"&&a.isLink(r)?H=>{Aa.isOpening||H.preventDefault()}:void 0,D=Ee(x,M||A||u&&!d?W:{},k?oe:{},{onDoubleClick:O,onDragStartCapture:J,onClick:G,id:t},u?{onMouseDown:H=>H.preventDefault()}:void 0),Q=H=>{let ie=H;for(;ie&&ie!==i.current;){let xe=ie.getAttribute("data-collection");if(xe!=null)return xe!==j;ie=ie.parentElement}return Z2(H)},se=D.onPointerDown;D.onPointerDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}se==null||se(H)};let ce=D.onMouseDown;return D.onMouseDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}ce==null||ce(H)},{itemProps:D,isPressed:z,isSelected:a.isSelected(r),isFocused:a.isFocused&&a.focusedKey===r,isDisabled:d,allowsSelection:M,hasAction:F}}function S3(e){return e==="Enter"}function w3(e){return e===" "}function AM(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function LM(e){return kM(e,0)}function kM(e,t){if(t<0)return;let a=0;for(let r of e){if(a===t)return r;a++}}function lP(e){let t;for(let a of e)t=a;return t}function D0(e,t,a){if(t.parentKey===a.parentKey)return t.index-a.index;let r=[...C3(e,t),t],i=[...C3(e,a),a],s=r.slice(0,i.length).findIndex((u,f)=>u!==i[f]);return s!==-1?(t=r[s],a=i[s],t.index-a.index):r.findIndex(u=>u===a)>=0?1:(i.findIndex(u=>u===t)>=0,-1)}function C3(e,t){let a=[],r=t;for(;(r==null?void 0:r.parentKey)!=null;)r=e.getItem(r.parentKey),r&&a.unshift(r);return a}function NM(e){let t=uh(e),[a,r]=y.useState(null),[i,s]=y.useState([]),u=()=>{s([]),t.close()};return{focusStrategy:a,...t,open(h=null){r(h),t.open()},toggle(h=null){r(h),t.toggle()},close(){u()},expandedKeysStack:i,openSubmenu:(h,p)=>{s(b=>p>b.length?b:[...b.slice(0,p),h])},closeSubmenu:(h,p)=>{s(b=>b[p]===h?b.slice(0,p):b)}}}class Kn extends Set{constructor(t,a,r){super(t),t instanceof Kn?(this.anchorKey=a??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=a??null,this.currentKey=r??null)}}class dh{constructor(t,a,r){this.collection=t,this.state=a,this.allowsCellSelection=(r==null?void 0:r.allowsCellSelection)??!1,this._isSelectAll=null,this.layoutDelegate=(r==null?void 0:r.layoutDelegate)||null,this.fullCollection=(r==null?void 0:r.fullCollection)||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,a){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,a)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let a=this.getKey(t);return a==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(a):this.state.selectedKeys.has(a)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),a=this.state.selectedKeys;return this._isSelectAll=t.every(r=>a.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let a of this.state.selectedKeys){let r=this.collection.getItem(a);(!t||r&&D0(this.collection,r,t)<0)&&(t=r)}return(t==null?void 0:t.key)??null}get lastSelectedKey(){let t=null;for(let a of this.state.selectedKeys){let r=this.collection.getItem(a);(!t||r&&D0(this.collection,r,t)>0)&&(t=r)}return(t==null?void 0:t.key)??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let a=this.getKey(t);if(a==null)return;let r;if(this.state.selectedKeys==="all")r=new Kn([a],a,a);else{let i=this.state.selectedKeys,s=i.anchorKey??a;r=new Kn(i,s,a);for(let u of this.getKeyRange(s,i.currentKey??a))r.delete(u);for(let u of this.getKeyRange(a,s))this.canSelectItem(u)&&r.add(u)}this.state.setSelectedKeys(r)}getKeyRange(t,a){let r=this.collection.getItem(t),i=this.collection.getItem(a);return r&&i?D0(this.collection,r,i)<=0?this.getKeyRangeInternal(t,a):this.getKeyRangeInternal(a,t):[]}getKeyRangeInternal(t,a){var s;if((s=this.layoutDelegate)!=null&&s.getKeyRange)return this.layoutDelegate.getKeyRange(t,a);let r=[],i=t;for(;i!=null;){let u=this.collection.getItem(i);if(u&&(u.type==="item"||u.type==="cell"&&this.allowsCellSelection)&&r.push(i),i===a)return r;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let a=this.collection.getItem(t);if(!a||a.type==="cell"&&this.allowsCellSelection)return t;for(;a&&a.type!=="item"&&a.parentKey!=null;)a=this.collection.getItem(a.parentKey);return!a||a.type!=="item"?null:a.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let a=this.getKey(t);if(a==null)return;let r=new Kn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(a)?r.delete(a):this.canSelectItem(a)&&(r.add(a),r.anchorKey=a,r.currentKey=a),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let a=this.getKey(t);if(a==null)return;let r=this.canSelectItem(a)?new Kn([a],a,a):new Kn;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let a=new Kn;for(let r of t){let i=this.getKey(r);if(i!=null&&(a.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(a)}getSelectAllKeys(){let t=this.fullCollection??this.collection,a=[],r=i=>{var s;for(;i!=null;){if(this.canSelectItemIn(i,t)){let u=t.getItem(i);(u==null?void 0:u.type)==="item"&&a.push(i),u!=null&&u.hasChildNodes&&(this.allowsCellSelection||u.type!=="item")&&r(((s=LM(AM(u,t)))==null?void 0:s.key)??null)}i=t.getKeyAfter(i)}};return r(t.getFirstKey()),a}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Kn)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,a){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||a&&(a.pointerType==="touch"||a.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let a=this.selectedKeys;if(t.size!==a.size)return!1;for(let r of t)if(!a.has(r))return!1;for(let r of a)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,a){var i;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=a.getItem(t);return!(!r||(i=r==null?void 0:r.props)!=null&&i.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,i;let a=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!((r=a==null?void 0:a.props)!=null&&r.isDisabled))&&((i=a==null?void 0:a.props)==null?void 0:i.disabledBehavior)!=="selection"}isLink(t){var a,r;return!!((r=(a=this.collection.getItem(t))==null?void 0:a.props)!=null&&r.href)}getItemProps(t){var a;return(a=this.collection.getItem(t))==null?void 0:a.props}withCollection(t){return new dh(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class DM{build(t,a){return this.context=a,E3(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:a,items:r}=t;if(_.isValidElement(a)&&a.type===_.Fragment)yield*this.iterateCollection({children:a.props.children,items:r});else if(typeof a=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let s of r)yield*this.getFullNode({value:s,index:i},{renderer:a}),i++}else{let i=[];_.Children.forEach(a,u=>{u&&i.push(u)});let s=0;for(let u of i){let f=this.getFullNode({element:u,index:s},{});for(let d of f)s++,yield d}}}getKey(t,a,r,i){if(t.key!=null)return t.key;if(a.type==="cell"&&a.key!=null)return`${i}${a.key}`;let s=a.value;if(s!=null){let u=s.key??s.id;if(u==null)throw new Error("No key found for item");return u}return i?`${i}.${a.index}`:`$.${a.index}`}getChildState(t,a){return{renderer:a.renderer||t.renderer}}*getFullNode(t,a,r,i){if(_.isValidElement(t.element)&&t.element.type===_.Fragment){let d=[];_.Children.forEach(t.element.props.children,p=>{d.push(p)});let h=t.index??0;for(const p of d)yield*this.getFullNode({element:p,index:h++},a,r,i);return}let s=t.element;if(!s&&t.value&&a&&a.renderer){let d=this.cache.get(t.value);if(d&&(!d.shouldInvalidate||!d.shouldInvalidate(this.context))){d.index=t.index,d.parentKey=i?i.key:null,yield d;return}s=a.renderer(t.value)}if(_.isValidElement(s)){let d=s.type;if(typeof d!="function"&&typeof d.getCollectionNode!="function"){let v=s.type;throw new Error(`Unknown element <${v}> in collection.`)}let h=d.getCollectionNode(s.props,this.context),p=t.index??0,b=h.next();for(;!b.done&&b.value;){let v=b.value;t.index=p;let S=v.key??null;S==null&&(S=v.element?null:this.getKey(s,t,a,r));let E=[...this.getFullNode({...v,key:S,index:p,wrapper:$M(t.wrapper,v.wrapper)},this.getChildState(a,v),r?`${r}${s.key}`:s.key,i)];for(let T of E){if(T.value=v.value??t.value??null,T.value&&this.cache.set(T.value,T),t.type&&T.type!==t.type)throw new Error(`Unsupported type <${$0(T.type)}> in <${$0((i==null?void 0:i.type)??"unknown parent type")}>. Only <${$0(t.type)}> is supported.`);p++,yield T}b=h.next(E)}return}if(t.key==null||t.type==null)return;let u=this,f={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value??null,level:((i==null?void 0:i.level)??0)+((i==null?void 0:i.type)==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:E3(function*(){if(!t.hasChildNodes||!t.childNodes)return;let d=0;for(let h of t.childNodes()){h.key!=null&&(h.key=`${f.key}${h.key}`);let p=u.getFullNode({...h,index:d},u.getChildState(a,h),f.key,f);for(let b of p)d++,yield b}})};yield f}constructor(){this.cache=new WeakMap}}function E3(e){let t=[],a=null;return{*[Symbol.iterator](){for(let r of t)yield r;a||(a=e());for(let r of a)t.push(r),yield r}}}function $M(e,t){if(e&&t)return a=>e(t(a));if(e)return e;if(t)return t}function $0(e){return e[0].toUpperCase()+e.slice(1)}function zM(e,t,a){let r=y.useMemo(()=>new DM,[]),{children:i,items:s,collection:u}=e;return y.useMemo(()=>{if(u)return u;let d=r.build({children:i,items:s},a);return t(d)},[r,i,s,u,a,t])}function PM(e,t){if(e.size!==t.size)return!1;for(let a of e)if(!t.has(a))return!1;return!0}function OM(e){let{selectionMode:t="none",disallowEmptySelection:a=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:s="all"}=e,u=y.useRef(!1),[,f]=y.useState(!1),d=y.useRef(null),h=y.useRef(null),[,p]=y.useState(null),b=y.useMemo(()=>T3(e.selectedKeys),[e.selectedKeys]),v=y.useMemo(()=>T3(e.defaultSelectedKeys,new Kn),[e.defaultSelectedKeys]),[S,x]=Lu(b,v,e.onSelectionChange),E=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[T,L]=y.useState(i);i==="replace"&&T==="toggle"&&typeof S=="object"&&S.size===0&&L("replace");let M=y.useRef(i);return y.useEffect(()=>{i!==M.current&&(L(i),M.current=i)},[i]),{selectionMode:t,disallowEmptySelection:a,selectionBehavior:T,setSelectionBehavior:L,get isFocused(){return u.current},setFocused(N){u.current=N,f(N)},get focusedKey(){return d.current},get childFocusStrategy(){return h.current},setFocusedKey(N,A="first"){d.current=N,h.current=A,p(N)},selectedKeys:S,setSelectedKeys(N){(r||!PM(N,S))&&x(N)},disabledKeys:E,disabledBehavior:s}}function T3(e,t){return e?e==="all"?"all":new Kn(e):t}const jM=y.createContext(null),Oh=class Oh extends yi{filter(t,a,r){let i=t.getItem(this.firstChildKey);if(i&&r(i.textValue,this)){let s=this.clone();return a.addDescendants(s,t),s}return null}};Oh.type="submenutrigger";let R3=Oh;function IM(e,t){let{role:a="dialog"}=e,r=e2();r=e["aria-label"]?void 0:r;let i=e2();i=a==="alertdialog"&&!e["aria-describedby"]?i:void 0;let s=y.useRef(!1);y.useEffect(()=>{if(t.current&&!jo(t.current)){vl(t.current);let f=setTimeout(()=>{(et()===t.current||et()===document.body)&&(s.current=!0,t.current&&(t.current.blur(),vl(t.current)),s.current=!1)},500);return()=>{clearTimeout(f)}}},[t]),s4(),y.useRef(!1),y.useEffect(()=>{});let u=e["aria-describedby"]??i;return{dialogProps:{...mt(e,{labelable:!0}),role:a,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??r,"aria-describedby":u,onBlur:f=>{s.current&&f.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}const T4=y.createContext(null),xi=y.createContext(null);function BM(e){let t=NM(e),a=y.useRef(null),{triggerProps:r,overlayProps:i}=SM({type:"dialog"},t,a);return r.id=Fn(),i["aria-labelledby"]=r.id,_.createElement(sr,{values:[[xi,t],[jM,t],[T4,i],[c4,{trigger:"DialogTrigger",triggerRef:a,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},_.createElement(WR,{...r,ref:a,isPressed:t.isOpen},e.children))}const HM=y.forwardRef(function(t,a){let r=t["aria-labelledby"];[t,a]=wn(t,a,T4);let{dialogProps:i,titleProps:s,contentProps:u}=IM({...t,"aria-labelledby":r},a),f=y.useContext(xi);!i["aria-label"]&&!i["aria-labelledby"]&&t["aria-labelledby"]&&(i["aria-labelledby"]=t["aria-labelledby"]);let d=Lt({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(f==null?void 0:f.close)||(()=>{})}}),h=mt(t,{global:!0});return _.createElement(ut.section,{...Ee(h,d,i),render:t.render,ref:a,slot:t.slot||void 0},_.createElement(sr,{values:[[d5,{slots:{[fi]:{},title:{...s,level:2}}}],[Du,{slots:{[fi]:{},description:u}}],[ih,{slots:{[fi]:{},close:{onPress:()=>f==null?void 0:f.close()}}}]]},d.children))});function KM(e,t,a){let{overlayProps:r,underlayProps:i}=w5({...e,isOpen:t.isOpen,onClose:t.close},a);return C5({isDisabled:!t.isOpen}),s4(),y.useEffect(()=>{if(t.isOpen&&a.current)return b5([a.current],{shouldUseInert:!0})},[t.isOpen,a]),{modalProps:Ee(r),underlayProps:i}}const UM=y.createContext(null),hh=y.createContext(null),VM=y.forwardRef(function(t,a){if(y.useContext(hh))return _.createElement(M3,{...t,modalRef:a},t.children);let{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,children:h,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:S,...x}=t;return _.createElement(R4,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:S},_.createElement(M3,{...x,modalRef:a},h))});function _M(e,t){[e,t]=wn(e,t,UM);let a=y.useContext(xi),r=uh(e),i=e.isOpen!=null||e.defaultOpen!=null||!a?r:a,s=xn(t),u=y.useRef(null),f=Qc(s,i.isOpen),d=Qc(u,i.isOpen),h=f||d||e.isExiting||!1,p=Na();return!i.isOpen&&!h||p?null:_.createElement(FM,{...e,state:i,isExiting:h,overlayRef:s,modalRef:u})}const R4=y.forwardRef(_M);function FM({UNSTABLE_portalContainer:e,...t}){let a=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:s}=KM(t,r,a),u=Tu(t.overlayRef)||t.isEntering||!1,f=Lt({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),d=fC(),h,p;if(typeof document<"u"){let v=Io(document.body)?document.body:document.scrollingElement||document.documentElement,S=v.getBoundingClientRect().width%1,x=v.getBoundingClientRect().height%1;h=v.scrollWidth-S,p=v.scrollHeight-x}let b={...f.style,"--visual-viewport-width":d.width+"px","--visual-viewport-height":d.height+"px","--page-width":h!==void 0?h+"px":void 0,"--page-height":p!==void 0?p+"px":void 0};return _.createElement(S2,{isExiting:t.isExiting,portalContainer:e},_.createElement(ut.div,{...Ee(mt(t,{global:!0}),s),...f,style:b,ref:t.overlayRef,"data-entering":u||void 0,"data-exiting":t.isExiting||void 0},_.createElement(sr,{values:[[hh,{modalProps:i,modalRef:a,isExiting:t.isExiting,isDismissable:t.isDismissable}],[xi,r]]},f.children)))}function M3(e){let{modalProps:t,modalRef:a,isExiting:r,isDismissable:i}=y.useContext(hh),s=y.useContext(xi),u=y.useMemo(()=>yl(e.modalRef,a),[e.modalRef,a]),f=xn(u),d=Tu(f),h=Lt({...e,defaultClassName:"react-aria-Modal",values:{isEntering:d,isExiting:r,state:s}});return _.createElement(ut.div,{...Ee(mt(e,{global:!0}),t),...h,ref:f,"data-entering":d||void 0,"data-exiting":r||void 0},i&&_.createElement(x2,{onDismiss:s.close}),h.children)}const GM=_.forwardRef(({children:e,...t},a)=>{a=xn(a);let{pressProps:r}=ar({...t,ref:a}),{focusableProps:i}=Yo(t,a),s=_.Children.only(e);y.useEffect(()=>{},[a,t.isDisabled]);let u=parseInt(_.version,10)<19?s.ref:s.props.ref;return _.cloneElement(s,{...Ee(r,i,s.props),ref:yl(u,a)})}),A3=({children:e,className:t,slot:a,style:r,variant:i,...s})=>{const u=y.useMemo(()=>dT({variant:i}),[i]);return C.jsx(f5,{"aria-label":"Close",className:At(t,u),"data-slot":"close-button",slot:a,style:r,type:"button",...s,children:f=>typeof e=="function"?e(f):e??C.jsx(dR,{"data-slot":"close-button-icon"})})},M4=Object.assign(A3,{Root:A3}),qM=y.createContext({}),YM=y.forwardRef(function(t,a){[t,a]=wn(t,a,qM);let{isDisabled:r,isInvalid:i,isReadOnly:s,onHoverStart:u,onHoverChange:f,onHoverEnd:d,...h}=t;r??(r=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let{hoverProps:p,isHovered:b}=Sl({onHoverStart:u,onHoverChange:f,onHoverEnd:d,isDisabled:r}),{isFocused:v,isFocusVisible:S,focusProps:x}=Da({within:!0}),E=Lt({...t,values:{isHovered:b,isFocusWithin:v,isFocusVisible:S,isDisabled:r,isInvalid:i},defaultClassName:"react-aria-Group"});return _.createElement(ut.div,{...Ee(h,x,p),...E,ref:a,role:t.role??"group",slot:t.slot??void 0,"data-focus-within":v||void 0,"data-hovered":b||void 0,"data-focus-visible":S||void 0,"data-disabled":r||void 0,"data-invalid":i||void 0,"data-readonly":s||void 0},E.children)}),XM=y.createContext(null),A4={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},L4={...A4,customError:!0,valid:!1},li={isInvalid:!1,validationDetails:A4,validationErrors:[]},WM=y.createContext({}),su="__reactAriaFormValidationState";function k4(e){if(e[su]){let{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:i,commitValidation:s}=e[su];return{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:i,commitValidation:s}}return ZM(e)}function ZM(e){let{isInvalid:t,validationState:a,name:r,value:i,builtinValidation:s,validate:u,validationBehavior:f="aria"}=e;a&&(t||(t=a==="invalid"));let d=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:L4}:null,h=y.useMemo(()=>{if(!u||i==null)return null;let U=QM(u,i);return L3(U)},[u,i]);s!=null&&s.validationDetails.valid&&(s=void 0);let p=y.useContext(WM),b=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(U=>E2(p[U])):E2(p[r]):[],[p,r]),[v,S]=y.useState(p),[x,E]=y.useState(!1);p!==v&&(S(p),E(!1));let T=y.useMemo(()=>L3(x?[]:b),[x,b]),L=y.useRef(li),[M,N]=y.useState(li),A=y.useRef(li),B=()=>{if(!F)return;$(!1);let U=h||s||L.current;z0(U,A.current)||(A.current=U,N(U))},[F,$]=y.useState(!1);return y.useEffect(B),{realtimeValidation:d||T||h||s||li,displayValidation:f==="native"?d||T||M:d||T||h||s||M,updateValidation(U){f==="aria"&&!z0(M,U)?N(U):L.current=U},resetValidation(){let U=li;z0(U,A.current)||(A.current=U,N(U)),f==="native"&&$(!1),E(!0)},commitValidation(){f==="native"&&$(!0),E(!0)}}}function E2(e){return e?Array.isArray(e)?e:[e]:[]}function QM(e,t){if(typeof e=="function"){let a=e(t);if(a&&typeof a!="boolean")return E2(a)}return[]}function L3(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:L4}:null}function z0(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((a,r)=>a===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([a,r])=>t.validationDetails[a]===r)}const JM=y.createContext(null);class k3{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let a=u=>{if(this.keyMap.set(u.key,u),u.childNodes&&u.type==="section")for(let f of u.childNodes)a(f)};for(let u of t)a(u);let r=null,i=0,s=0;for(let[u,f]of this.keyMap)r?(r.nextKey=u,f.prevKey=r.key):(this.firstKey=u,f.prevKey=void 0),f.type==="item"&&(f.index=i++),(f.type==="section"||f.type==="item")&&s++,r=f,r.nextKey=void 0;this._size=s,this.lastKey=(r==null?void 0:r.key)??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let a=this.keyMap.get(t);return a?a.prevKey??null:null}getKeyAfter(t){let a=this.keyMap.get(t);return a?a.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){const a=[...this.getKeys()];return this.getItem(a[t])}getChildren(t){let a=this.keyMap.get(t);return(a==null?void 0:a.childNodes)||[]}}function eA(e){let{filter:t,layoutDelegate:a}=e,r=OM(e),i=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=y.useCallback(h=>t?new k3(t(h)):new k3(h),[t]),u=y.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=zM(e,s,u),d=y.useMemo(()=>new dh(f,r,{layoutDelegate:a}),[f,r,a]);return N4(f,d),{collection:f,disabledKeys:i,selectionManager:d}}function rP(e,t){let a=y.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(a);return N4(a,r),{collection:a,selectionManager:r,disabledKeys:e.disabledKeys}}function N4(e,t){const a=y.useRef(null);y.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&a.current){let r=a.current.getKeyAfter(t.focusedKey),i=null;for(;r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=a.current.getKeyAfter(r)}if(i==null)for(r=a.current.getKeyBefore(t.focusedKey);r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=a.current.getKeyBefore(r)}t.setFocusedKey(i)}a.current=e},[e,t])}function tA(e,t,a){let{validationBehavior:r,focus:i}=e;De(()=>{if(r==="native"&&(a!=null&&a.current)&&"setCustomValidity"in a.current&&!a.current.disabled){let h=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";a.current.setCustomValidity(h),a.current.hasAttribute("title")||(a.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(aA(a.current))}});let s=y.useRef(!1),u=Vn(()=>{s.current||t.resetValidation()}),f=Vn(h=>{var b,v;t.displayValidation.isInvalid||t.commitValidation();let p=(b=a==null?void 0:a.current)==null?void 0:b.form;!h.defaultPrevented&&a&&p&&lA(p)===a.current&&(i?i():(v=a.current)==null||v.focus(),PT("keyboard")),h.preventDefault()}),d=Vn(()=>{t.commitValidation()});y.useEffect(()=>{let h=a==null?void 0:a.current;if(!h)return;let p=h.form,b=p==null?void 0:p.reset;return p&&(p.reset=()=>{s.current=!window.event||window.event.type==="message"&&ve(window.event)instanceof MessagePort,b==null||b.call(p),s.current=!1}),h.addEventListener("invalid",f),h.addEventListener("change",d),p==null||p.addEventListener("reset",u),()=>{h.removeEventListener("invalid",f),h.removeEventListener("change",d),p==null||p.removeEventListener("reset",u),p&&(p.reset=b)}},[a,r])}function nA(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function aA(e){return{isInvalid:!e.validity.valid,validationDetails:nA(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function lA(e){var t;for(let a=0;a<e.elements.length;a++){let r=e.elements[a];if(((t=r.validity)==null?void 0:t.valid)===!1)return r}return null}function rA(e,t=[]){let a=[];function r(s,u){const f=y.createContext(u);f.displayName=s+"Context";const d=a.length;a=[...a,u];const h=b=>{var L;const{scope:v,children:S,...x}=b,E=((L=v==null?void 0:v[e])==null?void 0:L[d])||f,T=y.useMemo(()=>x,Object.values(x));return C.jsx(E.Provider,{value:T,children:S})};h.displayName=s+"Provider";function p(b,v){var E;const S=((E=v==null?void 0:v[e])==null?void 0:E[d])||f,x=y.useContext(S);if(x)return x;if(u!==void 0)return u;throw new Error(`\`${b}\` must be used within \`${s}\``)}return[h,p]}const i=()=>{const s=a.map(u=>y.createContext(u));return function(f){const d=(f==null?void 0:f[e])||s;return y.useMemo(()=>({[`__scope${e}`]:{...f,[e]:d}}),[f,d])}};return i.scopeName=e,[r,iA(i,...t)]}function iA(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=r.reduce((f,{useScope:d,scopeName:h})=>{const b=d(s)[`__scope${h}`];return{...f,...b}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return a.scopeName=t.scopeName,a}function oA(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...a)=>{var r;return(r=t.current)==null?void 0:r.call(t,...a)},[])}var T2=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{};function N3(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function sA(...e){return t=>{let a=!1;const r=e.map(i=>{const s=N3(i,t);return!a&&typeof s=="function"&&(a=!0),s});if(a)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():N3(e[i],null)}}}}var cA=Symbol.for("react.lazy"),cu=ES[" use ".trim().toString()];function uA(e){return typeof e=="object"&&e!==null&&"then"in e}function D4(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===cA&&"_payload"in e&&uA(e._payload)}function fA(e){const t=dA(e),a=y.forwardRef((r,i)=>{let{children:s,...u}=r;D4(s)&&typeof cu=="function"&&(s=cu(s._payload));const f=y.Children.toArray(s),d=f.find(mA);if(d){const h=d.props.children,p=f.map(b=>b===d?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:b);return C.jsx(t,{...u,ref:i,children:y.isValidElement(h)?y.cloneElement(h,void 0,p):null})}return C.jsx(t,{...u,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function dA(e){const t=y.forwardRef((a,r)=>{let{children:i,...s}=a;if(D4(i)&&typeof cu=="function"&&(i=cu(i._payload)),y.isValidElement(i)){const u=gA(i),f=pA(s,i.props);return i.type!==y.Fragment&&(f.ref=r?sA(r,u):u),y.cloneElement(i,f)}return y.Children.count(i)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hA=Symbol("radix.slottable");function mA(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hA}function pA(e,t){const a={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?a[r]=(...f)=>{const d=s(...f);return i(...f),d}:i&&(a[r]=i):r==="style"?a[r]={...i,...s}:r==="className"&&(a[r]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function gA(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var bA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],mh=bA.reduce((e,t)=>{const a=fA(`Primitive.${t}`),r=y.forwardRef((i,s)=>{const{asChild:u,...f}=i,d=u?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(d,{...f,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),P0={exports:{}},O0={};/**
78
+ * @license React
79
+ * use-sync-external-store-shim.production.js
80
+ *
81
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
82
+ *
83
+ * This source code is licensed under the MIT license found in the
84
+ * LICENSE file in the root directory of this source tree.
85
+ */var D3;function vA(){if(D3)return O0;D3=1;var e=gi();function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var a=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,s=e.useLayoutEffect,u=e.useDebugValue;function f(b,v){var S=v(),x=r({inst:{value:S,getSnapshot:v}}),E=x[0].inst,T=x[1];return s(function(){E.value=S,E.getSnapshot=v,d(E)&&T({inst:E})},[b,S,v]),i(function(){return d(E)&&T({inst:E}),b(function(){d(E)&&T({inst:E})})},[b]),u(S),S}function d(b){var v=b.getSnapshot;b=b.value;try{var S=v();return!a(b,S)}catch{return!0}}function h(b,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:f;return O0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,O0}var $3;function yA(){return $3||($3=1,P0.exports=vA()),P0.exports}var xA=yA();function SA(){return xA.useSyncExternalStore(wA,()=>!0,()=>!1)}function wA(){return()=>{}}var ph="Avatar",[CA]=rA(ph),[EA,$4]=CA(ph),z4=y.forwardRef((e,t)=>{const{__scopeAvatar:a,...r}=e,[i,s]=y.useState("idle");return C.jsx(EA,{scope:a,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:C.jsx(mh.span,{...r,ref:t})})});z4.displayName=ph;var P4="AvatarImage",O4=y.forwardRef((e,t)=>{const{__scopeAvatar:a,src:r,onLoadingStatusChange:i=()=>{},...s}=e,u=$4(P4,a),f=TA(r,s),d=oA(h=>{i(h),u.onImageLoadingStatusChange(h)});return T2(()=>{f!=="idle"&&d(f)},[f,d]),f==="loaded"?C.jsx(mh.img,{...s,ref:t,src:r}):null});O4.displayName=P4;var j4="AvatarFallback",I4=y.forwardRef((e,t)=>{const{__scopeAvatar:a,delayMs:r,...i}=e,s=$4(j4,a),[u,f]=y.useState(r===void 0);return y.useEffect(()=>{if(r!==void 0){const d=window.setTimeout(()=>f(!0),r);return()=>window.clearTimeout(d)}},[r]),u&&s.imageLoadingStatus!=="loaded"?C.jsx(mh.span,{...i,ref:t}):null});I4.displayName=j4;function z3(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function TA(e,{referrerPolicy:t,crossOrigin:a}){const r=SA(),i=y.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[u,f]=y.useState(()=>z3(s,e));return T2(()=>{f(z3(s,e))},[s,e]),T2(()=>{const d=b=>()=>{f(b)};if(!s)return;const h=d("loaded"),p=d("error");return s.addEventListener("load",h),s.addEventListener("error",p),t&&(s.referrerPolicy=t),typeof a=="string"&&(s.crossOrigin=a),()=>{s.removeEventListener("load",h),s.removeEventListener("error",p)}},[s,a,t]),u}var RA=z4,MA=O4,AA=I4;const gh=y.createContext({}),P3=({children:e,className:t,color:a,size:r,variant:i,...s})=>{const u=_.useMemo(()=>sT({color:a,size:r,variant:i}),[a,r,i]);return C.jsx(gh,{value:{slots:u},children:C.jsx(RA,{className:u.base({className:t}),...s,children:e})})},LA=({className:e,crossOrigin:t,loading:a,onError:r,onLoad:i,sizes:s,src:u,srcSet:f,...d})=>{const{slots:h}=_.use(gh);return C.jsx(MA,{className:Je(h==null?void 0:h.image,e),crossOrigin:t,loading:a,sizes:s,src:u,srcSet:f,onError:r,onLoad:i,...d})},kA=({className:e,color:t,...a})=>{const{slots:r}=_.use(gh);return C.jsx(AA,{className:Je(r==null?void 0:r.fallback,e,{color:t}),"data-slot":"avatar-fallback",...a})},j0=Object.assign(P3,{Root:P3,Image:LA,Fallback:kA});function NA(e,t){let{elementType:a="a",onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,...h}=e,p={};a!=="a"&&(p={role:"link",tabIndex:d?void 0:0});let{focusableProps:b}=Yo(e,t),{pressProps:v,isPressed:S}=ar({onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,ref:t}),x=mt(h,{labelable:!0}),E=Ee(b,v),T=qo(),L=dy(e);return{isPressed:S,linkProps:Ee(x,L,{...E,...p,"aria-disabled":d||void 0,"aria-current":e["aria-current"],onClick:M=>{var N;(N=v.onClick)==null||N.call(v,M),Iw(M,T,e.href,e.routerOptions)}})}}const DA=y.createContext(null),$A=y.forwardRef(function(t,a){[t,a]=wn(t,a,DA);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:s}=NA({...t,elementType:r},a),u=ut[r],{hoverProps:f,isHovered:d}=Sl(t),{focusProps:h,isFocused:p,isFocusVisible:b}=Da(),v=Lt({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:s,isHovered:d,isFocused:p,isFocusVisible:b}}),S=mt(t,{global:!0});return delete S.onClick,_.createElement(u,{ref:a,slot:t.slot||void 0,...Ee(S,v,i,f,h),"data-focused":p||void 0,"data-hovered":d||void 0,"data-pressed":s||void 0,"data-focus-visible":b||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},v.children)}),B4=y.createContext({}),O3=({children:e,className:t,...a})=>{const r=_.useMemo(()=>hT(),[]);return C.jsx(B4,{value:{slots:r},children:C.jsx($A,{"data-slot":"link",...a,className:At(t,r==null?void 0:r.base()),children:i=>C.jsx(C.Fragment,{children:typeof e=="function"?e(i):e})})})},zA=({children:e,className:t,...a})=>{const{slots:r}=y.use(B4);return C.jsx(Et.span,{className:Je(r==null?void 0:r.icon,t),"data-default-icon":p2(!e),"data-slot":"link-icon",...a,children:e??C.jsx(fR,{"data-slot":"link-default-icon"})})},Dc=Object.assign(O3,{Root:O3,Icon:zA}),PA=y.createContext({});function H4(e={}){let{isReadOnly:t}=e,[a,r]=Lu(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=y.useState(a);function s(f){t||r(f)}function u(){t||r(!a)}return{isSelected:a,defaultSelected:e.defaultSelected??i,setSelected:s,toggle:u}}const bh=y.createContext({}),K4="__button_group_child",iP=({children:e,className:t,fullWidth:a,isDisabled:r,orientation:i,size:s,variant:u,...f})=>{const d=Mu(PA),h=i??(d==null?void 0:d.orientation)??"horizontal",p=_.useMemo(()=>uT({fullWidth:a,orientation:h}),[a,h]),b=y.Children.map(e,v=>y.isValidElement(v)?_.cloneElement(v,{[K4]:!0}):v);return C.jsx(bh,{value:{slots:p,size:s,variant:u,isDisabled:r,fullWidth:a},children:C.jsx(YM,{className:At(t,p.base()),"data-slot":"button-group",isDisabled:r,...f,children:b})})},oP=({className:e,...t})=>{const{slots:a}=y.use(bh);return C.jsx(Et.span,{"aria-hidden":"true",className:Je(a==null?void 0:a.separator,e),"data-slot":"button-group-separator",...t})},j3=({children:e,className:t,fullWidth:a,isDisabled:r,isIconOnly:i,size:s,slot:u,style:f,variant:d,[K4]:h,...p})=>{const b=y.use(bh),v=h===!0,S=s??(v?b==null?void 0:b.size:void 0),x=d??(v?b==null?void 0:b.variant:void 0),E=r??(v?b==null?void 0:b.isDisabled:void 0),T=a??(v?b==null?void 0:b.fullWidth:void 0),L=cT({fullWidth:T,isIconOnly:i,size:S,variant:x});return C.jsx(f5,{className:At(t,L),"data-slot":"button",isDisabled:E,slot:u,style:f,...p,children:M=>typeof e=="function"?e(M):e})},Mt=Object.assign(j3,{Root:j3}),OA=new WeakMap;function jA(e=!0){let[t,a]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,a(!!s)},[]);return De(()=>{r.current||a(!1)},[]),[i,t]}function I3(e=!0){let t=Fn(),[a,r]=jA(e);return{id:r?t:void 0,ref:a}}function IA(e,t,a){let{isDisabled:r=!1,isReadOnly:i=!1,value:s,name:u,form:f,children:d,isRequired:h,validationBehavior:p="aria","aria-label":b,"aria-labelledby":v,"aria-describedby":S,onPressStart:x,onPressEnd:E,onPressChange:T,onPress:L,onPressUp:M,onClick:N}=e,A=k4({...e,value:t.isSelected}),{isInvalid:B,validationErrors:F,validationDetails:$}=A.displayValidation;tA(e,A,a);let k=J=>{J.stopPropagation(),t.setSelected(ve(J).checked)},{pressProps:K,isPressed:U}=ar({onPressStart:x,onPressEnd:E,onPressChange:T,onPress:L,onPressUp:M,onClick:N,isDisabled:r}),[q,ne]=y.useState(!1),{pressProps:ae}=ar({onPressStart(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}x==null||x(J),T==null||T(!0),ne(!0)},onPressEnd(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}E==null||E(J),T==null||T(!1),ne(!1)},onPressUp(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}M==null||M(J)},onClick:N,onPress(J){var Q;if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}L==null||L(J),t.toggle(),(Q=a.current)==null||Q.focus();let{[su]:G}=e,{commitValidation:D}=G||A;D()},isDisabled:r||i}),{focusableProps:j}=Yo(e,a),W=Ee(K,j),z=mt(e,{labelable:!0});pC(a,t.defaultSelected,t.setSelected);let O=I3(),oe=I3();return{labelProps:Ee(ae,{onClick:J=>J.preventDefault()}),inputProps:Ee(z,{checked:t.isSelected,"aria-required":h&&p==="aria"||void 0,required:h&&p==="native","aria-invalid":B||e.validationState==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,"aria-describedby":[O.id,oe.id,S].filter(Boolean).join(" ")||void 0,onChange:k,disabled:r,...s==null?{}:{value:s},name:u,form:f,type:"checkbox",...W}),descriptionProps:O,errorMessageProps:oe,isSelected:t.isSelected,isPressed:U||q,isDisabled:r,isReadOnly:i,isInvalid:B||e.validationState==="invalid",validationErrors:F,validationDetails:$}}function U4(e,t,a){let{labelProps:r,inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:S}=IA(e,t,a),{isIndeterminate:x}=e;return y.useEffect(()=>{a.current&&(a.current.indeterminate=!!x)}),{labelProps:Ee(r,y.useMemo(()=>({onMouseDown:E=>E.preventDefault()}),[])),inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:S}}function BA(e,t,a){const r=H4({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(E){E?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(E)}});let{name:i,form:s,descriptionId:u,errorMessageId:f,validationBehavior:d}=OA.get(t);d=e.validationBehavior??d;let{realtimeValidation:h}=k4({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),p=y.useRef(li),b=()=>{t.setInvalid(e.value,h.isInvalid?h:p.current)};y.useEffect(b);let v=t.realtimeValidation.isInvalid?t.realtimeValidation:h,S=d==="native"?t.displayValidation:v,x=U4({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||s,isRequired:e.isRequired??t.isRequired,validationBehavior:d,[su]:{realtimeValidation:v,displayValidation:S,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(E){p.current=E,b()}}},r,a);return{...x,inputProps:{...x.inputProps,"aria-describedby":[x.inputProps["aria-describedby"],t.isInvalid?f:null,u].filter(Boolean).join(" ")||void 0}}}const sP=y.createContext(null),HA=y.createContext(null),V4=y.createContext(null),_4=y.createContext(null),KA=y.forwardRef(function(t,a){let{inputRef:r=null,...i}=t;[t,a]=wn(i,a,HA);let s=y.useContext(V4),[u,f]=UA(t,r),{descriptionProps:d,errorMessageProps:h,isSelected:p,isDisabled:b,isReadOnly:v,isInvalid:S,validationDetails:x,validationErrors:E}=u,T=Lt({...t,defaultClassName:"react-aria-CheckboxField",values:{isSelected:p,isIndeterminate:t.isIndeterminate||!1,isDisabled:b,isReadOnly:v,isInvalid:S,isRequired:t.isRequired||!1}}),L=mt(t,{global:!0});return delete L.id,delete L.onClick,_.createElement(ut.div,{...Ee(L,T),ref:a,slot:t.slot||void 0,"data-selected":p||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-disabled":b||void 0,"data-readonly":v||void 0,"data-invalid":S||void 0,"data-required":t.isRequired||void 0},_.createElement(sr,{values:[[_4,{...u,inputRef:f,defaultClassName:"react-aria-CheckboxButton",isIndeterminate:t.isIndeterminate,isRequired:t.isRequired}],[Du,{slots:{description:d,errorMessage:h}}],[XM,s?null:{isInvalid:S,validationDetails:x,validationErrors:E}]]},T.children))});function UA(e,t){let{validationBehavior:a}=Mu(JM)||{},r=e.validationBehavior??a??"native",i=y.useContext(V4),s=xn(y.useMemo(()=>yl(t,e.inputRef!==void 0?e.inputRef:null),[t,e.inputRef])),u={...xT(e),children:typeof e.children=="function"?!0:e.children,value:e.value,validationBehavior:r};return[i?BA(u,i,s):U4(u,H4(e),s),s]}const VA=y.forwardRef(function(t,a){let{labelProps:r,inputProps:i,isSelected:s,isDisabled:u,isReadOnly:f,isPressed:d,isInvalid:h,inputRef:p,defaultClassName:b,isIndeterminate:v,isRequired:S}=y.useContext(_4),{isFocused:x,isFocusVisible:E,focusProps:T}=Da(),L=u||f,{hoverProps:M,isHovered:N}=Sl({...t,isDisabled:L}),A=Lt({...t,defaultClassName:b,values:{isSelected:s,isIndeterminate:v||!1,isPressed:d,isHovered:N,isFocused:x,isFocusVisible:E,isDisabled:u,isReadOnly:f,isInvalid:h,isRequired:S||!1}}),B=mt(t,{global:!0});return delete B.id,delete B.onClick,_.createElement(ut.label,{...Ee(B,r,M,A),ref:a,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":v||void 0,"data-pressed":d||void 0,"data-hovered":N||void 0,"data-focused":x||void 0,"data-focus-visible":E||void 0,"data-disabled":u||void 0,"data-readonly":f||void 0,"data-invalid":h||void 0,"data-required":S||void 0},_.createElement(r4,{elementType:"span"},_.createElement("input",{...Ee(i,T),ref:p})),A.children)}),_A=y.createContext({}),$u=y.createContext({}),R2=({children:e,className:t,variant:a,...r})=>{const i=y.use(_A),s=a??i.variant,u=_.useMemo(()=>fT({variant:s}),[s]);return C.jsx(KA,{"data-slot":"checkbox",...r,className:At(t,u.base()),children:f=>C.jsx($u,{value:{slots:u,state:f},children:typeof e=="function"?e(f):e})})};R2.displayName="HeroUI.Checkbox";const F4=({children:e,className:t,...a})=>{const{slots:r}=y.use($u);return C.jsx(VA,{"data-slot":"checkbox-content",...a,className:At(t,r==null?void 0:r.content()),children:e})};F4.displayName="HeroUI.Checkbox.Content";const G4=({children:e,className:t,...a})=>{const{slots:r}=y.use($u);return C.jsx(Et.span,{className:Je(r==null?void 0:r.control,t),"data-slot":"checkbox-control",...a,children:e})};G4.displayName="HeroUI.Checkbox.Control";const q4=({children:e,className:t,...a})=>{const{slots:r,state:i}=y.use($u),s=i==null?void 0:i.isSelected,u=i==null?void 0:i.isIndeterminate,f=typeof e=="function"?e(i??{}):e||(u?C.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--indeterminate",fill:"none",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeWidth:3,viewBox:"0 0 24 24",children:C.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})}):C.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--checkmark",fill:"none",role:"presentation",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:s?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 17 18",children:C.jsx("polyline",{points:"1 9 7 14 15 4"})}));return C.jsx(Et.span,{"aria-hidden":"true",className:Je(r==null?void 0:r.indicator,t),"data-slot":"checkbox-indicator",...a,children:f})};q4.displayName="HeroUI.Checkbox.Indicator";const hl=Object.assign(R2,{Root:R2,Content:F4,Control:G4,Indicator:q4}),ri={blue:"\x1B[34m",green:"\x1B[32m",magenta:"\x1B[35m",red:"\x1B[31m",reset:"\x1B[0m",yellow:"\x1B[33m"},FA={debug:ri.magenta,error:ri.red,info:ri.blue,success:ri.green,warn:ri.yellow},GA={debug:"🔍",error:"❌",info:"ℹ️",success:"✅",warn:"⚠️"};class qA{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,a){const r=FA[t],i=GA[t];return`${r}[${this.prefix}]${ri.reset} ${i} ${a}`}log(t,a,...r){if(!this.enabled)return;const i=this.formatMessage(t,a);switch(t){case"error":console.error(i,...r);break;case"warn":console.warn(i,...r);break;default:console.log(i,...r)}}info(t,...a){this.log("info",t,...a)}success(t,...a){this.log("success",t,...a)}warn(t,...a){this.log("warn",t,...a)}error(t,...a){this.log("error",t,...a)}debug(t,...a){this.log("debug",t,...a)}divider(t="=",a=80){this.enabled&&console.log(t.repeat(a))}newline(){this.enabled&&console.log()}}new qA({prefix:"HeroUI"});const YA=e=>{const t=`$$heroui.collection.${e}`,a=y.createContext(void 0),r=(d,h)=>y.Children.map(d,p=>y.isValidElement(p)?_.cloneElement(p,{[t]:h}):p),i=d=>{const{[t]:h,...p}=d;return[h,p]},s=d=>{const[h,p]=i(d),b=y.useContext(a);return[h??b,p]},u=({children:d,...h})=>C.jsx(a.Provider,{value:h,children:r(d,h)});return u.displayName=`HeroUI.CollectionSlot(${e})`,{key:t,inject:r,consume:i,useSlot:s,Injector:u,withSlot:(d,h)=>{const p=y.forwardRef(function(v,S){const[x,E]=s(v),{children:T,...L}=E;if(!x)return C.jsx(d,{...L,ref:S,children:T});if(h)return h({...L,children:T},x,S);const{className:M,render:N,...A}=x;return C.jsx(d,{...L,ref:S,children:N?N({children:T,className:M,...A}):C.jsx("div",{className:M,"data-slot":`${e}-container`,...A,children:T})})});return p.displayName=`HeroUI.withCollectionSlot(${d.displayName||d.name||e})`,p},Context:a}},XA=e=>{const{containerRef:t,isEnabled:a,offset:r,onVisibilityChange:i,orientation:s,visibility:u}=e,f=y.useRef(null),d=y.useRef(null),h=y.useCallback(()=>{const p=t.current;if(!p)return;const b=s==="vertical",v=b?p.scrollTop:Math.abs(p.scrollLeft),S=b?p.scrollHeight:p.scrollWidth,x=b?p.clientHeight:p.clientWidth,E=v>r,T=v+x+r<S-1,L=f.current;L&&L.hasScrollBefore===E&&L.hasScrollAfter===T||(f.current={hasScrollBefore:E,hasScrollAfter:T},d.current!==null&&cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{d.current=null,b?E&&T?(p.dataset.topBottomScroll="true",delete p.dataset.topScroll,delete p.dataset.bottomScroll,i==null||i("both")):(p.dataset.topScroll=String(E),p.dataset.bottomScroll=String(T),delete p.dataset.topBottomScroll,i&&i(E?"top":T?"bottom":"none")):E&&T?(p.dataset.leftRightScroll="true",delete p.dataset.leftScroll,delete p.dataset.rightScroll,i==null||i("both")):(p.dataset.leftScroll=String(E),p.dataset.rightScroll=String(T),delete p.dataset.leftRightScroll,i&&i(E?"left":T?"right":"none"))}))},[t,s,r,i]);y.useEffect(()=>{const p=t.current;if(!p||!a||u!=="auto")return;h(),p.addEventListener("scroll",h,{passive:!0});const b=new ResizeObserver(h);return b.observe(p),()=>{p.removeEventListener("scroll",h),b.disconnect(),d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),f.current=null}},[t,u,a,h])},WA=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect,M2=({children:e,className:t,hideScrollBar:a=!1,isEnabled:r=!0,offset:i=0,onVisibilityChange:s,orientation:u="vertical",ref:f,size:d=40,variant:h="fade",visibility:p="auto",...b})=>{const v=y.useRef(null);XA({containerRef:v,isEnabled:r,offset:i,onVisibilityChange:s,orientation:u,visibility:p}),WA(()=>{const E=v.current;!E||p==="auto"||(delete E.dataset.topScroll,delete E.dataset.bottomScroll,delete E.dataset.topBottomScroll,delete E.dataset.leftScroll,delete E.dataset.rightScroll,delete E.dataset.leftRightScroll,p==="both"?E.dataset[u==="vertical"?"topBottomScroll":"leftRightScroll"]="true":p!=="none"&&(E.dataset[`${p}Scroll`]="true"))},[p,u]);const S=y.useMemo(()=>mT({hideScrollBar:a,orientation:u,variant:h}),[u,a,h]),x={"--scroll-shadow-size":`${d}px`,...b.style};return C.jsx("div",{ref:yl(v,f),className:S.base({className:t}),"data-orientation":u,"data-scroll-shadow-size":d,"data-slot":"scroll-shadow",style:x,...b,children:e})};M2.displayName="HeroUI.ScrollShadow";const ZA=Object.assign(M2,{Root:M2}),QA=({...e})=>{const t=y.useId();return C.jsxs("svg",{"data-slot":"spinner-icon",viewBox:"0 0 24 24",...e,children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:`«data-slot-icon-def-1»-${t}`,x1:"50%",x2:"50%",y1:"5.271%",y2:"91.793%",children:[C.jsx("stop",{offset:"0%",stopColor:"currentColor"}),C.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]}),C.jsxs("linearGradient",{id:`«data-slot-icon-def-2»-${t}`,x1:"50%",x2:"50%",y1:"15.24%",y2:"87.15%",children:[C.jsx("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:0}),C.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]})]}),C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),C.jsx("path",{d:"M8.749.021a1.5 1.5 0 0 1 .497 2.958A7.5 7.5 0 0 0 3 10.375a7.5 7.5 0 0 0 7.5 7.5v3c-5.799 0-10.5-4.7-10.5-10.5C0 5.23 3.726.865 8.749.021",fill:`url(#«data-slot-icon-def-1»-${t})`,transform:"translate(1.5 1.625)"}),C.jsx("path",{d:"M15.392 2.673a1.5 1.5 0 0 1 2.119-.115A10.48 10.48 0 0 1 21 10.375c0 5.8-4.701 10.5-10.5 10.5v-3a7.5 7.5 0 0 0 5.007-13.084a1.5 1.5 0 0 1-.115-2.118",fill:`url(#«data-slot-icon-def-2»-${t})`,transform:"translate(1.5 1.625)"})]})]})},B3=({className:e,color:t,size:a,...r})=>C.jsx(Et.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:pT({className:e,color:t,size:a}),children:C.jsx(QA,{"aria-hidden":!0})}),JA=Object.assign(B3,{Root:B3}),uu=Object.assign(Xb,{Root:Xb}),Y4=12,X4=3,W4=Number.MAX_SAFE_INTEGER,Z4=.05,eL=460,Q4=4e3;var J4={};J4={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var e6={};e6={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var t6={};t6={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var n6={};n6={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var a6={};a6={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var l6={};l6={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var r6={};r6={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var i6={};i6={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var o6={};o6={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var s6={};s6={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var c6={};c6={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var u6={};u6={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var f6={};f6={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var d6={};d6={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var h6={};h6={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var m6={};m6={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var p6={};p6={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var g6={};g6={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var b6={};b6={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var v6={};v6={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var y6={};y6={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var x6={};x6={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var S6={};S6={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var w6={};w6={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var C6={};C6={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var E6={};E6={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var T6={};T6={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var R6={};R6={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var M6={};M6={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var A6={};A6={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var L6={};L6={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var k6={};k6={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var N6={};N6={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var D6={};D6={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var vh={};vh={"ar-AE":J4,"bg-BG":e6,"cs-CZ":t6,"da-DK":n6,"de-DE":a6,"el-GR":l6,"en-US":r6,"es-ES":i6,"et-EE":o6,"fi-FI":s6,"fr-FR":c6,"he-IL":u6,"hr-HR":f6,"hu-HU":d6,"it-IT":h6,"ja-JP":m6,"ko-KR":p6,"lt-LT":g6,"lv-LV":b6,"nb-NO":v6,"nl-NL":y6,"pl-PL":x6,"pt-BR":S6,"pt-PT":w6,"ro-RO":C6,"ru-RU":E6,"sk-SK":T6,"sl-SI":R6,"sr-SP":M6,"sv-SE":A6,"tr-TR":L6,"uk-UA":k6,"zh-CN":N6,"zh-TW":D6};function tL(e){return e&&e.__esModule?e.default:e}function nL(e,t,a){let{key:r,timer:i,timeout:s}=e.toast;y.useEffect(()=>{if(!(i==null||s==null))return i.reset(s),()=>{i.pause()}},[i,s]);let u=Fn(),f=e2(),d=ch(tL(vh),"@react-aria/toast"),[h,p]=y.useState(!1);return De(()=>{p(!0)},[]),{toastProps:{...mt(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||u,"aria-describedby":e["aria-describedby"]||f,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":h?void 0:"true"},titleProps:{id:u},descriptionProps:{id:f},closeButtonProps:{"aria-label":d.format("close"),onPress:()=>t.close(r)}}}const $6=1,I0=Symbol.for("react-aria-landmark-manager");function aL(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function H3(){if(typeof document>"u")return null;let e=document[I0];return e&&e.version>=$6?e:(document[I0]=new rL,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[I0])}function lL(){return fh.useSyncExternalStore(aL,H3,H3)}class rL{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=$6,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,a){var r,i;(i=(r=this.landmarks.find(s=>s.ref.current===t))==null?void 0:r.focus)==null||i.call(r,a)}getLandmarksByRole(t){return new Set(this.landmarks.filter(a=>a.role===t))}getLandmarkByRole(t){return this.landmarks.find(a=>a.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(i=>i.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(i=>i.role==="main").length>1,this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let a=0,r=this.landmarks.length-1;for(;a<=r;){let i=Math.floor((a+r)/2),s=t.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);!!(s&Node.DOCUMENT_POSITION_PRECEDING||s&Node.DOCUMENT_POSITION_CONTAINS)?a=i+1:r=i-1}this.landmarks.splice(a,0,t),this.checkLabels(t.role)}updateLandmark(t){let a=this.landmarks.findIndex(r=>r.ref===t.ref);a>=0&&(this.landmarks[a]={...this.landmarks[a],...t},this.checkLabels(this.landmarks[a].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(a=>a.ref!==t),this.teardownIfNeeded()}checkLabels(t){let a=this.getLandmarksByRole(t);a.size>1&&[...a].filter(r=>!r.label)}closestLandmark(t){let a=new Map(this.landmarks.map(i=>[i.ref.current,i])),r=t;for(;r&&!a.has(r)&&r!==document.body&&r.parentElement;)r=r.parentElement;return a.get(r)}getNextLandmark(t,{backward:a}){var f;let r=this.closestLandmark(t),i=a?this.landmarks.length-1:0;r&&(i=this.landmarks.indexOf(r)+(a?-1:1));let s=()=>{if(i<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;i=this.landmarks.length-1}else if(i>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;i=0}return i<0||i>=this.landmarks.length};if(s())return;let u=i;for(;(f=this.landmarks[i].ref.current)!=null&&f.closest("[aria-hidden=true]");){if(i+=a?-1:1,s())return;if(i===u)break}return this.landmarks[i]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(ve(t),t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&t.ref.current.isConnected?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,a){let r=this.getNextLandmark(t,{backward:a});if(!r)return!1;if(r.lastFocused){let i=r.lastFocused;if(Be(document.body,i))return i.focus(),!0}return r.ref.current&&r.ref.current.isConnected?(this.focusLandmark(r.ref.current,a?"backward":"forward"),!0):!1}focusinHandler(t){let a=this.closestLandmark(ve(t));a&&a.ref.current!==ve(t)&&this.updateLandmark({ref:a.ref,lastFocused:ve(t)});let r=t.relatedTarget;if(r){let i=this.closestLandmark(r);i&&i.ref.current===r&&i.blur()}}focusoutHandler(t){let a=ve(t),r=t.relatedTarget;if(!r||r===document){let i=this.closestLandmark(a);i&&i.ref.current===a&&i.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(a,r){let i=(r==null?void 0:r.from)||document.activeElement;return t.navigate(i,a==="backward")},focusNext(a){let r=(a==null?void 0:a.from)||document.activeElement;return t.navigate(r,!1)},focusPrevious(a){let r=(a==null?void 0:a.from)||document.activeElement;return t.navigate(r,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(a=>a.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}}function iL(e,t){const{role:a,"aria-label":r,"aria-labelledby":i,focus:s}=e;let u=lL(),f=r||i,[d,h]=y.useState(!1),p=y.useCallback(()=>{h(!0)},[h]),b=y.useCallback(()=>{h(!1)},[h]);return De(()=>{if(u)return u.registerLandmark({ref:t,label:f,role:a,focus:s||p,blur:b})},[u,f,t,a,s,p,b]),y.useEffect(()=>{var v;d&&((v=t.current)==null||v.focus())},[d,t]),{landmarkProps:{role:a,tabIndex:d?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function oL(e){return e&&e.__esModule?e.default:e}function sL(e,t,a){let r=ch(oL(vh),"@react-aria/toast"),{landmarkProps:i}=iL({role:"region","aria-label":e["aria-label"]||r.format("notifications",{count:t.visibleToasts.length})},a),s=y.useRef(!1),u=y.useRef(!1),f=y.useCallback(()=>{s.current||u.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:d}=Sl({onHoverStart:()=>{s.current=!0,f()},onHoverEnd:()=>{s.current=!1,f()}}),h=y.useRef([]),p=y.useRef(t.visibleToasts),b=y.useRef(null);De(()=>{var T;if(b.current===-1||t.visibleToasts.length===0||!a.current){h.current=[],p.current=t.visibleToasts;return}if(h.current=[...a.current.querySelectorAll('[role="alertdialog"]')],p.current.length===t.visibleToasts.length&&t.visibleToasts.every((L,M)=>L.key===p.current[M].key)){p.current=t.visibleToasts;return}let x=p.current.map((L,M)=>({...L,i:M,isRemoved:!t.visibleToasts.some(N=>L.key===N.key)})),E=x.findIndex(L=>L.i===b.current&&L.isRemoved);if(E>-1)if(pl()==="pointer"&&((T=v.current)!=null&&T.isConnected))nn(v.current);else{let L=0,M,N;for(;L<=E;)x[L].isRemoved||(N=Math.max(0,L-1)),L++;for(;L<x.length;){if(!x[L].isRemoved){M=L-1;break}L++}N===void 0&&M===void 0&&(N=0),N>=0&&N<h.current.length?nn(h.current[N]):M>=0&&M<h.current.length&&nn(h.current[M])}p.current=t.visibleToasts},[t.visibleToasts,a]);let v=y.useRef(null),{focusWithinProps:S}=Xo({onFocusWithin:x=>{u.current=!0,v.current=x.relatedTarget,f()},onBlurWithin:()=>{u.current=!1,v.current=null,f()}});return y.useEffect(()=>{var x;t.visibleToasts.length===0&&((x=v.current)!=null&&x.isConnected)&&(pl()==="pointer"?nn(v.current):v.current.focus(),v.current=null)},[a,t.visibleToasts.length]),y.useEffect(()=>()=>{var x;(x=v.current)!=null&&x.isConnected&&(pl()==="pointer"?nn(v.current):v.current.focus(),v.current=null)},[a]),{regionProps:Ee(i,d,S,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:x=>{let E=ve(x).closest('[role="alertdialog"]');b.current=h.current.findIndex(T=>T===E)},onBlur:()=>{b.current=-1}})}}function cL(e){let t=y.useCallback(i=>e.subscribe(i),[e]),a=y.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:fh.useSyncExternalStore(t,a,a),add:(i,s)=>e.add(i,s),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class uL{constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=(t==null?void 0:t.maxVisibleToasts)??1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}runWithWrapUpdate(t,a){this.wrapUpdate?this.wrapUpdate(t,a):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,a={}){let r="_"+Math.random().toString(36).slice(2),i={...a,content:t,key:r,timer:a.timeout?new fL(()=>this.close(r),a.timeout):void 0};return this.queue.unshift(i),this.updateVisibleToasts("add"),r}close(t){var r,i;let a=this.queue.findIndex(s=>s.key===t);a>=0&&((i=(r=this.queue[a]).onClose)==null||i.call(r),this.queue.splice(a,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let a of this.subscriptions)a()},t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class fL{constructor(t,a){this.startTime=null,this.remaining=a,this.callback=t}reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}const zu=y.createContext(null),dL=y.forwardRef(function(t,a){let r=Na(),i=cL(t.queue),s=xn(a),{regionProps:u}=sL(t,i,s),{focusProps:f,isFocused:d,isFocusVisible:h}=Da(),{hoverProps:p,isHovered:b}=Sl({}),v=Lt({...t,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:i.visibleToasts,isHovered:b,isFocused:d,isFocusVisible:h}}),{direction:S}=vi(),x,{getContainer:E}=i4();r||(x=document.body,E&&(x=E()));let T=mt(t,{global:!0}),L=_.createElement(zu.Provider,{value:i},_.createElement(ut.div,{...Ee(T,v,u,f,p),dir:S,ref:s,"data-hovered":b||void 0,"data-focused":d||void 0,"data-focus-visible":h||void 0},typeof t.children=="function"?_.createElement(hL,{...t,render:void 0,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&x?la.createPortal(L,x):null}),hL=y.forwardRef(function(t,a){let r=y.useContext(zu),{hoverProps:i,isHovered:s}=Sl({}),u=Lt({...t,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:r.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:s}});return _.createElement(ut.ol,{...i,...u,ref:a},r.visibleToasts.map(f=>_.createElement("li",{key:f.key,style:{display:"contents"}},t.children({toast:f}))))}),mL=y.forwardRef(function(t,a){let r=y.useContext(zu),i=xn(a),{toastProps:s,contentProps:u,titleProps:f,descriptionProps:d,closeButtonProps:h}=nL(t,r,i),{focusProps:p,isFocused:b,isFocusVisible:v}=Da(),S=Lt({...t,defaultClassName:"react-aria-Toast",values:{toast:t.toast,isFocused:b,isFocusVisible:v}}),x=mt(t,{global:!0});return _.createElement(ut.div,{...Ee(x,S,s,p),ref:i,"data-focused":b||void 0,"data-focus-visible":v||void 0},_.createElement(sr,{values:[[z6,u],[Du,{slots:{[fi]:{},title:f,description:d}}],[ih,{slots:{[fi]:{},close:h}}]]},S.children))}),z6=y.createContext({}),pL=y.forwardRef(function(t,a){return[t,a]=wn(t,a,z6),_.createElement(ut.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:a},t.children)});class Wo{constructor(t){this.maxVisibleToasts=t==null?void 0:t.maxVisibleToasts;let a=Promise.resolve();const r=i=>{if(typeof document>"u"||!("startViewTransition"in document)){i();return}const s=()=>{const u=document.startViewTransition(()=>{la.flushSync(i)});return u.ready.catch(()=>{}),u.finished.catch(()=>{})};a=a.then(s,s)};this.queue=new uL({maxVisibleToasts:W4,wrapUpdate:(t==null?void 0:t.wrapUpdate)??r})}add(t,a){const r=(a==null?void 0:a.timeout)!==void 0?a.timeout:Q4;return this.queue.add(t,{...a,timeout:r})}close(t){this.queue.close(t)}pauseAll(){this.queue.pauseAll()}resumeAll(){this.queue.resumeAll()}clear(){this.queue.clear()}subscribe(t){return this.queue.subscribe(t)}get visibleToasts(){return this.queue.visibleToasts}getQueue(){return this.queue}}function gL(e){const t=(a,r)=>{const i=(r==null?void 0:r.timeout)!==void 0?r.timeout:Q4;return e.add({title:a,description:r==null?void 0:r.description,indicator:r==null?void 0:r.indicator,variant:(r==null?void 0:r.variant)||"default",actionProps:r==null?void 0:r.actionProps,isLoading:r==null?void 0:r.isLoading},{timeout:i,onClose:()=>{requestAnimationFrame(()=>{var s;(s=r==null?void 0:r.onClose)==null||s.call(r)})}})};return t.success=(a,r)=>t(a,{...r,variant:"success"}),t.danger=(a,r)=>t(a,{...r,variant:"danger"}),t.info=(a,r)=>t(a,{...r,variant:"accent"}),t.warning=(a,r)=>t(a,{...r,variant:"warning"}),t.promise=(a,r)=>{const i=typeof a=="function"?a():a,s=e.add({title:r.loading,variant:"default",isLoading:!0},{timeout:0});return i.then(u=>{const f=typeof r.success=="function"?r.success(u):r.success;return e.close(s),t.success(f)}).catch(u=>{const f=typeof r.error=="function"?r.error(u):r.error;return e.close(s),t.danger(f)}),s},t.getQueue=()=>e.getQueue(),t.close=a=>e.close(a),t.pauseAll=()=>e.pauseAll(),t.resumeAll=()=>e.resumeAll(),t.clear=()=>e.clear(),t}const bL=new Wo({maxVisibleToasts:W4}),P6=gL(bL),vL=e=>{const[t,a]=y.useState(void 0),r=y.useCallback(()=>{if(e.current){const i=e.current.scrollHeight;a(s=>s!==i?i:s)}},[e]);return y.useEffect(()=>{const i=e.current;if(!i)return;const s=new ResizeObserver(r),u=new MutationObserver(f=>{f.some(h=>h.type==="attributes"&&h.attributeName==="aria-hidden")&&r()});return s.observe(i),u.observe(i,{attributeFilter:["aria-hidden"],attributes:!0}),()=>{s.disconnect(),u.disconnect()}},[e,r]),{height:t}},O6=typeof window<"u"?y.useLayoutEffect:y.useEffect,yL=typeof window>"u";function xL(e,{defaultValue:t=!1,initializeWithValue:a=!0}={}){const r=f=>yL?t:window.matchMedia(f).matches,[i,s]=y.useState(()=>a?r(e):t);function u(){s(r(e))}return O6(()=>{const f=window.matchMedia(e);return u(),f.addListener?f.addListener(u):f.addEventListener("change",u),()=>{f.removeListener?f.removeListener(u):f.removeEventListener("change",u)}},[e]),i}const wl=y.createContext({}),yh=({children:e,className:t,placement:a,scaleFactor:r=Z4,toast:i,variant:s,...u})=>{const{gap:f=Y4,heightsByKey:d,maxVisibleToasts:h=X4,onToastHeightChange:p,onToastHeightRemove:b,placement:v,scaleFactor:S,slots:x}=y.use(wl),E=a??v,T=r??S,M=y.use(zu).visibleToasts,N=M.indexOf(i),A=N<=0,B=E==null?void 0:E.startsWith("bottom"),F=N>=h,$=i==null?void 0:i.key,k=y.useRef(null),{height:K}=vL(k);y.useEffect(()=>{$&&typeof K=="number"&&(p==null||p($,K))},[$,K,p]),y.useEffect(()=>{if($)return()=>{b==null||b($)}},[$,b]),y.useLayoutEffect(()=>{const q=k.current;q&&(q.tabIndex=A?0:-1)},[A]);const U=y.useMemo(()=>{var z;const q=(z=M[0])==null?void 0:z.key,ne=(q?d==null?void 0:d[q]:void 0)??K??0,ae=N*f,j=(B?-1:1)*ae;return{scale:`${1-N*T}`,translate:`0 ${j}px 0`,viewTransitionName:`toast-${String(i.key).replace(/[^a-zA-Z0-9]/g,"-")}`,zIndex:M.length-N,...ne?{"--front-height":`${ne}px`}:null,opacity:F?0:1,pointerEvents:F?"none":"auto",...u.style}},[T,f,d,N,B,A,F,u.style,i==null?void 0:i.key,K,M]);return C.jsx(mL,{ref:k,"aria-hidden":F,className:At(t,x==null?void 0:x.toast({variant:s})),"data-frontmost":p2(A),"data-hidden":p2(F),"data-index":N,"data-slot":"toast",style:U,toast:i,...u,children:e})};yh.displayName="HeroUI.Toast";const j6=({children:e,className:t,...a})=>{const{slots:r}=y.use(wl);return C.jsx(pL,{className:Je(r==null?void 0:r.content,t),"data-slot":"toast-content",...a,children:e})},fu=({children:e,className:t,variant:a,...r})=>{const{slots:i}=y.use(wl),s=y.useCallback(()=>{switch(a){case"accent":return C.jsx(ru,{"data-slot":"toast-default-icon"});case"success":return C.jsx(p5,{"data-slot":"toast-default-icon"});case"warning":return C.jsx(h5,{"data-slot":"toast-default-icon"});case"danger":return C.jsx(m5,{"data-slot":"toast-default-icon"});default:return C.jsx(ru,{"data-slot":"toast-default-icon"})}},[a]);return C.jsx(Et.div,{className:Je(i==null?void 0:i.indicator,t),"data-slot":"toast-indicator",...r,children:e??s()})};fu.displayName="HeroUI.ToastIndicator";const xh=({children:e,className:t,...a})=>{const{slots:r}=y.use(wl);return C.jsx(C4,{className:Je(r==null?void 0:r.title,t),"data-slot":"toast-title",slot:"title",...a,children:e})};xh.displayName="HeroUI.ToastTitle";const Sh=({children:e,className:t,...a})=>{const{slots:r}=y.use(wl);return C.jsx(C4,{className:Je(r==null?void 0:r.description,t),"data-slot":"toast-description",slot:"description",...a,children:e})};Sh.displayName="HeroUI.ToastDescription";const wh=({className:e,...t})=>{const{slots:a}=y.use(wl);return C.jsx(M4,{className:At(e,a==null?void 0:a.close()),"data-slot":"toast-close",slot:"close",...t})};wh.displayName="HeroUI.ToastCloseButton";const du=({children:e,className:t,...a})=>{var i;const{slots:r}=y.use(wl);return C.jsx(Mt,{className:At(t,(i=r==null?void 0:r.action)==null?void 0:i.call(r)),"data-slot":"toast-action-button",...a,children:e})};du.displayName="HeroUI.ToastActionButton";const I6=({children:e,className:t,gap:a=Y4,maxVisibleToasts:r,placement:i="bottom",queue:s,scaleFactor:u=Z4,width:f=eL,...d})=>{const h=y.useMemo(()=>vT({placement:i}),[i]),p=xL("(max-width: 768px)"),[b,v]=_.useState({}),S=y.useMemo(()=>s?s.getQueue():P6.getQueue(),[s]),x=y.useMemo(()=>{const M=s&&"maxVisibleToasts"in s?s.maxVisibleToasts:void 0;return r??M??X4},[r,s]),E=y.useCallback((M,N)=>{v(A=>A[M]===N?A:{...A,[M]:N})},[]),T=y.useCallback(M=>{v(N=>{if(!(M in N))return N;const A={...N};return delete A[M],A})},[]),L=y.useCallback(M=>{const{actionProps:N,description:A,indicator:B,isLoading:F,title:$,variant:k}=M.toast.content??{};return C.jsxs(yh,{placement:i,scaleFactor:u,toast:M.toast,variant:k,children:[B===null?null:F?C.jsx(fu,{variant:k,children:C.jsx(JA,{color:"current",size:"sm"})}):C.jsx(fu,{variant:k,children:B}),C.jsxs(j6,{children:[!!$&&C.jsx(xh,{children:$}),!!A&&C.jsx(Sh,{children:A}),p&&(N!=null&&N.children)?C.jsx(du,{...N,children:N.children}):null]}),!p&&(N!=null&&N.children)?C.jsx(du,{...N,children:N.children}):null,C.jsx(wh,{})]})},[p,i,u]);return C.jsx(dL,{className:At(t,h==null?void 0:h.region()),"data-slot":"toast-region",queue:S,style:{"--gap":`${a}px`,"--placement":i,"--scale-factor":u,"--toast-width":typeof f=="number"?`${f}px`:f},...d,children:M=>{const N=M.toast.content,A={...M,isLoading:(N==null?void 0:N.isLoading)??!1};return C.jsx(wl,{value:{gap:a,heightsByKey:b,maxVisibleToasts:x,onToastHeightChange:E,onToastHeightRemove:T,placement:i,scaleFactor:u,slots:h,width:f},children:typeof e>"u"?L(M):typeof e=="function"?e(A):e})}})};I6.displayName="HeroUI.ToastProvider";const Ch=Object.assign(yh,{Provider:I6,Content:j6,Indicator:fu,Title:xh,Description:Sh,ActionButton:du,CloseButton:wh,Queue:Wo,toast:P6}),B6=new WeakMap;function hu(e,t,a){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${B6.get(e)}-${a}-${t}`):""}function SL(e,t,a){let{key:r,isDisabled:i,shouldSelectOnPressUp:s}=e,{selectionManager:u,selectedKey:f}=t,d=r===f,h=i||t.isDisabled||t.selectionManager.isDisabled(r),p=t.collection.getItem(r),{itemProps:b,isPressed:v}=MM({selectionManager:u,key:r,ref:a,isDisabled:h,shouldSelectOnPressUp:s??(p==null?void 0:p.props.href)!=null,linkBehavior:"selection"}),S=hu(t,r,"tab"),x=hu(t,r,"tabpanel"),{tabIndex:E}=b,T=mt(p==null?void 0:p.props,{labelable:!0});delete T.id;let L=dy(p==null?void 0:p.props),{focusableProps:M}=Yo({...p==null?void 0:p.props,isDisabled:h},a);return{tabProps:Ee(T,M,L,b,{id:S,"aria-selected":d,"aria-disabled":h||void 0,"aria-controls":d?x:void 0,tabIndex:h?void 0:E,role:"tab"}),isSelected:d,isDisabled:h,isPressed:v}}function wL(e,t){let a=t==null?void 0:t.isDisabled,[r,i]=y.useState(!1);return De(()=>{if(e!=null&&e.current&&!a){let s=()=>{if(e.current){let f=aa(e.current,{tabbable:!0});i(!!f.nextNode())}};s();let u=new MutationObserver(s);return u.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{u.disconnect()}}}),a?!1:r}function CL(e,t,a){let r=wL(a)?void 0:0;const i=hu(t,e.id??(t==null?void 0:t.selectedKey),"tabpanel"),s=q2({...e,id:i,"aria-labelledby":hu(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Ee(s,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class EL{constructor(t,a,r,i=new Set){this.collection=t,this.flipDirection=a==="rtl"&&r==="horizontal",this.disabledKeys=i,this.tabDirection=r==="horizontal"}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var a,r;return this.disabledKeys.has(t)||!!((r=(a=this.collection.getItem(t))==null?void 0:a.props)!=null&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let a=t;do a=this.collection.getKeyAfter(a),a==null&&(a=this.collection.getFirstKey());while(a!=null&&this.isDisabled(a)&&a!==t);return a}getPreviousKey(t){let a=t;do a=this.collection.getKeyBefore(a),a==null&&(a=this.collection.getLastKey());while(a!=null&&this.isDisabled(a)&&a!==t);return a}}function TL(e,t,a){let{orientation:r="horizontal",keyboardActivation:i="automatic"}=e,{collection:s,selectionManager:u,disabledKeys:f}=t,{direction:d}=vi(),h=y.useMemo(()=>new EL(s,d,r,f),[s,f,r,d]),{collectionProps:p}=RM({ref:a,selectionManager:u,keyboardDelegate:h,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:a,linkBehavior:"selection"}),b=Fn();B6.set(t,b);let v=q2({...e,id:b});return{tabListProps:{...Ee(p,v),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function RL(e){let[t,a]=Lu(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=y.useMemo(()=>t!=null?[t]:[],[t]),{collection:i,disabledKeys:s,selectionManager:u}=eA({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;let h=d.values().next().value??null;h===t&&e.onSelectionChange&&e.onSelectionChange(h),a(h)}}),f=t!=null?i.getItem(t):null;return{collection:i,disabledKeys:s,selectionManager:u,selectedKey:t,setSelectedKey:a,selectedItem:f}}function ML(e){let t=RL({...e,onSelectionChange:e.onSelectionChange?u=>{var f;u!=null&&((f=e.onSelectionChange)==null||f.call(e,u))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??K3(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:a,collection:r,selectedKey:i}=t,s=y.useRef(i);return y.useEffect(()=>{let u=i;e.selectedKey==null&&(a.isEmpty||u==null||!r.getItem(u))&&(u=K3(r,t.disabledKeys),u!=null&&a.setSelectedKeys([u])),(u!=null&&a.focusedKey==null||!a.isFocused&&u!==s.current)&&a.setFocusedKey(u),s.current=u}),{...t,isDisabled:e.isDisabled||!1}}function K3(e,t){var r,i,s,u;let a=null;if(e){for(a=e.getFirstKey();a!=null&&(t.has(a)||(i=(r=e.getItem(a))==null?void 0:r.props)!=null&&i.isDisabled)&&a!==e.getLastKey();)a=e.getKeyAfter(a);a!=null&&(t.has(a)||(u=(s=e.getItem(a))==null?void 0:s.props)!=null&&u.isDisabled)&&a===e.getLastKey()&&(a=e.getFirstKey())}return a}const Pu=y.createContext(null),lr=y.createContext(null),AL=y.forwardRef(function(t,a){[t,a]=wn(t,a,Pu);let{children:r,orientation:i="horizontal"}=t;return r=y.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),_.createElement(aM,{content:r},s=>_.createElement(LL,{props:t,collection:s,tabsRef:a}))});function LL({props:e,tabsRef:t,collection:a}){let{orientation:r="horizontal"}=e,i=ML({...e,collection:a,children:void 0}),{focusProps:s,isFocused:u,isFocusVisible:f}=Da({within:!0}),d=y.useMemo(()=>({orientation:r,isFocusWithin:u,isFocusVisible:f}),[r,u,f]),h=Lt({...e,defaultClassName:"react-aria-Tabs",values:d}),p=mt(e,{global:!0});return _.createElement(ut.div,{...Ee(p,h,s),ref:t,slot:e.slot||void 0,"data-focused":u||void 0,"data-orientation":r,"data-focus-visible":f||void 0,"data-disabled":i.isDisabled||void 0},_.createElement(sr,{values:[[Pu,e],[lr,i]]},h.children))}const U3=y.forwardRef(function(t,a){return y.useContext(lr)?_.createElement(kL,{props:t,forwardedRef:a}):_.createElement(uM,t)});function kL({props:e,forwardedRef:t}){let a=y.useContext(lr),{CollectionRoot:r}=y.useContext(v4),{orientation:i="horizontal",keyboardActivation:s="automatic"}=Mu(Pu),u=xn(t),{tabListProps:f}=TL({...e,orientation:i,keyboardActivation:s},a,u),d=Lt({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:a}}),h=mt(e,{global:!0});return delete h.id,_.createElement(ut.div,{...Ee(h,d,f),ref:u,"data-orientation":i||void 0},_.createElement(gM,null,_.createElement(r,{collection:a.collection,persistedKeys:hM(a.selectionManager.focusedKey)})))}const jh=class jh extends yi{};jh.type="item";let A2=jh;const NL=cM(A2,(e,t,a)=>{let r=y.useContext(lr),i=xn(t),{tabProps:s,isSelected:u,isDisabled:f,isPressed:d}=SL({key:a.key,...e},r,i),{focusProps:h,isFocused:p,isFocusVisible:b}=Da(),{hoverProps:v,isHovered:S}=Sl({isDisabled:f,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),x=Lt({...e,id:void 0,children:a.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:u,isDisabled:f,isFocused:p,isFocusVisible:b,isPressed:d,isHovered:S}}),E=a.props.href?ut.a:ut.div,T=mt(e,{global:!0});return delete T.id,delete T.onClick,_.createElement(E,{...Ee(T,x,s,h,v),ref:i,"data-selected":u||void 0,"data-disabled":f||void 0,"data-focused":p||void 0,"data-focus-visible":b||void 0,"data-pressed":d||void 0,"data-hovered":S||void 0},_.createElement(w4.Provider,{value:{isSelected:u}},x.children))}),DL=Zy(function(t,a){const r=y.useContext(lr);let i=xn(a),s=r.selectedKey===t.id,[u,f]=y.useState(r.selectedKey!=null?s:null);u==null&&r.selectedKey!=null?f(s):!s&&u&&f(!1);let d=Qc(i,s);return!s&&!t.shouldForceMount&&!d?null:_.createElement($L,{...t,tabPanelRef:i,isInitiallySelected:u||!1,isExiting:d})});function $L(e){let t=y.useContext(lr),{id:a,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...u}=e,{tabPanelProps:f}=CL(e,t,r),{focusProps:d,isFocused:h,isFocusVisible:p}=Da(),b=t.selectedKey===e.id,v=Tu(r)&&!i,S=Lt({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:Ab(!b),isEntering:v,isExiting:s,state:t}}),x=mt(u,{global:!0});delete x.id;let E=b?Ee(x,f,d,S):Ee(x,S);return _.createElement(ut.div,{...E,ref:r,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:Ab(!b||e.inert),"data-inert":b?void 0:"true","data-entering":v||void 0,"data-exiting":s||void 0},_.createElement(sr,{values:[[Pu,null],[lr,null]]},_.createElement(v4.Provider,{value:b4},S.children)))}const Si=y.createContext({}),H6=YA("tabs.listContainer"),V3=({children:e,className:t,orientation:a="horizontal",variant:r,...i})=>{const s=_.useMemo(()=>bT({variant:r}),[r]);return C.jsx(Si,{value:{orientation:a,slots:s},children:C.jsx(AL,{...i,className:At(t,s.base()),"data-slot":"tabs",orientation:a,children:e})})},zL=({children:e,className:t,render:a,...r})=>C.jsx(H6.Injector,{...r,className:t,render:a,children:e}),PL=({children:e,className:t,...a})=>{const{orientation:r="horizontal",slots:i}=y.use(Si),s=y.useRef(null),u=r==="vertical",[f,d]=H6.useSlot(a),h=y.useCallback(S=>{const x=s.current;if(!x)return;const E=u?x.clientHeight:x.clientWidth,T=u?x.scrollHeight:x.scrollWidth,L=Math.max(0,T-E),M=!u&&getComputedStyle(x).direction==="rtl",N=S*E*.8*(M?-1:1),A=u?x.scrollTop:x.scrollLeft,B=Math.min(M?0:L,Math.max(M?-L:0,A+N));B!==A&&x.scrollTo({behavior:"smooth",[u?"top":"left"]:B})},[u]);if(!f)return C.jsx(U3,{...d,className:At(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",children:e});const{className:p,render:b,...v}=f;return C.jsx(U3,{...d,className:At(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",render:S=>{const{children:x,className:E,ref:T,...L}=S;return C.jsxs(Et.div,{className:Je(i==null?void 0:i.tabListContainer,p),"data-slot":"tabs-list-container",render:b,...v,children:[C.jsx(ZA,{ref:s,hideScrollBar:!0,className:Je(i==null?void 0:i.scroller),orientation:r,size:64,children:C.jsx("div",{...L,ref:T,className:E,children:x})}),C.jsx("button",{"aria-label":u?"Scroll tabs up":"Scroll tabs left",className:Je(i==null?void 0:i.scrollPrev),tabIndex:-1,type:"button",onClick:()=>h(-1),children:u?C.jsx(sR,{}):C.jsx(cR,{})}),C.jsx("button",{"aria-label":u?"Scroll tabs down":"Scroll tabs right",className:Je(i==null?void 0:i.scrollNext),tabIndex:-1,type:"button",onClick:()=>h(1),children:u?C.jsx(oR,{}):C.jsx(uR,{})})]})},children:e})},OL=({children:e,className:t,...a})=>{const{slots:r}=y.use(Si);return C.jsx(NL,{...a,className:At(t,r==null?void 0:r.tab()),"data-slot":"tabs-tab",children:e})},jL=({className:e,...t})=>{const{slots:a}=y.use(Si);return C.jsx(vM,{className:Je(a==null?void 0:a.tabIndicator,e),"data-slot":"tabs-indicator",...t})},IL=({children:e,className:t,...a})=>{const{slots:r}=y.use(Si);return C.jsx(DL,{...a,className:At(t,r==null?void 0:r.tabPanel()),"data-slot":"tabs-panel",children:e})},BL=({className:e,...t})=>{const{slots:a}=y.use(Si);return C.jsx(Et.span,{"aria-hidden":"true",className:Je(a==null?void 0:a.separator,e),"data-slot":"tabs-separator",...t})},rl=Object.assign(V3,{Root:V3,ListContainer:zL,List:PL,Tab:OL,Indicator:jL,Separator:BL,Panel:IL}),Zo=y.createContext({}),_3=({children:e,className:t,status:a,...r})=>{const i=_.useMemo(()=>oT({status:a}),[a]);return C.jsx(Zo,{value:{slots:i,status:a},children:C.jsx(oh,{value:{variant:"default"},children:C.jsx(Et.div,{className:i==null?void 0:i.base({className:t}),"data-slot":"alert-root",...r,children:e})})})},HL=({children:e,className:t,...a})=>{const{slots:r,status:i}=y.use(Zo),s=()=>{switch(i){case"accent":return C.jsx(ru,{"data-slot":"alert-default-icon"});case"success":return C.jsx(p5,{"data-slot":"alert-default-icon"});case"warning":return C.jsx(h5,{"data-slot":"alert-default-icon"});case"danger":return C.jsx(m5,{"data-slot":"alert-default-icon"});default:return C.jsx(ru,{"data-slot":"alert-default-icon"})}};return C.jsx(Et.div,{className:Je(r==null?void 0:r.indicator,t),"data-slot":"alert-indicator",...a,children:e??s()})},KL=({children:e,className:t,...a})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.div,{className:Je(r==null?void 0:r.content,t),"data-slot":"alert-content",...a,children:e})},UL=({children:e,className:t,...a})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.p,{className:Je(r==null?void 0:r.title,t),"data-slot":"alert-title",...a,children:e})},VL=({children:e,className:t,...a})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.span,{className:Je(r==null?void 0:r.description,t),"data-slot":"alert-description",...a,children:e})},Co=Object.assign(_3,{Root:_3,Indicator:HL,Content:KL,Title:UL,Description:VL}),vn=y.createContext({}),F3=({children:e,state:t,...a})=>{const r=y.useMemo(()=>({slots:ah(),placement:void 0}),[]),i=y.useMemo(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return C.jsx(vn,{value:r,children:C.jsx(BM,{"data-slot":"modal-root",...Ee(a,i),children:e})})},_L=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(GM,{children:C.jsx(Et.div,{className:Je(r==null?void 0:r.trigger,t),"data-slot":"modal-trigger",role:"button",...a,children:e})})},FL=({children:e,className:t,isDismissable:a=!0,onClick:r,variant:i,...s})=>{const{slots:u}=y.use(vn),f=y.useMemo(()=>ah({variant:i}),[i]),d=y.useMemo(()=>({slots:{...u,...f}}),[u,f]);return C.jsx(R4,{className:At(t,f==null?void 0:f.backdrop()),"data-slot":"modal-backdrop",isDismissable:a,onClick:h=>{h.stopPropagation(),r==null||r(h)},...s,children:h=>C.jsxs(vn,{value:d,children:[typeof e=="function"?e(h):e," "]})})},GL=({children:e,className:t,placement:a="auto",scroll:r,size:i,...s})=>{const{slots:u}=y.use(vn),f=y.useMemo(()=>ah({scroll:r,size:i}),[r,i]),d=y.useMemo(()=>({placement:a,slots:{...u,...f}}),[u,a,f]);return C.jsx(VM,{className:At(t,f==null?void 0:f.container()),"data-placement":a,"data-slot":"modal-container",...s,children:h=>C.jsx(vn,{value:d,children:typeof e=="function"?e(h):e})})},qL=({children:e,className:t,...a})=>{const{placement:r,slots:i}=y.use(vn);return C.jsx(oh,{value:{variant:"default"},children:C.jsx(HM,{className:Je(i==null?void 0:i.dialog,t),"data-placement":r,"data-slot":"modal-dialog",...a,children:e})})},YL=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.header,t),"data-slot":"modal-header",...a,children:e})},XL=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.body,t),"data-slot":"modal-body",...a,children:e})},WL=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.footer,t),"data-slot":"modal-footer",...a,children:e})},ZL=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(iR,{className:Je(r==null?void 0:r.heading,t),"data-slot":"modal-heading",slot:"title",...a,children:e})},QL=({children:e,className:t,...a})=>{const{slots:r}=y.use(vn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.icon,t),"data-slot":"modal-icon",...a,children:e})},JL=({className:e,...t})=>{const{slots:a}=y.use(vn);return C.jsx(M4,{className:At(e,a==null?void 0:a.closeTrigger()),"data-slot":"modal-close-trigger",slot:"close",...t})},Re=Object.assign(F3,{Root:F3,Trigger:_L,Backdrop:FL,Container:GL,Dialog:qL,Header:YL,Icon:QL,Heading:ZL,Body:XL,Footer:WL,CloseTrigger:JL}),G3="heroui-theme",K6="(prefers-color-scheme: dark)";function ek(e){if(typeof window>"u")return()=>{};const t=window.matchMedia(K6);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function tk(){var e;return(e=window.matchMedia)!=null&&e.call(window,K6).matches?"dark":"light"}function nk(){}function ak(e,t){t!==e&&(t&&document.documentElement.classList.remove(t),document.documentElement.classList.add(e),document.documentElement.setAttribute("data-theme",e))}function lk(e="system"){const[t,a]=y.useState(()=>typeof window>"u"?e:localStorage.getItem(G3)??e),r=y.useSyncExternalStore(ek,tk,nk),i=t==="system"?r:t,s=y.useRef(void 0);O6(()=>{i&&(ak(i,s.current),s.current=i)},[i]);const u=y.useCallback(f=>{typeof window>"u"||(localStorage.setItem(G3,f),a(f))},[]);return{resolvedTheme:i,setTheme:u,theme:t}}function rk(e){return e==="system"||e==="light"||e==="dark"}const ik={system:"light",light:"dark",dark:"system"},U6=y.createContext(null);function ok({children:e}){const{theme:t,resolvedTheme:a,setTheme:r}=lk("system"),i=a==="dark"?"dark":"light",s=rk(t)?t:"system",u=y.useRef(s),f=y.useCallback(p=>{u.current=p,r(p)},[r]),d=y.useCallback(()=>{f(ik[u.current])},[f]),h=y.useMemo(()=>({theme:i,themeMode:s,setThemeMode:f,toggleTheme:d}),[i,s,f,d]);return C.jsx(U6.Provider,{value:h,children:e})}function cP(){const e=y.useContext(U6);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}const sk=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.53 11.78a.75.75 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.22 1.22V1.75a.75.75 0 0 1 1.5 0v7.69l1.22-1.22a.75.75 0 1 1 1.06 1.06zM1.75 13.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),ck=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})),uk=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})),fk=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0",clipRule:"evenodd"})),L2="https://lf3-cdn-tos.draftstatic.com/obj/ies-hotsoon-draft/juejin/7b28b328-1ae4-4781-8d46-430fef1b872e.html";async function dk(){var t;const e=(t=window.tud)==null?void 0:t.openExternal;if(typeof e=="function"){await e(L2);return}window.open(L2,"_blank","noopener,noreferrer")}function hk({isOpen:e,onOpenChange:t,onConfirm:a}){const[r,i]=y.useState(!1);return y.useEffect(()=>{e&&i(!1)},[e]),C.jsx(Re.Backdrop,{isOpen:e,onOpenChange:t,variant:"opaque",children:C.jsx(Re.Container,{size:"sm",children:C.jsxs(Re.Dialog,{children:[C.jsx(Re.CloseTrigger,{"aria-label":"关闭"}),C.jsx(Re.Header,{children:C.jsx(Re.Heading,{children:"用户协议"})}),C.jsxs(Re.Body,{className:"space-y-4 text-sm leading-6 text-muted",children:[C.jsx("p",{children:"关联掘金账号后,本机用量数据将在您开启云端同步时上传至掘金服务。请先阅读并同意相关协议。"}),C.jsx(hl,{id:"juejin-login-consent",isSelected:r,onChange:i,children:C.jsxs(hl.Content,{children:[C.jsx(hl.Control,{children:C.jsx(hl.Indicator,{})}),C.jsxs("span",{children:["我已阅读并同意",C.jsx("button",{className:"mx-0.5 text-accent underline underline-offset-2 hover:opacity-80",onClick:s=>{s.preventDefault(),s.stopPropagation(),dk()},type:"button",children:"《稀土掘金隐私政策》"}),",并同意上传数据"]})]})})]}),C.jsxs(Re.Footer,{className:"gap-2",children:[C.jsx(Mt,{slot:"close",variant:"tertiary",children:"取消"}),C.jsx(Mt,{isDisabled:!r,onPress:()=>{t(!1),a()},variant:"primary",children:"同意并登录"})]})]})})})}const mk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",pk="/assets/antigravity-color-DgAQAdn3.svg",gk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eAmp%3c/title%3e%3cpath%20d='M15.087%2023.18L12.03%2024l-2.097-7.823-5.738%205.738-2.251-2.251%205.718-5.719-7.769-2.082.82-3.057%2011.294%203.08%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M19.505%2018.762l-3.057.82-2.564-9.573-9.572-2.564.819-3.057%2011.295%203.079%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M23.893%2014.374l-3.057.82-2.565-9.572L8.7%203.057%209.52%200l11.295%203.08%203.079%2011.294z'%20fill='%23F34E3F'%3e%3c/path%3e%3c/svg%3e",bk="/assets/autoclaw-CP85Wy6L.svg",vk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%20Code%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M20.998%2010.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6%2010.949h1.488V8.102H6v2.847zm10.51%200H18V8.102h-1.49v2.847z'%20fill='%23D97757'%20fill-rule='evenodd'%3e%3c/path%3e%3c/svg%3e",yk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCline%3c/title%3e%3cpath%20d='M17.035%203.991c2.75%200%204.98%202.24%204.98%205.003v1.667l1.45%202.896a1.01%201.01%200%2001-.002.909l-1.448%202.864v1.668c0%202.762-2.23%205.002-4.98%205.002H7.074c-2.751%200-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01%201.01%200%2001-.003-.927l1.482-2.887V8.994c0-2.763%202.23-5.003%204.98-5.003h9.962zM8.265%209.6a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20004.547%200v-4.042A2.274%202.274%200%20008.265%209.6zm7.326%200a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20104.548%200v-4.042A2.274%202.274%200%200015.59%209.6z'%3e%3c/path%3e%3cpath%20d='M12.054%205.558a2.779%202.779%200%20100-5.558%202.779%202.779%200%20000%205.558z'%3e%3c/path%3e%3c/svg%3e",q3="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodeBuddy%3c/title%3e%3cpath%20d='M18.821%200H5.18A5.179%205.179%200%20000%205.179V18.82A5.179%205.179%200%20005.179%2024H18.82A5.179%205.179%200%200024%2018.821V5.18A5.179%205.179%200%200018.821%200z'%20fill='url(%23lobe-icons-code-buddy-_R_0_)'%3e%3c/path%3e%3cpath%20d='M18.777%201.647c.28-.02.536.114.972.51%201.018.926%202.437%202.828%203.318%204.452l.34.631.482.24.11.06v3.638a5.206%205.206%200%2000-5.32-1.23c-.491.166-1.021.471-2.08%201.082l-6.09%203.516c-1.057.61-1.586.916-1.975%201.259a5.208%205.208%200%2000-1.493%205.572c.165.49.471%201.02%201.082%202.08l.315.543h-3.26c-.685%200-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846%2011.846%200%2001-.057-1.711l.02-.444-.667-1.18C2.1%2015.622%201.445%2014.078%201.192%2012.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175%203.162-.017%205.575.41l.25.043.551-.487c.915-.81%201.522-1.264%202.641-1.962%201.167-.73%202.484-1.331%203.967-1.807l.476-.152.261-.688c.937-2.471%201.896-4.293%202.58-4.9.235-.21.25-.22.422-.23z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.139%2018.2a1.203%201.203%200%20011.642.44l1.296%202.243a1.204%201.204%200%2001-2.083%201.203l-1.296-2.243a1.203%201.203%200%2001.44-1.644zM18.629%2014.452a1.203%201.203%200%20011.642.44l1.295%202.244a1.203%201.203%200%2011-2.083%201.203l-1.295-2.243a1.203%201.203%200%2001.44-1.644z'%20fill='%23fff'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='0'%20cy='0'%20gradientTransform='matrix(-9.00009%20-16%2016%20-9.00009%2021%2024.5)'%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-code-buddy-_R_0_'%20r='1'%3e%3cstop%20stop-color='%232EA99D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%236C4DFF'%3e%3c/stop%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",xk="data:image/svg+xml,%3csvg%20width='446'%20height='446'%20viewBox='0%200%20446%20446'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M226.665%2018.1979H218.375C166.389%2018.1979%20129.23%2018.2366%20100.991%2022.0332C73.2761%2025.7594%2056.8935%2032.8027%2044.8481%2044.8481C32.8027%2056.8935%2025.7594%2073.2761%2022.0332%20100.991C18.2365%20129.23%2018.1979%20166.389%2018.1979%20218.375V226.665C18.1979%20278.651%2018.2365%20315.809%2022.0332%20344.048C25.7594%20371.764%2032.8027%20388.146%2044.8481%20400.192C56.8935%20412.237%2073.276%20419.28%20100.991%20423.007C129.23%20426.803%20166.389%20426.842%20218.375%20426.842H226.665C278.651%20426.842%20315.809%20426.803%20344.048%20423.007C371.764%20419.28%20388.146%20412.237%20400.191%20400.192C412.237%20388.146%20419.28%20371.764%20423.006%20344.048C426.803%20315.809%20426.842%20278.651%20426.842%20226.665V218.375C426.842%20166.389%20426.803%20129.23%20423.006%20100.991C419.28%2073.2761%20412.237%2056.8935%20400.191%2044.8481C388.146%2032.8027%20371.764%2025.7594%20344.048%2022.0332C315.809%2018.2366%20278.651%2018.1979%20226.665%2018.1979ZM31.9803%2031.9803C0%2063.9605%200%20115.432%200%20218.375V226.665C0%20329.608%200%20381.079%2031.9803%20413.059C63.9605%20445.04%20115.432%20445.04%20218.375%20445.04H226.665C329.608%20445.04%20381.079%20445.04%20413.059%20413.059C445.04%20381.079%20445.04%20329.608%20445.04%20226.665V218.375C445.04%20115.432%20445.04%2063.9605%20413.059%2031.9803C381.079%200%20329.608%200%20226.665%200H218.375C115.432%200%2063.9605%200%2031.9803%2031.9803Z'%20fill='black'/%3e%3cpath%20d='M306.202%2085.5845C276.837%2085.5845%20252.95%20109.472%20252.95%20138.837V161.66H192.09V138.837C192.09%20109.472%20168.202%2085.5845%20138.837%2085.5845C109.472%2085.5845%2085.5845%20109.472%2085.5845%20138.837C85.5845%20168.202%20109.472%20192.09%20138.837%20192.09H161.66V252.95H138.837C109.472%20252.95%2085.5845%20276.837%2085.5845%20306.202C85.5845%20335.568%20109.472%20359.455%20138.837%20359.455C168.202%20359.455%20192.09%20335.568%20192.09%20306.202V283.38H252.95V306.202C252.95%20335.568%20276.837%20359.455%20306.202%20359.455C335.567%20359.455%20359.455%20335.568%20359.455%20306.202C359.455%20276.837%20335.567%20252.95%20306.202%20252.95H283.38V192.09H306.202C335.567%20192.09%20359.455%20168.202%20359.455%20138.837C359.455%20109.472%20335.567%2085.5845%20306.202%2085.5845ZM283.38%20161.66V138.837C283.38%20126.209%20293.574%20116.015%20306.202%20116.015C318.831%20116.015%20329.025%20126.209%20329.025%20138.837C329.025%20151.466%20318.831%20161.66%20306.202%20161.66H283.38ZM138.837%20161.66C126.209%20161.66%20116.015%20151.466%20116.015%20138.837C116.015%20126.209%20126.209%20116.015%20138.837%20116.015C151.466%20116.015%20161.66%20126.209%20161.66%20138.837V161.66H138.837ZM192.09%20252.95V192.09H252.95V252.95H192.09ZM306.202%20329.025C293.574%20329.025%20283.38%20318.831%20283.38%20306.202V283.38H306.202C318.831%20283.38%20329.025%20293.574%20329.025%20306.202C329.025%20318.831%20318.831%20329.025%20306.202%20329.025ZM138.837%20329.025C126.209%20329.025%20116.015%20318.831%20116.015%20306.202C116.015%20293.574%20126.209%20283.38%20138.837%20283.38H161.66V306.202C161.66%20318.831%20151.466%20329.025%20138.837%20329.025Z'%20fill='black'/%3e%3c/svg%3e",Y3="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",Sk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCopilot%3c/title%3e%3cpath%20d='M17.533%201.829A2.528%202.528%200%200015.11%200h-.737a2.531%202.531%200%2000-2.484%202.087l-1.263%206.937.314-1.08a2.528%202.528%200%20012.424-1.833h4.284l1.797.706%201.731-.706h-.505a2.528%202.528%200%2001-2.423-1.829l-.715-2.453z'%20fill='url(%23lobe-icons-copilot-0-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M6.726%2020.16A2.528%202.528%200%20009.152%2022h1.566c1.37%200%202.49-1.1%202.525-2.48l.17-6.69-.357%201.228a2.528%202.528%200%2001-2.423%201.83h-4.32l-1.54-.842-1.667.843h.497c1.124%200%202.113.75%202.426%201.84l.697%202.432z'%20fill='url(%23lobe-icons-copilot-1-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-2-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-3-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-4-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-5-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='85.44%25'%20cy='100.653%25'%20fx='85.44%25'%20fy='100.653%25'%20gradientTransform='scale(-.8553%20-1)%20rotate(50.927%202.041%20-1.946)'%20id='lobe-icons-copilot-0-_R_0_'%20r='105.116%25'%3e%3cstop%20offset='9.6%25'%20stop-color='%2300AEFF'%3e%3c/stop%3e%3cstop%20offset='77.3%25'%20stop-color='%232253CE'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%230736C4'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='18.143%25'%20cy='32.928%25'%20fx='18.143%25'%20fy='32.928%25'%20gradientTransform='scale(.8897%201)%20rotate(52.069%20.193%20.352)'%20id='lobe-icons-copilot-1-_R_0_'%20r='95.612%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB657'%3e%3c/stop%3e%3cstop%20offset='63.4%25'%20stop-color='%23FF5F3D'%3e%3c/stop%3e%3cstop%20offset='92.3%25'%20stop-color='%23C02B3C'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='82.987%25'%20cy='-9.792%25'%20fx='82.987%25'%20fy='-9.792%25'%20gradientTransform='scale(-1%20-.9441)%20rotate(-70.872%20.142%201.17)'%20id='lobe-icons-copilot-4-_R_0_'%20r='140.622%25'%3e%3cstop%20offset='6.6%25'%20stop-color='%238C48FF'%3e%3c/stop%3e%3cstop%20offset='50%25'%20stop-color='%23F2598A'%3e%3c/stop%3e%3cstop%20offset='89.6%25'%20stop-color='%23FFB152'%3e%3c/stop%3e%3c/radialGradient%3e%3clinearGradient%20id='lobe-icons-copilot-2-_R_0_'%20x1='39.465%25'%20x2='46.884%25'%20y1='12.117%25'%20y2='103.774%25'%3e%3cstop%20offset='15.6%25'%20stop-color='%230D91E1'%3e%3c/stop%3e%3cstop%20offset='48.7%25'%20stop-color='%2352B471'%3e%3c/stop%3e%3cstop%20offset='65.2%25'%20stop-color='%2398BD42'%3e%3c/stop%3e%3cstop%20offset='93.7%25'%20stop-color='%23FFC800'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-3-_R_0_'%20x1='45.949%25'%20x2='50%25'%20y1='0%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%233DCBFF'%3e%3c/stop%3e%3cstop%20offset='24.7%25'%20stop-color='%230588F7'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-5-_R_0_'%20x1='83.507%25'%20x2='83.453%25'%20y1='-6.106%25'%20y2='21.131%25'%3e%3cstop%20offset='5.8%25'%20stop-color='%23F8ADFA'%3e%3c/stop%3e%3cstop%20offset='70.8%25'%20stop-color='%23A86EDD'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",wk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCursor%3c/title%3e%3cpath%20d='M22.106%205.68L12.5.135a.998.998%200%2000-.998%200L1.893%205.68a.84.84%200%2000-.419.726v11.186c0%20.3.16.577.42.727l9.607%205.547a.999.999%200%2000.998%200l9.608-5.547a.84.84%200%2000.42-.727V6.407a.84.84%200%2000-.42-.726zm-.603%201.176L12.228%2022.92c-.063.108-.228.064-.228-.061V12.34a.59.59%200%2000-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264%200%20.428.286.296.514z'%3e%3c/path%3e%3c/svg%3e",Ck="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDevin%3c/title%3e%3cpath%20d='M2.033%209.867l2.554%201.483a.589.589%200%2000.592%200l2.554-1.483.01-.008a.608.608%200%2000.11-.084l.013-.015a.631.631%200%2000.076-.1c.003-.005.008-.01.01-.016a.558.558%200%2000.052-.125l.007-.028a.611.611%200%2000.019-.14V7.868c0-.572.307-1.105.8-1.392a1.595%201.595%200%20011.598%200l1.277.742a.54.54%200%2000.129.053l.028.01c.044.01.088.015.133.016h.006l.013-.002a.587.587%200%2000.27-.074l.011-.004%202.554-1.483a.596.596%200%2000.297-.516V2.253a.595.595%200%2000-.297-.516L12.293.257a.587.587%200%2000-.591%200L9.148%201.737l-.01.01a.609.609%200%2000-.109.083l-.014.015a.632.632%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.028a.612.612%200%2000-.018.14v1.483c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.603.603%200%2000-.13-.053l-.028-.008a.658.658%200%2000-.133-.018h-.02a.57.57%200%2000-.269.074c-.003.002-.008.002-.012.005L2.033%205.872a.596.596%200%2000-.297.515v2.966c0%20.213.113.41.297.515z'%20fill='%233969CA'%3e%3c/path%3e%3cpath%20d='M15.943%2010.607a1.596%201.596%200%20011.599%200l1.276.74c.041.025.085.04.13.055l.028.008c.043.01.088.016.133.018h.005c.005%200%20.01-.002.014-.003a.474.474%200%2000.122-.016l.021-.005a.616.616%200%2000.126-.052c.004-.002.009-.002.013-.005l2.554-1.482a.597.597%200%2000.297-.516V6.383a.596.596%200%2000-.297-.515l-2.552-1.483a.587.587%200%2000-.592%200l-2.553%201.482-.011.008a.61.61%200%2000-.108.084l-.014.016a.637.637%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.029a.612.612%200%2000-.018.14v1.482c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.584.584%200%2000-.13-.053l-.028-.008a.62.62%200%2000-.133-.018h-.02a.587.587%200%2000-.269.074l-.012.004L9.15%2010a.596.596%200%2000-.296.516v2.966c0%20.212.112.409.296.515l2.554%201.483s.008.002.012.005c.04.022.082.04.126.052l.02.004a.57.57%200%2000.123.017l.014.002h.006c.054%200%20.108-.01.16-.025a.587.587%200%2000.13-.054l1.277-.741a1.597%201.597%200%20012.398%201.392v1.482c0%20.049.007.095.019.14l.007.028a.619.619%200%2000.051.125c.004.006.008.01.01.016a.6.6%200%2000.076.1l.014.015c.033.032.069.06.108.084.004.002.006.006.011.008l2.554%201.483a.59.59%200%2000.593%200l2.554-1.483a.597.597%200%2000.296-.516v-2.965a.595.595%200%2000-.296-.516l-2.554-1.483s-.008-.002-.012-.005a.54.54%200%2000-.126-.051c-.007-.003-.013-.003-.02-.005a.635.635%200%2000-.125-.017h-.018a.557.557%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.595%201.595%200%2001-1.598%200%201.615%201.615%200%20010-2.785l-.005-.001z'%20fill='%2321C19A'%3e%3c/path%3e%3cpath%20d='M14.848%2018.265l-2.554-1.482-.012-.005a.526.526%200%2000-.126-.052c-.007-.002-.014-.002-.02-.005a.64.64%200%2000-.124-.017h-.02a.56.56%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.594%201.594%200%2001-1.598%200c-.493-.286-.8-.82-.8-1.393V14.65a.563.563%200%2000-.018-.14l-.008-.028a.604.604%200%2000-.051-.124l-.01-.017a.603.603%200%2000-.076-.1l-.014-.015a.596.596%200%2000-.109-.084c-.003-.002-.005-.006-.01-.008L5.178%2012.65a.587.587%200%2000-.591%200l-2.554%201.483a.596.596%200%2000-.297.516v2.965c0%20.213.113.41.297.516l2.554%201.483.012.004a.618.618%200%2000.267.074l.016.002h.007a.55.55%200%2000.16-.026.584.584%200%2000.129-.053l1.277-.742a1.597%201.597%200%20012.398%201.393v1.482c0%20.05.007.095.019.14l.007.028c.013.044.03.085.051.125l.01.016c.022.036.047.07.076.1l.014.015c.032.032.069.06.109.084l.01.008%202.554%201.483a.587.587%200%2000.593%200l2.554-1.483a.596.596%200%2000.296-.515v-2.966a.596.596%200%2000-.296-.516h-.002z'%20fill='%230294DE'%3e%3c/path%3e%3c/svg%3e",Ek="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%3c/title%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='%233186FF'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-2-_R_0_)'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-0-_R_0_'%20x1='7'%20x2='11'%20y1='15.5'%20y2='12'%3e%3cstop%20stop-color='%2308B962'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2308B962'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-1-_R_0_'%20x1='8'%20x2='11.5'%20y1='5.5'%20y2='11'%3e%3cstop%20stop-color='%23F94543'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23F94543'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-2-_R_0_'%20x1='3.5'%20x2='17.5'%20y1='13.5'%20y2='12'%3e%3cstop%20stop-color='%23FABC12'%3e%3c/stop%3e%3cstop%20offset='.46'%20stop-color='%23FABC12'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Tk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%20CLI%3c/title%3e%3cpath%20d='M0%204.391A4.391%204.391%200%20014.391%200h15.217A4.391%204.391%200%200124%204.391v15.217A4.391%204.391%200%200119.608%2024H4.391A4.391%204.391%200%20010%2019.608V4.391z'%20fill='url(%23lobe-icons-gemini-cli-_R_0_)'%3e%3c/path%3e%3cpath%20clip-rule='evenodd'%20d='M19.74%201.444a2.816%202.816%200%20012.816%202.816v15.48a2.816%202.816%200%2001-2.816%202.816H4.26a2.816%202.816%200%2001-2.816-2.816V4.26A2.816%202.816%200%20014.26%201.444h15.48zM7.236%208.564l7.752%203.728-7.752%203.727v2.802l9.557-4.596v-3.866L7.236%205.763v2.801z'%20fill='%231E1E2E'%20fill-rule='evenodd'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-cli-_R_0_'%20x1='24'%20x2='0'%20y1='6.587'%20y2='16.494'%3e%3cstop%20stop-color='%23EE4D5D'%3e%3c/stop%3e%3cstop%20offset='.328'%20stop-color='%23B381DD'%3e%3c/stop%3e%3cstop%20offset='.476'%20stop-color='%23207CFE'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Rk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGoose%3c/title%3e%3cpath%20d='M21.595%2023.61c1.167-.254%202.405-.944%202.405-.944l-2.167-1.784a12.124%2012.124%200%2001-2.695-3.131%2012.127%2012.127%200%2000-3.97-4.049l-.794-.462a1.115%201.115%200%2001-.488-.815.844.844%200%2001.154-.575c.413-.582%202.548-3.115%202.94-3.44.503-.416%201.065-.762%201.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272%201.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639%201.021%200%200-.597-.012-1.305.599a2.464%202.464%200%2000-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743%201.083-1.16%201.587-.323.391-2.857%202.526-3.44%202.94a.842.842%200%2001-.574.153%201.115%201.115%200%2001-.815-.488l-.462-.794a12.123%2012.123%200%2000-4.049-3.97%2012.133%2012.133%200%2001-3.13-2.695L1.332%200S.643%201.238.39%202.405c.352.428%201.27%201.49%202.34%202.302C1.58%204.167.73%203.75.06%203.4c-.103.765-.063%201.92.043%202.816.726.317%201.961.806%203.219%201.066-1.006.236-2.11.278-2.961.262.15.554.358%201.119.64%201.688.119.263.25.52.39.77.452.125%202.222.383%203.164.171l-2.51.897a27.776%2027.776%200%20002.544%202.726c2.031-1.092%202.494-1.241%204.018-2.238-2.467%202.008-3.108%202.828-3.8%203.67l-.483.678c-.25.351-.469.725-.65%201.117-.61%201.31-1.47%204.1-1.47%204.1-.154.486.202.842.674.674%200%200%202.79-.861%204.1-1.47.392-.182.766-.4%201.118-.65l.677-.483c.227-.187.453-.37.701-.586%200%200%201.705%202.02%203.458%203.349l.896-2.511c-.211.942.046%202.712.17%203.163.252.142.509.272.772.392.569.28%201.134.49%201.688.64-.016-.853.026-1.956.261-2.962.26%201.258.75%202.493%201.067%203.219.895.106%202.051.146%202.816.043a73.87%2073.87%200%2001-1.308-2.67c.811%201.07%201.874%201.988%202.302%202.34h-.001z'%3e%3c/path%3e%3c/svg%3e",Mk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGrok%3c/title%3e%3cpath%20d='M9.27%2015.29l7.978-5.897c.391-.29.95-.177%201.137.272.98%202.369.542%205.215-1.41%207.169-1.951%201.954-4.667%202.382-7.149%201.406l-2.711%201.257c3.889%202.661%208.611%202.003%2011.562-.953%202.341-2.344%203.066-5.539%202.388-8.42l.006.007c-.983-4.232.242-5.924%202.75-9.383.06-.082.12-.164.179-.248l-3.301%203.305v-.01L9.267%2015.292M7.623%2016.723c-2.792-2.67-2.31-6.801.071-9.184%201.761-1.763%204.647-2.483%207.166-1.425l2.705-1.25a7.808%207.808%200%2000-1.829-1A8.975%208.975%200%20005.984%205.83c-2.533%202.536-3.33%206.436-1.962%209.764%201.022%202.487-.653%204.246-2.34%206.022-.599.63-1.199%201.259-1.682%201.925l7.62-6.815'%3e%3c/path%3e%3c/svg%3e",Ak="/assets/hermesagent-DUfTwIy7.svg",Lk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKimi%3c/title%3e%3cpath%20d='M21.846%200a1.923%201.923%200%20110%203.846H20.15a.226.226%200%2001-.227-.226V1.923C19.923.861%2020.784%200%2021.846%200z'%20fill='%231783FF'%3e%3c/path%3e%3cpath%20d='M11.065%2011.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164%200%2000-.117.051l-7.82%207.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103%200-.186.103-.186.23V19.77c0%20.128.083.23.186.23h2.69c.103%200%20.186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158%200%2001.205-.023l6.484%204.772a7.677%207.677%200%20003.453%201.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028%205.028%200%2001-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z'%20fill='%23fff'%3e%3c/path%3e%3c/svg%3e",X3="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKilo%20Code%3c/title%3e%3cpath%20d='M0%200v24h24V0H0zm22.222%2022.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89%2017.83v-2.794h1.778v2.222zm4%200h-1.778v-2.222h-2.222v-1.778h2.793l1.207%201.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333%2017.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206%201.207v2.793h2.014zm-11.556-2h2.222l1.778%201.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4%200H9.333v-2h1.778v2z'%3e%3c/path%3e%3c/svg%3e",kk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKiro%3c/title%3e%3cpath%20d='M18.8%200H5.2A5.2%205.2%200%20000%205.2v13.6A5.2%205.2%200%20005.2%2024h13.6a5.2%205.2%200%20005.2-5.2V5.2A5.2%205.2%200%200018.8%200z'%20fill='%239046FF'%3e%3c/path%3e%3cpath%20d='M7.97%2016.376c-1.644%203.642%201.86%204.556%204.443%202.424.76%202.39%203.608.607%204.631-1.247%202.251-4.084%201.342-8.249%201.108-9.108-1.6-5.859-9.6-5.869-10.976.03-.323%201.033-.328%202.206-.507%203.423-.09.617-.16%201.009-.393%201.655-.139.373-.323.7-.62%201.257-.458.865-.264%202.53%202.101%201.665l.224-.1h-.01l-.001.001z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.722%2010.985c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.218-.97a.61.61%200%2001.537-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005zm2.703%200c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.219-.97a.61.61%200%2001.536-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",Nk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenClaw%3c/title%3e%3cpath%20d='M12%202.568c-6.33%200-9.495%205.275-9.495%209.495%200%204.22%203.165%208.44%206.33%209.494v2.11h2.11v-2.11s1.055.422%202.11%200v2.11h2.11v-2.11c3.165-1.055%206.33-5.274%206.33-9.494S18.33%202.568%2012%202.568z'%20fill='url(%23lobe-icons-open-claw-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M3.56%209.953C.396%208.898-.66%2011.008.396%2013.118c1.055%202.11%203.164%201.055%204.22-1.055.632-1.477%200-2.11-1.056-2.11z'%20fill='url(%23lobe-icons-open-claw-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.44%209.953c3.164-1.055%204.22%201.055%203.164%203.165-1.055%202.11-3.164%201.055-4.22-1.055-.632-1.477%200-2.11%201.056-2.11z'%20fill='url(%23lobe-icons-open-claw-2-_R_0_)'%3e%3c/path%3e%3cpath%20d='M5.507%201.875c.476-.285%201.036-.233%201.615.037.577.27%201.223.774%201.937%201.488a.316.316%200%2001-.447.447c-.693-.693-1.279-1.138-1.757-1.361-.475-.222-.795-.205-1.022-.069a.317.317%200%2001-.326-.542zM16.877%201.913c.58-.27%201.14-.323%201.616-.038a.317.317%200%2001-.326.542c-.227-.136-.547-.153-1.022.069-.478.223-1.064.668-1.756%201.361a.316.316%200%2011-.448-.447c.714-.714%201.36-1.218%201.936-1.487z'%20fill='%23FF4D4D'%3e%3c/path%3e%3cpath%20d='M8.835%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532zM15.165%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532z'%20fill='%23050810'%3e%3c/path%3e%3cpath%20d='M9.046%208.16a.527.527%200%20100-1.056.527.527%200%20000%201.055zM15.376%208.16a.527.527%200%20100-1.055.527.527%200%20000%201.054z'%20fill='%2300E5CC'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-0-_R_0_'%20x1='-.659'%20x2='27.023'%20y1='.458'%20y2='22.855'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-1-_R_0_'%20x1='0'%20x2='4.311'%20y1='9.672'%20y2='14.949'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-2-_R_0_'%20x1='19.385'%20x2='24.399'%20y1='9.953'%20y2='14.462'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Dk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",$k="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3ePi%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M1%201h16.5v11H12v5.5H6.5V23H1V1zm5.5%205.5V12H12V6.5H6.5z'%3e%3c/path%3e%3cpath%20d='M17.5%2012H23v11h-5.5V12z'%3e%3c/path%3e%3c/svg%3e",zk="/assets/qoder-color-CCjsVbDP.svg",W3="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eQwen%3c/title%3e%3cpath%20d='M12.604%201.34c.393.69.784%201.382%201.174%202.075a.18.18%200%2000.157.091h5.552c.174%200%20.322.11.446.327l1.454%202.57c.19.337.24.478.024.837-.26.43-.513.864-.76%201.3l-.367.658c-.106.196-.223.28-.04.512l2.652%204.637c.172.301.111.494-.043.77-.437.785-.882%201.564-1.335%202.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099%200%2000-.081.05%20575.097%20575.097%200%2001-2.705%204.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537%200%2001-.465-.271l-1.335-2.323a.09.09%200%2000-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543%200%2001-.002-.54l1.207-2.12a.198.198%200%20000-.197%20550.951%20550.951%200%2001-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625%201.387-2.436.132-.234.304-.334.584-.335a338.3%20338.3%200%20012.589-.001.124.124%200%2000.107-.063l2.806-4.895a.488.488%200%2001.422-.246c.524-.001%201.053%200%201.583-.006L11.704%201c.341-.003.724.032.9.34zm-3.432.403a.06.06%200%2000-.052.03L6.254%206.788a.157.157%200%2001-.135.078H3.253c-.056%200-.07.025-.041.074l5.81%2010.156c.025.042.013.062-.034.063l-2.795.015a.218.218%200%2000-.2.116l-1.32%202.31c-.044.078-.021.118.068.118l5.716.008c.046%200%20.08.02.104.061l1.403%202.454c.046.081.092.082.139%200l5.006-8.76.783-1.382a.055.055%200%2001.096%200l1.424%202.53a.122.122%200%2000.107.062l2.763-.02a.04.04%200%2000.035-.02.041.041%200%20000-.04l-2.9-5.086a.108.108%200%20010-.113l.293-.507%201.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059%200-.073-.026-.043-.077l1.434-2.505a.107.107%200%20000-.114L9.225%201.774a.06.06%200%2000-.053-.031zm6.29%208.02c.046%200%20.058.02.034.06l-.832%201.465-2.613%204.585a.056.056%200%2001-.05.029.058.058%200%2001-.05-.029L8.498%209.841c-.02-.034-.01-.052.028-.054l.216-.012%206.722-.012z'%20fill='url(%23lobe-icons-qwen-_R_0_)'%20fill-rule='nonzero'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='lobe-icons-qwen-_R_0_'%20x1='0%25'%20x2='100%25'%20y1='0%25'%20y2='0%25'%3e%3cstop%20offset='0%25'%20stop-color='%236336E7'%20stop-opacity='.84'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%236F69F7'%20stop-opacity='.84'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Pk="/assets/qwenwork-CW5htBDs.ico",Ok="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eRooCode%3c/title%3e%3cpath%20d='M20.113%205.5l-.442%201.557a.157.157%200%2001-.196.106l-7.414-2.157a.16.16%200%2000-.143.028l-7.342%205.74a.159.159%200%2001-.074.032l-4.37.656a.154.154%200%2000-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002%203.75-1.953a.16.16%200%2001.164.01l2.657%201.847a.152.152%200%2001.066.125l-.023%202.45c0%20.032.01.063.028.089l3.737%205.227c.03.04.077.065.129.065h1.182a.153.153%200%2000.14-.224l-2.664-4.919a.15.15%200%2001.005-.152l1.389-2.169a.156.156%200%2001.062-.055l4.965-2.456a.16.16%200%2001.158.01l1.418.921a.16.16%200%2000.087.026h1.289c.125%200%20.2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z'%3e%3c/path%3e%3c/svg%3e",jk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eTRAE%3c/title%3e%3cpath%20d='M24%2020.541H3.428v-3.426H0V3.4h24V20.54zM3.428%2017.115h17.144V6.827H3.428v10.288zm8.573-5.196l-2.425%202.424-2.424-2.424%202.424-2.424%202.425%202.424zm6.857-.001l-2.424%202.423-2.425-2.423%202.425-2.425%202.424%202.425z'%20fill='%2332F08C'%3e%3c/path%3e%3c/svg%3e",Ik="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eWindsurf%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M23.78%205.004h-.228a2.187%202.187%200%2000-2.18%202.196v4.912c0%20.98-.804%201.775-1.76%201.775a1.818%201.818%200%2001-1.472-.773L13.168%205.95a2.197%202.197%200%2000-1.81-.95c-1.134%200-2.154.972-2.154%202.173v4.94c0%20.98-.797%201.775-1.76%201.775-.57%200-1.136-.289-1.472-.773L.408%205.098C.282%204.918%200%205.007%200%205.228v4.284c0%20.216.066.426.188.604l5.475%207.889c.324.466.8.812%201.351.938%201.377.316%202.645-.754%202.645-2.117V11.89c0-.98.787-1.775%201.76-1.775h.002c.586%200%201.135.288%201.472.773l4.972%207.163a2.15%202.15%200%20001.81.95c1.158%200%202.151-.973%202.151-2.173v-4.939c0-.98.787-1.775%201.76-1.775h.194c.122%200%20.22-.1.22-.222V5.225a.221.221%200%2000-.22-.222z'%3e%3c/path%3e%3c/svg%3e",Bk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eXiaomiMiMo%3c/title%3e%3cpath%20d='M.958%2015.936a.459.459%200%2001.459.44v2.729a.46.46%200%2001-.918%200v-2.729a.459.459%200%2001.459-.44zm4.814-2.035a.46.46%200%2001.553.45v4.754a.458.458%200%2011-.918%200V15.48L3.74%2017.202a.462.462%200%2001-.655.016.462.462%200%2001-.065-.082L.628%2014.67a.459.459%200%2001.658-.637l2.124%202.187%202.127-2.188a.46.46%200%2001.235-.13zm2.068.004a.46.46%200%2001.458.445v4.755a.46.46%200%2001-.458.458.459.459%200%2001-.458-.458V14.35a.459.459%200%2001.458-.445zm1.973%202.014a.46.46%200%2001.46.457v2.729a.46.46%200%2001-.784.324.46.46%200%2001-.134-.324v-2.729a.46.46%200%2001.458-.458zm.002-2.045a.458.458%200%2001.328.157l2.127%202.19%202.125-2.19a.459.459%200%2001.784.318v4.756a.46.46%200%2001-.455.458.46.46%200%2001-.458-.458V15.48l-1.667%201.723a.46.46%200%2001-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46%200%2001-.008-.667.461.461%200%2001.338-.128zm6.797%201.206a.46.46%200%2001.53.651A1.966%201.966%200%200019.81%2018.4a.462.462%200%2001.623.18.46.46%200%2001-.181.624%202.863%202.863%200%2001-1.38.353l-.142-.004a2.88%202.88%200%2001-2.393-4.263.461.461%200%2001.274-.21zm.864-.931a2.884%202.884%200%20013.915%203.914.46.46%200%2001-.402.24l-.057-.004a.458.458%200%2001-.164-.055.46.46%200%2001-.182-.622%201.967%201.967%200%2000-2.669-2.67.459.459%200%2011-.441-.803zM9.59%206.368c1.481%200%201.696%201.202%201.696%201.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133%200-1.289-.03-1.384-1.136-.082-.932.675-1.61%202.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379%201.012-.567%201.764-.567zm4.427.1c1.263%200%202.082.97%202.083%202.15%200%201.181-.824%202.154-2.083%202.154-1.26%200-2.084-.972-2.084-2.152%200-1.18.82-2.153%202.084-2.153zm6.801.015c.68%200%201.202.465%201.197%201.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628%200-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22%201.22%200%2001.947-.516c.398%200%20.76.193.982.686a1.321%201.321%200%20011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311%208.07l2.14%202.602H4.24L2.725%208.796%201.21%2010.672H0L2.138%208.07.13%205.583h1.138l1.458%201.772zm4.149%203.317h-.916V6.644h.916v4.028zm16.99%200h-.916V6.644h.916v4.028zM9.925%208.71c-1.055%200-1.359.412-1.326.742.032.329.324.537.757.537a1.013%201.013%200%20001.014-.968l.002-.31h-.447zM14.018%207.3c-.663%200-1.184.487-1.184%201.32%200%20.832.52%201.32%201.184%201.32.662%200%201.182-.49%201.182-1.32%200-.832-.52-1.32-1.182-1.32zM6.417%205.001a.568.568%200%2001.587.582.588.588%200%2001-1.175%200A.57.57%200%20016.417%205zm16.991%200a.57.57%200%2001.592.582.588.588%200%2001-1.174%200%20.57.57%200%2001.357-.542.572.572%200%2001.225-.04z'%3e%3c/path%3e%3c/svg%3e",Hk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eZ.ai%3c/title%3e%3cpath%20d='M12.105%202L9.927%204.953H.653L2.83%202h9.276zM23.254%2019.048L21.078%2022h-9.242l2.174-2.952h9.244zM24%202L9.264%2022H0L14.736%202H24z'%3e%3c/path%3e%3c/svg%3e",Kk={amp:{src:gk},antigravity:{src:pk},autoclaw:{src:bk},"claude-code":{src:vk},"command-code":{monochrome:!0,src:xk},cline:{monochrome:!0,src:yk},codebuddy:{src:q3},codex:{monochrome:!0,src:Y3},"every-code":{monochrome:!0,src:Y3},copilot:{src:Sk},cursor:{monochrome:!0,src:wk},devin:{src:Ck},gemini:{src:Ek},"gemini-cli":{src:Tk},grok:{monochrome:!0,src:Mk},goose:{monochrome:!0,src:Rk},hermes:{monochrome:!0,src:Ak},kimi:{src:Lk},"kilo-cli":{monochrome:!0,src:X3},kilocode:{monochrome:!0,src:X3},kiro:{src:kk},mimo:{monochrome:!0,src:Bk},openclaw:{src:Nk},opencode:{monochrome:!0,src:Dk},pi:{monochrome:!0,src:$k},qoder:{src:zk},qwen:{src:W3},"qwen-code":{src:W3},qwenwork:{src:Pk},roocode:{monochrome:!0,src:Ok},trae:{src:jk},windsurf:{monochrome:!0,src:Ik},workbuddy:{src:q3},zcode:{monochrome:!0,src:Hk}},Uk={"code-buddy":"codebuddy",everycode:"every-code","github-copilot":"copilot","grok-build":"grok","kilo-code":"kilocode",kilo:"kilo-cli",mimocode:"mimo","oh-my-pi":"omp","open-claw":"openclaw","open-code":"opencode","openai-codex":"codex","roo-code":"roocode",zai:"zcode","hermes-agent":"hermes","kimi-code":"kimi","kimi-legacy":"kimi","pi-coding-agent":"pi",factory:"droid",deepseek:"dsh",harness:"dsh"};function Vk(e){const t=e.trim().toLowerCase().replace(/[\s_]+/g,"-");return t==="claude-code"||t.startsWith("claude")?"claude-code":t==="codex"||t.startsWith("codex-")?"codex":t==="cursor"||t.startsWith("cursor-")?"cursor":t==="gemini"||t==="gemini-cli"||t.startsWith("gemini-")?"gemini-cli":t==="copilot"||t==="copilot-cli"||t.startsWith("copilot-")?"copilot":t==="opencode"||t.startsWith("opencode-")?"opencode":t.startsWith("antigravity")?"antigravity":t==="auto-claw"||t.startsWith("autoclaw")?"autoclaw":t.startsWith("openclaw")?"openclaw":t.startsWith("hermes")?"hermes":t.startsWith("kimi")?"kimi":t.startsWith("kiro")?"kiro":t==="roo-code"||t.startsWith("roocode")||t.startsWith("roo-")?"roocode":t.startsWith("zcode")||t==="zai"?"zcode":t==="dsh"||t==="deepseek"||t==="harness"||t.startsWith("deepseek-harness")||t.startsWith("dsh-")?"dsh":t==="pi-coding-agent"||t.startsWith("pi-")||t==="pi"?"pi":t.startsWith("droid")||t.startsWith("factory")?"droid":t.startsWith("qoder")?"qoder":t.startsWith("trae")?"trae":t.startsWith("amp")?"amp":t.startsWith("qwenwork")?"qwenwork":t.startsWith("qwen")?"qwen-code":t.startsWith("codebuddy")||t==="code-buddy"?"codebuddy":t.startsWith("workbuddy")?"workbuddy":t.startsWith("grok")?"grok":t.startsWith("goose")?"goose":t.startsWith("mimo")||t==="mimocode"||t.startsWith("xiaomi")?"mimo":t==="everycode"||t.startsWith("every-code")?"every-code":t.startsWith("omp")||t==="oh-my-pi"?"omp":t.startsWith("kilo-cli")||t==="kilo"?"kilo-cli":t.startsWith("kilocode")||t==="kilo-code"?"kilocode":t.startsWith("zed")?"zed":t.startsWith("warp")?"warp":t.startsWith("command-code")||t.startsWith("commandcode")?"command-code":Uk[t]??t}function Z3({provider:e,size:t=16,className:a="",onLightBackground:r=!1,isSelected:i=!1,color:s}){const u=Vk(e),f=Kk[u],d=s??(r?"#111827":void 0);return f?C.jsx("img",{alt:"","aria-hidden":!0,className:`shrink-0 object-contain ${f.monochrome?i?"invert":r?"":"dark:invert":""} ${a}`,height:t,src:f.src,style:{height:t,width:t},width:t}):u==="droid"?C.jsx(Yk,{className:a,size:t,style:{color:d}}):u==="omp"?C.jsx(_k,{className:a,size:t,style:{color:d}}):u==="zed"?C.jsx(Fk,{className:a,size:t,style:{color:d}}):u==="warp"?C.jsx(Gk,{className:a,size:t,style:{color:d}}):u==="dsh"?C.jsx(qk,{className:a,size:t,style:{color:d}}):C.jsx(Xk,{className:a,size:t,style:{color:d}})}function _k({className:e,size:t,style:a}){return C.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:a,viewBox:"0 0 120 90",width:t,children:[C.jsx("rect",{height:"12",rx:"2",width:"100",x:"10",y:"8"}),C.jsx("rect",{height:"62",rx:"2",width:"12",x:"25",y:"20"}),C.jsx("rect",{height:"45",rx:"2",width:"12",x:"75",y:"20"}),C.jsx("rect",{height:"16",rx:"3",width:"20",x:"71",y:"55"}),C.jsx("rect",{height:"8",rx:"1",width:"3",x:"76",y:"71"}),C.jsx("rect",{height:"8",rx:"1",width:"3",x:"82",y:"71"})]})}function Fk({className:e,size:t,style:a}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:a,viewBox:"0 0 16 16",width:t,children:C.jsx("path",{clipRule:"evenodd",d:"M3.125 2.75C2.9179 2.75 2.75 2.9179 2.75 3.125V11.375H2V3.125C2 2.50368 2.50368 2 3.125 2H13.1723C13.6735 2 13.9244 2.6059 13.5701 2.96025L7.38189 9.14843H9.125V8.375H9.875V9.33593C9.875 9.6466 9.6232 9.8984 9.3125 9.8984H6.63189L5.34282 11.1875H11.1875V6.5H11.9375V11.1875C11.9375 11.6017 11.6017 11.9375 11.1875 11.9375H4.59282L3.28032 13.25H12.875C13.0821 13.25 13.25 13.0821 13.25 12.875V4.625H14V12.875C14 13.4963 13.4963 14 12.875 14H2.82767C2.32653 14 2.07557 13.3941 2.42992 13.0397L8.59468 6.875H6.875V7.625H6.125V6.6875C6.125 6.37684 6.37684 6.125 6.6875 6.125H9.34468L10.6571 4.8125H4.8125V9.5H4.0625V4.8125C4.0625 4.39829 4.39829 4.0625 4.8125 4.0625H11.4071L12.7197 2.75H3.125Z",fillRule:"evenodd"})})}function Gk({className:e,size:t,style:a}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:a,viewBox:"0 0 24 24",width:t,children:C.jsx("path",{d:"M4.2 5.5h3.1l2.05 8.2 2.15-8.2h2.9l2.15 8.2 2.05-8.2h3.1L17.3 18.5h-3.05L12 10.2l-2.25 8.3H6.7L4.2 5.5Z"})})}function qk({className:e,size:t,style:a}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:a,viewBox:"0 0 23.16 17.04",width:t,children:C.jsx("path",{d:"M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z"})})}function Yk({className:e,size:t,style:a}){return C.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:a,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",viewBox:"0 0 24 24",width:t,children:[C.jsx("path",{d:"M9 3v2"}),C.jsx("path",{d:"M15 3v2"}),C.jsx("rect",{height:"13",rx:"3",width:"16",x:"4",y:"6"}),C.jsx("circle",{cx:"9",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),C.jsx("circle",{cx:"15",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),C.jsx("path",{d:"M9 16h6"})]})}function Xk({className:e,size:t,style:a}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:a,viewBox:"0 0 24 24",width:t,children:C.jsx("circle",{cx:"12",cy:"12",r:"7.5",stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}const Wk="Juejin Usage",mu=[{name:"Claude",source:"claude",variants:["CLI","Desktop"]},{name:"Codex",source:"codex"},{name:"Cursor",source:"cursor"},{name:"Qoder",source:"qoder",variants:["CLI","IDE","IDE CN","Work"]},{name:"Gemini",source:"gemini",variants:["CLI"]},{name:"OpenCode",source:"opencode"},{name:"Copilot",source:"copilot",variants:["CLI"]},{name:"Antigravity",source:"antigravity",variants:["App","IDE","CLI"]},{name:"OpenClaw",source:"openclaw"},{name:"AutoClaw",source:"autoclaw"},{name:"Hermes",source:"hermes"},{name:"ZCode",source:"zcode"},{name:"DeepSeek Harness",source:"dsh"},{name:"pi",source:"pi"},{name:"Kimi",source:"kimi",variants:["Code","Legacy"]},{name:"Roo Code",source:"roocode"},{name:"Droid",source:"droid"},{name:"Kiro",source:"kiro",variants:["CLI"]},{name:"Cline",source:"cline"},{name:"Amp",source:"amp"},{name:"Qwen Code",source:"qwen"},{name:"CodeBuddy",source:"codebuddy"},{name:"WorkBuddy",source:"workbuddy"},{name:"Grok Build",source:"grok"},{name:"Mimo",source:"mimo"},{name:"Every Code",source:"every-code"},{name:"OMP",source:"omp"},{name:"Kilo CLI",source:"kilo-cli"},{name:"Kilo Code",source:"kilocode"},{name:"Goose",source:"goose"},{name:"Zed",source:"zed"},{name:"Warp",source:"warp"},{name:"Command Code",source:"command-code"}];function Zk(e){var t;return(t=e.variants)!=null&&t.length?`${e.name} (${e.variants.join("、")})`:e.name}function Qk(){return"0.1.11"}const Jk=(e,t)=>{const a=new Array(e.length+t.length);for(let r=0;r<e.length;r++)a[r]=e[r];for(let r=0;r<t.length;r++)a[e.length+r]=t[r];return a},eN=(e,t)=>({classGroupId:e,validator:t}),V6=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),pu="-",Q3=[],tN="arbitrary..",nN=e=>{const t=lN(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return aN(u);const f=u.split(pu),d=f[0]===""&&f.length>1?1:0;return _6(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=a[u];return d?h?Jk(h,d):d:h||Q3}return a[u]||Q3}}},_6=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const i=e[t],s=a.nextPart.get(i);if(s){const h=_6(e,t+1,s);if(h)return h}const u=a.validators;if(u===null)return;const f=t===0?e.join(pu):e.slice(t).join(pu),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},aN=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),r=t.slice(0,a);return r?tN+r:void 0})(),lN=e=>{const{theme:t,classGroups:a}=e;return rN(a,t)},rN=(e,t)=>{const a=V6();for(const r in e){const i=e[r];Eh(i,a,r,t)}return a},Eh=(e,t,a,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];iN(u,t,a,r)}},iN=(e,t,a,r)=>{if(typeof e=="string"){oN(e,t,a);return}if(typeof e=="function"){sN(e,t,a,r);return}cN(e,t,a,r)},oN=(e,t,a)=>{const r=e===""?t:F6(t,e);r.classGroupId=a},sN=(e,t,a,r)=>{if(uN(e)){Eh(e(r),t,a,r);return}t.validators===null&&(t.validators=[]),t.validators.push(eN(a,e))},cN=(e,t,a,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];Eh(d,F6(t,f),a,r)}},F6=(e,t)=>{let a=e;const r=t.split(pu),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=a.nextPart.get(u);f||(f=V6(),a.nextPart.set(u,f)),a=f}return a},uN=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,fN=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),r=Object.create(null);const i=(s,u)=>{a[s]=u,t++,t>e&&(t=0,r=a,a=Object.create(null))};return{get(s){let u=a[s];if(u!==void 0)return u;if((u=r[s])!==void 0)return i(s,u),u},set(s,u){s in a?a[s]=u:i(s,u)}}},k2="!",J3=":",dN=[],ev=(e,t,a,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:i}),hN=e=>{const{prefix:t,experimentalParseClassName:a}=e;let r=i=>{const s=[];let u=0,f=0,d=0,h;const p=i.length;for(let E=0;E<p;E++){const T=i[E];if(u===0&&f===0){if(T===J3){s.push(i.slice(d,E)),d=E+1;continue}if(T==="/"){h=E;continue}}T==="["?u++:T==="]"?u--:T==="("?f++:T===")"&&f--}const b=s.length===0?i:i.slice(d);let v=b,S=!1;b.endsWith(k2)?(v=b.slice(0,-1),S=!0):b.startsWith(k2)&&(v=b.slice(1),S=!0);const x=h&&h>d?h-d:void 0;return ev(s,S,v,x)};if(t){const i=t+J3,s=r;r=u=>u.startsWith(i)?s(u.slice(i.length)):ev(dN,!1,u,void 0,!0)}if(a){const i=r;r=s=>a({className:s,parseClassName:i})}return r},mN=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,r)=>{t.set(a,1e6+r)}),a=>{const r=[];let i=[];for(let s=0;s<a.length;s++){const u=a[s],f=u[0]==="[",d=t.has(u);f||d?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(u)):i.push(u)}return i.length>0&&(i.sort(),r.push(...i)),r}},pN=e=>({cache:fN(e.cacheSize),parseClassName:hN(e),sortModifiers:mN(e),postfixLookupClassGroupIds:gN(e),...nN(e)}),gN=e=>{const t=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let r=0;r<a.length;r++)t[a[r]]=!0;return t},bN=/\s+/,vN=(e,t)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s,postfixLookupClassGroupIds:u}=t,f=[],d=e.trim().split(bN);let h="";for(let p=d.length-1;p>=0;p-=1){const b=d[p],{isExternal:v,modifiers:S,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:T}=a(b);if(v){h=b+(h.length>0?" "+h:h);continue}let L=!!T,M;if(L){const $=E.substring(0,T);M=r($);const k=M&&u[M]?r(E):void 0;k&&k!==M&&(M=k,L=!1)}else M=r(E);if(!M){if(!L){h=b+(h.length>0?" "+h:h);continue}if(M=r(E),!M){h=b+(h.length>0?" "+h:h);continue}L=!1}const N=S.length===0?"":S.length===1?S[0]:s(S).join(":"),A=x?N+k2:N,B=A+M;if(f.indexOf(B)>-1)continue;f.push(B);const F=i(M,L);for(let $=0;$<F.length;++$){const k=F[$];f.push(A+k)}h=b+(h.length>0?" "+h:h)}return h},yN=(...e)=>{let t=0,a,r,i="";for(;t<e.length;)(a=e[t++])&&(r=G6(a))&&(i&&(i+=" "),i+=r);return i},G6=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=G6(e[r]))&&(a&&(a+=" "),a+=t);return a},xN=(e,...t)=>{let a,r,i,s;const u=d=>{const h=t.reduce((p,b)=>b(p),e());return a=pN(h),r=a.cache.get,i=a.cache.set,s=f,f(d)},f=d=>{const h=r(d);if(h)return h;const p=vN(d,a);return i(d,p),p};return s=u,(...d)=>s(yN(...d))},SN=[],Ct=e=>{const t=a=>a[e]||SN;return t.isThemeGetter=!0,t},q6=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Y6=/^\((?:(\w[\w-]*):)?(.+)\)$/i,wN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,CN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,EN=/\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$/,TN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,RN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,il=e=>wN.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),ea=e=>!!e&&Number.isInteger(Number(e)),B0=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),Ea=e=>CN.test(e),X6=()=>!0,AN=e=>EN.test(e)&&!TN.test(e),Th=()=>!1,LN=e=>RN.test(e),kN=e=>MN.test(e),NN=e=>!me(e)&&!ge(e),DN=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),$N=e=>Cl(e,Q6,Th),me=e=>q6.test(e),Fl=e=>Cl(e,J6,AN),tv=e=>Cl(e,KN,Ne),zN=e=>Cl(e,t8,X6),PN=e=>Cl(e,e8,Th),nv=e=>Cl(e,W6,Th),ON=e=>Cl(e,Z6,kN),$c=e=>Cl(e,n8,LN),ge=e=>Y6.test(e),Eo=e=>cr(e,J6),jN=e=>cr(e,e8),av=e=>cr(e,W6),IN=e=>cr(e,Q6),BN=e=>cr(e,Z6),zc=e=>cr(e,n8,!0),HN=e=>cr(e,t8,!0),Cl=(e,t,a)=>{const r=q6.exec(e);return r?r[1]?t(r[1]):a(r[2]):!1},cr=(e,t,a=!1)=>{const r=Y6.exec(e);return r?r[1]?t(r[1]):a:!1},W6=e=>e==="position"||e==="percentage",Z6=e=>e==="image"||e==="url",Q6=e=>e==="length"||e==="size"||e==="bg-size",J6=e=>e==="length",KN=e=>e==="number",e8=e=>e==="family-name",t8=e=>e==="number"||e==="weight",n8=e=>e==="shadow",UN=()=>{const e=Ct("color"),t=Ct("font"),a=Ct("text"),r=Ct("font-weight"),i=Ct("tracking"),s=Ct("leading"),u=Ct("breakpoint"),f=Ct("container"),d=Ct("spacing"),h=Ct("radius"),p=Ct("shadow"),b=Ct("inset-shadow"),v=Ct("text-shadow"),S=Ct("drop-shadow"),x=Ct("blur"),E=Ct("perspective"),T=Ct("aspect"),L=Ct("ease"),M=Ct("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),ge,me],F=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[ge,me,d],K=()=>[il,"full","auto",...k()],U=()=>[ea,"none","subgrid",ge,me],q=()=>["auto",{span:["full",ea,ge,me]},ea,ge,me],ne=()=>[ea,"auto",ge,me],ae=()=>["auto","min","max","fr",ge,me],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[il,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[il,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[il,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,ge,me],D=()=>[...A(),av,nv,{position:[ge,me]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",IN,$N,{size:[ge,me]}],ce=()=>[B0,Eo,Fl],H=()=>["","none","full",h,ge,me],ie=()=>["",Ne,Eo,Fl],xe=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[Ne,B0,av,nv],kt=()=>["","none",x,ge,me],it=()=>["none",Ne,ge,me],ue=()=>["none",Ne,ge,me],fe=()=>[Ne,ge,me],Ce=()=>[il,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ea],breakpoint:[Ea],color:[X6],container:[Ea],"drop-shadow":[Ea],ease:["in","out","in-out"],font:[NN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ea],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ea],shadow:[Ea],spacing:["px",Ne],text:[Ea],"text-shadow":[Ea],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",il,me,ge,T]}],container:["container"],"container-type":[{"@container":["","normal","size",ge,me]}],"container-named":[DN],columns:[{columns:[Ne,me,ge,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:B()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[ea,"auto",ge,me]}],basis:[{basis:[il,"full","auto",f,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,il,"auto","initial","none",me]}],grow:[{grow:["",Ne,ge,me]}],shrink:[{shrink:["",Ne,ge,me]}],order:[{order:[ea,"first","last","none",ge,me]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",a,Eo,Fl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,HN,zN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",B0,me]}],"font-family":[{font:[jN,PN,t]}],"font-features":[{"font-features":[me]}],"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:[i,ge,me]}],"line-clamp":[{"line-clamp":[Ne,"none",ge,tv]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",ge,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",ge,Fl]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[Ne,"auto",ge,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"tab-size":[{tab:[ea,ge,me]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,me]}],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",ge,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ea,ge,me],radial:["",ge,me],conic:[ea,ge,me]},BN,ON]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,ge,me]}],"outline-w":[{outline:["",Ne,Eo,Fl]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,zc,$c]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,zc,$c]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[Ne,Fl]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,zc,$c]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[Ne,ge,me]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"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":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[ge,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,me]}],filter:[{filter:["","none",ge,me]}],blur:[{blur:kt()}],brightness:[{brightness:[Ne,ge,me]}],contrast:[{contrast:[Ne,ge,me]}],"drop-shadow":[{"drop-shadow":["","none",S,zc,$c]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",Ne,ge,me]}],"hue-rotate":[{"hue-rotate":[Ne,ge,me]}],invert:[{invert:["",Ne,ge,me]}],saturate:[{saturate:[Ne,ge,me]}],sepia:[{sepia:["",Ne,ge,me]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,me]}],"backdrop-blur":[{"backdrop-blur":kt()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,ge,me]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,ge,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,ge,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,ge,me]}],"backdrop-invert":[{"backdrop-invert":["",Ne,ge,me]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,ge,me]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,ge,me]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,ge,me]}],"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",ge,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",ge,me]}],ease:[{ease:["linear","initial",L,ge,me]}],delay:[{delay:[Ne,ge,me]}],animate:[{animate:["none",M,ge,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,ge,me]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[ge,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],zoom:[{zoom:[ea,ge,me]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",ge,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":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",ge,me]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[Ne,Eo,Fl,tv]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},VN=xN(UN),H0=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function _o(...e){return VN(vy(e))}function K0(e){if(!Number.isFinite(e))return"0";const t=Math.abs(e),a=H0.findIndex(u=>t>=u.value);if(a===-1)return Math.round(e).toLocaleString("en-US");let r=a,i=H0[r],s=lv(e/i.value);return Math.abs(s)>=1e3&&r>0&&(r-=1,i=H0[r],s=lv(e/i.value)),`${s.toLocaleString("en-US",{maximumFractionDigits:1})}${i.suffix}`}function lv(e){return Math.round(e*10)/10}const _N={cline:"bg-red-500","command-code":"bg-cyan-500",cursor:"bg-black",droid:"bg-blue-500","every-code":"bg-emerald-600",goose:"bg-amber-500",grok:"bg-violet-600",hermes:"bg-amber-500",kimi:"bg-black","kilo-cli":"bg-violet-500",kilocode:"bg-violet-500",mimo:"bg-rose-400",omp:"bg-violet-500",opencode:"bg-blue-600",pi:"bg-orange-500",roocode:"bg-green-500",zcode:"bg-indigo-500",zed:"bg-orange-500"};function FN({className:e,collapsible:t=!1}){const[a,r]=y.useState(!1),i=!t||a;return C.jsxs("div",{className:"flex flex-col items-stretch",children:[i?C.jsx(GN,{className:e,tools:mu}):C.jsx(qN,{}),t?C.jsxs(Mt,{"aria-expanded":a,className:"mt-4 self-center",onPress:()=>r(s=>!s),size:"sm",variant:"tertiary",children:[a?"收起":`查看全部(${mu.length})`,C.jsx(ck,{"aria-hidden":"true",className:_o("size-3.5 transition-transform duration-200 motion-reduce:transition-none",a&&"rotate-180")})]}):null]})}function GN({className:e,tools:t}){return C.jsx("ul",{className:_o("grid grid-cols-1 gap-1.5 sm:grid-cols-2","motion-safe:animate-[fade-up_420ms_ease-out]",e),children:t.map(a=>C.jsxs("li",{className:"flex items-center gap-2 rounded-lg bg-black/3 px-2.5 py-1.5 text-sm text-foreground/80 dark:bg-white/5",children:[C.jsx(a8,{source:a.source}),C.jsx("span",{className:"min-w-0 leading-snug",children:Zk(a)})]},a.source))})}function qN(){return C.jsxs("div",{"aria-hidden":"true",className:"tools-marquee group space-y-1.5 mask-[linear-gradient(to_right,transparent,black_5%,black_95%,transparent)]",children:[C.jsx(rv,{}),C.jsx(rv,{reverse:!0})]})}function rv({reverse:e=!1}){const t=e?[...mu].reverse():mu;return C.jsx("div",{className:"overflow-hidden",children:C.jsxs("div",{className:_o("flex w-max",e?"tools-marquee-track-reverse motion-safe:animate-[tools-marquee-reverse_48s_linear_infinite]":"tools-marquee-track motion-safe:animate-[tools-marquee_40s_linear_infinite]","motion-reduce:animate-none"),children:[C.jsx(iv,{items:t}),C.jsx(iv,{items:t})]})})}function iv({items:e}){return C.jsx("div",{className:"flex shrink-0 gap-1.5 pe-1.5",children:e.map(t=>C.jsxs("div",{className:"flex shrink-0 items-center gap-2 rounded-lg bg-black/3 px-2.5 py-1.5 text-sm text-foreground/80 dark:bg-white/5",children:[C.jsx(a8,{source:t.source}),C.jsx("span",{className:"leading-snug whitespace-nowrap",children:t.name})]},t.source))})}function a8({source:e}){if(e==="codex")return C.jsx("span",{className:"flex size-6 shrink-0 items-center justify-center rounded-md bg-emerald-600",children:C.jsx("img",{alt:"","aria-hidden":!0,className:"size-[15px] invert",src:mk})});const t=_N[e];return t?C.jsx("span",{className:`flex size-6 shrink-0 items-center justify-center rounded-md ${t}`,children:C.jsx(Z3,{color:"#fff",isSelected:!0,provider:e,size:15})}):C.jsx(Z3,{provider:e,size:18})}const YN="http://github.com/juejin-cn/juejin-usage/issues/new";function l8(){const e=Qk();return C.jsxs("div",{className:"space-y-5",children:[C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"版本信息"}),C.jsxs("p",{className:"text-sm text-foreground/70",children:[Wk," ",C.jsxs("span",{className:"font-mono text-foreground/90",children:["v",e]})]})]}),C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"隐私与协议"}),C.jsxs(Dc,{className:"w-fit text-sm text-accent",href:L2,rel:"noopener noreferrer",target:"_blank",children:["查看用户隐私协议",C.jsx(Dc.Icon,{})]})]}),C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"问题反馈"}),C.jsxs(Dc,{className:"w-fit text-sm text-accent",href:YN,rel:"noopener noreferrer",target:"_blank",children:["提交问题反馈",C.jsx(Dc.Icon,{})]})]}),C.jsxs("section",{className:"space-y-2",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"支持的工具"}),C.jsx("p",{className:"text-xs text-foreground/55",children:"同一系列的多端形态用括号标出。"}),C.jsx(FN,{})]})]})}const XN="tud:data-synced",N2="tud:open-settings",ov="tud:open-about",D2="tud:open-share",WN="tud:juejin-link-changed";function uP(){window.dispatchEvent(new CustomEvent(XN))}function fP(e){window.dispatchEvent(new CustomEvent(N2,{detail:{}}))}function ZN(){window.dispatchEvent(new CustomEvent(D2))}function r8(){window.dispatchEvent(new CustomEvent(WN))}function dP(){return ZN(),Promise.resolve()}function QN({trigger:e,isOpen:t,onOpenChange:a,listenForOpenEvent:r=!0,hideTrigger:i=!1}={}){const[s,u]=y.useState(!1),f=t!==void 0,d=f?t:s,h=y.useCallback(p=>{f||u(p),a==null||a(p)},[f,a]);return y.useEffect(()=>{if(!r)return;const p=()=>h(!0);return window.addEventListener(ov,p),()=>window.removeEventListener(ov,p)},[r,h]),C.jsxs(C.Fragment,{children:[!i&&(e??C.jsxs(Mt,{"aria-label":"关于",onPress:()=>h(!0),variant:"tertiary",children:[C.jsx(uk,{}),"关于"]})),C.jsx(Re.Backdrop,{isOpen:d,onOpenChange:h,variant:"blur",children:C.jsx(Re.Container,{className:"w-[840px] max-w-[min(840px,92vw)]",scroll:"outside",size:"lg",children:C.jsxs(Re.Dialog,{children:[C.jsx(Re.CloseTrigger,{"aria-label":"关闭关于"}),C.jsx(Re.Header,{children:C.jsx(Re.Heading,{children:"关于"})}),C.jsx(Re.Body,{className:"pt-2",children:C.jsx(l8,{})})]})})})]})}const i8=y.createContext(null);function JN({children:e,queue:t}){return C.jsx(i8.Provider,{value:t,children:e})}function hP(){const e=y.useContext(i8);if(!e)throw new Error("useAppToastQueue must be used within AppToastProvider");return e}const eD="modulepreload",tD=function(e){return"/"+e},sv={},Qo=function(t,a,r){let i=Promise.resolve();if(a&&a.length>0){let u=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));i=u(a.map(h=>{if(h=tD(h),h in sv)return;sv[h]=!0;const p=h.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${b}`))return;const v=document.createElement("link");if(v.rel=p?"stylesheet":eD,p||(v.as="script"),v.crossOrigin="",v.href=h,d&&v.setAttribute("nonce",d),document.head.appendChild(v),p)return new Promise((S,x)=>{v.addEventListener("load",S),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return i.then(u=>{for(const f of u||[])f.status==="rejected"&&s(f.reason);return t().catch(s)})},nD=100,cv="tud.deviceFilterOwner",aD="tud:device-filter-owner-changed";function uv(e){try{const t=(e==null?void 0:e.trim())||"";t?localStorage.setItem(cv,t):localStorage.removeItem(cv)}catch{}typeof window<"u"&&window.dispatchEvent(new CustomEvent(aD,{detail:{originUserId:(e==null?void 0:e.trim())||null}}))}let fv=[];function Ou(e){if(fv.length===0)return e;const t=e.includes("?")?"&":"?";return`${e}${t}deviceIds=${encodeURIComponent(fv.join(","))}`}async function rn(e,t){const a=await fetch(e,t);let r=null;try{r=await a.json()}catch{throw new Error(`${(t==null?void 0:t.method)??"GET"} ${e} → ${a.status}`)}if(!a.ok||!r||r.success!==!0||r.data===null){const i=(r==null?void 0:r.message)??`HTTP ${a.status}`;throw new Error(i)}return r.data}const dv="tud.apiBearer";function lD(){return!0}function rD(){return"/functions/tud-"}function on(){const e=rD();return{summary:`${e}account-usage-summary`,others:e}}function hv(e){try{e!=null&&e.trim()?localStorage.setItem(dv,e.trim()):localStorage.removeItem(dv)}catch{}}function Ft(){return{}}async function o8(){const{summary:e}=on();return rn(Ou(e),{headers:Ft()})}async function iD(e=90){const{others:t}=on();return rn(Ou(`${t}usage-daily?days=${e}`),{headers:Ft()})}async function s8(e=1){const{others:t}=on();return rn(Ou(`${t}usage-hourly?days=${e}`),{headers:Ft()})}async function c8(e=30){const{others:t}=on();return rn(Ou(`${t}usage-model-breakdown?days=${e}`),{headers:Ft()})}const mv="https://api.juejin.cn/aiusage_api/functions/tud-pricing";async function mP(){const e=await fetch(mv,{headers:Ft()});let t=null;try{t=await e.json()}catch{throw new Error(`GET ${mv} → ${e.status}`)}if(!e.ok)throw new Error(`HTTP ${e.status}`);const a=oD(t);return sD(a,e.headers.get("last-modified"))}function oD(e){if(e===null||typeof e!="object"||Array.isArray(e))throw new Error("模型价格数据格式错误:响应必须是对象");const t=e.exact;if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("模型价格数据格式错误:exact 必须是对象");for(const[a,r]of Object.entries(t)){if(r===null||typeof r!="object"||Array.isArray(r))throw new Error(`模型价格数据格式错误:exact.${a} 必须是对象`);for(const i of["input","output","cache_read","cache_write"]){const s=r[i];if(s!==void 0&&(typeof s!="number"||!Number.isFinite(s)||s<0))throw new Error(`模型价格数据格式错误:exact.${a}.${i} 必须是非负数字`)}}return e}function sD(e,t){return{units:"usd_per_million_tokens",generatedAt:null,updatedAt:t,models:Object.entries(e.exact).map(([a,r])=>({model:a,input:r.input??0,output:r.output??0,cacheRead:r.cache_read??0,cacheWrite:r.cache_write??0})).sort((a,r)=>a.model.localeCompare(r.model))}}async function pP(e,t=nD,a={}){const{others:r}=on(),i=new URLSearchParams({range:e,limit:String(t)});return a.tool&&i.set("tool",a.tool),a.model&&i.set("model",a.model),rn(`${r}leaderboard-overview?${i.toString()}`,{headers:Ft()})}async function gP(){const{others:e}=on();return rn(`${e}leaderboard-preference`,{headers:Ft()})}async function bP(e){const{others:t}=on();return rn(`${t}leaderboard-preference`,{method:"PUT",headers:{"Content-Type":"application/json",...Ft()},body:JSON.stringify({hideFromLeaderboard:e})})}async function cD(){const{others:e}=on();return rn(`${e}sync-status`,{headers:Ft()})}async function uD(){const{others:e}=on();return rn(`${e}calibrate-preview`,{headers:Ft()})}async function fD(e){const{others:t}=on();return rn(`${t}calibrate-apply`,{method:"POST",headers:{"Content-Type":"application/json",...Ft()},body:JSON.stringify({selectedDates:e})})}function u8(){return cD().catch(()=>null)}function dD(e){return typeof e=="number"?{dailyDays:e,breakdownDays:e,hourlyDays:e}:{dailyDays:e.dailyDays,breakdownDays:e.breakdownDays,hourlyDays:e.hourlyDays??e.breakdownDays}}async function vP(e){const{dailyDays:t,breakdownDays:a,hourlyDays:r}=dD(e),[i,s,u,f,d]=await Promise.all([o8(),u8(),iD(t),s8(r).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),c8(a)]);return{summary:i,syncStatus:s,dailyRows:u.days??[],hourlyRows:f.hours??[],modelRows:(d.models??[]).filter(h=>h.tokens>0),projectRows:(d.projects??[]).filter(h=>h.tokens>0)}}async function yP(e,t,a){const[r,i,s,u]=await Promise.all([o8(),u8(),s8(a).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),c8(t)]);return{summary:r,syncStatus:i??e.syncStatus,dailyRows:e.dailyRows,hourlyRows:s.hours??[],modelRows:(u.models??[]).filter(f=>f.tokens>0),projectRows:(u.projects??[]).filter(f=>f.tokens>0)}}async function xP(){const{others:e}=on();return rn(`${e}trigger-sync`,{method:"POST",headers:{"Content-Type":"application/json",...Ft()},body:"{}"})}async function SP(e){const{others:t}=on();return rn(`${t}ensure-local-range`,{method:"POST",headers:{"Content-Type":"application/json",...Ft()},body:JSON.stringify({days:e})})}async function Rh(){const{others:e}=on();return rn(`${e}config`,{headers:Ft()})}async function $2(e){const{others:t}=on();return rn(`${t}config`,{method:"PUT",headers:{"Content-Type":"application/json",...Ft()},body:JSON.stringify(e)})}const Mh="login_from_client",Ah="port",f8="user_id",d8="origin_user_id",h8="user_name",m8="avatar_large",Fo=8452,hD="https://juejin.cn/aiusage/dashboard";function mD(e,t){return t}const p8=mD(void 0,hD),pD=512,gD=64;function bD(e){return e==="desktop"||e==="cli"?e:null}function g8(e){if(e==null||e==="")return Fo;const t=Number.parseInt(e,10);return!Number.isFinite(t)||t<=0||t>65535?Fo:t}function b8(e){const t=e.trim();return t.length>0&&t.length<=pD&&!/\s/.test(t)}function v8(e){const t=e.trim();return t.length>0&&t.length<=gD&&!/\s/.test(t)}function pv(e){return(e??"").trim()}function gv(e){const t=e.trim();return t.length>=2&&(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))?t.slice(1,-1).trim():t}function vD(e){const t=new URL(p8);return t.searchParams.set(Mh,e.loginFromClient),e.loginFromClient==="cli"&&t.searchParams.set(Ah,String(e.port??Fo)),t.toString()}function y8(e=window.location.search){const t=new URLSearchParams(e),a=gv(t.get(f8)??""),r=gv(t.get(d8)??"");return{loginFromClient:bD(t.get(Mh)),port:g8(t.get(Ah)),userId:b8(a)?a:null,originUserId:v8(r)?r:"",userName:pv(t.get(h8)),avatarLarge:pv(t.get(m8))}}const U0=typeof window<"u"?y8(window.location.search):{loginFromClient:null,port:Fo,userId:null,originUserId:"",userName:"",avatarLarge:""};function x8(){const e=y8(window.location.search);return e.loginFromClient||e.userId?e:U0.loginFromClient||U0.userId?U0:e}function yD(){const e=new URL(window.location.href);e.searchParams.delete(Mh),e.searchParams.delete(Ah),e.searchParams.delete(f8),e.searchParams.delete(d8),e.searchParams.delete(h8),e.searchParams.delete(m8);const t=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(window.history.state,"",t)}function xD(){const e="".trim().replace(/\/$/,"");return e?`${e}/functions/tud-session`:"/api/functions/tud-session"}async function SD(){const e=await fetch(xD(),{credentials:"include",headers:{Accept:"application/json"}});if(!e.ok)return null;let t;try{t=await e.json()}catch{return null}if(!t||typeof t!="object")return null;const a=t.success,r=t.data;if(a===!1||!r||typeof r!="object")return null;const i=r.encryptedUserId,s=r.originUserId;if(typeof i!="string"||!b8(i)||typeof s!="string"||!v8(s))return null;const u=r.userName,f=r.avatarLarge;return{userId:i.trim(),originUserId:s.trim(),userName:typeof u=="string"?u.trim():"",avatarLarge:typeof f=="string"?f.trim():""}}function wD(){return typeof window<"u"&&typeof window.tud<"u"?"desktop":"cli"}function CD(){const e=window.location.port;return g8(e||String(Fo))}async function S8(){var i;const e=wD(),t=e==="cli"?CD():void 0,a=vD({loginFromClient:e,port:t}),r=(i=window.tud)==null?void 0:i.openExternal;return typeof r=="function"?r(a):(window.location.assign(a),{ok:!0})}function V0(e){const t=Math.abs(e);return t>=1e6?`${(e/1e6).toFixed(2)}M`:t>=1e3?`${(e/1e3).toFixed(1)}K`:String(e)}function ED(e){return e.days.filter(t=>!t.outOfIngestWindow).map(t=>t.date)}function TD(e){const t=e.summary;if(t.diffDayCount===0)return"近 90 天本机与线上一致。";const a=[];return t.onlineMissingDays>0&&a.push(`线上缺失 ${t.onlineMissingDays} 天(Token ${V0(t.onlineMissingTokens)})`),t.onlineOnlyDays>0&&a.push(`线上多出 ${t.onlineOnlyDays} 天(Token ${V0(t.onlineOnlyTokens)})`),t.mismatchDays>0&&a.push(`构成不一致 ${t.mismatchDays} 天(Token Δ ${V0(t.mismatchTokenDelta)})`),`近 90 天共 ${t.diffDayCount} 天有差异:${a.join(";")}。`}function RD({linked:e,onNotify:t}){const[a,r]=y.useState(null),[i,s]=y.useState(!1),[u,f]=y.useState(!1),[d,h]=y.useState(!1),[p,b]=y.useState(null),v=y.useMemo(()=>a?ED(a):[],[a]),S=y.useCallback(async()=>{s(!0),b(null),h(!1);try{const E=await uD();r(E)}catch(E){b(E instanceof Error?E.message:"校验失败"),r(null)}finally{s(!1)}},[]),x=async()=>{if(v.length!==0){f(!0),b(null);try{const E=await fD(v);r(E.preview),h(!1),t({title:"校对完成",description:`删除 ${E.deleted} · 写入 ${E.upserted}`,variant:"success"})}catch(E){const T=E instanceof Error?E.message:"校对失败";b(T),h(!1),t({title:"校对失败",description:T,variant:"danger"})}finally{f(!1)}}};return e?C.jsxs(C.Fragment,{children:[C.jsxs(uu,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsxs("div",{className:"flex items-start justify-between gap-3",children:[C.jsxs("div",{className:"min-w-0",children:[C.jsx("h3",{className:"text-sm text-foreground",children:"数据校验"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"对比本机与线上近 90 天,仅校准当前设备。"})]}),C.jsx(Mt,{isDisabled:i||u,onPress:()=>void S(),size:"sm",variant:"secondary",children:i?"校验中…":"校验"})]}),p?C.jsx("p",{className:"mt-3 text-xs text-danger",children:p}):null,a?C.jsxs("div",{className:"mt-3 space-y-3",children:[C.jsxs("p",{className:"break-all font-mono text-[11px] text-muted",children:["本机 deviceId:",a.deviceId]}),C.jsx("p",{className:"text-xs leading-5 text-foreground",children:TD(a)}),a.otherOnlineDevices.length>0?C.jsxs("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:["线上另有 ",a.otherOnlineDevices.length," ","台设备未纳入(仅校对本机)。"]}):null,v.length>0?C.jsx("div",{className:"flex justify-end",children:C.jsx(Mt,{isDisabled:u||i,onPress:()=>h(!0),size:"sm",variant:"primary",children:"确定校对,以本地为准"})}):a.summary.diffDayCount>0?C.jsx("p",{className:"text-xs text-muted",children:"差异均在线上保留窗外,无法覆盖。"}):null]}):null]}),C.jsx(Re.Backdrop,{isOpen:d,onOpenChange:h,children:C.jsx(Re.Container,{size:"sm",children:C.jsxs(Re.Dialog,{className:"max-w-md",children:[C.jsx(Re.Header,{children:C.jsx(Re.Heading,{children:"确认以本地为准覆盖"})}),C.jsxs(Re.Body,{className:"space-y-2 text-sm text-muted",children:[C.jsxs("p",{children:["将覆盖线上本机近 90 天中有差异的 ",v.length," ","天:补齐缺失、删除线上多出、改写构成不一致。"]}),C.jsxs("p",{className:"break-all font-mono text-xs",children:["deviceId:",(a==null?void 0:a.deviceId)??"—"]}),C.jsx("p",{children:"此操作以本地数据为准,操作后不可撤销。"})]}),C.jsxs(Re.Footer,{children:[C.jsx(Mt,{isDisabled:u,onPress:()=>h(!1),variant:"secondary",children:"取消"}),C.jsx(Mt,{isDisabled:u,onPress:()=>void x(),variant:"primary",children:u?"校对中…":"确认覆盖"})]})]})})})]}):C.jsxs(uu,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsx("h3",{className:"text-sm text-foreground",children:"数据校验"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"关联掘金账号后,可校验本机与线上近 90 天是否一致。"})]})}const MD={info:"accent",warn:"warning",error:"danger",success:"success"};function w8({tone:e="info",title:t,description:a}){return C.jsxs(Co,{status:MD[e],children:[C.jsx(Co.Indicator,{}),C.jsxs(Co.Content,{children:[C.jsx(Co.Title,{children:t}),a&&C.jsx(Co.Description,{children:a})]})]})}const AD=[{id:"sync",label:"云端同步"},{id:"app",label:"应用"},{id:"about",label:"关于"}],bv="max-h-[calc(90vh-9rem)] overflow-y-auto p-4 pb-8 text-left",LD="flex max-h-[calc(90vh-9rem)] min-h-0 flex-col overflow-hidden p-4 text-left";function kD({activeTab:e,onTabChange:t}={}){const[a]=y.useState(()=>new Wo({maxVisibleToasts:1})),[r,i]=y.useState("sync"),s=e??r,u=t??i,f=s==="pet"?"sync":s;return C.jsxs("div",{className:"flex min-h-0 w-full flex-1 flex-col",children:[C.jsx(Ch.Provider,{placement:"top end",queue:a}),C.jsxs(rl,{className:"flex min-h-0 w-full flex-1 flex-col text-center",selectedKey:f,onSelectionChange:d=>u(String(d)),children:[C.jsx(rl.ListContainer,{className:"m-3 mr-14 w-fit",children:C.jsx(rl.List,{"aria-label":"设置分类",className:"w-fit",children:AD.map(d=>C.jsxs(rl.Tab,{className:"h-6 w-fit px-3 text-xs font-normal aria-selected:text-accent-foreground",id:d.id,children:[d.label,C.jsx(rl.Indicator,{className:"bg-accent"})]},d.id))})}),C.jsx(rl.Panel,{className:`${LD} font-normal`,id:"sync",children:f==="sync"&&C.jsx(ND,{onNotify:d=>a.add(d),onSaved:()=>a.add({description:"写入本机 CLI 配置",title:"已保存",variant:"success"})})}),C.jsx(rl.Panel,{className:bv,id:"app",children:f==="app"&&C.jsx(DD,{})}),C.jsx(rl.Panel,{className:bv,id:"about",children:f==="about"&&C.jsx(l8,{})})]})]})}function ND({onSaved:e,onNotify:t}){var ne,ae,j;const[a,r]=y.useState(null),[i,s]=y.useState(!1),[u,f]=y.useState(!0),[d,h]=y.useState(!1),[p,b]=y.useState(!1),[v,S]=y.useState(!1),[x,E]=y.useState(null),T=y.useCallback(async()=>{f(!0);try{const W=await Rh();r(W),s(W.juejin.enabled),E(null)}catch(W){E(W instanceof Error?W.message:"加载配置失败"),r(null)}finally{f(!1)}},[]);y.useEffect(()=>{T()},[T]);const L=async W=>{const z=i;s(W),h(!0),E(null);try{const O=await $2({juejin:{enabled:W}});r(O),e()}catch(O){s(z),E(O instanceof Error?O.message:"保存失败")}finally{h(!1)}},M=async()=>{h(!0),E(null);try{const W=await $2({juejin:{token:null,originUserId:null,userName:null,avatarLarge:null}});r(W),b(!1),r8(),t({title:"已退出登录",variant:"success"})}catch(W){E(W instanceof Error?W.message:"退出失败"),b(!1)}finally{h(!1)}};if(u)return C.jsx("p",{className:"text-muted",children:"加载配置…"});const N=W=>W.replace(/^['"]+|['"]+$/g,"").trim(),A=(a==null?void 0:a.juejin.userId)??null,B=N(((ne=a==null?void 0:a.juejin.originUserId)==null?void 0:ne.trim())||""),F=((ae=a==null?void 0:a.juejin.userName)==null?void 0:ae.trim())||"",$=((j=a==null?void 0:a.juejin.avatarLarge)==null?void 0:j.trim())||"",k=(a==null?void 0:a.juejin.hasToken)??!1,K=A&&!A.startsWith("jau.")?N(A):"",U=B||K||null,q=()=>{S8().then(W=>{W.ok||t({title:"无法打开掘金登录页",description:W.message??"请稍后重试",variant:"danger"})})};return C.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",children:[x&&C.jsx(w8,{tone:"error",title:x}),C.jsxs("div",{className:"min-h-0 flex-1 space-y-3 overflow-y-auto pr-1",children:[C.jsxs(uu,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsxs("div",{className:"flex items-start justify-between gap-4",children:[C.jsxs("div",{className:"min-w-0",children:[C.jsx("h3",{className:"text-sm text-foreground",children:"云端同步"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"本地 sync 完成后自动上报掘金"})]}),C.jsx(hl,{id:"cli-juejin-enabled",isDisabled:d,isSelected:i,onChange:W=>{L(W)},children:C.jsxs(hl.Content,{children:[C.jsx(hl.Control,{children:C.jsx(hl.Indicator,{})}),"启用"]})})]}),C.jsxs("div",{className:"mt-4 flex items-start justify-between gap-4 text-sm",children:[C.jsxs("div",{children:[C.jsx("p",{className:"text-foreground",children:"关联账号"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"用于识别云端用量归属"})]}),A?C.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[$?C.jsx("img",{alt:F||"用户头像",className:"size-8 shrink-0 rounded-full object-cover",referrerPolicy:"no-referrer",src:$,title:F||void 0}):C.jsx("span",{"aria-hidden":"true",className:"inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-accent/15 text-[13px] text-accent",title:F||void 0,children:(F||A).slice(0,1)}),C.jsxs("div",{className:"min-w-0 text-right",children:[C.jsx("p",{className:"truncate text-foreground",title:F||void 0,children:F||"已关联"}),C.jsx("p",{className:"break-all font-mono text-xs text-muted",title:U?void 0:"缺少 originUserId,请重新掘金登录关联",children:U??"缺少用户 ID(请重新登录关联)"})]})]}):C.jsx("span",{className:"text-muted",children:"未关联"})]}),i&&!A&&C.jsx("p",{className:"mt-3 text-xs text-amber-600 dark:text-amber-400",children:k?"尚未通过掘金登录关联账号;关联前不会上报。":"已开启同步但未关联用户 ID,上报将跳过。"})]}),C.jsx(RD,{linked:!!A,onNotify:t})]}),C.jsx("div",{className:"mt-auto flex shrink-0 justify-end gap-2",children:A?C.jsx(Mt,{isDisabled:d,onPress:()=>b(!0),variant:"danger",children:"退出登录"}):C.jsx(Mt,{isDisabled:d,onPress:()=>S(!0),variant:"primary",children:"掘金登录"})}),C.jsx(hk,{isOpen:v,onConfirm:q,onOpenChange:S}),C.jsx(Re.Backdrop,{isOpen:p,onOpenChange:b,variant:"opaque",children:C.jsx(Re.Container,{size:"sm",children:C.jsxs(Re.Dialog,{children:[C.jsx(Re.CloseTrigger,{"aria-label":"关闭"}),C.jsx(Re.Header,{children:C.jsx(Re.Heading,{children:"退出登录"})}),C.jsx(Re.Body,{className:"text-sm text-muted",children:"确认清除本机保存的用户 ID?清除后需重新通过掘金登录关联。"}),C.jsxs(Re.Footer,{className:"gap-2",children:[C.jsx(Mt,{slot:"close",variant:"tertiary",children:"取消"}),C.jsx(Mt,{isDisabled:d,onPress:()=>{M()},variant:"danger",children:"确认退出"})]})]})})})]})}function DD(){const[e,t]=y.useState(null),[a,r]=y.useState(!0),[i,s]=y.useState(null);return y.useEffect(()=>{let u=!1;return Rh().then(f=>{u||(t(f),s(null))}).catch(f=>{u||s(f instanceof Error?f.message:"加载配置失败")}).finally(()=>{u||r(!1)}),()=>{u=!0}},[]),a?C.jsx("p",{className:"text-muted",children:"加载配置…"}):i?C.jsx(w8,{tone:"error",title:i}):e?C.jsx("div",{className:"flex flex-col gap-4",children:C.jsxs(uu,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsx("h3",{className:"mb-3 text-sm font-medium text-foreground",children:"设备信息"}),C.jsxs("div",{className:"flex flex-col gap-2 text-sm",children:[C.jsx(Pc,{label:"设备 ID",value:e.deviceId}),C.jsx(Pc,{label:"上报起点",value:e.statsSince.slice(0,19).replace("T"," ")}),C.jsx(Pc,{label:"上次同步",value:e.lastSyncAt?new Date(e.lastSyncAt).toLocaleString():"从未"}),C.jsx(Pc,{label:"上次上报",value:e.lastUploadAt?new Date(e.lastUploadAt).toLocaleString():"从未"})]})]})}):C.jsx("p",{className:"text-sm text-muted",children:"当前为 Web 模式,设备信息仅在本机 CLI / 桌面端可见。"})}function Pc({label:e,value:t}){return C.jsxs("div",{className:"flex items-center justify-between gap-4 text-sm",children:[C.jsx("span",{className:"text-muted",children:e}),C.jsx("span",{className:"break-all text-right font-mono text-xs",children:t})]})}function $D({trigger:e,isOpen:t,onOpenChange:a,listenForOpenEvent:r=!0,hideTrigger:i=!1,activeTab:s,onTabChange:u}={}){const[f,d]=y.useState(!1),[h,p]=y.useState("sync"),b=t!==void 0,v=b?t:f,S=s??h,x=y.useCallback(T=>{b||d(T),a==null||a(T)},[b,a]),E=y.useCallback(T=>{s===void 0&&p(T),u==null||u(T)},[s,u]);return y.useEffect(()=>{if(!r)return;const T=L=>{const M=L.detail;M!=null&&M.tab&&E(M.tab),x(!0)};return window.addEventListener(N2,T),()=>window.removeEventListener(N2,T)},[r,x,E]),C.jsxs(C.Fragment,{children:[!i&&(e??C.jsxs(Mt,{"aria-label":"设置",onPress:()=>x(!0),variant:"tertiary",children:[C.jsx(fk,{}),"设置"]})),C.jsx(Re.Backdrop,{isOpen:v,onOpenChange:x,variant:"opaque",children:C.jsx(Re.Container,{className:"w-full max-w-[720px] sm:w-[720px]",scroll:"inside",size:"lg",children:C.jsxs(Re.Dialog,{"aria-label":"设置",className:"flex max-h-[90vh] w-full flex-col overflow-hidden sm:w-[640px] sm:max-w-[640px]",children:[C.jsx(Re.CloseTrigger,{"aria-label":"关闭设置"}),C.jsx(Re.Header,{children:C.jsx(Re.Heading,{children:"设置"})}),C.jsx(Re.Body,{className:"min-h-0 flex-1 overflow-hidden p-0",children:C.jsx(kD,{activeTab:S,onTabChange:E})})]})})})]})}/**
86
+ * @license lucide-react v1.24.0 - ISC
87
+ *
88
+ * This source code is licensed under the ISC license.
89
+ * See the LICENSE file in the root directory of this source tree.
90
+ */const C8=(...e)=>e.filter((t,a,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===a).join(" ").trim();/**
91
+ * @license lucide-react v1.24.0 - ISC
92
+ *
93
+ * This source code is licensed under the ISC license.
94
+ * See the LICENSE file in the root directory of this source tree.
95
+ */const zD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
96
+ * @license lucide-react v1.24.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const PD=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,r)=>r?r.toUpperCase():a.toLowerCase());/**
101
+ * @license lucide-react v1.24.0 - ISC
102
+ *
103
+ * This source code is licensed under the ISC license.
104
+ * See the LICENSE file in the root directory of this source tree.
105
+ */const vv=e=>{const t=PD(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
106
+ * @license lucide-react v1.24.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */var _0={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"};/**
111
+ * @license lucide-react v1.24.0 - ISC
112
+ *
113
+ * This source code is licensed under the ISC license.
114
+ * See the LICENSE file in the root directory of this source tree.
115
+ */const OD=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},jD=y.createContext({}),ID=()=>y.useContext(jD),BD=y.forwardRef(({color:e,size:t,strokeWidth:a,absoluteStrokeWidth:r,className:i="",children:s,iconNode:u,...f},d)=>{const{size:h=24,strokeWidth:p=2,absoluteStrokeWidth:b=!1,color:v="currentColor",className:S=""}=ID()??{},x=r??b?Number(a??p)*24/Number(t??h):a??p;return y.createElement("svg",{ref:d,..._0,width:t??h??_0.width,height:t??h??_0.height,stroke:e??v,strokeWidth:x,className:C8("lucide",S,i),...!s&&!OD(f)&&{"aria-hidden":"true"},...f},[...u.map(([E,T])=>y.createElement(E,T)),...Array.isArray(s)?s:[s]])});/**
116
+ * @license lucide-react v1.24.0 - ISC
117
+ *
118
+ * This source code is licensed under the ISC license.
119
+ * See the LICENSE file in the root directory of this source tree.
120
+ */const Lh=(e,t)=>{const a=y.forwardRef(({className:r,...i},s)=>y.createElement(BD,{ref:s,iconNode:t,className:C8(`lucide-${zD(vv(e))}`,`lucide-${e}`,r),...i}));return a.displayName=vv(e),a};/**
121
+ * @license lucide-react v1.24.0 - ISC
122
+ *
123
+ * This source code is licensed under the ISC license.
124
+ * See the LICENSE file in the root directory of this source tree.
125
+ */const HD=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],KD=Lh("chevron-left",HD);/**
126
+ * @license lucide-react v1.24.0 - ISC
127
+ *
128
+ * This source code is licensed under the ISC license.
129
+ * See the LICENSE file in the root directory of this source tree.
130
+ */const UD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],VD=Lh("chevron-right",UD);/**
131
+ * @license lucide-react v1.24.0 - ISC
132
+ *
133
+ * This source code is licensed under the ISC license.
134
+ * See the LICENSE file in the root directory of this source tree.
135
+ */const _D=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],FD=Lh("copy",_D),E8=y.createContext({authStatus:"unauthenticated",userId:null,userName:"",avatarLarge:""});function GD({authStatus:e,userId:t,userName:a,avatarLarge:r,children:i}){return C.jsx(E8.Provider,{value:{authStatus:e,userId:t,userName:a,avatarLarge:r},children:i})}function qD(){return y.useContext(E8)}const T8=y.createContext(null);function YD({children:e}){const[t,a]=y.useState(null),r=y.useCallback(s=>{a(s)},[]),i=y.useMemo(()=>({publishSnapshot:r,snapshot:t}),[r,t]);return C.jsx(T8.Provider,{value:i,children:e})}function XD(){const e=y.useContext(T8);if(!e)throw new Error("useShareSnapshot must be used within ShareSnapshotProvider");return e}var WD=Object.defineProperty,gu=Object.getOwnPropertySymbols,R8=Object.prototype.hasOwnProperty,M8=Object.prototype.propertyIsEnumerable,yv=(e,t,a)=>t in e?WD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,z2=(e,t)=>{for(var a in t||(t={}))R8.call(t,a)&&yv(e,a,t[a]);if(gu)for(var a of gu(t))M8.call(t,a)&&yv(e,a,t[a]);return e},P2=(e,t)=>{var a={};for(var r in e)R8.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(e!=null&&gu)for(var r of gu(e))t.indexOf(r)<0&&M8.call(e,r)&&(a[r]=e[r]);return a};/**
136
+ * @license QR Code generator library (TypeScript)
137
+ * Copyright (c) Project Nayuki.
138
+ * SPDX-License-Identifier: MIT
139
+ */var rr;(e=>{const t=class Pe{constructor(d,h,p,b){if(this.version=d,this.errorCorrectionLevel=h,this.modules=[],this.isFunction=[],d<Pe.MIN_VERSION||d>Pe.MAX_VERSION)throw new RangeError("Version value out of range");if(b<-1||b>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let v=[];for(let x=0;x<this.size;x++)v.push(!1);for(let x=0;x<this.size;x++)this.modules.push(v.slice()),this.isFunction.push(v.slice());this.drawFunctionPatterns();const S=this.addEccAndInterleave(p);if(this.drawCodewords(S),b==-1){let x=1e9;for(let E=0;E<8;E++){this.applyMask(E),this.drawFormatBits(E);const T=this.getPenaltyScore();T<x&&(b=E,x=T),this.applyMask(E)}}i(0<=b&&b<=7),this.mask=b,this.applyMask(b),this.drawFormatBits(b),this.isFunction=[]}static encodeText(d,h){const p=e.QrSegment.makeSegments(d);return Pe.encodeSegments(p,h)}static encodeBinary(d,h){const p=e.QrSegment.makeBytes(d);return Pe.encodeSegments([p],h)}static encodeSegments(d,h,p=1,b=40,v=-1,S=!0){if(!(Pe.MIN_VERSION<=p&&p<=b&&b<=Pe.MAX_VERSION)||v<-1||v>7)throw new RangeError("Invalid value");let x,E;for(x=p;;x++){const N=Pe.getNumDataCodewords(x,h)*8,A=u.getTotalBits(d,x);if(A<=N){E=A;break}if(x>=b)throw new RangeError("Data too long")}for(const N of[Pe.Ecc.MEDIUM,Pe.Ecc.QUARTILE,Pe.Ecc.HIGH])S&&E<=Pe.getNumDataCodewords(x,N)*8&&(h=N);let T=[];for(const N of d){a(N.mode.modeBits,4,T),a(N.numChars,N.mode.numCharCountBits(x),T);for(const A of N.getData())T.push(A)}i(T.length==E);const L=Pe.getNumDataCodewords(x,h)*8;i(T.length<=L),a(0,Math.min(4,L-T.length),T),a(0,(8-T.length%8)%8,T),i(T.length%8==0);for(let N=236;T.length<L;N^=253)a(N,8,T);let M=[];for(;M.length*8<T.length;)M.push(0);return T.forEach((N,A)=>M[A>>>3]|=N<<7-(A&7)),new Pe(x,h,M,v)}getModule(d,h){return 0<=d&&d<this.size&&0<=h&&h<this.size&&this.modules[h][d]}getModules(){return this.modules}drawFunctionPatterns(){for(let p=0;p<this.size;p++)this.setFunctionModule(6,p,p%2==0),this.setFunctionModule(p,6,p%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const d=this.getAlignmentPatternPositions(),h=d.length;for(let p=0;p<h;p++)for(let b=0;b<h;b++)p==0&&b==0||p==0&&b==h-1||p==h-1&&b==0||this.drawAlignmentPattern(d[p],d[b]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(d){const h=this.errorCorrectionLevel.formatBits<<3|d;let p=h;for(let v=0;v<10;v++)p=p<<1^(p>>>9)*1335;const b=(h<<10|p)^21522;i(b>>>15==0);for(let v=0;v<=5;v++)this.setFunctionModule(8,v,r(b,v));this.setFunctionModule(8,7,r(b,6)),this.setFunctionModule(8,8,r(b,7)),this.setFunctionModule(7,8,r(b,8));for(let v=9;v<15;v++)this.setFunctionModule(14-v,8,r(b,v));for(let v=0;v<8;v++)this.setFunctionModule(this.size-1-v,8,r(b,v));for(let v=8;v<15;v++)this.setFunctionModule(8,this.size-15+v,r(b,v));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let p=0;p<12;p++)d=d<<1^(d>>>11)*7973;const h=this.version<<12|d;i(h>>>18==0);for(let p=0;p<18;p++){const b=r(h,p),v=this.size-11+p%3,S=Math.floor(p/3);this.setFunctionModule(v,S,b),this.setFunctionModule(S,v,b)}}drawFinderPattern(d,h){for(let p=-4;p<=4;p++)for(let b=-4;b<=4;b++){const v=Math.max(Math.abs(b),Math.abs(p)),S=d+b,x=h+p;0<=S&&S<this.size&&0<=x&&x<this.size&&this.setFunctionModule(S,x,v!=2&&v!=4)}}drawAlignmentPattern(d,h){for(let p=-2;p<=2;p++)for(let b=-2;b<=2;b++)this.setFunctionModule(d+b,h+p,Math.max(Math.abs(b),Math.abs(p))!=1)}setFunctionModule(d,h,p){this.modules[h][d]=p,this.isFunction[h][d]=!0}addEccAndInterleave(d){const h=this.version,p=this.errorCorrectionLevel;if(d.length!=Pe.getNumDataCodewords(h,p))throw new RangeError("Invalid argument");const b=Pe.NUM_ERROR_CORRECTION_BLOCKS[p.ordinal][h],v=Pe.ECC_CODEWORDS_PER_BLOCK[p.ordinal][h],S=Math.floor(Pe.getNumRawDataModules(h)/8),x=b-S%b,E=Math.floor(S/b);let T=[];const L=Pe.reedSolomonComputeDivisor(v);for(let N=0,A=0;N<b;N++){let B=d.slice(A,A+E-v+(N<x?0:1));A+=B.length;const F=Pe.reedSolomonComputeRemainder(B,L);N<x&&B.push(0),T.push(B.concat(F))}let M=[];for(let N=0;N<T[0].length;N++)T.forEach((A,B)=>{(N!=E-v||B>=x)&&M.push(A[N])});return i(M.length==S),M}drawCodewords(d){if(d.length!=Math.floor(Pe.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let h=0;for(let p=this.size-1;p>=1;p-=2){p==6&&(p=5);for(let b=0;b<this.size;b++)for(let v=0;v<2;v++){const S=p-v,E=(p+1&2)==0?this.size-1-b:b;!this.isFunction[E][S]&&h<d.length*8&&(this.modules[E][S]=r(d[h>>>3],7-(h&7)),h++)}}i(h==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let h=0;h<this.size;h++)for(let p=0;p<this.size;p++){let b;switch(d){case 0:b=(p+h)%2==0;break;case 1:b=h%2==0;break;case 2:b=p%3==0;break;case 3:b=(p+h)%3==0;break;case 4:b=(Math.floor(p/3)+Math.floor(h/2))%2==0;break;case 5:b=p*h%2+p*h%3==0;break;case 6:b=(p*h%2+p*h%3)%2==0;break;case 7:b=((p+h)%2+p*h%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[h][p]&&b&&(this.modules[h][p]=!this.modules[h][p])}}getPenaltyScore(){let d=0;for(let v=0;v<this.size;v++){let S=!1,x=0,E=[0,0,0,0,0,0,0];for(let T=0;T<this.size;T++)this.modules[v][T]==S?(x++,x==5?d+=Pe.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,E),S||(d+=this.finderPenaltyCountPatterns(E)*Pe.PENALTY_N3),S=this.modules[v][T],x=1);d+=this.finderPenaltyTerminateAndCount(S,x,E)*Pe.PENALTY_N3}for(let v=0;v<this.size;v++){let S=!1,x=0,E=[0,0,0,0,0,0,0];for(let T=0;T<this.size;T++)this.modules[T][v]==S?(x++,x==5?d+=Pe.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,E),S||(d+=this.finderPenaltyCountPatterns(E)*Pe.PENALTY_N3),S=this.modules[T][v],x=1);d+=this.finderPenaltyTerminateAndCount(S,x,E)*Pe.PENALTY_N3}for(let v=0;v<this.size-1;v++)for(let S=0;S<this.size-1;S++){const x=this.modules[v][S];x==this.modules[v][S+1]&&x==this.modules[v+1][S]&&x==this.modules[v+1][S+1]&&(d+=Pe.PENALTY_N2)}let h=0;for(const v of this.modules)h=v.reduce((S,x)=>S+(x?1:0),h);const p=this.size*this.size,b=Math.ceil(Math.abs(h*20-p*10)/p)-1;return i(0<=b&&b<=9),d+=b*Pe.PENALTY_N4,i(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,h=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let p=[6];for(let b=this.size-7;p.length<d;b-=h)p.splice(1,0,b);return p}}static getNumRawDataModules(d){if(d<Pe.MIN_VERSION||d>Pe.MAX_VERSION)throw new RangeError("Version number out of range");let h=(16*d+128)*d+64;if(d>=2){const p=Math.floor(d/7)+2;h-=(25*p-10)*p-55,d>=7&&(h-=36)}return i(208<=h&&h<=29648),h}static getNumDataCodewords(d,h){return Math.floor(Pe.getNumRawDataModules(d)/8)-Pe.ECC_CODEWORDS_PER_BLOCK[h.ordinal][d]*Pe.NUM_ERROR_CORRECTION_BLOCKS[h.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let h=[];for(let b=0;b<d-1;b++)h.push(0);h.push(1);let p=1;for(let b=0;b<d;b++){for(let v=0;v<h.length;v++)h[v]=Pe.reedSolomonMultiply(h[v],p),v+1<h.length&&(h[v]^=h[v+1]);p=Pe.reedSolomonMultiply(p,2)}return h}static reedSolomonComputeRemainder(d,h){let p=h.map(b=>0);for(const b of d){const v=b^p.shift();p.push(0),h.forEach((S,x)=>p[x]^=Pe.reedSolomonMultiply(S,v))}return p}static reedSolomonMultiply(d,h){if(d>>>8||h>>>8)throw new RangeError("Byte out of range");let p=0;for(let b=7;b>=0;b--)p=p<<1^(p>>>7)*285,p^=(h>>>b&1)*d;return i(p>>>8==0),p}finderPenaltyCountPatterns(d){const h=d[1];i(h<=this.size*3);const p=h>0&&d[2]==h&&d[3]==h*3&&d[4]==h&&d[5]==h;return(p&&d[0]>=h*4&&d[6]>=h?1:0)+(p&&d[6]>=h*4&&d[0]>=h?1:0)}finderPenaltyTerminateAndCount(d,h,p){return d&&(this.finderPenaltyAddHistory(h,p),h=0),h+=this.size,this.finderPenaltyAddHistory(h,p),this.finderPenaltyCountPatterns(p)}finderPenaltyAddHistory(d,h){h[0]==0&&(d+=this.size),h.pop(),h.unshift(d)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function a(f,d,h){if(d<0||d>31||f>>>d)throw new RangeError("Value out of range");for(let p=d-1;p>=0;p--)h.push(f>>>p&1)}function r(f,d){return(f>>>d&1)!=0}function i(f){if(!f)throw new Error("Assertion error")}const s=class ct{constructor(d,h,p){if(this.mode=d,this.numChars=h,this.bitData=p,h<0)throw new RangeError("Invalid argument");this.bitData=p.slice()}static makeBytes(d){let h=[];for(const p of d)a(p,8,h);return new ct(ct.Mode.BYTE,d.length,h)}static makeNumeric(d){if(!ct.isNumeric(d))throw new RangeError("String contains non-numeric characters");let h=[];for(let p=0;p<d.length;){const b=Math.min(d.length-p,3);a(parseInt(d.substring(p,p+b),10),b*3+1,h),p+=b}return new ct(ct.Mode.NUMERIC,d.length,h)}static makeAlphanumeric(d){if(!ct.isAlphanumeric(d))throw new RangeError("String contains unencodable characters in alphanumeric mode");let h=[],p;for(p=0;p+2<=d.length;p+=2){let b=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p))*45;b+=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p+1)),a(b,11,h)}return p<d.length&&a(ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p)),6,h),new ct(ct.Mode.ALPHANUMERIC,d.length,h)}static makeSegments(d){return d==""?[]:ct.isNumeric(d)?[ct.makeNumeric(d)]:ct.isAlphanumeric(d)?[ct.makeAlphanumeric(d)]:[ct.makeBytes(ct.toUtf8ByteArray(d))]}static makeEci(d){let h=[];if(d<0)throw new RangeError("ECI assignment value out of range");if(d<128)a(d,8,h);else if(d<16384)a(2,2,h),a(d,14,h);else if(d<1e6)a(6,3,h),a(d,21,h);else throw new RangeError("ECI assignment value out of range");return new ct(ct.Mode.ECI,0,h)}static isNumeric(d){return ct.NUMERIC_REGEX.test(d)}static isAlphanumeric(d){return ct.ALPHANUMERIC_REGEX.test(d)}getData(){return this.bitData.slice()}static getTotalBits(d,h){let p=0;for(const b of d){const v=b.mode.numCharCountBits(h);if(b.numChars>=1<<v)return 1/0;p+=4+v+b.bitData.length}return p}static toUtf8ByteArray(d){d=encodeURI(d);let h=[];for(let p=0;p<d.length;p++)d.charAt(p)!="%"?h.push(d.charCodeAt(p)):(h.push(parseInt(d.substring(p+1,p+3),16)),p+=2);return h}};s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let u=s;e.QrSegment=s})(rr||(rr={}));(e=>{(t=>{const a=class{constructor(i,s){this.ordinal=i,this.formatBits=s}};a.LOW=new a(0,1),a.MEDIUM=new a(1,0),a.QUARTILE=new a(2,3),a.HIGH=new a(3,2),t.Ecc=a})(e.QrCode||(e.QrCode={}))})(rr||(rr={}));(e=>{(t=>{const a=class{constructor(i,s){this.modeBits=i,this.numBitsCharCount=s}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};a.NUMERIC=new a(1,[10,12,14]),a.ALPHANUMERIC=new a(2,[9,11,13]),a.BYTE=new a(4,[8,16,16]),a.KANJI=new a(8,[8,10,12]),a.ECI=new a(7,[0,0,0]),t.Mode=a})(e.QrSegment||(e.QrSegment={}))})(rr||(rr={}));var oi=rr;/**
140
+ * @license qrcode.react
141
+ * Copyright (c) Paul O'Shannessy
142
+ * SPDX-License-Identifier: ISC
143
+ */var ZD={L:oi.QrCode.Ecc.LOW,M:oi.QrCode.Ecc.MEDIUM,Q:oi.QrCode.Ecc.QUARTILE,H:oi.QrCode.Ecc.HIGH},A8=128,L8="L",k8="#FFFFFF",N8="#000000",D8=!1,$8=1,QD=4,JD=0,e$=.1;function z8(e,t=0){const a=[];return e.forEach(function(r,i){let s=null;r.forEach(function(u,f){if(!u&&s!==null){a.push(`M${s+t} ${i+t}h${f-s}v1H${s+t}z`),s=null;return}if(f===r.length-1){if(!u)return;s===null?a.push(`M${f+t},${i+t} h1v1H${f+t}z`):a.push(`M${s+t},${i+t} h${f+1-s}v1H${s+t}z`);return}u&&s===null&&(s=f)})}),a.join("")}function P8(e,t){return e.slice().map((a,r)=>r<t.y||r>=t.y+t.h?a:a.map((i,s)=>s<t.x||s>=t.x+t.w?i:!1))}function t$(e,t,a,r){if(r==null)return null;const i=e.length+a*2,s=Math.floor(t*e$),u=i/t,f=(r.width||s)*u,d=(r.height||s)*u,h=r.x==null?e.length/2-f/2:r.x*u,p=r.y==null?e.length/2-d/2:r.y*u,b=r.opacity==null?1:r.opacity;let v=null;if(r.excavate){let x=Math.floor(h),E=Math.floor(p),T=Math.ceil(f+h-x),L=Math.ceil(d+p-E);v={x,y:E,w:T,h:L}}const S=r.crossOrigin;return{x:h,y:p,h:d,w:f,excavation:v,opacity:b,crossOrigin:S}}function n$(e,t){return t!=null?Math.max(Math.floor(t),0):e?QD:JD}function O8({value:e,level:t,minVersion:a,includeMargin:r,marginSize:i,imageSettings:s,size:u,boostLevel:f}){let d=_.useMemo(()=>{const x=(Array.isArray(e)?e:[e]).reduce((E,T)=>(E.push(...oi.QrSegment.makeSegments(T)),E),[]);return oi.QrCode.encodeSegments(x,ZD[t],a,void 0,void 0,f)},[e,t,a,f]);const{cells:h,margin:p,numCells:b,calculatedImageSettings:v}=_.useMemo(()=>{let S=d.getModules();const x=n$(r,i),E=S.length+x*2,T=t$(S,u,x,s);return{cells:S,margin:x,numCells:E,calculatedImageSettings:T}},[d,u,s,r,i]);return{qrcode:d,margin:p,cells:h,numCells:b,calculatedImageSettings:v}}var a$=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),l$=_.forwardRef(function(t,a){const r=t,{value:i,size:s=A8,level:u=L8,bgColor:f=k8,fgColor:d=N8,includeMargin:h=D8,minVersion:p=$8,boostLevel:b,marginSize:v,imageSettings:S}=r,E=P2(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:T}=E,L=P2(E,["style"]),M=S==null?void 0:S.src,N=_.useRef(null),A=_.useRef(null),B=_.useCallback(j=>{N.current=j,typeof a=="function"?a(j):a&&(a.current=j)},[a]),[F,$]=_.useState(!1),{margin:k,cells:K,numCells:U,calculatedImageSettings:q}=O8({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:v,imageSettings:S,size:s});_.useEffect(()=>{if(N.current!=null){const j=N.current,W=j.getContext("2d");if(!W)return;let z=K;const O=A.current,oe=q!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;oe&&q.excavation!=null&&(z=P8(K,q.excavation));const J=window.devicePixelRatio||1;j.height=j.width=s*J;const G=s/U*J;W.scale(G,G),W.fillStyle=f,W.fillRect(0,0,U,U),W.fillStyle=d,a$?W.fill(new Path2D(z8(z,k))):K.forEach(function(D,Q){D.forEach(function(se,ce){se&&W.fillRect(ce+k,Q+k,1,1)})}),q&&(W.globalAlpha=q.opacity),oe&&W.drawImage(O,q.x+k,q.y+k,q.w,q.h)}}),_.useEffect(()=>{$(!1)},[M]);const ne=z2({height:s,width:s},T);let ae=null;return M!=null&&(ae=_.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{$(!0)},ref:A,crossOrigin:q==null?void 0:q.crossOrigin})),_.createElement(_.Fragment,null,_.createElement("canvas",z2({style:ne,height:s,width:s,ref:B,role:"img"},L)),ae)});l$.displayName="QRCodeCanvas";var j8=_.forwardRef(function(t,a){const r=t,{value:i,size:s=A8,level:u=L8,bgColor:f=k8,fgColor:d=N8,includeMargin:h=D8,minVersion:p=$8,boostLevel:b,title:v,marginSize:S,imageSettings:x}=r,E=P2(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:T,cells:L,numCells:M,calculatedImageSettings:N}=O8({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:S,imageSettings:x,size:s});let A=L,B=null;x!=null&&N!=null&&(N.excavation!=null&&(A=P8(L,N.excavation)),B=_.createElement("image",{href:x.src,height:N.h,width:N.w,x:N.x+T,y:N.y+T,preserveAspectRatio:"none",opacity:N.opacity,crossOrigin:N.crossOrigin}));const F=z8(A,T);return _.createElement("svg",z2({height:s,width:s,viewBox:`0 0 ${M} ${M}`,ref:a,role:"img"},E),!!v&&_.createElement("title",null,v),_.createElement("path",{fill:f,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),_.createElement("path",{fill:d,d:F,shapeRendering:"crispEdges"}),B)});j8.displayName="QRCodeSVG";const r$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3crect%20width='24'%20height='24'%20rx='5'%20fill='%23fff'/%3e%3cpath%20fill='%231e80ff'%20d='m12%2014.316%207.454-5.88-2.022-1.625L12%2011.1l-.004.003-5.432-4.288-2.02%201.624%207.452%205.88Zm0-7.247%202.89-2.298L12%202.453l-.004-.005-2.884%202.318%202.884%202.3Zm0%2011.266-.005.002-9.975-7.87L0%2012.088l.194.156%2011.803%209.308%207.463-5.885L24%2012.085l-2.023-1.624Z'%20transform='translate(2.4%202.4)%20scale(.8)'%20/%3e%3c/svg%3e",i$="/assets/click-idle-CXAVCmiH.png",o$="/assets/hawking-idle-QoXt5bST.png",s$="/assets/yoyo-idle-DDvV3ieO.png";function EP(e){return Number.isFinite(e)?Math.round(e).toLocaleString():"0"}function c$(e){return Number.isFinite(e)?`$${e.toFixed(2)}`:"$0.00"}function TP(e){return Number.isFinite(e)?`${e.toFixed(1)}%`:"0.0%"}const u$="data:font/woff2;base64,d09GMgABAAAAAJ3UABQAAAABfDgAAJ1eAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFfG4dOHIGacj9IVkFSiUwGYD9TVEFUgWInJgCFIi9qEQgKgdw4gawuC4YWADCCojABNgIkA4waBCAFiUwHowwMB1u3X3GC6aZjD165bQA/5feRJ7EK5KabcjtIaXvmyAJ27AXYOIA2Nl6c/f//eUlFjkrrJK3ZxsGPe0vJiQjkUtZVnoqpDZk2jITW1o6lySayOlsmsTuc7x7N+YLeweTE5EQKOul1EKTJpAnWK4MLsRcl7bXlKtx/uM/FDpQILw/Vx+Z727G1y+Ojue5TfpDHCTmX7myGnztttzQa90eGEX/4yR1NWGhKKEKKDNIhTUSJg27w+0IgVhWmy/s/QBMhM7ppeJsVbfMfW+mooSNQ/QePQ//wOSf52+lqLusAuwX/YpIyLMfTSvh/+Dbt3DeDDXhIvMSMujpdN/tS/6v6+v/o9b07+fLpBQ3gJBMM9deshVKtWFVbbbunx8/T3N79WxVjazbGYHNElCBgA0YTJmAmJZhgN7SBUYXZhFGUIOy2u+FJN/+h8CGgVAFRgQyySSBrXi53GZdNjiOBcIwAiUBYMlRctKJ1zO/EsUCt/+OYfEcdqwPnV+uodFHdOLsWzKBmOT5nZj1rxYpITlJrredaScVasWLdbxrEiieDWCvWipXZT0SsBBERa8W6g5hPPNcG1zykQYL72SUNYoOE7C9iRSRIEAkiYq37iYiYe1O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ix1wULQbU7Vwb/qsjaH/ZeIeD9blqqlq/7mqe/HfCo50PMQMSD95i1E9eo60CAAAA";function f$(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const a=document.implementation.createHTMLDocument(),r=a.createElement("base"),i=a.createElement("a");return a.head.appendChild(r),a.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}const d$=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function gl(e){const t=[];for(let a=0,r=e.length;a<r;a++)t.push(e[a]);return t}let Jr=null;function I8(e={}){return Jr||(e.includeStyleProperties?(Jr=e.includeStyleProperties,Jr):(Jr=gl(window.getComputedStyle(document.documentElement)),Jr))}function bu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function h$(e){const t=bu(e,"border-left-width"),a=bu(e,"border-right-width");return e.clientWidth+t+a}function m$(e){const t=bu(e,"border-top-width"),a=bu(e,"border-bottom-width");return e.clientHeight+t+a}function B8(e,t={}){const a=t.width||h$(e),r=t.height||m$(e);return{width:a,height:r}}function p$(){let e,t;try{t=process}catch{}const a=t&&t.env?t.env.devicePixelRatio:null;return a&&(e=parseInt(a,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const bn=16384;function g$(e){(e.width>bn||e.height>bn)&&(e.width>bn&&e.height>bn?e.width>e.height?(e.height*=bn/e.width,e.width=bn):(e.width*=bn/e.height,e.height=bn):e.width>bn?(e.height*=bn/e.width,e.width=bn):(e.width*=bn/e.height,e.height=bn))}function b$(e,t={}){return e.toBlob?new Promise(a=>{e.toBlob(a,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(a=>{const r=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),i=r.length,s=new Uint8Array(i);for(let u=0;u<i;u+=1)s[u]=r.charCodeAt(u);a(new Blob([s],{type:t.type?t.type:"image/png"}))})}function vu(e){return new Promise((t,a)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=a,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function v$(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function y$(e,t,a){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${a}`),i.setAttribute("viewBox",`0 0 ${t} ${a}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),i.appendChild(s),s.appendChild(e),v$(i)}const ln=(e,t)=>{if(e instanceof t)return!0;const a=Object.getPrototypeOf(e);return a===null?!1:a.constructor.name===t.name||ln(a,t)};function x$(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function S$(e,t){return I8(t).map(a=>{const r=e.getPropertyValue(a),i=e.getPropertyPriority(a);return`${a}: ${r}${i?" !important":""};`}).join(" ")}function w$(e,t,a,r){const i=`.${e}:${t}`,s=a.cssText?x$(a):S$(a,r);return document.createTextNode(`${i}{${s}}`)}function xv(e,t,a,r){const i=window.getComputedStyle(e,a),s=i.getPropertyValue("content");if(s===""||s==="none")return;const u=d$();try{t.className=`${t.className} ${u}`}catch{return}const f=document.createElement("style");f.appendChild(w$(u,a,i,r)),t.appendChild(f)}function C$(e,t,a){xv(e,t,":before",a),xv(e,t,":after",a)}const Sv="application/font-woff",wv="image/jpeg",E$={woff:Sv,woff2:Sv,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:wv,jpeg:wv,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function T$(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function kh(e){const t=T$(e).toLowerCase();return E$[t]||""}function R$(e){return e.split(/,/)[1]}function O2(e){return e.search(/^(data:)/)!==-1}function M$(e,t){return`data:${t};base64,${e}`}async function H8(e,t,a){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((s,u)=>{const f=new FileReader;f.onerror=u,f.onloadend=()=>{try{s(a({res:r,result:f.result}))}catch(d){u(d)}},f.readAsDataURL(i)})}const F0={};function A$(e,t,a){let r=e.replace(/\?.*/,"");return a&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Nh(e,t,a){const r=A$(e,t,a.includeQueryParams);if(F0[r]!=null)return F0[r];a.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await H8(e,a.fetchRequestInit,({res:u,result:f})=>(t||(t=u.headers.get("Content-Type")||""),R$(f)));i=M$(s,t)}catch(s){i=a.imagePlaceholder||"";let u=`Failed to fetch resource: ${e}`;s&&(u=typeof s=="string"?s:s.message),u&&console.warn(u)}return F0[r]=i,i}async function L$(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):vu(t)}async function k$(e,t){if(e.currentSrc){const s=document.createElement("canvas"),u=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,u==null||u.drawImage(e,0,0,s.width,s.height);const f=s.toDataURL();return vu(f)}const a=e.poster,r=kh(a),i=await Nh(a,r,t);return vu(i)}async function N$(e,t){var a;try{if(!((a=e==null?void 0:e.contentDocument)===null||a===void 0)&&a.body)return await ju(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function D$(e,t){return ln(e,HTMLCanvasElement)?L$(e):ln(e,HTMLVideoElement)?k$(e,t):ln(e,HTMLIFrameElement)?N$(e,t):e.cloneNode(K8(e))}const $$=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",K8=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function z$(e,t,a){var r,i;if(K8(t))return t;let s=[];return $$(e)&&e.assignedNodes?s=gl(e.assignedNodes()):ln(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=gl(e.contentDocument.body.childNodes):s=gl(((i=e.shadowRoot)!==null&&i!==void 0?i:e).childNodes),s.length===0||ln(e,HTMLVideoElement)||await s.reduce((u,f)=>u.then(()=>ju(f,a)).then(d=>{d&&t.appendChild(d)}),Promise.resolve()),t}function P$(e,t,a){const r=t.style;if(!r)return;const i=window.getComputedStyle(e);i.cssText?(r.cssText=i.cssText,r.transformOrigin=i.transformOrigin):I8(a).forEach(s=>{let u=i.getPropertyValue(s);s==="font-size"&&u.endsWith("px")&&(u=`${Math.floor(parseFloat(u.substring(0,u.length-2)))-.1}px`),ln(e,HTMLIFrameElement)&&s==="display"&&u==="inline"&&(u="block"),s==="d"&&t.getAttribute("d")&&(u=`path(${t.getAttribute("d")})`),r.setProperty(s,u,i.getPropertyPriority(s))})}function O$(e,t){ln(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),ln(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function j$(e,t){if(ln(e,HTMLSelectElement)){const r=Array.from(t.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function I$(e,t,a){return ln(t,Element)&&(P$(e,t,a),C$(e,t,a),O$(e,t),j$(e,t)),t}async function B$(e,t){const a=e.querySelectorAll?e.querySelectorAll("use"):[];if(a.length===0)return e;const r={};for(let s=0;s<a.length;s++){const f=a[s].getAttribute("xlink:href");if(f){const d=e.querySelector(f),h=document.querySelector(f);!d&&h&&!r[f]&&(r[f]=await ju(h,t,!0))}}const i=Object.values(r);if(i.length){const s="http://www.w3.org/1999/xhtml",u=document.createElementNS(s,"svg");u.setAttribute("xmlns",s),u.style.position="absolute",u.style.width="0",u.style.height="0",u.style.overflow="hidden",u.style.display="none";const f=document.createElementNS(s,"defs");u.appendChild(f);for(let d=0;d<i.length;d++)f.appendChild(i[d]);e.appendChild(u)}return e}async function ju(e,t,a){return!a&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>D$(r,t)).then(r=>z$(e,r,t)).then(r=>I$(e,r,t)).then(r=>B$(r,t))}const U8=/url\((['"]?)([^'"]+?)\1\)/g,H$=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,K$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function U$(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function V$(e){const t=[];return e.replace(U8,(a,r,i)=>(t.push(i),a)),t.filter(a=>!O2(a))}async function _$(e,t,a,r,i){try{const s=a?f$(t,a):t,u=kh(t);let f;return i||(f=await Nh(s,u,r)),e.replace(U$(t),`$1${f}$3`)}catch{}return e}function F$(e,{preferredFontFormat:t}){return t?e.replace(K$,a=>{for(;;){const[r,,i]=H$.exec(a)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function V8(e){return e.search(U8)!==-1}async function _8(e,t,a){if(!V8(e))return e;const r=F$(e,a);return V$(r).reduce((s,u)=>s.then(f=>_$(f,u,t,a)),Promise.resolve(r))}async function ei(e,t,a){var r;const i=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(i){const s=await _8(i,null,a);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function G$(e,t){await ei("background",e,t)||await ei("background-image",e,t),await ei("mask",e,t)||await ei("-webkit-mask",e,t)||await ei("mask-image",e,t)||await ei("-webkit-mask-image",e,t)}async function q$(e,t){const a=ln(e,HTMLImageElement);if(!(a&&!O2(e.src))&&!(ln(e,SVGImageElement)&&!O2(e.href.baseVal)))return;const r=a?e.src:e.href.baseVal,i=await Nh(r,kh(r),t);await new Promise((s,u)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...d)=>{try{s(t.onImageErrorHandler(...d))}catch(h){u(h)}}:u;const f=e;f.decode&&(f.decode=s),f.loading==="lazy"&&(f.loading="eager"),a?(e.srcset="",e.src=i):e.href.baseVal=i})}async function Y$(e,t){const r=gl(e.childNodes).map(i=>F8(i,t));await Promise.all(r).then(()=>e)}async function F8(e,t){ln(e,Element)&&(await G$(e,t),await q$(e,t),await Y$(e,t))}function X$(e,t){const{style:a}=e;t.backgroundColor&&(a.backgroundColor=t.backgroundColor),t.width&&(a.width=`${t.width}px`),t.height&&(a.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(i=>{a[i]=r[i]}),e}const Cv={};async function Ev(e){let t=Cv[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Cv[e]=t,t}async function Tv(e,t){let a=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(a.match(/url\([^)]+\)/g)||[]).map(async u=>{let f=u.replace(r,"$1");return f.startsWith("https://")||(f=new URL(f,e.url).href),H8(f,t.fetchRequestInit,({result:d})=>(a=a.replace(u,`url(${d})`),[u,d]))});return Promise.all(s).then(()=>a)}function Rv(e){if(e==null)return[];const t=[],a=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(a,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=i.exec(r);if(d===null)break;t.push(d[0])}r=r.replace(i,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,u="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",f=new RegExp(u,"gi");for(;;){let d=s.exec(r);if(d===null){if(d=f.exec(r),d===null)break;s.lastIndex=f.lastIndex}else f.lastIndex=s.lastIndex;t.push(d[0])}return t}async function W$(e,t){const a=[],r=[];return e.forEach(i=>{if("cssRules"in i)try{gl(i.cssRules||[]).forEach((s,u)=>{if(s.type===CSSRule.IMPORT_RULE){let f=u+1;const d=s.href,h=Ev(d).then(p=>Tv(p,t)).then(p=>Rv(p).forEach(b=>{try{i.insertRule(b,b.startsWith("@import")?f+=1:i.cssRules.length)}catch(v){console.error("Error inserting rule from remote css",{rule:b,error:v})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(h)}})}catch(s){const u=e.find(f=>f.href==null)||document.styleSheets[0];i.href!=null&&r.push(Ev(i.href).then(f=>Tv(f,t)).then(f=>Rv(f).forEach(d=>{u.insertRule(d,u.cssRules.length)})).catch(f=>{console.error("Error loading remote stylesheet",f)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(i=>{if("cssRules"in i)try{gl(i.cssRules||[]).forEach(s=>{a.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${i.href}`,s)}}),a))}function Z$(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>V8(t.style.getPropertyValue("src")))}async function Q$(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const a=gl(e.ownerDocument.styleSheets),r=await W$(a,t);return Z$(r)}function G8(e){return e.trim().replace(/["']/g,"")}function J$(e){const t=new Set;function a(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(G8(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&a(s)})}return a(e),t}async function ez(e,t){const a=await Q$(e,t),r=J$(e);return(await Promise.all(a.filter(s=>r.has(G8(s.style.fontFamily))).map(s=>{const u=s.parentStyleSheet?s.parentStyleSheet.href:null;return _8(s.cssText,u,t)}))).join(`
144
+ `)}async function tz(e,t){const a=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await ez(e,t);if(a){const r=document.createElement("style"),i=document.createTextNode(a);r.appendChild(i),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function nz(e,t={}){const{width:a,height:r}=B8(e,t),i=await ju(e,t,!0);return await tz(i,t),await F8(i,t),X$(i,t),await y$(i,a,r)}async function az(e,t={}){const{width:a,height:r}=B8(e,t),i=await nz(e,t),s=await vu(i),u=document.createElement("canvas"),f=u.getContext("2d"),d=t.pixelRatio||p$(),h=t.canvasWidth||a,p=t.canvasHeight||r;return u.width=h*d,u.height=p*d,t.skipAutoScale||g$(u),u.style.width=`${h}`,u.style.height=`${p}`,t.backgroundColor&&(f.fillStyle=t.backgroundColor,f.fillRect(0,0,u.width,u.height)),f.drawImage(s,0,0,u.width,u.height),u}async function q8(e,t={}){const a=await az(e,t);return await b$(a)}const lz="image/png",Y8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADElEQVR42mNk+M/wHwAF/gL+XqY5WQAAAABJRU5ErkJggg==",j2=300,I2=450,rz=1365,iz=2048,oz='system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif',sz='"JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',X8=`
145
+ @font-face {
146
+ font-family: "JetBrains Mono Variable";
147
+ src: url("${u$}") format("woff2");
148
+ font-style: normal;
149
+ font-weight: 100 800;
150
+ }
151
+ `;function cz(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function W8(e){await document.fonts.ready,await Promise.all(Array.from(e.querySelectorAll("img")).map(t=>t.decode().catch(()=>{}))),await cz()}function uz(e){return new Promise((t,a)=>{const r=new FileReader;r.onerror=()=>a(r.error??new Error("读取分享资源失败")),r.onload=()=>t(String(r.result)),r.readAsDataURL(e)})}async function fz(e){await W8(e);const t=await q8(e,{cacheBust:!0,canvasHeight:iz,canvasWidth:rz,fontEmbedCSS:X8,height:I2,imagePlaceholder:Y8,pixelRatio:1,width:j2});if(!t)throw new Error("生成分享图片失败");return t}async function RP(e){await W8(e);const t=await q8(e,{cacheBust:!0,fontEmbedCSS:X8,imagePlaceholder:Y8,pixelRatio:3});if(!t)throw new Error("生成分享图片失败");return t}function dz(e){const t=URL.createObjectURL(e),a=document.createElement("a");a.download=`juejin-ai-usage-${new Date().toISOString().slice(0,10)}.png`,a.href=t,a.click(),window.requestAnimationFrame(()=>URL.revokeObjectURL(t))}async function hz(e){var a;const t=window.tud;if(t!=null&&t.copyImageToClipboard){if(!await t.copyImageToClipboard(await uz(await e)))throw new Error("复制图片到系统剪贴板失败");return}if(typeof ClipboardItem>"u"||!((a=navigator.clipboard)!=null&&a.write))throw new Error("当前环境不支持复制图片到剪贴板");await navigator.clipboard.write([new ClipboardItem({[lz]:e})])}const mz={yoyo:{name:"Yoyo",image:s$},click:{name:"Click",image:i$},hawking:{name:"Hawking",image:o$}},Z8="transition-[transform,opacity] duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none";function Q8(e){return{backgroundColor:e}}function pz(e,t){if(t===2)return e===0?{offset:0,rotation:0,opacity:0,zIndex:0}:{offset:38,rotation:3,opacity:.88,zIndex:1};const a=Math.max(0,t-1);if(e>=a)return{offset:0,rotation:0,opacity:.55,zIndex:0};const r=Math.ceil(a/2),i=e<r,s=i?r-e:e-r+1;return{offset:(i?-1:1)*38*s,rotation:(i?-1:1)*3*s,opacity:Math.max(.5,.88-.16*(s-1)),zIndex:Math.max(1,r-s+1)}}function gz({className:e}){return C.jsx("svg",{"aria-hidden":"true",className:e,fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{d:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",transform:"translate(2.4 2.4) scale(.8)"})})}function bz(){return C.jsx(j8,{bgColor:"transparent",className:"ml-auto size-12 shrink-0 self-center overflow-hidden rounded-[6px]",fgColor:"#fff",imageSettings:{excavate:!0,height:12,src:r$,width:12},level:"H",marginSize:4,size:48,title:"访问稀土掘金 AI 用量页面",value:p8})}const Mv=["M0 42 C16 40 20 23 36 27 S58 38 72 20 S98 9 120 14","M0 36 C14 29 24 34 38 23 S61 14 76 22 S101 15 120 7","M0 39 C12 34 26 36 40 30 S61 9 76 17 S99 31 120 18","M0 43 C17 42 23 25 39 29 S62 37 78 23 S105 19 120 8"];function vz({color:e,index:t}){const a=Mv[t]??Mv[0];return C.jsxs("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-11 w-full",preserveAspectRatio:"none",viewBox:"0 0 120 52",children:[C.jsx("path",{d:`${a} L120 52 L0 52 Z`,fill:e,fillOpacity:"0.06"}),C.jsx("path",{d:a,fill:"none",stroke:e,strokeLinecap:"round",strokeOpacity:"0.22",strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})]})}function ti(e=0,t=0,a=1){return`translate(calc(-50% + ${e}px), -50%) rotate(${t}deg) scale(${a})`}function yz(){return document.querySelector('[data-reduce-motion="true"]')!==null||window.matchMedia("(prefers-reduced-motion: reduce)").matches}function J8({avatarUrl:e,borderRadius:t=30,cardRef:a,color:r,isHidden:i,petId:s,rangeLabel:u,summary:f,toolLabel:d,userName:h}){const p=r.toLowerCase()==="#141b1a",b=mz[s],v=(h==null?void 0:h.trim())||"掘金用户",S=v.slice(0,1).toUpperCase(),x=`${u||"全部时间"} · ${d||"全部工具"}`,E=[{label:"预估费用",value:f?c$(f.totalCostUsd):"—"},{label:"总 Token",value:f?K0(f.totalTokens):"—"},{label:"输入 Token",value:f?K0(f.inputTokens):"—"},{label:"输出 Token",value:f?K0(f.outputTokens):"—"}];return C.jsxs("article",{"aria-hidden":i||void 0,className:"relative grid h-full w-full grid-rows-[minmax(0,1fr)_auto_auto] overflow-hidden text-white",ref:a,style:{...Q8(r),borderRadius:`${t}px`,fontFamily:oz},children:[C.jsxs("div",{className:"absolute left-5 top-4 flex items-center gap-1 text-[13px] font-normal leading-none text-white",children:[C.jsx(gz,{className:"size-5.5"}),C.jsx("div",{className:"text-[13px]",children:"稀土掘金"})]}),C.jsx("div",{className:"flex min-h-0 pt-8",children:C.jsx("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden rounded-xl",children:C.jsxs("div",{className:"relative flex max-w-[72%] items-end justify-center",children:[C.jsx("span",{"aria-hidden":"true",className:"absolute bottom-0 left-1/2 h-4 w-20 -translate-x-1/2 rounded-[50%]",style:{background:"radial-gradient(ellipse at center, rgba(12, 18, 30, 0.3) 0%, rgba(12, 18, 30, 0.2) 42%, rgba(12, 18, 30, 0) 76%)"}}),C.jsx("img",{alt:i?"":b.name,className:"relative z-10 mb-5 max-h-30 max-w-full object-contain",src:b.image})]})})}),C.jsx("dl",{className:"grid auto-rows-fr grid-cols-2 gap-2 px-4 font-sans font-normal",children:E.map((T,L)=>{const M=p&&L===0?"#11EE8C":"#fff";return C.jsxs("div",{className:"relative isolate flex min-h-16 min-w-0 flex-col justify-between overflow-hidden rounded-xl border border-white/10 bg-white/[0.07] p-3",children:[C.jsx(vz,{color:M,index:L}),C.jsx("dt",{className:"relative z-10 truncate text-[11px] font-normal text-white/60",children:T.label}),C.jsx("dd",{className:"relative z-10 mt-2 truncate text-base font-medium tracking-tight tabular-nums",style:{color:M,fontFamily:sz},children:T.value})]},T.label)})}),C.jsxs("div",{className:"flex max-w-full items-center gap-2.5 px-4 pb-4 pt-4",children:[C.jsxs(j0,{className:"aspect-square size-9 shrink-0 overflow-hidden rounded-full",variant:"soft",children:[e?C.jsx(j0.Image,{alt:i?"":`${v}的头像`,className:"aspect-square size-full rounded-full object-cover",src:e}):null,C.jsx(j0.Fallback,{className:"aspect-square size-full rounded-full border-none bg-white/15 font-normal text-white/70",children:S})]}),C.jsxs("div",{className:"min-w-0 text-left font-normal",children:[C.jsxs("p",{className:"max-w-40 truncate pb-0.5 text-[11px] leading-4",title:v,children:["@",v]}),C.jsx("p",{className:"max-w-40 truncate text-[9px] leading-3.5 text-white/55",title:x,children:x})]}),C.jsx(bz,{})]})]})}function G0({avatarUrl:e,color:t,isHidden:a,onTransitionEnd:r,petId:i,rangeLabel:s,style:u,summary:f,toolLabel:d,userName:h}){return C.jsx("div",{"aria-hidden":a||void 0,className:`absolute left-1/2 top-1/2 h-full aspect-2/3 ${Z8}`,onTransitionEnd:r,style:u,children:C.jsx(J8,{avatarUrl:e,color:t,isHidden:a,petId:i,rangeLabel:s,summary:f,toolLabel:d,userName:h})})}const en=[{color:"#141b1A",petId:"yoyo"},{color:"#141b1A",petId:"click"},{color:"#141b1A",petId:"hawking"},{color:"#087FFA",petId:"yoyo"},{color:"#087FFA",petId:"click"},{color:"#087FFA",petId:"hawking"}];function Gl(e){const t=(e%en.length+en.length)%en.length;return en[t]??en[0]}function xz({activeIndex:e,avatarUrl:t,onActiveIndexChange:a,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f,d]=y.useState(null),h=y.useRef(null),p=(e%en.length+en.length)%en.length;y.useEffect(()=>{if((f==null?void 0:f.phase)==="prepare")return h.current=window.requestAnimationFrame(()=>{h.current=window.requestAnimationFrame(()=>{d(E=>E&&{...E,phase:"running"})})}),()=>{h.current!==null&&window.cancelAnimationFrame(h.current)}},[f==null?void 0:f.phase]);const b=E=>{if(f)return;const T=(p+E+en.length)%en.length;if(yz()){a(T);return}d({direction:E,fromIndex:p,phase:"prepare",toIndex:T})},v=E=>{E.propertyName!=="transform"||(f==null?void 0:f.phase)!=="running"||(a(f.toIndex),d(null))},S=(f==null?void 0:f.toIndex)??p,x=Gl(p);return C.jsx("section",{className:"flex w-full flex-col items-center gap-5 py-2","aria-label":"分享卡片选择",children:C.jsxs("div",{className:"grid w-full max-w-170 grid-cols-[2.5rem_minmax(0,1fr)_2.5rem] items-center gap-2 sm:gap-6",children:[C.jsx(Mt,{"aria-label":"上一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(-1),variant:"tertiary",children:C.jsx(KD,{className:"size-5"})}),C.jsxs("div",{className:"relative aspect-2/3 w-full max-w-75 min-w-0 justify-self-center",children:[en.map((E,T)=>{const L=(T-S+en.length)%en.length,M=pz(L,en.length);return C.jsx("div",{"aria-hidden":"true",className:`absolute left-1/2 top-1/2 h-[92%] aspect-2/3 rounded-[28px] ${Z8}`,style:{...Q8(E.color),opacity:M.opacity,transform:ti(M.offset,M.rotation),zIndex:M.zIndex}},`${E.color}-${E.petId}`)}),f?C.jsxs(C.Fragment,{children:[C.jsx(G0,{avatarUrl:t,color:Gl(f.fromIndex).color,isHidden:!0,petId:Gl(f.fromIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?0:1,transform:f.phase==="running"?ti(-f.direction*72,-f.direction*4,.96):ti(),zIndex:20},summary:i,toolLabel:s,userName:u}),C.jsx(G0,{avatarUrl:t,color:Gl(f.toIndex).color,onTransitionEnd:v,petId:Gl(f.toIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?1:0,transform:f.phase==="running"?ti():ti(f.direction*72,f.direction*4,.96),zIndex:10},summary:i,toolLabel:s,userName:u})]}):C.jsx(G0,{avatarUrl:t,color:x.color,petId:x.petId,rangeLabel:r,style:{opacity:1,transform:ti(),zIndex:10},summary:i,toolLabel:s,userName:u})]}),C.jsx(Mt,{"aria-label":"下一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(1),variant:"tertiary",children:C.jsx(VD,{className:"size-5"})})]})})}const Sz=1e3;async function Av(e){const t=performance.now();try{return await e}finally{const a=Sz-(performance.now()-t);a>0&&await new Promise(r=>{window.setTimeout(r,a)})}}const q0={download:{error:"下载失败",idle:"下载",pending:"生成中…",success:"已下载"},copy:{error:"复制失败",idle:"复制",pending:"复制中…",success:"已复制"}};function wz({avatarUrl:e,color:t,petId:a,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f]=y.useState(()=>new Wo({maxVisibleToasts:2})),[d,h]=y.useState(null),[p,b]=y.useState(null),[v,S]=y.useState(null),x=y.useRef(null),E=y.useRef(0),T=y.useRef(null),L=y.useRef(null),M=y.useRef(null);L.current=p,y.useEffect(()=>{if(!p||!x.current||T.current===p.id)return;const k=p;T.current=k.id,fz(x.current).then(k.resolve,k.reject).finally(()=>{T.current=null,b(K=>(K==null?void 0:K.id)===k.id?null:K)})},[p]),y.useEffect(()=>()=>{var k;M.current!==null&&window.clearTimeout(M.current),(k=L.current)==null||k.reject(new Error("分享弹窗已关闭"))},[]);const N=(k,K)=>{h(null),S({action:k,state:K}),M.current!==null&&window.clearTimeout(M.current),M.current=window.setTimeout(()=>S(null),1800)},A=()=>{const k=E.current+1;return E.current=k,new Promise((K,U)=>{b({avatarUrl:e,color:t,id:k,petId:a,rangeLabel:r,reject:U,resolve:K,summary:i,toolLabel:s,userName:u})})},B=async()=>{if(!d){h("download"),S(null);try{const k=await Av(A());dz(k),N("download","success"),f.add({description:"卡片图片已保存到本地",title:"下载成功",variant:"success"})}catch(k){console.error("[share-card] download failed",k),N("download","error")}}},F=async()=>{if(!d){h("copy"),S(null);try{const k=A();await Av(hz(k)),N("copy","success"),f.add({description:"卡片图片已复制,可直接粘贴",title:"复制成功",variant:"success"})}catch(k){console.error("[share-card] clipboard write failed",k),N("copy","error")}}},$=k=>d===k?q0[k].pending:(v==null?void 0:v.action)===k?q0[k][v.state]:q0[k].idle;return C.jsxs(C.Fragment,{children:[C.jsx(Ch.Provider,{placement:"top end",queue:f}),C.jsxs(Mt,{isDisabled:d==="copy",isPending:d==="download",onPress:()=>void B(),variant:"primary",children:[C.jsx(sk,{className:"size-4"}),$("download")]}),C.jsxs(Mt,{isDisabled:d==="download",isPending:d==="copy",onPress:()=>void F(),variant:"outline",children:[C.jsx(FD,{className:"size-4"}),$("copy")]}),p?la.createPortal(C.jsx("div",{"aria-hidden":"true",className:"pointer-events-none fixed left-[-10000px] top-0 z-[-1] overflow-hidden opacity-100",style:{height:`${I2}px`,width:`${j2}px`},children:C.jsx("div",{className:"relative overflow-hidden opacity-100",ref:x,style:{background:p.color,borderRadius:"6px",height:`${I2}px`,width:`${j2}px`},children:C.jsx(J8,{avatarUrl:p.avatarUrl,borderRadius:6,color:p.color,isHidden:!0,petId:p.petId,rangeLabel:p.rangeLabel,summary:p.summary,toolLabel:p.toolLabel,userName:p.userName})})}),document.body):null]})}function Cz(){const[e,t]=y.useState(!1),[a,r]=y.useState(0),{avatarLarge:i,userName:s}=qD(),{snapshot:u}=XD();return y.useEffect(()=>{const f=()=>{t(!0)};return window.addEventListener(D2,f),()=>window.removeEventListener(D2,f)},[]),C.jsx(Re.Backdrop,{isOpen:e,onOpenChange:t,children:C.jsx(Re.Container,{scroll:"inside",size:"lg",children:C.jsxs(Re.Dialog,{"aria-label":"分享",className:"overflow-hidden sm:max-w-[760px]",children:[C.jsx(Re.CloseTrigger,{"aria-label":"关闭分享"}),C.jsx(Re.Body,{className:"px-4 pb-4 pt-8 sm:px-8",children:C.jsx(xz,{activeIndex:a,avatarUrl:i,onActiveIndexChange:r,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})}),C.jsx(Re.Footer,{className:"justify-center",children:C.jsx(wz,{avatarUrl:i,color:Gl(a).color,petId:Gl(a).petId,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})})]})})})}const e7=y.createContext(null);function Ez({children:e,value:t}){return C.jsx(e7.Provider,{value:t,children:e})}function MP(){return y.useContext(e7)}function Tz(){const[e]=y.useState(()=>new Wo({maxVisibleToasts:2})),[t,a]=y.useState(()=>"unauthenticated"),[r,i]=y.useState(null),[s,u]=y.useState(""),[f,d]=y.useState(""),h=y.useRef(!1),p=y.useCallback(async()=>{let v=null;a("loading");try{v=await SD()}catch{v=null}return v?(hv(v.userId),uv(v.originUserId),i(v.originUserId),u(v.userName),d(v.avatarLarge),a("authenticated"),v):(hv(null),uv(null),i(null),u(""),d(""),a("unauthenticated"),null)},[]),b=y.useCallback(async()=>!1,[p]);return y.useEffect(()=>{if(h.current)return;const{loginFromClient:v,port:S,userId:x,originUserId:E,userName:T,avatarLarge:L}=x8();if(x){h.current=!0,(async()=>{try{await $2({juejin:{enabled:!0,token:x,originUserId:E||void 0,userName:T||void 0,avatarLarge:L||void 0}}),yD(),i(E||x),u(T),d(L),a("authenticated"),r8(),e.add({title:"登录成功",variant:"success"})}catch(M){a("unauthenticated"),e.add({title:"写入失败",description:M instanceof Error?M.message:"请确认本机面板服务已启动",variant:"danger"})}})();return}{h.current=!0,a("unauthenticated");return}},[p,e]),y.useEffect(()=>{},[t,b]),{authStatus:t,userId:r,userName:s,avatarLarge:f,refreshAuth:b,toastQueue:e,ToastProvider:Ch.Provider}}const Lv="tud.autoJuejinLoginPrompted";function Rz(){const e=_2(),t=Tw({select:A=>A.pathname}),[a,r]=y.useState(!1),[i,s]=y.useState(!1),[u,f]=y.useState(!1),[d,h]=y.useState(null),[p,b]=y.useState(!1),v=lD(),{authStatus:S,userId:x,userName:E,avatarLarge:T,toastQueue:L,ToastProvider:M}=Tz();y.useEffect(()=>{t==="/settings"&&(r(!0),e({to:"/dashboard",replace:!0}))},[t,e]),y.useEffect(()=>{const A=()=>f(window.scrollY>4);return A(),window.addEventListener("scroll",A,{passive:!0}),()=>window.removeEventListener("scroll",A)},[]),y.useEffect(()=>{x8().userId||(async()=>{try{if((await Rh()).juejin.userId||sessionStorage.getItem(Lv))return;sessionStorage.setItem(Lv,"1"),await S8()}catch{}})()},[v]),y.useEffect(()=>{},[v,S]),y.useEffect(()=>{},[v,d==null?void 0:d.shouldShowGuide,e,t]);const N=y.useMemo(()=>({ready:!1,hasUserData:(d==null?void 0:d.reason)==="active",reason:(d==null?void 0:d.reason)==="uninstalled"?"uninstalled":(d==null?void 0:d.reason)==="active"?"active":"new_user"}),[S,v,d,p]);return C.jsx(JN,{queue:L,children:C.jsx(GD,{authStatus:S,userId:x,userName:E,avatarLarge:T,children:C.jsx(YD,{children:C.jsx(Ez,{value:N,children:C.jsxs("div",{className:"flex h-svh min-w-0 max-w-full flex-col overflow-hidden bg-background text-foreground",children:[C.jsx(M,{placement:"top end",queue:L}),C.jsx("div",{"aria-hidden":"true",className:`pointer-events-none fixed inset-x-0 top-0 z-40 h-8 transition-[background-color,backdrop-filter] duration-200 ${u?"bg-white/35 backdrop-blur-xl dark:bg-black/30":"bg-transparent"}`}),C.jsxs("div",{className:_o("relative min-h-0 flex-1 overflow-x-hidden overscroll-contain",t==="/pricing"?"overflow-y-hidden":"overflow-y-auto"),onScroll:A=>{f(A.currentTarget.scrollTop>4)},children:[C.jsx("div",{className:_o("relative mx-auto w-full px-4 py-4 sm:px-4 sm:py-6 md:px-8",t==="/download"?"max-w-328":"max-w-240","pb-12 min-[1040px]:pb-10"),children:C.jsx("main",{className:"min-w-0 w-full",children:C.jsx(cy,{})})}),C.jsx($D,{hideTrigger:!0,isOpen:a,onOpenChange:r}),C.jsx(QN,{hideTrigger:!0,isOpen:i,onOpenChange:s}),C.jsx(Cz,{})]})]})})})})})}const ur=ow({component:Rz}),Mz=()=>Qo(()=>import("./settings-BHpRKDCP.js"),[]),Az=bi("/settings")({component:Go(Mz,"component")}),Lz=()=>Qo(()=>import("./rank-CqwpjE6-.js"),__vite__mapDeps([0,1,2,3,4])),kz=bi("/rank")({beforeLoad:()=>{throw xu({to:"/dashboard"})},component:Go(Lz,"component")}),Nz=()=>Qo(()=>import("./pricing-DumQppSX.js"),__vite__mapDeps([5,1,2])),Dz=bi("/pricing")({component:Go(Nz,"component")}),$z=()=>Qo(()=>import("./download-C1JZSDMp.js"),__vite__mapDeps([6,3])),zz=bi("/download")({beforeLoad:()=>{throw xu({to:"/dashboard"})},component:Go($z,"component")}),Pz=()=>Qo(()=>import("./dashboard-BW9PQ-aW.js"),__vite__mapDeps([7,4,2,3,8])),Oz=bi("/dashboard")({component:Go(Pz,"component")}),jz=bi("/")({beforeLoad:({location:e})=>{const t=Object.fromEntries(new URLSearchParams(e.searchStr));throw xu({to:"/dashboard",replace:!0,search:t})}}),Iz=Az.update({id:"/settings",path:"/settings",getParentRoute:()=>ur}),Bz=kz.update({id:"/rank",path:"/rank",getParentRoute:()=>ur}),Hz=Dz.update({id:"/pricing",path:"/pricing",getParentRoute:()=>ur}),Kz=zz.update({id:"/download",path:"/download",getParentRoute:()=>ur}),Uz=Oz.update({id:"/dashboard",path:"/dashboard",getParentRoute:()=>ur}),Vz=jz.update({id:"/",path:"/",getParentRoute:()=>ur}),_z={IndexRoute:Vz,DashboardRoute:Uz,DownloadRoute:Kz,PricingRoute:Hz,RankRoute:Bz,SettingsRoute:Iz},Fz=ur._addFileChildren(_z)._addFileTypes(),kv=(()=>{const e="/".trim();if(!(!e||e==="/"))return e.replace(/\/+$/,"")})(),Gz=Sw({routeTree:Fz,...kv?{basepath:kv}:{},defaultPreload:"intent",scrollRestoration:!0});kS.createRoot(document.getElementById("root")).render(C.jsx(y.StrictMode,{children:C.jsx(ok,{children:C.jsx(Ew,{router:Gz})})}));export{Vn as $,sk as A,Mt as B,ck as C,XN as D,Zz as E,hC as F,Fn as G,LM as H,lP as I,OM as J,AM as K,nD as L,Re as M,dh as N,zM as O,Z3 as P,j8 as Q,Lu as R,w8 as S,rl as T,kM as U,vi as V,RM as W,mt as X,Be as Y,wL as Z,Ee as _,_o as a,tA as a$,MM as a0,aa as a1,jo as a2,et as a3,He as a4,vl as a5,d2 as a6,Mb as a7,xy as a8,ar as a9,p3 as aA,Ab as aB,h4 as aC,wn as aD,aM as aE,Y9 as aF,b4 as aG,yi as aH,eM as aI,yl as aJ,MR as aK,gM as aL,u4 as aM,la as aN,Qw as aO,eC as aP,X2 as aQ,dM as aR,Et as aS,sR as aT,Je as aU,At as aV,iT as aW,mP as aX,Zy as aY,k4 as aZ,pC as a_,Yo as aa,Zc as ab,er as ac,q2 as ad,Xz as ae,lu as af,YR as ag,nP as ah,xn as ai,v4 as aj,Da as ak,Sl as al,Lt as am,_ as an,sr as ao,sP as ap,HA as aq,ih as ar,w4 as as,fi as at,uM as au,De as av,Io as aw,n2 as ax,ut as ay,cM as az,FD as b,Xo as b$,Mu as b0,JM as b1,Wz as b2,xT as b3,Du as b4,qM as b5,XM as b6,M4 as b7,Jz as b8,YM as b9,gi as bA,Nv as bB,ES as bC,TP as bD,SP as bE,yP as bF,vP as bG,XD as bH,IA as bI,H4 as bJ,r4 as bK,Na as bL,i4 as bM,uh as bN,pl as bO,Qz as bP,Qc as bQ,ER as bR,Tu as bS,g5 as bT,eP as bU,xM as bV,bl as bW,_n as bX,SM as bY,nn as bZ,N0 as b_,Hk as ba,mk as bb,Mk as bc,FN as bd,MP as be,iP as bf,oP as bg,oh as bh,_2 as bi,hP as bj,Rh as bk,N2 as bl,WN as bm,hk as bn,S8 as bo,dP as bp,fk as bq,xP as br,uP as bs,cP as bt,EP as bu,o$ as bv,s$ as bw,i$ as bx,vy as by,G9 as bz,Lh as c,e2 as c0,dy as c1,b3 as c2,rP as c3,aP as c4,eA as c5,g3 as c6,o5 as c7,EM as c8,PT as c9,xi as ca,c4 as cb,tP as cc,p2 as cd,oR as ce,f5 as cf,BM as cg,iR as ch,HM as ci,GM as cj,fP as d,r$ as e,dz as f,hz as g,K0 as h,c$ as i,C as j,j0 as k,RP as l,pP as m,lD as n,gP as o,bP as p,Eu as q,y as r,Vb as s,Sn as t,qD as u,It as v,ve as w,WT as x,ch as y,Ub as z};