reactive-md 0.9.2 → 0.10.0
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/CHANGELOG-ch.md +397 -333
- package/CHANGELOG.md +398 -334
- package/CONTRIBUTING-ch.md +22 -22
- package/CONTRIBUTING.md +22 -22
- package/README-ch.md +431 -431
- package/README-en.md +431 -431
- package/README.md +429 -429
- package/SECURITY-ch.md +83 -83
- package/SECURITY.md +83 -83
- package/THIRD_PARTY_NOTICES.md +0 -57
- package/bin/reactive-md.mjs +39 -39
- package/cli/args.mjs +263 -263
- package/cli/assets.mjs +395 -395
- package/cli/build.mjs +445 -445
- package/cli/check.mjs +444 -444
- package/cli/document.mjs +130 -130
- package/cli/errors.mjs +61 -61
- package/cli/fs-utils.mjs +133 -133
- package/cli/glob.mjs +203 -203
- package/cli/help.mjs +325 -323
- package/cli/init.mjs +1577 -1577
- package/cli/lint.mjs +177 -177
- package/cli/main.mjs +65 -65
- package/cli/migrate.mjs +368 -368
- package/cli/package-loader.mjs +41 -41
- package/cli/package.mjs +211 -211
- package/dist-library/LocalDocumentView-CP2QG86k.js +114 -0
- package/dist-library/{LocalDocumentViewCore-DXE0I0Qc.js → LocalDocumentViewCore-Cd6yMEkg.js} +379 -9445
- package/dist-library/LocalReactiveDocumentCore-VuYpZqdn.js +283 -0
- package/dist-library/LocalStaticDocumentView-DfX6bemE.js +147 -0
- package/dist-library/authoring-Bwu_zCWs.js +768 -0
- package/dist-library/chart-B1TUtzm-.js +3 -0
- package/dist-library/choice-values-BItGjPD2.js +58 -0
- package/dist-library/color-values-r8Wf7ALn.js +6 -0
- package/dist-library/compile-B35rfzKr.js +1742 -0
- package/dist-library/compile-cache-key-D21X2Obx.js +28 -0
- package/dist-library/compiler-DBwLawMZ.js +98 -0
- package/dist-library/{compiler-core-DDDdvuLy.js → compiler-core-kkDiQ1RK.js} +4202 -3496
- package/dist-library/component-kernel-CsJSabHX.js +372 -0
- package/dist-library/{component-state-BRwvTV0d.js → component-state-Da0G8Ajc.js} +1 -1
- package/dist-library/component-utils-ZM3jUJNy.js +339 -0
- package/dist-library/conditional-branches-CIhJXasR.js +17 -0
- package/dist-library/config-validation-DbmsWAEV.js +469 -0
- package/dist-library/controls-DRy5rzzN.js +5970 -0
- package/dist-library/controls-DWlx-AQl.js +3 -0
- package/dist-library/{coordinate-B1VFK9fd.js → coordinate-c54pHfgf.js} +89 -89
- package/dist-library/data-BtFlkJzp.js +3 -0
- package/dist-library/data-table-CSAkm1eU.js +290 -0
- package/dist-library/data-table-model-DruztQFt.js +391 -0
- package/dist-library/data-visuals-rZQUeQM0.js +384 -0
- package/dist-library/{default-components-s21NevON.js → default-components-B-39etG9.js} +518 -355
- package/dist-library/{config-DXLvctiZ.js → default-config-CCa8rm2k.js} +265 -230
- package/dist-library/default-options-By16CVw1.js +131 -0
- package/dist-library/{registry-D6OGkOcX.js → default-registry-DXJy66xj.js} +4 -4
- package/dist-library/default-schema-CeYiEW1K.js +33 -0
- package/dist-library/diagram-BLepzI8l.js +3 -0
- package/dist-library/display-Bb6hAG5T.js +2065 -0
- package/dist-library/dist-Cueh1Psp.js +4761 -0
- package/dist-library/{document-theme-C8J6UyNO.js → document-theme-CJvN-nC1.js} +246 -4
- package/dist-library/{export-CIAIPBov.js → export-BSV4E0jv.js} +135 -135
- package/dist-library/font-aliases-CKYjwn4o.js +4 -0
- package/dist-library/gallery-BC6FYTqw.js +3 -0
- package/dist-library/{gallery-Dv1rOvL0.js → gallery-DM2yTVZJ.js} +1 -1
- package/dist-library/{html-Cr4CBwAH.js → html-CY9mC3Sr.js} +49 -48
- package/dist-library/{incremental-9nx92u9c.js → incremental-B-wW4H3F.js} +537 -384
- package/dist-library/{display-B_uutKkN.js → katex-4ukd4ZxT.js} +1555 -3618
- package/dist-library/layout-CPQggKxk.js +592 -0
- package/dist-library/layout-CaDWsDof.js +3 -0
- package/dist-library/limits-CFERRrlC.js +10 -0
- package/dist-library/localization-COdJ6lw2.js +6 -0
- package/dist-library/mafs-CnzDC5CR.js +3 -0
- package/dist-library/math-view-CyGTS6kv.js +20 -0
- package/dist-library/motion-tokens-Czk0RDmS.js +283 -0
- package/dist-library/mount-preset-DtrCX4G8.js +24 -0
- package/dist-library/numeric-sliders-BmJ1LCLx.js +542 -0
- package/dist-library/{observability-4KqXhIEU.js → observability-BVQ16ByQ.js} +125 -43
- package/dist-library/package-core-Cu_r_qs7.js +128 -0
- package/dist-library/parser-BHl9Lxbw.js +8 -0
- package/dist-library/parser-standard-DDAKv_DZ.js +4872 -0
- package/dist-library/plugin-packs-CkI0floL.js +19 -0
- package/dist-library/preset-core-BKPbH_Nv.js +1371 -0
- package/dist-library/props-0iDqxlTk.js +174 -0
- package/dist-library/react-74jdGBmu.js +32 -0
- package/dist-library/reactive-md-authoring.js +315 -296
- package/dist-library/reactive-md-build.js +334 -43
- package/dist-library/reactive-md-compiler-session.js +4 -0
- package/dist-library/reactive-md-compiler-standard.js +10 -10
- package/dist-library/reactive-md-compiler.js +3 -3
- package/dist-library/reactive-md-contracts.js +6 -0
- package/dist-library/reactive-md-default-packs.js +32 -15
- package/dist-library/reactive-md-default-preset.js +7 -7
- package/dist-library/reactive-md-export.js +6 -5
- package/dist-library/reactive-md-minimal-preset.js +3 -2
- package/dist-library/reactive-md-minimal-react-preset.js +26 -23
- package/dist-library/reactive-md-minimal.css +1 -1
- package/dist-library/reactive-md-observability.js +125 -3
- package/dist-library/reactive-md-pack-style-manifest.js +805 -0
- package/dist-library/reactive-md-plugin-chart.js +14 -9
- package/dist-library/reactive-md-plugin-data.js +8 -8
- package/dist-library/reactive-md-plugin-diagram.js +7 -6
- package/dist-library/reactive-md-plugin-forms.js +14 -13
- package/dist-library/reactive-md-plugin-gallery.js +6 -5
- package/dist-library/reactive-md-plugin-navigation.js +8 -8
- package/dist-library/reactive-md-plugin-network.js +13 -13
- package/dist-library/reactive-md-plugin-plot.js +7 -6
- package/dist-library/reactive-md-print.css +304 -304
- package/dist-library/reactive-md-react-component-accordion.js +10 -0
- package/dist-library/reactive-md-react-component-alert.js +10 -0
- package/dist-library/reactive-md-react-component-anchor.js +10 -0
- package/dist-library/reactive-md-react-component-badge.js +10 -0
- package/dist-library/reactive-md-react-component-card.js +10 -0
- package/dist-library/reactive-md-react-component-chart.js +22 -0
- package/dist-library/reactive-md-react-component-checkbox.js +10 -0
- package/dist-library/reactive-md-react-component-checklist.js +10 -0
- package/dist-library/reactive-md-react-component-choices.js +10 -0
- package/dist-library/reactive-md-react-component-column.js +6 -0
- package/dist-library/reactive-md-react-component-coordinate.js +21 -0
- package/dist-library/reactive-md-react-component-counter.js +10 -0
- package/dist-library/reactive-md-react-component-data-table.js +14 -0
- package/dist-library/reactive-md-react-component-date.js +10 -0
- package/dist-library/reactive-md-react-component-diagram.js +22 -0
- package/dist-library/reactive-md-react-component-disclosure.js +10 -0
- package/dist-library/reactive-md-react-component-edge.js +22 -0
- package/dist-library/reactive-md-react-component-else.js +10 -0
- package/dist-library/reactive-md-react-component-gallery-item.js +10 -0
- package/dist-library/reactive-md-react-component-gallery.js +10 -0
- package/dist-library/reactive-md-react-component-grid.js +10 -0
- package/dist-library/reactive-md-react-component-if.js +10 -0
- package/dist-library/reactive-md-react-component-input.js +10 -0
- package/dist-library/reactive-md-react-component-jump.js +10 -0
- package/dist-library/reactive-md-react-component-multi-select.js +10 -0
- package/dist-library/reactive-md-react-component-node.js +22 -0
- package/dist-library/reactive-md-react-component-number.js +10 -0
- package/dist-library/reactive-md-react-component-option.js +10 -0
- package/dist-library/reactive-md-react-component-panel.js +10 -0
- package/dist-library/reactive-md-react-component-plot.js +26 -0
- package/dist-library/reactive-md-react-component-progress.js +10 -0
- package/dist-library/reactive-md-react-component-quiz.js +10 -0
- package/dist-library/reactive-md-react-component-radio-group.js +10 -0
- package/dist-library/reactive-md-react-component-range-slider.js +10 -0
- package/dist-library/reactive-md-react-component-section.js +10 -0
- package/dist-library/reactive-md-react-component-select.js +10 -0
- package/dist-library/reactive-md-react-component-slider.js +10 -0
- package/dist-library/reactive-md-react-component-step.js +10 -0
- package/dist-library/reactive-md-react-component-steps.js +10 -0
- package/dist-library/reactive-md-react-component-tab.js +10 -0
- package/dist-library/reactive-md-react-component-table.js +14 -0
- package/dist-library/reactive-md-react-component-tabs.js +10 -0
- package/dist-library/reactive-md-react-component-text.js +10 -0
- package/dist-library/reactive-md-react-component-textarea.js +10 -0
- package/dist-library/reactive-md-react-component-timeline.js +14 -0
- package/dist-library/reactive-md-react-component-timer.js +10 -0
- package/dist-library/reactive-md-react-component-toggle.js +10 -0
- package/dist-library/reactive-md-react-component-tooltip.js +10 -0
- package/dist-library/reactive-md-react-component-validation.js +10 -0
- package/dist-library/reactive-md-react-minimal.js +4 -4
- package/dist-library/reactive-md-react-pack-controls.js +44 -0
- package/dist-library/reactive-md-react-pack-data.js +21 -0
- package/dist-library/reactive-md-react-pack-layout.js +37 -0
- package/dist-library/reactive-md-react-pack-visuals.js +43 -0
- package/dist-library/reactive-md-react-packed.js +50 -0
- package/dist-library/reactive-md-react-server.js +29 -27
- package/dist-library/reactive-md-react-static-server.js +24 -0
- package/dist-library/reactive-md-react-static.js +1 -0
- package/dist-library/reactive-md-react-unstyled.js +15 -12
- package/dist-library/reactive-md-react.js +15 -12
- package/dist-library/reactive-md-scan.js +1 -0
- package/dist-library/reactive-md-sdk.js +23 -9
- package/dist-library/reactive-md-standalone-configured.js +2 -2
- package/dist-library/reactive-md-standalone-host.js +2 -2
- package/dist-library/reactive-md-testing-browser.js +2 -2
- package/dist-library/reactive-md-testing-react.js +32 -32
- package/dist-library/reactive-md-testing.js +12 -12
- package/dist-library/reactive-md-vite.js +25 -9
- package/dist-library/reactive-md-worker-pool.js +401 -0
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +97 -1554
- package/dist-library/registry-core-DxEaxhJ6.js +126 -0
- package/dist-library/render-nodes-B6j6Ip5I.js +9404 -0
- package/dist-library/requirements-C56sFIEs.js +157 -0
- package/dist-library/resources-6VaNgk-h.js +74 -0
- package/dist-library/rmd-pack-controls.css +1032 -0
- package/dist-library/rmd-pack-data.css +724 -0
- package/dist-library/rmd-pack-layout.css +1834 -0
- package/dist-library/rmd-pack-resource-chart.css +300 -0
- package/dist-library/rmd-pack-resource-controls.css +781 -0
- package/dist-library/rmd-pack-resource-data-visuals.css +501 -0
- package/dist-library/rmd-pack-resource-diagram.css +106 -0
- package/dist-library/rmd-pack-resource-gallery.css +346 -0
- package/dist-library/rmd-pack-resource-graphics.css +516 -0
- package/dist-library/rmd-pack-resource-layout.css +1489 -0
- package/dist-library/rmd-pack-resource-mafs-core.css +124 -0
- package/dist-library/rmd-pack-resource-mafs.css +129 -0
- package/dist-library/rmd-pack-resource-visual-base.css +224 -0
- package/dist-library/rmd-pack-visuals.css +1394 -0
- package/dist-library/runtime-BHeuLOv_.js +1369 -0
- package/dist-library/runtime-requirement-DzPO8raU.js +772 -0
- package/dist-library/schema-core-CDXfxdID.js +155 -0
- package/dist-library/sdk-core-CnE-n0Z7.js +1295 -0
- package/dist-library/{session-core-dxQCJBNa.js → session-core-C071yQwV.js} +147 -133
- package/dist-library/sha256-utf16-Bmandi_H.js +937 -0
- package/dist-library/shareable-CHCDnl6j.js +844 -0
- package/dist-library/shared-bTzN-F4g.js +3 -0
- package/dist-library/structural-views-30-YD_TJ.js +11 -0
- package/dist-library/table-surface-CfZn_tk-.js +13 -0
- package/dist-library/types/assemblies/compile-cache-key.d.ts +11 -0
- package/dist-library/types/assemblies/default-config.d.ts +35 -0
- package/dist-library/types/{local/configuration/options.d.ts → assemblies/default-options.d.ts} +4 -4
- package/dist-library/types/assemblies/default-registry.d.ts +18 -0
- package/dist-library/types/{local/configuration/schema.d.ts → assemblies/default-schema.d.ts} +4 -4
- package/dist-library/types/authoring/catalog.d.ts +14 -2
- package/dist-library/types/authoring/extensions.d.ts +1 -1
- package/dist-library/types/authoring/index.d.ts +4 -4
- package/dist-library/types/authoring/templates.d.ts +1 -1
- package/dist-library/types/compiler/index.d.ts +1 -0
- package/dist-library/types/compiler/session.d.ts +19 -0
- package/dist-library/types/compiler/standard.d.ts +1 -0
- package/dist-library/types/components/chart/default-chart-types.d.ts +3 -0
- package/dist-library/types/components/chart/default-chart.d.ts +7 -0
- package/dist-library/types/components/entries/accordion.d.ts +3 -0
- package/dist-library/types/components/entries/alert.d.ts +3 -0
- package/dist-library/types/components/entries/anchor.d.ts +3 -0
- package/dist-library/types/components/entries/badge.d.ts +3 -0
- package/dist-library/types/components/entries/card.d.ts +3 -0
- package/dist-library/types/components/entries/chart.d.ts +3 -0
- package/dist-library/types/components/entries/checkbox.d.ts +3 -0
- package/dist-library/types/components/entries/checklist.d.ts +3 -0
- package/dist-library/types/components/entries/choices.d.ts +3 -0
- package/dist-library/types/components/entries/column.d.ts +3 -0
- package/dist-library/types/components/entries/coordinate.d.ts +3 -0
- package/dist-library/types/components/entries/counter.d.ts +3 -0
- package/dist-library/types/components/entries/data-table.d.ts +3 -0
- package/dist-library/types/components/entries/date.d.ts +3 -0
- package/dist-library/types/components/entries/diagram.d.ts +3 -0
- package/dist-library/types/components/entries/disclosure.d.ts +3 -0
- package/dist-library/types/components/entries/edge.d.ts +3 -0
- package/dist-library/types/components/entries/else.d.ts +3 -0
- package/dist-library/types/components/entries/gallery-item.d.ts +3 -0
- package/dist-library/types/components/entries/gallery.d.ts +3 -0
- package/dist-library/types/components/entries/grid.d.ts +3 -0
- package/dist-library/types/components/entries/if.d.ts +3 -0
- package/dist-library/types/components/entries/input.d.ts +3 -0
- package/dist-library/types/components/entries/jump.d.ts +3 -0
- package/dist-library/types/components/entries/multi-select.d.ts +3 -0
- package/dist-library/types/components/entries/node.d.ts +3 -0
- package/dist-library/types/components/entries/number.d.ts +3 -0
- package/dist-library/types/components/entries/option.d.ts +3 -0
- package/dist-library/types/components/entries/panel.d.ts +3 -0
- package/dist-library/types/components/entries/plot.d.ts +3 -0
- package/dist-library/types/components/entries/progress.d.ts +3 -0
- package/dist-library/types/components/entries/quiz.d.ts +3 -0
- package/dist-library/types/components/entries/radio-group.d.ts +3 -0
- package/dist-library/types/components/entries/range-slider.d.ts +3 -0
- package/dist-library/types/components/entries/section.d.ts +3 -0
- package/dist-library/types/components/entries/select.d.ts +3 -0
- package/dist-library/types/components/entries/slider.d.ts +3 -0
- package/dist-library/types/components/entries/step.d.ts +3 -0
- package/dist-library/types/components/entries/steps.d.ts +3 -0
- package/dist-library/types/components/entries/tab.d.ts +3 -0
- package/dist-library/types/components/entries/table.d.ts +3 -0
- package/dist-library/types/components/entries/tabs.d.ts +3 -0
- package/dist-library/types/components/entries/text.d.ts +3 -0
- package/dist-library/types/components/entries/textarea.d.ts +3 -0
- package/dist-library/types/components/entries/timeline.d.ts +3 -0
- package/dist-library/types/components/entries/timer.d.ts +3 -0
- package/dist-library/types/components/entries/toggle.d.ts +3 -0
- package/dist-library/types/components/entries/tooltip.d.ts +3 -0
- package/dist-library/types/components/entries/validation.d.ts +3 -0
- package/dist-library/types/components/layout/layout.d.ts +6 -3
- package/dist-library/types/components/layout/structural-views.d.ts +3 -0
- package/dist-library/types/components/mount-preset.d.ts +2 -0
- package/dist-library/types/components/packs/controls.d.ts +2 -0
- package/dist-library/types/components/packs/data.d.ts +2 -0
- package/dist-library/types/components/packs/layout.d.ts +2 -0
- package/dist-library/types/components/packs/visuals.d.ts +2 -0
- package/dist-library/types/components/shared/data-visuals.d.ts +3 -0
- package/dist-library/types/components/shared/table-surface.d.ts +10 -0
- package/dist-library/types/components/shared/visual-helpers.d.ts +24 -0
- package/dist-library/types/components/shared/visuals.d.ts +1 -3
- package/dist-library/types/components/table/data-table-model.d.ts +141 -0
- package/dist-library/types/components/table/data-table.d.ts +3 -50
- package/dist-library/types/{local/configuration → contracts}/component-kernel.d.ts +9 -2
- package/dist-library/types/contracts/font-aliases.d.ts +18 -0
- package/dist-library/types/contracts/index.d.ts +8 -0
- package/dist-library/types/{local/configuration → contracts}/limits.d.ts +9 -1
- package/dist-library/types/contracts/localization.d.ts +6 -0
- package/dist-library/types/contracts/number-literal.d.ts +2 -0
- package/dist-library/types/contracts/runtime-types.d.ts +19 -0
- package/dist-library/types/contracts/sha256-utf16.d.ts +2 -0
- package/dist-library/types/export/index.d.ts +4 -1
- package/dist-library/types/local/compilation/cache-version.d.ts +1 -0
- package/dist-library/types/local/compilation/compile-status.d.ts +2 -0
- package/dist-library/types/local/compilation/compiler-bindings.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-capabilities.d.ts +4 -1
- package/dist-library/types/local/compilation/compiler-choices.d.ts +4 -0
- package/dist-library/types/local/compilation/compiler-core.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-declarations.d.ts +2 -1
- package/dist-library/types/local/compilation/compiler-embedding.d.ts +20 -0
- package/dist-library/types/local/compilation/compiler-expressions.d.ts +17 -5
- package/dist-library/types/local/compilation/compiler-macros.d.ts +18 -0
- package/dist-library/types/local/compilation/compiler-structure.d.ts +9 -3
- package/dist-library/types/local/compilation/compiler-tables.d.ts +4 -2
- package/dist-library/types/local/compilation/compiler-validation.d.ts +14 -7
- package/dist-library/types/local/compilation/compiler-values.d.ts +2 -3
- package/dist-library/types/local/compilation/compiler.d.ts +1 -1
- package/dist-library/types/local/compilation/component-usage.d.ts +2 -0
- package/dist-library/types/local/compilation/runtime-requirement.d.ts +3 -0
- package/dist-library/types/local/compilation/session/incremental.d.ts +5 -1
- package/dist-library/types/local/compilation/streaming.d.ts +1 -1
- package/dist-library/types/local/configuration/diagnostic-messages.d.ts +228 -2
- package/dist-library/types/local/configuration/diagnostic-runtime-messages.d.ts +40 -0
- package/dist-library/types/local/configuration/embedding.d.ts +4 -0
- package/dist-library/types/local/configuration/kernel-value-rules.d.ts +1 -1
- package/dist-library/types/local/configuration/options-core.d.ts +8 -2
- package/dist-library/types/local/evaluation/choice-values.d.ts +22 -0
- package/dist-library/types/local/evaluation/computations.d.ts +13 -5
- package/dist-library/types/local/evaluation/dataset.d.ts +4 -0
- package/dist-library/types/local/evaluation/expression/collection-functions.d.ts +13 -0
- package/dist-library/types/local/evaluation/expression/compile.d.ts +11 -4
- package/dist-library/types/local/evaluation/expression/data-functions.d.ts +23 -0
- package/dist-library/types/local/evaluation/expression/evaluation.d.ts +3 -1
- package/dist-library/types/local/evaluation/expression/internal-names.d.ts +8 -0
- package/dist-library/types/local/evaluation/expression/syntax.d.ts +19 -2
- package/dist-library/types/local/evaluation/expression/transform-budget.d.ts +13 -0
- package/dist-library/types/local/evaluation/expression/values.d.ts +9 -1
- package/dist-library/types/local/evaluation/validation.d.ts +8 -6
- package/dist-library/types/local/index.d.ts +10 -4
- package/dist-library/types/local/observability-core.d.ts +20 -1
- package/dist-library/types/local/observability.d.ts +2 -0
- package/dist-library/types/local/parsing/conditional-branches.d.ts +4 -0
- package/dist-library/types/local/parsing/parse-budget.d.ts +18 -2
- package/dist-library/types/local/parsing/parser-region.d.ts +13 -2
- package/dist-library/types/local/parsing/parser-tags.d.ts +6 -1
- package/dist-library/types/local/parsing/rmd-recovery.d.ts +8 -0
- package/dist-library/types/local/parsing/source-revision.d.ts +3 -0
- package/dist-library/types/local/performance-report.d.ts +70 -0
- package/dist-library/types/local/runtime/runtime-choices.d.ts +11 -0
- package/dist-library/types/local/runtime/runtime-pool.d.ts +14 -0
- package/dist-library/types/local/runtime/runtime.d.ts +3 -1
- package/dist-library/types/local/runtime/state.d.ts +30 -15
- package/dist-library/types/local/source/authoring-requirements.d.ts +3 -0
- package/dist-library/types/local/source/authoring-syntax.d.ts +3 -2
- package/dist-library/types/local/source/authoring.d.ts +10 -0
- package/dist-library/types/local/source/source-migration.d.ts +1 -0
- package/dist-library/types/local/transport/worker-handler.d.ts +3 -0
- package/dist-library/types/local/transport/worker-job.d.ts +12 -2
- package/dist-library/types/local/transport/worker-pool.d.ts +68 -0
- package/dist-library/types/local/transport/worker.d.ts +14 -0
- package/dist-library/types/local/types.d.ts +70 -27
- package/dist-library/types/observability.d.ts +1 -0
- package/dist-library/types/presets/default-semantics.d.ts +1 -1
- package/dist-library/types/presets/identity.d.ts +1 -8
- package/dist-library/types/presets/pack-style-entry.d.ts +3 -0
- package/dist-library/types/presets/pack-style-manifest.d.ts +11 -0
- package/dist-library/types/react/component-api.d.ts +24 -4
- package/dist-library/types/react/component-loader.d.ts +61 -0
- package/dist-library/types/react/component-primitives.d.ts +5 -5
- package/dist-library/types/react/component-utils.d.ts +11 -0
- package/dist-library/types/react/font-aliases.d.ts +2 -0
- package/dist-library/types/react/index.d.ts +9 -5
- package/dist-library/types/react/localization.d.ts +5 -6
- package/dist-library/types/react/minimal.d.ts +2 -2
- package/dist-library/types/react/package-core.d.ts +6 -0
- package/dist-library/types/react/packed.d.ts +17 -0
- package/dist-library/types/react/render-lifecycle.d.ts +9 -0
- package/dist-library/types/{local → react}/rendering/document/ExtendedHtmlFragment.d.ts +1 -1
- package/dist-library/types/{local → react}/rendering/document/LocalDocumentViewCore.d.ts +11 -4
- package/dist-library/types/react/rendering/document/LocalPooledDocumentView.d.ts +8 -0
- package/dist-library/types/react/rendering/document/LocalReactiveDocumentCore.d.ts +6 -0
- package/dist-library/types/react/rendering/document/LocalStaticDocumentView.d.ts +18 -0
- package/dist-library/types/react/rendering/document/StaticExternalSlot.d.ts +25 -0
- package/dist-library/types/react/rendering/document/StaticHostData.d.ts +14 -0
- package/dist-library/types/{local → react}/rendering/document/render-nodes.d.ts +8 -8
- package/dist-library/types/react/rendering/document/static-runtime.d.ts +11 -0
- package/dist-library/types/{local → react}/rendering/document/use-author-script.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/document/validation-state.d.ts +3 -3
- package/dist-library/types/{local → react}/rendering/document/view-render-context.d.ts +40 -8
- package/dist-library/types/{local → react}/rendering/document/view-revision.d.ts +5 -14
- package/dist-library/types/{local → react}/rendering/render-types.d.ts +5 -5
- package/dist-library/types/react/rendering/table/data-table.d.ts +5 -0
- package/dist-library/types/{local → react}/rendering/table/table-numeric-columns.d.ts +3 -3
- package/dist-library/types/react/sdk-core.d.ts +15 -4
- package/dist-library/types/react/sdk.d.ts +2 -1
- package/dist-library/types/react/server.d.ts +3 -10
- package/dist-library/types/react/static-server.d.ts +12 -0
- package/dist-library/types/scan/index.d.ts +15 -0
- package/dist-library/types/sdk/assembly.d.ts +3 -0
- package/dist-library/types/sdk/config.d.ts +2 -35
- package/dist-library/types/sdk/default-identity.d.ts +3 -0
- package/dist-library/types/sdk/font.d.ts +13 -0
- package/dist-library/types/sdk/index.d.ts +2 -1
- package/dist-library/types/sdk/preset.d.ts +9 -0
- package/dist-library/types/sdk/props.d.ts +8 -3
- package/dist-library/types/sdk/registry-core.d.ts +2 -2
- package/dist-library/types/sdk/registry.d.ts +2 -18
- package/dist-library/types/sdk/theme.d.ts +5 -0
- package/dist-library/types/sdk/types.d.ts +8 -2
- package/dist-library/types/sdk/version.d.ts +2 -0
- package/dist-library/types/shareable.d.ts +15 -3
- package/dist-library/types/standalone/prepare.d.ts +4 -2
- package/dist-library/types/standalone/session-core.d.ts +5 -2
- package/dist-library/types/vite/index.d.ts +3 -0
- package/dist-library/types/vite/registration.d.ts +1 -0
- package/dist-library/{types-Ib5kSScP.js → types-B4qG8J4S.js} +1 -1
- package/dist-library/types-FYhRWRn9.js +3 -0
- package/dist-library/use-hydrated-D1gFY2Dq.js +2655 -0
- package/dist-library/validation-DRuW0Wl9.js +433 -0
- package/dist-library/{version-DAxuGOG2.js → version-4wzhbvDG.js} +24 -33
- package/dist-library/visual-frame-y5RFhJ0_.js +19 -0
- package/dist-library/visual-helpers-UU6xiL8g.js +75 -0
- package/dist-library/visuals-7xzoL9ql.js +49340 -0
- package/dist-library/visuals-CdHezgh5.js +3 -0
- package/dist-library/worker-3ldRjOEG.js +1632 -0
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +127 -366
- package/docs/README-ch.md +104 -101
- package/docs/README.md +104 -101
- package/docs/compatibility/api-stability-ch.md +1 -1
- package/docs/compatibility/api-stability-en.md +1 -1
- package/docs/compatibility/compatibility-ch.md +146 -146
- package/docs/compatibility/compatibility-en.md +146 -146
- package/docs/compatibility/compatibility-manifest.schema.json +3 -2
- package/docs/compatibility/deprecation-ch.md +2 -2
- package/docs/compatibility/deprecation-en.md +2 -2
- package/docs/compatibility/source-versioning-ch.md +170 -162
- package/docs/compatibility/source-versioning-en.md +171 -162
- package/docs/compatibility/support-matrix-ch.md +4 -3
- package/docs/compatibility/support-matrix-en.md +4 -3
- package/docs/development/component-development-ch.md +66 -66
- package/docs/development/component-development-en.md +66 -66
- package/docs/development/component-development-reference-ch.md +269 -253
- package/docs/development/component-development-reference-en.md +254 -238
- package/docs/development/component-protocol-ch.md +768 -748
- package/docs/development/component-protocol-en.md +770 -750
- package/docs/development/extension-tutorial-ch.md +308 -308
- package/docs/development/extension-tutorial-en.md +308 -308
- package/docs/development/performance-overview-ch.md +422 -422
- package/docs/development/performance-overview-en.md +422 -422
- package/docs/guides/local-guide-ch.md +621 -532
- package/docs/guides/local-guide-en.md +621 -532
- package/docs/integration/author-tools-ch.md +66 -64
- package/docs/integration/author-tools-en.md +66 -64
- package/docs/integration/compiler-ch.md +90 -49
- package/docs/integration/compiler-en.md +77 -36
- package/docs/integration/directory-discovery-en.md +1 -1
- package/docs/integration/editor-ch.md +295 -295
- package/docs/integration/editor-en.md +303 -303
- package/docs/integration/extension-sdk-ch.md +424 -394
- package/docs/integration/extension-sdk-en.md +409 -379
- package/docs/integration/local-integration-ch.md +648 -646
- package/docs/integration/local-integration-en.md +664 -662
- package/docs/integration/pdf-export-ch.md +42 -0
- package/docs/integration/pdf-export-en.md +42 -0
- package/docs/integration/shareable-export-ch.md +299 -307
- package/docs/integration/shareable-export-en.md +301 -309
- package/docs/reference/diagnostics-counting-ch.md +127 -104
- package/docs/reference/diagnostics-counting-en.md +127 -104
- package/docs/reference/html-compatibility-ch.md +93 -93
- package/docs/reference/html-compatibility-en.md +95 -95
- package/docs/reference/local-interaction-syntax-ch.md +913 -724
- package/docs/reference/local-interaction-syntax-en.md +911 -722
- package/docs/reference/public-api-ch.md +134 -21
- package/docs/reference/public-api-en.md +134 -21
- package/docs/reference/theme-protocol-ch.md +198 -198
- package/docs/reference/theme-protocol-en.md +217 -217
- package/docs/releases/release-0.10.0-ch.md +45 -0
- package/docs/releases/release-0.10.0-en.md +45 -0
- package/docs/releases/release-0.4.0-ch.md +91 -91
- package/docs/releases/release-0.4.0-en.md +91 -91
- package/docs/releases/release-0.4.1-ch.md +25 -25
- package/docs/releases/release-0.4.1-en.md +25 -25
- package/docs/releases/release-0.5.0-ch.md +43 -43
- package/docs/releases/release-0.5.0-en.md +43 -43
- package/docs/releases/release-0.5.1-ch.md +41 -41
- package/docs/releases/release-0.5.1-en.md +41 -41
- package/docs/releases/release-0.5.2-ch.md +37 -37
- package/docs/releases/release-0.5.2-en.md +37 -37
- package/docs/releases/release-0.5.3-ch.md +26 -26
- package/docs/releases/release-0.5.3-en.md +26 -26
- package/docs/releases/release-0.6.0-ch.md +59 -59
- package/docs/releases/release-0.6.0-en.md +59 -59
- package/docs/releases/release-0.6.1-ch.md +29 -29
- package/docs/releases/release-0.6.1-en.md +29 -29
- package/docs/releases/release-0.7.0-ch.md +86 -86
- package/docs/releases/release-0.7.0-en.md +86 -86
- package/docs/releases/release-0.9.3-ch.md +45 -0
- package/docs/releases/release-0.9.3-en.md +45 -0
- package/examples/component-package/README-ch.md +101 -101
- package/examples/component-package/README.md +133 -133
- package/examples/conformance/README-ch.md +55 -55
- package/examples/conformance/README.md +55 -55
- package/examples/conformance/component-protocol-1.json +482 -482
- package/examples/conformance/component-protocol-1.schema.json +76 -76
- package/examples/conformance/local-draft-1.json +50 -50
- package/examples/conformance/local-draft-2.json +212 -212
- package/examples/conformance/local-draft-4.json +441 -0
- package/examples/game-2048-package/LICENSE +21 -21
- package/examples/game-2048-package/NOTICES.md +11 -11
- package/examples/game-2048-package/README-ch.md +91 -91
- package/examples/game-2048-package/README.md +98 -98
- package/examples/game-2048-package/package.json +35 -35
- package/examples/game-2048-package/sample/document.reactive.md +17 -17
- package/examples/game-2048-package/scripts/build-export.mjs +44 -44
- package/examples/game-2048-package/scripts/build.mjs +130 -130
- package/examples/game-2048-package/scripts/verify.mjs +180 -180
- package/examples/game-2048-package/src/component.css +161 -161
- package/examples/game-2048-package/src/components.tsx +326 -326
- package/examples/game-2048-package/src/game-engine.ts +228 -228
- package/examples/game-2048-package/src/harness.tsx +34 -34
- package/examples/game-2048-package/src/manifest.ts +85 -85
- package/examples/game-2048-package/src/node-entry.ts +30 -30
- package/examples/game-2048-package/src/sample.ts +4 -4
- package/examples/game-2048-package/tsconfig.json +15 -15
- package/examples/integration/README-ch.md +114 -82
- package/examples/integration/README.md +114 -82
- package/examples/integration/chat-session/index.mjs +91 -0
- package/examples/integration/chat-session/package.json +10 -0
- package/examples/integration/core/index.mjs +32 -32
- package/examples/integration/extension-sdk/README-ch.md +24 -24
- package/examples/integration/extension-sdk/README.md +24 -24
- package/examples/integration/static-embed/embed.mjs +44 -0
- package/examples/integration/static-embed/index.html +12 -0
- package/examples/integration/static-embed/main.mjs +24 -0
- package/examples/integration/static-embed/references.mjs +5 -0
- package/examples/integration/static-embed/render.mjs +10 -0
- package/examples/integration/worker/index.html +19 -19
- package/examples/integration/worker/main.js +61 -61
- package/examples/integration/worker/package.json +13 -13
- package/examples/integration/worker/worker.js +3 -3
- package/examples/local/README-ch.md +76 -76
- package/examples/local/README.md +76 -76
- package/examples/local/charts.reactive.md +73 -73
- package/examples/local/recipes/invoice-zh.reactive.md +36 -36
- package/examples/local/recipes/invoice.reactive.md +36 -36
- package/examples/local/recipes/workshop-zh.reactive.md +33 -33
- package/examples/local/recipes/workshop.reactive.md +33 -33
- package/examples/local/showcase/README-ch.md +22 -22
- package/examples/local/showcase/README.md +31 -31
- package/examples/local/showcase/explore.reactive.md +102 -102
- package/examples/local/showcase/flow.reactive.md +86 -86
- package/examples/local/showcase/forms.reactive.md +126 -126
- package/examples/local/showcase/functions.reactive.md +119 -119
- package/examples/local/showcase/layout.reactive.md +100 -100
- package/examples/local/showcase/statistics.reactive.md +108 -108
- package/examples/local/showcase/tasks.reactive.md +89 -89
- package/examples/local/showcase/zh/explore.reactive.md +102 -102
- package/examples/local/showcase/zh/flow.reactive.md +86 -86
- package/examples/local/showcase/zh/forms.reactive.md +126 -126
- package/examples/local/showcase/zh/functions.reactive.md +119 -119
- package/examples/local/showcase/zh/layout.reactive.md +100 -100
- package/examples/local/showcase/zh/statistics.reactive.md +108 -108
- package/examples/local/showcase/zh/tasks.reactive.md +89 -89
- package/examples/minimal-extension/README-ch.md +78 -78
- package/examples/minimal-extension/README.md +78 -78
- package/examples/minimal-extension/index.html +15 -15
- package/examples/minimal-extension/package.json +26 -26
- package/examples/minimal-extension/sample/document.reactive.md +10 -10
- package/examples/minimal-extension/scripts/build.mjs +32 -32
- package/examples/minimal-extension/scripts/export.mjs +72 -72
- package/examples/minimal-extension/scripts/test-node.mjs +75 -75
- package/examples/minimal-extension/src/extension.tsx +90 -90
- package/examples/minimal-extension/src/preview.tsx +12 -12
- package/examples/minimal-extension/src/source.ts +4 -4
- package/examples/minimal-extension/tsconfig.json +14 -14
- package/examples/sci-fi-theme/README-ch.md +133 -133
- package/examples/sci-fi-theme/README.md +148 -148
- package/examples/sci-fi-theme/demo/acceptance.reactive.md +454 -454
- package/examples/sci-fi-theme/demo/demo.css +638 -638
- package/examples/sci-fi-theme/demo/document.reactive.md +206 -206
- package/examples/sci-fi-theme/demo/index.html +13 -13
- package/examples/sci-fi-theme/demo/main.tsx +215 -215
- package/examples/sci-fi-theme/docs/design-system-ch.md +245 -245
- package/examples/sci-fi-theme/docs/design-system.md +474 -474
- package/examples/sci-fi-theme/package.json +28 -28
- package/examples/sci-fi-theme/scripts/screenshot.mjs +98 -98
- package/examples/sci-fi-theme/src/components.css +2370 -2370
- package/examples/sci-fi-theme/src/index.ts +6 -6
- package/examples/sci-fi-theme/src/notch.css +142 -142
- package/examples/sci-fi-theme/src/sci-fi.css +7 -7
- package/examples/sci-fi-theme/src/theme.ts +39 -39
- package/examples/sci-fi-theme/tsconfig.json +20 -20
- package/examples/sci-fi-theme/vite.config.ts +24 -24
- package/examples/tetris-package/LICENSE +21 -21
- package/examples/tetris-package/NOTICES.md +11 -11
- package/examples/tetris-package/README-ch.md +91 -91
- package/examples/tetris-package/README.md +95 -95
- package/examples/tetris-package/package.json +35 -35
- package/examples/tetris-package/sample/document.reactive.md +16 -16
- package/examples/tetris-package/scripts/build-export.mjs +44 -44
- package/examples/tetris-package/scripts/build.mjs +130 -130
- package/examples/tetris-package/scripts/verify.mjs +173 -173
- package/examples/tetris-package/src/component.css +145 -145
- package/examples/tetris-package/src/components.tsx +334 -334
- package/examples/tetris-package/src/harness.tsx +34 -34
- package/examples/tetris-package/src/manifests.ts +93 -93
- package/examples/tetris-package/src/node-entry.ts +16 -16
- package/examples/tetris-package/src/sample.ts +4 -4
- package/examples/tetris-package/src/tetris-engine.ts +325 -325
- package/examples/tetris-package/tsconfig.json +15 -15
- package/package.json +66 -2
- package/dist-library/LocalDocumentView-BuqgJZEY.js +0 -109
- package/dist-library/LocalReactiveDocumentCore-CWBe4Mm5.js +0 -275
- package/dist-library/authoring-Ci_KzJ0q.js +0 -892
- package/dist-library/compile-Dx6Uw3D9.js +0 -1249
- package/dist-library/compiler-dxLPB9Ym.js +0 -86
- package/dist-library/config-validation-D3D7Dy2J.js +0 -586
- package/dist-library/controls-DoZyLCrV.js +0 -6740
- package/dist-library/data-table-8-3F15Jf.js +0 -296
- package/dist-library/layout-BBB2VF0S.js +0 -562
- package/dist-library/mount-preset-DMZ5wd3t.js +0 -13
- package/dist-library/options-BBp9IcHm.js +0 -121
- package/dist-library/package-core-K5xesGqy.js +0 -117
- package/dist-library/parser-standard-CBA1-hdG.js +0 -9630
- package/dist-library/plugin-packs-Bh1HhLym.js +0 -19
- package/dist-library/preset-core-DeZPA8IE.js +0 -1298
- package/dist-library/props-sJ8vk0cr.js +0 -183
- package/dist-library/react-0DCh-Mar.js +0 -7
- package/dist-library/registry-core-C9xOunaw.js +0 -479
- package/dist-library/resources-B0x_w3s9.js +0 -229
- package/dist-library/runtime-BpQdZmFI.js +0 -1288
- package/dist-library/schema-BryM_VRW.js +0 -40
- package/dist-library/sdk-core-ChslheKs.js +0 -1167
- package/dist-library/shareable-B8xMoGEa.js +0 -814
- package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +0 -6
- package/dist-library/types/local/rendering/table/data-table.d.ts +0 -13
- package/dist-library/types-daDo2c_w.js +0 -3
- package/dist-library/validation-B3RI0xOk.js +0 -1123
- package/dist-library/visual-frame-_rcd5HUv.js +0 -48
- package/dist-library/visuals-DkDhNdEZ.js +0 -72572
- /package/dist-library/types/{local/configuration → contracts}/color-values.d.ts +0 -0
- /package/dist-library/types/{local/html → contracts}/html-names.d.ts +0 -0
- /package/dist-library/types/{local/configuration → contracts}/schema-core.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-block.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-languages.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/LocalDocumentView.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/use-color-scheme.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/image/image-view.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/math-view.d.ts +0 -0
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
import { S as e, a as t, i as n, n as r, r as i } from "./limits-CFERRrlC.js";
|
|
2
|
+
import { A as a, F as o, a as s, i as c, t as l } from "./preset-core-BKPbH_Nv.js";
|
|
3
|
+
import { C as u, x as d, y as f } from "./validation-DRuW0Wl9.js";
|
|
4
|
+
import { a as p, i as m, o as h, r as g, t as _ } from "./schema-core-CDXfxdID.js";
|
|
5
|
+
import { b as ee } from "./component-kernel-CsJSabHX.js";
|
|
6
|
+
import { i as v, r as y, s as b, t as x } from "./version-4wzhbvDG.js";
|
|
7
|
+
import { n as S } from "./props-0iDqxlTk.js";
|
|
8
|
+
import { r as C } from "./registry-core-DxEaxhJ6.js";
|
|
9
|
+
import { _ as w, a as T, c as E, d as D, h as O, i as k, m as A, n as j, o as te, p as ne, r as M, s as re, t as ie, v as ae } from "./config-validation-DbmsWAEV.js";
|
|
10
|
+
// node_modules/mdast-util-to-string/lib/index.js
|
|
11
|
+
var oe = {};
|
|
12
|
+
function se(e, t) {
|
|
13
|
+
let n = t || oe;
|
|
14
|
+
return ce(e, typeof n.includeImageAlt != "boolean" || n.includeImageAlt, typeof n.includeHtml != "boolean" || n.includeHtml);
|
|
15
|
+
}
|
|
16
|
+
function ce(e, t, n) {
|
|
17
|
+
if (ue(e)) {
|
|
18
|
+
if ("value" in e) return e.type === "html" && !n ? "" : e.value;
|
|
19
|
+
if (t && "alt" in e && e.alt) return e.alt;
|
|
20
|
+
if ("children" in e) return le(e.children, t, n);
|
|
21
|
+
}
|
|
22
|
+
return Array.isArray(e) ? le(e, t, n) : "";
|
|
23
|
+
}
|
|
24
|
+
function le(e, t, n) {
|
|
25
|
+
let r = [], i = -1;
|
|
26
|
+
for (; ++i < e.length;) r[i] = ce(e[i], t, n);
|
|
27
|
+
return r.join("");
|
|
28
|
+
}
|
|
29
|
+
function ue(e) {
|
|
30
|
+
return !!(e && typeof e == "object");
|
|
31
|
+
}
|
|
32
|
+
// node_modules/micromark-util-chunked/index.js
|
|
33
|
+
function N(e, t, n, r) {
|
|
34
|
+
let i = e.length, a = 0, o;
|
|
35
|
+
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
36
|
+
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
37
|
+
}
|
|
38
|
+
function de(e, t) {
|
|
39
|
+
return e.length > 0 ? (N(e, e.length, 0, t), e) : t;
|
|
40
|
+
}
|
|
41
|
+
// node_modules/micromark-util-combine-extensions/index.js
|
|
42
|
+
var P = {}.hasOwnProperty;
|
|
43
|
+
function fe(e) {
|
|
44
|
+
let t = {}, n = -1;
|
|
45
|
+
for (; ++n < e.length;) pe(t, e[n]);
|
|
46
|
+
return t;
|
|
47
|
+
}
|
|
48
|
+
function pe(e, t) {
|
|
49
|
+
let n;
|
|
50
|
+
for (n in t) {
|
|
51
|
+
let r = (P.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
|
|
52
|
+
if (i) for (a in i) {
|
|
53
|
+
P.call(r, a) || (r[a] = []);
|
|
54
|
+
let e = i[a];
|
|
55
|
+
me(r[a], Array.isArray(e) ? e : e ? [e] : []);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function me(e, t) {
|
|
60
|
+
let n = -1, r = [];
|
|
61
|
+
for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
|
|
62
|
+
N(e, 0, 0, r);
|
|
63
|
+
}
|
|
64
|
+
// node_modules/micromark-util-normalize-identifier/index.js
|
|
65
|
+
function he(e) {
|
|
66
|
+
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
67
|
+
}
|
|
68
|
+
// node_modules/micromark-util-character/index.js
|
|
69
|
+
var ge = B(/[A-Za-z]/), _e = B(/[\dA-Za-z]/), ve = B(/[#-'*+\--9=?A-Z^-~]/);
|
|
70
|
+
function ye(e) {
|
|
71
|
+
return e !== null && (e < 32 || e === 127);
|
|
72
|
+
}
|
|
73
|
+
var be = B(/\d/), xe = B(/[\dA-Fa-f]/), Se = B(/[!-/:-@[-`{-~]/);
|
|
74
|
+
function F(e) {
|
|
75
|
+
return e !== null && e < -2;
|
|
76
|
+
}
|
|
77
|
+
function I(e) {
|
|
78
|
+
return e !== null && (e < 0 || e === 32);
|
|
79
|
+
}
|
|
80
|
+
function L(e) {
|
|
81
|
+
return e === -2 || e === -1 || e === 32;
|
|
82
|
+
}
|
|
83
|
+
var R = B(/\p{P}|\p{S}/u), z = B(/\s/);
|
|
84
|
+
function B(e) {
|
|
85
|
+
return t;
|
|
86
|
+
function t(t) {
|
|
87
|
+
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
// node_modules/micromark-factory-space/index.js
|
|
91
|
+
function V(e, t, n, r) {
|
|
92
|
+
let i = r ? r - 1 : Infinity, a = 0;
|
|
93
|
+
return o;
|
|
94
|
+
function o(r) {
|
|
95
|
+
return L(r) ? (e.enter(n), s(r)) : t(r);
|
|
96
|
+
}
|
|
97
|
+
function s(r) {
|
|
98
|
+
return L(r) && a++ < i ? (e.consume(r), s) : (e.exit(n), t(r));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function Ce(e, t, n, r, i, a) {
|
|
102
|
+
let o = 0;
|
|
103
|
+
return s;
|
|
104
|
+
function s(t) {
|
|
105
|
+
return a > 0 && L(t) ? (e.enter(r), c(t)) : l(t);
|
|
106
|
+
}
|
|
107
|
+
function c(t) {
|
|
108
|
+
return L(t) && o < a ? (e.consume(t), o++, c) : (e.exit(r), l(t));
|
|
109
|
+
}
|
|
110
|
+
function l(e) {
|
|
111
|
+
return o >= i ? t(e) : n(e);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
// node_modules/micromark-util-classify-character/index.js
|
|
115
|
+
function we(e) {
|
|
116
|
+
if (e === null || I(e) || z(e)) return 1;
|
|
117
|
+
if (R(e)) return 2;
|
|
118
|
+
}
|
|
119
|
+
// node_modules/micromark-util-resolve-all/index.js
|
|
120
|
+
function Te(e, t, n) {
|
|
121
|
+
let r = [], i = -1;
|
|
122
|
+
for (; ++i < e.length;) {
|
|
123
|
+
let a = e[i].resolveAll;
|
|
124
|
+
a && !r.includes(a) && (t = a(t, n), r.push(a));
|
|
125
|
+
}
|
|
126
|
+
return t;
|
|
127
|
+
}
|
|
128
|
+
// node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
129
|
+
var Ee = {
|
|
130
|
+
partial: !0,
|
|
131
|
+
tokenize: De
|
|
132
|
+
};
|
|
133
|
+
function De(e, t, n) {
|
|
134
|
+
return r;
|
|
135
|
+
function r(t) {
|
|
136
|
+
return L(t) ? V(e, i, "linePrefix")(t) : i(t);
|
|
137
|
+
}
|
|
138
|
+
function i(e) {
|
|
139
|
+
return e === null || F(e) ? t(e) : n(e);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
// src/local/html/html-policy.ts
|
|
143
|
+
var Oe = {
|
|
144
|
+
b: "strong",
|
|
145
|
+
strong: "strong",
|
|
146
|
+
i: "emphasis",
|
|
147
|
+
em: "emphasis",
|
|
148
|
+
s: "delete",
|
|
149
|
+
del: "delete",
|
|
150
|
+
u: "underline",
|
|
151
|
+
mark: "mark",
|
|
152
|
+
sup: "sup",
|
|
153
|
+
sub: "sub"
|
|
154
|
+
}, ke = /* @__PURE__ */ new Set([
|
|
155
|
+
"br",
|
|
156
|
+
"hr",
|
|
157
|
+
"img",
|
|
158
|
+
"col"
|
|
159
|
+
]), Ae = /* @__PURE__ */ new Set([
|
|
160
|
+
"pre",
|
|
161
|
+
"code",
|
|
162
|
+
"script",
|
|
163
|
+
"style",
|
|
164
|
+
"textarea",
|
|
165
|
+
"title",
|
|
166
|
+
"xmp",
|
|
167
|
+
"iframe",
|
|
168
|
+
"noembed",
|
|
169
|
+
"noframes",
|
|
170
|
+
"plaintext"
|
|
171
|
+
]), je = /* @__PURE__ */ new Set([
|
|
172
|
+
"id",
|
|
173
|
+
"title",
|
|
174
|
+
"lang",
|
|
175
|
+
"dir"
|
|
176
|
+
]), Me = {
|
|
177
|
+
a: m,
|
|
178
|
+
img: /* @__PURE__ */ new Set([
|
|
179
|
+
"src",
|
|
180
|
+
"alt",
|
|
181
|
+
"width",
|
|
182
|
+
"height"
|
|
183
|
+
]),
|
|
184
|
+
ol: /* @__PURE__ */ new Set(["start"]),
|
|
185
|
+
details: /* @__PURE__ */ new Set(["open"]),
|
|
186
|
+
...d
|
|
187
|
+
};
|
|
188
|
+
function Ne(e, t, n) {
|
|
189
|
+
let r = "";
|
|
190
|
+
for (let i = t; i < n; i += 1) {
|
|
191
|
+
let t = e[i];
|
|
192
|
+
if (r) t === r && (r = "");
|
|
193
|
+
else if (t === "\"" || t === "'") r = t;
|
|
194
|
+
else if (t === ">") return i + 1;
|
|
195
|
+
}
|
|
196
|
+
return -1;
|
|
197
|
+
}
|
|
198
|
+
function Pe(e, t, n) {
|
|
199
|
+
if (e.startsWith("<!-->", t)) return Math.min(n, t + 5);
|
|
200
|
+
if (e.startsWith("<!--->", t)) return Math.min(n, t + 6);
|
|
201
|
+
let r = e.indexOf("-->", t + 4);
|
|
202
|
+
return r < 0 || r + 3 > n ? n : r + 3;
|
|
203
|
+
}
|
|
204
|
+
function Fe(e) {
|
|
205
|
+
return e.trim().replace(/[\u0000- ]+/g, "");
|
|
206
|
+
}
|
|
207
|
+
function H(e, t) {
|
|
208
|
+
let n = /^([a-z][a-z0-9+.-]*):/i.exec(Fe(e));
|
|
209
|
+
if (!n) return !1;
|
|
210
|
+
let r = n[1].toLowerCase();
|
|
211
|
+
return t === "image" ? r !== "http" && r !== "https" : r !== "http" && r !== "https" && r !== "mailto" && r !== "tel";
|
|
212
|
+
}
|
|
213
|
+
function Ie(e, t) {
|
|
214
|
+
return t === "class" || t === "style" || /^on[a-z]/i.test(t) ? !1 : t === "align" && g.has(e) || je.has(t) || /^aria-[a-z0-9_.-]+$/.test(t) || /^data-[a-z0-9_.-]+$/.test(t) ? !0 : Me[e]?.has(t) ?? !1;
|
|
215
|
+
}
|
|
216
|
+
function Le(e, t) {
|
|
217
|
+
return !(e === "dir" && ![
|
|
218
|
+
"ltr",
|
|
219
|
+
"rtl",
|
|
220
|
+
"auto"
|
|
221
|
+
].includes(t.trim().toLowerCase()) || e === "id" && t.trim() === "" || (e === "width" || e === "height") && !/^\d{1,6}$/.test(t.trim()) || e === "start" && !/^-?\d{1,9}$/.test(t.trim()) || !u(e, t) || e === "href" && H(t, "link") || e === "src" && H(t, "image"));
|
|
222
|
+
}
|
|
223
|
+
function Re(e, t) {
|
|
224
|
+
return g.has(e) ? h(t) : null;
|
|
225
|
+
}
|
|
226
|
+
// src/local/parsing/parser-capabilities.ts
|
|
227
|
+
var ze = Object.freeze({}), Be = Object.freeze([
|
|
228
|
+
"anchor",
|
|
229
|
+
"checkbox",
|
|
230
|
+
"column",
|
|
231
|
+
"coordinate",
|
|
232
|
+
"counter",
|
|
233
|
+
"date",
|
|
234
|
+
"edge",
|
|
235
|
+
"input",
|
|
236
|
+
"number",
|
|
237
|
+
"progress",
|
|
238
|
+
"range-slider",
|
|
239
|
+
"slider",
|
|
240
|
+
"textarea",
|
|
241
|
+
"timer",
|
|
242
|
+
"toggle",
|
|
243
|
+
"validation"
|
|
244
|
+
]);
|
|
245
|
+
function Ve(e) {
|
|
246
|
+
let t = /* @__PURE__ */ new Set();
|
|
247
|
+
for (let n of Be) e(n) || t.add(n);
|
|
248
|
+
return t;
|
|
249
|
+
}
|
|
250
|
+
// src/sdk/compiler-config.ts
|
|
251
|
+
var U = Object.freeze({
|
|
252
|
+
id: c,
|
|
253
|
+
version: s
|
|
254
|
+
}), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap();
|
|
255
|
+
function He(e, t = U) {
|
|
256
|
+
if (e.length === 0) return;
|
|
257
|
+
let n = t.id === U.id && t.version === U.version;
|
|
258
|
+
if (n) {
|
|
259
|
+
let t = W.get(e);
|
|
260
|
+
if (t) return t;
|
|
261
|
+
}
|
|
262
|
+
let r = l({
|
|
263
|
+
protocol: b,
|
|
264
|
+
id: t.id,
|
|
265
|
+
version: t.version,
|
|
266
|
+
components: e
|
|
267
|
+
});
|
|
268
|
+
return n && W.set(e, r), r;
|
|
269
|
+
}
|
|
270
|
+
function Ue(e, t, n, r, i = "reactive-md-config/v1") {
|
|
271
|
+
let a = O(e, { legacyProfiles: t.length > 0 ? n : [] }), o = [...a.legacyKeys, ...r !== void 0 && !a.legacyKeys.some((e) => e.key === r) ? [Object.freeze({
|
|
272
|
+
profile: i,
|
|
273
|
+
key: r
|
|
274
|
+
})] : []];
|
|
275
|
+
return D(e, a, o);
|
|
276
|
+
}
|
|
277
|
+
function We(e) {
|
|
278
|
+
return T(e) || k("assembly", "must be an object."), M(e, /* @__PURE__ */ new Set([
|
|
279
|
+
"protocol",
|
|
280
|
+
"presets",
|
|
281
|
+
"components",
|
|
282
|
+
"replacementPolicy",
|
|
283
|
+
"themes",
|
|
284
|
+
"fonts"
|
|
285
|
+
]), "assembly"), e.protocol !== "reactive-md-assembly/v1" && k("assembly.protocol", `must be "${x}".`), A(e);
|
|
286
|
+
}
|
|
287
|
+
function Ge(e, t = [], n = []) {
|
|
288
|
+
let r = ae(n);
|
|
289
|
+
if (T(e) || k("config", "must be an object."), M(e, ie, "config"), e.protocol === "reactive-md-config/v2") {
|
|
290
|
+
let n = We(e.assembly), i = Ue(n, t, r);
|
|
291
|
+
return a(n) > 16777216 && k("config", `serialized size exceeds the ${j}-byte budget.`), i;
|
|
292
|
+
}
|
|
293
|
+
e.protocol !== "reactive-md-config/v1" && k("config.protocol", `must be "${v}" (or legacy "${y}").`);
|
|
294
|
+
let i = re(e.presets, U, r)[0] ?? U, o = w(i, r);
|
|
295
|
+
o === void 0 && k("presets", `local.config.migration-unsupported: no compatibility profile matches preset "${i.id}" ${i.version}.`);
|
|
296
|
+
let s = o.legacyKeys[0];
|
|
297
|
+
s === void 0 && k("presets", `local.config.migration-unsupported: profile "${o.name}" has no legacy key mapping.`), E(o, t);
|
|
298
|
+
let c = te(e.components, t);
|
|
299
|
+
c.some((e) => e.replaces !== void 0) && k("config", "replaces is not supported by reactive-md-config/v1.");
|
|
300
|
+
let l = He(t, o.preset), u = Object.freeze({
|
|
301
|
+
protocol: x,
|
|
302
|
+
presets: Object.freeze(l ? [l] : []),
|
|
303
|
+
components: c,
|
|
304
|
+
replacementPolicy: "forbid",
|
|
305
|
+
themes: Object.freeze([])
|
|
306
|
+
}), d = Ue(u, t, r, t.length > 0 ? ne(o.preset, c) : void 0, s.profile);
|
|
307
|
+
return a(u) > 16777216 && k("config", `serialized size exceeds the ${j}-byte budget.`), d;
|
|
308
|
+
}
|
|
309
|
+
function Ke(e) {
|
|
310
|
+
let t = G.get(e);
|
|
311
|
+
if (t !== void 0) return t;
|
|
312
|
+
let n = He(e), r = Object.freeze({
|
|
313
|
+
protocol: x,
|
|
314
|
+
presets: Object.freeze(n ? [n] : []),
|
|
315
|
+
components: Object.freeze([]),
|
|
316
|
+
replacementPolicy: "forbid",
|
|
317
|
+
themes: Object.freeze([])
|
|
318
|
+
}), i = O(r).key;
|
|
319
|
+
return G.set(e, i), i;
|
|
320
|
+
}
|
|
321
|
+
var K = Object.freeze({
|
|
322
|
+
expressions: "evaluate",
|
|
323
|
+
onUnsupported: "error",
|
|
324
|
+
allowImages: !0,
|
|
325
|
+
allowInteractive: !0,
|
|
326
|
+
allowExternalSlots: !1
|
|
327
|
+
});
|
|
328
|
+
function q(e) {
|
|
329
|
+
if (e === void 0) return K;
|
|
330
|
+
if (typeof e != "object" || !e || Array.isArray(e)) return null;
|
|
331
|
+
let t = Object.getPrototypeOf(e);
|
|
332
|
+
if (t !== Object.prototype && t !== null) return null;
|
|
333
|
+
let n = { ...K };
|
|
334
|
+
for (let [t, r] of Object.entries(e)) {
|
|
335
|
+
if (!Object.hasOwn(K, t)) return null;
|
|
336
|
+
if (r !== void 0) switch (t) {
|
|
337
|
+
case "expressions":
|
|
338
|
+
if (r !== "evaluate" && r !== "literal") return null;
|
|
339
|
+
n.expressions = r;
|
|
340
|
+
break;
|
|
341
|
+
case "onUnsupported":
|
|
342
|
+
if (r !== "error" && r !== "fallback") return null;
|
|
343
|
+
n.onUnsupported = r;
|
|
344
|
+
break;
|
|
345
|
+
case "allowImages":
|
|
346
|
+
case "allowInteractive":
|
|
347
|
+
case "allowExternalSlots":
|
|
348
|
+
if (typeof r != "boolean") return null;
|
|
349
|
+
n[t] = r;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
return Object.keys(K).every((e) => n[e] === K[e]) ? K : Object.freeze(n);
|
|
353
|
+
}
|
|
354
|
+
function qe(e) {
|
|
355
|
+
let t = q(e);
|
|
356
|
+
return t ? t === K ? "" : `:embedding=4:${Object.values(t).join(":")}` : ":embedding=invalid";
|
|
357
|
+
}
|
|
358
|
+
// src/local/configuration/options-core.ts
|
|
359
|
+
var Je = [
|
|
360
|
+
"enableCss",
|
|
361
|
+
"enableJavaScript",
|
|
362
|
+
"enableExtendedHtml"
|
|
363
|
+
], Ye = U;
|
|
364
|
+
function J(e) {
|
|
365
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
366
|
+
}
|
|
367
|
+
var Xe = "local.options.invalid.host-components", Ze = "local.options.invalid.host-body", Qe = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/, $e = /* @__PURE__ */ new Set([
|
|
368
|
+
"string",
|
|
369
|
+
"number",
|
|
370
|
+
"boolean",
|
|
371
|
+
"enum"
|
|
372
|
+
]), et = /* @__PURE__ */ new Set([
|
|
373
|
+
"leaf",
|
|
374
|
+
"inline",
|
|
375
|
+
"container"
|
|
376
|
+
]), tt = /* @__PURE__ */ new Set([
|
|
377
|
+
"string",
|
|
378
|
+
"number",
|
|
379
|
+
"boolean"
|
|
380
|
+
]), nt = /* @__PURE__ */ new Set([
|
|
381
|
+
"bind",
|
|
382
|
+
"initial",
|
|
383
|
+
"disabled"
|
|
384
|
+
]), rt = /* @__PURE__ */ new Set([
|
|
385
|
+
"maxSyntaxNodes",
|
|
386
|
+
"maxParseWork",
|
|
387
|
+
"maxMarkdownDepth",
|
|
388
|
+
"maxRawBodyChars"
|
|
389
|
+
]);
|
|
390
|
+
function Y(e, t, n, r) {
|
|
391
|
+
if (!Object.hasOwn(e, t)) return {
|
|
392
|
+
ok: !0,
|
|
393
|
+
value: n
|
|
394
|
+
};
|
|
395
|
+
let i = e[t];
|
|
396
|
+
if (i === void 0) return {
|
|
397
|
+
ok: !0,
|
|
398
|
+
value: n
|
|
399
|
+
};
|
|
400
|
+
if (typeof i != "number" || !Number.isSafeInteger(i) || i < 1 || r !== void 0 && i > r) {
|
|
401
|
+
let e = t === "maxSyntaxNodes" ? "max-syntax-nodes" : t === "maxParseWork" ? "max-parse-work" : t === "maxRawBodyChars" ? "max-raw-body-chars" : "max-markdown-depth";
|
|
402
|
+
return {
|
|
403
|
+
ok: !1,
|
|
404
|
+
message: t === "maxRawBodyChars" ? `Compile option limits.maxRawBodyChars must be a positive safe integer no greater than ${r}.` : `Compile option limits.${t} must be a positive safe integer.`,
|
|
405
|
+
key: `local.options.invalid.${e}`
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
return {
|
|
409
|
+
ok: !0,
|
|
410
|
+
value: i
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
function X(e, t = Xe) {
|
|
414
|
+
return {
|
|
415
|
+
ok: !1,
|
|
416
|
+
message: `Compile option hostComponents is invalid: ${e}`,
|
|
417
|
+
key: t,
|
|
418
|
+
detail: e
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
function it(e, t) {
|
|
422
|
+
if (e === void 0) return {
|
|
423
|
+
ok: !0,
|
|
424
|
+
binding: void 0
|
|
425
|
+
};
|
|
426
|
+
if (!J(e)) return X(`${t} "binding" must be an object.`);
|
|
427
|
+
for (let n of Object.keys(e)) if (![
|
|
428
|
+
"kind",
|
|
429
|
+
"initialRule",
|
|
430
|
+
"min",
|
|
431
|
+
"max",
|
|
432
|
+
"step",
|
|
433
|
+
"options",
|
|
434
|
+
"exclusive"
|
|
435
|
+
].includes(n)) return X(`${t} "binding" has unknown field "${n}".`);
|
|
436
|
+
let n = e.kind;
|
|
437
|
+
if (typeof n != "string" || !tt.has(n)) return X(`${t} "binding.kind" has unsupported kind ${typeof n == "string" ? `"${n}"` : String(n)}.`);
|
|
438
|
+
let r = { kind: n };
|
|
439
|
+
if (Object.hasOwn(e, "exclusive") && e.exclusive !== void 0) {
|
|
440
|
+
if (typeof e.exclusive != "boolean") return X(`${t} "binding.exclusive" must be a boolean.`);
|
|
441
|
+
r.exclusive = e.exclusive;
|
|
442
|
+
}
|
|
443
|
+
if (Object.hasOwn(e, "initialRule") && e.initialRule !== void 0) {
|
|
444
|
+
let n = e.initialRule;
|
|
445
|
+
if (typeof n != "string" || ![
|
|
446
|
+
"empty",
|
|
447
|
+
"false",
|
|
448
|
+
"nearest-zero",
|
|
449
|
+
"min",
|
|
450
|
+
"first-option"
|
|
451
|
+
].includes(n)) return X(`${t} "binding.initialRule" is not supported.`);
|
|
452
|
+
r.initialRule = n;
|
|
453
|
+
}
|
|
454
|
+
for (let n of [
|
|
455
|
+
"min",
|
|
456
|
+
"max",
|
|
457
|
+
"step"
|
|
458
|
+
]) {
|
|
459
|
+
if (!Object.hasOwn(e, n) || e[n] === void 0) continue;
|
|
460
|
+
if (r.kind !== "number") return X(`${t} "binding.${n}" is only valid for number bindings.`);
|
|
461
|
+
let i = e[n];
|
|
462
|
+
if (typeof i != "number" || !Number.isFinite(i)) return X(`${t} "binding.${n}" must be a finite number.`);
|
|
463
|
+
r[n] = i;
|
|
464
|
+
}
|
|
465
|
+
if (r.kind === "number") {
|
|
466
|
+
if (r.step !== void 0 && !(r.step > 0)) return X(`${t} "binding.step" must be greater than 0.`);
|
|
467
|
+
if (r.min !== void 0 && r.max !== void 0 && r.min > r.max) return X(`${t} "binding.min" cannot exceed "binding.max".`);
|
|
468
|
+
if (r.initialRule !== void 0 && !["min", "nearest-zero"].includes(r.initialRule)) return X(`${t} "binding.initialRule" must be "min" or "nearest-zero" for number bindings.`);
|
|
469
|
+
r.initialRule ??= "nearest-zero";
|
|
470
|
+
}
|
|
471
|
+
let i = Object.hasOwn(e, "options") && e.options !== void 0;
|
|
472
|
+
if (i) {
|
|
473
|
+
if (r.kind !== "string") return X(`${t} "binding.options" is only valid for string bindings.`);
|
|
474
|
+
let n = e.options;
|
|
475
|
+
if (!Array.isArray(n) || n.length === 0) return X(`${t} "binding.options" must be a non-empty string array.`);
|
|
476
|
+
if (n.length > 64) return X(`${t} "binding.options" accepts at most 64 values.`);
|
|
477
|
+
let i = /* @__PURE__ */ new Set(), a = [];
|
|
478
|
+
for (let e of n) {
|
|
479
|
+
if (typeof e != "string" || e === "") return X(`${t} "binding.options" must be a non-empty string array.`);
|
|
480
|
+
if (e.length > 128) return X(`${t} "binding.options" value exceeds the 128-character limit.`);
|
|
481
|
+
if (i.has(e)) return X(`${t} "binding.options" value "${e}" is declared more than once.`);
|
|
482
|
+
i.add(e), a.push(e);
|
|
483
|
+
}
|
|
484
|
+
r.options = a, r.initialRule ??= "first-option";
|
|
485
|
+
}
|
|
486
|
+
if (r.kind === "string") {
|
|
487
|
+
let e = i ? "first-option" : "empty";
|
|
488
|
+
if (r.initialRule !== void 0 && r.initialRule !== e) return X(`${t} "binding.initialRule" must be "${e}" for ${i ? "choice" : "string"} bindings.`);
|
|
489
|
+
r.initialRule ??= e;
|
|
490
|
+
}
|
|
491
|
+
if (r.kind === "boolean") {
|
|
492
|
+
if (r.initialRule !== void 0 && r.initialRule !== "false") return X(`${t} "binding.initialRule" must be "false" for boolean bindings.`);
|
|
493
|
+
r.initialRule ??= "false";
|
|
494
|
+
}
|
|
495
|
+
return {
|
|
496
|
+
ok: !0,
|
|
497
|
+
binding: r
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
function at(e, t) {
|
|
501
|
+
let n = [], r = /* @__PURE__ */ new Map();
|
|
502
|
+
if (e === void 0) return {
|
|
503
|
+
ok: !0,
|
|
504
|
+
hostComponents: n,
|
|
505
|
+
hostByName: r
|
|
506
|
+
};
|
|
507
|
+
if (!Array.isArray(e)) return X("must be an array.");
|
|
508
|
+
if (e.length > 32) return X("accepts at most 32 components.");
|
|
509
|
+
let i = /* @__PURE__ */ new Set();
|
|
510
|
+
for (let e of t) i.add(e.name.toLowerCase());
|
|
511
|
+
for (let e of _) i.add(e.name.toLowerCase());
|
|
512
|
+
for (let e of p) i.add(e.toLowerCase());
|
|
513
|
+
i.add("theme");
|
|
514
|
+
for (let t = 0; t < e.length; t += 1) {
|
|
515
|
+
let a = e[t], s = `hostComponents[${t}]`;
|
|
516
|
+
if (!J(a)) return X(`${s} must be an object.`);
|
|
517
|
+
let c = a.name;
|
|
518
|
+
if (typeof c != "string") return X(`${s} "name" must be a string.`);
|
|
519
|
+
if (c.length > 128) return X(`${s} "name" exceeds the 128-character limit.`);
|
|
520
|
+
if (!Qe.test(c)) return X(`${s} "name" ${c} must use lowercase kebab-case.`);
|
|
521
|
+
if (i.has(c.toLowerCase())) return X(`${s} "name" ${c} conflicts with a built-in component, HTML tag or theme.`);
|
|
522
|
+
if (r.has(c.toLowerCase())) return X(`${s} "name" ${c} is declared more than once.`);
|
|
523
|
+
if (typeof a.form != "string" || !et.has(a.form)) return X(`${s} "form" must be "leaf", "inline" or "container".`);
|
|
524
|
+
let l = a.form, u;
|
|
525
|
+
if (Object.hasOwn(a, "body") && a.body !== void 0) {
|
|
526
|
+
if (a.body !== "markdown" && a.body !== "raw") return X(`${s} "body" must be "markdown" or "raw".`, Ze);
|
|
527
|
+
if (l !== "container") return X(`${s} "body" is only valid for a container component.`, Ze);
|
|
528
|
+
u = a.body;
|
|
529
|
+
}
|
|
530
|
+
let d = it(a.binding, s);
|
|
531
|
+
if (!d.ok) return d;
|
|
532
|
+
let f = d.binding, p = a.props;
|
|
533
|
+
if (!J(p)) return X(`${s} "props" must be an object.`);
|
|
534
|
+
let m = {};
|
|
535
|
+
for (let e of Object.keys(p)) {
|
|
536
|
+
if (!Qe.test(e)) return X(`${s} property "${e}" must use lowercase kebab-case.`);
|
|
537
|
+
if (f && nt.has(e)) return X(`${s} property "${e}" is reserved by the host binding.`);
|
|
538
|
+
let t = p[e];
|
|
539
|
+
if (!J(t)) return X(`${s} property "${e}" must be an object.`);
|
|
540
|
+
let n = t.kind;
|
|
541
|
+
if (typeof n != "string" || !$e.has(n)) return X(`property "${e}" has unsupported kind ${typeof n == "string" ? `"${n}"` : String(n)}.`);
|
|
542
|
+
let r = { kind: n };
|
|
543
|
+
for (let n of ["required", "static"]) if (Object.hasOwn(t, n) && t[n] !== void 0) {
|
|
544
|
+
if (typeof t[n] != "boolean") return X(`${s} property "${e}" "${n}" must be a boolean.`);
|
|
545
|
+
r[n] = t[n];
|
|
546
|
+
}
|
|
547
|
+
let i = Object.hasOwn(t, "enum") && t.enum !== void 0;
|
|
548
|
+
if (n !== "enum") {
|
|
549
|
+
if (i) return X(`${s} property "${e}" has "enum" but kind is "${n}".`);
|
|
550
|
+
} else {
|
|
551
|
+
let n = t.enum;
|
|
552
|
+
if (!Array.isArray(n) || n.length === 0) return X(`${s} property "${e}" "enum" must be a non-empty string array.`);
|
|
553
|
+
if (n.length > 64) return X(`${s} property "${e}" "enum" accepts at most 64 values.`);
|
|
554
|
+
let i = /* @__PURE__ */ new Set();
|
|
555
|
+
for (let t of n) {
|
|
556
|
+
if (typeof t != "string") return X(`${s} property "${e}" "enum" must be a non-empty string array.`);
|
|
557
|
+
if (t.length > 128) return X(`${s} property "${e}" enum value exceeds the 128-character limit.`);
|
|
558
|
+
if (i.has(t)) return X(`${s} property "${e}" enum value "${t}" is declared more than once.`);
|
|
559
|
+
i.add(t);
|
|
560
|
+
}
|
|
561
|
+
r.enum = [...n];
|
|
562
|
+
}
|
|
563
|
+
let a = Object.hasOwn(t, "pattern") && t.pattern !== void 0;
|
|
564
|
+
if (n !== "string") {
|
|
565
|
+
if (a) return X(`${s} property "${e}" has "pattern" but kind is "${n}".`);
|
|
566
|
+
} else if (a) {
|
|
567
|
+
let n = t.pattern;
|
|
568
|
+
if (typeof n != "string") return X(`${s} property "${e}" "pattern" must be a string.`);
|
|
569
|
+
if (n.length > 512) return X(`${s} property "${e}" "pattern" exceeds the 512-character limit.`);
|
|
570
|
+
try {
|
|
571
|
+
new RegExp(n);
|
|
572
|
+
} catch {
|
|
573
|
+
return X(`${s} property "${e}" "pattern" is not a valid regular expression.`);
|
|
574
|
+
}
|
|
575
|
+
if (!o(n)) return X(`${s} property "${e}" "pattern" uses unsupported regex syntax; nested quantifiers, quantified alternation, backreferences and lookarounds are rejected.`);
|
|
576
|
+
r.pattern = n;
|
|
577
|
+
}
|
|
578
|
+
m[e] = r;
|
|
579
|
+
}
|
|
580
|
+
let h = {
|
|
581
|
+
name: c,
|
|
582
|
+
form: l,
|
|
583
|
+
props: m,
|
|
584
|
+
...f ? { binding: f } : {},
|
|
585
|
+
...u ? { body: u } : {}
|
|
586
|
+
};
|
|
587
|
+
n.push(h), r.set(c, h);
|
|
588
|
+
}
|
|
589
|
+
return {
|
|
590
|
+
ok: !0,
|
|
591
|
+
hostComponents: n,
|
|
592
|
+
hostByName: r
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
function ot(e) {
|
|
596
|
+
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
597
|
+
}
|
|
598
|
+
function st(e) {
|
|
599
|
+
let t = e.static === !0 || e.dynamic === !1;
|
|
600
|
+
if (e.kind === "enum" && e.allowPositiveNumber) return {
|
|
601
|
+
kind: "string",
|
|
602
|
+
...e.required === !0 && e.default === void 0 ? { required: !0 } : {},
|
|
603
|
+
...t ? { static: !0 } : {}
|
|
604
|
+
};
|
|
605
|
+
if (e.kind === "enum") {
|
|
606
|
+
let n = `^(?:${(e.enum ?? []).map(ot).join("|")})$`;
|
|
607
|
+
if (n.length <= 512) return {
|
|
608
|
+
kind: "string",
|
|
609
|
+
...e.required === !0 ? { required: !0 } : {},
|
|
610
|
+
...t ? { static: !0 } : {},
|
|
611
|
+
pattern: n
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
let n = { kind: e.kind };
|
|
615
|
+
return e.required === !0 && e.default === void 0 && (n.required = !0), t && (n.static = !0), e.enum && (n.enum = [...e.enum]), e.pattern !== void 0 && (n.pattern = e.pattern), n;
|
|
616
|
+
}
|
|
617
|
+
function ct(e) {
|
|
618
|
+
if (e.form === "container" && e.body === "raw") return {
|
|
619
|
+
rule: "raw-body",
|
|
620
|
+
label: "none"
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
function lt(e) {
|
|
624
|
+
let t = [], n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
625
|
+
for (let i of e.components) {
|
|
626
|
+
let e = {};
|
|
627
|
+
for (let t of Object.keys(i.props)) e[t] = st(i.props[t]);
|
|
628
|
+
let a = S(i), o = {
|
|
629
|
+
name: i.name,
|
|
630
|
+
form: i.form,
|
|
631
|
+
props: e,
|
|
632
|
+
...a ? { binding: a } : {},
|
|
633
|
+
...i.form === "container" && i.structure?.rule === "raw-body" ? { body: "raw" } : {}
|
|
634
|
+
};
|
|
635
|
+
t.push(o), n.set(i.name, o), r.set(i.name, i);
|
|
636
|
+
}
|
|
637
|
+
return {
|
|
638
|
+
hostComponents: t,
|
|
639
|
+
hostByName: n,
|
|
640
|
+
sdkByName: r
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
function Z(e, t) {
|
|
644
|
+
let n = /* @__PURE__ */ new Map();
|
|
645
|
+
for (let t of e) n.set(t.name, t);
|
|
646
|
+
let r = /* @__PURE__ */ new Map();
|
|
647
|
+
for (let e of t.values()) r.set(e.name, e);
|
|
648
|
+
for (let e of _) r.has(e.name) || r.set(e.name, ee(e));
|
|
649
|
+
return {
|
|
650
|
+
componentByName: n,
|
|
651
|
+
schemaByName: r
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
function Q(e) {
|
|
655
|
+
let t = /* @__PURE__ */ new Map();
|
|
656
|
+
for (let n of e) t.set(n.name, C(n));
|
|
657
|
+
return t;
|
|
658
|
+
}
|
|
659
|
+
function ut(a, o) {
|
|
660
|
+
let s = o.defaults, c = new Set(s.map((e) => e.name));
|
|
661
|
+
if (a !== void 0 && !J(a)) return {
|
|
662
|
+
ok: !1,
|
|
663
|
+
message: "Compile options must be an object.",
|
|
664
|
+
key: "local.options.invalid.object"
|
|
665
|
+
};
|
|
666
|
+
let l = a ?? {}, u = q(Object.hasOwn(l, "embedding") ? l.embedding : void 0);
|
|
667
|
+
if (!u) return {
|
|
668
|
+
ok: !1,
|
|
669
|
+
key: "local.options.invalid.embedding",
|
|
670
|
+
message: "Invalid embedding compile options."
|
|
671
|
+
};
|
|
672
|
+
let d = { ...f };
|
|
673
|
+
for (let e of Je) {
|
|
674
|
+
if (!Object.hasOwn(l, e)) continue;
|
|
675
|
+
let t = l[e];
|
|
676
|
+
if (t !== void 0) {
|
|
677
|
+
if (typeof t != "boolean") return {
|
|
678
|
+
ok: !1,
|
|
679
|
+
message: `Compile option ${e} must be a boolean.`,
|
|
680
|
+
key: "local.options.invalid.html-flag"
|
|
681
|
+
};
|
|
682
|
+
d[e] = t;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
let p = !1;
|
|
686
|
+
if (Object.hasOwn(l, "markdownBreaks")) {
|
|
687
|
+
let e = l.markdownBreaks;
|
|
688
|
+
if (e !== void 0) {
|
|
689
|
+
if (typeof e != "boolean") return {
|
|
690
|
+
ok: !1,
|
|
691
|
+
message: "Compile option markdownBreaks must be a boolean.",
|
|
692
|
+
key: "local.options.invalid.markdown-breaks"
|
|
693
|
+
};
|
|
694
|
+
p = e;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
let m = !0;
|
|
698
|
+
if (Object.hasOwn(l, "strict")) {
|
|
699
|
+
let e = l.strict;
|
|
700
|
+
if (e !== void 0) {
|
|
701
|
+
if (typeof e != "boolean") return {
|
|
702
|
+
ok: !1,
|
|
703
|
+
message: "Compile option strict must be a boolean.",
|
|
704
|
+
key: "local.options.invalid.strict"
|
|
705
|
+
};
|
|
706
|
+
m = e;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
let h;
|
|
710
|
+
if (Object.hasOwn(l, "sourcePhase")) {
|
|
711
|
+
let e = l.sourcePhase;
|
|
712
|
+
if (e !== void 0 && e !== "streaming" && e !== "final") return {
|
|
713
|
+
ok: !1,
|
|
714
|
+
message: "Compile option sourcePhase must be \"streaming\" or \"final\".",
|
|
715
|
+
key: "local.options.invalid.source-phase"
|
|
716
|
+
};
|
|
717
|
+
(e === "streaming" || e === "final") && (h = e);
|
|
718
|
+
}
|
|
719
|
+
let g = l.limits, _ = t, v = i, y = r, b = n;
|
|
720
|
+
if (g !== void 0) {
|
|
721
|
+
if (!J(g)) return {
|
|
722
|
+
ok: !1,
|
|
723
|
+
message: "Compile option limits must be an object.",
|
|
724
|
+
key: "local.options.invalid.limits"
|
|
725
|
+
};
|
|
726
|
+
for (let e of Object.keys(g)) if (!rt.has(e) && g[e] !== void 0) return {
|
|
727
|
+
ok: !1,
|
|
728
|
+
message: `Compile option limits.${e} is not supported.`,
|
|
729
|
+
key: "local.options.invalid.limits-unknown",
|
|
730
|
+
detail: e
|
|
731
|
+
};
|
|
732
|
+
let t = Y(g, "maxSyntaxNodes", _);
|
|
733
|
+
if (!t.ok) return t;
|
|
734
|
+
_ = t.value;
|
|
735
|
+
let n = Y(g, "maxParseWork", v);
|
|
736
|
+
if (!n.ok) return n;
|
|
737
|
+
v = n.value;
|
|
738
|
+
let r = Y(g, "maxMarkdownDepth", y);
|
|
739
|
+
if (!r.ok) return r;
|
|
740
|
+
y = r.value;
|
|
741
|
+
let i = Y(g, "maxRawBodyChars", b, e);
|
|
742
|
+
if (!i.ok) return i;
|
|
743
|
+
b = i.value;
|
|
744
|
+
}
|
|
745
|
+
let x = Object.hasOwn(l, "config") && l.config !== void 0, S = Object.hasOwn(l, "hostComponents") && l.hostComponents !== void 0;
|
|
746
|
+
if (x && S) return {
|
|
747
|
+
ok: !1,
|
|
748
|
+
message: "Compile option config cannot be combined with hostComponents.",
|
|
749
|
+
key: "local.options.invalid.config-conflict"
|
|
750
|
+
};
|
|
751
|
+
let C, w, T, E, D, O, k, A, j;
|
|
752
|
+
if (x) {
|
|
753
|
+
try {
|
|
754
|
+
C = o.readConfig(l.config, s);
|
|
755
|
+
} catch (e) {
|
|
756
|
+
let t = e instanceof Error ? e.message : String(e);
|
|
757
|
+
return {
|
|
758
|
+
ok: !1,
|
|
759
|
+
message: `Compile option config is invalid: ${t}`,
|
|
760
|
+
key: "local.options.invalid.config",
|
|
761
|
+
detail: t
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
let e = lt(C);
|
|
765
|
+
w = e.hostComponents, T = e.hostByName, E = e.sdkByName, D = C.registry;
|
|
766
|
+
let t = Z(D, Q(D));
|
|
767
|
+
O = t.schemaByName, k = t.componentByName, A = new Set(C.components.map((e) => e.name)), j = /* @__PURE__ */ new Set();
|
|
768
|
+
} else if (S) {
|
|
769
|
+
let e = at(l.hostComponents, s);
|
|
770
|
+
if (!e.ok) return e;
|
|
771
|
+
w = e.hostComponents, T = e.hostByName, E = /* @__PURE__ */ new Map(), D = s;
|
|
772
|
+
let t = Q(s);
|
|
773
|
+
for (let [n, r] of e.hostByName) {
|
|
774
|
+
let e = ct(r);
|
|
775
|
+
t.set(n, ee({
|
|
776
|
+
...r,
|
|
777
|
+
legacyHost: !0
|
|
778
|
+
}, e ? { structure: e } : void 0));
|
|
779
|
+
}
|
|
780
|
+
let n = Z(s, t);
|
|
781
|
+
O = n.schemaByName, k = n.componentByName, A = new Set(e.hostByName.keys()), j = new Set(e.hostByName.keys());
|
|
782
|
+
} else {
|
|
783
|
+
w = [], T = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), D = s;
|
|
784
|
+
let e = Z(s, Q(s));
|
|
785
|
+
O = e.schemaByName, k = e.componentByName, A = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set();
|
|
786
|
+
}
|
|
787
|
+
return {
|
|
788
|
+
ok: !0,
|
|
789
|
+
maxSyntaxNodes: _,
|
|
790
|
+
maxParseWork: v,
|
|
791
|
+
maxMarkdownDepth: y,
|
|
792
|
+
maxRawBodyChars: b,
|
|
793
|
+
...h ? { sourcePhase: h } : {},
|
|
794
|
+
html: d,
|
|
795
|
+
markdownBreaks: p,
|
|
796
|
+
embedding: u,
|
|
797
|
+
strict: m,
|
|
798
|
+
hostComponents: w,
|
|
799
|
+
hostByName: T,
|
|
800
|
+
...C ? { config: C } : {},
|
|
801
|
+
sdkByName: E,
|
|
802
|
+
registry: D,
|
|
803
|
+
componentByName: k,
|
|
804
|
+
schemaByName: O,
|
|
805
|
+
defaultComponentNames: c,
|
|
806
|
+
unmountedLeafNames: C?.presets.some((e) => e.id === "reactive-md/minimal") ? Ve((e) => O.has(e)) : /* @__PURE__ */ new Set(),
|
|
807
|
+
externalComponentNames: A,
|
|
808
|
+
legacyHostNames: j,
|
|
809
|
+
componentConfigKey: C ? o.configKey(C) : o.defaultConfigKey,
|
|
810
|
+
capabilities: o.capabilities ?? ze,
|
|
811
|
+
...o.preset ? { preset: o.preset } : {}
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
function dt(e, t = [], n) {
|
|
815
|
+
let r = t.length > 0 ? Ye : void 0;
|
|
816
|
+
return ut(e, {
|
|
817
|
+
defaults: t,
|
|
818
|
+
...r ? { preset: r } : {},
|
|
819
|
+
defaultConfigKey: Ke(t),
|
|
820
|
+
readConfig: Ge,
|
|
821
|
+
configKey: (e) => e.key,
|
|
822
|
+
...n ? { capabilities: n } : {}
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
function ft(e) {
|
|
826
|
+
return e.componentConfigKey;
|
|
827
|
+
}
|
|
828
|
+
// src/contracts/sha256-utf16.ts
|
|
829
|
+
var pt = new Uint32Array([
|
|
830
|
+
1116352408,
|
|
831
|
+
1899447441,
|
|
832
|
+
3049323471,
|
|
833
|
+
3921009573,
|
|
834
|
+
961987163,
|
|
835
|
+
1508970993,
|
|
836
|
+
2453635748,
|
|
837
|
+
2870763221,
|
|
838
|
+
3624381080,
|
|
839
|
+
310598401,
|
|
840
|
+
607225278,
|
|
841
|
+
1426881987,
|
|
842
|
+
1925078388,
|
|
843
|
+
2162078206,
|
|
844
|
+
2614888103,
|
|
845
|
+
3248222580,
|
|
846
|
+
3835390401,
|
|
847
|
+
4022224774,
|
|
848
|
+
264347078,
|
|
849
|
+
604807628,
|
|
850
|
+
770255983,
|
|
851
|
+
1249150122,
|
|
852
|
+
1555081692,
|
|
853
|
+
1996064986,
|
|
854
|
+
2554220882,
|
|
855
|
+
2821834349,
|
|
856
|
+
2952996808,
|
|
857
|
+
3210313671,
|
|
858
|
+
3336571891,
|
|
859
|
+
3584528711,
|
|
860
|
+
113926993,
|
|
861
|
+
338241895,
|
|
862
|
+
666307205,
|
|
863
|
+
773529912,
|
|
864
|
+
1294757372,
|
|
865
|
+
1396182291,
|
|
866
|
+
1695183700,
|
|
867
|
+
1986661051,
|
|
868
|
+
2177026350,
|
|
869
|
+
2456956037,
|
|
870
|
+
2730485921,
|
|
871
|
+
2820302411,
|
|
872
|
+
3259730800,
|
|
873
|
+
3345764771,
|
|
874
|
+
3516065817,
|
|
875
|
+
3600352804,
|
|
876
|
+
4094571909,
|
|
877
|
+
275423344,
|
|
878
|
+
430227734,
|
|
879
|
+
506948616,
|
|
880
|
+
659060556,
|
|
881
|
+
883997877,
|
|
882
|
+
958139571,
|
|
883
|
+
1322822218,
|
|
884
|
+
1537002063,
|
|
885
|
+
1747873779,
|
|
886
|
+
1955562222,
|
|
887
|
+
2024104815,
|
|
888
|
+
2227730452,
|
|
889
|
+
2361852424,
|
|
890
|
+
2428436474,
|
|
891
|
+
2756734187,
|
|
892
|
+
3204031479,
|
|
893
|
+
3329325298
|
|
894
|
+
]);
|
|
895
|
+
function $(e, t) {
|
|
896
|
+
return e >>> t | e << 32 - t;
|
|
897
|
+
}
|
|
898
|
+
function mt(e) {
|
|
899
|
+
let t = e.length * 2, n = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(Math.ceil((t + 9) / 64) * 64));
|
|
900
|
+
for (let t = 0; t < e.length; t += 1) n.setUint16(t * 2, e.charCodeAt(t), !0);
|
|
901
|
+
n.setUint8(t, 128), n.setUint32(n.byteLength - 8, Math.floor(t / 536870912)), n.setUint32(n.byteLength - 4, t * 8);
|
|
902
|
+
let r = new Uint32Array([
|
|
903
|
+
1779033703,
|
|
904
|
+
3144134277,
|
|
905
|
+
1013904242,
|
|
906
|
+
2773480762,
|
|
907
|
+
1359893119,
|
|
908
|
+
2600822924,
|
|
909
|
+
528734635,
|
|
910
|
+
1541459225
|
|
911
|
+
]), i = /* @__PURE__ */ new Uint32Array(64);
|
|
912
|
+
for (let e = 0; e < n.byteLength; e += 64) {
|
|
913
|
+
for (let t = 0; t < 16; t += 1) i[t] = n.getUint32(e + t * 4);
|
|
914
|
+
for (let e = 16; e < 64; e += 1) {
|
|
915
|
+
let t = i[e - 15], n = i[e - 2], r = $(t, 7) ^ $(t, 18) ^ t >>> 3, a = $(n, 17) ^ $(n, 19) ^ n >>> 10;
|
|
916
|
+
i[e] = i[e - 16] + r + i[e - 7] + a;
|
|
917
|
+
}
|
|
918
|
+
let [t, a, o, s, c, l, u, d] = r;
|
|
919
|
+
for (let e = 0; e < 64; e += 1) {
|
|
920
|
+
let n = $(c, 6) ^ $(c, 11) ^ $(c, 25), r = c & l ^ ~c & u, f = d + n + r + pt[e] + i[e], p = $(t, 2) ^ $(t, 13) ^ $(t, 22), m = t & a ^ t & o ^ a & o;
|
|
921
|
+
d = u, u = l, l = c, c = s + f >>> 0, s = o, o = a, a = t, t = f + p + m >>> 0;
|
|
922
|
+
}
|
|
923
|
+
let f = [
|
|
924
|
+
t,
|
|
925
|
+
a,
|
|
926
|
+
o,
|
|
927
|
+
s,
|
|
928
|
+
c,
|
|
929
|
+
l,
|
|
930
|
+
u,
|
|
931
|
+
d
|
|
932
|
+
];
|
|
933
|
+
for (let e = 0; e < r.length; e += 1) r[e] += f[e];
|
|
934
|
+
}
|
|
935
|
+
return "sha256:" + Array.from(r, (e) => e.toString(16).padStart(8, "0")).join("");
|
|
936
|
+
}
|
|
937
|
+
export { L as A, ve as C, Se as D, xe as E, de as F, N as I, se as L, z as M, he as N, F as O, fe as P, _e as S, be as T, Te as _, ut as a, Ce as b, Oe as c, Re as d, Pe as f, Ee as g, Le as h, dt as i, R as j, I as k, Ae as l, Ie as m, Je as n, qe as o, Ne as p, ft as r, q as s, mt as t, ke as u, we as v, ye as w, ge as x, V as y };
|