@jackuait/blok 0.10.0-beta.6 → 0.10.0-beta.8
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/codemod/migrate-editorjs-to-blok.js +0 -2
- package/codemod/test.js +0 -6
- package/dist/blok.mjs +2 -2
- package/dist/chunks/_basePickBy-DISiGhsr.mjs +410 -0
- package/dist/chunks/_baseUniq-gAuHRtRF.mjs +1045 -0
- package/dist/chunks/_getTag-Aj56Wgor.mjs +26 -0
- package/dist/chunks/arc-D-pL2Ftf.mjs +80 -0
- package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +3 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-DS7mqjL2.mjs +4066 -0
- package/dist/chunks/array-BsrkCVSZ.mjs +6 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-BTtcn4NG.mjs +3259 -0
- package/dist/chunks/{blok-BdlR_lX6.mjs → blok-CRvF-xVm.mjs} +2142 -2171
- package/dist/chunks/c-C6JXJf5K.mjs +5 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs +2956 -0
- package/dist/chunks/ccount-C9Y7nqDe.mjs +10 -0
- package/dist/chunks/channel-Cln-eWE0.mjs +5 -0
- package/dist/chunks/chunk-2KRD3SAO-DkM7qh-k.mjs +20 -0
- package/dist/chunks/chunk-336JU56O-B17AtzlK.mjs +49 -0
- package/dist/chunks/chunk-426QAEUC-D6UAVUog.mjs +13 -0
- package/dist/chunks/chunk-4BX2VUAB-CgIkjF7Z.mjs +19 -0
- package/dist/chunks/chunk-4TB4RGXK-BUP4eON3.mjs +3250 -0
- package/dist/chunks/chunk-55IACEB6-zZ-IgaSt.mjs +8 -0
- package/dist/chunks/chunk-5FUZZQ4R-DsZnJYxM.mjs +3786 -0
- package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +1692 -0
- package/dist/chunks/chunk-67CJDMHE-m0UKdcSH.mjs +20 -0
- package/dist/chunks/chunk-7N4EOEYR-DKNajFZd.mjs +29 -0
- package/dist/chunks/chunk-AA7GKIK3-BeLhNzKa.mjs +24 -0
- package/dist/chunks/chunk-BSJP7CBP-CJExmx8a.mjs +83 -0
- package/dist/chunks/chunk-CIAEETIT-CTikoJ19.mjs +20 -0
- package/dist/chunks/{chunk-Byubey_H.mjs → chunk-D6kmoKXy.mjs} +5 -5
- package/dist/chunks/chunk-EDXVE4YY-DjInnnwb.mjs +26 -0
- package/dist/chunks/chunk-ENJZ2VHE-CIl5FRDA.mjs +566 -0
- package/dist/chunks/chunk-FMBD7UC4-DjV0W7UE.mjs +5 -0
- package/dist/chunks/chunk-FOC6F5B3-LmHCCWYY.mjs +20 -0
- package/dist/chunks/chunk-ICPOFSXX-BHZIN46A.mjs +3290 -0
- package/dist/chunks/chunk-K5T4RW27-BPZ6fFnW.mjs +16370 -0
- package/dist/chunks/chunk-KGLVRYIC-S1OQdW76.mjs +20 -0
- package/dist/chunks/chunk-LIHQZDEY-CjtyJlI6.mjs +55 -0
- package/dist/chunks/chunk-ORNJ4GCN-CdO0hAge.mjs +25 -0
- package/dist/chunks/chunk-OYMX7WX6-ApX8eV4o.mjs +2038 -0
- package/dist/chunks/chunk-QZHKN3VN-BGFuA6-k.mjs +12 -0
- package/dist/chunks/chunk-U2HBQHQK-B88ZUOTL.mjs +1875 -0
- package/dist/chunks/chunk-X2U36JSP-1VS5TyCr.mjs +68 -0
- package/dist/chunks/chunk-XPW4576I-BMupdrvo.mjs +1146 -0
- package/dist/chunks/chunk-YZCP3GAM-BQ7eEsm2.mjs +60 -0
- package/dist/chunks/chunk-ZZ45TVLE-D1xks9zd.mjs +33 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +30 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +30 -0
- package/dist/chunks/clone-Ckjt1LtE.mjs +8 -0
- package/dist/chunks/{constants-Cp8O0UfP.mjs → constants-BOZ5plBi.mjs} +49 -50
- package/dist/chunks/core-Bm6DWt7D.mjs +4501 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-Bpcs2jA_.mjs +2246 -0
- package/dist/chunks/cpp-BdjvAny0.mjs +16 -0
- package/dist/chunks/csharp-YHxeHpeH.mjs +3 -0
- package/dist/chunks/css-DdLevFaX.mjs +3 -0
- package/dist/chunks/cytoscape.esm-BvD8wo00.mjs +18108 -0
- package/dist/chunks/dagre-CGNbYTKq.mjs +1536 -0
- package/dist/chunks/dagre-KV5264BT-DUD9ikgN.mjs +298 -0
- package/dist/chunks/dart-DrPWqfcC.mjs +3 -0
- package/dist/chunks/defaultLocale-ChuSeAxU.mjs +201 -0
- package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +112 -0
- package/dist/chunks/diagram-G4DWMVQ6-CuS0-h95.mjs +546 -0
- package/dist/chunks/diagram-MMDJMWI5-C-AEApYz.mjs +234 -0
- package/dist/chunks/diagram-TYMM5635-CiwAJVMq.mjs +144 -0
- package/dist/chunks/dist-Ctq-pyfb.mjs +59 -0
- package/dist/chunks/dockerfile-C68ALcaN.mjs +3 -0
- package/dist/chunks/engine-javascript-CJpnSvzf.mjs +2373 -0
- package/dist/chunks/erDiagram-SMLLAGMA-DeH5yck2.mjs +1712 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs +4175 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-K-divBg_.mjs +3083 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +3 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-UytPZv72.mjs +792 -0
- package/dist/chunks/go-Fm5N96DN.mjs +3 -0
- package/dist/chunks/graphlib-Cye9EPNq.mjs +223 -0
- package/dist/chunks/graphql-BSnqmqgO.mjs +11 -0
- package/dist/chunks/html-BLNeZvnp.mjs +10 -0
- package/dist/chunks/{i18next-loader-oDO9ZKUV.mjs → i18next-loader-CwsYu0n6.mjs} +2 -2
- package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +3 -0
- package/dist/chunks/infoDiagram-42DDH7IO-DuYnDbF3.mjs +29 -0
- package/dist/chunks/init-C6T-mugb.mjs +15 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs +719 -0
- package/dist/chunks/java-83DWBpzu.mjs +5 -0
- package/dist/chunks/javascript-CBgeF1Xx.mjs +3 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-CD25C4_n.mjs +885 -0
- package/dist/chunks/json-BI17y-1H.mjs +3 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-CTCT6N_p.mjs +980 -0
- package/dist/chunks/{katex-NjLaA6AJ.mjs → katex-CmTPfM0f.mjs} +1 -1
- package/dist/chunks/kotlin-DjnvsrfO.mjs +3 -0
- package/dist/chunks/latex-24n3TcOR.mjs +5 -0
- package/dist/chunks/{lightweight-i18n-DTySD6f6.mjs → lightweight-i18n-Cvv8CWh4.mjs} +13 -0
- package/dist/chunks/line-Dct5pMmw.mjs +34 -0
- package/dist/chunks/linear-BRCpMvtr.mjs +289 -0
- package/dist/chunks/lua-DV0fuZWx.mjs +5 -0
- package/dist/chunks/markdown-BqQYT45f.mjs +3 -0
- package/dist/chunks/{mdast-util-math-yS0EygZV.mjs → mdast-util-math-BlK2Zu-1.mjs} +1 -1
- package/dist/chunks/mermaid-parser.core-CA3DKkuk.mjs +57 -0
- package/dist/chunks/mermaid-vF0cEnZ0.mjs +3 -0
- package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +989 -0
- package/dist/{messages-BYQ769S5.mjs → chunks/messages-8IHf7ZP3.mjs} +26 -1
- package/dist/chunks/{messages-DRv4g-IA.mjs → messages-A_MkXDlG.mjs} +26 -1
- package/dist/chunks/{messages-vN4T4r67.mjs → messages-B0vPBsWq.mjs} +26 -1
- package/dist/chunks/{messages-BDXl53cy2.mjs → messages-B2N4fUi72.mjs} +26 -1
- package/dist/chunks/{messages-DopbvJlg.mjs → messages-B4UMuyjT.mjs} +31 -6
- package/dist/{messages-uCsQjz7M.mjs → chunks/messages-B9kmbUWV.mjs} +26 -1
- package/dist/{messages-JK9Okzsy2.mjs → chunks/messages-BA8Iv99Y2.mjs} +26 -1
- package/dist/chunks/{messages-yszqJukE.mjs → messages-BAsb5CgZ.mjs} +26 -1
- package/dist/{messages-CEEzfqMO2.mjs → chunks/messages-BDZA10kl2.mjs} +29 -4
- package/dist/{messages-BeI2HORe2.mjs → chunks/messages-BE6lHKwf.mjs} +26 -1
- package/dist/{messages--cUQf9JX.mjs → chunks/messages-BQYvBqm2.mjs} +27 -2
- package/dist/{messages-CsiGzUSP2.mjs → chunks/messages-BSghd0ez.mjs} +26 -1
- package/dist/chunks/{messages-BXn9Vzbx2.mjs → messages-BUVhHx0q2.mjs} +26 -1
- package/dist/chunks/{messages-5ArOv8cj.mjs → messages-BVjoM7P0.mjs} +26 -1
- package/dist/chunks/{messages-CvlMT1e62.mjs → messages-BXM80fdr2.mjs} +26 -1
- package/dist/chunks/{messages-BlcRm2I3.mjs → messages-BYlSMRkd.mjs} +26 -1
- package/dist/chunks/{messages-bmwto4UV.mjs → messages-BYxLFj7y.mjs} +26 -1
- package/dist/chunks/{messages-SSDr5fGF2.mjs → messages-BeFqtIrc2.mjs} +26 -1
- package/dist/{messages-CD8K1g_t2.mjs → chunks/messages-Bfnq1xv4.mjs} +26 -1
- package/dist/chunks/{messages-B5fKJXd6.mjs → messages-BhzzNkN-.mjs} +26 -1
- package/dist/{messages-Dq_v7slw2.mjs → chunks/messages-BjadX8jR2.mjs} +26 -1
- package/dist/{messages-x353UCBI.mjs → chunks/messages-Bp8qin1R.mjs} +26 -1
- package/dist/{messages-hrSlVSHp.mjs → chunks/messages-Bphq_Bt3.mjs} +33 -8
- package/dist/chunks/{messages-CF_PfacZ.mjs → messages-Bxvi1ebN.mjs} +26 -1
- package/dist/chunks/{messages-DdmWzF5M.mjs → messages-C0HvoMPb.mjs} +27 -2
- package/dist/chunks/{messages-C5aCWL7B.mjs → messages-C3aX3q0H.mjs} +26 -1
- package/dist/{messages-DbZsJAff.mjs → chunks/messages-C6Mpiacw.mjs} +26 -1
- package/dist/{messages-PvMdmlxI.mjs → chunks/messages-C7VGpihw.mjs} +28 -3
- package/dist/chunks/{messages-DGD6BiGd.mjs → messages-CKBhDGI3.mjs} +28 -3
- package/dist/chunks/{messages-BaoJwsEZ.mjs → messages-COO5xmcA.mjs} +26 -1
- package/dist/chunks/{messages-Dz3UhEco2.mjs → messages-CSJ_zb3a2.mjs} +26 -1
- package/dist/chunks/{messages-CjVPwkVy.mjs → messages-CSL-6xfb2.mjs} +26 -1
- package/dist/{messages-B4lhNMKm2.mjs → chunks/messages-CVdpweyf2.mjs} +28 -3
- package/dist/chunks/{messages-DQ5ng0_t2.mjs → messages-Cdf0W9H02.mjs} +26 -1
- package/dist/{messages-Bug6Du35.mjs → chunks/messages-Ck81cQkn2.mjs} +26 -1
- package/dist/chunks/{messages-DUGEqDEG.mjs → messages-Cmf6NhSC.mjs} +26 -1
- package/dist/chunks/{messages-BMq9k_lI.mjs → messages-Cs81Z_Bh.mjs} +26 -1
- package/dist/{messages-B3Yhiycb2.mjs → chunks/messages-Cu-Wevxs2.mjs} +27 -2
- package/dist/{messages-DIKCwGog.mjs → chunks/messages-D3zojZ94.mjs} +30 -5
- package/dist/{messages-Bdk4ocMI.mjs → chunks/messages-D55HRx5O2.mjs} +26 -1
- package/dist/{messages-CvvbLyTy2.mjs → chunks/messages-D9N2MvQx2.mjs} +26 -1
- package/dist/{messages-C5Uufygq.mjs → chunks/messages-DG-4DPmP.mjs} +26 -1
- package/dist/{messages-C8f1I5EQ2.mjs → chunks/messages-DGL1ySqb2.mjs} +27 -2
- package/dist/chunks/{messages-D8-N0FmU.mjs → messages-DJoNVjqP.mjs} +27 -2
- package/dist/chunks/{messages-CcyIKgGU.mjs → messages-DMVXnAYj.mjs} +30 -5
- package/dist/chunks/{messages-CZ5Sbf8U.mjs → messages-DOuS1Qge.mjs} +26 -1
- package/dist/chunks/{messages-BXSXk3oS2.mjs → messages-DWu1r4gc2.mjs} +28 -3
- package/dist/{messages-KqWQKmIu2.mjs → chunks/messages-DlLXpgWM2.mjs} +27 -2
- package/dist/{messages-DQN1y6E9.mjs → chunks/messages-DlonA3wa.mjs} +28 -3
- package/dist/chunks/{messages-DVKifYlq.mjs → messages-Dr0Ekmbz.mjs} +49 -24
- package/dist/{messages-DACg1XAu.mjs → chunks/messages-DzTk8bJ5.mjs} +26 -1
- package/dist/{messages-BOE2mzCj2.mjs → chunks/messages-FWfsxpBz.mjs} +26 -1
- package/dist/{messages-CBPiFbEf2.mjs → chunks/messages-G416eyjY.mjs} +26 -1
- package/dist/chunks/{messages-DZwCufSb.mjs → messages-Je5YvxiY.mjs} +26 -1
- package/dist/chunks/{messages-DN-194c32.mjs → messages-JyvWu4rf2.mjs} +26 -1
- package/dist/chunks/{messages-CqgEz7C5.mjs → messages-KdawW5Na.mjs} +26 -1
- package/dist/{messages-X80Nh0ib.mjs → chunks/messages-MxpWO1db.mjs} +27 -2
- package/dist/chunks/{messages-CnQydQJd2.mjs → messages-NEqrrYvE2.mjs} +26 -1
- package/dist/{messages-DkvQ-6HC2.mjs → chunks/messages-RInp1ytX.mjs} +28 -3
- package/dist/chunks/{messages-DSO2U-ul.mjs → messages-TRUuyiFB.mjs} +26 -1
- package/dist/chunks/{messages-BhcYsC_M2.mjs → messages-aZcy0JQq2.mjs} +26 -1
- package/dist/chunks/{messages-ByAqzAhB.mjs → messages-iS34FHFB.mjs} +26 -1
- package/dist/{messages-12_eyAo-.mjs → chunks/messages-ihCjSFJI2.mjs} +26 -1
- package/dist/{messages-mipkPgwQ2.mjs → chunks/messages-jfVpL9c-2.mjs} +26 -1
- package/dist/{messages-Cb3wXGnc.mjs → chunks/messages-p1mbe__S.mjs} +27 -2
- package/dist/chunks/{messages-Dgng6KN8.mjs → messages-rCd0Rrw6.mjs} +28 -3
- package/dist/{messages-Dj79y02X.mjs → chunks/messages-xuqyb6Ff2.mjs} +26 -1
- package/dist/chunks/{micromark-extension-math-CCEGWpdz.mjs → micromark-extension-math-BbkUb36G.mjs} +2 -2
- package/dist/chunks/mindmap-definition-QFDTVHPH-hNnyBkEP.mjs +1013 -0
- package/dist/chunks/objectWithoutProperties-D0XxKB4n.mjs +23 -0
- package/dist/chunks/one-light-DmNO_Y4X.mjs +4 -0
- package/dist/chunks/ordinal-B-kolV-i.mjs +65 -0
- package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +3 -0
- package/dist/chunks/path-rIMjg_tH.mjs +85 -0
- package/dist/chunks/php-DmXKyPwJ.mjs +18 -0
- package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +3 -0
- package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +179 -0
- package/dist/chunks/python-DfwfY9t5.mjs +3 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs +1960 -0
- package/dist/chunks/r-BD2D7qEW.mjs +5 -0
- package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +3 -0
- package/dist/chunks/requirementDiagram-MS252O5E-DjWKB42c.mjs +2224 -0
- package/dist/chunks/rough.esm-cmMIcj7N.mjs +1353 -0
- package/dist/chunks/ruby-DdOo03Kg.mjs +33 -0
- package/dist/chunks/rust-DEDueB5R.mjs +3 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-BIN2evSB.mjs +909 -0
- package/dist/chunks/scala-CsjqvxE4.mjs +3 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-CQz2lMoS.mjs +4181 -0
- package/dist/chunks/shellscript-Bh5zEpnQ.mjs +3 -0
- package/dist/chunks/sql-D9CrOi1i.mjs +3 -0
- package/dist/chunks/src-DVJl6f6s.mjs +2149 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +218 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +28 -0
- package/dist/chunks/swift-Dpyt0s2c.mjs +3 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs +1084 -0
- package/dist/chunks/{tools-DGOsJbHH.mjs → tools-CnqCfv2L.mjs} +2116 -1268
- package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +3 -0
- package/dist/chunks/typescript-DO5cd4m8.mjs +5 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-B0DmLQqe.mjs +1876 -0
- package/dist/chunks/vitesse-dark-CcorSKT2.mjs +4 -0
- package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +3 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-CzoKesUw.mjs +594 -0
- package/dist/chunks/xml-g8kXXALs.mjs +5 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-CixwR8r2.mjs +2017 -0
- package/dist/chunks/yaml-CrNNZyLb.mjs +3 -0
- package/dist/cli.mjs +1 -1
- package/dist/full.mjs +3 -3
- package/dist/locales.mjs +80 -67
- package/dist/markdown.mjs +385 -393
- package/dist/{chunks/messages-9l49jauY.mjs → messages-5jvKxQNu2.mjs} +26 -1
- package/dist/{messages-CkySRhtd2.mjs → messages-7QD-X6XT2.mjs} +26 -1
- package/dist/{chunks/messages-Btr121zI2.mjs → messages-96iaAUds2.mjs} +27 -2
- package/dist/{chunks/messages-BAP2OAQk.mjs → messages-B19o-Teb.mjs} +28 -3
- package/dist/{messages-DJU4YLij.mjs → messages-B1ZUQagA.mjs} +26 -1
- package/dist/{messages-Dg2CDXZi2.mjs → messages-B7ieAJBd2.mjs} +26 -1
- package/dist/{messages-CByBLxWk.mjs → messages-BECMxmfX.mjs} +26 -1
- package/dist/{messages-CwCEcbWG.mjs → messages-BIHc0KHY.mjs} +27 -2
- package/dist/{messages-D8WvwU42.mjs → messages-BIoeoik5.mjs} +26 -1
- package/dist/{messages-D38h5XlF.mjs → messages-BJeGJksD.mjs} +26 -1
- package/dist/{messages-Cd23UgLV2.mjs → messages-BRZX964b2.mjs} +27 -2
- package/dist/{chunks/messages-B9N__q552.mjs → messages-BTQPpoM42.mjs} +29 -4
- package/dist/{messages-CUzBNjnc.mjs → messages-BYNcD6uR.mjs} +26 -1
- package/dist/{messages-DjWfVYHS2.mjs → messages-BYmmMDrN2.mjs} +26 -1
- package/dist/{chunks/messages-DkTxBa1V.mjs → messages-BbYq1pk-.mjs} +26 -1
- package/dist/{chunks/messages-BHhbHLoq.mjs → messages-BiUGXvYr2.mjs} +26 -1
- package/dist/{messages-So3SHdIc2.mjs → messages-BiiongNz2.mjs} +26 -1
- package/dist/{chunks/messages-BxBID_0B.mjs → messages-Bm0Feca1.mjs} +30 -5
- package/dist/{messages-C2veeQpU.mjs → messages-BmAn22OX.mjs} +26 -1
- package/dist/{messages-KbYSpNrE.mjs → messages-Bq3F2Tp_.mjs} +26 -1
- package/dist/{chunks/messages-Dux1S0-D2.mjs → messages-BsycN_JI2.mjs} +26 -1
- package/dist/{messages-DRU_IgoW.mjs → messages-BwHs4cm1.mjs} +30 -5
- package/dist/{messages-Cv-DKlZd.mjs → messages-CJTy6JZt.mjs} +26 -1
- package/dist/{chunks/messages-D7n_wJK7.mjs → messages-CR_L_UtK.mjs} +26 -1
- package/dist/{messages-DnhEzmXJ2.mjs → messages-CSUHBs4c2.mjs} +26 -1
- package/dist/{messages-C_HmWyXc2.mjs → messages-CWIXvnDf2.mjs} +26 -1
- package/dist/{messages-KSxF8eib.mjs → messages-CcF4y-E4.mjs} +26 -1
- package/dist/{chunks/messages-CL3mCbi6.mjs → messages-Ce6KVEbT.mjs} +27 -2
- package/dist/{chunks/messages-C-jA6Rf7.mjs → messages-Ci0KqX-J.mjs} +33 -8
- package/dist/{chunks/messages-DMyRdafk2.mjs → messages-CjbnogEC.mjs} +26 -1
- package/dist/{chunks/messages-BlO_37l_.mjs → messages-CmB406HW.mjs} +28 -3
- package/dist/{messages-Cho2VTAX.mjs → messages-CqXtJTpU.mjs} +26 -1
- package/dist/{messages-CWEL1WDy2.mjs → messages-D0aw5_0k2.mjs} +28 -3
- package/dist/{messages-CgEDVri-2.mjs → messages-D8FQWulF2.mjs} +26 -1
- package/dist/{chunks/messages-B5aAzExz.mjs → messages-DBiVgUs2.mjs} +27 -2
- package/dist/{chunks/messages-DYizZHT2.mjs → messages-DIJlIqlQ2.mjs} +26 -1
- package/dist/{messages-BPL7riv-.mjs → messages-DLX_iBDJ.mjs} +26 -1
- package/dist/{messages-vptt-pVF.mjs → messages-DLlc9QPw.mjs} +26 -1
- package/dist/{chunks/messages-876bKyUj2.mjs → messages-DMr62KiO2.mjs} +26 -1
- package/dist/{chunks/messages-CgedvWCf.mjs → messages-DPA-mMWC2.mjs} +27 -2
- package/dist/{messages-vcoib5Ga.mjs → messages-DTh9a8mR.mjs} +26 -1
- package/dist/{chunks/messages-DgEGJECT.mjs → messages-DY4IqlhY.mjs} +26 -1
- package/dist/{chunks/messages-CdzF0Hvl.mjs → messages-DYTTu0O12.mjs} +26 -1
- package/dist/{messages-rbox5gSb2.mjs → messages-DbySKTKt2.mjs} +28 -3
- package/dist/{chunks/messages-BGCQCeWd.mjs → messages-Ddnj2iTG2.mjs} +26 -1
- package/dist/{chunks/messages-CNEJxD8q2.mjs → messages-DkLU_rWm.mjs} +26 -1
- package/dist/{chunks/messages-FYl9woii2.mjs → messages-Dl3Sv6Rq2.mjs} +27 -2
- package/dist/{messages-Clsh86WQ.mjs → messages-Dl5Y2-Ia.mjs} +49 -24
- package/dist/{chunks/messages-CKRJDX0K2.mjs → messages-DnG0ef8t2.mjs} +28 -3
- package/dist/{chunks/messages-CyxDkx8a.mjs → messages-DnGJD4TL.mjs} +26 -1
- package/dist/{chunks/messages-DnJHflSh.mjs → messages-Dnp9N6RU2.mjs} +26 -1
- package/dist/{chunks/messages-Jps5Tc77.mjs → messages-Dvn35ksS.mjs} +26 -1
- package/dist/{messages-ChTWmxS8.mjs → messages-Dw__BcTj.mjs} +26 -1
- package/dist/{messages-D7juvhHp.mjs → messages-Dy-Y_nEI.mjs} +26 -1
- package/dist/{messages-CNNcKuGH.mjs → messages-E_ZuzGDt.mjs} +26 -1
- package/dist/{chunks/messages-DJO0ERQT.mjs → messages-F2xRoY1w.mjs} +26 -1
- package/dist/{messages-DqJTZbwt.mjs → messages-Smt4GBbj.mjs} +31 -6
- package/dist/{chunks/messages-D8dKkyII2.mjs → messages-aMXpHt5X2.mjs} +26 -1
- package/dist/{chunks/messages-DWD0ry9x.mjs → messages-aWZH50vu2.mjs} +28 -3
- package/dist/{chunks/messages-BbfLRqLh2.mjs → messages-dv19AkyJ.mjs} +26 -1
- package/dist/{chunks/messages-Dw2rmKMi2.mjs → messages-hWwSRF-2.mjs} +26 -1
- package/dist/{messages-En8LDjUB.mjs → messages-j7o5rT9s.mjs} +26 -1
- package/dist/{chunks/messages-NJsvFwJj.mjs → messages-nUVjeh7K.mjs} +27 -2
- package/dist/{messages-Cg1CF4pw.mjs → messages-nlhESX9t.mjs} +26 -1
- package/dist/{messages-CSl0Wla62.mjs → messages-rk-A1Wa42.mjs} +28 -3
- package/dist/{messages-nOe1gJYu.mjs → messages-xh2eOLvs.mjs} +26 -1
- package/dist/{messages-B_sKqaeK.mjs → messages-ynAe7ewZ.mjs} +26 -1
- package/dist/react.mjs +26 -25
- package/dist/tools.mjs +2 -2
- package/dist/vendor.LICENSE.txt +4065 -316
- package/package.json +2 -1
- package/src/components/constants/data-attributes.ts +0 -2
- package/src/components/i18n/locales/am/messages.json +26 -1
- package/src/components/i18n/locales/ar/messages.json +26 -1
- package/src/components/i18n/locales/az/messages.json +26 -1
- package/src/components/i18n/locales/bg/messages.json +26 -1
- package/src/components/i18n/locales/bn/messages.json +26 -1
- package/src/components/i18n/locales/bs/messages.json +28 -3
- package/src/components/i18n/locales/cs/messages.json +30 -5
- package/src/components/i18n/locales/da/messages.json +33 -8
- package/src/components/i18n/locales/de/messages.json +31 -6
- package/src/components/i18n/locales/dv/messages.json +26 -1
- package/src/components/i18n/locales/el/messages.json +26 -1
- package/src/components/i18n/locales/en/messages.json +13 -0
- package/src/components/i18n/locales/es/messages.json +27 -2
- package/src/components/i18n/locales/et/messages.json +30 -5
- package/src/components/i18n/locales/fa/messages.json +26 -1
- package/src/components/i18n/locales/fi/messages.json +26 -1
- package/src/components/i18n/locales/fil/messages.json +49 -24
- package/src/components/i18n/locales/fr/messages.json +27 -2
- package/src/components/i18n/locales/gu/messages.json +26 -1
- package/src/components/i18n/locales/he/messages.json +26 -1
- package/src/components/i18n/locales/hi/messages.json +26 -1
- package/src/components/i18n/locales/hr/messages.json +28 -3
- package/src/components/i18n/locales/hu/messages.json +27 -2
- package/src/components/i18n/locales/hy/messages.json +26 -1
- package/src/components/i18n/locales/id/messages.json +26 -1
- package/src/components/i18n/locales/it/messages.json +27 -2
- package/src/components/i18n/locales/ja/messages.json +26 -1
- package/src/components/i18n/locales/ka/messages.json +26 -1
- package/src/components/i18n/locales/km/messages.json +26 -1
- package/src/components/i18n/locales/kn/messages.json +26 -1
- package/src/components/i18n/locales/ko/messages.json +26 -1
- package/src/components/i18n/locales/ku/messages.json +26 -1
- package/src/components/i18n/locales/lo/messages.json +26 -1
- package/src/components/i18n/locales/lt/messages.json +26 -1
- package/src/components/i18n/locales/lv/messages.json +26 -1
- package/src/components/i18n/locales/mk/messages.json +26 -1
- package/src/components/i18n/locales/ml/messages.json +26 -1
- package/src/components/i18n/locales/mn/messages.json +26 -1
- package/src/components/i18n/locales/mr/messages.json +26 -1
- package/src/components/i18n/locales/ms/messages.json +28 -3
- package/src/components/i18n/locales/my/messages.json +26 -1
- package/src/components/i18n/locales/ne/messages.json +26 -1
- package/src/components/i18n/locales/nl/messages.json +28 -3
- package/src/components/i18n/locales/no/messages.json +29 -4
- package/src/components/i18n/locales/pa/messages.json +26 -1
- package/src/components/i18n/locales/pl/messages.json +27 -2
- package/src/components/i18n/locales/ps/messages.json +26 -1
- package/src/components/i18n/locales/pt/messages.json +27 -2
- package/src/components/i18n/locales/ro/messages.json +27 -2
- package/src/components/i18n/locales/ru/messages.json +26 -1
- package/src/components/i18n/locales/sd/messages.json +26 -1
- package/src/components/i18n/locales/si/messages.json +26 -1
- package/src/components/i18n/locales/sk/messages.json +28 -3
- package/src/components/i18n/locales/sl/messages.json +28 -3
- package/src/components/i18n/locales/sq/messages.json +27 -2
- package/src/components/i18n/locales/sr/messages.json +26 -1
- package/src/components/i18n/locales/sv/messages.json +28 -3
- package/src/components/i18n/locales/sw/messages.json +26 -1
- package/src/components/i18n/locales/ta/messages.json +26 -1
- package/src/components/i18n/locales/te/messages.json +26 -1
- package/src/components/i18n/locales/th/messages.json +26 -1
- package/src/components/i18n/locales/tr/messages.json +26 -1
- package/src/components/i18n/locales/ug/messages.json +26 -1
- package/src/components/i18n/locales/uk/messages.json +26 -1
- package/src/components/i18n/locales/ur/messages.json +26 -1
- package/src/components/i18n/locales/vi/messages.json +26 -1
- package/src/components/i18n/locales/yi/messages.json +26 -1
- package/src/components/i18n/locales/zh/messages.json +26 -1
- package/src/components/icons/index.ts +38 -0
- package/src/components/modules/api/ui.ts +0 -3
- package/src/components/modules/ui.ts +0 -13
- package/src/stories/EditorModes.stories.ts +0 -60
- package/src/styles/main.css +44 -2
- package/src/tools/callout/emoji-picker/index.ts +3 -2
- package/src/tools/code/code-keyboard.ts +16 -9
- package/src/tools/code/constants.ts +26 -3
- package/src/tools/code/dom-builder.ts +40 -5
- package/src/tools/code/highlight-applier.ts +229 -0
- package/src/tools/code/index.ts +141 -1
- package/src/tools/code/mermaid-loader.ts +45 -0
- package/src/tools/code/shiki-loader.ts +135 -0
- package/src/tools/table/core/table-commands.ts +16 -0
- package/src/tools/table/core/table-controller.ts +29 -0
- package/src/tools/table/core/table-events.ts +17 -0
- package/src/tools/table/index.ts +194 -11
- package/src/tools/table/table-cell-blocks.ts +9 -6
- package/src/tools/table/table-cell-clipboard.ts +6 -1
- package/src/tools/table/table-cell-placement-picker.ts +133 -0
- package/src/tools/table/table-cell-selection.ts +174 -19
- package/src/tools/table/table-core.ts +321 -113
- package/src/tools/table/table-map.ts +279 -0
- package/src/tools/table/table-model.ts +901 -1
- package/src/tools/table/table-operations.ts +78 -44
- package/src/tools/table/table-resize.ts +19 -17
- package/src/tools/table/table-row-col-drag.ts +24 -10
- package/src/tools/table/types.ts +24 -2
- package/types/data-attributes.d.ts +0 -1
- package/types/tools/code.d.ts +2 -0
- /package/dist/chunks/{am-CS-JjQ0N.mjs → am-BxlkYGsI.mjs} +0 -0
- /package/dist/chunks/{ar-Dt4XzR5U.mjs → ar-9vlpr9V8.mjs} +0 -0
- /package/dist/chunks/{az-CaDTXby8.mjs → az-ON63W_FP.mjs} +0 -0
- /package/dist/chunks/{bg-D1pLog-R.mjs → bg-CtXWTP5w.mjs} +0 -0
- /package/dist/chunks/{bn-Db_ae60m.mjs → bn-BERvhXM4.mjs} +0 -0
- /package/dist/chunks/{bs-DJTg1R9e.mjs → bs-CBg8NVPG.mjs} +0 -0
- /package/dist/chunks/{cs-_Gc21gSL.mjs → cs-DeQddxS7.mjs} +0 -0
- /package/dist/chunks/{da-xDB8uhCd.mjs → da-DyTo-ec_.mjs} +0 -0
- /package/dist/chunks/{de-B6gVjh1Z.mjs → de-Cu7545m1.mjs} +0 -0
- /package/dist/chunks/{default-DIfXCS2E.mjs → default-qigT1Xpq.mjs} +0 -0
- /package/dist/chunks/{el-ClbRSnOs.mjs → el-oiubLRBq.mjs} +0 -0
- /package/dist/chunks/{es-CuY9rnLK.mjs → es-DZUC6Klv.mjs} +0 -0
- /package/dist/chunks/{et-BLu5lDVc.mjs → et-CDeklAog.mjs} +0 -0
- /package/dist/chunks/{fa-P3gnrZH8.mjs → fa-Cafp7_Li.mjs} +0 -0
- /package/dist/chunks/{fi-B8PVHLjq.mjs → fi-BD_V_aVW.mjs} +0 -0
- /package/dist/chunks/{fil-B9JII5iF.mjs → fil-Crsfbtx4.mjs} +0 -0
- /package/dist/chunks/{fr-BWLDZdcc.mjs → fr-BGGc04Zv.mjs} +0 -0
- /package/dist/chunks/{gu-BH3R_s4c.mjs → gu-Vg_BgCTp.mjs} +0 -0
- /package/dist/chunks/{he-CCmeCVR_.mjs → he-DTY9chlZ.mjs} +0 -0
- /package/dist/chunks/{hi-BBav00DN.mjs → hi-DChMXk0x.mjs} +0 -0
- /package/dist/chunks/{hr-B5ZX0r9G.mjs → hr-BWVgNU8k.mjs} +0 -0
- /package/dist/chunks/{hu-1jgDa3YU.mjs → hu-B37awHXA.mjs} +0 -0
- /package/dist/chunks/{hy-LX4Kp2PE.mjs → hy-DGC_GDHh.mjs} +0 -0
- /package/dist/chunks/{i18next-KNC_XV5x.mjs → i18next-CXx5niYF.mjs} +0 -0
- /package/dist/chunks/{id-CcG40D1H.mjs → id-V7cw6La2.mjs} +0 -0
- /package/dist/chunks/{it-Cb8_K72W.mjs → it-DrTGP8Rn.mjs} +0 -0
- /package/dist/chunks/{ja-ipCH91mv.mjs → ja-DS4pbJEG.mjs} +0 -0
- /package/dist/chunks/{ka-BRvREIgq.mjs → ka-BueyosRh.mjs} +0 -0
- /package/dist/chunks/{km-BJwVw7Fg.mjs → km-B0K891yW.mjs} +0 -0
- /package/dist/chunks/{kn-BPgUazCC.mjs → kn-BQ__skg8.mjs} +0 -0
- /package/dist/chunks/{ko-CQLzxe7k.mjs → ko-BuPxi_7e.mjs} +0 -0
- /package/dist/chunks/{ku-BHhHu8Iz.mjs → ku-nQjwPRw2.mjs} +0 -0
- /package/dist/chunks/{lo-DsTgYblY.mjs → lo-K5NVFoq1.mjs} +0 -0
- /package/dist/chunks/{lt-CDzHJm71.mjs → lt-D3xD6Eb2.mjs} +0 -0
- /package/dist/chunks/{lv-MLLIAnIX.mjs → lv-DH13mzZj.mjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-WwmyBO_J.mjs → micromark-factory-space-y4SDWQKm.mjs} +0 -0
- /package/dist/chunks/{mk-DQdmUquZ.mjs → mk-Bb48BcDA.mjs} +0 -0
- /package/dist/chunks/{ml-DqehZnra.mjs → ml-BHPEj1kD.mjs} +0 -0
- /package/dist/chunks/{mn-4cFkKFjW.mjs → mn-BNGzpdI6.mjs} +0 -0
- /package/dist/chunks/{mr-DWiztOP4.mjs → mr-D5PgU-cH.mjs} +0 -0
- /package/dist/chunks/{ms-BSz-iSnc.mjs → ms-DPkxqKz5.mjs} +0 -0
- /package/dist/chunks/{my-DbtbM1MW.mjs → my-DZGcyfxy.mjs} +0 -0
- /package/dist/chunks/{native-CzYG0YgY.mjs → native-D0cfLXsM.mjs} +0 -0
- /package/dist/chunks/{ne-CqALWw_f.mjs → ne-BU_Wh4Wv.mjs} +0 -0
- /package/dist/chunks/{nl-D_ra6RvH.mjs → nl-DtAPk1mK.mjs} +0 -0
- /package/dist/chunks/{no-Cg_kz_jl.mjs → no-CdW3n3BY.mjs} +0 -0
- /package/dist/chunks/{notifier-BOwxj_Ok.mjs → notifier-CuvTt9pe.mjs} +0 -0
- /package/dist/chunks/{pa-NLAsNqwY.mjs → pa-BacCHz87.mjs} +0 -0
- /package/dist/chunks/{pl-NHKp4YDg.mjs → pl-8zBJbmhZ.mjs} +0 -0
- /package/dist/chunks/{ps-D1zEqNeg.mjs → ps-c6nGXD-W.mjs} +0 -0
- /package/dist/chunks/{pt-DBtqbUEB.mjs → pt-B5yR8Qhr.mjs} +0 -0
- /package/dist/chunks/{ro-lqr63ai5.mjs → ro-Nscylsqb.mjs} +0 -0
- /package/dist/chunks/{ru-BycNnDyN.mjs → ru-DxERQkVJ.mjs} +0 -0
- /package/dist/chunks/{sd-DpHpIN9Z.mjs → sd-5z-QY3q9.mjs} +0 -0
- /package/dist/chunks/{si-BwiwaC7N.mjs → si-DTL0mzrx.mjs} +0 -0
- /package/dist/chunks/{sk-CqRHT2Gp.mjs → sk-DrGczTvY.mjs} +0 -0
- /package/dist/chunks/{sl-DA348uQ_.mjs → sl-D8nJjig4.mjs} +0 -0
- /package/dist/chunks/{sq-D7JNgve1.mjs → sq-C74Hm3YL.mjs} +0 -0
- /package/dist/chunks/{sr-D8RK6Kwp.mjs → sr-DAwB05Gj.mjs} +0 -0
- /package/dist/chunks/{sv-dwgT67ZG.mjs → sv-BkHBsN4y.mjs} +0 -0
- /package/dist/chunks/{sw-ZRRJnkem.mjs → sw-BBQLTq_z.mjs} +0 -0
- /package/dist/chunks/{ta-5x4L5Krl.mjs → ta-DRRzdKky.mjs} +0 -0
- /package/dist/chunks/{te-BZpEimwA.mjs → te-CedXLsKM.mjs} +0 -0
- /package/dist/chunks/{th-Bhr-33kv.mjs → th-DDOlGA0W.mjs} +0 -0
- /package/dist/chunks/{tr-6tSNKGNB.mjs → tr-ClgvwOlL.mjs} +0 -0
- /package/dist/chunks/{ug-_e-jvr2b.mjs → ug-bXxwiinM.mjs} +0 -0
- /package/dist/chunks/{uk-DooSc2Ja.mjs → uk-Dp46o_VT.mjs} +0 -0
- /package/dist/chunks/{ur-rb-krkIO.mjs → ur-MfEEhdFq.mjs} +0 -0
- /package/dist/chunks/{vi-CQkLn2AQ.mjs → vi-bt-3LPGO.mjs} +0 -0
- /package/dist/chunks/{zh-CXQ40Q2_.mjs → zh-Dgyb5Ly8.mjs} +0 -0
package/dist/markdown.mjs
CHANGED
|
@@ -1,87 +1,88 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as e } from "./chunks/chunk-D6kmoKXy.mjs";
|
|
2
2
|
import { t } from "./chunks/objectSpread2-CWwMYL_U.mjs";
|
|
3
|
-
import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./chunks/micromark-factory-space-
|
|
4
|
-
import "./chunks/
|
|
3
|
+
import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./chunks/micromark-factory-space-y4SDWQKm.mjs";
|
|
4
|
+
import { t as h } from "./chunks/ccount-C9Y7nqDe.mjs";
|
|
5
|
+
import "./chunks/default-qigT1Xpq.mjs";
|
|
5
6
|
//#region node_modules/mdast-util-to-string/lib/index.js
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
let n = t ||
|
|
9
|
-
return
|
|
7
|
+
var g = {};
|
|
8
|
+
function _(e, t) {
|
|
9
|
+
let n = t || g;
|
|
10
|
+
return v(e, typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, typeof n.includeHtml == "boolean" ? n.includeHtml : !0);
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
-
if (
|
|
12
|
+
function v(e, t, n) {
|
|
13
|
+
if (b(e)) {
|
|
13
14
|
if ("value" in e) return e.type === "html" && !n ? "" : e.value;
|
|
14
15
|
if (t && "alt" in e && e.alt) return e.alt;
|
|
15
|
-
if ("children" in e) return
|
|
16
|
+
if ("children" in e) return y(e.children, t, n);
|
|
16
17
|
}
|
|
17
|
-
return Array.isArray(e) ?
|
|
18
|
+
return Array.isArray(e) ? y(e, t, n) : "";
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function y(e, t, n) {
|
|
20
21
|
let r = [], i = -1;
|
|
21
|
-
for (; ++i < e.length;) r[i] =
|
|
22
|
+
for (; ++i < e.length;) r[i] = v(e[i], t, n);
|
|
22
23
|
return r.join("");
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
+
function b(e) {
|
|
25
26
|
return !!(e && typeof e == "object");
|
|
26
27
|
}
|
|
27
28
|
//#endregion
|
|
28
29
|
//#region node_modules/decode-named-character-reference/index.dom.js
|
|
29
|
-
var
|
|
30
|
-
function
|
|
30
|
+
var x = document.createElement("i");
|
|
31
|
+
function S(e) {
|
|
31
32
|
let t = "&" + e + ";";
|
|
32
|
-
|
|
33
|
-
let n =
|
|
33
|
+
x.innerHTML = t;
|
|
34
|
+
let n = x.textContent;
|
|
34
35
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
35
36
|
}
|
|
36
37
|
//#endregion
|
|
37
38
|
//#region node_modules/micromark-util-chunked/index.js
|
|
38
|
-
function
|
|
39
|
+
function C(e, t, n, r) {
|
|
39
40
|
let i = e.length, a = 0, o;
|
|
40
41
|
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
41
42
|
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
-
return e.length > 0 ? (
|
|
44
|
+
function w(e, t) {
|
|
45
|
+
return e.length > 0 ? (C(e, e.length, 0, t), e) : t;
|
|
45
46
|
}
|
|
46
47
|
//#endregion
|
|
47
48
|
//#region node_modules/micromark-util-combine-extensions/index.js
|
|
48
|
-
var
|
|
49
|
-
function
|
|
49
|
+
var T = {}.hasOwnProperty;
|
|
50
|
+
function E(e) {
|
|
50
51
|
let t = {}, n = -1;
|
|
51
|
-
for (; ++n < e.length;)
|
|
52
|
+
for (; ++n < e.length;) D(t, e[n]);
|
|
52
53
|
return t;
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function D(e, t) {
|
|
55
56
|
let n;
|
|
56
57
|
for (n in t) {
|
|
57
|
-
let r = (
|
|
58
|
+
let r = (T.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
|
|
58
59
|
if (i) for (a in i) {
|
|
59
|
-
|
|
60
|
+
T.call(r, a) || (r[a] = []);
|
|
60
61
|
let e = i[a];
|
|
61
|
-
|
|
62
|
+
O(r[a], Array.isArray(e) ? e : e ? [e] : []);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
function
|
|
66
|
+
function O(e, t) {
|
|
66
67
|
let n = -1, r = [];
|
|
67
68
|
for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
|
|
68
|
-
|
|
69
|
+
C(e, 0, 0, r);
|
|
69
70
|
}
|
|
70
71
|
//#endregion
|
|
71
72
|
//#region node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
72
|
-
function
|
|
73
|
+
function k(e, t) {
|
|
73
74
|
let n = Number.parseInt(e, t);
|
|
74
75
|
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);
|
|
75
76
|
}
|
|
76
77
|
//#endregion
|
|
77
78
|
//#region node_modules/micromark-util-normalize-identifier/index.js
|
|
78
|
-
function
|
|
79
|
+
function A(e) {
|
|
79
80
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
80
81
|
}
|
|
81
82
|
//#endregion
|
|
82
83
|
//#region node_modules/micromark/lib/initialize/content.js
|
|
83
|
-
var
|
|
84
|
-
function
|
|
84
|
+
var j = { tokenize: M };
|
|
85
|
+
function M(e) {
|
|
85
86
|
let t = e.attempt(this.parser.constructs.contentInitial, r, i), n;
|
|
86
87
|
return t;
|
|
87
88
|
function r(n) {
|
|
@@ -111,8 +112,8 @@ function j(e) {
|
|
|
111
112
|
}
|
|
112
113
|
//#endregion
|
|
113
114
|
//#region node_modules/micromark/lib/initialize/document.js
|
|
114
|
-
var
|
|
115
|
-
function
|
|
115
|
+
var N = { tokenize: F }, P = { tokenize: ee };
|
|
116
|
+
function F(e) {
|
|
116
117
|
let n = this, r = [], i = 0, a, o, c;
|
|
117
118
|
return l;
|
|
118
119
|
function l(t) {
|
|
@@ -133,7 +134,7 @@ function P(e) {
|
|
|
133
134
|
y(i);
|
|
134
135
|
let c = r;
|
|
135
136
|
for (; c < n.events.length;) n.events[c][1].end = t({}, s), c++;
|
|
136
|
-
return
|
|
137
|
+
return C(n.events, o + 1, 0, n.events.slice(r)), n.events.length = c, d(e);
|
|
137
138
|
}
|
|
138
139
|
return l(e);
|
|
139
140
|
}
|
|
@@ -143,7 +144,7 @@ function P(e) {
|
|
|
143
144
|
if (a.currentConstruct && a.currentConstruct.concrete) return g(t);
|
|
144
145
|
n.interrupt = !!(a.currentConstruct && !a._gfmTableDynamicInterruptHack);
|
|
145
146
|
}
|
|
146
|
-
return n.containerState = {}, e.check(
|
|
147
|
+
return n.containerState = {}, e.check(P, f, p)(t);
|
|
147
148
|
}
|
|
148
149
|
function f(e) {
|
|
149
150
|
return a && b(), y(i), m(e);
|
|
@@ -152,7 +153,7 @@ function P(e) {
|
|
|
152
153
|
return n.parser.lazy[n.now().line] = i !== r.length, c = n.now().offset, g(e);
|
|
153
154
|
}
|
|
154
155
|
function m(t) {
|
|
155
|
-
return n.containerState = {}, e.attempt(
|
|
156
|
+
return n.containerState = {}, e.attempt(P, h, g)(t);
|
|
156
157
|
}
|
|
157
158
|
function h(e) {
|
|
158
159
|
return i++, r.push([n.currentConstruct, n.containerState]), m(e);
|
|
@@ -189,7 +190,7 @@ function P(e) {
|
|
|
189
190
|
s = !0;
|
|
190
191
|
}
|
|
191
192
|
for (y(i), e = r; e < n.events.length;) n.events[e][1].end = t({}, l), e++;
|
|
192
|
-
|
|
193
|
+
C(n.events, o + 1, 0, n.events.slice(r)), n.events.length = e;
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
196
|
function y(t) {
|
|
@@ -204,7 +205,7 @@ function P(e) {
|
|
|
204
205
|
a.write([null]), o = void 0, a = void 0, n.containerState._closeFlow = void 0;
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
|
-
function
|
|
208
|
+
function ee(e, t, n) {
|
|
208
209
|
return p(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
209
210
|
}
|
|
210
211
|
//#endregion
|
|
@@ -227,10 +228,10 @@ function L(e, t, n) {
|
|
|
227
228
|
//#region node_modules/micromark-core-commonmark/lib/attention.js
|
|
228
229
|
var R = {
|
|
229
230
|
name: "attention",
|
|
230
|
-
resolveAll:
|
|
231
|
-
tokenize:
|
|
231
|
+
resolveAll: te,
|
|
232
|
+
tokenize: z
|
|
232
233
|
};
|
|
233
|
-
function
|
|
234
|
+
function te(e, n) {
|
|
234
235
|
let r = -1, i, a, o, s, c, l, u, d;
|
|
235
236
|
for (; ++r < e.length;) if (e[r][0] === "enter" && e[r][1].type === "attentionSequence" && e[r][1]._close) {
|
|
236
237
|
for (i = r; i--;) if (e[i][0] === "exit" && e[i][1].type === "attentionSequence" && e[i][1]._open && n.sliceSerialize(e[i][1]).charCodeAt(0) === n.sliceSerialize(e[r][1]).charCodeAt(0)) {
|
|
@@ -253,7 +254,7 @@ function z(e, n) {
|
|
|
253
254
|
type: l > 1 ? "strong" : "emphasis",
|
|
254
255
|
start: t({}, s.start),
|
|
255
256
|
end: t({}, c.end)
|
|
256
|
-
}, e[i][1].end = t({}, s.start), e[r][1].start = t({}, c.end), u = [], e[i][1].end.offset - e[i][1].start.offset && (u =
|
|
257
|
+
}, e[i][1].end = t({}, s.start), e[r][1].start = t({}, c.end), u = [], e[i][1].end.offset - e[i][1].start.offset && (u = w(u, [[
|
|
257
258
|
"enter",
|
|
258
259
|
e[i][1],
|
|
259
260
|
n
|
|
@@ -261,7 +262,7 @@ function z(e, n) {
|
|
|
261
262
|
"exit",
|
|
262
263
|
e[i][1],
|
|
263
264
|
n
|
|
264
|
-
]])), u =
|
|
265
|
+
]])), u = w(u, [
|
|
265
266
|
[
|
|
266
267
|
"enter",
|
|
267
268
|
a,
|
|
@@ -282,7 +283,7 @@ function z(e, n) {
|
|
|
282
283
|
o,
|
|
283
284
|
n
|
|
284
285
|
]
|
|
285
|
-
]), u =
|
|
286
|
+
]), u = w(u, L(n.parser.constructs.insideSpan.null, e.slice(i + 1, r), n)), u = w(u, [
|
|
286
287
|
[
|
|
287
288
|
"exit",
|
|
288
289
|
o,
|
|
@@ -303,7 +304,7 @@ function z(e, n) {
|
|
|
303
304
|
a,
|
|
304
305
|
n
|
|
305
306
|
]
|
|
306
|
-
]), e[r][1].end.offset - e[r][1].start.offset ? (d = 2, u =
|
|
307
|
+
]), e[r][1].end.offset - e[r][1].start.offset ? (d = 2, u = w(u, [[
|
|
307
308
|
"enter",
|
|
308
309
|
e[r][1],
|
|
309
310
|
n
|
|
@@ -311,14 +312,14 @@ function z(e, n) {
|
|
|
311
312
|
"exit",
|
|
312
313
|
e[r][1],
|
|
313
314
|
n
|
|
314
|
-
]])) : d = 0,
|
|
315
|
+
]])) : d = 0, C(e, i - 1, r - i + 3, u), r = i + u.length - d - 2;
|
|
315
316
|
break;
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
for (r = -1; ++r < e.length;) e[r][1].type === "attentionSequence" && (e[r][1].type = "data");
|
|
319
320
|
return e;
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function z(e, t) {
|
|
322
323
|
let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = I(r), a;
|
|
323
324
|
return o;
|
|
324
325
|
function o(t) {
|
|
@@ -337,9 +338,9 @@ function B(e, t) {
|
|
|
337
338
|
//#region node_modules/micromark-core-commonmark/lib/autolink.js
|
|
338
339
|
var V = {
|
|
339
340
|
name: "autolink",
|
|
340
|
-
tokenize:
|
|
341
|
+
tokenize: ne
|
|
341
342
|
};
|
|
342
|
-
function
|
|
343
|
+
function ne(e, t, r) {
|
|
343
344
|
let i = 0;
|
|
344
345
|
return a;
|
|
345
346
|
function a(t) {
|
|
@@ -378,9 +379,9 @@ function te(e, t, r) {
|
|
|
378
379
|
//#region node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
379
380
|
var H = {
|
|
380
381
|
partial: !0,
|
|
381
|
-
tokenize:
|
|
382
|
+
tokenize: re
|
|
382
383
|
};
|
|
383
|
-
function
|
|
384
|
+
function re(e, t, n) {
|
|
384
385
|
return r;
|
|
385
386
|
function r(t) {
|
|
386
387
|
return i(t) ? p(e, a, "linePrefix")(t) : a(t);
|
|
@@ -391,13 +392,13 @@ function ne(e, t, n) {
|
|
|
391
392
|
}
|
|
392
393
|
//#endregion
|
|
393
394
|
//#region node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
394
|
-
var
|
|
395
|
-
continuation: { tokenize:
|
|
396
|
-
exit:
|
|
395
|
+
var ie = {
|
|
396
|
+
continuation: { tokenize: oe },
|
|
397
|
+
exit: se,
|
|
397
398
|
name: "blockQuote",
|
|
398
|
-
tokenize:
|
|
399
|
+
tokenize: ae
|
|
399
400
|
};
|
|
400
|
-
function
|
|
401
|
+
function ae(e, t, n) {
|
|
401
402
|
let r = this;
|
|
402
403
|
return a;
|
|
403
404
|
function a(t) {
|
|
@@ -411,26 +412,26 @@ function ie(e, t, n) {
|
|
|
411
412
|
return i(n) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(n), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(n));
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
|
-
function
|
|
415
|
+
function oe(e, t, n) {
|
|
415
416
|
let r = this;
|
|
416
417
|
return a;
|
|
417
418
|
function a(t) {
|
|
418
419
|
return i(t) ? p(e, o, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : o(t);
|
|
419
420
|
}
|
|
420
421
|
function o(r) {
|
|
421
|
-
return e.attempt(
|
|
422
|
+
return e.attempt(ie, t, n)(r);
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
|
-
function
|
|
425
|
+
function se(e) {
|
|
425
426
|
e.exit("blockQuote");
|
|
426
427
|
}
|
|
427
428
|
//#endregion
|
|
428
429
|
//#region node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
429
|
-
var
|
|
430
|
+
var ce = {
|
|
430
431
|
name: "characterEscape",
|
|
431
|
-
tokenize:
|
|
432
|
+
tokenize: le
|
|
432
433
|
};
|
|
433
|
-
function
|
|
434
|
+
function le(e, t, n) {
|
|
434
435
|
return i;
|
|
435
436
|
function i(t) {
|
|
436
437
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(t), e.exit("escapeMarker"), a;
|
|
@@ -441,11 +442,11 @@ function ce(e, t, n) {
|
|
|
441
442
|
}
|
|
442
443
|
//#endregion
|
|
443
444
|
//#region node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
444
|
-
var
|
|
445
|
+
var ue = {
|
|
445
446
|
name: "characterReference",
|
|
446
|
-
tokenize:
|
|
447
|
+
tokenize: de
|
|
447
448
|
};
|
|
448
|
-
function
|
|
449
|
+
function de(e, t, n) {
|
|
449
450
|
let r = this, i = 0, a, o;
|
|
450
451
|
return s;
|
|
451
452
|
function s(t) {
|
|
@@ -460,22 +461,22 @@ function ue(e, t, n) {
|
|
|
460
461
|
function p(s) {
|
|
461
462
|
if (s === 59 && i) {
|
|
462
463
|
let i = e.exit("characterReferenceValue");
|
|
463
|
-
return o === d && !
|
|
464
|
+
return o === d && !S(r.sliceSerialize(i)) ? n(s) : (e.enter("characterReferenceMarker"), e.consume(s), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
464
465
|
}
|
|
465
466
|
return o(s) && i++ < a ? (e.consume(s), p) : n(s);
|
|
466
467
|
}
|
|
467
468
|
}
|
|
468
469
|
//#endregion
|
|
469
470
|
//#region node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
470
|
-
var
|
|
471
|
+
var fe = {
|
|
471
472
|
partial: !0,
|
|
472
|
-
tokenize:
|
|
473
|
-
},
|
|
473
|
+
tokenize: he
|
|
474
|
+
}, pe = {
|
|
474
475
|
concrete: !0,
|
|
475
476
|
name: "codeFenced",
|
|
476
|
-
tokenize:
|
|
477
|
+
tokenize: me
|
|
477
478
|
};
|
|
478
|
-
function
|
|
479
|
+
function me(e, t, n) {
|
|
479
480
|
let r = this, a = {
|
|
480
481
|
partial: !0,
|
|
481
482
|
tokenize: w
|
|
@@ -492,7 +493,7 @@ function pe(e, t, n) {
|
|
|
492
493
|
return t === l ? (c++, e.consume(t), f) : c < 3 ? n(t) : (e.exit("codeFencedFenceSequence"), i(t) ? p(e, m, "whitespace")(t) : m(t));
|
|
493
494
|
}
|
|
494
495
|
function m(n) {
|
|
495
|
-
return n === null || s(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(
|
|
496
|
+
return n === null || s(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(fe, v, C)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), h(n));
|
|
496
497
|
}
|
|
497
498
|
function h(t) {
|
|
498
499
|
return t === null || s(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), m(t)) : i(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(e, g, "whitespace")(t)) : t === 96 && t === l ? n(t) : (e.consume(t), h);
|
|
@@ -513,7 +514,7 @@ function pe(e, t, n) {
|
|
|
513
514
|
return o > 0 && i(t) ? p(e, x, "linePrefix", o + 1)(t) : x(t);
|
|
514
515
|
}
|
|
515
516
|
function x(t) {
|
|
516
|
-
return t === null || s(t) ? e.check(
|
|
517
|
+
return t === null || s(t) ? e.check(fe, v, C)(t) : (e.enter("codeFlowValue"), S(t));
|
|
517
518
|
}
|
|
518
519
|
function S(t) {
|
|
519
520
|
return t === null || s(t) ? (e.exit("codeFlowValue"), x(t)) : (e.consume(t), S);
|
|
@@ -541,7 +542,7 @@ function pe(e, t, n) {
|
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
544
|
}
|
|
544
|
-
function
|
|
545
|
+
function he(e, t, n) {
|
|
545
546
|
let r = this;
|
|
546
547
|
return i;
|
|
547
548
|
function i(t) {
|
|
@@ -553,7 +554,7 @@ function me(e, t, n) {
|
|
|
553
554
|
}
|
|
554
555
|
//#endregion
|
|
555
556
|
//#region node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
556
|
-
var
|
|
557
|
+
var U = {
|
|
557
558
|
name: "codeIndented",
|
|
558
559
|
tokenize: _e
|
|
559
560
|
}, ge = {
|
|
@@ -656,7 +657,7 @@ var Ce = class {
|
|
|
656
657
|
let r = t || 0;
|
|
657
658
|
this.setCursor(Math.trunc(e));
|
|
658
659
|
let i = this.right.splice(this.right.length - r, Infinity);
|
|
659
|
-
return n &&
|
|
660
|
+
return n && W(this.left, n), i.reverse();
|
|
660
661
|
}
|
|
661
662
|
pop() {
|
|
662
663
|
return this.setCursor(Infinity), this.left.pop();
|
|
@@ -665,25 +666,25 @@ var Ce = class {
|
|
|
665
666
|
this.setCursor(Infinity), this.left.push(e);
|
|
666
667
|
}
|
|
667
668
|
pushMany(e) {
|
|
668
|
-
this.setCursor(Infinity),
|
|
669
|
+
this.setCursor(Infinity), W(this.left, e);
|
|
669
670
|
}
|
|
670
671
|
unshift(e) {
|
|
671
672
|
this.setCursor(0), this.right.push(e);
|
|
672
673
|
}
|
|
673
674
|
unshiftMany(e) {
|
|
674
|
-
this.setCursor(0),
|
|
675
|
+
this.setCursor(0), W(this.right, e.reverse());
|
|
675
676
|
}
|
|
676
677
|
setCursor(e) {
|
|
677
678
|
if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0)) if (e < this.left.length) {
|
|
678
679
|
let t = this.left.splice(e, Infinity);
|
|
679
|
-
|
|
680
|
+
W(this.right, t.reverse());
|
|
680
681
|
} else {
|
|
681
682
|
let t = this.right.splice(this.left.length + this.right.length - e, Infinity);
|
|
682
|
-
|
|
683
|
+
W(this.left, t.reverse());
|
|
683
684
|
}
|
|
684
685
|
}
|
|
685
686
|
};
|
|
686
|
-
function
|
|
687
|
+
function W(e, t) {
|
|
687
688
|
let n = 0;
|
|
688
689
|
if (t.length < 1e4) e.push(...t);
|
|
689
690
|
else for (; n < t.length;) e.push(...t.slice(n, n + 1e4)), n += 1e4;
|
|
@@ -702,7 +703,7 @@ function we(e) {
|
|
|
702
703
|
a && (i[1].end = t({}, d.get(a)[1].start), c = d.slice(a, r), c.unshift(i), d.splice(a, r - a + 1, c));
|
|
703
704
|
}
|
|
704
705
|
}
|
|
705
|
-
return
|
|
706
|
+
return C(e, 0, Infinity, d.slice(0)), !u;
|
|
706
707
|
}
|
|
707
708
|
function Te(e, t) {
|
|
708
709
|
let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
|
|
@@ -828,7 +829,7 @@ function Ne(e, t, n, r, i, a) {
|
|
|
828
829
|
}
|
|
829
830
|
//#endregion
|
|
830
831
|
//#region node_modules/micromark-factory-whitespace/index.js
|
|
831
|
-
function
|
|
832
|
+
function G(e, t) {
|
|
832
833
|
let n;
|
|
833
834
|
return r;
|
|
834
835
|
function r(a) {
|
|
@@ -854,10 +855,10 @@ function Ie(e, t, n) {
|
|
|
854
855
|
return Me.call(r, e, l, n, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(t);
|
|
855
856
|
}
|
|
856
857
|
function l(t) {
|
|
857
|
-
return a =
|
|
858
|
+
return a = A(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), u) : n(t);
|
|
858
859
|
}
|
|
859
860
|
function u(t) {
|
|
860
|
-
return m(t) ?
|
|
861
|
+
return m(t) ? G(e, d)(t) : d(t);
|
|
861
862
|
}
|
|
862
863
|
function d(t) {
|
|
863
864
|
return je(e, f, n, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
|
|
@@ -875,7 +876,7 @@ function Ie(e, t, n) {
|
|
|
875
876
|
function Le(e, t, n) {
|
|
876
877
|
return r;
|
|
877
878
|
function r(t) {
|
|
878
|
-
return m(t) ?
|
|
879
|
+
return m(t) ? G(e, a)(t) : n(t);
|
|
879
880
|
}
|
|
880
881
|
function a(t) {
|
|
881
882
|
return Ne(e, o, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
|
|
@@ -920,7 +921,7 @@ function Ve(e, t) {
|
|
|
920
921
|
start: e[r][1].start,
|
|
921
922
|
end: e[n][1].end,
|
|
922
923
|
contentType: "text"
|
|
923
|
-
},
|
|
924
|
+
}, C(e, r, n - r + 1, [
|
|
924
925
|
[
|
|
925
926
|
"enter",
|
|
926
927
|
i,
|
|
@@ -999,13 +1000,13 @@ function Ye(e, t, n) {
|
|
|
999
1000
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(t), g;
|
|
1000
1001
|
}
|
|
1001
1002
|
function g(i) {
|
|
1002
|
-
return i === 33 ? (e.consume(i), _) : i === 47 ? (e.consume(i), o = !0, b) : i === 63 ? (e.consume(i), a = 3, r.interrupt ? t :
|
|
1003
|
+
return i === 33 ? (e.consume(i), _) : i === 47 ? (e.consume(i), o = !0, b) : i === 63 ? (e.consume(i), a = 3, r.interrupt ? t : z) : c(i) ? (e.consume(i), l = String.fromCharCode(i), x) : n(i);
|
|
1003
1004
|
}
|
|
1004
1005
|
function _(i) {
|
|
1005
|
-
return i === 45 ? (e.consume(i), a = 2, v) : i === 91 ? (e.consume(i), a = 5, u = 0, y) : c(i) ? (e.consume(i), a = 4, r.interrupt ? t :
|
|
1006
|
+
return i === 45 ? (e.consume(i), a = 2, v) : i === 91 ? (e.consume(i), a = 5, u = 0, y) : c(i) ? (e.consume(i), a = 4, r.interrupt ? t : z) : n(i);
|
|
1006
1007
|
}
|
|
1007
1008
|
function v(i) {
|
|
1008
|
-
return i === 45 ? (e.consume(i), r.interrupt ? t :
|
|
1009
|
+
return i === 45 ? (e.consume(i), r.interrupt ? t : z) : n(i);
|
|
1009
1010
|
}
|
|
1010
1011
|
function y(i) {
|
|
1011
1012
|
return i === "CDATA[".charCodeAt(u++) ? (e.consume(i), u === 6 ? r.interrupt ? t : N : y) : n(i);
|
|
@@ -1054,40 +1055,40 @@ function Ye(e, t, n) {
|
|
|
1054
1055
|
return t === null || s(t) ? N(t) : i(t) ? (e.consume(t), M) : n(t);
|
|
1055
1056
|
}
|
|
1056
1057
|
function N(t) {
|
|
1057
|
-
return t === 45 && a === 2 ? (e.consume(t),
|
|
1058
|
+
return t === 45 && a === 2 ? (e.consume(t), I) : t === 60 && a === 1 ? (e.consume(t), L) : t === 62 && a === 4 ? (e.consume(t), B) : t === 63 && a === 3 ? (e.consume(t), z) : t === 93 && a === 5 ? (e.consume(t), te) : s(t) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(Ke, V, P)(t)) : t === null || s(t) ? (e.exit("htmlFlowData"), P(t)) : (e.consume(t), N);
|
|
1058
1059
|
}
|
|
1059
1060
|
function P(t) {
|
|
1060
|
-
return e.check(qe, F,
|
|
1061
|
+
return e.check(qe, F, V)(t);
|
|
1061
1062
|
}
|
|
1062
1063
|
function F(t) {
|
|
1063
|
-
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
1064
|
+
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), ee;
|
|
1064
1065
|
}
|
|
1065
|
-
function
|
|
1066
|
+
function ee(t) {
|
|
1066
1067
|
return t === null || s(t) ? P(t) : (e.enter("htmlFlowData"), N(t));
|
|
1067
1068
|
}
|
|
1069
|
+
function I(t) {
|
|
1070
|
+
return t === 45 ? (e.consume(t), z) : N(t);
|
|
1071
|
+
}
|
|
1068
1072
|
function L(t) {
|
|
1069
|
-
return t ===
|
|
1073
|
+
return t === 47 ? (e.consume(t), l = "", R) : N(t);
|
|
1070
1074
|
}
|
|
1071
1075
|
function R(t) {
|
|
1072
|
-
return t === 47 ? (e.consume(t), l = "", z) : N(t);
|
|
1073
|
-
}
|
|
1074
|
-
function z(t) {
|
|
1075
1076
|
if (t === 62) {
|
|
1076
1077
|
let n = l.toLowerCase();
|
|
1077
|
-
return We.includes(n) ? (e.consume(t),
|
|
1078
|
+
return We.includes(n) ? (e.consume(t), B) : N(t);
|
|
1078
1079
|
}
|
|
1079
|
-
return c(t) && l.length < 8 ? (e.consume(t), l += String.fromCharCode(t),
|
|
1080
|
+
return c(t) && l.length < 8 ? (e.consume(t), l += String.fromCharCode(t), R) : N(t);
|
|
1080
1081
|
}
|
|
1081
|
-
function
|
|
1082
|
-
return t === 93 ? (e.consume(t),
|
|
1082
|
+
function te(t) {
|
|
1083
|
+
return t === 93 ? (e.consume(t), z) : N(t);
|
|
1083
1084
|
}
|
|
1084
|
-
function
|
|
1085
|
-
return t === 62 ? (e.consume(t),
|
|
1085
|
+
function z(t) {
|
|
1086
|
+
return t === 62 ? (e.consume(t), B) : t === 45 && a === 2 ? (e.consume(t), z) : N(t);
|
|
1086
1087
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return t === null || s(t) ? (e.exit("htmlFlowData"),
|
|
1088
|
+
function B(t) {
|
|
1089
|
+
return t === null || s(t) ? (e.exit("htmlFlowData"), V(t)) : (e.consume(t), B);
|
|
1089
1090
|
}
|
|
1090
|
-
function
|
|
1091
|
+
function V(n) {
|
|
1091
1092
|
return e.exit("htmlFlow"), t(n);
|
|
1092
1093
|
}
|
|
1093
1094
|
}
|
|
@@ -1129,34 +1130,34 @@ function $e(e, t, n) {
|
|
|
1129
1130
|
return t === 45 ? (e.consume(t), y) : n(t);
|
|
1130
1131
|
}
|
|
1131
1132
|
function _(t) {
|
|
1132
|
-
return t === null ? n(t) : t === 45 ? (e.consume(t), v) : s(t) ? (l = _,
|
|
1133
|
+
return t === null ? n(t) : t === 45 ? (e.consume(t), v) : s(t) ? (l = _, R(t)) : (e.consume(t), _);
|
|
1133
1134
|
}
|
|
1134
1135
|
function v(t) {
|
|
1135
1136
|
return t === 45 ? (e.consume(t), y) : _(t);
|
|
1136
1137
|
}
|
|
1137
1138
|
function y(e) {
|
|
1138
|
-
return e === 62 ?
|
|
1139
|
+
return e === 62 ? L(e) : e === 45 ? v(e) : _(e);
|
|
1139
1140
|
}
|
|
1140
1141
|
function b(t) {
|
|
1141
1142
|
return t === "CDATA[".charCodeAt(o++) ? (e.consume(t), o === 6 ? x : b) : n(t);
|
|
1142
1143
|
}
|
|
1143
1144
|
function x(t) {
|
|
1144
|
-
return t === null ? n(t) : t === 93 ? (e.consume(t), S) : s(t) ? (l = x,
|
|
1145
|
+
return t === null ? n(t) : t === 93 ? (e.consume(t), S) : s(t) ? (l = x, R(t)) : (e.consume(t), x);
|
|
1145
1146
|
}
|
|
1146
1147
|
function S(t) {
|
|
1147
1148
|
return t === 93 ? (e.consume(t), C) : x(t);
|
|
1148
1149
|
}
|
|
1149
1150
|
function C(t) {
|
|
1150
|
-
return t === 62 ?
|
|
1151
|
+
return t === 62 ? L(t) : t === 93 ? (e.consume(t), C) : x(t);
|
|
1151
1152
|
}
|
|
1152
1153
|
function w(t) {
|
|
1153
|
-
return t === null || t === 62 ?
|
|
1154
|
+
return t === null || t === 62 ? L(t) : s(t) ? (l = w, R(t)) : (e.consume(t), w);
|
|
1154
1155
|
}
|
|
1155
1156
|
function T(t) {
|
|
1156
|
-
return t === null ? n(t) : t === 63 ? (e.consume(t), E) : s(t) ? (l = T,
|
|
1157
|
+
return t === null ? n(t) : t === 63 ? (e.consume(t), E) : s(t) ? (l = T, R(t)) : (e.consume(t), T);
|
|
1157
1158
|
}
|
|
1158
1159
|
function E(e) {
|
|
1159
|
-
return e === 62 ?
|
|
1160
|
+
return e === 62 ? L(e) : T(e);
|
|
1160
1161
|
}
|
|
1161
1162
|
function D(t) {
|
|
1162
1163
|
return c(t) ? (e.consume(t), O) : n(t);
|
|
@@ -1165,42 +1166,42 @@ function $e(e, t, n) {
|
|
|
1165
1166
|
return t === 45 || d(t) ? (e.consume(t), O) : k(t);
|
|
1166
1167
|
}
|
|
1167
1168
|
function k(t) {
|
|
1168
|
-
return s(t) ? (l = k,
|
|
1169
|
+
return s(t) ? (l = k, R(t)) : i(t) ? (e.consume(t), k) : L(t);
|
|
1169
1170
|
}
|
|
1170
1171
|
function A(t) {
|
|
1171
1172
|
return t === 45 || d(t) ? (e.consume(t), A) : t === 47 || t === 62 || m(t) ? j(t) : n(t);
|
|
1172
1173
|
}
|
|
1173
1174
|
function j(t) {
|
|
1174
|
-
return t === 47 ? (e.consume(t),
|
|
1175
|
+
return t === 47 ? (e.consume(t), L) : t === 58 || t === 95 || c(t) ? (e.consume(t), M) : s(t) ? (l = j, R(t)) : i(t) ? (e.consume(t), j) : L(t);
|
|
1175
1176
|
}
|
|
1176
1177
|
function M(t) {
|
|
1177
1178
|
return t === 45 || t === 46 || t === 58 || t === 95 || d(t) ? (e.consume(t), M) : N(t);
|
|
1178
1179
|
}
|
|
1179
1180
|
function N(t) {
|
|
1180
|
-
return t === 61 ? (e.consume(t), P) : s(t) ? (l = N,
|
|
1181
|
+
return t === 61 ? (e.consume(t), P) : s(t) ? (l = N, R(t)) : i(t) ? (e.consume(t), N) : j(t);
|
|
1181
1182
|
}
|
|
1182
1183
|
function P(t) {
|
|
1183
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), a = t, F) : s(t) ? (l = P,
|
|
1184
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), a = t, F) : s(t) ? (l = P, R(t)) : i(t) ? (e.consume(t), P) : (e.consume(t), ee);
|
|
1184
1185
|
}
|
|
1185
1186
|
function F(t) {
|
|
1186
|
-
return t === a ? (e.consume(t), a = void 0,
|
|
1187
|
+
return t === a ? (e.consume(t), a = void 0, I) : t === null ? n(t) : s(t) ? (l = F, R(t)) : (e.consume(t), F);
|
|
1187
1188
|
}
|
|
1188
|
-
function
|
|
1189
|
-
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || m(t) ? j(t) : (e.consume(t),
|
|
1189
|
+
function ee(t) {
|
|
1190
|
+
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || m(t) ? j(t) : (e.consume(t), ee);
|
|
1190
1191
|
}
|
|
1191
|
-
function
|
|
1192
|
+
function I(e) {
|
|
1192
1193
|
return e === 47 || e === 62 || m(e) ? j(e) : n(e);
|
|
1193
1194
|
}
|
|
1194
|
-
function
|
|
1195
|
+
function L(r) {
|
|
1195
1196
|
return r === 62 ? (e.consume(r), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(r);
|
|
1196
1197
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
1198
|
+
function R(t) {
|
|
1199
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), te;
|
|
1199
1200
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return i(t) ? p(e,
|
|
1201
|
+
function te(t) {
|
|
1202
|
+
return i(t) ? p(e, z, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : z(t);
|
|
1202
1203
|
}
|
|
1203
|
-
function
|
|
1204
|
+
function z(t) {
|
|
1204
1205
|
return e.enter("htmlTextData"), l(t);
|
|
1205
1206
|
}
|
|
1206
1207
|
}
|
|
@@ -1221,7 +1222,7 @@ function it(e) {
|
|
|
1221
1222
|
r.type = "data", t += e;
|
|
1222
1223
|
}
|
|
1223
1224
|
}
|
|
1224
|
-
return e.length !== n.length &&
|
|
1225
|
+
return e.length !== n.length && C(e, 0, e.length, n), e;
|
|
1225
1226
|
}
|
|
1226
1227
|
function at(e, n) {
|
|
1227
1228
|
let r = e.length, i = 0, a, o, s, c;
|
|
@@ -1255,11 +1256,11 @@ function at(e, n) {
|
|
|
1255
1256
|
"enter",
|
|
1256
1257
|
u,
|
|
1257
1258
|
n
|
|
1258
|
-
]], c =
|
|
1259
|
+
]], c = w(c, e.slice(o + 1, o + i + 3)), c = w(c, [[
|
|
1259
1260
|
"enter",
|
|
1260
1261
|
d,
|
|
1261
1262
|
n
|
|
1262
|
-
]]), c =
|
|
1263
|
+
]]), c = w(c, L(n.parser.constructs.insideSpan.null, e.slice(o + i + 4, s - 3), n)), c = w(c, [
|
|
1263
1264
|
[
|
|
1264
1265
|
"exit",
|
|
1265
1266
|
d,
|
|
@@ -1272,11 +1273,11 @@ function at(e, n) {
|
|
|
1272
1273
|
u,
|
|
1273
1274
|
n
|
|
1274
1275
|
]
|
|
1275
|
-
]), c =
|
|
1276
|
+
]), c = w(c, e.slice(s + 1)), c = w(c, [[
|
|
1276
1277
|
"exit",
|
|
1277
1278
|
l,
|
|
1278
1279
|
n
|
|
1279
|
-
]]),
|
|
1280
|
+
]]), C(e, o, e.length, c), e;
|
|
1280
1281
|
}
|
|
1281
1282
|
function ot(e, t, n) {
|
|
1282
1283
|
let r = this, i = r.events.length, a, o;
|
|
@@ -1286,7 +1287,7 @@ function ot(e, t, n) {
|
|
|
1286
1287
|
}
|
|
1287
1288
|
return s;
|
|
1288
1289
|
function s(t) {
|
|
1289
|
-
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(
|
|
1290
|
+
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(A(r.sliceSerialize({
|
|
1290
1291
|
start: a.end,
|
|
1291
1292
|
end: r.now()
|
|
1292
1293
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(t);
|
|
@@ -1310,13 +1311,13 @@ function st(e, t, n) {
|
|
|
1310
1311
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(t), e.exit("resourceMarker"), i;
|
|
1311
1312
|
}
|
|
1312
1313
|
function i(t) {
|
|
1313
|
-
return m(t) ?
|
|
1314
|
+
return m(t) ? G(e, a)(t) : a(t);
|
|
1314
1315
|
}
|
|
1315
1316
|
function a(t) {
|
|
1316
1317
|
return t === 41 ? u(t) : je(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(t);
|
|
1317
1318
|
}
|
|
1318
1319
|
function o(t) {
|
|
1319
|
-
return m(t) ?
|
|
1320
|
+
return m(t) ? G(e, c)(t) : u(t);
|
|
1320
1321
|
}
|
|
1321
1322
|
function s(e) {
|
|
1322
1323
|
return n(e);
|
|
@@ -1325,7 +1326,7 @@ function st(e, t, n) {
|
|
|
1325
1326
|
return t === 34 || t === 39 || t === 40 ? Ne(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(t) : u(t);
|
|
1326
1327
|
}
|
|
1327
1328
|
function l(t) {
|
|
1328
|
-
return m(t) ?
|
|
1329
|
+
return m(t) ? G(e, u)(t) : u(t);
|
|
1329
1330
|
}
|
|
1330
1331
|
function u(r) {
|
|
1331
1332
|
return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), t) : n(r);
|
|
@@ -1338,7 +1339,7 @@ function ct(e, t, n) {
|
|
|
1338
1339
|
return Me.call(r, e, a, o, "reference", "referenceMarker", "referenceString")(t);
|
|
1339
1340
|
}
|
|
1340
1341
|
function a(e) {
|
|
1341
|
-
return r.parser.defined.includes(
|
|
1342
|
+
return r.parser.defined.includes(A(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(e) : n(e);
|
|
1342
1343
|
}
|
|
1343
1344
|
function o(e) {
|
|
1344
1345
|
return n(e);
|
|
@@ -1428,7 +1429,7 @@ function _t(e, t, n) {
|
|
|
1428
1429
|
}
|
|
1429
1430
|
//#endregion
|
|
1430
1431
|
//#region node_modules/micromark-core-commonmark/lib/list.js
|
|
1431
|
-
var
|
|
1432
|
+
var K = {
|
|
1432
1433
|
continuation: { tokenize: xt },
|
|
1433
1434
|
exit: Ct,
|
|
1434
1435
|
name: "list",
|
|
@@ -1477,7 +1478,7 @@ function xt(e, t, n) {
|
|
|
1477
1478
|
return r.containerState.furtherBlankLines || !i(n) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, s(n)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(yt, t, s)(n));
|
|
1478
1479
|
}
|
|
1479
1480
|
function s(i) {
|
|
1480
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0, p(e, e.attempt(
|
|
1481
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, p(e, e.attempt(K, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i);
|
|
1481
1482
|
}
|
|
1482
1483
|
}
|
|
1483
1484
|
function St(e, t, n) {
|
|
@@ -1674,24 +1675,24 @@ var It = /* @__PURE__ */ e({
|
|
|
1674
1675
|
string: () => Vt,
|
|
1675
1676
|
text: () => Ht
|
|
1676
1677
|
}), Lt = {
|
|
1677
|
-
42:
|
|
1678
|
-
43:
|
|
1679
|
-
45:
|
|
1680
|
-
48:
|
|
1681
|
-
49:
|
|
1682
|
-
50:
|
|
1683
|
-
51:
|
|
1684
|
-
52:
|
|
1685
|
-
53:
|
|
1686
|
-
54:
|
|
1687
|
-
55:
|
|
1688
|
-
56:
|
|
1689
|
-
57:
|
|
1690
|
-
62:
|
|
1678
|
+
42: K,
|
|
1679
|
+
43: K,
|
|
1680
|
+
45: K,
|
|
1681
|
+
48: K,
|
|
1682
|
+
49: K,
|
|
1683
|
+
50: K,
|
|
1684
|
+
51: K,
|
|
1685
|
+
52: K,
|
|
1686
|
+
53: K,
|
|
1687
|
+
54: K,
|
|
1688
|
+
55: K,
|
|
1689
|
+
56: K,
|
|
1690
|
+
57: K,
|
|
1691
|
+
62: ie
|
|
1691
1692
|
}, Rt = { 91: Pe }, zt = {
|
|
1692
|
-
[-2]:
|
|
1693
|
-
[-1]:
|
|
1694
|
-
32:
|
|
1693
|
+
[-2]: U,
|
|
1694
|
+
[-1]: U,
|
|
1695
|
+
32: U
|
|
1695
1696
|
}, Bt = {
|
|
1696
1697
|
35: Be,
|
|
1697
1698
|
42: gt,
|
|
@@ -1699,21 +1700,21 @@ var It = /* @__PURE__ */ e({
|
|
|
1699
1700
|
60: Ge,
|
|
1700
1701
|
61: Tt,
|
|
1701
1702
|
95: gt,
|
|
1702
|
-
96:
|
|
1703
|
-
126:
|
|
1703
|
+
96: pe,
|
|
1704
|
+
126: pe
|
|
1704
1705
|
}, Vt = {
|
|
1705
|
-
38:
|
|
1706
|
-
92:
|
|
1706
|
+
38: ue,
|
|
1707
|
+
92: ce
|
|
1707
1708
|
}, Ht = {
|
|
1708
1709
|
[-5]: mt,
|
|
1709
1710
|
[-4]: mt,
|
|
1710
1711
|
[-3]: mt,
|
|
1711
1712
|
33: ut,
|
|
1712
|
-
38:
|
|
1713
|
+
38: ue,
|
|
1713
1714
|
42: R,
|
|
1714
1715
|
60: [V, Qe],
|
|
1715
1716
|
91: ft,
|
|
1716
|
-
92: [Re,
|
|
1717
|
+
92: [Re, ce],
|
|
1717
1718
|
93: et,
|
|
1718
1719
|
95: R,
|
|
1719
1720
|
96: ye
|
|
@@ -1728,7 +1729,7 @@ function Kt(e, t, n) {
|
|
|
1728
1729
|
column: n && n.column || 1,
|
|
1729
1730
|
offset: n && n.offset || 0
|
|
1730
1731
|
}, i = {}, a = [], o = [], c = [], l = {
|
|
1731
|
-
attempt: E(
|
|
1732
|
+
attempt: E(S),
|
|
1732
1733
|
check: E(T),
|
|
1733
1734
|
consume: y,
|
|
1734
1735
|
enter: b,
|
|
@@ -1748,7 +1749,7 @@ function Kt(e, t, n) {
|
|
|
1748
1749
|
}, d = t.tokenize.call(u, l);
|
|
1749
1750
|
return t.resolveAll && a.push(t), u;
|
|
1750
1751
|
function f(e) {
|
|
1751
|
-
return o =
|
|
1752
|
+
return o = w(o, e), _(), o[o.length - 1] === null ? (D(t, 0), u.events = L(a, u.events, u), u.events) : [];
|
|
1752
1753
|
}
|
|
1753
1754
|
function p(e, t) {
|
|
1754
1755
|
return Jt(m(e), t);
|
|
@@ -1799,7 +1800,7 @@ function Kt(e, t, n) {
|
|
|
1799
1800
|
u
|
|
1800
1801
|
]), t;
|
|
1801
1802
|
}
|
|
1802
|
-
function
|
|
1803
|
+
function S(e, t) {
|
|
1803
1804
|
D(e, t.from);
|
|
1804
1805
|
}
|
|
1805
1806
|
function T(e, t) {
|
|
@@ -1835,7 +1836,7 @@ function Kt(e, t, n) {
|
|
|
1835
1836
|
}
|
|
1836
1837
|
}
|
|
1837
1838
|
function D(e, t) {
|
|
1838
|
-
e.resolveAll && !a.includes(e) && a.push(e), e.resolve &&
|
|
1839
|
+
e.resolveAll && !a.includes(e) && a.push(e), e.resolve && C(u.events, t, u.events.length - t, e.resolve(u.events.slice(t), u)), e.resolveTo && (u.events = e.resolveTo(u.events, u));
|
|
1839
1840
|
}
|
|
1840
1841
|
function O() {
|
|
1841
1842
|
let e = h(), t = u.previous, n = u.currentConstruct, i = u.events.length, a = Array.from(c);
|
|
@@ -1895,10 +1896,10 @@ function Jt(e, t) {
|
|
|
1895
1896
|
//#region node_modules/micromark/lib/parse.js
|
|
1896
1897
|
function Yt(e) {
|
|
1897
1898
|
let t = {
|
|
1898
|
-
constructs:
|
|
1899
|
-
content: n(
|
|
1899
|
+
constructs: E([It, ...(e || {}).extensions || []]),
|
|
1900
|
+
content: n(j),
|
|
1900
1901
|
defined: [],
|
|
1901
|
-
document: n(
|
|
1902
|
+
document: n(N),
|
|
1902
1903
|
flow: n(Ot),
|
|
1903
1904
|
lazy: {},
|
|
1904
1905
|
string: n(jt),
|
|
@@ -1959,9 +1960,9 @@ function tn(e, t, n) {
|
|
|
1959
1960
|
if (t) return t;
|
|
1960
1961
|
if (n.charCodeAt(0) === 35) {
|
|
1961
1962
|
let e = n.charCodeAt(1), t = e === 120 || e === 88;
|
|
1962
|
-
return
|
|
1963
|
+
return k(n.slice(t ? 2 : 1), t ? 16 : 10);
|
|
1963
1964
|
}
|
|
1964
|
-
return
|
|
1965
|
+
return S(n) || e;
|
|
1965
1966
|
}
|
|
1966
1967
|
//#endregion
|
|
1967
1968
|
//#region node_modules/unist-util-stringify-position/lib/index.js
|
|
@@ -1994,7 +1995,7 @@ function ln(e) {
|
|
|
1994
1995
|
"strong"
|
|
1995
1996
|
],
|
|
1996
1997
|
enter: {
|
|
1997
|
-
autolink: a(
|
|
1998
|
+
autolink: a(U),
|
|
1998
1999
|
autolinkProtocol: D,
|
|
1999
2000
|
autolinkEmail: D,
|
|
2000
2001
|
atxHeading: a(fe),
|
|
@@ -2022,19 +2023,19 @@ function ln(e) {
|
|
|
2022
2023
|
htmlTextData: D,
|
|
2023
2024
|
image: a(he),
|
|
2024
2025
|
label: o,
|
|
2025
|
-
link: a(
|
|
2026
|
-
listItem: a(
|
|
2026
|
+
link: a(U),
|
|
2027
|
+
listItem: a(_e),
|
|
2027
2028
|
listItemValue: f,
|
|
2028
|
-
listOrdered: a(
|
|
2029
|
-
listUnordered: a(
|
|
2030
|
-
paragraph: a(
|
|
2031
|
-
reference:
|
|
2029
|
+
listOrdered: a(ge, d),
|
|
2030
|
+
listUnordered: a(ge),
|
|
2031
|
+
paragraph: a(ve),
|
|
2032
|
+
reference: V,
|
|
2032
2033
|
referenceString: o,
|
|
2033
2034
|
resourceDestinationString: o,
|
|
2034
2035
|
resourceTitleString: o,
|
|
2035
2036
|
setextHeading: a(fe),
|
|
2036
|
-
strong: a(
|
|
2037
|
-
thematicBreak: a(
|
|
2037
|
+
strong: a(ye),
|
|
2038
|
+
thematicBreak: a(xe)
|
|
2038
2039
|
},
|
|
2039
2040
|
exit: {
|
|
2040
2041
|
atxHeading: c(),
|
|
@@ -2043,44 +2044,44 @@ function ln(e) {
|
|
|
2043
2044
|
autolinkEmail: oe,
|
|
2044
2045
|
autolinkProtocol: ae,
|
|
2045
2046
|
blockQuote: c(),
|
|
2046
|
-
characterEscapeValue:
|
|
2047
|
-
characterReferenceMarkerHexadecimal:
|
|
2048
|
-
characterReferenceMarkerNumeric:
|
|
2047
|
+
characterEscapeValue: O,
|
|
2048
|
+
characterReferenceMarkerHexadecimal: H,
|
|
2049
|
+
characterReferenceMarkerNumeric: H,
|
|
2049
2050
|
characterReferenceValue: re,
|
|
2050
2051
|
characterReference: ie,
|
|
2051
|
-
codeFenced: c(
|
|
2052
|
+
codeFenced: c(g),
|
|
2052
2053
|
codeFencedFence: h,
|
|
2053
2054
|
codeFencedFenceInfo: p,
|
|
2054
2055
|
codeFencedFenceMeta: m,
|
|
2055
|
-
codeFlowValue:
|
|
2056
|
+
codeFlowValue: O,
|
|
2056
2057
|
codeIndented: c(v),
|
|
2057
2058
|
codeText: c(F),
|
|
2058
|
-
codeTextData:
|
|
2059
|
-
data:
|
|
2059
|
+
codeTextData: O,
|
|
2060
|
+
data: O,
|
|
2060
2061
|
definition: c(),
|
|
2061
|
-
definitionDestinationString:
|
|
2062
|
+
definitionDestinationString: x,
|
|
2062
2063
|
definitionLabelString: y,
|
|
2063
2064
|
definitionTitleString: b,
|
|
2064
2065
|
emphasis: c(),
|
|
2065
2066
|
hardBreakEscape: c(M),
|
|
2066
2067
|
hardBreakTrailing: c(M),
|
|
2067
2068
|
htmlFlow: c(N),
|
|
2068
|
-
htmlFlowData:
|
|
2069
|
+
htmlFlowData: O,
|
|
2069
2070
|
htmlText: c(P),
|
|
2070
|
-
htmlTextData:
|
|
2071
|
-
image: c(
|
|
2072
|
-
label:
|
|
2073
|
-
labelText:
|
|
2071
|
+
htmlTextData: O,
|
|
2072
|
+
image: c(I),
|
|
2073
|
+
label: R,
|
|
2074
|
+
labelText: L,
|
|
2074
2075
|
lineEnding: j,
|
|
2075
|
-
link: c(
|
|
2076
|
+
link: c(ee),
|
|
2076
2077
|
listItem: c(),
|
|
2077
2078
|
listOrdered: c(),
|
|
2078
2079
|
listUnordered: c(),
|
|
2079
2080
|
paragraph: c(),
|
|
2080
|
-
referenceString:
|
|
2081
|
-
resourceDestinationString:
|
|
2082
|
-
resourceTitleString:
|
|
2083
|
-
resource:
|
|
2081
|
+
referenceString: ne,
|
|
2082
|
+
resourceDestinationString: te,
|
|
2083
|
+
resourceTitleString: z,
|
|
2084
|
+
resource: B,
|
|
2084
2085
|
setextHeading: c(E),
|
|
2085
2086
|
setextHeadingLineSequence: T,
|
|
2086
2087
|
setextHeadingText: w,
|
|
@@ -2115,12 +2116,12 @@ function ln(e) {
|
|
|
2115
2116
|
(e[1] || fn).call(a, void 0, e[0]);
|
|
2116
2117
|
}
|
|
2117
2118
|
for (r.position = {
|
|
2118
|
-
start:
|
|
2119
|
+
start: q(e.length > 0 ? e[0][1].start : {
|
|
2119
2120
|
line: 1,
|
|
2120
2121
|
column: 1,
|
|
2121
2122
|
offset: 0
|
|
2122
2123
|
}),
|
|
2123
|
-
end:
|
|
2124
|
+
end: q(e.length > 0 ? e[e.length - 2][1].end : {
|
|
2124
2125
|
line: 1,
|
|
2125
2126
|
column: 1,
|
|
2126
2127
|
offset: 0
|
|
@@ -2195,7 +2196,7 @@ function ln(e) {
|
|
|
2195
2196
|
}
|
|
2196
2197
|
function s(e, t, n) {
|
|
2197
2198
|
this.stack[this.stack.length - 1].children.push(e), this.stack.push(e), this.tokenStack.push([t, n || void 0]), e.position = {
|
|
2198
|
-
start:
|
|
2199
|
+
start: q(t.start),
|
|
2199
2200
|
end: void 0
|
|
2200
2201
|
};
|
|
2201
2202
|
}
|
|
@@ -2212,10 +2213,10 @@ function ln(e) {
|
|
|
2212
2213
|
start: e.start,
|
|
2213
2214
|
end: e.end
|
|
2214
2215
|
}) + "): it’s not open");
|
|
2215
|
-
n.position.end =
|
|
2216
|
+
n.position.end = q(e.end);
|
|
2216
2217
|
}
|
|
2217
2218
|
function u() {
|
|
2218
|
-
return
|
|
2219
|
+
return _(this.stack.pop());
|
|
2219
2220
|
}
|
|
2220
2221
|
function d() {
|
|
2221
2222
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -2237,7 +2238,7 @@ function ln(e) {
|
|
|
2237
2238
|
function h() {
|
|
2238
2239
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
2239
2240
|
}
|
|
2240
|
-
function
|
|
2241
|
+
function g() {
|
|
2241
2242
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2242
2243
|
t.value = e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
2243
2244
|
}
|
|
@@ -2247,13 +2248,13 @@ function ln(e) {
|
|
|
2247
2248
|
}
|
|
2248
2249
|
function y(e) {
|
|
2249
2250
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
2250
|
-
n.label = t, n.identifier =
|
|
2251
|
+
n.label = t, n.identifier = A(this.sliceSerialize(e)).toLowerCase();
|
|
2251
2252
|
}
|
|
2252
2253
|
function b() {
|
|
2253
2254
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2254
2255
|
t.title = e;
|
|
2255
2256
|
}
|
|
2256
|
-
function
|
|
2257
|
+
function x() {
|
|
2257
2258
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2258
2259
|
t.url = e;
|
|
2259
2260
|
}
|
|
@@ -2273,23 +2274,23 @@ function ln(e) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
function D(e) {
|
|
2275
2276
|
let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
|
|
2276
|
-
(!n || n.type !== "text") && (n =
|
|
2277
|
-
start:
|
|
2277
|
+
(!n || n.type !== "text") && (n = be(), n.position = {
|
|
2278
|
+
start: q(e.start),
|
|
2278
2279
|
end: void 0
|
|
2279
2280
|
}, t.push(n)), this.stack.push(n);
|
|
2280
2281
|
}
|
|
2281
|
-
function
|
|
2282
|
+
function O(e) {
|
|
2282
2283
|
let t = this.stack.pop();
|
|
2283
|
-
t.value += this.sliceSerialize(e), t.position.end =
|
|
2284
|
+
t.value += this.sliceSerialize(e), t.position.end = q(e.end);
|
|
2284
2285
|
}
|
|
2285
2286
|
function j(e) {
|
|
2286
2287
|
let n = this.stack[this.stack.length - 1];
|
|
2287
2288
|
if (this.data.atHardBreak) {
|
|
2288
2289
|
let t = n.children[n.children.length - 1];
|
|
2289
|
-
t.position.end =
|
|
2290
|
+
t.position.end = q(e.end), this.data.atHardBreak = void 0;
|
|
2290
2291
|
return;
|
|
2291
2292
|
}
|
|
2292
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (D.call(this, e),
|
|
2293
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (D.call(this, e), O.call(this, e));
|
|
2293
2294
|
}
|
|
2294
2295
|
function M() {
|
|
2295
2296
|
this.data.atHardBreak = !0;
|
|
@@ -2306,7 +2307,7 @@ function ln(e) {
|
|
|
2306
2307
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2307
2308
|
t.value = e;
|
|
2308
2309
|
}
|
|
2309
|
-
function
|
|
2310
|
+
function ee() {
|
|
2310
2311
|
let e = this.stack[this.stack.length - 1];
|
|
2311
2312
|
if (this.data.inReference) {
|
|
2312
2313
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -2314,7 +2315,7 @@ function ln(e) {
|
|
|
2314
2315
|
} else delete e.identifier, delete e.label;
|
|
2315
2316
|
this.data.referenceType = void 0;
|
|
2316
2317
|
}
|
|
2317
|
-
function
|
|
2318
|
+
function I() {
|
|
2318
2319
|
let e = this.stack[this.stack.length - 1];
|
|
2319
2320
|
if (this.data.inReference) {
|
|
2320
2321
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -2322,52 +2323,52 @@ function ln(e) {
|
|
|
2322
2323
|
} else delete e.identifier, delete e.label;
|
|
2323
2324
|
this.data.referenceType = void 0;
|
|
2324
2325
|
}
|
|
2325
|
-
function
|
|
2326
|
+
function L(e) {
|
|
2326
2327
|
let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
|
|
2327
|
-
n.label = en(t), n.identifier =
|
|
2328
|
+
n.label = en(t), n.identifier = A(t).toLowerCase();
|
|
2328
2329
|
}
|
|
2329
|
-
function
|
|
2330
|
+
function R() {
|
|
2330
2331
|
let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
2331
2332
|
this.data.inReference = !0, n.type === "link" ? n.children = e.children : n.alt = t;
|
|
2332
2333
|
}
|
|
2333
|
-
function
|
|
2334
|
+
function te() {
|
|
2334
2335
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2335
2336
|
t.url = e;
|
|
2336
2337
|
}
|
|
2337
|
-
function
|
|
2338
|
+
function z() {
|
|
2338
2339
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
2339
2340
|
t.title = e;
|
|
2340
2341
|
}
|
|
2341
|
-
function
|
|
2342
|
+
function B() {
|
|
2342
2343
|
this.data.inReference = void 0;
|
|
2343
2344
|
}
|
|
2344
|
-
function
|
|
2345
|
+
function V() {
|
|
2345
2346
|
this.data.referenceType = "collapsed";
|
|
2346
2347
|
}
|
|
2347
|
-
function
|
|
2348
|
+
function ne(e) {
|
|
2348
2349
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
2349
|
-
n.label = t, n.identifier =
|
|
2350
|
+
n.label = t, n.identifier = A(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
|
|
2350
2351
|
}
|
|
2351
|
-
function
|
|
2352
|
+
function H(e) {
|
|
2352
2353
|
this.data.characterReferenceType = e.type;
|
|
2353
2354
|
}
|
|
2354
2355
|
function re(e) {
|
|
2355
2356
|
let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
|
|
2356
|
-
n ? (r =
|
|
2357
|
+
n ? (r = k(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = S(t);
|
|
2357
2358
|
let i = this.stack[this.stack.length - 1];
|
|
2358
2359
|
i.value += r;
|
|
2359
2360
|
}
|
|
2360
2361
|
function ie(e) {
|
|
2361
2362
|
let t = this.stack.pop();
|
|
2362
|
-
t.position.end =
|
|
2363
|
+
t.position.end = q(e.end);
|
|
2363
2364
|
}
|
|
2364
2365
|
function ae(e) {
|
|
2365
|
-
|
|
2366
|
+
O.call(this, e);
|
|
2366
2367
|
let t = this.stack[this.stack.length - 1];
|
|
2367
2368
|
t.url = this.sliceSerialize(e);
|
|
2368
2369
|
}
|
|
2369
2370
|
function oe(e) {
|
|
2370
|
-
|
|
2371
|
+
O.call(this, e);
|
|
2371
2372
|
let t = this.stack[this.stack.length - 1];
|
|
2372
2373
|
t.url = "mailto:" + this.sliceSerialize(e);
|
|
2373
2374
|
}
|
|
@@ -2430,7 +2431,7 @@ function ln(e) {
|
|
|
2430
2431
|
alt: null
|
|
2431
2432
|
};
|
|
2432
2433
|
}
|
|
2433
|
-
function
|
|
2434
|
+
function U() {
|
|
2434
2435
|
return {
|
|
2435
2436
|
type: "link",
|
|
2436
2437
|
title: null,
|
|
@@ -2438,7 +2439,7 @@ function ln(e) {
|
|
|
2438
2439
|
children: []
|
|
2439
2440
|
};
|
|
2440
2441
|
}
|
|
2441
|
-
function
|
|
2442
|
+
function ge(e) {
|
|
2442
2443
|
return {
|
|
2443
2444
|
type: "list",
|
|
2444
2445
|
ordered: e.type === "listOrdered",
|
|
@@ -2447,7 +2448,7 @@ function ln(e) {
|
|
|
2447
2448
|
children: []
|
|
2448
2449
|
};
|
|
2449
2450
|
}
|
|
2450
|
-
function
|
|
2451
|
+
function _e(e) {
|
|
2451
2452
|
return {
|
|
2452
2453
|
type: "listItem",
|
|
2453
2454
|
spread: e._spread,
|
|
@@ -2455,29 +2456,29 @@ function ln(e) {
|
|
|
2455
2456
|
children: []
|
|
2456
2457
|
};
|
|
2457
2458
|
}
|
|
2458
|
-
function
|
|
2459
|
+
function ve() {
|
|
2459
2460
|
return {
|
|
2460
2461
|
type: "paragraph",
|
|
2461
2462
|
children: []
|
|
2462
2463
|
};
|
|
2463
2464
|
}
|
|
2464
|
-
function
|
|
2465
|
+
function ye() {
|
|
2465
2466
|
return {
|
|
2466
2467
|
type: "strong",
|
|
2467
2468
|
children: []
|
|
2468
2469
|
};
|
|
2469
2470
|
}
|
|
2470
|
-
function
|
|
2471
|
+
function be() {
|
|
2471
2472
|
return {
|
|
2472
2473
|
type: "text",
|
|
2473
2474
|
value: ""
|
|
2474
2475
|
};
|
|
2475
2476
|
}
|
|
2476
|
-
function
|
|
2477
|
+
function xe() {
|
|
2477
2478
|
return { type: "thematicBreak" };
|
|
2478
2479
|
}
|
|
2479
2480
|
}
|
|
2480
|
-
function
|
|
2481
|
+
function q(e) {
|
|
2481
2482
|
return {
|
|
2482
2483
|
line: e.line,
|
|
2483
2484
|
column: e.column,
|
|
@@ -2549,16 +2550,16 @@ var pn = {
|
|
|
2549
2550
|
name: "protocolAutolink",
|
|
2550
2551
|
tokenize: Cn,
|
|
2551
2552
|
previous: An
|
|
2552
|
-
},
|
|
2553
|
+
}, J = {
|
|
2553
2554
|
name: "emailAutolink",
|
|
2554
2555
|
tokenize: xn,
|
|
2555
2556
|
previous: jn
|
|
2556
|
-
},
|
|
2557
|
+
}, Y = {};
|
|
2557
2558
|
function bn() {
|
|
2558
|
-
return { text:
|
|
2559
|
+
return { text: Y };
|
|
2559
2560
|
}
|
|
2560
|
-
for (var
|
|
2561
|
-
|
|
2561
|
+
for (var X = 48; X < 123;) Y[X] = J, X++, X === 58 ? X = 65 : X === 91 && (X = 97);
|
|
2562
|
+
Y[43] = J, Y[45] = J, Y[46] = J, Y[95] = J, Y[72] = [J, yn], Y[104] = [J, yn], Y[87] = [J, vn], Y[119] = [J, vn];
|
|
2562
2563
|
function xn(e, t, n) {
|
|
2563
2564
|
let r = this, i, a;
|
|
2564
2565
|
return o;
|
|
@@ -2737,7 +2738,7 @@ function In(e, t, n) {
|
|
|
2737
2738
|
return s;
|
|
2738
2739
|
function s(i) {
|
|
2739
2740
|
if (!o || !o._balanced) return n(i);
|
|
2740
|
-
let s =
|
|
2741
|
+
let s = A(r.sliceSerialize({
|
|
2741
2742
|
start: o.end,
|
|
2742
2743
|
end: r.now()
|
|
2743
2744
|
}));
|
|
@@ -2834,7 +2835,7 @@ function Rn(e, t, n) {
|
|
|
2834
2835
|
if (s === 93) {
|
|
2835
2836
|
e.exit("chunkString");
|
|
2836
2837
|
let a = e.exit("gfmFootnoteCallString");
|
|
2837
|
-
return i.includes(
|
|
2838
|
+
return i.includes(A(r.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(s);
|
|
2838
2839
|
}
|
|
2839
2840
|
return m(s) || (o = !0), a++, e.consume(s), s === 92 ? u : l;
|
|
2840
2841
|
}
|
|
@@ -2856,7 +2857,7 @@ function zn(e, t, n) {
|
|
|
2856
2857
|
if (t === 93) {
|
|
2857
2858
|
e.exit("chunkString");
|
|
2858
2859
|
let n = e.exit("gfmFootnoteDefinitionLabelString");
|
|
2859
|
-
return a =
|
|
2860
|
+
return a = A(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
|
|
2860
2861
|
}
|
|
2861
2862
|
return m(t) || (s = !0), o++, e.consume(t), t === 92 ? d : u;
|
|
2862
2863
|
}
|
|
@@ -2933,7 +2934,7 @@ function Un(e) {
|
|
|
2933
2934
|
t
|
|
2934
2935
|
]
|
|
2935
2936
|
], s = t.parser.constructs.insideSpan.null;
|
|
2936
|
-
s &&
|
|
2937
|
+
s && C(o, o.length, 0, L(s, e.slice(r + 1, n), t)), C(o, o.length, 0, [
|
|
2937
2938
|
[
|
|
2938
2939
|
"exit",
|
|
2939
2940
|
a,
|
|
@@ -2954,7 +2955,7 @@ function Un(e) {
|
|
|
2954
2955
|
i,
|
|
2955
2956
|
t
|
|
2956
2957
|
]
|
|
2957
|
-
]),
|
|
2958
|
+
]), C(e, r - 1, n - r + 3, o), n = r + o.length - 2;
|
|
2958
2959
|
break;
|
|
2959
2960
|
}
|
|
2960
2961
|
}
|
|
@@ -3174,12 +3175,12 @@ function Yn(e, t) {
|
|
|
3174
3175
|
}
|
|
3175
3176
|
function Xn(e, t, n, r, i, a) {
|
|
3176
3177
|
let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
|
|
3177
|
-
n[0] !== 0 && (a.end = Object.assign({},
|
|
3178
|
+
n[0] !== 0 && (a.end = Object.assign({}, Z(t.events, n[0])), e.add(n[0], 0, [[
|
|
3178
3179
|
"exit",
|
|
3179
3180
|
a,
|
|
3180
3181
|
t
|
|
3181
3182
|
]]));
|
|
3182
|
-
let s =
|
|
3183
|
+
let s = Z(t.events, n[1]);
|
|
3183
3184
|
if (a = {
|
|
3184
3185
|
type: o,
|
|
3185
3186
|
start: Object.assign({}, s),
|
|
@@ -3189,7 +3190,7 @@ function Xn(e, t, n, r, i, a) {
|
|
|
3189
3190
|
a,
|
|
3190
3191
|
t
|
|
3191
3192
|
]]), n[2] !== 0) {
|
|
3192
|
-
let i =
|
|
3193
|
+
let i = Z(t.events, n[2]), a = Z(t.events, n[3]), o = {
|
|
3193
3194
|
type: "tableContent",
|
|
3194
3195
|
start: Object.assign({}, i),
|
|
3195
3196
|
end: Object.assign({}, a)
|
|
@@ -3211,14 +3212,14 @@ function Xn(e, t, n, r, i, a) {
|
|
|
3211
3212
|
t
|
|
3212
3213
|
]]);
|
|
3213
3214
|
}
|
|
3214
|
-
return i !== void 0 && (a.end = Object.assign({},
|
|
3215
|
+
return i !== void 0 && (a.end = Object.assign({}, Z(t.events, i)), e.add(i, 0, [[
|
|
3215
3216
|
"exit",
|
|
3216
3217
|
a,
|
|
3217
3218
|
t
|
|
3218
3219
|
]]), a = void 0), a;
|
|
3219
3220
|
}
|
|
3220
3221
|
function Zn(e, t, n, r, i) {
|
|
3221
|
-
let a = [], o =
|
|
3222
|
+
let a = [], o = Z(t.events, n);
|
|
3222
3223
|
i && (i.end = Object.assign({}, o), a.push([
|
|
3223
3224
|
"exit",
|
|
3224
3225
|
i,
|
|
@@ -3229,7 +3230,7 @@ function Zn(e, t, n, r, i) {
|
|
|
3229
3230
|
t
|
|
3230
3231
|
]), e.add(n + 1, 0, a);
|
|
3231
3232
|
}
|
|
3232
|
-
function
|
|
3233
|
+
function Z(e, t) {
|
|
3233
3234
|
let n = e[t], r = n[0] === "enter" ? "start" : "end";
|
|
3234
3235
|
return n[1][r];
|
|
3235
3236
|
}
|
|
@@ -3267,7 +3268,7 @@ function tr(e, t, n) {
|
|
|
3267
3268
|
//#endregion
|
|
3268
3269
|
//#region node_modules/micromark-extension-gfm/index.js
|
|
3269
3270
|
function nr(e) {
|
|
3270
|
-
return
|
|
3271
|
+
return E([
|
|
3271
3272
|
bn(),
|
|
3272
3273
|
Fn(),
|
|
3273
3274
|
Un(e),
|
|
@@ -3276,89 +3277,80 @@ function nr(e) {
|
|
|
3276
3277
|
]);
|
|
3277
3278
|
}
|
|
3278
3279
|
//#endregion
|
|
3279
|
-
//#region node_modules/ccount/index.js
|
|
3280
|
-
function rr(e, t) {
|
|
3281
|
-
let n = String(e);
|
|
3282
|
-
if (typeof t != "string") throw TypeError("Expected character");
|
|
3283
|
-
let r = 0, i = n.indexOf(t);
|
|
3284
|
-
for (; i !== -1;) r++, i = n.indexOf(t, i + t.length);
|
|
3285
|
-
return r;
|
|
3286
|
-
}
|
|
3287
|
-
//#endregion
|
|
3288
3280
|
//#region node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js
|
|
3289
|
-
function
|
|
3281
|
+
function rr(e) {
|
|
3290
3282
|
if (typeof e != "string") throw TypeError("Expected a string");
|
|
3291
3283
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
3292
3284
|
}
|
|
3293
3285
|
//#endregion
|
|
3294
3286
|
//#region node_modules/unist-util-is/lib/index.js
|
|
3295
|
-
var
|
|
3296
|
-
if (e == null) return
|
|
3297
|
-
if (typeof e == "function") return
|
|
3298
|
-
if (typeof e == "object") return Array.isArray(e) ?
|
|
3299
|
-
if (typeof e == "string") return
|
|
3287
|
+
var ir = (function(e) {
|
|
3288
|
+
if (e == null) return lr;
|
|
3289
|
+
if (typeof e == "function") return cr(e);
|
|
3290
|
+
if (typeof e == "object") return Array.isArray(e) ? ar(e) : or(e);
|
|
3291
|
+
if (typeof e == "string") return sr(e);
|
|
3300
3292
|
throw Error("Expected function, string, or object as test");
|
|
3301
3293
|
});
|
|
3302
|
-
function
|
|
3294
|
+
function ar(e) {
|
|
3303
3295
|
let t = [], n = -1;
|
|
3304
|
-
for (; ++n < e.length;) t[n] =
|
|
3305
|
-
return
|
|
3296
|
+
for (; ++n < e.length;) t[n] = ir(e[n]);
|
|
3297
|
+
return cr(r);
|
|
3306
3298
|
function r(...e) {
|
|
3307
3299
|
let n = -1;
|
|
3308
3300
|
for (; ++n < t.length;) if (t[n].apply(this, e)) return !0;
|
|
3309
3301
|
return !1;
|
|
3310
3302
|
}
|
|
3311
3303
|
}
|
|
3312
|
-
function
|
|
3304
|
+
function or(e) {
|
|
3313
3305
|
let t = e;
|
|
3314
|
-
return
|
|
3306
|
+
return cr(n);
|
|
3315
3307
|
function n(n) {
|
|
3316
3308
|
let r = n, i;
|
|
3317
3309
|
for (i in e) if (r[i] !== t[i]) return !1;
|
|
3318
3310
|
return !0;
|
|
3319
3311
|
}
|
|
3320
3312
|
}
|
|
3321
|
-
function
|
|
3322
|
-
return
|
|
3313
|
+
function sr(e) {
|
|
3314
|
+
return cr(t);
|
|
3323
3315
|
function t(t) {
|
|
3324
3316
|
return t && t.type === e;
|
|
3325
3317
|
}
|
|
3326
3318
|
}
|
|
3327
|
-
function
|
|
3319
|
+
function cr(e) {
|
|
3328
3320
|
return t;
|
|
3329
3321
|
function t(t, n, r) {
|
|
3330
|
-
return !!(
|
|
3322
|
+
return !!(ur(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
|
|
3331
3323
|
}
|
|
3332
3324
|
}
|
|
3333
|
-
function
|
|
3325
|
+
function lr() {
|
|
3334
3326
|
return !0;
|
|
3335
3327
|
}
|
|
3336
|
-
function
|
|
3328
|
+
function ur(e) {
|
|
3337
3329
|
return typeof e == "object" && !!e && "type" in e;
|
|
3338
3330
|
}
|
|
3339
3331
|
//#endregion
|
|
3340
3332
|
//#region node_modules/unist-util-visit-parents/lib/color.js
|
|
3341
|
-
function
|
|
3333
|
+
function dr(e) {
|
|
3342
3334
|
return e;
|
|
3343
3335
|
}
|
|
3344
3336
|
//#endregion
|
|
3345
3337
|
//#region node_modules/unist-util-visit-parents/lib/index.js
|
|
3346
|
-
var
|
|
3347
|
-
function
|
|
3338
|
+
var fr = [];
|
|
3339
|
+
function pr(e, t, n, r) {
|
|
3348
3340
|
let i;
|
|
3349
3341
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
|
|
3350
|
-
let a =
|
|
3342
|
+
let a = ir(i), o = r ? -1 : 1;
|
|
3351
3343
|
s(e, void 0, [])();
|
|
3352
3344
|
function s(e, i, c) {
|
|
3353
3345
|
let l = e && typeof e == "object" ? e : {};
|
|
3354
3346
|
if (typeof l.type == "string") {
|
|
3355
3347
|
let t = typeof l.tagName == "string" ? l.tagName : typeof l.name == "string" ? l.name : void 0;
|
|
3356
|
-
Object.defineProperty(u, "name", { value: "node (" +
|
|
3348
|
+
Object.defineProperty(u, "name", { value: "node (" + dr(e.type + (t ? "<" + t + ">" : "")) + ")" });
|
|
3357
3349
|
}
|
|
3358
3350
|
return u;
|
|
3359
3351
|
function u() {
|
|
3360
|
-
let l =
|
|
3361
|
-
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l =
|
|
3352
|
+
let l = fr, u, d, f;
|
|
3353
|
+
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l = mr(n(e, c)), l[0] === !1)) return l;
|
|
3362
3354
|
if ("children" in e && e.children) {
|
|
3363
3355
|
let t = e;
|
|
3364
3356
|
if (t.children && l[0] !== "skip") for (d = (r ? t.children.length : -1) + o, f = c.concat(t); d > -1 && d < t.children.length;) {
|
|
@@ -3371,14 +3363,14 @@ function mr(e, t, n, r) {
|
|
|
3371
3363
|
}
|
|
3372
3364
|
}
|
|
3373
3365
|
}
|
|
3374
|
-
function
|
|
3375
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ?
|
|
3366
|
+
function mr(e) {
|
|
3367
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ? fr : [e];
|
|
3376
3368
|
}
|
|
3377
3369
|
//#endregion
|
|
3378
3370
|
//#region node_modules/mdast-util-find-and-replace/lib/index.js
|
|
3379
|
-
function
|
|
3380
|
-
let r =
|
|
3381
|
-
for (; ++a < i.length;)
|
|
3371
|
+
function hr(e, t, n) {
|
|
3372
|
+
let r = ir((n || {}).ignore || []), i = gr(t), a = -1;
|
|
3373
|
+
for (; ++a < i.length;) pr(e, "text", o);
|
|
3382
3374
|
function o(e, t) {
|
|
3383
3375
|
let n = -1, i;
|
|
3384
3376
|
for (; ++n < t.length;) {
|
|
@@ -3413,44 +3405,44 @@ function gr(e, t, n) {
|
|
|
3413
3405
|
}), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
|
|
3414
3406
|
}
|
|
3415
3407
|
}
|
|
3416
|
-
function
|
|
3408
|
+
function gr(e) {
|
|
3417
3409
|
let t = [];
|
|
3418
3410
|
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
3419
3411
|
let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
3420
3412
|
for (; ++r < n.length;) {
|
|
3421
3413
|
let e = n[r];
|
|
3422
|
-
t.push([
|
|
3414
|
+
t.push([_r(e[0]), vr(e[1])]);
|
|
3423
3415
|
}
|
|
3424
3416
|
return t;
|
|
3425
3417
|
}
|
|
3426
|
-
function
|
|
3427
|
-
return typeof e == "string" ? new RegExp(
|
|
3418
|
+
function _r(e) {
|
|
3419
|
+
return typeof e == "string" ? new RegExp(rr(e), "g") : e;
|
|
3428
3420
|
}
|
|
3429
|
-
function
|
|
3421
|
+
function vr(e) {
|
|
3430
3422
|
return typeof e == "function" ? e : function() {
|
|
3431
3423
|
return e;
|
|
3432
3424
|
};
|
|
3433
3425
|
}
|
|
3434
3426
|
//#endregion
|
|
3435
3427
|
//#region node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
3436
|
-
function
|
|
3428
|
+
function yr() {
|
|
3437
3429
|
return {
|
|
3438
|
-
transforms: [
|
|
3430
|
+
transforms: [Er],
|
|
3439
3431
|
enter: {
|
|
3440
|
-
literalAutolink:
|
|
3441
|
-
literalAutolinkEmail:
|
|
3442
|
-
literalAutolinkHttp:
|
|
3443
|
-
literalAutolinkWww:
|
|
3432
|
+
literalAutolink: br,
|
|
3433
|
+
literalAutolinkEmail: xr,
|
|
3434
|
+
literalAutolinkHttp: xr,
|
|
3435
|
+
literalAutolinkWww: xr
|
|
3444
3436
|
},
|
|
3445
3437
|
exit: {
|
|
3446
|
-
literalAutolink:
|
|
3447
|
-
literalAutolinkEmail:
|
|
3448
|
-
literalAutolinkHttp:
|
|
3449
|
-
literalAutolinkWww:
|
|
3438
|
+
literalAutolink: Tr,
|
|
3439
|
+
literalAutolinkEmail: wr,
|
|
3440
|
+
literalAutolinkHttp: Sr,
|
|
3441
|
+
literalAutolinkWww: Cr
|
|
3450
3442
|
}
|
|
3451
3443
|
};
|
|
3452
3444
|
}
|
|
3453
|
-
function
|
|
3445
|
+
function br(e) {
|
|
3454
3446
|
this.enter({
|
|
3455
3447
|
type: "link",
|
|
3456
3448
|
title: null,
|
|
@@ -3458,30 +3450,30 @@ function xr(e) {
|
|
|
3458
3450
|
children: []
|
|
3459
3451
|
}, e);
|
|
3460
3452
|
}
|
|
3461
|
-
function
|
|
3453
|
+
function xr(e) {
|
|
3462
3454
|
this.config.enter.autolinkProtocol.call(this, e);
|
|
3463
3455
|
}
|
|
3464
|
-
function
|
|
3456
|
+
function Sr(e) {
|
|
3465
3457
|
this.config.exit.autolinkProtocol.call(this, e);
|
|
3466
3458
|
}
|
|
3467
|
-
function
|
|
3459
|
+
function Cr(e) {
|
|
3468
3460
|
this.config.exit.data.call(this, e);
|
|
3469
3461
|
let t = this.stack[this.stack.length - 1];
|
|
3470
3462
|
t.type, t.url = "http://" + this.sliceSerialize(e);
|
|
3471
3463
|
}
|
|
3472
|
-
function
|
|
3464
|
+
function wr(e) {
|
|
3473
3465
|
this.config.exit.autolinkEmail.call(this, e);
|
|
3474
3466
|
}
|
|
3475
|
-
function
|
|
3467
|
+
function Tr(e) {
|
|
3476
3468
|
this.exit(e);
|
|
3477
3469
|
}
|
|
3478
|
-
function
|
|
3479
|
-
|
|
3470
|
+
function Er(e) {
|
|
3471
|
+
hr(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Dr], [/* @__PURE__ */ RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)", "gu"), Or]], { ignore: ["link", "linkReference"] });
|
|
3480
3472
|
}
|
|
3481
|
-
function
|
|
3473
|
+
function Dr(e, t, n, r, i) {
|
|
3482
3474
|
let a = "";
|
|
3483
|
-
if (!
|
|
3484
|
-
let o =
|
|
3475
|
+
if (!jr(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !kr(n))) return !1;
|
|
3476
|
+
let o = Ar(n + r);
|
|
3485
3477
|
if (!o[0]) return !1;
|
|
3486
3478
|
let s = {
|
|
3487
3479
|
type: "link",
|
|
@@ -3497,8 +3489,8 @@ function Or(e, t, n, r, i) {
|
|
|
3497
3489
|
value: o[1]
|
|
3498
3490
|
}] : s;
|
|
3499
3491
|
}
|
|
3500
|
-
function
|
|
3501
|
-
return !
|
|
3492
|
+
function Or(e, t, n, r) {
|
|
3493
|
+
return !jr(r, !0) || /[-\d_]$/.test(n) ? !1 : {
|
|
3502
3494
|
type: "link",
|
|
3503
3495
|
title: null,
|
|
3504
3496
|
url: "mailto:" + t + "@" + n,
|
|
@@ -3508,39 +3500,39 @@ function kr(e, t, n, r) {
|
|
|
3508
3500
|
}]
|
|
3509
3501
|
};
|
|
3510
3502
|
}
|
|
3511
|
-
function
|
|
3503
|
+
function kr(e) {
|
|
3512
3504
|
let t = e.split(".");
|
|
3513
3505
|
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])));
|
|
3514
3506
|
}
|
|
3515
|
-
function
|
|
3507
|
+
function Ar(e) {
|
|
3516
3508
|
let t = /[!"&'),.:;<>?\]}]+$/.exec(e);
|
|
3517
3509
|
if (!t) return [e, void 0];
|
|
3518
3510
|
e = e.slice(0, t.index);
|
|
3519
|
-
let n = t[0], r = n.indexOf(")"), i =
|
|
3511
|
+
let n = t[0], r = n.indexOf(")"), i = h(e, "("), a = h(e, ")");
|
|
3520
3512
|
for (; r !== -1 && i > a;) e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), a++;
|
|
3521
3513
|
return [e, n];
|
|
3522
3514
|
}
|
|
3523
|
-
function
|
|
3515
|
+
function jr(e, t) {
|
|
3524
3516
|
let n = e.input.charCodeAt(e.index - 1);
|
|
3525
3517
|
return (e.index === 0 || u(n) || a(n)) && (!t || n !== 47);
|
|
3526
3518
|
}
|
|
3527
3519
|
//#endregion
|
|
3528
3520
|
//#region node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
3529
|
-
|
|
3530
|
-
function
|
|
3521
|
+
Vr.peek = Br;
|
|
3522
|
+
function Mr() {
|
|
3531
3523
|
this.buffer();
|
|
3532
3524
|
}
|
|
3533
|
-
function
|
|
3525
|
+
function Nr(e) {
|
|
3534
3526
|
this.enter({
|
|
3535
3527
|
type: "footnoteReference",
|
|
3536
3528
|
identifier: "",
|
|
3537
3529
|
label: ""
|
|
3538
3530
|
}, e);
|
|
3539
3531
|
}
|
|
3540
|
-
function
|
|
3532
|
+
function Pr() {
|
|
3541
3533
|
this.buffer();
|
|
3542
3534
|
}
|
|
3543
|
-
function
|
|
3535
|
+
function Fr(e) {
|
|
3544
3536
|
this.enter({
|
|
3545
3537
|
type: "footnoteDefinition",
|
|
3546
3538
|
identifier: "",
|
|
@@ -3548,95 +3540,95 @@ function Ir(e) {
|
|
|
3548
3540
|
children: []
|
|
3549
3541
|
}, e);
|
|
3550
3542
|
}
|
|
3551
|
-
function
|
|
3543
|
+
function Ir(e) {
|
|
3552
3544
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
3553
|
-
n.type, n.identifier =
|
|
3545
|
+
n.type, n.identifier = A(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
3554
3546
|
}
|
|
3555
|
-
function
|
|
3547
|
+
function Lr(e) {
|
|
3556
3548
|
this.exit(e);
|
|
3557
3549
|
}
|
|
3558
|
-
function
|
|
3550
|
+
function Rr(e) {
|
|
3559
3551
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
3560
|
-
n.type, n.identifier =
|
|
3552
|
+
n.type, n.identifier = A(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
3561
3553
|
}
|
|
3562
|
-
function
|
|
3554
|
+
function zr(e) {
|
|
3563
3555
|
this.exit(e);
|
|
3564
3556
|
}
|
|
3565
|
-
function
|
|
3557
|
+
function Br() {
|
|
3566
3558
|
return "[";
|
|
3567
3559
|
}
|
|
3568
|
-
function
|
|
3560
|
+
function Vr(e, t, n, r) {
|
|
3569
3561
|
let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
|
|
3570
3562
|
return a += i.move(n.safe(n.associationId(e), {
|
|
3571
3563
|
after: "]",
|
|
3572
3564
|
before: a
|
|
3573
3565
|
})), s(), o(), a += i.move("]"), a;
|
|
3574
3566
|
}
|
|
3575
|
-
function
|
|
3567
|
+
function Hr() {
|
|
3576
3568
|
return {
|
|
3577
3569
|
enter: {
|
|
3578
|
-
gfmFootnoteCallString:
|
|
3579
|
-
gfmFootnoteCall:
|
|
3580
|
-
gfmFootnoteDefinitionLabelString:
|
|
3581
|
-
gfmFootnoteDefinition:
|
|
3570
|
+
gfmFootnoteCallString: Mr,
|
|
3571
|
+
gfmFootnoteCall: Nr,
|
|
3572
|
+
gfmFootnoteDefinitionLabelString: Pr,
|
|
3573
|
+
gfmFootnoteDefinition: Fr
|
|
3582
3574
|
},
|
|
3583
3575
|
exit: {
|
|
3584
|
-
gfmFootnoteCallString:
|
|
3585
|
-
gfmFootnoteCall:
|
|
3586
|
-
gfmFootnoteDefinitionLabelString:
|
|
3587
|
-
gfmFootnoteDefinition:
|
|
3576
|
+
gfmFootnoteCallString: Ir,
|
|
3577
|
+
gfmFootnoteCall: Lr,
|
|
3578
|
+
gfmFootnoteDefinitionLabelString: Rr,
|
|
3579
|
+
gfmFootnoteDefinition: zr
|
|
3588
3580
|
}
|
|
3589
3581
|
};
|
|
3590
3582
|
}
|
|
3591
3583
|
//#endregion
|
|
3592
3584
|
//#region node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
3593
|
-
|
|
3594
|
-
function
|
|
3585
|
+
Kr.peek = qr;
|
|
3586
|
+
function Ur() {
|
|
3595
3587
|
return {
|
|
3596
3588
|
canContainEols: ["delete"],
|
|
3597
|
-
enter: { strikethrough:
|
|
3598
|
-
exit: { strikethrough:
|
|
3589
|
+
enter: { strikethrough: Wr },
|
|
3590
|
+
exit: { strikethrough: Gr }
|
|
3599
3591
|
};
|
|
3600
3592
|
}
|
|
3601
|
-
function
|
|
3593
|
+
function Wr(e) {
|
|
3602
3594
|
this.enter({
|
|
3603
3595
|
type: "delete",
|
|
3604
3596
|
children: []
|
|
3605
3597
|
}, e);
|
|
3606
3598
|
}
|
|
3607
|
-
function
|
|
3599
|
+
function Gr(e) {
|
|
3608
3600
|
this.exit(e);
|
|
3609
3601
|
}
|
|
3610
|
-
function
|
|
3602
|
+
function Kr(e, n, r, i) {
|
|
3611
3603
|
let a = r.createTracker(i), o = r.enter("strikethrough"), s = a.move("~~");
|
|
3612
3604
|
return s += r.containerPhrasing(e, t(t({}, a.current()), {}, {
|
|
3613
3605
|
before: s,
|
|
3614
3606
|
after: "~"
|
|
3615
3607
|
})), s += a.move("~~"), o(), s;
|
|
3616
3608
|
}
|
|
3617
|
-
function
|
|
3609
|
+
function qr() {
|
|
3618
3610
|
return "~";
|
|
3619
3611
|
}
|
|
3620
3612
|
//#endregion
|
|
3621
3613
|
//#region node_modules/mdast-util-gfm-table/lib/index.js
|
|
3622
|
-
function
|
|
3614
|
+
function Jr() {
|
|
3623
3615
|
return {
|
|
3624
3616
|
enter: {
|
|
3625
|
-
table:
|
|
3626
|
-
tableData: ei,
|
|
3627
|
-
tableHeader: ei,
|
|
3628
|
-
tableRow: Qr
|
|
3629
|
-
},
|
|
3630
|
-
exit: {
|
|
3631
|
-
codeText: ti,
|
|
3632
|
-
table: Zr,
|
|
3617
|
+
table: Yr,
|
|
3633
3618
|
tableData: $r,
|
|
3634
3619
|
tableHeader: $r,
|
|
3635
|
-
tableRow:
|
|
3620
|
+
tableRow: Zr
|
|
3621
|
+
},
|
|
3622
|
+
exit: {
|
|
3623
|
+
codeText: ei,
|
|
3624
|
+
table: Xr,
|
|
3625
|
+
tableData: Qr,
|
|
3626
|
+
tableHeader: Qr,
|
|
3627
|
+
tableRow: Qr
|
|
3636
3628
|
}
|
|
3637
3629
|
};
|
|
3638
3630
|
}
|
|
3639
|
-
function
|
|
3631
|
+
function Yr(e) {
|
|
3640
3632
|
let t = e._align;
|
|
3641
3633
|
this.enter({
|
|
3642
3634
|
type: "table",
|
|
@@ -3646,47 +3638,47 @@ function Xr(e) {
|
|
|
3646
3638
|
children: []
|
|
3647
3639
|
}, e), this.data.inTable = !0;
|
|
3648
3640
|
}
|
|
3649
|
-
function
|
|
3641
|
+
function Xr(e) {
|
|
3650
3642
|
this.exit(e), this.data.inTable = void 0;
|
|
3651
3643
|
}
|
|
3652
|
-
function
|
|
3644
|
+
function Zr(e) {
|
|
3653
3645
|
this.enter({
|
|
3654
3646
|
type: "tableRow",
|
|
3655
3647
|
children: []
|
|
3656
3648
|
}, e);
|
|
3657
3649
|
}
|
|
3658
|
-
function
|
|
3650
|
+
function Qr(e) {
|
|
3659
3651
|
this.exit(e);
|
|
3660
3652
|
}
|
|
3661
|
-
function
|
|
3653
|
+
function $r(e) {
|
|
3662
3654
|
this.enter({
|
|
3663
3655
|
type: "tableCell",
|
|
3664
3656
|
children: []
|
|
3665
3657
|
}, e);
|
|
3666
3658
|
}
|
|
3667
|
-
function
|
|
3659
|
+
function ei(e) {
|
|
3668
3660
|
let t = this.resume();
|
|
3669
|
-
this.data.inTable && (t = t.replace(/\\([\\|])/g,
|
|
3661
|
+
this.data.inTable && (t = t.replace(/\\([\\|])/g, ti));
|
|
3670
3662
|
let n = this.stack[this.stack.length - 1];
|
|
3671
3663
|
n.type, n.value = t, this.exit(e);
|
|
3672
3664
|
}
|
|
3673
|
-
function
|
|
3665
|
+
function ti(e, t) {
|
|
3674
3666
|
return t === "|" ? t : e;
|
|
3675
3667
|
}
|
|
3676
3668
|
//#endregion
|
|
3677
3669
|
//#region node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
3678
|
-
function
|
|
3670
|
+
function ni() {
|
|
3679
3671
|
return { exit: {
|
|
3680
|
-
taskListCheckValueChecked:
|
|
3681
|
-
taskListCheckValueUnchecked:
|
|
3682
|
-
paragraph:
|
|
3672
|
+
taskListCheckValueChecked: ri,
|
|
3673
|
+
taskListCheckValueUnchecked: ri,
|
|
3674
|
+
paragraph: ii
|
|
3683
3675
|
} };
|
|
3684
3676
|
}
|
|
3685
|
-
function
|
|
3677
|
+
function ri(e) {
|
|
3686
3678
|
let t = this.stack[this.stack.length - 2];
|
|
3687
3679
|
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
3688
3680
|
}
|
|
3689
|
-
function
|
|
3681
|
+
function ii(e) {
|
|
3690
3682
|
let t = this.stack[this.stack.length - 2];
|
|
3691
3683
|
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
3692
3684
|
let e = this.stack[this.stack.length - 1];
|
|
@@ -3708,18 +3700,18 @@ function ai(e) {
|
|
|
3708
3700
|
}
|
|
3709
3701
|
//#endregion
|
|
3710
3702
|
//#region node_modules/mdast-util-gfm/lib/index.js
|
|
3711
|
-
function
|
|
3703
|
+
function ai() {
|
|
3712
3704
|
return [
|
|
3713
|
-
|
|
3705
|
+
yr(),
|
|
3706
|
+
Hr(),
|
|
3714
3707
|
Ur(),
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
ri()
|
|
3708
|
+
Jr(),
|
|
3709
|
+
ni()
|
|
3718
3710
|
];
|
|
3719
3711
|
}
|
|
3720
3712
|
//#endregion
|
|
3721
3713
|
//#region src/markdown/phrasing-to-html.ts
|
|
3722
|
-
function
|
|
3714
|
+
function oi(e) {
|
|
3723
3715
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
3724
3716
|
}
|
|
3725
3717
|
function Q(e) {
|
|
@@ -3727,16 +3719,16 @@ function Q(e) {
|
|
|
3727
3719
|
}
|
|
3728
3720
|
function si(e) {
|
|
3729
3721
|
switch (e.type) {
|
|
3730
|
-
case "text": return
|
|
3722
|
+
case "text": return oi(e.value);
|
|
3731
3723
|
case "strong": return `<strong>${Q(e.children)}</strong>`;
|
|
3732
3724
|
case "emphasis": return `<i>${Q(e.children)}</i>`;
|
|
3733
3725
|
case "delete": return `<s>${Q(e.children)}</s>`;
|
|
3734
|
-
case "inlineCode": return `<code>${
|
|
3735
|
-
case "link": return `<a href="${
|
|
3726
|
+
case "inlineCode": return `<code>${oi(e.value)}</code>`;
|
|
3727
|
+
case "link": return `<a href="${oi(e.url)}" target="_blank" rel="nofollow">${Q(e.children)}</a>`;
|
|
3736
3728
|
case "break": return "<br>";
|
|
3737
3729
|
case "image":
|
|
3738
3730
|
var t;
|
|
3739
|
-
return `<img src="${
|
|
3731
|
+
return `<img src="${oi(e.url)}" alt="${oi((t = e.alt) == null ? "" : t)}">`;
|
|
3740
3732
|
case "html": return e.value;
|
|
3741
3733
|
case "inlineMath":
|
|
3742
3734
|
case "footnoteReference":
|
|
@@ -3940,7 +3932,7 @@ function Ei(e) {
|
|
|
3940
3932
|
//#region src/markdown/index.ts
|
|
3941
3933
|
var Di = /* @__PURE__ */ RegExp("\\$\\$[\\s\\S]+?\\$\\$|(?<!\\$)\\$(?!\\$)(?=\\S)[^$]+(?<=\\S)\\$(?!\\$)", "");
|
|
3942
3934
|
async function Oi() {
|
|
3943
|
-
let [{ math: e }, { mathFromMarkdown: t }] = await Promise.all([import("./chunks/micromark-extension-math-
|
|
3935
|
+
let [{ math: e }, { mathFromMarkdown: t }] = await Promise.all([import("./chunks/micromark-extension-math-BbkUb36G.mjs"), import("./chunks/mdast-util-math-BlK2Zu-1.mjs")]);
|
|
3944
3936
|
return {
|
|
3945
3937
|
mathSyntax: e(),
|
|
3946
3938
|
mathFromMarkdown: t()
|
|
@@ -3948,7 +3940,7 @@ async function Oi() {
|
|
|
3948
3940
|
}
|
|
3949
3941
|
async function ki(e, t = {}) {
|
|
3950
3942
|
var n, r;
|
|
3951
|
-
let i = t.gfm !== !1, a = Di.test(e), o = [...i ? [nr()] : [], ...(n = t.extensions) == null ? [] : n], s = [...i ? [
|
|
3943
|
+
let i = t.gfm !== !1, a = Di.test(e), o = [...i ? [nr()] : [], ...(n = t.extensions) == null ? [] : n], s = [...i ? [ai()] : [], ...(r = t.mdastExtensions) == null ? [] : r];
|
|
3952
3944
|
if (a) {
|
|
3953
3945
|
let { mathSyntax: e, mathFromMarkdown: t } = await Oi();
|
|
3954
3946
|
o.push(e), s.push(t);
|