reasonix 0.49.0 → 0.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/dist/app.css +1 -0
- package/dashboard/dist/app.js +28 -30531
- package/dashboard/dist/app.js.map +1 -1
- package/dashboard/dist/assets/KaTeX_AMS-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_AMS-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_AMS-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Bold.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Bold.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Bold.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Bold.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Main-BoldItalic.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Italic.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Italic.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Italic.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Main-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Math-BoldItalic.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Math-Italic.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Math-Italic.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Math-Italic.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Bold.woff +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Italic.woff +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Script-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Script-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Script-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Size1-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Size1-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Size1-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Size2-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Size2-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Size2-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Size3-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Size3-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Size4-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Size4-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Size4-Regular.woff2 +0 -0
- package/dashboard/dist/assets/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dashboard/dist/assets/KaTeX_Typewriter-Regular.woff +0 -0
- package/dashboard/dist/assets/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dashboard/dist/assets/geist-cyrillic-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-cyrillic-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-cyrillic-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-cyrillic-700-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-cyrillic-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-cyrillic-ext-700-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-700-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-ext-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-ext-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-ext-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-ext-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-latin-ext-700-normal.woff +0 -0
- package/dashboard/dist/assets/geist-latin-ext-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-symbols2-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-symbols2-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-symbols2-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-vietnamese-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-vietnamese-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-mono-vietnamese-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-vietnamese-400-normal.woff +0 -0
- package/dashboard/dist/assets/geist-vietnamese-500-normal.woff +0 -0
- package/dashboard/dist/assets/geist-vietnamese-600-normal.woff +0 -0
- package/dashboard/dist/assets/geist-vietnamese-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/geist-vietnamese-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-cyrillic-ext-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-ext-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-ext-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-ext-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-ext-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-greek-ext-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-greek-ext-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-ext-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-ext-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-ext-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-ext-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-ext-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-ext-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-latin-ext-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-latin-ext-700-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-vietnamese-400-normal.woff +0 -0
- package/dashboard/dist/assets/inter-vietnamese-400-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-vietnamese-500-normal.woff +0 -0
- package/dashboard/dist/assets/inter-vietnamese-500-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-vietnamese-600-normal.woff +0 -0
- package/dashboard/dist/assets/inter-vietnamese-600-normal.woff2 +0 -0
- package/dashboard/dist/assets/inter-vietnamese-700-normal.woff +0 -0
- package/dashboard/dist/assets/inter-vietnamese-700-normal.woff2 +0 -0
- package/dashboard/dist/vendor-icons.js +102 -0
- package/dashboard/dist/vendor-icons.js.map +1 -0
- package/dashboard/dist/vendor-katex.css +1 -0
- package/dashboard/dist/vendor-katex.js +258 -0
- package/dashboard/dist/vendor-katex.js.map +1 -0
- package/dashboard/dist/vendor-markdown.js +36 -0
- package/dashboard/dist/vendor-markdown.js.map +1 -0
- package/dashboard/dist/vendor-prism.js +15 -0
- package/dashboard/dist/vendor-prism.js.map +1 -0
- package/dashboard/dist/vendor-react.js +50 -0
- package/dashboard/dist/vendor-react.js.map +1 -0
- package/dashboard/index.html +4 -3
- package/dist/cli/{acp-WFQIC6SO.js → acp-6B25WIFF.js} +48 -49
- package/dist/cli/acp-6B25WIFF.js.map +1 -0
- package/dist/cli/chat-7WASPB4O.js +50 -0
- package/dist/cli/{chunk-QF32ROX2.js → chunk-3KRRTLC5.js} +955 -788
- package/dist/cli/chunk-3KRRTLC5.js.map +1 -0
- package/dist/cli/{chunk-TEDWJKEI.js → chunk-3RNFYDDM.js} +11 -27
- package/dist/cli/chunk-3RNFYDDM.js.map +1 -0
- package/dist/cli/{chunk-ZWHSHFDP.js → chunk-6IUMTRFP.js} +35 -7
- package/dist/cli/chunk-6IUMTRFP.js.map +1 -0
- package/dist/cli/{chunk-GNS7BAT2.js → chunk-7WITYWKN.js} +2 -2
- package/dist/cli/{chunk-HIYTRCSW.js → chunk-7YPMTE3U.js} +65 -28
- package/dist/cli/chunk-7YPMTE3U.js.map +1 -0
- package/dist/cli/{chunk-DFX5ZH5L.js → chunk-AAHB2PFX.js} +2 -2
- package/dist/cli/{chunk-PB3MAFEI.js → chunk-AJIZ5KFK.js} +3 -3
- package/dist/cli/{chunk-U5XQDCK7.js → chunk-ALCOQP6R.js} +10 -9
- package/dist/cli/chunk-ALCOQP6R.js.map +1 -0
- package/dist/cli/{chunk-6OWJV3YW.js → chunk-CAGKEGNE.js} +1 -2
- package/dist/cli/{chunk-JNTMOX7G.js → chunk-ENFBF6HI.js} +15 -3
- package/dist/cli/chunk-ENFBF6HI.js.map +1 -0
- package/dist/cli/{chunk-J2IHQGPQ.js → chunk-EZ57UEZQ.js} +2 -2
- package/dist/cli/{chunk-QX5TWXRZ.js → chunk-FQSQFCBI.js} +41 -2
- package/dist/cli/chunk-FQSQFCBI.js.map +1 -0
- package/dist/cli/{chunk-ZAEJWKXB.js → chunk-GMSAB2TC.js} +2 -2
- package/dist/cli/{chunk-MQWO32ZD.js → chunk-GPUH2BNM.js} +123 -286
- package/dist/cli/chunk-GPUH2BNM.js.map +1 -0
- package/dist/cli/{chunk-7AST3QQ3.js → chunk-I4Q3QT4W.js} +2 -2
- package/dist/cli/{chunk-O5LIHAMP.js → chunk-I6FBSTTR.js} +3 -3
- package/dist/cli/{chunk-AWEULQG6.js → chunk-IBRTU5WO.js} +25 -15
- package/dist/cli/{chunk-AWEULQG6.js.map → chunk-IBRTU5WO.js.map} +1 -1
- package/dist/cli/{chunk-RRXUIPWG.js → chunk-IK6WWRIX.js} +1 -1
- package/dist/cli/chunk-IK6WWRIX.js.map +1 -0
- package/dist/cli/{chunk-WMTMMSXU.js → chunk-MXWPAPZW.js} +315 -233
- package/dist/cli/chunk-MXWPAPZW.js.map +1 -0
- package/dist/cli/{chunk-7JTKBJ2G.js → chunk-NLRC3DWQ.js} +3 -3
- package/dist/cli/{chunk-PXBQ6IZ7.js → chunk-OPGWCKKU.js} +2 -2
- package/dist/cli/{chunk-23ZPCIPR.js → chunk-OWA42BKS.js} +21 -20
- package/dist/cli/chunk-OWA42BKS.js.map +1 -0
- package/dist/cli/{chunk-YEF7C4XI.js → chunk-PYIZZAVQ.js} +102 -94
- package/dist/cli/chunk-PYIZZAVQ.js.map +1 -0
- package/dist/cli/{chunk-EQATK2L2.js → chunk-SVD4UPRQ.js} +4 -3
- package/dist/cli/chunk-SVD4UPRQ.js.map +1 -0
- package/dist/cli/{chunk-PEMG6CUB.js → chunk-TX652NBA.js} +2 -2
- package/dist/cli/{chunk-W46ZMNKO.js → chunk-VVMY4M7J.js} +21 -2
- package/dist/cli/chunk-VVMY4M7J.js.map +1 -0
- package/dist/cli/{chunk-TAIKVL35.js → chunk-WSBFVOCO.js} +2 -2
- package/dist/cli/{chunk-ASOLXV67.js → chunk-X2BQZQEE.js} +3 -3
- package/dist/cli/{chunk-E5WCLUIU.js → chunk-XJZWMU5P.js} +2 -2
- package/dist/cli/{chunk-MGTBP7GG.js → chunk-XWPZHWC2.js} +20 -7
- package/dist/cli/chunk-XWPZHWC2.js.map +1 -0
- package/dist/cli/{chunk-JGTX4RRQ.js → chunk-ZAXMJANP.js} +2 -2
- package/dist/cli/{code-R4IHI7SR.js → code-TBK2TASK.js} +49 -57
- package/dist/cli/code-TBK2TASK.js.map +1 -0
- package/dist/cli/{commands-DRHFCYMO.js → commands-NXTKSQTN.js} +4 -4
- package/dist/cli/{commit-AG5KB4YP.js → commit-IR5SPP7A.js} +7 -8
- package/dist/cli/commit-IR5SPP7A.js.map +1 -0
- package/dist/cli/config-XK5WQGTS.js +194 -0
- package/dist/cli/{desktop-JGL6GORA.js → desktop-5NTQBADL.js} +200 -113
- package/dist/cli/desktop-5NTQBADL.js.map +1 -0
- package/dist/cli/{diff-4Z7ETWZO.js → diff-JNYX5BSZ.js} +8 -8
- package/dist/cli/{doctor-VA3RHQLB.js → doctor-IKYLUFXX.js} +11 -11
- package/dist/cli/{events-VRYXOSKI.js → events-HSC57ONU.js} +12 -8
- package/dist/cli/{events-VRYXOSKI.js.map → events-HSC57ONU.js.map} +1 -1
- package/dist/cli/index.js +87 -84
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/{mcp-LZO4HXFA.js → mcp-BDJJWOCD.js} +3 -3
- package/dist/cli/{mcp-browse-C3GXVMYZ.js → mcp-browse-NJRZDI6V.js} +8 -8
- package/dist/cli/{mcp-inspect-ZMYUNFDS.js → mcp-inspect-Y62NWZQL.js} +7 -6
- package/dist/cli/mcp-inspect-Y62NWZQL.js.map +1 -0
- package/dist/cli/{prompt-MC3U5KRP.js → prompt-UTOIFUQC.js} +5 -5
- package/dist/cli/{prune-sessions-OEPFH4N6.js → prune-sessions-UCUD4XAP.js} +4 -4
- package/dist/cli/{replay-4TP7ZUMZ.js → replay-VVIN64MN.js} +10 -19
- package/dist/cli/replay-VVIN64MN.js.map +1 -0
- package/dist/cli/{run-6MXQYBOE.js → run-76OBDZFB.js} +28 -25
- package/dist/cli/run-76OBDZFB.js.map +1 -0
- package/dist/cli/{server-Z3IMJNNI.js → server-SZZDKTH2.js} +404 -163
- package/dist/cli/server-SZZDKTH2.js.map +1 -0
- package/dist/cli/{sessions-NXQ5SAV7.js → sessions-FZTGRCM5.js} +18 -18
- package/dist/cli/{setup-LHZELI6I.js → setup-4UNENGOE.js} +14 -40
- package/dist/cli/setup-4UNENGOE.js.map +1 -0
- package/dist/cli/{stats-SUIJ3QWY.js → stats-F4NDOD7D.js} +6 -6
- package/dist/cli/stats-F4NDOD7D.js.map +1 -0
- package/dist/cli/version-LUVTWHLL.js +33 -0
- package/dist/index.d.ts +325 -299
- package/dist/index.js +438 -528
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
- package/scripts/postinstall.mjs +12 -0
- package/dist/cli/acp-WFQIC6SO.js.map +0 -1
- package/dist/cli/chat-D32JGNVH.js +0 -51
- package/dist/cli/chunk-23ZPCIPR.js.map +0 -1
- package/dist/cli/chunk-EQATK2L2.js.map +0 -1
- package/dist/cli/chunk-HIYTRCSW.js.map +0 -1
- package/dist/cli/chunk-JNTMOX7G.js.map +0 -1
- package/dist/cli/chunk-LGEKVMMV.js +0 -59
- package/dist/cli/chunk-LGEKVMMV.js.map +0 -1
- package/dist/cli/chunk-MGTBP7GG.js.map +0 -1
- package/dist/cli/chunk-MQWO32ZD.js.map +0 -1
- package/dist/cli/chunk-QF32ROX2.js.map +0 -1
- package/dist/cli/chunk-QX5TWXRZ.js.map +0 -1
- package/dist/cli/chunk-RRXUIPWG.js.map +0 -1
- package/dist/cli/chunk-TEDWJKEI.js.map +0 -1
- package/dist/cli/chunk-U5XQDCK7.js.map +0 -1
- package/dist/cli/chunk-W46ZMNKO.js.map +0 -1
- package/dist/cli/chunk-WMTMMSXU.js.map +0 -1
- package/dist/cli/chunk-YEF7C4XI.js.map +0 -1
- package/dist/cli/chunk-ZWHSHFDP.js.map +0 -1
- package/dist/cli/code-R4IHI7SR.js.map +0 -1
- package/dist/cli/commit-AG5KB4YP.js.map +0 -1
- package/dist/cli/desktop-JGL6GORA.js.map +0 -1
- package/dist/cli/mcp-inspect-ZMYUNFDS.js.map +0 -1
- package/dist/cli/replay-4TP7ZUMZ.js.map +0 -1
- package/dist/cli/run-6MXQYBOE.js.map +0 -1
- package/dist/cli/server-Z3IMJNNI.js.map +0 -1
- package/dist/cli/setup-LHZELI6I.js.map +0 -1
- package/dist/cli/version-BIFONEUB.js +0 -33
- /package/dist/cli/{chat-D32JGNVH.js.map → chat-7WASPB4O.js.map} +0 -0
- /package/dist/cli/{chunk-GNS7BAT2.js.map → chunk-7WITYWKN.js.map} +0 -0
- /package/dist/cli/{chunk-DFX5ZH5L.js.map → chunk-AAHB2PFX.js.map} +0 -0
- /package/dist/cli/{chunk-PB3MAFEI.js.map → chunk-AJIZ5KFK.js.map} +0 -0
- /package/dist/cli/{chunk-6OWJV3YW.js.map → chunk-CAGKEGNE.js.map} +0 -0
- /package/dist/cli/{chunk-J2IHQGPQ.js.map → chunk-EZ57UEZQ.js.map} +0 -0
- /package/dist/cli/{chunk-ZAEJWKXB.js.map → chunk-GMSAB2TC.js.map} +0 -0
- /package/dist/cli/{chunk-7AST3QQ3.js.map → chunk-I4Q3QT4W.js.map} +0 -0
- /package/dist/cli/{chunk-O5LIHAMP.js.map → chunk-I6FBSTTR.js.map} +0 -0
- /package/dist/cli/{chunk-7JTKBJ2G.js.map → chunk-NLRC3DWQ.js.map} +0 -0
- /package/dist/cli/{chunk-PXBQ6IZ7.js.map → chunk-OPGWCKKU.js.map} +0 -0
- /package/dist/cli/{chunk-PEMG6CUB.js.map → chunk-TX652NBA.js.map} +0 -0
- /package/dist/cli/{chunk-TAIKVL35.js.map → chunk-WSBFVOCO.js.map} +0 -0
- /package/dist/cli/{chunk-ASOLXV67.js.map → chunk-X2BQZQEE.js.map} +0 -0
- /package/dist/cli/{chunk-E5WCLUIU.js.map → chunk-XJZWMU5P.js.map} +0 -0
- /package/dist/cli/{chunk-JGTX4RRQ.js.map → chunk-ZAXMJANP.js.map} +0 -0
- /package/dist/cli/{commands-DRHFCYMO.js.map → commands-NXTKSQTN.js.map} +0 -0
- /package/dist/cli/{doctor-VA3RHQLB.js.map → config-XK5WQGTS.js.map} +0 -0
- /package/dist/cli/{diff-4Z7ETWZO.js.map → diff-JNYX5BSZ.js.map} +0 -0
- /package/dist/cli/{prompt-MC3U5KRP.js.map → doctor-IKYLUFXX.js.map} +0 -0
- /package/dist/cli/{mcp-LZO4HXFA.js.map → mcp-BDJJWOCD.js.map} +0 -0
- /package/dist/cli/{mcp-browse-C3GXVMYZ.js.map → mcp-browse-NJRZDI6V.js.map} +0 -0
- /package/dist/cli/{stats-SUIJ3QWY.js.map → prompt-UTOIFUQC.js.map} +0 -0
- /package/dist/cli/{prune-sessions-OEPFH4N6.js.map → prune-sessions-UCUD4XAP.js.map} +0 -0
- /package/dist/cli/{sessions-NXQ5SAV7.js.map → sessions-FZTGRCM5.js.map} +0 -0
- /package/dist/cli/{version-BIFONEUB.js.map → version-LUVTWHLL.js.map} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{a as it,g as Er,j as gt}from"./vendor-react.js";import{k as yn}from"./vendor-katex.js";function xn(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);const l=n.slice(i,r).trim();(l||!o)&&t.push(l),i=r+1,r=n.indexOf(",",i)}return t}function Qi(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ki=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ji=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Zi={};function kn(e,t){return(Zi.jsx?Ji:Ki).test(e)}const el=/[ \t\n\f\r]/g;function tl(e){return typeof e=="object"?e.type==="text"?bn(e.value):!1:bn(e)}function bn(e){return e.replace(el,"")===""}class Ge{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ge.prototype.normal={};Ge.prototype.property={};Ge.prototype.space=void 0;function Ir(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ge(n,r,t)}function Ve(e){return e.toLowerCase()}class ee{constructor(t,n){this.attribute=n,this.property=t}}ee.prototype.attribute="";ee.prototype.booleanish=!1;ee.prototype.boolean=!1;ee.prototype.commaOrSpaceSeparated=!1;ee.prototype.commaSeparated=!1;ee.prototype.defined=!1;ee.prototype.mustUseProperty=!1;ee.prototype.number=!1;ee.prototype.overloadedBoolean=!1;ee.prototype.property="";ee.prototype.spaceSeparated=!1;ee.prototype.space=void 0;let nl=0;const M=Ie(),W=Ie(),Lt=Ie(),E=Ie(),V=Ie(),Le=Ie(),ne=Ie();function Ie(){return 2**++nl}const vt=Object.freeze(Object.defineProperty({__proto__:null,boolean:M,booleanish:W,commaOrSpaceSeparated:ne,commaSeparated:Le,number:E,overloadedBoolean:Lt,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),dt=Object.keys(vt);class Ut extends ee{constructor(t,n,r,i){let o=-1;if(super(t,n),wn(this,"space",i),typeof r=="number")for(;++o<dt.length;){const l=dt[o];wn(this,dt[o],(r&vt[l])===vt[l])}}}Ut.prototype.defined=!0;function wn(e,t,n){n&&(e[t]=n)}function Me(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new Ut(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Ve(r)]=r,n[Ve(o.attribute)]=r}return new Ge(t,n,e.space)}const Ar=Me({properties:{ariaActiveDescendant:null,ariaAtomic:W,ariaAutoComplete:null,ariaBusy:W,ariaChecked:W,ariaColCount:E,ariaColIndex:E,ariaColSpan:E,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:W,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:W,ariaFlowTo:V,ariaGrabbed:W,ariaHasPopup:null,ariaHidden:W,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:E,ariaLive:null,ariaModal:W,ariaMultiLine:W,ariaMultiSelectable:W,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:E,ariaPressed:W,ariaReadOnly:W,ariaRelevant:null,ariaRequired:W,ariaRoleDescription:V,ariaRowCount:E,ariaRowIndex:E,ariaRowSpan:E,ariaSelected:W,ariaSetSize:E,ariaSort:null,ariaValueMax:E,ariaValueMin:E,ariaValueNow:E,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Tr(e,t){return t in e?e[t]:t}function Fr(e,t){return Tr(e,t.toLowerCase())}const rl=Me({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Le,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:M,allowPaymentRequest:M,allowUserMedia:M,alt:null,as:null,async:M,autoCapitalize:null,autoComplete:V,autoFocus:M,autoPlay:M,blocking:V,capture:null,charSet:null,checked:M,cite:null,className:V,cols:E,colSpan:null,content:null,contentEditable:W,controls:M,controlsList:V,coords:E|Le,crossOrigin:null,data:null,dateTime:null,decoding:null,default:M,defer:M,dir:null,dirName:null,disabled:M,download:Lt,draggable:W,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:M,formTarget:null,headers:V,height:E,hidden:Lt,high:E,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:M,inputMode:null,integrity:null,is:null,isMap:M,itemId:null,itemProp:V,itemRef:V,itemScope:M,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:M,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:M,muted:M,name:null,nonce:null,noModule:M,noValidate:M,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:M,optimum:E,pattern:null,ping:V,placeholder:null,playsInline:M,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:M,referrerPolicy:null,rel:V,required:M,reversed:M,rows:E,rowSpan:E,sandbox:V,scope:null,scoped:M,seamless:M,selected:M,shadowRootClonable:M,shadowRootDelegatesFocus:M,shadowRootMode:null,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:W,src:null,srcDoc:null,srcLang:null,srcSet:null,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:M,useMap:null,value:W,width:E,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:M,declare:M,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:M,noHref:M,noShade:M,noWrap:M,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:W,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:M,disableRemotePlayback:M,prefix:null,property:null,results:E,security:null,unselectable:null},space:"html",transform:Fr}),il=Me({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",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:ne,accentHeight:E,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:E,amplitude:E,arabicForm:null,ascent:E,attributeName:null,attributeType:null,azimuth:E,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:E,by:null,calcMode:null,capHeight:E,className:V,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:E,diffuseConstant:E,direction:null,display:null,dur:null,divisor:E,dominantBaseline:null,download:M,dx:null,dy:null,edgeMode:null,editable:null,elevation:E,enableBackground:null,end:null,event:null,exponent:E,externalResourcesRequired:null,fill:null,fillOpacity:E,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:Le,g2:Le,glyphName:Le,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:E,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:E,horizOriginX:E,horizOriginY:E,id:null,ideographic:E,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:E,k:E,k1:E,k2:E,k3:E,k4:E,kernelMatrix:ne,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:E,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:E,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:E,overlineThickness:E,paintOrder:null,panose1:null,path:null,pathLength:E,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:E,pointsAtY:E,pointsAtZ:E,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ne,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ne,rev:ne,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ne,requiredFeatures:ne,requiredFonts:ne,requiredFormats:ne,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:E,specularExponent:E,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:E,strikethroughThickness:E,string:null,stroke:null,strokeDashArray:ne,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:E,strokeOpacity:E,strokeWidth:null,style:null,surfaceScale:E,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ne,tabIndex:E,tableValues:null,target:null,targetX:E,targetY:E,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ne,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:E,underlineThickness:E,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:E,values:null,vAlphabetic:E,vMathematical:E,vectorEffect:null,vHanging:E,vIdeographic:E,version:null,vertAdvY:E,vertOriginX:E,vertOriginY:E,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:E,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Tr}),Pr=Me({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()}}),zr=Me({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fr}),Dr=Me({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),ll={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"},ol=/[A-Z]/g,Sn=/-[a-z]/g,al=/^data[-\w.:]+$/i;function Lr(e,t){const n=Ve(t);let r=t,i=ee;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&al.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Sn,sl);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Sn.test(o)){let l=o.replace(ol,ul);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=Ut}return new i(r,t)}function ul(e){return"-"+e.toLowerCase()}function sl(e){return e.charAt(1).toUpperCase()}const vr=Ir([Ar,rl,Pr,zr,Dr],"html"),st=Ir([Ar,il,Pr,zr,Dr],"svg");function Cn(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function cl(e){return e.join(" ").trim()}var Wt={},En=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,fl=/\n/g,hl=/^\s*/,pl=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ml=/^:\s*/,gl=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,dl=/^[;\s]*/,yl=/^\s+|\s+$/g,xl=`
|
|
2
|
+
`,In="/",An="*",Ce="",kl="comment",bl="declaration";function wl(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var y=m.match(fl);y&&(n+=y.length);var C=m.lastIndexOf(xl);r=~C?m.length-C:r+m.length}function o(){var m={line:n,column:r};return function(y){return y.position=new l(m),s(),y}}function l(m){this.start=m,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function a(m){var y=new Error(t.source+":"+n+":"+r+": "+m);if(y.reason=m,y.filename=t.source,y.line=n,y.column=r,y.source=e,!t.silent)throw y}function u(m){var y=m.exec(e);if(y){var C=y[0];return i(C),e=e.slice(C.length),y}}function s(){u(hl)}function f(m){var y;for(m=m||[];y=c();)y!==!1&&m.push(y);return m}function c(){var m=o();if(!(In!=e.charAt(0)||An!=e.charAt(1))){for(var y=2;Ce!=e.charAt(y)&&(An!=e.charAt(y)||In!=e.charAt(y+1));)++y;if(y+=2,Ce===e.charAt(y-1))return a("End of comment missing");var C=e.slice(2,y-2);return r+=2,i(C),e=e.slice(y),r+=2,m({type:kl,comment:C})}}function p(){var m=o(),y=u(pl);if(y){if(c(),!u(ml))return a("property missing ':'");var C=u(gl),x=m({type:bl,property:Tn(y[0].replace(En,Ce)),value:C?Tn(C[0].replace(En,Ce)):Ce});return u(dl),x}}function h(){var m=[];f(m);for(var y;y=p();)y!==!1&&(m.push(y),f(m));return m}return s(),h()}function Tn(e){return e?e.replace(yl,Ce):Ce}var Sl=wl,Cl=it&&it.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.default=Il;const El=Cl(Sl);function Il(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,El.default)(e),i=typeof t=="function";return r.forEach(o=>{if(o.type!=="declaration")return;const{property:l,value:a}=o;i?t(l,a,o):a&&(n=n||{},n[l]=a)}),n}var ct={};Object.defineProperty(ct,"__esModule",{value:!0});ct.camelCase=void 0;var Al=/^--[a-zA-Z0-9_-]+$/,Tl=/-([a-z])/g,Fl=/^[^-]+$/,Pl=/^-(webkit|moz|ms|o|khtml)-/,zl=/^-(ms)-/,Dl=function(e){return!e||Fl.test(e)||Al.test(e)},Ll=function(e,t){return t.toUpperCase()},Fn=function(e,t){return"".concat(t,"-")},vl=function(e,t){return t===void 0&&(t={}),Dl(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(zl,Fn):e=e.replace(Pl,Fn),e.replace(Tl,Ll))};ct.camelCase=vl;var Ml=it&&it.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ol=Ml(Wt),Nl=ct;function Mt(e,t){var n={};return!e||typeof e!="string"||(0,Ol.default)(e,function(r,i){r&&i&&(n[(0,Nl.camelCase)(r,t)]=i)}),n}Mt.default=Mt;var _l=Mt;const Rl=Er(_l),Mr=Or("end"),Gt=Or("start");function Or(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 Bl(e){const t=Gt(e),n=Mr(e);if(t&&n)return{start:t,end:n}}function $e(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Pn(e.position):"start"in e||"end"in e?Pn(e):"line"in e||"column"in e?Ot(e):""}function Ot(e){return zn(e&&e.line)+":"+zn(e&&e.column)}function Pn(e){return Ot(e&&e.start)+"-"+Ot(e&&e.end)}function zn(e){return e&&typeof e=="number"?e:1}class K extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?o.ruleId=r:(o.source=r.slice(0,u),o.ruleId=r.slice(u+1))}if(!o.place&&o.ancestors&&o.ancestors){const u=o.ancestors[o.ancestors.length-1];u&&(o.place=u.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=$e(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}K.prototype.file="";K.prototype.name="";K.prototype.reason="";K.prototype.message="";K.prototype.stack="";K.prototype.column=void 0;K.prototype.line=void 0;K.prototype.ancestors=void 0;K.prototype.cause=void 0;K.prototype.fatal=void 0;K.prototype.place=void 0;K.prototype.ruleId=void 0;K.prototype.source=void 0;const Yt={}.hasOwnProperty,jl=new Map,$l=/[A-Z]/g,Hl=new Set(["table","tbody","thead","tfoot","tr"]),ql=new Set(["td","th"]),Nr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Vl(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Jl(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Kl(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?st:vr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=_r(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function _r(e,t,n){if(t.type==="element")return Ul(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Wl(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Yl(e,t,n);if(t.type==="mdxjsEsm")return Gl(e,t);if(t.type==="root")return Xl(e,t,n);if(t.type==="text")return Ql(e,t)}function Ul(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=st,e.schema=i),e.ancestors.push(t);const o=Br(e,t.tagName,!1),l=Zl(e,t);let a=Qt(e,t);return Hl.has(t.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!tl(u):!0})),Rr(e,l,o,t),Xt(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function Wl(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ue(e,t.position)}function Gl(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ue(e,t.position)}function Yl(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=st,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:Br(e,t.name,!0),l=eo(e,t),a=Qt(e,t);return Rr(e,l,o,t),Xt(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function Xl(e,t,n){const r={};return Xt(r,Qt(e,t)),e.create(t,e.Fragment,r,n)}function Ql(e,t){return t.value}function Rr(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Xt(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Kl(e,t,n){return r;function r(i,o,l,a){const s=Array.isArray(l.children)?n:t;return a?s(o,l,a):s(o,l)}}function Jl(e,t){return n;function n(r,i,o,l){const a=Array.isArray(o.children),u=Gt(r);return t(i,o,l,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Zl(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Yt.call(t.properties,i)){const o=to(e,i,t.properties[i]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&ql.has(t.tagName)?r=a:n[l]=a}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function eo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Ue(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Ue(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function Qt(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:jl;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const u=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(u){const s=i.get(u)||0;l=u+"-"+s,i.set(u,s+1)}}const a=_r(e,o,l);a!==void 0&&n.push(a)}return n}function to(e,t,n){const r=Lr(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Qi(n):cl(n)),r.property==="style"){let i=typeof n=="object"?n:no(e,String(n));return e.stylePropertyNameCase==="css"&&(i=ro(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?ll[r.property]||r.property:r.attribute,n]}}function no(e,t){try{return Rl(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new K("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Nr+"#cannot-parse-style-attribute",i}}function Br(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,l;for(;++o<i.length;){const a=kn(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=l}else r=kn(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Yt.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ue(e)}function Ue(e,t){const n=new K("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Nr+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ro(e){const t={};let n;for(n in e)Yt.call(e,n)&&(t[io(n)]=e[n]);return t}function io(e){let t=e.replace($l,lo);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function lo(e){return"-"+e.toLowerCase()}const yt={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},oo={};function Kt(e,t){const n=oo,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return jr(e,r,i)}function jr(e,t,n){if(ao(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 Dn(e.children,t,n)}return Array.isArray(e)?Dn(e,t,n):""}function Dn(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=jr(e[i],t,n);return r.join("")}function ao(e){return!!(e&&typeof e=="object")}const Ln=document.createElement("i");function Jt(e){const t="&"+e+";";Ln.innerHTML=t;const n=Ln.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function re(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function ie(e,t){return e.length>0?(re(e,e.length,0,t),e):t}const vn={}.hasOwnProperty;function $r(e){const t={};let n=-1;for(;++n<e.length;)uo(t,e[n]);return t}function uo(e,t){let n;for(n in t){const i=(vn.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){vn.call(i,l)||(i[l]=[]);const a=o[l];so(i[l],Array.isArray(a)?a:a?[a]:[])}}}function so(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);re(e,0,0,r)}function Hr(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)}function se(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const J=ke(/[A-Za-z]/),Q=ke(/[\dA-Za-z]/),co=ke(/[#-'*+\--9=?A-Z^-~]/);function lt(e){return e!==null&&(e<32||e===127)}const Nt=ke(/\d/),fo=ke(/[\dA-Fa-f]/),ho=ke(/[!-/:-@[-`{-~]/);function T(e){return e!==null&&e<-2}function q(e){return e!==null&&(e<0||e===32)}function N(e){return e===-2||e===-1||e===32}const ft=ke(/\p{P}|\p{S}/u),Ee=ke(/\s/);function ke(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Oe(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&Q(e.charCodeAt(n+1))&&Q(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function O(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(u){return N(u)?(e.enter(n),a(u)):t(u)}function a(u){return N(u)&&o++<i?(e.consume(u),a):(e.exit(n),t(u))}}const po={tokenize:mo};function mo(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),O(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return T(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const go={tokenize:yo},Mn={tokenize:xo};function yo(e){const t=this,n=[];let r=0,i,o,l;return a;function a(I){if(r<n.length){const D=n[r];return t.containerState=D[1],e.attempt(D[0].continuation,u,s)(I)}return s(I)}function u(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();const D=t.events.length;let L=D,S;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){S=t.events[L][1].end;break}x(r);let _=D;for(;_<t.events.length;)t.events[_][1].end={...S},_++;return re(t.events,L+1,0,t.events.slice(D)),t.events.length=_,s(I)}return a(I)}function s(I){if(r===n.length){if(!i)return p(I);if(i.currentConstruct&&i.currentConstruct.concrete)return m(I);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Mn,f,c)(I)}function f(I){return i&&b(),x(r),p(I)}function c(I){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,m(I)}function p(I){return t.containerState={},e.attempt(Mn,h,m)(I)}function h(I){return r++,n.push([t.currentConstruct,t.containerState]),p(I)}function m(I){if(I===null){i&&b(),x(0),e.consume(I);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),y(I)}function y(I){if(I===null){C(e.exit("chunkFlow"),!0),x(0),e.consume(I);return}return T(I)?(e.consume(I),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(I),y)}function C(I,D){const L=t.sliceStream(I);if(D&&L.push(null),I.previous=o,o&&(o.next=I),o=I,i.defineSkip(I.start),i.write(L),t.parser.lazy[I.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<l&&(!i.events[S][1].end||i.events[S][1].end.offset>l))return;const _=t.events.length;let j=_,v,k;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(v){k=t.events[j][1].end;break}v=!0}for(x(r),S=_;S<t.events.length;)t.events[S][1].end={...k},S++;re(t.events,j+1,0,t.events.slice(_)),t.events.length=S}}function x(I){let D=n.length;for(;D-- >I;){const L=n[D];t.containerState=L[1],L[0].exit.call(t,e)}n.length=I}function b(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xo(e,t,n){return O(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ve(e){if(e===null||q(e)||Ee(e))return 1;if(ft(e))return 2}function ht(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const _t={name:"attention",resolveAll:ko,tokenize:bo};function ko(e,t){let n=-1,r,i,o,l,a,u,s,f;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;u=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 c={...e[r][1].end},p={...e[n][1].start};On(c,-u),On(p,u),l={type:u>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},o={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[r][1].end={...l.start},e[n][1].start={...a.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=ie(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=ie(s,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=ie(s,ht(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=ie(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,s=ie(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,re(e,r-1,n-r+3,s),n=r+s.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function bo(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ve(r);let o;return l;function l(u){return o=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===o)return e.consume(u),a;const s=e.exit("attentionSequence"),f=ve(u),c=!f||f===2&&i||n.includes(u),p=!i||i===2&&f||n.includes(r);return s._open=!!(o===42?c:c&&(i||!p)),s._close=!!(o===42?p:p&&(f||!c)),t(u)}}function On(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const wo={name:"autolink",tokenize:So};function So(e,t,n){let r=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(h){return J(h)?(e.consume(h),l):h===64?n(h):s(h)}function l(h){return h===43||h===45||h===46||Q(h)?(r=1,a(h)):s(h)}function a(h){return h===58?(e.consume(h),r=0,u):(h===43||h===45||h===46||Q(h))&&r++<32?(e.consume(h),a):(r=0,s(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||lt(h)?n(h):(e.consume(h),u)}function s(h){return h===64?(e.consume(h),f):co(h)?(e.consume(h),s):n(h)}function f(h){return Q(h)?c(h):n(h)}function c(h){return h===46?(e.consume(h),r=0,f):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||Q(h))&&r++<63){const m=h===45?p:c;return e.consume(h),m}return n(h)}}const Ye={partial:!0,tokenize:Co};function Co(e,t,n){return r;function r(o){return N(o)?O(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||T(o)?t(o):n(o)}}const qr={continuation:{tokenize:Io},exit:Ao,name:"blockQuote",tokenize:Eo};function Eo(e,t,n){const r=this;return i;function i(l){if(l===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return N(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Io(e,t,n){const r=this;return i;function i(l){return N(l)?O(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(qr,t,n)(l)}}function Ao(e){e.exit("blockQuote")}const Vr={name:"characterEscape",tokenize:To};function To(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return ho(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Ur={name:"characterReference",tokenize:Fo};function Fo(e,t,n){const r=this;let i=0,o,l;return a;function a(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),u}function u(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=Q,f(c))}function s(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=fo,f):(e.enter("characterReferenceValue"),o=7,l=Nt,f(c))}function f(c){if(c===59&&i){const p=e.exit("characterReferenceValue");return l===Q&&!Jt(r.sliceSerialize(p))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<o?(e.consume(c),f):n(c)}}const Nn={partial:!0,tokenize:zo},_n={concrete:!0,name:"codeFenced",tokenize:Po};function Po(e,t,n){const r=this,i={partial:!0,tokenize:L};let o=0,l=0,a;return u;function u(S){return s(S)}function s(S){const _=r.events[r.events.length-1];return o=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,a=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(S)}function f(S){return S===a?(l++,e.consume(S),f):l<3?n(S):(e.exit("codeFencedFenceSequence"),N(S)?O(e,c,"whitespace")(S):c(S))}function c(S){return S===null||T(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(Nn,y,D)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||T(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(S)):N(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),O(e,h,"whitespace")(S)):S===96&&S===a?n(S):(e.consume(S),p)}function h(S){return S===null||T(S)?c(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===null||T(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(S)):S===96&&S===a?n(S):(e.consume(S),m)}function y(S){return e.attempt(i,D,C)(S)}function C(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),x}function x(S){return o>0&&N(S)?O(e,b,"linePrefix",o+1)(S):b(S)}function b(S){return S===null||T(S)?e.check(Nn,y,D)(S):(e.enter("codeFlowValue"),I(S))}function I(S){return S===null||T(S)?(e.exit("codeFlowValue"),b(S)):(e.consume(S),I)}function D(S){return e.exit("codeFenced"),t(S)}function L(S,_,j){let v=0;return k;function k(B){return S.enter("lineEnding"),S.consume(B),S.exit("lineEnding"),F}function F(B){return S.enter("codeFencedFence"),N(B)?O(S,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):P(B)}function P(B){return B===a?(S.enter("codeFencedFenceSequence"),$(B)):j(B)}function $(B){return B===a?(v++,S.consume(B),$):v>=l?(S.exit("codeFencedFenceSequence"),N(B)?O(S,U,"whitespace")(B):U(B)):j(B)}function U(B){return B===null||T(B)?(S.exit("codeFencedFence"),_(B)):j(B)}}}function zo(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const xt={name:"codeIndented",tokenize:Lo},Do={partial:!0,tokenize:vo};function Lo(e,t,n){const r=this;return i;function i(s){return e.enter("codeIndented"),O(e,o,"linePrefix",5)(s)}function o(s){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?u(s):T(s)?e.attempt(Do,l,u)(s):(e.enter("codeFlowValue"),a(s))}function a(s){return s===null||T(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),a)}function u(s){return e.exit("codeIndented"),t(s)}}function vo(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):T(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):O(e,o,"linePrefix",5)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):T(l)?i(l):n(l)}}const Mo={name:"codeText",previous:No,resolve:Oo,tokenize:_o};function Oo(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function No(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function _o(e,t,n){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit("codeTextSequence"),u(c))}function u(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),u):c===96?(o=e.enter("codeTextSequence"),i=0,f(c)):T(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(c))}function s(c){return c===null||c===32||c===96||T(c)?(e.exit("codeTextData"),u(c)):(e.consume(c),s)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(o.type="codeTextData",s(c))}}class Ro{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 i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Be(this.left,r),o.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),Be(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Be(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);Be(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Be(this.left,n.reverse())}}}function Be(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 Wr(e){const t={};let n=-1,r,i,o,l,a,u,s;const f=new Ro(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,o=0,o<u.length&&u[o][1].type==="lineEndingBlank"&&(o+=2),o<u.length&&u[o][1].type==="content"))for(;++o<u.length&&u[o][1].type!=="content";)u[o][1].type==="chunkText"&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Bo(f,n)),n=t[n],s=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=f.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,n),a.unshift(r),f.splice(i,n-i+1,a))}}return re(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!s}function Bo(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,u=[],s={};let f,c,p=-1,h=n,m=0,y=0;const C=[y];for(;h;){for(;e.get(++i)[1]!==h;);o.push(i),h._tokenizer||(f=r.sliceStream(h),h.next||f.push(null),c&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=h,h=h.next}for(h=n;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(y=p+1,C.push(y),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):C.pop(),p=C.length;p--;){const x=a.slice(C[p],C[p+1]),b=o.pop();u.push([b,b+x.length-1]),e.splice(b,2,x)}for(u.reverse(),p=-1;++p<u.length;)s[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return s}const jo={resolve:Ho,tokenize:qo},$o={partial:!0,tokenize:Vo};function Ho(e){return Wr(e),e}function qo(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):T(a)?e.check($o,l,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function l(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Vo(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),O(e,o,"linePrefix")}function o(l){if(l===null||T(l))return n(l);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function Gr(e,t,n,r,i,o,l,a,u){const s=u||Number.POSITIVE_INFINITY;let f=0;return c;function c(x){return x===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(x),e.exit(o),p):x===null||x===32||x===41||lt(x)?n(x):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),y(x))}function p(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(x))}function h(x){return x===62?(e.exit("chunkString"),e.exit(a),p(x)):x===null||x===60||T(x)?n(x):(e.consume(x),x===92?m:h)}function m(x){return x===60||x===62||x===92?(e.consume(x),h):h(x)}function y(x){return!f&&(x===null||x===41||q(x))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(x)):f<s&&x===40?(e.consume(x),f++,y):x===41?(e.consume(x),f--,y):x===null||x===32||x===40||lt(x)?n(x):(e.consume(x),x===92?C:y)}function C(x){return x===40||x===41||x===92?(e.consume(x),y):y(x)}}function Yr(e,t,n,r,i,o){const l=this;let a=0,u;return s;function s(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(o),f}function f(h){return a>999||h===null||h===91||h===93&&!u||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(h):h===93?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):T(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===null||h===91||h===93||T(h)||a++>999?(e.exit("chunkString"),f(h)):(e.consume(h),u||(u=!N(h)),h===92?p:c)}function p(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}}function Xr(e,t,n,r,i,o){let l;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),l=p===40?41:p,u):n(p)}function u(p){return p===l?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),s(p))}function s(p){return p===l?(e.exit(o),u(l)):p===null?n(p):T(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),O(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===l||p===null||T(p)?(e.exit("chunkString"),s(p)):(e.consume(p),p===92?c:f)}function c(p){return p===l||p===92?(e.consume(p),f):f(p)}}function He(e,t){let n;return r;function r(i){return T(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):N(i)?O(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Uo={name:"definition",tokenize:Go},Wo={partial:!0,tokenize:Yo};function Go(e,t,n){const r=this;let i;return o;function o(h){return e.enter("definition"),l(h)}function l(h){return Yr.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return i=se(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):n(h)}function u(h){return q(h)?He(e,s)(h):s(h)}function s(h){return Gr(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function f(h){return e.attempt(Wo,c,c)(h)}function c(h){return N(h)?O(e,p,"whitespace")(h):p(h)}function p(h){return h===null||T(h)?(e.exit("definition"),r.parser.defined.push(i),t(h)):n(h)}}function Yo(e,t,n){return r;function r(a){return q(a)?He(e,i)(a):n(a)}function i(a){return Xr(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return N(a)?O(e,l,"whitespace")(a):l(a)}function l(a){return a===null||T(a)?t(a):n(a)}}const Xo={name:"hardBreakEscape",tokenize:Qo};function Qo(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return T(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Ko={name:"headingAtx",resolve:Jo,tokenize:Zo};function Jo(e,t){let n=e.length-2,r=3,i,o;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&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},re(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Zo(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||q(f)?(e.exit("atxHeadingSequence"),a(f)):n(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),u(f)):f===null||T(f)?(e.exit("atxHeading"),t(f)):N(f)?O(e,a,"whitespace")(f):(e.enter("atxHeadingText"),s(f))}function u(f){return f===35?(e.consume(f),u):(e.exit("atxHeadingSequence"),a(f))}function s(f){return f===null||f===35||q(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),s)}}const ea=["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"],Rn=["pre","script","style","textarea"],ta={concrete:!0,name:"htmlFlow",resolveTo:ia,tokenize:la},na={partial:!0,tokenize:aa},ra={partial:!0,tokenize:oa};function ia(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 la(e,t,n){const r=this;let i,o,l,a,u;return s;function s(d){return f(d)}function f(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),c}function c(d){return d===33?(e.consume(d),p):d===47?(e.consume(d),o=!0,y):d===63?(e.consume(d),i=3,r.interrupt?t:g):J(d)?(e.consume(d),l=String.fromCharCode(d),C):n(d)}function p(d){return d===45?(e.consume(d),i=2,h):d===91?(e.consume(d),i=5,a=0,m):J(d)?(e.consume(d),i=4,r.interrupt?t:g):n(d)}function h(d){return d===45?(e.consume(d),r.interrupt?t:g):n(d)}function m(d){const ae="CDATA[";return d===ae.charCodeAt(a++)?(e.consume(d),a===ae.length?r.interrupt?t:P:m):n(d)}function y(d){return J(d)?(e.consume(d),l=String.fromCharCode(d),C):n(d)}function C(d){if(d===null||d===47||d===62||q(d)){const ae=d===47,be=l.toLowerCase();return!ae&&!o&&Rn.includes(be)?(i=1,r.interrupt?t(d):P(d)):ea.includes(l.toLowerCase())?(i=6,ae?(e.consume(d),x):r.interrupt?t(d):P(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(d):o?b(d):I(d))}return d===45||Q(d)?(e.consume(d),l+=String.fromCharCode(d),C):n(d)}function x(d){return d===62?(e.consume(d),r.interrupt?t:P):n(d)}function b(d){return N(d)?(e.consume(d),b):k(d)}function I(d){return d===47?(e.consume(d),k):d===58||d===95||J(d)?(e.consume(d),D):N(d)?(e.consume(d),I):k(d)}function D(d){return d===45||d===46||d===58||d===95||Q(d)?(e.consume(d),D):L(d)}function L(d){return d===61?(e.consume(d),S):N(d)?(e.consume(d),L):I(d)}function S(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),u=d,_):N(d)?(e.consume(d),S):j(d)}function _(d){return d===u?(e.consume(d),u=null,v):d===null||T(d)?n(d):(e.consume(d),_)}function j(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||q(d)?L(d):(e.consume(d),j)}function v(d){return d===47||d===62||N(d)?I(d):n(d)}function k(d){return d===62?(e.consume(d),F):n(d)}function F(d){return d===null||T(d)?P(d):N(d)?(e.consume(d),F):n(d)}function P(d){return d===45&&i===2?(e.consume(d),X):d===60&&i===1?(e.consume(d),G):d===62&&i===4?(e.consume(d),oe):d===63&&i===3?(e.consume(d),g):d===93&&i===5?(e.consume(d),he):T(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(na,pe,$)(d)):d===null||T(d)?(e.exit("htmlFlowData"),$(d)):(e.consume(d),P)}function $(d){return e.check(ra,U,pe)(d)}function U(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),B}function B(d){return d===null||T(d)?$(d):(e.enter("htmlFlowData"),P(d))}function X(d){return d===45?(e.consume(d),g):P(d)}function G(d){return d===47?(e.consume(d),l="",le):P(d)}function le(d){if(d===62){const ae=l.toLowerCase();return Rn.includes(ae)?(e.consume(d),oe):P(d)}return J(d)&&l.length<8?(e.consume(d),l+=String.fromCharCode(d),le):P(d)}function he(d){return d===93?(e.consume(d),g):P(d)}function g(d){return d===62?(e.consume(d),oe):d===45&&i===2?(e.consume(d),g):P(d)}function oe(d){return d===null||T(d)?(e.exit("htmlFlowData"),pe(d)):(e.consume(d),oe)}function pe(d){return e.exit("htmlFlow"),t(d)}}function oa(e,t,n){const r=this;return i;function i(l){return T(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function aa(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ye,t,n)}}const ua={name:"htmlText",tokenize:sa};function sa(e,t,n){const r=this;let i,o,l;return a;function a(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),u}function u(g){return g===33?(e.consume(g),s):g===47?(e.consume(g),L):g===63?(e.consume(g),I):J(g)?(e.consume(g),j):n(g)}function s(g){return g===45?(e.consume(g),f):g===91?(e.consume(g),o=0,m):J(g)?(e.consume(g),b):n(g)}function f(g){return g===45?(e.consume(g),h):n(g)}function c(g){return g===null?n(g):g===45?(e.consume(g),p):T(g)?(l=c,G(g)):(e.consume(g),c)}function p(g){return g===45?(e.consume(g),h):c(g)}function h(g){return g===62?X(g):g===45?p(g):c(g)}function m(g){const oe="CDATA[";return g===oe.charCodeAt(o++)?(e.consume(g),o===oe.length?y:m):n(g)}function y(g){return g===null?n(g):g===93?(e.consume(g),C):T(g)?(l=y,G(g)):(e.consume(g),y)}function C(g){return g===93?(e.consume(g),x):y(g)}function x(g){return g===62?X(g):g===93?(e.consume(g),x):y(g)}function b(g){return g===null||g===62?X(g):T(g)?(l=b,G(g)):(e.consume(g),b)}function I(g){return g===null?n(g):g===63?(e.consume(g),D):T(g)?(l=I,G(g)):(e.consume(g),I)}function D(g){return g===62?X(g):I(g)}function L(g){return J(g)?(e.consume(g),S):n(g)}function S(g){return g===45||Q(g)?(e.consume(g),S):_(g)}function _(g){return T(g)?(l=_,G(g)):N(g)?(e.consume(g),_):X(g)}function j(g){return g===45||Q(g)?(e.consume(g),j):g===47||g===62||q(g)?v(g):n(g)}function v(g){return g===47?(e.consume(g),X):g===58||g===95||J(g)?(e.consume(g),k):T(g)?(l=v,G(g)):N(g)?(e.consume(g),v):X(g)}function k(g){return g===45||g===46||g===58||g===95||Q(g)?(e.consume(g),k):F(g)}function F(g){return g===61?(e.consume(g),P):T(g)?(l=F,G(g)):N(g)?(e.consume(g),F):v(g)}function P(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,$):T(g)?(l=P,G(g)):N(g)?(e.consume(g),P):(e.consume(g),U)}function $(g){return g===i?(e.consume(g),i=void 0,B):g===null?n(g):T(g)?(l=$,G(g)):(e.consume(g),$)}function U(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||q(g)?v(g):(e.consume(g),U)}function B(g){return g===47||g===62||q(g)?v(g):n(g)}function X(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function G(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),le}function le(g){return N(g)?O(e,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):he(g)}function he(g){return e.enter("htmlTextData"),l(g)}}const Zt={name:"labelEnd",resolveAll:pa,resolveTo:ma,tokenize:ga},ca={tokenize:da},fa={tokenize:ya},ha={tokenize:xa};function pa(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 i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&re(e,0,e.length,n),e}function ma(e,t){let n=e.length,r=0,i,o,l,a;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const u={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",u,t],["enter",s,t]],a=ie(a,e.slice(o+1,o+r+3)),a=ie(a,[["enter",f,t]]),a=ie(a,ht(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),a=ie(a,[["exit",f,t],e[l-2],e[l-1],["exit",s,t]]),a=ie(a,e.slice(l+1)),a=ie(a,[["exit",u,t]]),re(e,o,e.length,a),e}function ga(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(p){return o?o._inactive?c(p):(l=r.parser.defined.includes(se(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):n(p)}function u(p){return p===40?e.attempt(ca,f,l?f:c)(p):p===91?e.attempt(fa,f,l?s:c)(p):l?f(p):c(p)}function s(p){return e.attempt(ha,f,c)(p)}function f(p){return t(p)}function c(p){return o._balanced=!0,n(p)}}function da(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return q(c)?He(e,o)(c):o(c)}function o(c){return c===41?f(c):Gr(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return q(c)?He(e,u)(c):f(c)}function a(c){return n(c)}function u(c){return c===34||c===39||c===40?Xr(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function s(c){return q(c)?He(e,f)(c):f(c)}function f(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function ya(e,t,n){const r=this;return i;function i(a){return Yr.call(r,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(se(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function l(a){return n(a)}}function xa(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const ka={name:"labelStartImage",resolveAll:Zt.resolveAll,tokenize:ba};function ba(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):n(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const wa={name:"labelStartLink",resolveAll:Zt.resolveAll,tokenize:Sa};function Sa(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const kt={name:"lineEnding",tokenize:Ca};function Ca(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),O(e,t,"linePrefix")}}const nt={name:"thematicBreak",tokenize:Ea};function Ea(e,t,n){let r=0,i;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return i=s,a(s)}function a(s){return s===i?(e.enter("thematicBreakSequence"),u(s)):r>=3&&(s===null||T(s))?(e.exit("thematicBreak"),t(s)):n(s)}function u(s){return s===i?(e.consume(s),r++,u):(e.exit("thematicBreakSequence"),N(s)?O(e,a,"whitespace")(s):a(s))}}const Z={continuation:{tokenize:Fa},exit:za,name:"list",tokenize:Ta},Ia={partial:!0,tokenize:Da},Aa={partial:!0,tokenize:Pa};function Ta(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(h){const m=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:Nt(h)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(nt,n,s)(h):s(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return n(h)}function u(h){return Nt(h)&&++l<10?(e.consume(h),u):(!r.interrupt||l<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),s(h)):n(h)}function s(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(Ye,r.interrupt?n:f,e.attempt(Ia,p,c))}function f(h){return r.containerState.initialBlankLine=!0,o++,p(h)}function c(h){return N(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Fa(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Ye,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,O(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!N(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Aa,t,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,O(e,e.attempt(Z,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Pa(e,t,n){const r=this;return O(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function za(e){e.exit(this.containerState.type)}function Da(e,t,n){const r=this;return O(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!N(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const Bn={name:"setextUnderline",resolveTo:La,tokenize:va};function La(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function va(e,t,n){const r=this;let i;return o;function o(s){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(e.consume(s),a):(e.exit("setextHeadingLineSequence"),N(s)?O(e,u,"lineSuffix")(s):u(s))}function u(s){return s===null||T(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const Ma={tokenize:Oa};function Oa(e){const t=this,n=e.attempt(Ye,r,e.attempt(this.parser.constructs.flowInitial,i,O(e,e.attempt(this.parser.constructs.flow,i,e.attempt(jo,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Na={resolveAll:Kr()},_a=Qr("string"),Ra=Qr("text");function Qr(e){return{resolveAll:Kr(e==="text"?Ba:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,a);return l;function l(f){return s(f)?o(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),u}function u(f){return s(f)?(n.exit("data"),o(f)):(n.consume(f),u)}function s(f){if(f===null)return!0;const c=i[f];let p=-1;if(c)for(;++p<c.length;){const h=c[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Kr(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Ba(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],i=t.sliceStream(r);let o=i.length,l=-1,a=0,u;for(;o--;){const s=i[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)u=!0,a++;else if(s!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const s={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const ja={42:Z,43:Z,45:Z,48:Z,49:Z,50:Z,51:Z,52:Z,53:Z,54:Z,55:Z,56:Z,57:Z,62:qr},$a={91:Uo},Ha={[-2]:xt,[-1]:xt,32:xt},qa={35:Ko,42:nt,45:[Bn,nt],60:ta,61:Bn,95:nt,96:_n,126:_n},Va={38:Ur,92:Vr},Ua={[-5]:kt,[-4]:kt,[-3]:kt,33:ka,38:Ur,42:_t,60:[wo,ua],91:wa,92:[Xo,Vr],93:Zt,95:_t,96:Mo},Wa={null:[_t,Na]},Ga={null:[42,95]},Ya={null:[]},Xa=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Ga,contentInitial:$a,disable:Ya,document:ja,flow:qa,flowInitial:Ha,insideSpan:Wa,string:Va,text:Ua},Symbol.toStringTag,{value:"Module"}));function Qa(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 i={},o=[];let l=[],a=[];const u={attempt:_(L),check:_(S),consume:b,enter:I,exit:D,interrupt:_(S,{interrupt:!0})},s={code:null,containerState:{},defineSkip:y,events:[],now:m,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:c};let f=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function c(F){return l=ie(l,F),C(),l[l.length-1]!==null?[]:(j(t,0),s.events=ht(o,s.events,s),s.events)}function p(F,P){return Ja(h(F),P)}function h(F){return Ka(l,F)}function m(){const{_bufferIndex:F,_index:P,line:$,column:U,offset:B}=r;return{_bufferIndex:F,_index:P,line:$,column:U,offset:B}}function y(F){i[F.line]=F.column,k()}function C(){let F;for(;r._index<l.length;){const P=l[r._index];if(typeof P=="string")for(F=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===F&&r._bufferIndex<P.length;)x(P.charCodeAt(r._bufferIndex));else x(P)}}function x(F){f=f(F)}function b(F){T(F)?(r.line++,r.column=1,r.offset+=F===-3?2:1,k()):F!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=F}function I(F,P){const $=P||{};return $.type=F,$.start=m(),s.events.push(["enter",$,s]),a.push($),$}function D(F){const P=a.pop();return P.end=m(),s.events.push(["exit",P,s]),P}function L(F,P){j(F,P.from)}function S(F,P){P.restore()}function _(F,P){return $;function $(U,B,X){let G,le,he,g;return Array.isArray(U)?pe(U):"tokenize"in U?pe([U]):oe(U);function oe(Y){return Ne;function Ne(ye){const Te=ye!==null&&Y[ye],Fe=ye!==null&&Y.null,Ke=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(Fe)?Fe:Fe?[Fe]:[]];return pe(Ke)(ye)}}function pe(Y){return G=Y,le=0,Y.length===0?X:d(Y[le])}function d(Y){return Ne;function Ne(ye){return g=v(),he=Y,Y.partial||(s.currentConstruct=Y),Y.name&&s.parser.constructs.disable.null.includes(Y.name)?be():Y.tokenize.call(P?Object.assign(Object.create(s),P):s,u,ae,be)(ye)}}function ae(Y){return F(he,g),B}function be(Y){return g.restore(),++le<G.length?d(G[le]):X}}}function j(F,P){F.resolveAll&&!o.includes(F)&&o.push(F),F.resolve&&re(s.events,P,s.events.length-P,F.resolve(s.events.slice(P),s)),F.resolveTo&&(s.events=F.resolveTo(s.events,s))}function v(){const F=m(),P=s.previous,$=s.currentConstruct,U=s.events.length,B=Array.from(a);return{from:U,restore:X};function X(){r=F,s.previous=P,s.currentConstruct=$,s.events.length=U,a=B,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Ka(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Ja(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
|
|
3
|
+
`;break}case-3:{l=`\r
|
|
4
|
+
`;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function Za(e){const r={constructs:$r([Xa,...(e||{}).extensions||[]]),content:i(po),defined:[],document:i(go),flow:i(Ma),lazy:{},string:i(_a),text:i(Ra)};return r;function i(o){return l;function l(a){return Qa(r,o,a)}}}function eu(e){for(;!Wr(e););return e}const jn=/[\0\t\n\r]/g;function tu(){let e=1,t="",n=!0,r;return i;function i(o,l,a){const u=[];let s,f,c,p,h;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){if(jn.lastIndex=c,s=jn.exec(o),p=s&&s.index!==void 0?s.index:o.length,h=o.charCodeAt(p),!s){t=o.slice(c);break}if(h===10&&c===p&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),c<p&&(u.push(o.slice(c,p)),e+=p-c),h){case 0:{u.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,u.push(-2);e++<f;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}c=p+1}return a&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const nu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ru(e){return e.replace(nu,iu)}function iu(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Hr(n.slice(o?2:1),o?16:10)}return Jt(n)||e}const Jr={}.hasOwnProperty;function lu(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),ou(n)(eu(Za(n).document().write(tu()(e,t,!0))))}function ou(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(gn),autolinkProtocol:v,autolinkEmail:v,atxHeading:o(hn),blockQuote:o(Fe),characterEscape:v,characterReference:v,codeFenced:o(Ke),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Ke,l),codeText:o($i,l),codeTextData:v,data:v,codeFlowValue:v,definition:o(Hi),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(qi),hardBreakEscape:o(pn),hardBreakTrailing:o(pn),htmlFlow:o(mn,l),htmlFlowData:v,htmlText:o(mn,l),htmlTextData:v,image:o(Vi),label:l,link:o(gn),listItem:o(Ui),listItemValue:p,listOrdered:o(dn,c),listUnordered:o(dn),paragraph:o(Wi),reference:d,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(hn),strong:o(Gi),thematicBreak:o(Xi)},exit:{atxHeading:u(),atxHeadingSequence:L,autolink:u(),autolinkEmail:Te,autolinkProtocol:ye,blockQuote:u(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:Y,characterReference:Ne,codeFenced:u(C),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:k,codeIndented:u(x),codeText:u(B),codeTextData:k,data:k,definition:u(),definitionDestinationString:D,definitionLabelString:b,definitionTitleString:I,emphasis:u(),hardBreakEscape:u(P),hardBreakTrailing:u(P),htmlFlow:u($),htmlFlowData:k,htmlText:u(U),htmlTextData:k,image:u(G),label:he,labelText:le,lineEnding:F,link:u(X),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ae,resourceDestinationString:g,resourceTitleString:oe,resource:pe,setextHeading:u(j),setextHeadingLineSequence:_,setextHeadingText:S,strong:u(),thematicBreak:u()}};Zr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(w){let A={type:"root",children:[]};const z={stack:[A],tokenStack:[],config:t,enter:a,exit:s,buffer:l,resume:f,data:n},R=[];let H=-1;for(;++H<w.length;)if(w[H][1].type==="listOrdered"||w[H][1].type==="listUnordered")if(w[H][0]==="enter")R.push(H);else{const ue=R.pop();H=i(w,ue,H)}for(H=-1;++H<w.length;){const ue=t[w[H][0]];Jr.call(ue,w[H][1].type)&&ue[w[H][1].type].call(Object.assign({sliceSerialize:w[H][2].sliceSerialize},z),w[H][1])}if(z.tokenStack.length>0){const ue=z.tokenStack[z.tokenStack.length-1];(ue[1]||$n).call(z,void 0,ue[0])}for(A.position={start:xe(w.length>0?w[0][1].start:{line:1,column:1,offset:0}),end:xe(w.length>0?w[w.length-2][1].end:{line:1,column:1,offset:0})},H=-1;++H<t.transforms.length;)A=t.transforms[H](A)||A;return A}function i(w,A,z){let R=A-1,H=-1,ue=!1,we,me,_e,Re;for(;++R<=z;){const te=w[R];switch(te[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{te[0]==="enter"?H++:H--,Re=void 0;break}case"lineEndingBlank":{te[0]==="enter"&&(we&&!Re&&!H&&!_e&&(_e=R),Re=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Re=void 0}if(!H&&te[0]==="enter"&&te[1].type==="listItemPrefix"||H===-1&&te[0]==="exit"&&(te[1].type==="listUnordered"||te[1].type==="listOrdered")){if(we){let Pe=R;for(me=void 0;Pe--;){const ge=w[Pe];if(ge[1].type==="lineEnding"||ge[1].type==="lineEndingBlank"){if(ge[0]==="exit")continue;me&&(w[me][1].type="lineEndingBlank",ue=!0),ge[1].type="lineEnding",me=Pe}else if(!(ge[1].type==="linePrefix"||ge[1].type==="blockQuotePrefix"||ge[1].type==="blockQuotePrefixWhitespace"||ge[1].type==="blockQuoteMarker"||ge[1].type==="listItemIndent"))break}_e&&(!me||_e<me)&&(we._spread=!0),we.end=Object.assign({},me?w[me][1].start:te[1].end),w.splice(me||R,0,["exit",we,te[2]]),R++,z++}if(te[1].type==="listItemPrefix"){const Pe={type:"listItem",_spread:!1,start:Object.assign({},te[1].start),end:void 0};we=Pe,w.splice(R,0,["enter",Pe,te[2]]),R++,z++,_e=void 0,Re=!0}}}return w[A][1]._spread=ue,z}function o(w,A){return z;function z(R){a.call(this,w(R),R),A&&A.call(this,R)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(w,A,z){this.stack[this.stack.length-1].children.push(w),this.stack.push(w),this.tokenStack.push([A,z||void 0]),w.position={start:xe(A.start),end:void 0}}function u(w){return A;function A(z){w&&w.call(this,z),s.call(this,z)}}function s(w,A){const z=this.stack.pop(),R=this.tokenStack.pop();if(R)R[0].type!==w.type&&(A?A.call(this,w,R[0]):(R[1]||$n).call(this,w,R[0]));else throw new Error("Cannot close `"+w.type+"` ("+$e({start:w.start,end:w.end})+"): it’s not open");z.position.end=xe(w.end)}function f(){return Kt(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function p(w){if(this.data.expectingFirstListItemValue){const A=this.stack[this.stack.length-2];A.start=Number.parseInt(this.sliceSerialize(w),10),this.data.expectingFirstListItemValue=void 0}}function h(){const w=this.resume(),A=this.stack[this.stack.length-1];A.lang=w}function m(){const w=this.resume(),A=this.stack[this.stack.length-1];A.meta=w}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const w=this.resume(),A=this.stack[this.stack.length-1];A.value=w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const w=this.resume(),A=this.stack[this.stack.length-1];A.value=w.replace(/(\r?\n|\r)$/g,"")}function b(w){const A=this.resume(),z=this.stack[this.stack.length-1];z.label=A,z.identifier=se(this.sliceSerialize(w)).toLowerCase()}function I(){const w=this.resume(),A=this.stack[this.stack.length-1];A.title=w}function D(){const w=this.resume(),A=this.stack[this.stack.length-1];A.url=w}function L(w){const A=this.stack[this.stack.length-1];if(!A.depth){const z=this.sliceSerialize(w).length;A.depth=z}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function _(w){const A=this.stack[this.stack.length-1];A.depth=this.sliceSerialize(w).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function v(w){const z=this.stack[this.stack.length-1].children;let R=z[z.length-1];(!R||R.type!=="text")&&(R=Yi(),R.position={start:xe(w.start),end:void 0},z.push(R)),this.stack.push(R)}function k(w){const A=this.stack.pop();A.value+=this.sliceSerialize(w),A.position.end=xe(w.end)}function F(w){const A=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=A.children[A.children.length-1];z.position.end=xe(w.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(A.type)&&(v.call(this,w),k.call(this,w))}function P(){this.data.atHardBreak=!0}function $(){const w=this.resume(),A=this.stack[this.stack.length-1];A.value=w}function U(){const w=this.resume(),A=this.stack[this.stack.length-1];A.value=w}function B(){const w=this.resume(),A=this.stack[this.stack.length-1];A.value=w}function X(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=A,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function G(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=A,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function le(w){const A=this.sliceSerialize(w),z=this.stack[this.stack.length-2];z.label=ru(A),z.identifier=se(A).toLowerCase()}function he(){const w=this.stack[this.stack.length-1],A=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const R=w.children;z.children=R}else z.alt=A}function g(){const w=this.resume(),A=this.stack[this.stack.length-1];A.url=w}function oe(){const w=this.resume(),A=this.stack[this.stack.length-1];A.title=w}function pe(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function ae(w){const A=this.resume(),z=this.stack[this.stack.length-1];z.label=A,z.identifier=se(this.sliceSerialize(w)).toLowerCase(),this.data.referenceType="full"}function be(w){this.data.characterReferenceType=w.type}function Y(w){const A=this.sliceSerialize(w),z=this.data.characterReferenceType;let R;z?(R=Hr(A,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):R=Jt(A);const H=this.stack[this.stack.length-1];H.value+=R}function Ne(w){const A=this.stack.pop();A.position.end=xe(w.end)}function ye(w){k.call(this,w);const A=this.stack[this.stack.length-1];A.url=this.sliceSerialize(w)}function Te(w){k.call(this,w);const A=this.stack[this.stack.length-1];A.url="mailto:"+this.sliceSerialize(w)}function Fe(){return{type:"blockquote",children:[]}}function Ke(){return{type:"code",lang:null,meta:null,value:""}}function $i(){return{type:"inlineCode",value:""}}function Hi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function qi(){return{type:"emphasis",children:[]}}function hn(){return{type:"heading",depth:0,children:[]}}function pn(){return{type:"break"}}function mn(){return{type:"html",value:""}}function Vi(){return{type:"image",title:null,url:"",alt:null}}function gn(){return{type:"link",title:null,url:"",children:[]}}function dn(w){return{type:"list",ordered:w.type==="listOrdered",start:null,spread:w._spread,children:[]}}function Ui(w){return{type:"listItem",spread:w._spread,checked:null,children:[]}}function Wi(){return{type:"paragraph",children:[]}}function Gi(){return{type:"strong",children:[]}}function Yi(){return{type:"text",value:""}}function Xi(){return{type:"thematicBreak"}}}function xe(e){return{line:e.line,column:e.column,offset:e.offset}}function Zr(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Zr(e,r):au(e,r)}}function au(e,t){let n;for(n in t)if(Jr.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 $n(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+$e({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$e({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+$e({start:t.start,end:t.end})+") is still open")}function uu(e){const t=this;t.parser=n;function n(r){return lu(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function su(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 cu(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
5
|
+
`}]}function fu(e,t){const n=t.value?t.value+`
|
|
6
|
+
`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function hu(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function pu(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mu(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Oe(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)}function gu(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 du(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function ei(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 i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function yu(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ei(e,t);const i={src:Oe(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function xu(e,t){const n={src:Oe(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 ku(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 bu(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ei(e,t);const i={href:Oe(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function wu(e,t){const n={href:Oe(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 Su(e,t,n){const r=e.all(t),i=n?Cu(n):ti(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let c;f&&f.type==="element"&&f.tagName==="p"?c=f:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const f=r[a];(i||a!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
|
|
7
|
+
`}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&l.push({type:"text",value:`
|
|
8
|
+
`});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function Cu(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=ti(n[r])}return t}function ti(e){const t=e.spread;return t??e.children.length>1}function Eu(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function Iu(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Au(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Tu(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fu(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=Gt(t.children[1]),u=Mr(t.children[t.children.length-1]);a&&u&&(l.position={start:a,end:u}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Pu(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let u=-1;const s=[];for(;++u<a;){const c=t.children[u],p={},h=l?l[u]:void 0;h&&(p.align=h);let m={type:"element",tagName:o,properties:p,children:[]};c&&(m.children=e.all(c),e.patch(c,m),m=e.applyData(c,m)),s.push(m)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,f),e.applyData(t,f)}function zu(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Hn=9,qn=32;function Du(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Vn(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Vn(t.slice(i),i>0,!1)),o.join("")}function Vn(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Hn||o===qn;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Hn||o===qn;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Lu(e,t){const n={type:"text",value:Du(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function vu(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Mu={blockquote:su,break:cu,code:fu,delete:hu,emphasis:pu,footnoteReference:mu,heading:gu,html:du,imageReference:yu,image:xu,inlineCode:ku,linkReference:bu,link:wu,listItem:Su,list:Eu,paragraph:Iu,root:Au,strong:Tu,table:Fu,tableCell:zu,tableRow:Pu,text:Lu,thematicBreak:vu,toml:Je,yaml:Je,definition:Je,footnoteDefinition:Je};function Je(){}const ni=-1,pt=0,qe=1,ot=2,en=3,tn=4,nn=5,rn=6,ri=7,ii=8,Ou=typeof self=="object"?self:globalThis,Un=(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 Ou[e](t)},Nu=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case pt:case ni:return n(l,i);case qe:{const a=n([],i);for(const u of l)a.push(r(u));return a}case ot:{const a=n({},i);for(const[u,s]of l)a[r(u)]=r(s);return a}case en:return n(new Date(l),i);case tn:{const{source:a,flags:u}=l;return n(new RegExp(a,u),i)}case nn:{const a=n(new Map,i);for(const[u,s]of l)a.set(r(u),r(s));return a}case rn:{const a=n(new Set,i);for(const u of l)a.add(r(u));return a}case ri:{const{name:a,message:u}=l;return n(Un(a,u),i)}case ii:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:a}=new Uint8Array(l);return n(new DataView(a),l)}}return n(Un(o,l),i)};return r},Wn=e=>Nu(new Map,e)(0),ze="",{toString:_u}={},{keys:Ru}=Object,je=e=>{const t=typeof e;if(t!=="object"||!e)return[pt,t];const n=_u.call(e).slice(8,-1);switch(n){case"Array":return[qe,ze];case"Object":return[ot,ze];case"Date":return[en,ze];case"RegExp":return[tn,ze];case"Map":return[nn,ze];case"Set":return[rn,ze];case"DataView":return[qe,n]}return n.includes("Array")?[qe,n]:n.includes("Error")?[ri,n]:[ot,n]},Ze=([e,t])=>e===pt&&(t==="function"||t==="symbol"),Bu=(e,t,n,r)=>{const i=(l,a)=>{const u=r.push(l)-1;return n.set(a,u),u},o=l=>{if(n.has(l))return n.get(l);let[a,u]=je(l);switch(a){case pt:{let f=l;switch(u){case"bigint":a=ii,f=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);f=null;break;case"undefined":return i([ni],l)}return i([a,f],l)}case qe:{if(u){let p=l;return u==="DataView"?p=new Uint8Array(l.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(l)),i([u,[...p]],l)}const f=[],c=i([a,f],l);for(const p of l)f.push(o(p));return c}case ot:{if(u)switch(u){case"BigInt":return i([u,l.toString()],l);case"Boolean":case"Number":case"String":return i([u,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const f=[],c=i([a,f],l);for(const p of Ru(l))(e||!Ze(je(l[p])))&&f.push([o(p),o(l[p])]);return c}case en:return i([a,l.toISOString()],l);case tn:{const{source:f,flags:c}=l;return i([a,{source:f,flags:c}],l)}case nn:{const f=[],c=i([a,f],l);for(const[p,h]of l)(e||!(Ze(je(p))||Ze(je(h))))&&f.push([o(p),o(h)]);return c}case rn:{const f=[],c=i([a,f],l);for(const p of l)(e||!Ze(je(p)))&&f.push(o(p));return c}}const{message:s}=l;return i([a,{name:u,message:s}],l)};return o},Gn=(e,{json:t,lossy:n}={})=>{const r=[];return Bu(!(t||n),!!t,new Map,r)(e),r},at=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Wn(Gn(e,t)):structuredClone(e):(e,t)=>Wn(Gn(e,t));function ju(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 $u(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Hu(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ju,r=e.options.footnoteBackLabel||$u,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[u]);if(!s)continue;const f=e.all(s),c=String(s.identifier).toUpperCase(),p=Oe(c.toLowerCase());let h=0;const m=[],y=e.footnoteCounts.get(c);for(;y!==void 0&&++h<=y;){m.length>0&&m.push({type:"text",value:" "});let b=typeof n=="string"?n:n(u,h);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,h),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const C=f[f.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const b=C.children[C.children.length-1];b&&b.type==="text"?b.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...m)}else f.push(...m);const x={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(f,!0)};e.patch(s,x),a.push(x)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...at(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
9
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
|
|
10
|
+
`}]}}const Xe=function(e){if(e==null)return Wu;if(typeof e=="function")return mt(e);if(typeof e=="object")return Array.isArray(e)?qu(e):Vu(e);if(typeof e=="string")return Uu(e);throw new Error("Expected function, string, or object as test")};function qu(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Xe(e[n]);return mt(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function Vu(e){const t=e;return mt(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Uu(e){return mt(t);function t(n){return n&&n.type===e}}function mt(e){return t;function t(n,r,i){return!!(Gu(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Wu(){return!0}function Gu(e){return e!==null&&typeof e=="object"&&"type"in e}const li=[],Yu=!0,Rt=!1,oi="skip";function ln(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Xe(i),l=r?-1:1;a(e,void 0,[])();function a(u,s,f){const c=u&&typeof u=="object"?u:{};if(typeof c.type=="string"){const h=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=li,m,y,C;if((!t||o(u,s,f[f.length-1]||void 0))&&(h=Xu(n(u,f)),h[0]===Rt))return h;if("children"in u&&u.children){const x=u;if(x.children&&h[0]!==oi)for(y=(r?x.children.length:-1)+l,C=f.concat(x);y>-1&&y<x.children.length;){const b=x.children[y];if(m=a(b,y,C)(),m[0]===Rt)return m;y=typeof m[1]=="number"?m[1]:y+l}}return h}}}function Xu(e){return Array.isArray(e)?e:typeof e=="number"?[Yu,e]:e==null?li:[e]}function on(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),ln(e,o,a,i);function a(u,s){const f=s[s.length-1],c=f?f.children.indexOf(u):void 0;return l(u,c,f)}}const Bt={}.hasOwnProperty,Qu={};function Ku(e,t){const n=t||Qu,r=new Map,i=new Map,o=new Map,l={...Mu,...n.handlers},a={all:s,applyData:Zu,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:u,options:n,patch:Ju,wrap:ts};return on(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const c=f.type==="definition"?r:i,p=String(f.identifier).toUpperCase();c.has(p)||c.set(p,f)}}),a;function u(f,c){const p=f.type,h=a.handlers[p];if(Bt.call(a.handlers,p)&&h)return h(a,f,c);if(a.options.passThrough&&a.options.passThrough.includes(p)){if("children"in f){const{children:y,...C}=f,x=at(C);return x.children=a.all(f),x}return at(f)}return(a.options.unknownHandler||es)(a,f,c)}function s(f){const c=[];if("children"in f){const p=f.children;let h=-1;for(;++h<p.length;){const m=a.one(p[h],f);if(m){if(h&&p[h-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=Yn(m.value)),!Array.isArray(m)&&m.type==="element")){const y=m.children[0];y&&y.type==="text"&&(y.value=Yn(y.value))}Array.isArray(m)?c.push(...m):c.push(m)}}}return c}}function Ju(e,t){e.position&&(t.position=Bl(e))}function Zu(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,at(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function es(e,t){const n=t.data||{},r="value"in t&&!(Bt.call(n,"hProperties")||Bt.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 ts(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
11
|
+
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
12
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
13
|
+
`}),n}function Yn(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Xn(e,t){const n=Ku(e,t),r=n.one(e,void 0),i=Hu(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
|
|
14
|
+
`},i),o}function ns(e,t){return e&&"run"in e?async function(n,r){const i=Xn(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Xn(n,{file:r,...e||t})}}function Qn(e){if(e)throw e}var rt=Object.prototype.hasOwnProperty,ai=Object.prototype.toString,Kn=Object.defineProperty,Jn=Object.getOwnPropertyDescriptor,Zn=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ai.call(t)==="[object Array]"},er=function(t){if(!t||ai.call(t)!=="[object Object]")return!1;var n=rt.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&rt.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||rt.call(t,i)},tr=function(t,n){Kn&&n.name==="__proto__"?Kn(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},nr=function(t,n){if(n==="__proto__")if(rt.call(t,n)){if(Jn)return Jn(t,n).value}else return;return t[n]},rs=function e(){var t,n,r,i,o,l,a=arguments[0],u=1,s=arguments.length,f=!1;for(typeof a=="boolean"&&(f=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<s;++u)if(t=arguments[u],t!=null)for(n in t)r=nr(a,n),i=nr(t,n),a!==i&&(f&&i&&(er(i)||(o=Zn(i)))?(o?(o=!1,l=r&&Zn(r)?r:[]):l=r&&er(r)?r:{},tr(a,{name:n,newValue:e(f,l,i)})):typeof i<"u"&&tr(a,{name:n,newValue:i}));return a};const bt=Er(rs);function jt(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 is(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(u,...s){const f=e[++o];let c=-1;if(u){l(u);return}for(;++c<i.length;)(s[c]===null||s[c]===void 0)&&(s[c]=i[c]);i=s,f?ls(f,a)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function ls(e,t){let n;return r;function r(...l){const a=e.length>l.length;let u;a&&l.push(i);try{u=e.apply(this,l)}catch(s){const f=s;if(a&&n)throw f;return i(f)}a||(u&&u.then&&typeof u.then=="function"?u.then(o,i):u instanceof Error?i(u):o(u))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const ce={basename:os,dirname:as,extname:us,join:ss,sep:"/"};function os(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Qe(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function as(e){if(Qe(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 us(e){Qe(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.codePointAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function ss(...e){let t=-1,n;for(;++t<e.length;)Qe(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":cs(n)}function cs(e){Qe(e);const t=e.codePointAt(0)===47;let n=fs(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function fs(e,t){let n="",r=0,i=-1,o=0,l=-1,a,u;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function Qe(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const hs={cwd:ps};function ps(){return"/"}function $t(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ms(e){if(typeof e=="string")e=new URL(e);else if(!$t(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 gs(e)}function gs(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 i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const wt=["history","path","basename","stem","extname","dirname"];class ui{constructor(t){let n;t?$t(t)?n={path:t}:typeof t=="string"||ds(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":hs.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<wt.length;){const o=wt[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)wt.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ce.basename(this.path):void 0}set basename(t){Ct(t,"basename"),St(t,"basename"),this.path=ce.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ce.dirname(this.path):void 0}set dirname(t){rr(this.basename,"dirname"),this.path=ce.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ce.extname(this.path):void 0}set extname(t){if(St(t,"extname"),rr(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=ce.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){$t(t)&&(t=ms(t)),Ct(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ce.basename(this.path,this.extname):void 0}set stem(t){Ct(t,"stem"),St(t,"stem"),this.path=ce.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new K(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function St(e,t){if(e&&e.includes(ce.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ce.sep+"`")}function Ct(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function rr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function ds(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ys=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},xs={}.hasOwnProperty;class an extends ys{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=is()}copy(){const t=new an;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(bt(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(At("data",this.frozen),this.namespace[t]=n,this):xs.call(this.namespace,t)&&this.namespace[t]||void 0:t?(At("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 i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=et(t),r=this.parser||this.Parser;return Et("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Et("process",this.parser||this.Parser),It("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const a=et(t),u=r.parse(a);r.run(u,a,function(f,c,p){if(f||!c||!p)return s(f);const h=c,m=r.stringify(h,p);ws(m)?p.value=m:p.result=m,s(f,p)});function s(f,c){f||!c?l(f):o?o(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),Et("processSync",this.parser||this.Parser),It("processSync",this.compiler||this.Compiler),this.process(t,i),lr("processSync","process",n),r;function i(o,l){n=!0,Qn(o),r=l}}run(t,n,r){ir(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,a){const u=et(n);i.run(t,u,s);function s(f,c,p){const h=c||t;f?a(f):l?l(h):r(void 0,h,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),lr("runSync","run",r),i;function o(l,a){Qn(l),i=a,r=!0}}stringify(t,n){this.freeze();const r=et(n),i=this.compiler||this.Compiler;return It("stringify",i),ir(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(At("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")u(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[f,...c]=s;u(f,c)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))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");a(s.plugins),s.settings&&(i.settings=bt(!0,i.settings,s.settings))}function a(s){let f=-1;if(s!=null)if(Array.isArray(s))for(;++f<s.length;){const c=s[f];o(c)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function u(s,f){let c=-1,p=-1;for(;++c<r.length;)if(r[c][0]===s){p=c;break}if(p===-1)r.push([s,...f]);else if(f.length>0){let[h,...m]=f;const y=r[p][1];jt(y)&&jt(h)&&(h=bt(!0,y,h)),r[p]=[s,h,...m]}}}}const ks=new an().freeze();function Et(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function It(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function At(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 ir(e){if(!jt(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function lr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function et(e){return bs(e)?e:new ui(e)}function bs(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ws(e){return typeof e=="string"||Ss(e)}function Ss(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Cs="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",or=[],ar={allowDangerousHtml:!0},Es=/^(https?|ircs?|mailto|xmpp)$/i,Is=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Fh(e){const t=As(e),n=Ts(e);return Fs(t.runSync(t.parse(n),n),e)}function As(e){const t=e.rehypePlugins||or,n=e.remarkPlugins||or,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ar}:ar;return ks().use(uu).use(n).use(ns,r).use(t)}function Ts(e){const t=e.children||"",n=new ui;return typeof t=="string"&&(n.value=t),n}function Fs(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||Ps;for(const f of Is)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+Cs+f.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),on(e,s),Vl(e,{Fragment:gt.Fragment,components:i,ignoreInvalidStyle:!0,jsx:gt.jsx,jsxs:gt.jsxs,passKeys:!0,passNode:!0});function s(f,c,p){if(f.type==="raw"&&p&&typeof c=="number")return l?p.children.splice(c,1):p.children[c]={type:"text",value:f.value},c;if(f.type==="element"){let h;for(h in yt)if(Object.hasOwn(yt,h)&&Object.hasOwn(f.properties,h)){const m=f.properties[h],y=yt[h];(y===null||y.includes(f.tagName))&&(f.properties[h]=u(String(m||""),h,f))}}if(f.type==="element"){let h=n?!n.includes(f.tagName):o?o.includes(f.tagName):!1;if(!h&&r&&typeof c=="number"&&(h=!r(f,c,p)),h&&p&&typeof c=="number")return a&&f.children?p.children.splice(c,1,...f.children):p.children.splice(c,1),c}}}function Ps(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Es.test(e.slice(0,t))?e:""}const ur=/[#.]/g;function zs(e,t){const n=e||"",r={};let i=0,o,l;for(;i<n.length;){ur.lastIndex=i;const a=ur.exec(n),u=n.slice(i,a?a.index:n.length);u&&(o?o==="#"?r.id=u:Array.isArray(r.className)?r.className.push(u):r.className=[u]:l=u,i+=u.length),a&&(o=a[0],i++)}return{type:"element",tagName:l||t||"div",properties:r,children:[]}}function si(e,t,n){const r=n?Ms(n):void 0;function i(o,l,...a){let u;if(o==null){u={type:"root",children:[]};const s=l;a.unshift(s)}else{u=zs(o,t);const s=u.tagName.toLowerCase(),f=r?r.get(s):void 0;if(u.tagName=f||s,Ds(l))a.unshift(l);else for(const[c,p]of Object.entries(l))Ls(e,u.properties,c,p)}for(const s of a)Ht(u.children,s);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function Ds(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 i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const o=i;for(const l of o)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Ls(e,t,n,r){const i=Lr(e,n);let o;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;o=r}else typeof r=="boolean"?o=r:typeof r=="string"?i.spaceSeparated?o=Cn(r):i.commaSeparated?o=xn(r):i.commaOrSpaceSeparated?o=Cn(xn(r).join(" ")):o=sr(i,i.property,r):Array.isArray(r)?o=[...r]:o=i.property==="style"?vs(r):String(r);if(Array.isArray(o)){const l=[];for(const a of o)l.push(sr(i,i.property,a));o=l}i.property==="className"&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function Ht(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)Ht(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ht(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function sr(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Ve(n)===Ve(t)))return!0}return n}function vs(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Ms(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Os=["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"],Ns=si(vr,"div"),_s=si(st,"g",Os),Tt={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function Rs(e,t){return ci(e,{})||{type:"root",children:[]}}function ci(e,t){const n=Bs(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function Bs(e,t){switch(e.nodeType){case 1:return qs(e,t);case 3:return $s(e);case 8:return Hs(e);case 9:return cr(e,t);case 10:return js();case 11:return cr(e,t);default:return}}function cr(e,t){return{type:"root",children:fi(e,t)}}function js(){return{type:"doctype"}}function $s(e){return{type:"text",value:e.nodeValue||""}}function Hs(e){return{type:"comment",value:e.nodeValue||""}}function qs(e,t){const n=e.namespaceURI,r=n===Tt.svg?_s:Ns,i=n===Tt.html?e.tagName.toLowerCase():e.tagName,o=n===Tt.html&&i==="template"?e.content:e,l=e.getAttributeNames(),a={};let u=-1;for(;++u<l.length;)a[l[u]]=e.getAttribute(l[u])||"";return r(i,a,fi(o,t))}function fi(e,t){const n=e.childNodes,r=[];let i=-1;for(;++i<n.length;){const o=ci(n[i],t);o!==void 0&&r.push(o)}return r}new DOMParser;function Vs(e,t){const n=Us(e);return Rs(n)}function Us(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const fr=function(e,t,n){const r=Xe(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},Ae=function(e){if(e==null)return Ys;if(typeof e=="string")return Gs(e);if(typeof e=="object")return Ws(e);if(typeof e=="function")return un(e);throw new Error("Expected function, string, or array as `test`")};function Ws(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ae(e[n]);return un(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function Gs(e){return un(t);function t(n){return n.tagName===e}}function un(e){return t;function t(n,r,i){return!!(Xs(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Ys(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Xs(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const hr=/\n/g,pr=/[\t ]+/g,qt=Ae("br"),mr=Ae(rc),Qs=Ae("p"),gr=Ae("tr"),Ks=Ae(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",nc,ic]),hi=Ae(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Js(e,t){const n=t||{},r="children"in e?e.children:[],i=hi(e),o=gi(e,{whitespace:n.whitespace||"normal"}),l=[];(e.type==="text"||e.type==="comment")&&l.push(...mi(e,{breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<r.length;)l.push(...pi(r[a],e,{whitespace:o,breakBefore:a?void 0:i,breakAfter:a<r.length-1?qt(r[a+1]):i}));const u=[];let s;for(a=-1;++a<l.length;){const f=l[a];typeof f=="number"?s!==void 0&&f>s&&(s=f):f&&(s!==void 0&&s>-1&&u.push(`
|
|
15
|
+
`.repeat(s)||" "),s=-1,u.push(f))}return u.join("")}function pi(e,t,n){return e.type==="element"?Zs(e,t,n):e.type==="text"?n.whitespace==="normal"?mi(e,n):ec(e):[]}function Zs(e,t,n){const r=gi(e,n),i=e.children||[];let o=-1,l=[];if(Ks(e))return l;let a,u;for(qt(e)||gr(e)&&fr(t,e,gr)?u=`
|
|
16
|
+
`:Qs(e)?(a=2,u=2):hi(e)&&(a=1,u=1);++o<i.length;)l=l.concat(pi(i[o],e,{whitespace:r,breakBefore:o?void 0:a,breakAfter:o<i.length-1?qt(i[o+1]):u}));return mr(e)&&fr(t,e,mr)&&l.push(" "),a&&l.unshift(a),u&&l.push(u),l}function mi(e,t){const n=String(e.value),r=[],i=[];let o=0;for(;o<=n.length;){hr.lastIndex=o;const u=hr.exec(n),s=u&&"index"in u?u.index:n.length;r.push(tc(n.slice(o,s).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?t.breakBefore:!0,s===n.length?t.breakAfter:!0)),o=s+1}let l=-1,a;for(;++l<r.length;)r[l].charCodeAt(r[l].length-1)===8203||l<r.length-1&&r[l+1].charCodeAt(0)===8203?(i.push(r[l]),a=void 0):r[l]?(typeof a=="number"&&i.push(a),i.push(r[l]),a=0):(l===0||l===r.length-1)&&i.push(0);return i}function ec(e){return[String(e.value)]}function tc(e,t,n){const r=[];let i=0,o;for(;i<e.length;){pr.lastIndex=i;const l=pr.exec(e);o=l?l.index:e.length,!i&&!o&&l&&!t&&r.push(""),i!==o&&r.push(e.slice(i,o)),i=l?o+l[0].length:o}return i!==o&&!n&&r.push(""),r.join(" ")}function gi(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function nc(e){return!!(e.properties||{}).hidden}function rc(e){return e.tagName==="td"||e.tagName==="th"}function ic(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const lc={},oc=[];function Ph(e){const t=e||lc;return function(n,r){ln(n,"element",function(i,o){const l=Array.isArray(i.properties.className)?i.properties.className:oc,a=l.includes("language-math"),u=l.includes("math-display"),s=l.includes("math-inline");let f=u;if(!a&&!u&&!s)return;let c=o[o.length-1],p=i;if(i.tagName==="code"&&a&&c&&c.type==="element"&&c.tagName==="pre"&&(p=c,c=o[o.length-2],f=!0),!c)return;const h=Js(p,{whitespace:"pre"});let m;try{m=yn.renderToString(h,{...t,displayMode:f,throwOnError:!0})}catch(C){const x=C,b=x.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...o,i],cause:x,place:i.position,ruleId:b,source:"rehype-katex"});try{m=yn.renderToString(h,{...t,displayMode:f,strict:"ignore",throwOnError:!1})}catch{m=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(C)},children:[{type:"text",value:h}]}]}}typeof m=="string"&&(m=Vs(m).children);const y=c.children.indexOf(p);return c.children.splice(y,1,...m),oi})}}function ac(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function di(e,t,n){const i=Xe((n||{}).ignore||[]),o=uc(t);let l=-1;for(;++l<o.length;)ln(e,"text",a);function a(s,f){let c=-1,p;for(;++c<f.length;){const h=f[c],m=p?p.children:void 0;if(i(h,m?m.indexOf(h):void 0,p))return;p=h}if(p)return u(s,f)}function u(s,f){const c=f[f.length-1],p=o[l][0],h=o[l][1];let m=0;const C=c.children.indexOf(s);let x=!1,b=[];p.lastIndex=0;let I=p.exec(s.value);for(;I;){const D=I.index,L={index:I.index,input:I.input,stack:[...f,s]};let S=h(...I,L);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?p.lastIndex=D+1:(m!==D&&b.push({type:"text",value:s.value.slice(m,D)}),Array.isArray(S)?b.push(...S):S&&b.push(S),m=D+I[0].length,x=!0),!p.global)break;I=p.exec(s.value)}return x?(m<s.value.length&&b.push({type:"text",value:s.value.slice(m)}),c.children.splice(C,1,...b)):b=[s],C+b.length}}function uc(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 i=n[r];t.push([sc(i[0]),cc(i[1])])}return t}function sc(e){return typeof e=="string"?new RegExp(ac(e),"g"):e}function cc(e){return typeof e=="function"?e:function(){return e}}function fc(e){di(e,[/\r?\n|\r/g,hc])}function hc(){return{type:"break"}}function zh(){return function(e){fc(e)}}function dr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}const Ft="phrasing",Pt=["autolink","link","image","label"];function pc(){return{transforms:[bc],enter:{literalAutolink:gc,literalAutolinkEmail:zt,literalAutolinkHttp:zt,literalAutolinkWww:zt},exit:{literalAutolink:kc,literalAutolinkEmail:xc,literalAutolinkHttp:dc,literalAutolinkWww:yc}}}function mc(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ft,notInConstruct:Pt},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ft,notInConstruct:Pt},{character:":",before:"[ps]",after:"\\/",inConstruct:Ft,notInConstruct:Pt}]}}function gc(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zt(e){this.config.enter.autolinkProtocol.call(this,e)}function dc(e){this.config.exit.autolinkProtocol.call(this,e)}function yc(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 kc(e){this.exit(e)}function bc(e){di(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wc],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Sc]],{ignore:["link","linkReference"]})}function wc(e,t,n,r,i){let o="";if(!yi(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!Cc(n)))return!1;const l=Ec(n+r);if(!l[0])return!1;const a={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[a,{type:"text",value:l[1]}]:a}function Sc(e,t,n,r){return!yi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Cc(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 Ec(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 i=dr(e,"(");let o=dr(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function yi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ee(n)||ft(n))&&(!t||n!==47)}xi.peek=vc;function Ic(){this.buffer()}function Ac(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Tc(){this.buffer()}function Fc(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Pc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=se(this.sliceSerialize(e)).toLowerCase(),n.label=t}function zc(e){this.exit(e)}function Dc(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=se(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Lc(e){this.exit(e)}function vc(){return"["}function xi(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]"),o}function Mc(){return{enter:{gfmFootnoteCallString:Ic,gfmFootnoteCall:Ac,gfmFootnoteDefinitionLabelString:Tc,gfmFootnoteDefinition:Fc},exit:{gfmFootnoteCallString:Pc,gfmFootnoteCall:zc,gfmFootnoteDefinitionLabelString:Dc,gfmFootnoteDefinition:Lc}}}function Oc(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:xi},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,l){const a=o.createTracker(l);let u=a.move("[^");const s=o.enter("footnoteDefinition"),f=o.enter("label");return u+=a.move(o.safe(o.associationId(r),{before:u,after:"]"})),f(),u+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),u+=a.move((t?`
|
|
17
|
+
`:" ")+o.indentLines(o.containerFlow(r,a.current()),t?ki:Nc))),s(),u}}function Nc(e,t,n){return t===0?e:ki(e,t,n)}function ki(e,t,n){return(n?"":" ")+e}const _c=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];bi.peek=Hc;function Rc(){return{canContainEols:["delete"],enter:{strikethrough:jc},exit:{strikethrough:$c}}}function Bc(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_c}],handlers:{delete:bi}}}function jc(e){this.enter({type:"delete",children:[]},e)}function $c(e){this.exit(e)}function bi(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function Hc(){return"~"}function qc(e){return e.length}function Vc(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||qc,o=[],l=[],a=[],u=[];let s=0,f=-1;for(;++f<e.length;){const y=[],C=[];let x=-1;for(e[f].length>s&&(s=e[f].length);++x<e[f].length;){const b=Uc(e[f][x]);if(n.alignDelimiters!==!1){const I=i(b);C[x]=I,(u[x]===void 0||I>u[x])&&(u[x]=I)}y.push(b)}l[f]=y,a[f]=C}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<s;)o[c]=yr(r[c]);else{const y=yr(r);for(;++c<s;)o[c]=y}c=-1;const p=[],h=[];for(;++c<s;){const y=o[c];let C="",x="";y===99?(C=":",x=":"):y===108?C=":":y===114&&(x=":");let b=n.alignDelimiters===!1?1:Math.max(1,u[c]-C.length-x.length);const I=C+"-".repeat(b)+x;n.alignDelimiters!==!1&&(b=C.length+b+x.length,b>u[c]&&(u[c]=b),h[c]=b),p[c]=I}l.splice(1,0,p),a.splice(1,0,h),f=-1;const m=[];for(;++f<l.length;){const y=l[f],C=a[f];c=-1;const x=[];for(;++c<s;){const b=y[c]||"";let I="",D="";if(n.alignDelimiters!==!1){const L=u[c]-(C[c]||0),S=o[c];S===114?I=" ".repeat(L):S===99?L%2?(I=" ".repeat(L/2+.5),D=" ".repeat(L/2-.5)):(I=" ".repeat(L/2),D=I):D=" ".repeat(L)}n.delimiterStart!==!1&&!c&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&b==="")&&(n.delimiterStart!==!1||c)&&x.push(" "),n.alignDelimiters!==!1&&x.push(I),x.push(b),n.alignDelimiters!==!1&&x.push(D),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||c!==s-1)&&x.push("|")}m.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return m.join(`
|
|
18
|
+
`)}function Uc(e){return e==null?"":String(e)}function yr(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 Wc(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),Gc);return i(),l}function Gc(e,t,n){return">"+(n?"":" ")+e}function Yc(e,t){return xr(e,t.inConstruct,!0)&&!xr(e,t.notInConstruct,!1)}function xr(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 kr(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
19
|
+
`&&Yc(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
20
|
+
`}function wi(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function Xc(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 Qc(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 Kc(e,t,n,r){const i=Qc(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(Xc(e,n)){const c=n.enter("codeIndented"),p=n.indentLines(o,Jc);return c(),p}const a=n.createTracker(r),u=i.repeat(Math.max(wi(o,i)+1,3)),s=n.enter("codeFenced");let f=a.move(u);if(e.lang){const c=n.enter(`codeFencedLang${l}`);f+=a.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...a.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${l}`);f+=a.move(" "),f+=a.move(n.safe(e.meta,{before:f,after:`
|
|
21
|
+
`,encode:["`"],...a.current()})),c()}return f+=a.move(`
|
|
22
|
+
`),o&&(f+=a.move(o+`
|
|
23
|
+
`)),f+=a.move(u),s(),f}function Jc(e,t,n){return(n?"":" ")+e}function sn(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 Zc(e,t,n,r){const i=sn(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let a=n.enter("label");const u=n.createTracker(r);let s=u.move("[");return s+=u.move(n.safe(n.associationId(e),{before:s,after:"]",...u.current()})),s+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(n.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=n.enter("destinationRaw"),s+=u.move(n.safe(e.url,{before:s,after:e.title?" ":`
|
|
24
|
+
`,...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(n.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),l(),s}function ef(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 We(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ut(e,t,n){const r=ve(e),i=ve(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Si.peek=tf;function Si(e,t,n,r){const i=ef(n),o=n.enter("emphasis"),l=n.createTracker(r),a=l.move(i);let u=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const s=u.charCodeAt(0),f=ut(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(u=We(s)+u.slice(1));const c=u.charCodeAt(u.length-1),p=ut(r.after.charCodeAt(0),c,i);p.inside&&(u=u.slice(0,-1)+We(c));const h=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:f.outside},a+u+h}function tf(e,t,n){return n.options.emphasis||"*"}function nf(e,t){let n=!1;return on(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Rt}),!!((!e.depth||e.depth<3)&&Kt(e)&&(t.options.setext||n))}function rf(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(nf(e,n)){const f=n.enter("headingSetext"),c=n.enter("phrasing"),p=n.containerPhrasing(e,{...o.current(),before:`
|
|
25
|
+
`,after:`
|
|
26
|
+
`});return c(),f(),p+`
|
|
27
|
+
`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
28
|
+
`))+1))}const l="#".repeat(i),a=n.enter("headingAtx"),u=n.enter("phrasing");o.move(l+" ");let s=n.containerPhrasing(e,{before:"# ",after:`
|
|
29
|
+
`,...o.current()});return/^[\t ]/.test(s)&&(s=We(s.charCodeAt(0))+s.slice(1)),s=s?l+" "+s:l,n.options.closeAtx&&(s+=" "+l),u(),a(),s}Ci.peek=lf;function Ci(e){return e.value||""}function lf(){return"<"}Ei.peek=of;function Ei(e,t,n,r){const i=sn(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("image");let a=n.enter("label");const u=n.createTracker(r);let s=u.move("![");return s+=u.move(n.safe(e.alt,{before:s,after:"]",...u.current()})),s+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(n.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=n.enter("destinationRaw"),s+=u.move(n.safe(e.url,{before:s,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(n.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),s+=u.move(")"),l(),s}function of(){return"!"}Ii.peek=af;function Ii(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const a=n.createTracker(r);let u=a.move("![");const s=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?u+=a.move(c+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function af(){return"!"}Ai.peek=uf;function Ai(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const l=n.unsafe[o],a=n.compilePattern(l);let u;if(l.atBreak)for(;u=a.exec(r);){let s=u.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(u.index+1)}}return i+r+i}function uf(){return"`"}function Ti(e,t){const n=Kt(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=sf;function Fi(e,t,n,r){const i=sn(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let a,u;if(Ti(e,n)){const f=n.stack;n.stack=[],a=n.enter("autolink");let c=l.move("<");return c+=l.move(n.containerPhrasing(e,{before:c,after:">",...l.current()})),c+=l.move(">"),a(),n.stack=f,c}a=n.enter("link"),u=n.enter("label");let s=l.move("[");return s+=l.move(n.containerPhrasing(e,{before:s,after:"](",...l.current()})),s+=l.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=l.move("<"),s+=l.move(n.safe(e.url,{before:s,after:">",...l.current()})),s+=l.move(">")):(u=n.enter("destinationRaw"),s+=l.move(n.safe(e.url,{before:s,after:e.title?" ":")",...l.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=l.move(" "+i),s+=l.move(n.safe(e.title,{before:s,after:i,...l.current()})),s+=l.move(i),u()),s+=l.move(")"),a(),s}function sf(e,t,n){return Ti(e,n)?"<":"["}Pi.peek=cf;function Pi(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const a=n.createTracker(r);let u=a.move("[");const s=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?u+=a.move(c+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function cf(){return"["}function cn(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 ff(e){const t=cn(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 hf(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 zi(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 pf(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?hf(n):cn(n);const a=e.ordered?l==="."?")":".":ff(n);let u=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.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&&(u=!0),zi(n)===l&&f){let c=-1;for(;++c<e.children.length;){const p=e.children[c];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(l=a),n.bulletCurrent=l;const s=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),s}function mf(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 gf(e,t,n,r){const i=mf(n);let o=n.bulletCurrent||cn(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const u=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,a.current()),f);return u(),s;function f(c,p,h){return p?(h?"":" ".repeat(l))+c:(h?o:o+" ".repeat(l-o.length))+c}}function df(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const yf=Xe(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function xf(e,t,n,r){return(e.children.some(function(l){return yf(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function kf(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Di.peek=bf;function Di(e,t,n,r){const i=kf(n),o=n.enter("strong"),l=n.createTracker(r),a=l.move(i+i);let u=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const s=u.charCodeAt(0),f=ut(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(u=We(s)+u.slice(1));const c=u.charCodeAt(u.length-1),p=ut(r.after.charCodeAt(0),c,i);p.inside&&(u=u.slice(0,-1)+We(c));const h=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:f.outside},a+u+h}function bf(e,t,n){return n.options.strong||"*"}function wf(e,t,n,r){return n.safe(e.value,r)}function Sf(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 Cf(e,t,n){const r=(zi(n)+(n.options.ruleSpaces?" ":"")).repeat(Sf(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Li={blockquote:Wc,break:kr,code:Kc,definition:Zc,emphasis:Si,hardBreak:kr,heading:rf,html:Ci,image:Ei,imageReference:Ii,inlineCode:Ai,link:Fi,linkReference:Pi,list:pf,listItem:gf,paragraph:df,root:xf,strong:Di,text:wf,thematicBreak:Cf};function Ef(){return{enter:{table:If,tableData:br,tableHeader:br,tableRow:Tf},exit:{codeText:Ff,table:Af,tableData:Dt,tableHeader:Dt,tableRow:Dt}}}function If(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 Af(e){this.exit(e),this.data.inTable=void 0}function Tf(e){this.enter({type:"tableRow",children:[]},e)}function Dt(e){this.exit(e)}function br(e){this.enter({type:"tableCell",children:[]},e)}function Ff(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Pf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Pf(e,t){return t==="|"?t:e}function zf(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
30
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:l,tableCell:u,tableRow:a}};function l(h,m,y,C){return s(f(h,y,C),h.align)}function a(h,m,y,C){const x=c(h,y,C),b=s([x]);return b.slice(0,b.indexOf(`
|
|
31
|
+
`))}function u(h,m,y,C){const x=y.enter("tableCell"),b=y.enter("phrasing"),I=y.containerPhrasing(h,{...C,before:o,after:o});return b(),x(),I}function s(h,m){return Vc(h,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function f(h,m,y){const C=h.children;let x=-1;const b=[],I=m.enter("table");for(;++x<C.length;)b[x]=c(C[x],m,y);return I(),b}function c(h,m,y){const C=h.children;let x=-1;const b=[],I=m.enter("tableRow");for(;++x<C.length;)b[x]=u(C[x],h,m,y);return I(),b}function p(h,m,y){let C=Li.inlineCode(h,m,y);return y.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function Df(){return{exit:{taskListCheckValueChecked:wr,taskListCheckValueUnchecked:wr,paragraph:vf}}}function Lf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Mf}}}function wr(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function vf(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 i=t.children;let o=-1,l;for(;++o<i.length;){const a=i[o];if(a.type==="paragraph"){l=a;break}}l===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 Mf(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(l);let u=Li.listItem(e,t,n,{...r,...a.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),u;function s(f){return f+l}}function Of(){return[pc(),Mc(),Rc(),Ef(),Df()]}function Nf(e){return{extensions:[mc(),Oc(e),Bc(),zf(e),Lf()]}}const _f={tokenize:qf,partial:!0},vi={tokenize:Vf,partial:!0},Mi={tokenize:Uf,partial:!0},Oi={tokenize:Wf,partial:!0},Rf={tokenize:Gf,partial:!0},Ni={name:"wwwAutolink",tokenize:$f,previous:Ri},_i={name:"protocolAutolink",tokenize:Hf,previous:Bi},de={name:"emailAutolink",tokenize:jf,previous:ji},fe={};function Bf(){return{text:fe}}let Se=48;for(;Se<123;)fe[Se]=de,Se++,Se===58?Se=65:Se===91&&(Se=97);fe[43]=de;fe[45]=de;fe[46]=de;fe[95]=de;fe[72]=[de,_i];fe[104]=[de,_i];fe[87]=[de,Ni];fe[119]=[de,Ni];function jf(e,t,n){const r=this;let i,o;return l;function l(c){return!Vt(c)||!ji.call(r,r.previous)||fn(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(c))}function a(c){return Vt(c)?(e.consume(c),a):c===64?(e.consume(c),u):n(c)}function u(c){return c===46?e.check(Rf,f,s)(c):c===45||c===95||Q(c)?(o=!0,e.consume(c),u):f(c)}function s(c){return e.consume(c),i=!0,u}function f(c){return o&&i&&J(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function $f(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!Ri.call(r,r.previous)||fn(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_f,e.attempt(vi,e.attempt(Mi,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function Hf(e,t,n){const r=this;let i="",o=!1;return l;function l(c){return(c===72||c===104)&&Bi.call(r,r.previous)&&!fn(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),a):n(c)}function a(c){if(J(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),a;if(c===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(c),u}return n(c)}function u(c){return c===47?(e.consume(c),o?s:(o=!0,u)):n(c)}function s(c){return c===null||lt(c)||q(c)||Ee(c)||ft(c)?n(c):e.attempt(vi,e.attempt(Mi,f),n)(c)}function f(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function qf(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function Vf(e,t,n){let r,i,o;return l;function l(s){return s===46||s===95?e.check(Oi,u,a)(s):s===null||q(s)||Ee(s)||s!==45&&ft(s)?u(s):(o=!0,e.consume(s),l)}function a(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),l}function u(s){return i||r||!o?n(s):t(s)}}function Uf(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(Oi,t,o)(l):l===null||q(l)||Ee(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function Wf(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||q(a)||Ee(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||q(a)||Ee(a)?t(a):r(a)}function o(a){return J(a)?l(a):n(a)}function l(a){return a===59?(e.consume(a),r):J(a)?(e.consume(a),l):n(a)}}function Gf(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return Q(o)?n(o):t(o)}}function Ri(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||q(e)}function Bi(e){return!J(e)}function ji(e){return!(e===47||Vt(e))}function Vt(e){return e===43||e===45||e===46||e===95||Q(e)}function fn(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}const Yf={tokenize:nh,partial:!0};function Xf(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Zf,continuation:{tokenize:eh},exit:th}},text:{91:{name:"gfmFootnoteCall",tokenize:Jf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Qf,resolveTo:Kf}}}}function Qf(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){l=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!l||!l._balanced)return n(u);const s=se(r.sliceSerialize({start:l.end,end:r.now()}));return s.codePointAt(0)!==94||!o.includes(s.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function Kf(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)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function Jf(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return a;function a(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),u}function u(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(c){if(o>999||c===93&&!l||c===null||c===91||q(c))return n(c);if(c===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(se(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return q(c)||(l=!0),o++,e.consume(c),c===92?f:s}function f(c){return c===91||c===92||c===93?(e.consume(c),o++,s):s(c)}}function Zf(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(m)}function f(m){if(l>999||m===93&&!a||m===null||m===91||q(m))return n(m);if(m===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return o=se(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return q(m)||(a=!0),l++,e.consume(m),m===92?c:f}function c(m){return m===91||m===92||m===93?(e.consume(m),l++,f):f(m)}function p(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),O(e,h,"gfmFootnoteDefinitionWhitespace")):n(m)}function h(m){return t(m)}}function eh(e,t,n){return e.check(Ye,t,e.attempt(Yf,t,n))}function th(e){e.exit("gfmFootnoteDefinition")}function nh(e,t,n){const r=this;return O(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function rh(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,a){let u=-1;for(;++u<l.length;)if(l[u][0]==="enter"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._close){let s=u;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[u][1].end.offset-l[u][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[u][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[u][1].end)},c={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[u][1].start)},p=[["enter",f,a],["enter",l[s][1],a],["exit",l[s][1],a],["enter",c,a]],h=a.parser.constructs.insideSpan.null;h&&re(p,p.length,0,ht(h,l.slice(s+1,u),a)),re(p,p.length,0,[["exit",c,a],["enter",l[u][1],a],["exit",l[u][1],a],["exit",f,a]]),re(l,s-1,u-s+3,p),u=s+p.length-2;break}}for(u=-1;++u<l.length;)l[u][1].type==="strikethroughSequenceTemporary"&&(l[u][1].type="data");return l}function o(l,a,u){const s=this.previous,f=this.events;let c=0;return p;function p(m){return s===126&&f[f.length-1][1].type!=="characterEscape"?u(m):(l.enter("strikethroughSequenceTemporary"),h(m))}function h(m){const y=ve(s);if(m===126)return c>1?u(m):(l.consume(m),c++,h);if(c<2&&!n)return u(m);const C=l.exit("strikethroughSequenceTemporary"),x=ve(m);return C._open=!x||x===2&&!!y,C._close=!y||y===2&&!!x,a(m)}}}class ih{constructor(){this.map=[]}add(t,n,r){lh(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[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 i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function lh(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function oh(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function ah(){return{flow:{null:{name:"table",tokenize:uh,resolveAll:sh}}}}function uh(e,t,n){const r=this;let i=0,o=0,l;return a;function a(k){let F=r.events.length-1;for(;F>-1;){const U=r.events[F][1].type;if(U==="lineEnding"||U==="linePrefix")F--;else break}const P=F>-1?r.events[F][1].type:null,$=P==="tableHead"||P==="tableRow"?S:u;return $===S&&r.parser.lazy[r.now().line]?n(k):$(k)}function u(k){return e.enter("tableHead"),e.enter("tableRow"),s(k)}function s(k){return k===124||(l=!0,o+=1),f(k)}function f(k){return k===null?n(k):T(k)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),h):n(k):N(k)?O(e,f,"whitespace")(k):(o+=1,l&&(l=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),c(k)))}function c(k){return k===null||k===124||q(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?p:c)}function p(k){return k===92||k===124?(e.consume(k),c):c(k)}function h(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),l=!1,N(k)?O(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):m(k))}function m(k){return k===45||k===58?C(k):k===124?(l=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),y):L(k)}function y(k){return N(k)?O(e,C,"whitespace")(k):C(k)}function C(k){return k===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),x):k===45?(o+=1,x(k)):k===null||T(k)?D(k):L(k)}function x(k){return k===45?(e.enter("tableDelimiterFiller"),b(k)):L(k)}function b(k){return k===45?(e.consume(k),b):k===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(k))}function I(k){return N(k)?O(e,D,"whitespace")(k):D(k)}function D(k){return k===124?m(k):k===null||T(k)?!l||i!==o?L(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):L(k)}function L(k){return n(k)}function S(k){return e.enter("tableRow"),_(k)}function _(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),_):k===null||T(k)?(e.exit("tableRow"),t(k)):N(k)?O(e,_,"whitespace")(k):(e.enter("data"),j(k))}function j(k){return k===null||k===124||q(k)?(e.exit("data"),_(k)):(e.consume(k),k===92?v:j)}function v(k){return k===92||k===124?(e.consume(k),j):j(k)}}function sh(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,u=0,s,f,c;const p=new ih;for(;++n<e.length;){const h=e[n],m=h[1];h[0]==="enter"?m.type==="tableHead"?(a=!1,u!==0&&(Sr(p,t,u,s,f),f=void 0,u=0),s={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",s,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,c=void 0,o=[0,0,0,0],l=[0,n+1,0,0],a&&(a=!1,f={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",f,t]])),i=m.type==="tableDelimiterRow"?2:f?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],c=tt(p,t,o,i,void 0,c),o=[0,0,0,0]),l[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],c=tt(p,t,o,i,void 0,c)),o=l,l=[o[1],n,0,0])):m.type==="tableHead"?(a=!0,u=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=n,o[1]!==0?(l[0]=l[1],c=tt(p,t,o,i,n,c)):l[1]!==0&&(c=tt(p,t,l,i,n,c)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(l[3]=n)}for(u!==0&&Sr(p,t,u,s,f),p.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=oh(t.events,n))}return e}function tt(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(o.end=Object.assign({},De(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const u=De(t.events,n[1]);if(o={type:l,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const s=De(t.events,n[2]),f=De(t.events,n[3]),c={type:a,start:Object.assign({},s),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const p=t.events[n[2]],h=t.events[n[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,y=n[3]-n[2]-1;e.add(m,y,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(o.end=Object.assign({},De(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Sr(e,t,n,r,i){const o=[],l=De(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function De(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const ch={name:"tasklistCheck",tokenize:hh};function fh(){return{text:{91:ch}}}function hh(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return q(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),l):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),l):n(u)}function l(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(u)}function a(u){return T(u)?t(u):N(u)?e.check({tokenize:ph},t,n)(u):n(u)}}function ph(e,t,n){return O(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function mh(e){return $r([Bf(),Xf(),rh(e),ah(),fh()])}const gh={};function Dh(e){const t=this,n=e||gh,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(mh(n)),o.push(Of()),l.push(Nf(n))}function dh(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:a,mathText:l,mathTextData:a}};function e(u){const s={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[s]}},u)}function t(){this.buffer()}function n(){const u=this.resume(),s=this.stack[this.stack.length-1];s.type,s.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const s=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f=this.stack[this.stack.length-1];f.type,this.exit(u),f.value=s;const c=f.data.hChildren[0];c.type,c.tagName,c.children.push({type:"text",value:s}),this.data.mathFlowInside=void 0}function o(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function l(u){const s=this.resume(),f=this.stack[this.stack.length-1];f.type,this.exit(u),f.value=s,f.data.hChildren.push({type:"text",value:s})}function a(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function yh(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
32
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,l,a,u){const s=o.value||"",f=a.createTracker(u),c="$".repeat(Math.max(wi(s,"$")+1,2)),p=a.enter("mathFlow");let h=f.move(c);if(o.meta){const m=a.enter("mathFlowMeta");h+=f.move(a.safe(o.meta,{after:`
|
|
33
|
+
`,before:h,encode:["$"],...f.current()})),m()}return h+=f.move(`
|
|
34
|
+
`),s&&(h+=f.move(s+`
|
|
35
|
+
`)),h+=f.move(c),p(),h}function r(o,l,a){let u=o.value||"",s=1;for(t||s++;new RegExp("(^|[^$])"+"\\$".repeat(s)+"([^$]|$)").test(u);)s++;const f="$".repeat(s);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let c=-1;for(;++c<a.unsafe.length;){const p=a.unsafe[c];if(!p.atBreak)continue;const h=a.compilePattern(p);let m;for(;m=h.exec(u);){let y=m.index;u.codePointAt(y)===10&&u.codePointAt(y-1)===13&&y--,u=u.slice(0,y)+" "+u.slice(m.index+1)}}return f+u+f}function i(){return"$"}}const xh={tokenize:kh,concrete:!0,name:"mathFlow"},Cr={tokenize:bh,partial:!0};function kh(e,t,n){const r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let l=0;return a;function a(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(b)}function u(b){return b===36?(e.consume(b),l++,u):l<2?n(b):(e.exit("mathFlowFenceSequence"),O(e,s,"whitespace")(b))}function s(b){return b===null||T(b)?c(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(b))}function f(b){return b===null||T(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),c(b)):b===36?n(b):(e.consume(b),f)}function c(b){return e.exit("mathFlowFence"),r.interrupt?t(b):e.attempt(Cr,p,C)(b)}function p(b){return e.attempt({tokenize:x,partial:!0},C,h)(b)}function h(b){return(o?O(e,m,"linePrefix",o+1):m)(b)}function m(b){return b===null?C(b):T(b)?e.attempt(Cr,p,C)(b):(e.enter("mathFlowValue"),y(b))}function y(b){return b===null||T(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),y)}function C(b){return e.exit("mathFlow"),t(b)}function x(b,I,D){let L=0;return O(b,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function S(v){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),_(v)}function _(v){return v===36?(L++,b.consume(v),_):L<l?D(v):(b.exit("mathFlowFenceSequence"),O(b,j,"whitespace")(v))}function j(v){return v===null||T(v)?(b.exit("mathFlowFence"),I(v)):D(v)}}}function bh(e,t,n){const r=this;return i;function i(l){return l===null?t(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function wh(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:Sh,previous:Ch,name:"mathText"};function r(i,o,l){let a=0,u,s;return f;function f(y){return i.enter("mathText"),i.enter("mathTextSequence"),c(y)}function c(y){return y===36?(i.consume(y),a++,c):a<2&&!n?l(y):(i.exit("mathTextSequence"),p(y))}function p(y){return y===null?l(y):y===36?(s=i.enter("mathTextSequence"),u=0,m(y)):y===32?(i.enter("space"),i.consume(y),i.exit("space"),p):T(y)?(i.enter("lineEnding"),i.consume(y),i.exit("lineEnding"),p):(i.enter("mathTextData"),h(y))}function h(y){return y===null||y===32||y===36||T(y)?(i.exit("mathTextData"),p(y)):(i.consume(y),h)}function m(y){return y===36?(i.consume(y),u++,m):u===a?(i.exit("mathTextSequence"),i.exit("mathText"),o(y)):(s.type="mathTextData",h(y))}}}function Sh(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Ch(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Eh(e){return{flow:{36:xh},text:{36:wh(e)}}}const Ih={};function Lh(e){const t=this,n=e||Ih,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Eh(n)),o.push(dh()),l.push(yh(n))}export{Fh as M,zh as a,Dh as b,Lh as c,Ph as r};
|
|
36
|
+
//# sourceMappingURL=vendor-markdown.js.map
|