bun-ui-tests 1.0.0 → 1.0.2

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.
package/README.md CHANGED
@@ -1,115 +1,147 @@
1
- # 🧪 Bun Test UI
1
+ # Bun UI Test
2
2
 
3
- Uma interface visual moderna e bonita para rodar e visualizar seus testes Bun em tempo real.
3
+ [![npm version](https://img.shields.io/npm/v/bun-ui-tests.svg?style=flat-square)](https://www.npmjs.com/package/bun-ui-tests)
4
+ [![License](https://img.shields.io/npm/l/bun-ui-tests.svg?style=flat-square)](https://github.com/KillDarkness/Bun-UI-Test/blob/main/LICENSE)
5
+ [![Bun](https://img.shields.io/badge/Bun-%23000000.svg?style=flat-square&logo=bun&logoColor=white)](https://bun.sh)
4
6
 
5
- ![Tests](https://img.shields.io/badge/tests-passing-blue)
6
- ![Bun](https://img.shields.io/badge/bun-1.0+-blue)
7
- ![License](https://img.shields.io/badge/license-MIT-green)
7
+ A professional, real-time web interface for the Bun test runner.
8
8
 
9
- ## Features
9
+ Bun UI Test provides a streamlined dashboard to visualize test execution, debug failures with structured logging, and manage large test suites through an interactive WebSocket-based UI. It is designed to enhance the developer experience by offering granular control over test execution without leaving the browser.
10
10
 
11
- - 🎨 **Interface Moderna** - Design limpo com tema dark
12
- - ⚡ **Tempo Real** - Veja os testes rodando ao vivo via WebSocket
13
- - 🔍 **Busca Recursiva** - Encontra automaticamente todos os arquivos de teste no projeto
14
- - 📂 **Organização por Arquivo** - Testes agrupados por arquivo com expansão/colapso
15
- - ▶️ **Execução Seletiva** - Rode todos os testes, um arquivo específico, ou um teste individual
16
- - 📊 **Estatísticas** - Contador de testes passados, falhos e em execução
17
- - 🎯 **Suporte Completo** - Detecta `.test.ts`, `.spec.js`, `_test.tsx` e mais
18
- - 🚀 **Performance** - Backend compilado para máxima velocidade
11
+ ## Table of Contents
19
12
 
20
- ## 🚀 Instalação Rápida
13
+ - [Features](#features)
14
+ - [Prerequisites](#prerequisites)
15
+ - [Installation](#installation)
16
+ - [Usage](#usage)
17
+ - [Interface Overview](#interface-overview)
18
+ - [Architecture](#architecture)
19
+ - [Troubleshooting](#troubleshooting)
20
+ - [Contributing](#contributing)
21
+ - [License](#license)
21
22
 
22
- ```bash
23
- # Clone o repositório
24
- git clone <repo-url>
25
- cd buntestui
23
+ ## Features
24
+
25
+ - **Real-Time WebSocket Feedback**: Test results and logs are streamed instantly from the Bun runtime to the browser.
26
+ - **Granular Execution Control**: Run the entire suite, specific test files, or individual test cases with a single click.
27
+ - **Smart Error Formatting**: Automatically parses stack traces and assertion errors, grouping them into readable blocks.
28
+ - **Responsive Design**: Adaptive interface that works effectively on both desktop and mobile viewports.
29
+ - **Zero Configuration**: Automatically detects standard test file patterns (`.test.ts`, `.spec.js`, etc.) without requiring a config file.
30
+ - **Unified Server**: Runs the static frontend and WebSocket server on a single port (5050) for simplified networking.
31
+
32
+ ## Prerequisites
33
+
34
+ - **Bun Runtime**: v1.0.0 or higher.
35
+ - **Node.js**: Not required (this tool is Bun-native).
36
+
37
+ ## Installation
26
38
 
27
- # Instale globalmente
28
- bun link
39
+ ### Global Installation (Recommended)
29
40
 
30
- # Builde o projeto
31
- buntestui build
41
+ Install the package globally to use it across all your projects.
42
+
43
+ ```bash
44
+ # Using npm
45
+ npm install -g bun-ui-tests
46
+
47
+ # Using Bun
48
+ bun add -g bun-ui-tests
32
49
  ```
33
50
 
34
- ## 📖 Uso
51
+ ### Temporary Execution (bunx)
35
52
 
36
- ### Em qualquer projeto com testes Bun:
53
+ If you prefer not to install the package globally, you can run it on-demand:
37
54
 
38
55
  ```bash
39
- cd ~/meu-projeto
40
- buntestui run
56
+ bunx bun-ui-tests run
41
57
  ```
42
58
 
43
- Abra seu navegador em **http://localhost:3000** e veja a mágica acontecer! ✨
59
+ ## Usage
44
60
 
45
- ## 🎮 Comandos
61
+ Navigate to the root of your project (where your `package.json` is located) and execute the runner.
46
62
 
47
- | Comando | Descrição |
48
- |---------|-----------|
49
- | `buntestui build` | Builda o frontend (Vite) e backend (executável) |
50
- | `buntestui run` | Inicia o Test UI em modo produção (usa arquivos buildados) |
51
- | `buntestui dev` | Inicia em modo desenvolvimento (hot reload) |
52
- | `buntestui help` | Mostra ajuda |
63
+ ### Start the Dashboard
53
64
 
54
- ## 📋 Padrões de Teste Suportados
65
+ ```bash
66
+ bun-ui-tests run
67
+ ```
55
68
 
56
- O Bun Test UI detecta automaticamente:
69
+ The interface will be accessible at **http://localhost:5050**.
57
70
 
58
- - `*.test.ts` / `*.test.js` / `*.test.tsx` / `*.test.jsx`
59
- - `*.spec.ts` / `*.spec.js` / `*.spec.tsx` / `*.spec.jsx`
60
- - `*_test.ts` / `*_test.js` / `*_test.tsx` / `*_test.jsx`
61
- - `*_spec.ts` / `*_spec.js` / `*_spec.tsx` / `*_spec.jsx`
71
+ ### Development Mode
62
72
 
63
- ## 🏗️ Arquitetura
73
+ If you are contributing to the `bun-ui-tests` codebase itself, use the development mode to enable hot-reloading for the React frontend:
64
74
 
75
+ ```bash
76
+ bun-ui-tests dev
65
77
  ```
66
- ┌─────────────┐ WebSocket ┌─────────────┐
67
- │ │ (port 5060) │ │
68
- │ Frontend │◄─────────────────────────►│ Backend │
69
- │ (React) │ │ (Bun) │
70
- │ port 5050 │ │ │
71
- └─────────────┘ └─────────────┘
72
-
73
-
74
- ┌──────────────┐
75
- │ bun test │
76
- │ (spawned) │
77
- └──────────────┘
78
- ```
79
78
 
80
- - **Frontend**: React + Vite + Tailwind CSS
81
- - **Backend**: Bun native WebSocket + process spawning
82
- - **Comunicação**: WebSocket em tempo real
83
- - **Compilado**: Executável standalone (~93MB)
79
+ ## Interface Overview
80
+
81
+ The dashboard is divided into two primary panels:
82
+
83
+ ### 1. Test Explorer (Left Panel)
84
+ Displays a hierarchical view of all detected test files.
85
+ - **File Status Indicators**: Visual cues for passed (Green), failed (Red), or running (Yellow) states.
86
+ - **Expand/Collapse**: Group tests by file to reduce noise.
87
+ - **Individual Triggers**: Click the "Play" icon next to any file or specific test case to run only that scope.
88
+
89
+ ### 2. Execution Log (Right Panel)
90
+ A live console output window.
91
+ - **Structured Logging**: Standard stdout/stderr streams are captured.
92
+ - **Error Blocks**: Stack traces and failure details are highlighted in red blocks for immediate visibility.
93
+ - **Auto-Scroll**: The view automatically follows the latest output during execution.
84
94
 
85
- ## 🎨 Interface
95
+ ## Architecture
86
96
 
87
- A interface possui:
97
+ This tool uses a decoupled architecture to ensure stability and performance:
88
98
 
89
- - **Painel de Testes**: Lista de arquivos e testes com status visual
90
- - **Painel de Output**: Logs em tempo real com syntax highlighting
91
- - **Header**: Estatísticas e controles de execução
92
- - **Design Responsivo**: Funciona em mobile e desktop
99
+ 1. **CLI Entry Point**: The `bun-ui-tests` command starts a Bun-native HTTP server.
100
+ 2. **Process Management**: When a test run is triggered, the server spawns a child process executing the native `bun test` command.
101
+ 3. **Stream Parsing**: The stdout and stderr streams from the child process are intercepted and parsed in real-time to identify test lifecycle events (start, pass, fail).
102
+ 4. **WebSocket Broadcast**: Parsed events are serialized and sent to the React frontend via WebSocket.
93
103
 
94
- ### Cores:
104
+ This approach ensures that `bun-ui-tests` remains compatible with all standard Bun testing features, as it acts as a wrapper around the native runner rather than replacing it.
95
105
 
96
- - 🔵 **Azul**: Testes passando, status conectado
97
- - 🟢 **Verde**: Logs de sucesso `(pass)`
98
- - 🔴 **Vermelho**: Testes falhando, erros
99
- - 🟡 **Amarelo**: Testes em execução
106
+ ## Troubleshooting
107
+
108
+ ### Port Conflicts
109
+ The application attempts to bind to port **5050**. If this port is in use, the application will fail to start. Ensure port 5050 is free before running the tool.
110
+
111
+ ```bash
112
+ # Check port usage on Linux/macOS
113
+ lsof -i :5050
114
+ ```
100
115
 
101
- ## 📚 Documentação Completa
116
+ ### No Tests Found
117
+ If the dashboard shows "No test files found", ensure:
118
+ 1. You are running the command from the project root.
119
+ 2. Your test files match standard patterns (e.g., `*.test.ts`, `*.spec.js`).
120
+ 3. Your test files are not inside `node_modules` or `dist` folders.
102
121
 
103
- Veja [INSTALL.md](./INSTALL.md) para instruções detalhadas de instalação e uso.
122
+ ## Contributing
104
123
 
105
- ## 🤝 Contribuindo
124
+ Contributions are welcome. Please follow these steps to set up your local development environment:
106
125
 
107
- Contribuições são bem-vindas! Sinta-se livre para abrir issues e pull requests.
126
+ 1. Clone the repository:
127
+ ```bash
128
+ git clone https://github.com/KillDarkness/Bun-UI-Test.git
129
+ ```
130
+ 2. Install dependencies:
131
+ ```bash
132
+ bun install
133
+ cd app && bun install
134
+ ```
135
+ 3. Start the development server:
136
+ ```bash
137
+ bun run dev
138
+ ```
108
139
 
109
- ## 📄 Licença
140
+ ## Links
110
141
 
111
- MIT
142
+ - **GitHub Repository**: [https://github.com/KillDarkness/Bun-UI-Test](https://github.com/KillDarkness/Bun-UI-Test)
143
+ - **NPM Package**: [https://www.npmjs.com/package/bun-ui-tests](https://www.npmjs.com/package/bun-ui-tests)
112
144
 
113
- ## 🙏 Agradecimentos
145
+ ## License
114
146
 
115
- Feito com ❤️ para a comunidade Bun
147
+ This project is licensed under the MIT License.
@@ -0,0 +1,16 @@
1
+ (function(){const yl=document.createElement("link").relList;if(yl&&yl.supports&&yl.supports("modulepreload"))return;for(const X of document.querySelectorAll('link[rel="modulepreload"]'))y(X);new MutationObserver(X=>{for(const k of X)if(k.type==="childList")for(const ul of k.addedNodes)ul.tagName==="LINK"&&ul.rel==="modulepreload"&&y(ul)}).observe(document,{childList:!0,subtree:!0});function L(X){const k={};return X.integrity&&(k.integrity=X.integrity),X.referrerPolicy&&(k.referrerPolicy=X.referrerPolicy),X.crossOrigin==="use-credentials"?k.credentials="include":X.crossOrigin==="anonymous"?k.credentials="omit":k.credentials="same-origin",k}function y(X){if(X.ep)return;X.ep=!0;const k=L(X);fetch(X.href,k)}})();var ff={exports:{}},bu={};var b0;function Ir(){if(b0)return bu;b0=1;var A=Symbol.for("react.transitional.element"),yl=Symbol.for("react.fragment");function L(y,X,k){var ul=null;if(k!==void 0&&(ul=""+k),X.key!==void 0&&(ul=""+X.key),"key"in X){k={};for(var jl in X)jl!=="key"&&(k[jl]=X[jl])}else k=X;return X=k.ref,{$$typeof:A,type:y,key:ul,ref:X!==void 0?X:null,props:k}}return bu.Fragment=yl,bu.jsx=L,bu.jsxs=L,bu}var p0;function Pr(){return p0||(p0=1,ff.exports=Ir()),ff.exports}var g=Pr(),sf={exports:{}},G={};var z0;function lh(){if(z0)return G;z0=1;var A=Symbol.for("react.transitional.element"),yl=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),ul=Symbol.for("react.context"),jl=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),nl=Symbol.iterator;function Bl(o){return o===null||typeof o!="object"?null:(o=nl&&o[nl]||o["@@iterator"],typeof o=="function"?o:null)}var ql={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Dl=Object.assign,At={};function Jl(o,b,E){this.props=o,this.context=b,this.refs=At,this.updater=E||ql}Jl.prototype.isReactComponent={},Jl.prototype.setState=function(o,b){if(typeof o!="object"&&typeof o!="function"&&o!=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,o,b,"setState")},Jl.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function Mt(){}Mt.prototype=Jl.prototype;function _l(o,b,E){this.props=o,this.context=b,this.refs=At,this.updater=E||ql}var Ul=_l.prototype=new Mt;Ul.constructor=_l,Dl(Ul,Jl.prototype),Ul.isPureReactComponent=!0;var wl=Array.isArray;function Ll(){}var V={H:null,A:null,T:null,S:null},Vl=Object.prototype.hasOwnProperty;function rt(o,b,E){var _=E.ref;return{$$typeof:A,type:o,key:b,ref:_!==void 0?_:null,props:E}}function C(o,b){return rt(o.type,b,o.props)}function I(o){return typeof o=="object"&&o!==null&&o.$$typeof===A}function N(o){var b={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(E){return b[E]})}var rl=/\/+/g;function Sl(o,b){return typeof o=="object"&&o!==null&&o.key!=null?N(""+o.key):b.toString(36)}function Hl(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(Ll,Ll):(o.status="pending",o.then(function(b){o.status==="pending"&&(o.status="fulfilled",o.value=b)},function(b){o.status==="pending"&&(o.status="rejected",o.reason=b)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function m(o,b,E,_,U){var Y=typeof o;(Y==="undefined"||Y==="boolean")&&(o=null);var P=!1;if(o===null)P=!0;else switch(Y){case"bigint":case"string":case"number":P=!0;break;case"object":switch(o.$$typeof){case A:case yl:P=!0;break;case F:return P=o._init,m(P(o._payload),b,E,_,U)}}if(P)return U=U(o),P=_===""?"."+Sl(o,0):_,wl(U)?(E="",P!=null&&(E=P.replace(rl,"$&/")+"/"),m(U,b,E,"",function(Ma){return Ma})):U!=null&&(I(U)&&(U=C(U,E+(U.key==null||o&&o.key===U.key?"":(""+U.key).replace(rl,"$&/")+"/")+P)),b.push(U)),1;P=0;var Wl=_===""?".":_+":";if(wl(o))for(var zl=0;zl<o.length;zl++)_=o[zl],Y=Wl+Sl(_,zl),P+=m(_,b,E,Y,U);else if(zl=Bl(o),typeof zl=="function")for(o=zl.call(o),zl=0;!(_=o.next()).done;)_=_.value,Y=Wl+Sl(_,zl++),P+=m(_,b,E,Y,U);else if(Y==="object"){if(typeof o.then=="function")return m(Hl(o),b,E,_,U);throw b=String(o),Error("Objects are not valid as a React child (found: "+(b==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.")}return P}function M(o,b,E){if(o==null)return o;var _=[],U=0;return m(o,_,"","",function(Y){return b.call(E,Y,U++)}),_}function B(o){if(o._status===-1){var b=o._result;b=b(),b.then(function(E){(o._status===0||o._status===-1)&&(o._status=1,o._result=E)},function(E){(o._status===0||o._status===-1)&&(o._status=2,o._result=E)}),o._status===-1&&(o._status=0,o._result=b)}if(o._status===1)return o._result.default;throw o._result}var ll=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(b))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},fl={map:M,forEach:function(o,b,E){M(o,function(){b.apply(this,arguments)},E)},count:function(o){var b=0;return M(o,function(){b++}),b},toArray:function(o){return M(o,function(b){return b})||[]},only:function(o){if(!I(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return G.Activity=H,G.Children=fl,G.Component=Jl,G.Fragment=L,G.Profiler=X,G.PureComponent=_l,G.StrictMode=y,G.Suspense=D,G.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,G.__COMPILER_RUNTIME={__proto__:null,c:function(o){return V.H.useMemoCache(o)}},G.cache=function(o){return function(){return o.apply(null,arguments)}},G.cacheSignal=function(){return null},G.cloneElement=function(o,b,E){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var _=Dl({},o.props),U=o.key;if(b!=null)for(Y in b.key!==void 0&&(U=""+b.key),b)!Vl.call(b,Y)||Y==="key"||Y==="__self"||Y==="__source"||Y==="ref"&&b.ref===void 0||(_[Y]=b[Y]);var Y=arguments.length-2;if(Y===1)_.children=E;else if(1<Y){for(var P=Array(Y),Wl=0;Wl<Y;Wl++)P[Wl]=arguments[Wl+2];_.children=P}return rt(o.type,U,_)},G.createContext=function(o){return o={$$typeof:ul,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:k,_context:o},o},G.createElement=function(o,b,E){var _,U={},Y=null;if(b!=null)for(_ in b.key!==void 0&&(Y=""+b.key),b)Vl.call(b,_)&&_!=="key"&&_!=="__self"&&_!=="__source"&&(U[_]=b[_]);var P=arguments.length-2;if(P===1)U.children=E;else if(1<P){for(var Wl=Array(P),zl=0;zl<P;zl++)Wl[zl]=arguments[zl+2];U.children=Wl}if(o&&o.defaultProps)for(_ in P=o.defaultProps,P)U[_]===void 0&&(U[_]=P[_]);return rt(o,Y,U)},G.createRef=function(){return{current:null}},G.forwardRef=function(o){return{$$typeof:jl,render:o}},G.isValidElement=I,G.lazy=function(o){return{$$typeof:F,_payload:{_status:-1,_result:o},_init:B}},G.memo=function(o,b){return{$$typeof:T,type:o,compare:b===void 0?null:b}},G.startTransition=function(o){var b=V.T,E={};V.T=E;try{var _=o(),U=V.S;U!==null&&U(E,_),typeof _=="object"&&_!==null&&typeof _.then=="function"&&_.then(Ll,ll)}catch(Y){ll(Y)}finally{b!==null&&E.types!==null&&(b.types=E.types),V.T=b}},G.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},G.use=function(o){return V.H.use(o)},G.useActionState=function(o,b,E){return V.H.useActionState(o,b,E)},G.useCallback=function(o,b){return V.H.useCallback(o,b)},G.useContext=function(o){return V.H.useContext(o)},G.useDebugValue=function(){},G.useDeferredValue=function(o,b){return V.H.useDeferredValue(o,b)},G.useEffect=function(o,b){return V.H.useEffect(o,b)},G.useEffectEvent=function(o){return V.H.useEffectEvent(o)},G.useId=function(){return V.H.useId()},G.useImperativeHandle=function(o,b,E){return V.H.useImperativeHandle(o,b,E)},G.useInsertionEffect=function(o,b){return V.H.useInsertionEffect(o,b)},G.useLayoutEffect=function(o,b){return V.H.useLayoutEffect(o,b)},G.useMemo=function(o,b){return V.H.useMemo(o,b)},G.useOptimistic=function(o,b){return V.H.useOptimistic(o,b)},G.useReducer=function(o,b,E){return V.H.useReducer(o,b,E)},G.useRef=function(o){return V.H.useRef(o)},G.useState=function(o){return V.H.useState(o)},G.useSyncExternalStore=function(o,b,E){return V.H.useSyncExternalStore(o,b,E)},G.useTransition=function(){return V.H.useTransition()},G.version="19.2.3",G}var x0;function yf(){return x0||(x0=1,sf.exports=lh()),sf.exports}var Et=yf(),of={exports:{}},pu={},df={exports:{}},mf={};var T0;function th(){return T0||(T0=1,(function(A){function yl(m,M){var B=m.length;m.push(M);l:for(;0<B;){var ll=B-1>>>1,fl=m[ll];if(0<X(fl,M))m[ll]=M,m[B]=fl,B=ll;else break l}}function L(m){return m.length===0?null:m[0]}function y(m){if(m.length===0)return null;var M=m[0],B=m.pop();if(B!==M){m[0]=B;l:for(var ll=0,fl=m.length,o=fl>>>1;ll<o;){var b=2*(ll+1)-1,E=m[b],_=b+1,U=m[_];if(0>X(E,B))_<fl&&0>X(U,E)?(m[ll]=U,m[_]=B,ll=_):(m[ll]=E,m[b]=B,ll=b);else if(_<fl&&0>X(U,B))m[ll]=U,m[_]=B,ll=_;else break l}}return M}function X(m,M){var B=m.sortIndex-M.sortIndex;return B!==0?B:m.id-M.id}if(A.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var k=performance;A.unstable_now=function(){return k.now()}}else{var ul=Date,jl=ul.now();A.unstable_now=function(){return ul.now()-jl}}var D=[],T=[],F=1,H=null,nl=3,Bl=!1,ql=!1,Dl=!1,At=!1,Jl=typeof setTimeout=="function"?setTimeout:null,Mt=typeof clearTimeout=="function"?clearTimeout:null,_l=typeof setImmediate<"u"?setImmediate:null;function Ul(m){for(var M=L(T);M!==null;){if(M.callback===null)y(T);else if(M.startTime<=m)y(T),M.sortIndex=M.expirationTime,yl(D,M);else break;M=L(T)}}function wl(m){if(Dl=!1,Ul(m),!ql)if(L(D)!==null)ql=!0,Ll||(Ll=!0,N());else{var M=L(T);M!==null&&Hl(wl,M.startTime-m)}}var Ll=!1,V=-1,Vl=5,rt=-1;function C(){return At?!0:!(A.unstable_now()-rt<Vl)}function I(){if(At=!1,Ll){var m=A.unstable_now();rt=m;var M=!0;try{l:{ql=!1,Dl&&(Dl=!1,Mt(V),V=-1),Bl=!0;var B=nl;try{t:{for(Ul(m),H=L(D);H!==null&&!(H.expirationTime>m&&C());){var ll=H.callback;if(typeof ll=="function"){H.callback=null,nl=H.priorityLevel;var fl=ll(H.expirationTime<=m);if(m=A.unstable_now(),typeof fl=="function"){H.callback=fl,Ul(m),M=!0;break t}H===L(D)&&y(D),Ul(m)}else y(D);H=L(D)}if(H!==null)M=!0;else{var o=L(T);o!==null&&Hl(wl,o.startTime-m),M=!1}}break l}finally{H=null,nl=B,Bl=!1}M=void 0}}finally{M?N():Ll=!1}}}var N;if(typeof _l=="function")N=function(){_l(I)};else if(typeof MessageChannel<"u"){var rl=new MessageChannel,Sl=rl.port2;rl.port1.onmessage=I,N=function(){Sl.postMessage(null)}}else N=function(){Jl(I,0)};function Hl(m,M){V=Jl(function(){m(A.unstable_now())},M)}A.unstable_IdlePriority=5,A.unstable_ImmediatePriority=1,A.unstable_LowPriority=4,A.unstable_NormalPriority=3,A.unstable_Profiling=null,A.unstable_UserBlockingPriority=2,A.unstable_cancelCallback=function(m){m.callback=null},A.unstable_forceFrameRate=function(m){0>m||125<m?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Vl=0<m?Math.floor(1e3/m):5},A.unstable_getCurrentPriorityLevel=function(){return nl},A.unstable_next=function(m){switch(nl){case 1:case 2:case 3:var M=3;break;default:M=nl}var B=nl;nl=M;try{return m()}finally{nl=B}},A.unstable_requestPaint=function(){At=!0},A.unstable_runWithPriority=function(m,M){switch(m){case 1:case 2:case 3:case 4:case 5:break;default:m=3}var B=nl;nl=m;try{return M()}finally{nl=B}},A.unstable_scheduleCallback=function(m,M,B){var ll=A.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?ll+B:ll):B=ll,m){case 1:var fl=-1;break;case 2:fl=250;break;case 5:fl=1073741823;break;case 4:fl=1e4;break;default:fl=5e3}return fl=B+fl,m={id:F++,callback:M,priorityLevel:m,startTime:B,expirationTime:fl,sortIndex:-1},B>ll?(m.sortIndex=B,yl(T,m),L(D)===null&&m===L(T)&&(Dl?(Mt(V),V=-1):Dl=!0,Hl(wl,B-ll))):(m.sortIndex=fl,yl(D,m),ql||Bl||(ql=!0,Ll||(Ll=!0,N()))),m},A.unstable_shouldYield=C,A.unstable_wrapCallback=function(m){var M=nl;return function(){var B=nl;nl=M;try{return m.apply(this,arguments)}finally{nl=B}}}})(mf)),mf}var E0;function eh(){return E0||(E0=1,df.exports=th()),df.exports}var rf={exports:{}},Kl={};var A0;function ah(){if(A0)return Kl;A0=1;var A=yf();function yl(D){var T="https://react.dev/errors/"+D;if(1<arguments.length){T+="?args[]="+encodeURIComponent(arguments[1]);for(var F=2;F<arguments.length;F++)T+="&args[]="+encodeURIComponent(arguments[F])}return"Minified React error #"+D+"; visit "+T+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function L(){}var y={d:{f:L,r:function(){throw Error(yl(522))},D:L,C:L,L,m:L,X:L,S:L,M:L},p:0,findDOMNode:null},X=Symbol.for("react.portal");function k(D,T,F){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:H==null?null:""+H,children:D,containerInfo:T,implementation:F}}var ul=A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function jl(D,T){if(D==="font")return"";if(typeof T=="string")return T==="use-credentials"?T:""}return Kl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,Kl.createPortal=function(D,T){var F=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!T||T.nodeType!==1&&T.nodeType!==9&&T.nodeType!==11)throw Error(yl(299));return k(D,T,null,F)},Kl.flushSync=function(D){var T=ul.T,F=y.p;try{if(ul.T=null,y.p=2,D)return D()}finally{ul.T=T,y.p=F,y.d.f()}},Kl.preconnect=function(D,T){typeof D=="string"&&(T?(T=T.crossOrigin,T=typeof T=="string"?T==="use-credentials"?T:"":void 0):T=null,y.d.C(D,T))},Kl.prefetchDNS=function(D){typeof D=="string"&&y.d.D(D)},Kl.preinit=function(D,T){if(typeof D=="string"&&T&&typeof T.as=="string"){var F=T.as,H=jl(F,T.crossOrigin),nl=typeof T.integrity=="string"?T.integrity:void 0,Bl=typeof T.fetchPriority=="string"?T.fetchPriority:void 0;F==="style"?y.d.S(D,typeof T.precedence=="string"?T.precedence:void 0,{crossOrigin:H,integrity:nl,fetchPriority:Bl}):F==="script"&&y.d.X(D,{crossOrigin:H,integrity:nl,fetchPriority:Bl,nonce:typeof T.nonce=="string"?T.nonce:void 0})}},Kl.preinitModule=function(D,T){if(typeof D=="string")if(typeof T=="object"&&T!==null){if(T.as==null||T.as==="script"){var F=jl(T.as,T.crossOrigin);y.d.M(D,{crossOrigin:F,integrity:typeof T.integrity=="string"?T.integrity:void 0,nonce:typeof T.nonce=="string"?T.nonce:void 0})}}else T==null&&y.d.M(D)},Kl.preload=function(D,T){if(typeof D=="string"&&typeof T=="object"&&T!==null&&typeof T.as=="string"){var F=T.as,H=jl(F,T.crossOrigin);y.d.L(D,F,{crossOrigin:H,integrity:typeof T.integrity=="string"?T.integrity:void 0,nonce:typeof T.nonce=="string"?T.nonce:void 0,type:typeof T.type=="string"?T.type:void 0,fetchPriority:typeof T.fetchPriority=="string"?T.fetchPriority:void 0,referrerPolicy:typeof T.referrerPolicy=="string"?T.referrerPolicy:void 0,imageSrcSet:typeof T.imageSrcSet=="string"?T.imageSrcSet:void 0,imageSizes:typeof T.imageSizes=="string"?T.imageSizes:void 0,media:typeof T.media=="string"?T.media:void 0})}},Kl.preloadModule=function(D,T){if(typeof D=="string")if(T){var F=jl(T.as,T.crossOrigin);y.d.m(D,{as:typeof T.as=="string"&&T.as!=="script"?T.as:void 0,crossOrigin:F,integrity:typeof T.integrity=="string"?T.integrity:void 0})}else y.d.m(D)},Kl.requestFormReset=function(D){y.d.r(D)},Kl.unstable_batchedUpdates=function(D,T){return D(T)},Kl.useFormState=function(D,T,F){return ul.H.useFormState(D,T,F)},Kl.useFormStatus=function(){return ul.H.useHostTransitionStatus()},Kl.version="19.2.3",Kl}var M0;function uh(){if(M0)return rf.exports;M0=1;function A(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(A)}catch(yl){console.error(yl)}}return A(),rf.exports=ah(),rf.exports}var N0;function nh(){if(N0)return pu;N0=1;var A=eh(),yl=yf(),L=uh();function y(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function X(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function k(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function ul(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function jl(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function D(l){if(k(l)!==l)throw Error(y(188))}function T(l){var t=l.alternate;if(!t){if(t=k(l),t===null)throw Error(y(188));return t!==l?null:l}for(var e=l,a=t;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return D(u),l;if(n===a)return D(u),t;n=n.sibling}throw Error(y(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(y(189))}}if(e.alternate!==a)throw Error(y(190))}if(e.tag!==3)throw Error(y(188));return e.stateNode.current===e?l:t}function F(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=F(l),t!==null)return t;l=l.sibling}return null}var H=Object.assign,nl=Symbol.for("react.element"),Bl=Symbol.for("react.transitional.element"),ql=Symbol.for("react.portal"),Dl=Symbol.for("react.fragment"),At=Symbol.for("react.strict_mode"),Jl=Symbol.for("react.profiler"),Mt=Symbol.for("react.consumer"),_l=Symbol.for("react.context"),Ul=Symbol.for("react.forward_ref"),wl=Symbol.for("react.suspense"),Ll=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),Vl=Symbol.for("react.lazy"),rt=Symbol.for("react.activity"),C=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function N(l){return l===null||typeof l!="object"?null:(l=I&&l[I]||l["@@iterator"],typeof l=="function"?l:null)}var rl=Symbol.for("react.client.reference");function Sl(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===rl?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Dl:return"Fragment";case Jl:return"Profiler";case At:return"StrictMode";case wl:return"Suspense";case Ll:return"SuspenseList";case rt:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case ql:return"Portal";case _l:return l.displayName||"Context";case Mt:return(l._context.displayName||"Context")+".Consumer";case Ul:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case V:return t=l.displayName||null,t!==null?t:Sl(l.type)||"Memo";case Vl:t=l._payload,l=l._init;try{return Sl(l(t))}catch{}}return null}var Hl=Array.isArray,m=yl.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=L.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},ll=[],fl=-1;function o(l){return{current:l}}function b(l){0>fl||(l.current=ll[fl],ll[fl]=null,fl--)}function E(l,t){fl++,ll[fl]=l.current,l.current=t}var _=o(null),U=o(null),Y=o(null),P=o(null);function Wl(l,t){switch(E(Y,t),E(U,l),E(_,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Zd(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Zd(t),l=Ld(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}b(_),E(_,l)}function zl(){b(_),b(U),b(Y)}function Ma(l){l.memoizedState!==null&&E(P,l);var t=_.current,e=Ld(t,l.type);t!==e&&(E(U,l),E(_,e))}function zu(l){U.current===l&&(b(_),b(U)),P.current===l&&(b(P),vu._currentValue=B)}var Ln,gf;function Te(l){if(Ln===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ln=t&&t[1]||"",gf=-1<e.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Ln+l+gf}var Vn=!1;function Kn(l,t){if(!l||Vn)return"";Vn=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(S){var v=S}Reflect.construct(l,[],x)}else{try{x.call()}catch(S){v=S}l.call(x.prototype)}}else{try{throw Error()}catch(S){v=S}(x=l())&&typeof x.catch=="function"&&x.catch(function(){})}}catch(S){if(S&&v&&typeof S.stack=="string")return[S.stack,v.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var f=i.split(`
4
+ `),h=c.split(`
5
+ `);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<h.length&&!h[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===h.length)for(a=f.length-1,u=h.length-1;1<=a&&0<=u&&f[a]!==h[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==h[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==h[u]){var p=`
6
+ `+f[a].replace(" at new "," at ");return l.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",l.displayName)),p}while(1<=a&&0<=u);break}}}finally{Vn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Te(e):""}function O0(l,t){switch(l.tag){case 26:case 27:case 5:return Te(l.type);case 16:return Te("Lazy");case 13:return l.child!==t&&t!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Kn(l.type,!1);case 11:return Kn(l.type.render,!1);case 1:return Kn(l.type,!0);case 31:return Te("Activity");default:return""}}function Sf(l){try{var t="",e=null;do t+=O0(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
7
+ Error generating stack: `+a.message+`
8
+ `+a.stack}}var Jn=Object.prototype.hasOwnProperty,wn=A.unstable_scheduleCallback,Wn=A.unstable_cancelCallback,j0=A.unstable_shouldYield,D0=A.unstable_requestPaint,at=A.unstable_now,U0=A.unstable_getCurrentPriorityLevel,bf=A.unstable_ImmediatePriority,pf=A.unstable_UserBlockingPriority,xu=A.unstable_NormalPriority,H0=A.unstable_LowPriority,zf=A.unstable_IdlePriority,C0=A.log,R0=A.unstable_setDisableYieldValue,Na=null,ut=null;function It(l){if(typeof C0=="function"&&R0(l),ut&&typeof ut.setStrictMode=="function")try{ut.setStrictMode(Na,l)}catch{}}var nt=Math.clz32?Math.clz32:Y0,B0=Math.log,q0=Math.LN2;function Y0(l){return l>>>=0,l===0?32:31-(B0(l)/q0|0)|0}var Tu=256,Eu=262144,Au=4194304;function Ee(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Mu(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,i=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=Ee(a):(i&=c,i!==0?u=Ee(i):e||(e=c&~l,e!==0&&(u=Ee(e))))):(c=a&~n,c!==0?u=Ee(c):i!==0?u=Ee(i):e||(e=a&~l,e!==0&&(u=Ee(e)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,e=t&-t,n>=e||n===32&&(e&4194048)!==0)?t:u}function _a(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function G0(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function xf(){var l=Au;return Au<<=1,(Au&62914560)===0&&(Au=4194304),l}function kn(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Oa(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function X0(l,t,e,a,u,n){var i=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var c=l.entanglements,f=l.expirationTimes,h=l.hiddenUpdates;for(e=i&~e;0<e;){var p=31-nt(e),x=1<<p;c[p]=0,f[p]=-1;var v=h[p];if(v!==null)for(h[p]=null,p=0;p<v.length;p++){var S=v[p];S!==null&&(S.lane&=-536870913)}e&=~x}a!==0&&Tf(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(i&~t))}function Tf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-nt(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Ef(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-nt(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function Af(l,t){var e=t&-t;return e=(e&42)!==0?1:$n(e),(e&(l.suspendedLanes|t))!==0?0:e}function $n(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Fn(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Mf(){var l=M.p;return l!==0?l:(l=window.event,l===void 0?32:m0(l.type))}function Nf(l,t){var e=M.p;try{return M.p=l,t()}finally{M.p=e}}var Pt=Math.random().toString(36).slice(2),Yl="__reactFiber$"+Pt,$l="__reactProps$"+Pt,Ze="__reactContainer$"+Pt,In="__reactEvents$"+Pt,Q0="__reactListeners$"+Pt,Z0="__reactHandles$"+Pt,_f="__reactResources$"+Pt,ja="__reactMarker$"+Pt;function Pn(l){delete l[Yl],delete l[$l],delete l[In],delete l[Q0],delete l[Z0]}function Le(l){var t=l[Yl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Ze]||e[Yl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=$d(l);l!==null;){if(e=l[Yl])return e;l=$d(l)}return t}l=e,e=l.parentNode}return null}function Ve(l){if(l=l[Yl]||l[Ze]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Da(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(y(33))}function Ke(l){var t=l[_f];return t||(t=l[_f]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Cl(l){l[ja]=!0}var Of=new Set,jf={};function Ae(l,t){Je(l,t),Je(l+"Capture",t)}function Je(l,t){for(jf[l]=t,l=0;l<t.length;l++)Of.add(t[l])}var L0=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]*$"),Df={},Uf={};function V0(l){return Jn.call(Uf,l)?!0:Jn.call(Df,l)?!1:L0.test(l)?Uf[l]=!0:(Df[l]=!0,!1)}function Nu(l,t,e){if(V0(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}function _u(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}function Ct(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}function ht(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Hf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function K0(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function li(l){if(!l._valueTracker){var t=Hf(l)?"checked":"value";l._valueTracker=K0(l,t,""+l[t])}}function Cf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Hf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Ou(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var J0=/[\n"\\]/g;function vt(l){return l.replace(J0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ti(l,t,e,a,u,n,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+ht(t)):l.value!==""+ht(t)&&(l.value=""+ht(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?ei(l,i,ht(t)):e!=null?ei(l,i,ht(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+ht(c):l.removeAttribute("name")}function Rf(l,t,e,a,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){li(l);return}e=e!=null?""+ht(e):"",t=t!=null?""+ht(t):e,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i),li(l)}function ei(l,t,e){t==="number"&&Ou(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function we(l,t,e,a){if(l=l.options,t){t={};for(var u=0;u<e.length;u++)t["$"+e[u]]=!0;for(e=0;e<l.length;e++)u=t.hasOwnProperty("$"+l[e].value),l[e].selected!==u&&(l[e].selected=u),u&&a&&(l[e].defaultSelected=!0)}else{for(e=""+ht(e),t=null,u=0;u<l.length;u++){if(l[u].value===e){l[u].selected=!0,a&&(l[u].defaultSelected=!0);return}t!==null||l[u].disabled||(t=l[u])}t!==null&&(t.selected=!0)}}function Bf(l,t,e){if(t!=null&&(t=""+ht(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+ht(e):""}function qf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(y(92));if(Hl(a)){if(1<a.length)throw Error(y(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=ht(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),li(l)}function We(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var w0=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 Yf(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||w0.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Gf(l,t,e){if(t!=null&&typeof t!="object")throw Error(y(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&e[u]!==a&&Yf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Yf(l,n,t[n])}function ai(l){if(l.indexOf("-")===-1)return!1;switch(l){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 W0=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"]]),k0=/^[\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 ju(l){return k0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Rt(){}var ui=null;function ni(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ke=null,$e=null;function Xf(l){var t=Ve(l);if(t&&(l=t.stateNode)){var e=l[$l]||null;l:switch(l=t.stateNode,t.type){case"input":if(ti(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[$l]||null;if(!u)throw Error(y(90));ti(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&Cf(a)}break l;case"textarea":Bf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&we(l,!!e.multiple,t,!1)}}}var ii=!1;function Qf(l,t,e){if(ii)return l(t,e);ii=!0;try{var a=l(t);return a}finally{if(ii=!1,(ke!==null||$e!==null)&&(Sn(),ke&&(t=ke,l=$e,$e=ke=null,Xf(t),l)))for(t=0;t<l.length;t++)Xf(l[t])}}function Ua(l,t){var e=l.stateNode;if(e===null)return null;var a=e[$l]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(y(231,t,typeof e));return e}var Bt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ci=!1;if(Bt)try{var Ha={};Object.defineProperty(Ha,"passive",{get:function(){ci=!0}}),window.addEventListener("test",Ha,Ha),window.removeEventListener("test",Ha,Ha)}catch{ci=!1}var le=null,fi=null,Du=null;function Zf(){if(Du)return Du;var l,t=fi,e=t.length,a,u="value"in le?le.value:le.textContent,n=u.length;for(l=0;l<e&&t[l]===u[l];l++);var i=e-l;for(a=1;a<=i&&t[e-a]===u[n-a];a++);return Du=u.slice(l,1<a?1-a:void 0)}function Uu(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Hu(){return!0}function Lf(){return!1}function Fl(l){function t(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(e=l[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Hu:Lf,this.isPropagationStopped=Lf,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Hu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Hu)},persist:function(){},isPersistent:Hu}),t}var Me={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cu=Fl(Me),Ca=H({},Me,{view:0,detail:0}),$0=Fl(Ca),si,oi,Ra,Ru=H({},Ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mi,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ra&&(Ra&&l.type==="mousemove"?(si=l.screenX-Ra.screenX,oi=l.screenY-Ra.screenY):oi=si=0,Ra=l),si)},movementY:function(l){return"movementY"in l?l.movementY:oi}}),Vf=Fl(Ru),F0=H({},Ru,{dataTransfer:0}),I0=Fl(F0),P0=H({},Ca,{relatedTarget:0}),di=Fl(P0),lm=H({},Me,{animationName:0,elapsedTime:0,pseudoElement:0}),tm=Fl(lm),em=H({},Me,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),am=Fl(em),um=H({},Me,{data:0}),Kf=Fl(um),nm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},im={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"},cm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fm(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=cm[l])?!!t[l]:!1}function mi(){return fm}var sm=H({},Ca,{key:function(l){if(l.key){var t=nm[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Uu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?im[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mi,charCode:function(l){return l.type==="keypress"?Uu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Uu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),om=Fl(sm),dm=H({},Ru,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jf=Fl(dm),mm=H({},Ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mi}),rm=Fl(mm),hm=H({},Me,{propertyName:0,elapsedTime:0,pseudoElement:0}),vm=Fl(hm),ym=H({},Ru,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),gm=Fl(ym),Sm=H({},Me,{newState:0,oldState:0}),bm=Fl(Sm),pm=[9,13,27,32],ri=Bt&&"CompositionEvent"in window,Ba=null;Bt&&"documentMode"in document&&(Ba=document.documentMode);var zm=Bt&&"TextEvent"in window&&!Ba,wf=Bt&&(!ri||Ba&&8<Ba&&11>=Ba),Wf=" ",kf=!1;function $f(l,t){switch(l){case"keyup":return pm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ff(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Fe=!1;function xm(l,t){switch(l){case"compositionend":return Ff(t);case"keypress":return t.which!==32?null:(kf=!0,Wf);case"textInput":return l=t.data,l===Wf&&kf?null:l;default:return null}}function Tm(l,t){if(Fe)return l==="compositionend"||!ri&&$f(l,t)?(l=Zf(),Du=fi=le=null,Fe=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return wf&&t.locale!=="ko"?null:t.data;default:return null}}var Em={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 If(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Em[l.type]:t==="textarea"}function Pf(l,t,e,a){ke?$e?$e.push(a):$e=[a]:ke=a,t=An(t,"onChange"),0<t.length&&(e=new Cu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var qa=null,Ya=null;function Am(l){Bd(l,0)}function Bu(l){var t=Da(l);if(Cf(t))return l}function ls(l,t){if(l==="change")return t}var ts=!1;if(Bt){var hi;if(Bt){var vi="oninput"in document;if(!vi){var es=document.createElement("div");es.setAttribute("oninput","return;"),vi=typeof es.oninput=="function"}hi=vi}else hi=!1;ts=hi&&(!document.documentMode||9<document.documentMode)}function as(){qa&&(qa.detachEvent("onpropertychange",us),Ya=qa=null)}function us(l){if(l.propertyName==="value"&&Bu(Ya)){var t=[];Pf(t,Ya,l,ni(l)),Qf(Am,t)}}function Mm(l,t,e){l==="focusin"?(as(),qa=t,Ya=e,qa.attachEvent("onpropertychange",us)):l==="focusout"&&as()}function Nm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Bu(Ya)}function _m(l,t){if(l==="click")return Bu(t)}function Om(l,t){if(l==="input"||l==="change")return Bu(t)}function jm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var it=typeof Object.is=="function"?Object.is:jm;function Ga(l,t){if(it(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!Jn.call(t,u)||!it(l[u],t[u]))return!1}return!0}function ns(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function is(l,t){var e=ns(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=ns(e)}}function cs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?cs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function fs(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Ou(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Ou(l.document)}return t}function yi(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var Dm=Bt&&"documentMode"in document&&11>=document.documentMode,Ie=null,gi=null,Xa=null,Si=!1;function ss(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Si||Ie==null||Ie!==Ou(a)||(a=Ie,"selectionStart"in a&&yi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xa&&Ga(Xa,a)||(Xa=a,a=An(gi,"onSelect"),0<a.length&&(t=new Cu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=Ie)))}function Ne(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var Pe={animationend:Ne("Animation","AnimationEnd"),animationiteration:Ne("Animation","AnimationIteration"),animationstart:Ne("Animation","AnimationStart"),transitionrun:Ne("Transition","TransitionRun"),transitionstart:Ne("Transition","TransitionStart"),transitioncancel:Ne("Transition","TransitionCancel"),transitionend:Ne("Transition","TransitionEnd")},bi={},os={};Bt&&(os=document.createElement("div").style,"AnimationEvent"in window||(delete Pe.animationend.animation,delete Pe.animationiteration.animation,delete Pe.animationstart.animation),"TransitionEvent"in window||delete Pe.transitionend.transition);function _e(l){if(bi[l])return bi[l];if(!Pe[l])return l;var t=Pe[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in os)return bi[l]=t[e];return l}var ds=_e("animationend"),ms=_e("animationiteration"),rs=_e("animationstart"),Um=_e("transitionrun"),Hm=_e("transitionstart"),Cm=_e("transitioncancel"),hs=_e("transitionend"),vs=new Map,pi="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(" ");pi.push("scrollEnd");function Nt(l,t){vs.set(l,t),Ae(t,[l])}var qu=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},yt=[],la=0,zi=0;function Yu(){for(var l=la,t=zi=la=0;t<l;){var e=yt[t];yt[t++]=null;var a=yt[t];yt[t++]=null;var u=yt[t];yt[t++]=null;var n=yt[t];if(yt[t++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&ys(e,u,n)}}function Gu(l,t,e,a){yt[la++]=l,yt[la++]=t,yt[la++]=e,yt[la++]=a,zi|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function xi(l,t,e,a){return Gu(l,t,e,a),Xu(l)}function Oe(l,t){return Gu(l,null,null,t),Xu(l)}function ys(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=l.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(u=!0)),l=n,n=n.return;return l.tag===3?(n=l.stateNode,u&&t!==null&&(u=31-nt(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function Xu(l){if(50<fu)throw fu=0,Dc=null,Error(y(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var ta={};function Rm(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ct(l,t,e,a){return new Rm(l,t,e,a)}function Ti(l){return l=l.prototype,!(!l||!l.isReactComponent)}function qt(l,t){var e=l.alternate;return e===null?(e=ct(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function gs(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Qu(l,t,e,a,u,n){var i=0;if(a=l,typeof l=="function")Ti(l)&&(i=1);else if(typeof l=="string")i=Xr(l,e,_.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case rt:return l=ct(31,e,t,u),l.elementType=rt,l.lanes=n,l;case Dl:return je(e.children,u,n,t);case At:i=8,u|=24;break;case Jl:return l=ct(12,e,t,u|2),l.elementType=Jl,l.lanes=n,l;case wl:return l=ct(13,e,t,u),l.elementType=wl,l.lanes=n,l;case Ll:return l=ct(19,e,t,u),l.elementType=Ll,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case _l:i=10;break l;case Mt:i=9;break l;case Ul:i=11;break l;case V:i=14;break l;case Vl:i=16,a=null;break l}i=29,e=Error(y(130,l===null?"null":typeof l,"")),a=null}return t=ct(i,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function je(l,t,e,a){return l=ct(7,l,a,t),l.lanes=e,l}function Ei(l,t,e){return l=ct(6,l,null,t),l.lanes=e,l}function Ss(l){var t=ct(18,null,null,0);return t.stateNode=l,t}function Ai(l,t,e){return t=ct(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var bs=new WeakMap;function gt(l,t){if(typeof l=="object"&&l!==null){var e=bs.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Sf(t)},bs.set(l,t),t)}return{value:l,source:t,stack:Sf(t)}}var ea=[],aa=0,Zu=null,Qa=0,St=[],bt=0,te=null,jt=1,Dt="";function Yt(l,t){ea[aa++]=Qa,ea[aa++]=Zu,Zu=l,Qa=t}function ps(l,t,e){St[bt++]=jt,St[bt++]=Dt,St[bt++]=te,te=l;var a=jt;l=Dt;var u=32-nt(a)-1;a&=~(1<<u),e+=1;var n=32-nt(t)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,jt=1<<32-nt(t)+u|e<<u|a,Dt=n+l}else jt=1<<n|e<<u|a,Dt=l}function Mi(l){l.return!==null&&(Yt(l,1),ps(l,1,0))}function Ni(l){for(;l===Zu;)Zu=ea[--aa],ea[aa]=null,Qa=ea[--aa],ea[aa]=null;for(;l===te;)te=St[--bt],St[bt]=null,Dt=St[--bt],St[bt]=null,jt=St[--bt],St[bt]=null}function zs(l,t){St[bt++]=jt,St[bt++]=Dt,St[bt++]=te,jt=t.id,Dt=t.overflow,te=l}var Gl=null,hl=null,$=!1,ee=null,pt=!1,_i=Error(y(519));function ae(l){var t=Error(y(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Za(gt(t,l)),_i}function xs(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Yl]=l,t[$l]=a,e){case"dialog":J("cancel",t),J("close",t);break;case"iframe":case"object":case"embed":J("load",t);break;case"video":case"audio":for(e=0;e<ou.length;e++)J(ou[e],t);break;case"source":J("error",t);break;case"img":case"image":case"link":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"input":J("invalid",t),Rf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":J("invalid",t);break;case"textarea":J("invalid",t),qf(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||Xd(t.textContent,e)?(a.popover!=null&&(J("beforetoggle",t),J("toggle",t)),a.onScroll!=null&&J("scroll",t),a.onScrollEnd!=null&&J("scrollend",t),a.onClick!=null&&(t.onclick=Rt),t=!0):t=!1,t||ae(l,!0)}function Ts(l){for(Gl=l.return;Gl;)switch(Gl.tag){case 5:case 31:case 13:pt=!1;return;case 27:case 3:pt=!0;return;default:Gl=Gl.return}}function ua(l){if(l!==Gl)return!1;if(!$)return Ts(l),$=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||Jc(l.type,l.memoizedProps)),e=!e),e&&hl&&ae(l),Ts(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));hl=kd(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));hl=kd(l)}else t===27?(t=hl,ge(l.type)?(l=Fc,Fc=null,hl=l):hl=t):hl=Gl?xt(l.stateNode.nextSibling):null;return!0}function De(){hl=Gl=null,$=!1}function Oi(){var l=ee;return l!==null&&(tt===null?tt=l:tt.push.apply(tt,l),ee=null),l}function Za(l){ee===null?ee=[l]:ee.push(l)}var ji=o(null),Ue=null,Gt=null;function ue(l,t,e){E(ji,t._currentValue),t._currentValue=e}function Xt(l){l._currentValue=ji.current,b(ji)}function Di(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function Ui(l,t,e,a){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=u;for(var f=0;f<t.length;f++)if(c.context===t[f]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Di(n.return,e,l),a||(i=null);break l}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(y(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Di(i,e,l),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===l){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function na(l,t,e,a){l=null;for(var u=t,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(y(387));if(i=i.memoizedProps,i!==null){var c=u.type;it(u.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(u===P.current){if(i=u.alternate,i===null)throw Error(y(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(vu):l=[vu])}u=u.return}l!==null&&Ui(t,l,e,a),t.flags|=262144}function Lu(l){for(l=l.firstContext;l!==null;){if(!it(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function He(l){Ue=l,Gt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Xl(l){return Es(Ue,l)}function Vu(l,t){return Ue===null&&He(l),Es(l,t)}function Es(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Gt===null){if(l===null)throw Error(y(308));Gt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Gt=Gt.next=t;return e}var Bm=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},qm=A.unstable_scheduleCallback,Ym=A.unstable_NormalPriority,El={$$typeof:_l,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hi(){return{controller:new Bm,data:new Map,refCount:0}}function La(l){l.refCount--,l.refCount===0&&qm(Ym,function(){l.controller.abort()})}var Va=null,Ci=0,ia=0,ca=null;function Gm(l,t){if(Va===null){var e=Va=[];Ci=0,ia=qc(),ca={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Ci++,t.then(As,As),t}function As(){if(--Ci===0&&Va!==null){ca!==null&&(ca.status="fulfilled");var l=Va;Va=null,ia=0,ca=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Xm(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<e.length;u++)(0,e[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Ms=m.S;m.S=function(l,t){od=at(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Gm(l,t),Ms!==null&&Ms(l,t)};var Ce=o(null);function Ri(){var l=Ce.current;return l!==null?l:ml.pooledCache}function Ku(l,t){t===null?E(Ce,Ce.current):E(Ce,t.pool)}function Ns(){var l=Ri();return l===null?null:{parent:El._currentValue,pool:l}}var fa=Error(y(460)),Bi=Error(y(474)),Ju=Error(y(542)),wu={then:function(){}};function _s(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Os(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Rt,Rt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ds(l),l;default:if(typeof t.status=="string")t.then(Rt,Rt);else{if(l=ml,l!==null&&100<l.shellSuspendCounter)throw Error(y(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ds(l),l}throw Be=t,fa}}function Re(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Be=e,fa):e}}var Be=null;function js(){if(Be===null)throw Error(y(459));var l=Be;return Be=null,l}function Ds(l){if(l===fa||l===Ju)throw Error(y(483))}var sa=null,Ka=0;function Wu(l){var t=Ka;return Ka+=1,sa===null&&(sa=[]),Os(sa,l,t)}function Ja(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function ku(l,t){throw t.$$typeof===nl?Error(y(525)):(l=Object.prototype.toString.call(t),Error(y(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Us(l){function t(d,s){if(l){var r=d.deletions;r===null?(d.deletions=[s],d.flags|=16):r.push(s)}}function e(d,s){if(!l)return null;for(;s!==null;)t(d,s),s=s.sibling;return null}function a(d){for(var s=new Map;d!==null;)d.key!==null?s.set(d.key,d):s.set(d.index,d),d=d.sibling;return s}function u(d,s){return d=qt(d,s),d.index=0,d.sibling=null,d}function n(d,s,r){return d.index=r,l?(r=d.alternate,r!==null?(r=r.index,r<s?(d.flags|=67108866,s):r):(d.flags|=67108866,s)):(d.flags|=1048576,s)}function i(d){return l&&d.alternate===null&&(d.flags|=67108866),d}function c(d,s,r,z){return s===null||s.tag!==6?(s=Ei(r,d.mode,z),s.return=d,s):(s=u(s,r),s.return=d,s)}function f(d,s,r,z){var R=r.type;return R===Dl?p(d,s,r.props.children,z,r.key):s!==null&&(s.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Vl&&Re(R)===s.type)?(s=u(s,r.props),Ja(s,r),s.return=d,s):(s=Qu(r.type,r.key,r.props,null,d.mode,z),Ja(s,r),s.return=d,s)}function h(d,s,r,z){return s===null||s.tag!==4||s.stateNode.containerInfo!==r.containerInfo||s.stateNode.implementation!==r.implementation?(s=Ai(r,d.mode,z),s.return=d,s):(s=u(s,r.children||[]),s.return=d,s)}function p(d,s,r,z,R){return s===null||s.tag!==7?(s=je(r,d.mode,z,R),s.return=d,s):(s=u(s,r),s.return=d,s)}function x(d,s,r){if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return s=Ei(""+s,d.mode,r),s.return=d,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case Bl:return r=Qu(s.type,s.key,s.props,null,d.mode,r),Ja(r,s),r.return=d,r;case ql:return s=Ai(s,d.mode,r),s.return=d,s;case Vl:return s=Re(s),x(d,s,r)}if(Hl(s)||N(s))return s=je(s,d.mode,r,null),s.return=d,s;if(typeof s.then=="function")return x(d,Wu(s),r);if(s.$$typeof===_l)return x(d,Vu(d,s),r);ku(d,s)}return null}function v(d,s,r,z){var R=s!==null?s.key:null;if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return R!==null?null:c(d,s,""+r,z);if(typeof r=="object"&&r!==null){switch(r.$$typeof){case Bl:return r.key===R?f(d,s,r,z):null;case ql:return r.key===R?h(d,s,r,z):null;case Vl:return r=Re(r),v(d,s,r,z)}if(Hl(r)||N(r))return R!==null?null:p(d,s,r,z,null);if(typeof r.then=="function")return v(d,s,Wu(r),z);if(r.$$typeof===_l)return v(d,s,Vu(d,r),z);ku(d,r)}return null}function S(d,s,r,z,R){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return d=d.get(r)||null,c(s,d,""+z,R);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Bl:return d=d.get(z.key===null?r:z.key)||null,f(s,d,z,R);case ql:return d=d.get(z.key===null?r:z.key)||null,h(s,d,z,R);case Vl:return z=Re(z),S(d,s,r,z,R)}if(Hl(z)||N(z))return d=d.get(r)||null,p(s,d,z,R,null);if(typeof z.then=="function")return S(d,s,r,Wu(z),R);if(z.$$typeof===_l)return S(d,s,r,Vu(s,z),R);ku(s,z)}return null}function O(d,s,r,z){for(var R=null,tl=null,j=s,Z=s=0,W=null;j!==null&&Z<r.length;Z++){j.index>Z?(W=j,j=null):W=j.sibling;var el=v(d,j,r[Z],z);if(el===null){j===null&&(j=W);break}l&&j&&el.alternate===null&&t(d,j),s=n(el,s,Z),tl===null?R=el:tl.sibling=el,tl=el,j=W}if(Z===r.length)return e(d,j),$&&Yt(d,Z),R;if(j===null){for(;Z<r.length;Z++)j=x(d,r[Z],z),j!==null&&(s=n(j,s,Z),tl===null?R=j:tl.sibling=j,tl=j);return $&&Yt(d,Z),R}for(j=a(j);Z<r.length;Z++)W=S(j,d,Z,r[Z],z),W!==null&&(l&&W.alternate!==null&&j.delete(W.key===null?Z:W.key),s=n(W,s,Z),tl===null?R=W:tl.sibling=W,tl=W);return l&&j.forEach(function(xe){return t(d,xe)}),$&&Yt(d,Z),R}function q(d,s,r,z){if(r==null)throw Error(y(151));for(var R=null,tl=null,j=s,Z=s=0,W=null,el=r.next();j!==null&&!el.done;Z++,el=r.next()){j.index>Z?(W=j,j=null):W=j.sibling;var xe=v(d,j,el.value,z);if(xe===null){j===null&&(j=W);break}l&&j&&xe.alternate===null&&t(d,j),s=n(xe,s,Z),tl===null?R=xe:tl.sibling=xe,tl=xe,j=W}if(el.done)return e(d,j),$&&Yt(d,Z),R;if(j===null){for(;!el.done;Z++,el=r.next())el=x(d,el.value,z),el!==null&&(s=n(el,s,Z),tl===null?R=el:tl.sibling=el,tl=el);return $&&Yt(d,Z),R}for(j=a(j);!el.done;Z++,el=r.next())el=S(j,d,Z,el.value,z),el!==null&&(l&&el.alternate!==null&&j.delete(el.key===null?Z:el.key),s=n(el,s,Z),tl===null?R=el:tl.sibling=el,tl=el);return l&&j.forEach(function(Fr){return t(d,Fr)}),$&&Yt(d,Z),R}function dl(d,s,r,z){if(typeof r=="object"&&r!==null&&r.type===Dl&&r.key===null&&(r=r.props.children),typeof r=="object"&&r!==null){switch(r.$$typeof){case Bl:l:{for(var R=r.key;s!==null;){if(s.key===R){if(R=r.type,R===Dl){if(s.tag===7){e(d,s.sibling),z=u(s,r.props.children),z.return=d,d=z;break l}}else if(s.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Vl&&Re(R)===s.type){e(d,s.sibling),z=u(s,r.props),Ja(z,r),z.return=d,d=z;break l}e(d,s);break}else t(d,s);s=s.sibling}r.type===Dl?(z=je(r.props.children,d.mode,z,r.key),z.return=d,d=z):(z=Qu(r.type,r.key,r.props,null,d.mode,z),Ja(z,r),z.return=d,d=z)}return i(d);case ql:l:{for(R=r.key;s!==null;){if(s.key===R)if(s.tag===4&&s.stateNode.containerInfo===r.containerInfo&&s.stateNode.implementation===r.implementation){e(d,s.sibling),z=u(s,r.children||[]),z.return=d,d=z;break l}else{e(d,s);break}else t(d,s);s=s.sibling}z=Ai(r,d.mode,z),z.return=d,d=z}return i(d);case Vl:return r=Re(r),dl(d,s,r,z)}if(Hl(r))return O(d,s,r,z);if(N(r)){if(R=N(r),typeof R!="function")throw Error(y(150));return r=R.call(r),q(d,s,r,z)}if(typeof r.then=="function")return dl(d,s,Wu(r),z);if(r.$$typeof===_l)return dl(d,s,Vu(d,r),z);ku(d,r)}return typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint"?(r=""+r,s!==null&&s.tag===6?(e(d,s.sibling),z=u(s,r),z.return=d,d=z):(e(d,s),z=Ei(r,d.mode,z),z.return=d,d=z),i(d)):e(d,s)}return function(d,s,r,z){try{Ka=0;var R=dl(d,s,r,z);return sa=null,R}catch(j){if(j===fa||j===Ju)throw j;var tl=ct(29,j,null,d.mode);return tl.lanes=z,tl.return=d,tl}}}var qe=Us(!0),Hs=Us(!1),ne=!1;function qi(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yi(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function ie(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function ce(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(al&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Xu(l),ys(l,null,e),t}return Gu(l,a,t,e),Xu(l)}function wa(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Ef(l,e)}}function Gi(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,e=e.next}while(e!==null);n===null?u=n=t:n=n.next=t}else u=n=t;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var Xi=!1;function Wa(){if(Xi){var l=ca;if(l!==null)throw l}}function ka(l,t,e,a){Xi=!1;var u=l.updateQueue;ne=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,h=f.next;f.next=null,i===null?n=h:i.next=h,i=f;var p=l.alternate;p!==null&&(p=p.updateQueue,c=p.lastBaseUpdate,c!==i&&(c===null?p.firstBaseUpdate=h:c.next=h,p.lastBaseUpdate=f))}if(n!==null){var x=u.baseState;i=0,p=h=f=null,c=n;do{var v=c.lane&-536870913,S=v!==c.lane;if(S?(w&v)===v:(a&v)===v){v!==0&&v===ia&&(Xi=!0),p!==null&&(p=p.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var O=l,q=c;v=t;var dl=e;switch(q.tag){case 1:if(O=q.payload,typeof O=="function"){x=O.call(dl,x,v);break l}x=O;break l;case 3:O.flags=O.flags&-65537|128;case 0:if(O=q.payload,v=typeof O=="function"?O.call(dl,x,v):O,v==null)break l;x=H({},x,v);break l;case 2:ne=!0}}v=c.callback,v!==null&&(l.flags|=64,S&&(l.flags|=8192),S=u.callbacks,S===null?u.callbacks=[v]:S.push(v))}else S={lane:v,tag:c.tag,payload:c.payload,callback:c.callback,next:null},p===null?(h=p=S,f=x):p=p.next=S,i|=v;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;S=c,c=S.next,S.next=null,u.lastBaseUpdate=S,u.shared.pending=null}}while(!0);p===null&&(f=x),u.baseState=f,u.firstBaseUpdate=h,u.lastBaseUpdate=p,n===null&&(u.shared.lanes=0),me|=i,l.lanes=i,l.memoizedState=x}}function Cs(l,t){if(typeof l!="function")throw Error(y(191,l));l.call(t)}function Rs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Cs(e[l],t)}var oa=o(null),$u=o(0);function Bs(l,t){l=kt,E($u,l),E(oa,t),kt=l|t.baseLanes}function Qi(){E($u,kt),E(oa,oa.current)}function Zi(){kt=$u.current,b(oa),b($u)}var ft=o(null),zt=null;function fe(l){var t=l.alternate;E(xl,xl.current&1),E(ft,l),zt===null&&(t===null||oa.current!==null||t.memoizedState!==null)&&(zt=l)}function Li(l){E(xl,xl.current),E(ft,l),zt===null&&(zt=l)}function qs(l){l.tag===22?(E(xl,xl.current),E(ft,l),zt===null&&(zt=l)):se()}function se(){E(xl,xl.current),E(ft,ft.current)}function st(l){b(ft),zt===l&&(zt=null),b(xl)}var xl=o(0);function Fu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||kc(e)||$c(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qt=0,Q=null,sl=null,Al=null,Iu=!1,da=!1,Ye=!1,Pu=0,$a=0,ma=null,Qm=0;function bl(){throw Error(y(321))}function Vi(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!it(l[e],t[e]))return!1;return!0}function Ki(l,t,e,a,u,n){return Qt=n,Q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,m.H=l===null||l.memoizedState===null?zo:ic,Ye=!1,n=e(a,u),Ye=!1,da&&(n=Gs(t,e,a,u)),Ys(l),n}function Ys(l){m.H=Pa;var t=sl!==null&&sl.next!==null;if(Qt=0,Al=sl=Q=null,Iu=!1,$a=0,ma=null,t)throw Error(y(300));l===null||Ml||(l=l.dependencies,l!==null&&Lu(l)&&(Ml=!0))}function Gs(l,t,e,a){Q=l;var u=0;do{if(da&&(ma=null),$a=0,da=!1,25<=u)throw Error(y(301));if(u+=1,Al=sl=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}m.H=xo,n=t(e,a)}while(da);return n}function Zm(){var l=m.H,t=l.useState()[0];return t=typeof t.then=="function"?Fa(t):t,l=l.useState()[0],(sl!==null?sl.memoizedState:null)!==l&&(Q.flags|=1024),t}function Ji(){var l=Pu!==0;return Pu=0,l}function wi(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function Wi(l){if(Iu){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}Iu=!1}Qt=0,Al=sl=Q=null,da=!1,$a=Pu=0,ma=null}function kl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Al===null?Q.memoizedState=Al=l:Al=Al.next=l,Al}function Tl(){if(sl===null){var l=Q.alternate;l=l!==null?l.memoizedState:null}else l=sl.next;var t=Al===null?Q.memoizedState:Al.next;if(t!==null)Al=t,sl=l;else{if(l===null)throw Q.alternate===null?Error(y(467)):Error(y(310));sl=l,l={memoizedState:sl.memoizedState,baseState:sl.baseState,baseQueue:sl.baseQueue,queue:sl.queue,next:null},Al===null?Q.memoizedState=Al=l:Al=Al.next=l}return Al}function ln(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Fa(l){var t=$a;return $a+=1,ma===null&&(ma=[]),l=Os(ma,l,t),t=Q,(Al===null?t.memoizedState:Al.next)===null&&(t=t.alternate,m.H=t===null||t.memoizedState===null?zo:ic),l}function tn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Fa(l);if(l.$$typeof===_l)return Xl(l)}throw Error(y(438,String(l)))}function ki(l){var t=null,e=Q.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=Q.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=ln(),Q.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=C;return t.index++,e}function Zt(l,t){return typeof t=="function"?t(l):t}function en(l){var t=Tl();return $i(t,sl,l)}function $i(l,t,e){var a=l.queue;if(a===null)throw Error(y(311));a.lastRenderedReducer=e;var u=l.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}t.baseQueue=u=n,a.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var c=i=null,f=null,h=t,p=!1;do{var x=h.lane&-536870913;if(x!==h.lane?(w&x)===x:(Qt&x)===x){var v=h.revertLane;if(v===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null}),x===ia&&(p=!0);else if((Qt&v)===v){h=h.next,v===ia&&(p=!0);continue}else x={lane:0,revertLane:h.revertLane,gesture:null,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null},f===null?(c=f=x,i=n):f=f.next=x,Q.lanes|=v,me|=v;x=h.action,Ye&&e(n,x),n=h.hasEagerState?h.eagerState:e(n,x)}else v={lane:x,revertLane:h.revertLane,gesture:h.gesture,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null},f===null?(c=f=v,i=n):f=f.next=v,Q.lanes|=x,me|=x;h=h.next}while(h!==null&&h!==t);if(f===null?i=n:f.next=c,!it(n,l.memoizedState)&&(Ml=!0,p&&(e=ca,e!==null)))throw e;l.memoizedState=n,l.baseState=i,l.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function Fi(l){var t=Tl(),e=t.queue;if(e===null)throw Error(y(311));e.lastRenderedReducer=l;var a=e.dispatch,u=e.pending,n=t.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=l(n,i.action),i=i.next;while(i!==u);it(n,t.memoizedState)||(Ml=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function Xs(l,t,e){var a=Q,u=Tl(),n=$;if(n){if(e===void 0)throw Error(y(407));e=e()}else e=t();var i=!it((sl||u).memoizedState,e);if(i&&(u.memoizedState=e,Ml=!0),u=u.queue,lc(Ls.bind(null,a,u,l),[l]),u.getSnapshot!==t||i||Al!==null&&Al.memoizedState.tag&1){if(a.flags|=2048,ra(9,{destroy:void 0},Zs.bind(null,a,u,e,t),null),ml===null)throw Error(y(349));n||(Qt&127)!==0||Qs(a,t,e)}return e}function Qs(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=Q.updateQueue,t===null?(t=ln(),Q.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Zs(l,t,e,a){t.value=e,t.getSnapshot=a,Vs(t)&&Ks(l)}function Ls(l,t,e){return e(function(){Vs(t)&&Ks(l)})}function Vs(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!it(l,e)}catch{return!0}}function Ks(l){var t=Oe(l,2);t!==null&&et(t,l,2)}function Ii(l){var t=kl();if(typeof l=="function"){var e=l;if(l=e(),Ye){It(!0);try{e()}finally{It(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:l},t}function Js(l,t,e,a){return l.baseState=e,$i(l,sl,typeof a=="function"?a:Zt)}function Lm(l,t,e,a,u){if(nn(l))throw Error(y(485));if(l=t.action,l!==null){var n={payload:u,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};m.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,ws(t,n)):(n.next=e.next,t.pending=e.next=n)}}function ws(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=m.T,i={};m.T=i;try{var c=e(u,a),f=m.S;f!==null&&f(i,c),Ws(l,t,c)}catch(h){Pi(l,t,h)}finally{n!==null&&i.types!==null&&(n.types=i.types),m.T=n}}else try{n=e(u,a),Ws(l,t,n)}catch(h){Pi(l,t,h)}}function Ws(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){ks(l,t,a)},function(a){return Pi(l,t,a)}):ks(l,t,e)}function ks(l,t,e){t.status="fulfilled",t.value=e,$s(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,ws(l,e)))}function Pi(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,$s(t),t=t.next;while(t!==a)}l.action=null}function $s(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Fs(l,t){return t}function Is(l,t){if($){var e=ml.formState;if(e!==null){l:{var a=Q;if($){if(hl){t:{for(var u=hl,n=pt;u.nodeType!==8;){if(!n){u=null;break t}if(u=xt(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){hl=xt(u.nextSibling),a=u.data==="F!";break l}}ae(a)}a=!1}a&&(t=e[0])}}return e=kl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fs,lastRenderedState:t},e.queue=a,e=So.bind(null,Q,a),a.dispatch=e,a=Ii(!1),n=nc.bind(null,Q,!1,a.queue),a=kl(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=Lm.bind(null,Q,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function Ps(l){var t=Tl();return lo(t,sl,l)}function lo(l,t,e){if(t=$i(l,t,Fs)[0],l=en(Zt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Fa(t)}catch(i){throw i===fa?Ju:i}else a=t;t=Tl();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(Q.flags|=2048,ra(9,{destroy:void 0},Vm.bind(null,u,e),null)),[a,n,l]}function Vm(l,t){l.action=t}function to(l){var t=Tl(),e=sl;if(e!==null)return lo(t,e,l);Tl(),t=t.memoizedState,e=Tl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function ra(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=Q.updateQueue,t===null&&(t=ln(),Q.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function eo(){return Tl().memoizedState}function an(l,t,e,a){var u=kl();Q.flags|=l,u.memoizedState=ra(1|t,{destroy:void 0},e,a===void 0?null:a)}function un(l,t,e,a){var u=Tl();a=a===void 0?null:a;var n=u.memoizedState.inst;sl!==null&&a!==null&&Vi(a,sl.memoizedState.deps)?u.memoizedState=ra(t,n,e,a):(Q.flags|=l,u.memoizedState=ra(1|t,n,e,a))}function ao(l,t){an(8390656,8,l,t)}function lc(l,t){un(2048,8,l,t)}function Km(l){Q.flags|=4;var t=Q.updateQueue;if(t===null)t=ln(),Q.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function uo(l){var t=Tl().memoizedState;return Km({ref:t,nextImpl:l}),function(){if((al&2)!==0)throw Error(y(440));return t.impl.apply(void 0,arguments)}}function no(l,t){return un(4,2,l,t)}function io(l,t){return un(4,4,l,t)}function co(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function fo(l,t,e){e=e!=null?e.concat([l]):null,un(4,4,co.bind(null,t,l),e)}function tc(){}function so(l,t){var e=Tl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Vi(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function oo(l,t){var e=Tl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Vi(t,a[1]))return a[0];if(a=l(),Ye){It(!0);try{l()}finally{It(!1)}}return e.memoizedState=[a,t],a}function ec(l,t,e){return e===void 0||(Qt&1073741824)!==0&&(w&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=md(),Q.lanes|=l,me|=l,e)}function mo(l,t,e,a){return it(e,t)?e:oa.current!==null?(l=ec(l,e,a),it(l,t)||(Ml=!0),l):(Qt&42)===0||(Qt&1073741824)!==0&&(w&261930)===0?(Ml=!0,l.memoizedState=e):(l=md(),Q.lanes|=l,me|=l,t)}function ro(l,t,e,a,u){var n=M.p;M.p=n!==0&&8>n?n:8;var i=m.T,c={};m.T=c,nc(l,!1,t,e);try{var f=u(),h=m.S;if(h!==null&&h(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var p=Xm(f,a);Ia(l,t,p,mt(l))}else Ia(l,t,a,mt(l))}catch(x){Ia(l,t,{then:function(){},status:"rejected",reason:x},mt())}finally{M.p=n,i!==null&&c.types!==null&&(i.types=c.types),m.T=i}}function Jm(){}function ac(l,t,e,a){if(l.tag!==5)throw Error(y(476));var u=ho(l).queue;ro(l,u,t,B,e===null?Jm:function(){return vo(l),e(a)})}function ho(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:B},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function vo(l){var t=ho(l);t.next===null&&(t=l.alternate.memoizedState),Ia(l,t.next.queue,{},mt())}function uc(){return Xl(vu)}function yo(){return Tl().memoizedState}function go(){return Tl().memoizedState}function wm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=mt();l=ie(e);var a=ce(t,l,e);a!==null&&(et(a,t,e),wa(a,t,e)),t={cache:Hi()},l.payload=t;return}t=t.return}}function Wm(l,t,e){var a=mt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},nn(l)?bo(t,e):(e=xi(l,t,e,a),e!==null&&(et(e,l,a),po(e,t,a)))}function So(l,t,e){var a=mt();Ia(l,t,e,a)}function Ia(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(nn(l))bo(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,it(c,i))return Gu(l,t,u,0),ml===null&&Yu(),!1}catch{}if(e=xi(l,t,u,a),e!==null)return et(e,l,a),po(e,t,a),!0}return!1}function nc(l,t,e,a){if(a={lane:2,revertLane:qc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},nn(l)){if(t)throw Error(y(479))}else t=xi(l,e,a,2),t!==null&&et(t,l,2)}function nn(l){var t=l.alternate;return l===Q||t!==null&&t===Q}function bo(l,t){da=Iu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function po(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Ef(l,e)}}var Pa={readContext:Xl,use:tn,useCallback:bl,useContext:bl,useEffect:bl,useImperativeHandle:bl,useLayoutEffect:bl,useInsertionEffect:bl,useMemo:bl,useReducer:bl,useRef:bl,useState:bl,useDebugValue:bl,useDeferredValue:bl,useTransition:bl,useSyncExternalStore:bl,useId:bl,useHostTransitionStatus:bl,useFormState:bl,useActionState:bl,useOptimistic:bl,useMemoCache:bl,useCacheRefresh:bl};Pa.useEffectEvent=bl;var zo={readContext:Xl,use:tn,useCallback:function(l,t){return kl().memoizedState=[l,t===void 0?null:t],l},useContext:Xl,useEffect:ao,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,an(4194308,4,co.bind(null,t,l),e)},useLayoutEffect:function(l,t){return an(4194308,4,l,t)},useInsertionEffect:function(l,t){an(4,2,l,t)},useMemo:function(l,t){var e=kl();t=t===void 0?null:t;var a=l();if(Ye){It(!0);try{l()}finally{It(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=kl();if(e!==void 0){var u=e(t);if(Ye){It(!0);try{e(t)}finally{It(!1)}}}else u=t;return a.memoizedState=a.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},a.queue=l,l=l.dispatch=Wm.bind(null,Q,l),[a.memoizedState,l]},useRef:function(l){var t=kl();return l={current:l},t.memoizedState=l},useState:function(l){l=Ii(l);var t=l.queue,e=So.bind(null,Q,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:tc,useDeferredValue:function(l,t){var e=kl();return ec(e,l,t)},useTransition:function(){var l=Ii(!1);return l=ro.bind(null,Q,l.queue,!0,!1),kl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=Q,u=kl();if($){if(e===void 0)throw Error(y(407));e=e()}else{if(e=t(),ml===null)throw Error(y(349));(w&127)!==0||Qs(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,ao(Ls.bind(null,a,n,l),[l]),a.flags|=2048,ra(9,{destroy:void 0},Zs.bind(null,a,n,e,t),null),e},useId:function(){var l=kl(),t=ml.identifierPrefix;if($){var e=Dt,a=jt;e=(a&~(1<<32-nt(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=Pu++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=Qm++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:uc,useFormState:Is,useActionState:Is,useOptimistic:function(l){var t=kl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=nc.bind(null,Q,!0,e),e.dispatch=t,[l,t]},useMemoCache:ki,useCacheRefresh:function(){return kl().memoizedState=wm.bind(null,Q)},useEffectEvent:function(l){var t=kl(),e={impl:l};return t.memoizedState=e,function(){if((al&2)!==0)throw Error(y(440));return e.impl.apply(void 0,arguments)}}},ic={readContext:Xl,use:tn,useCallback:so,useContext:Xl,useEffect:lc,useImperativeHandle:fo,useInsertionEffect:no,useLayoutEffect:io,useMemo:oo,useReducer:en,useRef:eo,useState:function(){return en(Zt)},useDebugValue:tc,useDeferredValue:function(l,t){var e=Tl();return mo(e,sl.memoizedState,l,t)},useTransition:function(){var l=en(Zt)[0],t=Tl().memoizedState;return[typeof l=="boolean"?l:Fa(l),t]},useSyncExternalStore:Xs,useId:yo,useHostTransitionStatus:uc,useFormState:Ps,useActionState:Ps,useOptimistic:function(l,t){var e=Tl();return Js(e,sl,l,t)},useMemoCache:ki,useCacheRefresh:go};ic.useEffectEvent=uo;var xo={readContext:Xl,use:tn,useCallback:so,useContext:Xl,useEffect:lc,useImperativeHandle:fo,useInsertionEffect:no,useLayoutEffect:io,useMemo:oo,useReducer:Fi,useRef:eo,useState:function(){return Fi(Zt)},useDebugValue:tc,useDeferredValue:function(l,t){var e=Tl();return sl===null?ec(e,l,t):mo(e,sl.memoizedState,l,t)},useTransition:function(){var l=Fi(Zt)[0],t=Tl().memoizedState;return[typeof l=="boolean"?l:Fa(l),t]},useSyncExternalStore:Xs,useId:yo,useHostTransitionStatus:uc,useFormState:to,useActionState:to,useOptimistic:function(l,t){var e=Tl();return sl!==null?Js(e,sl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:ki,useCacheRefresh:go};xo.useEffectEvent=uo;function cc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:H({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var fc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=mt(),u=ie(a);u.payload=t,e!=null&&(u.callback=e),t=ce(l,u,a),t!==null&&(et(t,l,a),wa(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=mt(),u=ie(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=ce(l,u,a),t!==null&&(et(t,l,a),wa(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=mt(),a=ie(e);a.tag=2,t!=null&&(a.callback=t),t=ce(l,a,e),t!==null&&(et(t,l,e),wa(t,l,e))}};function To(l,t,e,a,u,n,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,i):t.prototype&&t.prototype.isPureReactComponent?!Ga(e,a)||!Ga(u,n):!0}function Eo(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&fc.enqueueReplaceState(t,t.state,null)}function Ge(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=H({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}function Ao(l){qu(l)}function Mo(l){console.error(l)}function No(l){qu(l)}function cn(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function _o(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function sc(l,t,e){return e=ie(e),e.tag=3,e.payload={element:null},e.callback=function(){cn(l,t)},e}function Oo(l){return l=ie(l),l.tag=3,l}function jo(l,t,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;l.payload=function(){return u(n)},l.callback=function(){_o(t,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){_o(t,e,a),typeof u!="function"&&(re===null?re=new Set([this]):re.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function km(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&na(t,e,u,!0),e=ft.current,e!==null){switch(e.tag){case 31:case 13:return zt===null?bn():e.alternate===null&&pl===0&&(pl=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===wu?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Cc(l,a,u)),!1;case 22:return e.flags|=65536,a===wu?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),Cc(l,a,u)),!1}throw Error(y(435,e.tag))}return Cc(l,a,u),bn(),!1}if($)return t=ft.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==_i&&(l=Error(y(422),{cause:a}),Za(gt(l,e)))):(a!==_i&&(t=Error(y(423),{cause:a}),Za(gt(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=gt(a,e),u=sc(l.stateNode,a,u),Gi(l,u),pl!==4&&(pl=2)),!1;var n=Error(y(520),{cause:a});if(n=gt(n,e),cu===null?cu=[n]:cu.push(n),pl!==4&&(pl=2),t===null)return!0;a=gt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=sc(e.stateNode,a,l),Gi(e,l),!1;case 1:if(t=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(re===null||!re.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Oo(u),jo(u,l,e,a),Gi(e,u),!1}e=e.return}while(e!==null);return!1}var oc=Error(y(461)),Ml=!1;function Ql(l,t,e,a){t.child=l===null?Hs(t,null,e,a):qe(t,l.child,e,a)}function Do(l,t,e,a,u){e=e.render;var n=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return He(t),a=Ki(l,t,e,i,n,u),c=Ji(),l!==null&&!Ml?(wi(l,t,u),Lt(l,t,u)):($&&c&&Mi(t),t.flags|=1,Ql(l,t,a,u),t.child)}function Uo(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!Ti(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Ho(l,t,n,a,u)):(l=Qu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!Sc(l,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:Ga,e(i,a)&&l.ref===t.ref)return Lt(l,t,u)}return t.flags|=1,l=qt(n,a),l.ref=t.ref,l.return=t,t.child=l}function Ho(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(Ga(n,a)&&l.ref===t.ref)if(Ml=!1,t.pendingProps=a=n,Sc(l,u))(l.flags&131072)!==0&&(Ml=!0);else return t.lanes=l.lanes,Lt(l,t,u)}return dc(l,t,e,a,u)}function Co(l,t,e,a){var u=a.children,n=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,l!==null){for(a=t.child=l.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,t.child=null;return Ro(l,t,n,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Ku(t,n!==null?n.cachePool:null),n!==null?Bs(t,n):Qi(),qs(t);else return a=t.lanes=536870912,Ro(l,t,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(Ku(t,n.cachePool),Bs(t,n),se(),t.memoizedState=null):(l!==null&&Ku(t,null),Qi(),se());return Ql(l,t,u,e),t.child}function lu(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ro(l,t,e,a,u){var n=Ri();return n=n===null?null:{parent:El._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&Ku(t,null),Qi(),qs(t),l!==null&&na(l,t,a,!0),t.childLanes=u,null}function fn(l,t){return t=on({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Bo(l,t,e){return qe(t,l.child,null,e),l=fn(t,t.pendingProps),l.flags|=2,st(t),t.memoizedState=null,l}function $m(l,t,e){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,l===null){if($){if(a.mode==="hidden")return l=fn(t,a),t.lanes=536870912,lu(null,l);if(Li(t),(l=hl)?(l=Wd(l,pt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:te!==null?{id:jt,overflow:Dt}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Gl=t,hl=null)):l=null,l===null)throw ae(t);return t.lanes=536870912,null}return fn(t,a)}var n=l.memoizedState;if(n!==null){var i=n.dehydrated;if(Li(t),u)if(t.flags&256)t.flags&=-257,t=Bo(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(y(558));else if(Ml||na(l,t,e,!1),u=(e&l.childLanes)!==0,Ml||u){if(a=ml,a!==null&&(i=Af(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,Oe(l,i),et(a,l,i),oc;bn(),t=Bo(l,t,e)}else l=n.treeContext,hl=xt(i.nextSibling),Gl=t,$=!0,ee=null,pt=!1,l!==null&&zs(t,l),t=fn(t,a),t.flags|=4096;return t}return l=qt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function sn(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(y(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function dc(l,t,e,a,u){return He(t),e=Ki(l,t,e,a,void 0,u),a=Ji(),l!==null&&!Ml?(wi(l,t,u),Lt(l,t,u)):($&&a&&Mi(t),t.flags|=1,Ql(l,t,e,u),t.child)}function qo(l,t,e,a,u,n){return He(t),t.updateQueue=null,e=Gs(t,a,e,u),Ys(l),a=Ji(),l!==null&&!Ml?(wi(l,t,n),Lt(l,t,n)):($&&a&&Mi(t),t.flags|=1,Ql(l,t,e,n),t.child)}function Yo(l,t,e,a,u){if(He(t),t.stateNode===null){var n=ta,i=e.contextType;typeof i=="object"&&i!==null&&(n=Xl(i)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=fc,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},qi(t),i=e.contextType,n.context=typeof i=="object"&&i!==null?Xl(i):ta,n.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(cc(t,e,i,a),n.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&fc.enqueueReplaceState(n,n.state,null),ka(t,a,n,u),Wa(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,f=Ge(e,c);n.props=f;var h=n.context,p=e.contextType;i=ta,typeof p=="object"&&p!==null&&(i=Xl(p));var x=e.getDerivedStateFromProps;p=typeof x=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,p||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||h!==i)&&Eo(t,n,a,i),ne=!1;var v=t.memoizedState;n.state=v,ka(t,a,n,u),Wa(),h=t.memoizedState,c||v!==h||ne?(typeof x=="function"&&(cc(t,e,x,a),h=t.memoizedState),(f=ne||To(t,e,f,a,v,h,i))?(p||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=h),n.props=a,n.state=h,n.context=i,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Yi(l,t),i=t.memoizedProps,p=Ge(e,i),n.props=p,x=t.pendingProps,v=n.context,h=e.contextType,f=ta,typeof h=="object"&&h!==null&&(f=Xl(h)),c=e.getDerivedStateFromProps,(h=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==x||v!==f)&&Eo(t,n,a,f),ne=!1,v=t.memoizedState,n.state=v,ka(t,a,n,u),Wa();var S=t.memoizedState;i!==x||v!==S||ne||l!==null&&l.dependencies!==null&&Lu(l.dependencies)?(typeof c=="function"&&(cc(t,e,c,a),S=t.memoizedState),(p=ne||To(t,e,p,a,v,S,f)||l!==null&&l.dependencies!==null&&Lu(l.dependencies))?(h||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,S,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,S,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&v===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&v===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=S),n.props=a,n.state=S,n.context=f,a=p):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&v===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&v===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,sn(l,t),a=(t.flags&128)!==0,n||a?(n=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&a?(t.child=qe(t,l.child,null,u),t.child=qe(t,null,e,u)):Ql(l,t,e,u),t.memoizedState=n.state,l=t.child):l=Lt(l,t,u),l}function Go(l,t,e,a){return De(),t.flags|=256,Ql(l,t,e,a),t.child}var mc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rc(l){return{baseLanes:l,cachePool:Ns()}}function hc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=dt),l}function Xo(l,t,e){var a=t.pendingProps,u=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=l!==null&&l.memoizedState===null?!1:(xl.current&2)!==0),i&&(u=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if($){if(u?fe(t):se(),(l=hl)?(l=Wd(l,pt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:te!==null?{id:jt,overflow:Dt}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Gl=t,hl=null)):l=null,l===null)throw ae(t);return $c(l)?t.lanes=32:t.lanes=536870912,null}var c=a.children;return a=a.fallback,u?(se(),u=t.mode,c=on({mode:"hidden",children:c},u),a=je(a,u,e,null),c.return=t,a.return=t,c.sibling=a,t.child=c,a=t.child,a.memoizedState=rc(e),a.childLanes=hc(l,i,e),t.memoizedState=mc,lu(null,a)):(fe(t),vc(t,c))}var f=l.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(fe(t),t.flags&=-257,t=yc(l,t,e)):t.memoizedState!==null?(se(),t.child=l.child,t.flags|=128,t=null):(se(),c=a.fallback,u=t.mode,a=on({mode:"visible",children:a.children},u),c=je(c,u,e,null),c.flags|=2,a.return=t,c.return=t,a.sibling=c,t.child=a,qe(t,l.child,null,e),a=t.child,a.memoizedState=rc(e),a.childLanes=hc(l,i,e),t.memoizedState=mc,t=lu(null,a));else if(fe(t),$c(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var h=i.dgst;i=h,a=Error(y(419)),a.stack="",a.digest=i,Za({value:a,source:null,stack:null}),t=yc(l,t,e)}else if(Ml||na(l,t,e,!1),i=(e&l.childLanes)!==0,Ml||i){if(i=ml,i!==null&&(a=Af(i,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,Oe(l,a),et(i,l,a),oc;kc(c)||bn(),t=yc(l,t,e)}else kc(c)?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,hl=xt(c.nextSibling),Gl=t,$=!0,ee=null,pt=!1,l!==null&&zs(t,l),t=vc(t,a.children),t.flags|=4096);return t}return u?(se(),c=a.fallback,u=t.mode,f=l.child,h=f.sibling,a=qt(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,h!==null?c=qt(h,c):(c=je(c,u,e,null),c.flags|=2),c.return=t,a.return=t,a.sibling=c,t.child=a,lu(null,a),a=t.child,c=l.child.memoizedState,c===null?c=rc(e):(u=c.cachePool,u!==null?(f=El._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=Ns(),c={baseLanes:c.baseLanes|e,cachePool:u}),a.memoizedState=c,a.childLanes=hc(l,i,e),t.memoizedState=mc,lu(l.child,a)):(fe(t),e=l.child,l=e.sibling,e=qt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=e,t.memoizedState=null,e)}function vc(l,t){return t=on({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function on(l,t){return l=ct(22,l,null,t),l.lanes=0,l}function yc(l,t,e){return qe(t,l.child,null,e),l=vc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Qo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Di(l.return,t,e)}function gc(l,t,e,a,u,n){var i=l.memoizedState;i===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function Zo(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=xl.current,c=(i&2)!==0;if(c?(i=i&1|2,t.flags|=128):i&=1,E(xl,i),Ql(l,t,a,e),a=$?Qa:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Qo(l,e,t);else if(l.tag===19)Qo(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(u){case"forwards":for(e=t.child,u=null;e!==null;)l=e.alternate,l!==null&&Fu(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),gc(t,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&Fu(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}gc(t,!0,e,null,n,a);break;case"together":gc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Lt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),me|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(na(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(y(153));if(t.child!==null){for(l=t.child,e=qt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=qt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Sc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Lu(l)))}function Fm(l,t,e){switch(t.tag){case 3:Wl(t,t.stateNode.containerInfo),ue(t,El,l.memoizedState.cache),De();break;case 27:case 5:Ma(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:ue(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Li(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(fe(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Xo(l,t,e):(fe(t),l=Lt(l,t,e),l!==null?l.sibling:null);fe(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(na(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return Zo(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),E(xl,xl.current),a)break;return null;case 22:return t.lanes=0,Co(l,t,e,t.pendingProps);case 24:ue(t,El,l.memoizedState.cache)}return Lt(l,t,e)}function Lo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Ml=!0;else{if(!Sc(l,e)&&(t.flags&128)===0)return Ml=!1,Fm(l,t,e);Ml=(l.flags&131072)!==0}else Ml=!1,$&&(t.flags&1048576)!==0&&ps(t,Qa,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Re(t.elementType),t.type=l,typeof l=="function")Ti(l)?(a=Ge(l,a),t.tag=1,t=Yo(null,t,l,a,e)):(t.tag=0,t=dc(null,t,l,a,e));else{if(l!=null){var u=l.$$typeof;if(u===Ul){t.tag=11,t=Do(null,t,l,a,e);break l}else if(u===V){t.tag=14,t=Uo(null,t,l,a,e);break l}}throw t=Sl(l)||l,Error(y(306,t,""))}}return t;case 0:return dc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=Ge(a,t.pendingProps),Yo(l,t,a,u,e);case 3:l:{if(Wl(t,t.stateNode.containerInfo),l===null)throw Error(y(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,Yi(l,t),ka(t,a,null,e);var i=t.memoizedState;if(a=i.cache,ue(t,El,a),a!==n.cache&&Ui(t,[El],e,!0),Wa(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=Go(l,t,a,e);break l}else if(a!==u){u=gt(Error(y(424)),t),Za(u),t=Go(l,t,a,e);break l}else for(l=t.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,hl=xt(l.firstChild),Gl=t,$=!0,ee=null,pt=!0,e=Hs(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(De(),a===u){t=Lt(l,t,e);break l}Ql(l,t,a,e)}t=t.child}return t;case 26:return sn(l,t),l===null?(e=l0(t.type,null,t.pendingProps,null))?t.memoizedState=e:$||(e=t.type,l=t.pendingProps,a=Mn(Y.current).createElement(e),a[Yl]=t,a[$l]=l,Zl(a,e,l),Cl(a),t.stateNode=a):t.memoizedState=l0(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ma(t),l===null&&$&&(a=t.stateNode=Fd(t.type,t.pendingProps,Y.current),Gl=t,pt=!0,u=hl,ge(t.type)?(Fc=u,hl=xt(a.firstChild)):hl=u),Ql(l,t,t.pendingProps.children,e),sn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&$&&((u=a=hl)&&(a=Nr(a,t.type,t.pendingProps,pt),a!==null?(t.stateNode=a,Gl=t,hl=xt(a.firstChild),pt=!1,u=!0):u=!1),u||ae(t)),Ma(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,a=n.children,Jc(u,n)?a=null:i!==null&&Jc(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=Ki(l,t,Zm,null,null,e),vu._currentValue=u),sn(l,t),Ql(l,t,a,e),t.child;case 6:return l===null&&$&&((l=e=hl)&&(e=_r(e,t.pendingProps,pt),e!==null?(t.stateNode=e,Gl=t,hl=null,l=!0):l=!1),l||ae(t)),null;case 13:return Xo(l,t,e);case 4:return Wl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=qe(t,null,a,e):Ql(l,t,a,e),t.child;case 11:return Do(l,t,t.type,t.pendingProps,e);case 7:return Ql(l,t,t.pendingProps,e),t.child;case 8:return Ql(l,t,t.pendingProps.children,e),t.child;case 12:return Ql(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ue(t,t.type,a.value),Ql(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,He(t),u=Xl(u),a=a(u),t.flags|=1,Ql(l,t,a,e),t.child;case 14:return Uo(l,t,t.type,t.pendingProps,e);case 15:return Ho(l,t,t.type,t.pendingProps,e);case 19:return Zo(l,t,e);case 31:return $m(l,t,e);case 22:return Co(l,t,e,t.pendingProps);case 24:return He(t),a=Xl(El),l===null?(u=Ri(),u===null&&(u=ml,n=Hi(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},qi(t),ue(t,El,u)):((l.lanes&e)!==0&&(Yi(l,t),ka(t,null,null,e),Wa()),u=l.memoizedState,n=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),ue(t,El,a)):(a=n.cache,ue(t,El,a),a!==u.cache&&Ui(t,[El],e,!0))),Ql(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(y(156,t.tag))}function Vt(l){l.flags|=4}function bc(l,t,e,a,u){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(u&335544128)===u)if(l.stateNode.complete)l.flags|=8192;else if(yd())l.flags|=8192;else throw Be=wu,Bi}else l.flags&=-16777217}function Vo(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!n0(t))if(yd())l.flags|=8192;else throw Be=wu,Bi}function dn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?xf():536870912,l.lanes|=t,ga|=t)}function tu(l,t){if(!$)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function vl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=l,u=u.sibling;else for(u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=l,u=u.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function Im(l,t,e){var a=t.pendingProps;switch(Ni(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vl(t),null;case 1:return vl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Xt(El),zl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ua(t)?Vt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Oi())),vl(t),null;case 26:var u=t.type,n=t.memoizedState;return l===null?(Vt(t),n!==null?(vl(t),Vo(t,n)):(vl(t),bc(t,u,null,a,e))):n?n!==l.memoizedState?(Vt(t),vl(t),Vo(t,n)):(vl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Vt(t),vl(t),bc(t,u,l,a,e)),null;case 27:if(zu(t),e=Y.current,u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(y(166));return vl(t),null}l=_.current,ua(t)?xs(t):(l=Fd(u,a,e),t.stateNode=l,Vt(t))}return vl(t),null;case 5:if(zu(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(y(166));return vl(t),null}if(n=_.current,ua(t))xs(t);else{var i=Mn(Y.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[Yl]=t,n[$l]=a;l:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break l;for(;i.sibling===null;){if(i.return===null||i.return===t)break l;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=n;l:switch(Zl(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Vt(t)}}return vl(t),bc(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(y(166));if(l=Y.current,ua(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Gl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Yl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Xd(l.nodeValue,e)),l||ae(t,!0)}else l=Mn(l).createTextNode(a),l[Yl]=t,t.stateNode=l}return vl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ua(t),e!==null){if(l===null){if(!a)throw Error(y(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(557));l[Yl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;vl(t),l=!1}else e=Oi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(st(t),t):(st(t),null);if((t.flags&128)!==0)throw Error(y(558))}return vl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=ua(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(y(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(y(317));u[Yl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;vl(t),u=!1}else u=Oi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(st(t),t):(st(t),null)}return st(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),dn(t,t.updateQueue),vl(t),null);case 4:return zl(),l===null&&Qc(t.stateNode.containerInfo),vl(t),null;case 10:return Xt(t.type),vl(t),null;case 19:if(b(xl),a=t.memoizedState,a===null)return vl(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)tu(a,!1);else{if(pl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=Fu(l),n!==null){for(t.flags|=128,tu(a,!1),l=n.updateQueue,t.updateQueue=l,dn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)gs(e,l),e=e.sibling;return E(xl,xl.current&1|2),$&&Yt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&at()>yn&&(t.flags|=128,u=!0,tu(a,!1),t.lanes=4194304)}else{if(!u)if(l=Fu(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,dn(t,l),tu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!$)return vl(t),null}else 2*at()-a.renderingStartTime>yn&&e!==536870912&&(t.flags|=128,u=!0,tu(a,!1),t.lanes=4194304);a.isBackwards?(n.sibling=t.child,t.child=n):(l=a.last,l!==null?l.sibling=n:t.child=n,a.last=n)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=at(),l.sibling=null,e=xl.current,E(xl,u?e&1|2:e&1),$&&Yt(t,a.treeForkCount),l):(vl(t),null);case 22:case 23:return st(t),Zi(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(vl(t),t.subtreeFlags&6&&(t.flags|=8192)):vl(t),e=t.updateQueue,e!==null&&dn(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&b(Ce),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Xt(El),vl(t),null;case 25:return null;case 30:return null}throw Error(y(156,t.tag))}function Pm(l,t){switch(Ni(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Xt(El),zl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return zu(t),null;case 31:if(t.memoizedState!==null){if(st(t),t.alternate===null)throw Error(y(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(st(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(y(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return b(xl),null;case 4:return zl(),null;case 10:return Xt(t.type),null;case 22:case 23:return st(t),Zi(),l!==null&&b(Ce),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Xt(El),null;case 25:return null;default:return null}}function Ko(l,t){switch(Ni(t),t.tag){case 3:Xt(El),zl();break;case 26:case 27:case 5:zu(t);break;case 4:zl();break;case 31:t.memoizedState!==null&&st(t);break;case 13:st(t);break;case 19:b(xl);break;case 10:Xt(t.type);break;case 22:case 23:st(t),Zi(),l!==null&&b(Ce);break;case 24:Xt(El)}}function eu(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&l)===l){a=void 0;var n=e.create,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){cl(t,t.return,c)}}function oe(l,t,e){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&l)===l){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=t;var f=e,h=c;try{h()}catch(p){cl(u,f,p)}}}a=a.next}while(a!==n)}}catch(p){cl(t,t.return,p)}}function Jo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Rs(t,e)}catch(a){cl(l,l.return,a)}}}function wo(l,t,e){e.props=Ge(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){cl(l,t,a)}}function au(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(u){cl(l,t,u)}}function Ut(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){cl(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){cl(l,t,u)}else e.current=null}function Wo(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){cl(l,l.return,u)}}function pc(l,t,e){try{var a=l.stateNode;zr(a,l.type,e,t),a[$l]=t}catch(u){cl(l,l.return,u)}}function ko(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ge(l.type)||l.tag===4}function zc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ko(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&ge(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function xc(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=Rt));else if(a!==4&&(a===27&&ge(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(xc(l,t,e),l=l.sibling;l!==null;)xc(l,t,e),l=l.sibling}function mn(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&ge(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(mn(l,t,e),l=l.sibling;l!==null;)mn(l,t,e),l=l.sibling}function $o(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Zl(t,a,e),t[Yl]=l,t[$l]=e}catch(n){cl(l,l.return,n)}}var Kt=!1,Nl=!1,Tc=!1,Fo=typeof WeakSet=="function"?WeakSet:Set,Rl=null;function lr(l,t){if(l=l.containerInfo,Vc=Hn,l=fs(l),yi(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break l}var i=0,c=-1,f=-1,h=0,p=0,x=l,v=null;t:for(;;){for(var S;x!==e||u!==0&&x.nodeType!==3||(c=i+u),x!==n||a!==0&&x.nodeType!==3||(f=i+a),x.nodeType===3&&(i+=x.nodeValue.length),(S=x.firstChild)!==null;)v=x,x=S;for(;;){if(x===l)break t;if(v===e&&++h===u&&(c=i),v===n&&++p===a&&(f=i),(S=x.nextSibling)!==null)break;x=v,v=x.parentNode}x=S}e=c===-1||f===-1?null:{start:c,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(Kc={focusedElem:l,selectionRange:e},Hn=!1,Rl=t;Rl!==null;)if(t=Rl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Rl=l;else for(;Rl!==null;){switch(t=Rl,n=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)u=l[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,e=t,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var O=Ge(e.type,u);l=a.getSnapshotBeforeUpdate(O,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(q){cl(e,e.return,q)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)Wc(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Wc(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(y(163))}if(l=t.sibling,l!==null){l.return=t.return,Rl=l;break}Rl=t.return}}function Io(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:wt(l,e),a&4&&eu(5,e);break;case 1:if(wt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(i){cl(e,e.return,i)}else{var u=Ge(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(i){cl(e,e.return,i)}}a&64&&Jo(e),a&512&&au(e,e.return);break;case 3:if(wt(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Rs(l,t)}catch(i){cl(e,e.return,i)}}break;case 27:t===null&&a&4&&$o(e);case 26:case 5:wt(l,e),t===null&&a&4&&Wo(e),a&512&&au(e,e.return);break;case 12:wt(l,e);break;case 31:wt(l,e),a&4&&td(l,e);break;case 13:wt(l,e),a&4&&ed(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=sr.bind(null,e),Or(l,e))));break;case 22:if(a=e.memoizedState!==null||Kt,!a){t=t!==null&&t.memoizedState!==null||Nl,u=Kt;var n=Nl;Kt=a,(Nl=t)&&!n?Wt(l,e,(e.subtreeFlags&8772)!==0):wt(l,e),Kt=u,Nl=n}break;case 30:break;default:wt(l,e)}}function Po(l){var t=l.alternate;t!==null&&(l.alternate=null,Po(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&Pn(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var gl=null,Il=!1;function Jt(l,t,e){for(e=e.child;e!==null;)ld(l,t,e),e=e.sibling}function ld(l,t,e){if(ut&&typeof ut.onCommitFiberUnmount=="function")try{ut.onCommitFiberUnmount(Na,e)}catch{}switch(e.tag){case 26:Nl||Ut(e,t),Jt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Nl||Ut(e,t);var a=gl,u=Il;ge(e.type)&&(gl=e.stateNode,Il=!1),Jt(l,t,e),mu(e.stateNode),gl=a,Il=u;break;case 5:Nl||Ut(e,t);case 6:if(a=gl,u=Il,gl=null,Jt(l,t,e),gl=a,Il=u,gl!==null)if(Il)try{(gl.nodeType===9?gl.body:gl.nodeName==="HTML"?gl.ownerDocument.body:gl).removeChild(e.stateNode)}catch(n){cl(e,t,n)}else try{gl.removeChild(e.stateNode)}catch(n){cl(e,t,n)}break;case 18:gl!==null&&(Il?(l=gl,Jd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Aa(l)):Jd(gl,e.stateNode));break;case 4:a=gl,u=Il,gl=e.stateNode.containerInfo,Il=!0,Jt(l,t,e),gl=a,Il=u;break;case 0:case 11:case 14:case 15:oe(2,e,t),Nl||oe(4,e,t),Jt(l,t,e);break;case 1:Nl||(Ut(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&wo(e,t,a)),Jt(l,t,e);break;case 21:Jt(l,t,e);break;case 22:Nl=(a=Nl)||e.memoizedState!==null,Jt(l,t,e),Nl=a;break;default:Jt(l,t,e)}}function td(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Aa(l)}catch(e){cl(t,t.return,e)}}}function ed(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Aa(l)}catch(e){cl(t,t.return,e)}}function tr(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Fo),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Fo),t;default:throw Error(y(435,l.tag))}}function rn(l,t){var e=tr(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var u=or.bind(null,l,a);a.then(u,u)}})}function Pl(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:if(ge(c.type)){gl=c.stateNode,Il=!1;break l}break;case 5:gl=c.stateNode,Il=!1;break l;case 3:case 4:gl=c.stateNode.containerInfo,Il=!0;break l}c=c.return}if(gl===null)throw Error(y(160));ld(n,i,u),gl=null,Il=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ad(t,l),t=t.sibling}var _t=null;function ad(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Pl(t,l),lt(l),a&4&&(oe(3,l,l.return),eu(3,l),oe(5,l,l.return));break;case 1:Pl(t,l),lt(l),a&512&&(Nl||e===null||Ut(e,e.return)),a&64&&Kt&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var u=_t;if(Pl(t,l),lt(l),a&512&&(Nl||e===null||Ut(e,e.return)),a&4){var n=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[ja]||n[Yl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Zl(n,a,e),n[Yl]=l,Cl(n),a=n;break l;case"link":var i=a0("link","href",u).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break t}}n=u.createElement(a),Zl(n,a,e),u.head.appendChild(n);break;case"meta":if(i=a0("meta","content",u).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break t}}n=u.createElement(a),Zl(n,a,e),u.head.appendChild(n);break;default:throw Error(y(468,a))}n[Yl]=l,Cl(n),a=n}l.stateNode=a}else u0(u,l.type,l.stateNode);else l.stateNode=e0(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?u0(u,l.type,l.stateNode):e0(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&pc(l,l.memoizedProps,e.memoizedProps)}break;case 27:Pl(t,l),lt(l),a&512&&(Nl||e===null||Ut(e,e.return)),e!==null&&a&4&&pc(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Pl(t,l),lt(l),a&512&&(Nl||e===null||Ut(e,e.return)),l.flags&32){u=l.stateNode;try{We(u,"")}catch(O){cl(l,l.return,O)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,pc(l,u,e!==null?e.memoizedProps:u)),a&1024&&(Tc=!0);break;case 6:if(Pl(t,l),lt(l),a&4){if(l.stateNode===null)throw Error(y(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(O){cl(l,l.return,O)}}break;case 3:if(On=null,u=_t,_t=Nn(t.containerInfo),Pl(t,l),_t=u,lt(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Aa(t.containerInfo)}catch(O){cl(l,l.return,O)}Tc&&(Tc=!1,ud(l));break;case 4:a=_t,_t=Nn(l.stateNode.containerInfo),Pl(t,l),lt(l),_t=a;break;case 12:Pl(t,l),lt(l);break;case 31:Pl(t,l),lt(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,rn(l,a)));break;case 13:Pl(t,l),lt(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(vn=at()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,rn(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,h=Kt,p=Nl;if(Kt=h||u,Nl=p||f,Pl(t,l),Nl=p,Kt=h,lt(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||Kt||Nl||Xe(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){f=e=t;try{if(n=f.stateNode,u)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=f.stateNode;var x=f.memoizedProps.style,v=x!=null&&x.hasOwnProperty("display")?x.display:null;c.style.display=v==null||typeof v=="boolean"?"":(""+v).trim()}}catch(O){cl(f,f.return,O)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(O){cl(f,f.return,O)}}}else if(t.tag===18){if(e===null){f=t;try{var S=f.stateNode;u?wd(S,!0):wd(f.stateNode,!1)}catch(O){cl(f,f.return,O)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,rn(l,e))));break;case 19:Pl(t,l),lt(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,rn(l,a)));break;case 30:break;case 21:break;default:Pl(t,l),lt(l)}}function lt(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(ko(a)){e=a;break}a=a.return}if(e==null)throw Error(y(160));switch(e.tag){case 27:var u=e.stateNode,n=zc(l);mn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(We(i,""),e.flags&=-33);var c=zc(l);mn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,h=zc(l);xc(l,h,f);break;default:throw Error(y(161))}}catch(p){cl(l,l.return,p)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function ud(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;ud(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function wt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Io(l,t.alternate,t),t=t.sibling}function Xe(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:oe(4,t,t.return),Xe(t);break;case 1:Ut(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&wo(t,t.return,e),Xe(t);break;case 27:mu(t.stateNode);case 26:case 5:Ut(t,t.return),Xe(t);break;case 22:t.memoizedState===null&&Xe(t);break;case 30:Xe(t);break;default:Xe(t)}l=l.sibling}}function Wt(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=l,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:Wt(u,n,e),eu(4,n);break;case 1:if(Wt(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(h){cl(a,a.return,h)}if(a=n,u=a.updateQueue,u!==null){var c=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Cs(f[u],c)}catch(h){cl(a,a.return,h)}}e&&i&64&&Jo(n),au(n,n.return);break;case 27:$o(n);case 26:case 5:Wt(u,n,e),e&&a===null&&i&4&&Wo(n),au(n,n.return);break;case 12:Wt(u,n,e);break;case 31:Wt(u,n,e),e&&i&4&&td(u,n);break;case 13:Wt(u,n,e),e&&i&4&&ed(u,n);break;case 22:n.memoizedState===null&&Wt(u,n,e),au(n,n.return);break;case 30:break;default:Wt(u,n,e)}t=t.sibling}}function Ec(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&La(e))}function Ac(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&La(l))}function Ot(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)nd(l,t,e,a),t=t.sibling}function nd(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Ot(l,t,e,a),u&2048&&eu(9,t);break;case 1:Ot(l,t,e,a);break;case 3:Ot(l,t,e,a),u&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&La(l)));break;case 12:if(u&2048){Ot(l,t,e,a),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){cl(t,t.return,f)}}else Ot(l,t,e,a);break;case 31:Ot(l,t,e,a);break;case 13:Ot(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,i=t.alternate,t.memoizedState!==null?n._visibility&2?Ot(l,t,e,a):uu(l,t):n._visibility&2?Ot(l,t,e,a):(n._visibility|=2,ha(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Ec(i,t);break;case 24:Ot(l,t,e,a),u&2048&&Ac(t.alternate,t);break;default:Ot(l,t,e,a)}}function ha(l,t,e,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,i=t,c=e,f=a,h=i.flags;switch(i.tag){case 0:case 11:case 15:ha(n,i,c,f,u),eu(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?ha(n,i,c,f,u):uu(n,i):(p._visibility|=2,ha(n,i,c,f,u)),u&&h&2048&&Ec(i.alternate,i);break;case 24:ha(n,i,c,f,u),u&&h&2048&&Ac(i.alternate,i);break;default:ha(n,i,c,f,u)}t=t.sibling}}function uu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,u=a.flags;switch(a.tag){case 22:uu(e,a),u&2048&&Ec(a.alternate,a);break;case 24:uu(e,a),u&2048&&Ac(a.alternate,a);break;default:uu(e,a)}t=t.sibling}}var nu=8192;function va(l,t,e){if(l.subtreeFlags&nu)for(l=l.child;l!==null;)id(l,t,e),l=l.sibling}function id(l,t,e){switch(l.tag){case 26:va(l,t,e),l.flags&nu&&l.memoizedState!==null&&Qr(e,_t,l.memoizedState,l.memoizedProps);break;case 5:va(l,t,e);break;case 3:case 4:var a=_t;_t=Nn(l.stateNode.containerInfo),va(l,t,e),_t=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=nu,nu=16777216,va(l,t,e),nu=a):va(l,t,e));break;default:va(l,t,e)}}function cd(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function iu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Rl=a,sd(a,l)}cd(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)fd(l),l=l.sibling}function fd(l){switch(l.tag){case 0:case 11:case 15:iu(l),l.flags&2048&&oe(9,l,l.return);break;case 3:iu(l);break;case 12:iu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,hn(l)):iu(l);break;default:iu(l)}}function hn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Rl=a,sd(a,l)}cd(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:oe(8,t,t.return),hn(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,hn(t));break;default:hn(t)}l=l.sibling}}function sd(l,t){for(;Rl!==null;){var e=Rl;switch(e.tag){case 0:case 11:case 15:oe(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:La(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Rl=a;else l:for(e=l;Rl!==null;){a=Rl;var u=a.sibling,n=a.return;if(Po(a),a===e){Rl=null;break l}if(u!==null){u.return=n,Rl=u;break l}Rl=n}}}var er={getCacheForType:function(l){var t=Xl(El),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Xl(El).controller.signal}},ar=typeof WeakMap=="function"?WeakMap:Map,al=0,ml=null,K=null,w=0,il=0,ot=null,de=!1,ya=!1,Mc=!1,kt=0,pl=0,me=0,Qe=0,Nc=0,dt=0,ga=0,cu=null,tt=null,_c=!1,vn=0,od=0,yn=1/0,gn=null,re=null,Ol=0,he=null,Sa=null,$t=0,Oc=0,jc=null,dd=null,fu=0,Dc=null;function mt(){return(al&2)!==0&&w!==0?w&-w:m.T!==null?qc():Mf()}function md(){if(dt===0)if((w&536870912)===0||$){var l=Eu;Eu<<=1,(Eu&3932160)===0&&(Eu=262144),dt=l}else dt=536870912;return l=ft.current,l!==null&&(l.flags|=32),dt}function et(l,t,e){(l===ml&&(il===2||il===9)||l.cancelPendingCommit!==null)&&(ba(l,0),ve(l,w,dt,!1)),Oa(l,e),((al&2)===0||l!==ml)&&(l===ml&&((al&2)===0&&(Qe|=e),pl===4&&ve(l,w,dt,!1)),Ht(l))}function rd(l,t,e){if((al&6)!==0)throw Error(y(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||_a(l,t),u=a?ir(l,t):Hc(l,t,!0),n=a;do{if(u===0){ya&&!a&&ve(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!ur(e)){u=Hc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;u=cu;var f=c.current.memoizedState.isDehydrated;if(f&&(ba(c,i).flags|=256),i=Hc(c,i,!1),i!==2){if(Mc&&!f){c.errorRecoveryDisabledLanes|=n,Qe|=n,u=4;break l}n=tt,tt=u,n!==null&&(tt===null?tt=n:tt.push.apply(tt,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){ba(l,0),ve(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(y(345));case 4:if((t&4194048)!==t)break;case 6:ve(a,t,dt,!de);break l;case 2:tt=null;break;case 3:case 5:break;default:throw Error(y(329))}if((t&62914560)===t&&(u=vn+300-at(),10<u)){if(ve(a,t,dt,!de),Mu(a,0,!0)!==0)break l;$t=t,a.timeoutHandle=Vd(hd.bind(null,a,e,tt,gn,_c,t,dt,Qe,ga,de,n,"Throttled",-0,0),u);break l}hd(a,e,tt,gn,_c,t,dt,Qe,ga,de,n,null,-0,0)}}break}while(!0);Ht(l)}function hd(l,t,e,a,u,n,i,c,f,h,p,x,v,S){if(l.timeoutHandle=-1,x=t.subtreeFlags,x&8192||(x&16785408)===16785408){x={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rt},id(t,n,x);var O=(n&62914560)===n?vn-at():(n&4194048)===n?od-at():0;if(O=Zr(x,O),O!==null){$t=n,l.cancelPendingCommit=O(xd.bind(null,l,t,n,e,a,u,i,c,f,p,x,null,v,S)),ve(l,n,i,!h);return}}xd(l,t,n,e,a,u,i,c,f)}function ur(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var u=e[a],n=u.getSnapshot;u=u.value;try{if(!it(n(),u))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ve(l,t,e,a){t&=~Nc,t&=~Qe,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-nt(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Tf(l,e,t)}function Sn(){return(al&6)===0?(su(0),!1):!0}function Uc(){if(K!==null){if(il===0)var l=K.return;else l=K,Gt=Ue=null,Wi(l),sa=null,Ka=0,l=K;for(;l!==null;)Ko(l.alternate,l),l=l.return;K=null}}function ba(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Er(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),$t=0,Uc(),ml=l,K=e=qt(l.current,null),w=t,il=0,ot=null,de=!1,ya=_a(l,t),Mc=!1,ga=dt=Nc=Qe=me=pl=0,tt=cu=null,_c=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var u=31-nt(a),n=1<<u;t|=l[u],a&=~n}return kt=t,Yu(),e}function vd(l,t){Q=null,m.H=Pa,t===fa||t===Ju?(t=js(),il=3):t===Bi?(t=js(),il=4):il=t===oc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ot=t,K===null&&(pl=1,cn(l,gt(t,l.current)))}function yd(){var l=ft.current;return l===null?!0:(w&4194048)===w?zt===null:(w&62914560)===w||(w&536870912)!==0?l===zt:!1}function gd(){var l=m.H;return m.H=Pa,l===null?Pa:l}function Sd(){var l=m.A;return m.A=er,l}function bn(){pl=4,de||(w&4194048)!==w&&ft.current!==null||(ya=!0),(me&134217727)===0&&(Qe&134217727)===0||ml===null||ve(ml,w,dt,!1)}function Hc(l,t,e){var a=al;al|=2;var u=gd(),n=Sd();(ml!==l||w!==t)&&(gn=null,ba(l,t)),t=!1;var i=pl;l:do try{if(il!==0&&K!==null){var c=K,f=ot;switch(il){case 8:Uc(),i=6;break l;case 3:case 2:case 9:case 6:ft.current===null&&(t=!0);var h=il;if(il=0,ot=null,pa(l,c,f,h),e&&ya){i=0;break l}break;default:h=il,il=0,ot=null,pa(l,c,f,h)}}nr(),i=pl;break}catch(p){vd(l,p)}while(!0);return t&&l.shellSuspendCounter++,Gt=Ue=null,al=a,m.H=u,m.A=n,K===null&&(ml=null,w=0,Yu()),i}function nr(){for(;K!==null;)bd(K)}function ir(l,t){var e=al;al|=2;var a=gd(),u=Sd();ml!==l||w!==t?(gn=null,yn=at()+500,ba(l,t)):ya=_a(l,t);l:do try{if(il!==0&&K!==null){t=K;var n=ot;t:switch(il){case 1:il=0,ot=null,pa(l,t,n,1);break;case 2:case 9:if(_s(n)){il=0,ot=null,pd(t);break}t=function(){il!==2&&il!==9||ml!==l||(il=7),Ht(l)},n.then(t,t);break l;case 3:il=7;break l;case 4:il=5;break l;case 7:_s(n)?(il=0,ot=null,pd(t)):(il=0,ot=null,pa(l,t,n,7));break;case 5:var i=null;switch(K.tag){case 26:i=K.memoizedState;case 5:case 27:var c=K;if(i?n0(i):c.stateNode.complete){il=0,ot=null;var f=c.sibling;if(f!==null)K=f;else{var h=c.return;h!==null?(K=h,pn(h)):K=null}break t}}il=0,ot=null,pa(l,t,n,5);break;case 6:il=0,ot=null,pa(l,t,n,6);break;case 8:Uc(),pl=6;break l;default:throw Error(y(462))}}cr();break}catch(p){vd(l,p)}while(!0);return Gt=Ue=null,m.H=a,m.A=u,al=e,K!==null?0:(ml=null,w=0,Yu(),pl)}function cr(){for(;K!==null&&!j0();)bd(K)}function bd(l){var t=Lo(l.alternate,l,kt);l.memoizedProps=l.pendingProps,t===null?pn(l):K=t}function pd(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=qo(e,t,t.pendingProps,t.type,void 0,w);break;case 11:t=qo(e,t,t.pendingProps,t.type.render,t.ref,w);break;case 5:Wi(t);default:Ko(e,t),t=K=gs(t,kt),t=Lo(e,t,kt)}l.memoizedProps=l.pendingProps,t===null?pn(l):K=t}function pa(l,t,e,a){Gt=Ue=null,Wi(t),sa=null,Ka=0;var u=t.return;try{if(km(l,u,t,e,w)){pl=1,cn(l,gt(e,l.current)),K=null;return}}catch(n){if(u!==null)throw K=u,n;pl=1,cn(l,gt(e,l.current)),K=null;return}t.flags&32768?($||a===1?l=!0:ya||(w&536870912)!==0?l=!1:(de=l=!0,(a===2||a===9||a===3||a===6)&&(a=ft.current,a!==null&&a.tag===13&&(a.flags|=16384))),zd(t,l)):pn(t)}function pn(l){var t=l;do{if((t.flags&32768)!==0){zd(t,de);return}l=t.return;var e=Im(t.alternate,t,kt);if(e!==null){K=e;return}if(t=t.sibling,t!==null){K=t;return}K=t=l}while(t!==null);pl===0&&(pl=5)}function zd(l,t){do{var e=Pm(l.alternate,l);if(e!==null){e.flags&=32767,K=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){K=l;return}K=l=e}while(l!==null);pl=6,K=null}function xd(l,t,e,a,u,n,i,c,f){l.cancelPendingCommit=null;do zn();while(Ol!==0);if((al&6)!==0)throw Error(y(327));if(t!==null){if(t===l.current)throw Error(y(177));if(n=t.lanes|t.childLanes,n|=zi,X0(l,e,n,i,c,f),l===ml&&(K=ml=null,w=0),Sa=t,he=l,$t=e,Oc=n,jc=u,dd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,dr(xu,function(){return Nd(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=m.T,m.T=null,u=M.p,M.p=2,i=al,al|=4;try{lr(l,t,e)}finally{al=i,M.p=u,m.T=a}}Ol=1,Td(),Ed(),Ad()}}function Td(){if(Ol===1){Ol=0;var l=he,t=Sa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=m.T,m.T=null;var a=M.p;M.p=2;var u=al;al|=4;try{ad(t,l);var n=Kc,i=fs(l.containerInfo),c=n.focusedElem,f=n.selectionRange;if(i!==c&&c&&c.ownerDocument&&cs(c.ownerDocument.documentElement,c)){if(f!==null&&yi(c)){var h=f.start,p=f.end;if(p===void 0&&(p=h),"selectionStart"in c)c.selectionStart=h,c.selectionEnd=Math.min(p,c.value.length);else{var x=c.ownerDocument||document,v=x&&x.defaultView||window;if(v.getSelection){var S=v.getSelection(),O=c.textContent.length,q=Math.min(f.start,O),dl=f.end===void 0?q:Math.min(f.end,O);!S.extend&&q>dl&&(i=dl,dl=q,q=i);var d=is(c,q),s=is(c,dl);if(d&&s&&(S.rangeCount!==1||S.anchorNode!==d.node||S.anchorOffset!==d.offset||S.focusNode!==s.node||S.focusOffset!==s.offset)){var r=x.createRange();r.setStart(d.node,d.offset),S.removeAllRanges(),q>dl?(S.addRange(r),S.extend(s.node,s.offset)):(r.setEnd(s.node,s.offset),S.addRange(r))}}}}for(x=[],S=c;S=S.parentNode;)S.nodeType===1&&x.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<x.length;c++){var z=x[c];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Hn=!!Vc,Kc=Vc=null}finally{al=u,M.p=a,m.T=e}}l.current=t,Ol=2}}function Ed(){if(Ol===2){Ol=0;var l=he,t=Sa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=m.T,m.T=null;var a=M.p;M.p=2;var u=al;al|=4;try{Io(l,t.alternate,t)}finally{al=u,M.p=a,m.T=e}}Ol=3}}function Ad(){if(Ol===4||Ol===3){Ol=0,D0();var l=he,t=Sa,e=$t,a=dd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ol=5:(Ol=0,Sa=he=null,Md(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(re=null),Fn(e),t=t.stateNode,ut&&typeof ut.onCommitFiberRoot=="function")try{ut.onCommitFiberRoot(Na,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=m.T,u=M.p,M.p=2,m.T=null;try{for(var n=l.onRecoverableError,i=0;i<a.length;i++){var c=a[i];n(c.value,{componentStack:c.stack})}}finally{m.T=t,M.p=u}}($t&3)!==0&&zn(),Ht(l),u=l.pendingLanes,(e&261930)!==0&&(u&42)!==0?l===Dc?fu++:(fu=0,Dc=l):fu=0,su(0)}}function Md(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,La(t)))}function zn(){return Td(),Ed(),Ad(),Nd()}function Nd(){if(Ol!==5)return!1;var l=he,t=Oc;Oc=0;var e=Fn($t),a=m.T,u=M.p;try{M.p=32>e?32:e,m.T=null,e=jc,jc=null;var n=he,i=$t;if(Ol=0,Sa=he=null,$t=0,(al&6)!==0)throw Error(y(331));var c=al;if(al|=4,fd(n.current),nd(n,n.current,i,e),al=c,su(0,!1),ut&&typeof ut.onPostCommitFiberRoot=="function")try{ut.onPostCommitFiberRoot(Na,n)}catch{}return!0}finally{M.p=u,m.T=a,Md(l,t)}}function _d(l,t,e){t=gt(e,t),t=sc(l.stateNode,t,2),l=ce(l,t,2),l!==null&&(Oa(l,2),Ht(l))}function cl(l,t,e){if(l.tag===3)_d(l,l,e);else for(;t!==null;){if(t.tag===3){_d(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(re===null||!re.has(a))){l=gt(e,l),e=Oo(2),a=ce(t,e,2),a!==null&&(jo(e,a,t,l),Oa(a,2),Ht(a));break}}t=t.return}}function Cc(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new ar;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(e)||(Mc=!0,u.add(e),l=fr.bind(null,l,t,e),t.then(l,l))}function fr(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,ml===l&&(w&e)===e&&(pl===4||pl===3&&(w&62914560)===w&&300>at()-vn?(al&2)===0&&ba(l,0):Nc|=e,ga===w&&(ga=0)),Ht(l)}function Od(l,t){t===0&&(t=xf()),l=Oe(l,t),l!==null&&(Oa(l,t),Ht(l))}function sr(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Od(l,e)}function or(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,u=l.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(y(314))}a!==null&&a.delete(t),Od(l,e)}function dr(l,t){return wn(l,t)}var xn=null,za=null,Rc=!1,Tn=!1,Bc=!1,ye=0;function Ht(l){l!==za&&l.next===null&&(za===null?xn=za=l:za=za.next=l),Tn=!0,Rc||(Rc=!0,rr())}function su(l,t){if(!Bc&&Tn){Bc=!0;do for(var e=!1,a=xn;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-nt(42|l)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Hd(a,n))}else n=w,n=Mu(a,a===ml?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||_a(a,n)||(e=!0,Hd(a,n));a=a.next}while(e);Bc=!1}}function mr(){jd()}function jd(){Tn=Rc=!1;var l=0;ye!==0&&Tr()&&(l=ye);for(var t=at(),e=null,a=xn;a!==null;){var u=a.next,n=Dd(a,t);n===0?(a.next=null,e===null?xn=u:e.next=u,u===null&&(za=e)):(e=a,(l!==0||(n&3)!==0)&&(Tn=!0)),a=u}Ol!==0&&Ol!==5||su(l),ye!==0&&(ye=0)}function Dd(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-nt(n),c=1<<i,f=u[i];f===-1?((c&e)===0||(c&a)!==0)&&(u[i]=G0(c,t)):f<=t&&(l.expiredLanes|=c),n&=~c}if(t=ml,e=w,e=Mu(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(il===2||il===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Wn(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||_a(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Wn(a),Fn(e)){case 2:case 8:e=pf;break;case 32:e=xu;break;case 268435456:e=zf;break;default:e=xu}return a=Ud.bind(null,l),e=wn(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Wn(a),l.callbackPriority=2,l.callbackNode=null,2}function Ud(l,t){if(Ol!==0&&Ol!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(zn()&&l.callbackNode!==e)return null;var a=w;return a=Mu(l,l===ml?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(rd(l,a,t),Dd(l,at()),l.callbackNode!=null&&l.callbackNode===e?Ud.bind(null,l):null)}function Hd(l,t){if(zn())return null;rd(l,t,!0)}function rr(){Ar(function(){(al&6)!==0?wn(bf,mr):jd()})}function qc(){if(ye===0){var l=ia;l===0&&(l=Tu,Tu<<=1,(Tu&261888)===0&&(Tu=256)),ye=l}return ye}function Cd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:ju(""+l)}function Rd(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}function hr(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=Cd((u[$l]||null).action),i=a.submitter;i&&(t=(t=i[$l]||null)?Cd(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var c=new Cu("action","action",null,a,u);l.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ye!==0){var f=i?Rd(u,i):new FormData(u);ac(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Rd(u,i):new FormData(u),ac(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var Yc=0;Yc<pi.length;Yc++){var Gc=pi[Yc],vr=Gc.toLowerCase(),yr=Gc[0].toUpperCase()+Gc.slice(1);Nt(vr,"on"+yr)}Nt(ds,"onAnimationEnd"),Nt(ms,"onAnimationIteration"),Nt(rs,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(Um,"onTransitionRun"),Nt(Hm,"onTransitionStart"),Nt(Cm,"onTransitionCancel"),Nt(hs,"onTransitionEnd"),Je("onMouseEnter",["mouseout","mouseover"]),Je("onMouseLeave",["mouseout","mouseover"]),Je("onPointerEnter",["pointerout","pointerover"]),Je("onPointerLeave",["pointerout","pointerover"]),Ae("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ae("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ae("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ae("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ae("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ae("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ou="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(" "),gr=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ou));function Bd(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],u=a.event;a=a.listeners;l:{var n=void 0;if(t)for(var i=a.length-1;0<=i;i--){var c=a[i],f=c.instance,h=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=h;try{n(u)}catch(p){qu(p)}u.currentTarget=null,n=f}else for(i=0;i<a.length;i++){if(c=a[i],f=c.instance,h=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=h;try{n(u)}catch(p){qu(p)}u.currentTarget=null,n=f}}}}function J(l,t){var e=t[In];e===void 0&&(e=t[In]=new Set);var a=l+"__bubble";e.has(a)||(qd(t,l,2,!1),e.add(a))}function Xc(l,t,e){var a=0;t&&(a|=4),qd(e,l,a,t)}var En="_reactListening"+Math.random().toString(36).slice(2);function Qc(l){if(!l[En]){l[En]=!0,Of.forEach(function(e){e!=="selectionchange"&&(gr.has(e)||Xc(e,!1,l),Xc(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[En]||(t[En]=!0,Xc("selectionchange",!1,t))}}function qd(l,t,e,a){switch(m0(t)){case 2:var u=Kr;break;case 8:u=Jr;break;default:u=ef}e=u.bind(null,t,e,l),u=void 0,!ci||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?l.addEventListener(t,e,{capture:!0,passive:u}):l.addEventListener(t,e,!0):u!==void 0?l.addEventListener(t,e,{passive:u}):l.addEventListener(t,e,!1)}function Zc(l,t,e,a,u){var n=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=Le(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=n=i;continue l}c=c.parentNode}}a=a.return}Qf(function(){var h=n,p=ni(e),x=[];l:{var v=vs.get(l);if(v!==void 0){var S=Cu,O=l;switch(l){case"keypress":if(Uu(e)===0)break l;case"keydown":case"keyup":S=om;break;case"focusin":O="focus",S=di;break;case"focusout":O="blur",S=di;break;case"beforeblur":case"afterblur":S=di;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=I0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=rm;break;case ds:case ms:case rs:S=tm;break;case hs:S=vm;break;case"scroll":case"scrollend":S=$0;break;case"wheel":S=gm;break;case"copy":case"cut":case"paste":S=am;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Jf;break;case"toggle":case"beforetoggle":S=bm}var q=(t&4)!==0,dl=!q&&(l==="scroll"||l==="scrollend"),d=q?v!==null?v+"Capture":null:v;q=[];for(var s=h,r;s!==null;){var z=s;if(r=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||r===null||d===null||(z=Ua(s,d),z!=null&&q.push(du(s,z,r))),dl)break;s=s.return}0<q.length&&(v=new S(v,O,null,e,p),x.push({event:v,listeners:q}))}}if((t&7)===0){l:{if(v=l==="mouseover"||l==="pointerover",S=l==="mouseout"||l==="pointerout",v&&e!==ui&&(O=e.relatedTarget||e.fromElement)&&(Le(O)||O[Ze]))break l;if((S||v)&&(v=p.window===p?p:(v=p.ownerDocument)?v.defaultView||v.parentWindow:window,S?(O=e.relatedTarget||e.toElement,S=h,O=O?Le(O):null,O!==null&&(dl=k(O),q=O.tag,O!==dl||q!==5&&q!==27&&q!==6)&&(O=null)):(S=null,O=h),S!==O)){if(q=Vf,z="onMouseLeave",d="onMouseEnter",s="mouse",(l==="pointerout"||l==="pointerover")&&(q=Jf,z="onPointerLeave",d="onPointerEnter",s="pointer"),dl=S==null?v:Da(S),r=O==null?v:Da(O),v=new q(z,s+"leave",S,e,p),v.target=dl,v.relatedTarget=r,z=null,Le(p)===h&&(q=new q(d,s+"enter",O,e,p),q.target=r,q.relatedTarget=dl,z=q),dl=z,S&&O)t:{for(q=Sr,d=S,s=O,r=0,z=d;z;z=q(z))r++;z=0;for(var R=s;R;R=q(R))z++;for(;0<r-z;)d=q(d),r--;for(;0<z-r;)s=q(s),z--;for(;r--;){if(d===s||s!==null&&d===s.alternate){q=d;break t}d=q(d),s=q(s)}q=null}else q=null;S!==null&&Yd(x,v,S,q,!1),O!==null&&dl!==null&&Yd(x,dl,O,q,!0)}}l:{if(v=h?Da(h):window,S=v.nodeName&&v.nodeName.toLowerCase(),S==="select"||S==="input"&&v.type==="file")var tl=ls;else if(If(v))if(ts)tl=Om;else{tl=Nm;var j=Mm}else S=v.nodeName,!S||S.toLowerCase()!=="input"||v.type!=="checkbox"&&v.type!=="radio"?h&&ai(h.elementType)&&(tl=ls):tl=_m;if(tl&&(tl=tl(l,h))){Pf(x,tl,e,p);break l}j&&j(l,v,h),l==="focusout"&&h&&v.type==="number"&&h.memoizedProps.value!=null&&ei(v,"number",v.value)}switch(j=h?Da(h):window,l){case"focusin":(If(j)||j.contentEditable==="true")&&(Ie=j,gi=h,Xa=null);break;case"focusout":Xa=gi=Ie=null;break;case"mousedown":Si=!0;break;case"contextmenu":case"mouseup":case"dragend":Si=!1,ss(x,e,p);break;case"selectionchange":if(Dm)break;case"keydown":case"keyup":ss(x,e,p)}var Z;if(ri)l:{switch(l){case"compositionstart":var W="onCompositionStart";break l;case"compositionend":W="onCompositionEnd";break l;case"compositionupdate":W="onCompositionUpdate";break l}W=void 0}else Fe?$f(l,e)&&(W="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(W="onCompositionStart");W&&(wf&&e.locale!=="ko"&&(Fe||W!=="onCompositionStart"?W==="onCompositionEnd"&&Fe&&(Z=Zf()):(le=p,fi="value"in le?le.value:le.textContent,Fe=!0)),j=An(h,W),0<j.length&&(W=new Kf(W,l,null,e,p),x.push({event:W,listeners:j}),Z?W.data=Z:(Z=Ff(e),Z!==null&&(W.data=Z)))),(Z=zm?xm(l,e):Tm(l,e))&&(W=An(h,"onBeforeInput"),0<W.length&&(j=new Kf("onBeforeInput","beforeinput",null,e,p),x.push({event:j,listeners:W}),j.data=Z)),hr(x,l,h,e,p)}Bd(x,t)})}function du(l,t,e){return{instance:l,listener:t,currentTarget:e}}function An(l,t){for(var e=t+"Capture",a=[];l!==null;){var u=l,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Ua(l,e),u!=null&&a.unshift(du(l,u,n)),u=Ua(l,t),u!=null&&a.push(du(l,u,n))),l.tag===3)return a;l=l.return}return[]}function Sr(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Yd(l,t,e,a,u){for(var n=t._reactName,i=[];e!==null&&e!==a;){var c=e,f=c.alternate,h=c.stateNode;if(c=c.tag,f!==null&&f===a)break;c!==5&&c!==26&&c!==27||h===null||(f=h,u?(h=Ua(e,n),h!=null&&i.unshift(du(e,h,f))):u||(h=Ua(e,n),h!=null&&i.push(du(e,h,f)))),e=e.return}i.length!==0&&l.push({event:t,listeners:i})}var br=/\r\n?/g,pr=/\u0000|\uFFFD/g;function Gd(l){return(typeof l=="string"?l:""+l).replace(br,`
9
+ `).replace(pr,"")}function Xd(l,t){return t=Gd(t),Gd(l)===t}function ol(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||We(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&We(l,""+a);break;case"className":_u(l,"class",a);break;case"tabIndex":_u(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":_u(l,e,a);break;case"style":Gf(l,a,n);break;case"data":if(t!=="object"){_u(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=ju(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"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 n=="function"&&(e==="formAction"?(t!=="input"&&ol(l,t,"name",u.name,u,null),ol(l,t,"formEncType",u.formEncType,u,null),ol(l,t,"formMethod",u.formMethod,u,null),ol(l,t,"formTarget",u.formTarget,u,null)):(ol(l,t,"encType",u.encType,u,null),ol(l,t,"method",u.method,u,null),ol(l,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=ju(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Rt);break;case"onScroll":a!=null&&J("scroll",l);break;case"onScrollEnd":a!=null&&J("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(y(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(y(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=ju(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);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":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":J("beforetoggle",l),J("toggle",l),Nu(l,"popover",a);break;case"xlinkActuate":Ct(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ct(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ct(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ct(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ct(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ct(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ct(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ct(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ct(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Nu(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=W0.get(e)||e,Nu(l,e,a))}}function Lc(l,t,e,a,u,n){switch(e){case"style":Gf(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(y(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(y(60));l.innerHTML=e}}break;case"children":typeof a=="string"?We(l,a):(typeof a=="number"||typeof a=="bigint")&&We(l,""+a);break;case"onScroll":a!=null&&J("scroll",l);break;case"onScrollEnd":a!=null&&J("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Rt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jf.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),t=e.slice(2,u?e.length-7:void 0),n=l[$l]||null,n=n!=null?n[e]:null,typeof n=="function"&&l.removeEventListener(t,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,u);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Nu(l,e,a)}}}function Zl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",l),J("load",l);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(y(137,t));default:ol(l,t,n,i,e,null)}}u&&ol(l,t,"srcSet",e.srcSet,e,null),a&&ol(l,t,"src",e.src,e,null);return;case"input":J("invalid",l);var c=n=i=u=null,f=null,h=null;for(a in e)if(e.hasOwnProperty(a)){var p=e[a];if(p!=null)switch(a){case"name":u=p;break;case"type":i=p;break;case"checked":f=p;break;case"defaultChecked":h=p;break;case"value":n=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(y(137,t));break;default:ol(l,t,a,p,e,null)}}Rf(l,n,c,f,h,i,u,!1);return;case"select":J("invalid",l),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:ol(l,t,u,c,e,null)}t=n,e=i,l.multiple=!!a,t!=null?we(l,!!a,t,!1):e!=null&&we(l,!!a,e,!0);return;case"textarea":J("invalid",l),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(y(91));break;default:ol(l,t,i,c,e,null)}qf(l,a,u,n);return;case"option":for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null)&&(f==="selected"?l.selected=a&&typeof a!="function"&&typeof a!="symbol":ol(l,t,f,a,e,null));return;case"dialog":J("beforetoggle",l),J("toggle",l),J("cancel",l),J("close",l);break;case"iframe":case"object":J("load",l);break;case"video":case"audio":for(a=0;a<ou.length;a++)J(ou[a],l);break;case"image":J("error",l),J("load",l);break;case"details":J("toggle",l);break;case"embed":case"source":case"link":J("error",l),J("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(h in e)if(e.hasOwnProperty(h)&&(a=e[h],a!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(y(137,t));default:ol(l,t,h,a,e,null)}return;default:if(ai(t)){for(p in e)e.hasOwnProperty(p)&&(a=e[p],a!==void 0&&Lc(l,t,p,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&ol(l,t,c,a,e,null))}function zr(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,i=null,c=null,f=null,h=null,p=null;for(S in e){var x=e[S];if(e.hasOwnProperty(S)&&x!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":f=x;default:a.hasOwnProperty(S)||ol(l,t,S,null,a,x)}}for(var v in a){var S=a[v];if(x=e[v],a.hasOwnProperty(v)&&(S!=null||x!=null))switch(v){case"type":n=S;break;case"name":u=S;break;case"checked":h=S;break;case"defaultChecked":p=S;break;case"value":i=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(y(137,t));break;default:S!==x&&ol(l,t,v,S,a,x)}}ti(l,i,c,f,h,p,n,u);return;case"select":S=i=c=v=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":S=f;default:a.hasOwnProperty(n)||ol(l,t,n,null,a,f)}for(u in a)if(n=a[u],f=e[u],a.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":v=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&ol(l,t,u,n,a,f)}t=c,e=i,a=S,v!=null?we(l,!!e,v,!1):!!a!=!!e&&(t!=null?we(l,!!e,t,!0):we(l,!!e,e?[]:"",!1));return;case"textarea":S=v=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:ol(l,t,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":v=u;break;case"defaultValue":S=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(y(91));break;default:u!==n&&ol(l,t,i,u,a,n)}Bf(l,v,S);return;case"option":for(var O in e)v=e[O],e.hasOwnProperty(O)&&v!=null&&!a.hasOwnProperty(O)&&(O==="selected"?l.selected=!1:ol(l,t,O,null,a,v));for(f in a)v=a[f],S=e[f],a.hasOwnProperty(f)&&v!==S&&(v!=null||S!=null)&&(f==="selected"?l.selected=v&&typeof v!="function"&&typeof v!="symbol":ol(l,t,f,v,a,S));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 q in e)v=e[q],e.hasOwnProperty(q)&&v!=null&&!a.hasOwnProperty(q)&&ol(l,t,q,null,a,v);for(h in a)if(v=a[h],S=e[h],a.hasOwnProperty(h)&&v!==S&&(v!=null||S!=null))switch(h){case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(y(137,t));break;default:ol(l,t,h,v,a,S)}return;default:if(ai(t)){for(var dl in e)v=e[dl],e.hasOwnProperty(dl)&&v!==void 0&&!a.hasOwnProperty(dl)&&Lc(l,t,dl,void 0,a,v);for(p in a)v=a[p],S=e[p],!a.hasOwnProperty(p)||v===S||v===void 0&&S===void 0||Lc(l,t,p,v,a,S);return}}for(var d in e)v=e[d],e.hasOwnProperty(d)&&v!=null&&!a.hasOwnProperty(d)&&ol(l,t,d,null,a,v);for(x in a)v=a[x],S=e[x],!a.hasOwnProperty(x)||v===S||v==null&&S==null||ol(l,t,x,v,a,S)}function Qd(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xr(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,i=u.initiatorType,c=u.duration;if(n&&c&&Qd(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],h=f.startTime;if(h>c)break;var p=f.transferSize,x=f.initiatorType;p&&Qd(x)&&(f=f.responseEnd,i+=p*(f<c?1:(c-h)/(f-h)))}if(--a,t+=8*(n+i)/(u.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Vc=null,Kc=null;function Mn(l){return l.nodeType===9?l:l.ownerDocument}function Zd(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ld(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function Jc(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var wc=null;function Tr(){var l=window.event;return l&&l.type==="popstate"?l===wc?!1:(wc=l,!0):(wc=null,!1)}var Vd=typeof setTimeout=="function"?setTimeout:void 0,Er=typeof clearTimeout=="function"?clearTimeout:void 0,Kd=typeof Promise=="function"?Promise:void 0,Ar=typeof queueMicrotask=="function"?queueMicrotask:typeof Kd<"u"?function(l){return Kd.resolve(null).then(l).catch(Mr)}:Vd;function Mr(l){setTimeout(function(){throw l})}function ge(l){return l==="head"}function Jd(l,t){var e=t,a=0;do{var u=e.nextSibling;if(l.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(u),Aa(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")mu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,mu(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[ja]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&mu(l.ownerDocument.body);e=u}while(e);Aa(t)}function wd(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function Wc(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":Wc(e),Pn(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Nr(l,t,e,a){for(;l.nodeType===1;){var u=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[ja])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(n=l.getAttribute("rel"),n==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(n!==u.rel||l.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||l.getAttribute("title")!==(u.title==null?null:u.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(u.src==null?null:u.src)||l.getAttribute("type")!==(u.type==null?null:u.type)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=xt(l.nextSibling),l===null)break}return null}function _r(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=xt(l.nextSibling),l===null))return null;return l}function Wd(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=xt(l.nextSibling),l===null))return null;return l}function kc(l){return l.data==="$?"||l.data==="$~"}function $c(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Or(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function xt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var Fc=null;function kd(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return xt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function $d(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function Fd(l,t,e){switch(t=Mn(e),l){case"html":if(l=t.documentElement,!l)throw Error(y(452));return l;case"head":if(l=t.head,!l)throw Error(y(453));return l;case"body":if(l=t.body,!l)throw Error(y(454));return l;default:throw Error(y(451))}}function mu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);Pn(l)}var Tt=new Map,Id=new Set;function Nn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Ft=M.d;M.d={f:jr,r:Dr,D:Ur,C:Hr,L:Cr,m:Rr,X:qr,S:Br,M:Yr};function jr(){var l=Ft.f(),t=Sn();return l||t}function Dr(l){var t=Ve(l);t!==null&&t.tag===5&&t.type==="form"?vo(t):Ft.r(l)}var xa=typeof document>"u"?null:document;function Pd(l,t,e){var a=xa;if(a&&typeof t=="string"&&t){var u=vt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),Id.has(u)||(Id.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Ur(l){Ft.D(l),Pd("dns-prefetch",l,null)}function Hr(l,t){Ft.C(l,t),Pd("preconnect",l,t)}function Cr(l,t,e){Ft.L(l,t,e);var a=xa;if(a&&l&&t){var u='link[rel="preload"][as="'+vt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+vt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+vt(e.imageSizes)+'"]')):u+='[href="'+vt(l)+'"]';var n=u;switch(t){case"style":n=Ta(l);break;case"script":n=Ea(l)}Tt.has(n)||(l=H({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),Tt.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(ru(n))||t==="script"&&a.querySelector(hu(n))||(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Rr(l,t){Ft.m(l,t);var e=xa;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+vt(a)+'"][href="'+vt(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ea(l)}if(!Tt.has(n)&&(l=H({rel:"modulepreload",href:l},t),Tt.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(hu(n)))return}a=e.createElement("link"),Zl(a,"link",l),Cl(a),e.head.appendChild(a)}}}function Br(l,t,e){Ft.S(l,t,e);var a=xa;if(a&&l){var u=Ke(a).hoistableStyles,n=Ta(l);t=t||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(ru(n)))c.loading=5;else{l=H({rel:"stylesheet",href:l,"data-precedence":t},e),(e=Tt.get(n))&&Ic(l,e);var f=i=a.createElement("link");Cl(f),Zl(f,"link",l),f._p=new Promise(function(h,p){f.onload=h,f.onerror=p}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,_n(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function qr(l,t){Ft.X(l,t);var e=xa;if(e&&l){var a=Ke(e).hoistableScripts,u=Ea(l),n=a.get(u);n||(n=e.querySelector(hu(u)),n||(l=H({src:l,async:!0},t),(t=Tt.get(u))&&Pc(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Yr(l,t){Ft.M(l,t);var e=xa;if(e&&l){var a=Ke(e).hoistableScripts,u=Ea(l),n=a.get(u);n||(n=e.querySelector(hu(u)),n||(l=H({src:l,async:!0,type:"module"},t),(t=Tt.get(u))&&Pc(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function l0(l,t,e,a){var u=(u=Y.current)?Nn(u):null;if(!u)throw Error(y(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Ta(e.href),e=Ke(u).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=Ta(e.href);var n=Ke(u).hoistableStyles,i=n.get(l);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,i),(n=u.querySelector(ru(l)))&&!n._p&&(i.instance=n,i.state.loading=5),Tt.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Tt.set(l,e),n||Gr(u,l,e,i.state))),t&&a===null)throw Error(y(528,""));return i}if(t&&a!==null)throw Error(y(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ea(e),e=Ke(u).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(y(444,l))}}function Ta(l){return'href="'+vt(l)+'"'}function ru(l){return'link[rel="stylesheet"]['+l+"]"}function t0(l){return H({},l,{"data-precedence":l.precedence,precedence:null})}function Gr(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Zl(t,"link",e),Cl(t),l.head.appendChild(t))}function Ea(l){return'[src="'+vt(l)+'"]'}function hu(l){return"script[async]"+l}function e0(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+vt(e.href)+'"]');if(a)return t.instance=a,Cl(a),a;var u=H({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Cl(a),Zl(a,"style",u),_n(a,e.precedence,l),t.instance=a;case"stylesheet":u=Ta(e.href);var n=l.querySelector(ru(u));if(n)return t.state.loading|=4,t.instance=n,Cl(n),n;a=t0(e),(u=Tt.get(u))&&Ic(a,u),n=(l.ownerDocument||l).createElement("link"),Cl(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Zl(n,"link",a),t.state.loading|=4,_n(n,e.precedence,l),t.instance=n;case"script":return n=Ea(e.src),(u=l.querySelector(hu(n)))?(t.instance=u,Cl(u),u):(a=e,(u=Tt.get(n))&&(a=H({},e),Pc(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),Cl(u),Zl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(y(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,_n(a,e.precedence,l));return t.instance}function _n(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function Ic(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function Pc(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var On=null;function a0(l,t,e){if(On===null){var a=new Map,u=On=new Map;u.set(e,a)}else u=On,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),u=0;u<e.length;u++){var n=e[u];if(!(n[ja]||n[Yl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=l+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function u0(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Xr(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(l=t.disabled,typeof t.precedence=="string"&&l==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function n0(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Qr(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=Ta(a.href),n=t.querySelector(ru(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=jn.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,Cl(n);return}n=t.ownerDocument||t,a=t0(a),(u=Tt.get(u))&&Ic(a,u),n=n.createElement("link"),Cl(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Zl(n,"link",a),e.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=jn.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var lf=0;function Zr(l,t){return l.stylesheets&&l.count===0&&Un(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Un(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&lf===0&&(lf=62500*xr());var u=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Un(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>lf?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function jn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Un(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Dn=null;function Un(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Dn=new Map,t.forEach(Lr,l),Dn=null,jn.call(l))}function Lr(l,t){if(!(t.state.loading&4)){var e=Dn.get(l);if(e)var a=e.get(null);else{e=new Map,Dn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=t.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=jn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(u,l.firstChild)),t.state.loading|=4}}var vu={$$typeof:_l,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function Vr(l,t,e,a,u,n,i,c,f){this.tag=1,this.containerInfo=l,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=kn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kn(0),this.hiddenUpdates=kn(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function i0(l,t,e,a,u,n,i,c,f,h,p,x){return l=new Vr(l,t,e,i,f,h,p,x,c),t=1,n===!0&&(t|=24),n=ct(3,null,null,t),l.current=n,n.stateNode=l,t=Hi(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},qi(n),l}function c0(l){return l?(l=ta,l):ta}function f0(l,t,e,a,u,n){u=c0(u),a.context===null?a.context=u:a.pendingContext=u,a=ie(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=ce(l,a,t),e!==null&&(et(e,l,t),wa(e,l,t))}function s0(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function tf(l,t){s0(l,t),(l=l.alternate)&&s0(l,t)}function o0(l){if(l.tag===13||l.tag===31){var t=Oe(l,67108864);t!==null&&et(t,l,67108864),tf(l,67108864)}}function d0(l){if(l.tag===13||l.tag===31){var t=mt();t=$n(t);var e=Oe(l,t);e!==null&&et(e,l,t),tf(l,t)}}var Hn=!0;function Kr(l,t,e,a){var u=m.T;m.T=null;var n=M.p;try{M.p=2,ef(l,t,e,a)}finally{M.p=n,m.T=u}}function Jr(l,t,e,a){var u=m.T;m.T=null;var n=M.p;try{M.p=8,ef(l,t,e,a)}finally{M.p=n,m.T=u}}function ef(l,t,e,a){if(Hn){var u=af(a);if(u===null)Zc(l,t,a,Cn,e),r0(l,a);else if(Wr(u,l,t,e,a))a.stopPropagation();else if(r0(l,a),t&4&&-1<wr.indexOf(l)){for(;u!==null;){var n=Ve(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=Ee(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-nt(i);c.entanglements[1]|=f,i&=~f}Ht(n),(al&6)===0&&(yn=at()+500,su(0))}}break;case 31:case 13:c=Oe(n,2),c!==null&&et(c,n,2),Sn(),tf(n,2)}if(n=af(a),n===null&&Zc(l,t,a,Cn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else Zc(l,t,a,null,e)}}function af(l){return l=ni(l),uf(l)}var Cn=null;function uf(l){if(Cn=null,l=Le(l),l!==null){var t=k(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=ul(t),l!==null)return l;l=null}else if(e===31){if(l=jl(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Cn=l,null}function m0(l){switch(l){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(U0()){case bf:return 2;case pf:return 8;case xu:case H0:return 32;case zf:return 268435456;default:return 32}default:return 32}}var nf=!1,Se=null,be=null,pe=null,yu=new Map,gu=new Map,ze=[],wr="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 r0(l,t){switch(l){case"focusin":case"focusout":Se=null;break;case"dragenter":case"dragleave":be=null;break;case"mouseover":case"mouseout":pe=null;break;case"pointerover":case"pointerout":yu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gu.delete(t.pointerId)}}function Su(l,t,e,a,u,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},t!==null&&(t=Ve(t),t!==null&&o0(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function Wr(l,t,e,a,u){switch(t){case"focusin":return Se=Su(Se,l,t,e,a,u),!0;case"dragenter":return be=Su(be,l,t,e,a,u),!0;case"mouseover":return pe=Su(pe,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return yu.set(n,Su(yu.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,gu.set(n,Su(gu.get(n)||null,l,t,e,a,u)),!0}return!1}function h0(l){var t=Le(l.target);if(t!==null){var e=k(t);if(e!==null){if(t=e.tag,t===13){if(t=ul(e),t!==null){l.blockedOn=t,Nf(l.priority,function(){d0(e)});return}}else if(t===31){if(t=jl(e),t!==null){l.blockedOn=t,Nf(l.priority,function(){d0(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Rn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=af(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);ui=a,e.target.dispatchEvent(a),ui=null}else return t=Ve(e),t!==null&&o0(t),l.blockedOn=e,!1;t.shift()}return!0}function v0(l,t,e){Rn(l)&&e.delete(t)}function kr(){nf=!1,Se!==null&&Rn(Se)&&(Se=null),be!==null&&Rn(be)&&(be=null),pe!==null&&Rn(pe)&&(pe=null),yu.forEach(v0),gu.forEach(v0)}function Bn(l,t){l.blockedOn===t&&(l.blockedOn=null,nf||(nf=!0,A.unstable_scheduleCallback(A.unstable_NormalPriority,kr)))}var qn=null;function y0(l){qn!==l&&(qn=l,A.unstable_scheduleCallback(A.unstable_NormalPriority,function(){qn===l&&(qn=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],u=l[t+2];if(typeof a!="function"){if(uf(a||e)===null)continue;break}var n=Ve(e);n!==null&&(l.splice(t,3),t-=3,ac(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Aa(l){function t(f){return Bn(f,l)}Se!==null&&Bn(Se,l),be!==null&&Bn(be,l),pe!==null&&Bn(pe,l),yu.forEach(t),gu.forEach(t);for(var e=0;e<ze.length;e++){var a=ze[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<ze.length&&(e=ze[0],e.blockedOn===null);)h0(e),e.blockedOn===null&&ze.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],i=u[$l]||null;if(typeof n=="function")i||y0(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[$l]||null)c=i.formAction;else if(uf(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),y0(e)}}}function g0(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function cf(l){this._internalRoot=l}Yn.prototype.render=cf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(y(409));var e=t.current,a=mt();f0(e,a,l,t,null,null)},Yn.prototype.unmount=cf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;f0(l.current,2,null,l,null,null),Sn(),t[Ze]=null}};function Yn(l){this._internalRoot=l}Yn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Mf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<ze.length&&t!==0&&t<ze[e].priority;e++);ze.splice(e,0,l),e===0&&h0(l)}};var S0=yl.version;if(S0!=="19.2.3")throw Error(y(527,S0,"19.2.3"));M.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(y(188)):(l=Object.keys(l).join(","),Error(y(268,l)));return l=T(t),l=l!==null?F(l):null,l=l===null?null:l.stateNode,l};var $r={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:m,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gn.isDisabled&&Gn.supportsFiber)try{Na=Gn.inject($r),ut=Gn}catch{}}return pu.createRoot=function(l,t){if(!X(l))throw Error(y(299));var e=!1,a="",u=Ao,n=Mo,i=No;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=i0(l,1,!1,null,null,e,a,null,u,n,i,g0),l[Ze]=t.current,Qc(l),new cf(t)},pu.hydrateRoot=function(l,t,e){if(!X(l))throw Error(y(299));var a=!1,u="",n=Ao,i=Mo,c=No,f=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),t=i0(l,1,!0,t,e??null,a,u,f,n,i,c,g0),t.context=c0(null),e=t.current,a=mt(),a=$n(a),u=ie(a),u.callback=null,ce(e,u,a),e=a,t.current.lanes=e,Oa(t,e),Ht(t),l[Ze]=t.current,Qc(l),new Yn(t)},pu.version="19.2.3",pu}var _0;function ih(){if(_0)return of.exports;_0=1;function A(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(A)}catch(yl){console.error(yl)}}return A(),of.exports=nh(),of.exports}var ch=ih();const Xn=({className:A="w-4 h-4"})=>g.jsxs("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"}),g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})]}),fh=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),sh=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})}),hf=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),Qn=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"})}),Zn=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),vf=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),oh=({className:A="w-5 h-5"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"})}),dh=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})}),mh=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 9V4.5M9 9H4.5M9 9L3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5l5.25 5.25"})}),rh=({className:A="w-4 h-4"})=>g.jsx("svg",{className:A,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"})});function hh(){const[A,yl]=Et.useState(!1),[L,y]=Et.useState([]),[X,k]=Et.useState([]),[ul,jl]=Et.useState("idle"),[D,T]=Et.useState(""),[F,H]=Et.useState([]),[nl,Bl]=Et.useState("split"),ql=Et.useRef(null),Dl=Et.useRef(null);Et.useEffect(()=>{const I=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`;console.log("Connecting to WebSocket:",I);const N=new WebSocket(I);return ql.current=N,N.onopen=()=>{console.log("Connected to runner"),yl(!0)},N.onmessage=rl=>{try{const Sl=JSON.parse(rl.data);At(Sl)}catch(Sl){console.error("Failed to parse message:",Sl)}},N.onerror=rl=>{console.error("WebSocket error:",rl)},N.onclose=()=>{console.log("Disconnected from runner"),yl(!1)},()=>{N.close()}},[]),Et.useEffect(()=>{Dl.current?.scrollIntoView({behavior:"smooth"})},[X]);const At=C=>{const{type:I,payload:N}=C;switch(I){case"connected":if(console.log("Runner ready:",N.message),N.testFiles&&Array.isArray(N.testFiles)){const b=N.testsMap||{};H(N.testFiles.map(E=>({path:E,name:E.split("/").pop()||E,expanded:!1,tests:b[E]||[]}))),console.log("📂 Received test files with tests:",b)}break;case"run:start":jl("running"),N.file?(y(b=>b.filter(E=>E.filePath!==N.file)),H(b=>b.map(E=>E.path===N.file?{...E,expanded:!0}:E))):(y([]),H(b=>b.map(E=>({...E,expanded:!0})))),k([]),T("");break;case"run:complete":jl("complete");break;case"file:start":T(N.filePath);break;case"test:start":y(b=>[...b,{id:`${Date.now()}-${N.testName}`,name:N.testName,status:"running",timestamp:N.timestamp,filePath:N.filePath||D}]);break;case"test:pass":console.log("test:pass received:",N.testName,"filePath:",N.filePath,"currentFile:",D),y(b=>{const E=b.find(U=>U.name===N.testName&&U.status==="running");if(E){const U=b.map(Y=>Y.id===E.id?{...Y,status:"pass",duration:N.duration,justPassed:!0}:Y);return setTimeout(()=>{y(Y=>Y.map(P=>P.id===E.id?{...P,justPassed:!1}:P))},3e3),U}const _={id:`${Date.now()}-${N.testName}`,name:N.testName,status:"pass",duration:N.duration,timestamp:N.timestamp,filePath:N.filePath||D,justPassed:!0};return console.log("Adding new test:",_),setTimeout(()=>{y(U=>U.map(Y=>Y.id===_.id?{...Y,justPassed:!1}:Y))},3e3),[...b,_]});break;case"test:fail":console.log("🔴 test:fail received:",N.testName,"filePath:",N.filePath,"currentFile:",D),y(b=>{const E=b.find(U=>U.name===N.testName&&U.status==="running");if(E)return console.log("🔴 Updating existing test to FAIL:",E.id),b.map(U=>U.id===E.id?{...U,status:"fail",duration:N.duration,justPassed:!1}:U);const _={id:`${Date.now()}-${N.testName}`,name:N.testName,status:"fail",duration:N.duration,timestamp:N.timestamp,filePath:N.filePath||D,justPassed:!1};return console.log("🔴 Adding new FAILED test:",_),[...b,_]});break;case"log":const rl=N.message,Sl=rl.split(`
10
+ `),Hl=rl.includes("error:"),m=rl.includes("Expected:")&&rl.includes("Received:"),M=Sl.some(b=>/^\d+\s*\|/.test(b.trim())),B=rl.includes("at <anonymous>")||rl.includes("at "),ll=Sl.some(b=>/^\s*\^/.test(b)),o=rl.includes("(fail)")&&(Hl||m)&&(M||B||ll);k(b=>[...b,{message:N.message,stream:N.stream,timestamp:Date.now(),isErrorBlock:o}]);break;case"error":console.error("Runner error:",N.message);break}},Jl=L.filter(C=>C.status==="pass").length,Mt=L.filter(C=>C.status==="fail").length,_l=L.filter(C=>C.status==="running").length,Ul=C=>C?C.replace(/^\.\//,"").replace(/\\/g,"/").trim():"",wl=(C,I)=>{if(!A||ul==="running")return;const N={};C&&(N.file=C),I&&(N.testName=I),ql.current?.send(JSON.stringify({type:"run:request",payload:N}))},Ll=C=>{H(I=>I.map(N=>N.path===C?{...N,expanded:!N.expanded}:N))},V=()=>{H(C=>C.map(I=>({...I,expanded:!0})))},Vl=()=>{H(C=>C.map(I=>({...I,expanded:!1})))},rt=()=>{k([])};return g.jsxs("div",{className:"flex flex-col h-screen bg-background text-foreground",children:[g.jsxs("header",{className:"border-b border-border bg-card flex-shrink-0",children:[g.jsxs("div",{className:"flex items-center justify-between px-4 md:px-6 py-4",children:[g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx(oh,{className:"w-6 h-6 text-primary"}),g.jsxs("div",{children:[g.jsx("h1",{className:"text-xl font-bold",children:"Bun Test UI"}),g.jsx("p",{className:"text-xs text-muted-foreground",children:"Test runner with live results"})]})]}),g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("button",{onClick:()=>wl(),disabled:!A||ul==="running",className:`inline-flex items-center gap-2 px-4 py-2 rounded-lg font-medium text-sm transition-all
11
+ bg-primary text-primary-foreground hover:bg-primary/90
12
+ disabled:opacity-50 disabled:cursor-not-allowed`,children:ul==="running"?g.jsxs(g.Fragment,{children:[g.jsx(Zn,{className:"w-4 h-4 animate-spin"}),g.jsx("span",{className:"hidden md:inline",children:"Running..."})]}):g.jsxs(g.Fragment,{children:[g.jsx(Xn,{className:"w-4 h-4"}),g.jsx("span",{className:"hidden md:inline",children:"Run All"})]})}),g.jsxs("div",{className:`flex items-center gap-2 px-3 py-2 rounded-lg text-xs font-medium
13
+ ${A?"bg-blue-500/10 text-blue-400":"bg-red-500/10 text-red-400"}`,children:[g.jsx("span",{className:`w-2 h-2 rounded-full ${A?"bg-blue-400 animate-pulse":"bg-red-400"}`}),g.jsx("span",{className:"hidden md:inline",children:A?"Connected":"Disconnected"})]})]})]}),L.length>0&&g.jsx("div",{className:"border-b border-border bg-card",children:g.jsxs("div",{className:"flex items-center justify-between px-4 md:px-6 py-3",children:[g.jsxs("div",{className:"flex items-center gap-6 text-sm",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:"text-muted-foreground",children:"Total:"}),g.jsx("span",{className:"font-bold text-foreground",children:L.length})]}),g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(hf,{className:"w-4 h-4 text-blue-400"}),g.jsx("span",{className:"font-bold text-blue-400",children:Jl})]}),Mt>0&&g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(Qn,{className:"w-4 h-4 text-red-400"}),g.jsx("span",{className:"font-bold text-red-400",children:Mt})]}),_l>0&&g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(Zn,{className:"w-4 h-4 text-yellow-400 animate-pulse"}),g.jsx("span",{className:"font-bold text-yellow-400",children:_l})]})]}),g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("button",{onClick:V,className:"p-2 rounded-lg hover:bg-muted transition-colors text-muted-foreground hover:text-foreground",title:"Expand all",children:g.jsx(dh,{className:"w-4 h-4"})}),g.jsx("button",{onClick:Vl,className:"p-2 rounded-lg hover:bg-muted transition-colors text-muted-foreground hover:text-foreground",title:"Collapse all",children:g.jsx(mh,{className:"w-4 h-4"})})]})]})})]}),g.jsxs("div",{className:"flex-1 overflow-hidden grid grid-cols-1 lg:grid-cols-2 gap-px bg-border",children:[g.jsxs("div",{className:`flex flex-col bg-card overflow-hidden transition-all duration-300 ${nl==="logs"?"lg:opacity-100 opacity-0 lg:pointer-events-auto pointer-events-none absolute lg:relative inset-0 lg:inset-auto":"opacity-100"}`,children:[g.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border flex-shrink-0",children:[g.jsx("h2",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:"Test Files"}),g.jsxs("span",{className:"text-xs text-muted-foreground",children:[F.length," files"]})]}),g.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-3",children:F.length>0?F.map(C=>{const I=Ul(C.path),N=L.filter(m=>Ul(m.filePath)===I);C.expanded&&(console.log("═══════════════════════════════════════"),console.log("📂 File expanded:",C.path),console.log("🔄 Normalized file path:",I),console.log("📊 Total tests in state:",L.length),console.log("✅ Tests found for this file:",N.length),console.log("📋 All test filePaths (normalized):",[...new Set(L.map(m=>Ul(m.filePath)))]),N.length>0?console.log("🎯 Found tests:",N.map(m=>m.name)):(console.log("⚠️ NO TESTS FOUND! Checking all tests:"),L.forEach(m=>{const M=Ul(m.filePath);console.log(` - Test: "${m.name}"`),console.log(` Original filePath: "${m.filePath}"`),console.log(` Normalized: "${M}"`),console.log(` Expected: "${I}"`),console.log(` Matches? ${M===I}`)})),console.log("═══════════════════════════════════════"));const rl=N.filter(m=>m.status==="pass").length,Sl=N.filter(m=>m.status==="fail").length,Hl=N.filter(m=>m.status==="running").length;return g.jsxs("div",{className:"rounded-lg border border-border bg-card overflow-hidden",children:[g.jsxs("button",{onClick:()=>Ll(C.path),className:"w-full flex items-center justify-between p-4 hover:bg-muted/50 transition-colors",children:[g.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[C.expanded?g.jsx(sh,{className:"w-4 h-4 text-muted-foreground flex-shrink-0"}):g.jsx(fh,{className:"w-4 h-4 text-muted-foreground flex-shrink-0"}),g.jsx(vf,{className:"w-5 h-5 text-blue-400 flex-shrink-0"}),g.jsx("span",{className:"text-sm font-semibold truncate",children:C.name})]}),g.jsxs("div",{className:"flex items-center gap-3 flex-shrink-0",children:[N.length>0&&g.jsxs("div",{className:"flex items-center gap-2 text-xs font-medium",children:[rl>0&&g.jsxs("span",{className:"flex items-center gap-1 text-blue-400",children:[g.jsx(hf,{className:"w-3.5 h-3.5"}),rl]}),Sl>0&&g.jsxs("span",{className:"flex items-center gap-1 text-red-400",children:[g.jsx(Qn,{className:"w-3.5 h-3.5"}),Sl]}),Hl>0&&g.jsxs("span",{className:"flex items-center gap-1 text-yellow-400 animate-pulse",children:[g.jsx(Zn,{className:"w-3.5 h-3.5"}),Hl]})]}),g.jsx("button",{onClick:m=>{m.stopPropagation(),wl(C.path)},disabled:!A||ul==="running",className:`p-1.5 rounded-md bg-primary/10 text-primary hover:bg-primary/20 transition-colors
14
+ disabled:opacity-50 disabled:cursor-not-allowed`,title:`Run ${C.name}`,children:g.jsx(Xn,{className:"w-4 h-4"})})]})]}),C.expanded&&N.length>0&&g.jsx("div",{className:"divide-y divide-border",children:N.map(m=>{const M=m.status==="pass"?hf:m.status==="fail"?Qn:Zn,B=m.status==="pass"?"text-blue-400":m.status==="fail"?"text-red-400":"text-yellow-400",ll=m.justPassed?"bg-blue-500/20 border-l-4 border-blue-500":"hover:bg-muted/30";return g.jsxs("div",{className:`flex items-center justify-between p-3 md:p-4 transition-all duration-500 group ${ll}`,children:[g.jsxs("div",{className:"flex items-center gap-2 md:gap-3 flex-1 min-w-0",children:[g.jsx(M,{className:`w-4 h-4 flex-shrink-0 ${B} ${m.status==="running"?"animate-pulse":""}`}),g.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:m.name})]}),g.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[m.duration&&g.jsx("span",{className:"text-xs text-muted-foreground hidden md:inline",children:m.duration}),g.jsx("button",{onClick:()=>wl(C.path,m.name),disabled:!A||ul==="running",className:`opacity-0 group-hover:opacity-100 p-1 rounded text-muted-foreground hover:text-primary hover:bg-primary/10 transition-all
15
+ disabled:opacity-0 disabled:cursor-not-allowed`,title:"Run this test",children:g.jsx(Xn,{className:"w-3 h-3 md:w-3.5 md:h-3.5"})})]})]},m.id)})}),C.expanded&&N.length===0&&C.tests&&C.tests.length>0&&g.jsx("div",{className:"divide-y divide-border bg-muted/20",children:C.tests.map((m,M)=>g.jsxs("div",{className:"flex items-center justify-between p-3 md:p-4 hover:bg-muted/30 transition-colors group",children:[g.jsxs("div",{className:"flex items-center gap-2 md:gap-3 flex-1 min-w-0",children:[g.jsx(rh,{className:"w-4 h-4 flex-shrink-0 text-muted-foreground"}),g.jsx("span",{className:"text-sm font-medium text-muted-foreground truncate",children:m})]}),g.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[g.jsx("span",{className:"text-xs text-muted-foreground hidden md:inline",children:"Not run"}),g.jsx("button",{onClick:()=>wl(C.path,m),disabled:!A||ul==="running",className:`opacity-0 group-hover:opacity-100 p-1 rounded text-muted-foreground hover:text-primary hover:bg-primary/10 transition-all
16
+ disabled:opacity-0 disabled:cursor-not-allowed`,title:"Run this test",children:g.jsx(Xn,{className:"w-3 h-3 md:w-3.5 md:h-3.5"})})]})]},M))}),C.expanded&&N.length===0&&(!C.tests||C.tests.length===0)&&g.jsx("div",{className:"p-4 text-center text-sm text-muted-foreground",children:L.filter(m=>Ul(m.filePath)===I).length>0?"No tests match current filter":ul==="idle"?"Run tests to see results":"No tests found in this file"})]},C.path)}):g.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-center p-8",children:[g.jsx(vf,{className:"w-12 h-12 text-muted-foreground/50 mb-3"}),g.jsx("p",{className:"text-sm text-muted-foreground",children:A?"No test files found":"Connecting to runner..."})]})})]}),g.jsxs("div",{className:`flex flex-col bg-card overflow-hidden transition-all duration-300 ${nl==="tests"?"lg:opacity-100 opacity-0 lg:pointer-events-auto pointer-events-none absolute lg:relative inset-0 lg:inset-auto":"opacity-100"}`,children:[g.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border flex-shrink-0",children:[g.jsx("h2",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:"Output"}),g.jsx("div",{className:"flex items-center gap-3",children:X.length>0&&g.jsxs(g.Fragment,{children:[g.jsxs("span",{className:"text-xs text-muted-foreground",children:[X.length," lines"]}),g.jsx("button",{onClick:rt,className:"px-3 py-1 text-xs rounded-md bg-red-500/10 text-red-400 hover:bg-red-500/20 transition-colors font-medium",children:"Clear"})]})})]}),g.jsx("div",{className:"flex-1 overflow-y-auto p-3 md:p-4 font-mono text-[10px] md:text-xs",children:X.length===0?g.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-center p-8",children:[g.jsx("svg",{className:"w-10 h-10 md:w-12 md:h-12 text-muted-foreground/50 mb-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),g.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:ul==="idle"?"Run tests to see output":"No output yet"})]}):g.jsxs("div",{className:"space-y-0.5",children:[X.map((C,I)=>{const N=C.message.trim().startsWith("(pass)"),rl=C.message.trim().startsWith("(fail)"),Sl=C.message.trim(),Hl=/\.(test|spec)\.(ts|js|tsx|jsx):?$/.test(Sl)||/_(test|spec)\.(ts|js|tsx|jsx):?$/.test(Sl);if(C.isErrorBlock)return g.jsxs("div",{className:"my-3 p-4 rounded-lg bg-red-500/10 border-l-4 border-red-500 shadow-sm",children:[g.jsxs("div",{className:"flex items-start gap-2 mb-2",children:[g.jsx(Qn,{className:"w-5 h-5 text-red-400 flex-shrink-0 mt-0.5"}),g.jsx("span",{className:"text-xs font-semibold text-red-400 uppercase tracking-wide",children:"Test Error"})]}),g.jsx("pre",{className:"whitespace-pre-wrap break-words leading-relaxed text-red-200 text-xs font-mono",children:C.message})]},I);if(Hl)return g.jsx("div",{className:"mt-4 first:mt-0",children:g.jsx("div",{className:"py-0.5 px-2 rounded hover:bg-muted/30 transition-colors",children:g.jsx("pre",{className:"whitespace-pre-wrap break-words leading-relaxed text-foreground font-semibold",children:C.message})})},I);const m=N?"text-green-400":rl?"text-red-400":"text-foreground",M=N?"hover:bg-green-500/10":rl?"hover:bg-red-500/10":"hover:bg-muted/30";return g.jsx("div",{className:`py-0.5 px-2 rounded transition-colors ${M}`,children:g.jsx("pre",{className:`whitespace-pre-wrap break-words leading-relaxed ${m}`,children:C.message})},I)}),g.jsx("div",{ref:Dl})]})})]})]}),g.jsx("div",{className:"lg:hidden border-t border-border bg-card flex-shrink-0",children:g.jsxs("div",{className:"grid grid-cols-3",children:[g.jsxs("button",{onClick:()=>Bl("tests"),className:`flex items-center justify-center gap-2 py-3 text-xs font-semibold transition-colors ${nl==="tests"?"text-primary border-b-2 border-primary bg-primary/5":"text-muted-foreground border-b-2 border-transparent"}`,children:[g.jsx(vf,{className:"w-4 h-4"}),g.jsx("span",{children:"Tests"})]}),g.jsxs("button",{onClick:()=>Bl("split"),className:`flex items-center justify-center gap-2 py-3 text-xs font-semibold transition-colors ${nl==="split"?"text-primary border-b-2 border-primary bg-primary/5":"text-muted-foreground border-b-2 border-transparent"}`,children:[g.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 4H5a2 2 0 00-2 2v6a2 2 0 002 2h4m0 0v8m0-8h6m-6 0V4m6 8h4a2 2 0 002-2V6a2 2 0 00-2-2h-4m-6 8v8"})}),g.jsx("span",{children:"Split"})]}),g.jsxs("button",{onClick:()=>Bl("logs"),className:`flex items-center justify-center gap-2 py-3 text-xs font-semibold transition-colors ${nl==="logs"?"text-primary border-b-2 border-primary bg-primary/5":"text-muted-foreground border-b-2 border-transparent"}`,children:[g.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),g.jsx("span",{children:"Output"})]})]})})]})}ch.createRoot(document.getElementById("root")).render(g.jsx(Et.StrictMode,{children:g.jsx(hh,{})}));
@@ -0,0 +1 @@
1
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-border:#27272a;--color-background:#09090b;--color-foreground:#fafafa;--color-primary:#3c83f6;--color-primary-foreground:#0f1729;--color-muted:#27272a;--color-muted-foreground:#a1a1aa;--color-card:#09090b}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.inset-0{inset:calc(var(--spacing)*0)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.h-screen{height:100vh}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-6{gap:calc(var(--spacing)*6)}.gap-px{gap:1px}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-border>:not(:last-child)){border-color:var(--color-border)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-blue-500{border-color:var(--color-blue-500)}.border-border{border-color:var(--color-border)}.border-primary{border-color:var(--color-primary)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-border{background-color:var(--color-border)}.bg-card{background-color:var(--color-card)}.bg-muted\/20{background-color:#27272a33}@supports (color:color-mix(in lab,red,red)){.bg-muted\/20{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.bg-primary{background-color:var(--color-primary)}.bg-primary\/5{background-color:#3c83f60d}@supports (color:color-mix(in lab,red,red)){.bg-primary\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\/10{background-color:#3c83f61a}@supports (color:color-mix(in lab,red,red)){.bg-primary\/10{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.bg-red-400{background-color:var(--color-red-400)}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.text-blue-400{color:var(--color-blue-400)}.text-foreground{color:var(--color-foreground)}.text-green-400{color:var(--color-green-400)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-muted-foreground\/50{color:#a1a1aa80}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\/50{color:color-mix(in oklab,var(--color-muted-foreground)50%,transparent)}}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-red-200{color:var(--color-red-200)}.text-red-400{color:var(--color-red-400)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.first\:mt-0:first-child{margin-top:calc(var(--spacing)*0)}@media(hover:hover){.hover\:bg-green-500\/10:hover{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/10:hover{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.hover\:bg-muted:hover{background-color:var(--color-muted)}.hover\:bg-muted\/30:hover{background-color:#27272a4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/30:hover{background-color:color-mix(in oklab,var(--color-muted)30%,transparent)}}.hover\:bg-muted\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.hover\:bg-primary\/10:hover{background-color:#3c83f61a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/10:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.hover\:bg-primary\/20:hover{background-color:#3c83f633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/20:hover{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.hover\:bg-primary\/90:hover{background-color:#3c83f6e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:text-foreground:hover{color:var(--color-foreground)}.hover\:text-primary:hover{color:var(--color-primary)}}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-0:disabled{opacity:0}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:48rem){.md\:inline{display:inline}.md\:h-3\.5{height:calc(var(--spacing)*3.5)}.md\:h-12{height:calc(var(--spacing)*12)}.md\:w-3\.5{width:calc(var(--spacing)*3.5)}.md\:w-12{width:calc(var(--spacing)*12)}.md\:gap-3{gap:calc(var(--spacing)*3)}.md\:p-4{padding:calc(var(--spacing)*4)}.md\:px-6{padding-inline:calc(var(--spacing)*6)}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}}@media(min-width:64rem){.lg\:pointer-events-auto{pointer-events:auto}.lg\:relative{position:relative}.lg\:inset-auto{inset:auto}.lg\:hidden{display:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:opacity-100{opacity:1}}}*{border-color:var(--color-border)}body{background-color:var(--color-background);color:var(--color-foreground);font-family:Inter,system-ui,-apple-system,sans-serif}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
2
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z" stroke="#3b82f6"/>
3
+ </svg>
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Bun Test UI</title>
8
+ <script type="module" crossorigin src="/assets/index-CJ0pKJCm.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-DEBPcR5c.css">
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/cli.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env bun
2
2
 
3
3
  import { spawn } from "node:child_process";
4
- import { readFile, access } from "node:fs/promises";
4
+ import { readFile, access, realpath } from "node:fs/promises";
5
5
  import { join, dirname } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
 
8
- const __filename = fileURLToPath(import.meta.url);
8
+ const __filename = await realpath(fileURLToPath(import.meta.url));
9
9
  const __dirname = dirname(__filename);
10
10
 
11
11
  const COMMANDS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-ui-tests",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A beautiful UI for running Bun tests",
5
5
  "type": "module",
6
6
  "bin": {
package/ui-runner.ts CHANGED
@@ -15,7 +15,7 @@ import { spawn } from "node:child_process";
15
15
  import { readdir, readFile, stat } from "node:fs/promises";
16
16
  import { join, relative, dirname } from "node:path";
17
17
  import { fileURLToPath } from "node:url";
18
- import { existsSync } from "node:fs";
18
+ import { existsSync, realpathSync } from "node:fs";
19
19
 
20
20
  // Determina o diretório do executável ou script
21
21
  const getBaseDir = () => {
@@ -27,7 +27,7 @@ const getBaseDir = () => {
27
27
  return dirname(process.execPath);
28
28
  }
29
29
  // Se rodando como script .ts em dev, usa o dirname do próprio arquivo
30
- const __filename = fileURLToPath(import.meta.url);
30
+ const __filename = realpathSync(fileURLToPath(import.meta.url));
31
31
  return dirname(__filename);
32
32
  };
33
33