@l10nmonster/server 3.0.0-alpha.3 → 3.0.0-alpha.4

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,76 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Welcome-p4gi31Lo.js","assets/api-DXOYnFyU.js","assets/v-stack-CQ6LIfdw.js","assets/Status-XBRD-MuK.js","assets/grid-DetiGbYY.js","assets/Sources-D0R-Sgwf.js","assets/badge-CveKztw5.js","assets/TM-DZ2x6--n.js"])))=>i.map(i=>d[i]);
2
+ function PC(e,n){for(var i=0;i<n.length;i++){const r=n[i];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(r,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function i(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function r(l){if(l.ep)return;l.ep=!0;const c=i(l);fetch(l.href,c)}})();function Eg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xf={exports:{}},Bo={};/**
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 lb;function LC(){if(lb)return Bo;lb=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(r,l,c){var d=null;if(c!==void 0&&(d=""+c),l.key!==void 0&&(d=""+l.key),"key"in l){c={};for(var g in l)g!=="key"&&(c[g]=l[g])}else c=l;return l=c.ref,{$$typeof:e,type:r,key:d,ref:l!==void 0?l:null,props:c}}return Bo.Fragment=n,Bo.jsx=i,Bo.jsxs=i,Bo}var sb;function BC(){return sb||(sb=1,xf.exports=LC()),xf.exports}var J=BC(),Sf={exports:{}},ye={};/**
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 cb;function HC(){if(cb)return ye;cb=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function w(T,W,re){this.props=T,this.context=W,this.refs=E,this.updater=re||S}w.prototype.isReactComponent={},w.prototype.setState=function(T,W){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,W,"setState")},w.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function O(){}O.prototype=w.prototype;function z(T,W,re){this.props=T,this.context=W,this.refs=E,this.updater=re||S}var k=z.prototype=new O;k.constructor=z,C(k,w.prototype),k.isPureReactComponent=!0;var B=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},q=Object.prototype.hasOwnProperty;function j(T,W,re,ae,se,Se){return re=Se.ref,{$$typeof:e,type:T,key:W,ref:re!==void 0?re:null,props:Se}}function H(T,W){return j(T.type,W,void 0,void 0,void 0,T.props)}function U(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function X(T){var W={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(re){return W[re]})}var K=/\/+/g;function Y(T,W){return typeof T=="object"&&T!==null&&T.key!=null?X(""+T.key):W.toString(36)}function le(){}function ie(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(le,le):(T.status="pending",T.then(function(W){T.status==="pending"&&(T.status="fulfilled",T.value=W)},function(W){T.status==="pending"&&(T.status="rejected",T.reason=W)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function fe(T,W,re,ae,se){var Se=typeof T;(Se==="undefined"||Se==="boolean")&&(T=null);var be=!1;if(T===null)be=!0;else switch(Se){case"bigint":case"string":case"number":be=!0;break;case"object":switch(T.$$typeof){case e:case n:be=!0;break;case v:return be=T._init,fe(be(T._payload),W,re,ae,se)}}if(be)return se=se(T),be=ae===""?"."+Y(T,0):ae,B(se)?(re="",be!=null&&(re=be.replace(K,"$&/")+"/"),fe(se,W,re,"",function(te){return te})):se!=null&&(U(se)&&(se=H(se,re+(se.key==null||T&&T.key===se.key?"":(""+se.key).replace(K,"$&/")+"/")+be)),W.push(se)),1;be=0;var Rt=ae===""?".":ae+":";if(B(T))for(var Q=0;Q<T.length;Q++)ae=T[Q],Se=Rt+Y(ae,Q),be+=fe(ae,W,re,Se,se);else if(Q=b(T),typeof Q=="function")for(T=Q.call(T),Q=0;!(ae=T.next()).done;)ae=ae.value,Se=Rt+Y(ae,Q++),be+=fe(ae,W,re,Se,se);else if(Se==="object"){if(typeof T.then=="function")return fe(ie(T),W,re,ae,se);throw W=String(T),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return be}function L(T,W,re){if(T==null)return T;var ae=[],se=0;return fe(T,ae,"","",function(Se){return W.call(re,Se,se++)}),ae}function ne(T){if(T._status===-1){var W=T._result;W=W(),W.then(function(re){(T._status===0||T._status===-1)&&(T._status=1,T._result=re)},function(re){(T._status===0||T._status===-1)&&(T._status=2,T._result=re)}),T._status===-1&&(T._status=0,T._result=W)}if(T._status===1)return T._result.default;throw T._result}var Z=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(W))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function ue(){}return ye.Children={map:L,forEach:function(T,W,re){L(T,function(){W.apply(this,arguments)},re)},count:function(T){var W=0;return L(T,function(){W++}),W},toArray:function(T){return L(T,function(W){return W})||[]},only:function(T){if(!U(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},ye.Component=w,ye.Fragment=i,ye.Profiler=l,ye.PureComponent=z,ye.StrictMode=r,ye.Suspense=h,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,ye.__COMPILER_RUNTIME={__proto__:null,c:function(T){return _.H.useMemoCache(T)}},ye.cache=function(T){return function(){return T.apply(null,arguments)}},ye.cloneElement=function(T,W,re){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ae=C({},T.props),se=T.key,Se=void 0;if(W!=null)for(be in W.ref!==void 0&&(Se=void 0),W.key!==void 0&&(se=""+W.key),W)!q.call(W,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&W.ref===void 0||(ae[be]=W[be]);var be=arguments.length-2;if(be===1)ae.children=re;else if(1<be){for(var Rt=Array(be),Q=0;Q<be;Q++)Rt[Q]=arguments[Q+2];ae.children=Rt}return j(T.type,se,void 0,void 0,Se,ae)},ye.createContext=function(T){return T={$$typeof:d,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:c,_context:T},T},ye.createElement=function(T,W,re){var ae,se={},Se=null;if(W!=null)for(ae in W.key!==void 0&&(Se=""+W.key),W)q.call(W,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(se[ae]=W[ae]);var be=arguments.length-2;if(be===1)se.children=re;else if(1<be){for(var Rt=Array(be),Q=0;Q<be;Q++)Rt[Q]=arguments[Q+2];se.children=Rt}if(T&&T.defaultProps)for(ae in be=T.defaultProps,be)se[ae]===void 0&&(se[ae]=be[ae]);return j(T,Se,void 0,void 0,null,se)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(T){return{$$typeof:g,render:T}},ye.isValidElement=U,ye.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:ne}},ye.memo=function(T,W){return{$$typeof:m,type:T,compare:W===void 0?null:W}},ye.startTransition=function(T){var W=_.T,re={};_.T=re;try{var ae=T(),se=_.S;se!==null&&se(re,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(ue,Z)}catch(Se){Z(Se)}finally{_.T=W}},ye.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},ye.use=function(T){return _.H.use(T)},ye.useActionState=function(T,W,re){return _.H.useActionState(T,W,re)},ye.useCallback=function(T,W){return _.H.useCallback(T,W)},ye.useContext=function(T){return _.H.useContext(T)},ye.useDebugValue=function(){},ye.useDeferredValue=function(T,W){return _.H.useDeferredValue(T,W)},ye.useEffect=function(T,W,re){var ae=_.H;if(typeof re=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ae.useEffect(T,W)},ye.useId=function(){return _.H.useId()},ye.useImperativeHandle=function(T,W,re){return _.H.useImperativeHandle(T,W,re)},ye.useInsertionEffect=function(T,W){return _.H.useInsertionEffect(T,W)},ye.useLayoutEffect=function(T,W){return _.H.useLayoutEffect(T,W)},ye.useMemo=function(T,W){return _.H.useMemo(T,W)},ye.useOptimistic=function(T,W){return _.H.useOptimistic(T,W)},ye.useReducer=function(T,W,re){return _.H.useReducer(T,W,re)},ye.useRef=function(T){return _.H.useRef(T)},ye.useState=function(T){return _.H.useState(T)},ye.useSyncExternalStore=function(T,W,re){return _.H.useSyncExternalStore(T,W,re)},ye.useTransition=function(){return _.H.useTransition()},ye.version="19.1.0",ye}var ub;function Cg(){return ub||(ub=1,Sf.exports=HC()),Sf.exports}var N=Cg();const p0=Eg(N),db=PC({__proto__:null,default:p0},[N]);var Ef={exports:{}},Ho={},Cf={exports:{}},Of={};/**
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 fb;function UC(){return fb||(fb=1,function(e){function n(L,ne){var Z=L.length;L.push(ne);e:for(;0<Z;){var ue=Z-1>>>1,T=L[ue];if(0<l(T,ne))L[ue]=ne,L[Z]=T,Z=ue;else break e}}function i(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var ne=L[0],Z=L.pop();if(Z!==ne){L[0]=Z;e:for(var ue=0,T=L.length,W=T>>>1;ue<W;){var re=2*(ue+1)-1,ae=L[re],se=re+1,Se=L[se];if(0>l(ae,Z))se<T&&0>l(Se,ae)?(L[ue]=Se,L[se]=Z,ue=se):(L[ue]=ae,L[re]=Z,ue=re);else if(se<T&&0>l(Se,Z))L[ue]=Se,L[se]=Z,ue=se;else break e}}return ne}function l(L,ne){var Z=L.sortIndex-ne.sortIndex;return Z!==0?Z:L.id-ne.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,g=d.now();e.unstable_now=function(){return d.now()-g}}var h=[],m=[],v=1,x=null,b=3,S=!1,C=!1,E=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function B(L){for(var ne=i(m);ne!==null;){if(ne.callback===null)r(m);else if(ne.startTime<=L)r(m),ne.sortIndex=ne.expirationTime,n(h,ne);else break;ne=i(m)}}function _(L){if(E=!1,B(L),!C)if(i(h)!==null)C=!0,q||(q=!0,Y());else{var ne=i(m);ne!==null&&fe(_,ne.startTime-L)}}var q=!1,j=-1,H=5,U=-1;function X(){return w?!0:!(e.unstable_now()-U<H)}function K(){if(w=!1,q){var L=e.unstable_now();U=L;var ne=!0;try{e:{C=!1,E&&(E=!1,z(j),j=-1),S=!0;var Z=b;try{t:{for(B(L),x=i(h);x!==null&&!(x.expirationTime>L&&X());){var ue=x.callback;if(typeof ue=="function"){x.callback=null,b=x.priorityLevel;var T=ue(x.expirationTime<=L);if(L=e.unstable_now(),typeof T=="function"){x.callback=T,B(L),ne=!0;break t}x===i(h)&&r(h),B(L)}else r(h);x=i(h)}if(x!==null)ne=!0;else{var W=i(m);W!==null&&fe(_,W.startTime-L),ne=!1}}break e}finally{x=null,b=Z,S=!1}ne=void 0}}finally{ne?Y():q=!1}}}var Y;if(typeof k=="function")Y=function(){k(K)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ie=le.port2;le.port1.onmessage=K,Y=function(){ie.postMessage(null)}}else Y=function(){O(K,0)};function fe(L,ne){j=O(function(){L(e.unstable_now())},ne)}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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(L){switch(b){case 1:case 2:case 3:var ne=3;break;default:ne=b}var Z=b;b=ne;try{return L()}finally{b=Z}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(L,ne){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var Z=b;b=L;try{return ne()}finally{b=Z}},e.unstable_scheduleCallback=function(L,ne,Z){var ue=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ue+Z:ue):Z=ue,L){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=Z+T,L={id:v++,callback:ne,priorityLevel:L,startTime:Z,expirationTime:T,sortIndex:-1},Z>ue?(L.sortIndex=Z,n(m,L),i(h)===null&&L===i(m)&&(E?(z(j),j=-1):E=!0,fe(_,Z-ue))):(L.sortIndex=T,n(h,L),C||S||(C=!0,q||(q=!0,Y()))),L},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(L){var ne=b;return function(){var Z=b;b=ne;try{return L.apply(this,arguments)}finally{b=Z}}}}(Of)),Of}var gb;function jC(){return gb||(gb=1,Cf.exports=UC()),Cf.exports}var wf={exports:{}},Ot={};/**
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 hb;function FC(){if(hb)return Ot;hb=1;var e=Cg();function n(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var r={d:{f:i,r:function(){throw Error(n(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(h,m,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:x==null?null:""+x,children:h,containerInfo:m,implementation:v}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ot.createPortal=function(h,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(n(299));return c(h,m,null,v)},Ot.flushSync=function(h){var m=d.T,v=r.p;try{if(d.T=null,r.p=2,h)return h()}finally{d.T=m,r.p=v,r.d.f()}},Ot.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(h,m))},Ot.prefetchDNS=function(h){typeof h=="string"&&r.d.D(h)},Ot.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,x=g(v,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,S=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?r.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:x,integrity:b,fetchPriority:S}):v==="script"&&r.d.X(h,{crossOrigin:x,integrity:b,fetchPriority:S,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Ot.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=g(m.as,m.crossOrigin);r.d.M(h,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(h)},Ot.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,x=g(v,m.crossOrigin);r.d.L(h,v,{crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Ot.preloadModule=function(h,m){if(typeof h=="string")if(m){var v=g(m.as,m.crossOrigin);r.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(h)},Ot.requestFormReset=function(h){r.d.r(h)},Ot.unstable_batchedUpdates=function(h,m){return h(m)},Ot.useFormState=function(h,m,v){return d.H.useFormState(h,m,v)},Ot.useFormStatus=function(){return d.H.useHostTransitionStatus()},Ot.version="19.1.0",Ot}var mb;function v0(){if(mb)return wf.exports;mb=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(n){console.error(n)}}return e(),wf.exports=FC(),wf.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 pb;function $C(){if(pb)return Ho;pb=1;var e=jC(),n=Cg(),i=v0();function r(t){var a="https://react.dev/errors/"+t;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var a=t,o=t;if(t.alternate)for(;a.return;)a=a.return;else{t=a;do a=t,(a.flags&4098)!==0&&(o=a.return),t=a.return;while(t)}return a.tag===3?o:null}function d(t){if(t.tag===13){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function g(t){if(c(t)!==t)throw Error(r(188))}function h(t){var a=t.alternate;if(!a){if(a=c(t),a===null)throw Error(r(188));return a!==t?null:t}for(var o=t,s=a;;){var u=o.return;if(u===null)break;var f=u.alternate;if(f===null){if(s=u.return,s!==null){o=s;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===o)return g(u),t;if(f===s)return g(u),a;f=f.sibling}throw Error(r(188))}if(o.return!==s.return)o=u,s=f;else{for(var p=!1,y=u.child;y;){if(y===o){p=!0,o=u,s=f;break}if(y===s){p=!0,s=u,o=f;break}y=y.sibling}if(!p){for(y=f.child;y;){if(y===o){p=!0,o=f,s=u;break}if(y===s){p=!0,s=f,o=u;break}y=y.sibling}if(!p)throw Error(r(189))}}if(o.alternate!==s)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?t:a}function m(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t;for(t=t.child;t!==null;){if(a=m(t),a!==null)return a;t=t.sibling}return null}var v=Object.assign,x=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),z=Symbol.for("react.consumer"),k=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),X=Symbol.for("react.memo_cache_sentinel"),K=Symbol.iterator;function Y(t){return t===null||typeof t!="object"?null:(t=K&&t[K]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function ie(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case w:return"Profiler";case E:return"StrictMode";case _:return"Suspense";case q:return"SuspenseList";case U:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case S:return"Portal";case k:return(t.displayName||"Context")+".Provider";case z:return(t._context.displayName||"Context")+".Consumer";case B:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case j:return a=t.displayName||null,a!==null?a:ie(t.type)||"Memo";case H:a=t._payload,t=t._init;try{return ie(t(a))}catch{}}return null}var fe=Array.isArray,L=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},ue=[],T=-1;function W(t){return{current:t}}function re(t){0>T||(t.current=ue[T],ue[T]=null,T--)}function ae(t,a){T++,ue[T]=t.current,t.current=a}var se=W(null),Se=W(null),be=W(null),Rt=W(null);function Q(t,a){switch(ae(be,a),ae(Se,t),ae(se,null),a.nodeType){case 9:case 11:t=(t=a.documentElement)&&(t=t.namespaceURI)?Dv(t):0;break;default:if(t=a.tagName,a=a.namespaceURI)a=Dv(a),t=Mv(a,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}re(se),ae(se,t)}function te(){re(se),re(Se),re(be)}function Ce(t){t.memoizedState!==null&&ae(Rt,t);var a=se.current,o=Mv(a,t.type);a!==o&&(ae(Se,t),ae(se,o))}function ze(t){Se.current===t&&(re(se),re(Se)),Rt.current===t&&(re(Rt),Io._currentValue=Z)}var We=Object.prototype.hasOwnProperty,Ke=e.unstable_scheduleCallback,Mt=e.unstable_cancelCallback,Oi=e.unstable_shouldYield,Br=e.unstable_requestPaint,Qt=e.unstable_now,lu=e.unstable_getCurrentPriorityLevel,Hr=e.unstable_ImmediatePriority,kl=e.unstable_UserBlockingPriority,ja=e.unstable_NormalPriority,Nl=e.unstable_LowPriority,wi=e.unstable_IdlePriority,y1=e.log,x1=e.unstable_setDisableYieldValue,Ur=null,Pt=null;function sa(t){if(typeof y1=="function"&&x1(t),Pt&&typeof Pt.setStrictMode=="function")try{Pt.setStrictMode(Ur,t)}catch{}}var Lt=Math.clz32?Math.clz32:C1,S1=Math.log,E1=Math.LN2;function C1(t){return t>>>=0,t===0?32:31-(S1(t)/E1|0)|0}var Al=256,_l=4194304;function Fa(t){var a=t&42;if(a!==0)return a;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function zl(t,a,o){var s=t.pendingLanes;if(s===0)return 0;var u=0,f=t.suspendedLanes,p=t.pingedLanes;t=t.warmLanes;var y=s&134217727;return y!==0?(s=y&~f,s!==0?u=Fa(s):(p&=y,p!==0?u=Fa(p):o||(o=y&~t,o!==0&&(u=Fa(o))))):(y=s&~f,y!==0?u=Fa(y):p!==0?u=Fa(p):o||(o=s&~t,o!==0&&(u=Fa(o)))),u===0?0:a!==0&&a!==u&&(a&f)===0&&(f=u&-u,o=a&-a,f>=o||f===32&&(o&4194048)!==0)?a:u}function jr(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function O1(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 t=Al;return Al<<=1,(Al&4194048)===0&&(Al=256),t}function yh(){var t=_l;return _l<<=1,(_l&62914560)===0&&(_l=4194304),t}function su(t){for(var a=[],o=0;31>o;o++)a.push(t);return a}function Fr(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function w1(t,a,o,s,u,f){var p=t.pendingLanes;t.pendingLanes=o,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=o,t.entangledLanes&=o,t.errorRecoveryDisabledLanes&=o,t.shellSuspendCounter=0;var y=t.entanglements,R=t.expirationTimes,D=t.hiddenUpdates;for(o=p&~o;0<o;){var F=31-Lt(o),G=1<<F;y[F]=0,R[F]=-1;var M=D[F];if(M!==null)for(D[F]=null,F=0;F<M.length;F++){var P=M[F];P!==null&&(P.lane&=-536870913)}o&=~G}s!==0&&xh(t,s,0),f!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=f&~(p&~a))}function xh(t,a,o){t.pendingLanes|=a,t.suspendedLanes&=~a;var s=31-Lt(a);t.entangledLanes|=a,t.entanglements[s]=t.entanglements[s]|1073741824|o&4194090}function Sh(t,a){var o=t.entangledLanes|=a;for(t=t.entanglements;o;){var s=31-Lt(o),u=1<<s;u&a|t[s]&a&&(t[s]|=a),o&=~u}}function cu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function uu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Eh(){var t=ne.p;return t!==0?t:(t=window.event,t===void 0?32:tb(t.type))}function R1(t,a){var o=ne.p;try{return ne.p=t,a()}finally{ne.p=o}}var ca=Math.random().toString(36).slice(2),Et="__reactFiber$"+ca,kt="__reactProps$"+ca,Ri="__reactContainer$"+ca,du="__reactEvents$"+ca,T1="__reactListeners$"+ca,k1="__reactHandles$"+ca,Ch="__reactResources$"+ca,$r="__reactMarker$"+ca;function fu(t){delete t[Et],delete t[kt],delete t[du],delete t[T1],delete t[k1]}function Ti(t){var a=t[Et];if(a)return a;for(var o=t.parentNode;o;){if(a=o[Ri]||o[Et]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(t=Hv(t);t!==null;){if(o=t[Et])return o;t=Hv(t)}return a}t=o,o=t.parentNode}return null}function ki(t){if(t=t[Et]||t[Ri]){var a=t.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return t}return null}function Wr(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t.stateNode;throw Error(r(33))}function Ni(t){var a=t[Ch];return a||(a=t[Ch]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function lt(t){t[$r]=!0}var Oh=new Set,wh={};function $a(t,a){Ai(t,a),Ai(t+"Capture",a)}function Ai(t,a){for(wh[t]=a,t=0;t<a.length;t++)Oh.add(a[t])}var N1=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]*$"),Rh={},Th={};function A1(t){return We.call(Th,t)?!0:We.call(Rh,t)?!1:N1.test(t)?Th[t]=!0:(Rh[t]=!0,!1)}function Vl(t,a,o){if(A1(a))if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":t.removeAttribute(a);return;case"boolean":var s=a.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(a);return}}t.setAttribute(a,""+o)}}function Il(t,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttribute(a,""+o)}}function Pn(t,a,o,s){if(s===null)t.removeAttribute(o);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(o);return}t.setAttributeNS(a,o,""+s)}}var gu,kh;function _i(t){if(gu===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);gu=a&&a[1]||"",kh=-1<o.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+gu+t+kh}var hu=!1;function mu(t,a){if(!t||hu)return"";hu=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(a){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(P){var M=P}Reflect.construct(t,[],G)}else{try{G.call()}catch(P){M=P}t.call(G.prototype)}}else{try{throw Error()}catch(P){M=P}(G=t())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(P){if(P&&M&&typeof P.stack=="string")return[P.stack,M.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=s.DetermineComponentFrameRoot(),p=f[0],y=f[1];if(p&&y){var R=p.split(`
45
+ `),D=y.split(`
46
+ `);for(u=s=0;s<R.length&&!R[s].includes("DetermineComponentFrameRoot");)s++;for(;u<D.length&&!D[u].includes("DetermineComponentFrameRoot");)u++;if(s===R.length||u===D.length)for(s=R.length-1,u=D.length-1;1<=s&&0<=u&&R[s]!==D[u];)u--;for(;1<=s&&0<=u;s--,u--)if(R[s]!==D[u]){if(s!==1||u!==1)do if(s--,u--,0>u||R[s]!==D[u]){var F=`
47
+ `+R[s].replace(" at new "," at ");return t.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",t.displayName)),F}while(1<=s&&0<=u);break}}}finally{hu=!1,Error.prepareStackTrace=o}return(o=t?t.displayName||t.name:"")?_i(o):""}function _1(t){switch(t.tag){case 26:case 27:case 5:return _i(t.type);case 16:return _i("Lazy");case 13:return _i("Suspense");case 19:return _i("SuspenseList");case 0:case 15:return mu(t.type,!1);case 11:return mu(t.type.render,!1);case 1:return mu(t.type,!0);case 31:return _i("Activity");default:return""}}function Nh(t){try{var a="";do a+=_1(t),t=t.return;while(t);return a}catch(o){return`
48
+ Error generating stack: `+o.message+`
49
+ `+o.stack}}function Zt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ah(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function z1(t){var a=Ah(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,a),s=""+t[a];if(!t.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,f=o.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return u.call(this)},set:function(p){s=""+p,f.call(this,p)}}),Object.defineProperty(t,a,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(p){s=""+p},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function Dl(t){t._valueTracker||(t._valueTracker=z1(t))}function _h(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var o=a.getValue(),s="";return t&&(s=Ah(t)?t.checked?"true":"false":t.value),t=s,t!==o?(a.setValue(t),!0):!1}function Ml(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var V1=/[\n"\\]/g;function Jt(t){return t.replace(V1,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function pu(t,a,o,s,u,f,p,y){t.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?t.type=p:t.removeAttribute("type"),a!=null?p==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+Zt(a)):t.value!==""+Zt(a)&&(t.value=""+Zt(a)):p!=="submit"&&p!=="reset"||t.removeAttribute("value"),a!=null?vu(t,p,Zt(a)):o!=null?vu(t,p,Zt(o)):s!=null&&t.removeAttribute("value"),u==null&&f!=null&&(t.defaultChecked=!!f),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Zt(y):t.removeAttribute("name")}function zh(t,a,o,s,u,f,p,y){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),a!=null||o!=null){if(!(f!=="submit"&&f!=="reset"||a!=null))return;o=o!=null?""+Zt(o):"",a=a!=null?""+Zt(a):o,y||a===t.value||(t.value=a),t.defaultValue=a}s=s??u,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=y?t.checked:!!s,t.defaultChecked=!!s,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.name=p)}function vu(t,a,o){a==="number"&&Ml(t.ownerDocument)===t||t.defaultValue===""+o||(t.defaultValue=""+o)}function zi(t,a,o,s){if(t=t.options,a){a={};for(var u=0;u<o.length;u++)a["$"+o[u]]=!0;for(o=0;o<t.length;o++)u=a.hasOwnProperty("$"+t[o].value),t[o].selected!==u&&(t[o].selected=u),u&&s&&(t[o].defaultSelected=!0)}else{for(o=""+Zt(o),a=null,u=0;u<t.length;u++){if(t[u].value===o){t[u].selected=!0,s&&(t[u].defaultSelected=!0);return}a!==null||t[u].disabled||(a=t[u])}a!==null&&(a.selected=!0)}}function Vh(t,a,o){if(a!=null&&(a=""+Zt(a),a!==t.value&&(t.value=a),o==null)){t.defaultValue!==a&&(t.defaultValue=a);return}t.defaultValue=o!=null?""+Zt(o):""}function Ih(t,a,o,s){if(a==null){if(s!=null){if(o!=null)throw Error(r(92));if(fe(s)){if(1<s.length)throw Error(r(93));s=s[0]}o=s}o==null&&(o=""),a=o}o=Zt(a),t.defaultValue=o,s=t.textContent,s===o&&s!==""&&s!==null&&(t.value=s)}function Vi(t,a){if(a){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=a;return}}t.textContent=a}var I1=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 Dh(t,a,o){var s=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?s?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="":s?t.setProperty(a,o):typeof o!="number"||o===0||I1.has(a)?a==="float"?t.cssFloat=o:t[a]=(""+o).trim():t[a]=o+"px"}function Mh(t,a,o){if(a!=null&&typeof a!="object")throw Error(r(62));if(t=t.style,o!=null){for(var s in o)!o.hasOwnProperty(s)||a!=null&&a.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var u in a)s=a[u],a.hasOwnProperty(u)&&o[u]!==s&&Dh(t,u,s)}else for(var f in a)a.hasOwnProperty(f)&&Dh(t,f,a[f])}function bu(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var D1=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"]]),M1=/^[\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 Pl(t){return M1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var yu=null;function xu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ii=null,Di=null;function Ph(t){var a=ki(t);if(a&&(t=a.stateNode)){var o=t[kt]||null;e:switch(t=a.stateNode,a.type){case"input":if(pu(t,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Jt(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var s=o[a];if(s!==t&&s.form===t.form){var u=s[kt]||null;if(!u)throw Error(r(90));pu(s,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(a=0;a<o.length;a++)s=o[a],s.form===t.form&&_h(s)}break e;case"textarea":Vh(t,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&zi(t,!!o.multiple,a,!1)}}}var Su=!1;function Lh(t,a,o){if(Su)return t(a,o);Su=!0;try{var s=t(a);return s}finally{if(Su=!1,(Ii!==null||Di!==null)&&(Es(),Ii&&(a=Ii,t=Di,Di=Ii=null,Ph(a),t)))for(a=0;a<t.length;a++)Ph(t[a])}}function Gr(t,a){var o=t.stateNode;if(o===null)return null;var s=o[kt]||null;if(s===null)return null;o=s[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(o&&typeof o!="function")throw Error(r(231,a,typeof o));return o}var Ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eu=!1;if(Ln)try{var qr={};Object.defineProperty(qr,"passive",{get:function(){Eu=!0}}),window.addEventListener("test",qr,qr),window.removeEventListener("test",qr,qr)}catch{Eu=!1}var ua=null,Cu=null,Ll=null;function Bh(){if(Ll)return Ll;var t,a=Cu,o=a.length,s,u="value"in ua?ua.value:ua.textContent,f=u.length;for(t=0;t<o&&a[t]===u[t];t++);var p=o-t;for(s=1;s<=p&&a[o-s]===u[f-s];s++);return Ll=u.slice(t,1<s?1-s:void 0)}function Bl(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function Hl(){return!0}function Hh(){return!1}function Nt(t){function a(o,s,u,f,p){this._reactName=o,this._targetInst=u,this.type=s,this.nativeEvent=f,this.target=p,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(o=t[y],this[y]=o?o(f):f[y]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Hl:Hh,this.isPropagationStopped=Hh,this}return v(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Hl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Hl)},persist:function(){},isPersistent:Hl}),a}var Wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ul=Nt(Wa),Yr=v({},Wa,{view:0,detail:0}),P1=Nt(Yr),Ou,wu,Xr,jl=v({},Yr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Xr&&(Xr&&t.type==="mousemove"?(Ou=t.screenX-Xr.screenX,wu=t.screenY-Xr.screenY):wu=Ou=0,Xr=t),Ou)},movementY:function(t){return"movementY"in t?t.movementY:wu}}),Uh=Nt(jl),L1=v({},jl,{dataTransfer:0}),B1=Nt(L1),H1=v({},Yr,{relatedTarget:0}),Ru=Nt(H1),U1=v({},Wa,{animationName:0,elapsedTime:0,pseudoElement:0}),j1=Nt(U1),F1=v({},Wa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),$1=Nt(F1),W1=v({},Wa,{data:0}),jh=Nt(W1),G1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},q1={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"},Y1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function X1(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=Y1[t])?!!a[t]:!1}function Tu(){return X1}var K1=v({},Yr,{key:function(t){if(t.key){var a=G1[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=Bl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?q1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tu,charCode:function(t){return t.type==="keypress"?Bl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Bl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Q1=Nt(K1),Z1=v({},jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fh=Nt(Z1),J1=v({},Yr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tu}),eE=Nt(J1),tE=v({},Wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),nE=Nt(tE),aE=v({},jl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),iE=Nt(aE),rE=v({},Wa,{newState:0,oldState:0}),oE=Nt(rE),lE=[9,13,27,32],ku=Ln&&"CompositionEvent"in window,Kr=null;Ln&&"documentMode"in document&&(Kr=document.documentMode);var sE=Ln&&"TextEvent"in window&&!Kr,$h=Ln&&(!ku||Kr&&8<Kr&&11>=Kr),Wh=" ",Gh=!1;function qh(t,a){switch(t){case"keyup":return lE.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Mi=!1;function cE(t,a){switch(t){case"compositionend":return Yh(a);case"keypress":return a.which!==32?null:(Gh=!0,Wh);case"textInput":return t=a.data,t===Wh&&Gh?null:t;default:return null}}function uE(t,a){if(Mi)return t==="compositionend"||!ku&&qh(t,a)?(t=Bh(),Ll=Cu=ua=null,Mi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return $h&&a.locale!=="ko"?null:a.data;default:return null}}var dE={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 Xh(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!dE[t.type]:a==="textarea"}function Kh(t,a,o,s){Ii?Di?Di.push(s):Di=[s]:Ii=s,a=ks(a,"onChange"),0<a.length&&(o=new Ul("onChange","change",null,o,s),t.push({event:o,listeners:a}))}var Qr=null,Zr=null;function fE(t){Av(t,0)}function Fl(t){var a=Wr(t);if(_h(a))return t}function Qh(t,a){if(t==="change")return a}var Zh=!1;if(Ln){var Nu;if(Ln){var Au="oninput"in document;if(!Au){var Jh=document.createElement("div");Jh.setAttribute("oninput","return;"),Au=typeof Jh.oninput=="function"}Nu=Au}else Nu=!1;Zh=Nu&&(!document.documentMode||9<document.documentMode)}function em(){Qr&&(Qr.detachEvent("onpropertychange",tm),Zr=Qr=null)}function tm(t){if(t.propertyName==="value"&&Fl(Zr)){var a=[];Kh(a,Zr,t,xu(t)),Lh(fE,a)}}function gE(t,a,o){t==="focusin"?(em(),Qr=a,Zr=o,Qr.attachEvent("onpropertychange",tm)):t==="focusout"&&em()}function hE(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Fl(Zr)}function mE(t,a){if(t==="click")return Fl(a)}function pE(t,a){if(t==="input"||t==="change")return Fl(a)}function vE(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var Bt=typeof Object.is=="function"?Object.is:vE;function Jr(t,a){if(Bt(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var o=Object.keys(t),s=Object.keys(a);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var u=o[s];if(!We.call(a,u)||!Bt(t[u],a[u]))return!1}return!0}function nm(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function am(t,a){var o=nm(t);t=0;for(var s;o;){if(o.nodeType===3){if(s=t+o.textContent.length,t<=a&&s>=a)return{node:o,offset:a-t};t=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=nm(o)}}function im(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?im(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function rm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=Ml(t.document);a instanceof t.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)t=a.contentWindow;else break;a=Ml(t.document)}return a}function _u(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var bE=Ln&&"documentMode"in document&&11>=document.documentMode,Pi=null,zu=null,eo=null,Vu=!1;function om(t,a,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Vu||Pi==null||Pi!==Ml(s)||(s=Pi,"selectionStart"in s&&_u(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),eo&&Jr(eo,s)||(eo=s,s=ks(zu,"onSelect"),0<s.length&&(a=new Ul("onSelect","select",null,a,o),t.push({event:a,listeners:s}),a.target=Pi)))}function Ga(t,a){var o={};return o[t.toLowerCase()]=a.toLowerCase(),o["Webkit"+t]="webkit"+a,o["Moz"+t]="moz"+a,o}var Li={animationend:Ga("Animation","AnimationEnd"),animationiteration:Ga("Animation","AnimationIteration"),animationstart:Ga("Animation","AnimationStart"),transitionrun:Ga("Transition","TransitionRun"),transitionstart:Ga("Transition","TransitionStart"),transitioncancel:Ga("Transition","TransitionCancel"),transitionend:Ga("Transition","TransitionEnd")},Iu={},lm={};Ln&&(lm=document.createElement("div").style,"AnimationEvent"in window||(delete Li.animationend.animation,delete Li.animationiteration.animation,delete Li.animationstart.animation),"TransitionEvent"in window||delete Li.transitionend.transition);function qa(t){if(Iu[t])return Iu[t];if(!Li[t])return t;var a=Li[t],o;for(o in a)if(a.hasOwnProperty(o)&&o in lm)return Iu[t]=a[o];return t}var sm=qa("animationend"),cm=qa("animationiteration"),um=qa("animationstart"),yE=qa("transitionrun"),xE=qa("transitionstart"),SE=qa("transitioncancel"),dm=qa("transitionend"),fm=new Map,Du="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(" ");Du.push("scrollEnd");function un(t,a){fm.set(t,a),$a(a,[t])}var gm=new WeakMap;function en(t,a){if(typeof t=="object"&&t!==null){var o=gm.get(t);return o!==void 0?o:(a={value:t,source:a,stack:Nh(a)},gm.set(t,a),a)}return{value:t,source:a,stack:Nh(a)}}var tn=[],Bi=0,Mu=0;function $l(){for(var t=Bi,a=Mu=Bi=0;a<t;){var o=tn[a];tn[a++]=null;var s=tn[a];tn[a++]=null;var u=tn[a];tn[a++]=null;var f=tn[a];if(tn[a++]=null,s!==null&&u!==null){var p=s.pending;p===null?u.next=u:(u.next=p.next,p.next=u),s.pending=u}f!==0&&hm(o,u,f)}}function Wl(t,a,o,s){tn[Bi++]=t,tn[Bi++]=a,tn[Bi++]=o,tn[Bi++]=s,Mu|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function Pu(t,a,o,s){return Wl(t,a,o,s),Gl(t)}function Hi(t,a){return Wl(t,null,null,a),Gl(t)}function hm(t,a,o){t.lanes|=o;var s=t.alternate;s!==null&&(s.lanes|=o);for(var u=!1,f=t.return;f!==null;)f.childLanes|=o,s=f.alternate,s!==null&&(s.childLanes|=o),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(u=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,u&&a!==null&&(u=31-Lt(o),t=f.hiddenUpdates,s=t[u],s===null?t[u]=[a]:s.push(a),a.lane=o|536870912),f):null}function Gl(t){if(50<Ro)throw Ro=0,Fd=null,Error(r(185));for(var a=t.return;a!==null;)t=a,a=t.return;return t.tag===3?t.stateNode:null}var Ui={};function EE(t,a,o,s){this.tag=t,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=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ht(t,a,o,s){return new EE(t,a,o,s)}function Lu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Bn(t,a){var o=t.alternate;return o===null?(o=Ht(t.tag,a,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=a,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&65011712,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,a=t.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o.refCleanup=t.refCleanup,o}function mm(t,a){t.flags&=65011714;var o=t.alternate;return o===null?(t.childLanes=0,t.lanes=a,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=o.childLanes,t.lanes=o.lanes,t.child=o.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=o.memoizedProps,t.memoizedState=o.memoizedState,t.updateQueue=o.updateQueue,t.type=o.type,a=o.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),t}function ql(t,a,o,s,u,f){var p=0;if(s=t,typeof t=="function")Lu(t)&&(p=1);else if(typeof t=="string")p=OC(t,o,se.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case U:return t=Ht(31,o,a,u),t.elementType=U,t.lanes=f,t;case C:return Ya(o.children,u,f,a);case E:p=8,u|=24;break;case w:return t=Ht(12,o,a,u|2),t.elementType=w,t.lanes=f,t;case _:return t=Ht(13,o,a,u),t.elementType=_,t.lanes=f,t;case q:return t=Ht(19,o,a,u),t.elementType=q,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case O:case k:p=10;break e;case z:p=9;break e;case B:p=11;break e;case j:p=14;break e;case H:p=16,s=null;break e}p=29,o=Error(r(130,t===null?"null":typeof t,"")),s=null}return a=Ht(p,o,a,u),a.elementType=t,a.type=s,a.lanes=f,a}function Ya(t,a,o,s){return t=Ht(7,t,s,a),t.lanes=o,t}function Bu(t,a,o){return t=Ht(6,t,null,a),t.lanes=o,t}function Hu(t,a,o){return a=Ht(4,t.children!==null?t.children:[],t.key,a),a.lanes=o,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}var ji=[],Fi=0,Yl=null,Xl=0,nn=[],an=0,Xa=null,Hn=1,Un="";function Ka(t,a){ji[Fi++]=Xl,ji[Fi++]=Yl,Yl=t,Xl=a}function pm(t,a,o){nn[an++]=Hn,nn[an++]=Un,nn[an++]=Xa,Xa=t;var s=Hn;t=Un;var u=32-Lt(s)-1;s&=~(1<<u),o+=1;var f=32-Lt(a)+u;if(30<f){var p=u-u%5;f=(s&(1<<p)-1).toString(32),s>>=p,u-=p,Hn=1<<32-Lt(a)+u|o<<u|s,Un=f+t}else Hn=1<<f|o<<u|s,Un=t}function Uu(t){t.return!==null&&(Ka(t,1),pm(t,1,0))}function ju(t){for(;t===Yl;)Yl=ji[--Fi],ji[Fi]=null,Xl=ji[--Fi],ji[Fi]=null;for(;t===Xa;)Xa=nn[--an],nn[an]=null,Un=nn[--an],nn[an]=null,Hn=nn[--an],nn[an]=null}var Tt=null,Ye=null,Ne=!1,Qa=null,yn=!1,Fu=Error(r(519));function Za(t){var a=Error(r(418,""));throw ao(en(a,t)),Fu}function vm(t){var a=t.stateNode,o=t.type,s=t.memoizedProps;switch(a[Et]=t,a[kt]=s,o){case"dialog":Re("cancel",a),Re("close",a);break;case"iframe":case"object":case"embed":Re("load",a);break;case"video":case"audio":for(o=0;o<ko.length;o++)Re(ko[o],a);break;case"source":Re("error",a);break;case"img":case"image":case"link":Re("error",a),Re("load",a);break;case"details":Re("toggle",a);break;case"input":Re("invalid",a),zh(a,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),Dl(a);break;case"select":Re("invalid",a);break;case"textarea":Re("invalid",a),Ih(a,s.value,s.defaultValue,s.children),Dl(a)}o=s.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||s.suppressHydrationWarning===!0||Iv(a.textContent,o)?(s.popover!=null&&(Re("beforetoggle",a),Re("toggle",a)),s.onScroll!=null&&Re("scroll",a),s.onScrollEnd!=null&&Re("scrollend",a),s.onClick!=null&&(a.onclick=Ns),a=!0):a=!1,a||Za(t)}function bm(t){for(Tt=t.return;Tt;)switch(Tt.tag){case 5:case 13:yn=!1;return;case 27:case 3:yn=!0;return;default:Tt=Tt.return}}function to(t){if(t!==Tt)return!1;if(!Ne)return bm(t),Ne=!0,!1;var a=t.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=t.type,o=!(o!=="form"&&o!=="button")||of(t.type,t.memoizedProps)),o=!o),o&&Ye&&Za(t),bm(t),a===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,a=0;t;){if(t.nodeType===8)if(o=t.data,o==="/$"){if(a===0){Ye=fn(t.nextSibling);break e}a--}else o!=="$"&&o!=="$!"&&o!=="$?"||a++;t=t.nextSibling}Ye=null}}else a===27?(a=Ye,Ra(t.type)?(t=uf,uf=null,Ye=t):Ye=a):Ye=Tt?fn(t.stateNode.nextSibling):null;return!0}function no(){Ye=Tt=null,Ne=!1}function ym(){var t=Qa;return t!==null&&(zt===null?zt=t:zt.push.apply(zt,t),Qa=null),t}function ao(t){Qa===null?Qa=[t]:Qa.push(t)}var $u=W(null),Ja=null,jn=null;function da(t,a,o){ae($u,a._currentValue),a._currentValue=o}function Fn(t){t._currentValue=$u.current,re($u)}function Wu(t,a,o){for(;t!==null;){var s=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,s!==null&&(s.childLanes|=a)):s!==null&&(s.childLanes&a)!==a&&(s.childLanes|=a),t===o)break;t=t.return}}function Gu(t,a,o,s){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var f=u.dependencies;if(f!==null){var p=u.child;f=f.firstContext;e:for(;f!==null;){var y=f;f=u;for(var R=0;R<a.length;R++)if(y.context===a[R]){f.lanes|=o,y=f.alternate,y!==null&&(y.lanes|=o),Wu(f.return,o,t),s||(p=null);break e}f=y.next}}else if(u.tag===18){if(p=u.return,p===null)throw Error(r(341));p.lanes|=o,f=p.alternate,f!==null&&(f.lanes|=o),Wu(p,o,t),p=null}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===t){p=null;break}if(u=p.sibling,u!==null){u.return=p.return,p=u;break}p=p.return}u=p}}function io(t,a,o,s){t=null;for(var u=a,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var p=u.alternate;if(p===null)throw Error(r(387));if(p=p.memoizedProps,p!==null){var y=u.type;Bt(u.pendingProps.value,p.value)||(t!==null?t.push(y):t=[y])}}else if(u===Rt.current){if(p=u.alternate,p===null)throw Error(r(387));p.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Io):t=[Io])}u=u.return}t!==null&&Gu(a,t,o,s),a.flags|=262144}function Kl(t){for(t=t.firstContext;t!==null;){if(!Bt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ei(t){Ja=t,jn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ct(t){return xm(Ja,t)}function Ql(t,a){return Ja===null&&ei(t),xm(t,a)}function xm(t,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},jn===null){if(t===null)throw Error(r(308));jn=a,t.dependencies={lanes:0,firstContext:a},t.flags|=524288}else jn=jn.next=a;return o}var CE=typeof AbortController<"u"?AbortController:function(){var t=[],a=this.signal={aborted:!1,addEventListener:function(o,s){t.push(s)}};this.abort=function(){a.aborted=!0,t.forEach(function(o){return o()})}},OE=e.unstable_scheduleCallback,wE=e.unstable_NormalPriority,it={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qu(){return{controller:new CE,data:new Map,refCount:0}}function ro(t){t.refCount--,t.refCount===0&&OE(wE,function(){t.controller.abort()})}var oo=null,Yu=0,$i=0,Wi=null;function RE(t,a){if(oo===null){var o=oo=[];Yu=0,$i=Kd(),Wi={status:"pending",value:void 0,then:function(s){o.push(s)}}}return Yu++,a.then(Sm,Sm),a}function Sm(){if(--Yu===0&&oo!==null){Wi!==null&&(Wi.status="fulfilled");var t=oo;oo=null,$i=0,Wi=null;for(var a=0;a<t.length;a++)(0,t[a])()}}function TE(t,a){var o=[],s={status:"pending",value:null,reason:null,then:function(u){o.push(u)}};return t.then(function(){s.status="fulfilled",s.value=a;for(var u=0;u<o.length;u++)(0,o[u])(a)},function(u){for(s.status="rejected",s.reason=u,u=0;u<o.length;u++)(0,o[u])(void 0)}),s}var Em=L.S;L.S=function(t,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&RE(t,a),Em!==null&&Em(t,a)};var ti=W(null);function Xu(){var t=ti.current;return t!==null?t:je.pooledCache}function Zl(t,a){a===null?ae(ti,ti.current):ae(ti,a.pool)}function Cm(){var t=Xu();return t===null?null:{parent:it._currentValue,pool:t}}var lo=Error(r(460)),Om=Error(r(474)),Jl=Error(r(542)),Ku={then:function(){}};function wm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function es(){}function Rm(t,a,o){switch(o=t[o],o===void 0?t.push(a):o!==a&&(a.then(es,es),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,km(t),t;default:if(typeof a.status=="string")a.then(es,es);else{if(t=je,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=a,t.status="pending",t.then(function(s){if(a.status==="pending"){var u=a;u.status="fulfilled",u.value=s}},function(s){if(a.status==="pending"){var u=a;u.status="rejected",u.reason=s}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,km(t),t}throw so=a,lo}}var so=null;function Tm(){if(so===null)throw Error(r(459));var t=so;return so=null,t}function km(t){if(t===lo||t===Jl)throw Error(r(483))}var fa=!1;function Qu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zu(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ga(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ha(t,a,o){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(Ie&2)!==0){var u=s.pending;return u===null?a.next=a:(a.next=u.next,u.next=a),s.pending=a,a=Gl(t),hm(t,null,o),a}return Wl(t,s,a,o),Gl(t)}function co(t,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194048)!==0)){var s=a.lanes;s&=t.pendingLanes,o|=s,a.lanes=o,Sh(t,o)}}function Ju(t,a){var o=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var u=null,f=null;if(o=o.firstBaseUpdate,o!==null){do{var p={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};f===null?u=f=p:f=f.next=p,o=o.next}while(o!==null);f===null?u=f=a:f=f.next=a}else u=f=a;o={baseState:s.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:s.shared,callbacks:s.callbacks},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=a:t.next=a,o.lastBaseUpdate=a}var ed=!1;function uo(){if(ed){var t=Wi;if(t!==null)throw t}}function fo(t,a,o,s){ed=!1;var u=t.updateQueue;fa=!1;var f=u.firstBaseUpdate,p=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var R=y,D=R.next;R.next=null,p===null?f=D:p.next=D,p=R;var F=t.alternate;F!==null&&(F=F.updateQueue,y=F.lastBaseUpdate,y!==p&&(y===null?F.firstBaseUpdate=D:y.next=D,F.lastBaseUpdate=R))}if(f!==null){var G=u.baseState;p=0,F=D=R=null,y=f;do{var M=y.lane&-536870913,P=M!==y.lane;if(P?(Te&M)===M:(s&M)===M){M!==0&&M===$i&&(ed=!0),F!==null&&(F=F.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var pe=t,de=y;M=a;var Le=o;switch(de.tag){case 1:if(pe=de.payload,typeof pe=="function"){G=pe.call(Le,G,M);break e}G=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=de.payload,M=typeof pe=="function"?pe.call(Le,G,M):pe,M==null)break e;G=v({},G,M);break e;case 2:fa=!0}}M=y.callback,M!==null&&(t.flags|=64,P&&(t.flags|=8192),P=u.callbacks,P===null?u.callbacks=[M]:P.push(M))}else P={lane:M,tag:y.tag,payload:y.payload,callback:y.callback,next:null},F===null?(D=F=P,R=G):F=F.next=P,p|=M;if(y=y.next,y===null){if(y=u.shared.pending,y===null)break;P=y,y=P.next,P.next=null,u.lastBaseUpdate=P,u.shared.pending=null}}while(!0);F===null&&(R=G),u.baseState=R,u.firstBaseUpdate=D,u.lastBaseUpdate=F,f===null&&(u.shared.lanes=0),Ea|=p,t.lanes=p,t.memoizedState=G}}function Nm(t,a){if(typeof t!="function")throw Error(r(191,t));t.call(a)}function Am(t,a){var o=t.callbacks;if(o!==null)for(t.callbacks=null,t=0;t<o.length;t++)Nm(o[t],a)}var Gi=W(null),ts=W(0);function _m(t,a){t=Kn,ae(ts,t),ae(Gi,a),Kn=t|a.baseLanes}function td(){ae(ts,Kn),ae(Gi,Gi.current)}function nd(){Kn=ts.current,re(Gi),re(ts)}var ma=0,Ee=null,Me=null,Je=null,ns=!1,qi=!1,ni=!1,as=0,go=0,Yi=null,kE=0;function Qe(){throw Error(r(321))}function ad(t,a){if(a===null)return!1;for(var o=0;o<a.length&&o<t.length;o++)if(!Bt(t[o],a[o]))return!1;return!0}function id(t,a,o,s,u,f){return ma=f,Ee=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,L.H=t===null||t.memoizedState===null?hp:mp,ni=!1,f=o(s,u),ni=!1,qi&&(f=Vm(a,o,s,u)),zm(t),f}function zm(t){L.H=cs;var a=Me!==null&&Me.next!==null;if(ma=0,Je=Me=Ee=null,ns=!1,go=0,Yi=null,a)throw Error(r(300));t===null||st||(t=t.dependencies,t!==null&&Kl(t)&&(st=!0))}function Vm(t,a,o,s){Ee=t;var u=0;do{if(qi&&(Yi=null),go=0,qi=!1,25<=u)throw Error(r(301));if(u+=1,Je=Me=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}L.H=DE,f=a(o,s)}while(qi);return f}function NE(){var t=L.H,a=t.useState()[0];return a=typeof a.then=="function"?ho(a):a,t=t.useState()[0],(Me!==null?Me.memoizedState:null)!==t&&(Ee.flags|=1024),a}function rd(){var t=as!==0;return as=0,t}function od(t,a,o){a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~o}function ld(t){if(ns){for(t=t.memoizedState;t!==null;){var a=t.queue;a!==null&&(a.pending=null),t=t.next}ns=!1}ma=0,Je=Me=Ee=null,qi=!1,go=as=0,Yi=null}function At(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?Ee.memoizedState=Je=t:Je=Je.next=t,Je}function et(){if(Me===null){var t=Ee.alternate;t=t!==null?t.memoizedState:null}else t=Me.next;var a=Je===null?Ee.memoizedState:Je.next;if(a!==null)Je=a,Me=t;else{if(t===null)throw Ee.alternate===null?Error(r(467)):Error(r(310));Me=t,t={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Je===null?Ee.memoizedState=Je=t:Je=Je.next=t}return Je}function sd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ho(t){var a=go;return go+=1,Yi===null&&(Yi=[]),t=Rm(Yi,t,a),a=Ee,(Je===null?a.memoizedState:Je.next)===null&&(a=a.alternate,L.H=a===null||a.memoizedState===null?hp:mp),t}function is(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ho(t);if(t.$$typeof===k)return Ct(t)}throw Error(r(438,String(t)))}function cd(t){var a=null,o=Ee.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var s=Ee.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(a={data:s.data.map(function(u){return u.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=sd(),Ee.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(t),s=0;s<t;s++)o[s]=X;return a.index++,o}function $n(t,a){return typeof a=="function"?a(t):a}function rs(t){var a=et();return ud(a,Me,t)}function ud(t,a,o){var s=t.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=o;var u=t.baseQueue,f=s.pending;if(f!==null){if(u!==null){var p=u.next;u.next=f.next,f.next=p}a.baseQueue=u=f,s.pending=null}if(f=t.baseState,u===null)t.memoizedState=f;else{a=u.next;var y=p=null,R=null,D=a,F=!1;do{var G=D.lane&-536870913;if(G!==D.lane?(Te&G)===G:(ma&G)===G){var M=D.revertLane;if(M===0)R!==null&&(R=R.next={lane:0,revertLane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),G===$i&&(F=!0);else if((ma&M)===M){D=D.next,M===$i&&(F=!0);continue}else G={lane:0,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},R===null?(y=R=G,p=f):R=R.next=G,Ee.lanes|=M,Ea|=M;G=D.action,ni&&o(f,G),f=D.hasEagerState?D.eagerState:o(f,G)}else M={lane:G,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},R===null?(y=R=M,p=f):R=R.next=M,Ee.lanes|=G,Ea|=G;D=D.next}while(D!==null&&D!==a);if(R===null?p=f:R.next=y,!Bt(f,t.memoizedState)&&(st=!0,F&&(o=Wi,o!==null)))throw o;t.memoizedState=f,t.baseState=p,t.baseQueue=R,s.lastRenderedState=f}return u===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function dd(t){var a=et(),o=a.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=t;var s=o.dispatch,u=o.pending,f=a.memoizedState;if(u!==null){o.pending=null;var p=u=u.next;do f=t(f,p.action),p=p.next;while(p!==u);Bt(f,a.memoizedState)||(st=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),o.lastRenderedState=f}return[f,s]}function Im(t,a,o){var s=Ee,u=et(),f=Ne;if(f){if(o===void 0)throw Error(r(407));o=o()}else o=a();var p=!Bt((Me||u).memoizedState,o);p&&(u.memoizedState=o,st=!0),u=u.queue;var y=Pm.bind(null,s,u,t);if(mo(2048,8,y,[t]),u.getSnapshot!==a||p||Je!==null&&Je.memoizedState.tag&1){if(s.flags|=2048,Xi(9,os(),Mm.bind(null,s,u,o,a),null),je===null)throw Error(r(349));f||(ma&124)!==0||Dm(s,a,o)}return o}function Dm(t,a,o){t.flags|=16384,t={getSnapshot:a,value:o},a=Ee.updateQueue,a===null?(a=sd(),Ee.updateQueue=a,a.stores=[t]):(o=a.stores,o===null?a.stores=[t]:o.push(t))}function Mm(t,a,o,s){a.value=o,a.getSnapshot=s,Lm(a)&&Bm(t)}function Pm(t,a,o){return o(function(){Lm(a)&&Bm(t)})}function Lm(t){var a=t.getSnapshot;t=t.value;try{var o=a();return!Bt(t,o)}catch{return!0}}function Bm(t){var a=Hi(t,2);a!==null&&Wt(a,t,2)}function fd(t){var a=At();if(typeof t=="function"){var o=t;if(t=o(),ni){sa(!0);try{o()}finally{sa(!1)}}}return a.memoizedState=a.baseState=t,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$n,lastRenderedState:t},a}function Hm(t,a,o,s){return t.baseState=o,ud(t,Me,typeof s=="function"?s:$n)}function AE(t,a,o,s,u){if(ss(t))throw Error(r(485));if(t=a.action,t!==null){var f={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){f.listeners.push(p)}};L.T!==null?o(!0):f.isTransition=!1,s(f),o=a.pending,o===null?(f.next=a.pending=f,Um(a,f)):(f.next=o.next,a.pending=o.next=f)}}function Um(t,a){var o=a.action,s=a.payload,u=t.state;if(a.isTransition){var f=L.T,p={};L.T=p;try{var y=o(u,s),R=L.S;R!==null&&R(p,y),jm(t,a,y)}catch(D){gd(t,a,D)}finally{L.T=f}}else try{f=o(u,s),jm(t,a,f)}catch(D){gd(t,a,D)}}function jm(t,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(s){Fm(t,a,s)},function(s){return gd(t,a,s)}):Fm(t,a,o)}function Fm(t,a,o){a.status="fulfilled",a.value=o,$m(a),t.state=o,a=t.pending,a!==null&&(o=a.next,o===a?t.pending=null:(o=o.next,a.next=o,Um(t,o)))}function gd(t,a,o){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do a.status="rejected",a.reason=o,$m(a),a=a.next;while(a!==s)}t.action=null}function $m(t){t=t.listeners;for(var a=0;a<t.length;a++)(0,t[a])()}function Wm(t,a){return a}function Gm(t,a){if(Ne){var o=je.formState;if(o!==null){e:{var s=Ee;if(Ne){if(Ye){t:{for(var u=Ye,f=yn;u.nodeType!==8;){if(!f){u=null;break t}if(u=fn(u.nextSibling),u===null){u=null;break t}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){Ye=fn(u.nextSibling),s=u.data==="F!";break e}}Za(s)}s=!1}s&&(a=o[0])}}return o=At(),o.memoizedState=o.baseState=a,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wm,lastRenderedState:a},o.queue=s,o=dp.bind(null,Ee,s),s.dispatch=o,s=fd(!1),f=bd.bind(null,Ee,!1,s.queue),s=At(),u={state:a,dispatch:null,action:t,pending:null},s.queue=u,o=AE.bind(null,Ee,u,f,o),u.dispatch=o,s.memoizedState=t,[a,o,!1]}function qm(t){var a=et();return Ym(a,Me,t)}function Ym(t,a,o){if(a=ud(t,a,Wm)[0],t=rs($n)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var s=ho(a)}catch(p){throw p===lo?Jl:p}else s=a;a=et();var u=a.queue,f=u.dispatch;return o!==a.memoizedState&&(Ee.flags|=2048,Xi(9,os(),_E.bind(null,u,o),null)),[s,f,t]}function _E(t,a){t.action=a}function Xm(t){var a=et(),o=Me;if(o!==null)return Ym(a,o,t);et(),a=a.memoizedState,o=et();var s=o.queue.dispatch;return o.memoizedState=t,[a,s,!1]}function Xi(t,a,o,s){return t={tag:t,create:o,deps:s,inst:a,next:null},a=Ee.updateQueue,a===null&&(a=sd(),Ee.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=t.next=t:(s=o.next,o.next=t,t.next=s,a.lastEffect=t),t}function os(){return{destroy:void 0,resource:void 0}}function Km(){return et().memoizedState}function ls(t,a,o,s){var u=At();s=s===void 0?null:s,Ee.flags|=t,u.memoizedState=Xi(1|a,os(),o,s)}function mo(t,a,o,s){var u=et();s=s===void 0?null:s;var f=u.memoizedState.inst;Me!==null&&s!==null&&ad(s,Me.memoizedState.deps)?u.memoizedState=Xi(a,f,o,s):(Ee.flags|=t,u.memoizedState=Xi(1|a,f,o,s))}function Qm(t,a){ls(8390656,8,t,a)}function Zm(t,a){mo(2048,8,t,a)}function Jm(t,a){return mo(4,2,t,a)}function ep(t,a){return mo(4,4,t,a)}function tp(t,a){if(typeof a=="function"){t=t();var o=a(t);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function np(t,a,o){o=o!=null?o.concat([t]):null,mo(4,4,tp.bind(null,a,t),o)}function hd(){}function ap(t,a){var o=et();a=a===void 0?null:a;var s=o.memoizedState;return a!==null&&ad(a,s[1])?s[0]:(o.memoizedState=[t,a],t)}function ip(t,a){var o=et();a=a===void 0?null:a;var s=o.memoizedState;if(a!==null&&ad(a,s[1]))return s[0];if(s=t(),ni){sa(!0);try{t()}finally{sa(!1)}}return o.memoizedState=[s,a],s}function md(t,a,o){return o===void 0||(ma&1073741824)!==0?t.memoizedState=a:(t.memoizedState=o,t=lv(),Ee.lanes|=t,Ea|=t,o)}function rp(t,a,o,s){return Bt(o,a)?o:Gi.current!==null?(t=md(t,o,s),Bt(t,a)||(st=!0),t):(ma&42)===0?(st=!0,t.memoizedState=o):(t=lv(),Ee.lanes|=t,Ea|=t,a)}function op(t,a,o,s,u){var f=ne.p;ne.p=f!==0&&8>f?f:8;var p=L.T,y={};L.T=y,bd(t,!1,a,o);try{var R=u(),D=L.S;if(D!==null&&D(y,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var F=TE(R,s);po(t,a,F,$t(t))}else po(t,a,s,$t(t))}catch(G){po(t,a,{then:function(){},status:"rejected",reason:G},$t())}finally{ne.p=f,L.T=p}}function zE(){}function pd(t,a,o,s){if(t.tag!==5)throw Error(r(476));var u=lp(t).queue;op(t,u,a,Z,o===null?zE:function(){return sp(t),o(s)})}function lp(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$n,lastRenderedState:Z},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$n,lastRenderedState:o},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function sp(t){var a=lp(t).next.queue;po(t,a,{},$t())}function vd(){return Ct(Io)}function cp(){return et().memoizedState}function up(){return et().memoizedState}function VE(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=$t();t=ga(o);var s=ha(a,t,o);s!==null&&(Wt(s,a,o),co(s,a,o)),a={cache:qu()},t.payload=a;return}a=a.return}}function IE(t,a,o){var s=$t();o={lane:s,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},ss(t)?fp(a,o):(o=Pu(t,a,o,s),o!==null&&(Wt(o,t,s),gp(o,a,s)))}function dp(t,a,o){var s=$t();po(t,a,o,s)}function po(t,a,o,s){var u={lane:s,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(ss(t))fp(a,u);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var p=a.lastRenderedState,y=f(p,o);if(u.hasEagerState=!0,u.eagerState=y,Bt(y,p))return Wl(t,a,u,0),je===null&&$l(),!1}catch{}finally{}if(o=Pu(t,a,u,s),o!==null)return Wt(o,t,s),gp(o,a,s),!0}return!1}function bd(t,a,o,s){if(s={lane:2,revertLane:Kd(),action:s,hasEagerState:!1,eagerState:null,next:null},ss(t)){if(a)throw Error(r(479))}else a=Pu(t,o,s,2),a!==null&&Wt(a,t,2)}function ss(t){var a=t.alternate;return t===Ee||a!==null&&a===Ee}function fp(t,a){qi=ns=!0;var o=t.pending;o===null?a.next=a:(a.next=o.next,o.next=a),t.pending=a}function gp(t,a,o){if((o&4194048)!==0){var s=a.lanes;s&=t.pendingLanes,o|=s,a.lanes=o,Sh(t,o)}}var cs={readContext:Ct,use:is,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe},hp={readContext:Ct,use:is,useCallback:function(t,a){return At().memoizedState=[t,a===void 0?null:a],t},useContext:Ct,useEffect:Qm,useImperativeHandle:function(t,a,o){o=o!=null?o.concat([t]):null,ls(4194308,4,tp.bind(null,a,t),o)},useLayoutEffect:function(t,a){return ls(4194308,4,t,a)},useInsertionEffect:function(t,a){ls(4,2,t,a)},useMemo:function(t,a){var o=At();a=a===void 0?null:a;var s=t();if(ni){sa(!0);try{t()}finally{sa(!1)}}return o.memoizedState=[s,a],s},useReducer:function(t,a,o){var s=At();if(o!==void 0){var u=o(a);if(ni){sa(!0);try{o(a)}finally{sa(!1)}}}else u=a;return s.memoizedState=s.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},s.queue=t,t=t.dispatch=IE.bind(null,Ee,t),[s.memoizedState,t]},useRef:function(t){var a=At();return t={current:t},a.memoizedState=t},useState:function(t){t=fd(t);var a=t.queue,o=dp.bind(null,Ee,a);return a.dispatch=o,[t.memoizedState,o]},useDebugValue:hd,useDeferredValue:function(t,a){var o=At();return md(o,t,a)},useTransition:function(){var t=fd(!1);return t=op.bind(null,Ee,t.queue,!0,!1),At().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,o){var s=Ee,u=At();if(Ne){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),je===null)throw Error(r(349));(Te&124)!==0||Dm(s,a,o)}u.memoizedState=o;var f={value:o,getSnapshot:a};return u.queue=f,Qm(Pm.bind(null,s,f,t),[t]),s.flags|=2048,Xi(9,os(),Mm.bind(null,s,f,o,a),null),o},useId:function(){var t=At(),a=je.identifierPrefix;if(Ne){var o=Un,s=Hn;o=(s&~(1<<32-Lt(s)-1)).toString(32)+o,a="«"+a+"R"+o,o=as++,0<o&&(a+="H"+o.toString(32)),a+="»"}else o=kE++,a="«"+a+"r"+o.toString(32)+"»";return t.memoizedState=a},useHostTransitionStatus:vd,useFormState:Gm,useActionState:Gm,useOptimistic:function(t){var a=At();a.memoizedState=a.baseState=t;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=bd.bind(null,Ee,!0,o),o.dispatch=a,[t,a]},useMemoCache:cd,useCacheRefresh:function(){return At().memoizedState=VE.bind(null,Ee)}},mp={readContext:Ct,use:is,useCallback:ap,useContext:Ct,useEffect:Zm,useImperativeHandle:np,useInsertionEffect:Jm,useLayoutEffect:ep,useMemo:ip,useReducer:rs,useRef:Km,useState:function(){return rs($n)},useDebugValue:hd,useDeferredValue:function(t,a){var o=et();return rp(o,Me.memoizedState,t,a)},useTransition:function(){var t=rs($n)[0],a=et().memoizedState;return[typeof t=="boolean"?t:ho(t),a]},useSyncExternalStore:Im,useId:cp,useHostTransitionStatus:vd,useFormState:qm,useActionState:qm,useOptimistic:function(t,a){var o=et();return Hm(o,Me,t,a)},useMemoCache:cd,useCacheRefresh:up},DE={readContext:Ct,use:is,useCallback:ap,useContext:Ct,useEffect:Zm,useImperativeHandle:np,useInsertionEffect:Jm,useLayoutEffect:ep,useMemo:ip,useReducer:dd,useRef:Km,useState:function(){return dd($n)},useDebugValue:hd,useDeferredValue:function(t,a){var o=et();return Me===null?md(o,t,a):rp(o,Me.memoizedState,t,a)},useTransition:function(){var t=dd($n)[0],a=et().memoizedState;return[typeof t=="boolean"?t:ho(t),a]},useSyncExternalStore:Im,useId:cp,useHostTransitionStatus:vd,useFormState:Xm,useActionState:Xm,useOptimistic:function(t,a){var o=et();return Me!==null?Hm(o,Me,t,a):(o.baseState=t,[t,o.queue.dispatch])},useMemoCache:cd,useCacheRefresh:up},Ki=null,vo=0;function us(t){var a=vo;return vo+=1,Ki===null&&(Ki=[]),Rm(Ki,t,a)}function bo(t,a){a=a.props.ref,t.ref=a!==void 0?a:null}function ds(t,a){throw a.$$typeof===x?Error(r(525)):(t=Object.prototype.toString.call(a),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t)))}function pp(t){var a=t._init;return a(t._payload)}function vp(t){function a(V,A){if(t){var I=V.deletions;I===null?(V.deletions=[A],V.flags|=16):I.push(A)}}function o(V,A){if(!t)return null;for(;A!==null;)a(V,A),A=A.sibling;return null}function s(V){for(var A=new Map;V!==null;)V.key!==null?A.set(V.key,V):A.set(V.index,V),V=V.sibling;return A}function u(V,A){return V=Bn(V,A),V.index=0,V.sibling=null,V}function f(V,A,I){return V.index=I,t?(I=V.alternate,I!==null?(I=I.index,I<A?(V.flags|=67108866,A):I):(V.flags|=67108866,A)):(V.flags|=1048576,A)}function p(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function y(V,A,I,$){return A===null||A.tag!==6?(A=Bu(I,V.mode,$),A.return=V,A):(A=u(A,I),A.return=V,A)}function R(V,A,I,$){var oe=I.type;return oe===C?F(V,A,I.props.children,$,I.key):A!==null&&(A.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===H&&pp(oe)===A.type)?(A=u(A,I.props),bo(A,I),A.return=V,A):(A=ql(I.type,I.key,I.props,null,V.mode,$),bo(A,I),A.return=V,A)}function D(V,A,I,$){return A===null||A.tag!==4||A.stateNode.containerInfo!==I.containerInfo||A.stateNode.implementation!==I.implementation?(A=Hu(I,V.mode,$),A.return=V,A):(A=u(A,I.children||[]),A.return=V,A)}function F(V,A,I,$,oe){return A===null||A.tag!==7?(A=Ya(I,V.mode,$,oe),A.return=V,A):(A=u(A,I),A.return=V,A)}function G(V,A,I){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=Bu(""+A,V.mode,I),A.return=V,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case b:return I=ql(A.type,A.key,A.props,null,V.mode,I),bo(I,A),I.return=V,I;case S:return A=Hu(A,V.mode,I),A.return=V,A;case H:var $=A._init;return A=$(A._payload),G(V,A,I)}if(fe(A)||Y(A))return A=Ya(A,V.mode,I,null),A.return=V,A;if(typeof A.then=="function")return G(V,us(A),I);if(A.$$typeof===k)return G(V,Ql(V,A),I);ds(V,A)}return null}function M(V,A,I,$){var oe=A!==null?A.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return oe!==null?null:y(V,A,""+I,$);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case b:return I.key===oe?R(V,A,I,$):null;case S:return I.key===oe?D(V,A,I,$):null;case H:return oe=I._init,I=oe(I._payload),M(V,A,I,$)}if(fe(I)||Y(I))return oe!==null?null:F(V,A,I,$,null);if(typeof I.then=="function")return M(V,A,us(I),$);if(I.$$typeof===k)return M(V,A,Ql(V,I),$);ds(V,I)}return null}function P(V,A,I,$,oe){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return V=V.get(I)||null,y(A,V,""+$,oe);if(typeof $=="object"&&$!==null){switch($.$$typeof){case b:return V=V.get($.key===null?I:$.key)||null,R(A,V,$,oe);case S:return V=V.get($.key===null?I:$.key)||null,D(A,V,$,oe);case H:var Oe=$._init;return $=Oe($._payload),P(V,A,I,$,oe)}if(fe($)||Y($))return V=V.get(I)||null,F(A,V,$,oe,null);if(typeof $.then=="function")return P(V,A,I,us($),oe);if($.$$typeof===k)return P(V,A,I,Ql(A,$),oe);ds(A,$)}return null}function pe(V,A,I,$){for(var oe=null,Oe=null,ce=A,ge=A=0,ut=null;ce!==null&&ge<I.length;ge++){ce.index>ge?(ut=ce,ce=null):ut=ce.sibling;var ke=M(V,ce,I[ge],$);if(ke===null){ce===null&&(ce=ut);break}t&&ce&&ke.alternate===null&&a(V,ce),A=f(ke,A,ge),Oe===null?oe=ke:Oe.sibling=ke,Oe=ke,ce=ut}if(ge===I.length)return o(V,ce),Ne&&Ka(V,ge),oe;if(ce===null){for(;ge<I.length;ge++)ce=G(V,I[ge],$),ce!==null&&(A=f(ce,A,ge),Oe===null?oe=ce:Oe.sibling=ce,Oe=ce);return Ne&&Ka(V,ge),oe}for(ce=s(ce);ge<I.length;ge++)ut=P(ce,V,ge,I[ge],$),ut!==null&&(t&&ut.alternate!==null&&ce.delete(ut.key===null?ge:ut.key),A=f(ut,A,ge),Oe===null?oe=ut:Oe.sibling=ut,Oe=ut);return t&&ce.forEach(function(_a){return a(V,_a)}),Ne&&Ka(V,ge),oe}function de(V,A,I,$){if(I==null)throw Error(r(151));for(var oe=null,Oe=null,ce=A,ge=A=0,ut=null,ke=I.next();ce!==null&&!ke.done;ge++,ke=I.next()){ce.index>ge?(ut=ce,ce=null):ut=ce.sibling;var _a=M(V,ce,ke.value,$);if(_a===null){ce===null&&(ce=ut);break}t&&ce&&_a.alternate===null&&a(V,ce),A=f(_a,A,ge),Oe===null?oe=_a:Oe.sibling=_a,Oe=_a,ce=ut}if(ke.done)return o(V,ce),Ne&&Ka(V,ge),oe;if(ce===null){for(;!ke.done;ge++,ke=I.next())ke=G(V,ke.value,$),ke!==null&&(A=f(ke,A,ge),Oe===null?oe=ke:Oe.sibling=ke,Oe=ke);return Ne&&Ka(V,ge),oe}for(ce=s(ce);!ke.done;ge++,ke=I.next())ke=P(ce,V,ge,ke.value,$),ke!==null&&(t&&ke.alternate!==null&&ce.delete(ke.key===null?ge:ke.key),A=f(ke,A,ge),Oe===null?oe=ke:Oe.sibling=ke,Oe=ke);return t&&ce.forEach(function(MC){return a(V,MC)}),Ne&&Ka(V,ge),oe}function Le(V,A,I,$){if(typeof I=="object"&&I!==null&&I.type===C&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case b:e:{for(var oe=I.key;A!==null;){if(A.key===oe){if(oe=I.type,oe===C){if(A.tag===7){o(V,A.sibling),$=u(A,I.props.children),$.return=V,V=$;break e}}else if(A.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===H&&pp(oe)===A.type){o(V,A.sibling),$=u(A,I.props),bo($,I),$.return=V,V=$;break e}o(V,A);break}else a(V,A);A=A.sibling}I.type===C?($=Ya(I.props.children,V.mode,$,I.key),$.return=V,V=$):($=ql(I.type,I.key,I.props,null,V.mode,$),bo($,I),$.return=V,V=$)}return p(V);case S:e:{for(oe=I.key;A!==null;){if(A.key===oe)if(A.tag===4&&A.stateNode.containerInfo===I.containerInfo&&A.stateNode.implementation===I.implementation){o(V,A.sibling),$=u(A,I.children||[]),$.return=V,V=$;break e}else{o(V,A);break}else a(V,A);A=A.sibling}$=Hu(I,V.mode,$),$.return=V,V=$}return p(V);case H:return oe=I._init,I=oe(I._payload),Le(V,A,I,$)}if(fe(I))return pe(V,A,I,$);if(Y(I)){if(oe=Y(I),typeof oe!="function")throw Error(r(150));return I=oe.call(I),de(V,A,I,$)}if(typeof I.then=="function")return Le(V,A,us(I),$);if(I.$$typeof===k)return Le(V,A,Ql(V,I),$);ds(V,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,A!==null&&A.tag===6?(o(V,A.sibling),$=u(A,I),$.return=V,V=$):(o(V,A),$=Bu(I,V.mode,$),$.return=V,V=$),p(V)):o(V,A)}return function(V,A,I,$){try{vo=0;var oe=Le(V,A,I,$);return Ki=null,oe}catch(ce){if(ce===lo||ce===Jl)throw ce;var Oe=Ht(29,ce,null,V.mode);return Oe.lanes=$,Oe.return=V,Oe}finally{}}}var Qi=vp(!0),bp=vp(!1),rn=W(null),xn=null;function pa(t){var a=t.alternate;ae(rt,rt.current&1),ae(rn,t),xn===null&&(a===null||Gi.current!==null||a.memoizedState!==null)&&(xn=t)}function yp(t){if(t.tag===22){if(ae(rt,rt.current),ae(rn,t),xn===null){var a=t.alternate;a!==null&&a.memoizedState!==null&&(xn=t)}}else va()}function va(){ae(rt,rt.current),ae(rn,rn.current)}function Wn(t){re(rn),xn===t&&(xn=null),re(rt)}var rt=W(0);function fs(t){for(var a=t;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||cf(o)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function yd(t,a,o,s){a=t.memoizedState,o=o(s,a),o=o==null?a:v({},a,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var xd={enqueueSetState:function(t,a,o){t=t._reactInternals;var s=$t(),u=ga(s);u.payload=a,o!=null&&(u.callback=o),a=ha(t,u,s),a!==null&&(Wt(a,t,s),co(a,t,s))},enqueueReplaceState:function(t,a,o){t=t._reactInternals;var s=$t(),u=ga(s);u.tag=1,u.payload=a,o!=null&&(u.callback=o),a=ha(t,u,s),a!==null&&(Wt(a,t,s),co(a,t,s))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var o=$t(),s=ga(o);s.tag=2,a!=null&&(s.callback=a),a=ha(t,s,o),a!==null&&(Wt(a,t,o),co(a,t,o))}};function xp(t,a,o,s,u,f,p){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,f,p):a.prototype&&a.prototype.isPureReactComponent?!Jr(o,s)||!Jr(u,f):!0}function Sp(t,a,o,s){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,s),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,s),a.state!==t&&xd.enqueueReplaceState(a,a.state,null)}function ai(t,a){var o=a;if("ref"in a){o={};for(var s in a)s!=="ref"&&(o[s]=a[s])}if(t=t.defaultProps){o===a&&(o=v({},o));for(var u in t)o[u]===void 0&&(o[u]=t[u])}return o}var gs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ep(t){gs(t)}function Cp(t){console.error(t)}function Op(t){gs(t)}function hs(t,a){try{var o=t.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(s){setTimeout(function(){throw s})}}function wp(t,a,o){try{var s=t.onCaughtError;s(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Sd(t,a,o){return o=ga(o),o.tag=3,o.payload={element:null},o.callback=function(){hs(t,a)},o}function Rp(t){return t=ga(t),t.tag=3,t}function Tp(t,a,o,s){var u=o.type.getDerivedStateFromError;if(typeof u=="function"){var f=s.value;t.payload=function(){return u(f)},t.callback=function(){wp(a,o,s)}}var p=o.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(t.callback=function(){wp(a,o,s),typeof u!="function"&&(Ca===null?Ca=new Set([this]):Ca.add(this));var y=s.stack;this.componentDidCatch(s.value,{componentStack:y!==null?y:""})})}function ME(t,a,o,s,u){if(o.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(a=o.alternate,a!==null&&io(a,o,u,!0),o=rn.current,o!==null){switch(o.tag){case 13:return xn===null?Wd():o.alternate===null&&Xe===0&&(Xe=3),o.flags&=-257,o.flags|=65536,o.lanes=u,s===Ku?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([s]):a.add(s),qd(t,s,u)),!1;case 22:return o.flags|=65536,s===Ku?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([s])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([s]):o.add(s)),qd(t,s,u)),!1}throw Error(r(435,o.tag))}return qd(t,s,u),Wd(),!1}if(Ne)return a=rn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=u,s!==Fu&&(t=Error(r(422),{cause:s}),ao(en(t,o)))):(s!==Fu&&(a=Error(r(423),{cause:s}),ao(en(a,o))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,s=en(s,o),u=Sd(t.stateNode,s,u),Ju(t,u),Xe!==4&&(Xe=2)),!1;var f=Error(r(520),{cause:s});if(f=en(f,o),wo===null?wo=[f]:wo.push(f),Xe!==4&&(Xe=2),a===null)return!0;s=en(s,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,t=u&-u,o.lanes|=t,t=Sd(o.stateNode,s,t),Ju(o,t),!1;case 1:if(a=o.type,f=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Ca===null||!Ca.has(f))))return o.flags|=65536,u&=-u,o.lanes|=u,u=Rp(u),Tp(u,t,o,s),Ju(o,u),!1}o=o.return}while(o!==null);return!1}var kp=Error(r(461)),st=!1;function gt(t,a,o,s){a.child=t===null?bp(a,null,o,s):Qi(a,t.child,o,s)}function Np(t,a,o,s,u){o=o.render;var f=a.ref;if("ref"in s){var p={};for(var y in s)y!=="ref"&&(p[y]=s[y])}else p=s;return ei(a),s=id(t,a,o,p,f,u),y=rd(),t!==null&&!st?(od(t,a,u),Gn(t,a,u)):(Ne&&y&&Uu(a),a.flags|=1,gt(t,a,s,u),a.child)}function Ap(t,a,o,s,u){if(t===null){var f=o.type;return typeof f=="function"&&!Lu(f)&&f.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=f,_p(t,a,f,s,u)):(t=ql(o.type,null,s,a,a.mode,u),t.ref=a.ref,t.return=a,a.child=t)}if(f=t.child,!Nd(t,u)){var p=f.memoizedProps;if(o=o.compare,o=o!==null?o:Jr,o(p,s)&&t.ref===a.ref)return Gn(t,a,u)}return a.flags|=1,t=Bn(f,s),t.ref=a.ref,t.return=a,a.child=t}function _p(t,a,o,s,u){if(t!==null){var f=t.memoizedProps;if(Jr(f,s)&&t.ref===a.ref)if(st=!1,a.pendingProps=s=f,Nd(t,u))(t.flags&131072)!==0&&(st=!0);else return a.lanes=t.lanes,Gn(t,a,u)}return Ed(t,a,o,s,u)}function zp(t,a,o){var s=a.pendingProps,u=s.children,f=t!==null?t.memoizedState:null;if(s.mode==="hidden"){if((a.flags&128)!==0){if(s=f!==null?f.baseLanes|o:o,t!==null){for(u=a.child=t.child,f=0;u!==null;)f=f|u.lanes|u.childLanes,u=u.sibling;a.childLanes=f&~s}else a.childLanes=0,a.child=null;return Vp(t,a,s,o)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},t!==null&&Zl(a,f!==null?f.cachePool:null),f!==null?_m(a,f):td(),yp(a);else return a.lanes=a.childLanes=536870912,Vp(t,a,f!==null?f.baseLanes|o:o,o)}else f!==null?(Zl(a,f.cachePool),_m(a,f),va(),a.memoizedState=null):(t!==null&&Zl(a,null),td(),va());return gt(t,a,u,o),a.child}function Vp(t,a,o,s){var u=Xu();return u=u===null?null:{parent:it._currentValue,pool:u},a.memoizedState={baseLanes:o,cachePool:u},t!==null&&Zl(a,null),td(),yp(a),t!==null&&io(t,a,s,!0),null}function ms(t,a){var o=a.ref;if(o===null)t!==null&&t.ref!==null&&(a.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(t===null||t.ref!==o)&&(a.flags|=4194816)}}function Ed(t,a,o,s,u){return ei(a),o=id(t,a,o,s,void 0,u),s=rd(),t!==null&&!st?(od(t,a,u),Gn(t,a,u)):(Ne&&s&&Uu(a),a.flags|=1,gt(t,a,o,u),a.child)}function Ip(t,a,o,s,u,f){return ei(a),a.updateQueue=null,o=Vm(a,s,o,u),zm(t),s=rd(),t!==null&&!st?(od(t,a,f),Gn(t,a,f)):(Ne&&s&&Uu(a),a.flags|=1,gt(t,a,o,f),a.child)}function Dp(t,a,o,s,u){if(ei(a),a.stateNode===null){var f=Ui,p=o.contextType;typeof p=="object"&&p!==null&&(f=Ct(p)),f=new o(s,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=xd,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=s,f.state=a.memoizedState,f.refs={},Qu(a),p=o.contextType,f.context=typeof p=="object"&&p!==null?Ct(p):Ui,f.state=a.memoizedState,p=o.getDerivedStateFromProps,typeof p=="function"&&(yd(a,o,p,s),f.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(p=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),p!==f.state&&xd.enqueueReplaceState(f,f.state,null),fo(a,s,f,u),uo(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),s=!0}else if(t===null){f=a.stateNode;var y=a.memoizedProps,R=ai(o,y);f.props=R;var D=f.context,F=o.contextType;p=Ui,typeof F=="object"&&F!==null&&(p=Ct(F));var G=o.getDerivedStateFromProps;F=typeof G=="function"||typeof f.getSnapshotBeforeUpdate=="function",y=a.pendingProps!==y,F||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y||D!==p)&&Sp(a,f,s,p),fa=!1;var M=a.memoizedState;f.state=M,fo(a,s,f,u),uo(),D=a.memoizedState,y||M!==D||fa?(typeof G=="function"&&(yd(a,o,G,s),D=a.memoizedState),(R=fa||xp(a,o,R,s,M,D,p))?(F||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=s,a.memoizedState=D),f.props=s,f.state=D,f.context=p,s=R):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),s=!1)}else{f=a.stateNode,Zu(t,a),p=a.memoizedProps,F=ai(o,p),f.props=F,G=a.pendingProps,M=f.context,D=o.contextType,R=Ui,typeof D=="object"&&D!==null&&(R=Ct(D)),y=o.getDerivedStateFromProps,(D=typeof y=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(p!==G||M!==R)&&Sp(a,f,s,R),fa=!1,M=a.memoizedState,f.state=M,fo(a,s,f,u),uo();var P=a.memoizedState;p!==G||M!==P||fa||t!==null&&t.dependencies!==null&&Kl(t.dependencies)?(typeof y=="function"&&(yd(a,o,y,s),P=a.memoizedState),(F=fa||xp(a,o,F,s,M,P,R)||t!==null&&t.dependencies!==null&&Kl(t.dependencies))?(D||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(s,P,R),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(s,P,R)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||p===t.memoizedProps&&M===t.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&M===t.memoizedState||(a.flags|=1024),a.memoizedProps=s,a.memoizedState=P),f.props=s,f.state=P,f.context=R,s=F):(typeof f.componentDidUpdate!="function"||p===t.memoizedProps&&M===t.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&M===t.memoizedState||(a.flags|=1024),s=!1)}return f=s,ms(t,a),s=(a.flags&128)!==0,f||s?(f=a.stateNode,o=s&&typeof o.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,t!==null&&s?(a.child=Qi(a,t.child,null,u),a.child=Qi(a,null,o,u)):gt(t,a,o,u),a.memoizedState=f.state,t=a.child):t=Gn(t,a,u),t}function Mp(t,a,o,s){return no(),a.flags|=256,gt(t,a,o,s),a.child}var Cd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Od(t){return{baseLanes:t,cachePool:Cm()}}function wd(t,a,o){return t=t!==null?t.childLanes&~o:0,a&&(t|=on),t}function Pp(t,a,o){var s=a.pendingProps,u=!1,f=(a.flags&128)!==0,p;if((p=f)||(p=t!==null&&t.memoizedState===null?!1:(rt.current&2)!==0),p&&(u=!0,a.flags&=-129),p=(a.flags&32)!==0,a.flags&=-33,t===null){if(Ne){if(u?pa(a):va(),Ne){var y=Ye,R;if(R=y){e:{for(R=y,y=yn;R.nodeType!==8;){if(!y){y=null;break e}if(R=fn(R.nextSibling),R===null){y=null;break e}}y=R}y!==null?(a.memoizedState={dehydrated:y,treeContext:Xa!==null?{id:Hn,overflow:Un}:null,retryLane:536870912,hydrationErrors:null},R=Ht(18,null,null,0),R.stateNode=y,R.return=a,a.child=R,Tt=a,Ye=null,R=!0):R=!1}R||Za(a)}if(y=a.memoizedState,y!==null&&(y=y.dehydrated,y!==null))return cf(y)?a.lanes=32:a.lanes=536870912,null;Wn(a)}return y=s.children,s=s.fallback,u?(va(),u=a.mode,y=ps({mode:"hidden",children:y},u),s=Ya(s,u,o,null),y.return=a,s.return=a,y.sibling=s,a.child=y,u=a.child,u.memoizedState=Od(o),u.childLanes=wd(t,p,o),a.memoizedState=Cd,s):(pa(a),Rd(a,y))}if(R=t.memoizedState,R!==null&&(y=R.dehydrated,y!==null)){if(f)a.flags&256?(pa(a),a.flags&=-257,a=Td(t,a,o)):a.memoizedState!==null?(va(),a.child=t.child,a.flags|=128,a=null):(va(),u=s.fallback,y=a.mode,s=ps({mode:"visible",children:s.children},y),u=Ya(u,y,o,null),u.flags|=2,s.return=a,u.return=a,s.sibling=u,a.child=s,Qi(a,t.child,null,o),s=a.child,s.memoizedState=Od(o),s.childLanes=wd(t,p,o),a.memoizedState=Cd,a=u);else if(pa(a),cf(y)){if(p=y.nextSibling&&y.nextSibling.dataset,p)var D=p.dgst;p=D,s=Error(r(419)),s.stack="",s.digest=p,ao({value:s,source:null,stack:null}),a=Td(t,a,o)}else if(st||io(t,a,o,!1),p=(o&t.childLanes)!==0,st||p){if(p=je,p!==null&&(s=o&-o,s=(s&42)!==0?1:cu(s),s=(s&(p.suspendedLanes|o))!==0?0:s,s!==0&&s!==R.retryLane))throw R.retryLane=s,Hi(t,s),Wt(p,t,s),kp;y.data==="$?"||Wd(),a=Td(t,a,o)}else y.data==="$?"?(a.flags|=192,a.child=t.child,a=null):(t=R.treeContext,Ye=fn(y.nextSibling),Tt=a,Ne=!0,Qa=null,yn=!1,t!==null&&(nn[an++]=Hn,nn[an++]=Un,nn[an++]=Xa,Hn=t.id,Un=t.overflow,Xa=a),a=Rd(a,s.children),a.flags|=4096);return a}return u?(va(),u=s.fallback,y=a.mode,R=t.child,D=R.sibling,s=Bn(R,{mode:"hidden",children:s.children}),s.subtreeFlags=R.subtreeFlags&65011712,D!==null?u=Bn(D,u):(u=Ya(u,y,o,null),u.flags|=2),u.return=a,s.return=a,s.sibling=u,a.child=s,s=u,u=a.child,y=t.child.memoizedState,y===null?y=Od(o):(R=y.cachePool,R!==null?(D=it._currentValue,R=R.parent!==D?{parent:D,pool:D}:R):R=Cm(),y={baseLanes:y.baseLanes|o,cachePool:R}),u.memoizedState=y,u.childLanes=wd(t,p,o),a.memoizedState=Cd,s):(pa(a),o=t.child,t=o.sibling,o=Bn(o,{mode:"visible",children:s.children}),o.return=a,o.sibling=null,t!==null&&(p=a.deletions,p===null?(a.deletions=[t],a.flags|=16):p.push(t)),a.child=o,a.memoizedState=null,o)}function Rd(t,a){return a=ps({mode:"visible",children:a},t.mode),a.return=t,t.child=a}function ps(t,a){return t=Ht(22,t,null,a),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Td(t,a,o){return Qi(a,t.child,null,o),t=Rd(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function Lp(t,a,o){t.lanes|=a;var s=t.alternate;s!==null&&(s.lanes|=a),Wu(t.return,a,o)}function kd(t,a,o,s,u){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:u}:(f.isBackwards=a,f.rendering=null,f.renderingStartTime=0,f.last=s,f.tail=o,f.tailMode=u)}function Bp(t,a,o){var s=a.pendingProps,u=s.revealOrder,f=s.tail;if(gt(t,a,s.children,o),s=rt.current,(s&2)!==0)s=s&1|2,a.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Lp(t,o,a);else if(t.tag===19)Lp(t,o,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}switch(ae(rt,s),u){case"forwards":for(o=a.child,u=null;o!==null;)t=o.alternate,t!==null&&fs(t)===null&&(u=o),o=o.sibling;o=u,o===null?(u=a.child,a.child=null):(u=o.sibling,o.sibling=null),kd(a,!1,u,o,f);break;case"backwards":for(o=null,u=a.child,a.child=null;u!==null;){if(t=u.alternate,t!==null&&fs(t)===null){a.child=u;break}t=u.sibling,u.sibling=o,o=u,u=t}kd(a,!0,o,null,f);break;case"together":kd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Gn(t,a,o){if(t!==null&&(a.dependencies=t.dependencies),Ea|=a.lanes,(o&a.childLanes)===0)if(t!==null){if(io(t,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(t!==null&&a.child!==t.child)throw Error(r(153));if(a.child!==null){for(t=a.child,o=Bn(t,t.pendingProps),a.child=o,o.return=a;t.sibling!==null;)t=t.sibling,o=o.sibling=Bn(t,t.pendingProps),o.return=a;o.sibling=null}return a.child}function Nd(t,a){return(t.lanes&a)!==0?!0:(t=t.dependencies,!!(t!==null&&Kl(t)))}function PE(t,a,o){switch(a.tag){case 3:Q(a,a.stateNode.containerInfo),da(a,it,t.memoizedState.cache),no();break;case 27:case 5:Ce(a);break;case 4:Q(a,a.stateNode.containerInfo);break;case 10:da(a,a.type,a.memoizedProps.value);break;case 13:var s=a.memoizedState;if(s!==null)return s.dehydrated!==null?(pa(a),a.flags|=128,null):(o&a.child.childLanes)!==0?Pp(t,a,o):(pa(a),t=Gn(t,a,o),t!==null?t.sibling:null);pa(a);break;case 19:var u=(t.flags&128)!==0;if(s=(o&a.childLanes)!==0,s||(io(t,a,o,!1),s=(o&a.childLanes)!==0),u){if(s)return Bp(t,a,o);a.flags|=128}if(u=a.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ae(rt,rt.current),s)break;return null;case 22:case 23:return a.lanes=0,zp(t,a,o);case 24:da(a,it,t.memoizedState.cache)}return Gn(t,a,o)}function Hp(t,a,o){if(t!==null)if(t.memoizedProps!==a.pendingProps)st=!0;else{if(!Nd(t,o)&&(a.flags&128)===0)return st=!1,PE(t,a,o);st=(t.flags&131072)!==0}else st=!1,Ne&&(a.flags&1048576)!==0&&pm(a,Xl,a.index);switch(a.lanes=0,a.tag){case 16:e:{t=a.pendingProps;var s=a.elementType,u=s._init;if(s=u(s._payload),a.type=s,typeof s=="function")Lu(s)?(t=ai(s,t),a.tag=1,a=Dp(null,a,s,t,o)):(a.tag=0,a=Ed(null,a,s,t,o));else{if(s!=null){if(u=s.$$typeof,u===B){a.tag=11,a=Np(null,a,s,t,o);break e}else if(u===j){a.tag=14,a=Ap(null,a,s,t,o);break e}}throw a=ie(s)||s,Error(r(306,a,""))}}return a;case 0:return Ed(t,a,a.type,a.pendingProps,o);case 1:return s=a.type,u=ai(s,a.pendingProps),Dp(t,a,s,u,o);case 3:e:{if(Q(a,a.stateNode.containerInfo),t===null)throw Error(r(387));s=a.pendingProps;var f=a.memoizedState;u=f.element,Zu(t,a),fo(a,s,null,o);var p=a.memoizedState;if(s=p.cache,da(a,it,s),s!==f.cache&&Gu(a,[it],o,!0),uo(),s=p.element,f.isDehydrated)if(f={element:s,isDehydrated:!1,cache:p.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=Mp(t,a,s,o);break e}else if(s!==u){u=en(Error(r(424)),a),ao(u),a=Mp(t,a,s,o);break e}else{switch(t=a.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ye=fn(t.firstChild),Tt=a,Ne=!0,Qa=null,yn=!0,o=bp(a,null,s,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(no(),s===u){a=Gn(t,a,o);break e}gt(t,a,s,o)}a=a.child}return a;case 26:return ms(t,a),t===null?(o=$v(a.type,null,a.pendingProps,null))?a.memoizedState=o:Ne||(o=a.type,t=a.pendingProps,s=As(be.current).createElement(o),s[Et]=a,s[kt]=t,mt(s,o,t),lt(s),a.stateNode=s):a.memoizedState=$v(a.type,t.memoizedProps,a.pendingProps,t.memoizedState),null;case 27:return Ce(a),t===null&&Ne&&(s=a.stateNode=Uv(a.type,a.pendingProps,be.current),Tt=a,yn=!0,u=Ye,Ra(a.type)?(uf=u,Ye=fn(s.firstChild)):Ye=u),gt(t,a,a.pendingProps.children,o),ms(t,a),t===null&&(a.flags|=4194304),a.child;case 5:return t===null&&Ne&&((u=s=Ye)&&(s=dC(s,a.type,a.pendingProps,yn),s!==null?(a.stateNode=s,Tt=a,Ye=fn(s.firstChild),yn=!1,u=!0):u=!1),u||Za(a)),Ce(a),u=a.type,f=a.pendingProps,p=t!==null?t.memoizedProps:null,s=f.children,of(u,f)?s=null:p!==null&&of(u,p)&&(a.flags|=32),a.memoizedState!==null&&(u=id(t,a,NE,null,null,o),Io._currentValue=u),ms(t,a),gt(t,a,s,o),a.child;case 6:return t===null&&Ne&&((t=o=Ye)&&(o=fC(o,a.pendingProps,yn),o!==null?(a.stateNode=o,Tt=a,Ye=null,t=!0):t=!1),t||Za(a)),null;case 13:return Pp(t,a,o);case 4:return Q(a,a.stateNode.containerInfo),s=a.pendingProps,t===null?a.child=Qi(a,null,s,o):gt(t,a,s,o),a.child;case 11:return Np(t,a,a.type,a.pendingProps,o);case 7:return gt(t,a,a.pendingProps,o),a.child;case 8:return gt(t,a,a.pendingProps.children,o),a.child;case 12:return gt(t,a,a.pendingProps.children,o),a.child;case 10:return s=a.pendingProps,da(a,a.type,s.value),gt(t,a,s.children,o),a.child;case 9:return u=a.type._context,s=a.pendingProps.children,ei(a),u=Ct(u),s=s(u),a.flags|=1,gt(t,a,s,o),a.child;case 14:return Ap(t,a,a.type,a.pendingProps,o);case 15:return _p(t,a,a.type,a.pendingProps,o);case 19:return Bp(t,a,o);case 31:return s=a.pendingProps,o=a.mode,s={mode:s.mode,children:s.children},t===null?(o=ps(s,o),o.ref=a.ref,a.child=o,o.return=a,a=o):(o=Bn(t.child,s),o.ref=a.ref,a.child=o,o.return=a,a=o),a;case 22:return zp(t,a,o);case 24:return ei(a),s=Ct(it),t===null?(u=Xu(),u===null&&(u=je,f=qu(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=o),u=f),a.memoizedState={parent:s,cache:u},Qu(a),da(a,it,u)):((t.lanes&o)!==0&&(Zu(t,a),fo(a,null,null,o),uo()),u=t.memoizedState,f=a.memoizedState,u.parent!==s?(u={parent:s,cache:s},a.memoizedState=u,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=u),da(a,it,s)):(s=f.cache,da(a,it,s),s!==u.cache&&Gu(a,[it],o,!0))),gt(t,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function qn(t){t.flags|=4}function Up(t,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Xv(a)){if(a=rn.current,a!==null&&((Te&4194048)===Te?xn!==null:(Te&62914560)!==Te&&(Te&536870912)===0||a!==xn))throw so=Ku,Om;t.flags|=8192}}function vs(t,a){a!==null&&(t.flags|=4),t.flags&16384&&(a=t.tag!==22?yh():536870912,t.lanes|=a,tr|=a)}function yo(t,a){if(!Ne)switch(t.tailMode){case"hidden":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?t.tail=null:o.sibling=null;break;case"collapsed":o=t.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function Ge(t){var a=t.alternate!==null&&t.alternate.child===t.child,o=0,s=0;if(a)for(var u=t.child;u!==null;)o|=u.lanes|u.childLanes,s|=u.subtreeFlags&65011712,s|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)o|=u.lanes|u.childLanes,s|=u.subtreeFlags,s|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=s,t.childLanes=o,a}function LE(t,a,o){var s=a.pendingProps;switch(ju(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(a),null;case 1:return Ge(a),null;case 3:return o=a.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),Fn(it),te(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(t===null||t.child===null)&&(to(a)?qn(a):t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,ym())),Ge(a),null;case 26:return o=a.memoizedState,t===null?(qn(a),o!==null?(Ge(a),Up(a,o)):(Ge(a),a.flags&=-16777217)):o?o!==t.memoizedState?(qn(a),Ge(a),Up(a,o)):(Ge(a),a.flags&=-16777217):(t.memoizedProps!==s&&qn(a),Ge(a),a.flags&=-16777217),null;case 27:ze(a),o=be.current;var u=a.type;if(t!==null&&a.stateNode!=null)t.memoizedProps!==s&&qn(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return Ge(a),null}t=se.current,to(a)?vm(a):(t=Uv(u,s,o),a.stateNode=t,qn(a))}return Ge(a),null;case 5:if(ze(a),o=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==s&&qn(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return Ge(a),null}if(t=se.current,to(a))vm(a);else{switch(u=As(be.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":t=u.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof s.is=="string"?u.createElement("select",{is:s.is}):u.createElement("select"),s.multiple?t.multiple=!0:s.size&&(t.size=s.size);break;default:t=typeof s.is=="string"?u.createElement(o,{is:s.is}):u.createElement(o)}}t[Et]=a,t[kt]=s;e:for(u=a.child;u!==null;){if(u.tag===5||u.tag===6)t.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===a)break e;for(;u.sibling===null;){if(u.return===null||u.return===a)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}a.stateNode=t;e:switch(mt(t,o,s),o){case"button":case"input":case"select":case"textarea":t=!!s.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&qn(a)}}return Ge(a),a.flags&=-16777217,null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==s&&qn(a);else{if(typeof s!="string"&&a.stateNode===null)throw Error(r(166));if(t=be.current,to(a)){if(t=a.stateNode,o=a.memoizedProps,s=null,u=Tt,u!==null)switch(u.tag){case 27:case 5:s=u.memoizedProps}t[Et]=a,t=!!(t.nodeValue===o||s!==null&&s.suppressHydrationWarning===!0||Iv(t.nodeValue,o)),t||Za(a)}else t=As(t).createTextNode(s),t[Et]=a,a.stateNode=t}return Ge(a),null;case 13:if(s=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=to(a),s!==null&&s.dehydrated!==null){if(t===null){if(!u)throw Error(r(318));if(u=a.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[Et]=a}else no(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ge(a),u=!1}else u=ym(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return a.flags&256?(Wn(a),a):(Wn(a),null)}if(Wn(a),(a.flags&128)!==0)return a.lanes=o,a;if(o=s!==null,t=t!==null&&t.memoizedState!==null,o){s=a.child,u=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(u=s.alternate.memoizedState.cachePool.pool);var f=null;s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(f=s.memoizedState.cachePool.pool),f!==u&&(s.flags|=2048)}return o!==t&&o&&(a.child.flags|=8192),vs(a,a.updateQueue),Ge(a),null;case 4:return te(),t===null&&ef(a.stateNode.containerInfo),Ge(a),null;case 10:return Fn(a.type),Ge(a),null;case 19:if(re(rt),u=a.memoizedState,u===null)return Ge(a),null;if(s=(a.flags&128)!==0,f=u.rendering,f===null)if(s)yo(u,!1);else{if(Xe!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(f=fs(t),f!==null){for(a.flags|=128,yo(u,!1),t=f.updateQueue,a.updateQueue=t,vs(a,t),a.subtreeFlags=0,t=o,o=a.child;o!==null;)mm(o,t),o=o.sibling;return ae(rt,rt.current&1|2),a.child}t=t.sibling}u.tail!==null&&Qt()>xs&&(a.flags|=128,s=!0,yo(u,!1),a.lanes=4194304)}else{if(!s)if(t=fs(f),t!==null){if(a.flags|=128,s=!0,t=t.updateQueue,a.updateQueue=t,vs(a,t),yo(u,!0),u.tail===null&&u.tailMode==="hidden"&&!f.alternate&&!Ne)return Ge(a),null}else 2*Qt()-u.renderingStartTime>xs&&o!==536870912&&(a.flags|=128,s=!0,yo(u,!1),a.lanes=4194304);u.isBackwards?(f.sibling=a.child,a.child=f):(t=u.last,t!==null?t.sibling=f:a.child=f,u.last=f)}return u.tail!==null?(a=u.tail,u.rendering=a,u.tail=a.sibling,u.renderingStartTime=Qt(),a.sibling=null,t=rt.current,ae(rt,s?t&1|2:t&1),a):(Ge(a),null);case 22:case 23:return Wn(a),nd(),s=a.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(a.flags|=8192):s&&(a.flags|=8192),s?(o&536870912)!==0&&(a.flags&128)===0&&(Ge(a),a.subtreeFlags&6&&(a.flags|=8192)):Ge(a),o=a.updateQueue,o!==null&&vs(a,o.retryQueue),o=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==o&&(a.flags|=2048),t!==null&&re(ti),null;case 24:return o=null,t!==null&&(o=t.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Fn(it),Ge(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function BE(t,a){switch(ju(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return Fn(it),te(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return ze(a),null;case 13:if(Wn(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(r(340));no()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return re(rt),null;case 4:return te(),null;case 10:return Fn(a.type),null;case 22:case 23:return Wn(a),nd(),t!==null&&re(ti),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return Fn(it),null;case 25:return null;default:return null}}function jp(t,a){switch(ju(a),a.tag){case 3:Fn(it),te();break;case 26:case 27:case 5:ze(a);break;case 4:te();break;case 13:Wn(a);break;case 19:re(rt);break;case 10:Fn(a.type);break;case 22:case 23:Wn(a),nd(),t!==null&&re(ti);break;case 24:Fn(it)}}function xo(t,a){try{var o=a.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var u=s.next;o=u;do{if((o.tag&t)===t){s=void 0;var f=o.create,p=o.inst;s=f(),p.destroy=s}o=o.next}while(o!==u)}}catch(y){Be(a,a.return,y)}}function ba(t,a,o){try{var s=a.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var f=u.next;s=f;do{if((s.tag&t)===t){var p=s.inst,y=p.destroy;if(y!==void 0){p.destroy=void 0,u=a;var R=o,D=y;try{D()}catch(F){Be(u,R,F)}}}s=s.next}while(s!==f)}}catch(F){Be(a,a.return,F)}}function Fp(t){var a=t.updateQueue;if(a!==null){var o=t.stateNode;try{Am(a,o)}catch(s){Be(t,t.return,s)}}}function $p(t,a,o){o.props=ai(t.type,t.memoizedProps),o.state=t.memoizedState;try{o.componentWillUnmount()}catch(s){Be(t,a,s)}}function So(t,a){try{var o=t.ref;if(o!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof o=="function"?t.refCleanup=o(s):o.current=s}}catch(u){Be(t,a,u)}}function Sn(t,a){var o=t.ref,s=t.refCleanup;if(o!==null)if(typeof s=="function")try{s()}catch(u){Be(t,a,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(u){Be(t,a,u)}else o.current=null}function Wp(t){var a=t.type,o=t.memoizedProps,s=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":o.autoFocus&&s.focus();break e;case"img":o.src?s.src=o.src:o.srcSet&&(s.srcset=o.srcSet)}}catch(u){Be(t,t.return,u)}}function Ad(t,a,o){try{var s=t.stateNode;oC(s,t.type,o,a),s[kt]=a}catch(u){Be(t,t.return,u)}}function Gp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ra(t.type)||t.tag===4}function _d(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Gp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ra(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function zd(t,a,o){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(t,a):(a=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,a.appendChild(t),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=Ns));else if(s!==4&&(s===27&&Ra(t.type)&&(o=t.stateNode,a=null),t=t.child,t!==null))for(zd(t,a,o),t=t.sibling;t!==null;)zd(t,a,o),t=t.sibling}function bs(t,a,o){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?o.insertBefore(t,a):o.appendChild(t);else if(s!==4&&(s===27&&Ra(t.type)&&(o=t.stateNode),t=t.child,t!==null))for(bs(t,a,o),t=t.sibling;t!==null;)bs(t,a,o),t=t.sibling}function qp(t){var a=t.stateNode,o=t.memoizedProps;try{for(var s=t.type,u=a.attributes;u.length;)a.removeAttributeNode(u[0]);mt(a,s,o),a[Et]=t,a[kt]=o}catch(f){Be(t,t.return,f)}}var Yn=!1,Ze=!1,Vd=!1,Yp=typeof WeakSet=="function"?WeakSet:Set,ct=null;function HE(t,a){if(t=t.containerInfo,af=Ms,t=rm(t),_u(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var u=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{o.nodeType,f.nodeType}catch{o=null;break e}var p=0,y=-1,R=-1,D=0,F=0,G=t,M=null;t:for(;;){for(var P;G!==o||u!==0&&G.nodeType!==3||(y=p+u),G!==f||s!==0&&G.nodeType!==3||(R=p+s),G.nodeType===3&&(p+=G.nodeValue.length),(P=G.firstChild)!==null;)M=G,G=P;for(;;){if(G===t)break t;if(M===o&&++D===u&&(y=p),M===f&&++F===s&&(R=p),(P=G.nextSibling)!==null)break;G=M,M=G.parentNode}G=P}o=y===-1||R===-1?null:{start:y,end:R}}else o=null}o=o||{start:0,end:0}}else o=null;for(rf={focusedElem:t,selectionRange:o},Ms=!1,ct=a;ct!==null;)if(a=ct,t=a.child,(a.subtreeFlags&1024)!==0&&t!==null)t.return=a,ct=t;else for(;ct!==null;){switch(a=ct,f=a.alternate,t=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,o=a,u=f.memoizedProps,f=f.memoizedState,s=o.stateNode;try{var pe=ai(o.type,u,o.elementType===o.type);t=s.getSnapshotBeforeUpdate(pe,f),s.__reactInternalSnapshotBeforeUpdate=t}catch(de){Be(o,o.return,de)}}break;case 3:if((t&1024)!==0){if(t=a.stateNode.containerInfo,o=t.nodeType,o===9)sf(t);else if(o===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":sf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=a.sibling,t!==null){t.return=a.return,ct=t;break}ct=a.return}}function Xp(t,a,o){var s=o.flags;switch(o.tag){case 0:case 11:case 15:ya(t,o),s&4&&xo(5,o);break;case 1:if(ya(t,o),s&4)if(t=o.stateNode,a===null)try{t.componentDidMount()}catch(p){Be(o,o.return,p)}else{var u=ai(o.type,a.memoizedProps);a=a.memoizedState;try{t.componentDidUpdate(u,a,t.__reactInternalSnapshotBeforeUpdate)}catch(p){Be(o,o.return,p)}}s&64&&Fp(o),s&512&&So(o,o.return);break;case 3:if(ya(t,o),s&64&&(t=o.updateQueue,t!==null)){if(a=null,o.child!==null)switch(o.child.tag){case 27:case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}try{Am(t,a)}catch(p){Be(o,o.return,p)}}break;case 27:a===null&&s&4&&qp(o);case 26:case 5:ya(t,o),a===null&&s&4&&Wp(o),s&512&&So(o,o.return);break;case 12:ya(t,o);break;case 13:ya(t,o),s&4&&Zp(t,o),s&64&&(t=o.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(o=XE.bind(null,o),gC(t,o))));break;case 22:if(s=o.memoizedState!==null||Yn,!s){a=a!==null&&a.memoizedState!==null||Ze,u=Yn;var f=Ze;Yn=s,(Ze=a)&&!f?xa(t,o,(o.subtreeFlags&8772)!==0):ya(t,o),Yn=u,Ze=f}break;case 30:break;default:ya(t,o)}}function Kp(t){var a=t.alternate;a!==null&&(t.alternate=null,Kp(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&fu(a)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var $e=null,_t=!1;function Xn(t,a,o){for(o=o.child;o!==null;)Qp(t,a,o),o=o.sibling}function Qp(t,a,o){if(Pt&&typeof Pt.onCommitFiberUnmount=="function")try{Pt.onCommitFiberUnmount(Ur,o)}catch{}switch(o.tag){case 26:Ze||Sn(o,a),Xn(t,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Ze||Sn(o,a);var s=$e,u=_t;Ra(o.type)&&($e=o.stateNode,_t=!1),Xn(t,a,o),Ao(o.stateNode),$e=s,_t=u;break;case 5:Ze||Sn(o,a);case 6:if(s=$e,u=_t,$e=null,Xn(t,a,o),$e=s,_t=u,$e!==null)if(_t)try{($e.nodeType===9?$e.body:$e.nodeName==="HTML"?$e.ownerDocument.body:$e).removeChild(o.stateNode)}catch(f){Be(o,a,f)}else try{$e.removeChild(o.stateNode)}catch(f){Be(o,a,f)}break;case 18:$e!==null&&(_t?(t=$e,Bv(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,o.stateNode),Lo(t)):Bv($e,o.stateNode));break;case 4:s=$e,u=_t,$e=o.stateNode.containerInfo,_t=!0,Xn(t,a,o),$e=s,_t=u;break;case 0:case 11:case 14:case 15:Ze||ba(2,o,a),Ze||ba(4,o,a),Xn(t,a,o);break;case 1:Ze||(Sn(o,a),s=o.stateNode,typeof s.componentWillUnmount=="function"&&$p(o,a,s)),Xn(t,a,o);break;case 21:Xn(t,a,o);break;case 22:Ze=(s=Ze)||o.memoizedState!==null,Xn(t,a,o),Ze=s;break;default:Xn(t,a,o)}}function Zp(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Lo(t)}catch(o){Be(a,a.return,o)}}function UE(t){switch(t.tag){case 13:case 19:var a=t.stateNode;return a===null&&(a=t.stateNode=new Yp),a;case 22:return t=t.stateNode,a=t._retryCache,a===null&&(a=t._retryCache=new Yp),a;default:throw Error(r(435,t.tag))}}function Id(t,a){var o=UE(t);a.forEach(function(s){var u=KE.bind(null,t,s);o.has(s)||(o.add(s),s.then(u,u))})}function Ut(t,a){var o=a.deletions;if(o!==null)for(var s=0;s<o.length;s++){var u=o[s],f=t,p=a,y=p;e:for(;y!==null;){switch(y.tag){case 27:if(Ra(y.type)){$e=y.stateNode,_t=!1;break e}break;case 5:$e=y.stateNode,_t=!1;break e;case 3:case 4:$e=y.stateNode.containerInfo,_t=!0;break e}y=y.return}if($e===null)throw Error(r(160));Qp(f,p,u),$e=null,_t=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Jp(a,t),a=a.sibling}var dn=null;function Jp(t,a){var o=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ut(a,t),jt(t),s&4&&(ba(3,t,t.return),xo(3,t),ba(5,t,t.return));break;case 1:Ut(a,t),jt(t),s&512&&(Ze||o===null||Sn(o,o.return)),s&64&&Yn&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(o=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=o===null?s:o.concat(s))));break;case 26:var u=dn;if(Ut(a,t),jt(t),s&512&&(Ze||o===null||Sn(o,o.return)),s&4){var f=o!==null?o.memoizedState:null;if(s=t.memoizedState,o===null)if(s===null)if(t.stateNode===null){e:{s=t.type,o=t.memoizedProps,u=u.ownerDocument||u;t:switch(s){case"title":f=u.getElementsByTagName("title")[0],(!f||f[$r]||f[Et]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(s),u.head.insertBefore(f,u.querySelector("head > title"))),mt(f,s,o),f[Et]=t,lt(f),s=f;break e;case"link":var p=qv("link","href",u).get(s+(o.href||""));if(p){for(var y=0;y<p.length;y++)if(f=p[y],f.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&f.getAttribute("rel")===(o.rel==null?null:o.rel)&&f.getAttribute("title")===(o.title==null?null:o.title)&&f.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){p.splice(y,1);break t}}f=u.createElement(s),mt(f,s,o),u.head.appendChild(f);break;case"meta":if(p=qv("meta","content",u).get(s+(o.content||""))){for(y=0;y<p.length;y++)if(f=p[y],f.getAttribute("content")===(o.content==null?null:""+o.content)&&f.getAttribute("name")===(o.name==null?null:o.name)&&f.getAttribute("property")===(o.property==null?null:o.property)&&f.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&f.getAttribute("charset")===(o.charSet==null?null:o.charSet)){p.splice(y,1);break t}}f=u.createElement(s),mt(f,s,o),u.head.appendChild(f);break;default:throw Error(r(468,s))}f[Et]=t,lt(f),s=f}t.stateNode=s}else Yv(u,t.type,t.stateNode);else t.stateNode=Gv(u,s,t.memoizedProps);else f!==s?(f===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):f.count--,s===null?Yv(u,t.type,t.stateNode):Gv(u,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Ad(t,t.memoizedProps,o.memoizedProps)}break;case 27:Ut(a,t),jt(t),s&512&&(Ze||o===null||Sn(o,o.return)),o!==null&&s&4&&Ad(t,t.memoizedProps,o.memoizedProps);break;case 5:if(Ut(a,t),jt(t),s&512&&(Ze||o===null||Sn(o,o.return)),t.flags&32){u=t.stateNode;try{Vi(u,"")}catch(P){Be(t,t.return,P)}}s&4&&t.stateNode!=null&&(u=t.memoizedProps,Ad(t,u,o!==null?o.memoizedProps:u)),s&1024&&(Vd=!0);break;case 6:if(Ut(a,t),jt(t),s&4){if(t.stateNode===null)throw Error(r(162));s=t.memoizedProps,o=t.stateNode;try{o.nodeValue=s}catch(P){Be(t,t.return,P)}}break;case 3:if(Vs=null,u=dn,dn=_s(a.containerInfo),Ut(a,t),dn=u,jt(t),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Lo(a.containerInfo)}catch(P){Be(t,t.return,P)}Vd&&(Vd=!1,ev(t));break;case 4:s=dn,dn=_s(t.stateNode.containerInfo),Ut(a,t),jt(t),dn=s;break;case 12:Ut(a,t),jt(t);break;case 13:Ut(a,t),jt(t),t.child.flags&8192&&t.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Hd=Qt()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Id(t,s)));break;case 22:u=t.memoizedState!==null;var R=o!==null&&o.memoizedState!==null,D=Yn,F=Ze;if(Yn=D||u,Ze=F||R,Ut(a,t),Ze=F,Yn=D,jt(t),s&8192)e:for(a=t.stateNode,a._visibility=u?a._visibility&-2:a._visibility|1,u&&(o===null||R||Yn||Ze||ii(t)),o=null,a=t;;){if(a.tag===5||a.tag===26){if(o===null){R=o=a;try{if(f=R.stateNode,u)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{y=R.stateNode;var G=R.memoizedProps.style,M=G!=null&&G.hasOwnProperty("display")?G.display:null;y.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(P){Be(R,R.return,P)}}}else if(a.tag===6){if(o===null){R=a;try{R.stateNode.nodeValue=u?"":R.memoizedProps}catch(P){Be(R,R.return,P)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===t)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}s&4&&(s=t.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,Id(t,o))));break;case 19:Ut(a,t),jt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Id(t,s)));break;case 30:break;case 21:break;default:Ut(a,t),jt(t)}}function jt(t){var a=t.flags;if(a&2){try{for(var o,s=t.return;s!==null;){if(Gp(s)){o=s;break}s=s.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var u=o.stateNode,f=_d(t);bs(t,f,u);break;case 5:var p=o.stateNode;o.flags&32&&(Vi(p,""),o.flags&=-33);var y=_d(t);bs(t,y,p);break;case 3:case 4:var R=o.stateNode.containerInfo,D=_d(t);zd(t,D,R);break;default:throw Error(r(161))}}catch(F){Be(t,t.return,F)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function ev(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var a=t;ev(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),t=t.sibling}}function ya(t,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Xp(t,a.alternate,a),a=a.sibling}function ii(t){for(t=t.child;t!==null;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:ba(4,a,a.return),ii(a);break;case 1:Sn(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&$p(a,a.return,o),ii(a);break;case 27:Ao(a.stateNode);case 26:case 5:Sn(a,a.return),ii(a);break;case 22:a.memoizedState===null&&ii(a);break;case 30:ii(a);break;default:ii(a)}t=t.sibling}}function xa(t,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var s=a.alternate,u=t,f=a,p=f.flags;switch(f.tag){case 0:case 11:case 15:xa(u,f,o),xo(4,f);break;case 1:if(xa(u,f,o),s=f,u=s.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(D){Be(s,s.return,D)}if(s=f,u=s.updateQueue,u!==null){var y=s.stateNode;try{var R=u.shared.hiddenCallbacks;if(R!==null)for(u.shared.hiddenCallbacks=null,u=0;u<R.length;u++)Nm(R[u],y)}catch(D){Be(s,s.return,D)}}o&&p&64&&Fp(f),So(f,f.return);break;case 27:qp(f);case 26:case 5:xa(u,f,o),o&&s===null&&p&4&&Wp(f),So(f,f.return);break;case 12:xa(u,f,o);break;case 13:xa(u,f,o),o&&p&4&&Zp(u,f);break;case 22:f.memoizedState===null&&xa(u,f,o),So(f,f.return);break;case 30:break;default:xa(u,f,o)}a=a.sibling}}function Dd(t,a){var o=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),t=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(t=a.memoizedState.cachePool.pool),t!==o&&(t!=null&&t.refCount++,o!=null&&ro(o))}function Md(t,a){t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&ro(t))}function En(t,a,o,s){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)tv(t,a,o,s),a=a.sibling}function tv(t,a,o,s){var u=a.flags;switch(a.tag){case 0:case 11:case 15:En(t,a,o,s),u&2048&&xo(9,a);break;case 1:En(t,a,o,s);break;case 3:En(t,a,o,s),u&2048&&(t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&ro(t)));break;case 12:if(u&2048){En(t,a,o,s),t=a.stateNode;try{var f=a.memoizedProps,p=f.id,y=f.onPostCommit;typeof y=="function"&&y(p,a.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){Be(a,a.return,R)}}else En(t,a,o,s);break;case 13:En(t,a,o,s);break;case 23:break;case 22:f=a.stateNode,p=a.alternate,a.memoizedState!==null?f._visibility&2?En(t,a,o,s):Eo(t,a):f._visibility&2?En(t,a,o,s):(f._visibility|=2,Zi(t,a,o,s,(a.subtreeFlags&10256)!==0)),u&2048&&Dd(p,a);break;case 24:En(t,a,o,s),u&2048&&Md(a.alternate,a);break;default:En(t,a,o,s)}}function Zi(t,a,o,s,u){for(u=u&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var f=t,p=a,y=o,R=s,D=p.flags;switch(p.tag){case 0:case 11:case 15:Zi(f,p,y,R,u),xo(8,p);break;case 23:break;case 22:var F=p.stateNode;p.memoizedState!==null?F._visibility&2?Zi(f,p,y,R,u):Eo(f,p):(F._visibility|=2,Zi(f,p,y,R,u)),u&&D&2048&&Dd(p.alternate,p);break;case 24:Zi(f,p,y,R,u),u&&D&2048&&Md(p.alternate,p);break;default:Zi(f,p,y,R,u)}a=a.sibling}}function Eo(t,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=t,s=a,u=s.flags;switch(s.tag){case 22:Eo(o,s),u&2048&&Dd(s.alternate,s);break;case 24:Eo(o,s),u&2048&&Md(s.alternate,s);break;default:Eo(o,s)}a=a.sibling}}var Co=8192;function Ji(t){if(t.subtreeFlags&Co)for(t=t.child;t!==null;)nv(t),t=t.sibling}function nv(t){switch(t.tag){case 26:Ji(t),t.flags&Co&&t.memoizedState!==null&&RC(dn,t.memoizedState,t.memoizedProps);break;case 5:Ji(t);break;case 3:case 4:var a=dn;dn=_s(t.stateNode.containerInfo),Ji(t),dn=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Co,Co=16777216,Ji(t),Co=a):Ji(t));break;default:Ji(t)}}function av(t){var a=t.alternate;if(a!==null&&(t=a.child,t!==null)){a.child=null;do a=t.sibling,t.sibling=null,t=a;while(t!==null)}}function Oo(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];ct=s,rv(s,t)}av(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)iv(t),t=t.sibling}function iv(t){switch(t.tag){case 0:case 11:case 15:Oo(t),t.flags&2048&&ba(9,t,t.return);break;case 3:Oo(t);break;case 12:Oo(t);break;case 22:var a=t.stateNode;t.memoizedState!==null&&a._visibility&2&&(t.return===null||t.return.tag!==13)?(a._visibility&=-3,ys(t)):Oo(t);break;default:Oo(t)}}function ys(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];ct=s,rv(s,t)}av(t)}for(t=t.child;t!==null;){switch(a=t,a.tag){case 0:case 11:case 15:ba(8,a,a.return),ys(a);break;case 22:o=a.stateNode,o._visibility&2&&(o._visibility&=-3,ys(a));break;default:ys(a)}t=t.sibling}}function rv(t,a){for(;ct!==null;){var o=ct;switch(o.tag){case 0:case 11:case 15:ba(8,o,a);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var s=o.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:ro(o.memoizedState.cache)}if(s=o.child,s!==null)s.return=o,ct=s;else e:for(o=t;ct!==null;){s=ct;var u=s.sibling,f=s.return;if(Kp(s),s===o){ct=null;break e}if(u!==null){u.return=f,ct=u;break e}ct=f}}}var jE={getCacheForType:function(t){var a=Ct(it),o=a.data.get(t);return o===void 0&&(o=t(),a.data.set(t,o)),o}},FE=typeof WeakMap=="function"?WeakMap:Map,Ie=0,je=null,we=null,Te=0,De=0,Ft=null,Sa=!1,er=!1,Pd=!1,Kn=0,Xe=0,Ea=0,ri=0,Ld=0,on=0,tr=0,wo=null,zt=null,Bd=!1,Hd=0,xs=1/0,Ss=null,Ca=null,ht=0,Oa=null,nr=null,ar=0,Ud=0,jd=null,ov=null,Ro=0,Fd=null;function $t(){if((Ie&2)!==0&&Te!==0)return Te&-Te;if(L.T!==null){var t=$i;return t!==0?t:Kd()}return Eh()}function lv(){on===0&&(on=(Te&536870912)===0||Ne?bh():536870912);var t=rn.current;return t!==null&&(t.flags|=32),on}function Wt(t,a,o){(t===je&&(De===2||De===9)||t.cancelPendingCommit!==null)&&(ir(t,0),wa(t,Te,on,!1)),Fr(t,o),((Ie&2)===0||t!==je)&&(t===je&&((Ie&2)===0&&(ri|=o),Xe===4&&wa(t,Te,on,!1)),Cn(t))}function sv(t,a,o){if((Ie&6)!==0)throw Error(r(327));var s=!o&&(a&124)===0&&(a&t.expiredLanes)===0||jr(t,a),u=s?GE(t,a):Gd(t,a,!0),f=s;do{if(u===0){er&&!s&&wa(t,a,0,!1);break}else{if(o=t.current.alternate,f&&!$E(o)){u=Gd(t,a,!1),f=!1;continue}if(u===2){if(f=a,t.errorRecoveryDisabledLanes&f)var p=0;else p=t.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){a=p;e:{var y=t;u=wo;var R=y.current.memoizedState.isDehydrated;if(R&&(ir(y,p).flags|=256),p=Gd(y,p,!1),p!==2){if(Pd&&!R){y.errorRecoveryDisabledLanes|=f,ri|=f,u=4;break e}f=zt,zt=u,f!==null&&(zt===null?zt=f:zt.push.apply(zt,f))}u=p}if(f=!1,u!==2)continue}}if(u===1){ir(t,0),wa(t,a,0,!0);break}e:{switch(s=t,f=u,f){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:wa(s,a,on,!Sa);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(u=Hd+300-Qt(),10<u)){if(wa(s,a,on,!Sa),zl(s,0,!0)!==0)break e;s.timeoutHandle=Pv(cv.bind(null,s,o,zt,Ss,Bd,a,on,ri,tr,Sa,f,2,-0,0),u);break e}cv(s,o,zt,Ss,Bd,a,on,ri,tr,Sa,f,0,-0,0)}}break}while(!0);Cn(t)}function cv(t,a,o,s,u,f,p,y,R,D,F,G,M,P){if(t.timeoutHandle=-1,G=a.subtreeFlags,(G&8192||(G&16785408)===16785408)&&(Vo={stylesheets:null,count:0,unsuspend:wC},nv(a),G=TC(),G!==null)){t.cancelPendingCommit=G(pv.bind(null,t,a,f,o,s,u,p,y,R,F,1,M,P)),wa(t,f,p,!D);return}pv(t,a,f,o,s,u,p,y,R)}function $E(t){for(var a=t;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var s=0;s<o.length;s++){var u=o[s],f=u.getSnapshot;u=u.value;try{if(!Bt(f(),u))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function wa(t,a,o,s){a&=~Ld,a&=~ri,t.suspendedLanes|=a,t.pingedLanes&=~a,s&&(t.warmLanes|=a),s=t.expirationTimes;for(var u=a;0<u;){var f=31-Lt(u),p=1<<f;s[f]=-1,u&=~p}o!==0&&xh(t,o,a)}function Es(){return(Ie&6)===0?(To(0),!1):!0}function $d(){if(we!==null){if(De===0)var t=we.return;else t=we,jn=Ja=null,ld(t),Ki=null,vo=0,t=we;for(;t!==null;)jp(t.alternate,t),t=t.return;we=null}}function ir(t,a){var o=t.timeoutHandle;o!==-1&&(t.timeoutHandle=-1,sC(o)),o=t.cancelPendingCommit,o!==null&&(t.cancelPendingCommit=null,o()),$d(),je=t,we=o=Bn(t.current,null),Te=a,De=0,Ft=null,Sa=!1,er=jr(t,a),Pd=!1,tr=on=Ld=ri=Ea=Xe=0,zt=wo=null,Bd=!1,(a&8)!==0&&(a|=a&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=a;0<s;){var u=31-Lt(s),f=1<<u;a|=t[u],s&=~f}return Kn=a,$l(),o}function uv(t,a){Ee=null,L.H=cs,a===lo||a===Jl?(a=Tm(),De=3):a===Om?(a=Tm(),De=4):De=a===kp?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Ft=a,we===null&&(Xe=1,hs(t,en(a,t.current)))}function dv(){var t=L.H;return L.H=cs,t===null?cs:t}function fv(){var t=L.A;return L.A=jE,t}function Wd(){Xe=4,Sa||(Te&4194048)!==Te&&rn.current!==null||(er=!0),(Ea&134217727)===0&&(ri&134217727)===0||je===null||wa(je,Te,on,!1)}function Gd(t,a,o){var s=Ie;Ie|=2;var u=dv(),f=fv();(je!==t||Te!==a)&&(Ss=null,ir(t,a)),a=!1;var p=Xe;e:do try{if(De!==0&&we!==null){var y=we,R=Ft;switch(De){case 8:$d(),p=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(a=!0);var D=De;if(De=0,Ft=null,rr(t,y,R,D),o&&er){p=0;break e}break;default:D=De,De=0,Ft=null,rr(t,y,R,D)}}WE(),p=Xe;break}catch(F){uv(t,F)}while(!0);return a&&t.shellSuspendCounter++,jn=Ja=null,Ie=s,L.H=u,L.A=f,we===null&&(je=null,Te=0,$l()),p}function WE(){for(;we!==null;)gv(we)}function GE(t,a){var o=Ie;Ie|=2;var s=dv(),u=fv();je!==t||Te!==a?(Ss=null,xs=Qt()+500,ir(t,a)):er=jr(t,a);e:do try{if(De!==0&&we!==null){a=we;var f=Ft;t:switch(De){case 1:De=0,Ft=null,rr(t,a,f,1);break;case 2:case 9:if(wm(f)){De=0,Ft=null,hv(a);break}a=function(){De!==2&&De!==9||je!==t||(De=7),Cn(t)},f.then(a,a);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:wm(f)?(De=0,Ft=null,hv(a)):(De=0,Ft=null,rr(t,a,f,7));break;case 5:var p=null;switch(we.tag){case 26:p=we.memoizedState;case 5:case 27:var y=we;if(!p||Xv(p)){De=0,Ft=null;var R=y.sibling;if(R!==null)we=R;else{var D=y.return;D!==null?(we=D,Cs(D)):we=null}break t}}De=0,Ft=null,rr(t,a,f,5);break;case 6:De=0,Ft=null,rr(t,a,f,6);break;case 8:$d(),Xe=6;break e;default:throw Error(r(462))}}qE();break}catch(F){uv(t,F)}while(!0);return jn=Ja=null,L.H=s,L.A=u,Ie=o,we!==null?0:(je=null,Te=0,$l(),Xe)}function qE(){for(;we!==null&&!Oi();)gv(we)}function gv(t){var a=Hp(t.alternate,t,Kn);t.memoizedProps=t.pendingProps,a===null?Cs(t):we=a}function hv(t){var a=t,o=a.alternate;switch(a.tag){case 15:case 0:a=Ip(o,a,a.pendingProps,a.type,void 0,Te);break;case 11:a=Ip(o,a,a.pendingProps,a.type.render,a.ref,Te);break;case 5:ld(a);default:jp(o,a),a=we=mm(a,Kn),a=Hp(o,a,Kn)}t.memoizedProps=t.pendingProps,a===null?Cs(t):we=a}function rr(t,a,o,s){jn=Ja=null,ld(a),Ki=null,vo=0;var u=a.return;try{if(ME(t,u,a,o,Te)){Xe=1,hs(t,en(o,t.current)),we=null;return}}catch(f){if(u!==null)throw we=u,f;Xe=1,hs(t,en(o,t.current)),we=null;return}a.flags&32768?(Ne||s===1?t=!0:er||(Te&536870912)!==0?t=!1:(Sa=t=!0,(s===2||s===9||s===3||s===6)&&(s=rn.current,s!==null&&s.tag===13&&(s.flags|=16384))),mv(a,t)):Cs(a)}function Cs(t){var a=t;do{if((a.flags&32768)!==0){mv(a,Sa);return}t=a.return;var o=LE(a.alternate,a,Kn);if(o!==null){we=o;return}if(a=a.sibling,a!==null){we=a;return}we=a=t}while(a!==null);Xe===0&&(Xe=5)}function mv(t,a){do{var o=BE(t.alternate,t);if(o!==null){o.flags&=32767,we=o;return}if(o=t.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(t=t.sibling,t!==null)){we=t;return}we=t=o}while(t!==null);Xe=6,we=null}function pv(t,a,o,s,u,f,p,y,R){t.cancelPendingCommit=null;do Os();while(ht!==0);if((Ie&6)!==0)throw Error(r(327));if(a!==null){if(a===t.current)throw Error(r(177));if(f=a.lanes|a.childLanes,f|=Mu,w1(t,o,f,p,y,R),t===je&&(we=je=null,Te=0),nr=a,Oa=t,ar=o,Ud=f,jd=u,ov=s,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,QE(ja,function(){return Sv(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||s){s=L.T,L.T=null,u=ne.p,ne.p=2,p=Ie,Ie|=4;try{HE(t,a,o)}finally{Ie=p,ne.p=u,L.T=s}}ht=1,vv(),bv(),yv()}}function vv(){if(ht===1){ht=0;var t=Oa,a=nr,o=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||o){o=L.T,L.T=null;var s=ne.p;ne.p=2;var u=Ie;Ie|=4;try{Jp(a,t);var f=rf,p=rm(t.containerInfo),y=f.focusedElem,R=f.selectionRange;if(p!==y&&y&&y.ownerDocument&&im(y.ownerDocument.documentElement,y)){if(R!==null&&_u(y)){var D=R.start,F=R.end;if(F===void 0&&(F=D),"selectionStart"in y)y.selectionStart=D,y.selectionEnd=Math.min(F,y.value.length);else{var G=y.ownerDocument||document,M=G&&G.defaultView||window;if(M.getSelection){var P=M.getSelection(),pe=y.textContent.length,de=Math.min(R.start,pe),Le=R.end===void 0?de:Math.min(R.end,pe);!P.extend&&de>Le&&(p=Le,Le=de,de=p);var V=am(y,de),A=am(y,Le);if(V&&A&&(P.rangeCount!==1||P.anchorNode!==V.node||P.anchorOffset!==V.offset||P.focusNode!==A.node||P.focusOffset!==A.offset)){var I=G.createRange();I.setStart(V.node,V.offset),P.removeAllRanges(),de>Le?(P.addRange(I),P.extend(A.node,A.offset)):(I.setEnd(A.node,A.offset),P.addRange(I))}}}}for(G=[],P=y;P=P.parentNode;)P.nodeType===1&&G.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<G.length;y++){var $=G[y];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Ms=!!af,rf=af=null}finally{Ie=u,ne.p=s,L.T=o}}t.current=a,ht=2}}function bv(){if(ht===2){ht=0;var t=Oa,a=nr,o=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||o){o=L.T,L.T=null;var s=ne.p;ne.p=2;var u=Ie;Ie|=4;try{Xp(t,a.alternate,a)}finally{Ie=u,ne.p=s,L.T=o}}ht=3}}function yv(){if(ht===4||ht===3){ht=0,Br();var t=Oa,a=nr,o=ar,s=ov;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?ht=5:(ht=0,nr=Oa=null,xv(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Ca=null),uu(o),a=a.stateNode,Pt&&typeof Pt.onCommitFiberRoot=="function")try{Pt.onCommitFiberRoot(Ur,a,void 0,(a.current.flags&128)===128)}catch{}if(s!==null){a=L.T,u=ne.p,ne.p=2,L.T=null;try{for(var f=t.onRecoverableError,p=0;p<s.length;p++){var y=s[p];f(y.value,{componentStack:y.stack})}}finally{L.T=a,ne.p=u}}(ar&3)!==0&&Os(),Cn(t),u=t.pendingLanes,(o&4194090)!==0&&(u&42)!==0?t===Fd?Ro++:(Ro=0,Fd=t):Ro=0,To(0)}}function xv(t,a){(t.pooledCacheLanes&=a)===0&&(a=t.pooledCache,a!=null&&(t.pooledCache=null,ro(a)))}function Os(t){return vv(),bv(),yv(),Sv()}function Sv(){if(ht!==5)return!1;var t=Oa,a=Ud;Ud=0;var o=uu(ar),s=L.T,u=ne.p;try{ne.p=32>o?32:o,L.T=null,o=jd,jd=null;var f=Oa,p=ar;if(ht=0,nr=Oa=null,ar=0,(Ie&6)!==0)throw Error(r(331));var y=Ie;if(Ie|=4,iv(f.current),tv(f,f.current,p,o),Ie=y,To(0,!1),Pt&&typeof Pt.onPostCommitFiberRoot=="function")try{Pt.onPostCommitFiberRoot(Ur,f)}catch{}return!0}finally{ne.p=u,L.T=s,xv(t,a)}}function Ev(t,a,o){a=en(o,a),a=Sd(t.stateNode,a,2),t=ha(t,a,2),t!==null&&(Fr(t,2),Cn(t))}function Be(t,a,o){if(t.tag===3)Ev(t,t,o);else for(;a!==null;){if(a.tag===3){Ev(a,t,o);break}else if(a.tag===1){var s=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Ca===null||!Ca.has(s))){t=en(o,t),o=Rp(2),s=ha(a,o,2),s!==null&&(Tp(o,s,a,t),Fr(s,2),Cn(s));break}}a=a.return}}function qd(t,a,o){var s=t.pingCache;if(s===null){s=t.pingCache=new FE;var u=new Set;s.set(a,u)}else u=s.get(a),u===void 0&&(u=new Set,s.set(a,u));u.has(o)||(Pd=!0,u.add(o),t=YE.bind(null,t,a,o),a.then(t,t))}function YE(t,a,o){var s=t.pingCache;s!==null&&s.delete(a),t.pingedLanes|=t.suspendedLanes&o,t.warmLanes&=~o,je===t&&(Te&o)===o&&(Xe===4||Xe===3&&(Te&62914560)===Te&&300>Qt()-Hd?(Ie&2)===0&&ir(t,0):Ld|=o,tr===Te&&(tr=0)),Cn(t)}function Cv(t,a){a===0&&(a=yh()),t=Hi(t,a),t!==null&&(Fr(t,a),Cn(t))}function XE(t){var a=t.memoizedState,o=0;a!==null&&(o=a.retryLane),Cv(t,o)}function KE(t,a){var o=0;switch(t.tag){case 13:var s=t.stateNode,u=t.memoizedState;u!==null&&(o=u.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(a),Cv(t,o)}function QE(t,a){return Ke(t,a)}var ws=null,or=null,Yd=!1,Rs=!1,Xd=!1,oi=0;function Cn(t){t!==or&&t.next===null&&(or===null?ws=or=t:or=or.next=t),Rs=!0,Yd||(Yd=!0,JE())}function To(t,a){if(!Xd&&Rs){Xd=!0;do for(var o=!1,s=ws;s!==null;){if(t!==0){var u=s.pendingLanes;if(u===0)var f=0;else{var p=s.suspendedLanes,y=s.pingedLanes;f=(1<<31-Lt(42|t)+1)-1,f&=u&~(p&~y),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(o=!0,Tv(s,f))}else f=Te,f=zl(s,s===je?f:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(f&3)===0||jr(s,f)||(o=!0,Tv(s,f));s=s.next}while(o);Xd=!1}}function ZE(){Ov()}function Ov(){Rs=Yd=!1;var t=0;oi!==0&&(lC()&&(t=oi),oi=0);for(var a=Qt(),o=null,s=ws;s!==null;){var u=s.next,f=wv(s,a);f===0?(s.next=null,o===null?ws=u:o.next=u,u===null&&(or=o)):(o=s,(t!==0||(f&3)!==0)&&(Rs=!0)),s=u}To(t)}function wv(t,a){for(var o=t.suspendedLanes,s=t.pingedLanes,u=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var p=31-Lt(f),y=1<<p,R=u[p];R===-1?((y&o)===0||(y&s)!==0)&&(u[p]=O1(y,a)):R<=a&&(t.expiredLanes|=y),f&=~y}if(a=je,o=Te,o=zl(t,t===a?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,o===0||t===a&&(De===2||De===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Mt(s),t.callbackNode=null,t.callbackPriority=0;if((o&3)===0||jr(t,o)){if(a=o&-o,a===t.callbackPriority)return a;switch(s!==null&&Mt(s),uu(o)){case 2:case 8:o=kl;break;case 32:o=ja;break;case 268435456:o=wi;break;default:o=ja}return s=Rv.bind(null,t),o=Ke(o,s),t.callbackPriority=a,t.callbackNode=o,a}return s!==null&&s!==null&&Mt(s),t.callbackPriority=2,t.callbackNode=null,2}function Rv(t,a){if(ht!==0&&ht!==5)return t.callbackNode=null,t.callbackPriority=0,null;var o=t.callbackNode;if(Os()&&t.callbackNode!==o)return null;var s=Te;return s=zl(t,t===je?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(sv(t,s,a),wv(t,Qt()),t.callbackNode!=null&&t.callbackNode===o?Rv.bind(null,t):null)}function Tv(t,a){if(Os())return null;sv(t,a,!0)}function JE(){cC(function(){(Ie&6)!==0?Ke(Hr,ZE):Ov()})}function Kd(){return oi===0&&(oi=bh()),oi}function kv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Pl(""+t)}function Nv(t,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,t.id&&o.setAttribute("form",t.id),a.parentNode.insertBefore(o,a),t=new FormData(t),o.parentNode.removeChild(o),t}function eC(t,a,o,s,u){if(a==="submit"&&o&&o.stateNode===u){var f=kv((u[kt]||null).action),p=s.submitter;p&&(a=(a=p[kt]||null)?kv(a.formAction):p.getAttribute("formAction"),a!==null&&(f=a,p=null));var y=new Ul("action","action",null,s,u);t.push({event:y,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(oi!==0){var R=p?Nv(u,p):new FormData(u);pd(o,{pending:!0,data:R,method:u.method,action:f},null,R)}}else typeof f=="function"&&(y.preventDefault(),R=p?Nv(u,p):new FormData(u),pd(o,{pending:!0,data:R,method:u.method,action:f},f,R))},currentTarget:u}]})}}for(var Qd=0;Qd<Du.length;Qd++){var Zd=Du[Qd],tC=Zd.toLowerCase(),nC=Zd[0].toUpperCase()+Zd.slice(1);un(tC,"on"+nC)}un(sm,"onAnimationEnd"),un(cm,"onAnimationIteration"),un(um,"onAnimationStart"),un("dblclick","onDoubleClick"),un("focusin","onFocus"),un("focusout","onBlur"),un(yE,"onTransitionRun"),un(xE,"onTransitionStart"),un(SE,"onTransitionCancel"),un(dm,"onTransitionEnd"),Ai("onMouseEnter",["mouseout","mouseover"]),Ai("onMouseLeave",["mouseout","mouseover"]),Ai("onPointerEnter",["pointerout","pointerover"]),Ai("onPointerLeave",["pointerout","pointerover"]),$a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$a("onBeforeInput",["compositionend","keypress","textInput","paste"]),$a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ko="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(" "),aC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ko));function Av(t,a){a=(a&4)!==0;for(var o=0;o<t.length;o++){var s=t[o],u=s.event;s=s.listeners;e:{var f=void 0;if(a)for(var p=s.length-1;0<=p;p--){var y=s[p],R=y.instance,D=y.currentTarget;if(y=y.listener,R!==f&&u.isPropagationStopped())break e;f=y,u.currentTarget=D;try{f(u)}catch(F){gs(F)}u.currentTarget=null,f=R}else for(p=0;p<s.length;p++){if(y=s[p],R=y.instance,D=y.currentTarget,y=y.listener,R!==f&&u.isPropagationStopped())break e;f=y,u.currentTarget=D;try{f(u)}catch(F){gs(F)}u.currentTarget=null,f=R}}}}function Re(t,a){var o=a[du];o===void 0&&(o=a[du]=new Set);var s=t+"__bubble";o.has(s)||(_v(a,t,2,!1),o.add(s))}function Jd(t,a,o){var s=0;a&&(s|=4),_v(o,t,s,a)}var Ts="_reactListening"+Math.random().toString(36).slice(2);function ef(t){if(!t[Ts]){t[Ts]=!0,Oh.forEach(function(o){o!=="selectionchange"&&(aC.has(o)||Jd(o,!1,t),Jd(o,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[Ts]||(a[Ts]=!0,Jd("selectionchange",!1,a))}}function _v(t,a,o,s){switch(tb(a)){case 2:var u=AC;break;case 8:u=_C;break;default:u=mf}o=u.bind(null,a,o,t),u=void 0,!Eu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(u=!0),s?u!==void 0?t.addEventListener(a,o,{capture:!0,passive:u}):t.addEventListener(a,o,!0):u!==void 0?t.addEventListener(a,o,{passive:u}):t.addEventListener(a,o,!1)}function tf(t,a,o,s,u){var f=s;if((a&1)===0&&(a&2)===0&&s!==null)e:for(;;){if(s===null)return;var p=s.tag;if(p===3||p===4){var y=s.stateNode.containerInfo;if(y===u)break;if(p===4)for(p=s.return;p!==null;){var R=p.tag;if((R===3||R===4)&&p.stateNode.containerInfo===u)return;p=p.return}for(;y!==null;){if(p=Ti(y),p===null)return;if(R=p.tag,R===5||R===6||R===26||R===27){s=f=p;continue e}y=y.parentNode}}s=s.return}Lh(function(){var D=f,F=xu(o),G=[];e:{var M=fm.get(t);if(M!==void 0){var P=Ul,pe=t;switch(t){case"keypress":if(Bl(o)===0)break e;case"keydown":case"keyup":P=Q1;break;case"focusin":pe="focus",P=Ru;break;case"focusout":pe="blur",P=Ru;break;case"beforeblur":case"afterblur":P=Ru;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":P=Uh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":P=B1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":P=eE;break;case sm:case cm:case um:P=j1;break;case dm:P=nE;break;case"scroll":case"scrollend":P=P1;break;case"wheel":P=iE;break;case"copy":case"cut":case"paste":P=$1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":P=Fh;break;case"toggle":case"beforetoggle":P=oE}var de=(a&4)!==0,Le=!de&&(t==="scroll"||t==="scrollend"),V=de?M!==null?M+"Capture":null:M;de=[];for(var A=D,I;A!==null;){var $=A;if(I=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||I===null||V===null||($=Gr(A,V),$!=null&&de.push(No(A,$,I))),Le)break;A=A.return}0<de.length&&(M=new P(M,pe,null,o,F),G.push({event:M,listeners:de}))}}if((a&7)===0){e:{if(M=t==="mouseover"||t==="pointerover",P=t==="mouseout"||t==="pointerout",M&&o!==yu&&(pe=o.relatedTarget||o.fromElement)&&(Ti(pe)||pe[Ri]))break e;if((P||M)&&(M=F.window===F?F:(M=F.ownerDocument)?M.defaultView||M.parentWindow:window,P?(pe=o.relatedTarget||o.toElement,P=D,pe=pe?Ti(pe):null,pe!==null&&(Le=c(pe),de=pe.tag,pe!==Le||de!==5&&de!==27&&de!==6)&&(pe=null)):(P=null,pe=D),P!==pe)){if(de=Uh,$="onMouseLeave",V="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(de=Fh,$="onPointerLeave",V="onPointerEnter",A="pointer"),Le=P==null?M:Wr(P),I=pe==null?M:Wr(pe),M=new de($,A+"leave",P,o,F),M.target=Le,M.relatedTarget=I,$=null,Ti(F)===D&&(de=new de(V,A+"enter",pe,o,F),de.target=I,de.relatedTarget=Le,$=de),Le=$,P&&pe)t:{for(de=P,V=pe,A=0,I=de;I;I=lr(I))A++;for(I=0,$=V;$;$=lr($))I++;for(;0<A-I;)de=lr(de),A--;for(;0<I-A;)V=lr(V),I--;for(;A--;){if(de===V||V!==null&&de===V.alternate)break t;de=lr(de),V=lr(V)}de=null}else de=null;P!==null&&zv(G,M,P,de,!1),pe!==null&&Le!==null&&zv(G,Le,pe,de,!0)}}e:{if(M=D?Wr(D):window,P=M.nodeName&&M.nodeName.toLowerCase(),P==="select"||P==="input"&&M.type==="file")var oe=Qh;else if(Xh(M))if(Zh)oe=pE;else{oe=hE;var Oe=gE}else P=M.nodeName,!P||P.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?D&&bu(D.elementType)&&(oe=Qh):oe=mE;if(oe&&(oe=oe(t,D))){Kh(G,oe,o,F);break e}Oe&&Oe(t,M,D),t==="focusout"&&D&&M.type==="number"&&D.memoizedProps.value!=null&&vu(M,"number",M.value)}switch(Oe=D?Wr(D):window,t){case"focusin":(Xh(Oe)||Oe.contentEditable==="true")&&(Pi=Oe,zu=D,eo=null);break;case"focusout":eo=zu=Pi=null;break;case"mousedown":Vu=!0;break;case"contextmenu":case"mouseup":case"dragend":Vu=!1,om(G,o,F);break;case"selectionchange":if(bE)break;case"keydown":case"keyup":om(G,o,F)}var ce;if(ku)e:{switch(t){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else Mi?qh(t,o)&&(ge="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(ge="onCompositionStart");ge&&($h&&o.locale!=="ko"&&(Mi||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&Mi&&(ce=Bh()):(ua=F,Cu="value"in ua?ua.value:ua.textContent,Mi=!0)),Oe=ks(D,ge),0<Oe.length&&(ge=new jh(ge,t,null,o,F),G.push({event:ge,listeners:Oe}),ce?ge.data=ce:(ce=Yh(o),ce!==null&&(ge.data=ce)))),(ce=sE?cE(t,o):uE(t,o))&&(ge=ks(D,"onBeforeInput"),0<ge.length&&(Oe=new jh("onBeforeInput","beforeinput",null,o,F),G.push({event:Oe,listeners:ge}),Oe.data=ce)),eC(G,t,D,o,F)}Av(G,a)})}function No(t,a,o){return{instance:t,listener:a,currentTarget:o}}function ks(t,a){for(var o=a+"Capture",s=[];t!==null;){var u=t,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=Gr(t,o),u!=null&&s.unshift(No(t,u,f)),u=Gr(t,a),u!=null&&s.push(No(t,u,f))),t.tag===3)return s;t=t.return}return[]}function lr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function zv(t,a,o,s,u){for(var f=a._reactName,p=[];o!==null&&o!==s;){var y=o,R=y.alternate,D=y.stateNode;if(y=y.tag,R!==null&&R===s)break;y!==5&&y!==26&&y!==27||D===null||(R=D,u?(D=Gr(o,f),D!=null&&p.unshift(No(o,D,R))):u||(D=Gr(o,f),D!=null&&p.push(No(o,D,R)))),o=o.return}p.length!==0&&t.push({event:a,listeners:p})}var iC=/\r\n?/g,rC=/\u0000|\uFFFD/g;function Vv(t){return(typeof t=="string"?t:""+t).replace(iC,`
50
+ `).replace(rC,"")}function Iv(t,a){return a=Vv(a),Vv(t)===a}function Ns(){}function Pe(t,a,o,s,u,f){switch(o){case"children":typeof s=="string"?a==="body"||a==="textarea"&&s===""||Vi(t,s):(typeof s=="number"||typeof s=="bigint")&&a!=="body"&&Vi(t,""+s);break;case"className":Il(t,"class",s);break;case"tabIndex":Il(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Il(t,o,s);break;case"style":Mh(t,s,f);break;case"data":if(a!=="object"){Il(t,"data",s);break}case"src":case"href":if(s===""&&(a!=="a"||o!=="href")){t.removeAttribute(o);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(o);break}s=Pl(""+s),t.setAttribute(o,s);break;case"action":case"formAction":if(typeof s=="function"){t.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 f=="function"&&(o==="formAction"?(a!=="input"&&Pe(t,a,"name",u.name,u,null),Pe(t,a,"formEncType",u.formEncType,u,null),Pe(t,a,"formMethod",u.formMethod,u,null),Pe(t,a,"formTarget",u.formTarget,u,null)):(Pe(t,a,"encType",u.encType,u,null),Pe(t,a,"method",u.method,u,null),Pe(t,a,"target",u.target,u,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(o);break}s=Pl(""+s),t.setAttribute(o,s);break;case"onClick":s!=null&&(t.onclick=Ns);break;case"onScroll":s!=null&&Re("scroll",t);break;case"onScrollEnd":s!=null&&Re("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(o=s.__html,o!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=o}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}o=Pl(""+s),t.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":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(o,""+s):t.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":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(o,""):t.removeAttribute(o);break;case"capture":case"download":s===!0?t.setAttribute(o,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(o,s):t.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(o,s):t.removeAttribute(o);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(o):t.setAttribute(o,s);break;case"popover":Re("beforetoggle",t),Re("toggle",t),Vl(t,"popover",s);break;case"xlinkActuate":Pn(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Pn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Pn(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Pn(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Pn(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Pn(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Pn(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Pn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Pn(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Vl(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=D1.get(o)||o,Vl(t,o,s))}}function nf(t,a,o,s,u,f){switch(o){case"style":Mh(t,s,f);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(o=s.__html,o!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=o}}break;case"children":typeof s=="string"?Vi(t,s):(typeof s=="number"||typeof s=="bigint")&&Vi(t,""+s);break;case"onScroll":s!=null&&Re("scroll",t);break;case"onScrollEnd":s!=null&&Re("scrollend",t);break;case"onClick":s!=null&&(t.onclick=Ns);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wh.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(u=o.endsWith("Capture"),a=o.slice(2,u?o.length-7:void 0),f=t[kt]||null,f=f!=null?f[o]:null,typeof f=="function"&&t.removeEventListener(a,f,u),typeof s=="function")){typeof f!="function"&&f!==null&&(o in t?t[o]=null:t.hasAttribute(o)&&t.removeAttribute(o)),t.addEventListener(a,s,u);break e}o in t?t[o]=s:s===!0?t.setAttribute(o,""):Vl(t,o,s)}}}function mt(t,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",t),Re("load",t);var s=!1,u=!1,f;for(f in o)if(o.hasOwnProperty(f)){var p=o[f];if(p!=null)switch(f){case"src":s=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Pe(t,a,f,p,o,null)}}u&&Pe(t,a,"srcSet",o.srcSet,o,null),s&&Pe(t,a,"src",o.src,o,null);return;case"input":Re("invalid",t);var y=f=p=u=null,R=null,D=null;for(s in o)if(o.hasOwnProperty(s)){var F=o[s];if(F!=null)switch(s){case"name":u=F;break;case"type":p=F;break;case"checked":R=F;break;case"defaultChecked":D=F;break;case"value":f=F;break;case"defaultValue":y=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,a));break;default:Pe(t,a,s,F,o,null)}}zh(t,f,y,R,D,p,u,!1),Dl(t);return;case"select":Re("invalid",t),s=p=f=null;for(u in o)if(o.hasOwnProperty(u)&&(y=o[u],y!=null))switch(u){case"value":f=y;break;case"defaultValue":p=y;break;case"multiple":s=y;default:Pe(t,a,u,y,o,null)}a=f,o=p,t.multiple=!!s,a!=null?zi(t,!!s,a,!1):o!=null&&zi(t,!!s,o,!0);return;case"textarea":Re("invalid",t),f=u=s=null;for(p in o)if(o.hasOwnProperty(p)&&(y=o[p],y!=null))switch(p){case"value":s=y;break;case"defaultValue":u=y;break;case"children":f=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(r(91));break;default:Pe(t,a,p,y,o,null)}Ih(t,s,u,f),Dl(t);return;case"option":for(R in o)if(o.hasOwnProperty(R)&&(s=o[R],s!=null))switch(R){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Pe(t,a,R,s,o,null)}return;case"dialog":Re("beforetoggle",t),Re("toggle",t),Re("cancel",t),Re("close",t);break;case"iframe":case"object":Re("load",t);break;case"video":case"audio":for(s=0;s<ko.length;s++)Re(ko[s],t);break;case"image":Re("error",t),Re("load",t);break;case"details":Re("toggle",t);break;case"embed":case"source":case"link":Re("error",t),Re("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in o)if(o.hasOwnProperty(D)&&(s=o[D],s!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Pe(t,a,D,s,o,null)}return;default:if(bu(a)){for(F in o)o.hasOwnProperty(F)&&(s=o[F],s!==void 0&&nf(t,a,F,s,o,void 0));return}}for(y in o)o.hasOwnProperty(y)&&(s=o[y],s!=null&&Pe(t,a,y,s,o,null))}function oC(t,a,o,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,f=null,p=null,y=null,R=null,D=null,F=null;for(P in o){var G=o[P];if(o.hasOwnProperty(P)&&G!=null)switch(P){case"checked":break;case"value":break;case"defaultValue":R=G;default:s.hasOwnProperty(P)||Pe(t,a,P,null,s,G)}}for(var M in s){var P=s[M];if(G=o[M],s.hasOwnProperty(M)&&(P!=null||G!=null))switch(M){case"type":f=P;break;case"name":u=P;break;case"checked":D=P;break;case"defaultChecked":F=P;break;case"value":p=P;break;case"defaultValue":y=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(r(137,a));break;default:P!==G&&Pe(t,a,M,P,s,G)}}pu(t,p,y,R,D,F,f,u);return;case"select":P=p=y=M=null;for(f in o)if(R=o[f],o.hasOwnProperty(f)&&R!=null)switch(f){case"value":break;case"multiple":P=R;default:s.hasOwnProperty(f)||Pe(t,a,f,null,s,R)}for(u in s)if(f=s[u],R=o[u],s.hasOwnProperty(u)&&(f!=null||R!=null))switch(u){case"value":M=f;break;case"defaultValue":y=f;break;case"multiple":p=f;default:f!==R&&Pe(t,a,u,f,s,R)}a=y,o=p,s=P,M!=null?zi(t,!!o,M,!1):!!s!=!!o&&(a!=null?zi(t,!!o,a,!0):zi(t,!!o,o?[]:"",!1));return;case"textarea":P=M=null;for(y in o)if(u=o[y],o.hasOwnProperty(y)&&u!=null&&!s.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Pe(t,a,y,null,s,u)}for(p in s)if(u=s[p],f=o[p],s.hasOwnProperty(p)&&(u!=null||f!=null))switch(p){case"value":M=u;break;case"defaultValue":P=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(r(91));break;default:u!==f&&Pe(t,a,p,u,s,f)}Vh(t,M,P);return;case"option":for(var pe in o)if(M=o[pe],o.hasOwnProperty(pe)&&M!=null&&!s.hasOwnProperty(pe))switch(pe){case"selected":t.selected=!1;break;default:Pe(t,a,pe,null,s,M)}for(R in s)if(M=s[R],P=o[R],s.hasOwnProperty(R)&&M!==P&&(M!=null||P!=null))switch(R){case"selected":t.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:Pe(t,a,R,M,s,P)}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 de in o)M=o[de],o.hasOwnProperty(de)&&M!=null&&!s.hasOwnProperty(de)&&Pe(t,a,de,null,s,M);for(D in s)if(M=s[D],P=o[D],s.hasOwnProperty(D)&&M!==P&&(M!=null||P!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(r(137,a));break;default:Pe(t,a,D,M,s,P)}return;default:if(bu(a)){for(var Le in o)M=o[Le],o.hasOwnProperty(Le)&&M!==void 0&&!s.hasOwnProperty(Le)&&nf(t,a,Le,void 0,s,M);for(F in s)M=s[F],P=o[F],!s.hasOwnProperty(F)||M===P||M===void 0&&P===void 0||nf(t,a,F,M,s,P);return}}for(var V in o)M=o[V],o.hasOwnProperty(V)&&M!=null&&!s.hasOwnProperty(V)&&Pe(t,a,V,null,s,M);for(G in s)M=s[G],P=o[G],!s.hasOwnProperty(G)||M===P||M==null&&P==null||Pe(t,a,G,M,s,P)}var af=null,rf=null;function As(t){return t.nodeType===9?t:t.ownerDocument}function Dv(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Mv(t,a){if(t===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&a==="foreignObject"?0:t}function of(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var lf=null;function lC(){var t=window.event;return t&&t.type==="popstate"?t===lf?!1:(lf=t,!0):(lf=null,!1)}var Pv=typeof setTimeout=="function"?setTimeout:void 0,sC=typeof clearTimeout=="function"?clearTimeout:void 0,Lv=typeof Promise=="function"?Promise:void 0,cC=typeof queueMicrotask=="function"?queueMicrotask:typeof Lv<"u"?function(t){return Lv.resolve(null).then(t).catch(uC)}:Pv;function uC(t){setTimeout(function(){throw t})}function Ra(t){return t==="head"}function Bv(t,a){var o=a,s=0,u=0;do{var f=o.nextSibling;if(t.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(0<s&&8>s){o=s;var p=t.ownerDocument;if(o&1&&Ao(p.documentElement),o&2&&Ao(p.body),o&4)for(o=p.head,Ao(o),p=o.firstChild;p;){var y=p.nextSibling,R=p.nodeName;p[$r]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&p.rel.toLowerCase()==="stylesheet"||o.removeChild(p),p=y}}if(u===0){t.removeChild(f),Lo(a);return}u--}else o==="$"||o==="$?"||o==="$!"?u++:s=o.charCodeAt(0)-48;else s=0;o=f}while(o);Lo(a)}function sf(t){var a=t.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":sf(o),fu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}t.removeChild(o)}}function dC(t,a,o,s){for(;t.nodeType===1;){var u=o;if(t.nodeName.toLowerCase()!==a.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[$r])switch(a){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(a==="input"&&t.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=fn(t.nextSibling),t===null)break}return null}function fC(t,a,o){if(a==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=fn(t.nextSibling),t===null))return null;return t}function cf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function gC(t,a){var o=t.ownerDocument;if(t.data!=="$?"||o.readyState==="complete")a();else{var s=function(){a(),o.removeEventListener("DOMContentLoaded",s)};o.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function fn(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return t}var uf=null;function Hv(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"){if(a===0)return t;a--}else o==="/$"&&a++}t=t.previousSibling}return null}function Uv(t,a,o){switch(a=As(o),t){case"html":if(t=a.documentElement,!t)throw Error(r(452));return t;case"head":if(t=a.head,!t)throw Error(r(453));return t;case"body":if(t=a.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Ao(t){for(var a=t.attributes;a.length;)t.removeAttributeNode(a[0]);fu(t)}var ln=new Map,jv=new Set;function _s(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Qn=ne.d;ne.d={f:hC,r:mC,D:pC,C:vC,L:bC,m:yC,X:SC,S:xC,M:EC};function hC(){var t=Qn.f(),a=Es();return t||a}function mC(t){var a=ki(t);a!==null&&a.tag===5&&a.type==="form"?sp(a):Qn.r(t)}var sr=typeof document>"u"?null:document;function Fv(t,a,o){var s=sr;if(s&&typeof a=="string"&&a){var u=Jt(a);u='link[rel="'+t+'"][href="'+u+'"]',typeof o=="string"&&(u+='[crossorigin="'+o+'"]'),jv.has(u)||(jv.add(u),t={rel:t,crossOrigin:o,href:a},s.querySelector(u)===null&&(a=s.createElement("link"),mt(a,"link",t),lt(a),s.head.appendChild(a)))}}function pC(t){Qn.D(t),Fv("dns-prefetch",t,null)}function vC(t,a){Qn.C(t,a),Fv("preconnect",t,a)}function bC(t,a,o){Qn.L(t,a,o);var s=sr;if(s&&t&&a){var u='link[rel="preload"][as="'+Jt(a)+'"]';a==="image"&&o&&o.imageSrcSet?(u+='[imagesrcset="'+Jt(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(u+='[imagesizes="'+Jt(o.imageSizes)+'"]')):u+='[href="'+Jt(t)+'"]';var f=u;switch(a){case"style":f=cr(t);break;case"script":f=ur(t)}ln.has(f)||(t=v({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:t,as:a},o),ln.set(f,t),s.querySelector(u)!==null||a==="style"&&s.querySelector(_o(f))||a==="script"&&s.querySelector(zo(f))||(a=s.createElement("link"),mt(a,"link",t),lt(a),s.head.appendChild(a)))}}function yC(t,a){Qn.m(t,a);var o=sr;if(o&&t){var s=a&&typeof a.as=="string"?a.as:"script",u='link[rel="modulepreload"][as="'+Jt(s)+'"][href="'+Jt(t)+'"]',f=u;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=ur(t)}if(!ln.has(f)&&(t=v({rel:"modulepreload",href:t},a),ln.set(f,t),o.querySelector(u)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(zo(f)))return}s=o.createElement("link"),mt(s,"link",t),lt(s),o.head.appendChild(s)}}}function xC(t,a,o){Qn.S(t,a,o);var s=sr;if(s&&t){var u=Ni(s).hoistableStyles,f=cr(t);a=a||"default";var p=u.get(f);if(!p){var y={loading:0,preload:null};if(p=s.querySelector(_o(f)))y.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":a},o),(o=ln.get(f))&&df(t,o);var R=p=s.createElement("link");lt(R),mt(R,"link",t),R._p=new Promise(function(D,F){R.onload=D,R.onerror=F}),R.addEventListener("load",function(){y.loading|=1}),R.addEventListener("error",function(){y.loading|=2}),y.loading|=4,zs(p,a,s)}p={type:"stylesheet",instance:p,count:1,state:y},u.set(f,p)}}}function SC(t,a){Qn.X(t,a);var o=sr;if(o&&t){var s=Ni(o).hoistableScripts,u=ur(t),f=s.get(u);f||(f=o.querySelector(zo(u)),f||(t=v({src:t,async:!0},a),(a=ln.get(u))&&ff(t,a),f=o.createElement("script"),lt(f),mt(f,"link",t),o.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},s.set(u,f))}}function EC(t,a){Qn.M(t,a);var o=sr;if(o&&t){var s=Ni(o).hoistableScripts,u=ur(t),f=s.get(u);f||(f=o.querySelector(zo(u)),f||(t=v({src:t,async:!0,type:"module"},a),(a=ln.get(u))&&ff(t,a),f=o.createElement("script"),lt(f),mt(f,"link",t),o.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},s.set(u,f))}}function $v(t,a,o,s){var u=(u=be.current)?_s(u):null;if(!u)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(a=cr(o.href),o=Ni(u).hoistableStyles,s=o.get(a),s||(s={type:"style",instance:null,count:0,state:null},o.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){t=cr(o.href);var f=Ni(u).hoistableStyles,p=f.get(t);if(p||(u=u.ownerDocument||u,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,p),(f=u.querySelector(_o(t)))&&!f._p&&(p.instance=f,p.state.loading=5),ln.has(t)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},ln.set(t,o),f||CC(u,t,o,p.state))),a&&s===null)throw Error(r(528,""));return p}if(a&&s!==null)throw Error(r(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=ur(o),o=Ni(u).hoistableScripts,s=o.get(a),s||(s={type:"script",instance:null,count:0,state:null},o.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function cr(t){return'href="'+Jt(t)+'"'}function _o(t){return'link[rel="stylesheet"]['+t+"]"}function Wv(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function CC(t,a,o,s){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?s.loading=1:(a=t.createElement("link"),s.preload=a,a.addEventListener("load",function(){return s.loading|=1}),a.addEventListener("error",function(){return s.loading|=2}),mt(a,"link",o),lt(a),t.head.appendChild(a))}function ur(t){return'[src="'+Jt(t)+'"]'}function zo(t){return"script[async]"+t}function Gv(t,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var s=t.querySelector('style[data-href~="'+Jt(o.href)+'"]');if(s)return a.instance=s,lt(s),s;var u=v({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),lt(s),mt(s,"style",u),zs(s,o.precedence,t),a.instance=s;case"stylesheet":u=cr(o.href);var f=t.querySelector(_o(u));if(f)return a.state.loading|=4,a.instance=f,lt(f),f;s=Wv(o),(u=ln.get(u))&&df(s,u),f=(t.ownerDocument||t).createElement("link"),lt(f);var p=f;return p._p=new Promise(function(y,R){p.onload=y,p.onerror=R}),mt(f,"link",s),a.state.loading|=4,zs(f,o.precedence,t),a.instance=f;case"script":return f=ur(o.src),(u=t.querySelector(zo(f)))?(a.instance=u,lt(u),u):(s=o,(u=ln.get(f))&&(s=v({},o),ff(s,u)),t=t.ownerDocument||t,u=t.createElement("script"),lt(u),mt(u,"link",s),t.head.appendChild(u),a.instance=u);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(s=a.instance,a.state.loading|=4,zs(s,o.precedence,t));return a.instance}function zs(t,a,o){for(var s=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=s.length?s[s.length-1]:null,f=u,p=0;p<s.length;p++){var y=s[p];if(y.dataset.precedence===a)f=y;else if(f!==u)break}f?f.parentNode.insertBefore(t,f.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(t,a.firstChild))}function df(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.title==null&&(t.title=a.title)}function ff(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.integrity==null&&(t.integrity=a.integrity)}var Vs=null;function qv(t,a,o){if(Vs===null){var s=new Map,u=Vs=new Map;u.set(o,s)}else u=Vs,s=u.get(o),s||(s=new Map,u.set(o,s));if(s.has(t))return s;for(s.set(t,null),o=o.getElementsByTagName(t),u=0;u<o.length;u++){var f=o[u];if(!(f[$r]||f[Et]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var p=f.getAttribute(a)||"";p=t+p;var y=s.get(p);y?y.push(f):s.set(p,[f])}}return s}function Yv(t,a,o){t=t.ownerDocument||t,t.head.insertBefore(o,a==="title"?t.querySelector("head > title"):null)}function OC(t,a,o){if(o===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return t=a.disabled,typeof a.precedence=="string"&&t==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Xv(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Vo=null;function wC(){}function RC(t,a,o){if(Vo===null)throw Error(r(475));var s=Vo;if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var u=cr(o.href),f=t.querySelector(_o(u));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(s.count++,s=Is.bind(s),t.then(s,s)),a.state.loading|=4,a.instance=f,lt(f);return}f=t.ownerDocument||t,o=Wv(o),(u=ln.get(u))&&df(o,u),f=f.createElement("link"),lt(f);var p=f;p._p=new Promise(function(y,R){p.onload=y,p.onerror=R}),mt(f,"link",o),a.instance=f}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(s.count++,a=Is.bind(s),t.addEventListener("load",a),t.addEventListener("error",a))}}function TC(){if(Vo===null)throw Error(r(475));var t=Vo;return t.stylesheets&&t.count===0&&gf(t,t.stylesheets),0<t.count?function(a){var o=setTimeout(function(){if(t.stylesheets&&gf(t,t.stylesheets),t.unsuspend){var s=t.unsuspend;t.unsuspend=null,s()}},6e4);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o)}}:null}function Is(){if(this.count--,this.count===0){if(this.stylesheets)gf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ds=null;function gf(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ds=new Map,a.forEach(kC,t),Ds=null,Is.call(t))}function kC(t,a){if(!(a.state.loading&4)){var o=Ds.get(t);if(o)var s=o.get(null);else{o=new Map,Ds.set(t,o);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var p=u[f];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(o.set(p.dataset.precedence,p),s=p)}s&&o.set(null,s)}u=a.instance,p=u.getAttribute("data-precedence"),f=o.get(p)||s,f===s&&o.set(null,u),o.set(p,u),this.count++,s=Is.bind(this),u.addEventListener("load",s),u.addEventListener("error",s),f?f.parentNode.insertBefore(u,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),a.state.loading|=4}}var Io={$$typeof:k,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function NC(t,a,o,s,u,f,p,y){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=su(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=su(0),this.hiddenUpdates=su(null),this.identifierPrefix=s,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function Kv(t,a,o,s,u,f,p,y,R,D,F,G){return t=new NC(t,a,o,p,y,R,D,G),a=1,f===!0&&(a|=24),f=Ht(3,null,null,a),t.current=f,f.stateNode=t,a=qu(),a.refCount++,t.pooledCache=a,a.refCount++,f.memoizedState={element:s,isDehydrated:o,cache:a},Qu(f),t}function Qv(t){return t?(t=Ui,t):Ui}function Zv(t,a,o,s,u,f){u=Qv(u),s.context===null?s.context=u:s.pendingContext=u,s=ga(a),s.payload={element:o},f=f===void 0?null:f,f!==null&&(s.callback=f),o=ha(t,s,a),o!==null&&(Wt(o,t,a),co(o,t,a))}function Jv(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<a?o:a}}function hf(t,a){Jv(t,a),(t=t.alternate)&&Jv(t,a)}function eb(t){if(t.tag===13){var a=Hi(t,67108864);a!==null&&Wt(a,t,67108864),hf(t,67108864)}}var Ms=!0;function AC(t,a,o,s){var u=L.T;L.T=null;var f=ne.p;try{ne.p=2,mf(t,a,o,s)}finally{ne.p=f,L.T=u}}function _C(t,a,o,s){var u=L.T;L.T=null;var f=ne.p;try{ne.p=8,mf(t,a,o,s)}finally{ne.p=f,L.T=u}}function mf(t,a,o,s){if(Ms){var u=pf(s);if(u===null)tf(t,a,s,Ps,o),nb(t,s);else if(VC(u,t,a,o,s))s.stopPropagation();else if(nb(t,s),a&4&&-1<zC.indexOf(t)){for(;u!==null;){var f=ki(u);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var p=Fa(f.pendingLanes);if(p!==0){var y=f;for(y.pendingLanes|=2,y.entangledLanes|=2;p;){var R=1<<31-Lt(p);y.entanglements[1]|=R,p&=~R}Cn(f),(Ie&6)===0&&(xs=Qt()+500,To(0))}}break;case 13:y=Hi(f,2),y!==null&&Wt(y,f,2),Es(),hf(f,2)}if(f=pf(s),f===null&&tf(t,a,s,Ps,o),f===u)break;u=f}u!==null&&s.stopPropagation()}else tf(t,a,s,null,o)}}function pf(t){return t=xu(t),vf(t)}var Ps=null;function vf(t){if(Ps=null,t=Ti(t),t!==null){var a=c(t);if(a===null)t=null;else{var o=a.tag;if(o===13){if(t=d(a),t!==null)return t;t=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null)}}return Ps=t,null}function tb(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(lu()){case Hr:return 2;case kl:return 8;case ja:case Nl:return 32;case wi:return 268435456;default:return 32}default:return 32}}var bf=!1,Ta=null,ka=null,Na=null,Do=new Map,Mo=new Map,Aa=[],zC="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 nb(t,a){switch(t){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":ka=null;break;case"mouseover":case"mouseout":Na=null;break;case"pointerover":case"pointerout":Do.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mo.delete(a.pointerId)}}function Po(t,a,o,s,u,f){return t===null||t.nativeEvent!==f?(t={blockedOn:a,domEventName:o,eventSystemFlags:s,nativeEvent:f,targetContainers:[u]},a!==null&&(a=ki(a),a!==null&&eb(a)),t):(t.eventSystemFlags|=s,a=t.targetContainers,u!==null&&a.indexOf(u)===-1&&a.push(u),t)}function VC(t,a,o,s,u){switch(a){case"focusin":return Ta=Po(Ta,t,a,o,s,u),!0;case"dragenter":return ka=Po(ka,t,a,o,s,u),!0;case"mouseover":return Na=Po(Na,t,a,o,s,u),!0;case"pointerover":var f=u.pointerId;return Do.set(f,Po(Do.get(f)||null,t,a,o,s,u)),!0;case"gotpointercapture":return f=u.pointerId,Mo.set(f,Po(Mo.get(f)||null,t,a,o,s,u)),!0}return!1}function ab(t){var a=Ti(t.target);if(a!==null){var o=c(a);if(o!==null){if(a=o.tag,a===13){if(a=d(o),a!==null){t.blockedOn=a,R1(t.priority,function(){if(o.tag===13){var s=$t();s=cu(s);var u=Hi(o,s);u!==null&&Wt(u,o,s),hf(o,s)}});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ls(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var o=pf(t.nativeEvent);if(o===null){o=t.nativeEvent;var s=new o.constructor(o.type,o);yu=s,o.target.dispatchEvent(s),yu=null}else return a=ki(o),a!==null&&eb(a),t.blockedOn=o,!1;a.shift()}return!0}function ib(t,a,o){Ls(t)&&o.delete(a)}function IC(){bf=!1,Ta!==null&&Ls(Ta)&&(Ta=null),ka!==null&&Ls(ka)&&(ka=null),Na!==null&&Ls(Na)&&(Na=null),Do.forEach(ib),Mo.forEach(ib)}function Bs(t,a){t.blockedOn===a&&(t.blockedOn=null,bf||(bf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,IC)))}var Hs=null;function rb(t){Hs!==t&&(Hs=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Hs===t&&(Hs=null);for(var a=0;a<t.length;a+=3){var o=t[a],s=t[a+1],u=t[a+2];if(typeof s!="function"){if(vf(s||o)===null)continue;break}var f=ki(o);f!==null&&(t.splice(a,3),a-=3,pd(f,{pending:!0,data:u,method:o.method,action:s},s,u))}}))}function Lo(t){function a(R){return Bs(R,t)}Ta!==null&&Bs(Ta,t),ka!==null&&Bs(ka,t),Na!==null&&Bs(Na,t),Do.forEach(a),Mo.forEach(a);for(var o=0;o<Aa.length;o++){var s=Aa[o];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Aa.length&&(o=Aa[0],o.blockedOn===null);)ab(o),o.blockedOn===null&&Aa.shift();if(o=(t.ownerDocument||t).$$reactFormReplay,o!=null)for(s=0;s<o.length;s+=3){var u=o[s],f=o[s+1],p=u[kt]||null;if(typeof f=="function")p||rb(o);else if(p){var y=null;if(f&&f.hasAttribute("formAction")){if(u=f,p=f[kt]||null)y=p.formAction;else if(vf(u)!==null)continue}else y=p.action;typeof y=="function"?o[s+1]=y:(o.splice(s,3),s-=3),rb(o)}}}function yf(t){this._internalRoot=t}Us.prototype.render=yf.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,s=$t();Zv(o,s,t,a,null,null)},Us.prototype.unmount=yf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;Zv(t.current,2,null,t,null,null),Es(),a[Ri]=null}};function Us(t){this._internalRoot=t}Us.prototype.unstable_scheduleHydration=function(t){if(t){var a=Eh();t={blockedOn:null,target:t,priority:a};for(var o=0;o<Aa.length&&a!==0&&a<Aa[o].priority;o++);Aa.splice(o,0,t),o===0&&ab(t)}};var ob=n.version;if(ob!=="19.1.0")throw Error(r(527,ob,"19.1.0"));ne.findDOMNode=function(t){var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=h(a),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var DC={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var js=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!js.isDisabled&&js.supportsFiber)try{Ur=js.inject(DC),Pt=js}catch{}}return Ho.createRoot=function(t,a){if(!l(t))throw Error(r(299));var o=!1,s="",u=Ep,f=Cp,p=Op,y=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(p=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(y=a.unstable_transitionCallbacks)),a=Kv(t,1,!1,null,null,o,s,u,f,p,y,null),t[Ri]=a.current,ef(t),new yf(a)},Ho.hydrateRoot=function(t,a,o){if(!l(t))throw Error(r(299));var s=!1,u="",f=Ep,p=Cp,y=Op,R=null,D=null;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(u=o.identifierPrefix),o.onUncaughtError!==void 0&&(f=o.onUncaughtError),o.onCaughtError!==void 0&&(p=o.onCaughtError),o.onRecoverableError!==void 0&&(y=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(R=o.unstable_transitionCallbacks),o.formState!==void 0&&(D=o.formState)),a=Kv(t,1,!0,a,o??null,s,u,f,p,y,R,D),a.context=Qv(null),o=a.current,s=$t(),s=cu(s),u=ga(s),u.callback=null,ha(o,u,s),o=s,a.current.lanes=o,Fr(a,o),Cn(a),t[Ri]=a.current,ef(t),new Us(a)},Ho.version="19.1.0",Ho}var vb;function WC(){if(vb)return Ef.exports;vb=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(n){console.error(n)}}return e(),Ef.exports=$C(),Ef.exports}var GC=WC();const qC=Eg(GC),kn=(...e)=>e.filter(Boolean).map(n=>n.trim()).join(" ");function YC(e,n){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${n}`}function Jo(e={}){const{name:n,strict:i=!0,hookName:r="useContext",providerName:l="Provider",errorMessage:c,defaultValue:d}=e,g=N.createContext(d);g.displayName=n;function h(){const m=N.useContext(g);if(!m&&i){const v=new Error(c??YC(r,l));throw v.name="ContextError",Error.captureStackTrace?.(v,h),v}return m}return[g.Provider,h,g]}function XC(...e){return function(...i){e.forEach(r=>r?.(...i))}}const KC=(...e)=>e.map(n=>n?.trim?.()).filter(Boolean).join(" "),QC=/^on[A-Z]/;function al(...e){let n={};for(let i of e){for(let r in n){if(QC.test(r)&&typeof n[r]=="function"&&typeof i[r]=="function"){n[r]=XC(n[r],i[r]);continue}if(r==="className"||r==="class"){n[r]=KC(n[r],i[r]);continue}if(r==="style"){n[r]=Object.assign({},n[r]??{},i[r]??{});continue}n[r]=i[r]!==void 0?i[r]:n[r]}for(let r in i)n[r]===void 0&&(n[r]=i[r])}return n}const ZC=Object.freeze({}),JC=Object.freeze({});function b0(e){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=e(i)),n[i]}}var eO=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tO=b0(function(e){return eO.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function nO(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function aO(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var iO=function(){function e(i){var r=this;this._insertTag=function(l){var c;r.tags.length===0?r.insertionPoint?c=r.insertionPoint.nextSibling:r.prepend?c=r.container.firstChild:c=r.before:c=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(l,c),r.tags.push(l)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(r){r.forEach(this._insertTag)},n.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(aO(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var c=nO(l);try{c.insertRule(r,c.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(r));this.ctr++},n.flush=function(){this.tags.forEach(function(r){var l;return(l=r.parentNode)==null?void 0:l.removeChild(r)}),this.tags=[],this.ctr=0},e}(),wt="-ms-",Cc="-moz-",Ae="-webkit-",y0="comm",Og="rule",wg="decl",rO="@import",x0="@keyframes",oO="@layer",lO=Math.abs,Pc=String.fromCharCode,sO=Object.assign;function cO(e,n){return bt(e,0)^45?(((n<<2^bt(e,0))<<2^bt(e,1))<<2^bt(e,2))<<2^bt(e,3):0}function S0(e){return e.trim()}function uO(e,n){return(e=n.exec(e))?e[0]:e}function _e(e,n,i){return e.replace(n,i)}function Qf(e,n){return e.indexOf(n)}function bt(e,n){return e.charCodeAt(n)|0}function il(e,n,i){return e.slice(n,i)}function wn(e){return e.length}function Rg(e){return e.length}function Fs(e,n){return n.push(e),e}function dO(e,n){return e.map(n).join("")}var Lc=1,kr=1,E0=0,Dt=0,nt=0,_r="";function Bc(e,n,i,r,l,c,d){return{value:e,root:n,parent:i,type:r,props:l,children:c,line:Lc,column:kr,length:d,return:""}}function Uo(e,n){return sO(Bc("",null,null,"",null,null,0),e,{length:-e.length},n)}function fO(){return nt}function gO(){return nt=Dt>0?bt(_r,--Dt):0,kr--,nt===10&&(kr=1,Lc--),nt}function Xt(){return nt=Dt<E0?bt(_r,Dt++):0,kr++,nt===10&&(kr=1,Lc++),nt}function Nn(){return bt(_r,Dt)}function oc(){return Dt}function hl(e,n){return il(_r,e,n)}function rl(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C0(e){return Lc=kr=1,E0=wn(_r=e),Dt=0,[]}function O0(e){return _r="",e}function lc(e){return S0(hl(Dt-1,Zf(e===91?e+2:e===40?e+1:e)))}function hO(e){for(;(nt=Nn())&&nt<33;)Xt();return rl(e)>2||rl(nt)>3?"":" "}function mO(e,n){for(;--n&&Xt()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return hl(e,oc()+(n<6&&Nn()==32&&Xt()==32))}function Zf(e){for(;Xt();)switch(nt){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Zf(nt);break;case 40:e===41&&Zf(e);break;case 92:Xt();break}return Dt}function pO(e,n){for(;Xt()&&e+nt!==57;)if(e+nt===84&&Nn()===47)break;return"/*"+hl(n,Dt-1)+"*"+Pc(e===47?e:Xt())}function vO(e){for(;!rl(Nn());)Xt();return hl(e,Dt)}function bO(e){return O0(sc("",null,null,null,[""],e=C0(e),0,[0],e))}function sc(e,n,i,r,l,c,d,g,h){for(var m=0,v=0,x=d,b=0,S=0,C=0,E=1,w=1,O=1,z=0,k="",B=l,_=c,q=r,j=k;w;)switch(C=z,z=Xt()){case 40:if(C!=108&&bt(j,x-1)==58){Qf(j+=_e(lc(z),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:j+=lc(z);break;case 9:case 10:case 13:case 32:j+=hO(C);break;case 92:j+=mO(oc()-1,7);continue;case 47:switch(Nn()){case 42:case 47:Fs(yO(pO(Xt(),oc()),n,i),h);break;default:j+="/"}break;case 123*E:g[m++]=wn(j)*O;case 125*E:case 59:case 0:switch(z){case 0:case 125:w=0;case 59+v:O==-1&&(j=_e(j,/\f/g,"")),S>0&&wn(j)-x&&Fs(S>32?yb(j+";",r,i,x-1):yb(_e(j," ","")+";",r,i,x-2),h);break;case 59:j+=";";default:if(Fs(q=bb(j,n,i,m,v,l,g,k,B=[],_=[],x),c),z===123)if(v===0)sc(j,n,q,q,B,c,x,g,_);else switch(b===99&&bt(j,3)===110?100:b){case 100:case 108:case 109:case 115:sc(e,q,q,r&&Fs(bb(e,q,q,0,0,l,g,k,l,B=[],x),_),l,_,x,g,r?B:_);break;default:sc(j,q,q,q,[""],_,0,g,_)}}m=v=S=0,E=O=1,k=j="",x=d;break;case 58:x=1+wn(j),S=C;default:if(E<1){if(z==123)--E;else if(z==125&&E++==0&&gO()==125)continue}switch(j+=Pc(z),z*E){case 38:O=v>0?1:(j+="\f",-1);break;case 44:g[m++]=(wn(j)-1)*O,O=1;break;case 64:Nn()===45&&(j+=lc(Xt())),b=Nn(),v=x=wn(k=j+=vO(oc())),z++;break;case 45:C===45&&wn(j)==2&&(E=0)}}return c}function bb(e,n,i,r,l,c,d,g,h,m,v){for(var x=l-1,b=l===0?c:[""],S=Rg(b),C=0,E=0,w=0;C<r;++C)for(var O=0,z=il(e,x+1,x=lO(E=d[C])),k=e;O<S;++O)(k=S0(E>0?b[O]+" "+z:_e(z,/&\f/g,b[O])))&&(h[w++]=k);return Bc(e,n,i,l===0?Og:g,h,m,v)}function yO(e,n,i){return Bc(e,n,i,y0,Pc(fO()),il(e,2,-2),0)}function yb(e,n,i,r){return Bc(e,n,i,wg,il(e,0,r),il(e,r+1,-1),r)}function Or(e,n){for(var i="",r=Rg(e),l=0;l<r;l++)i+=n(e[l],l,e,n)||"";return i}function xO(e,n,i,r){switch(e.type){case oO:if(e.children.length)break;case rO:case wg:return e.return=e.return||e.value;case y0:return"";case x0:return e.return=e.value+"{"+Or(e.children,r)+"}";case Og:e.value=e.props.join(",")}return wn(i=Or(e.children,r))?e.return=e.value+"{"+i+"}":""}function SO(e){var n=Rg(e);return function(i,r,l,c){for(var d="",g=0;g<n;g++)d+=e[g](i,r,l,c)||"";return d}}function EO(e){return function(n){n.root||(n=n.return)&&e(n)}}var CO=function(n,i,r){for(var l=0,c=0;l=c,c=Nn(),l===38&&c===12&&(i[r]=1),!rl(c);)Xt();return hl(n,Dt)},OO=function(n,i){var r=-1,l=44;do switch(rl(l)){case 0:l===38&&Nn()===12&&(i[r]=1),n[r]+=CO(Dt-1,i,r);break;case 2:n[r]+=lc(l);break;case 4:if(l===44){n[++r]=Nn()===58?"&\f":"",i[r]=n[r].length;break}default:n[r]+=Pc(l)}while(l=Xt());return n},wO=function(n,i){return O0(OO(C0(n),i))},xb=new WeakMap,RO=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var i=n.value,r=n.parent,l=n.column===r.column&&n.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(n.props.length===1&&i.charCodeAt(0)!==58&&!xb.get(r))&&!l){xb.set(n,!0);for(var c=[],d=wO(i,c),g=r.props,h=0,m=0;h<d.length;h++)for(var v=0;v<g.length;v++,m++)n.props[m]=c[h]?d[h].replace(/&\f/g,g[v]):g[v]+" "+d[h]}}},TO=function(n){if(n.type==="decl"){var i=n.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(n.return="",n.value="")}};function w0(e,n){switch(cO(e,n)){case 5103:return Ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ae+e+Cc+e+wt+e+e;case 6828:case 4268:return Ae+e+wt+e+e;case 6165:return Ae+e+wt+"flex-"+e+e;case 5187:return Ae+e+_e(e,/(\w+).+(:[^]+)/,Ae+"box-$1$2"+wt+"flex-$1$2")+e;case 5443:return Ae+e+wt+"flex-item-"+_e(e,/flex-|-self/,"")+e;case 4675:return Ae+e+wt+"flex-line-pack"+_e(e,/align-content|flex-|-self/,"")+e;case 5548:return Ae+e+wt+_e(e,"shrink","negative")+e;case 5292:return Ae+e+wt+_e(e,"basis","preferred-size")+e;case 6060:return Ae+"box-"+_e(e,"-grow","")+Ae+e+wt+_e(e,"grow","positive")+e;case 4554:return Ae+_e(e,/([^-])(transform)/g,"$1"+Ae+"$2")+e;case 6187:return _e(_e(_e(e,/(zoom-|grab)/,Ae+"$1"),/(image-set)/,Ae+"$1"),e,"")+e;case 5495:case 3959:return _e(e,/(image-set\([^]*)/,Ae+"$1$`$1");case 4968:return _e(_e(e,/(.+:)(flex-)?(.*)/,Ae+"box-pack:$3"+wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ae+e+e;case 4095:case 3583:case 4068:case 2532:return _e(e,/(.+)-inline(.+)/,Ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(wn(e)-1-n>6)switch(bt(e,n+1)){case 109:if(bt(e,n+4)!==45)break;case 102:return _e(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+Cc+(bt(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~Qf(e,"stretch")?w0(_e(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(bt(e,n+1)!==115)break;case 6444:switch(bt(e,wn(e)-3-(~Qf(e,"!important")&&10))){case 107:return _e(e,":",":"+Ae)+e;case 101:return _e(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(bt(e,14)===45?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+wt+"$2box$3")+e}break;case 5936:switch(bt(e,n+11)){case 114:return Ae+e+wt+_e(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+wt+_e(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+wt+_e(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+wt+e+e}return e}var kO=function(n,i,r,l){if(n.length>-1&&!n.return)switch(n.type){case wg:n.return=w0(n.value,n.length);break;case x0:return Or([Uo(n,{value:_e(n.value,"@","@"+Ae)})],l);case Og:if(n.length)return dO(n.props,function(c){switch(uO(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Or([Uo(n,{props:[_e(c,/:(read-\w+)/,":"+Cc+"$1")]})],l);case"::placeholder":return Or([Uo(n,{props:[_e(c,/:(plac\w+)/,":"+Ae+"input-$1")]}),Uo(n,{props:[_e(c,/:(plac\w+)/,":"+Cc+"$1")]}),Uo(n,{props:[_e(c,/:(plac\w+)/,wt+"input-$1")]})],l)}return""})}},NO=[kO],AO=function(n){var i=n.key;if(i==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var w=E.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var l=n.stylisPlugins||NO,c={},d,g=[];d=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(E){for(var w=E.getAttribute("data-emotion").split(" "),O=1;O<w.length;O++)c[w[O]]=!0;g.push(E)});var h,m=[RO,TO];{var v,x=[xO,EO(function(E){v.insert(E)})],b=SO(m.concat(l,x)),S=function(w){return Or(bO(w),b)};h=function(w,O,z,k){v=z,S(w?w+"{"+O.styles+"}":O.styles),k&&(C.inserted[O.name]=!0)}}var C={key:i,sheet:new iO({key:i,container:d,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:c,registered:{},insert:h};return C.sheet.hydrate(g),C},Rf={exports:{}},Ve={};/** @license React v16.13.1
51
+ * react-is.production.min.js
52
+ *
53
+ * Copyright (c) Facebook, Inc. and its affiliates.
54
+ *
55
+ * This source code is licensed under the MIT license found in the
56
+ * LICENSE file in the root directory of this source tree.
57
+ */var Sb;function _O(){if(Sb)return Ve;Sb=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,z=e?Symbol.for("react.scope"):60119;function k(_){if(typeof _=="object"&&_!==null){var q=_.$$typeof;switch(q){case n:switch(_=_.type,_){case h:case m:case r:case c:case l:case x:return _;default:switch(_=_&&_.$$typeof,_){case g:case v:case C:case S:case d:return _;default:return q}}case i:return q}}}function B(_){return k(_)===m}return Ve.AsyncMode=h,Ve.ConcurrentMode=m,Ve.ContextConsumer=g,Ve.ContextProvider=d,Ve.Element=n,Ve.ForwardRef=v,Ve.Fragment=r,Ve.Lazy=C,Ve.Memo=S,Ve.Portal=i,Ve.Profiler=c,Ve.StrictMode=l,Ve.Suspense=x,Ve.isAsyncMode=function(_){return B(_)||k(_)===h},Ve.isConcurrentMode=B,Ve.isContextConsumer=function(_){return k(_)===g},Ve.isContextProvider=function(_){return k(_)===d},Ve.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===n},Ve.isForwardRef=function(_){return k(_)===v},Ve.isFragment=function(_){return k(_)===r},Ve.isLazy=function(_){return k(_)===C},Ve.isMemo=function(_){return k(_)===S},Ve.isPortal=function(_){return k(_)===i},Ve.isProfiler=function(_){return k(_)===c},Ve.isStrictMode=function(_){return k(_)===l},Ve.isSuspense=function(_){return k(_)===x},Ve.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===r||_===m||_===c||_===l||_===x||_===b||typeof _=="object"&&_!==null&&(_.$$typeof===C||_.$$typeof===S||_.$$typeof===d||_.$$typeof===g||_.$$typeof===v||_.$$typeof===w||_.$$typeof===O||_.$$typeof===z||_.$$typeof===E)},Ve.typeOf=k,Ve}var Eb;function zO(){return Eb||(Eb=1,Rf.exports=_O()),Rf.exports}var Tf,Cb;function VO(){if(Cb)return Tf;Cb=1;var e=zO(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[e.ForwardRef]=r,c[e.Memo]=l;function d(C){return e.isMemo(C)?l:c[C.$$typeof]||n}var g=Object.defineProperty,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,b=Object.prototype;function S(C,E,w){if(typeof E!="string"){if(b){var O=x(E);O&&O!==b&&S(C,O,w)}var z=h(E);m&&(z=z.concat(m(E)));for(var k=d(C),B=d(E),_=0;_<z.length;++_){var q=z[_];if(!i[q]&&!(w&&w[q])&&!(B&&B[q])&&!(k&&k[q])){var j=v(E,q);try{g(C,q,j)}catch{}}}}return C}return Tf=S,Tf}VO();var IO=!0;function R0(e,n,i){var r="";return i.split(" ").forEach(function(l){e[l]!==void 0?n.push(e[l]+";"):l&&(r+=l+" ")}),r}var Tg=function(n,i,r){var l=n.key+"-"+i.name;(r===!1||IO===!1)&&n.registered[l]===void 0&&(n.registered[l]=i.styles)},kg=function(n,i,r){Tg(n,i,r);var l=n.key+"-"+i.name;if(n.inserted[i.name]===void 0){var c=i;do n.insert(i===c?"."+l:"",c,n.sheet,!0),c=c.next;while(c!==void 0)}};function DO(e){for(var n=0,i,r=0,l=e.length;l>=4;++r,l-=4)i=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,n=(i&65535)*1540483477+((i>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(l){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var MO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},PO=/[A-Z]|^ms/g,LO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,T0=function(n){return n.charCodeAt(1)===45},Ob=function(n){return n!=null&&typeof n!="boolean"},kf=b0(function(e){return T0(e)?e:e.replace(PO,"-$&").toLowerCase()}),wb=function(n,i){switch(n){case"animation":case"animationName":if(typeof i=="string")return i.replace(LO,function(r,l,c){return Rn={name:l,styles:c,next:Rn},l})}return MO[n]!==1&&!T0(n)&&typeof i=="number"&&i!==0?i+"px":i};function ol(e,n,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":{var l=i;if(l.anim===1)return Rn={name:l.name,styles:l.styles,next:Rn},l.name;var c=i;if(c.styles!==void 0){var d=c.next;if(d!==void 0)for(;d!==void 0;)Rn={name:d.name,styles:d.styles,next:Rn},d=d.next;var g=c.styles+";";return g}return BO(e,n,i)}case"function":{if(e!==void 0){var h=Rn,m=i(e);return Rn=h,ol(e,n,m)}break}}var v=i;if(n==null)return v;var x=n[v];return x!==void 0?x:v}function BO(e,n,i){var r="";if(Array.isArray(i))for(var l=0;l<i.length;l++)r+=ol(e,n,i[l])+";";else for(var c in i){var d=i[c];if(typeof d!="object"){var g=d;n!=null&&n[g]!==void 0?r+=c+"{"+n[g]+"}":Ob(g)&&(r+=kf(c)+":"+wb(c,g)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(n==null||n[d[0]]===void 0))for(var h=0;h<d.length;h++)Ob(d[h])&&(r+=kf(c)+":"+wb(c,d[h])+";");else{var m=ol(e,n,d);switch(c){case"animation":case"animationName":{r+=kf(c)+":"+m+";";break}default:r+=c+"{"+m+"}"}}}return r}var Rb=/label:\s*([^\s;{]+)\s*(;|$)/g,Rn;function Ng(e,n,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,l="";Rn=void 0;var c=e[0];if(c==null||c.raw===void 0)r=!1,l+=ol(i,n,c);else{var d=c;l+=d[0]}for(var g=1;g<e.length;g++)if(l+=ol(i,n,e[g]),r){var h=c;l+=h[g]}Rb.lastIndex=0;for(var m="",v;(v=Rb.exec(l))!==null;)m+="-"+v[1];var x=DO(l)+m;return{name:x,styles:l,next:Rn}}var HO=function(n){return n()},k0=db.useInsertionEffect?db.useInsertionEffect:!1,N0=k0||HO,Tb=k0||N.useLayoutEffect,A0=N.createContext(typeof HTMLElement<"u"?AO({key:"css"}):null);A0.Provider;var Ag=function(n){return N.forwardRef(function(i,r){var l=N.useContext(A0);return n(i,l,r)})},_g=N.createContext({}),zg={}.hasOwnProperty,Jf="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",UO=function(n,i){var r={};for(var l in i)zg.call(i,l)&&(r[l]=i[l]);return r[Jf]=n,r},jO=function(n){var i=n.cache,r=n.serialized,l=n.isStringTag;return Tg(i,r,l),N0(function(){return kg(i,r,l)}),null},FO=Ag(function(e,n,i){var r=e.css;typeof r=="string"&&n.registered[r]!==void 0&&(r=n.registered[r]);var l=e[Jf],c=[r],d="";typeof e.className=="string"?d=R0(n.registered,c,e.className):e.className!=null&&(d=e.className+" ");var g=Ng(c,void 0,N.useContext(_g));d+=n.key+"-"+g.name;var h={};for(var m in e)zg.call(e,m)&&m!=="css"&&m!==Jf&&(h[m]=e[m]);return h.className=d,i&&(h.ref=i),N.createElement(N.Fragment,null,N.createElement(jO,{cache:n,serialized:g,isStringTag:typeof l=="string"}),N.createElement(l,h))}),$O=FO,kb=function(n,i){var r=arguments;if(i==null||!zg.call(i,"css"))return N.createElement.apply(void 0,r);var l=r.length,c=new Array(l);c[0]=$O,c[1]=UO(n,i);for(var d=2;d<l;d++)c[d]=r[d];return N.createElement.apply(null,c)};(function(e){var n;n||(n=e.JSX||(e.JSX={}))})(kb||(kb={}));var Nb=Ag(function(e,n){var i=e.styles,r=Ng([i],void 0,N.useContext(_g)),l=N.useRef();return Tb(function(){var c=n.key+"-global",d=new n.sheet.constructor({key:c,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),g=!1,h=document.querySelector('style[data-emotion="'+c+" "+r.name+'"]');return n.sheet.tags.length&&(d.before=n.sheet.tags[0]),h!==null&&(g=!0,h.setAttribute("data-emotion",c),d.hydrate([h])),l.current=[d,g],function(){d.flush()}},[n]),Tb(function(){var c=l.current,d=c[0],g=c[1];if(g){c[1]=!1;return}if(r.next!==void 0&&kg(n,r.next,!0),d.tags.length){var h=d.tags[d.tags.length-1].nextElementSibling;d.before=h,d.flush()}n.insert("",r,d,!1)},[n,r.name]),null});function WO(e,n){if(e!=null){if(typeof e=="function"){e(n);return}try{e.current=n}catch{throw new Error(`Cannot assign value '${n}' to ref '${e}'`)}}}function GO(...e){return n=>{e.forEach(i=>{WO(i,n)})}}function ml(e){const n=Object.assign({},e);for(let i in n)n[i]===void 0&&delete n[i];return n}function qO(e){return e.default||e}const Vt=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),_n=e=>typeof e=="string",Vg=e=>typeof e=="function";function YO(e){const n=N.version;return!_n(n)||n.startsWith("18.")?e?.ref:e?.props?.ref}const _0=(...e)=>{const n=e.reduce((i,r)=>(r?.forEach(l=>i.add(l)),i),new Set([]));return Array.from(n)},[XO,Hc]=Jo({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function KO(e){const{value:n,children:i}=e;return J.jsxs(XO,{value:n,children:[!n._config.disableLayers&&J.jsx(Nb,{styles:n.layers.atRule}),J.jsx(Nb,{styles:n._global}),i]})}const QO=(e,n)=>{const i={},r={},l=Object.keys(e);for(const c of l)n(c)?r[c]=e[c]:i[c]=e[c];return[r,i]},wr=(e,n)=>{const i=Vg(n)?n:r=>n.includes(r);return QO(e,i)},ZO=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function JO(e){return typeof e=="string"&&ZO.has(e)}function ew(e,n,i){const{css:r,isValidProperty:l}=Hc(),{children:c,...d}=e,g=N.useMemo(()=>{const[b,S]=wr(d,z=>i(z,n.variantKeys)),[C,E]=wr(S,n.variantKeys),[w,O]=wr(E,l);return{forwardedProps:b,variantProps:C,styleProps:w,elementProps:O}},[n.variantKeys,i,d,l]),{css:h,...m}=g.styleProps,v=N.useMemo(()=>{const b={...g.variantProps};return n.variantKeys.includes("colorPalette")||(b.colorPalette=d.colorPalette),n.variantKeys.includes("orientation")||(b.orientation=d.orientation),n(b)},[n,g.variantProps,d.colorPalette,d.orientation]);return{styles:N.useMemo(()=>r(v,...tw(h),m),[r,v,h,m]),props:{...g.forwardedProps,...g.elementProps,children:c}}}const tw=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),nw=qO(tO),aw=nw,iw=e=>e!=="theme",rw=(e,n,i)=>{let r;if(n){const l=n.shouldForwardProp;r=e.__emotion_forwardProp&&l?c=>e.__emotion_forwardProp(c)&&l(c):l}return typeof r!="function"&&i&&(r=e.__emotion_forwardProp),r};let ow=typeof document<"u";const Ab=({cache:e,serialized:n,isStringTag:i})=>{Tg(e,n,i);const r=N0(()=>kg(e,n,i));if(!ow&&r!==void 0){let l=n.name,c=n.next;for(;c!==void 0;)l=kn(l,c.name),c=c.next;return J.jsx("style",{"data-emotion":kn(e.key,l),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},_b={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},lw=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),sw=(e,n={},i={})=>{if(lw(_b,e)){i.forwardProps||(i.forwardProps=[]);const m=_b[e];i.forwardProps=_0([...i.forwardProps,...m])}const r=e.__emotion_real===e,l=r&&e.__emotion_base||e;let c,d;i!==void 0&&(c=i.label,d=i.target);let g=[];const h=Ag((m,v,x)=>{const{cva:b,isValidProperty:S}=Hc(),C=n.__cva__?n:b(n),E=uw(e.__emotion_cva,C),w=ie=>(fe,L)=>ie.includes(fe)?!0:!L?.includes(fe)&&!S(fe);!i.shouldForwardProp&&i.forwardProps&&(i.shouldForwardProp=w(i.forwardProps));const O=(ie,fe)=>{const L=typeof e=="string"&&e.charCodeAt(0)>96?aw:iw,ne=!fe?.includes(ie)&&!S(ie);return L(ie)&&ne},z=rw(e,i,r)||O,k=N.useMemo(()=>Object.assign({},i.defaultProps,ml(m)),[m]),{props:B,styles:_}=ew(k,E,z);let q="",j=[_],H=B;if(B.theme==null){H={};for(let ie in B)H[ie]=B[ie];H.theme=N.useContext(_g)}typeof B.className=="string"?q=R0(v.registered,j,B.className):B.className!=null&&(q=kn(q,B.className));const U=Ng(g.concat(j),v.registered,H);q=kn(q,`${v.key}-${U.name}`),d!==void 0&&(q=kn(q,d));const X=!z("as");let K=X&&B.as||l,Y={};for(let ie in B)if(!(X&&ie==="as")){if(JO(ie)){const fe=ie.replace("html","").toLowerCase();Y[fe]=B[ie];continue}z(ie)&&(Y[ie]=B[ie])}Y.className=q.trim(),Y.ref=x;const le=i.forwardAsChild||i.forwardProps?.includes("asChild");if(B.asChild&&!le){const ie=N.Children.only(B.children);K=ie.type,Y.children=null,Reflect.deleteProperty(Y,"asChild"),Y=al(Y,ie.props),Y.ref=GO(x,YO(ie))}return Y.as&&le?(Y.as=void 0,J.jsxs(N.Fragment,{children:[J.jsx(Ab,{cache:v,serialized:U,isStringTag:typeof K=="string"}),J.jsx(K,{asChild:!0,...Y,children:J.jsx(B.as,{children:Y.children})})]})):J.jsxs(N.Fragment,{children:[J.jsx(Ab,{cache:v,serialized:U,isStringTag:typeof K=="string"}),J.jsx(K,{...Y})]})});return h.displayName=c!==void 0?c:`chakra(${typeof l=="string"?l:l.displayName||l.name||"Component"})`,h.__emotion_real=h,h.__emotion_base=l,h.__emotion_forwardProp=i.shouldForwardProp,h.__emotion_cva=n,Object.defineProperty(h,"toString",{value(){return`.${d}`}}),h},Nf=sw.bind(),Af=new Map,cw=new Proxy(Nf,{apply(e,n,i){return Nf(...i)},get(e,n){return Af.has(n)||Af.set(n,Nf(n)),Af.get(n)}}),Pa=cw,uw=(e,n)=>e&&!n?e:!e&&n?n:e.merge(n);function dw(e){const{key:n,recipe:i}=e,r=Hc();return N.useMemo(()=>{const l=i||(n!=null?r.getRecipe(n):{});return r.cva(structuredClone(l))},[n,i,r])}const fw=e=>e.charAt(0).toUpperCase()+e.slice(1);function pl(e){const{key:n,recipe:i}=e,r=fw(n||i.className||"Component"),[l,c]=Jo({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function d(m){const{unstyled:v,...x}=m,b=dw({key:n,recipe:x.recipe||i}),[S,C]=N.useMemo(()=>b.splitVariantProps(x),[b,x]);return{styles:v?ZC:b(S),className:b.className,props:C}}const g=(m,v)=>{const x=Pa(m,{},v),b=N.forwardRef((S,C)=>{const E=c(),w=N.useMemo(()=>al(E,S),[S,E]),{styles:O,className:z,props:k}=d(w);return J.jsx(x,{...k,ref:C,css:[O,w.css],className:kn(z,w.className)})});return b.displayName=m.displayName||m.name,b};function h(){return l}return{withContext:g,PropsProvider:l,withPropsProvider:h,usePropsContext:c,useRecipeResult:d}}function cc(e){return e==null?[]:Array.isArray(e)?e:[e]}var Rr=e=>e[0],Uc=e=>e[e.length-1],gw=(e,n)=>e.indexOf(n)!==-1,mi=(e,...n)=>e.concat(n),bi=(e,...n)=>e.filter(i=>!n.includes(i)),Sr=e=>Array.from(new Set(e)),_f=(e,n)=>{const i=new Set(n);return e.filter(r=>!i.has(r))},Nr=(e,n)=>gw(e,n)?bi(e,n):mi(e,n);function z0(e,n,i={}){const{step:r=1,loop:l=!0}=i,c=n+r,d=e.length,g=d-1;return n===-1?r>0?0:g:c<0?l?g:0:c>=d?l?0:n>d?d:n:c}function hw(e,n,i={}){return e[z0(e,n,i)]}function mw(e,n,i={}){const{step:r=1,loop:l=!0}=i;return z0(e,n,{step:-r,loop:l})}function pw(e,n,i={}){return e[mw(e,n,i)]}function zb(e,n){return e.reduce(([i,r],l)=>(n(l)?i.push(l):r.push(l),[i,r]),[[],[]])}var Vb=e=>e?.constructor.name==="Array",vw=(e,n)=>{if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++)if(!mn(e[i],n[i]))return!1;return!0},mn=(e,n)=>{if(Object.is(e,n))return!0;if(e==null&&n!=null||e!=null&&n==null)return!1;if(typeof e?.isEqual=="function"&&typeof n?.isEqual=="function")return e.isEqual(n);if(typeof e=="function"&&typeof n=="function")return e.toString()===n.toString();if(Vb(e)&&Vb(n))return vw(Array.from(e),Array.from(n));if(typeof e!="object"||typeof n!="object")return!1;const i=Object.keys(n??Object.create(null)),r=i.length;for(let l=0;l<r;l++)if(!Reflect.has(e,i[l]))return!1;for(let l=0;l<r;l++){const c=i[l];if(!mn(e[c],n[c]))return!1}return!0},Yo=e=>Array.isArray(e),bw=e=>e===!0||e===!1,V0=e=>e!=null&&typeof e=="object",pi=e=>V0(e)&&!Yo(e),uc=e=>typeof e=="string",vi=e=>typeof e=="function",yw=e=>e==null,Da=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),xw=e=>Object.prototype.toString.call(e),I0=Function.prototype.toString,Sw=I0.call(Object),Ew=e=>{if(!V0(e)||xw(e)!="[object Object]"||ww(e))return!1;const n=Object.getPrototypeOf(e);if(n===null)return!0;const i=Da(n,"constructor")&&n.constructor;return typeof i=="function"&&i instanceof i&&I0.call(i)==Sw},Cw=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Ow=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,ww=e=>Cw(e)||Ow(e),Rw=(e,...n)=>(typeof e=="function"?e(...n):e)??void 0,Tw=e=>e(),kw=()=>{},Oc=(...e)=>(...n)=>{e.forEach(function(i){i?.(...n)})};function Jn(e,n,...i){if(e in n){const l=n[e];return vi(l)?l(...i):l}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(n))}`);throw Error.captureStackTrace?.(r,Jn),r}var D0=(e,n)=>{try{return e()}catch(i){return i instanceof Error&&Error.captureStackTrace?.(i,D0),n?.()}},{floor:M0,abs:Ib,round:jc,min:Nw,max:Aw,pow:_w,sign:zw}=Math,eg=e=>Number.isNaN(e),ta=e=>eg(e)?0:e,P0=(e,n)=>(e%n+n)%n,Vw=(e,n)=>(e%n+n)%n,Iw=(e,n)=>ta(e)>=n,Dw=(e,n)=>ta(e)<=n,Mw=(e,n,i)=>ta(e)>=n&&ta(e)<=i,Pw=(e,n,i)=>jc((ta(e)-n)/i)*i+n,It=(e,n,i)=>Nw(Aw(ta(e),n),i),Lw=(e,n,i)=>(ta(e)-n)/(i-n),Bw=(e,n,i,r)=>It(Pw(e*(i-n)+n,n,r),n,i),Db=(e,n)=>{let i=e,r=n.toString(),l=r.indexOf("."),c=l>=0?r.length-l:0;if(c>0){let d=_w(10,c);i=jc(i*d)/d}return i},zf=(e,n)=>typeof n=="number"?M0(e*n+.5)/n:jc(e),Mb=(e,n,i,r)=>{const l=n!=null?Number(n):0,c=Number(i),d=(e-l)%r;let g=Ib(d)*2>=r?e+zw(d)*(r-Ib(d)):e-d;if(g=Db(g,r),!eg(l)&&g<l)g=l;else if(!eg(c)&&g>c){const h=M0((c-l)/r),m=l+h*r;g=h<=0||m<l?c:m}return Db(g,r)},Fe=(e,n=0,i=10)=>{const r=Math.pow(i,n);return jc(e*r)/r},Pb=e=>{if(!Number.isFinite(e))return 0;let n=1,i=0;for(;Math.round(e*n)/n!==e;)n*=10,i+=1;return i},L0=(e,n,i)=>{let r=n==="+"?e+i:e-i;if(e%1!==0||i%1!==0){const l=10**Math.max(Pb(e),Pb(i));e=Math.round(e*l),i=Math.round(i*l),r=n==="+"?e+i:e-i,r/=l}return r},Hw=(e,n)=>L0(ta(e),"+",n),Uw=(e,n)=>L0(ta(e),"-",n);function Fc(e){if(!Ew(e)||e===void 0)return e;const n=Reflect.ownKeys(e).filter(r=>typeof r=="string"),i={};for(const r of n){const l=e[r];l!==void 0&&(i[r]=Fc(l))}return i}function wc(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function B0(e,n){if(e==null)throw new Error(n())}function jw(e,n){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${n}`}function vl(e={}){const{name:n,strict:i=!0,hookName:r="useContext",providerName:l="Provider",errorMessage:c,defaultValue:d}=e,g=N.createContext(d);g.displayName=n;function h(){const m=N.useContext(g);if(!m&&i){const v=new Error(c??jw(r,l));throw v.name="ContextError",Error.captureStackTrace?.(v,h),v}return m}return[g.Provider,h,g]}const[nM,Fw]=vl({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function $w(e){if(!e)return;const n=e.selectionStart??0,i=e.selectionEnd??0;Math.abs(i-n)===0&&n===0&&e.setSelectionRange(e.value.length,e.value.length)}var Lb=e=>Math.max(0,Math.min(1,e)),Ww=(e,n)=>e.map((i,r)=>e[(Math.max(n,0)+r)%e.length]),Gw=()=>{},$c=e=>typeof e=="object"&&e!==null,qw=2147483647,li=e=>e?"":void 0,Yw=1,Xw=9,Kw=11,xt=e=>$c(e)&&e.nodeType===Yw&&typeof e.nodeName=="string",H0=e=>$c(e)&&e.nodeType===Xw,Qw=e=>$c(e)&&e===e.window,U0=e=>xt(e)?e.localName||"":"#document";function Zw(e){return["html","body","#document"].includes(U0(e))}var Jw=e=>$c(e)&&e.nodeType!==void 0,ll=e=>Jw(e)&&e.nodeType===Kw&&"host"in e,eR=e=>xt(e)&&e.localName==="input",tR=e=>!!e?.matches("a[href]"),nR=e=>xt(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1,aR=/(textarea|select)/;function iR(e){if(e==null||!xt(e))return!1;try{return eR(e)&&e.selectionStart!=null||aR.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function Ma(e,n){if(!e||!n||!xt(e)||!xt(n))return!1;const i=n.getRootNode?.();if(e===n||e.contains(n))return!0;if(i&&ll(i)){let r=n;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function oa(e){return H0(e)?e:Qw(e)?e.document:e?.ownerDocument??document}function rR(e){return oa(e).documentElement}function St(e){return ll(e)?St(e.host):H0(e)?e.defaultView??window:xt(e)?e.ownerDocument?.defaultView??window:window}function oR(e){let n=e.activeElement;for(;n?.shadowRoot;){const i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function lR(e){if(U0(e)==="html")return e;const n=e.assignedSlot||e.parentNode||ll(e)&&e.host||rR(e);return ll(n)?n.host:n}var Vf=new WeakMap;function j0(e){return Vf.has(e)||Vf.set(e,St(e).getComputedStyle(e)),Vf.get(e)}var Wc=()=>typeof document<"u";function sR(){return navigator.userAgentData?.platform??navigator.platform}function cR(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:n,version:i})=>`${n}/${i}`).join(" "):navigator.userAgent}var Ig=e=>Wc()&&e.test(sR()),F0=e=>Wc()&&e.test(cR()),uR=e=>Wc()&&e.test(navigator.vendor),Bb=()=>Wc()&&!!navigator.maxTouchPoints,dR=()=>Ig(/^iPhone/i),fR=()=>Ig(/^iPad/i)||bl()&&navigator.maxTouchPoints>1,Dg=()=>dR()||fR(),gR=()=>bl()||Dg(),bl=()=>Ig(/^Mac/i),Mg=()=>gR()&&uR(/apple/i),hR=()=>F0(/Firefox/i),mR=()=>F0(/Android/i);function pR(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function zn(e){return pR(e)?.[0]??e.target}var vR=e=>Ma(e.currentTarget,zn(e));function bR(e){const n=e.currentTarget;if(!n||!n.matches("a[href], button[type='submit'], input[type='submit']"))return!1;const r=e.button===1,l=yR(e);return r||l}function $0(e){return wR(e).isComposing||e.keyCode===229}function yR(e){return bl()?e.metaKey:e.ctrlKey}function xR(e){return e.mozInputSource===0&&e.isTrusted?!0:mR()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var SR=e=>e.button===2||bl()&&e.ctrlKey&&e.button===0,ER=e=>"touches"in e&&e.touches.length>0,CR={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},Hb={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function OR(e,n={}){const{dir:i="ltr",orientation:r="horizontal"}=n;let l=e.key;return l=CR[l]??l,i==="rtl"&&r==="horizontal"&&l in Hb&&(l=Hb[l]),l}function wR(e){return e.nativeEvent??e}function RR(e,n="client"){const i=ER(e)?e.touches[0]||e.changedTouches[0]:e;return{x:i[`${n}X`],y:i[`${n}Y`]}}var yt=(e,n,i,r)=>{const l=typeof e=="function"?e():e;return l?.addEventListener(n,i,r),()=>{l?.removeEventListener(n,i,r)}};function TR(e,n){const{type:i="HTMLInputElement",property:r="value"}=n,l=St(e)[i].prototype;return Object.getOwnPropertyDescriptor(l,r)??{}}function kR(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function Gc(e,n,i="value"){if(!e)return;const r=kR(e);r&&TR(e,{type:r,property:i}).set?.call(e,n),e.setAttribute(i,n)}function NR(e,n){const{value:i,bubbles:r=!0}=n;if(!e)return;const l=St(e);e instanceof l.HTMLInputElement&&(Gc(e,`${i}`),e.dispatchEvent(new l.Event("input",{bubbles:r})))}function AR(e){return _R(e)?e.form:e.closest("form")}function _R(e){return e.matches("textarea, input, select, button")}function zR(e,n){if(!e)return;const i=AR(e),r=l=>{l.defaultPrevented||n()};return i?.addEventListener("reset",r,{passive:!0}),()=>i?.removeEventListener("reset",r)}function VR(e,n){const i=e?.closest("fieldset");if(!i)return;n(i.disabled);const r=St(i),l=new r.MutationObserver(()=>n(i.disabled));return l.observe(i,{attributes:!0,attributeFilter:["disabled"]}),()=>l.disconnect()}function Pg(e,n){if(!e)return;const{onFieldsetDisabledChange:i,onFormReset:r}=n,l=[zR(e,r),VR(e,i)];return()=>l.forEach(c=>c?.())}var W0=e=>xt(e)&&e.tagName==="IFRAME",IR=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,Lg="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",G0=(e,n=!1)=>{if(!e)return[];const i=Array.from(e.querySelectorAll(Lg));(n==!0||n=="if-empty"&&i.length===0)&&xt(e)&&sl(e)&&i.unshift(e);const l=i.filter(sl);return l.forEach((c,d)=>{if(W0(c)&&c.contentDocument){const g=c.contentDocument.body;l.splice(d,1,...G0(g))}}),l};function sl(e){return!e||e.closest("[inert]")?!1:e.matches(Lg)&&nR(e)}function q0(e,n){if(!e)return[];const r=Array.from(e.querySelectorAll(Lg)).filter(DR);return r.forEach((l,c)=>{if(W0(l)&&l.contentDocument){const d=l.contentDocument.body,g=q0(d);r.splice(c,1,...g)}}),r.length,r}function DR(e){return e!=null&&e.tabIndex>0?!0:sl(e)&&!IR(e)}function Bg(e){const{root:n,getInitialEl:i,filter:r,enabled:l=!0}=e;if(!l)return;let c=null;if(c||(c=typeof i=="function"?i():i),c||(c=n?.querySelector("[data-autofocus],[autofocus]")),!c){const d=q0(n);c=r?d.filter(r)[0]:d[0]}return c||n||void 0}function qc(e){const n=new Set;function i(r){const l=globalThis.requestAnimationFrame(r);n.add(()=>globalThis.cancelAnimationFrame(l))}return i(()=>i(e)),function(){n.forEach(l=>l())}}function xe(e){let n;const i=globalThis.requestAnimationFrame(()=>{n=e()});return()=>{globalThis.cancelAnimationFrame(i),n?.()}}function MR(e,n,i){const r=xe(()=>{e.removeEventListener(n,l,!0),i()}),l=()=>{r(),i()};return e.addEventListener(n,l,{once:!0,capture:!0}),r}function PR(e,n){if(!e)return;const{attributes:i,callback:r}=n,l=e.ownerDocument.defaultView||window,c=new l.MutationObserver(d=>{for(const g of d)g.type==="attributes"&&g.attributeName&&i.includes(g.attributeName)&&r(g)});return c.observe(e,{attributes:!0,attributeFilter:i}),()=>c.disconnect()}function Yc(e,n){const{defer:i}=n,r=i?xe:c=>c(),l=[];return l.push(r(()=>{const c=typeof e=="function"?e():e;l.push(PR(c,n))})),()=>{l.forEach(c=>c?.())}}function Hg(e){const n=()=>{const i=St(e);e.dispatchEvent(new i.MouseEvent("click"))};hR()?MR(e,"keyup",n):queueMicrotask(n)}function Rc(e){const n=lR(e);return Zw(n)?oa(n).body:xt(n)&&Ug(n)?n:Rc(n)}function Y0(e,n=[]){const i=Rc(e),r=i===e.ownerDocument.body,l=St(i);return r?n.concat(l,l.visualViewport||[],Ug(i)?i:[]):n.concat(i,Y0(i,[]))}var LR=/auto|scroll|overlay|hidden|clip/,BR=new Set(["inline","contents"]);function Ug(e){const n=St(e),{overflow:i,overflowX:r,overflowY:l,display:c}=n.getComputedStyle(e);return LR.test(i+l+r)&&!BR.has(c)}function HR(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function Tc(e,n){const{rootEl:i,...r}=n||{};!e||!i||!Ug(i)||!HR(i)||e.scrollIntoView(r)}function X0(e,n){const{left:i,top:r,width:l,height:c}=n.getBoundingClientRect(),d={x:e.x-i,y:e.y-r},g={x:Lb(d.x/l),y:Lb(d.y/c)};function h(m={}){const{dir:v="ltr",orientation:x="horizontal",inverted:b}=m,S=typeof b=="object"?b.x:b,C=typeof b=="object"?b.y:b;return x==="horizontal"?v==="rtl"||S?1-g.x:g.x:C?1-g.y:g.y}return{offset:d,percent:g,getPercentValue:h}}function UR(e,n){const i=e.body,r="pointerLockElement"in e||"mozPointerLockElement"in e,l=()=>!!e.pointerLockElement;function c(){}function d(h){l(),console.error("PointerLock error occurred:",h),e.exitPointerLock()}if(!r)return;try{i.requestPointerLock()}catch{}const g=[yt(e,"pointerlockchange",c,!1),yt(e,"pointerlockerror",d,!1)];return()=>{g.forEach(h=>h()),e.exitPointerLock()}}var Er="default",tg="",dc=new WeakMap;function jR(e={}){const{target:n,doc:i}=e,r=i??document,l=r.documentElement;return Dg()?(Er==="default"&&(tg=l.style.webkitUserSelect,l.style.webkitUserSelect="none"),Er="disabled"):n&&(dc.set(n,n.style.userSelect),n.style.userSelect="none"),()=>FR({target:n,doc:r})}function FR(e={}){const{target:n,doc:i}=e,l=(i??document).documentElement;if(Dg()){if(Er!=="disabled")return;Er="restoring",setTimeout(()=>{qc(()=>{Er==="restoring"&&(l.style.webkitUserSelect==="none"&&(l.style.webkitUserSelect=tg||""),tg="",Er="default")})},300)}else if(n&&dc.has(n)){const c=dc.get(n);n.style.userSelect==="none"&&(n.style.userSelect=c??""),n.getAttribute("style")===""&&n.removeAttribute("style"),dc.delete(n)}}function K0(e={}){const{defer:n,target:i,...r}=e,l=n?xe:d=>d(),c=[];return c.push(l(()=>{const d=typeof i=="function"?i():i;c.push(jR({...r,target:d}))})),()=>{c.forEach(d=>d?.())}}function $R(e,n){const{onPointerMove:i,onPointerUp:r}=n,c=[yt(e,"pointermove",d=>{const g=RR(d),h=Math.sqrt(g.x**2+g.y**2),m=d.pointerType==="touch"?10:5;if(!(h<m)){if(d.pointerType==="mouse"&&d.button===0){r();return}i({point:g,event:d})}},!1),yt(e,"pointerup",r,!1),yt(e,"pointercancel",r,!1),yt(e,"contextmenu",r,!1),K0({doc:e})];return()=>{c.forEach(d=>d())}}function cl(e,n){return Array.from(e?.querySelectorAll(n)??[])}function WR(e,n){return e?.querySelector(n)??null}var jg=e=>e.id;function Q0(e,n,i=jg){return e.find(r=>i(r)===n)}function Fg(e,n,i=jg){const r=Q0(e,n,i);return r?e.indexOf(r):-1}function Z0(e,n,i=!0){let r=Fg(e,n);return r=i?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function J0(e,n,i=!0){let r=Fg(e,n);return r===-1?i?e[e.length-1]:null:(r=i?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function GR(e,n){const{onEntry:i,measure:r,box:l="border-box"}=n,c=(Array.isArray(e)?e:[e]).filter(xt),d=St(c[0]),g=m=>{const v=c.map(x=>r(x));i({rects:v,entries:m})};g([]);const h=new d.ResizeObserver(g);return c.forEach(m=>h.observe(m,{box:l})),()=>h.disconnect()}var qR=e=>e.split("").map(n=>{const i=n.charCodeAt(0);return i>0&&i<128?n:i>=128&&i<=255?`/x${i.toString(16)}`.replace("/","\\"):""}).join("").trim(),YR=e=>qR(e.dataset?.valuetext??e.textContent??""),XR=(e,n)=>e.trim().toLowerCase().startsWith(n.toLowerCase());function KR(e,n,i,r=jg){const l=i?Fg(e,i,r):-1;let c=i?Ww(e,l):e;return n.length===1&&(c=c.filter(g=>r(g)!==i)),c.find(g=>XR(YR(g),n))}function ex(e,n){if(!e)return Gw;const i=Object.keys(n).reduce((r,l)=>(r[l]=e.style.getPropertyValue(l),r),{});return Object.assign(e.style,n),()=>{Object.assign(e.style,i),e.style.length===0&&e.removeAttribute("style")}}function QR(e,n){const{state:i,activeId:r,key:l,timeout:c=350,itemToId:d}=n,g=i.keysSoFar+l,m=g.length>1&&Array.from(g).every(C=>C===g[0])?g[0]:g;let v=e.slice();const x=KR(v,m,r,d);function b(){clearTimeout(i.timer),i.timer=-1}function S(C){i.keysSoFar=C,b(),C!==""&&(i.timer=+setTimeout(()=>{S(""),b()},c))}return S(g),x}var ul=Object.assign(QR,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:ZR});function ZR(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}var JR=1e3/60;function eT(e,n){const i=e();if(xt(i)&&i.isConnected)return n(i),()=>{};{const r=setInterval(()=>{const l=e();xt(l)&&l.isConnected&&(n(l),clearInterval(r))},JR);return()=>clearInterval(r)}}function tT(e,n){const i=[];return e?.forEach(r=>{const l=eT(r,n);i.push(l)}),()=>{i.forEach(r=>r())}}var nT=(...e)=>e.map(n=>n?.trim?.()).filter(Boolean).join(" "),aT=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Ub=e=>{const n={};let i;for(;i=aT.exec(e);)n[i[1]]=i[2];return n},iT=(e,n)=>{if(uc(e)){if(uc(n))return`${e};${n}`;e=Ub(e)}else uc(n)&&(n=Ub(n));return Object.assign({},e??{},n??{})};function Ei(...e){let n={};for(let i of e){for(let r in n){if(r.startsWith("on")&&typeof n[r]=="function"&&typeof i[r]=="function"){n[r]=Oc(i[r],n[r]);continue}if(r==="className"||r==="class"){n[r]=nT(n[r],i[r]);continue}if(r==="style"){n[r]=iT(n[r],i[r]);continue}n[r]=i[r]!==void 0?i[r]:n[r]}for(let r in i)n[r]===void 0&&(n[r]=i[r])}return n}function jb(e,n,i){let r=[],l;return c=>{const d=e(c);return(d.length!==r.length||d.some((h,m)=>!mn(r[m],h)))&&(r=d,l=n(...d)),l}}function Ha(){return{and:(...e)=>function(i){return e.every(r=>i.guard(r))},or:(...e)=>function(i){return e.some(r=>i.guard(r))},not:e=>function(i){return!i.guard(e)}}}function $g(){return{guards:Ha(),createMachine:e=>e,choose:e=>function({choose:i}){return i(e)?.actions}}}var mr=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(mr||{}),If="__init__";function rT(e){const n=()=>e.getRootNode?.()??document,i=()=>oa(n()),r=()=>i().defaultView??window,l=()=>oR(n());return{...e,getRootNode:n,getDoc:i,getWin:r,getActiveElement:l,isActiveElement:g=>g===l(),getById:g=>n().getElementById(g)}}function tx(...e){return n=>{const i=[];for(const r of e)if(typeof r=="function"){const l=r(n);typeof l=="function"&&i.push(l)}else r&&(r.current=n);if(i.length)return()=>{for(const r of i)r()}}}function oT(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}const Df=e=>{const n=N.memo(N.forwardRef((i,r)=>{const{asChild:l,children:c,...d}=i;if(!l)return N.createElement(e,{...d,ref:r},c);const g=N.Children.only(c);if(!N.isValidElement(g))return null;const h=oT(g);return N.cloneElement(g,{...Ei(d,g.props),ref:r?tx(r,h):h})}));return n.displayName=e.displayName||e.name,n},lT=()=>{const e=new Map;return new Proxy(Df,{apply(n,i,r){return Df(r[0])},get(n,i){const r=i;return e.has(r)||e.set(r,Df(r)),e.get(r)}})},zr=lT(),[aM,sT]=vl({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),yl=()=>(e,n)=>n.reduce((i,r)=>{const[l,c]=i,d=r;return c[d]!==void 0&&(l[d]=c[d]),delete c[d],[l,c]},[{},{...e}]);function cT(e){return new Proxy({},{get(n,i){return i==="style"?r=>e({style:r}).style:e}})}var he=()=>e=>Array.from(new Set(e));function uT(e,n){const{state:i,send:r,context:l}=e,c=i.matches("mounted","unmountSuspended");return{skip:!l.get("initial"),present:c,setNode(d){d&&r({type:"NODE.SET",node:d})},unmount(){r({type:"UNMOUNT"})}}}var dT={props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,action:n,prop:i}){e([()=>i("present")],()=>{n(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:n})=>{e.set("node",n.node)},setStyles:({refs:e,event:n})=>{e.set("styles",j0(n.node))},syncPresence:({context:e,refs:n,send:i,prop:r})=>{const l=r("present");if(l)return i({type:"MOUNT",src:"presence.changed"});const c=n.get("node");if(!l&&c?.ownerDocument.visibilityState==="hidden")return i({type:"UNMOUNT",src:"visibilitychange"});xe(()=>{const d=$s(n.get("styles"));e.set("unmountAnimationName",d),d==="none"||d===e.get("prevAnimationName")||n.get("styles")?.display==="none"||n.get("styles")?.animationDuration==="0s"?i({type:"UNMOUNT",src:"presence.changed"}):i({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:n})=>{xe(()=>{e.set("prevAnimationName",$s(n.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:n,send:i})=>{const r=n.get("node");if(!r)return;const l=g=>{(g.composedPath?.()?.[0]??g.target)===r&&e.set("prevAnimationName",$s(n.get("styles")))},c=g=>{const h=$s(n.get("styles"));zn(g)===r&&h===e.get("unmountAnimationName")&&i({type:"UNMOUNT",src:"animationend"})};r.addEventListener("animationstart",l),r.addEventListener("animationcancel",c),r.addEventListener("animationend",c);const d=ex(r,{animationFillMode:"forwards"});return()=>{r.removeEventListener("animationstart",l),r.removeEventListener("animationcancel",c),r.removeEventListener("animationend",c),qc(()=>d())}}}}};function $s(e){return e?.animationName||"none"}he()(["onExitComplete","present","immediate"]);var Wg=v0(),nx=typeof globalThis.document<"u"?N.useLayoutEffect:N.useEffect;function kc(e){const n=e().value??e().defaultValue,i=e().isEqual??Object.is,[r]=N.useState(n),[l,c]=N.useState(r),d=e().value!==void 0,g=N.useRef(l);g.current=d?e().value:l;const h=N.useRef(g.current);nx(()=>{h.current=g.current},[l,e().value]);const m=x=>{const b=h.current,S=vi(x)?x(b):x;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:S,prev:b}),d||c(S),i(S,b)||e().onChange?.(S,b)};function v(){return d?e().value:l}return{initial:r,ref:g,get:v,set(x){(e().sync?Wg.flushSync:Tw)(()=>m(x))},invoke(x,b){e().onChange?.(x,b)},hash(x){return e().hash?.(x)??String(x)}}}kc.cleanup=e=>{N.useEffect(()=>e,[])};kc.ref=e=>{const n=N.useRef(e);return{get:()=>n.current,set:i=>{n.current=i}}};function fT(e){const n=N.useRef(e);return{get(i){return n.current[i]},set(i,r){n.current[i]=r}}}var gT=(e,n)=>{const i=N.useRef(!1),r=N.useRef(!1);N.useEffect(()=>{if(i.current&&r.current)return n();r.current=!0},[...(e??[]).map(l=>typeof l=="function"?l():l)]),N.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[])};function ax(e,n={}){const i=N.useMemo(()=>{const{id:K,ids:Y,getRootNode:le}=n;return rT({id:K,ids:Y,getRootNode:le})},[n]),r=(...K)=>{e.debug&&console.log(...K)},l=e.props?.({props:Fc(n),scope:i})??n,c=hT(l),d=e.context?.({prop:c,bindable:kc,scope:i,flush:Fb,getContext(){return h},getComputed(){return _},getRefs(){return E},getEvent(){return S()}}),g=ix(d),h={get(K){return g.current?.[K].ref.current},set(K,Y){g.current?.[K].set(Y)},initial(K){return g.current?.[K].initial},hash(K){const Y=g.current?.[K].get();return g.current?.[K].hash(Y)}},m=N.useRef(new Map),v=N.useRef(null),x=N.useRef(null),b=N.useRef({type:""}),S=()=>({...b.current,current(){return b.current},previous(){return x.current}}),C=()=>({...q,matches(...K){return K.includes(q.ref.current)},hasTag(K){return!!e.states[q.ref.current]?.tags?.includes(K)}}),E=fT(e.refs?.({prop:c,context:h})??{}),w=()=>({state:C(),context:h,event:S(),prop:c,send:X,action:O,guard:z,track:gT,refs:E,computed:_,flush:Fb,scope:i,choose:B}),O=K=>{const Y=vi(K)?K(w()):K;if(!Y)return;const le=Y.map(ie=>{const fe=e.implementations?.actions?.[ie];return fe||wc(`[zag-js] No implementation found for action "${JSON.stringify(ie)}"`),fe});for(const ie of le)ie?.(w())},z=K=>vi(K)?K(w()):e.implementations?.guards?.[K](w()),k=K=>{const Y=vi(K)?K(w()):K;if(!Y)return;const le=Y.map(fe=>{const L=e.implementations?.effects?.[fe];return L||wc(`[zag-js] No implementation found for effect "${JSON.stringify(fe)}"`),L}),ie=[];for(const fe of le){const L=fe?.(w());L&&ie.push(L)}return()=>ie.forEach(fe=>fe?.())},B=K=>cc(K).find(Y=>{let le=!Y.guard;return uc(Y.guard)?le=!!z(Y.guard):vi(Y.guard)&&(le=Y.guard(w())),le}),_=K=>{B0(e.computed,()=>"[zag-js] No computed object found on machine");const Y=e.computed[K];return Y({context:h,event:S(),prop:c,refs:E,scope:i,computed:_})},q=kc(()=>({defaultValue:e.initialState({prop:c}),onChange(K,Y){Y&&(m.current.get(Y)?.(),m.current.delete(Y)),Y&&O(e.states[Y]?.exit),O(v.current?.actions);const le=k(e.states[K]?.effects);if(le&&m.current.set(K,le),Y===If){O(e.entry);const ie=k(e.effects);ie&&m.current.set(If,ie)}O(e.states[K]?.entry)}})),j=N.useRef(void 0),H=N.useRef(mr.NotStarted);nx(()=>{queueMicrotask(()=>{const le=H.current===mr.Started;H.current=mr.Started,r(le?"rehydrating...":"initializing...");const ie=j.current??q.initial;q.invoke(ie,le?q.get():If)});const K=m.current,Y=q.ref.current;return()=>{r("unmounting..."),j.current=Y,H.current=mr.Stopped,K.forEach(le=>le?.()),m.current=new Map,v.current=null,queueMicrotask(()=>{O(e.exit)})}},[]);const U=()=>"ref"in q?q.ref.current:q.get(),X=K=>{queueMicrotask(()=>{if(H.current!==mr.Started)return;x.current=b.current,b.current=K,r("send",K);let Y=U();const le=e.states[Y].on?.[K.type]??e.on?.[K.type],ie=B(le);if(!ie)return;v.current=ie;const fe=ie.target??Y;r("transition",ie);const L=fe!==Y;L?Wg.flushSync(()=>q.set(fe)):ie.reenter&&!L?q.invoke(Y,Y):O(ie.actions??[])})};return e.watch?.(w()),{state:C(),send:X,context:h,prop:c,scope:i,refs:E,computed:_,event:S(),getStatus:()=>H.current}}function ix(e){const n=N.useRef(e);return n.current=e,n}function hT(e){const n=ix(e);return function(r){return n.current[r]}}function Fb(e){queueMicrotask(()=>{Wg.flushSync(()=>e())})}var mT=cT(e=>e);function pT(e,n={}){const{sync:i=!1}=n,r=vT(e);return N.useCallback((...l)=>i?queueMicrotask(()=>r.current?.(...l)):r.current?.(...l),[i,r])}function vT(e){const n=N.useRef(e);return n.current=e,n}const bT=(e={})=>{const{lazyMount:n,unmountOnExit:i,present:r,skipAnimationOnMount:l=!1,...c}=e,d=N.useRef(!1),g={...c,present:r,onExitComplete:pT(e.onExitComplete)},h=ax(dT,g),m=uT(h);m.present&&(d.current=!0);const v=!m.present&&!d.current&&n||i&&!m.present&&d.current,x=()=>({"data-state":m.skip&&l?void 0:r?"open":"closed",hidden:!m.present});return{ref:m.setNode,getPresenceProps:x,present:m.present,unmounted:v}},[yT,iM]=vl({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"});var me=(e,n=[])=>({parts:(...i)=>{if(xT(n))return me(e,i);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...i)=>me(e,[...n,...i]),omit:(...i)=>me(e,n.filter(r=>!i.includes(r))),rename:i=>me(i,n),keys:()=>n,build:()=>[...new Set(n)].reduce((i,r)=>Object.assign(i,{[r]:{selector:[`&[data-scope="${dr(e)}"][data-part="${dr(r)}"]`,`& [data-scope="${dr(e)}"][data-part="${dr(r)}"]`].join(", "),attrs:{"data-scope":dr(e),"data-part":dr(r)}}}),{})}),dr=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),xT=e=>e.length===0,rx=me("collapsible").parts("root","trigger","content","indicator");rx.build();he()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var ST=Object.defineProperty,ET=(e,n,i)=>n in e?ST(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Gg=(e,n,i)=>ET(e,n+"",i),CT=(e,n)=>{if(Object.keys(e).length!==Object.keys(n).length)return!1;for(let i in e)if(e[i]!==n[i])return!1;return!0},qg=class{toHexInt(){return this.toFormat("rgba").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}getChannelValuePercent(e,n){const i=n??this.getChannelValue(e),{minValue:r,maxValue:l}=this.getChannelRange(e);return Lw(i,r,l)}getChannelPercentValue(e,n){const{minValue:i,maxValue:r,step:l}=this.getChannelRange(e),c=Bw(n,i,r,l);return Mb(c,i,r,l)}withChannelValue(e,n){const{minValue:i,maxValue:r}=this.getChannelRange(e);if(e in this){let l=this.clone();return l[e]=It(n,i,r),l}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:n,yChannel:i}=e,r=n||this.getChannels().find(d=>d!==i),l=i||this.getChannels().find(d=>d!==r),c=this.getChannels().find(d=>d!==r&&d!==l);return{xChannel:r,yChannel:l,zChannel:c}}incrementChannel(e,n){const{minValue:i,maxValue:r,step:l}=this.getChannelRange(e),c=Mb(It(this.getChannelValue(e)+n,i,r),i,r,l);return this.withChannelValue(e,c)}decrementChannel(e,n){return this.incrementChannel(e,-n)}isEqual(e){return CT(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},OT=/^#[\da-f]+$/i,wT=/^rgba?\((.*)\)$/,RT=/[^#]/gi,ox=class fc extends qg{constructor(n,i,r,l){super(),this.red=n,this.green=i,this.blue=r,this.alpha=l}static parse(n){let i=[];if(OT.test(n)&&[4,5,7,9].includes(n.length)){const l=(n.length<6?n.replace(RT,"$&$&"):n).slice(1).split("");for(;l.length>0;)i.push(parseInt(l.splice(0,2).join(""),16));i[3]=i[3]!==void 0?i[3]/255:void 0}const r=n.match(wT);return r?.[1]&&(i=r[1].split(",").map(l=>Number(l.trim())).map((l,c)=>It(l,0,c<3?255:1))),i.length<3?void 0:new fc(i[0],i[1],i[2],i[3]??1)}toString(n){switch(n){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"hsb":return this.toHSB().toString("hsb");default:return this.toFormat(n).toString(n)}}toFormat(n){switch(n){case"rgba":return this;case"hsba":return this.toHSB();case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+n)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const n=this.red/255,i=this.green/255,r=this.blue/255,l=Math.min(n,i,r),c=Math.max(n,i,r),d=c-l,g=c===0?0:d/c;let h=0;if(d!==0){switch(c){case n:h=(i-r)/d+(i<r?6:0);break;case i:h=(r-n)/d+2;break;case r:h=(n-i)/d+4;break}h/=6}return new Kg(Fe(h*360,2),Fe(g*100,2),Fe(c*100,2),Fe(this.alpha,2))}toHSL(){const n=this.red/255,i=this.green/255,r=this.blue/255,l=Math.min(n,i,r),c=Math.max(n,i,r),d=(c+l)/2,g=c-l;let h=-1,m=-1;if(g===0)h=m=0;else{switch(m=g/(d<.5?c+l:2-c-l),c){case n:h=(i-r)/g+(i<r?6:0);break;case i:h=(r-n)/g+2;break;case r:h=(n-i)/g+4;break}h/=6}return new Xg(Fe(h*360,2),Fe(m*100,2),Fe(d*100,2),Fe(this.alpha,2))}clone(){return new fc(this.red,this.green,this.blue,this.alpha)}getChannelFormatOptions(n){switch(n){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+n)}}formatChannelValue(n,i){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return new Intl.NumberFormat(i,r).format(l)}getChannelRange(n){switch(n){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+n)}}toJSON(){return{r:this.red,g:this.green,b:this.blue,a:this.alpha}}getFormat(){return"rgba"}getChannels(){return fc.colorChannels}};Gg(ox,"colorChannels",["red","green","blue"]);var Yg=ox,TT=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,lx=class gc extends qg{constructor(n,i,r,l){super(),this.hue=n,this.saturation=i,this.lightness=r,this.alpha=l}static parse(n){let i;if(i=n.match(TT)){const[r,l,c,d]=(i[1]??i[2]).split(",").map(g=>Number(g.trim().replace("%","")));return new gc(P0(r,360),It(l,0,100),It(c,0,100),It(d??1,0,1))}}toString(n){switch(n){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${Fe(this.saturation,2)}%, ${Fe(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${Fe(this.saturation,2)}%, ${Fe(this.lightness,2)}%, ${this.alpha})`;case"hsb":return this.toHSB().toString("hsb");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(n).toString(n)}}toFormat(n){switch(n){case"hsla":return this;case"hsba":return this.toHSB();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+n)}}toHSB(){let n=this.saturation/100,i=this.lightness/100,r=i+n*Math.min(i,1-i);return n=r===0?0:2*(1-i/r),new Kg(Fe(this.hue,2),Fe(n*100,2),Fe(r*100,2),Fe(this.alpha,2))}toRGB(){let n=this.hue,i=this.saturation/100,r=this.lightness/100,l=i*Math.min(r,1-r),c=(d,g=(d+n/30)%12)=>r-l*Math.max(Math.min(g-3,9-g,1),-1);return new Yg(Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255),Fe(this.alpha,2))}clone(){return new gc(this.hue,this.saturation,this.lightness,this.alpha)}getChannelFormatOptions(n){switch(n){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+n)}}formatChannelValue(n,i){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return(n==="saturation"||n==="lightness")&&(l/=100),new Intl.NumberFormat(i,r).format(l)}getChannelRange(n){switch(n){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+n)}}toJSON(){return{h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha}}getFormat(){return"hsla"}getChannels(){return gc.colorChannels}};Gg(lx,"colorChannels",["hue","saturation","lightness"]);var Xg=lx,kT=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,sx=class hc extends qg{constructor(n,i,r,l){super(),this.hue=n,this.saturation=i,this.brightness=r,this.alpha=l}static parse(n){let i;if(i=n.match(kT)){const[r,l,c,d]=(i[1]??i[2]).split(",").map(g=>Number(g.trim().replace("%","")));return new hc(P0(r,360),It(l,0,100),It(c,0,100),It(d??1,0,1))}}toString(n){switch(n){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${Fe(this.saturation,2)}%, ${Fe(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${Fe(this.saturation,2)}%, ${Fe(this.brightness,2)}%, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(n).toString(n)}}toFormat(n){switch(n){case"hsba":return this;case"hsla":return this.toHSL();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+n)}}toHSL(){let n=this.saturation/100,i=this.brightness/100,r=i*(1-n/2);return n=r===0||r===1?0:(i-r)/Math.min(r,1-r),new Xg(Fe(this.hue,2),Fe(n*100,2),Fe(r*100,2),Fe(this.alpha,2))}toRGB(){let n=this.hue,i=this.saturation/100,r=this.brightness/100,l=(c,d=(c+n/60)%6)=>r-i*r*Math.max(Math.min(d,4-d,1),0);return new Yg(Math.round(l(5)*255),Math.round(l(3)*255),Math.round(l(1)*255),Fe(this.alpha,2))}clone(){return new hc(this.hue,this.saturation,this.brightness,this.alpha)}getChannelFormatOptions(n){switch(n){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+n)}}formatChannelValue(n,i){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return(n==="saturation"||n==="brightness")&&(l/=100),new Intl.NumberFormat(i,r).format(l)}getChannelRange(n){switch(n){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+n)}}toJSON(){return{h:this.hue,s:this.saturation,b:this.brightness,a:this.alpha}}getFormat(){return"hsba"}getChannels(){return hc.colorChannels}};Gg(sx,"colorChannels",["hue","saturation","brightness"]);var Kg=sx,NT="aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7fffd4,azure:f0ffff,beige:f5f5dc,bisque:ffe4c4,black:000000,blanchedalmond:ffebcd,blue:0000ff,blueviolet:8a2be2,brown:a52a2a,burlywood:deb887,cadetblue:5f9ea0,chartreuse:7fff00,chocolate:d2691e,coral:ff7f50,cornflowerblue:6495ed,cornsilk:fff8dc,crimson:dc143c,cyan:00ffff,darkblue:00008b,darkcyan:008b8b,darkgoldenrod:b8860b,darkgray:a9a9a9,darkgreen:006400,darkkhaki:bdb76b,darkmagenta:8b008b,darkolivegreen:556b2f,darkorange:ff8c00,darkorchid:9932cc,darkred:8b0000,darksalmon:e9967a,darkseagreen:8fbc8f,darkslateblue:483d8b,darkslategray:2f4f4f,darkturquoise:00ced1,darkviolet:9400d3,deeppink:ff1493,deepskyblue:00bfff,dimgray:696969,dodgerblue:1e90ff,firebrick:b22222,floralwhite:fffaf0,forestgreen:228b22,fuchsia:ff00ff,gainsboro:dcdcdc,ghostwhite:f8f8ff,gold:ffd700,goldenrod:daa520,gray:808080,green:008000,greenyellow:adff2f,honeydew:f0fff0,hotpink:ff69b4,indianred:cd5c5c,indigo:4b0082,ivory:fffff0,khaki:f0e68c,lavender:e6e6fa,lavenderblush:fff0f5,lawngreen:7cfc00,lemonchiffon:fffacd,lightblue:add8e6,lightcoral:f08080,lightcyan:e0ffff,lightgoldenrodyellow:fafad2,lightgrey:d3d3d3,lightgreen:90ee90,lightpink:ffb6c1,lightsalmon:ffa07a,lightseagreen:20b2aa,lightskyblue:87cefa,lightslategray:778899,lightsteelblue:b0c4de,lightyellow:ffffe0,lime:00ff00,limegreen:32cd32,linen:faf0e6,magenta:ff00ff,maroon:800000,mediumaquamarine:66cdaa,mediumblue:0000cd,mediumorchid:ba55d3,mediumpurple:9370d8,mediumseagreen:3cb371,mediumslateblue:7b68ee,mediumspringgreen:00fa9a,mediumturquoise:48d1cc,mediumvioletred:c71585,midnightblue:191970,mintcream:f5fffa,mistyrose:ffe4e1,moccasin:ffe4b5,navajowhite:ffdead,navy:000080,oldlace:fdf5e6,olive:808000,olivedrab:6b8e23,orange:ffa500,orangered:ff4500,orchid:da70d6,palegoldenrod:eee8aa,palegreen:98fb98,paleturquoise:afeeee,palevioletred:d87093,papayawhip:ffefd5,peachpuff:ffdab9,peru:cd853f,pink:ffc0cb,plum:dda0dd,powderblue:b0e0e6,purple:800080,rebeccapurple:663399,red:ff0000,rosybrown:bc8f8f,royalblue:4169e1,saddlebrown:8b4513,salmon:fa8072,sandybrown:f4a460,seagreen:2e8b57,seashell:fff5ee,sienna:a0522d,silver:c0c0c0,skyblue:87ceeb,slateblue:6a5acd,slategray:708090,snow:fffafa,springgreen:00ff7f,steelblue:4682b4,tan:d2b48c,teal:008080,thistle:d8bfd8,tomato:ff6347,turquoise:40e0d0,violet:ee82ee,wheat:f5deb3,white:ffffff,whitesmoke:f5f5f5,yellow:ffff00,yellowgreen:9acd32",AT=e=>{const n=new Map,i=e.split(",");for(let r=0;r<i.length;r++){const[l,c]=i[r].split(":");n.set(l,`#${c}`),l.includes("gray")&&n.set(l.replace("gray","grey"),`#${c}`)}return n},$b=AT(NT),Nc=e=>{if($b.has(e))return Nc($b.get(e));const n=Yg.parse(e)||Kg.parse(e)||Xg.parse(e);if(!n){const i=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(i,Nc),i}return n};const _T=["top","right","bottom","left"],La=Math.min,Yt=Math.max,Ac=Math.round,Ws=Math.floor,An=e=>({x:e,y:e}),zT={left:"right",right:"left",bottom:"top",top:"bottom"},VT={start:"end",end:"start"};function ng(e,n,i){return Yt(e,La(n,i))}function na(e,n){return typeof e=="function"?e(n):e}function aa(e){return e.split("-")[0]}function Vr(e){return e.split("-")[1]}function Qg(e){return e==="x"?"y":"x"}function Zg(e){return e==="y"?"height":"width"}const IT=new Set(["top","bottom"]);function Tn(e){return IT.has(aa(e))?"y":"x"}function Jg(e){return Qg(Tn(e))}function DT(e,n,i){i===void 0&&(i=!1);const r=Vr(e),l=Jg(e),c=Zg(l);let d=l==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(d=_c(d)),[d,_c(d)]}function MT(e){const n=_c(e);return[ag(e),n,ag(n)]}function ag(e){return e.replace(/start|end/g,n=>VT[n])}const Wb=["left","right"],Gb=["right","left"],PT=["top","bottom"],LT=["bottom","top"];function BT(e,n,i){switch(e){case"top":case"bottom":return i?n?Gb:Wb:n?Wb:Gb;case"left":case"right":return n?PT:LT;default:return[]}}function HT(e,n,i,r){const l=Vr(e);let c=BT(aa(e),i==="start",r);return l&&(c=c.map(d=>d+"-"+l),n&&(c=c.concat(c.map(ag)))),c}function _c(e){return e.replace(/left|right|bottom|top/g,n=>zT[n])}function UT(e){return{top:0,right:0,bottom:0,left:0,...e}}function cx(e){return typeof e!="number"?UT(e):{top:e,right:e,bottom:e,left:e}}function zc(e){const{x:n,y:i,width:r,height:l}=e;return{width:r,height:l,top:i,left:n,right:n+r,bottom:i+l,x:n,y:i}}function qb(e,n,i){let{reference:r,floating:l}=e;const c=Tn(n),d=Jg(n),g=Zg(d),h=aa(n),m=c==="y",v=r.x+r.width/2-l.width/2,x=r.y+r.height/2-l.height/2,b=r[g]/2-l[g]/2;let S;switch(h){case"top":S={x:v,y:r.y-l.height};break;case"bottom":S={x:v,y:r.y+r.height};break;case"right":S={x:r.x+r.width,y:x};break;case"left":S={x:r.x-l.width,y:x};break;default:S={x:r.x,y:r.y}}switch(Vr(n)){case"start":S[d]-=b*(i&&m?-1:1);break;case"end":S[d]+=b*(i&&m?-1:1);break}return S}const jT=async(e,n,i)=>{const{placement:r="bottom",strategy:l="absolute",middleware:c=[],platform:d}=i,g=c.filter(Boolean),h=await(d.isRTL==null?void 0:d.isRTL(n));let m=await d.getElementRects({reference:e,floating:n,strategy:l}),{x:v,y:x}=qb(m,r,h),b=r,S={},C=0;for(let E=0;E<g.length;E++){const{name:w,fn:O}=g[E],{x:z,y:k,data:B,reset:_}=await O({x:v,y:x,initialPlacement:r,placement:b,strategy:l,middlewareData:S,rects:m,platform:d,elements:{reference:e,floating:n}});v=z??v,x=k??x,S={...S,[w]:{...S[w],...B}},_&&C<=50&&(C++,typeof _=="object"&&(_.placement&&(b=_.placement),_.rects&&(m=_.rects===!0?await d.getElementRects({reference:e,floating:n,strategy:l}):_.rects),{x:v,y:x}=qb(m,b,h)),E=-1)}return{x:v,y:x,placement:b,strategy:l,middlewareData:S}};async function dl(e,n){var i;n===void 0&&(n={});const{x:r,y:l,platform:c,rects:d,elements:g,strategy:h}=e,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:x="floating",altBoundary:b=!1,padding:S=0}=na(n,e),C=cx(S),w=g[b?x==="floating"?"reference":"floating":x],O=zc(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(w)))==null||i?w:w.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(g.floating)),boundary:m,rootBoundary:v,strategy:h})),z=x==="floating"?{x:r,y:l,width:d.floating.width,height:d.floating.height}:d.reference,k=await(c.getOffsetParent==null?void 0:c.getOffsetParent(g.floating)),B=await(c.isElement==null?void 0:c.isElement(k))?await(c.getScale==null?void 0:c.getScale(k))||{x:1,y:1}:{x:1,y:1},_=zc(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:z,offsetParent:k,strategy:h}):z);return{top:(O.top-_.top+C.top)/B.y,bottom:(_.bottom-O.bottom+C.bottom)/B.y,left:(O.left-_.left+C.left)/B.x,right:(_.right-O.right+C.right)/B.x}}const FT=e=>({name:"arrow",options:e,async fn(n){const{x:i,y:r,placement:l,rects:c,platform:d,elements:g,middlewareData:h}=n,{element:m,padding:v=0}=na(e,n)||{};if(m==null)return{};const x=cx(v),b={x:i,y:r},S=Jg(l),C=Zg(S),E=await d.getDimensions(m),w=S==="y",O=w?"top":"left",z=w?"bottom":"right",k=w?"clientHeight":"clientWidth",B=c.reference[C]+c.reference[S]-b[S]-c.floating[C],_=b[S]-c.reference[S],q=await(d.getOffsetParent==null?void 0:d.getOffsetParent(m));let j=q?q[k]:0;(!j||!await(d.isElement==null?void 0:d.isElement(q)))&&(j=g.floating[k]||c.floating[C]);const H=B/2-_/2,U=j/2-E[C]/2-1,X=La(x[O],U),K=La(x[z],U),Y=X,le=j-E[C]-K,ie=j/2-E[C]/2+H,fe=ng(Y,ie,le),L=!h.arrow&&Vr(l)!=null&&ie!==fe&&c.reference[C]/2-(ie<Y?X:K)-E[C]/2<0,ne=L?ie<Y?ie-Y:ie-le:0;return{[S]:b[S]+ne,data:{[S]:fe,centerOffset:ie-fe-ne,...L&&{alignmentOffset:ne}},reset:L}}}),$T=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var i,r;const{placement:l,middlewareData:c,rects:d,initialPlacement:g,platform:h,elements:m}=n,{mainAxis:v=!0,crossAxis:x=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:E=!0,...w}=na(e,n);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const O=aa(l),z=Tn(g),k=aa(g)===g,B=await(h.isRTL==null?void 0:h.isRTL(m.floating)),_=b||(k||!E?[_c(g)]:MT(g)),q=C!=="none";!b&&q&&_.push(...HT(g,E,C,B));const j=[g,..._],H=await dl(n,w),U=[];let X=((r=c.flip)==null?void 0:r.overflows)||[];if(v&&U.push(H[O]),x){const ie=DT(l,d,B);U.push(H[ie[0]],H[ie[1]])}if(X=[...X,{placement:l,overflows:U}],!U.every(ie=>ie<=0)){var K,Y;const ie=(((K=c.flip)==null?void 0:K.index)||0)+1,fe=j[ie];if(fe&&(!(x==="alignment"?z!==Tn(fe):!1)||X.every(Z=>Z.overflows[0]>0&&Tn(Z.placement)===z)))return{data:{index:ie,overflows:X},reset:{placement:fe}};let L=(Y=X.filter(ne=>ne.overflows[0]<=0).sort((ne,Z)=>ne.overflows[1]-Z.overflows[1])[0])==null?void 0:Y.placement;if(!L)switch(S){case"bestFit":{var le;const ne=(le=X.filter(Z=>{if(q){const ue=Tn(Z.placement);return ue===z||ue==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(ue=>ue>0).reduce((ue,T)=>ue+T,0)]).sort((Z,ue)=>Z[1]-ue[1])[0])==null?void 0:le[0];ne&&(L=ne);break}case"initialPlacement":L=g;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function Yb(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function Xb(e){return _T.some(n=>e[n]>=0)}const WT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:i}=n,{strategy:r="referenceHidden",...l}=na(e,n);switch(r){case"referenceHidden":{const c=await dl(n,{...l,elementContext:"reference"}),d=Yb(c,i.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Xb(d)}}}case"escaped":{const c=await dl(n,{...l,altBoundary:!0}),d=Yb(c,i.floating);return{data:{escapedOffsets:d,escaped:Xb(d)}}}default:return{}}}}},ux=new Set(["left","top"]);async function GT(e,n){const{placement:i,platform:r,elements:l}=e,c=await(r.isRTL==null?void 0:r.isRTL(l.floating)),d=aa(i),g=Vr(i),h=Tn(i)==="y",m=ux.has(d)?-1:1,v=c&&h?-1:1,x=na(n,e);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return g&&typeof C=="number"&&(S=g==="end"?C*-1:C),h?{x:S*v,y:b*m}:{x:b*m,y:S*v}}const qT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var i,r;const{x:l,y:c,placement:d,middlewareData:g}=n,h=await GT(n,e);return d===((i=g.offset)==null?void 0:i.placement)&&(r=g.arrow)!=null&&r.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:d}}}}},YT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:i,y:r,placement:l}=n,{mainAxis:c=!0,crossAxis:d=!1,limiter:g={fn:w=>{let{x:O,y:z}=w;return{x:O,y:z}}},...h}=na(e,n),m={x:i,y:r},v=await dl(n,h),x=Tn(aa(l)),b=Qg(x);let S=m[b],C=m[x];if(c){const w=b==="y"?"top":"left",O=b==="y"?"bottom":"right",z=S+v[w],k=S-v[O];S=ng(z,S,k)}if(d){const w=x==="y"?"top":"left",O=x==="y"?"bottom":"right",z=C+v[w],k=C-v[O];C=ng(z,C,k)}const E=g.fn({...n,[b]:S,[x]:C});return{...E,data:{x:E.x-i,y:E.y-r,enabled:{[b]:c,[x]:d}}}}}},XT=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:i,y:r,placement:l,rects:c,middlewareData:d}=n,{offset:g=0,mainAxis:h=!0,crossAxis:m=!0}=na(e,n),v={x:i,y:r},x=Tn(l),b=Qg(x);let S=v[b],C=v[x];const E=na(g,n),w=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(h){const k=b==="y"?"height":"width",B=c.reference[b]-c.floating[k]+w.mainAxis,_=c.reference[b]+c.reference[k]-w.mainAxis;S<B?S=B:S>_&&(S=_)}if(m){var O,z;const k=b==="y"?"width":"height",B=ux.has(aa(l)),_=c.reference[x]-c.floating[k]+(B&&((O=d.offset)==null?void 0:O[x])||0)+(B?0:w.crossAxis),q=c.reference[x]+c.reference[k]+(B?0:((z=d.offset)==null?void 0:z[x])||0)-(B?w.crossAxis:0);C<_?C=_:C>q&&(C=q)}return{[b]:S,[x]:C}}}},KT=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var i,r;const{placement:l,rects:c,platform:d,elements:g}=n,{apply:h=()=>{},...m}=na(e,n),v=await dl(n,m),x=aa(l),b=Vr(l),S=Tn(l)==="y",{width:C,height:E}=c.floating;let w,O;x==="top"||x==="bottom"?(w=x,O=b===(await(d.isRTL==null?void 0:d.isRTL(g.floating))?"start":"end")?"left":"right"):(O=x,w=b==="end"?"top":"bottom");const z=E-v.top-v.bottom,k=C-v.left-v.right,B=La(E-v[w],z),_=La(C-v[O],k),q=!n.middlewareData.shift;let j=B,H=_;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(H=k),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(j=z),q&&!b){const X=Yt(v.left,0),K=Yt(v.right,0),Y=Yt(v.top,0),le=Yt(v.bottom,0);S?H=C-2*(X!==0||K!==0?X+K:Yt(v.left,v.right)):j=E-2*(Y!==0||le!==0?Y+le:Yt(v.top,v.bottom))}await h({...n,availableWidth:H,availableHeight:j});const U=await d.getDimensions(g.floating);return C!==U.width||E!==U.height?{reset:{rects:!0}}:{}}}};function Xc(){return typeof window<"u"}function Ir(e){return dx(e)?(e.nodeName||"").toLowerCase():"#document"}function Kt(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Dn(e){var n;return(n=(dx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function dx(e){return Xc()?e instanceof Node||e instanceof Kt(e).Node:!1}function pn(e){return Xc()?e instanceof Element||e instanceof Kt(e).Element:!1}function Vn(e){return Xc()?e instanceof HTMLElement||e instanceof Kt(e).HTMLElement:!1}function Kb(e){return!Xc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Kt(e).ShadowRoot}const QT=new Set(["inline","contents"]);function xl(e){const{overflow:n,overflowX:i,overflowY:r,display:l}=vn(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+i)&&!QT.has(l)}const ZT=new Set(["table","td","th"]);function JT(e){return ZT.has(Ir(e))}const ek=[":popover-open",":modal"];function Kc(e){return ek.some(n=>{try{return e.matches(n)}catch{return!1}})}const tk=["transform","translate","scale","rotate","perspective"],nk=["transform","translate","scale","rotate","perspective","filter"],ak=["paint","layout","strict","content"];function eh(e){const n=th(),i=pn(e)?vn(e):e;return tk.some(r=>i[r]?i[r]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||nk.some(r=>(i.willChange||"").includes(r))||ak.some(r=>(i.contain||"").includes(r))}function ik(e){let n=Ba(e);for(;Vn(n)&&!Ar(n);){if(eh(n))return n;if(Kc(n))return null;n=Ba(n)}return null}function th(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const rk=new Set(["html","body","#document"]);function Ar(e){return rk.has(Ir(e))}function vn(e){return Kt(e).getComputedStyle(e)}function Qc(e){return pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ba(e){if(Ir(e)==="html")return e;const n=e.assignedSlot||e.parentNode||Kb(e)&&e.host||Dn(e);return Kb(n)?n.host:n}function fx(e){const n=Ba(e);return Ar(n)?e.ownerDocument?e.ownerDocument.body:e.body:Vn(n)&&xl(n)?n:fx(n)}function fl(e,n,i){var r;n===void 0&&(n=[]),i===void 0&&(i=!0);const l=fx(e),c=l===((r=e.ownerDocument)==null?void 0:r.body),d=Kt(l);if(c){const g=ig(d);return n.concat(d,d.visualViewport||[],xl(l)?l:[],g&&i?fl(g):[])}return n.concat(l,fl(l,[],i))}function ig(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gx(e){const n=vn(e);let i=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Vn(e),c=l?e.offsetWidth:i,d=l?e.offsetHeight:r,g=Ac(i)!==c||Ac(r)!==d;return g&&(i=c,r=d),{width:i,height:r,$:g}}function nh(e){return pn(e)?e:e.contextElement}function Tr(e){const n=nh(e);if(!Vn(n))return An(1);const i=n.getBoundingClientRect(),{width:r,height:l,$:c}=gx(n);let d=(c?Ac(i.width):i.width)/r,g=(c?Ac(i.height):i.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!g||!Number.isFinite(g))&&(g=1),{x:d,y:g}}const ok=An(0);function hx(e){const n=Kt(e);return!th()||!n.visualViewport?ok:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function lk(e,n,i){return n===void 0&&(n=!1),!i||n&&i!==Kt(e)?!1:n}function xi(e,n,i,r){n===void 0&&(n=!1),i===void 0&&(i=!1);const l=e.getBoundingClientRect(),c=nh(e);let d=An(1);n&&(r?pn(r)&&(d=Tr(r)):d=Tr(e));const g=lk(c,i,r)?hx(c):An(0);let h=(l.left+g.x)/d.x,m=(l.top+g.y)/d.y,v=l.width/d.x,x=l.height/d.y;if(c){const b=Kt(c),S=r&&pn(r)?Kt(r):r;let C=b,E=ig(C);for(;E&&r&&S!==C;){const w=Tr(E),O=E.getBoundingClientRect(),z=vn(E),k=O.left+(E.clientLeft+parseFloat(z.paddingLeft))*w.x,B=O.top+(E.clientTop+parseFloat(z.paddingTop))*w.y;h*=w.x,m*=w.y,v*=w.x,x*=w.y,h+=k,m+=B,C=Kt(E),E=ig(C)}}return zc({width:v,height:x,x:h,y:m})}function ah(e,n){const i=Qc(e).scrollLeft;return n?n.left+i:xi(Dn(e)).left+i}function mx(e,n,i){i===void 0&&(i=!1);const r=e.getBoundingClientRect(),l=r.left+n.scrollLeft-(i?0:ah(e,r)),c=r.top+n.scrollTop;return{x:l,y:c}}function sk(e){let{elements:n,rect:i,offsetParent:r,strategy:l}=e;const c=l==="fixed",d=Dn(r),g=n?Kc(n.floating):!1;if(r===d||g&&c)return i;let h={scrollLeft:0,scrollTop:0},m=An(1);const v=An(0),x=Vn(r);if((x||!x&&!c)&&((Ir(r)!=="body"||xl(d))&&(h=Qc(r)),Vn(r))){const S=xi(r);m=Tr(r),v.x=S.x+r.clientLeft,v.y=S.y+r.clientTop}const b=d&&!x&&!c?mx(d,h,!0):An(0);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-h.scrollLeft*m.x+v.x+b.x,y:i.y*m.y-h.scrollTop*m.y+v.y+b.y}}function ck(e){return Array.from(e.getClientRects())}function uk(e){const n=Dn(e),i=Qc(e),r=e.ownerDocument.body,l=Yt(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),c=Yt(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-i.scrollLeft+ah(e);const g=-i.scrollTop;return vn(r).direction==="rtl"&&(d+=Yt(n.clientWidth,r.clientWidth)-l),{width:l,height:c,x:d,y:g}}function dk(e,n){const i=Kt(e),r=Dn(e),l=i.visualViewport;let c=r.clientWidth,d=r.clientHeight,g=0,h=0;if(l){c=l.width,d=l.height;const m=th();(!m||m&&n==="fixed")&&(g=l.offsetLeft,h=l.offsetTop)}return{width:c,height:d,x:g,y:h}}const fk=new Set(["absolute","fixed"]);function gk(e,n){const i=xi(e,!0,n==="fixed"),r=i.top+e.clientTop,l=i.left+e.clientLeft,c=Vn(e)?Tr(e):An(1),d=e.clientWidth*c.x,g=e.clientHeight*c.y,h=l*c.x,m=r*c.y;return{width:d,height:g,x:h,y:m}}function Qb(e,n,i){let r;if(n==="viewport")r=dk(e,i);else if(n==="document")r=uk(Dn(e));else if(pn(n))r=gk(n,i);else{const l=hx(e);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return zc(r)}function px(e,n){const i=Ba(e);return i===n||!pn(i)||Ar(i)?!1:vn(i).position==="fixed"||px(i,n)}function hk(e,n){const i=n.get(e);if(i)return i;let r=fl(e,[],!1).filter(g=>pn(g)&&Ir(g)!=="body"),l=null;const c=vn(e).position==="fixed";let d=c?Ba(e):e;for(;pn(d)&&!Ar(d);){const g=vn(d),h=eh(d);!h&&g.position==="fixed"&&(l=null),(c?!h&&!l:!h&&g.position==="static"&&!!l&&fk.has(l.position)||xl(d)&&!h&&px(e,d))?r=r.filter(v=>v!==d):l=g,d=Ba(d)}return n.set(e,r),r}function mk(e){let{element:n,boundary:i,rootBoundary:r,strategy:l}=e;const d=[...i==="clippingAncestors"?Kc(n)?[]:hk(n,this._c):[].concat(i),r],g=d[0],h=d.reduce((m,v)=>{const x=Qb(n,v,l);return m.top=Yt(x.top,m.top),m.right=La(x.right,m.right),m.bottom=La(x.bottom,m.bottom),m.left=Yt(x.left,m.left),m},Qb(n,g,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function pk(e){const{width:n,height:i}=gx(e);return{width:n,height:i}}function vk(e,n,i){const r=Vn(n),l=Dn(n),c=i==="fixed",d=xi(e,!0,c,n);let g={scrollLeft:0,scrollTop:0};const h=An(0);function m(){h.x=ah(l)}if(r||!r&&!c)if((Ir(n)!=="body"||xl(l))&&(g=Qc(n)),r){const S=xi(n,!0,c,n);h.x=S.x+n.clientLeft,h.y=S.y+n.clientTop}else l&&m();c&&!r&&l&&m();const v=l&&!r&&!c?mx(l,g):An(0),x=d.left+g.scrollLeft-h.x-v.x,b=d.top+g.scrollTop-h.y-v.y;return{x,y:b,width:d.width,height:d.height}}function Mf(e){return vn(e).position==="static"}function Zb(e,n){if(!Vn(e)||vn(e).position==="fixed")return null;if(n)return n(e);let i=e.offsetParent;return Dn(e)===i&&(i=i.ownerDocument.body),i}function vx(e,n){const i=Kt(e);if(Kc(e))return i;if(!Vn(e)){let l=Ba(e);for(;l&&!Ar(l);){if(pn(l)&&!Mf(l))return l;l=Ba(l)}return i}let r=Zb(e,n);for(;r&&JT(r)&&Mf(r);)r=Zb(r,n);return r&&Ar(r)&&Mf(r)&&!eh(r)?i:r||ik(e)||i}const bk=async function(e){const n=this.getOffsetParent||vx,i=this.getDimensions,r=await i(e.floating);return{reference:vk(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yk(e){return vn(e).direction==="rtl"}const xk={convertOffsetParentRelativeRectToViewportRelativeRect:sk,getDocumentElement:Dn,getClippingRect:mk,getOffsetParent:vx,getElementRects:bk,getClientRects:ck,getDimensions:pk,getScale:Tr,isElement:pn,isRTL:yk};function bx(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function Sk(e,n){let i=null,r;const l=Dn(e);function c(){var g;clearTimeout(r),(g=i)==null||g.disconnect(),i=null}function d(g,h){g===void 0&&(g=!1),h===void 0&&(h=1),c();const m=e.getBoundingClientRect(),{left:v,top:x,width:b,height:S}=m;if(g||n(),!b||!S)return;const C=Ws(x),E=Ws(l.clientWidth-(v+b)),w=Ws(l.clientHeight-(x+S)),O=Ws(v),k={rootMargin:-C+"px "+-E+"px "+-w+"px "+-O+"px",threshold:Yt(0,La(1,h))||1};let B=!0;function _(q){const j=q[0].intersectionRatio;if(j!==h){if(!B)return d();j?d(!1,j):r=setTimeout(()=>{d(!1,1e-7)},1e3)}j===1&&!bx(m,e.getBoundingClientRect())&&d(),B=!1}try{i=new IntersectionObserver(_,{...k,root:l.ownerDocument})}catch{i=new IntersectionObserver(_,k)}i.observe(e)}return d(!0),c}function Ek(e,n,i,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:h=!1}=r,m=nh(e),v=l||c?[...m?fl(m):[],...fl(n)]:[];v.forEach(O=>{l&&O.addEventListener("scroll",i,{passive:!0}),c&&O.addEventListener("resize",i)});const x=m&&g?Sk(m,i):null;let b=-1,S=null;d&&(S=new ResizeObserver(O=>{let[z]=O;z&&z.target===m&&S&&(S.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var k;(k=S)==null||k.observe(n)})),i()}),m&&!h&&S.observe(m),S.observe(n));let C,E=h?xi(e):null;h&&w();function w(){const O=xi(e);E&&!bx(E,O)&&i(),E=O,C=requestAnimationFrame(w)}return i(),()=>{var O;v.forEach(z=>{l&&z.removeEventListener("scroll",i),c&&z.removeEventListener("resize",i)}),x?.(),(O=S)==null||O.disconnect(),S=null,h&&cancelAnimationFrame(C)}}const Ck=qT,Ok=YT,wk=$T,Rk=KT,Tk=WT,kk=FT,Nk=XT,Ak=(e,n,i)=>{const r=new Map,l={platform:xk,...i},c={...l.platform,_c:r};return jT(e,n,{...l,platform:c})};function Jb(e=0,n=0,i=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,n,i,r);const l={x:e,y:n,width:i,height:r,top:n,right:e+i,bottom:n+r,left:e};return{...l,toJSON:()=>l}}function _k(e){if(!e)return Jb();const{x:n,y:i,width:r,height:l}=e;return Jb(n,i,r,l)}function zk(e,n){return{contextElement:xt(e)?e:void 0,getBoundingClientRect:()=>{const i=e,r=n?.(i);return r||!i?_k(r):i.getBoundingClientRect()}}}var ey=e=>({variable:e,reference:`var(${e})`}),yx={transformOrigin:ey("--transform-origin"),arrowOffset:ey("--arrow-offset")},Vk=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),Ik={name:"transformOrigin",fn({placement:e,elements:n,middlewareData:i}){const{arrow:r}=i,l=Vk(r)[e],{floating:c}=n;return c.style.setProperty(yx.transformOrigin.variable,l),{data:{transformOrigin:l}}}},Dk={name:"rects",fn({rects:e}){return{data:e}}},Mk=e=>{if(e)return{name:"shiftArrow",fn({placement:n,middlewareData:i}){if(!i.arrow)return{};const{x:r,y:l}=i.arrow,c=n.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:l!=null?`${l}px`:"",[c]:`calc(100% + ${yx.arrowOffset.reference})`}),{}}}};function Pk(e){const[n,i]=e.split("-");return{side:n,align:i,hasAlign:i!=null}}function Lk(e){return e.split("-")[0]}var Bk={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function ty(e,n){const i=e.devicePixelRatio||1;return Math.round(n*i)/i}function xx(e){return Rw(e.boundary)}function Hk(e,n){if(e)return kk({element:e,padding:n.arrowPadding})}function Uk(e,n){if(!yw(n.offset??n.gutter))return Ck(({placement:i})=>{const r=(e?.clientHeight||0)/2,l=n.offset?.mainAxis??n.gutter,c=typeof l=="number"?l+r:l??r,{hasAlign:d}=Pk(i),g=d?void 0:n.shift,h=n.offset?.crossAxis??g;return Fc({crossAxis:h,mainAxis:c,alignmentAxis:n.shift})})}function jk(e){if(e.flip)return wk({boundary:xx(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function Fk(e){if(!(!e.slide&&!e.overlap))return Ok({boundary:xx(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Nk()})}function $k(e){return Rk({padding:e.overflowPadding,apply({elements:n,rects:i,availableHeight:r,availableWidth:l}){const c=n.floating,d=Math.round(i.reference.width);l=Math.floor(l),r=Math.floor(r),c.style.setProperty("--reference-width",`${d}px`),c.style.setProperty("--available-width",`${l}px`),c.style.setProperty("--available-height",`${r}px`)}})}function Wk(e){if(e.hideWhenDetached)return Tk({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function Gk(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function qk(e,n,i={}){const r=zk(e,i.getAnchorRect);if(!n||!r)return;const l=Object.assign({},Bk,i),c=n.querySelector("[data-part=arrow]"),d=[Uk(c,l),jk(l),Fk(l),Hk(c,l),Mk(c),Ik,$k(l),Wk(l),Dk],{placement:g,strategy:h,onComplete:m,onPositioned:v}=l,x=async()=>{if(!r||!n)return;const E=await Ak(r,n,{placement:g,middleware:d,strategy:h});m?.(E),v?.({placed:!0});const w=St(n),O=ty(w,E.x),z=ty(w,E.y);n.style.setProperty("--x",`${O}px`),n.style.setProperty("--y",`${z}px`),l.hideWhenDetached&&(E.middlewareData.hide?.referenceHidden?(n.style.setProperty("visibility","hidden"),n.style.setProperty("pointer-events","none")):(n.style.removeProperty("visibility"),n.style.removeProperty("pointer-events")));const k=n.firstElementChild;if(k){const B=j0(k);n.style.setProperty("--z-index",B.zIndex)}},b=async()=>{i.updatePosition?(await i.updatePosition({updatePosition:x}),v?.({placed:!0})):await x()},S=Gk(l.listeners),C=l.listeners?Ek(r,n,b,S):kw;return b(),()=>{C?.(),v?.({placed:!1})}}function bn(e,n,i={}){const{defer:r,...l}=i,c=r?xe:g=>g(),d=[];return d.push(c(()=>{const g=typeof e=="function"?e():e,h=typeof n=="function"?n():n;d.push(qk(g,h,l))})),()=>{d.forEach(g=>g?.())}}function Yk(e){const n={each(i){for(let r=0;r<e.frames?.length;r+=1){const l=e.frames[r];l&&i(l)}},addEventListener(i,r,l){return n.each(c=>{try{c.document.addEventListener(i,r,l)}catch{}}),()=>{try{n.removeEventListener(i,r,l)}catch{}}},removeEventListener(i,r,l){n.each(c=>{try{c.document.removeEventListener(i,r,l)}catch{}})}};return n}function Xk(e){const n=e.frameElement!=null?e.parent:null;return{addEventListener:(i,r,l)=>{try{n?.addEventListener(i,r,l)}catch{}return()=>{try{n?.removeEventListener(i,r,l)}catch{}}},removeEventListener:(i,r,l)=>{try{n?.removeEventListener(i,r,l)}catch{}}}}var ny="pointerdown.outside",ay="focus.outside";function Kk(e){for(const n of e)if(xt(n)&&sl(n))return!0;return!1}var Sx=e=>"clientY"in e;function Qk(e,n){if(!Sx(n)||!e)return!1;const i=e.getBoundingClientRect();return i.width===0||i.height===0?!1:i.top<=n.clientY&&n.clientY<=i.top+i.height&&i.left<=n.clientX&&n.clientX<=i.left+i.width}function Zk(e,n){return e.y<=n.y&&n.y<=e.y+e.height&&e.x<=n.x&&n.x<=e.x+e.width}function iy(e,n){if(!n||!Sx(e))return!1;const i=n.scrollHeight>n.clientHeight,r=i&&e.clientX>n.offsetLeft+n.clientWidth,l=n.scrollWidth>n.clientWidth,c=l&&e.clientY>n.offsetTop+n.clientHeight,d={x:n.offsetLeft,y:n.offsetTop,width:n.clientWidth+(i?16:0),height:n.clientHeight+(l?16:0)},g={x:e.clientX,y:e.clientY};return Zk(d,g)?r||c:!1}function Jk(e,n){const{exclude:i,onFocusOutside:r,onPointerDownOutside:l,onInteractOutside:c,defer:d}=n;if(!e)return;const g=oa(e),h=St(e),m=Yk(h),v=Xk(h);function x(z,k){if(!xt(k)||!k.isConnected||Ma(e,k)||Qk(e,z))return!1;const B=g.querySelector(`[aria-controls="${e.id}"]`);if(B){const q=Rc(B);if(iy(z,q))return!1}const _=Rc(e);return iy(z,_)?!1:!i?.(k)}const b=new Set,S=ll(e?.getRootNode());function C(z){function k(B){const _=d&&!Bb()?xe:H=>H(),q=B??z,j=q?.composedPath?.()??[q?.target];_(()=>{const H=S?j[0]:zn(z);if(!(!e||!x(z,H))){if(l||c){const U=Oc(l,c);e.addEventListener(ny,U,{once:!0})}ry(e,ny,{bubbles:!1,cancelable:!0,detail:{originalEvent:q,contextmenu:SR(q),focusable:Kk(j),target:H}})}})}z.pointerType==="touch"?(b.forEach(B=>B()),b.add(yt(g,"click",k,{once:!0})),b.add(v.addEventListener("click",k,{once:!0})),b.add(m.addEventListener("click",k,{once:!0}))):k()}const E=new Set,w=setTimeout(()=>{E.add(yt(g,"pointerdown",C,!0)),E.add(v.addEventListener("pointerdown",C,!0)),E.add(m.addEventListener("pointerdown",C,!0))},0);function O(z){(d?xe:B=>B())(()=>{const B=zn(z);if(!(!e||!x(z,B))){if(r||c){const _=Oc(r,c);e.addEventListener(ay,_,{once:!0})}ry(e,ay,{bubbles:!1,cancelable:!0,detail:{originalEvent:z,contextmenu:!1,focusable:sl(B),target:B}})}})}return Bb()||(E.add(yt(g,"focusin",O,!0)),E.add(v.addEventListener("focusin",O,!0)),E.add(m.addEventListener("focusin",O,!0))),()=>{clearTimeout(w),b.forEach(z=>z()),E.forEach(z=>z())}}function eN(e,n){const{defer:i}=n,r=i?xe:c=>c(),l=[];return l.push(r(()=>{const c=typeof e=="function"?e():e;l.push(Jk(c,n))})),()=>{l.forEach(c=>c?.())}}function ry(e,n,i){const r=e.ownerDocument.defaultView||window,l=new r.CustomEvent(n,i);return e.dispatchEvent(l)}function tN(e,n){const i=r=>{r.key==="Escape"&&(r.isComposing||n?.(r))};return yt(oa(e),"keydown",i,{capture:!0})}var gn={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const n=this.indexOf(e),i=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return n<i},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},isInNestedLayer(e,n){return this.getNestedLayers(e).some(i=>Ma(i.node,n))},isInBranch(e){return Array.from(this.branches).some(n=>Ma(n,e))},add(e){const n=this.layers.push(e);e.node.style.setProperty("--layer-index",`${n}`)},addBranch(e){this.branches.push(e)},remove(e){const n=this.indexOf(e);n<0||(n<this.count()-1&&this.getNestedLayers(e).forEach(r=>r.dismiss()),this.layers.splice(n,1),e.style.removeProperty("--layer-index"))},removeBranch(e){const n=this.branches.indexOf(e);n>=0&&this.branches.splice(n,1)},indexOf(e){return this.layers.findIndex(n=>n.node===e)},dismiss(e){this.layers[this.indexOf(e)]?.dismiss()},clear(){this.remove(this.layers[0].node)}},oy;function ly(){gn.layers.forEach(({node:e})=>{e.style.pointerEvents=gn.isBelowPointerBlockingLayer(e)?"none":"auto"})}function nN(e){e.style.pointerEvents=""}function aN(e,n){const i=oa(e),r=[];if(gn.hasPointerBlockingLayer()&&!i.body.hasAttribute("data-inert")&&(oy=document.body.style.pointerEvents,queueMicrotask(()=>{i.body.style.pointerEvents="none",i.body.setAttribute("data-inert","")})),n){const l=tT(n,c=>{r.push(ex(c,{pointerEvents:"auto"}))});r.push(l)}return()=>{gn.hasPointerBlockingLayer()||(queueMicrotask(()=>{i.body.style.pointerEvents=oy,i.body.removeAttribute("data-inert"),i.body.style.length===0&&i.body.removeAttribute("style")}),r.forEach(l=>l()))}}function iN(e,n){const{warnOnMissingNode:i=!0}=n;if(i&&!e){wc("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,pointerBlocking:l,exclude:c,debug:d}=n,g={dismiss:r,node:e,pointerBlocking:l};gn.add(g),ly();function h(S){const C=zn(S.detail.originalEvent);gn.isBelowPointerBlockingLayer(e)||gn.isInBranch(C)||(n.onPointerDownOutside?.(S),n.onInteractOutside?.(S),!S.defaultPrevented&&(d&&console.log("onPointerDownOutside:",S.detail.originalEvent),r?.()))}function m(S){const C=zn(S.detail.originalEvent);gn.isInBranch(C)||(n.onFocusOutside?.(S),n.onInteractOutside?.(S),!S.defaultPrevented&&(d&&console.log("onFocusOutside:",S.detail.originalEvent),r?.()))}function v(S){gn.isTopMost(e)&&(n.onEscapeKeyDown?.(S),!S.defaultPrevented&&r&&(S.preventDefault(),r()))}function x(S){if(!e)return!1;const C=typeof c=="function"?c():c,E=Array.isArray(C)?C:[C],w=n.persistentElements?.map(O=>O()).filter(xt);return w&&E.push(...w),E.some(O=>Ma(O,S))||gn.isInNestedLayer(e,S)}const b=[l?aN(e,n.persistentElements):void 0,tN(e,v),eN(e,{exclude:x,onFocusOutside:m,onPointerDownOutside:h,defer:n.defer})];return()=>{gn.remove(e),ly(),nN(e),b.forEach(S=>S?.())}}function Sl(e,n){const{defer:i}=n,r=i?xe:c=>c(),l=[];return l.push(r(()=>{const c=vi(e)?e():e;l.push(iN(c,n))})),()=>{l.forEach(c=>c?.())}}var Ex=me("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);Ex.build();var rN=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,oN=e=>e.ids?.control??`color-picker:${e.id}:control`,lN=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,sN=e=>e.ids?.content??`color-picker:${e.id}:content`,cN=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,uN=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,dN=e=>e.ids?.area??`color-picker:${e.id}:area`,fN=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,gN=(e,n)=>e.ids?.channelSliderTrack?.(n)??`color-picker:${e.id}:slider-track:${n}`,hN=(e,n)=>e.ids?.channelSliderThumb?.(n)??`color-picker:${e.id}:slider-thumb:${n}`,mc=e=>e.getById(sN(e)),mN=e=>e.getById(fN(e)),pN=(e,n)=>e.getById(hN(e,n)),vN=e=>e.getById(uN(e)),sy=e=>e.getById(rN(e)),bN=e=>e.getById(dN(e)),yN=(e,n)=>{const i=bN(e);if(!i)return;const{percent:r}=X0(n,i);return r},xN=e=>e.getById(oN(e)),Pf=e=>e.getById(lN(e)),SN=e=>e.getById(cN(e)),EN=(e,n)=>e.getById(gN(e,n)),CN=(e,n,i)=>{const r=EN(e,i);if(!r)return;const{percent:l}=X0(n,r);return l},ON=e=>[...cl(mc(e),"input[data-channel]"),...cl(xN(e),"input[data-channel]")];function wN(e,n){if(n==null)return"";if(n==="hex")return e.toString("hex");if(n==="css")return e.toString("css");if(n in e)return e.getChannelValue(n).toString();const i=e.getFormat()==="hsla";switch(n){case"hue":return i?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return i?e.toFormat("hsla").getChannelValue("saturation").toString():e.toFormat("hsba").getChannelValue("saturation").toString();case"lightness":return e.toFormat("hsla").getChannelValue("lightness").toString();case"brightness":return e.toFormat("hsba").getChannelValue("brightness").toString();case"red":case"green":case"blue":return e.toFormat("rgba").getChannelValue(n).toString();default:return e.getChannelValue(n).toString()}}var cy=e=>Nc(e),RN=/^[0-9a-fA-F]{3,8}$/;function TN(e){return RN.test(e)}function kN(e){return e.startsWith("#")?e:TN(e)?`#${e}`:e}var{and:NN}=Ha();NN("isOpenControlled","closeOnSelect");function uy(e,n,i){const r=ON(e);xe(()=>{r.forEach(l=>{const c=l.dataset.channel;Gc(l,wN(i||n,c))})})}function AN(e,n){const i=vN(e);i&&xe(()=>Gc(i,n))}he()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]);he()(["xChannel","yChannel"]);he()(["channel","orientation"]);he()(["value","disabled"]);he()(["value","respectAlpha"]);he()(["size"]);const[Cx,_N]=vl({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),Ox=e=>yl()(e,["lazyMount","unmountOnExit"]);var wx=me("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");wx.build();var Rx=e=>e.ids?.root??`accordion:${e.id}`,Tx=(e,n)=>e.ids?.itemTrigger?.(n)??`accordion:${e.id}:trigger:${n}`,zN=e=>e.getById(Rx(e)),Zc=e=>{const i=`[aria-controls][data-ownedby='${CSS.escape(Rx(e))}']:not([disabled])`;return cl(zN(e),i)},VN=e=>Rr(Zc(e)),IN=e=>Uc(Zc(e)),DN=(e,n)=>Z0(Zc(e),Tx(e,n)),MN=(e,n)=>J0(Zc(e),Tx(e,n)),{and:PN,not:LN}=Ha();PN("isExpanded","canToggle"),LN("isExpanded");he()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]);he()(["value","disabled"]);var Xo=(e,n)=>({x:e,y:n});function BN(e){const{x:n,y:i,width:r,height:l}=e,c=n+r/2,d=i+l/2;return{x:n,y:i,width:r,height:l,minX:n,minY:i,maxX:n+r,maxY:i+l,midX:c,midY:d,center:Xo(c,d)}}function HN(e){const n=Xo(e.minX,e.minY),i=Xo(e.maxX,e.minY),r=Xo(e.maxX,e.maxY),l=Xo(e.minX,e.maxY);return{top:n,right:i,bottom:r,left:l}}function UN(e,n){const i=BN(e),{top:r,right:l,left:c,bottom:d}=HN(i),[g]=n.split("-");return{top:[c,r,l,d],right:[r,l,d,c],bottom:[r,c,d,l],left:[l,r,c,d]}[g]}function jN(e,n){const{x:i,y:r}=n;let l=!1;for(let c=0,d=e.length-1;c<e.length;d=c++){const g=e[c].x,h=e[c].y,m=e[d].x,v=e[d].y;h>r!=v>r&&i<(m-g)*(r-h)/(v-h)+g&&(l=!l)}return l}var kx=me("avatar").parts("root","image","fallback");kx.build();he()(["dir","id","ids","onStatusChange","getRootNode"]);function FN(e){return!(e.metaKey||!bl()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var $N=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function WN(e,n,i){const r=i?zn(i):null,l=St(r);return e=e||r instanceof l.HTMLInputElement&&!$N.has(r?.type)||r instanceof l.HTMLTextAreaElement||r instanceof l.HTMLElement&&r.isContentEditable,!(e&&n==="keyboard"&&i instanceof l.KeyboardEvent&&!Reflect.has(GN,i.key))}var Ci=null,rg=new Set,el=new Map,Si=!1,og=!1,GN={Tab:!0,Escape:!0};function Jc(e,n){for(let i of rg)i(e,n)}function Vc(e){Si=!0,FN(e)&&(Ci="keyboard",Jc("keyboard",e))}function cn(e){Ci="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Si=!0,Jc("pointer",e))}function Nx(e){xR(e)&&(Si=!0,Ci="virtual")}function Ax(e){const n=zn(e);n===St(n)||n===oa(n)||(!Si&&!og&&(Ci="virtual",Jc("virtual",e)),Si=!1,og=!1)}function _x(){Si=!1,og=!0}function qN(e){if(typeof window>"u"||el.get(St(e)))return;const n=St(e),i=oa(e);let r=n.HTMLElement.prototype.focus;function l(){Ci="virtual",Jc("virtual",null),Si=!0,r.apply(this,arguments)}Object.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,value:l}),i.addEventListener("keydown",Vc,!0),i.addEventListener("keyup",Vc,!0),i.addEventListener("click",Nx,!0),n.addEventListener("focus",Ax,!0),n.addEventListener("blur",_x,!1),typeof n.PointerEvent<"u"?(i.addEventListener("pointerdown",cn,!0),i.addEventListener("pointermove",cn,!0),i.addEventListener("pointerup",cn,!0)):(i.addEventListener("mousedown",cn,!0),i.addEventListener("mousemove",cn,!0),i.addEventListener("mouseup",cn,!0)),n.addEventListener("beforeunload",()=>{YN(e)},{once:!0}),el.set(n,{focus:r})}var YN=(e,n)=>{const i=St(e),r=oa(e);el.has(i)&&(i.HTMLElement.prototype.focus=el.get(i).focus,r.removeEventListener("keydown",Vc,!0),r.removeEventListener("keyup",Vc,!0),r.removeEventListener("click",Nx,!0),i.removeEventListener("focus",Ax,!0),i.removeEventListener("blur",_x,!1),typeof i.PointerEvent<"u"?(r.removeEventListener("pointerdown",cn,!0),r.removeEventListener("pointermove",cn,!0),r.removeEventListener("pointerup",cn,!0)):(r.removeEventListener("mousedown",cn,!0),r.removeEventListener("mousemove",cn,!0),r.removeEventListener("mouseup",cn,!0)),el.delete(i))};function dy(){return Ci==="keyboard"}function XN(e={}){const{isTextInput:n,autoFocus:i,onChange:r,root:l}=e;qN(l),r?.({isFocusVisible:i||dy(),modality:Ci});const c=(d,g)=>{WN(!!n,d,g)&&r?.({isFocusVisible:dy(),modality:d})};return rg.add(c),()=>{rg.delete(c)}}var zx=me("checkbox").parts("root","label","control","indicator");zx.build();he()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const KN=zx.extendWith("group");var Vx=me("clipboard").parts("root","control","trigger","indicator","input","label");Vx.build();he()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]);he()(["copied"]);const QN=Ex.extendWith("view");var ZN=Object.defineProperty,JN=(e,n,i)=>n in e?ZN(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,ee=(e,n,i)=>JN(e,typeof n!="symbol"?n+"":n,i),pc={itemToValue(e){return typeof e=="string"?e:pi(e)&&Da(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:pi(e)&&Da(e,"label")?e.label:pc.itemToValue(e)},isItemDisabled(e){return pi(e)&&Da(e,"disabled")?!!e.disabled:!1}},eu=class Ix{constructor(n){this.options=n,ee(this,"items"),ee(this,"copy",i=>new Ix({...this.options,items:i??[...this.items]})),ee(this,"isEqual",i=>mn(this.items,i.items)),ee(this,"setItems",i=>this.copy(i)),ee(this,"getValues",(i=this.items)=>Array.from(i).map(r=>this.getItemValue(r)).filter(Boolean)),ee(this,"find",i=>{if(i==null)return null;const r=this.indexOf(i);return r!=null?this.at(r):null}),ee(this,"findMany",i=>Array.from(i).map(r=>this.find(r)).filter(r=>r!=null)),ee(this,"at",i=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[i]??null;let r=0;const l=this.group();for(const[,c]of l)for(const d of c){if(r===i)return d;r++}return null}),ee(this,"sortFn",(i,r)=>{const l=this.indexOf(i),c=this.indexOf(r);return(l??0)-(c??0)}),ee(this,"sort",i=>[...i].sort(this.sortFn.bind(this))),ee(this,"getItemValue",i=>i==null?null:this.options.itemToValue?.(i)??pc.itemToValue(i)),ee(this,"getItemDisabled",i=>i==null?!1:this.options.isItemDisabled?.(i)??pc.isItemDisabled(i)),ee(this,"stringifyItem",i=>i==null?null:this.options.itemToString?.(i)??pc.itemToString(i)),ee(this,"stringify",i=>i==null?null:this.stringifyItem(this.find(i))),ee(this,"stringifyItems",(i,r=", ")=>Array.from(i).map(l=>this.stringifyItem(l)).filter(Boolean).join(r)),ee(this,"stringifyMany",(i,r)=>this.stringifyItems(this.findMany(i),r)),ee(this,"has",i=>this.indexOf(i)!==-1),ee(this,"hasItem",i=>i==null?!1:this.has(this.getItemValue(i))),ee(this,"group",()=>{const{groupBy:i,groupSort:r}=this.options;if(!i)return[["",[...this.items]]];const l=new Map;this.items.forEach((d,g)=>{const h=i(d,g);l.has(h)||l.set(h,[]),l.get(h).push(d)});let c=Array.from(l.entries());return r&&c.sort(([d],[g])=>{if(typeof r=="function")return r(d,g);if(Array.isArray(r)){const h=r.indexOf(d),m=r.indexOf(g);return h===-1?1:m===-1?-1:h-m}return r==="asc"?d.localeCompare(g):r==="desc"?g.localeCompare(d):0}),c}),ee(this,"getNextValue",(i,r=1,l=!1)=>{let c=this.indexOf(i);if(c===-1)return null;for(c=l?Math.min(c+r,this.size-1):c+r;c<=this.size&&this.getItemDisabled(this.at(c));)c++;return this.getItemValue(this.at(c))}),ee(this,"getPreviousValue",(i,r=1,l=!1)=>{let c=this.indexOf(i);if(c===-1)return null;for(c=l?Math.max(c-r,0):c-r;c>=0&&this.getItemDisabled(this.at(c));)c--;return this.getItemValue(this.at(c))}),ee(this,"indexOf",i=>{if(i==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(c=>this.getItemValue(c)===i);let r=0;const l=this.group();for(const[,c]of l)for(const d of c){if(this.getItemValue(d)===i)return r;r++}return-1}),ee(this,"getByText",(i,r)=>{let l=r!=null?t2(this.items,this.indexOf(r)):this.items;return i.length===1&&(l=l.filter(d=>this.getItemValue(d)!==r)),l.find(d=>e2(this.stringifyItem(d),i))}),ee(this,"search",(i,r)=>{const{state:l,currentValue:c,timeout:d=350}=r,g=l.keysSoFar+i,m=g.length>1&&Array.from(g).every(C=>C===g[0])?g[0]:g,v=this.getByText(m,c),x=this.getItemValue(v);function b(){clearTimeout(l.timer),l.timer=-1}function S(C){l.keysSoFar=C,b(),C!==""&&(l.timer=+setTimeout(()=>{S(""),b()},d))}return S(g),x}),ee(this,"update",(i,r)=>{let l=this.indexOf(i);return l===-1?this:this.copy([...this.items.slice(0,l),r,...this.items.slice(l+1)])}),ee(this,"upsert",(i,r,l="append")=>{let c=this.indexOf(i);return c===-1?(l==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,c),r,...this.items.slice(c+1)])}),ee(this,"insert",(i,...r)=>this.copy(jo(this.items,i,...r))),ee(this,"insertBefore",(i,...r)=>{let l=this.indexOf(i);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(jo(this.items,l,...r))}),ee(this,"insertAfter",(i,...r)=>{let l=this.indexOf(i);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(jo(this.items,l+1,...r))}),ee(this,"prepend",(...i)=>this.copy(jo(this.items,0,...i))),ee(this,"append",(...i)=>this.copy(jo(this.items,this.items.length,...i))),ee(this,"filter",i=>{const r=this.items.filter((l,c)=>i(this.stringifyItem(l),c,l));return this.copy(r)}),ee(this,"remove",(...i)=>{const r=i.map(l=>typeof l=="string"?l:this.getItemValue(l));return this.copy(this.items.filter(l=>{const c=this.getItemValue(l);return c==null?!1:!r.includes(c)}))}),ee(this,"move",(i,r)=>{const l=this.indexOf(i);return l===-1?this:this.copy(Gs(this.items,[l],r))}),ee(this,"moveBefore",(i,...r)=>{let l=this.items.findIndex(d=>this.getItemValue(d)===i);if(l===-1)return this;let c=r.map(d=>this.items.findIndex(g=>this.getItemValue(g)===d)).sort((d,g)=>d-g);return this.copy(Gs(this.items,c,l))}),ee(this,"moveAfter",(i,...r)=>{let l=this.items.findIndex(d=>this.getItemValue(d)===i);if(l===-1)return this;let c=r.map(d=>this.items.findIndex(g=>this.getItemValue(g)===d)).sort((d,g)=>d-g);return this.copy(Gs(this.items,c,l+1))}),ee(this,"reorder",(i,r)=>this.copy(Gs(this.items,[i],r))),ee(this,"compareValue",(i,r)=>{const l=this.indexOf(i),c=this.indexOf(r);return l<c?-1:l>c?1:0}),ee(this,"range",(i,r)=>{let l=[],c=i;for(;c!=null;){if(this.find(c)&&l.push(c),c===r)return l;c=this.getNextValue(c)}return[]}),ee(this,"getValueRange",(i,r)=>i&&r?this.compareValue(i,r)<=0?this.range(i,r):this.range(r,i):[]),ee(this,"toString",()=>{let i="";for(const r of this.items){const l=this.getItemValue(r),c=this.stringifyItem(r),d=this.getItemDisabled(r),g=[l,c,d].filter(Boolean).join(":");i+=g+","}return i}),ee(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...n.items]}get size(){return this.items.length}get firstValue(){let n=0;for(;this.getItemDisabled(this.at(n));)n++;return this.getItemValue(this.at(n))}get lastValue(){let n=this.size-1;for(;this.getItemDisabled(this.at(n));)n--;return this.getItemValue(this.at(n))}*[Symbol.iterator](){yield*this.items}},e2=(e,n)=>!!e?.toLowerCase().startsWith(n.toLowerCase()),t2=(e,n)=>e.map((i,r)=>e[(Math.max(n,0)+r)%e.length]);function jo(e,n,...i){return[...e.slice(0,n),...i,...e.slice(n)]}function Gs(e,n,i){n=[...n].sort((l,c)=>l-c);const r=n.map(l=>e[l]);for(let l=n.length-1;l>=0;l--)e=[...e.slice(0,n[l]),...e.slice(n[l]+1)];return i=Math.max(0,i-n.filter(l=>l<i).length),[...e.slice(0,i),...r,...e.slice(i)]}function Dx(e,n,i){for(let r=0;r<n.length;r++)e=i.getChildren(e,n.slice(r+1))[n[r]];return e}function n2(e){const n=a2(e),i=[],r=new Set;for(const l of n){const c=l.join();r.has(c)||(r.add(c),i.push(l))}return i}function Mx(e,n){for(let i=0;i<Math.min(e.length,n.length);i++){if(e[i]<n[i])return-1;if(e[i]>n[i])return 1}return e.length-n.length}function a2(e){return e.sort(Mx)}function i2(e,n){let i;return qt(e,{...n,onEnter:(r,l)=>{if(n.predicate(r,l))return i=r,"stop"}}),i}function r2(e,n){const i=[];return qt(e,{onEnter:(r,l)=>{n.predicate(r,l)&&i.push(r)},getChildren:n.getChildren}),i}function fy(e,n){let i;return qt(e,{onEnter:(r,l)=>{if(n.predicate(r,l))return i=[...l],"stop"},getChildren:n.getChildren}),i}function o2(e,n){let i=n.initialResult;return qt(e,{...n,onEnter:(r,l)=>{i=n.nextResult(i,r,l)}}),i}function l2(e,n){return o2(e,{...n,initialResult:[],nextResult:(i,r,l)=>(i.push(...n.transform(r,l)),i)})}function s2(e,n){const{predicate:i,create:r,getChildren:l}=n,c=(d,g)=>{const h=l(d,g),m=[];h.forEach((S,C)=>{const E=[...g,C],w=c(S,E);w&&m.push(w)});const v=g.length===0,x=i(d,g),b=m.length>0;return v||x||b?r(d,m,g):null};return c(e,[])||r(e,[],[])}function c2(e,n){const i=[];let r=0;const l=new Map,c=new Map;return qt(e,{getChildren:n.getChildren,onEnter:(d,g)=>{l.has(d)||l.set(d,r++);const h=n.getChildren(d,g);h.forEach(S=>{c.has(S)||c.set(S,d),l.has(S)||l.set(S,r++)});const m=h.length>0?h.map(S=>l.get(S)):void 0,v=c.get(d),x=v?l.get(v):void 0,b=l.get(d);i.push({...d,_children:m,_parent:x,_index:b})}}),i}function u2(e,n){return{type:"insert",index:e,nodes:n}}function d2(e){return{type:"remove",indexes:e}}function ih(){return{type:"replace"}}function Px(e){return[e.slice(0,-1),e[e.length-1]]}function Lx(e,n,i=new Map){const[r,l]=Px(e);for(let d=r.length-1;d>=0;d--){const g=r.slice(0,d).join();switch(i.get(g)?.type){case"remove":continue}i.set(g,ih())}const c=i.get(r.join());switch(c?.type){case"remove":i.set(r.join(),{type:"removeThenInsert",removeIndexes:c.indexes,insertIndex:l,insertNodes:n});break;default:i.set(r.join(),u2(l,n))}return i}function Bx(e){const n=new Map,i=new Map;for(const r of e){const l=r.slice(0,-1).join(),c=i.get(l)??[];c.push(r[r.length-1]),i.set(l,c.sort((d,g)=>d-g))}for(const r of e)for(let l=r.length-2;l>=0;l--){const c=r.slice(0,l).join();n.has(c)||n.set(c,ih())}for(const[r,l]of i)n.set(r,d2(l));return n}function f2(e,n){const i=new Map,[r,l]=Px(e);for(let c=r.length-1;c>=0;c--){const d=r.slice(0,c).join();i.set(d,ih())}return i.set(r.join(),{type:"removeThenInsert",removeIndexes:[l],insertIndex:l,insertNodes:[n]}),i}function tu(e,n,i){return g2(e,{...i,getChildren:(r,l)=>{const c=l.join();switch(n.get(c)?.type){case"replace":case"remove":case"removeThenInsert":case"insert":return i.getChildren(r,l);default:return[]}},transform:(r,l,c)=>{const d=c.join(),g=n.get(d);switch(g?.type){case"remove":return i.create(r,l.filter((v,x)=>!g.indexes.includes(x)),c);case"removeThenInsert":const h=l.filter((v,x)=>!g.removeIndexes.includes(x)),m=g.removeIndexes.reduce((v,x)=>x<v?v-1:v,g.insertIndex);return i.create(r,gy(h,m,0,...g.insertNodes),c);case"insert":return i.create(r,gy(l,g.index,0,...g.nodes),c);case"replace":return i.create(r,l,c);default:return r}}})}function gy(e,n,i,...r){return[...e.slice(0,n),...r,...e.slice(n+i)]}function g2(e,n){const i={};return qt(e,{...n,onLeave:(r,l)=>{const c=[0,...l],d=c.join(),g=n.transform(r,i[d]??[],l),h=c.slice(0,-1).join(),m=i[h]??[];m.push(g),i[h]=m}}),i[""][0]}function h2(e,n){const{nodes:i,at:r}=n;if(r.length===0)throw new Error("Can't insert nodes at the root");const l=Lx(r,i);return tu(e,l,n)}function m2(e,n){if(n.at.length===0)return n.node;const i=f2(n.at,n.node);return tu(e,i,n)}function p2(e,n){if(n.indexPaths.length===0)return e;for(const r of n.indexPaths)if(r.length===0)throw new Error("Can't remove the root node");const i=Bx(n.indexPaths);return tu(e,i,n)}function v2(e,n){if(n.indexPaths.length===0)return e;for(const c of n.indexPaths)if(c.length===0)throw new Error("Can't move the root node");if(n.to.length===0)throw new Error("Can't move nodes to the root");const i=n2(n.indexPaths),r=i.map(c=>Dx(e,c,n)),l=Lx(n.to,r,Bx(i));return tu(e,l,n)}function qt(e,n){const{onEnter:i,onLeave:r,getChildren:l}=n;let c=[],d=[{node:e}];const g=n.reuseIndexPath?()=>c:()=>c.slice();for(;d.length>0;){let h=d[d.length-1];if(h.state===void 0){const v=i?.(h.node,g());if(v==="stop")return;h.state=v==="skip"?-1:0}const m=h.children||l(h.node,g());if(h.children||(h.children=m),h.state!==-1){if(h.state<m.length){let x=h.state;c.push(x),d.push({node:m[x]}),h.state=x+1;continue}if(r?.(h.node,g())==="stop")return}c.pop(),d.pop()}}var Hx=class Ux{constructor(n){this.options=n,ee(this,"rootNode"),ee(this,"isEqual",i=>mn(this.rootNode,i.rootNode)),ee(this,"getNodeChildren",i=>this.options.nodeToChildren?.(i)??pr.nodeToChildren(i)??[]),ee(this,"resolveIndexPath",i=>typeof i=="string"?this.getIndexPath(i):i),ee(this,"resolveNode",i=>{const r=this.resolveIndexPath(i);return r?this.at(r):void 0}),ee(this,"getNodeChildrenCount",i=>this.options.nodeToChildrenCount?.(i)??pr.nodeToChildrenCount(i)),ee(this,"getNodeValue",i=>this.options.nodeToValue?.(i)??pr.nodeToValue(i)),ee(this,"getNodeDisabled",i=>this.options.isNodeDisabled?.(i)??pr.isNodeDisabled(i)),ee(this,"stringify",i=>{const r=this.findNode(i);return r?this.stringifyNode(r):null}),ee(this,"stringifyNode",i=>this.options.nodeToString?.(i)??pr.nodeToString(i)),ee(this,"getFirstNode",(i=this.rootNode)=>{let r;return qt(i,{getChildren:this.getNodeChildren,onEnter:(l,c)=>{if(!r&&c.length>0&&!this.getNodeDisabled(l))return r=l,"stop"}}),r}),ee(this,"getLastNode",(i=this.rootNode,r={})=>{let l;return qt(i,{getChildren:this.getNodeChildren,onEnter:(c,d)=>{if(!this.isSameNode(c,i)){if(r.skip?.({value:this.getNodeValue(c),node:c,indexPath:d}))return"skip";d.length>0&&!this.getNodeDisabled(c)&&(l=c)}}}),l}),ee(this,"at",i=>Dx(this.rootNode,i,{getChildren:this.getNodeChildren})),ee(this,"findNode",(i,r=this.rootNode)=>i2(r,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===i})),ee(this,"findNodes",(i,r=this.rootNode)=>{const l=new Set(i.filter(c=>c!=null));return r2(r,{getChildren:this.getNodeChildren,predicate:c=>l.has(this.getNodeValue(c))})}),ee(this,"sort",i=>i.reduce((r,l)=>{const c=this.getIndexPath(l);return c&&r.push({value:l,indexPath:c}),r},[]).sort((r,l)=>Mx(r.indexPath,l.indexPath)).map(({value:r})=>r)),ee(this,"getIndexPath",i=>fy(this.rootNode,{getChildren:this.getNodeChildren,predicate:r=>this.getNodeValue(r)===i})),ee(this,"getValue",i=>{const r=this.at(i);return r?this.getNodeValue(r):void 0}),ee(this,"getValuePath",i=>{if(!i)return[];const r=[];let l=[...i];for(;l.length>0;){const c=this.at(l);c&&r.unshift(this.getNodeValue(c)),l.pop()}return r}),ee(this,"getDepth",i=>fy(this.rootNode,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===i})?.length??0),ee(this,"isSameNode",(i,r)=>this.getNodeValue(i)===this.getNodeValue(r)),ee(this,"isRootNode",i=>this.isSameNode(i,this.rootNode)),ee(this,"contains",(i,r)=>!i||!r?!1:r.slice(0,i.length).every((l,c)=>i[c]===r[c])),ee(this,"getNextNode",(i,r={})=>{let l=!1,c;return qt(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(d,g)=>{if(this.isRootNode(d))return;const h=this.getNodeValue(d);if(r.skip?.({value:h,node:d,indexPath:g}))return h===i&&(l=!0),"skip";if(l&&!this.getNodeDisabled(d))return c=d,"stop";h===i&&(l=!0)}}),c}),ee(this,"getPreviousNode",(i,r={})=>{let l,c=!1;return qt(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(d,g)=>{if(this.isRootNode(d))return;const h=this.getNodeValue(d);if(r.skip?.({value:h,node:d,indexPath:g}))return"skip";if(h===i)return c=!0,"stop";this.getNodeDisabled(d)||(l=d)}}),c?l:void 0}),ee(this,"getParentNodes",i=>{const r=this.resolveIndexPath(i)?.slice();if(!r)return[];const l=[];for(;r.length>0;){r.pop();const c=this.at(r);c&&!this.isRootNode(c)&&l.unshift(c)}return l}),ee(this,"getDescendantNodes",(i,r)=>{const l=this.resolveNode(i);if(!l)return[];const c=[];return qt(l,{getChildren:this.getNodeChildren,onEnter:(d,g)=>{g.length!==0&&(!r?.withBranch&&this.isBranchNode(d)||c.push(d))}}),c}),ee(this,"getDescendantValues",(i,r)=>this.getDescendantNodes(i,r).map(c=>this.getNodeValue(c))),ee(this,"getParentIndexPath",i=>i.slice(0,-1)),ee(this,"getParentNode",i=>{const r=this.resolveIndexPath(i);return r?this.at(this.getParentIndexPath(r)):void 0}),ee(this,"visit",i=>{const{skip:r,...l}=i;qt(this.rootNode,{...l,getChildren:this.getNodeChildren,onEnter:(c,d)=>{if(!this.isRootNode(c))return r?.({value:this.getNodeValue(c),node:c,indexPath:d})?"skip":l.onEnter?.(c,d)}})}),ee(this,"getPreviousSibling",i=>{const r=this.getParentNode(i);if(!r)return;const l=this.getNodeChildren(r);let c=i[i.length-1];for(;--c>=0;){const d=l[c];if(!this.getNodeDisabled(d))return d}}),ee(this,"getNextSibling",i=>{const r=this.getParentNode(i);if(!r)return;const l=this.getNodeChildren(r);let c=i[i.length-1];for(;++c<l.length;){const d=l[c];if(!this.getNodeDisabled(d))return d}}),ee(this,"getSiblingNodes",i=>{const r=this.getParentNode(i);return r?this.getNodeChildren(r):[]}),ee(this,"getValues",(i=this.rootNode)=>l2(i,{getChildren:this.getNodeChildren,transform:l=>[this.getNodeValue(l)]}).slice(1)),ee(this,"isSameDepth",(i,r)=>r==null?!0:i.length===r),ee(this,"isBranchNode",i=>this.getNodeChildren(i).length>0||this.getNodeChildrenCount(i)!=null),ee(this,"getBranchValues",(i=this.rootNode,r={})=>{let l=[];return qt(i,{getChildren:this.getNodeChildren,onEnter:(c,d)=>{if(d.length===0)return;const g=this.getNodeValue(c);if(r.skip?.({value:g,node:c,indexPath:d}))return"skip";this.isBranchNode(c)&&this.isSameDepth(d,r.depth)&&l.push(this.getNodeValue(c))}}),l}),ee(this,"flatten",(i=this.rootNode)=>c2(i,{getChildren:this.getNodeChildren})),ee(this,"_create",(i,r)=>Fc({...i,children:r.length>0?r:void 0})),ee(this,"_insert",(i,r,l)=>this.copy(h2(i,{at:r,nodes:l,getChildren:this.getNodeChildren,create:this._create}))),ee(this,"copy",i=>new Ux({...this.options,rootNode:i})),ee(this,"_replace",(i,r,l)=>this.copy(m2(i,{at:r,node:l,getChildren:this.getNodeChildren,create:this._create}))),ee(this,"_move",(i,r,l)=>this.copy(v2(i,{indexPaths:r,to:l,getChildren:this.getNodeChildren,create:this._create}))),ee(this,"_remove",(i,r)=>this.copy(p2(i,{indexPaths:r,getChildren:this.getNodeChildren,create:this._create}))),ee(this,"replace",(i,r)=>this._replace(this.rootNode,i,r)),ee(this,"remove",i=>this._remove(this.rootNode,i)),ee(this,"insertBefore",(i,r)=>this.getParentNode(i)?this._insert(this.rootNode,i,r):void 0),ee(this,"insertAfter",(i,r)=>{if(!this.getParentNode(i))return;const c=[...i.slice(0,-1),i[i.length-1]+1];return this._insert(this.rootNode,c,r)}),ee(this,"move",(i,r)=>this._move(this.rootNode,i,r)),ee(this,"filter",i=>{const r=s2(this.rootNode,{predicate:i,getChildren:this.getNodeChildren,create:this._create});return this.copy(r)}),ee(this,"toJSON",()=>this.getValues(this.rootNode)),this.rootNode=n.rootNode}},pr={nodeToValue(e){return typeof e=="string"?e:pi(e)&&Da(e,"value")?e.value:""},nodeToString(e){return typeof e=="string"?e:pi(e)&&Da(e,"label")?e.label:pr.nodeToValue(e)},isNodeDisabled(e){return pi(e)&&Da(e,"disabled")?!!e.disabled:!1},nodeToChildren(e){return e.children},nodeToChildrenCount(e){if(pi(e)&&Da(e,"childrenCount"))return e.childrenCount}},fr=new WeakMap,qs=new WeakMap,Ys={},Lf=0,jx=e=>e&&(e.host||jx(e.parentNode)),b2=(e,n)=>n.map(i=>{if(e.contains(i))return i;const r=jx(i);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",i,"in not contained inside",e,". Doing nothing"),null)}).filter(i=>!!i),y2=new Set(["script","output","status","next-route-announcer"]),x2=e=>y2.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),S2=(e,n)=>{const{parentNode:i,markerName:r,controlAttribute:l}=n,c=b2(i,Array.isArray(e)?e:[e]);Ys[r]||(Ys[r]=new WeakMap);const d=Ys[r],g=[],h=new Set,m=new Set(c),v=b=>{!b||h.has(b)||(h.add(b),v(b.parentNode))};c.forEach(v);const x=b=>{!b||m.has(b)||Array.prototype.forEach.call(b.children,S=>{if(h.has(S))x(S);else try{if(x2(S))return;const E=S.getAttribute(l)==="true",w=(fr.get(S)||0)+1,O=(d.get(S)||0)+1;fr.set(S,w),d.set(S,O),g.push(S),w===1&&E&&qs.set(S,!0),O===1&&S.setAttribute(r,""),E||S.setAttribute(l,"true")}catch(C){console.error("[zag-js > ariaHidden] cannot operate on ",S,C)}})};return x(i),h.clear(),Lf++,()=>{g.forEach(b=>{const S=fr.get(b)-1,C=d.get(b)-1;fr.set(b,S),d.set(b,C),S||(qs.has(b)||b.removeAttribute(l),qs.delete(b)),C||b.removeAttribute(r)}),Lf--,Lf||(fr=new WeakMap,fr=new WeakMap,qs=new WeakMap,Ys={})}},E2=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,C2=(e,n=E2(e),i="data-aria-hidden")=>{if(n)return S2(e,{parentNode:n,markerName:i,controlAttribute:"aria-hidden"})},O2=e=>{const n=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(n)};function w2(e,n={}){const{defer:i=!0}=n,r=i?O2:c=>c(),l=[];return l.push(r(()=>{const d=(typeof e=="function"?e():e).filter(Boolean);d.length!==0&&l.push(C2(d))})),()=>{l.forEach(c=>c?.())}}var Fx=me("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");Fx.build();var $x=e=>new eu(e);$x.empty=()=>new eu({items:[]});var R2=e=>e.ids?.control??`combobox:${e.id}:control`,T2=e=>e.ids?.input??`combobox:${e.id}:input`,k2=e=>e.ids?.content??`combobox:${e.id}:content`,N2=e=>e.ids?.positioner??`combobox:${e.id}:popper`,A2=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,_2=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,Va=e=>e.getById(k2(e)),vr=e=>e.getById(T2(e)),hy=e=>e.getById(N2(e)),my=e=>e.getById(R2(e)),Ko=e=>e.getById(A2(e)),py=e=>e.getById(_2(e)),vy=(e,n)=>{if(n==null)return;const i=`[role=option][data-value="${CSS.escape(n)}"]`;return WR(Va(e),i)},by=e=>{const n=vr(e);e.isActiveElement(n)||n?.focus({preventScroll:!0})},z2=e=>{const n=Ko(e);e.isActiveElement(n)||n?.focus({preventScroll:!0})},{guards:V2,createMachine:I2,choose:D2}=$g(),{and:dt,not:Gt}=V2;I2({props({props:e}){return{loopFocus:!0,openOnClick:!1,defaultValue:[],closeOnSelect:!e.multiple,allowCustomValue:!1,inputBehavior:"none",selectionBehavior:e.multiple?"clear":"replace",openOnKeyPress:!0,openOnChange:!0,composite:!0,navigate({node:n}){Hg(n)},collection:$x.empty(),...e,positioning:{placement:"bottom",sameWidth:!0,...e.positioning},translations:{triggerLabel:"Toggle suggestions",clearTriggerLabel:"Clear value",...e.translations}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"suggesting":"idle"},context({prop:e,bindable:n,getContext:i,getEvent:r}){return{currentPlacement:n(()=>({defaultValue:void 0})),value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:mn,hash(l){return l.join(",")},onChange(l){const c=i(),d=c.get("selectedItems"),g=e("collection"),h=l.map(m=>d.find(x=>g.getItemValue(x)===m)||g.find(m));c.set("selectedItems",h),e("onValueChange")?.({value:l,items:h})}})),highlightedValue:n(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(l){const c=e("collection").find(l);e("onHighlightChange")?.({highlightedValue:l,highlightedItem:c})}})),inputValue:n(()=>{let l=e("inputValue")||e("defaultInputValue")||"";const c=e("defaultValue")||e("value")||[];if(!l.trim()&&!e("multiple")){const d=e("collection").stringifyMany(c);l=Jn(e("selectionBehavior"),{preserve:l||d,replace:d,clear:""})}return{defaultValue:l,value:e("inputValue"),onChange(d){const g=r(),h=(g.previousEvent||g).src;e("onInputValueChange")?.({inputValue:d,reason:h})}}}),highlightedItem:n(()=>{const l=e("highlightedValue");return{defaultValue:e("collection").find(l)}}),selectedItems:n(()=>{const l=e("value")||e("defaultValue")||[];return{defaultValue:e("collection").findMany(l)}})}},computed:{isInputValueEmpty:({context:e})=>e.get("inputValue").length===0,isInteractive:({prop:e})=>!(e("readOnly")||e("disabled")),autoComplete:({prop:e})=>e("inputBehavior")==="autocomplete",autoHighlight:({prop:e})=>e("inputBehavior")==="autohighlight",hasSelectedItems:({context:e})=>e.get("value").length>0,valueAsString:({context:e,prop:n})=>n("collection").stringifyItems(e.get("selectedItems")),isCustomValue:({context:e,computed:n})=>e.get("inputValue")!==n("valueAsString")},watch({context:e,prop:n,track:i,action:r,send:l}){i([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),i([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),i([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),i([()=>n("open")],()=>{r(["toggleVisibility"])}),i([()=>n("collection").toString()],()=>{l({type:"CHILDREN_CHANGE"})})},on:{"SELECTED_ITEMS.SYNC":{actions:["syncSelectedItems"]},"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedValue"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedValue"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setValue"]},"INPUT_VALUE.SET":{actions:["setInputValue"]},"POSITIONING.SET":{actions:["reposition"]}},entry:D2([{guard:"autoFocus",actions:["setInitialFocus"]}]),states:{idle:{tags:["idle","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":{target:"interacting"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{target:"focused",actions:["clearInputValue","clearSelectedItems","setInitialFocus"]}}},focused:{tags:["focused","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":[{guard:"isChangeEvent",target:"suggesting"},{target:"interacting"}],"INPUT.CHANGE":[{guard:dt("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:dt("isCustomValue",Gt("allowCustomValue")),actions:["revertInputValue"]},"INPUT.BLUR":{target:"idle"},"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_DOWN":[{guard:dt("isOpenControlled","autoComplete"),actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"isOpenControlled",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_UP":[{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{actions:["clearInputValue","clearSelectedItems"]}}},interacting:{tags:["open","focused"],entry:["setInitialFocus"],effects:["scrollToHighlightedItem","trackDismissableLayer","trackPlacement","hideOtherElements"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]},{actions:["scrollToHighlightedItem"]}],"INPUT.HOME":{actions:["highlightFirstItem"]},"INPUT.END":{actions:["highlightLastItem"]},"INPUT.ARROW_DOWN":[{guard:dt("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:dt("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:dt("isOpenControlled","isCustomValue",Gt("hasHighlightedItem"),Gt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:dt("isCustomValue",Gt("hasHighlightedItem"),Gt("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:dt("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":[{guard:"autoComplete",target:"suggesting",actions:["setInputValue"]},{target:"suggesting",actions:["clearHighlightedValue","setInputValue"]}],"ITEM.POINTER_MOVE":{actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"ITEM.CLICK":[{guard:dt("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:dt("isOpenControlled","autoComplete"),actions:["syncInputValue","invokeOnClose"]},{guard:"autoComplete",target:"focused",actions:["syncInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"LAYER.INTERACT_OUTSIDE":[{guard:dt("isOpenControlled","isCustomValue",Gt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:dt("isCustomValue",Gt("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}},suggesting:{tags:["open","focused"],effects:["trackDismissableLayer","scrollToHighlightedItem","trackPlacement","hideOtherElements"],entry:["setInitialFocus"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"autoHighlight",actions:["highlightFirstItem"]},{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]}],"INPUT.ARROW_DOWN":{target:"interacting",actions:["highlightNextItem"]},"INPUT.ARROW_UP":{target:"interacting",actions:["highlightPrevItem"]},"INPUT.HOME":{target:"interacting",actions:["highlightFirstItem"]},"INPUT.END":{target:"interacting",actions:["highlightLastItem"]},"INPUT.ENTER":[{guard:dt("isOpenControlled","isCustomValue",Gt("hasHighlightedItem"),Gt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:dt("isCustomValue",Gt("hasHighlightedItem"),Gt("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:dt("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":{actions:["setInputValue"]},"LAYER.ESCAPE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.POINTER_MOVE":{target:"interacting",actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"LAYER.INTERACT_OUTSIDE":[{guard:dt("isOpenControlled","isCustomValue",Gt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:dt("isCustomValue",Gt("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.CLICK":[{guard:dt("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}}},implementations:{guards:{isInputValueEmpty:({computed:e})=>e("isInputValueEmpty"),autoComplete:({computed:e,prop:n})=>e("autoComplete")&&!n("multiple"),autoHighlight:({computed:e})=>e("autoHighlight"),isFirstItemHighlighted:({prop:e,context:n})=>e("collection").firstValue===n.get("highlightedValue"),isLastItemHighlighted:({prop:e,context:n})=>e("collection").lastValue===n.get("highlightedValue"),isCustomValue:({computed:e})=>e("isCustomValue"),allowCustomValue:({prop:e})=>!!e("allowCustomValue"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>e("open")!=null,openOnChange:({prop:e,context:n})=>{const i=e("openOnChange");return bw(i)?i:!!i?.({inputValue:n.get("inputValue")})},restoreFocus:({event:e})=>e.restoreFocus==null?!0:!!e.restoreFocus,isChangeEvent:({event:e})=>e.previousEvent?.type==="INPUT.CHANGE",autoFocus:({prop:e})=>!!e("autoFocus"),isHighlightedItemRemoved:({prop:e,context:n})=>!e("collection").has(n.get("highlightedValue"))},effects:{trackDismissableLayer({send:e,prop:n,scope:i}){return n("disableLayer")?void 0:Sl(()=>Va(i),{defer:!0,exclude:()=>[vr(i),Ko(i),py(i)],onFocusOutside:n("onFocusOutside"),onPointerDownOutside:n("onPointerDownOutside"),onInteractOutside:n("onInteractOutside"),onEscapeKeyDown(l){l.preventDefault(),l.stopPropagation(),e({type:"LAYER.ESCAPE",src:"escape-key"})},onDismiss(){e({type:"LAYER.INTERACT_OUTSIDE",src:"interact-outside",restoreFocus:!1})}})},hideOtherElements({scope:e}){return w2([vr(e),Va(e),Ko(e),py(e)])},trackPlacement({context:e,prop:n,scope:i}){const r=()=>my(i)||Ko(i),l=()=>hy(i);return e.set("currentPlacement",n("positioning").placement),bn(r,l,{...n("positioning"),defer:!0,onComplete(c){e.set("currentPlacement",c.placement)}})},scrollToHighlightedItem({context:e,prop:n,scope:i,event:r}){const l=vr(i);let c=[];const d=m=>{const v=r.current().type.includes("POINTER"),x=e.get("highlightedValue");if(v||!x)return;const b=vy(i,x),S=Va(i),C=n("scrollToIndexFn");if(C){const w=n("collection").indexOf(x);C({index:w,immediate:m});return}const E=xe(()=>{Tc(b,{rootEl:S,block:"nearest"})});c.push(E)},g=xe(()=>d(!0));c.push(g);const h=Yc(l,{attributes:["aria-activedescendant"],callback:()=>d(!1)});return c.push(h),()=>{c.forEach(m=>m())}}},actions:{reposition({context:e,prop:n,scope:i,event:r}){bn(()=>my(i),()=>hy(i),{...n("positioning"),...r.options,defer:!0,listeners:!1,onComplete(d){e.set("currentPlacement",d.placement)}})},setHighlightedValue({context:e,event:n}){n.value!=null&&e.set("highlightedValue",n.value)},clearHighlightedValue({context:e}){e.set("highlightedValue",null)},selectHighlightedItem(e){const{context:n,prop:i}=e,r=i("collection"),l=n.get("highlightedValue");if(!l||!r.has(l))return;const c=i("multiple")?Nr(n.get("value"),l):[l];i("onSelect")?.({value:c,itemValue:l}),n.set("value",c);const d=Jn(i("selectionBehavior"),{preserve:n.get("inputValue"),replace:r.stringifyMany(c),clear:""});n.set("inputValue",d)},scrollToHighlightedItem({context:e,prop:n,scope:i}){qc(()=>{const r=e.get("highlightedValue");if(r==null)return;const l=vy(i,r),c=Va(i),d=n("scrollToIndexFn");if(d){const g=n("collection").indexOf(r);d({index:g,immediate:!0});return}Tc(l,{rootEl:c,block:"nearest"})})},selectItem(e){const{context:n,event:i,flush:r,prop:l}=e;i.value!=null&&r(()=>{const c=l("multiple")?Nr(n.get("value"),i.value):[i.value];l("onSelect")?.({value:c,itemValue:i.value}),n.set("value",c);const d=Jn(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(c),clear:""});n.set("inputValue",d)})},clearItem(e){const{context:n,event:i,flush:r,prop:l}=e;i.value!=null&&r(()=>{const c=bi(n.get("value"),i.value);n.set("value",c);const d=Jn(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(c),clear:""});n.set("inputValue",d)})},setInitialFocus({scope:e}){xe(()=>{by(e)})},setFinalFocus({scope:e}){xe(()=>{Ko(e)?.dataset.focusable==null?by(e):z2(e)})},syncInputValue({context:e,scope:n,event:i}){const r=vr(n);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{i.current().type!=="INPUT.CHANGE"&&$w(r)}))},setInputValue({context:e,event:n}){e.set("inputValue",n.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:n,computed:i}){const r=n("selectionBehavior"),l=Jn(r,{replace:i("hasSelectedItems")?i("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",l)},setValue(e){const{context:n,flush:i,event:r,prop:l}=e;i(()=>{n.set("value",r.value);const c=Jn(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(r.value),clear:""});n.set("inputValue",c)})},clearSelectedItems(e){const{context:n,flush:i,prop:r}=e;i(()=>{n.set("value",[]);const l=Jn(r("selectionBehavior"),{preserve:n.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});n.set("inputValue",l)})},scrollContentToTop({prop:e,scope:n}){const i=e("scrollToIndexFn");if(i)i({index:0,immediate:!0});else{const r=Va(n);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:n}){const i=yy(n);e("onOpenChange")?.({open:!0,reason:i})},invokeOnClose({prop:e,event:n}){const i=yy(n);e("onOpenChange")?.({open:!1,reason:i})},highlightFirstItem({context:e,prop:n,scope:i}){(Va(i)?queueMicrotask:xe)(()=>{const l=n("collection").firstValue;l&&e.set("highlightedValue",l)})},highlightFirstItemIfNeeded({computed:e,action:n}){e("autoHighlight")&&n(["highlightFirstItem"])},highlightLastItem({context:e,prop:n,scope:i}){(Va(i)?queueMicrotask:xe)(()=>{const l=n("collection").lastValue;l&&e.set("highlightedValue",l)})},highlightNextItem({context:e,prop:n}){let i=null;const r=e.get("highlightedValue"),l=n("collection");r?(i=l.getNextValue(r),!i&&n("loopFocus")&&(i=l.firstValue)):i=l.firstValue,i&&e.set("highlightedValue",i)},highlightPrevItem({context:e,prop:n}){let i=null;const r=e.get("highlightedValue"),l=n("collection");r?(i=l.getPreviousValue(r),!i&&n("loopFocus")&&(i=l.lastValue)):i=l.lastValue,i&&e.set("highlightedValue",i)},highlightFirstSelectedItem({context:e,prop:n}){xe(()=>{const[i]=n("collection").sort(e.get("value"));i&&e.set("highlightedValue",i)})},highlightFirstOrSelectedItem({context:e,prop:n,computed:i}){xe(()=>{let r=null;i("hasSelectedItems")?r=n("collection").sort(e.get("value"))[0]:r=n("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:n,computed:i}){xe(()=>{const r=n("collection");let l=null;i("hasSelectedItems")?l=r.sort(e.get("value"))[0]:l=r.lastValue,l&&e.set("highlightedValue",l)})},autofillInputValue({context:e,computed:n,prop:i,event:r,scope:l}){const c=vr(l),d=i("collection");if(!n("autoComplete")||!c||!r.keypress)return;const g=d.stringify(e.get("highlightedValue"));xe(()=>{c.value=g||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:n,prop:i}=e,r=i("collection"),l=n.get("value"),c=l.map(g=>n.get("selectedItems").find(m=>r.getItemValue(m)===g)||r.find(g));n.set("selectedItems",c);const d=Jn(i("selectionBehavior"),{preserve:n.get("inputValue"),replace:r.stringifyMany(l),clear:""});n.set("inputValue",d)})},syncHighlightedItem({context:e,prop:n}){const i=n("collection").find(e.get("highlightedValue"));e.set("highlightedItem",i)},toggleVisibility({event:e,send:n,prop:i}){n({type:i("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function yy(e){return(e.previousEvent||e).src}he()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value"]);he()(["htmlFor"]);he()(["id"]);he()(["item","persistFocus"]);var rh=me("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");rh.build();he()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var Wx=me("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Wx.build();he()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Gx=me("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");Gx.build();const qx=me("fieldset").parts("root","errorText","helperText","legend");qx.build();var Yx=me("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Yx.build();he()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","invalid","onFileAccept","onFileReject","onFileChange","preventDocumentDrop","required","translations","transformFiles","validate"]);he()(["file"]);const M2=Symbol(),xy=Object.getPrototypeOf,lg=new WeakMap,P2=e=>e&&(lg.has(e)?lg.get(e):xy(e)===Object.prototype||xy(e)===Array.prototype),L2=e=>P2(e)&&e[M2]||null,Sy=(e,n=!0)=>{lg.set(e,n)};function B2(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function Xx(e,n){const i=B2();return i?(i[e]||(i[e]=n()),i[e]):n()}var vc=Xx("__zag__refSet",()=>new WeakSet),H2=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,U2=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,j2=e=>typeof e=="object"&&e!==null&&"nodeType"in e&&typeof e.nodeName=="string",F2=e=>H2(e)||U2(e)||j2(e),sg=e=>e!==null&&typeof e=="object",Ey=e=>sg(e)&&!vc.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!F2(e)&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer)&&!(e instanceof Promise),hi=Xx("__zag__proxyStateMap",()=>new WeakMap),$2=(e=Object.is,n=(g,h)=>new Proxy(g,h),i=new WeakMap,r=(g,h)=>{const m=i.get(g);if(m?.[0]===h)return m[1];const v=Array.isArray(g)?[]:Object.create(Object.getPrototypeOf(g));return Sy(v,!0),i.set(g,[h,v]),Reflect.ownKeys(g).forEach(x=>{const b=Reflect.get(g,x);vc.has(b)?(Sy(b,!1),v[x]=b):hi.has(b)?v[x]=q2(b):v[x]=b}),Object.freeze(v)},l=new WeakMap,c=[1,1],d=g=>{if(!sg(g))throw new Error("object required");const h=l.get(g);if(h)return h;let m=c[0];const v=new Set,x=(j,H=++c[0])=>{m!==H&&(m=H,v.forEach(U=>U(j,H)))};let b=c[1];const S=(j=++c[1])=>(b!==j&&!v.size&&(b=j,E.forEach(([H])=>{const U=H[1](j);U>m&&(m=U)})),m),C=j=>(H,U)=>{const X=[...H];X[1]=[j,...X[1]],x(X,U)},E=new Map,w=(j,H)=>{if(v.size){const U=H[3](C(j));E.set(j,[H,U])}else E.set(j,[H])},O=j=>{const H=E.get(j);H&&(E.delete(j),H[1]?.())},z=j=>(v.add(j),v.size===1&&E.forEach(([U,X],K)=>{const Y=U[3](C(K));E.set(K,[U,Y])}),()=>{v.delete(j),v.size===0&&E.forEach(([U,X],K)=>{X&&(X(),E.set(K,[U]))})}),k=Array.isArray(g)?[]:Object.create(Object.getPrototypeOf(g)),_=n(k,{deleteProperty(j,H){const U=Reflect.get(j,H);O(H);const X=Reflect.deleteProperty(j,H);return X&&x(["delete",[H],U]),X},set(j,H,U,X){const K=Reflect.has(j,H),Y=Reflect.get(j,H,X);if(K&&(e(Y,U)||l.has(U)&&e(Y,l.get(U))))return!0;O(H),sg(U)&&(U=L2(U)||U);let le=U;if(!Object.getOwnPropertyDescriptor(j,H)?.set){!hi.has(U)&&Ey(U)&&(le=Kx(U));const ie=!vc.has(le)&&hi.get(le);ie&&w(H,ie)}return Reflect.set(j,H,le,X),x(["set",[H],U,Y]),!0}});l.set(g,_);const q=[k,S,r,z];return hi.set(_,q),Reflect.ownKeys(g).forEach(j=>{const H=Object.getOwnPropertyDescriptor(g,j);H.get||H.set?Object.defineProperty(k,j,H):_[j]=g[j]}),_})=>[d,hi,vc,e,n,Ey,i,r,l,c],[W2]=$2();function Kx(e={}){return W2(e)}function G2(e,n,i){const r=hi.get(e);let l;const c=[],d=r[3];let g=!1;const m=d(v=>{c.push(v),l||(l=Promise.resolve().then(()=>{l=void 0,g&&n(c.splice(0))}))});return g=!0,()=>{g=!1,m()}}function q2(e){const n=hi.get(e),[i,r,l]=n;return l(i,r())}var Qx=me("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");Qx.build();var Y2=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,X2=e=>e.ids?.content??`hover-card:${e.id}:content`,K2=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,Bf=e=>e.getById(Y2(e)),Q2=e=>e.getById(X2(e)),Cy=e=>e.getById(K2(e)),{not:Xs,and:Oy}=Ha();Oy("isOpenControlled",Xs("isPointer")),Xs("isPointer"),Oy("isOpenControlled",Xs("isPointer")),Xs("isPointer");he()(["closeDelay","dir","getRootNode","id","ids","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var Zx=me("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");Zx.build();var Jx=e=>e.ids?.trigger??`menu:${e.id}:trigger`,Z2=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,eS=e=>e.ids?.content??`menu:${e.id}:content`,J2=e=>e.ids?.positioner??`menu:${e.id}:popper`,cg=(e,n)=>`${e.id}/${n}`,si=e=>e?.dataset.value??null,Ia=e=>e.getById(eS(e)),wy=e=>e.getById(J2(e)),Ks=e=>e.getById(Jx(e)),eA=(e,n)=>n?e.getById(cg(e,n)):null,Hf=e=>e.getById(Z2(e)),El=e=>{const i=`[role^="menuitem"][data-ownedby=${CSS.escape(eS(e))}]:not([data-disabled])`;return cl(Ia(e),i)},tA=e=>Rr(El(e)),nA=e=>Uc(El(e)),oh=(e,n)=>n?e.id===n||e.dataset.value===n:!1,aA=(e,n)=>{const i=El(e),r=i.findIndex(l=>oh(l,n.value));return hw(i,r,{loop:n.loop??n.loopFocus})},iA=(e,n)=>{const i=El(e),r=i.findIndex(l=>oh(l,n.value));return pw(i,r,{loop:n.loop??n.loopFocus})},rA=(e,n)=>{const i=El(e),r=i.find(l=>oh(l,n.value));return ul(i,{state:n.typeaheadState,key:n.key,activeId:r?.id??null})},oA=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),lA="menu:select";function sA(e,n){if(!e)return;const i=St(e),r=new i.CustomEvent(lA,{detail:{value:n}});e.dispatchEvent(r)}var{not:sn,and:gr,or:cA}=Ha();sn("isSubmenu"),cA("isOpenAutoFocusEvent","isArrowDownEvent"),gr(sn("isTriggerItem"),"isOpenControlled"),sn("isTriggerItem"),gr("isSubmenu","isOpenControlled"),sn("isPointerSuspended"),gr(sn("isPointerSuspended"),sn("isTriggerItem")),gr(sn("isTriggerItemHighlighted"),sn("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),gr(sn("isTriggerItemHighlighted"),sn("isHighlightedItemEditable"),"closeOnSelect"),gr(sn("isTriggerItemHighlighted"),sn("isHighlightedItemEditable"));function Ry(e){let n=e.parent;for(;n&&n.computed("isSubmenu");)n=n.refs.get("parent");n?.send({type:"CLOSE"})}function uA(e,n){return e?jN(e,n):!1}function dA(e,n,i){const r=Object.keys(e).length>0;if(!n)return null;if(!r)return cg(i,n);for(const l in e){const c=e[l],d=Jx(c.scope);if(d===n)return d}return cg(i,n)}he()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","open","positioning","typeahead"]);he()(["closeOnSelect","disabled","value","valueText"]);he()(["htmlFor"]);he()(["id"]);he()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);let Uf=new Map,ug=!1;try{ug=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ic=!1;try{Ic=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const tS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class fA{format(n){let i="";if(!ug&&this.options.signDisplay!=null?i=hA(this.numberFormatter,this.options.signDisplay,n):i=this.numberFormatter.format(n),this.options.style==="unit"&&!Ic){var r;let{unit:l,unitDisplay:c="short",locale:d}=this.resolvedOptions();if(!l)return i;let g=(r=tS[l])===null||r===void 0?void 0:r[c];i+=g[d]||g.default}return i}formatToParts(n){return this.numberFormatter.formatToParts(n)}formatRange(n,i){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(n,i);if(i<n)throw new RangeError("End date must be >= start date");return`${this.format(n)} – ${this.format(i)}`}formatRangeToParts(n,i){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(n,i);if(i<n)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(n),l=this.numberFormatter.formatToParts(i);return[...r.map(c=>({...c,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...l.map(c=>({...c,source:"endRange"}))]}resolvedOptions(){let n=this.numberFormatter.resolvedOptions();return!ug&&this.options.signDisplay!=null&&(n={...n,signDisplay:this.options.signDisplay}),!Ic&&this.options.style==="unit"&&(n={...n,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),n}constructor(n,i={}){this.numberFormatter=gA(n,i),this.options=i}}function gA(e,n={}){let{numberingSystem:i}=n;if(i&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${i}`),n.style==="unit"&&!Ic){var r;let{unit:d,unitDisplay:g="short"}=n;if(!d)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=tS[d])===null||r===void 0)&&r[g]))throw new Error(`Unsupported unit ${d} with unitDisplay = ${g}`);n={...n,style:"decimal"}}let l=e+(n?Object.entries(n).sort((d,g)=>d[0]<g[0]?-1:1).join():"");if(Uf.has(l))return Uf.get(l);let c=new Intl.NumberFormat(e,n);return Uf.set(l,c),c}function hA(e,n,i){if(n==="auto")return e.format(i);if(n==="never")return e.format(Math.abs(i));{let r=!1;if(n==="always"?r=i>0||Object.is(i,0):n==="exceptZero"&&(Object.is(i,-0)||Object.is(i,0)?i=Math.abs(i):r=i>0),r){let l=e.format(-i),c=e.format(i),d=l.replace(c,"").replace(/\u200e|\u061C/,"");return[...d].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),l.replace(c,"!!!").replace(d,"+").replace("!!!",c)}else return e.format(i)}}const mA=new RegExp("^.*\\(.*\\).*$"),pA=["latn","arab","hanidec","deva","beng"];class nS{parse(n){return jf(this.locale,this.options,n).parse(n)}isValidPartialNumber(n,i,r){return jf(this.locale,this.options,n).isValidPartialNumber(n,i,r)}getNumberingSystem(n){return jf(this.locale,this.options,n).options.numberingSystem}constructor(n,i={}){this.locale=n,this.options=i}}const Ty=new Map;function jf(e,n,i){let r=ky(e,n);if(!e.includes("-nu-")&&!r.isValidPartialNumber(i)){for(let l of pA)if(l!==r.options.numberingSystem){let c=ky(e+(e.includes("-u-")?"-nu-":"-u-nu-")+l,n);if(c.isValidPartialNumber(i))return c}}return r}function ky(e,n){let i=e+(n?Object.entries(n).sort((l,c)=>l[0]<c[0]?-1:1).join():""),r=Ty.get(i);return r||(r=new vA(e,n),Ty.set(i,r)),r}class vA{parse(n){let i=this.sanitize(n);if(this.symbols.group&&(i=Fo(i,this.symbols.group,"")),this.symbols.decimal&&(i=i.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(i=i.replace(this.symbols.minusSign,"-")),i=i.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let d=i.indexOf("-");i=i.replace("-",""),i=i.replace("+","");let g=i.indexOf(".");g===-1&&(g=i.length),i=i.replace(".",""),g-2===0?i=`0.${i}`:g-2===-1?i=`0.0${i}`:g-2===-2?i="0.00":i=`${i.slice(0,g-2)}.${i.slice(g-2)}`,d>-1&&(i=`-${i}`)}let r=i?+i:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var l,c;let d={...this.options,style:"decimal",minimumFractionDigits:Math.min(((l=this.options.minimumFractionDigits)!==null&&l!==void 0?l:0)+2,20),maximumFractionDigits:Math.min(((c=this.options.maximumFractionDigits)!==null&&c!==void 0?c:0)+2,20)};return new nS(this.locale,d).parse(new fA(this.locale,d).format(r))}return this.options.currencySign==="accounting"&&mA.test(n)&&(r=-1*r),r}sanitize(n){return n=n.replace(this.symbols.literals,""),this.symbols.minusSign&&(n=n.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(n=n.replace(",",this.symbols.decimal),n=n.replace("،",this.symbols.decimal)),this.symbols.group&&(n=Fo(n,".",this.symbols.group))),this.options.locale==="fr-FR"&&this.symbols.group&&(n=Fo(n," ",this.symbols.group),n=Fo(n,/\u00A0/g,this.symbols.group)),n}isValidPartialNumber(n,i=-1/0,r=1/0){return n=this.sanitize(n),this.symbols.minusSign&&n.startsWith(this.symbols.minusSign)&&i<0?n=n.slice(this.symbols.minusSign.length):this.symbols.plusSign&&n.startsWith(this.symbols.plusSign)&&r>0&&(n=n.slice(this.symbols.plusSign.length)),this.symbols.group&&n.startsWith(this.symbols.group)||this.symbols.decimal&&n.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(n=Fo(n,this.symbols.group,"")),n=n.replace(this.symbols.numeral,""),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,"")),n.length===0)}constructor(n,i={}){this.locale=n,i.roundingIncrement!==1&&i.roundingIncrement!=null&&(i.maximumFractionDigits==null&&i.minimumFractionDigits==null?(i.maximumFractionDigits=0,i.minimumFractionDigits=0):i.maximumFractionDigits==null?i.maximumFractionDigits=i.minimumFractionDigits:i.minimumFractionDigits==null&&(i.minimumFractionDigits=i.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(n,i),this.options=this.formatter.resolvedOptions(),this.symbols=yA(n,this.formatter,this.options,i);var r,l;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((l=this.options.maximumFractionDigits)!==null&&l!==void 0?l:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Ny=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),bA=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function yA(e,n,i,r){var l,c,d,g;let h=new Intl.NumberFormat(e,{...i,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),m=h.formatToParts(-10000.111),v=h.formatToParts(10000.111),x=bA.map(X=>h.formatToParts(X));var b;let S=(b=(l=m.find(X=>X.type==="minusSign"))===null||l===void 0?void 0:l.value)!==null&&b!==void 0?b:"-",C=(c=v.find(X=>X.type==="plusSign"))===null||c===void 0?void 0:c.value;!C&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(C="+");let w=(d=new Intl.NumberFormat(e,{...i,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(X=>X.type==="decimal"))===null||d===void 0?void 0:d.value,O=(g=m.find(X=>X.type==="group"))===null||g===void 0?void 0:g.value,z=m.filter(X=>!Ny.has(X.type)).map(X=>Ay(X.value)),k=x.flatMap(X=>X.filter(K=>!Ny.has(K.type)).map(K=>Ay(K.value))),B=[...new Set([...z,...k])].sort((X,K)=>K.length-X.length),_=B.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${B.join("|")}|[\\p{White_Space}]`,"gu"),q=[...new Intl.NumberFormat(i.locale,{useGrouping:!1}).format(9876543210)].reverse(),j=new Map(q.map((X,K)=>[X,K])),H=new RegExp(`[${q.join("")}]`,"g");return{minusSign:S,plusSign:C,decimal:w,group:O,literals:_,numeral:H,index:X=>String(j.get(X))}}function Fo(e,n,i){return e.replaceAll?e.replaceAll(n,i):e.split(n).join(i)}function Ay(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var aS=me("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");aS.build();var xA=e=>e.ids?.input??`number-input:${e.id}:input`,SA=e=>e.ids?.incrementTrigger??`number-input:${e.id}:inc`,EA=e=>e.ids?.decrementTrigger??`number-input:${e.id}:dec`,iS=e=>`number-input:${e.id}:cursor`,Qs=e=>e.getById(xA(e)),CA=e=>e.getById(SA(e)),OA=e=>e.getById(EA(e)),rS=e=>e.getDoc().getElementById(iS(e)),wA=(e,n)=>{let i=null;return n==="increment"&&(i=CA(e)),n==="decrement"&&(i=OA(e)),i},RA=(e,n)=>{if(!Mg())return NA(e,n),()=>{rS(e)?.remove()}},TA=e=>{const n=e.getDoc(),i=n.documentElement,r=n.body;return r.style.pointerEvents="none",i.style.userSelect="none",i.style.cursor="ew-resize",()=>{r.style.pointerEvents="",i.style.userSelect="",i.style.cursor="",i.style.length||i.removeAttribute("style"),r.style.length||r.removeAttribute("style")}},kA=(e,n)=>{const{point:i,isRtl:r,event:l}=n,c=e.getWin(),d=zf(l.movementX,c.devicePixelRatio),g=zf(l.movementY,c.devicePixelRatio);let h=d>0?"increment":d<0?"decrement":null;r&&h==="increment"&&(h="decrement"),r&&h==="decrement"&&(h="increment");const m={x:i.x+d,y:i.y+g},v=c.innerWidth,x=zf(7.5,c.devicePixelRatio);return m.x=Vw(m.x+x,v)-x,{hint:h,point:m}},NA=(e,n)=>{const i=e.getDoc(),r=i.createElement("div");r.className="scrubber--cursor",r.id=iS(e),Object.assign(r.style,{width:"15px",height:"15px",position:"fixed",pointerEvents:"none",left:"0px",top:"0px",zIndex:qw,transform:n?`translate3d(${n.x}px, ${n.y}px, 0px)`:void 0,willChange:"transform"}),r.innerHTML=`
58
+ <svg width="46" height="15" style="left: -15.5px; position: absolute; top: 0; filter: drop-shadow(rgba(0, 0, 0, 0.4) 0px 1px 1.1px);">
59
+ <g transform="translate(2 3)">
60
+ <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z" style="stroke-width: 2px; stroke: white;"></path>
61
+ <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z"></path>
62
+ </g>
63
+ </svg>`,i.body.appendChild(r)};function AA(e){if(!(!e||e.ownerDocument.activeElement!==e))try{const{selectionStart:n,selectionEnd:i,value:r}=e,l=r.substring(0,n),c=r.substring(i);return{start:n,end:i,value:r,beforeTxt:l,afterTxt:c}}catch{}}function _A(e,n){if(!(!e||e.ownerDocument.activeElement!==e)){if(!n){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:i}=e,{beforeTxt:r="",afterTxt:l="",start:c}=n;let d=i.length;if(i.endsWith(l))d=i.length-l.length;else if(i.startsWith(r))d=r.length;else if(c!=null){const g=r[c-1],h=i.indexOf(g,c-1);h!==-1&&(d=h+1)}e.setSelectionRange(d,d)}catch{}}}var zA=(e,n={})=>new Intl.NumberFormat(e,n),VA=(e,n={})=>new nS(e,n),Ff=(e,n)=>{const{prop:i,computed:r}=n;return i("formatOptions")?r("parser").parse(String(e)):parseFloat(e)},ci=(e,n)=>{const{prop:i,computed:r}=n;return Number.isNaN(e)?"":i("formatOptions")?r("formatter").format(e):e.toString()},IA=(e,n)=>{let i=e!==void 0&&!Number.isNaN(e)?e:1;return n?.style==="percent"&&(e===void 0||Number.isNaN(e))&&(i=.01),i},{choose:DA,guards:MA,createMachine:PA}=$g(),{not:_y,and:zy}=MA;PA({props({props:e}){const n=IA(e.step,e.formatOptions);return{dir:"ltr",locale:"en-US",focusInputOnChange:!0,clampValueOnBlur:!e.allowOverflow,allowOverflow:!1,inputMode:"decimal",pattern:"[0-9]*(.[0-9]+)?",defaultValue:"",step:n,min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,spinOnPress:!0,...e,translations:{incrementLabel:"increment value",decrementLabel:"decrease value",...e.translations}}},initialState(){return"idle"},context({prop:e,bindable:n,getComputed:i}){return{value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){const l=i(),c=Ff(r,{computed:l,prop:e});e("onValueChange")?.({value:r,valueAsNumber:c})}})),hint:n(()=>({defaultValue:null})),scrubberCursorPoint:n(()=>({defaultValue:null,hash(r){return r?`x:${r.x}, y:${r.y}`:""}})),fieldsetDisabled:n(()=>({defaultValue:!1}))}},computed:{isRtl:({prop:e})=>e("dir")==="rtl",valueAsNumber:({context:e,computed:n,prop:i})=>Ff(e.get("value"),{computed:n,prop:i}),formattedValue:({computed:e,prop:n})=>ci(e("valueAsNumber"),{computed:e,prop:n}),isAtMin:({computed:e,prop:n})=>Dw(e("valueAsNumber"),n("min")),isAtMax:({computed:e,prop:n})=>Iw(e("valueAsNumber"),n("max")),isOutOfRange:({computed:e,prop:n})=>!Mw(e("valueAsNumber"),n("min"),n("max")),isValueEmpty:({context:e})=>e.get("value")==="",isDisabled:({prop:e,context:n})=>!!e("disabled")||n.get("fieldsetDisabled"),canIncrement:({prop:e,computed:n})=>e("allowOverflow")||!n("isAtMax"),canDecrement:({prop:e,computed:n})=>e("allowOverflow")||!n("isAtMin"),valueText:({prop:e,context:n})=>e("translations").valueText?.(n.get("value")),formatter:jb(({prop:e})=>[e("locale"),e("formatOptions")],(e,n)=>zA(e,n)),parser:jb(({prop:e})=>[e("locale"),e("formatOptions")],(e,n)=>VA(e,n))},watch({track:e,action:n,context:i,computed:r,prop:l}){e([()=>i.get("value"),()=>l("locale")],()=>{n(["syncInputElement"])}),e([()=>r("isOutOfRange")],()=>{n(["invokeOnInvalid"])}),e([()=>i.hash("scrubberCursorPoint")],()=>{n(["setVirtualCursorPosition"])})},effects:["trackFormControl"],on:{"VALUE.SET":{actions:["setRawValue"]},"VALUE.CLEAR":{actions:["clearValue"]},"VALUE.INCREMENT":{actions:["increment"]},"VALUE.DECREMENT":{actions:["decrement"]}},states:{idle:{on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","invokeOnFocus","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","invokeOnFocus","setHint","setCursorPoint"]},"INPUT.FOCUS":{target:"focused",actions:["focusInput","invokeOnFocus"]}}},focused:{tags:["focus"],effects:["attachWheelListener"],on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","setHint","setCursorPoint"]},"INPUT.ARROW_UP":{actions:["increment"]},"INPUT.ARROW_DOWN":{actions:["decrement"]},"INPUT.HOME":{actions:["decrementToMin"]},"INPUT.END":{actions:["incrementToMax"]},"INPUT.CHANGE":{actions:["setValue","setHint"]},"INPUT.BLUR":[{guard:zy("clampValueOnBlur",_y("isInRange")),target:"idle",actions:["setClampedValue","clearHint","invokeOnBlur"]},{guard:_y("isInRange"),target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur","invokeOnInvalid"]},{target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur"]}],"INPUT.ENTER":{actions:["setFormattedValue","clearHint","invokeOnBlur"]}}},"before:spin":{tags:["focus"],effects:["trackButtonDisabled","waitForChangeDelay"],entry:DA([{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}]),on:{CHANGE_DELAY:{target:"spinning",guard:zy("isInRange","spinOnPress")},"TRIGGER.PRESS_UP":[{guard:"isTouchPointer",target:"focused",actions:["clearHint"]},{target:"focused",actions:["focusInput","clearHint"]}]}},spinning:{tags:["focus"],effects:["trackButtonDisabled","spinValue"],on:{SPIN:[{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}],"TRIGGER.PRESS_UP":{target:"focused",actions:["focusInput","clearHint"]}}},scrubbing:{tags:["focus"],effects:["activatePointerLock","trackMousemove","setupVirtualCursor","preventTextSelection"],on:{"SCRUBBER.POINTER_UP":{target:"focused",actions:["focusInput","clearCursorPoint"]},"SCRUBBER.POINTER_MOVE":[{guard:"isIncrementHint",actions:["increment","setCursorPoint"]},{guard:"isDecrementHint",actions:["decrement","setCursorPoint"]}]}}},implementations:{guards:{clampValueOnBlur:({prop:e})=>e("clampValueOnBlur"),spinOnPress:({prop:e})=>!!e("spinOnPress"),isInRange:({computed:e})=>!e("isOutOfRange"),isDecrementHint:({context:e,event:n})=>(n.hint??e.get("hint"))==="decrement",isIncrementHint:({context:e,event:n})=>(n.hint??e.get("hint"))==="increment",isTouchPointer:({event:e})=>e.pointerType==="touch"},effects:{waitForChangeDelay({send:e}){const n=setTimeout(()=>{e({type:"CHANGE_DELAY"})},300);return()=>clearTimeout(n)},spinValue({send:e}){const n=setInterval(()=>{e({type:"SPIN"})},50);return()=>clearInterval(n)},trackFormControl({context:e,scope:n}){const i=Qs(n);return Pg(i,{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},setupVirtualCursor({context:e,scope:n}){const i=e.get("scrubberCursorPoint");return RA(n,i)},preventTextSelection({scope:e}){return TA(e)},trackButtonDisabled({context:e,scope:n,send:i}){const r=e.get("hint"),l=wA(n,r);return Yc(l,{attributes:["disabled"],callback(){i({type:"TRIGGER.PRESS_UP",src:"attr"})}})},attachWheelListener({scope:e,send:n,prop:i}){const r=Qs(e);if(!r||!e.isActiveElement(r)||!i("allowMouseWheel"))return;function l(c){c.preventDefault();const d=Math.sign(c.deltaY)*-1;d===1?n({type:"VALUE.INCREMENT"}):d===-1&&n({type:"VALUE.DECREMENT"})}return yt(r,"wheel",l,{passive:!1})},activatePointerLock({scope:e}){if(!Mg())return UR(e.getDoc())},trackMousemove({scope:e,send:n,context:i,computed:r}){const l=e.getDoc();function c(g){const h=i.get("scrubberCursorPoint"),m=r("isRtl"),v=kA(e,{point:h,isRtl:m,event:g});v.hint&&n({type:"SCRUBBER.POINTER_MOVE",hint:v.hint,point:v.point})}function d(){n({type:"SCRUBBER.POINTER_UP"})}return Oc(yt(l,"mousemove",c,!1),yt(l,"mouseup",d,!1))}},actions:{focusInput({scope:e,prop:n}){if(!n("focusInputOnChange"))return;const i=Qs(e);e.isActiveElement(i)||xe(()=>i?.focus({preventScroll:!0}))},increment({context:e,event:n,prop:i,computed:r}){let l=Hw(r("valueAsNumber"),n.step??i("step"));i("allowOverflow")||(l=It(l,i("min"),i("max"))),e.set("value",ci(l,{computed:r,prop:i}))},decrement({context:e,event:n,prop:i,computed:r}){let l=Uw(r("valueAsNumber"),n.step??i("step"));i("allowOverflow")||(l=It(l,i("min"),i("max"))),e.set("value",ci(l,{computed:r,prop:i}))},setClampedValue({context:e,prop:n,computed:i}){const r=It(i("valueAsNumber"),n("min"),n("max"));e.set("value",ci(r,{computed:i,prop:n}))},setRawValue({context:e,event:n,prop:i,computed:r}){let l=Ff(n.value,{computed:r,prop:i});i("allowOverflow")||(l=It(l,i("min"),i("max"))),e.set("value",ci(l,{computed:r,prop:i}))},setValue({context:e,event:n}){const i=n.target?.value??n.value;e.set("value",i)},clearValue({context:e}){e.set("value","")},incrementToMax({context:e,prop:n,computed:i}){const r=ci(n("max"),{computed:i,prop:n});e.set("value",r)},decrementToMin({context:e,prop:n,computed:i}){const r=ci(n("min"),{computed:i,prop:n});e.set("value",r)},setHint({context:e,event:n}){e.set("hint",n.hint)},clearHint({context:e}){e.set("hint",null)},invokeOnFocus({computed:e,prop:n}){n("onFocusChange")?.({focused:!0,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnBlur({computed:e,prop:n}){n("onFocusChange")?.({focused:!1,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnInvalid({computed:e,prop:n,event:i}){if(i.type==="INPUT.CHANGE")return;const r=e("valueAsNumber")>n("max")?"rangeOverflow":"rangeUnderflow";n("onValueInvalid")?.({reason:r,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},syncInputElement({context:e,event:n,computed:i,scope:r}){const l=n.type.endsWith("CHANGE")?e.get("value"):i("formattedValue"),c=Qs(r),d=AA(c);xe(()=>{Gc(c,l),_A(c,d)})},setFormattedValue({context:e,computed:n}){e.set("value",n("formattedValue"))},setCursorPoint({context:e,event:n}){e.set("scrubberCursorPoint",n.point)},clearCursorPoint({context:e}){e.set("scrubberCursorPoint",null)},setVirtualCursorPosition({context:e,scope:n}){const i=rS(n),r=e.get("scrubberCursorPoint");!i||!r||(i.style.transform=`translate3d(${r.x}px, ${r.y}px, 0px)`)}}}});he()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var oS=me("pinInput").parts("root","label","input","control");oS.build();he()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var lS=me("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");lS.build();he()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","portalled","positioning"]);var lh=me("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");lh.build();he()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var sS=me("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");sS.build();he()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var sh=me("radio-group").parts("root","label","item","itemText","itemControl","indicator");sh.build();he()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]);he()(["value","disabled","invalid"]);var cS=me("rating-group").parts("root","label","item","control");cS.build();he()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]);he()(["index"]);const uS=sh.rename("segment-group");uS.build();var dS=me("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");dS.build();var fS=e=>new eu(e);fS.empty=()=>new eu({items:[]});var LA=e=>e.ids?.content??`select:${e.id}:content`,BA=e=>e.ids?.trigger??`select:${e.id}:trigger`,HA=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,UA=(e,n)=>e.ids?.item?.(n)??`select:${e.id}:option:${n}`,jA=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,FA=e=>e.ids?.positioner??`select:${e.id}:positioner`,$f=e=>e.getById(jA(e)),$o=e=>e.getById(LA(e)),Zs=e=>e.getById(BA(e)),$A=e=>e.getById(HA(e)),Vy=e=>e.getById(FA(e)),WA=(e,n)=>e.getById(UA(e,n)),{and:Wo,not:ui,or:GA}=Ha();GA("isTriggerArrowDownEvent","isTriggerEnterEvent"),Wo(ui("multiple"),"hasSelectedItems"),ui("multiple"),Wo(ui("multiple"),"hasSelectedItems"),ui("multiple"),ui("multiple"),ui("multiple"),ui("multiple"),Wo("closeOnSelect","isOpenControlled"),Wo("hasHighlightedItem","loop","isLastItemHighlighted"),Wo("hasHighlightedItem","loop","isFirstItemHighlighted");function Iy(e){const n=e.restoreFocus??e.previousEvent?.restoreFocus;return n==null||!!n}he()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]);he()(["item","persistFocus"]);he()(["id"]);he()(["htmlFor"]);var gS=me("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");gS.build();he()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]);he()(["index","name"]);var hS=me("switch").parts("root","label","control","thumb");hS.build();he()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);function qA(e,n){const[i,r]=N.useState(e);return N.useEffect(()=>{const l=setTimeout(()=>{r(e)},n);return()=>{clearTimeout(l)}},[e,n]),i}const[mS,nu]=vl({name:"TabsContext",hookName:"useTabsContext",providerName:"<TabsProvider />"}),pS=N.forwardRef((e,n)=>{const[i,r]=yl()(e,["value"]),l=nu(),c=_N(),d=bT({...c,present:qA(l.value===e.value,0),immediate:!0}),g=Ei(l.getContentProps(i),d.getPresenceProps(),r);return J.jsx(yT,{value:d,children:d.unmounted?null:J.jsx(zr.div,{...g,ref:tx(d.ref,n)})})});pS.displayName="TabContent";const vS=N.forwardRef((e,n)=>{const i=nu(),r=Ei(i.getIndicatorProps(),e);return J.jsx(zr.div,{...r,ref:n})});vS.displayName="TabIndicator";const bS=N.forwardRef((e,n)=>{const i=nu(),r=Ei(i.getListProps(),e);return J.jsx(zr.div,{...r,ref:n})});bS.displayName="TabList";const yS=N.forwardRef((e,n)=>{const[i,r]=yl()(e,["disabled","value"]),l=nu(),c=Ei(l.getTriggerProps(i),r);return J.jsx(zr.button,{...c,ref:n})});yS.displayName="TabTrigger";var YA=me("tabs").parts("root","list","trigger","content","indicator"),Go=YA.build(),XA=e=>e.ids?.root??`tabs:${e.id}`,tl=e=>e.ids?.list??`tabs:${e.id}:list`,dg=(e,n)=>e.ids?.content??`tabs:${e.id}:content-${n}`,yi=(e,n)=>e.ids?.trigger??`tabs:${e.id}:trigger-${n}`,xS=e=>e.ids?.indicator??`tabs:${e.id}:indicator`,KA=e=>e.getById(tl(e)),QA=(e,n)=>e.getById(dg(e,n)),bc=(e,n)=>e.getById(yi(e,n)),Dy=e=>e.getById(xS(e)),Cl=e=>{const i=`[role=tab][data-ownedby='${CSS.escape(tl(e))}']:not([disabled])`;return cl(KA(e),i)},ZA=e=>Rr(Cl(e)),JA=e=>Uc(Cl(e)),e_=(e,n)=>Z0(Cl(e),yi(e,n.value),n.loopFocus),t_=(e,n)=>J0(Cl(e),yi(e,n.value),n.loopFocus),SS=e=>({left:e?.offsetLeft??0,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}),n_=(e,n)=>{const i=Q0(Cl(e),yi(e,n));return ES(SS(i))},ES=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`});function a_(e,n){const{state:i,send:r,context:l,prop:c,scope:d}=e,g=c("translations"),h=i.matches("focused"),m=c("orientation")==="vertical",v=c("orientation")==="horizontal",x=c("composite");function b(S){return{selected:l.get("value")===S.value,focused:l.get("focusedValue")===S.value,disabled:!!S.disabled}}return{value:l.get("value"),focusedValue:l.get("focusedValue"),setValue(S){r({type:"SET_VALUE",value:S})},clearValue(){r({type:"CLEAR_VALUE"})},setIndicatorRect(S){const C=yi(d,S);r({type:"SET_INDICATOR_RECT",id:C})},syncTabIndex(){r({type:"SYNC_TAB_INDEX"})},selectNext(S){r({type:"TAB_FOCUS",value:S,src:"selectNext"}),r({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(S){r({type:"TAB_FOCUS",value:S,src:"selectPrev"}),r({type:"ARROW_PREV",src:"selectPrev"})},focus(){const S=l.get("value");S&&bc(d,S)?.focus()},getRootProps(){return n.element({...Go.root.attrs,id:XA(d),"data-orientation":c("orientation"),"data-focus":li(h),dir:c("dir")})},getListProps(){return n.element({...Go.list.attrs,id:tl(d),role:"tablist",dir:c("dir"),"data-focus":li(h),"aria-orientation":c("orientation"),"data-orientation":c("orientation"),"aria-label":g?.listLabel,onKeyDown(S){if(S.defaultPrevented||!vR(S)||$0(S))return;const C={ArrowDown(){v||r({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){v||r({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){m||r({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){m||r({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){r({type:"HOME"})},End(){r({type:"END"})}};let E=OR(S,{dir:c("dir"),orientation:c("orientation")});const w=C[E];if(w){S.preventDefault(),w(S);return}}})},getTriggerState:b,getTriggerProps(S){const{value:C,disabled:E}=S,w=b(S);return n.button({...Go.trigger.attrs,role:"tab",type:"button",disabled:E,dir:c("dir"),"data-orientation":c("orientation"),"data-disabled":li(E),"aria-disabled":E,"data-value":C,"aria-selected":w.selected,"data-selected":li(w.selected),"data-focus":li(w.focused),"aria-controls":w.selected?dg(d,C):void 0,"data-ownedby":tl(d),"data-ssr":li(l.get("ssr")),id:yi(d,C),tabIndex:w.selected&&x?0:-1,onFocus(){r({type:"TAB_FOCUS",value:C})},onBlur(O){O.relatedTarget?.getAttribute("role")!=="tab"&&r({type:"TAB_BLUR"})},onClick(O){O.defaultPrevented||bR(O)||E||(Mg()&&O.currentTarget.focus(),r({type:"TAB_CLICK",value:C}))}})},getContentProps(S){const{value:C}=S,E=l.get("value")===C;return n.element({...Go.content.attrs,dir:c("dir"),id:dg(d,C),tabIndex:x?0:-1,"aria-labelledby":yi(d,C),role:"tabpanel","data-ownedby":tl(d),"data-selected":li(E),"data-orientation":c("orientation"),hidden:!E})},getIndicatorProps(){const S=l.get("indicatorRect"),C=l.get("indicatorTransition");return n.element({id:xS(d),...Go.indicator.attrs,dir:c("dir"),"data-orientation":c("orientation"),style:{"--transition-property":"left, right, top, bottom, width, height","--left":S.left,"--top":S.top,"--width":S.width,"--height":S.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:C?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[v?"left":"top"]:v?"var(--left)":"var(--top)"}})}}}var{createMachine:i_}=$g(),r_=i_({props({props:e}){return{dir:"ltr",orientation:"horizontal",activationMode:"automatic",loopFocus:!0,composite:!0,navigate(n){Hg(n.node)},defaultValue:null,...e}},initialState(){return"idle"},context({prop:e,bindable:n}){return{value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(i){e("onValueChange")?.({value:i})}})),focusedValue:n(()=>({defaultValue:e("value")||e("defaultValue"),sync:!0,onChange(i){e("onFocusChange")?.({focusedValue:i})}})),ssr:n(()=>({defaultValue:!0})),indicatorTransition:n(()=>({defaultValue:!1})),indicatorRect:n(()=>({defaultValue:{left:"0px",top:"0px",width:"0px",height:"0px"}}))}},watch({context:e,prop:n,track:i,action:r}){i([()=>e.get("value")],()=>{r(["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","navigateIfNeeded"])}),i([()=>n("dir"),()=>n("orientation")],()=>{r(["syncIndicatorRect"])})},on:{SET_VALUE:{actions:["setValue"]},CLEAR_VALUE:{actions:["clearValue"]},SET_INDICATOR_RECT:{actions:["setIndicatorRect"]},SYNC_TAB_INDEX:{actions:["syncTabIndex"]}},entry:["syncIndicatorRect","syncTabIndex","syncSsr"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:["setFocusedValue"]},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:["focusPrevTab"]}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:["focusNextTab"]}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:["focusFirstTab"]}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:["focusLastTab"]}],TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{selectOnFocus:({prop:e})=>e("activationMode")==="automatic"},actions:{selectFocusedTab({context:e,prop:n}){xe(()=>{const i=e.get("focusedValue");if(!i)return;const l=n("deselectable")&&e.get("value")===i?null:i;e.set("value",l)})},setFocusedValue({context:e,event:n,flush:i}){n.value!=null&&i(()=>{e.set("focusedValue",n.value)})},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:n,prop:i}){const r=i("deselectable")&&e.get("value")===e.get("focusedValue");e.set("value",r?null:n.value)},clearValue({context:e}){e.set("value",null)},focusFirstTab({scope:e}){xe(()=>{ZA(e)?.focus()})},focusLastTab({scope:e}){xe(()=>{JA(e)?.focus()})},focusNextTab({context:e,prop:n,scope:i,event:r}){const l=r.value??e.get("focusedValue");if(!l)return;const c=e_(i,{value:l,loopFocus:n("loopFocus")});xe(()=>{n("composite")?c?.focus():c?.dataset.value!=null&&e.set("focusedValue",c.dataset.value)})},focusPrevTab({context:e,prop:n,scope:i,event:r}){const l=r.value??e.get("focusedValue");if(!l)return;const c=t_(i,{value:l,loopFocus:n("loopFocus")});xe(()=>{n("composite")?c?.focus():c?.dataset.value!=null&&e.set("focusedValue",c.dataset.value)})},syncTabIndex({context:e,scope:n}){xe(()=>{const i=e.get("value");if(!i)return;const r=QA(n,i);if(!r)return;G0(r).length>0?r.removeAttribute("tabindex"):r.setAttribute("tabindex","0")})},cleanupObserver({refs:e}){const n=e.get("indicatorCleanup");n&&n()},allowIndicatorTransition({context:e}){e.set("indicatorTransition",!0)},setIndicatorRect({context:e,event:n,scope:i}){const r=n.id??e.get("value");if(!Dy(i))return;if(!r){e.set("indicatorTransition",!1);return}bc(i,r)&&(e.set("indicatorRect",n_(i,r)),qc(()=>{e.set("indicatorTransition",!1)}))},syncSsr({context:e}){e.set("ssr",!1)},syncIndicatorRect({context:e,refs:n,scope:i}){const r=n.get("indicatorCleanup");r&&r();const l=e.get("value");if(!l){e.set("indicatorTransition",!1);return}const c=bc(i,l),d=Dy(i);if(!c||!d)return;const g=GR([c],{measure(h){return SS(h)},onEntry({rects:h}){const[m]=h;e.set("indicatorRect",ES(m))}});n.set("indicatorCleanup",g)},navigateIfNeeded({context:e,prop:n,scope:i}){const r=e.get("value");if(!r)return;const l=bc(i,r);tR(l)&&n("navigate")?.({value:r,node:l,href:l.href})}}}});he()(["activationMode","composite","deselectable","dir","getRootNode","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value","defaultValue"]);he()(["disabled","value"]);he()(["value"]);const o_=e=>{const n=N.useId(),{getRootNode:i}=Fw(),{dir:r}=sT(),l={id:n,dir:r,getRootNode:i,...e},c=ax(r_,l);return a_(c,mT)},CS=N.forwardRef((e,n)=>{const[i,r]=Ox(e),[l,c]=yl()(r,["activationMode","composite","defaultValue","deselectable","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value"]),d=o_(l),g=Ei(d.getRootProps(),c);return J.jsx(mS,{value:d,children:J.jsx(Cx,{value:i,children:J.jsx(zr.div,{...g,ref:n})})})});CS.displayName="TabsRoot";const OS=N.forwardRef((e,n)=>{const[i,r]=Ox(e),[{value:l},c]=yl()(r,["value"]),d=Ei(l.getRootProps(),c);return J.jsx(mS,{value:l,children:J.jsx(Cx,{value:i,children:J.jsx(zr.div,{...d,ref:n})})})});OS.displayName="TabsRootProvider";var wS=me("tooltip").parts("trigger","arrow","arrowTip","positioner","content");wS.build();var l_=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,s_=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,Wf=e=>e.getById(l_(e)),My=e=>e.getById(s_(e)),di=Kx({id:null}),{and:c_,not:Py}=Ha();c_("noVisibleTooltip",Py("hasPointerMoveOpened")),Py("hasPointerMoveOpened");he()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);var RS=me("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");RS.build();var TS=e=>new Hx(e);TS.empty=()=>new Hx({rootNode:{children:[]}});var u_=(e,n)=>e.ids?.node?.(n)??`tree:${e.id}:node:${n}`,fi=(e,n)=>{if(n==null)return;const i=u_(e,n);e.getById(i)?.focus({preventScroll:!0})};function d_(e,n,i){const r=e.getDescendantValues(n),l=r.every(c=>i.includes(c));return Sr(l?bi(i,...r):mi(i,...r))}function Js(e,n){const{context:i,prop:r,refs:l}=e;if(!r("loadChildren")){i.set("expandedValue",E=>Sr(mi(E,...n)));return}const c=i.get("loadingStatus"),[d,g]=zb(n,E=>c[E]==="loaded");if(d.length>0&&i.set("expandedValue",E=>Sr(mi(E,...d))),g.length===0)return;const h=r("collection"),[m,v]=zb(g,E=>{const w=h.findNode(E);return h.getNodeChildren(w).length>0});if(m.length>0&&i.set("expandedValue",E=>Sr(mi(E,...m))),v.length===0)return;i.set("loadingStatus",E=>({...E,...v.reduce((w,O)=>({...w,[O]:"loading"}),{})}));const x=v.map(E=>{const w=h.getIndexPath(E),O=h.getValuePath(w),z=h.findNode(E);return{id:E,indexPath:w,valuePath:O,node:z}}),b=l.get("pendingAborts"),S=r("loadChildren");B0(S,()=>"[zag-js/tree-view] `loadChildren` is required for async expansion");const C=x.map(({id:E,indexPath:w,valuePath:O,node:z})=>{const k=b.get(E);k&&(k.abort(),b.delete(E));const B=new AbortController;return b.set(E,B),S({valuePath:O,indexPath:w,node:z,signal:B.signal})});Promise.allSettled(C).then(E=>{const w=[],O=[],z=i.get("loadingStatus");let k=r("collection");E.forEach((B,_)=>{const{id:q,indexPath:j,node:H,valuePath:U}=x[_];B.status==="fulfilled"?(z[q]="loaded",w.push(q),k=k.replace(j,{...H,children:B.value})):(b.delete(q),Reflect.deleteProperty(z,q),O.push({node:H,error:B.reason,indexPath:j,valuePath:U}))}),i.set("loadingStatus",z),w.length&&(i.set("expandedValue",B=>Sr(mi(B,...w))),r("onLoadChildrenComplete")?.({collection:k})),O.length&&r("onLoadChildrenError")?.({nodes:O})})}function za(e){const{prop:n,context:i}=e;return function({indexPath:l}){return n("collection").getValuePath(l).slice(0,-1).some(d=>!i.get("expandedValue").includes(d))}}var{and:On}=Ha();On("isMultipleSelection","moveFocus"),On("isShiftKey","isMultipleSelection"),On("isShiftKey","isMultipleSelection"),On("isBranchFocused","isBranchExpanded"),On("isShiftKey","isMultipleSelection"),On("isShiftKey","isMultipleSelection"),On("isCtrlKey","isMultipleSelection"),On("isShiftKey","isMultipleSelection"),On("isCtrlKey","isMultipleSelection"),On("isShiftKey","isMultipleSelection");he()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]);he()(["node","indexPath"]);function kS(e,n=[]){const i=Object.assign({},e);for(const r of n)r in i&&delete i[r];return i}const f_=(e,n)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[i,r]=e.split("/");if(!i||!r||i==="currentBg")return{invalid:!0,value:i};const l=n(`colors.${i}`),c=n.raw(`opacity.${r}`)?.value;if(!c&&isNaN(Number(r)))return{invalid:!0,value:i};const d=c?Number(c)*100+"%":`${r}%`,g=l??i;return{invalid:!1,color:g,value:`color-mix(in srgb, ${g} ${d}, transparent)`}},Ue=e=>(n,i)=>{const r=i.utils.colorMix(n);if(r.invalid)return{[e]:n};const l="--mix-"+e;return{[l]:r.value,[e]:`var(${l}, ${r.color})`}};function fg(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(i=>fg(i));const n=Object.create(Object.getPrototypeOf(e));for(const i of Object.keys(e))n[i]=fg(e[i]);return n}function gg(e,n){if(n==null)return e;for(const i of Object.keys(n))if(!(n[i]===void 0||i==="__proto__"))if(!Vt(e[i])&&Vt(n[i]))Object.assign(e,{[i]:n[i]});else if(e[i]&&Vt(n[i]))gg(e[i],n[i]);else if(Array.isArray(n[i])&&Array.isArray(e[i])){let r=0;for(;r<n[i].length;r++)Vt(e[i][r])&&Vt(n[i][r])?gg(e[i][r],n[i][r]):e[i][r]=n[i][r]}else Object.assign(e,{[i]:n[i]});return e}function Dr(e,...n){for(const i of n)gg(e,i);return e}const g_=e=>e,ot=e=>e,ve=e=>e,h_=e=>e,m_=e=>e,Mr=e=>e,p_=e=>e,v_=e=>e,b_=e=>e;function NS(){const e=n=>n;return new Proxy(e,{get(){return e}})}const at=NS(),ch=NS(),AS=e=>e,_S=(...e)=>Dr({},...e.map(fg)),y_=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function x_(e){return`${e}`.replace(y_,n=>`\\${n}`)}const S_=/[A-Z]/g;function E_(e){return e.replace(S_,n=>`-${n.toLowerCase()}`)}function zS(e,n={}){const{fallback:i="",prefix:r=""}=n,l=E_(["-",r,x_(e)].filter(Boolean).join("-"));return{var:l,ref:`var(${l}${i?`, ${i}`:""})`}}const C_=e=>/^var\(--.+\)$/.test(e),ft=(e,n)=>n!=null?`${e}(${n})`:n,gi=e=>{if(C_(e)||e==null)return e;const n=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||n?`${e}deg`:e},Ly=e=>({values:["outside","inside","mixed","none"],transform(n,{token:i}){const r=i("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":r,[e]:{outline:"none"}}}[n]??{}}}),O_=Ue("borderColor"),Zn=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),w_=g_({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Cr=zS("bg-currentcolor"),By=e=>e===Cr.ref||e==="currentBg",He=e=>({...e("colors"),currentBg:Cr}),R_=AS({conditions:w_,utilities:{background:{values:He,shorthand:["bg"],transform(e,n){if(By(n.raw))return{background:Cr.ref};const i=Ue("background")(e,n);return{...i,[Cr.var]:i?.background}}},backgroundColor:{values:He,shorthand:["bgColor"],transform(e,n){if(By(n.raw))return{backgroundColor:Cr.ref};const i=Ue("backgroundColor")(e,n);return{...i,[Cr.var]:i?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:He,transform:Ue("--gradient-from")},gradientTo:{values:He,transform:Ue("--gradient-to")},gradientVia:{values:He,transform(e,n){return{...Ue("--gradient-via")(e,n),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:He,transform:Ue("borderColor")},borderTopColor:{values:He,transform:Ue("borderTopColor")},borderBlockStartColor:{values:He,transform:Ue("borderBlockStartColor")},borderBottomColor:{values:He,transform:Ue("borderBottomColor")},borderBlockEndColor:{values:He,transform:Ue("borderBlockEndColor")},borderLeftColor:{values:He,transform:Ue("borderLeftColor")},borderInlineStartColor:{values:He,shorthand:["borderStartColor"],transform:Ue("borderInlineStartColor")},borderRightColor:{values:He,transform:Ue("borderRightColor")},borderInlineEndColor:{values:He,shorthand:["borderEndColor"],transform:Ue("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:He,transform:Ue("color")},fill:{values:He,transform:Ue("fill")},stroke:{values:He,transform:Ue("stroke")},accentColor:{values:He,transform:Ue("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:He,transform(e,n){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":O_(e,n)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:He,transform:Ue("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":ft("blur",e)})},brightness:{transform:e=>({"--brightness":ft("brightness",e)})},contrast:{transform:e=>({"--contrast":ft("contrast",e)})},grayscale:{transform:e=>({"--grayscale":ft("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":ft("hue-rotate",gi(e))})},invert:{transform:e=>({"--invert":ft("invert",e)})},saturate:{transform:e=>({"--saturate":ft("saturate",e)})},sepia:{transform:e=>({"--sepia":ft("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":ft("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":ft("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":ft("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":ft("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":ft("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":ft("hue-rotate",gi(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":ft("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":ft("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":ft("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":ft("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:He,transform:Ue("outlineColor")},focusRing:Ly("&:is(:focus, [data-focus])"),focusVisibleRing:Ly("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:He,transform:Ue("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:n,token:i})=>({[i.raw(`breakpoints.${n}`)?`@breakpoint ${n}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:n,token:i}){return{[i.raw(`breakpoints.${n}`)?`@breakpoint ${n}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:He,transform:Ue("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:He,transform:Ue("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:He,transform:Ue("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:He,transform:Ue("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let n=e;return e==="auto"&&(n="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(n="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:n}}},skewX:{transform:e=>({"--skew-x":gi(e)})},skewY:{transform:e=>({"--skew-y":gi(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:gi(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":gi(e)}}},rotateY:{transform(e){return{"--rotate-y":gi(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Zn("all");case"position":return Zn("left, right, top, bottom, inset-inline, inset-block");case"colors":return Zn("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Zn("opacity");case"shadow":return Zn("box-shadow");case"transform":return Zn("transform");case"size":return Zn("width, height");case"backgrounds":return Zn("background, background-color, background-image, background-position");case"common":return Zn("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},srOnly:{values:{type:"boolean"},transform(e){return T_[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:He,transform:Ue("caretColor")},cursor:{values:"cursor"}}}),T_={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var k_="",N_=k_.split(","),A_="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",__=A_.split(",").concat(N_),z_=new Map(__.map(e=>[e,!0]));function V_(e){const n=Object.create(null);return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])}var I_=/&|@/,D_=V_(e=>z_.has(e)||e.startsWith("--")||I_.test(e));const hg=e=>e!=null;function ia(e,n,i={}){const{stop:r,getKey:l}=i;function c(d,g=[]){if(Vt(d)||Array.isArray(d)){const h={};for(const[m,v]of Object.entries(d)){const x=l?.(m,v)??m,b=[...g,x];if(r?.(d,b))return n(d,g);const S=c(v,b);hg(S)&&(h[x]=S)}return h}return n(d,g)}return c(e)}function M_(e,n){return Array.isArray(e)?e.map(i=>hg(i)?n(i):i):Vt(e)?ia(e,i=>n(i)):hg(e)?n(e):e}function P_(e,n){const i={};return ia(e,(r,l)=>{r&&(i[l.join(".")]=r.value)},{stop:n}),i}var Gf,Hy;function L_(){if(Hy)return Gf;Hy=1,Gf=c,c.default=c,c.stable=m,c.stableStringify=m;var e="[...]",n="[Circular]",i=[],r=[];function l(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function c(b,S,C,E){typeof E>"u"&&(E=l()),g(b,"",0,[],void 0,0,E);var w;try{r.length===0?w=JSON.stringify(b,S,C):w=JSON.stringify(b,x(S),C)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;i.length!==0;){var O=i.pop();O.length===4?Object.defineProperty(O[0],O[1],O[3]):O[0][O[1]]=O[2]}}return w}function d(b,S,C,E){var w=Object.getOwnPropertyDescriptor(E,C);w.get!==void 0?w.configurable?(Object.defineProperty(E,C,{value:b}),i.push([E,C,S,w])):r.push([S,C,b]):(E[C]=b,i.push([E,C,S]))}function g(b,S,C,E,w,O,z){O+=1;var k;if(typeof b=="object"&&b!==null){for(k=0;k<E.length;k++)if(E[k]===b){d(n,b,S,w);return}if(typeof z.depthLimit<"u"&&O>z.depthLimit){d(e,b,S,w);return}if(typeof z.edgesLimit<"u"&&C+1>z.edgesLimit){d(e,b,S,w);return}if(E.push(b),Array.isArray(b))for(k=0;k<b.length;k++)g(b[k],k,k,E,b,O,z);else{var B=Object.keys(b);for(k=0;k<B.length;k++){var _=B[k];g(b[_],_,k,E,b,O,z)}}E.pop()}}function h(b,S){return b<S?-1:b>S?1:0}function m(b,S,C,E){typeof E>"u"&&(E=l());var w=v(b,"",0,[],void 0,0,E)||b,O;try{r.length===0?O=JSON.stringify(w,S,C):O=JSON.stringify(w,x(S),C)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;i.length!==0;){var z=i.pop();z.length===4?Object.defineProperty(z[0],z[1],z[3]):z[0][z[1]]=z[2]}}return O}function v(b,S,C,E,w,O,z){O+=1;var k;if(typeof b=="object"&&b!==null){for(k=0;k<E.length;k++)if(E[k]===b){d(n,b,S,w);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof z.depthLimit<"u"&&O>z.depthLimit){d(e,b,S,w);return}if(typeof z.edgesLimit<"u"&&C+1>z.edgesLimit){d(e,b,S,w);return}if(E.push(b),Array.isArray(b))for(k=0;k<b.length;k++)v(b[k],k,k,E,b,O,z);else{var B={},_=Object.keys(b).sort(h);for(k=0;k<_.length;k++){var q=_[k];v(b[q],q,k,E,b,O,z),B[q]=b[q]}if(typeof w<"u")i.push([w,S,b]),w[S]=B;else return B}E.pop()}}function x(b){return b=typeof b<"u"?b:function(S,C){return C},function(S,C){if(r.length>0)for(var E=0;E<r.length;E++){var w=r[E];if(w[1]===S&&w[0]===C){C=w[2],r.splice(E,1);break}}return b.call(this,S,C)}}return Gf}var B_=L_();const H_=Eg(B_),hn=e=>{const n=Object.create(null);function i(...r){const l=r.map(c=>H_(c)).join("|");return n[l]===void 0&&(n[l]=e(...r)),n[l]}return i},VS=16,Dc="px",uh="em",nl="rem";function IS(e=""){const n=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),i=new RegExp(`${Dc}|${uh}|${nl}`);return e.match(new RegExp(`${n.source}(${i.source})`))?.[1]}function DS(e=""){if(typeof e=="number")return`${e}px`;const n=IS(e);if(!n||n===Dc)return e;if(n===uh||n===nl)return`${parseFloat(e)*VS}${Dc}`}function MS(e=""){const n=IS(e);if(!n||n===nl)return e;if(n===uh)return`${parseFloat(e)}${nl}`;if(n===Dc)return`${parseFloat(e)/VS}${nl}`}const U_=e=>e.charAt(0).toUpperCase()+e.slice(1);function j_(e){const n=F_(e),i=Object.fromEntries(n);function r(b){return i[b]}function l(b){return hr(r(b))}function c(){const b=Object.keys(i),S=$_(b),C=b.flatMap(E=>{const w=r(E),O=[`${E}Down`,hr({max:yc(w.min)})],z=[E,hr({min:w.min})],k=[`${E}Only`,l(E)];return[z,k,O]}).filter(([,E])=>E!=="").concat(S.map(([E,w])=>{const O=r(E),z=r(w);return[`${E}To${U_(w)}`,hr({min:O.min,max:yc(z.min)})]}));return Object.fromEntries(C)}function d(){const b=c();return Object.fromEntries(Object.entries(b))}const g=d(),h=b=>g[b];function m(){return["base",...Object.keys(i)]}function v(b){return hr({min:r(b).min})}function x(b){return hr({max:yc(r(b).min)})}return{values:Object.values(i),only:l,keys:m,conditions:g,getCondition:h,up:v,down:x}}function yc(e){const n=parseFloat(DS(e)??"")-.04;return MS(`${n}px`)}function F_(e){return Object.entries(e).sort(([,i],[,r])=>parseInt(i,10)<parseInt(r,10)?-1:1).map(([i,r],l,c)=>{let d=null;return l<=c.length-1&&(d=c[l+1]?.[1]),d!=null&&(d=yc(d)),[i,{name:i,min:MS(r),max:d}]})}function $_(e){const n=[];return e.forEach((i,r)=>{let l=r;l++;let c=e[l];for(;c;)n.push([i,c]),l++,c=e[l]}),n}function hr({min:e,max:n}){return e==null&&n==null?"":["@media screen",e&&`(min-width: ${e})`,n&&`(max-width: ${n})`].filter(Boolean).join(" and ")}const W_=(e,n)=>Object.fromEntries(Object.entries(e).map(([i,r])=>n(i,r))),G_=e=>{const{breakpoints:n,conditions:i={}}=e,r=W_(i,(v,x)=>[`_${v}`,x]),l=Object.assign({},r,n.conditions);function c(){return Object.keys(l)}function d(v){return c().includes(v)||/^@|&|&$/.test(v)||v.startsWith("_")}function g(v){return v.filter(x=>x!=="base").sort((x,b)=>{const S=d(x),C=d(b);return S&&!C?1:!S&&C?-1:0})}function h(v){return v.startsWith("@breakpoint")?n.getCondition(v.replace("@breakpoint ","")):v}function m(v){return Reflect.get(l,v)||v}return{keys:c,sort:g,has:d,resolve:m,breakpoints:n.keys(),expandAtRule:h}},PS=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
64
+ )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
65
+ )+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),q_=PS("width"),Y_=PS("height"),LS=e=>({isMin:Gy(e.minMax,e.maxMin,e.min),isMax:Gy(e.maxMin,e.minMax,e.max)}),{isMin:mg,isMax:Uy}=LS(q_),{isMin:pg,isMax:jy}=LS(Y_),Fy=/print/i,$y=/^print$/i,X_=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,K_=/(\d)/,Qo=Number.MAX_VALUE,Q_={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function Wy(e){const n=X_.exec(e)||(mg(e)||pg(e)?K_.exec(e):null);if(!n)return Qo;if(n[0]==="0")return 0;const i=parseFloat(n[1]),r=n[2];return i*(Q_[r]||1)}function Gy(e,n,i){return r=>e.test(r)||!n.test(r)&&i.test(r)}function Z_(e,n){const i=Fy.test(e),r=$y.test(e),l=Fy.test(n),c=$y.test(n);return i&&l?!r&&c?1:r&&!c?-1:e.localeCompare(n):i?1:l?-1:null}const J_=hn((e,n)=>{const i=Z_(e,n);if(i!==null)return i;const r=mg(e)||pg(e),l=Uy(e)||jy(e),c=mg(n)||pg(n),d=Uy(n)||jy(n);if(r&&d)return-1;if(l&&c)return 1;const g=Wy(e),h=Wy(n);return g===Qo&&h===Qo?e.localeCompare(n):g===Qo?1:h===Qo?-1:g!==h?g>h?l?-1:1:l?1:-1:e.localeCompare(n)});function qy(e){return e.sort(([n],[i])=>J_(n,i))}function BS(e){const n=[],i=[],r={};for(const[d,g]of Object.entries(e))d.startsWith("@media")?n.push([d,g]):d.startsWith("@container")?i.push([d,g]):Vt(g)?r[d]=BS(g):r[d]=g;const l=qy(n),c=qy(i);return{...r,...Object.fromEntries(l),...Object.fromEntries(c)}}const HS=/\s*!(important)?/i,ez=e=>_n(e)?HS.test(e):!1,tz=e=>_n(e)?e.replace(HS,"").trim():e;function US(e){const{transform:n,conditions:i,normalize:r}=e,l=iz(e);return hn(function(...d){const g=l(...d),h=r(g),m=Object.create(null);return ia(h,(v,x)=>{const b=ez(v);if(v==null)return;const[S,...C]=i.sort(x).map(i.resolve);b&&(v=tz(v));let E=n(S,v)??Object.create(null);E=ia(E,w=>_n(w)&&b?`${w} !important`:w,{getKey:w=>i.expandAtRule(w)}),nz(m,C.flat(),E)}),BS(m)})}function nz(e,n,i){let r=e;for(const l of n)l&&(r[l]||(r[l]=Object.create(null)),r=r[l]);Dr(r,i)}function az(...e){return e.filter(n=>Vt(n)&&Object.keys(ml(n)).length>0)}function iz(e){function n(i){const r=az(...i);return r.length===1?r:r.map(l=>e.normalize(l))}return hn(function(...r){return Dr({},...n(r))})}const jS=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function rz(e){const{css:n,conditions:i,normalize:r,layers:l}=e;function c(g={}){const{base:h,variants:m,defaultVariants:v,compoundVariants:x}=jS(g),b=US({conditions:i,normalize:r,transform(z,k){return m[z]?.[k]}}),S=(z={})=>{const k=r({...v,...ml(z)});let B={...h};Dr(B,b(k));const _=d(x,k);return l.wrap("recipes",n(B,_))},C=Object.keys(m),E=z=>{const k=kS(z,["recipe"]),[B,_]=wr(k,C);return C.includes("colorPalette")||(B.colorPalette=z.colorPalette||v.colorPalette),C.includes("orientation")&&(_.orientation=z.orientation),[B,_]},w=Object.fromEntries(Object.entries(m).map(([z,k])=>[z,Object.keys(k)]));return Object.assign(z=>n(S(z)),{className:g.className,__cva__:!0,variantMap:w,variantKeys:C,raw:S,config:g,splitVariantProps:E,merge(z){return c(oz(e)(this,z))}})}function d(g,h){let m={};return g.forEach(v=>{Object.entries(v).every(([b,S])=>b==="css"?!0:(Array.isArray(S)?S:[S]).some(E=>h[b]===E))&&(m=n(m,v.css))}),m}return c}function oz(e){const{css:n}=e;return function(r,l){const c=jS(l.config),d=_0(r.variantKeys,Object.keys(l.variants)),g=n(r.base,c.base),h=Object.fromEntries(d.map(b=>[b,n(r.config.variants[b],c.variants[b])])),m=Dr(r.config.defaultVariants,c.defaultVariants),v=[...r.compoundVariants,...c.compoundVariants];return{className:kn(r.className,l.className),base:g,variants:h,defaultVariants:m,compoundVariants:v}}}const lz={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},Yy={reset:0,base:1,tokens:2,recipes:3};function sz(e){const n=e.layers??lz,r=Object.values(n).sort((l,c)=>Yy[l]-Yy[c]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(l,c){return e.disableLayers?c:{[`@layer ${n[l]}`]:c}}}}function cz(e){const{utility:n,normalize:i}=e,{hasShorthand:r,resolveShorthand:l}=n;return function(c){return ia(c,i,{stop:d=>Array.isArray(d),getKey:r?l:void 0})}}function uz(e){const{preflight:n}=e;if(!n)return{};const{scope:i="",level:r="parent"}=Vt(n)?n:{};let l="";i&&r==="parent"?l=`${i} `:i&&r==="element"&&(l=`&${i}`);const c={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},d={[i||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(r==="element"){const g=Object.entries(c).reduce((h,[m,v])=>(h[m]={[l]:v},h),{});Object.assign(d,g)}else l?d[l]=c:Object.assign(d,c);return d}function dz(e){const{conditions:n,isValidProperty:i}=e;return function(l){return ia(l,c=>c,{getKey:(c,d)=>Vt(d)&&!n.has(c)&&!i(c)?fz(c).map(g=>"&"+g).join(", "):c})}}function fz(e){const n=[];let i=0,r="",l=!1;for(let c=0;c<e.length;c++){const d=e[c];if(d==="\\"&&!l){l=!0,r+=d;continue}if(l){l=!1,r+=d;continue}d==="("?i++:d===")"&&i--,d===","&&i===0?(n.push(r.trim()),r=""):r+=d}return r&&n.push(r.trim()),n}const gz=(e={})=>{const n=l=>({base:e.base?.[l]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?hz(e.compoundVariants,l):[]}),r=(e.slots??[]).map(l=>[l,n(l)]);for(const[l,c]of Object.entries(e.variants??{}))for(const[d,g]of Object.entries(c))r.forEach(([h,m])=>{var v;(v=m.variants)[l]??(v[l]={}),m.variants[l][d]=g[h]??{}});return Object.fromEntries(r)},hz=(e,n)=>e.filter(i=>i.css[n]).map(i=>({...i,css:i.css[n]}));function mz(e){const{cva:n}=e;return function(r={}){const l=Object.entries(gz(r)).map(([x,b])=>[x,n(b)]);function c(x){const b=l.map(([S,C])=>[S,C(x)]);return Object.fromEntries(b)}const d=r.variants??{},g=Object.keys(d);function h(x){const b=kS(x,["recipe"]),[S,C]=wr(b,g);return g.includes("colorPalette")||(S.colorPalette=x.colorPalette||r.defaultVariants?.colorPalette),g.includes("orientation")&&(C.orientation=x.orientation),[S,C]}const m=Object.fromEntries(Object.entries(d).map(([x,b])=>[x,Object.keys(b)]));let v={};return r.className&&(v=Object.fromEntries(r.slots.map(x=>[x,`${r.className}__${x}`]))),Object.assign(c,{variantMap:m,variantKeys:g,splitVariantProps:h,classNameMap:v})}}const pz=()=>e=>Array.from(new Set(e)),vz=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,bz=function(e,n){return n?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},FS=e=>(e+"").replace(vz,bz),$S=(e,n)=>{let i="",r=0,l="char",c="",d="";const g=[];for(;r<e.length;){const h=e[r];if(h==="{"){const v=e.indexOf("}",r);if(v===-1)break;const x=e.slice(r+1,v),b=n(x);i+=b??x,r=v+1;continue}if(l==="token"&&h===","){e[r]===""&&r++,l="fallback",g.push(l);const v=n(c);v?.endsWith(")")&&(i+=v.slice(0,-1)),c="",d="";continue}if(l==="fallback"&&d+h===", var("){const b=yz(e.slice(r+1))+r+1,S=e.slice(r+1,b);if(b===-1)break;i+=", var("+S+")",r=b+1,l=g.pop()??l,d="";continue}if(l==="token"||l==="fallback"){if(r++,h===")"){l=g.pop()??l??"char",d+=h;const v=c&&(n(c)??FS(c));if(d){if(d=d.slice(1).trim(),!d.startsWith("token(")&&d.endsWith(")")&&(d=d.slice(0,-1)),d.includes("token(")){const b=$S(d,n);b&&(d=b.slice(0,-1))}else if(d){const b=n(d);b&&(d=b)}}const x=i.at(-1);d?x?.trim()?i+=v.slice(0,-1)+(", "+d+")"):i+=d:i+=v||")",c="",d="",l="char";continue}l==="token"&&(c+=h),l==="fallback"&&(d+=h);continue}const m=e.indexOf("token(",r);if(m!==-1){const v=m+6;i+=e.slice(r,m),r=v,l="token",g.push(l);continue}i+=h,r++}return i},yz=e=>{let n=0;const i=["("];for(;n<e.length;){const r=e[n];if(r==="(")i.push(r);else if(r===")"&&(i.pop(),i.length===0))return n;n++}return n};function WS(e){const n={};return e.forEach((i,r)=>{i instanceof Map?n[r]=Object.fromEntries(i):n[r]=i}),n}const GS=/({([^}]*)})/g,xz=/[{}]/g,Sz=/\w+\.\w+/,qS=e=>{if(!_n(e))return[];const n=e.match(GS);return n?n.map(i=>i.replace(xz,"")).map(i=>i.trim()):[]},Ez=e=>GS.test(e);function YS(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const n=e.extensions.references??{};return e.value=Object.keys(n).reduce((i,r)=>{const l=n[r];if(l.extensions.conditions)return i;const c=YS(l);return i.replace(`{${r}}`,c)},e.value),delete e.extensions.references,e.value}function XS(e){return Vt(e)&&e.reference?e.reference:String(e)}const au=(e,...n)=>n.map(XS).join(` ${e} `).replace(/calc/g,""),Xy=(...e)=>`calc(${au("+",...e)})`,Ky=(...e)=>`calc(${au("-",...e)})`,vg=(...e)=>`calc(${au("*",...e)})`,Qy=(...e)=>`calc(${au("/",...e)})`,Zy=e=>{const n=XS(e);return n!=null&&!Number.isNaN(parseFloat(n))?String(n).startsWith("-")?String(n).slice(1):`-${n}`:vg(n,-1)},br=Object.assign(e=>({add:(...n)=>br(Xy(e,...n)),subtract:(...n)=>br(Ky(e,...n)),multiply:(...n)=>br(vg(e,...n)),divide:(...n)=>br(Qy(e,...n)),negate:()=>br(Zy(e)),toString:()=>e.toString()}),{add:Xy,subtract:Ky,multiply:vg,divide:Qy,negate:Zy}),Cz={enforce:"pre",transform(e){const{prefix:n,allTokens:i,formatCssVar:r,formatTokenName:l,registerToken:c}=e;i.filter(({extensions:g})=>g.category==="spacing").forEach(g=>{const h=g.path.slice(),m=r(h,n);if(_n(g.value)&&g.value==="0rem")return;const v=structuredClone(g);Object.assign(v.extensions,{negative:!0,prop:`-${g.extensions.prop}`,originalPath:h}),v.value=br.negate(m.ref);const x=v.path[v.path.length-1];x!=null&&(v.path[v.path.length-1]=`-${x}`),v.path&&(v.name=l(v.path)),c(v)})}},Oz=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),wz={enforce:"post",transform(e){e.allTokens.filter(i=>Oz.has(i.extensions.category)&&!i.extensions.negative).forEach(i=>{Object.assign(i.extensions,{pixelValue:DS(i.value)})})}},Rz={enforce:"post",transform(e){const{allTokens:n,registerToken:i,formatTokenName:r}=e,l=n.filter(({extensions:g})=>g.category==="colors"),c=new Map,d=new Map;l.forEach(g=>{const{colorPalette:h}=g.extensions;h&&(h.keys.forEach(m=>{c.set(r(m),m)}),h.roots.forEach(m=>{const v=r(m),x=d.get(v)||[];if(x.push(g),d.set(v,x),g.extensions.default&&m.length===1){const b=h.keys[0]?.filter(Boolean);if(!b.length)return;const S=m.concat(b);c.set(r(S),[])}}))}),c.forEach(g=>{const h=["colors","colorPalette",...g].filter(Boolean),m=r(h),v=r(h.slice(1));i({name:m,value:m,originalValue:m,path:h,extensions:{condition:"base",originalPath:h,category:"colors",prop:v,virtual:!0}},"pre")})}},Tz={enforce:"post",transform(e){e.allTokens=e.allTokens.filter(n=>n.value!=="")}},kz=[Cz,Rz,wz,Tz],Nz={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,n){const{prefix:i,formatCssVar:r}=n,{negative:l,originalPath:c}=e.extensions,d=l?c:e.path;return{cssVar:r(d.filter(Boolean),i)}}},Az={enforce:"post",type:"value",name:"tokens/conditionals",transform(e,n){const{prefix:i,formatCssVar:r}=n,l=qS(e.value);return l.length&&l.forEach(c=>{const d=r(c.split("."),i);e.value=e.value.replace(`{${d.ref}}`,d)}),e.value}},_z={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,n){let i=e.path.slice();if(i.pop(),i.shift(),i.length===0){const g=[...e.path];g.shift(),i=g}if(i.length===0)return{};const r=i.reduce((g,h,m,v)=>{const x=v.slice(0,m+1);return g.push(x),g},[]),l=i[0],c=n.formatTokenName(i),d=e.path.slice(e.path.indexOf(l)+1).reduce((g,h,m,v)=>(g.push(v.slice(m)),g),[]);return d.length===0&&d.push([""]),{colorPalette:{value:c,roots:r,keys:d}}}},zz=[Nz,Az,_z],Jy=e=>Vt(e)&&Object.prototype.hasOwnProperty.call(e,"value");function Vz(e){return e?{breakpoints:M_(e,n=>({value:n})),sizes:Object.fromEntries(Object.entries(e).map(([n,i])=>[`breakpoint-${n}`,{value:i}]))}:{breakpoints:{},sizes:{}}}function Iz(e){const{prefix:n="",tokens:i={},semanticTokens:r={},breakpoints:l={}}=e,c=Q=>Q.join("."),d=(Q,te)=>zS(Q.join("-"),{prefix:te}),g=[],h=new Map,m=new Map,v=new Map,x=new Map,b=new Map,S=new Map,C=new Map,E=new Map,w=[];function O(Q,te){g.push(Q),h.set(Q.name,Q),te&&E.forEach(Ce=>{Ce.enforce===te&&T(Ce,Q)})}const z=Vz(l),k=ml({...i,breakpoints:z.breakpoints,sizes:{...i.sizes,...z.sizes}});function B(){ia(k,(Q,te)=>{const Ce=te.includes("DEFAULT");te=e0(te);const ze=te[0],We=c(te),Ke=_n(Q)?{value:Q}:Q,Mt={value:Ke.value,originalValue:Ke.value,name:We,path:te,extensions:{condition:"base",originalPath:te,category:ze,prop:c(te.slice(1))}};Ce&&(Mt.extensions.default=!0),O(Mt)},{stop:Jy}),ia(r,(Q,te)=>{const Ce=te.includes("DEFAULT");te=KS(e0(te));const ze=te[0],We=c(te),Ke=_n(Q.value)?{value:{base:Q.value}}:Q,Mt={value:Ke.value.base||"",originalValue:Ke.value.base||"",name:We,path:te,extensions:{originalPath:te,category:ze,conditions:Ke.value,condition:"base",prop:c(te.slice(1))}};Ce&&(Mt.extensions.default=!0),O(Mt)},{stop:Jy})}function _(Q){return h.get(Q)}function q(Q){const{condition:te}=Q.extensions;te&&(m.has(te)||m.set(te,new Set),m.get(te).add(Q))}function j(Q){const{category:te,prop:Ce}=Q.extensions;te&&(C.has(te)||C.set(te,new Map),C.get(te).set(Ce,Q))}function H(Q){const{condition:te,negative:Ce,virtual:ze,cssVar:We}=Q.extensions;Ce||ze||!te||!We||(v.has(te)||v.set(te,new Map),v.get(te).set(We.var,Q.value))}function U(Q){const{category:te,prop:Ce,cssVar:ze,negative:We}=Q.extensions;if(!te)return;S.has(te)||S.set(te,new Map);const Ke=We?Q.extensions.conditions?Q.originalValue:Q.value:ze.ref;S.get(te).set(Ce,Ke),b.set([te,Ce].join("."),Ke)}function X(Q){const{colorPalette:te,virtual:Ce,default:ze}=Q.extensions;!te||Ce||te.roots.forEach(We=>{const Ke=c(We);x.has(Ke)||x.set(Ke,new Map);const Mt=Mz([...Q.path],[...We]),Oi=c(Mt),Br=_(Oi);if(!Br||!Br.extensions.cssVar)return;const{var:Qt}=Br.extensions.cssVar;if(x.get(Ke).set(Qt,Q.extensions.cssVar.ref),ze&&We.length===1){const lu=c(["colors","colorPalette"]),Hr=_(lu);if(!Hr)return;const kl=c(Q.path),ja=_(kl);if(!ja)return;const Nl=te.keys[0]?.filter(Boolean);if(!Nl.length)return;const wi=c(We.concat(Nl));x.has(wi)||x.set(wi,new Map),x.get(wi).set(Hr.extensions.cssVar.var,ja.extensions.cssVar.ref)}})}let K={};function Y(){g.forEach(Q=>{q(Q),j(Q),H(Q),U(Q),X(Q)}),K=WS(S)}const le=(Q,te)=>{if(!Q||typeof Q!="string")return{invalid:!0,value:Q};const[Ce,ze]=Q.split("/");if(!Ce||!ze)return{invalid:!0,value:Ce};const We=te(Ce),Ke=_(`opacity.${ze}`)?.value;if(!Ke&&isNaN(Number(ze)))return{invalid:!0,value:Ce};const Mt=Ke?Number(Ke)*100+"%":`${ze}%`,Oi=We??Ce;return{invalid:!1,color:Oi,value:`color-mix(in srgb, ${Oi} ${Mt}, transparent)`}},ie=hn((Q,te)=>b.get(Q)??te),fe=hn(Q=>K[Q]||null),L=hn(Q=>$S(Q,te=>{if(!te)return;if(te.includes("/")){const ze=le(te,We=>ie(We));if(ze.invalid)throw new Error("Invalid color mix at "+te+": "+ze.value);return ze.value}const Ce=ie(te);return Ce||(Sz.test(te)?FS(te):te)})),ne={prefix:n,allTokens:g,tokenMap:h,registerToken:O,getByName:_,formatTokenName:c,formatCssVar:d,flatMap:b,cssVarMap:v,categoryMap:C,colorPaletteMap:x,getVar:ie,getCategoryValues:fe,expandReferenceInValue:L};function Z(...Q){Q.forEach(te=>{E.set(te.name,te)})}function ue(...Q){w.push(...Q)}function T(Q,te){if(te.extensions.references||Vg(Q.match)&&!Q.match(te))return;const ze=(We=>Q.transform(We,ne))(te);switch(!0){case Q.type==="extensions":Object.assign(te.extensions,ze);break;case Q.type==="value":te.value=ze;break;default:te[Q.type]=ze;break}}function W(Q){w.forEach(te=>{te.enforce===Q&&te.transform(ne)})}function re(Q){E.forEach(te=>{te.enforce===Q&&g.forEach(Ce=>{T(te,Ce)})})}function ae(){g.forEach(Q=>{const te=Dz(Q);!te||te.length===0||te.forEach(Ce=>{O(Ce)})})}function se(Q){return qS(Q).map(Ce=>_(Ce)).filter(Boolean)}function Se(){g.forEach(Q=>{if(!Ez(Q.value))return;const te=se(Q.value);Q.extensions.references=te.reduce((Ce,ze)=>(Ce[ze.name]=ze,Ce),{})})}function be(){g.forEach(Q=>{YS(Q)})}function Rt(){W("pre"),re("pre"),ae(),Se(),be(),W("post"),re("post"),Y()}return B(),Z(...zz),ue(...kz),Rt(),ne}function e0(e){return e[0]==="DEFAULT"?e:e.filter(n=>n!=="DEFAULT")}function KS(e){return e.filter(n=>n!=="base")}function Dz(e){if(!e.extensions.conditions)return;const{conditions:n}=e.extensions,i=[];return ia(n,(r,l)=>{const c=KS(l);if(!c.length)return;const d=structuredClone(e);d.value=r,d.extensions.condition=c.join(":"),i.push(d)}),i}function Mz(e,n){const i=e.findIndex((r,l)=>n.every((c,d)=>e[l+d]===c));return i===-1||(e.splice(i,n.length),e.splice(i,0,"colorPalette")),e}pz()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function Pz(e){return Object.fromEntries(Object.entries(e).map(([n,i])=>[n,i]))}function Lz(e){const n=Pz(e.config),i=e.tokens,r=new Map,l=new Map;function c(H,U){n[H]=U,d(H,U)}const d=(H,U)=>{const X=E(U);X&&(l.set(H,X),x(H,U))},g=()=>{for(const[H,U]of Object.entries(n))U&&d(H,U)},h=()=>{for(const[H,U]of Object.entries(n)){const{shorthand:X}=U??{};if(!X)continue;(Array.isArray(X)?X:[X]).forEach(Y=>r.set(Y,H))}},m=()=>{const H=WS(i.colorPaletteMap);c("colorPalette",{values:Object.keys(H),transform:hn(U=>H[U])})},v=new Map,x=(H,U)=>{if(!U)return;const X=E(U,Y=>`type:Tokens["${Y}"]`);if(typeof X=="object"&&X.type){v.set(H,new Set([`type:${X.type}`]));return}if(X){const Y=new Set(Object.keys(X));v.set(H,Y)}const K=v.get(H)??new Set;U.property&&v.set(H,K.add(`CssProperties["${U.property}"]`))},b=()=>{for(const[H,U]of Object.entries(n))U&&x(H,U)},S=(H,U)=>{const X=v.get(H)??new Set;v.set(H,new Set([...X,...U]))},C=()=>{const H=new Map;for(const[U,X]of v.entries()){if(X.size===0){H.set(U,["string"]);continue}const K=Array.from(X).map(Y=>Y.startsWith("CssProperties")?Y:Y.startsWith("type:")?Y.replace("type:",""):JSON.stringify(Y));H.set(U,K)}return H},E=(H,U)=>{const{values:X}=H,K=Y=>{const le=U?.(Y);return le?{[le]:le}:void 0};return _n(X)?K?.(X)??i.getCategoryValues(X)??{}:Array.isArray(X)?X.reduce((Y,le)=>(Y[le]=le,Y),{}):Vg(X)?X(U?K:i.getCategoryValues):X},w=hn((H,U)=>({[H]:H.startsWith("--")?i.getVar(U,U):U})),O=Object.assign(i.getVar,{raw:H=>i.getByName(H)}),z=hn((H,U)=>{const X=_(H);_n(U)&&!U.includes("_EMO_")&&(U=i.expandReferenceInValue(U));const K=n[X];if(!K)return w(X,U);const Y=l.get(X)?.[U];if(!K.transform)return w(H,Y??U);const le=ie=>f_(ie,O);return K.transform(Y??U,{raw:U,token:O,utils:{colorMix:le}})});function k(){h(),m(),g(),b()}k();const B=r.size>0,_=hn(H=>r.get(H)??H);return{keys:()=>[...Array.from(r.keys()),...Object.keys(n)],hasShorthand:B,transform:z,shorthands:r,resolveShorthand:_,register:c,getTypes:C,addPropertyType:S}}function Bz(...e){const n=_S(...e),{theme:i={},utilities:r={},globalCss:l={},cssVarsRoot:c=":where(:root, :host)",cssVarsPrefix:d="chakra",preflight:g}=n,h=sz(n),m=Iz({breakpoints:i.breakpoints,tokens:i.tokens,semanticTokens:i.semanticTokens,prefix:d}),v=j_(i.breakpoints??{}),x=G_({conditions:n.conditions??{},breakpoints:v}),b=Lz({config:r,tokens:m});function S(){const{textStyles:Z,layerStyles:ue,animationStyles:T}=i,W=ml({textStyle:Z,layerStyle:ue,animationStyle:T});for(const[re,ae]of Object.entries(W)){const se=P_(ae??{},Se=>Vt(Se)&&"value"in Se);b.register(re,{values:Object.keys(se),transform(Se){return k(se[Se])}})}}S(),b.addPropertyType("animationName",Object.keys(i.keyframes??{}));const C=new Set(["css",...b.keys(),...x.keys()]),E=hn(Z=>C.has(Z)||D_(Z)),w=Z=>Array.isArray(Z)?Z.reduce((ue,T,W)=>{const re=x.breakpoints[W];return T!=null&&(ue[re]=T),ue},{}):Z,O=cz({utility:b,normalize:w}),z=dz({conditions:x,isValidProperty:E}),k=US({transform:b.transform,conditions:x,normalize:O}),B=rz({css:k,conditions:x,normalize:O,layers:h}),_=mz({cva:B});function q(){const Z={};for(const[ue,T]of m.cssVarMap.entries()){const W=Object.fromEntries(T);if(Object.keys(W).length===0)continue;const re=ue==="base"?c:x.resolve(ue),ae=re.startsWith("@"),se=k(z({[re]:ae?{[c]:W}:W}));Dr(Z,se)}return h.wrap("tokens",Z)}function j(){const Z=Object.fromEntries(Object.entries(i.keyframes??{}).map(([T,W])=>[`@keyframes ${T}`,W])),ue=Object.assign({},Z,k(z(l)));return h.wrap("base",ue)}function H(Z){return wr(Z,E)}function U(){const Z=uz({preflight:g});return h.wrap("reset",Z)}const X=Hz(m),K=(Z,ue)=>X.get(Z)?.value||ue;K.var=(Z,ue)=>X.get(Z)?.variable||ue;function Y(Z,ue){return i.recipes?.[Z]??ue}function le(Z,ue){return i.slotRecipes?.[Z]??ue}function ie(Z){return Object.hasOwnProperty.call(i.recipes??{},Z)}function fe(Z){return Object.hasOwnProperty.call(i.slotRecipes??{},Z)}function L(Z){return ie(Z)||fe(Z)}const ne=[U(),j(),q()];return{$$chakra:!0,_config:n,_global:ne,breakpoints:v,tokens:m,conditions:x,utility:b,token:K,properties:C,layers:h,isValidProperty:E,splitCssProps:H,normalizeValue:w,getTokenCss:q,getGlobalCss:j,getPreflightCss:U,css:k,cva:B,sva:_,getRecipe:Y,getSlotRecipe:le,hasRecipe:L,isRecipe:ie,isSlotRecipe:fe}}function Hz(e){const n=new Map;return e.allTokens.forEach(i=>{const{cssVar:r,virtual:l,conditions:c}=i.extensions,d=c||l?r.ref:i.value;n.set(i.name,{value:d,variable:r.ref})}),n}const Uz={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},qf="var(--chakra-empty,/*!*/ /*!*/)",jz=m_({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":qf,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,qf])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,qf])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),Fz=b_({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),$z=v_({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),dh=ot({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),Wz=ot({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),pt=ot({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:Gz,defaultVariants:qz}=dh,Yz=ot({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:Gz,defaultVariants:qz}),QS=ot({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),Xz=ot({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),Kz=ot({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),Qz=ot({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),tt=ot({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),Zz=ot({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:tt.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),Jz=ot({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),eV=ot({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),tV=ot({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),vt=ot({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}}},defaultVariants:{variant:"solid",size:"md"}}),nV=ot({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),aV=ot({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),iV=ot({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),rV=ot({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),oV=ot({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),lV={badge:dh,button:Wz,code:Yz,container:Xz,heading:Kz,input:tt,inputAddon:Zz,kbd:Jz,link:eV,mark:tV,separator:nV,skeleton:aV,skipNavLink:iV,spinner:rV,textarea:oV,icon:Qz,checkmark:pt,radiomark:vt,colorSwatch:QS},sV=ch.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}}}}),cV=ch.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),uV=ch.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),dV=wx.extendWith("itemBody"),fV=me("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),gV=me("alert").parts("title","description","root","indicator","content"),hV=me("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),mV=me("blockquote").parts("root","icon","content","caption"),pV=me("card").parts("root","header","body","footer","title","description"),vV=me("checkbox-card",["root","control","label","description","addon","indicator","content"]),bV=me("data-list").parts("root","item","itemLabel","itemValue"),yV=rh.extendWith("header","body","footer","backdrop"),xV=rh.extendWith("header","body","footer","backdrop"),SV=Wx.extendWith("textarea"),EV=me("empty-state",["root","content","indicator","title","description"]),CV=Gx.extendWith("requiredIndicator"),OV=qx.extendWith("content"),wV=Yx.extendWith("itemContent","dropzoneContent","fileText"),RV=me("list").parts("root","item","indicator"),TV=Zx.extendWith("itemCommand"),kV=me("select").parts("root","field","indicator"),NV=lS.extendWith("header","body","footer"),ZS=sh.extendWith("itemAddon","itemIndicator"),AV=ZS.extendWith("itemContent","itemDescription"),_V=cS.extendWith("itemIndicator"),zV=dS.extendWith("indicatorGroup"),VV=Fx.extendWith("indicatorGroup","empty"),IV=gS.extendWith("markerIndicator"),DV=me("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),MV=me("status").parts("root","indicator"),PV=me("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),LV=hS.extendWith("indicator"),BV=me("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),HV=me("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),UV=me("tabs").parts("root","trigger","list","content","contentGroup","indicator"),jV=me("tag").parts("root","label","closeTrigger","startElement","endElement"),FV=me("timeline").parts("root","item","content","separator","indicator","connector","title","description"),$V=QN.extendWith("channelText");Vx.extendWith("valueText");const WV=ve({className:"chakra-accordion",slots:dV.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),GV=ve({className:"chakra-action-bar",slots:fV.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}}}),qV=ve({slots:gV.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}}),YV=ve({slots:kx.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px",borderColor:"colorPalette.muted"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),XV=ve({className:"chakra-blockquote",slots:mV.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),KV=ve({className:"chakra-breadcrumb",slots:hV.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),QV=ve({className:"chakra-card",slots:pV.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}}),ZV=ve({slots:KN.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:pt.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:pt.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:pt.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:pt.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:pt.variants?.size?.lg}},variant:{outline:{control:pt.variants?.variant?.outline},solid:{control:pt.variants?.variant?.solid},subtle:{control:pt.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),JV=ve({slots:vV.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:pt.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:pt.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:pt.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:pt.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:pt.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:pt.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:pt.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:pt.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),e5=ve({slots:rx.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),t5=ve({className:"colorPicker",slots:$V.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3",zIndex:"dropdown",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...QS.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...tt.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:tt.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:tt.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:tt.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:tt.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:tt.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:tt.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:tt.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:tt.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:tt.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),n5=ve({className:"chakra-combobox",slots:VV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},control:{pos:"relative"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),a5=ve({slots:bV.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),i5=ve({slots:yV.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100vw",minH:"100vh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),r5=ve({slots:xV.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),t0=Mr({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),o5=ve({slots:SV.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...t0,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"normal",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...t0,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),l5=ve({slots:EV.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),s5=ve({className:"chakra-field",slots:CV.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),c5=ve({className:"fieldset",slots:OV.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),u5=ve({className:"chakra-file-upload",slots:wV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}}),d5=ve({className:"chakra-hover-card",slots:Qx.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3",zIndex:"popover",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),f5=ve({className:"chakra-list",slots:RV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),g5=ve({className:"chakra-menu",slots:TV.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),xc=ve({className:"chakra-select",slots:zV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),h5=ve({className:"chakra-native-select",slots:kV.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:xc.variants?.variant.outline.trigger},subtle:{field:xc.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{field:{textStyle:"xs",ps:"2",pe:"6",height:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{field:{textStyle:"sm",ps:"2.5",pe:"8",height:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{field:{textStyle:"sm",ps:"3",pe:"8",height:"10"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{field:{textStyle:"md",ps:"4",pe:"8",height:"11"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{field:{textStyle:"md",ps:"4.5",pe:"10",height:"12"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:xc.defaultVariants});function bg(e,n){const i={};for(const r in e){const l=n(r,e[r]);i[l[0]]=l[1]}return i}const n0=Mr({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),m5=ve({className:"chakra-number-input",slots:aS.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...tt.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...n0,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...n0,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:tt.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:tt.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:tt.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:tt.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:bg(tt.variants.variant,(e,n)=>[e,{input:n}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:a0,defaultVariants:p5}=tt,v5=ve({className:"chakra-pin-input",slots:oS.keys(),base:{input:{...tt.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:bg(a0.size,(e,n)=>[e,{input:{...n,px:"1"}}]),variant:bg(a0.variant,(e,n)=>[e,{input:n}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:p5}),b5=ve({className:"chakra-popover",slots:NV.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}}),y5=ve({slots:lh.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}}),x5=ve({className:"chakra-progress-circle",slots:lh.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}}),S5=ve({slots:sS.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),E5=ve({className:"chakra-radio-card",slots:AV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.8",borderColor:"border.disabled"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:vt.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:vt.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:vt.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:vt.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:vt.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:vt.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:vt.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:vt.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),C5=ve({className:"chakra-radio-group",slots:ZS.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:vt.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:vt.variants?.variant?.outline},subtle:{itemControl:vt.variants?.variant?.subtle},solid:{itemControl:vt.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:vt.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:vt.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:vt.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:vt.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),O5=ve({className:"chakra-rating-group",slots:_V.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}}),w5=ve({className:"chakra-segment-group",slots:uS.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),R5=ve({className:"chakra-slider",slots:IV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),T5=ve({className:"chakra-stat",slots:DV.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),k5=ve({className:"chakra-status",slots:MV.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),N5=ve({className:"chakra-steps",slots:PV.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}),A5=ve({slots:LV.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),_5=ve({className:"chakra-table",slots:BV.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}",overflow:"hidden"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),z5=ve({slots:UV.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-indicator-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),ec=dh.variants?.variant,V5=ve({slots:jV.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:ec?.subtle},solid:{root:ec?.solid},outline:{root:ec?.outline},surface:{root:ec?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),I5=ve({slots:FV.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"6",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid"}}),D5=ve({slots:HV.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}}),M5=ve({slots:wS.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}}),i0=Mr({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),r0=Mr({flex:"1"}),o0=Mr({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),l0=Mr({_selected:{layerStyle:"fill.solid"}}),P5=ve({slots:RS.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:i0,item:i0,itemText:r0,branchText:r0,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:o0,item:o0},solid:{branchControl:l0,item:l0}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),L5={accordion:WV,actionBar:GV,alert:qV,avatar:YV,blockquote:XV,breadcrumb:KV,card:QV,checkbox:ZV,checkboxCard:JV,collapsible:e5,dataList:a5,dialog:i5,drawer:r5,editable:o5,emptyState:l5,field:s5,fieldset:c5,fileUpload:u5,hoverCard:d5,list:f5,menu:g5,nativeSelect:h5,numberInput:m5,pinInput:v5,popover:b5,progress:y5,progressCircle:x5,radioCard:E5,radioGroup:C5,ratingGroup:O5,segmentGroup:w5,select:xc,combobox:n5,slider:R5,stat:T5,steps:N5,switch:A5,table:_5,tabs:z5,tag:V5,toast:D5,tooltip:M5,status:k5,timeline:I5,colorPicker:t5,qrCode:S5,treeView:P5},B5=p_({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),H5=at.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),U5=at.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),j5=at.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),F5=at.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),$5=at.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),W5=at.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),G5=at.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),q5=at.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),Y5=at.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),X5=at.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),s0='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',K5=at.fonts({heading:{value:`Inter, ${s0}`},body:{value:`Inter, ${s0}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),Q5=h_({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"0"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}}),Z5=at.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),J5=at.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),eI=at.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),JS=at.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),tI=at.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),nI=at.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),aI=at.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),iI=at.sizes({...tI,...JS,...aI,...nI}),rI=at.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),oI=AS({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:jz,theme:{breakpoints:Uz,keyframes:Q5,tokens:{aspectRatios:U5,animations:H5,blurs:j5,borders:F5,colors:$5,durations:G5,easings:q5,fonts:K5,fontSizes:Y5,fontWeights:X5,letterSpacings:Z5,lineHeights:J5,radii:eI,spacing:JS,sizes:iI,zIndex:rI,cursor:W5},semanticTokens:{colors:sV,shadows:uV,radii:cV},recipes:lV,slotRecipes:L5,textStyles:B5,layerStyles:Fz,animationStyles:$z}}),lI=_S(R_,oI),sI=Bz(lI);function cI(e){const{key:n,recipe:i}=e,r=Hc();return N.useMemo(()=>{const l=i||(n!=null?r.getSlotRecipe(n):{});return r.sva(structuredClone(l))},[n,i,r])}const uI=e=>e.charAt(0).toUpperCase()+e.slice(1),dI=e=>{const{key:n,recipe:i}=e,r=uI(n||i.className||"Component"),[l,c]=Jo({name:`${r}StylesContext`,errorMessage:`use${r}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `}),[d,g]=Jo({name:`${r}ClassNameContext`,errorMessage:`use${r}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `,strict:!1}),[h,m]=Jo({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`,defaultValue:{}});function v(C){const{unstyled:E,...w}=C,O=cI({key:n,recipe:w.recipe||i}),[z,k]=N.useMemo(()=>O.splitVariantProps(w),[w,O]);return{styles:N.useMemo(()=>E?JC:O(z),[E,z,O]),classNames:O.classNameMap,props:k}}function x(C,E={}){const{defaultProps:w}=E,O=z=>{const k=m(),B=N.useMemo(()=>al(w,k,z),[k,z]),{styles:_,classNames:q,props:j}=v(B);return J.jsx(l,{value:_,children:J.jsx(d,{value:q,children:J.jsx(C,{...j})})})};return O.displayName=C.displayName||C.name,O}return{StylesProvider:l,ClassNamesProvider:d,PropsProvider:h,usePropsContext:m,useRecipeResult:v,withProvider:(C,E,w)=>{const{defaultProps:O,...z}=w??{},k=Pa(C,{},z),B=N.forwardRef((_,q)=>{const j=m(),H=N.useMemo(()=>al(O??{},j,_),[j,_]),{styles:U,props:X,classNames:K}=v(H),Y=K[E],le=J.jsx(l,{value:U,children:J.jsx(d,{value:K,children:J.jsx(k,{ref:q,...X,css:[U[E],H.css],className:kn(H.className,Y)})})});return w?.wrapElement?.(le,H)??le});return B.displayName=C.displayName||C.name,B},withContext:(C,E,w)=>{const O=Pa(C,{},w),z=N.forwardRef((k,B)=>{const _=c(),j=g()?.[E];return J.jsx(O,{...k,css:[E?_[E]:void 0,k.css],ref:B,className:kn(k.className,j)})});return z.displayName=C.displayName||C.name,z},withRootProvider:x,useStyles:c,useClassNames:g}},fI=e=>e?"":void 0,yg=Pa("div");yg.displayName="Box";const tc=Pa("span"),{withContext:gI}=pl({key:"spinner"}),Zo=gI("span"),e1=Pa("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});e1.displayName="AbsoluteCenter";const hI=N.forwardRef(function(n,i){const{spinner:r=J.jsx(Zo,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:l="start",children:c,text:d,visible:g=!0,...h}=n;return g?d?J.jsxs(tc,{ref:i,display:"contents",...h,children:[l==="start"&&r,d,l==="end"&&r]}):r?J.jsxs(tc,{ref:i,display:"contents",...h,children:[J.jsx(e1,{display:"inline-flex",children:r}),J.jsx(tc,{visibility:"hidden",display:"contents",children:c})]}):J.jsx(tc,{ref:i,display:"contents",...h,children:c}):c}),{useRecipeResult:mI,usePropsContext:pI}=pl({key:"button"}),vI=N.forwardRef(function(n,i){const r=pI(),l=N.useMemo(()=>al(r,n),[r,n]),c=mI(l),{loading:d,loadingText:g,children:h,spinner:m,spinnerPlacement:v,...x}=c.props;return J.jsx(Pa.button,{type:"button",ref:i,...x,"data-loading":fI(d),disabled:d||x.disabled,className:kn(c.className,l.className),css:[c.styles,l.css],children:!l.asChild&&d?J.jsx(hI,{spinner:m,text:g,spinnerPlacement:v,children:h}):h})}),{withContext:bI}=pl({key:"container"}),yr=bI("div"),c0=N.forwardRef(function(n,i){const{direction:r,align:l,justify:c,wrap:d,basis:g,grow:h,shrink:m,inline:v,...x}=n;return J.jsx(Pa.div,{ref:i,...x,css:{display:v?"inline-flex":"flex",flexDirection:r,alignItems:l,justifyContent:c,flexWrap:d,flexBasis:g,flexGrow:h,flexShrink:m,...n.css}})}),{withProvider:t1,withContext:Ol}=dI({key:"tabs"});t1(OS,"root",{forwardAsChild:!0});const yI=t1(CS,"root",{forwardAsChild:!0}),nc=Ol(yS,"trigger",{forwardAsChild:!0}),ac=Ol(pS,"content",{forwardAsChild:!0});Ol("div","contentGroup");const xI=Ol(bS,"list",{forwardAsChild:!0});Ol(vS,"indicator",{forwardAsChild:!0});const{withContext:SI}=pl({key:"heading"}),EI=SI("h2"),{withContext:CI}=pl({key:"text"}),Yf=CI("p");function OI({children:e}){return J.jsx(J.Fragment,{children:e})}const wI="modulepreload",RI=function(e){return"/"+e},u0={},iu=function(n,i,r){let l=Promise.resolve();if(i&&i.length>0){let h=function(m){return Promise.all(m.map(v=>Promise.resolve(v).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),g=d?.nonce||d?.getAttribute("nonce");l=h(i.map(m=>{if(m=RI(m),m in u0)return;u0[m]=!0;const v=m.endsWith(".css"),x=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${x}`))return;const b=document.createElement("link");if(b.rel=v?"stylesheet":wI,v||(b.as="script"),b.crossOrigin="",b.href=m,g&&b.setAttribute("nonce",g),document.head.appendChild(b),v)return new Promise((S,C)=>{b.addEventListener("load",S),b.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${m}`)))})}))}function c(d){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=d,window.dispatchEvent(g),!g.defaultPrevented)throw d}return l.then(d=>{for(const g of d||[])g.status==="rejected"&&c(g.reason);return n().catch(c)})};/**
66
+ * react-router v7.7.0
67
+ *
68
+ * Copyright (c) Remix Software Inc.
69
+ *
70
+ * This source code is licensed under the MIT license found in the
71
+ * LICENSE.md file in the root directory of this source tree.
72
+ *
73
+ * @license MIT
74
+ */var d0="popstate";function TI(e={}){function n(r,l){let{pathname:c,search:d,hash:g}=r.location;return xg("",{pathname:c,search:d,hash:g},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(r,l){return typeof l=="string"?l:gl(l)}return NI(n,i,null,e)}function qe(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function In(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function kI(){return Math.random().toString(36).substring(2,10)}function f0(e,n){return{usr:e.state,key:e.key,idx:n}}function xg(e,n,i=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?Pr(n):n,state:i,key:n&&n.key||r||kI()}}function gl({pathname:e="/",search:n="",hash:i=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function Pr(e){let n={};if(e){let i=e.indexOf("#");i>=0&&(n.hash=e.substring(i),e=e.substring(0,i));let r=e.indexOf("?");r>=0&&(n.search=e.substring(r),e=e.substring(0,r)),e&&(n.pathname=e)}return n}function NI(e,n,i,r={}){let{window:l=document.defaultView,v5Compat:c=!1}=r,d=l.history,g="POP",h=null,m=v();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function v(){return(d.state||{idx:null}).idx}function x(){g="POP";let w=v(),O=w==null?null:w-m;m=w,h&&h({action:g,location:E.location,delta:O})}function b(w,O){g="PUSH";let z=xg(E.location,w,O);m=v()+1;let k=f0(z,m),B=E.createHref(z);try{d.pushState(k,"",B)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;l.location.assign(B)}c&&h&&h({action:g,location:E.location,delta:1})}function S(w,O){g="REPLACE";let z=xg(E.location,w,O);m=v();let k=f0(z,m),B=E.createHref(z);d.replaceState(k,"",B),c&&h&&h({action:g,location:E.location,delta:0})}function C(w){return AI(w)}let E={get action(){return g},get location(){return e(l,d)},listen(w){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(d0,x),h=w,()=>{l.removeEventListener(d0,x),h=null}},createHref(w){return n(l,w)},createURL:C,encodeLocation(w){let O=C(w);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:b,replace:S,go(w){return d.go(w)}};return E}function AI(e,n=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),qe(i,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:gl(e);return r=r.replace(/ $/,"%20"),!n&&r.startsWith("//")&&(r=i+r),new URL(r,i)}function n1(e,n,i="/"){return _I(e,n,i,!1)}function _I(e,n,i,r){let l=typeof n=="string"?Pr(n):n,c=ra(l.pathname||"/",i);if(c==null)return null;let d=a1(e);zI(d);let g=null;for(let h=0;g==null&&h<d.length;++h){let m=FI(c);g=UI(d[h],m,r)}return g}function a1(e,n=[],i=[],r=""){let l=(c,d,g)=>{let h={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};h.relativePath.startsWith("/")&&(qe(h.relativePath.startsWith(r),`Absolute route path "${h.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(r.length));let m=ea([r,h.relativePath]),v=i.concat(h);c.children&&c.children.length>0&&(qe(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),a1(c.children,n,v,m)),!(c.path==null&&!c.index)&&n.push({path:m,score:BI(m,c.index),routesMeta:v})};return e.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))l(c,d);else for(let g of i1(c.path))l(c,d,g)}),n}function i1(e){let n=e.split("/");if(n.length===0)return[];let[i,...r]=n,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(r.length===0)return l?[c,""]:[c];let d=i1(r.join("/")),g=[];return g.push(...d.map(h=>h===""?c:[c,h].join("/"))),l&&g.push(...d),g.map(h=>e.startsWith("/")&&h===""?"/":h)}function zI(e){e.sort((n,i)=>n.score!==i.score?i.score-n.score:HI(n.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}var VI=/^:[\w-]+$/,II=3,DI=2,MI=1,PI=10,LI=-2,g0=e=>e==="*";function BI(e,n){let i=e.split("/"),r=i.length;return i.some(g0)&&(r+=LI),n&&(r+=DI),i.filter(l=>!g0(l)).reduce((l,c)=>l+(VI.test(c)?II:c===""?MI:PI),r)}function HI(e,n){return e.length===n.length&&e.slice(0,-1).every((r,l)=>r===n[l])?e[e.length-1]-n[n.length-1]:0}function UI(e,n,i=!1){let{routesMeta:r}=e,l={},c="/",d=[];for(let g=0;g<r.length;++g){let h=r[g],m=g===r.length-1,v=c==="/"?n:n.slice(c.length)||"/",x=Mc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),b=h.route;if(!x&&m&&i&&!r[r.length-1].route.index&&(x=Mc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!x)return null;Object.assign(l,x.params),d.push({params:l,pathname:ea([c,x.pathname]),pathnameBase:qI(ea([c,x.pathnameBase])),route:b}),x.pathnameBase!=="/"&&(c=ea([c,x.pathnameBase]))}return d}function Mc(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,r]=jI(e.path,e.caseSensitive,e.end),l=n.match(i);if(!l)return null;let c=l[0],d=c.replace(/(.)\/+$/,"$1"),g=l.slice(1);return{params:r.reduce((m,{paramName:v,isOptional:x},b)=>{if(v==="*"){let C=g[b]||"";d=c.slice(0,c.length-C.length).replace(/(.)\/+$/,"$1")}const S=g[b];return x&&!S?m[v]=void 0:m[v]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:d,pattern:e}}function jI(e,n=!1,i=!0){In(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,g,h)=>(r.push({paramName:g,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),r]}function FI(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return In(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function ra(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let i=n.endsWith("/")?n.length-1:n.length,r=e.charAt(i);return r&&r!=="/"?null:e.slice(i)||"/"}function $I(e,n="/"){let{pathname:i,search:r="",hash:l=""}=typeof e=="string"?Pr(e):e;return{pathname:i?i.startsWith("/")?i:WI(i,n):n,search:YI(r),hash:XI(l)}}function WI(e,n){let i=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function Xf(e,n,i,r){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function GI(e){return e.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function r1(e){let n=GI(e);return n.map((i,r)=>r===n.length-1?i.pathname:i.pathnameBase)}function o1(e,n,i,r=!1){let l;typeof e=="string"?l=Pr(e):(l={...e},qe(!l.pathname||!l.pathname.includes("?"),Xf("?","pathname","search",l)),qe(!l.pathname||!l.pathname.includes("#"),Xf("#","pathname","hash",l)),qe(!l.search||!l.search.includes("#"),Xf("#","search","hash",l)));let c=e===""||l.pathname==="",d=c?"/":l.pathname,g;if(d==null)g=i;else{let x=n.length-1;if(!r&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),x-=1;l.pathname=b.join("/")}g=x>=0?n[x]:"/"}let h=$I(l,g),m=d&&d!=="/"&&d.endsWith("/"),v=(c||d===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var ea=e=>e.join("/").replace(/\/\/+/g,"/"),qI=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),YI=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,XI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function KI(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var l1=["POST","PUT","PATCH","DELETE"];new Set(l1);var QI=["GET",...l1];new Set(QI);var Lr=N.createContext(null);Lr.displayName="DataRouter";var ru=N.createContext(null);ru.displayName="DataRouterState";N.createContext(!1);var s1=N.createContext({isTransitioning:!1});s1.displayName="ViewTransition";var ZI=N.createContext(new Map);ZI.displayName="Fetchers";var JI=N.createContext(null);JI.displayName="Await";var Mn=N.createContext(null);Mn.displayName="Navigation";var wl=N.createContext(null);wl.displayName="Location";var la=N.createContext({outlet:null,matches:[],isDataRoute:!1});la.displayName="Route";var fh=N.createContext(null);fh.displayName="RouteError";function eD(e,{relative:n}={}){qe(Rl(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:r}=N.useContext(Mn),{hash:l,pathname:c,search:d}=Tl(e,{relative:n}),g=c;return i!=="/"&&(g=c==="/"?i:ea([i,c])),r.createHref({pathname:g,search:d,hash:l})}function Rl(){return N.useContext(wl)!=null}function Ua(){return qe(Rl(),"useLocation() may be used only in the context of a <Router> component."),N.useContext(wl).location}var c1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function u1(e){N.useContext(Mn).static||N.useLayoutEffect(e)}function d1(){let{isDataRoute:e}=N.useContext(la);return e?gD():tD()}function tD(){qe(Rl(),"useNavigate() may be used only in the context of a <Router> component.");let e=N.useContext(Lr),{basename:n,navigator:i}=N.useContext(Mn),{matches:r}=N.useContext(la),{pathname:l}=Ua(),c=JSON.stringify(r1(r)),d=N.useRef(!1);return u1(()=>{d.current=!0}),N.useCallback((h,m={})=>{if(In(d.current,c1),!d.current)return;if(typeof h=="number"){i.go(h);return}let v=o1(h,JSON.parse(c),l,m.relative==="path");e==null&&n!=="/"&&(v.pathname=v.pathname==="/"?n:ea([n,v.pathname])),(m.replace?i.replace:i.push)(v,m.state,m)},[n,i,c,l,e])}N.createContext(null);function Tl(e,{relative:n}={}){let{matches:i}=N.useContext(la),{pathname:r}=Ua(),l=JSON.stringify(r1(i));return N.useMemo(()=>o1(e,JSON.parse(l),r,n==="path"),[e,l,r,n])}function nD(e,n){return f1(e,n)}function f1(e,n,i,r){qe(Rl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=N.useContext(Mn),{matches:c}=N.useContext(la),d=c[c.length-1],g=d?d.params:{},h=d?d.pathname:"/",m=d?d.pathnameBase:"/",v=d&&d.route;{let O=v&&v.path||"";g1(h,!v||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
75
+
76
+ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let x=Ua(),b;if(n){let O=typeof n=="string"?Pr(n):n;qe(m==="/"||O.pathname?.startsWith(m),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${O.pathname}" was given in the \`location\` prop.`),b=O}else b=x;let S=b.pathname||"/",C=S;if(m!=="/"){let O=m.replace(/^\//,"").split("/");C="/"+S.replace(/^\//,"").split("/").slice(O.length).join("/")}let E=n1(e,{pathname:C});In(v||E!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),In(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=lD(E&&E.map(O=>Object.assign({},O,{params:Object.assign({},g,O.params),pathname:ea([m,l.encodeLocation?l.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?m:ea([m,l.encodeLocation?l.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),c,i,r);return n&&w?N.createElement(wl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},w):w}function aD(){let e=fD(),n=KI(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},c={padding:"2px 4px",backgroundColor:r},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=N.createElement(N.Fragment,null,N.createElement("p",null,"💿 Hey developer 👋"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:c},"ErrorBoundary")," or"," ",N.createElement("code",{style:c},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},n),i?N.createElement("pre",{style:l},i):null,d)}var iD=N.createElement(aD,null),rD=class extends N.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?N.createElement(la.Provider,{value:this.props.routeContext},N.createElement(fh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function oD({routeContext:e,match:n,children:i}){let r=N.useContext(Lr);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),N.createElement(la.Provider,{value:e},i)}function lD(e,n=[],i=null,r=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let l=e,c=i?.errors;if(c!=null){let h=l.findIndex(m=>m.route.id&&c?.[m.route.id]!==void 0);qe(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,h+1))}let d=!1,g=-1;if(i)for(let h=0;h<l.length;h++){let m=l[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(g=h),m.route.id){let{loaderData:v,errors:x}=i,b=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!x||x[m.route.id]===void 0);if(m.route.lazy||b){d=!0,g>=0?l=l.slice(0,g+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let x,b=!1,S=null,C=null;i&&(x=c&&m.route.id?c[m.route.id]:void 0,S=m.route.errorElement||iD,d&&(g<0&&v===0?(g1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,C=null):g===v&&(b=!0,C=m.route.hydrateFallbackElement||null)));let E=n.concat(l.slice(0,v+1)),w=()=>{let O;return x?O=S:b?O=C:m.route.Component?O=N.createElement(m.route.Component,null):m.route.element?O=m.route.element:O=h,N.createElement(oD,{match:m,routeContext:{outlet:h,matches:E,isDataRoute:i!=null},children:O})};return i&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?N.createElement(rD,{location:i.location,revalidation:i.revalidation,component:S,error:x,children:w(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):w()},null)}function gh(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sD(e){let n=N.useContext(Lr);return qe(n,gh(e)),n}function cD(e){let n=N.useContext(ru);return qe(n,gh(e)),n}function uD(e){let n=N.useContext(la);return qe(n,gh(e)),n}function hh(e){let n=uD(e),i=n.matches[n.matches.length-1];return qe(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function dD(){return hh("useRouteId")}function fD(){let e=N.useContext(fh),n=cD("useRouteError"),i=hh("useRouteError");return e!==void 0?e:n.errors?.[i]}function gD(){let{router:e}=sD("useNavigate"),n=hh("useNavigate"),i=N.useRef(!1);return u1(()=>{i.current=!0}),N.useCallback(async(l,c={})=>{In(i.current,c1),i.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:n,...c}))},[e,n])}var h0={};function g1(e,n,i){!n&&!h0[e]&&(h0[e]=!0,In(!1,i))}N.memo(hD);function hD({routes:e,future:n,state:i}){return f1(e,void 0,i,n)}function xr(e){qe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function mD({basename:e="/",children:n=null,location:i,navigationType:r="POP",navigator:l,static:c=!1}){qe(!Rl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),g=N.useMemo(()=>({basename:d,navigator:l,static:c,future:{}}),[d,l,c]);typeof i=="string"&&(i=Pr(i));let{pathname:h="/",search:m="",hash:v="",state:x=null,key:b="default"}=i,S=N.useMemo(()=>{let C=ra(h,d);return C==null?null:{location:{pathname:C,search:m,hash:v,state:x,key:b},navigationType:r}},[d,h,m,v,x,b,r]);return In(S!=null,`<Router basename="${d}"> is not able to match the URL "${h}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:N.createElement(Mn.Provider,{value:g},N.createElement(wl.Provider,{children:n,value:S}))}function pD({children:e,location:n}){return nD(Sg(e),n)}function Sg(e,n=[]){let i=[];return N.Children.forEach(e,(r,l)=>{if(!N.isValidElement(r))return;let c=[...n,l];if(r.type===N.Fragment){i.push.apply(i,Sg(r.props.children,c));return}qe(r.type===xr,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),qe(!r.props.index||!r.props.children,"An index route cannot have child routes.");let d={id:r.props.id||c.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(d.children=Sg(r.props.children,c)),i.push(d)}),i}var Sc="get",Ec="application/x-www-form-urlencoded";function ou(e){return e!=null&&typeof e.tagName=="string"}function vD(e){return ou(e)&&e.tagName.toLowerCase()==="button"}function bD(e){return ou(e)&&e.tagName.toLowerCase()==="form"}function yD(e){return ou(e)&&e.tagName.toLowerCase()==="input"}function xD(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SD(e,n){return e.button===0&&(!n||n==="_self")&&!xD(e)}var ic=null;function ED(){if(ic===null)try{new FormData(document.createElement("form"),0),ic=!1}catch{ic=!0}return ic}var CD=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Kf(e){return e!=null&&!CD.has(e)?(In(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ec}"`),null):e}function OD(e,n){let i,r,l,c,d;if(bD(e)){let g=e.getAttribute("action");r=g?ra(g,n):null,i=e.getAttribute("method")||Sc,l=Kf(e.getAttribute("enctype"))||Ec,c=new FormData(e)}else if(vD(e)||yD(e)&&(e.type==="submit"||e.type==="image")){let g=e.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||g.getAttribute("action");if(r=h?ra(h,n):null,i=e.getAttribute("formmethod")||g.getAttribute("method")||Sc,l=Kf(e.getAttribute("formenctype"))||Kf(g.getAttribute("enctype"))||Ec,c=new FormData(g,e),!ED()){let{name:m,type:v,value:x}=e;if(v==="image"){let b=m?`${m}.`:"";c.append(`${b}x`,"0"),c.append(`${b}y`,"0")}else m&&c.append(m,x)}}else{if(ou(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Sc,r=null,l=Ec,d=e}return c&&l==="text/plain"&&(d=c,c=void 0),{action:r,method:i.toLowerCase(),encType:l,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function mh(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function wD(e,n,i){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${i}`:n&&ra(r.pathname,n)==="/"?r.pathname=`${n.replace(/\/$/,"")}/_root.${i}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${i}`,r}async function RD(e,n){if(e.id in n)return n[e.id];try{let i=await import(e.module);return n[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function TD(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function kD(e,n,i){let r=await Promise.all(e.map(async l=>{let c=n.routes[l.route.id];if(c){let d=await RD(c,i);return d.links?d.links():[]}return[]}));return zD(r.flat(1).filter(TD).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function m0(e,n,i,r,l,c){let d=(h,m)=>i[m]?h.route.id!==i[m].route.id:!0,g=(h,m)=>i[m].pathname!==h.pathname||i[m].route.path?.endsWith("*")&&i[m].params["*"]!==h.params["*"];return c==="assets"?n.filter((h,m)=>d(h,m)||g(h,m)):c==="data"?n.filter((h,m)=>{let v=r.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(d(h,m)||g(h,m))return!0;if(h.route.shouldRevalidate){let x=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function ND(e,n,{includeHydrateFallback:i}={}){return AD(e.map(r=>{let l=n.routes[r.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function AD(e){return[...new Set(e)]}function _D(e){let n={},i=Object.keys(e).sort();for(let r of i)n[r]=e[r];return n}function zD(e,n){let i=new Set;return new Set(n),e.reduce((r,l)=>{let c=JSON.stringify(_D(l));return i.has(c)||(i.add(c),r.push({key:c,link:l})),r},[])}function h1(){let e=N.useContext(Lr);return mh(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function VD(){let e=N.useContext(ru);return mh(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var ph=N.createContext(void 0);ph.displayName="FrameworkContext";function m1(){let e=N.useContext(ph);return mh(e,"You must render this element inside a <HydratedRouter> element"),e}function ID(e,n){let i=N.useContext(ph),[r,l]=N.useState(!1),[c,d]=N.useState(!1),{onFocus:g,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:x}=n,b=N.useRef(null);N.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let E=O=>{O.forEach(z=>{d(z.isIntersecting)})},w=new IntersectionObserver(E,{threshold:.5});return b.current&&w.observe(b.current),()=>{w.disconnect()}}},[e]),N.useEffect(()=>{if(r){let E=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(E)}}},[r]);let S=()=>{l(!0)},C=()=>{l(!1),d(!1)};return i?e!=="intent"?[c,b,{}]:[c,b,{onFocus:qo(g,S),onBlur:qo(h,C),onMouseEnter:qo(m,S),onMouseLeave:qo(v,C),onTouchStart:qo(x,S)}]:[!1,b,{}]}function qo(e,n){return i=>{e&&e(i),i.defaultPrevented||n(i)}}function DD({page:e,...n}){let{router:i}=h1(),r=N.useMemo(()=>n1(i.routes,e,i.basename),[i.routes,e,i.basename]);return r?N.createElement(PD,{page:e,matches:r,...n}):null}function MD(e){let{manifest:n,routeModules:i}=m1(),[r,l]=N.useState([]);return N.useEffect(()=>{let c=!1;return kD(e,n,i).then(d=>{c||l(d)}),()=>{c=!0}},[e,n,i]),r}function PD({page:e,matches:n,...i}){let r=Ua(),{manifest:l,routeModules:c}=m1(),{basename:d}=h1(),{loaderData:g,matches:h}=VD(),m=N.useMemo(()=>m0(e,n,h,l,r,"data"),[e,n,h,l,r]),v=N.useMemo(()=>m0(e,n,h,l,r,"assets"),[e,n,h,l,r]),x=N.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let C=new Set,E=!1;if(n.forEach(O=>{let z=l.routes[O.route.id];!z||!z.hasLoader||(!m.some(k=>k.route.id===O.route.id)&&O.route.id in g&&c[O.route.id]?.shouldRevalidate||z.hasClientLoader?E=!0:C.add(O.route.id))}),C.size===0)return[];let w=wD(e,d,"data");return E&&C.size>0&&w.searchParams.set("_routes",n.filter(O=>C.has(O.route.id)).map(O=>O.route.id).join(",")),[w.pathname+w.search]},[d,g,r,l,m,n,e,c]),b=N.useMemo(()=>ND(v,l),[v,l]),S=MD(v);return N.createElement(N.Fragment,null,x.map(C=>N.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...i})),b.map(C=>N.createElement("link",{key:C,rel:"modulepreload",href:C,...i})),S.map(({key:C,link:E})=>N.createElement("link",{key:C,...E})))}function LD(...e){return n=>{e.forEach(i=>{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}var p1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{p1&&(window.__reactRouterVersion="7.7.0")}catch{}function BD({basename:e,children:n,window:i}){let r=N.useRef();r.current==null&&(r.current=TI({window:i,v5Compat:!0}));let l=r.current,[c,d]=N.useState({action:l.action,location:l.location}),g=N.useCallback(h=>{N.startTransition(()=>d(h))},[d]);return N.useLayoutEffect(()=>l.listen(g),[l,g]),N.createElement(mD,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:l})}var v1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vh=N.forwardRef(function({onClick:n,discover:i="render",prefetch:r="none",relative:l,reloadDocument:c,replace:d,state:g,target:h,to:m,preventScrollReset:v,viewTransition:x,...b},S){let{basename:C}=N.useContext(Mn),E=typeof m=="string"&&v1.test(m),w,O=!1;if(typeof m=="string"&&E&&(w=m,p1))try{let U=new URL(window.location.href),X=m.startsWith("//")?new URL(U.protocol+m):new URL(m),K=ra(X.pathname,C);X.origin===U.origin&&K!=null?m=K+X.search+X.hash:O=!0}catch{In(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let z=eD(m,{relative:l}),[k,B,_]=ID(r,b),q=FD(m,{replace:d,state:g,target:h,preventScrollReset:v,relative:l,viewTransition:x});function j(U){n&&n(U),U.defaultPrevented||q(U)}let H=N.createElement("a",{...b,..._,href:w||z,onClick:O||c?n:j,ref:LD(S,B),target:h,"data-discover":!E&&i==="render"?"true":void 0});return k&&!E?N.createElement(N.Fragment,null,H,N.createElement(DD,{page:z})):H});vh.displayName="Link";var HD=N.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:r="",end:l=!1,style:c,to:d,viewTransition:g,children:h,...m},v){let x=Tl(d,{relative:m.relative}),b=Ua(),S=N.useContext(ru),{navigator:C,basename:E}=N.useContext(Mn),w=S!=null&&YD(x)&&g===!0,O=C.encodeLocation?C.encodeLocation(x).pathname:x.pathname,z=b.pathname,k=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(z=z.toLowerCase(),k=k?k.toLowerCase():null,O=O.toLowerCase()),k&&E&&(k=ra(k,E)||k);const B=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let _=z===O||!l&&z.startsWith(O)&&z.charAt(B)==="/",q=k!=null&&(k===O||!l&&k.startsWith(O)&&k.charAt(O.length)==="/"),j={isActive:_,isPending:q,isTransitioning:w},H=_?n:void 0,U;typeof r=="function"?U=r(j):U=[r,_?"active":null,q?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let X=typeof c=="function"?c(j):c;return N.createElement(vh,{...m,"aria-current":H,className:U,ref:v,style:X,to:d,viewTransition:g},typeof h=="function"?h(j):h)});HD.displayName="NavLink";var UD=N.forwardRef(({discover:e="render",fetcherKey:n,navigate:i,reloadDocument:r,replace:l,state:c,method:d=Sc,action:g,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:x,...b},S)=>{let C=GD(),E=qD(g,{relative:m}),w=d.toLowerCase()==="get"?"get":"post",O=typeof g=="string"&&v1.test(g),z=k=>{if(h&&h(k),k.defaultPrevented)return;k.preventDefault();let B=k.nativeEvent.submitter,_=B?.getAttribute("formmethod")||d;C(B||k.currentTarget,{fetcherKey:n,method:_,navigate:i,replace:l,state:c,relative:m,preventScrollReset:v,viewTransition:x})};return N.createElement("form",{ref:S,method:w,action:E,onSubmit:r?h:z,...b,"data-discover":!O&&e==="render"?"true":void 0})});UD.displayName="Form";function jD(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function b1(e){let n=N.useContext(Lr);return qe(n,jD(e)),n}function FD(e,{target:n,replace:i,state:r,preventScrollReset:l,relative:c,viewTransition:d}={}){let g=d1(),h=Ua(),m=Tl(e,{relative:c});return N.useCallback(v=>{if(SD(v,n)){v.preventDefault();let x=i!==void 0?i:gl(h)===gl(m);g(e,{replace:x,state:r,preventScrollReset:l,relative:c,viewTransition:d})}},[h,g,m,i,r,n,e,l,c,d])}var $D=0,WD=()=>`__${String(++$D)}__`;function GD(){let{router:e}=b1("useSubmit"),{basename:n}=N.useContext(Mn),i=dD();return N.useCallback(async(r,l={})=>{let{action:c,method:d,encType:g,formData:h,body:m}=OD(r,n);if(l.navigate===!1){let v=l.fetcherKey||WD();await e.fetch(v,i,l.action||c,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||d,formEncType:l.encType||g,flushSync:l.flushSync})}else await e.navigate(l.action||c,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||d,formEncType:l.encType||g,replace:l.replace,state:l.state,fromRouteId:i,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,n,i])}function qD(e,{relative:n}={}){let{basename:i}=N.useContext(Mn),r=N.useContext(la);qe(r,"useFormAction must be used inside a RouteContext");let[l]=r.matches.slice(-1),c={...Tl(e||".",{relative:n})},d=Ua();if(e==null){c.search=d.search;let g=new URLSearchParams(c.search),h=g.getAll("index");if(h.some(v=>v==="")){g.delete("index"),h.filter(x=>x).forEach(x=>g.append("index",x));let v=g.toString();c.search=v?`?${v}`:""}}return(!e||e===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:ea([i,c.pathname])),gl(c)}function YD(e,n={}){let i=N.useContext(s1);qe(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=b1("useViewTransitionState"),l=Tl(e,{relative:n.relative});if(!i.isTransitioning)return!1;let c=ra(i.currentLocation.pathname,r)||i.currentLocation.pathname,d=ra(i.nextLocation.pathname,r)||i.nextLocation.pathname;return Mc(l.pathname,d)!=null||Mc(l.pathname,c)!=null}const XD=()=>J.jsxs(yr,{maxWidth:"sm",textAlign:"center",mt:20,children:[J.jsx(Yf,{fontSize:"6xl",fontWeight:"bold",mb:4,children:"404"}),J.jsx(Yf,{fontSize:"2xl",fontWeight:"medium",mb:2,children:"Page Not Found"}),J.jsx(Yf,{color:"fg.muted",mb:8,children:"Sorry, the page you are looking for does not exist."}),J.jsx(vI,{asChild:!0,colorPalette:"brand",size:"lg",children:J.jsx(vh,{to:"/",children:"Go to Home"})})]}),KD=N.lazy(()=>iu(()=>import("./Welcome-p4gi31Lo.js"),__vite__mapDeps([0,1,2]))),QD=N.lazy(()=>iu(()=>import("./Status-XBRD-MuK.js"),__vite__mapDeps([3,1,4]))),ZD=N.lazy(()=>iu(()=>import("./Sources-D0R-Sgwf.js"),__vite__mapDeps([5,1,6,4,2]))),JD=N.lazy(()=>iu(()=>import("./TM-DZ2x6--n.js"),__vite__mapDeps([7,1,6,4,2])));function rc(){const e=d1(),n=Ua(),i=d=>d==="/status"?"status":d==="/sources"?"sources":d==="/tm"?"tm":"home",[r,l]=N.useState(i(n.pathname));N.useEffect(()=>{l(i(n.pathname))},[n.pathname]);const c=d=>{const g=typeof d=="object"?d.value:d;console.log("Tab changing to:",g),l(g),e(g==="home"?"/":`/${g}`)};return J.jsx(yg,{minH:"100vh",bg:"gray.50",children:J.jsxs(yI,{value:r,onValueChange:c,variant:"enclosed",children:[J.jsx(yg,{bg:"white",borderBottom:"1px",borderColor:"gray.200",children:J.jsx(yr,{maxWidth:"6xl",py:3,children:J.jsxs(c0,{align:"center",justify:"space-between",children:[J.jsxs(c0,{align:"center",gap:3,children:[J.jsx("img",{src:"/logo.svg",alt:"L10n Monster",width:"32",height:"32"}),J.jsx(EI,{size:"lg",color:"gray.800",children:"L10n Monster"})]}),J.jsxs(xI,{children:[J.jsx(nc,{value:"home",children:"Home"}),J.jsx(nc,{value:"status",children:"Status"}),J.jsx(nc,{value:"sources",children:"Sources"}),J.jsx(nc,{value:"tm",children:"TM"})]})]})})}),J.jsx(ac,{value:"home",children:J.jsx(N.Suspense,{fallback:J.jsx(yr,{display:"flex",justifyContent:"center",mt:10,children:J.jsx(Zo,{size:"xl"})}),children:J.jsx(KD,{})})}),J.jsx(ac,{value:"status",children:J.jsx(N.Suspense,{fallback:J.jsx(yr,{display:"flex",justifyContent:"center",mt:10,children:J.jsx(Zo,{size:"xl"})}),children:J.jsx(QD,{})})}),J.jsx(ac,{value:"sources",children:J.jsx(N.Suspense,{fallback:J.jsx(yr,{display:"flex",justifyContent:"center",mt:10,children:J.jsx(Zo,{size:"xl"})}),children:J.jsx(ZD,{})})}),J.jsx(ac,{value:"tm",children:J.jsx(N.Suspense,{fallback:J.jsx(yr,{display:"flex",justifyContent:"center",mt:10,children:J.jsx(Zo,{size:"xl"})}),children:J.jsx(JD,{})})})]})})}function eM(){return J.jsx(BD,{children:J.jsxs(pD,{children:[J.jsx(xr,{path:"/",element:J.jsx(rc,{})}),J.jsx(xr,{path:"/status",element:J.jsx(rc,{})}),J.jsx(xr,{path:"/sources",element:J.jsx(rc,{})}),J.jsx(xr,{path:"/tm",element:J.jsx(rc,{})}),J.jsx(xr,{path:"*",element:J.jsx(XD,{})})]})})}const tM=qC.createRoot(document.getElementById("root"));tM.render(J.jsx(p0.StrictMode,{children:J.jsx(KO,{value:sI,children:J.jsx(OI,{children:J.jsx(eM,{})})})}));export{yg as B,yr as C,c0 as F,Zo as S,Yf as T,pl as a,Pa as b,dI as c,kn as d,Jo as e,J as j,M_ as m,N as r};