@maudecode/talaria-web 1.16.1 → 1.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_release.json +4 -4
- package/dist/api/automation-raw.js +6 -3
- package/dist/api/automation-raw.js.map +1 -1
- package/dist/api/automation-router.d.ts +137 -9
- package/dist/api/automation-router.js +9 -6
- package/dist/api/automation-router.js.map +1 -1
- package/dist/api/chat-router.d.ts +51 -0
- package/dist/api/chat-router.js +29 -12
- package/dist/api/chat-router.js.map +1 -1
- package/dist/api/git-router.d.ts +12 -1
- package/dist/api/git-router.js +17 -7
- package/dist/api/git-router.js.map +1 -1
- package/dist/api/raw-routes.d.ts +6 -0
- package/dist/api/raw-routes.js +30 -0
- package/dist/api/raw-routes.js.map +1 -1
- package/dist/api/sessions-router.d.ts +260 -0
- package/dist/api/sessions-router.js +30 -2
- package/dist/api/sessions-router.js.map +1 -1
- package/dist/api/settings-router.d.ts +101 -2
- package/dist/api/settings-router.js +7 -2
- package/dist/api/settings-router.js.map +1 -1
- package/dist/api/sse-routes.d.ts +11 -3
- package/dist/api/sse-routes.js +144 -64
- package/dist/api/sse-routes.js.map +1 -1
- package/dist/api/tools-raw.js +6 -2
- package/dist/api/tools-raw.js.map +1 -1
- package/dist/api/tools-router.d.ts +73 -8
- package/dist/api/tools-router.js +9 -7
- package/dist/api/tools-router.js.map +1 -1
- package/dist/app.d.ts +0 -9377
- package/dist/app.js +7 -2
- package/dist/app.js.map +1 -1
- package/dist/auth/gate.js +3 -0
- package/dist/auth/gate.js.map +1 -1
- package/dist/config/agent-config.d.ts +2 -0
- package/dist/config/agent-config.js +9 -0
- package/dist/config/agent-config.js.map +1 -1
- package/dist/http/context.d.ts +3 -0
- package/dist/http/context.js +10 -4
- package/dist/http/context.js.map +1 -1
- package/dist/onboarding.js +4 -0
- package/dist/onboarding.js.map +1 -1
- package/dist/providers/catalog.d.ts +96 -7
- package/dist/providers/catalog.js +434 -113
- package/dist/providers/catalog.js.map +1 -1
- package/dist/redact.d.ts +1 -0
- package/dist/redact.js +27 -4
- package/dist/redact.js.map +1 -1
- package/dist/runtime.js +27 -9
- package/dist/runtime.js.map +1 -1
- package/dist/sessions/anchor.d.ts +2 -0
- package/dist/sessions/anchor.js +8 -3
- package/dist/sessions/anchor.js.map +1 -1
- package/dist/sessions/claude-code.d.ts +19 -0
- package/dist/sessions/claude-code.js +250 -0
- package/dist/sessions/claude-code.js.map +1 -0
- package/dist/sessions/completions.d.ts +13 -1
- package/dist/sessions/completions.js +63 -11
- package/dist/sessions/completions.js.map +1 -1
- package/dist/sessions/compress.d.ts +14 -1
- package/dist/sessions/compress.js +52 -11
- package/dist/sessions/compress.js.map +1 -1
- package/dist/sessions/journal.d.ts +8 -0
- package/dist/sessions/journal.js +44 -10
- package/dist/sessions/journal.js.map +1 -1
- package/dist/sessions/list.d.ts +6 -2
- package/dist/sessions/list.js +33 -10
- package/dist/sessions/list.js.map +1 -1
- package/dist/sessions/merge.d.ts +52 -2
- package/dist/sessions/merge.js +213 -10
- package/dist/sessions/merge.js.map +1 -1
- package/dist/sessions/service.d.ts +44 -2
- package/dist/sessions/service.js +251 -57
- package/dist/sessions/service.js.map +1 -1
- package/dist/sessions/session.d.ts +11 -1
- package/dist/sessions/session.js +23 -2
- package/dist/sessions/session.js.map +1 -1
- package/dist/sessions/state-db.d.ts +26 -4
- package/dist/sessions/state-db.js +126 -8
- package/dist/sessions/state-db.js.map +1 -1
- package/dist/sessions/store.js +5 -0
- package/dist/sessions/store.js.map +1 -1
- package/dist/sessions/streams.d.ts +10 -0
- package/dist/sessions/streams.js +14 -3
- package/dist/sessions/streams.js.map +1 -1
- package/dist/sessions/todo.d.ts +6 -1
- package/dist/sessions/todo.js +11 -4
- package/dist/sessions/todo.js.map +1 -1
- package/dist/sessions/tool-display.d.ts +12 -1
- package/dist/sessions/tool-display.js +76 -1
- package/dist/sessions/tool-display.js.map +1 -1
- package/dist/sessions/turn.d.ts +30 -9
- package/dist/sessions/turn.js +247 -78
- package/dist/sessions/turn.js.map +1 -1
- package/dist/settings.d.ts +20 -2
- package/dist/settings.js +40 -2
- package/dist/settings.js.map +1 -1
- package/dist/sidecar/fake.d.ts +2 -2
- package/dist/sidecar/fake.js +5 -2
- package/dist/sidecar/fake.js.map +1 -1
- package/dist/spa.js +2 -1
- package/dist/spa.js.map +1 -1
- package/dist/test/harness.js +2 -0
- package/dist/test/harness.js.map +1 -1
- package/dist/tools/insights.d.ts +8 -2
- package/dist/tools/insights.js +18 -2
- package/dist/tools/insights.js.map +1 -1
- package/dist/tools/kanban.d.ts +41 -1
- package/dist/tools/kanban.js +113 -2
- package/dist/tools/kanban.js.map +1 -1
- package/dist/tools/mcp.d.ts +2 -1
- package/dist/tools/mcp.js +11 -5
- package/dist/tools/mcp.js.map +1 -1
- package/dist/tools/terminal.d.ts +1 -0
- package/dist/tools/terminal.js +1 -1
- package/dist/tools/terminal.js.map +1 -1
- package/dist/tools/updates.d.ts +7 -0
- package/dist/tools/updates.js +74 -7
- package/dist/tools/updates.js.map +1 -1
- package/dist/workspace/fs.d.ts +7 -3
- package/dist/workspace/fs.js +5 -1
- package/dist/workspace/fs.js.map +1 -1
- package/dist/workspace/media.js +2 -0
- package/dist/workspace/media.js.map +1 -1
- package/dist/workspace/preview.d.ts +28 -0
- package/dist/workspace/preview.js +110 -0
- package/dist/workspace/preview.js.map +1 -0
- package/dist/workspace/rollback.d.ts +5 -4
- package/dist/workspace/rollback.js +12 -9
- package/dist/workspace/rollback.js.map +1 -1
- package/dist/workspace/upload.d.ts +2 -0
- package/dist/workspace/upload.js +4 -1
- package/dist/workspace/upload.js.map +1 -1
- package/package.json +2 -2
- package/sidecar/scripts/replay_sidecar.py +1 -1
- package/sidecar/talaria_sidecar/__init__.py +1 -1
- package/sidecar/talaria_sidecar/__main__.py +7 -1
- package/sidecar/talaria_sidecar/home.py +39 -0
- package/sidecar/talaria_sidecar/methods/chat.py +422 -38
- package/sidecar/talaria_sidecar/methods/commands.py +15 -2
- package/sidecar/talaria_sidecar/methods/cron.py +10 -6
- package/sidecar/talaria_sidecar/methods/kanban.py +115 -15
- package/sidecar/talaria_sidecar/methods/process.py +60 -1
- package/sidecar/talaria_sidecar/methods/profiles.py +7 -1
- package/sidecar/talaria_sidecar/methods/runtime.py +3 -0
- package/sidecar/talaria_sidecar/methods/text.py +17 -1
- package/sidecar/talaria_sidecar/methods/usage.py +257 -4
- package/static/dist/FILES.txt +126 -125
- package/static/dist/assets/AppShell-fb2td9zi.js +1 -0
- package/static/dist/assets/ChatPage-cj96kiy9.js +25 -0
- package/static/dist/assets/Dialog-kxcg7ard.js +1 -0
- package/static/dist/assets/ExtensionRoute-jf7h0754.js +1 -0
- package/static/dist/assets/HubRoute-gmanpd5y.js +2 -0
- package/static/dist/assets/{Markdown-jqrx5es0.js → Markdown-mdwlvj3w.js} +29 -29
- package/static/dist/assets/RightPanel-ftvrjlcp.js +1 -0
- package/static/dist/assets/Select-bilaypej.js +1 -0
- package/static/dist/assets/SessionListPanel-og8n36qs.js +1 -0
- package/static/dist/assets/SettingsLayout-jonjefmj.js +1 -0
- package/static/dist/assets/States-nmejrwrm.js +1 -0
- package/static/dist/assets/Toaster-nnl8zkt9.js +1 -0
- package/static/dist/assets/_app-gdidzd94.js +1 -0
- package/static/dist/assets/_app.ext._extensionId-opyh9y0v.js +1 -0
- package/static/dist/assets/_app.index-hbarzbjx.js +1 -0
- package/static/dist/assets/_app.insights-luywlarz.js +1 -0
- package/static/dist/assets/_app.kanban-kincnbr8.js +1 -0
- package/static/dist/assets/_app.logs-oi2gr3gs.js +1 -0
- package/static/dist/assets/_app.memory-b6jfivt6.js +1 -0
- package/static/dist/assets/_app.profiles-lpvixmqp.js +1 -0
- package/static/dist/assets/{_app.session._sessionId-hh27wwu2.js → _app.session._sessionId-bfd4h3id.js} +1 -1
- package/static/dist/assets/_app.settings-vowx3iq0.js +1 -0
- package/static/dist/assets/_app.settings._section-cnntg1tu.js +3 -0
- package/static/dist/assets/_app.skills-fb57lpau.js +1 -0
- package/static/dist/assets/_app.tasks-eszpx1q7.js +2 -0
- package/static/dist/assets/_app.todos-nr05ac6w.js +1 -0
- package/static/dist/assets/_app.workspaces-d2luomu6.js +1 -0
- package/static/dist/assets/{abnfDiagram-VCTEODGH-oity9y4o.js → abnfDiagram-VCTEODGH-b2x1lqot.js} +1 -1
- package/static/dist/assets/architecture-7GRP2DOG-hd0o7bde.js +1 -0
- package/static/dist/assets/{architectureDiagram-5GKGNRK7-ceaepnyr.js → architectureDiagram-5GKGNRK7-h38o5l7b.js} +1 -1
- package/static/dist/assets/{back-eu64w89w.js → back-bemaer09.js} +1 -1
- package/static/dist/assets/{blockDiagram-I7D4REHJ-n79st4pj.js → blockDiagram-I7D4REHJ-bqquxv2u.js} +1 -1
- package/static/dist/assets/{c4Diagram-7LVT6UL2-mi73akzk.js → c4Diagram-7LVT6UL2-f3fb8w6z.js} +1 -1
- package/static/dist/assets/{cancel-mzvkdjg8.js → cancel-drd0g6d9.js} +1 -1
- package/static/dist/assets/channel-cpdgf867.js +1 -0
- package/static/dist/assets/{chunk-4HAMMTFA-laat0g1q.js → chunk-4HAMMTFA-bzfyyzp3.js} +1 -1
- package/static/dist/assets/{chunk-75Z2AOVW-0psy1tr2.js → chunk-75Z2AOVW-ly99rfx5.js} +1 -1
- package/static/dist/assets/{chunk-DU6HZSFF-lw8uox8x.js → chunk-DU6HZSFF-bg6ecfqf.js} +3 -3
- package/static/dist/assets/{chunk-F27PBJKO-erassib3.js → chunk-F27PBJKO-e8k7mmqw.js} +1 -1
- package/static/dist/assets/{chunk-GMAD6QVW-fz7rx619.js → chunk-GMAD6QVW-cmalnoaj.js} +1 -1
- package/static/dist/assets/{chunk-GVQU2GXP-gdb0epb2.js → chunk-GVQU2GXP-gmif5o01.js} +1 -1
- package/static/dist/assets/{chunk-IMKFNOWR-ea8t26qw.js → chunk-IMKFNOWR-f1nwwh6u.js} +1 -1
- package/static/dist/assets/{chunk-L3NEJ4N5-mb1gu9kz.js → chunk-L3NEJ4N5-oktfh5v7.js} +1 -1
- package/static/dist/assets/{chunk-OSK3NFVY-eovmccvy.js → chunk-OSK3NFVY-b1sdx96z.js} +1 -1
- package/static/dist/assets/{chunk-P2QGCYS3-bo55zjo5.js → chunk-P2QGCYS3-fhu4nzxt.js} +1 -1
- package/static/dist/assets/{chunk-POPQ4Y6H-ja7ohe4h.js → chunk-POPQ4Y6H-em31rnef.js} +1 -1
- package/static/dist/assets/{chunk-PWAF6VOD-e30g9nus.js → chunk-PWAF6VOD-bxhhyftw.js} +1 -1
- package/static/dist/assets/{chunk-SHT3W25Y-gbb798f7.js → chunk-SHT3W25Y-fmrvwcav.js} +1 -1
- package/static/dist/assets/{chunk-SVP7TREG-h2iw8urm.js → chunk-SVP7TREG-lymukl2j.js} +1 -1
- package/static/dist/assets/{chunk-TICWLB2K-fd2cottz.js → chunk-TICWLB2K-lmza6k23.js} +1 -1
- package/static/dist/assets/classDiagram-ZZMXUADV-ko09sguk.js +1 -0
- package/static/dist/assets/classDiagram-v2-VYDZK3BY-ko09sguk.js +1 -0
- package/static/dist/assets/{copied-h65fc3cx.js → copied-ima3pysb.js} +1 -1
- package/static/dist/assets/copy-fw5b1pc6.js +1 -0
- package/static/dist/assets/{cynefin-OW5HDTMX-lbltyl5j.js → cynefin-OW5HDTMX-czlhbyhs.js} +1 -1
- package/static/dist/assets/{cynefinDiagram-5FMLGOSQ-lxhsqq4a.js → cynefinDiagram-5FMLGOSQ-gq7mvswb.js} +1 -1
- package/static/dist/assets/{dagre-GXQ25YYZ-gn4nnaln.js → dagre-GXQ25YYZ-cqdbf7dr.js} +1 -1
- package/static/dist/assets/{diagram-S7CK7UJ4-pa3ij6q7.js → diagram-S7CK7UJ4-o6arxa58.js} +1 -1
- package/static/dist/assets/{diagram-UQ7AKVKN-zbipyz57.js → diagram-UQ7AKVKN-nhnd68tz.js} +1 -1
- package/static/dist/assets/{diagram-VSXAHHWV-d1kbpzgf.js → diagram-VSXAHHWV-dk2sclzn.js} +1 -1
- package/static/dist/assets/{diagram-VX7I27RA-i3ty14xl.js → diagram-VX7I27RA-n3k5nyx3.js} +1 -1
- package/static/dist/assets/{diagram-Z3DM3KII-m8xefqa7.js → diagram-Z3DM3KII-m6q9cwdh.js} +1 -1
- package/static/dist/assets/{ebnfDiagram-PWID7BFC-nz7wj05l.js → ebnfDiagram-PWID7BFC-lsa5641p.js} +1 -1
- package/static/dist/assets/endpoints-d33siokx.js +64 -0
- package/static/dist/assets/{erDiagram-RLTQ6QDP-fa41ib83.js → erDiagram-RLTQ6QDP-fo2ckbe6.js} +1 -1
- package/static/dist/assets/eventmodeling-NTZA5JFV-emctlo64.js +1 -0
- package/static/dist/assets/flowDiagram-HODETNUW-bfi3moqa.js +1 -0
- package/static/dist/assets/{ganttDiagram-EL5Y4UJY-n7zq01qu.js → ganttDiagram-EL5Y4UJY-nzqz6x9g.js} +1 -1
- package/static/dist/assets/{gitGraph-4MIJSDKK-c89emb07.js → gitGraph-4MIJSDKK-gukvcxe6.js} +1 -1
- package/static/dist/assets/{gitGraphDiagram-WWUBYQGX-cz7cgr6w.js → gitGraphDiagram-WWUBYQGX-lqhdp8f0.js} +1 -1
- package/static/dist/assets/{highlighted-body-KPVGNVTW-d9bapmni.js → highlighted-body-KPVGNVTW-igw6cp39.js} +1 -1
- package/static/dist/assets/index-cxq58xb1.js +11 -0
- package/static/dist/assets/index-hgtx08n5.css +2 -0
- package/static/dist/assets/{info-A6RAGUB7-ndddhhhh.js → info-A6RAGUB7-gvu7a93l.js} +1 -1
- package/static/dist/assets/{infoDiagram-27XIBGKW-ccxigcpf.js → infoDiagram-27XIBGKW-m8t8g6w1.js} +1 -1
- package/static/dist/assets/{ishikawaDiagram-5VMMS53U-le0z9vtc.js → ishikawaDiagram-5VMMS53U-l07vkbgj.js} +1 -1
- package/static/dist/assets/{journeyDiagram-3NMN7TZE-ivsmb26o.js → journeyDiagram-3NMN7TZE-hybkgj8l.js} +1 -1
- package/static/dist/assets/{kanban-definition-UXKFOSKX-h6n2awt0.js → kanban-definition-UXKFOSKX-by13uvtn.js} +1 -1
- package/static/dist/assets/lazyRouteComponent-af0lvgjx.js +1 -0
- package/static/dist/assets/{line-dmzlfe0u.js → line-osxq6fq7.js} +1 -1
- package/static/dist/assets/link-jyxicdhg.js +1 -0
- package/static/dist/assets/{login-kjhasvp8.js → login-ec21t39x.js} +1 -1
- package/static/dist/assets/mermaid-HWGCJPDP-gfl8z3ep.js +1 -0
- package/static/dist/assets/{mermaid-parser.core-gwyd5bnq.js → mermaid-parser.core-i91oxmou.js} +3 -3
- package/static/dist/assets/{mindmap-definition-YA3MSWOX-l68gg5h7.js → mindmap-definition-YA3MSWOX-m82mx8ww.js} +1 -1
- package/static/dist/assets/onboarding-btnltvyz.js +1 -0
- package/static/dist/assets/onboarding_model_label-dp7xffoh.js +1 -0
- package/static/dist/assets/{packet-AYTQ26CC-gpv06065.js → packet-AYTQ26CC-nbtgge2o.js} +1 -1
- package/static/dist/assets/{pegDiagram-XKGWAZYB-e52vs23u.js → pegDiagram-XKGWAZYB-f1zxzga1.js} +1 -1
- package/static/dist/assets/{pie-WAS4IAKB-l6m7nz5s.js → pie-WAS4IAKB-of8vuhxs.js} +1 -1
- package/static/dist/assets/{pieDiagram-E7YTZNPT-b4is36bq.js → pieDiagram-E7YTZNPT-o7y8ftio.js} +1 -1
- package/static/dist/assets/{quadrantDiagram-AXDQQJYC-m8vt2788.js → quadrantDiagram-AXDQQJYC-iqiwia1t.js} +1 -1
- package/static/dist/assets/{radar-RG4KPBEZ-nxbrhiov.js → radar-RG4KPBEZ-delnsy2v.js} +1 -1
- package/static/dist/assets/{railroad-74A4TZTK-222mu9hi.js → railroad-74A4TZTK-nspnyq9u.js} +1 -1
- package/static/dist/assets/railroad-abnf-HS5TGJTU-nst1qxyn.js +1 -0
- package/static/dist/assets/railroad-ebnf-LZEXJU2U-ci37x8qy.js +1 -0
- package/static/dist/assets/railroad-peg-WCYAUIDC-aimkk07z.js +1 -0
- package/static/dist/assets/{railroadDiagram-O6MQD6OU-o8lldfzv.js → railroadDiagram-O6MQD6OU-z41tqx5z.js} +1 -1
- package/static/dist/assets/refresh-b4uams1i.js +1 -0
- package/static/dist/assets/refresh-cw-nt1dtsx4.js +1 -0
- package/static/dist/assets/{requirementDiagram-BXWQKSXE-ovyq38kv.js → requirementDiagram-BXWQKSXE-bdvif194.js} +1 -1
- package/static/dist/assets/{sankeyDiagram-P5KCCOFB-ou7lznor.js → sankeyDiagram-P5KCCOFB-h73e0rol.js} +1 -1
- package/static/dist/assets/{saved-bazmcup9.js → saved-kg52csy7.js} +1 -1
- package/static/dist/assets/{sequenceDiagram-WJ2MYXX4-ovckdzf2.js → sequenceDiagram-WJ2MYXX4-iv95mb1z.js} +1 -1
- package/static/dist/assets/{settings_section_extensions_title-ertwwhlx.js → settings_section_extensions_title-ej0iapxe.js} +1 -1
- package/static/dist/assets/share._token-f97e94r0.js +2 -0
- package/static/dist/assets/sliders-horizontal-fj18it47.js +1 -0
- package/static/dist/assets/sse-fwpqtzbg.js +1 -0
- package/static/dist/assets/{stateDiagram-D77RDMKH-fcrexkkv.js → stateDiagram-D77RDMKH-k417ixmf.js} +1 -1
- package/static/dist/assets/stateDiagram-v2-MP3YSRHH-hwn4apct.js +1 -0
- package/static/dist/assets/{swimlanes-42K2YHIH-f7usu8fw.js → swimlanes-42K2YHIH-esola70w.js} +1 -1
- package/static/dist/assets/swimlanesDiagram-VR7AAH4N-d1h97oyg.js +8 -0
- package/static/dist/assets/{timeline-definition-24CTP7MA-gp1hvz9f.js → timeline-definition-24CTP7MA-getrz2y8.js} +1 -1
- package/static/dist/assets/todoStore-eginf9h4.js +1 -0
- package/static/dist/assets/{treeView-Q6P3EWNA-gb9gf11u.js → treeView-Q6P3EWNA-hc7ap1q7.js} +1 -1
- package/static/dist/assets/{treemap-WGGIJYW6-nuvfnvvi.js → treemap-WGGIJYW6-b7k1syy5.js} +1 -1
- package/static/dist/assets/tts-lxdxnmjd.js +1 -0
- package/static/dist/assets/{untitled-htelhc68.js → untitled-ovpfthg4.js} +1 -1
- package/static/dist/assets/{useForm-h2t0u14e.js → useForm-bcblv1rx.js} +1 -1
- package/static/dist/assets/useLocale-fi5jb8ma.js +1 -0
- package/static/dist/assets/{useParams-dqd64jv7.js → useParams-lhg566ew.js} +1 -1
- package/static/dist/assets/{useSearch-j30pvsy7.js → useSearch-lbrh6ejn.js} +1 -1
- package/static/dist/assets/{vennDiagram-4TSXK5OY-fzchbzaj.js → vennDiagram-4TSXK5OY-n6pcy5qb.js} +1 -1
- package/static/dist/assets/{wardley-WFR3VGLG-m47mhfbh.js → wardley-WFR3VGLG-lpa18vz1.js} +1 -1
- package/static/dist/assets/{wardleyDiagram-VM6X3IG4-odg6ct1z.js → wardleyDiagram-VM6X3IG4-kpclwwg7.js} +1 -1
- package/static/dist/assets/{xychartDiagram-S5SC5T6Z-mrhms5um.js → xychartDiagram-S5SC5T6Z-paa2n8y0.js} +1 -1
- package/static/dist/index.html +1 -1
- package/static/dist/sw.js +2 -2
- package/static/dist/assets/AppShell-ef3bhu32.js +0 -1
- package/static/dist/assets/Button-nx37f4u1.js +0 -1
- package/static/dist/assets/ChatPage-cdcpykcg.js +0 -25
- package/static/dist/assets/Dialog-mec42hvb.js +0 -1
- package/static/dist/assets/HubRoute-ecb65zpr.js +0 -2
- package/static/dist/assets/RightPanel-d1lgvk4s.js +0 -1
- package/static/dist/assets/Select-h4ivl9qf.js +0 -1
- package/static/dist/assets/SessionListPanel-ewib046b.js +0 -1
- package/static/dist/assets/SettingsLayout-lx654cup.js +0 -1
- package/static/dist/assets/States-ehsb6lzo.js +0 -1
- package/static/dist/assets/Toaster-mch1pa3t.js +0 -1
- package/static/dist/assets/_app-m8d961ef.js +0 -1
- package/static/dist/assets/_app.ext._extensionId-mp33hbzi.js +0 -1
- package/static/dist/assets/_app.index-dk6zp7e0.js +0 -1
- package/static/dist/assets/_app.insights-jt2fk4i1.js +0 -1
- package/static/dist/assets/_app.kanban-if4pubeu.js +0 -1
- package/static/dist/assets/_app.logs-mfaw9m6g.js +0 -1
- package/static/dist/assets/_app.memory-h3eaarb6.js +0 -1
- package/static/dist/assets/_app.profiles-ienktovs.js +0 -1
- package/static/dist/assets/_app.settings-dpoe0bzf.js +0 -1
- package/static/dist/assets/_app.settings._section-l468ynag.js +0 -3
- package/static/dist/assets/_app.skills-kcbncc8i.js +0 -1
- package/static/dist/assets/_app.tasks-occdrqhw.js +0 -2
- package/static/dist/assets/_app.todos-nnke2rcc.js +0 -1
- package/static/dist/assets/_app.workspaces-cdlatvwj.js +0 -1
- package/static/dist/assets/architecture-7GRP2DOG-hj11333z.js +0 -1
- package/static/dist/assets/channel-mbvmf2vv.js +0 -1
- package/static/dist/assets/classDiagram-ZZMXUADV-o8r05k0n.js +0 -1
- package/static/dist/assets/classDiagram-v2-VYDZK3BY-o8r05k0n.js +0 -1
- package/static/dist/assets/copy-e6977uwq.js +0 -1
- package/static/dist/assets/endpoints-k7yf25m0.js +0 -64
- package/static/dist/assets/eventmodeling-NTZA5JFV-kpbq09bx.js +0 -1
- package/static/dist/assets/flowDiagram-HODETNUW-lcz0kx14.js +0 -1
- package/static/dist/assets/index-h00usru2.js +0 -11
- package/static/dist/assets/index-n73ijkv2.css +0 -2
- package/static/dist/assets/lazyRouteComponent-m1rtyk4t.js +0 -1
- package/static/dist/assets/link-budeg5t9.js +0 -1
- package/static/dist/assets/matchContext-f8oy3lo7.js +0 -1
- package/static/dist/assets/mermaid-HWGCJPDP-jb5d211j.js +0 -1
- package/static/dist/assets/onboarding-cdfrk0pj.js +0 -1
- package/static/dist/assets/railroad-abnf-HS5TGJTU-kdvgl6x8.js +0 -1
- package/static/dist/assets/railroad-ebnf-LZEXJU2U-itiqslby.js +0 -1
- package/static/dist/assets/railroad-peg-WCYAUIDC-go7kov78.js +0 -1
- package/static/dist/assets/refresh-cw-kbcje1uy.js +0 -1
- package/static/dist/assets/search-jen74z4u.js +0 -1
- package/static/dist/assets/share._token-dan9hgvj.js +0 -2
- package/static/dist/assets/sliders-horizontal-f9cb3lh3.js +0 -1
- package/static/dist/assets/stateDiagram-v2-MP3YSRHH-lcfraua2.js +0 -1
- package/static/dist/assets/swimlanesDiagram-VR7AAH4N-ogmanni0.js +0 -8
- package/static/dist/assets/todoStore-eqtid4r4.js +0 -1
- package/static/dist/assets/useLocale-hcsb84pj.js +0 -1
- package/static/dist/assets/useNavigate-nwy70ztj.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-GXQ25YYZ-
|
|
2
|
-
import{n as e,r as t,t as n}from"./rolldown-runtime-b9miacsj.js";import{n as r,t as i}from"./jsx-runtime-eu92a5pu.js";import{Vr as a,Xn as o}from"./endpoints-k7yf25m0.js";import{t as s}from"./cancel-mzvkdjg8.js";import{Y as c,p as l}from"./index-h00usru2.js";import{n as u}from"./chunk-Y2CYZVJY-n9gs7k4d.js";import{h as d,m as f,p}from"./src-hjyib4mu.js";import{$ as m,C as h,E as g,I as _,L as v,N as y,P as b,Q as ee,S as x,T as S,V as C,W as w,X as T,Z as te,_ as ne,b as re,c as ie,g as ae,l as oe,m as se,n as ce,p as le,q as E,r as ue,s as de,t as fe,u as pe,x as me}from"./chunk-DU6HZSFF-lw8uox8x.js";import{S as he,a as ge,d as _e,f as ve,g as ye,h as be,i as xe,o as Se,v as Ce,x as we,y as Te}from"./chunk-75Z2AOVW-0psy1tr2.js";import{r as Ee}from"./chunk-PWAF6VOD-e30g9nus.js";import{i as De}from"./chunk-GMAD6QVW-fz7rx619.js";import"./chunk-P2QGCYS3-bo55zjo5.js";import{a as Oe}from"./chunk-4HAMMTFA-laat0g1q.js";import{i as ke,n as Ae,r as je,t as Me}from"./chunk-GVQU2GXP-gdb0epb2.js";import{a as Ne,c as Pe,i as Fe,l as Ie,n as Le,r as Re,s as ze,t as Be}from"./chunk-OSK3NFVY-eovmccvy.js";import{t as Ve}from"./graphlib-mrng1xrk.js";import{n as He,t as Ue}from"./chunk-L3NEJ4N5-mb1gu9kz.js";import{t as We}from"./Button-nx37f4u1.js";import{n as Ge}from"./Dialog-mec42hvb.js";var Ke=e=>`This link goes to ${e?.host}.`,qe=Ke,Je=Ke,Ye=Ke,Xe=Ke,Ze=Ke,Qe=Ke,$e=Qe,et=Ke,tt=Ke,nt=Ke,rt=Ke,it=Ke,at=Ke,ot=Ke,st=((e,t={})=>{let n=t.locale??o();return n===`it`?qe(e):n===`ja`?Je(e):n===`ru`?Ye(e):n===`es`?Xe(e):n===`de`?Ze(e):n===`zh`?Qe(e):n===`zh-Hant`?$e(e):n===`pt`?et(e):n===`ko`?tt(e):n===`fr`?nt(e):n===`cs`?rt(e):n===`tr`?it(e):n===`pl`?at(e):n===`vi`?ot(e):Ke(e)}),ct=()=>`This link opens outside Talaria.`,lt=ct,ut=ct,dt=ct,ft=ct,pt=ct,mt=ct,ht=mt,gt=ct,_t=ct,vt=ct,yt=ct,bt=ct,xt=ct,St=ct,Ct=((e={},t={})=>{let n=t.locale??o();return n===`it`?lt(e):n===`ja`?ut(e):n===`ru`?dt(e):n===`es`?ft(e):n===`de`?pt(e):n===`zh`?mt(e):n===`zh-Hant`?ht(e):n===`pt`?gt(e):n===`ko`?_t(e):n===`fr`?vt(e):n===`cs`?yt(e):n===`tr`?bt(e):n===`pl`?xt(e):n===`vi`?St(e):ct(e)}),wt=()=>`Open link`,Tt=wt,Et=wt,Dt=wt,Ot=wt,kt=wt,At=wt,jt=At,Mt=wt,Nt=wt,Pt=wt,Ft=wt,It=wt,Lt=wt,Rt=wt,zt=((e={},t={})=>{let n=t.locale??o();return n===`it`?Tt(e):n===`ja`?Et(e):n===`ru`?Dt(e):n===`es`?Ot(e):n===`de`?kt(e):n===`zh`?At(e):n===`zh-Hant`?jt(e):n===`pt`?Mt(e):n===`ko`?Nt(e):n===`fr`?Pt(e):n===`cs`?Ft(e):n===`tr`?It(e):n===`pl`?Lt(e):n===`vi`?Rt(e):wt(e)}),Bt=()=>`Open external link?`,Vt=Bt,Ht=Bt,Ut=Bt,Wt=Bt,Gt=Bt,Kt=Bt,qt=Kt,Jt=Bt,Yt=Bt,Xt=Bt,Zt=Bt,Qt=Bt,$t=Bt,en=Bt,tn=((e={},t={})=>{let n=t.locale??o();return n===`it`?Vt(e):n===`ja`?Ht(e):n===`ru`?Ut(e):n===`es`?Wt(e):n===`de`?Gt(e):n===`zh`?Kt(e):n===`zh-Hant`?qt(e):n===`pt`?Jt(e):n===`ko`?Yt(e):n===`fr`?Xt(e):n===`cs`?Zt(e):n===`tr`?Qt(e):n===`pl`?$t(e):n===`vi`?en(e):Bt(e)}),nn=e({ParseError:()=>D,SETTINGS_SCHEMA:()=>pn,__defineFunction:()=>R,__defineMacro:()=>B,__defineSymbol:()=>k,__domTree:()=>_c,__parse:()=>fc,__renderToDomTree:()=>mc,__renderToHTMLTree:()=>hc,__setFontMetrics:()=>wr,default:()=>vc,render:()=>uc,renderToString:()=>dc,version:()=>gc}),D=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},rn=/([A-Z])/g,an=e=>e.replace(rn,`-$1`).toLowerCase(),on={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},sn=/[&><"']/g,cn=e=>String(e).replace(sn,e=>on[e]),ln=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?ln(e.body[0]):e:e.type===`font`?ln(e.body):e,un=new Set([`mathord`,`textord`,`atom`]),dn=e=>un.has(ln(e).type),fn=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},pn={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function mn(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function hn(e){return e.default===void 0?mn(Array.isArray(e.type)?e.type[0]:e.type):e.default}function gn(e,t,n,r){var i=n[t];e[t]=i===void 0?hn(r):r.processor?r.processor(i):i}var _n=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(pn)){var n=pn[t];n&&gn(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new D(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=fn(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},vn=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Dn[On[this.id]]}sub(){return Dn[kn[this.id]]}fracNum(){return Dn[An[this.id]]}fracDen(){return Dn[jn[this.id]]}cramp(){return Dn[Mn[this.id]]}text(){return Dn[Nn[this.id]]}isTight(){return this.size>=2}},yn=0,bn=1,xn=2,Sn=3,Cn=4,wn=5,Tn=6,En=7,Dn=[new vn(yn,0,!1),new vn(bn,0,!0),new vn(xn,1,!1),new vn(Sn,1,!0),new vn(Cn,2,!1),new vn(wn,2,!0),new vn(Tn,3,!1),new vn(En,3,!0)],On=[Cn,wn,Cn,wn,Tn,En,Tn,En],kn=[wn,wn,wn,wn,En,En,En,En],An=[xn,Sn,Cn,wn,Tn,En,Tn,En],jn=[Sn,Sn,wn,wn,En,En,En,En],Mn=[bn,bn,Sn,Sn,wn,wn,En,En],Nn=[yn,bn,xn,Sn,xn,Sn,xn,Sn],Pn={DISPLAY:Dn[yn],TEXT:Dn[xn],SCRIPT:Dn[Cn],SCRIPTSCRIPT:Dn[Tn]},Fn=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function In(e){for(var t=0;t<Fn.length;t++)for(var n=Fn[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Ln=[];Fn.forEach(e=>e.blocks.forEach(e=>Ln.push(...e)));function Rn(e){for(var t=0;t<Ln.length;t+=2)if(e>=Ln[t]&&e<=Ln[t+1])return!0;return!1}var zn=e=>e+` `+e,Bn=80,Vn=function(e,t){return`M95,`+(622+e+t)+`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-GXQ25YYZ-cqdbf7dr.js","./chunk-Y2CYZVJY-n9gs7k4d.js","./src-hjyib4mu.js","./rolldown-runtime-b9miacsj.js","./chunk-DU6HZSFF-bg6ecfqf.js","./index-cxq58xb1.js","./jsx-runtime-eu92a5pu.js","./lazyRouteComponent-af0lvgjx.js","./link-jyxicdhg.js","./endpoints-d33siokx.js","./root-mbklpuv4.js","./useParams-lhg566ew.js","./useSearch-lbrh6ejn.js","./not-found-ccnnac39.js","./index-hgtx08n5.css","./chunk-75Z2AOVW-ly99rfx5.js","./dist-c4c2m3kv.js","./chunk-PWAF6VOD-bxhhyftw.js","./chunk-GMAD6QVW-cmalnoaj.js","./chunk-P2QGCYS3-fhu4nzxt.js","./chunk-4HAMMTFA-bzfyyzp3.js","./rough.esm-on4k4je3.js","./chunk-GVQU2GXP-gmif5o01.js","./chunk-OSK3NFVY-b1sdx96z.js","./line-osxq6fq7.js","./path-b509aej0.js","./array-f36850hm.js","./graphlib-mrng1xrk.js","./dagre-lkoknbjn.js","./chunk-L3NEJ4N5-oktfh5v7.js","./swimlanes-42K2YHIH-esola70w.js","./cose-bilkent-JH36ORCC-eclcy6ja.js","./cytoscape.esm-bqu53u12.js","./sizeCapture-INFHLROL-g612l48j.js","./highlighted-body-KPVGNVTW-igw6cp39.js","./angular-html-nu6l31w3.js","./html-ha05xtvt.js","./javascript-coftlwy3.js","./css-ywz9j4hb.js","./angular-ts-fbx4f8mm.js","./scss-ncidjv48.js","./apl-bx2xr7dh.js","./xml-gau7gvrv.js","./java-ndjf2o89.js","./json-lok0yaho.js","./astro-g77i97cb.js","./typescript-g18c34xz.js","./postcss-fgpvnt75.js","./tsx-i163n32g.js","./blade-boo0u92y.js","./html-derivative-h2i2pyjc.js","./sql-j21bzcl6.js","./bsl-f8m1ja7w.js","./sdbl-bwg2t5pt.js","./c-cat0w3sc.js","./cairo-mblac9dt.js","./python-b767fgue.js","./cobol-go622aep.js","./coffee-jwo1xjhq.js","./cpp-nre7j0kq.js","./regexp-mpjtcvwm.js","./glsl-o1djm5pp.js","./crystal-lviso2je.js","./shellscript-m8whjpqd.js","./edge-dvv35byi.js","./elixir-i2f1ki1g.js","./elm-cpepyjm4.js","./erb-idlyfheg.js","./ruby-n4tjcbpz.js","./haml-cknnbcqs.js","./graphql-kj6rz55t.js","./jsx-b64w0nbx.js","./lua-leyf8mlb.js","./yaml-ofnrxtvf.js","./erlang-kbk8e1kh.js","./markdown-fibv6lrm.js","./fortran-fixed-form-lwddxd99.js","./fortran-free-form-jao3bzvo.js","./fsharp-ouam7w4k.js","./gdresource-gawivel9.js","./gdshader-hx54new5.js","./gdscript-kcamxf4c.js","./git-commit-e6qgtuh5.js","./diff-c5xjoml2.js","./git-rebase-d9lpfpbn.js","./glimmer-js-39i0urfb.js","./glimmer-ts-gdtd6n73.js","./hack-pe1qqr2i.js","./handlebars-hwq64orh.js","./http-cf94zu27.js","./hurl-lslax568.js","./csv-ol0sxk26.js","./hxml-g52gxet6.js","./haxe-4rwdh42h.js","./jinja-etei9wy7.js","./jison-hyekgft1.js","./julia-jxxzz2yn.js","./r-o3r9c7ao.js","./just-mc29iw9t.js","./perl-bj3oqtet.js","./latex-pafa03ft.js","./tex-deqpc5ee.js","./liquid-hz5c2pov.js","./marko-cn1fzpdv.js","./less-mwvscr3d.js","./mdc-huhy88df.js","./nextflow-fpd3eqgm.js","./nextflow-groovy-nc95p6pm.js","./nginx-e7lvhsmn.js","./nim-dun5d8mk.js","./php-buzp12r0.js","./pug-mjad7he9.js","./qml-d1gdp10s.js","./razor-ilc585yr.js","./csharp-kkz9hcxp.js","./rst-jrkwjdyi.js","./cmake-f68p68h5.js","./sas-hjo6y93k.js","./shaderlab-be89ch6g.js","./hlsl-kopkvwox.js","./shellsession-i5bj6syz.js","./soy-hhh36ysq.js","./sparql-pewjbauq.js","./turtle-g1kfgpwv.js","./stata-bbu2onh1.js","./surrealql-l5vczuco.js","./svelte-idn422g6.js","./templ-e22qou3c.js","./go-enhtrrw8.js","./ts-tags-ctnibc27.js","./twig-x0fi7wm8.js","./vue-mwu5l1bb.js","./vue-html-nskj3du0.js","./vue-vine-cqe77smq.js","./stylus-hifjg0ye.js","./xsl-ew09zq8b.js","./c4Diagram-7LVT6UL2-f3fb8w6z.js","./chunk-F27PBJKO-e8k7mmqw.js","./flowDiagram-HODETNUW-bfi3moqa.js","./chunk-XXDRQBXY-n40pf9vy.js","./chunk-POPQ4Y6H-em31rnef.js","./chunk-SHT3W25Y-fmrvwcav.js","./channel-cpdgf867.js","./chunk-5VM5RSS4-br0zxsux.js","./swimlanesDiagram-VR7AAH4N-d1h97oyg.js","./erDiagram-RLTQ6QDP-fo2ckbe6.js","./gitGraphDiagram-WWUBYQGX-lqhdp8f0.js","./mermaid-parser.core-i91oxmou.js","./chunk-FOHPRMQF-opuflp73.js","./chunk-JWPE2WC7-mw03m5s9.js","./chunk-2Q5K7J3B-k08c29qw.js","./ganttDiagram-EL5Y4UJY-nzqz6x9g.js","./linear-becwlnhk.js","./defaultLocale-eeoev87l.js","./init-ljpdkjra.js","./infoDiagram-27XIBGKW-m8t8g6w1.js","./pieDiagram-E7YTZNPT-o7y8ftio.js","./ordinal-d88pfdla.js","./arc-7popfhbk.js","./quadrantDiagram-AXDQQJYC-iqiwia1t.js","./xychartDiagram-S5SC5T6Z-paa2n8y0.js","./requirementDiagram-BXWQKSXE-bdvif194.js","./sequenceDiagram-WJ2MYXX4-iv95mb1z.js","./classDiagram-ZZMXUADV-ko09sguk.js","./chunk-TICWLB2K-lmza6k23.js","./classDiagram-v2-VYDZK3BY-ko09sguk.js","./stateDiagram-D77RDMKH-k417ixmf.js","./chunk-IMKFNOWR-f1nwwh6u.js","./stateDiagram-v2-MP3YSRHH-hwn4apct.js","./journeyDiagram-3NMN7TZE-hybkgj8l.js","./timeline-definition-24CTP7MA-getrz2y8.js","./mindmap-definition-YA3MSWOX-m82mx8ww.js","./kanban-definition-UXKFOSKX-by13uvtn.js","./sankeyDiagram-P5KCCOFB-h73e0rol.js","./diagram-Z3DM3KII-m6q9cwdh.js","./diagram-UQ7AKVKN-nhnd68tz.js","./blockDiagram-I7D4REHJ-bqquxv2u.js","./diagram-S7CK7UJ4-o6arxa58.js","./architectureDiagram-5GKGNRK7-h38o5l7b.js","./diagram-VSXAHHWV-dk2sclzn.js","./ishikawaDiagram-5VMMS53U-l07vkbgj.js","./vennDiagram-4TSXK5OY-n6pcy5qb.js","./diagram-VX7I27RA-n3k5nyx3.js","./wardleyDiagram-VM6X3IG4-kpclwwg7.js","./cynefinDiagram-5FMLGOSQ-gq7mvswb.js","./railroadDiagram-O6MQD6OU-z41tqx5z.js","./chunk-SVP7TREG-lymukl2j.js","./ebnfDiagram-PWID7BFC-lsa5641p.js","./abnfDiagram-VCTEODGH-b2x1lqot.js","./pegDiagram-XKGWAZYB-f1zxzga1.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{n as e,r as t,t as n}from"./rolldown-runtime-b9miacsj.js";import{n as r,t as i}from"./jsx-runtime-eu92a5pu.js";import{di as a,vr as o}from"./endpoints-d33siokx.js";import{n as s}from"./Toaster-nnl8zkt9.js";import{t as c}from"./cancel-drd0g6d9.js";import{X as l,p as u}from"./index-cxq58xb1.js";import{n as d}from"./chunk-Y2CYZVJY-n9gs7k4d.js";import{h as f,m as p,p as m}from"./src-hjyib4mu.js";import{$ as h,C as g,E as _,I as v,L as y,N as b,P as ee,Q as x,S,T as C,V as w,W as T,X as te,Z as ne,_ as re,b as ie,c as ae,g as oe,l as se,m as ce,n as le,p as E,q as ue,r as de,s as fe,t as pe,u as me,x as he}from"./chunk-DU6HZSFF-bg6ecfqf.js";import{S as ge,a as _e,d as ve,f as ye,g as be,h as xe,i as Se,o as Ce,v as we,x as Te,y as Ee}from"./chunk-75Z2AOVW-ly99rfx5.js";import{r as De}from"./chunk-PWAF6VOD-bxhhyftw.js";import{i as Oe}from"./chunk-GMAD6QVW-cmalnoaj.js";import"./chunk-P2QGCYS3-fhu4nzxt.js";import{a as ke}from"./chunk-4HAMMTFA-bzfyyzp3.js";import{i as Ae,n as je,r as Me,t as Ne}from"./chunk-GVQU2GXP-gmif5o01.js";import{a as Pe,c as Fe,i as Ie,l as Le,n as Re,r as ze,s as Be,t as Ve}from"./chunk-OSK3NFVY-b1sdx96z.js";import{t as He}from"./graphlib-mrng1xrk.js";import{n as Ue,t as We}from"./chunk-L3NEJ4N5-oktfh5v7.js";import{n as Ge}from"./Dialog-kxcg7ard.js";var Ke=e=>`This link goes to ${e?.host}.`,qe=Ke,Je=Ke,Ye=Ke,Xe=Ke,Ze=Ke,Qe=Ke,$e=Qe,et=Ke,tt=Ke,nt=Ke,rt=Ke,it=Ke,at=Ke,ot=Ke,st=((e,t={})=>{let n=t.locale??o();return n===`it`?qe(e):n===`ja`?Je(e):n===`ru`?Ye(e):n===`es`?Xe(e):n===`de`?Ze(e):n===`zh`?Qe(e):n===`zh-Hant`?$e(e):n===`pt`?et(e):n===`ko`?tt(e):n===`fr`?nt(e):n===`cs`?rt(e):n===`tr`?it(e):n===`pl`?at(e):n===`vi`?ot(e):Ke(e)}),ct=()=>`This link opens outside Talaria.`,lt=ct,ut=ct,dt=ct,ft=ct,pt=ct,mt=ct,ht=mt,gt=ct,_t=ct,vt=ct,yt=ct,bt=ct,xt=ct,St=ct,Ct=((e={},t={})=>{let n=t.locale??o();return n===`it`?lt(e):n===`ja`?ut(e):n===`ru`?dt(e):n===`es`?ft(e):n===`de`?pt(e):n===`zh`?mt(e):n===`zh-Hant`?ht(e):n===`pt`?gt(e):n===`ko`?_t(e):n===`fr`?vt(e):n===`cs`?yt(e):n===`tr`?bt(e):n===`pl`?xt(e):n===`vi`?St(e):ct(e)}),wt=()=>`Open link`,Tt=wt,Et=wt,Dt=wt,Ot=wt,kt=wt,At=wt,jt=At,Mt=wt,Nt=wt,Pt=wt,Ft=wt,It=wt,Lt=wt,Rt=wt,zt=((e={},t={})=>{let n=t.locale??o();return n===`it`?Tt(e):n===`ja`?Et(e):n===`ru`?Dt(e):n===`es`?Ot(e):n===`de`?kt(e):n===`zh`?At(e):n===`zh-Hant`?jt(e):n===`pt`?Mt(e):n===`ko`?Nt(e):n===`fr`?Pt(e):n===`cs`?Ft(e):n===`tr`?It(e):n===`pl`?Lt(e):n===`vi`?Rt(e):wt(e)}),Bt=()=>`Open external link?`,Vt=Bt,Ht=Bt,Ut=Bt,Wt=Bt,Gt=Bt,Kt=Bt,qt=Kt,Jt=Bt,Yt=Bt,Xt=Bt,Zt=Bt,Qt=Bt,$t=Bt,en=Bt,tn=((e={},t={})=>{let n=t.locale??o();return n===`it`?Vt(e):n===`ja`?Ht(e):n===`ru`?Ut(e):n===`es`?Wt(e):n===`de`?Gt(e):n===`zh`?Kt(e):n===`zh-Hant`?qt(e):n===`pt`?Jt(e):n===`ko`?Yt(e):n===`fr`?Xt(e):n===`cs`?Zt(e):n===`tr`?Qt(e):n===`pl`?$t(e):n===`vi`?en(e):Bt(e)}),nn=e({ParseError:()=>D,SETTINGS_SCHEMA:()=>pn,__defineFunction:()=>R,__defineMacro:()=>B,__defineSymbol:()=>k,__domTree:()=>_c,__parse:()=>fc,__renderToDomTree:()=>mc,__renderToHTMLTree:()=>hc,__setFontMetrics:()=>wr,default:()=>vc,render:()=>uc,renderToString:()=>dc,version:()=>gc}),D=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},rn=/([A-Z])/g,an=e=>e.replace(rn,`-$1`).toLowerCase(),on={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},sn=/[&><"']/g,cn=e=>String(e).replace(sn,e=>on[e]),ln=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?ln(e.body[0]):e:e.type===`font`?ln(e.body):e,un=new Set([`mathord`,`textord`,`atom`]),dn=e=>un.has(ln(e).type),fn=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},pn={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function mn(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function hn(e){return e.default===void 0?mn(Array.isArray(e.type)?e.type[0]:e.type):e.default}function gn(e,t,n,r){var i=n[t];e[t]=i===void 0?hn(r):r.processor?r.processor(i):i}var _n=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(pn)){var n=pn[t];n&&gn(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new D(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=fn(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},vn=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Dn[On[this.id]]}sub(){return Dn[kn[this.id]]}fracNum(){return Dn[An[this.id]]}fracDen(){return Dn[jn[this.id]]}cramp(){return Dn[Mn[this.id]]}text(){return Dn[Nn[this.id]]}isTight(){return this.size>=2}},yn=0,bn=1,xn=2,Sn=3,Cn=4,wn=5,Tn=6,En=7,Dn=[new vn(yn,0,!1),new vn(bn,0,!0),new vn(xn,1,!1),new vn(Sn,1,!0),new vn(Cn,2,!1),new vn(wn,2,!0),new vn(Tn,3,!1),new vn(En,3,!0)],On=[Cn,wn,Cn,wn,Tn,En,Tn,En],kn=[wn,wn,wn,wn,En,En,En,En],An=[xn,Sn,Cn,wn,Tn,En,Tn,En],jn=[Sn,Sn,wn,wn,En,En,En,En],Mn=[bn,bn,Sn,Sn,wn,wn,En,En],Nn=[yn,bn,xn,Sn,xn,Sn,xn,Sn],Pn={DISPLAY:Dn[yn],TEXT:Dn[xn],SCRIPT:Dn[Cn],SCRIPTSCRIPT:Dn[Tn]},Fn=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function In(e){for(var t=0;t<Fn.length;t++)for(var n=Fn[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Ln=[];Fn.forEach(e=>e.blocks.forEach(e=>Ln.push(...e)));function Rn(e){for(var t=0;t<Ln.length;t+=2)if(e>=Ln[t]&&e<=Ln[t+1])return!0;return!1}var zn=e=>e+` `+e,Bn=80,Vn=function(e,t){return`M95,`+(622+e+t)+`
|
|
3
3
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
4
4
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
5
5
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
@@ -255,40 +255,40 @@ l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
255
255
|
|[ \r ]+
|
|
256
256
|
?)[ \r ]*`,Us=`[̀-ͯ]`,Ws=RegExp(Us+`+$`),Gs=`(`+Rs+`+)|`+(Hs+`|`)+`([!-\\[\\]-‧-豈-]`+(Us+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(Us+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Vs)+(`|`+Bs+`)`),Ks=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Gs,`g`),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new qo(`EOF`,new Ko(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new D(`Unexpected character: '`+e[t]+`'`,new qo(e[t],new Ko(this,t,t+1)));var r=n[6]||n[3]||(n[2]?`\\ `:` `);if(this.catcodes[r]===14){var i=e.indexOf(`
|
|
257
257
|
`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=i+1,this.lex()}return new qo(r,new Ko(this,t,this.tokenRegex.lastIndex))}},qs=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new D(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Js=Go;B(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),B(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),B(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),B(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),B(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),B(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),B(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Ys={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};B(`\\char`,function(e){var t=e.popToken(),n,r=0;if(t.text===`'`)n=8,t=e.popToken();else if(t.text===`"`)n=16,t=e.popToken();else if(t.text==="`"){if(t=e.popToken(),t.text[0]===`\\`)r=t.text.charCodeAt(1);else if(t.text===`EOF`)throw new D("\\char` missing argument");else r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Ys[t.text],r==null||r>=n)throw new D(`Invalid base-`+n+` digit `+t.text);for(var i;(i=Ys[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return`\\@char{`+r+`}`});var Xs=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new D(`\\newcommand's first argument must be a macro name`);var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new D(`\\newcommand{`+a+`} attempting to redefine `+(a+`; use \\renewcommand`));if(!o&&!n)throw new D(`\\renewcommand{`+a+`} when command `+a+` does not yet exist; use \\newcommand`);var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text===`[`){for(var c=``,l=e.expandNextToken();l.text!==`]`&&l.text!==`EOF`;)c+=l.text,l=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new D(`Invalid number of arguments: `+c);s=parseInt(c),i=e.consumeArg().tokens}return o&&r||e.macros.set(a,{tokens:i,numArgs:s}),``};B(`\\newcommand`,e=>Xs(e,!1,!0,!1)),B(`\\renewcommand`,e=>Xs(e,!0,!1,!1)),B(`\\providecommand`,e=>Xs(e,!0,!0,!0)),B(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),B(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),B(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ls[n],Or.math[n],Or.text[n]),``}),B(`\\bgroup`,`{`),B(`\\egroup`,`}`),B(`~`,`\\nobreakspace`),B(`\\lq`,"`"),B(`\\rq`,`'`),B(`\\aa`,`\\r a`),B(`\\AA`,`\\r A`),B(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),B(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),B(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),B(`ℬ`,`\\mathscr{B}`),B(`ℰ`,`\\mathscr{E}`),B(`ℱ`,`\\mathscr{F}`),B(`ℋ`,`\\mathscr{H}`),B(`ℐ`,`\\mathscr{I}`),B(`ℒ`,`\\mathscr{L}`),B(`ℳ`,`\\mathscr{M}`),B(`ℛ`,`\\mathscr{R}`),B(`ℭ`,`\\mathfrak{C}`),B(`ℌ`,`\\mathfrak{H}`),B(`ℨ`,`\\mathfrak{Z}`),B(`\\Bbbk`,`\\Bbb{k}`),B(`\\llap`,`\\mathllap{\\textrm{#1}}`),B(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),B(`\\clap`,`\\mathclap{\\textrm{#1}}`),B(`\\mathstrut`,`\\vphantom{(}`),B(`\\underbar`,`\\underline{\\text{#1}}`),B(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),B(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),B(`\\ne`,`\\neq`),B(`≠`,`\\neq`),B(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),B(`∉`,`\\notin`),B(`≘`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),B(`≙`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),B(`≚`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),B(`≛`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),B(`≝`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),B(`≞`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),B(`≟`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),B(`⟂`,`\\perp`),B(`‼`,`\\mathclose{!\\mkern-0.8mu!}`),B(`∌`,`\\notni`),B(`⌜`,`\\ulcorner`),B(`⌝`,`\\urcorner`),B(`⌞`,`\\llcorner`),B(`⌟`,`\\lrcorner`),B(`©`,`\\copyright`),B(`®`,`\\textregistered`),B(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),B(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),B(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),B(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),B(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),B(`⋮`,`\\vdots`),B(`\\varGamma`,`\\mathit{\\Gamma}`),B(`\\varDelta`,`\\mathit{\\Delta}`),B(`\\varTheta`,`\\mathit{\\Theta}`),B(`\\varLambda`,`\\mathit{\\Lambda}`),B(`\\varXi`,`\\mathit{\\Xi}`),B(`\\varPi`,`\\mathit{\\Pi}`),B(`\\varSigma`,`\\mathit{\\Sigma}`),B(`\\varUpsilon`,`\\mathit{\\Upsilon}`),B(`\\varPhi`,`\\mathit{\\Phi}`),B(`\\varPsi`,`\\mathit{\\Psi}`),B(`\\varOmega`,`\\mathit{\\Omega}`),B(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),B(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),B(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),B(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),B(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),B(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),B(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),B(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var Zs={",":`\\dotsc`,"\\not":`\\dotsb`,"+":`\\dotsb`,"=":`\\dotsb`,"<":`\\dotsb`,">":`\\dotsb`,"-":`\\dotsb`,"*":`\\dotsb`,":":`\\dotsb`,"\\DOTSB":`\\dotsb`,"\\coprod":`\\dotsb`,"\\bigvee":`\\dotsb`,"\\bigwedge":`\\dotsb`,"\\biguplus":`\\dotsb`,"\\bigcap":`\\dotsb`,"\\bigcup":`\\dotsb`,"\\prod":`\\dotsb`,"\\sum":`\\dotsb`,"\\bigotimes":`\\dotsb`,"\\bigoplus":`\\dotsb`,"\\bigodot":`\\dotsb`,"\\bigsqcup":`\\dotsb`,"\\And":`\\dotsb`,"\\longrightarrow":`\\dotsb`,"\\Longrightarrow":`\\dotsb`,"\\longleftarrow":`\\dotsb`,"\\Longleftarrow":`\\dotsb`,"\\longleftrightarrow":`\\dotsb`,"\\Longleftrightarrow":`\\dotsb`,"\\mapsto":`\\dotsb`,"\\longmapsto":`\\dotsb`,"\\hookrightarrow":`\\dotsb`,"\\doteq":`\\dotsb`,"\\mathbin":`\\dotsb`,"\\mathrel":`\\dotsb`,"\\relbar":`\\dotsb`,"\\Relbar":`\\dotsb`,"\\xrightarrow":`\\dotsb`,"\\xleftarrow":`\\dotsb`,"\\DOTSI":`\\dotsi`,"\\int":`\\dotsi`,"\\oint":`\\dotsi`,"\\iint":`\\dotsi`,"\\iiint":`\\dotsi`,"\\iiiint":`\\dotsi`,"\\idotsint":`\\dotsi`,"\\DOTSX":`\\dotsx`},Qs=new Set([`bin`,`rel`]);B(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in Zs?t=Zs[n]:(n.slice(0,4)===`\\not`||n in Or.math&&Qs.has(Or.math[n].group))&&(t=`\\dotsb`),t});var $s={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};B(`\\dotso`,function(e){return e.future().text in $s?`\\ldots\\,`:`\\ldots`}),B(`\\dotsc`,function(e){var t=e.future().text;return t in $s&&t!==`,`?`\\ldots\\,`:`\\ldots`}),B(`\\cdots`,function(e){return e.future().text in $s?`\\@cdots\\,`:`\\@cdots`}),B(`\\dotsb`,`\\cdots`),B(`\\dotsm`,`\\cdots`),B(`\\dotsi`,`\\!\\cdots`),B(`\\dotsx`,`\\ldots\\,`),B(`\\DOTSI`,`\\relax`),B(`\\DOTSB`,`\\relax`),B(`\\DOTSX`,`\\relax`),B(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),B(`\\,`,`\\tmspace+{3mu}{.1667em}`),B(`\\thinspace`,`\\,`),B(`\\>`,`\\mskip{4mu}`),B(`\\:`,`\\tmspace+{4mu}{.2222em}`),B(`\\medspace`,`\\:`),B(`\\;`,`\\tmspace+{5mu}{.2777em}`),B(`\\thickspace`,`\\;`),B(`\\!`,`\\tmspace-{3mu}{.1667em}`),B(`\\negthinspace`,`\\!`),B(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),B(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),B(`\\enspace`,`\\kern.5em `),B(`\\enskip`,`\\hskip.5em\\relax`),B(`\\quad`,`\\hskip1em\\relax`),B(`\\qquad`,`\\hskip2em\\relax`),B(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),B(`\\tag@paren`,`\\tag@literal{({#1})}`),B(`\\tag@literal`,e=>{if(e.macros.get(`\\df@tag`))throw new D(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),B(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),B(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),B(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),B(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),B(`\\newline`,`\\\\\\relax`),B(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var ec=O(xr[`Main-Regular`][84][1]-.7*xr[`Main-Regular`][65][1]);B(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+ec+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),B(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+ec+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),B(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),B(`\\@hspace`,`\\hskip #1\\relax`),B(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),B(`\\ordinarycolon`,`:`),B(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),B(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),B(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),B(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),B(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),B(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),B(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),B(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),B(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),B(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),B(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),B(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),B(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),B(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),B(`∷`,`\\dblcolon`),B(`∹`,`\\eqcolon`),B(`≔`,`\\coloneqq`),B(`≕`,`\\eqqcolon`),B(`⩴`,`\\Coloneqq`),B(`\\ratio`,`\\vcentcolon`),B(`\\coloncolon`,`\\dblcolon`),B(`\\colonequals`,`\\coloneqq`),B(`\\coloncolonequals`,`\\Coloneqq`),B(`\\equalscolon`,`\\eqqcolon`),B(`\\equalscoloncolon`,`\\Eqqcolon`),B(`\\colonminus`,`\\coloneq`),B(`\\coloncolonminus`,`\\Coloneq`),B(`\\minuscolon`,`\\eqcolon`),B(`\\minuscoloncolon`,`\\Eqcolon`),B(`\\coloncolonapprox`,`\\Colonapprox`),B(`\\coloncolonsim`,`\\Colonsim`),B(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),B(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),B(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),B(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}`),B(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),B(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),B(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),B(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),B(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),B(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),B(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),B(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),B(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),B(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{≩}`),B(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{≨}`),B(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{≱}`),B(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{≱}`),B(`\\nleqq`,`\\html@mathml{\\@nleqq}{≰}`),B(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{≰}`),B(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{∤}`),B(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{∦}`),B(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{⊈}`),B(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{⊉}`),B(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{⊊}`),B(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{⫋}`),B(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{⊋}`),B(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{⫌}`),B(`\\imath`,`\\html@mathml{\\@imath}{ı}`),B(`\\jmath`,`\\html@mathml{\\@jmath}{ȷ}`),B(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),B(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),B(`⟦`,`\\llbracket`),B(`⟧`,`\\rrbracket`),B(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),B(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),B(`⦃`,`\\lBrace`),B(`⦄`,`\\rBrace`),B(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),B(`⦵`,`\\minuso`),B(`\\darr`,`\\downarrow`),B(`\\dArr`,`\\Downarrow`),B(`\\Darr`,`\\Downarrow`),B(`\\lang`,`\\langle`),B(`\\rang`,`\\rangle`),B(`\\uarr`,`\\uparrow`),B(`\\uArr`,`\\Uparrow`),B(`\\Uarr`,`\\Uparrow`),B(`\\N`,`\\mathbb{N}`),B(`\\R`,`\\mathbb{R}`),B(`\\Z`,`\\mathbb{Z}`),B(`\\alef`,`\\aleph`),B(`\\alefsym`,`\\aleph`),B(`\\Alpha`,`\\mathrm{A}`),B(`\\Beta`,`\\mathrm{B}`),B(`\\bull`,`\\bullet`),B(`\\Chi`,`\\mathrm{X}`),B(`\\clubs`,`\\clubsuit`),B(`\\cnums`,`\\mathbb{C}`),B(`\\Complex`,`\\mathbb{C}`),B(`\\Dagger`,`\\ddagger`),B(`\\diamonds`,`\\diamondsuit`),B(`\\empty`,`\\emptyset`),B(`\\Epsilon`,`\\mathrm{E}`),B(`\\Eta`,`\\mathrm{H}`),B(`\\exist`,`\\exists`),B(`\\harr`,`\\leftrightarrow`),B(`\\hArr`,`\\Leftrightarrow`),B(`\\Harr`,`\\Leftrightarrow`),B(`\\hearts`,`\\heartsuit`),B(`\\image`,`\\Im`),B(`\\infin`,`\\infty`),B(`\\Iota`,`\\mathrm{I}`),B(`\\isin`,`\\in`),B(`\\Kappa`,`\\mathrm{K}`),B(`\\larr`,`\\leftarrow`),B(`\\lArr`,`\\Leftarrow`),B(`\\Larr`,`\\Leftarrow`),B(`\\lrarr`,`\\leftrightarrow`),B(`\\lrArr`,`\\Leftrightarrow`),B(`\\Lrarr`,`\\Leftrightarrow`),B(`\\Mu`,`\\mathrm{M}`),B(`\\natnums`,`\\mathbb{N}`),B(`\\Nu`,`\\mathrm{N}`),B(`\\Omicron`,`\\mathrm{O}`),B(`\\plusmn`,`\\pm`),B(`\\rarr`,`\\rightarrow`),B(`\\rArr`,`\\Rightarrow`),B(`\\Rarr`,`\\Rightarrow`),B(`\\real`,`\\Re`),B(`\\reals`,`\\mathbb{R}`),B(`\\Reals`,`\\mathbb{R}`),B(`\\Rho`,`\\mathrm{P}`),B(`\\sdot`,`\\cdot`),B(`\\sect`,`\\S`),B(`\\spades`,`\\spadesuit`),B(`\\sub`,`\\subset`),B(`\\sube`,`\\subseteq`),B(`\\supe`,`\\supseteq`),B(`\\Tau`,`\\mathrm{T}`),B(`\\thetasym`,`\\vartheta`),B(`\\weierp`,`\\wp`),B(`\\Zeta`,`\\mathrm{Z}`),B(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),B(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),B(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),B(`\\bra`,`\\mathinner{\\langle{#1}|}`),B(`\\ket`,`\\mathinner{|{#1}\\rangle}`),B(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),B(`\\Bra`,`\\left\\langle#1\\right|`),B(`\\Ket`,`\\left|#1\\right\\rangle`);var tc=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};B(`\\bra@ket`,tc(!1)),B(`\\bra@set`,tc(!0)),B(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),B(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),B(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),B(`\\angln`,`{\\angl n}`),B(`\\blue`,`\\textcolor{##6495ed}{#1}`),B(`\\orange`,`\\textcolor{##ffa500}{#1}`),B(`\\pink`,`\\textcolor{##ff00af}{#1}`),B(`\\red`,`\\textcolor{##df0030}{#1}`),B(`\\green`,`\\textcolor{##28ae7b}{#1}`),B(`\\gray`,`\\textcolor{gray}{#1}`),B(`\\purple`,`\\textcolor{##9d38bd}{#1}`),B(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),B(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),B(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),B(`\\blueD`,`\\textcolor{##11accd}{#1}`),B(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),B(`\\tealA`,`\\textcolor{##94fff5}{#1}`),B(`\\tealB`,`\\textcolor{##26edd5}{#1}`),B(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),B(`\\tealD`,`\\textcolor{##01a995}{#1}`),B(`\\tealE`,`\\textcolor{##208170}{#1}`),B(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),B(`\\greenB`,`\\textcolor{##8af281}{#1}`),B(`\\greenC`,`\\textcolor{##74cf70}{#1}`),B(`\\greenD`,`\\textcolor{##1fab54}{#1}`),B(`\\greenE`,`\\textcolor{##0d923f}{#1}`),B(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),B(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),B(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),B(`\\goldD`,`\\textcolor{##e07d10}{#1}`),B(`\\goldE`,`\\textcolor{##a75a05}{#1}`),B(`\\redA`,`\\textcolor{##fca9a9}{#1}`),B(`\\redB`,`\\textcolor{##ff8482}{#1}`),B(`\\redC`,`\\textcolor{##f9685d}{#1}`),B(`\\redD`,`\\textcolor{##e84d39}{#1}`),B(`\\redE`,`\\textcolor{##bc2612}{#1}`),B(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),B(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),B(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),B(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),B(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),B(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),B(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),B(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),B(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),B(`\\purpleE`,`\\textcolor{##543b78}{#1}`),B(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),B(`\\mintB`,`\\textcolor{##edf2df}{#1}`),B(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),B(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),B(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),B(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),B(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),B(`\\grayE`,`\\textcolor{##babec2}{#1}`),B(`\\grayF`,`\\textcolor{##888d93}{#1}`),B(`\\grayG`,`\\textcolor{##626569}{#1}`),B(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),B(`\\grayI`,`\\textcolor{##21242c}{#1}`),B(`\\kaBlue`,`\\textcolor{##314453}{#1}`),B(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var nc={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},rc=class{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new qs(Js,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Ks(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new qo(`EOF`,n.loc)),this.pushTokens(r),new qo(``,Ko.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r=this.future(),i,a=0,o=0;do{if(i=this.popToken(),t.push(i),i.text===`{`)++a;else if(i.text===`}`){if(--a,a===-1)throw new D(`Extra }`,i)}else if(i.text===`EOF`)throw new D(`Unexpected end of input in a macro argument, expected '`+(e&&n?e[o]:`}`)+`'`,i);if(e&&n){if((a===0||a===1&&e[o]===`{`)&&i.text===e[o]){if(++o,o===e.length){t.splice(-o,o);break}}else o=0}}while(a!==0||n);return r.text===`{`&&t[t.length-1].text===`}`&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new D(`The length of delimiters doesn't match the number of args!`);for(var n=t[0],r=0;r<n.length;r++){var i=this.popToken();if(n[r]!==i.text)throw new D(`Use of the macro doesn't match its definition`,i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new D(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(e){var t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(r==null||e&&r.unexpandable){if(e&&r==null&&n[0]===`\\`&&!this.isDefined(n))throw new D(`Undefined control sequence: `+n);return this.pushToken(t),!1}this.countExpansion(1);var i=r.tokens,a=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text===`#`){if(o===0)throw new D(`Incomplete placeholder at end of macro body`,s);if(s=i[--o],s.text===`#`)i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[s.text-1]);else throw new D(`Not a valid argument number`,s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text=`\\relax`),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new qo(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&=(r.noexpand=!1,!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new Ks(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||Ls.hasOwnProperty(e)||Or.math.hasOwnProperty(e)||Or.text.hasOwnProperty(e)||nc.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?Ls.hasOwnProperty(e)&&!Ls[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},ic=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ac=Object.freeze({"₊":`+`,"₋":`-`,"₌":`=`,"₍":`(`,"₎":`)`,"₀":`0`,"₁":`1`,"₂":`2`,"₃":`3`,"₄":`4`,"₅":`5`,"₆":`6`,"₇":`7`,"₈":`8`,"₉":`9`,ₐ:`a`,ₑ:`e`,ₕ:`h`,ᵢ:`i`,ⱼ:`j`,ₖ:`k`,ₗ:`l`,ₘ:`m`,ₙ:`n`,ₒ:`o`,ₚ:`p`,ᵣ:`r`,ₛ:`s`,ₜ:`t`,ᵤ:`u`,ᵥ:`v`,ₓ:`x`,ᵦ:`β`,ᵧ:`γ`,ᵨ:`ρ`,ᵩ:`ϕ`,ᵪ:`χ`,"⁺":`+`,"⁻":`-`,"⁼":`=`,"⁽":`(`,"⁾":`)`,"⁰":`0`,"¹":`1`,"²":`2`,"³":`3`,"⁴":`4`,"⁵":`5`,"⁶":`6`,"⁷":`7`,"⁸":`8`,"⁹":`9`,ᴬ:`A`,ᴮ:`B`,ᴰ:`D`,ᴱ:`E`,ᴳ:`G`,ᴴ:`H`,ᴵ:`I`,ᴶ:`J`,ᴷ:`K`,ᴸ:`L`,ᴹ:`M`,ᴺ:`N`,ᴼ:`O`,ᴾ:`P`,ᴿ:`R`,ᵀ:`T`,ᵁ:`U`,ⱽ:`V`,ᵂ:`W`,ᵃ:`a`,ᵇ:`b`,ᶜ:`c`,ᵈ:`d`,ᵉ:`e`,ᶠ:`f`,ᵍ:`g`,ʰ:`h`,ⁱ:`i`,ʲ:`j`,ᵏ:`k`,ˡ:`l`,ᵐ:`m`,ⁿ:`n`,ᵒ:`o`,ᵖ:`p`,ʳ:`r`,ˢ:`s`,ᵗ:`t`,ᵘ:`u`,ᵛ:`v`,ʷ:`w`,ˣ:`x`,ʸ:`y`,ᶻ:`z`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),oc={"́":{text:`\\'`,math:`\\acute`},"̀":{text:"\\`",math:`\\grave`},"̈":{text:`\\"`,math:`\\ddot`},"̃":{text:`\\~`,math:`\\tilde`},"̄":{text:`\\=`,math:`\\bar`},"̆":{text:`\\u`,math:`\\breve`},"̌":{text:`\\v`,math:`\\check`},"̂":{text:`\\^`,math:`\\hat`},"̇":{text:`\\.`,math:`\\dot`},"̊":{text:`\\r`,math:`\\mathring`},"̋":{text:`\\H`},"̧":{text:`\\c`}},sc={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},cc=class e{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=`math`,this.gullet=new rc(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new D(`Expected '`+e+`', got '`+this.fetch().text+`'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??=this.gullet.expandNextToken(),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new qo(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(t,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(e.endOfExpression.has(i.text)||n&&i.text===n||t&&Ls[i.text]&&Ls[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,n,r=0;r<e.length;r++){var i=e[r];if(i.type===`infix`){if(t!==-1)throw new D(`only one infix operator per group`,i.token);t=r,n=i.replaceWith}}if(t!==-1&&n){var a,o,s=e.slice(0,t),c=e.slice(t+1);return a=s.length===1&&s[0].type===`ordgroup`?s[0]:{type:`ordgroup`,mode:this.mode,body:s},o=c.length===1&&c[0].type===`ordgroup`?c[0]:{type:`ordgroup`,mode:this.mode,body:c},[n===`\\\\abovefrac`?this.callFunction(n,[a,e[t],o],[]):this.callFunction(n,[a,o],[])]}return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var r;do r=this.parseGroup(e);while(r?.type===`internal`);if(!r)throw new D(`Expected group after '`+n+`'`,t);return r}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:`textord`,mode:`text`,text:e[n]});var r={type:`text`,mode:this.mode,body:t};return{type:`color`,mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(e){var t=this.parseGroup(`atom`,e);if(t?.type===`internal`||this.mode===`text`)return t;for(var n,r;;){this.consumeSpaces();var i=this.fetch();if(i.text===`\\limits`||i.text===`\\nolimits`){if(t&&t.type===`op`)t.limits=i.text===`\\limits`,t.alwaysHandleSupSub=!0;else if(t&&t.type===`operatorname`)t.alwaysHandleSupSub&&(t.limits=i.text===`\\limits`);else throw new D(`Limit controls must follow a math operator`,i);this.consume()}else if(i.text===`^`){if(n)throw new D(`Double superscript`,i);n=this.handleSupSubscript(`superscript`)}else if(i.text===`_`){if(r)throw new D(`Double subscript`,i);r=this.handleSupSubscript(`subscript`)}else if(i.text===`'`){if(n)throw new D(`Double superscript`,i);var a={type:`textord`,mode:this.mode,text:`\\prime`},o=[a];for(this.consume();this.fetch().text===`'`;)o.push(a),this.consume();this.fetch().text===`^`&&o.push(this.handleSupSubscript(`superscript`)),n={type:`ordgroup`,mode:this.mode,body:o}}else if(ac[i.text]){var s=ic.test(i.text),c=[];for(c.push(new qo(ac[i.text])),this.consume();;){var l=this.fetch().text;if(!ac[l]||ic.test(l)!==s)break;c.unshift(new qo(ac[l])),this.consume()}var u=this.subparse(c);s?r={type:`ordgroup`,mode:`math`,body:u}:n={type:`ordgroup`,mode:`math`,body:u}}else break}return n||r?{type:`supsub`,mode:this.mode,base:t,sup:n,sub:r}:t}parseFunction(e,t){var n=this.fetch(),r=n.text,i=Ls[r];if(!i)return null;if(this.consume(),t&&t!==`atom`&&!i.allowedInArgument)throw new D(`Got function '`+r+`' with no arguments`+(t?` as `+t:``),n);if(this.mode===`text`&&!i.allowedInText)throw new D(`Can't use function '`+r+`' in text mode`,n);if(this.mode===`math`&&i.allowedInMath===!1)throw new D(`Can't use function '`+r+`' in math mode`,n);var{args:a,optArgs:o}=this.parseArguments(r,i);return this.callFunction(r,a,o,n,e)}callFunction(e,t,n,r,i){var a={funcName:e,parser:this,token:r,breakOnTokenText:i},o=Ls[e];if(o&&o.handler)return o.handler(a,t,n);throw new D(`No function handler for `+e)}parseArguments(e,t){var n=t.numArgs+t.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var r=[],i=[],a=0;a<n;a++){var o=t.argTypes&&t.argTypes[a],s=a<t.numOptionalArgs;(`primitive`in t&&t.primitive&&o==null||t.type===`sqrt`&&a===1&&i[0]==null)&&(o=`primitive`);var c=this.parseGroupOfType(`argument to '`+e+`'`,o,s);if(s)i.push(c);else if(c!=null)r.push(c);else throw new D(`Null argument, please report this as a bug`)}return{args:r,optArgs:i}}parseGroupOfType(e,t,n){switch(t){case`color`:return this.parseColorGroup(n);case`size`:return this.parseSizeGroup(n);case`url`:return this.parseUrlGroup(n);case`math`:case`text`:return this.parseArgumentGroup(n,t);case`hbox`:var r=this.parseArgumentGroup(n,`text`);return r==null?null:{type:`styling`,mode:r.mode,body:[r],style:`text`,resetFont:!0};case`raw`:var i=this.parseStringGroup(`raw`,n);return i==null?null:{type:`raw`,mode:`text`,string:i.text};case`primitive`:if(n)throw new D(`A primitive argument cannot be optional`);var a=this.parseGroup(e);if(a==null)throw new D(`Expected group as `+e,this.fetch());return a;case`original`:case null:case void 0:return this.parseArgumentGroup(n);default:throw new D(`Unknown group type as `+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===` `;)this.consume()}parseStringGroup(e,t){var n=this.gullet.scanArgument(t);if(n==null)return null;for(var r=``,i;(i=this.fetch()).text!==`EOF`;)r+=i.text,this.consume();return this.consume(),n.text=r,n}parseRegexGroup(e,t){for(var n=this.fetch(),r=n,i=``,a;(a=this.fetch()).text!==`EOF`&&e.test(i+a.text);)r=a,i+=r.text,this.consume();if(i===``)throw new D(`Invalid `+t+`: '`+n.text+`'`,n);return n.range(r,i)}parseColorGroup(e){var t=this.parseStringGroup(`color`,e);if(t==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new D(`Invalid color: '`+t.text+`'`,t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r=`#`+r),{type:`color-token`,mode:this.mode,color:r}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),t=!e&&this.gullet.future().text!==`{`?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,`size`):this.parseStringGroup(`size`,e),!t)return null;!e&&t.text.length===0&&(t.text=`0pt`,n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new D(`Invalid size: '`+t.text+`'`,t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!nr(i))throw new D(`Invalid unit: '`+i.unit+`'`,t);return{type:`size`,mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode(`%`,13),this.gullet.lexer.setCatcode(`~`,12);var t=this.parseStringGroup(`url`,e);if(this.gullet.lexer.setCatcode(`%`,14),this.gullet.lexer.setCatcode(`~`,13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,`$1`);return{type:`url`,mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(n==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,`EOF`);this.expect(`EOF`),this.gullet.endGroup();var a={type:`ordgroup`,mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a}parseGroup(e,t){var n=this.fetch(),r=n.text,i;if(r===`{`||r===`\\begingroup`){this.consume();var a=r===`{`?`}`:`\\endgroup`;this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:`ordgroup`,mode:this.mode,loc:Ko.range(n,s),body:o,semisimple:r===`\\begingroup`||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&r[0]===`\\`&&!nc.hasOwnProperty(r)){if(this.settings.throwOnError)throw new D(`Undefined control sequence: `+r,n);i=this.formatUnsupportedCmd(r),this.consume()}return i}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n];if(r.type===`textord`){var i=r.text,a=e[n+1];if(a&&a.type===`textord`){if(i===`-`&&a.text===`-`){var o=e[n+2];n+1<t&&o&&o.type===`textord`&&o.text===`-`?(e.splice(n,3,{type:`textord`,mode:`text`,loc:Ko.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:Ko.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:Ko.range(r,a),text:i+i}),--t)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),r=n.charAt(0)===`*`;if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new D(`\\verb assertion failed --
|
|
258
|
-
please report what input caused this bug`);return n=n.slice(1,-1),{type:`verb`,mode:`text`,body:n,star:r}}sc.hasOwnProperty(t[0])&&!Or[this.mode][t[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+t[0]+`" used in math mode`,e),t=sc[t[0]]+t.slice(1));var i=Ws.exec(t);i&&(t=t.substring(0,i.index),t===`i`?t=`ı`:t===`j`&&(t=`ȷ`));var a;if(Or[this.mode][t]){this.settings.strict&&this.mode===`math`&&Qr.includes(t)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+t[0]+`" used in math mode`,e);var o=Or[this.mode][t].group,s=Ko.range(e);a=Ia(o)?{type:`atom`,mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else if(t.charCodeAt(0)>=128)this.settings.strict&&(Rn(t.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+t[0]+`" used in math mode`,e):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+t[0]+`"`+(` (`+t.charCodeAt(0)+`)`),e)),a={type:`textord`,mode:`text`,loc:Ko.range(e),text:t};else return null;if(this.consume(),i)for(var c=0;c<i[0].length;c++){var l=i[0][c];if(!oc[l])throw new D(`Unknown accent ' `+l+`'`,e);var u=oc[l][this.mode]||oc[l].text;if(!u)throw new D(`Accent `+l+` unsupported in `+this.mode+` mode`,e);a={type:`accent`,mode:this.mode,loc:Ko.range(e),label:u,isStretchy:!1,isShifty:!0,base:a}}return a}};cc.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var lc=function(e,t){if(!(typeof e==`string`||e instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var n=new cc(e,t);delete n.gullet.macros.current[`\\df@tag`];var r=n.parse();if(delete n.gullet.macros.current[`\\current@color`],delete n.gullet.macros.current[`\\color`],n.gullet.macros.get(`\\df@tag`)){if(!t.displayMode)throw new D(`\\tag works only in display equations`);r=[{type:`tag`,mode:`text`,body:r,tag:n.subparse([new qo(`\\df@tag`)])}]}return r},uc=function(e,t,n){t.textContent=``;var r=mc(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),uc=function(){throw new D(`KaTeX doesn't work in quirks mode.`)});var dc=function(e,t){return mc(e,t).toMarkup()},fc=function(e,t){return lc(e,new _n(t))},pc=function(e,t,n){if(n.throwOnError||!(e instanceof D))throw e;var r=L([`katex-error`],[new mr(t)]);return r.setAttribute(`title`,e.toString()),r.setAttribute(`style`,`color:`+n.errorColor),r},mc=function(e,t){var n=new _n(t);try{return Ea(lc(e,n),e,n)}catch(t){return pc(t,e,n)}},hc=function(e,t){var n=new _n(t);try{return Da(lc(e,n),e,n)}catch(t){return pc(t,e,n)}},gc=`0.16.47`,_c={Span:ur,Anchor:dr,SymbolNode:mr,SvgNode:hr,PathNode:gr,LineNode:_r},vc={version:gc,render:uc,renderToString:dc,ParseError:D,SETTINGS_SCHEMA:pn,__parse:fc,__renderToDomTree:mc,__renderToHTMLTree:hc,__setFontMetrics:wr,__defineSymbol:k,__defineFunction:R,__defineMacro:B,__domTree:_c},V=t(r(),1),yc=t(c(),1),H=i(),bc=u(e=>{let{securityLevel:t}=me(),n=p(`body`);if(t===`sandbox`){let t=p(`#i${e}`).node()?.contentDocument??document;n=p(t.body)}return n.select(`#${e}`)},`selectSvgElement`);function xc(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function Sc(e){if(e==null)return!0;if(we(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!he(e)&&!Ce(e)&&!Te(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return xc(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var Cc={common:de,getConfig:re,insertCluster:He,insertEdge:Fe,insertEdgeLabel:Ne,insertMarkers:ze,insertNode:je,interpolateToCurve:_e,labelHelper:Oe,log:f,positionEdgeLabel:Pe},wc={},Tc=u(e=>{for(let t of e)wc[t.name]=t},`registerLayoutLoaders`);u(()=>{Tc([{name:`dagre`,loader:u(async()=>await l(()=>import(`./dagre-GXQ25YYZ-gn4nnaln.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url),`loader`)},{name:`swimlane`,loader:u(async()=>await l(()=>import(`./swimlanes-42K2YHIH-f7usu8fw.js`),__vite__mapDeps([32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,31]),import.meta.url),`loader`)},{name:`cose-bilkent`,loader:u(async()=>await l(()=>import(`./cose-bilkent-JH36ORCC-eclcy6ja.js`),__vite__mapDeps([33,3,1,2,34]),import.meta.url),`loader`)}])},`registerDefaultLayoutLoaders`)();var Ec=u(async(e,t)=>{if(!(e.layoutAlgorithm in wc))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=wc[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:c}=a,l=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,c).attr(`stop-opacity`,1)}return r.render(e,t,Cc,{algorithm:n.algorithm})},`render`),Dc=u((e=``,{fallback:t=`dagre`}={})=>{if(e in wc)return e;if(t in wc)return f.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);function Oc(e,{edgePathsClass:t=`edges edgePaths`}={}){let n=e.insert(`g`).attr(`class`,`root`);return{clusters:n.insert(`g`).attr(`class`,`clusters`),edgePaths:n.insert(`g`).attr(`class`,t),edgeLabels:n.insert(`g`).attr(`class`,`edgeLabels`),nodes:n.insert(`g`).attr(`class`,`nodes`),rootGroups:n}}u(Oc,`createLayoutElementGroups`);async function kc(e,t){if(t.label){let{shapeSvg:n,bbox:r}=await Oe(e,t);t.labelBBox={width:r.width,height:r.height},n.remove()}else t.labelBBox={width:0,height:0}}u(kc,`measureGroupLabel`);async function Ac(e,t,n){let r=await je(e,t,n),i=r.node()?.getBBox()??{width:0,height:0};return t.width=i.width,t.height=i.height,r}u(Ac,`insertMeasuredNode`);async function jc(e,t){let n=new Ve({multigraph:!0,compound:!0}),r=[...t.edges],i=me(),a=Oc(e),{edgeLabels:o,nodes:s}=a,c=new Map,u=e.node()!=null;await Promise.all(t.nodes.map(async e=>{if(e.isGroup)u&&await kc(s,e),n.setNode(e.id,{...e});else{if(u){let t=await Ac(s,e,{config:i,dir:e.dir});c.set(e.id,t)}n.setNode(e.id,{...e})}}));for(let e of r)u&&Re(e)&&await Ne(o,e),n.setEdge(e.start,e.end,{...e},e.id),t.edges.some(t=>t.id===e.id)||t.edges.push(e);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:n}=await l(async()=>{let{captureNodeSizes:e}=await import(`./sizeCapture-INFHLROL-g612l48j.js`);return{captureNodeSizes:e}},__vite__mapDeps([35,1]),import.meta.url);n(e,t)}return{graph:n,groups:a,nodeElements:c}}u(jc,`createGraphWithElements`);var Mc=new Map,Nc=new Map,Pc=new Map,Fc=u(()=>{Nc.clear(),Pc.clear(),Mc.clear()},`clear`),Ic=u((e,t)=>{let n=Nc.get(t)||[];return f.trace(`In isDescendant`,t,` `,e,` = `,n.includes(e)),n.includes(e)},`isDescendant`),Lc=u((e,t)=>{let n=Nc.get(t)||[];return f.info(`Descendants of `,t,` is `,n),f.info(`Edge is `,e),e.v===t||e.w===t?!1:n?n.includes(e.v)||Ic(e.v,t)||Ic(e.w,t)||n.includes(e.w):(f.debug(`Tilt, `,t,`,not in descendants`),!1)},`edgeInCluster`),Rc=u((e,t,n,r)=>{f.debug(`Copying children of `,e,`root`,r,`data`,t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),f.debug(`Copying (nodes) clusterId`,e,`nodes`,i),i.forEach(i=>{if(t.children(i).length>0)Rc(i,t,n,r);else{let a=t.node(i);f.info(`cp `,i,` to `,r,` with parent `,e),n.setNode(i,a),r!==t.parent(i)&&(f.debug(`Setting parent`,i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(f.debug(`Setting parent`,i,e),n.setParent(i,e)):(f.info(`In copy `,e,`root`,r,`data`,t.node(e),r),f.debug(`Not Setting parent for node=`,i,`cluster!==rootId`,e!==r,`node!==clusterId`,i!==e));let o=t.edges(i);f.debug(`Copying Edges`,o),o.forEach(i=>{f.info(`Edge`,i);let a=t.edge(i.v,i.w,i.name);f.info(`Edge data`,a,r);try{Lc(i,r)?(f.info(`Copying as `,i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),f.info(`newGraph edges `,n.edges(),n.edge(n.edges()[0]))):f.info(`Skipping copy of edge `,i.v,`-->`,i.w,` rootId: `,r,` clusterId:`,e)}catch(e){f.error(e)}})}f.debug(`Removing node`,i),t.removeNode(i)})},`copy`),zc=u((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)Pc.set(i,e),r=[...r,...zc(i,t)];return r},`extractDescendants`),Bc=u((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),Vc=u((e,t,n)=>{let r=t.children(e);if(f.trace(`Searching children of id `,e,r),r.length<1)return e;let i;for(let e of r){let r=Vc(e,t,n),a=Bc(t,n,r);if(r){if(a.length>0)i=r;else return r}}return i},`findNonClusterChild`),Hc=u(e=>!Mc.has(e)||!Mc.get(e).externalConnections?e:Mc.has(e)?Mc.get(e).id:e,`getAnchorId`),Uc=u((e,t)=>{if(!e||t>10){f.debug(`Opting out, no graph `);return}f.debug(`Opting in, graph `),e.nodes().forEach(function(t){e.children(t).length>0&&(f.debug(`Cluster identified`,t,` Replacement id in edges: `,Vc(t,e,t)),Nc.set(t,zc(t,e)),Mc.set(t,{id:Vc(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(f.debug(`Cluster identified`,t,Nc),r.forEach(e=>{Ic(e.v,t)^Ic(e.w,t)&&(f.debug(`Edge: `,e,` leaves cluster `,t),f.debug(`Descendants of XXX `,t,`: `,Nc.get(t)),Mc.get(t).externalConnections=!0)})):f.debug(`Not a cluster `,t,Nc)});for(let t of Mc.keys()){let n=Mc.get(t).id,r=e.parent(n);r!==t&&Mc.has(r)&&!Mc.get(r).externalConnections&&(Mc.get(t).id=r);let i=e.edges().some(e=>e.v===t);if(n&&Mc.get(t)?.externalConnections&&i&&qc(e,n,t)){let r=Jc(e,t,e.parent(n));r&&(Mc.get(t).id=r)}}e.edges().forEach(function(t){let n=e.edge(t);f.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(t)),f.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(f.debug(`Fix XXX`,Mc,`ids:`,t.v,t.w,`Translating: `,Mc.get(t.v),` --- `,Mc.get(t.w)),Mc.get(t.v)||Mc.get(t.w)){if(f.debug(`Fixing and trying - removing XXX`,t.v,t.w,t.name),r=Hc(t.v),i=Hc(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);Mc.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);Mc.get(r).externalConnections=!0,n.toCluster=t.w}f.debug(`Fix Replacing with XXX`,r,i,t.name),e.setEdge(r,i,n,t.name)}}),Wc(e,0),f.trace(Mc)},`adjustClustersAndEdges`),Wc=u((e,t)=>{if(t>10){f.error(`Bailing out`);return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r||=n.length>0}if(!r){f.debug(`Done, no node has children`,e.nodes());return}f.debug(`Nodes = `,n,t);for(let r of n)if(f.debug(`Extracting node`,r,Mc,Mc.has(r)&&!Mc.get(r).externalConnections,!e.parent(r),e.node(r),e.children(`D`),` Depth `,t),!Mc.has(r))f.debug(`Not a cluster`,r,t);else if(!Mc.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){f.debug(`Cluster without external connections, without a parent and with children`,r,t);let n=e.graph().rankdir===`TB`?`LR`:`TB`;Mc.get(r)?.clusterData?.dir&&(n=Mc.get(r).clusterData.dir,f.debug(`Fixing dir`,Mc.get(r).clusterData.dir,n));let i=new Ve({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Rc(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:Mc.get(r).clusterData,label:Mc.get(r).label,graph:i})}else f.debug(`Cluster ** `,r,` **not meeting the criteria !externalConnections:`,!Mc.get(r).externalConnections,` no parent: `,!e.parent(r),` children `,e.children(r)&&e.children(r).length>0,e.children(`D`),t),f.debug(Mc);n=e.nodes(),f.debug(`New list of nodes`,n);for(let r of n){let n=e.node(r);f.debug(` Now next level`,r,n),n?.clusterNode&&Wc(n.graph,t+1)}},`extractor`),Gc=u((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=Gc(e,e.children(t));n=[...n,...r]}),n},`sorter`),Kc=u(e=>Gc(e,e.children()),`sortNodesByHierarchy`),qc=u((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=Mc.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},`isNodeInExtractableCluster`),Jc=u((e,t,n)=>{let r=e.children(t)??[];for(let i of r){if(i===n||Ic(i,n))continue;let r=Vc(i,e,t);if(r&&!qc(e,r,t))return r}return null},`findSafeAnchorNode`);function Yc({prepareLayout:e,measureLayout:t,runLayoutCore:n,paintLayout:r,afterPaint:i,paintOptions:a}){let o=t??Zc;return u(async function(t,s,c,l){let u=s.select(`g`);(c?.insertMarkers??ze)(u,t.markers,t.type,t.diagramId),Xc();let d={element:u,helpers:c,options:l};d.preparedLayout=await e?.(t,d);let f=await o(t,d),p=await n(t,d),m={...d,measure:f};r?await r(t,m,p):await Qc(t,m,a),await i?.(t,m,p)},`render`)}u(Yc,`createCommonLayoutRenderer`);function Xc(){Me(),Be(),Ue(),Fc()}u(Xc,`clearLayoutRenderState`);async function Zc(e,{element:t}){return await jc(t,e)}u(Zc,`defaultMeasureLayout`);async function Qc(e,t,n={}){let{measure:r}=t,{groups:i}=r;for(let r of n.getNodes?.(e,t)??e.nodes)n.skipNode?.(r,t)||await $c(i,r,t,n);let a=tl(e.nodes);for(let r of e.edges)nl(r,n)||await rl(i,r,a,e,n,t)}u(Qc,`paintLayoutData`);async function $c(e,t,n,r){t.clusterNode?ke(t):el(t,n,r)?await He(e.clusters,t):ke(t)}u($c,`paintLayoutNode`);function el(e,t,n){return e.isGroup===!0&&(n.isCluster?.(e,t)??!0)}u(el,`shouldPaintAsCluster`);function tl(e){let t=new Map;for(let n of e)n?.id&&t.set(n.id,n);return t}u(tl,`buildNodeLookup`);function nl(e,t){return e.isLayoutOnly||!!t.skipEdge?.(e)}u(nl,`shouldSkipPaintEdge`);async function rl(e,t,n,r,i,a){let o=Fe(e.edgePaths,{...t},i.clusterDb??new Map,r.type,il(t.start,t,n,a,i),il(t.end,t,n,a,i),r.diagramId,al(t,i));Re(t)&&(Le.has(t.id)||await Ne(e.edgeLabels,t),ol(t,o))}u(rl,`paintLayoutEdge`);function il(e,t,n,r,i){return i.getEdgeNode?.(e,t,r)??(e?n.get(e)??{}:{})}u(il,`getRenderedNode`);function al(e,t){return typeof t.skipIntersect==`function`?t.skipIntersect(e):t.skipIntersect??!1}u(al,`shouldSkipIntersect`);function ol(e,t){let n=t?.updatedPath??t?.originalPath,r=re(),{subGraphTitleTotalMargin:i}=Ae({flowchart:r.flowchart??{}});if(e.label){let r=Le.get(e.id),a=e.x,o=e.y;if(n){let r=ye.calcLabelPosition(n);f.debug(`Moving label `+e.label+` from (`,a,`,`,o,`) to (`,r.x,`,`,r.y,`) abc88`),t?.updatedPath&&(a=r.x,o=r.y)}r.attr(`transform`,`translate(${a}, ${o+i/2})`)}if(e?.startLabelLeft){let t=Ie.get(e.id).startLeft,r=e?.x,i=e?.y;if(n){let t=ye.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=Ie.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=ye.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=Ie.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=ye.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=Ie.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=ye.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}}u(ol,`positionRenderedEdgeLabel`);function sl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}u(sl,`getDefaultExportFromCjs`);var cl={},ll={},ul={},dl;function fl(){if(dl)return ul;dl=1;function e(e){return e==null}u(e,`isNothing`);function t(e){return typeof e==`object`&&!!e}u(t,`isObject`);function n(t){return Array.isArray(t)?t:e(t)?[]:[t]}u(n,`toArray`);function r(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}u(r,`extend`);function i(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}u(i,`repeat`);function a(e){return e===0&&1/e==-1/0}return u(a,`isNegativeZero`),ul.isNothing=e,ul.isObject=t,ul.toArray=n,ul.repeat=i,ul.isNegativeZero=a,ul.extend=r,ul}u(fl,`requireCommon`);var pl,ml;function hl(){if(ml)return pl;ml=1;function e(e,t){let n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
|
|
258
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:`verb`,mode:`text`,body:n,star:r}}sc.hasOwnProperty(t[0])&&!Or[this.mode][t[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+t[0]+`" used in math mode`,e),t=sc[t[0]]+t.slice(1));var i=Ws.exec(t);i&&(t=t.substring(0,i.index),t===`i`?t=`ı`:t===`j`&&(t=`ȷ`));var a;if(Or[this.mode][t]){this.settings.strict&&this.mode===`math`&&Qr.includes(t)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+t[0]+`" used in math mode`,e);var o=Or[this.mode][t].group,s=Ko.range(e);a=Ia(o)?{type:`atom`,mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else if(t.charCodeAt(0)>=128)this.settings.strict&&(Rn(t.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+t[0]+`" used in math mode`,e):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+t[0]+`"`+(` (`+t.charCodeAt(0)+`)`),e)),a={type:`textord`,mode:`text`,loc:Ko.range(e),text:t};else return null;if(this.consume(),i)for(var c=0;c<i[0].length;c++){var l=i[0][c];if(!oc[l])throw new D(`Unknown accent ' `+l+`'`,e);var u=oc[l][this.mode]||oc[l].text;if(!u)throw new D(`Accent `+l+` unsupported in `+this.mode+` mode`,e);a={type:`accent`,mode:this.mode,loc:Ko.range(e),label:u,isStretchy:!1,isShifty:!0,base:a}}return a}};cc.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var lc=function(e,t){if(!(typeof e==`string`||e instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var n=new cc(e,t);delete n.gullet.macros.current[`\\df@tag`];var r=n.parse();if(delete n.gullet.macros.current[`\\current@color`],delete n.gullet.macros.current[`\\color`],n.gullet.macros.get(`\\df@tag`)){if(!t.displayMode)throw new D(`\\tag works only in display equations`);r=[{type:`tag`,mode:`text`,body:r,tag:n.subparse([new qo(`\\df@tag`)])}]}return r},uc=function(e,t,n){t.textContent=``;var r=mc(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),uc=function(){throw new D(`KaTeX doesn't work in quirks mode.`)});var dc=function(e,t){return mc(e,t).toMarkup()},fc=function(e,t){return lc(e,new _n(t))},pc=function(e,t,n){if(n.throwOnError||!(e instanceof D))throw e;var r=L([`katex-error`],[new mr(t)]);return r.setAttribute(`title`,e.toString()),r.setAttribute(`style`,`color:`+n.errorColor),r},mc=function(e,t){var n=new _n(t);try{return Ea(lc(e,n),e,n)}catch(t){return pc(t,e,n)}},hc=function(e,t){var n=new _n(t);try{return Da(lc(e,n),e,n)}catch(t){return pc(t,e,n)}},gc=`0.16.47`,_c={Span:ur,Anchor:dr,SymbolNode:mr,SvgNode:hr,PathNode:gr,LineNode:_r},vc={version:gc,render:uc,renderToString:dc,ParseError:D,SETTINGS_SCHEMA:pn,__parse:fc,__renderToDomTree:mc,__renderToHTMLTree:hc,__setFontMetrics:wr,__defineSymbol:k,__defineFunction:R,__defineMacro:B,__domTree:_c},V=t(r(),1),yc=t(l(),1),H=i(),bc=d(e=>{let{securityLevel:t}=he(),n=m(`body`);if(t===`sandbox`){let t=m(`#i${e}`).node()?.contentDocument??document;n=m(t.body)}return n.select(`#${e}`)},`selectSvgElement`);function xc(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function Sc(e){if(e==null)return!0;if(Te(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!ge(e)&&!we(e)&&!Ee(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return xc(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var Cc={common:fe,getConfig:ie,insertCluster:Ue,insertEdge:Ie,insertEdgeLabel:Pe,insertMarkers:Be,insertNode:Me,interpolateToCurve:ve,labelHelper:ke,log:p,positionEdgeLabel:Fe},wc={},Tc=d(e=>{for(let t of e)wc[t.name]=t},`registerLayoutLoaders`);d(()=>{Tc([{name:`dagre`,loader:d(async()=>await u(()=>import(`./dagre-GXQ25YYZ-cqdbf7dr.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]),import.meta.url),`loader`)},{name:`swimlane`,loader:d(async()=>await u(()=>import(`./swimlanes-42K2YHIH-esola70w.js`),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29]),import.meta.url),`loader`)},{name:`cose-bilkent`,loader:d(async()=>await u(()=>import(`./cose-bilkent-JH36ORCC-eclcy6ja.js`),__vite__mapDeps([31,3,1,2,32]),import.meta.url),`loader`)}])},`registerDefaultLayoutLoaders`)();var Ec=d(async(e,t)=>{if(!(e.layoutAlgorithm in wc))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=wc[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:c}=a,l=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,c).attr(`stop-opacity`,1)}return r.render(e,t,Cc,{algorithm:n.algorithm})},`render`),Dc=d((e=``,{fallback:t=`dagre`}={})=>{if(e in wc)return e;if(t in wc)return p.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);function Oc(e,{edgePathsClass:t=`edges edgePaths`}={}){let n=e.insert(`g`).attr(`class`,`root`);return{clusters:n.insert(`g`).attr(`class`,`clusters`),edgePaths:n.insert(`g`).attr(`class`,t),edgeLabels:n.insert(`g`).attr(`class`,`edgeLabels`),nodes:n.insert(`g`).attr(`class`,`nodes`),rootGroups:n}}d(Oc,`createLayoutElementGroups`);async function kc(e,t){if(t.label){let{shapeSvg:n,bbox:r}=await ke(e,t);t.labelBBox={width:r.width,height:r.height},n.remove()}else t.labelBBox={width:0,height:0}}d(kc,`measureGroupLabel`);async function Ac(e,t,n){let r=await Me(e,t,n),i=r.node()?.getBBox()??{width:0,height:0};return t.width=i.width,t.height=i.height,r}d(Ac,`insertMeasuredNode`);async function jc(e,t){let n=new He({multigraph:!0,compound:!0}),r=[...t.edges],i=he(),a=Oc(e),{edgeLabels:o,nodes:s}=a,c=new Map,l=e.node()!=null;await Promise.all(t.nodes.map(async e=>{if(e.isGroup)l&&await kc(s,e),n.setNode(e.id,{...e});else{if(l){let t=await Ac(s,e,{config:i,dir:e.dir});c.set(e.id,t)}n.setNode(e.id,{...e})}}));for(let e of r)l&&ze(e)&&await Pe(o,e),n.setEdge(e.start,e.end,{...e},e.id),t.edges.some(t=>t.id===e.id)||t.edges.push(e);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:n}=await u(async()=>{let{captureNodeSizes:e}=await import(`./sizeCapture-INFHLROL-g612l48j.js`);return{captureNodeSizes:e}},__vite__mapDeps([33,1]),import.meta.url);n(e,t)}return{graph:n,groups:a,nodeElements:c}}d(jc,`createGraphWithElements`);var Mc=new Map,Nc=new Map,Pc=new Map,Fc=d(()=>{Nc.clear(),Pc.clear(),Mc.clear()},`clear`),Ic=d((e,t)=>{let n=Nc.get(t)||[];return p.trace(`In isDescendant`,t,` `,e,` = `,n.includes(e)),n.includes(e)},`isDescendant`),Lc=d((e,t)=>{let n=Nc.get(t)||[];return p.info(`Descendants of `,t,` is `,n),p.info(`Edge is `,e),e.v===t||e.w===t?!1:n?n.includes(e.v)||Ic(e.v,t)||Ic(e.w,t)||n.includes(e.w):(p.debug(`Tilt, `,t,`,not in descendants`),!1)},`edgeInCluster`),Rc=d((e,t,n,r)=>{p.debug(`Copying children of `,e,`root`,r,`data`,t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),p.debug(`Copying (nodes) clusterId`,e,`nodes`,i),i.forEach(i=>{if(t.children(i).length>0)Rc(i,t,n,r);else{let a=t.node(i);p.info(`cp `,i,` to `,r,` with parent `,e),n.setNode(i,a),r!==t.parent(i)&&(p.debug(`Setting parent`,i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(p.debug(`Setting parent`,i,e),n.setParent(i,e)):(p.info(`In copy `,e,`root`,r,`data`,t.node(e),r),p.debug(`Not Setting parent for node=`,i,`cluster!==rootId`,e!==r,`node!==clusterId`,i!==e));let o=t.edges(i);p.debug(`Copying Edges`,o),o.forEach(i=>{p.info(`Edge`,i);let a=t.edge(i.v,i.w,i.name);p.info(`Edge data`,a,r);try{Lc(i,r)?(p.info(`Copying as `,i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),p.info(`newGraph edges `,n.edges(),n.edge(n.edges()[0]))):p.info(`Skipping copy of edge `,i.v,`-->`,i.w,` rootId: `,r,` clusterId:`,e)}catch(e){p.error(e)}})}p.debug(`Removing node`,i),t.removeNode(i)})},`copy`),zc=d((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)Pc.set(i,e),r=[...r,...zc(i,t)];return r},`extractDescendants`),Bc=d((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),Vc=d((e,t,n)=>{let r=t.children(e);if(p.trace(`Searching children of id `,e,r),r.length<1)return e;let i;for(let e of r){let r=Vc(e,t,n),a=Bc(t,n,r);if(r){if(a.length>0)i=r;else return r}}return i},`findNonClusterChild`),Hc=d(e=>!Mc.has(e)||!Mc.get(e).externalConnections?e:Mc.has(e)?Mc.get(e).id:e,`getAnchorId`),Uc=d((e,t)=>{if(!e||t>10){p.debug(`Opting out, no graph `);return}p.debug(`Opting in, graph `),e.nodes().forEach(function(t){e.children(t).length>0&&(p.debug(`Cluster identified`,t,` Replacement id in edges: `,Vc(t,e,t)),Nc.set(t,zc(t,e)),Mc.set(t,{id:Vc(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(p.debug(`Cluster identified`,t,Nc),r.forEach(e=>{Ic(e.v,t)^Ic(e.w,t)&&(p.debug(`Edge: `,e,` leaves cluster `,t),p.debug(`Descendants of XXX `,t,`: `,Nc.get(t)),Mc.get(t).externalConnections=!0)})):p.debug(`Not a cluster `,t,Nc)});for(let t of Mc.keys()){let n=Mc.get(t).id,r=e.parent(n);r!==t&&Mc.has(r)&&!Mc.get(r).externalConnections&&(Mc.get(t).id=r);let i=e.edges().some(e=>e.v===t);if(n&&Mc.get(t)?.externalConnections&&i&&qc(e,n,t)){let r=Jc(e,t,e.parent(n));r&&(Mc.get(t).id=r)}}e.edges().forEach(function(t){let n=e.edge(t);p.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(t)),p.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(p.debug(`Fix XXX`,Mc,`ids:`,t.v,t.w,`Translating: `,Mc.get(t.v),` --- `,Mc.get(t.w)),Mc.get(t.v)||Mc.get(t.w)){if(p.debug(`Fixing and trying - removing XXX`,t.v,t.w,t.name),r=Hc(t.v),i=Hc(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);Mc.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);Mc.get(r).externalConnections=!0,n.toCluster=t.w}p.debug(`Fix Replacing with XXX`,r,i,t.name),e.setEdge(r,i,n,t.name)}}),Wc(e,0),p.trace(Mc)},`adjustClustersAndEdges`),Wc=d((e,t)=>{if(t>10){p.error(`Bailing out`);return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r||=n.length>0}if(!r){p.debug(`Done, no node has children`,e.nodes());return}p.debug(`Nodes = `,n,t);for(let r of n)if(p.debug(`Extracting node`,r,Mc,Mc.has(r)&&!Mc.get(r).externalConnections,!e.parent(r),e.node(r),e.children(`D`),` Depth `,t),!Mc.has(r))p.debug(`Not a cluster`,r,t);else if(!Mc.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){p.debug(`Cluster without external connections, without a parent and with children`,r,t);let n=e.graph().rankdir===`TB`?`LR`:`TB`;Mc.get(r)?.clusterData?.dir&&(n=Mc.get(r).clusterData.dir,p.debug(`Fixing dir`,Mc.get(r).clusterData.dir,n));let i=new He({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Rc(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:Mc.get(r).clusterData,label:Mc.get(r).label,graph:i})}else p.debug(`Cluster ** `,r,` **not meeting the criteria !externalConnections:`,!Mc.get(r).externalConnections,` no parent: `,!e.parent(r),` children `,e.children(r)&&e.children(r).length>0,e.children(`D`),t),p.debug(Mc);n=e.nodes(),p.debug(`New list of nodes`,n);for(let r of n){let n=e.node(r);p.debug(` Now next level`,r,n),n?.clusterNode&&Wc(n.graph,t+1)}},`extractor`),Gc=d((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=Gc(e,e.children(t));n=[...n,...r]}),n},`sorter`),Kc=d(e=>Gc(e,e.children()),`sortNodesByHierarchy`),qc=d((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=Mc.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},`isNodeInExtractableCluster`),Jc=d((e,t,n)=>{let r=e.children(t)??[];for(let i of r){if(i===n||Ic(i,n))continue;let r=Vc(i,e,t);if(r&&!qc(e,r,t))return r}return null},`findSafeAnchorNode`);function Yc({prepareLayout:e,measureLayout:t,runLayoutCore:n,paintLayout:r,afterPaint:i,paintOptions:a}){let o=t??Zc;return d(async function(t,s,c,l){let u=s.select(`g`);(c?.insertMarkers??Be)(u,t.markers,t.type,t.diagramId),Xc();let d={element:u,helpers:c,options:l};d.preparedLayout=await e?.(t,d);let f=await o(t,d),p=await n(t,d),m={...d,measure:f};r?await r(t,m,p):await Qc(t,m,a),await i?.(t,m,p)},`render`)}d(Yc,`createCommonLayoutRenderer`);function Xc(){Ne(),Ve(),We(),Fc()}d(Xc,`clearLayoutRenderState`);async function Zc(e,{element:t}){return await jc(t,e)}d(Zc,`defaultMeasureLayout`);async function Qc(e,t,n={}){let{measure:r}=t,{groups:i}=r;for(let r of n.getNodes?.(e,t)??e.nodes)n.skipNode?.(r,t)||await $c(i,r,t,n);let a=tl(e.nodes);for(let r of e.edges)nl(r,n)||await rl(i,r,a,e,n,t)}d(Qc,`paintLayoutData`);async function $c(e,t,n,r){t.clusterNode?Ae(t):el(t,n,r)?await Ue(e.clusters,t):Ae(t)}d($c,`paintLayoutNode`);function el(e,t,n){return e.isGroup===!0&&(n.isCluster?.(e,t)??!0)}d(el,`shouldPaintAsCluster`);function tl(e){let t=new Map;for(let n of e)n?.id&&t.set(n.id,n);return t}d(tl,`buildNodeLookup`);function nl(e,t){return e.isLayoutOnly||!!t.skipEdge?.(e)}d(nl,`shouldSkipPaintEdge`);async function rl(e,t,n,r,i,a){let o=Ie(e.edgePaths,{...t},i.clusterDb??new Map,r.type,il(t.start,t,n,a,i),il(t.end,t,n,a,i),r.diagramId,al(t,i));ze(t)&&(Re.has(t.id)||await Pe(e.edgeLabels,t),ol(t,o))}d(rl,`paintLayoutEdge`);function il(e,t,n,r,i){return i.getEdgeNode?.(e,t,r)??(e?n.get(e)??{}:{})}d(il,`getRenderedNode`);function al(e,t){return typeof t.skipIntersect==`function`?t.skipIntersect(e):t.skipIntersect??!1}d(al,`shouldSkipIntersect`);function ol(e,t){let n=t?.updatedPath??t?.originalPath,r=ie(),{subGraphTitleTotalMargin:i}=je({flowchart:r.flowchart??{}});if(e.label){let r=Re.get(e.id),a=e.x,o=e.y;if(n){let r=be.calcLabelPosition(n);p.debug(`Moving label `+e.label+` from (`,a,`,`,o,`) to (`,r.x,`,`,r.y,`) abc88`),t?.updatedPath&&(a=r.x,o=r.y)}r.attr(`transform`,`translate(${a}, ${o+i/2})`)}if(e?.startLabelLeft){let t=Le.get(e.id).startLeft,r=e?.x,i=e?.y;if(n){let t=be.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=Le.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=be.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=Le.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=be.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=Le.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=be.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}}d(ol,`positionRenderedEdgeLabel`);function sl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}d(sl,`getDefaultExportFromCjs`);var cl={},ll={},ul={},dl;function fl(){if(dl)return ul;dl=1;function e(e){return e==null}d(e,`isNothing`);function t(e){return typeof e==`object`&&!!e}d(t,`isObject`);function n(t){return Array.isArray(t)?t:e(t)?[]:[t]}d(n,`toArray`);function r(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}d(r,`extend`);function i(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}d(i,`repeat`);function a(e){return e===0&&1/e==-1/0}return d(a,`isNegativeZero`),ul.isNothing=e,ul.isObject=t,ul.toArray=n,ul.repeat=i,ul.isNegativeZero=a,ul.extend=r,ul}d(fl,`requireCommon`);var pl,ml;function hl(){if(ml)return pl;ml=1;function e(e,t){let n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
|
|
259
259
|
|
|
260
|
-
`+e.mark.snippet),r+` `+n):r}
|
|
260
|
+
`+e.mark.snippet),r+` `+n):r}d(e,`formatError`);function t(t,n){Error.call(this),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}return d(t,`YAMLException2`),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=d(function(t){return this.name+`: `+e(this,t)},`toString`),pl=t,pl}d(hl,`requireException`);var gl,_l;function vl(){if(_l)return gl;_l=1;let e=fl();function t(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}d(t,`getLine`);function n(t,n){return e.repeat(` `,n-t.length)+t}d(n,`padStart`);function r(r,i){if(i=Object.create(i||null),!r.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!=`number`&&(i.indent=1),typeof i.linesBefore!=`number`&&(i.linesBefore=3),typeof i.linesAfter!=`number`&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,o=[0],s=[],c,l=-1;for(;c=a.exec(r.buffer);)s.push(c.index),o.push(c.index+c[0].length),r.position<=c.index&&l<0&&(l=o.length-2);l<0&&(l=o.length-1);let u=``,d=Math.min(r.line+i.linesAfter,s.length).toString().length,f=i.maxLength-(i.indent+d+3);for(let a=1;a<=i.linesBefore&&!(l-a<0);a++){let c=t(r.buffer,o[l-a],s[l-a],r.position-(o[l]-o[l-a]),f);u=e.repeat(` `,i.indent)+n((r.line-a+1).toString(),d)+` | `+c.str+`
|
|
261
261
|
`+u}let p=t(r.buffer,o[l],s[l],r.position,f);u+=e.repeat(` `,i.indent)+n((r.line+1).toString(),d)+` | `+p.str+`
|
|
262
262
|
`,u+=e.repeat(`-`,i.indent+d+3+p.pos)+`^
|
|
263
263
|
`;for(let a=1;a<=i.linesAfter&&!(l+a>=s.length);a++){let c=t(r.buffer,o[l+a],s[l+a],r.position-(o[l]-o[l+a]),f);u+=e.repeat(` `,i.indent)+n((r.line+a+1).toString(),d)+` | `+c.str+`
|
|
264
|
-
`}return u.replace(/\n$/,``)}return u(r,`makeSnippet`),gl=r,gl}u(vl,`requireSnippet`);var yl,bl;function xl(){if(bl)return yl;bl=1;let e=hl(),t=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],n=[`scalar`,`sequence`,`mapping`];function r(e){let t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}u(r,`compileStyleAliases`);function i(i,a){if(a||={},Object.keys(a).forEach(function(n){if(t.indexOf(n)===-1)throw new e(`Unknown option "`+n+`" is met in definition of "`+i+`" YAML type.`)}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(e){return e},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=r(a.styleAliases||null),n.indexOf(this.kind)===-1)throw new e(`Unknown kind "`+this.kind+`" is specified for "`+i+`" YAML type.`)}return u(i,`Type2`),yl=i,yl}u(xl,`requireType`);var Sl,Cl;function wl(){if(Cl)return Sl;Cl=1;let e=hl(),t=xl();function n(e,t){let n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}u(n,`compileList`);function r(){let e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}u(t,`collectType`);for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}u(r,`compileMap`);function i(e){return this.extend(e)}return u(i,`Schema2`),i.prototype.extend=u(function(a){let o=[],s=[];if(a instanceof t)s.push(a);else if(Array.isArray(a))s=s.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(o=o.concat(a.implicit)),a.explicit&&(s=s.concat(a.explicit));else throw new e(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);o.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(n.loadKind&&n.loadKind!==`scalar`)throw new e(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(n.multi)throw new e(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),s.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});let c=Object.create(i.prototype);return c.implicit=(this.implicit||[]).concat(o),c.explicit=(this.explicit||[]).concat(s),c.compiledImplicit=n(c,`implicit`),c.compiledExplicit=n(c,`explicit`),c.compiledTypeMap=r(c.compiledImplicit,c.compiledExplicit),c},`extend`),Sl=i,Sl}u(wl,`requireSchema`);var Tl,El;function Dl(){return El?Tl:(El=1,Tl=new(xl())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:u(function(e){return e===null?``:e},`construct`)}),Tl)}u(Dl,`requireStr`);var Ol,kl;function Al(){return kl?Ol:(kl=1,Ol=new(xl())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:u(function(e){return e===null?[]:e},`construct`)}),Ol)}u(Al,`requireSeq`);var jl,Ml;function Nl(){return Ml?jl:(Ml=1,jl=new(xl())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:u(function(e){return e===null?{}:e},`construct`)}),jl)}u(Nl,`requireMap`);var Pl,Fl;function Il(){return Fl?Pl:(Fl=1,Pl=new(wl())({explicit:[Dl(),Al(),Nl()]}),Pl)}u(Il,`requireFailsafe`);var Ll,Rl;function zl(){if(Rl)return Ll;Rl=1;let e=xl();function t(e){if(e===null)return!0;let t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}u(t,`resolveYamlNull`);function n(){return null}u(n,`constructYamlNull`);function r(e){return e===null}return u(r,`isNull`),Ll=new e(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{canonical:u(function(){return`~`},`canonical`),lowercase:u(function(){return`null`},`lowercase`),uppercase:u(function(){return`NULL`},`uppercase`),camelcase:u(function(){return`Null`},`camelcase`),empty:u(function(){return``},`empty`)},defaultStyle:`lowercase`}),Ll}u(zl,`require_null`);var Bl,Vl;function Hl(){if(Vl)return Bl;Vl=1;let e=xl();function t(e){if(e===null)return!1;let t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}u(t,`resolveYamlBoolean`);function n(e){return e===`true`||e===`True`||e===`TRUE`}u(n,`constructYamlBoolean`);function r(e){return Object.prototype.toString.call(e)===`[object Boolean]`}return u(r,`isBoolean`),Bl=new e(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{lowercase:u(function(e){return e?`true`:`false`},`lowercase`),uppercase:u(function(e){return e?`TRUE`:`FALSE`},`uppercase`),camelcase:u(function(e){return e?`True`:`False`},`camelcase`)},defaultStyle:`lowercase`}),Bl}u(Hl,`requireBool`);var Ul,Wl;function Gl(){if(Wl)return Ul;Wl=1;let e=fl(),t=xl();function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}u(n,`isHexCode`);function r(e){return e>=48&&e<=55}u(r,`isOctCode`);function i(e){return e>=48&&e<=57}u(i,`isDecCode`);function a(e){if(e===null)return!1;let t=e.length,a=0,s=!1;if(!t)return!1;let c=e[a];if((c===`-`||c===`+`)&&(c=e[++a]),c===`0`){if(a+1===t)return!0;if(c=e[++a],c===`b`){for(a++;a<t;a++){if(c=e[a],c!==`0`&&c!==`1`)return!1;s=!0}return s&&isFinite(o(e))}if(c===`x`){for(a++;a<t;a++){if(!n(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}if(c===`o`){for(a++;a<t;a++){if(!r(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}}for(;a<t;a++){if(!i(e.charCodeAt(a)))return!1;s=!0}return s?isFinite(o(e)):!1}u(a,`resolveYamlInteger`);function o(e){let t=e,n=1,r=t[0];if((r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}u(o,`parseYamlInteger`);function s(e){return o(e)}u(s,`constructYamlInteger`);function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&t%1==0&&!e.isNegativeZero(t)}return u(c,`isInteger`),Ul=new t(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:a,construct:s,predicate:c,represent:{binary:u(function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},`binary`),octal:u(function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},`octal`),decimal:u(function(e){return e.toString(10)},`decimal`),hexadecimal:u(function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)},`hexadecimal`)},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),Ul}u(Gl,`requireInt`);var Kl,ql;function Jl(){if(ql)return Kl;ql=1;let e=fl(),t=xl(),n=RegExp(`^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),r=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function i(e){return e===null||!n.test(e)?!1:isFinite(parseFloat(e,10))?!0:r.test(e)}u(i,`resolveYamlFloat`);function a(e){let t=e.toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}u(a,`constructYamlFloat`);let o=/^[-+]?[0-9]+e/;function s(t,n){if(isNaN(t))switch(n){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(t===1/0)switch(n){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(t===-1/0)switch(n){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(e.isNegativeZero(t))return`-0.0`;let r=t.toString(10);return o.test(r)?r.replace(`e`,`.e`):r}u(s,`representYamlFloat`);function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&(t%1!=0||e.isNegativeZero(t))}return u(c,`isFloat`),Kl=new t(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:i,construct:a,predicate:c,represent:s,defaultStyle:`lowercase`}),Kl}u(Jl,`requireFloat`);var Yl,Xl;function Zl(){return Xl?Yl:(Xl=1,Yl=Il().extend({implicit:[zl(),Hl(),Gl(),Jl()]}),Yl)}u(Zl,`requireJson`);var Ql,$l;function eu(){return $l?Ql:($l=1,Ql=Zl(),Ql)}u(eu,`requireCore`);var tu,nu;function ru(){if(nu)return tu;nu=1;let e=xl(),t=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),n=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function r(e){return e===null?!1:t.exec(e)!==null||n.exec(e)!==null}u(r,`resolveYamlTimestamp`);function i(e){let r=0,i=null,a=t.exec(e);if(a===null&&(a=n.exec(e)),a===null)throw Error(`Date resolve error`);let o=+a[1],s=a[2]-1,c=+a[3];if(!a[4])return new Date(Date.UTC(o,s,c));let l=+a[4],u=+a[5],d=+a[6];if(a[7]){for(r=a[7].slice(0,3);r.length<3;)r+=`0`;r=+r}if(a[9]){let e=+a[10],t=+(a[11]||0);i=(e*60+t)*6e4,a[9]===`-`&&(i=-i)}let f=new Date(Date.UTC(o,s,c,l,u,d,r));return i&&f.setTime(f.getTime()-i),f}u(i,`constructYamlTimestamp`);function a(e){return e.toISOString()}return u(a,`representYamlTimestamp`),tu=new e(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:r,construct:i,instanceOf:Date,represent:a}),tu}u(ru,`requireTimestamp`);var iu,au;function ou(){if(au)return iu;au=1;let e=xl();function t(e){return e===`<<`||e===null}return u(t,`resolveYamlMerge`),iu=new e(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:t}),iu}u(ou,`requireMerge`);var su,cu;function lu(){if(cu)return su;cu=1;let e=xl();function t(e){if(e===null)return!1;let t=0,n=e.length;for(let r=0;r<n;r++){let n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
265
|
-
\r`.indexOf(e.charAt(r));if(!(n>64)){if(n<0)return!1;t+=6}}return t%8==0}
|
|
266
|
-
\r`.indexOf(t.charAt(e));let a=n%4*6;return a===0?(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)):a===18?(i.push(r>>10&255),i.push(r>>2&255)):a===12&&i.push(r>>4&255),new Uint8Array(i)}
|
|
267
|
-
\r`;for(let a=0;a<r;a++)a%3==0&&a&&(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[a];let a=r%3;return a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}
|
|
268
|
-
`;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`
`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}
|
|
269
|
-
`,n-1))}
|
|
264
|
+
`}return u.replace(/\n$/,``)}return d(r,`makeSnippet`),gl=r,gl}d(vl,`requireSnippet`);var yl,bl;function xl(){if(bl)return yl;bl=1;let e=hl(),t=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],n=[`scalar`,`sequence`,`mapping`];function r(e){let t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}d(r,`compileStyleAliases`);function i(i,a){if(a||={},Object.keys(a).forEach(function(n){if(t.indexOf(n)===-1)throw new e(`Unknown option "`+n+`" is met in definition of "`+i+`" YAML type.`)}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(e){return e},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=r(a.styleAliases||null),n.indexOf(this.kind)===-1)throw new e(`Unknown kind "`+this.kind+`" is specified for "`+i+`" YAML type.`)}return d(i,`Type2`),yl=i,yl}d(xl,`requireType`);var Sl,Cl;function wl(){if(Cl)return Sl;Cl=1;let e=hl(),t=xl();function n(e,t){let n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}d(n,`compileList`);function r(){let e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}d(t,`collectType`);for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}d(r,`compileMap`);function i(e){return this.extend(e)}return d(i,`Schema2`),i.prototype.extend=d(function(a){let o=[],s=[];if(a instanceof t)s.push(a);else if(Array.isArray(a))s=s.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(o=o.concat(a.implicit)),a.explicit&&(s=s.concat(a.explicit));else throw new e(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);o.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(n.loadKind&&n.loadKind!==`scalar`)throw new e(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(n.multi)throw new e(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),s.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});let c=Object.create(i.prototype);return c.implicit=(this.implicit||[]).concat(o),c.explicit=(this.explicit||[]).concat(s),c.compiledImplicit=n(c,`implicit`),c.compiledExplicit=n(c,`explicit`),c.compiledTypeMap=r(c.compiledImplicit,c.compiledExplicit),c},`extend`),Sl=i,Sl}d(wl,`requireSchema`);var Tl,El;function Dl(){return El?Tl:(El=1,Tl=new(xl())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:d(function(e){return e===null?``:e},`construct`)}),Tl)}d(Dl,`requireStr`);var Ol,kl;function Al(){return kl?Ol:(kl=1,Ol=new(xl())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:d(function(e){return e===null?[]:e},`construct`)}),Ol)}d(Al,`requireSeq`);var jl,Ml;function Nl(){return Ml?jl:(Ml=1,jl=new(xl())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:d(function(e){return e===null?{}:e},`construct`)}),jl)}d(Nl,`requireMap`);var Pl,Fl;function Il(){return Fl?Pl:(Fl=1,Pl=new(wl())({explicit:[Dl(),Al(),Nl()]}),Pl)}d(Il,`requireFailsafe`);var Ll,Rl;function zl(){if(Rl)return Ll;Rl=1;let e=xl();function t(e){if(e===null)return!0;let t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}d(t,`resolveYamlNull`);function n(){return null}d(n,`constructYamlNull`);function r(e){return e===null}return d(r,`isNull`),Ll=new e(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{canonical:d(function(){return`~`},`canonical`),lowercase:d(function(){return`null`},`lowercase`),uppercase:d(function(){return`NULL`},`uppercase`),camelcase:d(function(){return`Null`},`camelcase`),empty:d(function(){return``},`empty`)},defaultStyle:`lowercase`}),Ll}d(zl,`require_null`);var Bl,Vl;function Hl(){if(Vl)return Bl;Vl=1;let e=xl();function t(e){if(e===null)return!1;let t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}d(t,`resolveYamlBoolean`);function n(e){return e===`true`||e===`True`||e===`TRUE`}d(n,`constructYamlBoolean`);function r(e){return Object.prototype.toString.call(e)===`[object Boolean]`}return d(r,`isBoolean`),Bl=new e(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{lowercase:d(function(e){return e?`true`:`false`},`lowercase`),uppercase:d(function(e){return e?`TRUE`:`FALSE`},`uppercase`),camelcase:d(function(e){return e?`True`:`False`},`camelcase`)},defaultStyle:`lowercase`}),Bl}d(Hl,`requireBool`);var Ul,Wl;function Gl(){if(Wl)return Ul;Wl=1;let e=fl(),t=xl();function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}d(n,`isHexCode`);function r(e){return e>=48&&e<=55}d(r,`isOctCode`);function i(e){return e>=48&&e<=57}d(i,`isDecCode`);function a(e){if(e===null)return!1;let t=e.length,a=0,s=!1;if(!t)return!1;let c=e[a];if((c===`-`||c===`+`)&&(c=e[++a]),c===`0`){if(a+1===t)return!0;if(c=e[++a],c===`b`){for(a++;a<t;a++){if(c=e[a],c!==`0`&&c!==`1`)return!1;s=!0}return s&&isFinite(o(e))}if(c===`x`){for(a++;a<t;a++){if(!n(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}if(c===`o`){for(a++;a<t;a++){if(!r(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}}for(;a<t;a++){if(!i(e.charCodeAt(a)))return!1;s=!0}return s?isFinite(o(e)):!1}d(a,`resolveYamlInteger`);function o(e){let t=e,n=1,r=t[0];if((r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}d(o,`parseYamlInteger`);function s(e){return o(e)}d(s,`constructYamlInteger`);function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&t%1==0&&!e.isNegativeZero(t)}return d(c,`isInteger`),Ul=new t(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:a,construct:s,predicate:c,represent:{binary:d(function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},`binary`),octal:d(function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},`octal`),decimal:d(function(e){return e.toString(10)},`decimal`),hexadecimal:d(function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)},`hexadecimal`)},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),Ul}d(Gl,`requireInt`);var Kl,ql;function Jl(){if(ql)return Kl;ql=1;let e=fl(),t=xl(),n=RegExp(`^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),r=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function i(e){return e===null||!n.test(e)?!1:isFinite(parseFloat(e,10))?!0:r.test(e)}d(i,`resolveYamlFloat`);function a(e){let t=e.toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}d(a,`constructYamlFloat`);let o=/^[-+]?[0-9]+e/;function s(t,n){if(isNaN(t))switch(n){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(t===1/0)switch(n){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(t===-1/0)switch(n){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(e.isNegativeZero(t))return`-0.0`;let r=t.toString(10);return o.test(r)?r.replace(`e`,`.e`):r}d(s,`representYamlFloat`);function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&(t%1!=0||e.isNegativeZero(t))}return d(c,`isFloat`),Kl=new t(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:i,construct:a,predicate:c,represent:s,defaultStyle:`lowercase`}),Kl}d(Jl,`requireFloat`);var Yl,Xl;function Zl(){return Xl?Yl:(Xl=1,Yl=Il().extend({implicit:[zl(),Hl(),Gl(),Jl()]}),Yl)}d(Zl,`requireJson`);var Ql,$l;function eu(){return $l?Ql:($l=1,Ql=Zl(),Ql)}d(eu,`requireCore`);var tu,nu;function ru(){if(nu)return tu;nu=1;let e=xl(),t=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),n=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function r(e){return e===null?!1:t.exec(e)!==null||n.exec(e)!==null}d(r,`resolveYamlTimestamp`);function i(e){let r=0,i=null,a=t.exec(e);if(a===null&&(a=n.exec(e)),a===null)throw Error(`Date resolve error`);let o=+a[1],s=a[2]-1,c=+a[3];if(!a[4])return new Date(Date.UTC(o,s,c));let l=+a[4],u=+a[5],d=+a[6];if(a[7]){for(r=a[7].slice(0,3);r.length<3;)r+=`0`;r=+r}if(a[9]){let e=+a[10],t=+(a[11]||0);i=(e*60+t)*6e4,a[9]===`-`&&(i=-i)}let f=new Date(Date.UTC(o,s,c,l,u,d,r));return i&&f.setTime(f.getTime()-i),f}d(i,`constructYamlTimestamp`);function a(e){return e.toISOString()}return d(a,`representYamlTimestamp`),tu=new e(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:r,construct:i,instanceOf:Date,represent:a}),tu}d(ru,`requireTimestamp`);var iu,au;function ou(){if(au)return iu;au=1;let e=xl();function t(e){return e===`<<`||e===null}return d(t,`resolveYamlMerge`),iu=new e(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:t}),iu}d(ou,`requireMerge`);var su,cu;function lu(){if(cu)return su;cu=1;let e=xl();function t(e){if(e===null)return!1;let t=0,n=e.length;for(let r=0;r<n;r++){let n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
265
|
+
\r`.indexOf(e.charAt(r));if(!(n>64)){if(n<0)return!1;t+=6}}return t%8==0}d(t,`resolveYamlBinary`);function n(e){let t=e.replace(/[\r\n=]/g,``),n=t.length,r=0,i=[];for(let e=0;e<n;e++)e%4==0&&e&&(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)),r=r<<6|`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
266
|
+
\r`.indexOf(t.charAt(e));let a=n%4*6;return a===0?(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)):a===18?(i.push(r>>10&255),i.push(r>>2&255)):a===12&&i.push(r>>4&255),new Uint8Array(i)}d(n,`constructYamlBinary`);function r(e){let t=``,n=0,r=e.length,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
267
|
+
\r`;for(let a=0;a<r;a++)a%3==0&&a&&(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[a];let a=r%3;return a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}d(r,`representYamlBinary`);function i(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}return d(i,`isBinary`),su=new e(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:t,construct:n,predicate:i,represent:r}),su}d(lu,`requireBinary`);var uu,du;function fu(){if(du)return uu;du=1;let e=xl(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(e){if(e===null)return!0;let r=[],i=e;for(let e=0,a=i.length;e<a;e+=1){let a=i[e],o=!1;if(n.call(a)!==`[object Object]`)return!1;let s;for(s in a)if(t.call(a,s)){if(!o)o=!0;else return!1}if(!o)return!1;if(r.indexOf(s)===-1)r.push(s);else return!1}return!0}d(r,`resolveYamlOmap`);function i(e){return e===null?[]:e}return d(i,`constructYamlOmap`),uu=new e(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:r,construct:i}),uu}d(fu,`requireOmap`);var pu,mu;function hu(){if(mu)return pu;mu=1;let e=xl(),t=Object.prototype.toString;function n(e){if(e===null)return!0;let n=e,r=Array(n.length);for(let e=0,i=n.length;e<i;e+=1){let i=n[e];if(t.call(i)!==`[object Object]`)return!1;let a=Object.keys(i);if(a.length!==1)return!1;r[e]=[a[0],i[a[0]]]}return!0}d(n,`resolveYamlPairs`);function r(e){if(e===null)return[];let t=e,n=Array(t.length);for(let e=0,r=t.length;e<r;e+=1){let r=t[e],i=Object.keys(r);n[e]=[i[0],r[i[0]]]}return n}return d(r,`constructYamlPairs`),pu=new e(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:n,construct:r}),pu}d(hu,`requirePairs`);var gu,_u;function vu(){if(_u)return gu;_u=1;let e=xl(),t=Object.prototype.hasOwnProperty;function n(e){if(e===null)return!0;let n=e;for(let e in n)if(t.call(n,e)&&n[e]!==null)return!1;return!0}d(n,`resolveYamlSet`);function r(e){return e===null?{}:e}return d(r,`constructYamlSet`),gu=new e(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:n,construct:r}),gu}d(vu,`requireSet`);var yu,bu;function xu(){return bu?yu:(bu=1,yu=eu().extend({implicit:[ru(),ou()],explicit:[lu(),fu(),hu(),vu()]}),yu)}d(xu,`require_default`);var Su;function Cu(){if(Su)return ll;Su=1;let e=fl(),t=hl(),n=vl(),r=xu(),i=Object.prototype.hasOwnProperty,a=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,s=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,l=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}d(u,`_class`);function f(e){return e===10||e===13}d(f,`isEol`);function p(e){return e===9||e===32}d(p,`isWhiteSpace`);function m(e){return e===9||e===32||e===10||e===13}d(m,`isWsOrEol`);function h(e){return e===44||e===91||e===93||e===123||e===125}d(h,`isFlowIndicator`);function g(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}d(g,`fromHexCode`);function _(e){return e===120?2:e===117?4:e===85?8:0}d(_,`escapedHexLen`);function v(e){return e>=48&&e<=57?e-48:-1}d(v,`fromDecimalCode`);function y(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
|
|
268
|
+
`;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`
`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}d(y,`simpleEscapeSequence`);function b(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}d(b,`charFromCodepoint`);function ee(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}d(ee,`setProperty`);let x=Array(256),S=Array(256);for(let e=0;e<256;e++)x[e]=+!!y(e),S[e]=y(e);function C(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||r,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth=typeof t.maxDepth==`number`?t.maxDepth:100,this.maxTotalMergeKeys=typeof t.maxTotalMergeKeys==`number`?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}d(C,`State`);function w(e,r){let i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=n(i),new t(r,i)}d(w,`generateError`);function T(e,t){throw w(e,t)}d(T,`throwError`);function te(e,t){e.onWarning&&e.onWarning.call(null,w(e,t))}d(te,`throwWarning`);function ne(e,t,n){let r=e.anchorMapTransactions;if(r.length!==0){let n=r[r.length-1];i.call(n,t)||(n[t]={existed:i.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}d(ne,`storeAnchor`);function re(e){e.anchorMapTransactions.push(Object.create(null))}d(re,`beginAnchorTransaction`);function ie(e){let t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(n.length===0)return;let r=n[n.length-1],a=Object.keys(t);for(let e=0,n=a.length;e<n;e+=1){let n=a[e];i.call(r,n)||(r[n]=t[n])}}d(ie,`commitAnchorTransaction`);function ae(e){let t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;--r){let i=t[n[r]];i.existed?e.anchorMap[n[r]]=i.value:delete e.anchorMap[n[r]]}}d(ae,`rollbackAnchorTransaction`);function oe(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}d(oe,`snapshotState`);function se(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}d(se,`restoreState`);let ce={YAML:d(function(e,t,n){e.version!==null&&T(e,`duplication of %YAML directive`),n.length!==1&&T(e,`YAML directive accepts exactly one argument`);let r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);r===null&&T(e,`ill-formed argument of the YAML directive`);let i=parseInt(r[1],10),a=parseInt(r[2],10);i!==1&&T(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&te(e,`unsupported YAML version of the document`)},`handleYamlDirective`),TAG:d(function(e,t,n){let r;n.length!==2&&T(e,`TAG directive accepts exactly two arguments`);let a=n[0];r=n[1],c.test(a)||T(e,`ill-formed tag handle (first argument) of the TAG directive`),i.call(e.tagMap,a)&&T(e,`there is a previously declared suffix for "`+a+`" tag handle`),l.test(r)||T(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{r=decodeURIComponent(r)}catch{T(e,`tag prefix is malformed: `+r)}e.tagMap[a]=r},`handleTagDirective`)};function le(e,t,n,r){if(t<n){let i=e.input.slice(t,n);if(r)for(let t=0,n=i.length;t<n;t+=1){let n=i.charCodeAt(t);n===9||n>=32&&n<=1114111||T(e,`expected valid JSON character`)}else a.test(i)&&T(e,`the stream contains non-printable characters`);e.result+=i}}d(le,`captureSegment`);function E(t,n,r,a){e.isObject(r)||T(t,`cannot merge mappings; the provided source object is unacceptable`);let o=Object.keys(r);for(let e=0,s=o.length;e<s;e+=1){let s=o[e];t.maxTotalMergeKeys!==-1&&++t.totalMergeKeys>t.maxTotalMergeKeys&&T(t,`merge keys exceeded maxTotalMergeKeys (`+t.maxTotalMergeKeys+`)`),i.call(n,s)||(ee(n,s,r[s]),a[s]=!0)}}d(E,`mergeMappings`);function ue(e,t,n,r,a,o,s,c,l){if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(let t=0,n=a.length;t<n;t+=1)Array.isArray(a[t])&&T(e,`nested arrays are not supported inside keys`),typeof a==`object`&&u(a[t])===`[object Object]`&&(a[t]=`[object Object]`)}if(typeof a==`object`&&u(a)===`[object Object]`&&(a=`[object Object]`),a=String(a),t===null&&(t={}),r===`tag:yaml.org,2002:merge`){if(Array.isArray(o))for(let r=0,i=o.length;r<i;r+=1)E(e,t,o[r],n);else E(e,t,o,n)}else!e.json&&!i.call(n,a)&&i.call(t,a)&&(e.line=s||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,T(e,`duplicated mapping key`)),ee(t,a,o),delete n[a];return t}d(ue,`storeMappingPair`);function de(e){let t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):T(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}d(de,`readLineBreak`);function fe(e,t,n){let r=0,i=e.input.charCodeAt(e.position);for(;i!==0;){for(;p(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(f(i))for(de(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&te(e,`deficient indentation`),r}d(fe,`skipSeparationSpace`);function pe(e){let t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||m(n)))}d(pe,`testDocumentSeparator`);function me(t,n){n===1?t.result+=` `:n>1&&(t.result+=e.repeat(`
|
|
269
|
+
`,n-1))}d(me,`writeFoldedLines`);function he(e,t,n){let r,i,a,o,s,c,l=e.kind,u=e.result,d=e.input.charCodeAt(e.position);if(m(d)||h(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96)return!1;if(d===63||d===45){let t=e.input.charCodeAt(e.position+1);if(m(t)||n&&h(t))return!1}for(e.kind=`scalar`,e.result=``,r=i=e.position,a=!1;d!==0;){if(d===58){let t=e.input.charCodeAt(e.position+1);if(m(t)||n&&h(t))break}else if(d===35){if(m(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&pe(e)||n&&h(d))break;else if(f(d)){if(o=e.line,s=e.lineStart,c=e.lineIndent,fe(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=i,e.line=o,e.lineStart=s,e.lineIndent=c;break}a&&=(le(e,r,i,!1),me(e,e.line-o),r=i=e.position,!1),p(d)||(i=e.position+1),d=e.input.charCodeAt(++e.position)}return le(e,r,i,!1),e.result?!0:(e.kind=l,e.result=u,!1)}d(he,`readPlainScalar`);function ge(e,t){let n,r,i=e.input.charCodeAt(e.position);if(i!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39){if(le(e,n,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)n=e.position,e.position++,r=e.position;else return!0}else f(i)?(le(e,n,r,!0),me(e,fe(e,!1,t)),n=r=e.position):e.position===e.lineStart&&pe(e)?T(e,`unexpected end of the document within a single quoted scalar`):(e.position++,p(i)||(r=e.position));T(e,`unexpected end of the stream within a single quoted scalar`)}d(ge,`readSingleQuotedScalar`);function _e(e,t){let n,r,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(a=e.input.charCodeAt(e.position))!==0;)if(a===34)return le(e,n,e.position,!0),e.position++,!0;else if(a===92){if(le(e,n,e.position,!0),a=e.input.charCodeAt(++e.position),f(a))fe(e,!1,t);else if(a<256&&x[a])e.result+=S[a],e.position++;else if((i=_(a))>0){let t=i,n=0;for(;t>0;t--)a=e.input.charCodeAt(++e.position),(i=g(a))>=0?n=(n<<4)+i:T(e,`expected hexadecimal character`);e.result+=b(n),e.position++}else T(e,`unknown escape sequence`);n=r=e.position}else f(a)?(le(e,n,r,!0),me(e,fe(e,!1,t)),n=r=e.position):e.position===e.lineStart&&pe(e)?T(e,`unexpected end of the document within a double quoted scalar`):(e.position++,p(a)||(r=e.position));T(e,`unexpected end of the stream within a double quoted scalar`)}d(_e,`readDoubleQuotedScalar`);function ve(e,t){let n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)l=93,f=!1,s=[];else if(v===123)l=125,f=!0,s={};else return!1;for(e.anchor!==null&&ne(e,e.anchor,s),v=e.input.charCodeAt(++e.position);v!==0;){if(fe(e,!0,t),v=e.input.charCodeAt(e.position),v===l)return e.position++,e.tag=o,e.anchor=c,e.kind=f?`mapping`:`sequence`,e.result=s,!0;n?v===44&&T(e,`expected the node content, but found ','`):T(e,`missed comma between flow collection entries`),g=h=_=null,u=d=!1,v===63&&m(e.input.charCodeAt(e.position+1))&&(u=d=!0,e.position++,fe(e,!0,t)),r=e.line,i=e.lineStart,a=e.position,Ee(e,t,1,!1,!0),g=e.tag,h=e.result,fe(e,!0,t),v=e.input.charCodeAt(e.position),(d||e.line===r)&&v===58&&(u=!0,v=e.input.charCodeAt(++e.position),fe(e,!0,t),Ee(e,t,1,!1,!0),_=e.result),f?ue(e,s,p,g,h,_,r,i,a):u?s.push(ue(e,null,p,g,h,_,r,i,a)):s.push(h),fe(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}T(e,`unexpected end of the stream within a flow collection`)}d(ve,`readFlowCollection`);function ye(t,n){let r,i=1,a=!1,o=!1,s=n,c=0,l=!1,u,d=t.input.charCodeAt(t.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(t.kind=`scalar`,t.result=``;d!==0;)if(d=t.input.charCodeAt(++t.position),d===43||d===45)i===1?i=d===43?3:2:T(t,`repeat of a chomping mode identifier`);else if((u=v(d))>=0)u===0?T(t,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?T(t,`repeat of an indentation width identifier`):(s=n+u-1,o=!0);else break;if(p(d)){do d=t.input.charCodeAt(++t.position);while(p(d));if(d===35)do d=t.input.charCodeAt(++t.position);while(!f(d)&&d!==0)}for(;d!==0;){for(de(t),t.lineIndent=0,d=t.input.charCodeAt(t.position);(!o||t.lineIndent<s)&&d===32;)t.lineIndent++,d=t.input.charCodeAt(++t.position);if(!o&&t.lineIndent>s&&(s=t.lineIndent),f(d)){c++;continue}if(!o&&s===0&&T(t,`missing indentation for block scalar`),t.lineIndent<s){i===3?t.result+=e.repeat(`
|
|
270
270
|
`,a?1+c:c):i===1&&a&&(t.result+=`
|
|
271
271
|
`);break}r?p(d)?(l=!0,t.result+=e.repeat(`
|
|
272
272
|
`,a?1+c:c)):l?(l=!1,t.result+=e.repeat(`
|
|
273
273
|
`,c+1)):c===0?a&&(t.result+=` `):t.result+=e.repeat(`
|
|
274
274
|
`,c):t.result+=e.repeat(`
|
|
275
|
-
`,a?1+c:c),a=!0,o=!0,c=0;let n=t.position;for(;!f(d)&&d!==0;)d=t.input.charCodeAt(++t.position);le(t,n,t.position,!1)}return!0}
|
|
276
|
-
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=new C(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,T(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)De(n);return n.documents}
|
|
275
|
+
`,a?1+c:c),a=!0,o=!0,c=0;let n=t.position;for(;!f(d)&&d!==0;)d=t.input.charCodeAt(++t.position);le(t,n,t.position,!1)}return!0}d(ye,`readBlockScalar`);function be(e,t){let n=e.tag,r=e.anchor,i=[],a=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&ne(e,e.anchor,i);let o=e.input.charCodeAt(e.position);for(;o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,T(e,`tab characters must not be used in indentation`)),o===45&&m(e.input.charCodeAt(e.position+1)));){if(a=!0,e.position++,fe(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}let n=e.line;if(Ee(e,t,3,!1,!0),i.push(e.result),fe(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&o!==0)T(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=r,e.kind=`sequence`,e.result=i,!0):!1}d(be,`readBlockSequence`);function xe(e,t,n){let r,i,a,o,s=e.tag,c=e.anchor,l={},u=Object.create(null),d=null,f=null,h=null,g=!1,_=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&ne(e,e.anchor,l);let v=e.input.charCodeAt(e.position);for(;v!==0;){!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,T(e,`tab characters must not be used in indentation`));let y=e.input.charCodeAt(e.position+1),b=e.line;if((v===63||v===58)&&m(y))v===63?(g&&(ue(e,l,u,d,f,null,i,a,o),d=f=h=null),_=!0,g=!0,r=!0):g?(g=!1,r=!0):T(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=y;else{if(i=e.line,a=e.lineStart,o=e.position,!Ee(e,n,2,!1,!0))break;if(e.line===b){for(v=e.input.charCodeAt(e.position);p(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),m(v)||T(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(ue(e,l,u,d,f,null,i,a,o),d=f=h=null),_=!0,g=!1,r=!1,d=e.tag,f=e.result;else if(_)T(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=s,e.anchor=c,!0}else if(_)T(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=s,e.anchor=c,!0}if((e.line===b||e.lineIndent>t)&&(g&&(i=e.line,a=e.lineStart,o=e.position),Ee(e,t,4,!0,r)&&(g?f=e.result:h=e.result),g||(ue(e,l,u,d,f,h,i,a,o),d=f=h=null),fe(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===b||e.lineIndent>t)&&v!==0)T(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&ue(e,l,u,d,f,null,i,a,o),_&&(e.tag=s,e.anchor=c,e.kind=`mapping`,e.result=l),_}d(xe,`readBlockMapping`);function Se(e){let t=!1,n=!1,r,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;e.tag!==null&&T(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(t=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,r=`!!`,o=e.input.charCodeAt(++e.position)):r=`!`;let u=e.position;if(t){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(u,e.position),o=e.input.charCodeAt(++e.position)):T(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!m(o);)o===33&&(n?T(e,`tag suffix cannot contain exclamation marks`):(r=e.input.slice(u-1,e.position+1),c.test(r)||T(e,`named tag handle cannot contain such characters`),n=!0,u=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(u,e.position),s.test(a)&&T(e,`tag suffix cannot contain flow indicator characters`)}a&&!l.test(a)&&T(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{T(e,`tag name is malformed: `+a)}return t?e.tag=a:i.call(e.tagMap,r)?e.tag=e.tagMap[r]+a:r===`!`?e.tag=`!`+a:r===`!!`?e.tag=`tag:yaml.org,2002:`+a:T(e,`undeclared tag handle "`+r+`"`),!0}d(Se,`readTagProperty`);function Ce(e){let t=e.input.charCodeAt(e.position);if(t!==38)return!1;e.anchor!==null&&T(e,`duplication of an anchor property`),t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!m(t)&&!h(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&T(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(n,e.position),!0}d(Ce,`readAnchorProperty`);function we(e){let t=e.input.charCodeAt(e.position);if(t!==42)return!1;t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!m(t)&&!h(t);)t=e.input.charCodeAt(++e.position);e.position===n&&T(e,`name of an alias node must contain at least one character`);let r=e.input.slice(n,e.position);return i.call(e.anchorMap,r)||T(e,`unidentified alias "`+r+`"`),e.result=e.anchorMap[r],fe(e,!0,-1),!0}d(we,`readAlias`);function Te(e,t,n,r){let i=oe(e);return re(e),se(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,xe(e,n,r)&&e.kind===`mapping`?(ie(e),!0):(ae(e),se(e,i),!1)}d(Te,`tryReadBlockMappingFromProperty`);function Ee(e,t,n,r,a){let o,s,c=1,l=!1,u=!1,d=null,f,p,m;e.depth>=e.maxDepth&&T(e,`nesting exceeded maxDepth (`+e.maxDepth+`)`),e.depth+=1,e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let h=o=s=n===4||n===3;if(r&&fe(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;;){let n=e.input.charCodeAt(e.position),r=oe(e);if(l&&(n===33&&e.tag!==null||n===38&&e.anchor!==null)||!Se(e)&&!Ce(e))break;d===null&&(d=r),fe(e,!0,-1)?(l=!0,s=h,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1}if(s&&=l||a,c===1||n===4){if(p=n===1||n===2?t:t+1,m=e.position-e.lineStart,c===1){if(s&&(be(e,m)||xe(e,m,p))||ve(e,p))u=!0;else{let t=e.input.charCodeAt(e.position);d!==null&&h&&!s&&t!==124&&t!==62&&Te(e,d,d.position-d.lineStart,p)||o&&ye(e,p)||ge(e,p)||_e(e,p)?u=!0:we(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&T(e,`alias node should not have any properties`)):he(e,p,n===1)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&ne(e,e.anchor,e.result)}}else c===0&&(u=s&&be(e,m))}if(e.tag===null)e.anchor!==null&&ne(e,e.anchor,e.result);else if(e.tag===`?`){e.result!==null&&e.kind!==`scalar`&&T(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`);for(let t=0,n=e.implicitTypes.length;t<n;t+=1)if(f=e.implicitTypes[t],f.resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,e.anchor!==null&&ne(e,e.anchor,e.result);break}}else if(e.tag!==`!`){if(i.call(e.typeMap[e.kind||`fallback`],e.tag))f=e.typeMap[e.kind||`fallback`][e.tag];else{f=null;let t=e.typeMap.multi[e.kind||`fallback`];for(let n=0,r=t.length;n<r;n+=1)if(e.tag.slice(0,t[n].tag.length)===t[n].tag){f=t[n];break}}f||T(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&f.kind!==e.kind&&T(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+f.kind+`", not "`+e.kind+`"`),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),e.anchor!==null&&ne(e,e.anchor,e.result)):T(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),--e.depth,e.tag!==null||e.anchor!==null||u}d(Ee,`composeNode`);function De(e){let t=e.position,n=!1,r;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(r=e.input.charCodeAt(e.position))!==0&&(fe(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||r!==37));){n=!0,r=e.input.charCodeAt(++e.position);let t=e.position;for(;r!==0&&!m(r);)r=e.input.charCodeAt(++e.position);let a=e.input.slice(t,e.position),o=[];for(a.length<1&&T(e,`directive name must not be less than one character in length`);r!==0;){for(;p(r);)r=e.input.charCodeAt(++e.position);if(r===35){do r=e.input.charCodeAt(++e.position);while(r!==0&&!f(r));break}if(f(r))break;for(t=e.position;r!==0&&!m(r);)r=e.input.charCodeAt(++e.position);o.push(e.input.slice(t,e.position))}r!==0&&de(e),i.call(ce,a)?ce[a](e,a,o):te(e,`unknown document directive "`+a+`"`)}if(fe(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,fe(e,!0,-1)):n&&T(e,`directives end mark is expected`),Ee(e,e.lineIndent-1,4,!1,!0),fe(e,!0,-1),e.checkLineBreaks&&o.test(e.input.slice(t,e.position))&&te(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&pe(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,fe(e,!0,-1));return}e.position<e.length-1&&T(e,`end of the stream or a document separator is expected`)}d(De,`readDocument`);function Oe(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
276
|
+
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=new C(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,T(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)De(n);return n.documents}d(Oe,`loadDocuments`);function ke(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);let r=Oe(e,n);if(typeof t!=`function`)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])}d(ke,`loadAll2`);function Ae(e,n){let r=Oe(e,n);if(r.length!==0){if(r.length===1)return r[0];throw new t(`expected a single document in the stream, but found more`)}}return d(Ae,`load2`),ll.loadAll=ke,ll.load=Ae,ll}d(Cu,`requireLoader`);var wu={},Tu;function Eu(){if(Tu)return wu;Tu=1;let e=fl(),t=hl(),n=xu(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=65279,o={};o[0]=`\\0`,o[7]=`\\a`,o[8]=`\\b`,o[9]=`\\t`,o[10]=`\\n`,o[11]=`\\v`,o[12]=`\\f`,o[13]=`\\r`,o[27]=`\\e`,o[34]=`\\"`,o[92]=`\\\\`,o[133]=`\\N`,o[160]=`\\_`,o[8232]=`\\L`,o[8233]=`\\P`;let s=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],c=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(e,t){if(t===null)return{};let n={},r=Object.keys(t);for(let a=0,o=r.length;a<o;a+=1){let o=r[a],s=String(t[o]);o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2));let c=e.compiledTypeMap.fallback[o];c&&i.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s}return n}d(l,`compileStyleMap`);function u(n){let r,i,a=n.toString(16).toUpperCase();if(n<=255)r=`x`,i=2;else if(n<=65535)r=`u`,i=4;else if(n<=4294967295)r=`U`,i=8;else throw new t(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+r+e.repeat(`0`,i-a.length)+a}d(u,`encodeHex`);function f(t){this.schema=t.schema||n,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=l(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType===`"`?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer==`function`?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}d(f,`State`);function p(t,n){let r=e.repeat(` `,n),i=0,a=``,o=t.length;for(;i<o;){let e,n=t.indexOf(`
|
|
277
277
|
`,i);n===-1?(e=t.slice(i),i=o):(e=t.slice(i,n+1),i=n+1),e.length&&e!==`
|
|
278
|
-
`&&(a+=r),a+=e}return a}
|
|
279
|
-
`+e.repeat(` `,t.indent*n)}
|
|
278
|
+
`&&(a+=r),a+=e}return a}d(p,`indentString`);function m(t,n){return`
|
|
279
|
+
`+e.repeat(` `,t.indent*n)}d(m,`generateNextLine`);function h(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}d(h,`testImplicitResolving`);function g(e){return e===32||e===9}d(g,`isWhitespace`);function _(e){return e>=32&&e<=126||e>=161&&e<=55295&&e!==8232&&e!==8233||e>=57344&&e<=65533&&e!==a||e>=65536&&e<=1114111}d(_,`isPrintable`);function v(e){return _(e)&&e!==a&&e!==13&&e!==10}d(v,`isNsCharOrWhitespace`);function y(e,t,n){let r=v(e),i=r&&!g(e);return(n?r:r&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125)&&e!==35&&!(t===58&&!i)||v(t)&&!g(t)&&e===35||t===58&&i}d(y,`isPlainSafe`);function b(e){return _(e)&&e!==a&&!g(e)&&e!==45&&e!==63&&e!==58&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125&&e!==35&&e!==38&&e!==42&&e!==33&&e!==124&&e!==61&&e!==62&&e!==39&&e!==34&&e!==37&&e!==64&&e!==96}d(b,`isPlainSafeFirst`);function ee(e){return!g(e)&&e!==58}d(ee,`isPlainSafeLast`);function x(e,t){let n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}d(x,`codePointAt`);function S(e){return/^\n* /.test(e)}d(S,`needIndentIndicator`);function C(e,t,n,r,i,a,o,s){let c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=b(x(e,0))&&ee(x(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=x(e,c),!_(l))return 5;h&&=y(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=x(e,c),l===10)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!_(l))return 5;h&&=y(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?1:a===2?5:2:n>9&&S(e)?5:o?a===2?5:2:f?4:3}d(C,`chooseScalarStyle`);function w(e,n,r,i,a){e.dump=(function(){if(n.length===0)return e.quotingType===2?`""`:`''`;if(!e.noCompatMode&&(s.indexOf(n)!==-1||c.test(n)))return e.quotingType===2?`"`+n+`"`:`'`+n+`'`;let o=e.indent*Math.max(1,r),l=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),u=i||e.flowLevel>-1&&r>=e.flowLevel;function f(t){return h(e,t)}switch(d(f,`testAmbiguity`),C(n,u,e.indent,l,f,e.quotingType,e.forceQuotes&&!i,a)){case 1:return n;case 2:return`'`+n.replace(/'/g,`''`)+`'`;case 3:return`|`+T(n,e.indent)+te(p(n,o));case 4:return`>`+T(n,e.indent)+te(p(ne(n,l),o));case 5:return`"`+ie(n)+`"`;default:throw new t(`impossible error: invalid scalar style`)}})()}d(w,`writeScalar`);function T(e,t){let n=S(e)?String(t):``,r=e[e.length-1]===`
|
|
280
280
|
`;return n+(r&&(e[e.length-2]===`
|
|
281
281
|
`||e===`
|
|
282
282
|
`)?`+`:r?``:`-`)+`
|
|
283
|
-
`}
|
|
284
|
-
`?e.slice(0,-1):e}
|
|
283
|
+
`}d(T,`blockHeader`);function te(e){return e[e.length-1]===`
|
|
284
|
+
`?e.slice(0,-1):e}d(te,`dropEndingNewline`);function ne(e,t){let n=/(\n+)([^\n]*)/g,r=(function(){let r=e.indexOf(`
|
|
285
285
|
`);return r=r===-1?e.length:r,n.lastIndex=r,re(e.slice(0,r),t)})(),i=e[0]===`
|
|
286
286
|
`||e[0]===` `,a,o;for(;o=n.exec(e);){let e=o[1],n=o[2];a=n[0]===` `,r+=e+(!i&&!a&&n!==``?`
|
|
287
|
-
`:``)+re(n,t),i=a}return r}
|
|
287
|
+
`:``)+re(n,t),i=a}return r}d(ne,`foldString`);function re(e,t){if(e===``||e[0]===` `)return e;let n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;for(;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
|
|
288
288
|
`+e.slice(i,a),i=a+1),o=s;return c+=`
|
|
289
289
|
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
|
|
290
|
-
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}
|
|
291
|
-
`:``}return u(fe,`dump2`),wu.dump=fe,wu}u(Eu,`requireDumper`);var Du;function Ou(){if(Du)return cl;Du=1;let e=Cu(),t=Eu();function n(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}return u(n,`renamed`),cl.Type=xl(),cl.Schema=wl(),cl.FAILSAFE_SCHEMA=Il(),cl.JSON_SCHEMA=Zl(),cl.CORE_SCHEMA=eu(),cl.DEFAULT_SCHEMA=xu(),cl.load=e.load,cl.loadAll=e.loadAll,cl.dump=t.dump,cl.YAMLException=hl(),cl.types={binary:lu(),float:Jl(),map:Nl(),null:zl(),pairs:hu(),set:vu(),timestamp:ru(),bool:Hl(),int:Gl(),merge:ou(),omap:fu(),seq:Al(),str:Dl()},cl.safeLoad=n(`safeLoad`,`load`),cl.safeLoadAll=n(`safeLoadAll`,`loadAll`),cl.safeDump=n(`safeDump`,`dump`),cl}u(Ou,`requireJsYaml`);var{Type:ku,Schema:Au,FAILSAFE_SCHEMA:ju,JSON_SCHEMA:Mu,CORE_SCHEMA:Nu,DEFAULT_SCHEMA:Pu,load:Fu,loadAll:Iu,dump:Lu,YAMLException:Ru,types:zu,safeLoad:Bu,safeLoadAll:Vu,safeDump:Hu}=sl(Ou()),Uu=(function(e){if(e==null)return Ju;if(typeof e==`function`)return qu(e);if(typeof e==`object`)return Array.isArray(e)?Wu(e):Gu(e);if(typeof e==`string`)return Ku(e);throw Error(`Expected function, string, or object as test`)});function Wu(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Uu(e[n]);return qu(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Gu(e){let t=e;return qu(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Ku(e){return qu(t);function t(t){return t&&t.type===e}}function qu(e){return t;function t(t,n,r){return!!(Yu(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Ju(){return!0}function Yu(e){return typeof e==`object`&&!!e&&`type`in e}function Xu(e){return e}var Zu=[],Qu=`skip`;function $u(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Uu(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Xu(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Zu,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=ed(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function ed(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Zu:[e]}function td(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),$u(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var nd={indicator:`indicator`,textOnly:`text-only`,remove:`remove`};function rd({defaultOrigin:e=``,allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:i=[],blockedImageClass:a=`inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm`,blockedLinkClass:o=`text-gray-500`,linkBlockPolicy:s=nd.indicator,imageBlockPolicy:c=nd.indicator}){let l=t.length&&!t.every(e=>e===`*`),u=n.length&&!n.every(e=>e===`*`);if(!e&&(l||u))throw Error(`defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided`);return l=>{let u=pd(e,t,n,r,i,a,o,s,c);ld(l),td(l,u)}}function id(e,t){if(typeof e!=`string`)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`))try{return new URL(e,`http://example.com`)}catch{return null}return null}}function ad(e){return typeof e==`string`?e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`):!1}var od=new Set([`https:`,`http:`,`irc:`,`ircs:`,`mailto:`,`xmpp:`,`blob:`]),sd=new Set([`javascript:`,`data:`,`file:`,`vbscript:`]);function cd(e,t,n,r=!1,i=!1,a=[]){if(!e)return null;if(typeof e==`string`&&e.startsWith(`#`)&&!i)try{if(new URL(e,`http://example.com`).hash===e)return e}catch{}if(typeof e==`string`&&e.startsWith(`data:`))return i&&r&&e.startsWith(`data:image/`)?e:null;if(typeof e==`string`&&e.startsWith(`blob:`)){try{if(new URL(e).protocol===`blob:`&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&t!==`invalid`)return e}}catch{return null}return null}let o=id(e,n);if(!o||sd.has(o.protocol)||!(od.has(o.protocol)||a.includes(o.protocol)||a.includes(`*`)))return null;if(o.protocol===`mailto:`||!o.protocol.match(/^https?:$/))return o.href;let s=ad(e);return o&&t.some(e=>{let t=id(e,n);return!t||t.origin!==o.origin?!1:o.href.startsWith(t.href)})?s?o.pathname+o.search+o.hash:o.href:t.includes(`*`)?o.protocol!==`https:`&&o.protocol!==`http:`?null:s?o.pathname+o.search+o.hash:o.href:null}function ld(e){if(`children`in e&&Array.isArray(e.children)){e.children=e.children.filter(e=>e!=null);for(let t of e.children)ld(t)}}var ud=Symbol(`node-seen`);function dd(e,t,n){return t===nd.remove?{type:`remove`}:t===nd.textOnly?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[...e.children]}}:{type:`replace`,element:{type:`element`,tagName:`span`,properties:{title:`Blocked URL: `+String(e.properties.href),class:n},children:[...e.children,{type:`text`,value:` [blocked]`}]}}}function fd(e,t,n){if(t===nd.remove)return{type:`remove`};if(t===nd.textOnly){let t=String(e.properties.alt||``);return t?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[{type:`text`,value:t}]}}:{type:`remove`}}return{type:`replace`,element:{type:`element`,tagName:`span`,properties:{class:n},children:[{type:`text`,value:`[Image blocked: `+String(e.properties.alt||`No description`)+`]`}]}}}var pd=(e,t,n,r,i,a,o,s,c)=>{let l=(u,d,f)=>{if(u.type!==`element`||u[ud])return!0;if(u.tagName===`a`){let n=cd(u.properties.href,t,e,!1,!1,i);if(n===null){if(u[ud]=!0,td(u,l),f&&typeof d==`number`){let e=dd(u,s,o);if(e.type===`remove`)return f.children.splice(d,1),[Qu,d];f.children[d]=e.element}return Qu}return u.properties.href=n,u.properties.target=`_blank`,u.properties.rel=`noopener noreferrer`,!0}if(u.tagName===`img`){let t=cd(u.properties.src,n,e,r,!0,i);if(t===null){if(u[ud]=!0,td(u,l),f&&typeof d==`number`){let e=fd(u,c,a);if(e.type===`remove`)return f.children.splice(d,1),[Qu,d];f.children[d]=e.element}return Qu}return u.properties.src=t,!0}return!0};return l},{defineProperty:md}=Object,hd=typeof self==`object`?self:globalThis,gd=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new hd[e](t)},_d=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o){let i=r(t),a=r(n);i===`__proto__`?md(e,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):e[i]=a}return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(typeof hd[e]==`function`?gd(e,t):Error(t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}case`-0`:return-0}return n(gd(a,o),i)};return r},vd=e=>_d(new Map,e)(0),yd=``,{toString:bd}={},{keys:xd,is:Sd}=Object,Cd=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=bd.call(e).slice(8,-1);switch(n){case`Array`:return[1,yd];case`Object`:return[2,yd];case`Date`:return[3,yd];case`RegExp`:return[4,yd];case`Map`:return[5,yd];case`Set`:return[6,yd];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:e instanceof Error?[7,e.name||`Error`]:[2,n]},wd=([e,t])=>e===0&&(t===`function`||t===`symbol`),Td=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=o=>{if(n.has(o))return n.get(o);let[s,c]=Cd(o);switch(s){case 0:{let t=o;switch(c){case`bigint`:s=8,t=o.toString();break;case`number`:if(!o&&Sd(o,-0))return r.push([`-0`])-1;break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+c);t=null;break;case`undefined`:return i([-1],o)}return i([s,t],o)}case 1:{if(c){let e=o;return c===`DataView`?e=new Uint8Array(o.buffer):c===`ArrayBuffer`&&(e=new Uint8Array(o)),i([c,[...e]],o)}let e=[],t=i([s,e],o);for(let t of o)e.push(a(t));return t}case 2:{if(c)switch(c){case`BigInt`:return i([c,o.toString()],o);case`Boolean`:case`Number`:case`String`:return i([c,o.valueOf()],o)}if(t&&`toJSON`in o)return a(o.toJSON());let n=[],r=i([s,n],o);for(let t of xd(o))(e||!wd(Cd(o[t])))&&n.push([a(t),a(o[t])]);return r}case 3:return i([s,isNaN(o.getTime())?yd:o.toISOString()],o);case 4:{let{source:e,flags:t}=o;return i([s,{source:e,flags:t}],o)}case 5:{let t=[],n=i([s,t],o);for(let[n,r]of o)(e||!(wd(Cd(n))||wd(Cd(r))))&&t.push([a(n),a(r)]);return n}case 6:{let t=[],n=i([s,t],o);for(let n of o)(e||!wd(Cd(n)))&&t.push(a(n));return n}}let{message:l}=o;return i([s,{name:c,message:l}],o)};return a},Ed=(e,{json:t,lossy:n}={})=>{let r=[];return Td(!(t||n),!!t,new Map,r)(e),r},Dd=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?vd(Ed(e,t)):structuredClone(e):(e,t)=>vd(Ed(e,t)),Od=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Od.prototype.normal={},Od.prototype.property={},Od.prototype.space=void 0;function kd(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Od(n,r,t)}function Ad(e){return e.toLowerCase()}var jd=class{constructor(e,t){this.attribute=t,this.property=e}};jd.prototype.attribute=``,jd.prototype.booleanish=!1,jd.prototype.boolean=!1,jd.prototype.commaOrSpaceSeparated=!1,jd.prototype.commaSeparated=!1,jd.prototype.defined=!1,jd.prototype.mustUseProperty=!1,jd.prototype.number=!1,jd.prototype.overloadedBoolean=!1,jd.prototype.property=``,jd.prototype.spaceSeparated=!1,jd.prototype.space=void 0;var Md=e({boolean:()=>Pd,booleanish:()=>Fd,commaOrSpaceSeparated:()=>zd,commaSeparated:()=>Rd,number:()=>U,overloadedBoolean:()=>Id,spaceSeparated:()=>Ld}),Nd=0,Pd=Bd(),Fd=Bd(),Id=Bd(),U=Bd(),Ld=Bd(),Rd=Bd(),zd=Bd();function Bd(){return 2**++Nd}var Vd=Object.keys(Md),Hd=class extends jd{constructor(e,t,n,r){let i=-1;if(super(e,t),Ud(this,`space`,r),typeof n==`number`)for(;++i<Vd.length;){let e=Vd[i];Ud(this,Vd[i],(n&Md[e])===Md[e])}}};Hd.prototype.defined=!0;function Ud(e,t,n){n&&(e[t]=n)}function Wd(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Hd(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Ad(r)]=r,n[Ad(a.attribute)]=r}return new Od(t,n,e.space)}var Gd=Wd({properties:{ariaActiveDescendant:null,ariaAtomic:Fd,ariaAutoComplete:null,ariaBusy:Fd,ariaChecked:Fd,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Ld,ariaCurrent:null,ariaDescribedBy:Ld,ariaDetails:null,ariaDisabled:Fd,ariaDropEffect:Ld,ariaErrorMessage:null,ariaExpanded:Fd,ariaFlowTo:Ld,ariaGrabbed:Fd,ariaHasPopup:null,ariaHidden:Fd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ld,ariaLevel:U,ariaLive:null,ariaModal:Fd,ariaMultiLine:Fd,ariaMultiSelectable:Fd,ariaOrientation:null,ariaOwns:Ld,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:Fd,ariaReadOnly:Fd,ariaRelevant:null,ariaRequired:Fd,ariaRoleDescription:Ld,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:Fd,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Kd(e,t){return t in e?e[t]:t}function qd(e,t){return Kd(e,t.toLowerCase())}var Jd=Wd({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Rd,acceptCharset:Ld,accessKey:Ld,action:null,allow:null,allowFullScreen:Pd,allowPaymentRequest:Pd,allowUserMedia:Pd,alpha:Pd,alt:null,as:null,async:Pd,autoCapitalize:null,autoComplete:Ld,autoFocus:Pd,autoPlay:Pd,blocking:Ld,capture:null,charSet:null,checked:Pd,cite:null,className:Ld,closedBy:null,colorSpace:null,cols:U,colSpan:U,command:null,commandFor:null,content:null,contentEditable:Fd,controls:Pd,controlsList:Ld,coords:U|Rd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pd,defer:Pd,dir:null,dirName:null,disabled:Pd,download:Id,draggable:Fd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pd,formTarget:null,headers:Ld,height:U,hidden:Id,high:U,href:null,hrefLang:null,htmlFor:Ld,httpEquiv:Ld,id:null,imageSizes:null,imageSrcSet:null,inert:Pd,inputMode:null,integrity:null,is:null,isMap:Pd,itemId:null,itemProp:Ld,itemRef:Ld,itemScope:Pd,itemType:Ld,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pd,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:Pd,muted:Pd,name:null,nonce:null,noModule:Pd,noValidate:Pd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Pd,optimum:U,pattern:null,ping:Ld,placeholder:null,playsInline:Pd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pd,referrerPolicy:null,rel:Ld,required:Pd,reversed:Pd,rows:U,rowSpan:U,sandbox:Ld,scope:null,scoped:Pd,seamless:Pd,selected:Pd,shadowRootClonable:Pd,shadowRootCustomElementRegistry:Pd,shadowRootDelegatesFocus:Pd,shadowRootMode:null,shadowRootSerializable:Pd,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:Fd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:Pd,useMap:null,value:Fd,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ld,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pd,declare:Pd,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:Pd,noHref:Pd,noShade:Pd,noWrap:Pd,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:Fd,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Pd,disablePictureInPicture:Pd,disableRemotePlayback:Pd,exportParts:Rd,part:Ld,prefix:null,property:null,results:U,security:null,unselectable:null},space:`html`,transform:qd}),Yd=Wd({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:zd,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Ld,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:Pd,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Rd,g2:Rd,glyphName:Rd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:zd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ld,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zd,rev:zd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zd,requiredFeatures:zd,requiredFonts:zd,requiredFormats:zd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:zd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zd,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Kd}),Xd=Wd({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Zd=Wd({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:qd}),Qd=Wd({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),$d={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},ef=/[A-Z]/g,tf=/-[a-z]/g,nf=/^data[-\w.:]+$/i;function rf(e,t){let n=Ad(t),r=t,i=jd;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&nf.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(tf,of);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tf.test(e)){let n=e.replace(ef,af);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Hd}return new i(r,t)}function af(e){return`-`+e.toLowerCase()}function of(e){return e.charAt(1).toUpperCase()}var sf=kd([Gd,Jd,Xd,Zd,Qd],`html`),cf=kd([Gd,Yd,Xd,Zd,Qd],`svg`);function lf(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function uf(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var df=/[#.]/g;function ff(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){df.lastIndex=i;let e=df.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function pf(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function mf(e){return e.join(` `).trim()}function hf(e,t,n){let r=n?xf(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=ff(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,gf(i))a.unshift(i);else for(let[t,n]of Object.entries(i))_f(e,o.properties,t,n)}for(let e of a)vf(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function gf(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function _f(e,t,n,r){let i=rf(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?pf(r):i.commaSeparated?lf(r):i.commaOrSpaceSeparated?pf(lf(r).join(` `)):yf(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?bf(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(yf(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function vf(e,t){if(t!=null){if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)vf(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?vf(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}}function yf(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||Ad(n)===Ad(t)))return!0}return n}function bf(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function xf(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var Sf=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),Cf=hf(sf,`div`),wf=hf(cf,`g`,Sf);function Tf(e){let t=String(e),n=[];return{toOffset:i,toPoint:r};function r(e){if(typeof e==`number`&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(i===void 0){let e=Ef(t,n[r-1]);i=e===-1?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}function i(e){if(e&&typeof e.line==`number`&&typeof e.column==`number`&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=Ef(t,e),i=r===-1?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}}}function Ef(e,t){let n=e.indexOf(`\r`,t),r=e.indexOf(`
|
|
290
|
+
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}d(re,`foldLine`);function ie(e){let t=``,n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=x(e,r);let i=o[n];!i&&_(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=i||u(n)}return t}d(ie,`escapeString`);function ae(e,t,n){let r=``,i=e.tag;for(let i=0,a=n.length;i<a;i+=1){let a=n[i];e.replacer&&(a=e.replacer.call(n,String(i),a)),(E(e,t,a,!1,!1)||a===void 0&&E(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump)}e.tag=i,e.dump=`[`+r+`]`}d(ae,`writeFlowSequence`);function oe(e,t,n,r){let i=``,a=e.tag;for(let a=0,o=n.length;a<o;a+=1){let o=n[a];e.replacer&&(o=e.replacer.call(n,String(a),o)),(E(e,t+1,o,!0,!0,!1,!0)||o===void 0&&E(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=m(e,t)),e.dump&&e.dump.charCodeAt(0)===10?i+=`-`:i+=`- `,i+=e.dump)}e.tag=a,e.dump=i||`[]`}d(oe,`writeBlockSequence`);function se(e,t,n){let r=``,i=e.tag,a=Object.keys(n);for(let i=0,o=a.length;i<o;i+=1){let o=``;r!==``&&(o+=`, `),e.condenseFlow&&(o+=`"`);let s=a[i],c=n[s];e.replacer&&(c=e.replacer.call(n,s,c)),E(e,t,s,!1,!1)&&(e.dump.length>1024&&(o+=`? `),o+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),E(e,t,c,!1,!1)&&(o+=e.dump,r+=o))}e.tag=i,e.dump=`{`+r+`}`}d(se,`writeFlowMapping`);function ce(e,n,r,i){let a=``,o=e.tag,s=Object.keys(r);if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new t(`sortKeys must be a boolean or a function`);for(let t=0,o=s.length;t<o;t+=1){let o=``;(!i||a!==``)&&(o+=m(e,n));let c=s[t],l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!E(e,n+1,c,!0,!0,!0))continue;let u=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024;u&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`?`:o+=`? `),o+=e.dump,u&&(o+=m(e,n)),E(e,n+1,l,!0,u)&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`:`:o+=`: `,o+=e.dump,a+=o)}e.tag=o,e.dump=a||`{}`}d(ce,`writeBlockMapping`);function le(e,n,a){let o=a?e.explicitTypes:e.implicitTypes;for(let s=0,c=o.length;s<c;s+=1){let c=o[s];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof n==`object`&&n instanceof c.instanceOf)&&(!c.predicate||c.predicate(n))){if(e.tag=a?c.multi&&c.representName?c.representName(n):c.tag:`?`,c.represent){let a=e.styleMap[c.tag]||c.defaultStyle,o;if(r.call(c.represent)===`[object Function]`)o=c.represent(n,a);else if(i.call(c.represent,a))o=c.represent[a](n,a);else throw new t(`!<`+c.tag+`> tag resolver accepts not "`+a+`" style`);e.dump=o}return!0}}return!1}d(le,`detectType`);function E(e,n,i,a,o,s,c){e.tag=null,e.dump=i,le(e,i,!1)||le(e,i,!0);let l=r.call(e.dump),u=a;a&&=e.flowLevel<0||e.flowLevel>n;let d=l===`[object Object]`||l===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(i),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&n>0)&&(o=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),l===`[object Object]`)a&&Object.keys(e.dump).length!==0?(ce(e,n,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(se(e,n,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object Array]`)a&&e.dump.length!==0?(e.noArrayIndent&&!c&&n>0?oe(e,n-1,e.dump,o):oe(e,n,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(ae(e,n,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object String]`)e.tag!==`?`&&w(e,e.dump,n,s,u);else if(l===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new t(`unacceptable kind of an object to dump `+l)}if(e.tag!==null&&e.tag!==`?`){let t=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`);t=e.tag[0]===`!`?`!`+t:t.slice(0,18)===`tag:yaml.org,2002:`?`!!`+t.slice(18):`!<`+t+`>`,e.dump=t+` `+e.dump}}return!0}d(E,`writeNode`);function ue(e,t){let n=[],r=[];de(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}d(ue,`getDuplicateReferences`);function de(e,t,n){if(typeof e==`object`&&e){let r=t.indexOf(e);if(r!==-1)n.indexOf(r)===-1&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,i=e.length;r<i;r+=1)de(e[r],t,n);else{let r=Object.keys(e);for(let i=0,a=r.length;i<a;i+=1)de(e[r[i]],t,n)}}}d(de,`inspectNode`);function fe(e,t){t||={};let n=new f(t);n.noRefs||ue(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),E(n,0,r,!0,!0)?n.dump+`
|
|
291
|
+
`:``}return d(fe,`dump2`),wu.dump=fe,wu}d(Eu,`requireDumper`);var Du;function Ou(){if(Du)return cl;Du=1;let e=Cu(),t=Eu();function n(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}return d(n,`renamed`),cl.Type=xl(),cl.Schema=wl(),cl.FAILSAFE_SCHEMA=Il(),cl.JSON_SCHEMA=Zl(),cl.CORE_SCHEMA=eu(),cl.DEFAULT_SCHEMA=xu(),cl.load=e.load,cl.loadAll=e.loadAll,cl.dump=t.dump,cl.YAMLException=hl(),cl.types={binary:lu(),float:Jl(),map:Nl(),null:zl(),pairs:hu(),set:vu(),timestamp:ru(),bool:Hl(),int:Gl(),merge:ou(),omap:fu(),seq:Al(),str:Dl()},cl.safeLoad=n(`safeLoad`,`load`),cl.safeLoadAll=n(`safeLoadAll`,`loadAll`),cl.safeDump=n(`safeDump`,`dump`),cl}d(Ou,`requireJsYaml`);var{Type:ku,Schema:Au,FAILSAFE_SCHEMA:ju,JSON_SCHEMA:Mu,CORE_SCHEMA:Nu,DEFAULT_SCHEMA:Pu,load:Fu,loadAll:Iu,dump:Lu,YAMLException:Ru,types:zu,safeLoad:Bu,safeLoadAll:Vu,safeDump:Hu}=sl(Ou()),Uu=(function(e){if(e==null)return Ju;if(typeof e==`function`)return qu(e);if(typeof e==`object`)return Array.isArray(e)?Wu(e):Gu(e);if(typeof e==`string`)return Ku(e);throw Error(`Expected function, string, or object as test`)});function Wu(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Uu(e[n]);return qu(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Gu(e){let t=e;return qu(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Ku(e){return qu(t);function t(t){return t&&t.type===e}}function qu(e){return t;function t(t,n,r){return!!(Yu(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Ju(){return!0}function Yu(e){return typeof e==`object`&&!!e&&`type`in e}function Xu(e){return e}var Zu=[],Qu=`skip`;function $u(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Uu(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Xu(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Zu,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=ed(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function ed(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Zu:[e]}function td(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),$u(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var nd={indicator:`indicator`,textOnly:`text-only`,remove:`remove`};function rd({defaultOrigin:e=``,allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:i=[],blockedImageClass:a=`inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm`,blockedLinkClass:o=`text-gray-500`,linkBlockPolicy:s=nd.indicator,imageBlockPolicy:c=nd.indicator}){let l=t.length&&!t.every(e=>e===`*`),u=n.length&&!n.every(e=>e===`*`);if(!e&&(l||u))throw Error(`defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided`);return l=>{let u=pd(e,t,n,r,i,a,o,s,c);ld(l),td(l,u)}}function id(e,t){if(typeof e!=`string`)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`))try{return new URL(e,`http://example.com`)}catch{return null}return null}}function ad(e){return typeof e==`string`?e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`):!1}var od=new Set([`https:`,`http:`,`irc:`,`ircs:`,`mailto:`,`xmpp:`,`blob:`]),sd=new Set([`javascript:`,`data:`,`file:`,`vbscript:`]);function cd(e,t,n,r=!1,i=!1,a=[]){if(!e)return null;if(typeof e==`string`&&e.startsWith(`#`)&&!i)try{if(new URL(e,`http://example.com`).hash===e)return e}catch{}if(typeof e==`string`&&e.startsWith(`data:`))return i&&r&&e.startsWith(`data:image/`)?e:null;if(typeof e==`string`&&e.startsWith(`blob:`)){try{if(new URL(e).protocol===`blob:`&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&t!==`invalid`)return e}}catch{return null}return null}let o=id(e,n);if(!o||sd.has(o.protocol)||!(od.has(o.protocol)||a.includes(o.protocol)||a.includes(`*`)))return null;if(o.protocol===`mailto:`||!o.protocol.match(/^https?:$/))return o.href;let s=ad(e);return o&&t.some(e=>{let t=id(e,n);return!t||t.origin!==o.origin?!1:o.href.startsWith(t.href)})?s?o.pathname+o.search+o.hash:o.href:t.includes(`*`)?o.protocol!==`https:`&&o.protocol!==`http:`?null:s?o.pathname+o.search+o.hash:o.href:null}function ld(e){if(`children`in e&&Array.isArray(e.children)){e.children=e.children.filter(e=>e!=null);for(let t of e.children)ld(t)}}var ud=Symbol(`node-seen`);function dd(e,t,n){return t===nd.remove?{type:`remove`}:t===nd.textOnly?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[...e.children]}}:{type:`replace`,element:{type:`element`,tagName:`span`,properties:{title:`Blocked URL: `+String(e.properties.href),class:n},children:[...e.children,{type:`text`,value:` [blocked]`}]}}}function fd(e,t,n){if(t===nd.remove)return{type:`remove`};if(t===nd.textOnly){let t=String(e.properties.alt||``);return t?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[{type:`text`,value:t}]}}:{type:`remove`}}return{type:`replace`,element:{type:`element`,tagName:`span`,properties:{class:n},children:[{type:`text`,value:`[Image blocked: `+String(e.properties.alt||`No description`)+`]`}]}}}var pd=(e,t,n,r,i,a,o,s,c)=>{let l=(u,d,f)=>{if(u.type!==`element`||u[ud])return!0;if(u.tagName===`a`){let n=cd(u.properties.href,t,e,!1,!1,i);if(n===null){if(u[ud]=!0,td(u,l),f&&typeof d==`number`){let e=dd(u,s,o);if(e.type===`remove`)return f.children.splice(d,1),[Qu,d];f.children[d]=e.element}return Qu}return u.properties.href=n,u.properties.target=`_blank`,u.properties.rel=`noopener noreferrer`,!0}if(u.tagName===`img`){let t=cd(u.properties.src,n,e,r,!0,i);if(t===null){if(u[ud]=!0,td(u,l),f&&typeof d==`number`){let e=fd(u,c,a);if(e.type===`remove`)return f.children.splice(d,1),[Qu,d];f.children[d]=e.element}return Qu}return u.properties.src=t,!0}return!0};return l},{defineProperty:md}=Object,hd=typeof self==`object`?self:globalThis,gd=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new hd[e](t)},_d=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o){let i=r(t),a=r(n);i===`__proto__`?md(e,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):e[i]=a}return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(typeof hd[e]==`function`?gd(e,t):Error(t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}case`-0`:return-0}return n(gd(a,o),i)};return r},vd=e=>_d(new Map,e)(0),yd=``,{toString:bd}={},{keys:xd,is:Sd}=Object,Cd=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=bd.call(e).slice(8,-1);switch(n){case`Array`:return[1,yd];case`Object`:return[2,yd];case`Date`:return[3,yd];case`RegExp`:return[4,yd];case`Map`:return[5,yd];case`Set`:return[6,yd];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:e instanceof Error?[7,e.name||`Error`]:[2,n]},wd=([e,t])=>e===0&&(t===`function`||t===`symbol`),Td=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=o=>{if(n.has(o))return n.get(o);let[s,c]=Cd(o);switch(s){case 0:{let t=o;switch(c){case`bigint`:s=8,t=o.toString();break;case`number`:if(!o&&Sd(o,-0))return r.push([`-0`])-1;break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+c);t=null;break;case`undefined`:return i([-1],o)}return i([s,t],o)}case 1:{if(c){let e=o;return c===`DataView`?e=new Uint8Array(o.buffer):c===`ArrayBuffer`&&(e=new Uint8Array(o)),i([c,[...e]],o)}let e=[],t=i([s,e],o);for(let t of o)e.push(a(t));return t}case 2:{if(c)switch(c){case`BigInt`:return i([c,o.toString()],o);case`Boolean`:case`Number`:case`String`:return i([c,o.valueOf()],o)}if(t&&`toJSON`in o)return a(o.toJSON());let n=[],r=i([s,n],o);for(let t of xd(o))(e||!wd(Cd(o[t])))&&n.push([a(t),a(o[t])]);return r}case 3:return i([s,isNaN(o.getTime())?yd:o.toISOString()],o);case 4:{let{source:e,flags:t}=o;return i([s,{source:e,flags:t}],o)}case 5:{let t=[],n=i([s,t],o);for(let[n,r]of o)(e||!(wd(Cd(n))||wd(Cd(r))))&&t.push([a(n),a(r)]);return n}case 6:{let t=[],n=i([s,t],o);for(let n of o)(e||!wd(Cd(n)))&&t.push(a(n));return n}}let{message:l}=o;return i([s,{name:c,message:l}],o)};return a},Ed=(e,{json:t,lossy:n}={})=>{let r=[];return Td(!(t||n),!!t,new Map,r)(e),r},Dd=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?vd(Ed(e,t)):structuredClone(e):(e,t)=>vd(Ed(e,t)),Od=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Od.prototype.normal={},Od.prototype.property={},Od.prototype.space=void 0;function kd(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Od(n,r,t)}function Ad(e){return e.toLowerCase()}var jd=class{constructor(e,t){this.attribute=t,this.property=e}};jd.prototype.attribute=``,jd.prototype.booleanish=!1,jd.prototype.boolean=!1,jd.prototype.commaOrSpaceSeparated=!1,jd.prototype.commaSeparated=!1,jd.prototype.defined=!1,jd.prototype.mustUseProperty=!1,jd.prototype.number=!1,jd.prototype.overloadedBoolean=!1,jd.prototype.property=``,jd.prototype.spaceSeparated=!1,jd.prototype.space=void 0;var Md=e({boolean:()=>Pd,booleanish:()=>Fd,commaOrSpaceSeparated:()=>zd,commaSeparated:()=>Rd,number:()=>U,overloadedBoolean:()=>Id,spaceSeparated:()=>Ld}),Nd=0,Pd=Bd(),Fd=Bd(),Id=Bd(),U=Bd(),Ld=Bd(),Rd=Bd(),zd=Bd();function Bd(){return 2**++Nd}var Vd=Object.keys(Md),Hd=class extends jd{constructor(e,t,n,r){let i=-1;if(super(e,t),Ud(this,`space`,r),typeof n==`number`)for(;++i<Vd.length;){let e=Vd[i];Ud(this,Vd[i],(n&Md[e])===Md[e])}}};Hd.prototype.defined=!0;function Ud(e,t,n){n&&(e[t]=n)}function Wd(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Hd(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Ad(r)]=r,n[Ad(a.attribute)]=r}return new Od(t,n,e.space)}var Gd=Wd({properties:{ariaActiveDescendant:null,ariaAtomic:Fd,ariaAutoComplete:null,ariaBusy:Fd,ariaChecked:Fd,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Ld,ariaCurrent:null,ariaDescribedBy:Ld,ariaDetails:null,ariaDisabled:Fd,ariaDropEffect:Ld,ariaErrorMessage:null,ariaExpanded:Fd,ariaFlowTo:Ld,ariaGrabbed:Fd,ariaHasPopup:null,ariaHidden:Fd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ld,ariaLevel:U,ariaLive:null,ariaModal:Fd,ariaMultiLine:Fd,ariaMultiSelectable:Fd,ariaOrientation:null,ariaOwns:Ld,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:Fd,ariaReadOnly:Fd,ariaRelevant:null,ariaRequired:Fd,ariaRoleDescription:Ld,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:Fd,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Kd(e,t){return t in e?e[t]:t}function qd(e,t){return Kd(e,t.toLowerCase())}var Jd=Wd({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Rd,acceptCharset:Ld,accessKey:Ld,action:null,allow:null,allowFullScreen:Pd,allowPaymentRequest:Pd,allowUserMedia:Pd,alpha:Pd,alt:null,as:null,async:Pd,autoCapitalize:null,autoComplete:Ld,autoFocus:Pd,autoPlay:Pd,blocking:Ld,capture:null,charSet:null,checked:Pd,cite:null,className:Ld,closedBy:null,colorSpace:null,cols:U,colSpan:U,command:null,commandFor:null,content:null,contentEditable:Fd,controls:Pd,controlsList:Ld,coords:U|Rd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pd,defer:Pd,dir:null,dirName:null,disabled:Pd,download:Id,draggable:Fd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pd,formTarget:null,headers:Ld,height:U,hidden:Id,high:U,href:null,hrefLang:null,htmlFor:Ld,httpEquiv:Ld,id:null,imageSizes:null,imageSrcSet:null,inert:Pd,inputMode:null,integrity:null,is:null,isMap:Pd,itemId:null,itemProp:Ld,itemRef:Ld,itemScope:Pd,itemType:Ld,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pd,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:Pd,muted:Pd,name:null,nonce:null,noModule:Pd,noValidate:Pd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Pd,optimum:U,pattern:null,ping:Ld,placeholder:null,playsInline:Pd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pd,referrerPolicy:null,rel:Ld,required:Pd,reversed:Pd,rows:U,rowSpan:U,sandbox:Ld,scope:null,scoped:Pd,seamless:Pd,selected:Pd,shadowRootClonable:Pd,shadowRootCustomElementRegistry:Pd,shadowRootDelegatesFocus:Pd,shadowRootMode:null,shadowRootSerializable:Pd,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:Fd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:Pd,useMap:null,value:Fd,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ld,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pd,declare:Pd,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:Pd,noHref:Pd,noShade:Pd,noWrap:Pd,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:Fd,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Pd,disablePictureInPicture:Pd,disableRemotePlayback:Pd,exportParts:Rd,part:Ld,prefix:null,property:null,results:U,security:null,unselectable:null},space:`html`,transform:qd}),Yd=Wd({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:zd,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Ld,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:Pd,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Rd,g2:Rd,glyphName:Rd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:zd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ld,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zd,rev:zd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zd,requiredFeatures:zd,requiredFonts:zd,requiredFormats:zd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:zd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zd,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Kd}),Xd=Wd({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Zd=Wd({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:qd}),Qd=Wd({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),$d={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},ef=/[A-Z]/g,tf=/-[a-z]/g,nf=/^data[-\w.:]+$/i;function rf(e,t){let n=Ad(t),r=t,i=jd;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&nf.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(tf,of);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tf.test(e)){let n=e.replace(ef,af);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Hd}return new i(r,t)}function af(e){return`-`+e.toLowerCase()}function of(e){return e.charAt(1).toUpperCase()}var sf=kd([Gd,Jd,Xd,Zd,Qd],`html`),cf=kd([Gd,Yd,Xd,Zd,Qd],`svg`);function lf(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function uf(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var df=/[#.]/g;function ff(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){df.lastIndex=i;let e=df.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function pf(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function mf(e){return e.join(` `).trim()}function hf(e,t,n){let r=n?xf(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=ff(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,gf(i))a.unshift(i);else for(let[t,n]of Object.entries(i))_f(e,o.properties,t,n)}for(let e of a)vf(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function gf(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function _f(e,t,n,r){let i=rf(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?pf(r):i.commaSeparated?lf(r):i.commaOrSpaceSeparated?pf(lf(r).join(` `)):yf(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?bf(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(yf(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function vf(e,t){if(t!=null){if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)vf(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?vf(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}}function yf(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||Ad(n)===Ad(t)))return!0}return n}function bf(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function xf(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var Sf=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),Cf=hf(sf,`div`),wf=hf(cf,`g`,Sf);function Tf(e){let t=String(e),n=[];return{toOffset:i,toPoint:r};function r(e){if(typeof e==`number`&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(i===void 0){let e=Ef(t,n[r-1]);i=e===-1?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}function i(e){if(e&&typeof e.line==`number`&&typeof e.column==`number`&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=Ef(t,e),i=r===-1?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}}}function Ef(e,t){let n=e.indexOf(`\r`,t),r=e.indexOf(`
|
|
292
292
|
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}var Df={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`},Of={}.hasOwnProperty,kf=Object.prototype;function Af(e,t){let n=t||{};return jf({file:n.file||void 0,location:!1,schema:n.space===`svg`?cf:sf,verbose:n.verbose||!1},e)}function jf(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},Pf(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:Mf(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=Tf(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},Pf(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},Pf(e,r,n),n}default:return n=Nf(e,t),n}}function Mf(e,t){let n=-1,r=[];for(;++n<t.length;){let i=jf(e,t[n]);r.push(i)}return r}function Nf(e,t){let n=e.schema;e.schema=t.namespaceURI===Df.svg?cf:sf;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;Of.call(kf,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?wf:Cf)(t.tagName,i,Mf(e,t.childNodes));if(Pf(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&If(r.startTag),o=r&&r.endTag&&If(r.endTag),s=jf(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function Pf(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=Ff(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Ff(e,t,n){let r=If(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)Of.call(n.attrs,i)&&(r[rf(e.schema,i).property]=If(n.attrs[i]));n.startTag;let a=If(n.startTag),o=n.endTag?If(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function If(e){let t=Lf({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Lf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Lf(e){return e.line&&e.column?e:void 0}var Rf={}.hasOwnProperty;function zf(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&Rf.call(t,e)){let n=String(t[e]);i=Rf.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Bf={},Vf={}.hasOwnProperty,Hf=zf(`type`,{handlers:{root:Wf,element:Yf,text:qf,comment:Jf,doctype:Kf}});function Uf(e,t){let n=(t||Bf).space;return Hf(e,n===`svg`?cf:sf)}function Wf(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=Zf(e.children,n,t),Qf(e,n),n}function Gf(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=Zf(e.children,n,t),Qf(e,n),n}function Kf(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return Qf(e,t),t}function qf(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return Qf(e,t),t}function Jf(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return Qf(e,t),t}function Yf(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=cf);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&Vf.call(e.properties,a)){let t=Xf(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Df[o],childNodes:[],parentNode:null};return s.childNodes=Zf(e.children,s,r),Qf(e,s),e.tagName===`template`&&e.content&&(s.content=Gf(e.content,r)),s}function Xf(e,t,n){let r=rf(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?uf(n):mf(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Df[r.space]}return i}function Zf(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=Hf(e[r],n);a.parentNode=t,i.push(a)}return i}function Qf(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var $f=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],ep=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),W;(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(W||={});var tp={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function np(e){return e>=55296&&e<=57343}function rp(e){return e>=56320&&e<=57343}function ip(e,t){return(e-55296)*1024+9216+t}function ap(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function op(e){return e>=64976&&e<=65007||ep.has(e)}var G;(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(G||={});var sp=65536,cp=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=sp,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(rp(t))return this.pos++,this._addGap(),ip(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,W.EOF;return this._err(G.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,W.EOF;let n=this.html.charCodeAt(t);return n===W.CARRIAGE_RETURN?W.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,W.EOF;let e=this.html.charCodeAt(this.pos);return e===W.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,W.LINE_FEED):e===W.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,np(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===W.LINE_FEED||e===W.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ap(e)?this._err(G.controlCharacterInInputStream):op(e)&&this._err(G.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},lp;(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(lp||={});function up(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var dp=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),fp=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);String.fromCodePoint;function pp(e){return e>=55296&&e<=57343||e>1114111?65533:fp.get(e)??e}var mp;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(mp||={});var hp=32,gp;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(gp||={});function _p(e){return e>=mp.ZERO&&e<=mp.NINE}function vp(e){return e>=mp.UPPER_A&&e<=mp.UPPER_F||e>=mp.LOWER_A&&e<=mp.LOWER_F}function yp(e){return e>=mp.UPPER_A&&e<=mp.UPPER_Z||e>=mp.LOWER_A&&e<=mp.LOWER_Z||_p(e)}function bp(e){return e===mp.EQUALS||yp(e)}var xp;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(xp||={});var Sp;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Sp||={});var Cp=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=xp.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Sp.Strict}startEntity(e){this.decodeMode=e,this.state=xp.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case xp.EntityStart:return e.charCodeAt(t)===mp.NUM?(this.state=xp.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=xp.NamedEntity,this.stateNamedEntity(e,t));case xp.NumericStart:return this.stateNumericStart(e,t);case xp.NumericDecimal:return this.stateNumericDecimal(e,t);case xp.NumericHex:return this.stateNumericHex(e,t);case xp.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|hp)===mp.LOWER_X?(this.state=xp.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=xp.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(_p(r)||vp(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(_p(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===mp.SEMI)this.consumed+=1;else if(this.decodeMode===Sp.Strict)return 0;return this.emitCodePoint(pp(this.result),this.consumed),this.errors&&(e!==mp.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&gp.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=wp(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Sp.Attribute&&(i===0||bp(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&gp.VALUE_LENGTH)>>14,i!==0){if(a===mp.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Sp.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&gp.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~gp.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case xp.NamedEntity:return this.result!==0&&(this.decodeMode!==Sp.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xp.NumericDecimal:return this.emitNumericEntity(0,2);case xp.NumericHex:return this.emitNumericEntity(0,3);case xp.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xp.EntityStart:return 0}}};function wp(e,t,n,r){let i=(t&gp.BRANCH_LENGTH)>>7,a=t&gp.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var K;(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(K||={});var Tp;(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(Tp||={});var Ep;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(Ep||={});var q;(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(q||={});var J;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(J||={});var Dp=new Map([[q.A,J.A],[q.ADDRESS,J.ADDRESS],[q.ANNOTATION_XML,J.ANNOTATION_XML],[q.APPLET,J.APPLET],[q.AREA,J.AREA],[q.ARTICLE,J.ARTICLE],[q.ASIDE,J.ASIDE],[q.B,J.B],[q.BASE,J.BASE],[q.BASEFONT,J.BASEFONT],[q.BGSOUND,J.BGSOUND],[q.BIG,J.BIG],[q.BLOCKQUOTE,J.BLOCKQUOTE],[q.BODY,J.BODY],[q.BR,J.BR],[q.BUTTON,J.BUTTON],[q.CAPTION,J.CAPTION],[q.CENTER,J.CENTER],[q.CODE,J.CODE],[q.COL,J.COL],[q.COLGROUP,J.COLGROUP],[q.DD,J.DD],[q.DESC,J.DESC],[q.DETAILS,J.DETAILS],[q.DIALOG,J.DIALOG],[q.DIR,J.DIR],[q.DIV,J.DIV],[q.DL,J.DL],[q.DT,J.DT],[q.EM,J.EM],[q.EMBED,J.EMBED],[q.FIELDSET,J.FIELDSET],[q.FIGCAPTION,J.FIGCAPTION],[q.FIGURE,J.FIGURE],[q.FONT,J.FONT],[q.FOOTER,J.FOOTER],[q.FOREIGN_OBJECT,J.FOREIGN_OBJECT],[q.FORM,J.FORM],[q.FRAME,J.FRAME],[q.FRAMESET,J.FRAMESET],[q.H1,J.H1],[q.H2,J.H2],[q.H3,J.H3],[q.H4,J.H4],[q.H5,J.H5],[q.H6,J.H6],[q.HEAD,J.HEAD],[q.HEADER,J.HEADER],[q.HGROUP,J.HGROUP],[q.HR,J.HR],[q.HTML,J.HTML],[q.I,J.I],[q.IMG,J.IMG],[q.IMAGE,J.IMAGE],[q.INPUT,J.INPUT],[q.IFRAME,J.IFRAME],[q.KEYGEN,J.KEYGEN],[q.LABEL,J.LABEL],[q.LI,J.LI],[q.LINK,J.LINK],[q.LISTING,J.LISTING],[q.MAIN,J.MAIN],[q.MALIGNMARK,J.MALIGNMARK],[q.MARQUEE,J.MARQUEE],[q.MATH,J.MATH],[q.MENU,J.MENU],[q.META,J.META],[q.MGLYPH,J.MGLYPH],[q.MI,J.MI],[q.MO,J.MO],[q.MN,J.MN],[q.MS,J.MS],[q.MTEXT,J.MTEXT],[q.NAV,J.NAV],[q.NOBR,J.NOBR],[q.NOFRAMES,J.NOFRAMES],[q.NOEMBED,J.NOEMBED],[q.NOSCRIPT,J.NOSCRIPT],[q.OBJECT,J.OBJECT],[q.OL,J.OL],[q.OPTGROUP,J.OPTGROUP],[q.OPTION,J.OPTION],[q.P,J.P],[q.PARAM,J.PARAM],[q.PLAINTEXT,J.PLAINTEXT],[q.PRE,J.PRE],[q.RB,J.RB],[q.RP,J.RP],[q.RT,J.RT],[q.RTC,J.RTC],[q.RUBY,J.RUBY],[q.S,J.S],[q.SCRIPT,J.SCRIPT],[q.SEARCH,J.SEARCH],[q.SECTION,J.SECTION],[q.SELECT,J.SELECT],[q.SOURCE,J.SOURCE],[q.SMALL,J.SMALL],[q.SPAN,J.SPAN],[q.STRIKE,J.STRIKE],[q.STRONG,J.STRONG],[q.STYLE,J.STYLE],[q.SUB,J.SUB],[q.SUMMARY,J.SUMMARY],[q.SUP,J.SUP],[q.TABLE,J.TABLE],[q.TBODY,J.TBODY],[q.TEMPLATE,J.TEMPLATE],[q.TEXTAREA,J.TEXTAREA],[q.TFOOT,J.TFOOT],[q.TD,J.TD],[q.TH,J.TH],[q.THEAD,J.THEAD],[q.TITLE,J.TITLE],[q.TR,J.TR],[q.TRACK,J.TRACK],[q.TT,J.TT],[q.U,J.U],[q.UL,J.UL],[q.SVG,J.SVG],[q.VAR,J.VAR],[q.WBR,J.WBR],[q.XMP,J.XMP]]);function Op(e){return Dp.get(e)??J.UNKNOWN}var Y=J,kp={[K.HTML]:new Set([Y.ADDRESS,Y.APPLET,Y.AREA,Y.ARTICLE,Y.ASIDE,Y.BASE,Y.BASEFONT,Y.BGSOUND,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.BUTTON,Y.CAPTION,Y.CENTER,Y.COL,Y.COLGROUP,Y.DD,Y.DETAILS,Y.DIR,Y.DIV,Y.DL,Y.DT,Y.EMBED,Y.FIELDSET,Y.FIGCAPTION,Y.FIGURE,Y.FOOTER,Y.FORM,Y.FRAME,Y.FRAMESET,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HEADER,Y.HGROUP,Y.HR,Y.HTML,Y.IFRAME,Y.IMG,Y.INPUT,Y.LI,Y.LINK,Y.LISTING,Y.MAIN,Y.MARQUEE,Y.MENU,Y.META,Y.NAV,Y.NOEMBED,Y.NOFRAMES,Y.NOSCRIPT,Y.OBJECT,Y.OL,Y.P,Y.PARAM,Y.PLAINTEXT,Y.PRE,Y.SCRIPT,Y.SECTION,Y.SELECT,Y.SOURCE,Y.STYLE,Y.SUMMARY,Y.TABLE,Y.TBODY,Y.TD,Y.TEMPLATE,Y.TEXTAREA,Y.TFOOT,Y.TH,Y.THEAD,Y.TITLE,Y.TR,Y.TRACK,Y.UL,Y.WBR,Y.XMP]),[K.MATHML]:new Set([Y.MI,Y.MO,Y.MN,Y.MS,Y.MTEXT,Y.ANNOTATION_XML]),[K.SVG]:new Set([Y.TITLE,Y.FOREIGN_OBJECT,Y.DESC]),[K.XLINK]:new Set,[K.XML]:new Set,[K.XMLNS]:new Set},Ap=new Set([Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6]);q.STYLE,q.SCRIPT,q.XMP,q.IFRAME,q.NOEMBED,q.NOFRAMES,q.PLAINTEXT;var X;(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(X||={});var jp={DATA:X.DATA,RCDATA:X.RCDATA,RAWTEXT:X.RAWTEXT,SCRIPT_DATA:X.SCRIPT_DATA,PLAINTEXT:X.PLAINTEXT,CDATA_SECTION:X.CDATA_SECTION};function Mp(e){return e>=W.DIGIT_0&&e<=W.DIGIT_9}function Np(e){return e>=W.LATIN_CAPITAL_A&&e<=W.LATIN_CAPITAL_Z}function Pp(e){return e>=W.LATIN_SMALL_A&&e<=W.LATIN_SMALL_Z}function Fp(e){return Pp(e)||Np(e)}function Ip(e){return Fp(e)||Mp(e)}function Lp(e){return e+32}function Rp(e){return e===W.SPACE||e===W.LINE_FEED||e===W.TABULATION||e===W.FORM_FEED}function zp(e){return Rp(e)||e===W.SOLIDUS||e===W.GREATER_THAN_SIGN}function Bp(e){return e===W.NULL?G.nullCharacterReference:e>1114111?G.characterReferenceOutsideUnicodeRange:np(e)?G.surrogateCharacterReference:op(e)?G.noncharacterCharacterReference:ap(e)||e===W.CARRIAGE_RETURN?G.controlCharacterReference:null}var Vp=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=X.DATA,this.returnState=X.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new cp(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Cp(dp,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(G.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(G.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=Bp(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:lp.START_TAG,tagName:``,tagID:J.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:lp.END_TAG,tagName:``,tagID:J.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:lp.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:lp.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(up(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(G.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=Op(e.tagName),e.type===lp.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(G.endTagWithAttributes),e.selfClosing&&this._err(G.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case lp.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case lp.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case lp.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:lp.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Rp(e)?lp.WHITESPACE_CHARACTER:e===W.NULL?lp.NULL_CHARACTER:lp.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(lp.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=X.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Sp.Attribute:Sp.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===X.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===X.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===X.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case X.DATA:this._stateData(e);break;case X.RCDATA:this._stateRcdata(e);break;case X.RAWTEXT:this._stateRawtext(e);break;case X.SCRIPT_DATA:this._stateScriptData(e);break;case X.PLAINTEXT:this._statePlaintext(e);break;case X.TAG_OPEN:this._stateTagOpen(e);break;case X.END_TAG_OPEN:this._stateEndTagOpen(e);break;case X.TAG_NAME:this._stateTagName(e);break;case X.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case X.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case X.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case X.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case X.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case X.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case X.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case X.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case X.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case X.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case X.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case X.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case X.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case X.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case X.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case X.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case X.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case X.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case X.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case X.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case X.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case X.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case X.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case X.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case X.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case X.BOGUS_COMMENT:this._stateBogusComment(e);break;case X.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case X.COMMENT_START:this._stateCommentStart(e);break;case X.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case X.COMMENT:this._stateComment(e);break;case X.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case X.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case X.COMMENT_END:this._stateCommentEnd(e);break;case X.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case X.DOCTYPE:this._stateDoctype(e);break;case X.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case X.DOCTYPE_NAME:this._stateDoctypeName(e);break;case X.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case X.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case X.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case X.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case X.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case X.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case X.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case X.CDATA_SECTION:this._stateCdataSection(e);break;case X.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case X.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case X.CHARACTER_REFERENCE:this._stateCharacterReference();break;case X.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case W.LESS_THAN_SIGN:this.state=X.TAG_OPEN;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitCodePoint(e);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case W.AMPERSAND:this._startCharacterReference();break;case W.LESS_THAN_SIGN:this.state=X.RCDATA_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case W.LESS_THAN_SIGN:this.state=X.RAWTEXT_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Fp(e))this._createStartTagToken(),this.state=X.TAG_NAME,this._stateTagName(e);else switch(e){case W.EXCLAMATION_MARK:this.state=X.MARKUP_DECLARATION_OPEN;break;case W.SOLIDUS:this.state=X.END_TAG_OPEN;break;case W.QUESTION_MARK:this._err(G.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e);break;case W.EOF:this._err(G.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(G.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=X.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Fp(e))this._createEndTagToken(),this.state=X.TAG_NAME,this._stateTagName(e);else switch(e){case W.GREATER_THAN_SIGN:this._err(G.missingEndTagName),this.state=X.DATA;break;case W.EOF:this._err(G.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(G.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.BEFORE_ATTRIBUTE_NAME;break;case W.SOLIDUS:this.state=X.SELF_CLOSING_START_TAG;break;case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentTagToken();break;case W.NULL:this._err(G.unexpectedNullCharacter),t.tagName+=`�`;break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(Np(e)?Lp(e):e)}}_stateRcdataLessThanSign(e){e===W.SOLIDUS?this.state=X.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=X.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Fp(e)?(this.state=X.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=X.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=X.BEFORE_ATTRIBUTE_NAME,!1;case W.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=X.SELF_CLOSING_START_TAG,!1;case W.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=X.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=X.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===W.SOLIDUS?this.state=X.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Fp(e)?(this.state=X.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case W.SOLIDUS:this.state=X.SCRIPT_DATA_END_TAG_OPEN;break;case W.EXCLAMATION_MARK:this.state=X.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=X.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Fp(e)?(this.state=X.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===W.HYPHEN_MINUS?(this.state=X.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===W.HYPHEN_MINUS?(this.state=X.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case W.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case W.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case W.HYPHEN_MINUS:this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.GREATER_THAN_SIGN:this.state=X.SCRIPT_DATA,this._emitChars(`>`);break;case W.NULL:this._err(G.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===W.SOLIDUS?this.state=X.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Fp(e)?(this._emitChars(`<`),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Fp(e)?(this.state=X.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(tp.SCRIPT,!1)&&zp(this.preprocessor.peek(tp.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<tp.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case W.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.NULL:this._err(G.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case W.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.NULL:this._err(G.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case W.HYPHEN_MINUS:this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.GREATER_THAN_SIGN:this.state=X.SCRIPT_DATA,this._emitChars(`>`);break;case W.NULL:this._err(G.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===W.SOLIDUS?(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(tp.SCRIPT,!1)&&zp(this.preprocessor.peek(tp.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<tp.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=X.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.SOLIDUS:case W.GREATER_THAN_SIGN:case W.EOF:this.state=X.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case W.EQUALS_SIGN:this._err(G.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=X.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=X.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:case W.SOLIDUS:case W.GREATER_THAN_SIGN:case W.EOF:this._leaveAttrName(),this.state=X.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case W.EQUALS_SIGN:this._leaveAttrName(),this.state=X.BEFORE_ATTRIBUTE_VALUE;break;case W.QUOTATION_MARK:case W.APOSTROPHE:case W.LESS_THAN_SIGN:this._err(G.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case W.NULL:this._err(G.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(Np(e)?Lp(e):e)}}_stateAfterAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.SOLIDUS:this.state=X.SELF_CLOSING_START_TAG;break;case W.EQUALS_SIGN:this.state=X.BEFORE_ATTRIBUTE_VALUE;break;case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentTagToken();break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=X.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:this.state=X.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case W.APOSTROPHE:this.state=X.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(G.missingAttributeValue),this.state=X.DATA,this.emitCurrentTagToken();break;default:this.state=X.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case W.QUOTATION_MARK:this.state=X.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(G.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case W.APOSTROPHE:this.state=X.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(G.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this._leaveAttrValue(),this.state=X.BEFORE_ATTRIBUTE_NAME;break;case W.AMPERSAND:this._startCharacterReference();break;case W.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=X.DATA,this.emitCurrentTagToken();break;case W.NULL:this._err(G.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.QUOTATION_MARK:case W.APOSTROPHE:case W.LESS_THAN_SIGN:case W.EQUALS_SIGN:case W.GRAVE_ACCENT:this._err(G.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this._leaveAttrValue(),this.state=X.BEFORE_ATTRIBUTE_NAME;break;case W.SOLIDUS:this._leaveAttrValue(),this.state=X.SELF_CLOSING_START_TAG;break;case W.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=X.DATA,this.emitCurrentTagToken();break;case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this._err(G.missingWhitespaceBetweenAttributes),this.state=X.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case W.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=X.DATA,this.emitCurrentTagToken();break}case W.EOF:this._err(G.eofInTag),this._emitEOFToken();break;default:this._err(G.unexpectedSolidusInTag),this.state=X.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentComment(t);break;case W.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case W.NULL:this._err(G.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(tp.DASH_DASH,!0)?(this._createCommentToken(tp.DASH_DASH.length+1),this.state=X.COMMENT_START):this._consumeSequenceIfMatch(tp.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tp.DOCTYPE.length+1),this.state=X.DOCTYPE):this._consumeSequenceIfMatch(tp.CDATA_START,!0)?this.inForeignNode?this.state=X.CDATA_SECTION:(this._err(G.cdataInHtmlContent),this._createCommentToken(tp.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=X.BOGUS_COMMENT):this._ensureHibernation()||(this._err(G.incorrectlyOpenedComment),this._createCommentToken(2),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case W.HYPHEN_MINUS:this.state=X.COMMENT_START_DASH;break;case W.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=X.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=X.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=X.COMMENT_END;break;case W.GREATER_THAN_SIGN:this._err(G.abruptClosingOfEmptyComment),this.state=X.DATA,this.emitCurrentComment(t);break;case W.EOF:this._err(G.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=X.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=X.COMMENT_END_DASH;break;case W.LESS_THAN_SIGN:t.data+=`<`,this.state=X.COMMENT_LESS_THAN_SIGN;break;case W.NULL:this._err(G.unexpectedNullCharacter),t.data+=`�`;break;case W.EOF:this._err(G.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case W.EXCLAMATION_MARK:t.data+=`!`,this.state=X.COMMENT_LESS_THAN_SIGN_BANG;break;case W.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=X.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===W.HYPHEN_MINUS?this.state=X.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=X.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===W.HYPHEN_MINUS?this.state=X.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=X.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==W.GREATER_THAN_SIGN&&e!==W.EOF&&this._err(G.nestedComment),this.state=X.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=X.COMMENT_END;break;case W.EOF:this._err(G.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=X.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentComment(t);break;case W.EXCLAMATION_MARK:this.state=X.COMMENT_END_BANG;break;case W.HYPHEN_MINUS:t.data+=`-`;break;case W.EOF:this._err(G.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=X.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:t.data+=`--!`,this.state=X.COMMENT_END_DASH;break;case W.GREATER_THAN_SIGN:this._err(G.incorrectlyClosedComment),this.state=X.DATA,this.emitCurrentComment(t);break;case W.EOF:this._err(G.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=X.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.BEFORE_DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:this.state=X.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case W.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBeforeDoctypeName),this.state=X.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Np(e))this._createDoctypeToken(String.fromCharCode(Lp(e))),this.state=X.DOCTYPE_NAME;else switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.NULL:this._err(G.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=X.DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:{this._err(G.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=X.DATA;break}case W.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=X.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.AFTER_DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.NULL:this._err(G.unexpectedNullCharacter),t.name+=`�`;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(Np(e)?Lp(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(tp.PUBLIC,!1)?this.state=X.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tp.SYSTEM,!1)?this.state=X.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(G.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.QUOTATION_MARK:this._err(G.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(G.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(G.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:t.publicId=``,this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.publicId=``,this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(G.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case W.QUOTATION_MARK:this.state=X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.NULL:this._err(G.unexpectedNullCharacter),t.publicId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(G.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case W.APOSTROPHE:this.state=X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.NULL:this._err(G.unexpectedNullCharacter),t.publicId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(G.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case W.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.QUOTATION_MARK:this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.QUOTATION_MARK:t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=X.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.QUOTATION_MARK:this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(G.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.systemId=``,this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(G.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case W.QUOTATION_MARK:this.state=X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.NULL:this._err(G.unexpectedNullCharacter),t.systemId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(G.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case W.APOSTROPHE:this.state=X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.NULL:this._err(G.unexpectedNullCharacter),t.systemId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(G.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.EOF:this._err(G.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(G.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case W.NULL:this._err(G.unexpectedNullCharacter);break;case W.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case W.RIGHT_SQUARE_BRACKET:this.state=X.CDATA_SECTION_BRACKET;break;case W.EOF:this._err(G.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===W.RIGHT_SQUARE_BRACKET?this.state=X.CDATA_SECTION_END:(this._emitChars(`]`),this.state=X.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case W.GREATER_THAN_SIGN:this.state=X.DATA;break;case W.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=X.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(W.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Ip(this.preprocessor.peek(1))?X.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){Ip(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===W.SEMICOLON&&this._err(G.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},Hp=new Set([J.DD,J.DT,J.LI,J.OPTGROUP,J.OPTION,J.P,J.RB,J.RP,J.RT,J.RTC]),Up=new Set([...Hp,J.CAPTION,J.COLGROUP,J.TBODY,J.TD,J.TFOOT,J.TH,J.THEAD,J.TR]),Wp=new Set([J.APPLET,J.CAPTION,J.HTML,J.MARQUEE,J.OBJECT,J.TABLE,J.TD,J.TEMPLATE,J.TH]),Gp=new Set([...Wp,J.OL,J.UL]),Kp=new Set([...Wp,J.BUTTON]),qp=new Set([J.ANNOTATION_XML,J.MI,J.MN,J.MO,J.MS,J.MTEXT]),Jp=new Set([J.DESC,J.FOREIGN_OBJECT,J.TITLE]),Yp=new Set([J.TR,J.TEMPLATE,J.HTML]),Xp=new Set([J.TBODY,J.TFOOT,J.THEAD,J.TEMPLATE,J.HTML]),Zp=new Set([J.TABLE,J.TEMPLATE,J.HTML]),Qp=new Set([J.TD,J.TH]),$p=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=J.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===J.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===K.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==K.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Ap,K.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Qp,K.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Zp,K.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Xp,K.HTML)}clearBackToTableRowContext(){this.clearBackTo(Yp,K.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===J.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===J.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case K.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case K.SVG:if(Jp.has(r))return!1;break;case K.MATHML:if(qp.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,Wp)}hasInListItemScope(e){return this.hasInDynamicScope(e,Gp)}hasInButtonScope(e){return this.hasInDynamicScope(e,Kp)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case K.HTML:if(Ap.has(t))return!0;if(Wp.has(t))return!1;break;case K.SVG:if(Jp.has(t))return!1;break;case K.MATHML:if(qp.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===K.HTML)switch(this.tagIDs[t]){case e:return!0;case J.TABLE:case J.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===K.HTML)switch(this.tagIDs[e]){case J.TBODY:case J.THEAD:case J.TFOOT:return!0;case J.TABLE:case J.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===K.HTML)switch(this.tagIDs[t]){case e:return!0;case J.OPTION:case J.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hp.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Up.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&Up.has(this.currentTagId);)this.pop()}},em=3,tm;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(tm||={});var nm={type:tm.Marker},rm=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===tm.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<em)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<em)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=em&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(nm)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:tm.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:tm.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(nm);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===tm.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===tm.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===tm.Element&&t.element===e)}},im={createDocument(){return{nodeName:`#document`,mode:Ep.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};im.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(im.isTextNode(n)){n.value+=t;return}}im.appendChild(e,im.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&im.isTextNode(r)?r.value+=t:im.insertBefore(e,im.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},am=`html`,om=`about:legacy-compat`,sm=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,cm=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),lm=[...cm,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],um=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),dm=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],fm=[...dm,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function pm(e,t){return t.some(t=>e.startsWith(t))}function mm(e){return e.name===am&&e.publicId===null&&(e.systemId===null||e.systemId===om)}function hm(e){if(e.name!==am)return Ep.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===sm)return Ep.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),um.has(n))return Ep.QUIRKS;let e=t===null?lm:cm;if(pm(n,e))return Ep.QUIRKS;if(e=t===null?dm:fm,pm(n,e))return Ep.LIMITED_QUIRKS}return Ep.NO_QUIRKS}var gm={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},_m=`definitionurl`,vm=`definitionURL`,ym=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),bm=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:K.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:K.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:K.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:K.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:K.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:K.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:K.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:K.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:K.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:K.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:K.XMLNS}]]),xm=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),Sm=new Set([J.B,J.BIG,J.BLOCKQUOTE,J.BODY,J.BR,J.CENTER,J.CODE,J.DD,J.DIV,J.DL,J.DT,J.EM,J.EMBED,J.H1,J.H2,J.H3,J.H4,J.H5,J.H6,J.HEAD,J.HR,J.I,J.IMG,J.LI,J.LISTING,J.MENU,J.META,J.NOBR,J.OL,J.P,J.PRE,J.RUBY,J.S,J.SMALL,J.SPAN,J.STRONG,J.STRIKE,J.SUB,J.SUP,J.TABLE,J.TT,J.U,J.UL,J.VAR]);function Cm(e){let t=e.tagID;return t===J.FONT&&e.attrs.some(({name:e})=>e===Tp.COLOR||e===Tp.SIZE||e===Tp.FACE)||Sm.has(t)}function wm(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===_m){e.attrs[t].name=vm;break}}function Tm(e){for(let t=0;t<e.attrs.length;t++){let n=ym.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Em(e){for(let t=0;t<e.attrs.length;t++){let n=bm.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function Dm(e){let t=xm.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Op(e.tagName))}function Om(e,t){return t===K.MATHML&&(e===J.MI||e===J.MO||e===J.MN||e===J.MS||e===J.MTEXT)}function km(e,t,n){if(t===K.MATHML&&e===J.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===Tp.ENCODING){let t=n[e].value.toLowerCase();return t===gm.TEXT_HTML||t===gm.APPLICATION_XML}}return t===K.SVG&&(e===J.FOREIGN_OBJECT||e===J.DESC||e===J.TITLE)}function Am(e,t,n,r){return(!r||r===K.HTML)&&km(e,t,n)||(!r||r===K.MATHML)&&Om(e,t)}var jm=`hidden`,Mm=8,Nm=3,Z;(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(Z||={});var Pm={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Fm=new Set([J.TABLE,J.TBODY,J.TFOOT,J.THEAD,J.TR]),Im={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:im,onParseError:null},Lm=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Z.INITIAL,this.originalInsertionMode=Z.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Im,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Vp(this.options,this),this.activeFormattingElements=new rm(this.treeAdapter),this.fragmentContextID=n?Op(this.treeAdapter.getTagName(n)):J.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new $p(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...Im,...t};e??=n.treeAdapter.createElement(q.TEMPLATE,K.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,K.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===J.TEMPLATE&&i.tmplInsertionModeStack.unshift(Z.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??Pm,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===K.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,K.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Z.TEXT}switchToPlaintextParsing(){this.insertionMode=Z.TEXT,this.originalInsertionMode=Z.IN_BODY,this.tokenizer.state=jp.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===q.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===K.HTML)switch(this.fragmentContextID){case J.TITLE:case J.TEXTAREA:this.tokenizer.state=jp.RCDATA;break;case J.STYLE:case J.XMP:case J.IFRAME:case J.NOEMBED:case J.NOFRAMES:case J.NOSCRIPT:this.tokenizer.state=jp.RAWTEXT;break;case J.SCRIPT:this.tokenizer.state=jp.SCRIPT_DATA;break;case J.PLAINTEXT:this.tokenizer.state=jp.PLAINTEXT}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,K.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,K.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(q.HTML,K.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,J.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===lp.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===J.SVG&&this.treeAdapter.getTagName(t)===q.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===K.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===J.MGLYPH||e.tagID===J.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,K.HTML)}_processToken(e){switch(e.type){case lp.CHARACTER:this.onCharacter(e);break;case lp.NULL_CHARACTER:this.onNullCharacter(e);break;case lp.COMMENT:this.onComment(e);break;case lp.DOCTYPE:this.onDoctype(e);break;case lp.START_TAG:this._processStartTag(e);break;case lp.END_TAG:this.onEndTag(e);break;case lp.EOF:this.onEof(e);break;case lp.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return Am(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===tm.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Z.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(J.P),this.openElements.popUntilTagNamePopped(J.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case J.TR:this.insertionMode=Z.IN_ROW;return;case J.TBODY:case J.THEAD:case J.TFOOT:this.insertionMode=Z.IN_TABLE_BODY;return;case J.CAPTION:this.insertionMode=Z.IN_CAPTION;return;case J.COLGROUP:this.insertionMode=Z.IN_COLUMN_GROUP;return;case J.TABLE:this.insertionMode=Z.IN_TABLE;return;case J.BODY:this.insertionMode=Z.IN_BODY;return;case J.FRAMESET:this.insertionMode=Z.IN_FRAMESET;return;case J.SELECT:this._resetInsertionModeForSelect(e);return;case J.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case J.HTML:this.insertionMode=this.headElement?Z.AFTER_HEAD:Z.BEFORE_HEAD;return;case J.TD:case J.TH:if(e>0){this.insertionMode=Z.IN_CELL;return}break;case J.HEAD:if(e>0){this.insertionMode=Z.IN_HEAD;return}}this.insertionMode=Z.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===J.TEMPLATE)break;if(e===J.TABLE){this.insertionMode=Z.IN_SELECT_IN_TABLE;return}}this.insertionMode=Z.IN_SELECT}_isElementCausesFosterParenting(e){return Fm.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case J.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===K.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case J.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return kp[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){t_(this,e);return}switch(this.insertionMode){case Z.INITIAL:Xm(this,e);break;case Z.BEFORE_HTML:$m(this,e);break;case Z.BEFORE_HEAD:nh(this,e);break;case Z.IN_HEAD:oh(this,e);break;case Z.IN_HEAD_NO_SCRIPT:lh(this,e);break;case Z.AFTER_HEAD:fh(this,e);break;case Z.IN_BODY:case Z.IN_CAPTION:case Z.IN_CELL:case Z.IN_TEMPLATE:hh(this,e);break;case Z.TEXT:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:ug(this,e);break;case Z.IN_TABLE_TEXT:Cg(this,e);break;case Z.IN_COLUMN_GROUP:Ag(this,e);break;case Z.AFTER_BODY:Kg(this,e);break;case Z.AFTER_AFTER_BODY:Qg(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e_(this,e);return}switch(this.insertionMode){case Z.INITIAL:Xm(this,e);break;case Z.BEFORE_HTML:$m(this,e);break;case Z.BEFORE_HEAD:nh(this,e);break;case Z.IN_HEAD:oh(this,e);break;case Z.IN_HEAD_NO_SCRIPT:lh(this,e);break;case Z.AFTER_HEAD:fh(this,e);break;case Z.TEXT:this._insertCharacters(e);break;case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:ug(this,e);break;case Z.IN_COLUMN_GROUP:Ag(this,e);break;case Z.AFTER_BODY:Kg(this,e);break;case Z.AFTER_AFTER_BODY:Qg(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Gm(this,e);return}switch(this.insertionMode){case Z.INITIAL:case Z.BEFORE_HTML:case Z.BEFORE_HEAD:case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:case Z.IN_BODY:case Z.IN_TABLE:case Z.IN_CAPTION:case Z.IN_COLUMN_GROUP:case Z.IN_TABLE_BODY:case Z.IN_ROW:case Z.IN_CELL:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:case Z.IN_TEMPLATE:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:Gm(this,e);break;case Z.IN_TABLE_TEXT:wg(this,e);break;case Z.AFTER_BODY:Km(this,e);break;case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:qm(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Z.INITIAL:Ym(this,e);break;case Z.BEFORE_HEAD:case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:this._err(e,G.misplacedDoctype);break;case Z.IN_TABLE_TEXT:wg(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,G.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?r_(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Z.INITIAL:Xm(this,e);break;case Z.BEFORE_HTML:Zm(this,e);break;case Z.BEFORE_HEAD:eh(this,e);break;case Z.IN_HEAD:rh(this,e);break;case Z.IN_HEAD_NO_SCRIPT:sh(this,e);break;case Z.AFTER_HEAD:uh(this,e);break;case Z.IN_BODY:Jh(this,e);break;case Z.IN_TABLE:yg(this,e);break;case Z.IN_TABLE_TEXT:wg(this,e);break;case Z.IN_CAPTION:Eg(this,e);break;case Z.IN_COLUMN_GROUP:Og(this,e);break;case Z.IN_TABLE_BODY:jg(this,e);break;case Z.IN_ROW:Ng(this,e);break;case Z.IN_CELL:Fg(this,e);break;case Z.IN_SELECT:Lg(this,e);break;case Z.IN_SELECT_IN_TABLE:zg(this,e);break;case Z.IN_TEMPLATE:Vg(this,e);break;case Z.AFTER_BODY:Wg(this,e);break;case Z.IN_FRAMESET:qg(this,e);break;case Z.AFTER_FRAMESET:Yg(this,e);break;case Z.AFTER_AFTER_BODY:Zg(this,e);break;case Z.AFTER_AFTER_FRAMESET:$g(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?i_(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Z.INITIAL:Xm(this,e);break;case Z.BEFORE_HTML:Qm(this,e);break;case Z.BEFORE_HEAD:th(this,e);break;case Z.IN_HEAD:ih(this,e);break;case Z.IN_HEAD_NO_SCRIPT:ch(this,e);break;case Z.AFTER_HEAD:dh(this,e);break;case Z.IN_BODY:og(this,e);break;case Z.TEXT:cg(this,e);break;case Z.IN_TABLE:bg(this,e);break;case Z.IN_TABLE_TEXT:wg(this,e);break;case Z.IN_CAPTION:Dg(this,e);break;case Z.IN_COLUMN_GROUP:kg(this,e);break;case Z.IN_TABLE_BODY:Mg(this,e);break;case Z.IN_ROW:Pg(this,e);break;case Z.IN_CELL:Ig(this,e);break;case Z.IN_SELECT:Rg(this,e);break;case Z.IN_SELECT_IN_TABLE:Bg(this,e);break;case Z.IN_TEMPLATE:Hg(this,e);break;case Z.AFTER_BODY:Gg(this,e);break;case Z.IN_FRAMESET:Jg(this,e);break;case Z.AFTER_FRAMESET:Xg(this,e);break;case Z.AFTER_AFTER_BODY:Qg(this,e)}}onEof(e){switch(this.insertionMode){case Z.INITIAL:Xm(this,e);break;case Z.BEFORE_HTML:$m(this,e);break;case Z.BEFORE_HEAD:nh(this,e);break;case Z.IN_HEAD:oh(this,e);break;case Z.IN_HEAD_NO_SCRIPT:lh(this,e);break;case Z.AFTER_HEAD:fh(this,e);break;case Z.IN_BODY:case Z.IN_TABLE:case Z.IN_CAPTION:case Z.IN_COLUMN_GROUP:case Z.IN_TABLE_BODY:case Z.IN_ROW:case Z.IN_CELL:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:sg(this,e);break;case Z.TEXT:lg(this,e);break;case Z.IN_TABLE_TEXT:wg(this,e);break;case Z.IN_TEMPLATE:Ug(this,e);break;case Z.AFTER_BODY:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:Jm(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===W.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:case Z.TEXT:case Z.IN_COLUMN_GROUP:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:this._insertCharacters(e);break;case Z.IN_BODY:case Z.IN_CAPTION:case Z.IN_CELL:case Z.IN_TEMPLATE:case Z.AFTER_BODY:case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:mh(this,e);break;case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:ug(this,e);break;case Z.IN_TABLE_TEXT:Sg(this,e)}}};function Rm(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ag(e,t),n}function zm(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Bm(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=Nm;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Vm(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Vm(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Hm(e,t,n){let r=Op(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===J.TEMPLATE&&i===K.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Um(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Wm(e,t){for(let n=0;n<Mm;n++){let n=Rm(e,t);if(!n)break;let r=zm(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=Bm(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&Hm(e,a,i),Um(e,r,n)}}function Gm(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Km(e,t){e._appendCommentNode(t,e.openElements.items[0])}function qm(e,t){e._appendCommentNode(t,e.document)}function Jm(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Ym(e,t){e._setDocumentType(t);let n=t.forceQuirks?Ep.QUIRKS:hm(t);mm(t)||e._err(t,G.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Z.BEFORE_HTML}function Xm(e,t){e._err(t,G.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ep.QUIRKS),e.insertionMode=Z.BEFORE_HTML,e._processToken(t)}function Zm(e,t){t.tagID===J.HTML?(e._insertElement(t,K.HTML),e.insertionMode=Z.BEFORE_HEAD):$m(e,t)}function Qm(e,t){let n=t.tagID;(n===J.HTML||n===J.HEAD||n===J.BODY||n===J.BR)&&$m(e,t)}function $m(e,t){e._insertFakeRootElement(),e.insertionMode=Z.BEFORE_HEAD,e._processToken(t)}function eh(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.HEAD:e._insertElement(t,K.HTML),e.headElement=e.openElements.current,e.insertionMode=Z.IN_HEAD;break;default:nh(e,t)}}function th(e,t){let n=t.tagID;n===J.HEAD||n===J.BODY||n===J.HTML||n===J.BR?nh(e,t):e._err(t,G.endTagWithoutMatchingOpenElement)}function nh(e,t){e._insertFakeElement(q.HEAD,J.HEAD),e.headElement=e.openElements.current,e.insertionMode=Z.IN_HEAD,e._processToken(t)}function rh(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.BASE:case J.BASEFONT:case J.BGSOUND:case J.LINK:case J.META:e._appendElement(t,K.HTML),t.ackSelfClosing=!0;break;case J.TITLE:e._switchToTextParsing(t,jp.RCDATA);break;case J.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,jp.RAWTEXT):(e._insertElement(t,K.HTML),e.insertionMode=Z.IN_HEAD_NO_SCRIPT);break;case J.NOFRAMES:case J.STYLE:e._switchToTextParsing(t,jp.RAWTEXT);break;case J.SCRIPT:e._switchToTextParsing(t,jp.SCRIPT_DATA);break;case J.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Z.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Z.IN_TEMPLATE);break;case J.HEAD:e._err(t,G.misplacedStartTagForHeadElement);break;default:oh(e,t)}}function ih(e,t){switch(t.tagID){case J.HEAD:e.openElements.pop(),e.insertionMode=Z.AFTER_HEAD;break;case J.BODY:case J.BR:case J.HTML:oh(e,t);break;case J.TEMPLATE:ah(e,t);break;default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function ah(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==J.TEMPLATE&&e._err(t,G.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(J.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,G.endTagWithoutMatchingOpenElement)}function oh(e,t){e.openElements.pop(),e.insertionMode=Z.AFTER_HEAD,e._processToken(t)}function sh(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.BASEFONT:case J.BGSOUND:case J.HEAD:case J.LINK:case J.META:case J.NOFRAMES:case J.STYLE:rh(e,t);break;case J.NOSCRIPT:e._err(t,G.nestedNoscriptInHead);break;default:lh(e,t)}}function ch(e,t){switch(t.tagID){case J.NOSCRIPT:e.openElements.pop(),e.insertionMode=Z.IN_HEAD;break;case J.BR:lh(e,t);break;default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function lh(e,t){let n=t.type===lp.EOF?G.openElementsLeftAfterEof:G.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Z.IN_HEAD,e._processToken(t)}function uh(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.BODY:e._insertElement(t,K.HTML),e.framesetOk=!1,e.insertionMode=Z.IN_BODY;break;case J.FRAMESET:e._insertElement(t,K.HTML),e.insertionMode=Z.IN_FRAMESET;break;case J.BASE:case J.BASEFONT:case J.BGSOUND:case J.LINK:case J.META:case J.NOFRAMES:case J.SCRIPT:case J.STYLE:case J.TEMPLATE:case J.TITLE:e._err(t,G.abandonedHeadElementChild),e.openElements.push(e.headElement,J.HEAD),rh(e,t),e.openElements.remove(e.headElement);break;case J.HEAD:e._err(t,G.misplacedStartTagForHeadElement);break;default:fh(e,t)}}function dh(e,t){switch(t.tagID){case J.BODY:case J.HTML:case J.BR:fh(e,t);break;case J.TEMPLATE:ah(e,t);break;default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function fh(e,t){e._insertFakeElement(q.BODY,J.BODY),e.insertionMode=Z.IN_BODY,ph(e,t)}function ph(e,t){switch(t.type){case lp.CHARACTER:hh(e,t);break;case lp.WHITESPACE_CHARACTER:mh(e,t);break;case lp.COMMENT:Gm(e,t);break;case lp.START_TAG:Jh(e,t);break;case lp.END_TAG:og(e,t);break;case lp.EOF:sg(e,t)}}function mh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function hh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function gh(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function _h(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function vh(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_FRAMESET)}function yh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML)}function bh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Ap.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,K.HTML)}function xh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Sh(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML),n||(e.formElement=e.openElements.current))}function Ch(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===J.LI&&r===J.LI||(n===J.DD||n===J.DT)&&(r===J.DD||r===J.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==J.ADDRESS&&r!==J.DIV&&r!==J.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML)}function wh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML),e.tokenizer.state=jp.PLAINTEXT}function Th(e,t){e.openElements.hasInScope(J.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(J.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML),e.framesetOk=!1}function Eh(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(q.A);n&&(Wm(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Dh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Oh(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(J.NOBR)&&(Wm(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,K.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function kh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ah(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ep.QUIRKS&&e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._insertElement(t,K.HTML),e.framesetOk=!1,e.insertionMode=Z.IN_TABLE}function jh(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,K.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Mh(e){let t=up(e,Tp.TYPE);return t!=null&&t.toLowerCase()===jm}function Nh(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,K.HTML),Mh(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Ph(e,t){e._appendElement(t,K.HTML),t.ackSelfClosing=!0}function Fh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._appendElement(t,K.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ih(e,t){t.tagName=q.IMG,t.tagID=J.IMG,jh(e,t)}function Lh(e,t){e._insertElement(t,K.HTML),e.skipNextNewLine=!0,e.tokenizer.state=jp.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Z.TEXT}function Rh(e,t){e.openElements.hasInButtonScope(J.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,jp.RAWTEXT)}function zh(e,t){e.framesetOk=!1,e._switchToTextParsing(t,jp.RAWTEXT)}function Bh(e,t){e._switchToTextParsing(t,jp.RAWTEXT)}function Vh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Z.IN_TABLE||e.insertionMode===Z.IN_CAPTION||e.insertionMode===Z.IN_TABLE_BODY||e.insertionMode===Z.IN_ROW||e.insertionMode===Z.IN_CELL?Z.IN_SELECT_IN_TABLE:Z.IN_SELECT}function Hh(e,t){e.openElements.currentTagId===J.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML)}function Uh(e,t){e.openElements.hasInScope(J.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,K.HTML)}function Wh(e,t){e.openElements.hasInScope(J.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(J.RTC),e._insertElement(t,K.HTML)}function Gh(e,t){e._reconstructActiveFormattingElements(),wm(t),Em(t),t.selfClosing?e._appendElement(t,K.MATHML):e._insertElement(t,K.MATHML),t.ackSelfClosing=!0}function Kh(e,t){e._reconstructActiveFormattingElements(),Tm(t),Em(t),t.selfClosing?e._appendElement(t,K.SVG):e._insertElement(t,K.SVG),t.ackSelfClosing=!0}function qh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,K.HTML)}function Jh(e,t){switch(t.tagID){case J.I:case J.S:case J.B:case J.U:case J.EM:case J.TT:case J.BIG:case J.CODE:case J.FONT:case J.SMALL:case J.STRIKE:case J.STRONG:Dh(e,t);break;case J.A:Eh(e,t);break;case J.H1:case J.H2:case J.H3:case J.H4:case J.H5:case J.H6:bh(e,t);break;case J.P:case J.DL:case J.OL:case J.UL:case J.DIV:case J.DIR:case J.NAV:case J.MAIN:case J.MENU:case J.ASIDE:case J.CENTER:case J.FIGURE:case J.FOOTER:case J.HEADER:case J.HGROUP:case J.DIALOG:case J.DETAILS:case J.ADDRESS:case J.ARTICLE:case J.SEARCH:case J.SECTION:case J.SUMMARY:case J.FIELDSET:case J.BLOCKQUOTE:case J.FIGCAPTION:yh(e,t);break;case J.LI:case J.DD:case J.DT:Ch(e,t);break;case J.BR:case J.IMG:case J.WBR:case J.AREA:case J.EMBED:case J.KEYGEN:jh(e,t);break;case J.HR:Fh(e,t);break;case J.RB:case J.RTC:Uh(e,t);break;case J.RT:case J.RP:Wh(e,t);break;case J.PRE:case J.LISTING:xh(e,t);break;case J.XMP:Rh(e,t);break;case J.SVG:Kh(e,t);break;case J.HTML:gh(e,t);break;case J.BASE:case J.LINK:case J.META:case J.STYLE:case J.TITLE:case J.SCRIPT:case J.BGSOUND:case J.BASEFONT:case J.TEMPLATE:rh(e,t);break;case J.BODY:_h(e,t);break;case J.FORM:Sh(e,t);break;case J.NOBR:Oh(e,t);break;case J.MATH:Gh(e,t);break;case J.TABLE:Ah(e,t);break;case J.INPUT:Nh(e,t);break;case J.PARAM:case J.TRACK:case J.SOURCE:Ph(e,t);break;case J.IMAGE:Ih(e,t);break;case J.BUTTON:Th(e,t);break;case J.APPLET:case J.OBJECT:case J.MARQUEE:kh(e,t);break;case J.IFRAME:zh(e,t);break;case J.SELECT:Vh(e,t);break;case J.OPTION:case J.OPTGROUP:Hh(e,t);break;case J.NOEMBED:case J.NOFRAMES:Bh(e,t);break;case J.FRAMESET:vh(e,t);break;case J.TEXTAREA:Lh(e,t);break;case J.NOSCRIPT:e.options.scriptingEnabled?Bh(e,t):qh(e,t);break;case J.PLAINTEXT:wh(e,t);break;case J.COL:case J.TH:case J.TD:case J.TR:case J.HEAD:case J.FRAME:case J.TBODY:case J.TFOOT:case J.THEAD:case J.CAPTION:case J.COLGROUP:break;default:qh(e,t)}}function Yh(e,t){if(e.openElements.hasInScope(J.BODY)&&(e.insertionMode=Z.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Xh(e,t){e.openElements.hasInScope(J.BODY)&&(e.insertionMode=Z.AFTER_BODY,Gg(e,t))}function Zh(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Qh(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(J.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(J.FORM):n&&e.openElements.remove(n))}function $h(e){e.openElements.hasInButtonScope(J.P)||e._insertFakeElement(q.P,J.P),e._closePElement()}function eg(e){e.openElements.hasInListItemScope(J.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(J.LI),e.openElements.popUntilTagNamePopped(J.LI))}function tg(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function ng(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function rg(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function ig(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(q.BR,J.BR),e.openElements.pop(),e.framesetOk=!1}function ag(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==J.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function og(e,t){switch(t.tagID){case J.A:case J.B:case J.I:case J.S:case J.U:case J.EM:case J.TT:case J.BIG:case J.CODE:case J.FONT:case J.NOBR:case J.SMALL:case J.STRIKE:case J.STRONG:Wm(e,t);break;case J.P:$h(e);break;case J.DL:case J.UL:case J.OL:case J.DIR:case J.DIV:case J.NAV:case J.PRE:case J.MAIN:case J.MENU:case J.ASIDE:case J.BUTTON:case J.CENTER:case J.FIGURE:case J.FOOTER:case J.HEADER:case J.HGROUP:case J.DIALOG:case J.ADDRESS:case J.ARTICLE:case J.DETAILS:case J.SEARCH:case J.SECTION:case J.SUMMARY:case J.LISTING:case J.FIELDSET:case J.BLOCKQUOTE:case J.FIGCAPTION:Zh(e,t);break;case J.LI:eg(e);break;case J.DD:case J.DT:tg(e,t);break;case J.H1:case J.H2:case J.H3:case J.H4:case J.H5:case J.H6:ng(e);break;case J.BR:ig(e);break;case J.BODY:Yh(e,t);break;case J.HTML:Xh(e,t);break;case J.FORM:Qh(e);break;case J.APPLET:case J.OBJECT:case J.MARQUEE:rg(e,t);break;case J.TEMPLATE:ah(e,t);break;default:ag(e,t)}}function sg(e,t){e.tmplInsertionModeStack.length>0?Ug(e,t):Jm(e,t)}function cg(e,t){var n;t.tagID===J.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function lg(e,t){e._err(t,G.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function ug(e,t){if(e.openElements.currentTagId!==void 0&&Fm.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Z.IN_TABLE_TEXT,t.type){case lp.CHARACTER:Cg(e,t);break;case lp.WHITESPACE_CHARACTER:Sg(e,t)}else xg(e,t)}function dg(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_CAPTION}function fg(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_COLUMN_GROUP}function pg(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.COLGROUP,J.COLGROUP),e.insertionMode=Z.IN_COLUMN_GROUP,Og(e,t)}function mg(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_TABLE_BODY}function hg(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.TBODY,J.TBODY),e.insertionMode=Z.IN_TABLE_BODY,jg(e,t)}function gg(e,t){e.openElements.hasInTableScope(J.TABLE)&&(e.openElements.popUntilTagNamePopped(J.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function _g(e,t){Mh(t)?e._appendElement(t,K.HTML):xg(e,t),t.ackSelfClosing=!0}function vg(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,K.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function yg(e,t){switch(t.tagID){case J.TD:case J.TH:case J.TR:hg(e,t);break;case J.STYLE:case J.SCRIPT:case J.TEMPLATE:rh(e,t);break;case J.COL:pg(e,t);break;case J.FORM:vg(e,t);break;case J.TABLE:gg(e,t);break;case J.TBODY:case J.TFOOT:case J.THEAD:mg(e,t);break;case J.INPUT:_g(e,t);break;case J.CAPTION:dg(e,t);break;case J.COLGROUP:fg(e,t);break;default:xg(e,t)}}function bg(e,t){switch(t.tagID){case J.TABLE:e.openElements.hasInTableScope(J.TABLE)&&(e.openElements.popUntilTagNamePopped(J.TABLE),e._resetInsertionMode());break;case J.TEMPLATE:ah(e,t);break;case J.BODY:case J.CAPTION:case J.COL:case J.COLGROUP:case J.HTML:case J.TBODY:case J.TD:case J.TFOOT:case J.TH:case J.THEAD:case J.TR:break;default:xg(e,t)}}function xg(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ph(e,t),e.fosterParentingEnabled=n}function Sg(e,t){e.pendingCharacterTokens.push(t)}function Cg(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function wg(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)xg(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var Tg=new Set([J.CAPTION,J.COL,J.COLGROUP,J.TBODY,J.TD,J.TFOOT,J.TH,J.THEAD,J.TR]);function Eg(e,t){let n=t.tagID;Tg.has(n)?e.openElements.hasInTableScope(J.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(J.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_TABLE,yg(e,t)):Jh(e,t)}function Dg(e,t){let n=t.tagID;switch(n){case J.CAPTION:case J.TABLE:e.openElements.hasInTableScope(J.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(J.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_TABLE,n===J.TABLE&&bg(e,t));break;case J.BODY:case J.COL:case J.COLGROUP:case J.HTML:case J.TBODY:case J.TD:case J.TFOOT:case J.TH:case J.THEAD:case J.TR:break;default:og(e,t)}}function Og(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.COL:e._appendElement(t,K.HTML),t.ackSelfClosing=!0;break;case J.TEMPLATE:rh(e,t);break;default:Ag(e,t)}}function kg(e,t){switch(t.tagID){case J.COLGROUP:e.openElements.currentTagId===J.COLGROUP&&(e.openElements.pop(),e.insertionMode=Z.IN_TABLE);break;case J.TEMPLATE:ah(e,t);break;case J.COL:break;default:Ag(e,t)}}function Ag(e,t){e.openElements.currentTagId===J.COLGROUP&&(e.openElements.pop(),e.insertionMode=Z.IN_TABLE,e._processToken(t))}function jg(e,t){switch(t.tagID){case J.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_ROW;break;case J.TH:case J.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(q.TR,J.TR),e.insertionMode=Z.IN_ROW,Ng(e,t);break;case J.CAPTION:case J.COL:case J.COLGROUP:case J.TBODY:case J.TFOOT:case J.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE,yg(e,t));break;default:yg(e,t)}}function Mg(e,t){let n=t.tagID;switch(t.tagID){case J.TBODY:case J.TFOOT:case J.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE);break;case J.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE,bg(e,t));break;case J.BODY:case J.CAPTION:case J.COL:case J.COLGROUP:case J.HTML:case J.TD:case J.TH:case J.TR:break;default:bg(e,t)}}function Ng(e,t){switch(t.tagID){case J.TH:case J.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,K.HTML),e.insertionMode=Z.IN_CELL,e.activeFormattingElements.insertMarker();break;case J.CAPTION:case J.COL:case J.COLGROUP:case J.TBODY:case J.TFOOT:case J.THEAD:case J.TR:e.openElements.hasInTableScope(J.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,jg(e,t));break;default:yg(e,t)}}function Pg(e,t){switch(t.tagID){case J.TR:e.openElements.hasInTableScope(J.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY);break;case J.TABLE:e.openElements.hasInTableScope(J.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,Mg(e,t));break;case J.TBODY:case J.TFOOT:case J.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(J.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,Mg(e,t));break;case J.BODY:case J.CAPTION:case J.COL:case J.COLGROUP:case J.HTML:case J.TD:case J.TH:break;default:bg(e,t)}}function Fg(e,t){let n=t.tagID;Tg.has(n)?(e.openElements.hasInTableScope(J.TD)||e.openElements.hasInTableScope(J.TH))&&(e._closeTableCell(),Ng(e,t)):Jh(e,t)}function Ig(e,t){let n=t.tagID;switch(n){case J.TD:case J.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_ROW);break;case J.TABLE:case J.TBODY:case J.TFOOT:case J.THEAD:case J.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Pg(e,t));break;case J.BODY:case J.CAPTION:case J.COL:case J.COLGROUP:case J.HTML:break;default:og(e,t)}}function Lg(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.OPTION:e.openElements.currentTagId===J.OPTION&&e.openElements.pop(),e._insertElement(t,K.HTML);break;case J.OPTGROUP:e.openElements.currentTagId===J.OPTION&&e.openElements.pop(),e.openElements.currentTagId===J.OPTGROUP&&e.openElements.pop(),e._insertElement(t,K.HTML);break;case J.HR:e.openElements.currentTagId===J.OPTION&&e.openElements.pop(),e.openElements.currentTagId===J.OPTGROUP&&e.openElements.pop(),e._appendElement(t,K.HTML),t.ackSelfClosing=!0;break;case J.INPUT:case J.KEYGEN:case J.TEXTAREA:case J.SELECT:e.openElements.hasInSelectScope(J.SELECT)&&(e.openElements.popUntilTagNamePopped(J.SELECT),e._resetInsertionMode(),t.tagID!==J.SELECT&&e._processStartTag(t));break;case J.SCRIPT:case J.TEMPLATE:rh(e,t)}}function Rg(e,t){switch(t.tagID){case J.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===J.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===J.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===J.OPTGROUP&&e.openElements.pop();break;case J.OPTION:e.openElements.currentTagId===J.OPTION&&e.openElements.pop();break;case J.SELECT:e.openElements.hasInSelectScope(J.SELECT)&&(e.openElements.popUntilTagNamePopped(J.SELECT),e._resetInsertionMode());break;case J.TEMPLATE:ah(e,t)}}function zg(e,t){let n=t.tagID;n===J.CAPTION||n===J.TABLE||n===J.TBODY||n===J.TFOOT||n===J.THEAD||n===J.TR||n===J.TD||n===J.TH?(e.openElements.popUntilTagNamePopped(J.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Lg(e,t)}function Bg(e,t){let n=t.tagID;n===J.CAPTION||n===J.TABLE||n===J.TBODY||n===J.TFOOT||n===J.THEAD||n===J.TR||n===J.TD||n===J.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(J.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Rg(e,t)}function Vg(e,t){switch(t.tagID){case J.BASE:case J.BASEFONT:case J.BGSOUND:case J.LINK:case J.META:case J.NOFRAMES:case J.SCRIPT:case J.STYLE:case J.TEMPLATE:case J.TITLE:rh(e,t);break;case J.CAPTION:case J.COLGROUP:case J.TBODY:case J.TFOOT:case J.THEAD:e.tmplInsertionModeStack[0]=Z.IN_TABLE,e.insertionMode=Z.IN_TABLE,yg(e,t);break;case J.COL:e.tmplInsertionModeStack[0]=Z.IN_COLUMN_GROUP,e.insertionMode=Z.IN_COLUMN_GROUP,Og(e,t);break;case J.TR:e.tmplInsertionModeStack[0]=Z.IN_TABLE_BODY,e.insertionMode=Z.IN_TABLE_BODY,jg(e,t);break;case J.TD:case J.TH:e.tmplInsertionModeStack[0]=Z.IN_ROW,e.insertionMode=Z.IN_ROW,Ng(e,t);break;default:e.tmplInsertionModeStack[0]=Z.IN_BODY,e.insertionMode=Z.IN_BODY,Jh(e,t)}}function Hg(e,t){t.tagID===J.TEMPLATE&&ah(e,t)}function Ug(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(J.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Jm(e,t)}function Wg(e,t){t.tagID===J.HTML?Jh(e,t):Kg(e,t)}function Gg(e,t){if(t.tagID===J.HTML){if(e.fragmentContext||(e.insertionMode=Z.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===J.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else Kg(e,t)}function Kg(e,t){e.insertionMode=Z.IN_BODY,ph(e,t)}function qg(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.FRAMESET:e._insertElement(t,K.HTML);break;case J.FRAME:e._appendElement(t,K.HTML),t.ackSelfClosing=!0;break;case J.NOFRAMES:rh(e,t)}}function Jg(e,t){t.tagID===J.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==J.FRAMESET&&(e.insertionMode=Z.AFTER_FRAMESET))}function Yg(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.NOFRAMES:rh(e,t)}}function Xg(e,t){t.tagID===J.HTML&&(e.insertionMode=Z.AFTER_AFTER_FRAMESET)}function Zg(e,t){t.tagID===J.HTML?Jh(e,t):Qg(e,t)}function Qg(e,t){e.insertionMode=Z.IN_BODY,ph(e,t)}function $g(e,t){switch(t.tagID){case J.HTML:Jh(e,t);break;case J.NOFRAMES:rh(e,t)}}function e_(e,t){t.chars=`�`,e._insertCharacters(t)}function t_(e,t){e._insertCharacters(t),e.framesetOk=!1}function n_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==K.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function r_(e,t){if(Cm(t))n_(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===K.MATHML?wm(t):r===K.SVG&&(Dm(t),Tm(t)),Em(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function i_(e,t){if(t.tagID===J.P||t.tagID===J.BR){n_(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===K.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}q.AREA,q.BASE,q.BASEFONT,q.BGSOUND,q.BR,q.COL,q.EMBED,q.FRAME,q.HR,q.IMG,q.INPUT,q.KEYGEN,q.LINK,q.META,q.PARAM,q.SOURCE,q.TRACK,q.WBR;var a_=s_(`end`),o_=s_(`start`);function s_(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function c_(e){let t=o_(e),n=a_(e);if(t&&n)return{start:t,end:n}}var l_=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,u_=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),d_={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function f_(e,t){let n=E_(e),r=zf(`type`,{handlers:{root:m_,element:h_,text:g_,comment:y_,doctype:__,raw:b_},unknown:x_}),i={parser:n?new Lm(d_):Lm.getFragmentParser(void 0,d_),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),S_(i,o_());let a=Af(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&td(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function p_(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function m_(e,t){p_(e.children,t)}function h_(e,t){w_(e,t),p_(e.children,t),T_(e,t)}function g_(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:lp.CHARACTER,chars:e.value,location:D_(e)};S_(t,o_(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function __(e,t){let n={type:lp.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:D_(e)};S_(t,o_(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function v_(e,t){t.stitches=!0;let n=O_(e);`children`in e&&`children`in n&&(n.children=f_({type:`root`,children:e.children},t.options).children),y_({type:`comment`,value:{stitch:n}},t)}function y_(e,t){let n=e.value,r={type:lp.COMMENT,data:n,location:D_(e)};S_(t,o_(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function b_(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,C_(t,o_(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(l_,`<$1$2`):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function x_(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))v_(n,t);else{let e=``;throw u_.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function S_(e,t){C_(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=jp.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function C_(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function w_(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===jp.PLAINTEXT)return;S_(t,o_(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:Df.html;i===Df.html&&n===`svg`&&(i=Df.svg);let a=Uf({...e,children:[]},{space:i===Df.svg?`svg`:`html`}),o={type:lp.START_TAG,tagName:n,tagID:Op(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:D_(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function T_(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&$f.includes(n)||t.parser.tokenizer.state===jp.PLAINTEXT)return;S_(t,a_(e));let r={type:lp.END_TAG,tagName:n,tagID:Op(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:D_(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===jp.RCDATA||t.parser.tokenizer.state===jp.RAWTEXT||t.parser.tokenizer.state===jp.SCRIPT_DATA)&&(t.parser.tokenizer.state=jp.DATA)}function E_(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function D_(e){let t=o_(e)||{line:void 0,column:void 0,offset:void 0},n=a_(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function O_(e){return`children`in e?Dd({...e,children:[]}):Dd(e)}function k_(e){return function(t,n){return f_(t,{...e,file:n})}}var A_=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],j_={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...A_,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...A_],h2:[[`className`,`sr-only`]],img:[...A_,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...A_,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...A_],table:[...A_],ul:[...A_,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)},M_={}.hasOwnProperty;function N_(e,t){let n={type:`root`,children:[]},r=P_({schema:t?{...j_,...t}:j_,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function P_(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return F_(e,n);case`doctype`:return I_(e,n);case`element`:return L_(e,n);case`root`:return R_(e,n);case`text`:return z_(e,n)}}}function F_(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return K_(r,t),r}}function I_(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return K_(e,t),e}}function L_(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=B_(e,t.children),i=V_(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&M_.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return K_(o,t),o}function R_(e,t){let n={type:`root`,children:B_(e,t.children)};return K_(n,t),n}function z_(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return K_(n,t),n}function B_(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=P_(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function V_(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&M_.call(r,n)?r[n]:void 0,o=r&&M_.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(M_.call(s,l)){let t=s[l],n=H_(e,q_(a,l),l,t);n??=H_(e,q_(o,l),l,t),n!=null&&(c[l]=n)}if(i&&M_.call(i,n)){let e=i[n];for(l in e)M_.call(e,l)&&!M_.call(c,l)&&(c[l]=e[l])}return c}function H_(e,t,n,r){return t?Array.isArray(r)?U_(e,t,n,r):W_(e,t,n,r):void 0}function U_(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=W_(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function W_(e,t,n,r){if((typeof r==`boolean`||typeof r==`number`||typeof r==`string`)&&G_(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function G_(e,t,n){let r=e.schema.protocols&&M_.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function K_(e,t){let n=c_(t);t.data&&(e.data=Dd(t.data)),n&&(e.position=n)}function q_(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function J_(e){return function(t){return N_(t,e)}}function Y_(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var X_=cv(/[A-Za-z]/),Z_=cv(/[\dA-Za-z]/),Q_=cv(/[#-'*+\--9=?A-Z^-~]/);function $_(e){return e!==null&&(e<32||e===127)}var ev=cv(/\d/),tv=cv(/[\dA-Fa-f]/),nv=cv(/[!-/:-@[-`{-~]/);function rv(e){return e!==null&&e<-2}function iv(e){return e!==null&&(e<0||e===32)}function av(e){return e===-2||e===-1||e===32}var ov=cv(/\p{P}|\p{S}/u),sv=cv(/\s/);function cv(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function lv(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function uv(e,t,n){let r=Uu((n||{}).ignore||[]),i=dv(t),a=-1;for(;++a<i.length;)$u(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function dv(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([fv(e[0]),pv(e[1])])}return t}function fv(e){return typeof e==`string`?new RegExp(lv(e),`g`):e}function pv(e){return typeof e==`function`?e:function(){return e}}var mv=`phrasing`,hv=[`autolink`,`link`,`image`,`label`];function gv(){return{transforms:[wv],enter:{literalAutolink:vv,literalAutolinkEmail:yv,literalAutolinkHttp:yv,literalAutolinkWww:yv},exit:{literalAutolink:Cv,literalAutolinkEmail:Sv,literalAutolinkHttp:bv,literalAutolinkWww:xv}}}function _v(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:mv,notInConstruct:hv},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:mv,notInConstruct:hv},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:mv,notInConstruct:hv}]}}function vv(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function yv(e){this.config.enter.autolinkProtocol.call(this,e)}function bv(e){this.config.exit.autolinkProtocol.call(this,e)}function xv(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function Sv(e){this.config.exit.autolinkEmail.call(this,e)}function Cv(e){this.exit(e)}function wv(e){uv(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Tv],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Ev]],{ignore:[`link`,`linkReference`]})}function Tv(e,t,n,r,i){let a=``;if(!kv(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!Dv(n)))return!1;let o=Ov(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Ev(e,t,n,r){return!kv(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function Dv(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Ov(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=Y_(e,`(`),a=Y_(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function kv(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||sv(n)||ov(n))&&(!t||n!==47)}function Av(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}Bv.peek=zv;function jv(){this.buffer()}function Mv(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Nv(){this.buffer()}function Pv(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Fv(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Av(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Iv(e){this.exit(e)}function Lv(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Av(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Rv(e){this.exit(e)}function zv(){return`[`}function Bv(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function Vv(){return{enter:{gfmFootnoteCallString:jv,gfmFootnoteCall:Mv,gfmFootnoteDefinitionLabelString:Nv,gfmFootnoteDefinition:Pv},exit:{gfmFootnoteCallString:Fv,gfmFootnoteCall:Iv,gfmFootnoteDefinitionLabelString:Lv,gfmFootnoteDefinition:Rv}}}function Hv(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Bv},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
293
293
|
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?Wv:Uv))),s(),o}}function Uv(e,t,n){return t===0?e:Wv(e,t,n)}function Wv(e,t,n){return(n?``:` `)+e}var Gv=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];Xv.peek=Zv;function Kv(){return{canContainEols:[`delete`],enter:{strikethrough:Jv},exit:{strikethrough:Yv}}}function qv(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:Gv}],handlers:{delete:Xv}}}function Jv(e){this.enter({type:`delete`,children:[]},e)}function Yv(e){this.exit(e)}function Xv(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Zv(){return`~`}function Qv(e){return e.length}function $v(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Qv,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=ey(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=ty(r[d]);else{let e=ty(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&(n.alignDelimiters!==!1||i!==``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
294
294
|
`)}function ey(e){return e==null?``:String(e)}function ty(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function ny(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),ry);return i(),o}function ry(e,t,n){return`>`+(n?``:` `)+e}function iy(e,t){return ay(e,t.inConstruct,!0)&&!ay(e,t.notInConstruct,!1)}function ay(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function oy(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
@@ -397,7 +397,7 @@ ${e}</tr>
|
|
|
397
397
|
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${KA(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=qA(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+KA(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=qA(e);if(i===null)return KA(n);e=i;let a=`<img src="${e}" alt="${KA(n)}"`;return t&&(a+=` title="${KA(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:KA(e.text)}},rj=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},ij=class e{options;renderer;textRenderer;constructor(e){this.options=e||Nk,this.options.renderer=this.options.renderer||new nj,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new rj}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},aj=class{options;block;constructor(e){this.options=e||Nk}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?tj.lex:tj.lexInline}provideParser(e=this.block){return e?ij.parse:ij.parseInline}},oj=new class{defaults=Mk();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ij;Renderer=nj;TextRenderer=rj;Lexer=tj;Tokenizer=ej;Hooks=aj;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new nj(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ej(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new aj;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];t[r]=aj.passThroughHooks.has(n)?e=>{if(this.defaults.async&&aj.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return tj.lex(e,t??this.defaults)}parser(e,t){return ij.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?tj.lex:tj.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?ij.parse:ij.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?tj.lex:tj.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?ij.parse:ij.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
398
398
|
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+KA(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function sj(e,t){return oj.parse(e,t)}sj.options=sj.setOptions=function(e){return oj.setOptions(e),sj.defaults=oj.defaults,Pk(sj.defaults),sj},sj.getDefaults=Mk,sj.defaults=Nk,sj.use=function(...e){return oj.use(...e),sj.defaults=oj.defaults,Pk(sj.defaults),sj},sj.walkTokens=function(e,t){return oj.walkTokens(e,t)},sj.parseInline=oj.parseInline,sj.Parser=ij,sj.parser=ij.parse,sj.Renderer=nj,sj.TextRenderer=rj,sj.Lexer=tj,sj.lexer=tj.lex,sj.Tokenizer=ej,sj.Hooks=aj,sj.parse=sj,sj.options,sj.setOptions,sj.use,sj.walkTokens,sj.parseInline,ij.parse,tj.lex;var cj=300,lj=`300px`,uj=500;function dj(e={}){let{immediate:t=!1,debounceDelay:n=cj,rootMargin:r=lj,idleTimeout:i=uj}=e,[a,o]=(0,V.useState)(!1),s=(0,V.useRef)(null),c=(0,V.useRef)(null),l=(0,V.useRef)(null),u=(0,V.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),d=(0,V.useMemo)(()=>typeof window<`u`&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):u,[u]),f=(0,V.useMemo)(()=>typeof window<`u`&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,V.useEffect)(()=>{if(t){o(!0);return}let e=s.current;if(!e)return;c.current&&=(clearTimeout(c.current),null),l.current&&=(f(l.current),null);let a=()=>{c.current&&=(clearTimeout(c.current),null),l.current&&=(f(l.current),null)},u=e=>{l.current=d(t=>{t.timeRemaining()>0||t.didTimeout?(o(!0),e.disconnect()):l.current=d(()=>{o(!0),e.disconnect()},{timeout:i/2})},{timeout:i})},p=e=>{a(),c.current=window.setTimeout(()=>{var t;let n=e.takeRecords();(n.length===0||(t=n.at(-1)?.isIntersecting)!=null&&t)&&u(e)},n)},m=(e,t)=>{e.isIntersecting?p(t):a()},h=new IntersectionObserver(e=>{for(let t of e)m(t,h)},{rootMargin:r,threshold:0});return h.observe(e),()=>{c.current&&clearTimeout(c.current),l.current&&f(l.current),h.disconnect()}},[t,n,r,i,f,d]),{shouldRender:a,containerRef:s}}var fj=320,pj=4,mj=()=>typeof performance>`u`?Date.now():performance.now();function hj(e){let t=e?.now??mj,n=e?.maxBacklogMs??fj,r=0,i=0;return{now:t,beginPass(e){i=Math.min(Math.max(r,e),e+n)},mark(){return i},rewind(e){i=e},take(e,t,r){if(e<=0)return{baseDelay:0,step:Math.max(0,t)};let a=Math.max(0,t),o=a===0?0:Math.min(a,pj),s=Math.max(i,r),c=r+n,l=s+Math.max(0,e-1)*a,u=a;if(l>c&&e>1){if(s<c){let t=c-s;u=Math.max(o,t/(e-1))}else u=o}let d=Math.max(0,Math.round(s-r));return i=s+e*u,{baseDelay:d,step:u}},commitPass(){r=i}}}var gj=/\s/,_j=/^\s+$/,vj=new Set([`pre`,`svg`,`math`,`annotation`]),yj=new Set([`img`,`hr`]),bj=e=>typeof e==`object`&&!!e&&`type`in e&&e.type===`element`,xj=e=>e.some(e=>bj(e)&&vj.has(e.tagName)),Sj=e=>{for(let t=e.length-1;t>=0;t--){let n=e[t];if(bj(n)&&n.tagName===`li`)return n}},Cj=(e,t,n,r)=>{e.properties??={},e.properties[`data-sd-animate-marker`]=!0;let i=typeof e.properties.style==`string`?`${e.properties.style};`:``;e.properties.style=`${i}--sd-marker-duration:${t}ms;--sd-marker-delay:${Math.round(n)}ms;--sd-marker-easing:${r}`},wj=new Set([`ul`,`ol`,`li`]),Tj=e=>{for(let t of e.children)if(bj(t)){if(t.tagName===`input`)return t;if(wj.has(t.tagName))continue;let e=Tj(t);if(e)return e}},Ej=(e,t,n,r)=>{e.properties??={},e.properties[`data-sd-animate`]=!0;let i=typeof e.properties.style==`string`?`${e.properties.style};`:``;e.properties.style=`${i}--sd-animation:sd-${t.animation};--sd-duration:${n}ms;--sd-easing:${t.easing};--sd-delay:${Math.round(r)}ms`},Dj=(e,t,n,r)=>{let i=Tj(e);i&&Ej(i,t,n,r)},Oj=(e,t,n,r,i,a)=>{if(xj(t))return;let o=r.prevContentLength,s=i.count;i.count+=1;let c=o>0&&s<o,l=c?0:a.baseDelay+i.newIndex++*a.step;Ej(e,n,c?0:n.duration,l)},kj=e=>{var t;for(let n=e.length-1;n>=0;--n){let r=e[n];if(bj(r)){if((t=r.properties)!=null&&t[`data-sd-animated`])break;r.properties={...r.properties,"data-sd-animated":!0}}}},Aj=e=>{let t=[],n=``,r=!1;for(let i of e){let e=gj.test(i);if(e!==r&&n){if(e){n+=i,r=!0;continue}t.push(n),n=``}n+=i,r=e}return n&&t.push(n),t},jj=e=>{let t=[],n=``;for(let r of e)gj.test(r)?t.length>0&&!_j.test(t.at(-1))?t[t.length-1]+=r:n+=r:(n&&=(t.push(n),``),t.push(r));return n&&(t.length>0?t[t.length-1]+=n:t.push(n)),t},Mj=(e,t,n,r,i,a)=>{let o=`--sd-animation:sd-${t};--sd-duration:${i?0:n}ms;--sd-easing:${r}`;return a&&(o+=`;--sd-delay:${Math.round(a)}ms`),{type:`element`,tagName:`span`,properties:{"data-sd-animate":!0,style:o},children:[{type:`text`,value:e}]}},Nj=(e,t)=>!(e>0&&t<e),Pj=e=>bj(e)&&yj.has(e.tagName),Fj=(e,t,n)=>{let r=0,i=0;return $u(e,e=>e.type===`text`||Pj(e),(e,a)=>{if(xj(a))return Qu;if(Pj(e)){Nj(n,i)&&(r+=1),i+=1;return}let o=e.value;if(!o.trim()){i+=o.length;return}let s=t.sep===`char`?jj(o):Aj(o);for(let e of s){let t=i;i+=e.length,!_j.test(e)&&Nj(n,t)&&(r+=1)}}),r},Ij=(e,t,n,r,i,a)=>{var o;let s=t.at(-1);if(!(s&&`children`in s))return;if(xj(t))return Qu;let c=s,l=c.children.indexOf(e);if(l===-1)return;let u=e.value;if(!u.trim()){i.count+=u.length;return}let d=n.sep===`char`?jj(u):Aj(u),f=r.prevContentLength,p=!1,m=Sj(t),h=!(!m||(o=m.properties)!=null&&o[`data-sd-animate-marker`]),g=!1,_=d.map(e=>{let t=i.count;if(i.count+=e.length,_j.test(e))return{type:`text`,value:e};let r=f>0&&t<f,o=r?0:a.baseDelay+i.newIndex++*a.step;if(p=!0,m&&h&&!g){let e=r?0:n.duration;Cj(m,e,o,n.easing),Dj(m,n,e,o),g=!0}return Mj(e,n.animation,n.duration,n.easing,r,o)});return p&&kj(t),c.children.splice(l,1,..._),l+_.length},Lj=0;function Rj(e){let t={animation:e?.animation??`fadeIn`,duration:e?.duration??150,easing:e?.easing??`ease`,sep:e?.sep??`word`,stagger:e?.stagger??40,timeline:e?.timeline},n={committedCharCount:0,prevContentLength:0,lastRenderCharCount:0,pendingMark:null},r=Lj++,i=()=>e=>{let r={count:0,newIndex:0};n.prevContentLength=n.committedCharCount;let i=t.timeline,a=i?.now()??mj();i&&(n.pendingMark===null?n.pendingMark=i.mark():i.rewind(n.pendingMark));let o=i?i.take(Fj(e,t,n.prevContentLength),t.stagger,a):{baseDelay:0,step:t.stagger};$u(e,e=>e.type===`text`||Pj(e),(e,i)=>{if(e.type===`text`)return Ij(e,i,t,n,r,o);Oj(e,i,t,n,r,o)}),n.lastRenderCharCount=r.count,n.prevContentLength=0};return Object.defineProperty(i,"name",{value:`rehypeAnimate$${r}`}),{name:`animate`,type:`animate`,rehypePlugin:i,setPrevContentLength(e){n.committedCharCount=e,n.prevContentLength=e},getLastRenderCharCount(){return n.lastRenderCharCount},commit(){n.committedCharCount=n.lastRenderCharCount,n.pendingMark=null}}}Rj();var zj=(0,V.createContext)(!1),Bj=()=>(0,V.useContext)(zj),Vj=(...e)=>DE(tT(e)),Hj=(e,t)=>{if(!e||!t)return t;let n=`${e}:`;return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(n)?t:`${e}:${t}`).join(` `)},Uj=e=>e?(...t)=>Hj(e,DE(tT(t))):Vj,Wj=(e,t,n)=>{let r=typeof t==`string`&&n.startsWith(`text/csv`)?``:``,i=typeof t==`string`?new Blob([r+t],{type:n}):t,a=URL.createObjectURL(i),o=document.createElement(`a`);o.href=a,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},Gj=(0,V.createContext)(Vj),Kj=()=>(0,V.useContext)(Gj),qj=8,Jj=e=>{if(e!==void 0&&e!==0&&e!==1/0){if(typeof e==`number`)return Number.isFinite(e)&&e>0?`${e}px`:void 0;if(e!==`0`&&e!==`none`&&e!==`Infinity`)return e}},Yj=(e,t,n)=>{let r=(0,V.useRef)(null),i=(0,V.useRef)(!0),a=(0,V.useRef)(!1);return(0,V.useEffect)(()=>{let e=r.current;if(!(e&&t))return;let n=()=>{let t=e.scrollHeight-e.scrollTop-e.clientHeight<qj;i.current=t};return e.addEventListener(`scroll`,n,{passive:!0}),()=>e.removeEventListener(`scroll`,n)},[t]),(0,V.useEffect)(()=>{e&&!a.current&&(i.current=!0),e||(i.current=!0),a.current=e},[e]),(0,V.useEffect)(()=>{let n=r.current;n&&t&&e&&i.current&&n.scrollTo({top:n.scrollHeight,behavior:`instant`})},[e,t,n]),r},Xj=Vj(`block`),Zj=Vj(`block`,`before:content-[counter(line)]`,`before:inline-block`,`before:[counter-increment:line]`,`before:w-6`,`before:mr-4`,`before:text-[13px]`,`before:text-right`,`before:text-muted-foreground/50`,`before:font-mono`,`before:select-none`),Qj=e=>{let t={};for(let n of e.split(`;`)){let e=n.indexOf(`:`);if(e>0){let r=n.slice(0,e).trim(),i=n.slice(e+1).trim();r&&i&&(t[r]=i)}}return t},$j=(0,V.memo)(({children:e,result:t,language:n,className:r,maxHeight:i,startLine:a,lineNumbers:o=!0,...s})=>{let c=Kj(),{isAnimating:l}=(0,V.useContext)(IP),u=Jj(i),d=Yj(l,!!u,t),f=(0,V.useMemo)(()=>c(Zj),[c]),p=(0,V.useMemo)(()=>c(Xj),[c]),m=(0,V.useMemo)(()=>{let e={};return t.bg&&(e[`--sdm-bg`]=t.bg),t.fg&&(e[`--sdm-fg`]=t.fg),t.rootStyle&&Object.assign(e,Qj(t.rootStyle)),e},[t.bg,t.fg,t.rootStyle]);return(0,H.jsx)(`div`,{className:c(r,u?`overflow-y-auto`:null,`overflow-x-auto rounded-md border border-border bg-background p-4 text-sm`),"data-language":n,"data-streamdown":`code-block-body`,ref:d,style:u?{maxHeight:u}:void 0,...s,children:(0,H.jsx)(`pre`,{className:c(r,`bg-[var(--sdm-bg,inherit)]`,`dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit))]`),style:m,children:(0,H.jsx)(`code`,{className:o?c(`[counter-increment:line_0] [counter-reset:line]`):void 0,style:o&&a&&a>1?{counterReset:`line ${a-1}`}:void 0,children:t.tokens.map((e,t)=>(0,H.jsx)(`span`,{className:o?f:p,children:e.length===0||e.length===1&&e[0].content===``?`
|
|
399
399
|
`:e.map((e,t)=>{let n={},r=!!e.bgColor;if(e.color&&(n[`--sdm-c`]=e.color),e.bgColor&&(n[`--sdm-tbg`]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))t===`color`?n[`--sdm-c`]=i:t===`background-color`?(n[`--sdm-tbg`]=i,r=!0):n[t]=i;return(0,H.jsx)(`span`,{className:c(`text-[var(--sdm-c,inherit)]`,`dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]`,r&&`bg-[var(--sdm-tbg)]`,r&&`dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]`),style:n,...e.htmlAttrs,children:e.content},t)})},t))})})})}),eM=({className:e,language:t,style:n,isIncomplete:r,...i})=>{let a=Kj();return(0,H.jsx)(`div`,{className:a(`my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2`,e),"data-incomplete":r||void 0,"data-language":t,"data-streamdown":`code-block`,style:{contentVisibility:`auto`,containIntrinsicSize:`auto 200px`,...n},...i})},tM=(0,V.createContext)({code:``}),nM=()=>(0,V.useContext)(tM),rM=({language:e})=>{let t=Kj();return(0,H.jsx)(`div`,{className:t(`flex h-8 items-center text-muted-foreground text-xs`),"data-language":e,"data-streamdown":`code-block-header`,children:(0,H.jsx)(`span`,{className:t(`ml-1 font-mono lowercase`),children:e})})},iM=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
400
|
-
`;)t--;return e.slice(0,t)},aM=(0,V.lazy)(()=>
|
|
400
|
+
`;)t--;return e.slice(0,t)},aM=(0,V.lazy)(()=>u(()=>import(`./highlighted-body-KPVGNVTW-igw6cp39.js`).then(e=>({default:e.HighlightedCodeBlockBody})),__vite__mapDeps([34,3,6]),import.meta.url)),oM=({code:e,language:t,className:n,children:r,isIncomplete:i=!1,startLine:a,lineNumbers:o,...s})=>{let c=Kj(),{codeBlockMaxHeight:l}=(0,V.useContext)(IP),u=(0,V.useMemo)(()=>iM(e),[e]),d=(0,V.useMemo)(()=>({bg:`transparent`,fg:`inherit`,tokens:u.split(`
|
|
401
401
|
`).map(e=>[{content:e,color:`inherit`,bgColor:`transparent`,htmlStyle:{},offset:0}])}),[u]);return(0,H.jsx)(tM.Provider,{value:{code:e},children:(0,H.jsxs)(eM,{dir:`ltr`,isIncomplete:i,language:t,children:[(0,H.jsx)(rM,{language:t}),r?(0,H.jsx)(`div`,{className:c(`pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end`),children:(0,H.jsx)(`div`,{className:c(`pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur`),"data-streamdown":`code-block-actions`,children:r})}):null,(0,H.jsx)(V.Suspense,{fallback:(0,H.jsx)($j,{className:n,language:t,lineNumbers:o,maxHeight:l,result:d,startLine:a,...s}),children:(0,H.jsx)(aM,{className:n,code:u,language:t,lineNumbers:o,maxHeight:l,raw:d,startLine:a,...s})})]})})},sM={CheckIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z`,fill:`currentColor`,fillRule:`evenodd`})}),CopyIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z`,fill:`currentColor`,fillRule:`evenodd`})}),DownloadIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z`,fill:`currentColor`,fillRule:`evenodd`})}),ExternalLinkIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z`,fill:`currentColor`,fillRule:`evenodd`})}),Loader2Icon:e=>(0,H.jsxs)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:[(0,H.jsx)(`path`,{d:`M8 0V4`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M8 16V12`,opacity:`0.5`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M3.29773 1.52783L5.64887 4.7639`,opacity:`0.9`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M12.7023 1.52783L10.3511 4.7639`,opacity:`0.1`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M12.7023 14.472L10.3511 11.236`,opacity:`0.4`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M3.29773 14.472L5.64887 11.236`,opacity:`0.6`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M15.6085 5.52783L11.8043 6.7639`,opacity:`0.2`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M0.391602 10.472L4.19583 9.23598`,opacity:`0.7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M15.6085 10.4722L11.8043 9.2361`,opacity:`0.3`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,H.jsx)(`path`,{d:`M0.391602 5.52783L4.19583 6.7639`,opacity:`0.8`,stroke:`currentColor`,strokeWidth:`1.5`})]}),Maximize2Icon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z`,fill:`currentColor`,fillRule:`evenodd`})}),RotateCcwIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z`,fill:`currentColor`,fillRule:`evenodd`})}),XIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z`,fill:`currentColor`,fillRule:`evenodd`})}),ZoomInIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z`,fill:`currentColor`,fillRule:`evenodd`})}),ZoomOutIcon:e=>(0,H.jsx)(`svg`,{"aria-hidden":`true`,color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,H.jsx)(`path`,{clipRule:`evenodd`,d:`M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z`,fill:`currentColor`,fillRule:`evenodd`})})},cM=(0,V.createContext)(sM),lM=(e,t)=>{if(e===t)return!0;if(!(e&&t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>e[n]===t[n])},uM=({icons:e,children:t})=>{let n=(0,V.useRef)(e),r=(0,V.useRef)(e?{...sM,...e}:sM);lM(n.current,e)||(n.current=e,r.current=e?{...sM,...e}:sM);let i=r.current;return(0,H.jsx)(cM.Provider,{value:i,children:t})},dM=()=>(0,V.useContext)(cM),fM={copyCode:`Copy Code`,downloadFile:`Download file`,downloadDiagram:`Download diagram`,downloadDiagramAsSvg:`Download diagram as SVG`,downloadDiagramAsPng:`Download diagram as PNG`,downloadDiagramAsMmd:`Download diagram as MMD`,viewFullscreen:`View fullscreen`,exitFullscreen:`Exit fullscreen`,mermaidFormatSvg:`SVG`,mermaidFormatPng:`PNG`,mermaidFormatMmd:`MMD`,zoomIn:`Zoom in`,zoomOut:`Zoom out`,resetView:`Reset zoom and pan`,copyTable:`Copy table`,copyTableAsMarkdown:`Copy table as Markdown`,copyTableAsCsv:`Copy table as CSV`,copyTableAsTsv:`Copy table as TSV`,downloadTable:`Download table`,downloadTableAsCsv:`Download table as CSV`,downloadTableAsMarkdown:`Download table as Markdown`,tableFormatMarkdown:`Markdown`,tableFormatCsv:`CSV`,tableFormatTsv:`TSV`,imageNotAvailable:`Image not available`,downloadImage:`Download image`,openExternalLink:`Open external link?`,externalLinkWarning:`You're about to visit an external website.`,close:`Close`,copyLink:`Copy link`,copied:`Copied`,openLink:`Open link`},pM=(0,V.createContext)(fM),mM=()=>(0,V.useContext)(pM),hM=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:i,code:a,...o})=>{let s=Kj(),[c,l]=(0,V.useState)(!1),u=(0,V.useRef)(0),{code:d}=nM(),{isAnimating:f}=(0,V.useContext)(IP),p=mM(),m=a??d,h=async()=>{var r;if(typeof window>`u`||!((r=navigator==null?void 0:navigator.clipboard)!=null&&r.writeText)){t?.(Error(`Clipboard API not available`));return}try{c||(await navigator.clipboard.writeText(m),l(!0),e?.(),u.current=window.setTimeout(()=>l(!1),n))}catch(e){t?.(e)}};(0,V.useEffect)(()=>()=>{window.clearTimeout(u.current)},[]);let g=dM(),_=c?g.CheckIcon:g.CopyIcon;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{"aria-label":p.copyCode,className:s(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),"data-streamdown":`code-block-copy-button`,disabled:f,onClick:h,title:p.copyCode,type:`button`,...o,children:r??(0,H.jsx)(_,{"aria-hidden":`true`,size:14})}),c&&(0,H.jsx)(`output`,{"aria-live":`polite`,className:`sr-only`,children:p.copied})]})},gM=(e,t,n)=>{if(typeof e==`boolean`)return n;let r=e[t];if(typeof r!=`object`)return n;let i=r.download;return typeof i==`object`&&i.filename||n},_M={"1c":`1c`,"1c-query":`1cq`,abap:`abap`,"actionscript-3":`as`,ada:`ada`,adoc:`adoc`,"angular-html":`html`,"angular-ts":`ts`,apache:`conf`,apex:`cls`,apl:`apl`,applescript:`applescript`,ara:`ara`,asciidoc:`adoc`,asm:`asm`,astro:`astro`,awk:`awk`,ballerina:`bal`,bash:`sh`,bat:`bat`,batch:`bat`,be:`be`,beancount:`beancount`,berry:`berry`,bibtex:`bib`,bicep:`bicep`,blade:`blade.php`,bsl:`bsl`,c:`c`,"c#":`cs`,"c++":`cpp`,cadence:`cdc`,cairo:`cairo`,cdc:`cdc`,clarity:`clar`,clj:`clj`,clojure:`clj`,"closure-templates":`soy`,cmake:`cmake`,cmd:`cmd`,cobol:`cob`,codeowners:`CODEOWNERS`,codeql:`ql`,coffee:`coffee`,coffeescript:`coffee`,"common-lisp":`lisp`,console:`sh`,coq:`v`,cpp:`cpp`,cql:`cql`,crystal:`cr`,cs:`cs`,csharp:`cs`,css:`css`,csv:`csv`,cue:`cue`,cypher:`cql`,d:`d`,dart:`dart`,dax:`dax`,desktop:`desktop`,diff:`diff`,docker:`dockerfile`,dockerfile:`dockerfile`,dotenv:`env`,"dream-maker":`dm`,edge:`edge`,elisp:`el`,elixir:`ex`,elm:`elm`,"emacs-lisp":`el`,erb:`erb`,erl:`erl`,erlang:`erl`,f:`f`,"f#":`fs`,f03:`f03`,f08:`f08`,f18:`f18`,f77:`f77`,f90:`f90`,f95:`f95`,fennel:`fnl`,fish:`fish`,fluent:`ftl`,for:`for`,"fortran-fixed-form":`f`,"fortran-free-form":`f90`,fs:`fs`,fsharp:`fs`,fsl:`fsl`,ftl:`ftl`,gdresource:`tres`,gdscript:`gd`,gdshader:`gdshader`,genie:`gs`,gherkin:`feature`,"git-commit":`gitcommit`,"git-rebase":`gitrebase`,gjs:`js`,gleam:`gleam`,"glimmer-js":`js`,"glimmer-ts":`ts`,glsl:`glsl`,gnuplot:`plt`,go:`go`,gql:`gql`,graphql:`graphql`,groovy:`groovy`,gts:`gts`,hack:`hack`,haml:`haml`,handlebars:`hbs`,haskell:`hs`,haxe:`hx`,hbs:`hbs`,hcl:`hcl`,hjson:`hjson`,hlsl:`hlsl`,hs:`hs`,html:`html`,"html-derivative":`html`,http:`http`,hxml:`hxml`,hy:`hy`,imba:`imba`,ini:`ini`,jade:`jade`,java:`java`,javascript:`js`,jinja:`jinja`,jison:`jison`,jl:`jl`,js:`js`,json:`json`,json5:`json5`,jsonc:`jsonc`,jsonl:`jsonl`,jsonnet:`jsonnet`,jssm:`jssm`,jsx:`jsx`,julia:`jl`,kotlin:`kt`,kql:`kql`,kt:`kt`,kts:`kts`,kusto:`kql`,latex:`tex`,lean:`lean`,lean4:`lean`,less:`less`,liquid:`liquid`,lisp:`lisp`,lit:`lit`,llvm:`ll`,log:`log`,logo:`logo`,lua:`lua`,luau:`luau`,make:`mak`,makefile:`mak`,markdown:`md`,marko:`marko`,matlab:`m`,md:`md`,mdc:`mdc`,mdx:`mdx`,mediawiki:`wiki`,mermaid:`mmd`,mips:`s`,mipsasm:`s`,mmd:`mmd`,mojo:`mojo`,move:`move`,nar:`nar`,narrat:`narrat`,nextflow:`nf`,nf:`nf`,nginx:`conf`,nim:`nim`,nix:`nix`,nu:`nu`,nushell:`nu`,objc:`m`,"objective-c":`m`,"objective-cpp":`mm`,ocaml:`ml`,pascal:`pas`,perl:`pl`,perl6:`p6`,php:`php`,plsql:`pls`,po:`po`,polar:`polar`,postcss:`pcss`,pot:`pot`,potx:`potx`,powerquery:`pq`,powershell:`ps1`,prisma:`prisma`,prolog:`pl`,properties:`properties`,proto:`proto`,protobuf:`proto`,ps:`ps`,ps1:`ps1`,pug:`pug`,puppet:`pp`,purescript:`purs`,py:`py`,python:`py`,ql:`ql`,qml:`qml`,qmldir:`qmldir`,qss:`qss`,r:`r`,racket:`rkt`,raku:`raku`,razor:`cshtml`,rb:`rb`,reg:`reg`,regex:`regex`,regexp:`regexp`,rel:`rel`,riscv:`s`,rs:`rs`,rst:`rst`,ruby:`rb`,rust:`rs`,sas:`sas`,sass:`sass`,scala:`scala`,scheme:`scm`,scss:`scss`,sdbl:`sdbl`,sh:`sh`,shader:`shader`,shaderlab:`shader`,shell:`sh`,shellscript:`sh`,shellsession:`sh`,smalltalk:`st`,solidity:`sol`,soy:`soy`,sparql:`rq`,spl:`spl`,splunk:`spl`,sql:`sql`,"ssh-config":`config`,stata:`do`,styl:`styl`,stylus:`styl`,svelte:`svelte`,swift:`swift`,"system-verilog":`sv`,systemd:`service`,talon:`talon`,talonscript:`talon`,tasl:`tasl`,tcl:`tcl`,templ:`templ`,terraform:`tf`,tex:`tex`,tf:`tf`,tfvars:`tfvars`,toml:`toml`,ts:`ts`,"ts-tags":`ts`,tsp:`tsp`,tsv:`tsv`,tsx:`tsx`,turtle:`ttl`,twig:`twig`,typ:`typ`,typescript:`ts`,typespec:`tsp`,typst:`typ`,v:`v`,vala:`vala`,vb:`vb`,verilog:`v`,vhdl:`vhdl`,vim:`vim`,viml:`vim`,vimscript:`vim`,vue:`vue`,"vue-html":`html`,"vue-vine":`vine`,vy:`vy`,vyper:`vy`,wasm:`wasm`,wenyan:`wy`,wgsl:`wgsl`,wiki:`wiki`,wikitext:`wiki`,wit:`wit`,wl:`wl`,wolfram:`wl`,xml:`xml`,xsl:`xsl`,yaml:`yaml`,yml:`yml`,zenscript:`zs`,zig:`zig`,zsh:`zsh`,文言:`wy`},vM=({onDownload:e,onError:t,language:n,children:r,className:i,code:a,...o})=>{let s=Kj(),{code:c}=nM(),{isAnimating:l,controls:u}=(0,V.useContext)(IP),d=mM(),f=dM(),p=a??c,m=n&&n in _M?_M[n]:`txt`,h=`${gM(u,`code`,`file`)}.${m}`;return(0,H.jsx)(`button`,{"aria-label":d.downloadFile,className:s(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),"data-streamdown":`code-block-download-button`,disabled:l,onClick:()=>{try{Wj(h,p,`text/plain`),e?.()}catch(e){t?.(e)}},title:d.downloadFile,type:`button`,...o,children:r??(0,H.jsx)(f.DownloadIcon,{size:14})})},yM=()=>{let{Loader2Icon:e}=dM(),t=Kj();return(0,H.jsxs)(`div`,{className:t(`w-full divide-y divide-border overflow-hidden rounded-xl border border-border`),children:[(0,H.jsx)(`div`,{className:t(`h-[46px] w-full bg-muted/80`)}),(0,H.jsx)(`div`,{className:t(`flex w-full items-center justify-center p-4`),children:(0,H.jsx)(e,{className:t(`size-4 animate-spin`)})})]})},bM=/\.[^/.]+$/,xM=({node:e,className:t,src:n,alt:r,onLoad:i,onError:a,showControls:o=!0,showDownloadControl:s=!0,...c})=>{let{DownloadIcon:l}=dM(),u=Kj(),d=(0,V.useRef)(null),[f,p]=(0,V.useState)(!1),[m,h]=(0,V.useState)(!1),g=mM(),_=c.width!=null||c.height!=null,v=(f||_)&&!m&&o&&s,y=m&&!_;(0,V.useEffect)(()=>{let e=d.current;if(e!=null&&e.complete){let t=e.naturalWidth>0;p(t),h(!t)}},[]);let b=(0,V.useCallback)(e=>{p(!0),h(!1),i?.(e)},[i]),ee=(0,V.useCallback)(e=>{p(!1),h(!0),a?.(e)},[a]),x=async()=>{if(n)try{let e=await(await fetch(n)).blob(),t=new URL(n,window.location.origin).pathname.split(`/`).pop()||``,i=t.split(`.`).pop(),a=t.includes(`.`)&&i!==void 0&&i.length<=4,o=``;if(a)o=t;else{let n=e.type,i=`png`;n.includes(`jpeg`)||n.includes(`jpg`)?i=`jpg`:n.includes(`png`)?i=`png`:n.includes(`svg`)?i=`svg`:n.includes(`gif`)?i=`gif`:n.includes(`webp`)&&(i=`webp`),o=`${(r||t||`image`).replace(bM,``)}.${i}`}Wj(o,e,e.type)}catch{window.open(n,`_blank`)}};return n?(0,H.jsxs)(`div`,{className:u(`group relative my-4 inline-block`),"data-streamdown":`image-wrapper`,children:[(0,H.jsx)(`img`,{alt:r,className:u(`max-w-full rounded-lg`,y&&`hidden`,t),"data-streamdown":`image`,onError:ee,onLoad:b,ref:d,src:n,...c}),y&&(0,H.jsx)(`span`,{className:u(`text-muted-foreground text-xs italic`),"data-streamdown":`image-fallback`,children:g.imageNotAvailable}),o&&(0,H.jsx)(`div`,{className:u(`pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block`),"data-streamdown":`image-overlay`}),v&&(0,H.jsx)(`button`,{className:u(`absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background`,`opacity-0 group-hover:opacity-100`),onClick:x,title:g.downloadImage,type:`button`,children:(0,H.jsx)(l,{size:14})})]}):null},SM=0,CM=()=>{SM+=1,SM===1&&(document.body.style.overflow=`hidden`)},wM=()=>{SM=Math.max(0,SM-1),SM===0&&(document.body.style.overflow=``)},TM=({url:e,isOpen:t,onClose:n,onConfirm:r})=>{let{CheckIcon:i,CopyIcon:a,ExternalLinkIcon:o,XIcon:s}=dM(),c=Kj(),[l,u]=(0,V.useState)(!1),d=mM(),f=(0,V.useCallback)(async()=>{try{await navigator.clipboard.writeText(e),u(!0),setTimeout(()=>u(!1),2e3)}catch{}},[e]),p=(0,V.useCallback)(()=>{r(),n()},[r,n]);if((0,V.useEffect)(()=>{if(t){CM();let e=e=>{e.key===`Escape`&&n()};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),wM()}}},[t,n]),!t||typeof document>`u`)return null;let m=(0,H.jsx)(`div`,{className:c(`fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm`),"data-streamdown":`link-safety-modal`,onClick:n,onKeyDown:e=>{e.key===`Escape`&&n()},role:`button`,tabIndex:0,children:(0,H.jsxs)(`div`,{className:c(`relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[(0,H.jsx)(`button`,{className:c(`absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:n,title:d.close,type:`button`,children:(0,H.jsx)(s,{size:16})}),(0,H.jsxs)(`div`,{className:c(`flex flex-col gap-2`),children:[(0,H.jsxs)(`div`,{className:c(`flex items-center gap-2 font-semibold text-lg`),children:[(0,H.jsx)(o,{size:20}),(0,H.jsx)(`span`,{children:d.openExternalLink})]}),(0,H.jsx)(`p`,{className:c(`text-muted-foreground text-sm`),children:d.externalLinkWarning})]}),(0,H.jsx)(`div`,{className:c(`break-all rounded-md bg-muted p-3 font-mono text-sm`,e.length>100&&`max-h-32 overflow-y-auto`),children:e}),(0,H.jsxs)(`div`,{className:c(`flex gap-2`),children:[(0,H.jsx)(`button`,{className:c(`flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted`),onClick:f,type:`button`,children:l?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(i,{size:14}),(0,H.jsx)(`span`,{children:d.copied})]}):(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(a,{size:14}),(0,H.jsx)(`span`,{children:d.copyLink})]})}),(0,H.jsxs)(`button`,{className:c(`flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90`),onClick:p,type:`button`,children:[(0,H.jsx)(o,{size:14}),(0,H.jsx)(`span`,{children:d.openLink})]})]})]})});return(0,yc.createPortal)(m,document.body)},EM=(0,V.createContext)(null),DM=()=>(0,V.useContext)(EM),OM=()=>DM()?.code??null,kM=()=>DM()?.mermaid??null,AM=e=>{var t;let n=DM();return n!=null&&n.renderers&&e&&(t=n.renderers.find(t=>Array.isArray(t.language)?t.language.includes(e):t.language===e))!=null?t:null},jM=e=>{if(typeof DOMParser>`u`||typeof XMLSerializer>`u`)return e;let t=new DOMParser().parseFromString(e,`text/html`).querySelector(`svg`);return t?new XMLSerializer().serializeToString(t):e},MM=(e,t)=>new Promise((t,n)=>{let r=`data:image/svg+xml;base64,`+btoa(unescape(encodeURIComponent(e))),i=new Image;i.crossOrigin=`anonymous`,i.onload=()=>{let e=document.createElement(`canvas`),r=i.width*5,a=i.height*5;e.width=r,e.height=a;let o=e.getContext(`2d`);if(!o){n(Error(`Failed to create 2D canvas context for PNG export`));return}o.drawImage(i,0,0,r,a),e.toBlob(e=>{if(!e){n(Error(`Failed to create PNG blob`));return}t(e)},`image/png`)},i.onerror=()=>n(Error(`Failed to load SVG image`)),i.src=r}),NM=({chart:e,children:t,className:n,onDownload:r,config:i,onError:a})=>{let o=Kj(),[s,c]=(0,V.useState)(!1),l=(0,V.useRef)(null),{isAnimating:u,controls:d}=(0,V.useContext)(IP),f=dM(),p=kM(),m=mM(),h=gM(d,`mermaid`,`diagram`),g=async t=>{try{if(t===`mmd`){Wj(`${h}.mmd`,e,`text/plain`),c(!1),r?.(t);return}if(!p){a?.(Error(`Mermaid plugin not available`));return}let n=p.getMermaid(i),o=e.split(``).reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),s=`mermaid-${Math.abs(o)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:l}=await n.render(s,e);if(!l){a?.(Error(`SVG not found. Please wait for the diagram to render.`));return}let u=jM(l);if(t===`svg`){Wj(`${h}.svg`,u,`image/svg+xml`),c(!1),r?.(t);return}if(t===`png`){let e=await MM(u);Wj(`${h}.png`,e,`image/png`),r?.(t),c(!1);return}}catch(e){a?.(e)}};return(0,V.useEffect)(()=>{let e=e=>{let t=e.composedPath();l.current&&!t.includes(l.current)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,H.jsxs)(`div`,{className:o(`relative`),ref:l,children:[(0,H.jsx)(`button`,{"aria-label":m.downloadDiagram,className:o(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,n),disabled:u,onClick:()=>c(!s),title:m.downloadDiagram,type:`button`,children:t??(0,H.jsx)(f.DownloadIcon,{"aria-hidden":`true`,size:14})}),s?(0,H.jsxs)(`div`,{className:o(`absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,H.jsx)(`button`,{"aria-label":m.downloadDiagramAsSvg,className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`svg`),title:m.downloadDiagramAsSvg,type:`button`,children:m.mermaidFormatSvg}),(0,H.jsx)(`button`,{"aria-label":m.downloadDiagramAsPng,className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`png`),title:m.downloadDiagramAsPng,type:`button`,children:m.mermaidFormatPng}),(0,H.jsx)(`button`,{"aria-label":m.downloadDiagramAsMmd,className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`mmd`),title:m.downloadDiagramAsMmd,type:`button`,children:m.mermaidFormatMmd})]}):null]})},PM=({chart:e,config:t,onFullscreen:n,onExit:r,className:i,...a})=>{let{Maximize2Icon:o,XIcon:s}=dM(),c=Kj(),[l,u]=(0,V.useState)(!1),{isAnimating:d,controls:f}=(0,V.useContext)(IP),p=mM(),m=(()=>{if(typeof f==`boolean`)return f;let e=f.mermaid;return e===!1?!1:e===!0||e===void 0||e.panZoom!==!1})(),h=(()=>{if(typeof f==`boolean`)return f;let e=f.mermaid;return e===!1?!1:e===!0||e===void 0||e.download!==!1})(),g=(()=>{if(typeof f==`boolean`)return f;let e=f.mermaid;return e===!1?!1:e===!0||e===void 0||e.copy!==!1})(),_=()=>{u(!l)};return(0,V.useEffect)(()=>{if(l){CM();let e=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),wM()}}},[l]),(0,V.useEffect)(()=>{l?n?.():r&&r()},[l,n,r]),(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{className:c(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),disabled:d,onClick:_,title:p.viewFullscreen,type:`button`,...a,"aria-label":p.viewFullscreen,children:(0,H.jsx)(o,{"aria-hidden":`true`,size:14})}),l?(0,yc.createPortal)((0,H.jsxs)(`div`,{"aria-label":p.viewFullscreen,"aria-modal":`true`,className:c(`fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm`),"data-streamdown":`mermaid-fullscreen`,onClick:_,onKeyDown:e=>{e.key===`Escape`&&_()},role:`dialog`,children:[(0,H.jsxs)(`div`,{className:c(`absolute top-4 right-4 z-10 flex items-center gap-1`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[h?(0,H.jsx)(NM,{chart:e,config:t}):null,g?(0,H.jsx)(hM,{code:e}):null,(0,H.jsx)(`button`,{"aria-label":p.exitFullscreen,className:c(`rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:_,title:p.exitFullscreen,type:`button`,children:(0,H.jsx)(s,{"aria-hidden":`true`,size:20})})]}),(0,H.jsx)(`div`,{className:c(`flex size-full items-center justify-center p-4`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:(0,H.jsx)(BP,{chart:e,className:c(`size-full [&_svg]:h-auto [&_svg]:w-auto`),config:t,fullscreen:!0,showControls:m})})]}),document.body):null]})};function FM(e){if(e.nodeType===Node.TEXT_NODE)return e.textContent??``;if(e.nodeType!==Node.ELEMENT_NODE)return``;let t=e;return t.tagName===`BR`?`
|
|
402
402
|
`:Array.from(t.childNodes).map(FM).join(``)}var IM=e=>{let t=[],n=[],r=e.querySelectorAll(`thead th`);for(let e of r)t.push(FM(e).trim());let i=e.querySelectorAll(`tbody tr`);for(let e of i){let t=[],r=e.querySelectorAll(`td`);for(let e of r)t.push(FM(e).trim());n.push(t)}return{headers:t,rows:n}},LM=e=>{if(typeof e!=`object`)return`,`;let t=e.table;return typeof t==`object`?t.csvSeparator??`,`:`,`},RM=(e,t=`,`)=>{let n;n=t===`auto`?Intl.NumberFormat().format(1.1).includes(`,`)?`;`:`,`:t;let{headers:r,rows:i}=e,a=e=>{let t=!1;for(let r of e)if(r===n||r===`"`||r===`
|
|
403
403
|
`||r===`\r`){t=!0;break}return t?`"${e.replace(/"/g,`""`)}"`:e},o=r.length>0?i.length+1:i.length,s=Array(o),c=0;r.length>0&&(s[c]=r.map(a).join(n),c+=1);for(let e of i)s[c]=e.map(a).join(n),c+=1;return s.join(`
|
|
@@ -407,7 +407,7 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
407
407
|
`)},BM=e=>{let t=!1;for(let n of e)if(n===`\\`||n===`|`||n===`
|
|
408
408
|
`){t=!0;break}if(!t)return e;let n=[];for(let t of e)t===`\\`?n.push(`\\\\`):t===`|`?n.push(`\\|`):t===`
|
|
409
409
|
`?n.push(`<br>`):n.push(t);return n.join(``)},VM=e=>{let{headers:t,rows:n}=e;if(t.length===0)return``;let r=Array(n.length+2),i=0,a=t.map(e=>BM(e));r[i]=`| ${a.join(` | `)} |`,i+=1;let o=Array(t.length);for(let e=0;e<t.length;e+=1)o[e]=`---`;r[i]=`| ${o.join(` | `)} |`,i+=1;for(let e of n)if(e.length<t.length){let n=Array(t.length);for(let r=0;r<t.length;r+=1)n[r]=r<e.length?BM(e[r]):``;r[i]=`| ${n.join(` | `)} |`,i+=1}else{let t=e.map(e=>BM(e));r[i]=`| ${t.join(` | `)} |`,i+=1}return r.join(`
|
|
410
|
-
`)},HM=({children:e,className:t,onCopy:n,onError:r,timeout:i=2e3})=>{let a=Kj(),[o,s]=(0,V.useState)(!1),[c,l]=(0,V.useState)(!1),u=(0,V.useRef)(null),d=(0,V.useRef)(0),{isAnimating:f,controls:p}=(0,V.useContext)(IP),m=mM(),h=LM(p),g=async e=>{var t;if(typeof window>`u`||!((t=navigator==null?void 0:navigator.clipboard)!=null&&t.write)){r?.(Error(`Clipboard API not available`));return}try{let t=(u.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let a=IM(t),o=``;o=e===`csv`?RM(a,h):e===`tsv`?zM(a):VM(a);let c=new ClipboardItem({"text/plain":new Blob([o],{type:`text/plain`}),"text/html":new Blob([t.outerHTML],{type:`text/html`})});await navigator.clipboard.write([c]),l(!0),s(!1),n?.(e),d.current=window.setTimeout(()=>l(!1),i)}catch(e){r?.(e)}};(0,V.useEffect)(()=>{let e=e=>{let t=e.composedPath();u.current&&!t.includes(u.current)&&s(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e),window.clearTimeout(d.current)}},[]);let _=dM(),v=c?_.CheckIcon:_.CopyIcon;return(0,H.jsxs)(`div`,{className:a(`relative`),ref:u,children:[(0,H.jsx)(`button`,{className:a(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:f,onClick:()=>s(!o),title:m.copyTable,type:`button`,children:e??(0,H.jsx)(v,{height:14,width:14})}),o?(0,H.jsxs)(`div`,{className:a(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`md`),title:m.copyTableAsMarkdown,type:`button`,children:m.tableFormatMarkdown}),(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`csv`),title:m.copyTableAsCsv,type:`button`,children:m.tableFormatCsv}),(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`tsv`),title:m.copyTableAsTsv,type:`button`,children:m.tableFormatTsv})]}):null]})},UM=({children:e,className:t,onDownload:n,onError:r})=>{let i=Kj(),[a,o]=(0,V.useState)(!1),s=(0,V.useRef)(null),{isAnimating:c,controls:l}=(0,V.useContext)(IP),u=mM(),d=dM(),f=LM(l),p=e=>{try{let t=(s.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let i=IM(t),a=e===`csv`?RM(i,f):VM(i),c=e===`csv`?`csv`:`md`;Wj(`${gM(l,`table`,`table`)}.${c}`,a,e===`csv`?`text/csv`:`text/markdown`),o(!1),n?.(e)}catch(e){r?.(e)}};return(0,V.useEffect)(()=>{let e=e=>{let t=e.composedPath();s.current&&!t.includes(s.current)&&o(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,H.jsxs)(`div`,{className:i(`relative`),ref:s,children:[(0,H.jsx)(`button`,{className:i(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:c,onClick:()=>o(!a),title:u.downloadTable,type:`button`,children:e??(0,H.jsx)(d.DownloadIcon,{size:14})}),a?(0,H.jsxs)(`div`,{className:i(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,H.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>p(`csv`),title:u.downloadTableAsCsv,type:`button`,children:u.tableFormatCsv}),(0,H.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>p(`markdown`),title:u.downloadTableAsMarkdown,type:`button`,children:u.tableFormatMarkdown})]}):null]})},WM=({children:e,className:t,showCopy:n=!0,showDownload:r=!0})=>{let{Maximize2Icon:i,XIcon:a}=dM(),o=Kj(),[s,c]=(0,V.useState)(!1),{isAnimating:l}=(0,V.useContext)(IP),u=mM(),d=()=>{c(!0)},f=()=>{c(!1)};return(0,V.useEffect)(()=>{if(s){CM();let e=e=>{e.key===`Escape`&&c(!1)};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),wM()}}},[s]),(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{className:o(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:l,onClick:d,title:u.viewFullscreen,type:`button`,children:(0,H.jsx)(i,{size:14})}),s?(0,yc.createPortal)((0,H.jsx)(`div`,{"aria-label":u.viewFullscreen,"aria-modal":`true`,className:o(`fixed inset-0 z-50 flex flex-col bg-background`),"data-streamdown":`table-fullscreen`,onClick:f,onKeyDown:e=>{e.key===`Escape`&&f()},role:`dialog`,children:(0,H.jsxs)(`div`,{className:o(`flex h-full flex-col`),"data-streamdown":`table-wrapper`,onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[(0,H.jsxs)(`div`,{className:o(`flex items-center justify-end gap-1 p-4`),children:[n?(0,H.jsx)(HM,{}):null,r?(0,H.jsx)(UM,{}):null,(0,H.jsx)(`button`,{className:o(`rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:f,title:u.exitFullscreen,type:`button`,children:(0,H.jsx)(a,{size:20})})]}),(0,H.jsx)(`div`,{className:o(`flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10`),children:(0,H.jsx)(`table`,{className:o(`w-full border-collapse border border-border`),"data-streamdown":`table`,children:e})})]})}),document.body):null]})},GM=({children:e,className:t,maxHeight:n,showControls:r,showCopy:i=!0,showDownload:a=!0,showFullscreen:o=!0,...s})=>{let c=Kj(),{isAnimating:l}=(0,V.useContext)(IP),u=Jj(n),d=Yj(l,!!u,e),f=r&&i,p=r&&a,m=r&&o,h=f||p||m;return(0,H.jsxs)(`div`,{className:c(`my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2`),"data-streamdown":`table-wrapper`,children:[h?(0,H.jsxs)(`div`,{className:c(`flex items-center justify-end gap-1`),children:[f?(0,H.jsx)(HM,{}):null,p?(0,H.jsx)(UM,{}):null,m?(0,H.jsx)(WM,{showCopy:f,showDownload:p,children:e}):null]}):null,(0,H.jsx)(`div`,{className:c(`border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background`),ref:d,style:u?{maxHeight:u}:void 0,children:(0,H.jsx)(`table`,{className:c(`w-full divide-y divide-border`,t),"data-streamdown":`table`,...s,children:e})})]})},KM=/startLine=(\d+)/,qM=/\bnoLineNumbers\b/,JM=(0,V.lazy)(()=>l(()=>import(`./mermaid-HWGCJPDP-jb5d211j.js`).then(e=>({default:e.Mermaid})),[],import.meta.url)),YM=/language-([^\s]+)/,XM=`node`;function ZM(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;let r=e,i=t;for(let e of n)if(e!==XM&&!Object.is(r[e],i[e]))return!1;return!0}function QM(e,t){return e?.properties?.metastring===t?.properties?.metastring}var $M=(e,t)=>typeof e==`boolean`?e:e[t]!==!1,eN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.table;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},tN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.code;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},nN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.mermaid;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},rN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.image;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},iN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`ol`,{className:i(`list-inside list-decimal whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`ordered-list`,...r,children:e})},(e,t)=>ZM(e,t));iN.displayName=`MarkdownOl`;var aN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`li`,{className:i(`py-1 [&>p]:inline`,t),"data-streamdown":`list-item`,...r,children:e})},(e,t)=>ZM(e,t));aN.displayName=`MarkdownLi`;var oN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`ul`,{className:i(`list-inside list-disc whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`unordered-list`,...r,children:e})},(e,t)=>ZM(e,t));oN.displayName=`MarkdownUl`;var sN=(0,V.memo)(({className:e,node:t,...n})=>{let r=Kj();return(0,H.jsx)(`hr`,{className:r(`my-6 border-border`,e),"data-streamdown":`horizontal-rule`,...n})},(e,t)=>ZM(e,t));sN.displayName=`MarkdownHr`;var cN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`span`,{className:i(`font-semibold`,t),"data-streamdown":`strong`,...r,children:e})},(e,t)=>ZM(e,t));cN.displayName=`MarkdownStrong`;var lN=(0,V.memo)(({children:e,className:t,href:n,node:r,...i})=>{let a=Kj(),{linkSafety:o}=(0,V.useContext)(IP),[s,c]=(0,V.useState)(!1),l=n===`streamdown:incomplete-link`,u=(0,V.useCallback)(async e=>{if(o!=null&&o.enabled&&n&&!l){if(e.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(n)){window.open(n,`_blank`,`noreferrer`);return}c(!0)}},[o,n,l]),d=(0,V.useCallback)(()=>{n&&window.open(n,`_blank`,`noreferrer`)},[n]),f=(0,V.useCallback)(()=>{c(!1)},[]),p={url:n??``,isOpen:s,onClose:f,onConfirm:d};return o!=null&&o.enabled&&n?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{className:a(`wrap-anywhere appearance-none text-left font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,onClick:u,type:`button`,children:e}),o.renderModal?o.renderModal(p):(0,H.jsx)(TM,{...p})]}):(0,H.jsx)(`a`,{className:a(`wrap-anywhere font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,href:n,rel:`noreferrer`,target:`_blank`,...i,children:e})},(e,t)=>ZM(e,t));lN.displayName=`MarkdownA`;var uN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h1`,{className:i(`mt-6 mb-2 font-semibold text-3xl`,t),"data-streamdown":`heading-1`,...r,children:e})},(e,t)=>ZM(e,t));uN.displayName=`MarkdownH1`;var dN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h2`,{className:i(`mt-6 mb-2 font-semibold text-2xl`,t),"data-streamdown":`heading-2`,...r,children:e})},(e,t)=>ZM(e,t));dN.displayName=`MarkdownH2`;var fN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h3`,{className:i(`mt-6 mb-2 font-semibold text-xl`,t),"data-streamdown":`heading-3`,...r,children:e})},(e,t)=>ZM(e,t));fN.displayName=`MarkdownH3`;var pN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h4`,{className:i(`mt-6 mb-2 font-semibold text-lg`,t),"data-streamdown":`heading-4`,...r,children:e})},(e,t)=>ZM(e,t));pN.displayName=`MarkdownH4`;var mN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h5`,{className:i(`mt-6 mb-2 font-semibold text-base`,t),"data-streamdown":`heading-5`,...r,children:e})},(e,t)=>ZM(e,t));mN.displayName=`MarkdownH5`;var hN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h6`,{className:i(`mt-6 mb-2 font-semibold text-sm`,t),"data-streamdown":`heading-6`,...r,children:e})},(e,t)=>ZM(e,t));hN.displayName=`MarkdownH6`;var gN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let{controls:i,tableMaxHeight:a}=(0,V.useContext)(IP),o=$M(i,`table`),s=eN(i,`copy`),c=eN(i,`download`),l=eN(i,`fullscreen`);return(0,H.jsx)(GM,{className:t,maxHeight:a,showControls:o,showCopy:s,showDownload:c,showFullscreen:l,...r,children:e})},(e,t)=>ZM(e,t));gN.displayName=`MarkdownTable`;var _N=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`thead`,{className:i(`bg-muted/80`,t),"data-streamdown":`table-header`,...r,children:e})},(e,t)=>ZM(e,t));_N.displayName=`MarkdownThead`;var vN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`tbody`,{className:i(`divide-y divide-border`,t),"data-streamdown":`table-body`,...r,children:e})},(e,t)=>ZM(e,t));vN.displayName=`MarkdownTbody`;var yN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`tr`,{className:i(`border-border`,t),"data-streamdown":`table-row`,...r,children:e})},(e,t)=>ZM(e,t));yN.displayName=`MarkdownTr`;var bN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`th`,{className:i(`whitespace-nowrap px-4 py-2 text-left font-semibold text-sm`,t),"data-streamdown":`table-header-cell`,...r,children:e})},(e,t)=>ZM(e,t));bN.displayName=`MarkdownTh`;var xN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`td`,{className:i(`px-4 py-2 text-sm`,t),"data-streamdown":`table-cell`,...r,children:e})},(e,t)=>ZM(e,t));xN.displayName=`MarkdownTd`;var SN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`blockquote`,{className:i(`my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic`,t),"data-streamdown":`blockquote`,...r,children:e})},(e,t)=>ZM(e,t));SN.displayName=`MarkdownBlockquote`;var CN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`sup`,{className:i(`text-sm`,t),"data-streamdown":`superscript`,...r,children:e})},(e,t)=>ZM(e,t));CN.displayName=`MarkdownSup`;var wN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`sub`,{className:i(`text-sm`,t),"data-streamdown":`subscript`,...r,children:e})},(e,t)=>ZM(e,t));wN.displayName=`MarkdownSub`;var TN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{if(`data-footnotes`in r){let n=e=>{if(!(0,V.isValidElement)(e))return!1;let t=Array.isArray(e.props.children)?e.props.children:[e.props.children],n=!1,r=!1;for(let e of t)if(e){if(typeof e==`string`)e.trim()!==``&&(n=!0);else if((0,V.isValidElement)(e)){if(e.props?.[`data-footnote-backref`]!==void 0)r=!0;else{let t=Array.isArray(e.props.children)?e.props.children:[e.props.children];for(let e of t){if(typeof e==`string`&&e.trim()!==``){n=!0;break}if((0,V.isValidElement)(e)&&e.props?.[`data-footnote-backref`]===void 0){n=!0;break}}}}}return r&&!n},i=Array.isArray(e)?e.map(e=>{if(!(0,V.isValidElement)(e))return e;if(e.type===iN){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!n(e));return t.length===0?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(i)?i.some(e=>e!==null):i!==null)?(0,H.jsx)(`section`,{className:t,...r,children:i}):null}return(0,H.jsx)(`section`,{className:t,...r,children:e})},(e,t)=>ZM(e,t));TN.displayName=`MarkdownSection`;var EN=(0,V.memo)(({node:e,className:t,children:n,...r})=>{let i=Kj(),a=!(`data-block`in r),{mermaid:o,controls:s,lineNumbers:c}=(0,V.useContext)(IP),l=kM(),u=Bj(),d=(t?.match(YM))?.at(1)??``,f=AM(d);if(a)return(0,H.jsx)(`code`,{className:i(`rounded bg-muted px-1.5 py-0.5 font-mono text-sm`,t),"data-streamdown":`inline-code`,...r,children:n});let p=e?.properties?.metastring,m=p?.match(KM),h=m?Number.parseInt(m[1],10):void 0,g=h!==void 0&&h>=1?h:void 0,_=!(p&&qM.test(p))&&c!==!1,v=``;if((0,V.isValidElement)(n)&&n.props&&typeof n.props==`object`&&`children`in n.props&&typeof n.props.children==`string`?v=n.props.children:typeof n==`string`&&(v=n),f){let e=f.component;return(0,H.jsx)(V.Suspense,{fallback:(0,H.jsx)(yM,{}),children:(0,H.jsx)(e,{code:v,isIncomplete:u,language:d,meta:p})})}if(d===`mermaid`&&l){let e=$M(s,`mermaid`),n=nN(s,`download`),r=nN(s,`copy`),a=nN(s,`fullscreen`),c=nN(s,`panZoom`),l=e&&(n||r||a);return(0,H.jsx)(V.Suspense,{fallback:(0,H.jsx)(yM,{}),children:(0,H.jsxs)(`div`,{className:i(`group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2`,t),"data-streamdown":`mermaid-block`,children:[(0,H.jsx)(`div`,{className:i(`flex h-8 items-center text-muted-foreground text-xs`),children:(0,H.jsx)(`span`,{className:i(`ml-1 font-mono lowercase`),children:`mermaid`})}),l?(0,H.jsx)(`div`,{className:i(`pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end`),children:(0,H.jsxs)(`div`,{className:i(`pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur`),"data-streamdown":`mermaid-block-actions`,children:[n?(0,H.jsx)(NM,{chart:v,config:o?.config}):null,r?(0,H.jsx)(hM,{code:v}):null,a?(0,H.jsx)(PM,{chart:v,config:o?.config}):null]})}):null,(0,H.jsx)(`div`,{className:i(`rounded-md border border-border bg-background`),children:(0,H.jsx)(JM,{chart:v,config:o?.config,showControls:c})})]})})}let y=$M(s,`code`),b=tN(s,`download`),ee=tN(s,`copy`),{"data-block":x,...S}=r;return(0,H.jsx)(oM,{className:t,code:v,isIncomplete:u,language:d,lineNumbers:_,startLine:g,...S,children:y?(0,H.jsxs)(H.Fragment,{children:[b?(0,H.jsx)(vM,{code:v,language:d}):null,ee?(0,H.jsx)(hM,{}):null]}):null})},(e,t)=>ZM(e,t)&&QM(e.node,t.node));EN.displayName=`MarkdownCode`;var DN=(0,V.memo)(({node:e,className:t,...n})=>{let{controls:r}=(0,V.useContext)(IP),i=$M(r,`image`),a=i&&rN(r,`download`);return(0,H.jsx)(xM,{className:t,node:e,showControls:i,showDownloadControl:a,...n})},(e,t)=>ZM(e,t));DN.displayName=`MarkdownImg`;var ON=(0,V.memo)(({children:e,node:t,...n})=>{let r=(Array.isArray(e)?e:[e]).filter(e=>e!=null&&e!==``);if(r.length===1&&(0,V.isValidElement)(r[0])){let t=r[0].props.node?.tagName;if(t===`img`||t===`code`&&`data-block`in r[0].props)return(0,H.jsx)(H.Fragment,{children:e})}return(0,H.jsx)(`p`,{...n,children:e})},(e,t)=>ZM(e,t));ON.displayName=`MarkdownParagraph`;var kN={ol:iN,li:aN,ul:oN,hr:sN,strong:cN,a:lN,h1:uN,h2:dN,h3:fN,h4:pN,h5:mN,h6:hN,table:gN,thead:_N,tbody:vN,tr:yN,th:bN,td:xN,blockquote:SN,code:EN,img:DN,pre:({children:e})=>(0,V.isValidElement)(e)?(0,V.cloneElement)(e,{"data-block":`true`}):e,sup:CN,sub:wN,p:ON,section:TN},AN=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,jN=/\p{L}/u;function MN(e){let t=e.replace(/(```|~~~)[\s\S]*?\1/g,``).replace(/^#{1,6}\s+/gm,``).replace(/(\*{1,3}|_{1,3})/g,``).replace(/`[^`]*`/g,``).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/^[\s>*\-+\d.]+/gm,``),n,r=0,i=0;for(let e of t){if(AN.test(e)){n??=`rtl`,i+=1;continue}jN.test(e)&&(n??=`ltr`,r+=1)}return i>r?`rtl`:r>i?`ltr`:n??`ltr`}var NN=/^[ \t]{0,3}(`{3,}|~{3,})/,PN=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,FN=e=>{let t=e.split(`
|
|
410
|
+
`)},HM=({children:e,className:t,onCopy:n,onError:r,timeout:i=2e3})=>{let a=Kj(),[o,s]=(0,V.useState)(!1),[c,l]=(0,V.useState)(!1),u=(0,V.useRef)(null),d=(0,V.useRef)(0),{isAnimating:f,controls:p}=(0,V.useContext)(IP),m=mM(),h=LM(p),g=async e=>{var t;if(typeof window>`u`||!((t=navigator==null?void 0:navigator.clipboard)!=null&&t.write)){r?.(Error(`Clipboard API not available`));return}try{let t=(u.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let a=IM(t),o=``;o=e===`csv`?RM(a,h):e===`tsv`?zM(a):VM(a);let c=new ClipboardItem({"text/plain":new Blob([o],{type:`text/plain`}),"text/html":new Blob([t.outerHTML],{type:`text/html`})});await navigator.clipboard.write([c]),l(!0),s(!1),n?.(e),d.current=window.setTimeout(()=>l(!1),i)}catch(e){r?.(e)}};(0,V.useEffect)(()=>{let e=e=>{let t=e.composedPath();u.current&&!t.includes(u.current)&&s(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e),window.clearTimeout(d.current)}},[]);let _=dM(),v=c?_.CheckIcon:_.CopyIcon;return(0,H.jsxs)(`div`,{className:a(`relative`),ref:u,children:[(0,H.jsx)(`button`,{className:a(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:f,onClick:()=>s(!o),title:m.copyTable,type:`button`,children:e??(0,H.jsx)(v,{height:14,width:14})}),o?(0,H.jsxs)(`div`,{className:a(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`md`),title:m.copyTableAsMarkdown,type:`button`,children:m.tableFormatMarkdown}),(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`csv`),title:m.copyTableAsCsv,type:`button`,children:m.tableFormatCsv}),(0,H.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>g(`tsv`),title:m.copyTableAsTsv,type:`button`,children:m.tableFormatTsv})]}):null]})},UM=({children:e,className:t,onDownload:n,onError:r})=>{let i=Kj(),[a,o]=(0,V.useState)(!1),s=(0,V.useRef)(null),{isAnimating:c,controls:l}=(0,V.useContext)(IP),u=mM(),d=dM(),f=LM(l),p=e=>{try{let t=(s.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let i=IM(t),a=e===`csv`?RM(i,f):VM(i),c=e===`csv`?`csv`:`md`;Wj(`${gM(l,`table`,`table`)}.${c}`,a,e===`csv`?`text/csv`:`text/markdown`),o(!1),n?.(e)}catch(e){r?.(e)}};return(0,V.useEffect)(()=>{let e=e=>{let t=e.composedPath();s.current&&!t.includes(s.current)&&o(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,H.jsxs)(`div`,{className:i(`relative`),ref:s,children:[(0,H.jsx)(`button`,{className:i(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:c,onClick:()=>o(!a),title:u.downloadTable,type:`button`,children:e??(0,H.jsx)(d.DownloadIcon,{size:14})}),a?(0,H.jsxs)(`div`,{className:i(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,H.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>p(`csv`),title:u.downloadTableAsCsv,type:`button`,children:u.tableFormatCsv}),(0,H.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>p(`markdown`),title:u.downloadTableAsMarkdown,type:`button`,children:u.tableFormatMarkdown})]}):null]})},WM=({children:e,className:t,showCopy:n=!0,showDownload:r=!0})=>{let{Maximize2Icon:i,XIcon:a}=dM(),o=Kj(),[s,c]=(0,V.useState)(!1),{isAnimating:l}=(0,V.useContext)(IP),u=mM(),d=()=>{c(!0)},f=()=>{c(!1)};return(0,V.useEffect)(()=>{if(s){CM();let e=e=>{e.key===`Escape`&&c(!1)};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),wM()}}},[s]),(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{className:o(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:l,onClick:d,title:u.viewFullscreen,type:`button`,children:(0,H.jsx)(i,{size:14})}),s?(0,yc.createPortal)((0,H.jsx)(`div`,{"aria-label":u.viewFullscreen,"aria-modal":`true`,className:o(`fixed inset-0 z-50 flex flex-col bg-background`),"data-streamdown":`table-fullscreen`,onClick:f,onKeyDown:e=>{e.key===`Escape`&&f()},role:`dialog`,children:(0,H.jsxs)(`div`,{className:o(`flex h-full flex-col`),"data-streamdown":`table-wrapper`,onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[(0,H.jsxs)(`div`,{className:o(`flex items-center justify-end gap-1 p-4`),children:[n?(0,H.jsx)(HM,{}):null,r?(0,H.jsx)(UM,{}):null,(0,H.jsx)(`button`,{className:o(`rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:f,title:u.exitFullscreen,type:`button`,children:(0,H.jsx)(a,{size:20})})]}),(0,H.jsx)(`div`,{className:o(`flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10`),children:(0,H.jsx)(`table`,{className:o(`w-full border-collapse border border-border`),"data-streamdown":`table`,children:e})})]})}),document.body):null]})},GM=({children:e,className:t,maxHeight:n,showControls:r,showCopy:i=!0,showDownload:a=!0,showFullscreen:o=!0,...s})=>{let c=Kj(),{isAnimating:l}=(0,V.useContext)(IP),u=Jj(n),d=Yj(l,!!u,e),f=r&&i,p=r&&a,m=r&&o,h=f||p||m;return(0,H.jsxs)(`div`,{className:c(`my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2`),"data-streamdown":`table-wrapper`,children:[h?(0,H.jsxs)(`div`,{className:c(`flex items-center justify-end gap-1`),children:[f?(0,H.jsx)(HM,{}):null,p?(0,H.jsx)(UM,{}):null,m?(0,H.jsx)(WM,{showCopy:f,showDownload:p,children:e}):null]}):null,(0,H.jsx)(`div`,{className:c(`border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background`),ref:d,style:u?{maxHeight:u}:void 0,children:(0,H.jsx)(`table`,{className:c(`w-full divide-y divide-border`,t),"data-streamdown":`table`,...s,children:e})})]})},KM=/startLine=(\d+)/,qM=/\bnoLineNumbers\b/,JM=(0,V.lazy)(()=>u(()=>import(`./mermaid-HWGCJPDP-gfl8z3ep.js`).then(e=>({default:e.Mermaid})),[],import.meta.url)),YM=/language-([^\s]+)/,XM=`node`;function ZM(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;let r=e,i=t;for(let e of n)if(e!==XM&&!Object.is(r[e],i[e]))return!1;return!0}function QM(e,t){return e?.properties?.metastring===t?.properties?.metastring}var $M=(e,t)=>typeof e==`boolean`?e:e[t]!==!1,eN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.table;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},tN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.code;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},nN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.mermaid;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},rN=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.image;return n===!1?!1:n===!0||n===void 0||n[t]!==!1},iN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`ol`,{className:i(`list-inside list-decimal whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`ordered-list`,...r,children:e})},(e,t)=>ZM(e,t));iN.displayName=`MarkdownOl`;var aN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`li`,{className:i(`py-1 [&>p]:inline`,t),"data-streamdown":`list-item`,...r,children:e})},(e,t)=>ZM(e,t));aN.displayName=`MarkdownLi`;var oN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`ul`,{className:i(`list-inside list-disc whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`unordered-list`,...r,children:e})},(e,t)=>ZM(e,t));oN.displayName=`MarkdownUl`;var sN=(0,V.memo)(({className:e,node:t,...n})=>{let r=Kj();return(0,H.jsx)(`hr`,{className:r(`my-6 border-border`,e),"data-streamdown":`horizontal-rule`,...n})},(e,t)=>ZM(e,t));sN.displayName=`MarkdownHr`;var cN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`span`,{className:i(`font-semibold`,t),"data-streamdown":`strong`,...r,children:e})},(e,t)=>ZM(e,t));cN.displayName=`MarkdownStrong`;var lN=(0,V.memo)(({children:e,className:t,href:n,node:r,...i})=>{let a=Kj(),{linkSafety:o}=(0,V.useContext)(IP),[s,c]=(0,V.useState)(!1),l=n===`streamdown:incomplete-link`,u=(0,V.useCallback)(async e=>{if(o!=null&&o.enabled&&n&&!l){if(e.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(n)){window.open(n,`_blank`,`noreferrer`);return}c(!0)}},[o,n,l]),d=(0,V.useCallback)(()=>{n&&window.open(n,`_blank`,`noreferrer`)},[n]),f=(0,V.useCallback)(()=>{c(!1)},[]),p={url:n??``,isOpen:s,onClose:f,onConfirm:d};return o!=null&&o.enabled&&n?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{className:a(`wrap-anywhere appearance-none text-left font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,onClick:u,type:`button`,children:e}),o.renderModal?o.renderModal(p):(0,H.jsx)(TM,{...p})]}):(0,H.jsx)(`a`,{className:a(`wrap-anywhere font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,href:n,rel:`noreferrer`,target:`_blank`,...i,children:e})},(e,t)=>ZM(e,t));lN.displayName=`MarkdownA`;var uN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h1`,{className:i(`mt-6 mb-2 font-semibold text-3xl`,t),"data-streamdown":`heading-1`,...r,children:e})},(e,t)=>ZM(e,t));uN.displayName=`MarkdownH1`;var dN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h2`,{className:i(`mt-6 mb-2 font-semibold text-2xl`,t),"data-streamdown":`heading-2`,...r,children:e})},(e,t)=>ZM(e,t));dN.displayName=`MarkdownH2`;var fN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h3`,{className:i(`mt-6 mb-2 font-semibold text-xl`,t),"data-streamdown":`heading-3`,...r,children:e})},(e,t)=>ZM(e,t));fN.displayName=`MarkdownH3`;var pN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h4`,{className:i(`mt-6 mb-2 font-semibold text-lg`,t),"data-streamdown":`heading-4`,...r,children:e})},(e,t)=>ZM(e,t));pN.displayName=`MarkdownH4`;var mN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h5`,{className:i(`mt-6 mb-2 font-semibold text-base`,t),"data-streamdown":`heading-5`,...r,children:e})},(e,t)=>ZM(e,t));mN.displayName=`MarkdownH5`;var hN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`h6`,{className:i(`mt-6 mb-2 font-semibold text-sm`,t),"data-streamdown":`heading-6`,...r,children:e})},(e,t)=>ZM(e,t));hN.displayName=`MarkdownH6`;var gN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let{controls:i,tableMaxHeight:a}=(0,V.useContext)(IP),o=$M(i,`table`),s=eN(i,`copy`),c=eN(i,`download`),l=eN(i,`fullscreen`);return(0,H.jsx)(GM,{className:t,maxHeight:a,showControls:o,showCopy:s,showDownload:c,showFullscreen:l,...r,children:e})},(e,t)=>ZM(e,t));gN.displayName=`MarkdownTable`;var _N=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`thead`,{className:i(`bg-muted/80`,t),"data-streamdown":`table-header`,...r,children:e})},(e,t)=>ZM(e,t));_N.displayName=`MarkdownThead`;var vN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`tbody`,{className:i(`divide-y divide-border`,t),"data-streamdown":`table-body`,...r,children:e})},(e,t)=>ZM(e,t));vN.displayName=`MarkdownTbody`;var yN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`tr`,{className:i(`border-border`,t),"data-streamdown":`table-row`,...r,children:e})},(e,t)=>ZM(e,t));yN.displayName=`MarkdownTr`;var bN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`th`,{className:i(`whitespace-nowrap px-4 py-2 text-left font-semibold text-sm`,t),"data-streamdown":`table-header-cell`,...r,children:e})},(e,t)=>ZM(e,t));bN.displayName=`MarkdownTh`;var xN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`td`,{className:i(`px-4 py-2 text-sm`,t),"data-streamdown":`table-cell`,...r,children:e})},(e,t)=>ZM(e,t));xN.displayName=`MarkdownTd`;var SN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`blockquote`,{className:i(`my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic`,t),"data-streamdown":`blockquote`,...r,children:e})},(e,t)=>ZM(e,t));SN.displayName=`MarkdownBlockquote`;var CN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`sup`,{className:i(`text-sm`,t),"data-streamdown":`superscript`,...r,children:e})},(e,t)=>ZM(e,t));CN.displayName=`MarkdownSup`;var wN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{let i=Kj();return(0,H.jsx)(`sub`,{className:i(`text-sm`,t),"data-streamdown":`subscript`,...r,children:e})},(e,t)=>ZM(e,t));wN.displayName=`MarkdownSub`;var TN=(0,V.memo)(({children:e,className:t,node:n,...r})=>{if(`data-footnotes`in r){let n=e=>{if(!(0,V.isValidElement)(e))return!1;let t=Array.isArray(e.props.children)?e.props.children:[e.props.children],n=!1,r=!1;for(let e of t)if(e){if(typeof e==`string`)e.trim()!==``&&(n=!0);else if((0,V.isValidElement)(e)){if(e.props?.[`data-footnote-backref`]!==void 0)r=!0;else{let t=Array.isArray(e.props.children)?e.props.children:[e.props.children];for(let e of t){if(typeof e==`string`&&e.trim()!==``){n=!0;break}if((0,V.isValidElement)(e)&&e.props?.[`data-footnote-backref`]===void 0){n=!0;break}}}}}return r&&!n},i=Array.isArray(e)?e.map(e=>{if(!(0,V.isValidElement)(e))return e;if(e.type===iN){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!n(e));return t.length===0?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(i)?i.some(e=>e!==null):i!==null)?(0,H.jsx)(`section`,{className:t,...r,children:i}):null}return(0,H.jsx)(`section`,{className:t,...r,children:e})},(e,t)=>ZM(e,t));TN.displayName=`MarkdownSection`;var EN=(0,V.memo)(({node:e,className:t,children:n,...r})=>{let i=Kj(),a=!(`data-block`in r),{mermaid:o,controls:s,lineNumbers:c}=(0,V.useContext)(IP),l=kM(),u=Bj(),d=(t?.match(YM))?.at(1)??``,f=AM(d);if(a)return(0,H.jsx)(`code`,{className:i(`rounded bg-muted px-1.5 py-0.5 font-mono text-sm`,t),"data-streamdown":`inline-code`,...r,children:n});let p=e?.properties?.metastring,m=p?.match(KM),h=m?Number.parseInt(m[1],10):void 0,g=h!==void 0&&h>=1?h:void 0,_=!(p&&qM.test(p))&&c!==!1,v=``;if((0,V.isValidElement)(n)&&n.props&&typeof n.props==`object`&&`children`in n.props&&typeof n.props.children==`string`?v=n.props.children:typeof n==`string`&&(v=n),f){let e=f.component;return(0,H.jsx)(V.Suspense,{fallback:(0,H.jsx)(yM,{}),children:(0,H.jsx)(e,{code:v,isIncomplete:u,language:d,meta:p})})}if(d===`mermaid`&&l){let e=$M(s,`mermaid`),n=nN(s,`download`),r=nN(s,`copy`),a=nN(s,`fullscreen`),c=nN(s,`panZoom`),l=e&&(n||r||a);return(0,H.jsx)(V.Suspense,{fallback:(0,H.jsx)(yM,{}),children:(0,H.jsxs)(`div`,{className:i(`group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2`,t),"data-streamdown":`mermaid-block`,children:[(0,H.jsx)(`div`,{className:i(`flex h-8 items-center text-muted-foreground text-xs`),children:(0,H.jsx)(`span`,{className:i(`ml-1 font-mono lowercase`),children:`mermaid`})}),l?(0,H.jsx)(`div`,{className:i(`pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end`),children:(0,H.jsxs)(`div`,{className:i(`pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur`),"data-streamdown":`mermaid-block-actions`,children:[n?(0,H.jsx)(NM,{chart:v,config:o?.config}):null,r?(0,H.jsx)(hM,{code:v}):null,a?(0,H.jsx)(PM,{chart:v,config:o?.config}):null]})}):null,(0,H.jsx)(`div`,{className:i(`rounded-md border border-border bg-background`),children:(0,H.jsx)(JM,{chart:v,config:o?.config,showControls:c})})]})})}let y=$M(s,`code`),b=tN(s,`download`),ee=tN(s,`copy`),{"data-block":x,...S}=r;return(0,H.jsx)(oM,{className:t,code:v,isIncomplete:u,language:d,lineNumbers:_,startLine:g,...S,children:y?(0,H.jsxs)(H.Fragment,{children:[b?(0,H.jsx)(vM,{code:v,language:d}):null,ee?(0,H.jsx)(hM,{}):null]}):null})},(e,t)=>ZM(e,t)&&QM(e.node,t.node));EN.displayName=`MarkdownCode`;var DN=(0,V.memo)(({node:e,className:t,...n})=>{let{controls:r}=(0,V.useContext)(IP),i=$M(r,`image`),a=i&&rN(r,`download`);return(0,H.jsx)(xM,{className:t,node:e,showControls:i,showDownloadControl:a,...n})},(e,t)=>ZM(e,t));DN.displayName=`MarkdownImg`;var ON=(0,V.memo)(({children:e,node:t,...n})=>{let r=(Array.isArray(e)?e:[e]).filter(e=>e!=null&&e!==``);if(r.length===1&&(0,V.isValidElement)(r[0])){let t=r[0].props.node?.tagName;if(t===`img`||t===`code`&&`data-block`in r[0].props)return(0,H.jsx)(H.Fragment,{children:e})}return(0,H.jsx)(`p`,{...n,children:e})},(e,t)=>ZM(e,t));ON.displayName=`MarkdownParagraph`;var kN={ol:iN,li:aN,ul:oN,hr:sN,strong:cN,a:lN,h1:uN,h2:dN,h3:fN,h4:pN,h5:mN,h6:hN,table:gN,thead:_N,tbody:vN,tr:yN,th:bN,td:xN,blockquote:SN,code:EN,img:DN,pre:({children:e})=>(0,V.isValidElement)(e)?(0,V.cloneElement)(e,{"data-block":`true`}):e,sup:CN,sub:wN,p:ON,section:TN},AN=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,jN=/\p{L}/u;function MN(e){let t=e.replace(/(```|~~~)[\s\S]*?\1/g,``).replace(/^#{1,6}\s+/gm,``).replace(/(\*{1,3}|_{1,3})/g,``).replace(/`[^`]*`/g,``).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/^[\s>*\-+\d.]+/gm,``),n,r=0,i=0;for(let e of t){if(AN.test(e)){n??=`rtl`,i+=1;continue}jN.test(e)&&(n??=`ltr`,r+=1)}return i>r?`rtl`:r>i?`ltr`:n??`ltr`}var NN=/^[ \t]{0,3}(`{3,}|~{3,})/,PN=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,FN=e=>{let t=e.split(`
|
|
411
411
|
`),n=null,r=0;for(let e of t){let t=NN.exec(e);if(n===null){if(t){let e=t[1];n=e[0],r=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===n&&a>=r&&(n=null,r=0)}}return n!==null},IN=e=>{let t=e.split(`
|
|
412
412
|
`);for(let e of t){let t=e.trim();if(t.length>0&&t.includes(`|`)&&PN.test(t))return!0}return!1},LN=()=>e=>{td(e,`html`,(e,t,n)=>{!n||typeof t!=`number`||(n.children[t]={type:`text`,value:e.value})})},RN=[],zN={allowDangerousHtml:!0},BN=new WeakMap,VN=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(n||r||i)){let t=`default`;return this.keyCache.set(e,t),t}let a=e=>{if(!e||e.length===0)return``;let t=``;for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&(t+=`,`),Array.isArray(r)){let[e,n]=r;if(typeof e==`function`){let n=BN.get(e);n||(n=e.name,BN.set(e,n)),t+=n}else t+=String(e);t+=`:`,t+=JSON.stringify(n)}else if(typeof r==`function`){let e=BN.get(r);e||(e=r.name,BN.set(r,e)),t+=e}else t+=String(r)}return t},o=a(n),s=`${a(r)}::${o}::${i?JSON.stringify(i):``}`;return this.keyCache.set(e,s),s}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},HN=e=>{let t=UN(e),n=e.children||``;return XN(t.runSync(t.parse(n),n),e)},UN=e=>{let t=VN.get(e);if(t)return t;let n=GN(e);return VN.set(e,n),n},WN=e=>e.some(e=>Array.isArray(e)?e[0]===k_:e===k_),GN=e=>{let t=e.rehypePlugins||RN,n=e.remarkPlugins||RN,r=WN(t)?n:[...n,LN],i=e.remarkRehypeOptions?{...zN,...e.remarkRehypeOptions}:zN;return Sk().use(iO).use(r).use(YO,i).use(t)},KN=e=>e,qN=(e,t,n,r)=>{n?e.children.splice(t,1):e.children[t]={type:`text`,value:r}},JN=(e,t)=>{for(let n in yD)if(Object.hasOwn(yD,n)&&Object.hasOwn(e.properties,n)){let r=e.properties[n],i=yD[n];(i===null||i.includes(e.tagName))&&(e.properties[n]=t(String(r||``),n,e)??void 0)}},YN=(e,t,n,r,i,a)=>{let o=!1;return r?o=!r.includes(e.tagName):i&&(o=i.includes(e.tagName)),!o&&a&&typeof t==`number`&&(o=!a(e,t,n)),o},XN=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:o,urlTransform:s}=t;if(n||r||i||a||s){let t=s||KN;td(e,(e,s,c)=>{if(e.type===`raw`&&c&&typeof s==`number`)return qN(c,s,a,e.value),s;if(e.type===`element`&&(JN(e,t),YN(e,s,c,r,i,n)&&c&&typeof s==`number`))return o&&e.children?c.children.splice(s,1,...e.children):c.children.splice(s,1),s})}return ZE(e,{Fragment:H.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:H.jsx,jsxs:H.jsxs,passKeys:!0,passNode:!0})},ZN=/\[\^[\w-]{1,200}\](?!:)/,QN=/\[\^[\w-]{1,200}\]:/,$N=/<([A-Za-z][\w:-]*)[\s>/]/,eP=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),tP=new Map,nP=new Map,rP=e=>{let t=e.toLowerCase(),n=tP.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,`gi`);return tP.set(t,r),r},iP=e=>{let t=e.toLowerCase(),n=nP.get(t);if(n)return n;let r=RegExp(`</${t}(?=[\\s>])[^>]*>`,`gi`);return nP.set(t,r),r},aP=(e,t)=>{if(eP.has(t.toLowerCase()))return 0;let n=e.match(rP(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith(`/>`)||(r+=1);return r},oP=(e,t)=>{let n=e.match(iP(t));return n?n.length:0},sP=e=>{let t=0;for(let n=0;n<e.length-1;n+=1)e[n]===`$`&&e[n+1]===`$`&&(t+=1,n+=1);return t},cP=e=>{let t=ZN.test(e),n=QN.test(e);if(t||n)return[e];let r=tj.lex(e,{gfm:!0}),i=[],a=[],o=!1;for(let e of r){let t=e.raw,n=i.length;if(a.length>0){i[n-1]+=t;let e=a.at(-1),r=aP(t,e),o=oP(t,e);for(let t=0;t<r;t+=1)a.push(e);for(let t=0;t<o;t+=1)a.length>0&&a.at(-1)===e&&a.pop();continue}if(e.type===`html`&&e.block){let e=t.match($N);if(e){let n=e[1];aP(t,n)>oP(t,n)&&a.push(n)}}if(n>0&&!o){let e=i[n-1];if(sP(e)%2==1){i[n-1]=e+t;continue}}i.push(t),e.type!==`space`&&(o=e.type===`code`)}return i},lP=/^\n*/,uP=/\n*$/,dP=/\n\n/g,fP=(e,t,n)=>t.includes(`
|
|
413
413
|
`)?`${e}${t.replace(dP,`
|
|
@@ -440,7 +440,7 @@ ${u}`,i=e.length;break}return i===0?e:r+e.slice(i)},mP=(e,t)=>{if(!t.length)retu
|
|
|
440
440
|
\f\r "&'<=>\``.split(``)],[`\0
|
|
441
441
|
\f\r "&'<=>\``.split(``),`\0
|
|
442
442
|
\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function TL(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=cf);let l=EL(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!vL(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!nL(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function EL(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=DL(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function DL(e,t,n){let r=rf(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=WI(r.attribute,Object.assign({},e.settings.characterReferences,{subset:wL.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?uf:mf)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=WI(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:wL.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&Y_(n,o)>Y_(n,e.alternative)&&(o=e.alternative),s=o+WI(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?wL.single:wL.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var OL=[`<`,`&`];function kL(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:WI(e.value,Object.assign({},r.settings.characterReferences,{subset:OL}))}function AL(e,t,n,r){return r.settings.allowDangerousHtml?e.value:kL(e,t,n,r)}function jL(e,t,n,r){return r.all(e)}var ML=zf(`type`,{invalid:NL,unknown:PL,handlers:{comment:JI,doctype:YI,element:TL,raw:AL,root:jL,text:kL}});function NL(e){throw Error("Expected node, not `"+e+"`")}function PL(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var FL={},IL={},LL=[];function RL(e,t){let n=t||FL,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:zL,all:BL,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||$f,characterReferences:n.characterReferences||IL,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?cf:sf,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function zL(e,t,n){return ML(e,t,n,this)}function BL(e){let t=[],n=e&&e.children||LL,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function VL(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function HL(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function UL(e){return Array.isArray(e)?e:[e]}async function WL(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function GL(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function KL(e){return e===`ansi`||GL(e)}function qL(e){return e===`none`}function JL(e){return qL(e)}function YL(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);let n=Array.isArray(t)?t:t.split(/\s+/g);for(let t of n)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}function XL(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||``):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}function ZL(e){let t=XL(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}}function r(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+=n,r}return{lines:t,indexToPos:n,posToIndex:r}}function QL(e,t,n){let r=new Set;for(let t of e.matchAll(/:?lang=["']([^"']+)["']/g)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(/(?:```|~~~)([\w-]+)/g)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(/\\begin\{([\w-]+)\}/g)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(/<script\s+(?:type|lang)=["']([^"']+)["']/gi)){let e=t[1].toLowerCase().trim(),n=e.includes(`/`)?e.split(`/`).pop():e;n&&r.add(n)}if(!n)return Array.from(r);let i=n.getBundledLanguages();return Array.from(r).filter(e=>e&&i[e])}var $L=`light-dark()`,eR=[`color`,`background-color`];function tR(e,t){let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function nR(e,t){let n=Array.from(t instanceof Set?t:new Set(t)).sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);return t.length?tR(e,t):e})):e}function rR(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>iR(e.variants[t])),s=new Set(o.flatMap(e=>Object.keys(e))),c={},l=(e,r)=>{let i=r===`color`?``:r===`background-color`?`-bg`:`-${r}`;return n+t[e]+(r===`color`?``:i)};return o.forEach((e,n)=>{for(let a of s){let s=e[a]||`inherit`;if(n===0&&r&&eR.includes(a)){if(r===$L&&o.length>1){let e=t.findIndex(e=>e===`light`),r=t.findIndex(e=>e===`dark`);if(e===-1||r===-1)throw new VP('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let u=o[e][a]||`inherit`,d=o[r][a]||`inherit`;c[a]=`light-dark(${u}, ${d})`,i===`css-vars`&&(c[l(n,a)]=s)}else c[a]=s}else i===`css-vars`&&(c[l(n,a)]=s)}}),a.htmlStyle=c,a}function iR(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&cF.Italic&&(t[`font-style`]=`italic`),e.fontStyle&cF.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&cF.Underline&&n.push(`underline`),e.fontStyle&cF.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function aR(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}var oR=new WeakMap;function sR(e,t){oR.set(e,t)}function cR(e){return oR.get(e)}var lR=class e{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new e(Object.fromEntries(UL(n).map(e=>[e,SI])),t)}constructor(...e){if(e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return uR(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function uR(e){let t=[],n=new Set;function r(e){if(n.has(e))return;n.add(e);let i=e?.nameScopesList?.scopeName;i&&t.push(i),e.parent&&r(e.parent)}return r(e),t}function dR(e,t){if(!(e instanceof lR))throw new VP(`Invalid grammar state`);return e.getInternalStack(t)}function fR(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new VP(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(t===void 0)throw new VP(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new VP(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}},r=ZL(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));pR(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){if(this.options.decorations?.length)return nR(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>e.type===`element`&&e.tagName===`span`);if(r.length!==n.converter.lines.length)throw new VP(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let a=r[e],s=``,c=-1,l=-1;if(t===0&&(c=0),n===0&&(l=0),n===1/0&&(l=a.children.length),c===-1||l===-1)for(let e=0;e<a.children.length;e++)s+=mR(a.children[e]),c===-1&&s.length===t&&(c=e+1),l===-1&&s.length===n&&(l=e+1);if(c===-1)throw new VP(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(l===-1)throw new VP(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let u=a.children.slice(c,l);if(!i.alwaysWrap&&u.length===a.children.length)o(a,i,`line`);else if(!i.alwaysWrap&&u.length===1&&u[0].type===`element`)o(u[0],i,`token`);else{let e={type:`element`,tagName:`span`,properties:{},children:u};o(e,i,`wrapper`),a.children.splice(c,u.length,e)}}function a(e,t){r[e]=o(r[e],t,`line`)}function o(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&YL(e,t.properties.class),e=i(e,n)||e,e}let s=[],c=n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset);for(let e of c){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)s.unshift(()=>a(r,e));i(n.line,0,n.character,e)}}s.forEach(e=>e())}}}function pR(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new VP(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,o=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||o||s){if(i&&a||o&&s||o&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new VP(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function mR(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(mR).join(``):``}var hR=[fR()];function gR(e){let t=_R(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...hR]}function _R(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case`pre`:t.push(i);break;case`post`:n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}var vR=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],yR={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function bR(e,t){let n=e.indexOf(`\x1B`,t);if(n!==-1&&e[n+1]===`[`){let t=e.indexOf(`m`,n);if(t!==-1)return{sequence:e.substring(n+2,t).split(`;`),startPosition:n,position:t+1}}return{position:e.length}}function xR(e){let t=e.shift();if(t===`2`){let t=e.splice(0,3).map(e=>Number.parseInt(e));return t.length!==3||t.some(e=>Number.isNaN(e))?void 0:{type:`rgb`,rgb:t}}if(t===`5`){let t=e.shift();if(t)return{type:`table`,index:Number(t)}}}function SR(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r)){if(r===0)t.push({type:`resetAll`});else if(r<=9)yR[r]&&t.push({type:`setDecoration`,value:yR[r]});else if(r<=29){let e=yR[r-20];e&&(t.push({type:`resetDecoration`,value:e}),e===`dim`&&t.push({type:`resetDecoration`,value:`bold`}))}else if(r<=37)t.push({type:`setForegroundColor`,value:{type:`named`,name:vR[r-30]}});else if(r===38){let n=xR(e);n&&t.push({type:`setForegroundColor`,value:n})}else if(r===39)t.push({type:`resetForegroundColor`});else if(r<=47)t.push({type:`setBackgroundColor`,value:{type:`named`,name:vR[r-40]}});else if(r===48){let n=xR(e);n&&t.push({type:`setBackgroundColor`,value:n})}else r===49?t.push({type:`resetBackgroundColor`}):r===53?t.push({type:`setDecoration`,value:`overline`}):r===55?t.push({type:`resetDecoration`,value:`overline`}):r>=90&&r<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:vR[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:vR[r-100+8]}})}}return t}function CR(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=bR(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=SR(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(a<r.length);return i}}}var wR={black:`#000000`,red:`#bb0000`,green:`#00bb00`,yellow:`#bbbb00`,blue:`#0000bb`,magenta:`#ff00ff`,cyan:`#00bbbb`,white:`#eeeeee`,brightBlack:`#555555`,brightRed:`#ff5555`,brightGreen:`#00ff00`,brightYellow:`#ffff55`,brightBlue:`#5555ff`,brightMagenta:`#ff55ff`,brightCyan:`#55ffff`,brightWhite:`#ffffff`};function TR(e=wR){function t(t){return e[t]}function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e<vR.length;e++)r.push(t(vR[e]));let e=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)r.push(n([e[t],e[i],e[a]]));let i=8;for(let e=0;e<24;e++,i+=10)r.push(n([i,i,i]));return r}function a(e){return i()[e]}function o(e){switch(e.type){case`named`:return t(e.name);case`rgb`:return n(e.rgb);case`table`:return a(e.index)}}return{value:o}}var ER={black:`#000000`,red:`#cd3131`,green:`#0DBC79`,yellow:`#E5E510`,blue:`#2472C8`,magenta:`#BC3FBC`,cyan:`#11A8CD`,white:`#E5E5E5`,brightBlack:`#666666`,brightRed:`#F14C4C`,brightGreen:`#23D18B`,brightYellow:`#F5F543`,brightBlue:`#3B8EEA`,brightMagenta:`#D670D6`,brightCyan:`#29B8DB`,brightWhite:`#FFFFFF`};function DR(e,t,n){let r=VL(e,n),i=XL(t),a=TR(Object.fromEntries(vR.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||ER[t]]}))),o=CR();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=HL(i,r),o=HL(o,r),n.decorations.has(`dim`)&&(i=OR(i));let s=cF.None;return n.decorations.has(`bold`)&&(s|=cF.Bold),n.decorations.has(`italic`)&&(s|=cF.Italic),n.decorations.has(`underline`)&&(s|=cF.Underline),n.decorations.has(`strikethrough`)&&(s|=cF.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function OR(e){let t=e.match(/#([0-9a-f]{3,8})/i);if(t){let e=t[1];if(e.length===8){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,`0`);return`#${e.slice(0,6)}${t}`}if(e.length===6)return`#${e}80`;if(e.length===4){let t=e[0],n=e[1],r=e[2],i=e[3];return`#${t}${t}${n}${n}${r}${r}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,`0`)}`}if(e.length===3){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function kR(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n,i=e.resolveLangAlias(n.lang||`text`);if(GL(i)||qL(r))return XL(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:o}=e.setTheme(r);if(i===`ansi`)return DR(a,t,n);let s=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==s.name)throw new VP(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(a.name))throw new VP(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return jR(t,s,a,o,n)}function AR(...e){if(e.length===2)return cR(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(GL(i)||qL(a))throw new VP(`Plain language does not have grammar state`);if(i===`ansi`)throw new VP(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new lR(MR(n,c,o,s,r).stateStack,c.name,o.name)}function jR(e,t,n,r,i){let a=MR(e,t,n,r,i),o=new lR(a.stateStack,t.name,n.name);return sR(a.tokens,o),a.tokens}function MR(e,t,n,r,i){let a=VL(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500}=i,c=XL(e),l=i.grammarState?dR(i.grammarState,n.name)??SI:i.grammarContextCode==null?SI:MR(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,u=[],d=[];for(let e=0,f=c.length;e<f;e++){let[f,p]=c[e];if(f===``){u=[],d.push([]);continue}if(o>0&&f.length>=o){u=[],d.push([{content:f,offset:p,color:``,fontStyle:0}]);continue}let m,h,g;i.includeExplanation&&(m=t.tokenizeLine(f,l,s),h=m.tokens,g=0);let _=t.tokenizeLine2(f,l,s),v=_.tokens.length/2;for(let e=0;e<v;e++){let t=_.tokens[2*e],o=e+1<v?_.tokens[2*e+2]:f.length;if(t===o)continue;let s=_.tokens[2*e+1],c=HL(r[mF.getForeground(s)],a),l=mF.getFontStyle(s),d={content:f.substring(t,o),offset:p+t,color:c,fontStyle:l};if(i.includeExplanation){let e=[];if(i.includeExplanation!==`scopeName`)for(let t of n.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split(/,/).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r<o;){let t=h[g],n=f.substring(t.startIndex,t.endIndex);r+=n.length,d.explanation.push({content:n,scopes:i.includeExplanation===`scopeName`?NR(t.scopes):PR(e,t.scopes)}),g+=1}}u.push(d)}d.push(u),u=[],l=_.ruleStack}return{tokens:d,stateStack:l}}function NR(e){return e.map(e=>({scopeName:e}))}function PR(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:LR(e,i,t.slice(0,r))}}return n}function FR(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function IR(e,t,n){if(!FR(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)FR(e[r],n[i])&&--r,--i;return r===-1}function LR(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(IR(e,t,n)){r.push(a);break}return r}function RR(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=kR(e,t,{...n,theme:r.theme});return{tokens:i,state:cR(i),theme:typeof r.theme==`string`?r.theme:r.theme.name}}),a=zR(...i.map(e=>e.tokens)),o=a[0].map((e,t)=>e.map((e,i)=>{let o={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(o.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:s,offset:c,...l}=e[t][i];o.variants[r[n].color]=l}),o})),s=i[0].state?new lR(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return s&&sR(o,s),o}function zR(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;t<n;t++){let n=s[t];n.content.length===e?(a[t].push(n),o[t]+=1,s[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),s[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}function BR(e,t,n){let r,i,a,o,s,c;if(`themes`in n){let{defaultColor:l=`light`,cssVariablePrefix:u=`--shiki-`,colorsRendering:d=`css-vars`}=n,f=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===l?-1:+(t.color===l));if(f.length===0)throw new VP("`themes` option must not be empty");let p=RR(e,t,n);if(c=cR(p),l&&$L!==l&&!f.find(e=>e.color===l))throw new VP(`\`themes\` option must contain the defaultColor key \`${l}\``);let m=f.map(t=>e.getTheme(t.theme)),h=f.map(e=>e.color);a=p.map(e=>e.map(e=>rR(e,h,u,l,d))),c&&sR(a,c);let g=f.map(e=>VL(e.theme,n));i=VR(f,m,g,u,l,`fg`,d),r=VR(f,m,g,u,l,`bg`,d),o=`shiki-themes ${m.map(e=>e.name).join(` `)}`,s=l?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=VL(n.theme,n);a=kR(e,t,n);let l=e.getTheme(n.theme);r=HL(l.bg,s),i=HL(l.fg,s),o=l.name,c=cR(a)}else throw new VP("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function VR(e,t,n,r,i,a,o){return e.map((s,c)=>{let l=HL(t[c][a],n[c])||`inherit`,u=`${r+s.color}${a===`bg`?`-bg`:``}:${l}`;if(c===0&&i){if(i===$L&&e.length>1){let r=e.findIndex(e=>e.color===`light`),i=e.findIndex(e=>e.color===`dark`);if(r===-1||i===-1)throw new VP('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${HL(t[r][a],n[r])||`inherit`}, ${HL(t[i][a],n[i])||`inherit`});${u}`}return l}return o===`css-vars`?u:null}).filter(e=>!!e).join(`;`)}function HR(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>HR(e,t,n),codeToTokens:(t,n)=>BR(e,t,n)}){let i=t;for(let e of gR(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=BR(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=n;d===!0?a=WR(a):d===`never`&&(a=GR(a)),f&&(a=KR(a));let p={...r,get source(){return i}};for(let e of gR(n))a=e.tokens?.call(p,a)||a;return UR(a,{...n,fg:o,bg:s,themeName:c,rootStyle:n.rootStyle===!1?!1:n.rootStyle??l},p,u)}function UR(e,t,n,r=cR(e)){let i=gR(t),a=[],o={type:`root`,children:[]},{structure:s=`classic`,tabindex:c=`0`}=t,l={class:`shiki ${t.themeName||``}`};t.rootStyle!==!1&&(l.style=t.rootStyle==null?`background-color:${t.bg};color:${t.fg}`:t.rootStyle),c!==!1&&c!=null&&(l.tabindex=c.toString());for(let[e,n]of Object.entries(t.meta||{}))e.startsWith(`_`)||(l[e]=n);let u={type:`element`,tagName:`pre`,properties:l,children:[],data:t.data},d={type:`element`,tagName:`code`,properties:{},children:a},f=[],p={...n,structure:s,addClassToHast:YL,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return u},get code(){return d},get lines(){return f}};if(e.forEach((e,t)=>{t&&(s===`inline`?o.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):s===`classic`&&a.push({type:`text`,value:`
|
|
443
|
-
`}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]},c=aR(a.htmlStyle||iR(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(p,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(p,n,t+1)||n;f.push(n),a.push(n)}else s===`inline`&&f.push(n)}),s===`classic`){for(let e of i)d=e?.code?.call(p,d)||d;u.children.push(d);for(let e of i)u=e?.pre?.call(p,u)||u;o.children.push(u)}else if(s===`inline`){let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of o.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&sR(m,r),m}function WR(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&cF.Underline||i.fontStyle&cF.Strikethrough));o&&i.content.match(/^\s+$/)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function GR(e){return e.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function KR(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t[t.length-1],r=aR(e.htmlStyle||iR(e)),i=aR(n.htmlStyle||iR(n)),a=e.fontStyle&&(e.fontStyle&cF.Underline||e.fontStyle&cF.Strikethrough),o=n.fontStyle&&(n.fontStyle&cF.Underline||n.fontStyle&cF.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var qR=RL;function JR(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>HR(e,t,n),codeToTokens:(t,n)=>BR(e,t,n)},i=qR(HR(e,t,n,r));for(let e of gR(n))i=e.postprocess?.call(r,i,n)||i;return i}var YR={light:`#333333`,dark:`#bbbbbb`},XR={light:`#fffffe`,dark:`#1e1e1e`},ZR=`__shiki_resolved`;function QR(e){if(e?.[ZR])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?YR.light:YR.dark,n||=t.type===`light`?XR.light:XR.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,ZR,{enumerable:!1,writable:!1,value:!0}),t}async function $R(e){return Array.from(new Set((await Promise.all(e.filter(e=>!KL(e)).map(async e=>await WL(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function ez(e){return(await Promise.all(e.map(async e=>JL(e)?null:QR(await WL(e))))).filter(e=>!!e)}var tz=3;function nz(e,t=3){tz&&(typeof tz==`number`&&t>tz||console.trace(`[SHIKI DEPRECATE]: ${e}`))}var rz=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function iz(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new rz(`Circular alias \`${Array.from(n).join(` -> `)} -> ${e}\``);n.add(e)}}return e}var az=class extends xI{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=QR(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=tF.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=iz(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t?(t.embeddedLanguages||t.embeddedLangs)?.some(e=>n.map(([e])=>e).includes(e)):!1).filter(e=>!n.includes(e));throw new rz(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}},oz=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},sz=0;function cz(e){sz+=1,e.warnings!==!1&&sz>=10&&sz%10==0&&console.warn(`[Shiki] ${sz} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new rz("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(QR),i=new az(new oz(e.engine,n),r,n,e.langAlias),a;function o(t){return iz(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new rz(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};g();let t=i.getTheme(e);if(!t)throw new rz(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(e){g();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function u(){return g(),i.getLoadedThemes()}function d(){return g(),i.getLoadedLanguages()}function f(...e){g(),i.loadLanguages(e.flat(1))}async function p(...e){return f(await $R(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await ez(e))}function g(){if(t)throw new rz(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--sz)}return{setTheme:l,getTheme:c,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:h,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function lz(e){e.engine||nz("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([ez(e.themes||[]),$R(e.langs||[]),e.engine]);return cz({...e,themes:t,langs:n,engine:r})}async function uz(e){let t=await lz(e);return{getLastGrammarState:(...e)=>AR(t,...e),codeToTokensBase:(e,n)=>kR(t,e,n),codeToTokensWithThemes:(e,n)=>RR(t,e,n),codeToTokens:(e,n)=>BR(t,e,n),codeToHast:(e,n)=>HR(t,e,n),codeToHtml:(e,n)=>JR(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function dz(e){let t=e.langs,n=e.themes,r=e.engine;async function i(e){function i(n){if(typeof n==`string`){if(n=e.langAlias?.[n]||n,KL(n))return[];let r=t[n];if(!r)throw new VP(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(JL(e))return`none`;if(typeof e==`string`){let t=n[e];if(!t)throw new VP(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let o=(e.themes??[]).map(e=>a(e)),s=(e.langs??[]).map(e=>i(e)),c=await uz({engine:e.engine??r(),...e,themes:o,langs:s});return{...c,loadLanguage(...e){return c.loadLanguage(...e.map(i))},loadTheme(...e){return c.loadTheme(...e.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return i}function fz(e){let t;async function n(n={}){if(t){let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}{t=e({...n,themes:[],langs:[]});let r=await t;return await Promise.all([r.loadTheme(...n.themes||[]),r.loadLanguage(...n.langs||[])]),r}}return n}function pz(e,t){let n=fz(e);async function r(e,r){let i=await n({langs:[r.lang],themes:`theme`in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter(e){return n(e)},async codeToHtml(e,t){return(await r(e,t)).codeToHtml(e,t)},async codeToHast(e,t){return(await r(e,t)).codeToHast(e,t)},async codeToTokens(e,t){return(await r(e,t)).codeToTokens(e,t)},async codeToTokensBase(e,t){return(await r(e,t)).codeToTokensBase(e,t)},async codeToTokensWithThemes(e,t){return(await r(e,t)).codeToTokensWithThemes(e,t)},async getLastGrammarState(e,t){return(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}}var mz=[{id:`abap`,name:`ABAP`,import:(()=>l(()=>import(`./abap-ij37pki6.js`),[],import.meta.url))},{id:`actionscript-3`,name:`ActionScript`,import:(()=>l(()=>import(`./actionscript-3-dz7y3j1x.js`),[],import.meta.url))},{id:`ada`,name:`Ada`,import:(()=>l(()=>import(`./ada-k9zgv987.js`),[],import.meta.url))},{id:`angular-html`,name:`Angular HTML`,import:(()=>l(()=>import(`./angular-html-nu6l31w3.js`).then(e=>e.n),__vite__mapDeps([37,3,38,39,40]),import.meta.url))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>l(()=>import(`./angular-ts-fbx4f8mm.js`),__vite__mapDeps([41,37,3,38,39,40,42]),import.meta.url))},{id:`apache`,name:`Apache Conf`,import:(()=>l(()=>import(`./apache-binppq6z.js`),[],import.meta.url))},{id:`apex`,name:`Apex`,import:(()=>l(()=>import(`./apex-h8illjly.js`),[],import.meta.url))},{id:`apl`,name:`APL`,import:(()=>l(()=>import(`./apl-bx2xr7dh.js`),__vite__mapDeps([43,39,3,40,38,44,45,46]),import.meta.url))},{id:`applescript`,name:`AppleScript`,import:(()=>l(()=>import(`./applescript-h0ok5sww.js`),[],import.meta.url))},{id:`ara`,name:`Ara`,import:(()=>l(()=>import(`./ara-dlpjioua.js`),[],import.meta.url))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>l(()=>import(`./asciidoc-lx0cuujr.js`),[],import.meta.url))},{id:`asm`,name:`Assembly`,import:(()=>l(()=>import(`./asm-j5diz3sz.js`),[],import.meta.url))},{id:`astro`,name:`Astro`,import:(()=>l(()=>import(`./astro-g77i97cb.js`),__vite__mapDeps([47,39,3,40,46,48,49,50]),import.meta.url))},{id:`awk`,name:`AWK`,import:(()=>l(()=>import(`./awk-fecghegf.js`),[],import.meta.url))},{id:`ballerina`,name:`Ballerina`,import:(()=>l(()=>import(`./ballerina-hk9oga18.js`),[],import.meta.url))},{id:`bat`,name:`Batch File`,aliases:[`batch`],import:(()=>l(()=>import(`./bat-ghs7lag5.js`),[],import.meta.url))},{id:`beancount`,name:`Beancount`,import:(()=>l(()=>import(`./beancount-pc6q2dmq.js`),[],import.meta.url))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>l(()=>import(`./berry-l96jp8n4.js`),[],import.meta.url))},{id:`bibtex`,name:`BibTeX`,import:(()=>l(()=>import(`./bibtex-jxn7maz2.js`),[],import.meta.url))},{id:`bicep`,name:`Bicep`,import:(()=>l(()=>import(`./bicep-i1yv3ngd.js`),[],import.meta.url))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>l(()=>import(`./bird2-k3aagqn0.js`),[],import.meta.url))},{id:`blade`,name:`Blade`,import:(()=>l(()=>import(`./blade-boo0u92y.js`),__vite__mapDeps([51,39,3,40,38,44,45,46,52,53]),import.meta.url))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>l(()=>import(`./bsl-f8m1ja7w.js`),__vite__mapDeps([54,55]),import.meta.url))},{id:`c`,name:`C`,import:(()=>l(()=>import(`./c-cat0w3sc.js`).then(e=>e.n),__vite__mapDeps([56,3]),import.meta.url))},{id:`c3`,name:`C3`,import:(()=>l(()=>import(`./c3-j6ile59o.js`),[],import.meta.url))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>l(()=>import(`./cadence-e3x2pgsu.js`),[],import.meta.url))},{id:`cairo`,name:`Cairo`,import:(()=>l(()=>import(`./cairo-mblac9dt.js`),__vite__mapDeps([57,58]),import.meta.url))},{id:`clarity`,name:`Clarity`,import:(()=>l(()=>import(`./clarity-bdn1d8fx.js`),[],import.meta.url))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>l(()=>import(`./clojure-n5b9o4lq.js`),[],import.meta.url))},{id:`cmake`,name:`CMake`,import:(()=>l(()=>import(`./cmake-f68p68h5.js`),[],import.meta.url))},{id:`cobol`,name:`COBOL`,import:(()=>l(()=>import(`./cobol-go622aep.js`),__vite__mapDeps([59,38,3,39,40,45]),import.meta.url))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>l(()=>import(`./codeowners-lgfjmw2s.js`),[],import.meta.url))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>l(()=>import(`./codeql-cojlysyb.js`),[],import.meta.url))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>l(()=>import(`./coffee-jwo1xjhq.js`),__vite__mapDeps([60,39,3]),import.meta.url))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>l(()=>import(`./common-lisp-ko58h8pe.js`),[],import.meta.url))},{id:`coq`,name:`Coq`,import:(()=>l(()=>import(`./coq-gns70ukp.js`),[],import.meta.url))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>l(()=>import(`./cpp-nre7j0kq.js`).then(e=>e.n),__vite__mapDeps([61,3,53,62,63,56]),import.meta.url))},{id:`crystal`,name:`Crystal`,import:(()=>l(()=>import(`./crystal-lviso2je.js`),__vite__mapDeps([64,39,3,40,38,53,56,65]),import.meta.url))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>l(()=>import(`./csharp-kkz9hcxp.js`),[],import.meta.url))},{id:`css`,name:`CSS`,import:(()=>l(()=>import(`./css-ywz9j4hb.js`).then(e=>e.n),__vite__mapDeps([40,3]),import.meta.url))},{id:`csv`,name:`CSV`,import:(()=>l(()=>import(`./csv-ol0sxk26.js`),[],import.meta.url))},{id:`cue`,name:`CUE`,import:(()=>l(()=>import(`./cue-h5naoluy.js`),[],import.meta.url))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>l(()=>import(`./cypher-j2an42no.js`),[],import.meta.url))},{id:`d`,name:`D`,import:(()=>l(()=>import(`./d-crxkca3p.js`),[],import.meta.url))},{id:`dart`,name:`Dart`,import:(()=>l(()=>import(`./dart-nsg0xvqh.js`),[],import.meta.url))},{id:`dax`,name:`DAX`,import:(()=>l(()=>import(`./dax-f82777dv.js`),[],import.meta.url))},{id:`desktop`,name:`Desktop`,import:(()=>l(()=>import(`./desktop-nvg88bea.js`),[],import.meta.url))},{id:`diff`,name:`Diff`,import:(()=>l(()=>import(`./diff-c5xjoml2.js`),[],import.meta.url))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>l(()=>import(`./docker-s0pf2u92.js`),[],import.meta.url))},{id:`dotenv`,name:`dotEnv`,import:(()=>l(()=>import(`./dotenv-d2gvqxc1.js`),[],import.meta.url))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>l(()=>import(`./dream-maker-mz8d3pqb.js`),[],import.meta.url))},{id:`edge`,name:`Edge`,import:(()=>l(()=>import(`./edge-dvv35byi.js`),__vite__mapDeps([66,38,3,39,40,48,52]),import.meta.url))},{id:`elixir`,name:`Elixir`,import:(()=>l(()=>import(`./elixir-i2f1ki1g.js`),__vite__mapDeps([67,38,3,39,40]),import.meta.url))},{id:`elm`,name:`Elm`,import:(()=>l(()=>import(`./elm-cpepyjm4.js`),__vite__mapDeps([68,63,3,56]),import.meta.url))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>l(()=>import(`./emacs-lisp-lhl63kmy.js`),[],import.meta.url))},{id:`erb`,name:`ERB`,import:(()=>l(()=>import(`./erb-idlyfheg.js`),__vite__mapDeps([69,38,3,39,40,70,44,45,53,56,61,62,63,65,71,72,48,50,73,74,75]),import.meta.url))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>l(()=>import(`./erlang-kbk8e1kh.js`),__vite__mapDeps([76,77]),import.meta.url))},{id:`fennel`,name:`Fennel`,import:(()=>l(()=>import(`./fennel-mm8r79co.js`),[],import.meta.url))},{id:`fish`,name:`Fish`,import:(()=>l(()=>import(`./fish-em0xdaat.js`),[],import.meta.url))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>l(()=>import(`./fluent-kzq1mil2.js`),[],import.meta.url))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>l(()=>import(`./fortran-fixed-form-lwddxd99.js`),__vite__mapDeps([78,79]),import.meta.url))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>l(()=>import(`./fortran-free-form-jao3bzvo.js`),[],import.meta.url))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>l(()=>import(`./fsharp-ouam7w4k.js`),__vite__mapDeps([80,77]),import.meta.url))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>l(()=>import(`./gdresource-gawivel9.js`),__vite__mapDeps([81,82,83]),import.meta.url))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>l(()=>import(`./gdscript-kcamxf4c.js`),[],import.meta.url))},{id:`gdshader`,name:`GDShader`,import:(()=>l(()=>import(`./gdshader-hx54new5.js`),[],import.meta.url))},{id:`genie`,name:`Genie`,import:(()=>l(()=>import(`./genie-i5n3m91v.js`),[],import.meta.url))},{id:`gherkin`,name:`Gherkin`,import:(()=>l(()=>import(`./gherkin-lxn181dy.js`),[],import.meta.url))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>l(()=>import(`./git-commit-e6qgtuh5.js`),__vite__mapDeps([84,85]),import.meta.url))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>l(()=>import(`./git-rebase-d9lpfpbn.js`),__vite__mapDeps([86,65,3]),import.meta.url))},{id:`gleam`,name:`Gleam`,import:(()=>l(()=>import(`./gleam-ix1dym3g.js`),[],import.meta.url))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>l(()=>import(`./glimmer-js-39i0urfb.js`),__vite__mapDeps([87,39,3,40,38,48]),import.meta.url))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>l(()=>import(`./glimmer-ts-gdtd6n73.js`),__vite__mapDeps([88,39,3,40,38,48]),import.meta.url))},{id:`glsl`,name:`GLSL`,import:(()=>l(()=>import(`./glsl-o1djm5pp.js`).then(e=>e.n),__vite__mapDeps([63,3,56]),import.meta.url))},{id:`gn`,name:`GN`,import:(()=>l(()=>import(`./gn-cbzhsgl9.js`),[],import.meta.url))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>l(()=>import(`./gnuplot-dr8f9gvm.js`),[],import.meta.url))},{id:`go`,name:`Go`,import:(()=>l(()=>import(`./go-enhtrrw8.js`),[],import.meta.url))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>l(()=>import(`./graphql-kj6rz55t.js`).then(e=>e.n),__vite__mapDeps([72,3,39,48,50,73]),import.meta.url))},{id:`groovy`,name:`Groovy`,import:(()=>l(()=>import(`./groovy-jff59t9e.js`),[],import.meta.url))},{id:`hack`,name:`Hack`,import:(()=>l(()=>import(`./hack-pe1qqr2i.js`),__vite__mapDeps([89,38,3,39,40,53]),import.meta.url))},{id:`haml`,name:`Ruby Haml`,import:(()=>l(()=>import(`./haml-cknnbcqs.js`).then(e=>e.n),__vite__mapDeps([71,3,39,40]),import.meta.url))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>l(()=>import(`./handlebars-hwq64orh.js`),__vite__mapDeps([90,39,3,40,38,75]),import.meta.url))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>l(()=>import(`./haskell-o7nor2z2.js`),[],import.meta.url))},{id:`haxe`,name:`Haxe`,import:(()=>l(()=>import(`./haxe-4rwdh42h.js`),[],import.meta.url))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>l(()=>import(`./hcl-nnng763h.js`),[],import.meta.url))},{id:`hjson`,name:`Hjson`,import:(()=>l(()=>import(`./hjson-kscwmuzk.js`),[],import.meta.url))},{id:`hlsl`,name:`HLSL`,import:(()=>l(()=>import(`./hlsl-kopkvwox.js`),[],import.meta.url))},{id:`html`,name:`HTML`,import:(()=>l(()=>import(`./html-ha05xtvt.js`).then(e=>e.n),__vite__mapDeps([38,3,39,40]),import.meta.url))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>l(()=>import(`./html-derivative-h2i2pyjc.js`),__vite__mapDeps([52,38,3,39,40]),import.meta.url))},{id:`http`,name:`HTTP`,import:(()=>l(()=>import(`./http-cf94zu27.js`),__vite__mapDeps([91,44,3,45,46,65,72,39,48,50,73]),import.meta.url))},{id:`hurl`,name:`Hurl`,import:(()=>l(()=>import(`./hurl-lslax568.js`),__vite__mapDeps([92,44,3,45,93,72,39,48,50,73]),import.meta.url))},{id:`hxml`,name:`HXML`,import:(()=>l(()=>import(`./hxml-g52gxet6.js`),__vite__mapDeps([94,95]),import.meta.url))},{id:`hy`,name:`Hy`,import:(()=>l(()=>import(`./hy-jc9www1l.js`),[],import.meta.url))},{id:`imba`,name:`Imba`,import:(()=>l(()=>import(`./imba-n9x1ej2f.js`),[],import.meta.url))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>l(()=>import(`./ini-hg6eosim.js`),[],import.meta.url))},{id:`java`,name:`Java`,import:(()=>l(()=>import(`./java-ndjf2o89.js`).then(e=>e.n),__vite__mapDeps([45,3]),import.meta.url))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>l(()=>import(`./javascript-coftlwy3.js`).then(e=>e.n),__vite__mapDeps([39,3]),import.meta.url))},{id:`jinja`,name:`Jinja`,import:(()=>l(()=>import(`./jinja-etei9wy7.js`),__vite__mapDeps([96,38,3,39,40]),import.meta.url))},{id:`jison`,name:`Jison`,import:(()=>l(()=>import(`./jison-hyekgft1.js`),__vite__mapDeps([97,39,3]),import.meta.url))},{id:`json`,name:`JSON`,import:(()=>l(()=>import(`./json-lok0yaho.js`).then(e=>e.n),__vite__mapDeps([46,3]),import.meta.url))},{id:`json5`,name:`JSON5`,import:(()=>l(()=>import(`./json5-e4tr07tg.js`),[],import.meta.url))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>l(()=>import(`./jsonc-jbmkhoep.js`),[],import.meta.url))},{id:`jsonl`,name:`JSON Lines`,import:(()=>l(()=>import(`./jsonl-j35ke6at.js`),[],import.meta.url))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>l(()=>import(`./jsonnet-iewuy86o.js`),[],import.meta.url))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>l(()=>import(`./jssm-m1449zlc.js`),[],import.meta.url))},{id:`jsx`,name:`JSX`,import:(()=>l(()=>import(`./jsx-b64w0nbx.js`).then(e=>e.n),__vite__mapDeps([73,3]),import.meta.url))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>l(()=>import(`./julia-jxxzz2yn.js`),__vite__mapDeps([98,39,3,53,58,61,62,63,56,99]),import.meta.url))},{id:`just`,name:`Just`,import:(()=>l(()=>import(`./just-mc29iw9t.js`),__vite__mapDeps([100,39,3,48,58,65,70,40,38,44,45,53,56,61,62,63,71,72,50,73,74,75,101]),import.meta.url))},{id:`kdl`,name:`KDL`,import:(()=>l(()=>import(`./kdl-kgzv1x9e.js`),[],import.meta.url))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>l(()=>import(`./kotlin-nmx05b3f.js`),[],import.meta.url))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>l(()=>import(`./kusto-fawmdms4.js`),[],import.meta.url))},{id:`latex`,name:`LaTeX`,import:(()=>l(()=>import(`./latex-pafa03ft.js`),__vite__mapDeps([102,103,99,3]),import.meta.url))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>l(()=>import(`./lean-jom31nm3.js`),[],import.meta.url))},{id:`less`,name:`Less`,import:(()=>l(()=>import(`./less-mwvscr3d.js`),[],import.meta.url))},{id:`liquid`,name:`Liquid`,import:(()=>l(()=>import(`./liquid-hz5c2pov.js`),__vite__mapDeps([104,39,3,40,38,46]),import.meta.url))},{id:`llvm`,name:`LLVM IR`,import:(()=>l(()=>import(`./llvm-j5wmr3g9.js`),[],import.meta.url))},{id:`log`,name:`Log file`,import:(()=>l(()=>import(`./log-eur4gurm.js`),[],import.meta.url))},{id:`logo`,name:`Logo`,import:(()=>l(()=>import(`./logo-j3h8r0pu.js`),[],import.meta.url))},{id:`lua`,name:`Lua`,import:(()=>l(()=>import(`./lua-leyf8mlb.js`).then(e=>e.n),__vite__mapDeps([74,3,56]),import.meta.url))},{id:`luau`,name:`Luau`,import:(()=>l(()=>import(`./luau-im5d6q8k.js`),[],import.meta.url))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>l(()=>import(`./make-npl27xqy.js`),[],import.meta.url))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>l(()=>import(`./markdown-fibv6lrm.js`),[],import.meta.url))},{id:`marko`,name:`Marko`,import:(()=>l(()=>import(`./marko-cn1fzpdv.js`),__vite__mapDeps([105,40,3,42,48,106]),import.meta.url))},{id:`matlab`,name:`MATLAB`,import:(()=>l(()=>import(`./matlab-o6nvvbf2.js`),[],import.meta.url))},{id:`mdc`,name:`MDC`,import:(()=>l(()=>import(`./mdc-huhy88df.js`),__vite__mapDeps([107,52,38,3,39,40,75,77]),import.meta.url))},{id:`mdx`,name:`MDX`,import:(()=>l(()=>import(`./mdx-mmgeh26h.js`),[],import.meta.url))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>l(()=>import(`./mermaid-f9ad87lb.js`),[],import.meta.url))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>l(()=>import(`./mipsasm-etoqqos6.js`),[],import.meta.url))},{id:`mojo`,name:`Mojo`,import:(()=>l(()=>import(`./mojo-fyyk0b1z.js`),[],import.meta.url))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>l(()=>import(`./moonbit-je86hbgx.js`),[],import.meta.url))},{id:`move`,name:`Move`,import:(()=>l(()=>import(`./move-g7w7k042.js`),[],import.meta.url))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>l(()=>import(`./narrat-d1cszt6i.js`),[],import.meta.url))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>l(()=>import(`./nextflow-fpd3eqgm.js`),__vite__mapDeps([108,109]),import.meta.url))},{id:`nextflow-groovy`,name:`nextflow-groovy`,import:(()=>l(()=>import(`./nextflow-groovy-nc95p6pm.js`),[],import.meta.url))},{id:`nginx`,name:`Nginx`,import:(()=>l(()=>import(`./nginx-e7lvhsmn.js`),__vite__mapDeps([110,74,3,56]),import.meta.url))},{id:`nim`,name:`Nim`,import:(()=>l(()=>import(`./nim-dun5d8mk.js`),__vite__mapDeps([111,39,3,40,38,44,45,56,63,77]),import.meta.url))},{id:`nix`,name:`Nix`,import:(()=>l(()=>import(`./nix-sxazvl0w.js`),[],import.meta.url))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>l(()=>import(`./nushell-nbi9xmdg.js`),[],import.meta.url))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>l(()=>import(`./objective-c-oshe4ycx.js`),[],import.meta.url))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>l(()=>import(`./objective-cpp-go29ofq1.js`),[],import.meta.url))},{id:`ocaml`,name:`OCaml`,import:(()=>l(()=>import(`./ocaml-56kivtnr.js`),[],import.meta.url))},{id:`odin`,name:`Odin`,import:(()=>l(()=>import(`./odin-g772bhi5.js`),[],import.meta.url))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>l(()=>import(`./openscad-e9e9mfyg.js`),[],import.meta.url))},{id:`pascal`,name:`Pascal`,import:(()=>l(()=>import(`./pascal-dmg2rs6d.js`),[],import.meta.url))},{id:`perl`,name:`Perl`,import:(()=>l(()=>import(`./perl-bj3oqtet.js`),__vite__mapDeps([101,39,3,40,38,44,45,53]),import.meta.url))},{id:`php`,name:`PHP`,import:(()=>l(()=>import(`./php-buzp12r0.js`),__vite__mapDeps([112,39,3,40,38,44,45,46,53]),import.meta.url))},{id:`pkl`,name:`Pkl`,import:(()=>l(()=>import(`./pkl-co2grztk.js`),[],import.meta.url))},{id:`plsql`,name:`PL/SQL`,import:(()=>l(()=>import(`./plsql-l0i9f33n.js`),[],import.meta.url))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>l(()=>import(`./po-f3ga9osn.js`),[],import.meta.url))},{id:`polar`,name:`Polar`,import:(()=>l(()=>import(`./polar-ldicpe6g.js`),[],import.meta.url))},{id:`postcss`,name:`PostCSS`,import:(()=>l(()=>import(`./postcss-fgpvnt75.js`),[],import.meta.url))},{id:`powerquery`,name:`PowerQuery`,import:(()=>l(()=>import(`./powerquery-mflxo46x.js`),[],import.meta.url))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`],import:(()=>l(()=>import(`./powershell-oado4mxi.js`),[],import.meta.url))},{id:`prisma`,name:`Prisma`,import:(()=>l(()=>import(`./prisma-go1e7wq8.js`),[],import.meta.url))},{id:`prolog`,name:`Prolog`,import:(()=>l(()=>import(`./prolog-cbjal8aj.js`),[],import.meta.url))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>l(()=>import(`./proto-lrhov7xc.js`),[],import.meta.url))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>l(()=>import(`./pug-mjad7he9.js`),__vite__mapDeps([113,39,3,40,38]),import.meta.url))},{id:`puppet`,name:`Puppet`,import:(()=>l(()=>import(`./puppet-h22szrmn.js`),[],import.meta.url))},{id:`purescript`,name:`PureScript`,import:(()=>l(()=>import(`./purescript-dwpj7hdb.js`),[],import.meta.url))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>l(()=>import(`./python-b767fgue.js`),[],import.meta.url))},{id:`qml`,name:`QML`,import:(()=>l(()=>import(`./qml-d1gdp10s.js`),__vite__mapDeps([114,39,3]),import.meta.url))},{id:`qmldir`,name:`QML Directory`,import:(()=>l(()=>import(`./qmldir-lsawched.js`),[],import.meta.url))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>l(()=>import(`./qss-lyvmg4f4.js`),[],import.meta.url))},{id:`r`,name:`R`,import:(()=>l(()=>import(`./r-o3r9c7ao.js`).then(e=>e.n),__vite__mapDeps([99,3]),import.meta.url))},{id:`racket`,name:`Racket`,import:(()=>l(()=>import(`./racket-nbfqjw5h.js`),[],import.meta.url))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>l(()=>import(`./raku-hcy6uwm6.js`),[],import.meta.url))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>l(()=>import(`./razor-ilc585yr.js`),__vite__mapDeps([115,38,3,39,40,116]),import.meta.url))},{id:`reg`,name:`Windows Registry Script`,import:(()=>l(()=>import(`./reg-ivi9d1my.js`),[],import.meta.url))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>l(()=>import(`./regexp-mpjtcvwm.js`).then(e=>e.n),__vite__mapDeps([62,3]),import.meta.url))},{id:`rel`,name:`Rel`,import:(()=>l(()=>import(`./rel-gqpkg3ta.js`),[],import.meta.url))},{id:`riscv`,name:`RISC-V`,import:(()=>l(()=>import(`./riscv-j1f2yjp2.js`),[],import.meta.url))},{id:`ron`,name:`RON`,import:(()=>l(()=>import(`./ron-bjqasg78.js`),[],import.meta.url))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>l(()=>import(`./rosmsg-hv3wcot6.js`),[],import.meta.url))},{id:`rst`,name:`reStructuredText`,import:(()=>l(()=>import(`./rst-jrkwjdyi.js`),__vite__mapDeps([117,39,3,52,38,40,58,118,61,53,62,63,56,65,75,70,44,45,71,72,48,50,73,74]),import.meta.url))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>l(()=>import(`./ruby-n4tjcbpz.js`),__vite__mapDeps([70,39,3,40,38,44,45,53,56,61,62,63,65,71,72,48,50,73,74,75]),import.meta.url))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>l(()=>import(`./rust-jqduclx1.js`),[],import.meta.url))},{id:`sas`,name:`SAS`,import:(()=>l(()=>import(`./sas-hjo6y93k.js`),__vite__mapDeps([119,53,3]),import.meta.url))},{id:`sass`,name:`Sass`,import:(()=>l(()=>import(`./sass-m1yncbwu.js`),[],import.meta.url))},{id:`scala`,name:`Scala`,import:(()=>l(()=>import(`./scala-l9ahg4e9.js`),[],import.meta.url))},{id:`scheme`,name:`Scheme`,import:(()=>l(()=>import(`./scheme-mlodf39l.js`),[],import.meta.url))},{id:`scss`,name:`SCSS`,import:(()=>l(()=>import(`./scss-ncidjv48.js`).then(e=>e.n),__vite__mapDeps([42,3,40]),import.meta.url))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>l(()=>import(`./sdbl-bwg2t5pt.js`),[],import.meta.url))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>l(()=>import(`./shaderlab-be89ch6g.js`),__vite__mapDeps([120,121]),import.meta.url))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>l(()=>import(`./shellscript-m8whjpqd.js`).then(e=>e.n),__vite__mapDeps([65,3]),import.meta.url))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>l(()=>import(`./shellsession-i5bj6syz.js`),__vite__mapDeps([122,65,3]),import.meta.url))},{id:`smalltalk`,name:`Smalltalk`,import:(()=>l(()=>import(`./smalltalk-g9lpwisn.js`),[],import.meta.url))},{id:`solidity`,name:`Solidity`,import:(()=>l(()=>import(`./solidity-ih313ji4.js`),[],import.meta.url))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>l(()=>import(`./soy-hhh36ysq.js`),__vite__mapDeps([123,38,3,39,40]),import.meta.url))},{id:`sparql`,name:`SPARQL`,import:(()=>l(()=>import(`./sparql-pewjbauq.js`),__vite__mapDeps([124,125]),import.meta.url))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>l(()=>import(`./splunk-d8q89juf.js`),[],import.meta.url))},{id:`sql`,name:`SQL`,import:(()=>l(()=>import(`./sql-j21bzcl6.js`).then(e=>e.n),__vite__mapDeps([53,3]),import.meta.url))},{id:`ssh-config`,name:`SSH Config`,import:(()=>l(()=>import(`./ssh-config-fzxlymn8.js`),[],import.meta.url))},{id:`stata`,name:`Stata`,import:(()=>l(()=>import(`./stata-bbu2onh1.js`),__vite__mapDeps([126,53,3]),import.meta.url))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>l(()=>import(`./stylus-hifjg0ye.js`),[],import.meta.url))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>l(()=>import(`./surrealql-l5vczuco.js`),__vite__mapDeps([127,39,3]),import.meta.url))},{id:`svelte`,name:`Svelte`,import:(()=>l(()=>import(`./svelte-idn422g6.js`),__vite__mapDeps([128,39,3,40,48,49]),import.meta.url))},{id:`swift`,name:`Swift`,import:(()=>l(()=>import(`./swift-n11rc3v3.js`),[],import.meta.url))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>l(()=>import(`./system-verilog-l8k1po2l.js`),[],import.meta.url))},{id:`systemd`,name:`Systemd Units`,import:(()=>l(()=>import(`./systemd-d1zoxedb.js`),[],import.meta.url))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>l(()=>import(`./talonscript-j9gt5qb1.js`),[],import.meta.url))},{id:`tasl`,name:`Tasl`,import:(()=>l(()=>import(`./tasl-meer3lyk.js`),[],import.meta.url))},{id:`tcl`,name:`Tcl`,import:(()=>l(()=>import(`./tcl-jdc54rsg.js`),[],import.meta.url))},{id:`templ`,name:`Templ`,import:(()=>l(()=>import(`./templ-e22qou3c.js`),__vite__mapDeps([129,39,3,40,130]),import.meta.url))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>l(()=>import(`./terraform-oav3wzsy.js`),[],import.meta.url))},{id:`tex`,name:`TeX`,import:(()=>l(()=>import(`./tex-deqpc5ee.js`),__vite__mapDeps([103,99,3]),import.meta.url))},{id:`toml`,name:`TOML`,import:(()=>l(()=>import(`./toml-jj1ee1k1.js`),[],import.meta.url))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>l(()=>import(`./ts-tags-ctnibc27.js`),__vite__mapDeps([131,39,3,40,38,44,45,48,53,63,56]),import.meta.url))},{id:`tsv`,name:`TSV`,import:(()=>l(()=>import(`./tsv-cxbgj4wh.js`),[],import.meta.url))},{id:`tsx`,name:`TSX`,import:(()=>l(()=>import(`./tsx-i163n32g.js`).then(e=>e.n),__vite__mapDeps([50,3]),import.meta.url))},{id:`turtle`,name:`Turtle`,import:(()=>l(()=>import(`./turtle-g1kfgpwv.js`),[],import.meta.url))},{id:`twig`,name:`Twig`,import:(()=>l(()=>import(`./twig-x0fi7wm8.js`),__vite__mapDeps([132,39,3,40,42,58,70,38,44,45,53,56,61,62,63,65,71,72,48,50,73,74,75,112,46]),import.meta.url))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>l(()=>import(`./typescript-g18c34xz.js`).then(e=>e.n),__vite__mapDeps([48,3]),import.meta.url))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>l(()=>import(`./typespec-hokgy7ic.js`),[],import.meta.url))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>l(()=>import(`./typst-l6lt2vta.js`),[],import.meta.url))},{id:`v`,name:`V`,import:(()=>l(()=>import(`./v-lwnsi8rl.js`),[],import.meta.url))},{id:`vala`,name:`Vala`,import:(()=>l(()=>import(`./vala-db1h2kp7.js`),[],import.meta.url))},{id:`vb`,name:`Visual Basic`,aliases:[`cmd`],import:(()=>l(()=>import(`./vb-nrezymby.js`),[],import.meta.url))},{id:`verilog`,name:`Verilog`,import:(()=>l(()=>import(`./verilog-jworpiw4.js`),[],import.meta.url))},{id:`vhdl`,name:`VHDL`,import:(()=>l(()=>import(`./vhdl-gnn4vfnm.js`),[],import.meta.url))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>l(()=>import(`./viml-ogfqutxv.js`),[],import.meta.url))},{id:`vue`,name:`Vue`,import:(()=>l(()=>import(`./vue-mwu5l1bb.js`),__vite__mapDeps([133,39,3,40,38,46,48,52]),import.meta.url))},{id:`vue-html`,name:`Vue HTML`,import:(()=>l(()=>import(`./vue-html-nskj3du0.js`),__vite__mapDeps([134,39,3]),import.meta.url))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>l(()=>import(`./vue-vine-cqe77smq.js`),__vite__mapDeps([135,39,3,40,42,49,106,136]),import.meta.url))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>l(()=>import(`./vyper-jsmo764l.js`),[],import.meta.url))},{id:`wasm`,name:`WebAssembly`,import:(()=>l(()=>import(`./wasm-g1zrybde.js`),[],import.meta.url))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>l(()=>import(`./wenyan-lgcd7t1n.js`),[],import.meta.url))},{id:`wgsl`,name:`WGSL`,import:(()=>l(()=>import(`./wgsl-gotoh48n.js`),[],import.meta.url))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>l(()=>import(`./wikitext-j1379ez7.js`),[],import.meta.url))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>l(()=>import(`./wit-neu67rwu.js`),[],import.meta.url))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>l(()=>import(`./wolfram-mbb1p6oi.js`),[],import.meta.url))},{id:`xml`,name:`XML`,import:(()=>l(()=>import(`./xml-gau7gvrv.js`).then(e=>e.n),__vite__mapDeps([44,3,45]),import.meta.url))},{id:`xsl`,name:`XSL`,import:(()=>l(()=>import(`./xsl-ew09zq8b.js`),__vite__mapDeps([137,44,3,45]),import.meta.url))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>l(()=>import(`./yaml-ofnrxtvf.js`).then(e=>e.n),__vite__mapDeps([75,3]),import.meta.url))},{id:`zenscript`,name:`ZenScript`,import:(()=>l(()=>import(`./zenscript-ge1h0r83.js`),[],import.meta.url))},{id:`zig`,name:`Zig`,import:(()=>l(()=>import(`./zig-ik06evde.js`),[],import.meta.url))}],hz=Object.fromEntries(mz.map(e=>[e.id,e.import])),gz=Object.fromEntries(mz.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),_z={...hz,...gz},vz=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>l(()=>import(`./andromeeda-c2n0n86o.js`),[],import.meta.url))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>l(()=>import(`./aurora-x-h2hngdsl.js`),[],import.meta.url))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>l(()=>import(`./ayu-dark-nvvuggz9.js`),[],import.meta.url))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>l(()=>import(`./ayu-light-k5fxgplt.js`),[],import.meta.url))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>l(()=>import(`./ayu-mirage-gltrvhcx.js`),[],import.meta.url))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-frappe-dj7qsd4s.js`),[],import.meta.url))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>l(()=>import(`./catppuccin-latte-oh2bx7qn.js`),[],import.meta.url))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-macchiato-m3xyazph.js`),[],import.meta.url))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-mocha-m3rjj89j.js`),[],import.meta.url))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>l(()=>import(`./dark-plus-kin19s9x.js`),[],import.meta.url))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>l(()=>import(`./dracula-eicfho73.js`),[],import.meta.url))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>l(()=>import(`./dracula-soft-doslejd2.js`),[],import.meta.url))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>l(()=>import(`./everforest-dark-cv4maom7.js`),[],import.meta.url))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>l(()=>import(`./everforest-light-njdw7fx6.js`),[],import.meta.url))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>l(()=>import(`./github-dark-ljlyim8s.js`),[],import.meta.url))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>l(()=>import(`./github-dark-default-m0qs6qki.js`),[],import.meta.url))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>l(()=>import(`./github-dark-dimmed-g0vz4qee.js`),[],import.meta.url))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>l(()=>import(`./github-dark-high-contrast-hugubo52.js`),[],import.meta.url))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>l(()=>import(`./github-light-jhyi45t4.js`),[],import.meta.url))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>l(()=>import(`./github-light-default-fgfak5mv.js`),[],import.meta.url))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>l(()=>import(`./github-light-high-contrast-hka6wb3r.js`),[],import.meta.url))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-hard-lgsj7y5r.js`),[],import.meta.url))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-medium-ezt86wrc.js`),[],import.meta.url))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-soft-1a3jfdlm.js`),[],import.meta.url))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-hard-d82lddjc.js`),[],import.meta.url))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-medium-d3ffitv3.js`),[],import.meta.url))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-soft-e5gf7i2q.js`),[],import.meta.url))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>l(()=>import(`./horizon-h5nzrwlb.js`),[],import.meta.url))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`dark`,import:(()=>l(()=>import(`./horizon-bright-gn4aqinx.js`),[],import.meta.url))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>l(()=>import(`./houston-kifsbmbx.js`),[],import.meta.url))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-dragon-i9mmmgud.js`),[],import.meta.url))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>l(()=>import(`./kanagawa-lotus-ev5oro17.js`),[],import.meta.url))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-wave-i06560uw.js`),[],import.meta.url))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>l(()=>import(`./laserwave-goebpayr.js`),[],import.meta.url))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>l(()=>import(`./light-plus-mws1g85f.js`),[],import.meta.url))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>l(()=>import(`./material-theme-gdimc61s.js`),[],import.meta.url))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>l(()=>import(`./material-theme-darker-dhm8zmok.js`),[],import.meta.url))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>l(()=>import(`./material-theme-lighter-c1fszbb2.js`),[],import.meta.url))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>l(()=>import(`./material-theme-ocean-iakojpmy.js`),[],import.meta.url))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>l(()=>import(`./material-theme-palenight-hgxmykmi.js`),[],import.meta.url))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>l(()=>import(`./min-dark-e5sicuw2.js`),[],import.meta.url))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>l(()=>import(`./min-light-gst87fvf.js`),[],import.meta.url))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>l(()=>import(`./monokai-jl389a9o.js`),[],import.meta.url))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>l(()=>import(`./night-owl-nm3cgqfv.js`),[],import.meta.url))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>l(()=>import(`./night-owl-light-b2j1bc8t.js`),[],import.meta.url))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>l(()=>import(`./nord-jiiendyo.js`),[],import.meta.url))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>l(()=>import(`./one-dark-pro-ext74l87.js`),[],import.meta.url))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>l(()=>import(`./one-light-o5mlsn8i.js`),[],import.meta.url))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>l(()=>import(`./plastic-mm7c7uq7.js`),[],import.meta.url))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>l(()=>import(`./poimandres-mnwq5v4d.js`),[],import.meta.url))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>l(()=>import(`./red-if4jt303.js`),[],import.meta.url))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-grpwpg67.js`),[],import.meta.url))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>l(()=>import(`./rose-pine-dawn-nlpzqzob.js`),[],import.meta.url))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-moon-b9yyevxr.js`),[],import.meta.url))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>l(()=>import(`./slack-dark-ny9l0r7b.js`),[],import.meta.url))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>l(()=>import(`./slack-ochin-g98102hs.js`),[],import.meta.url))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>l(()=>import(`./snazzy-light-dlu9q2m5.js`),[],import.meta.url))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>l(()=>import(`./solarized-dark-mx1nd4sm.js`),[],import.meta.url))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>l(()=>import(`./solarized-light-mqzd33fz.js`),[],import.meta.url))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>l(()=>import(`./synthwave-84-clkt7319.js`),[],import.meta.url))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>l(()=>import(`./tokyo-night-cnyqlmc2.js`),[],import.meta.url))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>l(()=>import(`./vesper-o1vwtlg2.js`),[],import.meta.url))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>l(()=>import(`./vitesse-black-b5y62t71.js`),[],import.meta.url))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>l(()=>import(`./vitesse-dark-fj1ju380.js`),[],import.meta.url))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>l(()=>import(`./vitesse-light-bjycd3ha.js`),[],import.meta.url))}].map(e=>[e.id,e.import])),yz=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function bz(){return 2147483648}function xz(){return typeof performance<`u`?performance.now():Date.now()}var Sz=(e,t)=>e+(t-e%t)%t;async function Cz(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}function a(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)}function o(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}function s(e){let t=r.HEAPU8.length;e>>>=0;let n=bz();if(e>n)return!1;for(let r=1;r<=4;r*=2){let i=t*(1+.2/r);if(i=Math.min(i,e+100663296),o(Math.min(n,Sz(Math.max(e,i),65536))))return!0}return!1}let c=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function l(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&c)return c.decode(e.subarray(t,i));let a=``;for(;t<i;){let n=e[t++];if(!(n&128)){a+=String.fromCharCode(n);continue}let r=e[t++]&63;if((n&224)==192){a+=String.fromCharCode((n&31)<<6|r);continue}let i=e[t++]&63;if(n=(n&240)==224?(n&15)<<12|r<<6|i:(n&7)<<18|r<<12|i<<6|e[t++]&63,n<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|e&1023)}}return a}function u(e,t){return e?l(r.HEAPU8,e,t):``}let d={emscripten_get_now:xz,emscripten_memcpy_big:a,emscripten_resize_heap:s,fd_write:()=>0};async function f(){let n=await e({env:d,wasi_snapshot_preview1:d});t=n.memory,i(t.buffer),Object.assign(r,n),r.UTF8ToString=u}return await f(),r}var wz=Object.defineProperty,Tz=(e,t,n)=>t in e?wz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ez=(e,t,n)=>Tz(e,typeof t==`symbol`?t:t+``,n),Dz=null;function Oz(e){throw new yz(e.UTF8ToString(e.getLastOnigError()))}var kz=class e{constructor(t){Ez(this,`utf16Length`),Ez(this,`utf8Length`),Ez(this,`utf16Value`),Ez(this,`utf8Value`),Ez(this,`utf16OffsetToUtf8`),Ez(this,`utf8OffsetToUtf16`);let n=t.length,r=e._utf8ByteLength(t),i=r!==n,a=i?new Uint32Array(n+1):null;i&&(a[n]=r);let o=i?new Uint32Array(r+1):null;i&&(o[r]=n);let s=new Uint8Array(r),c=0;for(let e=0;e<n;e++){let r=t.charCodeAt(e),l=r,u=!1;if(r>=55296&&r<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(l=(r-55296<<10)+65536|n-56320,u=!0)}i&&(a[e]=c,u&&(a[e+1]=c),l<=127?o[c+0]=e:l<=2047?(o[c+0]=e,o[c+1]=e):l<=65535?(o[c+0]=e,o[c+1]=e,o[c+2]=e):(o[c+0]=e,o[c+1]=e,o[c+2]=e,o[c+3]=e)),l<=127?s[c++]=l:l<=2047?(s[c++]=192|(l&1984)>>>6,s[c++]=128|(l&63)>>>0):l<=65535?(s[c++]=224|(l&61440)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0):(s[c++]=240|(l&1835008)>>>18,s[c++]=128|(l&258048)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0),u&&e++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}t+=a<=127?1:a<=2047?2:a<=65535?3:4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}},Az=class e{constructor(t){if(Ez(this,`id`,++e.LAST_ID),Ez(this,`_onigBinding`),Ez(this,`content`),Ez(this,`utf16Length`),Ez(this,`utf8Length`),Ez(this,`utf16OffsetToUtf8`),Ez(this,`utf8OffsetToUtf16`),Ez(this,`ptr`),!Dz)throw new yz(`Must invoke loadWasm first.`);this._onigBinding=Dz,this.content=t;let n=new kz(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=Dz.omalloc(1e4),e._sharedPtrInUse=!0,Dz.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(Dz)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ez(Az,`LAST_ID`,0),Ez(Az,`_sharedPtr`,0),Ez(Az,`_sharedPtrInUse`,!1);var jz=Az,Mz=class{constructor(e){if(Ez(this,`_onigBinding`),Ez(this,`_ptr`),!Dz)throw new yz(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new kz(e[r]);t[r]=i.createString(Dz),n[r]=i.utf8Length}let r=Dz.omalloc(4*e.length);Dz.HEAPU32.set(t,r/4);let i=Dz.omalloc(4*e.length);Dz.HEAPU32.set(n,i/4);let a=Dz.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)Dz.ofree(t[n]);Dz.ofree(i),Dz.ofree(r),a===0&&Oz(Dz),this._onigBinding=Dz,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if(typeof n==`number`&&(r=n),typeof e==`string`){e=new jz(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(a===0)return null;let o=i.HEAPU32,s=a/4,c=o[s++],l=o[s++],u=[];for(let t=0;t<l;t++){let n=e.convertUtf8OffsetToUtf16(o[s++]),r=e.convertUtf8OffsetToUtf16(o[s++]);u[t]={start:n,end:r,length:r-n}}return{index:c,captureIndices:u}}};function Nz(e){return typeof e.instantiator==`function`}function Pz(e){return typeof e.default==`function`}function Fz(e){return e.data!==void 0}function Iz(e){return typeof Response<`u`&&e instanceof Response}function Lz(e){return typeof ArrayBuffer<`u`&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<`u`&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||typeof Uint32Array<`u`&&e instanceof Uint32Array}var Rz;function zz(e){if(Rz)return Rz;async function t(){Dz=await Cz(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),Nz(n)?n=await n.instantiator(t):Pz(n)?n=await n.default(t):(Fz(n)&&(n=n.data),Iz(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await Vz(n)(t):await Hz(n)(t):Lz(n)||n instanceof WebAssembly.Module?n=await Bz(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await Bz(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return Rz=t(),Rz}function Bz(e){return t=>WebAssembly.instantiate(e,t)}function Vz(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Hz(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function Uz(e){return e&&await zz(e),{createScanner(e){return new Mz(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new jz(e)}}}var Wz=dz({langs:_z,themes:vz,engine:()=>Uz(l(()=>import(`./wasm-gezzbmz0.js`),[],import.meta.url))}),{codeToHtml:Gz,codeToHast:Kz,codeToTokens:qz,codeToTokensBase:Jz,codeToTokensWithThemes:Yz,getSingletonHighlighter:Xz,getLastGrammarState:Zz}=pz(Wz,{guessEmbeddedLanguages:QL});function Qz(e){if([...e].length!==1)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function $z(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}var eB=new Set([`alnum`,`alpha`,`ascii`,`blank`,`cntrl`,`digit`,`graph`,`lower`,`print`,`punct`,`space`,`upper`,`word`,`xdigit`]),tB=String.raw;function nB(e,t){if(e==null)throw Error(t??`Value expected`);return e}var rB=tB`\[\^?`,iB=`c.? | C(?:-.?)?|${tB`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${tB`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${tB`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${tB`o\{[^\}]*\}?`}|${tB`\d{1,3}`}`,aB=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,oB=new RegExp(tB`
|
|
443
|
+
`}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]},c=aR(a.htmlStyle||iR(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(p,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(p,n,t+1)||n;f.push(n),a.push(n)}else s===`inline`&&f.push(n)}),s===`classic`){for(let e of i)d=e?.code?.call(p,d)||d;u.children.push(d);for(let e of i)u=e?.pre?.call(p,u)||u;o.children.push(u)}else if(s===`inline`){let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of o.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&sR(m,r),m}function WR(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&cF.Underline||i.fontStyle&cF.Strikethrough));o&&i.content.match(/^\s+$/)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function GR(e){return e.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function KR(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t[t.length-1],r=aR(e.htmlStyle||iR(e)),i=aR(n.htmlStyle||iR(n)),a=e.fontStyle&&(e.fontStyle&cF.Underline||e.fontStyle&cF.Strikethrough),o=n.fontStyle&&(n.fontStyle&cF.Underline||n.fontStyle&cF.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var qR=RL;function JR(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>HR(e,t,n),codeToTokens:(t,n)=>BR(e,t,n)},i=qR(HR(e,t,n,r));for(let e of gR(n))i=e.postprocess?.call(r,i,n)||i;return i}var YR={light:`#333333`,dark:`#bbbbbb`},XR={light:`#fffffe`,dark:`#1e1e1e`},ZR=`__shiki_resolved`;function QR(e){if(e?.[ZR])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?YR.light:YR.dark,n||=t.type===`light`?XR.light:XR.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,ZR,{enumerable:!1,writable:!1,value:!0}),t}async function $R(e){return Array.from(new Set((await Promise.all(e.filter(e=>!KL(e)).map(async e=>await WL(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function ez(e){return(await Promise.all(e.map(async e=>JL(e)?null:QR(await WL(e))))).filter(e=>!!e)}var tz=3;function nz(e,t=3){tz&&(typeof tz==`number`&&t>tz||console.trace(`[SHIKI DEPRECATE]: ${e}`))}var rz=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function iz(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new rz(`Circular alias \`${Array.from(n).join(` -> `)} -> ${e}\``);n.add(e)}}return e}var az=class extends xI{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=QR(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=tF.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=iz(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t?(t.embeddedLanguages||t.embeddedLangs)?.some(e=>n.map(([e])=>e).includes(e)):!1).filter(e=>!n.includes(e));throw new rz(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}},oz=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},sz=0;function cz(e){sz+=1,e.warnings!==!1&&sz>=10&&sz%10==0&&console.warn(`[Shiki] ${sz} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new rz("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(QR),i=new az(new oz(e.engine,n),r,n,e.langAlias),a;function o(t){return iz(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new rz(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};g();let t=i.getTheme(e);if(!t)throw new rz(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(e){g();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function u(){return g(),i.getLoadedThemes()}function d(){return g(),i.getLoadedLanguages()}function f(...e){g(),i.loadLanguages(e.flat(1))}async function p(...e){return f(await $R(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await ez(e))}function g(){if(t)throw new rz(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--sz)}return{setTheme:l,getTheme:c,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:h,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function lz(e){e.engine||nz("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([ez(e.themes||[]),$R(e.langs||[]),e.engine]);return cz({...e,themes:t,langs:n,engine:r})}async function uz(e){let t=await lz(e);return{getLastGrammarState:(...e)=>AR(t,...e),codeToTokensBase:(e,n)=>kR(t,e,n),codeToTokensWithThemes:(e,n)=>RR(t,e,n),codeToTokens:(e,n)=>BR(t,e,n),codeToHast:(e,n)=>HR(t,e,n),codeToHtml:(e,n)=>JR(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function dz(e){let t=e.langs,n=e.themes,r=e.engine;async function i(e){function i(n){if(typeof n==`string`){if(n=e.langAlias?.[n]||n,KL(n))return[];let r=t[n];if(!r)throw new VP(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(JL(e))return`none`;if(typeof e==`string`){let t=n[e];if(!t)throw new VP(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let o=(e.themes??[]).map(e=>a(e)),s=(e.langs??[]).map(e=>i(e)),c=await uz({engine:e.engine??r(),...e,themes:o,langs:s});return{...c,loadLanguage(...e){return c.loadLanguage(...e.map(i))},loadTheme(...e){return c.loadTheme(...e.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return i}function fz(e){let t;async function n(n={}){if(t){let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}{t=e({...n,themes:[],langs:[]});let r=await t;return await Promise.all([r.loadTheme(...n.themes||[]),r.loadLanguage(...n.langs||[])]),r}}return n}function pz(e,t){let n=fz(e);async function r(e,r){let i=await n({langs:[r.lang],themes:`theme`in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter(e){return n(e)},async codeToHtml(e,t){return(await r(e,t)).codeToHtml(e,t)},async codeToHast(e,t){return(await r(e,t)).codeToHast(e,t)},async codeToTokens(e,t){return(await r(e,t)).codeToTokens(e,t)},async codeToTokensBase(e,t){return(await r(e,t)).codeToTokensBase(e,t)},async codeToTokensWithThemes(e,t){return(await r(e,t)).codeToTokensWithThemes(e,t)},async getLastGrammarState(e,t){return(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}}var mz=[{id:`abap`,name:`ABAP`,import:(()=>u(()=>import(`./abap-ij37pki6.js`),[],import.meta.url))},{id:`actionscript-3`,name:`ActionScript`,import:(()=>u(()=>import(`./actionscript-3-dz7y3j1x.js`),[],import.meta.url))},{id:`ada`,name:`Ada`,import:(()=>u(()=>import(`./ada-k9zgv987.js`),[],import.meta.url))},{id:`angular-html`,name:`Angular HTML`,import:(()=>u(()=>import(`./angular-html-nu6l31w3.js`).then(e=>e.n),__vite__mapDeps([35,3,36,37,38]),import.meta.url))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>u(()=>import(`./angular-ts-fbx4f8mm.js`),__vite__mapDeps([39,35,3,36,37,38,40]),import.meta.url))},{id:`apache`,name:`Apache Conf`,import:(()=>u(()=>import(`./apache-binppq6z.js`),[],import.meta.url))},{id:`apex`,name:`Apex`,import:(()=>u(()=>import(`./apex-h8illjly.js`),[],import.meta.url))},{id:`apl`,name:`APL`,import:(()=>u(()=>import(`./apl-bx2xr7dh.js`),__vite__mapDeps([41,37,3,38,36,42,43,44]),import.meta.url))},{id:`applescript`,name:`AppleScript`,import:(()=>u(()=>import(`./applescript-h0ok5sww.js`),[],import.meta.url))},{id:`ara`,name:`Ara`,import:(()=>u(()=>import(`./ara-dlpjioua.js`),[],import.meta.url))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>u(()=>import(`./asciidoc-lx0cuujr.js`),[],import.meta.url))},{id:`asm`,name:`Assembly`,import:(()=>u(()=>import(`./asm-j5diz3sz.js`),[],import.meta.url))},{id:`astro`,name:`Astro`,import:(()=>u(()=>import(`./astro-g77i97cb.js`),__vite__mapDeps([45,37,3,38,44,46,47,48]),import.meta.url))},{id:`awk`,name:`AWK`,import:(()=>u(()=>import(`./awk-fecghegf.js`),[],import.meta.url))},{id:`ballerina`,name:`Ballerina`,import:(()=>u(()=>import(`./ballerina-hk9oga18.js`),[],import.meta.url))},{id:`bat`,name:`Batch File`,aliases:[`batch`],import:(()=>u(()=>import(`./bat-ghs7lag5.js`),[],import.meta.url))},{id:`beancount`,name:`Beancount`,import:(()=>u(()=>import(`./beancount-pc6q2dmq.js`),[],import.meta.url))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>u(()=>import(`./berry-l96jp8n4.js`),[],import.meta.url))},{id:`bibtex`,name:`BibTeX`,import:(()=>u(()=>import(`./bibtex-jxn7maz2.js`),[],import.meta.url))},{id:`bicep`,name:`Bicep`,import:(()=>u(()=>import(`./bicep-i1yv3ngd.js`),[],import.meta.url))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>u(()=>import(`./bird2-k3aagqn0.js`),[],import.meta.url))},{id:`blade`,name:`Blade`,import:(()=>u(()=>import(`./blade-boo0u92y.js`),__vite__mapDeps([49,37,3,38,36,42,43,44,50,51]),import.meta.url))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>u(()=>import(`./bsl-f8m1ja7w.js`),__vite__mapDeps([52,53]),import.meta.url))},{id:`c`,name:`C`,import:(()=>u(()=>import(`./c-cat0w3sc.js`).then(e=>e.n),__vite__mapDeps([54,3]),import.meta.url))},{id:`c3`,name:`C3`,import:(()=>u(()=>import(`./c3-j6ile59o.js`),[],import.meta.url))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>u(()=>import(`./cadence-e3x2pgsu.js`),[],import.meta.url))},{id:`cairo`,name:`Cairo`,import:(()=>u(()=>import(`./cairo-mblac9dt.js`),__vite__mapDeps([55,56]),import.meta.url))},{id:`clarity`,name:`Clarity`,import:(()=>u(()=>import(`./clarity-bdn1d8fx.js`),[],import.meta.url))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>u(()=>import(`./clojure-n5b9o4lq.js`),[],import.meta.url))},{id:`cmake`,name:`CMake`,import:(()=>u(()=>import(`./cmake-f68p68h5.js`),[],import.meta.url))},{id:`cobol`,name:`COBOL`,import:(()=>u(()=>import(`./cobol-go622aep.js`),__vite__mapDeps([57,36,3,37,38,43]),import.meta.url))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>u(()=>import(`./codeowners-lgfjmw2s.js`),[],import.meta.url))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>u(()=>import(`./codeql-cojlysyb.js`),[],import.meta.url))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>u(()=>import(`./coffee-jwo1xjhq.js`),__vite__mapDeps([58,37,3]),import.meta.url))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>u(()=>import(`./common-lisp-ko58h8pe.js`),[],import.meta.url))},{id:`coq`,name:`Coq`,import:(()=>u(()=>import(`./coq-gns70ukp.js`),[],import.meta.url))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>u(()=>import(`./cpp-nre7j0kq.js`).then(e=>e.n),__vite__mapDeps([59,3,51,60,61,54]),import.meta.url))},{id:`crystal`,name:`Crystal`,import:(()=>u(()=>import(`./crystal-lviso2je.js`),__vite__mapDeps([62,37,3,38,36,51,54,63]),import.meta.url))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>u(()=>import(`./csharp-kkz9hcxp.js`),[],import.meta.url))},{id:`css`,name:`CSS`,import:(()=>u(()=>import(`./css-ywz9j4hb.js`).then(e=>e.n),__vite__mapDeps([38,3]),import.meta.url))},{id:`csv`,name:`CSV`,import:(()=>u(()=>import(`./csv-ol0sxk26.js`),[],import.meta.url))},{id:`cue`,name:`CUE`,import:(()=>u(()=>import(`./cue-h5naoluy.js`),[],import.meta.url))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>u(()=>import(`./cypher-j2an42no.js`),[],import.meta.url))},{id:`d`,name:`D`,import:(()=>u(()=>import(`./d-crxkca3p.js`),[],import.meta.url))},{id:`dart`,name:`Dart`,import:(()=>u(()=>import(`./dart-nsg0xvqh.js`),[],import.meta.url))},{id:`dax`,name:`DAX`,import:(()=>u(()=>import(`./dax-f82777dv.js`),[],import.meta.url))},{id:`desktop`,name:`Desktop`,import:(()=>u(()=>import(`./desktop-nvg88bea.js`),[],import.meta.url))},{id:`diff`,name:`Diff`,import:(()=>u(()=>import(`./diff-c5xjoml2.js`),[],import.meta.url))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>u(()=>import(`./docker-s0pf2u92.js`),[],import.meta.url))},{id:`dotenv`,name:`dotEnv`,import:(()=>u(()=>import(`./dotenv-d2gvqxc1.js`),[],import.meta.url))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>u(()=>import(`./dream-maker-mz8d3pqb.js`),[],import.meta.url))},{id:`edge`,name:`Edge`,import:(()=>u(()=>import(`./edge-dvv35byi.js`),__vite__mapDeps([64,36,3,37,38,46,50]),import.meta.url))},{id:`elixir`,name:`Elixir`,import:(()=>u(()=>import(`./elixir-i2f1ki1g.js`),__vite__mapDeps([65,36,3,37,38]),import.meta.url))},{id:`elm`,name:`Elm`,import:(()=>u(()=>import(`./elm-cpepyjm4.js`),__vite__mapDeps([66,61,3,54]),import.meta.url))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>u(()=>import(`./emacs-lisp-lhl63kmy.js`),[],import.meta.url))},{id:`erb`,name:`ERB`,import:(()=>u(()=>import(`./erb-idlyfheg.js`),__vite__mapDeps([67,36,3,37,38,68,42,43,51,54,59,60,61,63,69,70,46,48,71,72,73]),import.meta.url))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>u(()=>import(`./erlang-kbk8e1kh.js`),__vite__mapDeps([74,75]),import.meta.url))},{id:`fennel`,name:`Fennel`,import:(()=>u(()=>import(`./fennel-mm8r79co.js`),[],import.meta.url))},{id:`fish`,name:`Fish`,import:(()=>u(()=>import(`./fish-em0xdaat.js`),[],import.meta.url))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>u(()=>import(`./fluent-kzq1mil2.js`),[],import.meta.url))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>u(()=>import(`./fortran-fixed-form-lwddxd99.js`),__vite__mapDeps([76,77]),import.meta.url))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>u(()=>import(`./fortran-free-form-jao3bzvo.js`),[],import.meta.url))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>u(()=>import(`./fsharp-ouam7w4k.js`),__vite__mapDeps([78,75]),import.meta.url))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>u(()=>import(`./gdresource-gawivel9.js`),__vite__mapDeps([79,80,81]),import.meta.url))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>u(()=>import(`./gdscript-kcamxf4c.js`),[],import.meta.url))},{id:`gdshader`,name:`GDShader`,import:(()=>u(()=>import(`./gdshader-hx54new5.js`),[],import.meta.url))},{id:`genie`,name:`Genie`,import:(()=>u(()=>import(`./genie-i5n3m91v.js`),[],import.meta.url))},{id:`gherkin`,name:`Gherkin`,import:(()=>u(()=>import(`./gherkin-lxn181dy.js`),[],import.meta.url))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>u(()=>import(`./git-commit-e6qgtuh5.js`),__vite__mapDeps([82,83]),import.meta.url))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>u(()=>import(`./git-rebase-d9lpfpbn.js`),__vite__mapDeps([84,63,3]),import.meta.url))},{id:`gleam`,name:`Gleam`,import:(()=>u(()=>import(`./gleam-ix1dym3g.js`),[],import.meta.url))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>u(()=>import(`./glimmer-js-39i0urfb.js`),__vite__mapDeps([85,37,3,38,36,46]),import.meta.url))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>u(()=>import(`./glimmer-ts-gdtd6n73.js`),__vite__mapDeps([86,37,3,38,36,46]),import.meta.url))},{id:`glsl`,name:`GLSL`,import:(()=>u(()=>import(`./glsl-o1djm5pp.js`).then(e=>e.n),__vite__mapDeps([61,3,54]),import.meta.url))},{id:`gn`,name:`GN`,import:(()=>u(()=>import(`./gn-cbzhsgl9.js`),[],import.meta.url))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>u(()=>import(`./gnuplot-dr8f9gvm.js`),[],import.meta.url))},{id:`go`,name:`Go`,import:(()=>u(()=>import(`./go-enhtrrw8.js`),[],import.meta.url))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>u(()=>import(`./graphql-kj6rz55t.js`).then(e=>e.n),__vite__mapDeps([70,3,37,46,48,71]),import.meta.url))},{id:`groovy`,name:`Groovy`,import:(()=>u(()=>import(`./groovy-jff59t9e.js`),[],import.meta.url))},{id:`hack`,name:`Hack`,import:(()=>u(()=>import(`./hack-pe1qqr2i.js`),__vite__mapDeps([87,36,3,37,38,51]),import.meta.url))},{id:`haml`,name:`Ruby Haml`,import:(()=>u(()=>import(`./haml-cknnbcqs.js`).then(e=>e.n),__vite__mapDeps([69,3,37,38]),import.meta.url))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>u(()=>import(`./handlebars-hwq64orh.js`),__vite__mapDeps([88,37,3,38,36,73]),import.meta.url))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>u(()=>import(`./haskell-o7nor2z2.js`),[],import.meta.url))},{id:`haxe`,name:`Haxe`,import:(()=>u(()=>import(`./haxe-4rwdh42h.js`),[],import.meta.url))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>u(()=>import(`./hcl-nnng763h.js`),[],import.meta.url))},{id:`hjson`,name:`Hjson`,import:(()=>u(()=>import(`./hjson-kscwmuzk.js`),[],import.meta.url))},{id:`hlsl`,name:`HLSL`,import:(()=>u(()=>import(`./hlsl-kopkvwox.js`),[],import.meta.url))},{id:`html`,name:`HTML`,import:(()=>u(()=>import(`./html-ha05xtvt.js`).then(e=>e.n),__vite__mapDeps([36,3,37,38]),import.meta.url))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>u(()=>import(`./html-derivative-h2i2pyjc.js`),__vite__mapDeps([50,36,3,37,38]),import.meta.url))},{id:`http`,name:`HTTP`,import:(()=>u(()=>import(`./http-cf94zu27.js`),__vite__mapDeps([89,42,3,43,44,63,70,37,46,48,71]),import.meta.url))},{id:`hurl`,name:`Hurl`,import:(()=>u(()=>import(`./hurl-lslax568.js`),__vite__mapDeps([90,42,3,43,91,70,37,46,48,71]),import.meta.url))},{id:`hxml`,name:`HXML`,import:(()=>u(()=>import(`./hxml-g52gxet6.js`),__vite__mapDeps([92,93]),import.meta.url))},{id:`hy`,name:`Hy`,import:(()=>u(()=>import(`./hy-jc9www1l.js`),[],import.meta.url))},{id:`imba`,name:`Imba`,import:(()=>u(()=>import(`./imba-n9x1ej2f.js`),[],import.meta.url))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>u(()=>import(`./ini-hg6eosim.js`),[],import.meta.url))},{id:`java`,name:`Java`,import:(()=>u(()=>import(`./java-ndjf2o89.js`).then(e=>e.n),__vite__mapDeps([43,3]),import.meta.url))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>u(()=>import(`./javascript-coftlwy3.js`).then(e=>e.n),__vite__mapDeps([37,3]),import.meta.url))},{id:`jinja`,name:`Jinja`,import:(()=>u(()=>import(`./jinja-etei9wy7.js`),__vite__mapDeps([94,36,3,37,38]),import.meta.url))},{id:`jison`,name:`Jison`,import:(()=>u(()=>import(`./jison-hyekgft1.js`),__vite__mapDeps([95,37,3]),import.meta.url))},{id:`json`,name:`JSON`,import:(()=>u(()=>import(`./json-lok0yaho.js`).then(e=>e.n),__vite__mapDeps([44,3]),import.meta.url))},{id:`json5`,name:`JSON5`,import:(()=>u(()=>import(`./json5-e4tr07tg.js`),[],import.meta.url))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>u(()=>import(`./jsonc-jbmkhoep.js`),[],import.meta.url))},{id:`jsonl`,name:`JSON Lines`,import:(()=>u(()=>import(`./jsonl-j35ke6at.js`),[],import.meta.url))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>u(()=>import(`./jsonnet-iewuy86o.js`),[],import.meta.url))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>u(()=>import(`./jssm-m1449zlc.js`),[],import.meta.url))},{id:`jsx`,name:`JSX`,import:(()=>u(()=>import(`./jsx-b64w0nbx.js`).then(e=>e.n),__vite__mapDeps([71,3]),import.meta.url))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>u(()=>import(`./julia-jxxzz2yn.js`),__vite__mapDeps([96,37,3,51,56,59,60,61,54,97]),import.meta.url))},{id:`just`,name:`Just`,import:(()=>u(()=>import(`./just-mc29iw9t.js`),__vite__mapDeps([98,37,3,46,56,63,68,38,36,42,43,51,54,59,60,61,69,70,48,71,72,73,99]),import.meta.url))},{id:`kdl`,name:`KDL`,import:(()=>u(()=>import(`./kdl-kgzv1x9e.js`),[],import.meta.url))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>u(()=>import(`./kotlin-nmx05b3f.js`),[],import.meta.url))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>u(()=>import(`./kusto-fawmdms4.js`),[],import.meta.url))},{id:`latex`,name:`LaTeX`,import:(()=>u(()=>import(`./latex-pafa03ft.js`),__vite__mapDeps([100,101,97,3]),import.meta.url))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>u(()=>import(`./lean-jom31nm3.js`),[],import.meta.url))},{id:`less`,name:`Less`,import:(()=>u(()=>import(`./less-mwvscr3d.js`),[],import.meta.url))},{id:`liquid`,name:`Liquid`,import:(()=>u(()=>import(`./liquid-hz5c2pov.js`),__vite__mapDeps([102,37,3,38,36,44]),import.meta.url))},{id:`llvm`,name:`LLVM IR`,import:(()=>u(()=>import(`./llvm-j5wmr3g9.js`),[],import.meta.url))},{id:`log`,name:`Log file`,import:(()=>u(()=>import(`./log-eur4gurm.js`),[],import.meta.url))},{id:`logo`,name:`Logo`,import:(()=>u(()=>import(`./logo-j3h8r0pu.js`),[],import.meta.url))},{id:`lua`,name:`Lua`,import:(()=>u(()=>import(`./lua-leyf8mlb.js`).then(e=>e.n),__vite__mapDeps([72,3,54]),import.meta.url))},{id:`luau`,name:`Luau`,import:(()=>u(()=>import(`./luau-im5d6q8k.js`),[],import.meta.url))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>u(()=>import(`./make-npl27xqy.js`),[],import.meta.url))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>u(()=>import(`./markdown-fibv6lrm.js`),[],import.meta.url))},{id:`marko`,name:`Marko`,import:(()=>u(()=>import(`./marko-cn1fzpdv.js`),__vite__mapDeps([103,38,3,40,46,104]),import.meta.url))},{id:`matlab`,name:`MATLAB`,import:(()=>u(()=>import(`./matlab-o6nvvbf2.js`),[],import.meta.url))},{id:`mdc`,name:`MDC`,import:(()=>u(()=>import(`./mdc-huhy88df.js`),__vite__mapDeps([105,50,36,3,37,38,73,75]),import.meta.url))},{id:`mdx`,name:`MDX`,import:(()=>u(()=>import(`./mdx-mmgeh26h.js`),[],import.meta.url))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>u(()=>import(`./mermaid-f9ad87lb.js`),[],import.meta.url))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>u(()=>import(`./mipsasm-etoqqos6.js`),[],import.meta.url))},{id:`mojo`,name:`Mojo`,import:(()=>u(()=>import(`./mojo-fyyk0b1z.js`),[],import.meta.url))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>u(()=>import(`./moonbit-je86hbgx.js`),[],import.meta.url))},{id:`move`,name:`Move`,import:(()=>u(()=>import(`./move-g7w7k042.js`),[],import.meta.url))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>u(()=>import(`./narrat-d1cszt6i.js`),[],import.meta.url))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>u(()=>import(`./nextflow-fpd3eqgm.js`),__vite__mapDeps([106,107]),import.meta.url))},{id:`nextflow-groovy`,name:`nextflow-groovy`,import:(()=>u(()=>import(`./nextflow-groovy-nc95p6pm.js`),[],import.meta.url))},{id:`nginx`,name:`Nginx`,import:(()=>u(()=>import(`./nginx-e7lvhsmn.js`),__vite__mapDeps([108,72,3,54]),import.meta.url))},{id:`nim`,name:`Nim`,import:(()=>u(()=>import(`./nim-dun5d8mk.js`),__vite__mapDeps([109,37,3,38,36,42,43,54,61,75]),import.meta.url))},{id:`nix`,name:`Nix`,import:(()=>u(()=>import(`./nix-sxazvl0w.js`),[],import.meta.url))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>u(()=>import(`./nushell-nbi9xmdg.js`),[],import.meta.url))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>u(()=>import(`./objective-c-oshe4ycx.js`),[],import.meta.url))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>u(()=>import(`./objective-cpp-go29ofq1.js`),[],import.meta.url))},{id:`ocaml`,name:`OCaml`,import:(()=>u(()=>import(`./ocaml-56kivtnr.js`),[],import.meta.url))},{id:`odin`,name:`Odin`,import:(()=>u(()=>import(`./odin-g772bhi5.js`),[],import.meta.url))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>u(()=>import(`./openscad-e9e9mfyg.js`),[],import.meta.url))},{id:`pascal`,name:`Pascal`,import:(()=>u(()=>import(`./pascal-dmg2rs6d.js`),[],import.meta.url))},{id:`perl`,name:`Perl`,import:(()=>u(()=>import(`./perl-bj3oqtet.js`),__vite__mapDeps([99,37,3,38,36,42,43,51]),import.meta.url))},{id:`php`,name:`PHP`,import:(()=>u(()=>import(`./php-buzp12r0.js`),__vite__mapDeps([110,37,3,38,36,42,43,44,51]),import.meta.url))},{id:`pkl`,name:`Pkl`,import:(()=>u(()=>import(`./pkl-co2grztk.js`),[],import.meta.url))},{id:`plsql`,name:`PL/SQL`,import:(()=>u(()=>import(`./plsql-l0i9f33n.js`),[],import.meta.url))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>u(()=>import(`./po-f3ga9osn.js`),[],import.meta.url))},{id:`polar`,name:`Polar`,import:(()=>u(()=>import(`./polar-ldicpe6g.js`),[],import.meta.url))},{id:`postcss`,name:`PostCSS`,import:(()=>u(()=>import(`./postcss-fgpvnt75.js`),[],import.meta.url))},{id:`powerquery`,name:`PowerQuery`,import:(()=>u(()=>import(`./powerquery-mflxo46x.js`),[],import.meta.url))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`],import:(()=>u(()=>import(`./powershell-oado4mxi.js`),[],import.meta.url))},{id:`prisma`,name:`Prisma`,import:(()=>u(()=>import(`./prisma-go1e7wq8.js`),[],import.meta.url))},{id:`prolog`,name:`Prolog`,import:(()=>u(()=>import(`./prolog-cbjal8aj.js`),[],import.meta.url))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>u(()=>import(`./proto-lrhov7xc.js`),[],import.meta.url))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>u(()=>import(`./pug-mjad7he9.js`),__vite__mapDeps([111,37,3,38,36]),import.meta.url))},{id:`puppet`,name:`Puppet`,import:(()=>u(()=>import(`./puppet-h22szrmn.js`),[],import.meta.url))},{id:`purescript`,name:`PureScript`,import:(()=>u(()=>import(`./purescript-dwpj7hdb.js`),[],import.meta.url))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>u(()=>import(`./python-b767fgue.js`),[],import.meta.url))},{id:`qml`,name:`QML`,import:(()=>u(()=>import(`./qml-d1gdp10s.js`),__vite__mapDeps([112,37,3]),import.meta.url))},{id:`qmldir`,name:`QML Directory`,import:(()=>u(()=>import(`./qmldir-lsawched.js`),[],import.meta.url))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>u(()=>import(`./qss-lyvmg4f4.js`),[],import.meta.url))},{id:`r`,name:`R`,import:(()=>u(()=>import(`./r-o3r9c7ao.js`).then(e=>e.n),__vite__mapDeps([97,3]),import.meta.url))},{id:`racket`,name:`Racket`,import:(()=>u(()=>import(`./racket-nbfqjw5h.js`),[],import.meta.url))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>u(()=>import(`./raku-hcy6uwm6.js`),[],import.meta.url))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>u(()=>import(`./razor-ilc585yr.js`),__vite__mapDeps([113,36,3,37,38,114]),import.meta.url))},{id:`reg`,name:`Windows Registry Script`,import:(()=>u(()=>import(`./reg-ivi9d1my.js`),[],import.meta.url))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>u(()=>import(`./regexp-mpjtcvwm.js`).then(e=>e.n),__vite__mapDeps([60,3]),import.meta.url))},{id:`rel`,name:`Rel`,import:(()=>u(()=>import(`./rel-gqpkg3ta.js`),[],import.meta.url))},{id:`riscv`,name:`RISC-V`,import:(()=>u(()=>import(`./riscv-j1f2yjp2.js`),[],import.meta.url))},{id:`ron`,name:`RON`,import:(()=>u(()=>import(`./ron-bjqasg78.js`),[],import.meta.url))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>u(()=>import(`./rosmsg-hv3wcot6.js`),[],import.meta.url))},{id:`rst`,name:`reStructuredText`,import:(()=>u(()=>import(`./rst-jrkwjdyi.js`),__vite__mapDeps([115,37,3,50,36,38,56,116,59,51,60,61,54,63,73,68,42,43,69,70,46,48,71,72]),import.meta.url))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>u(()=>import(`./ruby-n4tjcbpz.js`),__vite__mapDeps([68,37,3,38,36,42,43,51,54,59,60,61,63,69,70,46,48,71,72,73]),import.meta.url))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>u(()=>import(`./rust-jqduclx1.js`),[],import.meta.url))},{id:`sas`,name:`SAS`,import:(()=>u(()=>import(`./sas-hjo6y93k.js`),__vite__mapDeps([117,51,3]),import.meta.url))},{id:`sass`,name:`Sass`,import:(()=>u(()=>import(`./sass-m1yncbwu.js`),[],import.meta.url))},{id:`scala`,name:`Scala`,import:(()=>u(()=>import(`./scala-l9ahg4e9.js`),[],import.meta.url))},{id:`scheme`,name:`Scheme`,import:(()=>u(()=>import(`./scheme-mlodf39l.js`),[],import.meta.url))},{id:`scss`,name:`SCSS`,import:(()=>u(()=>import(`./scss-ncidjv48.js`).then(e=>e.n),__vite__mapDeps([40,3,38]),import.meta.url))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>u(()=>import(`./sdbl-bwg2t5pt.js`),[],import.meta.url))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>u(()=>import(`./shaderlab-be89ch6g.js`),__vite__mapDeps([118,119]),import.meta.url))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>u(()=>import(`./shellscript-m8whjpqd.js`).then(e=>e.n),__vite__mapDeps([63,3]),import.meta.url))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>u(()=>import(`./shellsession-i5bj6syz.js`),__vite__mapDeps([120,63,3]),import.meta.url))},{id:`smalltalk`,name:`Smalltalk`,import:(()=>u(()=>import(`./smalltalk-g9lpwisn.js`),[],import.meta.url))},{id:`solidity`,name:`Solidity`,import:(()=>u(()=>import(`./solidity-ih313ji4.js`),[],import.meta.url))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>u(()=>import(`./soy-hhh36ysq.js`),__vite__mapDeps([121,36,3,37,38]),import.meta.url))},{id:`sparql`,name:`SPARQL`,import:(()=>u(()=>import(`./sparql-pewjbauq.js`),__vite__mapDeps([122,123]),import.meta.url))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>u(()=>import(`./splunk-d8q89juf.js`),[],import.meta.url))},{id:`sql`,name:`SQL`,import:(()=>u(()=>import(`./sql-j21bzcl6.js`).then(e=>e.n),__vite__mapDeps([51,3]),import.meta.url))},{id:`ssh-config`,name:`SSH Config`,import:(()=>u(()=>import(`./ssh-config-fzxlymn8.js`),[],import.meta.url))},{id:`stata`,name:`Stata`,import:(()=>u(()=>import(`./stata-bbu2onh1.js`),__vite__mapDeps([124,51,3]),import.meta.url))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>u(()=>import(`./stylus-hifjg0ye.js`),[],import.meta.url))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>u(()=>import(`./surrealql-l5vczuco.js`),__vite__mapDeps([125,37,3]),import.meta.url))},{id:`svelte`,name:`Svelte`,import:(()=>u(()=>import(`./svelte-idn422g6.js`),__vite__mapDeps([126,37,3,38,46,47]),import.meta.url))},{id:`swift`,name:`Swift`,import:(()=>u(()=>import(`./swift-n11rc3v3.js`),[],import.meta.url))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>u(()=>import(`./system-verilog-l8k1po2l.js`),[],import.meta.url))},{id:`systemd`,name:`Systemd Units`,import:(()=>u(()=>import(`./systemd-d1zoxedb.js`),[],import.meta.url))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>u(()=>import(`./talonscript-j9gt5qb1.js`),[],import.meta.url))},{id:`tasl`,name:`Tasl`,import:(()=>u(()=>import(`./tasl-meer3lyk.js`),[],import.meta.url))},{id:`tcl`,name:`Tcl`,import:(()=>u(()=>import(`./tcl-jdc54rsg.js`),[],import.meta.url))},{id:`templ`,name:`Templ`,import:(()=>u(()=>import(`./templ-e22qou3c.js`),__vite__mapDeps([127,37,3,38,128]),import.meta.url))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>u(()=>import(`./terraform-oav3wzsy.js`),[],import.meta.url))},{id:`tex`,name:`TeX`,import:(()=>u(()=>import(`./tex-deqpc5ee.js`),__vite__mapDeps([101,97,3]),import.meta.url))},{id:`toml`,name:`TOML`,import:(()=>u(()=>import(`./toml-jj1ee1k1.js`),[],import.meta.url))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>u(()=>import(`./ts-tags-ctnibc27.js`),__vite__mapDeps([129,37,3,38,36,42,43,46,51,61,54]),import.meta.url))},{id:`tsv`,name:`TSV`,import:(()=>u(()=>import(`./tsv-cxbgj4wh.js`),[],import.meta.url))},{id:`tsx`,name:`TSX`,import:(()=>u(()=>import(`./tsx-i163n32g.js`).then(e=>e.n),__vite__mapDeps([48,3]),import.meta.url))},{id:`turtle`,name:`Turtle`,import:(()=>u(()=>import(`./turtle-g1kfgpwv.js`),[],import.meta.url))},{id:`twig`,name:`Twig`,import:(()=>u(()=>import(`./twig-x0fi7wm8.js`),__vite__mapDeps([130,37,3,38,40,56,68,36,42,43,51,54,59,60,61,63,69,70,46,48,71,72,73,110,44]),import.meta.url))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>u(()=>import(`./typescript-g18c34xz.js`).then(e=>e.n),__vite__mapDeps([46,3]),import.meta.url))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>u(()=>import(`./typespec-hokgy7ic.js`),[],import.meta.url))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>u(()=>import(`./typst-l6lt2vta.js`),[],import.meta.url))},{id:`v`,name:`V`,import:(()=>u(()=>import(`./v-lwnsi8rl.js`),[],import.meta.url))},{id:`vala`,name:`Vala`,import:(()=>u(()=>import(`./vala-db1h2kp7.js`),[],import.meta.url))},{id:`vb`,name:`Visual Basic`,aliases:[`cmd`],import:(()=>u(()=>import(`./vb-nrezymby.js`),[],import.meta.url))},{id:`verilog`,name:`Verilog`,import:(()=>u(()=>import(`./verilog-jworpiw4.js`),[],import.meta.url))},{id:`vhdl`,name:`VHDL`,import:(()=>u(()=>import(`./vhdl-gnn4vfnm.js`),[],import.meta.url))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>u(()=>import(`./viml-ogfqutxv.js`),[],import.meta.url))},{id:`vue`,name:`Vue`,import:(()=>u(()=>import(`./vue-mwu5l1bb.js`),__vite__mapDeps([131,37,3,38,36,44,46,50]),import.meta.url))},{id:`vue-html`,name:`Vue HTML`,import:(()=>u(()=>import(`./vue-html-nskj3du0.js`),__vite__mapDeps([132,37,3]),import.meta.url))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>u(()=>import(`./vue-vine-cqe77smq.js`),__vite__mapDeps([133,37,3,38,40,47,104,134]),import.meta.url))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>u(()=>import(`./vyper-jsmo764l.js`),[],import.meta.url))},{id:`wasm`,name:`WebAssembly`,import:(()=>u(()=>import(`./wasm-g1zrybde.js`),[],import.meta.url))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>u(()=>import(`./wenyan-lgcd7t1n.js`),[],import.meta.url))},{id:`wgsl`,name:`WGSL`,import:(()=>u(()=>import(`./wgsl-gotoh48n.js`),[],import.meta.url))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>u(()=>import(`./wikitext-j1379ez7.js`),[],import.meta.url))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>u(()=>import(`./wit-neu67rwu.js`),[],import.meta.url))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>u(()=>import(`./wolfram-mbb1p6oi.js`),[],import.meta.url))},{id:`xml`,name:`XML`,import:(()=>u(()=>import(`./xml-gau7gvrv.js`).then(e=>e.n),__vite__mapDeps([42,3,43]),import.meta.url))},{id:`xsl`,name:`XSL`,import:(()=>u(()=>import(`./xsl-ew09zq8b.js`),__vite__mapDeps([135,42,3,43]),import.meta.url))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>u(()=>import(`./yaml-ofnrxtvf.js`).then(e=>e.n),__vite__mapDeps([73,3]),import.meta.url))},{id:`zenscript`,name:`ZenScript`,import:(()=>u(()=>import(`./zenscript-ge1h0r83.js`),[],import.meta.url))},{id:`zig`,name:`Zig`,import:(()=>u(()=>import(`./zig-ik06evde.js`),[],import.meta.url))}],hz=Object.fromEntries(mz.map(e=>[e.id,e.import])),gz=Object.fromEntries(mz.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),_z={...hz,...gz},vz=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>u(()=>import(`./andromeeda-c2n0n86o.js`),[],import.meta.url))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>u(()=>import(`./aurora-x-h2hngdsl.js`),[],import.meta.url))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>u(()=>import(`./ayu-dark-nvvuggz9.js`),[],import.meta.url))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>u(()=>import(`./ayu-light-k5fxgplt.js`),[],import.meta.url))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>u(()=>import(`./ayu-mirage-gltrvhcx.js`),[],import.meta.url))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>u(()=>import(`./catppuccin-frappe-dj7qsd4s.js`),[],import.meta.url))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>u(()=>import(`./catppuccin-latte-oh2bx7qn.js`),[],import.meta.url))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>u(()=>import(`./catppuccin-macchiato-m3xyazph.js`),[],import.meta.url))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>u(()=>import(`./catppuccin-mocha-m3rjj89j.js`),[],import.meta.url))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>u(()=>import(`./dark-plus-kin19s9x.js`),[],import.meta.url))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>u(()=>import(`./dracula-eicfho73.js`),[],import.meta.url))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>u(()=>import(`./dracula-soft-doslejd2.js`),[],import.meta.url))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>u(()=>import(`./everforest-dark-cv4maom7.js`),[],import.meta.url))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>u(()=>import(`./everforest-light-njdw7fx6.js`),[],import.meta.url))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>u(()=>import(`./github-dark-ljlyim8s.js`),[],import.meta.url))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>u(()=>import(`./github-dark-default-m0qs6qki.js`),[],import.meta.url))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>u(()=>import(`./github-dark-dimmed-g0vz4qee.js`),[],import.meta.url))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>u(()=>import(`./github-dark-high-contrast-hugubo52.js`),[],import.meta.url))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>u(()=>import(`./github-light-jhyi45t4.js`),[],import.meta.url))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>u(()=>import(`./github-light-default-fgfak5mv.js`),[],import.meta.url))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>u(()=>import(`./github-light-high-contrast-hka6wb3r.js`),[],import.meta.url))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>u(()=>import(`./gruvbox-dark-hard-lgsj7y5r.js`),[],import.meta.url))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>u(()=>import(`./gruvbox-dark-medium-ezt86wrc.js`),[],import.meta.url))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>u(()=>import(`./gruvbox-dark-soft-1a3jfdlm.js`),[],import.meta.url))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>u(()=>import(`./gruvbox-light-hard-d82lddjc.js`),[],import.meta.url))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>u(()=>import(`./gruvbox-light-medium-d3ffitv3.js`),[],import.meta.url))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>u(()=>import(`./gruvbox-light-soft-e5gf7i2q.js`),[],import.meta.url))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>u(()=>import(`./horizon-h5nzrwlb.js`),[],import.meta.url))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`dark`,import:(()=>u(()=>import(`./horizon-bright-gn4aqinx.js`),[],import.meta.url))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>u(()=>import(`./houston-kifsbmbx.js`),[],import.meta.url))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>u(()=>import(`./kanagawa-dragon-i9mmmgud.js`),[],import.meta.url))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>u(()=>import(`./kanagawa-lotus-ev5oro17.js`),[],import.meta.url))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>u(()=>import(`./kanagawa-wave-i06560uw.js`),[],import.meta.url))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>u(()=>import(`./laserwave-goebpayr.js`),[],import.meta.url))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>u(()=>import(`./light-plus-mws1g85f.js`),[],import.meta.url))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>u(()=>import(`./material-theme-gdimc61s.js`),[],import.meta.url))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>u(()=>import(`./material-theme-darker-dhm8zmok.js`),[],import.meta.url))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>u(()=>import(`./material-theme-lighter-c1fszbb2.js`),[],import.meta.url))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>u(()=>import(`./material-theme-ocean-iakojpmy.js`),[],import.meta.url))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>u(()=>import(`./material-theme-palenight-hgxmykmi.js`),[],import.meta.url))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>u(()=>import(`./min-dark-e5sicuw2.js`),[],import.meta.url))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>u(()=>import(`./min-light-gst87fvf.js`),[],import.meta.url))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>u(()=>import(`./monokai-jl389a9o.js`),[],import.meta.url))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>u(()=>import(`./night-owl-nm3cgqfv.js`),[],import.meta.url))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>u(()=>import(`./night-owl-light-b2j1bc8t.js`),[],import.meta.url))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>u(()=>import(`./nord-jiiendyo.js`),[],import.meta.url))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>u(()=>import(`./one-dark-pro-ext74l87.js`),[],import.meta.url))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>u(()=>import(`./one-light-o5mlsn8i.js`),[],import.meta.url))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>u(()=>import(`./plastic-mm7c7uq7.js`),[],import.meta.url))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>u(()=>import(`./poimandres-mnwq5v4d.js`),[],import.meta.url))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>u(()=>import(`./red-if4jt303.js`),[],import.meta.url))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>u(()=>import(`./rose-pine-grpwpg67.js`),[],import.meta.url))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>u(()=>import(`./rose-pine-dawn-nlpzqzob.js`),[],import.meta.url))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>u(()=>import(`./rose-pine-moon-b9yyevxr.js`),[],import.meta.url))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>u(()=>import(`./slack-dark-ny9l0r7b.js`),[],import.meta.url))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>u(()=>import(`./slack-ochin-g98102hs.js`),[],import.meta.url))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>u(()=>import(`./snazzy-light-dlu9q2m5.js`),[],import.meta.url))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>u(()=>import(`./solarized-dark-mx1nd4sm.js`),[],import.meta.url))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>u(()=>import(`./solarized-light-mqzd33fz.js`),[],import.meta.url))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>u(()=>import(`./synthwave-84-clkt7319.js`),[],import.meta.url))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>u(()=>import(`./tokyo-night-cnyqlmc2.js`),[],import.meta.url))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>u(()=>import(`./vesper-o1vwtlg2.js`),[],import.meta.url))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>u(()=>import(`./vitesse-black-b5y62t71.js`),[],import.meta.url))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>u(()=>import(`./vitesse-dark-fj1ju380.js`),[],import.meta.url))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>u(()=>import(`./vitesse-light-bjycd3ha.js`),[],import.meta.url))}].map(e=>[e.id,e.import])),yz=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function bz(){return 2147483648}function xz(){return typeof performance<`u`?performance.now():Date.now()}var Sz=(e,t)=>e+(t-e%t)%t;async function Cz(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}function a(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)}function o(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}function s(e){let t=r.HEAPU8.length;e>>>=0;let n=bz();if(e>n)return!1;for(let r=1;r<=4;r*=2){let i=t*(1+.2/r);if(i=Math.min(i,e+100663296),o(Math.min(n,Sz(Math.max(e,i),65536))))return!0}return!1}let c=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function l(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&c)return c.decode(e.subarray(t,i));let a=``;for(;t<i;){let n=e[t++];if(!(n&128)){a+=String.fromCharCode(n);continue}let r=e[t++]&63;if((n&224)==192){a+=String.fromCharCode((n&31)<<6|r);continue}let i=e[t++]&63;if(n=(n&240)==224?(n&15)<<12|r<<6|i:(n&7)<<18|r<<12|i<<6|e[t++]&63,n<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|e&1023)}}return a}function u(e,t){return e?l(r.HEAPU8,e,t):``}let d={emscripten_get_now:xz,emscripten_memcpy_big:a,emscripten_resize_heap:s,fd_write:()=>0};async function f(){let n=await e({env:d,wasi_snapshot_preview1:d});t=n.memory,i(t.buffer),Object.assign(r,n),r.UTF8ToString=u}return await f(),r}var wz=Object.defineProperty,Tz=(e,t,n)=>t in e?wz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ez=(e,t,n)=>Tz(e,typeof t==`symbol`?t:t+``,n),Dz=null;function Oz(e){throw new yz(e.UTF8ToString(e.getLastOnigError()))}var kz=class e{constructor(t){Ez(this,`utf16Length`),Ez(this,`utf8Length`),Ez(this,`utf16Value`),Ez(this,`utf8Value`),Ez(this,`utf16OffsetToUtf8`),Ez(this,`utf8OffsetToUtf16`);let n=t.length,r=e._utf8ByteLength(t),i=r!==n,a=i?new Uint32Array(n+1):null;i&&(a[n]=r);let o=i?new Uint32Array(r+1):null;i&&(o[r]=n);let s=new Uint8Array(r),c=0;for(let e=0;e<n;e++){let r=t.charCodeAt(e),l=r,u=!1;if(r>=55296&&r<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(l=(r-55296<<10)+65536|n-56320,u=!0)}i&&(a[e]=c,u&&(a[e+1]=c),l<=127?o[c+0]=e:l<=2047?(o[c+0]=e,o[c+1]=e):l<=65535?(o[c+0]=e,o[c+1]=e,o[c+2]=e):(o[c+0]=e,o[c+1]=e,o[c+2]=e,o[c+3]=e)),l<=127?s[c++]=l:l<=2047?(s[c++]=192|(l&1984)>>>6,s[c++]=128|(l&63)>>>0):l<=65535?(s[c++]=224|(l&61440)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0):(s[c++]=240|(l&1835008)>>>18,s[c++]=128|(l&258048)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0),u&&e++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}t+=a<=127?1:a<=2047?2:a<=65535?3:4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}},Az=class e{constructor(t){if(Ez(this,`id`,++e.LAST_ID),Ez(this,`_onigBinding`),Ez(this,`content`),Ez(this,`utf16Length`),Ez(this,`utf8Length`),Ez(this,`utf16OffsetToUtf8`),Ez(this,`utf8OffsetToUtf16`),Ez(this,`ptr`),!Dz)throw new yz(`Must invoke loadWasm first.`);this._onigBinding=Dz,this.content=t;let n=new kz(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=Dz.omalloc(1e4),e._sharedPtrInUse=!0,Dz.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(Dz)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ez(Az,`LAST_ID`,0),Ez(Az,`_sharedPtr`,0),Ez(Az,`_sharedPtrInUse`,!1);var jz=Az,Mz=class{constructor(e){if(Ez(this,`_onigBinding`),Ez(this,`_ptr`),!Dz)throw new yz(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new kz(e[r]);t[r]=i.createString(Dz),n[r]=i.utf8Length}let r=Dz.omalloc(4*e.length);Dz.HEAPU32.set(t,r/4);let i=Dz.omalloc(4*e.length);Dz.HEAPU32.set(n,i/4);let a=Dz.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)Dz.ofree(t[n]);Dz.ofree(i),Dz.ofree(r),a===0&&Oz(Dz),this._onigBinding=Dz,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if(typeof n==`number`&&(r=n),typeof e==`string`){e=new jz(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(a===0)return null;let o=i.HEAPU32,s=a/4,c=o[s++],l=o[s++],u=[];for(let t=0;t<l;t++){let n=e.convertUtf8OffsetToUtf16(o[s++]),r=e.convertUtf8OffsetToUtf16(o[s++]);u[t]={start:n,end:r,length:r-n}}return{index:c,captureIndices:u}}};function Nz(e){return typeof e.instantiator==`function`}function Pz(e){return typeof e.default==`function`}function Fz(e){return e.data!==void 0}function Iz(e){return typeof Response<`u`&&e instanceof Response}function Lz(e){return typeof ArrayBuffer<`u`&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<`u`&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||typeof Uint32Array<`u`&&e instanceof Uint32Array}var Rz;function zz(e){if(Rz)return Rz;async function t(){Dz=await Cz(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),Nz(n)?n=await n.instantiator(t):Pz(n)?n=await n.default(t):(Fz(n)&&(n=n.data),Iz(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await Vz(n)(t):await Hz(n)(t):Lz(n)||n instanceof WebAssembly.Module?n=await Bz(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await Bz(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return Rz=t(),Rz}function Bz(e){return t=>WebAssembly.instantiate(e,t)}function Vz(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Hz(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function Uz(e){return e&&await zz(e),{createScanner(e){return new Mz(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new jz(e)}}}var Wz=dz({langs:_z,themes:vz,engine:()=>Uz(u(()=>import(`./wasm-gezzbmz0.js`),[],import.meta.url))}),{codeToHtml:Gz,codeToHast:Kz,codeToTokens:qz,codeToTokensBase:Jz,codeToTokensWithThemes:Yz,getSingletonHighlighter:Xz,getLastGrammarState:Zz}=pz(Wz,{guessEmbeddedLanguages:QL});function Qz(e){if([...e].length!==1)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function $z(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}var eB=new Set([`alnum`,`alpha`,`ascii`,`blank`,`cntrl`,`digit`,`graph`,`lower`,`print`,`punct`,`space`,`upper`,`word`,`xdigit`]),tB=String.raw;function nB(e,t){if(e==null)throw Error(t??`Value expected`);return e}var rB=tB`\[\^?`,iB=`c.? | C(?:-.?)?|${tB`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${tB`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${tB`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${tB`o\{[^\}]*\}?`}|${tB`\d{1,3}`}`,aB=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,oB=new RegExp(tB`
|
|
444
444
|
\\ (?:
|
|
445
445
|
${iB}
|
|
446
446
|
| [gk]<[^>]*>?
|
|
@@ -586,13 +586,13 @@ XID_Start XIDS`.split(/\s/).map(e=>[EV(e),e])),bH=new Map([[`s`,iH(383)],[iH(383
|
|
|
586
586
|
`,inConstruct:`mathFlowMeta`},{character:`$`,after:t?void 0:`\\$`,inConstruct:`phrasing`},{character:`$`,inConstruct:`mathFlowMeta`},{atBreak:!0,character:`$`,after:`\\$`}],handlers:{math:n,inlineMath:r}};function n(e,t,n,r){let i=e.value||``,a=n.createTracker(r),o=`$`.repeat(Math.max(sy(i,`$`)+1,2)),s=n.enter(`mathFlow`),c=a.move(o);if(e.meta){let t=n.enter(`mathFlowMeta`);c+=a.move(n.safe(e.meta,{after:`
|
|
587
587
|
`,before:c,encode:[`$`],...a.current()})),t()}return c+=a.move(`
|
|
588
588
|
`),i&&(c+=a.move(i+`
|
|
589
|
-
`)),c+=a.move(o),s(),c}function r(e,n,r){let i=e.value||``,a=1;for(t||a++;RegExp(`(^|[^$])`+`\\$`.repeat(a)+`([^$]|$)`).test(i);)a++;let o=`$`.repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=` `+i+` `);let s=-1;for(;++s<r.unsafe.length;){let e=r.unsafe[s];if(!e.atBreak)continue;let t=r.compilePattern(e),n;for(;n=t.exec(i);){let e=n.index;i.codePointAt(e)===10&&i.codePointAt(e-1)===13&&e--,i=i.slice(0,e)+` `+i.slice(n.index+1)}}return o+i+o}function i(){return`$`}}var EW={tokenize:OW,concrete:!0,name:`mathFlow`},DW={tokenize:kW,partial:!0};function OW(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){return e.enter(`mathFlow`),e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),c(t)}function c(t){return t===36?(e.consume(t),o++,c):o<2?n(t):(e.exit(`mathFlowFenceSequence`),lx(e,l,`whitespace`)(t))}function l(t){return t===null||rv(t)?d(t):(e.enter(`mathFlowFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===null||rv(t)?(e.exit(`chunkString`),e.exit(`mathFlowFenceMeta`),d(t)):t===36?n(t):(e.consume(t),u)}function d(n){return e.exit(`mathFlowFence`),r.interrupt?t(n):e.attempt(DW,f,g)(n)}function f(t){return e.attempt({tokenize:_,partial:!0},g,p)(t)}function p(t){return(a?lx(e,m,`linePrefix`,a+1):m)(t)}function m(t){return t===null?g(t):rv(t)?e.attempt(DW,f,g)(t):(e.enter(`mathFlowValue`),h(t))}function h(t){return t===null||rv(t)?(e.exit(`mathFlowValue`),m(t)):(e.consume(t),h)}function g(n){return e.exit(`mathFlow`),t(n)}function _(e,t,n){let i=0;return lx(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4);function a(t){return e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),s(t)}function s(t){return t===36?(i++,e.consume(t),s):i<o?n(t):(e.exit(`mathFlowFenceSequence`),lx(e,c,`whitespace`)(t))}function c(r){return r===null||rv(r)?(e.exit(`mathFlowFence`),t(r)):n(r)}}}function kW(e,t,n){let r=this;return i;function i(n){return n===null?t(n):(e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function AW(e){let t=(e||{}).singleDollarTextMath;return t??=!0,{tokenize:n,resolve:jW,previous:MW,name:`mathText`};function n(e,n,r){let i=0,a,o;return s;function s(t){return e.enter(`mathText`),e.enter(`mathTextSequence`),c(t)}function c(n){return n===36?(e.consume(n),i++,c):i<2&&!t?r(n):(e.exit(`mathTextSequence`),l(n))}function l(t){return t===null?r(t):t===36?(o=e.enter(`mathTextSequence`),a=0,d(t)):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),l):rv(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),l):(e.enter(`mathTextData`),u(t))}function u(t){return t===null||t===32||t===36||rv(t)?(e.exit(`mathTextData`),l(t)):(e.consume(t),u)}function d(t){return t===36?(e.consume(t),a++,d):a===i?(e.exit(`mathTextSequence`),e.exit(`mathText`),n(t)):(o.type=`mathTextData`,u(t))}}}function jW(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`mathTextData`){e[t][1].type=`mathTextPadding`,e[n][1].type=`mathTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`mathTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function MW(e){return e!==36||this.events[this.events.length-1][1].type===`characterEscape`}function NW(e){return{flow:{36:EW},text:{36:AW(e)}}}var PW={};function FW(e){let t=this,n=e||PW,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(NW(n)),a.push(wW()),o.push(TW(n))}function IW(e={}){return{name:`katex`,type:`math`,remarkPlugin:[FW,{singleDollarTextMath:e.singleDollarTextMath??!1}],rehypePlugin:[CW,{errorColor:e.errorColor??`var(--color-muted-foreground)`}],getStyles(){return`katex/dist/katex.min.css`}}}var LW=IW(),RW=`comm`,zW=`rule`,BW=`decl`,VW=`@import`,HW=`@namespace`,UW=`@keyframes`,WW=`@layer`,GW=Math.abs,KW=String.fromCharCode;function qW(e){return e.trim()}function JW(e,t,n){return e.replace(t,n)}function YW(e,t){return e.charCodeAt(t)|0}function XW(e,t,n){return e.slice(t,n)}function ZW(e){return e.length}function QW(e){return e.length}function $W(e,t){return t.push(e),e}var eG=1,tG=1,nG=0,rG=0,iG=0,aG=``;function oG(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:eG,column:tG,length:o,return:``,siblings:s}}function sG(){return iG}function cG(){return iG=rG>0?YW(aG,--rG):0,tG--,iG===10&&(tG=1,eG--),iG}function lG(){return iG=rG<nG?YW(aG,rG++):0,tG++,iG===10&&(tG=1,eG++),iG}function uG(){return YW(aG,rG)}function dG(){return rG}function fG(e,t){return XW(aG,e,t)}function pG(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mG(e){return eG=tG=1,nG=ZW(aG=e),rG=0,[]}function hG(e){return aG=``,e}function gG(e){return qW(fG(rG-1,yG(e===91?e+2:e===40?e+1:e)))}function _G(e){for(;(iG=uG())&&iG<33;)lG();return pG(e)>2||pG(iG)>3?``:` `}function vG(e,t){for(;--t&&lG()&&!(iG<48||iG>102||iG>57&&iG<65||iG>70&&iG<97););return fG(e,dG()+(t<6&&uG()==32&&lG()==32))}function yG(e){for(;lG();)switch(iG){case e:return rG;case 34:case 39:e!==34&&e!==39&&yG(iG);break;case 40:e===41&&yG(e);break;case 92:lG()}return rG}function bG(e,t){for(;lG()&&e+iG!==57&&(e+iG!==84||uG()!==47););return`/*`+fG(t,rG-1)+`*`+KW(e===47?e:lG())}function xG(e){for(;!pG(uG());)lG();return fG(e,rG)}function SG(e){return hG(CG(``,null,null,null,[``],e=mG(e),0,[0],e))}function CG(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,ee=i,x=a,S=r,C=b;g;)switch(m=y,y=lG()){case 40:m!=108&&YW(C,d-1)==58?(v++,C+=`(`):C+=gG(y);break;case 41:v--,C+=`)`;break;case 34:case 39:case 91:C+=gG(y);break;case 9:case 10:case 13:case 32:if(v>0){C+=KW(y);break}C+=_G(m);break;case 92:C+=vG(dG()-1,7);continue;case 47:switch(uG()){case 42:case 47:$W(TG(bG(lG(),dG()),t,n,c),c),(pG(m||1)==5||pG(uG()||1)==5)&&ZW(C)&&XW(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=ZW(C)*_;case 125*h:case 59:case 0:if(v>0&&y){C+=KW(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(C=JW(C,/\f/g,``)),p>0&&(ZW(C)-d||h===0)&&$W(p>32?EG(C+`;`,r,n,d-1,c):EG(JW(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if($W(S=wG(C,t,n,l,u,i,s,b,ee=[],x=[],d,a),a),y===123){if(u===0)CG(C,t,S,S,ee,a,d,s,x);else{switch(f){case 99:if(YW(C,3)===110)break;case 108:if(YW(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?CG(e,S,S,r&&$W(wG(e,S,S,0,0,i,s,b,i,ee=[],d,x),x),i,x,d,s,r?ee:x):CG(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,b=C=``,d=o;break;case 58:d=1+ZW(C),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&cG()==125)continue}switch(C+=KW(y),y*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(ZW(C)-1)*_,_=1;break;case 64:uG()===45&&(C+=gG(lG())),f=uG(),u=d=ZW(b=C+=xG(dG())),y++;break;case 45:m===45&&ZW(C)==2&&(h=0)}}return a}function wG(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=QW(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=XW(e,f+1,f=GW(g=o[h])),b=e;v<m;++v)(b=qW(g>0?p[v]+` `+y:JW(y,/&\f/g,p[v])))&&(c[_++]=b);return oG(e,t,n,i===0?zW:s,c,l,u,d)}function TG(e,t,n,r){return oG(e,t,n,RW,KW(sG()),XW(e,2,-2),0,r)}function EG(e,t,n,r,i){return oG(e,t,n,BW,XW(e,0,r),XW(e,r+1,-1),r,i)}function DG(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function OG(e,t,n,r){switch(e.type){case WW:if(e.children.length)break;case VW:case HW:case BW:return e.return=e.return||e.value;case RW:return``;case UW:return e.return=e.value+`{`+DG(e.children,r)+`}`;case zW:if(!ZW(e.value=e.props.join(`,`)))return``}return ZW(n=DG(e.children,r))?e.return=e.value+`{`+n+`}`:``}function kG(e){var t=QW(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var AG=`c4`,jG={id:AG,detector:u(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./c4Diagram-7LVT6UL2-mi73akzk.js`);return{diagram:e}},__vite__mapDeps([138,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,139]),import.meta.url);return{id:AG,diagram:e}},`loader`)},MG=`flowchart`,NG={id:MG,detector:u((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-lcz0kx14.js`);return{diagram:e}},__vite__mapDeps([140,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,143,144,145]),import.meta.url);return{id:MG,diagram:e}},`loader`)},PG=`flowchart-v2`,FG={id:PG,detector:u((e,t)=>t?.flowchart?.defaultRenderer!==`dagre-d3`&&(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-lcz0kx14.js`);return{diagram:e}},__vite__mapDeps([140,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,143,144,145]),import.meta.url);return{id:PG,diagram:e}},`loader`)},IG=`swimlane`,LG={id:IG,detector:u(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-VR7AAH4N-ogmanni0.js`);return{diagram:e}},__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,143,144,145]),import.meta.url);return{id:IG,diagram:e}},`loader`)},RG=`er`,zG={id:RG,detector:u(e=>/^\s*erDiagram/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./erDiagram-RLTQ6QDP-fa41ib83.js`);return{diagram:e}},__vite__mapDeps([147,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,144,17,18,19,20,21,22,23,24,25,26,27,28,141,142,31]),import.meta.url);return{id:RG,diagram:e}},`loader`)},BG=`gitGraph`,VG={id:BG,detector:u(e=>/^\s*gitGraph/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-WWUBYQGX-cz7cgr6w.js`);return{diagram:e}},__vite__mapDeps([148,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151,152]),import.meta.url);return{id:BG,diagram:e}},`loader`)},HG=`gantt`,UG={id:HG,detector:u(e=>/^\s*gantt/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./ganttDiagram-EL5Y4UJY-n7zq01qu.js`);return{diagram:e}},__vite__mapDeps([153,3,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,154,155,156,18,17]),import.meta.url);return{id:HG,diagram:e}},`loader`)},WG=`info`,GG={id:WG,detector:u(e=>/^\s*info/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./infoDiagram-27XIBGKW-ccxigcpf.js`);return{diagram:e}},__vite__mapDeps([157,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4]),import.meta.url);return{id:WG,diagram:e}},`loader`)},KG=`pie`,qG={id:KG,detector:u(e=>/^\s*pie/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./pieDiagram-E7YTZNPT-b4is36bq.js`);return{diagram:e}},__vite__mapDeps([158,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,159,156,27,18,160,28,17,151]),import.meta.url);return{id:KG,diagram:e}},`loader`)},JG=`quadrantChart`,YG={id:JG,detector:u(e=>/^\s*quadrantChart/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./quadrantDiagram-AXDQQJYC-m8vt2788.js`);return{diagram:e}},__vite__mapDeps([161,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,154,155,156]),import.meta.url);return{id:JG,diagram:e}},`loader`)},XG=`xychart`,ZG={id:XG,detector:u(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./xychartDiagram-S5SC5T6Z-mrhms5um.js`);return{diagram:e}},__vite__mapDeps([162,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,154,155,156,159,17,18,26,27,28,19,20]),import.meta.url);return{id:XG,diagram:e}},`loader`)},QG=`requirement`,$G={id:QG,detector:u(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./requirementDiagram-BXWQKSXE-ovyq38kv.js`);return{diagram:e}},__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,141,142,31]),import.meta.url);return{id:QG,diagram:e}},`loader`)},eK=`sequence`,tK={id:eK,detector:u(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./sequenceDiagram-WJ2MYXX4-ovckdzf2.js`);return{diagram:e}},__vite__mapDeps([164,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,17,139,152]),import.meta.url);return{id:eK,diagram:e}},`loader`)},nK=`class`,rK={id:nK,detector:u((e,t)=>t?.class?.defaultRenderer!==`dagre-wrapper`&&/^\s*classDiagram/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./classDiagram-ZZMXUADV-o8r05k0n.js`);return{diagram:e}},__vite__mapDeps([165,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,166,145]),import.meta.url);return{id:nK,diagram:e}},`loader`)},iK=`classDiagram`,aK={id:iK,detector:u((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./classDiagram-v2-VYDZK3BY-o8r05k0n.js`);return{diagram:e}},__vite__mapDeps([167,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,166,145]),import.meta.url);return{id:iK,diagram:e}},`loader`)},oK=`state`,sK={id:oK,detector:u((e,t)=>t?.state?.defaultRenderer!==`dagre-wrapper`&&/^\s*stateDiagram/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./stateDiagram-D77RDMKH-fcrexkkv.js`);return{diagram:e}},__vite__mapDeps([168,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,26,27,28,19,20,21,22,23,24,25,29,30,139,141,142,31,169]),import.meta.url);return{id:oK,diagram:e}},`loader`)},cK=`stateDiagram`,lK={id:cK,detector:u((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-MP3YSRHH-lcfraua2.js`);return{diagram:e}},__vite__mapDeps([170,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,169]),import.meta.url);return{id:cK,diagram:e}},`loader`)},uK=`journey`,dK={id:uK,detector:u(e=>/^\s*journey/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./journeyDiagram-3NMN7TZE-ivsmb26o.js`);return{diagram:e}},__vite__mapDeps([171,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,160,27,18,145,139]),import.meta.url);return{id:uK,diagram:e}},`loader`)},fK={draw:u((e,t,n)=>{f.debug(`rendering svg for syntax error
|
|
590
|
-
`);let r=bc(t),i=r.append(`g`);r.attr(`viewBox`,`0 0 2412 512`),ie(r,100,512,!0),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${n}`)},`draw`)},pK=fK,mK={db:{},renderer:fK,parser:{parse:u(()=>{},`parse`)}},hK=`flowchart-elk`,gK={id:hK,detector:u((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-lcz0kx14.js`);return{diagram:e}},__vite__mapDeps([140,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,139,141,142,31,143,144,145]),import.meta.url);return{id:hK,diagram:e}},`loader`)},_K=`timeline`,vK={id:_K,detector:u(e=>/^\s*timeline/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./timeline-definition-24CTP7MA-gp1hvz9f.js`);return{diagram:e}},__vite__mapDeps([172,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,160,27,18,17]),import.meta.url);return{id:_K,diagram:e}},`loader`)},yK=`mindmap`,bK={id:yK,detector:u(e=>/^\s*mindmap/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./mindmap-definition-YA3MSWOX-l68gg5h7.js`);return{diagram:e}},__vite__mapDeps([173,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,141,142,31]),import.meta.url);return{id:yK,diagram:e}},`loader`)},xK=`kanban`,SK={id:xK,detector:u(e=>/^\s*kanban/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./kanban-definition-UXKFOSKX-h6n2awt0.js`);return{diagram:e}},__vite__mapDeps([174,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,145,21,22,23,24,31]),import.meta.url);return{id:xK,diagram:e}},`loader`)},CK=`sankey`,wK={id:CK,detector:u(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./sankeyDiagram-P5KCCOFB-ou7lznor.js`);return{diagram:e}},__vite__mapDeps([175,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,159,156]),import.meta.url);return{id:CK,diagram:e}},`loader`)},TK=`packet`,EK={id:TK,detector:u(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./diagram-Z3DM3KII-m8xefqa7.js`);return{diagram:e}},__vite__mapDeps([176,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151]),import.meta.url);return{id:TK,diagram:e}},`loader`)},DK=`radar`,OK={id:DK,detector:u(e=>/^\s*radar-beta/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./diagram-UQ7AKVKN-zbipyz57.js`);return{diagram:e}},__vite__mapDeps([177,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151]),import.meta.url);return{id:DK,diagram:e}},`loader`)},kK=`block`,AK={id:kK,detector:u(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./blockDiagram-I7D4REHJ-n79st4pj.js`);return{diagram:e}},__vite__mapDeps([178,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,144,17,18,19,20,145,21,22,23,24,25,26,27,28,29]),import.meta.url);return{id:kK,diagram:e}},`loader`)},jK=`treeView`,MK={id:jK,detector:u(e=>/^\s*treeView-beta/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./diagram-S7CK7UJ4-pa3ij6q7.js`);return{diagram:e}},__vite__mapDeps([179,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151,19,152]),import.meta.url);return{id:jK,diagram:e}},`loader`)},NK=`architecture`,PK={id:NK,detector:u(e=>/^\s*architecture/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./architectureDiagram-5GKGNRK7-ceaepnyr.js`);return{diagram:e}},__vite__mapDeps([180,3,149,5,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151,19,20,34]),import.meta.url);return{id:NK,diagram:e}},`loader`)},FK=`eventmodeling`,IK={id:FK,detector:u(e=>/^\s*eventmodeling/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./diagram-VSXAHHWV-d1kbpzgf.js`);return{diagram:e}},__vite__mapDeps([181,150,149,5,3,6,7,8,9,10,11,12,13,14,15,16,1,2,4,17,18,151]),import.meta.url);return{id:FK,diagram:e}},`loader`)},LK=`ishikawa`,RK={id:LK,detector:u(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-5VMMS53U-le0z9vtc.js`);return{diagram:e}},__vite__mapDeps([182,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,23]),import.meta.url);return{id:LK,diagram:e}},`loader`)},zK=`venn`,BK={id:zK,detector:u(e=>/^\s*venn-beta/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./vennDiagram-4TSXK5OY-fzchbzaj.js`);return{diagram:e}},__vite__mapDeps([183,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,23]),import.meta.url);return{id:zK,diagram:e}},`loader`)},VK=`treemap`,HK={id:VK,detector:u(e=>/^\s*treemap/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./diagram-VX7I27RA-i3ty14xl.js`);return{diagram:e}},__vite__mapDeps([184,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,159,156,155,17,18,151,21,142]),import.meta.url);return{id:VK,diagram:e}},`loader`)},UK=`wardley`,WK={id:UK,detector:u(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./wardleyDiagram-VM6X3IG4-odg6ct1z.js`);return{diagram:e}},__vite__mapDeps([185,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151]),import.meta.url);return{id:UK,diagram:e}},`loader`)},GK=`cynefin`,KK={id:GK,detector:u(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./cynefinDiagram-5FMLGOSQ-lxhsqq4a.js`);return{diagram:e}},__vite__mapDeps([186,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,17,18,151]),import.meta.url);return{id:GK,diagram:e}},`loader`)},qK=`railroad`,JK={id:qK,detector:u(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./railroadDiagram-O6MQD6OU-o8lldfzv.js`);return{diagram:e}},__vite__mapDeps([187,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,188,151]),import.meta.url);return{id:qK,diagram:e}},`loader`)},YK=`railroadEbnf`,XK={id:YK,detector:u(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./ebnfDiagram-PWID7BFC-nz7wj05l.js`);return{diagram:e}},__vite__mapDeps([189,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,188,151]),import.meta.url);return{id:YK,diagram:e}},`loader`)},ZK=`railroadAbnf`,QK={id:ZK,detector:u(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./abnfDiagram-VCTEODGH-oity9y4o.js`);return{diagram:e}},__vite__mapDeps([190,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,188,151]),import.meta.url);return{id:ZK,diagram:e}},`loader`)},$K=`railroadPeg`,eq={id:$K,detector:u(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:u(async()=>{let{diagram:e}=await l(async()=>{let{diagram:e}=await import(`./pegDiagram-XKGWAZYB-e52vs23u.js`);return{diagram:e}},__vite__mapDeps([191,149,5,3,6,7,8,9,10,11,12,13,14,15,16,150,1,2,4,188,151]),import.meta.url);return{id:$K,diagram:e}},`loader`)},tq=!1,nq=u(()=>{tq||(tq=!0,y(`error`,mK,e=>e.toLowerCase().trim()===`error`),y(`---`,{db:{clear:u(()=>{},`clear`)},styles:{},renderer:{draw:u(()=>{},`draw`)},parser:{parse:u(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:u(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),b(gK,bK,PK),b(jG,SK,aK,rK,zG,UG,GG,qG,$G,tK,LG,FG,NG,vK,VG,lK,sK,dK,YG,wK,EK,ZG,AK,IK,MK,OK,RK,HK,JK,XK,QK,eq,BK,WK,KK))},`addDiagrams`),rq=u(async()=>{f.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(se).map(async([e,{detector:t,loader:n}])=>{if(n)try{x(e)}catch{try{let{diagram:e,id:r}=await n();y(r,e,t)}catch(t){throw f.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete se[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){f.error(`Failed to load ${e.length} external diagrams`);for(let t of e)f.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),iq=`graphics-document document`;function aq(e,t){e.attr(`role`,iq),t!==``&&e.attr(`aria-roledescription`,t)}u(aq,`setA11yDiagramInfo`);function oq(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}u(oq,`addSVGa11yTitleDescription`);var sq=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{u(this,`Diagram`)}static async fromText(t,n={}){let r=re(),i=le(t,r);t=Se(t)+`
|
|
591
|
-
`;try{
|
|
589
|
+
`)),c+=a.move(o),s(),c}function r(e,n,r){let i=e.value||``,a=1;for(t||a++;RegExp(`(^|[^$])`+`\\$`.repeat(a)+`([^$]|$)`).test(i);)a++;let o=`$`.repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=` `+i+` `);let s=-1;for(;++s<r.unsafe.length;){let e=r.unsafe[s];if(!e.atBreak)continue;let t=r.compilePattern(e),n;for(;n=t.exec(i);){let e=n.index;i.codePointAt(e)===10&&i.codePointAt(e-1)===13&&e--,i=i.slice(0,e)+` `+i.slice(n.index+1)}}return o+i+o}function i(){return`$`}}var EW={tokenize:OW,concrete:!0,name:`mathFlow`},DW={tokenize:kW,partial:!0};function OW(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){return e.enter(`mathFlow`),e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),c(t)}function c(t){return t===36?(e.consume(t),o++,c):o<2?n(t):(e.exit(`mathFlowFenceSequence`),lx(e,l,`whitespace`)(t))}function l(t){return t===null||rv(t)?d(t):(e.enter(`mathFlowFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===null||rv(t)?(e.exit(`chunkString`),e.exit(`mathFlowFenceMeta`),d(t)):t===36?n(t):(e.consume(t),u)}function d(n){return e.exit(`mathFlowFence`),r.interrupt?t(n):e.attempt(DW,f,g)(n)}function f(t){return e.attempt({tokenize:_,partial:!0},g,p)(t)}function p(t){return(a?lx(e,m,`linePrefix`,a+1):m)(t)}function m(t){return t===null?g(t):rv(t)?e.attempt(DW,f,g)(t):(e.enter(`mathFlowValue`),h(t))}function h(t){return t===null||rv(t)?(e.exit(`mathFlowValue`),m(t)):(e.consume(t),h)}function g(n){return e.exit(`mathFlow`),t(n)}function _(e,t,n){let i=0;return lx(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4);function a(t){return e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),s(t)}function s(t){return t===36?(i++,e.consume(t),s):i<o?n(t):(e.exit(`mathFlowFenceSequence`),lx(e,c,`whitespace`)(t))}function c(r){return r===null||rv(r)?(e.exit(`mathFlowFence`),t(r)):n(r)}}}function kW(e,t,n){let r=this;return i;function i(n){return n===null?t(n):(e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function AW(e){let t=(e||{}).singleDollarTextMath;return t??=!0,{tokenize:n,resolve:jW,previous:MW,name:`mathText`};function n(e,n,r){let i=0,a,o;return s;function s(t){return e.enter(`mathText`),e.enter(`mathTextSequence`),c(t)}function c(n){return n===36?(e.consume(n),i++,c):i<2&&!t?r(n):(e.exit(`mathTextSequence`),l(n))}function l(t){return t===null?r(t):t===36?(o=e.enter(`mathTextSequence`),a=0,d(t)):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),l):rv(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),l):(e.enter(`mathTextData`),u(t))}function u(t){return t===null||t===32||t===36||rv(t)?(e.exit(`mathTextData`),l(t)):(e.consume(t),u)}function d(t){return t===36?(e.consume(t),a++,d):a===i?(e.exit(`mathTextSequence`),e.exit(`mathText`),n(t)):(o.type=`mathTextData`,u(t))}}}function jW(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`mathTextData`){e[t][1].type=`mathTextPadding`,e[n][1].type=`mathTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`mathTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function MW(e){return e!==36||this.events[this.events.length-1][1].type===`characterEscape`}function NW(e){return{flow:{36:EW},text:{36:AW(e)}}}var PW={};function FW(e){let t=this,n=e||PW,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(NW(n)),a.push(wW()),o.push(TW(n))}function IW(e={}){return{name:`katex`,type:`math`,remarkPlugin:[FW,{singleDollarTextMath:e.singleDollarTextMath??!1}],rehypePlugin:[CW,{errorColor:e.errorColor??`var(--color-muted-foreground)`}],getStyles(){return`katex/dist/katex.min.css`}}}var LW=IW(),RW=`comm`,zW=`rule`,BW=`decl`,VW=`@import`,HW=`@namespace`,UW=`@keyframes`,WW=`@layer`,GW=Math.abs,KW=String.fromCharCode;function qW(e){return e.trim()}function JW(e,t,n){return e.replace(t,n)}function YW(e,t){return e.charCodeAt(t)|0}function XW(e,t,n){return e.slice(t,n)}function ZW(e){return e.length}function QW(e){return e.length}function $W(e,t){return t.push(e),e}var eG=1,tG=1,nG=0,rG=0,iG=0,aG=``;function oG(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:eG,column:tG,length:o,return:``,siblings:s}}function sG(){return iG}function cG(){return iG=rG>0?YW(aG,--rG):0,tG--,iG===10&&(tG=1,eG--),iG}function lG(){return iG=rG<nG?YW(aG,rG++):0,tG++,iG===10&&(tG=1,eG++),iG}function uG(){return YW(aG,rG)}function dG(){return rG}function fG(e,t){return XW(aG,e,t)}function pG(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mG(e){return eG=tG=1,nG=ZW(aG=e),rG=0,[]}function hG(e){return aG=``,e}function gG(e){return qW(fG(rG-1,yG(e===91?e+2:e===40?e+1:e)))}function _G(e){for(;(iG=uG())&&iG<33;)lG();return pG(e)>2||pG(iG)>3?``:` `}function vG(e,t){for(;--t&&lG()&&!(iG<48||iG>102||iG>57&&iG<65||iG>70&&iG<97););return fG(e,dG()+(t<6&&uG()==32&&lG()==32))}function yG(e){for(;lG();)switch(iG){case e:return rG;case 34:case 39:e!==34&&e!==39&&yG(iG);break;case 40:e===41&&yG(e);break;case 92:lG()}return rG}function bG(e,t){for(;lG()&&e+iG!==57&&(e+iG!==84||uG()!==47););return`/*`+fG(t,rG-1)+`*`+KW(e===47?e:lG())}function xG(e){for(;!pG(uG());)lG();return fG(e,rG)}function SG(e){return hG(CG(``,null,null,null,[``],e=mG(e),0,[0],e))}function CG(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,ee=i,x=a,S=r,C=b;g;)switch(m=y,y=lG()){case 40:m!=108&&YW(C,d-1)==58?(v++,C+=`(`):C+=gG(y);break;case 41:v--,C+=`)`;break;case 34:case 39:case 91:C+=gG(y);break;case 9:case 10:case 13:case 32:if(v>0){C+=KW(y);break}C+=_G(m);break;case 92:C+=vG(dG()-1,7);continue;case 47:switch(uG()){case 42:case 47:$W(TG(bG(lG(),dG()),t,n,c),c),(pG(m||1)==5||pG(uG()||1)==5)&&ZW(C)&&XW(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=ZW(C)*_;case 125*h:case 59:case 0:if(v>0&&y){C+=KW(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(C=JW(C,/\f/g,``)),p>0&&(ZW(C)-d||h===0)&&$W(p>32?EG(C+`;`,r,n,d-1,c):EG(JW(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if($W(S=wG(C,t,n,l,u,i,s,b,ee=[],x=[],d,a),a),y===123){if(u===0)CG(C,t,S,S,ee,a,d,s,x);else{switch(f){case 99:if(YW(C,3)===110)break;case 108:if(YW(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?CG(e,S,S,r&&$W(wG(e,S,S,0,0,i,s,b,i,ee=[],d,x),x),i,x,d,s,r?ee:x):CG(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,b=C=``,d=o;break;case 58:d=1+ZW(C),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&cG()==125)continue}switch(C+=KW(y),y*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(ZW(C)-1)*_,_=1;break;case 64:uG()===45&&(C+=gG(lG())),f=uG(),u=d=ZW(b=C+=xG(dG())),y++;break;case 45:m===45&&ZW(C)==2&&(h=0)}}return a}function wG(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=QW(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=XW(e,f+1,f=GW(g=o[h])),b=e;v<m;++v)(b=qW(g>0?p[v]+` `+y:JW(y,/&\f/g,p[v])))&&(c[_++]=b);return oG(e,t,n,i===0?zW:s,c,l,u,d)}function TG(e,t,n,r){return oG(e,t,n,RW,KW(sG()),XW(e,2,-2),0,r)}function EG(e,t,n,r,i){return oG(e,t,n,BW,XW(e,0,r),XW(e,r+1,-1),r,i)}function DG(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function OG(e,t,n,r){switch(e.type){case WW:if(e.children.length)break;case VW:case HW:case BW:return e.return=e.return||e.value;case RW:return``;case UW:return e.return=e.value+`{`+DG(e.children,r)+`}`;case zW:if(!ZW(e.value=e.props.join(`,`)))return``}return ZW(n=DG(e.children,r))?e.return=e.value+`{`+n+`}`:``}function kG(e){var t=QW(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var AG=`c4`,jG={id:AG,detector:d(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./c4Diagram-7LVT6UL2-f3fb8w6z.js`);return{diagram:e}},__vite__mapDeps([136,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,137]),import.meta.url);return{id:AG,diagram:e}},`loader`)},MG=`flowchart`,NG={id:MG,detector:d((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-bfi3moqa.js`);return{diagram:e}},__vite__mapDeps([138,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,141,142,143]),import.meta.url);return{id:MG,diagram:e}},`loader`)},PG=`flowchart-v2`,FG={id:PG,detector:d((e,t)=>t?.flowchart?.defaultRenderer!==`dagre-d3`&&(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-bfi3moqa.js`);return{diagram:e}},__vite__mapDeps([138,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,141,142,143]),import.meta.url);return{id:PG,diagram:e}},`loader`)},IG=`swimlane`,LG={id:IG,detector:d(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-VR7AAH4N-d1h97oyg.js`);return{diagram:e}},__vite__mapDeps([144,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,141,142,143]),import.meta.url);return{id:IG,diagram:e}},`loader`)},RG=`er`,zG={id:RG,detector:d(e=>/^\s*erDiagram/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./erDiagram-RLTQ6QDP-fo2ckbe6.js`);return{diagram:e}},__vite__mapDeps([145,1,2,3,4,5,6,7,8,9,10,11,12,13,14,142,15,16,17,18,19,20,21,22,23,24,25,26,139,140,29]),import.meta.url);return{id:RG,diagram:e}},`loader`)},BG=`gitGraph`,VG={id:BG,detector:d(e=>/^\s*gitGraph/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-WWUBYQGX-lqhdp8f0.js`);return{diagram:e}},__vite__mapDeps([146,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149,150]),import.meta.url);return{id:BG,diagram:e}},`loader`)},HG=`gantt`,UG={id:HG,detector:d(e=>/^\s*gantt/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./ganttDiagram-EL5Y4UJY-nzqz6x9g.js`);return{diagram:e}},__vite__mapDeps([151,3,1,2,4,5,6,7,8,9,10,11,12,13,14,152,153,154,16,15]),import.meta.url);return{id:HG,diagram:e}},`loader`)},WG=`info`,GG={id:WG,detector:d(e=>/^\s*info/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./infoDiagram-27XIBGKW-m8t8g6w1.js`);return{diagram:e}},__vite__mapDeps([155,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4]),import.meta.url);return{id:WG,diagram:e}},`loader`)},KG=`pie`,qG={id:KG,detector:d(e=>/^\s*pie/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./pieDiagram-E7YTZNPT-o7y8ftio.js`);return{diagram:e}},__vite__mapDeps([156,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,157,154,25,16,158,26,15,149]),import.meta.url);return{id:KG,diagram:e}},`loader`)},JG=`quadrantChart`,YG={id:JG,detector:d(e=>/^\s*quadrantChart/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./quadrantDiagram-AXDQQJYC-iqiwia1t.js`);return{diagram:e}},__vite__mapDeps([159,1,2,3,4,5,6,7,8,9,10,11,12,13,14,152,153,154]),import.meta.url);return{id:JG,diagram:e}},`loader`)},XG=`xychart`,ZG={id:XG,detector:d(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./xychartDiagram-S5SC5T6Z-paa2n8y0.js`);return{diagram:e}},__vite__mapDeps([160,1,2,3,4,5,6,7,8,9,10,11,12,13,14,152,153,154,157,15,16,24,25,26,17,18]),import.meta.url);return{id:XG,diagram:e}},`loader`)},QG=`requirement`,$G={id:QG,detector:d(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./requirementDiagram-BXWQKSXE-bdvif194.js`);return{diagram:e}},__vite__mapDeps([161,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,139,140,29]),import.meta.url);return{id:QG,diagram:e}},`loader`)},eK=`sequence`,tK={id:eK,detector:d(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./sequenceDiagram-WJ2MYXX4-iv95mb1z.js`);return{diagram:e}},__vite__mapDeps([162,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,15,137,150]),import.meta.url);return{id:eK,diagram:e}},`loader`)},nK=`class`,rK={id:nK,detector:d((e,t)=>t?.class?.defaultRenderer!==`dagre-wrapper`&&/^\s*classDiagram/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./classDiagram-ZZMXUADV-ko09sguk.js`);return{diagram:e}},__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,164,143]),import.meta.url);return{id:nK,diagram:e}},`loader`)},iK=`classDiagram`,aK={id:iK,detector:d((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./classDiagram-v2-VYDZK3BY-ko09sguk.js`);return{diagram:e}},__vite__mapDeps([165,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,164,143]),import.meta.url);return{id:iK,diagram:e}},`loader`)},oK=`state`,sK={id:oK,detector:d((e,t)=>t?.state?.defaultRenderer!==`dagre-wrapper`&&/^\s*stateDiagram/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./stateDiagram-D77RDMKH-k417ixmf.js`);return{diagram:e}},__vite__mapDeps([166,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,24,25,26,17,18,19,20,21,22,23,27,28,137,139,140,29,167]),import.meta.url);return{id:oK,diagram:e}},`loader`)},cK=`stateDiagram`,lK={id:cK,detector:d((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-MP3YSRHH-hwn4apct.js`);return{diagram:e}},__vite__mapDeps([168,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,167]),import.meta.url);return{id:cK,diagram:e}},`loader`)},uK=`journey`,dK={id:uK,detector:d(e=>/^\s*journey/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./journeyDiagram-3NMN7TZE-hybkgj8l.js`);return{diagram:e}},__vite__mapDeps([169,1,2,3,4,5,6,7,8,9,10,11,12,13,14,158,25,16,143,137]),import.meta.url);return{id:uK,diagram:e}},`loader`)},fK={draw:d((e,t,n)=>{p.debug(`rendering svg for syntax error
|
|
590
|
+
`);let r=bc(t),i=r.append(`g`);r.attr(`viewBox`,`0 0 2412 512`),ae(r,100,512,!0),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${n}`)},`draw`)},pK=fK,mK={db:{},renderer:fK,parser:{parse:d(()=>{},`parse`)}},hK=`flowchart-elk`,gK={id:hK,detector:d((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./flowDiagram-HODETNUW-bfi3moqa.js`);return{diagram:e}},__vite__mapDeps([138,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,137,139,140,29,141,142,143]),import.meta.url);return{id:hK,diagram:e}},`loader`)},_K=`timeline`,vK={id:_K,detector:d(e=>/^\s*timeline/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./timeline-definition-24CTP7MA-getrz2y8.js`);return{diagram:e}},__vite__mapDeps([170,1,2,3,4,5,6,7,8,9,10,11,12,13,14,158,25,16,15]),import.meta.url);return{id:_K,diagram:e}},`loader`)},yK=`mindmap`,bK={id:yK,detector:d(e=>/^\s*mindmap/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./mindmap-definition-YA3MSWOX-m82mx8ww.js`);return{diagram:e}},__vite__mapDeps([171,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,139,140,29]),import.meta.url);return{id:yK,diagram:e}},`loader`)},xK=`kanban`,SK={id:xK,detector:d(e=>/^\s*kanban/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./kanban-definition-UXKFOSKX-by13uvtn.js`);return{diagram:e}},__vite__mapDeps([172,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,143,19,20,21,22,29]),import.meta.url);return{id:xK,diagram:e}},`loader`)},CK=`sankey`,wK={id:CK,detector:d(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./sankeyDiagram-P5KCCOFB-h73e0rol.js`);return{diagram:e}},__vite__mapDeps([173,1,2,3,4,5,6,7,8,9,10,11,12,13,14,157,154]),import.meta.url);return{id:CK,diagram:e}},`loader`)},TK=`packet`,EK={id:TK,detector:d(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./diagram-Z3DM3KII-m6q9cwdh.js`);return{diagram:e}},__vite__mapDeps([174,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149]),import.meta.url);return{id:TK,diagram:e}},`loader`)},DK=`radar`,OK={id:DK,detector:d(e=>/^\s*radar-beta/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./diagram-UQ7AKVKN-nhnd68tz.js`);return{diagram:e}},__vite__mapDeps([175,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149]),import.meta.url);return{id:DK,diagram:e}},`loader`)},kK=`block`,AK={id:kK,detector:d(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./blockDiagram-I7D4REHJ-bqquxv2u.js`);return{diagram:e}},__vite__mapDeps([176,1,2,3,4,5,6,7,8,9,10,11,12,13,14,142,15,16,17,18,143,19,20,21,22,23,24,25,26,27]),import.meta.url);return{id:kK,diagram:e}},`loader`)},jK=`treeView`,MK={id:jK,detector:d(e=>/^\s*treeView-beta/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./diagram-S7CK7UJ4-o6arxa58.js`);return{diagram:e}},__vite__mapDeps([177,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149,17,150]),import.meta.url);return{id:jK,diagram:e}},`loader`)},NK=`architecture`,PK={id:NK,detector:d(e=>/^\s*architecture/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./architectureDiagram-5GKGNRK7-h38o5l7b.js`);return{diagram:e}},__vite__mapDeps([178,3,147,5,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149,17,18,32]),import.meta.url);return{id:NK,diagram:e}},`loader`)},FK=`eventmodeling`,IK={id:FK,detector:d(e=>/^\s*eventmodeling/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./diagram-VSXAHHWV-dk2sclzn.js`);return{diagram:e}},__vite__mapDeps([179,148,147,5,3,6,7,8,9,10,11,12,13,14,1,2,4,15,16,149]),import.meta.url);return{id:FK,diagram:e}},`loader`)},LK=`ishikawa`,RK={id:LK,detector:d(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-5VMMS53U-l07vkbgj.js`);return{diagram:e}},__vite__mapDeps([180,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,21]),import.meta.url);return{id:LK,diagram:e}},`loader`)},zK=`venn`,BK={id:zK,detector:d(e=>/^\s*venn-beta/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./vennDiagram-4TSXK5OY-n6pcy5qb.js`);return{diagram:e}},__vite__mapDeps([181,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,21]),import.meta.url);return{id:zK,diagram:e}},`loader`)},VK=`treemap`,HK={id:VK,detector:d(e=>/^\s*treemap/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./diagram-VX7I27RA-n3k5nyx3.js`);return{diagram:e}},__vite__mapDeps([182,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,157,154,153,15,16,149,19,140]),import.meta.url);return{id:VK,diagram:e}},`loader`)},UK=`wardley`,WK={id:UK,detector:d(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./wardleyDiagram-VM6X3IG4-kpclwwg7.js`);return{diagram:e}},__vite__mapDeps([183,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149]),import.meta.url);return{id:UK,diagram:e}},`loader`)},GK=`cynefin`,KK={id:GK,detector:d(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./cynefinDiagram-5FMLGOSQ-gq7mvswb.js`);return{diagram:e}},__vite__mapDeps([184,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,15,16,149]),import.meta.url);return{id:GK,diagram:e}},`loader`)},qK=`railroad`,JK={id:qK,detector:d(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./railroadDiagram-O6MQD6OU-z41tqx5z.js`);return{diagram:e}},__vite__mapDeps([185,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,186,149]),import.meta.url);return{id:qK,diagram:e}},`loader`)},YK=`railroadEbnf`,XK={id:YK,detector:d(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./ebnfDiagram-PWID7BFC-lsa5641p.js`);return{diagram:e}},__vite__mapDeps([187,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,186,149]),import.meta.url);return{id:YK,diagram:e}},`loader`)},ZK=`railroadAbnf`,QK={id:ZK,detector:d(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./abnfDiagram-VCTEODGH-b2x1lqot.js`);return{diagram:e}},__vite__mapDeps([188,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,186,149]),import.meta.url);return{id:ZK,diagram:e}},`loader`)},$K=`railroadPeg`,eq={id:$K,detector:d(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:d(async()=>{let{diagram:e}=await u(async()=>{let{diagram:e}=await import(`./pegDiagram-XKGWAZYB-f1zxzga1.js`);return{diagram:e}},__vite__mapDeps([189,147,5,3,6,7,8,9,10,11,12,13,14,148,1,2,4,186,149]),import.meta.url);return{id:$K,diagram:e}},`loader`)},tq=!1,nq=d(()=>{tq||(tq=!0,b(`error`,mK,e=>e.toLowerCase().trim()===`error`),b(`---`,{db:{clear:d(()=>{},`clear`)},styles:{},renderer:{draw:d(()=>{},`draw`)},parser:{parse:d(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:d(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),ee(gK,bK,PK),ee(jG,SK,aK,rK,zG,UG,GG,qG,$G,tK,LG,FG,NG,vK,VG,lK,sK,dK,YG,wK,EK,ZG,AK,IK,MK,OK,RK,HK,JK,XK,QK,eq,BK,WK,KK))},`addDiagrams`),rq=d(async()=>{p.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(ce).map(async([e,{detector:t,loader:n}])=>{if(n)try{S(e)}catch{try{let{diagram:e,id:r}=await n();b(r,e,t)}catch(t){throw p.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete ce[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){p.error(`Failed to load ${e.length} external diagrams`);for(let t of e)p.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),iq=`graphics-document document`;function aq(e,t){e.attr(`role`,iq),t!==``&&e.attr(`aria-roledescription`,t)}d(aq,`setA11yDiagramInfo`);function oq(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}d(oq,`addSVGa11yTitleDescription`);var sq=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{d(this,`Diagram`)}static async fromText(t,n={}){let r=ie(),i=E(t,r);t=Ce(t)+`
|
|
591
|
+
`;try{S(i)}catch{let e=g(i);if(!e)throw new pe(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();b(t,n)}let{db:a,parser:o,renderer:s,init:c}=S(i);return o.parser&&(o.parser.yy=a),a.clear?.(),c?.(r),n.title&&a.setDiagramTitle?.(n.title),await o.parse(t),new e(i,t,a,o,s)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},cq=[],lq=d(()=>{cq.forEach(e=>{e()}),cq=[]},`attachFunctions`),uq=d(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function dq(e){let t=e.match(re);if(!t)return{text:e,metadata:{}};let n=t[1],r=Fu(n?t[2].split(`
|
|
592
592
|
`).map(e=>e.startsWith(n)?e.slice(n.length):e).join(`
|
|
593
|
-
`):t[2],{schema:Mu})??{};r=typeof r==`object`&&!Array.isArray(r)?r:{};let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:e.slice(t[0].length),metadata:i}}
|
|
594
|
-
`).replace(/<(\w+)([^>]*)>/g,(e,t,n)=>`<`+t+n.replace(/="([^"]*)"/g,`='$1'`)+`>`),`cleanupText`),pq=
|
|
593
|
+
`):t[2],{schema:Mu})??{};r=typeof r==`object`&&!Array.isArray(r)?r:{};let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:e.slice(t[0].length),metadata:i}}d(dq,`extractFrontMatter`);var fq=d(e=>e.replace(/\r\n?/g,`
|
|
594
|
+
`).replace(/<(\w+)([^>]*)>/g,(e,t,n)=>`<`+t+n.replace(/="([^"]*)"/g,`='$1'`)+`>`),`cleanupText`),pq=d(e=>{let{text:t,metadata:n}=dq(e),{displayMode:r,title:i,config:a={}}=n;return r&&(a.gantt||={},a.gantt.displayMode=r),{title:i,config:a,text:t}},`processFrontmatter`),mq=d(e=>{let t=be.detectInit(e)??{},n=be.detectDirective(e,`wrap`);return Array.isArray(n)?t.wrap=n.some(({type:e})=>e===`wrap`):n?.type===`wrap`&&(t.wrap=!0),{text:xe(e),directive:t}},`processDirectives`);function hq(e){let t=pq(fq(e)),n=mq(t.text),r=Se(t.config,n.directive);return e=uq(n.text),{code:e,title:t.title,config:r}}d(hq,`preprocessDiagram`);function gq(e){let t=new TextEncoder().encode(e),n=Array.from(t,e=>String.fromCodePoint(e)).join(``);return btoa(n)}d(gq,`toBase64`);var _q=5e4,vq=`graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa`,yq=`sandbox`,bq=`loose`,xq=`http://www.w3.org/2000/svg`,Sq=`http://www.w3.org/1999/xlink`,Cq=`http://www.w3.org/1999/xhtml`,wq=`100%`,Tq=`100%`,Eq=`border:0;margin:0;`,Dq=`margin:0`,Oq=`allow-top-navigation-by-user-activation allow-popups`,kq=`The "iframe" tag is not supported by your browser.`,Aq=[`foreignobject`],jq=[`dominant-baseline`];function Mq(e){let t=hq(e);return v(),le(t.config??{}),t}d(Mq,`processAndSetConfigs`);async function Nq(e,t){nq();try{let{code:t,config:n}=Mq(e);return{diagramType:(await Gq(t)).type,config:n}}catch(e){if(t?.suppressErrors)return!1;throw e}}d(Nq,`parse`);var Pq=d((e,t,n=[])=>`.${e} ${t} ${y(`{ ${n.join(` !important; `)} !important; }`)}`,`cssImportantStyles`),Fq=d((e,t=new Map)=>{let n=new CSSStyleSheet;if(e.fontFamily!==void 0&&n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`,n.cssRules.length),e.altFontFamily!==void 0&&n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`,n.cssRules.length),t instanceof Map){let r=C(e)?[`> *`,`span`]:[`rect`,`polygon`,`ellipse`,`circle`,`path`];t.forEach(e=>{Sc(e.styles)||r.forEach(t=>{n.insertRule(Pq(e.id,t,e.styles),n.cssRules.length)}),Sc(e.textStyles)||n.insertRule(Pq(e.id,`tspan`,(e?.textStyles||[]).map(e=>e.replace(`color`,`fill`))),n.cssRules.length)})}let r=``;if(e.themeCSS!==void 0){if(typeof n.replaceSync==`function`){let t=new CSSStyleSheet;t.replaceSync(e.themeCSS),r=se(t)+`
|
|
595
595
|
`}else r+=`${e.themeCSS}
|
|
596
|
-
`}return r+
|
|
596
|
+
`}return r+se(n)},`createCssStyles`),Iq=d((e,t)=>DG(SG(`${e}{${t}}`),kG([d(function(t,n,r,i){if(t.type===`rule`&&Array.isArray(t.props)){if(t.parent&&t.parent.type===`@keyframes`)return;t.props=t.props.map(n=>n===e&&Array.isArray(t.children)&&t.children.every(e=>e.type===`decl`&&new Set([`font-family`,`font-size`,`fill`]).has(e.props))?n:!n.startsWith(`${e} `)&&!n.startsWith(`${e}>`)||n.startsWith(`${e} ||`)?`${e} ${n}`:n)}else t.type.startsWith(`@`)&&([`@media`,`@supports`,`@layer`,`@scope`,`@container`,`@starting-style`,`@keyframes`].includes(t.type)||(p.warn(`Removing unsupported at-rule ${t.type} from CSS`),t.type=RW))},`addNamespace`),OG])),`compileCSS`),Lq=d((e,t,n,r)=>{let i=Fq(e,n);return Iq(r,te(t,i,{...e.themeVariables,theme:e.theme,look:e.look},r))},`createUserStyles`),Rq=d((e=``,t,n)=>{let r=e;return!n&&!t&&(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,`marker-end="url(#`)),r=_e(r),r=r.replace(/<br>/g,`<br/>`),r},`cleanUpSvgCode`),zq=d((e=``,t)=>`<iframe style="width:${wq};height:${t?.viewBox?.baseVal?.height?t.viewBox.baseVal.height+`px`:Tq};${Eq}" src="data:text/html;charset=UTF-8;base64,${gq(`<body style="${Dq}">${e}</body>`)}" sandbox="${Oq}">
|
|
597
597
|
${kq}
|
|
598
|
-
</iframe>`,`putIntoIFrame`),Bq=u((e,t,n,r,i)=>{let a=e.append(`div`);a.attr(`id`,n),r&&a.attr(`style`,r);let o=a.append(`svg`).attr(`id`,t).attr(`width`,`100%`).attr(`xmlns`,xq);return i&&o.attr(`xmlns:xlink`,i),o.append(`g`),e},`appendDivSvgG`);function Vq(e,t){return e.append(`iframe`).attr(`id`,t).attr(`style`,`width: 100%; height: 100%;`).attr(`sandbox`,``)}u(Vq,`sandboxedIframe`);var Hq=u((e,t,n,r)=>{e.getElementById(t)?.remove(),e.getElementById(n)?.remove(),e.getElementById(r)?.remove()},`removeExistingElements`),Uq=u(async function(e,t,n){nq();let r=Mq(t);t=r.code;let i=re();f.debug(i),t.length>(i?.maxTextSize??_q)&&(t=vq);let a=`#${e}`,o=`i`+e,s=`#`+o,c=`d`+e,l=`#`+c,d=u(()=>{let e=p(g?s:l).node();e&&`remove`in e&&e.remove()},`removeTempElements`),h=p(document.body),g=i.securityLevel===yq,_=i.securityLevel===bq,v=i.fontFamily;if(n!==void 0){if(n&&(n.innerHTML=``),g){let e=Vq(p(n),o);h=p(e.nodes()[0].contentDocument.body),h.node().style.margin=`0`}else h=p(n);Bq(h,e,c,`font-family: ${v}`,Sq)}else{if(Hq(document,e,c,o),g){let e=Vq(p(document.body),o);h=p(e.nodes()[0].contentDocument.body),h.node().style.margin=`0`}else h=p(`body`);Bq(h,e,c)}let y,b;try{y=await sq.fromText(t,{title:r.title})}catch(e){if(i.suppressErrorRendering)throw d(),e;y=await sq.fromText(`error`),b=e}let ee=h.select(l).node(),x=y.type,S=ee.firstChild,C=S.firstChild,w=y.renderer.getClasses?.(t,y),T=Lq(i,x,w,a),te=document.createElement(`style`);te.innerHTML=T,S.insertBefore(te,C);try{await y.renderer.draw(t,e,`11.17.2`,y)}catch(n){throw i.suppressErrorRendering?d():pK.draw(t,e,`11.17.2`),n}let ne=h.select(`${l} svg`),ie=y.db.getAccTitle?.(),oe=y.db.getAccDescription?.();Kq(x,ne,ie,oe);let se=u(()=>{h.select(`[id="${e}"]`).selectAll(`foreignobject > *`).attr(`xmlns`,Cq);let t=h.select(l).node().innerHTML;if(f.debug(`config.arrowMarkerAbsolute`,i.arrowMarkerAbsolute),t=Rq(t,g,ae(i.arrowMarkerAbsolute)),g){let e=h.select(l+` svg`).node();t=zq(t,e)}else _||(t=m.sanitize(t,{ADD_TAGS:Aq,ADD_ATTR:jq,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));return lq(),t},`serializeSvg`)();if(b)throw b;return d(),{diagramType:x,svg:se,bindFunctions:y.db.bindFunctions}},`render`);function Wq(e={}){let t=ue({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||={},t.themeVariables.fontFamily=t.fontFamily),C(t),t?.theme&&t.theme in te?t.themeVariables=te[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=te.default.getThemeVariables(t.themeVariables));let n=typeof t==`object`?E(t):g();d(n.logLevel),nq()}u(Wq,`initialize`);var Gq=u((e,t={})=>{let{code:n}=hq(e);return sq.fromText(n,t)},`getDiagramFromText`);function Kq(e,t,n,r){aq(t,e),oq(t,n,r,t.attr(`id`))}u(Kq,`addA11yInfo`);var qq=Object.freeze({render:Uq,parse:Nq,getDiagramFromText:Gq,initialize:Wq,getConfig:re,setConfig:w,getSiteConfig:g,updateSiteConfig:ee,reset:u(()=>{_()},`reset`),globalReset:u(()=>{_(pe)},`globalReset`),defaultConfig:pe});d(re().logLevel),_(re());var Jq=u((e,t,n)=>{f.warn(e),ve(e)?(n&&n(e.str,e.hash),t.push({...e,message:e.str,error:e})):(n&&n(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},`handleError`),Yq=u(async function(e={querySelector:`.mermaid`}){try{await Xq(e)}catch(t){if(ve(t)&&f.error(t.str),sJ.parseError&&sJ.parseError(t),!e.suppressErrors)throw f.error(`Use the suppressErrors option to suppress these errors`),t}},`run`),Xq=u(async function({postRenderCallback:e,querySelector:t,nodes:n}={querySelector:`.mermaid`}){let r=qq.getConfig();f.debug(`${e?``:`No `}Callback function found`);let i;if(n)i=n;else if(t)i=document.querySelectorAll(t);else throw Error(`Nodes and querySelector are both undefined`);f.debug(`Found ${i.length} diagrams`),r?.startOnLoad!==void 0&&(f.debug(`Start On Load: `+r?.startOnLoad),qq.updateSiteConfig({startOnLoad:r?.startOnLoad}));let a=new ye.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed),o,s=[];for(let t of Array.from(i)){if(f.info(`Rendering diagram: `+t.id),t.getAttribute(`data-processed`))continue;t.setAttribute(`data-processed`,`true`);let n=`mermaid-${a.next()}`;o=t.innerHTML,o=De(ye.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,`<br/>`);let r=ye.detectInit(o);r&&f.debug(`Detected early reinit: `,r);try{let{svg:r,bindFunctions:i}=await oJ(n,o,t);t.innerHTML=r,e&&await e(n),i&&i(t)}catch(e){Jq(e,s,sJ.parseError)}}if(s.length>0)throw s[0]},`runThrowsErrors`),Zq=u(function(e){qq.initialize(e)},`initialize`),Qq=u(async function(e,t,n){f.warn(`mermaid.init is deprecated. Please use run instead.`),e&&Zq(e);let r={postRenderCallback:n,querySelector:`.mermaid`};typeof t==`string`?r.querySelector=t:t&&(r.nodes=t instanceof HTMLElement?[t]:t),await Yq(r)},`init`),$q=u(async(e,{lazyLoad:t=!0}={})=>{nq(),b(...e),t===!1&&await rq()},`registerExternalDiagrams`),eJ=u(function(){if(sJ.startOnLoad){let{startOnLoad:e}=qq.getConfig();e&&sJ.run().catch(e=>f.error(`Mermaid failed to initialize`,e))}},`contentLoaded`);typeof document<`u`&&window.addEventListener(`load`,eJ,!1);var tJ=u(function(e){sJ.parseError=e},`setParseErrorHandler`),nJ=[],rJ=!1,iJ=u(async()=>{if(!rJ){for(rJ=!0;nJ.length>0;){let e=nJ.shift();if(e)try{await e()}catch(e){f.error(`Error executing queue`,e)}}rJ=!1}},`executeQueue`),aJ=u(async(e,t)=>new Promise((n,r)=>{let i=u(()=>new Promise((i,a)=>{qq.parse(e,t).then(e=>{i(e),n(e)},e=>{f.error(`Error parsing`,e),sJ.parseError?.(e),a(e),r(e)})}),`performCall`);nJ.push(i),iJ().catch(r)}),`parse`),oJ=u((e,t,n)=>new Promise((r,i)=>{let a=u(()=>new Promise((a,o)=>{qq.render(e,t,n).then(e=>{a(e),r(e)},e=>{f.error(`Error parsing`,e),sJ.parseError?.(e),o(e),i(e)})}),`performCall`);nJ.push(a),iJ().catch(i)}),`render`),sJ={startOnLoad:!0,mermaidAPI:qq,parse:aJ,render:oJ,init:Qq,run:Yq,registerExternalDiagrams:$q,registerLayoutLoaders:Tc,initialize:Zq,parseError:void 0,contentLoaded:eJ,setParseErrorHandler:tJ,detectType:le,registerIconPacks:Ee,getRegisteredDiagramsMetadata:u(()=>Object.keys(se).map(e=>({id:e})),`getRegisteredDiagramsMetadata`)},cJ=sJ,lJ={startOnLoad:!1,theme:`default`,securityLevel:`strict`,fontFamily:`monospace`,suppressErrorRendering:!0};function uJ(e={}){let t=!1,n={...lJ,...e.config},r={initialize(r){n={...lJ,...e.config,...r},cJ.initialize(n),t=!0},async render(e,r){return t||=(cJ.initialize(n),!0),await cJ.render(e,r)}};return{name:`mermaid`,type:`diagram`,language:`mermaid`,getMermaid(e){return e&&r.initialize(e),r}}}var dJ=uJ(),fJ={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},pJ={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:`CDATA[`,characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:`content`,contentTypeDocument:`document`,contentTypeFlow:`flow`,contentTypeString:`string`,contentTypeText:`text`,hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},mJ={data:`data`,whitespace:`whitespace`,lineEnding:`lineEnding`,lineEndingBlank:`lineEndingBlank`,linePrefix:`linePrefix`,lineSuffix:`lineSuffix`,atxHeading:`atxHeading`,atxHeadingSequence:`atxHeadingSequence`,atxHeadingText:`atxHeadingText`,autolink:`autolink`,autolinkEmail:`autolinkEmail`,autolinkMarker:`autolinkMarker`,autolinkProtocol:`autolinkProtocol`,characterEscape:`characterEscape`,characterEscapeValue:`characterEscapeValue`,characterReference:`characterReference`,characterReferenceMarker:`characterReferenceMarker`,characterReferenceMarkerNumeric:`characterReferenceMarkerNumeric`,characterReferenceMarkerHexadecimal:`characterReferenceMarkerHexadecimal`,characterReferenceValue:`characterReferenceValue`,codeFenced:`codeFenced`,codeFencedFence:`codeFencedFence`,codeFencedFenceSequence:`codeFencedFenceSequence`,codeFencedFenceInfo:`codeFencedFenceInfo`,codeFencedFenceMeta:`codeFencedFenceMeta`,codeFlowValue:`codeFlowValue`,codeIndented:`codeIndented`,codeText:`codeText`,codeTextData:`codeTextData`,codeTextPadding:`codeTextPadding`,codeTextSequence:`codeTextSequence`,content:`content`,definition:`definition`,definitionDestination:`definitionDestination`,definitionDestinationLiteral:`definitionDestinationLiteral`,definitionDestinationLiteralMarker:`definitionDestinationLiteralMarker`,definitionDestinationRaw:`definitionDestinationRaw`,definitionDestinationString:`definitionDestinationString`,definitionLabel:`definitionLabel`,definitionLabelMarker:`definitionLabelMarker`,definitionLabelString:`definitionLabelString`,definitionMarker:`definitionMarker`,definitionTitle:`definitionTitle`,definitionTitleMarker:`definitionTitleMarker`,definitionTitleString:`definitionTitleString`,emphasis:`emphasis`,emphasisSequence:`emphasisSequence`,emphasisText:`emphasisText`,escapeMarker:`escapeMarker`,hardBreakEscape:`hardBreakEscape`,hardBreakTrailing:`hardBreakTrailing`,htmlFlow:`htmlFlow`,htmlFlowData:`htmlFlowData`,htmlText:`htmlText`,htmlTextData:`htmlTextData`,image:`image`,label:`label`,labelText:`labelText`,labelLink:`labelLink`,labelImage:`labelImage`,labelMarker:`labelMarker`,labelImageMarker:`labelImageMarker`,labelEnd:`labelEnd`,link:`link`,paragraph:`paragraph`,reference:`reference`,referenceMarker:`referenceMarker`,referenceString:`referenceString`,resource:`resource`,resourceDestination:`resourceDestination`,resourceDestinationLiteral:`resourceDestinationLiteral`,resourceDestinationLiteralMarker:`resourceDestinationLiteralMarker`,resourceDestinationRaw:`resourceDestinationRaw`,resourceDestinationString:`resourceDestinationString`,resourceMarker:`resourceMarker`,resourceTitle:`resourceTitle`,resourceTitleMarker:`resourceTitleMarker`,resourceTitleString:`resourceTitleString`,setextHeading:`setextHeading`,setextHeadingText:`setextHeadingText`,setextHeadingLine:`setextHeadingLine`,setextHeadingLineSequence:`setextHeadingLineSequence`,strong:`strong`,strongSequence:`strongSequence`,strongText:`strongText`,thematicBreak:`thematicBreak`,thematicBreakSequence:`thematicBreakSequence`,blockQuote:`blockQuote`,blockQuotePrefix:`blockQuotePrefix`,blockQuoteMarker:`blockQuoteMarker`,blockQuotePrefixWhitespace:`blockQuotePrefixWhitespace`,listOrdered:`listOrdered`,listUnordered:`listUnordered`,listItemIndent:`listItemIndent`,listItemMarker:`listItemMarker`,listItemPrefix:`listItemPrefix`,listItemPrefixWhitespace:`listItemPrefixWhitespace`,listItemValue:`listItemValue`,chunkDocument:`chunkDocument`,chunkContent:`chunkContent`,chunkFlow:`chunkFlow`,chunkText:`chunkText`,chunkString:`chunkString`},hJ=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],gJ=[12288,12288,65281,65376,65504,65510],_J=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],vJ=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],yJ=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],bJ=(e,t)=>{let n=0,r=Math.floor(e.length/2)-1;for(;n<=r;){let i=Math.floor((n+r)/2),a=i*2;if(t<e[a])r=i-1;else if(t>e[a+1])n=i+1;else return!0}return!1},xJ=19968,[SJ,CJ]=wJ(yJ);function wJ(e){let t=e[0],n=e[1];for(let r=0;r<e.length;r+=2){let i=e[r],a=e[r+1];if(xJ>=i&&xJ<=a)return[i,a];a-i>n-t&&(t=i,n=a)}return[t,n]}var TJ=e=>e<161||e>1114109?!1:bJ(hJ,e),EJ=e=>e<12288||e>65510?!1:bJ(gJ,e),DJ=e=>e<8361||e>65518?!1:bJ(_J,e),OJ=e=>e<32||e>10630?!1:bJ(vJ,e),kJ=e=>e>=SJ&&e<=CJ?!0:e<4352||e>262141?!1:bJ(yJ,e);function AJ(e){return TJ(e)?`ambiguous`:EJ(e)?`fullwidth`:DJ(e)?`halfwidth`:OJ(e)?`narrow`:kJ(e)?`wide`:`neutral`}function jJ(e){if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`)}function MJ(e){return jJ(e),AJ(e)}function NJ(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function PJ(e){if(!e||e<4352)return!1;switch(MJ(e)){case`fullwidth`:case`halfwidth`:return!0;case`wide`:return!NJ(e);case`narrow`:return!1;case`ambiguous`:return 917760<=e&&e<=917999&&null;case`neutral`:return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function FJ(e,t){return t!==65025||!e||e<8216?!1:e===8216||e===8217||e===8220||e===8221}function IJ(e){return e!==null&&e>=65024&&e<=65038}var LJ=zJ(/\p{P}|\p{S}/u),RJ=zJ(/\s/);function zJ(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCodePoint(t))}}function BJ(e){return!!(e&pJ.characterGroupWhitespace)}function VJ(e){return(e&qJ.cjkPunctuation)===pJ.characterGroupPunctuation}function HJ(e){return!!(e&qJ.cjk)}function UJ(e){return e===qJ.ivs}function WJ(e){return!!(e&qJ.cjkOrIvs)}function GJ(e){return e===qJ.nonEmojiGeneralUseVS}function KJ(e){return!!(e&qJ.spaceOrPunctuation)}var qJ;(function(e){e.spaceOrPunctuation=3,e.cjk=4096,e.cjkPunctuation=4098,e.ivs=8192,e.cjkOrIvs=12288,e.nonEmojiGeneralUseVS=16384,e.variationSelector=24576,e.ivsToCjkRightShift=1})(qJ||={});function JJ(e){if(e===fJ.eof||iv(e)||RJ(e))return pJ.characterGroupWhitespace;let t=0;if(e>=4352){if(IJ(e))return qJ.nonEmojiGeneralUseVS;switch(PJ(e)){case null:return qJ.ivs;case!0:t|=qJ.cjk}}return LJ(e)&&(t|=pJ.characterGroupPunctuation),t}function YJ(e,t,n){if(!GJ(e))return e;let r=t(),i=JJ(r);return!r||BJ(i)?e:FJ(r,n)?qJ.cjkPunctuation:XJ(i)}function XJ(e){return e&~qJ.ivs}function ZJ(e){return!!(e&&e>=55296&&e<=56319)}function QJ(e){return!!(e&&e>=56320&&e<=57343)}function $J(e,t,n){if(t._bufferIndex<2)return e;let r=n({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return r&&r>=65536?r:e}function eY(e,t,n){let r=e>=65536?2:1;if(t._bufferIndex<1+r)return null;let i=t._bufferIndex-r-2,a=n({start:{...t,_bufferIndex:i>=0?i:0},end:{...t,_bufferIndex:t._bufferIndex-r}}),o=a.charCodeAt(a.length-1);if(Number.isNaN(o))return null;if(a.length<2||o<56320||57343<o)return o;let s=a.codePointAt(0);return s&&s>=65536?s:o}var tY=class{cachedValue=void 0;constructor(e,t,n){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=n}value(){return this.cachedValue===void 0&&(this.cachedValue=eY(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function nY(e,t,n){let r=n({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return r&&r>=65536?r:e}var rY={name:`attention`,resolveAll:iY,tokenize:aY};function iY(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};oY(d,-c),oY(f,c),o={type:c>1?mJ.strongSequence:mJ.emphasisSequence,start:d,end:{...e[r][1].end}},s={type:c>1?mJ.strongSequence:mJ.emphasisSequence,start:{...e[n][1].start},end:f},a={type:c>1?mJ.strongText:mJ.emphasisText,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?mJ.strong:mJ.emphasis,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Eb(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Eb(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),t.parser.constructs.insideSpan.null,l=Eb(l,nx(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Eb(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Eb(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Tb(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function aY(e,t){let n=this.parser.constructs.attentionMarkers.null,{now:r,sliceSerialize:i,previous:a}=this,o=QJ(a)?$J(a,r(),i):a,s=JJ(o),c=new tY(o,r(),i),l=YJ(s,c.value.bind(c),o),u;return d;function d(t){return t===fJ.asterisk||fJ.underscore,u=t,e.enter(`attentionSequence`),f(t)}function f(a){if(a===u)return e.consume(a),f;let s=e.exit(`attentionSequence`),c=JJ(ZJ(a)?nY(a,r(),i):a),d=VJ(l),p=d||BJ(l),m=VJ(c),h=m||BJ(c),g=WJ(l),_=!h||m&&(p||g)||n.includes(a),v=!p||d&&(h||HJ(c))||n.includes(o);return s._open=!!(u===fJ.asterisk?_:_&&(KJ(l)||!v)),s._close=!!(u===fJ.asterisk?v:v&&(KJ(c)||!_)),t(a)}}function oY(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function sY(){return{text:{[fJ.asterisk]:rY,[fJ.underscore]:rY},insideSpan:{null:[rY]}}}function cY(){let e=this.data();(e.micromarkExtensions||=[]).push(sY())}var lY=`;`.codePointAt(0)??fJ.eof,uY=`&`.codePointAt(0)??fJ.eof;function dY(){return{handlers:{emphasis:fY,strong:pY,text:_Y}}}fY.peek=mY,pY.peek=hY;function fY(e,t,n,r){return gY(e,t,n,r,mY(e,t,n),1)}function pY(e,t,n,r){return gY(e,t,n,r,hY(e,t,n),2)}function mY(e,t,n){return n.options.emphasis||`*`}function hY(e,t,n){return n.options.strong||`*`}function gY(e,t,n,r,i,a){let o=i.repeat(a),s=n.enter(a===1?`emphasis`:`strong`),c=n.createTracker(r),l=c.move(o),u=c.move(n.containerPhrasing(e,{after:i,before:l,...c.current()})),d=TY(e,t,n,r.before),f=EY(e,t,n,r.after),p=vY(d,RY(u),i,`open`);p.inside&&u&&(u=FY(u));let m=vY({current:zY(u),previous:LY(u)},f,i,`close`);m.inside&&u&&(u=IY(u));let h=c.move(o);s();let g=m.outside&&jY(t,n);return n.attentionEncodeSurroundingInfo={after:m.outside&&!g,before:p.outside},MY(n).cjkFriendlyEncodeAfterSupplementaryText=g,l+u+h}function _Y(e,t,n,r){let i=MY(n);if(!i.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=``]=[...e.value],o=e.value.slice(a.length);return`${PY(a.codePointAt(0)??fJ.eof)}${n.safe(o,{...r,before:`;`})}`}function vY(e,t,n,r){let i=wY(e),a=JJ(t);if(!WJ(i)&&!WJ(a))return r===`open`?yY(i,a,n):yY(a,i,n);let o={inside:!1,outside:!1},s={inside:!0,outside:!1},c={inside:!1,outside:!0},l={inside:!0,outside:!0};for(let i of[o,s,c,l]){let a=r===`open`?i.outside?BY:e:i.inside?BY:e,o=r===`open`?i.inside?VY:t:i.outside?VY:t;if(r===`open`?bY(n,a,o):xY(n,a,o))return i}return l}function yY(e,t,n){return CY(e)?CY(t)?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:BJ(e)?CY(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function bY(e,t,n){let r=wY(t),{close:i,open:a}=SY(r,JJ(n));return e===`_`?a&&(KJ(r)||!i):a}function xY(e,t,n){let r=JJ(n),{close:i,open:a}=SY(wY(t),r);return e===`_`?i&&(KJ(r)||!a):i}function SY(e,t){let n=VJ(e),r=n||BJ(e),i=VJ(t),a=i||BJ(t);return{open:!a||i&&(r||WJ(e)),close:!r||n&&(a||HJ(t))}}function CY(e){return!BJ(e)&&!VJ(e)}function wY(e){let t=JJ(e.current);return e.current===null||!GJ(t)?t:YJ(t,()=>e.previous,e.current)}function TY(e,t,n,r){let i=zY(r),a=LY(r);if(DY(i)||kY(i,a)){let r=AY(e,t,n,-1);r&&(i=zY(r),a=LY(r))}return{current:i,previous:a}}function EY(e,t,n,r){let i=RY(r);if(!OY(i))return i;let a=AY(e,t,n,1);return a?RY(a):i}function DY(e){return e!==null&&56320<=e&&e<=57343}function OY(e){return e!==null&&55296<=e&&e<=56319}function kY(e,t){return GJ(JJ(e))&&(t===null||t===fJ.eof)}function AY(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,o=typeof i==`number`?i:a.indexOf(e);if(o<0)return;let s=a[o+r];return NY(s)||void 0}function jY(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!=`number`)return!1;let r=e.children[n+1];return r?.type===`text`&&(RY(r.value)??0)>65535}function MY(e){return e}function NY(e){return!e||typeof e!=`object`?``:`value`in e&&typeof e.value==`string`?e.value:`alt`in e&&typeof e.alt==`string`?e.alt:`children`in e&&Array.isArray(e.children)?e.children.map(NY).join(``):``}function PY(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function FY(e){let[t=``]=[...e];return PY(t.codePointAt(0)??fJ.eof)+e.slice(t.length)}function IY(e){let t=[...e],n=t.pop();return`${t.join(``)}${PY(n?.codePointAt(0)??fJ.eof)}`}function LY(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??fJ.eof}function RY(e){return e.codePointAt(0)??fJ.eof}function zY(e){return[...e].at(-1)?.codePointAt(0)??fJ.eof}var BY={current:lY,previous:fJ.eof},VY=uY;function HY(){let e=this.data();(e.toMarkdownExtensions||=[]).push(dY())}function UY(){cY.call(this),HY.call(this)}var WY=UY;function GY(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{[fJ.tilde]:n},insideSpan:{null:[n]},attentionMarkers:{null:[fJ.tilde]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Tb(o,o.length,0,nx(s,e.slice(r+1,n),t)),Tb(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Tb(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=mJ.data);return e}function i(e,n,r){let{now:i,sliceSerialize:a,previous:o}=this,s=QJ(o)?$J(o,i(),a):o,c=JJ(s),l=new tY(s,i(),a),u=YJ(c,l.value.bind(l),s),d=this.events,f=0;return p;function p(t){return fJ.tilde,s===fJ.tilde&&d[d.length-1][1].type!==mJ.characterEscape?r(t):(e.enter(`strikethroughSequenceTemporary`),m(t))}function m(o){let c=JJ(s);if(o===fJ.tilde)return f>1?r(o):(e.consume(o),f++,m);if(f<2&&!t)return r(o);let l=e.exit(`strikethroughSequenceTemporary`),d=JJ(ZJ(o)?nY(o,i(),a):o),p=VJ(u)||BJ(u),h=VJ(d)||BJ(d),g=HJ(u)||UJ(c);return l._open=!h||d===pJ.attentionSideAfter&&(p||g),l._close=!p||c===pJ.attentionSideAfter&&(h||HJ(d)),n(o)}}}function KY(e){let t=this.data();(t.micromarkExtensions||=[]).push(GY(e))}var qY=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],JY=`;`.codePointAt(0)??fJ.eof,YY=`&`.codePointAt(0)??fJ.eof;function XY(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:qY}],handlers:{delete:ZY,text:QY}}}ZY.peek=$Y;function ZY(e,t,n,r){let i=n.enter(`strikethrough`),a=n.createTracker(r),o=a.move(`~~`),s=a.move(n.containerPhrasing(e,{after:`~`,before:o,...a.current()})),c=sX(e,t,n,r.before),l=cX(e,t,n,r.after),u=eX(c,bX(s),`open`);u.inside&&s&&(s=_X(s));let d=eX({current:xX(s),previous:yX(s)},l,`close`);d.inside&&s&&(s=vX(s));let f=a.move(`~~`);i();let p=d.outside&&pX(t,n);return n.attentionEncodeSurroundingInfo={after:d.outside&&!p,before:u.outside},mX(n).cjkFriendlyEncodeAfterSupplementaryText=p,o+s+f}function QY(e,t,n,r){let i=mX(n);if(!i.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=``]=[...e.value],o=e.value.slice(a.length);return`${gX(a.codePointAt(0)??fJ.eof)}${n.safe(o,{...r,before:`;`})}`}function $Y(){return`~`}function eX(e,t,n){let r=oX(e),i=JJ(t);if(!WJ(r)&&!WJ(i))return n===`open`?tX(r,i):tX(i,r);let a={inside:!1,outside:!1},o={inside:!0,outside:!1},s={inside:!1,outside:!0},c={inside:!0,outside:!0};for(let r of[a,o,s,c]){let i=n===`open`?r.outside?SX:e:r.inside?SX:e,a=n===`open`?r.inside?CX:t:r.outside?CX:t;if(n===`open`?nX(i,a):rX(i,a))return r}return c}function tX(e,t){return aX(e)?aX(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:BJ(e)?aX(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function nX(e,t){let{open:n}=iX(oX(e),JJ(t));return n}function rX(e,t){let n=JJ(t),{close:r}=iX(oX(e),n);return r}function iX(e,t){let n=VJ(e),r=n||BJ(e),i=VJ(t),a=i||BJ(t);return{open:!a||i&&(r||WJ(e)),close:!r||n&&(a||HJ(t))}}function aX(e){return!BJ(e)&&!VJ(e)}function oX(e){let t=JJ(e.current);return e.current===null||!GJ(t)?t:YJ(t,()=>e.previous,e.current)}function sX(e,t,n,r){let i=xX(r),a=yX(r);if(lX(i)||dX(i,a)){let r=fX(e,t,n,-1);r&&(i=xX(r),a=yX(r))}return{current:i,previous:a}}function cX(e,t,n,r){let i=bX(r);if(!uX(i))return i;let a=fX(e,t,n,1);return a?bX(a):i}function lX(e){return e!==null&&56320<=e&&e<=57343}function uX(e){return e!==null&&55296<=e&&e<=56319}function dX(e,t){return GJ(JJ(e))&&(t===null||t===fJ.eof)}function fX(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,o=typeof i==`number`?i:a.indexOf(e);if(o<0)return;let s=a[o+r];return hX(s)||void 0}function pX(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!=`number`)return!1;let r=e.children[n+1];return r?.type===`text`&&(bX(r.value)??0)>65535}function mX(e){return e}function hX(e){return!e||typeof e!=`object`?``:`value`in e&&typeof e.value==`string`?e.value:`alt`in e&&typeof e.alt==`string`?e.alt:`children`in e&&Array.isArray(e.children)?e.children.map(hX).join(``):``}function gX(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function _X(e){let[t=``]=[...e];return gX(t.codePointAt(0)??fJ.eof)+e.slice(t.length)}function vX(e){let t=[...e],n=t.pop();return`${t.join(``)}${gX(n?.codePointAt(0)??fJ.eof)}`}function yX(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??fJ.eof}function bX(e){return e.codePointAt(0)??fJ.eof}function xX(e){return[...e].at(-1)?.codePointAt(0)??fJ.eof}var SX={current:JY,previous:fJ.eof},CX=YY;function wX(){let e=this.data();(e.toMarkdownExtensions||=[]).push(XY())}function TX(e){KY.call(this,e),wX.call(this)}var EX=TX,DX=new Set([`。`,`.`,`,`,`、`,`?`,`!`,`:`,`;`,`(`,`)`,`【`,`】`,`「`,`」`,`『`,`』`,`〈`,`〉`,`《`,`》`]),OX=/^(https?:\/\/|mailto:|www\.)/i,kX=e=>{if(e.children.length!==1)return!1;let t=e.children[0];return t.type===`text`&&t.value===e.url},AX=e=>{let t=0;for(let n of e){if(DX.has(n))return t;t+=n.length}return null},jX=(e,t)=>({...t,url:e,children:[{type:`text`,value:e}]}),MX=e=>({type:`text`,value:e}),NX=()=>e=>{td(e,`link`,(e,t,n)=>{if(!n||typeof t!=`number`||!kX(e)||!OX.test(e.url))return;let r=AX(e.url);if(r===null||r===0)return;let i=e.url.slice(0,r),a=e.url.slice(r),o=jX(i,e),s=MX(a);return n.children.splice(t,1,o,s),t+1})};function PX(){let e=[WY],t=[NX,EX];return{name:`cjk`,type:`cjk`,remarkPluginsBefore:e,remarkPluginsAfter:t,remarkPlugins:[...e,...t]}}var FX={code:LU,math:LW,mermaid:dJ,cjk:PX()},IX=e=>/^\.?\/api\//.test(e)?a(e.replace(/^\./,``)).href:e,LX=[`github-light`,`github-dark`],RX=(0,V.createContext)(null),zX=700,BX={opens_directly:!1,host:null};function VX(e,t){let n=new Promise(e=>{setTimeout(()=>{e(BX)},zX)});return Promise.race([e(t).catch(()=>BX),n])}function HX({isOpen:e,onClose:t,onConfirm:n,url:r,host:i}){return(0,H.jsxs)(Ge,{open:e,onOpenChange:e=>{e||t()},title:tn(),description:i?st({host:i}):Ct(),children:[(0,H.jsx)(`p`,{className:`max-h-32 overflow-y-auto break-all rounded-md border border-border-subtle bg-bg px-3 py-2 font-mono text-xs text-muted`,children:r}),(0,H.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[(0,H.jsx)(We,{onClick:t,children:s()}),(0,H.jsx)(We,{variant:`primary`,onClick:()=>{n(),t()},children:zt()})]})]})}var UX=(0,V.memo)(function({text:e,streaming:t=!1,className:n,dir:r=`auto`}){let i=(0,V.use)(RX),a=(0,V.useRef)(new Map),o=(0,V.useMemo)(()=>({enabled:!0,onLinkCheck:async e=>{if(!i)return!1;let t=await VX(i,e);return a.current.set(e,t.host),t.opens_directly},renderModal:e=>(0,H.jsx)(HX,{...e,host:a.current.get(e.url)})}),[i]);return(0,H.jsx)(RP,{mode:t?`streaming`:`static`,parseIncompleteMarkdown:t,isAnimating:t,className:n??`hermes-prose`,plugins:FX,shikiTheme:LX,dir:r,controls:{code:{copy:!0,download:!0},table:{copy:!0,download:!0},mermaid:{copy:!0,download:!0,fullscreen:!0,panZoom:!0}},linkSafety:o,urlTransform:IX,children:e})});export{Ec as _,BP as a,Fu as c,Yc as d,Oc as f,Dc as g,Kc as h,IP as i,Uc as l,Ac as m,UX as n,$j as o,Vc as p,OM as r,Mu as s,RX as t,Mc as u,bc as v,nn as y};
|
|
598
|
+
</iframe>`,`putIntoIFrame`),Bq=d((e,t,n,r,i)=>{let a=e.append(`div`);a.attr(`id`,n),r&&a.attr(`style`,r);let o=a.append(`svg`).attr(`id`,t).attr(`width`,`100%`).attr(`xmlns`,xq);return i&&o.attr(`xmlns:xlink`,i),o.append(`g`),e},`appendDivSvgG`);function Vq(e,t){return e.append(`iframe`).attr(`id`,t).attr(`style`,`width: 100%; height: 100%;`).attr(`sandbox`,``)}d(Vq,`sandboxedIframe`);var Hq=d((e,t,n,r)=>{e.getElementById(t)?.remove(),e.getElementById(n)?.remove(),e.getElementById(r)?.remove()},`removeExistingElements`),Uq=d(async function(e,t,n){nq();let r=Mq(t);t=r.code;let i=ie();p.debug(i),t.length>(i?.maxTextSize??_q)&&(t=vq);let a=`#${e}`,o=`i`+e,s=`#`+o,c=`d`+e,l=`#`+c,u=d(()=>{let e=m(g?s:l).node();e&&`remove`in e&&e.remove()},`removeTempElements`),f=m(document.body),g=i.securityLevel===yq,_=i.securityLevel===bq,v=i.fontFamily;if(n!==void 0){if(n&&(n.innerHTML=``),g){let e=Vq(m(n),o);f=m(e.nodes()[0].contentDocument.body),f.node().style.margin=`0`}else f=m(n);Bq(f,e,c,`font-family: ${v}`,Sq)}else{if(Hq(document,e,c,o),g){let e=Vq(m(document.body),o);f=m(e.nodes()[0].contentDocument.body),f.node().style.margin=`0`}else f=m(`body`);Bq(f,e,c)}let y,b;try{y=await sq.fromText(t,{title:r.title})}catch(e){if(i.suppressErrorRendering)throw u(),e;y=await sq.fromText(`error`),b=e}let ee=f.select(l).node(),x=y.type,S=ee.firstChild,C=S.firstChild,w=y.renderer.getClasses?.(t,y),T=Lq(i,x,w,a),te=document.createElement(`style`);te.innerHTML=T,S.insertBefore(te,C);try{await y.renderer.draw(t,e,`11.17.2`,y)}catch(n){throw i.suppressErrorRendering?u():pK.draw(t,e,`11.17.2`),n}let ne=f.select(`${l} svg`),re=y.db.getAccTitle?.(),ae=y.db.getAccDescription?.();Kq(x,ne,re,ae);let se=d(()=>{f.select(`[id="${e}"]`).selectAll(`foreignobject > *`).attr(`xmlns`,Cq);let t=f.select(l).node().innerHTML;if(p.debug(`config.arrowMarkerAbsolute`,i.arrowMarkerAbsolute),t=Rq(t,g,oe(i.arrowMarkerAbsolute)),g){let e=f.select(l+` svg`).node();t=zq(t,e)}else _||(t=h.sanitize(t,{ADD_TAGS:Aq,ADD_ATTR:jq,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));return lq(),t},`serializeSvg`)();if(b)throw b;return u(),{diagramType:x,svg:se,bindFunctions:y.db.bindFunctions}},`render`);function Wq(e={}){let t=de({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||={},t.themeVariables.fontFamily=t.fontFamily),w(t),t?.theme&&t.theme in ne?t.themeVariables=ne[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=ne.default.getThemeVariables(t.themeVariables));let n=typeof t==`object`?ue(t):_();f(n.logLevel),nq()}d(Wq,`initialize`);var Gq=d((e,t={})=>{let{code:n}=hq(e);return sq.fromText(n,t)},`getDiagramFromText`);function Kq(e,t,n,r){aq(t,e),oq(t,n,r,t.attr(`id`))}d(Kq,`addA11yInfo`);var qq=Object.freeze({render:Uq,parse:Nq,getDiagramFromText:Gq,initialize:Wq,getConfig:ie,setConfig:T,getSiteConfig:_,updateSiteConfig:x,reset:d(()=>{v()},`reset`),globalReset:d(()=>{v(me)},`globalReset`),defaultConfig:me});f(ie().logLevel),v(ie());var Jq=d((e,t,n)=>{p.warn(e),ye(e)?(n&&n(e.str,e.hash),t.push({...e,message:e.str,error:e})):(n&&n(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},`handleError`),Yq=d(async function(e={querySelector:`.mermaid`}){try{await Xq(e)}catch(t){if(ye(t)&&p.error(t.str),sJ.parseError&&sJ.parseError(t),!e.suppressErrors)throw p.error(`Use the suppressErrors option to suppress these errors`),t}},`run`),Xq=d(async function({postRenderCallback:e,querySelector:t,nodes:n}={querySelector:`.mermaid`}){let r=qq.getConfig();p.debug(`${e?``:`No `}Callback function found`);let i;if(n)i=n;else if(t)i=document.querySelectorAll(t);else throw Error(`Nodes and querySelector are both undefined`);p.debug(`Found ${i.length} diagrams`),r?.startOnLoad!==void 0&&(p.debug(`Start On Load: `+r?.startOnLoad),qq.updateSiteConfig({startOnLoad:r?.startOnLoad}));let a=new be.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed),o,s=[];for(let t of Array.from(i)){if(p.info(`Rendering diagram: `+t.id),t.getAttribute(`data-processed`))continue;t.setAttribute(`data-processed`,`true`);let n=`mermaid-${a.next()}`;o=t.innerHTML,o=Oe(be.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,`<br/>`);let r=be.detectInit(o);r&&p.debug(`Detected early reinit: `,r);try{let{svg:r,bindFunctions:i}=await oJ(n,o,t);t.innerHTML=r,e&&await e(n),i&&i(t)}catch(e){Jq(e,s,sJ.parseError)}}if(s.length>0)throw s[0]},`runThrowsErrors`),Zq=d(function(e){qq.initialize(e)},`initialize`),Qq=d(async function(e,t,n){p.warn(`mermaid.init is deprecated. Please use run instead.`),e&&Zq(e);let r={postRenderCallback:n,querySelector:`.mermaid`};typeof t==`string`?r.querySelector=t:t&&(r.nodes=t instanceof HTMLElement?[t]:t),await Yq(r)},`init`),$q=d(async(e,{lazyLoad:t=!0}={})=>{nq(),ee(...e),t===!1&&await rq()},`registerExternalDiagrams`),eJ=d(function(){if(sJ.startOnLoad){let{startOnLoad:e}=qq.getConfig();e&&sJ.run().catch(e=>p.error(`Mermaid failed to initialize`,e))}},`contentLoaded`);typeof document<`u`&&window.addEventListener(`load`,eJ,!1);var tJ=d(function(e){sJ.parseError=e},`setParseErrorHandler`),nJ=[],rJ=!1,iJ=d(async()=>{if(!rJ){for(rJ=!0;nJ.length>0;){let e=nJ.shift();if(e)try{await e()}catch(e){p.error(`Error executing queue`,e)}}rJ=!1}},`executeQueue`),aJ=d(async(e,t)=>new Promise((n,r)=>{let i=d(()=>new Promise((i,a)=>{qq.parse(e,t).then(e=>{i(e),n(e)},e=>{p.error(`Error parsing`,e),sJ.parseError?.(e),a(e),r(e)})}),`performCall`);nJ.push(i),iJ().catch(r)}),`parse`),oJ=d((e,t,n)=>new Promise((r,i)=>{let a=d(()=>new Promise((a,o)=>{qq.render(e,t,n).then(e=>{a(e),r(e)},e=>{p.error(`Error parsing`,e),sJ.parseError?.(e),o(e),i(e)})}),`performCall`);nJ.push(a),iJ().catch(i)}),`render`),sJ={startOnLoad:!0,mermaidAPI:qq,parse:aJ,render:oJ,init:Qq,run:Yq,registerExternalDiagrams:$q,registerLayoutLoaders:Tc,initialize:Zq,parseError:void 0,contentLoaded:eJ,setParseErrorHandler:tJ,detectType:E,registerIconPacks:De,getRegisteredDiagramsMetadata:d(()=>Object.keys(ce).map(e=>({id:e})),`getRegisteredDiagramsMetadata`)},cJ=sJ,lJ={startOnLoad:!1,theme:`default`,securityLevel:`strict`,fontFamily:`monospace`,suppressErrorRendering:!0};function uJ(e={}){let t=!1,n={...lJ,...e.config},r={initialize(r){n={...lJ,...e.config,...r},cJ.initialize(n),t=!0},async render(e,r){return t||=(cJ.initialize(n),!0),await cJ.render(e,r)}};return{name:`mermaid`,type:`diagram`,language:`mermaid`,getMermaid(e){return e&&r.initialize(e),r}}}var dJ=uJ(),fJ={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},pJ={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:`CDATA[`,characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:`content`,contentTypeDocument:`document`,contentTypeFlow:`flow`,contentTypeString:`string`,contentTypeText:`text`,hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},mJ={data:`data`,whitespace:`whitespace`,lineEnding:`lineEnding`,lineEndingBlank:`lineEndingBlank`,linePrefix:`linePrefix`,lineSuffix:`lineSuffix`,atxHeading:`atxHeading`,atxHeadingSequence:`atxHeadingSequence`,atxHeadingText:`atxHeadingText`,autolink:`autolink`,autolinkEmail:`autolinkEmail`,autolinkMarker:`autolinkMarker`,autolinkProtocol:`autolinkProtocol`,characterEscape:`characterEscape`,characterEscapeValue:`characterEscapeValue`,characterReference:`characterReference`,characterReferenceMarker:`characterReferenceMarker`,characterReferenceMarkerNumeric:`characterReferenceMarkerNumeric`,characterReferenceMarkerHexadecimal:`characterReferenceMarkerHexadecimal`,characterReferenceValue:`characterReferenceValue`,codeFenced:`codeFenced`,codeFencedFence:`codeFencedFence`,codeFencedFenceSequence:`codeFencedFenceSequence`,codeFencedFenceInfo:`codeFencedFenceInfo`,codeFencedFenceMeta:`codeFencedFenceMeta`,codeFlowValue:`codeFlowValue`,codeIndented:`codeIndented`,codeText:`codeText`,codeTextData:`codeTextData`,codeTextPadding:`codeTextPadding`,codeTextSequence:`codeTextSequence`,content:`content`,definition:`definition`,definitionDestination:`definitionDestination`,definitionDestinationLiteral:`definitionDestinationLiteral`,definitionDestinationLiteralMarker:`definitionDestinationLiteralMarker`,definitionDestinationRaw:`definitionDestinationRaw`,definitionDestinationString:`definitionDestinationString`,definitionLabel:`definitionLabel`,definitionLabelMarker:`definitionLabelMarker`,definitionLabelString:`definitionLabelString`,definitionMarker:`definitionMarker`,definitionTitle:`definitionTitle`,definitionTitleMarker:`definitionTitleMarker`,definitionTitleString:`definitionTitleString`,emphasis:`emphasis`,emphasisSequence:`emphasisSequence`,emphasisText:`emphasisText`,escapeMarker:`escapeMarker`,hardBreakEscape:`hardBreakEscape`,hardBreakTrailing:`hardBreakTrailing`,htmlFlow:`htmlFlow`,htmlFlowData:`htmlFlowData`,htmlText:`htmlText`,htmlTextData:`htmlTextData`,image:`image`,label:`label`,labelText:`labelText`,labelLink:`labelLink`,labelImage:`labelImage`,labelMarker:`labelMarker`,labelImageMarker:`labelImageMarker`,labelEnd:`labelEnd`,link:`link`,paragraph:`paragraph`,reference:`reference`,referenceMarker:`referenceMarker`,referenceString:`referenceString`,resource:`resource`,resourceDestination:`resourceDestination`,resourceDestinationLiteral:`resourceDestinationLiteral`,resourceDestinationLiteralMarker:`resourceDestinationLiteralMarker`,resourceDestinationRaw:`resourceDestinationRaw`,resourceDestinationString:`resourceDestinationString`,resourceMarker:`resourceMarker`,resourceTitle:`resourceTitle`,resourceTitleMarker:`resourceTitleMarker`,resourceTitleString:`resourceTitleString`,setextHeading:`setextHeading`,setextHeadingText:`setextHeadingText`,setextHeadingLine:`setextHeadingLine`,setextHeadingLineSequence:`setextHeadingLineSequence`,strong:`strong`,strongSequence:`strongSequence`,strongText:`strongText`,thematicBreak:`thematicBreak`,thematicBreakSequence:`thematicBreakSequence`,blockQuote:`blockQuote`,blockQuotePrefix:`blockQuotePrefix`,blockQuoteMarker:`blockQuoteMarker`,blockQuotePrefixWhitespace:`blockQuotePrefixWhitespace`,listOrdered:`listOrdered`,listUnordered:`listUnordered`,listItemIndent:`listItemIndent`,listItemMarker:`listItemMarker`,listItemPrefix:`listItemPrefix`,listItemPrefixWhitespace:`listItemPrefixWhitespace`,listItemValue:`listItemValue`,chunkDocument:`chunkDocument`,chunkContent:`chunkContent`,chunkFlow:`chunkFlow`,chunkText:`chunkText`,chunkString:`chunkString`},hJ=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],gJ=[12288,12288,65281,65376,65504,65510],_J=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],vJ=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],yJ=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],bJ=(e,t)=>{let n=0,r=Math.floor(e.length/2)-1;for(;n<=r;){let i=Math.floor((n+r)/2),a=i*2;if(t<e[a])r=i-1;else if(t>e[a+1])n=i+1;else return!0}return!1},xJ=19968,[SJ,CJ]=wJ(yJ);function wJ(e){let t=e[0],n=e[1];for(let r=0;r<e.length;r+=2){let i=e[r],a=e[r+1];if(xJ>=i&&xJ<=a)return[i,a];a-i>n-t&&(t=i,n=a)}return[t,n]}var TJ=e=>e<161||e>1114109?!1:bJ(hJ,e),EJ=e=>e<12288||e>65510?!1:bJ(gJ,e),DJ=e=>e<8361||e>65518?!1:bJ(_J,e),OJ=e=>e<32||e>10630?!1:bJ(vJ,e),kJ=e=>e>=SJ&&e<=CJ?!0:e<4352||e>262141?!1:bJ(yJ,e);function AJ(e){return TJ(e)?`ambiguous`:EJ(e)?`fullwidth`:DJ(e)?`halfwidth`:OJ(e)?`narrow`:kJ(e)?`wide`:`neutral`}function jJ(e){if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`)}function MJ(e){return jJ(e),AJ(e)}function NJ(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function PJ(e){if(!e||e<4352)return!1;switch(MJ(e)){case`fullwidth`:case`halfwidth`:return!0;case`wide`:return!NJ(e);case`narrow`:return!1;case`ambiguous`:return 917760<=e&&e<=917999&&null;case`neutral`:return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function FJ(e,t){return t!==65025||!e||e<8216?!1:e===8216||e===8217||e===8220||e===8221}function IJ(e){return e!==null&&e>=65024&&e<=65038}var LJ=zJ(/\p{P}|\p{S}/u),RJ=zJ(/\s/);function zJ(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCodePoint(t))}}function BJ(e){return!!(e&pJ.characterGroupWhitespace)}function VJ(e){return(e&qJ.cjkPunctuation)===pJ.characterGroupPunctuation}function HJ(e){return!!(e&qJ.cjk)}function UJ(e){return e===qJ.ivs}function WJ(e){return!!(e&qJ.cjkOrIvs)}function GJ(e){return e===qJ.nonEmojiGeneralUseVS}function KJ(e){return!!(e&qJ.spaceOrPunctuation)}var qJ;(function(e){e.spaceOrPunctuation=3,e.cjk=4096,e.cjkPunctuation=4098,e.ivs=8192,e.cjkOrIvs=12288,e.nonEmojiGeneralUseVS=16384,e.variationSelector=24576,e.ivsToCjkRightShift=1})(qJ||={});function JJ(e){if(e===fJ.eof||iv(e)||RJ(e))return pJ.characterGroupWhitespace;let t=0;if(e>=4352){if(IJ(e))return qJ.nonEmojiGeneralUseVS;switch(PJ(e)){case null:return qJ.ivs;case!0:t|=qJ.cjk}}return LJ(e)&&(t|=pJ.characterGroupPunctuation),t}function YJ(e,t,n){if(!GJ(e))return e;let r=t(),i=JJ(r);return!r||BJ(i)?e:FJ(r,n)?qJ.cjkPunctuation:XJ(i)}function XJ(e){return e&~qJ.ivs}function ZJ(e){return!!(e&&e>=55296&&e<=56319)}function QJ(e){return!!(e&&e>=56320&&e<=57343)}function $J(e,t,n){if(t._bufferIndex<2)return e;let r=n({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return r&&r>=65536?r:e}function eY(e,t,n){let r=e>=65536?2:1;if(t._bufferIndex<1+r)return null;let i=t._bufferIndex-r-2,a=n({start:{...t,_bufferIndex:i>=0?i:0},end:{...t,_bufferIndex:t._bufferIndex-r}}),o=a.charCodeAt(a.length-1);if(Number.isNaN(o))return null;if(a.length<2||o<56320||57343<o)return o;let s=a.codePointAt(0);return s&&s>=65536?s:o}var tY=class{cachedValue=void 0;constructor(e,t,n){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=n}value(){return this.cachedValue===void 0&&(this.cachedValue=eY(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function nY(e,t,n){let r=n({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return r&&r>=65536?r:e}var rY={name:`attention`,resolveAll:iY,tokenize:aY};function iY(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};oY(d,-c),oY(f,c),o={type:c>1?mJ.strongSequence:mJ.emphasisSequence,start:d,end:{...e[r][1].end}},s={type:c>1?mJ.strongSequence:mJ.emphasisSequence,start:{...e[n][1].start},end:f},a={type:c>1?mJ.strongText:mJ.emphasisText,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?mJ.strong:mJ.emphasis,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Eb(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Eb(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),t.parser.constructs.insideSpan.null,l=Eb(l,nx(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Eb(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Eb(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Tb(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function aY(e,t){let n=this.parser.constructs.attentionMarkers.null,{now:r,sliceSerialize:i,previous:a}=this,o=QJ(a)?$J(a,r(),i):a,s=JJ(o),c=new tY(o,r(),i),l=YJ(s,c.value.bind(c),o),u;return d;function d(t){return t===fJ.asterisk||fJ.underscore,u=t,e.enter(`attentionSequence`),f(t)}function f(a){if(a===u)return e.consume(a),f;let s=e.exit(`attentionSequence`),c=JJ(ZJ(a)?nY(a,r(),i):a),d=VJ(l),p=d||BJ(l),m=VJ(c),h=m||BJ(c),g=WJ(l),_=!h||m&&(p||g)||n.includes(a),v=!p||d&&(h||HJ(c))||n.includes(o);return s._open=!!(u===fJ.asterisk?_:_&&(KJ(l)||!v)),s._close=!!(u===fJ.asterisk?v:v&&(KJ(c)||!_)),t(a)}}function oY(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function sY(){return{text:{[fJ.asterisk]:rY,[fJ.underscore]:rY},insideSpan:{null:[rY]}}}function cY(){let e=this.data();(e.micromarkExtensions||=[]).push(sY())}var lY=`;`.codePointAt(0)??fJ.eof,uY=`&`.codePointAt(0)??fJ.eof;function dY(){return{handlers:{emphasis:fY,strong:pY,text:_Y}}}fY.peek=mY,pY.peek=hY;function fY(e,t,n,r){return gY(e,t,n,r,mY(e,t,n),1)}function pY(e,t,n,r){return gY(e,t,n,r,hY(e,t,n),2)}function mY(e,t,n){return n.options.emphasis||`*`}function hY(e,t,n){return n.options.strong||`*`}function gY(e,t,n,r,i,a){let o=i.repeat(a),s=n.enter(a===1?`emphasis`:`strong`),c=n.createTracker(r),l=c.move(o),u=c.move(n.containerPhrasing(e,{after:i,before:l,...c.current()})),d=TY(e,t,n,r.before),f=EY(e,t,n,r.after),p=vY(d,RY(u),i,`open`);p.inside&&u&&(u=FY(u));let m=vY({current:zY(u),previous:LY(u)},f,i,`close`);m.inside&&u&&(u=IY(u));let h=c.move(o);s();let g=m.outside&&jY(t,n);return n.attentionEncodeSurroundingInfo={after:m.outside&&!g,before:p.outside},MY(n).cjkFriendlyEncodeAfterSupplementaryText=g,l+u+h}function _Y(e,t,n,r){let i=MY(n);if(!i.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=``]=[...e.value],o=e.value.slice(a.length);return`${PY(a.codePointAt(0)??fJ.eof)}${n.safe(o,{...r,before:`;`})}`}function vY(e,t,n,r){let i=wY(e),a=JJ(t);if(!WJ(i)&&!WJ(a))return r===`open`?yY(i,a,n):yY(a,i,n);let o={inside:!1,outside:!1},s={inside:!0,outside:!1},c={inside:!1,outside:!0},l={inside:!0,outside:!0};for(let i of[o,s,c,l]){let a=r===`open`?i.outside?BY:e:i.inside?BY:e,o=r===`open`?i.inside?VY:t:i.outside?VY:t;if(r===`open`?bY(n,a,o):xY(n,a,o))return i}return l}function yY(e,t,n){return CY(e)?CY(t)?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:BJ(e)?CY(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function bY(e,t,n){let r=wY(t),{close:i,open:a}=SY(r,JJ(n));return e===`_`?a&&(KJ(r)||!i):a}function xY(e,t,n){let r=JJ(n),{close:i,open:a}=SY(wY(t),r);return e===`_`?i&&(KJ(r)||!a):i}function SY(e,t){let n=VJ(e),r=n||BJ(e),i=VJ(t),a=i||BJ(t);return{open:!a||i&&(r||WJ(e)),close:!r||n&&(a||HJ(t))}}function CY(e){return!BJ(e)&&!VJ(e)}function wY(e){let t=JJ(e.current);return e.current===null||!GJ(t)?t:YJ(t,()=>e.previous,e.current)}function TY(e,t,n,r){let i=zY(r),a=LY(r);if(DY(i)||kY(i,a)){let r=AY(e,t,n,-1);r&&(i=zY(r),a=LY(r))}return{current:i,previous:a}}function EY(e,t,n,r){let i=RY(r);if(!OY(i))return i;let a=AY(e,t,n,1);return a?RY(a):i}function DY(e){return e!==null&&56320<=e&&e<=57343}function OY(e){return e!==null&&55296<=e&&e<=56319}function kY(e,t){return GJ(JJ(e))&&(t===null||t===fJ.eof)}function AY(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,o=typeof i==`number`?i:a.indexOf(e);if(o<0)return;let s=a[o+r];return NY(s)||void 0}function jY(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!=`number`)return!1;let r=e.children[n+1];return r?.type===`text`&&(RY(r.value)??0)>65535}function MY(e){return e}function NY(e){return!e||typeof e!=`object`?``:`value`in e&&typeof e.value==`string`?e.value:`alt`in e&&typeof e.alt==`string`?e.alt:`children`in e&&Array.isArray(e.children)?e.children.map(NY).join(``):``}function PY(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function FY(e){let[t=``]=[...e];return PY(t.codePointAt(0)??fJ.eof)+e.slice(t.length)}function IY(e){let t=[...e],n=t.pop();return`${t.join(``)}${PY(n?.codePointAt(0)??fJ.eof)}`}function LY(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??fJ.eof}function RY(e){return e.codePointAt(0)??fJ.eof}function zY(e){return[...e].at(-1)?.codePointAt(0)??fJ.eof}var BY={current:lY,previous:fJ.eof},VY=uY;function HY(){let e=this.data();(e.toMarkdownExtensions||=[]).push(dY())}function UY(){cY.call(this),HY.call(this)}var WY=UY;function GY(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{[fJ.tilde]:n},insideSpan:{null:[n]},attentionMarkers:{null:[fJ.tilde]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Tb(o,o.length,0,nx(s,e.slice(r+1,n),t)),Tb(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Tb(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=mJ.data);return e}function i(e,n,r){let{now:i,sliceSerialize:a,previous:o}=this,s=QJ(o)?$J(o,i(),a):o,c=JJ(s),l=new tY(s,i(),a),u=YJ(c,l.value.bind(l),s),d=this.events,f=0;return p;function p(t){return fJ.tilde,s===fJ.tilde&&d[d.length-1][1].type!==mJ.characterEscape?r(t):(e.enter(`strikethroughSequenceTemporary`),m(t))}function m(o){let c=JJ(s);if(o===fJ.tilde)return f>1?r(o):(e.consume(o),f++,m);if(f<2&&!t)return r(o);let l=e.exit(`strikethroughSequenceTemporary`),d=JJ(ZJ(o)?nY(o,i(),a):o),p=VJ(u)||BJ(u),h=VJ(d)||BJ(d),g=HJ(u)||UJ(c);return l._open=!h||d===pJ.attentionSideAfter&&(p||g),l._close=!p||c===pJ.attentionSideAfter&&(h||HJ(d)),n(o)}}}function KY(e){let t=this.data();(t.micromarkExtensions||=[]).push(GY(e))}var qY=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],JY=`;`.codePointAt(0)??fJ.eof,YY=`&`.codePointAt(0)??fJ.eof;function XY(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:qY}],handlers:{delete:ZY,text:QY}}}ZY.peek=$Y;function ZY(e,t,n,r){let i=n.enter(`strikethrough`),a=n.createTracker(r),o=a.move(`~~`),s=a.move(n.containerPhrasing(e,{after:`~`,before:o,...a.current()})),c=sX(e,t,n,r.before),l=cX(e,t,n,r.after),u=eX(c,bX(s),`open`);u.inside&&s&&(s=_X(s));let d=eX({current:xX(s),previous:yX(s)},l,`close`);d.inside&&s&&(s=vX(s));let f=a.move(`~~`);i();let p=d.outside&&pX(t,n);return n.attentionEncodeSurroundingInfo={after:d.outside&&!p,before:u.outside},mX(n).cjkFriendlyEncodeAfterSupplementaryText=p,o+s+f}function QY(e,t,n,r){let i=mX(n);if(!i.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=``]=[...e.value],o=e.value.slice(a.length);return`${gX(a.codePointAt(0)??fJ.eof)}${n.safe(o,{...r,before:`;`})}`}function $Y(){return`~`}function eX(e,t,n){let r=oX(e),i=JJ(t);if(!WJ(r)&&!WJ(i))return n===`open`?tX(r,i):tX(i,r);let a={inside:!1,outside:!1},o={inside:!0,outside:!1},s={inside:!1,outside:!0},c={inside:!0,outside:!0};for(let r of[a,o,s,c]){let i=n===`open`?r.outside?SX:e:r.inside?SX:e,a=n===`open`?r.inside?CX:t:r.outside?CX:t;if(n===`open`?nX(i,a):rX(i,a))return r}return c}function tX(e,t){return aX(e)?aX(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:BJ(e)?aX(t)?{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:BJ(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function nX(e,t){let{open:n}=iX(oX(e),JJ(t));return n}function rX(e,t){let n=JJ(t),{close:r}=iX(oX(e),n);return r}function iX(e,t){let n=VJ(e),r=n||BJ(e),i=VJ(t),a=i||BJ(t);return{open:!a||i&&(r||WJ(e)),close:!r||n&&(a||HJ(t))}}function aX(e){return!BJ(e)&&!VJ(e)}function oX(e){let t=JJ(e.current);return e.current===null||!GJ(t)?t:YJ(t,()=>e.previous,e.current)}function sX(e,t,n,r){let i=xX(r),a=yX(r);if(lX(i)||dX(i,a)){let r=fX(e,t,n,-1);r&&(i=xX(r),a=yX(r))}return{current:i,previous:a}}function cX(e,t,n,r){let i=bX(r);if(!uX(i))return i;let a=fX(e,t,n,1);return a?bX(a):i}function lX(e){return e!==null&&56320<=e&&e<=57343}function uX(e){return e!==null&&55296<=e&&e<=56319}function dX(e,t){return GJ(JJ(e))&&(t===null||t===fJ.eof)}function fX(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,o=typeof i==`number`?i:a.indexOf(e);if(o<0)return;let s=a[o+r];return hX(s)||void 0}function pX(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!=`number`)return!1;let r=e.children[n+1];return r?.type===`text`&&(bX(r.value)??0)>65535}function mX(e){return e}function hX(e){return!e||typeof e!=`object`?``:`value`in e&&typeof e.value==`string`?e.value:`alt`in e&&typeof e.alt==`string`?e.alt:`children`in e&&Array.isArray(e.children)?e.children.map(hX).join(``):``}function gX(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function _X(e){let[t=``]=[...e];return gX(t.codePointAt(0)??fJ.eof)+e.slice(t.length)}function vX(e){let t=[...e],n=t.pop();return`${t.join(``)}${gX(n?.codePointAt(0)??fJ.eof)}`}function yX(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??fJ.eof}function bX(e){return e.codePointAt(0)??fJ.eof}function xX(e){return[...e].at(-1)?.codePointAt(0)??fJ.eof}var SX={current:JY,previous:fJ.eof},CX=YY;function wX(){let e=this.data();(e.toMarkdownExtensions||=[]).push(XY())}function TX(e){KY.call(this,e),wX.call(this)}var EX=TX,DX=new Set([`。`,`.`,`,`,`、`,`?`,`!`,`:`,`;`,`(`,`)`,`【`,`】`,`「`,`」`,`『`,`』`,`〈`,`〉`,`《`,`》`]),OX=/^(https?:\/\/|mailto:|www\.)/i,kX=e=>{if(e.children.length!==1)return!1;let t=e.children[0];return t.type===`text`&&t.value===e.url},AX=e=>{let t=0;for(let n of e){if(DX.has(n))return t;t+=n.length}return null},jX=(e,t)=>({...t,url:e,children:[{type:`text`,value:e}]}),MX=e=>({type:`text`,value:e}),NX=()=>e=>{td(e,`link`,(e,t,n)=>{if(!n||typeof t!=`number`||!kX(e)||!OX.test(e.url))return;let r=AX(e.url);if(r===null||r===0)return;let i=e.url.slice(0,r),a=e.url.slice(r),o=jX(i,e),s=MX(a);return n.children.splice(t,1,o,s),t+1})};function PX(){let e=[WY],t=[NX,EX];return{name:`cjk`,type:`cjk`,remarkPluginsBefore:e,remarkPluginsAfter:t,remarkPlugins:[...e,...t]}}var FX={code:LU,math:LW,mermaid:dJ,cjk:PX()},IX=e=>/^\.?\/api\//.test(e)?a(e.replace(/^\./,``)).href:e,LX=[`github-light`,`github-dark`],RX=(0,V.createContext)(null),zX=700,BX={opens_directly:!1,host:null};function VX(e,t){let n=new Promise(e=>{setTimeout(()=>{e(BX)},zX)});return Promise.race([e(t).catch(()=>BX),n])}function HX({isOpen:e,onClose:t,onConfirm:n,url:r,host:i}){return(0,H.jsxs)(Ge,{open:e,onOpenChange:e=>{e||t()},title:tn(),description:i?st({host:i}):Ct(),children:[(0,H.jsx)(`p`,{className:`max-h-32 overflow-y-auto break-all rounded-md border border-border-subtle bg-bg px-3 py-2 font-mono text-xs text-muted`,children:r}),(0,H.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[(0,H.jsx)(s,{onClick:t,children:c()}),(0,H.jsx)(s,{variant:`primary`,onClick:()=>{n(),t()},children:zt()})]})]})}var UX=(0,V.memo)(function({text:e,streaming:t=!1,className:n,dir:r=`auto`}){let i=(0,V.use)(RX),a=(0,V.useRef)(new Map),o=(0,V.useMemo)(()=>({enabled:!0,onLinkCheck:async e=>{if(!i)return!1;let t=await VX(i,e);return a.current.set(e,t.host),t.opens_directly},renderModal:e=>(0,H.jsx)(HX,{...e,host:a.current.get(e.url)})}),[i]);return(0,H.jsx)(RP,{mode:t?`streaming`:`static`,parseIncompleteMarkdown:t,isAnimating:t,className:n??`hermes-prose`,plugins:FX,shikiTheme:LX,dir:r,controls:{code:{copy:!0,download:!0},table:{copy:!0,download:!0},mermaid:{copy:!0,download:!0,fullscreen:!0,panZoom:!0}},linkSafety:o,urlTransform:IX,children:e})});export{Ec as _,BP as a,Fu as c,Yc as d,Oc as f,Dc as g,Kc as h,IP as i,Uc as l,Ac as m,UX as n,$j as o,Vc as p,OM as r,Mu as s,RX as t,Mc as u,bc as v,nn as y};
|