@flyfish-group/file-viewer-web 1.0.14 → 1.0.16

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 (251) hide show
  1. package/README.md +5 -2
  2. package/dist/index.d.ts +11 -0
  3. package/dist/index.js +16 -0
  4. package/package.json +8 -8
  5. package/viewer/assets/{3MFLoader-Cu6MV1Tf.js → 3MFLoader-B_6HM3dj.js} +1 -1
  6. package/viewer/assets/{AMFLoader-lvPchvXS.js → AMFLoader-BxP14esn.js} +1 -1
  7. package/viewer/assets/ArchiveViewer-BQX-KSoY.css +1 -0
  8. package/viewer/assets/ArchiveViewer-DK1dJf89.js +1 -0
  9. package/viewer/assets/AudioViewer-Dtcod1a-.js +1 -0
  10. package/viewer/assets/{CadViewer-B3GwC9wj.js → CadViewer-DLNhye0S.js} +1 -1
  11. package/viewer/assets/CodeViewer-B_Hawhia.js +2 -0
  12. package/viewer/assets/{ColladaLoader-9JnWW2qx.js → ColladaLoader-Dz956C1E.js} +1 -1
  13. package/viewer/assets/{DrawingViewer-DDlBP-er.js → DrawingViewer-SMzSxine.js} +2 -2
  14. package/viewer/assets/{EdaViewer-BwIFSRiN.js → EdaViewer-En9UTGwx.js} +4 -4
  15. package/viewer/assets/EmailViewer-CsZlkpus.js +4 -0
  16. package/viewer/assets/{EpubViewer-CBGns51-.js → EpubViewer-D5Vp0__i.js} +2 -2
  17. package/viewer/assets/{FBXLoader-BR2WOnav.js → FBXLoader-DlzmRpnh.js} +1 -1
  18. package/viewer/assets/{GLTFLoader-Oe_gNr7z.js → GLTFLoader-hUKNI0Am.js} +1 -1
  19. package/viewer/assets/{ImageViewer-BxYWFi9h.js → ImageViewer-HSnUeK_P.js} +1 -1
  20. package/viewer/assets/{KMZLoader-BT5-fslH.js → KMZLoader-D8eC-S0G.js} +1 -1
  21. package/viewer/assets/{MarkdownViewer-ZI4W-1C6.js → MarkdownViewer-D0Cy1cB8.js} +2 -2
  22. package/viewer/assets/{ModelViewer-MvESt2oO.js → ModelViewer-Ce169Tu0.js} +2 -2
  23. package/viewer/assets/{OBJLoader-Dr_zHthK.js → OBJLoader-C1dmYv7h.js} +1 -1
  24. package/viewer/assets/OfdViewer-ql3a-z-O.js +2 -0
  25. package/viewer/assets/{PCDLoader-C8E_Z0Lp.js → PCDLoader-CgQJdB5e.js} +1 -1
  26. package/viewer/assets/{PLYLoader-BIvJFvLy.js → PLYLoader-Dq4pQnK6.js} +1 -1
  27. package/viewer/assets/{PdfView-DkzMi2E1.css → PdfView-CgX6fUVh.css} +1 -1
  28. package/viewer/assets/{PdfView-eYCrY4H5.js → PdfView-DCO4FSJZ.js} +20 -20
  29. package/viewer/assets/PptxRender-Dc7-nez6.js +32 -0
  30. package/viewer/assets/{STLLoader-yuZC5ZKB.js → STLLoader-CzbmjAk6.js} +1 -1
  31. package/viewer/assets/{TDSLoader-Bh0I9gg5.js → TDSLoader-nrxosCSD.js} +1 -1
  32. package/viewer/assets/{USDLoader-YAA4d1kg.js → USDLoader-BsPrvVXf.js} +1 -1
  33. package/viewer/assets/{UmdViewer-9JaPlk1L.js → UmdViewer-1uCRtFOT.js} +2 -2
  34. package/viewer/assets/{VRMLLoader-Bg8OB7AO.js → VRMLLoader-B9TF3kFK.js} +1 -1
  35. package/viewer/assets/{VTKLoader-CGwQVf82.js → VTKLoader-C2k-pFrD.js} +1 -1
  36. package/viewer/assets/{XYZLoader-BPX1CIj8.js → XYZLoader-ENA3V0e-.js} +1 -1
  37. package/viewer/assets/{XlsxTable-Dx_bFmn-.js → XlsxTable-3iTVMcRZ.js} +2 -2
  38. package/viewer/assets/{ar-SA-G6X2FPQ2-IhHmkpot.js → ar-SA-G6X2FPQ2-BNP0lqqX.js} +1 -1
  39. package/viewer/assets/architecture-7EHR7CIX-BlvT9csd.js +1 -0
  40. package/viewer/assets/{architectureDiagram-3BPJPVTR-BSRPj8Bw.js → architectureDiagram-3BPJPVTR-CtAfIH_E.js} +1 -1
  41. package/viewer/assets/archive-CxXgRAsR.js +2 -0
  42. package/viewer/assets/audio-CQB9mrnl.js +2 -0
  43. package/viewer/assets/{az-AZ-76LH7QW2-7CbHY7cB.js → az-AZ-76LH7QW2-BcCbYJ-1.js} +1 -1
  44. package/viewer/assets/{bg-BG-XCXSNQG7-DCWmTvIz.js → bg-BG-XCXSNQG7-Ds5FcmVW.js} +1 -1
  45. package/viewer/assets/{blockDiagram-GPEHLZMM-COk6DGNz.js → blockDiagram-GPEHLZMM-BeQFiVI0.js} +1 -1
  46. package/viewer/assets/{bn-BD-2XOGV67Q-B8u6qWqz.js → bn-BD-2XOGV67Q-DE3QOW-s.js} +1 -1
  47. package/viewer/assets/{c4Diagram-AAUBKEIU-Cr68irzW.js → c4Diagram-AAUBKEIU-BZSWZ5V6.js} +1 -1
  48. package/viewer/assets/{ca-ES-6MX7JW3Y-BPkhY7q-.js → ca-ES-6MX7JW3Y-T4f_YFb8.js} +1 -1
  49. package/viewer/assets/cad-Dw3o1-oL.js +2 -0
  50. package/viewer/assets/{cfb-Bd0kZI98.js → cfb-CNpRP9PD.js} +2 -2
  51. package/viewer/assets/channel-CMwJOg-Y.js +1 -0
  52. package/viewer/assets/{chunk-2J33WTMH-HmzOIJtB.js → chunk-2J33WTMH-DBrJpYsy.js} +1 -1
  53. package/viewer/assets/{chunk-3OPIFGDE-xZcpeb-w.js → chunk-3OPIFGDE-BX5m340r.js} +1 -1
  54. package/viewer/assets/{chunk-4BX2VUAB-DQBKz7LU.js → chunk-4BX2VUAB-D5PVLHRT.js} +1 -1
  55. package/viewer/assets/{chunk-55IACEB6-Cev-_imH.js → chunk-55IACEB6-4yPr8eY3.js} +1 -1
  56. package/viewer/assets/{chunk-5ZQYHXKU-B92hcu2L.js → chunk-5ZQYHXKU-BiMPJ53b.js} +1 -1
  57. package/viewer/assets/{chunk-727SXJPM-DV-c8BvS.js → chunk-727SXJPM-RMQDvxN2.js} +1 -1
  58. package/viewer/assets/{chunk-AGHRB4JF-qcDDYumH.js → chunk-AGHRB4JF-BM2CV8ky.js} +1 -1
  59. package/viewer/assets/{chunk-AQP2D5EJ-BvKoy0uf.js → chunk-AQP2D5EJ-p1F-tpEz.js} +1 -1
  60. package/viewer/assets/{chunk-BSJP7CBP-CWMiNhSo.js → chunk-BSJP7CBP-pB3egJK5.js} +1 -1
  61. package/viewer/assets/{chunk-CSCIHK7Q-B7tF9tuf.js → chunk-CSCIHK7Q-Bbh3C9cp.js} +1 -1
  62. package/viewer/assets/{chunk-EIO257PC-C1liW962.js → chunk-EIO257PC-BYTwD_vj.js} +1 -1
  63. package/viewer/assets/{chunk-FMBD7UC4-CiE4JFmK.js → chunk-FMBD7UC4-1VUX125A.js} +1 -1
  64. package/viewer/assets/{chunk-K2UTITRG-Dfnc_hw-.js → chunk-K2UTITRG-DFQpuP0o.js} +4 -4
  65. package/viewer/assets/{chunk-KSCS5N6A-DDxiCFh9.js → chunk-KSCS5N6A-BpDKXvsS.js} +1 -1
  66. package/viewer/assets/{chunk-L5ZTLDWV-B0O7LnTs.js → chunk-L5ZTLDWV-BeT0-8Ia.js} +1 -1
  67. package/viewer/assets/{chunk-LZXEDZCA-D__nXk0Y.js → chunk-LZXEDZCA-fOf_dUM0.js} +2 -2
  68. package/viewer/assets/{chunk-ND2GUHAM-XWUc2w5e.js → chunk-ND2GUHAM-DohLnqER.js} +1 -1
  69. package/viewer/assets/{chunk-NZK2D7GU-V2FjdfY1.js → chunk-NZK2D7GU-DI_Jcwux.js} +1 -1
  70. package/viewer/assets/{chunk-O5CBEL6O-BUfTzikW.js → chunk-O5CBEL6O-MQWFDdgo.js} +1 -1
  71. package/viewer/assets/chunk-QZHKN3VN-9f1Eo4_S.js +1 -0
  72. package/viewer/assets/{chunk-SRAX5OIU-CCVgUE8K.js → chunk-SRAX5OIU-BXh9OkOd.js} +1 -1
  73. package/viewer/assets/{chunk-WU5MYG2G-BoWqueb5.js → chunk-WU5MYG2G-Dx0Ect1u.js} +1 -1
  74. package/viewer/assets/{chunk-XPW4576I-Gu5xbD25.js → chunk-XPW4576I-qkfMpngm.js} +1 -1
  75. package/viewer/assets/classDiagram-4FO5ZUOK-BNg24I3u.js +1 -0
  76. package/viewer/assets/classDiagram-v2-Q7XG4LA2-brQ4mBPL.js +1 -0
  77. package/viewer/assets/{core-CK4GvTuB.js → core--5VyFL2U.js} +1 -1
  78. package/viewer/assets/{cose-bilkent-S5V4N54A-C4YwvcTg.js → cose-bilkent-S5V4N54A-C1Agy3CN.js} +1 -1
  79. package/viewer/assets/{cs-CZ-2BRQDIVT-BUnX5bce.js → cs-CZ-2BRQDIVT-BvJIzxcB.js} +1 -1
  80. package/viewer/assets/{da-DK-5WZEPLOC-N4vYMiyF.js → da-DK-5WZEPLOC-DCGBCO1u.js} +1 -1
  81. package/viewer/assets/{dagre-BM42HDAG-B6HDZoZj.js → dagre-BM42HDAG-BYwRLORP.js} +1 -1
  82. package/viewer/assets/{dagre-QzaNJyV9.js → dagre-Os9l8Ofh.js} +1 -1
  83. package/viewer/assets/{de-DE-XR44H4JA-By0SYFQP.js → de-DE-XR44H4JA-BP6psjYb.js} +1 -1
  84. package/viewer/assets/{diagram-2AECGRRQ-Chzg-OJg.js → diagram-2AECGRRQ-CJ6KfRaT.js} +1 -1
  85. package/viewer/assets/{diagram-5GNKFQAL-Ctx8hM_D.js → diagram-5GNKFQAL-CsAWm6ro.js} +1 -1
  86. package/viewer/assets/{diagram-KO2AKTUF-BSJfQXvj.js → diagram-KO2AKTUF-DhdQ3oKr.js} +1 -1
  87. package/viewer/assets/{diagram-LMA3HP47-DpyLp6aO.js → diagram-LMA3HP47-BPXgMaxr.js} +1 -1
  88. package/viewer/assets/{diagram-OG6HWLK6-Bnkjd0ec.js → diagram-OG6HWLK6-DA0BTYKj.js} +1 -1
  89. package/viewer/assets/{dist-BUj3q1Sw.js → dist-BrZ-1YOi.js} +4 -4
  90. package/viewer/assets/{dist-C2yRtmF7.js → dist-Bws3eryV.js} +1 -1
  91. package/viewer/assets/{docx-preview-CInoERCD.js → docx-preview-BfTOBA17.js} +1 -1
  92. package/viewer/assets/drawing-DQcJaIpK.js +2 -0
  93. package/viewer/assets/ebook-DriJ3n_s.js +2 -0
  94. package/viewer/assets/eda-DHmhn_qa.js +2 -0
  95. package/viewer/assets/{el-GR-BZB4AONW-vMYB1j6k.js → el-GR-BZB4AONW-wyXROCSF.js} +1 -1
  96. package/viewer/assets/email-Dw29c1NO.js +2 -0
  97. package/viewer/assets/{en-B4ZKOASM-DRUmo9Ac.js → en-B4ZKOASM-eIoCOvUv.js} +1 -1
  98. package/viewer/assets/{erDiagram-TEJ5UH35-DlUmaia9.js → erDiagram-TEJ5UH35-IClBO1WD.js} +1 -1
  99. package/viewer/assets/{es-ES-U4NZUMDT-PmRqaw-t.js → es-ES-U4NZUMDT-Ct_kntcM.js} +1 -1
  100. package/viewer/assets/{eu-ES-A7QVB2H4-DmZWbNko.js → eu-ES-A7QVB2H4-CKFuXDR3.js} +1 -1
  101. package/viewer/assets/eventmodeling-FCH6USID-DFSEF7t8.js +1 -0
  102. package/viewer/assets/{fa-IR-HGAKTJCU-CxZJgdVg.js → fa-IR-HGAKTJCU-DH0unZO1.js} +1 -1
  103. package/viewer/assets/{fi-FI-Z5N7JZ37-a6gH-VKh.js → fi-FI-Z5N7JZ37-Bk3QHImL.js} +1 -1
  104. package/viewer/assets/{flowDiagram-I6XJVG4X-BBRai1aX.js → flowDiagram-I6XJVG4X-C0e4t9m9.js} +1 -1
  105. package/viewer/assets/{fr-FR-RHASNOE6-ZT1zUtMi.js → fr-FR-RHASNOE6-C79wk-3Y.js} +1 -1
  106. package/viewer/assets/{ganttDiagram-6RSMTGT7-1BXC3pRR.js → ganttDiagram-6RSMTGT7-Da0r1jCq.js} +1 -1
  107. package/viewer/assets/gitGraph-WXDBUCRP-CV0x59fN.js +1 -0
  108. package/viewer/assets/{gitGraphDiagram-PVQCEYII-CYBGFQyD.js → gitGraphDiagram-PVQCEYII-sX1w-Ur1.js} +1 -1
  109. package/viewer/assets/{gl-ES-HMX3MZ6V-C7a5ibgU.js → gl-ES-HMX3MZ6V-Bx2oqR6V.js} +1 -1
  110. package/viewer/assets/{he-IL-6SHJWFNN-BYLX0qwS.js → he-IL-6SHJWFNN-BALBs3jl.js} +1 -1
  111. package/viewer/assets/{hi-IN-IWLTKZ5I-6B5IL04T.js → hi-IN-IWLTKZ5I-BqilQLoy.js} +1 -1
  112. package/viewer/assets/{hu-HU-A5ZG7DT2-CMeBE92s.js → hu-HU-A5ZG7DT2-BO7A2BCJ.js} +1 -1
  113. package/viewer/assets/{id-ID-SAP4L64H-DpLSSvZg.js → id-ID-SAP4L64H-DUV5LB2h.js} +1 -1
  114. package/viewer/assets/image-BXBgCx7X.js +2 -0
  115. package/viewer/assets/image-GAAHSSAO-C1mLYgXf.js +1 -0
  116. package/viewer/assets/{index-CJLM3dyI.css → index-BjTZLd3d.css} +1 -1
  117. package/viewer/assets/index-CLEdsJjy.js +187 -0
  118. package/viewer/assets/info-J43DQDTF-GDiHwZ5w.js +1 -0
  119. package/viewer/assets/{infoDiagram-5YYISTIA-CaLPLw0Q.js → infoDiagram-5YYISTIA-BSoEvzXV.js} +1 -1
  120. package/viewer/assets/{ishikawaDiagram-YF4QCWOH-B5uXMp2m.js → ishikawaDiagram-YF4QCWOH-CohQnXJ3.js} +1 -1
  121. package/viewer/assets/{it-IT-JPQ66NNP-BJdQPW3t.js → it-IT-JPQ66NNP-Q7cfAthD.js} +1 -1
  122. package/viewer/assets/{ja-JP-DBVTYXUO-C9K5JirJ.js → ja-JP-DBVTYXUO-tSa8PMzn.js} +1 -1
  123. package/viewer/assets/{journeyDiagram-JHISSGLW-mnjPFUVM.js → journeyDiagram-JHISSGLW-D_eJOwFA.js} +1 -1
  124. package/viewer/assets/{jszip.min-B6YM0lLn.js → jszip.min-CdmGtctj.js} +1 -1
  125. package/viewer/assets/{kaa-6HZHGXH3-MBFI55qK.js → kaa-6HZHGXH3-BYy6YT2G.js} +1 -1
  126. package/viewer/assets/{kab-KAB-ZGHBKWFO-CP8DIpo-.js → kab-KAB-ZGHBKWFO-Ddeyq3Ok.js} +1 -1
  127. package/viewer/assets/{kanban-definition-UN3LZRKU-y0Q2LGhP.js → kanban-definition-UN3LZRKU-DN6WieEH.js} +1 -1
  128. package/viewer/assets/{kk-KZ-P5N5QNE5-IN4ldDoR.js → kk-KZ-P5N5QNE5-B9FIZYaY.js} +1 -1
  129. package/viewer/assets/{km-KH-HSX4SM5Z-CRiqff4E.js → km-KH-HSX4SM5Z-BCwOnngy.js} +1 -1
  130. package/viewer/assets/{ko-KR-MTYHY66A-Czmu-rwd.js → ko-KR-MTYHY66A-D0x7Ihjs.js} +1 -1
  131. package/viewer/assets/{ku-TR-6OUDTVRD-Cgl-K4Ar.js → ku-TR-6OUDTVRD-CocqOr2Z.js} +1 -1
  132. package/viewer/assets/{lib-C1DiiFP-.js → lib-CeoVO9fp.js} +2 -2
  133. package/viewer/assets/libarchive-DxGirPmi.wasm +0 -0
  134. package/viewer/assets/{lt-LT-XHIRWOB4-CUiZul13.js → lt-LT-XHIRWOB4-CF5b9Tqm.js} +1 -1
  135. package/viewer/assets/{lv-LV-5QDEKY6T-dxtf8BGP.js → lv-LV-5QDEKY6T-DaTKVr1K.js} +1 -1
  136. package/viewer/assets/md-Da5JzoRZ.js +2 -0
  137. package/viewer/assets/{mermaid-parser.core-Bc-ZGXsA.js → mermaid-parser.core-DoJdzFuf.js} +2 -2
  138. package/viewer/assets/{mindmap-definition-RKZ34NQL-bdntgcOR.js → mindmap-definition-RKZ34NQL-DfQNyVoK.js} +1 -1
  139. package/viewer/assets/model-C6ReF5Zn.js +2 -0
  140. package/viewer/assets/{mr-IN-CRQNXWMA-DXlfdE5v.js → mr-IN-CRQNXWMA-rTx1m_9U.js} +1 -1
  141. package/viewer/assets/{my-MM-5M5IBNSE-BZ3N8uHu.js → my-MM-5M5IBNSE-DkDkFplw.js} +1 -1
  142. package/viewer/assets/{nb-NO-T6EIAALU-2-9hqKA_.js → nb-NO-T6EIAALU-CzSViGxp.js} +1 -1
  143. package/viewer/assets/{nestedRender-EZY9a0wY.js → nestedRender-BES1M2Z6.js} +3 -3
  144. package/viewer/assets/{nl-NL-IS3SIHDZ-BNPCC_NY.js → nl-NL-IS3SIHDZ-3G8A9CS2.js} +1 -1
  145. package/viewer/assets/{nn-NO-6E72VCQL-DTu4lCSB.js → nn-NO-6E72VCQL-CY7JpACc.js} +1 -1
  146. package/viewer/assets/{oc-FR-POXYY2M6-Boh2zWq-.js → oc-FR-POXYY2M6-d3aTHgye.js} +1 -1
  147. package/viewer/assets/{ofd-UFRA5WYZ.js → ofd-Cln8nQe6.js} +4 -4
  148. package/viewer/assets/ofd-DXLOytKY.js +2 -0
  149. package/viewer/assets/{pa-IN-N4M65BXN-BxM75I-A.js → pa-IN-N4M65BXN-BHx4LOjR.js} +1 -1
  150. package/viewer/assets/packet-YPE3B663-DT4mjExZ.js +1 -0
  151. package/viewer/assets/pdf-DBCLLtnQ.js +2 -0
  152. package/viewer/assets/percentages-BXMCSKIN-Co3XzVVX.js +1 -0
  153. package/viewer/assets/{pica-DuH1S6dd.js → pica-Bc9oTOkb.js} +1 -1
  154. package/viewer/assets/pie-LRSECV5Y-C4ROt7j_.js +1 -0
  155. package/viewer/assets/{pieDiagram-4H26LBE5-CL0jrPNi.js → pieDiagram-4H26LBE5-CZA3fUMF.js} +1 -1
  156. package/viewer/assets/{pl-PL-T2D74RX3-Dzc-SX4D.js → pl-PL-T2D74RX3-D6Gif-dy.js} +1 -1
  157. package/viewer/assets/pptx-3XwVxioJ.js +2 -0
  158. package/viewer/assets/{prod-DR4fMlEU.js → prod-DfYxLiYe.js} +6 -6
  159. package/viewer/assets/{pt-BR-5N22H2LF-DXC8dDDT.js → pt-BR-5N22H2LF-B7lsDavV.js} +1 -1
  160. package/viewer/assets/{pt-PT-UZXXM6DQ-Cqvxbpve.js → pt-PT-UZXXM6DQ-DcW3U4rg.js} +1 -1
  161. package/viewer/assets/{quadrantDiagram-W4KKPZXB-C7k0qyMu.js → quadrantDiagram-W4KKPZXB-DKdrftAp.js} +1 -1
  162. package/viewer/assets/radar-GUYGQ44K-r4XYbAsF.js +1 -0
  163. package/viewer/assets/{requirementDiagram-4Y6WPE33-CImsSH1d.js → requirementDiagram-4Y6WPE33-Te7mDJ55.js} +1 -1
  164. package/viewer/assets/{ro-RO-JPDTUUEW-CmSwwB5t.js → ro-RO-JPDTUUEW-CtWBqjTz.js} +1 -1
  165. package/viewer/assets/{rough.esm-hlwH-V0j.js → rough.esm-Bn6ZwVzy.js} +1 -1
  166. package/viewer/assets/{ru-RU-B4JR7IUQ-B7dHhwlq.js → ru-RU-B4JR7IUQ-0r1yI2ih.js} +1 -1
  167. package/viewer/assets/{sankeyDiagram-5OEKKPKP-BYcgvfZI.js → sankeyDiagram-5OEKKPKP-C8ENpLmh.js} +1 -1
  168. package/viewer/assets/{sequenceDiagram-3UESZ5HK-DzsWQfNK.js → sequenceDiagram-3UESZ5HK-CSJiwIBO.js} +1 -1
  169. package/viewer/assets/{si-LK-N5RQ5JYF-yrcdpIZ1.js → si-LK-N5RQ5JYF-Dh1h7IXc.js} +1 -1
  170. package/viewer/assets/{sk-SK-C5VTKIMK-BSvxG9C8.js → sk-SK-C5VTKIMK-BjSCSxkz.js} +1 -1
  171. package/viewer/assets/{sl-SI-NN7IZMDC-Dxizmmhu.js → sl-SI-NN7IZMDC-r4Ak0O4i.js} +1 -1
  172. package/viewer/assets/{src-D3nl_XvI.js → src-CHamrfhQ.js} +4 -4
  173. package/viewer/assets/{stateDiagram-AJRCARHV-CNiURI_F.js → stateDiagram-AJRCARHV-COxSMxeM.js} +1 -1
  174. package/viewer/assets/stateDiagram-v2-BHNVJYJU-CTQo2UCT.js +1 -0
  175. package/viewer/assets/subset-shared.chunk-BAmKrkdm.js +1 -0
  176. package/viewer/assets/{subset-worker.chunk-CQ5uVon9.js → subset-worker.chunk-jiNwndvH.js} +1 -1
  177. package/viewer/assets/{sv-SE-XGPEYMSR-3z1ZG6rv.js → sv-SE-XGPEYMSR-E79L9RS3.js} +1 -1
  178. package/viewer/assets/{ta-IN-2NMHFXQM-tcMHhW2A.js → ta-IN-2NMHFXQM-C-_JEWzh.js} +1 -1
  179. package/viewer/assets/text-B-v2MIuQ.js +2 -0
  180. package/viewer/assets/{th-TH-HPSO5L25-zCm7P_Oq.js → th-TH-HPSO5L25-DqgL9Etx.js} +1 -1
  181. package/viewer/assets/{timeline-definition-PNZ67QCA-DoMKr5zT.js → timeline-definition-PNZ67QCA-C2ZCFROq.js} +1 -1
  182. package/viewer/assets/{tr-TR-DEFEU3FU-R4JfFQLC.js → tr-TR-DEFEU3FU-C9z2FiKh.js} +1 -1
  183. package/viewer/assets/treeView-BLDUP644-DvMcnnO0.js +1 -0
  184. package/viewer/assets/treemap-LRROVOQU-DatYs4es.js +1 -0
  185. package/viewer/assets/{uk-UA-QMV73CPH-ebBij_gX.js → uk-UA-QMV73CPH-veLl3SgD.js} +1 -1
  186. package/viewer/assets/umd-Bs_6L8SL.js +2 -0
  187. package/viewer/assets/{vennDiagram-CIIHVFJN-CTmUXQBw.js → vennDiagram-CIIHVFJN-B2v_rl1n.js} +1 -1
  188. package/viewer/assets/{vi-VN-M7AON7JQ-C4S-DkjB.js → vi-VN-M7AON7JQ-DxybBNAT.js} +1 -1
  189. package/viewer/assets/wardley-L42UT6IY-B8Apx-oj.js +1 -0
  190. package/viewer/assets/{wardleyDiagram-YWT4CUSO-CCXU2bRO.js → wardleyDiagram-YWT4CUSO-B3YTdwOK.js} +1 -1
  191. package/viewer/assets/word-wW_mpOXO.js +94 -0
  192. package/viewer/assets/xlsx-BNSxfpi_.js +2 -0
  193. package/viewer/assets/{xychartDiagram-2RQKCTM6-Chs_-IGz.js → xychartDiagram-2RQKCTM6-Crc71dPH.js} +1 -1
  194. package/viewer/assets/{zh-CN-LNUGB5OW-BxPy2vo-.js → zh-CN-LNUGB5OW-CH9lMxKE.js} +1 -1
  195. package/viewer/assets/{zh-HK-E62DVLB3-4ExAOvtr.js → zh-HK-E62DVLB3-Icg1bjl_.js} +1 -1
  196. package/viewer/assets/{zh-TW-RAJ6MFWO-Ch8ya1V0.js → zh-TW-RAJ6MFWO-BASfnfoa.js} +1 -1
  197. package/viewer/flyfish-viewer-manifest.json +1 -1
  198. package/viewer/index.html +2 -2
  199. package/LICENSE +0 -160
  200. package/viewer/assets/ArchiveViewer-BZsHY7Zq.css +0 -1
  201. package/viewer/assets/ArchiveViewer-R2iAFTZX.js +0 -1
  202. package/viewer/assets/AudioViewer-CYXEuy97.js +0 -1
  203. package/viewer/assets/CodeViewer-B2QefR_a.js +0 -2
  204. package/viewer/assets/EmailViewer-BiJIkrcQ.js +0 -4
  205. package/viewer/assets/OfdViewer-C3_ps1Wn.js +0 -2
  206. package/viewer/assets/PptxRender-1Lavk1t4.js +0 -32
  207. package/viewer/assets/architecture-7EHR7CIX-Bu9b65ja.js +0 -1
  208. package/viewer/assets/archive-xIkfHaVY.js +0 -2
  209. package/viewer/assets/audio-BaYP_jXB.js +0 -2
  210. package/viewer/assets/cad-BUulQKCN.js +0 -2
  211. package/viewer/assets/channel-CXskWOsL.js +0 -1
  212. package/viewer/assets/chunk-QZHKN3VN-ClhOCKXc.js +0 -1
  213. package/viewer/assets/classDiagram-4FO5ZUOK-DT_d7CdW.js +0 -1
  214. package/viewer/assets/classDiagram-v2-Q7XG4LA2-CUCJYLHx.js +0 -1
  215. package/viewer/assets/drawing-pmlTn8Cw.js +0 -2
  216. package/viewer/assets/ebook-jVF_Y5hs.js +0 -2
  217. package/viewer/assets/eda-BVqiPuNO.js +0 -2
  218. package/viewer/assets/email-pOUx1uIP.js +0 -2
  219. package/viewer/assets/eventmodeling-FCH6USID-o0z_TGwG.js +0 -1
  220. package/viewer/assets/gitGraph-WXDBUCRP-DfxR5-nP.js +0 -1
  221. package/viewer/assets/image-DAaqpjs9.js +0 -2
  222. package/viewer/assets/image-GAAHSSAO-BnvKc8ic.js +0 -1
  223. package/viewer/assets/index-DwfuxtYp.js +0 -123
  224. package/viewer/assets/info-J43DQDTF-_wpQaSsF.js +0 -1
  225. package/viewer/assets/md-Qm2JYEPV.js +0 -2
  226. package/viewer/assets/model-Cn2Zv35r.js +0 -2
  227. package/viewer/assets/ofd-CJGEIep2.js +0 -2
  228. package/viewer/assets/packet-YPE3B663-_RIgeFm_.js +0 -1
  229. package/viewer/assets/pdf-CP1ziOy8.js +0 -2
  230. package/viewer/assets/percentages-BXMCSKIN-MMqsm1ZB.js +0 -1
  231. package/viewer/assets/pie-LRSECV5Y-B8HEQc1J.js +0 -1
  232. package/viewer/assets/pptx-CQJuxKYT.js +0 -2
  233. package/viewer/assets/pptx.worker-c0GnmoEE.js +0 -23
  234. package/viewer/assets/radar-GUYGQ44K-Q-iQr9Ad.js +0 -1
  235. package/viewer/assets/stateDiagram-v2-BHNVJYJU-CBgiwAPe.js +0 -1
  236. package/viewer/assets/subset-shared.chunk-5DE8xX6x.js +0 -1
  237. package/viewer/assets/text-B5sIXrWR.js +0 -2
  238. package/viewer/assets/treeView-BLDUP644-JYzmgJgo.js +0 -1
  239. package/viewer/assets/treemap-LRROVOQU-CDemnPFb.js +0 -1
  240. package/viewer/assets/umd-DK1Lwjkq.js +0 -2
  241. package/viewer/assets/wardley-L42UT6IY-CByEGK9-.js +0 -1
  242. package/viewer/assets/word-Chc6FStR.js +0 -94
  243. package/viewer/assets/worker-bundle-D-AQnxpp.js +0 -1
  244. package/viewer/assets/xlsx-CBZ8N-kD.js +0 -2
  245. /package/viewer/assets/{cytoscape.esm-BO4b6pVn.js → cytoscape.esm-WGAx6pUv.js} +0 -0
  246. /package/viewer/assets/{fflate.module-DmN2iWjn.js → fflate.module-BCuI6M8v.js} +0 -0
  247. /package/viewer/assets/{graphlib-BpbuYmc5.js → graphlib-rjQwA88M.js} +0 -0
  248. /package/viewer/assets/{mp4-E_aU-TOR.js → mp4-BUE9yAIt.js} +0 -0
  249. /package/viewer/assets/{postal-mime-CuiVR6kZ.js → postal-mime-_xaVOoDw.js} +0 -0
  250. /package/viewer/assets/{three.module-DQeeIQFF.js → three.module-CZIqdNh9.js} +0 -0
  251. /package/viewer/assets/{worker-ref-BqLasdQ2.js → worker-ref-i3-CbMKs.js} +0 -0
package/LICENSE DELETED
@@ -1,160 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction, and
10
- distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
- owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all other entities
16
- that control, are controlled by, or are under common control with that entity.
17
- For the purposes of this definition, "control" means (i) the power, direct or
18
- indirect, to cause the direction or management of such entity, whether by
19
- contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
- outstanding shares, or (iii) beneficial ownership of such entity.
21
-
22
- "You" (or "Your") shall mean an individual or Legal Entity exercising
23
- permissions granted by this License.
24
-
25
- "Source" form shall mean the preferred form for making modifications, including
26
- but not limited to software source code, documentation source, and configuration
27
- files.
28
-
29
- "Object" form shall mean any form resulting from mechanical transformation or
30
- translation of a Source form, including but not limited to compiled object code,
31
- generated documentation, and conversions to other media types.
32
-
33
- "Work" shall mean the work of authorship, whether in Source or Object form,
34
- made available under the License, as indicated by a copyright notice that is
35
- included in or attached to the work.
36
-
37
- "Derivative Works" shall mean any work, whether in Source or Object form, that
38
- is based on (or derived from) the Work and for which the editorial revisions,
39
- annotations, elaborations, or other modifications represent, as a whole, an
40
- original work of authorship. For the purposes of this License, Derivative Works
41
- shall not include works that remain separable from, or merely link (or bind by
42
- name) to the interfaces of, the Work and Derivative Works thereof.
43
-
44
- "Contribution" shall mean any work of authorship, including the original version
45
- of the Work and any modifications or additions to that Work or Derivative Works
46
- thereof, that is intentionally submitted to Licensor for inclusion in the Work by
47
- the copyright owner or by an individual or Legal Entity authorized to submit on
48
- behalf of the copyright owner. For the purposes of this definition, "submitted"
49
- means any form of electronic, verbal, or written communication sent to the
50
- Licensor or its representatives, including but not limited to communication on
51
- electronic mailing lists, source code control systems, and issue tracking systems
52
- that are managed by, or on behalf of, the Licensor for the purpose of discussing
53
- and improving the Work, but excluding communication that is conspicuously marked
54
- or otherwise designated in writing by the copyright owner as "Not a
55
- Contribution."
56
-
57
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58
- of whom a Contribution has been received by Licensor and subsequently
59
- incorporated within the Work.
60
-
61
- 2. Grant of Copyright License. Subject to the terms and conditions of this
62
- License, each Contributor hereby grants to You a perpetual, worldwide,
63
- non-exclusive, no-charge, royalty-free, irrevocable copyright license to
64
- reproduce, prepare Derivative Works of, publicly display, publicly perform,
65
- sublicense, and distribute the Work and such Derivative Works in Source or
66
- Object form.
67
-
68
- 3. Grant of Patent License. Subject to the terms and conditions of this License,
69
- each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
70
- no-charge, royalty-free, irrevocable (except as stated in this section) patent
71
- license to make, have made, use, offer to sell, sell, import, and otherwise
72
- transfer the Work, where such license applies only to those patent claims
73
- licensable by such Contributor that are necessarily infringed by their
74
- Contribution(s) alone or by combination of their Contribution(s) with the Work to
75
- which such Contribution(s) was submitted. If You institute patent litigation
76
- against any entity (including a cross-claim or counterclaim in a lawsuit)
77
- alleging that the Work or a Contribution incorporated within the Work
78
- constitutes direct or contributory patent infringement, then any patent licenses
79
- granted to You under this License for that Work shall terminate as of the date
80
- such litigation is filed.
81
-
82
- 4. Redistribution. You may reproduce and distribute copies of the Work or
83
- Derivative Works thereof in any medium, with or without modifications, and in
84
- Source or Object form, provided that You meet the following conditions:
85
-
86
- (a) You must give any other recipients of the Work or Derivative Works a copy of
87
- this License; and
88
-
89
- (b) You must cause any modified files to carry prominent notices stating that
90
- You changed the files; and
91
-
92
- (c) You must retain, in the Source form of any Derivative Works that You
93
- distribute, all copyright, patent, trademark, and attribution notices from the
94
- Source form of the Work, excluding those notices that do not pertain to any part
95
- of the Derivative Works; and
96
-
97
- (d) If the Work includes a "NOTICE" text file as part of its distribution, then
98
- any Derivative Works that You distribute must include a readable copy of the
99
- attribution notices contained within such NOTICE file, excluding those notices
100
- that do not pertain to any part of the Derivative Works, in at least one of the
101
- following places: within a NOTICE text file distributed as part of the Derivative
102
- Works; within the Source form or documentation, if provided along with the
103
- Derivative Works; or, within a display generated by the Derivative Works, if and
104
- wherever such third-party notices normally appear. The contents of the NOTICE
105
- file are for informational purposes only and do not modify the License. You may
106
- add Your own attribution notices within Derivative Works that You distribute,
107
- alongside or as an addendum to the NOTICE text from the Work, provided that such
108
- additional attribution notices cannot be construed as modifying the License.
109
-
110
- You may add Your own copyright statement to Your modifications and may provide
111
- additional or different license terms and conditions for use, reproduction, or
112
- distribution of Your modifications, or for any such Derivative Works as a whole,
113
- provided Your use, reproduction, and distribution of the Work otherwise complies
114
- with the conditions stated in this License.
115
-
116
- 5. Submission of Contributions. Unless You explicitly state otherwise, any
117
- Contribution intentionally submitted for inclusion in the Work by You to the
118
- Licensor shall be under the terms and conditions of this License, without any
119
- additional terms or conditions. Notwithstanding the above, nothing herein shall
120
- supersede or modify the terms of any separate license agreement you may have
121
- executed with Licensor regarding such Contributions.
122
-
123
- 6. Trademarks. This License does not grant permission to use the trade names,
124
- trademarks, service marks, or product names of the Licensor, except as required
125
- for reasonable and customary use in describing the origin of the Work and
126
- reproducing the content of the NOTICE file.
127
-
128
- 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
129
- writing, Licensor provides the Work (and each Contributor provides its
130
- Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
131
- KIND, either express or implied, including, without limitation, any warranties or
132
- conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
133
- PARTICULAR PURPOSE. You are solely responsible for determining the
134
- appropriateness of using or redistributing the Work and assume any risks
135
- associated with Your exercise of permissions under this License.
136
-
137
- 8. Limitation of Liability. In no event and under no legal theory, whether in
138
- tort (including negligence), contract, or otherwise, unless required by
139
- applicable law (such as deliberate and grossly negligent acts) or agreed to in
140
- writing, shall any Contributor be liable to You for damages, including any
141
- direct, indirect, special, incidental, or consequential damages of any character
142
- arising as a result of this License or out of the use or inability to use the
143
- Work (including but not limited to damages for loss of goodwill, work stoppage,
144
- computer failure or malfunction, or any and all other commercial damages or
145
- losses), even if such Contributor has been advised of the possibility of such
146
- damages.
147
-
148
- 9. Accepting Warranty or Additional Liability. While redistributing the Work or
149
- Derivative Works thereof, You may choose to offer, and charge a fee for,
150
- acceptance of support, warranty, indemnity, or other liability obligations and/or
151
- rights consistent with this License. However, in accepting such obligations, You
152
- may act only on Your own behalf and on Your sole responsibility, not on behalf of
153
- any other Contributor, and only if You agree to indemnify, defend, and hold each
154
- Contributor harmless for any liability incurred by, or claims asserted against,
155
- such Contributor by reason of your accepting any such warranty or additional
156
- liability.
157
-
158
- END OF TERMS AND CONDITIONS
159
-
160
- Copyright 2026 Flyfish Viewer
@@ -1 +0,0 @@
1
- .archive-viewer[data-v-3a5c7aee]{color:#172033;background:#edf2f7;grid-template-columns:minmax(280px,34%) minmax(0,1fr);height:100%;display:grid;position:relative}.archive-sidebar[data-v-3a5c7aee]{background:#ffffffb8;border-right:1px solid #17203314;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:16px;display:flex}.archive-head span[data-v-3a5c7aee],.archive-preview-toolbar span[data-v-3a5c7aee]{color:#6c7c90;letter-spacing:0;font-size:12px;font-weight:800}.archive-head strong[data-v-3a5c7aee],.archive-preview-toolbar strong[data-v-3a5c7aee]{margin-top:4px;font-size:18px;line-height:1.25;display:block}.archive-head p[data-v-3a5c7aee]{color:#69798b;margin:8px 0 0;font-size:13px}.archive-warning[data-v-3a5c7aee],.archive-error[data-v-3a5c7aee]{color:#8a4b00;background:#fff7e8;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.5}.archive-search[data-v-3a5c7aee]{width:100%;height:42px;font:inherit;border:1px solid #1720331a;border-radius:12px;outline:none;padding:0 12px}.archive-list[data-v-3a5c7aee]{flex-direction:column;flex:1;gap:7px;min-height:0;padding-right:4px;display:flex;overflow:auto}.archive-entry[data-v-3a5c7aee]{width:100%;min-height:58px;padding:8px 10px 8px calc(10px + var(--entry-depth,0) * 10px);color:inherit;text-align:left;cursor:pointer;background:#ffffffdb;border:1px solid #17203312;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.archive-entry[data-v-3a5c7aee]:hover,.archive-entry.active[data-v-3a5c7aee]{border-color:#21815f47;box-shadow:0 10px 22px #17203314}.entry-ext[data-v-3a5c7aee]{color:#1d7a56;text-transform:uppercase;background:#21815f1f;border-radius:10px;justify-content:center;align-items:center;height:34px;font-size:11px;font-weight:900;display:inline-flex}.entry-copy[data-v-3a5c7aee]{min-width:0}.entry-copy strong[data-v-3a5c7aee],.entry-copy em[data-v-3a5c7aee]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.entry-copy em[data-v-3a5c7aee],.archive-entry small[data-v-3a5c7aee]{color:#718096;font-size:12px;font-style:normal}.archive-preview[data-v-3a5c7aee]{flex-direction:column;min-width:0;min-height:0;display:flex}.archive-preview-toolbar[data-v-3a5c7aee]{background:#ffffffc2;border-bottom:1px solid #17203314;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:12px 16px;display:flex}.archive-preview-toolbar button[data-v-3a5c7aee]{color:#fff;height:34px;font:inherit;cursor:pointer;background:#1f7a58;border:0;border-radius:10px;padding:0 12px;font-size:13px;font-weight:800}.archive-nested-target[data-v-3a5c7aee]{flex:1;min-height:0;position:relative;overflow:auto}.archive-empty[data-v-3a5c7aee]{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:28px;display:flex}.archive-empty strong[data-v-3a5c7aee]{color:#172033;font-size:18px}.archive-state[data-v-3a5c7aee]{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f1f5f9d1;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.archive-state>div[data-v-3a5c7aee]{background:#fff;border-radius:16px;align-items:center;gap:14px;width:min(92%,430px);padding:18px;display:flex;box-shadow:0 18px 42px #0f172a24}.archive-state p[data-v-3a5c7aee]{color:#64748b;margin:4px 0 0}.archive-spinner[data-v-3a5c7aee]{border:3px solid #1f7a5829;border-top-color:#1f7a58;border-radius:999px;flex-shrink:0;width:34px;height:34px;animation:.9s linear infinite archive-spin-3a5c7aee}.archive-error[data-v-3a5c7aee]{width:min(460px,100% - 36px);position:absolute;bottom:18px;right:18px;box-shadow:0 16px 36px #17203324}@keyframes archive-spin-3a5c7aee{to{transform:rotate(360deg)}}@media (width<=860px){.archive-viewer[data-v-3a5c7aee]{grid-template-rows:minmax(220px,38%) minmax(0,1fr);grid-template-columns:1fr}.archive-sidebar[data-v-3a5c7aee]{border-bottom:1px solid #17203314;border-right:0}}.archive-nested-content{width:100%;height:100%;min-height:420px}
@@ -1 +0,0 @@
1
- import{A as e,B as t,C as n,D as r,E as i,F as a,I as o,L as s,P as c,R as ee,T as te,a as l,g as u,h as d,i as ne,k as f,l as p,m,o as h,p as re,t as g,v as _,y as v,z as ie}from"./index-DwfuxtYp.js";import{t as ae}from"./nestedRender-EZY9a0wY.js";var y=`flyfish-file-viewer-cache`,b=`archiveEntries`,x=1,S=24*1024*1024,C=96*1024*1024,w=null,T=()=>typeof indexedDB<`u`,E=()=>T()?w||(w=new Promise((e,t)=>{let n=indexedDB.open(y,x);n.onupgradeneeded=()=>{let e=n.result;e.objectStoreNames.contains(b)||e.createObjectStore(b,{keyPath:`key`}).createIndex(`updatedAt`,`updatedAt`)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)}),w):Promise.reject(Error(`IndexedDB 不可用`)),D=async(e,t)=>{let n=await E();return new Promise((r,i)=>{let a=n.transaction(b,e),o=t(a.objectStore(b));o.onsuccess=()=>r(o.result),o.onerror=()=>i(o.error),a.onerror=()=>i(a.error)})},O=async e=>{try{return await D(`readonly`,t=>t.get(e))||null}catch{return null}},k=async()=>{try{let e=await E();await new Promise((t,n)=>{let r=e.transaction(b,`readwrite`),i=r.objectStore(b),a=i.index(`updatedAt`),o=[],s=0;a.openCursor().onsuccess=e=>{let t=e.target.result;if(!t){for(;s>C&&o.length;){let e=o.shift();e&&(s-=e.size,i.delete(e.key))}return}let n=t.value;s+=n.size||0,o.push({key:n.key,size:n.size||0}),t.continue()},r.oncomplete=()=>t(),r.onerror=()=>n(r.error)})}catch{}},A=async e=>{if(!(e.size>S))try{await D(`readwrite`,t=>t.put({...e,updatedAt:Date.now()})),await k()}catch{}},j={class:`archive-viewer`},M={class:`archive-sidebar`},N={class:`archive-head`},P={key:0,class:`archive-warning`},F={class:`archive-list`,role:`list`},I=[`onClick`],L={class:`entry-ext`},R={class:`entry-copy`},z={class:`archive-preview`},B={class:`archive-preview-toolbar`},V={key:0,class:`archive-empty`},H={key:0,class:`archive-state`},U={key:1,class:`archive-error`},oe=320*1024*1024,W=64*1024*1024,G=5e3,K=p(n({__name:`ArchiveViewer`,props:{data:{},filename:{},options:{}},setup(n){let p=n,y=o(null),b=a([]),x=a(null),S=a(!1),C=a(`正在读取压缩包目录...`),w=a(``),T=a(``),E=a(null),D=a(null),k,K=[],q=d(()=>p.options?.maxArchiveSize||oe),J=d(()=>p.options?.maxEntryPreviewSize||W),Y=d(()=>p.options?.cache!==!1),se=d(()=>({archive:p.options})),X=d(()=>{let e=b.value.reduce((e,t)=>e+t.size,0),t=b.value.filter(e=>e.previewable).length;return{count:b.value.length,totalSize:e,previewableCount:t}}),ce=d(()=>{let e=T.value.trim().toLowerCase();return(e?b.value.filter(t=>t.path.toLowerCase().includes(e)):b.value).slice(0,G)}),le=async()=>{if(p.options?.workerUrl)return p.options.workerUrl;let e=new URL(`/vendor/libarchive/worker-bundle.js`,window.location.href).toString();try{if((await fetch(e,{method:`HEAD`})).ok)return e}catch{}return(await g(()=>import(`./worker-bundle-D-AQnxpp.js`),[],import.meta.url)).default},Z=()=>{k?.unmount?.(),k=void 0;let e=D.value;if(e)for(;e.firstChild;)e.removeChild(e.firstChild)},ue=async()=>{await y.value?.close?.(),y.value=null},Q=async()=>{if(p.data.byteLength>q.value){w.value=`压缩包体积 ${h(p.data.byteLength)} 超过安全上限 ${h(q.value)},请下载后在本地解压。`;return}S.value=!0,C.value=`正在初始化压缩包解析 Worker...`,w.value=``;try{let[{Archive:e},t]=await Promise.all([g(()=>import(`./libarchive-BWmjBS7s.js`),[],import.meta.url),le()]);e.init({workerUrl:t}),C.value=`正在读取压缩包目录...`;let n=new File([p.data],p.filename||`archive.bin`),r=await e.open(n);y.value=r,E.value=await r.hasEncryptedData().catch(()=>null),b.value=l(await r.getFilesObject()).sort((e,t)=>e.path.localeCompare(t.path))}catch(e){console.error(e),w.value=e instanceof Error?e.message:String(e)}finally{S.value=!1}},de=async(e,t)=>{await te();let n=D.value;if(!n)return;Z();let r=document.createElement(`div`);r.className=`archive-nested-content`,n.appendChild(r),k=await ae(t,e.extension,r,{filename:e.name,options:se.value})},$=async e=>{let t=ne(p.filename,p.data.byteLength,e);if(Y.value){let e=await O(t);if(e)return e.buffer}let n=await(await e.compressedFile.extract()).arrayBuffer();return Y.value&&await A({key:t,filename:e.name,size:n.byteLength,updatedAt:Date.now(),buffer:n}),n},fe=async e=>{if(x.value=e,e.size>J.value){w.value=`压缩包内文件 ${e.name} 体积 ${h(e.size)} 超过预览上限 ${h(J.value)}。`;return}S.value=!0,C.value=`正在按需解压 ${e.name}...`,w.value=``;try{let t=await $(e);C.value=`正在渲染 ${e.name}...`,await de(e,t)}catch(e){console.error(e),w.value=e instanceof Error?e.message:String(e)}finally{S.value=!1}},pe=async e=>{S.value=!0,C.value=`正在导出 ${e.name}...`;try{let t=await $(e),n=URL.createObjectURL(new Blob([t]));K.push(n);let r=document.createElement(`a`);r.href=n,r.download=e.name,document.body.appendChild(r),r.click(),r.remove()}finally{S.value=!1}};return r(()=>{Q()}),i(()=>{Z(),ue(),K.forEach(e=>URL.revokeObjectURL(e))}),(r,i)=>(f(),v(`section`,j,[u(`aside`,M,[u(`div`,N,[i[2]||=u(`span`,null,`ARCHIVE`,-1),u(`strong`,null,t(n.filename),1),u(`p`,null,t(X.value.count)+` 个文件 · `+t(s(h)(X.value.totalSize))+` · `+t(X.value.previewableCount)+` 个可直接预览`,1)]),E.value?(f(),v(`div`,P,`检测到加密内容,当前在线预览不接收密码,建议下载后本地解压。`)):_(``,!0),c(u(`input`,{"onUpdate:modelValue":i[0]||=e=>T.value=e,class:`archive-search`,type:`search`,placeholder:`筛选压缩包内文件`},null,512),[[re,T.value]]),u(`div`,F,[(f(!0),v(m,null,e(ce.value,e=>(f(),v(`button`,{key:e.id,type:`button`,class:ee([`archive-entry`,{active:x.value?.id===e.id}]),style:ie({"--entry-depth":e.depth}),onClick:t=>fe(e)},[u(`span`,L,t(e.extension||`file`),1),u(`span`,R,[u(`strong`,null,t(e.name),1),u(`em`,null,t(e.path),1)]),u(`small`,null,t(s(h)(e.size)),1)],14,I))),128))])]),u(`main`,z,[u(`div`,B,[u(`div`,null,[i[3]||=u(`span`,null,`压缩包内预览`,-1),u(`strong`,null,t(x.value?.name||`请选择一个文件`),1)]),x.value?(f(),v(`button`,{key:0,type:`button`,onClick:i[1]||=e=>pe(x.value)},`下载文件`)):_(``,!0)]),u(`div`,{ref_key:`nestedTarget`,ref:D,class:`archive-nested-target`},[!x.value&&!S.value?(f(),v(`div`,V,[...i[4]||=[u(`strong`,null,`选择左侧文件即可预览`,-1),u(`p`,null,`压缩包只读取目录;文件内容会在点击后按需解压,并在体积允许时缓存到 IndexedDB。`,-1)]])):_(``,!0)],512)]),S.value?(f(),v(`div`,H,[u(`div`,null,[i[5]||=u(`span`,{class:`archive-spinner`},null,-1),u(`strong`,null,t(C.value),1),i[6]||=u(`p`,null,`大文件会在 Worker 中解析,避免阻塞主线程。`,-1)])])):_(``,!0),w.value?(f(),v(`div`,U,[i[7]||=u(`strong`,null,`压缩包预览提示`,-1),u(`p`,null,t(w.value),1)])):_(``,!0)]))}}),[[`__scopeId`,`data-v-3a5c7aee`]]);export{K as default};
@@ -1 +0,0 @@
1
- import{B as e,C as t,D as n,E as r,F as i,M as a,g as o,h as s,k as c,l,y as u,z as d}from"./index-DwfuxtYp.js";var f={class:`audio-viewer`},p={class:`audio-card`},m={class:`audio-copy`},h={class:`audio-kicker`},g={class:`audio-meter`},_={class:`audio-progress`,"aria-hidden":`true`},v=[`src`],y=l(t({__name:`AudioViewer`,props:{data:{},type:{}},setup(t){let l=t,y=i(null),b=i(``),x=i(0),S=i(0),C=i(!1),w={aac:`audio/aac`,flac:`audio/flac`,m4a:`audio/mp4`,mp3:`audio/mpeg`,mpeg:`audio/mpeg`,oga:`audio/ogg`,ogg:`audio/ogg`,opus:`audio/ogg; codecs=opus`,wav:`audio/wav`,weba:`audio/webm`},T=s(()=>l.type.trim().toLowerCase()),E=s(()=>w[T.value]||`audio/*`),D=s(()=>T.value.toUpperCase()||`AUDIO`),O=s(()=>!Number.isFinite(S.value)||S.value<=0?0:Math.min(100,Math.max(0,x.value/S.value*100))),k=e=>{if(!Number.isFinite(e)||e<=0)return`00:00`;let t=Math.floor(e/60),n=Math.floor(e%60);return`${String(t).padStart(2,`0`)}:${String(n).padStart(2,`0`)}`},A=()=>{b.value&&=(URL.revokeObjectURL(b.value),``)},j=()=>{A(),x.value=0,S.value=0,C.value=!1,b.value=URL.createObjectURL(new Blob([l.data],{type:E.value}))},M=()=>{S.value=y.value?.duration||0,C.value=!0},N=()=>{x.value=y.value?.currentTime||0};return n(j),a(()=>[l.data,l.type],j),r(A),(t,n)=>(c(),u(`div`,f,[o(`section`,p,[n[2]||=o(`div`,{class:`audio-art`},[o(`span`),o(`i`)],-1),o(`div`,m,[o(`span`,h,e(D.value),1),n[0]||=o(`strong`,null,`音频预览`,-1),n[1]||=o(`p`,null,`使用浏览器原生播放器打开,兼容性取决于当前浏览器支持的音频编码。`,-1)]),o(`div`,g,[o(`span`,null,e(k(x.value)),1),o(`div`,_,[o(`i`,{style:d({width:`${O.value}%`})},null,4)]),o(`span`,null,e(C.value?k(S.value):`--:--`),1)]),o(`audio`,{ref_key:`audioRef`,ref:y,class:`audio-control`,src:b.value,controls:``,preload:`metadata`,onLoadedmetadata:M,onTimeupdate:N},` 当前浏览器不支持音频播放。 `,40,v)])]))}}),[[`__scopeId`,`data-v-608bd328`]]);export{y as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./core-CK4GvTuB.js","./index-DwfuxtYp.js","./index-CJLM3dyI.css"])))=>i.map(i=>d[i]);
2
- import{B as e,C as t,F as n,M as r,R as i,g as a,h as o,k as s,l as c,t as l,y as u}from"./index-DwfuxtYp.js";var d={class:`code-viewer`},f={class:`code-toolbar`},p={class:`code-area`},m=[`innerHTML`],h=c(t({__name:`CodeViewer`,props:{value:{},type:{}},setup(t){let c=t,h={bash:`bash`,c:`cpp`,cc:`cpp`,cjs:`javascript`,cpp:`cpp`,cs:`csharp`,css:`css`,diff:`diff`,go:`go`,h:`cpp`,hpp:`cpp`,html:`xml`,htm:`xml`,ini:`ini`,java:`java`,js:`javascript`,json:`json`,jsx:`javascript`,log:`plaintext`,md:`markdown`,markdown:`markdown`,mjs:`javascript`,php:`php`,py:`python`,rs:`rust`,sh:`bash`,sql:`sql`,ts:`typescript`,tsx:`typescript`,txt:`plaintext`,vue:`xml`,xml:`xml`,yaml:`yaml`,yml:`yaml`},g={bash:()=>l(()=>import(`./bash-BJm0Os9e.js`),[],import.meta.url),cpp:()=>l(()=>import(`./cpp-DF3_Y4Y1.js`),[],import.meta.url),csharp:()=>l(()=>import(`./csharp-BtVV86wX.js`),[],import.meta.url),css:()=>l(()=>import(`./css-wZv8YE7b.js`),[],import.meta.url),diff:()=>l(()=>import(`./diff-Bxf4Bdyj.js`),[],import.meta.url),go:()=>l(()=>import(`./go-B7mD4oi7.js`),[],import.meta.url),ini:()=>l(()=>import(`./ini-BMQSfYcX.js`),[],import.meta.url),java:()=>l(()=>import(`./java-CLKxIYNp.js`),[],import.meta.url),javascript:()=>l(()=>import(`./javascript-KR3bXd09.js`),[],import.meta.url),json:()=>l(()=>import(`./json-CKtDrYhA.js`),[],import.meta.url),markdown:()=>l(()=>import(`./markdown-DQnm92SS.js`),[],import.meta.url),php:()=>l(()=>import(`./php-B8QdQEEH.js`),[],import.meta.url),python:()=>l(()=>import(`./python-5t6UGqKu.js`),[],import.meta.url),rust:()=>l(()=>import(`./rust-CKj8FOnD.js`),[],import.meta.url),sql:()=>l(()=>import(`./sql-Ce6HY06Z.js`),[],import.meta.url),typescript:()=>l(()=>import(`./typescript-CL2ByGCA.js`),[],import.meta.url),xml:()=>l(()=>import(`./xml-CKLaISb_.js`),[],import.meta.url),yaml:()=>l(()=>import(`./yaml-CnW-k44d.js`),[],import.meta.url)},_=null,v=new Set,y=async()=>(_||=l(()=>import(`./core-CK4GvTuB.js`).then(e=>e.default),__vite__mapDeps([0,1,2]),import.meta.url),_),b=async(e,t)=>{if(v.has(t))return!0;let n=g[t];if(!n)return!1;let{default:r}=await n();return e.registerLanguage(t,r),v.add(t),!0},x=o(()=>h[c.type.toLowerCase()]||`plaintext`),S=e=>e.replace(/[&<>"']/g,e=>({"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`})[e]),C=n(``),w=0;r(()=>[c.value,x.value],async()=>{let e=++w,t=x.value;if(t===`plaintext`){C.value=S(c.value);return}try{let n=await y(),r=await b(n,t);if(e!==w)return;C.value=r?n.highlight(c.value,{language:t,ignoreIllegals:!0}).value:S(c.value)}catch{e===w&&(C.value=S(c.value))}},{immediate:!0});let T=o(()=>c.value.split(/\r\n|\r|\n/).length);return(n,r)=>(s(),u(`div`,d,[a(`div`,f,[a(`span`,null,e(t.type.toUpperCase()),1),a(`strong`,null,e(T.value)+` lines`,1)]),a(`pre`,p,[a(`code`,{class:i([`hljs`,`language-${x.value}`]),innerHTML:C.value},null,10,m)])]))}}),[[`__scopeId`,`data-v-81405bd8`]]);export{h as default};
@@ -1,4 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lib-C1DiiFP-.js","./index-DwfuxtYp.js","./index-CJLM3dyI.css"])))=>i.map(i=>d[i]);
2
- import{A as e,B as t,C as n,D as r,E as i,F as a,K as o,R as s,T as c,b as l,g as u,h as d,k as f,l as p,m,t as h,v as g,y as _}from"./index-DwfuxtYp.js";import{t as v}from"./nestedRender-EZY9a0wY.js";var y={class:`email-viewer`},b={class:`email-header`},x={key:0,class:`email-meta`},S={key:0},C={key:0,class:`email-body`},w={class:`email-sidebar`},T={class:`body-tabs`},E=[`disabled`,`onClick`],D={class:`attachment-panel`},O={class:`attachment-title`},k=[`onClick`],A={class:`message-panel`},ee=[`srcdoc`],te={key:1,class:`email-text`},j={key:2,class:`email-text`},M={key:3,class:`attachment-preview`},N={class:`attachment-preview-head`},P={key:1,class:`email-state`},F={key:2,class:`email-error`},I=p(n({__name:`EmailViewer`,props:{data:{},type:{},filename:{},options:{}},setup(n){let p=n,I=a(null),L=a(!0),R=a(`正在解析邮件...`),z=a(``),B=a(`html`),V=a(null),H=a(null),U=new Map,W=[],G,K=e=>{if(!Number.isFinite(e)||e<0)return`-`;if(e<1024)return`${e} B`;let t=e/1024/1024;return t>=1?`${t.toFixed(+(t<10))} MB`:`${(e/1024).toFixed(+(e<10*1024))} KB`},q=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>{let t=e;return t.group?q(t.group):[{name:t.name||``,address:t.address||t.email||``}]}):[],J=e=>e.map(e=>e.name&&e.address?`${e.name} <${e.address}>`:e.address||e.name||``).filter(Boolean).join(`, `),Y=d(()=>{let e=I.value?.html||``;if(!e)return``;let t=e;return U.forEach((e,n)=>{t=t.replace(RegExp(`cid:${n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}`,`gi`),e)}),`<!doctype html><html><head><meta charset="utf-8"><base target="_blank"><style>body{margin:0;padding:18px;font-family:Aptos,"Segoe UI",sans-serif;line-height:1.6;color:#172033;word-break:break-word;}img{max-width:100%;height:auto;}</style></head><body>${t}</body></html>`}),X=d(()=>[{key:`html`,label:`HTML`,disabled:!I.value?.html},{key:`text`,label:`正文`,disabled:!I.value?.text},{key:`headers`,label:`头信息`,disabled:!I.value?.headers}]),Z=async e=>{if(e instanceof ArrayBuffer)return e;if(e instanceof Uint8Array){let t=new Uint8Array(e.byteLength);return t.set(e),t.buffer}return Z(new TextEncoder().encode(e))},Q=async()=>{let e=await(await h(async()=>{let{default:e}=await import(`./postal-mime-CuiVR6kZ.js`);return{default:e}},[],import.meta.url)).default.parse(p.data,{attachmentEncoding:`arraybuffer`,maxNestingDepth:24,maxHeadersSize:2*1024*1024}),t=e.attachments.map((e,t)=>{let n=typeof e.content==`string`?e.content.length:e.content.byteLength,r=e.filename||`attachment-${t+1}`;return{id:`${t}-${r}`,name:r,mimeType:e.mimeType,size:n,contentId:e.contentId,load:()=>Z(e.content)}});return await Promise.all(t.map(async e=>{if(!e.contentId||!e.mimeType?.startsWith(`image/`))return;let t=await e.load(),n=URL.createObjectURL(new Blob([t],{type:e.mimeType}));W.push(n),U.set(e.contentId.replace(/[<>]/g,``),n)})),{kind:`eml`,subject:e.subject||p.filename,from:q(e.from),to:q(e.to),cc:q(e.cc),date:e.date,text:e.text,html:e.html,headers:e.headerLines?.map(e=>e.line).join(`
3
- `)||e.headers?.map(e=>`${e.originalKey}: ${e.value}`).join(`
4
- `),attachments:t}},ne=async()=>{let e=await h(()=>import(`./lib-C1DiiFP-.js`).then(e=>o(e.default,1)),__vite__mapDeps([0,1,2]),import.meta.url),t=new(e.default?.default||e.default)(p.data),n=t.getFileData(),r=(n.attachments||[]).map((e,n)=>{let r=e.fileName||e.fileNameShort||e.name||`attachment-${n+1}${e.extension||``}`;return{id:`${n}-${r}`,name:r,mimeType:`application/octet-stream`,size:e.contentLength||e.size||0,contentId:e.pidContentId,async load(){return Z(t.getAttachment(e).content)}}});return{kind:`msg`,subject:n.subject||p.filename,from:q({name:n.senderName,address:n.senderEmail}),to:q(n.recipients||[]).filter(e=>e.name||e.address),cc:[],date:n.messageDeliveryTime||n.clientSubmitTime||n.creationTime,text:n.body,html:n.html||``,headers:n.headers,attachments:r}},re=async()=>{L.value=!0,z.value=``;try{I.value=p.type===`msg`?await ne():await Q(),B.value=I.value.html?`html`:I.value.text?`text`:`headers`}catch(e){console.error(e),z.value=e instanceof Error?e.message:String(e)}finally{L.value=!1}},$=()=>{G?.unmount?.(),G=void 0;let e=H.value;if(e)for(;e.firstChild;)e.removeChild(e.firstChild)},ie=async e=>{V.value=e,L.value=!0,R.value=`正在打开附件 ${e.name}...`;try{let t=await e.load();await c(),$();let n=H.value;if(!n)return;let r=document.createElement(`div`);r.className=`email-attachment-render`,n.appendChild(r),G=await v(t,e.name.includes(`.`)?e.name.slice(e.name.lastIndexOf(`.`)+1).toLowerCase():`txt`,r,{filename:e.name,options:p.options})}catch(e){console.error(e),z.value=e instanceof Error?e.message:String(e)}finally{L.value=!1,R.value=`正在解析邮件...`}},ae=async e=>{let t=await e.load(),n=URL.createObjectURL(new Blob([t],{type:e.mimeType||`application/octet-stream`}));W.push(n);let r=document.createElement(`a`);r.href=n,r.download=e.name,document.body.appendChild(r),r.click(),r.remove()};return r(()=>{re()}),i(()=>{$(),W.forEach(e=>URL.revokeObjectURL(e))}),(r,i)=>(f(),_(`section`,y,[u(`header`,b,[u(`span`,null,t(I.value?.kind?.toUpperCase()||n.type.toUpperCase()),1),u(`h2`,null,t(I.value?.subject||n.filename),1),I.value?(f(),_(`div`,x,[u(`p`,null,[i[1]||=u(`strong`,null,`发件人`,-1),l(t(J(I.value.from)||`-`),1)]),u(`p`,null,[i[2]||=u(`strong`,null,`收件人`,-1),l(t(J(I.value.to)||`-`),1)]),I.value.cc.length?(f(),_(`p`,S,[i[3]||=u(`strong`,null,`抄送`,-1),l(t(J(I.value.cc)),1)])):g(``,!0),u(`p`,null,[i[4]||=u(`strong`,null,`时间`,-1),l(t(I.value.date||`-`),1)])])):g(``,!0)]),I.value?(f(),_(`div`,C,[u(`aside`,w,[u(`div`,T,[(f(!0),_(m,null,e(X.value,e=>(f(),_(`button`,{key:e.key,type:`button`,disabled:e.disabled,class:s({active:B.value===e.key}),onClick:t=>B.value=e.key},t(e.label),11,E))),128))]),u(`section`,D,[u(`div`,O,[i[5]||=u(`strong`,null,`附件`,-1),u(`span`,null,t(I.value.attachments.length),1)]),(f(!0),_(m,null,e(I.value.attachments,e=>(f(),_(`button`,{key:e.id,type:`button`,class:s([`attachment-item`,{active:V.value?.id===e.id}]),onClick:t=>ie(e)},[u(`span`,null,t(e.name.split(`.`).pop()?.toUpperCase()||`FILE`),1),u(`strong`,null,t(e.name),1),u(`em`,null,t(K(e.size)),1)],10,k))),128))])]),u(`main`,A,[B.value===`html`&&Y.value?(f(),_(`iframe`,{key:0,class:`email-html`,sandbox:``,srcdoc:Y.value},null,8,ee)):B.value===`text`?(f(),_(`pre`,te,t(I.value.text),1)):(f(),_(`pre`,j,t(I.value.headers),1)),V.value?(f(),_(`section`,M,[u(`div`,N,[u(`strong`,null,t(V.value.name),1),u(`button`,{type:`button`,onClick:i[0]||=e=>ae(V.value)},`下载附件`)]),u(`div`,{ref_key:`attachmentTarget`,ref:H,class:`attachment-target`},null,512)])):g(``,!0)])])):g(``,!0),L.value?(f(),_(`div`,P,[i[6]||=u(`span`,null,null,-1),u(`strong`,null,t(R.value),1)])):g(``,!0),z.value?(f(),_(`div`,F,[i[7]||=u(`strong`,null,`邮件预览提示`,-1),u(`p`,null,t(z.value),1)])):g(``,!0)]))}}),[[`__scopeId`,`data-v-0989d798`]]);export{I as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ofd-UFRA5WYZ.js","./index-DwfuxtYp.js","./index-CJLM3dyI.css","./jszip.min-B6YM0lLn.js"])))=>i.map(i=>d[i]);
2
- import{B as e,C as t,D as n,E as r,F as i,T as a,g as o,k as s,l as c,t as l,v as u,y as d}from"./index-DwfuxtYp.js";var f={key:0,class:`ofd-state`},p={key:1,class:`ofd-state error`},m=c(t({__name:`OfdViewer`,props:{data:{}},setup(t){let c=t,m=i(null),h=i(null),g=i(`loading`),_=i(``),v=!1,y=0,b=null,x=0,S=0,C=null,w=()=>{let e=m.value;if(e)for(;e.firstChild;)e.removeChild(e.firstChild)},T=e=>new Promise((t,n)=>{e.parseOfdDocument({ofd:c.data,success:e=>t(e),fail:e=>n(e)})}),E=async e=>(C||=T(e).then(e=>{let t=e[0];if(!t)throw Error(`OFD 文件中没有可渲染的文档`);return t}),C),D=e=>e instanceof Error?e.message:typeof e==`string`?e:JSON.stringify(e),O=(e,t)=>{let n=document.createDocumentFragment();t.forEach(e=>{e.classList.add(`ofd-page`),n.appendChild(e)}),e.appendChild(n)},k=()=>{let e=h.value?.getBoundingClientRect().width||m.value?.getBoundingClientRect().width||0;return Math.max(Math.floor(e-48),240)},A=async e=>{let t=await l(()=>import(`./ofd-UFRA5WYZ.js`),__vite__mapDeps([0,1,2,3]),import.meta.url),n=await E(t);return v?[]:Promise.resolve(t.renderOfd(e,n))},j=async(e={})=>{let t=m.value;if(!t)return;let n=e.force??!1,r=e.showLoading??!1,i=k();if(!n&&g.value===`ready`&&Math.abs(i-S)<8)return;let o=++y;(r||g.value!==`ready`)&&(g.value=`loading`,w()),_.value=``;try{await a();let e=await A(i);if(v||o!==y)return;w(),O(t,e),S=i,g.value=`ready`}catch(e){if(v||o!==y)return;console.error(e),g.value=`error`,_.value=D(e)||`OFD 文件解析失败`}},M=()=>{!h.value||b||(b=new ResizeObserver(()=>{window.clearTimeout(x),x=window.setTimeout(()=>{v||j({showLoading:!1})},180)}),b.observe(h.value))};return n(()=>{j({force:!0,showLoading:!0}).finally(()=>{M()})}),r(()=>{v=!0,y+=1,window.clearTimeout(x),b?.disconnect(),b=null,w()}),(t,n)=>(s(),d(`div`,{ref_key:`viewer`,ref:h,class:`ofd-viewer`},[g.value===`loading`?(s(),d(`div`,f,`正在解析 OFD...`)):g.value===`error`?(s(),d(`div`,p,e(_.value),1)):u(``,!0),o(`div`,{ref_key:`stage`,ref:m,class:`ofd-stage`},null,512)],512))}}),[[`__scopeId`,`data-v-48238ef6`]]);export{m as default};