@vc-shell/framework 1.1.46 → 1.1.47

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.
Files changed (360) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/core/plugins/modularity/loader.ts +126 -97
  3. package/dist/assets/042c75b764bc78a7.svg +1 -0
  4. package/dist/assets/0ba156439a339f2a.svg +1 -0
  5. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  6. package/dist/assets/0f590f8a94577092.svg +1 -0
  7. package/dist/assets/0fc5820f8be53a1b.svg +1 -0
  8. package/dist/assets/10768e2cc79fc60b.svg +1 -0
  9. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  10. package/dist/assets/157b8721e0600ea8.svg +1 -0
  11. package/dist/assets/15e91cdd649cde9a.svg +1 -0
  12. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  13. package/dist/assets/1de63eb118636cce.svg +1 -0
  14. package/dist/assets/1ea01de36eb5491b.svg +1 -0
  15. package/dist/assets/204eaf512fde2023.svg +1 -0
  16. package/dist/assets/2088983edf42e153.svg +1 -0
  17. package/dist/assets/208f810a9321a327.svg +1 -0
  18. package/dist/assets/21220a9d10e6c558.svg +1 -0
  19. package/dist/assets/220db345a102045d.woff2 +0 -0
  20. package/dist/assets/225da11d23968333.svg +1 -0
  21. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  22. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  23. package/dist/assets/259e6ad461a52ad7.svg +1 -0
  24. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  25. package/dist/assets/262f46a0b6d94bb6.svg +1 -0
  26. package/dist/assets/2857c513073467da.svg +1 -0
  27. package/dist/assets/2b3be7889467d98f.woff +0 -0
  28. package/dist/assets/2d4e6190eec72737.svg +1 -0
  29. package/dist/assets/2eba973185078bc8.woff +0 -0
  30. package/dist/assets/327511cd4a7ba7f9.woff +0 -0
  31. package/dist/assets/334d3f6bc766c516.woff +0 -0
  32. package/dist/assets/34ff7dd0c2285956.svg +1 -0
  33. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  34. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  35. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  36. package/dist/assets/41275bcb979cb650.svg +1 -0
  37. package/dist/assets/42df4e2d6fa3fd2a.woff2 +0 -0
  38. package/dist/assets/434f7982590e462f.woff +0 -0
  39. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  40. package/dist/assets/4d7a77b0e5373992.svg +1 -0
  41. package/dist/assets/4e43c74354534fb3.svg +1 -0
  42. package/dist/assets/4fe75f5117100705.svg +1 -0
  43. package/dist/assets/52610491f372cb0c.woff2 +0 -0
  44. package/dist/assets/52e261a005074e1b.woff +0 -0
  45. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  46. package/dist/assets/572bb1bb4156a9c1.svg +1 -0
  47. package/dist/assets/5b3661be8be679d0.woff2 +0 -0
  48. package/dist/assets/5d96cfcc5bedd917.woff2 +0 -0
  49. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  50. package/dist/assets/617c4736236e199e.woff +0 -0
  51. package/dist/assets/6619e9e10beea0e7.woff2 +0 -0
  52. package/dist/assets/67230f05dc94a265.svg +1 -0
  53. package/dist/assets/6798e4dd4add9b48.svg +1 -0
  54. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  55. package/dist/assets/6a3e73faf406cf33.svg +1 -0
  56. package/dist/assets/72de3a63bc0b70dd.svg +1 -0
  57. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  58. package/dist/assets/74ed5f8a78e71106.svg +1 -0
  59. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  60. package/dist/assets/7d55399c2a7bc985.svg +1 -0
  61. package/dist/assets/7d970675c69fca1d.woff +0 -0
  62. package/dist/assets/7eda727273fd98d3.svg +1 -0
  63. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  64. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  65. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  66. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  67. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  68. package/dist/assets/910b0d99b9e26568.svg +1 -0
  69. package/dist/assets/91eee1aa81f72683.woff +0 -0
  70. package/dist/assets/92508f8707159b51.svg +1 -0
  71. package/dist/assets/9392bf1d591e1abb.svg +1 -0
  72. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  73. package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
  74. package/dist/assets/9d37314695c0b68d.woff +0 -0
  75. package/dist/assets/a18404194e3f9047.svg +1 -0
  76. package/dist/assets/a2017fe7f0a26510.svg +1 -0
  77. package/dist/assets/a47034e65dbcc3d7.woff +0 -0
  78. package/dist/assets/a617e11804bbacb7.woff +0 -0
  79. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  80. package/dist/assets/abf88f301a0730f4.svg +1 -0
  81. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  82. package/dist/assets/b1a596e31ad1185a.svg +1 -0
  83. package/dist/assets/b27767411c8427be.woff +0 -0
  84. package/dist/assets/b291dc35a17511f7.woff +0 -0
  85. package/dist/assets/b325adcae33bbe7a.svg +1 -0
  86. package/dist/assets/b372390551ca2fa1.svg +1 -0
  87. package/dist/assets/b5bb1e8fc975decd.svg +1 -0
  88. package/dist/assets/b645a4a2181b9dc1.svg +1 -0
  89. package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
  90. package/dist/assets/b94421fadd23b0f2.svg +1 -0
  91. package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
  92. package/dist/assets/bfbe205759295eca.woff2 +0 -0
  93. package/dist/assets/ca791c5ca5848a03.svg +1 -0
  94. package/dist/assets/cb32840ce330103f.woff +0 -0
  95. package/dist/assets/d084bda16abe8a56.svg +1 -0
  96. package/dist/assets/d32b129cae2fffd6.svg +1 -0
  97. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  98. package/dist/assets/d3f792f54ae4c307.svg +1 -0
  99. package/dist/assets/d5a5b8630120073d.svg +1 -0
  100. package/dist/assets/d5f9664ebbfb104b.svg +1 -0
  101. package/dist/assets/d80b05788e407de7.woff2 +0 -0
  102. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  103. package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
  104. package/dist/assets/e38acaa1757232e0.svg +1 -0
  105. package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
  106. package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
  107. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  108. package/dist/assets/e72bb11356af94c7.svg +1 -0
  109. package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
  110. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  111. package/dist/assets/f09d89268e4c0317.svg +1 -0
  112. package/dist/assets/f276d55184e05a07.woff +0 -0
  113. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  114. package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
  115. package/dist/assets/fcb1c1ffb5640194.woff +0 -0
  116. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  117. package/dist/assets/fed13b0d59903483.svg +1 -0
  118. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  119. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  120. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  121. package/dist/framework.js +16544 -25878
  122. package/dist/index.css +1 -1
  123. package/dist/index.d.ts +5 -8
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/tsconfig.tsbuildinfo +1 -1
  126. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  127. package/dist/vendor-boolbase-Bgn9I6iN.js +21 -0
  128. package/dist/vendor-cheerio-CleDsuQZ.js +1053 -0
  129. package/dist/vendor-cheerio-select-CVkYl3Z-.js +191 -0
  130. package/dist/vendor-css-select-CtIzVIiG.js +622 -0
  131. package/dist/vendor-css-what-CZZaquJM.js +267 -0
  132. package/dist/vendor-cypress-signalr-mock-CdKwIhWw.js +769 -0
  133. package/dist/vendor-date-fns-CdFbeoHV.js +2989 -0
  134. package/dist/vendor-dom-serializer-CugO0RdN.js +213 -0
  135. package/dist/vendor-dom7-wvIUV9pT.js +529 -0
  136. package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
  137. package/dist/vendor-domhandler-CL40eeX9.js +311 -0
  138. package/dist/vendor-dompurify-eYFoHPwR.js +528 -0
  139. package/dist/vendor-domutils-D3Y2YQFR.js +386 -0
  140. package/dist/vendor-entities-v26HW8wW.js +363 -0
  141. package/dist/vendor-floating-ui-core-C9uEvi1M.js +349 -0
  142. package/dist/vendor-floating-ui-dom-CZkYGmv4.js +393 -0
  143. package/dist/vendor-floating-ui-utils-Bx3BTd6_.js +259 -0
  144. package/dist/vendor-floating-ui-vue-CLOiVYP7.js +107 -0
  145. package/dist/vendor-headlessui-vue-Dg0Llidi.js +961 -0
  146. package/dist/vendor-htmlparser2-CXL_uhMI.js +735 -0
  147. package/dist/vendor-iconify-vue-D4fihzvl.js +1205 -0
  148. package/dist/vendor-intlify-core-base-Bvt2vJFV.js +1129 -0
  149. package/dist/vendor-intlify-message-compiler-1VxNzq21.js +945 -0
  150. package/dist/vendor-intlify-shared-D7kiPMOG.js +130 -0
  151. package/dist/vendor-iso-639-1-dVGfSUIM.js +781 -0
  152. package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
  153. package/dist/vendor-linkifyjs-DTu7SY_Y.js +705 -0
  154. package/dist/vendor-lodash-es-CrYlgAi8.js +4816 -0
  155. package/dist/vendor-markdown-it-4AJoRTAg.js +2263 -0
  156. package/dist/vendor-markdown-it-task-lists-Byg1-ms9.js +69 -0
  157. package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
  158. package/dist/vendor-microsoft-applicationinsights-analytics-js-DA-ctcAL.js +1105 -0
  159. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-COfRj-2q.js +261 -0
  160. package/dist/vendor-microsoft-applicationinsights-channel-js-MTPYhH-I.js +1809 -0
  161. package/dist/vendor-microsoft-applicationinsights-common-CDVnJ6MR.js +1921 -0
  162. package/dist/vendor-microsoft-applicationinsights-core-js-D7Aicf8S.js +4127 -0
  163. package/dist/vendor-microsoft-applicationinsights-dependencies-js-CvQWWraU.js +1399 -0
  164. package/dist/vendor-microsoft-applicationinsights-properties-js-C0Iv1cZE.js +572 -0
  165. package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
  166. package/dist/vendor-microsoft-applicationinsights-web-BRuQAzjU.js +487 -0
  167. package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
  168. package/dist/vendor-microsoft-signalr-qIrag5xx.js +1761 -0
  169. package/dist/vendor-moment-CwOqp704.js +2589 -0
  170. package/dist/vendor-nevware21-ts-async-FAyg3c9V.js +260 -0
  171. package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
  172. package/dist/vendor-nth-check-BE7AeBMg.js +45 -0
  173. package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
  174. package/dist/vendor-parse5-DqztJOGh.js +5747 -0
  175. package/dist/vendor-parse5-htmlparser2-tree-adapter-CNubfdOP.js +143 -0
  176. package/dist/vendor-popperjs-core-LGjf7Wza.js +905 -0
  177. package/dist/vendor-prettier-D8C9GG-0.js +4858 -0
  178. package/dist/vendor-prosemirror-commands-BqYcdumy.js +344 -0
  179. package/dist/vendor-prosemirror-dropcursor-zknUsW5x.js +86 -0
  180. package/dist/vendor-prosemirror-gapcursor-DjOZhP78.js +200 -0
  181. package/dist/vendor-prosemirror-history-l8l3CFac.js +248 -0
  182. package/dist/vendor-prosemirror-keymap-C17r08p-.js +62 -0
  183. package/dist/vendor-prosemirror-markdown-WJEDhc-w.js +650 -0
  184. package/dist/vendor-prosemirror-model-BN5TnJD_.js +2736 -0
  185. package/dist/vendor-prosemirror-schema-list-CR0gi7aY.js +87 -0
  186. package/dist/vendor-prosemirror-state-B0bFP8WI.js +821 -0
  187. package/dist/vendor-prosemirror-tables-B1txTKlC.js +1711 -0
  188. package/dist/vendor-prosemirror-transform-Bo7kNPme.js +1507 -0
  189. package/dist/vendor-prosemirror-view--C7TZvmQ.js +3746 -0
  190. package/dist/vendor-punycode-js-CNI-zL6U.js +133 -0
  191. package/dist/vendor-rope-sequence-sEGCUMi8.js +100 -0
  192. package/dist/vendor-semver-BoKYtkQw.js +1021 -0
  193. package/dist/vendor-ssr-window-D4k3p53c.js +133 -0
  194. package/dist/vendor-swiper-CMVLTGu0.js +2825 -0
  195. package/dist/vendor-tippy-js-BGdgwGX-.js +812 -0
  196. package/dist/vendor-tiptap-core-BRY37Sb2.js +2806 -0
  197. package/dist/vendor-tiptap-extension-blockquote-CPd5qv-9.js +43 -0
  198. package/dist/vendor-tiptap-extension-bold-B0GwBNks.js +71 -0
  199. package/dist/vendor-tiptap-extension-bubble-menu-B0sZZld7.js +128 -0
  200. package/dist/vendor-tiptap-extension-bullet-list-CQm4ReOu.js +53 -0
  201. package/dist/vendor-tiptap-extension-code-C8cy6bRj.js +51 -0
  202. package/dist/vendor-tiptap-extension-code-block-BqTchNEf.js +133 -0
  203. package/dist/vendor-tiptap-extension-document-Dka1Uu0g.js +9 -0
  204. package/dist/vendor-tiptap-extension-dropcursor-CFSh-BuE.js +20 -0
  205. package/dist/vendor-tiptap-extension-floating-menu-H8PB4zeI.js +99 -0
  206. package/dist/vendor-tiptap-extension-gapcursor-CzwfD_IT.js +24 -0
  207. package/dist/vendor-tiptap-extension-hard-break-Rm6aVcrK.js +55 -0
  208. package/dist/vendor-tiptap-extension-heading-CavI6u1v.js +54 -0
  209. package/dist/vendor-tiptap-extension-history-WEN1_74D.js +35 -0
  210. package/dist/vendor-tiptap-extension-horizontal-rule-DZkUEL6s.js +58 -0
  211. package/dist/vendor-tiptap-extension-image-B67_mxGM.js +64 -0
  212. package/dist/vendor-tiptap-extension-italic-BshxBFou.js +70 -0
  213. package/dist/vendor-tiptap-extension-link-CJAQIgui.js +262 -0
  214. package/dist/vendor-tiptap-extension-list-item-DF-iMpqO.js +33 -0
  215. package/dist/vendor-tiptap-extension-ordered-list-CN8MF-kN.js +71 -0
  216. package/dist/vendor-tiptap-extension-paragraph-DI577lM5.js +33 -0
  217. package/dist/vendor-tiptap-extension-placeholder-DwAtlfAF.js +52 -0
  218. package/dist/vendor-tiptap-extension-strike-CIty09KN.js +61 -0
  219. package/dist/vendor-tiptap-extension-table-C5nv-GUb.js +213 -0
  220. package/dist/vendor-tiptap-extension-table-cell-DXbBhJW3.js +40 -0
  221. package/dist/vendor-tiptap-extension-table-header-rtggsYXA.js +40 -0
  222. package/dist/vendor-tiptap-extension-table-row-67khjMDt.js +22 -0
  223. package/dist/vendor-tiptap-extension-text-D1OHb_a1.js +8 -0
  224. package/dist/vendor-tiptap-extension-underline-IqWixw3m.js +40 -0
  225. package/dist/vendor-tiptap-markdown-DVxB1hbO.js +825 -0
  226. package/dist/vendor-tiptap-starter-kit-CPH9gu2X.js +29 -0
  227. package/dist/vendor-tiptap-vue-3-CkBe4_xM.js +225 -0
  228. package/dist/vendor-truncate-html-Bx1HJzRq.js +145 -0
  229. package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
  230. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
  231. package/dist/vendor-vee-validate-rules-DDeNM2Gc.js +314 -0
  232. package/dist/vendor-vue-currency-input-DxWnS-HB.js +315 -0
  233. package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
  234. package/dist/vendor-vue-i18n-DPtOLen3.js +1359 -0
  235. package/dist/vendor-vue3-application-insights-dAGGfA_M.js +69 -0
  236. package/dist/vendor-vue3-touch-events-8Pa3HHlV.js +169 -0
  237. package/dist/vendor-vuepic-vue-datepicker-DglsiNYa.js +4997 -0
  238. package/dist/vendor-vueuse-components-DtK_mxpP.js +219 -0
  239. package/dist/vendor-vueuse-core-cB-c7DzH.js +5129 -0
  240. package/dist/vendor-vueuse-shared-Dg7PMM0z.js +1169 -0
  241. package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
  242. package/dist/vendor-whatwg-fetch-l0sNRNKZ.js +1 -0
  243. package/package.json +5 -4
  244. package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +2 -1
  245. package/dist/vendor-boolbase-Cp9L0GAZ.js +0 -25
  246. package/dist/vendor-cheerio-HN9zIPZn.js +0 -3135
  247. package/dist/vendor-cheerio-select-5Ry0HvBq.js +0 -306
  248. package/dist/vendor-css-select-DRIZ9kfZ.js +0 -966
  249. package/dist/vendor-css-what-DuPJ1HEF.js +0 -448
  250. package/dist/vendor-cypress-signalr-mock-BKdBJpdt.js +0 -778
  251. package/dist/vendor-date-fns-515YWkk-.js +0 -6724
  252. package/dist/vendor-dom-serializer-nQMsqjYW.js +0 -286
  253. package/dist/vendor-dom7-CJLPMwy5.js +0 -941
  254. package/dist/vendor-domelementtype-CjSzQey5.js +0 -53
  255. package/dist/vendor-domhandler-9z8cS16a.js +0 -484
  256. package/dist/vendor-dompurify-CRFzu7ib.js +0 -1336
  257. package/dist/vendor-domutils-Bc-Opz-v.js +0 -981
  258. package/dist/vendor-entities-Bfsx4xOQ.js +0 -636
  259. package/dist/vendor-floating-ui-core-wV8u8QP4.js +0 -511
  260. package/dist/vendor-floating-ui-dom-DDnRPs17.js +0 -706
  261. package/dist/vendor-floating-ui-utils-OMIFy1QU.js +0 -296
  262. package/dist/vendor-floating-ui-vue-D-tCDAMm.js +0 -167
  263. package/dist/vendor-fontsource-plus-jakarta-sans.css +0 -1
  264. package/dist/vendor-headlessui-vue-CY9FRgTb.js +0 -83
  265. package/dist/vendor-htmlparser2-B1dhFPOs.js +0 -1426
  266. package/dist/vendor-iconify-vue-DfRGgyNu.js +0 -1840
  267. package/dist/vendor-intlify-core-base-BuknsFQe.js +0 -1876
  268. package/dist/vendor-intlify-message-compiler-CuOQDWx1.js +0 -1508
  269. package/dist/vendor-intlify-shared-Cz4YRMuC.js +0 -241
  270. package/dist/vendor-iso-639-1-BJCk9DvE.js +0 -819
  271. package/dist/vendor-linkify-it-CKUf4vsc.js +0 -830
  272. package/dist/vendor-linkifyjs-BfyGgbCh.js +0 -1756
  273. package/dist/vendor-lodash-es-BySUOlwf.js +0 -18333
  274. package/dist/vendor-markdown-it-D-apazHa.js +0 -6000
  275. package/dist/vendor-markdown-it-task-lists-rxMVH6Ku.js +0 -131
  276. package/dist/vendor-mdurl-BNh2CCgT.js +0 -537
  277. package/dist/vendor-microsoft-applicationinsights-analytics-js-kG3lLg8X.js +0 -1275
  278. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-C0uQkiQq.js +0 -591
  279. package/dist/vendor-microsoft-applicationinsights-channel-js-Dyd_PXA3.js +0 -2153
  280. package/dist/vendor-microsoft-applicationinsights-common-CfmP1_Qr.js +0 -2470
  281. package/dist/vendor-microsoft-applicationinsights-core-js-Cq4YSEvZ.js +0 -6589
  282. package/dist/vendor-microsoft-applicationinsights-dependencies-js-C56OBFr4.js +0 -1510
  283. package/dist/vendor-microsoft-applicationinsights-properties-js-CBJTBawx.js +0 -761
  284. package/dist/vendor-microsoft-applicationinsights-shims-CX8sJgar.js +0 -70
  285. package/dist/vendor-microsoft-applicationinsights-web-pim2ri-g.js +0 -667
  286. package/dist/vendor-microsoft-dynamicproto-js-CFBBUu9p.js +0 -520
  287. package/dist/vendor-microsoft-signalr-dUnlRsGm.js +0 -3339
  288. package/dist/vendor-moment-Mki5YqAR.js +0 -5679
  289. package/dist/vendor-nevware21-ts-async-CLMApQ9E.js +0 -395
  290. package/dist/vendor-nevware21-ts-utils-e8v8Jty3.js +0 -1160
  291. package/dist/vendor-nth-check-Bx8TxtJt.js +0 -157
  292. package/dist/vendor-orderedmap-dGG6uMFJ.js +0 -137
  293. package/dist/vendor-parse5-Bt2NhSzR.js +0 -8432
  294. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUUtKzf8.js +0 -216
  295. package/dist/vendor-popperjs-core-Cr2byIky.js +0 -1790
  296. package/dist/vendor-prettier-B4PaeWRQ.js +0 -98
  297. package/dist/vendor-prosemirror-commands-BH9lWGpW.js +0 -561
  298. package/dist/vendor-prosemirror-dropcursor-CeyPcxrA.js +0 -146
  299. package/dist/vendor-prosemirror-gapcursor-U8UoUJII.js +0 -236
  300. package/dist/vendor-prosemirror-history-BDaJkvNx.js +0 -414
  301. package/dist/vendor-prosemirror-keymap-BbWvIWmH.js +0 -128
  302. package/dist/vendor-prosemirror-markdown-gB0PXBbz.js +0 -866
  303. package/dist/vendor-prosemirror-model-BZu3WVcD.js +0 -3463
  304. package/dist/vendor-prosemirror-schema-list-Bl9NpKA7.js +0 -158
  305. package/dist/vendor-prosemirror-state-BvL9Pxph.js +0 -1003
  306. package/dist/vendor-prosemirror-tables-17qAnviK.js +0 -2159
  307. package/dist/vendor-prosemirror-transform-CE9VV3qg.js +0 -2156
  308. package/dist/vendor-prosemirror-view-CU2WTHT7.js +0 -5811
  309. package/dist/vendor-punycode-js-iAs5RxMf.js +0 -441
  310. package/dist/vendor-rope-sequence-BdXDKoGt.js +0 -207
  311. package/dist/vendor-semver-CVLMK-S4.js +0 -2702
  312. package/dist/vendor-ssr-window-s6OpKa3O.js +0 -150
  313. package/dist/vendor-swiper-CdiyNHVt.js +0 -5679
  314. package/dist/vendor-tippy-js-DWFe2TfK.js +0 -1647
  315. package/dist/vendor-tiptap-core-NfwGfaQk.js +0 -4910
  316. package/dist/vendor-tiptap-extension-blockquote-jmWBTtsI.js +0 -57
  317. package/dist/vendor-tiptap-extension-bold-p5frh4ak.js +0 -97
  318. package/dist/vendor-tiptap-extension-bubble-menu-KUhZSfrs.js +0 -218
  319. package/dist/vendor-tiptap-extension-bullet-list-COmZRoSB.js +0 -73
  320. package/dist/vendor-tiptap-extension-code-block-DyTARZss.js +0 -221
  321. package/dist/vendor-tiptap-extension-code-jVv6CXpX.js +0 -75
  322. package/dist/vendor-tiptap-extension-document-DssuotYs.js +0 -13
  323. package/dist/vendor-tiptap-extension-dropcursor-BoO0Qv91.js +0 -26
  324. package/dist/vendor-tiptap-extension-floating-menu-CrO8CN5w.js +0 -165
  325. package/dist/vendor-tiptap-extension-gapcursor-KpsWEoMD.js +0 -30
  326. package/dist/vendor-tiptap-extension-hard-break-ldOzhSvf.js +0 -68
  327. package/dist/vendor-tiptap-extension-heading-CKz2llX0.js +0 -77
  328. package/dist/vendor-tiptap-extension-history-DeKZ2VQ9.js +0 -48
  329. package/dist/vendor-tiptap-extension-horizontal-rule-CAjWRyDS.js +0 -92
  330. package/dist/vendor-tiptap-extension-image-ZagcEYuk.js +0 -76
  331. package/dist/vendor-tiptap-extension-italic-CM4xdznY.js +0 -96
  332. package/dist/vendor-tiptap-extension-link-Z-AMC4Ri.js +0 -414
  333. package/dist/vendor-tiptap-extension-list-item-BJi5QpXc.js +0 -37
  334. package/dist/vendor-tiptap-extension-ordered-list-C_TMrfBE.js +0 -97
  335. package/dist/vendor-tiptap-extension-paragraph-CQw0E0Au.js +0 -39
  336. package/dist/vendor-tiptap-extension-placeholder-BBNVKfa_.js +0 -66
  337. package/dist/vendor-tiptap-extension-strike-DUyMYX1Z.js +0 -79
  338. package/dist/vendor-tiptap-extension-table-cell-CoDIMPA5.js +0 -47
  339. package/dist/vendor-tiptap-extension-table-header-DvbGHnmw.js +0 -47
  340. package/dist/vendor-tiptap-extension-table-row-D1uqN5Aj.js +0 -26
  341. package/dist/vendor-tiptap-extension-table-tKS4MOM4.js +0 -354
  342. package/dist/vendor-tiptap-extension-text-DtRBhKB2.js +0 -12
  343. package/dist/vendor-tiptap-extension-underline-DqaSFp_P.js +0 -50
  344. package/dist/vendor-tiptap-markdown-7-PCADTU.js +0 -1017
  345. package/dist/vendor-tiptap-starter-kit-CDSV_Zuu.js +0 -88
  346. package/dist/vendor-tiptap-vue-3-DZg2fjq_.js +0 -268
  347. package/dist/vendor-truncate-html-3qQY0Djo.js +0 -196
  348. package/dist/vendor-uc-micro-jjt6LQ65.js +0 -23
  349. package/dist/vendor-vee-validate-i18n-v_gHjRmD.js +0 -154
  350. package/dist/vendor-vee-validate-rules-DzV3VY3N.js +0 -536
  351. package/dist/vendor-vue-currency-input-DGAkEFBO.js +0 -545
  352. package/dist/vendor-vue-devtools-api-DXYR8qBG.js +0 -169
  353. package/dist/vendor-vue-i18n-Co752uk3.js +0 -1897
  354. package/dist/vendor-vue3-application-insights-CYWFCr_J.js +0 -119
  355. package/dist/vendor-vue3-touch-events-BJEAiSa3.js +0 -416
  356. package/dist/vendor-vuepic-vue-datepicker-BSWXRSiu.js +0 -5019
  357. package/dist/vendor-vueuse-components-l1bL12mE.js +0 -339
  358. package/dist/vendor-vueuse-core-DGcJOmwG.js +0 -7743
  359. package/dist/vendor-vueuse-shared-_mOXsFuM.js +0 -1568
  360. package/dist/vendor-w3c-keyname-BOm2dtJm.js +0 -121
@@ -0,0 +1,650 @@
1
+ import { a as A, M as w } from "./vendor-prosemirror-model-BN5TnJD_.js";
2
+ import { M as S } from "./vendor-markdown-it-4AJoRTAg.js";
3
+ const D = new A({
4
+ nodes: {
5
+ doc: {
6
+ content: "block+"
7
+ },
8
+ paragraph: {
9
+ content: "inline*",
10
+ group: "block",
11
+ parseDOM: [{ tag: "p" }],
12
+ toDOM() {
13
+ return ["p", 0];
14
+ }
15
+ },
16
+ blockquote: {
17
+ content: "block+",
18
+ group: "block",
19
+ parseDOM: [{ tag: "blockquote" }],
20
+ toDOM() {
21
+ return ["blockquote", 0];
22
+ }
23
+ },
24
+ horizontal_rule: {
25
+ group: "block",
26
+ parseDOM: [{ tag: "hr" }],
27
+ toDOM() {
28
+ return ["div", ["hr"]];
29
+ }
30
+ },
31
+ heading: {
32
+ attrs: { level: { default: 1 } },
33
+ content: "(text | image)*",
34
+ group: "block",
35
+ defining: !0,
36
+ parseDOM: [
37
+ { tag: "h1", attrs: { level: 1 } },
38
+ { tag: "h2", attrs: { level: 2 } },
39
+ { tag: "h3", attrs: { level: 3 } },
40
+ { tag: "h4", attrs: { level: 4 } },
41
+ { tag: "h5", attrs: { level: 5 } },
42
+ { tag: "h6", attrs: { level: 6 } }
43
+ ],
44
+ toDOM(e) {
45
+ return ["h" + e.attrs.level, 0];
46
+ }
47
+ },
48
+ code_block: {
49
+ content: "text*",
50
+ group: "block",
51
+ code: !0,
52
+ defining: !0,
53
+ marks: "",
54
+ attrs: { params: { default: "" } },
55
+ parseDOM: [{ tag: "pre", preserveWhitespace: "full", getAttrs: (e) => ({ params: e.getAttribute("data-params") || "" }) }],
56
+ toDOM(e) {
57
+ return ["pre", e.attrs.params ? { "data-params": e.attrs.params } : {}, ["code", 0]];
58
+ }
59
+ },
60
+ ordered_list: {
61
+ content: "list_item+",
62
+ group: "block",
63
+ attrs: { order: { default: 1 }, tight: { default: !1 } },
64
+ parseDOM: [{ tag: "ol", getAttrs(e) {
65
+ return {
66
+ order: e.hasAttribute("start") ? +e.getAttribute("start") : 1,
67
+ tight: e.hasAttribute("data-tight")
68
+ };
69
+ } }],
70
+ toDOM(e) {
71
+ return ["ol", {
72
+ start: e.attrs.order == 1 ? null : e.attrs.order,
73
+ "data-tight": e.attrs.tight ? "true" : null
74
+ }, 0];
75
+ }
76
+ },
77
+ bullet_list: {
78
+ content: "list_item+",
79
+ group: "block",
80
+ attrs: { tight: { default: !1 } },
81
+ parseDOM: [{ tag: "ul", getAttrs: (e) => ({ tight: e.hasAttribute("data-tight") }) }],
82
+ toDOM(e) {
83
+ return ["ul", { "data-tight": e.attrs.tight ? "true" : null }, 0];
84
+ }
85
+ },
86
+ list_item: {
87
+ content: "block+",
88
+ defining: !0,
89
+ parseDOM: [{ tag: "li" }],
90
+ toDOM() {
91
+ return ["li", 0];
92
+ }
93
+ },
94
+ text: {
95
+ group: "inline"
96
+ },
97
+ image: {
98
+ inline: !0,
99
+ attrs: {
100
+ src: {},
101
+ alt: { default: null },
102
+ title: { default: null }
103
+ },
104
+ group: "inline",
105
+ draggable: !0,
106
+ parseDOM: [{ tag: "img[src]", getAttrs(e) {
107
+ return {
108
+ src: e.getAttribute("src"),
109
+ title: e.getAttribute("title"),
110
+ alt: e.getAttribute("alt")
111
+ };
112
+ } }],
113
+ toDOM(e) {
114
+ return ["img", e.attrs];
115
+ }
116
+ },
117
+ hard_break: {
118
+ inline: !0,
119
+ group: "inline",
120
+ selectable: !1,
121
+ parseDOM: [{ tag: "br" }],
122
+ toDOM() {
123
+ return ["br"];
124
+ }
125
+ }
126
+ },
127
+ marks: {
128
+ em: {
129
+ parseDOM: [
130
+ { tag: "i" },
131
+ { tag: "em" },
132
+ { style: "font-style=italic" },
133
+ { style: "font-style=normal", clearMark: (e) => e.type.name == "em" }
134
+ ],
135
+ toDOM() {
136
+ return ["em"];
137
+ }
138
+ },
139
+ strong: {
140
+ parseDOM: [
141
+ { tag: "strong" },
142
+ { tag: "b", getAttrs: (e) => e.style.fontWeight != "normal" && null },
143
+ { style: "font-weight=400", clearMark: (e) => e.type.name == "strong" },
144
+ { style: "font-weight", getAttrs: (e) => /^(bold(er)?|[5-9]\d{2,})$/.test(e) && null }
145
+ ],
146
+ toDOM() {
147
+ return ["strong"];
148
+ }
149
+ },
150
+ link: {
151
+ attrs: {
152
+ href: {},
153
+ title: { default: null }
154
+ },
155
+ inclusive: !1,
156
+ parseDOM: [{ tag: "a[href]", getAttrs(e) {
157
+ return { href: e.getAttribute("href"), title: e.getAttribute("title") };
158
+ } }],
159
+ toDOM(e) {
160
+ return ["a", e.attrs];
161
+ }
162
+ },
163
+ code: {
164
+ code: !0,
165
+ parseDOM: [{ tag: "code" }],
166
+ toDOM() {
167
+ return ["code"];
168
+ }
169
+ }
170
+ }
171
+ });
172
+ function C(e, t) {
173
+ if (e.isText && t.isText && w.sameSet(e.marks, t.marks))
174
+ return e.withText(e.text + t.text);
175
+ }
176
+ class B {
177
+ constructor(t, i) {
178
+ this.schema = t, this.tokenHandlers = i, this.stack = [{ type: t.topNodeType, attrs: null, content: [], marks: w.none }];
179
+ }
180
+ top() {
181
+ return this.stack[this.stack.length - 1];
182
+ }
183
+ push(t) {
184
+ this.stack.length && this.top().content.push(t);
185
+ }
186
+ // Adds the given text to the current position in the document,
187
+ // using the current marks as styling.
188
+ addText(t) {
189
+ if (!t)
190
+ return;
191
+ let i = this.top(), r = i.content, l = r[r.length - 1], a = this.schema.text(t, i.marks), s;
192
+ l && (s = C(l, a)) ? r[r.length - 1] = s : r.push(a);
193
+ }
194
+ // Adds the given mark to the set of active marks.
195
+ openMark(t) {
196
+ let i = this.top();
197
+ i.marks = t.addToSet(i.marks);
198
+ }
199
+ // Removes the given mark from the set of active marks.
200
+ closeMark(t) {
201
+ let i = this.top();
202
+ i.marks = t.removeFromSet(i.marks);
203
+ }
204
+ parseTokens(t) {
205
+ for (let i = 0; i < t.length; i++) {
206
+ let r = t[i], l = this.tokenHandlers[r.type];
207
+ if (!l)
208
+ throw new Error("Token type `" + r.type + "` not supported by Markdown parser");
209
+ l(this, r, t, i);
210
+ }
211
+ }
212
+ // Add a node at the current position.
213
+ addNode(t, i, r) {
214
+ let l = this.top(), a = t.createAndFill(i, r, l ? l.marks : []);
215
+ return a ? (this.push(a), a) : null;
216
+ }
217
+ // Wrap subsequent content in a node of the given type.
218
+ openNode(t, i) {
219
+ this.stack.push({ type: t, attrs: i, content: [], marks: w.none });
220
+ }
221
+ // Close and return the node that is currently on top of the stack.
222
+ closeNode() {
223
+ let t = this.stack.pop();
224
+ return this.addNode(t.type, t.attrs, t.content);
225
+ }
226
+ }
227
+ function k(e, t, i, r) {
228
+ return e.getAttrs ? e.getAttrs(t, i, r) : e.attrs instanceof Function ? e.attrs(t) : e.attrs;
229
+ }
230
+ function b(e, t) {
231
+ return e.noCloseToken || t == "code_inline" || t == "code_block" || t == "fence";
232
+ }
233
+ function _(e) {
234
+ return e[e.length - 1] == `
235
+ ` ? e.slice(0, e.length - 1) : e;
236
+ }
237
+ function M() {
238
+ }
239
+ function N(e, t) {
240
+ let i = /* @__PURE__ */ Object.create(null);
241
+ for (let r in t) {
242
+ let l = t[r];
243
+ if (l.block) {
244
+ let a = e.nodeType(l.block);
245
+ b(l, r) ? i[r] = (s, g, o, n) => {
246
+ s.openNode(a, k(l, g, o, n)), s.addText(_(g.content)), s.closeNode();
247
+ } : (i[r + "_open"] = (s, g, o, n) => s.openNode(a, k(l, g, o, n)), i[r + "_close"] = (s) => s.closeNode());
248
+ } else if (l.node) {
249
+ let a = e.nodeType(l.node);
250
+ i[r] = (s, g, o, n) => s.addNode(a, k(l, g, o, n));
251
+ } else if (l.mark) {
252
+ let a = e.marks[l.mark];
253
+ b(l, r) ? i[r] = (s, g, o, n) => {
254
+ s.openMark(a.create(k(l, g, o, n))), s.addText(_(g.content)), s.closeMark(a);
255
+ } : (i[r + "_open"] = (s, g, o, n) => s.openMark(a.create(k(l, g, o, n))), i[r + "_close"] = (s) => s.closeMark(a));
256
+ } else if (l.ignore)
257
+ b(l, r) ? i[r] = M : (i[r + "_open"] = M, i[r + "_close"] = M);
258
+ else
259
+ throw new RangeError("Unrecognized parsing spec " + JSON.stringify(l));
260
+ }
261
+ return i.text = (r, l) => r.addText(l.content), i.inline = (r, l) => r.parseTokens(l.children), i.softbreak = i.softbreak || ((r) => r.addText(" ")), i;
262
+ }
263
+ class v {
264
+ /**
265
+ Create a parser with the given configuration. You can configure
266
+ the markdown-it parser to parse the dialect you want, and provide
267
+ a description of the ProseMirror entities those tokens map to in
268
+ the `tokens` object, which maps token names to descriptions of
269
+ what to do with them. Such a description is an object, and may
270
+ have the following properties:
271
+ */
272
+ constructor(t, i, r) {
273
+ this.schema = t, this.tokenizer = i, this.tokens = r, this.tokenHandlers = N(t, r);
274
+ }
275
+ /**
276
+ Parse a string as [CommonMark](http://commonmark.org/) markup,
277
+ and create a ProseMirror document as prescribed by this parser's
278
+ rules.
279
+
280
+ The second argument, when given, is passed through to the
281
+ [Markdown
282
+ parser](https://markdown-it.github.io/markdown-it/#MarkdownIt.parse).
283
+ */
284
+ parse(t, i = {}) {
285
+ let r = new B(this.schema, this.tokenHandlers), l;
286
+ r.parseTokens(this.tokenizer.parse(t, i));
287
+ do
288
+ l = r.closeNode();
289
+ while (r.stack.length);
290
+ return l || this.schema.topNodeType.createAndFill();
291
+ }
292
+ }
293
+ function T(e, t) {
294
+ for (; ++t < e.length; )
295
+ if (e[t].type != "list_item_open")
296
+ return e[t].hidden;
297
+ return !1;
298
+ }
299
+ new v(D, S("commonmark", { html: !1 }), {
300
+ blockquote: { block: "blockquote" },
301
+ paragraph: { block: "paragraph" },
302
+ list_item: { block: "list_item" },
303
+ bullet_list: { block: "bullet_list", getAttrs: (e, t, i) => ({ tight: T(t, i) }) },
304
+ ordered_list: { block: "ordered_list", getAttrs: (e, t, i) => ({
305
+ order: +e.attrGet("start") || 1,
306
+ tight: T(t, i)
307
+ }) },
308
+ heading: { block: "heading", getAttrs: (e) => ({ level: +e.tag.slice(1) }) },
309
+ code_block: { block: "code_block", noCloseToken: !0 },
310
+ fence: { block: "code_block", getAttrs: (e) => ({ params: e.info || "" }), noCloseToken: !0 },
311
+ hr: { node: "horizontal_rule" },
312
+ image: { node: "image", getAttrs: (e) => ({
313
+ src: e.attrGet("src"),
314
+ title: e.attrGet("title") || null,
315
+ alt: e.children[0] && e.children[0].content || null
316
+ }) },
317
+ hardbreak: { node: "hard_break" },
318
+ em: { mark: "em" },
319
+ strong: { mark: "strong" },
320
+ link: { mark: "link", getAttrs: (e) => ({
321
+ href: e.attrGet("href"),
322
+ title: e.attrGet("title") || null
323
+ }) },
324
+ code_inline: { mark: "code", noCloseToken: !0 }
325
+ });
326
+ const $ = { open: "", close: "", mixable: !0 };
327
+ class E {
328
+ /**
329
+ Construct a serializer with the given configuration. The `nodes`
330
+ object should map node names in a given schema to function that
331
+ take a serializer state and such a node, and serialize the node.
332
+ */
333
+ constructor(t, i, r = {}) {
334
+ this.nodes = t, this.marks = i, this.options = r;
335
+ }
336
+ /**
337
+ Serialize the content of the given node to
338
+ [CommonMark](http://commonmark.org/).
339
+ */
340
+ serialize(t, i = {}) {
341
+ i = Object.assign({}, this.options, i);
342
+ let r = new z(this.nodes, this.marks, i);
343
+ return r.renderContent(t), r.out;
344
+ }
345
+ }
346
+ const W = new E({
347
+ blockquote(e, t) {
348
+ e.wrapBlock("> ", null, t, () => e.renderContent(t));
349
+ },
350
+ code_block(e, t) {
351
+ const i = t.textContent.match(/`{3,}/gm), r = i ? i.sort().slice(-1)[0] + "`" : "```";
352
+ e.write(r + (t.attrs.params || "") + `
353
+ `), e.text(t.textContent, !1), e.write(`
354
+ `), e.write(r), e.closeBlock(t);
355
+ },
356
+ heading(e, t) {
357
+ e.write(e.repeat("#", t.attrs.level) + " "), e.renderInline(t, !1), e.closeBlock(t);
358
+ },
359
+ horizontal_rule(e, t) {
360
+ e.write(t.attrs.markup || "---"), e.closeBlock(t);
361
+ },
362
+ bullet_list(e, t) {
363
+ e.renderList(t, " ", () => (t.attrs.bullet || "*") + " ");
364
+ },
365
+ ordered_list(e, t) {
366
+ let i = t.attrs.order || 1, r = String(i + t.childCount - 1).length, l = e.repeat(" ", r + 2);
367
+ e.renderList(t, l, (a) => {
368
+ let s = String(i + a);
369
+ return e.repeat(" ", r - s.length) + s + ". ";
370
+ });
371
+ },
372
+ list_item(e, t) {
373
+ e.renderContent(t);
374
+ },
375
+ paragraph(e, t) {
376
+ e.renderInline(t), e.closeBlock(t);
377
+ },
378
+ image(e, t) {
379
+ e.write("![" + e.esc(t.attrs.alt || "") + "](" + t.attrs.src.replace(/[\(\)]/g, "\\$&") + (t.attrs.title ? ' "' + t.attrs.title.replace(/"/g, '\\"') + '"' : "") + ")");
380
+ },
381
+ hard_break(e, t, i, r) {
382
+ for (let l = r + 1; l < i.childCount; l++)
383
+ if (i.child(l).type != t.type) {
384
+ e.write(`\\
385
+ `);
386
+ return;
387
+ }
388
+ },
389
+ text(e, t) {
390
+ e.text(t.text, !e.inAutolink);
391
+ }
392
+ }, {
393
+ em: { open: "*", close: "*", mixable: !0, expelEnclosingWhitespace: !0 },
394
+ strong: { open: "**", close: "**", mixable: !0, expelEnclosingWhitespace: !0 },
395
+ link: {
396
+ open(e, t, i, r) {
397
+ return e.inAutolink = L(t, i, r), e.inAutolink ? "<" : "[";
398
+ },
399
+ close(e, t, i, r) {
400
+ let { inAutolink: l } = e;
401
+ return e.inAutolink = void 0, l ? ">" : "](" + t.attrs.href.replace(/[\(\)"]/g, "\\$&") + (t.attrs.title ? ` "${t.attrs.title.replace(/"/g, '\\"')}"` : "") + ")";
402
+ },
403
+ mixable: !0
404
+ },
405
+ code: {
406
+ open(e, t, i, r) {
407
+ return O(i.child(r), -1);
408
+ },
409
+ close(e, t, i, r) {
410
+ return O(i.child(r - 1), 1);
411
+ },
412
+ escape: !1
413
+ }
414
+ });
415
+ function O(e, t) {
416
+ let i = /`+/g, r, l = 0;
417
+ if (e.isText)
418
+ for (; r = i.exec(e.text); )
419
+ l = Math.max(l, r[0].length);
420
+ let a = l > 0 && t > 0 ? " `" : "`";
421
+ for (let s = 0; s < l; s++)
422
+ a += "`";
423
+ return l > 0 && t < 0 && (a += " "), a;
424
+ }
425
+ function L(e, t, i) {
426
+ if (e.attrs.title || !/^\w+:/.test(e.attrs.href))
427
+ return !1;
428
+ let r = t.child(i);
429
+ return !r.isText || r.text != e.attrs.href || r.marks[r.marks.length - 1] != e ? !1 : i == t.childCount - 1 || !e.isInSet(t.child(i + 1).marks);
430
+ }
431
+ let z = class {
432
+ /**
433
+ @internal
434
+ */
435
+ constructor(t, i, r) {
436
+ this.nodes = t, this.marks = i, this.options = r, this.delim = "", this.out = "", this.closed = null, this.inAutolink = void 0, this.atBlockStart = !1, this.inTightList = !1, typeof this.options.tightLists > "u" && (this.options.tightLists = !1), typeof this.options.hardBreakNodeName > "u" && (this.options.hardBreakNodeName = "hard_break");
437
+ }
438
+ /**
439
+ @internal
440
+ */
441
+ flushClose(t = 2) {
442
+ if (this.closed) {
443
+ if (this.atBlank() || (this.out += `
444
+ `), t > 1) {
445
+ let i = this.delim, r = /\s+$/.exec(i);
446
+ r && (i = i.slice(0, i.length - r[0].length));
447
+ for (let l = 1; l < t; l++)
448
+ this.out += i + `
449
+ `;
450
+ }
451
+ this.closed = null;
452
+ }
453
+ }
454
+ /**
455
+ @internal
456
+ */
457
+ getMark(t) {
458
+ let i = this.marks[t];
459
+ if (!i) {
460
+ if (this.options.strict !== !1)
461
+ throw new Error(`Mark type \`${t}\` not supported by Markdown renderer`);
462
+ i = $;
463
+ }
464
+ return i;
465
+ }
466
+ /**
467
+ Render a block, prefixing each line with `delim`, and the first
468
+ line in `firstDelim`. `node` should be the node that is closed at
469
+ the end of the block, and `f` is a function that renders the
470
+ content of the block.
471
+ */
472
+ wrapBlock(t, i, r, l) {
473
+ let a = this.delim;
474
+ this.write(i ?? t), this.delim += t, l(), this.delim = a, this.closeBlock(r);
475
+ }
476
+ /**
477
+ @internal
478
+ */
479
+ atBlank() {
480
+ return /(^|\n)$/.test(this.out);
481
+ }
482
+ /**
483
+ Ensure the current content ends with a newline.
484
+ */
485
+ ensureNewLine() {
486
+ this.atBlank() || (this.out += `
487
+ `);
488
+ }
489
+ /**
490
+ Prepare the state for writing output (closing closed paragraphs,
491
+ adding delimiters, and so on), and then optionally add content
492
+ (unescaped) to the output.
493
+ */
494
+ write(t) {
495
+ this.flushClose(), this.delim && this.atBlank() && (this.out += this.delim), t && (this.out += t);
496
+ }
497
+ /**
498
+ Close the block for the given node.
499
+ */
500
+ closeBlock(t) {
501
+ this.closed = t;
502
+ }
503
+ /**
504
+ Add the given text to the document. When escape is not `false`,
505
+ it will be escaped.
506
+ */
507
+ text(t, i = !0) {
508
+ let r = t.split(`
509
+ `);
510
+ for (let l = 0; l < r.length; l++)
511
+ this.write(), !i && r[l][0] == "[" && /(^|[^\\])\!$/.test(this.out) && (this.out = this.out.slice(0, this.out.length - 1) + "\\!"), this.out += i ? this.esc(r[l], this.atBlockStart) : r[l], l != r.length - 1 && (this.out += `
512
+ `);
513
+ }
514
+ /**
515
+ Render the given node as a block.
516
+ */
517
+ render(t, i, r) {
518
+ if (this.nodes[t.type.name])
519
+ this.nodes[t.type.name](this, t, i, r);
520
+ else {
521
+ if (this.options.strict !== !1)
522
+ throw new Error("Token type `" + t.type.name + "` not supported by Markdown renderer");
523
+ t.type.isLeaf || (t.type.inlineContent ? this.renderInline(t) : this.renderContent(t), t.isBlock && this.closeBlock(t));
524
+ }
525
+ }
526
+ /**
527
+ Render the contents of `parent` as block nodes.
528
+ */
529
+ renderContent(t) {
530
+ t.forEach((i, r, l) => this.render(i, t, l));
531
+ }
532
+ /**
533
+ Render the contents of `parent` as inline content.
534
+ */
535
+ renderInline(t, i = !0) {
536
+ this.atBlockStart = i;
537
+ let r = [], l = "", a = (s, g, o) => {
538
+ let n = s ? s.marks : [];
539
+ s && s.type.name === this.options.hardBreakNodeName && (n = n.filter((h) => {
540
+ if (o + 1 == t.childCount)
541
+ return !1;
542
+ let c = t.child(o + 1);
543
+ return h.isInSet(c.marks) && (!c.isText || /\S/.test(c.text));
544
+ }));
545
+ let m = l;
546
+ if (l = "", s && s.isText && n.some((h) => {
547
+ let c = this.getMark(h.type.name);
548
+ return c && c.expelEnclosingWhitespace && !h.isInSet(r);
549
+ })) {
550
+ let [h, c, u] = /^(\s*)(.*)$/m.exec(s.text);
551
+ c && (m += c, s = u ? s.withText(u) : null, s || (n = r));
552
+ }
553
+ if (s && s.isText && n.some((h) => {
554
+ let c = this.getMark(h.type.name);
555
+ return c && c.expelEnclosingWhitespace && (o == t.childCount - 1 || !h.isInSet(t.child(o + 1).marks));
556
+ })) {
557
+ let [h, c, u] = /^(.*?)(\s*)$/m.exec(s.text);
558
+ u && (l = u, s = c ? s.withText(c) : null, s || (n = r));
559
+ }
560
+ let d = n.length ? n[n.length - 1] : null, x = d && this.getMark(d.type.name).escape === !1, f = n.length - (x ? 1 : 0);
561
+ t: for (let h = 0; h < f; h++) {
562
+ let c = n[h];
563
+ if (!this.getMark(c.type.name).mixable)
564
+ break;
565
+ for (let u = 0; u < r.length; u++) {
566
+ let y = r[u];
567
+ if (!this.getMark(y.type.name).mixable)
568
+ break;
569
+ if (c.eq(y)) {
570
+ h > u ? n = n.slice(0, u).concat(c).concat(n.slice(u, h)).concat(n.slice(h + 1, f)) : u > h && (n = n.slice(0, h).concat(n.slice(h + 1, u)).concat(c).concat(n.slice(u, f)));
571
+ continue t;
572
+ }
573
+ }
574
+ }
575
+ let p = 0;
576
+ for (; p < Math.min(r.length, f) && n[p].eq(r[p]); )
577
+ ++p;
578
+ for (; p < r.length; )
579
+ this.text(this.markString(r.pop(), !1, t, o), !1);
580
+ if (m && this.text(m), s) {
581
+ for (; r.length < f; ) {
582
+ let h = n[r.length];
583
+ r.push(h), this.text(this.markString(h, !0, t, o), !1), this.atBlockStart = !1;
584
+ }
585
+ x && s.isText ? this.text(this.markString(d, !0, t, o) + s.text + this.markString(d, !1, t, o + 1), !1) : this.render(s, t, o), this.atBlockStart = !1;
586
+ }
587
+ s?.isText && s.nodeSize > 0 && (this.atBlockStart = !1);
588
+ };
589
+ t.forEach(a), a(null, 0, t.childCount), this.atBlockStart = !1;
590
+ }
591
+ /**
592
+ Render a node's content as a list. `delim` should be the extra
593
+ indentation added to all lines except the first in an item,
594
+ `firstDelim` is a function going from an item index to a
595
+ delimiter for the first line of the item.
596
+ */
597
+ renderList(t, i, r) {
598
+ this.closed && this.closed.type == t.type ? this.flushClose(3) : this.inTightList && this.flushClose(1);
599
+ let l = typeof t.attrs.tight < "u" ? t.attrs.tight : this.options.tightLists, a = this.inTightList;
600
+ this.inTightList = l, t.forEach((s, g, o) => {
601
+ o && l && this.flushClose(1), this.wrapBlock(i, r(o), t, () => this.render(s, t, o));
602
+ }), this.inTightList = a;
603
+ }
604
+ /**
605
+ Escape the given string so that it can safely appear in Markdown
606
+ content. If `startOfLine` is true, also escape characters that
607
+ have special meaning only at the start of the line.
608
+ */
609
+ esc(t, i = !1) {
610
+ return t = t.replace(/[`*\\~\[\]_]/g, (r, l) => r == "_" && l > 0 && l + 1 < t.length && t[l - 1].match(/\w/) && t[l + 1].match(/\w/) ? r : "\\" + r), i && (t = t.replace(/^(\+[ ]|[\-*>])/, "\\$&").replace(/^(\s*)(#{1,6})(\s|$)/, "$1\\$2$3").replace(/^(\s*\d+)\.\s/, "$1\\. ")), this.options.escapeExtraCharacters && (t = t.replace(this.options.escapeExtraCharacters, "\\$&")), t;
611
+ }
612
+ /**
613
+ @internal
614
+ */
615
+ quote(t) {
616
+ let i = t.indexOf('"') == -1 ? '""' : t.indexOf("'") == -1 ? "''" : "()";
617
+ return i[0] + t + i[1];
618
+ }
619
+ /**
620
+ Repeat the given string `n` times.
621
+ */
622
+ repeat(t, i) {
623
+ let r = "";
624
+ for (let l = 0; l < i; l++)
625
+ r += t;
626
+ return r;
627
+ }
628
+ /**
629
+ Get the markdown string for a given opening or closing mark.
630
+ */
631
+ markString(t, i, r, l) {
632
+ let a = this.getMark(t.type.name), s = i ? a.open : a.close;
633
+ return typeof s == "string" ? s : s(this, t, r, l);
634
+ }
635
+ /**
636
+ Get leading and trailing whitespace from a string. Values of
637
+ leading or trailing property of the return object will be undefined
638
+ if there is no match.
639
+ */
640
+ getEnclosingWhitespace(t) {
641
+ return {
642
+ leading: (t.match(/^(\s+)/) || [void 0])[0],
643
+ trailing: (t.match(/(\s+)$/) || [void 0])[0]
644
+ };
645
+ }
646
+ };
647
+ export {
648
+ z as M,
649
+ W as d
650
+ };