@repo-os/repoos 0.5.45

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 (362) hide show
  1. package/LICENSE.md +110 -0
  2. package/README.md +272 -0
  3. package/dist/.build-info.json +4 -0
  4. package/dist/.build-stamp.json +3 -0
  5. package/dist/cli/colors.d.ts +13 -0
  6. package/dist/cli/colors.js +37 -0
  7. package/dist/cli/index.d.ts +2 -0
  8. package/dist/cli/index.js +221 -0
  9. package/dist/commands/check.d.ts +170 -0
  10. package/dist/commands/check.js +1227 -0
  11. package/dist/commands/docs.d.ts +2 -0
  12. package/dist/commands/docs.js +70 -0
  13. package/dist/commands/gc.d.ts +1 -0
  14. package/dist/commands/gc.js +57 -0
  15. package/dist/commands/init.d.ts +9 -0
  16. package/dist/commands/init.js +699 -0
  17. package/dist/commands/screenshots.d.ts +7 -0
  18. package/dist/commands/screenshots.js +77 -0
  19. package/dist/commands/serve.d.ts +55 -0
  20. package/dist/commands/serve.js +204 -0
  21. package/dist/commands/status.d.ts +140 -0
  22. package/dist/commands/status.js +569 -0
  23. package/dist/commands/stop.d.ts +1 -0
  24. package/dist/commands/stop.js +59 -0
  25. package/dist/commands/tasks.d.ts +47 -0
  26. package/dist/commands/tasks.js +334 -0
  27. package/dist/commands/tunnel.d.ts +1 -0
  28. package/dist/commands/tunnel.js +1271 -0
  29. package/dist/commands/ui-harness.d.ts +53 -0
  30. package/dist/commands/ui-harness.js +62 -0
  31. package/dist/commands/ui-smoke.d.ts +6 -0
  32. package/dist/commands/ui-smoke.js +220 -0
  33. package/dist/commands/upgrade.d.ts +15 -0
  34. package/dist/commands/upgrade.js +188 -0
  35. package/dist/core/auth-store.d.ts +81 -0
  36. package/dist/core/auth-store.js +530 -0
  37. package/dist/core/auth.d.ts +75 -0
  38. package/dist/core/auth.js +124 -0
  39. package/dist/core/bootstrap.d.ts +41 -0
  40. package/dist/core/bootstrap.js +236 -0
  41. package/dist/core/build.d.ts +92 -0
  42. package/dist/core/build.js +249 -0
  43. package/dist/core/canary.d.ts +10 -0
  44. package/dist/core/canary.js +14 -0
  45. package/dist/core/check-failure-summary.d.ts +10 -0
  46. package/dist/core/check-failure-summary.js +34 -0
  47. package/dist/core/config.d.ts +160 -0
  48. package/dist/core/config.js +1288 -0
  49. package/dist/core/context-pack.d.ts +74 -0
  50. package/dist/core/context-pack.js +778 -0
  51. package/dist/core/db.d.ts +236 -0
  52. package/dist/core/db.js +747 -0
  53. package/dist/core/detect.d.ts +69 -0
  54. package/dist/core/detect.js +251 -0
  55. package/dist/core/docs.d.ts +76 -0
  56. package/dist/core/docs.js +225 -0
  57. package/dist/core/frontmatter.d.ts +29 -0
  58. package/dist/core/frontmatter.js +215 -0
  59. package/dist/core/git.d.ts +505 -0
  60. package/dist/core/git.js +1453 -0
  61. package/dist/core/indexer.d.ts +33 -0
  62. package/dist/core/indexer.js +282 -0
  63. package/dist/core/input.d.ts +66 -0
  64. package/dist/core/input.js +222 -0
  65. package/dist/core/logger.d.ts +70 -0
  66. package/dist/core/logger.js +138 -0
  67. package/dist/core/models.d.ts +45 -0
  68. package/dist/core/models.js +291 -0
  69. package/dist/core/net-probe.d.ts +4 -0
  70. package/dist/core/net-probe.js +20 -0
  71. package/dist/core/providers/deepinfra.d.ts +23 -0
  72. package/dist/core/providers/deepinfra.js +44 -0
  73. package/dist/core/providers/index.d.ts +24 -0
  74. package/dist/core/providers/index.js +59 -0
  75. package/dist/core/providers/openrouter.d.ts +28 -0
  76. package/dist/core/providers/openrouter.js +82 -0
  77. package/dist/core/providers/spend.d.ts +86 -0
  78. package/dist/core/providers/spend.js +286 -0
  79. package/dist/core/providers/types.d.ts +56 -0
  80. package/dist/core/providers/types.js +39 -0
  81. package/dist/core/repoos.d.ts +59 -0
  82. package/dist/core/repoos.js +221 -0
  83. package/dist/core/runtime.d.ts +35 -0
  84. package/dist/core/runtime.js +167 -0
  85. package/dist/core/skills-registry.d.ts +39 -0
  86. package/dist/core/skills-registry.js +148 -0
  87. package/dist/core/skills-registry.test.d.ts +1 -0
  88. package/dist/core/skills-registry.test.js +52 -0
  89. package/dist/core/sysmem.d.ts +7 -0
  90. package/dist/core/sysmem.js +55 -0
  91. package/dist/core/tailscale.d.ts +2 -0
  92. package/dist/core/tailscale.js +19 -0
  93. package/dist/core/task.d.ts +53 -0
  94. package/dist/core/task.js +310 -0
  95. package/dist/core/toml-line.d.ts +20 -0
  96. package/dist/core/toml-line.js +52 -0
  97. package/dist/core/toml-validate.d.ts +44 -0
  98. package/dist/core/toml-validate.js +335 -0
  99. package/dist/core/tunnel-assistant.d.ts +30 -0
  100. package/dist/core/tunnel-assistant.js +65 -0
  101. package/dist/core/tunnel-registry.d.ts +96 -0
  102. package/dist/core/tunnel-registry.js +267 -0
  103. package/dist/core/tunnel-registry.test.d.ts +1 -0
  104. package/dist/core/tunnel-registry.test.js +309 -0
  105. package/dist/core/tunnel.d.ts +103 -0
  106. package/dist/core/tunnel.js +320 -0
  107. package/dist/core/types.d.ts +811 -0
  108. package/dist/core/types.js +27 -0
  109. package/dist/core/worktree-gc.d.ts +57 -0
  110. package/dist/core/worktree-gc.js +194 -0
  111. package/dist/server/__tests__/integration-job.test.d.ts +1 -0
  112. package/dist/server/__tests__/integration-job.test.js +129 -0
  113. package/dist/server/agents.d.ts +1020 -0
  114. package/dist/server/agents.js +4070 -0
  115. package/dist/server/attachments.d.ts +51 -0
  116. package/dist/server/attachments.js +130 -0
  117. package/dist/server/auto-engineering.d.ts +45 -0
  118. package/dist/server/auto-engineering.js +275 -0
  119. package/dist/server/branchless-release.d.ts +22 -0
  120. package/dist/server/branchless-release.js +67 -0
  121. package/dist/server/built-in-agents.d.ts +305 -0
  122. package/dist/server/built-in-agents.js +1838 -0
  123. package/dist/server/cto-monitor.d.ts +35 -0
  124. package/dist/server/cto-monitor.js +281 -0
  125. package/dist/server/cto.d.ts +125 -0
  126. package/dist/server/cto.js +590 -0
  127. package/dist/server/deployments.d.ts +119 -0
  128. package/dist/server/deployments.js +325 -0
  129. package/dist/server/diff-snapshot.d.ts +20 -0
  130. package/dist/server/diff-snapshot.js +73 -0
  131. package/dist/server/done.d.ts +160 -0
  132. package/dist/server/done.js +488 -0
  133. package/dist/server/freeform.d.ts +55 -0
  134. package/dist/server/freeform.js +179 -0
  135. package/dist/server/handoff.d.ts +99 -0
  136. package/dist/server/handoff.js +575 -0
  137. package/dist/server/hetzner.d.ts +45 -0
  138. package/dist/server/hetzner.js +117 -0
  139. package/dist/server/icons.d.ts +8 -0
  140. package/dist/server/icons.js +195 -0
  141. package/dist/server/integration-job.d.ts +75 -0
  142. package/dist/server/integration-job.js +144 -0
  143. package/dist/server/integration-orchestrator.d.ts +211 -0
  144. package/dist/server/integration-orchestrator.js +1299 -0
  145. package/dist/server/integration-status.d.ts +48 -0
  146. package/dist/server/integration-status.js +71 -0
  147. package/dist/server/live-index.d.ts +295 -0
  148. package/dist/server/live-index.js +452 -0
  149. package/dist/server/model-test.d.ts +20 -0
  150. package/dist/server/model-test.js +100 -0
  151. package/dist/server/ntfy.d.ts +57 -0
  152. package/dist/server/ntfy.js +112 -0
  153. package/dist/server/pm-attachments.d.ts +35 -0
  154. package/dist/server/pm-attachments.js +181 -0
  155. package/dist/server/pm-runs.d.ts +58 -0
  156. package/dist/server/pm-runs.js +80 -0
  157. package/dist/server/preview.d.ts +174 -0
  158. package/dist/server/preview.js +641 -0
  159. package/dist/server/release.d.ts +88 -0
  160. package/dist/server/release.js +449 -0
  161. package/dist/server/reload.d.ts +194 -0
  162. package/dist/server/reload.js +586 -0
  163. package/dist/server/remote-validation.d.ts +132 -0
  164. package/dist/server/remote-validation.js +478 -0
  165. package/dist/server/repo-lock.d.ts +36 -0
  166. package/dist/server/repo-lock.js +141 -0
  167. package/dist/server/review-guard.d.ts +14 -0
  168. package/dist/server/review-guard.js +159 -0
  169. package/dist/server/review.d.ts +243 -0
  170. package/dist/server/review.js +1211 -0
  171. package/dist/server/routes/agents.d.ts +6 -0
  172. package/dist/server/routes/agents.js +28 -0
  173. package/dist/server/routes/auth.d.ts +60 -0
  174. package/dist/server/routes/auth.js +755 -0
  175. package/dist/server/routes/config.d.ts +20 -0
  176. package/dist/server/routes/config.js +347 -0
  177. package/dist/server/routes/debugger.d.ts +33 -0
  178. package/dist/server/routes/debugger.js +360 -0
  179. package/dist/server/routes/deployments.d.ts +3 -0
  180. package/dist/server/routes/deployments.js +16 -0
  181. package/dist/server/routes/docs.d.ts +8 -0
  182. package/dist/server/routes/docs.js +135 -0
  183. package/dist/server/routes/helpers.d.ts +21 -0
  184. package/dist/server/routes/helpers.js +171 -0
  185. package/dist/server/routes/index.d.ts +19 -0
  186. package/dist/server/routes/index.js +18 -0
  187. package/dist/server/routes/info.d.ts +17 -0
  188. package/dist/server/routes/info.js +177 -0
  189. package/dist/server/routes/inputs.d.ts +7 -0
  190. package/dist/server/routes/inputs.js +125 -0
  191. package/dist/server/routes/model-providers.d.ts +27 -0
  192. package/dist/server/routes/model-providers.js +94 -0
  193. package/dist/server/routes/models.d.ts +3 -0
  194. package/dist/server/routes/models.js +36 -0
  195. package/dist/server/routes/notify.d.ts +2 -0
  196. package/dist/server/routes/notify.js +17 -0
  197. package/dist/server/routes/playground.d.ts +29 -0
  198. package/dist/server/routes/playground.js +81 -0
  199. package/dist/server/routes/release.d.ts +20 -0
  200. package/dist/server/routes/release.js +86 -0
  201. package/dist/server/routes/router.d.ts +12 -0
  202. package/dist/server/routes/router.js +32 -0
  203. package/dist/server/routes/skill-registry.d.ts +5 -0
  204. package/dist/server/routes/skill-registry.js +51 -0
  205. package/dist/server/routes/tasks.d.ts +58 -0
  206. package/dist/server/routes/tasks.js +1442 -0
  207. package/dist/server/routes/transcribe.d.ts +2 -0
  208. package/dist/server/routes/transcribe.js +124 -0
  209. package/dist/server/routes/types.d.ts +68 -0
  210. package/dist/server/routes/types.js +1 -0
  211. package/dist/server/routes/ui.d.ts +5 -0
  212. package/dist/server/routes/ui.js +81 -0
  213. package/dist/server/routes/utils.d.ts +3 -0
  214. package/dist/server/routes/utils.js +23 -0
  215. package/dist/server/serve-reaper.d.ts +135 -0
  216. package/dist/server/serve-reaper.js +491 -0
  217. package/dist/server/server.d.ts +49 -0
  218. package/dist/server/server.js +2171 -0
  219. package/dist/server/supervisor.d.ts +89 -0
  220. package/dist/server/supervisor.js +231 -0
  221. package/dist/server/system.d.ts +198 -0
  222. package/dist/server/system.js +480 -0
  223. package/dist/server/task-check.d.ts +45 -0
  224. package/dist/server/task-check.js +71 -0
  225. package/dist/server/task-transitions.d.ts +51 -0
  226. package/dist/server/task-transitions.js +78 -0
  227. package/dist/server/task-watchdog.d.ts +158 -0
  228. package/dist/server/task-watchdog.js +681 -0
  229. package/dist/server/test-run.d.ts +28 -0
  230. package/dist/server/test-run.js +81 -0
  231. package/dist/server/watcher.d.ts +21 -0
  232. package/dist/server/watcher.js +194 -0
  233. package/dist/server/write.d.ts +94 -0
  234. package/dist/server/write.js +345 -0
  235. package/dist/ui/assets/AgentsView-CF4wRvHh.css +1 -0
  236. package/dist/ui/assets/AgentsView-D-myL-kA.js +1 -0
  237. package/dist/ui/assets/ContextView-D3TC-RSp.css +1 -0
  238. package/dist/ui/assets/ContextView-DsOqAdyE.js +4 -0
  239. package/dist/ui/assets/DashboardView-BOhsIJqO.js +1 -0
  240. package/dist/ui/assets/DashboardView-Ck9o0RP2.css +1 -0
  241. package/dist/ui/assets/DeploymentsView--iIUVfEH.css +1 -0
  242. package/dist/ui/assets/DeploymentsView-DXu_FYR2.js +1 -0
  243. package/dist/ui/assets/InputsView-24HVbVPk.js +1 -0
  244. package/dist/ui/assets/InputsView-BLb7GHtx.css +1 -0
  245. package/dist/ui/assets/LoginView-6QlGg6cx.css +1 -0
  246. package/dist/ui/assets/LoginView-BqupI0Lt.js +1 -0
  247. package/dist/ui/assets/ReleasesView-BEG1A0YH.css +1 -0
  248. package/dist/ui/assets/ReleasesView-CAgMuxpe.js +3 -0
  249. package/dist/ui/assets/SettingsView-CA-NYSMK.css +1 -0
  250. package/dist/ui/assets/SettingsView-O3iZSnjg.js +3 -0
  251. package/dist/ui/assets/WorkView-D8Tl6qwy.js +1 -0
  252. package/dist/ui/assets/WorkView-DMYL2s3W.css +1 -0
  253. package/dist/ui/assets/abnfDiagram-VCTEODGH-J5lkSnEE.js +1 -0
  254. package/dist/ui/assets/arc-BHZnmhhM.js +1 -0
  255. package/dist/ui/assets/architecture-7GRP2DOG-pLdFt-xS.js +1 -0
  256. package/dist/ui/assets/architectureDiagram-5GKGNRK7-C3k89uKX.js +36 -0
  257. package/dist/ui/assets/array-BifhSqXX.js +1 -0
  258. package/dist/ui/assets/blockDiagram-I7D4REHJ-AWNoBzop.js +129 -0
  259. package/dist/ui/assets/button-lbikqSph.js +1 -0
  260. package/dist/ui/assets/c4Diagram-7LVT6UL2-DKG1D5gd.js +38 -0
  261. package/dist/ui/assets/channel-gA4qBv3A.js +1 -0
  262. package/dist/ui/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
  263. package/dist/ui/assets/chunk-4HAMMTFA-D1YR8lF_.js +62 -0
  264. package/dist/ui/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
  265. package/dist/ui/assets/chunk-75Z2AOVW-5GuBxfsL.js +2 -0
  266. package/dist/ui/assets/chunk-DU6HZSFF-DfdNNqwa.js +127 -0
  267. package/dist/ui/assets/chunk-F27PBJKO-BPZzinQ4.js +1 -0
  268. package/dist/ui/assets/chunk-FOHPRMQF-l2z4K2jD.js +161 -0
  269. package/dist/ui/assets/chunk-GMAD6QVW-DGWvSKj5.js +72 -0
  270. package/dist/ui/assets/chunk-GVQU2GXP-D6Aw75wJ.js +1 -0
  271. package/dist/ui/assets/chunk-IMKFNOWR-B8mMBKCW.js +231 -0
  272. package/dist/ui/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
  273. package/dist/ui/assets/chunk-L3NEJ4N5-D5OJuXYE.js +1 -0
  274. package/dist/ui/assets/chunk-OSK3NFVY-B7r9w2UW.js +10 -0
  275. package/dist/ui/assets/chunk-P2QGCYS3-C74X4AQX.js +1 -0
  276. package/dist/ui/assets/chunk-POPQ4Y6H-C5_u1gUS.js +1 -0
  277. package/dist/ui/assets/chunk-PWAF6VOD-DfoTLtxn.js +1 -0
  278. package/dist/ui/assets/chunk-SHT3W25Y-D40m2eqz.js +168 -0
  279. package/dist/ui/assets/chunk-SVP7TREG-euxi0Kap.js +88 -0
  280. package/dist/ui/assets/chunk-TICWLB2K-fkdxngzN.js +206 -0
  281. package/dist/ui/assets/chunk-XXDRQBXY-DFBUG-OT.js +1 -0
  282. package/dist/ui/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
  283. package/dist/ui/assets/classDiagram-ZZMXUADV-BzW8bq2P.js +1 -0
  284. package/dist/ui/assets/classDiagram-v2-VYDZK3BY-BzW8bq2P.js +1 -0
  285. package/dist/ui/assets/cose-bilkent-JH36ORCC-BTcgMon1.js +1 -0
  286. package/dist/ui/assets/cynefin-OW5HDTMX-B5m_COsS.js +1 -0
  287. package/dist/ui/assets/cynefinDiagram-5FMLGOSQ-C-AG6CGe.js +62 -0
  288. package/dist/ui/assets/cytoscape.esm-FBntH-9t.js +321 -0
  289. package/dist/ui/assets/dagre-GXQ25YYZ-DDfDnp8L.js +4 -0
  290. package/dist/ui/assets/dagre-PrKaheQc.js +1 -0
  291. package/dist/ui/assets/defaultLocale-BFoDCU3G.js +1 -0
  292. package/dist/ui/assets/diagram-S7CK7UJ4-DjQZAlEY.js +30 -0
  293. package/dist/ui/assets/diagram-UQ7AKVKN-DAZ9yp1B.js +41 -0
  294. package/dist/ui/assets/diagram-VSXAHHWV-BWepUKJD.js +3 -0
  295. package/dist/ui/assets/diagram-VX7I27RA-EcV1J81b.js +24 -0
  296. package/dist/ui/assets/diagram-Z3DM3KII-Dbz7XU_K.js +24 -0
  297. package/dist/ui/assets/dist-DTg6UBE_.js +1 -0
  298. package/dist/ui/assets/ebnfDiagram-PWID7BFC-BUyQw8Mm.js +1 -0
  299. package/dist/ui/assets/erDiagram-RLTQ6QDP-WVf8ukKt.js +99 -0
  300. package/dist/ui/assets/eventmodeling-NTZA5JFV-DHqyLOAn.js +1 -0
  301. package/dist/ui/assets/flowDiagram-HODETNUW-CYk_ze5K.js +1 -0
  302. package/dist/ui/assets/ganttDiagram-EL5Y4UJY-rB4MZuB-.js +292 -0
  303. package/dist/ui/assets/gitGraph-4MIJSDKK-BOTWM8dY.js +1 -0
  304. package/dist/ui/assets/gitGraphDiagram-WWUBYQGX-eYscuhtP.js +106 -0
  305. package/dist/ui/assets/graphlib-DS17s2tU.js +1 -0
  306. package/dist/ui/assets/index-BACBfnga.css +1 -0
  307. package/dist/ui/assets/index-BOQ-ust6.js +26 -0
  308. package/dist/ui/assets/info-A6RAGUB7-_67wOORe.js +1 -0
  309. package/dist/ui/assets/infoDiagram-27XIBGKW-XVXbddTA.js +2 -0
  310. package/dist/ui/assets/init-C-OQMol4.js +1 -0
  311. package/dist/ui/assets/ishikawaDiagram-5VMMS53U-ClLNiEru.js +70 -0
  312. package/dist/ui/assets/journeyDiagram-3NMN7TZE-NRawjR6i.js +139 -0
  313. package/dist/ui/assets/kanban-definition-UXKFOSKX-BgSzBfIx.js +89 -0
  314. package/dist/ui/assets/katex-DolUETbr.js +257 -0
  315. package/dist/ui/assets/line-KAyfuul4.js +1 -0
  316. package/dist/ui/assets/linear-cCCPOpu7.js +1 -0
  317. package/dist/ui/assets/mermaid-parser.core-CgXZk1iN.js +7 -0
  318. package/dist/ui/assets/mermaid.core-BUUkChHW.js +44 -0
  319. package/dist/ui/assets/mindmap-definition-YA3MSWOX-Cpn7vW4r.js +96 -0
  320. package/dist/ui/assets/ordinal-BDEzSJ7C.js +1 -0
  321. package/dist/ui/assets/packet-AYTQ26CC-0lZwM-d6.js +1 -0
  322. package/dist/ui/assets/path-COt_16Va.js +1 -0
  323. package/dist/ui/assets/pegDiagram-XKGWAZYB-impy0inn.js +1 -0
  324. package/dist/ui/assets/pie-WAS4IAKB-CqfdGHYg.js +1 -0
  325. package/dist/ui/assets/pieDiagram-E7YTZNPT-CxjL4I1h.js +39 -0
  326. package/dist/ui/assets/quadrantDiagram-AXDQQJYC-Cjd1QMIe.js +7 -0
  327. package/dist/ui/assets/radar-RG4KPBEZ-CRkQIwiv.js +1 -0
  328. package/dist/ui/assets/railroad-74A4TZTK-i67XSWTB.js +1 -0
  329. package/dist/ui/assets/railroad-abnf-HS5TGJTU-Cv9m5aS3.js +1 -0
  330. package/dist/ui/assets/railroad-ebnf-LZEXJU2U-C5ZIn-Jh.js +1 -0
  331. package/dist/ui/assets/railroad-peg-WCYAUIDC-CGra9Oq-.js +1 -0
  332. package/dist/ui/assets/railroadDiagram-O6MQD6OU-_pK0qyaY.js +1 -0
  333. package/dist/ui/assets/releases-B0WNV-SY.js +1 -0
  334. package/dist/ui/assets/repoos-cto-square.webp +0 -0
  335. package/dist/ui/assets/repoos-helpful-pm-square.webp +0 -0
  336. package/dist/ui/assets/repoos-orchestrator-square.webp +0 -0
  337. package/dist/ui/assets/repoos-performance-agent-square.webp +0 -0
  338. package/dist/ui/assets/repoos-ross-from-friends-square.webp +0 -0
  339. package/dist/ui/assets/repoos-tech-debt-agent-square.webp +0 -0
  340. package/dist/ui/assets/requirementDiagram-BXWQKSXE-CRrFX-yw.js +84 -0
  341. package/dist/ui/assets/rough.esm-By172zw-.js +1 -0
  342. package/dist/ui/assets/sankeyDiagram-P5KCCOFB-X_xFRj9E.js +40 -0
  343. package/dist/ui/assets/sequenceDiagram-WJ2MYXX4-Byb49lKf.js +162 -0
  344. package/dist/ui/assets/sizeCapture-INFHLROL-B0uUizjq.js +1 -0
  345. package/dist/ui/assets/src-BH-TyZbA.js +1 -0
  346. package/dist/ui/assets/stateDiagram-D77RDMKH-CzaPrqYF.js +1 -0
  347. package/dist/ui/assets/stateDiagram-v2-MP3YSRHH-BCXckz7K.js +1 -0
  348. package/dist/ui/assets/swimlanes-42K2YHIH-Cx_1lnqr.js +1 -0
  349. package/dist/ui/assets/swimlanesDiagram-VR7AAH4N-54qsKi6A.js +8 -0
  350. package/dist/ui/assets/timeline-definition-24CTP7MA-B1IbZPQ-.js +120 -0
  351. package/dist/ui/assets/treeView-Q6P3EWNA-DFWhVE3d.js +1 -0
  352. package/dist/ui/assets/treemap-WGGIJYW6-BmbYPThn.js +1 -0
  353. package/dist/ui/assets/vendor-ui-DPm7zLxi.js +3 -0
  354. package/dist/ui/assets/vendor-vue-CobgyEJp.js +1 -0
  355. package/dist/ui/assets/vennDiagram-4TSXK5OY-Ae2AtRpt.js +34 -0
  356. package/dist/ui/assets/wardley-WFR3VGLG-BtD4X4tL.js +1 -0
  357. package/dist/ui/assets/wardleyDiagram-VM6X3IG4-B3YN2fTd.js +78 -0
  358. package/dist/ui/assets/xychartDiagram-S5SC5T6Z-CIzJfMKA.js +7 -0
  359. package/dist/ui/favicon.svg +11 -0
  360. package/dist/ui/index.html +49 -0
  361. package/dist/ui/sw.js +48 -0
  362. package/package.json +91 -0
@@ -0,0 +1,3 @@
1
+ import{$ as e,A as t,B as n,C as r,Ct as i,D as a,E as o,Et as s,F as c,G as l,H as u,I as d,J as f,K as p,L as m,M as h,N as g,O as _,Q as v,R as y,S as b,Tt as x,U as S,V as C,W as w,X as T,_ as E,_t as ee,at as te,b as D,bt as O,ct as ne,d as re,dt as ie,et as k,ft as ae,g as oe,h as se,ht as ce,it as le,j as A,k as ue,lt as de,m as fe,mt as pe,ot as me,pt as j,rt as M,st as he,tt as ge,ut as _e,v as ve,vt as ye,w as N,wt as be,x as xe,xt as Se,y as Ce,z as we}from"./vendor-vue-CobgyEJp.js";var Te=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Ee=e=>e===``,De=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Oe=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ke=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Ae=e=>{let t=ke(e);return t.charAt(0).toUpperCase()+t.slice(1)},je={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},Me=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:i,"stroke-width":a,size:o=je.width,color:s=je.stroke,...c},{slots:l})=>A(`svg`,{...je,...c,width:o,height:o,stroke:s,"stroke-width":Ee(n)||Ee(r)||n===!0||r===!0?Number(i||a||je[`stroke-width`])*24/Number(o):i||a||je[`stroke-width`],class:De(`lucide`,c.class,...e?[`lucide-${Oe(Ae(e))}-icon`,`lucide-${Oe(e)}`]:[`lucide-icon`]),...!l.default&&!Te(c)&&{"aria-hidden":`true`}},[...t.map(e=>A(...e)),...l.default?[l.default()]:[]]),P=(e,t)=>(n,{slots:r,attrs:i})=>A(Me,{...i,...n,iconNode:t,name:e},r),Ne=P(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),Pe=P(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Fe=P(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Ie=P(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),Le=P(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),Re=P(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),ze=P(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Be=P(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Ve=P(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),He=P(`chevrons-down-up`,[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]),Ue=P(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),We=P(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Ge=P(`clipboard`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}]]),Ke=P(`coins`,[[`path`,{d:`M13.744 17.736a6 6 0 1 1-7.48-7.48`,key:`bq4yh3`}],[`path`,{d:`M15 6h1v4`,key:`11y1tn`}],[`path`,{d:`m6.134 14.768.866-.5 2 3.464`,key:`17snzx`}],[`circle`,{cx:`16`,cy:`8`,r:`6`,key:`14bfc9`}]]),qe=P(`diff`,[[`path`,{d:`M12 3v14`,key:`7cf3v8`}],[`path`,{d:`M5 10h14`,key:`elsbfy`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),Je=P(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),Ye=P(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),Xe=P(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),Ze=P(`image-plus`,[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),Qe=P(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),$e=P(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),et=P(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),tt=P(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),nt=P(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),rt=P(`paperclip`,[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]),it=P(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),at=P(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),ot=P(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),st=P(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),ct=P(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),lt=P(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),ut=P(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),dt=P(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),ft=P(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),pt=P(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),mt=P(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),ht=P(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),gt=P(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),_t=P(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),vt=P(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),yt=P(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function bt(e,t){return e-t*Math.floor(e/t)}var xt=1721426;function St(e,t,n,r){t=wt(e,t);let i=t-1,a=-2;return n<=2?a=0:Ct(t)&&(a=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function Ct(e){return e%4==0&&(e%100!=0||e%400==0)}function wt(e,t){return e===`BC`?1-t:t}function Tt(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var Et={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Dt=class{fromJulianDay(e){let t=e,n=t-xt,r=Math.floor(n/146097),i=bt(n,146097),a=Math.floor(i/36524),o=bt(i,36524),s=Math.floor(o/1461),c=bt(o,1461),l=Math.floor(c/365),[u,d]=Tt(r*400+a*100+s*4+l+ +(a!==4&&l!==4)),f=t-St(u,d,1,1),p=2;t<St(u,d,3,1)?p=0:Ct(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new wn(u,d,m,t-St(u,d,m,1)+1)}toJulianDay(e){return St(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Et[Ct(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Ct(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function Ot(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function kt(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function At(e,t){return jt(e)-jt(t)}function jt(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var Mt=null,Nt=!1;function Pt(){return Mt??=new Intl.DateTimeFormat().resolvedOptions().timeZone,Mt}function Ft(){return Nt}function It(e){return e=I(e,new Dt),Lt(wt(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Lt(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function Rt(e,t){if(t===`UTC`)return 0;if(e>0&&t===Pt()&&!Ft())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=Bt(e,t);return Lt(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var zt=new Map;function Bt(e,t){let n=zt.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),zt.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var Vt=864e5;function Ht(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>Ut(e,t,n))}function Ut(e,t,n){let r=Bt(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function F(e,t,n=`compatible`){let r=Kt(e);if(t===`UTC`)return It(r);if(t===Pt()&&n===`compatible`&&!Ft()){r=I(r,new Dt);let e=new Date,t=wt(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=It(r),a=Rt(i-Vt,t),o=Rt(i+Vt,t),s=Ht(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function Wt(e,t,n=`compatible`){return new Date(F(e,t,n))}function Gt(e,t){let n=Rt(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new En(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function Kt(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Tn(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function I(e,t){if(Ot(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,nn(r),r}function qt(e,t,n){return e instanceof En?e.timeZone===t?e:Yt(e,t):Gt(F(e,t,n),t)}function Jt(e){let t=It(e)-e.offset;return new Date(t)}function Yt(e,t){return I(Gt(It(e)-e.offset,t),e.calendar)}var Xt=36e5;function Zt(e,t){let n=e.copy(),r=`hour`in n?dn(n,t):0;Qt(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,$t(n),tn(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,en(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){let e=n.calendar.isInverseEra?.(n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let a=n.calendar.getMonthsInYear(n);return n.month>a&&(n.month=a,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function Qt(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function $t(e){for(;e.month<1;)Qt(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Qt(e,1)}function en(e){for(;e.day<1;)e.month--,$t(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,$t(e)}function tn(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function nn(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),tn(e)}function rn(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function an(e,t){return Zt(e,rn(t))}function on(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),nn(n),n}function sn(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),ln(n),n}function cn(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=un(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=un(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=un(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=un(e.hour,24),t}function ln(e){e.millisecond=Math.max(0,Math.min(e.millisecond,999)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function un(e,t){let n=e%t;return n<0&&(n+=t),n}function dn(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,cn(e)}function fn(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=L(a,n,0,t.length-1,r?.round),i.era=t[a],nn(i);break}case`year`:i.calendar.isInverseEra?.(i)&&(n=-n),i.year=L(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=L(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=L(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),nn(i),i}function pn(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=L(t,n,a,o,r?.round);break}case`minute`:i.minute=L(e.minute,n,0,59,r?.round);break;case`second`:i.second=L(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=L(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function L(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function mn(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?F(Zt(Kt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):It(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,I(Gt(n,e.timeZone),e.calendar)}function hn(e,t){return mn(e,rn(t))}function gn(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=Kt(e),o=I(sn(a,{hour:t}),new Dt),s=[F(o,e.timeZone,`earlier`),F(o,e.timeZone,`later`)].filter(t=>Gt(t,e.timeZone).day===o.day)[0],c=I(sn(a,{hour:i}),new Dt),l=[F(c,e.timeZone,`earlier`),F(c,e.timeZone,`later`)].filter(t=>Gt(t,e.timeZone).day===c.day).pop(),u=It(e)-e.offset,d=Math.floor(u/Xt),f=u%Xt;return u=L(d,n,Math.floor(s/Xt),Math.floor(l/Xt),r?.round)*Xt+f,I(Gt(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return pn(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return I(Gt(F(fn(Kt(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function _n(e,t,n){let r=Kt(e),i=sn(on(r,t),t);return i.compare(r)===0?e:I(Gt(F(i,e.timeZone,n),e.timeZone),e.calendar)}function vn(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function yn(e){let t=I(e,new Dt),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function bn(e){return`${yn(e)}T${vn(e)}`}function xn(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function Sn(e){return`${bn(e)}${xn(e.offset)}[${e.timeZone}]`}function Cn(e){let t=typeof e[0]==`object`?e.shift():new Dt,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var wn=class e{constructor(...e){let[t,n,r,i,a]=Cn(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,nn(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Zt(this,e)}subtract(e){return an(this,e)}set(e){return on(this,e)}cycle(e,t,n){return fn(this,e,t,n)}toDate(e){return Wt(this,e)}toString(){return yn(this)}compare(e){return kt(this,e)}},Tn=class e{constructor(...e){let[t,n,r,i,a]=Cn(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,nn(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Zt(this,e)}subtract(e){return an(this,e)}set(e){return on(sn(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return fn(this,e,t,n);default:return pn(this,e,t,n)}}toDate(e,t){return Wt(this,e,t)}toString(){return bn(this)}compare(e){let t=kt(this,e);return t===0?At(this,Kt(e)):t}},En=class e{constructor(...e){let[t,n,r,i,a]=Cn(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,nn(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return mn(this,e)}subtract(e){return hn(this,e)}set(e,t){return _n(this,e,t)}cycle(e,t,n){return gn(this,e,t,n)}toDate(){return Jt(this)}toString(){return Sn(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-qt(e,this.timeZone).toDate().getTime()}},Dn=[`top`,`right`,`bottom`,`left`],On=Math.min,R=Math.max,kn=Math.round,An=Math.floor,z=e=>({x:e,y:e}),jn={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Mn(e,t,n){return R(e,On(t,n))}function B(e,t){return typeof e==`function`?e(t):e}function Nn(e){return e.split(`-`)[0]}function Pn(e){return e.split(`-`)[1]}function Fn(e){return e===`x`?`y`:`x`}function In(e){return e===`y`?`height`:`width`}function V(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ln(e){return Fn(V(e))}function Rn(e,t,n){n===void 0&&(n=!1);let r=Pn(e),i=Ln(e),a=In(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=qn(o)),[o,qn(o)]}function zn(e){let t=qn(e);return[Bn(e),t,Bn(t)]}function Bn(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Vn=[`left`,`right`],Hn=[`right`,`left`],Un=[`top`,`bottom`],Wn=[`bottom`,`top`];function Gn(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Hn:Vn:t?Vn:Hn;case`left`:case`right`:return t?Un:Wn;default:return[]}}function Kn(e,t,n,r){let i=Pn(e),a=Gn(Nn(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Bn)))),a}function qn(e){let t=Nn(e);return jn[t]+e.slice(t.length)}function Jn(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Yn(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Jn(e)}function Xn(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Zn(e,t,n){let{reference:r,floating:i}=e,a=V(t),o=Ln(t),s=In(o),c=Nn(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Pn(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Qn(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=B(t,e),p=Yn(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Xn(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Xn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var $n=50,er=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Qn},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Zn(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<$n&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Zn(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},tr=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=B(e,t)||{};if(l==null)return{};let d=Yn(u),f={x:n,y:r},p=Ln(i),m=In(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=On(d[_],T),ee=On(d[v],T),te=C-h[m]-ee,D=C/2-h[m]/2+w,O=Mn(E,D,te),ne=!c.arrow&&Pn(i)!=null&&D!==O&&a.reference[m]/2-(D<E?E:ee)-h[m]/2<0,re=ne?D<E?D-E:D-te:0;return{[p]:f[p]+re,data:{[p]:O,centerOffset:D-O-re,...ne&&{alignmentOffset:re}},reset:ne}}}),nr=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=B(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Nn(r),_=V(o),v=Nn(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[qn(o)]:zn(o)),x=p!==`none`;!d&&x&&b.push(...Kn(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Rn(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===V(t)||T.every(e=>V(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=V(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function rr(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ir(e){return Dn.some(t=>e[t]>=0)}var ar=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=B(e,t);switch(i){case`referenceHidden`:{let e=rr(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ir(e)}}}case`escaped`:{let e=rr(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ir(e)}}}default:return{}}}}},or=new Set([`left`,`top`]);async function sr(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Nn(n),s=Pn(n),c=V(n)===`y`,l=or.has(o)?-1:1,u=a&&c?-1:1,d=B(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var cr=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await sr(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},lr=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=B(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=V(i),p=Fn(f),m=u[p],h=u[f],g=(e,t)=>Mn(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},ur=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=B(e,t),u={x:n,y:r},d=V(i),f=Fn(d),p=u[f],m=u[d],h=B(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=or.has(Nn(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},dr=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=B(e,t),c=await i.detectOverflow(t,s),l=Nn(n),u=Pn(n),d=V(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=On(p-c[m],g),y=On(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*R(c.left,c.right):S=p-2*R(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function fr(){return typeof window<`u`}function pr(e){return mr(e)?(e.nodeName||``).toLowerCase():`#document`}function H(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function U(e){return((mr(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function mr(e){return fr()?e instanceof Node||e instanceof H(e).Node:!1}function W(e){return fr()?e instanceof Element||e instanceof H(e).Element:!1}function hr(e){return fr()?e instanceof HTMLElement||e instanceof H(e).HTMLElement:!1}function gr(e){return!fr()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof H(e).ShadowRoot}function _r(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function vr(e){return/^(table|td|th)$/.test(pr(e))}function yr(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var br=/transform|translate|scale|rotate|perspective|filter/,xr=/paint|layout|strict|content/,Sr=e=>!!e&&e!==`none`,Cr;function wr(e){let t=W(e)?G(e):e;return Sr(t.transform)||Sr(t.translate)||Sr(t.scale)||Sr(t.rotate)||Sr(t.perspective)||!Er()&&(Sr(t.backdropFilter)||Sr(t.filter))||br.test(t.willChange||``)||xr.test(t.contain||``)}function Tr(e){let t=kr(e);for(;hr(t)&&!Dr(t);){if(wr(t))return t;if(yr(t))return null;t=kr(t)}return null}function Er(){return Cr??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Cr}function Dr(e){return/^(html|body|#document)$/.test(pr(e))}function G(e){return H(e).getComputedStyle(e)}function Or(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function kr(e){if(pr(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||gr(e)&&e.host||U(e);return gr(t)?t.host:t}function Ar(e){let t=kr(e);return Dr(t)?(e.ownerDocument||e).body:hr(t)&&_r(t)?t:Ar(t)}function jr(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Ar(e),i=r===e.ownerDocument?.body,a=H(r);if(i){let e=Mr(a);return t.concat(a,a.visualViewport||[],_r(r)?r:[],e&&n?jr(e):[])}return t.concat(r,jr(r,[],n))}function Mr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Nr(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=hr(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=kn(n)!==a||kn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Pr(e){return W(e)?e:e.contextElement}function Fr(e){let t=Pr(e);if(!hr(t))return z(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Nr(t),o=(a?kn(n.width):n.width)/r,s=(a?kn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Ir=z(0);function Lr(e){let t=H(e);return!Er()||!t.visualViewport?Ir:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rr(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===H(e)}function zr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Pr(e),o=z(1);t&&(r?W(r)&&(o=Fr(r)):o=Fr(e));let s=Rr(a,n,r)?Lr(a):z(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=H(a),t=W(r)?H(r):r,n=e,i=Mr(n);for(;i&&t!==n;){let e=Fr(i),t=i.getBoundingClientRect(),r=G(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=H(i),i=Mr(n)}}return Xn({width:u,height:d,x:c,y:l})}function Br(e,t){let n=Or(e).scrollLeft;return t?t.left+n:zr(U(e)).left+n}function Vr(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Br(e,n),y:n.top+t.scrollTop}}function Hr(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=U(r),s=t?yr(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=z(1),u=z(0),d=hr(r);if((d||!a)&&((pr(r)!==`body`||_r(o))&&(c=Or(r)),d)){let e=zr(r);l=Fr(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Vr(o,c):z(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ur(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Wr(e){let t=Or(e),n=e.ownerDocument.body,r=R(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=R(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Br(e),o=-t.scrollTop;return G(n).direction===`rtl`&&(a+=R(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Gr=25;function Kr(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=H(e),a=U(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Er()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Br(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Gr&&(s-=o)}return{width:s,height:c,x:l,y:u}}function qr(e,t){let n=zr(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Fr(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Jr(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Kr(e,n,t);else if(t===`document`)r=Wr(U(e));else if(W(t))r=qr(t,n);else{let n=Lr(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Xn(r)}function Yr(e,t){let n=t.get(e);if(n)return n;let r=jr(e,[],!1).filter(e=>W(e)&&pr(e)!==`body`),i=null,a=G(e).position===`fixed`,o=a?kr(e):e;for(;W(o)&&!Dr(o);){let e=G(o),t=wr(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=kr(o)}return t.set(e,r),r}function Xr(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?yr(t)?[]:Yr(t,this._c):[].concat(n),r],o=Jr(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Jr(t,a[e],i);s=R(n.top,s),c=On(n.right,c),l=On(n.bottom,l),u=R(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Zr(e){let{width:t,height:n}=Nr(e);return{width:t,height:n}}function Qr(e,t,n){let r=hr(t),i=U(t),a=n===`fixed`,o=zr(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=z(0);if((r||!a)&&((pr(t)!==`body`||_r(i))&&(s=Or(t)),r)){let e=zr(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Br(i));let l=i&&!r&&!a?Vr(i,s):z(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function $r(e){return G(e).position===`static`}function ei(e,t){if(!hr(e)||G(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function ti(e,t){let n=H(e);if(yr(e))return n;if(!hr(e)){let t=kr(e);for(;t&&!Dr(t);){if(W(t)&&!$r(t))return t;t=kr(t)}return n}let r=ei(e,t);for(;r&&vr(r)&&$r(r);)r=ei(r,t);return r&&Dr(r)&&$r(r)&&!wr(r)?n:r||Tr(e)||n}var ni=async function(e){let t=this.getOffsetParent||ti,n=this.getDimensions,r=await n(e.floating);return{reference:Qr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ri(e){return G(e).direction===`rtl`}var ii={convertOffsetParentRelativeRectToViewportRelativeRect:Hr,getDocumentElement:U,getClippingRect:Xr,getOffsetParent:ti,getElementRects:ni,getClientRects:Ur,getDimensions:Zr,getScale:Fr,isElement:W,isRTL:ri};function ai(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oi(e,t,n){let r=null,i,a=U(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=An(d),h=An(a.clientWidth-(u+f)),g=An(a.clientHeight-(d+p)),_=An(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:R(0,On(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!ai(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=H(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function si(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Pr(e),u=i||a?[...l?jr(l):[],...t?jr(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?oi(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?zr(e):null;c&&g();function g(){let t=zr(e);h&&!ai(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var ci=cr,li=lr,ui=nr,di=dr,fi=ar,pi=tr,mi=ur,hi=(e,t,n)=>{let r=new Map,i=n??{},a={...ii,...i.platform,_c:r};return er(e,t,{...i,platform:a})};function gi(e){return typeof e==`object`&&!!e&&`$el`in e}function _i(e){if(gi(e)){let t=e.$el;return mr(t)&&pr(t)===`#comment`?null:t}return e}function vi(e){return typeof e==`function`?e():O(e)}function yi(e){return{name:`arrow`,options:e,fn(t){let n=_i(vi(e.element));return n==null?{}:pi({element:n,padding:e.padding}).fn(t)}}}function bi(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xi(e,t){let n=bi(e);return Math.round(t*n)/n}function Si(t,n,r){r===void 0&&(r={});let i=r.whileElementsMounted,a=D(()=>vi(r.open)??!0),o=D(()=>vi(r.middleware)),s=D(()=>vi(r.placement)??`bottom`),c=D(()=>vi(r.strategy)??`absolute`),l=D(()=>vi(r.transform)??!0),u=D(()=>_i(t.value)),d=D(()=>_i(n.value)),f=j(0),p=j(0),m=j(c.value),h=j(s.value),g=ce({}),_=j(!1),v=D(()=>{let e={position:m.value,left:`0`,top:`0`};if(!d.value)return e;let t=xi(d.value,f.value),n=xi(d.value,p.value);return l.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...bi(d.value)>=1.5&&{willChange:`transform`}}:{position:m.value,left:t+`px`,top:n+`px`}}),y;function b(){if(u.value==null||d.value==null)return;let e=a.value;hi(u.value,d.value,{middleware:o.value,placement:s.value,strategy:c.value}).then(t=>{f.value=t.x,p.value=t.y,m.value=t.strategy,h.value=t.placement,g.value=t.middlewareData,_.value=e!==!1})}function x(){typeof y==`function`&&(y(),y=void 0)}function S(){if(x(),i===void 0){b();return}if(u.value!=null&&d.value!=null){y=i(u.value,d.value,b);return}}function C(){a.value||(_.value=!1)}return e([o,s,c,a],b,{flush:`sync`}),e([u,d],S,{flush:`sync`}),e(a,C,{flush:`sync`}),he()&&_e(x),{x:pe(f),y:pe(p),strategy:pe(m),placement:pe(h),middlewareData:pe(g),isPositioned:pe(_),floatingStyles:v,update:b}}var Ci=new Map,wi=!1;try{wi=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var Ti=!1;try{Ti=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var Ei={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},Di=class{constructor(e,t={}){this.numberFormatter=Oi(e,t),this.options=t}format(e){let t=``;if(t=!wi&&this.options.signDisplay!=null?ki(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!Ti){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=Ei[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!wi&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!Ti&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}};function Oi(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!Ti){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!Ei[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(Ci.has(r))return Ci.get(r);let i=new Intl.NumberFormat(e,t);return Ci.set(r,i),i}function ki(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}return e.format(n)}}var Ai=RegExp(`^.*\\(.*\\).*$`),ji=[`latn`,`arab`,`hanidec`,`deva`,`beng`,`fullwide`],Mi=class{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return Pi(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return Pi(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return Pi(this.locale,this.options,e).options.numberingSystem}},Ni=new Map;function Pi(e,t,n){let r=Fi(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of ji)if(i!==r.options.numberingSystem){let r=Fi(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function Fi(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``),r=Ni.get(n);return r||(r=new Ii(e,t),Ni.set(n,r)),r}var Ii=class{constructor(e,t={}){this.locale=e,t.roundingIncrement!==1&&t.roundingIncrement!=null&&(t.maximumFractionDigits==null&&t.minimumFractionDigits==null?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):t.maximumFractionDigits==null?t.maximumFractionDigits=t.minimumFractionDigits:t.minimumFractionDigits??=t.maximumFractionDigits),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=zi(e,this.formatter,this.options,t),this.options.style===`percent`&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}parse(e){let t=this.formatter.resolvedOptions().useGrouping,n=this.sanitize(e);if(!t&&this.symbols.group&&n.includes(this.symbols.group))return NaN;if(this.symbols.group&&(n=n.replaceAll(this.symbols.group,``)),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,`-`)),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=n.indexOf(`-`);n=n.replace(`-`,``),n=n.replace(`+`,``);let t=n.indexOf(`.`);t===-1&&(t=n.length),n=n.replace(`.`,``),n=t-2==0?`0.${n}`:t-2==-1?`0.0${n}`:t-2==-2?`0.00`:`${n.slice(0,t-2)}.${n.slice(t-2)}`,e>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new Mi(this.locale,e).parse(new Di(this.locale,e).format(r))}return this.options.currencySign===`accounting`&&Ai.test(e)&&(r=-1*r),r}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=Bi(e,`,`,this.symbols.decimal),e=Bi(e,`،`,this.symbols.decimal)),this.symbols.group&&t&&(e=Bi(e,`.`,this.symbols.group))),this.symbols.group===`’`&&e.includes(`'`)&&t&&(e=Bi(e,`'`,this.symbols.group)),this.symbols.group===`'`&&e.includes(`’`)&&t&&(e=Bi(e,`’`,this.symbols.group)),this.options.locale===`fr-FR`&&this.symbols.group&&t&&(e=Bi(e,` `,this.symbols.group),e=Bi(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,n=1/0){let r=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&r&&(e=Bi(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}},Li=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),Ri=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function zi(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`,useGrouping:!0}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=Ri.map(e=>i.formatToParts(e)),c=s.map((e,t)=>{let n=e.find(e=>e.type===`unit`);return n&&!e.some(e=>e.type===`integer`||e.type===`fraction`)?{unit:n.value,value:Ri[t]}:null}).filter(e=>!!e),l=a.find(e=>e.type===`minusSign`)?.value??`-`,u=o.find(e=>e.type===`plusSign`)?.value;!u&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(u=`+`);let d=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,f=a.find(e=>e.type===`group`)?.value,p=a.filter(e=>!Li.has(e.type)).map(e=>Vi(e.value)),m=s.flatMap(e=>e.filter(e=>!Li.has(e.type)).map(e=>Vi(e.value))),h=[...new Set([...p,...m])].sort((e,t)=>t.length-e.length),g=h.length===0?RegExp(`\\p{White_Space}|\\p{Cf}`,`gu`):RegExp(`${h.join(`|`)}|\\p{White_Space}|\\p{Cf}`,`gu`),_=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),v=new Map(_.map((e,t)=>[e,t])),y=RegExp(`[${_.join(``)}]`,`g`);return{minusSign:l,plusSign:u,decimal:d,group:f,literals:g,numeral:y,numerals:_,index:e=>String(v.get(e)),noNumeralUnits:c}}function Bi(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Vi(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function K(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=h(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(w(r,e),e)]}function Hi(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function Ui(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function Wi(e){return e==null}var Gi=[`day`,`month`,`year`],Ki=[`hour`,`minute`,`second`,`dayPeriod`];[...Gi,...Ki];function qi(e,t){let n=ce();return k(()=>{n.value=e()},{...t,flush:`sync`}),ae(n)}function Ji(e){return he()?(_e(e),!0):!1}function Yi(e){let t=!1,n,r=me(!0);return(...i)=>(t||=(n=r.run(()=>e(...i)),!0),n)}function Xi(e){let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||=(r=me(!0),r.run(()=>e(...a))),Ji(i),n)}function Zi(e){return typeof e==`function`?e():O(e)}var Qi=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var $i=e=>typeof e<`u`,ea=Object.prototype.toString,ta=e=>ea.call(e)===`[object Object]`,na=()=>{},ra=ia();function ia(){return Qi&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function aa(e){return ue()}function oa(e,t=1e4){return te((n,r)=>{let i=Zi(e),a,o=()=>setTimeout(()=>{i=Zi(e),r()},Zi(t));return Ji(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function sa(e,t){aa()&&y(e,t)}function q(e){let t=Zi(e);return t?.$el??t}var ca=Qi?window:void 0;function la(...t){let n,r,i,a;if(typeof t[0]==`string`||Array.isArray(t[0])?([r,i,a]=t,n=ca):[n,r,i,a]=t,!n)return na;Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]);let o=[],s=()=>{o.forEach(e=>e()),o.length=0},c=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),l=e(()=>[q(n),Zi(a)],([e,t])=>{if(s(),!e)return;let n=ta(t)?{...t}:t;o.push(...r.flatMap(t=>i.map(r=>c(e,t,r,n))))},{immediate:!0,flush:`post`}),u=()=>{l(),s()};return Ji(u),u}function ua(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function da(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=ca,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=ua(t);return la(i,a,e=>{e.repeat&&Zi(s)||c(e)&&n(e)},o)}function fa(){let e=j(!1),t=ue();return t&&n(()=>{e.value=!0},t),e}function pa(e){return JSON.parse(JSON.stringify(e))}function ma(t,n,r,i={}){let{clone:a=!1,passive:o=!1,eventName:s,deep:c=!1,defaultValue:l,shouldEmit:u}=i,f=ue(),p=r||f?.emit||(f?.$emit)?.bind(f)||(f?.proxy?.$emit)?.bind(f?.proxy),m=s;n||=`modelValue`,m||=`update:${n.toString()}`;let h=e=>a?typeof a==`function`?a(e):pa(e):e,g=()=>$i(t[n])?h(t[n]):l,_=e=>{u?u(e)&&p(m,e):p(m,e)};if(o){let r=g(),i=j(r),a=!1;return e(()=>t[n],e=>{a||(a=!0,i.value=h(e),d(()=>a=!1))}),e(i,e=>{!a&&(e!==t[n]||c)&&_(e)},{deep:c}),i}return D({get(){return g()},set(e){_(e)}})}function ha(e){return e?e.flatMap(e=>e.type===E?ha(e.children):[e]):[]}function J(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function ga(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function _a(e,t,n=`.`,r){if(!ga(t))return _a(e,{},n,r);let i=Object.assign({},t);for(let t in e){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:ga(a)&&ga(i[t])?_a(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function va(e){return(...t)=>t.reduce((t,n)=>_a(t,n,``,e),{})}var ya=va(),[ba,xa]=K(`ConfigProvider`),Sa=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,Ca=(e=21)=>{let t=``,n=e;for(;n--;)t+=Sa[Math.random()*64|0];return t},wa=Xi(()=>{let t=j(new Map),n=j(),r=D(()=>{for(let e of t.value.values())if(e)return!0;return!1}),i=ba({scrollBody:j(!0)}),a=null,o=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.body.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=n.value??``,ra&&a?.(),n.value=void 0};return e(r,(e,t)=>{var r;if(!Qi)return;if(!e){t&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=(r=i.scrollBody)!=null&&r.value?typeof i.scrollBody.value==`object`?ya({padding:i.scrollBody.value.padding===!0?s:i.scrollBody.value.padding,margin:i.scrollBody.value.margin===!0?s:i.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.body.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),ra&&(a=la(document,`touchmove`,e=>Da(e),{passive:!1})),d(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),t});function Ta(e){let t=Ca(6),n=wa();n.value.set(t,e??!1);let r=D({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return sa(()=>{n.value.delete(t)}),r}function Ea(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:Ea(t)}}function Da(e){let t=e||window.event,n=t.target;return n instanceof Element&&Ea(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}var Oa=`data-radix-vue-collection-item`;function ka(t,r=Oa){let i=t??Symbol();return{createCollection:t=>{let a=j([]);function o(){let e=q(t);return e?a.value=Array.from(e.querySelectorAll(`[${r}]:not([data-disabled])`)):a.value=[]}return we(()=>{a.value=[]}),n(o),u(o),e(()=>t?.value,o,{immediate:!0}),w(i,a),a},injectCollection:()=>h(i,j([]))}}function Aa(e){let t=ba({dir:j(`ltr`)});return D(()=>e?.value||t.dir?.value||`ltr`)}function ja(e){let t=ue(),n=t?.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[s(Se(t))]=(...n)=>e(t,...n)}),r}var Ma=0;function Na(){k(e=>{if(!Qi)return;let t=document.querySelectorAll(`[data-radix-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??Pa()),document.body.insertAdjacentElement(`beforeend`,t[1]??Pa()),Ma++,e(()=>{Ma===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),Ma--})})}function Pa(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function Fa(e){return D(()=>{var t;return!Zi(e)||!!((t=q(e))!=null&&t.closest(`form`))})}function Ia(e){let t=ue(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=ee(e);return D(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[Se(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function La(e,t){let n=Ia(e),r=t?ja(t):{};return D(()=>({...n.value,...r}))}function Y(){let e=ue(),t=j(),n=D(()=>[`#text`,`#comment`].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:q(t)),r=Object.assign({},e.exposed),i={};for(let t in e.props)Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(r).length>0)for(let e in r)Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>r[e]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function a(n){t.value=n,n&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),e.exposed=i)}return{forwardRef:a,currentRef:t,currentElement:n}}var Ra=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},za=new WeakMap,Ba=new WeakMap,Va={},Ha=0,Ua=function(e){return e&&(e.host||Ua(e.parentNode))},Wa=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Ua(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Ga=function(e,t,n,r){var i=Wa(t,Array.isArray(e)?e:[e]);Va[n]||(Va[n]=new WeakMap);var a=Va[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(za.get(e)||0)+1,l=(a.get(e)||0)+1;za.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Ba.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Ha++,function(){o.forEach(function(e){var t=za.get(e)-1,i=a.get(e)-1;za.set(e,t),a.set(e,i),t||(Ba.has(e)||e.removeAttribute(r),Ba.delete(e)),i||e.removeAttribute(n)}),Ha--,Ha||(za=new WeakMap,za=new WeakMap,Ba=new WeakMap,Va={})}},Ka=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=Ra(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live]`))),Ga(r,i,n,`aria-hidden`)):function(){return null}};function qa(t){let n;e(()=>q(t),e=>{e?n=Ka(e):n&&n()}),C(()=>{n&&n()})}var Ja=0;function Ya(e,t=`radix`){if(e)return e;let n=ba({useId:void 0});return T?`${t}-${T()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++Ja}`}function Xa(e){let t=j(),r=D(()=>t.value?.width??0),i=D(()=>t.value?.height??0);return n(()=>{let n=q(e);if(n){t.value={width:n.offsetWidth,height:n.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}});return e.observe(n,{box:`border-box`}),()=>e.unobserve(n)}t.value=void 0}),{width:r,height:i}}function Za(e,t){let n=j(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}var Qa=`data-item-text`;function $a(e){let t=oa(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(!(e!=null&&e.value)&&!r)return;t.value+=n;let i=e?.value??r,a=J(),o=i.map(e=>({ref:e,textValue:(e.querySelector(`[${Qa}]`)??e).textContent?.trim()??``})),s=o.find(e=>e.ref===a),c=to(o.map(e=>e.textValue),t.value,s?.textValue),l=o.find(e=>e.textValue===c);return l&&l.ref.focus(),l?.ref},resetTypeahead:()=>{t.value=``}}}function eo(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function to(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=eo(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}var no=_({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var e,r;if(!n.default)return null;let i=ha(n.default()),a=i.findIndex(e=>e.type!==oe);if(a===-1)return i;let o=i[a];(e=o.props)==null||delete e.ref;let s=o.props?c(t,o.props):t;t.class&&(r=o.props)!=null&&r.class&&delete o.props.class;let l=Ce(o,s);for(let e in s)e.startsWith(`on`)&&(l.props||={},l.props[e]=s[e]);return i.length===1?l:(i[a]=l,i)}}}),X=_({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&[`area`,`img`,`input`].includes(r)?()=>A(r,t):r===`template`?()=>A(no,t,{default:n.default}):()=>A(e.as,t,{default:n.default})}});function ro(){let e=j();return{primitiveElement:e,currentElement:D(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:q(e))}}var[io,ao]=K(`CollapsibleRoot`);function oo(t,n){let r=j({}),i=j(`none`),a=j(t),o=t.value?`mounted`:`unmounted`,s,c=n.value?.ownerDocument.defaultView??ca,{state:l,dispatch:u}=Za(o,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),f=e=>{var t;if(Qi){let r=new CustomEvent(e,{bubbles:!1,cancelable:!1});(t=n.value)==null||t.dispatchEvent(r)}};e(t,async(e,t)=>{let a=t!==e;if(await d(),a){let a=i.value,o=so(n.value);e?(u(`MOUNT`),f(`enter`),o===`none`&&f(`after-enter`)):o===`none`||r.value?.display===`none`?(u(`UNMOUNT`),f(`leave`),f(`after-leave`)):t&&a!==o?(u(`ANIMATION_OUT`),f(`leave`)):(u(`UNMOUNT`),f(`after-leave`))}},{immediate:!0});let p=e=>{let t=so(n.value),r=t.includes(e.animationName),i=l.value===`mounted`?`enter`:`leave`;if(e.target===n.value&&r&&(f(`after-${i}`),u(`ANIMATION_END`),!a.value)){let e=n.value.style.animationFillMode;n.value.style.animationFillMode=`forwards`,s=c?.setTimeout(()=>{n.value?.style.animationFillMode===`forwards`&&(n.value.style.animationFillMode=e)})}e.target===n.value&&t===`none`&&u(`ANIMATION_END`)},m=e=>{e.target===n.value&&(i.value=so(n.value))},h=e(n,(e,t)=>{e?(r.value=getComputedStyle(e),e.addEventListener(`animationstart`,m),e.addEventListener(`animationcancel`,p),e.addEventListener(`animationend`,p)):(u(`ANIMATION_END`),s!==void 0&&c?.clearTimeout(s),t?.removeEventListener(`animationstart`,m),t?.removeEventListener(`animationcancel`,p),t?.removeEventListener(`animationend`,p))},{immediate:!0}),g=e(l,()=>{let e=so(n.value);i.value=l.value===`mounted`?e:`none`});return C(()=>{h(),g()}),{isPresent:D(()=>[`mounted`,`unmountSuspended`].includes(l.value))}}function so(e){return e&&getComputedStyle(e).animationName||`none`}var co=_({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r;let{present:i,forceMount:a}=ye(e),o=j(),{isPresent:s}=oo(i,o);n({present:s});let c=t.default({present:s});c=ha(c||[]);let l=ue();if(c&&c?.length>1){let e=(r=l?.parent)!=null&&r.type.name?`<${l.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
2
+ `)].join(`
3
+ `))}return()=>a.value||i.value||s.value?A(t.default({present:s})[0],{ref:e=>{let t=q(e);return typeof t?.hasAttribute>`u`||(t!=null&&t.hasAttribute(`data-radix-popper-content-wrapper`)?o.value=t.firstElementChild:o.value=t),t}}):null}}),[lo,uo]=K(`AccordionRoot`),[fo,po]=K(`AccordionItem`),[Z,mo]=K(`DialogRoot`),ho=_({inheritAttrs:!1,__name:`DialogRoot`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=ma(n,`open`,t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=j(),a=j(),{modal:o}=ye(n);return mo({open:r,modal:o,openModal:()=>{r.value=!0},onOpenChange:e=>{r.value=e},onOpenToggle:()=>{r.value=!r.value},contentId:``,titleId:``,descriptionId:``,triggerElement:i,contentElement:a}),(e,t)=>p(e.$slots,`default`,{open:O(r)})}}),go=_({__name:`Teleport`,props:{to:{default:`body`},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){let t=fa();return(e,n)=>O(t)||e.forceMount?(S(),b(ve,{key:0,to:e.to,disabled:e.disabled},[p(e.$slots,`default`)],8,[`to`,`disabled`])):r(``,!0)}}),_o=`dismissableLayer.pointerDownOutside`,vo=`dismissableLayer.focusOutside`;function yo(e,t){let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&r===n||i.indexOf(r)<i.indexOf(n))}function bo(e,t){let n=t?.value?.ownerDocument??(globalThis==null?void 0:globalThis.document),r=j(!1),i=j(()=>{});return k(a=>{if(!Qi)return;let o=async a=>{let o=a.target;if(t!=null&&t.value){if(yo(t.value,o)){r.value=!1;return}if(a.target&&!r.value){let t=function(){Hi(_o,e,r)},r={originalEvent:a};a.pointerType===`touch`?(n.removeEventListener(`click`,i.value),i.value=t,n.addEventListener(`click`,i.value,{once:!0})):t()}else n.removeEventListener(`click`,i.value);r.value=!1}},s=window.setTimeout(()=>{n.addEventListener(`pointerdown`,o)},0);a(()=>{window.clearTimeout(s),n.removeEventListener(`pointerdown`,o),n.removeEventListener(`click`,i.value)})}),{onPointerDownCapture:()=>r.value=!0}}function xo(e,t){let n=t?.value?.ownerDocument??(globalThis==null?void 0:globalThis.document),r=j(!1);return k(i=>{if(!Qi)return;let a=async n=>{t!=null&&t.value&&(await d(),!(!t.value||yo(t.value,n.target))&&n.target&&!r.value&&Hi(vo,e,{originalEvent:n}))};n.addEventListener(`focusin`,a),i(()=>n.removeEventListener(`focusin`,a))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}var Q=ie({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),So=_({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=Y(),o=D(()=>a.value?.ownerDocument??globalThis.document),s=D(()=>Q.layersRoot),c=D(()=>a.value?Array.from(s.value).indexOf(a.value):-1),l=D(()=>Q.layersWithOutsidePointerEventsDisabled.size>0),u=D(()=>{let e=Array.from(s.value),[t]=[...Q.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return c.value>=n}),f=bo(async e=>{let t=[...Q.branches].some(t=>t?.contains(e.target));!u.value||t||(r(`pointerDownOutside`,e),r(`interactOutside`,e),await d(),e.defaultPrevented||r(`dismiss`))},a),m=xo(e=>{[...Q.branches].some(t=>t?.contains(e.target))||(r(`focusOutside`,e),r(`interactOutside`,e),e.defaultPrevented||r(`dismiss`))},a);da(`Escape`,e=>{c.value===s.value.size-1&&(r(`escapeKeyDown`,e),e.defaultPrevented||r(`dismiss`))});let h;return k(e=>{a.value&&(n.disableOutsidePointerEvents&&(Q.layersWithOutsidePointerEventsDisabled.size===0&&(h=o.value.body.style.pointerEvents,o.value.body.style.pointerEvents=`none`),Q.layersWithOutsidePointerEventsDisabled.add(a.value)),s.value.add(a.value),e(()=>{n.disableOutsidePointerEvents&&Q.layersWithOutsidePointerEventsDisabled.size===1&&(o.value.body.style.pointerEvents=h)}))}),k(e=>{e(()=>{a.value&&(s.value.delete(a.value),Q.layersWithOutsidePointerEventsDisabled.delete(a.value))})}),(e,t)=>(S(),b(O(X),{ref:O(i),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:be({pointerEvents:l.value?u.value?`auto`:`none`:void 0}),onFocusCapture:O(m).onFocusCapture,onBlurCapture:O(m).onBlurCapture,onPointerdownCapture:O(f).onPointerDownCapture},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),Co=`focusScope.autoFocusOnMount`,wo=`focusScope.autoFocusOnUnmount`,To={bubbles:!1,cancelable:!0};function Eo(e,{select:t=!1}={}){let n=J();for(let r of e)if(Mo(r,{select:t}),J()!==n)return!0}function Do(e){let t=Oo(e);return[ko(t,e),ko(t.reverse(),e)]}function Oo(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ko(e,t){for(let n of e)if(!Ao(n,{upTo:t}))return n}function Ao(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function jo(e){return e instanceof HTMLInputElement&&`select`in e}function Mo(e,{select:t=!1}={}){if(e&&e.focus){let n=J();e.focus({preventScroll:!0}),e!==n&&jo(e)&&t&&e.select()}}var No=Yi(()=>j([]));function Po(){let e=No();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=Fo(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=Fo(e.value,t),(n=e.value[0])==null||n.resume()}}}function Fo(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Io(e){return e.filter(e=>e.tagName!==`A`)}var Lo=_({__name:`FocusScope`,props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let n=e,r=t,{currentRef:i,currentElement:a}=Y(),o=j(null),s=Po(),c=ie({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});k(e=>{if(!Qi)return;let t=a.value;if(!n.trapped)return;function r(e){if(c.paused||!t)return;let n=e.target;t.contains(n)?o.value=n:Mo(o.value,{select:!0})}function i(e){if(c.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||Mo(o.value,{select:!0}))}function s(e){t.contains(o.value)||Mo(t)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,i);let l=new MutationObserver(s);t&&l.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,i),l.disconnect()})}),k(async e=>{let t=a.value;if(await d(),!t)return;s.add(c);let n=J();if(!t.contains(n)){let e=new CustomEvent(Co,To);t.addEventListener(Co,e=>r(`mountAutoFocus`,e)),t.dispatchEvent(e),e.defaultPrevented||(Eo(Io(Oo(t)),{select:!0}),J()===n&&Mo(t))}e(()=>{t.removeEventListener(Co,e=>r(`mountAutoFocus`,e));let e=new CustomEvent(wo,To),i=e=>{r(`unmountAutoFocus`,e)};t.addEventListener(wo,i),t.dispatchEvent(e),setTimeout(()=>{e.defaultPrevented||Mo(n??document.body,{select:!0}),t.removeEventListener(wo,i),s.remove(c)},0)})});function l(e){if(!n.loop&&!n.trapped||c.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=J();if(t&&r){let t=e.currentTarget,[i,a]=Do(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n.loop&&Mo(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n.loop&&Mo(a,{select:!0})):r===t&&e.preventDefault()}}return(e,t)=>(S(),b(O(X),{ref_key:`currentRef`,ref:i,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:l},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),Ro=[`Enter`,` `],zo=[`ArrowDown`,`PageUp`,`Home`],Bo=[`ArrowUp`,`PageDown`,`End`];[...zo,...Bo],[...Ro],[...Ro];function Vo(e){return e?`open`:`closed`}function Ho(e){let t=J();for(let n of e)if(n===t||(n.focus(),J()!==t))return}var Uo=_({__name:`DialogContentImpl`,props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let r=e,i=t,o=Z(),{forwardRef:s,currentElement:l}=Y();return o.titleId||=Ya(void 0,`radix-vue-dialog-title`),o.descriptionId||=Ya(void 0,`radix-vue-dialog-description`),n(()=>{o.contentElement=l,J()!==document.body&&(o.triggerElement.value=J())}),(e,t)=>(S(),b(O(Lo),{"as-child":``,loop:``,trapped:r.trapFocus,onMountAutoFocus:t[5]||=e=>i(`openAutoFocus`,e),onUnmountAutoFocus:t[6]||=e=>i(`closeAutoFocus`,e)},{default:M(()=>[a(O(So),c({id:O(o).contentId,ref:O(s),as:e.as,"as-child":e.asChild,"disable-outside-pointer-events":e.disableOutsidePointerEvents,role:`dialog`,"aria-describedby":O(o).descriptionId,"aria-labelledby":O(o).titleId,"data-state":O(Vo)(O(o).open.value)},e.$attrs,{onDismiss:t[0]||=e=>O(o).onOpenChange(!1),onEscapeKeyDown:t[1]||=e=>i(`escapeKeyDown`,e),onFocusOutside:t[2]||=e=>i(`focusOutside`,e),onInteractOutside:t[3]||=e=>i(`interactOutside`,e),onPointerDownOutside:t[4]||=e=>i(`pointerDownOutside`,e)}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`disable-outside-pointer-events`,`aria-describedby`,`aria-labelledby`,`data-state`])]),_:3},8,[`trapped`]))}}),Wo=_({__name:`DialogContentModal`,props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Z(),a=ja(r),{forwardRef:o,currentElement:s}=Y();return qa(s),(e,t)=>(S(),b(Uo,c({...n,...O(a)},{ref:O(o),"trap-focus":O(i).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:t[0]||=e=>{var t;e.defaultPrevented||(e.preventDefault(),(t=O(i).triggerElement.value)==null||t.focus())},onPointerDownOutside:t[1]||=e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()},onFocusOutside:t[2]||=e=>{e.preventDefault()}}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`trap-focus`]))}}),Go=_({__name:`DialogContentNonModal`,props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=ja(t);Y();let i=Z(),a=j(!1),o=j(!1);return(e,t)=>(S(),b(Uo,c({...n,...O(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:t[0]||=e=>{var t;e.defaultPrevented||(a.value||(t=O(i).triggerElement.value)==null||t.focus(),e.preventDefault()),a.value=!1,o.value=!1},onInteractOutside:t[1]||=e=>{var t;e.defaultPrevented||(a.value=!0,e.detail.originalEvent.type===`pointerdown`&&(o.value=!0));let n=e.target;(t=O(i).triggerElement.value)!=null&&t.contains(n)&&e.preventDefault(),e.detail.originalEvent.type===`focusin`&&o.value&&e.preventDefault()}}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16))}}),Ko=_({__name:`DialogContent`,props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Z(),a=ja(r),{forwardRef:o}=Y();return(e,t)=>(S(),b(O(co),{present:e.forceMount||O(i).open.value},{default:M(()=>[O(i).modal.value?(S(),b(Wo,c({key:0,ref:O(o)},{...n,...O(a),...e.$attrs}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16)):(S(),b(Go,c({key:1,ref:O(o)},{...n,...O(a),...e.$attrs}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),qo=_({__name:`DialogOverlayImpl`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=Z();return Ta(!0),Y(),(e,n)=>(S(),b(O(X),{as:e.as,"as-child":e.asChild,"data-state":O(t).open.value?`open`:`closed`,style:{"pointer-events":`auto`}},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`]))}}),Jo=_({__name:`DialogOverlay`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=Z(),{forwardRef:n}=Y();return(e,i)=>{var o;return(o=O(t))!=null&&o.modal.value?(S(),b(O(co),{key:0,present:e.forceMount||O(t).open.value},{default:M(()=>[a(qo,c(e.$attrs,{ref:O(n),as:e.as,"as-child":e.asChild}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`as`,`as-child`])]),_:3},8,[`present`])):r(``,!0)}}}),Yo=_({__name:`DialogClose`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e;Y();let n=Z();return(e,r)=>(S(),b(O(X),c(t,{type:e.as===`button`?`button`:void 0,onClick:r[0]||=e=>O(n).onOpenChange(!1)}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`type`]))}}),Xo=_({__name:`DialogTitle`,props:{asChild:{type:Boolean},as:{default:`h2`}},setup(e){let t=e,n=Z();return Y(),(e,r)=>(S(),b(O(X),c(t,{id:O(n).titleId}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`id`]))}}),Zo=_({__name:`DialogDescription`,props:{asChild:{type:Boolean},as:{default:`p`}},setup(e){let t=e;Y();let n=Z();return(e,r)=>(S(),b(O(X),c(t,{id:O(n).descriptionId}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`id`]))}}),[Qo,$o]=K(`AlertDialogContent`),[es,ts]=K(`AvatarRoot`),[ns,rs]=K(`CalendarRoot`);function is(e){return e===`indeterminate`}function as(e){return is(e)?`indeterminate`:e?`checked`:`unchecked`}var os=[`value`,`checked`,`name`,`disabled`,`required`],[ss,cs]=K(`CheckboxRoot`),ls=_({inheritAttrs:!1,__name:`CheckboxRoot`,props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:`on`},id:{},asChild:{type:Boolean},as:{default:`button`}},emits:[`update:checked`],setup(e,{emit:t}){let n=e,i=t,{disabled:o}=ye(n),s=ma(n,`checked`,i,{defaultValue:n.defaultChecked,passive:n.checked===void 0}),{forwardRef:l,currentElement:u}=Y(),d=Fa(u),f=D(()=>n.id&&u.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return cs({disabled:o,state:s}),(e,t)=>(S(),N(E,null,[a(O(X),c(e.$attrs,{id:e.id,ref:O(l),role:`checkbox`,"as-child":n.asChild,as:e.as,type:e.as===`button`?`button`:void 0,"aria-checked":O(is)(O(s))?`mixed`:O(s),"aria-required":n.required,"aria-label":e.$attrs[`aria-label`]||f.value,"data-state":O(as)(O(s)),"data-disabled":O(o)?``:void 0,disabled:O(o),onKeydown:fe(se(()=>{},[`prevent`]),[`enter`]),onClick:t[0]||=e=>s.value=O(is)(O(s))?!0:!O(s)}),{default:M(()=>[p(e.$slots,`default`,{checked:O(s)})]),_:3},16,[`id`,`as-child`,`as`,`type`,`aria-checked`,`aria-required`,`aria-label`,`data-state`,`data-disabled`,`disabled`,`onKeydown`]),O(d)?(S(),N(`input`,{key:0,type:`checkbox`,tabindex:`-1`,"aria-hidden":`true`,value:e.value,checked:!!O(s),name:n.name,disabled:n.disabled,required:n.required,style:{transform:`translateX(-100%)`,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}},null,8,os)):r(``,!0)],64))}}),us=_({__name:`CheckboxIndicator`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(e){let{forwardRef:t}=Y(),n=ss();return(e,r)=>(S(),b(O(co),{present:e.forceMount||O(is)(O(n).state.value)||O(n).state.value===!0},{default:M(()=>[a(O(X),c({ref:O(t),"data-state":O(as)(O(n).state.value),"data-disabled":O(n).disabled.value?``:void 0,style:{pointerEvents:`none`},"as-child":e.asChild,as:e.as},e.$attrs),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`data-state`,`data-disabled`,`as-child`,`as`])]),_:3},8,[`present`]))}}),[ds,fs]=K(`PopperRoot`),ps=_({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=j();return fs({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>p(e.$slots,`default`)}}),ms=_({__name:`PopperAnchor`,props:{element:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,{forwardRef:n,currentElement:r}=Y(),i=ds();return k(()=>{i.onAnchorChange(t.element??r.value)}),(e,t)=>(S(),b(O(X),{ref:O(n),as:e.as,"as-child":e.asChild},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function hs(e){return e!==null}function gs(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=_s(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function _s(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var vs={side:`bottom`,sideOffset:0,align:`center`,alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,updatePositionStrategy:`optimized`,prioritizePosition:!1},[ys,bs]=K(`PopperContent`),xs=_({inheritAttrs:!1,__name:`PopperContent`,props:g({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...vs}),emits:[`placed`],setup(e,{emit:t}){let n=e,r=t,i=ds(),{forwardRef:o,currentElement:s}=Y(),l=j(),u=j(),{width:d,height:f}=Xa(u),m=D(()=>n.side+(n.align===`center`?``:`-${n.align}`)),h=D(()=>typeof n.collisionPadding==`number`?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),g=D(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),_=D(()=>({padding:h.value,boundary:g.value.filter(hs),altBoundary:g.value.length>0})),v=qi(()=>[ci({mainAxis:n.sideOffset+f.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&ui({..._.value}),n.avoidCollisions&&li({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky===`partial`?mi():void 0,..._.value}),!n.prioritizePosition&&n.avoidCollisions&&ui({..._.value}),di({..._.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),u.value&&yi({element:u.value,padding:n.arrowPadding}),gs({arrowWidth:d.value,arrowHeight:f.value}),n.hideWhenDetached&&fi({strategy:`referenceHidden`,..._.value})]),{floatingStyles:y,placement:b,isPositioned:x,middlewareData:C}=Si(i.anchor,l,{strategy:`fixed`,placement:m,whileElementsMounted:(...e)=>si(...e,{animationFrame:n.updatePositionStrategy===`always`}),middleware:v}),w=D(()=>_s(b.value)[0]),T=D(()=>_s(b.value)[1]);ge(()=>{x.value&&r(`placed`)});let E=D(()=>C.value.arrow?.centerOffset!==0),ee=j(``);return k(()=>{s.value&&(ee.value=window.getComputedStyle(s.value).zIndex)}),bs({placedSide:w,onArrowChange:e=>u.value=e,arrowX:D(()=>C.value.arrow?.x??0),arrowY:D(()=>C.value.arrow?.y??0),shouldHideArrow:E}),(e,t)=>(S(),N(`div`,{ref_key:`floatingRef`,ref:l,"data-radix-popper-content-wrapper":``,style:be({...O(y),transform:O(x)?O(y).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ee.value,"--radix-popper-transform-origin":[O(C).transformOrigin?.x,O(C).transformOrigin?.y].join(` `),...O(C).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[a(O(X),c({ref:O(o)},e.$attrs,{"as-child":n.asChild,as:e.as,"data-side":w.value,"data-align":T.value,style:{animation:O(x)?void 0:`none`}}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])],4))}}),Ss=_({__name:`VisuallyHidden`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(e){return Y(),(e,t)=>(S(),b(O(X),{as:e.as,"as-child":e.asChild,style:{position:`absolute`,border:0,width:`1px`,display:`inline-block`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}}),[Cs,ws]=K(`CollectionProvider`);_({name:`CollectionSlot`,setup(t,{slots:n}){let r=Cs(),{primitiveElement:i,currentElement:a}=ro();return e(a,()=>{r.collectionRef.value=a.value}),()=>A(no,{ref:i},n)}}),_({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let r=Cs(),{primitiveElement:i,currentElement:a}=ro();return k(t=>{if(a.value){let n=de(a.value);r.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>r.itemMap.value.delete(n))}}),()=>A(no,{...n,[r.attrName]:``,ref:i},t)}});var[Ts,Es]=K(`ComboboxRoot`),[Ds,Os]=K(`ComboboxGroup`),[ks,As]=K(`ComboboxContent`);function js(e){let t=ba({nonce:j()});return D(()=>e?.value||t.nonce?.value)}var[Ms,Ns]=K(`ComboboxItem`),[Ps,Fs]=K([`MenuRoot`,`MenuSub`],`MenuContext`),[Is,Ls]=K(`MenuRoot`),[Rs,zs]=K(`RovingFocusGroup`),[Bs,Vs]=K(`MenuContent`);({...vs});var[Hs,Us]=K([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`),[Ws,Gs]=K(`MenuRadioGroup`),[Ks,qs]=K(`MenuSub`),[Js,Ys]=K(`ContextMenuRoot`),[Xs,Zs]=K(`DateFieldRoot`),[Qs,$s]=K(`DatePickerRoot`),[ec,tc]=K(`DateRangePickerRoot`),[nc,rc]=K(`DateRangeFieldRoot`),[ic,ac]=K(`DropdownMenuRoot`),[oc,sc]=K(`EditableRoot`),[cc,lc]=K(`HoverCardRoot`),[uc,dc]=K(`ListboxRoot`),[fc,pc]=K(`ListboxItem`);typeof window>`u`||`onscrollend`in window;var[mc,hc]=K(`ListboxGroup`),[gc,_c]=K(`MenubarRoot`),[vc,yc]=K(`MenubarMenu`),[bc,xc]=K([`NavigationMenuRoot`,`NavigationMenuSub`],`NavigationMenuContext`),[Sc,Cc]=K(`NavigationMenuItem`),[wc,Tc]=K(`NumberFieldRoot`),[Ec,Dc]=K(`PaginationRoot`),[Oc,kc]=K(`PinInputRoot`),[Ac,jc]=K(`PopoverRoot`),[Mc,Nc]=K(`ProgressRoot`),[Pc,Fc]=K(`RadioGroupRoot`),[Ic,Lc]=K(`RadioGroupItem`),[Rc,zc]=K(`RangeCalendarRoot`),[Bc,Vc]=K(`ScrollAreaRoot`),[Hc,Uc]=K(`ScrollAreaScrollbarVisible`),[Wc,Gc]=K(`ScrollAreaScrollbar`),Kc=[`default-value`],qc=_({__name:`BubbleSelect`,props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(e){let t=e,{value:n}=ye(t),r=j();return(e,i)=>(S(),b(O(Ss),{"as-child":``},{default:M(()=>[le(xe(`select`,c({ref_key:`selectElement`,ref:r},t,{"onUpdate:modelValue":i[0]||=e=>ne(n)?n.value=e:null,"default-value":O(n)}),[p(e.$slots,`default`)],16,Kc),[[re,O(n)]])]),_:3}))}}),Jc={key:0,value:``},[Yc,Xc]=K(`SelectRoot`),[Zc,Qc]=K(`SelectRoot`),$c=_({__name:`SelectRoot`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:``},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:[`update:modelValue`,`update:open`],setup(e,{emit:t}){let n=e,i=t,a=ma(n,`modelValue`,i,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),o=ma(n,`open`,i,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=j(),u=j(),d=j({x:0,y:0}),m=j(!1),{required:h,disabled:g,dir:_}=ye(n);Xc({triggerElement:s,onTriggerChange:e=>{s.value=e},valueElement:u,onValueElementChange:e=>{u.value=e},valueElementHasChildren:m,onValueElementHasChildrenChange:e=>{m.value=e},contentId:``,modelValue:a,onValueChange:e=>{a.value=e},open:o,required:h,onOpenChange:e=>{o.value=e},dir:Aa(_),triggerPointerDownPosRef:d,disabled:g});let v=Fa(s),y=j(new Set),x=D(()=>Array.from(y.value).map(e=>e.props?.value).join(`;`));return Qc({onNativeOptionAdd:e=>{y.value.add(e)},onNativeOptionRemove:e=>{y.value.delete(e)}}),(e,t)=>(S(),b(O(ps),null,{default:M(()=>[p(e.$slots,`default`,{modelValue:O(a),open:O(o)}),O(v)?(S(),b(qc,c({key:x.value},e.$attrs,{"aria-hidden":`true`,tabindex:`-1`,required:O(h),name:e.name,autocomplete:e.autocomplete,disabled:O(g),value:O(a),onChange:t[0]||=e=>a.value=e.target.value}),{default:M(()=>[O(a)===void 0?(S(),N(`option`,Jc)):r(``,!0),(S(!0),N(E,null,l(Array.from(y.value),e=>(S(),b(f(e),c({ref_for:!0},e.props,{key:e.key??``}),null,16))),128))]),_:1},16,[`required`,`name`,`autocomplete`,`disabled`,`value`])):r(``,!0)]),_:3}))}}),el=[` `,`Enter`,`ArrowUp`,`ArrowDown`],tl=[` `,`Enter`],$=10;function nl(e){return e===``||Wi(e)}var rl=_({__name:`SelectTrigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e,r=Yc(),i=D(()=>r.disabled?.value||t.disabled),{forwardRef:o,currentElement:s}=Y();r.contentId||=Ya(void 0,`radix-vue-select-content`),n(()=>{r.triggerElement=s});let{injectCollection:c}=ka(),{search:l,handleTypeaheadSearch:u,resetTypeahead:d}=$a(c());function f(){i.value||(r.onOpenChange(!0),d())}function m(e){f(),r.triggerPointerDownPosRef.value={x:Math.round(e.pageX),y:Math.round(e.pageY)}}return(e,t)=>(S(),b(O(ms),{"as-child":``},{default:M(()=>{var n;return[a(O(X),{ref:O(o),role:`combobox`,type:e.as===`button`?`button`:void 0,"aria-controls":O(r).contentId,"aria-expanded":O(r).open.value||!1,"aria-required":O(r).required?.value,"aria-autocomplete":`none`,disabled:i.value,dir:O(r)?.dir.value,"data-state":(n=O(r))!=null&&n.open.value?`open`:`closed`,"data-disabled":i.value?``:void 0,"data-placeholder":O(nl)(O(r).modelValue?.value)?``:void 0,"as-child":e.asChild,as:e.as,onClick:t[0]||=e=>{var t;(t=e?.currentTarget)==null||t.focus()},onPointerdown:t[1]||=e=>{if(e.pointerType===`touch`)return e.preventDefault();let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&(m(e),e.preventDefault())},onPointerup:t[2]||=se(e=>{e.pointerType===`touch`&&m(e)},[`prevent`]),onKeydown:t[3]||=e=>{let t=O(l)!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&t&&e.key===` `||(O(u)(e.key),O(el).includes(e.key)&&(f(),e.preventDefault()))}},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`type`,`aria-controls`,`aria-expanded`,`aria-required`,`disabled`,`dir`,`data-state`,`data-disabled`,`data-placeholder`,`as-child`,`as`])]}),_:3}))}}),il=_({__name:`SelectPortal`,props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){let n=e;return(e,r)=>(S(),b(O(go),i(t(n)),{default:M(()=>[p(e.$slots,`default`)]),_:3},16))}}),[al,ol]=K(`SelectItemAlignedPosition`),sl=_({inheritAttrs:!1,__name:`SelectItemAlignedPosition`,props:{asChild:{type:Boolean},as:{}},emits:[`placed`],setup(e,{emit:t}){let r=e,i=t,{injectCollection:o}=ka(),s=Yc(),l=ul(),u=o(),f=j(!1),m=j(!0),h=j(),{forwardRef:g,currentElement:_}=Y(),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:x}=l;function C(){if(s.triggerElement.value&&s.valueElement.value&&h.value&&_.value&&v!=null&&v.value&&y!=null&&y.value&&b!=null&&b.value){let e=s.triggerElement.value.getBoundingClientRect(),t=_.value.getBoundingClientRect(),n=s.valueElement.value.getBoundingClientRect(),r=b.value.getBoundingClientRect();if(s.dir.value!==`rtl`){let i=r.left-t.left,a=n.left-i,o=e.left-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-$,u=Ui(a,$,Math.max($,l-c));h.value.style.minWidth=`${s}px`,h.value.style.left=`${u}px`}else{let i=t.right-r.right,a=window.innerWidth-n.right-i,o=window.innerWidth-e.right-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-$,u=Ui(a,$,Math.max($,l-c));h.value.style.minWidth=`${s}px`,h.value.style.right=`${u}px`}let a=u.value,o=window.innerHeight-20,c=v.value.scrollHeight,l=window.getComputedStyle(_.value),d=Number.parseInt(l.borderTopWidth,10),p=Number.parseInt(l.paddingTop,10),m=Number.parseInt(l.borderBottomWidth,10),g=Number.parseInt(l.paddingBottom,10),x=d+p+c+g+m,S=Math.min(y.value.offsetHeight*5,x),C=window.getComputedStyle(v.value),w=Number.parseInt(C.paddingTop,10),T=Number.parseInt(C.paddingBottom,10),E=e.top+e.height/2-$,ee=o-E,te=y.value.offsetHeight/2,D=y.value.offsetTop+te,O=d+p+D,ne=x-O;if(O<=E){let e=y.value===a[a.length-1];h.value.style.bottom=`0px`;let t=_.value.clientHeight-v.value.offsetTop-v.value.offsetHeight,n=O+Math.max(ee,te+(e?T:0)+t+m);h.value.style.height=`${n}px`}else{let e=y.value===a[0];h.value.style.top=`0px`;let t=Math.max(E,d+v.value.offsetTop+(e?w:0)+te)+ne;h.value.style.height=`${t}px`,v.value.scrollTop=O-E+v.value.offsetTop}h.value.style.margin=`${$}px 0`,h.value.style.minHeight=`${S}px`,h.value.style.maxHeight=`${o}px`,i(`placed`),requestAnimationFrame(()=>f.value=!0)}}let w=j(``);n(async()=>{await d(),C(),_.value&&(w.value=window.getComputedStyle(_.value).zIndex)});function T(e){e&&m.value===!0&&(C(),x?.(),m.value=!1)}return ol({contentWrapper:h,shouldExpandOnScrollRef:f,onScrollButtonChange:T}),(e,t)=>(S(),N(`div`,{ref_key:`contentWrapperElement`,ref:h,style:be({display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:w.value})},[a(O(X),c({ref:O(g),style:{boxSizing:`border-box`,maxHeight:`100%`}},{...e.$attrs,...r}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16)],4))}}),cl=_({__name:`SelectPopperPosition`,props:{side:{},sideOffset:{},align:{default:`start`},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:$},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=Ia(e);return(e,n)=>(S(),b(O(xs),c(O(t),{style:{boxSizing:`border-box`,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16))}}),ll={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ul,dl]=K(`SelectContent`),fl=_({__name:`SelectContentImpl`,props:{position:{default:`item-aligned`},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:`start`},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(t,{emit:n}){let r=t,i=n,o=Yc();Na(),Ta(r.bodyLock);let{createCollection:s}=ka(),l=j();qa(l);let u=s(l),{search:d,handleTypeaheadSearch:m}=$a(u),h=j(),g=j(),_=j(),v=j(!1),y=j(!1);function x(){g.value&&l.value&&Ho([g.value,l.value])}e(v,()=>{x()});let{onOpenChange:C,triggerPointerDownPosRef:w}=o;k(e=>{if(!l.value)return;let t={x:0,y:0},n=e=>{t={x:Math.abs(Math.round(e.pageX)-(w.value?.x??0)),y:Math.abs(Math.round(e.pageY)-(w.value?.y??0))}},r=e=>{var r;e.pointerType!==`touch`&&(t.x<=10&&t.y<=10?e.preventDefault():(r=l.value)!=null&&r.contains(e.target)||C(!1),document.removeEventListener(`pointermove`,n),w.value=null)};w.value!==null&&(document.addEventListener(`pointermove`,n),document.addEventListener(`pointerup`,r,{capture:!0,once:!0})),e(()=>{document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r,{capture:!0})})});function T(e){let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&m(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=u.value;if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>Ho(t)),e.preventDefault()}}let E=Ia(D(()=>r.position===`popper`?r:{}).value);return dl({content:l,viewport:h,onViewportChange:e=>{h.value=e},itemRefCallback:(e,t,n)=>{let r=!y.value&&!n;(o.modelValue?.value!==void 0&&o.modelValue?.value===t||r)&&(g.value=e,r&&(y.value=!0))},selectedItem:g,selectedItemText:_,onItemLeave:()=>{var e;(e=l.value)==null||e.focus()},itemTextRefCallback:(e,t,n)=>{let r=!y.value&&!n;(o.modelValue?.value!==void 0&&o.modelValue?.value===t||r)&&(_.value=e)},focusSelectedItem:x,position:r.position,isPositioned:v,searchRef:d}),(e,t)=>(S(),b(O(Lo),{"as-child":``,onMountAutoFocus:t[6]||=se(()=>{},[`prevent`]),onUnmountAutoFocus:t[7]||=e=>{var t;i(`closeAutoFocus`,e),!e.defaultPrevented&&((t=O(o).triggerElement.value)==null||t.focus({preventScroll:!0}),e.preventDefault())}},{default:M(()=>[a(O(So),{"as-child":``,"disable-outside-pointer-events":``,onFocusOutside:t[2]||=se(()=>{},[`prevent`]),onDismiss:t[3]||=e=>O(o).onOpenChange(!1),onEscapeKeyDown:t[4]||=e=>i(`escapeKeyDown`,e),onPointerDownOutside:t[5]||=e=>i(`pointerDownOutside`,e)},{default:M(()=>[(S(),b(f(e.position===`popper`?cl:sl),c({...e.$attrs,...O(E)},{id:O(o).contentId,ref:e=>{l.value=O(q)(e)},role:`listbox`,"data-state":O(o).open.value?`open`:`closed`,dir:O(o).dir.value,style:{display:`flex`,flexDirection:`column`,outline:`none`},onContextmenu:t[0]||=se(()=>{},[`prevent`]),onPlaced:t[1]||=e=>v.value=!0,onKeydown:T}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`onKeydown`]))]),_:3})]),_:3}))}}),pl=_({inheritAttrs:!1,__name:`SelectProvider`,props:{context:{}},setup(e){return Xc(e.context),(e,t)=>p(e.$slots,`default`)}}),ml={key:1},hl=_({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:o}){let s=e,c=La(s,o),l=Yc(),u=j();n(()=>{u.value=new DocumentFragment});let d=j(),f=D(()=>s.forceMount||l.open.value);return(e,n)=>{var o;return f.value?(S(),b(O(co),{key:0,ref_key:`presenceRef`,ref:d,present:!0},{default:M(()=>[a(fl,i(t({...O(c),...e.$attrs})),{default:M(()=>[p(e.$slots,`default`)]),_:3},16)]),_:3},512)):!((o=d.value)!=null&&o.present)&&u.value?(S(),N(`div`,ml,[(S(),b(ve,{to:u.value},[a(pl,{context:O(l)},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`context`])],8,[`to`]))])):r(``,!0)}}}),[gl,_l]=K(`SelectItem`),vl=_({__name:`SelectItem`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,{disabled:r}=ye(t),i=Yc(),a=ul(ll),{forwardRef:o,currentElement:s}=Y(),c=D(()=>i.modelValue?.value===t.value),l=j(!1),u=j(t.textValue??``),f=Ya(void 0,`radix-vue-select-item-text`);async function m(e){await d(),!(e!=null&&e.defaultPrevented)&&(r.value||(i.onValueChange(t.value),i.onOpenChange(!1)))}async function h(e){var t;await d(),!e.defaultPrevented&&(r.value?(t=a.onItemLeave)==null||t.call(a):e.currentTarget.focus({preventScroll:!0}))}async function g(e){var t;await d(),!e.defaultPrevented&&e.currentTarget===J()&&((t=a.onItemLeave)==null||t.call(a))}async function _(e){await d(),!(e.defaultPrevented||a.searchRef?.value!==``&&e.key===` `)&&(tl.includes(e.key)&&m(),e.key===` `&&e.preventDefault())}if(t.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return n(()=>{s.value&&a.itemRefCallback(s.value,t.value,t.disabled)}),_l({value:t.value,disabled:r,textId:f,isSelected:c,onItemTextChange:e=>{u.value=((u.value||e?.textContent)??``).trim()}}),(e,t)=>(S(),b(O(X),{ref:O(o),role:`option`,"data-radix-vue-collection-item":``,"aria-labelledby":O(f),"data-highlighted":l.value?``:void 0,"aria-selected":c.value,"data-state":c.value?`checked`:`unchecked`,"aria-disabled":O(r)||void 0,"data-disabled":O(r)?``:void 0,tabindex:O(r)?void 0:-1,as:e.as,"as-child":e.asChild,onFocus:t[0]||=e=>l.value=!0,onBlur:t[1]||=e=>l.value=!1,onPointerup:m,onPointerdown:t[2]||=e=>{e.currentTarget.focus({preventScroll:!0})},onTouchend:t[3]||=se(()=>{},[`prevent`,`stop`]),onPointermove:h,onPointerleave:g,onKeydown:_},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`aria-labelledby`,`data-highlighted`,`aria-selected`,`data-state`,`aria-disabled`,`data-disabled`,`tabindex`,`as`,`as-child`]))}}),yl=_({__name:`SelectItemIndicator`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(e){let t=e,n=gl();return(e,i)=>O(n).isSelected.value?(S(),b(O(X),c({key:0,"aria-hidden":`true`},t),{default:M(()=>[p(e.$slots,`default`)]),_:3},16)):r(``,!0)}}),[bl,xl]=K(`SelectGroup`),Sl=_({inheritAttrs:!1,__name:`SelectItemText`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(e){let t=e,i=Yc(),o=ul(ll),s=Zc(),l=gl(),{forwardRef:u,currentElement:d}=Y(),f=D(()=>A(`option`,{key:l.value,value:l.value,disabled:l.disabled.value,textContent:d.value?.textContent}));return n(()=>{d.value&&(l.onItemTextChange(d.value),o.itemTextRefCallback(d.value,l.value,l.disabled.value),s.onNativeOptionAdd(f.value))}),y(()=>{s.onNativeOptionRemove(f.value)}),(e,n)=>(S(),N(E,null,[a(O(X),c({id:O(l).textId,ref:O(u)},{...t,...e.$attrs},{"data-item-text":``}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16,[`id`]),O(l).isSelected.value&&O(i).valueElement.value&&!O(i).valueElementHasChildren.value?(S(),b(ve,{key:0,to:O(i).valueElement.value},[p(e.$slots,`default`)],8,[`to`])):r(``,!0)],64))}}),Cl=_({__name:`SelectViewport`,props:{nonce:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,{nonce:r}=ye(t),i=js(r),s=ul(ll),l=s.position===`item-aligned`?al():void 0,{forwardRef:u,currentElement:d}=Y();n(()=>{s?.onViewportChange(d.value)});let f=j(0);function m(e){let t=e.currentTarget,{shouldExpandOnScrollRef:n,contentWrapper:r}=l??{};if(n!=null&&n.value&&r!=null&&r.value){let e=Math.abs(f.value-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Number.parseFloat(r.value.style.minHeight),a=Number.parseFloat(r.value.style.height),o=Math.max(i,a);if(o<n){let i=o+e,a=Math.min(n,i),s=i-a;r.value.style.height=`${a}px`,r.value.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,r.value.style.justifyContent=`flex-end`)}}}f.value=t.scrollTop}return(e,n)=>(S(),N(E,null,[a(O(X),c({ref:O(u),"data-radix-select-viewport":``,role:`presentation`},{...e.$attrs,...t},{style:{position:`relative`,flex:1,overflow:`hidden auto`},onScroll:m}),{default:M(()=>[p(e.$slots,`default`)]),_:3},16),a(O(X),{as:`style`,nonce:O(i)},{default:M(()=>[o(` /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } `)]),_:1},8,[`nonce`])],64))}}),wl=_({__name:`SelectValue`,props:{placeholder:{default:``},asChild:{type:Boolean},as:{default:`span`}},setup(e){let{forwardRef:t,currentElement:r}=Y(),i=Yc(),a=v();return m(()=>{let e=!!ha((a?.default)?.call(a)).length;i.onValueElementHasChildrenChange(e)}),n(()=>{i.valueElement=r}),(e,n)=>(S(),b(O(X),{ref:O(t),as:e.as,"as-child":e.asChild,style:{pointerEvents:`none`}},{default:M(()=>[O(nl)(O(i).modelValue?.value)?(S(),N(E,{key:0},[o(x(e.placeholder),1)],64)):p(e.$slots,`default`,{key:1})]),_:3},8,[`as`,`as-child`]))}}),Tl=_({__name:`SelectIcon`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(e){return(e,t)=>(S(),b(O(X),{"aria-hidden":`true`,as:e.as,"as-child":e.asChild},{default:M(()=>[p(e.$slots,`default`,{},()=>[o(`▼`)])]),_:3},8,[`as`,`as-child`]))}}),[El,Dl]=K([`SliderVertical`,`SliderHorizontal`]),[Ol,kl]=K(`SliderRoot`);function Al(){if(typeof matchMedia==`function`)return matchMedia(`(pointer:coarse)`).matches?`coarse`:`fine`}Al();function jl(e){try{if(typeof localStorage<`u`)e.getItem=e=>localStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw TypeError(`localStorage not supported in this environment`)}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}var Ml={getItem:e=>(jl(Ml),Ml.getItem(e)),setItem:(e,t)=>{jl(Ml),Ml.setItem(e,t)}},[Nl,Pl]=K(`PanelGroup`),[Fl,Il]=K(`StepperRoot`),[Ll,Rl]=K(`StepperItem`),zl=[`name`,`disabled`,`required`,`value`,`checked`,`data-state`,`data-disabled`],[Bl,Vl]=K(`SwitchRoot`),Hl=_({__name:`SwitchRoot`,props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:`on`},asChild:{type:Boolean},as:{default:`button`}},emits:[`update:checked`],setup(e,{emit:t}){let n=e,i=t,{disabled:o}=ye(n),s=ma(n,`checked`,i,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function l(){o.value||(s.value=!s.value)}let{forwardRef:u,currentElement:d}=Y(),f=Fa(d),m=D(()=>n.id&&d.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return Vl({checked:s,toggleCheck:l,disabled:o}),(e,t)=>(S(),N(E,null,[a(O(X),c(e.$attrs,{id:e.id,ref:O(u),role:`switch`,type:e.as===`button`?`button`:void 0,value:e.value,"aria-label":e.$attrs[`aria-label`]||m.value,"aria-checked":O(s),"aria-required":e.required,"data-state":O(s)?`checked`:`unchecked`,"data-disabled":O(o)?``:void 0,"as-child":e.asChild,as:e.as,disabled:O(o),onClick:l,onKeydown:fe(se(l,[`prevent`]),[`enter`])}),{default:M(()=>[p(e.$slots,`default`,{checked:O(s)})]),_:3},16,[`id`,`type`,`value`,`aria-label`,`aria-checked`,`aria-required`,`data-state`,`data-disabled`,`as-child`,`as`,`disabled`,`onKeydown`]),O(f)?(S(),N(`input`,{key:0,type:`checkbox`,name:e.name,tabindex:`-1`,"aria-hidden":`true`,disabled:O(o),required:e.required,value:e.value,checked:!!O(s),"data-state":O(s)?`checked`:`unchecked`,"data-disabled":O(o)?``:void 0,style:{transform:`translateX(-100%)`,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}},null,8,zl)):r(``,!0)],64))}}),Ul=_({__name:`SwitchThumb`,props:{asChild:{type:Boolean},as:{default:`span`}},setup(e){let t=Bl();return Y(),(e,n)=>{var r;return S(),b(O(X),{"data-state":(r=O(t).checked)!=null&&r.value?`checked`:`unchecked`,"data-disabled":O(t).disabled.value?``:void 0,"as-child":e.asChild,as:e.as},{default:M(()=>[p(e.$slots,`default`)]),_:3},8,[`data-state`,`data-disabled`,`as-child`,`as`])}}}),[Wl,Gl]=K(`TabsRoot`),[Kl,ql]=K(`TagsInputRoot`),[Jl,Yl]=K(`TagsInputItem`),[Xl,Zl]=K(`ToastProvider`),[Ql,$l]=K(`ToastRoot`),[eu,tu]=K(`ToggleGroupRoot`),[nu,ru]=K(`ToolbarRoot`),[iu,au]=K(`TooltipProvider`),[ou,su]=K(`TooltipRoot`),[cu,lu]=K(`TreeRoot`);export{Ue as $,ft as A,nt as B,yt as C,ht as D,gt as E,st as F,Ze as G,et as H,ot as I,Je as J,Xe as K,at as L,ut as M,lt as N,mt as O,ct as P,We as Q,it as R,vl as S,_t as T,$e as U,tt as V,Qe as W,Ke as X,qe as Y,Ge as Z,Hl as _,Sl as a,Le as at,Tl as b,Ia as c,Pe as ct,ls as d,He as et,il as f,Ul as g,wl as h,Zo as i,Re as it,dt as j,pt as k,Ko as l,Ne as lt,yl as m,Xo as n,Be as nt,$c as o,Ie as ot,Yo as p,Ye as q,rl as r,ze as rt,X as s,Fe as st,Jo as t,Ve as tt,Cl as u,us as v,vt as w,ho as x,hl as y,rt as z};
@@ -0,0 +1 @@
1
+ function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),E=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ee=/-\w/g,D=E(e=>e.replace(ee,e=>e.slice(1).toUpperCase())),te=/\B([A-Z])/g,O=E(e=>e.replace(te,`-$1`).toLowerCase()),ne=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),re=E(e=>e?`on${ne(e)}`:``),k=(e,t)=>!Object.is(e,t),ie=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},A=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ae=e=>{let t=parseFloat(e);return isNaN(t)?e:t},oe=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t},se,ce=()=>se||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function j(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?fe(r):j(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var le=/;(?![^(]*\))/g,ue=/:([^]+)/,de=/\/\*[^]*?\*\//g;function fe(e){let t={};return e.replace(de,``).split(le).forEach(e=>{if(e){let n=e.split(ue);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function pe(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=pe(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function me(e){if(!e)return null;let{class:t,style:n}=e;return t&&!g(t)&&(e.class=pe(t)),n&&(e.style=j(n)),e}var he=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,ge=e(he);he+``;function _e(e){return!!e||e===``}function ve(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ye(e[r],t[r]);return n}function ye(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_(e),r=_(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?ve(e,t):!1;if(n=v(e),r=v(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!ye(e[n],t[n]))return!1}}return String(e)===String(t)}function be(e,t){return e.findIndex(e=>ye(e,t))}var xe=e=>!!(e&&e.__v_isRef===!0),Se=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?xe(e)?Se(e.value):JSON.stringify(e,Ce,2):String(e),Ce=(e,t)=>xe(t)?Ce(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[we(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>we(e))}:_(t)?we(t):v(t)&&!d(t)&&!C(t)?String(t):t,we=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,M,Te=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||(M.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ee(e){return new Te(e)}function De(){return M}function Oe(e,t=!1){M&&M.cleanups.push(e)}var N,ke=new WeakSet,Ae=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ke.has(this)&&(ke.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Pe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qe(this),Le(this);let e=N,t=Ue;N=this,Ue=!0;try{return this.fn()}finally{Re(this),N=e,Ue=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ve(e);this.deps=this.depsTail=void 0,qe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ke.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ze(this)&&this.run()}get dirty(){return ze(this)}},je=0,Me,Ne;function Pe(e,t=!1){if(e.flags|=8,t){e.next=Ne,Ne=e;return}e.next=Me,Me=e}function Fe(){je++}function Ie(){if(--je>0)return;if(Ne){let e=Ne;for(Ne=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Me;){let t=Me;for(Me=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Le(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Re(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ve(r),He(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ze(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Be(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Be(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Je)||(e.globalVersion=Je,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ze(e))))return;e.flags|=2;let t=e.dep,n=N,r=Ue;N=e,Ue=!0;try{Le(e);let n=e.fn(e._value);(t.version===0||k(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,Ue=r,Re(e),e.flags&=-3}}function Ve(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ve(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function He(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ue=!0,We=[];function Ge(){We.push(Ue),Ue=!1}function Ke(){let e=We.pop();Ue=e===void 0||e}function qe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var Je=0,Ye=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Xe=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!N||!Ue||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new Ye(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,Ze(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,Je++,this.notify(e)}notify(e){Fe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ie()}}};function Ze(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ze(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Qe=new WeakMap,$e=Symbol(``),et=Symbol(``),tt=Symbol(``);function P(e,t,n){if(Ue&&N){let t=Qe.get(e);t||Qe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Xe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,i,a){let o=Qe.get(e);if(!o){Je++;return}let s=e=>{e&&e.trigger()};if(Fe(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===tt||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(tt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get($e)),f(e)&&s(o.get(et)));break;case`delete`:i||(s(o.get($e)),f(e)&&s(o.get(et)));break;case`set`:f(e)&&s(o.get($e))}}Ie()}function rt(e,t){let n=Qe.get(e);return n&&n.get(t)}function it(e){let t=I(e);return t===e?t:(P(t,`iterate`,tt),F(e)?t:t.map(L))}function at(e){return P(e=I(e),`iterate`,tt),e}function ot(e,t){return Gt(e)?Jt(Wt(e)?L(t):t):L(t)}var st={__proto__:null,[Symbol.iterator](){return ct(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return it(this).concat(...e.map(e=>d(e)?it(e):e))},entries(){return ct(this,`entries`,e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ut(this,`every`,e,t,void 0,arguments)},filter(e,t){return ut(this,`filter`,e,t,e=>e.map(e=>ot(this,e)),arguments)},find(e,t){return ut(this,`find`,e,t,e=>ot(this,e),arguments)},findIndex(e,t){return ut(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ut(this,`findLast`,e,t,e=>ot(this,e),arguments)},findLastIndex(e,t){return ut(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ut(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ft(this,`includes`,e)},indexOf(...e){return ft(this,`indexOf`,e)},join(e){return it(this).join(e)},lastIndexOf(...e){return ft(this,`lastIndexOf`,e)},map(e,t){return ut(this,`map`,e,t,void 0,arguments)},pop(){return pt(this,`pop`)},push(...e){return pt(this,`push`,e)},reduce(e,...t){return dt(this,`reduce`,e,t)},reduceRight(e,...t){return dt(this,`reduceRight`,e,t)},shift(){return pt(this,`shift`)},some(e,t){return ut(this,`some`,e,t,void 0,arguments)},splice(...e){return pt(this,`splice`,e)},toReversed(){return it(this).toReversed()},toSorted(e){return it(this).toSorted(e)},toSpliced(...e){return it(this).toSpliced(...e)},unshift(...e){return pt(this,`unshift`,e)},values(){return ct(this,`values`,e=>ot(this,e))}};function ct(e,t,n){let r=at(e),i=r[t]();return r!==e&&!F(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var lt=Array.prototype;function ut(e,t,n,r,i,a){let o=at(e),s=o!==e&&!F(e),c=o[t];if(c!==lt[t]){let t=c.apply(e,a);return s?L(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,ot(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function dt(e,t,n,r){let i=at(e),a=i!==e&&!F(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=ot(e,t)),n.call(this,t,ot(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?ot(e,c):c}function ft(e,t,n){let r=I(e);P(r,`iterate`,tt);let i=r[t](...n);return(i===-1||i===!1)&&Kt(n[0])?(n[0]=I(n[0]),r[t](...n)):i}function pt(e,t,n=[]){Ge(),Fe();let r=I(e)[t].apply(e,n);return Ie(),Ke(),r}var mt=e(`__proto__,__v_isRef,__isVue`),ht=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function gt(e){_(e)||(e=String(e));let t=I(this);return P(t,`has`,e),t.hasOwnProperty(e)}var _t=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Lt:It:i?Ft:Pt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=st[t]))return e;if(t===`hasOwnProperty`)return gt}let o=Reflect.get(e,t,R(e)?e:n);if((_(t)?ht.has(t):mt(t))||(r||P(e,`get`,t),i))return o;if(R(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?Vt(e):e}return v(o)?r?Vt(o):zt(o):o}},vt=class extends _t{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=Gt(i);if(!F(n)&&!Gt(n)&&(i=I(i),n=I(n)),!a&&R(i)&&!R(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,R(e)?e:r);return e===I(r)&&s&&(o?k(n,i)&&nt(e,`set`,t,n,i):nt(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&nt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!ht.has(t))&&P(e,`has`,t),n}ownKeys(e){return P(e,`iterate`,d(e)?`length`:$e),Reflect.ownKeys(e)}},yt=class extends _t{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},bt=new vt,xt=new yt,St=new vt(!0),Ct=new yt(!0),wt=e=>e,Tt=e=>Reflect.getPrototypeOf(e);function Et(e,t,n){return function(...r){let i=this.__v_raw,a=I(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?wt:t?Jt:L;return!t&&P(a,`iterate`,l?et:$e),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Dt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ot(e,t){let n={get(n){let r=this.__v_raw,i=I(r),a=I(n);e||(k(n,a)&&P(i,`get`,n),P(i,`get`,a));let{has:o}=Tt(i),s=t?wt:e?Jt:L;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&P(I(t),`iterate`,$e),t.size},has(t){let n=this.__v_raw,r=I(n),i=I(t);return e||(k(t,i)&&P(r,`has`,t),P(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=I(a),s=t?wt:e?Jt:L;return!e&&P(o,`iterate`,$e),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Dt(`add`),set:Dt(`set`),delete:Dt(`delete`),clear:Dt(`clear`)}:{add(e){let n=I(this),r=Tt(n),i=I(e),a=!t&&!F(e)&&!Gt(e)?i:e;return r.has.call(n,a)||k(e,a)&&r.has.call(n,e)||k(i,a)&&r.has.call(n,i)||(n.add(a),nt(n,`add`,a,a)),this},set(e,n){!t&&!F(n)&&!Gt(n)&&(n=I(n));let r=I(this),{has:i,get:a}=Tt(r),o=i.call(r,e);o||=(e=I(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?k(n,s)&&nt(r,`set`,e,n,s):nt(r,`add`,e,n),this},delete(e){let t=I(this),{has:n,get:r}=Tt(t),i=n.call(t,e);i||=(e=I(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&nt(t,`delete`,e,void 0,a),o},clear(){let e=I(this),t=e.size!==0,n=e.clear();return t&&nt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Et(r,e,t)}),n}function kt(e,t){let n=Ot(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var At={get:kt(!1,!1)},jt={get:kt(!1,!0)},Mt={get:kt(!0,!1)},Nt={get:kt(!0,!0)},Pt=new WeakMap,Ft=new WeakMap,It=new WeakMap,Lt=new WeakMap;function Rt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function zt(e){return Gt(e)?e:Ut(e,!1,bt,At,Pt)}function Bt(e){return Ut(e,!1,St,jt,Ft)}function Vt(e){return Ut(e,!0,xt,Mt,It)}function Ht(e){return Ut(e,!0,Ct,Nt,Lt)}function Ut(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Rt(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Wt(e){return Gt(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Gt(e){return!!(e&&e.__v_isReadonly)}function F(e){return!!(e&&e.__v_isShallow)}function Kt(e){return e?!!e.__v_raw:!1}function I(e){let t=e&&e.__v_raw;return t?I(t):e}function qt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&A(e,`__v_skip`,!0),e}var L=e=>v(e)?zt(e):e,Jt=e=>v(e)?Vt(e):e;function R(e){return e?e.__v_isRef===!0:!1}function Yt(e){return Zt(e,!1)}function Xt(e){return Zt(e,!0)}function Zt(e,t){return R(e)?e:new Qt(e,t)}var Qt=class{constructor(e,t){this.dep=new Xe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:I(e),this._value=t?e:L(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||F(e)||Gt(e);e=n?e:I(e),k(e,t)&&(this._rawValue=e,this._value=n?e:L(e),this.dep.trigger())}};function $t(e){e.dep&&e.dep.trigger()}function en(e){return R(e)?e.value:e}var tn={get:(e,t,n)=>t===`__v_raw`?e:en(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return R(i)&&!R(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function nn(e){return Wt(e)?e:new Proxy(e,tn)}var rn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Xe,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function an(e){return new rn(e)}function on(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=un(e,n);return t}var sn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(t)?t:String(t),this._raw=I(e);let r=!0,i=e;if(!d(e)||_(this._key)||!w(this._key))do r=!Kt(i)||F(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=en(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&R(this._raw[this._key])){let t=this._object[this._key];if(R(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return rt(this._raw,this._key)}},cn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function ln(e,t,n){return R(e)?e:h(e)?new cn(e):v(e)&&arguments.length>1?un(e,t,n):Yt(e)}function un(e,t,n){return new sn(e,t,n)}var dn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Je-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Pe(this,!0),!0}get value(){let e=this.dep.track();return Be(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function fn(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new dn(r,i,n)}var pn={},mn=new WeakMap,hn=void 0;function gn(e,t=!1,n=hn){if(n){let t=mn.get(n);t||mn.set(n,t=[]),t.push(e)}}function _n(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:F(e)||o===!1||o===0?vn(e,1):vn(e),m,g,_,v,y=!1,b=!1;if(R(e)?(g=()=>e.value,y=F(e)):Wt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Wt(e)||F(e)),g=()=>e.map(e=>{if(R(e))return e.value;if(Wt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ge();try{_()}finally{Ke()}}let t=hn;hn=m;try{return f?f(e,3,[v]):e(v)}finally{hn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>vn(e(),t)}let x=De(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(pn):pn,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>k(e,C[t])):k(t,C))){_&&_();let e=hn;hn=m;try{let e=[t,C===pn?void 0:b&&C[0]===pn?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{hn=e}}}else m.run()};return u&&u(w),m=new Ae(g),m.scheduler=l?()=>l(w,!1):w,v=e=>gn(e,!1,m),_=m.onStop=()=>{let e=mn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();mn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function vn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,R(e))vn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)vn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{vn(e,t,n)});else if(C(e)){for(let r in e)vn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vn(e[r],t,n)}return e}function yn(e,t,n,r){try{return r?e(...r):e()}catch(e){bn(e,t,n)}}function z(e,t,n,r){if(h(e)){let i=yn(e,t,n,r);return i&&y(i)&&i.catch(e=>{bn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(z(e[a],t,n,r));return i}}function bn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ge(),yn(o,null,10,[e,i,a]),Ke();return}}xn(e,r,a,i,s)}function xn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],Sn=-1,Cn=[],wn=null,Tn=0,En=Promise.resolve(),Dn=null;function On(e){let t=Dn||En;return e?t.then(this?e.bind(this):e):t}function kn(e){let t=Sn+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=Fn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function An(e){if(!(e.flags&1)){let t=Fn(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=Fn(n)?B.push(e):B.splice(kn(t),0,e),e.flags|=1,jn()}}function jn(){Dn||=En.then(In)}function Mn(e){d(e)?Cn.push(...e):wn&&e.id===-1?wn.splice(Tn+1,0,e):e.flags&1||(Cn.push(e),e.flags|=1),jn()}function Nn(e,t,n=Sn+1){for(;n<B.length;n++){let t=B[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;B.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Pn(e){if(Cn.length){let e=[...new Set(Cn)].sort((e,t)=>Fn(e)-Fn(t));if(Cn.length=0,wn){wn.push(...e);return}for(wn=e,Tn=0;Tn<wn.length;Tn++){let e=wn[Tn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}wn=null,Tn=0}}var Fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function In(e){try{for(Sn=0;Sn<B.length;Sn++){let e=B[Sn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),yn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Sn<B.length;Sn++){let e=B[Sn];e&&(e.flags&=-2)}Sn=-1,B.length=0,Pn(e),Dn=null,(B.length||Cn.length)&&In(e)}}var V=null,Ln=null;function Rn(e){let t=V;return V=e,Ln=e&&e.type.__scopeId||null,t}function zn(e,t=V,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&wa(-1);let i=Rn(t),a=ba.length,o;try{o=e(...n)}finally{for(let e=ba.length;e>a;e--)Sa();Rn(i),r._d&&wa(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(e,n){if(V===null)return e;let r=co(V),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&vn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Vn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ge(),z(c,n,8,[e.el,s,e,t]),Ke())}}function Hn(e,t){if(X){let n=X.provides,r=X.parent&&X.parent.provides;r===n&&(n=X.provides=Object.create(r)),n[e]=t}}function H(e,t,n=!1){let r=qa();if(r||Oi){let i=Oi?Oi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}function Un(){return!!(qa()||Oi)}var Wn=Symbol.for(`v-scx`),Gn=()=>H(Wn);function Kn(e,t){return Xn(e,null,t)}function qn(e,t){return Xn(e,null,{flush:`post`})}function Jn(e,t){return Xn(e,null,{flush:`sync`})}function Yn(e,t,n){return Xn(e,t,n)}function Xn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if($a){if(c===`sync`){let e=Gn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=X;u.call=(e,t,n)=>z(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{G(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():An(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=_n(e,n,u);return $a&&(f?f.push(h):d&&h()),h}function Zn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?Qn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=Xa(this),s=Xn(i,a.bind(r),n);return o(),s}function Qn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var $n=new WeakMap,er=Symbol(`_vte`),tr=e=>e.__isTeleport,nr=e=>e&&(e.disabled||e.disabled===``),rr=e=>e&&(e.defer||e.defer===``),ir=e=>typeof SVGElement<`u`&&e instanceof SVGElement,ar=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,or=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},sr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=nr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=nr(e.props),r=e.target=or(e.props,m),a=fr(r,e,h,p);r&&(o!==`svg`&&ir(r)?o=`svg`:o!==`mathml`&&ar(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),dr(e,!1)))},S=e=>{let t=()=>{if($n.get(e)===t){if($n.delete(e),nr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),dr(e,!0)}x(e)}};$n.set(e,t),G(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),rr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),dr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=$n.get(e);if(u){u.flags|=8,$n.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=nr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||ir(p)?o=`svg`:(o===`mathml`||ar(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),da(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=or(t.props,m);e&&(t.target=e,cr(t,e,null,l,0))}else g&&cr(t,p,h,l,1);dr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=nr(f),m=a||!p,h=$n.get(e);if(h&&(h.flags|=8,$n.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:cr,hydrate:lr};function cr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!$n.has(e)&&(!d||nr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function lr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=or(t.props,c),h=nr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||fr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||fr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),dr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var ur=sr;function dr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function fr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[er]=o,e&&(r(a,e,i),r(o,e,i)),o}var pr=Symbol(`_leaveCb`),mr=Symbol(`_enterCb`);function hr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lr(()=>{e.isMounted=!0}),Br(()=>{e.isUnmounting=!0}),e}var U=[Function,Array],gr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:U,onEnter:U,onAfterEnter:U,onEnterCancelled:U,onBeforeLeave:U,onLeave:U,onAfterLeave:U,onLeaveCancelled:U,onBeforeAppear:U,onAppear:U,onAfterAppear:U,onAppearCancelled:U};function _r(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=_r(n,e),C=(e,t)=>{e&&z(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[pr]&&t[pr](!0);let i=S[x];i&&ka(e,i)&&i.el[pr]&&i.el[pr](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted)if(a)r=v||l,i=y||u,o=b||f;else return;let s=!1;t[mr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[mr]=void 0)};let c=t[mr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[mr]&&t[mr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[pr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[pr]=void 0,S[i]===e&&delete S[i])};let o=t[pr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=vr(e,t,n,r,i);return i&&i(a),a}};return T}function yr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,yr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function br(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===K?(o.patchFlag&128&&i++,r=r.concat(br(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:Fa(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function xr(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Sr(){let e=qa();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function Cr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function wr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Tr=new WeakMap;function Er(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Er(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Or(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Er(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?co(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=I(v),b=v===t?i:e=>!wr(_,e)&&u(y,e),x=(e,t)=>!(t&&wr(_,t));if(m!=null&&m!==p){if(Dr(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(R(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))yn(p,f,12,[l,_]);else{let t=g(p),n=R(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Tr.delete(e)};t.id=-1,Tr.set(e,t),G(t,r)}else Dr(e),i()}}}function Dr(e){let t=Tr.get(e);t&&(t.flags|=8,Tr.delete(e))}ce().requestIdleCallback,ce().cancelIdleCallback;var Or=e=>!!e.type.__asyncLoader,kr=e=>e.type.__isKeepAlive;function Ar(e,t){Mr(e,`a`,t)}function jr(e,t){Mr(e,`da`,t)}function Mr(e,t,n=X){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Pr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)kr(e.parent.vnode)&&Nr(r,t,n,e),e=e.parent}}function Nr(e,t,n,r){let i=Pr(t,e,r,!0);Vr(()=>{c(r[t],i)},n)}function Pr(e,t,n=X,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ge();let i=Xa(n),a=z(t,n,e,r);return i(),Ke(),a};return r?i.unshift(a):i.push(a),a}}var Fr=e=>(t,n=X)=>{(!$a||e===`sp`)&&Pr(e,(...e)=>t(...e),n)},Ir=Fr(`bm`),Lr=Fr(`m`),Rr=Fr(`bu`),zr=Fr(`u`),Br=Fr(`bum`),Vr=Fr(`um`),Hr=Fr(`sp`),Ur=Fr(`rtg`),Wr=Fr(`rtc`);function Gr(e,t=X){Pr(`ec`,e,t)}var Kr=`components`;function qr(e,t){return Xr(Kr,e,!0,t)||e}var Jr=Symbol.for(`v-ndc`);function Yr(e){return g(e)?Xr(Kr,e,!1)||e:e||Jr}function Xr(e,t,n=!0,r=!1){let i=V||X;if(i){let n=i.type;if(e===Kr){let e=lo(n,!1);if(e&&(e===t||e===D(t)||e===ne(D(t))))return n}let a=Zr(i[e]||n[e],t)||Zr(i.appContext[e],t);return!a&&r?n:a}}function Zr(e,t){return e&&(e[t]||e[D(t)]||e[ne(D(t))])}function Qr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Wt(e),r=!1,s=!1;n&&(r=!F(e),s=Gt(e),e=at(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Jt(L(e[n])):L(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function $r(e,t,n={},r,i,a){if(V.ce||V.parent&&Or(V.parent)&&V.parent.ce){let e=a!=null&&n.key==null?s({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),xa(),Da(K,null,[Y(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let c=ba.length;xa();let l;try{let i=o&&ei(o(n)),s=n.key||a||i&&i.key;l=Da(K,{key:(s&&!_(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=ba.length;e>c;e--)Sa();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function ei(e){return e.some(e=>!Oa(e)||!(e.type===q||e.type===K&&!ei(e.children)))?e:null}function ti(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:re(r)]=e[r];return n}var ni=e=>e?Qa(e)?co(e):ni(e.parent):null,ri=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ni(e.parent),$root:e=>ni(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gi(e),$forceUpdate:e=>e.f||=()=>{An(e.update)},$nextTick:e=>e.n||=On.bind(e.proxy),$watch:e=>Zn.bind(e)}),ii=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),ai={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(ii(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else di&&(s[n]=0)}let d=ri[n],f,p;if(d)return n===`$attrs`&&P(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return ii(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||ii(n,c)||u(o,c)||u(i,c)||u(ri,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function oi(){return si(`useSlots`).slots}function si(e){let t=qa();return t.setupContext||=so(t)}function ci(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function li(e,t){let n=ci(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?d(r)||h(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function ui(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},ci(e),ci(t))}var di=!0;function fi(e){let t=gi(e),n=e.proxy,i=e.ctx;di=!1,t.beforeCreate&&mi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:E,renderTriggered:ee,errorCaptured:D,serverPrefetch:te,expose:O,inheritAttrs:ne,components:re,directives:k,filters:ie}=t;if(u&&pi(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=zt(t))}if(di=!0,o)for(let e in o){let t=o[e],a=Z({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)hi(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Hn(t,e[t])})}f&&mi(f,e,`c`);function A(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(A(Ir,p),A(Lr,m),A(Rr,g),A(zr,_),A(Ar,y),A(jr,b),A(Gr,D),A(Wr,E),A(Ur,ee),A(Br,S),A(Vr,w),A(Hr,te),d(O))if(O.length){let t=e.exposed||={};O.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};T&&e.render===r&&(e.render=T),ne!=null&&(e.inheritAttrs=ne),re&&(e.components=re),k&&(e.directives=k),te&&Cr(e)}function pi(e,t,n=r){d(e)&&(e=xi(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?H(r.from||n,r.default,!0):H(r.from||n):H(r),R(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function mi(e,t,n){z(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function hi(e,t,n,r){let i=r.includes(`.`)?Qn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&Yn(i,n)}else if(h(e))Yn(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>hi(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&Yn(i,r,e)}}function gi(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>_i(c,e,o,!0)),_i(c,t,o)),v(t)&&a.set(t,c),c}function _i(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&_i(e,a,n,!0),i&&i.forEach(t=>_i(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=vi[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var vi={data:yi,props:Ci,emits:Ci,methods:Si,computed:Si,beforeCreate:W,created:W,beforeMount:W,mounted:W,beforeUpdate:W,updated:W,beforeDestroy:W,beforeUnmount:W,destroyed:W,unmounted:W,activated:W,deactivated:W,errorCaptured:W,serverPrefetch:W,components:Si,directives:Si,watch:wi,provide:yi,inject:bi};function yi(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function bi(e,t){return Si(xi(e),xi(t))}function xi(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function W(e,t){return e?[...new Set([].concat(e,t))]:t}function Si(e,t){return e?s(Object.create(null),e,t):t}function Ci(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),ci(e),ci(t??{})):t}function wi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function Ti(){return{app:null,config:{isNativeTag:i,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Ei=0;function Di(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=Ti(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Ei++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:po,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||Y(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,co(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(z(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Oi;Oi=l;try{return e()}finally{Oi=t}}};return l}}var Oi=null;function ki(e,n,r=t){let i=qa(),a=D(n),o=O(n),s=Ai(e,a),c=an((s,c)=>{let l,u=t,d;return Jn(()=>{let t=e[a];k(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!k(s,l)&&!(u!==t&&k(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),k(e,u)&&(k(e,s)&&!k(s,d)||p&&u!==t&&!k(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Ai=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${O(t)}Modifiers`];function ji(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ai(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(ae)));let c,l=i[c=re(n)]||i[c=re(D(n))];!l&&o&&(l=i[c=re(O(n))]),l&&z(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,z(u,e,6,a)}}var Mi=new WeakMap;function Ni(e,t,n=!1){let r=n?Mi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Ni(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Pi(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,O(t))||u(e,t))}function Fi(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Rn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=za(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=za(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Ii(c)}}catch(t){ba.length=0,bn(t,e,1),v=Y(q)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Li(y,a)),b=Fa(b,y,!1,!0))}return n.dirs&&(b=Fa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&yr(b,n.transition),v=b,Rn(_),v}var Ii=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Li=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ri(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?zi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Bi(o,r,n)&&!Pi(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||zi(r,o,l):!!o;return!1}function zi(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Bi(t,e,a)&&!Pi(n,a))return!0}return!1}function Bi(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!ye(r,i):r!==i}function Vi({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Hi={},Ui=()=>Object.create(Hi),Wi=e=>Object.getPrototypeOf(e)===Hi;function Gi(e,t,n,r=!1){let i={},a=Ui();e.propsDefaults=Object.create(null),qi(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Bt(i):e.type.props?i:a,e.attrs=a}function Ki(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=I(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Pi(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=D(o);i[t]=Ji(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{qi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=O(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ji(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&nt(e.attrs,`set`,``)}function qi(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(T(t))continue;let l=n[t],d;a&&u(a,d=D(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Pi(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=I(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=Ji(a,n,s,i[s],e,!u(i,s))}}return s}function Ji(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Xa(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===O(n))&&(r=!0))}return r}var Yi=new WeakMap;function Xi(e,r,i=!1){let a=i?Yi:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=Xi(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=D(c[e]);Zi(n)&&(l[n]=t)}else if(c)for(let e in c){let t=D(e);if(Zi(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function Zi(e){return e[0]!==`$`&&!T(e)}var Qi=e=>e===`_`||e===`_ctx`||e===`$stable`,$i=e=>d(e)?e.map(za):[za(e)],ea=(e,t,n)=>{if(t._n)return t;let r=zn((...e)=>$i(t(...e)),n);return r._c=!1,r},ta=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Qi(n))continue;let i=e[n];if(h(i))t[n]=ea(n,i,r);else if(i!=null){let e=$i(i);t[n]=()=>e}}},na=(e,t)=>{let n=$i(t);e.slots.default=()=>n},ra=(e,t,n)=>{for(let r in t)(n||!Qi(r))&&(e[r]=t[r])},ia=(e,t,n)=>{let r=e.slots=Ui();if(e.vnode.shapeFlag&32){let e=t._;e?(ra(r,t,n),n&&A(r,`_`,e,!0)):ta(t,r)}else t&&na(e,t)},aa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:ra(a,n,r):(o=!n.$stable,ta(n,a)),s=n}else n&&(na(e,n),s={default:1});if(o)for(let e in a)!Qi(e)&&s[e]==null&&delete a[e]},G=_a;function oa(e){return sa(e)}function sa(e,i){let a=ce();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!ka(e,t)&&(r=_e(e),fe(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case va:y(e,t,n,r);break;case q:b(e,t,n,r);break;case ya:e??x(t,n,r,o);break;case K:re(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?k(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?Er(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Er(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)E(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),te(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},E=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&D(e.children,d,null,r,i,ca(e,a),s,u),_&&Vn(e,null,r,`created`),ee(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!T(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ua(f,r,e)}_&&Vn(e,null,r,`beforeMount`);let v=ua(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&G(()=>{try{f&&Ua(f,r,e),v&&g.enter(d),_&&Vn(e,null,r,`mounted`)}finally{}},i)},ee=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ga(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ee(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},D=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Ba(e[l]):za(e[l]);v(null,c,t,n,r,i,a,o,s)}},te=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&la(r,!1),(g=h.onVnodeBeforeUpdate)&&Ua(g,r,n,e),f&&Vn(n,e,r,`beforeUpdate`),r&&la(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?O(e.dynamicChildren,d,l,r,i,ca(n,a),o):s||j(e,n,l,null,r,i,ca(n,a),o,!1),u>0){if(u&16)ne(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&ne(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Ua(g,r,n,e),f&&Vn(n,e,r,`updated`)},i)},O=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===K||!ka(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},ne=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},re=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),D(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(O(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&da(e,t,!0)):j(e,t,n,f,i,a,s,c,l)},k=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):A(t,n,r,i,a,o,c):ae(e,t,c)},A=(e,t,n,r,i,a,o)=>{let s=e.component=Ka(e,r,i);if(kr(e)&&(s.ctx.renderer=be),eo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,oe,o),!e.el){let r=s.subTree=Y(q);b(null,r,t,n),e.placeholder=r.el}}else oe(s,e,t,n,i,a,o)},ae=(e,t,n)=>{let r=t.component=e.component;if(Ri(e,t,n))if(r.asyncDep&&!r.asyncResolved){se(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},oe=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=pa(e);if(n){t&&(t.el=c.el,se(e,t,o)),n.asyncDep.then(()=>{G(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;la(e,!1),t?(t.el=c.el,se(e,t,o)):t=c,n&&ie(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ua(d,s,t,c),la(e,!0);let f=Fi(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),_e(p),e,i,a),t.el=f.el,u===null&&Vi(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Ua(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Or(t);if(la(e,!1),l&&ie(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ua(o,d,t),la(e,!0),s&&Se){let t=()=>{e.subTree=Fi(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Fi(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&G(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;G(()=>Ua(o,d,e),i)}(t.shapeFlag&256||d&&Or(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&G(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ae(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>An(u),la(e,!0),l()},se=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Ki(e,t.props,r,n),aa(e,t.children,n),Ge(),Nn(e),Ke()},j=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&D(d,n,r,i,a,o,s,c))},le=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?Ba(t[p]):za(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ge(e,a,o,!0,!1,f):D(t,r,i,a,o,s,c,l,f)},ue=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Ba(t[u]):za(t[u]);if(ka(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Ba(t[p]):za(t[p]);if(ka(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Ba(t[u]):za(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)fe(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Ba(t[u]):za(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){fe(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&ka(n,t[_])){i=_;break}i===void 0?fe(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?fa(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||ha(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?de(n,r,p,2):_--)}}},de=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){de(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,be);return}if(c===K){o(a,t,n);for(let e=0;e<u.length;e++)de(u[e],t,n,r);o(e.anchor,t,n);return}if(c===ya){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.persisted&&!a[pr]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),G(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[pr];a._isLeaving&&a[pr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},fe=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Ge(),Er(s,null,n,e,!0),Ke()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Or(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ua(_,t,e),u&6)he(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Vn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?ge(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&ge(c,t,n),r&&pe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&G(()=>{_&&Ua(_,t,e),h&&Vn(e,null,t,`unmounted`),v&&(e.el=null)},n)},pe=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===K){me(n,r);return}if(t===ya){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},me=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},he=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ma(c),ma(l),r&&ie(r),i.stop(),a&&(a.flags|=8,fe(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)fe(e[o],t,n,r,i)},_e=e=>{if(e.shapeFlag&6)return _e(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[er];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(fe(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,Nn(r),Pn(),!1)},be={p:v,um:fe,m:de,r:pe,mt:A,mc:D,pc:j,pbc:O,n:_e,o:e},xe,Se;return i&&([xe,Se]=i(be)),{render:ye,hydrate:xe,createApp:Di(ye,xe)}}function ca({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function la({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ua(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function da(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Ba(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&da(t,a)),a.type===va&&(a.patchFlag===-1&&(a=i[e]=Ba(a)),a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function fa(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function pa(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pa(t)}function ma(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ha(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?ha(t.subTree):null}var ga=e=>e.__isSuspense;function _a(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Mn(e)}var K=Symbol.for(`v-fgt`),va=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),ya=Symbol.for(`v-stc`),ba=[],J=null;function xa(e=!1){ba.push(J=e?null:[])}function Sa(){ba.pop(),J=ba[ba.length-1]||null}var Ca=1;function wa(e,t=!1){Ca+=e,e<0&&J&&t&&(J.hasOnce=!0)}function Ta(e){return e.dynamicChildren=Ca>0?J||n:null,Sa(),Ca>0&&J&&J.push(e),e}function Ea(e,t,n,r,i,a){return Ta(Ma(e,t,n,r,i,a,!0))}function Da(e,t,n,r,i){return Ta(Y(e,t,n,r,i,!0))}function Oa(e){return e?e.__v_isVNode===!0:!1}function ka(e,t){return e.type===t.type&&e.key===t.key}var Aa=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||R(e)||h(e)?{i:V,r:e,k:t,f:!!n}:e);function Ma(e,t=null,n=null,r=0,i=null,a=e===K?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Aa(t),ref:t&&ja(t),scopeId:Ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:V};return s?(Va(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Ca>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var Y=Na;function Na(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Jr)&&(e=q),Oa(e)){let r=Fa(e,t,!0);return n&&Va(r,n),Ca>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(uo(e)&&(e=e.__vccOpts),t){t=Pa(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=pe(e)),v(n)&&(Kt(n)&&!d(n)&&(n=s({},n)),t.style=j(n))}let o=g(e)?1:ga(e)?128:tr(e)?64:v(e)?4:h(e)?2:0;return Ma(e,t,n,r,i,o,a,!0)}function Pa(e){return e?Kt(e)||Wi(e)?s({},e):e:null}function Fa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ha(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Aa(l),ref:t&&t.ref?n&&a?d(a)?a.concat(ja(t)):[a,ja(t)]:ja(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==K?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Fa(e.ssContent),ssFallback:e.ssFallback&&Fa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&yr(u,c.clone(u)),u}function Ia(e=` `,t=0){return Y(va,null,e,t)}function La(e,t){let n=Y(ya,null,e);return n.staticCount=t,n}function Ra(e=``,t=!1){return t?(xa(),Da(q,null,e)):Y(q,null,e)}function za(e){return e==null||typeof e==`boolean`?Y(q):d(e)?Y(K,null,e.slice()):Oa(e)?Ba(e):Y(va,null,String(e))}function Ba(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Fa(e)}function Va(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Va(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Wi(t)?t._ctx=V:r===3&&V&&(V.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(h(t)){if(r&65){Va(e,{default:t});return}t={default:t,_ctx:V},n=32}else t=String(t),r&64?(n=16,t=[Ia(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ha(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=pe([t.class,r.class]));else if(e===`style`)t.style=j([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ua(e,t,n,r=null){z(e,t,7,[n,r])}var Wa=Ti(),Ga=0;function Ka(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Wa,o={uid:Ga++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Te(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xi(i,a),emitsOptions:Ni(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=ji.bind(null,o),e.ce&&e.ce(o),o}var X=null,qa=()=>X||V,Ja,Ya;{let e=ce(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ja=t(`__VUE_INSTANCE_SETTERS__`,e=>X=e),Ya=t(`__VUE_SSR_SETTERS__`,e=>$a=e)}var Xa=e=>{let t=X;return Ja(e),e.scope.on(),()=>{e.scope.off(),Ja(t)}},Za=()=>{X&&X.scope.off(),Ja(null)};function Qa(e){return e.vnode.shapeFlag&4}var $a=!1;function eo(e,t=!1,n=!1){t&&Ya(t);let{props:r,children:i}=e.vnode,a=Qa(e);Gi(e,r,a,t),ia(e,i,n||t);let o=a?to(e,t):void 0;return t&&Ya(!1),o}function to(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ai);let{setup:r}=n;if(r){Ge();let n=e.setupContext=r.length>1?so(e):null,i=Xa(e),a=yn(r,e,0,[e.props,n]),o=y(a);if(Ke(),i(),(o||e.sp)&&!Or(e)&&Cr(e),o){if(a.then(Za,Za),t)return a.then(n=>{no(e,n,t)}).catch(t=>{bn(t,e,0)});e.asyncDep=a}else no(e,a,t)}else ao(e,t)}function no(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=nn(t)),ao(e,n)}var ro,io;function ao(e,t,n){let i=e.type;if(!e.render){if(!t&&ro&&!i.render){let t=i.template||gi(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=ro(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,io&&io(e)}{let t=Xa(e);Ge();try{fi(e)}finally{Ke(),t()}}}var oo={get(e,t){return P(e,`get`,``),e[t]}};function so(e){return{attrs:new Proxy(e.attrs,oo),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function co(e){return e.exposed?e.exposeProxy||=new Proxy(nn(qt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ri)return ri[n](e)},has(e,t){return t in e||t in ri}}):e.proxy}function lo(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function uo(e){return h(e)&&`__vccOpts`in e}var Z=(e,t)=>fn(e,t,$a);function fo(e,t,n){try{wa(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?Oa(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Oa(n)&&(n=[n]),Y(e,t,n))}finally{wa(1)}}var po=`3.5.40`,mo=void 0,ho=typeof window<`u`&&window.trustedTypes;if(ho)try{mo=ho.createPolicy(`vue`,{createHTML:e=>e})}catch{}var go=mo?e=>mo.createHTML(e):e=>e,_o=`http://www.w3.org/2000/svg`,vo=`http://www.w3.org/1998/Math/MathML`,yo=typeof document<`u`?document:null,bo=yo&&yo.createElement(`template`),xo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?yo.createElementNS(_o,e):t===`mathml`?yo.createElementNS(vo,e):n?yo.createElement(e,{is:n}):yo.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>yo.createTextNode(e),createComment:e=>yo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yo.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{bo.innerHTML=go(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=bo.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},So=`transition`,Co=`animation`,wo=Symbol(`_vtc`),To={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Eo=s({},gr,To),Do=(e,t=[])=>{d(e)?e.forEach(e=>e(...t)):e&&e(...t)},Oo=e=>e?d(e)?e.some(e=>e.length>1):e.length>1:!1;function ko(e){let t={};for(let n in e)n in To||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:d=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Ao(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:T=b}=t,E=(e,t,n,r)=>{e._enterCancelled=r,No(e,t?d:c),No(e,t?u:o),n&&n()},ee=(e,t)=>{e._isLeaving=!1,No(e,f),No(e,m),No(e,p),t&&t()},D=e=>(t,n)=>{let i=e?w:y,o=()=>E(t,e,n);Do(i,[t,o]),Po(()=>{No(t,e?l:a),Mo(t,e?d:c),Oo(i)||Io(t,r,g,o)})};return s(t,{onBeforeEnter(e){Do(v,[e]),Mo(e,a),Mo(e,o)},onBeforeAppear(e){Do(C,[e]),Mo(e,l),Mo(e,u)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ee(e,t);Mo(e,f),e._enterCancelled?(Mo(e,p),Bo(e)):(Bo(e),Mo(e,p)),Po(()=>{e._isLeaving&&(No(e,f),Mo(e,m),Oo(x)||Io(e,r,_,n))}),Do(x,[e,n])},onEnterCancelled(e){E(e,!1,void 0,!0),Do(b,[e])},onAppearCancelled(e){E(e,!0,void 0,!0),Do(T,[e])},onLeaveCancelled(e){ee(e),Do(S,[e])}})}function Ao(e){if(e==null)return null;if(v(e))return[jo(e.enter),jo(e.leave)];{let t=jo(e);return[t,t]}}function jo(e){return oe(e)}function Mo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[wo]||(e[wo]=new Set)).add(t)}function No(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[wo];n&&(n.delete(t),n.size||(e[wo]=void 0))}function Po(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Fo=0;function Io(e,t,n,r){let i=e._endId=++Fo,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Lo(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Lo(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${So}Delay`),a=r(`${So}Duration`),o=Ro(i,a),s=r(`${Co}Delay`),c=r(`${Co}Duration`),l=Ro(s,c),u=null,d=0,f=0;t===So?o>0&&(u=So,d=o,f=a.length):t===Co?l>0&&(u=Co,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?So:Co:null,f=u?u===So?a.length:c.length:0);let p=u===So&&/\b(?:transform|all)(?:,|$)/.test(r(`${So}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ro(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>zo(t)+zo(e[n])))}function zo(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Bo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vo(e,t,n){let r=e[wo];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ho=Symbol(`_vod`),Uo=Symbol(`_vsh`),Wo={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ho]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Go(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Go(e,!0),r.enter(e)):r.leave(e,()=>{Go(e,!1)}):Go(e,t))},beforeUnmount(e,{value:t}){Go(e,t)}};function Go(e,t){e.style.display=t?e[Ho]:`none`,e[Uo]=!t}var Ko=Symbol(``),qo=/(?:^|;)\s*display\s*:/;function Jo(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t)if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Xo(r,t,``)}else for(let e in t)n[e]??Xo(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Xo(r,i,``):es(e,i,!g(t)&&t?t[i]:void 0,o)||Xo(r,i,o)}}else if(i){if(t!==n){let e=r[Ko];e&&(n+=`;`+e),r.cssText=n,a=qo.test(n)}}else t&&e.removeAttribute(`style`);Ho in e&&(e[Ho]=a?r.display:``,e[Uo]&&(r.display=`none`))}var Yo=/\s*!important$/;function Xo(e,t,n){if(d(n))n.forEach(n=>Xo(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=$o(e,t);Yo.test(n)?e.setProperty(O(r),n.replace(Yo,``),`important`):e[r]=n}}var Zo=[`Webkit`,`Moz`,`ms`],Qo={};function $o(e,t){let n=Qo[t];if(n)return n;let r=D(t);if(r!==`filter`&&r in e)return Qo[t]=r;r=ne(r);for(let n=0;n<Zo.length;n++){let i=Zo[n]+r;if(i in e)return Qo[t]=i}return t}function es(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var ts=`http://www.w3.org/1999/xlink`;function ns(e,t,n,r,i,a=ge(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ts,t.slice(6,t.length)):e.setAttributeNS(ts,t,n):n==null||a&&!_e(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function rs(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?go(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=_e(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function is(e,t,n,r){e.addEventListener(t,n,r)}function as(e,t,n,r){e.removeEventListener(t,n,r)}var os=Symbol(`_vei`);function ss(e,t,n,r,i=null){let a=e[os]||(e[os]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=us(t);r?is(e,n,a[t]=ms(r,i),s):o&&(as(e,n,o,s),a[t]=void 0)}}var cs=/(Once|Passive|Capture)$/,ls=/^on:?(?:Once|Passive|Capture)$/;function us(e){let t,n;for(;(n=e.match(cs))&&!ls.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):O(e.slice(2)),t]}var ds=0,fs=Promise.resolve(),ps=()=>ds||=(fs.then(()=>ds=0),Date.now());function ms(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&z(e,t,5,a)}}else z(r,t,5,[e])};return n.value=e,n.attached=ps(),n}var hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gs=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?Vo(e,r,c):t===`style`?Jo(e,n,r):a(t)?o(t)||ss(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):_s(e,t,r,c))?(rs(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&ns(e,t,r,c,s,t!==`value`)):e._isVueCE&&(vs(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?rs(e,D(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),ns(e,t,r,c))};function _s(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&hs(t)&&h(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return hs(t)&&g(n)?!1:t in e}function vs(e,t){let n=e._def.props;if(!n)return!1;let r=D(t);return Array.isArray(n)?n.some(e=>D(e)===r):Object.keys(n).some(e=>D(e)===r)}var ys=new WeakMap,bs=new WeakMap,xs=Symbol(`_moveCb`),Ss=Symbol(`_enterCb`),Cs=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:s({},Eo,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=qa(),r=hr(),i,a;return zr(()=>{if(!i.length)return;let t=e.moveClass||`${e.name||`v`}-move`;if(!Os(i[0].el,n.vnode.el,t)){i=[];return}i.forEach(ws),i.forEach(Ts);let r=i.filter(Es);Bo(n.vnode.el),r.forEach(e=>{let n=e.el,r=n.style;Mo(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[xs]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[xs]=null,No(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let o=I(e),s=ko(o),c=o.tag||K;if(i=[],a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&!t.el[Uo]&&(i.push(t),yr(t,vr(t,s,r,n)),ys.set(t,Ds(t.el)))}a=t.default?br(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&yr(t,vr(t,s,r,n))}return Y(c,null,a)}}});function ws(e){let t=e.el;t[xs]&&t[xs](),t[Ss]&&t[Ss]()}function Ts(e){bs.set(e,Ds(e.el))}function Es(e){let t=ys.get(e),n=bs.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Ds(e){let t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Os(e,t,n){let r=e.cloneNode(),i=e[wo];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Lo(r);return a.removeChild(r),o}var ks=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>ie(t,e):t};function As(e){e.target.composing=!0}function js(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Ms=Symbol(`_assign`);function Ns(e,t,n){return t&&(e=e.trim()),n&&(e=ae(e)),e}var Ps={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Ms]=ks(i);let a=r||i.props&&i.props.type===`number`;is(e,t?`change`:`input`,t=>{t.target.composing||e[Ms](Ns(e.value,n,a))}),(n||a)&&is(e,`change`,()=>{e.value=Ns(e.value,n,a)}),t||(is(e,`compositionstart`,As),is(e,`compositionend`,js),is(e,`change`,js))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Ms]=ks(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ae(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Fs={deep:!0,created(e,t,n){e[Ms]=ks(n),is(e,`change`,()=>{let t=e._modelValue,n=zs(e),r=e.checked,i=e[Ms];if(d(t)){let e=be(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(p(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Bs(e,r))})},mounted:Is,beforeUpdate(e,t,n){e[Ms]=ks(n),Is(e,t,n)}};function Is(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(d(t))i=be(t,r.props.value)>-1;else if(p(t))i=t.has(r.props.value);else{if(t===n)return;i=ye(t,Bs(e,!0))}e.checked!==i&&(e.checked=i)}var Ls={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,is(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ae(zs(e)):zs(e));e[Ms](e.multiple?p(e._modelValue)?new Set(t):t:t[0]),e._assigning=!0,On(()=>{e._assigning=!1})}),e[Ms]=ks(r)},mounted(e,{value:t}){Rs(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ms]=ks(n)},updated(e,{value:t}){e._assigning||Rs(e,t)}};function Rs(e,t){let n=e.multiple,r=d(t);if(!(n&&!r&&!p(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=zs(a);if(n)if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):be(t,o)>-1}else a.selected=t.has(o);else if(ye(zs(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function zs(e){return`_value`in e?e._value:e.value}function Bs(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Vs=[`ctrl`,`shift`,`alt`,`meta`],Hs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Vs.some(n=>e[`${n}Key`]&&!t.includes(n))},Us=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Hs[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ws={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},Gs=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=O(n.key);if(t.some(e=>e===r||Ws[e]===r))return e(n)}))},Ks=s({patchProp:gs},xo),qs;function Js(){return qs||=oa(Ks)}var Ys=((...e)=>{let t=Js().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Zs(e);if(!r)return;let i=t._component;!h(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Xs(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function Xs(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Zs(e){return g(e)?document.querySelector(e):e}var Qs=typeof window<`u`,$s,ec=e=>$s=e,tc=Symbol();function nc(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var rc=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function ic(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function ac(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){uc(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function oc(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function sc(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var cc=typeof navigator==`object`?navigator:{userAgent:``},lc=/Macintosh/.test(cc.userAgent)&&/AppleWebKit/.test(cc.userAgent)&&!/Safari/.test(cc.userAgent),uc=Qs?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!lc?dc:`msSaveOrOpenBlob`in cc?fc:pc:()=>{};function dc(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?sc(r):oc(r.href)?ac(e,t,n):(r.target=`_blank`,sc(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){sc(r)},0))}function fc(e,t=`download`,n){if(typeof e==`string`)if(oc(e))ac(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){sc(t)})}else navigator.msSaveOrOpenBlob(ic(e,n),t)}function pc(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return ac(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(rc.HTMLElement))||`safari`in rc,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||lc)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:mc}=Object;function hc(){let e=Ee(!0),t=e.run(()=>Yt({})),n=[],r=[],i=qt({install(e){ec(i),i._a=e,e.provide(tc,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var gc=()=>{};function _c(e,t,n,r=gc){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&De()&&Oe(i),i}function vc(e,...t){e.forEach(e=>{e(...t)})}var yc=e=>e(),bc=Symbol(),xc=Symbol();function Sc(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!Object.hasOwn(t,n))continue;let r=t[n],i=e[n];e[n]=nc(i)&&nc(r)&&Object.hasOwn(e,n)&&!R(r)&&!Wt(r)?Sc(i,r):r}return e}var Cc=Symbol();function wc(e){return!e||typeof e!=`object`||!Object.hasOwn(e,Cc)}var{assign:Tc}=Object;function Ec(e){return!!(R(e)&&e.effect)}function Dc(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],c;function l(){return s||(n.state.value[e]=i?i():{}),Tc(on(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=qt(Z(()=>{ec(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return c=Oc(e,l,t,n,r,!0),c}function Oc(e,t,n={},r,i,a){let o,s=Tc({actions:{}},n),c={deep:!0},l,u,d=new Set,f=new Set,p,m=r.state.value[e];!a&&!m&&(r.state.value[e]={});let h;function g(t){let n;l=u=!1,typeof t==`function`?(t(r.state.value[e]),n={type:`patch function`,storeId:e,events:p}):(Sc(r.state.value[e],t),n={type:`patch object`,payload:t,storeId:e,events:p});let i=h=Symbol();On().then(()=>{h===i&&(l=!0)}),u=!0,vc(d,n,r.state.value[e])}let _=a?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{Tc(e,t)})}:gc;function v(){o.stop(),d.clear(),f.clear(),r._s.delete(e)}let y=(t,n=``)=>{if(bc in t)return t[xc]=n,t;let i=function(){ec(r);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function c(e){o.add(e)}vc(f,{args:n,name:i[xc],store:b,after:s,onError:c});let l;try{l=t.apply(this&&this.$id===e?this:b,n)}catch(e){throw vc(o,e),e}return l instanceof Promise?l.then(e=>(vc(a,e),e)).catch(e=>(vc(o,e),Promise.reject(e))):(vc(a,l),l)};return i[bc]=!0,i[xc]=n,i},b=zt({_p:r,$id:e,$onAction:_c.bind(null,f),$patch:g,$reset:_,$subscribe(t,n={}){if(d.has(t))return gc;let i=_c(d,t,n.detached,()=>a()),a=o.run(()=>Yn(()=>r.state.value[e],r=>{(n.flush===`sync`?u:l)&&t({storeId:e,type:`direct`,events:p},r)},Tc({},c,n)));return i},$dispose:v});r._s.set(e,b);let x=(r._a&&r._a.runWithContext||yc)(()=>r._e.run(()=>(o=Ee()).run(()=>t({action:y}))));for(let t in x){let n=x[t];R(n)&&!Ec(n)||Wt(n)?a||(m&&wc(n)&&(R(n)?n.value=m[t]:Sc(n,m[t])),r.state.value[e][t]=n):typeof n==`function`&&(x[t]=y(n,t),s.actions[t]=n)}return Tc(b,x),Tc(I(b),x),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:e=>{g(t=>{Tc(t,e)})}}),r._p.forEach(e=>{let t=o.run(()=>e({store:b,app:r._a,pinia:r,options:s}));Tc(b,t)}),m&&a&&n.hydrate&&n.hydrate(b.$state,m),l=!0,u=!0,b}function kc(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=Un();return n||=o?H(tc,null):null,n&&ec(n),n=$s,n._s.has(e)||(i?Oc(e,t,r,n):Dc(e,r,n)),n._s.get(e)}return a.$id=e,a}function Ac(e){let t=I(e),n={};for(let r in t){let i=t[r];i?.effect?n[r]=Z({get:()=>e[r],set(t){e[r]=t}}):(R(i)||Wt(i))&&(n[r]=ln(e,r))}return n}function jc(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Mc(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&jc(e.default)}var Q=Object.assign;function Nc(e,t){let n={};for(let r in t){let i=t[r];n[r]=$(i)?i.map(e):e(i)}return n}var Pc=()=>{},$=Array.isArray;function Fc(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Ic=Symbol(``);function Lc(e,t){return Q(Error(),{type:e,[Ic]:!0},t)}function Rc(e,t){return e instanceof Error&&Ic in e&&(t==null||!!(e.type&t))}var zc=Symbol(``),Bc=Symbol(``),Vc=Symbol(``),Hc=Symbol(``),Uc=Symbol(``);function Wc(){return H(Vc)}function Gc(e){return H(Hc)}var Kc=typeof document<`u`,qc=/#/g,Jc=/&/g,Yc=/\//g,Xc=/=/g,Zc=/\?/g,Qc=/\+/g,$c=/%5B/g,el=/%5D/g,tl=/%5E/g,nl=/%60/g,rl=/%7B/g,il=/%7C/g,al=/%7D/g,ol=/%20/g;function sl(e){return e==null?``:encodeURI(``+e).replace(il,`|`).replace($c,`[`).replace(el,`]`)}function cl(e){return sl(e).replace(rl,`{`).replace(al,`}`).replace(tl,`^`)}function ll(e){return sl(e).replace(Qc,`%2B`).replace(ol,`+`).replace(qc,`%23`).replace(Jc,`%26`).replace(nl,"`").replace(rl,`{`).replace(al,`}`).replace(tl,`^`)}function ul(e){return ll(e).replace(Xc,`%3D`)}function dl(e){return sl(e).replace(qc,`%23`).replace(Zc,`%3F`)}function fl(e){return dl(e).replace(Yc,`%2F`)}function pl(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ml=/\/$/,hl=e=>e.replace(ml,``);function gl(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=wl(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:pl(o)}}function _l(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function vl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function yl(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&bl(t.matched[r],n.matched[i])&&xl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bl(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Sl(e[n],t[n]))return!1;return!0}function Sl(e,t){return $(e)?Cl(e,t):$(t)?Cl(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Cl(e,t){return $(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function wl(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Tl={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function El(e){if(!e)if(Kc){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),hl(e)}var Dl=/^[^#]+#/;function Ol(e,t){return e.replace(Dl,`#`)+t}function kl(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Al=()=>({left:window.scrollX,top:window.scrollY});function jl(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=kl(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ml(e,t){return(history.state?history.state.position-t:-1)+e}var Nl=new Map;function Pl(e,t){Nl.set(e,t)}function Fl(e){let t=Nl.get(e);return Nl.delete(e),t}function Il(e){return typeof e==`string`||e&&typeof e==`object`}function Ll(e){return typeof e==`string`||typeof e==`symbol`}function Rl(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Qc,` `),i=r.indexOf(`=`),a=pl(i<0?r:r.slice(0,i)),o=i<0?null:pl(r.slice(i+1));if(a in t){let e=t[a];$(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function zl(e){let t=``;for(let n in e){let r=e[n];if(n=ul(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}($(r)?r.map(e=>e&&ll(e)):[r&&ll(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Bl(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=$(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Vl(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Hl(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Lc(4,{from:n,to:t})):e instanceof Error?c(e):Il(e)?c(Lc(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Ul(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(jc(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Hl(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Mc(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Hl(c,n,r,o,e,i)()}))}}return a}function Wl(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>bl(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>bl(e,s))||i.push(s))}return[n,r,i]}var Gl=()=>location.protocol+`//`+location.host;function Kl(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),vl(n,``)}return vl(n,e)+r+i}function ql(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Kl(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(Q({},e.state,{scroll:Al()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Jl(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Al():null}}function Yl(e){let{history:t,location:n}=window,r={value:Kl(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Gl()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,Q({},t.state,Jl(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=Q({},i.value,t.state,{forward:e,scroll:Al()});a(o.current,o,!0),a(e,Q({},Jl(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Xl(e){e=El(e);let t=Yl(e),n=ql(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=Q({location:``,base:e,go:r,createHref:Ol.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Zl={type:0,value:``},Ql=/[a-zA-Z0-9_]/;function $l(e){if(!e)return[[]];if(e===`/`)return[[Zl]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Ql.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var eu=`[^/]+?`,tu={sensitive:!1,strict:!1,start:!0,end:!0},nu=/[.+*?^${}()[\]/\\]/g;function ru(e,t){let n=Q({},tu,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(nu,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||eu;if(u!==eu){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if($(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=$(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function iu(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function au(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=iu(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ou(r))return 1;if(ou(i))return-1}return i.length-r.length}function ou(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var su={strict:!1,end:!0,sensitive:!1};function cu(e,t,n){let r=Q(ru($l(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function lu(e,t){let n=[],r=new Map;t=Fc(su,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=du(e);s.aliasOf=r&&r.record;let l=Fc(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(du(Q({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=cu(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!pu(d)&&o(e.name)),_u(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Pc}function o(e){if(Ll(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=hu(e,n);n.splice(t,0,e),e.record.name&&!pu(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Lc(1,{location:e});s=i.record.name,a=Q(uu(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&uu(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Lc(1,{location:e,currentLocation:t});s=i.record.name,a=Q({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:mu(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function uu(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function du(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function fu(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mu(e){return e.reduce((e,t)=>Q(e,t.meta),{})}function hu(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;au(e,t[i])<0?r=i:n=i+1}let i=gu(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function gu(e){let t=e;for(;t=t.parent;)if(_u(t)&&au(e,t)===0)return t}function _u({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vu(e){let t=H(Vc),n=H(Hc),r=Z(()=>{let n=en(e.to);return t.resolve(n)}),i=Z(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(bl.bind(null,i));if(o>-1)return o;let s=Cu(e[t-2]);return t>1&&Cu(i)===s&&a[a.length-1].path!==s?a.findIndex(bl.bind(null,e[t-2])):o}),a=Z(()=>i.value>-1&&Su(n.params,r.value.params)),o=Z(()=>i.value>-1&&i.value===n.matched.length-1&&xl(n.params,r.value.params));function s(n={}){if(xu(n)){let n=t[en(e.replace)?`replace`:`push`](en(e.to)).catch(Pc);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function yu(e){return e.length===1?e[0]:e}var bu=xr({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:vu,setup(e,{slots:t}){let n=zt(vu(e)),{options:r}=H(Vc),i=Z(()=>({[wu(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[wu(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&yu(t.default(n));return e.custom?r:fo(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function xu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Su(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!$(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Cu(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var wu=(e,t,n)=>e??t??n,Tu=xr({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=H(Uc),i=Z(()=>e.route||r.value),a=H(Bc,0),o=Z(()=>{let e=en(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=Z(()=>i.value.matched[o.value]);Hn(Bc,Z(()=>o.value+1)),Hn(zc,s),Hn(Uc,i);let c=Yt();return Yn(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!bl(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Eu(n.default,{Component:l,route:r});let u=o.props[a],d=fo(l,Q({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Eu(n.default,{Component:d,route:r})||d}}});function Eu(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Du=Tu;function Ou(e){let t=lu(e.routes,e),n=e.parseQuery||Rl,r=e.stringifyQuery||zl,i=e.history,a=Vl(),o=Vl(),s=Vl(),c=Xt(Tl),l=Tl;Kc&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=Nc.bind(null,e=>``+e),d=Nc.bind(null,fl),f=Nc.bind(null,pl);function p(e,n){let r,i;return Ll(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=Q({},a||c.value),typeof e==`string`){let r=gl(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return Q(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=Q({},e,{path:gl(n,e.path,a.path).path});else{let t=Q({},e.params);for(let e in t)t[e]??delete t[e];o=Q({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=_l(r,Q({},e,{hash:cl(l),path:s.path})),m=i.createHref(p);return Q({fullPath:p,hash:l,query:r===zl?Bl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?gl(n,e,c.value.path):Q({},e)}function y(e,t){if(l!==e)return Lc(8,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(Q(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),Q({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(Q(v(u),{state:typeof u==`object`?Q({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&yl(r,i,n)&&(f=Lc(16,{to:d,from:i}),oe(i,i,!0,!1)),(f?Promise.resolve(f):E(d,i)).catch(e=>Rc(e)?Rc(e,2)?e:ae(e):ie(e,d,i)).then(e=>{if(e){if(Rc(e,2))return C(Q({replace:s},v(e.to),{state:typeof e.to==`object`?Q({},a,e.to.state):a,force:o}),t||d)}else e=D(d,i,!0,s,a);return ee(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=j.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function E(e,t){let n,[r,i,s]=Wl(e,t);n=Ul(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Hl(r,e,t))});let c=w.bind(null,e,t);return n.push(c),ue(n).then(()=>{n=[];for(let r of a.list())n.push(Hl(r,e,t));return n.push(c),ue(n)}).then(()=>{n=Ul(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Hl(r,e,t))});return n.push(c),ue(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if($(r.beforeEnter))for(let i of r.beforeEnter)n.push(Hl(i,e,t));else n.push(Hl(r.beforeEnter,e,t));return n.push(c),ue(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ul(s,`beforeRouteEnter`,e,t,T),n.push(c),ue(n))).then(()=>{n=[];for(let r of o.list())n.push(Hl(r,e,t));return n.push(c),ue(n)}).catch(e=>Rc(e,8)?e:Promise.reject(e))}function ee(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function D(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===Tl,l=Kc?history.state:{};n&&(r||s?i.replace(e.fullPath,Q({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,oe(e,t,n,s),ae()}let te;function O(){te||=i.listen((e,t,n)=>{if(!le.listening)return;let r=_(e),a=S(r,le.currentRoute.value);if(a){C(Q(a,{replace:!0,force:!0}),r).catch(Pc);return}l=r;let o=c.value;Kc&&Pl(Ml(o.fullPath,n.delta),Al()),E(r,o).catch(e=>Rc(e,12)?e:Rc(e,2)?(C(Q(v(e.to),{force:!0}),r).then(e=>{Rc(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Pc),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ie(e,r,o))).then(e=>{e||=D(r,o,!1),e&&(n.delta&&!Rc(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Rc(e,20)&&i.go(-1,!1)),ee(r,o,e)}).catch(Pc)})}let ne=Vl(),re=Vl(),k;function ie(e,t,n){ae(e);let r=re.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function A(){return k&&c.value!==Tl?Promise.resolve():new Promise((e,t)=>{ne.add([e,t])})}function ae(e){return k||(k=!e,O(),ne.list().forEach(([t,n])=>e?n(e):t()),ne.reset()),e}function oe(t,n,r,i){let{scrollBehavior:a}=e;if(!Kc||!a)return Promise.resolve();let o=!r&&Fl(Ml(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return On().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&jl(e)).catch(e=>t===c.value&&ie(e,t,n))}let se=e=>i.go(e),ce,j=new Set,le={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:se,back:()=>se(-1),forward:()=>se(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:re.add,isReady:A,install(e){e.component(`RouterLink`,bu),e.component(`RouterView`,Du),e.config.globalProperties.$router=le,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>en(c)}),Kc&&!ce&&c.value===Tl&&(ce=!0,b(i.location).catch(e=>{}));let t={};for(let e in Tl)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Vc,le),e.provide(Hc,Bt(t)),e.provide(Uc,c);let n=e.unmount;j.add(e),e.unmount=function(){j.delete(e),j.size<1&&(l=Tl,te&&te(),te=null,c.value=Tl,ce=!1,k=!1),n()}}};function ue(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return le}export{Yn as $,Pa as A,Lr as B,Ra as C,me as Ct,Y as D,Ia as E,re as Et,Ha as F,Qr as G,zr as H,On as I,Yr as J,$r as K,Ir as L,H as M,li as N,xr as O,ui as P,oi as Q,Br as R,Da as S,pe as St,La as T,Se as Tt,xa as U,Vr as V,Hn as W,Sr as X,ti as Y,ki as Z,K as _,ln as _t,hc as a,an as at,Z as b,en as bt,Cs as c,R as ct,Ls as d,zt as dt,Kn as et,Ps as f,Vt as ft,q as g,I as gt,Us as h,Xt as ht,Wc as i,Bn as it,fo as j,qa as k,Ys as l,qt as lt,Gs as m,Ht as mt,Xl as n,Jn as nt,kc as o,Ee as ot,Wo as p,Yt as pt,qr as q,Gc as r,zn as rt,Ac as s,De as st,Ou as t,qn as tt,Fs as u,Oe as ut,ur as v,on as vt,Ea as w,j as wt,Ma as x,D as xt,Fa as y,$t as yt,Rr as z};