watch-tail 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -10
- package/build/client/_app/immutable/assets/0.B5hI3s8c.css +2 -0
- package/build/client/_app/immutable/assets/2.Cn4w1JYv.css +1 -0
- package/build/client/_app/immutable/chunks/0bp2Fczu.js +1 -0
- package/build/client/_app/immutable/chunks/B2En4t_E.js +3 -0
- package/build/client/_app/immutable/chunks/{DS3cLPAu.js → B7X5bVGV.js} +1 -1
- package/build/client/_app/immutable/chunks/BDcWO4cr.js +1 -0
- package/build/client/_app/immutable/chunks/{Dkh4Dwm8.js → BDdUgtQ9.js} +1 -1
- package/build/client/_app/immutable/chunks/{0b2v80OK.js → BP77Fyht.js} +1 -1
- package/build/client/_app/immutable/chunks/{dqF8mxBW.js → B_Mg_9D4.js} +1 -1
- package/build/client/_app/immutable/chunks/BvE-N_5_.js +1 -0
- package/build/client/_app/immutable/chunks/C0Fq51PS.js +1 -0
- package/build/client/_app/immutable/chunks/CBu7zaX6.js +15 -0
- package/build/client/_app/immutable/chunks/CDs2jokv.js +1 -0
- package/build/client/_app/immutable/chunks/{B5RiPG8Z.js → CL6wPCzw.js} +1 -1
- package/build/client/_app/immutable/chunks/CMPe3AwH.js +1 -0
- package/build/client/_app/immutable/chunks/{b77-bq1n.js → CRxuTO84.js} +1 -1
- package/build/client/_app/immutable/chunks/CXlCR4o6.js +10 -0
- package/build/client/_app/immutable/chunks/{DQqLOGLe.js → CZZUqHxO.js} +1 -1
- package/build/client/_app/immutable/chunks/{aI_O2VuQ.js → CaFHnwyo.js} +1 -1
- package/build/client/_app/immutable/chunks/CbtqT1c8.js +1 -0
- package/build/client/_app/immutable/chunks/{DGYKsRyW.js → CfRqDrzx.js} +1 -1
- package/build/client/_app/immutable/chunks/CwzJ9AB4.js +1 -0
- package/build/client/_app/immutable/chunks/{DwOZdLDj.js → Cy2yzzl5.js} +1 -1
- package/build/client/_app/immutable/chunks/D067lFSc.js +2 -0
- package/build/client/_app/immutable/chunks/{C_U_Jvk5.js → D27MZEE2.js} +1 -1
- package/build/client/_app/immutable/chunks/{IlwbfbOu.js → D9KJP6hv.js} +1 -1
- package/build/client/_app/immutable/chunks/DO938hpm.js +1 -0
- package/build/client/_app/immutable/chunks/DrLgrJ3k.js +1 -0
- package/build/client/_app/immutable/chunks/DrupwIIS.js +1 -0
- package/build/client/_app/immutable/chunks/LGzrUxfF.js +1 -0
- package/build/client/_app/immutable/chunks/{D7vimbmk.js → PUpq0Ki5.js} +1 -1
- package/build/client/_app/immutable/chunks/{DvxMaQv_.js → kSuEE8Bt.js} +1 -1
- package/build/client/_app/immutable/chunks/y79YFfGW.js +1 -0
- package/build/client/_app/immutable/chunks/zP_HZRCk.js +1 -0
- package/build/client/_app/immutable/entry/app.BEq8gOel.js +2 -0
- package/build/client/_app/immutable/entry/start.DmBlaUbV.js +1 -0
- package/build/client/_app/immutable/nodes/0.D63E8Q6i.js +1 -0
- package/build/client/_app/immutable/nodes/1.DXfG5P6X.js +1 -0
- package/build/client/_app/immutable/nodes/2.45XrHxUU.js +5 -0
- package/build/client/_app/version.json +1 -1
- package/build/env.js +0 -1
- package/build/handler.js +6 -9
- package/build/index.js +6 -9
- package/build/server/chunks/chunks/{archive.js-D2jtMmDo.js → archive.js-D7cGVWaq.js} +331 -31
- package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +0 -1
- package/build/server/chunks/chunks/env2.js-C5BgBJDY.js +0 -1
- package/build/server/chunks/chunks/{exports.js-ClPPfcHj.js → exports.js-CvFPPbaH.js} +0 -6
- package/build/server/chunks/chunks/identity.js-NmGXxBz3.js +0 -1
- package/build/server/chunks/chunks/{index-server.js-CtH9Hqwf.js → index-server.js-DOq0LmqS.js} +87 -112
- package/build/server/chunks/chunks/internal.js-DZ8ZzzjN.js +0 -1
- package/build/server/chunks/chunks/{legacy-client.js-DAqKExQD.js → internal2.js-B2FekELn.js} +279 -7
- package/build/server/chunks/chunks/{level-filter.js-D9MNrew3.js → level-filter.js-kKdNjmbR.js} +2 -3
- package/build/server/chunks/chunks/{log-buffer.js-A9FA-Qv8.js → log-buffer.js-BjT3sJlh.js} +1 -2
- package/build/server/chunks/chunks/regions.js-COf7DgnH.js +0 -1
- package/build/server/chunks/chunks/shared-server.js-Dn5XheXH.js +0 -1
- package/build/server/chunks/chunks/shared.js-CgjUIvRK.js +0 -1
- package/build/server/chunks/chunks/source.js-DZEVvuho.js +0 -1
- package/build/server/chunks/chunks/{state.js-i-NVNGIq.js → state.js-CdO6iuBd.js} +3 -4
- package/build/server/chunks/chunks/text-size.svelte.js-D09gVgvI.js +309 -0
- package/build/server/chunks/chunks/{time-range.js-BLMT8aU3.js → time-range.js-__87ZPq6.js} +9 -5
- package/build/server/chunks/chunks/uneval.js-DaakSYFQ.js +0 -1
- package/build/server/chunks/chunks/utils.js-BIlHjgGW.js +0 -1
- package/build/server/chunks/entries/endpoints/api/archive/{_server.ts.js-C4hWyXuu.js → _server.ts.js-D-97I3hr.js} +2 -3
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-C5tfrpmC.js +0 -1
- package/build/server/chunks/entries/endpoints/api/identity/_server.ts.js-PWRPScuN.js +0 -1
- package/build/server/chunks/entries/endpoints/api/log-groups/{_server.ts.js-D4y43Vwe.js → _server.ts.js-BBBsBX5h.js} +2 -3
- package/build/server/chunks/entries/endpoints/api/regions/_server.ts.js-9_g0ojki.js +0 -1
- package/build/server/chunks/entries/endpoints/api/series/{_server.ts.js-DibT3Hjc.js → _server.ts.js-bsGqvQ1O.js} +4 -5
- package/build/server/chunks/entries/endpoints/api/stream/{_server.ts.js-BxXw5K0R.js → _server.ts.js-B6obpUbh.js} +211 -49
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-ylsqA41Y.js → error.svelte.js-BupH3lxJ.js} +4 -7
- package/build/server/chunks/entries/pages/_layout.svelte.js-C3CVxu2T.js +621 -0
- package/build/server/chunks/entries/pages/{_page.svelte.js-C9-7d7mD.js → _page.svelte.js-DS9p1LVo.js} +643 -191
- package/build/server/chunks/{handler-Bqo8aDgP.js → handler-DrjCpeeA.js} +4 -5
- package/build/server/chunks/{index.js-fPvMujCL.js → index.js-BLTOesya.js} +3 -4
- package/build/server/chunks/{manifest.js-Bkj-8GaD.js → manifest.js-C1_IS4sj.js} +8 -9
- package/build/server/chunks/nodes/0.js-BHXaR9OX.js +8 -0
- package/build/server/chunks/nodes/1.js-C-coUSdu.js +8 -0
- package/build/server/chunks/nodes/2.js-Dor6Xgc7.js +8 -0
- package/build/shims.js +0 -1
- package/dist/cli/completions.js +24 -0
- package/dist/cli/index.js +144 -3
- package/dist/cli/mcp/agents.js +344 -0
- package/dist/cli/mcp/backend.js +235 -0
- package/dist/cli/mcp/run.js +245 -0
- package/dist/cli/mcp/stdio.js +103 -0
- package/dist/cli/mcp/tools.js +245 -0
- package/dist/cli/options.js +138 -25
- package/dist/cli/server.js +28 -0
- package/dist/cli/ui.js +20 -1
- package/dist/lib/time-range.js +14 -3
- package/package.json +21 -6
- package/build/client/_app/immutable/assets/0.ChTKqSf6.css +0 -2
- package/build/client/_app/immutable/assets/0.ChTKqSf6.css.br +0 -0
- package/build/client/_app/immutable/assets/0.ChTKqSf6.css.gz +0 -0
- package/build/client/_app/immutable/assets/BrushContext.2tkUc39H.css.br +0 -0
- package/build/client/_app/immutable/assets/BrushContext.2tkUc39H.css.gz +0 -0
- package/build/client/_app/immutable/assets/ChartAnnotations.Bw8CGteN.css.br +0 -0
- package/build/client/_app/immutable/assets/ChartAnnotations.Bw8CGteN.css.gz +0 -0
- package/build/client/_app/immutable/assets/Circle.C5MKzgk2.css.br +0 -1
- package/build/client/_app/immutable/assets/Circle.C5MKzgk2.css.gz +0 -0
- package/build/client/_app/immutable/assets/DefaultTooltip.CGOVIm3D.css.br +0 -0
- package/build/client/_app/immutable/assets/DefaultTooltip.CGOVIm3D.css.gz +0 -0
- package/build/client/_app/immutable/assets/EventScatter.0BkgJO-l.css.br +0 -0
- package/build/client/_app/immutable/assets/EventScatter.0BkgJO-l.css.gz +0 -0
- package/build/client/_app/immutable/assets/Labels.sEaJtb97.css.br +0 -0
- package/build/client/_app/immutable/assets/Labels.sEaJtb97.css.gz +0 -0
- package/build/client/_app/immutable/assets/Legend.DnhxhJ2I.css.br +0 -0
- package/build/client/_app/immutable/assets/Legend.DnhxhJ2I.css.gz +0 -0
- package/build/client/_app/immutable/assets/Path.B0wDzTrn.css.br +0 -0
- package/build/client/_app/immutable/assets/Path.B0wDzTrn.css.gz +0 -0
- package/build/client/_app/immutable/assets/TransformContext.1cjyViIk.css.br +0 -0
- package/build/client/_app/immutable/assets/TransformContext.1cjyViIk.css.gz +0 -0
- package/build/client/_app/immutable/assets/Voronoi.ce7atosu.css.br +0 -0
- package/build/client/_app/immutable/assets/Voronoi.ce7atosu.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0b2v80OK.js.br +0 -0
- package/build/client/_app/immutable/chunks/0b2v80OK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5EFAIHuJ.js +0 -1
- package/build/client/_app/immutable/chunks/5EFAIHuJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/5EFAIHuJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B15XBe8D.js +0 -1
- package/build/client/_app/immutable/chunks/B15XBe8D.js.br +0 -0
- package/build/client/_app/immutable/chunks/B15XBe8D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B5RiPG8Z.js.br +0 -2
- package/build/client/_app/immutable/chunks/B5RiPG8Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BR2LaRms.js.br +0 -1
- package/build/client/_app/immutable/chunks/BR2LaRms.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_KVdCQT.js +0 -10
- package/build/client/_app/immutable/chunks/B_KVdCQT.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_KVdCQT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bl052uUt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl052uUt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuCpRsEL.js +0 -1
- package/build/client/_app/immutable/chunks/BuCpRsEL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuCpRsEL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvZtsVvW.js +0 -1
- package/build/client/_app/immutable/chunks/BvZtsVvW.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvZtsVvW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3Y15ONf.js +0 -2
- package/build/client/_app/immutable/chunks/C3Y15ONf.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3Y15ONf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C58PZtCD.js.br +0 -0
- package/build/client/_app/immutable/chunks/C58PZtCD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9GPQYs7.js +0 -1
- package/build/client/_app/immutable/chunks/C9GPQYs7.js.br +0 -0
- package/build/client/_app/immutable/chunks/C9GPQYs7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBZpkDc1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBZpkDc1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCch3uox.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCch3uox.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_U_Jvk5.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_U_Jvk5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cd7JqZj9.js +0 -1
- package/build/client/_app/immutable/chunks/Cd7JqZj9.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cd7JqZj9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D2PbcyDU.js +0 -1
- package/build/client/_app/immutable/chunks/D2PbcyDU.js.br +0 -0
- package/build/client/_app/immutable/chunks/D2PbcyDU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7vimbmk.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7vimbmk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAqXSYzi.js +0 -1
- package/build/client/_app/immutable/chunks/DAqXSYzi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAqXSYzi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DGYKsRyW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGYKsRyW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPaulGql.js +0 -1
- package/build/client/_app/immutable/chunks/DPaulGql.js.br +0 -1
- package/build/client/_app/immutable/chunks/DPaulGql.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQqLOGLe.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQqLOGLe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DS3cLPAu.js.br +0 -0
- package/build/client/_app/immutable/chunks/DS3cLPAu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0q5_zr.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0q5_zr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dfvzj6n2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dfvzj6n2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dkh4Dwm8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dkh4Dwm8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DnqfXHAL.js +0 -15
- package/build/client/_app/immutable/chunks/DnqfXHAL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DnqfXHAL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DsYron7_.js +0 -1
- package/build/client/_app/immutable/chunks/DsYron7_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DsYron7_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DuM1cPdZ.js +0 -1
- package/build/client/_app/immutable/chunks/DuM1cPdZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuM1cPdZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DvxMaQv_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DvxMaQv_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwOZdLDj.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwOZdLDj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HclGiUj8.js.br +0 -0
- package/build/client/_app/immutable/chunks/HclGiUj8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IlwbfbOu.js.br +0 -0
- package/build/client/_app/immutable/chunks/IlwbfbOu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RobXhXPM.js.br +0 -1
- package/build/client/_app/immutable/chunks/RobXhXPM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y5urAfNy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y5urAfNy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aI_O2VuQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/aI_O2VuQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/b77-bq1n.js.br +0 -0
- package/build/client/_app/immutable/chunks/b77-bq1n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dqF8mxBW.js.br +0 -0
- package/build/client/_app/immutable/chunks/dqF8mxBW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gkAHSOnS.js +0 -1
- package/build/client/_app/immutable/chunks/gkAHSOnS.js.br +0 -0
- package/build/client/_app/immutable/chunks/gkAHSOnS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js +0 -3
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js.br +0 -0
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ti8ecMFX.js +0 -1
- package/build/client/_app/immutable/chunks/ti8ecMFX.js.br +0 -0
- package/build/client/_app/immutable/chunks/ti8ecMFX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js.br +0 -1
- package/build/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yCfI4PCa.js.br +0 -0
- package/build/client/_app/immutable/chunks/yCfI4PCa.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CTR4aUFT.js +0 -2
- package/build/client/_app/immutable/entry/app.CTR4aUFT.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CTR4aUFT.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CC6Ln8E2.js +0 -1
- package/build/client/_app/immutable/entry/start.CC6Ln8E2.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CC6Ln8E2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CvUxmLsM.js +0 -1
- package/build/client/_app/immutable/nodes/0.CvUxmLsM.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CvUxmLsM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CbSHqfEx.js +0 -1
- package/build/client/_app/immutable/nodes/1.CbSHqfEx.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CbSHqfEx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DcD5v8dU.js +0 -5
- package/build/client/_app/immutable/nodes/2.DcD5v8dU.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DcD5v8dU.js.gz +0 -0
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/robots.txt.br +0 -0
- package/build/client/robots.txt.gz +0 -0
- package/build/env.js.map +0 -1
- package/build/handler.js.map +0 -1
- package/build/index.js.map +0 -1
- package/build/server/chunks/chunks/Arc.canvas.js-CN0KDoHG.js +0 -701
- package/build/server/chunks/chunks/Arc.canvas.js-CN0KDoHG.js.map +0 -1
- package/build/server/chunks/chunks/Arc.js-C8EC9NoE.js +0 -31
- package/build/server/chunks/chunks/Arc.js-C8EC9NoE.js.map +0 -1
- package/build/server/chunks/chunks/Bar.js-DtAb3LZZ.js +0 -448
- package/build/server/chunks/chunks/Bar.js-DtAb3LZZ.js.map +0 -1
- package/build/server/chunks/chunks/ChartAnnotations.js-twzDSVzY.js +0 -983
- package/build/server/chunks/chunks/ChartAnnotations.js-twzDSVzY.js.map +0 -1
- package/build/server/chunks/chunks/Circle.html.js-BJywADGK.js +0 -355
- package/build/server/chunks/chunks/Circle.html.js-BJywADGK.js.map +0 -1
- package/build/server/chunks/chunks/ClipPath.canvas.js-9Fc0bTEM.js +0 -170
- package/build/server/chunks/chunks/ClipPath.canvas.js-9Fc0bTEM.js.map +0 -1
- package/build/server/chunks/chunks/DefaultTooltip.js-C2NWK2AD.js +0 -352
- package/build/server/chunks/chunks/DefaultTooltip.js-C2NWK2AD.js.map +0 -1
- package/build/server/chunks/chunks/EventScatter.js-CO2GonW-.js +0 -7370
- package/build/server/chunks/chunks/EventScatter.js-CO2GonW-.js.map +0 -1
- package/build/server/chunks/chunks/Labels.js-DB9qoyZ3.js +0 -497
- package/build/server/chunks/chunks/Labels.js-DB9qoyZ3.js.map +0 -1
- package/build/server/chunks/chunks/Legend.js-B_ArjxQ7.js +0 -343
- package/build/server/chunks/chunks/Legend.js-B_ArjxQ7.js.map +0 -1
- package/build/server/chunks/chunks/Line.html.js-B1REcOFe.js +0 -423
- package/build/server/chunks/chunks/Line.html.js-B1REcOFe.js.map +0 -1
- package/build/server/chunks/chunks/Link.canvas.js-nWimAHfH.js +0 -756
- package/build/server/chunks/chunks/Link.canvas.js-nWimAHfH.js.map +0 -1
- package/build/server/chunks/chunks/Path.canvas.js-5A9wB8zQ.js +0 -1259
- package/build/server/chunks/chunks/Path.canvas.js-5A9wB8zQ.js.map +0 -1
- package/build/server/chunks/chunks/Points.html.js-B2o3k-ZZ.js +0 -228
- package/build/server/chunks/chunks/Points.html.js-B2o3k-ZZ.js.map +0 -1
- package/build/server/chunks/chunks/Points.js-D7ozN9W5.js +0 -14
- package/build/server/chunks/chunks/Points.js-D7ozN9W5.js.map +0 -1
- package/build/server/chunks/chunks/Points2.js-BVbWugLT.js +0 -25
- package/build/server/chunks/chunks/Points2.js-BVbWugLT.js.map +0 -1
- package/build/server/chunks/chunks/Rect.html.js-DnQ6ObhQ.js +0 -547
- package/build/server/chunks/chunks/Rect.html.js-DnQ6ObhQ.js.map +0 -1
- package/build/server/chunks/chunks/Spline.js-YnAxvrKY.js +0 -516
- package/build/server/chunks/chunks/Spline.js-YnAxvrKY.js.map +0 -1
- package/build/server/chunks/chunks/Text.html.js-LbmYJb11.js +0 -847
- package/build/server/chunks/chunks/Text.html.js-LbmYJb11.js.map +0 -1
- package/build/server/chunks/chunks/TooltipItem.js-Ce-blieA.js +0 -314
- package/build/server/chunks/chunks/TooltipItem.js-Ce-blieA.js.map +0 -1
- package/build/server/chunks/chunks/Voronoi.js-CalFJAXH.js +0 -2052
- package/build/server/chunks/chunks/Voronoi.js-CalFJAXH.js.map +0 -1
- package/build/server/chunks/chunks/archive.js-D2jtMmDo.js.map +0 -1
- package/build/server/chunks/chunks/array.js-CBp0H4t3.js +0 -8
- package/build/server/chunks/chunks/array.js-CBp0H4t3.js.map +0 -1
- package/build/server/chunks/chunks/attributes.js-CbKEpZKa.js +0 -25
- package/build/server/chunks/chunks/attributes.js-CbKEpZKa.js.map +0 -1
- package/build/server/chunks/chunks/band.js-CjzHWr4k.js +0 -155
- package/build/server/chunks/chunks/band.js-CjzHWr4k.js.map +0 -1
- package/build/server/chunks/chunks/centroid.js-BnGN3LH0.js +0 -1356
- package/build/server/chunks/chunks/centroid.js-BnGN3LH0.js.map +0 -1
- package/build/server/chunks/chunks/common.js-BvQnfkFo.js +0 -5760
- package/build/server/chunks/chunks/common.js-BvQnfkFo.js.map +0 -1
- package/build/server/chunks/chunks/env.js-l0sNRNKZ.js.map +0 -1
- package/build/server/chunks/chunks/env2.js-C5BgBJDY.js.map +0 -1
- package/build/server/chunks/chunks/events.js-zIVaXIP1.js +0 -95
- package/build/server/chunks/chunks/events.js-zIVaXIP1.js.map +0 -1
- package/build/server/chunks/chunks/exports.js-ClPPfcHj.js.map +0 -1
- package/build/server/chunks/chunks/group.js-D0SfevId.js +0 -30
- package/build/server/chunks/chunks/group.js-D0SfevId.js.map +0 -1
- package/build/server/chunks/chunks/identity.js-NmGXxBz3.js.map +0 -1
- package/build/server/chunks/chunks/index-server.js-CtH9Hqwf.js.map +0 -1
- package/build/server/chunks/chunks/index-server2.js-l0sNRNKZ.js +0 -2
- package/build/server/chunks/chunks/index-server2.js-l0sNRNKZ.js.map +0 -1
- package/build/server/chunks/chunks/internal.js-DZ8ZzzjN.js.map +0 -1
- package/build/server/chunks/chunks/internal2.js-CfVVfAb5.js +0 -188
- package/build/server/chunks/chunks/internal2.js-CfVVfAb5.js.map +0 -1
- package/build/server/chunks/chunks/key.svelte.js-Cq0L6YlN.js +0 -695
- package/build/server/chunks/chunks/key.svelte.js-Cq0L6YlN.js.map +0 -1
- package/build/server/chunks/chunks/legacy-client.js-DAqKExQD.js.map +0 -1
- package/build/server/chunks/chunks/level-filter.js-D9MNrew3.js.map +0 -1
- package/build/server/chunks/chunks/lineRadial.js-B7ZNP_Jp.js +0 -126
- package/build/server/chunks/chunks/lineRadial.js-B7ZNP_Jp.js.map +0 -1
- package/build/server/chunks/chunks/linear.js-CHlwr1I4.js +0 -1046
- package/build/server/chunks/chunks/linear.js-CHlwr1I4.js.map +0 -1
- package/build/server/chunks/chunks/log-buffer.js-A9FA-Qv8.js.map +0 -1
- package/build/server/chunks/chunks/math.js-BqujbaBs.js +0 -50
- package/build/server/chunks/chunks/math.js-BqujbaBs.js.map +0 -1
- package/build/server/chunks/chunks/max.js-CuS0BpRI.js +0 -11
- package/build/server/chunks/chunks/max.js-CuS0BpRI.js.map +0 -1
- package/build/server/chunks/chunks/min.js-DZWt5tPl.js +0 -11
- package/build/server/chunks/chunks/min.js-DZWt5tPl.js.map +0 -1
- package/build/server/chunks/chunks/motion.svelte.js-Crk8ri1u.js +0 -677
- package/build/server/chunks/chunks/motion.svelte.js-Crk8ri1u.js.map +0 -1
- package/build/server/chunks/chunks/occlusion.js-ot9_OqWn.js +0 -33
- package/build/server/chunks/chunks/occlusion.js-ot9_OqWn.js.map +0 -1
- package/build/server/chunks/chunks/path.js-BizMrlzb.js +0 -488
- package/build/server/chunks/chunks/path.js-BizMrlzb.js.map +0 -1
- package/build/server/chunks/chunks/path2.js-DLVU8nc9.js +0 -27
- package/build/server/chunks/chunks/path2.js-DLVU8nc9.js.map +0 -1
- package/build/server/chunks/chunks/pointRadial.js-Deeu1LXx.js +0 -7
- package/build/server/chunks/chunks/pointRadial.js-Deeu1LXx.js.map +0 -1
- package/build/server/chunks/chunks/rect.svelte.js-_0PgI5fe.js +0 -187
- package/build/server/chunks/chunks/rect.svelte.js-_0PgI5fe.js.map +0 -1
- package/build/server/chunks/chunks/regions.js-COf7DgnH.js.map +0 -1
- package/build/server/chunks/chunks/scales.svelte.js-DeNkKcI-.js +0 -276
- package/build/server/chunks/chunks/scales.svelte.js-DeNkKcI-.js.map +0 -1
- package/build/server/chunks/chunks/series-buckets.js-C-vMEJT2.js +0 -316
- package/build/server/chunks/chunks/series-buckets.js-C-vMEJT2.js.map +0 -1
- package/build/server/chunks/chunks/shared-server.js-Dn5XheXH.js.map +0 -1
- package/build/server/chunks/chunks/shared.js-CgjUIvRK.js.map +0 -1
- package/build/server/chunks/chunks/source.js-DZEVvuho.js.map +0 -1
- package/build/server/chunks/chunks/state.js-i-NVNGIq.js.map +0 -1
- package/build/server/chunks/chunks/time-range.js-BLMT8aU3.js.map +0 -1
- package/build/server/chunks/chunks/types.js-x3GyGPOz.js +0 -11
- package/build/server/chunks/chunks/types.js-x3GyGPOz.js.map +0 -1
- package/build/server/chunks/chunks/uneval.js-DaakSYFQ.js.map +0 -1
- package/build/server/chunks/chunks/utils.js-BIlHjgGW.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/archive/_server.ts.js-C4hWyXuu.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-C5tfrpmC.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/identity/_server.ts.js-PWRPScuN.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/log-groups/_server.ts.js-D4y43Vwe.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/regions/_server.ts.js-9_g0ojki.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/series/_server.ts.js-DibT3Hjc.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-BxXw5K0R.js.map +0 -1
- package/build/server/chunks/entries/fallbacks/error.svelte.js-ylsqA41Y.js.map +0 -1
- package/build/server/chunks/entries/pages/_layout.svelte.js-D7sAdBVX.js +0 -113
- package/build/server/chunks/entries/pages/_layout.svelte.js-D7sAdBVX.js.map +0 -1
- package/build/server/chunks/entries/pages/_page.svelte.js-C9-7d7mD.js.map +0 -1
- package/build/server/chunks/handler-Bqo8aDgP.js.map +0 -1
- package/build/server/chunks/index.js-fPvMujCL.js.map +0 -1
- package/build/server/chunks/manifest.js-Bkj-8GaD.js.map +0 -1
- package/build/server/chunks/nodes/0.js-7J6kXnEo.js +0 -9
- package/build/server/chunks/nodes/0.js-7J6kXnEo.js.map +0 -1
- package/build/server/chunks/nodes/1.js-DZXnUx67.js +0 -9
- package/build/server/chunks/nodes/1.js-DZXnUx67.js.map +0 -1
- package/build/server/chunks/nodes/2.js-85y9-1SS.js +0 -9
- package/build/server/chunks/nodes/2.js-85y9-1SS.js.map +0 -1
- package/build/shims.js.map +0 -1
package/README.md
CHANGED
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
**CloudWatch logs. One command. A clearer picture.**
|
|
6
6
|
|
|
7
7
|
Tail live logs, investigate an incident across services, and keep what you find in a local archive.
|
|
8
|
-
Uses your existing AWS credentials. Runs on your machine.
|
|
8
|
+
Hand the same search to your AI agent over MCP. Uses your existing AWS credentials. Runs on your machine.
|
|
9
9
|
|
|
10
10
|
[](https://www.npmjs.com/package/watch-tail)
|
|
11
11
|
[](https://github.com/antstanley/watch-tail/actions/workflows/ci.yml)
|
|
12
12
|
[](./LICENSE)
|
|
13
13
|
[](package.json)
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
https://github.com/user-attachments/assets/a25c1739-f139-4c3e-bf1f-9e86f4d61898
|
|
16
|
+
|
|
17
|
+
<sub>The 30-second trailer, drawn with p5.js. [How it's made](https://github.com/antstanley/watch-tail-hype).</sub>
|
|
18
|
+
|
|
19
|
+
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-overview.png" alt="watch-tail: an hour of historic logs from two Lambda groups, with the request-duration chart and request grouping" width="1200">
|
|
16
20
|
|
|
17
21
|
</div>
|
|
18
22
|
|
|
@@ -27,15 +31,15 @@ npx watch-tail --floci # use a local emulator
|
|
|
27
31
|
Requires **Node.js 22+**. Prefer a global install? `npm install -g watch-tail` gives you both
|
|
28
32
|
`watch-tail` and the shorter `wt`. Press **Ctrl+C** to stop, including during a live stream or login prompt.
|
|
29
33
|
|
|
30
|
-
Choose a **Theme** from the header: Midnight, Ocean, Forest and Plum are dark palettes;
|
|
31
|
-
Daylight, Sand, Mint and Lavender are light palettes. The choice is remembered in this browser.
|
|
32
|
-
|
|
33
34
|
## What you get
|
|
34
35
|
|
|
35
36
|
- **Live tail and historic scans.** Follow new events or select a preset (15 minutes to 5 days) or
|
|
36
37
|
custom window. Pause with buffering, filter text, clear the view, and toggle auto-scroll.
|
|
37
38
|
- **Several groups, one view.** Select groups in the sidebar to merge their logs and chart. A group
|
|
38
|
-
column keeps each line's source visible.
|
|
39
|
+
column keeps each line's source visible, and long group names keep their most specific end.
|
|
40
|
+
- **Panels that get out of the way.** The group list, the chart and the log lines each fold from the
|
|
41
|
+
chevron in their own header. Fold the group list to give the logs the full width, or fold the log
|
|
42
|
+
lines to let the chart fill the space; each choice is remembered.
|
|
39
43
|
- **Requests, not just lines.** **By request** groups matching request IDs into one expandable row,
|
|
40
44
|
showing line count, elapsed span, and highest severity. Lines without an ID stay visible.
|
|
41
45
|
- **Spot the spike.** In Historic mode, the chart shows request duration over time, coloured by severity.
|
|
@@ -45,8 +49,17 @@ Daylight, Sand, Mint and Lavender are light palettes. The choice is remembered i
|
|
|
45
49
|
and resizable sidebar, timestamp, group-name and stream-name columns (drag their edges or use arrow keys). The viewer keeps a 5,000-line buffer.
|
|
46
50
|
- **Offline history.** Streamed events are saved to a local DuckDB archive. Browse them later without
|
|
47
51
|
AWS credentials, or query them with SQL.
|
|
52
|
+
- **Archive-first historic views.** A historic window reads events the archive already holds and only
|
|
53
|
+
asks CloudWatch for the gaps, so re-investigating an incident is fast and uses less AWS. The last
|
|
54
|
+
few minutes of a window are always re-read, because CloudWatch can still be ingesting them. A
|
|
55
|
+
CloudWatch **filter pattern** keeps that view on the API.
|
|
48
56
|
- **Reopen the same view.** Region, groups, source, mode, and time window live in the URL. A teammate
|
|
49
57
|
needs their own AWS access or a copy of the archive; the link does not include logs or credentials.
|
|
58
|
+
- **Your agent can look too.** `watch-tail mcp init` wires watch-tail into Claude Code, Claude
|
|
59
|
+
Desktop, Cursor, VS Code and other agents, so they search the same logs and archive you do.
|
|
60
|
+
See [Agents (MCP)](#agents-mcp).
|
|
61
|
+
- **Make it yours.** Eight colour themes, four text sizes, and an optional puppy companion. See
|
|
62
|
+
[Make it yours](#make-it-yours).
|
|
50
63
|
|
|
51
64
|
## Follow a request
|
|
52
65
|
|
|
@@ -54,7 +67,7 @@ Grouping is on by default. Click a request row to expand its lines; use **By req
|
|
|
54
67
|
individual events. IDs are detected from `requestId`, `request_id`, `awsRequestId`, `x-request-id`,
|
|
55
68
|
and Lambda's `RequestId:` lines. Each request takes the severity of its most critical line.
|
|
56
69
|
|
|
57
|
-
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.
|
|
70
|
+
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-requests.png" alt="watch-tail: a selected point on the duration chart highlights and expands its checkout request, showing the JSON payloads and Lambda log lines" width="1200">
|
|
58
71
|
|
|
59
72
|
Select a chart point to scroll to and highlight its loaded log lines. Requests expand automatically,
|
|
60
73
|
and auto-scroll switches off so incoming logs do not move you away. Count points select all matching
|
|
@@ -78,12 +91,20 @@ Choose **Local archive** to browse events already captured on this machine, even
|
|
|
78
91
|
expired SSO session. Only events received while streaming are archived; it does not back up your
|
|
79
92
|
whole AWS account.
|
|
80
93
|
|
|
94
|
+
Historic views do not need you to switch source: with **CloudWatch** selected, a historic window is
|
|
95
|
+
answered from the archive wherever it already has the events, and only the ranges it has never seen
|
|
96
|
+
are fetched from AWS. watch-tail remembers which ranges it read from CloudWatch in full and stored,
|
|
97
|
+
so a window you looked at before is fast and cheap the next time. The last five minutes of each
|
|
98
|
+
read are always fetched again, because CloudWatch can still be ingesting them. A **filter pattern**
|
|
99
|
+
disables this, because that scan archived only the matching lines. **Local archive** stays the way
|
|
100
|
+
to read windows older than CloudWatch's 14-day limit.
|
|
101
|
+
|
|
81
102
|
```bash
|
|
82
103
|
watch-tail --db ./logs.duckdb # choose an archive file
|
|
83
104
|
watch-tail --no-archive # disable archiving
|
|
84
105
|
```
|
|
85
106
|
|
|
86
|
-
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.
|
|
107
|
+
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-archive.png" alt="watch-tail: local archive replay with stored event counts per group and the events-over-time chart" width="1200">
|
|
87
108
|
|
|
88
109
|
Each AWS account and region gets its own `<account-id>/<region>/archive.duckdb` beneath:
|
|
89
110
|
|
|
@@ -117,6 +138,74 @@ ORDER BY events DESC;
|
|
|
117
138
|
CloudWatch scans in this app are limited to the last 14 days; actual AWS retention depends on the
|
|
118
139
|
log group's settings. The local archive can retain events beyond that window.
|
|
119
140
|
|
|
141
|
+
## Make it yours
|
|
142
|
+
|
|
143
|
+
Choose a **Theme** from the header: Midnight, Ocean, Forest and Plum are dark palettes;
|
|
144
|
+
Daylight, Sand, Mint and Lavender are light palettes. It covers the controls, log severities, JSON
|
|
145
|
+
colours and the chart.
|
|
146
|
+
|
|
147
|
+
Need the interface larger or smaller? **Text size** offers Small, Default, Large and Extra large. It
|
|
148
|
+
scales the whole UI, including the log view.
|
|
149
|
+
|
|
150
|
+
Want company? Press **Puppy** in the header to bring out a Labrador puppy in the bottom-right
|
|
151
|
+
corner. It wags its tail whenever data loads and whenever you fold or unfold a section, and gets
|
|
152
|
+
excited when you click it. Drag it (or focus it and use the arrow keys) to move it to another
|
|
153
|
+
corner. Press **Puppy** again to send it away. If your system asks for reduced motion, it draws
|
|
154
|
+
wag marks instead of animating its tail and moves between corners without sliding.
|
|
155
|
+
|
|
156
|
+
The theme, text size, puppy corner, panel layout and column widths are all remembered in this browser.
|
|
157
|
+
|
|
158
|
+
<img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-puppy.png" alt="watch-tail in the Daylight theme with the group list folded away and the puppy companion in the bottom-right corner" width="1200">
|
|
159
|
+
|
|
160
|
+
## Agents (MCP)
|
|
161
|
+
|
|
162
|
+
watch-tail can run headless as a local [MCP](https://modelcontextprotocol.io) server, so an agent
|
|
163
|
+
can search CloudWatch and the local archive directly instead of calling AWS itself. The server
|
|
164
|
+
starts a private watch-tail on a free loopback port, proxies the same API the browser uses, and
|
|
165
|
+
stops it when the agent disconnects. Nothing is written to stdout except the protocol.
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
watch-tail mcp # speak MCP over stdio (an agent starts this for you)
|
|
169
|
+
watch-tail mcp init # detect installed agents and configure them
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
`mcp init` looks for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini CLI and the
|
|
173
|
+
Codex CLI, lists the ones it finds, and asks which to configure. It merges a `watch-tail` server
|
|
174
|
+
entry into each selected agent's config file, leaving everything else in the file alone, and never
|
|
175
|
+
clobbers a file it cannot parse. Useful flags:
|
|
176
|
+
|
|
177
|
+
| Flag | Meaning |
|
|
178
|
+
| -------------------- | ------------------------------------------------------------------- |
|
|
179
|
+
| `--agent <ids>` | Configure these agents (comma separated), skipping detection/prompt |
|
|
180
|
+
| `--yes` | Configure every detected agent without asking |
|
|
181
|
+
| `--print` | Show the configuration instead of writing it |
|
|
182
|
+
| `--scope <scope>` | `user` (default) or `project` (the current directory) |
|
|
183
|
+
| `--command`/`--args` | Run a local build instead of the published package |
|
|
184
|
+
|
|
185
|
+
For a checkout rather than an installed package:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
watch-tail mcp init --command node --args /path/to/watch-tail/dist/cli/bin.js
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
The agent gets five tools: `archive_status`, `list_log_groups`, `search_logs`, `count_logs` and
|
|
192
|
+
`get_identity`. Every search is a bounded historic window, matching the UI's Historic mode, and
|
|
193
|
+
`source="cloudwatch"` is the default: it reads the local DuckDB archive first and only calls AWS for
|
|
194
|
+
windows it does not already hold, so it is fast and complete. Use `source="archive"` to stay entirely
|
|
195
|
+
on this machine - no AWS calls, and no 14-day limit. `search_logs` accepts a substring (`search`) and
|
|
196
|
+
level filters on the archive, or a CloudWatch `filterPattern`. Results are sorted oldest first, and
|
|
197
|
+
`limit` (500 by default) caps a search on either source. Searching does not silently pull your
|
|
198
|
+
whole history: only the windows you ask for are archived, and only the events actually streamed.
|
|
199
|
+
|
|
200
|
+
DuckDB lets one process use an archive file at a time. The MCP server's private watch-tail opens it
|
|
201
|
+
only while a tool call runs, so it does not lock out the browser UI; a watch-tail UI, however, holds
|
|
202
|
+
the archive for as long as it runs. To have an agent use a UI you keep open instead of starting a
|
|
203
|
+
second server, add `"--url", "http://127.0.0.1:4517"` after `"mcp"` in the `args` of its
|
|
204
|
+
`watch-tail` entry. Running `mcp init` again resets `command` and `args` (and keeps everything else
|
|
205
|
+
in the entry), so add it back afterwards.
|
|
206
|
+
The server speaks the Model Context Protocol through [tmcp](https://tmcp.io): the session handshake
|
|
207
|
+
(`2025-06-18` and earlier) and the stateless `2026-07-28` revision with per-request metadata.
|
|
208
|
+
|
|
120
209
|
## CLI
|
|
121
210
|
|
|
122
211
|
```
|
|
@@ -136,6 +225,16 @@ watch-tail [options]
|
|
|
136
225
|
--no-archive Do not keep a local history archive
|
|
137
226
|
-h, --help Show this help
|
|
138
227
|
-v, --version Show the version
|
|
228
|
+
|
|
229
|
+
watch-tail mcp [options] Serve watch-tail to an AI agent over stdio
|
|
230
|
+
--url <url> Use a watch-tail already running at this URL
|
|
231
|
+
watch-tail mcp init [options] Write watch-tail into installed agents
|
|
232
|
+
--agent <ids> Configure these agents (comma separated)
|
|
233
|
+
--yes Configure every detected agent without asking
|
|
234
|
+
--print Print the configuration instead of writing it
|
|
235
|
+
--scope <scope> Where to write: user (default) or project
|
|
236
|
+
--command <exe> Executable written into the agent config (default: npx)
|
|
237
|
+
--args <args> Arguments written before `mcp`
|
|
139
238
|
```
|
|
140
239
|
|
|
141
240
|
Shell completions support zsh, bash, fish, and PowerShell, including your AWS profile names and
|
|
@@ -180,7 +279,9 @@ from the checkout's `.env.local` do not silently redirect a normal CLI run.
|
|
|
180
279
|
|
|
181
280
|
## Local development
|
|
182
281
|
|
|
183
|
-
|
|
282
|
+
Development needs **Node.js 22.18+**, which runs the TypeScript scripts in `scripts/` directly;
|
|
283
|
+
pnpm and npm refuse to install or run scripts on anything older. With [floci](https://floci.io)
|
|
284
|
+
installed:
|
|
184
285
|
|
|
185
286
|
```bash
|
|
186
287
|
pnpm install
|
|
@@ -198,7 +299,7 @@ Use `pnpm dev:aws --profile my-profile` to develop against AWS instead.
|
|
|
198
299
|
| `pnpm test:cli` | Built CLI startup and shutdown checks (Python 3 for terminal tests on macOS/Linux) |
|
|
199
300
|
| `pnpm test:ui` | Browser smoke checks against the running app |
|
|
200
301
|
| `pnpm build` / `pnpm start` | Build and run the production CLI |
|
|
201
|
-
| `pnpm publish:check` | Validate package metadata and
|
|
302
|
+
| `pnpm publish:check` | Validate package metadata, tarball contents, size budget and runtime imports |
|
|
202
303
|
|
|
203
304
|
See [ARCHITECTURE.md](./ARCHITECTURE.md) for internals,
|
|
204
305
|
[CHANGELOG.md](./CHANGELOG.md) for release history, and [RELEASING.md](./RELEASING.md) for the
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-neutral-100:oklch(97% 0 none);--color-neutral-200:oklch(92.2% 0 none);--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-y-0{inset-block:0}.-right-1{right:calc(var(--spacing) * -1)}.isolate{isolation:isolate}.z-10{z-index:10}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.ml-1{margin-left:var(--spacing)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-2{height:calc(var(--spacing) * 2)}.h-5{height:calc(var(--spacing) * 5)}.h-dvh{height:100dvh}.h-full{height:100%}.min-h-0{min-height:0}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-\[30rem\]{min-height:30rem}.min-h-full{min-height:100%}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.w-max{width:max-content}.max-w-\[22rem\]{max-width:22rem}.min-w-0{min-width:0}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-700{border-color:var(--color-amber-700)}.border-amber-800{border-color:var(--color-amber-800)}.border-amber-900{border-color:var(--color-amber-900)}.border-emerald-900{border-color:var(--color-emerald-900)}.border-neutral-500\/60{border-color:#73737399}@supports (color:color-mix(in lab, red, red)){.border-neutral-500\/60{border-color:color-mix(in oklab, var(--color-neutral-500) 60%, transparent)}}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.border-neutral-800\/40{border-color:#26262666}@supports (color:color-mix(in lab, red, red)){.border-neutral-800\/40{border-color:color-mix(in oklab, var(--color-neutral-800) 40%, transparent)}}.border-neutral-900{border-color:var(--color-neutral-900)}.border-red-800{border-color:var(--color-red-800)}.border-red-900{border-color:var(--color-red-900)}.border-sky-400{border-color:var(--color-sky-400)}.border-sky-700{border-color:var(--color-sky-700)}.border-sky-800{border-color:var(--color-sky-800)}.border-sky-900{border-color:var(--color-sky-900)}.border-teal-700{border-color:var(--color-teal-700)}.border-teal-900{border-color:var(--color-teal-900)}.border-transparent{border-color:#0000}.border-violet-900{border-color:var(--color-violet-900)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-950\/40{background-color:#46190166}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/40{background-color:color-mix(in oklab, var(--color-amber-950) 40%, transparent)}}.bg-amber-950\/50{background-color:#46190180}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/50{background-color:color-mix(in oklab, var(--color-amber-950) 50%, transparent)}}.bg-amber-950\/70{background-color:#461901b3}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/70{background-color:color-mix(in oklab, var(--color-amber-950) 70%, transparent)}}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-950\/70{background-color:#002c22b3}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\/70{background-color:color-mix(in oklab, var(--color-emerald-950) 70%, transparent)}}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-500\/10{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\/10{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\/60{background-color:#26262699}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/60{background-color:color-mix(in oklab, var(--color-neutral-800) 60%, transparent)}}.bg-neutral-800\/80{background-color:#262626cc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/80{background-color:color-mix(in oklab, var(--color-neutral-800) 80%, transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-neutral-900\/40{background-color:#17171766}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/40{background-color:color-mix(in oklab, var(--color-neutral-900) 40%, transparent)}}.bg-neutral-900\/60{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/60{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.bg-neutral-900\/70{background-color:#171717b3}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/70{background-color:color-mix(in oklab, var(--color-neutral-900) 70%, transparent)}}.bg-neutral-950{background-color:var(--color-neutral-950)}.bg-neutral-950\/60{background-color:#0a0a0a99}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/60{background-color:color-mix(in oklab, var(--color-neutral-950) 60%, transparent)}}.bg-neutral-950\/80{background-color:#0a0a0acc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/80{background-color:color-mix(in oklab, var(--color-neutral-950) 80%, transparent)}}.bg-neutral-950\/90{background-color:#0a0a0ae6}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/90{background-color:color-mix(in oklab, var(--color-neutral-950) 90%, transparent)}}.bg-red-400{background-color:var(--color-red-400)}.bg-red-950\/50{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-red-950\/70{background-color:#460809b3}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/70{background-color:color-mix(in oklab, var(--color-red-950) 70%, transparent)}}.bg-sky-400{background-color:var(--color-sky-400)}.bg-sky-400\/15{background-color:#00bcfe26}@supports (color:color-mix(in lab, red, red)){.bg-sky-400\/15{background-color:color-mix(in oklab, var(--color-sky-400) 15%, transparent)}}.bg-sky-950{background-color:var(--color-sky-950)}.bg-sky-950\/50{background-color:#052f4a80}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/50{background-color:color-mix(in oklab, var(--color-sky-950) 50%, transparent)}}.bg-sky-950\/60{background-color:#052f4a99}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/60{background-color:color-mix(in oklab, var(--color-sky-950) 60%, transparent)}}.bg-sky-950\/70{background-color:#052f4ab3}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/70{background-color:color-mix(in oklab, var(--color-sky-950) 70%, transparent)}}.bg-teal-950\/50{background-color:#022f2e80}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/50{background-color:color-mix(in oklab, var(--color-teal-950) 50%, transparent)}}.bg-teal-950\/60{background-color:#022f2e99}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/60{background-color:color-mix(in oklab, var(--color-teal-950) 60%, transparent)}}.bg-transparent{background-color:#0000}.bg-violet-950\/60{background-color:#2f0d6899}@supports (color:color-mix(in lab, red, red)){.bg-violet-950\/60{background-color:color-mix(in oklab, var(--color-violet-950) 60%, transparent)}}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pr-1{padding-right:var(--spacing)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.625rem\]{font-size:.625rem}.text-\[0\.6875rem\]{font-size:.6875rem}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-200{color:var(--color-amber-200)}.text-amber-300{color:var(--color-amber-300)}.text-amber-300\/80{color:#ffd236cc}@supports (color:color-mix(in lab, red, red)){.text-amber-300\/80{color:color-mix(in oklab, var(--color-amber-300) 80%, transparent)}}.text-amber-400\/80{color:#fcbb00cc}@supports (color:color-mix(in lab, red, red)){.text-amber-400\/80{color:color-mix(in oklab, var(--color-amber-400) 80%, transparent)}}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400\/80{color:#00d294cc}@supports (color:color-mix(in lab, red, red)){.text-emerald-400\/80{color:color-mix(in oklab, var(--color-emerald-400) 80%, transparent)}}.text-fuchsia-300{color:var(--color-fuchsia-300)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-sky-200{color:var(--color-sky-200)}.text-sky-300{color:var(--color-sky-300)}.text-sky-400{color:var(--color-sky-400)}.text-sky-400\/80{color:#00bcfecc}@supports (color:color-mix(in lab, red, red)){.text-sky-400\/80{color:color-mix(in oklab, var(--color-sky-400) 80%, transparent)}}.text-teal-300{color:var(--color-teal-300)}.text-teal-300\/80{color:#46ecd5cc}@supports (color:color-mix(in lab, red, red)){.text-teal-300\/80{color:color-mix(in oklab, var(--color-teal-300) 80%, transparent)}}.text-teal-400\/80{color:#00d3bdcc}@supports (color:color-mix(in lab, red, red)){.text-teal-400\/80{color:color-mix(in oklab, var(--color-teal-400) 80%, transparent)}}.text-violet-300{color:var(--color-violet-300)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-sky-500{accent-color:var(--color-sky-500)}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-sky-700{--tw-ring-color:var(--color-sky-700)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-offset-2{outline-offset:2px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.selection\:bg-sky-900\/60 ::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60 ::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.selection\:bg-sky-900\/60::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.placeholder\:text-neutral-600::placeholder{color:var(--color-neutral-600)}@media (hover:hover){.hover\:border-neutral-700:hover{border-color:var(--color-neutral-700)}.hover\:border-neutral-800:hover{border-color:var(--color-neutral-800)}.hover\:border-sky-600:hover{border-color:var(--color-sky-600)}.hover\:bg-neutral-800:hover{background-color:var(--color-neutral-800)}.hover\:bg-neutral-900\/60:hover{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.hover\:bg-neutral-900\/60:hover{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.hover\:bg-sky-500\/30:hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-sky-500\/30:hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.hover\:text-neutral-100:hover{color:var(--color-neutral-100)}.hover\:text-neutral-200:hover{color:var(--color-neutral-200)}.hover\:text-sky-300:hover{color:var(--color-sky-300)}}.focus\:border-sky-600:focus{border-color:var(--color-sky-600)}.focus\:bg-sky-500\/50:focus{background-color:#00a5ef80}@supports (color:color-mix(in lab, red, red)){.focus\:bg-sky-500\/50:focus{background-color:color-mix(in oklab, var(--color-sky-500) 50%, transparent)}}.focus\:stroke-neutral-100:focus{stroke:var(--color-neutral-100)}.focus\:stroke-2:focus{stroke-width:2px}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-sky-500:focus-visible{outline-color:var(--color-sky-500)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.sm\:inline{display:inline}.sm\:px-4{padding-inline:calc(var(--spacing) * 4)}}@media (width>=64rem){.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:inline-flex{display:inline-flex}.lg\:shrink-0{flex-shrink:0}.lg\:flex-row{flex-direction:row}.lg\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.lg\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}@container (width>=42rem){.\@2xl\:inline{display:inline}}}:root,:root[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0d0d0d;--color-neutral-900:#1a1a1a;--color-neutral-800:#333;--color-neutral-700:#4d4d4d;--color-neutral-600:#858585;--color-neutral-500:#999;--color-neutral-400:#b0b0b0;--color-neutral-300:#c9c9c9;--color-neutral-200:#dedede;--color-neutral-100:#f0f0f0;--color-neutral-50:#fafafa;--color-sky-950:#082a3a;--color-sky-900:#0d4159;--color-sky-800:#136286;--color-sky-700:#197fae;--color-sky-600:#1d92c9;--color-sky-500:#36ace2;--color-sky-400:#63bee9;--color-sky-300:#94d3f0;--color-sky-200:#c1e5f6;--color-sky-100:#e0f2fb;--color-sky-50:#f2f9fd}:root[data-theme=ocean]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#090c10;--color-neutral-900:#131820;--color-neutral-800:#253141;--color-neutral-700:#384961;--color-neutral-600:#647fa6;--color-neutral-500:#7d94b5;--color-neutral-400:#9bacc5;--color-neutral-300:#bbc7d8;--color-neutral-200:#d5dce7;--color-neutral-100:#eceff4;--color-neutral-50:#f9fafb;--color-sky-950:#08323a;--color-sky-900:#0d4c59;--color-sky-800:#137386;--color-sky-700:#1995ae;--color-sky-600:#1dacc9;--color-sky-500:#36c6e2;--color-sky-400:#63d2e9;--color-sky-300:#94e0f0;--color-sky-200:#c1edf6;--color-sky-100:#e0f6fb;--color-sky-50:#f2fbfd}:root[data-theme=forest]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0a0f0d;--color-neutral-900:#151e1a;--color-neutral-800:#2a3c35;--color-neutral-700:#3f5a4f;--color-neutral-600:#6f9b88;--color-neutral-500:#87ab9c;--color-neutral-400:#a2beb2;--color-neutral-300:#c0d3cb;--color-neutral-200:#d8e4df;--color-neutral-100:#edf2f0;--color-neutral-50:#f9fbfa;--color-sky-950:#083a21;--color-sky-900:#0d5933;--color-sky-800:#13864d;--color-sky-700:#19ae63;--color-sky-600:#1dc973;--color-sky-500:#36e28c;--color-sky-400:#63e9a6;--color-sky-300:#94f0c2;--color-sky-200:#c1f6db;--color-sky-100:#e0fbed;--color-sky-50:#f2fdf7}:root[data-theme=plum]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0e0a0f;--color-neutral-900:#1c141f;--color-neutral-800:#38293d;--color-neutral-700:#543d5c;--color-neutral-600:#916c9d;--color-neutral-500:#a385ad;--color-neutral-400:#b8a0c0;--color-neutral-300:#cfbfd4;--color-neutral-200:#e1d7e4;--color-neutral-100:#f1edf3;--color-neutral-50:#faf9fb;--color-sky-950:#2b083a;--color-sky-900:#420d59;--color-sky-800:#631386;--color-sky-700:#8119ae;--color-sky-600:#951dc9;--color-sky-500:#af36e2;--color-sky-400:#c163e9;--color-sky-300:#d494f0;--color-sky-200:#e6c1f6;--color-sky-100:#f3e0fb;--color-sky-50:#faf2fd}:root[data-theme=daylight]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfcfd;--color-neutral-900:#f4f5f6;--color-neutral-800:#d7dbe0;--color-neutral-700:#b8bec7;--color-neutral-600:#5e6978;--color-neutral-500:#5a6472;--color-neutral-400:#4c5561;--color-neutral-300:#3d434d;--color-neutral-200:#2d3239;--color-neutral-100:#1b1e22;--color-neutral-50:#101114;--color-sky-950:#e4f1fb;--color-sky-900:#c9e3f7;--color-sky-800:#94c6f0;--color-sky-700:#3f9ae4;--color-sky-600:#196bae;--color-sky-500:#1868aa;--color-sky-400:#104570;--color-sky-300:#124f81;--color-sky-200:#104570;--color-sky-100:#0d3759;--color-sky-50:#0a2943}:root[data-theme=sand]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fdfdfc;--color-neutral-900:#f8f5f2;--color-neutral-800:#e5ddd2;--color-neutral-700:#d0c2ae;--color-neutral-600:#88704e;--color-neutral-500:#826b4a;--color-neutral-400:#6e5b3f;--color-neutral-300:#574832;--color-neutral-200:#413525;--color-neutral-100:#272016;--color-neutral-50:#17130d;--color-sky-950:#fbefe4;--color-sky-900:#f7dec9;--color-sky-800:#f0bd94;--color-sky-700:#e4893f;--color-sky-600:#ae5c19;--color-sky-500:#aa5a18;--color-sky-400:#703b10;--color-sky-300:#814412;--color-sky-200:#703b10;--color-sky-100:#592f0d;--color-sky-50:#43230a}:root[data-theme=mint]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfdfd;--color-neutral-900:#f3f7f5;--color-neutral-800:#d3e3dd;--color-neutral-700:#b1cdc2;--color-neutral-600:#4c7664;--color-neutral-500:#507c6a;--color-neutral-400:#446a5a;--color-neutral-300:#365447;--color-neutral-200:#283e35;--color-neutral-100:#182520;--color-neutral-50:#0e1613;--color-sky-950:#e4fbf4;--color-sky-900:#c9f7e8;--color-sky-800:#94f0d1;--color-sky-700:#3fe4ad;--color-sky-600:#19ae7c;--color-sky-500:#18aa79;--color-sky-400:#107050;--color-sky-300:#12815c;--color-sky-200:#107050;--color-sky-100:#0d5940;--color-sky-50:#0a4330}:root[data-theme=lavender]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfcfd;--color-neutral-900:#f4f3f7;--color-neutral-800:#dad3e3;--color-neutral-700:#bdb1cd;--color-neutral-600:#675483;--color-neutral-500:#62507c;--color-neutral-400:#54446a;--color-neutral-300:#423654;--color-neutral-200:#31283e;--color-neutral-100:#1d1825;--color-neutral-50:#110e16;--color-sky-950:#eee4fb;--color-sky-900:#ddc9f7;--color-sky-800:#ba94f0;--color-sky-700:#843fe4;--color-sky-600:#5719ae;--color-sky-500:#5518aa;--color-sky-400:#381070;--color-sky-300:#411281;--color-sky-200:#381070;--color-sky-100:#2d0d59;--color-sky-50:#210a43}:root{--color-surface-100:var(--color-neutral-950);--color-surface-200:var(--color-neutral-900);--color-surface-300:var(--color-neutral-800);--color-surface-content:var(--color-neutral-300);--color-primary:var(--color-sky-400);--chart-error:var(--color-red-400);--chart-warn:var(--color-amber-300);--chart-info:var(--color-neutral-400);--chart-debug:var(--color-neutral-500);--chart-unknown:var(--color-neutral-600)}:root[data-theme=daylight],:root[data-theme=sand],:root[data-theme=mint],:root[data-theme=lavender]{--color-red-300:#b91c1c;--color-red-400:#b91c1c;--color-red-800:#dc2626;--color-red-900:#fca5a5;--color-red-950:#fef2f2;--color-amber-200:#78350f;--color-amber-300:#92400e;--color-amber-400:#92400e;--color-amber-700:#b45309;--color-amber-800:#d97706;--color-amber-900:#fcd34d;--color-amber-950:#fffbeb;--color-emerald-300:#065f46;--color-emerald-400:#065f46;--color-emerald-900:#6ee7b7;--color-emerald-950:#ecfdf5;--color-teal-300:#115e59;--color-teal-400:#115e59;--color-teal-700:#0f766e;--color-teal-900:#5eead4;--color-teal-950:#f0fdfa;--color-violet-300:#6d28d9;--color-violet-900:#c4b5fd;--color-violet-950:#f5f3ff;--color-fuchsia-300:#a21caf}html[data-text-size=small]{font-size:90%}html[data-text-size=default]{font-size:100%}html[data-text-size=large]{font-size:115%}html[data-text-size=xlarge]{font-size:130%}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}svg.svelte-17zj3z9{stroke-linecap:round;stroke-linejoin:round;height:auto;display:block;overflow:visible}.tail.svelte-17zj3z9{transform-box:view-box;transform-origin:var(--tail-pivot)}.active.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:svelte-17zj3z9-wag var(--wag-speed) infinite}.active.excited.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:svelte-17zj3z9-wag-excited var(--excited-speed) infinite}@keyframes svelte-17zj3z9-wag{0%{animation-timing-function:ease-out;transform:rotate(0)}25%{transform:rotate(calc(var(--wag-amp) * -1));animation-timing-function:ease-in-out}75%{transform:rotate(var(--wag-amp));animation-timing-function:ease-in}to{transform:rotate(0)}}@keyframes svelte-17zj3z9-wag-excited{0%{animation-timing-function:ease-out;transform:rotate(0)}25%{transform:rotate(calc(var(--excited-amp) * -1));animation-timing-function:ease-in-out}75%{transform:rotate(var(--excited-amp));animation-timing-function:ease-in}to{transform:rotate(0)}}.marks.svelte-17zj3z9{transition:opacity .12s}.active.svelte-17zj3z9 .marks:where(.svelte-17zj3z9){opacity:0}@media (prefers-reduced-motion:reduce){.active.svelte-17zj3z9 .tail:where(.svelte-17zj3z9),.active.excited.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:none}.active.svelte-17zj3z9 .marks:where(.svelte-17zj3z9){opacity:1}}.companion.svelte-gewjew,.slot.svelte-gewjew{position:fixed;top:0;left:0}.companion.svelte-gewjew{z-index:50;pointer-events:none;touch-action:none;transition:transform .32s cubic-bezier(.34,1.4,.64,1)}.companion.dragging.svelte-gewjew{transition:none}.companion.svelte-gewjew svg{pointer-events:none}.companion.svelte-gewjew svg>g{pointer-events:visiblePainted;cursor:grab}.companion.dragging.svelte-gewjew svg>g{cursor:grabbing}.slot.svelte-gewjew{z-index:40;pointer-events:none}@media (prefers-reduced-motion:reduce){.companion.svelte-gewjew{transition:none}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@media (width>=64rem){#log-group-sidebar.svelte-1uha8ag{width:var(--sidebar-width)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,B as t,Ct as n,I as r,N as i,P as a,St as o,V as s,X as c,a as l,at as u,ht as d,j as f,o as p,ut as m,vt as h}from"./B2En4t_E.js";import"./xihTtKlq.js";import{t as g}from"./CbtqT1c8.js";import{C as _,D as v,E as y,g as b,x,y as S}from"./D9KJP6hv.js";import{t as C}from"./Y5urAfNy.js";import{t as w}from"./Db0q5_zr.js";import{t as T}from"./PUpq0Ki5.js";import{i as E}from"./Cy2yzzl5.js";import{n as D,r as O,t as k}from"./D067lFSc.js";import{n as A,t as j}from"./kSuEE8Bt.js";import{a as M,o as N,r as P}from"./CZZUqHxO.js";import{A as F}from"./CXlCR4o6.js";var I=class{#e=()=>({});#t=h(()=>this.#e());ctx=g();markData=S();geo=b();#n;#r=null;constructor(t){this.#e=t;let n=t();this.ctx.registerComponent({name:`Spline`,kind:`mark`,markInfo:()=>{let e=c(this.#t);return{data:e.data,x:e.x,y:e.y,seriesKey:e.seriesKey,color:typeof e.stroke==`string`?e.stroke:void 0}}});let r=N(c(this.#t).motion);if(this.#n=P(this.#T(),()=>this.d,r?{type:`tween`,interpolate:O,...r.options}:void 0),this.#r=M(n.motion,O),this.#r){let t=this.#r,n=new Set;u(()=>{let r=c(this.#v);if(!r)return;let i=new Set,a=new Set;for(let o of r){if(o.key===void 0)continue;i.add(o.key),o.lineKey!==void 0&&a.add(o.lineKey);let r=o.lineKey!==void 0&&n.has(o.lineKey);e(()=>t.update(o.key,o.d,()=>r?this.#E(o.data):this.#T(o.data)))}n=a,e(()=>t.cleanup(i))})}}#i(e,t,n){let r=n(e);return Array.isArray(r)&&(r=w(r)),t.domain().length?t(r):r}#a=h(()=>this.ctx.series.series.find(e=>e.key===c(this.#t).seriesKey));get series(){return c(this.#a)}set series(e){d(this.#a,e)}#o=h(()=>this.series?.value??(this.series?.data?void 0:this.series?.key));get seriesAccessor(){return c(this.#o)}set seriesAccessor(e){d(this.#o,e)}#s=h(()=>T(c(this.#t).x??(this.ctx.valueAxis===`x`?this.seriesAccessor:void 0)??this.ctx.x));get xAccessor(){return c(this.#s)}set xAccessor(e){d(this.#s,e)}#c=h(()=>this.ctx.stackAccessorsFor({seriesKey:c(this.#t).seriesKey,ownData:c(this.#t).data!=null}));get stackAccessors(){return c(this.#c)}set stackAccessors(e){d(this.#c,e)}#l=h(()=>{let e=c(this.#t);if(e.y)return T(e.y);if(this.ctx.valueAxis===`y`){if(this.stackAccessors)return this.stackAccessors.y1;if(this.seriesAccessor)return T(this.seriesAccessor)}return T(this.ctx.y)});get yAccessor(){return c(this.#l)}set yAccessor(e){d(this.#l,e)}#u=h(()=>this.markData(c(this.#t).data??this.series?.data));get resolvedData(){return c(this.#u)}set resolvedData(e){d(this.#u,e)}#d=h(()=>{let e=c(this.#t),t=e.z??this.ctx.props.z;if(t!=null)return T(t);let n=this.resolvedData?.[0],r=x(e.stroke,n)??x(e.fill,n);return r==null?e.data!=null||this.series?.data!=null?null:n!=null&&this.ctx.cKey(n)!=null?this.ctx.cKey:null:T(r)});get zAccessor(){return c(this.#d)}set zAccessor(e){d(this.#d,e)}#f=h(()=>this.zAccessor?Array.from(F(this.resolvedData,this.zAccessor).values()).filter(e=>this.#w(e[0])):[this.resolvedData]);get lines(){return c(this.#f)}set lines(e){d(this.#f,e)}#p=h(()=>E(this.ctx.xScale)?this.ctx.xScale.bandwidth()/2:0);get xOffset(){return c(this.#p)}set xOffset(e){d(this.#p,e)}#m=h(()=>E(this.ctx.yScale)?this.ctx.yScale.bandwidth()/2:0);get yOffset(){return c(this.#m)}set yOffset(e){d(this.#m,e)}#h(e){let t=c(this.#t),n=this.ctx.radial?j().angle(e=>this.#i(e,this.ctx.xScale,this.xAccessor)+0).radius(e=>this.#i(e,this.ctx.yScale,this.yAccessor)+this.yOffset):A().x(e=>this.#i(e,this.ctx.xScale,this.xAccessor)+this.xOffset).y(e=>this.#i(e,this.ctx.yScale,this.yAccessor)+this.yOffset);return n.defined(t.defined??(e=>this.xAccessor(e)!=null&&this.yAccessor(e)!=null)),t.curve&&n.curve(t.curve),n(e)??``}#g=h(()=>{let e=c(this.#t);return typeof e.stroke==`function`||typeof e.fill==`function`||typeof e.opacity==`function`||typeof e.class==`function`});get hasAnyStyleFn(){return c(this.#g)}set hasAnyStyleFn(e){d(this.#g,e)}#_=h(()=>{let e=c(this.#t);if((this.hasAnyStyleFn||this.zAccessor)&&!this.geo.projection)return``;let t=this.resolvedData;if(this.geo.projection){let n={type:`LineString`,coordinates:t.filter(n=>e.defined?e.defined(n,0,t):this.xAccessor(n)!=null&&this.yAccessor(n)!=null).map(e=>[this.xAccessor(e),this.yAccessor(e)])};return C(this.geo.projection)(n)??``}return this.#h(t)});get d(){return c(this.#_)}set d(e){d(this.#_,e)}#v=h(()=>{if(!this.hasAnyStyleFn&&!this.zAccessor)return null;let e=c(this.#t);if(this.geo.projection)return null;let t=[];for(let n of this.lines){let r=this.#x(n);if(this.hasAnyStyleFn){let i=L(n,(t,n,r)=>{let i=_(e.stroke,t,this.ctx.cScale,n,r),a=_(e.fill,t,this.ctx.cScale,n,r),o=y(e.opacity,t,n,r),s=y(e.class,t,n,r);return{key:`${i}\0${a}\0${o}\0${s}`,style:{stroke:i,fill:a,opacity:o,class:s}}}),a=this.#b(n[0])??this.series?.color,o=this.zAccessor?this.zAccessor(n[0]):``,s=new Map;i.forEach((e,n)=>{let c=s.get(e.key)??0;s.set(e.key,c+1),t.push({...e.style,stroke:e.style.stroke??a,opacity:e.style.opacity??r,d:this.#h(e.data),data:e.data,key:`${o}\0${e.key}\0${c}`,lineKey:o,lineStart:n===0,lineEnd:n===i.length-1})})}else t.push({stroke:_(e.stroke,n[0],this.ctx.cScale)??this.#b(n[0])??this.series?.color,fill:_(e.fill,n[0],this.ctx.cScale),opacity:y(e.opacity,n[0])??r,class:y(e.class,n[0]),d:this.#h(n),data:n,key:this.zAccessor?this.zAccessor(n[0]):void 0,lineStart:!0,lineEnd:!0})}return t});#y=h(()=>{let e=c(this.#v),t=this.#r;return!e||!t?e:e.map(e=>e.key===void 0?e:{...e,d:t.get(e.key)??e.d})});get segments(){return c(this.#y)}set segments(e){d(this.#y,e)}#b(e){return e!=null&&this.ctx.cKey(e)!=null?this.ctx.cGet(e):void 0}#x(e){let t=this.#S(e[0]);if(t!=null)return this.ctx.series.isHighlighted(t,!0)?1:.1}#S(e){let t=this.ctx.cKey(e);if(t!=null)return t;if(!this.zAccessor||e==null)return null;let n=this.zAccessor(e);return this.#C(n)?n:null}#C(e){return e!=null&&this.ctx.series.series.some(t=>t.key===e)}#w(e){if(e==null||!this.zAccessor)return!0;let t=this.zAccessor(e);return!this.#C(t)||this.ctx.series.visibleSeries.some(e=>e.key===t)}#T(e){let t=c(this.#t);if(!N(t.motion))return``;if(this.ctx.config.x){let n=e??this.resolvedData,r=Math.min(this.ctx.yScale(0)??this.ctx.yRange[0],this.ctx.yRange[0]),i=this.ctx.radial?j().angle(e=>this.#i(e,this.ctx.xScale,this.xAccessor)+0).radius(()=>r):A().x(e=>this.#i(e,this.ctx.xScale,this.xAccessor)+this.xOffset).y(()=>r);return i.defined(t.defined??(e=>this.xAccessor(e)!=null&&this.yAccessor(e)!=null)),t.curve&&i.curve(t.curve),i(n)??``}return``}#E(e){let t=c(this.#t);if(!N(t.motion)||e[0]==null)return``;let n=this.#i(e[0],this.ctx.xScale,this.xAccessor),r=this.#i(e[0],this.ctx.yScale,this.yAccessor);if(!Number.isFinite(n)||!Number.isFinite(r))return``;let i=this.ctx.radial?j().angle(()=>n).radius(()=>r+this.yOffset):A().x(()=>n+this.xOffset).y(()=>r+this.yOffset);return i.defined(t.defined??(e=>this.xAccessor(e)!=null&&this.yAccessor(e)!=null)),t.curve&&i.curve(t.curve),i(e)??``}#D=h(()=>_(c(this.#t).stroke,this.lines[0]?.[0],this.ctx.cScale)??this.#b(this.lines[0]?.[0])??this.series?.color);get resolvedStroke(){return c(this.#D)}set resolvedStroke(e){d(this.#D,e)}#O=h(()=>_(c(this.#t).fill,this.lines[0]?.[0],this.ctx.cScale));get resolvedFill(){return c(this.#O)}set resolvedFill(e){d(this.#O,e)}#k=h(()=>y(c(this.#t).class,this.lines[0]?.[0]));get resolvedClass(){return c(this.#k)}set resolvedClass(e){d(this.#k,e)}#A=h(()=>N(c(this.#t).motion)!=null);get isTweened(){return c(this.#A)}set isTweened(e){d(this.#A,e)}get tweenedPath(){return this.#n.current}#j=h(()=>this.series?.key==null||this.ctx.series.visibleSeries.length<=1||this.ctx.series.isHighlighted(this.series.key,!0)?1:.1);get seriesOpacity(){return c(this.#j)}set seriesOpacity(e){d(this.#j,e)}};function L(e,t){if(e.length<2)return[];let n=[],r=t(e[0],0,e),i=0;for(let a=1;a<e.length;a++){let o=t(e[a],a,e);o.key!==r.key&&(n.push({key:r.key,style:r.style,data:e.slice(i,a+1)}),i=a,r=o)}return e.length-i>=2&&n.push({key:r.key,style:r.style,data:e.slice(i)}),n}var R=new Set([`$$slots`,`$$events`,`$$legacy`,`Path`,`data`,`x`,`y`,`z`,`seriesKey`,`defined`,`curve`,`stroke`,`fill`,`opacity`,`class`,`motion`,`marker`,`markerStart`,`markerMid`,`markerEnd`,`startContent`,`endContent`]);function z(e,u){n(u,!0);let d=l(u,R),g=new I(()=>({data:u.data,x:u.x,y:u.y,z:u.z,seriesKey:u.seriesKey,defined:u.defined,curve:u.curve,stroke:u.stroke,fill:u.fill,opacity:u.opacity,class:u.class,motion:u.motion}));var _=s(),v=m(_),y=e=>{var n=s(),r=m(n);i(r,17,()=>g.segments,a,(e,n)=>{var r=s(),i=m(r);{let e=h(()=>c(n).opacity??(g.seriesOpacity===1?void 0:g.seriesOpacity)),t=h(()=>u.markerMid??u.marker),r=h(()=>c(n).lineStart?u.markerStart??u.marker:u.markerMid??u.marker),a=h(()=>c(n).lineEnd?u.markerEnd??u.marker:void 0),o=h(()=>c(n).lineStart?u.startContent:void 0),s=h(()=>c(n).lineEnd?u.endContent:void 0);f(i,()=>u.Path,(i,l)=>{l(i,p({get pathData(){return c(n).d},get stroke(){return c(n).stroke},get fill(){return c(n).fill},get opacity(){return c(e)},get class(){return c(n).class},get markerMid(){return c(t)},get markerStart(){return c(r)},get markerEnd(){return c(a)},get startContent(){return c(o)},get endContent(){return c(s)}},()=>g.series?.props,()=>d))})}t(e,r)}),t(e,n)},b=e=>{var n=s(),r=m(n);{let e=h(()=>g.isTweened?g.tweenedPath:g.d),t=h(()=>(typeof u.opacity==`number`?u.opacity:void 0)??(g.seriesOpacity===1?void 0:g.seriesOpacity));f(r,()=>u.Path,(n,r)=>{r(n,p({get pathData(){return c(e)},get stroke(){return g.resolvedStroke},get fill(){return g.resolvedFill},get opacity(){return c(t)},get class(){return g.resolvedClass},get marker(){return u.marker},get markerStart(){return u.markerStart},get markerMid(){return u.markerMid},get markerEnd(){return u.markerEnd},get startContent(){return u.startContent},get endContent(){return u.endContent}},()=>g.series?.props,()=>d))})}t(e,n)};r(v,e=>{g.segments?e(y):e(b,-1)}),t(e,_),o()}var B=new Set([`$$slots`,`$$events`,`$$legacy`]);function V(e,t){let n=l(t,B);z(e,p({get Path(){return D}},()=>n))}var H=new Set([`$$slots`,`$$events`,`$$legacy`]);function U(e,t){let n=l(t,H);z(e,p({get Path(){return k}},()=>n))}var W=new Set([`$$slots`,`$$events`,`$$legacy`]);function G(e,i){n(i,!0);let a=v(),c=l(i,W);var u=s(),d=m(u),f=e=>{V(e,p(()=>c))},h=e=>{U(e,p(()=>c))};r(d,e=>{a===`svg`?e(f):a===`canvas`&&e(h,1)}),t(e,u),o()}export{G as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){return typeof e?.then==`function`}function g(e){for(var t=0;t<e.length;t++)e[t]()}function _(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function v(e,t,n=!1){return e===void 0?n?t():t:e}function y(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}function b(e,t){var n={};for(var r in e)t.includes(r)||(n[r]=e[r]);for(var i of Object.getOwnPropertySymbols(e))Object.propertyIsEnumerable.call(e,i)&&!t.includes(i)&&(n[i]=e[i]);return n}var x=1<<24,S=1024,C=2048,w=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<18,oe=1<<19,se=1<<20,ce=1<<25,le=65536,ue=1<<21,de=1<<22,fe=1<<23,pe=Symbol(`$state`),me=Symbol(`component`),he=Symbol(`legacy props`),ge=Symbol(``),_e=Symbol(`proxy path`),ve=Symbol(`attributes`),ye=Symbol(`class`),be=Symbol(`style`),xe=Symbol(`text`),Se=Symbol(`form reset`),Ce=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},we=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`),Te={},T=Symbol(`uninitialized`),Ee=`http://www.w3.org/1999/xhtml`,De=`http://www.w3.org/2000/svg`;function Oe(){console.warn(`https://svelte.dev/e/derived_inert`)}function ke(e){console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`)}function Ae(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function je(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function Me(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function D(e){E=e}var O;function k(e){if(e===null)throw Ae(),Te;return O=e}function A(){return k(B(O))}function Ne(e){if(E){if(B(O)!==null)throw Ae(),Te;O=e}}function Pe(e=1){if(E){for(var t=e,n=O;t--;)n=B(n);O=n}}function Fe(e=!0){for(var t=0,n=O;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=B(n);e&&n.remove(),n=i}}function Ie(e){if(!e||e.nodeType!==8)throw Ae(),Te;return e.data}function Le(e){return e===this.v}function Re(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function ze(e){return!Re(e,this.v)}function Be(e){throw Error(`https://svelte.dev/e/experimental_async_required`)}function Ve(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function He(){throw Error(`https://svelte.dev/e/missing_context`)}function Ue(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function We(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ge(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ke(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function qe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Je(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ye(){throw Error(`https://svelte.dev/e/fork_discarded`)}function Xe(){throw Error(`https://svelte.dev/e/fork_timing`)}function Ze(){throw Error(`https://svelte.dev/e/get_abort_signal_outside_reaction`)}function Qe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function $e(e){throw Error(`https://svelte.dev/e/lifecycle_legacy_only`)}function et(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function tt(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function nt(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function rt(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function it(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var at=[];function ot(e,t=!1,n=!1){return st(e,new Map,``,at,null,n)}function st(e,t,r,i,a=null,o=!1){if(typeof e==`object`&&e){var s=t.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(n(e)){var c=Array(e.length);t.set(e,c),a!==null&&t.set(a,c);for(var u=0;u<e.length;u+=1){var f=e[u];u in e&&(c[u]=st(f,t,r,i,null,o))}return c}if(d(e)===l){c={},t.set(e,c),a!==null&&t.set(a,c);for(var p of Object.keys(e))c[p]=st(e[p],t,r,i,null,o);return c}if(e instanceof Date)return e.getTime(),structuredClone(e);if(typeof e.toJSON==`function`&&!o)return st(e.toJSON(),t,r,i,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}function ct(e,t){return e.label=t,lt(e.v,t),e}function lt(e,t){return e?.[_e]?.(t),e}function ut(e){return typeof e==`symbol`?`Symbol(${e.description})`:typeof e==`function`?`<function>`:typeof e==`object`&&e?`<object>`:String(e)}function dt(e,t,n){let r={};return[()=>(n(r)||He(),e(r)),e=>t(r,e),()=>n(r)]}function ft(e){let t=e.p;for(;t!==null&&t.c===null;)t=t.p;return t?.c??null}function pt(e,t){return e===null&&Ve(t),e.c??=new Map(ft(e)||void 0)}var j=null;function mt(e){j=e}function ht(){return dt(gt,_t,vt)}function gt(e){return pt(j,`getContext`).get(e)}function _t(e,t){return pt(j,`setContext`).set(e,t),t}function vt(e){return pt(j,`hasContext`).has(e)}function yt(){return pt(j,`getAllContexts`)}function bt(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,r:q,l:null}}function xt(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)tr(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,St(e)}function St(e={}){return o(e,me,{value:!0}),e}function Ct(){return!0}var wt=[];function Tt(){var e=wt;wt=[],g(e)}function M(e){if(wt.length===0&&!an){var t=wt;queueMicrotask(()=>{t===wt&&Tt()})}wt.push(e)}function Et(){for(;wt.length>0;)Tt()}var Dt=~(C|w|S);function N(e,t){e.f=e.f&Dt|t}function Ot(e){e.f&512||e.deps===null?N(e,S):N(e,w)}function kt(e){if(e!==null)for(let t of e)t.f&2&&t.f&65536&&(t.f^=le,kt(t.deps))}function At(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),kt(e.deps),N(e,S)}var jt=[];function Mt(e,t=m){let n=null,r=new Set;function i(t){if(Re(e,t)&&(e=t,n)){let t=!jt.length;for(let t of r)t[1](),jt.push(t,e);if(t){for(let e=0;e<jt.length;e+=2)jt[e][0](jt[e+1]);jt.length=0}}}function a(t){i(t(e))}function o(o,s=m){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||m),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Nt=!1;function Pt(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}function Ft(e,t){if(t){let t=document.body;e.autofocus=!0,M(()=>{document.activeElement===t&&e.focus()})}}var It=!1;function Lt(){It||(It=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[Se]?.()})},{capture:!0}))}function Rt(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);$n(()=>{for(var r of t)e.removeEventListener(r,n)})}function zt(e){var t=W,n=q;K(null),Tr(null);try{return e()}finally{K(t),Tr(n)}}function Bt(e,t,n,r=n){e.addEventListener(t,()=>zt(n));let i=e[Se];e[Se]=i?()=>{i(),r(!0)}:()=>r(!0),Lt()}function Vt(e,t,n,r){let i=Ct()?Gt:Yt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=q,c=Ht(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){Yn(e,s)}Ut()}}var d=Wt();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>qt(e))).then(u).catch(e=>Yn(e,s)).finally(d)}l?l.then(()=>{c(),f(),Ut()}):f()}function Ht(){var e=q,t=W,n=j,r=P;return function(i=!0){Tr(e),K(t),mt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Ut(e=!0){Tr(null),K(null),mt(null),e&&P?.deactivate()}function Wt(){var e=q,t=e.b,n=P,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Gt(e){var t=2|C;return q!==null&&(q.f|=oe),{ctx:j,deps:null,effects:null,equals:Le,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:q,ac:null}}var Kt=Symbol(`obsolete`);function qt(e,t,n){let r=q;r===null&&Ue();var i=void 0,a=I(T),o=!W,s=new Set;return or(()=>{var t=q,n=_();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==Ce&&n.reject(e)}).finally(Ut)}catch(e){n.reject(e),Ut()}var c=P;if(o){if(t.f&32768)var l=Wt();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Kt);else for(let e of s.values())e.reject(Kt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Kt&&(c.activate(),t?(a.f|=fe,Dn(a,t)):(a.f&8388608&&(a.f^=fe),Dn(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),$n(()=>{for(let e of s)e.reject(Kt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function Jt(e){let t=Gt(e);return Dr(t),t}function Yt(e){let t=Gt(e);return t.equals=ze,t}function Xt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function Zt(e){var t,n=q,r=e.parent;if(!Cr&&r!==null&&e.v!==T&&r.f&24576)return Oe(),e.v;Tr(r);try{e.f&=~le,Xt(e),t=Ir(e)}finally{Tr(n)}return t}function Qt(e){var t=Zt(e);if(!e.equals(t)&&(e.wv=Nr(),(!P?.is_fork||e.deps===null)&&(P===null?e.v=t:(P.capture(e,t,!0),nn?.capture(e,t,!0)),e.deps===null))){N(e,S);return}Cr||(F===null?Ot(e):(Qn()||P?.is_fork)&&F.set(e,t))}function $t(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&zt(()=>{t.ac.abort(Ce),t.ac=null}),t.fn!==null&&(t.teardown=m),zr(t,0),fr(t))}function en(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Br(t)}var tn=null,P=null,nn=null,F=null,rn=null,an=!1,on=!1,sn=null,cn=null,ln=0,un=1,dn=class e{id=un++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){tn===null?tn=this:(tn.#n=this,this.#t=tn),tn=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)N(r,C),t(r);for(r of n.m)N(r,w),t(r)}this.#p.add(e)}#g(){this.#e=!0,ln++>1e3&&(this.#x(),pn());for(let e of this.#u)this.#d.delete(e),N(e,C),this.schedule(e);for(let e of this.#d)N(e,w),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=sn=[],r=[],i=cn=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw yn(e),this.#h()||this.discard(),t}if(P=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(sn=null,cn=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)vn(e,t);i.length>0&&P.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),nn=this,hn(r),hn(n),nn=null,this.#s?.resolve();var s=P;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0){if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this}s!==null&&(Sn.clear(),s.#g())}#_(e,t,n){e.f^=S;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=S:i&4?t.push(r):Pr(r)&&(i&16&&this.#d.add(r),Br(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),N(i,C),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),P=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)At(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==T&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),F?.set(e,t)),this.is_fork||(e.v=t)}activate(){P=this}deactivate(){P=null,F=null}flush(){try{on=!0,P=this,this.#g()}finally{ln=0,rn=null,sn=null,cn=null,on=!1,P=null,F=null,Sn.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Kt);this.#x(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,M(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=_()).promise}static ensure(){if(P===null){let t=P=new e;!on&&!an&&M(()=>{t.#e||t.flush()})}return P}apply(){F=null}schedule(e){if(rn=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(sn!==null&&t===q&&(W===null||!(W.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=S}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?tn=e:t.#t=e,this.linked=!1}}};function fn(e){var t=an;an=!0;try{var n;for(e&&(P!==null&&!P.is_fork&&P.flush(),n=e());;){if(Et(),P===null)return n;P.flush()}}finally{an=t}}function pn(){try{Je()}catch(e){Yn(e,rn)}}var mn=null;function hn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Pr(r)&&(mn=new Set,Br(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&hr(r),mn?.size>0)){Sn.clear();for(let e of mn){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)mn.has(n)&&(mn.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Br(n)}}mn.clear()}}mn=null}}function gn(e,t){if(e.reactions!==null)for(let n of e.reactions){let e=n.f;e&2?gn(n,t):e&131072&&(N(n,C),t.add(n))}}function _n(e){P.schedule(e)}function vn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),N(e,S);for(var n=e.first;n!==null;)vn(n,t),n=n.next}}function yn(e){N(e,S);for(var t=e.first;t!==null;)yn(t),t=t.next}function bn(e){Be(`fork`),P!==null&&Xe();var t=dn.ensure();t.is_fork=!0,F=new Map;var n=!1,r=t.settled();return fn(e),{commit:async()=>{if(n){await r;return}t.linked||Ye(),n=!0,t.is_fork=!1;for(var[e,[i]]of t.current)e.v=i,e.wv=Nr();fn(()=>{var e=new Set;for(var n of t.current.keys())gn(n,e);Cn(e),On()}),t.flush(),await r},discard:()=>{for(var e of t.current.keys())e.wv=Nr();!n&&t.linked&&t.discard()}}}var xn=new Set,Sn=new Map;function Cn(e){xn=e}var wn=!1;function I(e,t){return{f:0,v:e,reactions:null,equals:Le,rv:0,wv:0}}function Tn(e,t){let n=I(e,t);return Dr(n),n}function En(e,t=!1,n=!0){let r=I(e);return t||(r.equals=ze),r}function L(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&Ct()&&W.f&4325394&&(Er===null||!Er.has(e))&&rt(),Dn(e,n?jn(t):t,cn)}function Dn(e,t,n=null){if(!e.equals(t)){Cr?Sn.set(e,t):Sn.has(e)||Sn.set(e,e.v);var r=dn.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Zt(t),F===null&&Ot(t)}e.wv=Nr(),An(e,C,n),Ct()&&q!==null&&q.f&1024&&!(q.f&96)&&(X===null?Or([e]):X.push(e)),!r.is_fork&&xn.size>0&&!wn&&On()}return t}function On(){wn=!1;for(let e of xn){e.f&1024&&N(e,w);let t;try{t=Pr(e)}catch{t=!0}t&&Br(e)}xn.clear()}function kn(e){L(e,e.v+1)}function An(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ct(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(i||s!==q){var l=(c&C)===0;if(l&&N(s,t),c&131072)xn.add(s);else if(c&2){var u=s;F?.delete(u),c&65536||(c&512&&(q===null||!(q.f&2097152))&&(s.f|=le),An(u,w,n))}else if(l){var d=s;c&16&&mn!==null&&mn.add(d),n===null?_n(d):n.push(d)}}}}function jn(e){if(typeof e!=`object`||!e||pe in e||me in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=Tn(0),o=null,c=jr,f=e=>{if(jr===c)return e();var t=W,n=jr;K(null),Mr(c);var r=e();return K(t),Mr(n),r};return i&&r.set(`length`,Tn(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&tt();var i=r.get(t);return i===void 0?f(()=>{var e=Tn(n.value,o);return r.set(t,e),e}):L(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>Tn(T,o));r.set(t,e),kn(a)}}else L(n,T),kn(a);return!0},get(t,n,i){if(n===pe)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>Tn(jn(c?t[n]:T),o)),r.set(n,a)),a!==void 0){var l=Z(a);return l===T?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=Z(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==T)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===pe)return!0;var n=r.get(t),i=n!==void 0&&n.v!==T||Reflect.has(e,t);return(n!==void 0||q!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>Tn(i?jn(e[t]):T,o)),r.set(t,n)),Z(n)===T)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>Tn(T,o)),r.set(d+``,p)):L(p,T)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>Tn(void 0,o)),L(l,jn(n)),r.set(t,l));else{u=l.v!==T;var m=f(()=>jn(n));L(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&L(g,_+1)}kn(a)}return!0},ownKeys(e){Z(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==T});for(var[n,i]of r)i.v!==T&&!(n in e)&&t.push(n);return t},setPrototypeOf(){nt()}})}function Mn(e){try{if(typeof e==`object`&&e&&pe in e)return e[pe]}catch{}return e}function Nn(e,t){return Object.is(Mn(e),Mn(t))}var Pn,Fn,In,Ln,Rn;function zn(){if(Pn===void 0){Pn=window,Fn=document,In=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ln=s(t,`firstChild`).get,Rn=s(t,`nextSibling`).get,f(e)&&(e[ye]=void 0,e[ve]=null,e[be]=void 0,e.__e=void 0),f(n)&&(n[xe]=void 0)}}function R(e=``){return document.createTextNode(e)}function z(e){return Ln.call(e)}function B(e){return Rn.call(e)}function Bn(e,t){if(!E)return z(e);var n=z(O);if(n===null)n=O.appendChild(R());else if(t&&n.nodeType!==3){var r=R();return n?.before(r),k(r),r}return t&&qn(n),k(n),n}function Vn(e,t=!1){if(!E){var n=z(e);return n instanceof Comment&&n.data===``?B(n):n}if(t){if(O?.nodeType!==3){var r=R();return O?.before(r),k(r),r}qn(O)}return O}function Hn(e,t=!1){if(!E)return z(e);var n=Bn(e,t);return Ne(e),n}function Un(e,t=1,n=!1){let r=E?O:e;for(var i;t--;)i=r,r=B(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=R();return r===null?i?.after(a):r.before(a),k(a),a}qn(r)}return k(r),r}function Wn(e){e.textContent=``}function Gn(){return!1}function Kn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function qn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Jn(e){var t=q;if(t===null)return W.f|=fe,e;if(!(t.f&32768)&&!(t.f&4))throw e;Yn(e,t)}function Yn(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function Xn(e){q===null&&(W===null&&qe(e),Ke()),Cr&&Ge(e)}function Zn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=q;n!==null&&n.f&8192&&(e|=ee);var r={ctx:j,deps:null,nodes:null,f:e|C|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};P?.register_created_effect(r);var i=r;if(e&4)sn===null?dn.ensure().schedule(r):sn.push(r);else if(t!==null){try{Br(r)}catch(e){throw U(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&Zn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function Qn(){return W!==null&&!G}function $n(e){let t=V(8,null);return N(t,S),t.teardown=e,t}function er(e){Xn(`$effect`);var t=q.f;if(!W&&t&32&&j!==null&&!j.i){var n=j;(n.e??=[]).push(e)}else return tr(e)}function tr(e){return V(4|se,e)}function nr(e){return Xn(`$effect.pre`),V(8|se,e)}function rr(e){dn.ensure();let t=V(64|oe,e);return()=>{U(t)}}function ir(e){dn.ensure();let t=V(64|oe,e);return(e={})=>new Promise(n=>{e.outro?gr(t,()=>{U(t),n(void 0)}):(U(t),n(void 0))})}function ar(e){return V(4,e)}function or(e){return V(de|oe,e)}function sr(e,t=0){return V(8|t,e)}function cr(e,t=[],n=[],r=[]){Vt(r,t,n,t=>{V(8,()=>{e(...t.map(Z))})})}function lr(e,t=0){return V(16|t,e)}function ur(e,t=0){return V(x|t,e)}function H(e){return V(32|oe,e)}function dr(e){var t=e.teardown;if(t!==null){let n=Cr,r=W;wr(!0),K(null);try{t.call(null)}catch(t){Yn(t,e.parent)}finally{wr(n),K(r)}}}function fr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&zt(()=>{e.abort(Ce)});var r=n.next;n.f&64?n.parent=null:U(n,t),n=r}}function pr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||U(t),t=n}}function U(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(mr(e.nodes.start,e.nodes.end),n=!0),e.f|=re,fr(e,t&&!n),zr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();dr(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&hr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function mr(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function hr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function gr(e,t,n=!0){var r=[];e.f|=256,_r(e,r,!0);var i=()=>{n&&U(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function _r(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);_r(i,t,o?n:!1)}i=a}}}function vr(e){e.f&=-257,yr(e,!0)}function yr(e,t){if(!(e.f&256)&&e.f&8192){e.f^=ee,e.f&1024||(N(e,C),dn.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);yr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function br(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:B(n);t.append(n),n=i}}var xr=null,Sr=!1,Cr=!1;function wr(e){Cr=e}var W=null,G=!1;function K(e){W=e}var q=null;function Tr(e){q=e}var Er=null;function Dr(e){W!==null&&(Er??=new Set).add(e)}var J=null,Y=0,X=null;function Or(e){X=e}var kr=1,Ar=0,jr=Ar;function Mr(e){jr=e}function Nr(){return++kr}function Pr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~le),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Pr(a)&&Qt(a),a.wv>e.wv)return!0}t&512&&F===null&&N(e,S)}return!1}function Fr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(Er!==null&&Er.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Fr(a,t,!1):t===a&&(n?N(a,C):a.f&1024&&N(a,w),_n(a))}}function Ir(e){var t=J,n=Y,r=X,i=W,a=Er,o=j,s=G,c=jr,l=e.f;J=null,Y=0,X=null,W=l&96?null:e,Er=null,mt(e.ctx),G=!1,jr=++Ar,e.ac!==null&&(zt(()=>{e.ac.abort(Ce)}),e.ac=null);try{e.f|=ue;var u=e.fn,d=u();e.f|=ne;var f=Lr(e);if(Ct()&&X!==null&&!G&&f!==null&&!(e.f&6146))for(var p=0;p<X.length;p++)Fr(X[p],e);if(i!==null&&i!==e){if(Ar++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ar;if(t!==null)for(let e of t)e.rv=Ar;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=fe),d}catch(t){return Lr(e),Jn(t)}finally{e.f^=ue,J=t,Y=n,X=r,W=i,Er=a,mt(o),G=s,jr=c}}function Lr(e){var t=e.deps,n=P?.is_fork;if(J!==null){var r;if(n||zr(e,Y),t!==null&&Y>0)for(t.length=Y+J.length,r=0;r<J.length;r++)t[Y+r]=J[r];else e.deps=t=J;if(Qn()&&e.f&512)for(r=Y;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&Y<t.length&&(zr(e,Y),t.length=Y);return t}function Rr(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(J===null||!i.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~le),s.v!==T&&Ot(s),s.ac!==null&&zt(()=>{s.ac.abort(Ce),s.ac=null,N(s,C)}),$t(s),zr(s,0)}}function zr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Rr(e,n[r])}function Br(e){var t=e.f;if(!(t&16384)){N(e,S);var n=q,r=Sr;q=e,Sr=!(t&96);try{t&16777232?pr(e):fr(e),dr(e);var i=Ir(e);e.teardown=typeof i==`function`?i:null,e.wv=kr}finally{Sr=r,q=n}}}async function Vr(){await Promise.resolve(),fn()}function Hr(){return dn.ensure().settled()}function Z(e){var t=!!(e.f&2);if(xr?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(Er===null||!Er.has(e))){var n=W.deps;if(W.f&2097152)e.rv<Ar&&(e.rv=Ar,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{W.deps??=[],i.call(W.deps,e)||W.deps.push(e);var r=e.reactions;r===null?e.reactions=[W]:i.call(r,W)||r.push(W)}}if(Cr&&Sn.has(e))return Sn.get(e);if(t){var a=e;if(Cr){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||Wr(a))&&(o=Zt(a)),Sn.set(a,o),o}var s=!(a.f&512)&&!G&&W!==null&&(Sr||!!(W.f&512)),c=(a.f&ne)===0;Pr(a)&&(s&&(a.f|=512),Qt(a)),s&&!c&&(en(a),Ur(a))}if(F?.has(e))return F.get(e);if(e.f&8388608)throw e.v;return e.v}function Ur(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(en(t),Ur(t))}function Wr(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Sn.has(t)||t.f&2&&Wr(t))return!0;return!1}function Q(e){var t=G;try{return G=!0,e()}finally{G=t}}function Gr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(pe in e)Kr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&pe in n&&Kr(n)}}}function Kr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Kr(e[n],t)}catch{}let n=d(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=c(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}function qr(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var Jr=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function Yr(e){return Jr.includes(e)}var Xr=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),Zr={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function Qr(e){return e=e.toLowerCase(),Zr[e]??e}[...Xr];var $r=[`touchstart`,`touchmove`];function ei(e){return $r.includes(e)}var ti=[`textarea`,`script`,`style`,`title`];function ni(e){return ti.includes(e)}var ri=Symbol(`events`),ii=new Set,ai=new Set;function oi(e,t,n,r={}){function i(e){if(r.capture||pi.call(t,e),!e.cancelBubble)return zt(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?M(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function si(e,t,n,r={}){var i=oi(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ci(e,t,n,r,i){var a={capture:r,passive:i},o=oi(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&$n(()=>{t.removeEventListener(e,o,a)})}function li(e,t,n){(t[ri]??={})[e]=n}function ui(e){for(var t=0;t<e.length;t++)ii.add(e[t]);for(var n of ai)n(e)}var di=null,fi=!1;function pi(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;di=e,fi||(fi=!0,setTimeout(()=>{fi=!1,di=null}));var s=0,c=di===e&&e[ri];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[ri]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=W,f=q;K(null),Tr(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[ri]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[ri]=t,delete e.currentTarget,K(d),Tr(f)}}}var mi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function hi(e){return mi?.createHTML(e)??e}function gi(e){var t=Kn(`template`);return t.innerHTML=hi(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function _i(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(E)return $(O,null),O;i===void 0&&(i=gi(a?e:`<!>`+e),n||(i=z(i)));var t=r||In?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=z(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function vi(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=!!(t&1),a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(E)return $(O,null),O;if(!o){var e=z(gi(a));if(i)for(o=document.createDocumentFragment();z(e);)o.appendChild(z(e));else o=z(e)}var t=o.cloneNode(!0);if(i){var n=z(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function yi(e,t){return vi(e,t,`svg`)}function bi(e=``){if(!E){var t=R(e+``);return $(t,t),t}var n=O;return n.nodeType===3?qn(n):(n.before(n=R()),k(n)),$(n,n),n}function xi(){if(E)return $(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(``),n=R();return e.append(t,n),$(t,n),e}function Si(e,t){if(E){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=O),A();return}e!==null&&e.before(t)}function Ci(){if(E&&O&&O.nodeType===8&&O.textContent?.startsWith(`$`)){let e=O.textContent.substring(1);return A(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function wi(e){let t=0,n=I(0),r;return()=>{Qn()&&(Z(n),sr(()=>(t===0&&(r=Q(()=>e(()=>kn(n)))),t+=1,()=>{M(()=>{--t,t===0&&(r?.(),r=void 0,kn(n))})})))}}var Ti=ie|oe;function Ei(e,t,n,r){new Di(e,t,n,r)}var Di=class{parent;is_pending=!1;transform_error;#e;#t=E?O:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=wi(()=>(this.#m=I(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=lr(()=>{if(E){let e=this.#t;A();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},Ti),E&&(this.#e=O)}#g(){try{this.#a=H(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);M(r),t&&(this.#s=H(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){Me();return}t=!0,n&&it(),this.#s!==null&&gr(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){Yn(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=H(()=>e(this.#e)),M(()=>{var e=this.#c=document.createDocumentFragment(),t=R(),n=!1;if(e.append(t),this.#a=this.#S(()=>{try{return H(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){Yn(e,this.#i.parent)}return null}}),this.#a===null){this.#c=null,n&&this.#x(P);return}this.#u===0&&(this.#e.before(e),this.#c=null,gr(this.#o,()=>{this.#o=null}),this.#x(P))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=H(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();br(this.#a,e);let t=this.#n.pending;this.#o=H(()=>t(this.#e))}else this.#x(P)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){At(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=q,n=W,r=j;Tr(this.#i),K(this.#i),mt(this.#i.ctx);try{return dn.ensure(),e()}finally{Tr(t),K(n),mt(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&gr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,M(()=>{this.#d=!1,this.#m&&Dn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;P?.is_fork?(this.#a&&P.skip_effect(this.#a),this.#o&&P.skip_effect(this.#o),this.#s&&P.skip_effect(this.#s),P.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(U(this.#a),null),this.#o&&=(U(this.#o),null),this.#s&&=(U(this.#s),null),E&&(k(this.#t),Pe(),k(Fe()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return H(()=>{var r=q;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return Yn(e,this.#i.parent),null}}))};M(()=>{var t;try{t=this.transform_error(e)}catch(e){Yn(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>Yn(e,this.#i&&this.#i.parent)):n(t)})}},Oi=!0;function ki(e){Oi=e}function Ai(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[xe]??=e.nodeValue)&&(e[xe]=n,e.nodeValue=`${n}`)}function ji(e,t){return Pi(e,t)}function Mi(e,t){zn(),t.intro=t.intro??!1;let n=t.target,r=E,i=O;try{for(var a=z(n);a&&(a.nodeType!==8||a.data!==`[`);)a=B(a);if(!a)throw Te;D(!0),k(a);let r=Pi(e,{...t,anchor:a});return D(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
|
|
2
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==Te&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Qe(),zn(),Wn(n),D(!1),ji(e,t)}finally{D(r),k(i)}}var Ni=new Map;function Pi(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){zn();var l=void 0,u=ir(()=>{var u=n??t.appendChild(R());Ei(u,{pending:()=>{}},t=>{bt({});var n=j;if(o&&(n.c=o),i&&(r.$$events=i),E&&$(t,null),Oi=s,l=e(t,r)||St(),Oi=!0,E&&(q.nodes.end=O,O===null||O.nodeType!==8||O.data!==`]`))throw Ae(),Te;xt()},c);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=ei(r);for(let e of[t,document]){var a=Ni.get(e);a===void 0&&(a=new Map,Ni.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,pi,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(a(ii)),ai.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=Ni.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,pi),r.delete(e),r.size===0&&Ni.delete(n)):r.set(e,i)}ai.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return Fi.set(l,u),l}var Fi=new WeakMap;function Ii(e,t){let n=Fi.get(e);return n?(Fi.delete(e),n(t)):Promise.resolve()}var Li=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)vr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(vr(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(U(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();br(r,t),t.append(R()),this.#n.set(e,{effect:r,fragment:t})}else U(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),gr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(U(n.effect),this.#n.delete(e))};ensure(e,t){var n=P,r=Gn();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=R();i.append(a),this.#n.set(e,{effect:H(()=>t(a)),fragment:i})}else this.#t.set(e,H(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=O),this.#a(n)}},Ri=0,zi=1,Bi=2;function Vi(e,t,n,r,i){E&&A();var a=Ct(),o=T,s=a?I(o):En(o,!1,!1),c=a?I(o):En(o,!1,!1),l=new Li(e);lr(()=>{var a=P,o=t(),u=!1;let d=E&&h(o)===(e.data===`[!`);if(d&&(k(Fe()),D(!1)),h(o)){var f=Ht(),p=!1;let e=e=>{if(!u){p=!0,f(!1),P===a&&a.deactivate(),dn.ensure();try{e()}finally{Ut(!1),an||fn()}}};o.then(t=>{e(()=>{Dn(s,t),l.ensure(zi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(Dn(c,t),l.ensure(Bi,i&&(e=>i(e,c))),!i)throw c.v})}),E?l.ensure(Ri,n):M(()=>{p||e(()=>{l.ensure(Ri,n)})})}else Dn(s,o),l.ensure(zi,r&&(e=>r(e,s)));return d&&D(!0),()=>{u=!0}})}function Hi(e,t,n=!1){var r;E&&(r=O,A());var i=new Li(e),a=n?ie:0;function o(e,t){if(E){var n=Ie(r);if(e!==parseInt(n.substring(1))){var a=Fe();k(a),i.anchor=a,D(!1),i.ensure(e,t),D(!0);return}}i.ensure(e,t)}lr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Ui=Symbol(`NaN`);function Wi(e,t,n){E&&A();var r=new Li(e),i=!Ct();lr(()=>{var e=t();e!==e&&(e=Ui),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Gi(e,t){return t}function Ki(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c<i;c++){let n=t[c];gr(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;qi(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null&&e.pending.size===0;if(l){var u=n,d=u.parentNode;Wn(d),d.append(u),e.items.clear()}qi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function qi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ce,br(a,document.createDocumentFragment())):U(t[i],n)}}var Ji;function Yi(e,t,r,i,o,s=null){var c=e,l=new Map;if(t&4){var u=e;c=E?k(z(u)):u.appendChild(R())}E&&A();var d=null,f=Yt(()=>{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Zi(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=ce,$i(d,null,c)):vr(d):gr(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:lr(()=>{p=Z(f);var e=p.length;let n=!1;E&&Ie(c)===`[!`!=(e===0)&&(c=Fe(),k(c),D(!1),n=!0);for(var a=new Set,u=P,v=Gn(),y=0;y<e;y+=1){E&&O.nodeType===8&&O.data===`]`&&(c=O,n=!0,D(!1));var b=p[y],x=i(b,y),S=h?null:l.get(x);S?(S.v&&Dn(S.v,b),S.i&&Dn(S.i,y),v&&u.unskip_effect(S.e)):(S=Qi(l,h?c:Ji??=R(),b,x,y,o,t,r),h||(S.e.f|=ce),l.set(x,S)),a.add(x)}if(e===0&&s&&!d&&(h?d=H(()=>s(c)):(d=H(()=>s(Ji??=R())),d.f|=ce)),e>a.size&&We(``,``,``),E&&e>0&&k(Fe()),!h){if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u)}n&&D(!0),Z(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,E&&(c=O)}function Xi(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Zi(e,t,n,r,i){var o=!!(r&8),s=t.length,c=e.items,l=Xi(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(vr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432){if(_.f^=ce,_===l)$i(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),ea(e,d,_),ea(e,_,y),$i(_,y,n),d=_,p=[],m=[],l=Xi(d.next);continue}}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],C=p[p.length-1];for(x=0;x<p.length;x+=1)$i(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);ea(e,S.prev,C.next),ea(e,d,S),ea(e,C,b),l=b,d=C,--v,p=[],m=[]}else u.delete(_),$i(_,l,n),ea(e,_.prev,_.next),ea(e,_,d===null?e.effect.first:d.next),ea(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Xi(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Xi(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(qi(e,a(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var w=[];if(u!==void 0)for(_ of u)_.f&8192||w.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&w.push(l),l=Xi(l.next);var ee=w.length;if(ee>0){var te=r&4&&s===0?n:null;if(o){for(v=0;v<ee;v+=1)w[v].nodes?.a?.measure();for(v=0;v<ee;v+=1)w[v].nodes?.a?.fix()}Ki(e,w,te)}}o&&M(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Qi(e,t,n,r,i,a,o,s){var c=o&1?o&16?I(n):En(n,!1,!1):null,l=o&2?I(i):null;return{v:c,i:l,e:H(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function $i(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=B(r);if(a.before(r),r===i)return;r=o}}function ea(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function ta(e,t,...n){var r=new Li(e);lr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ie)}function na(e){return(t,...n)=>{var r=e(...n),i;E?(i=O,A()):(i=z(gi(r.render().trim())),t.before(i));let a=r.setup?.(i);$(i,i),typeof a==`function`&&$n(a)}}function ra(e,t,n){var r;E&&(r=O,A());var i=new Li(e);lr(()=>{var e=t()??null;if(E&&Ie(r)===`[`!=(e!==null)){var a=Fe();k(a),i.anchor=a,D(!1),i.ensure(e,e&&(t=>n(t,e))),D(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ie)}var ia=()=>performance.now(),aa={tick:e=>requestAnimationFrame(e),now:()=>ia(),tasks:new Set};function oa(){let e=aa.now();aa.tasks.forEach(t=>{t.c(e)||(aa.tasks.delete(t),t.f())}),aa.tasks.size!==0&&aa.tick(oa)}function sa(e){let t;return aa.tasks.size===0&&aa.tick(oa),{promise:new Promise(n=>{aa.tasks.add(t={c:e,f:n})}),abort(){aa.tasks.delete(t)}}}function ca(e,t){zt(()=>{e.dispatchEvent(new CustomEvent(t))})}function la(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function ua(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=la(n.trim());t[i]=r.trim()}return t}var da=e=>e;function fa(e,t,n,r){var i=!!(e&1),a=!!(e&2),o=i&&a,s=!!(e&4),c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return zt(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=pa(t,m(),p,1,()=>{ca(t,`introstart`)},()=>{ca(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=pa(t,m(),f,0,()=>{ca(t,`outrostart`)},()=>{ca(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=q;if((g.nodes.t??=[]).push(h),i&&Oi){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||!!(v.f&32768)}_&&ar(()=>{Q(()=>h.in())})}}function pa(e,t,n,r,i,a){var o=r===1,s=!1;if(p(t)){var c;return M(()=>{s||(c=pa(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{s=!0,c?.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:m,deactivate:m,reset:m,t:()=>r};let{delay:l=0,css:u,tick:d,easing:f=da}=t;var h,g=()=>1-r;return M(()=>{if(!s){var c=[];if(o&&n===void 0&&(d&&d(0,1),u)){var p=ua(u(0,1));c.push(p,p)}h=e.animate(c,{duration:l,fill:`forwards`}),h.onfinish=()=>{h.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var p=!1;if(u)for(var m=Math.ceil(c/(1e3/60)),_=0;_<=m;_+=1){var v=o+s*f(_/m),y=ua(u(v,1-v));l.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),g=()=>{var e=h.currentTime;return o+s*f(e/c)},d&&sa(()=>{if(h.playState!==`running`)return!1;var e=g();return d(e,1-e),!0})}h=e.animate(l,{duration:c,fill:`forwards`}),h.onfinish=()=>{g=()=>r,d?.(r,1-r),a()}}}}),{abort:()=>{s=!0,h&&(h.cancel(),h.effect=null,h.onfinish=m)},deactivate:()=>{a=m},reset:()=>{r===0&&d?.(1,0)},t:()=>g()}}function ma(e,t,n,r,i,a){let o=E;E&&A();var s=null;E&&O.nodeType===1&&(s=O,A());var c=E?O:e,l=new Li(c,!1);lr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?De:void 0;if(e===null){l.ensure(null,null),ki(!0);return}return l.ensure(e,t=>{if(e){if(s=E?s:Kn(e,a),$(s,s),r){var n=null;E&&ni(e)&&s.append(n=document.createComment(``));var i=E?z(s):s.appendChild(R());E&&(i===null?D(!1):k(i)),r(s,i),n?.remove()}q.nodes.end=s,t.before(s)}E&&k(t)}),ki(!0),()=>{e&&ki(!1)}},ie),$n(()=>{ki(!0)}),o&&(D(!0),k(c))}function ha(e,t){let n=null,r=E;var i;if(E){n=O;for(var a=z(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=B(a);if(a===null)D(!1);else{var o=B(a);a.remove(),k(o)}}E||(i=document.head.appendChild(R()));try{lr(()=>{var e=H(()=>t(i));e.f|=ae,E||(e.nodes===null?e.nodes={start:i,end:i,a:null,t:null}:e.nodes.end=i)})}finally{r&&(D(!0),k(n))}}function ga(e,t,n){ar(()=>{var r=Q(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};sr(()=>{var e=n();Gr(e),i&&Re(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function _a(e,t){var n=void 0,r;ur(()=>{n!==(n=t())&&(r&&=(U(r),null),n&&(r=H(()=>{ar(()=>n(e))})))})}function va(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=va(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function ya(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=va(e))&&(r&&(r+=` `),r+=t);return r}function ba(e){return typeof e==`object`?ya(e):e??``}var xa=[...`
|
|
3
|
+
\r\f\xA0\v`];function Sa(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||xa.includes(r[o-1]))&&(s===r.length||xa.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ca(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function wa(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ta(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(wa)),i&&c.push(...Object.keys(i).map(wa));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=wa(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ca(r)),i&&(n+=Ca(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Ea(e,t,n,r,i,a){var o=e[ye];if(E||o!==n||o===void 0){var s=Sa(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[ye]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Da(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Oa(e,t,n,r){var i=e[be];if(E||i!==t){var a=Ta(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[be]=t}else r&&(Array.isArray(r)?(Da(e,n?.[0],r[0]),Da(e,n?.[1],r[1],`important`)):Da(e,n,r));return r}function ka(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Aa(e,t){var n=!(`__defaultValue`in e);(n||e.__defaultValue!==t)&&(e.__defaultValue=t,ja(e,!n||`__value`in e))}function ja(e,t){var r=e.__defaultValue,i=e.multiple,a=i?r??[]:null;if(!i||n(a)){var o=e.selectedIndex,s=t&&i?new Set(e.selectedOptions):null;for(var c of e.options){var l=Pa(c);ka(c,i?a.includes(l):Nn(l,r))}if(t){if(s!==null)for(c of e.options){var u=s.has(c);c.selected!==u&&(c.selected=u)}else e.selectedIndex!==o&&(e.selectedIndex=o)}}}function Ma(e,t,r=!1){if(e.multiple){if(t==null)return;if(!n(t))return je();for(var i of e.options)i.selected=t.includes(Pa(i));return}for(i of e.options)if(Nn(Pa(i),t)){i.selected=!0;return}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Na(e){var t=new MutationObserver(t=>{t.every(Fa)||(`__defaultValue`in e&&ja(e,!1),`__value`in e&&Ma(e,e.__value))});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),$n(()=>{t.disconnect()})}function Pa(e){return`__value`in e?e.__value:e.value}function Fa(e){if(e.target.closest(`selectedcontent`)!==null)return!0;if(e.type===`childList`){var t=[...e.addedNodes,...e.removedNodes];return t.length>0&&t.every(e=>e.nodeName===`SELECTEDCONTENT`)}return!1}var Ia=Symbol(`class`),La=Symbol(`style`),Ra=Symbol(`is custom element`),za=Symbol(`is html`),Ba=we?`link`:`LINK`,Va=we?`input`:`INPUT`,Ha=we?`option`:`OPTION`,Ua=we?`select`:`SELECT`,Wa=we?`progress`:`PROGRESS`;function Ga(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Ja(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Ja(e,`checked`,null),e.checked=r}}};e[Se]=n,M(n),Lt()}}function Ka(e,t){var n=Za(e);n.value!==(n.value=t??void 0)&&(e.value!==t||t===0&&e.nodeName===Wa)&&(e.value=t??``)}function qa(e,t){var n=Za(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ja(e,t,n,r){var i=Za(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ba)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ge]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&$a(e).has(t)?e[t]=n:e.setAttribute(t,n))}function Ya(e,t,n,r,i=!1,a=!1){E&&i&&e.nodeName===Va&&(`defaultValue`in n||`defaultChecked`in n||Ga(e));var o=Za(e),s=o[Ra],c=!o[za];let l=E&&s;l&&D(!1);var u=t||{},d=e.nodeName===Ha,f=e.nodeName===Ua;for(var p in t)!(p in n)&&p[0]+p[1]!==`$$`&&(n[p]=null);n.class?n.class=ba(n.class):(r||n[Ia])&&(n.class=null),n[La]&&(n.style??=null);var m=$a(e);if(e.nodeName===Va&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==u.type||h===void 0&&e.hasAttribute(`type`))&&(u.type=h,Ja(e,`type`,h,a))}for(let i in n){let l=n[i];if(d&&i===`value`&&l==null){e.value=e.__value=``,u[i]=l;continue}if(i===`class`){Ea(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,l,r,t?.[Ia],n[Ia]),u[i]=l,u[Ia]=n[Ia];continue}if(i===`style`){Oa(e,l,t?.[La],n[La]),u[i]=l,u[La]=n[La];continue}var g=u[i];if(l!==g||l===void 0&&e.hasAttribute(i)){u[i]=l;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=Yr(r);if(qr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(l!=null)continue;e.removeEventListener(r,u[n],t),u[n]=null}if(v)li(r,e,l),ui([r]);else if(l!=null){function a(e){u[i].call(this,e)}u[n]=oi(r,e,a,t)}}else if(i===`style`)Ja(e,i,l);else if(i===`autofocus`)Ft(e,!!l);else if(!s&&(i===`__value`||i===`value`&&l!=null))e.value=e.__value=l;else if(i===`selected`&&d)ka(e,l);else{var y=i;c||(y=Qr(y));var b=y===`defaultValue`||y===`defaultChecked`;if(f&&y===`defaultValue`)continue;if(l==null&&!s&&!b){if(o[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||(s||typeof l!=`string`)&&m.has(y)?(e[y]=l,y in o&&(o[y]=T)):typeof l!=`function`&&Ja(e,y,l,a)}}}}return l&&D(!0),u}function Xa(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Vt(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Ua,l=!1;if(ur(()=>{var u=t(...n.map(Z)),d=Ya(e,r,u,a,o,s);if(l&&c){var f=e;`defaultValue`in u&&Aa(f,u.defaultValue),`value`in u&&Ma(f,u.value)}for(let e of Object.getOwnPropertySymbols(i))u[e]||U(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var p=u[t];t.description===`@attach`&&(!r||p!==r[t])&&(i[t]&&U(i[t]),i[t]=H(()=>_a(e,()=>p))),d[t]=p}r=d}),c){var u=e;ar(()=>{var e=r;`defaultValue`in e&&Aa(u,e.defaultValue),Ma(u,e.value,!0),Na(u)})}l=!0})}function Za(e){return e[ve]??={[Ra]:e.nodeName.includes(`-`),[za]:e.namespaceURI===Ee}}var Qa=new Map;function $a(e){var t=e.getAttribute(`is`)||e.nodeName,n=Qa.get(t);if(n)return n;Qa.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.add(o);i=d(i)}return n}function eo(e,t,n=t){var r=new WeakSet;Bt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=to(e)?no(a):a,n(a),P!==null&&r.add(P),await Vr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||Q(t)==null&&e.value)&&(n(to(e)?no(e.value):e.value),P!==null&&r.add(P)),sr(()=>{var n=t();if(e===document.activeElement){var i=P;if(r.has(i))return}to(e)&&n===no(e.value)||(e.type!==`date`||n||e.value)&&n!==e.value&&(e.value=n??``)})}function to(e){var t=e.type;return t===`number`||t===`range`}function no(e){return e===``?null:+e}var ro=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function io(e,t,n){var r=ro.observe(e,()=>n(e[t]));ar(()=>(Q(()=>n(e[t])),r))}function ao(e,t){return e===t||e?.[pe]===t}function oo(e=St(),t,n,r){var i=j.r,a=q;return ar(()=>{var o,s;return sr(()=>{o=s,s=r?.()||[],Q(()=>{ao(n(...s),e)||(t(e,...s),o&&ao(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&ao(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function so(e,t){Rt(window,[`resize`],()=>zt(()=>t(window[e])))}var co={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function lo(e,t,n){return new Proxy({props:e,exclude:t},co)}var uo={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];p(i)&&(i=i());let a=s(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=s(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===pe||t===he)return!1;for(let n of e.props)if(p(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(p(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function fo(...e){return new Proxy({props:e},uo)}function po(e,t,n,r){var i=!0,a=!!(n&8),o=!!(n&16),c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Gt(r),Z(u)):(l&&(l=!1,c=o?Q(r):r),c);let f;if(a){var p=pe in e||he in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Pt(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&et(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Gt:Yt)(()=>(v=!1,g()));a&&Z(y);var b=q;return(function(e,t){if(arguments.length>0){let n=t?Z(y):i&&a?jn(e):e;return L(y,n),v=!0,c!==void 0&&(c=n),e}return Cr&&v||b.f&16384?y.v:Z(y)})}function mo(e){return class extends ho{constructor(t){super({component:e,...t})}}}var ho=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=En(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===he||(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return L(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?Mi:ji)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&fn(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e!==`$set`&&e!==`$destroy`&&e!==`$on`&&o(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Ii(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}};function go(e,t){if(Be(`hydratable`),E){let t=window.__svelte?.h;if(t?.has(e))return t.get(e);ke(e)}return t()}var _o=t({afterUpdate:()=>wo,beforeUpdate:()=>Co,createContext:()=>ht,createEventDispatcher:()=>So,createRawSnippet:()=>na,flushSync:()=>fn,fork:()=>bn,getAbortSignal:()=>vo,getAllContexts:()=>yt,getContext:()=>gt,hasContext:()=>vt,hydratable:()=>go,hydrate:()=>Mi,mount:()=>ji,onDestroy:()=>bo,onMount:()=>yo,setContext:()=>_t,settled:()=>Hr,tick:()=>Vr,unmount:()=>Ii,untrack:()=>Q});function vo(){return W===null&&Ze(),(W.ac??=new AbortController).signal}function yo(e){j===null&&Ve(`onMount`),er(()=>{let t=Q(e);if(typeof t==`function`)return t})}function bo(e){j===null&&Ve(`onDestroy`),yo(()=>()=>Q(e))}function xo(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function So(){let e=j;return e===null&&Ve(`createEventDispatcher`),(t,r,i)=>{let a=e.s.$$events?.[t];if(a){let o=n(a)?a.slice():[a],s=xo(t,r,i);for(let t of o)t.call(e.x,s);return!s.defaultPrevented}return!0}}function Co(e){j===null&&Ve(`beforeUpdate`),j.l===null&&$e(`beforeUpdate`),To(j).b.push(e)}function wo(e){j===null&&Ve(`afterUpdate`),j.l===null&&$e(`afterUpdate`),To(j).a.push(e)}function To(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{Q as $,aa as A,_ as At,Si as B,ya as C,bt as Ct,ma as D,ot as Dt,ha as E,ct as Et,Wi as F,t as Ft,bi as G,_i as H,Hi as I,ci as J,ui as K,Vi as L,ta as M,v as Mt,Yi as N,m as Nt,fa as O,Pe as Ot,Gi as P,y as Pt,Vr as Q,Ai as R,ba as S,xt as St,ga as T,ut as Tt,yi as U,xi as V,Ci as W,Z as X,si as Y,Hr as Z,Ka as _,Tn as _t,lo as a,er as at,Oa as b,gt as bt,oo as c,Pn as ct,Ia as d,Hn as dt,jr as et,La as f,Un as ft,qa as g,I as gt,Ja as h,L as ht,po as i,cr as it,ra as j,b as jt,sa as k,Ne as kt,io as l,Bn as lt,Ga as m,kn as mt,yo as n,rr as nt,fo as o,nr as ot,Xa as p,jn as pt,li as q,mo as r,sr as rt,so as s,Fn as st,_o as t,ar as tt,eo as u,Vn as ut,Na as v,Jt as vt,_a as w,_t as wt,Ea as x,vt as xt,Ma as y,Mt as yt,wi as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./
|
|
1
|
+
import{c as e}from"./PUpq0Ki5.js";function t(e){return typeof e==`object`&&!!e&&typeof e!=`function`}function n(n,r,...i){return t(n)?{...n,class:e(r,...i,n.class)}:{class:e(r,...i)}}export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,B as t,Ct as n,H as r,I as i,M as a,N as o,Nt as s,St as c,U as l,V as u,X as d,_t as f,a as p,at as m,c as h,f as g,ht as _,i as v,kt as y,lt as b,ot as x,p as S,ut as C,vt as w}from"./B2En4t_E.js";import"./xihTtKlq.js";import{I as T,t as E}from"./CbtqT1c8.js";import{C as D,E as O,S as k,T as A,g as j,m as M,o as N,t as P,w as F,y as I}from"./D9KJP6hv.js";import{c as L}from"./PUpq0Ki5.js";import{n as R,r as z}from"./CZZUqHxO.js";var B=(e,t)=>t;function V(e,t,n,r){let i=typeof t.cx==`number`?t.cx:t.cx==null&&n.config.x!=null&&Number(n.xGet(e))||0,a=typeof t.cy==`number`?t.cy:t.cy==null&&n.config.y!=null&&Number(n.yGet(e))||0,o=typeof t.r==`number`?t.r:t.r==null&&n.config.r!=null&&Number(n.rGet(e))||1;if(r.projection){let[i,a]=A(t.cx,t.cy,e,r.projection);return{cx:i,cy:a,r:F(t.r,e,n.rScale,o)}}return{cx:F(t.cx,e,n.xScale,i),cy:F(t.cy,e,n.yScale,a),r:F(t.r,e,n.rScale,o)}}var H=class{#e=()=>({});chartCtx=E();markData=I();geo=j();#t=w(()=>M(this.#e().dashArray));get dashArrayResolved(){return d(this.#t)}set dashArrayResolved(e){_(this.#t,e)}#n=w(()=>this.dashArrayResolved?this.dashArrayResolved.join(` `):void 0);get dashArrayAttr(){return d(this.#n)}set dashArrayAttr(e){_(this.#n,e)}#r=w(()=>this.#e().data!=null||k(this.#e().cx,this.#e().cy,this.#e().r));get dataMode(){return d(this.#r)}set dataMode(e){_(this.#r,e)}#i=w(()=>this.dataMode?this.markData(this.#e().data):[]);#a=null;#o=w(()=>{if(!this.dataMode)return[];let e=this.#e(),t=e.key??B;return d(this.#i).map((n,r)=>{let i=t(n,r),a=V(n,e,this.chartCtx,this.geo),o=this.#a?.get(i);return{d:n,key:i,cx:o?.cx??a.cx,cy:o?.cy??a.cy,r:o?.r??a.r}})});get resolvedItems(){return d(this.#o)}set resolvedItems(e){_(this.#o,e)}#s;#c;#l;#u=w(()=>typeof this.#e().fill==`string`?this.#e().fill:void 0);get staticFill(){return d(this.#u)}set staticFill(e){_(this.#u,e)}#d=w(()=>typeof this.#e().fillOpacity==`number`?this.#e().fillOpacity:void 0);get staticFillOpacity(){return d(this.#d)}set staticFillOpacity(e){_(this.#d,e)}#f=w(()=>typeof this.#e().stroke==`string`?this.#e().stroke:void 0);get staticStroke(){return d(this.#f)}set staticStroke(e){_(this.#f,e)}#p=w(()=>typeof this.#e().strokeWidth==`number`?this.#e().strokeWidth:void 0);get staticStrokeWidth(){return d(this.#p)}set staticStrokeWidth(e){_(this.#p,e)}#m=w(()=>typeof this.#e().opacity==`number`?this.#e().opacity:void 0);get staticOpacity(){return d(this.#m)}set staticOpacity(e){_(this.#m,e)}#h=w(()=>typeof this.#e().class==`string`?this.#e().class:void 0);get staticClassName(){return d(this.#h)}set staticClassName(e){_(this.#h,e)}constructor(t){this.#e=t;let n=t(),r=n.initialCx??(typeof n.cx==`number`?n.cx:0),i=n.initialCy??(typeof n.cy==`number`?n.cy:0),a=n.initialR??(typeof n.r==`number`?n.r:1);if(this.#s=z(r,()=>typeof t().cx==`number`?t().cx:0,n.motion),this.#c=z(i,()=>typeof t().cy==`number`?t().cy:0,n.motion),this.#l=z(a,()=>typeof t().r==`number`?t().r:1,n.motion),this.#a=R(n.motion),this.#a){let n=this.#a;m(()=>{if(!this.dataMode)return;let r=t(),i=r.key??B,a=new Set;for(let t=0;t<d(this.#i).length;t++){let o=d(this.#i)[t],s=i(o,t);a.add(s);let c=V(o,r,this.chartCtx,this.geo);e(()=>n.update(s,c))}e(()=>n.cleanup(a))})}}get motionCx(){return this.#s.current}get motionCy(){return this.#c.current}get motionR(){return this.#l.current}};function U(e,t){return t?{data:e.data,x:typeof e.cx==`string`?e.cx:void 0,y:typeof e.cy==`string`?e.cy:void 0,color:typeof e.fill==`string`?e.fill:void 0}:{}}var W=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]),G=l(`<circle></circle>`);function K(e,r){n(r,!0);let a=v(r,`ref`,15),s=p(r,W),l=new H(()=>s),m=f(void 0);x(()=>{a(d(m))}),l.chartCtx.registerComponent({name:`Circle`,kind:`mark`,markInfo:()=>U(s,l.dataMode)});var g=u(),y=C(g),b=e=>{var n=u(),i=C(n);o(i,17,()=>l.resolvedItems,e=>e.key,(e,n)=>{let i=w(()=>D(r.fill,d(n).d,l.chartCtx.cScale)),a=w(()=>D(r.stroke,d(n).d,l.chartCtx.cScale)),o=w(()=>O(r.fillOpacity,d(n).d)),c=w(()=>O(r.strokeWidth,d(n).d)),u=w(()=>O(r.opacity,d(n).d)),f=w(()=>O(r.class,d(n).d));var p=G();S(p,e=>({...s,cx:d(n).cx,cy:d(n).cy,r:d(n).r,fill:d(i),"fill-opacity":d(o),stroke:d(a),"stroke-width":d(c),opacity:d(u),"stroke-dasharray":l.dashArrayAttr,class:e}),[()=>L(`lc-circle`,d(f))]),t(e,p)}),t(e,n)},T=e=>{var n=G();S(n,e=>({...s,cx:l.motionCx,cy:l.motionCy,r:l.motionR,fill:l.staticFill,"fill-opacity":l.staticFillOpacity,stroke:l.staticStroke,"stroke-width":l.staticStrokeWidth,opacity:l.staticOpacity,"stroke-dasharray":l.dashArrayAttr,class:e}),[()=>L(`lc-circle`,l.staticClassName)]),h(n,e=>_(m,e),()=>d(m)),t(e,n)};i(y,e=>{l.dataMode?e(b):e(T,-1)}),t(e,g),c()}var q=new Set([`$$slots`,`$$events`,`$$legacy`]);function J(e,t){n(t,!0);let r=p(t,q),i=new H(()=>r);function a(e,n,r,a,o,s,c){return e?T({styles:{strokeWidth:o??i.staticStrokeWidth}},e):{styles:{fill:n??t.fill,fillOpacity:a??i.staticFillOpacity,stroke:r??t.stroke,strokeWidth:o??i.staticStrokeWidth,opacity:s??i.staticOpacity},classes:L(`lc-circle`,c??i.staticClassName),style:[t.style,i.dashArrayAttr?`stroke-dasharray: ${i.dashArrayAttr}`:void 0].filter(Boolean).join(`; `)||void 0}}function o(e,n){if(i.dataMode)for(let r of i.resolvedItems){let o=a(n,D(t.fill,r.d,i.chartCtx.cScale),D(t.stroke,r.d,i.chartCtx.cScale),O(t.fillOpacity,r.d),O(t.strokeWidth,r.d),O(t.opacity,r.d),O(t.class,r.d));N(e,r,o)}else{let t=a(n);N(e,{cx:i.motionCx,cy:i.motionCy,r:i.motionR},t)}}let s=P(()=>t.fill),l=P(()=>t.stroke);i.chartCtx.registerComponent({name:`Circle`,kind:`mark`,markInfo:()=>U(r,i.dataMode),canvasRender:{render:o,events:{click:t.onclick,pointerdown:t.onpointerdown,pointerenter:t.onpointerenter,pointermove:t.onpointermove,pointerleave:t.onpointerleave},deps:()=>[i.dataMode,i.dataMode?i.resolvedItems:null,i.motionCx,i.motionCy,i.motionR,s.current,t.fillOpacity,l.current,t.strokeWidth,t.opacity,t.class,t.style,i.dashArrayAttr]}}),c()}var Y=new Set([`$$slots`,`$$events`,`$$legacy`,`children`]),X=r(`<div></div>`),Z=r(`<div><!></div>`);function Q(e,r){n(r,!0);let l=p(r,Y),f=new H(()=>l),m=w(()=>typeof r.strokeWidth==`number`?`${r.strokeWidth}px`:typeof r.stroke==`string`?`1px`:void 0);f.chartCtx.registerComponent({name:`Circle`,kind:`mark`,markInfo:()=>U(l,f.dataMode)});var h=u(),_=C(h),v=e=>{var n=u(),i=C(n);o(i,17,()=>f.resolvedItems,e=>e.key,(e,n)=>{let i=w(()=>D(r.fill,d(n).d,f.chartCtx.cScale)),a=w(()=>D(r.stroke,d(n).d,f.chartCtx.cScale)),o=w(()=>O(r.strokeWidth,d(n).d)),s=w(()=>O(r.opacity,d(n).d)),c=w(()=>O(r.class,d(n).d)),u=w(()=>d(o)==null?d(a)==null?void 0:`1px`:`${d(o)}px`);var p=X();S(p,e=>({...l,class:e,[g]:{position:`absolute`,left:`${d(n).cx??``}px`,top:`${d(n).cy??``}px`,width:`${d(n).r*2}px`,height:`${d(n).r*2}px`,"border-radius":`50%`,background:d(i),"background-origin":`border-box`,opacity:d(s),"border-width":d(u),"border-color":d(a),"border-style":f.dashArrayResolved?`dashed`:`solid`,transform:`translate(-50%, -50%)`}}),[()=>L(`lc-circle`,d(c))]),t(e,p)}),t(e,n)},x=e=>{var n=Z();S(n,e=>({...l,class:e,[g]:{position:`absolute`,left:`${f.motionCx??``}px`,top:`${f.motionCy??``}px`,width:`${f.motionR*2}px`,height:`${f.motionR*2}px`,"border-radius":`50%`,background:f.staticFill,"background-origin":`border-box`,opacity:f.staticOpacity,"border-width":d(m),"border-color":f.staticStroke,"border-style":f.dashArrayResolved?`dashed`:`solid`,transform:`translate(-50%, -50%)`}}),[()=>L(`lc-circle`,f.staticClassName)]);var i=b(n);a(i,()=>r.children??s),y(n),t(e,n)};i(_,e=>{f.dataMode?e(v):e(x,-1)}),t(e,h),c()}export{J as n,K as r,Q as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as e}from"./D2PbcyDU.js";function t(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function n(n){let i,a,o;n.length===2?(i=n===e||n===t?n:r,a=n,o=n):(i=e,a=(t,r)=>e(n(t),r),o=(e,t)=>n(e)-t);function s(e,t,n=0,r=e.length){if(n<r){if(i(t,t)!==0)return r;do{let i=n+r>>>1;a(e[i],t)<0?n=i+1:r=i}while(n<r)}return n}function c(e,t,n=0,r=e.length){if(n<r){if(i(t,t)!==0)return r;do{let i=n+r>>>1;a(e[i],t)<=0?n=i+1:r=i}while(n<r)}return n}function l(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&o(e[i-1],t)>-o(e[i],t)?i-1:i}return{left:s,center:l,right:c}}function r(){return 0}function i(e){return e===null?NaN:+e}function*a(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var o=n(e),s=o.right;o.left,n(i).center;var c=Math.sqrt(50),l=Math.sqrt(10),u=Math.sqrt(2);function d(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=c?10:a>=l?5:a>=u?2:1,s,f,p;return i<0?(p=10**-i/o,s=Math.round(e*p),f=Math.round(t*p),s/p<e&&++s,f/p>t&&--f,p=-p):(p=10**i*o,s=Math.round(e/p),f=Math.round(t/p),s*p<e&&++s,f*p>t&&--f),f<s&&.5<=n&&n<2?d(e,t,n*2):[s,f,p]}function f(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?d(t,e,n):d(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r){if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o}else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function p(e,t,n){return t=+t,e=+e,n=+n,d(e,t,n)[2]}function m(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?p(t,e,n):p(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function h(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function g(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function _(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function v(){}var y=.7,b=1/y,x=`\\s*([+-]?\\d+)\\s*`,S=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,C=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,w=/^#([0-9a-f]{3,8})$/,T=RegExp(`^rgb\\(${x},${x},${x}\\)$`),E=RegExp(`^rgb\\(${C},${C},${C}\\)$`),ee=RegExp(`^rgba\\(${x},${x},${x},${S}\\)$`),te=RegExp(`^rgba\\(${C},${C},${C},${S}\\)$`),ne=RegExp(`^hsl\\(${S},${C},${C}\\)$`),re=RegExp(`^hsla\\(${S},${C},${C},${S}\\)$`),ie={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};g(v,O,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ae,formatHex:ae,formatHex8:oe,formatHsl:se,formatRgb:D,toString:D});function ae(){return this.rgb().formatHex()}function oe(){return this.rgb().formatHex8()}function se(){return pe(this).formatHsl()}function D(){return this.rgb().formatRgb()}function O(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=w.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?k(t):n===3?new M(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?A(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?A(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=T.exec(e))?new M(t[1],t[2],t[3],1):(t=E.exec(e))?new M(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=ee.exec(e))?A(t[1],t[2],t[3],t[4]):(t=te.exec(e))?A(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=ne.exec(e))?fe(t[1],t[2]/100,t[3]/100,1):(t=re.exec(e))?fe(t[1],t[2]/100,t[3]/100,t[4]):ie.hasOwnProperty(e)?k(ie[e]):e===`transparent`?new M(NaN,NaN,NaN,0):null}function k(e){return new M(e>>16&255,e>>8&255,e&255,1)}function A(e,t,n,r){return r<=0&&(e=t=n=NaN),new M(e,t,n,r)}function ce(e){return e instanceof v||(e=O(e)),e?(e=e.rgb(),new M(e.r,e.g,e.b,e.opacity)):new M}function j(e,t,n,r){return arguments.length===1?ce(e):new M(e,t,n,r??1)}function M(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}g(M,j,_(v,{brighter(e){return e=e==null?b:b**+e,new M(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?y:y**+e,new M(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new M(P(this.r),P(this.g),P(this.b),N(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:le,formatHex:le,formatHex8:ue,formatRgb:de,toString:de}));function le(){return`#${F(this.r)}${F(this.g)}${F(this.b)}`}function ue(){return`#${F(this.r)}${F(this.g)}${F(this.b)}${F((isNaN(this.opacity)?1:this.opacity)*255)}`}function de(){let e=N(this.opacity);return`${e===1?`rgb(`:`rgba(`}${P(this.r)}, ${P(this.g)}, ${P(this.b)}${e===1?`)`:`, ${e})`}`}function N(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function P(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function F(e){return e=P(e),(e<16?`0`:``)+e.toString(16)}function fe(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,n,r)}function pe(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof v||(e=O(e)),!e)return new I;if(e instanceof I)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new I(o,s,c,e.opacity)}function me(e,t,n,r){return arguments.length===1?pe(e):new I(e,t,n,r??1)}function I(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}g(I,me,_(v,{brighter(e){return e=e==null?b:b**+e,new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?y:y**+e,new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new M(z(e>=240?e-240:e+120,i,r),z(e,i,r),z(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new I(L(this.h),R(this.s),R(this.l),N(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=N(this.opacity);return`${e===1?`hsl(`:`hsla(`}${L(this.h)}, ${R(this.s)*100}%, ${R(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function L(e){return e=(e||0)%360,e<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function z(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var B=e=>()=>e;function he(e,t){return function(n){return e+n*t}}function ge(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function _e(e){return(e=+e)==1?ve:function(t,n){return n-t?ge(t,n,e):B(isNaN(t)?n:t)}}function ve(e,t){var n=t-e;return n?he(e,n):B(isNaN(e)?t:e)}var ye=(function e(t){var n=_e(t);function r(e,t){var r=n((e=j(e)).r,(t=j(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=ve(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function be(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function xe(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Se(e,t){for(var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o=0;o<r;++o)i[o]=W(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function Ce(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function V(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function we(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=W(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var H=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,U=new RegExp(H.source,`g`);function Te(e){return function(){return e}}function Ee(e){return function(t){return e(t)+``}}function De(e,t){var n=H.lastIndex=U.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=H.exec(e))&&(i=U.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:V(r,i)})),n=U.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?Ee(c[0].x):Te(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function W(e,t){var n=typeof t,r;return t==null||n===`boolean`?B(t):(n===`number`?V:n===`string`?(r=O(t))?(t=r,ye):De:t instanceof O?ye:t instanceof Date?Ce:xe(t)?be:Array.isArray(t)?Se:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?we:V)(e,t)}function Oe(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function ke(e){return function(){return e}}function Ae(e){return+e}var je=[0,1];function G(e){return e}function K(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:ke(isNaN(t)?NaN:.5)}function Me(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function Ne(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=K(i,r),a=n(o,a)):(r=K(r,i),a=n(a,o)),function(e){return a(r(e))}}function Pe(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=K(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=s(e,t,1,r)-1;return a[n](i[n](t))}}function Fe(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ie(){var e=je,t=je,n=W,r,i,a,o=G,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==G&&(o=Me(e[0],e[n-1])),s=n>2?Pe:Ne,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),V))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,Ae),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=Oe,u()},d.clamp=function(e){return arguments.length?(o=e?!0:G,u()):o!==G},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function Le(){return Ie()(G,G)}function Re(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function q(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function J(e){return e=q(Math.abs(e)),e?e[1]:NaN}function ze(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Be(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Ve=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Y(e){if(!(t=Ve.exec(e)))throw Error(`invalid format: `+e);var t;return new X({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Y.prototype=X.prototype;function X(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}X.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function He(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(i+1):e}var Z;function Ue(e,t){var n=q(e,t);if(!n)return Z=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(Z=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+q(e,Math.max(0,t+a-1))[0]}function We(e,t){var n=q(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var Ge={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:Re,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>We(e*100,t),r:We,s:Ue,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Q(e){return e}var Ke=Array.prototype.map,qe=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function Je(e){var t=e.grouping===void 0||e.thousands===void 0?Q:ze(Ke.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?Q:Be(Ke.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=Y(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):Ge[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=Ge[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=He(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&Z!==void 0?qe[8+Z/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(J(t)/3)))*3,r=10**-n,i=l((e=Y(e),e.type=`f`,e),{suffix:qe[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var $,Ye,Xe;Ze({thousands:`,`,grouping:[3],currency:[`$`,``]});function Ze(e){return $=Je(e),Ye=$.format,Xe=$.formatPrefix,$}function Qe(e){return Math.max(0,-J(Math.abs(e)))}function $e(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(J(t)/3)))*3-J(Math.abs(e)))}function et(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,J(t)-J(e))+1}function tt(e,t,n,r){var i=m(e,t,n),a;switch(r=Y(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=$e(i,o))&&(r.precision=a),Xe(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=et(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Qe(i))&&(r.precision=a-(r.type===`%`)*2)}return Ye(r)}function nt(e){var t=e.domain;return e.ticks=function(e){var n=t();return f(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return tt(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=p(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function rt(){var e=Le();return e.copy=function(){return Fe(e,rt())},h.apply(e,arguments),nt(e)}export{G as a,W as c,m as d,a as f,Fe as i,j as l,nt as n,Ie as o,n as p,Le as r,Oe as s,rt as t,h as u};
|
|
1
|
+
import{R as e}from"./CbtqT1c8.js";function t(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function n(n){let i,a,o;n.length===2?(i=n===e||n===t?n:r,a=n,o=n):(i=e,a=(t,r)=>e(n(t),r),o=(e,t)=>n(e)-t);function s(e,t,n=0,r=e.length){if(n<r){if(i(t,t)!==0)return r;do{let i=n+r>>>1;a(e[i],t)<0?n=i+1:r=i}while(n<r)}return n}function c(e,t,n=0,r=e.length){if(n<r){if(i(t,t)!==0)return r;do{let i=n+r>>>1;a(e[i],t)<=0?n=i+1:r=i}while(n<r)}return n}function l(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&o(e[i-1],t)>-o(e[i],t)?i-1:i}return{left:s,center:l,right:c}}function r(){return 0}function i(e){return e===null?NaN:+e}function*a(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var o=n(e),s=o.right;o.left,n(i).center;var c=Math.sqrt(50),l=Math.sqrt(10),u=Math.sqrt(2);function d(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=c?10:a>=l?5:a>=u?2:1,s,f,p;return i<0?(p=10**-i/o,s=Math.round(e*p),f=Math.round(t*p),s/p<e&&++s,f/p>t&&--f,p=-p):(p=10**i*o,s=Math.round(e/p),f=Math.round(t/p),s*p<e&&++s,f*p>t&&--f),f<s&&.5<=n&&n<2?d(e,t,n*2):[s,f,p]}function f(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?d(t,e,n):d(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r){if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o}else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function p(e,t,n){return t=+t,e=+e,n=+n,d(e,t,n)[2]}function m(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?p(t,e,n):p(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function h(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function g(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function _(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function v(){}var y=.7,b=1/y,x=`\\s*([+-]?\\d+)\\s*`,S=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,C=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,w=/^#([0-9a-f]{3,8})$/,T=RegExp(`^rgb\\(${x},${x},${x}\\)$`),E=RegExp(`^rgb\\(${C},${C},${C}\\)$`),ee=RegExp(`^rgba\\(${x},${x},${x},${S}\\)$`),te=RegExp(`^rgba\\(${C},${C},${C},${S}\\)$`),ne=RegExp(`^hsl\\(${S},${C},${C}\\)$`),re=RegExp(`^hsla\\(${S},${C},${C},${S}\\)$`),ie={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};g(v,O,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ae,formatHex:ae,formatHex8:oe,formatHsl:se,formatRgb:D,toString:D});function ae(){return this.rgb().formatHex()}function oe(){return this.rgb().formatHex8()}function se(){return pe(this).formatHsl()}function D(){return this.rgb().formatRgb()}function O(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=w.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?k(t):n===3?new M(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?A(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?A(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=T.exec(e))?new M(t[1],t[2],t[3],1):(t=E.exec(e))?new M(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=ee.exec(e))?A(t[1],t[2],t[3],t[4]):(t=te.exec(e))?A(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=ne.exec(e))?fe(t[1],t[2]/100,t[3]/100,1):(t=re.exec(e))?fe(t[1],t[2]/100,t[3]/100,t[4]):ie.hasOwnProperty(e)?k(ie[e]):e===`transparent`?new M(NaN,NaN,NaN,0):null}function k(e){return new M(e>>16&255,e>>8&255,e&255,1)}function A(e,t,n,r){return r<=0&&(e=t=n=NaN),new M(e,t,n,r)}function ce(e){return e instanceof v||(e=O(e)),e?(e=e.rgb(),new M(e.r,e.g,e.b,e.opacity)):new M}function j(e,t,n,r){return arguments.length===1?ce(e):new M(e,t,n,r??1)}function M(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}g(M,j,_(v,{brighter(e){return e=e==null?b:b**+e,new M(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?y:y**+e,new M(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new M(P(this.r),P(this.g),P(this.b),N(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:le,formatHex:le,formatHex8:ue,formatRgb:de,toString:de}));function le(){return`#${F(this.r)}${F(this.g)}${F(this.b)}`}function ue(){return`#${F(this.r)}${F(this.g)}${F(this.b)}${F((isNaN(this.opacity)?1:this.opacity)*255)}`}function de(){let e=N(this.opacity);return`${e===1?`rgb(`:`rgba(`}${P(this.r)}, ${P(this.g)}, ${P(this.b)}${e===1?`)`:`, ${e})`}`}function N(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function P(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function F(e){return e=P(e),(e<16?`0`:``)+e.toString(16)}function fe(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,n,r)}function pe(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof v||(e=O(e)),!e)return new I;if(e instanceof I)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new I(o,s,c,e.opacity)}function me(e,t,n,r){return arguments.length===1?pe(e):new I(e,t,n,r??1)}function I(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}g(I,me,_(v,{brighter(e){return e=e==null?b:b**+e,new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?y:y**+e,new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new M(z(e>=240?e-240:e+120,i,r),z(e,i,r),z(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new I(L(this.h),R(this.s),R(this.l),N(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=N(this.opacity);return`${e===1?`hsl(`:`hsla(`}${L(this.h)}, ${R(this.s)*100}%, ${R(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function L(e){return e=(e||0)%360,e<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function z(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var B=e=>()=>e;function he(e,t){return function(n){return e+n*t}}function ge(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function _e(e){return(e=+e)==1?ve:function(t,n){return n-t?ge(t,n,e):B(isNaN(t)?n:t)}}function ve(e,t){var n=t-e;return n?he(e,n):B(isNaN(e)?t:e)}var ye=(function e(t){var n=_e(t);function r(e,t){var r=n((e=j(e)).r,(t=j(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=ve(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function be(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function xe(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Se(e,t){for(var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o=0;o<r;++o)i[o]=W(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function Ce(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function V(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function we(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=W(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var H=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,U=new RegExp(H.source,`g`);function Te(e){return function(){return e}}function Ee(e){return function(t){return e(t)+``}}function De(e,t){var n=H.lastIndex=U.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=H.exec(e))&&(i=U.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:V(r,i)})),n=U.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?Ee(c[0].x):Te(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function W(e,t){var n=typeof t,r;return t==null||n===`boolean`?B(t):(n===`number`?V:n===`string`?(r=O(t))?(t=r,ye):De:t instanceof O?ye:t instanceof Date?Ce:xe(t)?be:Array.isArray(t)?Se:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?we:V)(e,t)}function Oe(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function ke(e){return function(){return e}}function Ae(e){return+e}var je=[0,1];function G(e){return e}function K(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:ke(isNaN(t)?NaN:.5)}function Me(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function Ne(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=K(i,r),a=n(o,a)):(r=K(r,i),a=n(a,o)),function(e){return a(r(e))}}function Pe(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=K(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=s(e,t,1,r)-1;return a[n](i[n](t))}}function Fe(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ie(){var e=je,t=je,n=W,r,i,a,o=G,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==G&&(o=Me(e[0],e[n-1])),s=n>2?Pe:Ne,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),V))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,Ae),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=Oe,u()},d.clamp=function(e){return arguments.length?(o=e?!0:G,u()):o!==G},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function Le(){return Ie()(G,G)}function Re(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function q(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function J(e){return e=q(Math.abs(e)),e?e[1]:NaN}function ze(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Be(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Ve=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Y(e){if(!(t=Ve.exec(e)))throw Error(`invalid format: `+e);var t;return new X({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Y.prototype=X.prototype;function X(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}X.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function He(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(i+1):e}var Z;function Ue(e,t){var n=q(e,t);if(!n)return Z=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(Z=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+q(e,Math.max(0,t+a-1))[0]}function We(e,t){var n=q(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var Ge={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:Re,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>We(e*100,t),r:We,s:Ue,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Q(e){return e}var Ke=Array.prototype.map,qe=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function Je(e){var t=e.grouping===void 0||e.thousands===void 0?Q:ze(Ke.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?Q:Be(Ke.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=Y(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):Ge[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=Ge[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=He(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&Z!==void 0?qe[8+Z/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(J(t)/3)))*3,r=10**-n,i=l((e=Y(e),e.type=`f`,e),{suffix:qe[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var $,Ye,Xe;Ze({thousands:`,`,grouping:[3],currency:[`$`,``]});function Ze(e){return $=Je(e),Ye=$.format,Xe=$.formatPrefix,$}function Qe(e){return Math.max(0,-J(Math.abs(e)))}function $e(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(J(t)/3)))*3-J(Math.abs(e)))}function et(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,J(t)-J(e))+1}function tt(e,t,n,r){var i=m(e,t,n),a;switch(r=Y(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=$e(i,o))&&(r.precision=a),Xe(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=et(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Qe(i))&&(r.precision=a-(r.type===`%`)*2)}return Ye(r)}function nt(e){var t=e.domain;return e.ticks=function(e){var n=t();return f(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return tt(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=p(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function rt(){var e=Le();return e.copy=function(){return Fe(e,rt())},h.apply(e,arguments),nt(e)}export{G as a,W as c,m as d,a as f,Fe as i,j as l,nt as n,Ie as o,n as p,Le as r,Oe as s,rt as t,h as u};
|