@sme.up/ketchup2 2.0.0 → 2.2.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/dist/arc-CqG9Hxdf.cjs +1 -0
- package/dist/arc-Klgb378K.js +80 -0
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
- package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +36 -0
- package/dist/architectureDiagram-Q4EWVU46-CnzjcVBn.js +4057 -0
- package/dist/array-D8NZ46Ht.js +6 -0
- package/dist/array-Dxz0O8Q3.cjs +1 -0
- package/dist/assets/buttonListAssets.d.ts +8 -0
- package/dist/assets/buttonListAssets.d.ts.map +1 -1
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-types.d.ts +4 -0
- package/dist/basic-components/button/button-types.d.ts.map +1 -1
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts +16 -0
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts +4 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts.map +1 -0
- package/dist/basic-components/button-list/button-list-types.d.ts +6 -0
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +11 -4
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/image/image.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell-types.d.ts +12 -3
- package/dist/basic-components/image-cell/image-cell-types.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/list/list-types.d.ts +0 -1
- package/dist/basic-components/list/list-types.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/blockDiagram-DXYQGD6D-B0NvV2Ph.js +3033 -0
- package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +132 -0
- package/dist/c4Diagram-AHTNJAMY-DPijI3_r.js +2961 -0
- package/dist/c4Diagram-AHTNJAMY-Dgwv-e5O.cjs +10 -0
- package/dist/channel-CRWct3-i.js +5 -0
- package/dist/channel-DkTvdPpU.cjs +1 -0
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
- package/dist/chunk-336JU56O-DQhIGd25.cjs +1 -0
- package/dist/chunk-336JU56O-DkZvWJVe.js +49 -0
- package/dist/chunk-426QAEUC-CDXJVpQr.js +9 -0
- package/dist/chunk-426QAEUC-CqN26l3E.cjs +1 -0
- package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
- package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
- package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +206 -0
- package/dist/chunk-4TB4RGXK-D2LRzcEP.js +3253 -0
- package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
- package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
- package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +62 -0
- package/dist/chunk-5FUZZQ4R-D3C0F0Tr.js +3638 -0
- package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +2 -0
- package/dist/chunk-5PVQY5BW-Dn8n6moB.js +1299 -0
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
- package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
- package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
- package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
- package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +1 -0
- package/dist/chunk-EDXVE4YY-CGNVB686.js +25 -0
- package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +10 -0
- package/dist/chunk-ENJZ2VHE-CZ7BvL2h.js +560 -0
- package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
- package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
- package/dist/chunk-ICPOFSXX-fQJ5ufMR.js +3320 -0
- package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +122 -0
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
- package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
- package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
- package/dist/chunk-OYMX7WX6-CrK-lehh.cjs +231 -0
- package/dist/chunk-OYMX7WX6-DJkGVCqi.js +2014 -0
- package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
- package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
- package/dist/chunk-U2HBQHQK-CJ77uizk.cjs +70 -0
- package/dist/chunk-U2HBQHQK-Ceyeq0IV.js +1879 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/chunk-X2U36JSP-CtXjVqek.cjs +1 -0
- package/dist/chunk-X2U36JSP-VxRY65ea.js +67 -0
- package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
- package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
- package/dist/chunk-YZCP3GAM-D6P3SWmL.js +60 -0
- package/dist/chunk-YZCP3GAM-qxaNo0r8.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-BfSqZnT4.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-X2jolXSO.js +32 -0
- package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +1 -0
- package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +1 -0
- package/dist/clone-CQQwPjME.cjs +1 -0
- package/dist/clone-Dwbh_blD.js +8 -0
- package/dist/components/drawer/drawer-types.d.ts +4 -0
- package/dist/components/drawer/drawer-types.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
- package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
- package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts +6 -2
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
- package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
- package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
- package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
- package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
- package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
- package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-context.d.ts +5 -2
- package/dist/components/image-list/image-list-context.d.ts.map +1 -1
- package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
- package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
- package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-state-context.d.ts +5 -0
- package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-types.d.ts +45 -2
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list-utils.d.ts +24 -1
- package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
- package/dist/components/image-list/image-list.d.ts +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/components/planner/planner-assets.d.ts +1 -1
- package/dist/components/planner/planner-assets.d.ts.map +1 -1
- package/dist/components/planner/planner-types.d.ts +1 -1
- package/dist/components/planner/planner-types.d.ts.map +1 -1
- package/dist/components/planner/planner-utils.d.ts +6 -5
- package/dist/components/planner/planner-utils.d.ts.map +1 -1
- package/dist/components/planner/planner.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/scaffold/scaffold-types.d.ts +1 -0
- package/dist/components/scaffold/scaffold-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline-types.d.ts +6 -2
- package/dist/components/timeline/timeline-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
- package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
- package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
- package/dist/dagre-BcwvU6ZF.cjs +1 -0
- package/dist/dagre-D17h-Z-U.js +1606 -0
- package/dist/dagre-KV5264BT-BnEKAAAn.js +293 -0
- package/dist/dagre-KV5264BT-DRbiLA37.cjs +4 -0
- package/dist/defaultLocale-Dcyuaxxg.js +201 -0
- package/dist/defaultLocale-DtzyZW63.cjs +1 -0
- package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +101 -0
- package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +10 -0
- package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +24 -0
- package/dist/diagram-G4DWMVQ6-iYV58Drq.js +524 -0
- package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +43 -0
- package/dist/diagram-MMDJMWI5-DUpEI5ug.js +213 -0
- package/dist/diagram-TYMM5635-BH_-vSv9.cjs +24 -0
- package/dist/diagram-TYMM5635-DHHPZ5ZJ.js +133 -0
- package/dist/dist-BgvMZbfo.cjs +1 -0
- package/dist/dist-DL30VIBI.js +60 -0
- package/dist/erDiagram-SMLLAGMA-C8FM7wbJ.js +1700 -0
- package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +85 -0
- package/dist/flatten-BE1bWL-7.js +40 -0
- package/dist/flatten-DxvYSoR8.cjs +1 -0
- package/dist/flowDiagram-DWJPFMVM-BGtX2gw0.js +4145 -0
- package/dist/flowDiagram-DWJPFMVM-DWuKiJeo.cjs +162 -0
- package/dist/functional-components/action/action-types.d.ts +32 -2
- package/dist/functional-components/action/action-types.d.ts.map +1 -1
- package/dist/functional-components/action/action-utils.d.ts +13 -1
- package/dist/functional-components/action/action-utils.d.ts.map +1 -1
- package/dist/functional-components/action/action.d.ts.map +1 -1
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts +18 -0
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt-assets.d.ts +2 -0
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt.d.ts +3 -3
- package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/grid/gantt-grid.d.ts +3 -5
- package/dist/functional-components/timeline-engine/components/gantt/grid/gantt-grid.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/header/gantt-header.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/types/gantt-types.d.ts +27 -6
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts +27 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts.map +1 -0
- package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list-utils.d.ts +4 -4
- package/dist/functional-components/timeline-engine/components/task-list/task-list-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +24 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +119 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts +2 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts +8 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -0
- package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +292 -0
- package/dist/ganttDiagram-T4ZO3ILL-PY1BUp5b.js +3077 -0
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
- package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +106 -0
- package/dist/gitGraphDiagram-UUTBAWPF-CDIW9-sX.js +728 -0
- package/dist/graphlib-CdgJ32J_.cjs +1 -0
- package/dist/graphlib-DbQkSsC8.js +373 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useGanttMath.d.ts +1 -1
- package/dist/hooks/useGanttMath.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/identity-KQSjemTb.cjs +1 -0
- package/dist/identity-g0dsMjx7.js +393 -0
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
- package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +19 -0
- package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +2 -0
- package/dist/init-B2MubQrj.cjs +1 -0
- package/dist/init-BO60vQHJ.js +15 -0
- package/dist/isEmpty-CA3kJuev.cjs +1 -0
- package/dist/isEmpty-RwX-oIQS.js +35 -0
- package/dist/ishikawaDiagram-UXIWVN3A-BblrAmns.js +718 -0
- package/dist/ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs +70 -0
- package/dist/journeyDiagram-VCZTEJTY-CCOZ1XFK.js +883 -0
- package/dist/journeyDiagram-VCZTEJTY-UwcVOFtb.cjs +139 -0
- package/dist/kanban-definition-6JOO6SKY-BWwfbdd6.js +973 -0
- package/dist/kanban-definition-6JOO6SKY-Coxpi43B.cjs +89 -0
- package/dist/katex-Du5WiYIy.js +22000 -0
- package/dist/katex-SAH56fvc.cjs +257 -0
- package/dist/ketchup2.cjs.js +197 -1
- package/dist/ketchup2.css +2 -1
- package/dist/ketchup2.es.js +132798 -52
- package/dist/line-C7oijaT4.cjs +1 -0
- package/dist/line-CrxZdHmO.js +34 -0
- package/dist/linear-BsPvNLJv.js +289 -0
- package/dist/linear-CxHa1DsM.cjs +1 -0
- package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
- package/dist/mindmap-definition-QFDTVHPH--xULjpFZ.cjs +96 -0
- package/dist/mindmap-definition-QFDTVHPH-dYQoMeA6.js +978 -0
- package/dist/ordinal-C-VoL0XF.js +65 -0
- package/dist/ordinal-Civr0hZL.cjs +1 -0
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
- package/dist/path-Civic7PQ.cjs +1 -0
- package/dist/path-CvfwEr8y.js +85 -0
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
- package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +30 -0
- package/dist/pieDiagram-DEJITSTG-Dj5pX4fC.js +165 -0
- package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +7 -0
- package/dist/quadrantDiagram-34T5L4WZ-BKNOJBiR.js +1974 -0
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
- package/dist/reduce-B7WW9rkU.cjs +1 -0
- package/dist/reduce-DNnkcf3M.js +532 -0
- package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +84 -0
- package/dist/requirementDiagram-MS252O5E-r3eZu57d.js +2221 -0
- package/dist/rough.esm-1mqTSjCt.js +1352 -0
- package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
- package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +10 -0
- package/dist/sankeyDiagram-XADWPNL6-ErTVVewH.js +920 -0
- package/dist/sequenceDiagram-FGHM5R23-BmqbzzHY.js +4157 -0
- package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +157 -0
- package/dist/src-BQiFKP24.js +2146 -0
- package/dist/src-DFxq-N5I.cjs +1 -0
- package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +217 -0
- package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +1 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +27 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +1 -0
- package/dist/timeline-definition-GMOUNBTQ-BeTHmikc.cjs +120 -0
- package/dist/timeline-definition-GMOUNBTQ-DgcI7XnE.js +1068 -0
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
- package/dist/types/data-structures.d.ts +9 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/utils/data-structures.d.ts +2 -0
- package/dist/utils/data-structures.d.ts.map +1 -1
- package/dist/utils/style.d.ts +13 -2
- package/dist/utils/style.d.ts.map +1 -1
- package/dist/utils/translation.d.ts.map +1 -1
- package/dist/v4-6yr83DbP.cjs +1 -0
- package/dist/v4-BR71w5_q.js +33 -0
- package/dist/vennDiagram-DHZGUBPP-7tx3VVDU.js +1858 -0
- package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +34 -0
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
- package/dist/wardleyDiagram-NUSXRM2D-DGKU7A2U.js +578 -0
- package/dist/wardleyDiagram-NUSXRM2D-DY51LHBa.cjs +20 -0
- package/dist/xychartDiagram-5P7HB3ND--7RYyckP.js +2044 -0
- package/dist/xychartDiagram-5P7HB3ND-Cj0HUNew.cjs +7 -0
- package/package.json +31 -31
- package/dist/_basePickBy-CPekwY_Z.js +0 -151
- package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
- package/dist/_baseUniq-CAhfZr5S.js +0 -614
- package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
- package/dist/arc-CnmUepZA.cjs +0 -1
- package/dist/arc-Md6Ds0JZ.js +0 -83
- package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
- package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
- package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
- package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
- package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
- package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
- package/dist/channel-BGeX_R6w.cjs +0 -1
- package/dist/channel-lqmaHMPZ.js +0 -5
- package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
- package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
- package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
- package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
- package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
- package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
- package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
- package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
- package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
- package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
- package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
- package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
- package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
- package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
- package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
- package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
- package/dist/clone-B_MxWhab.js +0 -8
- package/dist/clone-D6gFD6F-.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
- package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
- package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
- package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
- package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
- package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
- package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
- package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
- package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
- package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
- package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
- package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts +0 -17
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt.d.ts.map +0 -1
- package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +0 -1
- package/dist/functional-components/gantt/header/gantt-header.d.ts.map +0 -1
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +0 -1
- package/dist/functional-components/gantt/types/gantt-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-types.d.ts +0 -22
- package/dist/functional-components/task-list/task-list-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-utils.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list.d.ts.map +0 -1
- package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
- package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
- package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
- package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
- package/dist/graph-BBPk5jyk.cjs +0 -1
- package/dist/graph-h6vsxKyr.js +0 -247
- package/dist/hooks/usePlannerSync.d.ts +0 -11
- package/dist/hooks/usePlannerSync.d.ts.map +0 -1
- package/dist/index-CYQM-t1d.cjs +0 -390
- package/dist/index-FiV1b00w.js +0 -133122
- package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
- package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
- package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
- package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
- package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
- package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
- package/dist/katex-C2g-EhzP.cjs +0 -261
- package/dist/katex-CUSbq6rG.js +0 -11692
- package/dist/layout-6z7-eUnZ.js +0 -1335
- package/dist/layout-DbcrMh5B.cjs +0 -1
- package/dist/linear-BKevCbhh.js +0 -259
- package/dist/linear-C7uVEtWW.cjs +0 -1
- package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
- package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
- package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
- package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
- package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
- package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
- package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
- package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
- package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
- package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
- package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
- package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
- package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
- package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
- package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
- package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
- package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
- package/dist/utils/wbs-utils.d.ts +0 -143
- package/dist/utils/wbs-utils.d.ts.map +0 -1
- package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
- /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/header/gantt-header.d.ts +0 -0
- /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/today-indicator/gantt-today-indicator.d.ts +0 -0
- /package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list.d.ts +0 -0
|
@@ -0,0 +1,1146 @@
|
|
|
1
|
+
import { h as e } from "./src-BQiFKP24.js";
|
|
2
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.mjs
|
|
3
|
+
function t(e) {
|
|
4
|
+
return e == null;
|
|
5
|
+
}
|
|
6
|
+
e(t, "isNothing");
|
|
7
|
+
function n(e) {
|
|
8
|
+
return typeof e == "object" && !!e;
|
|
9
|
+
}
|
|
10
|
+
e(n, "isObject");
|
|
11
|
+
function r(e) {
|
|
12
|
+
return Array.isArray(e) ? e : t(e) ? [] : [e];
|
|
13
|
+
}
|
|
14
|
+
e(r, "toArray");
|
|
15
|
+
function i(e, t) {
|
|
16
|
+
var n, r, i, a;
|
|
17
|
+
if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
|
|
18
|
+
return e;
|
|
19
|
+
}
|
|
20
|
+
e(i, "extend");
|
|
21
|
+
function a(e, t) {
|
|
22
|
+
var n = "", r;
|
|
23
|
+
for (r = 0; r < t; r += 1) n += e;
|
|
24
|
+
return n;
|
|
25
|
+
}
|
|
26
|
+
e(a, "repeat");
|
|
27
|
+
function o(e) {
|
|
28
|
+
return e === 0 && 1 / e == -Infinity;
|
|
29
|
+
}
|
|
30
|
+
e(o, "isNegativeZero");
|
|
31
|
+
var s = {
|
|
32
|
+
isNothing: t,
|
|
33
|
+
isObject: n,
|
|
34
|
+
toArray: r,
|
|
35
|
+
repeat: a,
|
|
36
|
+
isNegativeZero: o,
|
|
37
|
+
extend: i
|
|
38
|
+
};
|
|
39
|
+
function c(e, t) {
|
|
40
|
+
var n = "", r = e.reason || "(unknown reason)";
|
|
41
|
+
return e.mark ? (e.mark.name && (n += "in \"" + e.mark.name + "\" "), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += "\n\n" + e.mark.snippet), r + " " + n) : r;
|
|
42
|
+
}
|
|
43
|
+
e(c, "formatError");
|
|
44
|
+
function l(e, t) {
|
|
45
|
+
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = c(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
|
|
46
|
+
}
|
|
47
|
+
e(l, "YAMLException$1"), l.prototype = Object.create(Error.prototype), l.prototype.constructor = l, l.prototype.toString = /* @__PURE__ */ e(function(e) {
|
|
48
|
+
return this.name + ": " + c(this, e);
|
|
49
|
+
}, "toString");
|
|
50
|
+
var u = l;
|
|
51
|
+
function d(e, t, n, r, i) {
|
|
52
|
+
var a = "", o = "", s = Math.floor(i / 2) - 1;
|
|
53
|
+
return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
|
|
54
|
+
str: a + e.slice(t, n).replace(/\t/g, "→") + o,
|
|
55
|
+
pos: r - t + a.length
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
e(d, "getLine");
|
|
59
|
+
function f(e, t) {
|
|
60
|
+
return s.repeat(" ", t - e.length) + e;
|
|
61
|
+
}
|
|
62
|
+
e(f, "padStart");
|
|
63
|
+
function p(e, t) {
|
|
64
|
+
if (t = Object.create(t || null), !e.buffer) return null;
|
|
65
|
+
t.maxLength ||= 79, typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
|
|
66
|
+
for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, o = -1; a = n.exec(e.buffer);) i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && o < 0 && (o = r.length - 2);
|
|
67
|
+
o < 0 && (o = r.length - 1);
|
|
68
|
+
var c = "", l, u, p = Math.min(e.line + t.linesAfter, i.length).toString().length, m = t.maxLength - (t.indent + p + 3);
|
|
69
|
+
for (l = 1; l <= t.linesBefore && !(o - l < 0); l++) u = d(e.buffer, r[o - l], i[o - l], e.position - (r[o] - r[o - l]), m), c = s.repeat(" ", t.indent) + f((e.line - l + 1).toString(), p) + " | " + u.str + "\n" + c;
|
|
70
|
+
for (u = d(e.buffer, r[o], i[o], e.position, m), c += s.repeat(" ", t.indent) + f((e.line + 1).toString(), p) + " | " + u.str + "\n", c += s.repeat("-", t.indent + p + 3 + u.pos) + "^\n", l = 1; l <= t.linesAfter && !(o + l >= i.length); l++) u = d(e.buffer, r[o + l], i[o + l], e.position - (r[o] - r[o + l]), m), c += s.repeat(" ", t.indent) + f((e.line + l + 1).toString(), p) + " | " + u.str + "\n";
|
|
71
|
+
return c.replace(/\n$/, "");
|
|
72
|
+
}
|
|
73
|
+
e(p, "makeSnippet");
|
|
74
|
+
var m = p, h = [
|
|
75
|
+
"kind",
|
|
76
|
+
"multi",
|
|
77
|
+
"resolve",
|
|
78
|
+
"construct",
|
|
79
|
+
"instanceOf",
|
|
80
|
+
"predicate",
|
|
81
|
+
"represent",
|
|
82
|
+
"representName",
|
|
83
|
+
"defaultStyle",
|
|
84
|
+
"styleAliases"
|
|
85
|
+
], g = [
|
|
86
|
+
"scalar",
|
|
87
|
+
"sequence",
|
|
88
|
+
"mapping"
|
|
89
|
+
];
|
|
90
|
+
function _(e) {
|
|
91
|
+
var t = {};
|
|
92
|
+
return e !== null && Object.keys(e).forEach(function(n) {
|
|
93
|
+
e[n].forEach(function(e) {
|
|
94
|
+
t[String(e)] = n;
|
|
95
|
+
});
|
|
96
|
+
}), t;
|
|
97
|
+
}
|
|
98
|
+
e(_, "compileStyleAliases");
|
|
99
|
+
function v(e, t) {
|
|
100
|
+
if (t ||= {}, Object.keys(t).forEach(function(t) {
|
|
101
|
+
if (h.indexOf(t) === -1) throw new u("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
|
|
102
|
+
}), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
|
|
103
|
+
return !0;
|
|
104
|
+
}, this.construct = t.construct || function(e) {
|
|
105
|
+
return e;
|
|
106
|
+
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = _(t.styleAliases || null), g.indexOf(this.kind) === -1) throw new u("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
|
|
107
|
+
}
|
|
108
|
+
e(v, "Type$1");
|
|
109
|
+
var y = v;
|
|
110
|
+
function b(e, t) {
|
|
111
|
+
var n = [];
|
|
112
|
+
return e[t].forEach(function(e) {
|
|
113
|
+
var t = n.length;
|
|
114
|
+
n.forEach(function(n, r) {
|
|
115
|
+
n.tag === e.tag && n.kind === e.kind && n.multi === e.multi && (t = r);
|
|
116
|
+
}), n[t] = e;
|
|
117
|
+
}), n;
|
|
118
|
+
}
|
|
119
|
+
e(b, "compileList");
|
|
120
|
+
function ee() {
|
|
121
|
+
var t = {
|
|
122
|
+
scalar: {},
|
|
123
|
+
sequence: {},
|
|
124
|
+
mapping: {},
|
|
125
|
+
fallback: {},
|
|
126
|
+
multi: {
|
|
127
|
+
scalar: [],
|
|
128
|
+
sequence: [],
|
|
129
|
+
mapping: [],
|
|
130
|
+
fallback: []
|
|
131
|
+
}
|
|
132
|
+
}, n, r;
|
|
133
|
+
function i(e) {
|
|
134
|
+
e.multi ? (t.multi[e.kind].push(e), t.multi.fallback.push(e)) : t[e.kind][e.tag] = t.fallback[e.tag] = e;
|
|
135
|
+
}
|
|
136
|
+
for (e(i, "collectType"), n = 0, r = arguments.length; n < r; n += 1) arguments[n].forEach(i);
|
|
137
|
+
return t;
|
|
138
|
+
}
|
|
139
|
+
e(ee, "compileMap");
|
|
140
|
+
function x(e) {
|
|
141
|
+
return this.extend(e);
|
|
142
|
+
}
|
|
143
|
+
e(x, "Schema$1"), x.prototype.extend = /* @__PURE__ */ e(function(e) {
|
|
144
|
+
var t = [], n = [];
|
|
145
|
+
if (e instanceof y) n.push(e);
|
|
146
|
+
else if (Array.isArray(e)) n = n.concat(e);
|
|
147
|
+
else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
|
|
148
|
+
else throw new u("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
149
|
+
t.forEach(function(e) {
|
|
150
|
+
if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
151
|
+
if (e.loadKind && e.loadKind !== "scalar") throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
152
|
+
if (e.multi) throw new u("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
153
|
+
}), n.forEach(function(e) {
|
|
154
|
+
if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
155
|
+
});
|
|
156
|
+
var r = Object.create(x.prototype);
|
|
157
|
+
return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = b(r, "implicit"), r.compiledExplicit = b(r, "explicit"), r.compiledTypeMap = ee(r.compiledImplicit, r.compiledExplicit), r;
|
|
158
|
+
}, "extend");
|
|
159
|
+
var te = new x({ explicit: [
|
|
160
|
+
new y("tag:yaml.org,2002:str", {
|
|
161
|
+
kind: "scalar",
|
|
162
|
+
construct: /* @__PURE__ */ e(function(e) {
|
|
163
|
+
return e === null ? "" : e;
|
|
164
|
+
}, "construct")
|
|
165
|
+
}),
|
|
166
|
+
new y("tag:yaml.org,2002:seq", {
|
|
167
|
+
kind: "sequence",
|
|
168
|
+
construct: /* @__PURE__ */ e(function(e) {
|
|
169
|
+
return e === null ? [] : e;
|
|
170
|
+
}, "construct")
|
|
171
|
+
}),
|
|
172
|
+
new y("tag:yaml.org,2002:map", {
|
|
173
|
+
kind: "mapping",
|
|
174
|
+
construct: /* @__PURE__ */ e(function(e) {
|
|
175
|
+
return e === null ? {} : e;
|
|
176
|
+
}, "construct")
|
|
177
|
+
})
|
|
178
|
+
] });
|
|
179
|
+
function ne(e) {
|
|
180
|
+
if (e === null) return !0;
|
|
181
|
+
var t = e.length;
|
|
182
|
+
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
183
|
+
}
|
|
184
|
+
e(ne, "resolveYamlNull");
|
|
185
|
+
function re() {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
e(re, "constructYamlNull");
|
|
189
|
+
function ie(e) {
|
|
190
|
+
return e === null;
|
|
191
|
+
}
|
|
192
|
+
e(ie, "isNull");
|
|
193
|
+
var ae = new y("tag:yaml.org,2002:null", {
|
|
194
|
+
kind: "scalar",
|
|
195
|
+
resolve: ne,
|
|
196
|
+
construct: re,
|
|
197
|
+
predicate: ie,
|
|
198
|
+
represent: {
|
|
199
|
+
canonical: /* @__PURE__ */ e(function() {
|
|
200
|
+
return "~";
|
|
201
|
+
}, "canonical"),
|
|
202
|
+
lowercase: /* @__PURE__ */ e(function() {
|
|
203
|
+
return "null";
|
|
204
|
+
}, "lowercase"),
|
|
205
|
+
uppercase: /* @__PURE__ */ e(function() {
|
|
206
|
+
return "NULL";
|
|
207
|
+
}, "uppercase"),
|
|
208
|
+
camelcase: /* @__PURE__ */ e(function() {
|
|
209
|
+
return "Null";
|
|
210
|
+
}, "camelcase"),
|
|
211
|
+
empty: /* @__PURE__ */ e(function() {
|
|
212
|
+
return "";
|
|
213
|
+
}, "empty")
|
|
214
|
+
},
|
|
215
|
+
defaultStyle: "lowercase"
|
|
216
|
+
});
|
|
217
|
+
function oe(e) {
|
|
218
|
+
if (e === null) return !1;
|
|
219
|
+
var t = e.length;
|
|
220
|
+
return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
221
|
+
}
|
|
222
|
+
e(oe, "resolveYamlBoolean");
|
|
223
|
+
function se(e) {
|
|
224
|
+
return e === "true" || e === "True" || e === "TRUE";
|
|
225
|
+
}
|
|
226
|
+
e(se, "constructYamlBoolean");
|
|
227
|
+
function ce(e) {
|
|
228
|
+
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
229
|
+
}
|
|
230
|
+
e(ce, "isBoolean");
|
|
231
|
+
var le = new y("tag:yaml.org,2002:bool", {
|
|
232
|
+
kind: "scalar",
|
|
233
|
+
resolve: oe,
|
|
234
|
+
construct: se,
|
|
235
|
+
predicate: ce,
|
|
236
|
+
represent: {
|
|
237
|
+
lowercase: /* @__PURE__ */ e(function(e) {
|
|
238
|
+
return e ? "true" : "false";
|
|
239
|
+
}, "lowercase"),
|
|
240
|
+
uppercase: /* @__PURE__ */ e(function(e) {
|
|
241
|
+
return e ? "TRUE" : "FALSE";
|
|
242
|
+
}, "uppercase"),
|
|
243
|
+
camelcase: /* @__PURE__ */ e(function(e) {
|
|
244
|
+
return e ? "True" : "False";
|
|
245
|
+
}, "camelcase")
|
|
246
|
+
},
|
|
247
|
+
defaultStyle: "lowercase"
|
|
248
|
+
});
|
|
249
|
+
function ue(e) {
|
|
250
|
+
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
251
|
+
}
|
|
252
|
+
e(ue, "isHexCode");
|
|
253
|
+
function de(e) {
|
|
254
|
+
return 48 <= e && e <= 55;
|
|
255
|
+
}
|
|
256
|
+
e(de, "isOctCode");
|
|
257
|
+
function fe(e) {
|
|
258
|
+
return 48 <= e && e <= 57;
|
|
259
|
+
}
|
|
260
|
+
e(fe, "isDecCode");
|
|
261
|
+
function pe(e) {
|
|
262
|
+
if (e === null) return !1;
|
|
263
|
+
var t = e.length, n = 0, r = !1, i;
|
|
264
|
+
if (!t) return !1;
|
|
265
|
+
if (i = e[n], (i === "-" || i === "+") && (i = e[++n]), i === "0") {
|
|
266
|
+
if (n + 1 === t) return !0;
|
|
267
|
+
if (i = e[++n], i === "b") {
|
|
268
|
+
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
269
|
+
if (i !== "0" && i !== "1") return !1;
|
|
270
|
+
r = !0;
|
|
271
|
+
}
|
|
272
|
+
return r && i !== "_";
|
|
273
|
+
}
|
|
274
|
+
if (i === "x") {
|
|
275
|
+
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
276
|
+
if (!ue(e.charCodeAt(n))) return !1;
|
|
277
|
+
r = !0;
|
|
278
|
+
}
|
|
279
|
+
return r && i !== "_";
|
|
280
|
+
}
|
|
281
|
+
if (i === "o") {
|
|
282
|
+
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
283
|
+
if (!de(e.charCodeAt(n))) return !1;
|
|
284
|
+
r = !0;
|
|
285
|
+
}
|
|
286
|
+
return r && i !== "_";
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
if (i === "_") return !1;
|
|
290
|
+
for (; n < t; n++) if (i = e[n], i !== "_") {
|
|
291
|
+
if (!fe(e.charCodeAt(n))) return !1;
|
|
292
|
+
r = !0;
|
|
293
|
+
}
|
|
294
|
+
return !(!r || i === "_");
|
|
295
|
+
}
|
|
296
|
+
e(pe, "resolveYamlInteger");
|
|
297
|
+
function me(e) {
|
|
298
|
+
var t = e, n = 1, r;
|
|
299
|
+
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
|
|
300
|
+
if (r === "0") {
|
|
301
|
+
if (t[1] === "b") return n * parseInt(t.slice(2), 2);
|
|
302
|
+
if (t[1] === "x") return n * parseInt(t.slice(2), 16);
|
|
303
|
+
if (t[1] === "o") return n * parseInt(t.slice(2), 8);
|
|
304
|
+
}
|
|
305
|
+
return n * parseInt(t, 10);
|
|
306
|
+
}
|
|
307
|
+
e(me, "constructYamlInteger");
|
|
308
|
+
function he(e) {
|
|
309
|
+
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !s.isNegativeZero(e);
|
|
310
|
+
}
|
|
311
|
+
e(he, "isInteger");
|
|
312
|
+
var ge = new y("tag:yaml.org,2002:int", {
|
|
313
|
+
kind: "scalar",
|
|
314
|
+
resolve: pe,
|
|
315
|
+
construct: me,
|
|
316
|
+
predicate: he,
|
|
317
|
+
represent: {
|
|
318
|
+
binary: /* @__PURE__ */ e(function(e) {
|
|
319
|
+
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
320
|
+
}, "binary"),
|
|
321
|
+
octal: /* @__PURE__ */ e(function(e) {
|
|
322
|
+
return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
|
|
323
|
+
}, "octal"),
|
|
324
|
+
decimal: /* @__PURE__ */ e(function(e) {
|
|
325
|
+
return e.toString(10);
|
|
326
|
+
}, "decimal"),
|
|
327
|
+
hexadecimal: /* @__PURE__ */ e(function(e) {
|
|
328
|
+
return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
|
|
329
|
+
}, "hexadecimal")
|
|
330
|
+
},
|
|
331
|
+
defaultStyle: "decimal",
|
|
332
|
+
styleAliases: {
|
|
333
|
+
binary: [2, "bin"],
|
|
334
|
+
octal: [8, "oct"],
|
|
335
|
+
decimal: [10, "dec"],
|
|
336
|
+
hexadecimal: [16, "hex"]
|
|
337
|
+
}
|
|
338
|
+
}), _e = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
339
|
+
function ve(e) {
|
|
340
|
+
return !(e === null || !_e.test(e) || e[e.length - 1] === "_");
|
|
341
|
+
}
|
|
342
|
+
e(ve, "resolveYamlFloat");
|
|
343
|
+
function ye(e) {
|
|
344
|
+
var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
|
|
345
|
+
return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
|
|
346
|
+
}
|
|
347
|
+
e(ye, "constructYamlFloat");
|
|
348
|
+
var be = /^[-+]?[0-9]+e/;
|
|
349
|
+
function xe(e, t) {
|
|
350
|
+
var n;
|
|
351
|
+
if (isNaN(e)) switch (t) {
|
|
352
|
+
case "lowercase": return ".nan";
|
|
353
|
+
case "uppercase": return ".NAN";
|
|
354
|
+
case "camelcase": return ".NaN";
|
|
355
|
+
}
|
|
356
|
+
else if (e === Infinity) switch (t) {
|
|
357
|
+
case "lowercase": return ".inf";
|
|
358
|
+
case "uppercase": return ".INF";
|
|
359
|
+
case "camelcase": return ".Inf";
|
|
360
|
+
}
|
|
361
|
+
else if (e === -Infinity) switch (t) {
|
|
362
|
+
case "lowercase": return "-.inf";
|
|
363
|
+
case "uppercase": return "-.INF";
|
|
364
|
+
case "camelcase": return "-.Inf";
|
|
365
|
+
}
|
|
366
|
+
else if (s.isNegativeZero(e)) return "-0.0";
|
|
367
|
+
return n = e.toString(10), be.test(n) ? n.replace("e", ".e") : n;
|
|
368
|
+
}
|
|
369
|
+
e(xe, "representYamlFloat");
|
|
370
|
+
function Se(e) {
|
|
371
|
+
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || s.isNegativeZero(e));
|
|
372
|
+
}
|
|
373
|
+
e(Se, "isFloat");
|
|
374
|
+
var Ce = new y("tag:yaml.org,2002:float", {
|
|
375
|
+
kind: "scalar",
|
|
376
|
+
resolve: ve,
|
|
377
|
+
construct: ye,
|
|
378
|
+
predicate: Se,
|
|
379
|
+
represent: xe,
|
|
380
|
+
defaultStyle: "lowercase"
|
|
381
|
+
}), we = te.extend({ implicit: [
|
|
382
|
+
ae,
|
|
383
|
+
le,
|
|
384
|
+
ge,
|
|
385
|
+
Ce
|
|
386
|
+
] }), Te = we, Ee = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), De = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
387
|
+
function Oe(e) {
|
|
388
|
+
return e === null ? !1 : Ee.exec(e) !== null || De.exec(e) !== null;
|
|
389
|
+
}
|
|
390
|
+
e(Oe, "resolveYamlTimestamp");
|
|
391
|
+
function ke(e) {
|
|
392
|
+
var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
|
|
393
|
+
if (t = Ee.exec(e), t === null && (t = De.exec(e)), t === null) throw Error("Date resolve error");
|
|
394
|
+
if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
|
|
395
|
+
if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
|
|
396
|
+
for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
|
|
397
|
+
c = +c;
|
|
398
|
+
}
|
|
399
|
+
return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === "-" && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
|
|
400
|
+
}
|
|
401
|
+
e(ke, "constructYamlTimestamp");
|
|
402
|
+
function Ae(e) {
|
|
403
|
+
return e.toISOString();
|
|
404
|
+
}
|
|
405
|
+
e(Ae, "representYamlTimestamp");
|
|
406
|
+
var je = new y("tag:yaml.org,2002:timestamp", {
|
|
407
|
+
kind: "scalar",
|
|
408
|
+
resolve: Oe,
|
|
409
|
+
construct: ke,
|
|
410
|
+
instanceOf: Date,
|
|
411
|
+
represent: Ae
|
|
412
|
+
});
|
|
413
|
+
function Me(e) {
|
|
414
|
+
return e === "<<" || e === null;
|
|
415
|
+
}
|
|
416
|
+
e(Me, "resolveYamlMerge");
|
|
417
|
+
var Ne = new y("tag:yaml.org,2002:merge", {
|
|
418
|
+
kind: "scalar",
|
|
419
|
+
resolve: Me
|
|
420
|
+
}), S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
421
|
+
function Pe(e) {
|
|
422
|
+
if (e === null) return !1;
|
|
423
|
+
var t, n, r = 0, i = e.length, a = S;
|
|
424
|
+
for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
|
|
425
|
+
if (t < 0) return !1;
|
|
426
|
+
r += 6;
|
|
427
|
+
}
|
|
428
|
+
return r % 8 == 0;
|
|
429
|
+
}
|
|
430
|
+
e(Pe, "resolveYamlBinary");
|
|
431
|
+
function Fe(e) {
|
|
432
|
+
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = S, o = 0, s = [];
|
|
433
|
+
for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
|
|
434
|
+
return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
|
|
435
|
+
}
|
|
436
|
+
e(Fe, "constructYamlBinary");
|
|
437
|
+
function Ie(e) {
|
|
438
|
+
var t = "", n = 0, r, i, a = e.length, o = S;
|
|
439
|
+
for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
|
|
440
|
+
return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
|
|
441
|
+
}
|
|
442
|
+
e(Ie, "representYamlBinary");
|
|
443
|
+
function Le(e) {
|
|
444
|
+
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
445
|
+
}
|
|
446
|
+
e(Le, "isBinary");
|
|
447
|
+
var Re = new y("tag:yaml.org,2002:binary", {
|
|
448
|
+
kind: "scalar",
|
|
449
|
+
resolve: Pe,
|
|
450
|
+
construct: Fe,
|
|
451
|
+
predicate: Le,
|
|
452
|
+
represent: Ie
|
|
453
|
+
}), ze = Object.prototype.hasOwnProperty, Be = Object.prototype.toString;
|
|
454
|
+
function Ve(e) {
|
|
455
|
+
if (e === null) return !0;
|
|
456
|
+
var t = [], n, r, i, a, o, s = e;
|
|
457
|
+
for (n = 0, r = s.length; n < r; n += 1) {
|
|
458
|
+
if (i = s[n], o = !1, Be.call(i) !== "[object Object]") return !1;
|
|
459
|
+
for (a in i) if (ze.call(i, a)) if (!o) o = !0;
|
|
460
|
+
else return !1;
|
|
461
|
+
if (!o) return !1;
|
|
462
|
+
if (t.indexOf(a) === -1) t.push(a);
|
|
463
|
+
else return !1;
|
|
464
|
+
}
|
|
465
|
+
return !0;
|
|
466
|
+
}
|
|
467
|
+
e(Ve, "resolveYamlOmap");
|
|
468
|
+
function He(e) {
|
|
469
|
+
return e === null ? [] : e;
|
|
470
|
+
}
|
|
471
|
+
e(He, "constructYamlOmap");
|
|
472
|
+
var Ue = new y("tag:yaml.org,2002:omap", {
|
|
473
|
+
kind: "sequence",
|
|
474
|
+
resolve: Ve,
|
|
475
|
+
construct: He
|
|
476
|
+
}), We = Object.prototype.toString;
|
|
477
|
+
function Ge(e) {
|
|
478
|
+
if (e === null) return !0;
|
|
479
|
+
var t, n, r, i, a, o = e;
|
|
480
|
+
for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
|
|
481
|
+
if (r = o[t], We.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
|
|
482
|
+
a[t] = [i[0], r[i[0]]];
|
|
483
|
+
}
|
|
484
|
+
return !0;
|
|
485
|
+
}
|
|
486
|
+
e(Ge, "resolveYamlPairs");
|
|
487
|
+
function Ke(e) {
|
|
488
|
+
if (e === null) return [];
|
|
489
|
+
var t, n, r, i, a, o = e;
|
|
490
|
+
for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
|
|
491
|
+
return a;
|
|
492
|
+
}
|
|
493
|
+
e(Ke, "constructYamlPairs");
|
|
494
|
+
var qe = new y("tag:yaml.org,2002:pairs", {
|
|
495
|
+
kind: "sequence",
|
|
496
|
+
resolve: Ge,
|
|
497
|
+
construct: Ke
|
|
498
|
+
}), Je = Object.prototype.hasOwnProperty;
|
|
499
|
+
function Ye(e) {
|
|
500
|
+
if (e === null) return !0;
|
|
501
|
+
var t, n = e;
|
|
502
|
+
for (t in n) if (Je.call(n, t) && n[t] !== null) return !1;
|
|
503
|
+
return !0;
|
|
504
|
+
}
|
|
505
|
+
e(Ye, "resolveYamlSet");
|
|
506
|
+
function Xe(e) {
|
|
507
|
+
return e === null ? {} : e;
|
|
508
|
+
}
|
|
509
|
+
e(Xe, "constructYamlSet");
|
|
510
|
+
var Ze = new y("tag:yaml.org,2002:set", {
|
|
511
|
+
kind: "mapping",
|
|
512
|
+
resolve: Ye,
|
|
513
|
+
construct: Xe
|
|
514
|
+
}), Qe = Te.extend({
|
|
515
|
+
implicit: [je, Ne],
|
|
516
|
+
explicit: [
|
|
517
|
+
Re,
|
|
518
|
+
Ue,
|
|
519
|
+
qe,
|
|
520
|
+
Ze
|
|
521
|
+
]
|
|
522
|
+
}), C = Object.prototype.hasOwnProperty, w = 1, $e = 2, et = 3, T = 4, E = 1, tt = 2, nt = 3, rt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, it = /[\x85\u2028\u2029]/, at = /[,\[\]\{\}]/, ot = /^(?:!|!!|![a-z\-]+!)$/i, st = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
523
|
+
function D(e) {
|
|
524
|
+
return Object.prototype.toString.call(e);
|
|
525
|
+
}
|
|
526
|
+
e(D, "_class");
|
|
527
|
+
function O(e) {
|
|
528
|
+
return e === 10 || e === 13;
|
|
529
|
+
}
|
|
530
|
+
e(O, "is_EOL");
|
|
531
|
+
function k(e) {
|
|
532
|
+
return e === 9 || e === 32;
|
|
533
|
+
}
|
|
534
|
+
e(k, "is_WHITE_SPACE");
|
|
535
|
+
function A(e) {
|
|
536
|
+
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
537
|
+
}
|
|
538
|
+
e(A, "is_WS_OR_EOL");
|
|
539
|
+
function j(e) {
|
|
540
|
+
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
541
|
+
}
|
|
542
|
+
e(j, "is_FLOW_INDICATOR");
|
|
543
|
+
function ct(e) {
|
|
544
|
+
var t;
|
|
545
|
+
return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
|
|
546
|
+
}
|
|
547
|
+
e(ct, "fromHexCode");
|
|
548
|
+
function lt(e) {
|
|
549
|
+
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
550
|
+
}
|
|
551
|
+
e(lt, "escapedHexLen");
|
|
552
|
+
function ut(e) {
|
|
553
|
+
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
554
|
+
}
|
|
555
|
+
e(ut, "fromDecimalCode");
|
|
556
|
+
function dt(e) {
|
|
557
|
+
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
558
|
+
}
|
|
559
|
+
e(dt, "simpleEscapeSequence");
|
|
560
|
+
function ft(e) {
|
|
561
|
+
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
|
|
562
|
+
}
|
|
563
|
+
e(ft, "charFromCodepoint");
|
|
564
|
+
function pt(e, t, n) {
|
|
565
|
+
t === "__proto__" ? Object.defineProperty(e, t, {
|
|
566
|
+
configurable: !0,
|
|
567
|
+
enumerable: !0,
|
|
568
|
+
writable: !0,
|
|
569
|
+
value: n
|
|
570
|
+
}) : e[t] = n;
|
|
571
|
+
}
|
|
572
|
+
e(pt, "setProperty");
|
|
573
|
+
var mt = Array(256), ht = Array(256);
|
|
574
|
+
for (M = 0; M < 256; M++) mt[M] = +!!dt(M), ht[M] = dt(M);
|
|
575
|
+
var M;
|
|
576
|
+
function gt(e, t) {
|
|
577
|
+
this.input = e, this.filename = t.filename || null, this.schema = t.schema || Qe, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
578
|
+
}
|
|
579
|
+
e(gt, "State$1");
|
|
580
|
+
function _t(e, t) {
|
|
581
|
+
var n = {
|
|
582
|
+
name: e.filename,
|
|
583
|
+
buffer: e.input.slice(0, -1),
|
|
584
|
+
position: e.position,
|
|
585
|
+
line: e.line,
|
|
586
|
+
column: e.position - e.lineStart
|
|
587
|
+
};
|
|
588
|
+
return n.snippet = m(n), new u(t, n);
|
|
589
|
+
}
|
|
590
|
+
e(_t, "generateError");
|
|
591
|
+
function N(e, t) {
|
|
592
|
+
throw _t(e, t);
|
|
593
|
+
}
|
|
594
|
+
e(N, "throwError");
|
|
595
|
+
function P(e, t) {
|
|
596
|
+
e.onWarning && e.onWarning.call(null, _t(e, t));
|
|
597
|
+
}
|
|
598
|
+
e(P, "throwWarning");
|
|
599
|
+
var vt = {
|
|
600
|
+
YAML: /* @__PURE__ */ e(function(e, t, n) {
|
|
601
|
+
var r, i, a;
|
|
602
|
+
e.version !== null && N(e, "duplication of %YAML directive"), n.length !== 1 && N(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && N(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && N(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && P(e, "unsupported YAML version of the document");
|
|
603
|
+
}, "handleYamlDirective"),
|
|
604
|
+
TAG: /* @__PURE__ */ e(function(e, t, n) {
|
|
605
|
+
var r, i;
|
|
606
|
+
n.length !== 2 && N(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], ot.test(r) || N(e, "ill-formed tag handle (first argument) of the TAG directive"), C.call(e.tagMap, r) && N(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), st.test(i) || N(e, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
607
|
+
try {
|
|
608
|
+
i = decodeURIComponent(i);
|
|
609
|
+
} catch {
|
|
610
|
+
N(e, "tag prefix is malformed: " + i);
|
|
611
|
+
}
|
|
612
|
+
e.tagMap[r] = i;
|
|
613
|
+
}, "handleTagDirective")
|
|
614
|
+
};
|
|
615
|
+
function F(e, t, n, r) {
|
|
616
|
+
var i, a, o, s;
|
|
617
|
+
if (t < n) {
|
|
618
|
+
if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || N(e, "expected valid JSON character");
|
|
619
|
+
else rt.test(s) && N(e, "the stream contains non-printable characters");
|
|
620
|
+
e.result += s;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
e(F, "captureSegment");
|
|
624
|
+
function yt(e, t, n, r) {
|
|
625
|
+
var i, a, o, c;
|
|
626
|
+
for (s.isObject(n) || N(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, c = i.length; o < c; o += 1) a = i[o], C.call(t, a) || (pt(t, a, n[a]), r[a] = !0);
|
|
627
|
+
}
|
|
628
|
+
e(yt, "mergeMappings");
|
|
629
|
+
function I(e, t, n, r, i, a, o, s, c) {
|
|
630
|
+
var l, u;
|
|
631
|
+
if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && N(e, "nested arrays are not supported inside keys"), typeof i == "object" && D(i[l]) === "[object Object]" && (i[l] = "[object Object]");
|
|
632
|
+
if (typeof i == "object" && D(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) yt(e, t, a[l], n);
|
|
633
|
+
else yt(e, t, a, n);
|
|
634
|
+
else !e.json && !C.call(n, i) && C.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, N(e, "duplicated mapping key")), pt(t, i, a), delete n[i];
|
|
635
|
+
return t;
|
|
636
|
+
}
|
|
637
|
+
e(I, "storeMappingPair");
|
|
638
|
+
function L(e) {
|
|
639
|
+
var t = e.input.charCodeAt(e.position);
|
|
640
|
+
t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : N(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
|
|
641
|
+
}
|
|
642
|
+
e(L, "readLineBreak");
|
|
643
|
+
function R(e, t, n) {
|
|
644
|
+
for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
|
|
645
|
+
for (; k(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
|
|
646
|
+
if (t && i === 35) do
|
|
647
|
+
i = e.input.charCodeAt(++e.position);
|
|
648
|
+
while (i !== 10 && i !== 13 && i !== 0);
|
|
649
|
+
if (O(i)) for (L(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
|
|
650
|
+
else break;
|
|
651
|
+
}
|
|
652
|
+
return n !== -1 && r !== 0 && e.lineIndent < n && P(e, "deficient indentation"), r;
|
|
653
|
+
}
|
|
654
|
+
e(R, "skipSeparationSpace");
|
|
655
|
+
function z(e) {
|
|
656
|
+
var t = e.position, n = e.input.charCodeAt(t);
|
|
657
|
+
return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || A(n)));
|
|
658
|
+
}
|
|
659
|
+
e(z, "testDocumentSeparator");
|
|
660
|
+
function B(e, t) {
|
|
661
|
+
t === 1 ? e.result += " " : t > 1 && (e.result += s.repeat("\n", t - 1));
|
|
662
|
+
}
|
|
663
|
+
e(B, "writeFoldedLines");
|
|
664
|
+
function bt(e, t, n) {
|
|
665
|
+
var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
|
|
666
|
+
if (A(p) || j(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i))) return !1;
|
|
667
|
+
for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
|
|
668
|
+
if (p === 58) {
|
|
669
|
+
if (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i)) break;
|
|
670
|
+
} else if (p === 35) {
|
|
671
|
+
if (r = e.input.charCodeAt(e.position - 1), A(r)) break;
|
|
672
|
+
} else if (e.position === e.lineStart && z(e) || n && j(p)) break;
|
|
673
|
+
else if (O(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, R(e, !1, -1), e.lineIndent >= t) {
|
|
674
|
+
s = !0, p = e.input.charCodeAt(e.position);
|
|
675
|
+
continue;
|
|
676
|
+
} else {
|
|
677
|
+
e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
|
|
678
|
+
break;
|
|
679
|
+
}
|
|
680
|
+
s &&= (F(e, a, o, !1), B(e, e.line - c), a = o = e.position, !1), k(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
|
|
681
|
+
}
|
|
682
|
+
return F(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
|
|
683
|
+
}
|
|
684
|
+
e(bt, "readPlainScalar");
|
|
685
|
+
function xt(e, t) {
|
|
686
|
+
var n = e.input.charCodeAt(e.position), r, i;
|
|
687
|
+
if (n !== 39) return !1;
|
|
688
|
+
for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (F(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
|
|
689
|
+
else return !0;
|
|
690
|
+
else O(n) ? (F(e, r, i, !0), B(e, R(e, !1, t)), r = i = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
|
|
691
|
+
N(e, "unexpected end of the stream within a single quoted scalar");
|
|
692
|
+
}
|
|
693
|
+
e(xt, "readSingleQuotedScalar");
|
|
694
|
+
function St(e, t) {
|
|
695
|
+
var n, r, i, a, o, s = e.input.charCodeAt(e.position);
|
|
696
|
+
if (s !== 34) return !1;
|
|
697
|
+
for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return F(e, n, e.position, !0), e.position++, !0;
|
|
698
|
+
else if (s === 92) {
|
|
699
|
+
if (F(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), O(s)) R(e, !1, t);
|
|
700
|
+
else if (s < 256 && mt[s]) e.result += ht[s], e.position++;
|
|
701
|
+
else if ((o = lt(s)) > 0) {
|
|
702
|
+
for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = ct(s)) >= 0 ? a = (a << 4) + o : N(e, "expected hexadecimal character");
|
|
703
|
+
e.result += ft(a), e.position++;
|
|
704
|
+
} else N(e, "unknown escape sequence");
|
|
705
|
+
n = r = e.position;
|
|
706
|
+
} else O(s) ? (F(e, n, r, !0), B(e, R(e, !1, t)), n = r = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
|
|
707
|
+
N(e, "unexpected end of the stream within a double quoted scalar");
|
|
708
|
+
}
|
|
709
|
+
e(St, "readDoubleQuotedScalar");
|
|
710
|
+
function Ct(e, t) {
|
|
711
|
+
var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = /* @__PURE__ */ Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
|
|
712
|
+
if (v === 91) u = 93, p = !1, s = [];
|
|
713
|
+
else if (v === 123) u = 125, p = !0, s = {};
|
|
714
|
+
else return !1;
|
|
715
|
+
for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
|
|
716
|
+
if (R(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
|
|
717
|
+
n ? v === 44 && N(e, "expected the node content, but found ','") : N(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), A(l) && (d = f = !0, e.position++, R(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, V(e, t, w, !1, !0), g = e.tag, h = e.result, R(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), R(e, !0, t), V(e, t, w, !1, !0), _ = e.result), p ? I(e, s, m, g, h, _, r, i, a) : d ? s.push(I(e, null, m, g, h, _, r, i, a)) : s.push(h), R(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
|
|
718
|
+
}
|
|
719
|
+
N(e, "unexpected end of the stream within a flow collection");
|
|
720
|
+
}
|
|
721
|
+
e(Ct, "readFlowCollection");
|
|
722
|
+
function wt(e, t) {
|
|
723
|
+
var n, r, i = E, a = !1, o = !1, c = t, l = 0, u = !1, d, f = e.input.charCodeAt(e.position);
|
|
724
|
+
if (f === 124) r = !1;
|
|
725
|
+
else if (f === 62) r = !0;
|
|
726
|
+
else return !1;
|
|
727
|
+
for (e.kind = "scalar", e.result = ""; f !== 0;) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) E === i ? i = f === 43 ? nt : tt : N(e, "repeat of a chomping mode identifier");
|
|
728
|
+
else if ((d = ut(f)) >= 0) d === 0 ? N(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? N(e, "repeat of an indentation width identifier") : (c = t + d - 1, o = !0);
|
|
729
|
+
else break;
|
|
730
|
+
if (k(f)) {
|
|
731
|
+
do
|
|
732
|
+
f = e.input.charCodeAt(++e.position);
|
|
733
|
+
while (k(f));
|
|
734
|
+
if (f === 35) do
|
|
735
|
+
f = e.input.charCodeAt(++e.position);
|
|
736
|
+
while (!O(f) && f !== 0);
|
|
737
|
+
}
|
|
738
|
+
for (; f !== 0;) {
|
|
739
|
+
for (L(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!o || e.lineIndent < c) && f === 32;) e.lineIndent++, f = e.input.charCodeAt(++e.position);
|
|
740
|
+
if (!o && e.lineIndent > c && (c = e.lineIndent), O(f)) {
|
|
741
|
+
l++;
|
|
742
|
+
continue;
|
|
743
|
+
}
|
|
744
|
+
if (e.lineIndent < c) {
|
|
745
|
+
i === nt ? e.result += s.repeat("\n", a ? 1 + l : l) : i === E && a && (e.result += "\n");
|
|
746
|
+
break;
|
|
747
|
+
}
|
|
748
|
+
for (r ? k(f) ? (u = !0, e.result += s.repeat("\n", a ? 1 + l : l)) : u ? (u = !1, e.result += s.repeat("\n", l + 1)) : l === 0 ? a && (e.result += " ") : e.result += s.repeat("\n", l) : e.result += s.repeat("\n", a ? 1 + l : l), a = !0, o = !0, l = 0, n = e.position; !O(f) && f !== 0;) f = e.input.charCodeAt(++e.position);
|
|
749
|
+
F(e, n, e.position, !1);
|
|
750
|
+
}
|
|
751
|
+
return !0;
|
|
752
|
+
}
|
|
753
|
+
e(wt, "readBlockScalar");
|
|
754
|
+
function Tt(e, t) {
|
|
755
|
+
var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
|
|
756
|
+
if (e.firstTabInLine !== -1) return !1;
|
|
757
|
+
for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !A(o))));) {
|
|
758
|
+
if (s = !0, e.position++, R(e, !0, -1) && e.lineIndent <= t) {
|
|
759
|
+
a.push(null), c = e.input.charCodeAt(e.position);
|
|
760
|
+
continue;
|
|
761
|
+
}
|
|
762
|
+
if (n = e.line, V(e, t, et, !1, !0), a.push(e.result), R(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) N(e, "bad indentation of a sequence entry");
|
|
763
|
+
else if (e.lineIndent < t) break;
|
|
764
|
+
}
|
|
765
|
+
return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
|
|
766
|
+
}
|
|
767
|
+
e(Tt, "readBlockSequence");
|
|
768
|
+
function Et(e, t, n) {
|
|
769
|
+
var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = /* @__PURE__ */ Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
|
|
770
|
+
if (e.firstTabInLine !== -1) return !1;
|
|
771
|
+
for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
|
|
772
|
+
if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && A(r)) v === 63 ? (g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : N(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
|
|
773
|
+
else {
|
|
774
|
+
if (o = e.line, s = e.lineStart, c = e.position, !V(e, n, $e, !1, !0)) break;
|
|
775
|
+
if (e.line === a) {
|
|
776
|
+
for (v = e.input.charCodeAt(e.position); k(v);) v = e.input.charCodeAt(++e.position);
|
|
777
|
+
if (v === 58) v = e.input.charCodeAt(++e.position), A(v) || N(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
|
|
778
|
+
else if (_) N(e, "can not read an implicit mapping pair; a colon is missed");
|
|
779
|
+
else return e.tag = l, e.anchor = u, !0;
|
|
780
|
+
} else if (_) N(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
781
|
+
else return e.tag = l, e.anchor = u, !0;
|
|
782
|
+
}
|
|
783
|
+
if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), V(e, t, T, !0, i) && (g ? m = e.result : h = e.result), g || (I(e, d, f, p, m, h, o, s, c), p = m = h = null), R(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) N(e, "bad indentation of a mapping entry");
|
|
784
|
+
else if (e.lineIndent < t) break;
|
|
785
|
+
}
|
|
786
|
+
return g && I(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
|
|
787
|
+
}
|
|
788
|
+
e(Et, "readBlockMapping");
|
|
789
|
+
function Dt(e) {
|
|
790
|
+
var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
|
|
791
|
+
if (o !== 33) return !1;
|
|
792
|
+
if (e.tag !== null && N(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
|
|
793
|
+
do
|
|
794
|
+
o = e.input.charCodeAt(++e.position);
|
|
795
|
+
while (o !== 0 && o !== 62);
|
|
796
|
+
e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : N(e, "unexpected end of the stream within a verbatim tag");
|
|
797
|
+
} else {
|
|
798
|
+
for (; o !== 0 && !A(o);) o === 33 && (r ? N(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), ot.test(i) || N(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
|
|
799
|
+
a = e.input.slice(t, e.position), at.test(a) && N(e, "tag suffix cannot contain flow indicator characters");
|
|
800
|
+
}
|
|
801
|
+
a && !st.test(a) && N(e, "tag name cannot contain such characters: " + a);
|
|
802
|
+
try {
|
|
803
|
+
a = decodeURIComponent(a);
|
|
804
|
+
} catch {
|
|
805
|
+
N(e, "tag name is malformed: " + a);
|
|
806
|
+
}
|
|
807
|
+
return n ? e.tag = a : C.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : N(e, "undeclared tag handle \"" + i + "\""), !0;
|
|
808
|
+
}
|
|
809
|
+
e(Dt, "readTagProperty");
|
|
810
|
+
function Ot(e) {
|
|
811
|
+
var t, n = e.input.charCodeAt(e.position);
|
|
812
|
+
if (n !== 38) return !1;
|
|
813
|
+
for (e.anchor !== null && N(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !A(n) && !j(n);) n = e.input.charCodeAt(++e.position);
|
|
814
|
+
return e.position === t && N(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
815
|
+
}
|
|
816
|
+
e(Ot, "readAnchorProperty");
|
|
817
|
+
function kt(e) {
|
|
818
|
+
var t, n, r = e.input.charCodeAt(e.position);
|
|
819
|
+
if (r !== 42) return !1;
|
|
820
|
+
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !A(r) && !j(r);) r = e.input.charCodeAt(++e.position);
|
|
821
|
+
return e.position === t && N(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), C.call(e.anchorMap, n) || N(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], R(e, !0, -1), !0;
|
|
822
|
+
}
|
|
823
|
+
e(kt, "readAlias");
|
|
824
|
+
function V(e, t, n, r, i) {
|
|
825
|
+
var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
|
|
826
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = T === n || et === n, r && R(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Dt(e) || Ot(e);) R(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
|
|
827
|
+
if (s &&= l || i, (c === 1 || T === n) && (h = w === n || $e === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Tt(e, g) || Et(e, g, h)) || Ct(e, h) ? u = !0 : (o && wt(e, h) || xt(e, h) || St(e, h) ? u = !0 : kt(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && N(e, "alias node should not have any properties")) : bt(e, h, w === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Tt(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
828
|
+
else if (e.tag === "?") {
|
|
829
|
+
for (e.result !== null && e.kind !== "scalar" && N(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
|
|
830
|
+
e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
831
|
+
break;
|
|
832
|
+
}
|
|
833
|
+
} else if (e.tag !== "!") {
|
|
834
|
+
if (C.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
|
|
835
|
+
else for (m = null, p = e.typeMap.multi[e.kind || "fallback"], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
|
|
836
|
+
m = p[d];
|
|
837
|
+
break;
|
|
838
|
+
}
|
|
839
|
+
m || N(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && N(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + m.kind + "\", not \"" + e.kind + "\""), m.resolve(e.result, e.tag) ? (e.result = m.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : N(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
|
|
840
|
+
}
|
|
841
|
+
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
|
|
842
|
+
}
|
|
843
|
+
e(V, "composeNode");
|
|
844
|
+
function At(e) {
|
|
845
|
+
var t = e.position, n, r, i, a = !1, o;
|
|
846
|
+
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (R(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
|
|
847
|
+
for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
|
|
848
|
+
for (r = e.input.slice(n, e.position), i = [], r.length < 1 && N(e, "directive name must not be less than one character in length"); o !== 0;) {
|
|
849
|
+
for (; k(o);) o = e.input.charCodeAt(++e.position);
|
|
850
|
+
if (o === 35) {
|
|
851
|
+
do
|
|
852
|
+
o = e.input.charCodeAt(++e.position);
|
|
853
|
+
while (o !== 0 && !O(o));
|
|
854
|
+
break;
|
|
855
|
+
}
|
|
856
|
+
if (O(o)) break;
|
|
857
|
+
for (n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
|
|
858
|
+
i.push(e.input.slice(n, e.position));
|
|
859
|
+
}
|
|
860
|
+
o !== 0 && L(e), C.call(vt, r) ? vt[r](e, r, i) : P(e, "unknown document directive \"" + r + "\"");
|
|
861
|
+
}
|
|
862
|
+
if (R(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, R(e, !0, -1)) : a && N(e, "directives end mark is expected"), V(e, e.lineIndent - 1, T, !1, !0), R(e, !0, -1), e.checkLineBreaks && it.test(e.input.slice(t, e.position)) && P(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && z(e)) {
|
|
863
|
+
e.input.charCodeAt(e.position) === 46 && (e.position += 3, R(e, !0, -1));
|
|
864
|
+
return;
|
|
865
|
+
}
|
|
866
|
+
if (e.position < e.length - 1) N(e, "end of the stream or a document separator is expected");
|
|
867
|
+
else return;
|
|
868
|
+
}
|
|
869
|
+
e(At, "readDocument");
|
|
870
|
+
function jt(e, t) {
|
|
871
|
+
e = String(e), t ||= {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
872
|
+
var n = new gt(e, t), r = e.indexOf("\0");
|
|
873
|
+
for (r !== -1 && (n.position = r, N(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
|
|
874
|
+
for (; n.position < n.length - 1;) At(n);
|
|
875
|
+
return n.documents;
|
|
876
|
+
}
|
|
877
|
+
e(jt, "loadDocuments");
|
|
878
|
+
function Mt(e, t, n) {
|
|
879
|
+
typeof t == "object" && t && n === void 0 && (n = t, t = null);
|
|
880
|
+
var r = jt(e, n);
|
|
881
|
+
if (typeof t != "function") return r;
|
|
882
|
+
for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
|
|
883
|
+
}
|
|
884
|
+
e(Mt, "loadAll$1");
|
|
885
|
+
function Nt(e, t) {
|
|
886
|
+
var n = jt(e, t);
|
|
887
|
+
if (n.length !== 0) {
|
|
888
|
+
if (n.length === 1) return n[0];
|
|
889
|
+
throw new u("expected a single document in the stream, but found more");
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
e(Nt, "load$1");
|
|
893
|
+
var Pt = {
|
|
894
|
+
loadAll: Mt,
|
|
895
|
+
load: Nt
|
|
896
|
+
}, Ft = Object.prototype.toString, It = Object.prototype.hasOwnProperty, Lt = 65279, Rt = 9, H = 10, zt = 13, Bt = 32, Vt = 33, Ht = 34, Ut = 35, Wt = 37, Gt = 38, Kt = 39, qt = 42, Jt = 44, Yt = 45, U = 58, Xt = 61, Zt = 62, Qt = 63, $t = 64, en = 91, tn = 93, nn = 96, rn = 123, an = 124, on = 125, W = {};
|
|
897
|
+
W[0] = "\\0", W[7] = "\\a", W[8] = "\\b", W[9] = "\\t", W[10] = "\\n", W[11] = "\\v", W[12] = "\\f", W[13] = "\\r", W[27] = "\\e", W[34] = "\\\"", W[92] = "\\\\", W[133] = "\\N", W[160] = "\\_", W[8232] = "\\L", W[8233] = "\\P";
|
|
898
|
+
var sn = [
|
|
899
|
+
"y",
|
|
900
|
+
"Y",
|
|
901
|
+
"yes",
|
|
902
|
+
"Yes",
|
|
903
|
+
"YES",
|
|
904
|
+
"on",
|
|
905
|
+
"On",
|
|
906
|
+
"ON",
|
|
907
|
+
"n",
|
|
908
|
+
"N",
|
|
909
|
+
"no",
|
|
910
|
+
"No",
|
|
911
|
+
"NO",
|
|
912
|
+
"off",
|
|
913
|
+
"Off",
|
|
914
|
+
"OFF"
|
|
915
|
+
], cn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
916
|
+
function ln(e, t) {
|
|
917
|
+
var n, r, i, a, o, s, c;
|
|
918
|
+
if (t === null) return {};
|
|
919
|
+
for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && It.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
|
|
920
|
+
return n;
|
|
921
|
+
}
|
|
922
|
+
e(ln, "compileStyleMap");
|
|
923
|
+
function un(e) {
|
|
924
|
+
var t = e.toString(16).toUpperCase(), n, r;
|
|
925
|
+
if (e <= 255) n = "x", r = 2;
|
|
926
|
+
else if (e <= 65535) n = "u", r = 4;
|
|
927
|
+
else if (e <= 4294967295) n = "U", r = 8;
|
|
928
|
+
else throw new u("code point within a string may not be greater than 0xFFFFFFFF");
|
|
929
|
+
return "\\" + n + s.repeat("0", r - t.length) + t;
|
|
930
|
+
}
|
|
931
|
+
e(un, "encodeHex");
|
|
932
|
+
var dn = 1, G = 2;
|
|
933
|
+
function fn(e) {
|
|
934
|
+
this.schema = e.schema || Qe, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = s.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ln(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? G : dn, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
935
|
+
}
|
|
936
|
+
e(fn, "State");
|
|
937
|
+
function pn(e, t) {
|
|
938
|
+
for (var n = s.repeat(" ", t), r = 0, i = -1, a = "", o, c = e.length; r < c;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = c) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
|
|
939
|
+
return a;
|
|
940
|
+
}
|
|
941
|
+
e(pn, "indentString");
|
|
942
|
+
function K(e, t) {
|
|
943
|
+
return "\n" + s.repeat(" ", e.indent * t);
|
|
944
|
+
}
|
|
945
|
+
e(K, "generateNextLine");
|
|
946
|
+
function mn(e, t) {
|
|
947
|
+
var n, r, i;
|
|
948
|
+
for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
|
|
949
|
+
return !1;
|
|
950
|
+
}
|
|
951
|
+
e(mn, "testImplicitResolving");
|
|
952
|
+
function q(e) {
|
|
953
|
+
return e === Bt || e === Rt;
|
|
954
|
+
}
|
|
955
|
+
e(q, "isWhitespace");
|
|
956
|
+
function J(e) {
|
|
957
|
+
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Lt || 65536 <= e && e <= 1114111;
|
|
958
|
+
}
|
|
959
|
+
e(J, "isPrintable");
|
|
960
|
+
function hn(e) {
|
|
961
|
+
return J(e) && e !== Lt && e !== zt && e !== H;
|
|
962
|
+
}
|
|
963
|
+
e(hn, "isNsCharOrWhitespace");
|
|
964
|
+
function gn(e, t, n) {
|
|
965
|
+
var r = hn(e), i = r && !q(e);
|
|
966
|
+
return (n ? r : r && e !== Jt && e !== en && e !== tn && e !== rn && e !== on) && e !== Ut && !(t === U && !i) || hn(t) && !q(t) && e === Ut || t === U && i;
|
|
967
|
+
}
|
|
968
|
+
e(gn, "isPlainSafe");
|
|
969
|
+
function _n(e) {
|
|
970
|
+
return J(e) && e !== Lt && !q(e) && e !== Yt && e !== Qt && e !== U && e !== Jt && e !== en && e !== tn && e !== rn && e !== on && e !== Ut && e !== Gt && e !== qt && e !== Vt && e !== an && e !== Xt && e !== Zt && e !== Kt && e !== Ht && e !== Wt && e !== $t && e !== nn;
|
|
971
|
+
}
|
|
972
|
+
e(_n, "isPlainSafeFirst");
|
|
973
|
+
function vn(e) {
|
|
974
|
+
return !q(e) && e !== U;
|
|
975
|
+
}
|
|
976
|
+
e(vn, "isPlainSafeLast");
|
|
977
|
+
function Y(e, t) {
|
|
978
|
+
var n = e.charCodeAt(t), r;
|
|
979
|
+
return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
|
|
980
|
+
}
|
|
981
|
+
e(Y, "codePointAt");
|
|
982
|
+
function yn(e) {
|
|
983
|
+
return /^\n* /.test(e);
|
|
984
|
+
}
|
|
985
|
+
e(yn, "needIndentIndicator");
|
|
986
|
+
var bn = 1, xn = 2, Sn = 3, Cn = 4, X = 5;
|
|
987
|
+
function wn(e, t, n, r, i, a, o, s) {
|
|
988
|
+
var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = _n(Y(e, 0)) && vn(Y(e, e.length - 1));
|
|
989
|
+
if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
|
|
990
|
+
if (l = Y(e, c), !J(l)) return X;
|
|
991
|
+
h &&= gn(l, u, s), u = l;
|
|
992
|
+
}
|
|
993
|
+
else {
|
|
994
|
+
for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
|
|
995
|
+
if (l = Y(e, c), l === H) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== " ", m = c);
|
|
996
|
+
else if (!J(l)) return X;
|
|
997
|
+
h &&= gn(l, u, s), u = l;
|
|
998
|
+
}
|
|
999
|
+
f ||= p && c - m - 1 > r && e[m + 1] !== " ";
|
|
1000
|
+
}
|
|
1001
|
+
return !d && !f ? h && !o && !i(e) ? bn : a === G ? X : xn : n > 9 && yn(e) ? X : o ? a === G ? X : xn : f ? Cn : Sn;
|
|
1002
|
+
}
|
|
1003
|
+
e(wn, "chooseScalarStyle");
|
|
1004
|
+
function Tn(t, n, r, i, a) {
|
|
1005
|
+
t.dump = (function() {
|
|
1006
|
+
if (n.length === 0) return t.quotingType === G ? "\"\"" : "''";
|
|
1007
|
+
if (!t.noCompatMode && (sn.indexOf(n) !== -1 || cn.test(n))) return t.quotingType === G ? "\"" + n + "\"" : "'" + n + "'";
|
|
1008
|
+
var o = t.indent * Math.max(1, r), s = t.lineWidth === -1 ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - o), c = i || t.flowLevel > -1 && r >= t.flowLevel;
|
|
1009
|
+
function l(e) {
|
|
1010
|
+
return mn(t, e);
|
|
1011
|
+
}
|
|
1012
|
+
switch (e(l, "testAmbiguity"), wn(n, c, t.indent, s, l, t.quotingType, t.forceQuotes && !i, a)) {
|
|
1013
|
+
case bn: return n;
|
|
1014
|
+
case xn: return "'" + n.replace(/'/g, "''") + "'";
|
|
1015
|
+
case Sn: return "|" + En(n, t.indent) + Dn(pn(n, o));
|
|
1016
|
+
case Cn: return ">" + En(n, t.indent) + Dn(pn(On(n, s), o));
|
|
1017
|
+
case X: return "\"" + An(n) + "\"";
|
|
1018
|
+
default: throw new u("impossible error: invalid scalar style");
|
|
1019
|
+
}
|
|
1020
|
+
})();
|
|
1021
|
+
}
|
|
1022
|
+
e(Tn, "writeScalar");
|
|
1023
|
+
function En(e, t) {
|
|
1024
|
+
var n = yn(e) ? String(t) : "", r = e[e.length - 1] === "\n";
|
|
1025
|
+
return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
|
|
1026
|
+
}
|
|
1027
|
+
e(En, "blockHeader");
|
|
1028
|
+
function Dn(e) {
|
|
1029
|
+
return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
|
|
1030
|
+
}
|
|
1031
|
+
e(Dn, "dropEndingNewline");
|
|
1032
|
+
function On(e, t) {
|
|
1033
|
+
for (var n = /(\n+)([^\n]*)/g, r = (function() {
|
|
1034
|
+
var r = e.indexOf("\n");
|
|
1035
|
+
return r = r === -1 ? e.length : r, n.lastIndex = r, kn(e.slice(0, r), t);
|
|
1036
|
+
})(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
|
|
1037
|
+
var s = o[1], c = o[2];
|
|
1038
|
+
a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + kn(c, t), i = a;
|
|
1039
|
+
}
|
|
1040
|
+
return r;
|
|
1041
|
+
}
|
|
1042
|
+
e(On, "foldString");
|
|
1043
|
+
function kn(e, t) {
|
|
1044
|
+
if (e === "" || e[0] === " ") return e;
|
|
1045
|
+
for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ""; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += "\n" + e.slice(i, a), i = a + 1), o = s;
|
|
1046
|
+
return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
|
|
1047
|
+
}
|
|
1048
|
+
e(kn, "foldLine");
|
|
1049
|
+
function An(e) {
|
|
1050
|
+
for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = Y(e, i), r = W[n], !r && J(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || un(n);
|
|
1051
|
+
return t;
|
|
1052
|
+
}
|
|
1053
|
+
e(An, "escapeString");
|
|
1054
|
+
function jn(e, t, n) {
|
|
1055
|
+
var r = "", i = e.tag, a, o, s;
|
|
1056
|
+
for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (Q(e, t, s, !1, !1) || s === void 0 && Q(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
1057
|
+
e.tag = i, e.dump = "[" + r + "]";
|
|
1058
|
+
}
|
|
1059
|
+
e(jn, "writeFlowSequence");
|
|
1060
|
+
function Mn(e, t, n, r) {
|
|
1061
|
+
var i = "", a = e.tag, o, s, c;
|
|
1062
|
+
for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Q(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && Q(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += K(e, t)), e.dump && H === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
|
|
1063
|
+
e.tag = a, e.dump = i || "[]";
|
|
1064
|
+
}
|
|
1065
|
+
e(Mn, "writeBlockSequence");
|
|
1066
|
+
function Nn(e, t, n) {
|
|
1067
|
+
var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
|
|
1068
|
+
for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), Q(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), Q(e, t, l, !1, !1) && (u += e.dump, r += u));
|
|
1069
|
+
e.tag = i, e.dump = "{" + r + "}";
|
|
1070
|
+
}
|
|
1071
|
+
e(Nn, "writeFlowMapping");
|
|
1072
|
+
function Pn(e, t, n, r) {
|
|
1073
|
+
var i = "", a = e.tag, o = Object.keys(n), s, c, l, d, f, p;
|
|
1074
|
+
if (e.sortKeys === !0) o.sort();
|
|
1075
|
+
else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
|
|
1076
|
+
else if (e.sortKeys) throw new u("sortKeys must be a boolean or a function");
|
|
1077
|
+
for (s = 0, c = o.length; s < c; s += 1) p = "", (!r || i !== "") && (p += K(e, t)), l = o[s], d = n[l], e.replacer && (d = e.replacer.call(n, l, d)), Q(e, t + 1, l, !0, !0, !0) && (f = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, f && (e.dump && H === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, f && (p += K(e, t)), Q(e, t + 1, d, !0, f) && (e.dump && H === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
|
|
1078
|
+
e.tag = a, e.dump = i || "{}";
|
|
1079
|
+
}
|
|
1080
|
+
e(Pn, "writeBlockMapping");
|
|
1081
|
+
function Z(e, t, n) {
|
|
1082
|
+
var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
|
|
1083
|
+
for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
|
|
1084
|
+
if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
|
|
1085
|
+
if (c = e.styleMap[s.tag] || s.defaultStyle, Ft.call(s.represent) === "[object Function]") r = s.represent(t, c);
|
|
1086
|
+
else if (It.call(s.represent, c)) r = s.represent[c](t, c);
|
|
1087
|
+
else throw new u("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
|
|
1088
|
+
e.dump = r;
|
|
1089
|
+
}
|
|
1090
|
+
return !0;
|
|
1091
|
+
}
|
|
1092
|
+
return !1;
|
|
1093
|
+
}
|
|
1094
|
+
e(Z, "detectType");
|
|
1095
|
+
function Q(e, t, n, r, i, a, o) {
|
|
1096
|
+
e.tag = null, e.dump = n, Z(e, n, !1) || Z(e, n, !0);
|
|
1097
|
+
var s = Ft.call(e.dump), c = r, l;
|
|
1098
|
+
r &&= e.flowLevel < 0 || e.flowLevel > t;
|
|
1099
|
+
var d = s === "[object Object]" || s === "[object Array]", f, p;
|
|
1100
|
+
if (d && (f = e.duplicates.indexOf(n), p = f !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (i = !1), p && e.usedDuplicates[f]) e.dump = "*ref_" + f;
|
|
1101
|
+
else {
|
|
1102
|
+
if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Pn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (Nn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
|
|
1103
|
+
else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Mn(e, t - 1, e.dump, i) : Mn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (jn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
|
|
1104
|
+
else if (s === "[object String]") e.tag !== "?" && Tn(e, e.dump, t, a, c);
|
|
1105
|
+
else if (s === "[object Undefined]") return !1;
|
|
1106
|
+
else {
|
|
1107
|
+
if (e.skipInvalid) return !1;
|
|
1108
|
+
throw new u("unacceptable kind of an object to dump " + s);
|
|
1109
|
+
}
|
|
1110
|
+
e.tag !== null && e.tag !== "?" && (l = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), l = e.tag[0] === "!" ? "!" + l : l.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + l.slice(18) : "!<" + l + ">", e.dump = l + " " + e.dump);
|
|
1111
|
+
}
|
|
1112
|
+
return !0;
|
|
1113
|
+
}
|
|
1114
|
+
e(Q, "writeNode");
|
|
1115
|
+
function Fn(e, t) {
|
|
1116
|
+
var n = [], r = [], i, a;
|
|
1117
|
+
for ($(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
|
|
1118
|
+
t.usedDuplicates = Array(a);
|
|
1119
|
+
}
|
|
1120
|
+
e(Fn, "getDuplicateReferences");
|
|
1121
|
+
function $(e, t, n) {
|
|
1122
|
+
var r, i, a;
|
|
1123
|
+
if (typeof e == "object" && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
|
|
1124
|
+
else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) $(e[i], t, n);
|
|
1125
|
+
else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) $(e[r[i]], t, n);
|
|
1126
|
+
}
|
|
1127
|
+
e($, "inspectNode");
|
|
1128
|
+
function In(e, t) {
|
|
1129
|
+
t ||= {};
|
|
1130
|
+
var n = new fn(t);
|
|
1131
|
+
n.noRefs || Fn(e, n);
|
|
1132
|
+
var r = e;
|
|
1133
|
+
return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Q(n, 0, r, !0, !0) ? n.dump + "\n" : "";
|
|
1134
|
+
}
|
|
1135
|
+
e(In, "dump$1");
|
|
1136
|
+
var Ln = { dump: In };
|
|
1137
|
+
function Rn(e, t) {
|
|
1138
|
+
return function() {
|
|
1139
|
+
throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
e(Rn, "renamed");
|
|
1143
|
+
var zn = we, Bn = Pt.load;
|
|
1144
|
+
Pt.loadAll, Ln.dump;
|
|
1145
|
+
//#endregion
|
|
1146
|
+
export { Bn as n, zn as t };
|