remote-codex 0.11.9 → 0.11.10
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/apps/relay-server/dist/index.js +66 -5
- package/apps/supervisor-api/dist/{chunk-NWZLUCQV.js → chunk-HMFJNQDI.js} +3 -2
- package/apps/supervisor-api/dist/index.js +1 -1
- package/apps/supervisor-api/dist/worker-index.js +1 -1
- package/apps/supervisor-web/dist/assets/core-oEok_Crl.js +12 -0
- package/apps/supervisor-web/dist/assets/{css-DPfMkruS.js → css-CLj8gQPS.js} +1 -1
- package/apps/supervisor-web/dist/assets/engine-javascript-DBd1bXLz.js +141 -0
- package/apps/supervisor-web/dist/assets/graph-vendor-C5ap-Sga.css +1 -0
- package/apps/supervisor-web/dist/assets/graph-vendor-DVPtkh3h.js +23 -0
- package/apps/supervisor-web/dist/assets/{html-GMplVEZG.js → html-pp8916En.js} +1 -1
- package/apps/supervisor-web/dist/assets/index-Cp9GkemI.css +1 -0
- package/apps/supervisor-web/dist/assets/index-M5xKhovw.js +5 -0
- package/apps/supervisor-web/dist/assets/markdown-vendor-BQJfKm05.js +291 -0
- package/apps/supervisor-web/dist/assets/react-vendor-CgLzZcV4.js +60 -0
- package/apps/supervisor-web/dist/assets/{shellscript-Yzrsuije.js → shellscript-CEILq0vU.js} +1 -1
- package/apps/supervisor-web/dist/assets/{sql-BLtJtn59.js → sql-CRqJ_cUM.js} +1 -1
- package/apps/supervisor-web/dist/assets/{terminal-vendor-BHwWZ4Dd.js → terminal-vendor-B365Go3Z.js} +1 -1
- package/apps/supervisor-web/dist/assets/thread-ui-DldLSgqC.js +3604 -0
- package/apps/supervisor-web/dist/assets/ui-vendor-CeKGesq3.js +50 -0
- package/apps/supervisor-web/dist/index.html +9 -8
- package/package.json +2 -2
- package/packages/shared/src/index.ts +1 -0
- package/apps/supervisor-api/dist/chunk-2ELO2EVR.js +0 -27897
- package/apps/supervisor-api/dist/chunk-XKQPZVOC.js +0 -27890
- package/apps/supervisor-web/dist/assets/abap-BdImnpbu.js +0 -1
- package/apps/supervisor-web/dist/assets/actionscript-3-CoDkCxhg.js +0 -1
- package/apps/supervisor-web/dist/assets/ada-bCR0ucgS.js +0 -1
- package/apps/supervisor-web/dist/assets/andromeeda-C4gqWexZ.js +0 -1
- package/apps/supervisor-web/dist/assets/angular-html-CU67Zn6k.js +0 -1
- package/apps/supervisor-web/dist/assets/angular-ts-BwZT4LLn.js +0 -1
- package/apps/supervisor-web/dist/assets/apache-Pmp26Uib.js +0 -1
- package/apps/supervisor-web/dist/assets/apex-D8_7TLub.js +0 -1
- package/apps/supervisor-web/dist/assets/apl-dKokRX4l.js +0 -1
- package/apps/supervisor-web/dist/assets/applescript-Co6uUVPk.js +0 -1
- package/apps/supervisor-web/dist/assets/ara-BRHolxvo.js +0 -1
- package/apps/supervisor-web/dist/assets/asciidoc-Ve4PFQV2.js +0 -1
- package/apps/supervisor-web/dist/assets/asm-D_Q5rh1f.js +0 -1
- package/apps/supervisor-web/dist/assets/astro-CbQHKStN.js +0 -1
- package/apps/supervisor-web/dist/assets/aurora-x-D-2ljcwZ.js +0 -1
- package/apps/supervisor-web/dist/assets/awk-DMzUqQB5.js +0 -1
- package/apps/supervisor-web/dist/assets/ayu-mirage-32ctXXKs.js +0 -1
- package/apps/supervisor-web/dist/assets/ballerina-BFfxhgS-.js +0 -1
- package/apps/supervisor-web/dist/assets/bat-BkioyH1T.js +0 -1
- package/apps/supervisor-web/dist/assets/beancount-k_qm7-4y.js +0 -1
- package/apps/supervisor-web/dist/assets/berry-uYugtg8r.js +0 -1
- package/apps/supervisor-web/dist/assets/bibtex-CHM0blh-.js +0 -1
- package/apps/supervisor-web/dist/assets/bicep-Bmn6On1c.js +0 -1
- package/apps/supervisor-web/dist/assets/bird2-DPOp833l.js +0 -1
- package/apps/supervisor-web/dist/assets/blade-D4QpJJKB.js +0 -1
- package/apps/supervisor-web/dist/assets/bsl-BO_Y6i37.js +0 -1
- package/apps/supervisor-web/dist/assets/c-BIGW1oBm.js +0 -1
- package/apps/supervisor-web/dist/assets/c3-eo99z4R2.js +0 -1
- package/apps/supervisor-web/dist/assets/cadence-Bv_4Rxtq.js +0 -1
- package/apps/supervisor-web/dist/assets/cairo-KRGpt6FW.js +0 -1
- package/apps/supervisor-web/dist/assets/catppuccin-frappe-DFWUc33u.js +0 -1
- package/apps/supervisor-web/dist/assets/catppuccin-latte-C9dUb6Cb.js +0 -1
- package/apps/supervisor-web/dist/assets/catppuccin-macchiato-DQyhUUbL.js +0 -1
- package/apps/supervisor-web/dist/assets/catppuccin-mocha-D87Tk5Gz.js +0 -1
- package/apps/supervisor-web/dist/assets/clarity-D53aC0YG.js +0 -1
- package/apps/supervisor-web/dist/assets/clojure-P80f7IUj.js +0 -1
- package/apps/supervisor-web/dist/assets/cmake-D1j8_8rp.js +0 -1
- package/apps/supervisor-web/dist/assets/cobol-nwyudZeR.js +0 -1
- package/apps/supervisor-web/dist/assets/codeowners-Bp6g37R7.js +0 -1
- package/apps/supervisor-web/dist/assets/codeql-DsOJ9woJ.js +0 -1
- package/apps/supervisor-web/dist/assets/coffee-Ch7k5sss.js +0 -1
- package/apps/supervisor-web/dist/assets/common-lisp-Cg-RD9OK.js +0 -1
- package/apps/supervisor-web/dist/assets/coq-DkFqJrB1.js +0 -1
- package/apps/supervisor-web/dist/assets/cpp-CofmeUqb.js +0 -1
- package/apps/supervisor-web/dist/assets/crystal-tKQVLTB8.js +0 -1
- package/apps/supervisor-web/dist/assets/csharp-COcwbKMJ.js +0 -1
- package/apps/supervisor-web/dist/assets/cue-D82EKSYY.js +0 -1
- package/apps/supervisor-web/dist/assets/cypher-COkxafJQ.js +0 -1
- package/apps/supervisor-web/dist/assets/d-85-TOEBH.js +0 -1
- package/apps/supervisor-web/dist/assets/dark-plus-C3mMm8J8.js +0 -1
- package/apps/supervisor-web/dist/assets/dart-CF10PKvl.js +0 -1
- package/apps/supervisor-web/dist/assets/dax-CEL-wOlO.js +0 -1
- package/apps/supervisor-web/dist/assets/desktop-BmXAJ9_W.js +0 -1
- package/apps/supervisor-web/dist/assets/diff-D97Zzqfu.js +0 -1
- package/apps/supervisor-web/dist/assets/docker-BcOcwvcX.js +0 -1
- package/apps/supervisor-web/dist/assets/dotenv-Da5cRb03.js +0 -1
- package/apps/supervisor-web/dist/assets/dracula-BzJJZx-M.js +0 -1
- package/apps/supervisor-web/dist/assets/dracula-soft-BXkSAIEj.js +0 -1
- package/apps/supervisor-web/dist/assets/dream-maker-BtqSS_iP.js +0 -1
- package/apps/supervisor-web/dist/assets/edge-BkV0erSs.js +0 -1
- package/apps/supervisor-web/dist/assets/elixir-CDX3lj18.js +0 -1
- package/apps/supervisor-web/dist/assets/elm-DbKCFpqz.js +0 -1
- package/apps/supervisor-web/dist/assets/emacs-lisp-C9XAeP06.js +0 -1
- package/apps/supervisor-web/dist/assets/erb-B12qg9BL.js +0 -1
- package/apps/supervisor-web/dist/assets/erlang-DsQrWhSR.js +0 -1
- package/apps/supervisor-web/dist/assets/everforest-dark-BgDCqdQA.js +0 -1
- package/apps/supervisor-web/dist/assets/everforest-light-C8M2exoo.js +0 -1
- package/apps/supervisor-web/dist/assets/fennel-BYunw83y.js +0 -1
- package/apps/supervisor-web/dist/assets/fish-BvzEVeQv.js +0 -1
- package/apps/supervisor-web/dist/assets/fluent-C4IJs8-o.js +0 -1
- package/apps/supervisor-web/dist/assets/fortran-fixed-form-CkoXwp7k.js +0 -1
- package/apps/supervisor-web/dist/assets/fortran-free-form-BxgE0vQu.js +0 -1
- package/apps/supervisor-web/dist/assets/fsharp-CXgrBDvD.js +0 -1
- package/apps/supervisor-web/dist/assets/gdresource-BOOCDP_w.js +0 -1
- package/apps/supervisor-web/dist/assets/gdscript-C5YyOfLZ.js +0 -1
- package/apps/supervisor-web/dist/assets/gdshader-DkwncUOv.js +0 -1
- package/apps/supervisor-web/dist/assets/genie-D0YGMca9.js +0 -1
- package/apps/supervisor-web/dist/assets/gherkin-DyxjwDmM.js +0 -1
- package/apps/supervisor-web/dist/assets/git-commit-F4YmCXRG.js +0 -1
- package/apps/supervisor-web/dist/assets/git-rebase-r7XF79zn.js +0 -1
- package/apps/supervisor-web/dist/assets/github-dark-DHJKELXO.js +0 -1
- package/apps/supervisor-web/dist/assets/github-dark-default-Cuk6v7N8.js +0 -1
- package/apps/supervisor-web/dist/assets/github-dark-dimmed-DH5Ifo-i.js +0 -1
- package/apps/supervisor-web/dist/assets/github-dark-high-contrast-E3gJ1_iC.js +0 -1
- package/apps/supervisor-web/dist/assets/github-light-DAi9KRSo.js +0 -1
- package/apps/supervisor-web/dist/assets/github-light-default-D7oLnXFd.js +0 -1
- package/apps/supervisor-web/dist/assets/github-light-high-contrast-BfjtVDDH.js +0 -1
- package/apps/supervisor-web/dist/assets/gleam-BspZqrRM.js +0 -1
- package/apps/supervisor-web/dist/assets/glimmer-js-Rg0-pVw9.js +0 -1
- package/apps/supervisor-web/dist/assets/glimmer-ts-U6CK756n.js +0 -1
- package/apps/supervisor-web/dist/assets/glsl-DplSGwfg.js +0 -1
- package/apps/supervisor-web/dist/assets/gn-n2N0HUVH.js +0 -1
- package/apps/supervisor-web/dist/assets/gnuplot-DdkO51Og.js +0 -1
- package/apps/supervisor-web/dist/assets/go-CxLEBnE3.js +0 -1
- package/apps/supervisor-web/dist/assets/graphql-ChdNCCLP.js +0 -1
- package/apps/supervisor-web/dist/assets/groovy-gcz8RCvz.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-dark-hard-CFHQjOhq.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-dark-medium-GsRaNv29.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-dark-soft-CVdnzihN.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-light-hard-CH1njM8p.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-light-medium-DRw_LuNl.js +0 -1
- package/apps/supervisor-web/dist/assets/gruvbox-light-soft-hJgmCMqR.js +0 -1
- package/apps/supervisor-web/dist/assets/hack-CaT9iCJl.js +0 -1
- package/apps/supervisor-web/dist/assets/haml-B8DHNrY2.js +0 -1
- package/apps/supervisor-web/dist/assets/handlebars-BL8al0AC.js +0 -1
- package/apps/supervisor-web/dist/assets/haskell-Df6bDoY_.js +0 -1
- package/apps/supervisor-web/dist/assets/haxe-CzTSHFRz.js +0 -1
- package/apps/supervisor-web/dist/assets/hcl-BWvSN4gD.js +0 -1
- package/apps/supervisor-web/dist/assets/highlighted-body-OFNGDK62-BRQR8o0F.js +0 -1
- package/apps/supervisor-web/dist/assets/hjson-D5-asLiD.js +0 -1
- package/apps/supervisor-web/dist/assets/hlsl-D3lLCCz7.js +0 -1
- package/apps/supervisor-web/dist/assets/horizon-BUw7H-hv.js +0 -1
- package/apps/supervisor-web/dist/assets/horizon-bright-Cn-bp-IR.js +0 -1
- package/apps/supervisor-web/dist/assets/houston-DnULxvSX.js +0 -1
- package/apps/supervisor-web/dist/assets/html-derivative-BFtXZ54Q.js +0 -1
- package/apps/supervisor-web/dist/assets/http-jrhK8wxY.js +0 -1
- package/apps/supervisor-web/dist/assets/hurl-irOxFIW8.js +0 -1
- package/apps/supervisor-web/dist/assets/hxml-Bvhsp5Yf.js +0 -1
- package/apps/supervisor-web/dist/assets/hy-DFXneXwc.js +0 -1
- package/apps/supervisor-web/dist/assets/imba-DGztddWO.js +0 -1
- package/apps/supervisor-web/dist/assets/index-APXuQABa.js +0 -5
- package/apps/supervisor-web/dist/assets/index-Dh2-KXLR.css +0 -1
- package/apps/supervisor-web/dist/assets/ini-BEwlwnbL.js +0 -1
- package/apps/supervisor-web/dist/assets/java-CylS5w8V.js +0 -1
- package/apps/supervisor-web/dist/assets/jinja-4LBKfQ-Z.js +0 -1
- package/apps/supervisor-web/dist/assets/jison-wvAkD_A8.js +0 -1
- package/apps/supervisor-web/dist/assets/json5-C9tS-k6U.js +0 -1
- package/apps/supervisor-web/dist/assets/jsonc-Des-eS-w.js +0 -1
- package/apps/supervisor-web/dist/assets/jsonl-DcaNXYhu.js +0 -1
- package/apps/supervisor-web/dist/assets/jsonnet-DFQXde-d.js +0 -1
- package/apps/supervisor-web/dist/assets/jssm-C2t-YnRu.js +0 -1
- package/apps/supervisor-web/dist/assets/julia-CxzCAyBv.js +0 -1
- package/apps/supervisor-web/dist/assets/just-Cw27pwNe.js +0 -1
- package/apps/supervisor-web/dist/assets/kanagawa-dragon-CkXjmgJE.js +0 -1
- package/apps/supervisor-web/dist/assets/kanagawa-lotus-CfQXZHmo.js +0 -1
- package/apps/supervisor-web/dist/assets/kanagawa-wave-DWedfzmr.js +0 -1
- package/apps/supervisor-web/dist/assets/kdl-DV7GczEv.js +0 -1
- package/apps/supervisor-web/dist/assets/kotlin-BdnUsdx6.js +0 -1
- package/apps/supervisor-web/dist/assets/kusto-DZf3V79B.js +0 -1
- package/apps/supervisor-web/dist/assets/laserwave-DUszq2jm.js +0 -1
- package/apps/supervisor-web/dist/assets/latex-CWtU0Tv5.js +0 -1
- package/apps/supervisor-web/dist/assets/lean-BZvkOJ9d.js +0 -1
- package/apps/supervisor-web/dist/assets/less-B1dDrJ26.js +0 -1
- package/apps/supervisor-web/dist/assets/light-plus-B7mTdjB0.js +0 -1
- package/apps/supervisor-web/dist/assets/liquid-DYVedYrR.js +0 -1
- package/apps/supervisor-web/dist/assets/llvm-DjAJT7YJ.js +0 -1
- package/apps/supervisor-web/dist/assets/log-2UxHyX5q.js +0 -1
- package/apps/supervisor-web/dist/assets/logo-BtOb2qkB.js +0 -1
- package/apps/supervisor-web/dist/assets/lua-BaeVxFsk.js +0 -1
- package/apps/supervisor-web/dist/assets/luau-C-HG3fhB.js +0 -1
- package/apps/supervisor-web/dist/assets/make-CHLpvVh8.js +0 -1
- package/apps/supervisor-web/dist/assets/markdown-vendor-C22AWDSP.js +0 -29
- package/apps/supervisor-web/dist/assets/marko-CnJfTvn9.js +0 -1
- package/apps/supervisor-web/dist/assets/material-theme-D5KoaKCx.js +0 -1
- package/apps/supervisor-web/dist/assets/material-theme-darker-BfHTSMKl.js +0 -1
- package/apps/supervisor-web/dist/assets/material-theme-lighter-B0m2ddpp.js +0 -1
- package/apps/supervisor-web/dist/assets/material-theme-ocean-CyktbL80.js +0 -1
- package/apps/supervisor-web/dist/assets/material-theme-palenight-Csfq5Kiy.js +0 -1
- package/apps/supervisor-web/dist/assets/matlab-D7o27uSR.js +0 -1
- package/apps/supervisor-web/dist/assets/mdc-BMNejdWA.js +0 -1
- package/apps/supervisor-web/dist/assets/mdx-Cmh6b_Ma.js +0 -1
- package/apps/supervisor-web/dist/assets/mermaid-mWjccvbQ.js +0 -1
- package/apps/supervisor-web/dist/assets/min-dark-CafNBF8u.js +0 -1
- package/apps/supervisor-web/dist/assets/min-light-CTRr51gU.js +0 -1
- package/apps/supervisor-web/dist/assets/mipsasm-CKIfxQSi.js +0 -1
- package/apps/supervisor-web/dist/assets/mojo-rZm6bMo-.js +0 -1
- package/apps/supervisor-web/dist/assets/monokai-D4h5O-jR.js +0 -1
- package/apps/supervisor-web/dist/assets/moonbit-_H4v1dQx.js +0 -1
- package/apps/supervisor-web/dist/assets/move-IF9eRakj.js +0 -1
- package/apps/supervisor-web/dist/assets/narrat-DRg8JJMk.js +0 -1
- package/apps/supervisor-web/dist/assets/nextflow-Zz6hmt5N.js +0 -1
- package/apps/supervisor-web/dist/assets/nextflow-groovy-BeH2EWoN.js +0 -1
- package/apps/supervisor-web/dist/assets/nginx-BpAMiNFr.js +0 -1
- package/apps/supervisor-web/dist/assets/night-owl-C39BiMTA.js +0 -1
- package/apps/supervisor-web/dist/assets/night-owl-light-CMTm3GFP.js +0 -1
- package/apps/supervisor-web/dist/assets/nim-CVrawwO9.js +0 -1
- package/apps/supervisor-web/dist/assets/nix-CwoSXNpI.js +0 -1
- package/apps/supervisor-web/dist/assets/nord-Ddv68eIx.js +0 -1
- package/apps/supervisor-web/dist/assets/nushell-Cz2AlsmD.js +0 -1
- package/apps/supervisor-web/dist/assets/objective-c-DXmwc3jG.js +0 -1
- package/apps/supervisor-web/dist/assets/objective-cpp-CLxacb5B.js +0 -1
- package/apps/supervisor-web/dist/assets/ocaml-C0hk2d4L.js +0 -1
- package/apps/supervisor-web/dist/assets/odin-BBf5iR-q.js +0 -1
- package/apps/supervisor-web/dist/assets/one-dark-pro-DVMEJ2y_.js +0 -1
- package/apps/supervisor-web/dist/assets/one-light-C3Wv6jpd.js +0 -1
- package/apps/supervisor-web/dist/assets/openscad-C4EeE6gA.js +0 -1
- package/apps/supervisor-web/dist/assets/pascal-D93ZcfNL.js +0 -1
- package/apps/supervisor-web/dist/assets/perl-C0TMdlhV.js +0 -1
- package/apps/supervisor-web/dist/assets/php-Dhbhpdrm.js +0 -1
- package/apps/supervisor-web/dist/assets/pkl-u5AG7uiY.js +0 -1
- package/apps/supervisor-web/dist/assets/plastic-3e1v2bzS.js +0 -1
- package/apps/supervisor-web/dist/assets/plsql-ChMvpjG-.js +0 -1
- package/apps/supervisor-web/dist/assets/po-BTJTHyun.js +0 -1
- package/apps/supervisor-web/dist/assets/poimandres-CS3Unz2-.js +0 -1
- package/apps/supervisor-web/dist/assets/polar-C0HS_06l.js +0 -1
- package/apps/supervisor-web/dist/assets/postcss-CXtECtnM.js +0 -1
- package/apps/supervisor-web/dist/assets/powerquery-CEu0bR-o.js +0 -1
- package/apps/supervisor-web/dist/assets/powershell-Dpen1YoG.js +0 -1
- package/apps/supervisor-web/dist/assets/prisma-Dd19v3D-.js +0 -1
- package/apps/supervisor-web/dist/assets/prolog-CbFg5uaA.js +0 -1
- package/apps/supervisor-web/dist/assets/proto-C7zT0LnQ.js +0 -1
- package/apps/supervisor-web/dist/assets/pug-CGlum2m_.js +0 -1
- package/apps/supervisor-web/dist/assets/puppet-BMWR74SV.js +0 -1
- package/apps/supervisor-web/dist/assets/purescript-CklMAg4u.js +0 -1
- package/apps/supervisor-web/dist/assets/qml-3beO22l8.js +0 -1
- package/apps/supervisor-web/dist/assets/qmldir-C8lEn-DE.js +0 -1
- package/apps/supervisor-web/dist/assets/qss-IeuSbFQv.js +0 -1
- package/apps/supervisor-web/dist/assets/r-Dspwwk_N.js +0 -1
- package/apps/supervisor-web/dist/assets/racket-BqYA7rlc.js +0 -1
- package/apps/supervisor-web/dist/assets/raku-DXvB9xmW.js +0 -1
- package/apps/supervisor-web/dist/assets/razor-Uh8Bk_45.js +0 -1
- package/apps/supervisor-web/dist/assets/react-vendor-5VdTO_Bg.js +0 -60
- package/apps/supervisor-web/dist/assets/red-bN70gL4F.js +0 -1
- package/apps/supervisor-web/dist/assets/reg-C-SQnVFl.js +0 -1
- package/apps/supervisor-web/dist/assets/regexp-CDVJQ6XC.js +0 -1
- package/apps/supervisor-web/dist/assets/rel-C3B-1QV4.js +0 -1
- package/apps/supervisor-web/dist/assets/riscv-BM1_JUlF.js +0 -1
- package/apps/supervisor-web/dist/assets/ron-D8l8udqQ.js +0 -1
- package/apps/supervisor-web/dist/assets/rose-pine-dawn-DHQR4-dF.js +0 -1
- package/apps/supervisor-web/dist/assets/rose-pine-moon-D4_iv3hh.js +0 -1
- package/apps/supervisor-web/dist/assets/rose-pine-qdsjHGoJ.js +0 -1
- package/apps/supervisor-web/dist/assets/rosmsg-BJDFO7_C.js +0 -1
- package/apps/supervisor-web/dist/assets/rst-BrH8l1NY.js +0 -1
- package/apps/supervisor-web/dist/assets/ruby-Dw2BHqvy.js +0 -1
- package/apps/supervisor-web/dist/assets/rust-B1yitclQ.js +0 -1
- package/apps/supervisor-web/dist/assets/sas-cz2c8ADy.js +0 -1
- package/apps/supervisor-web/dist/assets/sass-Cj5Yp3dK.js +0 -1
- package/apps/supervisor-web/dist/assets/scala-C151Ov-r.js +0 -1
- package/apps/supervisor-web/dist/assets/scheme-C98Dy4si.js +0 -1
- package/apps/supervisor-web/dist/assets/scss-OYdSNvt2.js +0 -1
- package/apps/supervisor-web/dist/assets/sdbl-DVxCFoDh.js +0 -1
- package/apps/supervisor-web/dist/assets/shaderlab-Dg9Lc6iA.js +0 -1
- package/apps/supervisor-web/dist/assets/shellsession-BADoaaVG.js +0 -1
- package/apps/supervisor-web/dist/assets/slack-dark-BthQWCQV.js +0 -1
- package/apps/supervisor-web/dist/assets/slack-ochin-DqwNpetd.js +0 -1
- package/apps/supervisor-web/dist/assets/smalltalk-BERRCDM3.js +0 -1
- package/apps/supervisor-web/dist/assets/snazzy-light-Bw305WKR.js +0 -1
- package/apps/supervisor-web/dist/assets/solarized-dark-DXbdFlpD.js +0 -1
- package/apps/supervisor-web/dist/assets/solarized-light-L9t79GZl.js +0 -1
- package/apps/supervisor-web/dist/assets/solidity-rGO070M0.js +0 -1
- package/apps/supervisor-web/dist/assets/soy-Brmx7dQM.js +0 -1
- package/apps/supervisor-web/dist/assets/sparql-rVzFXLq3.js +0 -1
- package/apps/supervisor-web/dist/assets/splunk-BtCnVYZw.js +0 -1
- package/apps/supervisor-web/dist/assets/ssh-config-_ykCGR6B.js +0 -1
- package/apps/supervisor-web/dist/assets/stata-BH5u7GGu.js +0 -1
- package/apps/supervisor-web/dist/assets/stylus-BEDo0Tqx.js +0 -1
- package/apps/supervisor-web/dist/assets/surrealql-Bq5Q-fJD.js +0 -1
- package/apps/supervisor-web/dist/assets/svelte-C_ipcX3V.js +0 -1
- package/apps/supervisor-web/dist/assets/swift-D82vCrfD.js +0 -1
- package/apps/supervisor-web/dist/assets/synthwave-84-CbfX1IO0.js +0 -1
- package/apps/supervisor-web/dist/assets/system-verilog-CnnmHF94.js +0 -1
- package/apps/supervisor-web/dist/assets/systemd-4A_iFExJ.js +0 -1
- package/apps/supervisor-web/dist/assets/talonscript-CkByrt1z.js +0 -1
- package/apps/supervisor-web/dist/assets/tasl-QIJgUcNo.js +0 -1
- package/apps/supervisor-web/dist/assets/tcl-dwOrl1Do.js +0 -1
- package/apps/supervisor-web/dist/assets/templ-P3uqSqPl.js +0 -1
- package/apps/supervisor-web/dist/assets/terraform-BETggiCN.js +0 -1
- package/apps/supervisor-web/dist/assets/tex-idrVyKtj.js +0 -1
- package/apps/supervisor-web/dist/assets/thread-ui-BEieA99i.css +0 -1
- package/apps/supervisor-web/dist/assets/thread-ui-LDojdlO_.js +0 -1997
- package/apps/supervisor-web/dist/assets/tokyo-night-hegEt444.js +0 -1
- package/apps/supervisor-web/dist/assets/ts-tags-zn1MmPIZ.js +0 -1
- package/apps/supervisor-web/dist/assets/tsv-B_m7g4N7.js +0 -1
- package/apps/supervisor-web/dist/assets/turtle-BsS91CYL.js +0 -1
- package/apps/supervisor-web/dist/assets/twig-DNn4PbVi.js +0 -1
- package/apps/supervisor-web/dist/assets/typespec-BGHnOYBU.js +0 -1
- package/apps/supervisor-web/dist/assets/typst-DHCkPAjA.js +0 -1
- package/apps/supervisor-web/dist/assets/ui-vendor-xVD8_rhm.js +0 -6
- package/apps/supervisor-web/dist/assets/v-BcVCzyr7.js +0 -1
- package/apps/supervisor-web/dist/assets/vala-CsfeWuGM.js +0 -1
- package/apps/supervisor-web/dist/assets/vb-D17OF-Vu.js +0 -1
- package/apps/supervisor-web/dist/assets/verilog-BQ8w6xss.js +0 -1
- package/apps/supervisor-web/dist/assets/vesper-DU1UobuO.js +0 -1
- package/apps/supervisor-web/dist/assets/vhdl-CeAyd5Ju.js +0 -1
- package/apps/supervisor-web/dist/assets/viml-CJc9bBzg.js +0 -1
- package/apps/supervisor-web/dist/assets/vitesse-black-Bkuqu6BP.js +0 -1
- package/apps/supervisor-web/dist/assets/vitesse-dark-D0r3Knsf.js +0 -1
- package/apps/supervisor-web/dist/assets/vitesse-light-CVO1_9PV.js +0 -1
- package/apps/supervisor-web/dist/assets/vue-DN_0RTcg.js +0 -1
- package/apps/supervisor-web/dist/assets/vue-html-AaS7Mt5G.js +0 -1
- package/apps/supervisor-web/dist/assets/vue-vine-CQOfvN7w.js +0 -1
- package/apps/supervisor-web/dist/assets/vyper-CDx5xZoG.js +0 -1
- package/apps/supervisor-web/dist/assets/wasm-CG6Dc4jp.js +0 -1
- package/apps/supervisor-web/dist/assets/wasm-MzD3tlZU.js +0 -1
- package/apps/supervisor-web/dist/assets/wenyan-BV7otONQ.js +0 -1
- package/apps/supervisor-web/dist/assets/wgsl-Dx-B1_4e.js +0 -1
- package/apps/supervisor-web/dist/assets/wikitext-BhOHFoWU.js +0 -1
- package/apps/supervisor-web/dist/assets/wit-5i3qLPDT.js +0 -1
- package/apps/supervisor-web/dist/assets/wolfram-lXgVvXCa.js +0 -1
- package/apps/supervisor-web/dist/assets/xml-sdJ4AIDG.js +0 -1
- package/apps/supervisor-web/dist/assets/xsl-CtQFsRM5.js +0 -1
- package/apps/supervisor-web/dist/assets/zenscript-DVFEvuxE.js +0 -1
- package/apps/supervisor-web/dist/assets/zig-VOosw3JB.js +0 -1
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{g as _a}from"./react-vendor-5VdTO_Bg.js";const Aa=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Ft{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ft.prototype.normal={};Ft.prototype.property={};Ft.prototype.space=void 0;function ku(e,t){const n={},r={};for(const u of e)Object.assign(n,u.property),Object.assign(r,u.normal);return new Ft(n,r,t)}function wt(e){return e.toLowerCase()}class me{constructor(t,n){this.attribute=n,this.property=t}}me.prototype.attribute="";me.prototype.booleanish=!1;me.prototype.boolean=!1;me.prototype.commaOrSpaceSeparated=!1;me.prototype.commaSeparated=!1;me.prototype.defined=!1;me.prototype.mustUseProperty=!1;me.prototype.number=!1;me.prototype.overloadedBoolean=!1;me.prototype.property="";me.prototype.spaceSeparated=!1;me.prototype.space=void 0;let Ca=0;const H=Ze(),re=Ze(),Mn=Ze(),O=Ze(),$=Ze(),Ke=Ze(),Te=Ze();function Ze(){return 2**++Ca}const Bn=Object.freeze(Object.defineProperty({__proto__:null,boolean:H,booleanish:re,commaOrSpaceSeparated:Te,commaSeparated:Ke,number:O,overloadedBoolean:Mn,spaceSeparated:$},Symbol.toStringTag,{value:"Module"})),Tn=Object.keys(Bn);class jn extends me{constructor(t,n,r,u){let a=-1;if(super(t,n),_r(this,"space",u),typeof r=="number")for(;++a<Tn.length;){const i=Tn[a];_r(this,Tn[a],(r&Bn[i])===Bn[i])}}}jn.prototype.defined=!0;function _r(e,t,n){n&&(e[t]=n)}function ft(e){const t={},n={};for(const[r,u]of Object.entries(e.properties)){const a=new jn(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[wt(r)]=r,n[wt(a.attribute)]=r}return new Ft(t,n,e.space)}const xu=ft({properties:{ariaActiveDescendant:null,ariaAtomic:re,ariaAutoComplete:null,ariaBusy:re,ariaChecked:re,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:$,ariaCurrent:null,ariaDescribedBy:$,ariaDetails:null,ariaDisabled:re,ariaDropEffect:$,ariaErrorMessage:null,ariaExpanded:re,ariaFlowTo:$,ariaGrabbed:re,ariaHasPopup:null,ariaHidden:re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$,ariaLevel:O,ariaLive:null,ariaModal:re,ariaMultiLine:re,ariaMultiSelectable:re,ariaOrientation:null,ariaOwns:$,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:re,ariaReadOnly:re,ariaRelevant:null,ariaRequired:re,ariaRoleDescription:$,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:re,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function yu(e,t){return t in e?e[t]:t}function Lu(e,t){return yu(e,t.toLowerCase())}const Ia=ft({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ke,acceptCharset:$,accessKey:$,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alpha:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:$,autoFocus:H,autoPlay:H,blocking:$,capture:null,charSet:null,checked:H,cite:null,className:$,closedBy:null,colorSpace:null,cols:O,colSpan:O,command:null,commandFor:null,content:null,contentEditable:re,controls:H,controlsList:$,coords:O|Ke,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:Mn,draggable:re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:$,height:O,hidden:Mn,high:O,href:null,hrefLang:null,htmlFor:$,httpEquiv:$,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:$,itemRef:$,itemScope:H,itemType:$,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,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:H,optimum:O,pattern:null,ping:$,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:$,required:H,reversed:H,rows:O,rowSpan:O,sandbox:$,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootCustomElementRegistry:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shadowRootSerializable:H,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:re,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:re,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:H,disablePictureInPicture:H,disableRemotePlayback:H,exportParts:Ke,part:$,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:Lu}),Sa=ft({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:Te,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:$,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:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,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:Ke,g2:Ke,glyphName:Ke,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:Te,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,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:O,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:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Te,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Te,rev:Te,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Te,requiredFeatures:Te,requiredFonts:Te,requiredFormats:Te,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:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:Te,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Te,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Te,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:yu}),Ou=ft({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()}}),Du=ft({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Lu}),Ru=ft({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),x1={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"},Na=/[A-Z]/g,Ar=/-[a-z]/g,ka=/^data[-\w.:]+$/i;function $n(e,t){const n=wt(t);let r=t,u=me;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ka.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ar,ya);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ar.test(a)){let i=a.replace(Na,xa);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}u=jn}return new u(r,t)}function xa(e){return"-"+e.toLowerCase()}function ya(e){return e.charAt(1).toUpperCase()}const an=ku([xu,Ia,Ou,Du,Ru],"html"),Ht=ku([xu,Sa,Ou,Du,Ru],"svg"),Cr={}.hasOwnProperty;function Pu(e,t){const n=t||{};function r(u,...a){let i=r.invalid;const o=r.handlers;if(u&&Cr.call(u,e)){const l=String(u[e]);i=Cr.call(o,l)?o[l]:r.unknown}if(i)return i.call(this,u,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Ir(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function Sr(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const i=n.slice(u,r).trim();(i||!a)&&t.push(i),u=r+1,r=n.indexOf(",",u)}return t}function La(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Nr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Oa(e){return e.join(" ").trim()}const sn=(function(e){if(e==null)return wa;if(typeof e=="function")return on(e);if(typeof e=="object")return Array.isArray(e)?Da(e):Ra(e);if(typeof e=="string")return Pa(e);throw new Error("Expected function, string, or object as test")});function Da(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=sn(e[n]);return on(r);function r(...u){let a=-1;for(;++a<t.length;)if(t[a].apply(this,u))return!0;return!1}}function Ra(e){const t=e;return on(n);function n(r){const u=r;let a;for(a in e)if(u[a]!==t[a])return!1;return!0}}function Pa(e){return on(t);function t(n){return n&&n.type===e}}function on(e){return t;function t(n,r,u){return!!(Ma(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function wa(){return!0}function Ma(e){return e!==null&&typeof e=="object"&&"type"in e}const wu=[],It=!0,Fn=!1,St="skip";function Mu(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const a=sn(u),i=r?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(E,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return E;function E(){let m=wu,_,y,P;if((!t||a(l,c,h[h.length-1]||void 0))&&(m=Ba(n(l,h)),m[0]===Fn))return m;if("children"in l&&l.children){const I=l;if(I.children&&m[0]!==St)for(y=(r?I.children.length:-1)+i,P=h.concat(I);y>-1&&y<I.children.length;){const w=I.children[y];if(_=o(w,y,P)(),_[0]===Fn)return _;y=typeof _[1]=="number"?_[1]:y+i}}return m}}}function Ba(e){return Array.isArray(e)?e:typeof e=="number"?[It,e]:e==null?wu:[e]}function st(e,t,n,r){let u,a,i;typeof t=="function"&&typeof n!="function"?(a=void 0,i=t,u=n):(a=t,i=n,u=r),Mu(e,a,o,u);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return i(l,f,h)}}const ot={indicator:"indicator",textOnly:"text-only",remove:"remove"};function y1({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:u=[],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:i="text-gray-500",linkBlockPolicy:o=ot.indicator,imageBlockPolicy:l=ot.indicator}){const c=t.length&&!t.every(f=>f==="*"),h=n.length&&!n.every(f=>f==="*");if(!e&&(c||h))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return f=>{const E=Ya(e,t,n,r,u,a,i,o,l);Bu(f),st(f,E)}}function kr(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 Fa(e){return typeof e!="string"?!1:e.startsWith("/")||e.startsWith("./")||e.startsWith("../")}const Ha=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),Ua=new Set(["javascript:","data:","file:","vbscript:"]);function xr(e,t,n,r=!1,u=!1,a=[]){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!u)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return u&&r&&e.startsWith("data:image/")?e:null;if(typeof e=="string"&&e.startsWith("blob:")){try{if(new URL(e).protocol==="blob:"&&e.length>5){const h=e.substring(5);if(h&&h.length>0&&h!=="invalid")return e}}catch{return null}return null}const i=kr(e,n);if(!i||Ua.has(i.protocol)||!(Ha.has(i.protocol)||a.includes(i.protocol)||a.includes("*")))return null;if(i.protocol==="mailto:"||!i.protocol.match(/^https?:$/))return i.href;const l=Fa(e);return i&&t.some(c=>{const h=kr(c,n);return!h||h.origin!==i.origin?!1:i.href.startsWith(h.href)})?l?i.pathname+i.search+i.hash:i.href:t.includes("*")?i.protocol!=="https:"&&i.protocol!=="http:"?null:l?i.pathname+i.search+i.hash:i.href:null}function Bu(e){if("children"in e&&Array.isArray(e.children)){e.children=e.children.filter(t=>t!=null);for(const t of e.children)Bu(t)}}const bn=Symbol("node-seen");function va(e,t,n){return t===ot.remove?{type:"remove"}:t===ot.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 za(e,t,n){if(t===ot.remove)return{type:"remove"};if(t===ot.textOnly){const r=String(e.properties.alt||"");return r?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:r}]}}:{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")+"]"}]}}}const Ya=(e,t,n,r,u,a,i,o,l)=>{const c=(h,f,E)=>{if(h.type!=="element"||h[bn])return It;if(h.tagName==="a"){const m=xr(h.properties.href,t,e,!1,!1,u);if(m===null){if(h[bn]=!0,st(h,c),E&&typeof f=="number"){const _=va(h,o,i);if(_.type==="remove")return E.children.splice(f,1),[St,f];E.children[f]=_.element}return St}else return h.properties.href=m,h.properties.target="_blank",h.properties.rel="noopener noreferrer",It}if(h.tagName==="img"){const m=xr(h.properties.src,n,e,r,!0,u);if(m===null){if(h[bn]=!0,st(h,c),E&&typeof f=="number"){const _=za(h,l,a);if(_.type==="remove")return E.children.splice(f,1),[St,f];E.children[f]=_.element}return St}else return h.properties.src=m,It}return It};return c},Fu=-1,ln=0,kt=1,Zt=2,Jn=3,Zn=4,er=5,tr=6,Hu=7,Uu=8,qa=typeof self=="object"?self:globalThis,yr=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new qa[e](t)},Wa=(e,t)=>{const n=(u,a)=>(e.set(a,u),u),r=u=>{if(e.has(u))return e.get(u);const[a,i]=t[u];switch(a){case ln:case Fu:return n(i,u);case kt:{const o=n([],u);for(const l of i)o.push(r(l));return o}case Zt:{const o=n({},u);for(const[l,c]of i)o[r(l)]=r(c);return o}case Jn:return n(new Date(i),u);case Zn:{const{source:o,flags:l}=i;return n(new RegExp(o,l),u)}case er:{const o=n(new Map,u);for(const[l,c]of i)o.set(r(l),r(c));return o}case tr:{const o=n(new Set,u);for(const l of i)o.add(r(l));return o}case Hu:{const{name:o,message:l}=i;return n(yr(o,l),u)}case Uu:return n(BigInt(i),u);case"BigInt":return n(Object(BigInt(i)),u);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:o}=new Uint8Array(i);return n(new DataView(o),i)}}return n(yr(a,i),u)};return r},Lr=e=>Wa(new Map,e)(0),ut="",{toString:Va}={},{keys:Qa}=Object,gt=e=>{const t=typeof e;if(t!=="object"||!e)return[ln,t];const n=Va.call(e).slice(8,-1);switch(n){case"Array":return[kt,ut];case"Object":return[Zt,ut];case"Date":return[Jn,ut];case"RegExp":return[Zn,ut];case"Map":return[er,ut];case"Set":return[tr,ut];case"DataView":return[kt,n]}return n.includes("Array")?[kt,n]:n.includes("Error")?[Hu,n]:[Zt,n]},Vt=([e,t])=>e===ln&&(t==="function"||t==="symbol"),Ga=(e,t,n,r)=>{const u=(i,o)=>{const l=r.push(i)-1;return n.set(o,l),l},a=i=>{if(n.has(i))return n.get(i);let[o,l]=gt(i);switch(o){case ln:{let h=i;switch(l){case"bigint":o=Uu,h=i.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([Fu],i)}return u([o,h],i)}case kt:{if(l){let E=i;return l==="DataView"?E=new Uint8Array(i.buffer):l==="ArrayBuffer"&&(E=new Uint8Array(i)),u([l,[...E]],i)}const h=[],f=u([o,h],i);for(const E of i)h.push(a(E));return f}case Zt:{if(l)switch(l){case"BigInt":return u([l,i.toString()],i);case"Boolean":case"Number":case"String":return u([l,i.valueOf()],i)}if(t&&"toJSON"in i)return a(i.toJSON());const h=[],f=u([o,h],i);for(const E of Qa(i))(e||!Vt(gt(i[E])))&&h.push([a(E),a(i[E])]);return f}case Jn:return u([o,i.toISOString()],i);case Zn:{const{source:h,flags:f}=i;return u([o,{source:h,flags:f}],i)}case er:{const h=[],f=u([o,h],i);for(const[E,m]of i)(e||!(Vt(gt(E))||Vt(gt(m))))&&h.push([a(E),a(m)]);return f}case tr:{const h=[],f=u([o,h],i);for(const E of i)(e||!Vt(gt(E)))&&h.push(a(E));return f}}const{message:c}=i;return u([o,{name:l,message:c}],i)};return a},Or=(e,{json:t,lossy:n}={})=>{const r=[];return Ga(!(t||n),!!t,new Map,r)(e),r},$e=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Lr(Or(e,t)):structuredClone(e):(e,t)=>Lr(Or(e,t));function L1(){}const Dr=/[#.]/g;function Xa(e,t){const n=e||"",r={};let u=0,a,i;for(;u<n.length;){Dr.lastIndex=u;const o=Dr.exec(n),l=n.slice(u,o?o.index:n.length);l&&(a?a==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:i=l,u+=l.length),o&&(a=o[0],u++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}function vu(e,t,n){const r=n?Ja(n):void 0;function u(a,i,...o){let l;if(a==null){l={type:"root",children:[]};const c=i;o.unshift(c)}else{l=Xa(a,t);const c=l.tagName.toLowerCase(),h=r?r.get(c):void 0;if(l.tagName=h||c,Ka(i))o.unshift(i);else for(const[f,E]of Object.entries(i))ja(e,l.properties,f,E)}for(const c of o)Hn(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return u}function Ka(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const a=u;for(const i of a)if(typeof i!="number"&&typeof i!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function ja(e,t,n,r){const u=$n(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=Nr(r):u.commaSeparated?a=Sr(r):u.commaOrSpaceSeparated?a=Nr(Sr(r).join(" ")):a=Rr(u,u.property,r):Array.isArray(r)?a=[...r]:a=u.property==="style"?$a(r):String(r);if(Array.isArray(a)){const i=[];for(const o of a)i.push(Rr(u,u.property,o));a=i}u.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[u.property]=a}}function Hn(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(const n of t)Hn(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Hn(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Rr(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||wt(n)===wt(t)))return!0}return n}function $a(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Ja(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Za=["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"],es=vu(an,"div"),ts=vu(Ht,"g",Za);function ns(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let i=0;for(;;){let o=n[i];if(o===void 0){const l=Pr(t,n[i-1]);o=l===-1?t.length+1:l+1,n[i]=o}if(o>a)return{line:i+1,column:a-(i>0?n[i-1]:0)+1,offset:a};i++}}}function u(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const o=n[n.length-1],l=Pr(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const i=(a.line>1?n[a.line-2]:0)+a.column-1;if(i<n[a.line-1])return i}}}function Pr(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
2
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Xe={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/"},zu={}.hasOwnProperty,rs=Object.prototype;function us(e,t){const n=t||{};return nr({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ht:an,verbose:n.verbose||!1},e)}function nr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},jt(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Yu(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const a=String(e.file),i=ns(a),o=i.toPoint(0),l=i.toPoint(a.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},jt(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},jt(e,r,n),n}default:return n=is(e,t),n}}function Yu(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=nr(e,t[n]);r.push(u)}return r}function is(e,t){const n=e.schema;e.schema=t.namespaceURI===Xe.svg?Ht:an;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;zu.call(rs,l)||(u[l]=o.value)}const i=(e.schema.space==="svg"?ts:es)(t.tagName,u,Yu(e,t.childNodes));if(jt(e,t,i),i.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&at(l.startTag),h=l&&l.endTag&&at(l.endTag),f=nr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),i.content=f}return e.schema=n,i}function jt(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=as(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function as(e,t,n){const r=at(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const a={};let i;if(n.attrs)for(i in n.attrs)zu.call(n.attrs,i)&&(a[$n(e.schema,i).property]=at(n.attrs[i]));n.startTag;const o=at(n.startTag),l=n.endTag?at(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=a,t.data={position:c}}}return r}function at(e){const t=wr({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=wr({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function wr(e){return e.line&&e.column?e:void 0}const ss={},os={}.hasOwnProperty,qu=Pu("type",{handlers:{root:cs,element:ps,text:ds,comment:ms,doctype:hs}});function ls(e,t){const r=(t||ss).space;return qu(e,r==="svg"?Ht:an)}function cs(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=rr(e.children,n,t),ht(e,n),n}function fs(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=rr(e.children,n,t),ht(e,n),n}function hs(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ht(e,t),t}function ds(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ht(e,t),t}function ms(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ht(e,t),t}function ps(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ht);const u=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&os.call(e.properties,a)){const l=Es(r,a,e.properties[a]);l&&u.push(l)}}const i=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:Xe[i],childNodes:[],parentNode:null};return o.childNodes=rr(e.children,o,r),ht(e,o),e.tagName==="template"&&e.content&&(o.content=fs(e.content,r)),o}function Es(e,t,n){const r=$n(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?La(n):Oa(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=u.name.indexOf(":");a<0?u.prefix="":(u.name=u.name.slice(a+1),u.prefix=r.attribute.slice(0,a)),u.namespace=Xe[r.space]}return u}function rr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const a=qu(e[r],n);a.parentNode=t,u.push(a)}return u}function ht(e,t){const 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})}const Ts=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]),ee="�";var d;(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"})(d||(d={}));const he={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Wu(e){return e>=55296&&e<=57343}function bs(e){return e>=56320&&e<=57343}function gs(e,t){return(e-55296)*1024+9216+t}function Vu(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Qu(e){return e>=64976&&e<=65007||Ts.has(e)}var C;(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"})(C||(C={}));const _s=65536;class As{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=_s,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:u,offset:a}=this,i=u+n,o=a+n;return{code:t,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(bs(n))return this.pos++,this._addGap(),gs(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,d.EOF;return this._err(C.surrogateInInputStream),t}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(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;const r=this.html.charCodeAt(n);return r===d.CARRIAGE_RETURN?d.LINE_FEED:r}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,d.EOF;let t=this.html.charCodeAt(this.pos);return t===d.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,d.LINE_FEED):t===d.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Wu(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===d.LINE_FEED||t===d.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Vu(t)?this._err(C.controlCharacterInInputStream):Qu(t)&&this._err(C.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Y;(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"})(Y||(Y={}));function Gu(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}const Cs=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肻 ଷ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))),Is=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]]);function Ss(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Is.get(e))!==null&&t!==void 0?t:e}var ie;(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"})(ie||(ie={}));const Ns=32;var Ye;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ye||(Ye={}));function Un(e){return e>=ie.ZERO&&e<=ie.NINE}function ks(e){return e>=ie.UPPER_A&&e<=ie.UPPER_F||e>=ie.LOWER_A&&e<=ie.LOWER_F}function xs(e){return e>=ie.UPPER_A&&e<=ie.UPPER_Z||e>=ie.LOWER_A&&e<=ie.LOWER_Z||Un(e)}function ys(e){return e===ie.EQUALS||xs(e)}var ue;(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"})(ue||(ue={}));var we;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(we||(we={}));class Ls{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ue.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=we.Strict}startEntity(t){this.decodeMode=t,this.state=ue.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ue.EntityStart:return t.charCodeAt(n)===ie.NUM?(this.state=ue.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ue.NamedEntity,this.stateNamedEntity(t,n));case ue.NumericStart:return this.stateNumericStart(t,n);case ue.NumericDecimal:return this.stateNumericDecimal(t,n);case ue.NumericHex:return this.stateNumericHex(t,n);case ue.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Ns)===ie.LOWER_X?(this.state=ue.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ue.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const a=r-n;this.result=this.result*Math.pow(u,a)+Number.parseInt(t.substr(n,a),u),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Un(u)||ks(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Un(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ie.SEMI)this.consumed+=1;else if(this.decodeMode===we.Strict)return 0;return this.emitCodePoint(Ss(this.result),this.consumed),this.errors&&(t!==ie.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],a=(u&Ye.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const i=t.charCodeAt(n);if(this.treeIndex=Os(r,u,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===we.Attribute&&(a===0||ys(i))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],a=(u&Ye.VALUE_LENGTH)>>14,a!==0){if(i===ie.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==we.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&Ye.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~Ye.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case ue.NamedEntity:return this.result!==0&&(this.decodeMode!==we.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ue.NumericDecimal:return this.emitNumericEntity(0,2);case ue.NumericHex:return this.emitNumericEntity(0,3);case ue.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ue.EntityStart:return 0}}}function Os(e,t,n,r){const u=(t&Ye.BRANCH_LENGTH)>>7,a=t&Ye.JUMP_TABLE;if(u===0)return a!==0&&r===a?n:-1;if(a){const l=r-a;return l<0||l>=u?-1:e[n+l]-1}let i=n,o=i+u-1;for(;i<=o;){const l=i+o>>>1,c=e[l];if(c<r)i=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}var x;(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/"})(x||(x={}));var je;(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"})(je||(je={}));var ge;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ge||(ge={}));var A;(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"})(A||(A={}));var s;(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"})(s||(s={}));const Ds=new Map([[A.A,s.A],[A.ADDRESS,s.ADDRESS],[A.ANNOTATION_XML,s.ANNOTATION_XML],[A.APPLET,s.APPLET],[A.AREA,s.AREA],[A.ARTICLE,s.ARTICLE],[A.ASIDE,s.ASIDE],[A.B,s.B],[A.BASE,s.BASE],[A.BASEFONT,s.BASEFONT],[A.BGSOUND,s.BGSOUND],[A.BIG,s.BIG],[A.BLOCKQUOTE,s.BLOCKQUOTE],[A.BODY,s.BODY],[A.BR,s.BR],[A.BUTTON,s.BUTTON],[A.CAPTION,s.CAPTION],[A.CENTER,s.CENTER],[A.CODE,s.CODE],[A.COL,s.COL],[A.COLGROUP,s.COLGROUP],[A.DD,s.DD],[A.DESC,s.DESC],[A.DETAILS,s.DETAILS],[A.DIALOG,s.DIALOG],[A.DIR,s.DIR],[A.DIV,s.DIV],[A.DL,s.DL],[A.DT,s.DT],[A.EM,s.EM],[A.EMBED,s.EMBED],[A.FIELDSET,s.FIELDSET],[A.FIGCAPTION,s.FIGCAPTION],[A.FIGURE,s.FIGURE],[A.FONT,s.FONT],[A.FOOTER,s.FOOTER],[A.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[A.FORM,s.FORM],[A.FRAME,s.FRAME],[A.FRAMESET,s.FRAMESET],[A.H1,s.H1],[A.H2,s.H2],[A.H3,s.H3],[A.H4,s.H4],[A.H5,s.H5],[A.H6,s.H6],[A.HEAD,s.HEAD],[A.HEADER,s.HEADER],[A.HGROUP,s.HGROUP],[A.HR,s.HR],[A.HTML,s.HTML],[A.I,s.I],[A.IMG,s.IMG],[A.IMAGE,s.IMAGE],[A.INPUT,s.INPUT],[A.IFRAME,s.IFRAME],[A.KEYGEN,s.KEYGEN],[A.LABEL,s.LABEL],[A.LI,s.LI],[A.LINK,s.LINK],[A.LISTING,s.LISTING],[A.MAIN,s.MAIN],[A.MALIGNMARK,s.MALIGNMARK],[A.MARQUEE,s.MARQUEE],[A.MATH,s.MATH],[A.MENU,s.MENU],[A.META,s.META],[A.MGLYPH,s.MGLYPH],[A.MI,s.MI],[A.MO,s.MO],[A.MN,s.MN],[A.MS,s.MS],[A.MTEXT,s.MTEXT],[A.NAV,s.NAV],[A.NOBR,s.NOBR],[A.NOFRAMES,s.NOFRAMES],[A.NOEMBED,s.NOEMBED],[A.NOSCRIPT,s.NOSCRIPT],[A.OBJECT,s.OBJECT],[A.OL,s.OL],[A.OPTGROUP,s.OPTGROUP],[A.OPTION,s.OPTION],[A.P,s.P],[A.PARAM,s.PARAM],[A.PLAINTEXT,s.PLAINTEXT],[A.PRE,s.PRE],[A.RB,s.RB],[A.RP,s.RP],[A.RT,s.RT],[A.RTC,s.RTC],[A.RUBY,s.RUBY],[A.S,s.S],[A.SCRIPT,s.SCRIPT],[A.SEARCH,s.SEARCH],[A.SECTION,s.SECTION],[A.SELECT,s.SELECT],[A.SOURCE,s.SOURCE],[A.SMALL,s.SMALL],[A.SPAN,s.SPAN],[A.STRIKE,s.STRIKE],[A.STRONG,s.STRONG],[A.STYLE,s.STYLE],[A.SUB,s.SUB],[A.SUMMARY,s.SUMMARY],[A.SUP,s.SUP],[A.TABLE,s.TABLE],[A.TBODY,s.TBODY],[A.TEMPLATE,s.TEMPLATE],[A.TEXTAREA,s.TEXTAREA],[A.TFOOT,s.TFOOT],[A.TD,s.TD],[A.TH,s.TH],[A.THEAD,s.THEAD],[A.TITLE,s.TITLE],[A.TR,s.TR],[A.TRACK,s.TRACK],[A.TT,s.TT],[A.U,s.U],[A.UL,s.UL],[A.SVG,s.SVG],[A.VAR,s.VAR],[A.WBR,s.WBR],[A.XMP,s.XMP]]);function dt(e){var t;return(t=Ds.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const L=s,Rs={[x.HTML]:new Set([L.ADDRESS,L.APPLET,L.AREA,L.ARTICLE,L.ASIDE,L.BASE,L.BASEFONT,L.BGSOUND,L.BLOCKQUOTE,L.BODY,L.BR,L.BUTTON,L.CAPTION,L.CENTER,L.COL,L.COLGROUP,L.DD,L.DETAILS,L.DIR,L.DIV,L.DL,L.DT,L.EMBED,L.FIELDSET,L.FIGCAPTION,L.FIGURE,L.FOOTER,L.FORM,L.FRAME,L.FRAMESET,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HEADER,L.HGROUP,L.HR,L.HTML,L.IFRAME,L.IMG,L.INPUT,L.LI,L.LINK,L.LISTING,L.MAIN,L.MARQUEE,L.MENU,L.META,L.NAV,L.NOEMBED,L.NOFRAMES,L.NOSCRIPT,L.OBJECT,L.OL,L.P,L.PARAM,L.PLAINTEXT,L.PRE,L.SCRIPT,L.SECTION,L.SELECT,L.SOURCE,L.STYLE,L.SUMMARY,L.TABLE,L.TBODY,L.TD,L.TEMPLATE,L.TEXTAREA,L.TFOOT,L.TH,L.THEAD,L.TITLE,L.TR,L.TRACK,L.UL,L.WBR,L.XMP]),[x.MATHML]:new Set([L.MI,L.MO,L.MN,L.MS,L.MTEXT,L.ANNOTATION_XML]),[x.SVG]:new Set([L.TITLE,L.FOREIGN_OBJECT,L.DESC]),[x.XLINK]:new Set,[x.XML]:new Set,[x.XMLNS]:new Set},vn=new Set([L.H1,L.H2,L.H3,L.H4,L.H5,L.H6]);A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT;var p;(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"})(p||(p={}));const ne={DATA:p.DATA,RCDATA:p.RCDATA,RAWTEXT:p.RAWTEXT,SCRIPT_DATA:p.SCRIPT_DATA,PLAINTEXT:p.PLAINTEXT,CDATA_SECTION:p.CDATA_SECTION};function Ps(e){return e>=d.DIGIT_0&&e<=d.DIGIT_9}function Nt(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_Z}function ws(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_Z}function Ue(e){return ws(e)||Nt(e)}function Mr(e){return Ue(e)||Ps(e)}function Qt(e){return e+32}function Xu(e){return e===d.SPACE||e===d.LINE_FEED||e===d.TABULATION||e===d.FORM_FEED}function Br(e){return Xu(e)||e===d.SOLIDUS||e===d.GREATER_THAN_SIGN}function Ms(e){return e===d.NULL?C.nullCharacterReference:e>1114111?C.characterReferenceOutsideUnicodeRange:Wu(e)?C.surrogateCharacterReference:Qu(e)?C.noncharacterCharacterReference:Vu(e)||e===d.CARRIAGE_RETURN?C.controlCharacterReference:null}class Bs{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=p.DATA,this.returnState=p.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new As(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ls(Cs,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(C.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(C.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=Ms(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),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(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Y.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Y.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Y.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Y.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Gu(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(C.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=dt(t.tagName),t.type===Y.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(C.endTagWithAttributes),t.selfClosing&&this._err(C.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Y.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Y.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Y.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Y.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Xu(t)?Y.WHITESPACE_CHARACTER:t===d.NULL?Y.NULL_CHARACTER:Y.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Y.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=p.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?we.Attribute:we.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===p.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case p.DATA:{this._stateData(t);break}case p.RCDATA:{this._stateRcdata(t);break}case p.RAWTEXT:{this._stateRawtext(t);break}case p.SCRIPT_DATA:{this._stateScriptData(t);break}case p.PLAINTEXT:{this._statePlaintext(t);break}case p.TAG_OPEN:{this._stateTagOpen(t);break}case p.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case p.TAG_NAME:{this._stateTagName(t);break}case p.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case p.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case p.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case p.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case p.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case p.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case p.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case p.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case p.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case p.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case p.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case p.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case p.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case p.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case p.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case p.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case p.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case p.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case p.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case p.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case p.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case p.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case p.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case p.BOGUS_COMMENT:{this._stateBogusComment(t);break}case p.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case p.COMMENT_START:{this._stateCommentStart(t);break}case p.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case p.COMMENT:{this._stateComment(t);break}case p.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case p.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case p.COMMENT_END:{this._stateCommentEnd(t);break}case p.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case p.DOCTYPE:{this._stateDoctype(t);break}case p.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case p.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case p.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case p.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case p.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case p.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case p.CDATA_SECTION:{this._stateCdataSection(t);break}case p.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case p.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case p.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case p.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.TAG_OPEN;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitCodePoint(t);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case d.AMPERSAND:{this._startCharacterReference();break}case d.LESS_THAN_SIGN:{this.state=p.RCDATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.RAWTEXT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ue(t))this._createStartTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.EXCLAMATION_MARK:{this.state=p.MARKUP_DECLARATION_OPEN;break}case d.SOLIDUS:{this.state=p.END_TAG_OPEN;break}case d.QUESTION_MARK:{this._err(C.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t);break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=p.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ue(t))this._createEndTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.GREATER_THAN_SIGN:{this._err(C.missingEndTagName),this.state=p.DATA;break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.tagName+=ee;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Nt(t)?Qt(t):t)}}_stateRcdataLessThanSign(t){t===d.SOLIDUS?this.state=p.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ue(t)?(this.state=p.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=p.BEFORE_ATTRIBUTE_NAME,!1;case d.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=p.SELF_CLOSING_START_TAG,!1;case d.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=p.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===d.SOLIDUS?this.state=p.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ue(t)?(this.state=p.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case d.SOLIDUS:{this.state=p.SCRIPT_DATA_END_TAG_OPEN;break}case d.EXCLAMATION_MARK:{this.state=p.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=p.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ue(t)?(this.state=p.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===d.SOLIDUS?this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ue(t)?(this._emitChars("<"),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ue(t)?(this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(he.SCRIPT,!1)&&Br(this.preprocessor.peek(he.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<he.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ee);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===d.SOLIDUS?(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(he.SCRIPT,!1)&&Br(this.preprocessor.peek(he.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<he.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._err(C.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=p.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this._leaveAttrName(),this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._leaveAttrName(),this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:{this._err(C.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.name+=ee;break}default:this.currentAttr.name+=String.fromCodePoint(Nt(t)?Qt(t):t)}}_stateAfterAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.EQUALS_SIGN:{this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{this.state=p.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this.state=p.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingAttributeValue),this.state=p.DATA,this.emitCurrentTagToken();break}default:this.state=p.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=ee;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case d.APOSTROPHE:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=ee;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=ee;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:case d.EQUALS_SIGN:case d.GRAVE_ACCENT:{this._err(C.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this._leaveAttrValue(),this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._err(C.missingWhitespaceBetweenAttributes),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case d.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._err(C.unexpectedSolidusInTag),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.data+=ee;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(he.DASH_DASH,!0)?(this._createCommentToken(he.DASH_DASH.length+1),this.state=p.COMMENT_START):this._consumeSequenceIfMatch(he.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(he.DOCTYPE.length+1),this.state=p.DOCTYPE):this._consumeSequenceIfMatch(he.CDATA_START,!0)?this.inForeignNode?this.state=p.CDATA_SECTION:(this._err(C.cdataInHtmlContent),this._createCommentToken(he.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=p.BOGUS_COMMENT):this._ensureHibernation()||(this._err(C.incorrectlyOpenedComment),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_START_DASH;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptClosingOfEmptyComment),this.state=p.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptClosingOfEmptyComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END_DASH;break}case d.LESS_THAN_SIGN:{n.data+="<",this.state=p.COMMENT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.data+=ee;break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case d.EXCLAMATION_MARK:{n.data+="!",this.state=p.COMMENT_LESS_THAN_SIGN_BANG;break}case d.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=p.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=p.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==d.GREATER_THAN_SIGN&&t!==d.EOF&&this._err(C.nestedComment),this.state=p.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EXCLAMATION_MARK:{this.state=p.COMMENT_END_BANG;break}case d.HYPHEN_MINUS:{n.data+="-";break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{n.data+="--!",this.state=p.COMMENT_END_DASH;break}case d.GREATER_THAN_SIGN:{this._err(C.incorrectlyClosedComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=p.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case d.EOF:{this._err(C.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingWhitespaceBeforeDoctypeName),this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Nt(t))this._createDoctypeToken(String.fromCharCode(Qt(t))),this.state=p.DOCTYPE_NAME;else switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.NULL:{this._err(C.unexpectedNullCharacter),this._createDoctypeToken(ee),this.state=p.DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=p.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.AFTER_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.name+=ee;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Nt(t)?Qt(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(he.PUBLIC,!1)?this.state=p.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(he.SYSTEM,!1)?this.state=p.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(C.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.publicId+=ee;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.publicId+=ee;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.systemId+=ee;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.systemId+=ee;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.NULL:{this._err(C.unexpectedNullCharacter);break}case d.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case d.RIGHT_SQUARE_BRACKET:{this.state=p.CDATA_SECTION_BRACKET;break}case d.EOF:{this._err(C.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===d.RIGHT_SQUARE_BRACKET?this.state=p.CDATA_SECTION_END:(this._emitChars("]"),this.state=p.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA;break}case d.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=p.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(d.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Mr(this.preprocessor.peek(1))?p.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Mr(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===d.SEMICOLON&&this._err(C.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Ku=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Fr=new Set([...Ku,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),en=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),Fs=new Set([...en,s.OL,s.UL]),Hs=new Set([...en,s.BUTTON]),Hr=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Ur=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),Us=new Set([s.TR,s.TEMPLATE,s.HTML]),vs=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),zs=new Set([s.TABLE,s.TEMPLATE,s.HTML]),Ys=new Set([s.TD,s.TH]);class qs{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===x.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==x.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(vn,x.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ys,x.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(zs,x.HTML)}clearBackToTableBodyContext(){this.clearBackTo(vs,x.HTML)}clearBackToTableRowContext(){this.clearBackTo(Us,x.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case x.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case x.SVG:{if(Ur.has(u))return!1;break}case x.MATHML:{if(Hr.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,en)}hasInListItemScope(t){return this.hasInDynamicScope(t,Fs)}hasInButtonScope(t){return this.hasInDynamicScope(t,Hs)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case x.HTML:{if(vn.has(n))return!0;if(en.has(n))return!1;break}case x.SVG:{if(Ur.has(n))return!1;break}case x.MATHML:{if(Hr.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===x.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===x.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===x.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Ku.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Fr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Fr.has(this.currentTagId);)this.pop()}}const gn=3;var ye;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ye||(ye={}));const vr={type:ye.Marker};class Ws{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,a=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===ye.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===a&&this.treeAdapter.getNamespaceURI(c)===i){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<gn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<gn)return;const u=new Map(n.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const o=r[i];o.attrs.every(l=>u.get(l.name)===l.value)&&(a+=1,a>=gn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(vr)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ye.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ye.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(vr);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===ye.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===ye.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ye.Element&&n.element===t)}}const ve={createDocument(){return{nodeName:"#document",mode:ge.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){const 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){const u=e.childNodes.find(a=>a.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ve.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ve.isTextNode(n)){n.value+=t;return}}ve.appendChild(e,ve.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ve.isTextNode(r)?r.value+=t:ve.insertBefore(e,ve.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.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}}},ju="html",Vs="about:legacy-compat",Qs="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",$u=["+//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//"],Gs=[...$u,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Xs=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ju=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Ks=[...Ju,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function zr(e,t){return t.some(n=>e.startsWith(n))}function js(e){return e.name===ju&&e.publicId===null&&(e.systemId===null||e.systemId===Vs)}function $s(e){if(e.name!==ju)return ge.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Qs)return ge.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Xs.has(n))return ge.QUIRKS;let r=t===null?Gs:$u;if(zr(n,r))return ge.QUIRKS;if(r=t===null?Ju:Ks,zr(n,r))return ge.LIMITED_QUIRKS}return ge.NO_QUIRKS}const Yr={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Js="definitionurl",Zs="definitionURL",eo=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"].map(e=>[e.toLowerCase(),e])),to=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:x.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:x.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:x.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:x.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:x.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:x.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:x.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:x.XML}],["xml:space",{prefix:"xml",name:"space",namespace:x.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:x.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:x.XMLNS}]]),no=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"].map(e=>[e.toLowerCase(),e])),ro=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function uo(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===je.COLOR||r===je.SIZE||r===je.FACE)||ro.has(t)}function Zu(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Js){e.attrs[t].name=Zs;break}}function ei(e){for(let t=0;t<e.attrs.length;t++){const n=eo.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function ur(e){for(let t=0;t<e.attrs.length;t++){const n=to.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 io(e){const t=no.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=dt(e.tagName))}function ao(e,t){return t===x.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function so(e,t,n){if(t===x.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===je.ENCODING){const u=n[r].value.toLowerCase();return u===Yr.TEXT_HTML||u===Yr.APPLICATION_XML}}return t===x.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function oo(e,t,n,r){return(!r||r===x.HTML)&&so(e,t,n)||(!r||r===x.MATHML)&&ao(e,t)}const lo="hidden",co=8,fo=3;var T;(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"})(T||(T={}));const ho={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ti=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),qr={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ve,onParseError:null};class Wr{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.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={...qr,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new Bs(this.options,this),this.activeFormattingElements=new Ws(this.treeAdapter),this.fragmentContextID=r?dt(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new qs(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...qr,...n};t??(t=r.treeAdapter.createElement(A.TEMPLATE,x.HTML,[]));const u=r.treeAdapter.createElement("documentmock",x.HTML,[]),a=new this(r,u,t);return a.fragmentContextID===s.TEMPLATE&&a.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const a=(u=t.location)!==null&&u!==void 0?u:ho,i={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(t,n,r){var u,a;(a=(u=this.treeAdapter).onItemPush)===null||a===void 0||a.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===x.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,x.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=ne.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===A.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==x.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ne.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ne.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ne.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ne.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,x.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,x.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(A.HTML,x.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),a=r?u.lastIndexOf(r):u.length,i=u[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),a=n.type===Y.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===A.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===x.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,x.HTML)}_processToken(t){switch(t.type){case Y.CHARACTER:{this.onCharacter(t);break}case Y.NULL_CHARACTER:{this.onNullCharacter(t);break}case Y.COMMENT:{this.onComment(t);break}case Y.DOCTYPE:{this.onDoctype(t);break}case Y.START_TAG:{this._processStartTag(t);break}case Y.END_TAG:{this.onEndTag(t);break}case Y.EOF:{this.onEof(t);break}case Y.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return oo(t,u,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===ye.Marker||this.openElements.contains(u.element)),r=n===-1?t-1:n-1;for(let u=r;u>=0;u--){const a=this.activeFormattingElements.entries[u];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=T.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=T.IN_TABLE;return}case s.BODY:{this.insertionMode=T.IN_BODY;return}case s.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return ti.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===x.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Rs[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ql(this,t);return}switch(this.insertionMode){case T.INITIAL:{_t(this,t);break}case T.BEFORE_HTML:{xt(this,t);break}case T.BEFORE_HEAD:{yt(this,t);break}case T.IN_HEAD:{Lt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ot(this,t);break}case T.AFTER_HEAD:{Dt(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{ri(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{_n(this,t);break}case T.IN_TABLE_TEXT:{li(this,t);break}case T.IN_COLUMN_GROUP:{tn(this,t);break}case T.AFTER_BODY:{nn(this,t);break}case T.AFTER_AFTER_BODY:{$t(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Yl(this,t);return}switch(this.insertionMode){case T.INITIAL:{_t(this,t);break}case T.BEFORE_HTML:{xt(this,t);break}case T.BEFORE_HEAD:{yt(this,t);break}case T.IN_HEAD:{Lt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ot(this,t);break}case T.AFTER_HEAD:{Dt(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{_n(this,t);break}case T.IN_COLUMN_GROUP:{tn(this,t);break}case T.AFTER_BODY:{nn(this,t);break}case T.AFTER_AFTER_BODY:{$t(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){zn(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{zn(this,t);break}case T.IN_TABLE_TEXT:{At(this,t);break}case T.AFTER_BODY:{_o(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Ao(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{Co(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,C.misplacedDoctype);break}case T.IN_TABLE_TEXT:{At(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,C.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Wl(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{_t(this,t);break}case T.BEFORE_HTML:{Io(this,t);break}case T.BEFORE_HEAD:{No(this,t);break}case T.IN_HEAD:{ke(this,t);break}case T.IN_HEAD_NO_SCRIPT:{yo(this,t);break}case T.AFTER_HEAD:{Oo(this,t);break}case T.IN_BODY:{ce(this,t);break}case T.IN_TABLE:{lt(this,t);break}case T.IN_TABLE_TEXT:{At(this,t);break}case T.IN_CAPTION:{kl(this,t);break}case T.IN_COLUMN_GROUP:{sr(this,t);break}case T.IN_TABLE_BODY:{hn(this,t);break}case T.IN_ROW:{dn(this,t);break}case T.IN_CELL:{Ll(this,t);break}case T.IN_SELECT:{hi(this,t);break}case T.IN_SELECT_IN_TABLE:{Dl(this,t);break}case T.IN_TEMPLATE:{Pl(this,t);break}case T.AFTER_BODY:{Ml(this,t);break}case T.IN_FRAMESET:{Bl(this,t);break}case T.AFTER_FRAMESET:{Hl(this,t);break}case T.AFTER_AFTER_BODY:{vl(this,t);break}case T.AFTER_AFTER_FRAMESET:{zl(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Vl(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{_t(this,t);break}case T.BEFORE_HTML:{So(this,t);break}case T.BEFORE_HEAD:{ko(this,t);break}case T.IN_HEAD:{xo(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Lo(this,t);break}case T.AFTER_HEAD:{Do(this,t);break}case T.IN_BODY:{fn(this,t);break}case T.TEXT:{El(this,t);break}case T.IN_TABLE:{Mt(this,t);break}case T.IN_TABLE_TEXT:{At(this,t);break}case T.IN_CAPTION:{xl(this,t);break}case T.IN_COLUMN_GROUP:{yl(this,t);break}case T.IN_TABLE_BODY:{Yn(this,t);break}case T.IN_ROW:{fi(this,t);break}case T.IN_CELL:{Ol(this,t);break}case T.IN_SELECT:{di(this,t);break}case T.IN_SELECT_IN_TABLE:{Rl(this,t);break}case T.IN_TEMPLATE:{wl(this,t);break}case T.AFTER_BODY:{pi(this,t);break}case T.IN_FRAMESET:{Fl(this,t);break}case T.AFTER_FRAMESET:{Ul(this,t);break}case T.AFTER_AFTER_BODY:{$t(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{_t(this,t);break}case T.BEFORE_HTML:{xt(this,t);break}case T.BEFORE_HEAD:{yt(this,t);break}case T.IN_HEAD:{Lt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ot(this,t);break}case T.AFTER_HEAD:{Dt(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{si(this,t);break}case T.TEXT:{Tl(this,t);break}case T.IN_TABLE_TEXT:{At(this,t);break}case T.IN_TEMPLATE:{mi(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{ar(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===d.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{ni(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{_n(this,t);break}case T.IN_TABLE_TEXT:{oi(this,t);break}}}}function mo(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):ai(e,t),n}function po(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Eo(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let a=0,i=u;i!==n;a++,i=u){u=e.openElements.getCommonAncestor(i);const o=e.activeFormattingElements.getElementEntry(i),l=o&&a>=fo;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(i)):(i=To(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function To(e,t){const 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 bo(e,t,n){const r=e.treeAdapter.getTagName(t),u=dt(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&a===x.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function go(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,a=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,u.tagID)}function ir(e,t){for(let n=0;n<co;n++){const r=mo(e,t);if(!r)break;const u=po(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const a=Eo(e,u,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),i&&bo(e,i,a),go(e,u,r)}}function zn(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function _o(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Ao(e,t){e._appendCommentNode(t,e.document)}function ar(e,t){if(e.stopped=!0,t.location){const 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){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&e._setEndLocation(a,t)}}}}function Co(e,t){e._setDocumentType(t);const n=t.forceQuirks?ge.QUIRKS:$s(t);js(t)||e._err(t,C.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function _t(e,t){e._err(t,C.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ge.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function Io(e,t){t.tagID===s.HTML?(e._insertElement(t,x.HTML),e.insertionMode=T.BEFORE_HEAD):xt(e,t)}function So(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&xt(e,t)}function xt(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function No(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.HEAD:{e._insertElement(t,x.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:yt(e,t)}}function ko(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?yt(e,t):e._err(t,C.endTagWithoutMatchingOpenElement)}function yt(e,t){e._insertFakeElement(A.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function ke(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,ne.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ne.RAWTEXT):(e._insertElement(t,x.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,ne.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,ne.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Lt(e,t)}}function xo(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Lt(e,t);break}case s.TEMPLATE:{et(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function et(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,C.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,C.endTagWithoutMatchingOpenElement)}function Lt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function yo(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{ke(e,t);break}case s.NOSCRIPT:{e._err(t,C.nestedNoscriptInHead);break}default:Ot(e,t)}}function Lo(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Ot(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ot(e,t){const n=t.type===Y.EOF?C.openElementsLeftAfterEof:C.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function Oo(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.BODY:{e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,x.HTML),e.insertionMode=T.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,C.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),ke(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Dt(e,t)}}function Do(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Dt(e,t);break}case s.TEMPLATE:{et(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Dt(e,t){e._insertFakeElement(A.BODY,s.BODY),e.insertionMode=T.IN_BODY,cn(e,t)}function cn(e,t){switch(t.type){case Y.CHARACTER:{ri(e,t);break}case Y.WHITESPACE_CHARACTER:{ni(e,t);break}case Y.COMMENT:{zn(e,t);break}case Y.START_TAG:{ce(e,t);break}case Y.END_TAG:{fn(e,t);break}case Y.EOF:{si(e,t);break}}}function ni(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ri(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ro(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Po(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function wo(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_FRAMESET)}function Mo(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML)}function Bo(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&vn.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,x.HTML)}function Fo(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Ho(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),n||(e.formElement=e.openElements.current))}function Uo(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML)}function vo(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.tokenizer.state=ne.PLAINTEXT}function zo(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.framesetOk=!1}function Yo(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A);n&&(ir(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qo(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Wo(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(ir(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vo(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Qo(e,t){e.treeAdapter.getDocumentMode(e.document)!==ge.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function ui(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,x.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ii(e){const t=Gu(e,je.TYPE);return t!=null&&t.toLowerCase()===lo}function Go(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,x.HTML),ii(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Xo(e,t){e._appendElement(t,x.HTML),t.ackSelfClosing=!0}function Ko(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,x.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function jo(e,t){t.tagName=A.IMG,t.tagID=s.IMG,ui(e,t)}function $o(e,t){e._insertElement(t,x.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ne.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function Jo(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ne.RAWTEXT)}function Zo(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ne.RAWTEXT)}function Vr(e,t){e._switchToTextParsing(t,ne.RAWTEXT)}function el(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function tl(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML)}function nl(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,x.HTML)}function rl(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,x.HTML)}function ul(e,t){e._reconstructActiveFormattingElements(),Zu(t),ur(t),t.selfClosing?e._appendElement(t,x.MATHML):e._insertElement(t,x.MATHML),t.ackSelfClosing=!0}function il(e,t){e._reconstructActiveFormattingElements(),ei(t),ur(t),t.selfClosing?e._appendElement(t,x.SVG):e._insertElement(t,x.SVG),t.ackSelfClosing=!0}function Qr(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML)}function ce(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{qo(e,t);break}case s.A:{Yo(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Bo(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Mo(e,t);break}case s.LI:case s.DD:case s.DT:{Uo(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{ui(e,t);break}case s.HR:{Ko(e,t);break}case s.RB:case s.RTC:{nl(e,t);break}case s.RT:case s.RP:{rl(e,t);break}case s.PRE:case s.LISTING:{Fo(e,t);break}case s.XMP:{Jo(e,t);break}case s.SVG:{il(e,t);break}case s.HTML:{Ro(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{ke(e,t);break}case s.BODY:{Po(e,t);break}case s.FORM:{Ho(e,t);break}case s.NOBR:{Wo(e,t);break}case s.MATH:{ul(e,t);break}case s.TABLE:{Qo(e,t);break}case s.INPUT:{Go(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Xo(e,t);break}case s.IMAGE:{jo(e,t);break}case s.BUTTON:{zo(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Vo(e,t);break}case s.IFRAME:{Zo(e,t);break}case s.SELECT:{el(e,t);break}case s.OPTION:case s.OPTGROUP:{tl(e,t);break}case s.NOEMBED:case s.NOFRAMES:{Vr(e,t);break}case s.FRAMESET:{wo(e,t);break}case s.TEXTAREA:{$o(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?Vr(e,t):Qr(e,t);break}case s.PLAINTEXT:{vo(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:Qr(e,t)}}function al(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function sl(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,pi(e,t))}function ol(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ll(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function cl(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(A.P,s.P),e._closePElement()}function fl(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function hl(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function dl(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function ml(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function pl(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function ai(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const a=e.openElements.items[u],i=e.openElements.tagIDs[u];if(r===i&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(a,i))break}}function fn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{ir(e,t);break}case s.P:{cl(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{ol(e,t);break}case s.LI:{fl(e);break}case s.DD:case s.DT:{hl(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{dl(e);break}case s.BR:{pl(e);break}case s.BODY:{al(e,t);break}case s.HTML:{sl(e,t);break}case s.FORM:{ll(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{ml(e,t);break}case s.TEMPLATE:{et(e,t);break}default:ai(e,t)}}function si(e,t){e.tmplInsertionModeStack.length>0?mi(e,t):ar(e,t)}function El(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Tl(e,t){e._err(t,C.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _n(e,t){if(e.openElements.currentTagId!==void 0&&ti.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case Y.CHARACTER:{li(e,t);break}case Y.WHITESPACE_CHARACTER:{oi(e,t);break}}else Ut(e,t)}function bl(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_CAPTION}function gl(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function _l(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,sr(e,t)}function Al(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_TABLE_BODY}function Cl(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,hn(e,t)}function Il(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Sl(e,t){ii(t)?e._appendElement(t,x.HTML):Ut(e,t),t.ackSelfClosing=!0}function Nl(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,x.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function lt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Cl(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{ke(e,t);break}case s.COL:{_l(e,t);break}case s.FORM:{Nl(e,t);break}case s.TABLE:{Il(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{Al(e,t);break}case s.INPUT:{Sl(e,t);break}case s.CAPTION:{bl(e,t);break}case s.COLGROUP:{gl(e,t);break}default:Ut(e,t)}}function Mt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{et(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Ut(e,t)}}function Ut(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,cn(e,t),e.fosterParentingEnabled=n}function oi(e,t){e.pendingCharacterTokens.push(t)}function li(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function At(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ut(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const ci=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function kl(e,t){const n=t.tagID;ci.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,lt(e,t)):ce(e,t)}function xl(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===s.TABLE&&Mt(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:fn(e,t)}}function sr(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.COL:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{ke(e,t);break}default:tn(e,t)}}function yl(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TEMPLATE:{et(e,t);break}case s.COL:break;default:tn(e,t)}}function tn(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function hn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(A.TR,s.TR),e.insertionMode=T.IN_ROW,dn(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,lt(e,t));break}default:lt(e,t)}}function Yn(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,Mt(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:Mt(e,t)}}function dn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,hn(e,t));break}default:lt(e,t)}}function fi(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,Yn(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,Yn(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:Mt(e,t)}}function Ll(e,t){const n=t.tagID;ci.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),dn(e,t)):ce(e,t)}function Ol(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),fi(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:fn(e,t)}}function hi(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,x.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,x.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{ke(e,t);break}}}function di(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{et(e,t);break}}}function Dl(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):hi(e,t)}function Rl(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):di(e,t)}function Pl(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{ke(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,lt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,sr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,hn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,dn(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,ce(e,t)}}function wl(e,t){t.tagID===s.TEMPLATE&&et(e,t)}function mi(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ar(e,t)}function Ml(e,t){t.tagID===s.HTML?ce(e,t):nn(e,t)}function pi(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else nn(e,t)}function nn(e,t){e.insertionMode=T.IN_BODY,cn(e,t)}function Bl(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.FRAMESET:{e._insertElement(t,x.HTML);break}case s.FRAME:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{ke(e,t);break}}}function Fl(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function Hl(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.NOFRAMES:{ke(e,t);break}}}function Ul(e,t){t.tagID===s.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function vl(e,t){t.tagID===s.HTML?ce(e,t):$t(e,t)}function $t(e,t){e.insertionMode=T.IN_BODY,cn(e,t)}function zl(e,t){switch(t.tagID){case s.HTML:{ce(e,t);break}case s.NOFRAMES:{ke(e,t);break}}}function Yl(e,t){t.chars=ee,e._insertCharacters(t)}function ql(e,t){e._insertCharacters(t),e.framesetOk=!1}function Ei(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==x.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Wl(e,t){if(uo(t))Ei(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===x.MATHML?Zu(t):r===x.SVG&&(io(t),ei(t)),ur(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Vl(e,t){if(t.tagID===s.P||t.tagID===s.BR){Ei(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===x.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;const mn=Ti("end"),Me=Ti("start");function Ti(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function bi(e){const t=Me(e),n=mn(e);if(t&&n)return{start:t,end:n}}const Ql=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Gl=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Gr={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function gi(e,t){const n=rc(e),r=Pu("type",{handlers:{root:Xl,element:Kl,text:jl,comment:Ai,doctype:$l,raw:Zl},unknown:ec}),u={parser:n?new Wr(Gr):Wr.getFragmentParser(void 0,Gr),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),mt(u,Me());const a=n?u.parser.document:u.parser.getFragment(),i=us(a,{file:u.options.file});return u.stitches&&st(i,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function _i(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Xl(e,t){_i(e.children,t)}function Kl(e,t){tc(e,t),_i(e.children,t),nc(e,t)}function jl(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Y.CHARACTER,chars:e.value,location:vt(e)};mt(t,Me(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function $l(e,t){const n={type:Y.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:vt(e)};mt(t,Me(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Jl(e,t){t.stitches=!0;const n=uc(e);if("children"in e&&"children"in n){const r=gi({type:"root",children:e.children},t.options);n.children=r.children}Ai({type:"comment",value:{stitch:n}},t)}function Ai(e,t){const n=e.value,r={type:Y.COMMENT,data:n,location:vt(e)};mt(t,Me(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Zl(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,Ci(t,Me(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Ql,"<$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;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function ec(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Jl(n,t);else{let r="";throw Gl.has(n.type)&&(r=". 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"),new Error("Cannot compile `"+n.type+"` node"+r)}}function mt(e,t){Ci(e,t);const 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=ne.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 Ci(e,t){if(t&&t.offset!==void 0){const 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 tc(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ne.PLAINTEXT)return;mt(t,Me(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:Xe.html;u===Xe.html&&n==="svg"&&(u=Xe.svg);const a=ls({...e,children:[]},{space:u===Xe.svg?"svg":"html"}),i={type:Y.START_TAG,tagName:n,tagID:dt(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:vt(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function nc(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Aa.includes(n)||t.parser.tokenizer.state===ne.PLAINTEXT)return;mt(t,mn(e));const r={type:Y.END_TAG,tagName:n,tagID:dt(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:vt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ne.RCDATA||t.parser.tokenizer.state===ne.RAWTEXT||t.parser.tokenizer.state===ne.SCRIPT_DATA)&&(t.parser.tokenizer.state=ne.DATA)}function rc(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function vt(e){const t=Me(e)||{line:void 0,column:void 0,offset:void 0},n=mn(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 uc(e){return"children"in e?$e({...e,children:[]}):$e(e)}function O1(e){return function(t,n){return gi(t,{...e,file:n})}}const Qe=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Xr={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Qe,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Qe],h2:[["className","sr-only"]],img:[...Qe,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Qe,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Qe],table:[...Qe],ul:[...Qe,["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"]},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"]},ze={}.hasOwnProperty;function ic(e,t){let n={type:"root",children:[]};const r={schema:t?{...Xr,...t}:Xr,stack:[]},u=Ii(r,e);return u&&(Array.isArray(u)?u.length===1?n=u[0]:n.children=u:n=u),n}function Ii(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return ac(e,n);case"doctype":return sc(e,n);case"element":return oc(e,n);case"root":return lc(e,n);case"text":return cc(e,n)}}}function ac(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),a={type:"comment",value:r<0?n:n.slice(0,r)};return zt(a,t),a}}function sc(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return zt(n,t),n}}function oc(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=Si(e,t.children),u=fc(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&&ze.call(e.schema.ancestors,n))){const o=e.schema.ancestors[n];let l=-1;for(a=!1;++l<o.length;)e.stack.includes(o[l])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const i={type:"element",tagName:n,properties:u,children:r};return zt(i,t),i}function lc(e,t){const r={type:"root",children:Si(e,t.children)};return zt(r,t),r}function cc(e,t){const r={type:"text",value:typeof t.value=="string"?t.value:""};return zt(r,t),r}function Si(e,t){const n=[];if(Array.isArray(t)){const r=t;let u=-1;for(;++u<r.length;){const a=Ii(e,r[u]);a&&(Array.isArray(a)?n.push(...a):n.push(a))}}return n}function fc(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,u=e.schema.required,a=r&&ze.call(r,n)?r[n]:void 0,i=r&&ze.call(r,"*")?r["*"]:void 0,o=t&&typeof t=="object"?t:{},l={};let c;for(c in o)if(ze.call(o,c)){const h=o[c];let f=Kr(e,jr(a,c),c,h);f==null&&(f=Kr(e,jr(i,c),c,h)),f!=null&&(l[c]=f)}if(u&&ze.call(u,n)){const h=u[n];for(c in h)ze.call(h,c)&&!ze.call(l,c)&&(l[c]=h[c])}return l}function Kr(e,t,n,r){return t?Array.isArray(r)?hc(e,t,n,r):Ni(e,t,n,r):void 0}function hc(e,t,n,r){let u=-1;const a=[];for(;++u<r.length;){const i=Ni(e,t,n,r[u]);(typeof i=="number"||typeof i=="string")&&a.push(i)}return a}function Ni(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&dc(e,n,r)){if(typeof t=="object"&&t.length>1){let u=!1,a=0;for(;++a<t.length;){const i=t[a];if(i&&typeof i=="object"&&"flags"in i){if(i.test(String(r))){u=!0;break}}else if(i===r){u=!0;break}}if(!u)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function dc(e,t,n){const r=e.schema.protocols&&ze.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const u=String(n),a=u.indexOf(":"),i=u.indexOf("?"),o=u.indexOf("#"),l=u.indexOf("/");if(a<0||l>-1&&a>l||i>-1&&a>i||o>-1&&a>o)return!0;let c=-1;for(;++c<r.length;){const h=r[c];if(a===h.length&&u.slice(0,h.length)===h)return!0}return!1}function zt(e,t){const n=bi(t);t.data&&(e.data=$e(t.data)),n&&(e.position=n)}function jr(e,t){let n,r=-1;if(e)for(;++r<e.length;){const u=e[r],a=typeof u=="string"?u:u[0];if(a===t)return u;a==="data*"&&(n=u)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function D1(e){return function(t){return ic(t,e)}}const fe=qe(/[A-Za-z]/),le=qe(/[\dA-Za-z]/),mc=qe(/[#-'*+\--9=?A-Z^-~]/);function rn(e){return e!==null&&(e<32||e===127)}const qn=qe(/\d/),pc=qe(/[\dA-Fa-f]/),Ec=qe(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function q(e){return e===-2||e===-1||e===32}const pn=qe(new RegExp("\\p{P}|\\p{S}","u")),Je=qe(/\s/);function qe(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Tc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function bc(e,t,n){const u=sn((n||{}).ignore||[]),a=gc(t);let i=-1;for(;++i<a.length;)Mu(e,"text",o);function o(c,h){let f=-1,E;for(;++f<h.length;){const m=h[f],_=E?E.children:void 0;if(u(m,_?_.indexOf(m):void 0,E))return;E=m}if(E)return l(c,h)}function l(c,h){const f=h[h.length-1],E=a[i][0],m=a[i][1];let _=0;const P=f.children.indexOf(c);let I=!1,w=[];E.lastIndex=0;let D=E.exec(c.value);for(;D;){const v=D.index,z={index:D.index,input:D.input,stack:[...h,c]};let k=m(...D,z);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?E.lastIndex=v+1:(_!==v&&w.push({type:"text",value:c.value.slice(_,v)}),Array.isArray(k)?w.push(...k):k&&w.push(k),_=v+D[0].length,I=!0),!E.global)break;D=E.exec(c.value)}return I?(_<c.value.length&&w.push({type:"text",value:c.value.slice(_)}),f.children.splice(P,1,...w)):w=[c],P+w.length}}function gc(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const u=n[r];t.push([_c(u[0]),Ac(u[1])])}return t}function _c(e){return typeof e=="string"?new RegExp(Tc(e),"g"):e}function Ac(e){return typeof e=="function"?e:function(){return e}}const An="phrasing",Cn=["autolink","link","image","label"];function Cc(){return{transforms:[Lc],enter:{literalAutolink:Sc,literalAutolinkEmail:In,literalAutolinkHttp:In,literalAutolinkWww:In},exit:{literalAutolink:yc,literalAutolinkEmail:xc,literalAutolinkHttp:Nc,literalAutolinkWww:kc}}}function Ic(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:An,notInConstruct:Cn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:An,notInConstruct:Cn},{character:":",before:"[ps]",after:"\\/",inConstruct:An,notInConstruct:Cn}]}}function Sc(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function In(e){this.config.enter.autolinkProtocol.call(this,e)}function Nc(e){this.config.exit.autolinkProtocol.call(this,e)}function kc(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function xc(e){this.config.exit.autolinkEmail.call(this,e)}function yc(e){this.exit(e)}function Lc(e){bc(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Oc],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Dc]],{ignore:["link","linkReference"]})}function Oc(e,t,n,r,u){let a="";if(!ki(u)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!Rc(n)))return!1;const i=Pc(n+r);if(!i[0])return!1;const o={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[o,{type:"text",value:i[1]}]:o}function Dc(e,t,n,r){return!ki(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Rc(e){const 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 Pc(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const u=Ir(e,"(");let a=Ir(e,")");for(;r!==-1&&u>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function ki(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Je(n)||pn(n))&&(!t||n!==47)}function Ne(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}xi.peek=Yc;function wc(){this.buffer()}function Mc(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Bc(){this.buffer()}function Fc(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Hc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ne(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Uc(e){this.exit(e)}function vc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ne(this.sliceSerialize(e)).toLowerCase(),n.label=t}function zc(e){this.exit(e)}function Yc(){return"["}function xi(e,t,n,r){const u=n.createTracker(r);let a=u.move("[^");const i=n.enter("footnoteReference"),o=n.enter("reference");return a+=u.move(n.safe(n.associationId(e),{after:"]",before:a})),o(),i(),a+=u.move("]"),a}function qc(){return{enter:{gfmFootnoteCallString:wc,gfmFootnoteCall:Mc,gfmFootnoteDefinitionLabelString:Bc,gfmFootnoteDefinition:Fc},exit:{gfmFootnoteCallString:Hc,gfmFootnoteCall:Uc,gfmFootnoteDefinitionLabelString:vc,gfmFootnoteDefinition:zc}}}function Wc(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:xi},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,u,a,i){const o=a.createTracker(i);let l=o.move("[^");const c=a.enter("footnoteDefinition"),h=a.enter("label");return l+=o.move(a.safe(a.associationId(r),{before:l,after:"]"})),h(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((t?`
|
|
3
|
-
`:" ")+a.indentLines(a.containerFlow(r,o.current()),t?yi:Vc))),c(),l}}function Vc(e,t,n){return t===0?e:yi(e,t,n)}function yi(e,t,n){return(n?"":" ")+e}const Qc=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Li.peek=$c;function Gc(){return{canContainEols:["delete"],enter:{strikethrough:Kc},exit:{strikethrough:jc}}}function Xc(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Qc}],handlers:{delete:Li}}}function Kc(e){this.enter({type:"delete",children:[]},e)}function jc(e){this.exit(e)}function Li(e,t,n,r){const u=n.createTracker(r),a=n.enter("strikethrough");let i=u.move("~~");return i+=n.containerPhrasing(e,{...u.current(),before:i,after:"~"}),i+=u.move("~~"),a(),i}function $c(){return"~"}function Jc(e){return e.length}function Zc(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||Jc,a=[],i=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const y=[],P=[];let I=-1;for(e[h].length>c&&(c=e[h].length);++I<e[h].length;){const w=e0(e[h][I]);if(n.alignDelimiters!==!1){const D=u(w);P[I]=D,(l[I]===void 0||D>l[I])&&(l[I]=D)}y.push(w)}i[h]=y,o[h]=P}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)a[f]=$r(r[f]);else{const y=$r(r);for(;++f<c;)a[f]=y}f=-1;const E=[],m=[];for(;++f<c;){const y=a[f];let P="",I="";y===99?(P=":",I=":"):y===108?P=":":y===114&&(I=":");let w=n.alignDelimiters===!1?1:Math.max(1,l[f]-P.length-I.length);const D=P+"-".repeat(w)+I;n.alignDelimiters!==!1&&(w=P.length+w+I.length,w>l[f]&&(l[f]=w),m[f]=w),E[f]=D}i.splice(1,0,E),o.splice(1,0,m),h=-1;const _=[];for(;++h<i.length;){const y=i[h],P=o[h];f=-1;const I=[];for(;++f<c;){const w=y[f]||"";let D="",v="";if(n.alignDelimiters!==!1){const z=l[f]-(P[f]||0),k=a[f];k===114?D=" ".repeat(z):k===99?z%2?(D=" ".repeat(z/2+.5),v=" ".repeat(z/2-.5)):(D=" ".repeat(z/2),v=D):v=" ".repeat(z)}n.delimiterStart!==!1&&!f&&I.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&w==="")&&(n.delimiterStart!==!1||f)&&I.push(" "),n.alignDelimiters!==!1&&I.push(D),I.push(w),n.alignDelimiters!==!1&&I.push(v),n.padding!==!1&&I.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&I.push("|")}_.push(n.delimiterEnd===!1?I.join("").replace(/ +$/,""):I.join(""))}return _.join(`
|
|
4
|
-
`)}function e0(e){return e==null?"":String(e)}function $r(e){const 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 t0(e,t,n,r){const u=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const i=n.indentLines(n.containerFlow(e,a.current()),n0);return u(),i}function n0(e,t,n){return">"+(n?"":" ")+e}function r0(e,t){return Jr(e,t.inConstruct,!0)&&!Jr(e,t.notInConstruct,!1)}function Jr(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 Zr(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
5
|
-
`&&r0(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
6
|
-
`}function u0(e,t){const n=String(e);let r=n.indexOf(t),u=r,a=0,i=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++a>i&&(i=a):a=1,u=r+t.length,r=n.indexOf(t,u);return i}function i0(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function a0(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function s0(e,t,n,r){const u=a0(n),a=e.value||"",i=u==="`"?"GraveAccent":"Tilde";if(i0(e,n)){const f=n.enter("codeIndented"),E=n.indentLines(a,o0);return f(),E}const o=n.createTracker(r),l=u.repeat(Math.max(u0(a,u)+1,3)),c=n.enter("codeFenced");let h=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${i}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${i}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:`
|
|
7
|
-
`,encode:["`"],...o.current()})),f()}return h+=o.move(`
|
|
8
|
-
`),a&&(h+=o.move(a+`
|
|
9
|
-
`)),h+=o.move(l),c(),h}function o0(e,t,n){return(n?"":" ")+e}function or(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function l0(e,t,n,r){const u=or(n),a=u==='"'?"Quote":"Apostrophe",i=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
|
|
10
|
-
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),i(),c}function c0(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Bt(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ct(e){if(e===null||J(e)||Je(e))return 1;if(pn(e))return 2}function un(e,t,n){const r=ct(e),u=ct(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Oi.peek=f0;function Oi(e,t,n,r){const u=c0(n),a=n.enter("emphasis"),i=n.createTracker(r),o=i.move(u);let l=i.move(n.containerPhrasing(e,{after:u,before:o,...i.current()}));const c=l.charCodeAt(0),h=un(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Bt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=un(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+Bt(f));const m=i.move(u);return a(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function f0(e,t,n){return n.options.emphasis||"*"}const h0={};function lr(e,t){const n=h0,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Di(e,r,u)}function Di(e,t,n){if(d0(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eu(e.children,t,n)}return Array.isArray(e)?eu(e,t,n):""}function eu(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Di(e[u],t,n);return r.join("")}function d0(e){return!!(e&&typeof e=="object")}function m0(e,t){let n=!1;return st(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Fn}),!!((!e.depth||e.depth<3)&&lr(e)&&(t.options.setext||n))}function p0(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(m0(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),E=n.containerPhrasing(e,{...a.current(),before:`
|
|
11
|
-
`,after:`
|
|
12
|
-
`});return f(),h(),E+`
|
|
13
|
-
`+(u===1?"=":"-").repeat(E.length-(Math.max(E.lastIndexOf("\r"),E.lastIndexOf(`
|
|
14
|
-
`))+1))}const i="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");a.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
15
|
-
`,...a.current()});return/^[\t ]/.test(c)&&(c=Bt(c.charCodeAt(0))+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),o(),c}Ri.peek=E0;function Ri(e){return e.value||""}function E0(){return"<"}Pi.peek=T0;function Pi(e,t,n,r){const u=or(n),a=u==='"'?"Quote":"Apostrophe",i=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),i(),c}function T0(){return"!"}wi.peek=b0;function wi(e,t,n,r){const u=e.referenceType,a=n.enter("imageReference");let i=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),i();const h=n.stack;n.stack=[],i=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return i(),n.stack=h,a(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function b0(){return"!"}Mi.peek=g0;function Mi(e,t,n){let r=e.value||"",u="`",a=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const i=n.unsafe[a],o=n.compilePattern(i);let l;if(i.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function g0(){return"`"}function Bi(e,t){const n=lr(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Fi.peek=_0;function Fi(e,t,n,r){const u=or(n),a=u==='"'?"Quote":"Apostrophe",i=n.createTracker(r);let o,l;if(Bi(e,n)){const h=n.stack;n.stack=[],o=n.enter("autolink");let f=i.move("<");return f+=i.move(n.containerPhrasing(e,{before:f,after:">",...i.current()})),f+=i.move(">"),o(),n.stack=h,f}o=n.enter("link"),l=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=i.move(" "+u),c+=i.move(n.safe(e.title,{before:c,after:u,...i.current()})),c+=i.move(u),l()),c+=i.move(")"),o(),c}function _0(e,t,n){return Bi(e,n)?"<":"["}Hi.peek=A0;function Hi(e,t,n,r){const u=e.referenceType,a=n.enter("linkReference");let i=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),i();const h=n.stack;n.stack=[],i=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return i(),n.stack=h,a(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function A0(){return"["}function cr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function C0(e){const t=cr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function I0(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Ui(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function S0(e,t,n,r){const u=n.enter("list"),a=n.bulletCurrent;let i=e.ordered?I0(n):cr(n);const o=e.ordered?i==="."?")":".":C0(n);let l=t&&n.bulletLastUsed?i===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((i==="*"||i==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Ui(n)===i&&h){let f=-1;for(;++f<e.children.length;){const E=e.children[f];if(E&&E.type==="listItem"&&E.children&&E.children[0]&&E.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(i=o),n.bulletCurrent=i;const c=n.containerFlow(e,r);return n.bulletLastUsed=i,n.bulletCurrent=a,u(),c}function N0(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function k0(e,t,n,r){const u=N0(n);let a=n.bulletCurrent||cr(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let i=a.length+1;(u==="tab"||u==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(i=Math.ceil(i/4)*4);const o=n.createTracker(r);o.move(a+" ".repeat(i-a.length)),o.shift(i);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),h);return l(),c;function h(f,E,m){return E?(m?"":" ".repeat(i))+f:(m?a:a+" ".repeat(i-a.length))+f}}function x0(e,t,n,r){const u=n.enter("paragraph"),a=n.enter("phrasing"),i=n.containerPhrasing(e,r);return a(),u(),i}const y0=sn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function L0(e,t,n,r){return(e.children.some(function(i){return y0(i)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function O0(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}vi.peek=D0;function vi(e,t,n,r){const u=O0(n),a=n.enter("strong"),i=n.createTracker(r),o=i.move(u+u);let l=i.move(n.containerPhrasing(e,{after:u,before:o,...i.current()}));const c=l.charCodeAt(0),h=un(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Bt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=un(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+Bt(f));const m=i.move(u+u);return a(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function D0(e,t,n){return n.options.strong||"*"}function R0(e,t,n,r){return n.safe(e.value,r)}function P0(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function w0(e,t,n){const r=(Ui(n)+(n.options.ruleSpaces?" ":"")).repeat(P0(n));return n.options.ruleSpaces?r.slice(0,-1):r}const zi={blockquote:t0,break:Zr,code:s0,definition:l0,emphasis:Oi,hardBreak:Zr,heading:p0,html:Ri,image:Pi,imageReference:wi,inlineCode:Mi,link:Fi,linkReference:Hi,list:S0,listItem:k0,paragraph:x0,root:L0,strong:vi,text:R0,thematicBreak:w0},tu=document.createElement("i");function fr(e){const t="&"+e+";";tu.innerHTML=t;const n=tu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Yi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const M0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function B0(e){return e.replace(M0,F0)}function F0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),a=u===120||u===88;return Yi(n.slice(a?2:1),a?16:10)}return fr(n)||e}function H0(){return{enter:{table:U0,tableData:nu,tableHeader:nu,tableRow:z0},exit:{codeText:Y0,table:v0,tableData:Sn,tableHeader:Sn,tableRow:Sn}}}function U0(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function v0(e){this.exit(e),this.data.inTable=void 0}function z0(e){this.enter({type:"tableRow",children:[]},e)}function Sn(e){this.exit(e)}function nu(e){this.enter({type:"tableCell",children:[]},e)}function Y0(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,q0));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function q0(e,t){return t==="|"?t:e}function W0(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
16
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:i,tableCell:l,tableRow:o}};function i(m,_,y,P){return c(h(m,y,P),m.align)}function o(m,_,y,P){const I=f(m,y,P),w=c([I]);return w.slice(0,w.indexOf(`
|
|
17
|
-
`))}function l(m,_,y,P){const I=y.enter("tableCell"),w=y.enter("phrasing"),D=y.containerPhrasing(m,{...P,before:a,after:a});return w(),I(),D}function c(m,_){return Zc(m,{align:_,alignDelimiters:r,padding:n,stringLength:u})}function h(m,_,y){const P=m.children;let I=-1;const w=[],D=_.enter("table");for(;++I<P.length;)w[I]=f(P[I],_,y);return D(),w}function f(m,_,y){const P=m.children;let I=-1;const w=[],D=_.enter("tableRow");for(;++I<P.length;)w[I]=l(P[I],m,_,y);return D(),w}function E(m,_,y){let P=zi.inlineCode(m,_,y);return y.stack.includes("tableCell")&&(P=P.replace(/\|/g,"\\$&")),P}}function V0(){return{exit:{taskListCheckValueChecked:ru,taskListCheckValueUnchecked:ru,paragraph:G0}}}function Q0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:X0}}}function ru(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function G0(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const u=t.children;let a=-1,i;for(;++a<u.length;){const o=u[a];if(o.type==="paragraph"){i=o;break}}i===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function X0(e,t,n,r){const u=e.children[0],a=typeof e.checked=="boolean"&&u&&u.type==="paragraph",i="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);a&&o.move(i);let l=zi.listItem(e,t,n,{...r,...o.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+i}}function K0(){return[Cc(),qc(),Gc(),H0(),V0()]}function j0(e){return{extensions:[Ic(),Wc(e),Xc(),W0(e),Q0()]}}function be(e,t,n,r){const u=e.length;let a=0,i;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function _e(e,t){return e.length>0?(be(e,e.length,0,t),e):t}const uu={}.hasOwnProperty;function qi(e){const t={};let n=-1;for(;++n<e.length;)$0(t,e[n]);return t}function $0(e,t){let n;for(n in t){const u=(uu.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;if(a)for(i in a){uu.call(u,i)||(u[i]=[]);const o=a[i];J0(u[i],Array.isArray(o)?o:o?[o]:[])}}}function J0(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);be(e,0,0,r)}const Z0={tokenize:af,partial:!0},Wi={tokenize:sf,partial:!0},Vi={tokenize:of,partial:!0},Qi={tokenize:lf,partial:!0},ef={tokenize:cf,partial:!0},Gi={name:"wwwAutolink",tokenize:rf,previous:Ki},Xi={name:"protocolAutolink",tokenize:uf,previous:ji},Be={name:"emailAutolink",tokenize:nf,previous:$i},Le={};function tf(){return{text:Le}}let Ge=48;for(;Ge<123;)Le[Ge]=Be,Ge++,Ge===58?Ge=65:Ge===91&&(Ge=97);Le[43]=Be;Le[45]=Be;Le[46]=Be;Le[95]=Be;Le[72]=[Be,Xi];Le[104]=[Be,Xi];Le[87]=[Be,Gi];Le[119]=[Be,Gi];function nf(e,t,n){const r=this;let u,a;return i;function i(f){return!Wn(f)||!$i.call(r,r.previous)||hr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return Wn(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(ef,h,c)(f):f===45||f===95||le(f)?(a=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return a&&u&&fe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function rf(e,t,n){const r=this;return u;function u(i){return i!==87&&i!==119||!Ki.call(r,r.previous)||hr(r.events)?n(i):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Z0,e.attempt(Wi,e.attempt(Vi,a),n),n)(i))}function a(i){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(i)}}function uf(e,t,n){const r=this;let u="",a=!1;return i;function i(f){return(f===72||f===104)&&ji.call(r,r.previous)&&!hr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(fe(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const E=u.toLowerCase();if(E==="http"||E==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),a?c:(a=!0,l)):n(f)}function c(f){return f===null||rn(f)||J(f)||Je(f)||pn(f)?n(f):e.attempt(Wi,e.attempt(Vi,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function af(e,t,n){let r=0;return u;function u(i){return(i===87||i===119)&&r<3?(r++,e.consume(i),u):i===46&&r===3?(e.consume(i),a):n(i)}function a(i){return i===null?n(i):t(i)}}function sf(e,t,n){let r,u,a;return i;function i(c){return c===46||c===95?e.check(Qi,l,o)(c):c===null||J(c)||Je(c)||c!==45&&pn(c)?l(c):(a=!0,e.consume(c),i)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),i}function l(c){return u||r||!a?n(c):t(c)}}function of(e,t){let n=0,r=0;return u;function u(i){return i===40?(n++,e.consume(i),u):i===41&&r<n?a(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?e.check(Qi,t,a)(i):i===null||J(i)||Je(i)?t(i):(e.consume(i),u)}function a(i){return i===41&&r++,e.consume(i),u}}function lf(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),u):o===60||o===null||J(o)||Je(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||J(o)||Je(o)?t(o):r(o)}function a(o){return fe(o)?i(o):n(o)}function i(o){return o===59?(e.consume(o),r):fe(o)?(e.consume(o),i):n(o)}}function cf(e,t,n){return r;function r(a){return e.consume(a),u}function u(a){return le(a)?n(a):t(a)}}function Ki(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||J(e)}function ji(e){return!fe(e)}function $i(e){return!(e===47||Wn(e))}function Wn(e){return e===43||e===45||e===46||e===95||le(e)}function hr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function pt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const a=e.charCodeAt(n);let i="";if(a===37&&le(e.charCodeAt(n+1))&&le(e.charCodeAt(n+2)))u=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(i=String.fromCharCode(a,o),u=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+u+1,i=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function En(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const a=e[u].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Vn={name:"attention",resolveAll:ff,tokenize:hf};function ff(e,t){let n=-1,r,u,a,i,o,l,c,h;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;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},E={...e[n][1].start};iu(f,-l),iu(E,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:E},a={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[r][1].end={...i.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=_e(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=_e(c,[["enter",u,t],["enter",i,t],["exit",i,t],["enter",a,t]]),c=_e(c,En(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=_e(c,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=_e(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,be(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function hf(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=ct(r);let a;return i;function i(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const c=e.exit("attentionSequence"),h=ct(l),f=!h||h===2&&u||n.includes(l),E=!u||u===2&&h||n.includes(r);return c._open=!!(a===42?f:f&&(u||!E)),c._close=!!(a===42?E:E&&(h||!f)),t(l)}}function iu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const df={name:"autolink",tokenize:mf};function mf(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return fe(m)?(e.consume(m),i):m===64?n(m):c(m)}function i(m){return m===43||m===45||m===46||le(m)?(r=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||le(m))&&r++<32?(e.consume(m),o):(r=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||rn(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):mc(m)?(e.consume(m),c):n(m)}function h(m){return le(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):E(m)}function E(m){if((m===45||le(m))&&r++<63){const _=m===45?E:f;return e.consume(m),_}return n(m)}}function V(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let a=0;return i;function i(l){return q(l)?(e.enter(n),o(l)):t(l)}function o(l){return q(l)&&a++<u?(e.consume(l),o):(e.exit(n),t(l))}}const Yt={partial:!0,tokenize:pf};function pf(e,t,n){return r;function r(a){return q(a)?V(e,u,"linePrefix")(a):u(a)}function u(a){return a===null||F(a)?t(a):n(a)}}const Ji={continuation:{tokenize:Tf},exit:bf,name:"blockQuote",tokenize:Ef};function Ef(e,t,n){const r=this;return u;function u(i){if(i===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),a}return n(i)}function a(i){return q(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function Tf(e,t,n){const r=this;return u;function u(i){return q(i)?V(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):a(i)}function a(i){return e.attempt(Ji,t,n)(i)}}function bf(e){e.exit("blockQuote")}const Zi={name:"characterEscape",tokenize:gf};function gf(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),u}function u(a){return Ec(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const ea={name:"characterReference",tokenize:_f};function _f(e,t,n){const r=this;let u=0,a,i;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,i=le,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,i=pc,h):(e.enter("characterReferenceValue"),a=7,i=qn,h(f))}function h(f){if(f===59&&u){const E=e.exit("characterReferenceValue");return i===le&&!fr(r.sliceSerialize(E))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(f)&&u++<a?(e.consume(f),h):n(f)}}const au={partial:!0,tokenize:Cf},su={concrete:!0,name:"codeFenced",tokenize:Af};function Af(e,t,n){const r=this,u={partial:!0,tokenize:z};let a=0,i=0,o;return l;function l(k){return c(k)}function c(k){const Q=r.events[r.events.length-1];return a=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,o=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(k)}function h(k){return k===o?(i++,e.consume(k),h):i<3?n(k):(e.exit("codeFencedFenceSequence"),q(k)?V(e,f,"whitespace")(k):f(k))}function f(k){return k===null||F(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(au,y,v)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),E(k))}function E(k){return k===null||F(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(k)):q(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),V(e,m,"whitespace")(k)):k===96&&k===o?n(k):(e.consume(k),E)}function m(k){return k===null||F(k)?f(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(k))}function _(k){return k===null||F(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(k)):k===96&&k===o?n(k):(e.consume(k),_)}function y(k){return e.attempt(u,v,P)(k)}function P(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),I}function I(k){return a>0&&q(k)?V(e,w,"linePrefix",a+1)(k):w(k)}function w(k){return k===null||F(k)?e.check(au,y,v)(k):(e.enter("codeFlowValue"),D(k))}function D(k){return k===null||F(k)?(e.exit("codeFlowValue"),w(k)):(e.consume(k),D)}function v(k){return e.exit("codeFenced"),t(k)}function z(k,Q,Z){let X=0;return S;function S(G){return k.enter("lineEnding"),k.consume(G),k.exit("lineEnding"),M}function M(G){return k.enter("codeFencedFence"),q(G)?V(k,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):B(G)}function B(G){return G===o?(k.enter("codeFencedFenceSequence"),K(G)):Z(G)}function K(G){return G===o?(X++,k.consume(G),K):X>=i?(k.exit("codeFencedFenceSequence"),q(G)?V(k,te,"whitespace")(G):te(G)):Z(G)}function te(G){return G===null||F(G)?(k.exit("codeFencedFence"),Q(G)):Z(G)}}}function Cf(e,t,n){const r=this;return u;function u(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a)}function a(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}const Nn={name:"codeIndented",tokenize:Sf},If={partial:!0,tokenize:Nf};function Sf(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),V(e,a,"linePrefix",5)(c)}function a(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?i(c):n(c)}function i(c){return c===null?l(c):F(c)?e.attempt(If,i,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||F(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Nf(e,t,n){const r=this;return u;function u(i){return r.parser.lazy[r.now().line]?n(i):F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),u):V(e,a,"linePrefix",5)(i)}function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):F(i)?u(i):n(i)}}const kf={name:"codeText",previous:yf,resolve:xf,tokenize:Lf};function xf(e){let t=e.length-4,n=3,r,u;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==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function yf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Lf(e,t,n){let r=0,u,a;return i;function i(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),u=0,h(f)):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||F(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",c(f))}}class Of{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Ct(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ct(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ct(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ct(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ct(this.left,n.reverse())}}}function Ct(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ta(e){const t={};let n=-1,r,u,a,i,o,l,c;const h=new Of(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Df(h,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,u=void 0;a--;)if(i=h.get(a),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),i[1].type="lineEnding",u=a);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return be(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function Df(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const a=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const o=i.events,l=[],c={};let h,f,E=-1,m=n,_=0,y=0;const P=[y];for(;m;){for(;e.get(++u)[1]!==m;);a.push(u),m._tokenizer||(h=r.sliceStream(m),m.next||h.push(null),f&&i.defineSkip(m.start),m._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(h),m._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++E<o.length;)o[E][0]==="exit"&&o[E-1][0]==="enter"&&o[E][1].type===o[E-1][1].type&&o[E][1].start.line!==o[E][1].end.line&&(y=E+1,P.push(y),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(i.events=[],m?(m._tokenizer=void 0,m.previous=void 0):P.pop(),E=P.length;E--;){const I=o.slice(P[E],P[E+1]),w=a.pop();l.push([w,w+I.length-1]),e.splice(w,2,I)}for(l.reverse(),E=-1;++E<l.length;)c[_+l[E][0]]=_+l[E][1],_+=l[E][1]-l[E][0]-1;return c}const Rf={resolve:wf,tokenize:Mf},Pf={partial:!0,tokenize:Bf};function wf(e){return ta(e),e}function Mf(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?a(o):F(o)?e.check(Pf,i,a)(o):(e.consume(o),u)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function i(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function Bf(e,t,n){const r=this;return u;function u(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),V(e,a,"linePrefix")}function a(i){if(i===null||F(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function na(e,t,n,r,u,a,i,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(I){return I===60?(e.enter(r),e.enter(u),e.enter(a),e.consume(I),e.exit(a),E):I===null||I===32||I===41||rn(I)?n(I):(e.enter(r),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),y(I))}function E(I){return I===62?(e.enter(a),e.consume(I),e.exit(a),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(I))}function m(I){return I===62?(e.exit("chunkString"),e.exit(o),E(I)):I===null||I===60||F(I)?n(I):(e.consume(I),I===92?_:m)}function _(I){return I===60||I===62||I===92?(e.consume(I),m):m(I)}function y(I){return!h&&(I===null||I===41||J(I))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(r),t(I)):h<c&&I===40?(e.consume(I),h++,y):I===41?(e.consume(I),h--,y):I===null||I===32||I===40||rn(I)?n(I):(e.consume(I),I===92?P:y)}function P(I){return I===40||I===41||I===92?(e.consume(I),y):y(I)}}function ra(e,t,n,r,u,a){const i=this;let o=0,l;return c;function c(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(a),h}function h(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?n(m):m===93?(e.exit(a),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):F(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||F(m)||o++>999?(e.exit("chunkString"),h(m)):(e.consume(m),l||(l=!q(m)),m===92?E:f)}function E(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}}function ua(e,t,n,r,u,a){let i;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(u),e.consume(E),e.exit(u),i=E===40?41:E,l):n(E)}function l(E){return E===i?(e.enter(u),e.consume(E),e.exit(u),e.exit(r),t):(e.enter(a),c(E))}function c(E){return E===i?(e.exit(a),l(i)):E===null?n(E):F(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),V(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===i||E===null||F(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?f:h)}function f(E){return E===i||E===92?(e.consume(E),h):h(E)}}function Rt(e,t){let n;return r;function r(u){return F(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):q(u)?V(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Ff={name:"definition",tokenize:Uf},Hf={partial:!0,tokenize:vf};function Uf(e,t,n){const r=this;let u;return a;function a(m){return e.enter("definition"),i(m)}function i(m){return ra.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=Ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return J(m)?Rt(e,c)(m):c(m)}function c(m){return na(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(Hf,f,f)(m)}function f(m){return q(m)?V(e,E,"whitespace")(m):E(m)}function E(m){return m===null||F(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function vf(e,t,n){return r;function r(o){return J(o)?Rt(e,u)(o):n(o)}function u(o){return ua(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return q(o)?V(e,i,"whitespace")(o):i(o)}function i(o){return o===null||F(o)?t(o):n(o)}}const zf={name:"hardBreakEscape",tokenize:Yf};function Yf(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),u}function u(a){return F(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const qf={name:"headingAtx",resolve:Wf,tokenize:Vf};function Wf(e,t){let n=e.length-2,r=3,u,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},be(e,r,n-r+1,[["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t]])),e}function Vf(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),a(h)}function a(h){return e.enter("atxHeadingSequence"),i(h)}function i(h){return h===35&&r++<6?(e.consume(h),i):h===null||J(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||F(h)?(e.exit("atxHeading"),t(h)):q(h)?V(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||J(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const Qf=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ou=["pre","script","style","textarea"],Gf={concrete:!0,name:"htmlFlow",resolveTo:jf,tokenize:$f},Xf={partial:!0,tokenize:Zf},Kf={partial:!0,tokenize:Jf};function jf(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function $f(e,t,n){const r=this;let u,a,i,o,l;return c;function c(g){return h(g)}function h(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),f}function f(g){return g===33?(e.consume(g),E):g===47?(e.consume(g),a=!0,y):g===63?(e.consume(g),u=3,r.interrupt?t:b):fe(g)?(e.consume(g),i=String.fromCharCode(g),P):n(g)}function E(g){return g===45?(e.consume(g),u=2,m):g===91?(e.consume(g),u=5,o=0,_):fe(g)?(e.consume(g),u=4,r.interrupt?t:b):n(g)}function m(g){return g===45?(e.consume(g),r.interrupt?t:b):n(g)}function _(g){const Ie="CDATA[";return g===Ie.charCodeAt(o++)?(e.consume(g),o===Ie.length?r.interrupt?t:B:_):n(g)}function y(g){return fe(g)?(e.consume(g),i=String.fromCharCode(g),P):n(g)}function P(g){if(g===null||g===47||g===62||J(g)){const Ie=g===47,We=i.toLowerCase();return!Ie&&!a&&ou.includes(We)?(u=1,r.interrupt?t(g):B(g)):Qf.includes(i.toLowerCase())?(u=6,Ie?(e.consume(g),I):r.interrupt?t(g):B(g)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(g):a?w(g):D(g))}return g===45||le(g)?(e.consume(g),i+=String.fromCharCode(g),P):n(g)}function I(g){return g===62?(e.consume(g),r.interrupt?t:B):n(g)}function w(g){return q(g)?(e.consume(g),w):S(g)}function D(g){return g===47?(e.consume(g),S):g===58||g===95||fe(g)?(e.consume(g),v):q(g)?(e.consume(g),D):S(g)}function v(g){return g===45||g===46||g===58||g===95||le(g)?(e.consume(g),v):z(g)}function z(g){return g===61?(e.consume(g),k):q(g)?(e.consume(g),z):D(g)}function k(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),l=g,Q):q(g)?(e.consume(g),k):Z(g)}function Q(g){return g===l?(e.consume(g),l=null,X):g===null||F(g)?n(g):(e.consume(g),Q)}function Z(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||J(g)?z(g):(e.consume(g),Z)}function X(g){return g===47||g===62||q(g)?D(g):n(g)}function S(g){return g===62?(e.consume(g),M):n(g)}function M(g){return g===null||F(g)?B(g):q(g)?(e.consume(g),M):n(g)}function B(g){return g===45&&u===2?(e.consume(g),oe):g===60&&u===1?(e.consume(g),ae):g===62&&u===4?(e.consume(g),Ce):g===63&&u===3?(e.consume(g),b):g===93&&u===5?(e.consume(g),Oe):F(g)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Xf,De,K)(g)):g===null||F(g)?(e.exit("htmlFlowData"),K(g)):(e.consume(g),B)}function K(g){return e.check(Kf,te,De)(g)}function te(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),G}function G(g){return g===null||F(g)?K(g):(e.enter("htmlFlowData"),B(g))}function oe(g){return g===45?(e.consume(g),b):B(g)}function ae(g){return g===47?(e.consume(g),i="",Ae):B(g)}function Ae(g){if(g===62){const Ie=i.toLowerCase();return ou.includes(Ie)?(e.consume(g),Ce):B(g)}return fe(g)&&i.length<8?(e.consume(g),i+=String.fromCharCode(g),Ae):B(g)}function Oe(g){return g===93?(e.consume(g),b):B(g)}function b(g){return g===62?(e.consume(g),Ce):g===45&&u===2?(e.consume(g),b):B(g)}function Ce(g){return g===null||F(g)?(e.exit("htmlFlowData"),De(g)):(e.consume(g),Ce)}function De(g){return e.exit("htmlFlow"),t(g)}}function Jf(e,t,n){const r=this;return u;function u(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):n(i)}function a(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}function Zf(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Yt,t,n)}}const eh={name:"htmlText",tokenize:th};function th(e,t,n){const r=this;let u,a,i;return o;function o(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),l}function l(b){return b===33?(e.consume(b),c):b===47?(e.consume(b),z):b===63?(e.consume(b),D):fe(b)?(e.consume(b),Z):n(b)}function c(b){return b===45?(e.consume(b),h):b===91?(e.consume(b),a=0,_):fe(b)?(e.consume(b),w):n(b)}function h(b){return b===45?(e.consume(b),m):n(b)}function f(b){return b===null?n(b):b===45?(e.consume(b),E):F(b)?(i=f,ae(b)):(e.consume(b),f)}function E(b){return b===45?(e.consume(b),m):f(b)}function m(b){return b===62?oe(b):b===45?E(b):f(b)}function _(b){const Ce="CDATA[";return b===Ce.charCodeAt(a++)?(e.consume(b),a===Ce.length?y:_):n(b)}function y(b){return b===null?n(b):b===93?(e.consume(b),P):F(b)?(i=y,ae(b)):(e.consume(b),y)}function P(b){return b===93?(e.consume(b),I):y(b)}function I(b){return b===62?oe(b):b===93?(e.consume(b),I):y(b)}function w(b){return b===null||b===62?oe(b):F(b)?(i=w,ae(b)):(e.consume(b),w)}function D(b){return b===null?n(b):b===63?(e.consume(b),v):F(b)?(i=D,ae(b)):(e.consume(b),D)}function v(b){return b===62?oe(b):D(b)}function z(b){return fe(b)?(e.consume(b),k):n(b)}function k(b){return b===45||le(b)?(e.consume(b),k):Q(b)}function Q(b){return F(b)?(i=Q,ae(b)):q(b)?(e.consume(b),Q):oe(b)}function Z(b){return b===45||le(b)?(e.consume(b),Z):b===47||b===62||J(b)?X(b):n(b)}function X(b){return b===47?(e.consume(b),oe):b===58||b===95||fe(b)?(e.consume(b),S):F(b)?(i=X,ae(b)):q(b)?(e.consume(b),X):oe(b)}function S(b){return b===45||b===46||b===58||b===95||le(b)?(e.consume(b),S):M(b)}function M(b){return b===61?(e.consume(b),B):F(b)?(i=M,ae(b)):q(b)?(e.consume(b),M):X(b)}function B(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),u=b,K):F(b)?(i=B,ae(b)):q(b)?(e.consume(b),B):(e.consume(b),te)}function K(b){return b===u?(e.consume(b),u=void 0,G):b===null?n(b):F(b)?(i=K,ae(b)):(e.consume(b),K)}function te(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||J(b)?X(b):(e.consume(b),te)}function G(b){return b===47||b===62||J(b)?X(b):n(b)}function oe(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function ae(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),Ae}function Ae(b){return q(b)?V(e,Oe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):Oe(b)}function Oe(b){return e.enter("htmlTextData"),i(b)}}const dr={name:"labelEnd",resolveAll:ih,resolveTo:ah,tokenize:sh},nh={tokenize:oh},rh={tokenize:lh},uh={tokenize:ch};function ih(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&be(e,0,e.length,n),e}function ah(e,t){let n=e.length,r=0,u,a,i,o;for(;n--;)if(u=e[n][1],a){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(a=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(i=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[i][1].end}},h={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=_e(o,e.slice(a+1,a+r+3)),o=_e(o,[["enter",h,t]]),o=_e(o,En(t.parser.constructs.insideSpan.null,e.slice(a+r+4,i-3),t)),o=_e(o,[["exit",h,t],e[i-2],e[i-1],["exit",c,t]]),o=_e(o,e.slice(i+1)),o=_e(o,[["exit",l,t]]),be(e,a,e.length,o),e}function sh(e,t,n){const r=this;let u=r.events.length,a,i;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){a=r.events[u][1];break}return o;function o(E){return a?a._inactive?f(E):(i=r.parser.defined.includes(Ne(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(E),e.exit("labelMarker"),e.exit("labelEnd"),l):n(E)}function l(E){return E===40?e.attempt(nh,h,i?h:f)(E):E===91?e.attempt(rh,h,i?c:f)(E):i?h(E):f(E)}function c(E){return e.attempt(uh,h,f)(E)}function h(E){return t(E)}function f(E){return a._balanced=!0,n(E)}}function oh(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return J(f)?Rt(e,a)(f):a(f)}function a(f){return f===41?h(f):na(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function i(f){return J(f)?Rt(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?ua(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return J(f)?Rt(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function lh(e,t,n){const r=this;return u;function u(o){return ra.call(r,e,a,i,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(Ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function i(o){return n(o)}}function ch(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),u}function u(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const fh={name:"labelStartImage",resolveAll:dr.resolveAll,tokenize:hh};function hh(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),i):n(o)}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const dh={name:"labelStartLink",resolveAll:dr.resolveAll,tokenize:mh};function mh(e,t,n){const r=this;return u;function u(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),a}function a(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}const kn={name:"lineEnding",tokenize:ph};function ph(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),V(e,t,"linePrefix")}}const Jt={name:"thematicBreak",tokenize:Eh};function Eh(e,t,n){let r=0,u;return a;function a(c){return e.enter("thematicBreak"),i(c)}function i(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),q(c)?V(e,o,"whitespace")(c):o(c))}}const de={continuation:{tokenize:_h},exit:Ch,name:"list",tokenize:gh},Th={partial:!0,tokenize:Ih},bh={partial:!0,tokenize:Ah};function gh(e,t,n){const r=this,u=r.events[r.events.length-1];let a=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,i=0;return o;function o(m){const _=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:qn(m)){if(r.containerState.type||(r.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Jt,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return qn(m)&&++i<10?(e.consume(m),l):(!r.interrupt||i<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Yt,r.interrupt?n:h,e.attempt(Th,E,f))}function h(m){return r.containerState.initialBlankLine=!0,a++,E(m)}function f(m){return q(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),E):n(m)}function E(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function _h(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Yt,u,a);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,V(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!q(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bh,t,i)(o))}function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,V(e,e.attempt(de,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ah(e,t,n){const r=this;return V(e,u,"listItemIndent",r.containerState.size+1);function u(a){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(a):n(a)}}function Ch(e){e.exit(this.containerState.type)}function Ih(e,t,n){const r=this;return V(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(a){const i=r.events[r.events.length-1];return!q(a)&&i&&i[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const lu={name:"setextUnderline",resolveTo:Sh,tokenize:Nh};function Sh(e,t){let n=e.length,r,u,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",a?(e.splice(u,0,["enter",i,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}function Nh(e,t,n){const r=this;let u;return a;function a(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),u=c,i(c)):n(c)}function i(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),q(c)?V(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const kh={tokenize:wh,partial:!0};function xh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Dh,continuation:{tokenize:Rh},exit:Ph}},text:{91:{name:"gfmFootnoteCall",tokenize:Oh},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:yh,resolveTo:Lh}}}}function yh(e,t,n){const r=this;let u=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){i=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!i||!i._balanced)return n(l);const c=Ne(r.sliceSerialize({start:i.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Lh(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Oh(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,i;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(a>999||f===93&&!i||f===null||f===91||J(f))return n(f);if(f===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return u.includes(Ne(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return J(f)||(i=!0),a++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function Dh(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0,o;return l;function l(_){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(_){return _===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(_)}function h(_){if(i>999||_===93&&!o||_===null||_===91||J(_))return n(_);if(_===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return a=Ne(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(_)||(o=!0),i++,e.consume(_),_===92?f:h}function f(_){return _===91||_===92||_===93?(e.consume(_),i++,h):h(_)}function E(_){return _===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),u.includes(a)||u.push(a),V(e,m,"gfmFootnoteDefinitionWhitespace")):n(_)}function m(_){return t(_)}}function Rh(e,t,n){return e.check(Yt,t,e.attempt(kh,t,n))}function Ph(e){e.exit("gfmFootnoteDefinition")}function wh(e,t,n){const r=this;return V(e,u,"gfmFootnoteDefinitionIndent",5);function u(a){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(a):n(a)}}function Mh(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(i,o){let l=-1;for(;++l<i.length;)if(i[l][0]==="enter"&&i[l][1].type==="strikethroughSequenceTemporary"&&i[l][1]._close){let c=l;for(;c--;)if(i[c][0]==="exit"&&i[c][1].type==="strikethroughSequenceTemporary"&&i[c][1]._open&&i[l][1].end.offset-i[l][1].start.offset===i[c][1].end.offset-i[c][1].start.offset){i[l][1].type="strikethroughSequence",i[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},i[c][1].start),end:Object.assign({},i[l][1].end)},f={type:"strikethroughText",start:Object.assign({},i[c][1].end),end:Object.assign({},i[l][1].start)},E=[["enter",h,o],["enter",i[c][1],o],["exit",i[c][1],o],["enter",f,o]],m=o.parser.constructs.insideSpan.null;m&&be(E,E.length,0,En(m,i.slice(c+1,l),o)),be(E,E.length,0,[["exit",f,o],["enter",i[l][1],o],["exit",i[l][1],o],["exit",h,o]]),be(i,c-1,l-c+3,E),l=c+E.length-2;break}}for(l=-1;++l<i.length;)i[l][1].type==="strikethroughSequenceTemporary"&&(i[l][1].type="data");return i}function a(i,o,l){const c=this.previous,h=this.events;let f=0;return E;function E(_){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(_):(i.enter("strikethroughSequenceTemporary"),m(_))}function m(_){const y=ct(c);if(_===126)return f>1?l(_):(i.consume(_),f++,m);if(f<2&&!n)return l(_);const P=i.exit("strikethroughSequenceTemporary"),I=ct(_);return P._open=!I||I===2&&!!y,P._close=!y||y===2&&!!I,o(_)}}}class Bh{constructor(){this.map=[]}add(t,n,r){Fh(this,t,n,r)}consume(t){if(this.map.sort(function(a,i){return a[0]-i[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let u=r.pop();for(;u;){for(const a of u)t.push(a);u=r.pop()}this.map.length=0}}function Fh(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function Hh(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Uh(){return{flow:{null:{name:"table",tokenize:vh,resolveAll:zh}}}}function vh(e,t,n){const r=this;let u=0,a=0,i;return o;function o(S){let M=r.events.length-1;for(;M>-1;){const te=r.events[M][1].type;if(te==="lineEnding"||te==="linePrefix")M--;else break}const B=M>-1?r.events[M][1].type:null,K=B==="tableHead"||B==="tableRow"?k:l;return K===k&&r.parser.lazy[r.now().line]?n(S):K(S)}function l(S){return e.enter("tableHead"),e.enter("tableRow"),c(S)}function c(S){return S===124||(i=!0,a+=1),h(S)}function h(S){return S===null?n(S):F(S)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),m):n(S):q(S)?V(e,h,"whitespace")(S):(a+=1,i&&(i=!1,u+=1),S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),i=!0,h):(e.enter("data"),f(S)))}function f(S){return S===null||S===124||J(S)?(e.exit("data"),h(S)):(e.consume(S),S===92?E:f)}function E(S){return S===92||S===124?(e.consume(S),f):f(S)}function m(S){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(S):(e.enter("tableDelimiterRow"),i=!1,q(S)?V(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):_(S))}function _(S){return S===45||S===58?P(S):S===124?(i=!0,e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),y):z(S)}function y(S){return q(S)?V(e,P,"whitespace")(S):P(S)}function P(S){return S===58?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),I):S===45?(a+=1,I(S)):S===null||F(S)?v(S):z(S)}function I(S){return S===45?(e.enter("tableDelimiterFiller"),w(S)):z(S)}function w(S){return S===45?(e.consume(S),w):S===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(S))}function D(S){return q(S)?V(e,v,"whitespace")(S):v(S)}function v(S){return S===124?_(S):S===null||F(S)?!i||u!==a?z(S):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(S)):z(S)}function z(S){return n(S)}function k(S){return e.enter("tableRow"),Q(S)}function Q(S){return S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),Q):S===null||F(S)?(e.exit("tableRow"),t(S)):q(S)?V(e,Q,"whitespace")(S):(e.enter("data"),Z(S))}function Z(S){return S===null||S===124||J(S)?(e.exit("data"),Q(S)):(e.consume(S),S===92?X:Z)}function X(S){return S===92||S===124?(e.consume(S),Z):Z(S)}}function zh(e,t){let n=-1,r=!0,u=0,a=[0,0,0,0],i=[0,0,0,0],o=!1,l=0,c,h,f;const E=new Bh;for(;++n<e.length;){const m=e[n],_=m[1];m[0]==="enter"?_.type==="tableHead"?(o=!1,l!==0&&(cu(E,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},E.add(n,0,[["enter",c,t]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(r=!0,f=void 0,a=[0,0,0,0],i=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},E.add(n,0,[["enter",h,t]])),u=_.type==="tableDelimiterRow"?2:h?3:1):u&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(a[1]!==0&&(i[0]=i[1],f=Gt(E,t,a,u,void 0,f),a=[0,0,0,0]),i[2]=n)):_.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(i[0]=i[1],f=Gt(E,t,a,u,void 0,f)),a=i,i=[a[1],n,0,0])):_.type==="tableHead"?(o=!0,l=n):_.type==="tableRow"||_.type==="tableDelimiterRow"?(l=n,a[1]!==0?(i[0]=i[1],f=Gt(E,t,a,u,n,f)):i[1]!==0&&(f=Gt(E,t,i,u,n,f)),u=0):u&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(i[3]=n)}for(l!==0&&cu(E,t,l,c,h),E.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=Hh(t.events,n))}return e}function Gt(e,t,n,r,u,a){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(a.end=Object.assign({},it(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=it(t.events,n[1]);if(a={type:i,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const c=it(t.events,n[2]),h=it(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const E=t.events[n[2]],m=t.events[n[3]];if(E[1].end=Object.assign({},m[1].end),E[1].type="chunkText",E[1].contentType="text",n[3]>n[2]+1){const _=n[2]+1,y=n[3]-n[2]-1;e.add(_,y,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(a.end=Object.assign({},it(t.events,u)),e.add(u,0,[["exit",a,t]]),a=void 0),a}function cu(e,t,n,r,u){const a=[],i=it(t.events,n);u&&(u.end=Object.assign({},i),a.push(["exit",u,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function it(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Yh={name:"tasklistCheck",tokenize:Wh};function qh(){return{text:{91:Yh}}}function Wh(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),i):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),i):n(l)}function i(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return F(l)?t(l):q(l)?e.check({tokenize:Vh},t,n)(l):n(l)}}function Vh(e,t,n){return V(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Qh(e){return qi([tf(),xh(),Mh(e),Uh(),qh()])}const Gh={};function R1(e){const t=this,n=e||Gh,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Qh(n)),a.push(K0()),i.push(j0(n))}function Pt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fu(e.position):"start"in e||"end"in e?fu(e):"line"in e||"column"in e?Qn(e):""}function Qn(e){return hu(e&&e.line)+":"+hu(e&&e.column)}function fu(e){return Qn(e&&e.start)+"-"+Qn(e&&e.end)}function hu(e){return e&&typeof e=="number"?e:1}class pe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",a={},i=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?u=t:!a.cause&&t&&(i=!0,u=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?a.ruleId=r:(a.source=r.slice(0,l),a.ruleId=r.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=o?o.line:void 0,this.name=Pt(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pe.prototype.file="";pe.prototype.name="";pe.prototype.reason="";pe.prototype.message="";pe.prototype.stack="";pe.prototype.column=void 0;pe.prototype.line=void 0;pe.prototype.ancestors=void 0;pe.prototype.cause=void 0;pe.prototype.fatal=void 0;pe.prototype.place=void 0;pe.prototype.ruleId=void 0;pe.prototype.source=void 0;const Xh={tokenize:Kh};function Kh(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),V(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,i(o)}function i(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return F(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),i)}}const jh={tokenize:$h},du={tokenize:Jh};function $h(e){const t=this,n=[];let r=0,u,a,i;return o;function o(D){if(r<n.length){const v=n[r];return t.containerState=v[1],e.attempt(v[0].continuation,l,c)(D)}return c(D)}function l(D){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&w();const v=t.events.length;let z=v,k;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){k=t.events[z][1].end;break}I(r);let Q=v;for(;Q<t.events.length;)t.events[Q][1].end={...k},Q++;return be(t.events,z+1,0,t.events.slice(v)),t.events.length=Q,c(D)}return o(D)}function c(D){if(r===n.length){if(!u)return E(D);if(u.currentConstruct&&u.currentConstruct.concrete)return _(D);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(du,h,f)(D)}function h(D){return u&&w(),I(r),E(D)}function f(D){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,_(D)}function E(D){return t.containerState={},e.attempt(du,m,_)(D)}function m(D){return r++,n.push([t.currentConstruct,t.containerState]),E(D)}function _(D){if(D===null){u&&w(),I(0),e.consume(D);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:a}),y(D)}function y(D){if(D===null){P(e.exit("chunkFlow"),!0),I(0),e.consume(D);return}return F(D)?(e.consume(D),P(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(D),y)}function P(D,v){const z=t.sliceStream(D);if(v&&z.push(null),D.previous=a,a&&(a.next=D),a=D,u.defineSkip(D.start),u.write(z),t.parser.lazy[D.start.line]){let k=u.events.length;for(;k--;)if(u.events[k][1].start.offset<i&&(!u.events[k][1].end||u.events[k][1].end.offset>i))return;const Q=t.events.length;let Z=Q,X,S;for(;Z--;)if(t.events[Z][0]==="exit"&&t.events[Z][1].type==="chunkFlow"){if(X){S=t.events[Z][1].end;break}X=!0}for(I(r),k=Q;k<t.events.length;)t.events[k][1].end={...S},k++;be(t.events,Z+1,0,t.events.slice(Q)),t.events.length=k}}function I(D){let v=n.length;for(;v-- >D;){const z=n[v];t.containerState=z[1],z[0].exit.call(t,e)}n.length=D}function w(){u.write([null]),a=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Jh(e,t,n){return V(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Zh={tokenize:ed};function ed(e){const t=this,n=e.attempt(Yt,r,e.attempt(this.parser.constructs.flowInitial,u,V(e,e.attempt(this.parser.constructs.flow,u,e.attempt(Rf,u)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const td={resolveAll:aa()},nd=ia("string"),rd=ia("text");function ia(e){return{resolveAll:aa(e==="text"?ud:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],a=n.attempt(u,i,o);return i;function i(h){return c(h)?a(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),a(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let E=-1;if(f)for(;++E<f.length;){const m=f[E];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function aa(e){return t;function t(n,r){let u=-1,a;for(;++u<=n.length;)a===void 0?n[u]&&n[u][1].type==="data"&&(a=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==a+2&&(n[a][1].end=n[u-1][1].end,n.splice(a+2,u-a-2),u=a+2),a=void 0);return e?e(n,r):n}}function ud(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let a=u.length,i=-1,o=0,l;for(;a--;){const c=u[a];if(typeof c=="string"){for(i=c.length;c.charCodeAt(i-1)===32;)o++,i--;if(i)break;i=-1}else if(c===-2)l=!0,o++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?i:r.start._bufferIndex+i,_index:r.start._index+a,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const id={42:de,43:de,45:de,48:de,49:de,50:de,51:de,52:de,53:de,54:de,55:de,56:de,57:de,62:Ji},ad={91:Ff},sd={[-2]:Nn,[-1]:Nn,32:Nn},od={35:qf,42:Jt,45:[lu,Jt],60:Gf,61:lu,95:Jt,96:su,126:su},ld={38:ea,92:Zi},cd={[-5]:kn,[-4]:kn,[-3]:kn,33:fh,38:ea,42:Vn,60:[df,eh],91:dh,92:[zf,Zi],93:dr,95:Vn,96:kf},fd={null:[Vn,td]},hd={null:[42,95]},dd={null:[]},md=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hd,contentInitial:ad,disable:dd,document:id,flow:od,flowInitial:sd,insideSpan:fd,string:ld,text:cd},Symbol.toStringTag,{value:"Module"}));function pd(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},a=[];let i=[],o=[];const l={attempt:Q(z),check:Q(k),consume:w,enter:D,exit:v,interrupt:Q(k,{interrupt:!0})},c={code:null,containerState:{},defineSkip:y,events:[],now:_,parser:e,previous:null,sliceSerialize:E,sliceStream:m,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function f(M){return i=_e(i,M),P(),i[i.length-1]!==null?[]:(Z(t,0),c.events=En(a,c.events,c),c.events)}function E(M,B){return Td(m(M),B)}function m(M){return Ed(i,M)}function _(){const{_bufferIndex:M,_index:B,line:K,column:te,offset:G}=r;return{_bufferIndex:M,_index:B,line:K,column:te,offset:G}}function y(M){u[M.line]=M.column,S()}function P(){let M;for(;r._index<i.length;){const B=i[r._index];if(typeof B=="string")for(M=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===M&&r._bufferIndex<B.length;)I(B.charCodeAt(r._bufferIndex));else I(B)}}function I(M){h=h(M)}function w(M){F(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,S()):M!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=M}function D(M,B){const K=B||{};return K.type=M,K.start=_(),c.events.push(["enter",K,c]),o.push(K),K}function v(M){const B=o.pop();return B.end=_(),c.events.push(["exit",B,c]),B}function z(M,B){Z(M,B.from)}function k(M,B){B.restore()}function Q(M,B){return K;function K(te,G,oe){let ae,Ae,Oe,b;return Array.isArray(te)?De(te):"tokenize"in te?De([te]):Ce(te);function Ce(se){return Et;function Et(Fe){const tt=Fe!==null&&se[Fe],nt=Fe!==null&&se.null,Wt=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(nt)?nt:nt?[nt]:[]];return De(Wt)(Fe)}}function De(se){return ae=se,Ae=0,se.length===0?oe:g(se[Ae])}function g(se){return Et;function Et(Fe){return b=X(),Oe=se,se.partial||(c.currentConstruct=se),se.name&&c.parser.constructs.disable.null.includes(se.name)?We():se.tokenize.call(B?Object.assign(Object.create(c),B):c,l,Ie,We)(Fe)}}function Ie(se){return M(Oe,b),G}function We(se){return b.restore(),++Ae<ae.length?g(ae[Ae]):oe}}}function Z(M,B){M.resolveAll&&!a.includes(M)&&a.push(M),M.resolve&&be(c.events,B,c.events.length-B,M.resolve(c.events.slice(B),c)),M.resolveTo&&(c.events=M.resolveTo(c.events,c))}function X(){const M=_(),B=c.previous,K=c.currentConstruct,te=c.events.length,G=Array.from(o);return{from:te,restore:oe};function oe(){r=M,c.previous=B,c.currentConstruct=K,c.events.length=te,o=G,S()}}function S(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Ed(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,a=t.end._bufferIndex;let i;if(n===u)i=[e[n].slice(r,a)];else{if(i=e.slice(n,u),r>-1){const o=i[0];typeof o=="string"?i[0]=o.slice(r):i.shift()}a>0&&i.push(e[u].slice(0,a))}return i}function Td(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const a=e[n];let i;if(typeof a=="string")i=a;else switch(a){case-5:{i="\r";break}case-4:{i=`
|
|
18
|
-
`;break}case-3:{i=`\r
|
|
19
|
-
`;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&u)continue;i=" ";break}default:i=String.fromCharCode(a)}u=a===-2,r.push(i)}return r.join("")}function bd(e){const r={constructs:qi([md,...(e||{}).extensions||[]]),content:u(Xh),defined:[],document:u(jh),flow:u(Zh),lazy:{},string:u(nd),text:u(rd)};return r;function u(a){return i;function i(o){return pd(r,a,o)}}}function gd(e){for(;!ta(e););return e}const mu=/[\0\t\n\r]/g;function _d(){let e=1,t="",n=!0,r;return u;function u(a,i,o){const l=[];let c,h,f,E,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(i||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(mu.lastIndex=f,c=mu.exec(a),E=c&&c.index!==void 0?c.index:a.length,m=a.charCodeAt(E),!c){t=a.slice(f);break}if(m===10&&f===E&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<E&&(l.push(a.slice(f,E)),e+=E-f),m){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=E+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const sa={}.hasOwnProperty;function Ad(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Cd(n)(gd(bd(n).document().write(_d()(e,t,!0))))}function Cd(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(br),autolinkProtocol:X,autolinkEmail:X,atxHeading:a(pr),blockQuote:a(nt),characterEscape:X,characterReference:X,codeFenced:a(Wt),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:a(Wt,i),codeText:a(fa,i),codeTextData:X,data:X,codeFlowValue:X,definition:a(ha),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:a(da),hardBreakEscape:a(Er),hardBreakTrailing:a(Er),htmlFlow:a(Tr,i),htmlFlowData:X,htmlText:a(Tr,i),htmlTextData:X,image:a(ma),label:i,link:a(br),listItem:a(pa),listItemValue:E,listOrdered:a(gr,f),listUnordered:a(gr),paragraph:a(Ea),reference:g,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:a(pr),strong:a(Ta),thematicBreak:a(ga)},exit:{atxHeading:l(),atxHeadingSequence:z,autolink:l(),autolinkEmail:tt,autolinkProtocol:Fe,blockQuote:l(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:We,characterReferenceMarkerNumeric:We,characterReferenceValue:se,characterReference:Et,codeFenced:l(P),codeFencedFence:y,codeFencedFenceInfo:m,codeFencedFenceMeta:_,codeFlowValue:S,codeIndented:l(I),codeText:l(G),codeTextData:S,data:S,definition:l(),definitionDestinationString:v,definitionLabelString:w,definitionTitleString:D,emphasis:l(),hardBreakEscape:l(B),hardBreakTrailing:l(B),htmlFlow:l(K),htmlFlowData:S,htmlText:l(te),htmlTextData:S,image:l(ae),label:Oe,labelText:Ae,lineEnding:M,link:l(oe),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ie,resourceDestinationString:b,resourceTitleString:Ce,resource:De,setextHeading:l(Z),setextHeadingLineSequence:Q,setextHeadingText:k,strong:l(),thematicBreak:l()}};oa(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(N){let R={type:"root",children:[]};const U={stack:[R],tokenStack:[],config:t,enter:o,exit:c,buffer:i,resume:h,data:n},W=[];let j=-1;for(;++j<N.length;)if(N[j][1].type==="listOrdered"||N[j][1].type==="listUnordered")if(N[j][0]==="enter")W.push(j);else{const Se=W.pop();j=u(N,Se,j)}for(j=-1;++j<N.length;){const Se=t[N[j][0]];sa.call(Se,N[j][1].type)&&Se[N[j][1].type].call(Object.assign({sliceSerialize:N[j][2].sliceSerialize},U),N[j][1])}if(U.tokenStack.length>0){const Se=U.tokenStack[U.tokenStack.length-1];(Se[1]||pu).call(U,void 0,Se[0])}for(R.position={start:He(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:He(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},j=-1;++j<t.transforms.length;)R=t.transforms[j](R)||R;return R}function u(N,R,U){let W=R-1,j=-1,Se=!1,Ve,Re,Tt,bt;for(;++W<=U;){const Ee=N[W];switch(Ee[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ee[0]==="enter"?j++:j--,bt=void 0;break}case"lineEndingBlank":{Ee[0]==="enter"&&(Ve&&!bt&&!j&&!Tt&&(Tt=W),bt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:bt=void 0}if(!j&&Ee[0]==="enter"&&Ee[1].type==="listItemPrefix"||j===-1&&Ee[0]==="exit"&&(Ee[1].type==="listUnordered"||Ee[1].type==="listOrdered")){if(Ve){let rt=W;for(Re=void 0;rt--;){const Pe=N[rt];if(Pe[1].type==="lineEnding"||Pe[1].type==="lineEndingBlank"){if(Pe[0]==="exit")continue;Re&&(N[Re][1].type="lineEndingBlank",Se=!0),Pe[1].type="lineEnding",Re=rt}else if(!(Pe[1].type==="linePrefix"||Pe[1].type==="blockQuotePrefix"||Pe[1].type==="blockQuotePrefixWhitespace"||Pe[1].type==="blockQuoteMarker"||Pe[1].type==="listItemIndent"))break}Tt&&(!Re||Tt<Re)&&(Ve._spread=!0),Ve.end=Object.assign({},Re?N[Re][1].start:Ee[1].end),N.splice(Re||W,0,["exit",Ve,Ee[2]]),W++,U++}if(Ee[1].type==="listItemPrefix"){const rt={type:"listItem",_spread:!1,start:Object.assign({},Ee[1].start),end:void 0};Ve=rt,N.splice(W,0,["enter",rt,Ee[2]]),W++,U++,Tt=void 0,bt=!0}}}return N[R][1]._spread=Se,U}function a(N,R){return U;function U(W){o.call(this,N(W),W),R&&R.call(this,W)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(N,R,U){this.stack[this.stack.length-1].children.push(N),this.stack.push(N),this.tokenStack.push([R,U||void 0]),N.position={start:He(R.start),end:void 0}}function l(N){return R;function R(U){N&&N.call(this,U),c.call(this,U)}}function c(N,R){const U=this.stack.pop(),W=this.tokenStack.pop();if(W)W[0].type!==N.type&&(R?R.call(this,N,W[0]):(W[1]||pu).call(this,N,W[0]));else throw new Error("Cannot close `"+N.type+"` ("+Pt({start:N.start,end:N.end})+"): it’s not open");U.position.end=He(N.end)}function h(){return lr(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function E(N){if(this.data.expectingFirstListItemValue){const R=this.stack[this.stack.length-2];R.start=Number.parseInt(this.sliceSerialize(N),10),this.data.expectingFirstListItemValue=void 0}}function m(){const N=this.resume(),R=this.stack[this.stack.length-1];R.lang=N}function _(){const N=this.resume(),R=this.stack[this.stack.length-1];R.meta=N}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function P(){const N=this.resume(),R=this.stack[this.stack.length-1];R.value=N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const N=this.resume(),R=this.stack[this.stack.length-1];R.value=N.replace(/(\r?\n|\r)$/g,"")}function w(N){const R=this.resume(),U=this.stack[this.stack.length-1];U.label=R,U.identifier=Ne(this.sliceSerialize(N)).toLowerCase()}function D(){const N=this.resume(),R=this.stack[this.stack.length-1];R.title=N}function v(){const N=this.resume(),R=this.stack[this.stack.length-1];R.url=N}function z(N){const R=this.stack[this.stack.length-1];if(!R.depth){const U=this.sliceSerialize(N).length;R.depth=U}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function Q(N){const R=this.stack[this.stack.length-1];R.depth=this.sliceSerialize(N).codePointAt(0)===61?1:2}function Z(){this.data.setextHeadingSlurpLineEnding=void 0}function X(N){const U=this.stack[this.stack.length-1].children;let W=U[U.length-1];(!W||W.type!=="text")&&(W=ba(),W.position={start:He(N.start),end:void 0},U.push(W)),this.stack.push(W)}function S(N){const R=this.stack.pop();R.value+=this.sliceSerialize(N),R.position.end=He(N.end)}function M(N){const R=this.stack[this.stack.length-1];if(this.data.atHardBreak){const U=R.children[R.children.length-1];U.position.end=He(N.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(R.type)&&(X.call(this,N),S.call(this,N))}function B(){this.data.atHardBreak=!0}function K(){const N=this.resume(),R=this.stack[this.stack.length-1];R.value=N}function te(){const N=this.resume(),R=this.stack[this.stack.length-1];R.value=N}function G(){const N=this.resume(),R=this.stack[this.stack.length-1];R.value=N}function oe(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const R=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=R,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function ae(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const R=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=R,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function Ae(N){const R=this.sliceSerialize(N),U=this.stack[this.stack.length-2];U.label=B0(R),U.identifier=Ne(R).toLowerCase()}function Oe(){const N=this.stack[this.stack.length-1],R=this.resume(),U=this.stack[this.stack.length-1];if(this.data.inReference=!0,U.type==="link"){const W=N.children;U.children=W}else U.alt=R}function b(){const N=this.resume(),R=this.stack[this.stack.length-1];R.url=N}function Ce(){const N=this.resume(),R=this.stack[this.stack.length-1];R.title=N}function De(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function Ie(N){const R=this.resume(),U=this.stack[this.stack.length-1];U.label=R,U.identifier=Ne(this.sliceSerialize(N)).toLowerCase(),this.data.referenceType="full"}function We(N){this.data.characterReferenceType=N.type}function se(N){const R=this.sliceSerialize(N),U=this.data.characterReferenceType;let W;U?(W=Yi(R,U==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):W=fr(R);const j=this.stack[this.stack.length-1];j.value+=W}function Et(N){const R=this.stack.pop();R.position.end=He(N.end)}function Fe(N){S.call(this,N);const R=this.stack[this.stack.length-1];R.url=this.sliceSerialize(N)}function tt(N){S.call(this,N);const R=this.stack[this.stack.length-1];R.url="mailto:"+this.sliceSerialize(N)}function nt(){return{type:"blockquote",children:[]}}function Wt(){return{type:"code",lang:null,meta:null,value:""}}function fa(){return{type:"inlineCode",value:""}}function ha(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function da(){return{type:"emphasis",children:[]}}function pr(){return{type:"heading",depth:0,children:[]}}function Er(){return{type:"break"}}function Tr(){return{type:"html",value:""}}function ma(){return{type:"image",title:null,url:"",alt:null}}function br(){return{type:"link",title:null,url:"",children:[]}}function gr(N){return{type:"list",ordered:N.type==="listOrdered",start:null,spread:N._spread,children:[]}}function pa(N){return{type:"listItem",spread:N._spread,checked:null,children:[]}}function Ea(){return{type:"paragraph",children:[]}}function Ta(){return{type:"strong",children:[]}}function ba(){return{type:"text",value:""}}function ga(){return{type:"thematicBreak"}}}function He(e){return{line:e.line,column:e.column,offset:e.offset}}function oa(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?oa(e,r):Id(e,r)}}function Id(e,t){let n;for(n in t)if(sa.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function pu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Pt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Pt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Pt({start:t.start,end:t.end})+") is still open")}function P1(e){const t=this;t.parser=n;function n(r){return Ad(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Sd(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Nd(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
20
|
-
`}]}function kd(e,t){const n=t.value?t.value+`
|
|
21
|
-
`:"",r={},u=t.lang?t.lang.split(/\s+/):[];u.length>0&&(r.className=["language-"+u[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function xd(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function yd(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ld(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=pt(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let i,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=a+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function Od(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Dd(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function la(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const u=e.all(t),a=u[0];a&&a.type==="text"?a.value="["+a.value:u.unshift({type:"text",value:"["});const i=u[u.length-1];return i&&i.type==="text"?i.value+=r:u.push({type:"text",value:r}),u}function Rd(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return la(e,t);const u={src:pt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const a={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,a),e.applyData(t,a)}function Pd(e,t){const n={src:pt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function wd(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Md(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return la(e,t);const u={href:pt(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const a={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Bd(e,t){const n={href:pt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Fd(e,t,n){const r=e.all(t),u=n?Hd(n):ca(t),a={},i=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const h=r[o];(u||o!==0||h.type!=="element"||h.tagName!=="p")&&i.push({type:"text",value:`
|
|
22
|
-
`}),h.type==="element"&&h.tagName==="p"&&!u?i.push(...h.children):i.push(h)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&i.push({type:"text",value:`
|
|
23
|
-
`});const c={type:"element",tagName:"li",properties:a,children:i};return e.patch(t,c),e.applyData(t,c)}function Hd(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=ca(n[r])}return t}function ca(e){const t=e.spread;return t??e.children.length>1}function Ud(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const i=r[u];if(i.type==="element"&&i.tagName==="li"&&i.properties&&Array.isArray(i.properties.className)&&i.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function vd(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zd(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Yd(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qd(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],i),u.push(i)}if(n.length>0){const i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Me(t.children[1]),l=mn(t.children[t.children.length-1]);o&&l&&(i.position={start:o,end:l}),u.push(i)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,a),e.applyData(t,a)}function Wd(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,o=i?i.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],E={},m=i?i[l]:void 0;m&&(E.align=m);let _={type:"element",tagName:a,properties:E,children:[]};f&&(_.children=e.all(f),e.patch(f,_),_=e.applyData(f,_)),c.push(_)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function Vd(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Eu=9,Tu=32;function Qd(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const a=[];for(;r;)a.push(bu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return a.push(bu(t.slice(u),u>0,!1)),a.join("")}function bu(e,t,n){let r=0,u=e.length;if(t){let a=e.codePointAt(r);for(;a===Eu||a===Tu;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(u-1);for(;a===Eu||a===Tu;)u--,a=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function Gd(e,t){const n={type:"text",value:Qd(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Xd(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Kd={blockquote:Sd,break:Nd,code:kd,delete:xd,emphasis:yd,footnoteReference:Ld,heading:Od,html:Dd,imageReference:Rd,image:Pd,inlineCode:wd,linkReference:Md,link:Bd,listItem:Fd,list:Ud,paragraph:vd,root:zd,strong:Yd,table:qd,tableCell:Vd,tableRow:Wd,text:Gd,thematicBreak:Xd,toml:Xt,yaml:Xt,definition:Xt,footnoteDefinition:Xt};function Xt(){}function jd(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function $d(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Jd(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||jd,r=e.options.footnoteBackLabel||$d,u=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const h=e.all(c),f=String(c.identifier).toUpperCase(),E=pt(f.toLowerCase());let m=0;const _=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++m<=y;){_.length>0&&_.push({type:"text",value:" "});let w=typeof n=="string"?n:n(l,m);typeof w=="string"&&(w={type:"text",value:w}),_.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+E+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,m),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const P=h[h.length-1];if(P&&P.type==="element"&&P.tagName==="p"){const w=P.children[P.children.length-1];w&&w.type==="text"?w.value+=" ":P.children.push({type:"text",value:" "}),P.children.push(..._)}else h.push(..._);const I={type:"element",tagName:"li",properties:{id:t+"fn-"+E},children:e.wrap(h,!0)};e.patch(c,I),o.push(I)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...$e(i),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
24
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
25
|
-
`}]}}const Gn={}.hasOwnProperty,Zd={};function e1(e,t){const n=t||Zd,r=new Map,u=new Map,a=new Map,i={...Kd,...n.handlers},o={all:c,applyData:n1,definitionById:r,footnoteById:u,footnoteCounts:a,footnoteOrder:[],handlers:i,one:l,options:n,patch:t1,wrap:u1};return st(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,E=String(h.identifier).toUpperCase();f.has(E)||f.set(E,h)}}),o;function l(h,f){const E=h.type,m=o.handlers[E];if(Gn.call(o.handlers,E)&&m)return m(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(E)){if("children"in h){const{children:y,...P}=h,I=$e(P);return I.children=o.all(h),I}return $e(h)}return(o.options.unknownHandler||r1)(o,h,f)}function c(h){const f=[];if("children"in h){const E=h.children;let m=-1;for(;++m<E.length;){const _=o.one(E[m],h);if(_){if(m&&E[m-1].type==="break"&&(!Array.isArray(_)&&_.type==="text"&&(_.value=gu(_.value)),!Array.isArray(_)&&_.type==="element")){const y=_.children[0];y&&y.type==="text"&&(y.value=gu(y.value))}Array.isArray(_)?f.push(..._):f.push(_)}}}return f}}function t1(e,t){e.position&&(t.position=bi(e))}function n1(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const i="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:i}}n.type==="element"&&a&&Object.assign(n.properties,$e(a)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function r1(e,t){const n=t.data||{},r="value"in t&&!(Gn.call(n,"hProperties")||Gn.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function u1(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
26
|
-
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
27
|
-
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
28
|
-
`}),n}function gu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _u(e,t){const n=e1(e,t),r=n.one(e,void 0),u=Jd(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&a.children.push({type:"text",value:`
|
|
29
|
-
`},u),a}function w1(e,t){return e&&"run"in e?async function(n,r){const u=_u(n,{file:r,...t});await e.run(u,r)}:function(n,r){return _u(n,{file:r,...e||t})}}function Au(e){if(e)throw e}var xn,Cu;function i1(){if(Cu)return xn;Cu=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},a=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var h=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!h&&!f)return!1;var E;for(E in c);return typeof E>"u"||e.call(c,E)},i=function(c,h){n&&h.name==="__proto__"?n(c,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):c[h.name]=h.newValue},o=function(c,h){if(h==="__proto__")if(e.call(c,h)){if(r)return r(c,h).value}else return;return c[h]};return xn=function l(){var c,h,f,E,m,_,y=arguments[0],P=1,I=arguments.length,w=!1;for(typeof y=="boolean"&&(w=y,y=arguments[1]||{},P=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});P<I;++P)if(c=arguments[P],c!=null)for(h in c)f=o(y,h),E=o(c,h),y!==E&&(w&&E&&(a(E)||(m=u(E)))?(m?(m=!1,_=f&&u(f)?f:[]):_=f&&a(f)?f:{},i(y,{name:h,newValue:l(w,_,E)})):typeof E<"u"&&i(y,{name:h,newValue:E}));return y},xn}var a1=i1();const yn=_a(a1);function Xn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function s1(){const e=[],t={run:n,use:r};return t;function n(...u){let a=-1;const i=u.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);o(null,...u);function o(l,...c){const h=e[++a];let f=-1;if(l){i(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?o1(h,o)(...c):i(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function o1(e,t){let n;return r;function r(...i){const o=e.length>i.length;let l;o&&i.push(u);try{l=e.apply(this,i)}catch(c){const h=c;if(o&&n)throw h;return u(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(a,u):l instanceof Error?u(l):a(l))}function u(i,...o){n||(n=!0,t(i,...o))}function a(i){u(null,i)}}const xe={basename:l1,dirname:c1,extname:f1,join:h1,sep:"/"};function l1(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');qt(e);let n=0,r=-1,u=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else r<0&&(a=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else i<0&&(a=!0,i=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function c1(e){if(qt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function f1(e){qt(e);let t=e.length,n=-1,r=0,u=-1,a=0,i;for(;t--;){const o=e.codePointAt(t);if(o===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),o===46?u<0?u=t:a!==1&&(a=1):u>-1&&(a=-1)}return u<0||n<0||a===0||a===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function h1(...e){let t=-1,n;for(;++t<e.length;)qt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":d1(n)}function d1(e){qt(e);const t=e.codePointAt(0)===47;let n=m1(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function m1(e,t){let n="",r=0,u=-1,a=0,i=-1,o,l;for(;++i<=e.length;){if(i<e.length)o=e.codePointAt(i);else{if(o===47)break;o=47}if(o===47){if(!(u===i-1||a===1))if(u!==i-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=i,a=0;continue}}else if(n.length>0){n="",r=0,u=i,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,i):n=e.slice(u+1,i),r=i-u-1;u=i,a=0}else o===46&&a>-1?a++:a=-1}return n}function qt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p1={cwd:E1};function E1(){return"/"}function Kn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function T1(e){if(typeof e=="string")e=new URL(e);else if(!Kn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return b1(e)}function b1(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Ln=["history","path","basename","stem","extname","dirname"];class g1{constructor(t){let n;t?Kn(t)?n={path:t}:typeof t=="string"||_1(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":p1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ln.length;){const a=Ln[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let u;for(u in n)Ln.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?xe.basename(this.path):void 0}set basename(t){Dn(t,"basename"),On(t,"basename"),this.path=xe.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?xe.dirname(this.path):void 0}set dirname(t){Iu(this.basename,"dirname"),this.path=xe.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?xe.extname(this.path):void 0}set extname(t){if(On(t,"extname"),Iu(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=xe.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Kn(t)&&(t=T1(t)),Dn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?xe.basename(this.path,this.extname):void 0}set stem(t){Dn(t,"stem"),On(t,"stem"),this.path=xe.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new pe(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function On(e,t){if(e&&e.includes(xe.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+xe.sep+"`")}function Dn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Iu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function _1(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const A1=(function(e){const r=this.constructor.prototype,u=r[e],a=function(){return u.apply(a,arguments)};return Object.setPrototypeOf(a,r),a}),C1={}.hasOwnProperty;class mr extends A1{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=s1()}copy(){const t=new mr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(yn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(wn("data",this.frozen),this.namespace[t]=n,this):C1.call(this.namespace,t)&&this.namespace[t]||void 0:t?(wn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Kt(t),r=this.parser||this.Parser;return Rn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Rn("process",this.parser||this.Parser),Pn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(a,i){const o=Kt(t),l=r.parse(o);r.run(l,o,function(h,f,E){if(h||!f||!E)return c(h);const m=f,_=r.stringify(m,E);S1(_)?E.value=_:E.result=_,c(h,E)});function c(h,f){h||!f?i(h):a?a(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Rn("processSync",this.parser||this.Parser),Pn("processSync",this.compiler||this.Compiler),this.process(t,u),Nu("processSync","process",n),r;function u(a,i){n=!0,Au(a),r=i}}run(t,n,r){Su(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(i,o){const l=Kt(n);u.run(t,l,c);function c(h,f,E){const m=f||t;h?o(h):i?i(m):r(void 0,m,E)}}}runSync(t,n){let r=!1,u;return this.run(t,n,a),Nu("runSync","run",r),u;function a(i,o){Au(i),u=o,r=!0}}stringify(t,n){this.freeze();const r=Kt(n),u=this.compiler||this.Compiler;return Pn("stringify",u),Su(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(wn("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):i(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else i(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function i(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(u.settings=yn(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];a(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,E=-1;for(;++f<r.length;)if(r[f][0]===c){E=f;break}if(E===-1)r.push([c,...h]);else if(h.length>0){let[m,..._]=h;const y=r[E][1];Xn(y)&&Xn(m)&&(m=yn(!0,y,m)),r[E]=[c,m,..._]}}}}const M1=new mr().freeze();function Rn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Pn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function wn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Su(e){if(!Xn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Nu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Kt(e){return I1(e)?e:new g1(e)}function I1(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function S1(e){return typeof e=="string"||N1(e)}function N1(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}export{St as S,pe as V,La as a,Oa as b,Ir as c,Aa as d,x1 as e,$n as f,Xr as g,an as h,y1 as i,D1 as j,O1 as k,Mu as l,P1 as m,w1 as n,L1 as o,Me as p,R1 as r,Ht as s,M1 as u,st as v,Pu as z};
|