file-viewer3 1.0.8 → 1.0.26

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 (370) hide show
  1. package/LICENSE +160 -0
  2. package/README.en.md +390 -0
  3. package/README.md +306 -89
  4. package/dist/components/3MFLoader.js +527 -0
  5. package/dist/components/AMFLoader.js +188 -0
  6. package/dist/components/ArchiveViewer.js +526 -0
  7. package/dist/components/AudioViewer.js +66 -0
  8. package/dist/components/CadViewer.js +9040 -0
  9. package/dist/components/CodeViewer.js +151 -0
  10. package/dist/components/ColladaLoader.js +2282 -0
  11. package/dist/components/DrawingViewer.js +295 -0
  12. package/dist/components/EdaViewer.js +630 -0
  13. package/dist/components/EmailViewer.js +276 -0
  14. package/dist/components/EpubViewer.js +172 -0
  15. package/dist/components/FBXLoader.js +1574 -0
  16. package/dist/components/GLTFLoader.js +1383 -0
  17. package/dist/components/ImageViewer.js +1516 -1895
  18. package/dist/components/KMZLoader.js +45 -0
  19. package/dist/components/MarkdownViewer.js +1456 -1557
  20. package/dist/components/ModelViewer.js +797 -0
  21. package/dist/components/OBJLoader.js +287 -0
  22. package/dist/components/OfdViewer.js +133 -0
  23. package/dist/components/PCDLoader.js +141 -0
  24. package/dist/components/PLYLoader.js +305 -0
  25. package/dist/components/PdfView.js +27662 -21655
  26. package/dist/components/PptxRender.js +11170 -21118
  27. package/dist/components/STLLoader.js +83 -0
  28. package/dist/components/TDSLoader.js +228 -0
  29. package/dist/components/TypstViewer.js +1697 -0
  30. package/dist/components/USDLoader.js +2526 -0
  31. package/dist/components/UmdViewer.js +1873 -0
  32. package/dist/components/VRMLLoader.js +6422 -0
  33. package/dist/components/VTKLoader.js +337 -0
  34. package/dist/components/XYZLoader.js +30 -0
  35. package/dist/components/XlsxTable.js +7871 -69873
  36. package/dist/components/__vite-browser-external.js +7 -0
  37. package/dist/components/_plugin-vue_export-helper.js +8 -0
  38. package/dist/components/ar-SA-G6X2FPQ2.js +523 -0
  39. package/dist/components/arc.js +79 -0
  40. package/dist/components/architecture-7EHR7CIX.js +3 -0
  41. package/dist/components/architectureDiagram-3BPJPVTR.js +4096 -0
  42. package/dist/components/archive.js +24 -0
  43. package/dist/components/asyncToGenerator.js +29 -0
  44. package/dist/components/audio.js +19 -0
  45. package/dist/components/az-AZ-76LH7QW2.js +523 -0
  46. package/dist/components/bash.js +169 -0
  47. package/dist/components/bg-BG-XCXSNQG7.js +523 -0
  48. package/dist/components/blockDiagram-GPEHLZMM.js +3357 -0
  49. package/dist/components/bn-BD-2XOGV67Q.js +523 -0
  50. package/dist/components/c4Diagram-AAUBKEIU.js +2957 -0
  51. package/dist/components/ca-ES-6MX7JW3Y.js +523 -0
  52. package/dist/components/cad.js +23 -0
  53. package/dist/components/cfb.js +1174 -0
  54. package/dist/components/channel.js +5 -0
  55. package/dist/components/chunk-2J33WTMH.js +26 -0
  56. package/dist/components/chunk-3OPIFGDE.js +4167 -0
  57. package/dist/components/chunk-4BX2VUAB.js +19 -0
  58. package/dist/components/chunk-55IACEB6.js +9 -0
  59. package/dist/components/chunk-5ZQYHXKU.js +669 -0
  60. package/dist/components/chunk-6U3AYISY.js +624 -0
  61. package/dist/components/chunk-727SXJPM.js +3356 -0
  62. package/dist/components/chunk-AGHRB4JF.js +324 -0
  63. package/dist/components/chunk-AQP2D5EJ.js +2055 -0
  64. package/dist/components/chunk-BSJP7CBP.js +83 -0
  65. package/dist/components/chunk-CSCIHK7Q.js +3500 -0
  66. package/dist/components/chunk-EIO257PC.js +1836 -0
  67. package/dist/components/chunk-FMBD7UC4.js +5 -0
  68. package/dist/components/chunk-K2UTITRG.js +17627 -0
  69. package/dist/components/chunk-KSCS5N6A.js +572 -0
  70. package/dist/components/chunk-L5ZTLDWV.js +40 -0
  71. package/dist/components/chunk-LZXEDZCA.js +60 -0
  72. package/dist/components/chunk-ND2GUHAM.js +61 -0
  73. package/dist/components/chunk-NNHCCRGN.js +20425 -0
  74. package/dist/components/chunk-NZK2D7GU.js +68 -0
  75. package/dist/components/chunk-O5CBEL6O.js +1894 -0
  76. package/dist/components/chunk-QZHKN3VN.js +12 -0
  77. package/dist/components/chunk-SRAX5OIU.js +22 -0
  78. package/dist/components/chunk-WU5MYG2G.js +14 -0
  79. package/dist/components/chunk-XPW4576I.js +1146 -0
  80. package/dist/components/chunk-Z3N5DIM6.js +59 -0
  81. package/dist/components/chunk-ZUYEQ4TG.js +22 -0
  82. package/dist/components/chunk.js +23 -0
  83. package/dist/components/classDiagram-4FO5ZUOK.js +29 -0
  84. package/dist/components/classDiagram-v2-Q7XG4LA2.js +29 -0
  85. package/dist/components/compiler.js +2 -0
  86. package/dist/components/core.js +845 -0
  87. package/dist/components/cose-bilkent-S5V4N54A.js +2268 -0
  88. package/dist/components/cpp.js +225 -0
  89. package/dist/components/cs-CZ-2BRQDIVT.js +523 -0
  90. package/dist/components/csharp.js +260 -0
  91. package/dist/components/css.js +140 -0
  92. package/dist/components/cytoscape.esm.js +18114 -0
  93. package/dist/components/da-DK-5WZEPLOC.js +523 -0
  94. package/dist/components/dagre-BM42HDAG.js +325 -0
  95. package/dist/components/dagre.js +1936 -0
  96. package/dist/components/de-DE-XR44H4JA.js +523 -0
  97. package/dist/components/defaultLocale.js +201 -0
  98. package/dist/components/defineProperty.js +50 -0
  99. package/dist/components/diagram-2AECGRRQ.js +229 -0
  100. package/dist/components/diagram-5GNKFQAL.js +108 -0
  101. package/dist/components/diagram-KO2AKTUF.js +443 -0
  102. package/dist/components/diagram-LMA3HP47.js +139 -0
  103. package/dist/components/diagram-OG6HWLK6.js +541 -0
  104. package/dist/components/diff.js +39 -0
  105. package/dist/components/directory-open-01563666.js +26 -0
  106. package/dist/components/directory-open-4ed118d0.js +83 -0
  107. package/dist/components/dist.js +50 -0
  108. package/dist/components/dist2.js +3291 -0
  109. package/dist/components/dist3.js +1593 -0
  110. package/dist/components/documentSearch.js +378 -0
  111. package/dist/components/docx-preview.js +3113 -0
  112. package/dist/components/drawing.js +19 -0
  113. package/dist/components/ebook.js +16 -0
  114. package/dist/components/eda.js +20 -0
  115. package/dist/components/el-GR-BZB4AONW.js +523 -0
  116. package/dist/components/email.js +21 -0
  117. package/dist/components/en-B4ZKOASM.js +3 -0
  118. package/dist/components/erDiagram-TEJ5UH35.js +1719 -0
  119. package/dist/components/es-ES-U4NZUMDT.js +523 -0
  120. package/dist/components/eu-ES-A7QVB2H4.js +523 -0
  121. package/dist/components/eventmodeling-FCH6USID.js +3 -0
  122. package/dist/components/fa-IR-HGAKTJCU.js +523 -0
  123. package/dist/components/fflate.module.js +323 -0
  124. package/dist/components/fi-FI-Z5N7JZ37.js +523 -0
  125. package/dist/components/file-open-002ab408.js +38 -0
  126. package/dist/components/file-open-7c801643.js +24 -0
  127. package/dist/components/file-save-3189631c.js +40 -0
  128. package/dist/components/file-save-745eba88.js +36 -0
  129. package/dist/components/flowDiagram-I6XJVG4X.js +4181 -0
  130. package/dist/components/fr-FR-RHASNOE6.js +523 -0
  131. package/dist/components/ganttDiagram-6RSMTGT7.js +2182 -0
  132. package/dist/components/gitGraph-WXDBUCRP.js +3 -0
  133. package/dist/components/gitGraphDiagram-PVQCEYII.js +788 -0
  134. package/dist/components/gl-ES-HMX3MZ6V.js +523 -0
  135. package/dist/components/global-compiler.js +23 -0
  136. package/dist/components/global-renderer.js +23 -0
  137. package/dist/components/go.js +140 -0
  138. package/dist/components/graphlib.js +1267 -0
  139. package/dist/components/he-IL-6SHJWFNN.js +523 -0
  140. package/dist/components/hi-IN-IWLTKZ5I.js +523 -0
  141. package/dist/components/hu-HU-A5ZG7DT2.js +523 -0
  142. package/dist/components/id-ID-SAP4L64H.js +523 -0
  143. package/dist/components/image-GAAHSSAO.js +3 -0
  144. package/dist/components/image-blob-reduce.esm.js +1429 -0
  145. package/dist/components/image.js +17 -0
  146. package/dist/components/info-J43DQDTF.js +3 -0
  147. package/dist/components/infoDiagram-5YYISTIA.js +26 -0
  148. package/dist/components/ini.js +88 -0
  149. package/dist/components/init.js +15 -0
  150. package/dist/components/ishikawaDiagram-YF4QCWOH.js +718 -0
  151. package/dist/components/it-IT-JPQ66NNP.js +523 -0
  152. package/dist/components/ja-JP-DBVTYXUO.js +523 -0
  153. package/dist/components/java.js +169 -0
  154. package/dist/components/javascript.js +436 -0
  155. package/dist/components/journeyDiagram-JHISSGLW.js +885 -0
  156. package/dist/components/json.js +36 -0
  157. package/dist/components/jszip.min.js +3033 -0
  158. package/dist/components/kaa-6HZHGXH3.js +523 -0
  159. package/dist/components/kab-KAB-ZGHBKWFO.js +523 -0
  160. package/dist/components/kanban-definition-UN3LZRKU.js +986 -0
  161. package/dist/components/katex.js +21979 -0
  162. package/dist/components/kk-KZ-P5N5QNE5.js +523 -0
  163. package/dist/components/km-KH-HSX4SM5Z.js +523 -0
  164. package/dist/components/ko-KR-MTYHY66A.js +523 -0
  165. package/dist/components/ku-TR-6OUDTVRD.js +523 -0
  166. package/dist/components/lib.js +4877 -0
  167. package/dist/components/libarchive.js +360 -0
  168. package/dist/components/linear.js +289 -0
  169. package/dist/components/lt-LT-XHIRWOB4.js +523 -0
  170. package/dist/components/lv-LV-5QDEKY6T.js +523 -0
  171. package/dist/components/markdown.js +181 -0
  172. package/dist/components/md.js +17 -0
  173. package/dist/components/mermaid-parser.core.js +328 -0
  174. package/dist/components/mindmap-definition-RKZ34NQL.js +1016 -0
  175. package/dist/components/model.js +21 -0
  176. package/dist/components/mp4.js +12 -0
  177. package/dist/components/mr-IN-CRQNXWMA.js +523 -0
  178. package/dist/components/my-MM-5M5IBNSE.js +523 -0
  179. package/dist/components/nb-NO-T6EIAALU.js +523 -0
  180. package/dist/components/nestedRender.js +158 -0
  181. package/dist/components/nl-NL-IS3SIHDZ.js +523 -0
  182. package/dist/components/nn-NO-6E72VCQL.js +523 -0
  183. package/dist/components/objectSpread2.js +29 -0
  184. package/dist/components/objectWithoutProperties.js +28 -0
  185. package/dist/components/oc-FR-POXYY2M6.js +523 -0
  186. package/dist/components/ofd.js +5261 -0
  187. package/dist/components/ofd2.js +16 -0
  188. package/dist/components/ordinal.js +65 -0
  189. package/dist/components/pa-IN-N4M65BXN.js +523 -0
  190. package/dist/components/packet-YPE3B663.js +3 -0
  191. package/dist/components/pdf.js +24 -0
  192. package/dist/components/percentages-BXMCSKIN.js +3 -0
  193. package/dist/components/php.js +294 -0
  194. package/dist/components/pica.js +1009 -0
  195. package/dist/components/pie-LRSECV5Y.js +3 -0
  196. package/dist/components/pie.js +47 -0
  197. package/dist/components/pieDiagram-4H26LBE5.js +130 -0
  198. package/dist/components/pl-PL-T2D74RX3.js +523 -0
  199. package/dist/components/postal-mime.js +3146 -0
  200. package/dist/components/pptx.js +15 -0
  201. package/dist/components/printLayout.js +42 -0
  202. package/dist/components/prod.js +21770 -0
  203. package/dist/components/pt-BR-5N22H2LF.js +523 -0
  204. package/dist/components/pt-PT-UZXXM6DQ.js +523 -0
  205. package/dist/components/python.js +238 -0
  206. package/dist/components/quadrantDiagram-W4KKPZXB.js +1988 -0
  207. package/dist/components/radar-GUYGQ44K.js +3 -0
  208. package/dist/components/renderer.js +2 -0
  209. package/dist/components/requirementDiagram-4Y6WPE33.js +2230 -0
  210. package/dist/components/ro-RO-JPDTUUEW.js +523 -0
  211. package/dist/components/rough.esm.js +1355 -0
  212. package/dist/components/roundRect.js +90 -0
  213. package/dist/components/ru-RU-B4JR7IUQ.js +523 -0
  214. package/dist/components/rust.js +169 -0
  215. package/dist/components/sankeyDiagram-5OEKKPKP.js +972 -0
  216. package/dist/components/sequenceDiagram-3UESZ5HK.js +4255 -0
  217. package/dist/components/shared.js +175 -0
  218. package/dist/components/shared2.js +4 -0
  219. package/dist/components/si-LK-N5RQ5JYF.js +523 -0
  220. package/dist/components/sk-SK-C5VTKIMK.js +523 -0
  221. package/dist/components/sl-SI-NN7IZMDC.js +523 -0
  222. package/dist/components/sourceLoading.js +134 -0
  223. package/dist/components/sql.js +118 -0
  224. package/dist/components/src.js +2664 -0
  225. package/dist/components/src2.js +10722 -0
  226. package/dist/components/stateDiagram-AJRCARHV.js +217 -0
  227. package/dist/components/stateDiagram-v2-BHNVJYJU.js +27 -0
  228. package/dist/components/subset-shared.chunk.js +3 -0
  229. package/dist/components/subset-worker.chunk.js +21 -0
  230. package/dist/components/sv-SE-XGPEYMSR.js +523 -0
  231. package/dist/components/ta-IN-2NMHFXQM.js +523 -0
  232. package/dist/components/text.js +20 -0
  233. package/dist/components/th-TH-HPSO5L25.js +523 -0
  234. package/dist/components/three.module.js +13134 -0
  235. package/dist/components/time.js +910 -0
  236. package/dist/components/timeline-definition-PNZ67QCA.js +1084 -0
  237. package/dist/components/tr-TR-DEFEU3FU.js +523 -0
  238. package/dist/components/treeView-BLDUP644.js +3 -0
  239. package/dist/components/treemap-LRROVOQU.js +3 -0
  240. package/dist/components/typescript.js +521 -0
  241. package/dist/components/typst.js +25 -0
  242. package/dist/components/uk-UA-QMV73CPH.js +523 -0
  243. package/dist/components/umd.js +16 -0
  244. package/dist/components/use.js +422 -0
  245. package/dist/components/util.js +49 -0
  246. package/dist/components/vennDiagram-CIIHVFJN.js +1880 -0
  247. package/dist/components/vi-VN-M7AON7JQ.js +523 -0
  248. package/dist/components/viewerZoom.js +92 -0
  249. package/dist/components/wardley-L42UT6IY.js +3 -0
  250. package/dist/components/wardleyDiagram-YWT4CUSO.js +656 -0
  251. package/dist/components/wasm-pack-shim.js +1711 -0
  252. package/dist/components/wasm-pack-shim2.js +934 -0
  253. package/dist/components/wasm.js +97 -0
  254. package/dist/components/word.js +3055 -0
  255. package/dist/components/worker-ref.js +15 -20
  256. package/dist/components/xlsx.js +21 -0
  257. package/dist/components/xml.js +166 -0
  258. package/dist/components/xychartDiagram-2RQKCTM6.js +2015 -0
  259. package/dist/components/yaml.js +144 -0
  260. package/dist/components/zh-CN-LNUGB5OW.js +523 -0
  261. package/dist/components/zh-HK-E62DVLB3.js +523 -0
  262. package/dist/components/zh-TW-RAJ6MFWO.js +523 -0
  263. package/dist/file-viewer3.css +2 -0
  264. package/dist/index.mjs +3292 -5
  265. package/dist/src/App.vue.d.ts +3 -0
  266. package/dist/src/compare/CompareApp.vue.d.ts +3 -0
  267. package/dist/src/compare/main.d.ts +0 -0
  268. package/dist/src/compare/useSynchronizedScroll.d.ts +7 -0
  269. package/dist/src/components/HelloWorld.vue.d.ts +3 -0
  270. package/dist/src/components/utils.d.ts +4 -0
  271. package/dist/src/main.d.ts +0 -0
  272. package/dist/src/package/common/printCapability.d.ts +27 -0
  273. package/dist/src/package/common/printLayout.d.ts +16 -0
  274. package/dist/src/package/common/sourceLoading.d.ts +10 -0
  275. package/dist/src/package/common/type.d.ts +522 -8
  276. package/dist/src/package/common/worker-ref.d.ts +1 -1
  277. package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +74 -24
  278. package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +9 -0
  279. package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +29 -0
  280. package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +21 -0
  281. package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +8 -0
  282. package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +34 -0
  283. package/dist/src/package/components/FileViewer/index.d.ts +1 -1
  284. package/dist/src/package/components/FileViewer/util.d.ts +2 -1
  285. package/dist/src/package/index.d.ts +14 -4
  286. package/dist/src/package/use/documentLocation.d.ts +15 -0
  287. package/dist/src/package/use/documentSearch.d.ts +234 -0
  288. package/dist/src/package/use/index.d.ts +4 -0
  289. package/dist/src/package/use/loading.d.ts +33 -0
  290. package/dist/src/package/use/viewerZoom.d.ts +42 -0
  291. package/dist/src/package/use/worker.d.ts +2 -2
  292. package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +9 -0
  293. package/dist/src/package/vendors/archive/cache.d.ts +10 -0
  294. package/dist/src/package/vendors/archive/fallback.d.ts +9 -0
  295. package/dist/src/package/vendors/archive/index.d.ts +3 -0
  296. package/dist/src/package/vendors/archive/shared.d.ts +24 -0
  297. package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +7 -0
  298. package/dist/src/package/vendors/audio/index.d.ts +7 -0
  299. package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +9 -0
  300. package/dist/src/package/vendors/cad/index.d.ts +8 -0
  301. package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +15 -0
  302. package/dist/src/package/vendors/drawing/index.d.ts +7 -0
  303. package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +6 -0
  304. package/dist/src/package/vendors/ebook/index.d.ts +7 -0
  305. package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +8 -0
  306. package/dist/src/package/vendors/eda/index.d.ts +2 -0
  307. package/dist/src/package/vendors/eda/parser.d.ts +77 -0
  308. package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +10 -0
  309. package/dist/src/package/vendors/email/index.d.ts +2 -0
  310. package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +6 -13
  311. package/dist/src/package/vendors/image/index.d.ts +1 -1
  312. package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +6 -13
  313. package/dist/src/package/vendors/md/index.d.ts +1 -1
  314. package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +8 -0
  315. package/dist/src/package/vendors/model/index.d.ts +3 -0
  316. package/dist/src/package/vendors/model/shared.d.ts +1 -0
  317. package/dist/src/package/vendors/nestedRender.d.ts +10 -0
  318. package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +6 -0
  319. package/dist/src/package/vendors/ofd/index.d.ts +7 -0
  320. package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +10 -13
  321. package/dist/src/package/vendors/pdf/index.d.ts +2 -1
  322. package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
  323. package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +9 -81
  324. package/dist/src/package/vendors/pptx/index.d.ts +1 -1
  325. package/dist/src/package/vendors/renders.d.ts +1 -1
  326. package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +7 -13
  327. package/dist/src/package/vendors/text/index.d.ts +6 -2
  328. package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +15 -0
  329. package/dist/src/package/vendors/typst/index.d.ts +8 -0
  330. package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +6 -0
  331. package/dist/src/package/vendors/umd/index.d.ts +7 -0
  332. package/dist/src/package/vendors/umd/parser.d.ts +30 -0
  333. package/dist/src/package/vendors/word/doc.d.ts +5 -0
  334. package/dist/src/package/vendors/word/docx.d.ts +5 -0
  335. package/dist/src/package/vendors/word/docx.worker.d.ts +1 -0
  336. package/dist/src/package/vendors/word/index.d.ts +3 -0
  337. package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +80 -0
  338. package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +25 -0
  339. package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +6 -21
  340. package/dist/src/package/vendors/xlsx/index.d.ts +3 -2
  341. package/dist/src/package/vendors/xlsx/util.d.ts +0 -5
  342. package/dist/src/package/vendors/xlsx/worker/index.d.ts +4 -6
  343. package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +73 -0
  344. package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +1 -0
  345. package/dist/style.css +1 -57
  346. package/dist/wasm/cad/dwfv-render.wasm +0 -0
  347. package/dist/wasm/cad/dwg-worker.js +24 -0
  348. package/dist/wasm/cad/libredwg-web.js +15 -0
  349. package/dist/wasm/cad/libredwg-web.wasm +0 -0
  350. package/package.json +118 -42
  351. package/.vscode/extensions.json +0 -3
  352. package/dist/components/_commonjs-dynamic-modules.js +0 -6
  353. package/dist/components/_commonjsHelpers.js +0 -36
  354. package/dist/components/docx-preview.min.js +0 -5287
  355. package/dist/components/index.js +0 -1717
  356. package/dist/favicon.ico +0 -0
  357. package/dist/index.umd.js +0 -436
  358. package/dist/src/package/vendors/docx/index.d.ts +0 -4
  359. package/dist/src/package/vendors/xlsx/render.d.ts +0 -6
  360. package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +0 -36
  361. package/dist/src/package/vendors/xlsx/worker/xlsx/ExcelJsModel.d.ts +0 -39
  362. package/dist/src/package/vendors/xlsx/worker/xlsx/context.d.ts +0 -7
  363. package/dist/src/package/vendors/xlsx/worker/xlsx/index.d.ts +0 -4
  364. package/dist/src/package/vendors/xlsx/worker/xlsx/util.d.ts +0 -10
  365. package/dist/worker/pdf.worker.js +0 -66
  366. package/dist/worker/pptx.worker.js +0 -21
  367. package/dist/worker/sheet.worker.js +0 -38
  368. package/dist/worker/xlsx.worker.js +0 -65
  369. /package/dist/src/package/vendors/xlsx/worker/{xlsx → sheetjs}/color.d.ts +0 -0
  370. /package/dist/src/package/vendors/xlsx/worker/{xls → sheetjs}/index.d.ts +0 -0
@@ -0,0 +1,934 @@
1
+ import { n as e, t } from "./asyncToGenerator.js";
2
+ //#region node_modules/.pnpm/@myriaddreamin+typst-ts-web-compiler@0.7.0/node_modules/@myriaddreamin/typst-ts-web-compiler/pkg/typst_ts_web_compiler.mjs
3
+ e();
4
+ var n;
5
+ function r(e) {
6
+ x === b.length && b.push(b.length + 1);
7
+ let t = x;
8
+ return x = b[t], b[t] = e, t;
9
+ }
10
+ function i(e, t) {
11
+ if (!(e instanceof t)) throw Error(`expected instance of ${t.name}`);
12
+ }
13
+ var a = typeof FinalizationRegistry > "u" ? {
14
+ register: () => {},
15
+ unregister: () => {}
16
+ } : new FinalizationRegistry((e) => e.dtor(e.a, e.b));
17
+ function o(e) {
18
+ let t = typeof e;
19
+ if (t == "number" || t == "boolean" || e == null) return `${e}`;
20
+ if (t == "string") return `"${e}"`;
21
+ if (t == "symbol") {
22
+ let t = e.description;
23
+ return t == null ? "Symbol" : `Symbol(${t})`;
24
+ }
25
+ if (t == "function") {
26
+ let t = e.name;
27
+ return typeof t == "string" && t.length > 0 ? `Function(${t})` : "Function";
28
+ }
29
+ if (Array.isArray(e)) {
30
+ let t = e.length, n = "[";
31
+ t > 0 && (n += o(e[0]));
32
+ for (let r = 1; r < t; r++) n += ", " + o(e[r]);
33
+ return n += "]", n;
34
+ }
35
+ let n = /\[object ([^\]]+)\]/.exec(toString.call(e)), r;
36
+ if (n && n.length > 1) r = n[1];
37
+ else return toString.call(e);
38
+ if (r == "Object") try {
39
+ return "Object(" + JSON.stringify(e) + ")";
40
+ } catch (e) {
41
+ return "Object";
42
+ }
43
+ return e instanceof Error ? `${e.name}: ${e.message}\n${e.stack}` : r;
44
+ }
45
+ function s(e) {
46
+ e < 132 || (b[e] = x, x = e);
47
+ }
48
+ function c(e, t) {
49
+ e >>>= 0;
50
+ let n = f(), r = [];
51
+ for (let i = e; i < e + 4 * t; i += 4) r.push(D(n.getUint32(i, !0)));
52
+ return r;
53
+ }
54
+ function l(e, t) {
55
+ return e >>>= 0, h().subarray(e / 4, e / 4 + t);
56
+ }
57
+ function u(e, t) {
58
+ return e >>>= 0, _().subarray(e / 1, e / 1 + t);
59
+ }
60
+ var d = null;
61
+ function f() {
62
+ return (d === null || d.buffer.detached === !0 || d.buffer.detached === void 0 && d.buffer !== n.memory.buffer) && (d = new DataView(n.memory.buffer)), d;
63
+ }
64
+ function p(e, t) {
65
+ return e >>>= 0, A(e, t);
66
+ }
67
+ var m = null;
68
+ function h() {
69
+ return (m === null || m.byteLength === 0) && (m = new Uint32Array(n.memory.buffer)), m;
70
+ }
71
+ var g = null;
72
+ function _() {
73
+ return (g === null || g.byteLength === 0) && (g = new Uint8Array(n.memory.buffer)), g;
74
+ }
75
+ function v(e) {
76
+ return b[e];
77
+ }
78
+ function y(e, t) {
79
+ try {
80
+ return e.apply(this, t);
81
+ } catch (e) {
82
+ n.__wbindgen_export3(r(e));
83
+ }
84
+ }
85
+ var b = Array(128).fill(void 0);
86
+ b.push(void 0, null, !0, !1);
87
+ var x = b.length;
88
+ function S(e) {
89
+ return e == null;
90
+ }
91
+ function C(e, t, n, r) {
92
+ let i = {
93
+ a: e,
94
+ b: t,
95
+ cnt: 1,
96
+ dtor: n
97
+ }, o = (...e) => {
98
+ i.cnt++;
99
+ let t = i.a;
100
+ i.a = 0;
101
+ try {
102
+ return r(t, i.b, ...e);
103
+ } finally {
104
+ i.a = t, o._wbg_cb_unref();
105
+ }
106
+ };
107
+ return o._wbg_cb_unref = () => {
108
+ --i.cnt === 0 && (i.dtor(i.a, i.b), i.a = 0, a.unregister(i));
109
+ }, a.register(o, i, i), o;
110
+ }
111
+ function w(e, t) {
112
+ let n = t(e.length * 1, 1) >>> 0;
113
+ return _().set(e, n / 1), M = e.length, n;
114
+ }
115
+ function T(e, t) {
116
+ let n = t(e.length * 4, 4) >>> 0, i = f();
117
+ for (let t = 0; t < e.length; t++) i.setUint32(n + 4 * t, r(e[t]), !0);
118
+ return M = e.length, n;
119
+ }
120
+ function E(e, t, n) {
121
+ if (n === void 0) {
122
+ let n = j.encode(e), r = t(n.length, 1) >>> 0;
123
+ return _().subarray(r, r + n.length).set(n), M = n.length, r;
124
+ }
125
+ let r = e.length, i = t(r, 1) >>> 0, a = _(), o = 0;
126
+ for (; o < r; o++) {
127
+ let t = e.charCodeAt(o);
128
+ if (t > 127) break;
129
+ a[i + o] = t;
130
+ }
131
+ if (o !== r) {
132
+ o !== 0 && (e = e.slice(o)), i = n(i, r, r = o + e.length * 3, 1) >>> 0;
133
+ let t = _().subarray(i + o, i + r), a = j.encodeInto(e, t);
134
+ o += a.written, i = n(i, r, o, 1) >>> 0;
135
+ }
136
+ return M = o, i;
137
+ }
138
+ function D(e) {
139
+ let t = v(e);
140
+ return s(e), t;
141
+ }
142
+ var O = new TextDecoder("utf-8", {
143
+ ignoreBOM: !0,
144
+ fatal: !0
145
+ });
146
+ O.decode();
147
+ var ee = 2146435072, k = 0;
148
+ function A(e, t) {
149
+ return k += t, k >= ee && (O = new TextDecoder("utf-8", {
150
+ ignoreBOM: !0,
151
+ fatal: !0
152
+ }), O.decode(), k = t), O.decode(_().subarray(e, e + t));
153
+ }
154
+ var j = new TextEncoder();
155
+ "encodeInto" in j || (j.encodeInto = function(e, t) {
156
+ let n = j.encode(e);
157
+ return t.set(n), {
158
+ read: e.length,
159
+ written: n.length
160
+ };
161
+ });
162
+ var M = 0;
163
+ function te(e, t, i) {
164
+ n.__wasm_bindgen_func_elem_944(e, t, r(i));
165
+ }
166
+ function ne(e, t, i, a) {
167
+ n.__wasm_bindgen_func_elem_37350(e, t, r(i), r(a));
168
+ }
169
+ var N = typeof FinalizationRegistry > "u" ? {
170
+ register: () => {},
171
+ unregister: () => {}
172
+ } : new FinalizationRegistry((e) => n.__wbg_incrserver_free(e >>> 0, 1)), P = typeof FinalizationRegistry > "u" ? {
173
+ register: () => {},
174
+ unregister: () => {}
175
+ } : new FinalizationRegistry((e) => n.__wbg_proxycontext_free(e >>> 0, 1)), F = typeof FinalizationRegistry > "u" ? {
176
+ register: () => {},
177
+ unregister: () => {}
178
+ } : new FinalizationRegistry((e) => n.__wbg_typstcompileworld_free(e >>> 0, 1)), I = typeof FinalizationRegistry > "u" ? {
179
+ register: () => {},
180
+ unregister: () => {}
181
+ } : new FinalizationRegistry((e) => n.__wbg_typstcompiler_free(e >>> 0, 1)), L = typeof FinalizationRegistry > "u" ? {
182
+ register: () => {},
183
+ unregister: () => {}
184
+ } : new FinalizationRegistry((e) => n.__wbg_typstcompilerbuilder_free(e >>> 0, 1)), R = typeof FinalizationRegistry > "u" ? {
185
+ register: () => {},
186
+ unregister: () => {}
187
+ } : new FinalizationRegistry((e) => n.__wbg_typstfontresolver_free(e >>> 0, 1)), z = typeof FinalizationRegistry > "u" ? {
188
+ register: () => {},
189
+ unregister: () => {}
190
+ } : new FinalizationRegistry((e) => n.__wbg_typstfontresolverbuilder_free(e >>> 0, 1)), B = class e {
191
+ static __wrap(t) {
192
+ t >>>= 0;
193
+ let n = Object.create(e.prototype);
194
+ return n.__wbg_ptr = t, N.register(n, n.__wbg_ptr, n), n;
195
+ }
196
+ __destroy_into_raw() {
197
+ let e = this.__wbg_ptr;
198
+ return this.__wbg_ptr = 0, N.unregister(this), e;
199
+ }
200
+ free() {
201
+ let e = this.__destroy_into_raw();
202
+ n.__wbg_incrserver_free(e, 0);
203
+ }
204
+ set_attach_debug_info(e) {
205
+ n.incrserver_set_attach_debug_info(this.__wbg_ptr, e);
206
+ }
207
+ current() {
208
+ try {
209
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
210
+ n.incrserver_current(r, this.__wbg_ptr);
211
+ var e = f().getInt32(r + 0, !0), t = f().getInt32(r + 4, !0);
212
+ let i;
213
+ return e !== 0 && (i = u(e, t).slice(), n.__wbindgen_export4(e, t * 1, 1)), i;
214
+ } finally {
215
+ n.__wbindgen_add_to_stack_pointer(16);
216
+ }
217
+ }
218
+ reset() {
219
+ n.incrserver_reset(this.__wbg_ptr);
220
+ }
221
+ };
222
+ Symbol.dispose && (B.prototype[Symbol.dispose] = B.prototype.free);
223
+ var V = class e {
224
+ static __wrap(t) {
225
+ t >>>= 0;
226
+ let n = Object.create(e.prototype);
227
+ return n.__wbg_ptr = t, P.register(n, n.__wbg_ptr, n), n;
228
+ }
229
+ __destroy_into_raw() {
230
+ let e = this.__wbg_ptr;
231
+ return this.__wbg_ptr = 0, P.unregister(this), e;
232
+ }
233
+ free() {
234
+ let e = this.__destroy_into_raw();
235
+ n.__wbg_proxycontext_free(e, 0);
236
+ }
237
+ constructor(e) {
238
+ let t = n.proxycontext_new(r(e));
239
+ return this.__wbg_ptr = t >>> 0, P.register(this, this.__wbg_ptr, this), this;
240
+ }
241
+ get context() {
242
+ return D(n.proxycontext_context(this.__wbg_ptr));
243
+ }
244
+ untar(e, t) {
245
+ try {
246
+ let a = n.__wbindgen_add_to_stack_pointer(-16), o = w(e, n.__wbindgen_export), s = M;
247
+ n.proxycontext_untar(a, this.__wbg_ptr, o, s, r(t));
248
+ var i = f().getInt32(a + 0, !0);
249
+ if (f().getInt32(a + 4, !0)) throw D(i);
250
+ } finally {
251
+ n.__wbindgen_add_to_stack_pointer(16);
252
+ }
253
+ }
254
+ };
255
+ Symbol.dispose && (V.prototype[Symbol.dispose] = V.prototype.free);
256
+ var H = class e {
257
+ static __wrap(t) {
258
+ t >>>= 0;
259
+ let n = Object.create(e.prototype);
260
+ return n.__wbg_ptr = t, F.register(n, n.__wbg_ptr, n), n;
261
+ }
262
+ __destroy_into_raw() {
263
+ let e = this.__wbg_ptr;
264
+ return this.__wbg_ptr = 0, F.unregister(this), e;
265
+ }
266
+ free() {
267
+ let e = this.__destroy_into_raw();
268
+ n.__wbg_typstcompileworld_free(e, 0);
269
+ }
270
+ compile(e, t) {
271
+ try {
272
+ let a = n.__wbindgen_add_to_stack_pointer(-16);
273
+ n.typstcompileworld_compile(a, this.__wbg_ptr, e, t);
274
+ var r = f().getInt32(a + 0, !0), i = f().getInt32(a + 4, !0);
275
+ if (f().getInt32(a + 8, !0)) throw D(i);
276
+ return D(r);
277
+ } finally {
278
+ n.__wbindgen_add_to_stack_pointer(16);
279
+ }
280
+ }
281
+ title(e) {
282
+ try {
283
+ let a = n.__wbindgen_add_to_stack_pointer(-16);
284
+ n.typstcompileworld_title(a, this.__wbg_ptr, e);
285
+ var t = f().getInt32(a + 0, !0), r = f().getInt32(a + 4, !0), i = f().getInt32(a + 8, !0);
286
+ if (f().getInt32(a + 12, !0)) throw D(i);
287
+ let o;
288
+ return t !== 0 && (o = p(t, r).slice(), n.__wbindgen_export4(t, r * 1, 1)), o;
289
+ } finally {
290
+ n.__wbindgen_add_to_stack_pointer(16);
291
+ }
292
+ }
293
+ get_artifact(e, t) {
294
+ try {
295
+ let a = n.__wbindgen_add_to_stack_pointer(-16);
296
+ n.typstcompileworld_get_artifact(a, this.__wbg_ptr, e, t);
297
+ var r = f().getInt32(a + 0, !0), i = f().getInt32(a + 4, !0);
298
+ if (f().getInt32(a + 8, !0)) throw D(i);
299
+ return D(r);
300
+ } finally {
301
+ n.__wbindgen_add_to_stack_pointer(16);
302
+ }
303
+ }
304
+ query(e, t, r) {
305
+ let i, a;
306
+ try {
307
+ let g = n.__wbindgen_add_to_stack_pointer(-16), _ = E(t, n.__wbindgen_export, n.__wbindgen_export2), v = M;
308
+ var o = S(r) ? 0 : E(r, n.__wbindgen_export, n.__wbindgen_export2), s = M;
309
+ n.typstcompileworld_query(g, this.__wbg_ptr, e, _, v, o, s);
310
+ var c = f().getInt32(g + 0, !0), l = f().getInt32(g + 4, !0), u = f().getInt32(g + 8, !0), d = f().getInt32(g + 12, !0), m = c, h = l;
311
+ if (d) throw m = 0, h = 0, D(u);
312
+ return i = m, a = h, p(m, h);
313
+ } finally {
314
+ n.__wbindgen_add_to_stack_pointer(16), n.__wbindgen_export4(i, a, 1);
315
+ }
316
+ }
317
+ incr_compile(e, t) {
318
+ try {
319
+ let o = n.__wbindgen_add_to_stack_pointer(-16);
320
+ i(e, B), n.typstcompileworld_incr_compile(o, this.__wbg_ptr, e.__wbg_ptr, t);
321
+ var r = f().getInt32(o + 0, !0), a = f().getInt32(o + 4, !0);
322
+ if (f().getInt32(o + 8, !0)) throw D(a);
323
+ return D(r);
324
+ } finally {
325
+ n.__wbindgen_add_to_stack_pointer(16);
326
+ }
327
+ }
328
+ };
329
+ Symbol.dispose && (H.prototype[Symbol.dispose] = H.prototype.free);
330
+ var U = class e {
331
+ static __wrap(t) {
332
+ t >>>= 0;
333
+ let n = Object.create(e.prototype);
334
+ return n.__wbg_ptr = t, I.register(n, n.__wbg_ptr, n), n;
335
+ }
336
+ __destroy_into_raw() {
337
+ let e = this.__wbg_ptr;
338
+ return this.__wbg_ptr = 0, I.unregister(this), e;
339
+ }
340
+ free() {
341
+ let e = this.__destroy_into_raw();
342
+ n.__wbg_typstcompiler_free(e, 0);
343
+ }
344
+ reset() {
345
+ try {
346
+ let t = n.__wbindgen_add_to_stack_pointer(-16);
347
+ n.typstcompiler_reset(t, this.__wbg_ptr);
348
+ var e = f().getInt32(t + 0, !0);
349
+ if (f().getInt32(t + 4, !0)) throw D(e);
350
+ } finally {
351
+ n.__wbindgen_add_to_stack_pointer(16);
352
+ }
353
+ }
354
+ set_fonts(e) {
355
+ try {
356
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
357
+ i(e, G), n.typstcompiler_set_fonts(r, this.__wbg_ptr, e.__wbg_ptr);
358
+ var t = f().getInt32(r + 0, !0);
359
+ if (f().getInt32(r + 4, !0)) throw D(t);
360
+ } finally {
361
+ n.__wbindgen_add_to_stack_pointer(16);
362
+ }
363
+ }
364
+ set_inputs(e) {
365
+ try {
366
+ let i = n.__wbindgen_add_to_stack_pointer(-16);
367
+ n.typstcompiler_set_inputs(i, this.__wbg_ptr, r(e));
368
+ var t = f().getInt32(i + 0, !0);
369
+ if (f().getInt32(i + 4, !0)) throw D(t);
370
+ } finally {
371
+ n.__wbindgen_add_to_stack_pointer(16);
372
+ }
373
+ }
374
+ add_source(e, t) {
375
+ let r = E(e, n.__wbindgen_export, n.__wbindgen_export2), i = M, a = E(t, n.__wbindgen_export, n.__wbindgen_export2), o = M;
376
+ return n.typstcompiler_add_source(this.__wbg_ptr, r, i, a, o) !== 0;
377
+ }
378
+ map_shadow(e, t) {
379
+ let r = E(e, n.__wbindgen_export, n.__wbindgen_export2), i = M, a = w(t, n.__wbindgen_export), o = M;
380
+ return n.typstcompiler_map_shadow(this.__wbg_ptr, r, i, a, o) !== 0;
381
+ }
382
+ unmap_shadow(e) {
383
+ let t = E(e, n.__wbindgen_export, n.__wbindgen_export2), r = M;
384
+ return n.typstcompiler_unmap_shadow(this.__wbg_ptr, t, r) !== 0;
385
+ }
386
+ reset_shadow() {
387
+ n.typstcompiler_reset_shadow(this.__wbg_ptr);
388
+ }
389
+ get_loaded_fonts() {
390
+ try {
391
+ let i = n.__wbindgen_add_to_stack_pointer(-16);
392
+ n.typstcompiler_get_loaded_fonts(i, this.__wbg_ptr);
393
+ var e = f().getInt32(i + 0, !0), t = f().getInt32(i + 4, !0), r = c(e, t).slice();
394
+ return n.__wbindgen_export4(e, t * 4, 4), r;
395
+ } finally {
396
+ n.__wbindgen_add_to_stack_pointer(16);
397
+ }
398
+ }
399
+ get_ast(e) {
400
+ let t, r;
401
+ try {
402
+ let u = n.__wbindgen_add_to_stack_pointer(-16), d = E(e, n.__wbindgen_export, n.__wbindgen_export2), m = M;
403
+ n.typstcompiler_get_ast(u, this.__wbg_ptr, d, m);
404
+ var i = f().getInt32(u + 0, !0), a = f().getInt32(u + 4, !0), o = f().getInt32(u + 8, !0), s = f().getInt32(u + 12, !0), c = i, l = a;
405
+ if (s) throw c = 0, l = 0, D(o);
406
+ return t = c, r = l, p(c, l);
407
+ } finally {
408
+ n.__wbindgen_add_to_stack_pointer(16), n.__wbindgen_export4(t, r, 1);
409
+ }
410
+ }
411
+ get_semantic_token_legend() {
412
+ try {
413
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
414
+ n.typstcompiler_get_semantic_token_legend(r, this.__wbg_ptr);
415
+ var e = f().getInt32(r + 0, !0), t = f().getInt32(r + 4, !0);
416
+ if (f().getInt32(r + 8, !0)) throw D(t);
417
+ return D(e);
418
+ } finally {
419
+ n.__wbindgen_add_to_stack_pointer(16);
420
+ }
421
+ }
422
+ get_semantic_tokens(e, t, r) {
423
+ try {
424
+ let u = n.__wbindgen_add_to_stack_pointer(-16), d = E(e, n.__wbindgen_export, n.__wbindgen_export2), p = M;
425
+ var i = S(t) ? 0 : E(t, n.__wbindgen_export, n.__wbindgen_export2), a = M, o = S(r) ? 0 : E(r, n.__wbindgen_export, n.__wbindgen_export2), s = M;
426
+ n.typstcompiler_get_semantic_tokens(u, this.__wbg_ptr, d, p, i, a, o, s);
427
+ var c = f().getInt32(u + 0, !0), l = f().getInt32(u + 4, !0);
428
+ if (f().getInt32(u + 8, !0)) throw D(l);
429
+ return D(c);
430
+ } finally {
431
+ n.__wbindgen_add_to_stack_pointer(16);
432
+ }
433
+ }
434
+ snapshot(e, t, r) {
435
+ try {
436
+ let p = n.__wbindgen_add_to_stack_pointer(-16);
437
+ var i = S(e) ? 0 : E(e, n.__wbindgen_export, n.__wbindgen_export2), a = M, o = S(t) ? 0 : E(t, n.__wbindgen_export, n.__wbindgen_export2), s = M, c = S(r) ? 0 : T(r, n.__wbindgen_export), l = M;
438
+ n.typstcompiler_snapshot(p, this.__wbg_ptr, i, a, o, s, c, l);
439
+ var u = f().getInt32(p + 0, !0), d = f().getInt32(p + 4, !0);
440
+ if (f().getInt32(p + 8, !0)) throw D(d);
441
+ return H.__wrap(u);
442
+ } finally {
443
+ n.__wbindgen_add_to_stack_pointer(16);
444
+ }
445
+ }
446
+ get_artifact(e, t) {
447
+ try {
448
+ let a = n.__wbindgen_add_to_stack_pointer(-16), o = E(e, n.__wbindgen_export, n.__wbindgen_export2), s = M;
449
+ n.typstcompiler_get_artifact(a, this.__wbg_ptr, o, s, t);
450
+ var r = f().getInt32(a + 0, !0), i = f().getInt32(a + 4, !0);
451
+ if (f().getInt32(a + 8, !0)) throw D(i);
452
+ return D(r);
453
+ } finally {
454
+ n.__wbindgen_add_to_stack_pointer(16);
455
+ }
456
+ }
457
+ compile(e, t, r, i) {
458
+ try {
459
+ let d = n.__wbindgen_add_to_stack_pointer(-16);
460
+ var a = S(e) ? 0 : E(e, n.__wbindgen_export, n.__wbindgen_export2), o = M, s = S(t) ? 0 : T(t, n.__wbindgen_export), c = M;
461
+ let p = E(r, n.__wbindgen_export, n.__wbindgen_export2), m = M;
462
+ n.typstcompiler_compile(d, this.__wbg_ptr, a, o, s, c, p, m, i);
463
+ var l = f().getInt32(d + 0, !0), u = f().getInt32(d + 4, !0);
464
+ if (f().getInt32(d + 8, !0)) throw D(u);
465
+ return D(l);
466
+ } finally {
467
+ n.__wbindgen_add_to_stack_pointer(16);
468
+ }
469
+ }
470
+ query(e, t, r, i) {
471
+ let a, o;
472
+ try {
473
+ let y = n.__wbindgen_add_to_stack_pointer(-16), b = E(e, n.__wbindgen_export, n.__wbindgen_export2), x = M;
474
+ var s = S(t) ? 0 : T(t, n.__wbindgen_export), c = M;
475
+ let C = E(r, n.__wbindgen_export, n.__wbindgen_export2), w = M;
476
+ var l = S(i) ? 0 : E(i, n.__wbindgen_export, n.__wbindgen_export2), u = M;
477
+ n.typstcompiler_query(y, this.__wbg_ptr, b, x, s, c, C, w, l, u);
478
+ var d = f().getInt32(y + 0, !0), m = f().getInt32(y + 4, !0), h = f().getInt32(y + 8, !0), g = f().getInt32(y + 12, !0), _ = d, v = m;
479
+ if (g) throw _ = 0, v = 0, D(h);
480
+ return a = _, o = v, p(_, v);
481
+ } finally {
482
+ n.__wbindgen_add_to_stack_pointer(16), n.__wbindgen_export4(a, o, 1);
483
+ }
484
+ }
485
+ create_incr_server() {
486
+ try {
487
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
488
+ n.typstcompiler_create_incr_server(r, this.__wbg_ptr);
489
+ var e = f().getInt32(r + 0, !0), t = f().getInt32(r + 4, !0);
490
+ if (f().getInt32(r + 8, !0)) throw D(t);
491
+ return B.__wrap(e);
492
+ } finally {
493
+ n.__wbindgen_add_to_stack_pointer(16);
494
+ }
495
+ }
496
+ incr_compile(e, t, r, a) {
497
+ try {
498
+ let u = n.__wbindgen_add_to_stack_pointer(-16), d = E(e, n.__wbindgen_export, n.__wbindgen_export2), p = M;
499
+ var o = S(t) ? 0 : T(t, n.__wbindgen_export), s = M;
500
+ i(r, B), n.typstcompiler_incr_compile(u, this.__wbg_ptr, d, p, o, s, r.__wbg_ptr, a);
501
+ var c = f().getInt32(u + 0, !0), l = f().getInt32(u + 4, !0);
502
+ if (f().getInt32(u + 8, !0)) throw D(l);
503
+ return D(c);
504
+ } finally {
505
+ n.__wbindgen_add_to_stack_pointer(16);
506
+ }
507
+ }
508
+ };
509
+ Symbol.dispose && (U.prototype[Symbol.dispose] = U.prototype.free);
510
+ var W = class {
511
+ __destroy_into_raw() {
512
+ let e = this.__wbg_ptr;
513
+ return this.__wbg_ptr = 0, L.unregister(this), e;
514
+ }
515
+ free() {
516
+ let e = this.__destroy_into_raw();
517
+ n.__wbg_typstcompilerbuilder_free(e, 0);
518
+ }
519
+ constructor() {
520
+ try {
521
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
522
+ n.typstcompilerbuilder_new(r);
523
+ var e = f().getInt32(r + 0, !0), t = f().getInt32(r + 4, !0);
524
+ if (f().getInt32(r + 8, !0)) throw D(t);
525
+ return this.__wbg_ptr = e >>> 0, L.register(this, this.__wbg_ptr, this), this;
526
+ } finally {
527
+ n.__wbindgen_add_to_stack_pointer(16);
528
+ }
529
+ }
530
+ set_dummy_access_model() {
531
+ try {
532
+ let t = n.__wbindgen_add_to_stack_pointer(-16);
533
+ n.typstcompilerbuilder_set_dummy_access_model(t, this.__wbg_ptr);
534
+ var e = f().getInt32(t + 0, !0);
535
+ if (f().getInt32(t + 4, !0)) throw D(e);
536
+ } finally {
537
+ n.__wbindgen_add_to_stack_pointer(16);
538
+ }
539
+ }
540
+ set_access_model(e, t, i, a, o) {
541
+ return D(n.typstcompilerbuilder_set_access_model(this.__wbg_ptr, r(e), r(t), r(i), r(a), r(o)));
542
+ }
543
+ set_package_registry(e, t) {
544
+ return D(n.typstcompilerbuilder_set_package_registry(this.__wbg_ptr, r(e), r(t)));
545
+ }
546
+ add_raw_font(e) {
547
+ return D(n.typstcompilerbuilder_add_raw_font(this.__wbg_ptr, r(e)));
548
+ }
549
+ add_lazy_font(e, t) {
550
+ return D(n.typstcompilerbuilder_add_lazy_font(this.__wbg_ptr, r(e), r(t)));
551
+ }
552
+ build() {
553
+ let e = this.__destroy_into_raw();
554
+ return D(n.typstcompilerbuilder_build(e));
555
+ }
556
+ };
557
+ Symbol.dispose && (W.prototype[Symbol.dispose] = W.prototype.free);
558
+ var G = class e {
559
+ static __wrap(t) {
560
+ t >>>= 0;
561
+ let n = Object.create(e.prototype);
562
+ return n.__wbg_ptr = t, R.register(n, n.__wbg_ptr, n), n;
563
+ }
564
+ __destroy_into_raw() {
565
+ let e = this.__wbg_ptr;
566
+ return this.__wbg_ptr = 0, R.unregister(this), e;
567
+ }
568
+ free() {
569
+ let e = this.__destroy_into_raw();
570
+ n.__wbg_typstfontresolver_free(e, 0);
571
+ }
572
+ };
573
+ Symbol.dispose && (G.prototype[Symbol.dispose] = G.prototype.free);
574
+ var K = class {
575
+ __destroy_into_raw() {
576
+ let e = this.__wbg_ptr;
577
+ return this.__wbg_ptr = 0, z.unregister(this), e;
578
+ }
579
+ free() {
580
+ let e = this.__destroy_into_raw();
581
+ n.__wbg_typstfontresolverbuilder_free(e, 0);
582
+ }
583
+ constructor() {
584
+ try {
585
+ let r = n.__wbindgen_add_to_stack_pointer(-16);
586
+ n.typstfontresolverbuilder_new(r);
587
+ var e = f().getInt32(r + 0, !0), t = f().getInt32(r + 4, !0);
588
+ if (f().getInt32(r + 8, !0)) throw D(t);
589
+ return this.__wbg_ptr = e >>> 0, z.register(this, this.__wbg_ptr, this), this;
590
+ } finally {
591
+ n.__wbindgen_add_to_stack_pointer(16);
592
+ }
593
+ }
594
+ get_font_info(e) {
595
+ try {
596
+ let a = n.__wbindgen_add_to_stack_pointer(-16);
597
+ n.typstfontresolverbuilder_get_font_info(a, this.__wbg_ptr, r(e));
598
+ var t = f().getInt32(a + 0, !0), i = f().getInt32(a + 4, !0);
599
+ if (f().getInt32(a + 8, !0)) throw D(i);
600
+ return D(t);
601
+ } finally {
602
+ n.__wbindgen_add_to_stack_pointer(16);
603
+ }
604
+ }
605
+ add_raw_font(e) {
606
+ try {
607
+ let i = n.__wbindgen_add_to_stack_pointer(-16);
608
+ n.typstfontresolverbuilder_add_raw_font(i, this.__wbg_ptr, r(e));
609
+ var t = f().getInt32(i + 0, !0);
610
+ if (f().getInt32(i + 4, !0)) throw D(t);
611
+ } finally {
612
+ n.__wbindgen_add_to_stack_pointer(16);
613
+ }
614
+ }
615
+ add_lazy_font(e, t) {
616
+ try {
617
+ let a = n.__wbindgen_add_to_stack_pointer(-16);
618
+ n.typstfontresolverbuilder_add_lazy_font(a, this.__wbg_ptr, r(e), r(t));
619
+ var i = f().getInt32(a + 0, !0);
620
+ if (f().getInt32(a + 4, !0)) throw D(i);
621
+ } finally {
622
+ n.__wbindgen_add_to_stack_pointer(16);
623
+ }
624
+ }
625
+ build() {
626
+ let e = this.__destroy_into_raw();
627
+ return D(n.typstfontresolverbuilder_build(e));
628
+ }
629
+ };
630
+ Symbol.dispose && (K.prototype[Symbol.dispose] = K.prototype.free);
631
+ function re(e) {
632
+ return D(n.get_font_info(r(e)));
633
+ }
634
+ var ie = new Set([
635
+ "basic",
636
+ "cors",
637
+ "default"
638
+ ]);
639
+ function ae(e, t) {
640
+ return q.apply(this, arguments);
641
+ }
642
+ function q() {
643
+ return q = t(function* (e, t) {
644
+ if (typeof Response == "function" && e instanceof Response) {
645
+ if (typeof WebAssembly.instantiateStreaming == "function") try {
646
+ return yield WebAssembly.instantiateStreaming(e, t);
647
+ } catch (t) {
648
+ if (e.ok && ie.has(e.type) && e.headers.get("Content-Type") !== "application/wasm") console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", t);
649
+ else throw t;
650
+ }
651
+ let n = yield e.arrayBuffer();
652
+ return yield WebAssembly.instantiate(n, t);
653
+ } else {
654
+ let n = yield WebAssembly.instantiate(e, t);
655
+ return n instanceof WebAssembly.Instance ? {
656
+ instance: n,
657
+ module: e
658
+ } : n;
659
+ }
660
+ }), q.apply(this, arguments);
661
+ }
662
+ function J() {
663
+ let e = {};
664
+ return e.wbg = {}, e.wbg.__wbg_Error_52673b7de5a0ca89 = function(e, t) {
665
+ return r(Error(p(e, t)));
666
+ }, e.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(e) {
667
+ return Number(v(e));
668
+ }, e.wbg.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(e, t) {
669
+ let n = v(t), r = typeof n == "bigint" ? n : void 0;
670
+ f().setBigInt64(e + 8, S(r) ? BigInt(0) : r, !0), f().setInt32(e + 0, !S(r), !0);
671
+ }, e.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(e) {
672
+ let t = v(e), n = typeof t == "boolean" ? t : void 0;
673
+ return S(n) ? 16777215 : +!!n;
674
+ }, e.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(e, t) {
675
+ let r = E(o(v(t)), n.__wbindgen_export, n.__wbindgen_export2), i = M;
676
+ f().setInt32(e + 4, i, !0), f().setInt32(e + 0, r, !0);
677
+ }, e.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(e, t) {
678
+ return v(e) in v(t);
679
+ }, e.wbg.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(e) {
680
+ return typeof v(e) == "bigint";
681
+ }, e.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(e) {
682
+ return typeof v(e) == "function";
683
+ }, e.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(e) {
684
+ let t = v(e);
685
+ return typeof t == "object" && !!t;
686
+ }, e.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(e) {
687
+ return typeof v(e) == "string";
688
+ }, e.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(e) {
689
+ return v(e) === void 0;
690
+ }, e.wbg.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(e, t) {
691
+ return v(e) === v(t);
692
+ }, e.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(e, t) {
693
+ return v(e) == v(t);
694
+ }, e.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(e, t) {
695
+ let n = v(t), r = typeof n == "number" ? n : void 0;
696
+ f().setFloat64(e + 8, S(r) ? 0 : r, !0), f().setInt32(e + 0, !S(r), !0);
697
+ }, e.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(e, t) {
698
+ let r = v(t), i = typeof r == "string" ? r : void 0;
699
+ var a = S(i) ? 0 : E(i, n.__wbindgen_export, n.__wbindgen_export2), o = M;
700
+ f().setInt32(e + 4, o, !0), f().setInt32(e + 0, a, !0);
701
+ }, e.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(e, t) {
702
+ throw Error(p(e, t));
703
+ }, e.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(e) {
704
+ v(e)._wbg_cb_unref();
705
+ }, e.wbg.__wbg_call_3020136f7a2d6e44 = function() {
706
+ return y(function(e, t, n) {
707
+ return r(v(e).call(v(t), v(n)));
708
+ }, arguments);
709
+ }, e.wbg.__wbg_call_78f94eb02ec7f9b2 = function() {
710
+ return y(function(e, t, n, i, a) {
711
+ return r(v(e).call(v(t), v(n), v(i), v(a)));
712
+ }, arguments);
713
+ }, e.wbg.__wbg_call_abb4ff46ce38be40 = function() {
714
+ return y(function(e, t) {
715
+ return r(v(e).call(v(t)));
716
+ }, arguments);
717
+ }, e.wbg.__wbg_done_62ea16af4ce34b24 = function(e) {
718
+ return v(e).done;
719
+ }, e.wbg.__wbg_entries_83c79938054e065f = function(e) {
720
+ return r(Object.entries(v(e)));
721
+ }, e.wbg.__wbg_error_7534b8e9a36f1ab4 = function(e, t) {
722
+ let r, i;
723
+ try {
724
+ r = e, i = t, console.error(p(e, t));
725
+ } finally {
726
+ n.__wbindgen_export4(r, i, 1);
727
+ }
728
+ }, e.wbg.__wbg_error_85faeb8919b11cc6 = function(e, t, n) {
729
+ console.error(v(e), v(t), v(n));
730
+ }, e.wbg.__wbg_getTimezoneOffset_45389e26d6f46823 = function(e) {
731
+ return v(e).getTimezoneOffset();
732
+ }, e.wbg.__wbg_get_6b7bd52aca3f9671 = function(e, t) {
733
+ let n = v(e)[t >>> 0];
734
+ return r(n);
735
+ }, e.wbg.__wbg_get_af9dab7e9603ea93 = function() {
736
+ return y(function(e, t) {
737
+ return r(Reflect.get(v(e), v(t)));
738
+ }, arguments);
739
+ }, e.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(e, t) {
740
+ let n = v(e)[v(t)];
741
+ return r(n);
742
+ }, e.wbg.__wbg_info_ce6bcc489c22f6f0 = function(e) {
743
+ console.info(v(e));
744
+ }, e.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(e) {
745
+ let t;
746
+ try {
747
+ t = v(e) instanceof ArrayBuffer;
748
+ } catch (e) {
749
+ t = !1;
750
+ }
751
+ return t;
752
+ }, e.wbg.__wbg_instanceof_Map_084be8da74364158 = function(e) {
753
+ let t;
754
+ try {
755
+ t = v(e) instanceof Map;
756
+ } catch (e) {
757
+ t = !1;
758
+ }
759
+ return t;
760
+ }, e.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(e) {
761
+ let t;
762
+ try {
763
+ t = v(e) instanceof Uint8Array;
764
+ } catch (e) {
765
+ t = !1;
766
+ }
767
+ return t;
768
+ }, e.wbg.__wbg_isArray_51fd9e6422c0a395 = function(e) {
769
+ return Array.isArray(v(e));
770
+ }, e.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(e) {
771
+ return Number.isSafeInteger(v(e));
772
+ }, e.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() {
773
+ let e = Symbol.iterator;
774
+ return r(e);
775
+ }, e.wbg.__wbg_length_22ac23eaec9d8053 = function(e) {
776
+ return v(e).length;
777
+ }, e.wbg.__wbg_length_d45040a40c570362 = function(e) {
778
+ return v(e).length;
779
+ }, e.wbg.__wbg_new_1ba21ce319a06297 = function() {
780
+ return r({});
781
+ }, e.wbg.__wbg_new_25f239778d6112b9 = function() {
782
+ return r([]);
783
+ }, e.wbg.__wbg_new_6421f6084cc5bc5a = function(e) {
784
+ return r(new Uint8Array(v(e)));
785
+ }, e.wbg.__wbg_new_8a6f238a6ece86ea = function() {
786
+ return r(/* @__PURE__ */ Error());
787
+ }, e.wbg.__wbg_new_b2db8aa2650f793a = function(e) {
788
+ return r(new Date(v(e)));
789
+ }, e.wbg.__wbg_new_df1173567d5ff028 = function(e, t) {
790
+ return r(Error(p(e, t)));
791
+ }, e.wbg.__wbg_new_ff12d2b041fb48f1 = function(e, t) {
792
+ try {
793
+ var n = {
794
+ a: e,
795
+ b: t
796
+ };
797
+ return r(new Promise((e, t) => {
798
+ let r = n.a;
799
+ n.a = 0;
800
+ try {
801
+ return ne(r, n.b, e, t);
802
+ } finally {
803
+ n.a = r;
804
+ }
805
+ }));
806
+ } finally {
807
+ n.a = n.b = 0;
808
+ }
809
+ }, e.wbg.__wbg_new_from_slice_db0691b69e9d3891 = function(e, t) {
810
+ return r(new Uint32Array(l(e, t)));
811
+ }, e.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(e, t) {
812
+ return r(new Uint8Array(u(e, t)));
813
+ }, e.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(e, t) {
814
+ return r(Function(p(e, t)));
815
+ }, e.wbg.__wbg_new_with_args_df9e7125ffe55248 = function(e, t, n, i) {
816
+ return r(Function(p(e, t), p(n, i)));
817
+ }, e.wbg.__wbg_next_138a17bbf04e926c = function(e) {
818
+ let t = v(e).next;
819
+ return r(t);
820
+ }, e.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() {
821
+ return y(function(e) {
822
+ return r(v(e).next());
823
+ }, arguments);
824
+ }, e.wbg.__wbg_now_69d776cd24f5215b = function() {
825
+ return Date.now();
826
+ }, e.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(e, t, n) {
827
+ Uint8Array.prototype.set.call(u(e, t), v(n));
828
+ }, e.wbg.__wbg_proxycontext_new = function(e) {
829
+ return r(V.__wrap(e));
830
+ }, e.wbg.__wbg_push_7d9be8f38fc13975 = function(e, t) {
831
+ return v(e).push(v(t));
832
+ }, e.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(e) {
833
+ let t = v(e).queueMicrotask;
834
+ return r(t);
835
+ }, e.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(e) {
836
+ queueMicrotask(v(e));
837
+ }, e.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(e) {
838
+ return r(Promise.resolve(v(e)));
839
+ }, e.wbg.__wbg_set_3f1d0b984ed272ed = function(e, t, n) {
840
+ v(e)[D(t)] = D(n);
841
+ }, e.wbg.__wbg_set_781438a03c0c3c81 = function() {
842
+ return y(function(e, t, n) {
843
+ return Reflect.set(v(e), v(t), v(n));
844
+ }, arguments);
845
+ }, e.wbg.__wbg_set_7df433eea03a5c14 = function(e, t, n) {
846
+ v(e)[t >>> 0] = D(n);
847
+ }, e.wbg.__wbg_stack_0ed75d68575b0f3c = function(e, t) {
848
+ let r = v(t).stack, i = E(r, n.__wbindgen_export, n.__wbindgen_export2), a = M;
849
+ f().setInt32(e + 4, a, !0), f().setInt32(e + 0, i, !0);
850
+ }, e.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
851
+ let e = typeof global > "u" ? null : global;
852
+ return S(e) ? 0 : r(e);
853
+ }, e.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
854
+ let e = typeof globalThis > "u" ? null : globalThis;
855
+ return S(e) ? 0 : r(e);
856
+ }, e.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
857
+ let e = typeof self > "u" ? null : self;
858
+ return S(e) ? 0 : r(e);
859
+ }, e.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
860
+ let e = typeof window > "u" ? null : window;
861
+ return S(e) ? 0 : r(e);
862
+ }, e.wbg.__wbg_then_4f95312d68691235 = function(e, t) {
863
+ return r(v(e).then(v(t)));
864
+ }, e.wbg.__wbg_typstcompiler_new = function(e) {
865
+ return r(U.__wrap(e));
866
+ }, e.wbg.__wbg_typstfontresolver_new = function(e) {
867
+ return r(G.__wrap(e));
868
+ }, e.wbg.__wbg_value_57b7b035e117f7ee = function(e) {
869
+ let t = v(e).value;
870
+ return r(t);
871
+ }, e.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(e, t) {
872
+ return r(p(e, t));
873
+ }, e.wbg.__wbindgen_cast_3334ea73b4b28ba3 = function(e, t) {
874
+ return r(C(e, t, n.__wasm_bindgen_func_elem_957, te));
875
+ }, e.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(e) {
876
+ return r(BigInt.asUintN(64, e));
877
+ }, e.wbg.__wbindgen_cast_9ae0607507abb057 = function(e) {
878
+ return r(e);
879
+ }, e.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(e) {
880
+ return r(e);
881
+ }, e.wbg.__wbindgen_object_clone_ref = function(e) {
882
+ return r(v(e));
883
+ }, e.wbg.__wbindgen_object_drop_ref = function(e) {
884
+ D(e);
885
+ }, e;
886
+ }
887
+ function Y(e, t) {
888
+ return n = e.exports, X.__wbindgen_wasm_module = t, d = null, m = null, g = null, n;
889
+ }
890
+ function oe(e) {
891
+ if (n !== void 0) return n;
892
+ e !== void 0 && (Object.getPrototypeOf(e) === Object.prototype ? {module: e} = e : console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));
893
+ let t = J();
894
+ return e instanceof WebAssembly.Module || (e = new WebAssembly.Module(e)), Y(new WebAssembly.Instance(e, t), e);
895
+ }
896
+ function X(e) {
897
+ return Z.apply(this, arguments);
898
+ }
899
+ function Z() {
900
+ return Z = t(function* (e) {
901
+ if (n !== void 0) return n;
902
+ e !== void 0 && (Object.getPrototypeOf(e) === Object.prototype ? {module_or_path: e} = e : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), e === void 0 && (e = Q("typst_ts_web_compiler_bg.wasm", import.meta.url));
903
+ let t = J();
904
+ (typeof e == "string" || typeof Request == "function" && e instanceof Request || typeof URL == "function" && e instanceof URL) && (e = fetch(e));
905
+ let { instance: r, module: i } = yield ae(yield e, t);
906
+ return Y(r, i);
907
+ }), Z.apply(this, arguments);
908
+ }
909
+ var Q = /* @__PURE__ */ function() {
910
+ var e = t(function* (e, t) {
911
+ throw Error("Cannot import wasm module without importer: " + e + " " + t);
912
+ });
913
+ return function(t, n) {
914
+ return e.apply(this, arguments);
915
+ };
916
+ }();
917
+ function $(e) {
918
+ Q = e;
919
+ }
920
+ //#endregion
921
+ //#region node_modules/.pnpm/@myriaddreamin+typst-ts-web-compiler@0.7.0/node_modules/@myriaddreamin/typst-ts-web-compiler/pkg/wasm-pack-shim.mjs
922
+ e();
923
+ var se = X, ce = /* @__PURE__ */ function() {
924
+ var e = t(function* (e, t) {
925
+ let { readFileSync: n } = yield Function("m", "return import(m)")("fs");
926
+ return yield n(new URL(e, t)).buffer;
927
+ });
928
+ return function(t, n) {
929
+ return e.apply(this, arguments);
930
+ };
931
+ }();
932
+ typeof process < "u" && process.versions != null && process.versions.node != null && $(ce);
933
+ //#endregion
934
+ export { B as IncrServer, V as ProxyContext, H as TypstCompileWorld, U as TypstCompiler, W as TypstCompilerBuilder, G as TypstFontResolver, K as TypstFontResolverBuilder, se as default, re as get_font_info, oe as initSync, $ as setImportWasmModule };