@mono-lit/helper 0.0.1 → 0.0.3
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/LICENSE.md +55 -55
- package/README.md +35 -35
- package/dist/{breakpoints-CAbhDUht.js → breakpoints-DllybT82.js} +7 -5
- package/dist/checkbox.css_raw-AYtSbUtY.js +5 -0
- package/dist/{chip-limits-BMoO31JM.js → chip-limits-CFABydIL.js} +5 -3
- package/dist/{chip-strip-Cw3gyz0q.js → chip-strip-bNfLn52Z.js} +5 -3
- package/dist/chip.css_raw-ChfRSHLO.js +5 -0
- package/dist/{color-DHYrfXsX.js → color-CEYYtRX-.js} +8 -7
- package/dist/{css-class-BRKRzHx-.js → css-class-B6Tc_MAx.js} +2 -1
- package/dist/{css-size-DhHSVZJK.js → css-size-DWAPgQdT.js} +2 -1
- package/dist/{data-source-controller-C50Qyfzh.js → data-source-controller-Cf_sMxEh.js} +72 -7
- package/dist/data-source-controller-Dx6IQ2CN.js +243 -0
- package/dist/{data-source-options-BTpfrOZ_.js → data-source-options-Bk-UoaZV.js} +15 -10
- package/dist/{data-source-options-CQSTZHPE.js → data-source-options-QjuI73g8.js} +17 -12
- package/dist/{data-source-read-CUX-lgrQ.js → data-source-read-Cuqw3LcP.js} +7 -4
- package/dist/{data-source-read-DL88aH8t.js → data-source-read-FxqzQkk2.js} +8 -5
- package/dist/{decorate-DEXtNagw.js → decorate-DbYFpi8R.js} +7 -5
- package/dist/{element-props-CLB6yvbm.js → element-props-xvw0EB7H.js} +4 -3
- package/dist/{esm-Ptok4SQZ.js → esm-D0We7ndD.js} +48 -44
- package/dist/{excel-DopRbEMK.js → excel-BXzr3uI1.js} +192 -16
- package/dist/{excel-CY6zGkcx.js → excel-DtRpxmxs.js} +27 -16
- package/dist/{export-BvlBx_GZ.js → export-B91P6J1y.js} +104 -18
- package/dist/export.js +103 -18
- package/dist/{field-icons-BoOG6KrL.js → field-icons-FmyBWa0g.js} +38 -1
- package/dist/{field-path-C92eGLg3.js → field-path-BabiMrrA.js} +3 -2
- package/dist/{filter-builder-Bke3qOgJ.js → filter-builder-B6Y2mmbM.js} +7 -4
- package/dist/{filter-builder-CE4zE0V5.js → filter-builder-C0T3pMx2.js} +7 -4
- package/dist/{filter-eval-DIfU2EAn.js → filter-eval-ChDSaAUH.js} +7 -5
- package/dist/{filter-odata-C1vSGZaY.js → filter-odata-Bi27XUpQ.js} +9 -6
- package/dist/{form-control-core-B8d7k6vk.js → form-control-core-CIdMLXMo.js} +9 -6
- package/dist/{form-control-core-eeRr0zLU.js → form-control-core-CRZPZ1ru.js} +9 -6
- package/dist/hydration-flush-DHrl4_KK.js +1014 -0
- package/dist/{icon-CJkTlmTb.js → icon-BM9N-jOt.js} +5 -2
- package/dist/{icon-dVhYJUIH.js → icon-ClxnYhBG.js} +4 -2
- package/dist/{import-BgJdkwBI.js → import-Dc4eXC02.js} +22 -16
- package/dist/import.js +22 -16
- package/dist/index.js +17 -16
- package/dist/{index.node-DjvYOL-J.js → index.node-dvrNviMx.js} +26 -19
- package/dist/index.node.js +17 -16
- package/dist/input.css_raw-CGESifay.js +5 -0
- package/dist/{layout-var-CZnzMC0s.js → layout-var-BSBKY49k.js} +3 -2
- package/dist/{light-slots-BVJwyg_2.js → light-slots-4ZCjOcBg.js} +6 -4
- package/dist/{light-slots-DW1WgfgT.js → light-slots-DdDdZ6zs.js} +6 -4
- package/dist/{markdown-DfqrfOJN.js → markdown-uGlE_OfJ.js} +414 -369
- package/dist/mono-button-CeDB9khW.js +878 -0
- package/dist/mono-button.shadow-D9NdMsmH.js +790 -0
- package/dist/{mono-data-chart-ChU4Ii3p.js → mono-data-chart-ChkelNT7.js} +66 -22
- package/dist/{mono-data-dropdown-BAUl58kW.js → mono-data-dropdown-DxpUUk2y.js} +5 -3
- package/dist/{mono-data-grid-Db80FzdZ.js → mono-data-grid-8jmeIXUU.js} +56 -265
- package/dist/{mono-data-grid-CLBK8clE.js → mono-data-grid-BHlo1IgR.js} +56 -265
- package/dist/{mono-element-B0kP_96P.js → mono-element-C7vCschg.js} +7 -4
- package/dist/{mono-event-Bi1qP9uN.js → mono-event-BPku9HpS.js} +4 -3
- package/dist/{mono-form-controller-5PfsU4qa.js → mono-form-controller-IYn0MuUQ.js} +7 -4
- package/dist/{mono-modal-controller-BMO3n3rP.js → mono-modal-controller-ClObbHUs.js} +9 -7
- package/dist/{mono-ui-CPV7rrdo.js → mono-ui-BwUc0L6B.js} +22 -20
- package/dist/{data-search-Bwo5bg8K.js → normalize-error-D93O4q8g.js} +314 -10
- package/dist/{notifier-CE4yxMUQ.js → notifier-BIrqUzRh.js} +11 -1
- package/dist/nuxt.js +20 -15
- package/dist/{popup-portal-BziRX1yG.js → popup-portal-HWhkd7oy.js} +6 -4
- package/dist/{popup-stack-CEEMib__.js → popup-stack-De05Y-mJ.js} +13 -10
- package/dist/{rate-limit-BBa2PO79.js → rate-limit-e9Jlpl5l.js} +12 -9
- package/dist/{reactive-BHsqVjRh.js → reactive-DFCdZbH9.js} +318 -12
- package/dist/{reactive-D3EERqgO.js → reactive-Dtd-esHO.js} +2 -1
- package/dist/search.js +5 -4
- package/dist/src/components/accordion/accordion-core.d.ts +42 -40
- package/dist/src/components/accordion/accordion-types.d.ts +50 -48
- package/dist/src/components/accordion/index.d.ts +3 -2
- package/dist/src/components/accordion/index.shadow.d.ts +4 -4
- package/dist/src/components/accordion/mono-accordion.d.ts +44 -40
- package/dist/src/components/accordion/mono-accordion.shadow.d.ts +42 -38
- package/dist/src/components/alert/alert-core.d.ts +30 -28
- package/dist/src/components/alert/alert-types.d.ts +36 -34
- package/dist/src/components/alert/index.d.ts +3 -2
- package/dist/src/components/alert/index.shadow.d.ts +4 -4
- package/dist/src/components/alert/mono-alert.d.ts +30 -26
- package/dist/src/components/alert/mono-alert.shadow.d.ts +24 -20
- package/dist/src/components/breadcrumb/breadcrumb-core.d.ts +42 -40
- package/dist/src/components/breadcrumb/breadcrumb-list-core.d.ts +31 -29
- package/dist/src/components/breadcrumb/breadcrumb-render.d.ts +18 -16
- package/dist/src/components/breadcrumb/breadcrumb-types.d.ts +89 -87
- package/dist/src/components/breadcrumb/breadcrumb-utils.d.ts +18 -15
- package/dist/src/components/breadcrumb/index.d.ts +6 -5
- package/dist/src/components/breadcrumb/index.shadow.d.ts +7 -7
- package/dist/src/components/breadcrumb/mono-breadcrumb-list.d.ts +18 -14
- package/dist/src/components/breadcrumb/mono-breadcrumb-list.shadow.d.ts +33 -29
- package/dist/src/components/breadcrumb/mono-breadcrumb.d.ts +24 -20
- package/dist/src/components/breadcrumb/mono-breadcrumb.shadow.d.ts +55 -51
- package/dist/src/components/button/button-core.d.ts +73 -71
- package/dist/src/components/button/button-dropdown-core.d.ts +55 -53
- package/dist/src/components/button/button-dropdown-types.d.ts +98 -96
- package/dist/src/components/button/button-types.d.ts +157 -155
- package/dist/src/components/button/button-utils.d.ts +7 -5
- package/dist/src/components/button/index.button-dropdown.d.ts +5 -3
- package/dist/src/components/button/index.button-dropdown.shadow.d.ts +5 -3
- package/dist/src/components/button/index.d.ts +4 -7
- package/dist/src/components/button/index.shadow.d.ts +5 -4
- package/dist/src/components/button/mono-button-dropdown.d.ts +24 -19
- package/dist/src/components/button/mono-button-dropdown.shadow.d.ts +34 -29
- package/dist/src/components/button/mono-button.d.ts +105 -101
- package/dist/src/components/button/mono-button.shadow.d.ts +42 -38
- package/dist/src/components/card/card-core.d.ts +59 -56
- package/dist/src/components/card/card-types.d.ts +91 -89
- package/dist/src/components/card/card-utils.d.ts +11 -9
- package/dist/src/components/card/index.d.ts +4 -3
- package/dist/src/components/card/index.shadow.d.ts +5 -5
- package/dist/src/components/card/mono-card.d.ts +36 -32
- package/dist/src/components/card/mono-card.shadow.d.ts +32 -28
- package/dist/src/components/chart/chart-core.d.ts +30 -28
- package/dist/src/components/chart/chart-odata.d.ts +17 -16
- package/dist/src/components/chart/chart-types.d.ts +269 -248
- package/dist/src/components/chart/index.d.ts +7 -7
- package/dist/src/components/chart/index.shadow.d.ts +7 -6
- package/dist/src/components/chart/mono-chart-presets.d.ts +33 -29
- package/dist/src/components/chart/mono-chart-presets.shadow.d.ts +33 -29
- package/dist/src/components/chart/mono-chart.d.ts +13 -9
- package/dist/src/components/chart/mono-chart.shadow.d.ts +13 -9
- package/dist/src/components/chart/mono-data-chart.d.ts +4 -26
- package/dist/src/components/checkbox/checkbox-core.d.ts +39 -37
- package/dist/src/components/checkbox/checkbox-types.d.ts +59 -57
- package/dist/src/components/checkbox/checkbox-utils.d.ts +13 -11
- package/dist/src/components/checkbox/index.d.ts +4 -3
- package/dist/src/components/checkbox/index.shadow.d.ts +5 -4
- package/dist/src/components/checkbox/mono-checkbox.d.ts +21 -17
- package/dist/src/components/checkbox/mono-checkbox.shadow.d.ts +31 -27
- package/dist/src/components/chip/chip-core.d.ts +42 -40
- package/dist/src/components/chip/chip-types.d.ts +104 -102
- package/dist/src/components/chip/chip-utils.d.ts +20 -18
- package/dist/src/components/chip/index.d.ts +5 -7
- package/dist/src/components/chip/index.shadow.d.ts +6 -5
- package/dist/src/components/chip/mono-chip.d.ts +31 -27
- package/dist/src/components/chip/mono-chip.shadow.d.ts +19 -15
- package/dist/src/components/chip/mono-status-dot.d.ts +19 -17
- package/dist/src/components/date/date-core.d.ts +64 -62
- package/dist/src/components/date/date-types.d.ts +143 -141
- package/dist/src/components/date/index.d.ts +3 -2
- package/dist/src/components/date/index.shadow.d.ts +4 -3
- package/dist/src/components/date/mono-date.d.ts +12 -8
- package/dist/src/components/date/mono-date.shadow.d.ts +21 -17
- package/dist/src/components/drawer/drawer-core.d.ts +75 -73
- package/dist/src/components/drawer/drawer-types.d.ts +109 -107
- package/dist/src/components/drawer/index.d.ts +3 -2
- package/dist/src/components/drawer/index.shadow.d.ts +4 -3
- package/dist/src/components/drawer/mono-drawer.d.ts +32 -28
- package/dist/src/components/drawer/mono-drawer.shadow.d.ts +34 -31
- package/dist/src/components/dropdown/dropdown-core.d.ts +31 -29
- package/dist/src/components/dropdown/dropdown-types.d.ts +62 -60
- package/dist/src/components/dropdown/index.d.ts +3 -2
- package/dist/src/components/dropdown/index.shadow.d.ts +4 -3
- package/dist/src/components/dropdown/mono-dropdown.d.ts +23 -19
- package/dist/src/components/dropdown/mono-dropdown.shadow.d.ts +19 -15
- package/dist/src/components/dropdown-table/dropdown-table-core.d.ts +53 -51
- package/dist/src/components/dropdown-table/dropdown-table-types.d.ts +218 -216
- package/dist/src/components/dropdown-table/index.d.ts +5 -4
- package/dist/src/components/dropdown-table/index.shadow.d.ts +6 -5
- package/dist/src/components/dropdown-table/mono-data-dropdown.d.ts +119 -129
- package/dist/src/components/dropdown-table/mono-dropdown-table.d.ts +20 -16
- package/dist/src/components/dropdown-table/mono-dropdown-table.shadow.d.ts +15 -11
- package/dist/src/components/file-upload/file-upload-core.d.ts +44 -42
- package/dist/src/components/file-upload/file-upload-types.d.ts +123 -121
- package/dist/src/components/file-upload/file-upload-utils.d.ts +7 -4
- package/dist/src/components/file-upload/index.d.ts +4 -3
- package/dist/src/components/file-upload/index.shadow.d.ts +5 -4
- package/dist/src/components/file-upload/mono-file-upload.d.ts +20 -16
- package/dist/src/components/file-upload/mono-file-upload.shadow.d.ts +34 -30
- package/dist/src/components/filter/filter-builder-core.d.ts +17 -15
- package/dist/src/components/filter/filter-builder.d.ts +4 -22
- package/dist/src/components/filter/filter-odata.d.ts +3 -1
- package/dist/src/components/filter/filter-operators.d.ts +3 -1
- package/dist/src/components/filter/filter-types.d.ts +172 -170
- package/dist/src/components/filter/index.d.ts +6 -5
- package/dist/src/components/filter/index.shadow.d.ts +7 -6
- package/dist/src/components/filter/mono-filter-builder.d.ts +13 -10
- package/dist/src/components/filter/mono-filter-builder.shadow.d.ts +10 -7
- package/dist/src/components/form/form-control-core.d.ts +14 -12
- package/dist/src/components/form/form-rules.d.ts +7 -5
- package/dist/src/components/form/form-types.d.ts +214 -214
- package/dist/src/components/form/index.d.ts +5 -5
- package/dist/src/components/form/mono-form-controller.d.ts +4 -15
- package/dist/src/components/input/index.d.ts +5 -5
- package/dist/src/components/input/index.shadow.d.ts +6 -7
- package/dist/src/components/input/input-core.d.ts +73 -71
- package/dist/src/components/input/input-format.d.ts +22 -20
- package/dist/src/components/input/input-types.d.ts +167 -165
- package/dist/src/components/input/input-utils.d.ts +7 -5
- package/dist/src/components/input/mono-input.d.ts +35 -31
- package/dist/src/components/input/mono-input.shadow.d.ts +17 -13
- package/dist/src/components/menu/index.d.ts +7 -5
- package/dist/src/components/menu/index.shadow.d.ts +7 -6
- package/dist/src/components/menu/menu-core.d.ts +47 -45
- package/dist/src/components/menu/menu-render.d.ts +42 -40
- package/dist/src/components/menu/menu-types.d.ts +132 -130
- package/dist/src/components/menu/menu-utils.d.ts +16 -13
- package/dist/src/components/menu/mono-menu-list.d.ts +116 -114
- package/dist/src/components/menu/mono-menu.d.ts +30 -26
- package/dist/src/components/menu/mono-menu.shadow.d.ts +22 -18
- package/dist/src/components/modal/index.d.ts +5 -3
- package/dist/src/components/modal/index.shadow.d.ts +6 -4
- package/dist/src/components/modal/modal-core.d.ts +81 -79
- package/dist/src/components/modal/modal-types.d.ts +223 -221
- package/dist/src/components/modal/mono-modal-controller.d.ts +4 -3
- package/dist/src/components/modal/mono-modal.d.ts +32 -28
- package/dist/src/components/modal/mono-modal.shadow.d.ts +38 -35
- package/dist/src/components/nav/index.d.ts +4 -3
- package/dist/src/components/nav/index.shadow.d.ts +5 -5
- package/dist/src/components/nav/mono-nav.d.ts +28 -24
- package/dist/src/components/nav/mono-nav.shadow.d.ts +10 -7
- package/dist/src/components/nav/nav-core.d.ts +16 -14
- package/dist/src/components/nav/nav-types.d.ts +23 -22
- package/dist/src/components/nav/nav-utils.d.ts +10 -8
- package/dist/src/components/radio/index.d.ts +4 -3
- package/dist/src/components/radio/index.shadow.d.ts +5 -4
- package/dist/src/components/radio/mono-radio.d.ts +19 -15
- package/dist/src/components/radio/mono-radio.shadow.d.ts +22 -18
- package/dist/src/components/radio/radio-core.d.ts +31 -29
- package/dist/src/components/radio/radio-types.d.ts +48 -46
- package/dist/src/components/radio/radio-utils.d.ts +5 -3
- package/dist/src/components/rich-text-editor/index.d.ts +5 -4
- package/dist/src/components/rich-text-editor/index.shadow.d.ts +6 -5
- package/dist/src/components/rich-text-editor/mono-rich-text-editor.d.ts +19 -15
- package/dist/src/components/rich-text-editor/mono-rich-text-editor.shadow.d.ts +22 -19
- package/dist/src/components/rich-text-editor/rich-text-editor-core.d.ts +61 -59
- package/dist/src/components/rich-text-editor/rich-text-editor-loader.d.ts +2 -0
- package/dist/src/components/rich-text-editor/rich-text-editor-toolbar.d.ts +5 -3
- package/dist/src/components/rich-text-editor/rich-text-editor-types.d.ts +179 -177
- package/dist/src/components/select/index.d.ts +4 -3
- package/dist/src/components/select/index.shadow.d.ts +5 -4
- package/dist/src/components/select/mono-select.d.ts +58 -54
- package/dist/src/components/select/mono-select.shadow.d.ts +30 -27
- package/dist/src/components/select/select-core.d.ts +82 -80
- package/dist/src/components/select/select-types.d.ts +235 -208
- package/dist/src/components/select/select-utils.d.ts +7 -5
- package/dist/src/components/sidebar/index.d.ts +4 -3
- package/dist/src/components/sidebar/index.shadow.d.ts +5 -5
- package/dist/src/components/sidebar/mono-sidebar.d.ts +22 -18
- package/dist/src/components/sidebar/mono-sidebar.shadow.d.ts +11 -8
- package/dist/src/components/sidebar/sidebar-core.d.ts +33 -31
- package/dist/src/components/sidebar/sidebar-types.d.ts +77 -75
- package/dist/src/components/sidebar/sidebar-utils.d.ts +28 -26
- package/dist/src/components/switch/index.d.ts +4 -3
- package/dist/src/components/switch/index.shadow.d.ts +5 -4
- package/dist/src/components/switch/mono-switch.d.ts +19 -15
- package/dist/src/components/switch/mono-switch.shadow.d.ts +23 -19
- package/dist/src/components/switch/switch-core.d.ts +35 -33
- package/dist/src/components/switch/switch-types.d.ts +55 -53
- package/dist/src/components/switch/switch-utils.d.ts +5 -3
- package/dist/src/components/table/array-source.d.ts +31 -29
- package/dist/src/components/table/date-filter-tree.d.ts +25 -23
- package/dist/src/components/table/grouping.d.ts +22 -20
- package/dist/src/components/table/index.d.ts +28 -32
- package/dist/src/components/table/index.shadow.d.ts +34 -46
- package/dist/src/components/table/mono-data-grid.d.ts +1447 -1456
- package/dist/src/components/table/mono-table-checkbox-core.d.ts +34 -32
- package/dist/src/components/table/mono-table-checkbox.d.ts +12 -8
- package/dist/src/components/table/mono-table-checkbox.shadow.d.ts +16 -12
- package/dist/src/components/table/mono-table-detail-core.d.ts +29 -27
- package/dist/src/components/table/mono-table-detail.d.ts +12 -8
- package/dist/src/components/table/mono-table-detail.shadow.d.ts +13 -9
- package/dist/src/components/table/mono-table-empty-core.d.ts +24 -22
- package/dist/src/components/table/mono-table-empty.d.ts +17 -13
- package/dist/src/components/table/mono-table-empty.shadow.d.ts +22 -18
- package/dist/src/components/table/mono-table-error-core.d.ts +24 -22
- package/dist/src/components/table/mono-table-error.d.ts +12 -8
- package/dist/src/components/table/mono-table-error.shadow.d.ts +15 -11
- package/dist/src/components/table/mono-table-info-core.d.ts +6 -4
- package/dist/src/components/table/mono-table-info.d.ts +12 -8
- package/dist/src/components/table/mono-table-info.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-loading-core.d.ts +7 -5
- package/dist/src/components/table/mono-table-loading.d.ts +12 -8
- package/dist/src/components/table/mono-table-loading.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-page-size-core.d.ts +7 -5
- package/dist/src/components/table/mono-table-page-size.d.ts +12 -8
- package/dist/src/components/table/mono-table-page-size.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-paging-core.d.ts +16 -14
- package/dist/src/components/table/mono-table-paging-group-core.d.ts +10 -8
- package/dist/src/components/table/mono-table-paging-group.d.ts +12 -8
- package/dist/src/components/table/mono-table-paging-group.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-paging.d.ts +12 -8
- package/dist/src/components/table/mono-table-paging.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-search-core.d.ts +51 -49
- package/dist/src/components/table/mono-table-search.d.ts +25 -22
- package/dist/src/components/table/mono-table-search.shadow.d.ts +12 -9
- package/dist/src/components/table/mono-table-sort-core.d.ts +16 -14
- package/dist/src/components/table/mono-table-sort.d.ts +21 -18
- package/dist/src/components/table/mono-table-sort.shadow.d.ts +11 -8
- package/dist/src/components/table/mono-table-summary-core.d.ts +9 -7
- package/dist/src/components/table/mono-table-summary.d.ts +12 -8
- package/dist/src/components/table/mono-table-summary.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-th-core.d.ts +23 -21
- package/dist/src/components/table/mono-table-th.d.ts +21 -18
- package/dist/src/components/table/mono-table-th.shadow.d.ts +11 -8
- package/dist/src/components/table/store-group-source.d.ts +14 -12
- package/dist/src/components/table/table-controller-core.d.ts +17 -15
- package/dist/src/components/table/table-filter-icons.d.ts +3 -1
- package/dist/src/components/table/table-menu-core.d.ts +40 -38
- package/dist/src/components/table/table-overlay.d.ts +43 -41
- package/dist/src/components/table/table-sort-icons.d.ts +4 -2
- package/dist/src/components/table/table-sort-utils.d.ts +3 -1
- package/dist/src/components/table/table-types.d.ts +391 -400
- package/dist/src/components/tabs/index.d.ts +3 -2
- package/dist/src/components/tabs/index.shadow.d.ts +4 -3
- package/dist/src/components/tabs/mono-tabs.d.ts +21 -17
- package/dist/src/components/tabs/mono-tabs.shadow.d.ts +21 -17
- package/dist/src/components/tabs/tabs-core.d.ts +36 -34
- package/dist/src/components/tabs/tabs-types.d.ts +48 -46
- package/dist/src/components/tag-input/index.d.ts +5 -3
- package/dist/src/components/tag-input/index.shadow.d.ts +6 -4
- package/dist/src/components/tag-input/mono-tag-input.d.ts +56 -52
- package/dist/src/components/tag-input/mono-tag-input.shadow.d.ts +41 -38
- package/dist/src/components/tag-input/tag-input-core.d.ts +95 -93
- package/dist/src/components/tag-input/tag-input-types.d.ts +350 -327
- package/dist/src/components/tag-input/tag-input-utils.d.ts +7 -5
- package/dist/src/components/textarea/index.d.ts +4 -3
- package/dist/src/components/textarea/index.shadow.d.ts +5 -4
- package/dist/src/components/textarea/mono-textarea.d.ts +19 -15
- package/dist/src/components/textarea/mono-textarea.shadow.d.ts +19 -16
- package/dist/src/components/textarea/textarea-core.d.ts +48 -46
- package/dist/src/components/textarea/textarea-types.d.ts +120 -118
- package/dist/src/components/textarea/textarea-utils.d.ts +7 -5
- package/dist/src/components/tooltip/control-tooltip.d.ts +3 -1
- package/dist/src/components/tooltip/index.d.ts +6 -5
- package/dist/src/components/tooltip/tooltip-config.d.ts +17 -15
- package/dist/src/components/tooltip/tooltip-declarative.d.ts +3 -1
- package/dist/src/components/tooltip/tooltip-loader.d.ts +2 -0
- package/dist/src/components/tooltip/tooltip-types.d.ts +74 -72
- package/dist/src/composables/breakpoints.d.ts +9 -7
- package/dist/src/composables/chip-limits.d.ts +12 -10
- package/dist/src/composables/chip-strip.d.ts +91 -89
- package/dist/src/composables/color.d.ts +6 -4
- package/dist/src/composables/css-class.d.ts +4 -2
- package/dist/src/composables/css-size.d.ts +9 -7
- package/dist/src/composables/data-source-controller.d.ts +90 -59
- package/dist/src/composables/element-props.d.ts +3 -3
- package/dist/src/composables/field-icons.d.ts +11 -1
- package/dist/src/composables/hybird-prop.d.ts +10 -8
- package/dist/src/composables/hydration-flush.d.ts +16 -14
- package/dist/src/composables/icon.d.ts +3 -1
- package/dist/src/composables/layout-var.d.ts +2 -0
- package/dist/src/composables/light-slots.d.ts +34 -32
- package/dist/src/composables/mdi-glyphs.d.ts +2 -0
- package/dist/src/composables/mono-element.d.ts +3 -1
- package/dist/src/composables/mono-event.d.ts +15 -13
- package/dist/src/composables/mono-pending.d.ts +4 -2
- package/dist/src/composables/mono-skeleton.d.ts +100 -98
- package/dist/src/composables/mono-ui.d.ts +17 -18
- package/dist/src/composables/notifier.d.ts +20 -18
- package/dist/src/composables/popup-portal.d.ts +177 -175
- package/dist/src/composables/popup-stack.d.ts +36 -34
- package/dist/src/composables/rate-limit.d.ts +33 -31
- package/dist/src/composables/reactive.d.ts +3 -1
- package/dist/src/composables/shadow-css.d.ts +17 -15
- package/dist/src/composables/visibility.d.ts +6 -4
- package/dist/src/data/theme/index.d.ts +9 -7
- package/dist/src/data/theme/presets.d.ts +64 -62
- package/dist/src/entries/index.d.ts +36 -1
- package/dist/src/entries/index.node.d.ts +34 -41
- package/dist/src/entries/search.d.ts +2 -2
- package/dist/src/export/detail.d.ts +14 -12
- package/dist/src/export/download.d.ts +2 -0
- package/dist/src/export/excel/index.d.ts +13 -11
- package/dist/src/export/excel/nodes.d.ts +95 -93
- package/dist/src/export/expression.d.ts +3 -1
- package/dist/src/export/helpers.d.ts +3 -1
- package/dist/src/export/index.d.ts +6 -4
- package/dist/src/export/markdown.d.ts +19 -17
- package/dist/src/export/resolve-data.d.ts +3 -1
- package/dist/src/export/sentinel.d.ts +32 -30
- package/dist/src/export/sheet-name.d.ts +7 -5
- package/dist/src/export/styles.d.ts +13 -11
- package/dist/src/export/template.d.ts +3 -1
- package/dist/src/export/types.d.ts +224 -222
- package/dist/src/import/coerce.d.ts +5 -3
- package/dist/src/import/index.d.ts +12 -10
- package/dist/src/import/match.d.ts +20 -18
- package/dist/src/import/parse.d.ts +5 -3
- package/dist/src/import/types.d.ts +125 -123
- package/dist/src/nuxt/index.d.ts +92 -90
- package/dist/src/search/data-search.d.ts +92 -90
- package/dist/src/search/field-path.d.ts +10 -8
- package/dist/src/search/filter-eval.d.ts +2 -0
- package/dist/src/search/index.d.ts +6 -22
- package/dist/src/search/odata-search.d.ts +9 -7
- package/dist/src/search/search-expr.d.ts +16 -14
- package/dist/src/utils/data-source-apply.d.ts +11 -9
- package/dist/src/utils/data-source-options.d.ts +37 -35
- package/dist/src/utils/data-source-read.d.ts +40 -54
- package/dist/src/utils/data-source-summary.d.ts +8 -7
- package/dist/src/utils/normalize-error.d.ts +41 -9
- package/dist/src/vite/index.d.ts +34 -34
- package/dist/src/vite/mono-client-only.d.ts +34 -32
- package/dist/src/vite/mono-ssr-stub.d.ts +8 -6
- package/dist/src/vite/shadow-manifest.d.ts +2 -0
- package/dist/{styles-BIJ31TM4.js → styles-D-ergrfR.js} +417 -207
- package/dist/{tooltip-CysgRgBi.js → tooltip-FCMRUSLi.js} +94 -52
- package/dist/tooltip.js +3 -2
- package/dist/ui/accordion.js +16 -12
- package/dist/ui/alert.js +21 -14
- package/dist/ui/breadcrumb.js +28 -18
- package/dist/ui/button-dropdown.js +18 -14
- package/dist/ui/button.js +4 -2
- package/dist/ui/card.js +31 -13
- package/dist/ui/chart.js +107 -25
- package/dist/ui/checkbox.js +17 -12
- package/dist/ui/chip.js +19 -12
- package/dist/ui/date.js +19 -15
- package/dist/ui/drawer.js +26 -20
- package/dist/ui/dropdown-table.js +39 -30
- package/dist/ui/dropdown.js +19 -15
- package/dist/ui/file-upload.js +22 -17
- package/dist/ui/filter.js +18 -14
- package/dist/ui/form.js +4 -3
- package/dist/ui/index.css +1233 -2194
- package/dist/ui/input.js +24 -17
- package/dist/ui/menu.js +32 -20
- package/dist/ui/modal.js +34 -26
- package/dist/ui/nav.js +21 -15
- package/dist/ui/radio.js +17 -12
- package/dist/ui/rich-text-editor.js +34 -28
- package/dist/ui/select.js +181 -41
- package/dist/ui/shadow/accordion.js +13 -9
- package/dist/ui/shadow/alert.js +13 -9
- package/dist/ui/shadow/breadcrumb.js +23 -14
- package/dist/ui/shadow/button-dropdown.js +17 -13
- package/dist/ui/shadow/button.js +4 -2
- package/dist/ui/shadow/card.js +30 -11
- package/dist/ui/shadow/chart.js +163 -40
- package/dist/ui/shadow/checkbox.js +13 -9
- package/dist/ui/shadow/chip.js +16 -10
- package/dist/ui/shadow/date.js +19 -12
- package/dist/ui/shadow/drawer.js +22 -16
- package/dist/ui/shadow/dropdown-table.js +39 -28
- package/dist/ui/shadow/dropdown.js +15 -11
- package/dist/ui/shadow/file-upload.js +26 -19
- package/dist/ui/shadow/filter.js +17 -13
- package/dist/ui/shadow/input.js +20 -14
- package/dist/ui/shadow/menu.js +24 -14
- package/dist/ui/shadow/modal.js +36 -27
- package/dist/ui/shadow/nav.js +18 -12
- package/dist/ui/shadow/radio.js +15 -10
- package/dist/ui/shadow/rich-text-editor.js +32 -26
- package/dist/ui/shadow/select.js +179 -39
- package/dist/ui/shadow/sidebar.js +23 -16
- package/dist/ui/shadow/switch.js +15 -10
- package/dist/ui/shadow/table.js +123 -84
- package/dist/ui/shadow/tabs.js +12 -8
- package/dist/ui/shadow/tag-input.js +186 -52
- package/dist/ui/shadow/textarea.js +17 -12
- package/dist/ui/sidebar.js +27 -20
- package/dist/ui/switch.js +17 -12
- package/dist/ui/table.js +129 -87
- package/dist/ui/tabs.js +15 -11
- package/dist/ui/tag-input.js +182 -48
- package/dist/ui/textarea.js +19 -14
- package/dist/{vite-C5iUK7so.js → vite-DcyRlTTf.js} +17 -9
- package/dist/vite.js +3 -2
- package/package.json +15 -14
- package/dist/checkbox-Cqpie9Ap.js +0 -4
- package/dist/chip-DBUUa2eB.js +0 -4
- package/dist/data/theme/presets.json.d.ts +0 -140
- package/dist/export.d.ts +0 -1
- package/dist/hydration-flush-RB5Tz5nl.js +0 -1001
- package/dist/import.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.node.d.ts +0 -1
- package/dist/input-zGOULADt.js +0 -4
- package/dist/mono-button-CoVnBLav.js +0 -873
- package/dist/mono-button.shadow-FfP_hMH4.js +0 -784
- package/dist/nuxt.d.ts +0 -1
- package/dist/search.d.ts +0 -1
- package/dist/tooltip.d.ts +0 -1
- package/dist/ui/accordion.d.ts +0 -1
- package/dist/ui/alert.d.ts +0 -1
- package/dist/ui/breadcrumb.d.ts +0 -1
- package/dist/ui/button-dropdown.d.ts +0 -1
- package/dist/ui/button.d.ts +0 -1
- package/dist/ui/card.d.ts +0 -1
- package/dist/ui/chart.d.ts +0 -1
- package/dist/ui/checkbox.d.ts +0 -1
- package/dist/ui/chip.d.ts +0 -1
- package/dist/ui/date.d.ts +0 -1
- package/dist/ui/drawer.d.ts +0 -1
- package/dist/ui/dropdown-table.d.ts +0 -1
- package/dist/ui/dropdown.d.ts +0 -1
- package/dist/ui/file-upload.d.ts +0 -1
- package/dist/ui/filter.d.ts +0 -1
- package/dist/ui/form.d.ts +0 -1
- package/dist/ui/input.d.ts +0 -1
- package/dist/ui/menu.d.ts +0 -1
- package/dist/ui/modal.d.ts +0 -1
- package/dist/ui/nav.d.ts +0 -1
- package/dist/ui/radio.d.ts +0 -1
- package/dist/ui/rich-text-editor.d.ts +0 -1
- package/dist/ui/select.d.ts +0 -1
- package/dist/ui/sidebar.d.ts +0 -1
- package/dist/ui/switch.d.ts +0 -1
- package/dist/ui/table.d.ts +0 -1
- package/dist/ui/tabs.d.ts +0 -1
- package/dist/ui/tag-input.d.ts +0 -1
- package/dist/ui/textarea.d.ts +0 -1
- package/dist/vite.d.ts +0 -1
|
@@ -5,194 +5,39 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
9
9
|
var __exportAll = (all, no_symbols) => {
|
|
10
10
|
let target = {};
|
|
11
|
-
for (var name in all)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
for (var name in all) {
|
|
12
|
+
__defProp(target, name, {
|
|
13
|
+
get: all[name],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
if (!no_symbols) {
|
|
18
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
+
}
|
|
16
20
|
return target;
|
|
17
21
|
};
|
|
18
22
|
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
24
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
25
|
+
key = keys[i];
|
|
26
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
27
|
+
__defProp(to, key, {
|
|
28
|
+
get: ((k) => from[k]).bind(null, key),
|
|
29
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
25
33
|
}
|
|
26
34
|
return to;
|
|
27
35
|
};
|
|
28
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
36
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
29
37
|
value: mod,
|
|
30
38
|
enumerable: true
|
|
31
39
|
}) : target, mod));
|
|
32
|
-
|
|
33
|
-
//#region src/export/styles.ts
|
|
34
|
-
/**
|
|
35
|
-
* Built-in styles. Consumers override individual keys via `options.styles`
|
|
36
|
-
* without having to redefine a whole style.
|
|
37
|
-
*/
|
|
38
|
-
var DEFAULT_STYLES = {
|
|
39
|
-
title: {
|
|
40
|
-
bold: true,
|
|
41
|
-
size: 16,
|
|
42
|
-
align: "left",
|
|
43
|
-
height: 24
|
|
44
|
-
},
|
|
45
|
-
h1: {
|
|
46
|
-
bold: true,
|
|
47
|
-
size: 16,
|
|
48
|
-
height: 24
|
|
49
|
-
},
|
|
50
|
-
h2: {
|
|
51
|
-
bold: true,
|
|
52
|
-
size: 14,
|
|
53
|
-
height: 21
|
|
54
|
-
},
|
|
55
|
-
h3: {
|
|
56
|
-
bold: true,
|
|
57
|
-
size: 12,
|
|
58
|
-
height: 18
|
|
59
|
-
},
|
|
60
|
-
h4: {
|
|
61
|
-
bold: true,
|
|
62
|
-
size: 11
|
|
63
|
-
},
|
|
64
|
-
h5: {
|
|
65
|
-
bold: true,
|
|
66
|
-
size: 11
|
|
67
|
-
},
|
|
68
|
-
h6: {
|
|
69
|
-
bold: true,
|
|
70
|
-
size: 11,
|
|
71
|
-
italic: true
|
|
72
|
-
},
|
|
73
|
-
/** Table header row. */
|
|
74
|
-
header: {
|
|
75
|
-
bold: true,
|
|
76
|
-
color: "#FFFFFF",
|
|
77
|
-
bg: "#374151",
|
|
78
|
-
align: "center",
|
|
79
|
-
valign: "middle",
|
|
80
|
-
border: "all",
|
|
81
|
-
wrap: true
|
|
82
|
-
},
|
|
83
|
-
/** A group's banner row above its rows. */
|
|
84
|
-
groupHeader: {
|
|
85
|
-
bold: true,
|
|
86
|
-
bg: "#E5E7EB",
|
|
87
|
-
border: "bottom"
|
|
88
|
-
},
|
|
89
|
-
/** A subtotal / grand-total row. */
|
|
90
|
-
total: {
|
|
91
|
-
bold: true,
|
|
92
|
-
bg: "#F3F4F6",
|
|
93
|
-
border: "top"
|
|
94
|
-
},
|
|
95
|
-
currency: {
|
|
96
|
-
numFmt: "#,##0.00",
|
|
97
|
-
align: "right"
|
|
98
|
-
},
|
|
99
|
-
number: {
|
|
100
|
-
numFmt: "#,##0",
|
|
101
|
-
align: "right"
|
|
102
|
-
},
|
|
103
|
-
date: {
|
|
104
|
-
numFmt: "yyyy-mm-dd",
|
|
105
|
-
align: "center"
|
|
106
|
-
},
|
|
107
|
-
note: {
|
|
108
|
-
italic: true,
|
|
109
|
-
color: "#6B7280"
|
|
110
|
-
},
|
|
111
|
-
danger: {
|
|
112
|
-
color: "#991B1B",
|
|
113
|
-
bg: "#FEE2E2"
|
|
114
|
-
},
|
|
115
|
-
success: {
|
|
116
|
-
color: "#065F46",
|
|
117
|
-
bg: "#D1FAE5"
|
|
118
|
-
},
|
|
119
|
-
muted: { color: "#9CA3AF" },
|
|
120
|
-
link: {
|
|
121
|
-
color: "#0563C1",
|
|
122
|
-
underline: true
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
/** Merge user styles over the defaults, per style name (shallow, key by key). */
|
|
126
|
-
function mergeStyles(overrides = {}) {
|
|
127
|
-
const merged = {};
|
|
128
|
-
for (const [name, style] of Object.entries(DEFAULT_STYLES)) merged[name] = { ...style };
|
|
129
|
-
for (const [name, style] of Object.entries(overrides)) merged[name] = {
|
|
130
|
-
...merged[name] ?? {},
|
|
131
|
-
...style
|
|
132
|
-
};
|
|
133
|
-
return merged;
|
|
134
|
-
}
|
|
135
|
-
/** Later styles win, key by key — used to layer row style → cell style. */
|
|
136
|
-
function combineStyles(...styles) {
|
|
137
|
-
return Object.assign({}, ...styles.filter(Boolean));
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* ExcelJS wants `ARGB` without the `#`. Accepts `#rgb`, `#rrggbb` and
|
|
141
|
-
* `#aarrggbb`; anything already 8 hex digits is passed through.
|
|
142
|
-
*/
|
|
143
|
-
function toArgb(color) {
|
|
144
|
-
if (!color) return void 0;
|
|
145
|
-
let hex = color.replace("#", "").trim();
|
|
146
|
-
if (hex.length === 3) hex = hex.split("").map((c) => c + c).join("");
|
|
147
|
-
if (hex.length === 6) hex = `FF${hex}`;
|
|
148
|
-
return /^[0-9a-fA-F]{8}$/.test(hex) ? hex.toUpperCase() : void 0;
|
|
149
|
-
}
|
|
150
|
-
var VALIGN = {
|
|
151
|
-
top: "top",
|
|
152
|
-
middle: "middle",
|
|
153
|
-
bottom: "bottom"
|
|
154
|
-
};
|
|
155
|
-
/** Translate a semantic style into ExcelJS cell options. */
|
|
156
|
-
function toExcelStyle(style) {
|
|
157
|
-
const out = {};
|
|
158
|
-
const font = {};
|
|
159
|
-
if (style.bold) font.bold = true;
|
|
160
|
-
if (style.italic) font.italic = true;
|
|
161
|
-
if (style.underline) font.underline = true;
|
|
162
|
-
if (style.size) font.size = style.size;
|
|
163
|
-
if (style.font) font.name = style.font;
|
|
164
|
-
const fontColor = toArgb(style.color);
|
|
165
|
-
if (fontColor) font.color = { argb: fontColor };
|
|
166
|
-
if (Object.keys(font).length) out.font = font;
|
|
167
|
-
const bg = toArgb(style.bg);
|
|
168
|
-
if (bg) out.fill = {
|
|
169
|
-
type: "pattern",
|
|
170
|
-
pattern: "solid",
|
|
171
|
-
fgColor: { argb: bg }
|
|
172
|
-
};
|
|
173
|
-
const alignment = {};
|
|
174
|
-
if (style.align) alignment.horizontal = style.align;
|
|
175
|
-
if (style.valign) alignment.vertical = VALIGN[style.valign];
|
|
176
|
-
if (style.wrap) alignment.wrapText = true;
|
|
177
|
-
if (style.indent) alignment.indent = style.indent;
|
|
178
|
-
if (Object.keys(alignment).length) out.alignment = alignment;
|
|
179
|
-
if (style.border && style.border !== "none") {
|
|
180
|
-
const edge = {
|
|
181
|
-
style: "thin",
|
|
182
|
-
color: { argb: toArgb(style.borderColor) ?? "FFD1D5DB" }
|
|
183
|
-
};
|
|
184
|
-
if (style.border === "all" || style.border === "outline") out.border = {
|
|
185
|
-
top: edge,
|
|
186
|
-
left: edge,
|
|
187
|
-
bottom: edge,
|
|
188
|
-
right: edge
|
|
189
|
-
};
|
|
190
|
-
else if (style.border === "bottom") out.border = { bottom: edge };
|
|
191
|
-
else if (style.border === "top") out.border = { top: edge };
|
|
192
|
-
}
|
|
193
|
-
if (style.numFmt) out.numFmt = style.numFmt;
|
|
194
|
-
return out;
|
|
195
|
-
}
|
|
40
|
+
|
|
196
41
|
//#endregion
|
|
197
42
|
//#region ../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
198
43
|
/**
|
|
@@ -206,7 +51,7 @@ function toExcelStyle(style) {
|
|
|
206
51
|
* Whether to use `value` of HTML (default: `true`).
|
|
207
52
|
*/
|
|
208
53
|
/** @type {Options} */
|
|
209
|
-
|
|
54
|
+
const emptyOptions$1 = {};
|
|
210
55
|
/**
|
|
211
56
|
* Get the text content of a node or list of nodes.
|
|
212
57
|
*
|
|
@@ -275,6 +120,7 @@ function all(values, includeImageAlt, includeHtml) {
|
|
|
275
120
|
function node(value) {
|
|
276
121
|
return Boolean(value && typeof value === "object");
|
|
277
122
|
}
|
|
123
|
+
|
|
278
124
|
//#endregion
|
|
279
125
|
//#region ../../node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
280
126
|
/**
|
|
@@ -282,7 +128,7 @@ function node(value) {
|
|
|
282
128
|
*
|
|
283
129
|
* @type {Record<string, string>}
|
|
284
130
|
*/
|
|
285
|
-
|
|
131
|
+
const characterEntities = {
|
|
286
132
|
AElig: "Æ",
|
|
287
133
|
AMP: "&",
|
|
288
134
|
Aacute: "Á",
|
|
@@ -2409,9 +2255,10 @@ var characterEntities = {
|
|
|
2409
2255
|
zwj: "",
|
|
2410
2256
|
zwnj: ""
|
|
2411
2257
|
};
|
|
2258
|
+
|
|
2412
2259
|
//#endregion
|
|
2413
2260
|
//#region ../../node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
2414
|
-
|
|
2261
|
+
const own$4 = {}.hasOwnProperty;
|
|
2415
2262
|
/**
|
|
2416
2263
|
* Decode a single character reference (without the `&` or `;`).
|
|
2417
2264
|
* You probably only need this when you’re building parsers yourself that follow
|
|
@@ -2426,6 +2273,7 @@ var own$4 = {}.hasOwnProperty;
|
|
|
2426
2273
|
function decodeNamedCharacterReference(value) {
|
|
2427
2274
|
return own$4.call(characterEntities, value) ? characterEntities[value] : false;
|
|
2428
2275
|
}
|
|
2276
|
+
|
|
2429
2277
|
//#endregion
|
|
2430
2278
|
//#region ../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
2431
2279
|
/**
|
|
@@ -2496,6 +2344,7 @@ function push(list, items) {
|
|
|
2496
2344
|
}
|
|
2497
2345
|
return items;
|
|
2498
2346
|
}
|
|
2347
|
+
|
|
2499
2348
|
//#endregion
|
|
2500
2349
|
//#region ../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
2501
2350
|
/**
|
|
@@ -2506,7 +2355,7 @@ function push(list, items) {
|
|
|
2506
2355
|
* NormalizedExtension
|
|
2507
2356
|
* } from 'micromark-util-types'
|
|
2508
2357
|
*/
|
|
2509
|
-
|
|
2358
|
+
const hasOwnProperty = {}.hasOwnProperty;
|
|
2510
2359
|
/**
|
|
2511
2360
|
* Combine multiple syntax extensions into one.
|
|
2512
2361
|
*
|
|
@@ -2567,6 +2416,7 @@ function constructs(existing, list) {
|
|
|
2567
2416
|
while (++index < list.length) (list[index].add === "after" ? existing : before).push(list[index]);
|
|
2568
2417
|
splice(existing, 0, 0, before);
|
|
2569
2418
|
}
|
|
2419
|
+
|
|
2570
2420
|
//#endregion
|
|
2571
2421
|
//#region ../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2572
2422
|
/**
|
|
@@ -2588,6 +2438,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2588
2438
|
if (code < 9 || code === 11 || code > 13 && code < 32 || code > 126 && code < 160 || code > 55295 && code < 57344 || code > 64975 && code < 65008 || (code & 65535) === 65535 || (code & 65535) === 65534 || code > 1114111) return "�";
|
|
2589
2439
|
return String.fromCodePoint(code);
|
|
2590
2440
|
}
|
|
2441
|
+
|
|
2591
2442
|
//#endregion
|
|
2592
2443
|
//#region ../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
2593
2444
|
/**
|
|
@@ -2612,6 +2463,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2612
2463
|
function normalizeIdentifier(value) {
|
|
2613
2464
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2614
2465
|
}
|
|
2466
|
+
|
|
2615
2467
|
//#endregion
|
|
2616
2468
|
//#region ../../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
2617
2469
|
/**
|
|
@@ -2634,7 +2486,7 @@ function normalizeIdentifier(value) {
|
|
|
2634
2486
|
* @returns {boolean}
|
|
2635
2487
|
* Whether it matches.
|
|
2636
2488
|
*/
|
|
2637
|
-
|
|
2489
|
+
const asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
2638
2490
|
/**
|
|
2639
2491
|
* Check whether the character code represents an ASCII alphanumeric (`a`
|
|
2640
2492
|
* through `z`, case insensitive, or `0` through `9`).
|
|
@@ -2647,7 +2499,7 @@ var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
|
2647
2499
|
* @returns {boolean}
|
|
2648
2500
|
* Whether it matches.
|
|
2649
2501
|
*/
|
|
2650
|
-
|
|
2502
|
+
const asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
2651
2503
|
/**
|
|
2652
2504
|
* Check whether the character code represents an ASCII atext.
|
|
2653
2505
|
*
|
|
@@ -2669,7 +2521,7 @@ var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
|
2669
2521
|
* @returns {boolean}
|
|
2670
2522
|
* Whether it matches.
|
|
2671
2523
|
*/
|
|
2672
|
-
|
|
2524
|
+
const asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
2673
2525
|
/**
|
|
2674
2526
|
* Check whether a character code is an ASCII control character.
|
|
2675
2527
|
*
|
|
@@ -2695,7 +2547,7 @@ function asciiControl(code) {
|
|
|
2695
2547
|
* @returns {boolean}
|
|
2696
2548
|
* Whether it matches.
|
|
2697
2549
|
*/
|
|
2698
|
-
|
|
2550
|
+
const asciiDigit = regexCheck(/\d/);
|
|
2699
2551
|
/**
|
|
2700
2552
|
* Check whether the character code represents an ASCII hex digit (`a` through
|
|
2701
2553
|
* `f`, case insensitive, or `0` through `9`).
|
|
@@ -2714,7 +2566,7 @@ var asciiDigit = regexCheck(/\d/);
|
|
|
2714
2566
|
* @returns {boolean}
|
|
2715
2567
|
* Whether it matches.
|
|
2716
2568
|
*/
|
|
2717
|
-
|
|
2569
|
+
const asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
|
|
2718
2570
|
/**
|
|
2719
2571
|
* Check whether the character code represents ASCII punctuation.
|
|
2720
2572
|
*
|
|
@@ -2728,7 +2580,7 @@ var asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
|
|
|
2728
2580
|
* @returns {boolean}
|
|
2729
2581
|
* Whether it matches.
|
|
2730
2582
|
*/
|
|
2731
|
-
|
|
2583
|
+
const asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);
|
|
2732
2584
|
/**
|
|
2733
2585
|
* Check whether a character code is a markdown line ending.
|
|
2734
2586
|
*
|
|
@@ -2796,7 +2648,7 @@ function markdownSpace(code) {
|
|
|
2796
2648
|
* @returns
|
|
2797
2649
|
* Whether it matches.
|
|
2798
2650
|
*/
|
|
2799
|
-
|
|
2651
|
+
const unicodePunctuation = regexCheck(/\p{P}|\p{S}/u);
|
|
2800
2652
|
/**
|
|
2801
2653
|
* Check whether the character code represents Unicode whitespace.
|
|
2802
2654
|
*
|
|
@@ -2817,7 +2669,7 @@ var unicodePunctuation = regexCheck(/\p{P}|\p{S}/u);
|
|
|
2817
2669
|
* @returns
|
|
2818
2670
|
* Whether it matches.
|
|
2819
2671
|
*/
|
|
2820
|
-
|
|
2672
|
+
const unicodeWhitespace = regexCheck(/\s/);
|
|
2821
2673
|
/**
|
|
2822
2674
|
* Create a code check from a regex.
|
|
2823
2675
|
*
|
|
@@ -2840,6 +2692,7 @@ function regexCheck(regex) {
|
|
|
2840
2692
|
return code !== null && code > -1 && regex.test(String.fromCharCode(code));
|
|
2841
2693
|
}
|
|
2842
2694
|
}
|
|
2695
|
+
|
|
2843
2696
|
//#endregion
|
|
2844
2697
|
//#region ../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js
|
|
2845
2698
|
/**
|
|
@@ -2899,6 +2752,7 @@ function factorySpace(effects, ok, type, max) {
|
|
|
2899
2752
|
return ok(code);
|
|
2900
2753
|
}
|
|
2901
2754
|
}
|
|
2755
|
+
|
|
2902
2756
|
//#endregion
|
|
2903
2757
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
2904
2758
|
/**
|
|
@@ -2911,7 +2765,7 @@ function factorySpace(effects, ok, type, max) {
|
|
|
2911
2765
|
* } from 'micromark-util-types'
|
|
2912
2766
|
*/
|
|
2913
2767
|
/** @type {InitialConstruct} */
|
|
2914
|
-
|
|
2768
|
+
const content$1 = { tokenize: initializeContent };
|
|
2915
2769
|
/**
|
|
2916
2770
|
* @this {TokenizeContext}
|
|
2917
2771
|
* Context.
|
|
@@ -2966,6 +2820,7 @@ function initializeContent(effects) {
|
|
|
2966
2820
|
return data;
|
|
2967
2821
|
}
|
|
2968
2822
|
}
|
|
2823
|
+
|
|
2969
2824
|
//#endregion
|
|
2970
2825
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
2971
2826
|
/**
|
|
@@ -2986,9 +2841,9 @@ function initializeContent(effects) {
|
|
|
2986
2841
|
* Construct and its state.
|
|
2987
2842
|
*/
|
|
2988
2843
|
/** @type {InitialConstruct} */
|
|
2989
|
-
|
|
2844
|
+
const document$1 = { tokenize: initializeDocument };
|
|
2990
2845
|
/** @type {Construct} */
|
|
2991
|
-
|
|
2846
|
+
const containerConstruct = { tokenize: tokenizeContainer };
|
|
2992
2847
|
/**
|
|
2993
2848
|
* @this {TokenizeContext}
|
|
2994
2849
|
* Self.
|
|
@@ -3182,6 +3037,7 @@ function initializeDocument(effects) {
|
|
|
3182
3037
|
function tokenizeContainer(effects, ok, nok) {
|
|
3183
3038
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
3184
3039
|
}
|
|
3040
|
+
|
|
3185
3041
|
//#endregion
|
|
3186
3042
|
//#region ../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
3187
3043
|
/**
|
|
@@ -3205,6 +3061,7 @@ function classifyCharacter(code) {
|
|
|
3205
3061
|
if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) return 1;
|
|
3206
3062
|
if (unicodePunctuation(code)) return 2;
|
|
3207
3063
|
}
|
|
3064
|
+
|
|
3208
3065
|
//#endregion
|
|
3209
3066
|
//#region ../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
3210
3067
|
/**
|
|
@@ -3235,6 +3092,7 @@ function resolveAll(constructs, events, context) {
|
|
|
3235
3092
|
}
|
|
3236
3093
|
return events;
|
|
3237
3094
|
}
|
|
3095
|
+
|
|
3238
3096
|
//#endregion
|
|
3239
3097
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js
|
|
3240
3098
|
/**
|
|
@@ -3251,7 +3109,7 @@ function resolveAll(constructs, events, context) {
|
|
|
3251
3109
|
* } from 'micromark-util-types'
|
|
3252
3110
|
*/
|
|
3253
3111
|
/** @type {Construct} */
|
|
3254
|
-
|
|
3112
|
+
const attention = {
|
|
3255
3113
|
name: "attention",
|
|
3256
3114
|
resolveAll: resolveAllAttention,
|
|
3257
3115
|
tokenize: tokenizeAttention
|
|
@@ -3455,6 +3313,7 @@ function movePoint(point, offset) {
|
|
|
3455
3313
|
point.offset += offset;
|
|
3456
3314
|
point._bufferIndex += offset;
|
|
3457
3315
|
}
|
|
3316
|
+
|
|
3458
3317
|
//#endregion
|
|
3459
3318
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
3460
3319
|
/**
|
|
@@ -3466,7 +3325,7 @@ function movePoint(point, offset) {
|
|
|
3466
3325
|
* } from 'micromark-util-types'
|
|
3467
3326
|
*/
|
|
3468
3327
|
/** @type {Construct} */
|
|
3469
|
-
|
|
3328
|
+
const autolink = {
|
|
3470
3329
|
name: "autolink",
|
|
3471
3330
|
tokenize: tokenizeAutolink
|
|
3472
3331
|
};
|
|
@@ -3666,6 +3525,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
3666
3525
|
return nok(code);
|
|
3667
3526
|
}
|
|
3668
3527
|
}
|
|
3528
|
+
|
|
3669
3529
|
//#endregion
|
|
3670
3530
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
3671
3531
|
/**
|
|
@@ -3677,7 +3537,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
3677
3537
|
* } from 'micromark-util-types'
|
|
3678
3538
|
*/
|
|
3679
3539
|
/** @type {Construct} */
|
|
3680
|
-
|
|
3540
|
+
const blankLine = {
|
|
3681
3541
|
partial: true,
|
|
3682
3542
|
tokenize: tokenizeBlankLine
|
|
3683
3543
|
};
|
|
@@ -3723,6 +3583,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
3723
3583
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
3724
3584
|
}
|
|
3725
3585
|
}
|
|
3586
|
+
|
|
3726
3587
|
//#endregion
|
|
3727
3588
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
3728
3589
|
/**
|
|
@@ -3735,7 +3596,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
3735
3596
|
* } from 'micromark-util-types'
|
|
3736
3597
|
*/
|
|
3737
3598
|
/** @type {Construct} */
|
|
3738
|
-
|
|
3599
|
+
const blockQuote = {
|
|
3739
3600
|
continuation: { tokenize: tokenizeBlockQuoteContinuation },
|
|
3740
3601
|
exit: exit$1,
|
|
3741
3602
|
name: "blockQuote",
|
|
@@ -3850,6 +3711,7 @@ function tokenizeBlockQuoteContinuation(effects, ok, nok) {
|
|
|
3850
3711
|
function exit$1(effects) {
|
|
3851
3712
|
effects.exit("blockQuote");
|
|
3852
3713
|
}
|
|
3714
|
+
|
|
3853
3715
|
//#endregion
|
|
3854
3716
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
3855
3717
|
/**
|
|
@@ -3861,7 +3723,7 @@ function exit$1(effects) {
|
|
|
3861
3723
|
* } from 'micromark-util-types'
|
|
3862
3724
|
*/
|
|
3863
3725
|
/** @type {Construct} */
|
|
3864
|
-
|
|
3726
|
+
const characterEscape = {
|
|
3865
3727
|
name: "characterEscape",
|
|
3866
3728
|
tokenize: tokenizeCharacterEscape
|
|
3867
3729
|
};
|
|
@@ -3910,6 +3772,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
3910
3772
|
return nok(code);
|
|
3911
3773
|
}
|
|
3912
3774
|
}
|
|
3775
|
+
|
|
3913
3776
|
//#endregion
|
|
3914
3777
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
3915
3778
|
/**
|
|
@@ -3922,7 +3785,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
3922
3785
|
* } from 'micromark-util-types'
|
|
3923
3786
|
*/
|
|
3924
3787
|
/** @type {Construct} */
|
|
3925
|
-
|
|
3788
|
+
const characterReference = {
|
|
3926
3789
|
name: "characterReference",
|
|
3927
3790
|
tokenize: tokenizeCharacterReference
|
|
3928
3791
|
};
|
|
@@ -4048,6 +3911,7 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
4048
3911
|
return nok(code);
|
|
4049
3912
|
}
|
|
4050
3913
|
}
|
|
3914
|
+
|
|
4051
3915
|
//#endregion
|
|
4052
3916
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
4053
3917
|
/**
|
|
@@ -4060,12 +3924,12 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
4060
3924
|
* } from 'micromark-util-types'
|
|
4061
3925
|
*/
|
|
4062
3926
|
/** @type {Construct} */
|
|
4063
|
-
|
|
3927
|
+
const nonLazyContinuation = {
|
|
4064
3928
|
partial: true,
|
|
4065
3929
|
tokenize: tokenizeNonLazyContinuation
|
|
4066
3930
|
};
|
|
4067
3931
|
/** @type {Construct} */
|
|
4068
|
-
|
|
3932
|
+
const codeFenced = {
|
|
4069
3933
|
concrete: true,
|
|
4070
3934
|
name: "codeFenced",
|
|
4071
3935
|
tokenize: tokenizeCodeFenced
|
|
@@ -4463,6 +4327,7 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
4463
4327
|
return self.parser.lazy[self.now().line] ? nok(code) : ok(code);
|
|
4464
4328
|
}
|
|
4465
4329
|
}
|
|
4330
|
+
|
|
4466
4331
|
//#endregion
|
|
4467
4332
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
4468
4333
|
/**
|
|
@@ -4474,12 +4339,12 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
4474
4339
|
* } from 'micromark-util-types'
|
|
4475
4340
|
*/
|
|
4476
4341
|
/** @type {Construct} */
|
|
4477
|
-
|
|
4342
|
+
const codeIndented = {
|
|
4478
4343
|
name: "codeIndented",
|
|
4479
4344
|
tokenize: tokenizeCodeIndented
|
|
4480
4345
|
};
|
|
4481
4346
|
/** @type {Construct} */
|
|
4482
|
-
|
|
4347
|
+
const furtherStart = {
|
|
4483
4348
|
partial: true,
|
|
4484
4349
|
tokenize: tokenizeFurtherStart
|
|
4485
4350
|
};
|
|
@@ -4607,6 +4472,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
4607
4472
|
return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? ok(code) : markdownLineEnding(code) ? furtherStart(code) : nok(code);
|
|
4608
4473
|
}
|
|
4609
4474
|
}
|
|
4475
|
+
|
|
4610
4476
|
//#endregion
|
|
4611
4477
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
4612
4478
|
/**
|
|
@@ -4621,7 +4487,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
4621
4487
|
* } from 'micromark-util-types'
|
|
4622
4488
|
*/
|
|
4623
4489
|
/** @type {Construct} */
|
|
4624
|
-
|
|
4490
|
+
const codeText = {
|
|
4625
4491
|
name: "codeText",
|
|
4626
4492
|
previous: previous$1,
|
|
4627
4493
|
resolve: resolveCodeText,
|
|
@@ -4792,6 +4658,7 @@ function tokenizeCodeText(effects, ok, nok) {
|
|
|
4792
4658
|
return data(code);
|
|
4793
4659
|
}
|
|
4794
4660
|
}
|
|
4661
|
+
|
|
4795
4662
|
//#endregion
|
|
4796
4663
|
//#region ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
4797
4664
|
/**
|
|
@@ -5022,6 +4889,7 @@ function chunkedPush(list, right) {
|
|
|
5022
4889
|
chunkStart += 1e4;
|
|
5023
4890
|
}
|
|
5024
4891
|
}
|
|
4892
|
+
|
|
5025
4893
|
//#endregion
|
|
5026
4894
|
//#region ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
5027
4895
|
/**
|
|
@@ -5177,6 +5045,7 @@ function subcontent(events, eventIndex) {
|
|
|
5177
5045
|
}
|
|
5178
5046
|
return gaps;
|
|
5179
5047
|
}
|
|
5048
|
+
|
|
5180
5049
|
//#endregion
|
|
5181
5050
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js
|
|
5182
5051
|
/**
|
|
@@ -5193,12 +5062,12 @@ function subcontent(events, eventIndex) {
|
|
|
5193
5062
|
* No name because it must not be turned off.
|
|
5194
5063
|
* @type {Construct}
|
|
5195
5064
|
*/
|
|
5196
|
-
|
|
5065
|
+
const content = {
|
|
5197
5066
|
resolve: resolveContent,
|
|
5198
5067
|
tokenize: tokenizeContent
|
|
5199
5068
|
};
|
|
5200
5069
|
/** @type {Construct} */
|
|
5201
|
-
|
|
5070
|
+
const continuationConstruct = {
|
|
5202
5071
|
partial: true,
|
|
5203
5072
|
tokenize: tokenizeContinuation
|
|
5204
5073
|
};
|
|
@@ -5310,6 +5179,7 @@ function tokenizeContinuation(effects, ok, nok) {
|
|
|
5310
5179
|
return effects.interrupt(self.parser.constructs.flow, nok, ok)(code);
|
|
5311
5180
|
}
|
|
5312
5181
|
}
|
|
5182
|
+
|
|
5313
5183
|
//#endregion
|
|
5314
5184
|
//#region ../../node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
5315
5185
|
/**
|
|
@@ -5494,6 +5364,7 @@ function factoryDestination(effects, ok, nok, type, literalType, literalMarkerTy
|
|
|
5494
5364
|
return raw(code);
|
|
5495
5365
|
}
|
|
5496
5366
|
}
|
|
5367
|
+
|
|
5497
5368
|
//#endregion
|
|
5498
5369
|
//#region ../../node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
5499
5370
|
/**
|
|
@@ -5570,7 +5441,9 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
5570
5441
|
* @type {State}
|
|
5571
5442
|
*/
|
|
5572
5443
|
function atBreak(code) {
|
|
5573
|
-
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
5444
|
+
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
5445
|
+
/* c8 ignore next 3 */
|
|
5446
|
+
code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
|
|
5574
5447
|
if (code === 93) {
|
|
5575
5448
|
effects.exit(stringType);
|
|
5576
5449
|
effects.enter(markerType);
|
|
@@ -5626,6 +5499,7 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
5626
5499
|
return labelInside(code);
|
|
5627
5500
|
}
|
|
5628
5501
|
}
|
|
5502
|
+
|
|
5629
5503
|
//#endregion
|
|
5630
5504
|
//#region ../../node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
5631
5505
|
/**
|
|
@@ -5771,6 +5645,7 @@ function factoryTitle(effects, ok, nok, type, markerType, stringType) {
|
|
|
5771
5645
|
return inside(code);
|
|
5772
5646
|
}
|
|
5773
5647
|
}
|
|
5648
|
+
|
|
5774
5649
|
//#endregion
|
|
5775
5650
|
//#region ../../node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
5776
5651
|
/**
|
|
@@ -5811,6 +5686,7 @@ function factoryWhitespace(effects, ok) {
|
|
|
5811
5686
|
return ok(code);
|
|
5812
5687
|
}
|
|
5813
5688
|
}
|
|
5689
|
+
|
|
5814
5690
|
//#endregion
|
|
5815
5691
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js
|
|
5816
5692
|
/**
|
|
@@ -5822,12 +5698,12 @@ function factoryWhitespace(effects, ok) {
|
|
|
5822
5698
|
* } from 'micromark-util-types'
|
|
5823
5699
|
*/
|
|
5824
5700
|
/** @type {Construct} */
|
|
5825
|
-
|
|
5701
|
+
const definition$1 = {
|
|
5826
5702
|
name: "definition",
|
|
5827
5703
|
tokenize: tokenizeDefinition
|
|
5828
5704
|
};
|
|
5829
5705
|
/** @type {Construct} */
|
|
5830
|
-
|
|
5706
|
+
const titleBefore = {
|
|
5831
5707
|
partial: true,
|
|
5832
5708
|
tokenize: tokenizeTitleBefore
|
|
5833
5709
|
};
|
|
@@ -6026,6 +5902,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
6026
5902
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
6027
5903
|
}
|
|
6028
5904
|
}
|
|
5905
|
+
|
|
6029
5906
|
//#endregion
|
|
6030
5907
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
6031
5908
|
/**
|
|
@@ -6037,7 +5914,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
6037
5914
|
* } from 'micromark-util-types'
|
|
6038
5915
|
*/
|
|
6039
5916
|
/** @type {Construct} */
|
|
6040
|
-
|
|
5917
|
+
const hardBreakEscape = {
|
|
6041
5918
|
name: "hardBreakEscape",
|
|
6042
5919
|
tokenize: tokenizeHardBreakEscape
|
|
6043
5920
|
};
|
|
@@ -6083,6 +5960,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
6083
5960
|
return nok(code);
|
|
6084
5961
|
}
|
|
6085
5962
|
}
|
|
5963
|
+
|
|
6086
5964
|
//#endregion
|
|
6087
5965
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
6088
5966
|
/**
|
|
@@ -6096,7 +5974,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
6096
5974
|
* } from 'micromark-util-types'
|
|
6097
5975
|
*/
|
|
6098
5976
|
/** @type {Construct} */
|
|
6099
|
-
|
|
5977
|
+
const headingAtx = {
|
|
6100
5978
|
name: "headingAtx",
|
|
6101
5979
|
resolve: resolveHeadingAtx,
|
|
6102
5980
|
tokenize: tokenizeHeadingAtx
|
|
@@ -6268,6 +6146,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
6268
6146
|
return data;
|
|
6269
6147
|
}
|
|
6270
6148
|
}
|
|
6149
|
+
|
|
6271
6150
|
//#endregion
|
|
6272
6151
|
//#region ../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
6273
6152
|
/**
|
|
@@ -6285,7 +6164,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
6285
6164
|
*
|
|
6286
6165
|
* > 👉 **Note**: `search` was added in `CommonMark@0.31`.
|
|
6287
6166
|
*/
|
|
6288
|
-
|
|
6167
|
+
const htmlBlockNames = [
|
|
6289
6168
|
"address",
|
|
6290
6169
|
"article",
|
|
6291
6170
|
"aside",
|
|
@@ -6361,12 +6240,13 @@ var htmlBlockNames = [
|
|
|
6361
6240
|
*
|
|
6362
6241
|
* > 👉 **Note**: `textarea` was added in `CommonMark@0.30`.
|
|
6363
6242
|
*/
|
|
6364
|
-
|
|
6243
|
+
const htmlRawNames = [
|
|
6365
6244
|
"pre",
|
|
6366
6245
|
"script",
|
|
6367
6246
|
"style",
|
|
6368
6247
|
"textarea"
|
|
6369
6248
|
];
|
|
6249
|
+
|
|
6370
6250
|
//#endregion
|
|
6371
6251
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
6372
6252
|
/**
|
|
@@ -6380,18 +6260,18 @@ var htmlRawNames = [
|
|
|
6380
6260
|
* } from 'micromark-util-types'
|
|
6381
6261
|
*/
|
|
6382
6262
|
/** @type {Construct} */
|
|
6383
|
-
|
|
6263
|
+
const htmlFlow = {
|
|
6384
6264
|
concrete: true,
|
|
6385
6265
|
name: "htmlFlow",
|
|
6386
6266
|
resolveTo: resolveToHtmlFlow,
|
|
6387
6267
|
tokenize: tokenizeHtmlFlow
|
|
6388
6268
|
};
|
|
6389
6269
|
/** @type {Construct} */
|
|
6390
|
-
|
|
6270
|
+
const blankLineBefore = {
|
|
6391
6271
|
partial: true,
|
|
6392
6272
|
tokenize: tokenizeBlankLineBefore
|
|
6393
6273
|
};
|
|
6394
|
-
|
|
6274
|
+
const nonLazyContinuationStart = {
|
|
6395
6275
|
partial: true,
|
|
6396
6276
|
tokenize: tokenizeNonLazyContinuationStart
|
|
6397
6277
|
};
|
|
@@ -7140,6 +7020,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
7140
7020
|
return effects.attempt(blankLine, ok, nok);
|
|
7141
7021
|
}
|
|
7142
7022
|
}
|
|
7023
|
+
|
|
7143
7024
|
//#endregion
|
|
7144
7025
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
7145
7026
|
/**
|
|
@@ -7152,7 +7033,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
7152
7033
|
* } from 'micromark-util-types'
|
|
7153
7034
|
*/
|
|
7154
7035
|
/** @type {Construct} */
|
|
7155
|
-
|
|
7036
|
+
const htmlText = {
|
|
7156
7037
|
name: "htmlText",
|
|
7157
7038
|
tokenize: tokenizeHtmlText
|
|
7158
7039
|
};
|
|
@@ -7754,6 +7635,7 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
7754
7635
|
return returnState(code);
|
|
7755
7636
|
}
|
|
7756
7637
|
}
|
|
7638
|
+
|
|
7757
7639
|
//#endregion
|
|
7758
7640
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7759
7641
|
/**
|
|
@@ -7768,18 +7650,18 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
7768
7650
|
* } from 'micromark-util-types'
|
|
7769
7651
|
*/
|
|
7770
7652
|
/** @type {Construct} */
|
|
7771
|
-
|
|
7653
|
+
const labelEnd = {
|
|
7772
7654
|
name: "labelEnd",
|
|
7773
7655
|
resolveAll: resolveAllLabelEnd,
|
|
7774
7656
|
resolveTo: resolveToLabelEnd,
|
|
7775
7657
|
tokenize: tokenizeLabelEnd
|
|
7776
7658
|
};
|
|
7777
7659
|
/** @type {Construct} */
|
|
7778
|
-
|
|
7660
|
+
const resourceConstruct = { tokenize: tokenizeResource };
|
|
7779
7661
|
/** @type {Construct} */
|
|
7780
|
-
|
|
7662
|
+
const referenceFullConstruct = { tokenize: tokenizeReferenceFull };
|
|
7781
7663
|
/** @type {Construct} */
|
|
7782
|
-
|
|
7664
|
+
const referenceCollapsedConstruct = { tokenize: tokenizeReferenceCollapsed };
|
|
7783
7665
|
/** @type {Resolver} */
|
|
7784
7666
|
function resolveAllLabelEnd(events) {
|
|
7785
7667
|
let index = -1;
|
|
@@ -8224,6 +8106,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
8224
8106
|
return nok(code);
|
|
8225
8107
|
}
|
|
8226
8108
|
}
|
|
8109
|
+
|
|
8227
8110
|
//#endregion
|
|
8228
8111
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
8229
8112
|
/**
|
|
@@ -8235,7 +8118,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
8235
8118
|
* } from 'micromark-util-types'
|
|
8236
8119
|
*/
|
|
8237
8120
|
/** @type {Construct} */
|
|
8238
|
-
|
|
8121
|
+
const labelStartImage = {
|
|
8239
8122
|
name: "labelStartImage",
|
|
8240
8123
|
resolveAll: labelEnd.resolveAll,
|
|
8241
8124
|
tokenize: tokenizeLabelStartImage
|
|
@@ -8317,6 +8200,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
8317
8200
|
return code === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code) : ok(code);
|
|
8318
8201
|
}
|
|
8319
8202
|
}
|
|
8203
|
+
|
|
8320
8204
|
//#endregion
|
|
8321
8205
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
8322
8206
|
/**
|
|
@@ -8328,7 +8212,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
8328
8212
|
* } from 'micromark-util-types'
|
|
8329
8213
|
*/
|
|
8330
8214
|
/** @type {Construct} */
|
|
8331
|
-
|
|
8215
|
+
const labelStartLink = {
|
|
8332
8216
|
name: "labelStartLink",
|
|
8333
8217
|
resolveAll: labelEnd.resolveAll,
|
|
8334
8218
|
tokenize: tokenizeLabelStartLink
|
|
@@ -8365,6 +8249,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
8365
8249
|
return code === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code) : ok(code);
|
|
8366
8250
|
}
|
|
8367
8251
|
}
|
|
8252
|
+
|
|
8368
8253
|
//#endregion
|
|
8369
8254
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8370
8255
|
/**
|
|
@@ -8376,7 +8261,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
8376
8261
|
* } from 'micromark-util-types'
|
|
8377
8262
|
*/
|
|
8378
8263
|
/** @type {Construct} */
|
|
8379
|
-
|
|
8264
|
+
const lineEnding = {
|
|
8380
8265
|
name: "lineEnding",
|
|
8381
8266
|
tokenize: tokenizeLineEnding
|
|
8382
8267
|
};
|
|
@@ -8395,6 +8280,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
8395
8280
|
return factorySpace(effects, ok, "linePrefix");
|
|
8396
8281
|
}
|
|
8397
8282
|
}
|
|
8283
|
+
|
|
8398
8284
|
//#endregion
|
|
8399
8285
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8400
8286
|
/**
|
|
@@ -8407,7 +8293,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
8407
8293
|
* } from 'micromark-util-types'
|
|
8408
8294
|
*/
|
|
8409
8295
|
/** @type {Construct} */
|
|
8410
|
-
|
|
8296
|
+
const thematicBreak$1 = {
|
|
8411
8297
|
name: "thematicBreak",
|
|
8412
8298
|
tokenize: tokenizeThematicBreak
|
|
8413
8299
|
};
|
|
@@ -8490,6 +8376,7 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
8490
8376
|
return markdownSpace(code) ? factorySpace(effects, atBreak, "whitespace")(code) : atBreak(code);
|
|
8491
8377
|
}
|
|
8492
8378
|
}
|
|
8379
|
+
|
|
8493
8380
|
//#endregion
|
|
8494
8381
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js
|
|
8495
8382
|
/**
|
|
@@ -8503,19 +8390,19 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
8503
8390
|
* } from 'micromark-util-types'
|
|
8504
8391
|
*/
|
|
8505
8392
|
/** @type {Construct} */
|
|
8506
|
-
|
|
8393
|
+
const list$2 = {
|
|
8507
8394
|
continuation: { tokenize: tokenizeListContinuation },
|
|
8508
8395
|
exit: tokenizeListEnd,
|
|
8509
8396
|
name: "list",
|
|
8510
8397
|
tokenize: tokenizeListStart
|
|
8511
8398
|
};
|
|
8512
8399
|
/** @type {Construct} */
|
|
8513
|
-
|
|
8400
|
+
const listItemPrefixWhitespaceConstruct = {
|
|
8514
8401
|
partial: true,
|
|
8515
8402
|
tokenize: tokenizeListItemPrefixWhitespace
|
|
8516
8403
|
};
|
|
8517
8404
|
/** @type {Construct} */
|
|
8518
|
-
|
|
8405
|
+
const indentConstruct = {
|
|
8519
8406
|
partial: true,
|
|
8520
8407
|
tokenize: tokenizeIndent$1
|
|
8521
8408
|
};
|
|
@@ -8662,6 +8549,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
8662
8549
|
return !markdownSpace(code) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok(code) : nok(code);
|
|
8663
8550
|
}
|
|
8664
8551
|
}
|
|
8552
|
+
|
|
8665
8553
|
//#endregion
|
|
8666
8554
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8667
8555
|
/**
|
|
@@ -8675,7 +8563,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
8675
8563
|
* } from 'micromark-util-types'
|
|
8676
8564
|
*/
|
|
8677
8565
|
/** @type {Construct} */
|
|
8678
|
-
|
|
8566
|
+
const setextUnderline = {
|
|
8679
8567
|
name: "setextUnderline",
|
|
8680
8568
|
resolveTo: resolveToSetextUnderline,
|
|
8681
8569
|
tokenize: tokenizeSetextUnderline
|
|
@@ -8814,6 +8702,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
8814
8702
|
return nok(code);
|
|
8815
8703
|
}
|
|
8816
8704
|
}
|
|
8705
|
+
|
|
8817
8706
|
//#endregion
|
|
8818
8707
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
8819
8708
|
/**
|
|
@@ -8825,7 +8714,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
8825
8714
|
* } from 'micromark-util-types'
|
|
8826
8715
|
*/
|
|
8827
8716
|
/** @type {InitialConstruct} */
|
|
8828
|
-
|
|
8717
|
+
const flow$1 = { tokenize: initializeFlow };
|
|
8829
8718
|
/**
|
|
8830
8719
|
* @this {TokenizeContext}
|
|
8831
8720
|
* Self.
|
|
@@ -8861,6 +8750,7 @@ function initializeFlow(effects) {
|
|
|
8861
8750
|
return initial;
|
|
8862
8751
|
}
|
|
8863
8752
|
}
|
|
8753
|
+
|
|
8864
8754
|
//#endregion
|
|
8865
8755
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
8866
8756
|
/**
|
|
@@ -8873,9 +8763,9 @@ function initializeFlow(effects) {
|
|
|
8873
8763
|
* TokenizeContext
|
|
8874
8764
|
* } from 'micromark-util-types'
|
|
8875
8765
|
*/
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8766
|
+
const resolver = { resolveAll: createResolver() };
|
|
8767
|
+
const string$1 = initializeFactory("string");
|
|
8768
|
+
const text$3 = initializeFactory("text");
|
|
8879
8769
|
/**
|
|
8880
8770
|
* @param {'string' | 'text'} field
|
|
8881
8771
|
* Field.
|
|
@@ -9038,6 +8928,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
9038
8928
|
}
|
|
9039
8929
|
return events;
|
|
9040
8930
|
}
|
|
8931
|
+
|
|
9041
8932
|
//#endregion
|
|
9042
8933
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
9043
8934
|
/**
|
|
@@ -9055,7 +8946,7 @@ var constructs_exports = /* @__PURE__ */ __exportAll({
|
|
|
9055
8946
|
text: () => text$2
|
|
9056
8947
|
});
|
|
9057
8948
|
/** @satisfies {Extension['document']} */
|
|
9058
|
-
|
|
8949
|
+
const document = {
|
|
9059
8950
|
[42]: list$2,
|
|
9060
8951
|
[43]: list$2,
|
|
9061
8952
|
[45]: list$2,
|
|
@@ -9072,15 +8963,15 @@ var document = {
|
|
|
9072
8963
|
[62]: blockQuote
|
|
9073
8964
|
};
|
|
9074
8965
|
/** @satisfies {Extension['contentInitial']} */
|
|
9075
|
-
|
|
8966
|
+
const contentInitial = { [91]: definition$1 };
|
|
9076
8967
|
/** @satisfies {Extension['flowInitial']} */
|
|
9077
|
-
|
|
8968
|
+
const flowInitial = {
|
|
9078
8969
|
[-2]: codeIndented,
|
|
9079
8970
|
[-1]: codeIndented,
|
|
9080
8971
|
[32]: codeIndented
|
|
9081
8972
|
};
|
|
9082
8973
|
/** @satisfies {Extension['flow']} */
|
|
9083
|
-
|
|
8974
|
+
const flow = {
|
|
9084
8975
|
[35]: headingAtx,
|
|
9085
8976
|
[42]: thematicBreak$1,
|
|
9086
8977
|
[45]: [setextUnderline, thematicBreak$1],
|
|
@@ -9091,12 +8982,12 @@ var flow = {
|
|
|
9091
8982
|
[126]: codeFenced
|
|
9092
8983
|
};
|
|
9093
8984
|
/** @satisfies {Extension['string']} */
|
|
9094
|
-
|
|
8985
|
+
const string = {
|
|
9095
8986
|
[38]: characterReference,
|
|
9096
8987
|
[92]: characterEscape
|
|
9097
8988
|
};
|
|
9098
8989
|
/** @satisfies {Extension['text']} */
|
|
9099
|
-
|
|
8990
|
+
const text$2 = {
|
|
9100
8991
|
[-5]: lineEnding,
|
|
9101
8992
|
[-4]: lineEnding,
|
|
9102
8993
|
[-3]: lineEnding,
|
|
@@ -9111,11 +9002,12 @@ var text$2 = {
|
|
|
9111
9002
|
[96]: codeText
|
|
9112
9003
|
};
|
|
9113
9004
|
/** @satisfies {Extension['insideSpan']} */
|
|
9114
|
-
|
|
9005
|
+
const insideSpan = { null: [attention, resolver] };
|
|
9115
9006
|
/** @satisfies {Extension['attentionMarkers']} */
|
|
9116
|
-
|
|
9007
|
+
const attentionMarkers = { null: [42, 95] };
|
|
9117
9008
|
/** @satisfies {Extension['disable']} */
|
|
9118
|
-
|
|
9009
|
+
const disable = { null: [] };
|
|
9010
|
+
|
|
9119
9011
|
//#endregion
|
|
9120
9012
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
9121
9013
|
/**
|
|
@@ -9585,6 +9477,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
9585
9477
|
}
|
|
9586
9478
|
return result.join("");
|
|
9587
9479
|
}
|
|
9480
|
+
|
|
9588
9481
|
//#endregion
|
|
9589
9482
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
9590
9483
|
/**
|
|
@@ -9629,6 +9522,7 @@ function parse(options) {
|
|
|
9629
9522
|
}
|
|
9630
9523
|
}
|
|
9631
9524
|
}
|
|
9525
|
+
|
|
9632
9526
|
//#endregion
|
|
9633
9527
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
9634
9528
|
/**
|
|
@@ -9644,6 +9538,7 @@ function postprocess(events) {
|
|
|
9644
9538
|
while (!subtokenize(events));
|
|
9645
9539
|
return events;
|
|
9646
9540
|
}
|
|
9541
|
+
|
|
9647
9542
|
//#endregion
|
|
9648
9543
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
9649
9544
|
/**
|
|
@@ -9661,7 +9556,7 @@ function postprocess(events) {
|
|
|
9661
9556
|
* @returns {Array<Chunk>}
|
|
9662
9557
|
* Chunks.
|
|
9663
9558
|
*/
|
|
9664
|
-
|
|
9559
|
+
const search = /[\0\t\n\r]/g;
|
|
9665
9560
|
/**
|
|
9666
9561
|
* @returns {Preprocessor}
|
|
9667
9562
|
* Preprocess a value.
|
|
@@ -9745,9 +9640,10 @@ function preprocess() {
|
|
|
9745
9640
|
return chunks;
|
|
9746
9641
|
}
|
|
9747
9642
|
}
|
|
9643
|
+
|
|
9748
9644
|
//#endregion
|
|
9749
9645
|
//#region ../../node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
9750
|
-
|
|
9646
|
+
const characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
9751
9647
|
/**
|
|
9752
9648
|
* Decode markdown strings (which occur in places such as fenced code info
|
|
9753
9649
|
* strings, destinations, labels, and titles).
|
|
@@ -9782,6 +9678,7 @@ function decode($0, $1, $2) {
|
|
|
9782
9678
|
}
|
|
9783
9679
|
return decodeNamedCharacterReference($2) || $0;
|
|
9784
9680
|
}
|
|
9681
|
+
|
|
9785
9682
|
//#endregion
|
|
9786
9683
|
//#region ../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
9787
9684
|
/**
|
|
@@ -9846,6 +9743,7 @@ function position(pos) {
|
|
|
9846
9743
|
function index(value) {
|
|
9847
9744
|
return value && typeof value === "number" ? value : 1;
|
|
9848
9745
|
}
|
|
9746
|
+
|
|
9849
9747
|
//#endregion
|
|
9850
9748
|
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
9851
9749
|
/**
|
|
@@ -9888,7 +9786,7 @@ function index(value) {
|
|
|
9888
9786
|
* Options
|
|
9889
9787
|
* } from './types.js'
|
|
9890
9788
|
*/
|
|
9891
|
-
|
|
9789
|
+
const own$3 = {}.hasOwnProperty;
|
|
9892
9790
|
/**
|
|
9893
9791
|
* Turn markdown into a syntax tree.
|
|
9894
9792
|
*
|
|
@@ -10062,8 +9960,10 @@ function compiler(options) {
|
|
|
10062
9960
|
/** @type {Array<number>} */
|
|
10063
9961
|
const listStack = [];
|
|
10064
9962
|
let index = -1;
|
|
10065
|
-
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered")
|
|
10066
|
-
|
|
9963
|
+
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
|
|
9964
|
+
if (events[index][0] === "enter") listStack.push(index);
|
|
9965
|
+
else index = prepareList(events, listStack.pop(), index);
|
|
9966
|
+
}
|
|
10067
9967
|
index = -1;
|
|
10068
9968
|
while (++index < events.length) {
|
|
10069
9969
|
const handler = config[events[index][0]];
|
|
@@ -10253,8 +10153,10 @@ function compiler(options) {
|
|
|
10253
10153
|
start: token.start,
|
|
10254
10154
|
end: token.end
|
|
10255
10155
|
}) + "): it’s not open");
|
|
10256
|
-
else if (open[0].type !== token.type)
|
|
10257
|
-
|
|
10156
|
+
else if (open[0].type !== token.type) {
|
|
10157
|
+
if (onExitError) onExitError.call(this, token, open[0]);
|
|
10158
|
+
else (open[1] || defaultOnError).call(this, token, open[0]);
|
|
10159
|
+
}
|
|
10258
10160
|
node.position.end = point(token.end);
|
|
10259
10161
|
}
|
|
10260
10162
|
/**
|
|
@@ -10812,6 +10714,7 @@ function defaultOnError(left, right) {
|
|
|
10812
10714
|
end: right.end
|
|
10813
10715
|
}) + ") is still open");
|
|
10814
10716
|
}
|
|
10717
|
+
|
|
10815
10718
|
//#endregion
|
|
10816
10719
|
//#region ../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js
|
|
10817
10720
|
/**
|
|
@@ -10847,6 +10750,7 @@ function remarkParse(options) {
|
|
|
10847
10750
|
});
|
|
10848
10751
|
}
|
|
10849
10752
|
}
|
|
10753
|
+
|
|
10850
10754
|
//#endregion
|
|
10851
10755
|
//#region ../../node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js
|
|
10852
10756
|
/**
|
|
@@ -10894,7 +10798,7 @@ function remarkParse(options) {
|
|
|
10894
10798
|
* @property {Handlers} [handlers]
|
|
10895
10799
|
* Handlers to use.
|
|
10896
10800
|
*/
|
|
10897
|
-
|
|
10801
|
+
const own$2 = {}.hasOwnProperty;
|
|
10898
10802
|
/**
|
|
10899
10803
|
* Handle values based on a field.
|
|
10900
10804
|
*
|
|
@@ -10952,12 +10856,13 @@ function zwitch(key, options) {
|
|
|
10952
10856
|
one.unknown = settings.unknown;
|
|
10953
10857
|
return one;
|
|
10954
10858
|
}
|
|
10859
|
+
|
|
10955
10860
|
//#endregion
|
|
10956
10861
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.js
|
|
10957
10862
|
/**
|
|
10958
10863
|
* @import {Options, State} from './types.js'
|
|
10959
10864
|
*/
|
|
10960
|
-
|
|
10865
|
+
const own$1 = {}.hasOwnProperty;
|
|
10961
10866
|
/**
|
|
10962
10867
|
* @param {State} base
|
|
10963
10868
|
* @param {Options} extension
|
|
@@ -11000,6 +10905,7 @@ function list$1(left, right) {
|
|
|
11000
10905
|
function map$2(left, right) {
|
|
11001
10906
|
if (right) Object.assign(left, right);
|
|
11002
10907
|
}
|
|
10908
|
+
|
|
11003
10909
|
//#endregion
|
|
11004
10910
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
11005
10911
|
/**
|
|
@@ -11026,6 +10932,7 @@ function blockquote(node, _, state, info) {
|
|
|
11026
10932
|
function map$1(line, _, blank) {
|
|
11027
10933
|
return ">" + (blank ? "" : " ") + line;
|
|
11028
10934
|
}
|
|
10935
|
+
|
|
11029
10936
|
//#endregion
|
|
11030
10937
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
11031
10938
|
/**
|
|
@@ -11052,6 +10959,7 @@ function listInScope(stack, list, none) {
|
|
|
11052
10959
|
while (++index < list.length) if (stack.includes(list[index])) return true;
|
|
11053
10960
|
return false;
|
|
11054
10961
|
}
|
|
10962
|
+
|
|
11055
10963
|
//#endregion
|
|
11056
10964
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
11057
10965
|
/**
|
|
@@ -11070,6 +10978,7 @@ function hardBreak(_, _1, state, info) {
|
|
|
11070
10978
|
while (++index < state.unsafe.length) if (state.unsafe[index].character === "\n" && patternInScope(state.stack, state.unsafe[index])) return /[ \t]/.test(info.before) ? "" : " ";
|
|
11071
10979
|
return "\\\n";
|
|
11072
10980
|
}
|
|
10981
|
+
|
|
11073
10982
|
//#endregion
|
|
11074
10983
|
//#region ../../node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js
|
|
11075
10984
|
/**
|
|
@@ -11098,6 +11007,7 @@ function longestStreak(value, substring) {
|
|
|
11098
11007
|
}
|
|
11099
11008
|
return max;
|
|
11100
11009
|
}
|
|
11010
|
+
|
|
11101
11011
|
//#endregion
|
|
11102
11012
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
11103
11013
|
/**
|
|
@@ -11112,6 +11022,7 @@ function longestStreak(value, substring) {
|
|
|
11112
11022
|
function formatCodeAsIndented(node, state) {
|
|
11113
11023
|
return Boolean(state.options.fences === false && node.value && !node.lang && /[^ \r\n]/.test(node.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node.value));
|
|
11114
11024
|
}
|
|
11025
|
+
|
|
11115
11026
|
//#endregion
|
|
11116
11027
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
11117
11028
|
/**
|
|
@@ -11126,6 +11037,7 @@ function checkFence(state) {
|
|
|
11126
11037
|
if (marker !== "`" && marker !== "~") throw new Error("Cannot serialize code with `" + marker + "` for `options.fence`, expected `` ` `` or `~`");
|
|
11127
11038
|
return marker;
|
|
11128
11039
|
}
|
|
11040
|
+
|
|
11129
11041
|
//#endregion
|
|
11130
11042
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
11131
11043
|
/**
|
|
@@ -11184,6 +11096,7 @@ function code$1(node, _, state, info) {
|
|
|
11184
11096
|
function map(line, _, blank) {
|
|
11185
11097
|
return (blank ? "" : " ") + line;
|
|
11186
11098
|
}
|
|
11099
|
+
|
|
11187
11100
|
//#endregion
|
|
11188
11101
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
11189
11102
|
/**
|
|
@@ -11198,6 +11111,7 @@ function checkQuote(state) {
|
|
|
11198
11111
|
if (marker !== "\"" && marker !== "'") throw new Error("Cannot serialize title with `" + marker + "` for `options.quote`, expected `\"`, or `'`");
|
|
11199
11112
|
return marker;
|
|
11200
11113
|
}
|
|
11114
|
+
|
|
11201
11115
|
//#endregion
|
|
11202
11116
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
11203
11117
|
/**
|
|
@@ -11257,6 +11171,7 @@ function definition(node, _, state, info) {
|
|
|
11257
11171
|
exit();
|
|
11258
11172
|
return value;
|
|
11259
11173
|
}
|
|
11174
|
+
|
|
11260
11175
|
//#endregion
|
|
11261
11176
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
11262
11177
|
/**
|
|
@@ -11271,6 +11186,7 @@ function checkEmphasis(state) {
|
|
|
11271
11186
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize emphasis with `" + marker + "` for `options.emphasis`, expected `*`, or `_`");
|
|
11272
11187
|
return marker;
|
|
11273
11188
|
}
|
|
11189
|
+
|
|
11274
11190
|
//#endregion
|
|
11275
11191
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
11276
11192
|
/**
|
|
@@ -11284,6 +11200,7 @@ function checkEmphasis(state) {
|
|
|
11284
11200
|
function encodeCharacterReference(code) {
|
|
11285
11201
|
return "&#x" + code.toString(16).toUpperCase() + ";";
|
|
11286
11202
|
}
|
|
11203
|
+
|
|
11287
11204
|
//#endregion
|
|
11288
11205
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
11289
11206
|
/**
|
|
@@ -11356,6 +11273,7 @@ function encodeInfo(outside, inside, marker) {
|
|
|
11356
11273
|
outside: false
|
|
11357
11274
|
};
|
|
11358
11275
|
}
|
|
11276
|
+
|
|
11359
11277
|
//#endregion
|
|
11360
11278
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
11361
11279
|
/**
|
|
@@ -11403,6 +11321,7 @@ function emphasis(node, _, state, info) {
|
|
|
11403
11321
|
function emphasisPeek(_, _1, state) {
|
|
11404
11322
|
return state.options.emphasis || "*";
|
|
11405
11323
|
}
|
|
11324
|
+
|
|
11406
11325
|
//#endregion
|
|
11407
11326
|
//#region ../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
11408
11327
|
/**
|
|
@@ -11423,7 +11342,7 @@ function emphasisPeek(_, _1, state) {
|
|
|
11423
11342
|
* @returns {Check}
|
|
11424
11343
|
* An assertion.
|
|
11425
11344
|
*/
|
|
11426
|
-
|
|
11345
|
+
const convert = (
|
|
11427
11346
|
/**
|
|
11428
11347
|
* @param {Test} [test]
|
|
11429
11348
|
* @returns {Check}
|
|
@@ -11517,6 +11436,7 @@ function ok$1() {
|
|
|
11517
11436
|
function looksLikeANode(value) {
|
|
11518
11437
|
return value !== null && typeof value === "object" && "type" in value;
|
|
11519
11438
|
}
|
|
11439
|
+
|
|
11520
11440
|
//#endregion
|
|
11521
11441
|
//#region ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js
|
|
11522
11442
|
/**
|
|
@@ -11526,6 +11446,7 @@ function looksLikeANode(value) {
|
|
|
11526
11446
|
function color(d) {
|
|
11527
11447
|
return d;
|
|
11528
11448
|
}
|
|
11449
|
+
|
|
11529
11450
|
//#endregion
|
|
11530
11451
|
//#region ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
11531
11452
|
/**
|
|
@@ -11734,7 +11655,19 @@ function color(d) {
|
|
|
11734
11655
|
* Test type.
|
|
11735
11656
|
*/
|
|
11736
11657
|
/** @type {Readonly<ActionTuple>} */
|
|
11737
|
-
|
|
11658
|
+
const empty = [];
|
|
11659
|
+
/**
|
|
11660
|
+
* Continue traversing as normal.
|
|
11661
|
+
*/
|
|
11662
|
+
const CONTINUE = true;
|
|
11663
|
+
/**
|
|
11664
|
+
* Stop traversing immediately.
|
|
11665
|
+
*/
|
|
11666
|
+
const EXIT = false;
|
|
11667
|
+
/**
|
|
11668
|
+
* Do not traverse this node’s children.
|
|
11669
|
+
*/
|
|
11670
|
+
const SKIP = "skip";
|
|
11738
11671
|
/**
|
|
11739
11672
|
* Visit nodes, with ancestral information.
|
|
11740
11673
|
*
|
|
@@ -11847,6 +11780,7 @@ function toResult(value) {
|
|
|
11847
11780
|
if (typeof value === "number") return [true, value];
|
|
11848
11781
|
return value === null || value === void 0 ? empty : [value];
|
|
11849
11782
|
}
|
|
11783
|
+
|
|
11850
11784
|
//#endregion
|
|
11851
11785
|
//#region ../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.js
|
|
11852
11786
|
/**
|
|
@@ -12132,6 +12066,7 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
12132
12066
|
return visitor(node, index, parent);
|
|
12133
12067
|
}
|
|
12134
12068
|
}
|
|
12069
|
+
|
|
12135
12070
|
//#endregion
|
|
12136
12071
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
12137
12072
|
/**
|
|
@@ -12153,6 +12088,7 @@ function formatHeadingAsSetext(node, state) {
|
|
|
12153
12088
|
});
|
|
12154
12089
|
return Boolean((!node.depth || node.depth < 3) && toString(node) && (state.options.setext || literalWithBreak));
|
|
12155
12090
|
}
|
|
12091
|
+
|
|
12156
12092
|
//#endregion
|
|
12157
12093
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
12158
12094
|
/**
|
|
@@ -12197,6 +12133,7 @@ function heading(node, _, state, info) {
|
|
|
12197
12133
|
exit();
|
|
12198
12134
|
return value;
|
|
12199
12135
|
}
|
|
12136
|
+
|
|
12200
12137
|
//#endregion
|
|
12201
12138
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
12202
12139
|
/**
|
|
@@ -12216,6 +12153,7 @@ function html(node) {
|
|
|
12216
12153
|
function htmlPeek() {
|
|
12217
12154
|
return "<";
|
|
12218
12155
|
}
|
|
12156
|
+
|
|
12219
12157
|
//#endregion
|
|
12220
12158
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
12221
12159
|
/**
|
|
@@ -12283,6 +12221,7 @@ function image(node, _, state, info) {
|
|
|
12283
12221
|
function imagePeek() {
|
|
12284
12222
|
return "!";
|
|
12285
12223
|
}
|
|
12224
|
+
|
|
12286
12225
|
//#endregion
|
|
12287
12226
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
12288
12227
|
/**
|
|
@@ -12332,6 +12271,7 @@ function imageReference(node, _, state, info) {
|
|
|
12332
12271
|
function imageReferencePeek() {
|
|
12333
12272
|
return "!";
|
|
12334
12273
|
}
|
|
12274
|
+
|
|
12335
12275
|
//#endregion
|
|
12336
12276
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
12337
12277
|
/**
|
|
@@ -12371,6 +12311,7 @@ function inlineCode(node, _, state) {
|
|
|
12371
12311
|
function inlineCodePeek() {
|
|
12372
12312
|
return "`";
|
|
12373
12313
|
}
|
|
12314
|
+
|
|
12374
12315
|
//#endregion
|
|
12375
12316
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
12376
12317
|
/**
|
|
@@ -12386,6 +12327,7 @@ function formatLinkAsAutolink(node, state) {
|
|
|
12386
12327
|
const raw = toString(node);
|
|
12387
12328
|
return Boolean(!state.options.resourceLink && node.url && !node.title && node.children && node.children.length === 1 && node.children[0].type === "text" && (raw === node.url || "mailto:" + raw === node.url) && /^[a-z][a-z+.-]+:/i.test(node.url) && !/[\0- <>\u007F]/.test(node.url));
|
|
12388
12329
|
}
|
|
12330
|
+
|
|
12389
12331
|
//#endregion
|
|
12390
12332
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
12391
12333
|
/**
|
|
@@ -12476,6 +12418,7 @@ function link(node, _, state, info) {
|
|
|
12476
12418
|
function linkPeek(node, _, state) {
|
|
12477
12419
|
return formatLinkAsAutolink(node, state) ? "<" : "[";
|
|
12478
12420
|
}
|
|
12421
|
+
|
|
12479
12422
|
//#endregion
|
|
12480
12423
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
12481
12424
|
/**
|
|
@@ -12525,6 +12468,7 @@ function linkReference(node, _, state, info) {
|
|
|
12525
12468
|
function linkReferencePeek() {
|
|
12526
12469
|
return "[";
|
|
12527
12470
|
}
|
|
12471
|
+
|
|
12528
12472
|
//#endregion
|
|
12529
12473
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
12530
12474
|
/**
|
|
@@ -12539,6 +12483,7 @@ function checkBullet(state) {
|
|
|
12539
12483
|
if (marker !== "*" && marker !== "+" && marker !== "-") throw new Error("Cannot serialize items with `" + marker + "` for `options.bullet`, expected `*`, `+`, or `-`");
|
|
12540
12484
|
return marker;
|
|
12541
12485
|
}
|
|
12486
|
+
|
|
12542
12487
|
//#endregion
|
|
12543
12488
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
12544
12489
|
/**
|
|
@@ -12556,6 +12501,7 @@ function checkBulletOther(state) {
|
|
|
12556
12501
|
if (bulletOther === bullet) throw new Error("Expected `bullet` (`" + bullet + "`) and `bulletOther` (`" + bulletOther + "`) to be different");
|
|
12557
12502
|
return bulletOther;
|
|
12558
12503
|
}
|
|
12504
|
+
|
|
12559
12505
|
//#endregion
|
|
12560
12506
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
12561
12507
|
/**
|
|
@@ -12570,6 +12516,7 @@ function checkBulletOrdered(state) {
|
|
|
12570
12516
|
if (marker !== "." && marker !== ")") throw new Error("Cannot serialize items with `" + marker + "` for `options.bulletOrdered`, expected `.` or `)`");
|
|
12571
12517
|
return marker;
|
|
12572
12518
|
}
|
|
12519
|
+
|
|
12573
12520
|
//#endregion
|
|
12574
12521
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
12575
12522
|
/**
|
|
@@ -12584,6 +12531,7 @@ function checkRule(state) {
|
|
|
12584
12531
|
if (marker !== "*" && marker !== "-" && marker !== "_") throw new Error("Cannot serialize rules with `" + marker + "` for `options.rule`, expected `*`, `-`, or `_`");
|
|
12585
12532
|
return marker;
|
|
12586
12533
|
}
|
|
12534
|
+
|
|
12587
12535
|
//#endregion
|
|
12588
12536
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
12589
12537
|
/**
|
|
@@ -12627,6 +12575,7 @@ function list(node, parent, state, info) {
|
|
|
12627
12575
|
exit();
|
|
12628
12576
|
return value;
|
|
12629
12577
|
}
|
|
12578
|
+
|
|
12630
12579
|
//#endregion
|
|
12631
12580
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
12632
12581
|
/**
|
|
@@ -12641,6 +12590,7 @@ function checkListItemIndent(state) {
|
|
|
12641
12590
|
if (style !== "tab" && style !== "one" && style !== "mixed") throw new Error("Cannot serialize items with `" + style + "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");
|
|
12642
12591
|
return style;
|
|
12643
12592
|
}
|
|
12593
|
+
|
|
12644
12594
|
//#endregion
|
|
12645
12595
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
12646
12596
|
/**
|
|
@@ -12673,6 +12623,7 @@ function listItem(node, parent, state, info) {
|
|
|
12673
12623
|
return (blank ? bullet : bullet + " ".repeat(size - bullet.length)) + line;
|
|
12674
12624
|
}
|
|
12675
12625
|
}
|
|
12626
|
+
|
|
12676
12627
|
//#endregion
|
|
12677
12628
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
12678
12629
|
/**
|
|
@@ -12694,6 +12645,7 @@ function paragraph(node, _, state, info) {
|
|
|
12694
12645
|
exit();
|
|
12695
12646
|
return value;
|
|
12696
12647
|
}
|
|
12648
|
+
|
|
12697
12649
|
//#endregion
|
|
12698
12650
|
//#region ../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
|
|
12699
12651
|
/**
|
|
@@ -12710,7 +12662,7 @@ function paragraph(node, _, state, info) {
|
|
|
12710
12662
|
* @returns
|
|
12711
12663
|
* Whether `value` is phrasing content.
|
|
12712
12664
|
*/
|
|
12713
|
-
|
|
12665
|
+
const phrasing = convert([
|
|
12714
12666
|
"break",
|
|
12715
12667
|
"delete",
|
|
12716
12668
|
"emphasis",
|
|
@@ -12728,6 +12680,7 @@ var phrasing = convert([
|
|
|
12728
12680
|
"text",
|
|
12729
12681
|
"textDirective"
|
|
12730
12682
|
]);
|
|
12683
|
+
|
|
12731
12684
|
//#endregion
|
|
12732
12685
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
12733
12686
|
/**
|
|
@@ -12746,6 +12699,7 @@ function root(node, _, state, info) {
|
|
|
12746
12699
|
return phrasing(d);
|
|
12747
12700
|
}) ? state.containerPhrasing : state.containerFlow).call(state, node, info);
|
|
12748
12701
|
}
|
|
12702
|
+
|
|
12749
12703
|
//#endregion
|
|
12750
12704
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
12751
12705
|
/**
|
|
@@ -12760,6 +12714,7 @@ function checkStrong(state) {
|
|
|
12760
12714
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize strong with `" + marker + "` for `options.strong`, expected `*`, or `_`");
|
|
12761
12715
|
return marker;
|
|
12762
12716
|
}
|
|
12717
|
+
|
|
12763
12718
|
//#endregion
|
|
12764
12719
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
12765
12720
|
/**
|
|
@@ -12807,6 +12762,7 @@ function strong(node, _, state, info) {
|
|
|
12807
12762
|
function strongPeek(_, _1, state) {
|
|
12808
12763
|
return state.options.strong || "*";
|
|
12809
12764
|
}
|
|
12765
|
+
|
|
12810
12766
|
//#endregion
|
|
12811
12767
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
12812
12768
|
/**
|
|
@@ -12823,6 +12779,7 @@ function strongPeek(_, _1, state) {
|
|
|
12823
12779
|
function text$1(node, _, state, info) {
|
|
12824
12780
|
return state.safe(node.value, info);
|
|
12825
12781
|
}
|
|
12782
|
+
|
|
12826
12783
|
//#endregion
|
|
12827
12784
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
12828
12785
|
/**
|
|
@@ -12837,6 +12794,7 @@ function checkRuleRepetition(state) {
|
|
|
12837
12794
|
if (repetition < 3) throw new Error("Cannot serialize rules with repetition `" + repetition + "` for `options.ruleRepetition`, expected `3` or more");
|
|
12838
12795
|
return repetition;
|
|
12839
12796
|
}
|
|
12797
|
+
|
|
12840
12798
|
//#endregion
|
|
12841
12799
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
12842
12800
|
/**
|
|
@@ -12853,12 +12811,13 @@ function thematicBreak(_, _1, state) {
|
|
|
12853
12811
|
const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
|
|
12854
12812
|
return state.options.ruleSpaces ? value.slice(0, -1) : value;
|
|
12855
12813
|
}
|
|
12814
|
+
|
|
12856
12815
|
//#endregion
|
|
12857
12816
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
12858
12817
|
/**
|
|
12859
12818
|
* Default (CommonMark) handlers.
|
|
12860
12819
|
*/
|
|
12861
|
-
|
|
12820
|
+
const handle = {
|
|
12862
12821
|
blockquote,
|
|
12863
12822
|
break: hardBreak,
|
|
12864
12823
|
code: code$1,
|
|
@@ -12880,13 +12839,14 @@ var handle = {
|
|
|
12880
12839
|
text: text$1,
|
|
12881
12840
|
thematicBreak
|
|
12882
12841
|
};
|
|
12842
|
+
|
|
12883
12843
|
//#endregion
|
|
12884
12844
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.js
|
|
12885
12845
|
/**
|
|
12886
12846
|
* @import {Join} from 'mdast-util-to-markdown'
|
|
12887
12847
|
*/
|
|
12888
12848
|
/** @type {Array<Join>} */
|
|
12889
|
-
|
|
12849
|
+
const join$1 = [joinDefaults];
|
|
12890
12850
|
/** @type {Join} */
|
|
12891
12851
|
function joinDefaults(left, right, parent, state) {
|
|
12892
12852
|
if (right.type === "code" && formatCodeAsIndented(right, state) && (left.type === "list" || left.type === right.type && formatCodeAsIndented(left, state))) return false;
|
|
@@ -12895,6 +12855,7 @@ function joinDefaults(left, right, parent, state) {
|
|
|
12895
12855
|
return parent.spread ? 1 : 0;
|
|
12896
12856
|
}
|
|
12897
12857
|
}
|
|
12858
|
+
|
|
12898
12859
|
//#endregion
|
|
12899
12860
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.js
|
|
12900
12861
|
/**
|
|
@@ -12908,7 +12869,7 @@ function joinDefaults(left, right, parent, state) {
|
|
|
12908
12869
|
*
|
|
12909
12870
|
* @type {Array<ConstructName>}
|
|
12910
12871
|
*/
|
|
12911
|
-
|
|
12872
|
+
const fullPhrasingSpans = [
|
|
12912
12873
|
"autolink",
|
|
12913
12874
|
"destinationLiteral",
|
|
12914
12875
|
"destinationRaw",
|
|
@@ -12917,7 +12878,7 @@ var fullPhrasingSpans = [
|
|
|
12917
12878
|
"titleApostrophe"
|
|
12918
12879
|
];
|
|
12919
12880
|
/** @type {Array<Unsafe>} */
|
|
12920
|
-
|
|
12881
|
+
const unsafe = [
|
|
12921
12882
|
{
|
|
12922
12883
|
character: " ",
|
|
12923
12884
|
after: "[\\r\\n]",
|
|
@@ -13117,6 +13078,7 @@ var unsafe = [
|
|
|
13117
13078
|
character: "~"
|
|
13118
13079
|
}
|
|
13119
13080
|
];
|
|
13081
|
+
|
|
13120
13082
|
//#endregion
|
|
13121
13083
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.js
|
|
13122
13084
|
/**
|
|
@@ -13146,6 +13108,7 @@ function association(node) {
|
|
|
13146
13108
|
if (node.label || !node.identifier) return node.label || "";
|
|
13147
13109
|
return decodeString(node.identifier);
|
|
13148
13110
|
}
|
|
13111
|
+
|
|
13149
13112
|
//#endregion
|
|
13150
13113
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
|
|
13151
13114
|
/**
|
|
@@ -13161,6 +13124,7 @@ function compilePattern(pattern) {
|
|
|
13161
13124
|
}
|
|
13162
13125
|
return pattern._compiled;
|
|
13163
13126
|
}
|
|
13127
|
+
|
|
13164
13128
|
//#endregion
|
|
13165
13129
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
|
|
13166
13130
|
/**
|
|
@@ -13234,6 +13198,7 @@ function containerPhrasing(parent, state, info) {
|
|
|
13234
13198
|
indexStack.pop();
|
|
13235
13199
|
return results.join("");
|
|
13236
13200
|
}
|
|
13201
|
+
|
|
13237
13202
|
//#endregion
|
|
13238
13203
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.js
|
|
13239
13204
|
/**
|
|
@@ -13289,12 +13254,13 @@ function between(left, right, parent, state) {
|
|
|
13289
13254
|
}
|
|
13290
13255
|
return "\n\n";
|
|
13291
13256
|
}
|
|
13257
|
+
|
|
13292
13258
|
//#endregion
|
|
13293
13259
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js
|
|
13294
13260
|
/**
|
|
13295
13261
|
* @import {IndentLines} from '../types.js'
|
|
13296
13262
|
*/
|
|
13297
|
-
|
|
13263
|
+
const eol = /\r?\n|\r/g;
|
|
13298
13264
|
/**
|
|
13299
13265
|
* @type {IndentLines}
|
|
13300
13266
|
*/
|
|
@@ -13320,6 +13286,7 @@ function indentLines(value, map) {
|
|
|
13320
13286
|
result.push(map(value, line, !value));
|
|
13321
13287
|
}
|
|
13322
13288
|
}
|
|
13289
|
+
|
|
13323
13290
|
//#endregion
|
|
13324
13291
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.js
|
|
13325
13292
|
/**
|
|
@@ -13433,6 +13400,7 @@ function escapeBackslashes(value, after) {
|
|
|
13433
13400
|
results.push(value.slice(start));
|
|
13434
13401
|
return results.join("");
|
|
13435
13402
|
}
|
|
13403
|
+
|
|
13436
13404
|
//#endregion
|
|
13437
13405
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.js
|
|
13438
13406
|
/**
|
|
@@ -13491,6 +13459,7 @@ function track(config) {
|
|
|
13491
13459
|
return value;
|
|
13492
13460
|
}
|
|
13493
13461
|
}
|
|
13462
|
+
|
|
13494
13463
|
//#endregion
|
|
13495
13464
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js
|
|
13496
13465
|
/**
|
|
@@ -13639,6 +13608,7 @@ function containerFlowBound(parent, info) {
|
|
|
13639
13608
|
function safeBound(value, config) {
|
|
13640
13609
|
return safe(this, value, config);
|
|
13641
13610
|
}
|
|
13611
|
+
|
|
13642
13612
|
//#endregion
|
|
13643
13613
|
//#region ../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.js
|
|
13644
13614
|
/**
|
|
@@ -13673,6 +13643,7 @@ function remarkStringify(options) {
|
|
|
13673
13643
|
});
|
|
13674
13644
|
}
|
|
13675
13645
|
}
|
|
13646
|
+
|
|
13676
13647
|
//#endregion
|
|
13677
13648
|
//#region ../../node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js
|
|
13678
13649
|
/**
|
|
@@ -13685,9 +13656,10 @@ function remarkStringify(options) {
|
|
|
13685
13656
|
function bail(error) {
|
|
13686
13657
|
if (error) throw error;
|
|
13687
13658
|
}
|
|
13659
|
+
|
|
13688
13660
|
//#endregion
|
|
13689
|
-
//#region ../../node_modules/.pnpm/
|
|
13690
|
-
var
|
|
13661
|
+
//#region ../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
13662
|
+
var require_extend = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13691
13663
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
13692
13664
|
var toStr = Object.prototype.toString;
|
|
13693
13665
|
var defineProperty = Object.defineProperty;
|
|
@@ -13757,7 +13729,13 @@ var import_extend = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exp
|
|
|
13757
13729
|
}
|
|
13758
13730
|
return target;
|
|
13759
13731
|
};
|
|
13760
|
-
}))
|
|
13732
|
+
}));
|
|
13733
|
+
|
|
13734
|
+
//#endregion
|
|
13735
|
+
//#region ../../node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js
|
|
13736
|
+
var import_extend = /* @__PURE__ */ __toESM(require_extend(), 1);
|
|
13737
|
+
function ok() {}
|
|
13738
|
+
|
|
13761
13739
|
//#endregion
|
|
13762
13740
|
//#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
|
|
13763
13741
|
function isPlainObject(value) {
|
|
@@ -13765,6 +13743,7 @@ function isPlainObject(value) {
|
|
|
13765
13743
|
const prototype = Object.getPrototypeOf(value);
|
|
13766
13744
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
13767
13745
|
}
|
|
13746
|
+
|
|
13768
13747
|
//#endregion
|
|
13769
13748
|
//#region ../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js
|
|
13770
13749
|
/**
|
|
@@ -13897,9 +13876,11 @@ function wrap(middleware, callback) {
|
|
|
13897
13876
|
if (fnExpectsCallback && called) throw exception;
|
|
13898
13877
|
return done(exception);
|
|
13899
13878
|
}
|
|
13900
|
-
if (!fnExpectsCallback)
|
|
13901
|
-
|
|
13902
|
-
|
|
13879
|
+
if (!fnExpectsCallback) {
|
|
13880
|
+
if (result && result.then && typeof result.then === "function") result.then(then, done);
|
|
13881
|
+
else if (result instanceof Error) done(result);
|
|
13882
|
+
else then(result);
|
|
13883
|
+
}
|
|
13903
13884
|
}
|
|
13904
13885
|
/**
|
|
13905
13886
|
* Call `callback`, only once.
|
|
@@ -13921,6 +13902,7 @@ function wrap(middleware, callback) {
|
|
|
13921
13902
|
done(null, value);
|
|
13922
13903
|
}
|
|
13923
13904
|
}
|
|
13905
|
+
|
|
13924
13906
|
//#endregion
|
|
13925
13907
|
//#region ../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
|
|
13926
13908
|
/**
|
|
@@ -14011,13 +13993,15 @@ var VFileMessage = class extends Error {
|
|
|
14011
13993
|
/** @type {Options} */
|
|
14012
13994
|
let options = {};
|
|
14013
13995
|
let legacyCause = false;
|
|
14014
|
-
if (optionsOrParentOrPlace)
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
13996
|
+
if (optionsOrParentOrPlace) {
|
|
13997
|
+
if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
13998
|
+
else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
13999
|
+
else if ("type" in optionsOrParentOrPlace) options = {
|
|
14000
|
+
ancestors: [optionsOrParentOrPlace],
|
|
14001
|
+
place: optionsOrParentOrPlace.position
|
|
14002
|
+
};
|
|
14003
|
+
else options = { ...optionsOrParentOrPlace };
|
|
14004
|
+
}
|
|
14021
14005
|
if (typeof causeOrReason === "string") reason = causeOrReason;
|
|
14022
14006
|
else if (!options.cause && causeOrReason) {
|
|
14023
14007
|
legacyCause = true;
|
|
@@ -14166,9 +14150,10 @@ VFileMessage.prototype.fatal = void 0;
|
|
|
14166
14150
|
VFileMessage.prototype.place = void 0;
|
|
14167
14151
|
VFileMessage.prototype.ruleId = void 0;
|
|
14168
14152
|
VFileMessage.prototype.source = void 0;
|
|
14153
|
+
|
|
14169
14154
|
//#endregion
|
|
14170
14155
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js
|
|
14171
|
-
|
|
14156
|
+
const minpath = {
|
|
14172
14157
|
basename,
|
|
14173
14158
|
dirname,
|
|
14174
14159
|
extname,
|
|
@@ -14218,11 +14203,13 @@ function basename(path, extname) {
|
|
|
14218
14203
|
seenNonSlash = true;
|
|
14219
14204
|
firstNonSlashEnd = index + 1;
|
|
14220
14205
|
}
|
|
14221
|
-
if (extnameIndex > -1)
|
|
14222
|
-
if (
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14206
|
+
if (extnameIndex > -1) {
|
|
14207
|
+
if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {
|
|
14208
|
+
if (extnameIndex < 0) end = index;
|
|
14209
|
+
} else {
|
|
14210
|
+
extnameIndex = -1;
|
|
14211
|
+
end = firstNonSlashEnd;
|
|
14212
|
+
}
|
|
14226
14213
|
}
|
|
14227
14214
|
}
|
|
14228
14215
|
if (start === end) end = firstNonSlashEnd;
|
|
@@ -14400,12 +14387,14 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
14400
14387
|
function assertPath$1(path) {
|
|
14401
14388
|
if (typeof path !== "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(path));
|
|
14402
14389
|
}
|
|
14390
|
+
|
|
14403
14391
|
//#endregion
|
|
14404
14392
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js
|
|
14405
|
-
|
|
14393
|
+
const minproc = { cwd };
|
|
14406
14394
|
function cwd() {
|
|
14407
14395
|
return "/";
|
|
14408
14396
|
}
|
|
14397
|
+
|
|
14409
14398
|
//#endregion
|
|
14410
14399
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js
|
|
14411
14400
|
/**
|
|
@@ -14429,6 +14418,7 @@ function cwd() {
|
|
|
14429
14418
|
function isUrl(fileUrlOrPath) {
|
|
14430
14419
|
return Boolean(fileUrlOrPath !== null && typeof fileUrlOrPath === "object" && "href" in fileUrlOrPath && fileUrlOrPath.href && "protocol" in fileUrlOrPath && fileUrlOrPath.protocol && fileUrlOrPath.auth === void 0);
|
|
14431
14420
|
}
|
|
14421
|
+
|
|
14432
14422
|
//#endregion
|
|
14433
14423
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js
|
|
14434
14424
|
/**
|
|
@@ -14481,6 +14471,7 @@ function getPathFromURLPosix(url) {
|
|
|
14481
14471
|
}
|
|
14482
14472
|
return decodeURIComponent(pathname);
|
|
14483
14473
|
}
|
|
14474
|
+
|
|
14484
14475
|
//#endregion
|
|
14485
14476
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js
|
|
14486
14477
|
/**
|
|
@@ -14496,7 +14487,7 @@ function getPathFromURLPosix(url) {
|
|
|
14496
14487
|
* `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a
|
|
14497
14488
|
* stem can be set.
|
|
14498
14489
|
*/
|
|
14499
|
-
|
|
14490
|
+
const order = [
|
|
14500
14491
|
"history",
|
|
14501
14492
|
"path",
|
|
14502
14493
|
"basename",
|
|
@@ -15000,9 +14991,10 @@ function assertPath(path, name) {
|
|
|
15000
14991
|
function isUint8Array$1(value) {
|
|
15001
14992
|
return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
|
|
15002
14993
|
}
|
|
14994
|
+
|
|
15003
14995
|
//#endregion
|
|
15004
14996
|
//#region ../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js
|
|
15005
|
-
|
|
14997
|
+
const CallableInstance = (
|
|
15006
14998
|
/**
|
|
15007
14999
|
* @this {Function}
|
|
15008
15000
|
* @param {string | symbol} property
|
|
@@ -15018,6 +15010,7 @@ function(property) {
|
|
|
15018
15010
|
Object.setPrototypeOf(apply, proto);
|
|
15019
15011
|
return apply;
|
|
15020
15012
|
});
|
|
15013
|
+
|
|
15021
15014
|
//#endregion
|
|
15022
15015
|
//#region ../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js
|
|
15023
15016
|
/**
|
|
@@ -15351,34 +15344,21 @@ function(property) {
|
|
|
15351
15344
|
* If a result that is not acceptable on a `VFile` is used, that will
|
|
15352
15345
|
* be stored on the `result` field of {@linkcode VFile}.
|
|
15353
15346
|
*/
|
|
15354
|
-
|
|
15347
|
+
const own = {}.hasOwnProperty;
|
|
15355
15348
|
/**
|
|
15356
|
-
*
|
|
15357
|
-
*
|
|
15358
|
-
* @
|
|
15359
|
-
*
|
|
15360
|
-
*
|
|
15361
|
-
*
|
|
15362
|
-
*
|
|
15363
|
-
*
|
|
15364
|
-
*
|
|
15365
|
-
*
|
|
15366
|
-
*
|
|
15367
|
-
* process.stdin.pipe(
|
|
15368
|
-
* concatStream(function (buf) {
|
|
15369
|
-
* process.stdout.write(String(remark().processSync(buf)))
|
|
15370
|
-
* })
|
|
15371
|
-
* )
|
|
15372
|
-
* ```
|
|
15373
|
-
*
|
|
15374
|
-
* @returns
|
|
15375
|
-
* New *unfrozen* processor (`processor`).
|
|
15376
|
-
*
|
|
15377
|
-
* This processor is configured to work the same as its ancestor.
|
|
15378
|
-
* When the descendant processor is configured in the future it does not
|
|
15379
|
-
* affect the ancestral processor.
|
|
15349
|
+
* @template {Node | undefined} [ParseTree=undefined]
|
|
15350
|
+
* Output of `parse` (optional).
|
|
15351
|
+
* @template {Node | undefined} [HeadTree=undefined]
|
|
15352
|
+
* Input for `run` (optional).
|
|
15353
|
+
* @template {Node | undefined} [TailTree=undefined]
|
|
15354
|
+
* Output for `run` (optional).
|
|
15355
|
+
* @template {Node | undefined} [CompileTree=undefined]
|
|
15356
|
+
* Input of `stringify` (optional).
|
|
15357
|
+
* @template {CompileResults | undefined} [CompileResult=undefined]
|
|
15358
|
+
* Output of `stringify` (optional).
|
|
15359
|
+
* @extends {CallableInstance<[], Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>>}
|
|
15380
15360
|
*/
|
|
15381
|
-
var
|
|
15361
|
+
var Processor = class Processor extends CallableInstance {
|
|
15382
15362
|
/**
|
|
15383
15363
|
* Create a processor.
|
|
15384
15364
|
*/
|
|
@@ -15691,7 +15671,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15691
15671
|
function realDone(error, file) {
|
|
15692
15672
|
if (error || !file) reject(error);
|
|
15693
15673
|
else if (resolve) resolve(file);
|
|
15694
|
-
else
|
|
15674
|
+
else {
|
|
15675
|
+
/* @__PURE__ */ ok(done, "`done` is defined if `resolve` is not");
|
|
15676
|
+
done(void 0, file);
|
|
15677
|
+
}
|
|
15695
15678
|
}
|
|
15696
15679
|
}
|
|
15697
15680
|
}
|
|
@@ -15736,6 +15719,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15736
15719
|
assertCompiler("processSync", this.compiler || this.Compiler);
|
|
15737
15720
|
this.process(file, realDone);
|
|
15738
15721
|
assertDone("processSync", "process", complete);
|
|
15722
|
+
/* @__PURE__ */ ok(result, "we either bailed on an error or have a tree");
|
|
15739
15723
|
return result;
|
|
15740
15724
|
/**
|
|
15741
15725
|
* @type {ProcessCallback<VFileWithOutput<CompileResult>>}
|
|
@@ -15802,6 +15786,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15802
15786
|
* @returns {undefined}
|
|
15803
15787
|
*/
|
|
15804
15788
|
function executor(resolve, reject) {
|
|
15789
|
+
/* @__PURE__ */ ok(typeof file !== "function", "`file` can’t be a `done` anymore, we checked");
|
|
15805
15790
|
const realFile = vfile(file);
|
|
15806
15791
|
transformers.run(tree, realFile, realDone);
|
|
15807
15792
|
/**
|
|
@@ -15814,7 +15799,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15814
15799
|
const resultingTree = outputTree || tree;
|
|
15815
15800
|
if (error) reject(error);
|
|
15816
15801
|
else if (resolve) resolve(resultingTree);
|
|
15817
|
-
else
|
|
15802
|
+
else {
|
|
15803
|
+
/* @__PURE__ */ ok(done, "`done` is defined if `resolve` is not");
|
|
15804
|
+
done(void 0, resultingTree, file);
|
|
15805
|
+
}
|
|
15818
15806
|
}
|
|
15819
15807
|
}
|
|
15820
15808
|
}
|
|
@@ -15842,6 +15830,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15842
15830
|
let result;
|
|
15843
15831
|
this.run(tree, file, realDone);
|
|
15844
15832
|
assertDone("runSync", "run", complete);
|
|
15833
|
+
/* @__PURE__ */ ok(result, "we either bailed on an error or have a tree");
|
|
15845
15834
|
return result;
|
|
15846
15835
|
/**
|
|
15847
15836
|
* @type {RunCallback<TailTree extends undefined ? Node : TailTree>}
|
|
@@ -15951,9 +15940,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15951
15940
|
const namespace = this.namespace;
|
|
15952
15941
|
assertUnfrozen("use", this.frozen);
|
|
15953
15942
|
if (value === null || value === void 0) {} else if (typeof value === "function") addPlugin(value, parameters);
|
|
15954
|
-
else if (typeof value === "object")
|
|
15955
|
-
|
|
15956
|
-
|
|
15943
|
+
else if (typeof value === "object") {
|
|
15944
|
+
if (Array.isArray(value)) addList(value);
|
|
15945
|
+
else addPreset(value);
|
|
15946
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
15957
15947
|
return this;
|
|
15958
15948
|
/**
|
|
15959
15949
|
* @param {Pluggable} value
|
|
@@ -15961,11 +15951,12 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15961
15951
|
*/
|
|
15962
15952
|
function add(value) {
|
|
15963
15953
|
if (typeof value === "function") addPlugin(value, []);
|
|
15964
|
-
else if (typeof value === "object")
|
|
15965
|
-
|
|
15966
|
-
|
|
15967
|
-
|
|
15968
|
-
|
|
15954
|
+
else if (typeof value === "object") {
|
|
15955
|
+
if (Array.isArray(value)) {
|
|
15956
|
+
const [plugin, ...parameters] = value;
|
|
15957
|
+
addPlugin(plugin, parameters);
|
|
15958
|
+
} else addPreset(value);
|
|
15959
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
15969
15960
|
}
|
|
15970
15961
|
/**
|
|
15971
15962
|
* @param {Preset} result
|
|
@@ -16013,7 +16004,34 @@ var unified = new class Processor extends CallableInstance {
|
|
|
16013
16004
|
}
|
|
16014
16005
|
}
|
|
16015
16006
|
}
|
|
16016
|
-
}
|
|
16007
|
+
};
|
|
16008
|
+
/**
|
|
16009
|
+
* Create a new processor.
|
|
16010
|
+
*
|
|
16011
|
+
* @example
|
|
16012
|
+
* This example shows how a new processor can be created (from `remark`) and linked
|
|
16013
|
+
* to **stdin**(4) and **stdout**(4).
|
|
16014
|
+
*
|
|
16015
|
+
* ```js
|
|
16016
|
+
* import process from 'node:process'
|
|
16017
|
+
* import concatStream from 'concat-stream'
|
|
16018
|
+
* import {remark} from 'remark'
|
|
16019
|
+
*
|
|
16020
|
+
* process.stdin.pipe(
|
|
16021
|
+
* concatStream(function (buf) {
|
|
16022
|
+
* process.stdout.write(String(remark().processSync(buf)))
|
|
16023
|
+
* })
|
|
16024
|
+
* )
|
|
16025
|
+
* ```
|
|
16026
|
+
*
|
|
16027
|
+
* @returns
|
|
16028
|
+
* New *unfrozen* processor (`processor`).
|
|
16029
|
+
*
|
|
16030
|
+
* This processor is configured to work the same as its ancestor.
|
|
16031
|
+
* When the descendant processor is configured in the future it does not
|
|
16032
|
+
* affect the ancestral processor.
|
|
16033
|
+
*/
|
|
16034
|
+
const unified = new Processor().freeze();
|
|
16017
16035
|
/**
|
|
16018
16036
|
* Assert a parser is available.
|
|
16019
16037
|
*
|
|
@@ -16096,13 +16114,15 @@ function looksLikeAValue(value) {
|
|
|
16096
16114
|
function isUint8Array(value) {
|
|
16097
16115
|
return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
|
|
16098
16116
|
}
|
|
16117
|
+
|
|
16099
16118
|
//#endregion
|
|
16100
16119
|
//#region ../../node_modules/.pnpm/remark@15.0.1/node_modules/remark/index.js
|
|
16101
16120
|
/**
|
|
16102
16121
|
* Create a new unified processor that already uses `remark-parse` and
|
|
16103
16122
|
* `remark-stringify`.
|
|
16104
16123
|
*/
|
|
16105
|
-
|
|
16124
|
+
const remark = unified().use(remarkParse).use(remarkStringify).freeze();
|
|
16125
|
+
|
|
16106
16126
|
//#endregion
|
|
16107
16127
|
//#region ../../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js
|
|
16108
16128
|
/**
|
|
@@ -16126,12 +16146,14 @@ function ccount(value, character) {
|
|
|
16126
16146
|
}
|
|
16127
16147
|
return count;
|
|
16128
16148
|
}
|
|
16149
|
+
|
|
16129
16150
|
//#endregion
|
|
16130
16151
|
//#region ../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
16131
16152
|
function escapeStringRegexp(string) {
|
|
16132
16153
|
if (typeof string !== "string") throw new TypeError("Expected a string");
|
|
16133
16154
|
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
16134
16155
|
}
|
|
16156
|
+
|
|
16135
16157
|
//#endregion
|
|
16136
16158
|
//#region ../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
16137
16159
|
/**
|
|
@@ -16327,6 +16349,7 @@ function toFunction(replace) {
|
|
|
16327
16349
|
return replace;
|
|
16328
16350
|
};
|
|
16329
16351
|
}
|
|
16352
|
+
|
|
16330
16353
|
//#endregion
|
|
16331
16354
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
16332
16355
|
/**
|
|
@@ -16336,9 +16359,9 @@ function toFunction(replace) {
|
|
|
16336
16359
|
* @import {Link, PhrasingContent} from 'mdast'
|
|
16337
16360
|
*/
|
|
16338
16361
|
/** @type {ConstructName} */
|
|
16339
|
-
|
|
16362
|
+
const inConstruct = "phrasing";
|
|
16340
16363
|
/** @type {Array<ConstructName>} */
|
|
16341
|
-
|
|
16364
|
+
const notInConstruct = [
|
|
16342
16365
|
"autolink",
|
|
16343
16366
|
"link",
|
|
16344
16367
|
"image",
|
|
@@ -16433,7 +16456,7 @@ function exitLiteralAutolinkHttp(token) {
|
|
|
16433
16456
|
function exitLiteralAutolinkWww(token) {
|
|
16434
16457
|
this.config.exit.data.call(this, token);
|
|
16435
16458
|
const node = this.stack[this.stack.length - 1];
|
|
16436
|
-
node.type;
|
|
16459
|
+
/* @__PURE__ */ ok(node.type === "link");
|
|
16437
16460
|
node.url = "http://" + this.sliceSerialize(token);
|
|
16438
16461
|
}
|
|
16439
16462
|
/**
|
|
@@ -16548,6 +16571,7 @@ function previous(match, email) {
|
|
|
16548
16571
|
const code = match.input.charCodeAt(match.index - 1);
|
|
16549
16572
|
return (match.index === 0 || unicodeWhitespace(code) || unicodePunctuation(code)) && (!email || code !== 47);
|
|
16550
16573
|
}
|
|
16574
|
+
|
|
16551
16575
|
//#endregion
|
|
16552
16576
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
16553
16577
|
/**
|
|
@@ -16609,7 +16633,7 @@ function enterFootnoteDefinition(token) {
|
|
|
16609
16633
|
function exitFootnoteCallString(token) {
|
|
16610
16634
|
const label = this.resume();
|
|
16611
16635
|
const node = this.stack[this.stack.length - 1];
|
|
16612
|
-
node.type;
|
|
16636
|
+
/* @__PURE__ */ ok(node.type === "footnoteReference");
|
|
16613
16637
|
node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();
|
|
16614
16638
|
node.label = label;
|
|
16615
16639
|
}
|
|
@@ -16627,7 +16651,7 @@ function exitFootnoteCall(token) {
|
|
|
16627
16651
|
function exitFootnoteDefinitionLabelString(token) {
|
|
16628
16652
|
const label = this.resume();
|
|
16629
16653
|
const node = this.stack[this.stack.length - 1];
|
|
16630
|
-
node.type;
|
|
16654
|
+
/* @__PURE__ */ ok(node.type === "footnoteDefinition");
|
|
16631
16655
|
node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();
|
|
16632
16656
|
node.label = label;
|
|
16633
16657
|
}
|
|
@@ -16740,6 +16764,7 @@ function mapExceptFirst(line, index, blank) {
|
|
|
16740
16764
|
function mapAll(line, index, blank) {
|
|
16741
16765
|
return (blank ? "" : " ") + line;
|
|
16742
16766
|
}
|
|
16767
|
+
|
|
16743
16768
|
//#endregion
|
|
16744
16769
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
16745
16770
|
/**
|
|
@@ -16763,7 +16788,7 @@ function mapAll(line, index, blank) {
|
|
|
16763
16788
|
*
|
|
16764
16789
|
* @type {Array<ConstructName>}
|
|
16765
16790
|
*/
|
|
16766
|
-
|
|
16791
|
+
const constructsWithoutStrikethrough = [
|
|
16767
16792
|
"autolink",
|
|
16768
16793
|
"destinationLiteral",
|
|
16769
16794
|
"destinationRaw",
|
|
@@ -16841,6 +16866,7 @@ function handleDelete(node, _, state, info) {
|
|
|
16841
16866
|
function peekDelete() {
|
|
16842
16867
|
return "~";
|
|
16843
16868
|
}
|
|
16869
|
+
|
|
16844
16870
|
//#endregion
|
|
16845
16871
|
//#region ../../node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js
|
|
16846
16872
|
/**
|
|
@@ -17089,14 +17115,15 @@ function markdownTable(table, options) {
|
|
|
17089
17115
|
const size = longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0);
|
|
17090
17116
|
const code = alignments[columnIndex];
|
|
17091
17117
|
if (code === 114) before = " ".repeat(size);
|
|
17092
|
-
else if (code === 99)
|
|
17093
|
-
|
|
17094
|
-
|
|
17095
|
-
|
|
17096
|
-
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
|
|
17118
|
+
else if (code === 99) {
|
|
17119
|
+
if (size % 2) {
|
|
17120
|
+
before = " ".repeat(size / 2 + .5);
|
|
17121
|
+
after = " ".repeat(size / 2 - .5);
|
|
17122
|
+
} else {
|
|
17123
|
+
before = " ".repeat(size / 2);
|
|
17124
|
+
after = before;
|
|
17125
|
+
}
|
|
17126
|
+
} else after = " ".repeat(size);
|
|
17100
17127
|
}
|
|
17101
17128
|
if (settings.delimiterStart !== false && !columnIndex) line.push("|");
|
|
17102
17129
|
if (settings.padding !== false && !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) line.push(" ");
|
|
@@ -17129,6 +17156,7 @@ function toAlignment(value) {
|
|
|
17129
17156
|
const code = typeof value === "string" ? value.codePointAt(0) : 0;
|
|
17130
17157
|
return code === 67 || code === 99 ? 99 : code === 76 || code === 108 ? 108 : code === 82 || code === 114 ? 114 : 0;
|
|
17131
17158
|
}
|
|
17159
|
+
|
|
17132
17160
|
//#endregion
|
|
17133
17161
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
17134
17162
|
/**
|
|
@@ -17190,6 +17218,7 @@ function gfmTableFromMarkdown() {
|
|
|
17190
17218
|
*/
|
|
17191
17219
|
function enterTable(token) {
|
|
17192
17220
|
const align = token._align;
|
|
17221
|
+
/* @__PURE__ */ ok(align, "expected `_align` on table");
|
|
17193
17222
|
this.enter({
|
|
17194
17223
|
type: "table",
|
|
17195
17224
|
align: align.map(function(d) {
|
|
@@ -17242,7 +17271,7 @@ function exitCodeText(token) {
|
|
|
17242
17271
|
let value = this.resume();
|
|
17243
17272
|
if (this.data.inTable) value = value.replace(/\\([\\|])/g, replace);
|
|
17244
17273
|
const node = this.stack[this.stack.length - 1];
|
|
17245
|
-
node.type;
|
|
17274
|
+
/* @__PURE__ */ ok(node.type === "inlineCode");
|
|
17246
17275
|
node.value = value;
|
|
17247
17276
|
this.exit(token);
|
|
17248
17277
|
}
|
|
@@ -17393,6 +17422,7 @@ function gfmTableToMarkdown(options) {
|
|
|
17393
17422
|
return value;
|
|
17394
17423
|
}
|
|
17395
17424
|
}
|
|
17425
|
+
|
|
17396
17426
|
//#endregion
|
|
17397
17427
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
17398
17428
|
/**
|
|
@@ -17441,7 +17471,7 @@ function gfmTaskListItemToMarkdown() {
|
|
|
17441
17471
|
*/
|
|
17442
17472
|
function exitCheck(token) {
|
|
17443
17473
|
const node = this.stack[this.stack.length - 2];
|
|
17444
|
-
node.type;
|
|
17474
|
+
/* @__PURE__ */ ok(node.type === "listItem");
|
|
17445
17475
|
node.checked = token.type === "taskListCheckValueChecked";
|
|
17446
17476
|
}
|
|
17447
17477
|
/**
|
|
@@ -17452,7 +17482,7 @@ function exitParagraphWithTaskListItem(token) {
|
|
|
17452
17482
|
const parent = this.stack[this.stack.length - 2];
|
|
17453
17483
|
if (parent && parent.type === "listItem" && typeof parent.checked === "boolean") {
|
|
17454
17484
|
const node = this.stack[this.stack.length - 1];
|
|
17455
|
-
node.type;
|
|
17485
|
+
/* @__PURE__ */ ok(node.type === "paragraph");
|
|
17456
17486
|
const head = node.children[0];
|
|
17457
17487
|
if (head && head.type === "text") {
|
|
17458
17488
|
const siblings = parent.children;
|
|
@@ -17503,6 +17533,7 @@ function listItemWithTaskListItem(node, parent, state, info) {
|
|
|
17503
17533
|
return $0 + checkbox;
|
|
17504
17534
|
}
|
|
17505
17535
|
}
|
|
17536
|
+
|
|
17506
17537
|
//#endregion
|
|
17507
17538
|
//#region ../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
|
|
17508
17539
|
/**
|
|
@@ -17546,48 +17577,49 @@ function gfmToMarkdown(options) {
|
|
|
17546
17577
|
gfmTaskListItemToMarkdown()
|
|
17547
17578
|
] };
|
|
17548
17579
|
}
|
|
17580
|
+
|
|
17549
17581
|
//#endregion
|
|
17550
17582
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
17551
17583
|
/**
|
|
17552
17584
|
* @import {Code, ConstructRecord, Event, Extension, Previous, State, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
17553
17585
|
*/
|
|
17554
|
-
|
|
17586
|
+
const wwwPrefix = {
|
|
17555
17587
|
tokenize: tokenizeWwwPrefix,
|
|
17556
17588
|
partial: true
|
|
17557
17589
|
};
|
|
17558
|
-
|
|
17590
|
+
const domain = {
|
|
17559
17591
|
tokenize: tokenizeDomain,
|
|
17560
17592
|
partial: true
|
|
17561
17593
|
};
|
|
17562
|
-
|
|
17594
|
+
const path = {
|
|
17563
17595
|
tokenize: tokenizePath,
|
|
17564
17596
|
partial: true
|
|
17565
17597
|
};
|
|
17566
|
-
|
|
17598
|
+
const trail = {
|
|
17567
17599
|
tokenize: tokenizeTrail,
|
|
17568
17600
|
partial: true
|
|
17569
17601
|
};
|
|
17570
|
-
|
|
17602
|
+
const emailDomainDotTrail = {
|
|
17571
17603
|
tokenize: tokenizeEmailDomainDotTrail,
|
|
17572
17604
|
partial: true
|
|
17573
17605
|
};
|
|
17574
|
-
|
|
17606
|
+
const wwwAutolink = {
|
|
17575
17607
|
name: "wwwAutolink",
|
|
17576
17608
|
tokenize: tokenizeWwwAutolink,
|
|
17577
17609
|
previous: previousWww
|
|
17578
17610
|
};
|
|
17579
|
-
|
|
17611
|
+
const protocolAutolink = {
|
|
17580
17612
|
name: "protocolAutolink",
|
|
17581
17613
|
tokenize: tokenizeProtocolAutolink,
|
|
17582
17614
|
previous: previousProtocol
|
|
17583
17615
|
};
|
|
17584
|
-
|
|
17616
|
+
const emailAutolink = {
|
|
17585
17617
|
name: "emailAutolink",
|
|
17586
17618
|
tokenize: tokenizeEmailAutolink,
|
|
17587
17619
|
previous: previousEmail
|
|
17588
17620
|
};
|
|
17589
17621
|
/** @type {ConstructRecord} */
|
|
17590
|
-
|
|
17622
|
+
const text = {};
|
|
17591
17623
|
/**
|
|
17592
17624
|
* Create an extension for `micromark` to support GitHub autolink literal
|
|
17593
17625
|
* syntax.
|
|
@@ -17600,7 +17632,7 @@ function gfmAutolinkLiteral() {
|
|
|
17600
17632
|
return { text };
|
|
17601
17633
|
}
|
|
17602
17634
|
/** @type {Code} */
|
|
17603
|
-
|
|
17635
|
+
let code = 48;
|
|
17604
17636
|
while (code < 123) {
|
|
17605
17637
|
text[code] = emailAutolink;
|
|
17606
17638
|
code++;
|
|
@@ -18247,12 +18279,13 @@ function previousUnbalanced(events) {
|
|
|
18247
18279
|
if (events.length > 0 && !result) events[events.length - 1][1]._gfmAutolinkLiteralWalkedInto = true;
|
|
18248
18280
|
return result;
|
|
18249
18281
|
}
|
|
18282
|
+
|
|
18250
18283
|
//#endregion
|
|
18251
18284
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
18252
18285
|
/**
|
|
18253
18286
|
* @import {Event, Exiter, Extension, Resolver, State, Token, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
18254
18287
|
*/
|
|
18255
|
-
|
|
18288
|
+
const indent = {
|
|
18256
18289
|
tokenize: tokenizeIndent,
|
|
18257
18290
|
partial: true
|
|
18258
18291
|
};
|
|
@@ -18666,6 +18699,7 @@ function tokenizeIndent(effects, ok, nok) {
|
|
|
18666
18699
|
return tail && tail[1].type === "gfmFootnoteDefinitionIndent" && tail[2].sliceSerialize(tail[1], true).length === 4 ? ok(code) : nok(code);
|
|
18667
18700
|
}
|
|
18668
18701
|
}
|
|
18702
|
+
|
|
18669
18703
|
//#endregion
|
|
18670
18704
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
18671
18705
|
/**
|
|
@@ -18807,6 +18841,7 @@ function gfmStrikethrough(options) {
|
|
|
18807
18841
|
}
|
|
18808
18842
|
}
|
|
18809
18843
|
}
|
|
18844
|
+
|
|
18810
18845
|
//#endregion
|
|
18811
18846
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
18812
18847
|
/**
|
|
@@ -18899,6 +18934,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
18899
18934
|
add
|
|
18900
18935
|
]);
|
|
18901
18936
|
}
|
|
18937
|
+
|
|
18902
18938
|
//#endregion
|
|
18903
18939
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
18904
18940
|
/**
|
|
@@ -18937,6 +18973,7 @@ function gfmTableAlign(events, index) {
|
|
|
18937
18973
|
}
|
|
18938
18974
|
return align;
|
|
18939
18975
|
}
|
|
18976
|
+
|
|
18940
18977
|
//#endregion
|
|
18941
18978
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
18942
18979
|
/**
|
|
@@ -19481,19 +19518,21 @@ function resolveTable(events, context) {
|
|
|
19481
19518
|
}
|
|
19482
19519
|
cell[2] = index;
|
|
19483
19520
|
}
|
|
19484
|
-
} else if (token.type === "tableCellDivider")
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19521
|
+
} else if (token.type === "tableCellDivider") {
|
|
19522
|
+
if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
|
|
19523
|
+
else {
|
|
19524
|
+
if (lastCell[1] !== 0) {
|
|
19525
|
+
cell[0] = cell[1];
|
|
19526
|
+
currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
|
|
19527
|
+
}
|
|
19528
|
+
lastCell = cell;
|
|
19529
|
+
cell = [
|
|
19530
|
+
lastCell[1],
|
|
19531
|
+
index,
|
|
19532
|
+
0,
|
|
19533
|
+
0
|
|
19534
|
+
];
|
|
19489
19535
|
}
|
|
19490
|
-
lastCell = cell;
|
|
19491
|
-
cell = [
|
|
19492
|
-
lastCell[1],
|
|
19493
|
-
index,
|
|
19494
|
-
0,
|
|
19495
|
-
0
|
|
19496
|
-
];
|
|
19497
19536
|
}
|
|
19498
19537
|
} else if (token.type === "tableHead") {
|
|
19499
19538
|
afterHeadAwaitingFirstBodyRow = true;
|
|
@@ -19631,12 +19670,13 @@ function getPoint(events, index) {
|
|
|
19631
19670
|
const side = event[0] === "enter" ? "start" : "end";
|
|
19632
19671
|
return event[1][side];
|
|
19633
19672
|
}
|
|
19673
|
+
|
|
19634
19674
|
//#endregion
|
|
19635
19675
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
19636
19676
|
/**
|
|
19637
19677
|
* @import {Extension, State, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
19638
19678
|
*/
|
|
19639
|
-
|
|
19679
|
+
const tasklistCheck = {
|
|
19640
19680
|
name: "tasklistCheck",
|
|
19641
19681
|
tokenize: tokenizeTasklistCheck
|
|
19642
19682
|
};
|
|
@@ -19750,6 +19790,7 @@ function spaceThenNonSpace(effects, ok, nok) {
|
|
|
19750
19790
|
return code === null ? nok(code) : ok(code);
|
|
19751
19791
|
}
|
|
19752
19792
|
}
|
|
19793
|
+
|
|
19753
19794
|
//#endregion
|
|
19754
19795
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
19755
19796
|
/**
|
|
@@ -19778,6 +19819,7 @@ function gfm(options) {
|
|
|
19778
19819
|
gfmTaskListItem()
|
|
19779
19820
|
]);
|
|
19780
19821
|
}
|
|
19822
|
+
|
|
19781
19823
|
//#endregion
|
|
19782
19824
|
//#region ../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
|
|
19783
19825
|
/**
|
|
@@ -19788,7 +19830,7 @@ function gfm(options) {
|
|
|
19788
19830
|
* @import {Processor} from 'unified'
|
|
19789
19831
|
*/
|
|
19790
19832
|
/** @type {Options} */
|
|
19791
|
-
|
|
19833
|
+
const emptyOptions = {};
|
|
19792
19834
|
/**
|
|
19793
19835
|
* Add support GFM (autolink literals, footnotes, strikethrough, tables,
|
|
19794
19836
|
* tasklists).
|
|
@@ -19809,6 +19851,7 @@ function remarkGfm(options) {
|
|
|
19809
19851
|
fromMarkdownExtensions.push(gfmFromMarkdown());
|
|
19810
19852
|
toMarkdownExtensions.push(gfmToMarkdown(settings));
|
|
19811
19853
|
}
|
|
19854
|
+
|
|
19812
19855
|
//#endregion
|
|
19813
19856
|
//#region src/export/sentinel.ts
|
|
19814
19857
|
/**
|
|
@@ -19834,11 +19877,11 @@ function remarkGfm(options) {
|
|
|
19834
19877
|
* rewrites, so the payload arrives byte-identical.
|
|
19835
19878
|
*/
|
|
19836
19879
|
/** U+E000 — opens a directive token. */
|
|
19837
|
-
|
|
19880
|
+
const OPEN = "";
|
|
19838
19881
|
/** U+E001 — closes a directive token. */
|
|
19839
|
-
|
|
19882
|
+
const CLOSE = "";
|
|
19840
19883
|
/** Matches one complete token, capturing its base64 payload. */
|
|
19841
|
-
|
|
19884
|
+
const TOKEN_RE = /\uE000([^\uE000\uE001]*)\uE001/g;
|
|
19842
19885
|
/** UTF-8 safe base64 encode (`btoa` is byte-oriented, so encode to bytes first). */
|
|
19843
19886
|
function toBase64(text) {
|
|
19844
19887
|
const bytes = new TextEncoder().encode(text);
|
|
@@ -19900,7 +19943,7 @@ function stripDirectives(text) {
|
|
|
19900
19943
|
* asterisks. CommonMark unescapes any backslashed ASCII punctuation, so remark
|
|
19901
19944
|
* hands the original characters back.
|
|
19902
19945
|
*/
|
|
19903
|
-
|
|
19946
|
+
const CELL_ESCAPE_RE = /[\\`*_[\]<>~|]/g;
|
|
19904
19947
|
/**
|
|
19905
19948
|
* Escape a value for safe interpolation into a GFM **table cell**. Directive
|
|
19906
19949
|
* tokens are skipped — they are base64 and must arrive byte-identical.
|
|
@@ -19917,6 +19960,7 @@ function escapeCellText(text) {
|
|
|
19917
19960
|
}
|
|
19918
19961
|
return out + escape(text.slice(index));
|
|
19919
19962
|
}
|
|
19963
|
+
|
|
19920
19964
|
//#endregion
|
|
19921
19965
|
//#region src/export/markdown.ts
|
|
19922
19966
|
/**
|
|
@@ -19927,11 +19971,11 @@ function escapeCellText(text) {
|
|
|
19927
19971
|
* One processor for the whole module. `.parse()` is stateless, and building a
|
|
19928
19972
|
* remark pipeline is not free — the old code built a fresh one on every call.
|
|
19929
19973
|
*/
|
|
19930
|
-
|
|
19974
|
+
const processor = remark().use(remarkGfm);
|
|
19931
19975
|
/** A table row: up to three leading spaces, then a pipe. */
|
|
19932
|
-
|
|
19976
|
+
const TABLE_ROW_RE = /^ {0,3}\|/;
|
|
19933
19977
|
/** The delimiter row under a table's header (`| --- | ---: |`). */
|
|
19934
|
-
|
|
19978
|
+
const DELIMITER_RE = /^ {0,3}\|?(?: *:?-+:? *\|)+ *:?-+:? *\|? *$/;
|
|
19935
19979
|
/**
|
|
19936
19980
|
* Characters that make a cell worth handing to the real inline parser.
|
|
19937
19981
|
*
|
|
@@ -19940,7 +19984,7 @@ var DELIMITER_RE = /^ {0,3}\|?(?: *:?-+:? *\|)+ *:?-+:? *\|? *$/;
|
|
|
19940
19984
|
* here: they are extracted downstream by `flattenInline`, straight off a plain
|
|
19941
19985
|
* text node's value.
|
|
19942
19986
|
*/
|
|
19943
|
-
|
|
19987
|
+
const INLINE_SYNTAX_RE = /[\\`*_[\]<>~&]/;
|
|
19944
19988
|
/**
|
|
19945
19989
|
* Parse rendered Markdown into an mdast tree, with GFM tables enabled.
|
|
19946
19990
|
*
|
|
@@ -20142,5 +20186,6 @@ function walkInline(nodes, acc) {
|
|
|
20142
20186
|
function unescapeMarkdown(text) {
|
|
20143
20187
|
return text.replace(/\\([\\`*_[\]<>~|])/g, "$1").replace(/<br\s*\/?>/gi, "\n");
|
|
20144
20188
|
}
|
|
20189
|
+
|
|
20145
20190
|
//#endregion
|
|
20146
|
-
export { stripDirectives as a,
|
|
20191
|
+
export { stripDirectives as a, escapeCellText as i, parseMarkdown as n, __commonJSMin as o, encodeDirective as r, __toESM as s, flattenInline as t };
|