@l10nmonster/server 3.0.0-alpha.11 → 3.0.0-alpha.13

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.
Files changed (47) hide show
  1. package/CLAUDE.md +81 -13
  2. package/index.js +19 -2
  3. package/package.json +1 -1
  4. package/routes/dispatcher.js +17 -7
  5. package/routes/info.js +17 -16
  6. package/routes/providers.js +7 -9
  7. package/routes/sources.js +47 -9
  8. package/routes/status.js +12 -11
  9. package/routes/tm.js +89 -26
  10. package/ui/dist/assets/Cart-B_Zkvuz_.js +1 -0
  11. package/ui/dist/assets/Job-B2D10u5q.js +1 -0
  12. package/ui/dist/assets/Providers-UAlXnJQI.js +1 -0
  13. package/ui/dist/assets/Sources-DcwZBkaA.js +1 -0
  14. package/ui/dist/assets/SourcesDetail-11v96V44.js +1 -0
  15. package/ui/dist/assets/SourcesResource-CPGv3HQ8.js +1 -0
  16. package/ui/dist/assets/Status-C_qyyf2l.js +1 -0
  17. package/ui/dist/assets/StatusDetail-CXE95RTb.js +1 -0
  18. package/ui/dist/assets/TM-DIDYSCIe.js +1 -0
  19. package/ui/dist/assets/TMDetail-BmHvlsJe.js +1 -0
  20. package/ui/dist/assets/Welcome-Bd1y86xQ.js +1 -0
  21. package/ui/dist/assets/index-Dl1WS_Lc.js +1 -0
  22. package/ui/dist/assets/index-HzbF4bPY.js +2 -0
  23. package/ui/dist/assets/vendor-BVSmEsOp.js +75 -0
  24. package/ui/dist/index.html +3 -1
  25. package/ui/dist/assets/Cart-jHOAGjwC.js +0 -1
  26. package/ui/dist/assets/Job-vnJpBXcp.js +0 -1
  27. package/ui/dist/assets/Providers-DUp_y6mi.js +0 -1
  28. package/ui/dist/assets/Sources-CC5dBiir.js +0 -1
  29. package/ui/dist/assets/Status-SRPm28Cg.js +0 -1
  30. package/ui/dist/assets/StatusDetail-DqXzi16U.js +0 -1
  31. package/ui/dist/assets/TM-CUqywRKC.js +0 -1
  32. package/ui/dist/assets/TMDetail-Bl4xHL_X.js +0 -1
  33. package/ui/dist/assets/Welcome-D33rOKBc.js +0 -1
  34. package/ui/dist/assets/api-CQ_emPlI.js +0 -1
  35. package/ui/dist/assets/badge-D0XxOmqE.js +0 -1
  36. package/ui/dist/assets/grid-c9ySqPWI.js +0 -1
  37. package/ui/dist/assets/index-BHll-Wur.js +0 -1
  38. package/ui/dist/assets/index-CE6JgXwC.js +0 -76
  39. package/ui/dist/assets/input-C_b-hL0i.js +0 -1
  40. package/ui/dist/assets/link-BJrTt4Ej.js +0 -1
  41. package/ui/dist/assets/namespace-DqVzlNZ0.js +0 -1
  42. package/ui/dist/assets/select-B7OxVhQ5.js +0 -1
  43. package/ui/dist/assets/tooltip-DsbPmc5I.js +0 -1
  44. package/ui/dist/assets/use-field-context-DPgnX2eS.js +0 -1
  45. package/ui/dist/assets/use-presence-context-w7qGDwCc.js +0 -1
  46. package/ui/dist/assets/useQuery-DJATtsyt.js +0 -1
  47. package/ui/dist/assets/v-stack-BLV93Nj6.js +0 -1
@@ -1,76 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Welcome-D33rOKBc.js","assets/namespace-DqVzlNZ0.js","assets/api-CQ_emPlI.js","assets/badge-D0XxOmqE.js","assets/grid-c9ySqPWI.js","assets/v-stack-BLV93Nj6.js","assets/useQuery-DJATtsyt.js","assets/Status-SRPm28Cg.js","assets/link-BJrTt4Ej.js","assets/index-BHll-Wur.js","assets/use-field-context-DPgnX2eS.js","assets/tooltip-DsbPmc5I.js","assets/use-presence-context-w7qGDwCc.js","assets/StatusDetail-DqXzi16U.js","assets/input-C_b-hL0i.js","assets/Sources-CC5dBiir.js","assets/TM-CUqywRKC.js","assets/select-B7OxVhQ5.js","assets/TMDetail-Bl4xHL_X.js","assets/Providers-DUp_y6mi.js","assets/Cart-jHOAGjwC.js","assets/Job-vnJpBXcp.js"])))=>i.map(i=>d[i]);
2
- function zO(e,n){for(var a=0;a<n.length;a++){const r=n[a];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 a(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=a(l);fetch(l.href,c)}})();function Wh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _f={exports:{}},Ko={};/**
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 IO(){if(Lb)return Ko;Lb=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function a(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 f in l)f!=="key"&&(c[f]=l[f])}else c=l;return l=c.ref,{$$typeof:e,type:r,key:d,ref:l!==void 0?l:null,props:c}}return Ko.Fragment=n,Ko.jsx=a,Ko.jsxs=a,Ko}var Bb;function VO(){return Bb||(Bb=1,_f.exports=IO()),_f.exports}var J=VO(),zf={exports:{}},be={};/**
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 Hb;function DO(){if(Hb)return be;Hb=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=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"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.iterator;function b(k){return k===null||typeof k!="object"?null:(k=y&&k[y]||k["@@iterator"],typeof k=="function"?k:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function w(k,W,ne){this.props=k,this.context=W,this.refs=E,this.updater=ne||S}w.prototype.isReactComponent={},w.prototype.setState=function(k,W){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,W,"setState")},w.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function N(){}N.prototype=w.prototype;function T(k,W,ne){this.props=k,this.context=W,this.refs=E,this.updater=ne||S}var R=T.prototype=new N;R.constructor=T,C(R,w.prototype),R.isPureReactComponent=!0;var F=Array.isArray,A={H:null,A:null,T:null,S:null,V:null},Y=Object.prototype.hasOwnProperty;function U(k,W,ne,ee,le,ye){return ne=ye.ref,{$$typeof:e,type:k,key:W,ref:ne!==void 0?ne:null,props:ye}}function z(k,W){return U(k.type,W,void 0,void 0,void 0,k.props)}function M(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function $(k){var W={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ne){return W[ne]})}var ae=/\/+/g;function te(k,W){return typeof k=="object"&&k!==null&&k.key!=null?$(""+k.key):W.toString(36)}function we(){}function Ee(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(we,we):(k.status="pending",k.then(function(W){k.status==="pending"&&(k.status="fulfilled",k.value=W)},function(W){k.status==="pending"&&(k.status="rejected",k.reason=W)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function ce(k,W,ne,ee,le){var ye=typeof k;(ye==="undefined"||ye==="boolean")&&(k=null);var ge=!1;if(k===null)ge=!0;else switch(ye){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(k.$$typeof){case e:case n:ge=!0;break;case m:return ge=k._init,ce(ge(k._payload),W,ne,ee,le)}}if(ge)return le=le(k),ge=ee===""?"."+te(k,0):ee,F(le)?(ne="",ge!=null&&(ne=ge.replace(ae,"$&/")+"/"),ce(le,W,ne,"",function(Z){return Z})):le!=null&&(M(le)&&(le=z(le,ne+(le.key==null||k&&k.key===le.key?"":(""+le.key).replace(ae,"$&/")+"/")+ge)),W.push(le)),1;ge=0;var Rt=ee===""?".":ee+":";if(F(k))for(var X=0;X<k.length;X++)ee=k[X],ye=Rt+te(ee,X),ge+=ce(ee,W,ne,ye,le);else if(X=b(k),typeof X=="function")for(k=X.call(k),X=0;!(ee=k.next()).done;)ee=ee.value,ye=Rt+te(ee,X++),ge+=ce(ee,W,ne,ye,le);else if(ye==="object"){if(typeof k.then=="function")return ce(Ee(k),W,ne,ee,le);throw W=String(k),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return ge}function H(k,W,ne){if(k==null)return k;var ee=[],le=0;return ce(k,ee,"","",function(ye){return W.call(ne,ye,le++)}),ee}function Q(k){if(k._status===-1){var W=k._result;W=W(),W.then(function(ne){(k._status===0||k._status===-1)&&(k._status=1,k._result=ne)},function(ne){(k._status===0||k._status===-1)&&(k._status=2,k._result=ne)}),k._status===-1&&(k._status=0,k._result=W)}if(k._status===1)return k._result.default;throw k._result}var re=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(W))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)};function ie(){}return be.Children={map:H,forEach:function(k,W,ne){H(k,function(){W.apply(this,arguments)},ne)},count:function(k){var W=0;return H(k,function(){W++}),W},toArray:function(k){return H(k,function(W){return W})||[]},only:function(k){if(!M(k))throw Error("React.Children.only expected to receive a single React element child.");return k}},be.Component=w,be.Fragment=a,be.Profiler=l,be.PureComponent=T,be.StrictMode=r,be.Suspense=g,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,be.__COMPILER_RUNTIME={__proto__:null,c:function(k){return A.H.useMemoCache(k)}},be.cache=function(k){return function(){return k.apply(null,arguments)}},be.cloneElement=function(k,W,ne){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var ee=C({},k.props),le=k.key,ye=void 0;if(W!=null)for(ge in W.ref!==void 0&&(ye=void 0),W.key!==void 0&&(le=""+W.key),W)!Y.call(W,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&W.ref===void 0||(ee[ge]=W[ge]);var ge=arguments.length-2;if(ge===1)ee.children=ne;else if(1<ge){for(var Rt=Array(ge),X=0;X<ge;X++)Rt[X]=arguments[X+2];ee.children=Rt}return U(k.type,le,void 0,void 0,ye,ee)},be.createContext=function(k){return k={$$typeof:d,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:c,_context:k},k},be.createElement=function(k,W,ne){var ee,le={},ye=null;if(W!=null)for(ee in W.key!==void 0&&(ye=""+W.key),W)Y.call(W,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(le[ee]=W[ee]);var ge=arguments.length-2;if(ge===1)le.children=ne;else if(1<ge){for(var Rt=Array(ge),X=0;X<ge;X++)Rt[X]=arguments[X+2];le.children=Rt}if(k&&k.defaultProps)for(ee in ge=k.defaultProps,ge)le[ee]===void 0&&(le[ee]=ge[ee]);return U(k,ye,void 0,void 0,null,le)},be.createRef=function(){return{current:null}},be.forwardRef=function(k){return{$$typeof:f,render:k}},be.isValidElement=M,be.lazy=function(k){return{$$typeof:m,_payload:{_status:-1,_result:k},_init:Q}},be.memo=function(k,W){return{$$typeof:p,type:k,compare:W===void 0?null:W}},be.startTransition=function(k){var W=A.T,ne={};A.T=ne;try{var ee=k(),le=A.S;le!==null&&le(ne,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(ie,re)}catch(ye){re(ye)}finally{A.T=W}},be.unstable_useCacheRefresh=function(){return A.H.useCacheRefresh()},be.use=function(k){return A.H.use(k)},be.useActionState=function(k,W,ne){return A.H.useActionState(k,W,ne)},be.useCallback=function(k,W){return A.H.useCallback(k,W)},be.useContext=function(k){return A.H.useContext(k)},be.useDebugValue=function(){},be.useDeferredValue=function(k,W){return A.H.useDeferredValue(k,W)},be.useEffect=function(k,W,ne){var ee=A.H;if(typeof ne=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ee.useEffect(k,W)},be.useId=function(){return A.H.useId()},be.useImperativeHandle=function(k,W,ne){return A.H.useImperativeHandle(k,W,ne)},be.useInsertionEffect=function(k,W){return A.H.useInsertionEffect(k,W)},be.useLayoutEffect=function(k,W){return A.H.useLayoutEffect(k,W)},be.useMemo=function(k,W){return A.H.useMemo(k,W)},be.useOptimistic=function(k,W){return A.H.useOptimistic(k,W)},be.useReducer=function(k,W,ne){return A.H.useReducer(k,W,ne)},be.useRef=function(k){return A.H.useRef(k)},be.useState=function(k){return A.H.useState(k)},be.useSyncExternalStore=function(k,W,ne){return A.H.useSyncExternalStore(k,W,ne)},be.useTransition=function(){return A.H.useTransition()},be.version="19.1.1",be}var Fb;function qh(){return Fb||(Fb=1,zf.exports=DO()),zf.exports}var D=qh();const ix=Wh(D),Ub=zO({__proto__:null,default:ix},[D]);var If={exports:{}},Qo={},Vf={exports:{}},Df={};/**
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 jb;function PO(){return jb||(jb=1,(function(e){function n(H,Q){var re=H.length;H.push(Q);e:for(;0<re;){var ie=re-1>>>1,k=H[ie];if(0<l(k,Q))H[ie]=Q,H[re]=k,re=ie;else break e}}function a(H){return H.length===0?null:H[0]}function r(H){if(H.length===0)return null;var Q=H[0],re=H.pop();if(re!==Q){H[0]=re;e:for(var ie=0,k=H.length,W=k>>>1;ie<W;){var ne=2*(ie+1)-1,ee=H[ne],le=ne+1,ye=H[le];if(0>l(ee,re))le<k&&0>l(ye,ee)?(H[ie]=ye,H[le]=re,ie=le):(H[ie]=ee,H[ne]=re,ie=ne);else if(le<k&&0>l(ye,re))H[ie]=ye,H[le]=re,ie=le;else break e}}return Q}function l(H,Q){var re=H.sortIndex-Q.sortIndex;return re!==0?re:H.id-Q.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,f=d.now();e.unstable_now=function(){return d.now()-f}}var g=[],p=[],m=1,y=null,b=3,S=!1,C=!1,E=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var Q=a(p);Q!==null;){if(Q.callback===null)r(p);else if(Q.startTime<=H)r(p),Q.sortIndex=Q.expirationTime,n(g,Q);else break;Q=a(p)}}function A(H){if(E=!1,F(H),!C)if(a(g)!==null)C=!0,Y||(Y=!0,te());else{var Q=a(p);Q!==null&&ce(A,Q.startTime-H)}}var Y=!1,U=-1,z=5,M=-1;function $(){return w?!0:!(e.unstable_now()-M<z)}function ae(){if(w=!1,Y){var H=e.unstable_now();M=H;var Q=!0;try{e:{C=!1,E&&(E=!1,T(U),U=-1),S=!0;var re=b;try{t:{for(F(H),y=a(g);y!==null&&!(y.expirationTime>H&&$());){var ie=y.callback;if(typeof ie=="function"){y.callback=null,b=y.priorityLevel;var k=ie(y.expirationTime<=H);if(H=e.unstable_now(),typeof k=="function"){y.callback=k,F(H),Q=!0;break t}y===a(g)&&r(g),F(H)}else r(g);y=a(g)}if(y!==null)Q=!0;else{var W=a(p);W!==null&&ce(A,W.startTime-H),Q=!1}}break e}finally{y=null,b=re,S=!1}Q=void 0}}finally{Q?te():Y=!1}}}var te;if(typeof R=="function")te=function(){R(ae)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,Ee=we.port2;we.port1.onmessage=ae,te=function(){Ee.postMessage(null)}}else te=function(){N(ae,0)};function ce(H,Q){U=N(function(){H(e.unstable_now())},Q)}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(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(H){switch(b){case 1:case 2:case 3:var Q=3;break;default:Q=b}var re=b;b=Q;try{return H()}finally{b=re}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(H,Q){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var re=b;b=H;try{return Q()}finally{b=re}},e.unstable_scheduleCallback=function(H,Q,re){var ie=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?ie+re:ie):re=ie,H){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=re+k,H={id:m++,callback:Q,priorityLevel:H,startTime:re,expirationTime:k,sortIndex:-1},re>ie?(H.sortIndex=re,n(p,H),a(g)===null&&H===a(p)&&(E?(T(U),U=-1):E=!0,ce(A,re-ie))):(H.sortIndex=k,n(g,H),C||S||(C=!0,Y||(Y=!0,te()))),H},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(H){var Q=b;return function(){var re=b;b=Q;try{return H.apply(this,arguments)}finally{b=re}}}})(Df)),Df}var $b;function MO(){return $b||($b=1,Vf.exports=PO()),Vf.exports}var Pf={exports:{}},kt={};/**
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 Gb;function LO(){if(Gb)return kt;Gb=1;var e=qh();function n(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(n(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(g,p,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:g,containerInfo:p,implementation:m}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,kt.createPortal=function(g,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return c(g,p,null,m)},kt.flushSync=function(g){var p=d.T,m=r.p;try{if(d.T=null,r.p=2,g)return g()}finally{d.T=p,r.p=m,r.d.f()}},kt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(g,p))},kt.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},kt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var m=p.as,y=f(m,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?r.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:S}):m==="script"&&r.d.X(g,{crossOrigin:y,integrity:b,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},kt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=f(p.as,p.crossOrigin);r.d.M(g,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(g)},kt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,y=f(m,p.crossOrigin);r.d.L(g,m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},kt.preloadModule=function(g,p){if(typeof g=="string")if(p){var m=f(p.as,p.crossOrigin);r.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(g)},kt.requestFormReset=function(g){r.d.r(g)},kt.unstable_batchedUpdates=function(g,p){return g(p)},kt.useFormState=function(g,p,m){return d.H.useFormState(g,p,m)},kt.useFormStatus=function(){return d.H.useHostTransitionStatus()},kt.version="19.1.1",kt}var Wb;function BO(){if(Wb)return Pf.exports;Wb=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(),Pf.exports=LO(),Pf.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 qb;function HO(){if(qb)return Qo;qb=1;var e=MO(),n=qh(),a=BO();function r(t){var i="https://react.dev/errors/"+t;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)i+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+t+"; visit "+i+" 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 i=t,o=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,(i.flags&4098)!==0&&(o=i.return),t=i.return;while(t)}return i.tag===3?o:null}function d(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function f(t){if(c(t)!==t)throw Error(r(188))}function g(t){var i=t.alternate;if(!i){if(i=c(t),i===null)throw Error(r(188));return i!==t?null:t}for(var o=t,s=i;;){var u=o.return;if(u===null)break;var h=u.alternate;if(h===null){if(s=u.return,s!==null){o=s;continue}break}if(u.child===h.child){for(h=u.child;h;){if(h===o)return f(u),t;if(h===s)return f(u),i;h=h.sibling}throw Error(r(188))}if(o.return!==s.return)o=u,s=h;else{for(var v=!1,x=u.child;x;){if(x===o){v=!0,o=u,s=h;break}if(x===s){v=!0,s=u,o=h;break}x=x.sibling}if(!v){for(x=h.child;x;){if(x===o){v=!0,o=h,s=u;break}if(x===s){v=!0,s=h,o=u;break}x=x.sibling}if(!v)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:i}function p(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t;for(t=t.child;t!==null;){if(i=p(t),i!==null)return i;t=t.sibling}return null}var m=Object.assign,y=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"),N=Symbol.for("react.provider"),T=Symbol.for("react.consumer"),R=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function te(t){return t===null||typeof t!="object"?null:(t=ae&&t[ae]||t["@@iterator"],typeof t=="function"?t:null)}var we=Symbol.for("react.client.reference");function Ee(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===we?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 A:return"Suspense";case Y:return"SuspenseList";case M:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case S:return"Portal";case R:return(t.displayName||"Context")+".Provider";case T:return(t._context.displayName||"Context")+".Consumer";case F:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case U:return i=t.displayName||null,i!==null?i:Ee(t.type)||"Memo";case z:i=t._payload,t=t._init;try{return Ee(t(i))}catch{}}return null}var ce=Array.isArray,H=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},ie=[],k=-1;function W(t){return{current:t}}function ne(t){0>k||(t.current=ie[k],ie[k]=null,k--)}function ee(t,i){k++,ie[k]=t.current,t.current=i}var le=W(null),ye=W(null),ge=W(null),Rt=W(null);function X(t,i){switch(ee(ge,i),ee(ye,t),ee(le,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?fb(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=fb(i),t=hb(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ne(le),ee(le,t)}function Z(){ne(le),ne(ye),ne(ge)}function Ce(t){t.memoizedState!==null&&ee(Rt,t);var i=le.current,o=hb(i,t.type);i!==o&&(ee(ye,t),ee(le,o))}function Ie(t){ye.current===t&&(ne(le),ne(ye)),Rt.current===t&&(ne(Rt),Go._currentValue=re)}var qe=Object.prototype.hasOwnProperty,Je=e.unstable_scheduleCallback,Ut=e.unstable_cancelCallback,Pa=e.unstable_shouldYield,Kr=e.unstable_requestPaint,rn=e.unstable_now,bu=e.unstable_getCurrentPriorityLevel,Qr=e.unstable_ImmediatePriority,Pl=e.unstable_UserBlockingPriority,ta=e.unstable_NormalPriority,Ml=e.unstable_LowPriority,Ma=e.unstable_IdlePriority,gE=e.log,pE=e.unstable_setDisableYieldValue,Zr=null,jt=null;function Si(t){if(typeof gE=="function"&&pE(t),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(Zr,t)}catch{}}var $t=Math.clz32?Math.clz32:bE,mE=Math.log,vE=Math.LN2;function bE(t){return t>>>=0,t===0?32:31-(mE(t)/vE|0)|0}var Ll=256,Bl=4194304;function na(t){var i=t&42;if(i!==0)return i;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 Hl(t,i,o){var s=t.pendingLanes;if(s===0)return 0;var u=0,h=t.suspendedLanes,v=t.pingedLanes;t=t.warmLanes;var x=s&134217727;return x!==0?(s=x&~h,s!==0?u=na(s):(v&=x,v!==0?u=na(v):o||(o=x&~t,o!==0&&(u=na(o))))):(x=s&~h,x!==0?u=na(x):v!==0?u=na(v):o||(o=s&~t,o!==0&&(u=na(o)))),u===0?0:i!==0&&i!==u&&(i&h)===0&&(h=u&-u,o=i&-i,h>=o||h===32&&(o&4194048)!==0)?i:u}function Jr(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function yE(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Xg(){var t=Ll;return Ll<<=1,(Ll&4194048)===0&&(Ll=256),t}function Kg(){var t=Bl;return Bl<<=1,(Bl&62914560)===0&&(Bl=4194304),t}function yu(t){for(var i=[],o=0;31>o;o++)i.push(t);return i}function eo(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function xE(t,i,o,s,u,h){var v=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 x=t.entanglements,O=t.expirationTimes,P=t.hiddenUpdates;for(o=v&~o;0<o;){var j=31-$t(o),q=1<<j;x[j]=0,O[j]=-1;var L=P[j];if(L!==null)for(P[j]=null,j=0;j<L.length;j++){var B=L[j];B!==null&&(B.lane&=-536870913)}o&=~q}s!==0&&Qg(t,s,0),h!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=h&~(v&~i))}function Qg(t,i,o){t.pendingLanes|=i,t.suspendedLanes&=~i;var s=31-$t(i);t.entangledLanes|=i,t.entanglements[s]=t.entanglements[s]|1073741824|o&4194090}function Zg(t,i){var o=t.entangledLanes|=i;for(t=t.entanglements;o;){var s=31-$t(o),u=1<<s;u&i|t[s]&i&&(t[s]|=i),o&=~u}}function xu(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 Su(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Jg(){var t=Q.p;return t!==0?t:(t=window.event,t===void 0?32:zb(t.type))}function SE(t,i){var o=Q.p;try{return Q.p=t,i()}finally{Q.p=o}}var Ei=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Ei,It="__reactProps$"+Ei,La="__reactContainer$"+Ei,Eu="__reactEvents$"+Ei,EE="__reactListeners$"+Ei,CE="__reactHandles$"+Ei,ep="__reactResources$"+Ei,to="__reactMarker$"+Ei;function Cu(t){delete t[Ot],delete t[It],delete t[Eu],delete t[EE],delete t[CE]}function Ba(t){var i=t[Ot];if(i)return i;for(var o=t.parentNode;o;){if(i=o[La]||o[Ot]){if(o=i.alternate,i.child!==null||o!==null&&o.child!==null)for(t=vb(t);t!==null;){if(o=t[Ot])return o;t=vb(t)}return i}t=o,o=t.parentNode}return null}function Ha(t){if(t=t[Ot]||t[La]){var i=t.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return t}return null}function no(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t.stateNode;throw Error(r(33))}function Fa(t){var i=t[ep];return i||(i=t[ep]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ft(t){t[to]=!0}var tp=new Set,np={};function ia(t,i){Ua(t,i),Ua(t+"Capture",i)}function Ua(t,i){for(np[t]=i,t=0;t<i.length;t++)tp.add(i[t])}var OE=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]*$"),ip={},ap={};function wE(t){return qe.call(ap,t)?!0:qe.call(ip,t)?!1:OE.test(t)?ap[t]=!0:(ip[t]=!0,!1)}function Fl(t,i,o){if(wE(i))if(o===null)t.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":t.removeAttribute(i);return;case"boolean":var s=i.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(i);return}}t.setAttribute(i,""+o)}}function Ul(t,i,o){if(o===null)t.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttribute(i,""+o)}}function Yn(t,i,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(i,o,""+s)}}var Ou,rp;function ja(t){if(Ou===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);Ou=i&&i[1]||"",rp=-1<o.stack.indexOf(`
43
- at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
44
- `+Ou+t+rp}var wu=!1;function ku(t,i){if(!t||wu)return"";wu=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(i){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(B){var L=B}Reflect.construct(t,[],q)}else{try{q.call()}catch(B){L=B}t.call(q.prototype)}}else{try{throw Error()}catch(B){L=B}(q=t())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.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 h=s.DetermineComponentFrameRoot(),v=h[0],x=h[1];if(v&&x){var O=v.split(`
45
- `),P=x.split(`
46
- `);for(u=s=0;s<O.length&&!O[s].includes("DetermineComponentFrameRoot");)s++;for(;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;if(s===O.length||u===P.length)for(s=O.length-1,u=P.length-1;1<=s&&0<=u&&O[s]!==P[u];)u--;for(;1<=s&&0<=u;s--,u--)if(O[s]!==P[u]){if(s!==1||u!==1)do if(s--,u--,0>u||O[s]!==P[u]){var j=`
47
- `+O[s].replace(" at new "," at ");return t.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",t.displayName)),j}while(1<=s&&0<=u);break}}}finally{wu=!1,Error.prepareStackTrace=o}return(o=t?t.displayName||t.name:"")?ja(o):""}function kE(t){switch(t.tag){case 26:case 27:case 5:return ja(t.type);case 16:return ja("Lazy");case 13:return ja("Suspense");case 19:return ja("SuspenseList");case 0:case 15:return ku(t.type,!1);case 11:return ku(t.type.render,!1);case 1:return ku(t.type,!0);case 31:return ja("Activity");default:return""}}function op(t){try{var i="";do i+=kE(t),t=t.return;while(t);return i}catch(o){return`
48
- Error generating stack: `+o.message+`
49
- `+o.stack}}function on(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function lp(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function TE(t){var i=lp(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,i),s=""+t[i];if(!t.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,h=o.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return u.call(this)},set:function(v){s=""+v,h.call(this,v)}}),Object.defineProperty(t,i,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(v){s=""+v},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function jl(t){t._valueTracker||(t._valueTracker=TE(t))}function sp(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var o=i.getValue(),s="";return t&&(s=lp(t)?t.checked?"true":"false":t.value),t=s,t!==o?(i.setValue(t),!0):!1}function $l(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 RE=/[\n"\\]/g;function ln(t){return t.replace(RE,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Tu(t,i,o,s,u,h,v,x){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),i!=null?v==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+on(i)):t.value!==""+on(i)&&(t.value=""+on(i)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),i!=null?Ru(t,v,on(i)):o!=null?Ru(t,v,on(o)):s!=null&&t.removeAttribute("value"),u==null&&h!=null&&(t.defaultChecked=!!h),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.name=""+on(x):t.removeAttribute("name")}function cp(t,i,o,s,u,h,v,x){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),i!=null||o!=null){if(!(h!=="submit"&&h!=="reset"||i!=null))return;o=o!=null?""+on(o):"",i=i!=null?""+on(i):o,x||i===t.value||(t.value=i),t.defaultValue=i}s=s??u,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=x?t.checked:!!s,t.defaultChecked=!!s,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v)}function Ru(t,i,o){i==="number"&&$l(t.ownerDocument)===t||t.defaultValue===""+o||(t.defaultValue=""+o)}function $a(t,i,o,s){if(t=t.options,i){i={};for(var u=0;u<o.length;u++)i["$"+o[u]]=!0;for(o=0;o<t.length;o++)u=i.hasOwnProperty("$"+t[o].value),t[o].selected!==u&&(t[o].selected=u),u&&s&&(t[o].defaultSelected=!0)}else{for(o=""+on(o),i=null,u=0;u<t.length;u++){if(t[u].value===o){t[u].selected=!0,s&&(t[u].defaultSelected=!0);return}i!==null||t[u].disabled||(i=t[u])}i!==null&&(i.selected=!0)}}function up(t,i,o){if(i!=null&&(i=""+on(i),i!==t.value&&(t.value=i),o==null)){t.defaultValue!==i&&(t.defaultValue=i);return}t.defaultValue=o!=null?""+on(o):""}function dp(t,i,o,s){if(i==null){if(s!=null){if(o!=null)throw Error(r(92));if(ce(s)){if(1<s.length)throw Error(r(93));s=s[0]}o=s}o==null&&(o=""),i=o}o=on(i),t.defaultValue=o,s=t.textContent,s===o&&s!==""&&s!==null&&(t.value=s)}function Ga(t,i){if(i){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=i;return}}t.textContent=i}var NE=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 fp(t,i,o){var s=i.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?s?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="":s?t.setProperty(i,o):typeof o!="number"||o===0||NE.has(i)?i==="float"?t.cssFloat=o:t[i]=(""+o).trim():t[i]=o+"px"}function hp(t,i,o){if(i!=null&&typeof i!="object")throw Error(r(62));if(t=t.style,o!=null){for(var s in o)!o.hasOwnProperty(s)||i!=null&&i.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var u in i)s=i[u],i.hasOwnProperty(u)&&o[u]!==s&&fp(t,u,s)}else for(var h in i)i.hasOwnProperty(h)&&fp(t,h,i[h])}function Nu(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 AE=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"]]),_E=/^[\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 Gl(t){return _E.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Au=null;function _u(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Wa=null,qa=null;function gp(t){var i=Ha(t);if(i&&(t=i.stateNode)){var o=t[It]||null;e:switch(t=i.stateNode,i.type){case"input":if(Tu(t,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),i=o.name,o.type==="radio"&&i!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ln(""+i)+'"][type="radio"]'),i=0;i<o.length;i++){var s=o[i];if(s!==t&&s.form===t.form){var u=s[It]||null;if(!u)throw Error(r(90));Tu(s,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(i=0;i<o.length;i++)s=o[i],s.form===t.form&&sp(s)}break e;case"textarea":up(t,o.value,o.defaultValue);break e;case"select":i=o.value,i!=null&&$a(t,!!o.multiple,i,!1)}}}var zu=!1;function pp(t,i,o){if(zu)return t(i,o);zu=!0;try{var s=t(i);return s}finally{if(zu=!1,(Wa!==null||qa!==null)&&(As(),Wa&&(i=Wa,t=qa,qa=Wa=null,gp(i),t)))for(i=0;i<t.length;i++)gp(t[i])}}function io(t,i){var o=t.stateNode;if(o===null)return null;var s=o[It]||null;if(s===null)return null;o=s[i];e:switch(i){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,i,typeof o));return o}var Xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Iu=!1;if(Xn)try{var ao={};Object.defineProperty(ao,"passive",{get:function(){Iu=!0}}),window.addEventListener("test",ao,ao),window.removeEventListener("test",ao,ao)}catch{Iu=!1}var Ci=null,Vu=null,Wl=null;function mp(){if(Wl)return Wl;var t,i=Vu,o=i.length,s,u="value"in Ci?Ci.value:Ci.textContent,h=u.length;for(t=0;t<o&&i[t]===u[t];t++);var v=o-t;for(s=1;s<=v&&i[o-s]===u[h-s];s++);return Wl=u.slice(t,1<s?1-s:void 0)}function ql(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}function Yl(){return!0}function vp(){return!1}function Vt(t){function i(o,s,u,h,v){this._reactName=o,this._targetInst=u,this.type=s,this.nativeEvent=h,this.target=v,this.currentTarget=null;for(var x in t)t.hasOwnProperty(x)&&(o=t[x],this[x]=o?o(h):h[x]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Yl:vp,this.isPropagationStopped=vp,this}return m(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Yl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Yl)},persist:function(){},isPersistent:Yl}),i}var aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xl=Vt(aa),ro=m({},aa,{view:0,detail:0}),zE=Vt(ro),Du,Pu,oo,Kl=m({},ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lu,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!==oo&&(oo&&t.type==="mousemove"?(Du=t.screenX-oo.screenX,Pu=t.screenY-oo.screenY):Pu=Du=0,oo=t),Du)},movementY:function(t){return"movementY"in t?t.movementY:Pu}}),bp=Vt(Kl),IE=m({},Kl,{dataTransfer:0}),VE=Vt(IE),DE=m({},ro,{relatedTarget:0}),Mu=Vt(DE),PE=m({},aa,{animationName:0,elapsedTime:0,pseudoElement:0}),ME=Vt(PE),LE=m({},aa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),BE=Vt(LE),HE=m({},aa,{data:0}),yp=Vt(HE),FE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},UE={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"},jE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $E(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=jE[t])?!!i[t]:!1}function Lu(){return $E}var GE=m({},ro,{key:function(t){if(t.key){var i=FE[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=ql(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?UE[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lu,charCode:function(t){return t.type==="keypress"?ql(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ql(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),WE=Vt(GE),qE=m({},Kl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xp=Vt(qE),YE=m({},ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lu}),XE=Vt(YE),KE=m({},aa,{propertyName:0,elapsedTime:0,pseudoElement:0}),QE=Vt(KE),ZE=m({},Kl,{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}),JE=Vt(ZE),eC=m({},aa,{newState:0,oldState:0}),tC=Vt(eC),nC=[9,13,27,32],Bu=Xn&&"CompositionEvent"in window,lo=null;Xn&&"documentMode"in document&&(lo=document.documentMode);var iC=Xn&&"TextEvent"in window&&!lo,Sp=Xn&&(!Bu||lo&&8<lo&&11>=lo),Ep=" ",Cp=!1;function Op(t,i){switch(t){case"keyup":return nC.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ya=!1;function aC(t,i){switch(t){case"compositionend":return wp(i);case"keypress":return i.which!==32?null:(Cp=!0,Ep);case"textInput":return t=i.data,t===Ep&&Cp?null:t;default:return null}}function rC(t,i){if(Ya)return t==="compositionend"||!Bu&&Op(t,i)?(t=mp(),Wl=Vu=Ci=null,Ya=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Sp&&i.locale!=="ko"?null:i.data;default:return null}}var oC={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 kp(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!oC[t.type]:i==="textarea"}function Tp(t,i,o,s){Wa?qa?qa.push(s):qa=[s]:Wa=s,i=Ps(i,"onChange"),0<i.length&&(o=new Xl("onChange","change",null,o,s),t.push({event:o,listeners:i}))}var so=null,co=null;function lC(t){lb(t,0)}function Ql(t){var i=no(t);if(sp(i))return t}function Rp(t,i){if(t==="change")return i}var Np=!1;if(Xn){var Hu;if(Xn){var Fu="oninput"in document;if(!Fu){var Ap=document.createElement("div");Ap.setAttribute("oninput","return;"),Fu=typeof Ap.oninput=="function"}Hu=Fu}else Hu=!1;Np=Hu&&(!document.documentMode||9<document.documentMode)}function _p(){so&&(so.detachEvent("onpropertychange",zp),co=so=null)}function zp(t){if(t.propertyName==="value"&&Ql(co)){var i=[];Tp(i,co,t,_u(t)),pp(lC,i)}}function sC(t,i,o){t==="focusin"?(_p(),so=i,co=o,so.attachEvent("onpropertychange",zp)):t==="focusout"&&_p()}function cC(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ql(co)}function uC(t,i){if(t==="click")return Ql(i)}function dC(t,i){if(t==="input"||t==="change")return Ql(i)}function fC(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}var Gt=typeof Object.is=="function"?Object.is:fC;function uo(t,i){if(Gt(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var o=Object.keys(t),s=Object.keys(i);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var u=o[s];if(!qe.call(i,u)||!Gt(t[u],i[u]))return!1}return!0}function Ip(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Vp(t,i){var o=Ip(t);t=0;for(var s;o;){if(o.nodeType===3){if(s=t+o.textContent.length,t<=i&&s>=i)return{node:o,offset:i-t};t=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Ip(o)}}function Dp(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Dp(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function Pp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=$l(t.document);i instanceof t.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}if(o)t=i.contentWindow;else break;i=$l(t.document)}return i}function Uu(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}var hC=Xn&&"documentMode"in document&&11>=document.documentMode,Xa=null,ju=null,fo=null,$u=!1;function Mp(t,i,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;$u||Xa==null||Xa!==$l(s)||(s=Xa,"selectionStart"in s&&Uu(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}),fo&&uo(fo,s)||(fo=s,s=Ps(ju,"onSelect"),0<s.length&&(i=new Xl("onSelect","select",null,i,o),t.push({event:i,listeners:s}),i.target=Xa)))}function ra(t,i){var o={};return o[t.toLowerCase()]=i.toLowerCase(),o["Webkit"+t]="webkit"+i,o["Moz"+t]="moz"+i,o}var Ka={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionrun:ra("Transition","TransitionRun"),transitionstart:ra("Transition","TransitionStart"),transitioncancel:ra("Transition","TransitionCancel"),transitionend:ra("Transition","TransitionEnd")},Gu={},Lp={};Xn&&(Lp=document.createElement("div").style,"AnimationEvent"in window||(delete Ka.animationend.animation,delete Ka.animationiteration.animation,delete Ka.animationstart.animation),"TransitionEvent"in window||delete Ka.transitionend.transition);function oa(t){if(Gu[t])return Gu[t];if(!Ka[t])return t;var i=Ka[t],o;for(o in i)if(i.hasOwnProperty(o)&&o in Lp)return Gu[t]=i[o];return t}var Bp=oa("animationend"),Hp=oa("animationiteration"),Fp=oa("animationstart"),gC=oa("transitionrun"),pC=oa("transitionstart"),mC=oa("transitioncancel"),Up=oa("transitionend"),jp=new Map,Wu="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(" ");Wu.push("scrollEnd");function bn(t,i){jp.set(t,i),ia(i,[t])}var $p=new WeakMap;function sn(t,i){if(typeof t=="object"&&t!==null){var o=$p.get(t);return o!==void 0?o:(i={value:t,source:i,stack:op(i)},$p.set(t,i),i)}return{value:t,source:i,stack:op(i)}}var cn=[],Qa=0,qu=0;function Zl(){for(var t=Qa,i=qu=Qa=0;i<t;){var o=cn[i];cn[i++]=null;var s=cn[i];cn[i++]=null;var u=cn[i];cn[i++]=null;var h=cn[i];if(cn[i++]=null,s!==null&&u!==null){var v=s.pending;v===null?u.next=u:(u.next=v.next,v.next=u),s.pending=u}h!==0&&Gp(o,u,h)}}function Jl(t,i,o,s){cn[Qa++]=t,cn[Qa++]=i,cn[Qa++]=o,cn[Qa++]=s,qu|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function Yu(t,i,o,s){return Jl(t,i,o,s),es(t)}function Za(t,i){return Jl(t,null,null,i),es(t)}function Gp(t,i,o){t.lanes|=o;var s=t.alternate;s!==null&&(s.lanes|=o);for(var u=!1,h=t.return;h!==null;)h.childLanes|=o,s=h.alternate,s!==null&&(s.childLanes|=o),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(u=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,u&&i!==null&&(u=31-$t(o),t=h.hiddenUpdates,s=t[u],s===null?t[u]=[i]:s.push(i),i.lane=o|536870912),h):null}function es(t){if(50<Mo)throw Mo=0,ef=null,Error(r(185));for(var i=t.return;i!==null;)t=i,i=t.return;return t.tag===3?t.stateNode:null}var Ja={};function vC(t,i,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=i,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 Wt(t,i,o,s){return new vC(t,i,o,s)}function Xu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Kn(t,i){var o=t.alternate;return o===null?(o=Wt(t.tag,i,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=i,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,i=t.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o.refCleanup=t.refCleanup,o}function Wp(t,i){t.flags&=65011714;var o=t.alternate;return o===null?(t.childLanes=0,t.lanes=i,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,i=o.dependencies,t.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),t}function ts(t,i,o,s,u,h){var v=0;if(s=t,typeof t=="function")Xu(t)&&(v=1);else if(typeof t=="string")v=yO(t,o,le.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case M:return t=Wt(31,o,i,u),t.elementType=M,t.lanes=h,t;case C:return la(o.children,u,h,i);case E:v=8,u|=24;break;case w:return t=Wt(12,o,i,u|2),t.elementType=w,t.lanes=h,t;case A:return t=Wt(13,o,i,u),t.elementType=A,t.lanes=h,t;case Y:return t=Wt(19,o,i,u),t.elementType=Y,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case N:case R:v=10;break e;case T:v=9;break e;case F:v=11;break e;case U:v=14;break e;case z:v=16,s=null;break e}v=29,o=Error(r(130,t===null?"null":typeof t,"")),s=null}return i=Wt(v,o,i,u),i.elementType=t,i.type=s,i.lanes=h,i}function la(t,i,o,s){return t=Wt(7,t,s,i),t.lanes=o,t}function Ku(t,i,o){return t=Wt(6,t,null,i),t.lanes=o,t}function Qu(t,i,o){return i=Wt(4,t.children!==null?t.children:[],t.key,i),i.lanes=o,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}var er=[],tr=0,ns=null,is=0,un=[],dn=0,sa=null,Qn=1,Zn="";function ca(t,i){er[tr++]=is,er[tr++]=ns,ns=t,is=i}function qp(t,i,o){un[dn++]=Qn,un[dn++]=Zn,un[dn++]=sa,sa=t;var s=Qn;t=Zn;var u=32-$t(s)-1;s&=~(1<<u),o+=1;var h=32-$t(i)+u;if(30<h){var v=u-u%5;h=(s&(1<<v)-1).toString(32),s>>=v,u-=v,Qn=1<<32-$t(i)+u|o<<u|s,Zn=h+t}else Qn=1<<h|o<<u|s,Zn=t}function Zu(t){t.return!==null&&(ca(t,1),qp(t,1,0))}function Ju(t){for(;t===ns;)ns=er[--tr],er[tr]=null,is=er[--tr],er[tr]=null;for(;t===sa;)sa=un[--dn],un[dn]=null,Zn=un[--dn],un[dn]=null,Qn=un[--dn],un[dn]=null}var Nt=null,Qe=null,Ae=!1,ua=null,Nn=!1,ed=Error(r(519));function da(t){var i=Error(r(418,""));throw po(sn(i,t)),ed}function Yp(t){var i=t.stateNode,o=t.type,s=t.memoizedProps;switch(i[Ot]=t,i[It]=s,o){case"dialog":Te("cancel",i),Te("close",i);break;case"iframe":case"object":case"embed":Te("load",i);break;case"video":case"audio":for(o=0;o<Bo.length;o++)Te(Bo[o],i);break;case"source":Te("error",i);break;case"img":case"image":case"link":Te("error",i),Te("load",i);break;case"details":Te("toggle",i);break;case"input":Te("invalid",i),cp(i,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),jl(i);break;case"select":Te("invalid",i);break;case"textarea":Te("invalid",i),dp(i,s.value,s.defaultValue,s.children),jl(i)}o=s.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||i.textContent===""+o||s.suppressHydrationWarning===!0||db(i.textContent,o)?(s.popover!=null&&(Te("beforetoggle",i),Te("toggle",i)),s.onScroll!=null&&Te("scroll",i),s.onScrollEnd!=null&&Te("scrollend",i),s.onClick!=null&&(i.onclick=Ms),i=!0):i=!1,i||da(t)}function Xp(t){for(Nt=t.return;Nt;)switch(Nt.tag){case 5:case 13:Nn=!1;return;case 27:case 3:Nn=!0;return;default:Nt=Nt.return}}function ho(t){if(t!==Nt)return!1;if(!Ae)return Xp(t),Ae=!0,!1;var i=t.tag,o;if((o=i!==3&&i!==27)&&((o=i===5)&&(o=t.type,o=!(o!=="form"&&o!=="button")||vf(t.type,t.memoizedProps)),o=!o),o&&Qe&&da(t),Xp(t),i===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,i=0;t;){if(t.nodeType===8)if(o=t.data,o==="/$"){if(i===0){Qe=xn(t.nextSibling);break e}i--}else o!=="$"&&o!=="$!"&&o!=="$?"||i++;t=t.nextSibling}Qe=null}}else i===27?(i=Qe,Bi(t.type)?(t=Sf,Sf=null,Qe=t):Qe=i):Qe=Nt?xn(t.stateNode.nextSibling):null;return!0}function go(){Qe=Nt=null,Ae=!1}function Kp(){var t=ua;return t!==null&&(Mt===null?Mt=t:Mt.push.apply(Mt,t),ua=null),t}function po(t){ua===null?ua=[t]:ua.push(t)}var td=W(null),fa=null,Jn=null;function Oi(t,i,o){ee(td,i._currentValue),i._currentValue=o}function ei(t){t._currentValue=td.current,ne(td)}function nd(t,i,o){for(;t!==null;){var s=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,s!==null&&(s.childLanes|=i)):s!==null&&(s.childLanes&i)!==i&&(s.childLanes|=i),t===o)break;t=t.return}}function id(t,i,o,s){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var h=u.dependencies;if(h!==null){var v=u.child;h=h.firstContext;e:for(;h!==null;){var x=h;h=u;for(var O=0;O<i.length;O++)if(x.context===i[O]){h.lanes|=o,x=h.alternate,x!==null&&(x.lanes|=o),nd(h.return,o,t),s||(v=null);break e}h=x.next}}else if(u.tag===18){if(v=u.return,v===null)throw Error(r(341));v.lanes|=o,h=v.alternate,h!==null&&(h.lanes|=o),nd(v,o,t),v=null}else v=u.child;if(v!==null)v.return=u;else for(v=u;v!==null;){if(v===t){v=null;break}if(u=v.sibling,u!==null){u.return=v.return,v=u;break}v=v.return}u=v}}function mo(t,i,o,s){t=null;for(var u=i,h=!1;u!==null;){if(!h){if((u.flags&524288)!==0)h=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var v=u.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var x=u.type;Gt(u.pendingProps.value,v.value)||(t!==null?t.push(x):t=[x])}}else if(u===Rt.current){if(v=u.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Go):t=[Go])}u=u.return}t!==null&&id(i,t,o,s),i.flags|=262144}function as(t){for(t=t.firstContext;t!==null;){if(!Gt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ha(t){fa=t,Jn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function wt(t){return Qp(fa,t)}function rs(t,i){return fa===null&&ha(t),Qp(t,i)}function Qp(t,i){var o=i._currentValue;if(i={context:i,memoizedValue:o,next:null},Jn===null){if(t===null)throw Error(r(308));Jn=i,t.dependencies={lanes:0,firstContext:i},t.flags|=524288}else Jn=Jn.next=i;return o}var bC=typeof AbortController<"u"?AbortController:function(){var t=[],i=this.signal={aborted:!1,addEventListener:function(o,s){t.push(s)}};this.abort=function(){i.aborted=!0,t.forEach(function(o){return o()})}},yC=e.unstable_scheduleCallback,xC=e.unstable_NormalPriority,lt={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ad(){return{controller:new bC,data:new Map,refCount:0}}function vo(t){t.refCount--,t.refCount===0&&yC(xC,function(){t.controller.abort()})}var bo=null,rd=0,nr=0,ir=null;function SC(t,i){if(bo===null){var o=bo=[];rd=0,nr=sf(),ir={status:"pending",value:void 0,then:function(s){o.push(s)}}}return rd++,i.then(Zp,Zp),i}function Zp(){if(--rd===0&&bo!==null){ir!==null&&(ir.status="fulfilled");var t=bo;bo=null,nr=0,ir=null;for(var i=0;i<t.length;i++)(0,t[i])()}}function EC(t,i){var o=[],s={status:"pending",value:null,reason:null,then:function(u){o.push(u)}};return t.then(function(){s.status="fulfilled",s.value=i;for(var u=0;u<o.length;u++)(0,o[u])(i)},function(u){for(s.status="rejected",s.reason=u,u=0;u<o.length;u++)(0,o[u])(void 0)}),s}var Jp=H.S;H.S=function(t,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&SC(t,i),Jp!==null&&Jp(t,i)};var ga=W(null);function od(){var t=ga.current;return t!==null?t:$e.pooledCache}function os(t,i){i===null?ee(ga,ga.current):ee(ga,i.pool)}function em(){var t=od();return t===null?null:{parent:lt._currentValue,pool:t}}var yo=Error(r(460)),tm=Error(r(474)),ls=Error(r(542)),ld={then:function(){}};function nm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ss(){}function im(t,i,o){switch(o=t[o],o===void 0?t.push(i):o!==i&&(i.then(ss,ss),i=o),i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,rm(t),t;default:if(typeof i.status=="string")i.then(ss,ss);else{if(t=$e,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=i,t.status="pending",t.then(function(s){if(i.status==="pending"){var u=i;u.status="fulfilled",u.value=s}},function(s){if(i.status==="pending"){var u=i;u.status="rejected",u.reason=s}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,rm(t),t}throw xo=i,yo}}var xo=null;function am(){if(xo===null)throw Error(r(459));var t=xo;return xo=null,t}function rm(t){if(t===yo||t===ls)throw Error(r(483))}var wi=!1;function sd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cd(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ki(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ti(t,i,o){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(Pe&2)!==0){var u=s.pending;return u===null?i.next=i:(i.next=u.next,u.next=i),s.pending=i,i=es(t),Gp(t,null,o),i}return Jl(t,s,i,o),es(t)}function So(t,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194048)!==0)){var s=i.lanes;s&=t.pendingLanes,o|=s,i.lanes=o,Zg(t,o)}}function ud(t,i){var o=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var u=null,h=null;if(o=o.firstBaseUpdate,o!==null){do{var v={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};h===null?u=h=v:h=h.next=v,o=o.next}while(o!==null);h===null?u=h=i:h=h.next=i}else u=h=i;o={baseState:s.baseState,firstBaseUpdate:u,lastBaseUpdate:h,shared:s.shared,callbacks:s.callbacks},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=i:t.next=i,o.lastBaseUpdate=i}var dd=!1;function Eo(){if(dd){var t=ir;if(t!==null)throw t}}function Co(t,i,o,s){dd=!1;var u=t.updateQueue;wi=!1;var h=u.firstBaseUpdate,v=u.lastBaseUpdate,x=u.shared.pending;if(x!==null){u.shared.pending=null;var O=x,P=O.next;O.next=null,v===null?h=P:v.next=P,v=O;var j=t.alternate;j!==null&&(j=j.updateQueue,x=j.lastBaseUpdate,x!==v&&(x===null?j.firstBaseUpdate=P:x.next=P,j.lastBaseUpdate=O))}if(h!==null){var q=u.baseState;v=0,j=P=O=null,x=h;do{var L=x.lane&-536870913,B=L!==x.lane;if(B?(Re&L)===L:(s&L)===L){L!==0&&L===nr&&(dd=!0),j!==null&&(j=j.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var pe=t,ue=x;L=i;var He=o;switch(ue.tag){case 1:if(pe=ue.payload,typeof pe=="function"){q=pe.call(He,q,L);break e}q=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=ue.payload,L=typeof pe=="function"?pe.call(He,q,L):pe,L==null)break e;q=m({},q,L);break e;case 2:wi=!0}}L=x.callback,L!==null&&(t.flags|=64,B&&(t.flags|=8192),B=u.callbacks,B===null?u.callbacks=[L]:B.push(L))}else B={lane:L,tag:x.tag,payload:x.payload,callback:x.callback,next:null},j===null?(P=j=B,O=q):j=j.next=B,v|=L;if(x=x.next,x===null){if(x=u.shared.pending,x===null)break;B=x,x=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);j===null&&(O=q),u.baseState=O,u.firstBaseUpdate=P,u.lastBaseUpdate=j,h===null&&(u.shared.lanes=0),Di|=v,t.lanes=v,t.memoizedState=q}}function om(t,i){if(typeof t!="function")throw Error(r(191,t));t.call(i)}function lm(t,i){var o=t.callbacks;if(o!==null)for(t.callbacks=null,t=0;t<o.length;t++)om(o[t],i)}var ar=W(null),cs=W(0);function sm(t,i){t=li,ee(cs,t),ee(ar,i),li=t|i.baseLanes}function fd(){ee(cs,li),ee(ar,ar.current)}function hd(){li=cs.current,ne(ar),ne(cs)}var Ri=0,xe=null,Le=null,nt=null,us=!1,rr=!1,pa=!1,ds=0,Oo=0,or=null,CC=0;function et(){throw Error(r(321))}function gd(t,i){if(i===null)return!1;for(var o=0;o<i.length&&o<t.length;o++)if(!Gt(t[o],i[o]))return!1;return!0}function pd(t,i,o,s,u,h){return Ri=h,xe=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,H.H=t===null||t.memoizedState===null?Gm:Wm,pa=!1,h=o(s,u),pa=!1,rr&&(h=um(i,o,s,u)),cm(t),h}function cm(t){H.H=vs;var i=Le!==null&&Le.next!==null;if(Ri=0,nt=Le=xe=null,us=!1,Oo=0,or=null,i)throw Error(r(300));t===null||ht||(t=t.dependencies,t!==null&&as(t)&&(ht=!0))}function um(t,i,o,s){xe=t;var u=0;do{if(rr&&(or=null),Oo=0,rr=!1,25<=u)throw Error(r(301));if(u+=1,nt=Le=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}H.H=AC,h=i(o,s)}while(rr);return h}function OC(){var t=H.H,i=t.useState()[0];return i=typeof i.then=="function"?wo(i):i,t=t.useState()[0],(Le!==null?Le.memoizedState:null)!==t&&(xe.flags|=1024),i}function md(){var t=ds!==0;return ds=0,t}function vd(t,i,o){i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~o}function bd(t){if(us){for(t=t.memoizedState;t!==null;){var i=t.queue;i!==null&&(i.pending=null),t=t.next}us=!1}Ri=0,nt=Le=xe=null,rr=!1,Oo=ds=0,or=null}function Dt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?xe.memoizedState=nt=t:nt=nt.next=t,nt}function it(){if(Le===null){var t=xe.alternate;t=t!==null?t.memoizedState:null}else t=Le.next;var i=nt===null?xe.memoizedState:nt.next;if(i!==null)nt=i,Le=t;else{if(t===null)throw xe.alternate===null?Error(r(467)):Error(r(310));Le=t,t={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},nt===null?xe.memoizedState=nt=t:nt=nt.next=t}return nt}function yd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function wo(t){var i=Oo;return Oo+=1,or===null&&(or=[]),t=im(or,t,i),i=xe,(nt===null?i.memoizedState:nt.next)===null&&(i=i.alternate,H.H=i===null||i.memoizedState===null?Gm:Wm),t}function fs(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return wo(t);if(t.$$typeof===R)return wt(t)}throw Error(r(438,String(t)))}function xd(t){var i=null,o=xe.updateQueue;if(o!==null&&(i=o.memoCache),i==null){var s=xe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(i={data:s.data.map(function(u){return u.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),o===null&&(o=yd(),xe.updateQueue=o),o.memoCache=i,o=i.data[i.index],o===void 0)for(o=i.data[i.index]=Array(t),s=0;s<t;s++)o[s]=$;return i.index++,o}function ti(t,i){return typeof i=="function"?i(t):i}function hs(t){var i=it();return Sd(i,Le,t)}function Sd(t,i,o){var s=t.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=o;var u=t.baseQueue,h=s.pending;if(h!==null){if(u!==null){var v=u.next;u.next=h.next,h.next=v}i.baseQueue=u=h,s.pending=null}if(h=t.baseState,u===null)t.memoizedState=h;else{i=u.next;var x=v=null,O=null,P=i,j=!1;do{var q=P.lane&-536870913;if(q!==P.lane?(Re&q)===q:(Ri&q)===q){var L=P.revertLane;if(L===0)O!==null&&(O=O.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),q===nr&&(j=!0);else if((Ri&L)===L){P=P.next,L===nr&&(j=!0);continue}else q={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},O===null?(x=O=q,v=h):O=O.next=q,xe.lanes|=L,Di|=L;q=P.action,pa&&o(h,q),h=P.hasEagerState?P.eagerState:o(h,q)}else L={lane:q,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},O===null?(x=O=L,v=h):O=O.next=L,xe.lanes|=q,Di|=q;P=P.next}while(P!==null&&P!==i);if(O===null?v=h:O.next=x,!Gt(h,t.memoizedState)&&(ht=!0,j&&(o=ir,o!==null)))throw o;t.memoizedState=h,t.baseState=v,t.baseQueue=O,s.lastRenderedState=h}return u===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function Ed(t){var i=it(),o=i.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=t;var s=o.dispatch,u=o.pending,h=i.memoizedState;if(u!==null){o.pending=null;var v=u=u.next;do h=t(h,v.action),v=v.next;while(v!==u);Gt(h,i.memoizedState)||(ht=!0),i.memoizedState=h,i.baseQueue===null&&(i.baseState=h),o.lastRenderedState=h}return[h,s]}function dm(t,i,o){var s=xe,u=it(),h=Ae;if(h){if(o===void 0)throw Error(r(407));o=o()}else o=i();var v=!Gt((Le||u).memoizedState,o);v&&(u.memoizedState=o,ht=!0),u=u.queue;var x=gm.bind(null,s,u,t);if(ko(2048,8,x,[t]),u.getSnapshot!==i||v||nt!==null&&nt.memoizedState.tag&1){if(s.flags|=2048,lr(9,gs(),hm.bind(null,s,u,o,i),null),$e===null)throw Error(r(349));h||(Ri&124)!==0||fm(s,i,o)}return o}function fm(t,i,o){t.flags|=16384,t={getSnapshot:i,value:o},i=xe.updateQueue,i===null?(i=yd(),xe.updateQueue=i,i.stores=[t]):(o=i.stores,o===null?i.stores=[t]:o.push(t))}function hm(t,i,o,s){i.value=o,i.getSnapshot=s,pm(i)&&mm(t)}function gm(t,i,o){return o(function(){pm(i)&&mm(t)})}function pm(t){var i=t.getSnapshot;t=t.value;try{var o=i();return!Gt(t,o)}catch{return!0}}function mm(t){var i=Za(t,2);i!==null&&Qt(i,t,2)}function Cd(t){var i=Dt();if(typeof t=="function"){var o=t;if(t=o(),pa){Si(!0);try{o()}finally{Si(!1)}}}return i.memoizedState=i.baseState=t,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:t},i}function vm(t,i,o,s){return t.baseState=o,Sd(t,Le,typeof s=="function"?s:ti)}function wC(t,i,o,s,u){if(ms(t))throw Error(r(485));if(t=i.action,t!==null){var h={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){h.listeners.push(v)}};H.T!==null?o(!0):h.isTransition=!1,s(h),o=i.pending,o===null?(h.next=i.pending=h,bm(i,h)):(h.next=o.next,i.pending=o.next=h)}}function bm(t,i){var o=i.action,s=i.payload,u=t.state;if(i.isTransition){var h=H.T,v={};H.T=v;try{var x=o(u,s),O=H.S;O!==null&&O(v,x),ym(t,i,x)}catch(P){Od(t,i,P)}finally{H.T=h}}else try{h=o(u,s),ym(t,i,h)}catch(P){Od(t,i,P)}}function ym(t,i,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(s){xm(t,i,s)},function(s){return Od(t,i,s)}):xm(t,i,o)}function xm(t,i,o){i.status="fulfilled",i.value=o,Sm(i),t.state=o,i=t.pending,i!==null&&(o=i.next,o===i?t.pending=null:(o=o.next,i.next=o,bm(t,o)))}function Od(t,i,o){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do i.status="rejected",i.reason=o,Sm(i),i=i.next;while(i!==s)}t.action=null}function Sm(t){t=t.listeners;for(var i=0;i<t.length;i++)(0,t[i])()}function Em(t,i){return i}function Cm(t,i){if(Ae){var o=$e.formState;if(o!==null){e:{var s=xe;if(Ae){if(Qe){t:{for(var u=Qe,h=Nn;u.nodeType!==8;){if(!h){u=null;break t}if(u=xn(u.nextSibling),u===null){u=null;break t}}h=u.data,u=h==="F!"||h==="F"?u:null}if(u){Qe=xn(u.nextSibling),s=u.data==="F!";break e}}da(s)}s=!1}s&&(i=o[0])}}return o=Dt(),o.memoizedState=o.baseState=i,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Em,lastRenderedState:i},o.queue=s,o=Um.bind(null,xe,s),s.dispatch=o,s=Cd(!1),h=Nd.bind(null,xe,!1,s.queue),s=Dt(),u={state:i,dispatch:null,action:t,pending:null},s.queue=u,o=wC.bind(null,xe,u,h,o),u.dispatch=o,s.memoizedState=t,[i,o,!1]}function Om(t){var i=it();return wm(i,Le,t)}function wm(t,i,o){if(i=Sd(t,i,Em)[0],t=hs(ti)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var s=wo(i)}catch(v){throw v===yo?ls:v}else s=i;i=it();var u=i.queue,h=u.dispatch;return o!==i.memoizedState&&(xe.flags|=2048,lr(9,gs(),kC.bind(null,u,o),null)),[s,h,t]}function kC(t,i){t.action=i}function km(t){var i=it(),o=Le;if(o!==null)return wm(i,o,t);it(),i=i.memoizedState,o=it();var s=o.queue.dispatch;return o.memoizedState=t,[i,s,!1]}function lr(t,i,o,s){return t={tag:t,create:o,deps:s,inst:i,next:null},i=xe.updateQueue,i===null&&(i=yd(),xe.updateQueue=i),o=i.lastEffect,o===null?i.lastEffect=t.next=t:(s=o.next,o.next=t,t.next=s,i.lastEffect=t),t}function gs(){return{destroy:void 0,resource:void 0}}function Tm(){return it().memoizedState}function ps(t,i,o,s){var u=Dt();s=s===void 0?null:s,xe.flags|=t,u.memoizedState=lr(1|i,gs(),o,s)}function ko(t,i,o,s){var u=it();s=s===void 0?null:s;var h=u.memoizedState.inst;Le!==null&&s!==null&&gd(s,Le.memoizedState.deps)?u.memoizedState=lr(i,h,o,s):(xe.flags|=t,u.memoizedState=lr(1|i,h,o,s))}function Rm(t,i){ps(8390656,8,t,i)}function Nm(t,i){ko(2048,8,t,i)}function Am(t,i){return ko(4,2,t,i)}function _m(t,i){return ko(4,4,t,i)}function zm(t,i){if(typeof i=="function"){t=t();var o=i(t);return function(){typeof o=="function"?o():i(null)}}if(i!=null)return t=t(),i.current=t,function(){i.current=null}}function Im(t,i,o){o=o!=null?o.concat([t]):null,ko(4,4,zm.bind(null,i,t),o)}function wd(){}function Vm(t,i){var o=it();i=i===void 0?null:i;var s=o.memoizedState;return i!==null&&gd(i,s[1])?s[0]:(o.memoizedState=[t,i],t)}function Dm(t,i){var o=it();i=i===void 0?null:i;var s=o.memoizedState;if(i!==null&&gd(i,s[1]))return s[0];if(s=t(),pa){Si(!0);try{t()}finally{Si(!1)}}return o.memoizedState=[s,i],s}function kd(t,i,o){return o===void 0||(Ri&1073741824)!==0?t.memoizedState=i:(t.memoizedState=o,t=Lv(),xe.lanes|=t,Di|=t,o)}function Pm(t,i,o,s){return Gt(o,i)?o:ar.current!==null?(t=kd(t,o,s),Gt(t,i)||(ht=!0),t):(Ri&42)===0?(ht=!0,t.memoizedState=o):(t=Lv(),xe.lanes|=t,Di|=t,i)}function Mm(t,i,o,s,u){var h=Q.p;Q.p=h!==0&&8>h?h:8;var v=H.T,x={};H.T=x,Nd(t,!1,i,o);try{var O=u(),P=H.S;if(P!==null&&P(x,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var j=EC(O,s);To(t,i,j,Kt(t))}else To(t,i,s,Kt(t))}catch(q){To(t,i,{then:function(){},status:"rejected",reason:q},Kt())}finally{Q.p=h,H.T=v}}function TC(){}function Td(t,i,o,s){if(t.tag!==5)throw Error(r(476));var u=Lm(t).queue;Mm(t,u,i,re,o===null?TC:function(){return Bm(t),o(s)})}function Lm(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:re},next:null};var o={};return i.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:o},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function Bm(t){var i=Lm(t).next.queue;To(t,i,{},Kt())}function Rd(){return wt(Go)}function Hm(){return it().memoizedState}function Fm(){return it().memoizedState}function RC(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var o=Kt();t=ki(o);var s=Ti(i,t,o);s!==null&&(Qt(s,i,o),So(s,i,o)),i={cache:ad()},t.payload=i;return}i=i.return}}function NC(t,i,o){var s=Kt();o={lane:s,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},ms(t)?jm(i,o):(o=Yu(t,i,o,s),o!==null&&(Qt(o,t,s),$m(o,i,s)))}function Um(t,i,o){var s=Kt();To(t,i,o,s)}function To(t,i,o,s){var u={lane:s,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(ms(t))jm(i,u);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=i.lastRenderedReducer,h!==null))try{var v=i.lastRenderedState,x=h(v,o);if(u.hasEagerState=!0,u.eagerState=x,Gt(x,v))return Jl(t,i,u,0),$e===null&&Zl(),!1}catch{}finally{}if(o=Yu(t,i,u,s),o!==null)return Qt(o,t,s),$m(o,i,s),!0}return!1}function Nd(t,i,o,s){if(s={lane:2,revertLane:sf(),action:s,hasEagerState:!1,eagerState:null,next:null},ms(t)){if(i)throw Error(r(479))}else i=Yu(t,o,s,2),i!==null&&Qt(i,t,2)}function ms(t){var i=t.alternate;return t===xe||i!==null&&i===xe}function jm(t,i){rr=us=!0;var o=t.pending;o===null?i.next=i:(i.next=o.next,o.next=i),t.pending=i}function $m(t,i,o){if((o&4194048)!==0){var s=i.lanes;s&=t.pendingLanes,o|=s,i.lanes=o,Zg(t,o)}}var vs={readContext:wt,use:fs,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et},Gm={readContext:wt,use:fs,useCallback:function(t,i){return Dt().memoizedState=[t,i===void 0?null:i],t},useContext:wt,useEffect:Rm,useImperativeHandle:function(t,i,o){o=o!=null?o.concat([t]):null,ps(4194308,4,zm.bind(null,i,t),o)},useLayoutEffect:function(t,i){return ps(4194308,4,t,i)},useInsertionEffect:function(t,i){ps(4,2,t,i)},useMemo:function(t,i){var o=Dt();i=i===void 0?null:i;var s=t();if(pa){Si(!0);try{t()}finally{Si(!1)}}return o.memoizedState=[s,i],s},useReducer:function(t,i,o){var s=Dt();if(o!==void 0){var u=o(i);if(pa){Si(!0);try{o(i)}finally{Si(!1)}}}else u=i;return s.memoizedState=s.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},s.queue=t,t=t.dispatch=NC.bind(null,xe,t),[s.memoizedState,t]},useRef:function(t){var i=Dt();return t={current:t},i.memoizedState=t},useState:function(t){t=Cd(t);var i=t.queue,o=Um.bind(null,xe,i);return i.dispatch=o,[t.memoizedState,o]},useDebugValue:wd,useDeferredValue:function(t,i){var o=Dt();return kd(o,t,i)},useTransition:function(){var t=Cd(!1);return t=Mm.bind(null,xe,t.queue,!0,!1),Dt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,o){var s=xe,u=Dt();if(Ae){if(o===void 0)throw Error(r(407));o=o()}else{if(o=i(),$e===null)throw Error(r(349));(Re&124)!==0||fm(s,i,o)}u.memoizedState=o;var h={value:o,getSnapshot:i};return u.queue=h,Rm(gm.bind(null,s,h,t),[t]),s.flags|=2048,lr(9,gs(),hm.bind(null,s,h,o,i),null),o},useId:function(){var t=Dt(),i=$e.identifierPrefix;if(Ae){var o=Zn,s=Qn;o=(s&~(1<<32-$t(s)-1)).toString(32)+o,i="«"+i+"R"+o,o=ds++,0<o&&(i+="H"+o.toString(32)),i+="»"}else o=CC++,i="«"+i+"r"+o.toString(32)+"»";return t.memoizedState=i},useHostTransitionStatus:Rd,useFormState:Cm,useActionState:Cm,useOptimistic:function(t){var i=Dt();i.memoizedState=i.baseState=t;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=o,i=Nd.bind(null,xe,!0,o),o.dispatch=i,[t,i]},useMemoCache:xd,useCacheRefresh:function(){return Dt().memoizedState=RC.bind(null,xe)}},Wm={readContext:wt,use:fs,useCallback:Vm,useContext:wt,useEffect:Nm,useImperativeHandle:Im,useInsertionEffect:Am,useLayoutEffect:_m,useMemo:Dm,useReducer:hs,useRef:Tm,useState:function(){return hs(ti)},useDebugValue:wd,useDeferredValue:function(t,i){var o=it();return Pm(o,Le.memoizedState,t,i)},useTransition:function(){var t=hs(ti)[0],i=it().memoizedState;return[typeof t=="boolean"?t:wo(t),i]},useSyncExternalStore:dm,useId:Hm,useHostTransitionStatus:Rd,useFormState:Om,useActionState:Om,useOptimistic:function(t,i){var o=it();return vm(o,Le,t,i)},useMemoCache:xd,useCacheRefresh:Fm},AC={readContext:wt,use:fs,useCallback:Vm,useContext:wt,useEffect:Nm,useImperativeHandle:Im,useInsertionEffect:Am,useLayoutEffect:_m,useMemo:Dm,useReducer:Ed,useRef:Tm,useState:function(){return Ed(ti)},useDebugValue:wd,useDeferredValue:function(t,i){var o=it();return Le===null?kd(o,t,i):Pm(o,Le.memoizedState,t,i)},useTransition:function(){var t=Ed(ti)[0],i=it().memoizedState;return[typeof t=="boolean"?t:wo(t),i]},useSyncExternalStore:dm,useId:Hm,useHostTransitionStatus:Rd,useFormState:km,useActionState:km,useOptimistic:function(t,i){var o=it();return Le!==null?vm(o,Le,t,i):(o.baseState=t,[t,o.queue.dispatch])},useMemoCache:xd,useCacheRefresh:Fm},sr=null,Ro=0;function bs(t){var i=Ro;return Ro+=1,sr===null&&(sr=[]),im(sr,t,i)}function No(t,i){i=i.props.ref,t.ref=i!==void 0?i:null}function ys(t,i){throw i.$$typeof===y?Error(r(525)):(t=Object.prototype.toString.call(i),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t)))}function qm(t){var i=t._init;return i(t._payload)}function Ym(t){function i(I,_){if(t){var V=I.deletions;V===null?(I.deletions=[_],I.flags|=16):V.push(_)}}function o(I,_){if(!t)return null;for(;_!==null;)i(I,_),_=_.sibling;return null}function s(I){for(var _=new Map;I!==null;)I.key!==null?_.set(I.key,I):_.set(I.index,I),I=I.sibling;return _}function u(I,_){return I=Kn(I,_),I.index=0,I.sibling=null,I}function h(I,_,V){return I.index=V,t?(V=I.alternate,V!==null?(V=V.index,V<_?(I.flags|=67108866,_):V):(I.flags|=67108866,_)):(I.flags|=1048576,_)}function v(I){return t&&I.alternate===null&&(I.flags|=67108866),I}function x(I,_,V,G){return _===null||_.tag!==6?(_=Ku(V,I.mode,G),_.return=I,_):(_=u(_,V),_.return=I,_)}function O(I,_,V,G){var oe=V.type;return oe===C?j(I,_,V.props.children,G,V.key):_!==null&&(_.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===z&&qm(oe)===_.type)?(_=u(_,V.props),No(_,V),_.return=I,_):(_=ts(V.type,V.key,V.props,null,I.mode,G),No(_,V),_.return=I,_)}function P(I,_,V,G){return _===null||_.tag!==4||_.stateNode.containerInfo!==V.containerInfo||_.stateNode.implementation!==V.implementation?(_=Qu(V,I.mode,G),_.return=I,_):(_=u(_,V.children||[]),_.return=I,_)}function j(I,_,V,G,oe){return _===null||_.tag!==7?(_=la(V,I.mode,G,oe),_.return=I,_):(_=u(_,V),_.return=I,_)}function q(I,_,V){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Ku(""+_,I.mode,V),_.return=I,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case b:return V=ts(_.type,_.key,_.props,null,I.mode,V),No(V,_),V.return=I,V;case S:return _=Qu(_,I.mode,V),_.return=I,_;case z:var G=_._init;return _=G(_._payload),q(I,_,V)}if(ce(_)||te(_))return _=la(_,I.mode,V,null),_.return=I,_;if(typeof _.then=="function")return q(I,bs(_),V);if(_.$$typeof===R)return q(I,rs(I,_),V);ys(I,_)}return null}function L(I,_,V,G){var oe=_!==null?_.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return oe!==null?null:x(I,_,""+V,G);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case b:return V.key===oe?O(I,_,V,G):null;case S:return V.key===oe?P(I,_,V,G):null;case z:return oe=V._init,V=oe(V._payload),L(I,_,V,G)}if(ce(V)||te(V))return oe!==null?null:j(I,_,V,G,null);if(typeof V.then=="function")return L(I,_,bs(V),G);if(V.$$typeof===R)return L(I,_,rs(I,V),G);ys(I,V)}return null}function B(I,_,V,G,oe){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return I=I.get(V)||null,x(_,I,""+G,oe);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case b:return I=I.get(G.key===null?V:G.key)||null,O(_,I,G,oe);case S:return I=I.get(G.key===null?V:G.key)||null,P(_,I,G,oe);case z:var Oe=G._init;return G=Oe(G._payload),B(I,_,V,G,oe)}if(ce(G)||te(G))return I=I.get(V)||null,j(_,I,G,oe,null);if(typeof G.then=="function")return B(I,_,V,bs(G),oe);if(G.$$typeof===R)return B(I,_,V,rs(_,G),oe);ys(_,G)}return null}function pe(I,_,V,G){for(var oe=null,Oe=null,se=_,de=_=0,pt=null;se!==null&&de<V.length;de++){se.index>de?(pt=se,se=null):pt=se.sibling;var Ne=L(I,se,V[de],G);if(Ne===null){se===null&&(se=pt);break}t&&se&&Ne.alternate===null&&i(I,se),_=h(Ne,_,de),Oe===null?oe=Ne:Oe.sibling=Ne,Oe=Ne,se=pt}if(de===V.length)return o(I,se),Ae&&ca(I,de),oe;if(se===null){for(;de<V.length;de++)se=q(I,V[de],G),se!==null&&(_=h(se,_,de),Oe===null?oe=se:Oe.sibling=se,Oe=se);return Ae&&ca(I,de),oe}for(se=s(se);de<V.length;de++)pt=B(se,I,de,V[de],G),pt!==null&&(t&&pt.alternate!==null&&se.delete(pt.key===null?de:pt.key),_=h(pt,_,de),Oe===null?oe=pt:Oe.sibling=pt,Oe=pt);return t&&se.forEach(function($i){return i(I,$i)}),Ae&&ca(I,de),oe}function ue(I,_,V,G){if(V==null)throw Error(r(151));for(var oe=null,Oe=null,se=_,de=_=0,pt=null,Ne=V.next();se!==null&&!Ne.done;de++,Ne=V.next()){se.index>de?(pt=se,se=null):pt=se.sibling;var $i=L(I,se,Ne.value,G);if($i===null){se===null&&(se=pt);break}t&&se&&$i.alternate===null&&i(I,se),_=h($i,_,de),Oe===null?oe=$i:Oe.sibling=$i,Oe=$i,se=pt}if(Ne.done)return o(I,se),Ae&&ca(I,de),oe;if(se===null){for(;!Ne.done;de++,Ne=V.next())Ne=q(I,Ne.value,G),Ne!==null&&(_=h(Ne,_,de),Oe===null?oe=Ne:Oe.sibling=Ne,Oe=Ne);return Ae&&ca(I,de),oe}for(se=s(se);!Ne.done;de++,Ne=V.next())Ne=B(se,I,de,Ne.value,G),Ne!==null&&(t&&Ne.alternate!==null&&se.delete(Ne.key===null?de:Ne.key),_=h(Ne,_,de),Oe===null?oe=Ne:Oe.sibling=Ne,Oe=Ne);return t&&se.forEach(function(_O){return i(I,_O)}),Ae&&ca(I,de),oe}function He(I,_,V,G){if(typeof V=="object"&&V!==null&&V.type===C&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case b:e:{for(var oe=V.key;_!==null;){if(_.key===oe){if(oe=V.type,oe===C){if(_.tag===7){o(I,_.sibling),G=u(_,V.props.children),G.return=I,I=G;break e}}else if(_.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===z&&qm(oe)===_.type){o(I,_.sibling),G=u(_,V.props),No(G,V),G.return=I,I=G;break e}o(I,_);break}else i(I,_);_=_.sibling}V.type===C?(G=la(V.props.children,I.mode,G,V.key),G.return=I,I=G):(G=ts(V.type,V.key,V.props,null,I.mode,G),No(G,V),G.return=I,I=G)}return v(I);case S:e:{for(oe=V.key;_!==null;){if(_.key===oe)if(_.tag===4&&_.stateNode.containerInfo===V.containerInfo&&_.stateNode.implementation===V.implementation){o(I,_.sibling),G=u(_,V.children||[]),G.return=I,I=G;break e}else{o(I,_);break}else i(I,_);_=_.sibling}G=Qu(V,I.mode,G),G.return=I,I=G}return v(I);case z:return oe=V._init,V=oe(V._payload),He(I,_,V,G)}if(ce(V))return pe(I,_,V,G);if(te(V)){if(oe=te(V),typeof oe!="function")throw Error(r(150));return V=oe.call(V),ue(I,_,V,G)}if(typeof V.then=="function")return He(I,_,bs(V),G);if(V.$$typeof===R)return He(I,_,rs(I,V),G);ys(I,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,_!==null&&_.tag===6?(o(I,_.sibling),G=u(_,V),G.return=I,I=G):(o(I,_),G=Ku(V,I.mode,G),G.return=I,I=G),v(I)):o(I,_)}return function(I,_,V,G){try{Ro=0;var oe=He(I,_,V,G);return sr=null,oe}catch(se){if(se===yo||se===ls)throw se;var Oe=Wt(29,se,null,I.mode);return Oe.lanes=G,Oe.return=I,Oe}finally{}}}var cr=Ym(!0),Xm=Ym(!1),fn=W(null),An=null;function Ni(t){var i=t.alternate;ee(st,st.current&1),ee(fn,t),An===null&&(i===null||ar.current!==null||i.memoizedState!==null)&&(An=t)}function Km(t){if(t.tag===22){if(ee(st,st.current),ee(fn,t),An===null){var i=t.alternate;i!==null&&i.memoizedState!==null&&(An=t)}}else Ai()}function Ai(){ee(st,st.current),ee(fn,fn.current)}function ni(t){ne(fn),An===t&&(An=null),ne(st)}var st=W(0);function xs(t){for(var i=t;i!==null;){if(i.tag===13){var o=i.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||xf(o)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function Ad(t,i,o,s){i=t.memoizedState,o=o(s,i),o=o==null?i:m({},i,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var _d={enqueueSetState:function(t,i,o){t=t._reactInternals;var s=Kt(),u=ki(s);u.payload=i,o!=null&&(u.callback=o),i=Ti(t,u,s),i!==null&&(Qt(i,t,s),So(i,t,s))},enqueueReplaceState:function(t,i,o){t=t._reactInternals;var s=Kt(),u=ki(s);u.tag=1,u.payload=i,o!=null&&(u.callback=o),i=Ti(t,u,s),i!==null&&(Qt(i,t,s),So(i,t,s))},enqueueForceUpdate:function(t,i){t=t._reactInternals;var o=Kt(),s=ki(o);s.tag=2,i!=null&&(s.callback=i),i=Ti(t,s,o),i!==null&&(Qt(i,t,o),So(i,t,o))}};function Qm(t,i,o,s,u,h,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,h,v):i.prototype&&i.prototype.isPureReactComponent?!uo(o,s)||!uo(u,h):!0}function Zm(t,i,o,s){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(o,s),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(o,s),i.state!==t&&_d.enqueueReplaceState(i,i.state,null)}function ma(t,i){var o=i;if("ref"in i){o={};for(var s in i)s!=="ref"&&(o[s]=i[s])}if(t=t.defaultProps){o===i&&(o=m({},o));for(var u in t)o[u]===void 0&&(o[u]=t[u])}return o}var Ss=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=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(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Jm(t){Ss(t)}function ev(t){console.error(t)}function tv(t){Ss(t)}function Es(t,i){try{var o=t.onUncaughtError;o(i.value,{componentStack:i.stack})}catch(s){setTimeout(function(){throw s})}}function nv(t,i,o){try{var s=t.onCaughtError;s(o.value,{componentStack:o.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function zd(t,i,o){return o=ki(o),o.tag=3,o.payload={element:null},o.callback=function(){Es(t,i)},o}function iv(t){return t=ki(t),t.tag=3,t}function av(t,i,o,s){var u=o.type.getDerivedStateFromError;if(typeof u=="function"){var h=s.value;t.payload=function(){return u(h)},t.callback=function(){nv(i,o,s)}}var v=o.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){nv(i,o,s),typeof u!="function"&&(Pi===null?Pi=new Set([this]):Pi.add(this));var x=s.stack;this.componentDidCatch(s.value,{componentStack:x!==null?x:""})})}function _C(t,i,o,s,u){if(o.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(i=o.alternate,i!==null&&mo(i,o,u,!0),o=fn.current,o!==null){switch(o.tag){case 13:return An===null?nf():o.alternate===null&&Ze===0&&(Ze=3),o.flags&=-257,o.flags|=65536,o.lanes=u,s===ld?o.flags|=16384:(i=o.updateQueue,i===null?o.updateQueue=new Set([s]):i.add(s),rf(t,s,u)),!1;case 22:return o.flags|=65536,s===ld?o.flags|=16384:(i=o.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([s])},o.updateQueue=i):(o=i.retryQueue,o===null?i.retryQueue=new Set([s]):o.add(s)),rf(t,s,u)),!1}throw Error(r(435,o.tag))}return rf(t,s,u),nf(),!1}if(Ae)return i=fn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=u,s!==ed&&(t=Error(r(422),{cause:s}),po(sn(t,o)))):(s!==ed&&(i=Error(r(423),{cause:s}),po(sn(i,o))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,s=sn(s,o),u=zd(t.stateNode,s,u),ud(t,u),Ze!==4&&(Ze=2)),!1;var h=Error(r(520),{cause:s});if(h=sn(h,o),Po===null?Po=[h]:Po.push(h),Ze!==4&&(Ze=2),i===null)return!0;s=sn(s,o),o=i;do{switch(o.tag){case 3:return o.flags|=65536,t=u&-u,o.lanes|=t,t=zd(o.stateNode,s,t),ud(o,t),!1;case 1:if(i=o.type,h=o.stateNode,(o.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Pi===null||!Pi.has(h))))return o.flags|=65536,u&=-u,o.lanes|=u,u=iv(u),av(u,t,o,s),ud(o,u),!1}o=o.return}while(o!==null);return!1}var rv=Error(r(461)),ht=!1;function bt(t,i,o,s){i.child=t===null?Xm(i,null,o,s):cr(i,t.child,o,s)}function ov(t,i,o,s,u){o=o.render;var h=i.ref;if("ref"in s){var v={};for(var x in s)x!=="ref"&&(v[x]=s[x])}else v=s;return ha(i),s=pd(t,i,o,v,h,u),x=md(),t!==null&&!ht?(vd(t,i,u),ii(t,i,u)):(Ae&&x&&Zu(i),i.flags|=1,bt(t,i,s,u),i.child)}function lv(t,i,o,s,u){if(t===null){var h=o.type;return typeof h=="function"&&!Xu(h)&&h.defaultProps===void 0&&o.compare===null?(i.tag=15,i.type=h,sv(t,i,h,s,u)):(t=ts(o.type,null,s,i,i.mode,u),t.ref=i.ref,t.return=i,i.child=t)}if(h=t.child,!Hd(t,u)){var v=h.memoizedProps;if(o=o.compare,o=o!==null?o:uo,o(v,s)&&t.ref===i.ref)return ii(t,i,u)}return i.flags|=1,t=Kn(h,s),t.ref=i.ref,t.return=i,i.child=t}function sv(t,i,o,s,u){if(t!==null){var h=t.memoizedProps;if(uo(h,s)&&t.ref===i.ref)if(ht=!1,i.pendingProps=s=h,Hd(t,u))(t.flags&131072)!==0&&(ht=!0);else return i.lanes=t.lanes,ii(t,i,u)}return Id(t,i,o,s,u)}function cv(t,i,o){var s=i.pendingProps,u=s.children,h=t!==null?t.memoizedState:null;if(s.mode==="hidden"){if((i.flags&128)!==0){if(s=h!==null?h.baseLanes|o:o,t!==null){for(u=i.child=t.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;i.childLanes=h&~s}else i.childLanes=0,i.child=null;return uv(t,i,s,o)}if((o&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},t!==null&&os(i,h!==null?h.cachePool:null),h!==null?sm(i,h):fd(),Km(i);else return i.lanes=i.childLanes=536870912,uv(t,i,h!==null?h.baseLanes|o:o,o)}else h!==null?(os(i,h.cachePool),sm(i,h),Ai(),i.memoizedState=null):(t!==null&&os(i,null),fd(),Ai());return bt(t,i,u,o),i.child}function uv(t,i,o,s){var u=od();return u=u===null?null:{parent:lt._currentValue,pool:u},i.memoizedState={baseLanes:o,cachePool:u},t!==null&&os(i,null),fd(),Km(i),t!==null&&mo(t,i,s,!0),null}function Cs(t,i){var o=i.ref;if(o===null)t!==null&&t.ref!==null&&(i.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(t===null||t.ref!==o)&&(i.flags|=4194816)}}function Id(t,i,o,s,u){return ha(i),o=pd(t,i,o,s,void 0,u),s=md(),t!==null&&!ht?(vd(t,i,u),ii(t,i,u)):(Ae&&s&&Zu(i),i.flags|=1,bt(t,i,o,u),i.child)}function dv(t,i,o,s,u,h){return ha(i),i.updateQueue=null,o=um(i,s,o,u),cm(t),s=md(),t!==null&&!ht?(vd(t,i,h),ii(t,i,h)):(Ae&&s&&Zu(i),i.flags|=1,bt(t,i,o,h),i.child)}function fv(t,i,o,s,u){if(ha(i),i.stateNode===null){var h=Ja,v=o.contextType;typeof v=="object"&&v!==null&&(h=wt(v)),h=new o(s,h),i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=_d,i.stateNode=h,h._reactInternals=i,h=i.stateNode,h.props=s,h.state=i.memoizedState,h.refs={},sd(i),v=o.contextType,h.context=typeof v=="object"&&v!==null?wt(v):Ja,h.state=i.memoizedState,v=o.getDerivedStateFromProps,typeof v=="function"&&(Ad(i,o,v,s),h.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(v=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),v!==h.state&&_d.enqueueReplaceState(h,h.state,null),Co(i,s,h,u),Eo(),h.state=i.memoizedState),typeof h.componentDidMount=="function"&&(i.flags|=4194308),s=!0}else if(t===null){h=i.stateNode;var x=i.memoizedProps,O=ma(o,x);h.props=O;var P=h.context,j=o.contextType;v=Ja,typeof j=="object"&&j!==null&&(v=wt(j));var q=o.getDerivedStateFromProps;j=typeof q=="function"||typeof h.getSnapshotBeforeUpdate=="function",x=i.pendingProps!==x,j||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(x||P!==v)&&Zm(i,h,s,v),wi=!1;var L=i.memoizedState;h.state=L,Co(i,s,h,u),Eo(),P=i.memoizedState,x||L!==P||wi?(typeof q=="function"&&(Ad(i,o,q,s),P=i.memoizedState),(O=wi||Qm(i,o,O,s,L,P,v))?(j||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(i.flags|=4194308)):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=s,i.memoizedState=P),h.props=s,h.state=P,h.context=v,s=O):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),s=!1)}else{h=i.stateNode,cd(t,i),v=i.memoizedProps,j=ma(o,v),h.props=j,q=i.pendingProps,L=h.context,P=o.contextType,O=Ja,typeof P=="object"&&P!==null&&(O=wt(P)),x=o.getDerivedStateFromProps,(P=typeof x=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(v!==q||L!==O)&&Zm(i,h,s,O),wi=!1,L=i.memoizedState,h.state=L,Co(i,s,h,u),Eo();var B=i.memoizedState;v!==q||L!==B||wi||t!==null&&t.dependencies!==null&&as(t.dependencies)?(typeof x=="function"&&(Ad(i,o,x,s),B=i.memoizedState),(j=wi||Qm(i,o,j,s,L,B,O)||t!==null&&t.dependencies!==null&&as(t.dependencies))?(P||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(s,B,O),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(s,B,O)),typeof h.componentDidUpdate=="function"&&(i.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof h.componentDidUpdate!="function"||v===t.memoizedProps&&L===t.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&L===t.memoizedState||(i.flags|=1024),i.memoizedProps=s,i.memoizedState=B),h.props=s,h.state=B,h.context=O,s=j):(typeof h.componentDidUpdate!="function"||v===t.memoizedProps&&L===t.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&L===t.memoizedState||(i.flags|=1024),s=!1)}return h=s,Cs(t,i),s=(i.flags&128)!==0,h||s?(h=i.stateNode,o=s&&typeof o.getDerivedStateFromError!="function"?null:h.render(),i.flags|=1,t!==null&&s?(i.child=cr(i,t.child,null,u),i.child=cr(i,null,o,u)):bt(t,i,o,u),i.memoizedState=h.state,t=i.child):t=ii(t,i,u),t}function hv(t,i,o,s){return go(),i.flags|=256,bt(t,i,o,s),i.child}var Vd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Dd(t){return{baseLanes:t,cachePool:em()}}function Pd(t,i,o){return t=t!==null?t.childLanes&~o:0,i&&(t|=hn),t}function gv(t,i,o){var s=i.pendingProps,u=!1,h=(i.flags&128)!==0,v;if((v=h)||(v=t!==null&&t.memoizedState===null?!1:(st.current&2)!==0),v&&(u=!0,i.flags&=-129),v=(i.flags&32)!==0,i.flags&=-33,t===null){if(Ae){if(u?Ni(i):Ai(),Ae){var x=Qe,O;if(O=x){e:{for(O=x,x=Nn;O.nodeType!==8;){if(!x){x=null;break e}if(O=xn(O.nextSibling),O===null){x=null;break e}}x=O}x!==null?(i.memoizedState={dehydrated:x,treeContext:sa!==null?{id:Qn,overflow:Zn}:null,retryLane:536870912,hydrationErrors:null},O=Wt(18,null,null,0),O.stateNode=x,O.return=i,i.child=O,Nt=i,Qe=null,O=!0):O=!1}O||da(i)}if(x=i.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return xf(x)?i.lanes=32:i.lanes=536870912,null;ni(i)}return x=s.children,s=s.fallback,u?(Ai(),u=i.mode,x=Os({mode:"hidden",children:x},u),s=la(s,u,o,null),x.return=i,s.return=i,x.sibling=s,i.child=x,u=i.child,u.memoizedState=Dd(o),u.childLanes=Pd(t,v,o),i.memoizedState=Vd,s):(Ni(i),Md(i,x))}if(O=t.memoizedState,O!==null&&(x=O.dehydrated,x!==null)){if(h)i.flags&256?(Ni(i),i.flags&=-257,i=Ld(t,i,o)):i.memoizedState!==null?(Ai(),i.child=t.child,i.flags|=128,i=null):(Ai(),u=s.fallback,x=i.mode,s=Os({mode:"visible",children:s.children},x),u=la(u,x,o,null),u.flags|=2,s.return=i,u.return=i,s.sibling=u,i.child=s,cr(i,t.child,null,o),s=i.child,s.memoizedState=Dd(o),s.childLanes=Pd(t,v,o),i.memoizedState=Vd,i=u);else if(Ni(i),xf(x)){if(v=x.nextSibling&&x.nextSibling.dataset,v)var P=v.dgst;v=P,s=Error(r(419)),s.stack="",s.digest=v,po({value:s,source:null,stack:null}),i=Ld(t,i,o)}else if(ht||mo(t,i,o,!1),v=(o&t.childLanes)!==0,ht||v){if(v=$e,v!==null&&(s=o&-o,s=(s&42)!==0?1:xu(s),s=(s&(v.suspendedLanes|o))!==0?0:s,s!==0&&s!==O.retryLane))throw O.retryLane=s,Za(t,s),Qt(v,t,s),rv;x.data==="$?"||nf(),i=Ld(t,i,o)}else x.data==="$?"?(i.flags|=192,i.child=t.child,i=null):(t=O.treeContext,Qe=xn(x.nextSibling),Nt=i,Ae=!0,ua=null,Nn=!1,t!==null&&(un[dn++]=Qn,un[dn++]=Zn,un[dn++]=sa,Qn=t.id,Zn=t.overflow,sa=i),i=Md(i,s.children),i.flags|=4096);return i}return u?(Ai(),u=s.fallback,x=i.mode,O=t.child,P=O.sibling,s=Kn(O,{mode:"hidden",children:s.children}),s.subtreeFlags=O.subtreeFlags&65011712,P!==null?u=Kn(P,u):(u=la(u,x,o,null),u.flags|=2),u.return=i,s.return=i,s.sibling=u,i.child=s,s=u,u=i.child,x=t.child.memoizedState,x===null?x=Dd(o):(O=x.cachePool,O!==null?(P=lt._currentValue,O=O.parent!==P?{parent:P,pool:P}:O):O=em(),x={baseLanes:x.baseLanes|o,cachePool:O}),u.memoizedState=x,u.childLanes=Pd(t,v,o),i.memoizedState=Vd,s):(Ni(i),o=t.child,t=o.sibling,o=Kn(o,{mode:"visible",children:s.children}),o.return=i,o.sibling=null,t!==null&&(v=i.deletions,v===null?(i.deletions=[t],i.flags|=16):v.push(t)),i.child=o,i.memoizedState=null,o)}function Md(t,i){return i=Os({mode:"visible",children:i},t.mode),i.return=t,t.child=i}function Os(t,i){return t=Wt(22,t,null,i),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Ld(t,i,o){return cr(i,t.child,null,o),t=Md(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}function pv(t,i,o){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i),nd(t.return,i,o)}function Bd(t,i,o,s,u){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:u}:(h.isBackwards=i,h.rendering=null,h.renderingStartTime=0,h.last=s,h.tail=o,h.tailMode=u)}function mv(t,i,o){var s=i.pendingProps,u=s.revealOrder,h=s.tail;if(bt(t,i,s.children,o),s=st.current,(s&2)!==0)s=s&1|2,i.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&pv(t,o,i);else if(t.tag===19)pv(t,o,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}switch(ee(st,s),u){case"forwards":for(o=i.child,u=null;o!==null;)t=o.alternate,t!==null&&xs(t)===null&&(u=o),o=o.sibling;o=u,o===null?(u=i.child,i.child=null):(u=o.sibling,o.sibling=null),Bd(i,!1,u,o,h);break;case"backwards":for(o=null,u=i.child,i.child=null;u!==null;){if(t=u.alternate,t!==null&&xs(t)===null){i.child=u;break}t=u.sibling,u.sibling=o,o=u,u=t}Bd(i,!0,o,null,h);break;case"together":Bd(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function ii(t,i,o){if(t!==null&&(i.dependencies=t.dependencies),Di|=i.lanes,(o&i.childLanes)===0)if(t!==null){if(mo(t,i,o,!1),(o&i.childLanes)===0)return null}else return null;if(t!==null&&i.child!==t.child)throw Error(r(153));if(i.child!==null){for(t=i.child,o=Kn(t,t.pendingProps),i.child=o,o.return=i;t.sibling!==null;)t=t.sibling,o=o.sibling=Kn(t,t.pendingProps),o.return=i;o.sibling=null}return i.child}function Hd(t,i){return(t.lanes&i)!==0?!0:(t=t.dependencies,!!(t!==null&&as(t)))}function zC(t,i,o){switch(i.tag){case 3:X(i,i.stateNode.containerInfo),Oi(i,lt,t.memoizedState.cache),go();break;case 27:case 5:Ce(i);break;case 4:X(i,i.stateNode.containerInfo);break;case 10:Oi(i,i.type,i.memoizedProps.value);break;case 13:var s=i.memoizedState;if(s!==null)return s.dehydrated!==null?(Ni(i),i.flags|=128,null):(o&i.child.childLanes)!==0?gv(t,i,o):(Ni(i),t=ii(t,i,o),t!==null?t.sibling:null);Ni(i);break;case 19:var u=(t.flags&128)!==0;if(s=(o&i.childLanes)!==0,s||(mo(t,i,o,!1),s=(o&i.childLanes)!==0),u){if(s)return mv(t,i,o);i.flags|=128}if(u=i.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ee(st,st.current),s)break;return null;case 22:case 23:return i.lanes=0,cv(t,i,o);case 24:Oi(i,lt,t.memoizedState.cache)}return ii(t,i,o)}function vv(t,i,o){if(t!==null)if(t.memoizedProps!==i.pendingProps)ht=!0;else{if(!Hd(t,o)&&(i.flags&128)===0)return ht=!1,zC(t,i,o);ht=(t.flags&131072)!==0}else ht=!1,Ae&&(i.flags&1048576)!==0&&qp(i,is,i.index);switch(i.lanes=0,i.tag){case 16:e:{t=i.pendingProps;var s=i.elementType,u=s._init;if(s=u(s._payload),i.type=s,typeof s=="function")Xu(s)?(t=ma(s,t),i.tag=1,i=fv(null,i,s,t,o)):(i.tag=0,i=Id(null,i,s,t,o));else{if(s!=null){if(u=s.$$typeof,u===F){i.tag=11,i=ov(null,i,s,t,o);break e}else if(u===U){i.tag=14,i=lv(null,i,s,t,o);break e}}throw i=Ee(s)||s,Error(r(306,i,""))}}return i;case 0:return Id(t,i,i.type,i.pendingProps,o);case 1:return s=i.type,u=ma(s,i.pendingProps),fv(t,i,s,u,o);case 3:e:{if(X(i,i.stateNode.containerInfo),t===null)throw Error(r(387));s=i.pendingProps;var h=i.memoizedState;u=h.element,cd(t,i),Co(i,s,null,o);var v=i.memoizedState;if(s=v.cache,Oi(i,lt,s),s!==h.cache&&id(i,[lt],o,!0),Eo(),s=v.element,h.isDehydrated)if(h={element:s,isDehydrated:!1,cache:v.cache},i.updateQueue.baseState=h,i.memoizedState=h,i.flags&256){i=hv(t,i,s,o);break e}else if(s!==u){u=sn(Error(r(424)),i),po(u),i=hv(t,i,s,o);break e}else{switch(t=i.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Qe=xn(t.firstChild),Nt=i,Ae=!0,ua=null,Nn=!0,o=Xm(i,null,s,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(go(),s===u){i=ii(t,i,o);break e}bt(t,i,s,o)}i=i.child}return i;case 26:return Cs(t,i),t===null?(o=Sb(i.type,null,i.pendingProps,null))?i.memoizedState=o:Ae||(o=i.type,t=i.pendingProps,s=Ls(ge.current).createElement(o),s[Ot]=i,s[It]=t,xt(s,o,t),ft(s),i.stateNode=s):i.memoizedState=Sb(i.type,t.memoizedProps,i.pendingProps,t.memoizedState),null;case 27:return Ce(i),t===null&&Ae&&(s=i.stateNode=bb(i.type,i.pendingProps,ge.current),Nt=i,Nn=!0,u=Qe,Bi(i.type)?(Sf=u,Qe=xn(s.firstChild)):Qe=u),bt(t,i,i.pendingProps.children,o),Cs(t,i),t===null&&(i.flags|=4194304),i.child;case 5:return t===null&&Ae&&((u=s=Qe)&&(s=oO(s,i.type,i.pendingProps,Nn),s!==null?(i.stateNode=s,Nt=i,Qe=xn(s.firstChild),Nn=!1,u=!0):u=!1),u||da(i)),Ce(i),u=i.type,h=i.pendingProps,v=t!==null?t.memoizedProps:null,s=h.children,vf(u,h)?s=null:v!==null&&vf(u,v)&&(i.flags|=32),i.memoizedState!==null&&(u=pd(t,i,OC,null,null,o),Go._currentValue=u),Cs(t,i),bt(t,i,s,o),i.child;case 6:return t===null&&Ae&&((t=o=Qe)&&(o=lO(o,i.pendingProps,Nn),o!==null?(i.stateNode=o,Nt=i,Qe=null,t=!0):t=!1),t||da(i)),null;case 13:return gv(t,i,o);case 4:return X(i,i.stateNode.containerInfo),s=i.pendingProps,t===null?i.child=cr(i,null,s,o):bt(t,i,s,o),i.child;case 11:return ov(t,i,i.type,i.pendingProps,o);case 7:return bt(t,i,i.pendingProps,o),i.child;case 8:return bt(t,i,i.pendingProps.children,o),i.child;case 12:return bt(t,i,i.pendingProps.children,o),i.child;case 10:return s=i.pendingProps,Oi(i,i.type,s.value),bt(t,i,s.children,o),i.child;case 9:return u=i.type._context,s=i.pendingProps.children,ha(i),u=wt(u),s=s(u),i.flags|=1,bt(t,i,s,o),i.child;case 14:return lv(t,i,i.type,i.pendingProps,o);case 15:return sv(t,i,i.type,i.pendingProps,o);case 19:return mv(t,i,o);case 31:return s=i.pendingProps,o=i.mode,s={mode:s.mode,children:s.children},t===null?(o=Os(s,o),o.ref=i.ref,i.child=o,o.return=i,i=o):(o=Kn(t.child,s),o.ref=i.ref,i.child=o,o.return=i,i=o),i;case 22:return cv(t,i,o);case 24:return ha(i),s=wt(lt),t===null?(u=od(),u===null&&(u=$e,h=ad(),u.pooledCache=h,h.refCount++,h!==null&&(u.pooledCacheLanes|=o),u=h),i.memoizedState={parent:s,cache:u},sd(i),Oi(i,lt,u)):((t.lanes&o)!==0&&(cd(t,i),Co(i,null,null,o),Eo()),u=t.memoizedState,h=i.memoizedState,u.parent!==s?(u={parent:s,cache:s},i.memoizedState=u,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=u),Oi(i,lt,s)):(s=h.cache,Oi(i,lt,s),s!==u.cache&&id(i,[lt],o,!0))),bt(t,i,i.pendingProps.children,o),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function ai(t){t.flags|=4}function bv(t,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!kb(i)){if(i=fn.current,i!==null&&((Re&4194048)===Re?An!==null:(Re&62914560)!==Re&&(Re&536870912)===0||i!==An))throw xo=ld,tm;t.flags|=8192}}function ws(t,i){i!==null&&(t.flags|=4),t.flags&16384&&(i=t.tag!==22?Kg():536870912,t.lanes|=i,hr|=i)}function Ao(t,i){if(!Ae)switch(t.tailMode){case"hidden":i=t.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.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?i||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function Ye(t){var i=t.alternate!==null&&t.alternate.child===t.child,o=0,s=0;if(i)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,i}function IC(t,i,o){var s=i.pendingProps;switch(Ju(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(i),null;case 1:return Ye(i),null;case 3:return o=i.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),ei(lt),Z(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(t===null||t.child===null)&&(ho(i)?ai(i):t===null||t.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Kp())),Ye(i),null;case 26:return o=i.memoizedState,t===null?(ai(i),o!==null?(Ye(i),bv(i,o)):(Ye(i),i.flags&=-16777217)):o?o!==t.memoizedState?(ai(i),Ye(i),bv(i,o)):(Ye(i),i.flags&=-16777217):(t.memoizedProps!==s&&ai(i),Ye(i),i.flags&=-16777217),null;case 27:Ie(i),o=ge.current;var u=i.type;if(t!==null&&i.stateNode!=null)t.memoizedProps!==s&&ai(i);else{if(!s){if(i.stateNode===null)throw Error(r(166));return Ye(i),null}t=le.current,ho(i)?Yp(i):(t=bb(u,s,o),i.stateNode=t,ai(i))}return Ye(i),null;case 5:if(Ie(i),o=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==s&&ai(i);else{if(!s){if(i.stateNode===null)throw Error(r(166));return Ye(i),null}if(t=le.current,ho(i))Yp(i);else{switch(u=Ls(ge.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[Ot]=i,t[It]=s;e:for(u=i.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===i)break e;for(;u.sibling===null;){if(u.return===null||u.return===i)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}i.stateNode=t;e:switch(xt(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&&ai(i)}}return Ye(i),i.flags&=-16777217,null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==s&&ai(i);else{if(typeof s!="string"&&i.stateNode===null)throw Error(r(166));if(t=ge.current,ho(i)){if(t=i.stateNode,o=i.memoizedProps,s=null,u=Nt,u!==null)switch(u.tag){case 27:case 5:s=u.memoizedProps}t[Ot]=i,t=!!(t.nodeValue===o||s!==null&&s.suppressHydrationWarning===!0||db(t.nodeValue,o)),t||da(i)}else t=Ls(t).createTextNode(s),t[Ot]=i,i.stateNode=t}return Ye(i),null;case 13:if(s=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=ho(i),s!==null&&s.dehydrated!==null){if(t===null){if(!u)throw Error(r(318));if(u=i.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[Ot]=i}else go(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ye(i),u=!1}else u=Kp(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return i.flags&256?(ni(i),i):(ni(i),null)}if(ni(i),(i.flags&128)!==0)return i.lanes=o,i;if(o=s!==null,t=t!==null&&t.memoizedState!==null,o){s=i.child,u=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(u=s.alternate.memoizedState.cachePool.pool);var h=null;s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==u&&(s.flags|=2048)}return o!==t&&o&&(i.child.flags|=8192),ws(i,i.updateQueue),Ye(i),null;case 4:return Z(),t===null&&ff(i.stateNode.containerInfo),Ye(i),null;case 10:return ei(i.type),Ye(i),null;case 19:if(ne(st),u=i.memoizedState,u===null)return Ye(i),null;if(s=(i.flags&128)!==0,h=u.rendering,h===null)if(s)Ao(u,!1);else{if(Ze!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(h=xs(t),h!==null){for(i.flags|=128,Ao(u,!1),t=h.updateQueue,i.updateQueue=t,ws(i,t),i.subtreeFlags=0,t=o,o=i.child;o!==null;)Wp(o,t),o=o.sibling;return ee(st,st.current&1|2),i.child}t=t.sibling}u.tail!==null&&rn()>Rs&&(i.flags|=128,s=!0,Ao(u,!1),i.lanes=4194304)}else{if(!s)if(t=xs(h),t!==null){if(i.flags|=128,s=!0,t=t.updateQueue,i.updateQueue=t,ws(i,t),Ao(u,!0),u.tail===null&&u.tailMode==="hidden"&&!h.alternate&&!Ae)return Ye(i),null}else 2*rn()-u.renderingStartTime>Rs&&o!==536870912&&(i.flags|=128,s=!0,Ao(u,!1),i.lanes=4194304);u.isBackwards?(h.sibling=i.child,i.child=h):(t=u.last,t!==null?t.sibling=h:i.child=h,u.last=h)}return u.tail!==null?(i=u.tail,u.rendering=i,u.tail=i.sibling,u.renderingStartTime=rn(),i.sibling=null,t=st.current,ee(st,s?t&1|2:t&1),i):(Ye(i),null);case 22:case 23:return ni(i),hd(),s=i.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(i.flags|=8192):s&&(i.flags|=8192),s?(o&536870912)!==0&&(i.flags&128)===0&&(Ye(i),i.subtreeFlags&6&&(i.flags|=8192)):Ye(i),o=i.updateQueue,o!==null&&ws(i,o.retryQueue),o=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048),t!==null&&ne(ga),null;case 24:return o=null,t!==null&&(o=t.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),ei(lt),Ye(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function VC(t,i){switch(Ju(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return ei(lt),Z(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return Ie(i),null;case 13:if(ni(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(r(340));go()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return ne(st),null;case 4:return Z(),null;case 10:return ei(i.type),null;case 22:case 23:return ni(i),hd(),t!==null&&ne(ga),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return ei(lt),null;case 25:return null;default:return null}}function yv(t,i){switch(Ju(i),i.tag){case 3:ei(lt),Z();break;case 26:case 27:case 5:Ie(i);break;case 4:Z();break;case 13:ni(i);break;case 19:ne(st);break;case 10:ei(i.type);break;case 22:case 23:ni(i),hd(),t!==null&&ne(ga);break;case 24:ei(lt)}}function _o(t,i){try{var o=i.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 h=o.create,v=o.inst;s=h(),v.destroy=s}o=o.next}while(o!==u)}}catch(x){Fe(i,i.return,x)}}function _i(t,i,o){try{var s=i.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var h=u.next;s=h;do{if((s.tag&t)===t){var v=s.inst,x=v.destroy;if(x!==void 0){v.destroy=void 0,u=i;var O=o,P=x;try{P()}catch(j){Fe(u,O,j)}}}s=s.next}while(s!==h)}}catch(j){Fe(i,i.return,j)}}function xv(t){var i=t.updateQueue;if(i!==null){var o=t.stateNode;try{lm(i,o)}catch(s){Fe(t,t.return,s)}}}function Sv(t,i,o){o.props=ma(t.type,t.memoizedProps),o.state=t.memoizedState;try{o.componentWillUnmount()}catch(s){Fe(t,i,s)}}function zo(t,i){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){Fe(t,i,u)}}function _n(t,i){var o=t.ref,s=t.refCleanup;if(o!==null)if(typeof s=="function")try{s()}catch(u){Fe(t,i,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(u){Fe(t,i,u)}else o.current=null}function Ev(t){var i=t.type,o=t.memoizedProps,s=t.stateNode;try{e:switch(i){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){Fe(t,t.return,u)}}function Fd(t,i,o){try{var s=t.stateNode;tO(s,t.type,o,i),s[It]=i}catch(u){Fe(t,t.return,u)}}function Cv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Bi(t.type)||t.tag===4}function Ud(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Cv(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&&Bi(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 jd(t,i,o){var s=t.tag;if(s===5||s===6)t=t.stateNode,i?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(t,i):(i=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,i.appendChild(t),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=Ms));else if(s!==4&&(s===27&&Bi(t.type)&&(o=t.stateNode,i=null),t=t.child,t!==null))for(jd(t,i,o),t=t.sibling;t!==null;)jd(t,i,o),t=t.sibling}function ks(t,i,o){var s=t.tag;if(s===5||s===6)t=t.stateNode,i?o.insertBefore(t,i):o.appendChild(t);else if(s!==4&&(s===27&&Bi(t.type)&&(o=t.stateNode),t=t.child,t!==null))for(ks(t,i,o),t=t.sibling;t!==null;)ks(t,i,o),t=t.sibling}function Ov(t){var i=t.stateNode,o=t.memoizedProps;try{for(var s=t.type,u=i.attributes;u.length;)i.removeAttributeNode(u[0]);xt(i,s,o),i[Ot]=t,i[It]=o}catch(h){Fe(t,t.return,h)}}var ri=!1,tt=!1,$d=!1,wv=typeof WeakSet=="function"?WeakSet:Set,gt=null;function DC(t,i){if(t=t.containerInfo,pf=$s,t=Pp(t),Uu(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,h=s.focusNode;s=s.focusOffset;try{o.nodeType,h.nodeType}catch{o=null;break e}var v=0,x=-1,O=-1,P=0,j=0,q=t,L=null;t:for(;;){for(var B;q!==o||u!==0&&q.nodeType!==3||(x=v+u),q!==h||s!==0&&q.nodeType!==3||(O=v+s),q.nodeType===3&&(v+=q.nodeValue.length),(B=q.firstChild)!==null;)L=q,q=B;for(;;){if(q===t)break t;if(L===o&&++P===u&&(x=v),L===h&&++j===s&&(O=v),(B=q.nextSibling)!==null)break;q=L,L=q.parentNode}q=B}o=x===-1||O===-1?null:{start:x,end:O}}else o=null}o=o||{start:0,end:0}}else o=null;for(mf={focusedElem:t,selectionRange:o},$s=!1,gt=i;gt!==null;)if(i=gt,t=i.child,(i.subtreeFlags&1024)!==0&&t!==null)t.return=i,gt=t;else for(;gt!==null;){switch(i=gt,h=i.alternate,t=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,o=i,u=h.memoizedProps,h=h.memoizedState,s=o.stateNode;try{var pe=ma(o.type,u,o.elementType===o.type);t=s.getSnapshotBeforeUpdate(pe,h),s.__reactInternalSnapshotBeforeUpdate=t}catch(ue){Fe(o,o.return,ue)}}break;case 3:if((t&1024)!==0){if(t=i.stateNode.containerInfo,o=t.nodeType,o===9)yf(t);else if(o===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":yf(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=i.sibling,t!==null){t.return=i.return,gt=t;break}gt=i.return}}function kv(t,i,o){var s=o.flags;switch(o.tag){case 0:case 11:case 15:zi(t,o),s&4&&_o(5,o);break;case 1:if(zi(t,o),s&4)if(t=o.stateNode,i===null)try{t.componentDidMount()}catch(v){Fe(o,o.return,v)}else{var u=ma(o.type,i.memoizedProps);i=i.memoizedState;try{t.componentDidUpdate(u,i,t.__reactInternalSnapshotBeforeUpdate)}catch(v){Fe(o,o.return,v)}}s&64&&xv(o),s&512&&zo(o,o.return);break;case 3:if(zi(t,o),s&64&&(t=o.updateQueue,t!==null)){if(i=null,o.child!==null)switch(o.child.tag){case 27:case 5:i=o.child.stateNode;break;case 1:i=o.child.stateNode}try{lm(t,i)}catch(v){Fe(o,o.return,v)}}break;case 27:i===null&&s&4&&Ov(o);case 26:case 5:zi(t,o),i===null&&s&4&&Ev(o),s&512&&zo(o,o.return);break;case 12:zi(t,o);break;case 13:zi(t,o),s&4&&Nv(t,o),s&64&&(t=o.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(o=$C.bind(null,o),sO(t,o))));break;case 22:if(s=o.memoizedState!==null||ri,!s){i=i!==null&&i.memoizedState!==null||tt,u=ri;var h=tt;ri=s,(tt=i)&&!h?Ii(t,o,(o.subtreeFlags&8772)!==0):zi(t,o),ri=u,tt=h}break;case 30:break;default:zi(t,o)}}function Tv(t){var i=t.alternate;i!==null&&(t.alternate=null,Tv(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&Cu(i)),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 We=null,Pt=!1;function oi(t,i,o){for(o=o.child;o!==null;)Rv(t,i,o),o=o.sibling}function Rv(t,i,o){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(Zr,o)}catch{}switch(o.tag){case 26:tt||_n(o,i),oi(t,i,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:tt||_n(o,i);var s=We,u=Pt;Bi(o.type)&&(We=o.stateNode,Pt=!1),oi(t,i,o),Fo(o.stateNode),We=s,Pt=u;break;case 5:tt||_n(o,i);case 6:if(s=We,u=Pt,We=null,oi(t,i,o),We=s,Pt=u,We!==null)if(Pt)try{(We.nodeType===9?We.body:We.nodeName==="HTML"?We.ownerDocument.body:We).removeChild(o.stateNode)}catch(h){Fe(o,i,h)}else try{We.removeChild(o.stateNode)}catch(h){Fe(o,i,h)}break;case 18:We!==null&&(Pt?(t=We,mb(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,o.stateNode),Xo(t)):mb(We,o.stateNode));break;case 4:s=We,u=Pt,We=o.stateNode.containerInfo,Pt=!0,oi(t,i,o),We=s,Pt=u;break;case 0:case 11:case 14:case 15:tt||_i(2,o,i),tt||_i(4,o,i),oi(t,i,o);break;case 1:tt||(_n(o,i),s=o.stateNode,typeof s.componentWillUnmount=="function"&&Sv(o,i,s)),oi(t,i,o);break;case 21:oi(t,i,o);break;case 22:tt=(s=tt)||o.memoizedState!==null,oi(t,i,o),tt=s;break;default:oi(t,i,o)}}function Nv(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Xo(t)}catch(o){Fe(i,i.return,o)}}function PC(t){switch(t.tag){case 13:case 19:var i=t.stateNode;return i===null&&(i=t.stateNode=new wv),i;case 22:return t=t.stateNode,i=t._retryCache,i===null&&(i=t._retryCache=new wv),i;default:throw Error(r(435,t.tag))}}function Gd(t,i){var o=PC(t);i.forEach(function(s){var u=GC.bind(null,t,s);o.has(s)||(o.add(s),s.then(u,u))})}function qt(t,i){var o=i.deletions;if(o!==null)for(var s=0;s<o.length;s++){var u=o[s],h=t,v=i,x=v;e:for(;x!==null;){switch(x.tag){case 27:if(Bi(x.type)){We=x.stateNode,Pt=!1;break e}break;case 5:We=x.stateNode,Pt=!1;break e;case 3:case 4:We=x.stateNode.containerInfo,Pt=!0;break e}x=x.return}if(We===null)throw Error(r(160));Rv(h,v,u),We=null,Pt=!1,h=u.alternate,h!==null&&(h.return=null),u.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)Av(i,t),i=i.sibling}var yn=null;function Av(t,i){var o=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:qt(i,t),Yt(t),s&4&&(_i(3,t,t.return),_o(3,t),_i(5,t,t.return));break;case 1:qt(i,t),Yt(t),s&512&&(tt||o===null||_n(o,o.return)),s&64&&ri&&(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=yn;if(qt(i,t),Yt(t),s&512&&(tt||o===null||_n(o,o.return)),s&4){var h=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":h=u.getElementsByTagName("title")[0],(!h||h[to]||h[Ot]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=u.createElement(s),u.head.insertBefore(h,u.querySelector("head > title"))),xt(h,s,o),h[Ot]=t,ft(h),s=h;break e;case"link":var v=Ob("link","href",u).get(s+(o.href||""));if(v){for(var x=0;x<v.length;x++)if(h=v[x],h.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&h.getAttribute("rel")===(o.rel==null?null:o.rel)&&h.getAttribute("title")===(o.title==null?null:o.title)&&h.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){v.splice(x,1);break t}}h=u.createElement(s),xt(h,s,o),u.head.appendChild(h);break;case"meta":if(v=Ob("meta","content",u).get(s+(o.content||""))){for(x=0;x<v.length;x++)if(h=v[x],h.getAttribute("content")===(o.content==null?null:""+o.content)&&h.getAttribute("name")===(o.name==null?null:o.name)&&h.getAttribute("property")===(o.property==null?null:o.property)&&h.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&h.getAttribute("charset")===(o.charSet==null?null:o.charSet)){v.splice(x,1);break t}}h=u.createElement(s),xt(h,s,o),u.head.appendChild(h);break;default:throw Error(r(468,s))}h[Ot]=t,ft(h),s=h}t.stateNode=s}else wb(u,t.type,t.stateNode);else t.stateNode=Cb(u,s,t.memoizedProps);else h!==s?(h===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):h.count--,s===null?wb(u,t.type,t.stateNode):Cb(u,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Fd(t,t.memoizedProps,o.memoizedProps)}break;case 27:qt(i,t),Yt(t),s&512&&(tt||o===null||_n(o,o.return)),o!==null&&s&4&&Fd(t,t.memoizedProps,o.memoizedProps);break;case 5:if(qt(i,t),Yt(t),s&512&&(tt||o===null||_n(o,o.return)),t.flags&32){u=t.stateNode;try{Ga(u,"")}catch(B){Fe(t,t.return,B)}}s&4&&t.stateNode!=null&&(u=t.memoizedProps,Fd(t,u,o!==null?o.memoizedProps:u)),s&1024&&($d=!0);break;case 6:if(qt(i,t),Yt(t),s&4){if(t.stateNode===null)throw Error(r(162));s=t.memoizedProps,o=t.stateNode;try{o.nodeValue=s}catch(B){Fe(t,t.return,B)}}break;case 3:if(Fs=null,u=yn,yn=Bs(i.containerInfo),qt(i,t),yn=u,Yt(t),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Xo(i.containerInfo)}catch(B){Fe(t,t.return,B)}$d&&($d=!1,_v(t));break;case 4:s=yn,yn=Bs(t.stateNode.containerInfo),qt(i,t),Yt(t),yn=s;break;case 12:qt(i,t),Yt(t);break;case 13:qt(i,t),Yt(t),t.child.flags&8192&&t.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Qd=rn()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Gd(t,s)));break;case 22:u=t.memoizedState!==null;var O=o!==null&&o.memoizedState!==null,P=ri,j=tt;if(ri=P||u,tt=j||O,qt(i,t),tt=j,ri=P,Yt(t),s&8192)e:for(i=t.stateNode,i._visibility=u?i._visibility&-2:i._visibility|1,u&&(o===null||O||ri||tt||va(t)),o=null,i=t;;){if(i.tag===5||i.tag===26){if(o===null){O=o=i;try{if(h=O.stateNode,u)v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{x=O.stateNode;var q=O.memoizedProps.style,L=q!=null&&q.hasOwnProperty("display")?q.display:null;x.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(B){Fe(O,O.return,B)}}}else if(i.tag===6){if(o===null){O=i;try{O.stateNode.nodeValue=u?"":O.memoizedProps}catch(B){Fe(O,O.return,B)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===t)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;o===i&&(o=null),i=i.return}o===i&&(o=null),i.sibling.return=i.return,i=i.sibling}s&4&&(s=t.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,Gd(t,o))));break;case 19:qt(i,t),Yt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Gd(t,s)));break;case 30:break;case 21:break;default:qt(i,t),Yt(t)}}function Yt(t){var i=t.flags;if(i&2){try{for(var o,s=t.return;s!==null;){if(Cv(s)){o=s;break}s=s.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var u=o.stateNode,h=Ud(t);ks(t,h,u);break;case 5:var v=o.stateNode;o.flags&32&&(Ga(v,""),o.flags&=-33);var x=Ud(t);ks(t,x,v);break;case 3:case 4:var O=o.stateNode.containerInfo,P=Ud(t);jd(t,P,O);break;default:throw Error(r(161))}}catch(j){Fe(t,t.return,j)}t.flags&=-3}i&4096&&(t.flags&=-4097)}function _v(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var i=t;_v(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),t=t.sibling}}function zi(t,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)kv(t,i.alternate,i),i=i.sibling}function va(t){for(t=t.child;t!==null;){var i=t;switch(i.tag){case 0:case 11:case 14:case 15:_i(4,i,i.return),va(i);break;case 1:_n(i,i.return);var o=i.stateNode;typeof o.componentWillUnmount=="function"&&Sv(i,i.return,o),va(i);break;case 27:Fo(i.stateNode);case 26:case 5:_n(i,i.return),va(i);break;case 22:i.memoizedState===null&&va(i);break;case 30:va(i);break;default:va(i)}t=t.sibling}}function Ii(t,i,o){for(o=o&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var s=i.alternate,u=t,h=i,v=h.flags;switch(h.tag){case 0:case 11:case 15:Ii(u,h,o),_o(4,h);break;case 1:if(Ii(u,h,o),s=h,u=s.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(P){Fe(s,s.return,P)}if(s=h,u=s.updateQueue,u!==null){var x=s.stateNode;try{var O=u.shared.hiddenCallbacks;if(O!==null)for(u.shared.hiddenCallbacks=null,u=0;u<O.length;u++)om(O[u],x)}catch(P){Fe(s,s.return,P)}}o&&v&64&&xv(h),zo(h,h.return);break;case 27:Ov(h);case 26:case 5:Ii(u,h,o),o&&s===null&&v&4&&Ev(h),zo(h,h.return);break;case 12:Ii(u,h,o);break;case 13:Ii(u,h,o),o&&v&4&&Nv(u,h);break;case 22:h.memoizedState===null&&Ii(u,h,o),zo(h,h.return);break;case 30:break;default:Ii(u,h,o)}i=i.sibling}}function Wd(t,i){var o=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),t=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(t=i.memoizedState.cachePool.pool),t!==o&&(t!=null&&t.refCount++,o!=null&&vo(o))}function qd(t,i){t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&vo(t))}function zn(t,i,o,s){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)zv(t,i,o,s),i=i.sibling}function zv(t,i,o,s){var u=i.flags;switch(i.tag){case 0:case 11:case 15:zn(t,i,o,s),u&2048&&_o(9,i);break;case 1:zn(t,i,o,s);break;case 3:zn(t,i,o,s),u&2048&&(t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&vo(t)));break;case 12:if(u&2048){zn(t,i,o,s),t=i.stateNode;try{var h=i.memoizedProps,v=h.id,x=h.onPostCommit;typeof x=="function"&&x(v,i.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(O){Fe(i,i.return,O)}}else zn(t,i,o,s);break;case 13:zn(t,i,o,s);break;case 23:break;case 22:h=i.stateNode,v=i.alternate,i.memoizedState!==null?h._visibility&2?zn(t,i,o,s):Io(t,i):h._visibility&2?zn(t,i,o,s):(h._visibility|=2,ur(t,i,o,s,(i.subtreeFlags&10256)!==0)),u&2048&&Wd(v,i);break;case 24:zn(t,i,o,s),u&2048&&qd(i.alternate,i);break;default:zn(t,i,o,s)}}function ur(t,i,o,s,u){for(u=u&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var h=t,v=i,x=o,O=s,P=v.flags;switch(v.tag){case 0:case 11:case 15:ur(h,v,x,O,u),_o(8,v);break;case 23:break;case 22:var j=v.stateNode;v.memoizedState!==null?j._visibility&2?ur(h,v,x,O,u):Io(h,v):(j._visibility|=2,ur(h,v,x,O,u)),u&&P&2048&&Wd(v.alternate,v);break;case 24:ur(h,v,x,O,u),u&&P&2048&&qd(v.alternate,v);break;default:ur(h,v,x,O,u)}i=i.sibling}}function Io(t,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var o=t,s=i,u=s.flags;switch(s.tag){case 22:Io(o,s),u&2048&&Wd(s.alternate,s);break;case 24:Io(o,s),u&2048&&qd(s.alternate,s);break;default:Io(o,s)}i=i.sibling}}var Vo=8192;function dr(t){if(t.subtreeFlags&Vo)for(t=t.child;t!==null;)Iv(t),t=t.sibling}function Iv(t){switch(t.tag){case 26:dr(t),t.flags&Vo&&t.memoizedState!==null&&SO(yn,t.memoizedState,t.memoizedProps);break;case 5:dr(t);break;case 3:case 4:var i=yn;yn=Bs(t.stateNode.containerInfo),dr(t),yn=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Vo,Vo=16777216,dr(t),Vo=i):dr(t));break;default:dr(t)}}function Vv(t){var i=t.alternate;if(i!==null&&(t=i.child,t!==null)){i.child=null;do i=t.sibling,t.sibling=null,t=i;while(t!==null)}}function Do(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var s=i[o];gt=s,Pv(s,t)}Vv(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dv(t),t=t.sibling}function Dv(t){switch(t.tag){case 0:case 11:case 15:Do(t),t.flags&2048&&_i(9,t,t.return);break;case 3:Do(t);break;case 12:Do(t);break;case 22:var i=t.stateNode;t.memoizedState!==null&&i._visibility&2&&(t.return===null||t.return.tag!==13)?(i._visibility&=-3,Ts(t)):Do(t);break;default:Do(t)}}function Ts(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var s=i[o];gt=s,Pv(s,t)}Vv(t)}for(t=t.child;t!==null;){switch(i=t,i.tag){case 0:case 11:case 15:_i(8,i,i.return),Ts(i);break;case 22:o=i.stateNode,o._visibility&2&&(o._visibility&=-3,Ts(i));break;default:Ts(i)}t=t.sibling}}function Pv(t,i){for(;gt!==null;){var o=gt;switch(o.tag){case 0:case 11:case 15:_i(8,o,i);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:vo(o.memoizedState.cache)}if(s=o.child,s!==null)s.return=o,gt=s;else e:for(o=t;gt!==null;){s=gt;var u=s.sibling,h=s.return;if(Tv(s),s===o){gt=null;break e}if(u!==null){u.return=h,gt=u;break e}gt=h}}}var MC={getCacheForType:function(t){var i=wt(lt),o=i.data.get(t);return o===void 0&&(o=t(),i.data.set(t,o)),o}},LC=typeof WeakMap=="function"?WeakMap:Map,Pe=0,$e=null,ke=null,Re=0,Me=0,Xt=null,Vi=!1,fr=!1,Yd=!1,li=0,Ze=0,Di=0,ba=0,Xd=0,hn=0,hr=0,Po=null,Mt=null,Kd=!1,Qd=0,Rs=1/0,Ns=null,Pi=null,yt=0,Mi=null,gr=null,pr=0,Zd=0,Jd=null,Mv=null,Mo=0,ef=null;function Kt(){if((Pe&2)!==0&&Re!==0)return Re&-Re;if(H.T!==null){var t=nr;return t!==0?t:sf()}return Jg()}function Lv(){hn===0&&(hn=(Re&536870912)===0||Ae?Xg():536870912);var t=fn.current;return t!==null&&(t.flags|=32),hn}function Qt(t,i,o){(t===$e&&(Me===2||Me===9)||t.cancelPendingCommit!==null)&&(mr(t,0),Li(t,Re,hn,!1)),eo(t,o),((Pe&2)===0||t!==$e)&&(t===$e&&((Pe&2)===0&&(ba|=o),Ze===4&&Li(t,Re,hn,!1)),In(t))}function Bv(t,i,o){if((Pe&6)!==0)throw Error(r(327));var s=!o&&(i&124)===0&&(i&t.expiredLanes)===0||Jr(t,i),u=s?FC(t,i):af(t,i,!0),h=s;do{if(u===0){fr&&!s&&Li(t,i,0,!1);break}else{if(o=t.current.alternate,h&&!BC(o)){u=af(t,i,!1),h=!1;continue}if(u===2){if(h=i,t.errorRecoveryDisabledLanes&h)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){i=v;e:{var x=t;u=Po;var O=x.current.memoizedState.isDehydrated;if(O&&(mr(x,v).flags|=256),v=af(x,v,!1),v!==2){if(Yd&&!O){x.errorRecoveryDisabledLanes|=h,ba|=h,u=4;break e}h=Mt,Mt=u,h!==null&&(Mt===null?Mt=h:Mt.push.apply(Mt,h))}u=v}if(h=!1,u!==2)continue}}if(u===1){mr(t,0),Li(t,i,0,!0);break}e:{switch(s=t,h=u,h){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Li(s,i,hn,!Vi);break e;case 2:Mt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(u=Qd+300-rn(),10<u)){if(Li(s,i,hn,!Vi),Hl(s,0,!0)!==0)break e;s.timeoutHandle=gb(Hv.bind(null,s,o,Mt,Ns,Kd,i,hn,ba,hr,Vi,h,2,-0,0),u);break e}Hv(s,o,Mt,Ns,Kd,i,hn,ba,hr,Vi,h,0,-0,0)}}break}while(!0);In(t)}function Hv(t,i,o,s,u,h,v,x,O,P,j,q,L,B){if(t.timeoutHandle=-1,q=i.subtreeFlags,(q&8192||(q&16785408)===16785408)&&($o={stylesheets:null,count:0,unsuspend:xO},Iv(i),q=EO(),q!==null)){t.cancelPendingCommit=q(qv.bind(null,t,i,h,o,s,u,v,x,O,j,1,L,B)),Li(t,h,v,!P);return}qv(t,i,h,o,s,u,v,x,O)}function BC(t){for(var i=t;;){var o=i.tag;if((o===0||o===11||o===15)&&i.flags&16384&&(o=i.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var s=0;s<o.length;s++){var u=o[s],h=u.getSnapshot;u=u.value;try{if(!Gt(h(),u))return!1}catch{return!1}}if(o=i.child,i.subtreeFlags&16384&&o!==null)o.return=i,i=o;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Li(t,i,o,s){i&=~Xd,i&=~ba,t.suspendedLanes|=i,t.pingedLanes&=~i,s&&(t.warmLanes|=i),s=t.expirationTimes;for(var u=i;0<u;){var h=31-$t(u),v=1<<h;s[h]=-1,u&=~v}o!==0&&Qg(t,o,i)}function As(){return(Pe&6)===0?(Lo(0),!1):!0}function tf(){if(ke!==null){if(Me===0)var t=ke.return;else t=ke,Jn=fa=null,bd(t),sr=null,Ro=0,t=ke;for(;t!==null;)yv(t.alternate,t),t=t.return;ke=null}}function mr(t,i){var o=t.timeoutHandle;o!==-1&&(t.timeoutHandle=-1,iO(o)),o=t.cancelPendingCommit,o!==null&&(t.cancelPendingCommit=null,o()),tf(),$e=t,ke=o=Kn(t.current,null),Re=i,Me=0,Xt=null,Vi=!1,fr=Jr(t,i),Yd=!1,hr=hn=Xd=ba=Di=Ze=0,Mt=Po=null,Kd=!1,(i&8)!==0&&(i|=i&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=i;0<s;){var u=31-$t(s),h=1<<u;i|=t[u],s&=~h}return li=i,Zl(),o}function Fv(t,i){xe=null,H.H=vs,i===yo||i===ls?(i=am(),Me=3):i===tm?(i=am(),Me=4):Me=i===rv?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Xt=i,ke===null&&(Ze=1,Es(t,sn(i,t.current)))}function Uv(){var t=H.H;return H.H=vs,t===null?vs:t}function jv(){var t=H.A;return H.A=MC,t}function nf(){Ze=4,Vi||(Re&4194048)!==Re&&fn.current!==null||(fr=!0),(Di&134217727)===0&&(ba&134217727)===0||$e===null||Li($e,Re,hn,!1)}function af(t,i,o){var s=Pe;Pe|=2;var u=Uv(),h=jv();($e!==t||Re!==i)&&(Ns=null,mr(t,i)),i=!1;var v=Ze;e:do try{if(Me!==0&&ke!==null){var x=ke,O=Xt;switch(Me){case 8:tf(),v=6;break e;case 3:case 2:case 9:case 6:fn.current===null&&(i=!0);var P=Me;if(Me=0,Xt=null,vr(t,x,O,P),o&&fr){v=0;break e}break;default:P=Me,Me=0,Xt=null,vr(t,x,O,P)}}HC(),v=Ze;break}catch(j){Fv(t,j)}while(!0);return i&&t.shellSuspendCounter++,Jn=fa=null,Pe=s,H.H=u,H.A=h,ke===null&&($e=null,Re=0,Zl()),v}function HC(){for(;ke!==null;)$v(ke)}function FC(t,i){var o=Pe;Pe|=2;var s=Uv(),u=jv();$e!==t||Re!==i?(Ns=null,Rs=rn()+500,mr(t,i)):fr=Jr(t,i);e:do try{if(Me!==0&&ke!==null){i=ke;var h=Xt;t:switch(Me){case 1:Me=0,Xt=null,vr(t,i,h,1);break;case 2:case 9:if(nm(h)){Me=0,Xt=null,Gv(i);break}i=function(){Me!==2&&Me!==9||$e!==t||(Me=7),In(t)},h.then(i,i);break e;case 3:Me=7;break e;case 4:Me=5;break e;case 7:nm(h)?(Me=0,Xt=null,Gv(i)):(Me=0,Xt=null,vr(t,i,h,7));break;case 5:var v=null;switch(ke.tag){case 26:v=ke.memoizedState;case 5:case 27:var x=ke;if(!v||kb(v)){Me=0,Xt=null;var O=x.sibling;if(O!==null)ke=O;else{var P=x.return;P!==null?(ke=P,_s(P)):ke=null}break t}}Me=0,Xt=null,vr(t,i,h,5);break;case 6:Me=0,Xt=null,vr(t,i,h,6);break;case 8:tf(),Ze=6;break e;default:throw Error(r(462))}}UC();break}catch(j){Fv(t,j)}while(!0);return Jn=fa=null,H.H=s,H.A=u,Pe=o,ke!==null?0:($e=null,Re=0,Zl(),Ze)}function UC(){for(;ke!==null&&!Pa();)$v(ke)}function $v(t){var i=vv(t.alternate,t,li);t.memoizedProps=t.pendingProps,i===null?_s(t):ke=i}function Gv(t){var i=t,o=i.alternate;switch(i.tag){case 15:case 0:i=dv(o,i,i.pendingProps,i.type,void 0,Re);break;case 11:i=dv(o,i,i.pendingProps,i.type.render,i.ref,Re);break;case 5:bd(i);default:yv(o,i),i=ke=Wp(i,li),i=vv(o,i,li)}t.memoizedProps=t.pendingProps,i===null?_s(t):ke=i}function vr(t,i,o,s){Jn=fa=null,bd(i),sr=null,Ro=0;var u=i.return;try{if(_C(t,u,i,o,Re)){Ze=1,Es(t,sn(o,t.current)),ke=null;return}}catch(h){if(u!==null)throw ke=u,h;Ze=1,Es(t,sn(o,t.current)),ke=null;return}i.flags&32768?(Ae||s===1?t=!0:fr||(Re&536870912)!==0?t=!1:(Vi=t=!0,(s===2||s===9||s===3||s===6)&&(s=fn.current,s!==null&&s.tag===13&&(s.flags|=16384))),Wv(i,t)):_s(i)}function _s(t){var i=t;do{if((i.flags&32768)!==0){Wv(i,Vi);return}t=i.return;var o=IC(i.alternate,i,li);if(o!==null){ke=o;return}if(i=i.sibling,i!==null){ke=i;return}ke=i=t}while(i!==null);Ze===0&&(Ze=5)}function Wv(t,i){do{var o=VC(t.alternate,t);if(o!==null){o.flags&=32767,ke=o;return}if(o=t.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!i&&(t=t.sibling,t!==null)){ke=t;return}ke=t=o}while(t!==null);Ze=6,ke=null}function qv(t,i,o,s,u,h,v,x,O){t.cancelPendingCommit=null;do zs();while(yt!==0);if((Pe&6)!==0)throw Error(r(327));if(i!==null){if(i===t.current)throw Error(r(177));if(h=i.lanes|i.childLanes,h|=qu,xE(t,o,h,v,x,O),t===$e&&(ke=$e=null,Re=0),gr=i,Mi=t,pr=o,Zd=h,Jd=u,Mv=s,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,WC(ta,function(){return Zv(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||s){s=H.T,H.T=null,u=Q.p,Q.p=2,v=Pe,Pe|=4;try{DC(t,i,o)}finally{Pe=v,Q.p=u,H.T=s}}yt=1,Yv(),Xv(),Kv()}}function Yv(){if(yt===1){yt=0;var t=Mi,i=gr,o=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||o){o=H.T,H.T=null;var s=Q.p;Q.p=2;var u=Pe;Pe|=4;try{Av(i,t);var h=mf,v=Pp(t.containerInfo),x=h.focusedElem,O=h.selectionRange;if(v!==x&&x&&x.ownerDocument&&Dp(x.ownerDocument.documentElement,x)){if(O!==null&&Uu(x)){var P=O.start,j=O.end;if(j===void 0&&(j=P),"selectionStart"in x)x.selectionStart=P,x.selectionEnd=Math.min(j,x.value.length);else{var q=x.ownerDocument||document,L=q&&q.defaultView||window;if(L.getSelection){var B=L.getSelection(),pe=x.textContent.length,ue=Math.min(O.start,pe),He=O.end===void 0?ue:Math.min(O.end,pe);!B.extend&&ue>He&&(v=He,He=ue,ue=v);var I=Vp(x,ue),_=Vp(x,He);if(I&&_&&(B.rangeCount!==1||B.anchorNode!==I.node||B.anchorOffset!==I.offset||B.focusNode!==_.node||B.focusOffset!==_.offset)){var V=q.createRange();V.setStart(I.node,I.offset),B.removeAllRanges(),ue>He?(B.addRange(V),B.extend(_.node,_.offset)):(V.setEnd(_.node,_.offset),B.addRange(V))}}}}for(q=[],B=x;B=B.parentNode;)B.nodeType===1&&q.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<q.length;x++){var G=q[x];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}$s=!!pf,mf=pf=null}finally{Pe=u,Q.p=s,H.T=o}}t.current=i,yt=2}}function Xv(){if(yt===2){yt=0;var t=Mi,i=gr,o=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||o){o=H.T,H.T=null;var s=Q.p;Q.p=2;var u=Pe;Pe|=4;try{kv(t,i.alternate,i)}finally{Pe=u,Q.p=s,H.T=o}}yt=3}}function Kv(){if(yt===4||yt===3){yt=0,Kr();var t=Mi,i=gr,o=pr,s=Mv;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?yt=5:(yt=0,gr=Mi=null,Qv(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Pi=null),Su(o),i=i.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(Zr,i,void 0,(i.current.flags&128)===128)}catch{}if(s!==null){i=H.T,u=Q.p,Q.p=2,H.T=null;try{for(var h=t.onRecoverableError,v=0;v<s.length;v++){var x=s[v];h(x.value,{componentStack:x.stack})}}finally{H.T=i,Q.p=u}}(pr&3)!==0&&zs(),In(t),u=t.pendingLanes,(o&4194090)!==0&&(u&42)!==0?t===ef?Mo++:(Mo=0,ef=t):Mo=0,Lo(0)}}function Qv(t,i){(t.pooledCacheLanes&=i)===0&&(i=t.pooledCache,i!=null&&(t.pooledCache=null,vo(i)))}function zs(t){return Yv(),Xv(),Kv(),Zv()}function Zv(){if(yt!==5)return!1;var t=Mi,i=Zd;Zd=0;var o=Su(pr),s=H.T,u=Q.p;try{Q.p=32>o?32:o,H.T=null,o=Jd,Jd=null;var h=Mi,v=pr;if(yt=0,gr=Mi=null,pr=0,(Pe&6)!==0)throw Error(r(331));var x=Pe;if(Pe|=4,Dv(h.current),zv(h,h.current,v,o),Pe=x,Lo(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(Zr,h)}catch{}return!0}finally{Q.p=u,H.T=s,Qv(t,i)}}function Jv(t,i,o){i=sn(o,i),i=zd(t.stateNode,i,2),t=Ti(t,i,2),t!==null&&(eo(t,2),In(t))}function Fe(t,i,o){if(t.tag===3)Jv(t,t,o);else for(;i!==null;){if(i.tag===3){Jv(i,t,o);break}else if(i.tag===1){var s=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Pi===null||!Pi.has(s))){t=sn(o,t),o=iv(2),s=Ti(i,o,2),s!==null&&(av(o,s,i,t),eo(s,2),In(s));break}}i=i.return}}function rf(t,i,o){var s=t.pingCache;if(s===null){s=t.pingCache=new LC;var u=new Set;s.set(i,u)}else u=s.get(i),u===void 0&&(u=new Set,s.set(i,u));u.has(o)||(Yd=!0,u.add(o),t=jC.bind(null,t,i,o),i.then(t,t))}function jC(t,i,o){var s=t.pingCache;s!==null&&s.delete(i),t.pingedLanes|=t.suspendedLanes&o,t.warmLanes&=~o,$e===t&&(Re&o)===o&&(Ze===4||Ze===3&&(Re&62914560)===Re&&300>rn()-Qd?(Pe&2)===0&&mr(t,0):Xd|=o,hr===Re&&(hr=0)),In(t)}function eb(t,i){i===0&&(i=Kg()),t=Za(t,i),t!==null&&(eo(t,i),In(t))}function $C(t){var i=t.memoizedState,o=0;i!==null&&(o=i.retryLane),eb(t,o)}function GC(t,i){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(i),eb(t,o)}function WC(t,i){return Je(t,i)}var Is=null,br=null,of=!1,Vs=!1,lf=!1,ya=0;function In(t){t!==br&&t.next===null&&(br===null?Is=br=t:br=br.next=t),Vs=!0,of||(of=!0,YC())}function Lo(t,i){if(!lf&&Vs){lf=!0;do for(var o=!1,s=Is;s!==null;){if(t!==0){var u=s.pendingLanes;if(u===0)var h=0;else{var v=s.suspendedLanes,x=s.pingedLanes;h=(1<<31-$t(42|t)+1)-1,h&=u&~(v&~x),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(o=!0,ab(s,h))}else h=Re,h=Hl(s,s===$e?h:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(h&3)===0||Jr(s,h)||(o=!0,ab(s,h));s=s.next}while(o);lf=!1}}function qC(){tb()}function tb(){Vs=of=!1;var t=0;ya!==0&&(nO()&&(t=ya),ya=0);for(var i=rn(),o=null,s=Is;s!==null;){var u=s.next,h=nb(s,i);h===0?(s.next=null,o===null?Is=u:o.next=u,u===null&&(br=o)):(o=s,(t!==0||(h&3)!==0)&&(Vs=!0)),s=u}Lo(t)}function nb(t,i){for(var o=t.suspendedLanes,s=t.pingedLanes,u=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var v=31-$t(h),x=1<<v,O=u[v];O===-1?((x&o)===0||(x&s)!==0)&&(u[v]=yE(x,i)):O<=i&&(t.expiredLanes|=x),h&=~x}if(i=$e,o=Re,o=Hl(t,t===i?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,o===0||t===i&&(Me===2||Me===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Ut(s),t.callbackNode=null,t.callbackPriority=0;if((o&3)===0||Jr(t,o)){if(i=o&-o,i===t.callbackPriority)return i;switch(s!==null&&Ut(s),Su(o)){case 2:case 8:o=Pl;break;case 32:o=ta;break;case 268435456:o=Ma;break;default:o=ta}return s=ib.bind(null,t),o=Je(o,s),t.callbackPriority=i,t.callbackNode=o,i}return s!==null&&s!==null&&Ut(s),t.callbackPriority=2,t.callbackNode=null,2}function ib(t,i){if(yt!==0&&yt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var o=t.callbackNode;if(zs()&&t.callbackNode!==o)return null;var s=Re;return s=Hl(t,t===$e?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(Bv(t,s,i),nb(t,rn()),t.callbackNode!=null&&t.callbackNode===o?ib.bind(null,t):null)}function ab(t,i){if(zs())return null;Bv(t,i,!0)}function YC(){aO(function(){(Pe&6)!==0?Je(Qr,qC):tb()})}function sf(){return ya===0&&(ya=Xg()),ya}function rb(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Gl(""+t)}function ob(t,i){var o=i.ownerDocument.createElement("input");return o.name=i.name,o.value=i.value,t.id&&o.setAttribute("form",t.id),i.parentNode.insertBefore(o,i),t=new FormData(t),o.parentNode.removeChild(o),t}function XC(t,i,o,s,u){if(i==="submit"&&o&&o.stateNode===u){var h=rb((u[It]||null).action),v=s.submitter;v&&(i=(i=v[It]||null)?rb(i.formAction):v.getAttribute("formAction"),i!==null&&(h=i,v=null));var x=new Xl("action","action",null,s,u);t.push({event:x,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(ya!==0){var O=v?ob(u,v):new FormData(u);Td(o,{pending:!0,data:O,method:u.method,action:h},null,O)}}else typeof h=="function"&&(x.preventDefault(),O=v?ob(u,v):new FormData(u),Td(o,{pending:!0,data:O,method:u.method,action:h},h,O))},currentTarget:u}]})}}for(var cf=0;cf<Wu.length;cf++){var uf=Wu[cf],KC=uf.toLowerCase(),QC=uf[0].toUpperCase()+uf.slice(1);bn(KC,"on"+QC)}bn(Bp,"onAnimationEnd"),bn(Hp,"onAnimationIteration"),bn(Fp,"onAnimationStart"),bn("dblclick","onDoubleClick"),bn("focusin","onFocus"),bn("focusout","onBlur"),bn(gC,"onTransitionRun"),bn(pC,"onTransitionStart"),bn(mC,"onTransitionCancel"),bn(Up,"onTransitionEnd"),Ua("onMouseEnter",["mouseout","mouseover"]),Ua("onMouseLeave",["mouseout","mouseover"]),Ua("onPointerEnter",["pointerout","pointerover"]),Ua("onPointerLeave",["pointerout","pointerover"]),ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ia("onBeforeInput",["compositionend","keypress","textInput","paste"]),ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bo="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(" "),ZC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bo));function lb(t,i){i=(i&4)!==0;for(var o=0;o<t.length;o++){var s=t[o],u=s.event;s=s.listeners;e:{var h=void 0;if(i)for(var v=s.length-1;0<=v;v--){var x=s[v],O=x.instance,P=x.currentTarget;if(x=x.listener,O!==h&&u.isPropagationStopped())break e;h=x,u.currentTarget=P;try{h(u)}catch(j){Ss(j)}u.currentTarget=null,h=O}else for(v=0;v<s.length;v++){if(x=s[v],O=x.instance,P=x.currentTarget,x=x.listener,O!==h&&u.isPropagationStopped())break e;h=x,u.currentTarget=P;try{h(u)}catch(j){Ss(j)}u.currentTarget=null,h=O}}}}function Te(t,i){var o=i[Eu];o===void 0&&(o=i[Eu]=new Set);var s=t+"__bubble";o.has(s)||(sb(i,t,2,!1),o.add(s))}function df(t,i,o){var s=0;i&&(s|=4),sb(o,t,s,i)}var Ds="_reactListening"+Math.random().toString(36).slice(2);function ff(t){if(!t[Ds]){t[Ds]=!0,tp.forEach(function(o){o!=="selectionchange"&&(ZC.has(o)||df(o,!1,t),df(o,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[Ds]||(i[Ds]=!0,df("selectionchange",!1,i))}}function sb(t,i,o,s){switch(zb(i)){case 2:var u=wO;break;case 8:u=kO;break;default:u=kf}o=u.bind(null,i,o,t),u=void 0,!Iu||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(u=!0),s?u!==void 0?t.addEventListener(i,o,{capture:!0,passive:u}):t.addEventListener(i,o,!0):u!==void 0?t.addEventListener(i,o,{passive:u}):t.addEventListener(i,o,!1)}function hf(t,i,o,s,u){var h=s;if((i&1)===0&&(i&2)===0&&s!==null)e:for(;;){if(s===null)return;var v=s.tag;if(v===3||v===4){var x=s.stateNode.containerInfo;if(x===u)break;if(v===4)for(v=s.return;v!==null;){var O=v.tag;if((O===3||O===4)&&v.stateNode.containerInfo===u)return;v=v.return}for(;x!==null;){if(v=Ba(x),v===null)return;if(O=v.tag,O===5||O===6||O===26||O===27){s=h=v;continue e}x=x.parentNode}}s=s.return}pp(function(){var P=h,j=_u(o),q=[];e:{var L=jp.get(t);if(L!==void 0){var B=Xl,pe=t;switch(t){case"keypress":if(ql(o)===0)break e;case"keydown":case"keyup":B=WE;break;case"focusin":pe="focus",B=Mu;break;case"focusout":pe="blur",B=Mu;break;case"beforeblur":case"afterblur":B=Mu;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":B=bp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=VE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=XE;break;case Bp:case Hp:case Fp:B=ME;break;case Up:B=QE;break;case"scroll":case"scrollend":B=zE;break;case"wheel":B=JE;break;case"copy":case"cut":case"paste":B=BE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=xp;break;case"toggle":case"beforetoggle":B=tC}var ue=(i&4)!==0,He=!ue&&(t==="scroll"||t==="scrollend"),I=ue?L!==null?L+"Capture":null:L;ue=[];for(var _=P,V;_!==null;){var G=_;if(V=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||V===null||I===null||(G=io(_,I),G!=null&&ue.push(Ho(_,G,V))),He)break;_=_.return}0<ue.length&&(L=new B(L,pe,null,o,j),q.push({event:L,listeners:ue}))}}if((i&7)===0){e:{if(L=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",L&&o!==Au&&(pe=o.relatedTarget||o.fromElement)&&(Ba(pe)||pe[La]))break e;if((B||L)&&(L=j.window===j?j:(L=j.ownerDocument)?L.defaultView||L.parentWindow:window,B?(pe=o.relatedTarget||o.toElement,B=P,pe=pe?Ba(pe):null,pe!==null&&(He=c(pe),ue=pe.tag,pe!==He||ue!==5&&ue!==27&&ue!==6)&&(pe=null)):(B=null,pe=P),B!==pe)){if(ue=bp,G="onMouseLeave",I="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(ue=xp,G="onPointerLeave",I="onPointerEnter",_="pointer"),He=B==null?L:no(B),V=pe==null?L:no(pe),L=new ue(G,_+"leave",B,o,j),L.target=He,L.relatedTarget=V,G=null,Ba(j)===P&&(ue=new ue(I,_+"enter",pe,o,j),ue.target=V,ue.relatedTarget=He,G=ue),He=G,B&&pe)t:{for(ue=B,I=pe,_=0,V=ue;V;V=yr(V))_++;for(V=0,G=I;G;G=yr(G))V++;for(;0<_-V;)ue=yr(ue),_--;for(;0<V-_;)I=yr(I),V--;for(;_--;){if(ue===I||I!==null&&ue===I.alternate)break t;ue=yr(ue),I=yr(I)}ue=null}else ue=null;B!==null&&cb(q,L,B,ue,!1),pe!==null&&He!==null&&cb(q,He,pe,ue,!0)}}e:{if(L=P?no(P):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var oe=Rp;else if(kp(L))if(Np)oe=dC;else{oe=cC;var Oe=sC}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?P&&Nu(P.elementType)&&(oe=Rp):oe=uC;if(oe&&(oe=oe(t,P))){Tp(q,oe,o,j);break e}Oe&&Oe(t,L,P),t==="focusout"&&P&&L.type==="number"&&P.memoizedProps.value!=null&&Ru(L,"number",L.value)}switch(Oe=P?no(P):window,t){case"focusin":(kp(Oe)||Oe.contentEditable==="true")&&(Xa=Oe,ju=P,fo=null);break;case"focusout":fo=ju=Xa=null;break;case"mousedown":$u=!0;break;case"contextmenu":case"mouseup":case"dragend":$u=!1,Mp(q,o,j);break;case"selectionchange":if(hC)break;case"keydown":case"keyup":Mp(q,o,j)}var se;if(Bu)e:{switch(t){case"compositionstart":var de="onCompositionStart";break e;case"compositionend":de="onCompositionEnd";break e;case"compositionupdate":de="onCompositionUpdate";break e}de=void 0}else Ya?Op(t,o)&&(de="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(de="onCompositionStart");de&&(Sp&&o.locale!=="ko"&&(Ya||de!=="onCompositionStart"?de==="onCompositionEnd"&&Ya&&(se=mp()):(Ci=j,Vu="value"in Ci?Ci.value:Ci.textContent,Ya=!0)),Oe=Ps(P,de),0<Oe.length&&(de=new yp(de,t,null,o,j),q.push({event:de,listeners:Oe}),se?de.data=se:(se=wp(o),se!==null&&(de.data=se)))),(se=iC?aC(t,o):rC(t,o))&&(de=Ps(P,"onBeforeInput"),0<de.length&&(Oe=new yp("onBeforeInput","beforeinput",null,o,j),q.push({event:Oe,listeners:de}),Oe.data=se)),XC(q,t,P,o,j)}lb(q,i)})}function Ho(t,i,o){return{instance:t,listener:i,currentTarget:o}}function Ps(t,i){for(var o=i+"Capture",s=[];t!==null;){var u=t,h=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||h===null||(u=io(t,o),u!=null&&s.unshift(Ho(t,u,h)),u=io(t,i),u!=null&&s.push(Ho(t,u,h))),t.tag===3)return s;t=t.return}return[]}function yr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function cb(t,i,o,s,u){for(var h=i._reactName,v=[];o!==null&&o!==s;){var x=o,O=x.alternate,P=x.stateNode;if(x=x.tag,O!==null&&O===s)break;x!==5&&x!==26&&x!==27||P===null||(O=P,u?(P=io(o,h),P!=null&&v.unshift(Ho(o,P,O))):u||(P=io(o,h),P!=null&&v.push(Ho(o,P,O)))),o=o.return}v.length!==0&&t.push({event:i,listeners:v})}var JC=/\r\n?/g,eO=/\u0000|\uFFFD/g;function ub(t){return(typeof t=="string"?t:""+t).replace(JC,`
50
- `).replace(eO,"")}function db(t,i){return i=ub(i),ub(t)===i}function Ms(){}function Be(t,i,o,s,u,h){switch(o){case"children":typeof s=="string"?i==="body"||i==="textarea"&&s===""||Ga(t,s):(typeof s=="number"||typeof s=="bigint")&&i!=="body"&&Ga(t,""+s);break;case"className":Ul(t,"class",s);break;case"tabIndex":Ul(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Ul(t,o,s);break;case"style":hp(t,s,h);break;case"data":if(i!=="object"){Ul(t,"data",s);break}case"src":case"href":if(s===""&&(i!=="a"||o!=="href")){t.removeAttribute(o);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(o);break}s=Gl(""+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 h=="function"&&(o==="formAction"?(i!=="input"&&Be(t,i,"name",u.name,u,null),Be(t,i,"formEncType",u.formEncType,u,null),Be(t,i,"formMethod",u.formMethod,u,null),Be(t,i,"formTarget",u.formTarget,u,null)):(Be(t,i,"encType",u.encType,u,null),Be(t,i,"method",u.method,u,null),Be(t,i,"target",u.target,u,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(o);break}s=Gl(""+s),t.setAttribute(o,s);break;case"onClick":s!=null&&(t.onclick=Ms);break;case"onScroll":s!=null&&Te("scroll",t);break;case"onScrollEnd":s!=null&&Te("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=Gl(""+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":Te("beforetoggle",t),Te("toggle",t),Fl(t,"popover",s);break;case"xlinkActuate":Yn(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Yn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Yn(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Yn(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Yn(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Yn(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Fl(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=AE.get(o)||o,Fl(t,o,s))}}function gf(t,i,o,s,u,h){switch(o){case"style":hp(t,s,h);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"?Ga(t,s):(typeof s=="number"||typeof s=="bigint")&&Ga(t,""+s);break;case"onScroll":s!=null&&Te("scroll",t);break;case"onScrollEnd":s!=null&&Te("scrollend",t);break;case"onClick":s!=null&&(t.onclick=Ms);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!np.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(u=o.endsWith("Capture"),i=o.slice(2,u?o.length-7:void 0),h=t[It]||null,h=h!=null?h[o]:null,typeof h=="function"&&t.removeEventListener(i,h,u),typeof s=="function")){typeof h!="function"&&h!==null&&(o in t?t[o]=null:t.hasAttribute(o)&&t.removeAttribute(o)),t.addEventListener(i,s,u);break e}o in t?t[o]=s:s===!0?t.setAttribute(o,""):Fl(t,o,s)}}}function xt(t,i,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",t),Te("load",t);var s=!1,u=!1,h;for(h in o)if(o.hasOwnProperty(h)){var v=o[h];if(v!=null)switch(h){case"src":s=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Be(t,i,h,v,o,null)}}u&&Be(t,i,"srcSet",o.srcSet,o,null),s&&Be(t,i,"src",o.src,o,null);return;case"input":Te("invalid",t);var x=h=v=u=null,O=null,P=null;for(s in o)if(o.hasOwnProperty(s)){var j=o[s];if(j!=null)switch(s){case"name":u=j;break;case"type":v=j;break;case"checked":O=j;break;case"defaultChecked":P=j;break;case"value":h=j;break;case"defaultValue":x=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,i));break;default:Be(t,i,s,j,o,null)}}cp(t,h,x,O,P,v,u,!1),jl(t);return;case"select":Te("invalid",t),s=v=h=null;for(u in o)if(o.hasOwnProperty(u)&&(x=o[u],x!=null))switch(u){case"value":h=x;break;case"defaultValue":v=x;break;case"multiple":s=x;default:Be(t,i,u,x,o,null)}i=h,o=v,t.multiple=!!s,i!=null?$a(t,!!s,i,!1):o!=null&&$a(t,!!s,o,!0);return;case"textarea":Te("invalid",t),h=u=s=null;for(v in o)if(o.hasOwnProperty(v)&&(x=o[v],x!=null))switch(v){case"value":s=x;break;case"defaultValue":u=x;break;case"children":h=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Be(t,i,v,x,o,null)}dp(t,s,u,h),jl(t);return;case"option":for(O in o)if(o.hasOwnProperty(O)&&(s=o[O],s!=null))switch(O){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Be(t,i,O,s,o,null)}return;case"dialog":Te("beforetoggle",t),Te("toggle",t),Te("cancel",t),Te("close",t);break;case"iframe":case"object":Te("load",t);break;case"video":case"audio":for(s=0;s<Bo.length;s++)Te(Bo[s],t);break;case"image":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"embed":case"source":case"link":Te("error",t),Te("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(P in o)if(o.hasOwnProperty(P)&&(s=o[P],s!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Be(t,i,P,s,o,null)}return;default:if(Nu(i)){for(j in o)o.hasOwnProperty(j)&&(s=o[j],s!==void 0&&gf(t,i,j,s,o,void 0));return}}for(x in o)o.hasOwnProperty(x)&&(s=o[x],s!=null&&Be(t,i,x,s,o,null))}function tO(t,i,o,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,h=null,v=null,x=null,O=null,P=null,j=null;for(B in o){var q=o[B];if(o.hasOwnProperty(B)&&q!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":O=q;default:s.hasOwnProperty(B)||Be(t,i,B,null,s,q)}}for(var L in s){var B=s[L];if(q=o[L],s.hasOwnProperty(L)&&(B!=null||q!=null))switch(L){case"type":h=B;break;case"name":u=B;break;case"checked":P=B;break;case"defaultChecked":j=B;break;case"value":v=B;break;case"defaultValue":x=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,i));break;default:B!==q&&Be(t,i,L,B,s,q)}}Tu(t,v,x,O,P,j,h,u);return;case"select":B=v=x=L=null;for(h in o)if(O=o[h],o.hasOwnProperty(h)&&O!=null)switch(h){case"value":break;case"multiple":B=O;default:s.hasOwnProperty(h)||Be(t,i,h,null,s,O)}for(u in s)if(h=s[u],O=o[u],s.hasOwnProperty(u)&&(h!=null||O!=null))switch(u){case"value":L=h;break;case"defaultValue":x=h;break;case"multiple":v=h;default:h!==O&&Be(t,i,u,h,s,O)}i=x,o=v,s=B,L!=null?$a(t,!!o,L,!1):!!s!=!!o&&(i!=null?$a(t,!!o,i,!0):$a(t,!!o,o?[]:"",!1));return;case"textarea":B=L=null;for(x in o)if(u=o[x],o.hasOwnProperty(x)&&u!=null&&!s.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Be(t,i,x,null,s,u)}for(v in s)if(u=s[v],h=o[v],s.hasOwnProperty(v)&&(u!=null||h!=null))switch(v){case"value":L=u;break;case"defaultValue":B=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(r(91));break;default:u!==h&&Be(t,i,v,u,s,h)}up(t,L,B);return;case"option":for(var pe in o)if(L=o[pe],o.hasOwnProperty(pe)&&L!=null&&!s.hasOwnProperty(pe))switch(pe){case"selected":t.selected=!1;break;default:Be(t,i,pe,null,s,L)}for(O in s)if(L=s[O],B=o[O],s.hasOwnProperty(O)&&L!==B&&(L!=null||B!=null))switch(O){case"selected":t.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Be(t,i,O,L,s,B)}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 ue in o)L=o[ue],o.hasOwnProperty(ue)&&L!=null&&!s.hasOwnProperty(ue)&&Be(t,i,ue,null,s,L);for(P in s)if(L=s[P],B=o[P],s.hasOwnProperty(P)&&L!==B&&(L!=null||B!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,i));break;default:Be(t,i,P,L,s,B)}return;default:if(Nu(i)){for(var He in o)L=o[He],o.hasOwnProperty(He)&&L!==void 0&&!s.hasOwnProperty(He)&&gf(t,i,He,void 0,s,L);for(j in s)L=s[j],B=o[j],!s.hasOwnProperty(j)||L===B||L===void 0&&B===void 0||gf(t,i,j,L,s,B);return}}for(var I in o)L=o[I],o.hasOwnProperty(I)&&L!=null&&!s.hasOwnProperty(I)&&Be(t,i,I,null,s,L);for(q in s)L=s[q],B=o[q],!s.hasOwnProperty(q)||L===B||L==null&&B==null||Be(t,i,q,L,s,B)}var pf=null,mf=null;function Ls(t){return t.nodeType===9?t:t.ownerDocument}function fb(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 hb(t,i){if(t===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&i==="foreignObject"?0:t}function vf(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var bf=null;function nO(){var t=window.event;return t&&t.type==="popstate"?t===bf?!1:(bf=t,!0):(bf=null,!1)}var gb=typeof setTimeout=="function"?setTimeout:void 0,iO=typeof clearTimeout=="function"?clearTimeout:void 0,pb=typeof Promise=="function"?Promise:void 0,aO=typeof queueMicrotask=="function"?queueMicrotask:typeof pb<"u"?function(t){return pb.resolve(null).then(t).catch(rO)}:gb;function rO(t){setTimeout(function(){throw t})}function Bi(t){return t==="head"}function mb(t,i){var o=i,s=0,u=0;do{var h=o.nextSibling;if(t.removeChild(o),h&&h.nodeType===8)if(o=h.data,o==="/$"){if(0<s&&8>s){o=s;var v=t.ownerDocument;if(o&1&&Fo(v.documentElement),o&2&&Fo(v.body),o&4)for(o=v.head,Fo(o),v=o.firstChild;v;){var x=v.nextSibling,O=v.nodeName;v[to]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&v.rel.toLowerCase()==="stylesheet"||o.removeChild(v),v=x}}if(u===0){t.removeChild(h),Xo(i);return}u--}else o==="$"||o==="$?"||o==="$!"?u++:s=o.charCodeAt(0)-48;else s=0;o=h}while(o);Xo(i)}function yf(t){var i=t.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var o=i;switch(i=i.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":yf(o),Cu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}t.removeChild(o)}}function oO(t,i,o,s){for(;t.nodeType===1;){var u=o;if(t.nodeName.toLowerCase()!==i.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[to])switch(i){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==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(h=t.getAttribute("src"),(h!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(i==="input"&&t.type==="hidden"){var h=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=xn(t.nextSibling),t===null)break}return null}function lO(t,i,o){if(i==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=xn(t.nextSibling),t===null))return null;return t}function xf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function sO(t,i){var o=t.ownerDocument;if(t.data!=="$?"||o.readyState==="complete")i();else{var s=function(){i(),o.removeEventListener("DOMContentLoaded",s)};o.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function xn(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return t}var Sf=null;function vb(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"){if(i===0)return t;i--}else o==="/$"&&i++}t=t.previousSibling}return null}function bb(t,i,o){switch(i=Ls(o),t){case"html":if(t=i.documentElement,!t)throw Error(r(452));return t;case"head":if(t=i.head,!t)throw Error(r(453));return t;case"body":if(t=i.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Fo(t){for(var i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Cu(t)}var gn=new Map,yb=new Set;function Bs(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var si=Q.d;Q.d={f:cO,r:uO,D:dO,C:fO,L:hO,m:gO,X:mO,S:pO,M:vO};function cO(){var t=si.f(),i=As();return t||i}function uO(t){var i=Ha(t);i!==null&&i.tag===5&&i.type==="form"?Bm(i):si.r(t)}var xr=typeof document>"u"?null:document;function xb(t,i,o){var s=xr;if(s&&typeof i=="string"&&i){var u=ln(i);u='link[rel="'+t+'"][href="'+u+'"]',typeof o=="string"&&(u+='[crossorigin="'+o+'"]'),yb.has(u)||(yb.add(u),t={rel:t,crossOrigin:o,href:i},s.querySelector(u)===null&&(i=s.createElement("link"),xt(i,"link",t),ft(i),s.head.appendChild(i)))}}function dO(t){si.D(t),xb("dns-prefetch",t,null)}function fO(t,i){si.C(t,i),xb("preconnect",t,i)}function hO(t,i,o){si.L(t,i,o);var s=xr;if(s&&t&&i){var u='link[rel="preload"][as="'+ln(i)+'"]';i==="image"&&o&&o.imageSrcSet?(u+='[imagesrcset="'+ln(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(u+='[imagesizes="'+ln(o.imageSizes)+'"]')):u+='[href="'+ln(t)+'"]';var h=u;switch(i){case"style":h=Sr(t);break;case"script":h=Er(t)}gn.has(h)||(t=m({rel:"preload",href:i==="image"&&o&&o.imageSrcSet?void 0:t,as:i},o),gn.set(h,t),s.querySelector(u)!==null||i==="style"&&s.querySelector(Uo(h))||i==="script"&&s.querySelector(jo(h))||(i=s.createElement("link"),xt(i,"link",t),ft(i),s.head.appendChild(i)))}}function gO(t,i){si.m(t,i);var o=xr;if(o&&t){var s=i&&typeof i.as=="string"?i.as:"script",u='link[rel="modulepreload"][as="'+ln(s)+'"][href="'+ln(t)+'"]',h=u;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Er(t)}if(!gn.has(h)&&(t=m({rel:"modulepreload",href:t},i),gn.set(h,t),o.querySelector(u)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(jo(h)))return}s=o.createElement("link"),xt(s,"link",t),ft(s),o.head.appendChild(s)}}}function pO(t,i,o){si.S(t,i,o);var s=xr;if(s&&t){var u=Fa(s).hoistableStyles,h=Sr(t);i=i||"default";var v=u.get(h);if(!v){var x={loading:0,preload:null};if(v=s.querySelector(Uo(h)))x.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":i},o),(o=gn.get(h))&&Ef(t,o);var O=v=s.createElement("link");ft(O),xt(O,"link",t),O._p=new Promise(function(P,j){O.onload=P,O.onerror=j}),O.addEventListener("load",function(){x.loading|=1}),O.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Hs(v,i,s)}v={type:"stylesheet",instance:v,count:1,state:x},u.set(h,v)}}}function mO(t,i){si.X(t,i);var o=xr;if(o&&t){var s=Fa(o).hoistableScripts,u=Er(t),h=s.get(u);h||(h=o.querySelector(jo(u)),h||(t=m({src:t,async:!0},i),(i=gn.get(u))&&Cf(t,i),h=o.createElement("script"),ft(h),xt(h,"link",t),o.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(u,h))}}function vO(t,i){si.M(t,i);var o=xr;if(o&&t){var s=Fa(o).hoistableScripts,u=Er(t),h=s.get(u);h||(h=o.querySelector(jo(u)),h||(t=m({src:t,async:!0,type:"module"},i),(i=gn.get(u))&&Cf(t,i),h=o.createElement("script"),ft(h),xt(h,"link",t),o.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(u,h))}}function Sb(t,i,o,s){var u=(u=ge.current)?Bs(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"?(i=Sr(o.href),o=Fa(u).hoistableStyles,s=o.get(i),s||(s={type:"style",instance:null,count:0,state:null},o.set(i,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=Sr(o.href);var h=Fa(u).hoistableStyles,v=h.get(t);if(v||(u=u.ownerDocument||u,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,v),(h=u.querySelector(Uo(t)))&&!h._p&&(v.instance=h,v.state.loading=5),gn.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},gn.set(t,o),h||bO(u,t,o,v.state))),i&&s===null)throw Error(r(528,""));return v}if(i&&s!==null)throw Error(r(529,""));return null;case"script":return i=o.async,o=o.src,typeof o=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Er(o),o=Fa(u).hoistableScripts,s=o.get(i),s||(s={type:"script",instance:null,count:0,state:null},o.set(i,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Sr(t){return'href="'+ln(t)+'"'}function Uo(t){return'link[rel="stylesheet"]['+t+"]"}function Eb(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function bO(t,i,o,s){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?s.loading=1:(i=t.createElement("link"),s.preload=i,i.addEventListener("load",function(){return s.loading|=1}),i.addEventListener("error",function(){return s.loading|=2}),xt(i,"link",o),ft(i),t.head.appendChild(i))}function Er(t){return'[src="'+ln(t)+'"]'}function jo(t){return"script[async]"+t}function Cb(t,i,o){if(i.count++,i.instance===null)switch(i.type){case"style":var s=t.querySelector('style[data-href~="'+ln(o.href)+'"]');if(s)return i.instance=s,ft(s),s;var u=m({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),ft(s),xt(s,"style",u),Hs(s,o.precedence,t),i.instance=s;case"stylesheet":u=Sr(o.href);var h=t.querySelector(Uo(u));if(h)return i.state.loading|=4,i.instance=h,ft(h),h;s=Eb(o),(u=gn.get(u))&&Ef(s,u),h=(t.ownerDocument||t).createElement("link"),ft(h);var v=h;return v._p=new Promise(function(x,O){v.onload=x,v.onerror=O}),xt(h,"link",s),i.state.loading|=4,Hs(h,o.precedence,t),i.instance=h;case"script":return h=Er(o.src),(u=t.querySelector(jo(h)))?(i.instance=u,ft(u),u):(s=o,(u=gn.get(h))&&(s=m({},o),Cf(s,u)),t=t.ownerDocument||t,u=t.createElement("script"),ft(u),xt(u,"link",s),t.head.appendChild(u),i.instance=u);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(s=i.instance,i.state.loading|=4,Hs(s,o.precedence,t));return i.instance}function Hs(t,i,o){for(var s=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=s.length?s[s.length-1]:null,h=u,v=0;v<s.length;v++){var x=s[v];if(x.dataset.precedence===i)h=x;else if(h!==u)break}h?h.parentNode.insertBefore(t,h.nextSibling):(i=o.nodeType===9?o.head:o,i.insertBefore(t,i.firstChild))}function Ef(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.title==null&&(t.title=i.title)}function Cf(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.integrity==null&&(t.integrity=i.integrity)}var Fs=null;function Ob(t,i,o){if(Fs===null){var s=new Map,u=Fs=new Map;u.set(o,s)}else u=Fs,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 h=o[u];if(!(h[to]||h[Ot]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var v=h.getAttribute(i)||"";v=t+v;var x=s.get(v);x?x.push(h):s.set(v,[h])}}return s}function wb(t,i,o){t=t.ownerDocument||t,t.head.insertBefore(o,i==="title"?t.querySelector("head > title"):null)}function yO(t,i,o){if(o===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return t=i.disabled,typeof i.precedence=="string"&&t==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function kb(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var $o=null;function xO(){}function SO(t,i,o){if($o===null)throw Error(r(475));var s=$o;if(i.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var u=Sr(o.href),h=t.querySelector(Uo(u));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(s.count++,s=Us.bind(s),t.then(s,s)),i.state.loading|=4,i.instance=h,ft(h);return}h=t.ownerDocument||t,o=Eb(o),(u=gn.get(u))&&Ef(o,u),h=h.createElement("link"),ft(h);var v=h;v._p=new Promise(function(x,O){v.onload=x,v.onerror=O}),xt(h,"link",o),i.instance=h}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(s.count++,i=Us.bind(s),t.addEventListener("load",i),t.addEventListener("error",i))}}function EO(){if($o===null)throw Error(r(475));var t=$o;return t.stylesheets&&t.count===0&&Of(t,t.stylesheets),0<t.count?function(i){var o=setTimeout(function(){if(t.stylesheets&&Of(t,t.stylesheets),t.unsuspend){var s=t.unsuspend;t.unsuspend=null,s()}},6e4);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(o)}}:null}function Us(){if(this.count--,this.count===0){if(this.stylesheets)Of(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var js=null;function Of(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,js=new Map,i.forEach(CO,t),js=null,Us.call(t))}function CO(t,i){if(!(i.state.loading&4)){var o=js.get(t);if(o)var s=o.get(null);else{o=new Map,js.set(t,o);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<u.length;h++){var v=u[h];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(o.set(v.dataset.precedence,v),s=v)}s&&o.set(null,s)}u=i.instance,v=u.getAttribute("data-precedence"),h=o.get(v)||s,h===s&&o.set(null,u),o.set(v,u),this.count++,s=Us.bind(this),u.addEventListener("load",s),u.addEventListener("error",s),h?h.parentNode.insertBefore(u,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),i.state.loading|=4}}var Go={$$typeof:R,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function OO(t,i,o,s,u,h,v,x){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=yu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yu(0),this.hiddenUpdates=yu(null),this.identifierPrefix=s,this.onUncaughtError=u,this.onCaughtError=h,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Tb(t,i,o,s,u,h,v,x,O,P,j,q){return t=new OO(t,i,o,v,x,O,P,q),i=1,h===!0&&(i|=24),h=Wt(3,null,null,i),t.current=h,h.stateNode=t,i=ad(),i.refCount++,t.pooledCache=i,i.refCount++,h.memoizedState={element:s,isDehydrated:o,cache:i},sd(h),t}function Rb(t){return t?(t=Ja,t):Ja}function Nb(t,i,o,s,u,h){u=Rb(u),s.context===null?s.context=u:s.pendingContext=u,s=ki(i),s.payload={element:o},h=h===void 0?null:h,h!==null&&(s.callback=h),o=Ti(t,s,i),o!==null&&(Qt(o,t,i),So(o,t,i))}function Ab(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<i?o:i}}function wf(t,i){Ab(t,i),(t=t.alternate)&&Ab(t,i)}function _b(t){if(t.tag===13){var i=Za(t,67108864);i!==null&&Qt(i,t,67108864),wf(t,67108864)}}var $s=!0;function wO(t,i,o,s){var u=H.T;H.T=null;var h=Q.p;try{Q.p=2,kf(t,i,o,s)}finally{Q.p=h,H.T=u}}function kO(t,i,o,s){var u=H.T;H.T=null;var h=Q.p;try{Q.p=8,kf(t,i,o,s)}finally{Q.p=h,H.T=u}}function kf(t,i,o,s){if($s){var u=Tf(s);if(u===null)hf(t,i,s,Gs,o),Ib(t,s);else if(RO(u,t,i,o,s))s.stopPropagation();else if(Ib(t,s),i&4&&-1<TO.indexOf(t)){for(;u!==null;){var h=Ha(u);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var v=na(h.pendingLanes);if(v!==0){var x=h;for(x.pendingLanes|=2,x.entangledLanes|=2;v;){var O=1<<31-$t(v);x.entanglements[1]|=O,v&=~O}In(h),(Pe&6)===0&&(Rs=rn()+500,Lo(0))}}break;case 13:x=Za(h,2),x!==null&&Qt(x,h,2),As(),wf(h,2)}if(h=Tf(s),h===null&&hf(t,i,s,Gs,o),h===u)break;u=h}u!==null&&s.stopPropagation()}else hf(t,i,s,null,o)}}function Tf(t){return t=_u(t),Rf(t)}var Gs=null;function Rf(t){if(Gs=null,t=Ba(t),t!==null){var i=c(t);if(i===null)t=null;else{var o=i.tag;if(o===13){if(t=d(i),t!==null)return t;t=null}else if(o===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null)}}return Gs=t,null}function zb(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(bu()){case Qr:return 2;case Pl:return 8;case ta:case Ml:return 32;case Ma:return 268435456;default:return 32}default:return 32}}var Nf=!1,Hi=null,Fi=null,Ui=null,Wo=new Map,qo=new Map,ji=[],TO="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 Ib(t,i){switch(t){case"focusin":case"focusout":Hi=null;break;case"dragenter":case"dragleave":Fi=null;break;case"mouseover":case"mouseout":Ui=null;break;case"pointerover":case"pointerout":Wo.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":qo.delete(i.pointerId)}}function Yo(t,i,o,s,u,h){return t===null||t.nativeEvent!==h?(t={blockedOn:i,domEventName:o,eventSystemFlags:s,nativeEvent:h,targetContainers:[u]},i!==null&&(i=Ha(i),i!==null&&_b(i)),t):(t.eventSystemFlags|=s,i=t.targetContainers,u!==null&&i.indexOf(u)===-1&&i.push(u),t)}function RO(t,i,o,s,u){switch(i){case"focusin":return Hi=Yo(Hi,t,i,o,s,u),!0;case"dragenter":return Fi=Yo(Fi,t,i,o,s,u),!0;case"mouseover":return Ui=Yo(Ui,t,i,o,s,u),!0;case"pointerover":var h=u.pointerId;return Wo.set(h,Yo(Wo.get(h)||null,t,i,o,s,u)),!0;case"gotpointercapture":return h=u.pointerId,qo.set(h,Yo(qo.get(h)||null,t,i,o,s,u)),!0}return!1}function Vb(t){var i=Ba(t.target);if(i!==null){var o=c(i);if(o!==null){if(i=o.tag,i===13){if(i=d(o),i!==null){t.blockedOn=i,SE(t.priority,function(){if(o.tag===13){var s=Kt();s=xu(s);var u=Za(o,s);u!==null&&Qt(u,o,s),wf(o,s)}});return}}else if(i===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ws(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var o=Tf(t.nativeEvent);if(o===null){o=t.nativeEvent;var s=new o.constructor(o.type,o);Au=s,o.target.dispatchEvent(s),Au=null}else return i=Ha(o),i!==null&&_b(i),t.blockedOn=o,!1;i.shift()}return!0}function Db(t,i,o){Ws(t)&&o.delete(i)}function NO(){Nf=!1,Hi!==null&&Ws(Hi)&&(Hi=null),Fi!==null&&Ws(Fi)&&(Fi=null),Ui!==null&&Ws(Ui)&&(Ui=null),Wo.forEach(Db),qo.forEach(Db)}function qs(t,i){t.blockedOn===i&&(t.blockedOn=null,Nf||(Nf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,NO)))}var Ys=null;function Pb(t){Ys!==t&&(Ys=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Ys===t&&(Ys=null);for(var i=0;i<t.length;i+=3){var o=t[i],s=t[i+1],u=t[i+2];if(typeof s!="function"){if(Rf(s||o)===null)continue;break}var h=Ha(o);h!==null&&(t.splice(i,3),i-=3,Td(h,{pending:!0,data:u,method:o.method,action:s},s,u))}}))}function Xo(t){function i(O){return qs(O,t)}Hi!==null&&qs(Hi,t),Fi!==null&&qs(Fi,t),Ui!==null&&qs(Ui,t),Wo.forEach(i),qo.forEach(i);for(var o=0;o<ji.length;o++){var s=ji[o];s.blockedOn===t&&(s.blockedOn=null)}for(;0<ji.length&&(o=ji[0],o.blockedOn===null);)Vb(o),o.blockedOn===null&&ji.shift();if(o=(t.ownerDocument||t).$$reactFormReplay,o!=null)for(s=0;s<o.length;s+=3){var u=o[s],h=o[s+1],v=u[It]||null;if(typeof h=="function")v||Pb(o);else if(v){var x=null;if(h&&h.hasAttribute("formAction")){if(u=h,v=h[It]||null)x=v.formAction;else if(Rf(u)!==null)continue}else x=v.action;typeof x=="function"?o[s+1]=x:(o.splice(s,3),s-=3),Pb(o)}}}function Af(t){this._internalRoot=t}Xs.prototype.render=Af.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(r(409));var o=i.current,s=Kt();Nb(o,s,t,i,null,null)},Xs.prototype.unmount=Af.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;Nb(t.current,2,null,t,null,null),As(),i[La]=null}};function Xs(t){this._internalRoot=t}Xs.prototype.unstable_scheduleHydration=function(t){if(t){var i=Jg();t={blockedOn:null,target:t,priority:i};for(var o=0;o<ji.length&&i!==0&&i<ji[o].priority;o++);ji.splice(o,0,t),o===0&&Vb(t)}};var Mb=n.version;if(Mb!=="19.1.1")throw Error(r(527,Mb,"19.1.1"));Q.findDOMNode=function(t){var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=g(i),t=t!==null?p(t):null,t=t===null?null:t.stateNode,t};var AO={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ks=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ks.isDisabled&&Ks.supportsFiber)try{Zr=Ks.inject(AO),jt=Ks}catch{}}return Qo.createRoot=function(t,i){if(!l(t))throw Error(r(299));var o=!1,s="",u=Jm,h=ev,v=tv,x=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(u=i.onUncaughtError),i.onCaughtError!==void 0&&(h=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(x=i.unstable_transitionCallbacks)),i=Tb(t,1,!1,null,null,o,s,u,h,v,x,null),t[La]=i.current,ff(t),new Af(i)},Qo.hydrateRoot=function(t,i,o){if(!l(t))throw Error(r(299));var s=!1,u="",h=Jm,v=ev,x=tv,O=null,P=null;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(u=o.identifierPrefix),o.onUncaughtError!==void 0&&(h=o.onUncaughtError),o.onCaughtError!==void 0&&(v=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(O=o.unstable_transitionCallbacks),o.formState!==void 0&&(P=o.formState)),i=Tb(t,1,!0,i,o??null,s,u,h,v,x,O,P),i.context=Rb(null),o=i.current,s=Kt(),s=xu(s),u=ki(s),u.callback=null,Ti(o,u,s),o=s,i.current.lanes=o,eo(i,o),In(i),t[La]=i.current,ff(t),new Xs(i)},Qo.version="19.1.1",Qo}var Yb;function FO(){if(Yb)return If.exports;Yb=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(),If.exports=HO(),If.exports}var UO=FO();const jO=Wh(UO);function ax(e){var n=Object.create(null);return function(a){return n[a]===void 0&&(n[a]=e(a)),n[a]}}var $O=/^((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)-.*))$/,GO=ax(function(e){return $O.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function WO(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 qO(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 YO=(function(){function e(a){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=a.speedy===void 0?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.key=a.key,this.container=a.container,this.prepend=a.prepend,this.insertionPoint=a.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(qO(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var c=WO(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})(),Tt="-ms-",Ic="-moz-",_e="-webkit-",rx="comm",Yh="rule",Xh="decl",XO="@import",ox="@keyframes",KO="@layer",QO=Math.abs,Xc=String.fromCharCode,ZO=Object.assign;function JO(e,n){return Ct(e,0)^45?(((n<<2^Ct(e,0))<<2^Ct(e,1))<<2^Ct(e,2))<<2^Ct(e,3):0}function lx(e){return e.trim()}function ew(e,n){return(e=n.exec(e))?e[0]:e}function ze(e,n,a){return e.replace(n,a)}function uh(e,n){return e.indexOf(n)}function Ct(e,n){return e.charCodeAt(n)|0}function vl(e,n,a){return e.slice(n,a)}function Dn(e){return e.length}function Kh(e){return e.length}function Qs(e,n){return n.push(e),e}function tw(e,n){return e.map(n).join("")}var Kc=1,Lr=1,sx=0,Ft=0,rt=0,Fr="";function Qc(e,n,a,r,l,c,d){return{value:e,root:n,parent:a,type:r,props:l,children:c,line:Kc,column:Lr,length:d,return:""}}function Zo(e,n){return ZO(Qc("",null,null,"",null,null,0),e,{length:-e.length},n)}function nw(){return rt}function iw(){return rt=Ft>0?Ct(Fr,--Ft):0,Lr--,rt===10&&(Lr=1,Kc--),rt}function tn(){return rt=Ft<sx?Ct(Fr,Ft++):0,Lr++,rt===10&&(Lr=1,Kc++),rt}function Ln(){return Ct(Fr,Ft)}function bc(){return Ft}function Tl(e,n){return vl(Fr,e,n)}function bl(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 cx(e){return Kc=Lr=1,sx=Dn(Fr=e),Ft=0,[]}function ux(e){return Fr="",e}function yc(e){return lx(Tl(Ft-1,dh(e===91?e+2:e===40?e+1:e)))}function aw(e){for(;(rt=Ln())&&rt<33;)tn();return bl(e)>2||bl(rt)>3?"":" "}function rw(e,n){for(;--n&&tn()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return Tl(e,bc()+(n<6&&Ln()==32&&tn()==32))}function dh(e){for(;tn();)switch(rt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&dh(rt);break;case 40:e===41&&dh(e);break;case 92:tn();break}return Ft}function ow(e,n){for(;tn()&&e+rt!==57;)if(e+rt===84&&Ln()===47)break;return"/*"+Tl(n,Ft-1)+"*"+Xc(e===47?e:tn())}function lw(e){for(;!bl(Ln());)tn();return Tl(e,Ft)}function sw(e){return ux(xc("",null,null,null,[""],e=cx(e),0,[0],e))}function xc(e,n,a,r,l,c,d,f,g){for(var p=0,m=0,y=d,b=0,S=0,C=0,E=1,w=1,N=1,T=0,R="",F=l,A=c,Y=r,U=R;w;)switch(C=T,T=tn()){case 40:if(C!=108&&Ct(U,y-1)==58){uh(U+=ze(yc(T),"&","&\f"),"&\f")!=-1&&(N=-1);break}case 34:case 39:case 91:U+=yc(T);break;case 9:case 10:case 13:case 32:U+=aw(C);break;case 92:U+=rw(bc()-1,7);continue;case 47:switch(Ln()){case 42:case 47:Qs(cw(ow(tn(),bc()),n,a),g);break;default:U+="/"}break;case 123*E:f[p++]=Dn(U)*N;case 125*E:case 59:case 0:switch(T){case 0:case 125:w=0;case 59+m:N==-1&&(U=ze(U,/\f/g,"")),S>0&&Dn(U)-y&&Qs(S>32?Kb(U+";",r,a,y-1):Kb(ze(U," ","")+";",r,a,y-2),g);break;case 59:U+=";";default:if(Qs(Y=Xb(U,n,a,p,m,l,f,R,F=[],A=[],y),c),T===123)if(m===0)xc(U,n,Y,Y,F,c,y,f,A);else switch(b===99&&Ct(U,3)===110?100:b){case 100:case 108:case 109:case 115:xc(e,Y,Y,r&&Qs(Xb(e,Y,Y,0,0,l,f,R,l,F=[],y),A),l,A,y,f,r?F:A);break;default:xc(U,Y,Y,Y,[""],A,0,f,A)}}p=m=S=0,E=N=1,R=U="",y=d;break;case 58:y=1+Dn(U),S=C;default:if(E<1){if(T==123)--E;else if(T==125&&E++==0&&iw()==125)continue}switch(U+=Xc(T),T*E){case 38:N=m>0?1:(U+="\f",-1);break;case 44:f[p++]=(Dn(U)-1)*N,N=1;break;case 64:Ln()===45&&(U+=yc(tn())),b=Ln(),m=y=Dn(R=U+=lw(bc())),T++;break;case 45:C===45&&Dn(U)==2&&(E=0)}}return c}function Xb(e,n,a,r,l,c,d,f,g,p,m){for(var y=l-1,b=l===0?c:[""],S=Kh(b),C=0,E=0,w=0;C<r;++C)for(var N=0,T=vl(e,y+1,y=QO(E=d[C])),R=e;N<S;++N)(R=lx(E>0?b[N]+" "+T:ze(T,/&\f/g,b[N])))&&(g[w++]=R);return Qc(e,n,a,l===0?Yh:f,g,p,m)}function cw(e,n,a){return Qc(e,n,a,rx,Xc(nw()),vl(e,2,-2),0)}function Kb(e,n,a,r){return Qc(e,n,a,Xh,vl(e,0,r),vl(e,r+1,-1),r)}function Dr(e,n){for(var a="",r=Kh(e),l=0;l<r;l++)a+=n(e[l],l,e,n)||"";return a}function uw(e,n,a,r){switch(e.type){case KO:if(e.children.length)break;case XO:case Xh:return e.return=e.return||e.value;case rx:return"";case ox:return e.return=e.value+"{"+Dr(e.children,r)+"}";case Yh:e.value=e.props.join(",")}return Dn(a=Dr(e.children,r))?e.return=e.value+"{"+a+"}":""}function dw(e){var n=Kh(e);return function(a,r,l,c){for(var d="",f=0;f<n;f++)d+=e[f](a,r,l,c)||"";return d}}function fw(e){return function(n){n.root||(n=n.return)&&e(n)}}var hw=function(n,a,r){for(var l=0,c=0;l=c,c=Ln(),l===38&&c===12&&(a[r]=1),!bl(c);)tn();return Tl(n,Ft)},gw=function(n,a){var r=-1,l=44;do switch(bl(l)){case 0:l===38&&Ln()===12&&(a[r]=1),n[r]+=hw(Ft-1,a,r);break;case 2:n[r]+=yc(l);break;case 4:if(l===44){n[++r]=Ln()===58?"&\f":"",a[r]=n[r].length;break}default:n[r]+=Xc(l)}while(l=tn());return n},pw=function(n,a){return ux(gw(cx(n),a))},Qb=new WeakMap,mw=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var a=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&&a.charCodeAt(0)!==58&&!Qb.get(r))&&!l){Qb.set(n,!0);for(var c=[],d=pw(a,c),f=r.props,g=0,p=0;g<d.length;g++)for(var m=0;m<f.length;m++,p++)n.props[p]=c[g]?d[g].replace(/&\f/g,f[m]):f[m]+" "+d[g]}}},vw=function(n){if(n.type==="decl"){var a=n.value;a.charCodeAt(0)===108&&a.charCodeAt(2)===98&&(n.return="",n.value="")}};function dx(e,n){switch(JO(e,n)){case 5103:return _e+"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 _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+Ic+e+Tt+e+e;case 6828:case 4268:return _e+e+Tt+e+e;case 6165:return _e+e+Tt+"flex-"+e+e;case 5187:return _e+e+ze(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+Tt+"flex-$1$2")+e;case 5443:return _e+e+Tt+"flex-item-"+ze(e,/flex-|-self/,"")+e;case 4675:return _e+e+Tt+"flex-line-pack"+ze(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+Tt+ze(e,"shrink","negative")+e;case 5292:return _e+e+Tt+ze(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+ze(e,"-grow","")+_e+e+Tt+ze(e,"grow","positive")+e;case 4554:return _e+ze(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return ze(ze(ze(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return ze(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return ze(ze(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+Tt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return ze(e,/(.+)-inline(.+)/,_e+"$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(Dn(e)-1-n>6)switch(Ct(e,n+1)){case 109:if(Ct(e,n+4)!==45)break;case 102:return ze(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+Ic+(Ct(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~uh(e,"stretch")?dx(ze(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Ct(e,n+1)!==115)break;case 6444:switch(Ct(e,Dn(e)-3-(~uh(e,"!important")&&10))){case 107:return ze(e,":",":"+_e)+e;case 101:return ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(Ct(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(Ct(e,n+11)){case 114:return _e+e+Tt+ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+Tt+ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+Tt+ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+Tt+e+e}return e}var bw=function(n,a,r,l){if(n.length>-1&&!n.return)switch(n.type){case Xh:n.return=dx(n.value,n.length);break;case ox:return Dr([Zo(n,{value:ze(n.value,"@","@"+_e)})],l);case Yh:if(n.length)return tw(n.props,function(c){switch(ew(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Dr([Zo(n,{props:[ze(c,/:(read-\w+)/,":"+Ic+"$1")]})],l);case"::placeholder":return Dr([Zo(n,{props:[ze(c,/:(plac\w+)/,":"+_e+"input-$1")]}),Zo(n,{props:[ze(c,/:(plac\w+)/,":"+Ic+"$1")]}),Zo(n,{props:[ze(c,/:(plac\w+)/,Tt+"input-$1")]})],l)}return""})}},yw=[bw],xw=function(n){var a=n.key;if(a==="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||yw,c={},d,f=[];d=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(E){for(var w=E.getAttribute("data-emotion").split(" "),N=1;N<w.length;N++)c[w[N]]=!0;f.push(E)});var g,p=[mw,vw];{var m,y=[uw,fw(function(E){m.insert(E)})],b=dw(p.concat(l,y)),S=function(w){return Dr(sw(w),b)};g=function(w,N,T,R){m=T,S(w?w+"{"+N.styles+"}":N.styles),R&&(C.inserted[N.name]=!0)}}var C={key:a,sheet:new YO({key:a,container:d,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:c,registered:{},insert:g};return C.sheet.hydrate(f),C},Mf={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 Zb;function Sw(){if(Zb)return Ve;Zb=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,a=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,f=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,y=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,N=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(A){if(typeof A=="object"&&A!==null){var Y=A.$$typeof;switch(Y){case n:switch(A=A.type,A){case g:case p:case r:case c:case l:case y:return A;default:switch(A=A&&A.$$typeof,A){case f:case m:case C:case S:case d:return A;default:return Y}}case a:return Y}}}function F(A){return R(A)===p}return Ve.AsyncMode=g,Ve.ConcurrentMode=p,Ve.ContextConsumer=f,Ve.ContextProvider=d,Ve.Element=n,Ve.ForwardRef=m,Ve.Fragment=r,Ve.Lazy=C,Ve.Memo=S,Ve.Portal=a,Ve.Profiler=c,Ve.StrictMode=l,Ve.Suspense=y,Ve.isAsyncMode=function(A){return F(A)||R(A)===g},Ve.isConcurrentMode=F,Ve.isContextConsumer=function(A){return R(A)===f},Ve.isContextProvider=function(A){return R(A)===d},Ve.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===n},Ve.isForwardRef=function(A){return R(A)===m},Ve.isFragment=function(A){return R(A)===r},Ve.isLazy=function(A){return R(A)===C},Ve.isMemo=function(A){return R(A)===S},Ve.isPortal=function(A){return R(A)===a},Ve.isProfiler=function(A){return R(A)===c},Ve.isStrictMode=function(A){return R(A)===l},Ve.isSuspense=function(A){return R(A)===y},Ve.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===p||A===c||A===l||A===y||A===b||typeof A=="object"&&A!==null&&(A.$$typeof===C||A.$$typeof===S||A.$$typeof===d||A.$$typeof===f||A.$$typeof===m||A.$$typeof===w||A.$$typeof===N||A.$$typeof===T||A.$$typeof===E)},Ve.typeOf=R,Ve}var Jb;function Ew(){return Jb||(Jb=1,Mf.exports=Sw()),Mf.exports}var Lf,ey;function Cw(){if(ey)return Lf;ey=1;var e=Ew(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={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 f=Object.defineProperty,g=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,b=Object.prototype;function S(C,E,w){if(typeof E!="string"){if(b){var N=y(E);N&&N!==b&&S(C,N,w)}var T=g(E);p&&(T=T.concat(p(E)));for(var R=d(C),F=d(E),A=0;A<T.length;++A){var Y=T[A];if(!a[Y]&&!(w&&w[Y])&&!(F&&F[Y])&&!(R&&R[Y])){var U=m(E,Y);try{f(C,Y,U)}catch{}}}}return C}return Lf=S,Lf}Cw();var Ow=!0;function fx(e,n,a){var r="";return a.split(" ").forEach(function(l){e[l]!==void 0?n.push(e[l]+";"):l&&(r+=l+" ")}),r}var Qh=function(n,a,r){var l=n.key+"-"+a.name;(r===!1||Ow===!1)&&n.registered[l]===void 0&&(n.registered[l]=a.styles)},Zh=function(n,a,r){Qh(n,a,r);var l=n.key+"-"+a.name;if(n.inserted[a.name]===void 0){var c=a;do n.insert(a===c?"."+l:"",c,n.sheet,!0),c=c.next;while(c!==void 0)}};function ww(e){for(var n=0,a,r=0,l=e.length;l>=4;++r,l-=4)a=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,n=(a&65535)*1540483477+((a>>>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 kw={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},Tw=/[A-Z]|^ms/g,Rw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,hx=function(n){return n.charCodeAt(1)===45},ty=function(n){return n!=null&&typeof n!="boolean"},Bf=ax(function(e){return hx(e)?e:e.replace(Tw,"-$&").toLowerCase()}),ny=function(n,a){switch(n){case"animation":case"animationName":if(typeof a=="string")return a.replace(Rw,function(r,l,c){return Pn={name:l,styles:c,next:Pn},l})}return kw[n]!==1&&!hx(n)&&typeof a=="number"&&a!==0?a+"px":a};function yl(e,n,a){if(a==null)return"";var r=a;if(r.__emotion_styles!==void 0)return r;switch(typeof a){case"boolean":return"";case"object":{var l=a;if(l.anim===1)return Pn={name:l.name,styles:l.styles,next:Pn},l.name;var c=a;if(c.styles!==void 0){var d=c.next;if(d!==void 0)for(;d!==void 0;)Pn={name:d.name,styles:d.styles,next:Pn},d=d.next;var f=c.styles+";";return f}return Nw(e,n,a)}case"function":{if(e!==void 0){var g=Pn,p=a(e);return Pn=g,yl(e,n,p)}break}}var m=a;if(n==null)return m;var y=n[m];return y!==void 0?y:m}function Nw(e,n,a){var r="";if(Array.isArray(a))for(var l=0;l<a.length;l++)r+=yl(e,n,a[l])+";";else for(var c in a){var d=a[c];if(typeof d!="object"){var f=d;n!=null&&n[f]!==void 0?r+=c+"{"+n[f]+"}":ty(f)&&(r+=Bf(c)+":"+ny(c,f)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(n==null||n[d[0]]===void 0))for(var g=0;g<d.length;g++)ty(d[g])&&(r+=Bf(c)+":"+ny(c,d[g])+";");else{var p=yl(e,n,d);switch(c){case"animation":case"animationName":{r+=Bf(c)+":"+p+";";break}default:r+=c+"{"+p+"}"}}}return r}var iy=/label:\s*([^\s;{]+)\s*(;|$)/g,Pn;function Jh(e,n,a){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,l="";Pn=void 0;var c=e[0];if(c==null||c.raw===void 0)r=!1,l+=yl(a,n,c);else{var d=c;l+=d[0]}for(var f=1;f<e.length;f++)if(l+=yl(a,n,e[f]),r){var g=c;l+=g[f]}iy.lastIndex=0;for(var p="",m;(m=iy.exec(l))!==null;)p+="-"+m[1];var y=ww(l)+p;return{name:y,styles:l,next:Pn}}var Aw=function(n){return n()},gx=Ub.useInsertionEffect?Ub.useInsertionEffect:!1,px=gx||Aw,ay=gx||D.useLayoutEffect,mx=D.createContext(typeof HTMLElement<"u"?xw({key:"css"}):null);mx.Provider;var eg=function(n){return D.forwardRef(function(a,r){var l=D.useContext(mx);return n(a,l,r)})},tg=D.createContext({}),ng={}.hasOwnProperty,fh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_w=function(n,a){var r={};for(var l in a)ng.call(a,l)&&(r[l]=a[l]);return r[fh]=n,r},zw=function(n){var a=n.cache,r=n.serialized,l=n.isStringTag;return Qh(a,r,l),px(function(){return Zh(a,r,l)}),null},Iw=eg(function(e,n,a){var r=e.css;typeof r=="string"&&n.registered[r]!==void 0&&(r=n.registered[r]);var l=e[fh],c=[r],d="";typeof e.className=="string"?d=fx(n.registered,c,e.className):e.className!=null&&(d=e.className+" ");var f=Jh(c,void 0,D.useContext(tg));d+=n.key+"-"+f.name;var g={};for(var p in e)ng.call(e,p)&&p!=="css"&&p!==fh&&(g[p]=e[p]);return g.className=d,a&&(g.ref=a),D.createElement(D.Fragment,null,D.createElement(zw,{cache:n,serialized:f,isStringTag:typeof l=="string"}),D.createElement(l,g))}),Vw=Iw,ry=function(n,a){var r=arguments;if(a==null||!ng.call(a,"css"))return D.createElement.apply(void 0,r);var l=r.length,c=new Array(l);c[0]=Vw,c[1]=_w(n,a);for(var d=2;d<l;d++)c[d]=r[d];return D.createElement.apply(null,c)};(function(e){var n;n||(n=e.JSX||(e.JSX={}))})(ry||(ry={}));var oy=eg(function(e,n){var a=e.styles,r=Jh([a],void 0,D.useContext(tg)),l=D.useRef();return ay(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}),f=!1,g=document.querySelector('style[data-emotion="'+c+" "+r.name+'"]');return n.sheet.tags.length&&(d.before=n.sheet.tags[0]),g!==null&&(f=!0,g.setAttribute("data-emotion",c),d.hydrate([g])),l.current=[d,f],function(){d.flush()}},[n]),ay(function(){var c=l.current,d=c[0],f=c[1];if(f){c[1]=!1;return}if(r.next!==void 0&&Zh(n,r.next,!0),d.tags.length){var g=d.tags[d.tags.length-1].nextElementSibling;d.before=g,d.flush()}n.insert("",r,d,!1)},[n,r.name]),null});function Dw(...e){return function(...a){e.forEach(r=>r?.(...a))}}const Pw=(...e)=>e.map(n=>n?.trim?.()).filter(Boolean).join(" "),Mw=/^on[A-Z]/;function ig(...e){let n={};for(let a of e){for(let r in n){if(Mw.test(r)&&typeof n[r]=="function"&&typeof a[r]=="function"){n[r]=Dw(n[r],a[r]);continue}if(r==="className"||r==="class"){n[r]=Pw(n[r],a[r]);continue}if(r==="style"){n[r]=Object.assign({},n[r]??{},a[r]??{});continue}n[r]=a[r]!==void 0?a[r]:n[r]}for(let r in a)n[r]===void 0&&(n[r]=a[r])}return n}function Lw(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 Bw(...e){return n=>{e.forEach(a=>{Lw(a,n)})}}function Rl(e){const n=Object.assign({},e);for(let a in n)n[a]===void 0&&delete n[a];return n}const Ki=(...e)=>e.filter(Boolean).map(n=>n.trim()).join(" ");function Hw(e){return e.default||e}const Bt=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),Hn=e=>typeof e=="string",ag=e=>typeof e=="function";function Fw(e){const n=D.version;return!Hn(n)||n.startsWith("18.")?e?.ref:e?.props?.ref}const vx=(...e)=>{const n=e.reduce((a,r)=>(r?.forEach(l=>a.add(l)),a),new Set([]));return Array.from(n)};function Uw(e,n){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${n}`}function bx(e={}){const{name:n,strict:a=!0,hookName:r="useContext",providerName:l="Provider",errorMessage:c,defaultValue:d}=e,f=D.createContext(d);f.displayName=n;function g(){const p=D.useContext(f);if(!p&&a){const m=new Error(c??Uw(r,l));throw m.name="ContextError",Error.captureStackTrace?.(m,g),m}return p}return[f.Provider,g,f]}const[jw,rg]=bx({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function $w(e){const{value:n,children:a}=e;return J.jsxs(jw,{value:n,children:[!n._config.disableLayers&&J.jsx(oy,{styles:n.layers.atRule}),J.jsx(oy,{styles:n._global}),a]})}const Gw=(e,n)=>{const a={},r={},l=Object.keys(e);for(const c of l)n(c)?r[c]=e[c]:a[c]=e[c];return[r,a]},Pr=(e,n)=>{const a=ag(n)?n:r=>n.includes(r);return Gw(e,a)},Ww=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function qw(e){return typeof e=="string"&&Ww.has(e)}function Yw(e,n,a){const{css:r,isValidProperty:l}=rg(),{children:c,...d}=e,f=D.useMemo(()=>{const[b,S]=Pr(d,T=>a(T,n.variantKeys)),[C,E]=Pr(S,n.variantKeys),[w,N]=Pr(E,l);return{forwardedProps:b,variantProps:C,styleProps:w,elementProps:N}},[n.variantKeys,a,d,l]),{css:g,...p}=f.styleProps,m=D.useMemo(()=>{const b={...f.variantProps};return n.variantKeys.includes("colorPalette")||(b.colorPalette=d.colorPalette),n.variantKeys.includes("orientation")||(b.orientation=d.orientation),n(b)},[n,f.variantProps,d.colorPalette,d.orientation]);return{styles:D.useMemo(()=>r(m,...Xw(g),p),[r,m,g,p]),props:{...f.forwardedProps,...f.elementProps,children:c}}}const Xw=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),Kw=Hw(GO),Qw=Kw,Zw=e=>e!=="theme",Jw=(e,n,a)=>{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"&&a&&(r=e.__emotion_forwardProp),r};let ek=typeof document<"u";const ly=({cache:e,serialized:n,isStringTag:a})=>{Qh(e,n,a);const r=px(()=>Zh(e,n,a));if(!ek&&r!==void 0){let l=n.name,c=n.next;for(;c!==void 0;)l=Ki(l,c.name),c=c.next;return J.jsx("style",{"data-emotion":Ki(e.key,l),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},sy={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"]},tk=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),nk=(e,n={},a={})=>{if(tk(sy,e)){a.forwardProps||(a.forwardProps=[]);const p=sy[e];a.forwardProps=vx([...a.forwardProps,...p])}const r=e.__emotion_real===e,l=r&&e.__emotion_base||e;let c,d;a!==void 0&&(c=a.label,d=a.target);let f=[];const g=eg((p,m,y)=>{const{cva:b,isValidProperty:S}=rg(),C=n.__cva__?n:b(n),E=ak(e.__emotion_cva,C),w=ce=>(H,Q)=>ce.includes(H)?!0:!Q?.includes(H)&&!S(H);!a.shouldForwardProp&&a.forwardProps&&(a.shouldForwardProp=w(a.forwardProps));const N=(ce,H)=>{const Q=typeof e=="string"&&e.charCodeAt(0)>96?Qw:Zw,re=!H?.includes(ce)&&!S(ce);return Q(ce)&&re},T=Jw(e,a,r)||N,R=D.useMemo(()=>Object.assign({},a.defaultProps,Rl(p)),[p]),{props:F,styles:A}=Yw(R,E,T);let Y="",U=[A],z=F;if(F.theme==null){z={};for(let ce in F)z[ce]=F[ce];z.theme=D.useContext(tg)}typeof F.className=="string"?Y=fx(m.registered,U,F.className):F.className!=null&&(Y=Ki(Y,F.className));const M=Jh(f.concat(U),m.registered,z);M.styles&&(Y=Ki(Y,`${m.key}-${M.name}`)),d!==void 0&&(Y=Ki(Y,d));const $=!T("as");let ae=$&&F.as||l,te={};for(let ce in F)if(!($&&ce==="as")){if(qw(ce)){const H=ce.replace("html","").toLowerCase();te[H]=F[ce];continue}T(ce)&&(te[ce]=F[ce])}let we=Y.trim();we?te.className=we:Reflect.deleteProperty(te,"className"),te.ref=y;const Ee=a.forwardAsChild||a.forwardProps?.includes("asChild");if(F.asChild&&!Ee){const ce=D.isValidElement(F.children)?D.Children.only(F.children):D.Children.toArray(F.children).find(D.isValidElement);if(!ce)throw new Error("[chakra-ui > factory] No valid child found");ae=ce.type,te.children=null,Reflect.deleteProperty(te,"asChild"),te=ig(te,ce.props),te.ref=Bw(y,Fw(ce))}return te.as&&Ee?(te.as=void 0,J.jsxs(D.Fragment,{children:[J.jsx(ly,{cache:m,serialized:M,isStringTag:typeof ae=="string"}),J.jsx(ae,{asChild:!0,...te,children:J.jsx(F.as,{children:te.children})})]})):J.jsxs(D.Fragment,{children:[J.jsx(ly,{cache:m,serialized:M,isStringTag:typeof ae=="string"}),J.jsx(ae,{...te})]})});return g.displayName=c!==void 0?c:`chakra(${typeof l=="string"?l:l.displayName||l.name||"Component"})`,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_forwardProp=a.shouldForwardProp,g.__emotion_cva=n,Object.defineProperty(g,"toString",{value(){return`.${d}`}}),g},Hf=nk.bind(),Ff=new Map,ik=new Proxy(Hf,{apply(e,n,a){return Hf(...a)},get(e,n){return Ff.has(n)||Ff.set(n,Hf(n)),Ff.get(n)}}),Ur=ik,ak=(e,n)=>e&&!n?e:!e&&n?n:e.merge(n),mn=Ur("div");mn.displayName="Box";const rk=Object.freeze({}),gM=Object.freeze({});function ok(e){const{key:n,recipe:a}=e,r=rg();return D.useMemo(()=>{const l=a||(n!=null?r.getRecipe(n):{});return r.cva(structuredClone(l))},[n,a,r])}const lk=e=>e.charAt(0).toUpperCase()+e.slice(1);function Nl(e){const{key:n,recipe:a}=e,r=lk(n||a.className||"Component"),[l,c]=bx({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function d(p){const{unstyled:m,...y}=p,b=ok({key:n,recipe:y.recipe||a}),[S,C]=D.useMemo(()=>b.splitVariantProps(y),[b,y]);return{styles:m?rk:b(S),className:b.className,props:C}}const f=(p,m)=>{const y=Ur(p,{},m),b=D.forwardRef((S,C)=>{const E=c(),w=D.useMemo(()=>ig(E,S),[S,E]),{styles:N,className:T,props:R}=d(w);return J.jsx(y,{...R,ref:C,css:[N,w.css],className:Ki(T,w.className)})});return b.displayName=p.displayName||p.name,b};function g(){return l}return{withContext:f,PropsProvider:l,withPropsProvider:g,usePropsContext:c,useRecipeResult:d}}function Uf(e){return e==null?[]:Array.isArray(e)?e:[e]}var gl=e=>e[0],og=e=>e[e.length-1],sk=(e,n)=>e.indexOf(n)!==-1,Ra=(e,...n)=>e.concat(n),_a=(e,...n)=>e.filter(a=>!n.includes(a)),Ar=e=>Array.from(new Set(e)),jf=(e,n)=>{const a=new Set(n);return e.filter(r=>!a.has(r))},Br=(e,n)=>sk(e,n)?_a(e,n):Ra(e,n);function yx(e,n,a={}){const{step:r=1,loop:l=!0}=a,c=n+r,d=e.length,f=d-1;return n===-1?r>0?0:f:c<0?l?f:0:c>=d?l?0:n>d?d:n:c}function ck(e,n,a={}){return e[yx(e,n,a)]}function uk(e,n,a={}){const{step:r=1,loop:l=!0}=a;return yx(e,n,{step:-r,loop:l})}function dk(e,n,a={}){return e[uk(e,n,a)]}function cy(e,n){return e.reduce(([a,r],l)=>(n(l)?a.push(l):r.push(l),[a,r]),[[],[]])}var uy=e=>e?.constructor.name==="Array",fk=(e,n)=>{if(e.length!==n.length)return!1;for(let a=0;a<e.length;a++)if(!wn(e[a],n[a]))return!1;return!0},wn=(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(uy(e)&&uy(n))return fk(Array.from(e),Array.from(n));if(typeof e!="object"||typeof n!="object")return!1;const a=Object.keys(n??Object.create(null)),r=a.length;for(let l=0;l<r;l++)if(!Reflect.has(e,a[l]))return!1;for(let l=0;l<r;l++){const c=a[l];if(!wn(e[c],n[c]))return!1}return!0},cl=e=>Array.isArray(e),hk=e=>e===!0||e===!1,xx=e=>e!=null&&typeof e=="object",Na=e=>xx(e)&&!cl(e),$f=e=>typeof e=="string",Sx=e=>typeof e=="function",gk=e=>e==null,Xi=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),pk=e=>Object.prototype.toString.call(e),Ex=Function.prototype.toString,mk=Ex.call(Object),vk=e=>{if(!xx(e)||pk(e)!="[object Object]"||xk(e))return!1;const n=Object.getPrototypeOf(e);if(n===null)return!0;const a=Xi(n,"constructor")&&n.constructor;return typeof a=="function"&&a instanceof a&&Ex.call(a)==mk},bk=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,yk=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,xk=e=>bk(e)||yk(e),Sk=(e,...n)=>(typeof e=="function"?e(...n):e)??void 0,pM=e=>e(),Ek=()=>{},Vc=(...e)=>(...n)=>{e.forEach(function(a){a?.(...n)})};function ui(e,n,...a){if(e in n){const l=n[e];return Sx(l)?l(...a):l}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(n))}`);throw Error.captureStackTrace?.(r,ui),r}var Cx=(e,n)=>{try{return e()}catch(a){return a instanceof Error&&Error.captureStackTrace?.(a,Cx),n?.()}},{floor:Ox,abs:dy,round:Zc,min:Ck,max:Ok,pow:wk,sign:kk}=Math,hh=e=>Number.isNaN(e),mi=e=>hh(e)?0:e,wx=(e,n)=>(e%n+n)%n,Tk=(e,n)=>(e%n+n)%n,Rk=(e,n)=>mi(e)>=n,Nk=(e,n)=>mi(e)<=n,Ak=(e,n,a)=>mi(e)>=n&&mi(e)<=a,_k=(e,n,a)=>Zc((mi(e)-n)/a)*a+n,Ht=(e,n,a)=>Ck(Ok(mi(e),n),a),zk=(e,n,a)=>(mi(e)-n)/(a-n),Ik=(e,n,a,r)=>Ht(_k(e*(a-n)+n,n,r),n,a),fy=(e,n)=>{let a=e,r=n.toString(),l=r.indexOf("."),c=l>=0?r.length-l:0;if(c>0){let d=wk(10,c);a=Zc(a*d)/d}return a},Gf=(e,n)=>typeof n=="number"?Ox(e*n+.5)/n:Zc(e),hy=(e,n,a,r)=>{const l=n!=null?Number(n):0,c=Number(a),d=(e-l)%r;let f=dy(d)*2>=r?e+kk(d)*(r-dy(d)):e-d;if(f=fy(f,r),!hh(l)&&f<l)f=l;else if(!hh(c)&&f>c){const g=Ox((c-l)/r),p=l+g*r;f=g<=0||p<l?c:p}return fy(f,r)},Ge=(e,n=0,a=10)=>{const r=Math.pow(a,n);return Zc(e*r)/r},gy=e=>{if(!Number.isFinite(e))return 0;let n=1,a=0;for(;Math.round(e*n)/n!==e;)n*=10,a+=1;return a},kx=(e,n,a)=>{let r=n==="+"?e+a:e-a;if(e%1!==0||a%1!==0){const l=10**Math.max(gy(e),gy(a));e=Math.round(e*l),a=Math.round(a*l),r=n==="+"?e+a:e-a,r/=l}return r},Vk=(e,n)=>kx(mi(e),"+",n),Dk=(e,n)=>kx(mi(e),"-",n);function Tx(e){if(!vk(e)||e===void 0)return e;const n=Reflect.ownKeys(e).filter(r=>typeof r=="string"),a={};for(const r of n){const l=e[r];l!==void 0&&(a[r]=Tx(l))}return a}function Rx(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function Nx(e,n){if(e==null)throw new Error(n())}function Pk(e){if(!e)return;const n=e.selectionStart??0,a=e.selectionEnd??0;Math.abs(a-n)===0&&n===0&&e.setSelectionRange(e.value.length,e.value.length)}var py=e=>Math.max(0,Math.min(1,e)),Mk=(e,n)=>e.map((a,r)=>e[(Math.max(n,0)+r)%e.length]),Wf=(...e)=>n=>e.reduce((a,r)=>r(a),n),_r=()=>{},Jc=e=>typeof e=="object"&&e!==null,Lk=2147483647,ve=e=>e?"":void 0,Bk=e=>e?"true":void 0,Hk=1,Fk=9,Uk=11,zt=e=>Jc(e)&&e.nodeType===Hk&&typeof e.nodeName=="string",lg=e=>Jc(e)&&e.nodeType===Fk,jk=e=>Jc(e)&&e===e.window,Ax=e=>zt(e)?e.localName||"":"#document";function $k(e){return["html","body","#document"].includes(Ax(e))}var Gk=e=>Jc(e)&&e.nodeType!==void 0,xl=e=>Gk(e)&&e.nodeType===Uk&&"host"in e,Wk=e=>zt(e)&&e.localName==="input",qk=e=>zt(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1,Yk=/(textarea|select)/;function sg(e){if(e==null||!zt(e))return!1;try{return Wk(e)&&e.selectionStart!=null||Yk.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function gi(e,n){if(!e||!n||!zt(e)||!zt(n))return!1;const a=n.getRootNode?.();if(e===n||e.contains(n))return!0;if(a&&xl(a)){let r=n;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function an(e){return lg(e)?e:jk(e)?e.document:e?.ownerDocument??document}function Xk(e){return an(e).documentElement}function ut(e){return xl(e)?ut(e.host):lg(e)?e.defaultView??window:zt(e)?e.ownerDocument?.defaultView??window:window}function _x(e){let n=e.activeElement;for(;n?.shadowRoot;){const a=n.shadowRoot.activeElement;if(a===n)break;n=a}return n}function Kk(e){if(Ax(e)==="html")return e;const n=e.assignedSlot||e.parentNode||xl(e)&&e.host||Xk(e);return xl(n)?n.host:n}var qf=new WeakMap;function Dc(e){return qf.has(e)||qf.set(e,ut(e).getComputedStyle(e)),qf.get(e)}var eu=()=>typeof document<"u";function Qk(){return navigator.userAgentData?.platform??navigator.platform}function Zk(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:n,version:a})=>`${n}/${a}`).join(" "):navigator.userAgent}var cg=e=>eu()&&e.test(Qk()),zx=e=>eu()&&e.test(Zk()),Jk=e=>eu()&&e.test(navigator.vendor),my=()=>eu()&&!!navigator.maxTouchPoints,eT=()=>cg(/^iPhone/i),tT=()=>cg(/^iPad/i)||nu()&&navigator.maxTouchPoints>1,tu=()=>eT()||tT(),nT=()=>nu()||tu(),nu=()=>cg(/^Mac/i),ug=()=>nT()&&Jk(/apple/i),iT=()=>zx(/Firefox/i),aT=()=>zx(/Android/i);function rT(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function ct(e){return rT(e)?.[0]??e.target}var oT=e=>gi(e.currentTarget,ct(e));function lT(e){return hT(e).isComposing||e.keyCode===229}function sT(e){return e.mozInputSource===0&&e.isTrusted?!0:aT()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var cT=e=>e.button===0,uT=e=>e.button===2||nu()&&e.ctrlKey&&e.button===0,dT=e=>"touches"in e&&e.touches.length>0,fT={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},vy={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function by(e,n={}){const{dir:a="ltr",orientation:r="horizontal"}=n;let l=e.key;return l=fT[l]??l,a==="rtl"&&r==="horizontal"&&l in vy&&(l=vy[l]),l}function hT(e){return e.nativeEvent??e}function Ix(e,n="client"){const a=dT(e)?e.touches[0]||e.changedTouches[0]:e;return{x:a[`${n}X`],y:a[`${n}Y`]}}var De=(e,n,a,r)=>{const l=typeof e=="function"?e():e;return l?.addEventListener(n,a,r),()=>{l?.removeEventListener(n,a,r)}};function Vx(e,n){const{type:a="HTMLInputElement",property:r="value"}=n,l=ut(e)[a].prototype;return Object.getOwnPropertyDescriptor(l,r)??{}}function gT(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function iu(e,n,a="value"){if(!e)return;const r=gT(e);r&&Vx(e,{type:r,property:a}).set?.call(e,n),e.setAttribute(a,n)}function dg(e,n){if(!e)return;Vx(e,{type:"HTMLInputElement",property:"checked"}).set?.call(e,n),n?e.setAttribute("checked",""):e.removeAttribute("checked")}function pT(e,n){const{value:a,bubbles:r=!0}=n;if(!e)return;const l=ut(e);e instanceof l.HTMLInputElement&&(iu(e,`${a}`),e.dispatchEvent(new l.Event("input",{bubbles:r})))}function Dx(e,n){const{checked:a,bubbles:r=!0}=n;if(!e)return;const l=ut(e);e instanceof l.HTMLInputElement&&(dg(e,a),e.dispatchEvent(new l.Event("click",{bubbles:r})))}function mT(e){return vT(e)?e.form:e.closest("form")}function vT(e){return e.matches("textarea, input, select, button")}function bT(e,n){if(!e)return;const a=mT(e),r=l=>{l.defaultPrevented||n()};return a?.addEventListener("reset",r,{passive:!0}),()=>a?.removeEventListener("reset",r)}function yT(e,n){const a=e?.closest("fieldset");if(!a)return;n(a.disabled);const r=ut(a),l=new r.MutationObserver(()=>n(a.disabled));return l.observe(a,{attributes:!0,attributeFilter:["disabled"]}),()=>l.disconnect()}function Al(e,n){if(!e)return;const{onFieldsetDisabledChange:a,onFormReset:r}=n,l=[bT(e,r),yT(e,a)];return()=>l.forEach(c=>c?.())}var Px=e=>zt(e)&&e.tagName==="IFRAME",xT=e=>!Number.isNaN(parseInt(e.getAttribute("tabindex")||"0",10)),ST=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,fg="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",Mx=(e,n=!1)=>{if(!e)return[];const a=Array.from(e.querySelectorAll(fg));(n==!0||n=="if-empty"&&a.length===0)&&zt(e)&&Qi(e)&&a.unshift(e);const l=a.filter(Qi);return l.forEach((c,d)=>{if(Px(c)&&c.contentDocument){const f=c.contentDocument.body;l.splice(d,1,...Mx(f))}}),l};function Qi(e){return!e||e.closest("[inert]")?!1:e.matches(fg)&&qk(e)}function au(e,n){if(!e)return[];const r=Array.from(e.querySelectorAll(fg)).filter(ka);return r.forEach((l,c)=>{if(Px(l)&&l.contentDocument){const d=l.contentDocument.body,f=au(d);r.splice(c,1,...f)}}),r.length,r}function ka(e){return e!=null&&e.tabIndex>0?!0:Qi(e)&&!ST(e)}function ET(e,n){const a=au(e,n),r=a[0]||null,l=a[a.length-1]||null;return[r,l]}function Jo(e){return e.tabIndex<0&&(/^(audio|video|details)$/.test(e.localName)||sg(e))&&!xT(e)?0:e.tabIndex}function hg(e){const{root:n,getInitialEl:a,filter:r,enabled:l=!0}=e;if(!l)return;let c=null;if(c||(c=typeof a=="function"?a():a),c||(c=n?.querySelector("[data-autofocus],[autofocus]")),!c){const d=au(n);c=r?d.filter(r)[0]:d[0]}return c||n||void 0}function CT(e){const n=e.currentTarget;if(!n)return!1;const[a,r]=ET(n),l=n.ownerDocument||document;return!(l.activeElement===a&&e.shiftKey||l.activeElement===r&&!e.shiftKey||!a&&!r)}function gg(e){const n=new Set;function a(r){const l=globalThis.requestAnimationFrame(r);n.add(()=>globalThis.cancelAnimationFrame(l))}return a(()=>a(e)),function(){n.forEach(l=>l())}}function Se(e){let n;const a=globalThis.requestAnimationFrame(()=>{n=e()});return()=>{globalThis.cancelAnimationFrame(a),n?.()}}function OT(e,n,a){const r=Se(()=>{e.removeEventListener(n,l,!0),a()}),l=()=>{r(),a()};return e.addEventListener(n,l,{once:!0,capture:!0}),r}function wT(e,n){if(!e)return;const{attributes:a,callback:r}=n,l=e.ownerDocument.defaultView||window,c=new l.MutationObserver(d=>{for(const f of d)f.type==="attributes"&&f.attributeName&&a.includes(f.attributeName)&&r(f)});return c.observe(e,{attributes:!0,attributeFilter:a}),()=>c.disconnect()}function ru(e,n){const{defer:a}=n,r=a?Se:c=>c(),l=[];return l.push(r(()=>{const c=typeof e=="function"?e():e;l.push(wT(c,n))})),()=>{l.forEach(c=>c?.())}}function Lx(e){const n=()=>{const a=ut(e);e.dispatchEvent(new a.MouseEvent("click"))};iT()?OT(e,"keyup",n):queueMicrotask(n)}function Pc(e){const n=Kk(e);return $k(n)?an(n).body:zt(n)&&pg(n)?n:Pc(n)}function Bx(e,n=[]){const a=Pc(e),r=a===e.ownerDocument.body,l=ut(a);return r?n.concat(l,l.visualViewport||[],pg(a)?a:[]):n.concat(a,Bx(a,[]))}var kT=/auto|scroll|overlay|hidden|clip/,TT=new Set(["inline","contents"]);function pg(e){const n=ut(e),{overflow:a,overflowX:r,overflowY:l,display:c}=n.getComputedStyle(e);return kT.test(a+l+r)&&!TT.has(c)}function RT(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function Mc(e,n){const{rootEl:a,...r}=n||{};!e||!a||!pg(a)||!RT(a)||e.scrollIntoView(r)}function Hx(e,n){const{left:a,top:r,width:l,height:c}=n.getBoundingClientRect(),d={x:e.x-a,y:e.y-r},f={x:py(d.x/l),y:py(d.y/c)};function g(p={}){const{dir:m="ltr",orientation:y="horizontal",inverted:b}=p,S=typeof b=="object"?b.x:b,C=typeof b=="object"?b.y:b;return y==="horizontal"?m==="rtl"||S?1-f.x:f.x:C?1-f.y:f.y}return{offset:d,percent:f,getPercentValue:g}}function NT(e,n){const a=e.body,r="pointerLockElement"in e||"mozPointerLockElement"in e,l=()=>!!e.pointerLockElement;function c(){}function d(g){l(),console.error("PointerLock error occurred:",g),e.exitPointerLock()}if(!r)return;try{a.requestPointerLock()}catch{}const f=[De(e,"pointerlockchange",c,!1),De(e,"pointerlockerror",d,!1)];return()=>{f.forEach(g=>g()),e.exitPointerLock()}}var zr="default",gh="",Sc=new WeakMap;function AT(e={}){const{target:n,doc:a}=e,r=a??document,l=r.documentElement;return tu()?(zr==="default"&&(gh=l.style.webkitUserSelect,l.style.webkitUserSelect="none"),zr="disabled"):n&&(Sc.set(n,n.style.userSelect),n.style.userSelect="none"),()=>_T({target:n,doc:r})}function _T(e={}){const{target:n,doc:a}=e,l=(a??document).documentElement;if(tu()){if(zr!=="disabled")return;zr="restoring",setTimeout(()=>{gg(()=>{zr==="restoring"&&(l.style.webkitUserSelect==="none"&&(l.style.webkitUserSelect=gh||""),gh="",zr="default")})},300)}else if(n&&Sc.has(n)){const c=Sc.get(n);n.style.userSelect==="none"&&(n.style.userSelect=c??""),n.getAttribute("style")===""&&n.removeAttribute("style"),Sc.delete(n)}}function Fx(e={}){const{defer:n,target:a,...r}=e,l=n?Se:d=>d(),c=[];return c.push(l(()=>{const d=typeof a=="function"?a():a;c.push(AT({...r,target:d}))})),()=>{c.forEach(d=>d?.())}}function zT(e,n){const{onPointerMove:a,onPointerUp:r}=n,c=[De(e,"pointermove",d=>{const f=Ix(d),g=Math.sqrt(f.x**2+f.y**2),p=d.pointerType==="touch"?10:5;if(!(g<p)){if(d.pointerType==="mouse"&&d.button===0){r();return}a({point:f,event:d})}},!1),De(e,"pointerup",r,!1),De(e,"pointercancel",r,!1),De(e,"contextmenu",r,!1),Fx({doc:e})];return()=>{c.forEach(d=>d())}}function Ux(e){const{pointerNode:n,keyboardNode:a=n,onPress:r,onPressStart:l,onPressEnd:c,isValidKey:d=R=>R.key==="Enter"}=e;if(!n)return _r;const f=ut(n),g=an(n);let p=_r,m=_r,y=_r;const b=R=>({point:Ix(R),event:R});function S(R){l?.(b(R))}function C(R){c?.(b(R))}const w=De(n,"pointerdown",R=>{m();const A=De(f,"pointerup",U=>{const z=ct(U);gi(n,z)?r?.(b(U)):c?.(b(U))},{passive:!r,once:!0}),Y=De(f,"pointercancel",C,{passive:!c,once:!0});m=Wf(A,Y),g.activeElement===a&&R.pointerType==="mouse"&&R.preventDefault(),S(R)},{passive:!l}),N=De(a,"focus",T);p=Wf(w,N);function T(){const R=U=>{if(!d(U))return;const z=$=>{if(!d($))return;const ae=new f.PointerEvent("pointerup"),te=b(ae);r?.(te),c?.(te)};m(),m=De(a,"keyup",z);const M=new f.PointerEvent("pointerdown");S(M)},F=()=>{const U=new f.PointerEvent("pointercancel");C(U)},A=De(a,"keydown",R),Y=De(a,"blur",F);y=Wf(A,Y)}return()=>{p(),m(),y()}}function Lc(e,n){return Array.from(e?.querySelectorAll(n)??[])}function IT(e,n){return e?.querySelector(n)??null}var mg=e=>e.id;function VT(e,n,a=mg){return e.find(r=>a(r)===n)}function vg(e,n,a=mg){const r=VT(e,n,a);return r?e.indexOf(r):-1}function DT(e,n,a=!0){let r=vg(e,n);return r=a?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function PT(e,n,a=!0){let r=vg(e,n);return r===-1?a?e[e.length-1]:null:(r=a?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var MT=e=>e.split("").map(n=>{const a=n.charCodeAt(0);return a>0&&a<128?n:a>=128&&a<=255?`/x${a.toString(16)}`.replace("/","\\"):""}).join("").trim(),LT=e=>MT(e.dataset?.valuetext??e.textContent??""),BT=(e,n)=>e.trim().toLowerCase().startsWith(n.toLowerCase());function HT(e,n,a,r=mg){const l=a?vg(e,a,r):-1;let c=a?Mk(e,l):e;return n.length===1&&(c=c.filter(f=>r(f)!==a)),c.find(f=>BT(LT(f),n))}function Bc(e,n){if(!e)return _r;const a=Object.keys(n).reduce((r,l)=>(r[l]=e.style.getPropertyValue(l),r),{});return Object.assign(e.style,n),()=>{Object.assign(e.style,a),e.style.length===0&&e.removeAttribute("style")}}function FT(e,n,a){if(!e)return _r;const r=e.style.getPropertyValue(n);return e.style.setProperty(n,a),()=>{e.style.setProperty(n,r),e.style.length===0&&e.removeAttribute("style")}}function UT(e,n){const{state:a,activeId:r,key:l,timeout:c=350,itemToId:d}=n,f=a.keysSoFar+l,p=f.length>1&&Array.from(f).every(C=>C===f[0])?f[0]:f;let m=e.slice();const y=HT(m,p,r,d);function b(){clearTimeout(a.timer),a.timer=-1}function S(C){a.keysSoFar=C,b(),C!==""&&(a.timer=+setTimeout(()=>{S(""),b()},c))}return S(f),y}var za=Object.assign(UT,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:jT});function jT(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}var bg={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function $T(e,n,a){const{signal:r}=n;return[new Promise((d,f)=>{const g=setTimeout(()=>{f(new Error(`Timeout of ${a}ms exceeded`))},a);r.addEventListener("abort",()=>{clearTimeout(g),f(new Error("Promise aborted"))}),e.then(p=>{r.aborted||(clearTimeout(g),d(p))}).catch(p=>{r.aborted||(clearTimeout(g),f(p))})}),()=>n.abort()]}function GT(e,n){const{timeout:a,rootNode:r}=n,l=ut(r),c=an(r),d=new l.AbortController;return $T(new Promise(f=>{const g=e();if(g){f(g);return}const p=new l.MutationObserver(()=>{const m=e();m&&m.isConnected&&(p.disconnect(),f(m))});p.observe(c.body,{childList:!0,subtree:!0})}),d,a)}var WT=(...e)=>e.map(n=>n?.trim?.()).filter(Boolean).join(" "),qT=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,yy=e=>{const n={};let a;for(;a=qT.exec(e);)n[a[1]]=a[2];return n},YT=(e,n)=>{if($f(e)){if($f(n))return`${e};${n}`;e=yy(e)}else $f(n)&&(n=yy(n));return Object.assign({},e??{},n??{})};function mM(...e){let n={};for(let a of e){for(let r in n){if(r.startsWith("on")&&typeof n[r]=="function"&&typeof a[r]=="function"){n[r]=Vc(a[r],n[r]);continue}if(r==="className"||r==="class"){n[r]=WT(n[r],a[r]);continue}if(r==="style"){n[r]=YT(n[r],a[r]);continue}n[r]=a[r]!==void 0?a[r]:n[r]}for(let r in a)n[r]===void 0&&(n[r]=a[r])}return n}function xy(e,n,a){let r=[],l;return c=>{const d=e(c);return(d.length!==r.length||d.some((g,p)=>!wn(r[p],g)))&&(r=d,l=n(...d)),l}}function $n(){return{and:(...e)=>function(a){return e.every(r=>a.guard(r))},or:(...e)=>function(a){return e.some(r=>a.guard(r))},not:e=>function(a){return!a.guard(e)}}}function vM(e){return e}function jx(){return{guards:$n(),createMachine:e=>e,choose:e=>function({choose:a}){return a(e)?.actions}}}var XT=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(XT||{}),bM="__init__";function yM(e){const n=()=>e.getRootNode?.()??document,a=()=>an(n()),r=()=>a().defaultView??window,l=()=>_x(n());return{...e,getRootNode:n,getDoc:a,getWin:r,getActiveElement:l,isActiveElement:f=>f===l(),getById:f=>n().getElementById(f)}}const{withContext:KT}=Nl({key:"heading"}),QT=KT("h2");function xM(e){return new Proxy({},{get(n,a){return a==="style"?r=>e({style:r}).style:e}})}var me=()=>e=>Array.from(new Set(e));const Zs=Ur("span"),{withContext:ZT}=Nl({key:"text"}),hi=ZT("p");var fe=(e,n=[])=>({parts:(...a)=>{if(JT(n))return fe(e,a);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...a)=>fe(e,[...n,...a]),omit:(...a)=>fe(e,n.filter(r=>!a.includes(r))),rename:a=>fe(a,n),keys:()=>n,build:()=>[...new Set(n)].reduce((a,r)=>Object.assign(a,{[r]:{selector:[`&[data-scope="${Cr(e)}"][data-part="${Cr(r)}"]`,`& [data-scope="${Cr(e)}"][data-part="${Cr(r)}"]`].join(", "),attrs:{"data-scope":Cr(e),"data-part":Cr(r)}}}),{})}),Cr=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),JT=e=>e.length===0,$x=fe("collapsible").parts("root","trigger","content","indicator"),Js=$x.build(),eR=e=>e.ids?.root??`collapsible:${e.id}`,ph=e=>e.ids?.content??`collapsible:${e.id}:content`,tR=e=>e.ids?.trigger??`collapsible:${e.id}:trigger`,ec=e=>e.getById(ph(e));function SM(e,n){const{state:a,send:r,context:l,scope:c,prop:d}=e,f=a.matches("open")||a.matches("closing"),g=a.matches("open"),{width:p,height:m}=l.get("size"),y=!!d("disabled"),b=!l.get("initial")&&g,S="ltr";return{disabled:y,visible:f,open:g,measureSize(){r({type:"size.measure"})},setOpen(C){a.matches("open")!==C&&r({type:C?"open":"close"})},getRootProps(){return n.element({...Js.root.attrs,"data-state":g?"open":"closed",dir:S,id:eR(c)})},getContentProps(){return n.element({...Js.content.attrs,"data-collapsible":"","data-state":b?void 0:g?"open":"closed",id:ph(c),"data-disabled":ve(y),hidden:!f,style:{"--height":m!=null?`${m}px`:void 0,"--width":p!=null?`${p}px`:void 0}})},getTriggerProps(){return n.element({...Js.trigger.attrs,id:tR(c),dir:S,type:"button","data-state":g?"open":"closed","data-disabled":ve(y),"aria-controls":ph(c),"aria-expanded":f||!1,onClick(C){C.defaultPrevented||y||r({type:g?"close":"open"})}})},getIndicatorProps(){return n.element({...Js.indicator.attrs,dir:S,"data-state":g?"open":"closed","data-disabled":ve(y)})}}}var EM={initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{size:e(()=>({defaultValue:{height:0,width:0},sync:!0})),initial:e(()=>({defaultValue:!1}))}},refs(){return{cleanup:void 0,stylesRef:void 0}},watch({track:e,prop:n,action:a}){e([()=>n("open")],()=>{a(["setInitial","computeSize","toggleVisibility"])})},exit:["clearInitial","cleanupNode"],states:{closed:{on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{effects:["trackExitAnimation"],on:{"controlled.close":{target:"closed"},"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],close:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"animation.end":{target:"closed",actions:["invokeOnExitComplete","clearInitial"]}}},open:{effects:["trackEnterAnimation"],on:{"controlled.close":{target:"closing"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}],"size.measure":{actions:["measureSize"]},"animation.end":{actions:["clearInitial"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackEnterAnimation:({send:e,scope:n})=>{let a;const r=Se(()=>{const l=ec(n);if(!l)return;const c=Dc(l).animationName;if(!c||c==="none"){e({type:"animation.end"});return}const f=g=>{ct(g)===l&&e({type:"animation.end"})};l.addEventListener("animationend",f),a=()=>{l.removeEventListener("animationend",f)}});return()=>{r(),a?.()}},trackExitAnimation:({send:e,scope:n})=>{let a;const r=Se(()=>{const l=ec(n);if(!l)return;const c=Dc(l).animationName;if(!c||c==="none"){e({type:"animation.end"});return}const f=p=>{ct(p)===l&&e({type:"animation.end"})};l.addEventListener("animationend",f);const g=Bc(l,{animationFillMode:"forwards"});a=()=>{l.removeEventListener("animationend",f),gg(()=>g())}});return()=>{r(),a?.()}}},actions:{setInitial:({context:e,flush:n})=>{n(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("stylesRef",null)},measureSize:({context:e,scope:n})=>{const a=ec(n);if(!a)return;const{height:r,width:l}=a.getBoundingClientRect();e.set("size",{height:r,width:l})},computeSize:({refs:e,scope:n,context:a})=>{e.get("cleanup")?.();const r=Se(()=>{const l=ec(n);if(!l)return;const c=l.hidden;l.style.animationName="none",l.style.animationDuration="0s",l.hidden=!1;const d=l.getBoundingClientRect();a.set("size",{height:d.height,width:d.width}),a.get("initial")&&(l.style.animationName="",l.style.animationDuration=""),l.hidden=c});e.set("cleanup",r)},invokeOnOpen:({prop:e})=>{e("onOpenChange")?.({open:!0})},invokeOnClose:({prop:e})=>{e("onOpenChange")?.({open:!1})},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},toggleVisibility:({prop:e,send:n})=>{n({type:e("open")?"controlled.open":"controlled.close"})}}}};me()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var nR=Object.defineProperty,iR=(e,n,a)=>n in e?nR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,yg=(e,n,a)=>iR(e,n+"",a),aR=(e,n)=>{if(Object.keys(e).length!==Object.keys(n).length)return!1;for(let a in e)if(e[a]!==n[a])return!1;return!0},xg=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 a=n??this.getChannelValue(e),{minValue:r,maxValue:l}=this.getChannelRange(e);return zk(a,r,l)}getChannelPercentValue(e,n){const{minValue:a,maxValue:r,step:l}=this.getChannelRange(e),c=Ik(n,a,r,l);return hy(c,a,r,l)}withChannelValue(e,n){const{minValue:a,maxValue:r}=this.getChannelRange(e);if(e in this){let l=this.clone();return l[e]=Ht(n,a,r),l}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:n,yChannel:a}=e,r=n||this.getChannels().find(d=>d!==a),l=a||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:a,maxValue:r,step:l}=this.getChannelRange(e),c=hy(Ht(this.getChannelValue(e)+n,a,r),a,r,l);return this.withChannelValue(e,c)}decrementChannel(e,n){return this.incrementChannel(e,-n)}isEqual(e){return aR(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},rR=/^#[\da-f]+$/i,oR=/^rgba?\((.*)\)$/,lR=/[^#]/gi,Gx=class Ec extends xg{constructor(n,a,r,l){super(),this.red=n,this.green=a,this.blue=r,this.alpha=l}static parse(n){let a=[];if(rR.test(n)&&[4,5,7,9].includes(n.length)){const l=(n.length<6?n.replace(lR,"$&$&"):n).slice(1).split("");for(;l.length>0;)a.push(parseInt(l.splice(0,2).join(""),16));a[3]=a[3]!==void 0?a[3]/255:void 0}const r=n.match(oR);return r?.[1]&&(a=r[1].split(",").map(l=>Number(l.trim())).map((l,c)=>Ht(l,0,c<3?255:1))),a.length<3?void 0:new Ec(a[0],a[1],a[2],a[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,a=this.green/255,r=this.blue/255,l=Math.min(n,a,r),c=Math.max(n,a,r),d=c-l,f=c===0?0:d/c;let g=0;if(d!==0){switch(c){case n:g=(a-r)/d+(a<r?6:0);break;case a:g=(r-n)/d+2;break;case r:g=(n-a)/d+4;break}g/=6}return new Cg(Ge(g*360,2),Ge(f*100,2),Ge(c*100,2),Ge(this.alpha,2))}toHSL(){const n=this.red/255,a=this.green/255,r=this.blue/255,l=Math.min(n,a,r),c=Math.max(n,a,r),d=(c+l)/2,f=c-l;let g=-1,p=-1;if(f===0)g=p=0;else{switch(p=f/(d<.5?c+l:2-c-l),c){case n:g=(a-r)/f+(a<r?6:0);break;case a:g=(r-n)/f+2;break;case r:g=(n-a)/f+4;break}g/=6}return new Eg(Ge(g*360,2),Ge(p*100,2),Ge(d*100,2),Ge(this.alpha,2))}clone(){return new Ec(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,a){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return new Intl.NumberFormat(a,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 Ec.colorChannels}};yg(Gx,"colorChannels",["red","green","blue"]);var Sg=Gx,sR=/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+)?)\)/,Wx=class Cc extends xg{constructor(n,a,r,l){super(),this.hue=n,this.saturation=a,this.lightness=r,this.alpha=l}static parse(n){let a;if(a=n.match(sR)){const[r,l,c,d]=(a[1]??a[2]).split(",").map(f=>Number(f.trim().replace("%","")));return new Cc(wx(r,360),Ht(l,0,100),Ht(c,0,100),Ht(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}, ${Ge(this.saturation,2)}%, ${Ge(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${Ge(this.saturation,2)}%, ${Ge(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,a=this.lightness/100,r=a+n*Math.min(a,1-a);return n=r===0?0:2*(1-a/r),new Cg(Ge(this.hue,2),Ge(n*100,2),Ge(r*100,2),Ge(this.alpha,2))}toRGB(){let n=this.hue,a=this.saturation/100,r=this.lightness/100,l=a*Math.min(r,1-r),c=(d,f=(d+n/30)%12)=>r-l*Math.max(Math.min(f-3,9-f,1),-1);return new Sg(Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255),Ge(this.alpha,2))}clone(){return new Cc(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,a){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return(n==="saturation"||n==="lightness")&&(l/=100),new Intl.NumberFormat(a,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 Cc.colorChannels}};yg(Wx,"colorChannels",["hue","saturation","lightness"]);var Eg=Wx,cR=/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+)?)\)/,qx=class Oc extends xg{constructor(n,a,r,l){super(),this.hue=n,this.saturation=a,this.brightness=r,this.alpha=l}static parse(n){let a;if(a=n.match(cR)){const[r,l,c,d]=(a[1]??a[2]).split(",").map(f=>Number(f.trim().replace("%","")));return new Oc(wx(r,360),Ht(l,0,100),Ht(c,0,100),Ht(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}, ${Ge(this.saturation,2)}%, ${Ge(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${Ge(this.saturation,2)}%, ${Ge(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,a=this.brightness/100,r=a*(1-n/2);return n=r===0||r===1?0:(a-r)/Math.min(r,1-r),new Eg(Ge(this.hue,2),Ge(n*100,2),Ge(r*100,2),Ge(this.alpha,2))}toRGB(){let n=this.hue,a=this.saturation/100,r=this.brightness/100,l=(c,d=(c+n/60)%6)=>r-a*r*Math.max(Math.min(d,4-d,1),0);return new Sg(Math.round(l(5)*255),Math.round(l(3)*255),Math.round(l(1)*255),Ge(this.alpha,2))}clone(){return new Oc(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,a){let r=this.getChannelFormatOptions(n),l=this.getChannelValue(n);return(n==="saturation"||n==="brightness")&&(l/=100),new Intl.NumberFormat(a,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 Oc.colorChannels}};yg(qx,"colorChannels",["hue","saturation","brightness"]);var Cg=qx,uR="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",dR=e=>{const n=new Map,a=e.split(",");for(let r=0;r<a.length;r++){const[l,c]=a[r].split(":");n.set(l,`#${c}`),l.includes("gray")&&n.set(l.replace("gray","grey"),`#${c}`)}return n},Sy=dR(uR),Hc=e=>{if(Sy.has(e))return Hc(Sy.get(e));const n=Sg.parse(e)||Cg.parse(e)||Eg.parse(e);if(!n){const a=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(a,Hc),a}return n};const fR=["top","right","bottom","left"],Zi=Math.min,en=Math.max,Fc=Math.round,tc=Math.floor,Bn=e=>({x:e,y:e}),hR={left:"right",right:"left",bottom:"top",top:"bottom"},gR={start:"end",end:"start"};function mh(e,n,a){return en(e,Zi(n,a))}function vi(e,n){return typeof e=="function"?e(n):e}function bi(e){return e.split("-")[0]}function jr(e){return e.split("-")[1]}function Og(e){return e==="x"?"y":"x"}function wg(e){return e==="y"?"height":"width"}const pR=new Set(["top","bottom"]);function Mn(e){return pR.has(bi(e))?"y":"x"}function kg(e){return Og(Mn(e))}function mR(e,n,a){a===void 0&&(a=!1);const r=jr(e),l=kg(e),c=wg(l);let d=l==="x"?r===(a?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(d=Uc(d)),[d,Uc(d)]}function vR(e){const n=Uc(e);return[vh(e),n,vh(n)]}function vh(e){return e.replace(/start|end/g,n=>gR[n])}const Ey=["left","right"],Cy=["right","left"],bR=["top","bottom"],yR=["bottom","top"];function xR(e,n,a){switch(e){case"top":case"bottom":return a?n?Cy:Ey:n?Ey:Cy;case"left":case"right":return n?bR:yR;default:return[]}}function SR(e,n,a,r){const l=jr(e);let c=xR(bi(e),a==="start",r);return l&&(c=c.map(d=>d+"-"+l),n&&(c=c.concat(c.map(vh)))),c}function Uc(e){return e.replace(/left|right|bottom|top/g,n=>hR[n])}function ER(e){return{top:0,right:0,bottom:0,left:0,...e}}function Yx(e){return typeof e!="number"?ER(e):{top:e,right:e,bottom:e,left:e}}function jc(e){const{x:n,y:a,width:r,height:l}=e;return{width:r,height:l,top:a,left:n,right:n+r,bottom:a+l,x:n,y:a}}function Oy(e,n,a){let{reference:r,floating:l}=e;const c=Mn(n),d=kg(n),f=wg(d),g=bi(n),p=c==="y",m=r.x+r.width/2-l.width/2,y=r.y+r.height/2-l.height/2,b=r[f]/2-l[f]/2;let S;switch(g){case"top":S={x:m,y:r.y-l.height};break;case"bottom":S={x:m,y:r.y+r.height};break;case"right":S={x:r.x+r.width,y};break;case"left":S={x:r.x-l.width,y};break;default:S={x:r.x,y:r.y}}switch(jr(n)){case"start":S[d]-=b*(a&&p?-1:1);break;case"end":S[d]+=b*(a&&p?-1:1);break}return S}const CR=async(e,n,a)=>{const{placement:r="bottom",strategy:l="absolute",middleware:c=[],platform:d}=a,f=c.filter(Boolean),g=await(d.isRTL==null?void 0:d.isRTL(n));let p=await d.getElementRects({reference:e,floating:n,strategy:l}),{x:m,y}=Oy(p,r,g),b=r,S={},C=0;for(let E=0;E<f.length;E++){const{name:w,fn:N}=f[E],{x:T,y:R,data:F,reset:A}=await N({x:m,y,initialPlacement:r,placement:b,strategy:l,middlewareData:S,rects:p,platform:d,elements:{reference:e,floating:n}});m=T??m,y=R??y,S={...S,[w]:{...S[w],...F}},A&&C<=50&&(C++,typeof A=="object"&&(A.placement&&(b=A.placement),A.rects&&(p=A.rects===!0?await d.getElementRects({reference:e,floating:n,strategy:l}):A.rects),{x:m,y}=Oy(p,b,g)),E=-1)}return{x:m,y,placement:b,strategy:l,middlewareData:S}};async function Sl(e,n){var a;n===void 0&&(n={});const{x:r,y:l,platform:c,rects:d,elements:f,strategy:g}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:b=!1,padding:S=0}=vi(n,e),C=Yx(S),w=f[b?y==="floating"?"reference":"floating":y],N=jc(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(w)))==null||a?w:w.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:p,rootBoundary:m,strategy:g})),T=y==="floating"?{x:r,y:l,width:d.floating.width,height:d.floating.height}:d.reference,R=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),F=await(c.isElement==null?void 0:c.isElement(R))?await(c.getScale==null?void 0:c.getScale(R))||{x:1,y:1}:{x:1,y:1},A=jc(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:T,offsetParent:R,strategy:g}):T);return{top:(N.top-A.top+C.top)/F.y,bottom:(A.bottom-N.bottom+C.bottom)/F.y,left:(N.left-A.left+C.left)/F.x,right:(A.right-N.right+C.right)/F.x}}const OR=e=>({name:"arrow",options:e,async fn(n){const{x:a,y:r,placement:l,rects:c,platform:d,elements:f,middlewareData:g}=n,{element:p,padding:m=0}=vi(e,n)||{};if(p==null)return{};const y=Yx(m),b={x:a,y:r},S=kg(l),C=wg(S),E=await d.getDimensions(p),w=S==="y",N=w?"top":"left",T=w?"bottom":"right",R=w?"clientHeight":"clientWidth",F=c.reference[C]+c.reference[S]-b[S]-c.floating[C],A=b[S]-c.reference[S],Y=await(d.getOffsetParent==null?void 0:d.getOffsetParent(p));let U=Y?Y[R]:0;(!U||!await(d.isElement==null?void 0:d.isElement(Y)))&&(U=f.floating[R]||c.floating[C]);const z=F/2-A/2,M=U/2-E[C]/2-1,$=Zi(y[N],M),ae=Zi(y[T],M),te=$,we=U-E[C]-ae,Ee=U/2-E[C]/2+z,ce=mh(te,Ee,we),H=!g.arrow&&jr(l)!=null&&Ee!==ce&&c.reference[C]/2-(Ee<te?$:ae)-E[C]/2<0,Q=H?Ee<te?Ee-te:Ee-we:0;return{[S]:b[S]+Q,data:{[S]:ce,centerOffset:Ee-ce-Q,...H&&{alignmentOffset:Q}},reset:H}}}),wR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var a,r;const{placement:l,middlewareData:c,rects:d,initialPlacement:f,platform:g,elements:p}=n,{mainAxis:m=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:E=!0,...w}=vi(e,n);if((a=c.arrow)!=null&&a.alignmentOffset)return{};const N=bi(l),T=Mn(f),R=bi(f)===f,F=await(g.isRTL==null?void 0:g.isRTL(p.floating)),A=b||(R||!E?[Uc(f)]:vR(f)),Y=C!=="none";!b&&Y&&A.push(...SR(f,E,C,F));const U=[f,...A],z=await Sl(n,w),M=[];let $=((r=c.flip)==null?void 0:r.overflows)||[];if(m&&M.push(z[N]),y){const Ee=mR(l,d,F);M.push(z[Ee[0]],z[Ee[1]])}if($=[...$,{placement:l,overflows:M}],!M.every(Ee=>Ee<=0)){var ae,te;const Ee=(((ae=c.flip)==null?void 0:ae.index)||0)+1,ce=U[Ee];if(ce&&(!(y==="alignment"?T!==Mn(ce):!1)||$.every(re=>Mn(re.placement)===T?re.overflows[0]>0:!0)))return{data:{index:Ee,overflows:$},reset:{placement:ce}};let H=(te=$.filter(Q=>Q.overflows[0]<=0).sort((Q,re)=>Q.overflows[1]-re.overflows[1])[0])==null?void 0:te.placement;if(!H)switch(S){case"bestFit":{var we;const Q=(we=$.filter(re=>{if(Y){const ie=Mn(re.placement);return ie===T||ie==="y"}return!0}).map(re=>[re.placement,re.overflows.filter(ie=>ie>0).reduce((ie,k)=>ie+k,0)]).sort((re,ie)=>re[1]-ie[1])[0])==null?void 0:we[0];Q&&(H=Q);break}case"initialPlacement":H=f;break}if(l!==H)return{reset:{placement:H}}}return{}}}};function wy(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function ky(e){return fR.some(n=>e[n]>=0)}const kR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:a}=n,{strategy:r="referenceHidden",...l}=vi(e,n);switch(r){case"referenceHidden":{const c=await Sl(n,{...l,elementContext:"reference"}),d=wy(c,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:ky(d)}}}case"escaped":{const c=await Sl(n,{...l,altBoundary:!0}),d=wy(c,a.floating);return{data:{escapedOffsets:d,escaped:ky(d)}}}default:return{}}}}},Xx=new Set(["left","top"]);async function TR(e,n){const{placement:a,platform:r,elements:l}=e,c=await(r.isRTL==null?void 0:r.isRTL(l.floating)),d=bi(a),f=jr(a),g=Mn(a)==="y",p=Xx.has(d)?-1:1,m=c&&g?-1:1,y=vi(n,e);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return f&&typeof C=="number"&&(S=f==="end"?C*-1:C),g?{x:S*m,y:b*p}:{x:b*p,y:S*m}}const RR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var a,r;const{x:l,y:c,placement:d,middlewareData:f}=n,g=await TR(n,e);return d===((a=f.offset)==null?void 0:a.placement)&&(r=f.arrow)!=null&&r.alignmentOffset?{}:{x:l+g.x,y:c+g.y,data:{...g,placement:d}}}}},NR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:a,y:r,placement:l}=n,{mainAxis:c=!0,crossAxis:d=!1,limiter:f={fn:w=>{let{x:N,y:T}=w;return{x:N,y:T}}},...g}=vi(e,n),p={x:a,y:r},m=await Sl(n,g),y=Mn(bi(l)),b=Og(y);let S=p[b],C=p[y];if(c){const w=b==="y"?"top":"left",N=b==="y"?"bottom":"right",T=S+m[w],R=S-m[N];S=mh(T,S,R)}if(d){const w=y==="y"?"top":"left",N=y==="y"?"bottom":"right",T=C+m[w],R=C-m[N];C=mh(T,C,R)}const E=f.fn({...n,[b]:S,[y]:C});return{...E,data:{x:E.x-a,y:E.y-r,enabled:{[b]:c,[y]:d}}}}}},AR=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:a,y:r,placement:l,rects:c,middlewareData:d}=n,{offset:f=0,mainAxis:g=!0,crossAxis:p=!0}=vi(e,n),m={x:a,y:r},y=Mn(l),b=Og(y);let S=m[b],C=m[y];const E=vi(f,n),w=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(g){const R=b==="y"?"height":"width",F=c.reference[b]-c.floating[R]+w.mainAxis,A=c.reference[b]+c.reference[R]-w.mainAxis;S<F?S=F:S>A&&(S=A)}if(p){var N,T;const R=b==="y"?"width":"height",F=Xx.has(bi(l)),A=c.reference[y]-c.floating[R]+(F&&((N=d.offset)==null?void 0:N[y])||0)+(F?0:w.crossAxis),Y=c.reference[y]+c.reference[R]+(F?0:((T=d.offset)==null?void 0:T[y])||0)-(F?w.crossAxis:0);C<A?C=A:C>Y&&(C=Y)}return{[b]:S,[y]:C}}}},_R=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var a,r;const{placement:l,rects:c,platform:d,elements:f}=n,{apply:g=()=>{},...p}=vi(e,n),m=await Sl(n,p),y=bi(l),b=jr(l),S=Mn(l)==="y",{width:C,height:E}=c.floating;let w,N;y==="top"||y==="bottom"?(w=y,N=b===(await(d.isRTL==null?void 0:d.isRTL(f.floating))?"start":"end")?"left":"right"):(N=y,w=b==="end"?"top":"bottom");const T=E-m.top-m.bottom,R=C-m.left-m.right,F=Zi(E-m[w],T),A=Zi(C-m[N],R),Y=!n.middlewareData.shift;let U=F,z=A;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(z=R),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(U=T),Y&&!b){const $=en(m.left,0),ae=en(m.right,0),te=en(m.top,0),we=en(m.bottom,0);S?z=C-2*($!==0||ae!==0?$+ae:en(m.left,m.right)):U=E-2*(te!==0||we!==0?te+we:en(m.top,m.bottom))}await g({...n,availableWidth:z,availableHeight:U});const M=await d.getDimensions(f.floating);return C!==M.width||E!==M.height?{reset:{rects:!0}}:{}}}};function ou(){return typeof window<"u"}function $r(e){return Kx(e)?(e.nodeName||"").toLowerCase():"#document"}function nn(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Gn(e){var n;return(n=(Kx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function Kx(e){return ou()?e instanceof Node||e instanceof nn(e).Node:!1}function kn(e){return ou()?e instanceof Element||e instanceof nn(e).Element:!1}function Fn(e){return ou()?e instanceof HTMLElement||e instanceof nn(e).HTMLElement:!1}function Ty(e){return!ou()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nn(e).ShadowRoot}const zR=new Set(["inline","contents"]);function _l(e){const{overflow:n,overflowX:a,overflowY:r,display:l}=Tn(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+a)&&!zR.has(l)}const IR=new Set(["table","td","th"]);function VR(e){return IR.has($r(e))}const DR=[":popover-open",":modal"];function lu(e){return DR.some(n=>{try{return e.matches(n)}catch{return!1}})}const PR=["transform","translate","scale","rotate","perspective"],MR=["transform","translate","scale","rotate","perspective","filter"],LR=["paint","layout","strict","content"];function Tg(e){const n=Rg(),a=kn(e)?Tn(e):e;return PR.some(r=>a[r]?a[r]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!n&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!n&&(a.filter?a.filter!=="none":!1)||MR.some(r=>(a.willChange||"").includes(r))||LR.some(r=>(a.contain||"").includes(r))}function BR(e){let n=Ji(e);for(;Fn(n)&&!Hr(n);){if(Tg(n))return n;if(lu(n))return null;n=Ji(n)}return null}function Rg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const HR=new Set(["html","body","#document"]);function Hr(e){return HR.has($r(e))}function Tn(e){return nn(e).getComputedStyle(e)}function su(e){return kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ji(e){if($r(e)==="html")return e;const n=e.assignedSlot||e.parentNode||Ty(e)&&e.host||Gn(e);return Ty(n)?n.host:n}function Qx(e){const n=Ji(e);return Hr(n)?e.ownerDocument?e.ownerDocument.body:e.body:Fn(n)&&_l(n)?n:Qx(n)}function El(e,n,a){var r;n===void 0&&(n=[]),a===void 0&&(a=!0);const l=Qx(e),c=l===((r=e.ownerDocument)==null?void 0:r.body),d=nn(l);if(c){const f=bh(d);return n.concat(d,d.visualViewport||[],_l(l)?l:[],f&&a?El(f):[])}return n.concat(l,El(l,[],a))}function bh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zx(e){const n=Tn(e);let a=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Fn(e),c=l?e.offsetWidth:a,d=l?e.offsetHeight:r,f=Fc(a)!==c||Fc(r)!==d;return f&&(a=c,r=d),{width:a,height:r,$:f}}function Ng(e){return kn(e)?e:e.contextElement}function Mr(e){const n=Ng(e);if(!Fn(n))return Bn(1);const a=n.getBoundingClientRect(),{width:r,height:l,$:c}=Zx(n);let d=(c?Fc(a.width):a.width)/r,f=(c?Fc(a.height):a.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!f||!Number.isFinite(f))&&(f=1),{x:d,y:f}}const FR=Bn(0);function Jx(e){const n=nn(e);return!Rg()||!n.visualViewport?FR:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function UR(e,n,a){return n===void 0&&(n=!1),!a||n&&a!==nn(e)?!1:n}function Ia(e,n,a,r){n===void 0&&(n=!1),a===void 0&&(a=!1);const l=e.getBoundingClientRect(),c=Ng(e);let d=Bn(1);n&&(r?kn(r)&&(d=Mr(r)):d=Mr(e));const f=UR(c,a,r)?Jx(c):Bn(0);let g=(l.left+f.x)/d.x,p=(l.top+f.y)/d.y,m=l.width/d.x,y=l.height/d.y;if(c){const b=nn(c),S=r&&kn(r)?nn(r):r;let C=b,E=bh(C);for(;E&&r&&S!==C;){const w=Mr(E),N=E.getBoundingClientRect(),T=Tn(E),R=N.left+(E.clientLeft+parseFloat(T.paddingLeft))*w.x,F=N.top+(E.clientTop+parseFloat(T.paddingTop))*w.y;g*=w.x,p*=w.y,m*=w.x,y*=w.y,g+=R,p+=F,C=nn(E),E=bh(C)}}return jc({width:m,height:y,x:g,y:p})}function Ag(e,n){const a=su(e).scrollLeft;return n?n.left+a:Ia(Gn(e)).left+a}function eS(e,n,a){a===void 0&&(a=!1);const r=e.getBoundingClientRect(),l=r.left+n.scrollLeft-(a?0:Ag(e,r)),c=r.top+n.scrollTop;return{x:l,y:c}}function jR(e){let{elements:n,rect:a,offsetParent:r,strategy:l}=e;const c=l==="fixed",d=Gn(r),f=n?lu(n.floating):!1;if(r===d||f&&c)return a;let g={scrollLeft:0,scrollTop:0},p=Bn(1);const m=Bn(0),y=Fn(r);if((y||!y&&!c)&&(($r(r)!=="body"||_l(d))&&(g=su(r)),Fn(r))){const S=Ia(r);p=Mr(r),m.x=S.x+r.clientLeft,m.y=S.y+r.clientTop}const b=d&&!y&&!c?eS(d,g,!0):Bn(0);return{width:a.width*p.x,height:a.height*p.y,x:a.x*p.x-g.scrollLeft*p.x+m.x+b.x,y:a.y*p.y-g.scrollTop*p.y+m.y+b.y}}function $R(e){return Array.from(e.getClientRects())}function GR(e){const n=Gn(e),a=su(e),r=e.ownerDocument.body,l=en(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),c=en(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-a.scrollLeft+Ag(e);const f=-a.scrollTop;return Tn(r).direction==="rtl"&&(d+=en(n.clientWidth,r.clientWidth)-l),{width:l,height:c,x:d,y:f}}function WR(e,n){const a=nn(e),r=Gn(e),l=a.visualViewport;let c=r.clientWidth,d=r.clientHeight,f=0,g=0;if(l){c=l.width,d=l.height;const p=Rg();(!p||p&&n==="fixed")&&(f=l.offsetLeft,g=l.offsetTop)}return{width:c,height:d,x:f,y:g}}const qR=new Set(["absolute","fixed"]);function YR(e,n){const a=Ia(e,!0,n==="fixed"),r=a.top+e.clientTop,l=a.left+e.clientLeft,c=Fn(e)?Mr(e):Bn(1),d=e.clientWidth*c.x,f=e.clientHeight*c.y,g=l*c.x,p=r*c.y;return{width:d,height:f,x:g,y:p}}function Ry(e,n,a){let r;if(n==="viewport")r=WR(e,a);else if(n==="document")r=GR(Gn(e));else if(kn(n))r=YR(n,a);else{const l=Jx(e);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return jc(r)}function tS(e,n){const a=Ji(e);return a===n||!kn(a)||Hr(a)?!1:Tn(a).position==="fixed"||tS(a,n)}function XR(e,n){const a=n.get(e);if(a)return a;let r=El(e,[],!1).filter(f=>kn(f)&&$r(f)!=="body"),l=null;const c=Tn(e).position==="fixed";let d=c?Ji(e):e;for(;kn(d)&&!Hr(d);){const f=Tn(d),g=Tg(d);!g&&f.position==="fixed"&&(l=null),(c?!g&&!l:!g&&f.position==="static"&&!!l&&qR.has(l.position)||_l(d)&&!g&&tS(e,d))?r=r.filter(m=>m!==d):l=f,d=Ji(d)}return n.set(e,r),r}function KR(e){let{element:n,boundary:a,rootBoundary:r,strategy:l}=e;const d=[...a==="clippingAncestors"?lu(n)?[]:XR(n,this._c):[].concat(a),r],f=d[0],g=d.reduce((p,m)=>{const y=Ry(n,m,l);return p.top=en(y.top,p.top),p.right=Zi(y.right,p.right),p.bottom=Zi(y.bottom,p.bottom),p.left=en(y.left,p.left),p},Ry(n,f,l));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}}function QR(e){const{width:n,height:a}=Zx(e);return{width:n,height:a}}function ZR(e,n,a){const r=Fn(n),l=Gn(n),c=a==="fixed",d=Ia(e,!0,c,n);let f={scrollLeft:0,scrollTop:0};const g=Bn(0);function p(){g.x=Ag(l)}if(r||!r&&!c)if(($r(n)!=="body"||_l(l))&&(f=su(n)),r){const S=Ia(n,!0,c,n);g.x=S.x+n.clientLeft,g.y=S.y+n.clientTop}else l&&p();c&&!r&&l&&p();const m=l&&!r&&!c?eS(l,f):Bn(0),y=d.left+f.scrollLeft-g.x-m.x,b=d.top+f.scrollTop-g.y-m.y;return{x:y,y:b,width:d.width,height:d.height}}function Yf(e){return Tn(e).position==="static"}function Ny(e,n){if(!Fn(e)||Tn(e).position==="fixed")return null;if(n)return n(e);let a=e.offsetParent;return Gn(e)===a&&(a=a.ownerDocument.body),a}function nS(e,n){const a=nn(e);if(lu(e))return a;if(!Fn(e)){let l=Ji(e);for(;l&&!Hr(l);){if(kn(l)&&!Yf(l))return l;l=Ji(l)}return a}let r=Ny(e,n);for(;r&&VR(r)&&Yf(r);)r=Ny(r,n);return r&&Hr(r)&&Yf(r)&&!Tg(r)?a:r||BR(e)||a}const JR=async function(e){const n=this.getOffsetParent||nS,a=this.getDimensions,r=await a(e.floating);return{reference:ZR(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function eN(e){return Tn(e).direction==="rtl"}const tN={convertOffsetParentRelativeRectToViewportRelativeRect:jR,getDocumentElement:Gn,getClippingRect:KR,getOffsetParent:nS,getElementRects:JR,getClientRects:$R,getDimensions:QR,getScale:Mr,isElement:kn,isRTL:eN};function iS(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function nN(e,n){let a=null,r;const l=Gn(e);function c(){var f;clearTimeout(r),(f=a)==null||f.disconnect(),a=null}function d(f,g){f===void 0&&(f=!1),g===void 0&&(g=1),c();const p=e.getBoundingClientRect(),{left:m,top:y,width:b,height:S}=p;if(f||n(),!b||!S)return;const C=tc(y),E=tc(l.clientWidth-(m+b)),w=tc(l.clientHeight-(y+S)),N=tc(m),R={rootMargin:-C+"px "+-E+"px "+-w+"px "+-N+"px",threshold:en(0,Zi(1,g))||1};let F=!0;function A(Y){const U=Y[0].intersectionRatio;if(U!==g){if(!F)return d();U?d(!1,U):r=setTimeout(()=>{d(!1,1e-7)},1e3)}U===1&&!iS(p,e.getBoundingClientRect())&&d(),F=!1}try{a=new IntersectionObserver(A,{...R,root:l.ownerDocument})}catch{a=new IntersectionObserver(A,R)}a.observe(e)}return d(!0),c}function iN(e,n,a,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:g=!1}=r,p=Ng(e),m=l||c?[...p?El(p):[],...El(n)]:[];m.forEach(N=>{l&&N.addEventListener("scroll",a,{passive:!0}),c&&N.addEventListener("resize",a)});const y=p&&f?nN(p,a):null;let b=-1,S=null;d&&(S=new ResizeObserver(N=>{let[T]=N;T&&T.target===p&&S&&(S.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var R;(R=S)==null||R.observe(n)})),a()}),p&&!g&&S.observe(p),S.observe(n));let C,E=g?Ia(e):null;g&&w();function w(){const N=Ia(e);E&&!iS(E,N)&&a(),E=N,C=requestAnimationFrame(w)}return a(),()=>{var N;m.forEach(T=>{l&&T.removeEventListener("scroll",a),c&&T.removeEventListener("resize",a)}),y?.(),(N=S)==null||N.disconnect(),S=null,g&&cancelAnimationFrame(C)}}const aN=RR,rN=NR,oN=wR,lN=_R,sN=kR,cN=OR,uN=AR,dN=(e,n,a)=>{const r=new Map,l={platform:tN,...a},c={...l.platform,_c:r};return CR(e,n,{...l,platform:c})};function Ay(e=0,n=0,a=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,n,a,r);const l={x:e,y:n,width:a,height:r,top:n,right:e+a,bottom:n+r,left:e};return{...l,toJSON:()=>l}}function fN(e){if(!e)return Ay();const{x:n,y:a,width:r,height:l}=e;return Ay(n,a,r,l)}function hN(e,n){return{contextElement:zt(e)?e:void 0,getBoundingClientRect:()=>{const a=e,r=n?.(a);return r||!a?fN(r):a.getBoundingClientRect()}}}var el=e=>({variable:e,reference:`var(${e})`}),di={arrowSize:el("--arrow-size"),arrowSizeHalf:el("--arrow-size-half"),arrowBg:el("--arrow-background"),transformOrigin:el("--transform-origin"),arrowOffset:el("--arrow-offset")},gN=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"}),pN={name:"transformOrigin",fn({placement:e,elements:n,middlewareData:a}){const{arrow:r}=a,l=gN(r)[e],{floating:c}=n;return c.style.setProperty(di.transformOrigin.variable,l),{data:{transformOrigin:l}}}},mN={name:"rects",fn({rects:e}){return{data:e}}},vN=e=>{if(e)return{name:"shiftArrow",fn({placement:n,middlewareData:a}){if(!a.arrow)return{};const{x:r,y:l}=a.arrow,c=n.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:l!=null?`${l}px`:"",[c]:`calc(100% + ${di.arrowOffset.reference})`}),{}}}};function bN(e){const[n,a]=e.split("-");return{side:n,align:a,hasAlign:a!=null}}function yN(e){return e.split("-")[0]}var xN={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function _y(e,n){const a=e.devicePixelRatio||1;return Math.round(n*a)/a}function aS(e){return Sk(e.boundary)}function SN(e,n){if(e)return cN({element:e,padding:n.arrowPadding})}function EN(e,n){if(!gk(n.offset??n.gutter))return aN(({placement:a})=>{const r=(e?.clientHeight||0)/2,l=n.offset?.mainAxis??n.gutter,c=typeof l=="number"?l+r:l??r,{hasAlign:d}=bN(a),f=d?void 0:n.shift,g=n.offset?.crossAxis??f;return Tx({crossAxis:g,mainAxis:c,alignmentAxis:n.shift})})}function CN(e){if(e.flip)return oN({boundary:aS(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function ON(e){if(!(!e.slide&&!e.overlap))return rN({boundary:aS(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:uN()})}function wN(e){return lN({padding:e.overflowPadding,apply({elements:n,rects:a,availableHeight:r,availableWidth:l}){const c=n.floating,d=Math.round(a.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 kN(e){if(e.hideWhenDetached)return sN({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function TN(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function RN(e,n,a={}){const r=hN(e,a.getAnchorRect);if(!n||!r)return;const l=Object.assign({},xN,a),c=n.querySelector("[data-part=arrow]"),d=[EN(c,l),CN(l),ON(l),SN(c,l),vN(c),pN,wN(l),kN(l),mN],{placement:f,strategy:g,onComplete:p,onPositioned:m}=l,y=async()=>{if(!r||!n)return;const E=await dN(r,n,{placement:f,middleware:d,strategy:g});p?.(E),m?.({placed:!0});const w=ut(n),N=_y(w,E.x),T=_y(w,E.y);n.style.setProperty("--x",`${N}px`),n.style.setProperty("--y",`${T}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 R=n.firstElementChild;if(R){const F=Dc(R);n.style.setProperty("--z-index",F.zIndex)}},b=async()=>{a.updatePosition?(await a.updatePosition({updatePosition:y,floatingElement:n}),m?.({placed:!0})):await y()},S=TN(l.listeners),C=l.listeners?iN(r,n,b,S):Ek;return b(),()=>{C?.(),m?.({placed:!1})}}function Rn(e,n,a={}){const{defer:r,...l}=a,c=r?Se:f=>f(),d=[];return d.push(c(()=>{const f=typeof e=="function"?e():e,g=typeof n=="function"?n():n;d.push(RN(f,g,l))})),()=>{d.forEach(f=>f?.())}}var NN={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function rS(e={}){const{placement:n,sameWidth:a,fitViewport:r,strategy:l="absolute"}=e;return{arrow:{position:"absolute",width:di.arrowSize.reference,height:di.arrowSize.reference,[di.arrowSizeHalf.variable]:`calc(${di.arrowSize.reference} / 2)`,[di.arrowOffset.variable]:`calc(${di.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:n?NN[n.split("-")[0]]:void 0,background:di.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:l,isolation:"isolate",minWidth:a?void 0:"max-content",width:a?"var(--reference-width)":void 0,maxWidth:r?"var(--available-width)":void 0,maxHeight:r?"var(--available-height)":void 0,pointerEvents:n?void 0:"none",top:"0px",left:"0px",transform:n?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}function AN(e){const n={each(a){for(let r=0;r<e.frames?.length;r+=1){const l=e.frames[r];l&&a(l)}},addEventListener(a,r,l){return n.each(c=>{try{c.document.addEventListener(a,r,l)}catch{}}),()=>{try{n.removeEventListener(a,r,l)}catch{}}},removeEventListener(a,r,l){n.each(c=>{try{c.document.removeEventListener(a,r,l)}catch{}})}};return n}function _N(e){const n=e.frameElement!=null?e.parent:null;return{addEventListener:(a,r,l)=>{try{n?.addEventListener(a,r,l)}catch{}return()=>{try{n?.removeEventListener(a,r,l)}catch{}}},removeEventListener:(a,r,l)=>{try{n?.removeEventListener(a,r,l)}catch{}}}}var zy="pointerdown.outside",Iy="focus.outside";function zN(e){for(const n of e)if(zt(n)&&Qi(n))return!0;return!1}var oS=e=>"clientY"in e;function IN(e,n){if(!oS(n)||!e)return!1;const a=e.getBoundingClientRect();return a.width===0||a.height===0?!1:a.top<=n.clientY&&n.clientY<=a.top+a.height&&a.left<=n.clientX&&n.clientX<=a.left+a.width}function VN(e,n){return e.y<=n.y&&n.y<=e.y+e.height&&e.x<=n.x&&n.x<=e.x+e.width}function Vy(e,n){if(!n||!oS(e))return!1;const a=n.scrollHeight>n.clientHeight,r=a&&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+(a?16:0),height:n.clientHeight+(l?16:0)},f={x:e.clientX,y:e.clientY};return VN(d,f)?r||c:!1}function DN(e,n){const{exclude:a,onFocusOutside:r,onPointerDownOutside:l,onInteractOutside:c,defer:d}=n;if(!e)return;const f=an(e),g=ut(e),p=AN(g),m=_N(g);function y(T,R){if(!zt(R)||!R.isConnected||gi(e,R)||IN(e,T))return!1;const F=f.querySelector(`[aria-controls="${e.id}"]`);if(F){const Y=Pc(F);if(Vy(T,Y))return!1}const A=Pc(e);return Vy(T,A)?!1:!a?.(R)}const b=new Set,S=xl(e?.getRootNode());function C(T){function R(F){const A=d&&!my()?Se:z=>z(),Y=F??T,U=Y?.composedPath?.()??[Y?.target];A(()=>{const z=S?U[0]:ct(T);if(!(!e||!y(T,z))){if(l||c){const M=Vc(l,c);e.addEventListener(zy,M,{once:!0})}Dy(e,zy,{bubbles:!1,cancelable:!0,detail:{originalEvent:Y,contextmenu:uT(Y),focusable:zN(U),target:z}})}})}T.pointerType==="touch"?(b.forEach(F=>F()),b.add(De(f,"click",R,{once:!0})),b.add(m.addEventListener("click",R,{once:!0})),b.add(p.addEventListener("click",R,{once:!0}))):R()}const E=new Set,w=setTimeout(()=>{E.add(De(f,"pointerdown",C,!0)),E.add(m.addEventListener("pointerdown",C,!0)),E.add(p.addEventListener("pointerdown",C,!0))},0);function N(T){(d?Se:F=>F())(()=>{const F=ct(T);if(!(!e||!y(T,F))){if(r||c){const A=Vc(r,c);e.addEventListener(Iy,A,{once:!0})}Dy(e,Iy,{bubbles:!1,cancelable:!0,detail:{originalEvent:T,contextmenu:!1,focusable:Qi(F),target:F}})}})}return my()||(E.add(De(f,"focusin",N,!0)),E.add(m.addEventListener("focusin",N,!0)),E.add(p.addEventListener("focusin",N,!0))),()=>{clearTimeout(w),b.forEach(T=>T()),E.forEach(T=>T())}}function PN(e,n){const{defer:a}=n,r=a?Se:c=>c(),l=[];return l.push(r(()=>{const c=typeof e=="function"?e():e;l.push(DN(c,n))})),()=>{l.forEach(c=>c?.())}}function Dy(e,n,a){const r=e.ownerDocument.defaultView||window,l=new r.CustomEvent(n,a);return e.dispatchEvent(l)}function MN(e,n){const a=r=>{r.key==="Escape"&&(r.isComposing||n?.(r))};return De(an(e),"keydown",a,{capture:!0})}var Cn={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),a=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return n<a},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(a=>gi(a.node,n))},isInBranch(e){return Array.from(this.branches).some(n=>gi(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)}},Py;function My(){Cn.layers.forEach(({node:e})=>{e.style.pointerEvents=Cn.isBelowPointerBlockingLayer(e)?"none":"auto"})}function LN(e){e.style.pointerEvents=""}function BN(e,n){const a=an(e),r=[];return Cn.hasPointerBlockingLayer()&&!a.body.hasAttribute("data-inert")&&(Py=document.body.style.pointerEvents,queueMicrotask(()=>{a.body.style.pointerEvents="none",a.body.setAttribute("data-inert","")})),n?.forEach(l=>{const[c,d]=GT(()=>{const f=l();return zt(f)?f:null},{timeout:1e3});c.then(f=>r.push(Bc(f,{pointerEvents:"auto"}))),r.push(d)}),()=>{Cn.hasPointerBlockingLayer()||(queueMicrotask(()=>{a.body.style.pointerEvents=Py,a.body.removeAttribute("data-inert"),a.body.style.length===0&&a.body.removeAttribute("style")}),r.forEach(l=>l()))}}function HN(e,n){const{warnOnMissingNode:a=!0}=n;if(a&&!e){Rx("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,pointerBlocking:l,exclude:c,debug:d}=n,f={dismiss:r,node:e,pointerBlocking:l};Cn.add(f),My();function g(S){const C=ct(S.detail.originalEvent);Cn.isBelowPointerBlockingLayer(e)||Cn.isInBranch(C)||(n.onPointerDownOutside?.(S),n.onInteractOutside?.(S),!S.defaultPrevented&&(d&&console.log("onPointerDownOutside:",S.detail.originalEvent),r?.()))}function p(S){const C=ct(S.detail.originalEvent);Cn.isInBranch(C)||(n.onFocusOutside?.(S),n.onInteractOutside?.(S),!S.defaultPrevented&&(d&&console.log("onFocusOutside:",S.detail.originalEvent),r?.()))}function m(S){Cn.isTopMost(e)&&(n.onEscapeKeyDown?.(S),!S.defaultPrevented&&r&&(S.preventDefault(),r()))}function y(S){if(!e)return!1;const C=typeof c=="function"?c():c,E=Array.isArray(C)?C:[C],w=n.persistentElements?.map(N=>N()).filter(zt);return w&&E.push(...w),E.some(N=>gi(N,S))||Cn.isInNestedLayer(e,S)}const b=[l?BN(e,n.persistentElements):void 0,MN(e,m),PN(e,{exclude:y,onFocusOutside:p,onPointerDownOutside:g,defer:n.defer})];return()=>{Cn.remove(e),My(),LN(e),b.forEach(S=>S?.())}}function Gr(e,n){const{defer:a}=n,r=a?Se:c=>c(),l=[];return l.push(r(()=>{const c=Sx(e)?e():e;l.push(HN(c,n))})),()=>{l.forEach(c=>c?.())}}var lS=fe("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"]);lS.build();var FN=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,UN=e=>e.ids?.control??`color-picker:${e.id}:control`,jN=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,$N=e=>e.ids?.content??`color-picker:${e.id}:content`,GN=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,WN=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,qN=e=>e.ids?.area??`color-picker:${e.id}:area`,YN=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,XN=(e,n)=>e.ids?.channelSliderTrack?.(n)??`color-picker:${e.id}:slider-track:${n}`,KN=(e,n)=>e.ids?.channelSliderThumb?.(n)??`color-picker:${e.id}:slider-thumb:${n}`,wc=e=>e.getById($N(e)),QN=e=>e.getById(YN(e)),ZN=(e,n)=>e.getById(KN(e,n)),JN=e=>e.getById(WN(e)),Ly=e=>e.getById(FN(e)),e2=e=>e.getById(qN(e)),t2=(e,n)=>{const a=e2(e);if(!a)return;const{percent:r}=Hx(n,a);return r},n2=e=>e.getById(UN(e)),Xf=e=>e.getById(jN(e)),i2=e=>e.getById(GN(e)),a2=(e,n)=>e.getById(XN(e,n)),r2=(e,n,a)=>{const r=a2(e,a);if(!r)return;const{percent:l}=Hx(n,r);return l},o2=e=>[...Lc(wc(e),"input[data-channel]"),...Lc(n2(e),"input[data-channel]")];function l2(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 a=e.getFormat()==="hsla";switch(n){case"hue":return a?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return a?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 By=e=>Hc(e),s2=/^[0-9a-fA-F]{3,8}$/;function c2(e){return s2.test(e)}function u2(e){return e.startsWith("#")?e:c2(e)?`#${e}`:e}var{and:d2}=$n();d2("isOpenControlled","closeOnSelect");function Hy(e,n,a){const r=o2(e);Se(()=>{r.forEach(l=>{const c=l.dataset.channel;iu(l,l2(a||n,c))})})}function f2(e,n){const a=JN(e);a&&Se(()=>iu(a,n))}me()(["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"]);me()(["xChannel","yChannel"]);me()(["channel","orientation"]);me()(["value","disabled"]);me()(["value","respectAlpha"]);me()(["size"]);var sS=fe("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");sS.build();var cS=e=>e.ids?.root??`accordion:${e.id}`,uS=(e,n)=>e.ids?.itemTrigger?.(n)??`accordion:${e.id}:trigger:${n}`,h2=e=>e.getById(cS(e)),cu=e=>{const a=`[aria-controls][data-ownedby='${CSS.escape(cS(e))}']:not([disabled])`;return Lc(h2(e),a)},g2=e=>gl(cu(e)),p2=e=>og(cu(e)),m2=(e,n)=>DT(cu(e),uS(e,n)),v2=(e,n)=>PT(cu(e),uS(e,n)),{and:b2,not:y2}=$n();b2("isExpanded","canToggle"),y2("isExpanded");me()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]);me()(["value","disabled"]);var ul=(e,n)=>({x:e,y:n});function x2(e){const{x:n,y:a,width:r,height:l}=e,c=n+r/2,d=a+l/2;return{x:n,y:a,width:r,height:l,minX:n,minY:a,maxX:n+r,maxY:a+l,midX:c,midY:d,center:ul(c,d)}}function S2(e){const n=ul(e.minX,e.minY),a=ul(e.maxX,e.minY),r=ul(e.maxX,e.maxY),l=ul(e.minX,e.maxY);return{top:n,right:a,bottom:r,left:l}}function E2(e,n){const a=x2(e),{top:r,right:l,left:c,bottom:d}=S2(a),[f]=n.split("-");return{top:[c,r,l,d],right:[r,l,d,c],bottom:[r,c,d,l],left:[l,r,c,d]}[f]}function C2(e,n){const{x:a,y:r}=n;let l=!1;for(let c=0,d=e.length-1;c<e.length;d=c++){const f=e[c].x,g=e[c].y,p=e[d].x,m=e[d].y;g>r!=m>r&&a<(p-f)*(r-g)/(m-g)+f&&(l=!l)}return l}var dS=fe("avatar").parts("root","image","fallback");dS.build();me()(["dir","id","ids","onStatusChange","getRootNode"]);function O2(e){return!(e.metaKey||!nu()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var w2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function k2(e,n,a){const r=a?ct(a):null,l=ut(r);return e=e||r instanceof l.HTMLInputElement&&!w2.has(r?.type)||r instanceof l.HTMLTextAreaElement||r instanceof l.HTMLElement&&r.isContentEditable,!(e&&n==="keyboard"&&a instanceof l.KeyboardEvent&&!Reflect.has(T2,a.key))}var Da=null,yh=new Set,pl=new Map,Va=!1,xh=!1,T2={Tab:!0,Escape:!0};function uu(e,n){for(let a of yh)a(e,n)}function $c(e){Va=!0,O2(e)&&(Da="keyboard",uu("keyboard",e))}function vn(e){Da="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Va=!0,uu("pointer",e))}function fS(e){sT(e)&&(Va=!0,Da="virtual")}function hS(e){const n=ct(e);n===ut(n)||n===an(n)||(!Va&&!xh&&(Da="virtual",uu("virtual",e)),Va=!1,xh=!1)}function gS(){Va=!1,xh=!0}function R2(e){if(typeof window>"u"||pl.get(ut(e)))return;const n=ut(e),a=an(e);let r=n.HTMLElement.prototype.focus;function l(){Da="virtual",uu("virtual",null),Va=!0,r.apply(this,arguments)}Object.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,value:l}),a.addEventListener("keydown",$c,!0),a.addEventListener("keyup",$c,!0),a.addEventListener("click",fS,!0),n.addEventListener("focus",hS,!0),n.addEventListener("blur",gS,!1),typeof n.PointerEvent<"u"?(a.addEventListener("pointerdown",vn,!0),a.addEventListener("pointermove",vn,!0),a.addEventListener("pointerup",vn,!0)):(a.addEventListener("mousedown",vn,!0),a.addEventListener("mousemove",vn,!0),a.addEventListener("mouseup",vn,!0)),n.addEventListener("beforeunload",()=>{N2(e)},{once:!0}),pl.set(n,{focus:r})}var N2=(e,n)=>{const a=ut(e),r=an(e);pl.has(a)&&(a.HTMLElement.prototype.focus=pl.get(a).focus,r.removeEventListener("keydown",$c,!0),r.removeEventListener("keyup",$c,!0),r.removeEventListener("click",fS,!0),a.removeEventListener("focus",hS,!0),a.removeEventListener("blur",gS,!1),typeof a.PointerEvent<"u"?(r.removeEventListener("pointerdown",vn,!0),r.removeEventListener("pointermove",vn,!0),r.removeEventListener("pointerup",vn,!0)):(r.removeEventListener("mousedown",vn,!0),r.removeEventListener("mousemove",vn,!0),r.removeEventListener("mouseup",vn,!0)),pl.delete(a))};function Cl(){return Da==="keyboard"}function _g(e={}){const{isTextInput:n,autoFocus:a,onChange:r,root:l}=e;R2(l),r?.({isFocusVisible:a||Cl(),modality:Da});const c=(d,f)=>{k2(!!n,d,f)&&r?.({isFocusVisible:Cl(),modality:d})};return yh.add(c),()=>{yh.delete(c)}}var pS=fe("checkbox").parts("root","label","control","indicator"),nc=pS.build(),mS=e=>e.ids?.root??`checkbox:${e.id}`,Fy=e=>e.ids?.label??`checkbox:${e.id}:label`,A2=e=>e.ids?.control??`checkbox:${e.id}:control`,Sh=e=>e.ids?.hiddenInput??`checkbox:${e.id}:input`,_2=e=>e.getById(mS(e)),dl=e=>e.getById(Sh(e));function CM(e,n){const{send:a,context:r,prop:l,computed:c,scope:d}=e,f=l("disabled"),g=l("readOnly"),p=l("invalid"),m=!f&&r.get("focused"),y=!f&&r.get("focusVisible"),b=c("checked"),S=c("indeterminate"),C={"data-active":ve(r.get("active")),"data-focus":ve(m),"data-focus-visible":ve(y),"data-readonly":ve(g),"data-hover":ve(r.get("hovered")),"data-disabled":ve(f),"data-state":S?"indeterminate":b?"checked":"unchecked","data-invalid":ve(p)};return{checked:b,disabled:f,indeterminate:S,focused:m,checkedState:b,setChecked(E){a({type:"CHECKED.SET",checked:E,isTrusted:!1})},toggleChecked(){a({type:"CHECKED.TOGGLE",checked:b,isTrusted:!1})},getRootProps(){return n.label({...nc.root.attrs,...C,dir:l("dir"),id:mS(d),htmlFor:Sh(d),onPointerMove(){f||a({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){f||a({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(E){ct(E)===dl(d)&&E.stopPropagation()}})},getLabelProps(){return n.element({...nc.label.attrs,...C,dir:l("dir"),id:Fy(d)})},getControlProps(){return n.element({...nc.control.attrs,...C,dir:l("dir"),id:A2(d),"aria-hidden":!0})},getIndicatorProps(){return n.element({...nc.indicator.attrs,...C,dir:l("dir"),hidden:!S&&!b})},getHiddenInputProps(){return n.input({id:Sh(d),type:"checkbox",required:l("required"),defaultChecked:b,disabled:f,"aria-labelledby":Fy(d),"aria-invalid":p,name:l("name"),form:l("form"),value:l("value"),style:bg,onFocus(){const E=Cl();a({type:"CONTEXT.SET",context:{focused:!0,focusVisible:E}})},onBlur(){a({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(E){if(g){E.preventDefault();return}const w=E.currentTarget.checked;a({type:"CHECKED.SET",checked:w,isTrusted:!0})}})}}}var{not:Uy}=$n(),OM={props({props:e}){return{value:"on",...e,defaultChecked:!!e.defaultChecked}},initialState(){return"ready"},context({prop:e,bindable:n}){return{checked:n(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(a){e("onCheckedChange")?.({checked:a})}})),fieldsetDisabled:n(()=>({defaultValue:!1})),focusVisible:n(()=>({defaultValue:!1})),active:n(()=>({defaultValue:!1})),focused:n(()=>({defaultValue:!1})),hovered:n(()=>({defaultValue:!1}))}},watch({track:e,context:n,prop:a,action:r}){e([()=>a("disabled")],()=>{r(["removeFocusIfNeeded"])}),e([()=>n.get("checked")],()=>{r(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:Uy("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:Uy("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{indeterminate:({context:e})=>kc(e.get("checked")),checked:({context:e})=>z2(e.get("checked")),disabled:({context:e,prop:n})=>!!n("disabled")||e.get("fieldsetDisabled")},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({context:e,computed:n,scope:a}){if(!n("disabled"))return Ux({pointerNode:_2(a),keyboardNode:dl(a),isValidKey:r=>r.key===" ",onPress:()=>e.set("active",!1),onPressStart:()=>e.set("active",!0),onPressEnd:()=>e.set("active",!1)})},trackFocusVisible({computed:e,scope:n}){if(!e("disabled"))return _g({root:n.getRootNode?.()})},trackFormControlState({context:e,scope:n}){return Al(dl(n),{onFieldsetDisabledChange(a){e.set("fieldsetDisabled",a)},onFormReset(){e.set("checked",e.initial("checked"))}})}},actions:{setContext({context:e,event:n}){for(const a in n.context)e.set(a,n.context[a])},syncInputElement({context:e,computed:n,scope:a}){const r=dl(a);r&&(dg(r,n("checked")),r.indeterminate=kc(e.get("checked")))},removeFocusIfNeeded({context:e,prop:n}){n("disabled")&&e.get("focused")&&(e.set("focused",!1),e.set("focusVisible",!1))},setChecked({context:e,event:n}){e.set("checked",n.checked)},toggleChecked({context:e,computed:n}){const a=kc(n("checked"))?!0:!n("checked");e.set("checked",a)},dispatchChangeEvent({computed:e,scope:n}){queueMicrotask(()=>{const a=dl(n);Dx(a,{checked:e("checked")})})}}}};function kc(e){return e==="indeterminate"}function z2(e){return kc(e)?!1:!!e}me()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const I2=pS.extendWith("group");var vS=fe("clipboard").parts("root","control","trigger","indicator","input","label");vS.build();me()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]);me()(["copied"]);const V2=lS.extendWith("view");var D2=Object.defineProperty,P2=(e,n,a)=>n in e?D2(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,K=(e,n,a)=>P2(e,typeof n!="symbol"?n+"":n,a),Tc={itemToValue(e){return typeof e=="string"?e:Na(e)&&Xi(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Na(e)&&Xi(e,"label")?e.label:Tc.itemToValue(e)},isItemDisabled(e){return Na(e)&&Xi(e,"disabled")?!!e.disabled:!1}},du=class bS{constructor(n){this.options=n,K(this,"items"),K(this,"indexMap",null),K(this,"copy",a=>new bS({...this.options,items:a??[...this.items]})),K(this,"isEqual",a=>wn(this.items,a.items)),K(this,"setItems",a=>this.copy(a)),K(this,"getValues",(a=this.items)=>{const r=[];for(const l of a){const c=this.getItemValue(l);c!=null&&r.push(c)}return r}),K(this,"find",a=>{if(a==null)return null;const r=this.indexOf(a);return r!==-1?this.at(r):null}),K(this,"findMany",a=>{const r=[];for(const l of a){const c=this.find(l);c!=null&&r.push(c)}return r}),K(this,"at",a=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[a]??null;let r=0;const l=this.group();for(const[,c]of l)for(const d of c){if(r===a)return d;r++}return null}),K(this,"sortFn",(a,r)=>{const l=this.indexOf(a),c=this.indexOf(r);return(l??0)-(c??0)}),K(this,"sort",a=>[...a].sort(this.sortFn.bind(this))),K(this,"getItemValue",a=>a==null?null:this.options.itemToValue?.(a)??Tc.itemToValue(a)),K(this,"getItemDisabled",a=>a==null?!1:this.options.isItemDisabled?.(a)??Tc.isItemDisabled(a)),K(this,"stringifyItem",a=>a==null?null:this.options.itemToString?.(a)??Tc.itemToString(a)),K(this,"stringify",a=>a==null?null:this.stringifyItem(this.find(a))),K(this,"stringifyItems",(a,r=", ")=>{const l=[];for(const c of a){const d=this.stringifyItem(c);d!=null&&l.push(d)}return l.join(r)}),K(this,"stringifyMany",(a,r)=>this.stringifyItems(this.findMany(a),r)),K(this,"has",a=>this.indexOf(a)!==-1),K(this,"hasItem",a=>a==null?!1:this.has(this.getItemValue(a))),K(this,"group",()=>{const{groupBy:a,groupSort:r}=this.options;if(!a)return[["",[...this.items]]];const l=new Map;this.items.forEach((d,f)=>{const g=a(d,f);l.has(g)||l.set(g,[]),l.get(g).push(d)});let c=Array.from(l.entries());return r&&c.sort(([d],[f])=>{if(typeof r=="function")return r(d,f);if(Array.isArray(r)){const g=r.indexOf(d),p=r.indexOf(f);return g===-1?1:p===-1?-1:g-p}return r==="asc"?d.localeCompare(f):r==="desc"?f.localeCompare(d):0}),c}),K(this,"getNextValue",(a,r=1,l=!1)=>{let c=this.indexOf(a);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))}),K(this,"getPreviousValue",(a,r=1,l=!1)=>{let c=this.indexOf(a);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))}),K(this,"indexOf",a=>{if(a==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(r=>this.getItemValue(r)===a);if(!this.indexMap){this.indexMap=new Map;let r=0;const l=this.group();for(const[,c]of l)for(const d of c){const f=this.getItemValue(d);f!=null&&this.indexMap.set(f,r),r++}}return this.indexMap.get(a)??-1}),K(this,"getByText",(a,r)=>{let l=r!=null?L2(this.items,this.indexOf(r)):this.items;return a.length===1&&(l=l.filter(d=>this.getItemValue(d)!==r)),l.find(d=>M2(this.stringifyItem(d),a))}),K(this,"search",(a,r)=>{const{state:l,currentValue:c,timeout:d=350}=r,f=l.keysSoFar+a,p=f.length>1&&Array.from(f).every(C=>C===f[0])?f[0]:f,m=this.getByText(p,c),y=this.getItemValue(m);function b(){clearTimeout(l.timer),l.timer=-1}function S(C){l.keysSoFar=C,b(),C!==""&&(l.timer=+setTimeout(()=>{S(""),b()},d))}return S(f),y}),K(this,"update",(a,r)=>{let l=this.indexOf(a);return l===-1?this:this.copy([...this.items.slice(0,l),r,...this.items.slice(l+1)])}),K(this,"upsert",(a,r,l="append")=>{let c=this.indexOf(a);return c===-1?(l==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,c),r,...this.items.slice(c+1)])}),K(this,"insert",(a,...r)=>this.copy(tl(this.items,a,...r))),K(this,"insertBefore",(a,...r)=>{let l=this.indexOf(a);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(tl(this.items,l,...r))}),K(this,"insertAfter",(a,...r)=>{let l=this.indexOf(a);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(tl(this.items,l+1,...r))}),K(this,"prepend",(...a)=>this.copy(tl(this.items,0,...a))),K(this,"append",(...a)=>this.copy(tl(this.items,this.items.length,...a))),K(this,"filter",a=>{const r=this.items.filter((l,c)=>a(this.stringifyItem(l),c,l));return this.copy(r)}),K(this,"remove",(...a)=>{const r=a.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)}))}),K(this,"move",(a,r)=>{const l=this.indexOf(a);return l===-1?this:this.copy(ic(this.items,[l],r))}),K(this,"moveBefore",(a,...r)=>{let l=this.items.findIndex(d=>this.getItemValue(d)===a);if(l===-1)return this;let c=r.map(d=>this.items.findIndex(f=>this.getItemValue(f)===d)).sort((d,f)=>d-f);return this.copy(ic(this.items,c,l))}),K(this,"moveAfter",(a,...r)=>{let l=this.items.findIndex(d=>this.getItemValue(d)===a);if(l===-1)return this;let c=r.map(d=>this.items.findIndex(f=>this.getItemValue(f)===d)).sort((d,f)=>d-f);return this.copy(ic(this.items,c,l+1))}),K(this,"reorder",(a,r)=>this.copy(ic(this.items,[a],r))),K(this,"compareValue",(a,r)=>{const l=this.indexOf(a),c=this.indexOf(r);return l<c?-1:l>c?1:0}),K(this,"range",(a,r)=>{let l=[],c=a;for(;c!=null;){if(this.find(c)&&l.push(c),c===r)return l;c=this.getNextValue(c)}return[]}),K(this,"getValueRange",(a,r)=>a&&r?this.compareValue(a,r)<=0?this.range(a,r):this.range(r,a):[]),K(this,"toString",()=>{let a="";for(const r of this.items){const l=this.getItemValue(r),c=this.stringifyItem(r),d=this.getItemDisabled(r),f=[l,c,d].filter(Boolean).join(":");a+=f+","}return a}),K(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}},M2=(e,n)=>!!e?.toLowerCase().startsWith(n.toLowerCase()),L2=(e,n)=>e.map((a,r)=>e[(Math.max(n,0)+r)%e.length]);function tl(e,n,...a){return[...e.slice(0,n),...a,...e.slice(n)]}function ic(e,n,a){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 a=Math.max(0,a-n.filter(l=>l<a).length),[...e.slice(0,a),...r,...e.slice(a)]}function yS(e,n,a){for(let r=0;r<n.length;r++)e=a.getChildren(e,n.slice(r+1))[n[r]];return e}function B2(e){const n=H2(e),a=[],r=new Set;for(const l of n){const c=l.join();r.has(c)||(r.add(c),a.push(l))}return a}function xS(e,n){for(let a=0;a<Math.min(e.length,n.length);a++){if(e[a]<n[a])return-1;if(e[a]>n[a])return 1}return e.length-n.length}function H2(e){return e.sort(xS)}function F2(e,n){let a;return Jt(e,{...n,onEnter:(r,l)=>{if(n.predicate(r,l))return a=r,"stop"}}),a}function U2(e,n){const a=[];return Jt(e,{onEnter:(r,l)=>{n.predicate(r,l)&&a.push(r)},getChildren:n.getChildren}),a}function jy(e,n){let a;return Jt(e,{onEnter:(r,l)=>{if(n.predicate(r,l))return a=[...l],"stop"},getChildren:n.getChildren}),a}function j2(e,n){let a=n.initialResult;return Jt(e,{...n,onEnter:(r,l)=>{a=n.nextResult(a,r,l)}}),a}function $2(e,n){return j2(e,{...n,initialResult:[],nextResult:(a,r,l)=>(a.push(...n.transform(r,l)),a)})}function G2(e,n){const{predicate:a,create:r,getChildren:l}=n,c=(d,f)=>{const g=l(d,f),p=[];g.forEach((S,C)=>{const E=[...f,C],w=c(S,E);w&&p.push(w)});const m=f.length===0,y=a(d,f),b=p.length>0;return m||y||b?r(d,p,f):null};return c(e,[])||r(e,[],[])}function W2(e,n){const a=[];let r=0;const l=new Map,c=new Map;return Jt(e,{getChildren:n.getChildren,onEnter:(d,f)=>{l.has(d)||l.set(d,r++);const g=n.getChildren(d,f);g.forEach(S=>{c.has(S)||c.set(S,d),l.has(S)||l.set(S,r++)});const p=g.length>0?g.map(S=>l.get(S)):void 0,m=c.get(d),y=m?l.get(m):void 0,b=l.get(d);a.push({...d,_children:p,_parent:y,_index:b})}}),a}function q2(e,n){return{type:"insert",index:e,nodes:n}}function Y2(e){return{type:"remove",indexes:e}}function zg(){return{type:"replace"}}function SS(e){return[e.slice(0,-1),e[e.length-1]]}function ES(e,n,a=new Map){const[r,l]=SS(e);for(let d=r.length-1;d>=0;d--){const f=r.slice(0,d).join();switch(a.get(f)?.type){case"remove":continue}a.set(f,zg())}const c=a.get(r.join());switch(c?.type){case"remove":a.set(r.join(),{type:"removeThenInsert",removeIndexes:c.indexes,insertIndex:l,insertNodes:n});break;default:a.set(r.join(),q2(l,n))}return a}function CS(e){const n=new Map,a=new Map;for(const r of e){const l=r.slice(0,-1).join(),c=a.get(l)??[];c.push(r[r.length-1]),a.set(l,c.sort((d,f)=>d-f))}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,zg())}for(const[r,l]of a)n.set(r,Y2(l));return n}function X2(e,n){const a=new Map,[r,l]=SS(e);for(let c=r.length-1;c>=0;c--){const d=r.slice(0,c).join();a.set(d,zg())}return a.set(r.join(),{type:"removeThenInsert",removeIndexes:[l],insertIndex:l,insertNodes:[n]}),a}function fu(e,n,a){return K2(e,{...a,getChildren:(r,l)=>{const c=l.join();switch(n.get(c)?.type){case"replace":case"remove":case"removeThenInsert":case"insert":return a.getChildren(r,l);default:return[]}},transform:(r,l,c)=>{const d=c.join(),f=n.get(d);switch(f?.type){case"remove":return a.create(r,l.filter((m,y)=>!f.indexes.includes(y)),c);case"removeThenInsert":const g=l.filter((m,y)=>!f.removeIndexes.includes(y)),p=f.removeIndexes.reduce((m,y)=>y<m?m-1:m,f.insertIndex);return a.create(r,$y(g,p,0,...f.insertNodes),c);case"insert":return a.create(r,$y(l,f.index,0,...f.nodes),c);case"replace":return a.create(r,l,c);default:return r}}})}function $y(e,n,a,...r){return[...e.slice(0,n),...r,...e.slice(n+a)]}function K2(e,n){const a={};return Jt(e,{...n,onLeave:(r,l)=>{const c=[0,...l],d=c.join(),f=n.transform(r,a[d]??[],l),g=c.slice(0,-1).join(),p=a[g]??[];p.push(f),a[g]=p}}),a[""][0]}function Q2(e,n){const{nodes:a,at:r}=n;if(r.length===0)throw new Error("Can't insert nodes at the root");const l=ES(r,a);return fu(e,l,n)}function Z2(e,n){if(n.at.length===0)return n.node;const a=X2(n.at,n.node);return fu(e,a,n)}function J2(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 a=CS(n.indexPaths);return fu(e,a,n)}function eA(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 a=B2(n.indexPaths),r=a.map(c=>yS(e,c,n)),l=ES(n.to,r,CS(a));return fu(e,l,n)}function Jt(e,n){const{onEnter:a,onLeave:r,getChildren:l}=n;let c=[],d=[{node:e}];const f=n.reuseIndexPath?()=>c:()=>c.slice();for(;d.length>0;){let g=d[d.length-1];if(g.state===void 0){const m=a?.(g.node,f());if(m==="stop")return;g.state=m==="skip"?-1:0}const p=g.children||l(g.node,f());if(g.children||(g.children=p),g.state!==-1){if(g.state<p.length){let y=g.state;c.push(y),d.push({node:p[y]}),g.state=y+1;continue}if(r?.(g.node,f())==="stop")return}c.pop(),d.pop()}}var OS=class wS{constructor(n){this.options=n,K(this,"rootNode"),K(this,"isEqual",a=>wn(this.rootNode,a.rootNode)),K(this,"getNodeChildren",a=>this.options.nodeToChildren?.(a)??Tr.nodeToChildren(a)??[]),K(this,"resolveIndexPath",a=>typeof a=="string"?this.getIndexPath(a):a),K(this,"resolveNode",a=>{const r=this.resolveIndexPath(a);return r?this.at(r):void 0}),K(this,"getNodeChildrenCount",a=>this.options.nodeToChildrenCount?.(a)??Tr.nodeToChildrenCount(a)),K(this,"getNodeValue",a=>this.options.nodeToValue?.(a)??Tr.nodeToValue(a)),K(this,"getNodeDisabled",a=>this.options.isNodeDisabled?.(a)??Tr.isNodeDisabled(a)),K(this,"stringify",a=>{const r=this.findNode(a);return r?this.stringifyNode(r):null}),K(this,"stringifyNode",a=>this.options.nodeToString?.(a)??Tr.nodeToString(a)),K(this,"getFirstNode",(a=this.rootNode)=>{let r;return Jt(a,{getChildren:this.getNodeChildren,onEnter:(l,c)=>{if(!r&&c.length>0&&!this.getNodeDisabled(l))return r=l,"stop"}}),r}),K(this,"getLastNode",(a=this.rootNode,r={})=>{let l;return Jt(a,{getChildren:this.getNodeChildren,onEnter:(c,d)=>{if(!this.isSameNode(c,a)){if(r.skip?.({value:this.getNodeValue(c),node:c,indexPath:d}))return"skip";d.length>0&&!this.getNodeDisabled(c)&&(l=c)}}}),l}),K(this,"at",a=>yS(this.rootNode,a,{getChildren:this.getNodeChildren})),K(this,"findNode",(a,r=this.rootNode)=>F2(r,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===a})),K(this,"findNodes",(a,r=this.rootNode)=>{const l=new Set(a.filter(c=>c!=null));return U2(r,{getChildren:this.getNodeChildren,predicate:c=>l.has(this.getNodeValue(c))})}),K(this,"sort",a=>a.reduce((r,l)=>{const c=this.getIndexPath(l);return c&&r.push({value:l,indexPath:c}),r},[]).sort((r,l)=>xS(r.indexPath,l.indexPath)).map(({value:r})=>r)),K(this,"getIndexPath",a=>jy(this.rootNode,{getChildren:this.getNodeChildren,predicate:r=>this.getNodeValue(r)===a})),K(this,"getValue",a=>{const r=this.at(a);return r?this.getNodeValue(r):void 0}),K(this,"getValuePath",a=>{if(!a)return[];const r=[];let l=[...a];for(;l.length>0;){const c=this.at(l);c&&r.unshift(this.getNodeValue(c)),l.pop()}return r}),K(this,"getDepth",a=>jy(this.rootNode,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===a})?.length??0),K(this,"isSameNode",(a,r)=>this.getNodeValue(a)===this.getNodeValue(r)),K(this,"isRootNode",a=>this.isSameNode(a,this.rootNode)),K(this,"contains",(a,r)=>!a||!r?!1:r.slice(0,a.length).every((l,c)=>a[c]===r[c])),K(this,"getNextNode",(a,r={})=>{let l=!1,c;return Jt(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(d,f)=>{if(this.isRootNode(d))return;const g=this.getNodeValue(d);if(r.skip?.({value:g,node:d,indexPath:f}))return g===a&&(l=!0),"skip";if(l&&!this.getNodeDisabled(d))return c=d,"stop";g===a&&(l=!0)}}),c}),K(this,"getPreviousNode",(a,r={})=>{let l,c=!1;return Jt(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(d,f)=>{if(this.isRootNode(d))return;const g=this.getNodeValue(d);if(r.skip?.({value:g,node:d,indexPath:f}))return"skip";if(g===a)return c=!0,"stop";this.getNodeDisabled(d)||(l=d)}}),c?l:void 0}),K(this,"getParentNodes",a=>{const r=this.resolveIndexPath(a)?.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}),K(this,"getDescendantNodes",(a,r)=>{const l=this.resolveNode(a);if(!l)return[];const c=[];return Jt(l,{getChildren:this.getNodeChildren,onEnter:(d,f)=>{f.length!==0&&(!r?.withBranch&&this.isBranchNode(d)||c.push(d))}}),c}),K(this,"getDescendantValues",(a,r)=>this.getDescendantNodes(a,r).map(c=>this.getNodeValue(c))),K(this,"getParentIndexPath",a=>a.slice(0,-1)),K(this,"getParentNode",a=>{const r=this.resolveIndexPath(a);return r?this.at(this.getParentIndexPath(r)):void 0}),K(this,"visit",a=>{const{skip:r,...l}=a;Jt(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)}})}),K(this,"getPreviousSibling",a=>{const r=this.getParentNode(a);if(!r)return;const l=this.getNodeChildren(r);let c=a[a.length-1];for(;--c>=0;){const d=l[c];if(!this.getNodeDisabled(d))return d}}),K(this,"getNextSibling",a=>{const r=this.getParentNode(a);if(!r)return;const l=this.getNodeChildren(r);let c=a[a.length-1];for(;++c<l.length;){const d=l[c];if(!this.getNodeDisabled(d))return d}}),K(this,"getSiblingNodes",a=>{const r=this.getParentNode(a);return r?this.getNodeChildren(r):[]}),K(this,"getValues",(a=this.rootNode)=>$2(a,{getChildren:this.getNodeChildren,transform:l=>[this.getNodeValue(l)]}).slice(1)),K(this,"isValidDepth",(a,r)=>r==null?!0:typeof r=="function"?r(a.length):a.length===r),K(this,"isBranchNode",a=>this.getNodeChildren(a).length>0||this.getNodeChildrenCount(a)!=null),K(this,"getBranchValues",(a=this.rootNode,r={})=>{let l=[];return Jt(a,{getChildren:this.getNodeChildren,onEnter:(c,d)=>{if(d.length===0)return;const f=this.getNodeValue(c);if(r.skip?.({value:f,node:c,indexPath:d}))return"skip";this.isBranchNode(c)&&this.isValidDepth(d,r.depth)&&l.push(this.getNodeValue(c))}}),l}),K(this,"flatten",(a=this.rootNode)=>W2(a,{getChildren:this.getNodeChildren})),K(this,"_create",(a,r)=>this.getNodeChildren(a).length>0||r.length>0?{...a,children:r}:{...a}),K(this,"_insert",(a,r,l)=>this.copy(Q2(a,{at:r,nodes:l,getChildren:this.getNodeChildren,create:this._create}))),K(this,"copy",a=>new wS({...this.options,rootNode:a})),K(this,"_replace",(a,r,l)=>this.copy(Z2(a,{at:r,node:l,getChildren:this.getNodeChildren,create:this._create}))),K(this,"_move",(a,r,l)=>this.copy(eA(a,{indexPaths:r,to:l,getChildren:this.getNodeChildren,create:this._create}))),K(this,"_remove",(a,r)=>this.copy(J2(a,{indexPaths:r,getChildren:this.getNodeChildren,create:this._create}))),K(this,"replace",(a,r)=>this._replace(this.rootNode,a,r)),K(this,"remove",a=>this._remove(this.rootNode,a)),K(this,"insertBefore",(a,r)=>this.getParentNode(a)?this._insert(this.rootNode,a,r):void 0),K(this,"insertAfter",(a,r)=>{if(!this.getParentNode(a))return;const c=[...a.slice(0,-1),a[a.length-1]+1];return this._insert(this.rootNode,c,r)}),K(this,"move",(a,r)=>this._move(this.rootNode,a,r)),K(this,"filter",a=>{const r=G2(this.rootNode,{predicate:a,getChildren:this.getNodeChildren,create:this._create});return this.copy(r)}),K(this,"toJSON",()=>this.getValues(this.rootNode)),this.rootNode=n.rootNode}},Tr={nodeToValue(e){return typeof e=="string"?e:Na(e)&&Xi(e,"value")?e.value:""},nodeToString(e){return typeof e=="string"?e:Na(e)&&Xi(e,"label")?e.label:Tr.nodeToValue(e)},isNodeDisabled(e){return Na(e)&&Xi(e,"disabled")?!!e.disabled:!1},nodeToChildren(e){return e.children},nodeToChildrenCount(e){if(Na(e)&&Xi(e,"childrenCount"))return e.childrenCount}},Or=new WeakMap,ac=new WeakMap,rc={},Kf=0,kS=e=>e&&(e.host||kS(e.parentNode)),tA=(e,n)=>n.map(a=>{if(e.contains(a))return a;const r=kS(a);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",a,"in not contained inside",e,". Doing nothing"),null)}).filter(a=>!!a),nA=new Set(["script","output","status","next-route-announcer"]),iA=e=>nA.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),aA=(e,n)=>{const{parentNode:a,markerName:r,controlAttribute:l}=n,c=tA(a,Array.isArray(e)?e:[e]);rc[r]||(rc[r]=new WeakMap);const d=rc[r],f=[],g=new Set,p=new Set(c),m=b=>{!b||g.has(b)||(g.add(b),m(b.parentNode))};c.forEach(m);const y=b=>{!b||p.has(b)||Array.prototype.forEach.call(b.children,S=>{if(g.has(S))y(S);else try{if(iA(S))return;const E=S.getAttribute(l)==="true",w=(Or.get(S)||0)+1,N=(d.get(S)||0)+1;Or.set(S,w),d.set(S,N),f.push(S),w===1&&E&&ac.set(S,!0),N===1&&S.setAttribute(r,""),E||S.setAttribute(l,"true")}catch(C){console.error("[zag-js > ariaHidden] cannot operate on ",S,C)}})};return y(a),g.clear(),Kf++,()=>{f.forEach(b=>{const S=Or.get(b)-1,C=d.get(b)-1;Or.set(b,S),d.set(b,C),S||(ac.has(b)||b.removeAttribute(l),ac.delete(b)),C||b.removeAttribute(r)}),Kf--,Kf||(Or=new WeakMap,Or=new WeakMap,ac=new WeakMap,rc={})}},rA=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,oA=(e,n=rA(e),a="data-aria-hidden")=>{if(n)return aA(e,{parentNode:n,markerName:a,controlAttribute:"aria-hidden"})},lA=e=>{const n=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(n)};function TS(e,n={}){const{defer:a=!0}=n,r=a?lA:c=>c(),l=[];return l.push(r(()=>{const d=(typeof e=="function"?e():e).filter(Boolean);d.length!==0&&l.push(oA(d))})),()=>{l.forEach(c=>c?.())}}var RS=fe("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");RS.build();var NS=e=>new du(e);NS.empty=()=>new du({items:[]});var sA=e=>e.ids?.control??`combobox:${e.id}:control`,cA=e=>e.ids?.input??`combobox:${e.id}:input`,uA=e=>e.ids?.content??`combobox:${e.id}:content`,dA=e=>e.ids?.positioner??`combobox:${e.id}:popper`,fA=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,hA=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,qi=e=>e.getById(uA(e)),Rr=e=>e.getById(cA(e)),Gy=e=>e.getById(dA(e)),Wy=e=>e.getById(sA(e)),fl=e=>e.getById(fA(e)),qy=e=>e.getById(hA(e)),Yy=(e,n)=>{if(n==null)return;const a=`[role=option][data-value="${CSS.escape(n)}"]`;return IT(qi(e),a)},Xy=e=>{const n=Rr(e);e.isActiveElement(n)||n?.focus({preventScroll:!0})},gA=e=>{const n=fl(e);e.isActiveElement(n)||n?.focus({preventScroll:!0})},{guards:pA,createMachine:mA,choose:vA}=jx(),{and:mt,not:Zt}=pA;mA({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}){Lx(n)},collection:NS.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:a,getEvent:r}){return{currentPlacement:n(()=>({defaultValue:void 0})),value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:wn,hash(l){return l.join(",")},onChange(l){const c=a(),d=c.get("selectedItems"),f=e("collection"),g=l.map(p=>d.find(y=>f.getItemValue(y)===p)||f.find(p));c.set("selectedItems",g),e("onValueChange")?.({value:l,items:g})}})),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=ui(e("selectionBehavior"),{preserve:l||d,replace:d,clear:""})}return{defaultValue:l,value:e("inputValue"),onChange(d){const f=r(),g=(f.previousEvent||f).src;e("onInputValueChange")?.({inputValue:d,reason:g})}}}),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:a,action:r,send:l}){a([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),a([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),a([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),a([()=>n("open")],()=>{r(["toggleVisibility"])}),a([()=>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:vA([{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:mt("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:mt("isCustomValue",Zt("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:mt("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:mt("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:mt("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:mt("isOpenControlled","isCustomValue",Zt("hasHighlightedItem"),Zt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:mt("isCustomValue",Zt("hasHighlightedItem"),Zt("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:mt("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:mt("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:mt("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:mt("isOpenControlled","isCustomValue",Zt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:mt("isCustomValue",Zt("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:mt("isOpenControlled","isCustomValue",Zt("hasHighlightedItem"),Zt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:mt("isCustomValue",Zt("hasHighlightedItem"),Zt("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:mt("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:mt("isOpenControlled","isCustomValue",Zt("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:mt("isCustomValue",Zt("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:mt("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 a=e("openOnChange");return hk(a)?a:!!a?.({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:a}){return n("disableLayer")?void 0:Gr(()=>qi(a),{defer:!0,exclude:()=>[Rr(a),fl(a),qy(a)],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 TS([Rr(e),qi(e),fl(e),qy(e)])},trackPlacement({context:e,prop:n,scope:a}){const r=()=>Wy(a)||fl(a),l=()=>Gy(a);return e.set("currentPlacement",n("positioning").placement),Rn(r,l,{...n("positioning"),defer:!0,onComplete(c){e.set("currentPlacement",c.placement)}})},scrollToHighlightedItem({context:e,prop:n,scope:a,event:r}){const l=Rr(a);let c=[];const d=p=>{const m=r.current().type.includes("POINTER"),y=e.get("highlightedValue");if(m||!y)return;const b=Yy(a,y),S=qi(a),C=n("scrollToIndexFn");if(C){const w=n("collection").indexOf(y);C({index:w,immediate:p});return}const E=Se(()=>{Mc(b,{rootEl:S,block:"nearest"})});c.push(E)},f=Se(()=>d(!0));c.push(f);const g=ru(l,{attributes:["aria-activedescendant"],callback:()=>d(!1)});return c.push(g),()=>{c.forEach(p=>p())}}},actions:{reposition({context:e,prop:n,scope:a,event:r}){Rn(()=>Wy(a),()=>Gy(a),{...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:a}=e,r=a("collection"),l=n.get("highlightedValue");if(!l||!r.has(l))return;const c=a("multiple")?Br(n.get("value"),l):[l];a("onSelect")?.({value:c,itemValue:l}),n.set("value",c);const d=ui(a("selectionBehavior"),{preserve:n.get("inputValue"),replace:r.stringifyMany(c),clear:""});n.set("inputValue",d)},scrollToHighlightedItem({context:e,prop:n,scope:a}){gg(()=>{const r=e.get("highlightedValue");if(r==null)return;const l=Yy(a,r),c=qi(a),d=n("scrollToIndexFn");if(d){const f=n("collection").indexOf(r);d({index:f,immediate:!0});return}Mc(l,{rootEl:c,block:"nearest"})})},selectItem(e){const{context:n,event:a,flush:r,prop:l}=e;a.value!=null&&r(()=>{const c=l("multiple")?Br(n.get("value"),a.value):[a.value];l("onSelect")?.({value:c,itemValue:a.value}),n.set("value",c);const d=ui(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(c),clear:""});n.set("inputValue",d)})},clearItem(e){const{context:n,event:a,flush:r,prop:l}=e;a.value!=null&&r(()=>{const c=_a(n.get("value"),a.value);n.set("value",c);const d=ui(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(c),clear:""});n.set("inputValue",d)})},setInitialFocus({scope:e}){Se(()=>{Xy(e)})},setFinalFocus({scope:e}){Se(()=>{fl(e)?.dataset.focusable==null?Xy(e):gA(e)})},syncInputValue({context:e,scope:n,event:a}){const r=Rr(n);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{a.current().type!=="INPUT.CHANGE"&&Pk(r)}))},setInputValue({context:e,event:n}){e.set("inputValue",n.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:n,computed:a}){const r=n("selectionBehavior"),l=ui(r,{replace:a("hasSelectedItems")?a("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",l)},setValue(e){const{context:n,flush:a,event:r,prop:l}=e;a(()=>{n.set("value",r.value);const c=ui(l("selectionBehavior"),{preserve:n.get("inputValue"),replace:l("collection").stringifyMany(r.value),clear:""});n.set("inputValue",c)})},clearSelectedItems(e){const{context:n,flush:a,prop:r}=e;a(()=>{n.set("value",[]);const l=ui(r("selectionBehavior"),{preserve:n.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});n.set("inputValue",l)})},scrollContentToTop({prop:e,scope:n}){const a=e("scrollToIndexFn");if(a)a({index:0,immediate:!0});else{const r=qi(n);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:n}){const a=Ky(n);e("onOpenChange")?.({open:!0,reason:a})},invokeOnClose({prop:e,event:n}){const a=Ky(n);e("onOpenChange")?.({open:!1,reason:a})},highlightFirstItem({context:e,prop:n,scope:a}){(qi(a)?queueMicrotask:Se)(()=>{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:a}){(qi(a)?queueMicrotask:Se)(()=>{const l=n("collection").lastValue;l&&e.set("highlightedValue",l)})},highlightNextItem({context:e,prop:n}){let a=null;const r=e.get("highlightedValue"),l=n("collection");r?(a=l.getNextValue(r),!a&&n("loopFocus")&&(a=l.firstValue)):a=l.firstValue,a&&e.set("highlightedValue",a)},highlightPrevItem({context:e,prop:n}){let a=null;const r=e.get("highlightedValue"),l=n("collection");r?(a=l.getPreviousValue(r),!a&&n("loopFocus")&&(a=l.lastValue)):a=l.lastValue,a&&e.set("highlightedValue",a)},highlightFirstSelectedItem({context:e,prop:n}){Se(()=>{const[a]=n("collection").sort(e.get("value"));a&&e.set("highlightedValue",a)})},highlightFirstOrSelectedItem({context:e,prop:n,computed:a}){Se(()=>{let r=null;a("hasSelectedItems")?r=n("collection").sort(e.get("value"))[0]:r=n("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:n,computed:a}){Se(()=>{const r=n("collection");let l=null;a("hasSelectedItems")?l=r.sort(e.get("value"))[0]:l=r.lastValue,l&&e.set("highlightedValue",l)})},autofillInputValue({context:e,computed:n,prop:a,event:r,scope:l}){const c=Rr(l),d=a("collection");if(!n("autoComplete")||!c||!r.keypress)return;const f=d.stringify(e.get("highlightedValue"));Se(()=>{c.value=f||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:n,prop:a}=e,r=a("collection"),l=n.get("value"),c=l.map(f=>n.get("selectedItems").find(p=>r.getItemValue(p)===f)||r.find(f));n.set("selectedItems",c);const d=ui(a("selectionBehavior"),{preserve:n.get("inputValue"),replace:r.stringifyMany(l),clear:""});n.set("inputValue",d)})},syncHighlightedItem({context:e,prop:n}){const a=n("collection").find(e.get("highlightedValue"));e.set("highlightedItem",a)},toggleVisibility({event:e,send:n,prop:a}){n({type:a("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function Ky(e){return(e.previousEvent||e).src}me()(["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"]);me()(["htmlFor"]);me()(["id"]);me()(["item","persistFocus"]);var bA=Object.defineProperty,yA=(e,n,a)=>n in e?bA(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,Xe=(e,n,a)=>yA(e,typeof n!="symbol"?n+"":n,a),Qy={activateTrap(e,n){if(e.length>0){const r=e[e.length-1];r!==n&&r.pause()}const a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap(e,n){const a=e.indexOf(n);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}},xA=[],SA=class{constructor(e,n){Xe(this,"trapStack"),Xe(this,"config"),Xe(this,"doc"),Xe(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),Xe(this,"listenerCleanups",[]),Xe(this,"handleFocus",r=>{const l=ct(r),c=this.findContainerIndex(l,r)>=0;if(c||lg(l))c&&(this.state.mostRecentlyFocusedNode=l);else{r.stopImmediatePropagation();let d,f=!0;if(this.state.mostRecentlyFocusedNode)if(Jo(this.state.mostRecentlyFocusedNode)>0){const g=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:p}=this.state.containerGroups[g];if(p.length>0){const m=p.findIndex(y=>y===this.state.mostRecentlyFocusedNode);m>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?m+1<p.length&&(d=p[m+1],f=!1):m-1>=0&&(d=p[m-1],f=!1))}}else this.state.containerGroups.some(g=>g.tabbableNodes.some(p=>Jo(p)>0))||(f=!1);else f=!1;f&&(d=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),d?this.tryFocus(d):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),Xe(this,"handlePointerDown",r=>{const l=ct(r);if(!(this.findContainerIndex(l,r)>=0)){if(il(this.config.clickOutsideDeactivates,r)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}il(this.config.allowOutsideClick,r)||r.preventDefault()}}),Xe(this,"handleClick",r=>{const l=ct(r);this.findContainerIndex(l,r)>=0||il(this.config.clickOutsideDeactivates,r)||il(this.config.allowOutsideClick,r)||(r.preventDefault(),r.stopImmediatePropagation())}),Xe(this,"handleTabKey",r=>{if(this.config.isKeyForward(r)||this.config.isKeyBackward(r)){this.state.recentNavEvent=r;const l=this.config.isKeyBackward(r),c=this.findNextNavNode({event:r,isBackward:l});if(!c)return;nl(r)&&r.preventDefault(),this.tryFocus(c)}}),Xe(this,"handleEscapeKey",r=>{EA(r)&&il(this.config.escapeDeactivates,r)!==!1&&(r.preventDefault(),this.deactivate())}),Xe(this,"_mutationObserver"),Xe(this,"setupMutationObserver",()=>{const r=this.doc.defaultView||window;this._mutationObserver=new r.MutationObserver(l=>{l.some(d=>Array.from(d.removedNodes).some(g=>g===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),Xe(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(r=>{this._mutationObserver?.observe(r,{subtree:!0,childList:!0})})}),Xe(this,"getInitialFocusNode",()=>{let r=this.getNodeForOption("initialFocus",{hasFallback:!0});if(r===!1)return!1;if(r===void 0||r&&!Qi(r))if(this.findContainerIndex(this.doc.activeElement)>=0)r=this.doc.activeElement;else{const l=this.state.tabbableGroups[0];r=l&&l.firstTabbableNode||this.getNodeForOption("fallbackFocus")}else r===null&&(r=this.getNodeForOption("fallbackFocus"));if(!r)throw new Error("Your focus-trap needs to have at least one focusable element");return r.isConnected||(r=this.getNodeForOption("fallbackFocus")),r}),Xe(this,"tryFocus",r=>{if(r!==!1&&r!==_x(this.doc)){if(!r||!r.focus){this.tryFocus(this.getInitialFocusNode());return}r.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=r,CA(r)&&r.select()}}),Xe(this,"deactivate",r=>{if(!this.state.active)return this;const l={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...r};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),Qy.deactivateTrap(this.trapStack,this);const c=this.getOption(l,"onDeactivate"),d=this.getOption(l,"onPostDeactivate"),f=this.getOption(l,"checkCanReturnFocus"),g=this.getOption(l,"returnFocus","returnFocusOnDeactivate");c?.();const p=()=>{Zy(()=>{if(g){const m=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(m)}d?.()})};if(g&&f){const m=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return f(m).then(p,p),this}return p(),this}),Xe(this,"pause",r=>{if(this.state.paused||!this.state.active)return this;const l=this.getOption(r,"onPause"),c=this.getOption(r,"onPostPause");return this.state.paused=!0,l?.(),this.removeListeners(),this.updateObservedNodes(),c?.(),this}),Xe(this,"unpause",r=>{if(!this.state.paused||!this.state.active)return this;const l=this.getOption(r,"onUnpause"),c=this.getOption(r,"onPostUnpause");return this.state.paused=!1,l?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),c?.(),this}),Xe(this,"updateContainerElements",r=>(this.state.containers=Array.isArray(r)?r.filter(Boolean):[r].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),Xe(this,"getReturnFocusNode",r=>{const l=this.getNodeForOption("setReturnFocus",{params:[r]});return l||(l===!1?!1:r)}),Xe(this,"getOption",(r,l,c)=>r&&r[l]!==void 0?r[l]:this.config[c||l]),Xe(this,"getNodeForOption",(r,{hasFallback:l=!1,params:c=[]}={})=>{let d=this.config[r];if(typeof d=="function"&&(d=d(...c)),d===!0&&(d=void 0),!d){if(d===void 0||d===!1)return d;throw new Error(`\`${r}\` was specified but was not a node, or did not return a node`)}let f=d;if(typeof d=="string"){try{f=this.doc.querySelector(d)}catch(g){throw new Error(`\`${r}\` appears to be an invalid selector; error="${g.message}"`)}if(!f&&!l)throw new Error(`\`${r}\` as selector refers to no known node`)}return f}),Xe(this,"findNextNavNode",r=>{const{event:l,isBackward:c=!1}=r,d=r.target||ct(l);this.updateTabbableNodes();let f=null;if(this.state.tabbableGroups.length>0){const g=this.findContainerIndex(d,l),p=g>=0?this.state.containerGroups[g]:void 0;if(g<0)c?f=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:f=this.state.tabbableGroups[0].firstTabbableNode;else if(c){let m=this.state.tabbableGroups.findIndex(({firstTabbableNode:y})=>d===y);if(m<0&&(p?.container===d||Qi(d)&&!ka(d)&&!p?.nextTabbableNode(d,!1))&&(m=g),m>=0){const y=m===0?this.state.tabbableGroups.length-1:m-1,b=this.state.tabbableGroups[y];f=Jo(d)>=0?b.lastTabbableNode:b.lastDomTabbableNode}else nl(l)||(f=p?.nextTabbableNode(d,!1))}else{let m=this.state.tabbableGroups.findIndex(({lastTabbableNode:y})=>d===y);if(m<0&&(p?.container===d||Qi(d)&&!ka(d)&&!p?.nextTabbableNode(d))&&(m=g),m>=0){const y=m===this.state.tabbableGroups.length-1?0:m+1,b=this.state.tabbableGroups[y];f=Jo(d)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else nl(l)||(f=p?.nextTabbableNode(d))}}else f=this.getNodeForOption("fallbackFocus");return f}),this.trapStack=n.trapStack||xA;const a={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward(r){return nl(r)&&!r.shiftKey},isKeyBackward(r){return nl(r)&&r.shiftKey},...n};this.doc=a.document||an(Array.isArray(e)?e[0]:e),this.config=a,this.updateContainerElements(e),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,n){const a=typeof n?.composedPath=="function"?n.composedPath():void 0;return this.state.containerGroups.findIndex(({container:r,tabbableNodes:l})=>r.contains(e)||a?.includes(r)||l.find(c=>c===e))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const n=au(e),a=Mx(e),r=n.length>0?n[0]:void 0,l=n.length>0?n[n.length-1]:void 0,c=a.find(p=>ka(p)),d=a.slice().reverse().find(p=>ka(p)),f=!!n.find(p=>Jo(p)>0);function g(p,m=!0){const y=n.indexOf(p);return y<0?m?a.slice(a.indexOf(p)+1).find(b=>ka(b)):a.slice(0,a.indexOf(p)).reverse().find(b=>ka(b)):n[y+(m?1:-1)]}return{container:e,tabbableNodes:n,focusableNodes:a,posTabIndexesFound:f,firstTabbableNode:r,lastTabbableNode:l,firstDomTabbableNode:c,lastDomTabbableNode:d,nextTabbableNode:g}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return Qy.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?Zy(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(De(this.doc,"focusin",this.handleFocus,!0),De(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),De(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),De(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),De(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),De(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const n=this.getOption(e,"onActivate"),a=this.getOption(e,"onPostActivate"),r=this.getOption(e,"checkCanFocusTrap");r||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=this.doc.activeElement||null,n?.();const l=()=>{r&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),a?.()};return r?(r(this.state.containers.concat()).then(l,l),this):(l(),this)}},nl=e=>e.key==="Tab",il=(e,...n)=>typeof e=="function"?e(...n):e,EA=e=>!e.isComposing&&e.key==="Escape",Zy=e=>setTimeout(e,0),CA=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function OA(e,n={}){let a;const r=Se(()=>{const l=typeof e=="function"?e():e;if(l){a=new SA(l,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:l,...n,document:an(l)});try{a.activate()}catch{}}});return function(){a?.deactivate(),r()}}var Qf="data-scroll-lock";function wA(e){const n=e.getBoundingClientRect().left;return Math.round(n)+e.scrollLeft?"paddingLeft":"paddingRight"}function kA(e){const n=e??document,a=n.defaultView??window,{documentElement:r,body:l}=n;if(l.hasAttribute(Qf))return;const d=a.innerWidth-r.clientWidth;l.setAttribute(Qf,"");const f=()=>FT(r,"--scrollbar-width",`${d}px`),g=wA(r),p=()=>Bc(l,{overflow:"hidden",[g]:`${d}px`}),m=()=>{const{scrollX:b,scrollY:S,visualViewport:C}=a,E=C?.offsetLeft??0,w=C?.offsetTop??0,N=Bc(l,{position:"fixed",overflow:"hidden",top:`${-(S-Math.floor(w))}px`,left:`${-(b-Math.floor(E))}px`,right:"0",[g]:`${d}px`});return()=>{N?.(),a.scrollTo({left:b,top:S,behavior:"instant"})}},y=[f(),tu()?m():p()];return()=>{y.forEach(b=>b?.()),l.removeAttribute(Qf)}}var Ig=fe("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),xa=Ig.build(),AS=e=>e.ids?.positioner??`dialog:${e.id}:positioner`,_S=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,Eh=e=>e.ids?.content??`dialog:${e.id}:content`,zS=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,Ch=e=>e.ids?.title??`dialog:${e.id}:title`,Oh=e=>e.ids?.description??`dialog:${e.id}:description`,IS=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,oc=e=>e.getById(Eh(e)),TA=e=>e.getById(AS(e)),RA=e=>e.getById(_S(e)),NA=e=>e.getById(zS(e)),AA=e=>e.getById(Ch(e)),_A=e=>e.getById(Oh(e)),zA=e=>e.getById(IS(e));function wM(e,n){const{state:a,send:r,context:l,prop:c,scope:d}=e,f=c("aria-label"),g=a.matches("open");return{open:g,setOpen(p){a.matches("open")!==p&&r({type:p?"OPEN":"CLOSE"})},getTriggerProps(){return n.button({...xa.trigger.attrs,dir:c("dir"),id:zS(d),"aria-haspopup":"dialog",type:"button","aria-expanded":g,"data-state":g?"open":"closed","aria-controls":Eh(d),onClick(p){p.defaultPrevented||r({type:"TOGGLE"})}})},getBackdropProps(){return n.element({...xa.backdrop.attrs,dir:c("dir"),hidden:!g,id:_S(d),"data-state":g?"open":"closed"})},getPositionerProps(){return n.element({...xa.positioner.attrs,dir:c("dir"),id:AS(d),style:{pointerEvents:g?void 0:"none"}})},getContentProps(){const p=l.get("rendered");return n.element({...xa.content.attrs,dir:c("dir"),role:c("role"),hidden:!g,id:Eh(d),tabIndex:-1,"data-state":g?"open":"closed","aria-modal":!0,"aria-label":f||void 0,"aria-labelledby":f||!p.title?void 0:Ch(d),"aria-describedby":p.description?Oh(d):void 0})},getTitleProps(){return n.element({...xa.title.attrs,dir:c("dir"),id:Ch(d)})},getDescriptionProps(){return n.element({...xa.description.attrs,dir:c("dir"),id:Oh(d)})},getCloseTriggerProps(){return n.button({...xa.closeTrigger.attrs,dir:c("dir"),id:IS(d),type:"button",onClick(p){p.defaultPrevented||(p.stopPropagation(),r({type:"CLOSE"}))}})}}}var kM={props({props:e,scope:n}){const a=e.role==="alertdialog",r=a?()=>zA(n):void 0,l=typeof e.modal=="boolean"?e.modal:!0;return{role:"dialog",modal:l,trapFocus:l,preventScroll:l,closeOnInteractOutside:!a,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:r,...e}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}},watch({track:e,action:n,prop:a}){e([()=>a("open")],()=>{n(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackDismissableElement({scope:e,send:n,prop:a}){return Gr(()=>oc(e),{defer:!0,pointerBlocking:a("modal"),exclude:[NA(e)],onInteractOutside(l){a("onInteractOutside")?.(l),a("closeOnInteractOutside")||l.preventDefault()},persistentElements:a("persistentElements"),onFocusOutside:a("onFocusOutside"),onPointerDownOutside:a("onPointerDownOutside"),onEscapeKeyDown(l){a("onEscapeKeyDown")?.(l),a("closeOnEscape")||l.preventDefault()},onDismiss(){n({type:"CLOSE",src:"interact-outside"})}})},preventScroll({scope:e,prop:n}){if(n("preventScroll"))return kA(e.getDoc())},trapFocus({scope:e,prop:n}){return n("trapFocus")?OA(()=>oc(e),{preventScroll:!0,returnFocusOnDeactivate:!!n("restoreFocus"),initialFocus:n("initialFocusEl"),setReturnFocus:r=>n("finalFocusEl")?.()??r}):void 0},hideContentBelow({scope:e,prop:n}){return n("modal")?TS(()=>[oc(e)],{defer:!0}):void 0}},actions:{checkRenderedElements({context:e,scope:n}){Se(()=>{e.set("rendered",{title:!!AA(n),description:!!_A(n)})})},syncZIndex({scope:e}){Se(()=>{const n=oc(e);if(!n)return;const a=Dc(n);[TA(e),RA(e)].forEach(l=>{l?.style.setProperty("--z-index",a.zIndex),l?.style.setProperty("--layer-index",a.getPropertyValue("--layer-index"))})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:n,event:a}){n({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:a})}}}};me()(["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 VS=fe("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");VS.build();me()(["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 DS=fe("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");DS.build();const PS=fe("fieldset").parts("root","errorText","helperText","legend");PS.build();var MS=fe("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");MS.build();me()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]);me()(["file"]);const IA=Symbol(),Jy=Object.getPrototypeOf,wh=new WeakMap,VA=e=>e&&(wh.has(e)?wh.get(e):Jy(e)===Object.prototype||Jy(e)===Array.prototype),DA=e=>VA(e)&&e[IA]||null,e0=(e,n=!0)=>{wh.set(e,n)};function PA(){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 LS(e,n){const a=PA();return a?(a[e]||(a[e]=n()),a[e]):n()}var Rc=LS("__zag__refSet",()=>new WeakSet),MA=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,LA=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,BA=e=>typeof e=="object"&&e!==null&&"nodeType"in e&&typeof e.nodeName=="string",HA=e=>MA(e)||LA(e)||BA(e),kh=e=>e!==null&&typeof e=="object",t0=e=>kh(e)&&!Rc.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!HA(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),Ta=LS("__zag__proxyStateMap",()=>new WeakMap),FA=(e=Object.is,n=(f,g)=>new Proxy(f,g),a=new WeakMap,r=(f,g)=>{const p=a.get(f);if(p?.[0]===g)return p[1];const m=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f));return e0(m,!0),a.set(f,[g,m]),Reflect.ownKeys(f).forEach(y=>{const b=Reflect.get(f,y);Rc.has(b)?(e0(b,!1),m[y]=b):Ta.has(b)?m[y]=$A(b):m[y]=b}),Object.freeze(m)},l=new WeakMap,c=[1,1],d=f=>{if(!kh(f))throw new Error("object required");const g=l.get(f);if(g)return g;let p=c[0];const m=new Set,y=(U,z=++c[0])=>{p!==z&&(p=z,m.forEach(M=>M(U,z)))};let b=c[1];const S=(U=++c[1])=>(b!==U&&!m.size&&(b=U,E.forEach(([z])=>{const M=z[1](U);M>p&&(p=M)})),p),C=U=>(z,M)=>{const $=[...z];$[1]=[U,...$[1]],y($,M)},E=new Map,w=(U,z)=>{if(m.size){const M=z[3](C(U));E.set(U,[z,M])}else E.set(U,[z])},N=U=>{const z=E.get(U);z&&(E.delete(U),z[1]?.())},T=U=>(m.add(U),m.size===1&&E.forEach(([M,$],ae)=>{const te=M[3](C(ae));E.set(ae,[M,te])}),()=>{m.delete(U),m.size===0&&E.forEach(([M,$],ae)=>{$&&($(),E.set(ae,[M]))})}),R=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f)),A=n(R,{deleteProperty(U,z){const M=Reflect.get(U,z);N(z);const $=Reflect.deleteProperty(U,z);return $&&y(["delete",[z],M]),$},set(U,z,M,$){const ae=Reflect.has(U,z),te=Reflect.get(U,z,$);if(ae&&(e(te,M)||l.has(M)&&e(te,l.get(M))))return!0;N(z),kh(M)&&(M=DA(M)||M);let we=M;if(!Object.getOwnPropertyDescriptor(U,z)?.set){!Ta.has(M)&&t0(M)&&(we=BS(M));const Ee=!Rc.has(we)&&Ta.get(we);Ee&&w(z,Ee)}return Reflect.set(U,z,we,$),y(["set",[z],M,te]),!0}});l.set(f,A);const Y=[R,S,r,T];return Ta.set(A,Y),Reflect.ownKeys(f).forEach(U=>{const z=Object.getOwnPropertyDescriptor(f,U);z.get||z.set?Object.defineProperty(R,U,z):A[U]=f[U]}),A})=>[d,Ta,Rc,e,n,t0,a,r,l,c],[UA]=FA();function BS(e={}){return UA(e)}function jA(e,n,a){const r=Ta.get(e);let l;const c=[],d=r[3];let f=!1;const p=d(m=>{c.push(m),l||(l=Promise.resolve().then(()=>{l=void 0,f&&n(c.splice(0))}))});return f=!0,()=>{f=!1,p()}}function $A(e){const n=Ta.get(e),[a,r,l]=n;return l(a,r())}var HS=fe("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");HS.build();var GA=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,WA=e=>e.ids?.content??`hover-card:${e.id}:content`,qA=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,Zf=e=>e.getById(GA(e)),YA=e=>e.getById(WA(e)),n0=e=>e.getById(qA(e)),{not:lc,and:i0}=$n();i0("isOpenControlled",lc("isPointer")),lc("isPointer"),i0("isOpenControlled",lc("isPointer")),lc("isPointer");me()(["closeDelay","dir","getRootNode","id","ids","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var FS=fe("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");FS.build();var US=e=>new OS(e);US.empty=()=>new OS({rootNode:{children:[]}});var XA=(e,n)=>e.ids?.node?.(n)??`tree:${e.id}:node:${n}`,Sa=(e,n)=>{n!=null&&e.getById(XA(e,n))?.focus()};function KA(e,n,a){const r=e.getDescendantValues(n),l=r.every(c=>a.includes(c));return Ar(l?_a(a,...r):Ra(a,...r))}function sc(e,n){const{context:a,prop:r,refs:l}=e;if(!r("loadChildren")){a.set("expandedValue",E=>Ar(Ra(E,...n)));return}const c=a.get("loadingStatus"),[d,f]=cy(n,E=>c[E]==="loaded");if(d.length>0&&a.set("expandedValue",E=>Ar(Ra(E,...d))),f.length===0)return;const g=r("collection"),[p,m]=cy(f,E=>{const w=g.findNode(E);return g.getNodeChildren(w).length>0});if(p.length>0&&a.set("expandedValue",E=>Ar(Ra(E,...p))),m.length===0)return;a.set("loadingStatus",E=>({...E,...m.reduce((w,N)=>({...w,[N]:"loading"}),{})}));const y=m.map(E=>{const w=g.getIndexPath(E),N=g.getValuePath(w),T=g.findNode(E);return{id:E,indexPath:w,valuePath:N,node:T}}),b=l.get("pendingAborts"),S=r("loadChildren");Nx(S,()=>"[zag-js/tree-view] `loadChildren` is required for async expansion");const C=y.map(({id:E,indexPath:w,valuePath:N,node:T})=>{const R=b.get(E);R&&(R.abort(),b.delete(E));const F=new AbortController;return b.set(E,F),S({valuePath:N,indexPath:w,node:T,signal:F.signal})});Promise.allSettled(C).then(E=>{const w=[],N=[],T=a.get("loadingStatus");let R=r("collection");E.forEach((F,A)=>{const{id:Y,indexPath:U,node:z,valuePath:M}=y[A];F.status==="fulfilled"?(T[Y]="loaded",w.push(Y),R=R.replace(U,{...z,children:F.value})):(b.delete(Y),Reflect.deleteProperty(T,Y),N.push({node:z,error:F.reason,indexPath:U,valuePath:M}))}),a.set("loadingStatus",T),w.length&&(a.set("expandedValue",F=>Ar(Ra(F,...w))),r("onLoadChildrenComplete")?.({collection:R})),N.length&&r("onLoadChildrenError")?.({nodes:N})})}function Gi(e){const{prop:n,context:a}=e;return function({indexPath:l}){return n("collection").getValuePath(l).slice(0,-1).some(d=>!a.get("expandedValue").includes(d))}}var{and:Vn}=$n();Vn("isMultipleSelection","moveFocus"),Vn("isShiftKey","isMultipleSelection"),Vn("isShiftKey","isMultipleSelection"),Vn("isBranchFocused","isBranchExpanded"),Vn("isShiftKey","isMultipleSelection"),Vn("isShiftKey","isMultipleSelection"),Vn("isCtrlKey","isMultipleSelection"),Vn("isShiftKey","isMultipleSelection"),Vn("isCtrlKey","isMultipleSelection"),Vn("isShiftKey","isMultipleSelection");me()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]);me()(["node","indexPath"]);var jS=fe("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");jS.build();var $S=e=>e.ids?.trigger??`menu:${e.id}:trigger`,QA=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,GS=e=>e.ids?.content??`menu:${e.id}:content`,ZA=e=>e.ids?.positioner??`menu:${e.id}:popper`,Th=(e,n)=>`${e.id}/${n}`,Ea=e=>e?.dataset.value??null,Yi=e=>e.getById(GS(e)),a0=e=>e.getById(ZA(e)),cc=e=>e.getById($S(e)),JA=(e,n)=>n?e.getById(Th(e,n)):null,Jf=e=>e.getById(QA(e)),zl=e=>{const a=`[role^="menuitem"][data-ownedby=${CSS.escape(GS(e))}]:not([data-disabled])`;return Lc(Yi(e),a)},e_=e=>gl(zl(e)),t_=e=>og(zl(e)),Vg=(e,n)=>n?e.id===n||e.dataset.value===n:!1,n_=(e,n)=>{const a=zl(e),r=a.findIndex(l=>Vg(l,n.value));return ck(a,r,{loop:n.loop??n.loopFocus})},i_=(e,n)=>{const a=zl(e),r=a.findIndex(l=>Vg(l,n.value));return dk(a,r,{loop:n.loop??n.loopFocus})},a_=(e,n)=>{const a=zl(e),r=a.find(l=>Vg(l,n.value));return za(a,{state:n.typeaheadState,key:n.key,activeId:r?.id??null})},r_=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),o_="menu:select";function l_(e,n){if(!e)return;const a=ut(e),r=new a.CustomEvent(o_,{detail:{value:n}});e.dispatchEvent(r)}var{not:pn,and:wr,or:s_}=$n();pn("isSubmenu"),s_("isOpenAutoFocusEvent","isArrowDownEvent"),wr(pn("isTriggerItem"),"isOpenControlled"),pn("isTriggerItem"),wr("isSubmenu","isOpenControlled"),pn("isPointerSuspended"),wr(pn("isPointerSuspended"),pn("isTriggerItem")),wr(pn("isTriggerItemHighlighted"),pn("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),wr(pn("isTriggerItemHighlighted"),pn("isHighlightedItemEditable"),"closeOnSelect"),wr(pn("isTriggerItemHighlighted"),pn("isHighlightedItemEditable"));function r0(e){let n=e.parent;for(;n&&n.context.get("isSubmenu");)n=n.refs.get("parent");n?.send({type:"CLOSE"})}function c_(e,n){return e?C2(e,n):!1}function u_(e,n,a){const r=Object.keys(e).length>0;if(!n)return null;if(!r)return Th(a,n);for(const l in e){const c=e[l],d=$S(c.scope);if(d===n)return d}return Th(a,n)}me()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","open","positioning","typeahead"]);me()(["closeOnSelect","disabled","value","valueText"]);me()(["htmlFor"]);me()(["id"]);me()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);let eh=new Map,Rh=!1;try{Rh=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Gc=!1;try{Gc=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const WS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class d_{format(n){let a="";if(!Rh&&this.options.signDisplay!=null?a=h_(this.numberFormatter,this.options.signDisplay,n):a=this.numberFormatter.format(n),this.options.style==="unit"&&!Gc){var r;let{unit:l,unitDisplay:c="short",locale:d}=this.resolvedOptions();if(!l)return a;let f=(r=WS[l])===null||r===void 0?void 0:r[c];a+=f[d]||f.default}return a}formatToParts(n){return this.numberFormatter.formatToParts(n)}formatRange(n,a){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(n,a);if(a<n)throw new RangeError("End date must be >= start date");return`${this.format(n)} – ${this.format(a)}`}formatRangeToParts(n,a){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(n,a);if(a<n)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(n),l=this.numberFormatter.formatToParts(a);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!Rh&&this.options.signDisplay!=null&&(n={...n,signDisplay:this.options.signDisplay}),!Gc&&this.options.style==="unit"&&(n={...n,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),n}constructor(n,a={}){this.numberFormatter=f_(n,a),this.options=a}}function f_(e,n={}){let{numberingSystem:a}=n;if(a&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${a}`),n.style==="unit"&&!Gc){var r;let{unit:d,unitDisplay:f="short"}=n;if(!d)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=WS[d])===null||r===void 0)&&r[f]))throw new Error(`Unsupported unit ${d} with unitDisplay = ${f}`);n={...n,style:"decimal"}}let l=e+(n?Object.entries(n).sort((d,f)=>d[0]<f[0]?-1:1).join():"");if(eh.has(l))return eh.get(l);let c=new Intl.NumberFormat(e,n);return eh.set(l,c),c}function h_(e,n,a){if(n==="auto")return e.format(a);if(n==="never")return e.format(Math.abs(a));{let r=!1;if(n==="always"?r=a>0||Object.is(a,0):n==="exceptZero"&&(Object.is(a,-0)||Object.is(a,0)?a=Math.abs(a):r=a>0),r){let l=e.format(-a),c=e.format(a),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(a)}}const g_=new RegExp("^.*\\(.*\\).*$"),p_=["latn","arab","hanidec","deva","beng","fullwide"];class qS{parse(n){return th(this.locale,this.options,n).parse(n)}isValidPartialNumber(n,a,r){return th(this.locale,this.options,n).isValidPartialNumber(n,a,r)}getNumberingSystem(n){return th(this.locale,this.options,n).options.numberingSystem}constructor(n,a={}){this.locale=n,this.options=a}}const o0=new Map;function th(e,n,a){let r=l0(e,n);if(!e.includes("-nu-")&&!r.isValidPartialNumber(a)){for(let l of p_)if(l!==r.options.numberingSystem){let c=l0(e+(e.includes("-u-")?"-nu-":"-u-nu-")+l,n);if(c.isValidPartialNumber(a))return c}}return r}function l0(e,n){let a=e+(n?Object.entries(n).sort((l,c)=>l[0]<c[0]?-1:1).join():""),r=o0.get(a);return r||(r=new m_(e,n),o0.set(a,r)),r}class m_{parse(n){let a=this.sanitize(n);if(this.symbols.group&&(a=al(a,this.symbols.group,"")),this.symbols.decimal&&(a=a.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(a=a.replace(this.symbols.minusSign,"-")),a=a.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let d=a.indexOf("-");a=a.replace("-",""),a=a.replace("+","");let f=a.indexOf(".");f===-1&&(f=a.length),a=a.replace(".",""),f-2===0?a=`0.${a}`:f-2===-1?a=`0.0${a}`:f-2===-2?a="0.00":a=`${a.slice(0,f-2)}.${a.slice(f-2)}`,d>-1&&(a=`-${a}`)}let r=a?+a: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 qS(this.locale,d).parse(new d_(this.locale,d).format(r))}return this.options.currencySign==="accounting"&&g_.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=al(n,".",this.symbols.group))),this.options.locale==="fr-FR"&&this.symbols.group&&(n=al(n," ",this.symbols.group),n=al(n,/\u00A0/g,this.symbols.group)),n}isValidPartialNumber(n,a=-1/0,r=1/0){return n=this.sanitize(n),this.symbols.minusSign&&n.startsWith(this.symbols.minusSign)&&a<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=al(n,this.symbols.group,"")),n=n.replace(this.symbols.numeral,""),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,"")),n.length===0)}constructor(n,a={}){this.locale=n,a.roundingIncrement!==1&&a.roundingIncrement!=null&&(a.maximumFractionDigits==null&&a.minimumFractionDigits==null?(a.maximumFractionDigits=0,a.minimumFractionDigits=0):a.maximumFractionDigits==null?a.maximumFractionDigits=a.minimumFractionDigits:a.minimumFractionDigits==null&&(a.minimumFractionDigits=a.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(n,a),this.options=this.formatter.resolvedOptions(),this.symbols=b_(n,this.formatter,this.options,a);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 s0=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),v_=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function b_(e,n,a,r){var l,c,d,f;let g=new Intl.NumberFormat(e,{...a,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),p=g.formatToParts(-10000.111),m=g.formatToParts(10000.111),y=v_.map($=>g.formatToParts($));var b;let S=(b=(l=p.find($=>$.type==="minusSign"))===null||l===void 0?void 0:l.value)!==null&&b!==void 0?b:"-",C=(c=m.find($=>$.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,{...a,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find($=>$.type==="decimal"))===null||d===void 0?void 0:d.value,N=(f=p.find($=>$.type==="group"))===null||f===void 0?void 0:f.value,T=p.filter($=>!s0.has($.type)).map($=>c0($.value)),R=y.flatMap($=>$.filter(ae=>!s0.has(ae.type)).map(ae=>c0(ae.value))),F=[...new Set([...T,...R])].sort(($,ae)=>ae.length-$.length),A=F.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${F.join("|")}|[\\p{White_Space}]`,"gu"),Y=[...new Intl.NumberFormat(a.locale,{useGrouping:!1}).format(9876543210)].reverse(),U=new Map(Y.map(($,ae)=>[$,ae])),z=new RegExp(`[${Y.join("")}]`,"g");return{minusSign:S,plusSign:C,decimal:w,group:N,literals:A,numeral:z,index:$=>String(U.get($))}}function al(e,n,a){return e.replaceAll?e.replaceAll(n,a):e.split(n).join(a)}function c0(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var YS=fe("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");YS.build();var y_=e=>e.ids?.input??`number-input:${e.id}:input`,x_=e=>e.ids?.incrementTrigger??`number-input:${e.id}:inc`,S_=e=>e.ids?.decrementTrigger??`number-input:${e.id}:dec`,XS=e=>`number-input:${e.id}:cursor`,uc=e=>e.getById(y_(e)),E_=e=>e.getById(x_(e)),C_=e=>e.getById(S_(e)),KS=e=>e.getDoc().getElementById(XS(e)),O_=(e,n)=>{let a=null;return n==="increment"&&(a=E_(e)),n==="decrement"&&(a=C_(e)),a},w_=(e,n)=>{if(!ug())return R_(e,n),()=>{KS(e)?.remove()}},k_=e=>{const n=e.getDoc(),a=n.documentElement,r=n.body;return r.style.pointerEvents="none",a.style.userSelect="none",a.style.cursor="ew-resize",()=>{r.style.pointerEvents="",a.style.userSelect="",a.style.cursor="",a.style.length||a.removeAttribute("style"),r.style.length||r.removeAttribute("style")}},T_=(e,n)=>{const{point:a,isRtl:r,event:l}=n,c=e.getWin(),d=Gf(l.movementX,c.devicePixelRatio),f=Gf(l.movementY,c.devicePixelRatio);let g=d>0?"increment":d<0?"decrement":null;r&&g==="increment"&&(g="decrement"),r&&g==="decrement"&&(g="increment");const p={x:a.x+d,y:a.y+f},m=c.innerWidth,y=Gf(7.5,c.devicePixelRatio);return p.x=Tk(p.x+y,m)-y,{hint:g,point:p}},R_=(e,n)=>{const a=e.getDoc(),r=a.createElement("div");r.className="scrubber--cursor",r.id=XS(e),Object.assign(r.style,{width:"15px",height:"15px",position:"fixed",pointerEvents:"none",left:"0px",top:"0px",zIndex:Lk,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>`,a.body.appendChild(r)};function N_(e){if(!(!e||e.ownerDocument.activeElement!==e))try{const{selectionStart:n,selectionEnd:a,value:r}=e,l=r.substring(0,n),c=r.substring(a);return{start:n,end:a,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:a}=e,{beforeTxt:r="",afterTxt:l="",start:c}=n;let d=a.length;if(a.endsWith(l))d=a.length-l.length;else if(a.startsWith(r))d=r.length;else if(c!=null){const f=r[c-1],g=a.indexOf(f,c-1);g!==-1&&(d=g+1)}e.setSelectionRange(d,d)}catch{}}}var __=(e,n={})=>new Intl.NumberFormat(e,n),z_=(e,n={})=>new qS(e,n),nh=(e,n)=>{const{prop:a,computed:r}=n;return a("formatOptions")?r("parser").parse(String(e)):parseFloat(e)},Ca=(e,n)=>{const{prop:a,computed:r}=n;return Number.isNaN(e)?"":a("formatOptions")?r("formatter").format(e):e.toString()},I_=(e,n)=>{let a=e!==void 0&&!Number.isNaN(e)?e:1;return n?.style==="percent"&&(e===void 0||Number.isNaN(e))&&(a=.01),a},{choose:V_,guards:D_,createMachine:P_}=jx(),{not:u0,and:d0}=D_;P_({props({props:e}){const n=I_(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:a}){return{value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){const l=a(),c=nh(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:a})=>nh(e.get("value"),{computed:n,prop:a}),formattedValue:({computed:e,prop:n})=>Ca(e("valueAsNumber"),{computed:e,prop:n}),isAtMin:({computed:e,prop:n})=>Nk(e("valueAsNumber"),n("min")),isAtMax:({computed:e,prop:n})=>Rk(e("valueAsNumber"),n("max")),isOutOfRange:({computed:e,prop:n})=>!Ak(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:xy(({prop:e})=>[e("locale"),e("formatOptions")],(e,n)=>__(e,n)),parser:xy(({prop:e})=>[e("locale"),e("formatOptions")],(e,n)=>z_(e,n))},watch({track:e,action:n,context:a,computed:r,prop:l}){e([()=>a.get("value"),()=>l("locale")],()=>{n(["syncInputElement"])}),e([()=>r("isOutOfRange")],()=>{n(["invokeOnInvalid"])}),e([()=>a.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:d0("clampValueOnBlur",u0("isInRange")),target:"idle",actions:["setClampedValue","clearHint","invokeOnBlur"]},{guard:u0("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:V_([{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}]),on:{CHANGE_DELAY:{target:"spinning",guard:d0("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 a=uc(n);return Al(a,{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},setupVirtualCursor({context:e,scope:n}){const a=e.get("scrubberCursorPoint");return w_(n,a)},preventTextSelection({scope:e}){return k_(e)},trackButtonDisabled({context:e,scope:n,send:a}){const r=e.get("hint"),l=O_(n,r);return ru(l,{attributes:["disabled"],callback(){a({type:"TRIGGER.PRESS_UP",src:"attr"})}})},attachWheelListener({scope:e,send:n,prop:a}){const r=uc(e);if(!r||!e.isActiveElement(r)||!a("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 De(r,"wheel",l,{passive:!1})},activatePointerLock({scope:e}){if(!ug())return NT(e.getDoc())},trackMousemove({scope:e,send:n,context:a,computed:r}){const l=e.getDoc();function c(f){const g=a.get("scrubberCursorPoint"),p=r("isRtl"),m=T_(e,{point:g,isRtl:p,event:f});m.hint&&n({type:"SCRUBBER.POINTER_MOVE",hint:m.hint,point:m.point})}function d(){n({type:"SCRUBBER.POINTER_UP"})}return Vc(De(l,"mousemove",c,!1),De(l,"mouseup",d,!1))}},actions:{focusInput({scope:e,prop:n}){if(!n("focusInputOnChange"))return;const a=uc(e);e.isActiveElement(a)||Se(()=>a?.focus({preventScroll:!0}))},increment({context:e,event:n,prop:a,computed:r}){let l=Vk(r("valueAsNumber"),n.step??a("step"));a("allowOverflow")||(l=Ht(l,a("min"),a("max"))),e.set("value",Ca(l,{computed:r,prop:a}))},decrement({context:e,event:n,prop:a,computed:r}){let l=Dk(r("valueAsNumber"),n.step??a("step"));a("allowOverflow")||(l=Ht(l,a("min"),a("max"))),e.set("value",Ca(l,{computed:r,prop:a}))},setClampedValue({context:e,prop:n,computed:a}){const r=Ht(a("valueAsNumber"),n("min"),n("max"));e.set("value",Ca(r,{computed:a,prop:n}))},setRawValue({context:e,event:n,prop:a,computed:r}){let l=nh(n.value,{computed:r,prop:a});a("allowOverflow")||(l=Ht(l,a("min"),a("max"))),e.set("value",Ca(l,{computed:r,prop:a}))},setValue({context:e,event:n}){const a=n.target?.value??n.value;e.set("value",a)},clearValue({context:e}){e.set("value","")},incrementToMax({context:e,prop:n,computed:a}){const r=Ca(n("max"),{computed:a,prop:n});e.set("value",r)},decrementToMin({context:e,prop:n,computed:a}){const r=Ca(n("min"),{computed:a,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:a}){if(a.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:a,scope:r}){const l=n.type.endsWith("CHANGE")?e.get("value"):a("formattedValue"),c=uc(r),d=N_(c);Se(()=>{iu(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 a=KS(n),r=e.get("scrubberCursorPoint");!a||!r||(a.style.transform=`translate3d(${r.x}px, ${r.y}px, 0px)`)}}}});me()(["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 QS=fe("pinInput").parts("root","label","input","control");QS.build();me()(["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 ZS=fe("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");ZS.build();me()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","portalled","positioning"]);var Dg=fe("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");Dg.build();me()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var JS=fe("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");JS.build();me()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var Pg=fe("radio-group").parts("root","label","item","itemText","itemControl","indicator");Pg.build();me()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]);me()(["value","disabled","invalid"]);var e1=fe("rating-group").parts("root","label","item","control");e1.build();me()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]);me()(["index"]);var t1=fe("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");t1.build();me()(["dir","getRootNode","ids","id"]);const n1=Pg.rename("segment-group");n1.build();var i1=fe("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),At=i1.build(),a1=e=>new du(e);a1.empty=()=>new du({items:[]});var M_=e=>e.ids?.root??`select:${e.id}`,Nh=e=>e.ids?.content??`select:${e.id}:content`,Ah=e=>e.ids?.trigger??`select:${e.id}:trigger`,r1=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,dc=e=>e.ids?.label??`select:${e.id}:label`,L_=e=>e.ids?.control??`select:${e.id}:control`,_h=(e,n)=>e.ids?.item?.(n)??`select:${e.id}:option:${n}`,zh=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,o1=e=>e.ids?.positioner??`select:${e.id}:positioner`,B_=(e,n)=>e.ids?.itemGroup?.(n)??`select:${e.id}:optgroup:${n}`,f0=(e,n)=>e.ids?.itemGroupLabel?.(n)??`select:${e.id}:optgroup-label:${n}`,ih=e=>e.getById(zh(e)),rl=e=>e.getById(Nh(e)),Aa=e=>e.getById(Ah(e)),H_=e=>e.getById(r1(e)),h0=e=>e.getById(o1(e)),F_=(e,n)=>e.getById(_h(e,n));function TM(e,n){const{context:a,prop:r,scope:l,state:c,computed:d,send:f}=e,g=r("disabled")||a.get("fieldsetDisabled"),p=r("invalid"),m=r("readOnly"),y=r("composite"),b=r("collection"),S=c.hasTag("open"),C=c.matches("focused"),E=a.get("highlightedValue"),w=a.get("highlightedItem"),N=a.get("selectedItems"),T=a.get("currentPlacement"),R=d("isTypingAhead"),F=d("isInteractive"),A=E?_h(l,E):void 0;function Y(z){const M=b.getItemDisabled(z.item),$=b.getItemValue(z.item);return Nx($,()=>`[zag-js] No value found for item ${JSON.stringify(z.item)}`),{value:$,disabled:!!(g||M),highlighted:E===$,selected:a.get("value").includes($)}}const U=rS({...r("positioning"),placement:T});return{open:S,focused:C,empty:a.get("value").length===0,highlightedItem:w,highlightedValue:E,selectedItems:N,hasSelectedItems:d("hasSelectedItems"),value:a.get("value"),valueAsString:d("valueAsString"),collection:b,multiple:!!r("multiple"),disabled:!!g,reposition(z={}){f({type:"POSITIONING.SET",options:z})},focus(){Aa(l)?.focus({preventScroll:!0})},setOpen(z){c.hasTag("open")!==z&&f({type:z?"OPEN":"CLOSE"})},selectValue(z){f({type:"ITEM.SELECT",value:z})},setValue(z){f({type:"VALUE.SET",value:z})},selectAll(){f({type:"VALUE.SET",value:b.getValues()})},setHighlightValue(z){f({type:"HIGHLIGHTED_VALUE.SET",value:z})},clearHighlightValue(){f({type:"HIGHLIGHTED_VALUE.CLEAR"})},clearValue(z){f(z?{type:"ITEM.CLEAR",value:z}:{type:"VALUE.CLEAR"})},getItemState:Y,getRootProps(){return n.element({...At.root.attrs,dir:r("dir"),id:M_(l),"data-invalid":ve(p),"data-readonly":ve(m)})},getLabelProps(){return n.label({dir:r("dir"),id:dc(l),...At.label.attrs,"data-disabled":ve(g),"data-invalid":ve(p),"data-readonly":ve(m),htmlFor:zh(l),onClick(z){z.defaultPrevented||g||Aa(l)?.focus({preventScroll:!0})}})},getControlProps(){return n.element({...At.control.attrs,dir:r("dir"),id:L_(l),"data-state":S?"open":"closed","data-focus":ve(C),"data-disabled":ve(g),"data-invalid":ve(p)})},getValueTextProps(){return n.element({...At.valueText.attrs,dir:r("dir"),"data-disabled":ve(g),"data-invalid":ve(p),"data-focus":ve(C)})},getTriggerProps(){return n.button({id:Ah(l),disabled:g,dir:r("dir"),type:"button",role:"combobox","aria-controls":Nh(l),"aria-expanded":S,"aria-haspopup":"listbox","data-state":S?"open":"closed","aria-invalid":p,"aria-labelledby":dc(l),...At.trigger.attrs,"data-disabled":ve(g),"data-invalid":ve(p),"data-readonly":ve(m),"data-placement":T,"data-placeholder-shown":ve(!d("hasSelectedItems")),onClick(z){F&&(z.defaultPrevented||f({type:"TRIGGER.CLICK"}))},onFocus(){f({type:"TRIGGER.FOCUS"})},onBlur(){f({type:"TRIGGER.BLUR"})},onKeyDown(z){if(z.defaultPrevented||!F)return;const $={ArrowUp(){f({type:"TRIGGER.ARROW_UP"})},ArrowDown(ae){f({type:ae.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){f({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){f({type:"TRIGGER.ARROW_RIGHT"})},Home(){f({type:"TRIGGER.HOME"})},End(){f({type:"TRIGGER.END"})},Enter(){f({type:"TRIGGER.ENTER"})},Space(ae){f(R?{type:"TRIGGER.TYPEAHEAD",key:ae.key}:{type:"TRIGGER.ENTER"})}}[by(z,{dir:r("dir"),orientation:"vertical"})];if($){$(z),z.preventDefault();return}za.isValidEvent(z)&&(f({type:"TRIGGER.TYPEAHEAD",key:z.key}),z.preventDefault())}})},getIndicatorProps(){return n.element({...At.indicator.attrs,dir:r("dir"),"aria-hidden":!0,"data-state":S?"open":"closed","data-disabled":ve(g),"data-invalid":ve(p),"data-readonly":ve(m)})},getItemProps(z){const M=Y(z);return n.element({id:_h(l,M.value),role:"option",...At.item.attrs,dir:r("dir"),"data-value":M.value,"aria-selected":M.selected,"data-state":M.selected?"checked":"unchecked","data-highlighted":ve(M.highlighted),"data-disabled":ve(M.disabled),"aria-disabled":Bk(M.disabled),onPointerMove($){M.disabled||$.pointerType!=="mouse"||M.value!==E&&f({type:"ITEM.POINTER_MOVE",value:M.value})},onClick($){$.defaultPrevented||M.disabled||f({type:"ITEM.CLICK",src:"pointerup",value:M.value})},onPointerLeave($){M.disabled||z.persistFocus||$.pointerType!=="mouse"||!e.event.previous()?.type.includes("POINTER")||f({type:"ITEM.POINTER_LEAVE"})}})},getItemTextProps(z){const M=Y(z);return n.element({...At.itemText.attrs,"data-state":M.selected?"checked":"unchecked","data-disabled":ve(M.disabled),"data-highlighted":ve(M.highlighted)})},getItemIndicatorProps(z){const M=Y(z);return n.element({"aria-hidden":!0,...At.itemIndicator.attrs,"data-state":M.selected?"checked":"unchecked",hidden:!M.selected})},getItemGroupLabelProps(z){const{htmlFor:M}=z;return n.element({...At.itemGroupLabel.attrs,id:f0(l,M),dir:r("dir"),role:"presentation"})},getItemGroupProps(z){const{id:M}=z;return n.element({...At.itemGroup.attrs,"data-disabled":ve(g),id:B_(l,M),"aria-labelledby":f0(l,M),role:"group",dir:r("dir")})},getClearTriggerProps(){return n.button({...At.clearTrigger.attrs,id:r1(l),type:"button","aria-label":"Clear value","data-invalid":ve(p),disabled:g,hidden:!d("hasSelectedItems"),dir:r("dir"),onClick(z){z.defaultPrevented||f({type:"CLEAR.CLICK"})}})},getHiddenSelectProps(){const z=a.get("value"),M=r("multiple")?z:z?.[0];return n.select({name:r("name"),form:r("form"),disabled:g,multiple:r("multiple"),required:r("required"),"aria-hidden":!0,id:zh(l),defaultValue:M,style:bg,tabIndex:-1,onFocus(){Aa(l)?.focus({preventScroll:!0})},"aria-labelledby":dc(l)})},getPositionerProps(){return n.element({...At.positioner.attrs,dir:r("dir"),id:o1(l),style:U.floating})},getContentProps(){return n.element({hidden:!S,dir:r("dir"),id:Nh(l),role:y?"listbox":"dialog",...At.content.attrs,"data-state":S?"open":"closed","data-placement":T,"data-activedescendant":A,"aria-activedescendant":y?A:void 0,"aria-multiselectable":r("multiple")&&y?!0:void 0,"aria-labelledby":dc(l),tabIndex:0,onKeyDown(z){if(!F||!oT(z))return;if(z.key==="Tab"&&!CT(z)){z.preventDefault();return}const M={ArrowUp(){f({type:"CONTENT.ARROW_UP"})},ArrowDown(){f({type:"CONTENT.ARROW_DOWN"})},Home(){f({type:"CONTENT.HOME"})},End(){f({type:"CONTENT.END"})},Enter(){f({type:"ITEM.CLICK",src:"keydown.enter"})},Space(te){R?f({type:"CONTENT.TYPEAHEAD",key:te.key}):M.Enter?.(te)}},$=M[by(z)];if($){$(z),z.preventDefault();return}const ae=ct(z);sg(ae)||za.isValidEvent(z)&&(f({type:"CONTENT.TYPEAHEAD",key:z.key}),z.preventDefault())}})},getListProps(){return n.element({...At.list.attrs,tabIndex:0,role:y?void 0:"listbox","aria-labelledby":Ah(l),"aria-activedescendant":y?void 0:A,"aria-multiselectable":!y&&r("multiple")?!0:void 0})}}}var{and:ol,not:Oa,or:U_}=$n(),RM={props({props:e}){return{loopFocus:!1,closeOnSelect:!e.multiple,composite:!0,defaultValue:[],...e,collection:e.collection??a1.empty(),positioning:{placement:"bottom-start",gutter:8,...e.positioning}}},context({prop:e,bindable:n}){return{value:n(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:wn,onChange(a){const r=e("collection").findMany(a);return e("onValueChange")?.({value:a,items:r})}})),highlightedValue:n(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(a){e("onHighlightChange")?.({highlightedValue:a,highlightedItem:e("collection").find(a),highlightedIndex:e("collection").indexOf(a)})}})),currentPlacement:n(()=>({defaultValue:void 0})),fieldsetDisabled:n(()=>({defaultValue:!1})),highlightedItem:n(()=>({defaultValue:null})),selectedItems:n(()=>{const a=e("value")??e("defaultValue")??[];return{defaultValue:e("collection").findMany(a)}})}},refs(){return{typeahead:{...za.defaultOptions}}},computed:{hasSelectedItems:({context:e})=>e.get("value").length>0,isTypingAhead:({refs:e})=>e.get("typeahead").keysSoFar!=="",isDisabled:({prop:e,context:n})=>!!e("disabled")||!!n.get("fieldsetDisabled"),isInteractive:({prop:e})=>!(e("disabled")||e("readOnly")),valueAsString:({context:e,prop:n})=>n("collection").stringifyItems(e.get("selectedItems"))},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"idle"},entry:["syncSelectElement"],watch({context:e,prop:n,track:a,action:r}){a([()=>e.get("value").toString()],()=>{r(["syncSelectedItems","syncSelectElement","dispatchChangeEvent"])}),a([()=>n("open")],()=>{r(["toggleVisibility"])}),a([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem"])}),a([()=>n("collection").toString()],()=>{r(["syncCollection"])})},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"CLEAR.CLICK":{actions:["clearSelectedItems","focusTriggerEl"]}},effects:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{target:"open",actions:["setInitialFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}]}},focused:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["setInitialFocus","highlightComputedLastItem"]},{guard:U_("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["setInitialFocus","highlightComputedFirstItem"]},{target:"open",actions:["setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:ol(Oa("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:Oa("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:ol(Oa("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:Oa("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:Oa("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:Oa("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:Oa("multiple"),actions:["selectMatchingItem"]}}},open:{tags:["open"],exit:["scrollContentToTop"],effects:["trackDismissableElement","computePlacement","scrollToHighlightedItem"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["focusTriggerEl","clearHighlightedItem"]},{target:"idle",actions:["clearHighlightedItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{guard:"restoreFocus",target:"focused",actions:["invokeOnClose","focusTriggerEl","clearHighlightedItem"]},{target:"idle",actions:["invokeOnClose","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:ol("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","focusTriggerEl","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:ol("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:ol("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{loop:({prop:e})=>!!e("loopFocus"),multiple:({prop:e})=>!!e("multiple"),hasSelectedItems:({computed:e})=>!!e("hasSelectedItems"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,isFirstItemHighlighted:({context:e,prop:n})=>e.get("highlightedValue")===n("collection").firstValue,isLastItemHighlighted:({context:e,prop:n})=>e.get("highlightedValue")===n("collection").lastValue,closeOnSelect:({prop:e,event:n})=>!!(n.closeOnSelect??e("closeOnSelect")),restoreFocus:({event:e})=>g0(e),isOpenControlled:({prop:e})=>e("open")!==void 0,isTriggerClickEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.CLICK",isTriggerEnterEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ENTER",isTriggerArrowUpEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_UP",isTriggerArrowDownEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_DOWN"},effects:{trackFormControlState({context:e,scope:n}){return Al(ih(n),{onFieldsetDisabledChange(a){e.set("fieldsetDisabled",a)},onFormReset(){const a=e.initial("value");e.set("value",a)}})},trackDismissableElement({scope:e,send:n,prop:a}){const r=()=>rl(e);let l=!0;return Gr(r,{defer:!0,exclude:[Aa(e),H_(e)],onFocusOutside:a("onFocusOutside"),onPointerDownOutside:a("onPointerDownOutside"),onInteractOutside(c){a("onInteractOutside")?.(c),l=!(c.detail.focusable||c.detail.contextmenu)},onDismiss(){n({type:"CLOSE",src:"interact-outside",restoreFocus:l})}})},computePlacement({context:e,prop:n,scope:a}){const r=n("positioning");return e.set("currentPlacement",r.placement),Rn(()=>Aa(a),()=>h0(a),{defer:!0,...r,onComplete(d){e.set("currentPlacement",d.placement)}})},scrollToHighlightedItem({context:e,prop:n,scope:a,event:r}){const l=d=>{const f=e.get("highlightedValue");if(f==null||r.current().type.includes("POINTER"))return;const g=F_(a,f),p=rl(a),m=n("scrollToIndexFn");if(m){const y=n("collection").indexOf(f);m?.({index:y,immediate:d});return}Mc(g,{rootEl:p,block:"nearest"})};return Se(()=>l(!0)),ru(()=>rl(a),{defer:!0,attributes:["data-activedescendant"],callback(){l(!1)}})}},actions:{reposition({context:e,prop:n,scope:a,event:r}){const l=()=>h0(a);Rn(Aa(a),l,{...n("positioning"),...r.options,defer:!0,listeners:!1,onComplete(c){e.set("currentPlacement",c.placement)}})},toggleVisibility({send:e,prop:n,event:a}){e({type:n("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:a})},highlightPreviousItem({context:e,prop:n}){const a=e.get("highlightedValue");if(a==null)return;const r=n("collection").getPreviousValue(a,1,n("loopFocus"));r!=null&&e.set("highlightedValue",r)},highlightNextItem({context:e,prop:n}){const a=e.get("highlightedValue");if(a==null)return;const r=n("collection").getNextValue(a,1,n("loopFocus"));r!=null&&e.set("highlightedValue",r)},highlightFirstItem({context:e,prop:n}){const a=n("collection").firstValue;e.set("highlightedValue",a)},highlightLastItem({context:e,prop:n}){const a=n("collection").lastValue;e.set("highlightedValue",a)},setInitialFocus({scope:e}){Se(()=>{hg({root:rl(e)})?.focus({preventScroll:!0})})},focusTriggerEl({event:e,scope:n}){g0(e)&&Se(()=>{Aa(n)?.focus({preventScroll:!0})})},selectHighlightedItem({context:e,prop:n,event:a}){let r=a.value??e.get("highlightedValue");if(r==null||!n("collection").has(r))return;n("onSelect")?.({value:r}),r=n("deselectable")&&!n("multiple")&&e.get("value").includes(r)?null:r,e.set("value",c=>r==null?[]:n("multiple")?Br(c,r):[r])},highlightComputedFirstItem({context:e,prop:n,computed:a}){const r=n("collection"),l=a("hasSelectedItems")?r.sort(e.get("value"))[0]:r.firstValue;e.set("highlightedValue",l)},highlightComputedLastItem({context:e,prop:n,computed:a}){const r=n("collection"),l=a("hasSelectedItems")?r.sort(e.get("value"))[0]:r.lastValue;e.set("highlightedValue",l)},highlightFirstSelectedItem({context:e,prop:n,computed:a}){if(!a("hasSelectedItems"))return;const r=n("collection").sort(e.get("value"))[0];e.set("highlightedValue",r)},highlightItem({context:e,event:n}){e.set("highlightedValue",n.value)},highlightMatchingItem({context:e,prop:n,event:a,refs:r}){const l=n("collection").search(a.key,{state:r.get("typeahead"),currentValue:e.get("highlightedValue")});l!=null&&e.set("highlightedValue",l)},setHighlightedItem({context:e,event:n}){e.set("highlightedValue",n.value)},clearHighlightedItem({context:e}){e.set("highlightedValue",null)},selectItem({context:e,prop:n,event:a}){n("onSelect")?.({value:a.value});const l=n("deselectable")&&!n("multiple")&&e.get("value").includes(a.value)?null:a.value;e.set("value",c=>l==null?[]:n("multiple")?Br(c,l):[l])},clearItem({context:e,event:n}){e.set("value",a=>a.filter(r=>r!==n.value))},setSelectedItems({context:e,event:n}){e.set("value",n.value)},clearSelectedItems({context:e}){e.set("value",[])},selectPreviousItem({context:e,prop:n}){const[a]=e.get("value"),r=n("collection").getPreviousValue(a);r&&e.set("value",[r])},selectNextItem({context:e,prop:n}){const[a]=e.get("value"),r=n("collection").getNextValue(a);r&&e.set("value",[r])},selectFirstItem({context:e,prop:n}){const a=n("collection").firstValue;a&&e.set("value",[a])},selectLastItem({context:e,prop:n}){const a=n("collection").lastValue;a&&e.set("value",[a])},selectMatchingItem({context:e,prop:n,event:a,refs:r}){const l=n("collection").search(a.key,{state:r.get("typeahead"),currentValue:e.get("value")[0]});l!=null&&e.set("value",[l])},scrollContentToTop({prop:e,scope:n}){e("scrollToIndexFn")?e("scrollToIndexFn")?.({index:0,immediate:!0}):rl(n)?.scrollTo(0,0)},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},syncSelectElement({context:e,prop:n,scope:a}){const r=ih(a);if(r){if(e.get("value").length===0&&!n("multiple")){r.selectedIndex=-1;return}for(const l of r.options)l.selected=e.get("value").includes(l.value)}},syncCollection({context:e,prop:n}){const a=n("collection"),r=a.find(e.get("highlightedValue"));r&&e.set("highlightedItem",r);const l=a.findMany(e.get("value"));e.set("selectedItems",l)},syncSelectedItems({context:e,prop:n}){const a=n("collection"),r=e.get("selectedItems"),c=e.get("value").map(d=>r.find(g=>a.getItemValue(g)===d)||a.find(d));e.set("selectedItems",c)},syncHighlightedItem({context:e,prop:n}){const a=n("collection"),r=e.get("highlightedValue"),l=r?a.find(r):null;e.set("highlightedItem",l)},dispatchChangeEvent({scope:e}){queueMicrotask(()=>{const n=ih(e);if(!n)return;const a=e.getWin(),r=new a.Event("change",{bubbles:!0,composed:!0});n.dispatchEvent(r)})}}}};function g0(e){const n=e.restoreFocus??e.previousEvent?.restoreFocus;return n==null||!!n}me()(["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"]);me()(["item","persistFocus"]);me()(["id"]);me()(["htmlFor"]);var l1=fe("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");l1.build();me()(["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"]);me()(["index","name"]);var s1=fe("switch").parts("root","label","control","thumb"),fc=s1.build(),c1=e=>e.ids?.root??`switch:${e.id}`,p0=e=>e.ids?.label??`switch:${e.id}:label`,j_=e=>e.ids?.thumb??`switch:${e.id}:thumb`,$_=e=>e.ids?.control??`switch:${e.id}:control`,Ih=e=>e.ids?.hiddenInput??`switch:${e.id}:input`,G_=e=>e.getById(c1(e)),Ir=e=>e.getById(Ih(e));function NM(e,n){const{context:a,send:r,prop:l,scope:c}=e,d=l("disabled"),f=l("readOnly"),g=!!a.get("checked"),p=!d&&a.get("focused"),m=!d&&a.get("focusVisible"),y={"data-active":ve(a.get("active")),"data-focus":ve(p),"data-focus-visible":ve(m),"data-readonly":ve(f),"data-hover":ve(a.get("hovered")),"data-disabled":ve(d),"data-state":g?"checked":"unchecked","data-invalid":ve(l("invalid"))};return{checked:g,disabled:d,focused:p,setChecked(b){r({type:"CHECKED.SET",checked:b,isTrusted:!1})},toggleChecked(){r({type:"CHECKED.TOGGLE",checked:g,isTrusted:!1})},getRootProps(){return n.label({...fc.root.attrs,...y,dir:l("dir"),id:c1(c),htmlFor:Ih(c),onPointerMove(){d||r({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){d||r({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(b){if(d)return;ct(b)===Ir(c)&&b.stopPropagation(),ug()&&Ir(c)?.focus()}})},getLabelProps(){return n.element({...fc.label.attrs,...y,dir:l("dir"),id:p0(c)})},getThumbProps(){return n.element({...fc.thumb.attrs,...y,dir:l("dir"),id:j_(c),"aria-hidden":!0})},getControlProps(){return n.element({...fc.control.attrs,...y,dir:l("dir"),id:$_(c),"aria-hidden":!0})},getHiddenInputProps(){return n.input({id:Ih(c),type:"checkbox",required:l("required"),defaultChecked:g,disabled:d,"aria-labelledby":p0(c),"aria-invalid":l("invalid"),name:l("name"),form:l("form"),value:l("value"),style:bg,onFocus(){const b=Cl();r({type:"CONTEXT.SET",context:{focused:!0,focusVisible:b}})},onBlur(){r({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(b){if(f){b.preventDefault();return}const S=b.currentTarget.checked;r({type:"CHECKED.SET",checked:S,isTrusted:!0})}})}}}var{not:m0}=$n(),AM={props({props:e}){return{defaultChecked:!1,label:"switch",value:"on",...e}},initialState(){return"ready"},context({prop:e,bindable:n}){return{checked:n(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(a){e("onCheckedChange")?.({checked:a})}})),fieldsetDisabled:n(()=>({defaultValue:!1})),focusVisible:n(()=>({defaultValue:!1})),active:n(()=>({defaultValue:!1})),focused:n(()=>({defaultValue:!1})),hovered:n(()=>({defaultValue:!1}))}},computed:{isDisabled:({context:e,prop:n})=>n("disabled")||e.get("fieldsetDisabled")},watch({track:e,prop:n,context:a,action:r}){e([()=>n("disabled")],()=>{r(["removeFocusIfNeeded"])}),e([()=>a.get("checked")],()=>{r(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:m0("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:m0("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({computed:e,scope:n,context:a}){if(!e("isDisabled"))return Ux({pointerNode:G_(n),keyboardNode:Ir(n),isValidKey:r=>r.key===" ",onPress:()=>a.set("active",!1),onPressStart:()=>a.set("active",!0),onPressEnd:()=>a.set("active",!1)})},trackFocusVisible({computed:e,scope:n}){if(!e("isDisabled"))return _g({root:n.getRootNode()})},trackFormControlState({context:e,send:n,scope:a}){return Al(Ir(a),{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){const r=e.initial("checked");n({type:"CHECKED.SET",checked:!!r,src:"form-reset"})}})}},actions:{setContext({context:e,event:n}){for(const a in n.context)e.set(a,n.context[a])},syncInputElement({context:e,scope:n}){const a=Ir(n);a&&dg(a,!!e.get("checked"))},removeFocusIfNeeded({context:e,prop:n}){n("disabled")&&e.set("focused",!1)},setChecked({context:e,event:n}){e.set("checked",n.checked)},toggleChecked({context:e}){e.set("checked",!e.get("checked"))},dispatchChangeEvent({context:e,scope:n}){const a=Ir(n);Dx(a,{checked:e.get("checked")})}}}};me()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var u1=fe("tooltip").parts("trigger","arrow","arrowTip","positioner","content"),ll=u1.build(),d1=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,W_=e=>e.ids?.content??`tooltip:${e.id}:content`,q_=e=>e.ids?.arrow??`tooltip:${e.id}:arrow`,f1=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,ah=e=>e.getById(d1(e)),v0=e=>e.getById(f1(e)),fi=BS({id:null});function _M(e,n){const{state:a,context:r,send:l,scope:c,prop:d,event:f}=e,g=d("id"),p=!!d("aria-label"),m=a.matches("open","closing"),y=d1(c),b=W_(c),S=d("disabled"),C=rS({...d("positioning"),placement:r.get("currentPlacement")});return{open:m,setOpen(E){a.matches("open","closing")!==E&&l({type:E?"open":"close"})},reposition(E={}){l({type:"positioning.set",options:E})},getTriggerProps(){return n.button({...ll.trigger.attrs,id:y,dir:d("dir"),"data-expanded":ve(m),"data-state":m?"open":"closed","aria-describedby":m?b:void 0,onClick(E){E.defaultPrevented||S||d("closeOnClick")&&l({type:"close",src:"trigger.click"})},onFocus(E){queueMicrotask(()=>{E.defaultPrevented||S||f.src!=="trigger.pointerdown"&&Cl()&&l({type:"open",src:"trigger.focus"})})},onBlur(E){E.defaultPrevented||S||g===fi.id&&l({type:"close",src:"trigger.blur"})},onPointerDown(E){E.defaultPrevented||S||cT(E)&&d("closeOnPointerDown")&&g===fi.id&&l({type:"close",src:"trigger.pointerdown"})},onPointerMove(E){E.defaultPrevented||S||E.pointerType!=="touch"&&l({type:"pointer.move"})},onPointerLeave(){S||l({type:"pointer.leave"})},onPointerCancel(){S||l({type:"pointer.leave"})}})},getArrowProps(){return n.element({id:q_(c),...ll.arrow.attrs,dir:d("dir"),style:C.arrow})},getArrowTipProps(){return n.element({...ll.arrowTip.attrs,dir:d("dir"),style:C.arrowTip})},getPositionerProps(){return n.element({id:f1(c),...ll.positioner.attrs,dir:d("dir"),style:C.floating})},getContentProps(){return n.element({...ll.content.attrs,dir:d("dir"),hidden:!m,"data-state":m?"open":"closed",role:p?void 0:"tooltip",id:p?void 0:b,"data-placement":r.get("currentPlacement"),onPointerEnter(){l({type:"content.pointer.move"})},onPointerLeave(){l({type:"content.pointer.leave"})},style:{pointerEvents:d("interactive")?"auto":"none"}})}}}var{and:Y_,not:b0}=$n(),zM={initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"closed",props({props:e}){return{id:"x",openDelay:1e3,closeDelay:500,closeOnPointerDown:!0,closeOnEscape:!0,interactive:!1,closeOnScroll:!0,closeOnClick:!0,disabled:!1,...e,positioning:{placement:"bottom",...e.positioning}}},effects:["trackFocusVisible","trackStore"],context:({bindable:e})=>({currentPlacement:e(()=>({defaultValue:void 0})),hasPointerMoveOpened:e(()=>({defaultValue:!1}))}),watch({track:e,action:n,prop:a}){e([()=>a("disabled")],()=>{n(["closeIfDisabled"])}),e([()=>a("open")],()=>{n(["toggleVisibility"])})},states:{closed:{entry:["clearGlobalId"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"pointer.leave":{actions:["clearPointerMoveOpened"]},"pointer.move":[{guard:Y_("noVisibleTooltip",b0("hasPointerMoveOpened")),target:"opening"},{guard:b0("hasPointerMoveOpened"),target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}]}},opening:{effects:["trackScroll","trackPointerlockChange","waitForOpenDelay"],on:{"after.openDelay":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"controlled.open":{target:"open"},"controlled.close":{target:"closed"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"pointer.leave":[{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose","toggleVisibility"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],close:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{effects:["trackEscapeKey","trackScroll","trackPointerlockChange","trackPositioning"],entry:["setGlobalId"],on:{"controlled.close":{target:"closed"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.leave":[{guard:"isVisible",target:"closing",actions:["clearPointerMoveOpened"]},{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],"content.pointer.leave":{guard:"isInteractive",target:"closing"},"positioning.set":{actions:["reposition"]}}},closing:{effects:["trackPositioning","waitForCloseDelay"],on:{"after.closeDelay":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"controlled.close":{target:"closed"},"controlled.open":{target:"open"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.move":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen","toggleVisibility"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"content.pointer.move":{guard:"isInteractive",target:"open"},"positioning.set":{actions:["reposition"]}}}},implementations:{guards:{noVisibleTooltip:()=>fi.id===null,isVisible:({prop:e})=>e("id")===fi.id,isInteractive:({prop:e})=>!!e("interactive"),hasPointerMoveOpened:({context:e})=>e.get("hasPointerMoveOpened"),isOpenControlled:({prop:e})=>e("open")!==void 0},actions:{setGlobalId:({prop:e})=>{fi.id=e("id")},clearGlobalId:({prop:e})=>{e("id")===fi.id&&(fi.id=null)},invokeOnOpen:({prop:e})=>{e("onOpenChange")?.({open:!0})},invokeOnClose:({prop:e})=>{e("onOpenChange")?.({open:!1})},closeIfDisabled:({prop:e,send:n})=>{e("disabled")&&n({type:"close",src:"disabled.change"})},reposition:({context:e,event:n,prop:a,scope:r})=>{if(n.type!=="positioning.set")return;const l=()=>v0(r);return Rn(ah(r),l,{...a("positioning"),...n.options,defer:!0,listeners:!1,onComplete(c){e.set("currentPlacement",c.placement)}})},toggleVisibility:({prop:e,event:n,send:a})=>{queueMicrotask(()=>{a({type:e("open")?"controlled.open":"controlled.close",previousEvent:n})})},setPointerMoveOpened:({context:e})=>{e.set("hasPointerMoveOpened",!0)},clearPointerMoveOpened:({context:e})=>{e.set("hasPointerMoveOpened",!1)}},effects:{trackFocusVisible:({scope:e})=>_g({root:e.getRootNode?.()}),trackPositioning:({context:e,prop:n,scope:a})=>{e.get("currentPlacement")||e.set("currentPlacement",n("positioning").placement);const r=()=>v0(a);return Rn(ah(a),r,{...n("positioning"),defer:!0,onComplete(l){e.set("currentPlacement",l.placement)}})},trackPointerlockChange:({send:e,scope:n})=>{const a=n.getDoc();return De(a,"pointerlockchange",()=>e({type:"close",src:"pointerlock:change"}),!1)},trackScroll:({send:e,prop:n,scope:a})=>{if(!n("closeOnScroll"))return;const r=ah(a);if(!r)return;const c=Bx(r).map(d=>De(d,"scroll",()=>{e({type:"close",src:"scroll"})},{passive:!0,capture:!0}));return()=>{c.forEach(d=>d?.())}},trackStore:({prop:e,send:n})=>{let a;return queueMicrotask(()=>{a=jA(fi,()=>{fi.id!==e("id")&&n({type:"close",src:"id.change"})})}),()=>a?.()},trackEscapeKey:({send:e,prop:n})=>n("closeOnEscape")?De(document,"keydown",r=>{lT(r)||r.key==="Escape"&&(r.stopPropagation(),e({type:"close",src:"keydown.escape"}))},!0):void 0,waitForOpenDelay:({send:e,prop:n})=>{const a=setTimeout(()=>{e({type:"after.openDelay"})},n("openDelay"));return()=>clearTimeout(a)},waitForCloseDelay:({send:e,prop:n})=>{const a=setTimeout(()=>{e({type:"after.closeDelay"})},n("closeDelay"));return()=>clearTimeout(a)}}}};me()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);function h1(e,n=[]){const a=Object.assign({},e);for(const r of n)r in a&&delete a[r];return a}const X_=(e,n)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[a,r]=e.split("/");if(!a||!r||a==="currentBg")return{invalid:!0,value:a};const l=n(`colors.${a}`),c=n.raw(`opacity.${r}`)?.value;if(!c&&isNaN(Number(r)))return{invalid:!0,value:a};const d=c?Number(c)*100+"%":`${r}%`,f=l??a;return{invalid:!1,color:f,value:`color-mix(in srgb, ${f} ${d}, transparent)`}},je=e=>(n,a)=>{const r=a.utils.colorMix(n);if(r.invalid)return{[e]:n};const l="--mix-"+e;return{[l]:r.value,[e]:`var(${l}, ${r.color})`}};function Vh(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(a=>Vh(a));const n=Object.create(Object.getPrototypeOf(e));for(const a of Object.keys(e))n[a]=Vh(e[a]);return n}function Dh(e,n){if(n==null)return e;for(const a of Object.keys(n))if(!(n[a]===void 0||a==="__proto__"))if(!Bt(e[a])&&Bt(n[a]))Object.assign(e,{[a]:n[a]});else if(e[a]&&Bt(n[a]))Dh(e[a],n[a]);else if(Array.isArray(n[a])&&Array.isArray(e[a])){let r=0;for(;r<n[a].length;r++)Bt(e[a][r])&&Bt(n[a][r])?Dh(e[a][r],n[a][r]):e[a][r]=n[a][r]}else Object.assign(e,{[a]:n[a]});return e}function Wr(e,...n){for(const a of n)Dh(e,a);return e}const Ph=e=>e!=null;function Un(e,n,a={}){const{stop:r,getKey:l}=a;function c(d,f=[]){if(Bt(d)||Array.isArray(d)){const g={};for(const[p,m]of Object.entries(d)){const y=l?.(p,m)??p,b=[...f,y];if(r?.(d,b))return n(d,f);const S=c(m,b);Ph(S)&&(g[y]=S)}return g}return n(d,f)}return c(e)}function K_(e,n){return Array.isArray(e)?e.map(a=>Ph(a)?n(a):a):Bt(e)?Un(e,a=>n(a)):Ph(e)?n(e):e}const hc=["value","type","description"],Q_=e=>e&&typeof e=="object"&&!Array.isArray(e),g1=(...e)=>{const n=Wr({},...e.map(Vh));return n.theme?.tokens&&Un(n.theme.tokens,a=>{const c=Object.keys(a).filter(f=>!hc.includes(f)).length>0,d=hc.some(f=>a[f]!=null);return c&&d&&(a.DEFAULT||(a.DEFAULT={}),hc.forEach(f=>{var g;a[f]!=null&&((g=a.DEFAULT)[f]||(g[f]=a[f]),delete a[f])})),a},{stop(a){return Q_(a)&&Object.keys(a).some(r=>hc.includes(r)||r!==r.toLowerCase()&&r!==r.toUpperCase())}}),n},Z_=e=>e,dt=e=>e,he=e=>e,J_=e=>e,ez=e=>e,qr=e=>e,tz=e=>e,nz=e=>e,iz=e=>e;function p1(){const e=n=>n;return new Proxy(e,{get(){return e}})}const ot=p1(),Mg=p1(),m1=e=>e,az=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function rz(e){return`${e}`.replace(az,n=>`\\${n}`)}const oz=/[A-Z]/g;function lz(e){return e.replace(oz,n=>`-${n.toLowerCase()}`)}function v1(e,n={}){const{fallback:a="",prefix:r=""}=n,l=lz(["-",r,rz(e)].filter(Boolean).join("-"));return{var:l,ref:`var(${l}${a?`, ${a}`:""})`}}const sz=e=>/^var\(--.+\)$/.test(e),vt=(e,n)=>n!=null?`${e}(${n})`:n,wa=e=>{if(sz(e)||e==null)return e;const n=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||n?`${e}deg`:e},y0=e=>({values:["outside","inside","mixed","none"],transform(n,{token:a}){const r=a("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]??{}}}),cz=je("borderColor"),ci=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),uz=Z_({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"}),Vr=v1("bg-currentcolor"),x0=e=>e===Vr.ref||e==="currentBg",Ue=e=>({...e("colors"),currentBg:Vr}),dz=m1({conditions:uz,utilities:{background:{values:Ue,shorthand:["bg"],transform(e,n){if(x0(n.raw))return{background:Vr.ref};const a=je("background")(e,n);return{...a,[Vr.var]:a?.background}}},backgroundColor:{values:Ue,shorthand:["bgColor"],transform(e,n){if(x0(n.raw))return{backgroundColor:Vr.ref};const a=je("backgroundColor")(e,n);return{...a,[Vr.var]:a?.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:Ue,transform:je("--gradient-from")},gradientTo:{values:Ue,transform:je("--gradient-to")},gradientVia:{values:Ue,transform(e,n){return{...je("--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:Ue,transform:je("borderColor")},borderTopColor:{values:Ue,transform:je("borderTopColor")},borderBlockStartColor:{values:Ue,transform:je("borderBlockStartColor")},borderBottomColor:{values:Ue,transform:je("borderBottomColor")},borderBlockEndColor:{values:Ue,transform:je("borderBlockEndColor")},borderLeftColor:{values:Ue,transform:je("borderLeftColor")},borderInlineStartColor:{values:Ue,shorthand:["borderStartColor"],transform:je("borderInlineStartColor")},borderRightColor:{values:Ue,transform:je("borderRightColor")},borderInlineEndColor:{values:Ue,shorthand:["borderEndColor"],transform:je("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:Ue,transform:je("color")},fill:{values:Ue,transform:je("fill")},stroke:{values:Ue,transform:je("stroke")},accentColor:{values:Ue,transform:je("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:Ue,transform(e,n){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":cz(e,n)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Ue,transform:je("--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":vt("blur",e)})},brightness:{transform:e=>({"--brightness":vt("brightness",e)})},contrast:{transform:e=>({"--contrast":vt("contrast",e)})},grayscale:{transform:e=>({"--grayscale":vt("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":vt("hue-rotate",wa(e))})},invert:{transform:e=>({"--invert":vt("invert",e)})},saturate:{transform:e=>({"--saturate":vt("saturate",e)})},sepia:{transform:e=>({"--sepia":vt("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":vt("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":vt("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":vt("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":vt("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":vt("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":vt("hue-rotate",wa(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":vt("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":vt("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":vt("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":vt("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:Ue,transform:je("outlineColor")},focusRing:y0("&:is(:focus, [data-focus])"),focusVisibleRing:y0("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Ue,transform:je("--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:a})=>({[a.raw(`breakpoints.${n}`)?`@breakpoint ${n}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:n,token:a}){return{[a.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:Ue,transform:je("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:Ue,transform:je("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Ue,transform:je("--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:Ue,transform:je("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":wa(e)})},skewY:{transform:e=>({"--skew-y":wa(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:wa(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":wa(e)}}},rotateY:{transform(e){return{"--rotate-y":wa(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 ci("all");case"position":return ci("left, right, top, bottom, inset-inline, inset-block");case"colors":return ci("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return ci("opacity");case"shadow":return ci("box-shadow");case"transform":return ci("transform");case"size":return ci("width, height");case"backgrounds":return ci("background, background-color, background-image, background-position");case"common":return ci("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"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return fz[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:Ue,transform:je("caretColor")},cursor:{values:"cursor"}}}),fz={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 hz="",gz=hz.split(","),pz="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",mz=pz.split(",").concat(gz),vz=new Map(mz.map(e=>[e,!0]));function bz(e){const n=Object.create(null);return a=>(n[a]===void 0&&(n[a]=e(a)),n[a])}var yz=/&|@/,xz=bz(e=>vz.has(e)||e.startsWith("--")||yz.test(e));function b1(e,n){const a={};return Un(e,(r,l)=>{r&&(a[l.join(".")]=r.value)},{stop:n}),a}var rh,S0;function Sz(){if(S0)return rh;S0=1,rh=c,c.default=c,c.stable=p,c.stableStringify=p;var e="[...]",n="[Circular]",a=[],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()),f(b,"",0,[],void 0,0,E);var w;try{r.length===0?w=JSON.stringify(b,S,C):w=JSON.stringify(b,y(S),C)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;a.length!==0;){var N=a.pop();N.length===4?Object.defineProperty(N[0],N[1],N[3]):N[0][N[1]]=N[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}),a.push([E,C,S,w])):r.push([S,C,b]):(E[C]=b,a.push([E,C,S]))}function f(b,S,C,E,w,N,T){N+=1;var R;if(typeof b=="object"&&b!==null){for(R=0;R<E.length;R++)if(E[R]===b){d(n,b,S,w);return}if(typeof T.depthLimit<"u"&&N>T.depthLimit){d(e,b,S,w);return}if(typeof T.edgesLimit<"u"&&C+1>T.edgesLimit){d(e,b,S,w);return}if(E.push(b),Array.isArray(b))for(R=0;R<b.length;R++)f(b[R],R,R,E,b,N,T);else{var F=Object.keys(b);for(R=0;R<F.length;R++){var A=F[R];f(b[A],A,R,E,b,N,T)}}E.pop()}}function g(b,S){return b<S?-1:b>S?1:0}function p(b,S,C,E){typeof E>"u"&&(E=l());var w=m(b,"",0,[],void 0,0,E)||b,N;try{r.length===0?N=JSON.stringify(w,S,C):N=JSON.stringify(w,y(S),C)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;a.length!==0;){var T=a.pop();T.length===4?Object.defineProperty(T[0],T[1],T[3]):T[0][T[1]]=T[2]}}return N}function m(b,S,C,E,w,N,T){N+=1;var R;if(typeof b=="object"&&b!==null){for(R=0;R<E.length;R++)if(E[R]===b){d(n,b,S,w);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof T.depthLimit<"u"&&N>T.depthLimit){d(e,b,S,w);return}if(typeof T.edgesLimit<"u"&&C+1>T.edgesLimit){d(e,b,S,w);return}if(E.push(b),Array.isArray(b))for(R=0;R<b.length;R++)m(b[R],R,R,E,b,N,T);else{var F={},A=Object.keys(b).sort(g);for(R=0;R<A.length;R++){var Y=A[R];m(b[Y],Y,R,E,b,N,T),F[Y]=b[Y]}if(typeof w<"u")a.push([w,S,b]),w[S]=F;else return F}E.pop()}}function y(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 rh}var Ez=Sz();const Cz=Wh(Ez),On=e=>{const n=Object.create(null);function a(...r){const l=r.map(c=>Cz(c)).join("|");return n[l]===void 0&&(n[l]=e(...r)),n[l]}return a},y1=16,Wc="px",Lg="em",ml="rem";function x1(e=""){const n=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),a=new RegExp(`${Wc}|${Lg}|${ml}`);return e.match(new RegExp(`${n.source}(${a.source})`))?.[1]}function S1(e=""){if(typeof e=="number")return`${e}px`;const n=x1(e);if(!n||n===Wc)return e;if(n===Lg||n===ml)return`${parseFloat(e)*y1}${Wc}`}function E1(e=""){const n=x1(e);if(!n||n===ml)return e;if(n===Lg)return`${parseFloat(e)}${ml}`;if(n===Wc)return`${parseFloat(e)/y1}${ml}`}const Oz=e=>e.charAt(0).toUpperCase()+e.slice(1);function wz(e){const n=kz(e),a=Object.fromEntries(n);function r(b){return a[b]}function l(b){return kr(r(b))}function c(){const b=Object.keys(a),S=Tz(b),C=b.flatMap(E=>{const w=r(E),N=[`${E}Down`,kr({max:Nc(w.min)})],T=[E,kr({min:w.min})],R=[`${E}Only`,l(E)];return[T,R,N]}).filter(([,E])=>E!=="").concat(S.map(([E,w])=>{const N=r(E),T=r(w);return[`${E}To${Oz(w)}`,kr({min:N.min,max:Nc(T.min)})]}));return Object.fromEntries(C)}function d(){const b=c();return Object.fromEntries(Object.entries(b))}const f=d(),g=b=>f[b];function p(){return["base",...Object.keys(a)]}function m(b){return kr({min:r(b).min})}function y(b){return kr({max:Nc(r(b).min)})}return{values:Object.values(a),only:l,keys:p,conditions:f,getCondition:g,up:m,down:y}}function Nc(e){const n=parseFloat(S1(e)??"")-.04;return E1(`${n}px`)}function kz(e){return Object.entries(e).sort(([,a],[,r])=>parseInt(a,10)<parseInt(r,10)?-1:1).map(([a,r],l,c)=>{let d=null;return l<=c.length-1&&(d=c[l+1]?.[1]),d!=null&&(d=Nc(d)),[a,{name:a,min:E1(r),max:d}]})}function Tz(e){const n=[];return e.forEach((a,r)=>{let l=r;l++;let c=e[l];for(;c;)n.push([a,c]),l++,c=e[l]}),n}function kr({min:e,max:n}){return e==null&&n==null?"":["@media screen",e&&`(min-width: ${e})`,n&&`(max-width: ${n})`].filter(Boolean).join(" and ")}const Rz=(e,n)=>Object.fromEntries(Object.entries(e).map(([a,r])=>n(a,r))),Nz=e=>{const{breakpoints:n,conditions:a={}}=e,r=Rz(a,(m,y)=>[`_${m}`,y]),l=Object.assign({},r,n.conditions);function c(){return Object.keys(l)}function d(m){return c().includes(m)||/^@|&|&$/.test(m)||m.startsWith("_")}function f(m){return m.filter(y=>y!=="base").sort((y,b)=>{const S=d(y),C=d(b);return S&&!C?1:!S&&C?-1:0})}function g(m){return m.startsWith("@breakpoint")?n.getCondition(m.replace("@breakpoint ","")):m}function p(m){return Reflect.get(l,m)||m}return{keys:c,sort:f,has:d,resolve:p,breakpoints:n.keys(),expandAtRule:g}},C1=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")}),Az=C1("width"),_z=C1("height"),O1=e=>({isMin:T0(e.minMax,e.maxMin,e.min),isMax:T0(e.maxMin,e.minMax,e.max)}),{isMin:Mh,isMax:E0}=O1(Az),{isMin:Lh,isMax:C0}=O1(_z),O0=/print/i,w0=/^print$/i,zz=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,Iz=/(\d)/,hl=Number.MAX_VALUE,Vz={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function k0(e){const n=zz.exec(e)||(Mh(e)||Lh(e)?Iz.exec(e):null);if(!n)return hl;if(n[0]==="0")return 0;const a=parseFloat(n[1]),r=n[2];return a*(Vz[r]||1)}function T0(e,n,a){return r=>e.test(r)||!n.test(r)&&a.test(r)}function Dz(e,n){const a=O0.test(e),r=w0.test(e),l=O0.test(n),c=w0.test(n);return a&&l?!r&&c?1:r&&!c?-1:e.localeCompare(n):a?1:l?-1:null}const Pz=On((e,n)=>{const a=Dz(e,n);if(a!==null)return a;const r=Mh(e)||Lh(e),l=E0(e)||C0(e),c=Mh(n)||Lh(n),d=E0(n)||C0(n);if(r&&d)return-1;if(l&&c)return 1;const f=k0(e),g=k0(n);return f===hl&&g===hl?e.localeCompare(n):f===hl?1:g===hl?-1:f!==g?f>g?l?-1:1:l?1:-1:e.localeCompare(n)});function R0(e){return e.sort(([n],[a])=>Pz(n,a))}function w1(e){const n=[],a=[],r={};for(const[d,f]of Object.entries(e))d.startsWith("@media")?n.push([d,f]):d.startsWith("@container")?a.push([d,f]):Bt(f)?r[d]=w1(f):r[d]=f;const l=R0(n),c=R0(a);return{...r,...Object.fromEntries(l),...Object.fromEntries(c)}}const k1=/\s*!(important)?/i,Mz=e=>Hn(e)?k1.test(e):!1,Lz=e=>Hn(e)?e.replace(k1,"").trim():e;function T1(e){const{transform:n,conditions:a,normalize:r}=e,l=Fz(e);return On(function(...d){const f=l(...d),g=r(f),p=Object.create(null);return Un(g,(m,y)=>{const b=Mz(m);if(m==null)return;const[S,...C]=a.sort(y).map(a.resolve);b&&(m=Lz(m));let E=n(S,m)??Object.create(null);E=Un(E,w=>Hn(w)&&b?`${w} !important`:w,{getKey:w=>a.expandAtRule(w)}),Bz(p,C.flat(),E)}),w1(p)})}function Bz(e,n,a){let r=e;for(const l of n)l&&(r[l]||(r[l]=Object.create(null)),r=r[l]);Wr(r,a)}function Hz(...e){return e.filter(n=>Bt(n)&&Object.keys(Rl(n)).length>0)}function Fz(e){function n(a){const r=Hz(...a);return r.length===1?r:r.map(l=>e.normalize(l))}return On(function(...r){return Wr({},...n(r))})}const R1=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function Uz(e){const{css:n,conditions:a,normalize:r,layers:l}=e;function c(f={}){const{base:g,variants:p,defaultVariants:m,compoundVariants:y}=R1(f),b=T1({conditions:a,normalize:r,transform(T,R){return p[T]?.[R]}}),S=(T={})=>{const R=r({...m,...Rl(T)});let F={...g};Wr(F,b(R));const A=d(y,R);return l.wrap("recipes",n(F,A))},C=Object.keys(p),E=T=>{const R=h1(T,["recipe"]),[F,A]=Pr(R,C);return C.includes("colorPalette")||(F.colorPalette=T.colorPalette||m.colorPalette),C.includes("orientation")&&(A.orientation=T.orientation),[F,A]},w=Object.fromEntries(Object.entries(p).map(([T,R])=>[T,Object.keys(R)]));return Object.assign(T=>n(S(T)),{className:f.className,__cva__:!0,variantMap:w,variantKeys:C,raw:S,config:f,splitVariantProps:E,merge(T){return c(jz(e)(this,T))}})}function d(f,g){let p={};return f.forEach(m=>{Object.entries(m).every(([b,S])=>b==="css"?!0:(Array.isArray(S)?S:[S]).some(E=>g[b]===E))&&(p=n(p,m.css))}),p}return c}function jz(e){const{css:n}=e;return function(r,l){const c=R1(l.config),d=vx(r.variantKeys,Object.keys(l.variants)),f=n(r.base,c.base),g=Object.fromEntries(d.map(b=>[b,n(r.config.variants[b],c.variants[b])])),p=Wr(r.config.defaultVariants,c.defaultVariants),m=[...r.compoundVariants,...c.compoundVariants];return{className:Ki(r.className,l.className),base:f,variants:g,defaultVariants:p,compoundVariants:m}}}const $z={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},N0={reset:0,base:1,tokens:2,recipes:3};function Gz(e){const n=e.layers??$z,r=Object.values(n).sort((l,c)=>N0[l]-N0[c]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(l,c){return e.disableLayers?c:{[`@layer ${n[l]}`]:c}}}}function Wz(e){const{utility:n,normalize:a}=e,{hasShorthand:r,resolveShorthand:l}=n;return function(c){return Un(c,a,{stop:d=>Array.isArray(d),getKey:r?l:void 0})}}function qz(e){const{preflight:n}=e;if(!n)return{};const{scope:a="",level:r="parent"}=Bt(n)?n:{};let l="";a&&r==="parent"?l=`${a} `:a&&r==="element"&&(l=`&${a}`);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={[a||"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 f=Object.entries(c).reduce((g,[p,m])=>(g[p]={[l]:m},g),{});Object.assign(d,f)}else l?d[l]=c:Object.assign(d,c);return d}function Yz(e){const{conditions:n,isValidProperty:a}=e;return function(l){return Un(l,c=>c,{getKey:(c,d)=>Bt(d)&&!n.has(c)&&!a(c)?Xz(c).map(f=>"&"+f).join(", "):c})}}function Xz(e){const n=[];let a=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==="("?a++:d===")"&&a--,d===","&&a===0?(n.push(r.trim()),r=""):r+=d}return r&&n.push(r.trim()),n}const Kz=(e={})=>{const n=l=>({base:e.base?.[l]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?Qz(e.compoundVariants,l):[]}),r=(e.slots??[]).map(l=>[l,n(l)]);for(const[l,c]of Object.entries(e.variants??{}))for(const[d,f]of Object.entries(c))r.forEach(([g,p])=>{var m;(m=p.variants)[l]??(m[l]={}),p.variants[l][d]=f[g]??{}});return Object.fromEntries(r)},Qz=(e,n)=>e.filter(a=>a.css[n]).map(a=>({...a,css:a.css[n]}));function Zz(e){const{cva:n}=e;return function(r={}){const l=Object.entries(Kz(r)).map(([y,b])=>[y,n(b)]);function c(y){const b=l.map(([S,C])=>[S,C(y)]);return Object.fromEntries(b)}const d=r.variants??{},f=Object.keys(d);function g(y){const b=h1(y,["recipe"]),[S,C]=Pr(b,f);return f.includes("colorPalette")||(S.colorPalette=y.colorPalette||r.defaultVariants?.colorPalette),f.includes("orientation")&&(C.orientation=y.orientation),[S,C]}const p=Object.fromEntries(Object.entries(d).map(([y,b])=>[y,Object.keys(b)]));let m={};return r.className&&(m=Object.fromEntries(r.slots.map(y=>[y,`${r.className}__${y}`]))),Object.assign(c,{variantMap:p,variantKeys:f,splitVariantProps:g,classNameMap:m})}}const Jz=()=>e=>Array.from(new Set(e)),eI=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,tI=function(e,n){return n?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},N1=e=>(e+"").replace(eI,tI),A1=(e,n)=>{let a="",r=0,l="char",c="",d="";const f=[];for(;r<e.length;){const g=e[r];if(g==="{"){const m=e.indexOf("}",r);if(m===-1)break;const y=e.slice(r+1,m),b=n(y);a+=b??y,r=m+1;continue}if(l==="token"&&g===","){e[r]===""&&r++,l="fallback",f.push(l);const m=n(c);m?.endsWith(")")&&(a+=m.slice(0,-1)),c="",d="";continue}if(l==="fallback"&&d+g===", var("){const b=nI(e.slice(r+1))+r+1,S=e.slice(r+1,b);if(b===-1)break;a+=", var("+S+")",r=b+1,l=f.pop()??l,d="";continue}if(l==="token"||l==="fallback"){if(r++,g===")"){l=f.pop()??l??"char",d+=g;const m=c&&(n(c)??N1(c));if(d){if(d=d.slice(1).trim(),!d.startsWith("token(")&&d.endsWith(")")&&(d=d.slice(0,-1)),d.includes("token(")){const b=A1(d,n);b&&(d=b.slice(0,-1))}else if(d){const b=n(d);b&&(d=b)}}const y=a.at(-1);d?y?.trim()?a+=m.slice(0,-1)+(", "+d+")"):a+=d:a+=m||")",c="",d="",l="char";continue}l==="token"&&(c+=g),l==="fallback"&&(d+=g);continue}const p=e.indexOf("token(",r);if(p!==-1){const m=p+6;a+=e.slice(r,p),r=m,l="token",f.push(l);continue}a+=g,r++}return a},nI=e=>{let n=0;const a=["("];for(;n<e.length;){const r=e[n];if(r==="(")a.push(r);else if(r===")"&&(a.pop(),a.length===0))return n;n++}return n};function _1(e){const n={};return e.forEach((a,r)=>{a instanceof Map?n[r]=Object.fromEntries(a):n[r]=a}),n}const z1=/({([^}]*)})/g,iI=/[{}]/g,aI=/\w+\.\w+/,I1=e=>{if(!Hn(e))return[];const n=e.match(z1);return n?n.map(a=>a.replace(iI,"")).map(a=>a.trim()):[]},rI=e=>z1.test(e);function V1(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const n=e.extensions.references??{};return e.value=Object.keys(n).reduce((a,r)=>{const l=n[r];if(l.extensions.conditions)return a;const c=V1(l);return a.replace(`{${r}}`,c)},e.value),delete e.extensions.references,e.value}function D1(e){return Bt(e)&&e.reference?e.reference:String(e)}const hu=(e,...n)=>n.map(D1).join(` ${e} `).replace(/calc/g,""),A0=(...e)=>`calc(${hu("+",...e)})`,_0=(...e)=>`calc(${hu("-",...e)})`,Bh=(...e)=>`calc(${hu("*",...e)})`,z0=(...e)=>`calc(${hu("/",...e)})`,I0=e=>{const n=D1(e);return n!=null&&!Number.isNaN(parseFloat(n))?String(n).startsWith("-")?String(n).slice(1):`-${n}`:Bh(n,-1)},Nr=Object.assign(e=>({add:(...n)=>Nr(A0(e,...n)),subtract:(...n)=>Nr(_0(e,...n)),multiply:(...n)=>Nr(Bh(e,...n)),divide:(...n)=>Nr(z0(e,...n)),negate:()=>Nr(I0(e)),toString:()=>e.toString()}),{add:A0,subtract:_0,multiply:Bh,divide:z0,negate:I0}),oI={enforce:"pre",transform(e){const{prefix:n,allTokens:a,formatCssVar:r,formatTokenName:l,registerToken:c}=e;a.filter(({extensions:f})=>f.category==="spacing").forEach(f=>{const g=f.path.slice(),p=r(g,n);if(Hn(f.value)&&f.value==="0rem")return;const m=structuredClone(f);Object.assign(m.extensions,{negative:!0,prop:`-${f.extensions.prop}`,originalPath:g}),m.value=Nr.negate(p.ref);const y=m.path[m.path.length-1];y!=null&&(m.path[m.path.length-1]=`-${y}`),m.path&&(m.name=l(m.path)),c(m)})}},lI=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),sI={enforce:"post",transform(e){e.allTokens.filter(a=>lI.has(a.extensions.category)&&!a.extensions.negative).forEach(a=>{Object.assign(a.extensions,{pixelValue:S1(a.value)})})}},cI={enforce:"post",transform(e){const{allTokens:n,registerToken:a,formatTokenName:r}=e,l=n.filter(({extensions:f})=>f.category==="colors"),c=new Map,d=new Map;l.forEach(f=>{const{colorPalette:g}=f.extensions;g&&(g.keys.forEach(p=>{c.set(r(p),p)}),g.roots.forEach(p=>{const m=r(p),y=d.get(m)||[];if(y.push(f),d.set(m,y),f.extensions.default&&p.length===1){const b=g.keys[0]?.filter(Boolean);if(!b.length)return;const S=p.concat(b);c.set(r(S),[])}}))}),c.forEach(f=>{const g=["colors","colorPalette",...f].filter(Boolean),p=r(g),m=r(g.slice(1));a({name:p,value:p,originalValue:p,path:g,extensions:{condition:"base",originalPath:g,category:"colors",prop:m,virtual:!0}},"pre")})}},uI={enforce:"post",transform(e){e.allTokens=e.allTokens.filter(n=>n.value!=="")}},dI=[oI,cI,sI,uI],fI={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,n){const{prefix:a,formatCssVar:r}=n,{negative:l,originalPath:c}=e.extensions,d=l?c:e.path;return{cssVar:r(d.filter(Boolean),a)}}},hI={enforce:"post",type:"value",name:"tokens/conditionals",transform(e,n){const{prefix:a,formatCssVar:r}=n,l=I1(e.value);return l.length&&l.forEach(c=>{const d=r(c.split("."),a);e.value=e.value.replace(`{${d.ref}}`,d)}),e.value}},gI={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,n){let a=e.path.slice();if(a.pop(),a.shift(),a.length===0){const f=[...e.path];f.shift(),a=f}if(a.length===0)return{};const r=a.reduce((f,g,p,m)=>{const y=m.slice(0,p+1);return f.push(y),f},[]),l=a[0],c=n.formatTokenName(a),d=e.path.slice(e.path.indexOf(l)+1).reduce((f,g,p,m)=>(f.push(m.slice(p)),f),[]);return d.length===0&&d.push([""]),{colorPalette:{value:c,roots:r,keys:d}}}},pI=[fI,hI,gI],V0=e=>Bt(e)&&Object.prototype.hasOwnProperty.call(e,"value");function mI(e){return e?{breakpoints:K_(e,n=>({value:n})),sizes:Object.fromEntries(Object.entries(e).map(([n,a])=>[`breakpoint-${n}`,{value:a}]))}:{breakpoints:{},sizes:{}}}function vI(e){const{prefix:n="",tokens:a={},semanticTokens:r={},breakpoints:l={}}=e,c=X=>X.join("."),d=(X,Z)=>v1(X.join("-"),{prefix:Z}),f=[],g=new Map,p=new Map,m=new Map,y=new Map,b=new Map,S=new Map,C=new Map,E=new Map,w=[];function N(X,Z){f.push(X),g.set(X.name,X),Z&&E.forEach(Ce=>{Ce.enforce===Z&&k(Ce,X)})}const T=mI(l),R=Rl({...a,breakpoints:T.breakpoints,sizes:{...a.sizes,...T.sizes}});function F(){Un(R,(X,Z)=>{const Ce=Z.includes("DEFAULT");Z=D0(Z);const Ie=Z[0],qe=c(Z),Je=Hn(X)?{value:X}:X,Ut={value:Je.value,originalValue:Je.value,name:qe,path:Z,extensions:{condition:"base",originalPath:Z,category:Ie,prop:c(Z.slice(1))}};Ce&&(Ut.extensions.default=!0),N(Ut)},{stop:V0}),Un(r,(X,Z)=>{const Ce=Z.includes("DEFAULT");Z=P1(D0(Z));const Ie=Z[0],qe=c(Z),Je=Hn(X.value)?{value:{base:X.value}}:X,Ut={value:Je.value.base||"",originalValue:Je.value.base||"",name:qe,path:Z,extensions:{originalPath:Z,category:Ie,conditions:Je.value,condition:"base",prop:c(Z.slice(1))}};Ce&&(Ut.extensions.default=!0),N(Ut)},{stop:V0})}function A(X){return g.get(X)}function Y(X){const{condition:Z}=X.extensions;Z&&(p.has(Z)||p.set(Z,new Set),p.get(Z).add(X))}function U(X){const{category:Z,prop:Ce}=X.extensions;Z&&(C.has(Z)||C.set(Z,new Map),C.get(Z).set(Ce,X))}function z(X){const{condition:Z,negative:Ce,virtual:Ie,cssVar:qe}=X.extensions;Ce||Ie||!Z||!qe||(m.has(Z)||m.set(Z,new Map),m.get(Z).set(qe.var,X.value))}function M(X){const{category:Z,prop:Ce,cssVar:Ie,negative:qe}=X.extensions;if(!Z)return;S.has(Z)||S.set(Z,new Map);const Je=qe?X.extensions.conditions?X.originalValue:X.value:Ie.ref;S.get(Z).set(Ce,Je),b.set([Z,Ce].join("."),Je)}function $(X){const{colorPalette:Z,virtual:Ce,default:Ie}=X.extensions;!Z||Ce||Z.roots.forEach(qe=>{const Je=c(qe);y.has(Je)||y.set(Je,new Map);const Ut=yI([...X.path],[...qe]),Pa=c(Ut),Kr=A(Pa);if(!Kr||!Kr.extensions.cssVar)return;const{var:rn}=Kr.extensions.cssVar;if(y.get(Je).set(rn,X.extensions.cssVar.ref),Ie&&qe.length===1){const bu=c(["colors","colorPalette"]),Qr=A(bu);if(!Qr)return;const Pl=c(X.path),ta=A(Pl);if(!ta)return;const Ml=Z.keys[0]?.filter(Boolean);if(!Ml.length)return;const Ma=c(qe.concat(Ml));y.has(Ma)||y.set(Ma,new Map),y.get(Ma).set(Qr.extensions.cssVar.var,ta.extensions.cssVar.ref)}})}let ae={};function te(){f.forEach(X=>{Y(X),U(X),z(X),M(X),$(X)}),ae=_1(S)}const we=(X,Z)=>{if(!X||typeof X!="string")return{invalid:!0,value:X};const[Ce,Ie]=X.split("/");if(!Ce||!Ie)return{invalid:!0,value:Ce};const qe=Z(Ce),Je=A(`opacity.${Ie}`)?.value;if(!Je&&isNaN(Number(Ie)))return{invalid:!0,value:Ce};const Ut=Je?Number(Je)*100+"%":`${Ie}%`,Pa=qe??Ce;return{invalid:!1,color:Pa,value:`color-mix(in srgb, ${Pa} ${Ut}, transparent)`}},Ee=On((X,Z)=>b.get(X)??Z),ce=On(X=>ae[X]||null),H=On(X=>A1(X,Z=>{if(!Z)return;if(Z.includes("/")){const Ie=we(Z,qe=>Ee(qe));if(Ie.invalid)throw new Error("Invalid color mix at "+Z+": "+Ie.value);return Ie.value}const Ce=Ee(Z);return Ce||(aI.test(Z)?N1(Z):Z)})),Q={prefix:n,allTokens:f,tokenMap:g,registerToken:N,getByName:A,formatTokenName:c,formatCssVar:d,flatMap:b,cssVarMap:m,categoryMap:C,colorPaletteMap:y,getVar:Ee,getCategoryValues:ce,expandReferenceInValue:H};function re(...X){X.forEach(Z=>{E.set(Z.name,Z)})}function ie(...X){w.push(...X)}function k(X,Z){if(Z.extensions.references||ag(X.match)&&!X.match(Z))return;const Ie=(qe=>X.transform(qe,Q))(Z);switch(!0){case X.type==="extensions":Object.assign(Z.extensions,Ie);break;case X.type==="value":Z.value=Ie;break;default:Z[X.type]=Ie;break}}function W(X){w.forEach(Z=>{Z.enforce===X&&Z.transform(Q)})}function ne(X){E.forEach(Z=>{Z.enforce===X&&f.forEach(Ce=>{k(Z,Ce)})})}function ee(){f.forEach(X=>{const Z=bI(X);!Z||Z.length===0||Z.forEach(Ce=>{N(Ce)})})}function le(X){return I1(X).map(Ce=>A(Ce)).filter(Boolean)}function ye(){f.forEach(X=>{if(!rI(X.value))return;const Z=le(X.value);X.extensions.references=Z.reduce((Ce,Ie)=>(Ce[Ie.name]=Ie,Ce),{})})}function ge(){f.forEach(X=>{V1(X)})}function Rt(){W("pre"),ne("pre"),ee(),ye(),ge(),W("post"),ne("post"),te()}return F(),re(...pI),ie(...dI),Rt(),Q}function D0(e){return e[0]==="DEFAULT"?e:e.filter(n=>n!=="DEFAULT")}function P1(e){return e.filter(n=>n!=="base")}function bI(e){if(!e.extensions.conditions)return;const{conditions:n}=e.extensions,a=[];return Un(n,(r,l)=>{const c=P1(l);if(!c.length)return;const d=structuredClone(e);d.value=r,d.extensions.condition=c.join(":"),a.push(d)}),a}function yI(e,n){const a=e.findIndex((r,l)=>n.every((c,d)=>e[l+d]===c));return a===-1||(e.splice(a,n.length),e.splice(a,0,"colorPalette")),e}Jz()(["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 xI(e){return Object.fromEntries(Object.entries(e).map(([n,a])=>[n,a]))}function SI(e){const n=xI(e.config),a=e.tokens,r=new Map,l=new Map;function c(z,M){n[z]=M,d(z,M)}const d=(z,M)=>{const $=E(M);$&&(l.set(z,$),y(z,M))},f=()=>{for(const[z,M]of Object.entries(n))M&&d(z,M)},g=()=>{for(const[z,M]of Object.entries(n)){const{shorthand:$}=M??{};if(!$)continue;(Array.isArray($)?$:[$]).forEach(te=>r.set(te,z))}},p=()=>{const z=_1(a.colorPaletteMap);c("colorPalette",{values:Object.keys(z),transform:On(M=>z[M])})},m=new Map,y=(z,M)=>{if(!M)return;const $=E(M,te=>`type:Tokens["${te}"]`);if(typeof $=="object"&&$.type){m.set(z,new Set([`type:${$.type}`]));return}if($){const te=new Set(Object.keys($));m.set(z,te)}const ae=m.get(z)??new Set;M.property&&m.set(z,ae.add(`CssProperties["${M.property}"]`))},b=()=>{for(const[z,M]of Object.entries(n))M&&y(z,M)},S=(z,M)=>{const $=m.get(z)??new Set;m.set(z,new Set([...$,...M]))},C=()=>{const z=new Map;for(const[M,$]of m.entries()){if($.size===0){z.set(M,["string"]);continue}const ae=Array.from($).map(te=>te.startsWith("CssProperties")?te:te.startsWith("type:")?te.replace("type:",""):JSON.stringify(te));z.set(M,ae)}return z},E=(z,M)=>{const{values:$}=z,ae=te=>{const we=M?.(te);return we?{[we]:we}:void 0};return Hn($)?ae?.($)??a.getCategoryValues($)??{}:Array.isArray($)?$.reduce((te,we)=>(te[we]=we,te),{}):ag($)?$(M?ae:a.getCategoryValues):$},w=On((z,M)=>({[z]:z.startsWith("--")?a.getVar(M,M):M})),N=Object.assign(a.getVar,{raw:z=>a.getByName(z)}),T=On((z,M)=>{const $=A(z);Hn(M)&&!M.includes("_EMO_")&&(M=a.expandReferenceInValue(M));const ae=n[$];if(!ae)return w($,M);const te=l.get($)?.[M];if(!ae.transform)return w(z,te??M);const we=Ee=>X_(Ee,N);return ae.transform(te??M,{raw:M,token:N,utils:{colorMix:we}})});function R(){g(),p(),f(),b()}R();const F=r.size>0,A=On(z=>r.get(z)??z);return{keys:()=>[...Array.from(r.keys()),...Object.keys(n)],hasShorthand:F,transform:T,shorthands:r,resolveShorthand:A,register:c,getTypes:C,addPropertyType:S}}const Lt={};function EI(...e){const n=g1(...e),{theme:a={},utilities:r={},globalCss:l={},cssVarsRoot:c=":where(:root, :host)",cssVarsPrefix:d="chakra",preflight:f}=n,g=Gz(n),p=vI({breakpoints:a.breakpoints,tokens:a.tokens,semanticTokens:a.semanticTokens,prefix:d}),m=wz(a.breakpoints??Lt),y=Nz({conditions:n.conditions??Lt,breakpoints:m}),b=SI({config:r,tokens:p});function S(){const{textStyles:ie,layerStyles:k,animationStyles:W}=a,ne=Rl({textStyle:ie,layerStyle:k,animationStyle:W});for(const[ee,le]of Object.entries(ne)){const ye=b1(le??Lt,M1);b.register(ee,{values:Object.keys(ye),transform(ge){return R(ye[ge])}})}}S(),b.addPropertyType("animationName",Object.keys(a.keyframes??Lt));const C=new Set(["css",...b.keys(),...y.keys()]),E=On(ie=>C.has(ie)||xz(ie)),w=ie=>Array.isArray(ie)?ie.reduce((k,W,ne)=>{const ee=y.breakpoints[ne];return W!=null&&(k[ee]=W),k},{}):ie,N=Wz({utility:b,normalize:w}),T=Yz({conditions:y,isValidProperty:E}),R=T1({transform:b.transform,conditions:y,normalize:N}),F=Uz({css:R,conditions:y,normalize:N,layers:g}),A=Zz({cva:F});function Y(){const ie={};for(const[k,W]of p.cssVarMap.entries()){const ne=Object.fromEntries(W);if(Object.keys(ne).length===0)continue;const ee=k==="base"?c:y.resolve(k),le=ee.startsWith("@"),ye=R(T({[ee]:le?{[c]:ne}:ne}));Wr(ie,ye)}return g.wrap("tokens",ie)}function U(){const ie=Object.fromEntries(Object.entries(a.keyframes??Lt).map(([W,ne])=>[`@keyframes ${W}`,ne])),k=Object.assign({},ie,R(T(l)));return g.wrap("base",k)}function z(ie){return Pr(ie,E)}function M(){const ie=qz({preflight:f});return g.wrap("reset",ie)}const $=CI(p),ae=(ie,k)=>$.get(ie)?.value||k;ae.var=(ie,k)=>$.get(ie)?.variable||k;function te(ie,k){return a.recipes?.[ie]??k}function we(ie,k){return a.slotRecipes?.[ie]??k}function Ee(ie){return Object.hasOwnProperty.call(a.recipes??Lt,ie)}function ce(ie){return Object.hasOwnProperty.call(a.slotRecipes??Lt,ie)}function H(ie){return Ee(ie)||ce(ie)}const Q=[M(),U(),Y()],re={layerStyles:oh(a.layerStyles??Lt),textStyles:oh(a.textStyles??Lt),animationStyles:oh(a.animationStyles??Lt),tokens:P0(p,Object.keys(a.tokens??Lt),(ie,k)=>!ie.extensions.conditions&&!k.includes("colorPalette")),semanticTokens:P0(p,Object.keys(a.semanticTokens??Lt),ie=>!!ie.extensions.conditions),keyframes:M0(a.keyframes??Lt),breakpoints:M0(a.breakpoints??Lt)};return{$$chakra:!0,_config:n,_global:Q,breakpoints:m,tokens:p,conditions:y,utility:b,token:ae,properties:C,layers:g,isValidProperty:E,splitCssProps:z,normalizeValue:w,getTokenCss:Y,getGlobalCss:U,getPreflightCss:M,css:R,cva:F,sva:A,getRecipe:te,getSlotRecipe:we,hasRecipe:H,isRecipe:Ee,isSlotRecipe:ce,query:re}}function CI(e){const n=new Map;return e.allTokens.forEach(a=>{const{cssVar:r,virtual:l,conditions:c}=a.extensions,d=c||l?r.ref:a.value;n.set(a.name,{value:d,variable:r.ref})}),n}const M1=e=>Bt(e)&&"value"in e,oh=e=>({list(){return Object.keys(b1(e,M1))},search(n){return this.list().filter(a=>a.includes(n))}}),P0=(e,n,a)=>({categoryKeys:n,list(r){return Array.from(e.categoryMap.get(r)?.entries()??[]).reduce((l,[c,d])=>(a(d,c)&&l.push(c),l),[])},search(r,l){return this.list(r).filter(c=>c.includes(l))}}),M0=e=>({list(){return Object.keys(e)},search(n){return this.list().filter(a=>a.includes(n))}}),OI={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},lh="var(--chakra-empty,/*!*/ /*!*/)",wI=ez({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":lh,"--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}`,lh])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,lh])),"--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"}}),kI=iz({"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:{}}}),TI=nz({"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"}}}),Bg=dt({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"}}),RI=dt({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"}}),St=dt({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:NI,defaultVariants:AI}=Bg,_I=dt({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:NI,defaultVariants:AI}),L1=dt({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"}}),zI=dt({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"}}}}),II=dt({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"}}),VI=dt({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"}}),at=dt({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"}}),DI=dt({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:at.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"}}),PI=dt({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"}}),MI=dt({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"}}),LI=dt({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:{}}}}),Et=dt({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"}}),BI=dt({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"}}),HI=dt({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}}),FI=dt({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"}}}),UI=dt({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"}}),jI=dt({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"}}),$I={badge:Bg,button:RI,code:_I,container:zI,heading:II,input:at,inputAddon:DI,kbd:PI,link:MI,mark:LI,separator:BI,skeleton:HI,skipNavLink:FI,spinner:UI,textarea:jI,icon:VI,checkmark:St,radiomark:Et,colorSwatch:L1},GI=Mg.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}"}}}}),WI=Mg.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),qI=Mg.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}"}}}),YI=sS.extendWith("itemBody"),XI=fe("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),KI=fe("alert").parts("title","description","root","indicator","content"),QI=fe("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),ZI=fe("blockquote").parts("root","icon","content","caption"),JI=fe("card").parts("root","header","body","footer","title","description"),eV=fe("checkbox-card",["root","control","label","description","addon","indicator","content"]),tV=fe("data-list").parts("root","item","itemLabel","itemValue"),nV=Ig.extendWith("header","body","footer","backdrop"),iV=Ig.extendWith("header","body","footer","backdrop"),aV=VS.extendWith("textarea"),rV=fe("empty-state",["root","content","indicator","title","description"]),oV=DS.extendWith("requiredIndicator"),lV=PS.extendWith("content"),sV=MS.extendWith("itemContent","dropzoneContent","fileText"),cV=fe("list").parts("root","item","indicator"),uV=jS.extendWith("itemCommand"),dV=fe("select").parts("root","field","indicator"),fV=ZS.extendWith("header","body","footer"),B1=Pg.extendWith("itemAddon","itemIndicator"),hV=B1.extendWith("itemContent","itemDescription"),gV=e1.extendWith("itemIndicator"),pV=i1.extendWith("indicatorGroup"),mV=RS.extendWith("indicatorGroup","empty"),vV=l1.extendWith("markerIndicator"),bV=fe("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),yV=fe("status").parts("root","indicator"),xV=fe("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),SV=s1.extendWith("indicator"),EV=fe("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),CV=fe("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),OV=fe("tabs").parts("root","trigger","list","content","contentGroup","indicator"),wV=fe("tag").parts("root","label","closeTrigger","startElement","endElement"),kV=fe("timeline").parts("root","item","content","separator","indicator","connector","title","description"),TV=V2.extendWith("channelText"),RV=fe("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);vS.extendWith("valueText");const NV=he({className:"chakra-accordion",slots:YI.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"}}),AV=he({className:"chakra-action-bar",slots:XI.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"}}}),_V=he({slots:KI.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}}),zV=he({slots:dS.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"}}),IV=he({className:"chakra-blockquote",slots:ZI.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"}}),VV=he({className:"chakra-breadcrumb",slots:QI.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"}}),DV=he({className:"chakra-card",slots:JI.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"}}),PV=he({slots:I2.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:St.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:St.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:St.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:St.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:St.variants?.size?.lg}},variant:{outline:{control:St.variants?.variant?.outline},solid:{control:St.variants?.variant?.solid},subtle:{control:St.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),MV=he({slots:eV.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:St.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:St.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:St.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:St.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:St.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:St.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:St.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:St.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"}}),LV=he({slots:RV.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",overflow:"hidden",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}}),BV=he({slots:$x.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),HV=he({className:"colorPicker",slots:TV.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:{...L1.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:{...at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:at.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),FV=he({className:"chakra-combobox",slots:mV.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"}}),UV=he({slots:tV.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"}}),jV=he({slots:nV.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",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:"100dvw",minH:"100dvh","--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"}}),$V=he({slots:iV.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"}}),L0=qr({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),GV=he({slots:aV.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...L0,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...L0,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"}}),WV=he({slots:rV.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"}}),qV=he({className:"chakra-field",slots:oV.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"}}),YV=he({className:"fieldset",slots:lV.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"}}),XV=he({className:"chakra-file-upload",slots:sV.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:{}}),KV=he({className:"chakra-hover-card",slots:HS.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"}}),QV=he({className:"chakra-list",slots:cV.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"}}),ZV=he({className:"chakra-menu",slots:uV.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"}}),Ac=he({className:"chakra-select",slots:pV.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"}}),JV=he({className:"chakra-native-select",slots:dV.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","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_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:Ac.variants?.variant.outline.trigger},subtle:{field:Ac.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:Ac.defaultVariants});function Hh(e,n){const a={};for(const r in e){const l=n(r,e[r]);a[l[0]]=l[1]}return a}const B0=qr({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"}}),eD=he({className:"chakra-number-input",slots:YS.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...at.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:{...B0,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...B0,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:at.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:at.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:at.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:at.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Hh(at.variants.variant,(e,n)=>[e,{input:n}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:H0,defaultVariants:tD}=at,nD=he({className:"chakra-pin-input",slots:QS.keys(),base:{input:{...at.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Hh(H0.size,(e,n)=>[e,{input:{...n,px:"1"}}]),variant:Hh(H0.variant,(e,n)=>[e,{input:n}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:tD}),iD=he({className:"chakra-popover",slots:fV.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"}}),aD=he({slots:Dg.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"}}),rD=he({className:"chakra-progress-circle",slots:Dg.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"}}),oD=he({slots:JS.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"}}),lD=he({className:"chakra-radio-card",slots:hV.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:Et.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:Et.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Et.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Et.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:Et.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:Et.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:Et.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:Et.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"}}),sD=he({className:"chakra-radio-group",slots:B1.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Et.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:Et.variants?.variant?.outline},subtle:{itemControl:Et.variants?.variant?.subtle},solid:{itemControl:Et.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:Et.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:Et.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:Et.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:Et.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),cD=he({className:"chakra-rating-group",slots:gV.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"}}),uD=he({className:"chakra-scroll-area",slots:t1.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}}),dD=he({className:"chakra-segment-group",slots:n1.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"}}),fD=he({className:"chakra-slider",slots:vV.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"}}),hD=he({className:"chakra-stat",slots:bV.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"}}),gD=he({className:"chakra-status",slots:yV.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"}}),pD=he({className:"chakra-steps",slots:xV.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"}}),mD=he({slots:SV.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"}}),vD=he({className:"chakra-table",slots:EV.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"}}),bD=he({slots:OV.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"}}),gc=Bg.variants?.variant,yD=he({slots:wV.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:gc?.subtle},solid:{root:gc?.solid},outline:{root:gc?.outline},surface:{root:gc?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),xD=he({slots:kV.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"}}),SD=he({slots:CV.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"}}}}),ED=he({slots:u1.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)"}}}),F0=qr({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"}}),U0=qr({flex:"1"}),j0=qr({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),$0=qr({_selected:{layerStyle:"fill.solid"}}),CD=he({slots:FS.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:F0,item:F0,itemText:U0,branchText:U0,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:j0,item:j0},solid:{branchControl:$0,item:$0}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),OD={accordion:NV,actionBar:AV,alert:_V,avatar:zV,blockquote:IV,breadcrumb:VV,card:DV,checkbox:PV,checkboxCard:MV,codeBlock:LV,collapsible:BV,dataList:UV,dialog:jV,drawer:$V,editable:GV,emptyState:WV,field:qV,fieldset:YV,fileUpload:XV,hoverCard:KV,list:QV,menu:ZV,nativeSelect:JV,numberInput:eD,pinInput:nD,popover:iD,progress:aD,progressCircle:rD,radioCard:lD,radioGroup:sD,ratingGroup:cD,scrollArea:uD,segmentGroup:dD,select:Ac,combobox:FV,slider:fD,stat:hD,steps:pD,switch:mD,table:vD,tabs:bD,tag:yD,toast:SD,tooltip:ED,status:gD,timeline:xD,colorPicker:HV,qrCode:oD,treeView:CD},wD=tz({"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"}}}),kD=ot.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"}}),TD=ot.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"}}),RD=ot.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),ND=ot.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),AD=ot.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"}}}),_D=ot.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"}}),zD=ot.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),ID=ot.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)"}}),VD=ot.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"}}),DD=ot.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"}}),G0='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',PD=ot.fonts({heading:{value:`Inter, ${G0}`},body:{value:`Inter, ${G0}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),MD=J_({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"}}}),LD=ot.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),BD=ot.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),HD=ot.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"}}),H1=ot.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"}}),FD=ot.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"}}),UD=ot.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"}}),jD=ot.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%"}}),$D=ot.sizes({...FD,...H1,...jD,...UD}),GD=ot.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}}),WD={aspectRatios:TD,animations:kD,blurs:RD,borders:ND,colors:AD,durations:zD,easings:ID,fonts:PD,fontSizes:VD,fontWeights:DD,letterSpacings:LD,lineHeights:BD,radii:HD,spacing:H1,sizes:$D,zIndex:GD,cursor:_D},qD={colors:GI,shadows:qI,radii:WI},YD="chakra",XD=":where(html, .chakra-theme)",KD=m1({preflight:!0,cssVarsPrefix:YD,cssVarsRoot:XD,globalCss:wI,theme:{breakpoints:OI,keyframes:MD,tokens:WD,semanticTokens:qD,recipes:$I,slotRecipes:OD,textStyles:wD,layerStyles:kI,animationStyles:TI}}),QD=g1(dz,KD),ZD=EI(QD),F1=Ur("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"}});F1.displayName="AbsoluteCenter";const JD=e=>e?"":void 0,{withContext:eP}=Nl({key:"spinner"}),Hg=eP("span"),tP=D.forwardRef(function(n,a){const{spinner:r=J.jsx(Hg,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:l="start",children:c,text:d,visible:f=!0,...g}=n;return f?d?J.jsxs(Zs,{ref:a,display:"contents",...g,children:[l==="start"&&r,d,l==="end"&&r]}):r?J.jsxs(Zs,{ref:a,display:"contents",...g,children:[J.jsx(F1,{display:"inline-flex",children:r}),J.jsx(Zs,{visibility:"hidden",display:"contents",children:c})]}):J.jsx(Zs,{ref:a,display:"contents",...g,children:c}):c}),{useRecipeResult:nP,usePropsContext:iP}=Nl({key:"button"}),aP=D.forwardRef(function(n,a){const r=iP(),l=D.useMemo(()=>ig(r,n),[r,n]),c=nP(l),{loading:d,loadingText:f,children:g,spinner:p,spinnerPlacement:m,...y}=c.props;return J.jsx(Ur.button,{type:"button",ref:a,...y,"data-loading":JD(d),disabled:d||y.disabled,className:Ki(c.className,l.className),css:[c.styles,l.css],children:!l.asChild&&d?J.jsx(tP,{spinner:p,text:f,spinnerPlacement:m,children:g}):g})}),{withContext:rP}=Nl({key:"container"}),oP=rP("div"),pc=D.forwardRef(function(n,a){const{direction:r,align:l,justify:c,wrap:d,basis:f,grow:g,shrink:p,inline:m,...y}=n;return J.jsx(Ur.div,{ref:a,...y,css:{display:m?"inline-flex":"flex",flexDirection:r,alignItems:l,justifyContent:c,flexWrap:d,flexBasis:f,flexGrow:g,flexShrink:p,...n.css}})});function lP({children:e}){return J.jsx(J.Fragment,{children:e})}const sP="modulepreload",cP=function(e){return"/"+e},W0={},xi=function(n,a,r){let l=Promise.resolve();if(a&&a.length>0){let g=function(p){return Promise.all(p.map(m=>Promise.resolve(m).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),f=d?.nonce||d?.getAttribute("nonce");l=g(a.map(p=>{if(p=cP(p),p in W0)return;W0[p]=!0;const m=p.endsWith(".css"),y=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const b=document.createElement("link");if(b.rel=m?"stylesheet":sP,m||(b.as="script"),b.crossOrigin="",b.href=p,f&&b.setAttribute("nonce",f),document.head.appendChild(b),m)return new Promise((S,C)=>{b.addEventListener("load",S),b.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${p}`)))})}))}function c(d){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=d,window.dispatchEvent(f),!f.defaultPrevented)throw d}return l.then(d=>{for(const f of d||[])f.status==="rejected"&&c(f.reason);return n().catch(c)})};/**
66
- * react-router v7.8.2
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 q0="popstate";function uP(e={}){function n(r,l){let{pathname:c,search:d,hash:f}=r.location;return Fh("",{pathname:c,search:d,hash:f},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function a(r,l){return typeof l=="string"?l:Ol(l)}return fP(n,a,null,e)}function Ke(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function jn(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function dP(){return Math.random().toString(36).substring(2,10)}function Y0(e,n){return{usr:e.state,key:e.key,idx:n}}function Fh(e,n,a=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?Yr(n):n,state:a,key:n&&n.key||r||dP()}}function Ol({pathname:e="/",search:n="",hash:a=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function Yr(e){let n={};if(e){let a=e.indexOf("#");a>=0&&(n.hash=e.substring(a),e=e.substring(0,a));let r=e.indexOf("?");r>=0&&(n.search=e.substring(r),e=e.substring(0,r)),e&&(n.pathname=e)}return n}function fP(e,n,a,r={}){let{window:l=document.defaultView,v5Compat:c=!1}=r,d=l.history,f="POP",g=null,p=m();p==null&&(p=0,d.replaceState({...d.state,idx:p},""));function m(){return(d.state||{idx:null}).idx}function y(){f="POP";let w=m(),N=w==null?null:w-p;p=w,g&&g({action:f,location:E.location,delta:N})}function b(w,N){f="PUSH";let T=Fh(E.location,w,N);p=m()+1;let R=Y0(T,p),F=E.createHref(T);try{d.pushState(R,"",F)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;l.location.assign(F)}c&&g&&g({action:f,location:E.location,delta:1})}function S(w,N){f="REPLACE";let T=Fh(E.location,w,N);p=m();let R=Y0(T,p),F=E.createHref(T);d.replaceState(R,"",F),c&&g&&g({action:f,location:E.location,delta:0})}function C(w){return hP(w)}let E={get action(){return f},get location(){return e(l,d)},listen(w){if(g)throw new Error("A history only accepts one active listener");return l.addEventListener(q0,y),g=w,()=>{l.removeEventListener(q0,y),g=null}},createHref(w){return n(l,w)},createURL:C,encodeLocation(w){let N=C(w);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:b,replace:S,go(w){return d.go(w)}};return E}function hP(e,n=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),Ke(a,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Ol(e);return r=r.replace(/ $/,"%20"),!n&&r.startsWith("//")&&(r=a+r),new URL(r,a)}function U1(e,n,a="/"){return gP(e,n,a,!1)}function gP(e,n,a,r){let l=typeof n=="string"?Yr(n):n,c=yi(l.pathname||"/",a);if(c==null)return null;let d=j1(e);pP(d);let f=null;for(let g=0;f==null&&g<d.length;++g){let p=kP(c);f=OP(d[g],p,r)}return f}function j1(e,n=[],a=[],r="",l=!1){let c=(d,f,g=l,p)=>{let m={relativePath:p===void 0?d.path||"":p,caseSensitive:d.caseSensitive===!0,childrenIndex:f,route:d};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(r)&&g)return;Ke(m.relativePath.startsWith(r),`Absolute route path "${m.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(r.length)}let y=pi([r,m.relativePath]),b=a.concat(m);d.children&&d.children.length>0&&(Ke(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),j1(d.children,n,b,y,g)),!(d.path==null&&!d.index)&&n.push({path:y,score:EP(y,d.index),routesMeta:b})};return e.forEach((d,f)=>{if(d.path===""||!d.path?.includes("?"))c(d,f);else for(let g of $1(d.path))c(d,f,!0,g)}),n}function $1(e){let n=e.split("/");if(n.length===0)return[];let[a,...r]=n,l=a.endsWith("?"),c=a.replace(/\?$/,"");if(r.length===0)return l?[c,""]:[c];let d=$1(r.join("/")),f=[];return f.push(...d.map(g=>g===""?c:[c,g].join("/"))),l&&f.push(...d),f.map(g=>e.startsWith("/")&&g===""?"/":g)}function pP(e){e.sort((n,a)=>n.score!==a.score?a.score-n.score:CP(n.routesMeta.map(r=>r.childrenIndex),a.routesMeta.map(r=>r.childrenIndex)))}var mP=/^:[\w-]+$/,vP=3,bP=2,yP=1,xP=10,SP=-2,X0=e=>e==="*";function EP(e,n){let a=e.split("/"),r=a.length;return a.some(X0)&&(r+=SP),n&&(r+=bP),a.filter(l=>!X0(l)).reduce((l,c)=>l+(mP.test(c)?vP:c===""?yP:xP),r)}function CP(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 OP(e,n,a=!1){let{routesMeta:r}=e,l={},c="/",d=[];for(let f=0;f<r.length;++f){let g=r[f],p=f===r.length-1,m=c==="/"?n:n.slice(c.length)||"/",y=qc({path:g.relativePath,caseSensitive:g.caseSensitive,end:p},m),b=g.route;if(!y&&p&&a&&!r[r.length-1].route.index&&(y=qc({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},m)),!y)return null;Object.assign(l,y.params),d.push({params:l,pathname:pi([c,y.pathname]),pathnameBase:AP(pi([c,y.pathnameBase])),route:b}),y.pathnameBase!=="/"&&(c=pi([c,y.pathnameBase]))}return d}function qc(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,r]=wP(e.path,e.caseSensitive,e.end),l=n.match(a);if(!l)return null;let c=l[0],d=c.replace(/(.)\/+$/,"$1"),f=l.slice(1);return{params:r.reduce((p,{paramName:m,isOptional:y},b)=>{if(m==="*"){let C=f[b]||"";d=c.slice(0,c.length-C.length).replace(/(.)\/+$/,"$1")}const S=f[b];return y&&!S?p[m]=void 0:p[m]=(S||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:d,pattern:e}}function wP(e,n=!1,a=!0){jn(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,f,g)=>(r.push({paramName:f,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),r]}function kP(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return jn(!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 yi(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let a=n.endsWith("/")?n.length-1:n.length,r=e.charAt(a);return r&&r!=="/"?null:e.slice(a)||"/"}function TP(e,n="/"){let{pathname:a,search:r="",hash:l=""}=typeof e=="string"?Yr(e):e;return{pathname:a?a.startsWith("/")?a:RP(a,n):n,search:_P(r),hash:zP(l)}}function RP(e,n){let a=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?a.length>1&&a.pop():l!=="."&&a.push(l)}),a.length>1?a.join("/"):"/"}function sh(e,n,a,r){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function NP(e){return e.filter((n,a)=>a===0||n.route.path&&n.route.path.length>0)}function G1(e){let n=NP(e);return n.map((a,r)=>r===n.length-1?a.pathname:a.pathnameBase)}function W1(e,n,a,r=!1){let l;typeof e=="string"?l=Yr(e):(l={...e},Ke(!l.pathname||!l.pathname.includes("?"),sh("?","pathname","search",l)),Ke(!l.pathname||!l.pathname.includes("#"),sh("#","pathname","hash",l)),Ke(!l.search||!l.search.includes("#"),sh("#","search","hash",l)));let c=e===""||l.pathname==="",d=c?"/":l.pathname,f;if(d==null)f=a;else{let y=n.length-1;if(!r&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),y-=1;l.pathname=b.join("/")}f=y>=0?n[y]:"/"}let g=TP(l,f),p=d&&d!=="/"&&d.endsWith("/"),m=(c||d===".")&&a.endsWith("/");return!g.pathname.endsWith("/")&&(p||m)&&(g.pathname+="/"),g}var pi=e=>e.join("/").replace(/\/\/+/g,"/"),AP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_P=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function IP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var q1=["POST","PUT","PATCH","DELETE"];new Set(q1);var VP=["GET",...q1];new Set(VP);var Xr=D.createContext(null);Xr.displayName="DataRouter";var gu=D.createContext(null);gu.displayName="DataRouterState";D.createContext(!1);var Y1=D.createContext({isTransitioning:!1});Y1.displayName="ViewTransition";var DP=D.createContext(new Map);DP.displayName="Fetchers";var PP=D.createContext(null);PP.displayName="Await";var Wn=D.createContext(null);Wn.displayName="Navigation";var Il=D.createContext(null);Il.displayName="Location";var qn=D.createContext({outlet:null,matches:[],isDataRoute:!1});qn.displayName="Route";var Fg=D.createContext(null);Fg.displayName="RouteError";function MP(e,{relative:n}={}){Ke(Vl(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:r}=D.useContext(Wn),{hash:l,pathname:c,search:d}=Dl(e,{relative:n}),f=c;return a!=="/"&&(f=c==="/"?a:pi([a,c])),r.createHref({pathname:f,search:d,hash:l})}function Vl(){return D.useContext(Il)!=null}function ea(){return Ke(Vl(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Il).location}var X1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function K1(e){D.useContext(Wn).static||D.useLayoutEffect(e)}function Q1(){let{isDataRoute:e}=D.useContext(qn);return e?KP():LP()}function LP(){Ke(Vl(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Xr),{basename:n,navigator:a}=D.useContext(Wn),{matches:r}=D.useContext(qn),{pathname:l}=ea(),c=JSON.stringify(G1(r)),d=D.useRef(!1);return K1(()=>{d.current=!0}),D.useCallback((g,p={})=>{if(jn(d.current,X1),!d.current)return;if(typeof g=="number"){a.go(g);return}let m=W1(g,JSON.parse(c),l,p.relative==="path");e==null&&n!=="/"&&(m.pathname=m.pathname==="/"?n:pi([n,m.pathname])),(p.replace?a.replace:a.push)(m,p.state,p)},[n,a,c,l,e])}D.createContext(null);function IM(){let{matches:e}=D.useContext(qn),n=e[e.length-1];return n?n.params:{}}function Dl(e,{relative:n}={}){let{matches:a}=D.useContext(qn),{pathname:r}=ea(),l=JSON.stringify(G1(a));return D.useMemo(()=>W1(e,JSON.parse(l),r,n==="path"),[e,l,r,n])}function BP(e,n){return Z1(e,n)}function Z1(e,n,a,r,l){Ke(Vl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=D.useContext(Wn),{matches:d}=D.useContext(qn),f=d[d.length-1],g=f?f.params:{},p=f?f.pathname:"/",m=f?f.pathnameBase:"/",y=f&&f.route;{let T=y&&y.path||"";J1(p,!y||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${T}">) 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="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let b=ea(),S;if(n){let T=typeof n=="string"?Yr(n):n;Ke(m==="/"||T.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 "${T.pathname}" was given in the \`location\` prop.`),S=T}else S=b;let C=S.pathname||"/",E=C;if(m!=="/"){let T=m.replace(/^\//,"").split("/");E="/"+C.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=U1(e,{pathname:E});jn(y||w!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),jn(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 N=$P(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},g,T.params),pathname:pi([m,c.encodeLocation?c.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?m:pi([m,c.encodeLocation?c.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),d,a,r,l);return n&&N?D.createElement(Il.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},N):N}function HP(){let e=XP(),n=IP(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=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=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:c},"ErrorBoundary")," or"," ",D.createElement("code",{style:c},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},n),a?D.createElement("pre",{style:l},a):null,d)}var FP=D.createElement(HP,null),UP=class extends D.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){this.props.unstable_onError?this.props.unstable_onError(e,n):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?D.createElement(qn.Provider,{value:this.props.routeContext},D.createElement(Fg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function jP({routeContext:e,match:n,children:a}){let r=D.useContext(Xr);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),D.createElement(qn.Provider,{value:e},a)}function $P(e,n=[],a=null,r=null,l=null){if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(n.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let c=e,d=a?.errors;if(d!=null){let p=c.findIndex(m=>m.route.id&&d?.[m.route.id]!==void 0);Ke(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),c=c.slice(0,Math.min(c.length,p+1))}let f=!1,g=-1;if(a)for(let p=0;p<c.length;p++){let m=c[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(g=p),m.route.id){let{loaderData:y,errors:b}=a,S=m.route.loader&&!y.hasOwnProperty(m.route.id)&&(!b||b[m.route.id]===void 0);if(m.route.lazy||S){f=!0,g>=0?c=c.slice(0,g+1):c=[c[0]];break}}}return c.reduceRight((p,m,y)=>{let b,S=!1,C=null,E=null;a&&(b=d&&m.route.id?d[m.route.id]:void 0,C=m.route.errorElement||FP,f&&(g<0&&y===0?(J1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,E=null):g===y&&(S=!0,E=m.route.hydrateFallbackElement||null)));let w=n.concat(c.slice(0,y+1)),N=()=>{let T;return b?T=C:S?T=E:m.route.Component?T=D.createElement(m.route.Component,null):m.route.element?T=m.route.element:T=p,D.createElement(jP,{match:m,routeContext:{outlet:p,matches:w,isDataRoute:a!=null},children:T})};return a&&(m.route.ErrorBoundary||m.route.errorElement||y===0)?D.createElement(UP,{location:a.location,revalidation:a.revalidation,component:C,error:b,children:N(),routeContext:{outlet:null,matches:w,isDataRoute:!0},unstable_onError:r}):N()},null)}function Ug(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function GP(e){let n=D.useContext(Xr);return Ke(n,Ug(e)),n}function WP(e){let n=D.useContext(gu);return Ke(n,Ug(e)),n}function qP(e){let n=D.useContext(qn);return Ke(n,Ug(e)),n}function jg(e){let n=qP(e),a=n.matches[n.matches.length-1];return Ke(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function YP(){return jg("useRouteId")}function XP(){let e=D.useContext(Fg),n=WP("useRouteError"),a=jg("useRouteError");return e!==void 0?e:n.errors?.[a]}function KP(){let{router:e}=GP("useNavigate"),n=jg("useNavigate"),a=D.useRef(!1);return K1(()=>{a.current=!0}),D.useCallback(async(l,c={})=>{jn(a.current,X1),a.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:n,...c}))},[e,n])}var K0={};function J1(e,n,a){!n&&!K0[e]&&(K0[e]=!0,jn(!1,a))}D.memo(QP);function QP({routes:e,future:n,state:a,unstable_onError:r}){return Z1(e,void 0,a,r,n)}function Sn(e){Ke(!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 ZP({basename:e="/",children:n=null,location:a,navigationType:r="POP",navigator:l,static:c=!1}){Ke(!Vl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=D.useMemo(()=>({basename:d,navigator:l,static:c,future:{}}),[d,l,c]);typeof a=="string"&&(a=Yr(a));let{pathname:g="/",search:p="",hash:m="",state:y=null,key:b="default"}=a,S=D.useMemo(()=>{let C=yi(g,d);return C==null?null:{location:{pathname:C,search:p,hash:m,state:y,key:b},navigationType:r}},[d,g,p,m,y,b,r]);return jn(S!=null,`<Router basename="${d}"> is not able to match the URL "${g}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:D.createElement(Wn.Provider,{value:f},D.createElement(Il.Provider,{children:n,value:S}))}function JP({children:e,location:n}){return BP(Uh(e),n)}function Uh(e,n=[]){let a=[];return D.Children.forEach(e,(r,l)=>{if(!D.isValidElement(r))return;let c=[...n,l];if(r.type===D.Fragment){a.push.apply(a,Uh(r.props.children,c));return}Ke(r.type===Sn,`[${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>`),Ke(!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=Uh(r.props.children,c)),a.push(d)}),a}var _c="get",zc="application/x-www-form-urlencoded";function pu(e){return e!=null&&typeof e.tagName=="string"}function e5(e){return pu(e)&&e.tagName.toLowerCase()==="button"}function t5(e){return pu(e)&&e.tagName.toLowerCase()==="form"}function n5(e){return pu(e)&&e.tagName.toLowerCase()==="input"}function i5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function a5(e,n){return e.button===0&&(!n||n==="_self")&&!i5(e)}var mc=null;function r5(){if(mc===null)try{new FormData(document.createElement("form"),0),mc=!1}catch{mc=!0}return mc}var o5=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ch(e){return e!=null&&!o5.has(e)?(jn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${zc}"`),null):e}function l5(e,n){let a,r,l,c,d;if(t5(e)){let f=e.getAttribute("action");r=f?yi(f,n):null,a=e.getAttribute("method")||_c,l=ch(e.getAttribute("enctype"))||zc,c=new FormData(e)}else if(e5(e)||n5(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=e.getAttribute("formaction")||f.getAttribute("action");if(r=g?yi(g,n):null,a=e.getAttribute("formmethod")||f.getAttribute("method")||_c,l=ch(e.getAttribute("formenctype"))||ch(f.getAttribute("enctype"))||zc,c=new FormData(f,e),!r5()){let{name:p,type:m,value:y}=e;if(m==="image"){let b=p?`${p}.`:"";c.append(`${b}x`,"0"),c.append(`${b}y`,"0")}else p&&c.append(p,y)}}else{if(pu(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=_c,r=null,l=zc,d=e}return c&&l==="text/plain"&&(d=c,c=void 0),{action:r,method:a.toLowerCase(),encType:l,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $g(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function s5(e,n,a){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${a}`:n&&yi(r.pathname,n)==="/"?r.pathname=`${n.replace(/\/$/,"")}/_root.${a}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${a}`,r}async function c5(e,n){if(e.id in n)return n[e.id];try{let a=await import(e.module);return n[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function u5(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 d5(e,n,a){let r=await Promise.all(e.map(async l=>{let c=n.routes[l.route.id];if(c){let d=await c5(c,a);return d.links?d.links():[]}return[]}));return p5(r.flat(1).filter(u5).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function Q0(e,n,a,r,l,c){let d=(g,p)=>a[p]?g.route.id!==a[p].route.id:!0,f=(g,p)=>a[p].pathname!==g.pathname||a[p].route.path?.endsWith("*")&&a[p].params["*"]!==g.params["*"];return c==="assets"?n.filter((g,p)=>d(g,p)||f(g,p)):c==="data"?n.filter((g,p)=>{let m=r.routes[g.route.id];if(!m||!m.hasLoader)return!1;if(d(g,p)||f(g,p))return!0;if(g.route.shouldRevalidate){let y=g.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function f5(e,n,{includeHydrateFallback:a}={}){return h5(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)),a&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function h5(e){return[...new Set(e)]}function g5(e){let n={},a=Object.keys(e).sort();for(let r of a)n[r]=e[r];return n}function p5(e,n){let a=new Set;return new Set(n),e.reduce((r,l)=>{let c=JSON.stringify(g5(l));return a.has(c)||(a.add(c),r.push({key:c,link:l})),r},[])}function eE(){let e=D.useContext(Xr);return $g(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function m5(){let e=D.useContext(gu);return $g(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Gg=D.createContext(void 0);Gg.displayName="FrameworkContext";function tE(){let e=D.useContext(Gg);return $g(e,"You must render this element inside a <HydratedRouter> element"),e}function v5(e,n){let a=D.useContext(Gg),[r,l]=D.useState(!1),[c,d]=D.useState(!1),{onFocus:f,onBlur:g,onMouseEnter:p,onMouseLeave:m,onTouchStart:y}=n,b=D.useRef(null);D.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let E=N=>{N.forEach(T=>{d(T.isIntersecting)})},w=new IntersectionObserver(E,{threshold:.5});return b.current&&w.observe(b.current),()=>{w.disconnect()}}},[e]),D.useEffect(()=>{if(r){let E=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(E)}}},[r]);let S=()=>{l(!0)},C=()=>{l(!1),d(!1)};return a?e!=="intent"?[c,b,{}]:[c,b,{onFocus:sl(f,S),onBlur:sl(g,C),onMouseEnter:sl(p,S),onMouseLeave:sl(m,C),onTouchStart:sl(y,S)}]:[!1,b,{}]}function sl(e,n){return a=>{e&&e(a),a.defaultPrevented||n(a)}}function b5({page:e,...n}){let{router:a}=eE(),r=D.useMemo(()=>U1(a.routes,e,a.basename),[a.routes,e,a.basename]);return r?D.createElement(x5,{page:e,matches:r,...n}):null}function y5(e){let{manifest:n,routeModules:a}=tE(),[r,l]=D.useState([]);return D.useEffect(()=>{let c=!1;return d5(e,n,a).then(d=>{c||l(d)}),()=>{c=!0}},[e,n,a]),r}function x5({page:e,matches:n,...a}){let r=ea(),{manifest:l,routeModules:c}=tE(),{basename:d}=eE(),{loaderData:f,matches:g}=m5(),p=D.useMemo(()=>Q0(e,n,g,l,r,"data"),[e,n,g,l,r]),m=D.useMemo(()=>Q0(e,n,g,l,r,"assets"),[e,n,g,l,r]),y=D.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let C=new Set,E=!1;if(n.forEach(N=>{let T=l.routes[N.route.id];!T||!T.hasLoader||(!p.some(R=>R.route.id===N.route.id)&&N.route.id in f&&c[N.route.id]?.shouldRevalidate||T.hasClientLoader?E=!0:C.add(N.route.id))}),C.size===0)return[];let w=s5(e,d,"data");return E&&C.size>0&&w.searchParams.set("_routes",n.filter(N=>C.has(N.route.id)).map(N=>N.route.id).join(",")),[w.pathname+w.search]},[d,f,r,l,p,n,e,c]),b=D.useMemo(()=>f5(m,l),[m,l]),S=y5(m);return D.createElement(D.Fragment,null,y.map(C=>D.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...a})),b.map(C=>D.createElement("link",{key:C,rel:"modulepreload",href:C,...a})),S.map(({key:C,link:E})=>D.createElement("link",{key:C,nonce:a.nonce,...E})))}function S5(...e){return n=>{e.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})}}var nE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{nE&&(window.__reactRouterVersion="7.8.2")}catch{}function E5({basename:e,children:n,window:a}){let r=D.useRef();r.current==null&&(r.current=uP({window:a,v5Compat:!0}));let l=r.current,[c,d]=D.useState({action:l.action,location:l.location}),f=D.useCallback(g=>{D.startTransition(()=>d(g))},[d]);return D.useLayoutEffect(()=>l.listen(f),[l,f]),D.createElement(ZP,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:l})}var iE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wg=D.forwardRef(function({onClick:n,discover:a="render",prefetch:r="none",relative:l,reloadDocument:c,replace:d,state:f,target:g,to:p,preventScrollReset:m,viewTransition:y,...b},S){let{basename:C}=D.useContext(Wn),E=typeof p=="string"&&iE.test(p),w,N=!1;if(typeof p=="string"&&E&&(w=p,nE))try{let M=new URL(window.location.href),$=p.startsWith("//")?new URL(M.protocol+p):new URL(p),ae=yi($.pathname,C);$.origin===M.origin&&ae!=null?p=ae+$.search+$.hash:N=!0}catch{jn(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let T=MP(p,{relative:l}),[R,F,A]=v5(r,b),Y=k5(p,{replace:d,state:f,target:g,preventScrollReset:m,relative:l,viewTransition:y});function U(M){n&&n(M),M.defaultPrevented||Y(M)}let z=D.createElement("a",{...b,...A,href:w||T,onClick:N||c?n:U,ref:S5(S,F),target:g,"data-discover":!E&&a==="render"?"true":void 0});return R&&!E?D.createElement(D.Fragment,null,z,D.createElement(b5,{page:T})):z});Wg.displayName="Link";var C5=D.forwardRef(function({"aria-current":n="page",caseSensitive:a=!1,className:r="",end:l=!1,style:c,to:d,viewTransition:f,children:g,...p},m){let y=Dl(d,{relative:p.relative}),b=ea(),S=D.useContext(gu),{navigator:C,basename:E}=D.useContext(Wn),w=S!=null&&_5(y)&&f===!0,N=C.encodeLocation?C.encodeLocation(y).pathname:y.pathname,T=b.pathname,R=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;a||(T=T.toLowerCase(),R=R?R.toLowerCase():null,N=N.toLowerCase()),R&&E&&(R=yi(R,E)||R);const F=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let A=T===N||!l&&T.startsWith(N)&&T.charAt(F)==="/",Y=R!=null&&(R===N||!l&&R.startsWith(N)&&R.charAt(N.length)==="/"),U={isActive:A,isPending:Y,isTransitioning:w},z=A?n:void 0,M;typeof r=="function"?M=r(U):M=[r,A?"active":null,Y?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let $=typeof c=="function"?c(U):c;return D.createElement(Wg,{...p,"aria-current":z,className:M,ref:m,style:$,to:d,viewTransition:f},typeof g=="function"?g(U):g)});C5.displayName="NavLink";var O5=D.forwardRef(({discover:e="render",fetcherKey:n,navigate:a,reloadDocument:r,replace:l,state:c,method:d=_c,action:f,onSubmit:g,relative:p,preventScrollReset:m,viewTransition:y,...b},S)=>{let C=N5(),E=A5(f,{relative:p}),w=d.toLowerCase()==="get"?"get":"post",N=typeof f=="string"&&iE.test(f),T=R=>{if(g&&g(R),R.defaultPrevented)return;R.preventDefault();let F=R.nativeEvent.submitter,A=F?.getAttribute("formmethod")||d;C(F||R.currentTarget,{fetcherKey:n,method:A,navigate:a,replace:l,state:c,relative:p,preventScrollReset:m,viewTransition:y})};return D.createElement("form",{ref:S,method:w,action:E,onSubmit:r?g:T,...b,"data-discover":!N&&e==="render"?"true":void 0})});O5.displayName="Form";function w5(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function aE(e){let n=D.useContext(Xr);return Ke(n,w5(e)),n}function k5(e,{target:n,replace:a,state:r,preventScrollReset:l,relative:c,viewTransition:d}={}){let f=Q1(),g=ea(),p=Dl(e,{relative:c});return D.useCallback(m=>{if(a5(m,n)){m.preventDefault();let y=a!==void 0?a:Ol(g)===Ol(p);f(e,{replace:y,state:r,preventScrollReset:l,relative:c,viewTransition:d})}},[g,f,p,a,r,n,e,l,c,d])}var T5=0,R5=()=>`__${String(++T5)}__`;function N5(){let{router:e}=aE("useSubmit"),{basename:n}=D.useContext(Wn),a=YP();return D.useCallback(async(r,l={})=>{let{action:c,method:d,encType:f,formData:g,body:p}=l5(r,n);if(l.navigate===!1){let m=l.fetcherKey||R5();await e.fetch(m,a,l.action||c,{preventScrollReset:l.preventScrollReset,formData:g,body:p,formMethod:l.method||d,formEncType:l.encType||f,flushSync:l.flushSync})}else await e.navigate(l.action||c,{preventScrollReset:l.preventScrollReset,formData:g,body:p,formMethod:l.method||d,formEncType:l.encType||f,replace:l.replace,state:l.state,fromRouteId:a,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,n,a])}function A5(e,{relative:n}={}){let{basename:a}=D.useContext(Wn),r=D.useContext(qn);Ke(r,"useFormAction must be used inside a RouteContext");let[l]=r.matches.slice(-1),c={...Dl(e||".",{relative:n})},d=ea();if(e==null){c.search=d.search;let f=new URLSearchParams(c.search),g=f.getAll("index");if(g.some(m=>m==="")){f.delete("index"),g.filter(y=>y).forEach(y=>f.append("index",y));let m=f.toString();c.search=m?`?${m}`:""}}return(!e||e===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:pi([a,c.pathname])),Ol(c)}function _5(e,{relative:n}={}){let a=D.useContext(Y1);Ke(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=aE("useViewTransitionState"),l=Dl(e,{relative:n});if(!a.isTransitioning)return!1;let c=yi(a.currentLocation.pathname,r)||a.currentLocation.pathname,d=yi(a.nextLocation.pathname,r)||a.nextLocation.pathname;return qc(l.pathname,d)!=null||qc(l.pathname,c)!=null}var mu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vu=typeof window>"u"||"Deno"in globalThis;function En(){}function z5(e,n){return typeof e=="function"?e(n):e}function I5(e){return typeof e=="number"&&e>=0&&e!==1/0}function V5(e,n){return Math.max(e+(n||0)-Date.now(),0)}function jh(e,n){return typeof e=="function"?e(n):e}function D5(e,n){return typeof e=="function"?e(n):e}function Z0(e,n){const{type:a="all",exact:r,fetchStatus:l,predicate:c,queryKey:d,stale:f}=e;if(d){if(r){if(n.queryHash!==qg(d,n.options))return!1}else if(!kl(n.queryKey,d))return!1}if(a!=="all"){const g=n.isActive();if(a==="active"&&!g||a==="inactive"&&g)return!1}return!(typeof f=="boolean"&&n.isStale()!==f||l&&l!==n.state.fetchStatus||c&&!c(n))}function J0(e,n){const{exact:a,status:r,predicate:l,mutationKey:c}=e;if(c){if(!n.options.mutationKey)return!1;if(a){if(wl(n.options.mutationKey)!==wl(c))return!1}else if(!kl(n.options.mutationKey,c))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function qg(e,n){return(n?.queryKeyHashFn||wl)(e)}function wl(e){return JSON.stringify(e,(n,a)=>$h(a)?Object.keys(a).sort().reduce((r,l)=>(r[l]=a[l],r),{}):a)}function kl(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?Object.keys(n).every(a=>kl(e[a],n[a])):!1}function rE(e,n){if(e===n)return e;const a=ex(e)&&ex(n);if(a||$h(e)&&$h(n)){const r=a?e:Object.keys(e),l=r.length,c=a?n:Object.keys(n),d=c.length,f=a?[]:{},g=new Set(r);let p=0;for(let m=0;m<d;m++){const y=a?m:c[m];(!a&&g.has(y)||a)&&e[y]===void 0&&n[y]===void 0?(f[y]=void 0,p++):(f[y]=rE(e[y],n[y]),f[y]===e[y]&&e[y]!==void 0&&p++)}return l===d&&p===l?e:f}return n}function VM(e,n){if(!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(const a in e)if(e[a]!==n[a])return!1;return!0}function ex(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $h(e){if(!tx(e))return!1;const n=e.constructor;if(n===void 0)return!0;const a=n.prototype;return!(!tx(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function tx(e){return Object.prototype.toString.call(e)==="[object Object]"}function P5(e){return new Promise(n=>{setTimeout(n,e)})}function M5(e,n,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,n):a.structuralSharing!==!1?rE(e,n):n}function L5(e,n,a=0){const r=[...e,n];return a&&r.length>a?r.slice(1):r}function B5(e,n,a=0){const r=[n,...e];return a&&r.length>a?r.slice(0,-1):r}var Yg=Symbol();function oE(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===Yg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function DM(e,n){return typeof e=="function"?e(...n):!!e}var H5=class extends mu{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!vu&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},lE=new H5,F5=class extends mu{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!vu&&window.addEventListener){const n=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Yc=new F5;function U5(){let e,n;const a=new Promise((l,c)=>{e=l,n=c});a.status="pending",a.catch(()=>{});function r(l){Object.assign(a,l),delete a.resolve,delete a.reject}return a.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},a.reject=l=>{r({status:"rejected",reason:l}),n(l)},a}function j5(e){return Math.min(1e3*2**e,3e4)}function sE(e){return(e??"online")==="online"?Yc.isOnline():!0}var cE=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function uE(e){let n=!1,a=0,r;const l=U5(),c=()=>l.status!=="pending",d=E=>{c()||(b(new cE(E)),e.abort?.())},f=()=>{n=!0},g=()=>{n=!1},p=()=>lE.isFocused()&&(e.networkMode==="always"||Yc.isOnline())&&e.canRun(),m=()=>sE(e.networkMode)&&e.canRun(),y=E=>{c()||(r?.(),l.resolve(E))},b=E=>{c()||(r?.(),l.reject(E))},S=()=>new Promise(E=>{r=w=>{(c()||p())&&E(w)},e.onPause?.()}).then(()=>{r=void 0,c()||e.onContinue?.()}),C=()=>{if(c())return;let E;const w=a===0?e.initialPromise:void 0;try{E=w??e.fn()}catch(N){E=Promise.reject(N)}Promise.resolve(E).then(y).catch(N=>{if(c())return;const T=e.retry??(vu?0:3),R=e.retryDelay??j5,F=typeof R=="function"?R(a,N):R,A=T===!0||typeof T=="number"&&a<T||typeof T=="function"&&T(a,N);if(n||!A){b(N);return}a++,e.onFail?.(a,N),P5(F).then(()=>p()?void 0:S()).then(()=>{n?b(N):C()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(r?.(),l),cancelRetry:f,continueRetry:g,canStart:m,start:()=>(m()?C():S().then(C),l)}}var $5=e=>setTimeout(e,0);function G5(){let e=[],n=0,a=f=>{f()},r=f=>{f()},l=$5;const c=f=>{n?e.push(f):l(()=>{a(f)})},d=()=>{const f=e;e=[],f.length&&l(()=>{r(()=>{f.forEach(g=>{a(g)})})})};return{batch:f=>{let g;n++;try{g=f()}finally{n--,n||d()}return g},batchCalls:f=>(...g)=>{c(()=>{f(...g)})},schedule:c,setNotifyFunction:f=>{a=f},setBatchNotifyFunction:f=>{r=f},setScheduler:f=>{l=f}}}var _t=G5(),dE=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),I5(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vu?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},W5=class extends dE{#e;#t;#n;#a;#i;#o;#l;constructor(e){super(),this.#l=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Y5(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,n){const a=M5(this.state.data,e,this.options);return this.#r({data:a,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),a}setState(e,n){this.#r({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#i?.promise;return this.#i?.cancel(e),n?n.then(En).catch(En):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>D5(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Yg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>jh(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!V5(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#i&&(this.#l?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#r({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(g=>g.options.queryFn);f&&this.setOptions(f.options)}const a=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#l=!0,a.signal)})},l=()=>{const f=oE(this.options,n),p=(()=>{const m={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(m),m})();return this.#l=!1,this.options.persister?this.options.persister(f,p,this):f(p)},d=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:l};return r(f),f})();this.options.behavior?.onFetch(d,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#r({type:"fetch",meta:d.fetchOptions?.meta}),this.#i=uE({initialPromise:n?.initialPromise,fn:d.fetchFn,abort:a.abort.bind(a),onFail:(f,g)=>{this.#r({type:"failed",failureCount:f,error:g})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const f=await this.#i.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#n.config.onSuccess?.(f,this),this.#n.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof cE){if(f.silent)return this.#i.promise;if(f.revert){if(this.setState({...this.#t,fetchStatus:"idle"}),this.state.data===void 0)throw f;return this.state.data}}throw this.#r({type:"error",error:f}),this.#n.config.onError?.(f,this),this.#n.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#r(e){const n=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...q5(a.data,this.options),fetchMeta:e.meta??null};case"success":const r={...a,data:e.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?r:void 0,r;case"error":const l=e.error;return{...a,error:l,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=n(this.state),_t.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function q5(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:sE(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Y5(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,a=n!==void 0,r=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:a?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var X5=class extends mu{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,n,a){const r=n.queryKey,l=n.queryHash??qg(r,n);let c=this.get(l);return c||(c=new W5({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(n),state:a,defaultOptions:e.getQueryDefaults(r)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){_t.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(a=>Z0(n,a))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(a=>Z0(e,a)):n}notify(e){_t.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){_t.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_t.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},K5=class extends dE{#e;#t;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||Q5(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(n=>n!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){const n=()=>{this.#a({type:"continue"})};this.#n=uE({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(l,c)=>{this.#a({type:"failed",failureCount:l,error:c})},onPause:()=>{this.#a({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const a=this.state.status==="pending",r=!this.#n.canStart();try{if(a)n();else{this.#a({type:"pending",variables:e,isPaused:r}),await this.#t.config.onMutate?.(e,this);const c=await this.options.onMutate?.(e);c!==this.state.context&&this.#a({type:"pending",context:c,variables:e,isPaused:r})}const l=await this.#n.start();return await this.#t.config.onSuccess?.(l,e,this.state.context,this),await this.options.onSuccess?.(l,e,this.state.context),await this.#t.config.onSettled?.(l,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(l,null,e,this.state.context),this.#a({type:"success",data:l}),l}catch(l){try{throw await this.#t.config.onError?.(l,e,this.state.context,this),await this.options.onError?.(l,e,this.state.context),await this.#t.config.onSettled?.(void 0,l,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,l,e,this.state.context),l}finally{this.#a({type:"error",error:l})}}finally{this.#t.runNext(this)}}#a(e){const n=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),_t.batch(()=>{this.#e.forEach(a=>{a.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function Q5(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Z5=class extends mu{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,n,a){const r=new K5({mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(n),state:a});return this.add(r),r}add(e){this.#e.add(e);const n=vc(e);if(typeof n=="string"){const a=this.#t.get(n);a?a.push(e):this.#t.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const n=vc(e);if(typeof n=="string"){const a=this.#t.get(n);if(a)if(a.length>1){const r=a.indexOf(e);r!==-1&&a.splice(r,1)}else a[0]===e&&this.#t.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=vc(e);if(typeof n=="string"){const r=this.#t.get(n)?.find(l=>l.state.status==="pending");return!r||r===e}else return!0}runNext(e){const n=vc(e);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){_t.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const n={exact:!0,...e};return this.getAll().find(a=>J0(n,a))}findAll(e={}){return this.getAll().filter(n=>J0(e,n))}notify(e){_t.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return _t.batch(()=>Promise.all(e.map(n=>n.continue().catch(En))))}};function vc(e){return e.options.scope?.id}function nx(e){return{onFetch:(n,a)=>{const r=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,c=n.state.data?.pages||[],d=n.state.data?.pageParams||[];let f={pages:[],pageParams:[]},g=0;const p=async()=>{let m=!1;const y=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(n.signal.aborted?m=!0:n.signal.addEventListener("abort",()=>{m=!0}),n.signal)})},b=oE(n.options,n.fetchOptions),S=async(C,E,w)=>{if(m)return Promise.reject();if(E==null&&C.pages.length)return Promise.resolve(C);const T=(()=>{const Y={client:n.client,queryKey:n.queryKey,pageParam:E,direction:w?"backward":"forward",meta:n.options.meta};return y(Y),Y})(),R=await b(T),{maxPages:F}=n.options,A=w?B5:L5;return{pages:A(C.pages,R,F),pageParams:A(C.pageParams,E,F)}};if(l&&c.length){const C=l==="backward",E=C?fE:Gh,w={pages:c,pageParams:d},N=E(r,w);f=await S(w,N,C)}else{const C=e??c.length;do{const E=g===0?d[0]??r.initialPageParam:Gh(r,f);if(g>0&&E==null)break;f=await S(f,E),g++}while(g<C)}return f};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},a):n.fetchFn=p}}}function Gh(e,{pages:n,pageParams:a}){const r=n.length-1;return n.length>0?e.getNextPageParam(n[r],n,a[r],a):void 0}function fE(e,{pages:n,pageParams:a}){return n.length>0?e.getPreviousPageParam?.(n[0],n,a[0],a):void 0}function PM(e,n){return n?Gh(e,n)!=null:!1}function MM(e,n){return!n||!e.getPreviousPageParam?!1:fE(e,n)!=null}var J5=class{#e;#t;#n;#a;#i;#o;#l;#r;constructor(e={}){this.#e=e.queryCache||new X5,this.#t=e.mutationCache||new Z5,this.#n=e.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#l=lE.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=Yc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#l?.(),this.#l=void 0,this.#r?.(),this.#r=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),a=this.#e.build(this,n),r=a.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(jh(n.staleTime,a))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:a})=>{const r=a.data;return[n,r]})}setQueryData(e,n,a){const r=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(r.queryHash)?.state.data,d=z5(n,c);if(d!==void 0)return this.#e.build(this,r).setData(d,{...a,manual:!0})}setQueriesData(e,n,a){return _t.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,n,a)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;_t.batch(()=>{n.findAll(e).forEach(a=>{n.remove(a)})})}resetQueries(e,n){const a=this.#e;return _t.batch(()=>(a.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},n)))}cancelQueries(e,n={}){const a={revert:!0,...n},r=_t.batch(()=>this.#e.findAll(e).map(l=>l.cancel(a)));return Promise.all(r).then(En).catch(En)}invalidateQueries(e,n={}){return _t.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const a={...n,cancelRefetch:n.cancelRefetch??!0},r=_t.batch(()=>this.#e.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,a);return a.throwOnError||(c=c.catch(En)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(r).then(En)}fetchQuery(e){const n=this.defaultQueryOptions(e);n.retry===void 0&&(n.retry=!1);const a=this.#e.build(this,n);return a.isStaleByTime(jh(n.staleTime,a))?a.fetch(n):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(En).catch(En)}fetchInfiniteQuery(e){return e.behavior=nx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(En).catch(En)}ensureInfiniteQueryData(e){return e.behavior=nx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yc.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,n){this.#a.set(wl(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#a.values()],a={};return n.forEach(r=>{kl(e,r.queryKey)&&Object.assign(a,r.defaultOptions)}),a}setMutationDefaults(e,n){this.#i.set(wl(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#i.values()],a={};return n.forEach(r=>{kl(e,r.mutationKey)&&Object.assign(a,r.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=qg(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Yg&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},hE=D.createContext(void 0),LM=e=>{const n=D.useContext(hE);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},eM=({client:e,children:n})=>(D.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),J.jsx(hE.Provider,{value:e,children:n}));const tM=()=>J.jsxs(oP,{maxWidth:"sm",textAlign:"center",mt:20,children:[J.jsx(hi,{fontSize:"6xl",fontWeight:"bold",mb:4,children:"404"}),J.jsx(hi,{fontSize:"2xl",fontWeight:"medium",mb:2,children:"Page Not Found"}),J.jsx(hi,{color:"fg.muted",mb:8,children:"Sorry, the page you are looking for does not exist."}),J.jsx(aP,{asChild:!0,colorPalette:"brand",size:"lg",children:J.jsx(Wg,{to:"/",children:"Go to Home"})})]}),nM=D.lazy(()=>xi(()=>import("./Welcome-D33rOKBc.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),iM=D.lazy(()=>xi(()=>import("./Status-SRPm28Cg.js"),__vite__mapDeps([7,1,2,4,8,9,10,6,3,11,12]))),aM=D.lazy(()=>xi(()=>import("./StatusDetail-DqXzi16U.js"),__vite__mapDeps([13,1,2,14,9,10,12,5,11,6]))),rM=D.lazy(()=>xi(()=>import("./Sources-CC5dBiir.js"),__vite__mapDeps([15,1,2,4,5,6,3,11,12,9]))),oM=D.lazy(()=>xi(()=>import("./TM-CUqywRKC.js"),__vite__mapDeps([16,1,2,4,17,9,12,10,5,6,8,3]))),lM=D.lazy(()=>xi(()=>import("./TMDetail-Bl4xHL_X.js"),__vite__mapDeps([18,1,2,14,9,10,12,5,11]))),sM=D.lazy(()=>xi(()=>import("./Providers-DUp_y6mi.js"),__vite__mapDeps([19,1,2,6,5,4,3]))),cM=D.lazy(()=>xi(()=>import("./Cart-jHOAGjwC.js"),__vite__mapDeps([20,6,2,5,3,9,10,17,12]))),uM=D.lazy(()=>xi(()=>import("./Job-vnJpBXcp.js"),__vite__mapDeps([21,1,2,3,9,5,6])));function Wi({children:e}){const n=Q1(),a=ea(),[r,l]=D.useState(0),c=()=>{try{const f=sessionStorage.getItem("tmCart");if(f){const g=JSON.parse(f),p=Object.values(g).reduce((m,y)=>Array.isArray(y)?m+y.length:m+(y.tus?y.tus.length:0),0);l(p)}else l(0)}catch{l(0)}};D.useEffect(()=>{c();const f=()=>c(),g=()=>c();return window.addEventListener("storage",f),window.addEventListener("cartUpdated",g),()=>{window.removeEventListener("storage",f),window.removeEventListener("cartUpdated",g)}},[]);const d=f=>f==="/"?a.pathname==="/":a.pathname.startsWith(f);return J.jsxs(mn,{minH:"100vh",bg:"bg.muted",children:[J.jsx(mn,{bg:"white",borderBottom:"1px",borderColor:"border.default",children:J.jsx(mn,{px:6,py:3,children:J.jsxs(pc,{align:"center",justify:"space-between",children:[J.jsxs(pc,{align:"center",gap:3,children:[J.jsx("img",{src:"/logo.svg",alt:"L10n Monster",width:"32",height:"32"}),J.jsx(QT,{size:"lg",color:"fg.default",children:"L10n Monster"})]}),J.jsxs(pc,{align:"center",gap:4,children:[J.jsx(mn,{cursor:"pointer",px:3,py:1,borderRadius:"md",bg:d("/")?"blue.subtle":"transparent",_hover:{bg:d("/")?"blue.subtle":"gray.subtle"},onClick:()=>n("/"),children:J.jsx(hi,{fontSize:"md",fontWeight:"medium",children:"Home"})}),J.jsx(mn,{cursor:"pointer",px:3,py:1,borderRadius:"md",bg:d("/status")?"blue.subtle":"transparent",_hover:{bg:d("/status")?"blue.subtle":"gray.subtle"},onClick:()=>n("/status"),children:J.jsx(hi,{fontSize:"md",fontWeight:"medium",children:"Status"})}),J.jsx(mn,{cursor:"pointer",px:3,py:1,borderRadius:"md",bg:d("/sources")?"blue.subtle":"transparent",_hover:{bg:d("/sources")?"blue.subtle":"gray.subtle"},onClick:()=>n("/sources"),children:J.jsx(hi,{fontSize:"md",fontWeight:"medium",children:"Sources"})}),J.jsx(mn,{cursor:"pointer",px:3,py:1,borderRadius:"md",bg:d("/tm")?"blue.subtle":"transparent",_hover:{bg:d("/tm")?"blue.subtle":"gray.subtle"},onClick:()=>n("/tm"),children:J.jsx(hi,{fontSize:"md",fontWeight:"medium",children:"TM"})}),J.jsx(mn,{cursor:"pointer",px:3,py:1,borderRadius:"md",bg:d("/providers")?"blue.subtle":"transparent",_hover:{bg:d("/providers")?"blue.subtle":"gray.subtle"},onClick:()=>n("/providers"),children:J.jsx(hi,{fontSize:"md",fontWeight:"medium",children:"Providers"})})]}),J.jsxs(pc,{align:"center",gap:2,px:3,py:1,bg:d("/cart")?"blue.subtle":r>0?"blue.muted":"gray.muted",borderRadius:"md",cursor:"pointer",_hover:{bg:"blue.subtle"},onClick:()=>n("/cart"),children:[J.jsx(mn,{fontSize:"lg",children:"🛒"}),J.jsxs(hi,{fontSize:"md",fontWeight:"medium",children:[r," ",r===1?"TU":"TUs"]})]})]})})}),J.jsx(D.Suspense,{fallback:J.jsx(mn,{display:"flex",justifyContent:"center",mt:10,children:J.jsx(Hg,{size:"xl"})}),children:e})]})}const dM=new J5({defaultOptions:{queries:{staleTime:300*1e3,gcTime:600*1e3}}});function fM(){return J.jsx(eM,{client:dM,children:J.jsx(E5,{children:J.jsx(D.Suspense,{fallback:J.jsx(mn,{display:"flex",justifyContent:"center",alignItems:"center",minH:"100vh",children:J.jsx(Hg,{size:"xl"})}),children:J.jsxs(JP,{children:[J.jsx(Sn,{path:"/job/:jobGuid",element:J.jsx(uM,{})}),J.jsx(Sn,{path:"/",element:J.jsx(Wi,{children:J.jsx(nM,{})})}),J.jsx(Sn,{path:"/status",element:J.jsx(Wi,{children:J.jsx(iM,{})})}),J.jsx(Sn,{path:"/status/:sourceLang/:targetLang",element:J.jsx(Wi,{children:J.jsx(aM,{})})}),J.jsx(Sn,{path:"/sources",element:J.jsx(Wi,{children:J.jsx(rM,{})})}),J.jsx(Sn,{path:"/tm",element:J.jsx(Wi,{children:J.jsx(oM,{})})}),J.jsx(Sn,{path:"/tm/:sourceLang/:targetLang",element:J.jsx(Wi,{children:J.jsx(lM,{})})}),J.jsx(Sn,{path:"/providers",element:J.jsx(Wi,{children:J.jsx(sM,{})})}),J.jsx(Sn,{path:"/cart",element:J.jsx(Wi,{children:J.jsx(cM,{})})}),J.jsx(Sn,{path:"*",element:J.jsx(tM,{})})]})})})})}const hM=jO.createRoot(document.getElementById("root"));hM.render(J.jsx(ix.StrictMode,{children:J.jsx($w,{value:ZD,children:J.jsx(lP,{children:J.jsx(fM,{})})})}));export{Tx as $,VM as A,mn as B,wl as C,Q5 as D,rk as E,pc as F,_t as G,LM as H,En as I,DM as J,RM as K,Wg as L,TM as M,vM as N,Bc as O,gg as P,Se as Q,ix as R,Hg as S,hi as T,ct as U,me as V,EM as W,SM as X,bx as Y,BO as Z,yM as _,AM as a,Nx as a0,XT as a1,bM as a2,pM as a3,Sx as a4,Rx as a5,Uf as a6,$f as a7,xM as a8,K_ as a9,Ki as aa,rg as ab,ig as ac,gM as ad,U5 as ae,D5 as af,jh as ag,vu as ah,I5 as ai,V5 as aj,lE as ak,q5 as al,M5 as am,Ur as b,NM as c,JD as d,IM as e,aP as f,Nl as g,MM as h,nx as i,J as j,PM as k,I2 as l,mM as m,CM as n,OM as o,ok as p,_M as q,D as r,zM as s,kM as t,Q1 as u,wM as v,Dc as w,ut as x,an as y,mu as z};