@mcp-graph-workflow/mcp-graph 5.5.3 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/dist/api/router.d.ts.map +1 -1
  2. package/dist/api/router.js +4 -0
  3. package/dist/api/router.js.map +1 -1
  4. package/dist/api/routes/code-graph.d.ts.map +1 -1
  5. package/dist/api/routes/code-graph.js +4 -1
  6. package/dist/api/routes/code-graph.js.map +1 -1
  7. package/dist/api/routes/journey.d.ts +4 -0
  8. package/dist/api/routes/journey.d.ts.map +1 -0
  9. package/dist/api/routes/journey.js +263 -0
  10. package/dist/api/routes/journey.js.map +1 -0
  11. package/dist/api/routes/siebel.d.ts +7 -0
  12. package/dist/api/routes/siebel.d.ts.map +1 -0
  13. package/dist/api/routes/siebel.js +305 -0
  14. package/dist/api/routes/siebel.js.map +1 -0
  15. package/dist/core/code/code-indexer.d.ts.map +1 -1
  16. package/dist/core/code/code-indexer.js +17 -2
  17. package/dist/core/code/code-indexer.js.map +1 -1
  18. package/dist/core/code/code-types.d.ts +1 -0
  19. package/dist/core/code/code-types.d.ts.map +1 -1
  20. package/dist/core/code/code-types.js.map +1 -1
  21. package/dist/core/code/ts-analyzer.d.ts +6 -0
  22. package/dist/core/code/ts-analyzer.d.ts.map +1 -1
  23. package/dist/core/code/ts-analyzer.js +9 -0
  24. package/dist/core/code/ts-analyzer.js.map +1 -1
  25. package/dist/core/context/rag-context.d.ts.map +1 -1
  26. package/dist/core/context/rag-context.js +21 -5
  27. package/dist/core/context/rag-context.js.map +1 -1
  28. package/dist/core/events/event-types.d.ts +63 -1
  29. package/dist/core/events/event-types.d.ts.map +1 -1
  30. package/dist/core/integrations/integration-orchestrator.d.ts +12 -0
  31. package/dist/core/integrations/integration-orchestrator.d.ts.map +1 -1
  32. package/dist/core/integrations/integration-orchestrator.js +36 -2
  33. package/dist/core/integrations/integration-orchestrator.js.map +1 -1
  34. package/dist/core/journey/journey-store.d.ts +137 -0
  35. package/dist/core/journey/journey-store.d.ts.map +1 -0
  36. package/dist/core/journey/journey-store.js +210 -0
  37. package/dist/core/journey/journey-store.js.map +1 -0
  38. package/dist/core/parser/file-reader.d.ts.map +1 -1
  39. package/dist/core/parser/file-reader.js +16 -1
  40. package/dist/core/parser/file-reader.js.map +1 -1
  41. package/dist/core/parser/read-docx.d.ts +17 -0
  42. package/dist/core/parser/read-docx.d.ts.map +1 -0
  43. package/dist/core/parser/read-docx.js +79 -0
  44. package/dist/core/parser/read-docx.js.map +1 -0
  45. package/dist/core/parser/read-swagger.d.ts +49 -0
  46. package/dist/core/parser/read-swagger.d.ts.map +1 -0
  47. package/dist/core/parser/read-swagger.js +332 -0
  48. package/dist/core/parser/read-swagger.js.map +1 -0
  49. package/dist/core/rag/chunk-text.d.ts +5 -0
  50. package/dist/core/rag/chunk-text.d.ts.map +1 -1
  51. package/dist/core/rag/chunk-text.js +135 -0
  52. package/dist/core/rag/chunk-text.js.map +1 -1
  53. package/dist/core/rag/code-context-indexer.d.ts +27 -0
  54. package/dist/core/rag/code-context-indexer.d.ts.map +1 -0
  55. package/dist/core/rag/code-context-indexer.js +53 -0
  56. package/dist/core/rag/code-context-indexer.js.map +1 -0
  57. package/dist/core/rag/decision-indexer.d.ts +20 -0
  58. package/dist/core/rag/decision-indexer.d.ts.map +1 -0
  59. package/dist/core/rag/decision-indexer.js +32 -0
  60. package/dist/core/rag/decision-indexer.js.map +1 -0
  61. package/dist/core/rag/journey-indexer.d.ts +16 -0
  62. package/dist/core/rag/journey-indexer.d.ts.map +1 -0
  63. package/dist/core/rag/journey-indexer.js +182 -0
  64. package/dist/core/rag/journey-indexer.js.map +1 -0
  65. package/dist/core/rag/knowledge-feedback.d.ts +15 -0
  66. package/dist/core/rag/knowledge-feedback.d.ts.map +1 -0
  67. package/dist/core/rag/knowledge-feedback.js +46 -0
  68. package/dist/core/rag/knowledge-feedback.js.map +1 -0
  69. package/dist/core/rag/knowledge-linker.d.ts +20 -0
  70. package/dist/core/rag/knowledge-linker.d.ts.map +1 -0
  71. package/dist/core/rag/knowledge-linker.js +107 -0
  72. package/dist/core/rag/knowledge-linker.js.map +1 -0
  73. package/dist/core/rag/knowledge-quality.d.ts +31 -0
  74. package/dist/core/rag/knowledge-quality.d.ts.map +1 -0
  75. package/dist/core/rag/knowledge-quality.js +127 -0
  76. package/dist/core/rag/knowledge-quality.js.map +1 -0
  77. package/dist/core/rag/knowledge-synthesizer.d.ts +17 -0
  78. package/dist/core/rag/knowledge-synthesizer.d.ts.map +1 -0
  79. package/dist/core/rag/knowledge-synthesizer.js +115 -0
  80. package/dist/core/rag/knowledge-synthesizer.js.map +1 -0
  81. package/dist/core/rag/memory-rag-query.d.ts +3 -3
  82. package/dist/core/rag/memory-rag-query.d.ts.map +1 -1
  83. package/dist/core/rag/memory-rag-query.js +18 -0
  84. package/dist/core/rag/memory-rag-query.js.map +1 -1
  85. package/dist/core/rag/multi-strategy-retrieval.d.ts +46 -0
  86. package/dist/core/rag/multi-strategy-retrieval.d.ts.map +1 -0
  87. package/dist/core/rag/multi-strategy-retrieval.js +140 -0
  88. package/dist/core/rag/multi-strategy-retrieval.js.map +1 -0
  89. package/dist/core/rag/rag-pipeline.d.ts +11 -0
  90. package/dist/core/rag/rag-pipeline.d.ts.map +1 -1
  91. package/dist/core/rag/rag-pipeline.js +39 -0
  92. package/dist/core/rag/rag-pipeline.js.map +1 -1
  93. package/dist/core/rag/siebel-indexer.d.ts +16 -0
  94. package/dist/core/rag/siebel-indexer.d.ts.map +1 -0
  95. package/dist/core/rag/siebel-indexer.js +75 -0
  96. package/dist/core/rag/siebel-indexer.js.map +1 -0
  97. package/dist/core/rag/swagger-indexer.d.ts +16 -0
  98. package/dist/core/rag/swagger-indexer.d.ts.map +1 -0
  99. package/dist/core/rag/swagger-indexer.js +119 -0
  100. package/dist/core/rag/swagger-indexer.js.map +1 -0
  101. package/dist/core/rag/validation-indexer.d.ts +23 -0
  102. package/dist/core/rag/validation-indexer.d.ts.map +1 -0
  103. package/dist/core/rag/validation-indexer.js +35 -0
  104. package/dist/core/rag/validation-indexer.js.map +1 -0
  105. package/dist/core/siebel/composer-automation.d.ts +77 -0
  106. package/dist/core/siebel/composer-automation.d.ts.map +1 -0
  107. package/dist/core/siebel/composer-automation.js +110 -0
  108. package/dist/core/siebel/composer-automation.js.map +1 -0
  109. package/dist/core/siebel/dependency-analyzer.d.ts +24 -0
  110. package/dist/core/siebel/dependency-analyzer.d.ts.map +1 -0
  111. package/dist/core/siebel/dependency-analyzer.js +174 -0
  112. package/dist/core/siebel/dependency-analyzer.js.map +1 -0
  113. package/dist/core/siebel/siebel-config.d.ts +28 -0
  114. package/dist/core/siebel/siebel-config.d.ts.map +1 -0
  115. package/dist/core/siebel/siebel-config.js +86 -0
  116. package/dist/core/siebel/siebel-config.js.map +1 -0
  117. package/dist/core/siebel/sif-context-assembler.d.ts +37 -0
  118. package/dist/core/siebel/sif-context-assembler.d.ts.map +1 -0
  119. package/dist/core/siebel/sif-context-assembler.js +259 -0
  120. package/dist/core/siebel/sif-context-assembler.js.map +1 -0
  121. package/dist/core/siebel/sif-generator.d.ts +26 -0
  122. package/dist/core/siebel/sif-generator.d.ts.map +1 -0
  123. package/dist/core/siebel/sif-generator.js +232 -0
  124. package/dist/core/siebel/sif-generator.js.map +1 -0
  125. package/dist/core/siebel/sif-parser.d.ts +16 -0
  126. package/dist/core/siebel/sif-parser.d.ts.map +1 -0
  127. package/dist/core/siebel/sif-parser.js +355 -0
  128. package/dist/core/siebel/sif-parser.js.map +1 -0
  129. package/dist/core/siebel/sif-templates.d.ts +45 -0
  130. package/dist/core/siebel/sif-templates.d.ts.map +1 -0
  131. package/dist/core/siebel/sif-templates.js +179 -0
  132. package/dist/core/siebel/sif-templates.js.map +1 -0
  133. package/dist/core/siebel/sif-to-graph.d.ts +20 -0
  134. package/dist/core/siebel/sif-to-graph.d.ts.map +1 -0
  135. package/dist/core/siebel/sif-to-graph.js +176 -0
  136. package/dist/core/siebel/sif-to-graph.js.map +1 -0
  137. package/dist/core/store/knowledge-store.d.ts +25 -0
  138. package/dist/core/store/knowledge-store.d.ts.map +1 -1
  139. package/dist/core/store/knowledge-store.js +72 -0
  140. package/dist/core/store/knowledge-store.js.map +1 -1
  141. package/dist/core/store/migrations.d.ts.map +1 -1
  142. package/dist/core/store/migrations.js +96 -0
  143. package/dist/core/store/migrations.js.map +1 -1
  144. package/dist/mcp/tools/index.d.ts.map +1 -1
  145. package/dist/mcp/tools/index.js +26 -0
  146. package/dist/mcp/tools/index.js.map +1 -1
  147. package/dist/mcp/tools/journey.d.ts +4 -0
  148. package/dist/mcp/tools/journey.d.ts.map +1 -0
  149. package/dist/mcp/tools/journey.js +154 -0
  150. package/dist/mcp/tools/journey.js.map +1 -0
  151. package/dist/mcp/tools/knowledge-feedback.d.ts +8 -0
  152. package/dist/mcp/tools/knowledge-feedback.d.ts.map +1 -0
  153. package/dist/mcp/tools/knowledge-feedback.js +35 -0
  154. package/dist/mcp/tools/knowledge-feedback.js.map +1 -0
  155. package/dist/mcp/tools/knowledge-stats.d.ts +9 -0
  156. package/dist/mcp/tools/knowledge-stats.d.ts.map +1 -0
  157. package/dist/mcp/tools/knowledge-stats.js +83 -0
  158. package/dist/mcp/tools/knowledge-stats.js.map +1 -0
  159. package/dist/mcp/tools/plan-sprint.d.ts.map +1 -1
  160. package/dist/mcp/tools/plan-sprint.js +7 -1
  161. package/dist/mcp/tools/plan-sprint.js.map +1 -1
  162. package/dist/mcp/tools/rag-context.d.ts.map +1 -1
  163. package/dist/mcp/tools/rag-context.js +43 -2
  164. package/dist/mcp/tools/rag-context.js.map +1 -1
  165. package/dist/mcp/tools/reindex-knowledge.d.ts.map +1 -1
  166. package/dist/mcp/tools/reindex-knowledge.js +23 -2
  167. package/dist/mcp/tools/reindex-knowledge.js.map +1 -1
  168. package/dist/mcp/tools/siebel-analyze.d.ts +8 -0
  169. package/dist/mcp/tools/siebel-analyze.d.ts.map +1 -0
  170. package/dist/mcp/tools/siebel-analyze.js +107 -0
  171. package/dist/mcp/tools/siebel-analyze.js.map +1 -0
  172. package/dist/mcp/tools/siebel-composer.d.ts +12 -0
  173. package/dist/mcp/tools/siebel-composer.d.ts.map +1 -0
  174. package/dist/mcp/tools/siebel-composer.js +59 -0
  175. package/dist/mcp/tools/siebel-composer.js.map +1 -0
  176. package/dist/mcp/tools/siebel-env.d.ts +8 -0
  177. package/dist/mcp/tools/siebel-env.d.ts.map +1 -0
  178. package/dist/mcp/tools/siebel-env.js +60 -0
  179. package/dist/mcp/tools/siebel-env.js.map +1 -0
  180. package/dist/mcp/tools/siebel-generate-sif.d.ts +8 -0
  181. package/dist/mcp/tools/siebel-generate-sif.d.ts.map +1 -0
  182. package/dist/mcp/tools/siebel-generate-sif.js +91 -0
  183. package/dist/mcp/tools/siebel-generate-sif.js.map +1 -0
  184. package/dist/mcp/tools/siebel-import-docs.d.ts +9 -0
  185. package/dist/mcp/tools/siebel-import-docs.d.ts.map +1 -0
  186. package/dist/mcp/tools/siebel-import-docs.js +106 -0
  187. package/dist/mcp/tools/siebel-import-docs.js.map +1 -0
  188. package/dist/mcp/tools/siebel-import-sif.d.ts +8 -0
  189. package/dist/mcp/tools/siebel-import-sif.d.ts.map +1 -0
  190. package/dist/mcp/tools/siebel-import-sif.js +68 -0
  191. package/dist/mcp/tools/siebel-import-sif.js.map +1 -0
  192. package/dist/mcp/tools/siebel-search.d.ts +8 -0
  193. package/dist/mcp/tools/siebel-search.d.ts.map +1 -0
  194. package/dist/mcp/tools/siebel-search.js +47 -0
  195. package/dist/mcp/tools/siebel-search.js.map +1 -0
  196. package/dist/mcp/tools/siebel-validate.d.ts +8 -0
  197. package/dist/mcp/tools/siebel-validate.d.ts.map +1 -0
  198. package/dist/mcp/tools/siebel-validate.js +107 -0
  199. package/dist/mcp/tools/siebel-validate.js.map +1 -0
  200. package/dist/mcp/tools/update-status.d.ts.map +1 -1
  201. package/dist/mcp/tools/update-status.js +22 -1
  202. package/dist/mcp/tools/update-status.js.map +1 -1
  203. package/dist/mcp/tools/validate.d.ts.map +1 -1
  204. package/dist/mcp/tools/validate.js +21 -0
  205. package/dist/mcp/tools/validate.js.map +1 -1
  206. package/dist/schemas/knowledge.schema.d.ts +66 -0
  207. package/dist/schemas/knowledge.schema.d.ts.map +1 -1
  208. package/dist/schemas/knowledge.schema.js +28 -0
  209. package/dist/schemas/knowledge.schema.js.map +1 -1
  210. package/dist/schemas/siebel.schema.d.ts +564 -0
  211. package/dist/schemas/siebel.schema.d.ts.map +1 -0
  212. package/dist/schemas/siebel.schema.js +197 -0
  213. package/dist/schemas/siebel.schema.js.map +1 -0
  214. package/dist/web/dashboard/dist/assets/{benchmark-tab-C5fwIqgM.js → benchmark-tab-BoMsoQjO.js} +1 -1
  215. package/dist/web/dashboard/dist/assets/{context-tab-ChCyrRlr.js → context-tab-BLT4qQ77.js} +1 -1
  216. package/dist/web/dashboard/dist/assets/{gitnexus-tab-DnlGT63w.js → gitnexus-tab-DDw7DUED.js} +4 -4
  217. package/dist/web/dashboard/dist/assets/graph-tab-DG9Q6nko.js +1 -0
  218. package/dist/web/dashboard/dist/assets/graph-utils-BpYHKE87.js +1 -0
  219. package/dist/web/dashboard/dist/assets/index-Cu23WCcu.css +1 -0
  220. package/dist/web/dashboard/dist/assets/index-DtkPX5ZZ.js +55 -0
  221. package/dist/web/dashboard/dist/assets/{index-DlZhNCGR.js → index-F9dY4AG_.js} +1 -1
  222. package/dist/web/dashboard/dist/assets/{insights-tab-Cj4f85vS.js → insights-tab-YN7G6mjm.js} +1 -1
  223. package/dist/web/dashboard/dist/assets/journey-tab-BcweuR82.js +1 -0
  224. package/dist/web/dashboard/dist/assets/{logs-tab-C4C2Vn8-.js → logs-tab-BjdAURdy.js} +1 -1
  225. package/dist/web/dashboard/dist/assets/{memories-tab-NtNwoxbT.js → memories-tab-CQ2xM2aw.js} +1 -1
  226. package/dist/web/dashboard/dist/assets/prd-backlog-tab-CIeCpE1a.js +1 -0
  227. package/dist/web/dashboard/dist/assets/siebel-tab-bj5CT4-Z.js +3 -0
  228. package/dist/web/dashboard/dist/assets/{skills-tab-CIj4z1Ol.js → skills-tab-Bgk72mKO.js} +1 -1
  229. package/dist/web/dashboard/dist/assets/style-Da3qWU01.js +7 -0
  230. package/dist/web/dashboard/dist/index.html +2 -2
  231. package/package.json +15 -3
  232. package/dist/web/dashboard/dist/assets/graph-tab-DjV9RD41.js +0 -1
  233. package/dist/web/dashboard/dist/assets/graph-utils-C6bvcT4d.js +0 -7
  234. package/dist/web/dashboard/dist/assets/index-DQqYFXms.css +0 -1
  235. package/dist/web/dashboard/dist/assets/index-dCyMex_p.js +0 -53
  236. package/dist/web/dashboard/dist/assets/prd-backlog-tab-Bxt7qiVG.js +0 -1
  237. /package/dist/web/dashboard/dist/assets/{graph-utils-BZV40eAE.css → style-BZV40eAE.css} +0 -0
@@ -0,0 +1,55 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/graph-tab-DG9Q6nko.js","assets/style-Da3qWU01.js","assets/index-F9dY4AG_.js","assets/style-BZV40eAE.css","assets/graph-utils-BpYHKE87.js","assets/constants-z0QkAiYv.js","assets/prd-backlog-tab-CIeCpE1a.js","assets/journey-tab-BcweuR82.js","assets/gitnexus-tab-DDw7DUED.js","assets/gitnexus-tab-DEqMBSbC.css","assets/insights-tab-YN7G6mjm.js","assets/skills-tab-Bgk72mKO.js"])))=>i.map(i=>d[i]);
2
+ var uv=Object.defineProperty;var nv=(s,T,z)=>T in s?uv(s,T,{enumerable:!0,configurable:!0,writable:!0,value:z}):s[T]=z;var Ln=(s,T,z)=>nv(s,typeof T!="symbol"?T+"":T,z);function cv(s,T){for(var z=0;z<T.length;z++){const o=T[z];if(typeof o!="string"&&!Array.isArray(o)){for(const N in o)if(N!=="default"&&!(N in s)){const M=Object.getOwnPropertyDescriptor(o,N);M&&Object.defineProperty(s,N,M.get?M:{enumerable:!0,get:()=>o[N]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}(function(){const T=document.createElement("link").relList;if(T&&T.supports&&T.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))o(N);new MutationObserver(N=>{for(const M of N)if(M.type==="childList")for(const G of M.addedNodes)G.tagName==="LINK"&&G.rel==="modulepreload"&&o(G)}).observe(document,{childList:!0,subtree:!0});function z(N){const M={};return N.integrity&&(M.integrity=N.integrity),N.referrerPolicy&&(M.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?M.credentials="include":N.crossOrigin==="anonymous"?M.credentials="omit":M.credentials="same-origin",M}function o(N){if(N.ep)return;N.ep=!0;const M=z(N);fetch(N.href,M)}})();function iv(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var sf={exports:{}},Tu={};/**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var pd;function fv(){if(pd)return Tu;pd=1;var s=Symbol.for("react.transitional.element"),T=Symbol.for("react.fragment");function z(o,N,M){var G=null;if(M!==void 0&&(G=""+M),N.key!==void 0&&(G=""+N.key),"key"in N){M={};for(var Y in N)Y!=="key"&&(M[Y]=N[Y])}else M=N;return N=M.ref,{$$typeof:s,type:o,key:G,ref:N!==void 0?N:null,props:M}}return Tu.Fragment=T,Tu.jsx=z,Tu.jsxs=z,Tu}var xd;function sv(){return xd||(xd=1,sf.exports=fv()),sf.exports}var g=sv(),of={exports:{}},K={};/**
11
+ * @license React
12
+ * react.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var Td;function ov(){if(Td)return K;Td=1;var s=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),G=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),J=Symbol.iterator;function yl(d){return d===null||typeof d!="object"?null:(d=J&&d[J]||d["@@iterator"],typeof d=="function"?d:null)}var fl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Tl=Object.assign,$={};function El(d,_,C){this.props=d,this.context=_,this.refs=$,this.updater=C||fl}El.prototype.isReactComponent={},El.prototype.setState=function(d,_){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,_,"setState")},El.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function ul(){}ul.prototype=El.prototype;function _l(d,_,C){this.props=d,this.context=_,this.refs=$,this.updater=C||fl}var Gl=_l.prototype=new ul;Gl.constructor=_l,Tl(Gl,El.prototype),Gl.isPureReactComponent=!0;var Fl=Array.isArray;function Xl(){}var F={H:null,A:null,T:null,S:null},Ql=Object.prototype.hasOwnProperty;function wl(d,_,C){var B=C.ref;return{$$typeof:s,type:d,key:_,ref:B!==void 0?B:null,props:C}}function Ot(d,_){return wl(d.type,_,d.props)}function yt(d){return typeof d=="object"&&d!==null&&d.$$typeof===s}function Z(d){var _={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(C){return _[C]})}var Ol=/\/+/g;function Nl(d,_){return typeof d=="object"&&d!==null&&d.key!=null?Z(""+d.key):_.toString(36)}function Il(d){switch(d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch(typeof d.status=="string"?d.then(Xl,Xl):(d.status="pending",d.then(function(_){d.status==="pending"&&(d.status="fulfilled",d.value=_)},function(_){d.status==="pending"&&(d.status="rejected",d.reason=_)})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}}throw d}function x(d,_,C,B,w){var I=typeof d;(I==="undefined"||I==="boolean")&&(d=null);var sl=!1;if(d===null)sl=!0;else switch(I){case"bigint":case"string":case"number":sl=!0;break;case"object":switch(d.$$typeof){case s:case T:sl=!0;break;case H:return sl=d._init,x(sl(d._payload),_,C,B,w)}}if(sl)return w=w(d),sl=B===""?"."+Nl(d,0):B,Fl(w)?(C="",sl!=null&&(C=sl.replace(Ol,"$&/")+"/"),x(w,_,C,"",function(ja){return ja})):w!=null&&(yt(w)&&(w=Ot(w,C+(w.key==null||d&&d.key===w.key?"":(""+w.key).replace(Ol,"$&/")+"/")+sl)),_.push(w)),1;sl=0;var Wl=B===""?".":B+":";if(Fl(d))for(var jl=0;jl<d.length;jl++)B=d[jl],I=Wl+Nl(B,jl),sl+=x(B,_,C,I,w);else if(jl=yl(d),typeof jl=="function")for(d=jl.call(d),jl=0;!(B=d.next()).done;)B=B.value,I=Wl+Nl(B,jl++),sl+=x(B,_,C,I,w);else if(I==="object"){if(typeof d.then=="function")return x(Il(d),_,C,B,w);throw _=String(d),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return sl}function U(d,_,C){if(d==null)return d;var B=[],w=0;return x(d,B,"","",function(I){return _.call(C,I,w++)}),B}function V(d){if(d._status===-1){var _=d._result;_=_(),_.then(function(C){(d._status===0||d._status===-1)&&(d._status=1,d._result=C)},function(C){(d._status===0||d._status===-1)&&(d._status=2,d._result=C)}),d._status===-1&&(d._status=0,d._result=_)}if(d._status===1)return d._result.default;throw d._result}var dl=typeof reportError=="function"?reportError:function(d){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d),error:d});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",d);return}console.error(d)},gl={map:U,forEach:function(d,_,C){U(d,function(){_.apply(this,arguments)},C)},count:function(d){var _=0;return U(d,function(){_++}),_},toArray:function(d){return U(d,function(_){return _})||[]},only:function(d){if(!yt(d))throw Error("React.Children.only expected to receive a single React element child.");return d}};return K.Activity=j,K.Children=gl,K.Component=El,K.Fragment=z,K.Profiler=N,K.PureComponent=_l,K.StrictMode=o,K.Suspense=D,K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,K.__COMPILER_RUNTIME={__proto__:null,c:function(d){return F.H.useMemoCache(d)}},K.cache=function(d){return function(){return d.apply(null,arguments)}},K.cacheSignal=function(){return null},K.cloneElement=function(d,_,C){if(d==null)throw Error("The argument must be a React element, but you passed "+d+".");var B=Tl({},d.props),w=d.key;if(_!=null)for(I in _.key!==void 0&&(w=""+_.key),_)!Ql.call(_,I)||I==="key"||I==="__self"||I==="__source"||I==="ref"&&_.ref===void 0||(B[I]=_[I]);var I=arguments.length-2;if(I===1)B.children=C;else if(1<I){for(var sl=Array(I),Wl=0;Wl<I;Wl++)sl[Wl]=arguments[Wl+2];B.children=sl}return wl(d.type,w,B)},K.createContext=function(d){return d={$$typeof:G,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null},d.Provider=d,d.Consumer={$$typeof:M,_context:d},d},K.createElement=function(d,_,C){var B,w={},I=null;if(_!=null)for(B in _.key!==void 0&&(I=""+_.key),_)Ql.call(_,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(w[B]=_[B]);var sl=arguments.length-2;if(sl===1)w.children=C;else if(1<sl){for(var Wl=Array(sl),jl=0;jl<sl;jl++)Wl[jl]=arguments[jl+2];w.children=Wl}if(d&&d.defaultProps)for(B in sl=d.defaultProps,sl)w[B]===void 0&&(w[B]=sl[B]);return wl(d,I,w)},K.createRef=function(){return{current:null}},K.forwardRef=function(d){return{$$typeof:Y,render:d}},K.isValidElement=yt,K.lazy=function(d){return{$$typeof:H,_payload:{_status:-1,_result:d},_init:V}},K.memo=function(d,_){return{$$typeof:b,type:d,compare:_===void 0?null:_}},K.startTransition=function(d){var _=F.T,C={};F.T=C;try{var B=d(),w=F.S;w!==null&&w(C,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(Xl,dl)}catch(I){dl(I)}finally{_!==null&&C.types!==null&&(_.types=C.types),F.T=_}},K.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},K.use=function(d){return F.H.use(d)},K.useActionState=function(d,_,C){return F.H.useActionState(d,_,C)},K.useCallback=function(d,_){return F.H.useCallback(d,_)},K.useContext=function(d){return F.H.useContext(d)},K.useDebugValue=function(){},K.useDeferredValue=function(d,_){return F.H.useDeferredValue(d,_)},K.useEffect=function(d,_){return F.H.useEffect(d,_)},K.useEffectEvent=function(d){return F.H.useEffectEvent(d)},K.useId=function(){return F.H.useId()},K.useImperativeHandle=function(d,_,C){return F.H.useImperativeHandle(d,_,C)},K.useInsertionEffect=function(d,_){return F.H.useInsertionEffect(d,_)},K.useLayoutEffect=function(d,_){return F.H.useLayoutEffect(d,_)},K.useMemo=function(d,_){return F.H.useMemo(d,_)},K.useOptimistic=function(d,_){return F.H.useOptimistic(d,_)},K.useReducer=function(d,_,C){return F.H.useReducer(d,_,C)},K.useRef=function(d){return F.H.useRef(d)},K.useState=function(d){return F.H.useState(d)},K.useSyncExternalStore=function(d,_,C){return F.H.useSyncExternalStore(d,_,C)},K.useTransition=function(){return F.H.useTransition()},K.version="19.2.4",K}var Ed;function gf(){return Ed||(Ed=1,of.exports=ov()),of.exports}var O=gf();const Ud=iv(O),Fv=cv({__proto__:null,default:Ud},[O]);var rf={exports:{}},Eu={},df={exports:{}},mf={};/**
19
+ * @license React
20
+ * scheduler.production.js
21
+ *
22
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var zd;function rv(){return zd||(zd=1,(function(s){function T(x,U){var V=x.length;x.push(U);l:for(;0<V;){var dl=V-1>>>1,gl=x[dl];if(0<N(gl,U))x[dl]=U,x[V]=gl,V=dl;else break l}}function z(x){return x.length===0?null:x[0]}function o(x){if(x.length===0)return null;var U=x[0],V=x.pop();if(V!==U){x[0]=V;l:for(var dl=0,gl=x.length,d=gl>>>1;dl<d;){var _=2*(dl+1)-1,C=x[_],B=_+1,w=x[B];if(0>N(C,V))B<gl&&0>N(w,C)?(x[dl]=w,x[B]=V,dl=B):(x[dl]=C,x[_]=V,dl=_);else if(B<gl&&0>N(w,V))x[dl]=w,x[B]=V,dl=B;else break l}}return U}function N(x,U){var V=x.sortIndex-U.sortIndex;return V!==0?V:x.id-U.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;s.unstable_now=function(){return M.now()}}else{var G=Date,Y=G.now();s.unstable_now=function(){return G.now()-Y}}var D=[],b=[],H=1,j=null,J=3,yl=!1,fl=!1,Tl=!1,$=!1,El=typeof setTimeout=="function"?setTimeout:null,ul=typeof clearTimeout=="function"?clearTimeout:null,_l=typeof setImmediate<"u"?setImmediate:null;function Gl(x){for(var U=z(b);U!==null;){if(U.callback===null)o(b);else if(U.startTime<=x)o(b),U.sortIndex=U.expirationTime,T(D,U);else break;U=z(b)}}function Fl(x){if(Tl=!1,Gl(x),!fl)if(z(D)!==null)fl=!0,Xl||(Xl=!0,Z());else{var U=z(b);U!==null&&Il(Fl,U.startTime-x)}}var Xl=!1,F=-1,Ql=5,wl=-1;function Ot(){return $?!0:!(s.unstable_now()-wl<Ql)}function yt(){if($=!1,Xl){var x=s.unstable_now();wl=x;var U=!0;try{l:{fl=!1,Tl&&(Tl=!1,ul(F),F=-1),yl=!0;var V=J;try{t:{for(Gl(x),j=z(D);j!==null&&!(j.expirationTime>x&&Ot());){var dl=j.callback;if(typeof dl=="function"){j.callback=null,J=j.priorityLevel;var gl=dl(j.expirationTime<=x);if(x=s.unstable_now(),typeof gl=="function"){j.callback=gl,Gl(x),U=!0;break t}j===z(D)&&o(D),Gl(x)}else o(D);j=z(D)}if(j!==null)U=!0;else{var d=z(b);d!==null&&Il(Fl,d.startTime-x),U=!1}}break l}finally{j=null,J=V,yl=!1}U=void 0}}finally{U?Z():Xl=!1}}}var Z;if(typeof _l=="function")Z=function(){_l(yt)};else if(typeof MessageChannel<"u"){var Ol=new MessageChannel,Nl=Ol.port2;Ol.port1.onmessage=yt,Z=function(){Nl.postMessage(null)}}else Z=function(){El(yt,0)};function Il(x,U){F=El(function(){x(s.unstable_now())},U)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(x){x.callback=null},s.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ql=0<x?Math.floor(1e3/x):5},s.unstable_getCurrentPriorityLevel=function(){return J},s.unstable_next=function(x){switch(J){case 1:case 2:case 3:var U=3;break;default:U=J}var V=J;J=U;try{return x()}finally{J=V}},s.unstable_requestPaint=function(){$=!0},s.unstable_runWithPriority=function(x,U){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var V=J;J=x;try{return U()}finally{J=V}},s.unstable_scheduleCallback=function(x,U,V){var dl=s.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?dl+V:dl):V=dl,x){case 1:var gl=-1;break;case 2:gl=250;break;case 5:gl=1073741823;break;case 4:gl=1e4;break;default:gl=5e3}return gl=V+gl,x={id:H++,callback:U,priorityLevel:x,startTime:V,expirationTime:gl,sortIndex:-1},V>dl?(x.sortIndex=V,T(b,x),z(D)===null&&x===z(b)&&(Tl?(ul(F),F=-1):Tl=!0,Il(Fl,V-dl))):(x.sortIndex=gl,T(D,x),fl||yl||(fl=!0,Xl||(Xl=!0,Z()))),x},s.unstable_shouldYield=Ot,s.unstable_wrapCallback=function(x){var U=J;return function(){var V=J;J=U;try{return x.apply(this,arguments)}finally{J=V}}}})(mf)),mf}var Ad;function dv(){return Ad||(Ad=1,df.exports=rv()),df.exports}var hf={exports:{}},kl={};/**
27
+ * @license React
28
+ * react-dom.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var _d;function mv(){if(_d)return kl;_d=1;var s=gf();function T(D){var b="https://react.dev/errors/"+D;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var H=2;H<arguments.length;H++)b+="&args[]="+encodeURIComponent(arguments[H])}return"Minified React error #"+D+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function z(){}var o={d:{f:z,r:function(){throw Error(T(522))},D:z,C:z,L:z,m:z,X:z,S:z,M:z},p:0,findDOMNode:null},N=Symbol.for("react.portal");function M(D,b,H){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:j==null?null:""+j,children:D,containerInfo:b,implementation:H}}var G=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Y(D,b){if(D==="font")return"";if(typeof b=="string")return b==="use-credentials"?b:""}return kl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,kl.createPortal=function(D,b){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11)throw Error(T(299));return M(D,b,null,H)},kl.flushSync=function(D){var b=G.T,H=o.p;try{if(G.T=null,o.p=2,D)return D()}finally{G.T=b,o.p=H,o.d.f()}},kl.preconnect=function(D,b){typeof D=="string"&&(b?(b=b.crossOrigin,b=typeof b=="string"?b==="use-credentials"?b:"":void 0):b=null,o.d.C(D,b))},kl.prefetchDNS=function(D){typeof D=="string"&&o.d.D(D)},kl.preinit=function(D,b){if(typeof D=="string"&&b&&typeof b.as=="string"){var H=b.as,j=Y(H,b.crossOrigin),J=typeof b.integrity=="string"?b.integrity:void 0,yl=typeof b.fetchPriority=="string"?b.fetchPriority:void 0;H==="style"?o.d.S(D,typeof b.precedence=="string"?b.precedence:void 0,{crossOrigin:j,integrity:J,fetchPriority:yl}):H==="script"&&o.d.X(D,{crossOrigin:j,integrity:J,fetchPriority:yl,nonce:typeof b.nonce=="string"?b.nonce:void 0})}},kl.preinitModule=function(D,b){if(typeof D=="string")if(typeof b=="object"&&b!==null){if(b.as==null||b.as==="script"){var H=Y(b.as,b.crossOrigin);o.d.M(D,{crossOrigin:H,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0})}}else b==null&&o.d.M(D)},kl.preload=function(D,b){if(typeof D=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){var H=b.as,j=Y(H,b.crossOrigin);o.d.L(D,H,{crossOrigin:j,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},kl.preloadModule=function(D,b){if(typeof D=="string")if(b){var H=Y(b.as,b.crossOrigin);o.d.m(D,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:H,integrity:typeof b.integrity=="string"?b.integrity:void 0})}else o.d.m(D)},kl.requestFormReset=function(D){o.d.r(D)},kl.unstable_batchedUpdates=function(D,b){return D(b)},kl.useFormState=function(D,b,H){return G.H.useFormState(D,b,H)},kl.useFormStatus=function(){return G.H.useHostTransitionStatus()},kl.version="19.2.4",kl}var Od;function hv(){if(Od)return hf.exports;Od=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(T){console.error(T)}}return s(),hf.exports=mv(),hf.exports}/**
35
+ * @license React
36
+ * react-dom-client.production.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */var Nd;function vv(){if(Nd)return Eu;Nd=1;var s=dv(),T=gf(),z=hv();function o(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 N(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function M(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 G(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 Y(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(M(l)!==l)throw Error(o(188))}function b(l){var t=l.alternate;if(!t){if(t=M(l),t===null)throw Error(o(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(o(188))}if(e.return!==a.return)e=u,a=n;else{for(var c=!1,i=u.child;i;){if(i===e){c=!0,e=u,a=n;break}if(i===a){c=!0,a=u,e=n;break}i=i.sibling}if(!c){for(i=n.child;i;){if(i===e){c=!0,e=n,a=u;break}if(i===a){c=!0,a=n,e=u;break}i=i.sibling}if(!c)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?l:t}function H(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=H(l),t!==null)return t;l=l.sibling}return null}var j=Object.assign,J=Symbol.for("react.element"),yl=Symbol.for("react.transitional.element"),fl=Symbol.for("react.portal"),Tl=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),El=Symbol.for("react.profiler"),ul=Symbol.for("react.consumer"),_l=Symbol.for("react.context"),Gl=Symbol.for("react.forward_ref"),Fl=Symbol.for("react.suspense"),Xl=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),Ql=Symbol.for("react.lazy"),wl=Symbol.for("react.activity"),Ot=Symbol.for("react.memo_cache_sentinel"),yt=Symbol.iterator;function Z(l){return l===null||typeof l!="object"?null:(l=yt&&l[yt]||l["@@iterator"],typeof l=="function"?l:null)}var Ol=Symbol.for("react.client.reference");function Nl(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Ol?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Tl:return"Fragment";case El:return"Profiler";case $:return"StrictMode";case Fl:return"Suspense";case Xl:return"SuspenseList";case wl:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case fl:return"Portal";case _l:return l.displayName||"Context";case ul:return(l._context.displayName||"Context")+".Consumer";case Gl:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case F:return t=l.displayName||null,t!==null?t:Nl(l.type)||"Memo";case Ql:t=l._payload,l=l._init;try{return Nl(l(t))}catch{}}return null}var Il=Array.isArray,x=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=z.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},dl=[],gl=-1;function d(l){return{current:l}}function _(l){0>gl||(l.current=dl[gl],dl[gl]=null,gl--)}function C(l,t){gl++,dl[gl]=l.current,l.current=t}var B=d(null),w=d(null),I=d(null),sl=d(null);function Wl(l,t){switch(C(I,t),C(w,l),C(B,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Lr(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Lr(t),l=Vr(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}_(B),C(B,l)}function jl(){_(B),_(w),_(I)}function ja(l){l.memoizedState!==null&&C(sl,l);var t=B.current,e=Vr(t,l.type);t!==e&&(C(w,l),C(B,e))}function zu(l){w.current===l&&(_(B),_(w)),sl.current===l&&(_(sl),bu._currentValue=V)}var Vn,bf;function _e(l){if(Vn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Vn=t&&t[1]||"",bf=-1<e.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+Vn+l+bf}var Jn=!1;function Kn(l,t){if(!l||Jn)return"";Jn=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(S){var y=S}Reflect.construct(l,[],A)}else{try{A.call()}catch(S){y=S}l.call(A.prototype)}}else{try{throw Error()}catch(S){y=S}(A=l())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(S){if(S&&y&&typeof S.stack=="string")return[S.stack,y.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(),c=n[0],i=n[1];if(c&&i){var f=c.split(`
45
+ `),v=i.split(`
46
+ `);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<v.length&&!v[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===v.length)for(a=f.length-1,u=v.length-1;1<=a&&0<=u&&f[a]!==v[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==v[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==v[u]){var p=`
47
+ `+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{Jn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?_e(e):""}function Hd(l,t){switch(l.tag){case 26:case 27:case 5:return _e(l.type);case 16:return _e("Lazy");case 13:return l.child!==t&&t!==null?_e("Suspense Fallback"):_e("Suspense");case 19:return _e("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 _e("Activity");default:return""}}function Sf(l){try{var t="",e=null;do t+=Hd(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
48
+ Error generating stack: `+a.message+`
49
+ `+a.stack}}var wn=Object.prototype.hasOwnProperty,kn=s.unstable_scheduleCallback,Wn=s.unstable_cancelCallback,Bd=s.unstable_shouldYield,qd=s.unstable_requestPaint,ct=s.unstable_now,Yd=s.unstable_getCurrentPriorityLevel,pf=s.unstable_ImmediatePriority,xf=s.unstable_UserBlockingPriority,Au=s.unstable_NormalPriority,Gd=s.unstable_LowPriority,Tf=s.unstable_IdlePriority,Xd=s.log,Qd=s.unstable_setDisableYieldValue,Da=null,it=null;function te(l){if(typeof Xd=="function"&&Qd(l),it&&typeof it.setStrictMode=="function")try{it.setStrictMode(Da,l)}catch{}}var ft=Math.clz32?Math.clz32:Vd,Zd=Math.log,Ld=Math.LN2;function Vd(l){return l>>>=0,l===0?32:31-(Zd(l)/Ld|0)|0}var _u=256,Ou=262144,Nu=4194304;function Oe(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 ju(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=a&134217727;return i!==0?(a=i&~n,a!==0?u=Oe(a):(c&=i,c!==0?u=Oe(c):e||(e=i&~l,e!==0&&(u=Oe(e))))):(i=a&~n,i!==0?u=Oe(i):c!==0?u=Oe(c):e||(e=a&~l,e!==0&&(u=Oe(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 Ma(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Jd(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 Ef(){var l=Nu;return Nu<<=1,(Nu&62914560)===0&&(Nu=4194304),l}function $n(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Ua(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Kd(l,t,e,a,u,n){var c=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 i=l.entanglements,f=l.expirationTimes,v=l.hiddenUpdates;for(e=c&~e;0<e;){var p=31-ft(e),A=1<<p;i[p]=0,f[p]=-1;var y=v[p];if(y!==null)for(v[p]=null,p=0;p<y.length;p++){var S=y[p];S!==null&&(S.lane&=-536870913)}e&=~A}a!==0&&zf(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(c&~t))}function zf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-ft(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Af(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-ft(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function _f(l,t){var e=t&-t;return e=(e&42)!==0?1:Fn(e),(e&(l.suspendedLanes|t))!==0?0:e}function Fn(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 In(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Of(){var l=U.p;return l!==0?l:(l=window.event,l===void 0?32:md(l.type))}function Nf(l,t){var e=U.p;try{return U.p=l,t()}finally{U.p=e}}var ee=Math.random().toString(36).slice(2),Zl="__reactFiber$"+ee,Pl="__reactProps$"+ee,Je="__reactContainer$"+ee,Pn="__reactEvents$"+ee,wd="__reactListeners$"+ee,kd="__reactHandles$"+ee,jf="__reactResources$"+ee,Ca="__reactMarker$"+ee;function lc(l){delete l[Zl],delete l[Pl],delete l[Pn],delete l[wd],delete l[kd]}function Ke(l){var t=l[Zl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Je]||e[Zl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=Fr(l);l!==null;){if(e=l[Zl])return e;l=Fr(l)}return t}l=e,e=l.parentNode}return null}function we(l){if(l=l[Zl]||l[Je]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Ra(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(o(33))}function ke(l){var t=l[jf];return t||(t=l[jf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ql(l){l[Ca]=!0}var Df=new Set,Mf={};function Ne(l,t){We(l,t),We(l+"Capture",t)}function We(l,t){for(Mf[l]=t,l=0;l<t.length;l++)Df.add(t[l])}var Wd=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]*$"),Uf={},Cf={};function $d(l){return wn.call(Cf,l)?!0:wn.call(Uf,l)?!1:Wd.test(l)?Cf[l]=!0:(Uf[l]=!0,!1)}function Du(l,t,e){if($d(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 Mu(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 qt(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 gt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Rf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fd(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(c){e=""+c,n.call(this,c)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(c){e=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function tc(l){if(!l._valueTracker){var t=Rf(l)?"checked":"value";l._valueTracker=Fd(l,t,""+l[t])}}function Hf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Rf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Uu(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 Id=/[\n"\\]/g;function bt(l){return l.replace(Id,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ec(l,t,e,a,u,n,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+gt(t)):l.value!==""+gt(t)&&(l.value=""+gt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?ac(l,c,gt(t)):e!=null?ac(l,c,gt(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+gt(i):l.removeAttribute("name")}function Bf(l,t,e,a,u,n,c,i){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)){tc(l);return}e=e!=null?""+gt(e):"",t=t!=null?""+gt(t):e,i||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=i?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),tc(l)}function ac(l,t,e){t==="number"&&Uu(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function $e(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=""+gt(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 qf(l,t,e){if(t!=null&&(t=""+gt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+gt(e):""}function Yf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(o(92));if(Il(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=gt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),tc(l)}function Fe(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var Pd=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 Gf(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||Pd.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Xf(l,t,e){if(t!=null&&typeof t!="object")throw Error(o(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&&Gf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Gf(l,n,t[n])}function uc(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 lm=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"]]),tm=/^[\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 Cu(l){return tm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Yt(){}var nc=null;function cc(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Ie=null,Pe=null;function Qf(l){var t=we(l);if(t&&(l=t.stateNode)){var e=l[Pl]||null;l:switch(l=t.stateNode,t.type){case"input":if(ec(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="'+bt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[Pl]||null;if(!u)throw Error(o(90));ec(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&&Hf(a)}break l;case"textarea":qf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&$e(l,!!e.multiple,t,!1)}}}var ic=!1;function Zf(l,t,e){if(ic)return l(t,e);ic=!0;try{var a=l(t);return a}finally{if(ic=!1,(Ie!==null||Pe!==null)&&(xn(),Ie&&(t=Ie,l=Pe,Pe=Ie=null,Qf(t),l)))for(t=0;t<l.length;t++)Qf(l[t])}}function Ha(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Pl]||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(o(231,t,typeof e));return e}var Gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fc=!1;if(Gt)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){fc=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{fc=!1}var ae=null,sc=null,Ru=null;function Lf(){if(Ru)return Ru;var l,t=sc,e=t.length,a,u="value"in ae?ae.value:ae.textContent,n=u.length;for(l=0;l<e&&t[l]===u[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===u[n-a];a++);return Ru=u.slice(l,1<a?1-a:void 0)}function Hu(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 Bu(){return!0}function Vf(){return!1}function lt(l){function t(e,a,u,n,c){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=c,this.currentTarget=null;for(var i in l)l.hasOwnProperty(i)&&(e=l[i],this[i]=e?e(n):n[i]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Bu:Vf,this.isPropagationStopped=Vf,this}return j(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=Bu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Bu)},persist:function(){},isPersistent:Bu}),t}var je={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qu=lt(je),qa=j({},je,{view:0,detail:0}),em=lt(qa),oc,rc,Ya,Yu=j({},qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mc,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!==Ya&&(Ya&&l.type==="mousemove"?(oc=l.screenX-Ya.screenX,rc=l.screenY-Ya.screenY):rc=oc=0,Ya=l),oc)},movementY:function(l){return"movementY"in l?l.movementY:rc}}),Jf=lt(Yu),am=j({},Yu,{dataTransfer:0}),um=lt(am),nm=j({},qa,{relatedTarget:0}),dc=lt(nm),cm=j({},je,{animationName:0,elapsedTime:0,pseudoElement:0}),im=lt(cm),fm=j({},je,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),sm=lt(fm),om=j({},je,{data:0}),Kf=lt(om),rm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dm={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"},mm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hm(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=mm[l])?!!t[l]:!1}function mc(){return hm}var vm=j({},qa,{key:function(l){if(l.key){var t=rm[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Hu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?dm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mc,charCode:function(l){return l.type==="keypress"?Hu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Hu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),ym=lt(vm),gm=j({},Yu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wf=lt(gm),bm=j({},qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mc}),Sm=lt(bm),pm=j({},je,{propertyName:0,elapsedTime:0,pseudoElement:0}),xm=lt(pm),Tm=j({},Yu,{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}),Em=lt(Tm),zm=j({},je,{newState:0,oldState:0}),Am=lt(zm),_m=[9,13,27,32],hc=Gt&&"CompositionEvent"in window,Ga=null;Gt&&"documentMode"in document&&(Ga=document.documentMode);var Om=Gt&&"TextEvent"in window&&!Ga,kf=Gt&&(!hc||Ga&&8<Ga&&11>=Ga),Wf=" ",$f=!1;function Ff(l,t){switch(l){case"keyup":return _m.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function If(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var la=!1;function Nm(l,t){switch(l){case"compositionend":return If(t);case"keypress":return t.which!==32?null:($f=!0,Wf);case"textInput":return l=t.data,l===Wf&&$f?null:l;default:return null}}function jm(l,t){if(la)return l==="compositionend"||!hc&&Ff(l,t)?(l=Lf(),Ru=sc=ae=null,la=!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 kf&&t.locale!=="ko"?null:t.data;default:return null}}var Dm={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 Pf(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Dm[l.type]:t==="textarea"}function ls(l,t,e,a){Ie?Pe?Pe.push(a):Pe=[a]:Ie=a,t=Nn(t,"onChange"),0<t.length&&(e=new qu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Xa=null,Qa=null;function Mm(l){qr(l,0)}function Gu(l){var t=Ra(l);if(Hf(t))return l}function ts(l,t){if(l==="change")return t}var es=!1;if(Gt){var vc;if(Gt){var yc="oninput"in document;if(!yc){var as=document.createElement("div");as.setAttribute("oninput","return;"),yc=typeof as.oninput=="function"}vc=yc}else vc=!1;es=vc&&(!document.documentMode||9<document.documentMode)}function us(){Xa&&(Xa.detachEvent("onpropertychange",ns),Qa=Xa=null)}function ns(l){if(l.propertyName==="value"&&Gu(Qa)){var t=[];ls(t,Qa,l,cc(l)),Zf(Mm,t)}}function Um(l,t,e){l==="focusin"?(us(),Xa=t,Qa=e,Xa.attachEvent("onpropertychange",ns)):l==="focusout"&&us()}function Cm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Gu(Qa)}function Rm(l,t){if(l==="click")return Gu(t)}function Hm(l,t){if(l==="input"||l==="change")return Gu(t)}function Bm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var st=typeof Object.is=="function"?Object.is:Bm;function Za(l,t){if(st(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(!wn.call(t,u)||!st(l[u],t[u]))return!1}return!0}function cs(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function is(l,t){var e=cs(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=cs(e)}}function fs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?fs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ss(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Uu(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=Uu(l.document)}return t}function gc(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 qm=Gt&&"documentMode"in document&&11>=document.documentMode,ta=null,bc=null,La=null,Sc=!1;function os(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Sc||ta==null||ta!==Uu(a)||(a=ta,"selectionStart"in a&&gc(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}),La&&Za(La,a)||(La=a,a=Nn(bc,"onSelect"),0<a.length&&(t=new qu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=ta)))}function De(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var ea={animationend:De("Animation","AnimationEnd"),animationiteration:De("Animation","AnimationIteration"),animationstart:De("Animation","AnimationStart"),transitionrun:De("Transition","TransitionRun"),transitionstart:De("Transition","TransitionStart"),transitioncancel:De("Transition","TransitionCancel"),transitionend:De("Transition","TransitionEnd")},pc={},rs={};Gt&&(rs=document.createElement("div").style,"AnimationEvent"in window||(delete ea.animationend.animation,delete ea.animationiteration.animation,delete ea.animationstart.animation),"TransitionEvent"in window||delete ea.transitionend.transition);function Me(l){if(pc[l])return pc[l];if(!ea[l])return l;var t=ea[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in rs)return pc[l]=t[e];return l}var ds=Me("animationend"),ms=Me("animationiteration"),hs=Me("animationstart"),Ym=Me("transitionrun"),Gm=Me("transitionstart"),Xm=Me("transitioncancel"),vs=Me("transitionend"),ys=new Map,xc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");xc.push("scrollEnd");function Nt(l,t){ys.set(l,t),Ne(t,[l])}var Xu=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)},St=[],aa=0,Tc=0;function Qu(){for(var l=aa,t=Tc=aa=0;t<l;){var e=St[t];St[t++]=null;var a=St[t];St[t++]=null;var u=St[t];St[t++]=null;var n=St[t];if(St[t++]=null,a!==null&&u!==null){var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}n!==0&&gs(e,u,n)}}function Zu(l,t,e,a){St[aa++]=l,St[aa++]=t,St[aa++]=e,St[aa++]=a,Tc|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Ec(l,t,e,a){return Zu(l,t,e,a),Lu(l)}function Ue(l,t){return Zu(l,null,null,t),Lu(l)}function gs(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-ft(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function Lu(l){if(50<ru)throw ru=0,Ui=null,Error(o(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var ua={};function Qm(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 ot(l,t,e,a){return new Qm(l,t,e,a)}function zc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Xt(l,t){var e=l.alternate;return e===null?(e=ot(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 bs(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 Vu(l,t,e,a,u,n){var c=0;if(a=l,typeof l=="function")zc(l)&&(c=1);else if(typeof l=="string")c=Kh(l,e,B.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case wl:return l=ot(31,e,t,u),l.elementType=wl,l.lanes=n,l;case Tl:return Ce(e.children,u,n,t);case $:c=8,u|=24;break;case El:return l=ot(12,e,t,u|2),l.elementType=El,l.lanes=n,l;case Fl:return l=ot(13,e,t,u),l.elementType=Fl,l.lanes=n,l;case Xl:return l=ot(19,e,t,u),l.elementType=Xl,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case _l:c=10;break l;case ul:c=9;break l;case Gl:c=11;break l;case F:c=14;break l;case Ql:c=16,a=null;break l}c=29,e=Error(o(130,l===null?"null":typeof l,"")),a=null}return t=ot(c,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function Ce(l,t,e,a){return l=ot(7,l,a,t),l.lanes=e,l}function Ac(l,t,e){return l=ot(6,l,null,t),l.lanes=e,l}function Ss(l){var t=ot(18,null,null,0);return t.stateNode=l,t}function _c(l,t,e){return t=ot(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var ps=new WeakMap;function pt(l,t){if(typeof l=="object"&&l!==null){var e=ps.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Sf(t)},ps.set(l,t),t)}return{value:l,source:t,stack:Sf(t)}}var na=[],ca=0,Ju=null,Va=0,xt=[],Tt=0,ue=null,Ct=1,Rt="";function Qt(l,t){na[ca++]=Va,na[ca++]=Ju,Ju=l,Va=t}function xs(l,t,e){xt[Tt++]=Ct,xt[Tt++]=Rt,xt[Tt++]=ue,ue=l;var a=Ct;l=Rt;var u=32-ft(a)-1;a&=~(1<<u),e+=1;var n=32-ft(t)+u;if(30<n){var c=u-u%5;n=(a&(1<<c)-1).toString(32),a>>=c,u-=c,Ct=1<<32-ft(t)+u|e<<u|a,Rt=n+l}else Ct=1<<n|e<<u|a,Rt=l}function Oc(l){l.return!==null&&(Qt(l,1),xs(l,1,0))}function Nc(l){for(;l===Ju;)Ju=na[--ca],na[ca]=null,Va=na[--ca],na[ca]=null;for(;l===ue;)ue=xt[--Tt],xt[Tt]=null,Rt=xt[--Tt],xt[Tt]=null,Ct=xt[--Tt],xt[Tt]=null}function Ts(l,t){xt[Tt++]=Ct,xt[Tt++]=Rt,xt[Tt++]=ue,Ct=t.id,Rt=t.overflow,ue=l}var Ll=null,Sl=null,al=!1,ne=null,Et=!1,jc=Error(o(519));function ce(l){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ja(pt(t,l)),jc}function Es(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Zl]=l,t[Pl]=a,e){case"dialog":ll("cancel",t),ll("close",t);break;case"iframe":case"object":case"embed":ll("load",t);break;case"video":case"audio":for(e=0;e<mu.length;e++)ll(mu[e],t);break;case"source":ll("error",t);break;case"img":case"image":case"link":ll("error",t),ll("load",t);break;case"details":ll("toggle",t);break;case"input":ll("invalid",t),Bf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ll("invalid",t);break;case"textarea":ll("invalid",t),Yf(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||Qr(t.textContent,e)?(a.popover!=null&&(ll("beforetoggle",t),ll("toggle",t)),a.onScroll!=null&&ll("scroll",t),a.onScrollEnd!=null&&ll("scrollend",t),a.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||ce(l,!0)}function zs(l){for(Ll=l.return;Ll;)switch(Ll.tag){case 5:case 31:case 13:Et=!1;return;case 27:case 3:Et=!0;return;default:Ll=Ll.return}}function ia(l){if(l!==Ll)return!1;if(!al)return zs(l),al=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||wi(l.type,l.memoizedProps)),e=!e),e&&Sl&&ce(l),zs(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));Sl=$r(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));Sl=$r(l)}else t===27?(t=Sl,pe(l.type)?(l=Ii,Ii=null,Sl=l):Sl=t):Sl=Ll?At(l.stateNode.nextSibling):null;return!0}function Re(){Sl=Ll=null,al=!1}function Dc(){var l=ne;return l!==null&&(ut===null?ut=l:ut.push.apply(ut,l),ne=null),l}function Ja(l){ne===null?ne=[l]:ne.push(l)}var Mc=d(null),He=null,Zt=null;function ie(l,t,e){C(Mc,t._currentValue),t._currentValue=e}function Lt(l){l._currentValue=Mc.current,_(Mc)}function Uc(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 Cc(l,t,e,a){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var c=u.child;n=n.firstContext;l:for(;n!==null;){var i=n;n=u;for(var f=0;f<t.length;f++)if(i.context===t[f]){n.lanes|=e,i=n.alternate,i!==null&&(i.lanes|=e),Uc(n.return,e,l),a||(c=null);break l}n=i.next}}else if(u.tag===18){if(c=u.return,c===null)throw Error(o(341));c.lanes|=e,n=c.alternate,n!==null&&(n.lanes|=e),Uc(c,e,l),c=null}else c=u.child;if(c!==null)c.return=u;else for(c=u;c!==null;){if(c===l){c=null;break}if(u=c.sibling,u!==null){u.return=c.return,c=u;break}c=c.return}u=c}}function fa(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 c=u.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var i=u.type;st(u.pendingProps.value,c.value)||(l!==null?l.push(i):l=[i])}}else if(u===sl.current){if(c=u.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(bu):l=[bu])}u=u.return}l!==null&&Cc(t,l,e,a),t.flags|=262144}function Ku(l){for(l=l.firstContext;l!==null;){if(!st(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Be(l){He=l,Zt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Vl(l){return As(He,l)}function wu(l,t){return He===null&&Be(l),As(l,t)}function As(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Zt===null){if(l===null)throw Error(o(308));Zt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Zt=Zt.next=t;return e}var Zm=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()})}},Lm=s.unstable_scheduleCallback,Vm=s.unstable_NormalPriority,Ul={$$typeof:_l,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rc(){return{controller:new Zm,data:new Map,refCount:0}}function Ka(l){l.refCount--,l.refCount===0&&Lm(Vm,function(){l.controller.abort()})}var wa=null,Hc=0,sa=0,oa=null;function Jm(l,t){if(wa===null){var e=wa=[];Hc=0,sa=Yi(),oa={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Hc++,t.then(_s,_s),t}function _s(){if(--Hc===0&&wa!==null){oa!==null&&(oa.status="fulfilled");var l=wa;wa=null,sa=0,oa=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Km(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 Os=x.S;x.S=function(l,t){rr=ct(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Jm(l,t),Os!==null&&Os(l,t)};var qe=d(null);function Bc(){var l=qe.current;return l!==null?l:bl.pooledCache}function ku(l,t){t===null?C(qe,qe.current):C(qe,t.pool)}function Ns(){var l=Bc();return l===null?null:{parent:Ul._currentValue,pool:l}}var ra=Error(o(460)),qc=Error(o(474)),Wu=Error(o(542)),$u={then:function(){}};function js(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Ds(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Yt,Yt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Us(l),l;default:if(typeof t.status=="string")t.then(Yt,Yt);else{if(l=bl,l!==null&&100<l.shellSuspendCounter)throw Error(o(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,Us(l),l}throw Ge=t,ra}}function Ye(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ge=e,ra):e}}var Ge=null;function Ms(){if(Ge===null)throw Error(o(459));var l=Ge;return Ge=null,l}function Us(l){if(l===ra||l===Wu)throw Error(o(483))}var da=null,ka=0;function Fu(l){var t=ka;return ka+=1,da===null&&(da=[]),Ds(da,l,t)}function Wa(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function Iu(l,t){throw t.$$typeof===J?Error(o(525)):(l=Object.prototype.toString.call(t),Error(o(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Cs(l){function t(m,r){if(l){var h=m.deletions;h===null?(m.deletions=[r],m.flags|=16):h.push(r)}}function e(m,r){if(!l)return null;for(;r!==null;)t(m,r),r=r.sibling;return null}function a(m){for(var r=new Map;m!==null;)m.key!==null?r.set(m.key,m):r.set(m.index,m),m=m.sibling;return r}function u(m,r){return m=Xt(m,r),m.index=0,m.sibling=null,m}function n(m,r,h){return m.index=h,l?(h=m.alternate,h!==null?(h=h.index,h<r?(m.flags|=67108866,r):h):(m.flags|=67108866,r)):(m.flags|=1048576,r)}function c(m){return l&&m.alternate===null&&(m.flags|=67108866),m}function i(m,r,h,E){return r===null||r.tag!==6?(r=Ac(h,m.mode,E),r.return=m,r):(r=u(r,h),r.return=m,r)}function f(m,r,h,E){var X=h.type;return X===Tl?p(m,r,h.props.children,E,h.key):r!==null&&(r.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===Ql&&Ye(X)===r.type)?(r=u(r,h.props),Wa(r,h),r.return=m,r):(r=Vu(h.type,h.key,h.props,null,m.mode,E),Wa(r,h),r.return=m,r)}function v(m,r,h,E){return r===null||r.tag!==4||r.stateNode.containerInfo!==h.containerInfo||r.stateNode.implementation!==h.implementation?(r=_c(h,m.mode,E),r.return=m,r):(r=u(r,h.children||[]),r.return=m,r)}function p(m,r,h,E,X){return r===null||r.tag!==7?(r=Ce(h,m.mode,E,X),r.return=m,r):(r=u(r,h),r.return=m,r)}function A(m,r,h){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Ac(""+r,m.mode,h),r.return=m,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case yl:return h=Vu(r.type,r.key,r.props,null,m.mode,h),Wa(h,r),h.return=m,h;case fl:return r=_c(r,m.mode,h),r.return=m,r;case Ql:return r=Ye(r),A(m,r,h)}if(Il(r)||Z(r))return r=Ce(r,m.mode,h,null),r.return=m,r;if(typeof r.then=="function")return A(m,Fu(r),h);if(r.$$typeof===_l)return A(m,wu(m,r),h);Iu(m,r)}return null}function y(m,r,h,E){var X=r!==null?r.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return X!==null?null:i(m,r,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case yl:return h.key===X?f(m,r,h,E):null;case fl:return h.key===X?v(m,r,h,E):null;case Ql:return h=Ye(h),y(m,r,h,E)}if(Il(h)||Z(h))return X!==null?null:p(m,r,h,E,null);if(typeof h.then=="function")return y(m,r,Fu(h),E);if(h.$$typeof===_l)return y(m,r,wu(m,h),E);Iu(m,h)}return null}function S(m,r,h,E,X){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return m=m.get(h)||null,i(r,m,""+E,X);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case yl:return m=m.get(E.key===null?h:E.key)||null,f(r,m,E,X);case fl:return m=m.get(E.key===null?h:E.key)||null,v(r,m,E,X);case Ql:return E=Ye(E),S(m,r,h,E,X)}if(Il(E)||Z(E))return m=m.get(h)||null,p(r,m,E,X,null);if(typeof E.then=="function")return S(m,r,h,Fu(E),X);if(E.$$typeof===_l)return S(m,r,h,wu(r,E),X);Iu(r,E)}return null}function R(m,r,h,E){for(var X=null,nl=null,q=r,W=r=0,el=null;q!==null&&W<h.length;W++){q.index>W?(el=q,q=null):el=q.sibling;var cl=y(m,q,h[W],E);if(cl===null){q===null&&(q=el);break}l&&q&&cl.alternate===null&&t(m,q),r=n(cl,r,W),nl===null?X=cl:nl.sibling=cl,nl=cl,q=el}if(W===h.length)return e(m,q),al&&Qt(m,W),X;if(q===null){for(;W<h.length;W++)q=A(m,h[W],E),q!==null&&(r=n(q,r,W),nl===null?X=q:nl.sibling=q,nl=q);return al&&Qt(m,W),X}for(q=a(q);W<h.length;W++)el=S(q,m,W,h[W],E),el!==null&&(l&&el.alternate!==null&&q.delete(el.key===null?W:el.key),r=n(el,r,W),nl===null?X=el:nl.sibling=el,nl=el);return l&&q.forEach(function(Ae){return t(m,Ae)}),al&&Qt(m,W),X}function L(m,r,h,E){if(h==null)throw Error(o(151));for(var X=null,nl=null,q=r,W=r=0,el=null,cl=h.next();q!==null&&!cl.done;W++,cl=h.next()){q.index>W?(el=q,q=null):el=q.sibling;var Ae=y(m,q,cl.value,E);if(Ae===null){q===null&&(q=el);break}l&&q&&Ae.alternate===null&&t(m,q),r=n(Ae,r,W),nl===null?X=Ae:nl.sibling=Ae,nl=Ae,q=el}if(cl.done)return e(m,q),al&&Qt(m,W),X;if(q===null){for(;!cl.done;W++,cl=h.next())cl=A(m,cl.value,E),cl!==null&&(r=n(cl,r,W),nl===null?X=cl:nl.sibling=cl,nl=cl);return al&&Qt(m,W),X}for(q=a(q);!cl.done;W++,cl=h.next())cl=S(q,m,W,cl.value,E),cl!==null&&(l&&cl.alternate!==null&&q.delete(cl.key===null?W:cl.key),r=n(cl,r,W),nl===null?X=cl:nl.sibling=cl,nl=cl);return l&&q.forEach(function(av){return t(m,av)}),al&&Qt(m,W),X}function vl(m,r,h,E){if(typeof h=="object"&&h!==null&&h.type===Tl&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case yl:l:{for(var X=h.key;r!==null;){if(r.key===X){if(X=h.type,X===Tl){if(r.tag===7){e(m,r.sibling),E=u(r,h.props.children),E.return=m,m=E;break l}}else if(r.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===Ql&&Ye(X)===r.type){e(m,r.sibling),E=u(r,h.props),Wa(E,h),E.return=m,m=E;break l}e(m,r);break}else t(m,r);r=r.sibling}h.type===Tl?(E=Ce(h.props.children,m.mode,E,h.key),E.return=m,m=E):(E=Vu(h.type,h.key,h.props,null,m.mode,E),Wa(E,h),E.return=m,m=E)}return c(m);case fl:l:{for(X=h.key;r!==null;){if(r.key===X)if(r.tag===4&&r.stateNode.containerInfo===h.containerInfo&&r.stateNode.implementation===h.implementation){e(m,r.sibling),E=u(r,h.children||[]),E.return=m,m=E;break l}else{e(m,r);break}else t(m,r);r=r.sibling}E=_c(h,m.mode,E),E.return=m,m=E}return c(m);case Ql:return h=Ye(h),vl(m,r,h,E)}if(Il(h))return R(m,r,h,E);if(Z(h)){if(X=Z(h),typeof X!="function")throw Error(o(150));return h=X.call(h),L(m,r,h,E)}if(typeof h.then=="function")return vl(m,r,Fu(h),E);if(h.$$typeof===_l)return vl(m,r,wu(m,h),E);Iu(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(h=""+h,r!==null&&r.tag===6?(e(m,r.sibling),E=u(r,h),E.return=m,m=E):(e(m,r),E=Ac(h,m.mode,E),E.return=m,m=E),c(m)):e(m,r)}return function(m,r,h,E){try{ka=0;var X=vl(m,r,h,E);return da=null,X}catch(q){if(q===ra||q===Wu)throw q;var nl=ot(29,q,null,m.mode);return nl.lanes=E,nl.return=m,nl}finally{}}}var Xe=Cs(!0),Rs=Cs(!1),fe=!1;function Yc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gc(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 se(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function oe(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(il&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Lu(l),gs(l,null,e),t}return Zu(l,a,t,e),Lu(l)}function $a(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,Af(l,e)}}function Xc(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 c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,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 Qc=!1;function Fa(){if(Qc){var l=oa;if(l!==null)throw l}}function Ia(l,t,e,a){Qc=!1;var u=l.updateQueue;fe=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var f=i,v=f.next;f.next=null,c===null?n=v:c.next=v,c=f;var p=l.alternate;p!==null&&(p=p.updateQueue,i=p.lastBaseUpdate,i!==c&&(i===null?p.firstBaseUpdate=v:i.next=v,p.lastBaseUpdate=f))}if(n!==null){var A=u.baseState;c=0,p=v=f=null,i=n;do{var y=i.lane&-536870913,S=y!==i.lane;if(S?(tl&y)===y:(a&y)===y){y!==0&&y===sa&&(Qc=!0),p!==null&&(p=p.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var R=l,L=i;y=t;var vl=e;switch(L.tag){case 1:if(R=L.payload,typeof R=="function"){A=R.call(vl,A,y);break l}A=R;break l;case 3:R.flags=R.flags&-65537|128;case 0:if(R=L.payload,y=typeof R=="function"?R.call(vl,A,y):R,y==null)break l;A=j({},A,y);break l;case 2:fe=!0}}y=i.callback,y!==null&&(l.flags|=64,S&&(l.flags|=8192),S=u.callbacks,S===null?u.callbacks=[y]:S.push(y))}else S={lane:y,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(v=p=S,f=A):p=p.next=S,c|=y;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;S=i,i=S.next,S.next=null,u.lastBaseUpdate=S,u.shared.pending=null}}while(!0);p===null&&(f=A),u.baseState=f,u.firstBaseUpdate=v,u.lastBaseUpdate=p,n===null&&(u.shared.lanes=0),ve|=c,l.lanes=c,l.memoizedState=A}}function Hs(l,t){if(typeof l!="function")throw Error(o(191,l));l.call(t)}function Bs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Hs(e[l],t)}var ma=d(null),Pu=d(0);function qs(l,t){l=It,C(Pu,l),C(ma,t),It=l|t.baseLanes}function Zc(){C(Pu,It),C(ma,ma.current)}function Lc(){It=Pu.current,_(ma),_(Pu)}var rt=d(null),zt=null;function re(l){var t=l.alternate;C(Dl,Dl.current&1),C(rt,l),zt===null&&(t===null||ma.current!==null||t.memoizedState!==null)&&(zt=l)}function Vc(l){C(Dl,Dl.current),C(rt,l),zt===null&&(zt=l)}function Ys(l){l.tag===22?(C(Dl,Dl.current),C(rt,l),zt===null&&(zt=l)):de()}function de(){C(Dl,Dl.current),C(rt,rt.current)}function dt(l){_(rt),zt===l&&(zt=null),_(Dl)}var Dl=d(0);function ln(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||$i(e)||Fi(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 Vt=0,k=null,ml=null,Cl=null,tn=!1,ha=!1,Qe=!1,en=0,Pa=0,va=null,wm=0;function zl(){throw Error(o(321))}function Jc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!st(l[e],t[e]))return!1;return!0}function Kc(l,t,e,a,u,n){return Vt=n,k=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,x.H=l===null||l.memoizedState===null?To:ii,Qe=!1,n=e(a,u),Qe=!1,ha&&(n=Xs(t,e,a,u)),Gs(l),n}function Gs(l){x.H=eu;var t=ml!==null&&ml.next!==null;if(Vt=0,Cl=ml=k=null,tn=!1,Pa=0,va=null,t)throw Error(o(300));l===null||Rl||(l=l.dependencies,l!==null&&Ku(l)&&(Rl=!0))}function Xs(l,t,e,a){k=l;var u=0;do{if(ha&&(va=null),Pa=0,ha=!1,25<=u)throw Error(o(301));if(u+=1,Cl=ml=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}x.H=Eo,n=t(e,a)}while(ha);return n}function km(){var l=x.H,t=l.useState()[0];return t=typeof t.then=="function"?lu(t):t,l=l.useState()[0],(ml!==null?ml.memoizedState:null)!==l&&(k.flags|=1024),t}function wc(){var l=en!==0;return en=0,l}function kc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function Wc(l){if(tn){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}tn=!1}Vt=0,Cl=ml=k=null,ha=!1,Pa=en=0,va=null}function $l(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cl===null?k.memoizedState=Cl=l:Cl=Cl.next=l,Cl}function Ml(){if(ml===null){var l=k.alternate;l=l!==null?l.memoizedState:null}else l=ml.next;var t=Cl===null?k.memoizedState:Cl.next;if(t!==null)Cl=t,ml=l;else{if(l===null)throw k.alternate===null?Error(o(467)):Error(o(310));ml=l,l={memoizedState:ml.memoizedState,baseState:ml.baseState,baseQueue:ml.baseQueue,queue:ml.queue,next:null},Cl===null?k.memoizedState=Cl=l:Cl=Cl.next=l}return Cl}function an(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lu(l){var t=Pa;return Pa+=1,va===null&&(va=[]),l=Ds(va,l,t),t=k,(Cl===null?t.memoizedState:Cl.next)===null&&(t=t.alternate,x.H=t===null||t.memoizedState===null?To:ii),l}function un(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return lu(l);if(l.$$typeof===_l)return Vl(l)}throw Error(o(438,String(l)))}function $c(l){var t=null,e=k.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=k.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=an(),k.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]=Ot;return t.index++,e}function Jt(l,t){return typeof t=="function"?t(l):t}function nn(l){var t=Ml();return Fc(t,ml,l)}function Fc(l,t,e){var a=l.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var u=l.baseQueue,n=a.pending;if(n!==null){if(u!==null){var c=u.next;u.next=n.next,n.next=c}t.baseQueue=u=n,a.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var i=c=null,f=null,v=t,p=!1;do{var A=v.lane&-536870913;if(A!==v.lane?(tl&A)===A:(Vt&A)===A){var y=v.revertLane;if(y===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),A===sa&&(p=!0);else if((Vt&y)===y){v=v.next,y===sa&&(p=!0);continue}else A={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(i=f=A,c=n):f=f.next=A,k.lanes|=y,ve|=y;A=v.action,Qe&&e(n,A),n=v.hasEagerState?v.eagerState:e(n,A)}else y={lane:A,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(i=f=y,c=n):f=f.next=y,k.lanes|=A,ve|=A;v=v.next}while(v!==null&&v!==t);if(f===null?c=n:f.next=i,!st(n,l.memoizedState)&&(Rl=!0,p&&(e=oa,e!==null)))throw e;l.memoizedState=n,l.baseState=c,l.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function Ic(l){var t=Ml(),e=t.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=l;var a=e.dispatch,u=e.pending,n=t.memoizedState;if(u!==null){e.pending=null;var c=u=u.next;do n=l(n,c.action),c=c.next;while(c!==u);st(n,t.memoizedState)||(Rl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function Qs(l,t,e){var a=k,u=Ml(),n=al;if(n){if(e===void 0)throw Error(o(407));e=e()}else e=t();var c=!st((ml||u).memoizedState,e);if(c&&(u.memoizedState=e,Rl=!0),u=u.queue,ti(Vs.bind(null,a,u,l),[l]),u.getSnapshot!==t||c||Cl!==null&&Cl.memoizedState.tag&1){if(a.flags|=2048,ya(9,{destroy:void 0},Ls.bind(null,a,u,e,t),null),bl===null)throw Error(o(349));n||(Vt&127)!==0||Zs(a,t,e)}return e}function Zs(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=k.updateQueue,t===null?(t=an(),k.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Ls(l,t,e,a){t.value=e,t.getSnapshot=a,Js(t)&&Ks(l)}function Vs(l,t,e){return e(function(){Js(t)&&Ks(l)})}function Js(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!st(l,e)}catch{return!0}}function Ks(l){var t=Ue(l,2);t!==null&&nt(t,l,2)}function Pc(l){var t=$l();if(typeof l=="function"){var e=l;if(l=e(),Qe){te(!0);try{e()}finally{te(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:l},t}function ws(l,t,e,a){return l.baseState=e,Fc(l,ml,typeof a=="function"?a:Jt)}function Wm(l,t,e,a,u){if(sn(l))throw Error(o(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(c){n.listeners.push(c)}};x.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,ks(t,n)):(n.next=e.next,t.pending=e.next=n)}}function ks(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=x.T,c={};x.T=c;try{var i=e(u,a),f=x.S;f!==null&&f(c,i),Ws(l,t,i)}catch(v){li(l,t,v)}finally{n!==null&&c.types!==null&&(n.types=c.types),x.T=n}}else try{n=e(u,a),Ws(l,t,n)}catch(v){li(l,t,v)}}function Ws(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){$s(l,t,a)},function(a){return li(l,t,a)}):$s(l,t,e)}function $s(l,t,e){t.status="fulfilled",t.value=e,Fs(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,ks(l,e)))}function li(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,Fs(t),t=t.next;while(t!==a)}l.action=null}function Fs(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Is(l,t){return t}function Ps(l,t){if(al){var e=bl.formState;if(e!==null){l:{var a=k;if(al){if(Sl){t:{for(var u=Sl,n=Et;u.nodeType!==8;){if(!n){u=null;break t}if(u=At(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Sl=At(u.nextSibling),a=u.data==="F!";break l}}ce(a)}a=!1}a&&(t=e[0])}}return e=$l(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:t},e.queue=a,e=So.bind(null,k,a),a.dispatch=e,a=Pc(!1),n=ci.bind(null,k,!1,a.queue),a=$l(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=Wm.bind(null,k,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function lo(l){var t=Ml();return to(t,ml,l)}function to(l,t,e){if(t=Fc(l,t,Is)[0],l=nn(Jt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=lu(t)}catch(c){throw c===ra?Wu:c}else a=t;t=Ml();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(k.flags|=2048,ya(9,{destroy:void 0},$m.bind(null,u,e),null)),[a,n,l]}function $m(l,t){l.action=t}function eo(l){var t=Ml(),e=ml;if(e!==null)return to(t,e,l);Ml(),t=t.memoizedState,e=Ml();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function ya(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=k.updateQueue,t===null&&(t=an(),k.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 ao(){return Ml().memoizedState}function cn(l,t,e,a){var u=$l();k.flags|=l,u.memoizedState=ya(1|t,{destroy:void 0},e,a===void 0?null:a)}function fn(l,t,e,a){var u=Ml();a=a===void 0?null:a;var n=u.memoizedState.inst;ml!==null&&a!==null&&Jc(a,ml.memoizedState.deps)?u.memoizedState=ya(t,n,e,a):(k.flags|=l,u.memoizedState=ya(1|t,n,e,a))}function uo(l,t){cn(8390656,8,l,t)}function ti(l,t){fn(2048,8,l,t)}function Fm(l){k.flags|=4;var t=k.updateQueue;if(t===null)t=an(),k.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function no(l){var t=Ml().memoizedState;return Fm({ref:t,nextImpl:l}),function(){if((il&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function co(l,t){return fn(4,2,l,t)}function io(l,t){return fn(4,4,l,t)}function fo(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 so(l,t,e){e=e!=null?e.concat([l]):null,fn(4,4,fo.bind(null,t,l),e)}function ei(){}function oo(l,t){var e=Ml();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Jc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function ro(l,t){var e=Ml();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Jc(t,a[1]))return a[0];if(a=l(),Qe){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a}function ai(l,t,e){return e===void 0||(Vt&1073741824)!==0&&(tl&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=mr(),k.lanes|=l,ve|=l,e)}function mo(l,t,e,a){return st(e,t)?e:ma.current!==null?(l=ai(l,e,a),st(l,t)||(Rl=!0),l):(Vt&42)===0||(Vt&1073741824)!==0&&(tl&261930)===0?(Rl=!0,l.memoizedState=e):(l=mr(),k.lanes|=l,ve|=l,t)}function ho(l,t,e,a,u){var n=U.p;U.p=n!==0&&8>n?n:8;var c=x.T,i={};x.T=i,ci(l,!1,t,e);try{var f=u(),v=x.S;if(v!==null&&v(i,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var p=Km(f,a);tu(l,t,p,vt(l))}else tu(l,t,a,vt(l))}catch(A){tu(l,t,{then:function(){},status:"rejected",reason:A},vt())}finally{U.p=n,c!==null&&i.types!==null&&(c.types=i.types),x.T=c}}function Im(){}function ui(l,t,e,a){if(l.tag!==5)throw Error(o(476));var u=vo(l).queue;ho(l,u,t,V,e===null?Im:function(){return yo(l),e(a)})}function vo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:V},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function yo(l){var t=vo(l);t.next===null&&(t=l.alternate.memoizedState),tu(l,t.next.queue,{},vt())}function ni(){return Vl(bu)}function go(){return Ml().memoizedState}function bo(){return Ml().memoizedState}function Pm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=vt();l=se(e);var a=oe(t,l,e);a!==null&&(nt(a,t,e),$a(a,t,e)),t={cache:Rc()},l.payload=t;return}t=t.return}}function lh(l,t,e){var a=vt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},sn(l)?po(t,e):(e=Ec(l,t,e,a),e!==null&&(nt(e,l,a),xo(e,t,a)))}function So(l,t,e){var a=vt();tu(l,t,e,a)}function tu(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(sn(l))po(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var c=t.lastRenderedState,i=n(c,e);if(u.hasEagerState=!0,u.eagerState=i,st(i,c))return Zu(l,t,u,0),bl===null&&Qu(),!1}catch{}finally{}if(e=Ec(l,t,u,a),e!==null)return nt(e,l,a),xo(e,t,a),!0}return!1}function ci(l,t,e,a){if(a={lane:2,revertLane:Yi(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},sn(l)){if(t)throw Error(o(479))}else t=Ec(l,e,a,2),t!==null&&nt(t,l,2)}function sn(l){var t=l.alternate;return l===k||t!==null&&t===k}function po(l,t){ha=tn=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function xo(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Af(l,e)}}var eu={readContext:Vl,use:un,useCallback:zl,useContext:zl,useEffect:zl,useImperativeHandle:zl,useLayoutEffect:zl,useInsertionEffect:zl,useMemo:zl,useReducer:zl,useRef:zl,useState:zl,useDebugValue:zl,useDeferredValue:zl,useTransition:zl,useSyncExternalStore:zl,useId:zl,useHostTransitionStatus:zl,useFormState:zl,useActionState:zl,useOptimistic:zl,useMemoCache:zl,useCacheRefresh:zl};eu.useEffectEvent=zl;var To={readContext:Vl,use:un,useCallback:function(l,t){return $l().memoizedState=[l,t===void 0?null:t],l},useContext:Vl,useEffect:uo,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,cn(4194308,4,fo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return cn(4194308,4,l,t)},useInsertionEffect:function(l,t){cn(4,2,l,t)},useMemo:function(l,t){var e=$l();t=t===void 0?null:t;var a=l();if(Qe){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=$l();if(e!==void 0){var u=e(t);if(Qe){te(!0);try{e(t)}finally{te(!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=lh.bind(null,k,l),[a.memoizedState,l]},useRef:function(l){var t=$l();return l={current:l},t.memoizedState=l},useState:function(l){l=Pc(l);var t=l.queue,e=So.bind(null,k,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:ei,useDeferredValue:function(l,t){var e=$l();return ai(e,l,t)},useTransition:function(){var l=Pc(!1);return l=ho.bind(null,k,l.queue,!0,!1),$l().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=k,u=$l();if(al){if(e===void 0)throw Error(o(407));e=e()}else{if(e=t(),bl===null)throw Error(o(349));(tl&127)!==0||Zs(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,uo(Vs.bind(null,a,n,l),[l]),a.flags|=2048,ya(9,{destroy:void 0},Ls.bind(null,a,n,e,t),null),e},useId:function(){var l=$l(),t=bl.identifierPrefix;if(al){var e=Rt,a=Ct;e=(a&~(1<<32-ft(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=en++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=wm++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:ni,useFormState:Ps,useActionState:Ps,useOptimistic:function(l){var t=$l();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=ci.bind(null,k,!0,e),e.dispatch=t,[l,t]},useMemoCache:$c,useCacheRefresh:function(){return $l().memoizedState=Pm.bind(null,k)},useEffectEvent:function(l){var t=$l(),e={impl:l};return t.memoizedState=e,function(){if((il&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},ii={readContext:Vl,use:un,useCallback:oo,useContext:Vl,useEffect:ti,useImperativeHandle:so,useInsertionEffect:co,useLayoutEffect:io,useMemo:ro,useReducer:nn,useRef:ao,useState:function(){return nn(Jt)},useDebugValue:ei,useDeferredValue:function(l,t){var e=Ml();return mo(e,ml.memoizedState,l,t)},useTransition:function(){var l=nn(Jt)[0],t=Ml().memoizedState;return[typeof l=="boolean"?l:lu(l),t]},useSyncExternalStore:Qs,useId:go,useHostTransitionStatus:ni,useFormState:lo,useActionState:lo,useOptimistic:function(l,t){var e=Ml();return ws(e,ml,l,t)},useMemoCache:$c,useCacheRefresh:bo};ii.useEffectEvent=no;var Eo={readContext:Vl,use:un,useCallback:oo,useContext:Vl,useEffect:ti,useImperativeHandle:so,useInsertionEffect:co,useLayoutEffect:io,useMemo:ro,useReducer:Ic,useRef:ao,useState:function(){return Ic(Jt)},useDebugValue:ei,useDeferredValue:function(l,t){var e=Ml();return ml===null?ai(e,l,t):mo(e,ml.memoizedState,l,t)},useTransition:function(){var l=Ic(Jt)[0],t=Ml().memoizedState;return[typeof l=="boolean"?l:lu(l),t]},useSyncExternalStore:Qs,useId:go,useHostTransitionStatus:ni,useFormState:eo,useActionState:eo,useOptimistic:function(l,t){var e=Ml();return ml!==null?ws(e,ml,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:$c,useCacheRefresh:bo};Eo.useEffectEvent=no;function fi(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:j({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var si={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=vt(),u=se(a);u.payload=t,e!=null&&(u.callback=e),t=oe(l,u,a),t!==null&&(nt(t,l,a),$a(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=vt(),u=se(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=oe(l,u,a),t!==null&&(nt(t,l,a),$a(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=vt(),a=se(e);a.tag=2,t!=null&&(a.callback=t),t=oe(l,a,e),t!==null&&(nt(t,l,e),$a(t,l,e))}};function zo(l,t,e,a,u,n,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,c):t.prototype&&t.prototype.isPureReactComponent?!Za(e,a)||!Za(u,n):!0}function Ao(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&&si.enqueueReplaceState(t,t.state,null)}function Ze(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=j({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}function _o(l){Xu(l)}function Oo(l){console.error(l)}function No(l){Xu(l)}function on(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function jo(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 oi(l,t,e){return e=se(e),e.tag=3,e.payload={element:null},e.callback=function(){on(l,t)},e}function Do(l){return l=se(l),l.tag=3,l}function Mo(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(){jo(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){jo(t,e,a),typeof u!="function"&&(ye===null?ye=new Set([this]):ye.add(this));var i=a.stack;this.componentDidCatch(a.value,{componentStack:i!==null?i:""})})}function th(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&fa(t,e,u,!0),e=rt.current,e!==null){switch(e.tag){case 31:case 13:return zt===null?Tn():e.alternate===null&&Al===0&&(Al=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===$u?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Hi(l,a,u)),!1;case 22:return e.flags|=65536,a===$u?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)),Hi(l,a,u)),!1}throw Error(o(435,e.tag))}return Hi(l,a,u),Tn(),!1}if(al)return t=rt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==jc&&(l=Error(o(422),{cause:a}),Ja(pt(l,e)))):(a!==jc&&(t=Error(o(423),{cause:a}),Ja(pt(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=pt(a,e),u=oi(l.stateNode,a,u),Xc(l,u),Al!==4&&(Al=2)),!1;var n=Error(o(520),{cause:a});if(n=pt(n,e),ou===null?ou=[n]:ou.push(n),Al!==4&&(Al=2),t===null)return!0;a=pt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=oi(e.stateNode,a,l),Xc(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"&&(ye===null||!ye.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Do(u),Mo(u,l,e,a),Xc(e,u),!1}e=e.return}while(e!==null);return!1}var ri=Error(o(461)),Rl=!1;function Jl(l,t,e,a){t.child=l===null?Rs(t,null,e,a):Xe(t,l.child,e,a)}function Uo(l,t,e,a,u){e=e.render;var n=t.ref;if("ref"in a){var c={};for(var i in a)i!=="ref"&&(c[i]=a[i])}else c=a;return Be(t),a=Kc(l,t,e,c,n,u),i=wc(),l!==null&&!Rl?(kc(l,t,u),Kt(l,t,u)):(al&&i&&Oc(t),t.flags|=1,Jl(l,t,a,u),t.child)}function Co(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!zc(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Ro(l,t,n,a,u)):(l=Vu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!Si(l,u)){var c=n.memoizedProps;if(e=e.compare,e=e!==null?e:Za,e(c,a)&&l.ref===t.ref)return Kt(l,t,u)}return t.flags|=1,l=Xt(n,a),l.ref=t.ref,l.return=t,t.child=l}function Ro(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(Za(n,a)&&l.ref===t.ref)if(Rl=!1,t.pendingProps=a=n,Si(l,u))(l.flags&131072)!==0&&(Rl=!0);else return t.lanes=l.lanes,Kt(l,t,u)}return di(l,t,e,a,u)}function Ho(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 Bo(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?qs(t,n):Zc(),Ys(t);else return a=t.lanes=536870912,Bo(l,t,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(ku(t,n.cachePool),qs(t,n),de(),t.memoizedState=null):(l!==null&&ku(t,null),Zc(),de());return Jl(l,t,u,e),t.child}function au(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Bo(l,t,e,a,u){var n=Bc();return n=n===null?null:{parent:Ul._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&ku(t,null),Zc(),Ys(t),l!==null&&fa(l,t,a,!0),t.childLanes=u,null}function rn(l,t){return t=mn({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function qo(l,t,e){return Xe(t,l.child,null,e),l=rn(t,t.pendingProps),l.flags|=2,dt(t),t.memoizedState=null,l}function eh(l,t,e){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(al){if(a.mode==="hidden")return l=rn(t,a),t.lanes=536870912,au(null,l);if(Vc(t),(l=Sl)?(l=Wr(l,Et),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ue!==null?{id:Ct,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Ll=t,Sl=null)):l=null,l===null)throw ce(t);return t.lanes=536870912,null}return rn(t,a)}var n=l.memoizedState;if(n!==null){var c=n.dehydrated;if(Vc(t),u)if(t.flags&256)t.flags&=-257,t=qo(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(o(558));else if(Rl||fa(l,t,e,!1),u=(e&l.childLanes)!==0,Rl||u){if(a=bl,a!==null&&(c=_f(a,e),c!==0&&c!==n.retryLane))throw n.retryLane=c,Ue(l,c),nt(a,l,c),ri;Tn(),t=qo(l,t,e)}else l=n.treeContext,Sl=At(c.nextSibling),Ll=t,al=!0,ne=null,Et=!1,l!==null&&Ts(t,l),t=rn(t,a),t.flags|=4096;return t}return l=Xt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function dn(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(o(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function di(l,t,e,a,u){return Be(t),e=Kc(l,t,e,a,void 0,u),a=wc(),l!==null&&!Rl?(kc(l,t,u),Kt(l,t,u)):(al&&a&&Oc(t),t.flags|=1,Jl(l,t,e,u),t.child)}function Yo(l,t,e,a,u,n){return Be(t),t.updateQueue=null,e=Xs(t,a,e,u),Gs(l),a=wc(),l!==null&&!Rl?(kc(l,t,n),Kt(l,t,n)):(al&&a&&Oc(t),t.flags|=1,Jl(l,t,e,n),t.child)}function Go(l,t,e,a,u){if(Be(t),t.stateNode===null){var n=ua,c=e.contextType;typeof c=="object"&&c!==null&&(n=Vl(c)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=si,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},Yc(t),c=e.contextType,n.context=typeof c=="object"&&c!==null?Vl(c):ua,n.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(fi(t,e,c,a),n.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(c=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),c!==n.state&&si.enqueueReplaceState(n,n.state,null),Ia(t,a,n,u),Fa(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var i=t.memoizedProps,f=Ze(e,i);n.props=f;var v=n.context,p=e.contextType;c=ua,typeof p=="object"&&p!==null&&(c=Vl(p));var A=e.getDerivedStateFromProps;p=typeof A=="function"||typeof n.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,p||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i||v!==c)&&Ao(t,n,a,c),fe=!1;var y=t.memoizedState;n.state=y,Ia(t,a,n,u),Fa(),v=t.memoizedState,i||y!==v||fe?(typeof A=="function"&&(fi(t,e,A,a),v=t.memoizedState),(f=fe||zo(t,e,f,a,y,v,c))?(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=v),n.props=a,n.state=v,n.context=c,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Gc(l,t),c=t.memoizedProps,p=Ze(e,c),n.props=p,A=t.pendingProps,y=n.context,v=e.contextType,f=ua,typeof v=="object"&&v!==null&&(f=Vl(v)),i=e.getDerivedStateFromProps,(v=typeof i=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c!==A||y!==f)&&Ao(t,n,a,f),fe=!1,y=t.memoizedState,n.state=y,Ia(t,a,n,u),Fa();var S=t.memoizedState;c!==A||y!==S||fe||l!==null&&l.dependencies!==null&&Ku(l.dependencies)?(typeof i=="function"&&(fi(t,e,i,a),S=t.memoizedState),(p=fe||zo(t,e,p,a,y,S,f)||l!==null&&l.dependencies!==null&&Ku(l.dependencies))?(v||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"||c===l.memoizedProps&&y===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&y===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"||c===l.memoizedProps&&y===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&y===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,dn(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=Xe(t,l.child,null,u),t.child=Xe(t,null,e,u)):Jl(l,t,e,u),t.memoizedState=n.state,l=t.child):l=Kt(l,t,u),l}function Xo(l,t,e,a){return Re(),t.flags|=256,Jl(l,t,e,a),t.child}var mi={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hi(l){return{baseLanes:l,cachePool:Ns()}}function vi(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=ht),l}function Qo(l,t,e){var a=t.pendingProps,u=!1,n=(t.flags&128)!==0,c;if((c=n)||(c=l!==null&&l.memoizedState===null?!1:(Dl.current&2)!==0),c&&(u=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(al){if(u?re(t):de(),(l=Sl)?(l=Wr(l,Et),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ue!==null?{id:Ct,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Ll=t,Sl=null)):l=null,l===null)throw ce(t);return Fi(l)?t.lanes=32:t.lanes=536870912,null}var i=a.children;return a=a.fallback,u?(de(),u=t.mode,i=mn({mode:"hidden",children:i},u),a=Ce(a,u,e,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=hi(e),a.childLanes=vi(l,c,e),t.memoizedState=mi,au(null,a)):(re(t),yi(t,i))}var f=l.memoizedState;if(f!==null&&(i=f.dehydrated,i!==null)){if(n)t.flags&256?(re(t),t.flags&=-257,t=gi(l,t,e)):t.memoizedState!==null?(de(),t.child=l.child,t.flags|=128,t=null):(de(),i=a.fallback,u=t.mode,a=mn({mode:"visible",children:a.children},u),i=Ce(i,u,e,null),i.flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,Xe(t,l.child,null,e),a=t.child,a.memoizedState=hi(e),a.childLanes=vi(l,c,e),t.memoizedState=mi,t=au(null,a));else if(re(t),Fi(i)){if(c=i.nextSibling&&i.nextSibling.dataset,c)var v=c.dgst;c=v,a=Error(o(419)),a.stack="",a.digest=c,Ja({value:a,source:null,stack:null}),t=gi(l,t,e)}else if(Rl||fa(l,t,e,!1),c=(e&l.childLanes)!==0,Rl||c){if(c=bl,c!==null&&(a=_f(c,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,Ue(l,a),nt(c,l,a),ri;$i(i)||Tn(),t=gi(l,t,e)}else $i(i)?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,Sl=At(i.nextSibling),Ll=t,al=!0,ne=null,Et=!1,l!==null&&Ts(t,l),t=yi(t,a.children),t.flags|=4096);return t}return u?(de(),i=a.fallback,u=t.mode,f=l.child,v=f.sibling,a=Xt(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,v!==null?i=Xt(v,i):(i=Ce(i,u,e,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,au(null,a),a=t.child,i=l.child.memoizedState,i===null?i=hi(e):(u=i.cachePool,u!==null?(f=Ul._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=Ns(),i={baseLanes:i.baseLanes|e,cachePool:u}),a.memoizedState=i,a.childLanes=vi(l,c,e),t.memoizedState=mi,au(l.child,a)):(re(t),e=l.child,l=e.sibling,e=Xt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}function yi(l,t){return t=mn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function mn(l,t){return l=ot(22,l,null,t),l.lanes=0,l}function gi(l,t,e){return Xe(t,l.child,null,e),l=yi(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Zo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Uc(l.return,t,e)}function bi(l,t,e,a,u,n){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=u,c.treeForkCount=n)}function Lo(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var c=Dl.current,i=(c&2)!==0;if(i?(c=c&1|2,t.flags|=128):c&=1,C(Dl,c),Jl(l,t,a,e),a=al?Va:0,!i&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Zo(l,e,t);else if(l.tag===19)Zo(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&&ln(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),bi(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&&ln(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}bi(t,!0,e,null,n,a);break;case"together":bi(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Kt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),ve|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(fa(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(o(153));if(t.child!==null){for(l=t.child,e=Xt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Xt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Si(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Ku(l)))}function ah(l,t,e){switch(t.tag){case 3:Wl(t,t.stateNode.containerInfo),ie(t,Ul,l.memoizedState.cache),Re();break;case 27:case 5:ja(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:ie(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Vc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(re(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Qo(l,t,e):(re(t),l=Kt(l,t,e),l!==null?l.sibling:null);re(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(fa(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return Lo(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),C(Dl,Dl.current),a)break;return null;case 22:return t.lanes=0,Ho(l,t,e,t.pendingProps);case 24:ie(t,Ul,l.memoizedState.cache)}return Kt(l,t,e)}function Vo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Rl=!0;else{if(!Si(l,e)&&(t.flags&128)===0)return Rl=!1,ah(l,t,e);Rl=(l.flags&131072)!==0}else Rl=!1,al&&(t.flags&1048576)!==0&&xs(t,Va,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Ye(t.elementType),t.type=l,typeof l=="function")zc(l)?(a=Ze(l,a),t.tag=1,t=Go(null,t,l,a,e)):(t.tag=0,t=di(null,t,l,a,e));else{if(l!=null){var u=l.$$typeof;if(u===Gl){t.tag=11,t=Uo(null,t,l,a,e);break l}else if(u===F){t.tag=14,t=Co(null,t,l,a,e);break l}}throw t=Nl(l)||l,Error(o(306,t,""))}}return t;case 0:return di(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=Ze(a,t.pendingProps),Go(l,t,a,u,e);case 3:l:{if(Wl(t,t.stateNode.containerInfo),l===null)throw Error(o(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,Gc(l,t),Ia(t,a,null,e);var c=t.memoizedState;if(a=c.cache,ie(t,Ul,a),a!==n.cache&&Cc(t,[Ul],e,!0),Fa(),a=c.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=Xo(l,t,a,e);break l}else if(a!==u){u=pt(Error(o(424)),t),Ja(u),t=Xo(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Sl=At(l.firstChild),Ll=t,al=!0,ne=null,Et=!0,e=Rs(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Re(),a===u){t=Kt(l,t,e);break l}Jl(l,t,a,e)}t=t.child}return t;case 26:return dn(l,t),l===null?(e=td(t.type,null,t.pendingProps,null))?t.memoizedState=e:al||(e=t.type,l=t.pendingProps,a=jn(I.current).createElement(e),a[Zl]=t,a[Pl]=l,Kl(a,e,l),ql(a),t.stateNode=a):t.memoizedState=td(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return ja(t),l===null&&al&&(a=t.stateNode=Ir(t.type,t.pendingProps,I.current),Ll=t,Et=!0,u=Sl,pe(t.type)?(Ii=u,Sl=At(a.firstChild)):Sl=u),Jl(l,t,t.pendingProps.children,e),dn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&al&&((u=a=Sl)&&(a=Ch(a,t.type,t.pendingProps,Et),a!==null?(t.stateNode=a,Ll=t,Sl=At(a.firstChild),Et=!1,u=!0):u=!1),u||ce(t)),ja(t),u=t.type,n=t.pendingProps,c=l!==null?l.memoizedProps:null,a=n.children,wi(u,n)?a=null:c!==null&&wi(u,c)&&(t.flags|=32),t.memoizedState!==null&&(u=Kc(l,t,km,null,null,e),bu._currentValue=u),dn(l,t),Jl(l,t,a,e),t.child;case 6:return l===null&&al&&((l=e=Sl)&&(e=Rh(e,t.pendingProps,Et),e!==null?(t.stateNode=e,Ll=t,Sl=null,l=!0):l=!1),l||ce(t)),null;case 13:return Qo(l,t,e);case 4:return Wl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Xe(t,null,a,e):Jl(l,t,a,e),t.child;case 11:return Uo(l,t,t.type,t.pendingProps,e);case 7:return Jl(l,t,t.pendingProps,e),t.child;case 8:return Jl(l,t,t.pendingProps.children,e),t.child;case 12:return Jl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ie(t,t.type,a.value),Jl(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,Be(t),u=Vl(u),a=a(u),t.flags|=1,Jl(l,t,a,e),t.child;case 14:return Co(l,t,t.type,t.pendingProps,e);case 15:return Ro(l,t,t.type,t.pendingProps,e);case 19:return Lo(l,t,e);case 31:return eh(l,t,e);case 22:return Ho(l,t,e,t.pendingProps);case 24:return Be(t),a=Vl(Ul),l===null?(u=Bc(),u===null&&(u=bl,n=Rc(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},Yc(t),ie(t,Ul,u)):((l.lanes&e)!==0&&(Gc(l,t),Ia(t,null,null,e),Fa()),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),ie(t,Ul,a)):(a=n.cache,ie(t,Ul,a),a!==u.cache&&Cc(t,[Ul],e,!0))),Jl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function wt(l){l.flags|=4}function pi(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(gr())l.flags|=8192;else throw Ge=$u,qc}else l.flags&=-16777217}function Jo(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!cd(t))if(gr())l.flags|=8192;else throw Ge=$u,qc}function hn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Ef():536870912,l.lanes|=t,pa|=t)}function uu(l,t){if(!al)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 pl(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 uh(l,t,e){var a=t.pendingProps;switch(Nc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pl(t),null;case 1:return pl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Lt(Ul),jl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ia(t)?wt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dc())),pl(t),null;case 26:var u=t.type,n=t.memoizedState;return l===null?(wt(t),n!==null?(pl(t),Jo(t,n)):(pl(t),pi(t,u,null,a,e))):n?n!==l.memoizedState?(wt(t),pl(t),Jo(t,n)):(pl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&wt(t),pl(t),pi(t,u,l,a,e)),null;case 27:if(zu(t),e=I.current,u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return pl(t),null}l=B.current,ia(t)?Es(t):(l=Ir(u,a,e),t.stateNode=l,wt(t))}return pl(t),null;case 5:if(zu(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return pl(t),null}if(n=B.current,ia(t))Es(t);else{var c=jn(I.current);switch(n){case 1:n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=c.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?c.createElement(u,{is:a.is}):c.createElement(u)}}n[Zl]=t,n[Pl]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=n;l:switch(Kl(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&&wt(t)}}return pl(t),pi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(l=I.current,ia(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Ll,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Zl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Qr(l.nodeValue,e)),l||ce(t,!0)}else l=jn(l).createTextNode(a),l[Zl]=t,t.stateNode=l}return pl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ia(t),e!==null){if(l===null){if(!a)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(557));l[Zl]=t}else Re(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pl(t),l=!1}else e=Dc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(dt(t),t):(dt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return pl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=ia(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Zl]=t}else Re(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pl(t),u=!1}else u=Dc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(dt(t),t):(dt(t),null)}return dt(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),hn(t,t.updateQueue),pl(t),null);case 4:return jl(),l===null&&Zi(t.stateNode.containerInfo),pl(t),null;case 10:return Lt(t.type),pl(t),null;case 19:if(_(Dl),a=t.memoizedState,a===null)return pl(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)uu(a,!1);else{if(Al!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=ln(l),n!==null){for(t.flags|=128,uu(a,!1),l=n.updateQueue,t.updateQueue=l,hn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)bs(e,l),e=e.sibling;return C(Dl,Dl.current&1|2),al&&Qt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&ct()>Sn&&(t.flags|=128,u=!0,uu(a,!1),t.lanes=4194304)}else{if(!u)if(l=ln(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,hn(t,l),uu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!al)return pl(t),null}else 2*ct()-a.renderingStartTime>Sn&&e!==536870912&&(t.flags|=128,u=!0,uu(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=ct(),l.sibling=null,e=Dl.current,C(Dl,u?e&1|2:e&1),al&&Qt(t,a.treeForkCount),l):(pl(t),null);case 22:case 23:return dt(t),Lc(),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&&(pl(t),t.subtreeFlags&6&&(t.flags|=8192)):pl(t),e=t.updateQueue,e!==null&&hn(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&&_(qe),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Lt(Ul),pl(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function nh(l,t){switch(Nc(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Lt(Ul),jl(),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(dt(t),t.alternate===null)throw Error(o(340));Re()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(dt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Re()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return _(Dl),null;case 4:return jl(),null;case 10:return Lt(t.type),null;case 22:case 23:return dt(t),Lc(),l!==null&&_(qe),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Lt(Ul),null;case 25:return null;default:return null}}function Ko(l,t){switch(Nc(t),t.tag){case 3:Lt(Ul),jl();break;case 26:case 27:case 5:zu(t);break;case 4:jl();break;case 31:t.memoizedState!==null&&dt(t);break;case 13:dt(t);break;case 19:_(Dl);break;case 10:Lt(t.type);break;case 22:case 23:dt(t),Lc(),l!==null&&_(qe);break;case 24:Lt(Ul)}}function nu(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,c=e.inst;a=n(),c.destroy=a}e=e.next}while(e!==u)}}catch(i){rl(t,t.return,i)}}function me(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 c=a.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=t;var f=e,v=i;try{v()}catch(p){rl(u,f,p)}}}a=a.next}while(a!==n)}}catch(p){rl(t,t.return,p)}}function wo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Bs(t,e)}catch(a){rl(l,l.return,a)}}}function ko(l,t,e){e.props=Ze(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){rl(l,t,a)}}function cu(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){rl(l,t,u)}}function Ht(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){rl(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){rl(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){rl(l,l.return,u)}}function xi(l,t,e){try{var a=l.stateNode;Oh(a,l.type,e,t),a[Pl]=t}catch(u){rl(l,l.return,u)}}function $o(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pe(l.type)||l.tag===4}function Ti(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||$o(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&&pe(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 Ei(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=Yt));else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Ei(l,t,e),l=l.sibling;l!==null;)Ei(l,t,e),l=l.sibling}function vn(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&&pe(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(vn(l,t,e),l=l.sibling;l!==null;)vn(l,t,e),l=l.sibling}function Fo(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Kl(t,a,e),t[Zl]=l,t[Pl]=e}catch(n){rl(l,l.return,n)}}var kt=!1,Hl=!1,zi=!1,Io=typeof WeakSet=="function"?WeakSet:Set,Yl=null;function ch(l,t){if(l=l.containerInfo,Ji=Bn,l=ss(l),gc(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 c=0,i=-1,f=-1,v=0,p=0,A=l,y=null;t:for(;;){for(var S;A!==e||u!==0&&A.nodeType!==3||(i=c+u),A!==n||a!==0&&A.nodeType!==3||(f=c+a),A.nodeType===3&&(c+=A.nodeValue.length),(S=A.firstChild)!==null;)y=A,A=S;for(;;){if(A===l)break t;if(y===e&&++v===u&&(i=c),y===n&&++p===a&&(f=c),(S=A.nextSibling)!==null)break;A=y,y=A.parentNode}A=S}e=i===-1||f===-1?null:{start:i,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(Ki={focusedElem:l,selectionRange:e},Bn=!1,Yl=t;Yl!==null;)if(t=Yl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Yl=l;else for(;Yl!==null;){switch(t=Yl,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 R=Ze(e.type,u);l=a.getSnapshotBeforeUpdate(R,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(L){rl(e,e.return,L)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)Wi(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Wi(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(o(163))}if(l=t.sibling,l!==null){l.return=t.return,Yl=l;break}Yl=t.return}}function Po(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:$t(l,e),a&4&&nu(5,e);break;case 1:if($t(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){rl(e,e.return,c)}else{var u=Ze(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){rl(e,e.return,c)}}a&64&&wo(e),a&512&&cu(e,e.return);break;case 3:if($t(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{Bs(l,t)}catch(c){rl(e,e.return,c)}}break;case 27:t===null&&a&4&&Fo(e);case 26:case 5:$t(l,e),t===null&&a&4&&Wo(e),a&512&&cu(e,e.return);break;case 12:$t(l,e);break;case 31:$t(l,e),a&4&&er(l,e);break;case 13:$t(l,e),a&4&&ar(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=vh.bind(null,e),Hh(l,e))));break;case 22:if(a=e.memoizedState!==null||kt,!a){t=t!==null&&t.memoizedState!==null||Hl,u=kt;var n=Hl;kt=a,(Hl=t)&&!n?Ft(l,e,(e.subtreeFlags&8772)!==0):$t(l,e),kt=u,Hl=n}break;case 30:break;default:$t(l,e)}}function lr(l){var t=l.alternate;t!==null&&(l.alternate=null,lr(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&lc(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 xl=null,tt=!1;function Wt(l,t,e){for(e=e.child;e!==null;)tr(l,t,e),e=e.sibling}function tr(l,t,e){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Da,e)}catch{}switch(e.tag){case 26:Hl||Ht(e,t),Wt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Hl||Ht(e,t);var a=xl,u=tt;pe(e.type)&&(xl=e.stateNode,tt=!1),Wt(l,t,e),vu(e.stateNode),xl=a,tt=u;break;case 5:Hl||Ht(e,t);case 6:if(a=xl,u=tt,xl=null,Wt(l,t,e),xl=a,tt=u,xl!==null)if(tt)try{(xl.nodeType===9?xl.body:xl.nodeName==="HTML"?xl.ownerDocument.body:xl).removeChild(e.stateNode)}catch(n){rl(e,t,n)}else try{xl.removeChild(e.stateNode)}catch(n){rl(e,t,n)}break;case 18:xl!==null&&(tt?(l=xl,wr(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Na(l)):wr(xl,e.stateNode));break;case 4:a=xl,u=tt,xl=e.stateNode.containerInfo,tt=!0,Wt(l,t,e),xl=a,tt=u;break;case 0:case 11:case 14:case 15:me(2,e,t),Hl||me(4,e,t),Wt(l,t,e);break;case 1:Hl||(Ht(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&ko(e,t,a)),Wt(l,t,e);break;case 21:Wt(l,t,e);break;case 22:Hl=(a=Hl)||e.memoizedState!==null,Wt(l,t,e),Hl=a;break;default:Wt(l,t,e)}}function er(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Na(l)}catch(e){rl(t,t.return,e)}}}function ar(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Na(l)}catch(e){rl(t,t.return,e)}}function ih(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Io),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Io),t;default:throw Error(o(435,l.tag))}}function yn(l,t){var e=ih(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var u=yh.bind(null,l,a);a.then(u,u)}})}function et(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=l,c=t,i=c;l:for(;i!==null;){switch(i.tag){case 27:if(pe(i.type)){xl=i.stateNode,tt=!1;break l}break;case 5:xl=i.stateNode,tt=!1;break l;case 3:case 4:xl=i.stateNode.containerInfo,tt=!0;break l}i=i.return}if(xl===null)throw Error(o(160));tr(n,c,u),xl=null,tt=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ur(t,l),t=t.sibling}var jt=null;function ur(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:et(t,l),at(l),a&4&&(me(3,l,l.return),nu(3,l),me(5,l,l.return));break;case 1:et(t,l),at(l),a&512&&(Hl||e===null||Ht(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=jt;if(et(t,l),at(l),a&512&&(Hl||e===null||Ht(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[Ca]||n[Zl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Kl(n,a,e),n[Zl]=l,ql(n),a=n;break l;case"link":var c=ud("link","href",u).get(a+(e.href||""));if(c){for(var i=0;i<c.length;i++)if(n=c[i],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)){c.splice(i,1);break t}}n=u.createElement(a),Kl(n,a,e),u.head.appendChild(n);break;case"meta":if(c=ud("meta","content",u).get(a+(e.content||""))){for(i=0;i<c.length;i++)if(n=c[i],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)){c.splice(i,1);break t}}n=u.createElement(a),Kl(n,a,e),u.head.appendChild(n);break;default:throw Error(o(468,a))}n[Zl]=l,ql(n),a=n}l.stateNode=a}else nd(u,l.type,l.stateNode);else l.stateNode=ad(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?nd(u,l.type,l.stateNode):ad(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&xi(l,l.memoizedProps,e.memoizedProps)}break;case 27:et(t,l),at(l),a&512&&(Hl||e===null||Ht(e,e.return)),e!==null&&a&4&&xi(l,l.memoizedProps,e.memoizedProps);break;case 5:if(et(t,l),at(l),a&512&&(Hl||e===null||Ht(e,e.return)),l.flags&32){u=l.stateNode;try{Fe(u,"")}catch(R){rl(l,l.return,R)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,xi(l,u,e!==null?e.memoizedProps:u)),a&1024&&(zi=!0);break;case 6:if(et(t,l),at(l),a&4){if(l.stateNode===null)throw Error(o(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(R){rl(l,l.return,R)}}break;case 3:if(Un=null,u=jt,jt=Dn(t.containerInfo),et(t,l),jt=u,at(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Na(t.containerInfo)}catch(R){rl(l,l.return,R)}zi&&(zi=!1,nr(l));break;case 4:a=jt,jt=Dn(l.stateNode.containerInfo),et(t,l),at(l),jt=a;break;case 12:et(t,l),at(l);break;case 31:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 13:et(t,l),at(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(bn=ct()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,v=kt,p=Hl;if(kt=v||u,Hl=p||f,et(t,l),Hl=p,kt=v,at(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||kt||Hl||Le(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){f=e=t;try{if(n=f.stateNode,u)c=n.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{i=f.stateNode;var A=f.memoizedProps.style,y=A!=null&&A.hasOwnProperty("display")?A.display:null;i.style.display=y==null||typeof y=="boolean"?"":(""+y).trim()}}catch(R){rl(f,f.return,R)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(R){rl(f,f.return,R)}}}else if(t.tag===18){if(e===null){f=t;try{var S=f.stateNode;u?kr(S,!0):kr(f.stateNode,!1)}catch(R){rl(f,f.return,R)}}}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,yn(l,e))));break;case 19:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 30:break;case 21:break;default:et(t,l),at(l)}}function at(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if($o(a)){e=a;break}a=a.return}if(e==null)throw Error(o(160));switch(e.tag){case 27:var u=e.stateNode,n=Ti(l);vn(l,n,u);break;case 5:var c=e.stateNode;e.flags&32&&(Fe(c,""),e.flags&=-33);var i=Ti(l);vn(l,i,c);break;case 3:case 4:var f=e.stateNode.containerInfo,v=Ti(l);Ei(l,v,f);break;default:throw Error(o(161))}}catch(p){rl(l,l.return,p)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function nr(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;nr(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function $t(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Po(l,t.alternate,t),t=t.sibling}function Le(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:me(4,t,t.return),Le(t);break;case 1:Ht(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&ko(t,t.return,e),Le(t);break;case 27:vu(t.stateNode);case 26:case 5:Ht(t,t.return),Le(t);break;case 22:t.memoizedState===null&&Le(t);break;case 30:Le(t);break;default:Le(t)}l=l.sibling}}function Ft(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=l,n=t,c=n.flags;switch(n.tag){case 0:case 11:case 15:Ft(u,n,e),nu(4,n);break;case 1:if(Ft(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(v){rl(a,a.return,v)}if(a=n,u=a.updateQueue,u!==null){var i=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Hs(f[u],i)}catch(v){rl(a,a.return,v)}}e&&c&64&&wo(n),cu(n,n.return);break;case 27:Fo(n);case 26:case 5:Ft(u,n,e),e&&a===null&&c&4&&Wo(n),cu(n,n.return);break;case 12:Ft(u,n,e);break;case 31:Ft(u,n,e),e&&c&4&&er(u,n);break;case 13:Ft(u,n,e),e&&c&4&&ar(u,n);break;case 22:n.memoizedState===null&&Ft(u,n,e),cu(n,n.return);break;case 30:break;default:Ft(u,n,e)}t=t.sibling}}function Ai(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&&Ka(e))}function _i(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Ka(l))}function Dt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)cr(l,t,e,a),t=t.sibling}function cr(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Dt(l,t,e,a),u&2048&&nu(9,t);break;case 1:Dt(l,t,e,a);break;case 3:Dt(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&&Ka(l)));break;case 12:if(u&2048){Dt(l,t,e,a),l=t.stateNode;try{var n=t.memoizedProps,c=n.id,i=n.onPostCommit;typeof i=="function"&&i(c,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){rl(t,t.return,f)}}else Dt(l,t,e,a);break;case 31:Dt(l,t,e,a);break;case 13:Dt(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,c=t.alternate,t.memoizedState!==null?n._visibility&2?Dt(l,t,e,a):iu(l,t):n._visibility&2?Dt(l,t,e,a):(n._visibility|=2,ga(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Ai(c,t);break;case 24:Dt(l,t,e,a),u&2048&&_i(t.alternate,t);break;default:Dt(l,t,e,a)}}function ga(l,t,e,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,c=t,i=e,f=a,v=c.flags;switch(c.tag){case 0:case 11:case 15:ga(n,c,i,f,u),nu(8,c);break;case 23:break;case 22:var p=c.stateNode;c.memoizedState!==null?p._visibility&2?ga(n,c,i,f,u):iu(n,c):(p._visibility|=2,ga(n,c,i,f,u)),u&&v&2048&&Ai(c.alternate,c);break;case 24:ga(n,c,i,f,u),u&&v&2048&&_i(c.alternate,c);break;default:ga(n,c,i,f,u)}t=t.sibling}}function iu(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:iu(e,a),u&2048&&Ai(a.alternate,a);break;case 24:iu(e,a),u&2048&&_i(a.alternate,a);break;default:iu(e,a)}t=t.sibling}}var fu=8192;function ba(l,t,e){if(l.subtreeFlags&fu)for(l=l.child;l!==null;)ir(l,t,e),l=l.sibling}function ir(l,t,e){switch(l.tag){case 26:ba(l,t,e),l.flags&fu&&l.memoizedState!==null&&wh(e,jt,l.memoizedState,l.memoizedProps);break;case 5:ba(l,t,e);break;case 3:case 4:var a=jt;jt=Dn(l.stateNode.containerInfo),ba(l,t,e),jt=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=fu,fu=16777216,ba(l,t,e),fu=a):ba(l,t,e));break;default:ba(l,t,e)}}function fr(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 su(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];Yl=a,or(a,l)}fr(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)sr(l),l=l.sibling}function sr(l){switch(l.tag){case 0:case 11:case 15:su(l),l.flags&2048&&me(9,l,l.return);break;case 3:su(l);break;case 12:su(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,gn(l)):su(l);break;default:su(l)}}function gn(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];Yl=a,or(a,l)}fr(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:me(8,t,t.return),gn(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,gn(t));break;default:gn(t)}l=l.sibling}}function or(l,t){for(;Yl!==null;){var e=Yl;switch(e.tag){case 0:case 11:case 15:me(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:Ka(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Yl=a;else l:for(e=l;Yl!==null;){a=Yl;var u=a.sibling,n=a.return;if(lr(a),a===e){Yl=null;break l}if(u!==null){u.return=n,Yl=u;break l}Yl=n}}}var fh={getCacheForType:function(l){var t=Vl(Ul),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Vl(Ul).controller.signal}},sh=typeof WeakMap=="function"?WeakMap:Map,il=0,bl=null,P=null,tl=0,ol=0,mt=null,he=!1,Sa=!1,Oi=!1,It=0,Al=0,ve=0,Ve=0,Ni=0,ht=0,pa=0,ou=null,ut=null,ji=!1,bn=0,rr=0,Sn=1/0,pn=null,ye=null,Bl=0,ge=null,xa=null,Pt=0,Di=0,Mi=null,dr=null,ru=0,Ui=null;function vt(){return(il&2)!==0&&tl!==0?tl&-tl:x.T!==null?Yi():Of()}function mr(){if(ht===0)if((tl&536870912)===0||al){var l=Ou;Ou<<=1,(Ou&3932160)===0&&(Ou=262144),ht=l}else ht=536870912;return l=rt.current,l!==null&&(l.flags|=32),ht}function nt(l,t,e){(l===bl&&(ol===2||ol===9)||l.cancelPendingCommit!==null)&&(Ta(l,0),be(l,tl,ht,!1)),Ua(l,e),((il&2)===0||l!==bl)&&(l===bl&&((il&2)===0&&(Ve|=e),Al===4&&be(l,tl,ht,!1)),Bt(l))}function hr(l,t,e){if((il&6)!==0)throw Error(o(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ma(l,t),u=a?dh(l,t):Ri(l,t,!0),n=a;do{if(u===0){Sa&&!a&&be(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!oh(e)){u=Ri(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var i=l;u=ou;var f=i.current.memoizedState.isDehydrated;if(f&&(Ta(i,c).flags|=256),c=Ri(i,c,!1),c!==2){if(Oi&&!f){i.errorRecoveryDisabledLanes|=n,Ve|=n,u=4;break l}n=ut,ut=u,n!==null&&(ut===null?ut=n:ut.push.apply(ut,n))}u=c}if(n=!1,u!==2)continue}}if(u===1){Ta(l,0),be(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:be(a,t,ht,!he);break l;case 2:ut=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=bn+300-ct(),10<u)){if(be(a,t,ht,!he),ju(a,0,!0)!==0)break l;Pt=t,a.timeoutHandle=Jr(vr.bind(null,a,e,ut,pn,ji,t,ht,Ve,pa,he,n,"Throttled",-0,0),u);break l}vr(a,e,ut,pn,ji,t,ht,Ve,pa,he,n,null,-0,0)}}break}while(!0);Bt(l)}function vr(l,t,e,a,u,n,c,i,f,v,p,A,y,S){if(l.timeoutHandle=-1,A=t.subtreeFlags,A&8192||(A&16785408)===16785408){A={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yt},ir(t,n,A);var R=(n&62914560)===n?bn-ct():(n&4194048)===n?rr-ct():0;if(R=kh(A,R),R!==null){Pt=n,l.cancelPendingCommit=R(Er.bind(null,l,t,n,e,a,u,c,i,f,p,A,null,y,S)),be(l,n,c,!v);return}}Er(l,t,n,e,a,u,c,i,f)}function oh(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(!st(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 be(l,t,e,a){t&=~Ni,t&=~Ve,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-ft(u),c=1<<n;a[n]=-1,u&=~c}e!==0&&zf(l,e,t)}function xn(){return(il&6)===0?(du(0),!1):!0}function Ci(){if(P!==null){if(ol===0)var l=P.return;else l=P,Zt=He=null,Wc(l),da=null,ka=0,l=P;for(;l!==null;)Ko(l.alternate,l),l=l.return;P=null}}function Ta(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Dh(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),Pt=0,Ci(),bl=l,P=e=Xt(l.current,null),tl=t,ol=0,mt=null,he=!1,Sa=Ma(l,t),Oi=!1,pa=ht=Ni=Ve=ve=Al=0,ut=ou=null,ji=!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-ft(a),n=1<<u;t|=l[u],a&=~n}return It=t,Qu(),e}function yr(l,t){k=null,x.H=eu,t===ra||t===Wu?(t=Ms(),ol=3):t===qc?(t=Ms(),ol=4):ol=t===ri?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,mt=t,P===null&&(Al=1,on(l,pt(t,l.current)))}function gr(){var l=rt.current;return l===null?!0:(tl&4194048)===tl?zt===null:(tl&62914560)===tl||(tl&536870912)!==0?l===zt:!1}function br(){var l=x.H;return x.H=eu,l===null?eu:l}function Sr(){var l=x.A;return x.A=fh,l}function Tn(){Al=4,he||(tl&4194048)!==tl&&rt.current!==null||(Sa=!0),(ve&134217727)===0&&(Ve&134217727)===0||bl===null||be(bl,tl,ht,!1)}function Ri(l,t,e){var a=il;il|=2;var u=br(),n=Sr();(bl!==l||tl!==t)&&(pn=null,Ta(l,t)),t=!1;var c=Al;l:do try{if(ol!==0&&P!==null){var i=P,f=mt;switch(ol){case 8:Ci(),c=6;break l;case 3:case 2:case 9:case 6:rt.current===null&&(t=!0);var v=ol;if(ol=0,mt=null,Ea(l,i,f,v),e&&Sa){c=0;break l}break;default:v=ol,ol=0,mt=null,Ea(l,i,f,v)}}rh(),c=Al;break}catch(p){yr(l,p)}while(!0);return t&&l.shellSuspendCounter++,Zt=He=null,il=a,x.H=u,x.A=n,P===null&&(bl=null,tl=0,Qu()),c}function rh(){for(;P!==null;)pr(P)}function dh(l,t){var e=il;il|=2;var a=br(),u=Sr();bl!==l||tl!==t?(pn=null,Sn=ct()+500,Ta(l,t)):Sa=Ma(l,t);l:do try{if(ol!==0&&P!==null){t=P;var n=mt;t:switch(ol){case 1:ol=0,mt=null,Ea(l,t,n,1);break;case 2:case 9:if(js(n)){ol=0,mt=null,xr(t);break}t=function(){ol!==2&&ol!==9||bl!==l||(ol=7),Bt(l)},n.then(t,t);break l;case 3:ol=7;break l;case 4:ol=5;break l;case 7:js(n)?(ol=0,mt=null,xr(t)):(ol=0,mt=null,Ea(l,t,n,7));break;case 5:var c=null;switch(P.tag){case 26:c=P.memoizedState;case 5:case 27:var i=P;if(c?cd(c):i.stateNode.complete){ol=0,mt=null;var f=i.sibling;if(f!==null)P=f;else{var v=i.return;v!==null?(P=v,En(v)):P=null}break t}}ol=0,mt=null,Ea(l,t,n,5);break;case 6:ol=0,mt=null,Ea(l,t,n,6);break;case 8:Ci(),Al=6;break l;default:throw Error(o(462))}}mh();break}catch(p){yr(l,p)}while(!0);return Zt=He=null,x.H=a,x.A=u,il=e,P!==null?0:(bl=null,tl=0,Qu(),Al)}function mh(){for(;P!==null&&!Bd();)pr(P)}function pr(l){var t=Vo(l.alternate,l,It);l.memoizedProps=l.pendingProps,t===null?En(l):P=t}function xr(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Yo(e,t,t.pendingProps,t.type,void 0,tl);break;case 11:t=Yo(e,t,t.pendingProps,t.type.render,t.ref,tl);break;case 5:Wc(t);default:Ko(e,t),t=P=bs(t,It),t=Vo(e,t,It)}l.memoizedProps=l.pendingProps,t===null?En(l):P=t}function Ea(l,t,e,a){Zt=He=null,Wc(t),da=null,ka=0;var u=t.return;try{if(th(l,u,t,e,tl)){Al=1,on(l,pt(e,l.current)),P=null;return}}catch(n){if(u!==null)throw P=u,n;Al=1,on(l,pt(e,l.current)),P=null;return}t.flags&32768?(al||a===1?l=!0:Sa||(tl&536870912)!==0?l=!1:(he=l=!0,(a===2||a===9||a===3||a===6)&&(a=rt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Tr(t,l)):En(t)}function En(l){var t=l;do{if((t.flags&32768)!==0){Tr(t,he);return}l=t.return;var e=uh(t.alternate,t,It);if(e!==null){P=e;return}if(t=t.sibling,t!==null){P=t;return}P=t=l}while(t!==null);Al===0&&(Al=5)}function Tr(l,t){do{var e=nh(l.alternate,l);if(e!==null){e.flags&=32767,P=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){P=l;return}P=l=e}while(l!==null);Al=6,P=null}function Er(l,t,e,a,u,n,c,i,f){l.cancelPendingCommit=null;do zn();while(Bl!==0);if((il&6)!==0)throw Error(o(327));if(t!==null){if(t===l.current)throw Error(o(177));if(n=t.lanes|t.childLanes,n|=Tc,Kd(l,e,n,c,i,f),l===bl&&(P=bl=null,tl=0),xa=t,ge=l,Pt=e,Di=n,Mi=u,dr=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,gh(Au,function(){return Nr(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,u=U.p,U.p=2,c=il,il|=4;try{ch(l,t,e)}finally{il=c,U.p=u,x.T=a}}Bl=1,zr(),Ar(),_r()}}function zr(){if(Bl===1){Bl=0;var l=ge,t=xa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=x.T,x.T=null;var a=U.p;U.p=2;var u=il;il|=4;try{ur(t,l);var n=Ki,c=ss(l.containerInfo),i=n.focusedElem,f=n.selectionRange;if(c!==i&&i&&i.ownerDocument&&fs(i.ownerDocument.documentElement,i)){if(f!==null&&gc(i)){var v=f.start,p=f.end;if(p===void 0&&(p=v),"selectionStart"in i)i.selectionStart=v,i.selectionEnd=Math.min(p,i.value.length);else{var A=i.ownerDocument||document,y=A&&A.defaultView||window;if(y.getSelection){var S=y.getSelection(),R=i.textContent.length,L=Math.min(f.start,R),vl=f.end===void 0?L:Math.min(f.end,R);!S.extend&&L>vl&&(c=vl,vl=L,L=c);var m=is(i,L),r=is(i,vl);if(m&&r&&(S.rangeCount!==1||S.anchorNode!==m.node||S.anchorOffset!==m.offset||S.focusNode!==r.node||S.focusOffset!==r.offset)){var h=A.createRange();h.setStart(m.node,m.offset),S.removeAllRanges(),L>vl?(S.addRange(h),S.extend(r.node,r.offset)):(h.setEnd(r.node,r.offset),S.addRange(h))}}}}for(A=[],S=i;S=S.parentNode;)S.nodeType===1&&A.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<A.length;i++){var E=A[i];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}Bn=!!Ji,Ki=Ji=null}finally{il=u,U.p=a,x.T=e}}l.current=t,Bl=2}}function Ar(){if(Bl===2){Bl=0;var l=ge,t=xa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=x.T,x.T=null;var a=U.p;U.p=2;var u=il;il|=4;try{Po(l,t.alternate,t)}finally{il=u,U.p=a,x.T=e}}Bl=3}}function _r(){if(Bl===4||Bl===3){Bl=0,qd();var l=ge,t=xa,e=Pt,a=dr;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Bl=5:(Bl=0,xa=ge=null,Or(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(ye=null),In(e),t=t.stateNode,it&&typeof it.onCommitFiberRoot=="function")try{it.onCommitFiberRoot(Da,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=x.T,u=U.p,U.p=2,x.T=null;try{for(var n=l.onRecoverableError,c=0;c<a.length;c++){var i=a[c];n(i.value,{componentStack:i.stack})}}finally{x.T=t,U.p=u}}(Pt&3)!==0&&zn(),Bt(l),u=l.pendingLanes,(e&261930)!==0&&(u&42)!==0?l===Ui?ru++:(ru=0,Ui=l):ru=0,du(0)}}function Or(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Ka(t)))}function zn(){return zr(),Ar(),_r(),Nr()}function Nr(){if(Bl!==5)return!1;var l=ge,t=Di;Di=0;var e=In(Pt),a=x.T,u=U.p;try{U.p=32>e?32:e,x.T=null,e=Mi,Mi=null;var n=ge,c=Pt;if(Bl=0,xa=ge=null,Pt=0,(il&6)!==0)throw Error(o(331));var i=il;if(il|=4,sr(n.current),cr(n,n.current,c,e),il=i,du(0,!1),it&&typeof it.onPostCommitFiberRoot=="function")try{it.onPostCommitFiberRoot(Da,n)}catch{}return!0}finally{U.p=u,x.T=a,Or(l,t)}}function jr(l,t,e){t=pt(e,t),t=oi(l.stateNode,t,2),l=oe(l,t,2),l!==null&&(Ua(l,2),Bt(l))}function rl(l,t,e){if(l.tag===3)jr(l,l,e);else for(;t!==null;){if(t.tag===3){jr(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ye===null||!ye.has(a))){l=pt(e,l),e=Do(2),a=oe(t,e,2),a!==null&&(Mo(e,a,t,l),Ua(a,2),Bt(a));break}}t=t.return}}function Hi(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new sh;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)||(Oi=!0,u.add(e),l=hh.bind(null,l,t,e),t.then(l,l))}function hh(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,bl===l&&(tl&e)===e&&(Al===4||Al===3&&(tl&62914560)===tl&&300>ct()-bn?(il&2)===0&&Ta(l,0):Ni|=e,pa===tl&&(pa=0)),Bt(l)}function Dr(l,t){t===0&&(t=Ef()),l=Ue(l,t),l!==null&&(Ua(l,t),Bt(l))}function vh(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Dr(l,e)}function yh(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(o(314))}a!==null&&a.delete(t),Dr(l,e)}function gh(l,t){return kn(l,t)}var An=null,za=null,Bi=!1,_n=!1,qi=!1,Se=0;function Bt(l){l!==za&&l.next===null&&(za===null?An=za=l:za=za.next=l),_n=!0,Bi||(Bi=!0,Sh())}function du(l,t){if(!qi&&_n){qi=!0;do for(var e=!1,a=An;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var c=a.suspendedLanes,i=a.pingedLanes;n=(1<<31-ft(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Rr(a,n))}else n=tl,n=ju(a,a===bl?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ma(a,n)||(e=!0,Rr(a,n));a=a.next}while(e);qi=!1}}function bh(){Mr()}function Mr(){_n=Bi=!1;var l=0;Se!==0&&jh()&&(l=Se);for(var t=ct(),e=null,a=An;a!==null;){var u=a.next,n=Ur(a,t);n===0?(a.next=null,e===null?An=u:e.next=u,u===null&&(za=e)):(e=a,(l!==0||(n&3)!==0)&&(_n=!0)),a=u}Bl!==0&&Bl!==5||du(l),Se!==0&&(Se=0)}function Ur(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var c=31-ft(n),i=1<<c,f=u[c];f===-1?((i&e)===0||(i&a)!==0)&&(u[c]=Jd(i,t)):f<=t&&(l.expiredLanes|=i),n&=~i}if(t=bl,e=tl,e=ju(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(ol===2||ol===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Wn(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ma(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Wn(a),In(e)){case 2:case 8:e=xf;break;case 32:e=Au;break;case 268435456:e=Tf;break;default:e=Au}return a=Cr.bind(null,l),e=kn(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Wn(a),l.callbackPriority=2,l.callbackNode=null,2}function Cr(l,t){if(Bl!==0&&Bl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(zn()&&l.callbackNode!==e)return null;var a=tl;return a=ju(l,l===bl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(hr(l,a,t),Ur(l,ct()),l.callbackNode!=null&&l.callbackNode===e?Cr.bind(null,l):null)}function Rr(l,t){if(zn())return null;hr(l,t,!0)}function Sh(){Mh(function(){(il&6)!==0?kn(pf,bh):Mr()})}function Yi(){if(Se===0){var l=sa;l===0&&(l=_u,_u<<=1,(_u&261888)===0&&(_u=256)),Se=l}return Se}function Hr(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Cu(""+l)}function Br(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 ph(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=Hr((u[Pl]||null).action),c=a.submitter;c&&(t=(t=c[Pl]||null)?Hr(t.formAction):c.getAttribute("formAction"),t!==null&&(n=t,c=null));var i=new qu("action","action",null,a,u);l.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Se!==0){var f=c?Br(u,c):new FormData(u);ui(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(i.preventDefault(),f=c?Br(u,c):new FormData(u),ui(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var Gi=0;Gi<xc.length;Gi++){var Xi=xc[Gi],xh=Xi.toLowerCase(),Th=Xi[0].toUpperCase()+Xi.slice(1);Nt(xh,"on"+Th)}Nt(ds,"onAnimationEnd"),Nt(ms,"onAnimationIteration"),Nt(hs,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(Ym,"onTransitionRun"),Nt(Gm,"onTransitionStart"),Nt(Xm,"onTransitionCancel"),Nt(vs,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),Ne("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ne("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ne("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ne("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mu="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(" "),Eh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mu));function qr(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 c=a.length-1;0<=c;c--){var i=a[c],f=i.instance,v=i.currentTarget;if(i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=v;try{n(u)}catch(p){Xu(p)}u.currentTarget=null,n=f}else for(c=0;c<a.length;c++){if(i=a[c],f=i.instance,v=i.currentTarget,i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=v;try{n(u)}catch(p){Xu(p)}u.currentTarget=null,n=f}}}}function ll(l,t){var e=t[Pn];e===void 0&&(e=t[Pn]=new Set);var a=l+"__bubble";e.has(a)||(Yr(t,l,2,!1),e.add(a))}function Qi(l,t,e){var a=0;t&&(a|=4),Yr(e,l,a,t)}var On="_reactListening"+Math.random().toString(36).slice(2);function Zi(l){if(!l[On]){l[On]=!0,Df.forEach(function(e){e!=="selectionchange"&&(Eh.has(e)||Qi(e,!1,l),Qi(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[On]||(t[On]=!0,Qi("selectionchange",!1,t))}}function Yr(l,t,e,a){switch(md(t)){case 2:var u=Fh;break;case 8:u=Ih;break;default:u=af}e=u.bind(null,t,e,l),u=void 0,!fc||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 Li(l,t,e,a,u){var n=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var i=a.stateNode.containerInfo;if(i===u)break;if(c===4)for(c=a.return;c!==null;){var f=c.tag;if((f===3||f===4)&&c.stateNode.containerInfo===u)return;c=c.return}for(;i!==null;){if(c=Ke(i),c===null)return;if(f=c.tag,f===5||f===6||f===26||f===27){a=n=c;continue l}i=i.parentNode}}a=a.return}Zf(function(){var v=n,p=cc(e),A=[];l:{var y=ys.get(l);if(y!==void 0){var S=qu,R=l;switch(l){case"keypress":if(Hu(e)===0)break l;case"keydown":case"keyup":S=ym;break;case"focusin":R="focus",S=dc;break;case"focusout":R="blur",S=dc;break;case"beforeblur":case"afterblur":S=dc;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=Jf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=um;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=Sm;break;case ds:case ms:case hs:S=im;break;case vs:S=xm;break;case"scroll":case"scrollend":S=em;break;case"wheel":S=Em;break;case"copy":case"cut":case"paste":S=sm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=wf;break;case"toggle":case"beforetoggle":S=Am}var L=(t&4)!==0,vl=!L&&(l==="scroll"||l==="scrollend"),m=L?y!==null?y+"Capture":null:y;L=[];for(var r=v,h;r!==null;){var E=r;if(h=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||h===null||m===null||(E=Ha(r,m),E!=null&&L.push(hu(r,E,h))),vl)break;r=r.return}0<L.length&&(y=new S(y,R,null,e,p),A.push({event:y,listeners:L}))}}if((t&7)===0){l:{if(y=l==="mouseover"||l==="pointerover",S=l==="mouseout"||l==="pointerout",y&&e!==nc&&(R=e.relatedTarget||e.fromElement)&&(Ke(R)||R[Je]))break l;if((S||y)&&(y=p.window===p?p:(y=p.ownerDocument)?y.defaultView||y.parentWindow:window,S?(R=e.relatedTarget||e.toElement,S=v,R=R?Ke(R):null,R!==null&&(vl=M(R),L=R.tag,R!==vl||L!==5&&L!==27&&L!==6)&&(R=null)):(S=null,R=v),S!==R)){if(L=Jf,E="onMouseLeave",m="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(L=wf,E="onPointerLeave",m="onPointerEnter",r="pointer"),vl=S==null?y:Ra(S),h=R==null?y:Ra(R),y=new L(E,r+"leave",S,e,p),y.target=vl,y.relatedTarget=h,E=null,Ke(p)===v&&(L=new L(m,r+"enter",R,e,p),L.target=h,L.relatedTarget=vl,E=L),vl=E,S&&R)t:{for(L=zh,m=S,r=R,h=0,E=m;E;E=L(E))h++;E=0;for(var X=r;X;X=L(X))E++;for(;0<h-E;)m=L(m),h--;for(;0<E-h;)r=L(r),E--;for(;h--;){if(m===r||r!==null&&m===r.alternate){L=m;break t}m=L(m),r=L(r)}L=null}else L=null;S!==null&&Gr(A,y,S,L,!1),R!==null&&vl!==null&&Gr(A,vl,R,L,!0)}}l:{if(y=v?Ra(v):window,S=y.nodeName&&y.nodeName.toLowerCase(),S==="select"||S==="input"&&y.type==="file")var nl=ts;else if(Pf(y))if(es)nl=Hm;else{nl=Cm;var q=Um}else S=y.nodeName,!S||S.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?v&&uc(v.elementType)&&(nl=ts):nl=Rm;if(nl&&(nl=nl(l,v))){ls(A,nl,e,p);break l}q&&q(l,y,v),l==="focusout"&&v&&y.type==="number"&&v.memoizedProps.value!=null&&ac(y,"number",y.value)}switch(q=v?Ra(v):window,l){case"focusin":(Pf(q)||q.contentEditable==="true")&&(ta=q,bc=v,La=null);break;case"focusout":La=bc=ta=null;break;case"mousedown":Sc=!0;break;case"contextmenu":case"mouseup":case"dragend":Sc=!1,os(A,e,p);break;case"selectionchange":if(qm)break;case"keydown":case"keyup":os(A,e,p)}var W;if(hc)l:{switch(l){case"compositionstart":var el="onCompositionStart";break l;case"compositionend":el="onCompositionEnd";break l;case"compositionupdate":el="onCompositionUpdate";break l}el=void 0}else la?Ff(l,e)&&(el="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(el="onCompositionStart");el&&(kf&&e.locale!=="ko"&&(la||el!=="onCompositionStart"?el==="onCompositionEnd"&&la&&(W=Lf()):(ae=p,sc="value"in ae?ae.value:ae.textContent,la=!0)),q=Nn(v,el),0<q.length&&(el=new Kf(el,l,null,e,p),A.push({event:el,listeners:q}),W?el.data=W:(W=If(e),W!==null&&(el.data=W)))),(W=Om?Nm(l,e):jm(l,e))&&(el=Nn(v,"onBeforeInput"),0<el.length&&(q=new Kf("onBeforeInput","beforeinput",null,e,p),A.push({event:q,listeners:el}),q.data=W)),ph(A,l,v,e,p)}qr(A,t)})}function hu(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Nn(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=Ha(l,e),u!=null&&a.unshift(hu(l,u,n)),u=Ha(l,t),u!=null&&a.push(hu(l,u,n))),l.tag===3)return a;l=l.return}return[]}function zh(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Gr(l,t,e,a,u){for(var n=t._reactName,c=[];e!==null&&e!==a;){var i=e,f=i.alternate,v=i.stateNode;if(i=i.tag,f!==null&&f===a)break;i!==5&&i!==26&&i!==27||v===null||(f=v,u?(v=Ha(e,n),v!=null&&c.unshift(hu(e,v,f))):u||(v=Ha(e,n),v!=null&&c.push(hu(e,v,f)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var Ah=/\r\n?/g,_h=/\u0000|\uFFFD/g;function Xr(l){return(typeof l=="string"?l:""+l).replace(Ah,`
50
+ `).replace(_h,"")}function Qr(l,t){return t=Xr(t),Xr(l)===t}function hl(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Fe(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Fe(l,""+a);break;case"className":Mu(l,"class",a);break;case"tabIndex":Mu(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Mu(l,e,a);break;case"style":Xf(l,a,n);break;case"data":if(t!=="object"){Mu(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=Cu(""+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"&&hl(l,t,"name",u.name,u,null),hl(l,t,"formEncType",u.formEncType,u,null),hl(l,t,"formMethod",u.formMethod,u,null),hl(l,t,"formTarget",u.formTarget,u,null)):(hl(l,t,"encType",u.encType,u,null),hl(l,t,"method",u.method,u,null),hl(l,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Cu(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Yt);break;case"onScroll":a!=null&&ll("scroll",l);break;case"onScrollEnd":a!=null&&ll("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(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=Cu(""+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":ll("beforetoggle",l),ll("toggle",l),Du(l,"popover",a);break;case"xlinkActuate":qt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":qt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":qt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":qt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":qt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":qt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":qt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":qt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":qt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Du(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=lm.get(e)||e,Du(l,e,a))}}function Vi(l,t,e,a,u,n){switch(e){case"style":Xf(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(60));l.innerHTML=e}}break;case"children":typeof a=="string"?Fe(l,a):(typeof a=="number"||typeof a=="bigint")&&Fe(l,""+a);break;case"onScroll":a!=null&&ll("scroll",l);break;case"onScrollEnd":a!=null&&ll("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Mf.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[Pl]||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,""):Du(l,e,a)}}}function Kl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ll("error",l),ll("load",l);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var c=e[n];if(c!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:hl(l,t,n,c,e,null)}}u&&hl(l,t,"srcSet",e.srcSet,e,null),a&&hl(l,t,"src",e.src,e,null);return;case"input":ll("invalid",l);var i=n=c=u=null,f=null,v=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":c=p;break;case"checked":f=p;break;case"defaultChecked":v=p;break;case"value":n=p;break;case"defaultValue":i=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(o(137,t));break;default:hl(l,t,a,p,e,null)}}Bf(l,n,i,f,v,c,u,!1);return;case"select":ll("invalid",l),a=c=n=null;for(u in e)if(e.hasOwnProperty(u)&&(i=e[u],i!=null))switch(u){case"value":n=i;break;case"defaultValue":c=i;break;case"multiple":a=i;default:hl(l,t,u,i,e,null)}t=n,e=c,l.multiple=!!a,t!=null?$e(l,!!a,t,!1):e!=null&&$e(l,!!a,e,!0);return;case"textarea":ll("invalid",l),n=u=a=null;for(c in e)if(e.hasOwnProperty(c)&&(i=e[c],i!=null))switch(c){case"value":a=i;break;case"defaultValue":u=i;break;case"children":n=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(o(91));break;default:hl(l,t,c,i,e,null)}Yf(l,a,u,n);return;case"option":for(f in e)if(e.hasOwnProperty(f)&&(a=e[f],a!=null))switch(f){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:hl(l,t,f,a,e,null)}return;case"dialog":ll("beforetoggle",l),ll("toggle",l),ll("cancel",l),ll("close",l);break;case"iframe":case"object":ll("load",l);break;case"video":case"audio":for(a=0;a<mu.length;a++)ll(mu[a],l);break;case"image":ll("error",l),ll("load",l);break;case"details":ll("toggle",l);break;case"embed":case"source":case"link":ll("error",l),ll("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(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:hl(l,t,v,a,e,null)}return;default:if(uc(t)){for(p in e)e.hasOwnProperty(p)&&(a=e[p],a!==void 0&&Vi(l,t,p,a,e,void 0));return}}for(i in e)e.hasOwnProperty(i)&&(a=e[i],a!=null&&hl(l,t,i,a,e,null))}function Oh(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,c=null,i=null,f=null,v=null,p=null;for(S in e){var A=e[S];if(e.hasOwnProperty(S)&&A!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":f=A;default:a.hasOwnProperty(S)||hl(l,t,S,null,a,A)}}for(var y in a){var S=a[y];if(A=e[y],a.hasOwnProperty(y)&&(S!=null||A!=null))switch(y){case"type":n=S;break;case"name":u=S;break;case"checked":v=S;break;case"defaultChecked":p=S;break;case"value":c=S;break;case"defaultValue":i=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(137,t));break;default:S!==A&&hl(l,t,y,S,a,A)}}ec(l,c,i,f,v,p,n,u);return;case"select":S=c=i=y=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)||hl(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":y=n;break;case"defaultValue":i=n;break;case"multiple":c=n;default:n!==f&&hl(l,t,u,n,a,f)}t=i,e=c,a=S,y!=null?$e(l,!!e,y,!1):!!a!=!!e&&(t!=null?$e(l,!!e,t,!0):$e(l,!!e,e?[]:"",!1));return;case"textarea":S=y=null;for(i in e)if(u=e[i],e.hasOwnProperty(i)&&u!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:hl(l,t,i,null,a,u)}for(c in a)if(u=a[c],n=e[c],a.hasOwnProperty(c)&&(u!=null||n!=null))switch(c){case"value":y=u;break;case"defaultValue":S=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==n&&hl(l,t,c,u,a,n)}qf(l,y,S);return;case"option":for(var R in e)if(y=e[R],e.hasOwnProperty(R)&&y!=null&&!a.hasOwnProperty(R))switch(R){case"selected":l.selected=!1;break;default:hl(l,t,R,null,a,y)}for(f in a)if(y=a[f],S=e[f],a.hasOwnProperty(f)&&y!==S&&(y!=null||S!=null))switch(f){case"selected":l.selected=y&&typeof y!="function"&&typeof y!="symbol";break;default:hl(l,t,f,y,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 L in e)y=e[L],e.hasOwnProperty(L)&&y!=null&&!a.hasOwnProperty(L)&&hl(l,t,L,null,a,y);for(v in a)if(y=a[v],S=e[v],a.hasOwnProperty(v)&&y!==S&&(y!=null||S!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(o(137,t));break;default:hl(l,t,v,y,a,S)}return;default:if(uc(t)){for(var vl in e)y=e[vl],e.hasOwnProperty(vl)&&y!==void 0&&!a.hasOwnProperty(vl)&&Vi(l,t,vl,void 0,a,y);for(p in a)y=a[p],S=e[p],!a.hasOwnProperty(p)||y===S||y===void 0&&S===void 0||Vi(l,t,p,y,a,S);return}}for(var m in e)y=e[m],e.hasOwnProperty(m)&&y!=null&&!a.hasOwnProperty(m)&&hl(l,t,m,null,a,y);for(A in a)y=a[A],S=e[A],!a.hasOwnProperty(A)||y===S||y==null&&S==null||hl(l,t,A,y,a,S)}function Zr(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Nh(){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,c=u.initiatorType,i=u.duration;if(n&&i&&Zr(c)){for(c=0,i=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],v=f.startTime;if(v>i)break;var p=f.transferSize,A=f.initiatorType;p&&Zr(A)&&(f=f.responseEnd,c+=p*(f<i?1:(i-v)/(f-v)))}if(--a,t+=8*(n+c)/(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 Ji=null,Ki=null;function jn(l){return l.nodeType===9?l:l.ownerDocument}function Lr(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 Vr(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 wi(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 ki=null;function jh(){var l=window.event;return l&&l.type==="popstate"?l===ki?!1:(ki=l,!0):(ki=null,!1)}var Jr=typeof setTimeout=="function"?setTimeout:void 0,Dh=typeof clearTimeout=="function"?clearTimeout:void 0,Kr=typeof Promise=="function"?Promise:void 0,Mh=typeof queueMicrotask=="function"?queueMicrotask:typeof Kr<"u"?function(l){return Kr.resolve(null).then(l).catch(Uh)}:Jr;function Uh(l){setTimeout(function(){throw l})}function pe(l){return l==="head"}function wr(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),Na(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")vu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,vu(e);for(var n=e.firstChild;n;){var c=n.nextSibling,i=n.nodeName;n[Ca]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=c}}else e==="body"&&vu(l.ownerDocument.body);e=u}while(e);Na(t)}function kr(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 Wi(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":Wi(e),lc(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Ch(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[Ca])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=At(l.nextSibling),l===null)break}return null}function Rh(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=At(l.nextSibling),l===null))return null;return l}function Wr(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=At(l.nextSibling),l===null))return null;return l}function $i(l){return l.data==="$?"||l.data==="$~"}function Fi(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Hh(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 At(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 Ii=null;function $r(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return At(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function Fr(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 Ir(l,t,e){switch(t=jn(e),l){case"html":if(l=t.documentElement,!l)throw Error(o(452));return l;case"head":if(l=t.head,!l)throw Error(o(453));return l;case"body":if(l=t.body,!l)throw Error(o(454));return l;default:throw Error(o(451))}}function vu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);lc(l)}var _t=new Map,Pr=new Set;function Dn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var le=U.d;U.d={f:Bh,r:qh,D:Yh,C:Gh,L:Xh,m:Qh,X:Lh,S:Zh,M:Vh};function Bh(){var l=le.f(),t=xn();return l||t}function qh(l){var t=we(l);t!==null&&t.tag===5&&t.type==="form"?yo(t):le.r(l)}var Aa=typeof document>"u"?null:document;function ld(l,t,e){var a=Aa;if(a&&typeof t=="string"&&t){var u=bt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),Pr.has(u)||(Pr.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Kl(t,"link",l),ql(t),a.head.appendChild(t)))}}function Yh(l){le.D(l),ld("dns-prefetch",l,null)}function Gh(l,t){le.C(l,t),ld("preconnect",l,t)}function Xh(l,t,e){le.L(l,t,e);var a=Aa;if(a&&l&&t){var u='link[rel="preload"][as="'+bt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+bt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+bt(e.imageSizes)+'"]')):u+='[href="'+bt(l)+'"]';var n=u;switch(t){case"style":n=_a(l);break;case"script":n=Oa(l)}_t.has(n)||(l=j({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),_t.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(yu(n))||t==="script"&&a.querySelector(gu(n))||(t=a.createElement("link"),Kl(t,"link",l),ql(t),a.head.appendChild(t)))}}function Qh(l,t){le.m(l,t);var e=Aa;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+bt(a)+'"][href="'+bt(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Oa(l)}if(!_t.has(n)&&(l=j({rel:"modulepreload",href:l},t),_t.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(gu(n)))return}a=e.createElement("link"),Kl(a,"link",l),ql(a),e.head.appendChild(a)}}}function Zh(l,t,e){le.S(l,t,e);var a=Aa;if(a&&l){var u=ke(a).hoistableStyles,n=_a(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(yu(n)))i.loading=5;else{l=j({rel:"stylesheet",href:l,"data-precedence":t},e),(e=_t.get(n))&&Pi(l,e);var f=c=a.createElement("link");ql(f),Kl(f,"link",l),f._p=new Promise(function(v,p){f.onload=v,f.onerror=p}),f.addEventListener("load",function(){i.loading|=1}),f.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Mn(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Lh(l,t){le.X(l,t);var e=Aa;if(e&&l){var a=ke(e).hoistableScripts,u=Oa(l),n=a.get(u);n||(n=e.querySelector(gu(u)),n||(l=j({src:l,async:!0},t),(t=_t.get(u))&&lf(l,t),n=e.createElement("script"),ql(n),Kl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Vh(l,t){le.M(l,t);var e=Aa;if(e&&l){var a=ke(e).hoistableScripts,u=Oa(l),n=a.get(u);n||(n=e.querySelector(gu(u)),n||(l=j({src:l,async:!0,type:"module"},t),(t=_t.get(u))&&lf(l,t),n=e.createElement("script"),ql(n),Kl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function td(l,t,e,a){var u=(u=I.current)?Dn(u):null;if(!u)throw Error(o(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=_a(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=_a(e.href);var n=ke(u).hoistableStyles,c=n.get(l);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,c),(n=u.querySelector(yu(l)))&&!n._p&&(c.instance=n,c.state.loading=5),_t.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},_t.set(l,e),n||Jh(u,l,e,c.state))),t&&a===null)throw Error(o(528,""));return c}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Oa(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(o(444,l))}}function _a(l){return'href="'+bt(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function ed(l){return j({},l,{"data-precedence":l.precedence,precedence:null})}function Jh(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}),Kl(t,"link",e),ql(t),l.head.appendChild(t))}function Oa(l){return'[src="'+bt(l)+'"]'}function gu(l){return"script[async]"+l}function ad(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+bt(e.href)+'"]');if(a)return t.instance=a,ql(a),a;var u=j({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),ql(a),Kl(a,"style",u),Mn(a,e.precedence,l),t.instance=a;case"stylesheet":u=_a(e.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,ql(n),n;a=ed(e),(u=_t.get(u))&&Pi(a,u),n=(l.ownerDocument||l).createElement("link"),ql(n);var c=n;return c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Kl(n,"link",a),t.state.loading|=4,Mn(n,e.precedence,l),t.instance=n;case"script":return n=Oa(e.src),(u=l.querySelector(gu(n)))?(t.instance=u,ql(u),u):(a=e,(u=_t.get(n))&&(a=j({},e),lf(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),ql(u),Kl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Mn(a,e.precedence,l));return t.instance}function Mn(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,c=0;c<a.length;c++){var i=a[c];if(i.dataset.precedence===t)n=i;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 Pi(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function lf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Un=null;function ud(l,t,e){if(Un===null){var a=new Map,u=Un=new Map;u.set(e,a)}else u=Un,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[Ca]||n[Zl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var c=n.getAttribute(t)||"";c=l+c;var i=a.get(c);i?i.push(n):a.set(c,[n])}}return a}function nd(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Kh(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;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!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 cd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function wh(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=_a(a.href),n=t.querySelector(yu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Cn.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,ql(n);return}n=t.ownerDocument||t,a=ed(a),(u=_t.get(u))&&Pi(a,u),n=n.createElement("link"),ql(n);var c=n;c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Kl(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=Cn.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var tf=0;function kh(l,t){return l.stylesheets&&l.count===0&&Hn(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Hn(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&tf===0&&(tf=62500*Nh());var u=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Hn(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>tf?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Cn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Rn=null;function Hn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Rn=new Map,t.forEach(Wh,l),Rn=null,Cn.call(l))}function Wh(l,t){if(!(t.state.loading&4)){var e=Rn.get(l);if(e)var a=e.get(null);else{e=new Map,Rn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var c=u[n];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}u=t.instance,c=u.getAttribute("data-precedence"),n=e.get(c)||a,n===a&&e.set(null,u),e.set(c,u),this.count++,a=Cn.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 bu={$$typeof:_l,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function $h(l,t,e,a,u,n,c,i,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=$n(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$n(0),this.hiddenUpdates=$n(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function id(l,t,e,a,u,n,c,i,f,v,p,A){return l=new $h(l,t,e,c,f,v,p,A,i),t=1,n===!0&&(t|=24),n=ot(3,null,null,t),l.current=n,n.stateNode=l,t=Rc(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},Yc(n),l}function fd(l){return l?(l=ua,l):ua}function sd(l,t,e,a,u,n){u=fd(u),a.context===null?a.context=u:a.pendingContext=u,a=se(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=oe(l,a,t),e!==null&&(nt(e,l,t),$a(e,l,t))}function od(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function ef(l,t){od(l,t),(l=l.alternate)&&od(l,t)}function rd(l){if(l.tag===13||l.tag===31){var t=Ue(l,67108864);t!==null&&nt(t,l,67108864),ef(l,67108864)}}function dd(l){if(l.tag===13||l.tag===31){var t=vt();t=Fn(t);var e=Ue(l,t);e!==null&&nt(e,l,t),ef(l,t)}}var Bn=!0;function Fh(l,t,e,a){var u=x.T;x.T=null;var n=U.p;try{U.p=2,af(l,t,e,a)}finally{U.p=n,x.T=u}}function Ih(l,t,e,a){var u=x.T;x.T=null;var n=U.p;try{U.p=8,af(l,t,e,a)}finally{U.p=n,x.T=u}}function af(l,t,e,a){if(Bn){var u=uf(a);if(u===null)Li(l,t,a,qn,e),hd(l,a);else if(lv(u,l,t,e,a))a.stopPropagation();else if(hd(l,a),t&4&&-1<Ph.indexOf(l)){for(;u!==null;){var n=we(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var c=Oe(n.pendingLanes);if(c!==0){var i=n;for(i.pendingLanes|=2,i.entangledLanes|=2;c;){var f=1<<31-ft(c);i.entanglements[1]|=f,c&=~f}Bt(n),(il&6)===0&&(Sn=ct()+500,du(0))}}break;case 31:case 13:i=Ue(n,2),i!==null&&nt(i,n,2),xn(),ef(n,2)}if(n=uf(a),n===null&&Li(l,t,a,qn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else Li(l,t,a,null,e)}}function uf(l){return l=cc(l),nf(l)}var qn=null;function nf(l){if(qn=null,l=Ke(l),l!==null){var t=M(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=G(t),l!==null)return l;l=null}else if(e===31){if(l=Y(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 qn=l,null}function md(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(Yd()){case pf:return 2;case xf:return 8;case Au:case Gd:return 32;case Tf:return 268435456;default:return 32}default:return 32}}var cf=!1,xe=null,Te=null,Ee=null,Su=new Map,pu=new Map,ze=[],Ph="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 hd(l,t){switch(l){case"focusin":case"focusout":xe=null;break;case"dragenter":case"dragleave":Te=null;break;case"mouseover":case"mouseout":Ee=null;break;case"pointerover":case"pointerout":Su.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pu.delete(t.pointerId)}}function xu(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=we(t),t!==null&&rd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function lv(l,t,e,a,u){switch(t){case"focusin":return xe=xu(xe,l,t,e,a,u),!0;case"dragenter":return Te=xu(Te,l,t,e,a,u),!0;case"mouseover":return Ee=xu(Ee,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return Su.set(n,xu(Su.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,pu.set(n,xu(pu.get(n)||null,l,t,e,a,u)),!0}return!1}function vd(l){var t=Ke(l.target);if(t!==null){var e=M(t);if(e!==null){if(t=e.tag,t===13){if(t=G(e),t!==null){l.blockedOn=t,Nf(l.priority,function(){dd(e)});return}}else if(t===31){if(t=Y(e),t!==null){l.blockedOn=t,Nf(l.priority,function(){dd(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 Yn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=uf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);nc=a,e.target.dispatchEvent(a),nc=null}else return t=we(e),t!==null&&rd(t),l.blockedOn=e,!1;t.shift()}return!0}function yd(l,t,e){Yn(l)&&e.delete(t)}function tv(){cf=!1,xe!==null&&Yn(xe)&&(xe=null),Te!==null&&Yn(Te)&&(Te=null),Ee!==null&&Yn(Ee)&&(Ee=null),Su.forEach(yd),pu.forEach(yd)}function Gn(l,t){l.blockedOn===t&&(l.blockedOn=null,cf||(cf=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,tv)))}var Xn=null;function gd(l){Xn!==l&&(Xn=l,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){Xn===l&&(Xn=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(nf(a||e)===null)continue;break}var n=we(e);n!==null&&(l.splice(t,3),t-=3,ui(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Na(l){function t(f){return Gn(f,l)}xe!==null&&Gn(xe,l),Te!==null&&Gn(Te,l),Ee!==null&&Gn(Ee,l),Su.forEach(t),pu.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);)vd(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],c=u[Pl]||null;if(typeof n=="function")c||gd(e);else if(c){var i=null;if(n&&n.hasAttribute("formAction")){if(u=n,c=n[Pl]||null)i=c.formAction;else if(nf(u)!==null)continue}else i=c.action;typeof i=="function"?e[a+1]=i:(e.splice(a,3),a-=3),gd(e)}}}function bd(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(c){return u=c})},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 ff(l){this._internalRoot=l}Qn.prototype.render=ff.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(o(409));var e=t.current,a=vt();sd(e,a,l,t,null,null)},Qn.prototype.unmount=ff.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;sd(l.current,2,null,l,null,null),xn(),t[Je]=null}};function Qn(l){this._internalRoot=l}Qn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Of();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&&vd(l)}};var Sd=T.version;if(Sd!=="19.2.4")throw Error(o(527,Sd,"19.2.4"));U.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(o(188)):(l=Object.keys(l).join(","),Error(o(268,l)));return l=b(t),l=l!==null?H(l):null,l=l===null?null:l.stateNode,l};var ev={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zn.isDisabled&&Zn.supportsFiber)try{Da=Zn.inject(ev),it=Zn}catch{}}return Eu.createRoot=function(l,t){if(!N(l))throw Error(o(299));var e=!1,a="",u=_o,n=Oo,c=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&&(c=t.onRecoverableError)),t=id(l,1,!1,null,null,e,a,null,u,n,c,bd),l[Je]=t.current,Zi(l),new ff(t)},Eu.hydrateRoot=function(l,t,e){if(!N(l))throw Error(o(299));var a=!1,u="",n=_o,c=Oo,i=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&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),t=id(l,1,!0,t,e??null,a,u,f,n,c,i,bd),t.context=fd(null),e=t.current,a=vt(),a=Fn(a),u=se(a),u.callback=null,oe(e,u,a),e=a,t.current.lanes=e,Ua(t,e),Bt(t),l[Je]=t.current,Zi(l),new Qn(t)},Eu.version="19.2.4",Eu}var jd;function yv(){if(jd)return rf.exports;jd=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(T){console.error(T)}}return s(),rf.exports=vv(),rf.exports}var gv=yv();const bv="modulepreload",Sv=function(s){return"/"+s},Dd={},Ut=function(T,z,o){let N=Promise.resolve();if(z&&z.length>0){let G=function(b){return Promise.all(b.map(H=>Promise.resolve(H).then(j=>({status:"fulfilled",value:j}),j=>({status:"rejected",reason:j}))))};document.getElementsByTagName("link");const Y=document.querySelector("meta[property=csp-nonce]"),D=(Y==null?void 0:Y.nonce)||(Y==null?void 0:Y.getAttribute("nonce"));N=G(z.map(b=>{if(b=Sv(b),b in Dd)return;Dd[b]=!0;const H=b.endsWith(".css"),j=H?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${j}`))return;const J=document.createElement("link");if(J.rel=H?"stylesheet":bv,H||(J.as="script"),J.crossOrigin="",J.href=b,D&&J.setAttribute("nonce",D),document.head.appendChild(J),H)return new Promise((yl,fl)=>{J.addEventListener("load",yl),J.addEventListener("error",()=>fl(new Error(`Unable to preload CSS for ${b}`)))})}))}function M(G){const Y=new Event("vite:preloadError",{cancelable:!0});if(Y.payload=G,window.dispatchEvent(Y),!Y.defaultPrevented)throw G}return N.then(G=>{for(const Y of G||[])Y.status==="rejected"&&M(Y.reason);return T().catch(M)})},Cd=O.createContext({theme:"dark",toggleTheme:()=>{}});function pv({children:s}){const[T,z]=O.useState(()=>{const N=localStorage.getItem("mcp-graph-theme");return N==="light"||N==="dark"?N:"dark"});O.useEffect(()=>{document.body.classList.toggle("dark",T==="dark"),localStorage.setItem("mcp-graph-theme",T)},[T]);const o=O.useCallback(()=>{z(N=>N==="dark"?"light":"dark")},[]);return g.jsx(Cd,{value:{theme:T,toggleTheme:o},children:s})}function xv(){return O.useContext(Cd)}const vf="/api/v1";class yf extends Error{constructor(z,o,N){super(z);Ln(this,"status");Ln(this,"details");this.name="ApiError",this.status=o,this.details=N}}async function Q(s,T={}){const z=`${vf}${s}`,o=await fetch(z,{headers:{"Content-Type":"application/json",...T.headers},...T});if(o.status===204)return null;const N=await o.json();if(!o.ok)throw new yf(N.error||`HTTP ${o.status}`,o.status,N.details);return N}const Mt={request:Q,getProject:()=>Q("/project"),initProject:s=>Q("/project/init",{method:"POST",body:JSON.stringify({name:s})}),getProjects:()=>Q("/project/list"),getActiveProject:()=>Q("/project/active"),activateProject:s=>Q(`/project/${s}/activate`,{method:"POST"}),getNodes:(s={})=>{const T=new URLSearchParams(s).toString();return Q(`/nodes${T?"?"+T:""}`)},getNode:s=>Q(`/nodes/${s}`),createNode:s=>Q("/nodes",{method:"POST",body:JSON.stringify(s)}),updateNode:(s,T)=>Q(`/nodes/${s}`,{method:"PATCH",body:JSON.stringify(T)}),deleteNode:s=>Q(`/nodes/${s}`,{method:"DELETE"}),getEdges:()=>Q("/edges"),createEdge:s=>Q("/edges",{method:"POST",body:JSON.stringify(s)}),deleteEdge:s=>Q(`/edges/${s}`,{method:"DELETE"}),getStats:()=>Q("/stats"),search:(s,T)=>{const z={q:s};return T&&(z.limit=String(T)),Q(`/search?${new URLSearchParams(z)}`)},getGraph:()=>Q("/graph"),importFile:async(s,T=!1)=>{const z=new FormData;z.append("file",s),T&&z.append("force","true");const o=await fetch(`${vf}/import`,{method:"POST",body:z}),N=await o.json();if(!o.ok)throw new yf(N.error||`HTTP ${o.status}`,o.status);return N},getIntegrationStatus:()=>Q("/integrations/status"),getBottlenecks:()=>Q("/insights/bottlenecks"),getRecommendations:()=>Q("/insights/recommendations"),getMetrics:()=>Q("/insights/metrics"),getSkills:()=>Q("/skills"),getSkillPreferences:()=>Q("/skills/preferences"),toggleSkill:(s,T)=>Q(`/skills/${encodeURIComponent(s)}/preference`,{method:"PATCH",body:JSON.stringify({enabled:T})}),createCustomSkill:s=>Q("/skills/custom",{method:"POST",body:JSON.stringify(s)}),updateCustomSkill:(s,T)=>Q(`/skills/custom/${s}`,{method:"PUT",body:JSON.stringify(T)}),deleteCustomSkill:s=>Q(`/skills/custom/${s}`,{method:"DELETE"}),getContextBudget:()=>Q("/context/budget"),getKnowledgeStats:()=>Q("/knowledge/stats/summary"),captureUrl:(s,T,z)=>Q("/capture",{method:"POST",body:JSON.stringify({url:s,selector:T,waitForSelector:z})}),getCodeGraphStatus:()=>Q("/code-graph/status"),getSymbolContext:s=>Q("/code-graph/context",{method:"POST",body:JSON.stringify({symbol:s})}),getSymbolImpact:s=>Q("/code-graph/impact",{method:"POST",body:JSON.stringify({symbol:s})}),searchCodeGraph:(s,T)=>Q("/code-graph/search",{method:"POST",body:JSON.stringify({query:s,limit:T})}),getFullCodeGraph:()=>Q("/code-graph/full"),triggerReindex:()=>Q("/code-graph/reindex",{method:"POST"}),getGitNexusStatus:()=>Q("/code-graph/status"),getMemories:()=>Q("/integrations/memories"),getSerenaMemories:()=>Q("/integrations/memories"),getFolder:()=>Q("/folder"),openFolder:s=>Q("/folder/open",{method:"POST",body:JSON.stringify({path:s})}),browseFolder:s=>Q(`/folder/browse?path=${encodeURIComponent(s)}`),getLogs:s=>{const T=new URLSearchParams;s!=null&&s.level&&T.set("level",s.level),(s==null?void 0:s.since)!==void 0&&T.set("since",String(s.since)),s!=null&&s.search&&T.set("search",s.search);const z=T.toString();return Q(`/logs${z?"?"+z:""}`)},clearLogs:()=>Q("/logs",{method:"DELETE"}),getJourneyMaps:()=>Q("/journey/maps"),getJourneyMap:s=>Q(`/journey/maps/${s}`),createJourneyMap:s=>Q("/journey/maps",{method:"POST",body:JSON.stringify(s)}),deleteJourneyMap:s=>Q(`/journey/maps/${s}`,{method:"DELETE"}),importJourneyMap:s=>Q("/journey/maps/import",{method:"POST",body:JSON.stringify(s)}),getJourneyScreenshots:()=>Q("/journey/screenshots"),siebelGetObjects:s=>{const T=new URLSearchParams;s!=null&&s.type&&T.set("type",s.type),s!=null&&s.limit&&T.set("limit",String(s.limit));const z=T.toString();return Q(`/siebel/objects${z?"?"+z:""}`)},siebelGetTemplates:()=>Q("/siebel/generate/templates"),siebelPrepareGeneration:s=>Q("/siebel/generate/prepare",{method:"POST",body:JSON.stringify(s)}),siebelFinalizeGeneration:s=>Q("/siebel/generate/finalize",{method:"POST",body:JSON.stringify(s)}),siebelUploadDocs:async s=>{const T=new FormData;T.append("file",s);const z=await fetch(`${vf}/siebel/upload-docs`,{method:"POST",body:T}),o=await z.json();if(!z.ok)throw new yf(o.error||`HTTP ${z.status}`,z.status);return o},siebelImportSif:(s,T,z)=>Q("/siebel/import",{method:"POST",body:JSON.stringify({content:s,fileName:T,mapToGraph:z})})},Rd=O.createContext({projects:[],activeProject:null,loading:!0,switchProject:async()=>{},refreshProjects:async()=>{}});function Tv({children:s,onProjectChange:T}){const[z,o]=O.useState([]),[N,M]=O.useState(null),[G,Y]=O.useState(!0),D=O.useCallback(async()=>{try{const[H,j]=await Promise.all([Mt.getProjects().catch(()=>({total:0,projects:[]})),Mt.getActiveProject().catch(()=>null)]);o(H.projects),M(j)}catch{}finally{Y(!1)}},[]),b=O.useCallback(async H=>{try{const j=await Mt.activateProject(H);j.project&&(M(j.project),T==null||T())}catch{}},[T]);return O.useEffect(()=>{D()},[D]),g.jsx(Rd.Provider,{value:{projects:z,activeProject:N,loading:G,switchProject:b,refreshProjects:D},children:s})}function Ev(){return O.useContext(Rd)}const zv=O.memo(function(){const{projects:T,activeProject:z,loading:o,switchProject:N}=Ev(),[M,G]=O.useState(!1),Y=O.useRef(null);O.useEffect(()=>{if(!M)return;function b(H){Y.current&&!Y.current.contains(H.target)&&G(!1)}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[M]);const D=O.useCallback(b=>{b.key==="Escape"&&G(!1)},[]);return o||T.length<=1?g.jsx("span",{className:"text-sm text-[var(--color-text-muted)] truncate max-w-[200px]",title:z==null?void 0:z.name,children:(z==null?void 0:z.name)??"No project"}):g.jsxs("div",{ref:Y,className:"relative",onKeyDown:D,children:[g.jsxs("button",{onClick:()=>G(b=>!b),className:"flex items-center gap-1 px-2 py-1 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)] transition-colors truncate max-w-[200px]","aria-haspopup":"listbox","aria-expanded":M,"aria-label":"Select project",children:[g.jsx("span",{className:"truncate",children:(z==null?void 0:z.name)??"Select project"}),g.jsx("svg",{className:"w-3 h-3 flex-shrink-0",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"})})]}),M&&g.jsx("ul",{role:"listbox","aria-label":"Projects",className:"absolute top-full left-0 mt-1 w-56 bg-[var(--color-bg-secondary)] border border-[var(--color-border)] rounded shadow-lg z-50 max-h-60 overflow-y-auto",children:T.map(b=>g.jsx("li",{role:"option","aria-selected":b.id===(z==null?void 0:z.id),children:g.jsx("button",{onClick:()=>{N(b.id),G(!1)},className:`w-full text-left px-3 py-2 text-sm hover:bg-[var(--color-bg-tertiary)] transition-colors ${b.id===(z==null?void 0:z.id)?"text-[var(--color-accent)] font-medium":"text-[var(--color-text)]"}`,children:b.name})},b.id))})]})}),Av=O.memo(function({stats:T,onImport:z,onCapture:o,onOpenFolder:N}){var b;const{theme:M,toggleTheme:G}=xv(),Y=((b=T==null?void 0:T.byStatus)==null?void 0:b.done)??0,D=(T==null?void 0:T.totalNodes)??0;return g.jsxs("header",{className:"flex flex-wrap items-center justify-between gap-2 px-4 py-2 border-b border-[var(--color-border)] bg-[var(--color-bg-secondary)]",children:[g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("h1",{className:"text-lg font-bold text-[var(--color-accent)]",children:"mcp-graph"}),g.jsx(zv,{}),D>0&&g.jsxs("span",{className:"text-sm text-[var(--color-text-muted)]",children:[Y,"/",D," done"]})]}),g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("button",{onClick:N,className:"px-3 py-1.5 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)] transition-colors","aria-label":"Open project folder",title:"Open a different project folder",children:"Open Folder"}),g.jsx("button",{onClick:z,className:"px-3 py-1.5 text-sm bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)] transition-colors","aria-label":"Import PRD file",children:"Import PRD"}),g.jsx("button",{onClick:o,className:"px-3 py-1.5 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)] transition-colors","aria-label":"Capture web content",children:"Capture"}),g.jsx("button",{onClick:G,className:"px-2 py-1.5 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)] transition-colors",title:`Switch to ${M==="dark"?"light":"dark"} mode`,"aria-label":`Switch to ${M==="dark"?"light":"dark"} mode`,children:M==="dark"?"☀":"☾"})]})]})});function _v(){return g.jsx("span",{className:`ml-1.5 inline-flex items-center gap-0.5 px-1.5 py-0.5
51
+ text-[10px] font-bold uppercase tracking-wider
52
+ bg-red-500/15 text-red-500 rounded-full border border-red-500/30`,children:"⚡ Beta"})}const Ov=[{id:"graph",label:"Graph"},{id:"prd-backlog",label:"PRD & Backlog"},{id:"journey",label:"Journey",beta:!0},{id:"gitnexus",label:"Code Graph"},{id:"siebel",label:"Siebel",beta:!0},{id:"memories",label:"Memories"},{id:"insights",label:"Insights"},{id:"skills",label:"Skills"},{id:"context",label:"Context"},{id:"benchmark",label:"Benchmark"},{id:"logs",label:"Logs"}],Nv=O.memo(function({activeTab:T,onTabChange:z}){return g.jsx("nav",{className:"flex overflow-x-auto border-b border-[var(--color-border)] bg-[var(--color-bg-secondary)]",role:"tablist","aria-label":"Dashboard sections",children:Ov.map(o=>g.jsxs("button",{role:"tab","aria-selected":T===o.id,"aria-controls":`panel-${o.id}`,id:`tab-${o.id}`,tabIndex:T===o.id?0:-1,onClick:()=>z(o.id),className:`px-4 py-2 text-sm font-medium transition-colors border-b-2 whitespace-nowrap ${T===o.id?"border-[var(--color-accent)] text-[var(--color-accent)]":"border-transparent text-[var(--color-text-muted)] hover:text-[var(--color-text)]"}`,children:[o.label,o.beta&&g.jsx(_v,{})]},o.id))})});function jv(){const[s,T]=O.useState(null),[z,o]=O.useState(!0),[N,M]=O.useState(null),G=O.useCallback(async()=>{try{o(!0),M(null);const Y=await Mt.getGraph();T(Y)}catch(Y){M(Y instanceof Error?Y.message:"Failed to load graph")}finally{o(!1)}},[]);return O.useEffect(()=>{G()},[G]),{graph:s,loading:z,error:N,refresh:G}}function Dv(){const[s,T]=O.useState(null),z=O.useCallback(async()=>{try{const o=await Mt.getStats();T(o)}catch{}},[]);return O.useEffect(()=>{z()},[z]),{stats:s,refresh:z}}function Mv(s){const T=O.useRef(s);T.current=s;const z=O.useCallback(()=>{const o=new EventSource("/api/v1/events"),N=G=>{try{const Y=JSON.parse(G.data);T.current(G.type,Y)}catch{}},M=["node:created","node:updated","node:deleted","edge:created","edge:deleted","import:completed"];for(const G of M)o.addEventListener(G,N);return o.onmessage=N,o.onerror=()=>{o.close(),setTimeout(z,5e3)},o},[]);O.useEffect(()=>{const o=z();return()=>o.close()},[z])}function Uv({open:s,onClose:T,onImported:z}){const[o,N]=O.useState(null),[M,G]=O.useState(!1),[Y,D]=O.useState(null),[b,H]=O.useState(!1),[j,J]=O.useState(!1),yl=O.useRef(null),fl=O.useCallback($=>{$.preventDefault(),J(!1),$.dataTransfer.files.length&&N($.dataTransfer.files[0])},[]),Tl=O.useCallback(async()=>{if(o){H(!0),D({type:"info",message:"Uploading and processing..."});try{const $=await Mt.importFile(o,M);D({type:"success",message:`Imported ${$.nodesCreated} nodes and ${$.edgesCreated} edges.`}),setTimeout(()=>{T(),z(),N(null),D(null)},1500)}catch($){D({type:"error",message:$ instanceof Error?$.message:"Import failed"})}finally{H(!1)}}},[o,M,T,z]);return s?g.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:$=>{$.target===$.currentTarget&&T()},children:g.jsxs("div",{className:"bg-[var(--color-bg)] rounded-lg shadow-xl w-full max-w-md p-6",children:[g.jsxs("div",{className:"flex items-center justify-between mb-4",children:[g.jsx("h2",{className:"text-lg font-semibold",children:"Import PRD"}),g.jsx("button",{onClick:T,className:"text-[var(--color-text-muted)] hover:text-[var(--color-text)] text-xl",children:"×"})]}),g.jsxs("div",{className:`border-2 border-dashed rounded-lg p-8 text-center cursor-pointer transition-colors mb-4 ${j?"border-[var(--color-accent)] bg-[var(--color-accent)]10":"border-[var(--color-border)]"}`,onClick:()=>{var $;return($=yl.current)==null?void 0:$.click()},onDragOver:$=>{$.preventDefault(),J(!0)},onDragLeave:()=>J(!1),onDrop:fl,children:[g.jsx("input",{ref:yl,type:"file",accept:".md,.txt,.pdf,.html,.htm",className:"hidden",onChange:$=>{var El;(El=$.target.files)!=null&&El.length&&N($.target.files[0])}}),g.jsx("p",{className:"text-sm text-[var(--color-text-muted)]",children:o?`Selected: ${o.name} (${Cv(o.size)})`:`Drag & drop a file here
53
+ or click to select`})]}),g.jsxs("label",{className:"flex items-center gap-2 mb-4 text-sm",children:[g.jsx("input",{type:"checkbox",checked:M,onChange:$=>G($.target.checked)}),"Force re-import (overwrite existing)"]}),Y&&g.jsx("div",{className:`text-sm p-2 rounded mb-4 ${Y.type==="success"?"bg-green-500/10 text-green-500":Y.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:Y.message}),g.jsxs("div",{className:"flex justify-end gap-2",children:[g.jsx("button",{onClick:T,className:"px-3 py-1.5 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)]",children:"Cancel"}),g.jsx("button",{onClick:Tl,disabled:!o||b,className:"px-3 py-1.5 text-sm bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)] disabled:opacity-50",children:b?"Importing...":"Import"})]})]})}):null}function Cv(s){return s<1024?s+" B":s<1048576?(s/1024).toFixed(1)+" KB":(s/1048576).toFixed(1)+" MB"}function Rv({open:s,onClose:T,onImported:z}){const[o,N]=O.useState(""),[M,G]=O.useState(""),[Y,D]=O.useState(""),[b,H]=O.useState(null),[j,J]=O.useState(null),[yl,fl]=O.useState(!1),Tl=O.useCallback(async()=>{if(!o.trim()){H({type:"error",message:"Please enter a URL"});return}fl(!0),H({type:"info",message:"Capturing page... This may take a few seconds."}),J(null);try{const ul=await Mt.captureUrl(o.trim(),M.trim()||void 0,Y.trim()||void 0);J(ul),H({type:"success",message:`Captured: ${ul.wordCount} words`})}catch(ul){H({type:"error",message:`Capture failed: ${ul instanceof Error?ul.message:"Unknown error"}`})}finally{fl(!1)}},[o,M,Y]),$=O.useCallback(async()=>{if(j){H({type:"info",message:"Importing captured content as PRD..."});try{const ul=new Blob([j.text],{type:"text/markdown"}),_l=(j.title||"captured-page").replace(/[^a-zA-Z0-9-_]/g,"-")+".md",Gl=new File([ul],_l,{type:"text/markdown"});await Mt.importFile(Gl),H({type:"success",message:"Import completed!"}),setTimeout(()=>{T(),z()},1e3)}catch(ul){H({type:"error",message:`Import failed: ${ul instanceof Error?ul.message:"Unknown error"}`})}}},[j,T,z]),El=O.useCallback(async()=>{j&&(await navigator.clipboard.writeText(j.text),H({type:"success",message:"Copied to clipboard!"}))},[j]);return s?g.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:ul=>{ul.target===ul.currentTarget&&T()},children:g.jsxs("div",{className:"bg-[var(--color-bg)] rounded-lg shadow-xl w-full max-w-lg p-6 max-h-[80vh] overflow-y-auto",children:[g.jsxs("div",{className:"flex items-center justify-between mb-4",children:[g.jsx("h2",{className:"text-lg font-semibold",children:"Capture Web Page"}),g.jsx("button",{onClick:T,className:"text-[var(--color-text-muted)] hover:text-[var(--color-text)] text-xl",children:"×"})]}),g.jsxs("div",{className:"space-y-3 mb-4",children:[g.jsxs("div",{children:[g.jsx("label",{className:"block text-xs font-medium mb-1",children:"URL"}),g.jsx("input",{type:"url",value:o,onChange:ul=>N(ul.target.value),placeholder:"https://example.com/prd",className:"w-full px-2 py-1.5 text-sm border border-[var(--color-border)] rounded bg-[var(--color-bg)]",onKeyDown:ul=>{ul.key==="Enter"&&Tl()}})]}),g.jsxs("div",{children:[g.jsx("label",{className:"block text-xs font-medium mb-1",children:"CSS Selector (optional)"}),g.jsx("input",{type:"text",value:M,onChange:ul=>G(ul.target.value),placeholder:"main, article, .content",className:"w-full px-2 py-1.5 text-sm border border-[var(--color-border)] rounded bg-[var(--color-bg)]"})]}),g.jsxs("div",{children:[g.jsx("label",{className:"block text-xs font-medium mb-1",children:"Wait for Selector (optional)"}),g.jsx("input",{type:"text",value:Y,onChange:ul=>D(ul.target.value),placeholder:".loaded, #content",className:"w-full px-2 py-1.5 text-sm border border-[var(--color-border)] rounded bg-[var(--color-bg)]"})]})]}),b&&g.jsx("div",{className:`text-sm p-2 rounded mb-4 ${b.type==="success"?"bg-green-500/10 text-green-500":b.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:b.message}),j&&g.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-[var(--color-bg-secondary)] border border-[var(--color-border)]",children:[g.jsx("h3",{className:"text-sm font-medium mb-2",children:"Extracted Content"}),g.jsxs("div",{className:"text-xs text-[var(--color-text-muted)] space-y-0.5 mb-2",children:[g.jsxs("p",{children:[g.jsx("strong",{children:"Title:"})," ",j.title||"—"]}),g.jsxs("p",{children:[g.jsx("strong",{children:"Words:"})," ",j.wordCount]}),g.jsxs("p",{children:[g.jsx("strong",{children:"Captured:"})," ",new Date(j.capturedAt).toLocaleString()]})]}),g.jsxs("pre",{className:"text-xs whitespace-pre-wrap max-h-40 overflow-y-auto p-2 bg-[var(--color-bg-tertiary)] rounded",children:[j.text.substring(0,5e3),j.text.length>5e3&&`
54
+
55
+ ... (truncated)`]}),g.jsxs("div",{className:"flex gap-2 mt-2",children:[g.jsx("button",{onClick:$,className:"px-3 py-1 text-xs bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)]",children:"Import as PRD"}),g.jsx("button",{onClick:El,className:"px-3 py-1 text-xs border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)]",children:"Copy Text"})]})]}),g.jsx("div",{className:"flex justify-end",children:g.jsx("button",{onClick:Tl,disabled:yl,className:"px-3 py-1.5 text-sm bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)] disabled:opacity-50",children:yl?"Capturing...":"Capture"})})]})}):null}function Hv({open:s,onClose:T,onFolderChanged:z}){const[o,N]=O.useState(""),[M,G]=O.useState(""),[Y,D]=O.useState([]),[b,H]=O.useState(null),[j,J]=O.useState(!1),[yl,fl]=O.useState(""),[Tl,$]=O.useState([]),[El,ul]=O.useState(""),[_l,Gl]=O.useState(!1),[Fl,Xl]=O.useState(""),[F,Ql]=O.useState(!1);O.useEffect(()=>{s&&(H(null),N(""),Ql(!1),$([]),Mt.getFolder().then(Z=>{G(Z.currentPath),D(Z.recentFolders)}).catch(()=>{}))},[s]);const wl=O.useCallback(async Z=>{Gl(!0),Xl("");try{const Ol=await Mt.browseFolder(Z);fl(Ol.path),ul(Ol.parent),$(Ol.entries),Ql(!0)}catch(Ol){Xl(Ol instanceof Error?Ol.message:"Failed to browse")}finally{Gl(!1)}},[]),Ot=O.useCallback(async Z=>{const Ol=Z??o.trim();if(Ol){J(!0),H({type:"info",message:"Opening folder..."});try{const Nl=await Mt.openFolder(Ol);if(!Nl.ok){H({type:"error",message:Nl.error??"Failed to open folder"});return}H({type:"success",message:`Opened: ${Nl.basePath}`}),G(Nl.basePath??Ol),Nl.recentFolders&&D(Nl.recentFolders),setTimeout(()=>{T(),z()},800)}catch(Nl){H({type:"error",message:Nl instanceof Error?Nl.message:"Failed to open folder"})}finally{J(!1)}}},[o,T,z]),yt=O.useCallback(()=>{const Z=M&&M.split("/").slice(0,-1).join("/")||"/";wl(Z)},[M,wl]);return s?g.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:Z=>{Z.target===Z.currentTarget&&T()},children:g.jsxs("div",{className:"bg-[var(--color-bg)] rounded-lg shadow-xl w-full max-w-lg p-6 max-h-[80vh] flex flex-col",children:[g.jsxs("div",{className:"flex items-center justify-between mb-4",children:[g.jsx("h2",{className:"text-lg font-semibold",children:"Open Folder"}),g.jsx("button",{onClick:T,className:"text-[var(--color-text-muted)] hover:text-[var(--color-text)] text-xl",children:"×"})]}),g.jsxs("div",{className:"text-xs text-[var(--color-text-muted)] mb-3",children:["Current: ",g.jsx("span",{className:"font-mono",children:M||"..."})]}),g.jsxs("div",{className:"mb-3",children:[g.jsx("label",{className:"block text-sm mb-1",children:"Project folder path"}),g.jsxs("div",{className:"flex gap-2",children:[g.jsx("input",{type:"text",value:o,onChange:Z=>N(Z.target.value),onKeyDown:Z=>{Z.key==="Enter"&&Ot()},placeholder:"/path/to/project",className:"flex-1 px-3 py-2 text-sm bg-[var(--color-bg-secondary)] border border-[var(--color-border)] rounded font-mono focus:outline-none focus:border-[var(--color-accent)]",autoFocus:!0}),g.jsx("button",{onClick:()=>void Ot(),disabled:!o.trim()||j,className:"px-4 py-2 text-sm bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)] disabled:opacity-50",children:j?"...":"Open"})]}),g.jsx("button",{onClick:yt,className:"mt-1 text-xs text-[var(--color-accent)] hover:underline",children:"Browse directories..."})]}),b&&g.jsx("div",{className:`text-sm p-2 rounded mb-3 ${b.type==="success"?"bg-green-500/10 text-green-500":b.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:b.message}),F&&g.jsxs("div",{className:"mb-3 border border-[var(--color-border)] rounded overflow-hidden",children:[g.jsx("div",{className:"flex items-center gap-1 px-3 py-2 bg-[var(--color-bg-secondary)] border-b border-[var(--color-border)] text-xs font-mono overflow-x-auto whitespace-nowrap",children:yl.split("/").filter(Boolean).map((Z,Ol,Nl)=>{const Il="/"+Nl.slice(0,Ol+1).join("/");return g.jsxs("span",{className:"flex items-center gap-1",children:[Ol>0&&g.jsx("span",{className:"text-[var(--color-text-muted)]",children:"/"}),g.jsx("button",{onClick:()=>void wl(Il),className:"hover:text-[var(--color-accent)] hover:underline",children:Z})]},Il)})}),_l&&g.jsx("div",{className:"px-3 py-4 text-sm text-[var(--color-text-muted)] text-center",children:"Loading..."}),Fl&&g.jsx("div",{className:"px-3 py-2 text-sm text-red-500",children:Fl}),!_l&&!Fl&&g.jsxs("ul",{className:"max-h-48 overflow-y-auto",children:[El&&El!==yl&&g.jsx("li",{children:g.jsxs("button",{onClick:()=>void wl(El),className:"w-full text-left px-3 py-1.5 text-sm hover:bg-[var(--color-bg-tertiary)] flex items-center gap-2",children:[g.jsx("span",{className:"text-[var(--color-text-muted)]",children:".."}),g.jsx("span",{className:"text-xs text-[var(--color-text-muted)]",children:"(parent)"})]})}),Tl.length===0&&g.jsx("li",{className:"px-3 py-2 text-sm text-[var(--color-text-muted)]",children:"No subdirectories"}),Tl.map(Z=>g.jsxs("li",{className:"flex items-center",children:[g.jsxs("button",{onClick:()=>void wl(Z.path),className:"flex-1 text-left px-3 py-1.5 text-sm hover:bg-[var(--color-bg-tertiary)] flex items-center gap-2 min-w-0",children:[g.jsx("span",{className:"shrink-0",children:Z.hasGraph?"📂":"📁"}),g.jsx("span",{className:`truncate ${Z.hasGraph?"font-medium text-[var(--color-accent)]":""}`,children:Z.name}),Z.hasGraph&&g.jsx("span",{className:"shrink-0 text-xs bg-[var(--color-accent)]/20 text-[var(--color-accent)] px-1.5 py-0.5 rounded",children:"graph"})]}),Z.hasGraph&&g.jsx("button",{onClick:()=>void Ot(Z.path),disabled:j||Z.path===M,className:"shrink-0 mr-2 px-2 py-1 text-xs bg-[var(--color-accent)] text-white rounded hover:bg-[var(--color-accent-light)] disabled:opacity-50",children:Z.path===M?"current":"Open"})]},Z.path))]})]}),g.jsx("div",{className:"flex-1 min-h-0 overflow-hidden flex flex-col",children:Y.length>0&&g.jsxs("div",{className:"flex-1 min-h-0 flex flex-col",children:[g.jsx("h3",{className:"text-sm font-medium mb-2 text-[var(--color-text-muted)] shrink-0",children:"Recent folders"}),g.jsx("ul",{className:"space-y-1 overflow-y-auto min-h-0",children:Y.map(Z=>g.jsx("li",{children:g.jsxs("button",{onClick:()=>void Ot(Z),disabled:j||Z===M,className:`w-full text-left px-3 py-1.5 text-sm font-mono rounded transition-colors ${Z===M?"bg-[var(--color-accent)]/10 text-[var(--color-accent)] cursor-default":"hover:bg-[var(--color-bg-tertiary)] text-[var(--color-text)]"}`,title:Z,children:[g.jsx("span",{className:"truncate block",children:Z}),Z===M&&g.jsx("span",{className:"text-xs text-[var(--color-accent)]",children:" (current)"})]})},Z))})]})}),g.jsx("div",{className:"flex justify-end mt-4 shrink-0",children:g.jsx("button",{onClick:T,className:"px-3 py-1.5 text-sm border border-[var(--color-border)] rounded hover:bg-[var(--color-bg-tertiary)]",children:"Cancel"})})]})}):null}const Bv=O.lazy(()=>Ut(()=>import("./graph-tab-DG9Q6nko.js"),__vite__mapDeps([0,1,2,3,4,5])).then(s=>({default:s.GraphTab}))),qv=O.lazy(()=>Ut(()=>import("./prd-backlog-tab-CIeCpE1a.js"),__vite__mapDeps([6,1,2,3,5,4])).then(s=>({default:s.PrdBacklogTab}))),Yv=O.lazy(()=>Ut(()=>import("./journey-tab-BcweuR82.js"),__vite__mapDeps([7,1,2,3])).then(s=>({default:s.JourneyTab}))),Gv=O.lazy(()=>Ut(()=>import("./gitnexus-tab-DDw7DUED.js"),__vite__mapDeps([8,5,9])).then(s=>({default:s.GitNexusTab}))),Xv=O.lazy(()=>Ut(()=>import("./memories-tab-CQ2xM2aw.js"),[]).then(s=>({default:s.MemoriesTab}))),Qv=O.lazy(()=>Ut(()=>import("./insights-tab-YN7G6mjm.js"),__vite__mapDeps([10,2,5])).then(s=>({default:s.InsightsTab}))),Zv=O.lazy(()=>Ut(()=>import("./skills-tab-Bgk72mKO.js"),__vite__mapDeps([11,5])).then(s=>({default:s.SkillsTab}))),Lv=O.lazy(()=>Ut(()=>import("./context-tab-BLT4qQ77.js"),[]).then(s=>({default:s.ContextTab}))),Vv=O.lazy(()=>Ut(()=>import("./benchmark-tab-BoMsoQjO.js"),[]).then(s=>({default:s.BenchmarkTab}))),Jv=O.lazy(()=>Ut(()=>import("./logs-tab-BjdAURdy.js"),[]).then(s=>({default:s.LogsTab}))),Kv=O.lazy(()=>Ut(()=>import("./siebel-tab-bj5CT4-Z.js"),[]).then(s=>({default:s.SiebelTab})));class wv extends Ud.Component{constructor(){super(...arguments);Ln(this,"state",{hasError:!1,error:null})}static getDerivedStateFromError(z){return{hasError:!0,error:z}}render(){var z;return this.state.hasError?g.jsxs("div",{className:"flex flex-col items-center justify-center h-full gap-4 text-[var(--color-text-muted)]",children:[g.jsx("p",{className:"text-sm",children:"Something went wrong."}),g.jsx("p",{className:"text-xs text-[var(--color-danger)]",children:(z=this.state.error)==null?void 0:z.message}),g.jsx("button",{onClick:()=>window.location.reload(),className:"text-xs px-3 py-1.5 rounded-lg bg-[var(--color-accent)] text-white hover:opacity-90 transition-opacity",children:"Reload"})]}):this.props.children}}function Md(){return g.jsx("div",{className:"flex items-center justify-center h-full text-[var(--color-text-muted)]",children:"Loading..."})}function kv(){const[s,T]=O.useState("graph"),[z,o]=O.useState(!1),[N,M]=O.useState(!1),[G,Y]=O.useState(!1),{graph:D,loading:b,error:H,refresh:j}=jv(),{stats:J,refresh:yl}=Dv(),fl=O.useCallback(async()=>{await Promise.all([j(),yl()])},[j,yl]);return Mv(O.useCallback(()=>{fl()},[fl])),g.jsx(Tv,{onProjectChange:fl,children:g.jsxs("div",{className:"h-screen flex flex-col",children:[g.jsx(Av,{stats:J,onImport:()=>o(!0),onCapture:()=>M(!0),onOpenFolder:()=>Y(!0)}),g.jsx(Nv,{activeTab:s,onTabChange:T}),g.jsx("main",{className:"flex-1 min-h-0 overflow-hidden",children:b?g.jsx(Md,{}):H?g.jsx("div",{className:"flex items-center justify-center h-full text-[var(--color-danger)]",children:H}):g.jsx(wv,{children:g.jsxs(O.Suspense,{fallback:g.jsx(Md,{}),children:[g.jsx("div",{style:{display:s==="graph"?"contents":"none"},children:D&&g.jsx(Bv,{graph:D})}),g.jsx("div",{style:{display:s==="prd-backlog"?"contents":"none"},children:D&&g.jsx(qv,{graph:D})}),s==="journey"&&g.jsx(Yv,{}),s==="gitnexus"&&g.jsx(Gv,{}),s==="memories"&&g.jsx(Xv,{}),s==="insights"&&g.jsx(Qv,{}),s==="skills"&&g.jsx(Zv,{}),s==="context"&&g.jsx(Lv,{}),s==="benchmark"&&g.jsx(Vv,{}),s==="logs"&&g.jsx(Jv,{}),s==="siebel"&&g.jsx(Kv,{})]})})}),g.jsx(Uv,{open:z,onClose:()=>o(!1),onImported:fl}),g.jsx(Rv,{open:N,onClose:()=>M(!1),onImported:fl}),g.jsx(Hv,{open:G,onClose:()=>Y(!1),onFolderChanged:fl})]})})}function Wv(){return g.jsx(pv,{children:g.jsx(kv,{})})}gv.createRoot(document.getElementById("root")).render(g.jsx(O.StrictMode,{children:g.jsx(Wv,{})}));export{Hv as O,Fv as R,Mt as a,gf as b,hv as c,iv as g,g as j,O as r,Ud as t};