alistgo-alist-web 3.62.0 → 3.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/assets/{2fa-90445130.js → 2fa-abc3de78.js} +1 -1
  2. package/dist/assets/{2fa-legacy.4651384a.js → 2fa-legacy.55737098.js} +1 -1
  3. package/dist/assets/{About-eda27b55.js → About-ebade33f.js} +1 -1
  4. package/dist/assets/{About-legacy.8c72ed25.js → About-legacy.1ab87d8b.js} +1 -1
  5. package/dist/assets/{AddLabelDialog-58275e40.js → AddLabelDialog-d838839b.js} +1 -1
  6. package/dist/assets/{AddLabelDialog-legacy.25a1a0bf.js → AddLabelDialog-legacy.0c773d90.js} +1 -1
  7. package/dist/assets/{AddOrEdit-3c0c392c.js → AddOrEdit-616ec90f.js} +1 -1
  8. package/dist/assets/{AddOrEdit-d0768673.js → AddOrEdit-81330314.js} +1 -1
  9. package/dist/assets/{AddOrEdit-147c64bc.js → AddOrEdit-b4bb1c42.js} +1 -1
  10. package/dist/assets/{AddOrEdit-37fb1158.js → AddOrEdit-ebed8ac0.js} +1 -1
  11. package/dist/assets/{AddOrEdit-legacy.a17a1681.js → AddOrEdit-legacy.2fd88478.js} +1 -1
  12. package/dist/assets/{AddOrEdit-legacy.78a89d90.js → AddOrEdit-legacy.3af450b0.js} +1 -1
  13. package/dist/assets/{AddOrEdit-legacy.5f9f6e00.js → AddOrEdit-legacy.abd115d9.js} +1 -1
  14. package/dist/assets/{AddOrEdit-legacy.cc28033b.js → AddOrEdit-legacy.acbb24c8.js} +1 -1
  15. package/dist/assets/{Common-ab1ed06a.js → Common-ca550843.js} +1 -1
  16. package/dist/assets/{Common-legacy.77f75cae.js → Common-legacy.b3ab5071.js} +1 -1
  17. package/dist/assets/{Copy-0a9852d8.js → Copy-0384ca0d.js} +1 -1
  18. package/dist/assets/{Copy-legacy.95090e73.js → Copy-legacy.e201e664.js} +1 -1
  19. package/dist/assets/Decompress-272f91b5.js +1 -0
  20. package/dist/assets/{Decompress-legacy.23122f34.js → Decompress-legacy.3df460b6.js} +1 -1
  21. package/dist/assets/{DeletePopover-97491ed2.js → DeletePopover-3958d0ad.js} +1 -1
  22. package/dist/assets/{DeletePopover-legacy.75b6b298.js → DeletePopover-legacy.49680594.js} +1 -1
  23. package/dist/assets/{EditLabelDialog-8cc7e858.js → EditLabelDialog-ea31ea23.js} +1 -1
  24. package/dist/assets/{EditLabelDialog-legacy.9fa392e6.js → EditLabelDialog-legacy.2b5bee02.js} +1 -1
  25. package/dist/assets/{File-6f10ed97.js → File-9c374f1a.js} +1 -1
  26. package/dist/assets/{File-legacy.7d9854b2.js → File-legacy.9d2c3ca7.js} +1 -1
  27. package/dist/assets/{Folder-3af0d072.js → Folder-14a25b89.js} +2 -2
  28. package/dist/assets/{Folder-legacy.0c7ccabb.js → Folder-legacy.de37bd62.js} +2 -2
  29. package/dist/assets/{FolderTree-38cf3401.js → FolderTree-7ae29384.js} +1 -1
  30. package/dist/assets/{FolderTree-legacy.cd2c39e7.js → FolderTree-legacy.53528cb3.js} +1 -1
  31. package/dist/assets/{Frp-d12680a2.js → Frp-f7302299.js} +1 -1
  32. package/dist/assets/{Frp-legacy.ba6e7027.js → Frp-legacy.71102175.js} +1 -1
  33. package/dist/assets/Grid-f0c4d013.js +1 -0
  34. package/dist/assets/{Grid-legacy.7203a923.js → Grid-legacy.164386d7.js} +1 -1
  35. package/dist/assets/{GridItem-c24bccd1.js → GridItem-657d21bd.js} +1 -1
  36. package/dist/assets/{GridItem-legacy.e05d60cc.js → GridItem-legacy.2c3dbff8.js} +1 -1
  37. package/dist/assets/ImageWithError-270ffbd0.js +1 -0
  38. package/dist/assets/{ImageWithError-legacy.bf6a9e3d.js → ImageWithError-legacy.991e20db.js} +1 -1
  39. package/dist/assets/{Images-ace8cf15.js → Images-1b5fd472.js} +1 -1
  40. package/dist/assets/{Images-legacy.27190692.js → Images-legacy.d3a439bd.js} +1 -1
  41. package/dist/assets/{Layout-27464135.js → Layout-77c54d54.js} +4 -4
  42. package/dist/assets/{Layout-legacy.12efcab5.js → Layout-legacy.d9c36690.js} +1 -1
  43. package/dist/assets/{List-c2310d66.js → List-cb3f2b1f.js} +1 -1
  44. package/dist/assets/{List-legacy.870c9e01.js → List-legacy.d509dbd5.js} +1 -1
  45. package/dist/assets/{Messenger-0c026e7c.js → Messenger-69bf75f1.js} +1 -1
  46. package/dist/assets/{Messenger-legacy.956b05cb.js → Messenger-legacy.2447ffbd.js} +1 -1
  47. package/dist/assets/{Metas-345e5cd3.js → Metas-6fc6206f.js} +1 -1
  48. package/dist/assets/{Metas-legacy.cff72103.js → Metas-legacy.a22fda65.js} +1 -1
  49. package/dist/assets/Other-bf0c8f40.js +1 -0
  50. package/dist/assets/Other-legacy.0b52198b.js +1 -0
  51. package/dist/assets/{PackageDownload-a29edc97.js → PackageDownload-f1225dad.js} +1 -1
  52. package/dist/assets/{PackageDownload-legacy.8602aaba.js → PackageDownload-legacy.5ce2ee6a.js} +1 -1
  53. package/dist/assets/{Paginator-4383aac7.js → Paginator-8b9321c4.js} +1 -1
  54. package/dist/assets/{Paginator-legacy.0dbfe7e8.js → Paginator-legacy.25f9c490.js} +1 -1
  55. package/dist/assets/{Password-80dc04ca.js → Password-b98cef17.js} +1 -1
  56. package/dist/assets/{Password-legacy.9e534b9b.js → Password-legacy.f4c14222.js} +1 -1
  57. package/dist/assets/{PermissionForm-37577089.js → PermissionForm-7a161a53.js} +1 -1
  58. package/dist/assets/{PermissionForm-legacy.82b24501.js → PermissionForm-legacy.14a9fe69.js} +1 -1
  59. package/dist/assets/{Profile-73231b4d.js → Profile-e8195cc8.js} +1 -1
  60. package/dist/assets/{Profile-legacy.2f4bbe4e.js → Profile-legacy.876024b1.js} +1 -1
  61. package/dist/assets/{ResponsiveGrid-cf04dd59.js → ResponsiveGrid-0e943896.js} +1 -1
  62. package/dist/assets/{ResponsiveGrid-legacy.539dcc2d.js → ResponsiveGrid-legacy.a9062597.js} +1 -1
  63. package/dist/assets/{Role-a5ae44a1.js → Role-3e2c225c.js} +1 -1
  64. package/dist/assets/{Role-legacy.a19a467f.js → Role-legacy.2745cfe3.js} +1 -1
  65. package/dist/assets/{S3-b51c960c.js → S3-3211311d.js} +1 -1
  66. package/dist/assets/{S3-legacy.78984bcf.js → S3-legacy.6b587900.js} +1 -1
  67. package/dist/assets/{S3Transition-d946d841.js → S3Transition-4b41bf18.js} +1 -1
  68. package/dist/assets/{S3Transition-legacy.05c07f4e.js → S3Transition-legacy.cf3cde2a.js} +1 -1
  69. package/dist/assets/{SettingItem-43a27519.js → SettingItem-e7a7bfc9.js} +1 -1
  70. package/dist/assets/{SettingItem-legacy.988d1d9c.js → SettingItem-legacy.b5a9ffeb.js} +1 -1
  71. package/dist/assets/{Storages-abe8c4f9.js → Storages-baae5b17.js} +1 -1
  72. package/dist/assets/{Storages-legacy.c5179b0d.js → Storages-legacy.bf0c1aa1.js} +1 -1
  73. package/dist/assets/StrmGenerate-768d6021.js +1 -0
  74. package/dist/assets/{StrmGenerate-f58ea741.js → StrmGenerate-d4f07081.js} +1 -1
  75. package/dist/assets/{StrmGenerate-legacy.5ae65986.js → StrmGenerate-legacy.4402360f.js} +1 -1
  76. package/dist/assets/{StrmGenerate-legacy.eaf82811.js → StrmGenerate-legacy.ecbb8e9d.js} +1 -1
  77. package/dist/assets/{Tag-f71f66bd.js → Tag-ffe1a992.js} +1 -1
  78. package/dist/assets/{Tag-legacy.cccf7e4f.js → Tag-legacy.971a1953.js} +1 -1
  79. package/dist/assets/{Task-4bab4ae7.js → Task-438c4d6b.js} +1 -1
  80. package/dist/assets/{Task-legacy.bb16a63a.js → Task-legacy.607e52ad.js} +1 -1
  81. package/dist/assets/{Tasks-a81ddbfb.js → Tasks-c0229b29.js} +1 -1
  82. package/dist/assets/{Tasks-legacy.7372c9c9.js → Tasks-legacy.f3598230.js} +1 -1
  83. package/dist/assets/{Upload-82e59afd.js → Upload-958e240c.js} +1 -1
  84. package/dist/assets/Upload-e69eb0ff.js +1 -0
  85. package/dist/assets/{Upload-legacy.f7d24878.js → Upload-legacy.03c286e2.js} +1 -1
  86. package/dist/assets/{Upload-legacy.333c7f45.js → Upload-legacy.698d3c2b.js} +1 -1
  87. package/dist/assets/{Users-d54db363.js → Users-bdf25bea.js} +1 -1
  88. package/dist/assets/{Users-legacy.ea25ac9c.js → Users-legacy.b0075433.js} +1 -1
  89. package/dist/assets/{Wether-34003580.js → Wether-891c8709.js} +1 -1
  90. package/dist/assets/{Wether-legacy.e7f0cdf2.js → Wether-legacy.7a5c9f59.js} +1 -1
  91. package/dist/assets/{aliyun_office-62289944.js → aliyun_office-a22ac966.js} +1 -1
  92. package/dist/assets/{aliyun_office-legacy.ab69efae.js → aliyun_office-legacy.910c67dd.js} +1 -1
  93. package/dist/assets/{aliyun_video-e4e5e5b1.js → aliyun_video-72e75696.js} +1 -1
  94. package/dist/assets/{aliyun_video-legacy.5052d2be.js → aliyun_video-legacy.3ca538ae.js} +1 -1
  95. package/dist/assets/{archive-f13b3c32.js → archive-15d8b252.js} +1 -1
  96. package/dist/assets/{archive-legacy.9e4f702a.js → archive-legacy.141ed6de.js} +1 -1
  97. package/dist/assets/{asciinema-d265f5ed.js → asciinema-befe680b.js} +1 -1
  98. package/dist/assets/{asciinema-legacy.a677f7a4.js → asciinema-legacy.0e111ef8.js} +1 -1
  99. package/dist/assets/{audio-63384a50.js → audio-37bb4f75.js} +1 -1
  100. package/dist/assets/{audio-legacy.3a1bc571.js → audio-legacy.9c9e6fd9.js} +1 -1
  101. package/dist/assets/{backup-restore-5d8f4473.js → backup-restore-8d5112f2.js} +1 -1
  102. package/dist/assets/{backup-restore-legacy.558c1bbf.js → backup-restore-legacy.21994194.js} +1 -1
  103. package/dist/assets/{doubao-3f38d292.js → doubao-4962e438.js} +1 -1
  104. package/dist/assets/{doubao-legacy.ce23ad6f.js → doubao-legacy.e8e5bddc.js} +1 -1
  105. package/dist/assets/{download-334cfc63.js → download-cf222578.js} +1 -1
  106. package/dist/assets/{download-legacy.20113d61.js → download-legacy.6b17b261.js} +1 -1
  107. package/dist/assets/{entry-014101b9.js → entry-23d0eac8.js} +4 -4
  108. package/dist/assets/{entry-acdd26dd.js → entry-2abbb591.js} +3 -3
  109. package/dist/assets/{entry-71381848.js → entry-55b019b5.js} +3 -3
  110. package/dist/assets/{entry-220f7e8b.js → entry-6fb77620.js} +2 -2
  111. package/dist/assets/{entry-1c58d2fa.js → entry-9896052e.js} +3 -3
  112. package/dist/assets/{entry-a4d7c810.js → entry-9a9c06fb.js} +2 -2
  113. package/dist/assets/{entry-96ec7279.js → entry-d1529af3.js} +4 -4
  114. package/dist/assets/{entry-2d788f53.js → entry-d2b2146e.js} +2 -2
  115. package/dist/assets/{entry-4f284779.js → entry-d9866ffb.js} +3 -3
  116. package/dist/assets/{entry-0a2185c7.js → entry-f67c0939.js} +3 -3
  117. package/dist/assets/entry-legacy.1c11c4ce.js +1 -0
  118. package/dist/assets/entry-legacy.6066ebc9.js +1 -0
  119. package/dist/assets/entry-legacy.60876545.js +1 -0
  120. package/dist/assets/entry-legacy.62cc3c3d.js +1 -0
  121. package/dist/assets/entry-legacy.8088e3bc.js +1 -0
  122. package/dist/assets/entry-legacy.b99b54c1.js +1 -0
  123. package/dist/assets/entry-legacy.b9b7580f.js +1 -0
  124. package/dist/assets/{entry-legacy.1d598eba.js → entry-legacy.c9424c94.js} +1 -1
  125. package/dist/assets/entry-legacy.d1b30365.js +1 -0
  126. package/dist/assets/entry-legacy.f43d27fe.js +1 -0
  127. package/dist/assets/{helper-ed76cd58.js → helper-8d6da87f.js} +1 -1
  128. package/dist/assets/{helper-a97d2506.js → helper-bcff9934.js} +1 -1
  129. package/dist/assets/{helper-legacy.a6497213.js → helper-legacy.c67cf50b.js} +1 -1
  130. package/dist/assets/{helper-legacy.f609beae.js → helper-legacy.fc3cc7d5.js} +1 -1
  131. package/dist/assets/{hls-d9c70324.js → hls-34ad2bf0.js} +1 -1
  132. package/dist/assets/{hls-legacy.8ac3e311.js → hls-legacy.258e62dc.js} +1 -1
  133. package/dist/assets/{html-eecc2de0.js → html-772e9d83.js} +1 -1
  134. package/dist/assets/{html-legacy.62ec8691.js → html-legacy.d0f89f46.js} +1 -1
  135. package/dist/assets/{image-da2e21d0.js → image-73b55447.js} +1 -1
  136. package/dist/assets/{image-legacy.1ecb39b4.js → image-legacy.944e86c3.js} +1 -1
  137. package/dist/assets/{index-be8bf534.js → index-003b5203.js} +1 -1
  138. package/dist/assets/{index-9e81668b.js → index-0af67a26.js} +3 -3
  139. package/dist/assets/{index-79dd8025.js → index-14204052.js} +1 -1
  140. package/dist/assets/{index-672ecb3a.js → index-2da9ca8e.js} +1 -1
  141. package/dist/assets/{index-16696b4e.js → index-314d6447.js} +1 -1
  142. package/dist/assets/index-54ddc888.js +1 -0
  143. package/dist/assets/{index-6a8f5a97.js → index-6021c988.js} +1 -1
  144. package/dist/assets/{index-16054e06.js → index-66bc0c4a.js} +1 -1
  145. package/dist/assets/{index-ed94c068.js → index-66f271c4.js} +1 -1
  146. package/dist/assets/{index-3095233d.js → index-6cfcfd46.js} +1 -1
  147. package/dist/assets/{index-a69ba1a7.js → index-76fcdbdf.js} +1 -1
  148. package/dist/assets/{index-bd615f4c.js → index-bc854cf4.js} +1 -1
  149. package/dist/assets/{index-69ab97af.js → index-cbfadd9b.js} +1 -1
  150. package/dist/assets/{index-e8eb691f.js → index-ccd3c2df.js} +1 -1
  151. package/dist/assets/{index-legacy.648c8cb3.js → index-legacy.06ba96c2.js} +1 -1
  152. package/dist/assets/{index-legacy.68d7598b.js → index-legacy.14cbd866.js} +1 -1
  153. package/dist/assets/{index-legacy.91f9f875.js → index-legacy.24d29f81.js} +1 -1
  154. package/dist/assets/{index-legacy.198def1c.js → index-legacy.257815ef.js} +1 -1
  155. package/dist/assets/{index-legacy.f80dcf65.js → index-legacy.2ecd8568.js} +1 -1
  156. package/dist/assets/{index-legacy.1181b6ae.js → index-legacy.35aba8a0.js} +1 -1
  157. package/dist/assets/{index-legacy.9b890e23.js → index-legacy.53efc4c8.js} +1 -1
  158. package/dist/assets/{index-legacy.5b1574d3.js → index-legacy.5a403980.js} +1 -1
  159. package/dist/assets/{index-legacy.15f306f3.js → index-legacy.7b9d362b.js} +1 -1
  160. package/dist/assets/{index-legacy.96c38d29.js → index-legacy.831645c0.js} +1 -1
  161. package/dist/assets/{index-legacy.2ab05dfe.js → index-legacy.9a995a78.js} +3 -3
  162. package/dist/assets/{index-legacy.760496d0.js → index-legacy.aa1b93bf.js} +1 -1
  163. package/dist/assets/{index-legacy.8d21f125.js → index-legacy.b2067bd5.js} +1 -1
  164. package/dist/assets/{index-legacy.16817eb5.js → index-legacy.f9d48ec7.js} +1 -1
  165. package/dist/assets/{indexes-c43edd5f.js → indexes-39a5b1ff.js} +1 -1
  166. package/dist/assets/{indexes-legacy.081aa8b7.js → indexes-legacy.8769beeb.js} +1 -1
  167. package/dist/assets/{info-35e907bb.js → info-6b46a634.js} +1 -1
  168. package/dist/assets/{info-legacy.c051afcc.js → info-legacy.dc8f48be.js} +1 -1
  169. package/dist/assets/{ipa-59eb2697.js → ipa-86dc8896.js} +1 -1
  170. package/dist/assets/{ipa-legacy.2a3a0938.js → ipa-legacy.17ae2e8d.js} +1 -1
  171. package/dist/assets/{lark-7e95d330.js → lark-73a41a60.js} +1 -1
  172. package/dist/assets/{lark-legacy.63776d90.js → lark-legacy.24acf7f1.js} +1 -1
  173. package/dist/assets/{lark_tools-b9fca864.js → lark_tools-649a02b3.js} +1 -1
  174. package/dist/assets/{lark_tools-legacy.ccc5ff9f.js → lark_tools-legacy.eecb6c72.js} +1 -1
  175. package/dist/assets/{layout-5666d0ff.js → layout-5d35ffe8.js} +1 -1
  176. package/dist/assets/{layout-legacy.225ec2a7.js → layout-legacy.ae9754f2.js} +1 -1
  177. package/dist/assets/{management-6734acd2.js → management-0c24b19e.js} +1 -1
  178. package/dist/assets/{management-legacy.3b1fee1b.js → management-legacy.8848a8f8.js} +1 -1
  179. package/dist/assets/{markdown-152a9ed3.js → markdown-8d906270.js} +1 -1
  180. package/dist/assets/{markdown-legacy.ffda05f3.js → markdown-legacy.9eb66931.js} +1 -1
  181. package/dist/assets/{markdown_with_word_wrap-31b0838a.js → markdown_with_word_wrap-c0408f23.js} +1 -1
  182. package/dist/assets/{markdown_with_word_wrap-legacy.9a2dbe70.js → markdown_with_word_wrap-legacy.3463bef2.js} +1 -1
  183. package/dist/assets/{mySession-516a67e2.js → mySession-884023ca.js} +1 -1
  184. package/dist/assets/{mySession-legacy.c1a50dd2.js → mySession-legacy.68203a3e.js} +1 -1
  185. package/dist/assets/offline_download-6fa0e9d2.js +1 -0
  186. package/dist/assets/{offline_download-legacy.c97059a6.js → offline_download-legacy.d0f875cd.js} +1 -1
  187. package/dist/assets/{open-with-b7fbd33c.js → open-with-7bd13257.js} +1 -1
  188. package/dist/assets/{open-with-legacy.23b88457.js → open-with-legacy.89db98a3.js} +1 -1
  189. package/dist/assets/{plist-0de55944.js → plist-18445805.js} +1 -1
  190. package/dist/assets/{plist-legacy.86c28020.js → plist-legacy.c128376d.js} +1 -1
  191. package/dist/assets/{polyfills-legacy.2ae8dfb3.js → polyfills-legacy.bfccebe0.js} +1 -1
  192. package/dist/assets/{shares-59ef97b5.js → shares-d862241a.js} +1 -1
  193. package/dist/assets/{shares-legacy.f295f323.js → shares-legacy.2e408931.js} +1 -1
  194. package/dist/assets/{solid-contextmenu-9117c1c3.js → solid-contextmenu-389460bd.js} +1 -1
  195. package/dist/assets/{solid-contextmenu-legacy.972288a0.js → solid-contextmenu-legacy.0f1769af.js} +1 -1
  196. package/dist/assets/{text-editor-c7592027.js → text-editor-ffff6c54.js} +1 -1
  197. package/dist/assets/{text-editor-legacy.a0f8df35.js → text-editor-legacy.cd9e1a2d.js} +1 -1
  198. package/dist/assets/{url-8cd64395.js → url-23fb7cc0.js} +1 -1
  199. package/dist/assets/{url-legacy.d032f14e.js → url-legacy.b18d3809.js} +1 -1
  200. package/dist/assets/{useTitle-86c4f10b.js → useTitle-394ae64f.js} +1 -1
  201. package/dist/assets/{useTitle-legacy.692240ad.js → useTitle-legacy.2e69d9a6.js} +1 -1
  202. package/dist/assets/{video-2ea2797b.js → video-ebb98b67.js} +1 -1
  203. package/dist/assets/{video-legacy.f9611553.js → video-legacy.768a1779.js} +1 -1
  204. package/dist/assets/{video360-1c1d238c.js → video360-a4d64816.js} +1 -1
  205. package/dist/assets/{video360-legacy.be846428.js → video360-legacy.8266ee4a.js} +1 -1
  206. package/dist/assets/{video_box-1abd8d42.js → video_box-a8a43c3b.js} +1 -1
  207. package/dist/assets/{video_box-legacy.9f147b79.js → video_box-legacy.53fe4ab0.js} +1 -1
  208. package/dist/index.html +3 -3
  209. package/package.json +1 -1
  210. package/dist/assets/Decompress-ccf89dc1.js +0 -1
  211. package/dist/assets/Grid-2d1b4ec0.js +0 -1
  212. package/dist/assets/ImageWithError-c7604bb9.js +0 -1
  213. package/dist/assets/Other-71018b72.js +0 -1
  214. package/dist/assets/Other-legacy.8e7c037f.js +0 -1
  215. package/dist/assets/StrmGenerate-39346c86.js +0 -1
  216. package/dist/assets/Upload-815bfacf.js +0 -1
  217. package/dist/assets/entry-legacy.04da8194.js +0 -1
  218. package/dist/assets/entry-legacy.051dbcd4.js +0 -1
  219. package/dist/assets/entry-legacy.1e84bb16.js +0 -1
  220. package/dist/assets/entry-legacy.3c8055af.js +0 -1
  221. package/dist/assets/entry-legacy.798b9e5d.js +0 -1
  222. package/dist/assets/entry-legacy.82d2f08f.js +0 -1
  223. package/dist/assets/entry-legacy.a4ac476b.js +0 -1
  224. package/dist/assets/entry-legacy.a8128a4b.js +0 -1
  225. package/dist/assets/entry-legacy.f0301d80.js +0 -1
  226. package/dist/assets/index-5e369960.js +0 -1
  227. package/dist/assets/offline_download-375946fc.js +0 -1
@@ -1 +1 @@
1
- import{aK as e}from"./index-9e81668b.js";function l(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M5 2c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h3.586L12 21.414 15.414 18H19c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2H5zm14 14h-4.414L12 18.586 9.414 16H5V4h14v12z"/><path d="M7 7h10v2H7zm0 4h7v2H7z"/>'},a)}function h(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M20.005 5.995h-1v2h1v8h-1v2h1c1.103 0 2-.897 2-2v-8c0-1.102-.898-2-2-2zm-14 4H15v4H6.005z"/><path d="M17.005 17.995V4H20V2h-8v2h3.005v1.995h-11c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h11V20H12v2h8v-2h-2.995v-2.005zm-13-2v-8h11v8h-11z"/>'},a)}function r(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zm-1 4v2h-5V7h5zm-5 4h5v2h-5v-2zM4 19V5h7v14H4z"/>'},a)}function o(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M2.165 19.551c.186.28.499.449.835.449h15c.4 0 .762-.238.919-.606l3-7A.998.998 0 0021 11h-1V8c0-1.103-.897-2-2-2h-6.655L8.789 4H4c-1.103 0-2 .897-2 2v13h.007a1 1 0 00.158.551zM18 8v3H6c-.4 0-.762.238-.919.606L4 14.129V8h14z"/>'},a)}function n(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M5.536 21.886a1.004 1.004 0 001.033-.064l13-9a1 1 0 000-1.644l-13-9A1 1 0 005 3v18a1 1 0 00.536.886z"/>'},a)}function c(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5 9V7h2v2H5zM9 9h10V7H9v2zM5 15v2h2v-2H5zM19 17H9v-2h10v2z"/><path fill="currentColor" fill-rule="evenodd" d="M1 6a3 3 0 013-3h16a3 3 0 013 3v12a3 3 0 01-3 3H4a3 3 0 01-3-3V6zm3-1h16a1 1 0 011 1v5H3V6a1 1 0 011-1zm-1 8v5a1 1 0 001 1h16a1 1 0 001-1v-5H3z" clip-rule="evenodd"/>'},a)}function i(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M10 18v-2H8v-2h2v-2h2v2h2v2h-2v2h-2z"/><path fill="currentColor" fill-rule="evenodd" d="M6 2a3 3 0 00-3 3v14a3 3 0 003 3h12a3 3 0 003-3V9a7 7 0 00-7-7H6zm0 2h7v5h6v10a1 1 0 01-1 1H6a1 1 0 01-1-1V5a1 1 0 011-1zm9 .1A5.009 5.009 0 0118.584 7H15V4.1z" clip-rule="evenodd"/>'},a)}function t(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M11 14.5v2h2v-2h2v-2h-2v-2h-2v2H9v2h2z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 00-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 000 7.5v12a3 3 0 003 3h18a3 3 0 003-3v-12a3 3 0 00-3-3h-9.126A4.002 4.002 0 008 1.5H4zm5.732 3A2 2 0 008 3.5H4v1h5.732zM3 6.5a1 1 0 00-1 1v12a1 1 0 001 1h18a1 1 0 001-1v-12a1 1 0 00-1-1H3z" clip-rule="evenodd"/>'},a)}function d(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M7 14a2 2 0 100-4 2 2 0 000 4zM14 12a2 2 0 11-4 0 2 2 0 014 0zM17 14a2 2 0 100-4 2 2 0 000 4z"/><path fill="currentColor" fill-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12zm-2 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10z" clip-rule="evenodd"/>'},a)}function u(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" fill-rule="evenodd" d="M10 4H8v2H5a3 3 0 00-3 3v6a3 3 0 003 3h3v2h2V4zM8 8v8H5a1 1 0 01-1-1V9a1 1 0 011-1h3z" clip-rule="evenodd"/><path fill="currentColor" d="M19 16h-7v2h7a3 3 0 003-3V9a3 3 0 00-3-3h-7v2h7a1 1 0 011 1v6a1 1 0 01-1 1z"/>'},a)}export{h as B,u as C,t as a,i as b,d as c,r as d,n as e,l as f,c as g,o as h};
1
+ import{aK as e}from"./index-0af67a26.js";function l(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M5 2c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h3.586L12 21.414 15.414 18H19c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2H5zm14 14h-4.414L12 18.586 9.414 16H5V4h14v12z"/><path d="M7 7h10v2H7zm0 4h7v2H7z"/>'},a)}function h(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M20.005 5.995h-1v2h1v8h-1v2h1c1.103 0 2-.897 2-2v-8c0-1.102-.898-2-2-2zm-14 4H15v4H6.005z"/><path d="M17.005 17.995V4H20V2h-8v2h3.005v1.995h-11c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h11V20H12v2h8v-2h-2.995v-2.005zm-13-2v-8h11v8h-11z"/>'},a)}function r(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zm-1 4v2h-5V7h5zm-5 4h5v2h-5v-2zM4 19V5h7v14H4z"/>'},a)}function o(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M2.165 19.551c.186.28.499.449.835.449h15c.4 0 .762-.238.919-.606l3-7A.998.998 0 0021 11h-1V8c0-1.103-.897-2-2-2h-6.655L8.789 4H4c-1.103 0-2 .897-2 2v13h.007a1 1 0 00.158.551zM18 8v3H6c-.4 0-.762.238-.919.606L4 14.129V8h14z"/>'},a)}function n(a){return e({a:{viewBox:"0 0 24 24"},c:'<path d="M5.536 21.886a1.004 1.004 0 001.033-.064l13-9a1 1 0 000-1.644l-13-9A1 1 0 005 3v18a1 1 0 00.536.886z"/>'},a)}function c(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5 9V7h2v2H5zM9 9h10V7H9v2zM5 15v2h2v-2H5zM19 17H9v-2h10v2z"/><path fill="currentColor" fill-rule="evenodd" d="M1 6a3 3 0 013-3h16a3 3 0 013 3v12a3 3 0 01-3 3H4a3 3 0 01-3-3V6zm3-1h16a1 1 0 011 1v5H3V6a1 1 0 011-1zm-1 8v5a1 1 0 001 1h16a1 1 0 001-1v-5H3z" clip-rule="evenodd"/>'},a)}function i(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M10 18v-2H8v-2h2v-2h2v2h2v2h-2v2h-2z"/><path fill="currentColor" fill-rule="evenodd" d="M6 2a3 3 0 00-3 3v14a3 3 0 003 3h12a3 3 0 003-3V9a7 7 0 00-7-7H6zm0 2h7v5h6v10a1 1 0 01-1 1H6a1 1 0 01-1-1V5a1 1 0 011-1zm9 .1A5.009 5.009 0 0118.584 7H15V4.1z" clip-rule="evenodd"/>'},a)}function t(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M11 14.5v2h2v-2h2v-2h-2v-2h-2v2H9v2h2z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 00-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 000 7.5v12a3 3 0 003 3h18a3 3 0 003-3v-12a3 3 0 00-3-3h-9.126A4.002 4.002 0 008 1.5H4zm5.732 3A2 2 0 008 3.5H4v1h5.732zM3 6.5a1 1 0 00-1 1v12a1 1 0 001 1h18a1 1 0 001-1v-12a1 1 0 00-1-1H3z" clip-rule="evenodd"/>'},a)}function d(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M7 14a2 2 0 100-4 2 2 0 000 4zM14 12a2 2 0 11-4 0 2 2 0 014 0zM17 14a2 2 0 100-4 2 2 0 000 4z"/><path fill="currentColor" fill-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12zm-2 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10z" clip-rule="evenodd"/>'},a)}function u(a){return e({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" fill-rule="evenodd" d="M10 4H8v2H5a3 3 0 00-3 3v6a3 3 0 003 3h3v2h2V4zM8 8v8H5a1 1 0 01-1-1V9a1 1 0 011-1h3z" clip-rule="evenodd"/><path fill="currentColor" d="M19 16h-7v2h7a3 3 0 003-3V9a3 3 0 00-3-3h-7v2h7a1 1 0 011 1v6a1 1 0 01-1 1z"/>'},a)}export{h as B,u as C,t as a,i as b,d as c,r as d,n as e,l as f,c as g,o as h};
@@ -1,2 +1,2 @@
1
- import{b as Se,cF as Je,cG as Ve,d as Ze,C as L,B as S,cH as we,an as p,I as W,x as pe,z as qe,aD as Xe,y as r,ap as _,Y as I,ar as re,S as u,aw as T,cI as R,aG as q,cJ as X,cK as Q,cL as Y,ak as K,ai as _e,af as Qe,ac as te,aB as Ye,aJ as er,a6 as rr,a8 as tr,a9 as nr,aa as ar,ad as sr,ae as or,bD as lr,bE as ir,R as be,av as cr,bI as ur,bJ as gr,bK as dr,bL as hr,al as je,am as C,ao as mr,l as fr,cM as wr,cN as de,cO as U,cP as pr,a3 as A,cQ as br,cR as Ie,cS as Sr,a7 as Be,cT as _r,cU as x,E as vr,W as Te,cV as he,bs as Pr,aj as $r,cW as yr,cX as kr}from"./index-9e81668b.js";import{L as Lr,i as Cr}from"./index-3095233d.js";import{l as xr,Z as Ir,T as Tr,R as Er,A as Or,F as jr}from"./lightgallery-bundle-aafbce76.js";import{a as Br}from"./useTitle-86c4f10b.js";import{P as Fr}from"./Paginator-4383aac7.js";import{c as Nr,R as Ee,C as Fe,L as Rr}from"./layout-5666d0ff.js";import Ar from"./Grid-2d1b4ec0.js";import Dr from"./Images-ace8cf15.js";import{L as Mr}from"./List-c2310d66.js";import{O as Ur}from"./open-with-b7fbd33c.js";import{g as Wr}from"./index-69ab97af.js";import Kr from"./Password-80dc04ca.js";import"./GridItem-c24bccd1.js";import"./solid-contextmenu-9117c1c3.js";import"./storage-class-1ac53f89.js";import"./ImageWithError-c7604bb9.js";import"./helper-ed76cd58.js";import"./color-a58de010.js";const zr=new Set(["mp4","m4v","mov","webm","mkv","avi","flv","m3u8"]),Gr=new Set(["mp3","flac","wav","ogg","m4a","aac","opus"]),Hr=new Set(["jpg","jpeg","png","gif","bmp","webp","svg","avif","heic","heif"]),Jr=new Set(["txt","md","markdown","json","js","jsx","ts","tsx","css","scss","less","html","htm","xml","yaml","yml","toml","ini","conf","log","csv","srt","ass","vtt","lrc","url"]),ve=t=>`share-token-cache:${t}`,ne=t=>`share-token:${t}`,Vr=24*60*60*1e3,Zr=t=>{const n=ve(t);try{const o=localStorage.getItem(n);if(o){const l=JSON.parse(o);if(l.token&&(!l.expires_at||l.expires_at>Date.now()))return l.token;localStorage.removeItem(n)}}catch{localStorage.removeItem(n)}const a=sessionStorage.getItem(ne(t))||"";return a?(Ne(t,a),sessionStorage.removeItem(ne(t)),a):""},Ne=(t,n)=>{n&&(localStorage.setItem(ve(t),JSON.stringify({token:n,expires_at:Date.now()+Vr})),sessionStorage.removeItem(ne(t)))},Oe=t=>{localStorage.removeItem(ve(t)),sessionStorage.removeItem(ne(t))},qr=t=>{const a=(t?decodeURIComponent(t):"").split("/").filter(Boolean),o=a[0]||"",l=a.length>1?`/${a.slice(1).join("/")}`:"/";return{shareId:o,path:l.replace(/\/{2,}/g,"/")}},Xr=t=>{if(t.type!==x.UNKNOWN)return t.type;const n=kr(t.name).toLowerCase();return zr.has(n)?x.VIDEO:Gr.has(n)?x.AUDIO:Hr.has(n)?x.IMAGE:Jr.has(n)?x.TEXT:x.UNKNOWN},D=t=>({...t,type:Xr(t),selected:!1}),Qr=t=>{const n=t.split("/").filter(Boolean);return n.length<=1?"/":`/${n.slice(0,-1).join("/")}`},me=(t,n,a=!0)=>{const o=n==="/"?"":Be(n,a);return te(`/s/${t}${o}`)},Re=(t,n,a,o,l=!0)=>{const m=a==="/"?"":Be(a,l),h=new URLSearchParams;n&&h.set("auth",n),o==="preview"&&h.set("type","preview");const $=te(`/sd/${t}${m}`),O=h.toString();return O?`${$}?${O}`:$},fe=(t,n,a,o=!0)=>a.preview_url?a.preview_url:Re(t,n,a.path||"/","preview",o),ee=(t,n,a,o=!0)=>a.download_url?a.download_url:a.preview_url?a.preview_url:Re(t,n,a.path||"/","direct",o),M=()=>{U.set({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",write:!1,state:_.Initial,err:""})},Yr=t=>{const n=Qe("logo").split(`
1
+ import{b as Se,cF as Je,cG as Ve,d as Ze,C as L,B as S,cH as we,an as p,I as W,x as pe,z as qe,aD as Xe,y as r,ap as _,Y as I,ar as re,S as u,aw as T,cI as R,aG as q,cJ as X,cK as Q,cL as Y,ak as K,ai as _e,af as Qe,ac as te,aB as Ye,aJ as er,a6 as rr,a8 as tr,a9 as nr,aa as ar,ad as sr,ae as or,bD as lr,bE as ir,R as be,av as cr,bI as ur,bJ as gr,bK as dr,bL as hr,al as je,am as C,ao as mr,l as fr,cM as wr,cN as de,cO as U,cP as pr,a3 as A,cQ as br,cR as Ie,cS as Sr,a7 as Be,cT as _r,cU as x,E as vr,W as Te,cV as he,bs as Pr,aj as $r,cW as yr,cX as kr}from"./index-0af67a26.js";import{L as Lr,i as Cr}from"./index-6cfcfd46.js";import{l as xr,Z as Ir,T as Tr,R as Er,A as Or,F as jr}from"./lightgallery-bundle-aafbce76.js";import{a as Br}from"./useTitle-394ae64f.js";import{P as Fr}from"./Paginator-8b9321c4.js";import{c as Nr,R as Ee,C as Fe,L as Rr}from"./layout-5d35ffe8.js";import Ar from"./Grid-f0c4d013.js";import Dr from"./Images-1b5fd472.js";import{L as Mr}from"./List-cb3f2b1f.js";import{O as Ur}from"./open-with-7bd13257.js";import{g as Wr}from"./index-cbfadd9b.js";import Kr from"./Password-b98cef17.js";import"./GridItem-657d21bd.js";import"./solid-contextmenu-389460bd.js";import"./storage-class-1ac53f89.js";import"./ImageWithError-270ffbd0.js";import"./helper-8d6da87f.js";import"./color-a58de010.js";const zr=new Set(["mp4","m4v","mov","webm","mkv","avi","flv","m3u8"]),Gr=new Set(["mp3","flac","wav","ogg","m4a","aac","opus"]),Hr=new Set(["jpg","jpeg","png","gif","bmp","webp","svg","avif","heic","heif"]),Jr=new Set(["txt","md","markdown","json","js","jsx","ts","tsx","css","scss","less","html","htm","xml","yaml","yml","toml","ini","conf","log","csv","srt","ass","vtt","lrc","url"]),ve=t=>`share-token-cache:${t}`,ne=t=>`share-token:${t}`,Vr=24*60*60*1e3,Zr=t=>{const n=ve(t);try{const o=localStorage.getItem(n);if(o){const l=JSON.parse(o);if(l.token&&(!l.expires_at||l.expires_at>Date.now()))return l.token;localStorage.removeItem(n)}}catch{localStorage.removeItem(n)}const a=sessionStorage.getItem(ne(t))||"";return a?(Ne(t,a),sessionStorage.removeItem(ne(t)),a):""},Ne=(t,n)=>{n&&(localStorage.setItem(ve(t),JSON.stringify({token:n,expires_at:Date.now()+Vr})),sessionStorage.removeItem(ne(t)))},Oe=t=>{localStorage.removeItem(ve(t)),sessionStorage.removeItem(ne(t))},qr=t=>{const a=(t?decodeURIComponent(t):"").split("/").filter(Boolean),o=a[0]||"",l=a.length>1?`/${a.slice(1).join("/")}`:"/";return{shareId:o,path:l.replace(/\/{2,}/g,"/")}},Xr=t=>{if(t.type!==x.UNKNOWN)return t.type;const n=kr(t.name).toLowerCase();return zr.has(n)?x.VIDEO:Gr.has(n)?x.AUDIO:Hr.has(n)?x.IMAGE:Jr.has(n)?x.TEXT:x.UNKNOWN},D=t=>({...t,type:Xr(t),selected:!1}),Qr=t=>{const n=t.split("/").filter(Boolean);return n.length<=1?"/":`/${n.slice(0,-1).join("/")}`},me=(t,n,a=!0)=>{const o=n==="/"?"":Be(n,a);return te(`/s/${t}${o}`)},Re=(t,n,a,o,l=!0)=>{const m=a==="/"?"":Be(a,l),h=new URLSearchParams;n&&h.set("auth",n),o==="preview"&&h.set("type","preview");const $=te(`/sd/${t}${m}`),O=h.toString();return O?`${$}?${O}`:$},fe=(t,n,a,o=!0)=>a.preview_url?a.preview_url:Re(t,n,a.path||"/","preview",o),ee=(t,n,a,o=!0)=>a.download_url?a.download_url:a.preview_url?a.preview_url:Re(t,n,a.path||"/","direct",o),M=()=>{U.set({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",write:!1,state:_.Initial,err:""})},Yr=t=>{const n=Qe("logo").split(`
2
2
  `),a=n[0]==="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"?te("/images/new_icon.png"):n[0],o=_e(a,n[n.length-1]==="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"?te("/images/new_icon.png"):n[n.length-1]||a);return r(er,{bgColor:"$background",class:"header",w:"$full",get children(){return r(Fe,{get children(){return r(T,{px:"calc(2% + 0.5rem)",py:"$2",w:"$full",justifyContent:"space-between",get children(){return[r(Lr,{href:"/",get children(){return r(T,{h:"44px",get children(){return r(Ye,{get src(){return o()},h:"$full",w:"auto"})}})}}),r(u,{get when(){return t.showLayout},get children(){return r(Rr,{})}})]}})}})}})},et=t=>{const n=S(()=>{const a=t.path.split("/").filter(Boolean),o=[{label:t.rootLabel,path:"/"}];let l="";for(const m of a)l+=`/${m}`,o.push({label:m,path:l});return o});return r(or,{background:"$background",class:"nav",w:"$full",get children(){return r(rr,{get each(){return n()},children:(a,o)=>{const l=()=>o()===n().length-1;return r(tr,{class:"nav-item",get children(){return[r(nr,{class:"nav-link",css:{wordBreak:"break-all"},color:"unset",get _hover(){return{bgColor:ar(),color:"unset"}},_active:{transform:"scale(.95)",transition:"0.1s"},get cursor(){return l()?"default":"pointer"},p:"$1",rounded:"$lg",get currentPage(){return l()},onClick:()=>{l()||t.onNavigate(a.path)},get children(){return a.label}}),r(u,{get when(){return!l()},get children(){return r(sr,{class:"nav-separator"})}})]}})}})}})},rt=t=>{const{rawLink:n}=_r(),a=S(()=>p.objs.filter(h=>h.type===x.IMAGE));let o;const l=()=>{o=xr(document.createElement("div"),{addClass:"lightgallery-container",dynamic:!0,thumbnail:!0,plugins:[Ir,Tr,Er,Or,jr],dynamicEl:a().map(h=>{const $=n(h,!0);return{src:$,thumb:h.thumb===""?$:h.thumb,subHtml:`<h4>${h.name}</h4>`}})})},m=h=>{t.allowPreview&&(o||l(),o==null||o.openGallery(a().findIndex($=>$.name===h)))};return W(vr(a,()=>{o==null||o.destroy(),o=void 0})),W(()=>{t.allowPreview&&(Te.on("gallery",m),pe(()=>{Te.off("gallery",m)}))}),pe(()=>{o==null||o.destroy()}),r(je,{get children(){return[r(C,{get when(){return!t.allowPreview||he()==="list"},get children(){return r(Mr,{})}}),r(C,{get when(){return he()==="grid"},get children(){return r(Ar,{})}}),r(C,{get when(){return he()==="image"},get children(){return r(Dr,{get images(){return a()}})}})]}})},tt=()=>{const t=Se(),n=S(()=>Wr({...p.obj,provider:p.provider})),[a,o]=L(void 0);return W(()=>{const l=n(),m=a();if(!l.length){o(void 0);return}(!m||!l.find(h=>h.name===m.name))&&o(l[0])}),r(u,{get when(){return n().length},get fallback(){return r(re,{color:"$neutral11",get children(){return t("share.no_inline_preview",void 0,"Inline preview is not available for this file type.")}})},get children(){return r(I,{w:"$full",spacing:"$2",get children(){return[r(u,{get when(){return n().length>1},get children(){return r(T,{w:"$full",spacing:"$2",get children(){return[r(Pr,{alwaysShowBorder:!0,get value(){var l,m,h;return((l=a())==null?void 0:l.name)||((h=(m=n())==null?void 0:m[0])==null?void 0:h.name)||""},onChange:l=>{o(n().find(m=>m.name===l))},get options(){return n().map(l=>({value:l.name,label:l.i18nKey?t(l.i18nKey):l.name}))}}),r(Ur,{})]}})}}),r(u,{get when(){return a()},get fallback(){return r(K,{})},get children(){return r($r,{get fallback(){return r(K,{})},get children(){return r(yr,{get component(){return a().component}})}})}})]}})}})},nt=t=>{const n=Se(),a=t.item.preview_url,o=t.item.download_url;return r(I,{alignItems:"start",spacing:"$3",get children(){return[r(T,{spacing:"$2",wrap:"wrap",get children(){return[r(u,{when:a,get children(){return r(be,{as:"a",href:a,target:"_blank",get children(){return n("share.open",void 0,"Open")}})}}),r(u,{when:o,get children(){return r(be,{colorScheme:"accent",as:"a",href:o,target:"_blank",get children(){return n("share.download",void 0,"Download")}})}})]}}),r(re,{color:"$neutral11",get children(){return n("share.preview_disabled",void 0,"Preview is disabled for this share.")}})]}})},at=t=>{const n=[50,100,200,300,500].filter(a=>a<=we);return r(T,{spacing:"$2",flexWrap:"wrap",justifyContent:"center",get children(){return[r(T,{spacing:"$1",get children(){return r(lr,{size:"sm",get value(){return t.currentPerPage},onChange:a=>{t.onPerPageChange(Number(a))},get children(){return[r(ir,{as:be,size:"sm",variant:"subtle",minW:"$20",get children(){return[r(cr,{get children(){return t.currentPerPage}}),r(Cr,{})]}}),r(ur,{minW:"$20",get children(){return r(gr,{get children(){return n.map(a=>r(dr,{value:a,get children(){return r(hr,{children:a})}}))}})}})]}})}}),r(u,{get when(){return`${t.currentPage}-${t.currentPerPage}-${t.total}`},keyed:!0,children:()=>r(Fr,{get total(){return t.total},get defaultCurrent(){return t.currentPage},get defaultPageSize(){return t.currentPerPage},get onChange(){return t.onPageChange}})})]}})},st=t=>{const n=_e("white","$neutral3");return r(I,{class:"obj-box",w:"$full",rounded:"$xl",get bgColor(){return n()},p:"$2",shadow:"$lg",spacing:"$2",get children(){return r(je,{get children(){return[r(C,{get when(){return t.nodeError},get children(){return r(mr,{get msg(){return t.nodeError},disableColor:!0})}}),r(C,{get when(){return t.nodeLoading},get children(){return r(K,{})}}),r(C,{get when(){return[_.FetchingObj,_.FetchingObjs].includes(p.state)},get children(){return r(K,{})}}),r(C,{get when(){return p.state===_.Folder},get children(){return r(rt,{get allowPreview(){return t.allowPreview}})}}),r(C,{get when(){return p.state===_.File&&t.allowPreview},get children(){return r(tt,{})}}),r(C,{get when(){return p.state===_.File},get children(){return r(nt,{get item(){return p.obj}})}})]}})}})},yt=()=>{const t=Se(),n=Je(),a=Ve(),{searchParams:o,setSearchParams:l}=Ze(),[m,h]=L(""),[$,O]=L(!1),[ae,y]=L(!1),[Pe,k]=L(!1),[z,$e]=L(""),[Ae,ye]=L(null),[c,j]=L(null),[De,G]=L(""),ke=S(()=>qr(n.share_path)),P=S(()=>ke().shareId),H=S(()=>ke().path),se=S(()=>De()),J=fr(),oe=S(()=>{if(J.type==="all")return 1;const e=parseInt(o.page,10);return Number.isFinite(e)&&e>0?e:1}),V=S(()=>{if(J.type==="all")return-1;const e=parseInt(o.per_page,10);if(Number.isFinite(e)&&e>0)return Math.min(we,e);const s=J.size||wr;return Math.min(we,Math.max(1,s))});S(()=>p.obj);const B=S(()=>{var e;return!!((e=c())!=null&&e.consumed_at)});let Le="",F=0;Br(()=>{var e;return((e=c())==null?void 0:e.name)||"Share"}),W(()=>{const e=P();if(!e){de(null);return}const s=se();de({getLinkByObj:(i,g,v)=>g==="preview"?me(e,i.path||"/",v):g==="proxy"?fe(e,s,i,v):ee(e,s,i,v),rawLink:(i,g)=>ee(e,s,i,g),proxyLink:(i,g)=>fe(e,s,i,g),previewPage:(i,g)=>me(e,i.path||"/",g),currentObjLink:i=>ee(e,s,p.obj,i)})}),pe(()=>{de(null)});const le=()=>{$e(""),ye(null)},Z=(e,s)=>{$e(e),ye(s??null)},Ce=()=>{j(e=>e&&e.access_limit>0?{...e,access_count:Math.min(e.access_count+1,e.access_limit),remaining_accesses:Math.max(0,e.access_limit-Math.min(e.access_count+1,e.access_limit)),consumed_at:e.access_count+1>=e.access_limit?e.consumed_at||new Date().toISOString():e.consumed_at}:e)},Me=()=>{j(null),h(""),le(),M()},ie=e=>{Oe(e),G(""),j(s=>s&&{...s,authed:!1}),M()},Ue=(e,s)=>{const i=D(e.item),g=s.content.map(D);U.set({obj:i,raw_url:"",related:[],objs:g,total:s.total,readme:"",header:"",provider:e.provider,write:!1,state:_.Folder,err:""})},We=(e,s,i,g,v)=>{const d=D(i.item),E=g.length?g:[d];U.set({obj:d,raw_url:v?fe(e,s,d):ee(e,s,d),related:[],objs:E,total:E.length,readme:"",header:"",provider:i.provider,write:!1,state:_.File,err:""})},Ke=async(e,s,i,g,v,d)=>{if(!v.is_dir)return[d];const E=Qr(i);let b=[d],N=!1;const f=await Ie({share_id:s,path:E,token:g||void 0,page:1,per_page:200});return e!==F?null:(A(f,w=>{b=w.content.map(D)},(w,ue)=>{ue===401&&(N=!0)},!1,!1),N?(ie(s),null):(b.find(w=>w.path===d.path)||(b=[d,...b]),b))},ce=async(e=P(),s=H(),i=se())=>{if(!e)return null;const g=++F;y(!0),k(!0),le(),U.setState(_.FetchingObj);const v=await pr(e,i||void 0);if(g!==F)return null;let d=null;if(A(v,f=>{d=f,j(f)},(f,w)=>{j(null),M(),Z(f,w)},!1,!1),!d)return y(!1),k(!1),null;if(!d.authed)return i&&(Oe(e),G("")),M(),y(!1),k(!1),d;const E=await br({share_id:e,path:s,token:i||void 0});if(g!==F)return d;let b=null,N=!1;if(A(E,f=>{b=f},(f,w)=>{if(w===401){N=!0;return}M(),Z(f,w)},!1,!1),N)return ie(e),y(!1),k(!1),null;if(!b)return y(!1),k(!1),d;if(b.item.is_dir){U.setState(_.FetchingObjs);let f=null,w=!1;const ue=await Ie({share_id:e,path:s,token:i||void 0,page:oe(),per_page:V()});if(g!==F)return d;if(A(ue,ge=>{f=ge},(ge,xe)=>{if(xe===401){w=!0;return}Z(ge,xe)},!1,!1),w)return ie(e),y(!1),k(!1),null;if(!f)return y(!1),k(!1),d;Ue(b,f),d.access_limit>0&&Ce()}else{const f=D(b.item),w=await Ke(g,e,s,i,d,f);if(w===null)return y(!1),k(!1),null;We(e,i,b,w,d.allow_preview),d.access_limit>0&&d.allow_preview&&Ce()}return y(!1),k(!1),d};W(()=>{const e=P(),s=H();if(oe(),V(),!!e){if(Le!==e){Le=e,Me();const i=Zr(e);G(i),ce(e,s,i);return}ce(e,s,qe(()=>se()))}});const ze=async()=>{if(!P()||$()||!m().trim())return;O(!0),le();const e=await Sr(P(),m());let s="",i=!1;A(e,g=>{i=!0,s=g.token||""},(g,v)=>Z(g,v),!1,!1),i&&(Ne(P(),s),G(s),h(""),await ce(P(),H(),s)),O(!1)},Ge=e=>{a(me(P(),e))},He=S(()=>Nr(Xe(),{alpha:.15}));return[r(Yr,{get showLayout(){var e,s;return!!((e=c())!=null&&e.authed&&((s=c())!=null&&s.allow_preview)&&p.state===_.Folder)}}),r(Fe,{get children(){return r(I,{class:"body",mt:"$1",py:"$2",px:"2%",minH:"80vh",w:"$full",gap:"$4",get children(){return[r(I,{w:"$full",p:"$4",rounded:"$xl",get bgColor(){return He()},alignItems:"start",spacing:"$3",get children(){return[r(I,{alignItems:"start",spacing:"$1",get children(){return[r(re,{fontSize:"$3xl",fontWeight:"$bold",get children(){var e;return((e=c())==null?void 0:e.name)||t("share.title",void 0,"Share")}}),r(re,{color:"$neutral11",get children(){return P()}})]}}),r(u,{get when(){return c()},get children(){return r(T,{spacing:"$2",wrap:"wrap",get children(){return[r(u,{get when(){var e;return(e=c())==null?void 0:e.has_password},get children(){return r(R,{colorScheme:"info",get children(){return t("share.password_required",void 0,"Password")}})}}),r(u,{get when(){var e;return(e=c())==null?void 0:e.burn_after_read},get children(){return r(R,{get colorScheme(){return B()?"danger":"warning"},get children(){return t("share.burn_after_read",void 0,"Burn after read")}})}}),r(u,{get when(){var e;return!!((e=c())!=null&&e.access_limit&&c().access_limit>1)},get children(){return r(R,{get colorScheme(){return B()?"danger":"warning"},get children(){var e,s;return t("share.access_limit_badge",{count:(e=c())==null?void 0:e.access_limit},`${(s=c())==null?void 0:s.access_limit} accesses`)}})}}),r(u,{get when(){var e;return!((e=c())!=null&&e.allow_preview)},get children(){return r(R,{colorScheme:"danger",get children(){return t("share.preview_disabled",void 0,"Preview off")}})}}),r(u,{get when(){var e;return!((e=c())!=null&&e.allow_download)},get children(){return r(R,{colorScheme:"danger",get children(){return t("share.download_disabled",void 0,"Download off")}})}})]}})}}),r(u,{get when(){return q(()=>{var e;return((e=c())==null?void 0:e.access_limit)===1},!0)()&&!B()},get children(){return r(X,{status:"warning",w:"$full",get children(){return[r(Q,{}),r(Y,{get children(){return t("share.burn_after_read_warning",void 0,"This share will be disabled after the first successful read. Loading a directory or previewing a file may consume it.")}})]}})}}),r(u,{get when(){var e;return!!((e=c())!=null&&e.access_limit&&c().access_limit>1&&!B())},get children(){return r(X,{status:"warning",w:"$full",get children(){return[r(Q,{}),r(Y,{get children(){var e,s;return t("share.access_limit_warning",{count:(e=c())==null?void 0:e.access_limit},`This share will be disabled after ${(s=c())==null?void 0:s.access_limit} successful accesses. Loading a directory or previewing a file may consume it.`)}})]}})}}),r(u,{get when(){return B()},get children(){return r(X,{status:"warning",w:"$full",get children(){return[r(Q,{}),r(Y,{get children(){return r(u,{get when(){var e;return((e=c())==null?void 0:e.access_limit)===1},get fallback(){return t("share.access_limit_consumed_notice",void 0,"This share has reached its access limit. Refreshing or opening more items may no longer work.")},get children(){return t("share.consumed_notice",void 0,"This burn-after-read share has already been consumed. Refreshing or opening more items may no longer work.")}})}})]}})}}),r(u,{get when(){return z()},get children(){return r(X,{get status(){return Ae()===410?"warning":"danger"},w:"$full",get children(){return[r(Q,{}),r(Y,{get children(){return z()}})]}})}})]}}),r(u,{get when(){return q(()=>!!ae(),!0)()&&!c()},get children(){return r(K,{})}}),r(u,{get when(){var e;return q(()=>{var s;return!!((s=c())!=null&&s.has_password)},!0)()&&!((e=c())!=null&&e.authed)},get children(){return r(I,{w:"$full",rounded:"$xl",get bgColor(){return _e("white","$neutral3")()},shadow:"$lg",get children(){return r(Kr,{get title(){return t("share.password_prompt",void 0,"This share is protected by a password.")},password:m,setPassword:h,enterCallback:()=>{ze()}})}})}}),r(u,{get when(){var e,s;return q(()=>!!c(),!0)()&&(!((e=c())!=null&&e.has_password)||((s=c())==null?void 0:s.authed))},get children(){return[r(et,{get rootLabel(){var e;return((e=c())==null?void 0:e.name)||P()},get path(){return H()},onNavigate:Ge}),r(u,{get when(){var e;return(e=c())==null?void 0:e.allow_preview},get children(){return r(Ee,{files:["header.md","top.md","index.md"],fromMeta:"header"})}}),r(st,{get nodeLoading(){return Pe()||ae()},get nodeError(){return z()},get allowPreview(){var e;return!!((e=c())!=null&&e.allow_preview)}}),r(u,{get when(){return p.state===_.Folder&&!Pe()&&!ae()&&!z()&&J.type!=="all"},get children(){return r(at,{get currentPage(){return oe()},get currentPerPage(){return V()},get total(){return p.total},onPageChange:e=>{l({page:e,per_page:V()})},onPerPageChange:e=>{l({page:1,per_page:e})}})}}),r(u,{get when(){var e;return(e=c())==null?void 0:e.allow_preview},get children(){return r(Ee,{files:["readme.md","footer.md","bottom.md"],fromMeta:"readme"})}})]}})]}})}})]};export{yt as default};
@@ -1 +1 @@
1
- import{aK as n}from"./index-9e81668b.js";function h(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M22 12h-2V5H4v13.385L5.763 17H12v2H6.455L2 22.5V4a1 1 0 011-1h18a1 1 0 011 1v8zm-7.855 7.071a4.004 4.004 0 010-2.142l-.975-.563 1-1.732.976.563A3.996 3.996 0 0117 14.126V13h2v1.126a3.99 3.99 0 011.854 1.071l.976-.563 1 1.732-.975.563a4.004 4.004 0 010 2.142l.975.563-1 1.732-.976-.563c-.501.51-1.14.887-1.854 1.071V23h-2v-1.126a3.996 3.996 0 01-1.854-1.071l-.976.563-1-1.732.975-.563zM18 20a2 2 0 100-4 2 2 0 000 4z"/>'},a)}function t(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M16 2l5 5v14.008a.993.993 0 01-.993.992H3.993A1 1 0 013 21.008V2.992C3 2.444 3.445 2 3.993 2H16zm-3 10h3l-4-4-4 4h3v4h2v-4z"/>'},a)}function e(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M12.414 5H21a1 1 0 011 1v14a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h7.414l2 2zM13 13h3l-4-4-4 4h3v4h2v-4z"/>'},a)}function i(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M5.463 4.433A9.961 9.961 0 0112 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 006.46 6.228l-.997-1.795zm13.074 15.134A9.961 9.961 0 0112 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0013.54 5.772l.997 1.795z"/>'},a)}export{i as R,h as a,e as b,t as c};
1
+ import{aK as n}from"./index-0af67a26.js";function h(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M22 12h-2V5H4v13.385L5.763 17H12v2H6.455L2 22.5V4a1 1 0 011-1h18a1 1 0 011 1v8zm-7.855 7.071a4.004 4.004 0 010-2.142l-.975-.563 1-1.732.976.563A3.996 3.996 0 0117 14.126V13h2v1.126a3.99 3.99 0 011.854 1.071l.976-.563 1 1.732-.975.563a4.004 4.004 0 010 2.142l.975.563-1 1.732-.976-.563c-.501.51-1.14.887-1.854 1.071V23h-2v-1.126a3.996 3.996 0 01-1.854-1.071l-.976.563-1-1.732.975-.563zM18 20a2 2 0 100-4 2 2 0 000 4z"/>'},a)}function t(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M16 2l5 5v14.008a.993.993 0 01-.993.992H3.993A1 1 0 013 21.008V2.992C3 2.444 3.445 2 3.993 2H16zm-3 10h3l-4-4-4 4h3v4h2v-4z"/>'},a)}function e(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M12.414 5H21a1 1 0 011 1v14a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h7.414l2 2zM13 13h3l-4-4-4 4h3v4h2v-4z"/>'},a)}function i(a){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="none" d="M0 0h24v24H0z"/><path d="M5.463 4.433A9.961 9.961 0 0112 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 006.46 6.228l-.997-1.795zm13.074 15.134A9.961 9.961 0 0112 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0013.54 5.772l.997 1.795z"/>'},a)}export{i as R,h as a,e as b,t as c};
@@ -0,0 +1 @@
1
+ import{y as t,av as r,Y as e}from"./index-0af67a26.js";import o from"./Upload-958e240c.js";import"./index-314d6447.js";import"./Task-438c4d6b.js";const p=()=>t(e,{justifyContent:"center",h:"100vh",get children(){return t(r,{w:"$md",get children(){return t(o,{})}})}});export{p as default};
@@ -1,4 +1,4 @@
1
- import{f as d,m as g,t as q,s as D,p as b}from"./index-9e81668b.js";const v={tokenize:P,concrete:!0},C={tokenize:I,partial:!0};function P(t,u,l){const i=this,n=i.events[i.events.length-1],m=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0;let o=0;return c;function c(e){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),r(e)}function r(e){return e===36?(t.consume(e),o++,r):o<2?l(e):(t.exit("mathFlowFenceSequence"),d(t,h,"whitespace")(e))}function h(e){return e===null||g(e)?F(e):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===null||g(e)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),F(e)):e===36?l(e):(t.consume(e),s)}function F(e){return t.exit("mathFlowFence"),i.interrupt?u(e):t.attempt(C,p,M)(e)}function p(e){return t.attempt({tokenize:z,partial:!0},M,x)(e)}function x(e){return(m?d(t,w,"linePrefix",m+1):w)(e)}function w(e){return e===null?M(e):g(e)?t.attempt(C,p,M)(e):(t.enter("mathFlowValue"),a(e))}function a(e){return e===null||g(e)?(t.exit("mathFlowValue"),w(e)):(t.consume(e),a)}function M(e){return t.exit("mathFlow"),u(e)}function z(e,S,y){let T=0;return d(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(f){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),k(f)}function k(f){return f===36?(T++,e.consume(f),k):T<o?y(f):(e.exit("mathFlowFenceSequence"),d(e,E,"whitespace")(f))}function E(f){return f===null||g(f)?(e.exit("mathFlowFence"),S(f)):y(f)}}}function I(t,u,l){const i=this;return n;function n(o){return o===null?u(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),m)}function m(o){return i.parser.lazy[i.now().line]?l(o):u(o)}}function N(t){let l=(t||{}).singleDollarTextMath;return l==null&&(l=!0),{tokenize:i,resolve:O,previous:L};function i(n,m,o){let c=0,r,h;return s;function s(a){return n.enter("mathText"),n.enter("mathTextSequence"),F(a)}function F(a){return a===36?(n.consume(a),c++,F):c<2&&!l?o(a):(n.exit("mathTextSequence"),p(a))}function p(a){return a===null?o(a):a===36?(h=n.enter("mathTextSequence"),r=0,w(a)):a===32?(n.enter("space"),n.consume(a),n.exit("space"),p):g(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),p):(n.enter("mathTextData"),x(a))}function x(a){return a===null||a===32||a===36||g(a)?(n.exit("mathTextData"),p(a)):(n.consume(a),x)}function w(a){return a===36?(n.consume(a),r++,w):r===c?(n.exit("mathTextSequence"),n.exit("mathText"),m(a)):(h.type="mathTextData",x(a))}}}function O(t){let u=t.length-4,l=3,i,n;if((t[l][1].type==="lineEnding"||t[l][1].type==="space")&&(t[u][1].type==="lineEnding"||t[u][1].type==="space")){for(i=l;++i<u;)if(t[i][1].type==="mathTextData"){t[u][1].type="mathTextPadding",t[l][1].type="mathTextPadding",l+=2,u-=2;break}}for(i=l-1,u++;++i<=u;)n===void 0?i!==u&&t[i][1].type!=="lineEnding"&&(n=i):(i===u||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),u-=i-n-2,i=n+2),n=void 0);return t}function L(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function _(t){return{flow:{36:v},text:{36:N(t)}}}function A(t,u){const l=String(t);let i=l.indexOf(u),n=i,m=0,o=0;if(typeof u!="string"||u.length!==1)throw new Error("Expected character");for(;i!==-1;)i===n?++m>o&&(o=m):m=1,n=i+1,i=l.indexOf(u,n);return o}function B(){return{enter:{mathFlow:t,mathFlowFenceMeta:u,mathText:m},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:l,mathFlowValue:c,mathText:o,mathTextData:c}};function t(r){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},r)}function u(){this.buffer()}function l(){const r=this.resume(),h=this.stack[this.stack.length-1];h.meta=r}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function n(r){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h,this.setData("mathFlowInside")}function m(r){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},r),this.buffer()}function o(r){const h=this.resume(),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h}function c(r){this.config.enter.data.call(this,r),this.config.exit.data.call(this,r)}}function V(t){let u=(t||{}).singleDollarTextMath;return u==null&&(u=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
1
+ import{f as d,m as g,t as q,s as D,p as b}from"./index-0af67a26.js";const v={tokenize:P,concrete:!0},C={tokenize:I,partial:!0};function P(t,u,l){const i=this,n=i.events[i.events.length-1],m=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0;let o=0;return c;function c(e){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),r(e)}function r(e){return e===36?(t.consume(e),o++,r):o<2?l(e):(t.exit("mathFlowFenceSequence"),d(t,h,"whitespace")(e))}function h(e){return e===null||g(e)?F(e):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===null||g(e)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),F(e)):e===36?l(e):(t.consume(e),s)}function F(e){return t.exit("mathFlowFence"),i.interrupt?u(e):t.attempt(C,p,M)(e)}function p(e){return t.attempt({tokenize:z,partial:!0},M,x)(e)}function x(e){return(m?d(t,w,"linePrefix",m+1):w)(e)}function w(e){return e===null?M(e):g(e)?t.attempt(C,p,M)(e):(t.enter("mathFlowValue"),a(e))}function a(e){return e===null||g(e)?(t.exit("mathFlowValue"),w(e)):(t.consume(e),a)}function M(e){return t.exit("mathFlow"),u(e)}function z(e,S,y){let T=0;return d(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(f){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),k(f)}function k(f){return f===36?(T++,e.consume(f),k):T<o?y(f):(e.exit("mathFlowFenceSequence"),d(e,E,"whitespace")(f))}function E(f){return f===null||g(f)?(e.exit("mathFlowFence"),S(f)):y(f)}}}function I(t,u,l){const i=this;return n;function n(o){return o===null?u(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),m)}function m(o){return i.parser.lazy[i.now().line]?l(o):u(o)}}function N(t){let l=(t||{}).singleDollarTextMath;return l==null&&(l=!0),{tokenize:i,resolve:O,previous:L};function i(n,m,o){let c=0,r,h;return s;function s(a){return n.enter("mathText"),n.enter("mathTextSequence"),F(a)}function F(a){return a===36?(n.consume(a),c++,F):c<2&&!l?o(a):(n.exit("mathTextSequence"),p(a))}function p(a){return a===null?o(a):a===36?(h=n.enter("mathTextSequence"),r=0,w(a)):a===32?(n.enter("space"),n.consume(a),n.exit("space"),p):g(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),p):(n.enter("mathTextData"),x(a))}function x(a){return a===null||a===32||a===36||g(a)?(n.exit("mathTextData"),p(a)):(n.consume(a),x)}function w(a){return a===36?(n.consume(a),r++,w):r===c?(n.exit("mathTextSequence"),n.exit("mathText"),m(a)):(h.type="mathTextData",x(a))}}}function O(t){let u=t.length-4,l=3,i,n;if((t[l][1].type==="lineEnding"||t[l][1].type==="space")&&(t[u][1].type==="lineEnding"||t[u][1].type==="space")){for(i=l;++i<u;)if(t[i][1].type==="mathTextData"){t[u][1].type="mathTextPadding",t[l][1].type="mathTextPadding",l+=2,u-=2;break}}for(i=l-1,u++;++i<=u;)n===void 0?i!==u&&t[i][1].type!=="lineEnding"&&(n=i):(i===u||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),u-=i-n-2,i=n+2),n=void 0);return t}function L(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function _(t){return{flow:{36:v},text:{36:N(t)}}}function A(t,u){const l=String(t);let i=l.indexOf(u),n=i,m=0,o=0;if(typeof u!="string"||u.length!==1)throw new Error("Expected character");for(;i!==-1;)i===n?++m>o&&(o=m):m=1,n=i+1,i=l.indexOf(u,n);return o}function B(){return{enter:{mathFlow:t,mathFlowFenceMeta:u,mathText:m},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:l,mathFlowValue:c,mathText:o,mathTextData:c}};function t(r){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},r)}function u(){this.buffer()}function l(){const r=this.resume(),h=this.stack[this.stack.length-1];h.meta=r}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function n(r){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h,this.setData("mathFlowInside")}function m(r){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},r),this.buffer()}function o(r){const h=this.resume(),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h}function c(r){this.config.enter.data.call(this,r),this.config.exit.data.call(this,r)}}function V(t){let u=(t||{}).singleDollarTextMath;return u==null&&(u=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
2
  `,inConstruct:"mathFlowMeta"},{character:"$",after:u?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:l,inlineMath:i}};function l(m,o,c,r){const h=m.value||"",s=q(r),F="$".repeat(Math.max(A(h,"$")+1,2)),p=c.enter("mathFlow");let x=s.move(F);if(m.meta){const w=c.enter("mathFlowMeta");x+=s.move(D(c,m.meta,{before:x,after:`
3
3
  `,encode:["$"],...s.current()})),w()}return x+=s.move(`
4
4
  `),h&&(x+=s.move(h+`
@@ -1 +1 @@
1
- import{aK as e}from"./index-9e81668b.js";function c(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 3c-4.963 0-9 4.038-9 9s4.037 9 9 9 9-4.038 9-9-4.037-9-9-9zm0 16c-3.859 0-7-3.14-7-7s3.141-7 7-7 7 3.14 7 7-3.141 7-7 7zm.707-7l2.646-2.646a.502.502 0 000-.707.502.502 0 00-.707 0L12 11.293 9.354 8.646a.5.5 0 00-.707.707L11.293 12l-2.646 2.646a.5.5 0 00.707.708L12 12.707l2.646 2.646a.5.5 0 10.708-.706L12.707 12z"/>'},a)}function n(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 4c-4.419 0-8 3.582-8 8s3.581 8 8 8 8-3.582 8-8-3.581-8-8-8zm3.707 10.293a.999.999 0 11-1.414 1.414L12 13.414l-2.293 2.293a.997.997 0 01-1.414 0 .999.999 0 010-1.414L10.586 12 8.293 9.707a.999.999 0 111.414-1.414L12 10.586l2.293-2.293a.999.999 0 111.414 1.414L13.414 12l2.293 2.293z"/>'},a)}function s(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M19 17H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2z"/>'},a)}function t(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M21.171 15.398l-5.912-9.854C14.483 4.251 13.296 3.511 12 3.511s-2.483.74-3.259 2.031l-5.912 9.856c-.786 1.309-.872 2.705-.235 3.83C3.23 20.354 4.472 21 6 21h12c1.528 0 2.77-.646 3.406-1.771.637-1.125.551-2.521-.235-3.831zM12 17.549c-.854 0-1.55-.695-1.55-1.549 0-.855.695-1.551 1.55-1.551s1.55.696 1.55 1.551c0 .854-.696 1.549-1.55 1.549zm1.633-7.424c-.011.031-1.401 3.468-1.401 3.468-.038.094-.13.156-.231.156s-.193-.062-.231-.156l-1.391-3.438a1.776 1.776 0 01-.129-.655c0-.965.785-1.75 1.75-1.75a1.752 1.752 0 011.633 2.375z"/>'},a)}export{c as T,s as a,n as b,t as c};
1
+ import{aK as e}from"./index-0af67a26.js";function c(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 3c-4.963 0-9 4.038-9 9s4.037 9 9 9 9-4.038 9-9-4.037-9-9-9zm0 16c-3.859 0-7-3.14-7-7s3.141-7 7-7 7 3.14 7 7-3.141 7-7 7zm.707-7l2.646-2.646a.502.502 0 000-.707.502.502 0 00-.707 0L12 11.293 9.354 8.646a.5.5 0 00-.707.707L11.293 12l-2.646 2.646a.5.5 0 00.707.708L12 12.707l2.646 2.646a.5.5 0 10.708-.706L12.707 12z"/>'},a)}function n(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 4c-4.419 0-8 3.582-8 8s3.581 8 8 8 8-3.582 8-8-3.581-8-8-8zm3.707 10.293a.999.999 0 11-1.414 1.414L12 13.414l-2.293 2.293a.997.997 0 01-1.414 0 .999.999 0 010-1.414L10.586 12 8.293 9.707a.999.999 0 111.414-1.414L12 10.586l2.293-2.293a.999.999 0 111.414 1.414L13.414 12l2.293 2.293z"/>'},a)}function s(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M19 17H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2z"/>'},a)}function t(a){return e({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M21.171 15.398l-5.912-9.854C14.483 4.251 13.296 3.511 12 3.511s-2.483.74-3.259 2.031l-5.912 9.856c-.786 1.309-.872 2.705-.235 3.83C3.23 20.354 4.472 21 6 21h12c1.528 0 2.77-.646 3.406-1.771.637-1.125.551-2.521-.235-3.831zM12 17.549c-.854 0-1.55-.695-1.55-1.549 0-.855.695-1.551 1.55-1.551s1.55.696 1.55 1.551c0 .854-.696 1.549-1.55 1.549zm1.633-7.424c-.011.031-1.401 3.468-1.401 3.468-.038.094-.13.156-.231.156s-.193-.062-.231-.156l-1.391-3.438a1.776 1.776 0 01-.129-.655c0-.965.785-1.75 1.75-1.75a1.752 1.752 0 011.633 2.375z"/>'},a)}export{c as T,s as a,n as b,t as c};
@@ -1,4 +1,4 @@
1
- import{c as qa,w as Ye,a as Ea,h as Ra,v as Ia}from"./index-9e81668b.js";class u0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new u0(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class x0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new x0(t,u0.range(this,e))}}class M{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,n,s,o=t&&t.loc;if(o&&o.start<=o.end){var h=o.lexer.input;n=o.start,s=o.end,n===h.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&̲"),p;n>15?p="…"+h.slice(n-15,n):p=h.slice(0,n);var g;s+15<h.length?g=h.slice(s,s+15)+"…":g=h.slice(s),a+=p+m+g}var b=new Error(a);return b.name="ParseError",b.__proto__=M.prototype,b.position=n,n!=null&&s!=null&&(b.length=s-n),b.rawMessage=e,b}}M.prototype.__proto__=Error.prototype;var Oa=function(e,t){return e.indexOf(t)!==-1},Fa=function(e,t){return e===void 0?t:e},Ha=/([A-Z])/g,La=function(e){return e.replace(Ha,"-$1").toLowerCase()},Pa={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Va=/[&><"']/g;function Ga(r){return String(r).replace(Va,e=>Pa[e])}var Tr=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},Ua=function(e){var t=Tr(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},Ya=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},$a=function(e){var t=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(e);return t!=null?t[1]:"_relative"},R={contains:Oa,deflt:Fa,escape:Ga,hyphenate:La,getBaseElem:Tr,isCharacterBox:Ua,protocolFromUrl:$a},Te={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function Xa(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class pt{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in Te)if(Te.hasOwnProperty(t)){var a=Te[t];this[t]=e[t]!==void 0?a.processor?a.processor(e[t]):e[t]:Xa(a)}}reportNonstrict(e,t,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,t,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var n=this.strict;if(typeof n=="function")try{n=n(e,t,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=R.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}}class O0{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return b0[Wa[this.id]]}sub(){return b0[ja[this.id]]}fracNum(){return b0[Za[this.id]]}fracDen(){return b0[Ka[this.id]]}cramp(){return b0[Ja[this.id]]}text(){return b0[Qa[this.id]]}isTight(){return this.size>=2}}var vt=0,De=1,ee=2,T0=3,oe=4,d0=5,te=6,a0=7,b0=[new O0(vt,0,!1),new O0(De,0,!0),new O0(ee,1,!1),new O0(T0,1,!0),new O0(oe,2,!1),new O0(d0,2,!0),new O0(te,3,!1),new O0(a0,3,!0)],Wa=[oe,d0,oe,d0,te,a0,te,a0],ja=[d0,d0,d0,d0,a0,a0,a0,a0],Za=[ee,T0,oe,d0,te,a0,te,a0],Ka=[T0,T0,d0,d0,a0,a0,a0,a0],Ja=[De,De,T0,T0,d0,d0,a0,a0],Qa=[vt,De,ee,T0,ee,T0,ee,T0],q={DISPLAY:b0[vt],TEXT:b0[ee],SCRIPT:b0[oe],SCRIPTSCRIPT:b0[te]},it=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function _a(r){for(var e=0;e<it.length;e++)for(var t=it[e],a=0;a<t.blocks.length;a++){var n=t.blocks[a];if(r>=n[0]&&r<=n[1])return t.name}return null}var Be=[];it.forEach(r=>r.blocks.forEach(e=>Be.push(...e)));function Br(r){for(var e=0;e<Be.length;e+=2)if(r>=Be[e]&&r<=Be[e+1])return!0;return!1}var _0=80,e1=function(e,t){return"M95,"+(622+e+t)+`
1
+ import{c as qa,w as Ye,a as Ea,h as Ra,v as Ia}from"./index-0af67a26.js";class u0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new u0(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class x0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new x0(t,u0.range(this,e))}}class M{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,n,s,o=t&&t.loc;if(o&&o.start<=o.end){var h=o.lexer.input;n=o.start,s=o.end,n===h.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&̲"),p;n>15?p="…"+h.slice(n-15,n):p=h.slice(0,n);var g;s+15<h.length?g=h.slice(s,s+15)+"…":g=h.slice(s),a+=p+m+g}var b=new Error(a);return b.name="ParseError",b.__proto__=M.prototype,b.position=n,n!=null&&s!=null&&(b.length=s-n),b.rawMessage=e,b}}M.prototype.__proto__=Error.prototype;var Oa=function(e,t){return e.indexOf(t)!==-1},Fa=function(e,t){return e===void 0?t:e},Ha=/([A-Z])/g,La=function(e){return e.replace(Ha,"-$1").toLowerCase()},Pa={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Va=/[&><"']/g;function Ga(r){return String(r).replace(Va,e=>Pa[e])}var Tr=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},Ua=function(e){var t=Tr(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},Ya=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},$a=function(e){var t=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(e);return t!=null?t[1]:"_relative"},R={contains:Oa,deflt:Fa,escape:Ga,hyphenate:La,getBaseElem:Tr,isCharacterBox:Ua,protocolFromUrl:$a},Te={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function Xa(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class pt{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in Te)if(Te.hasOwnProperty(t)){var a=Te[t];this[t]=e[t]!==void 0?a.processor?a.processor(e[t]):e[t]:Xa(a)}}reportNonstrict(e,t,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,t,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var n=this.strict;if(typeof n=="function")try{n=n(e,t,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=R.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}}class O0{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return b0[Wa[this.id]]}sub(){return b0[ja[this.id]]}fracNum(){return b0[Za[this.id]]}fracDen(){return b0[Ka[this.id]]}cramp(){return b0[Ja[this.id]]}text(){return b0[Qa[this.id]]}isTight(){return this.size>=2}}var vt=0,De=1,ee=2,T0=3,oe=4,d0=5,te=6,a0=7,b0=[new O0(vt,0,!1),new O0(De,0,!0),new O0(ee,1,!1),new O0(T0,1,!0),new O0(oe,2,!1),new O0(d0,2,!0),new O0(te,3,!1),new O0(a0,3,!0)],Wa=[oe,d0,oe,d0,te,a0,te,a0],ja=[d0,d0,d0,d0,a0,a0,a0,a0],Za=[ee,T0,oe,d0,te,a0,te,a0],Ka=[T0,T0,d0,d0,a0,a0,a0,a0],Ja=[De,De,T0,T0,d0,d0,a0,a0],Qa=[vt,De,ee,T0,ee,T0,ee,T0],q={DISPLAY:b0[vt],TEXT:b0[ee],SCRIPT:b0[oe],SCRIPTSCRIPT:b0[te]},it=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function _a(r){for(var e=0;e<it.length;e++)for(var t=it[e],a=0;a<t.blocks.length;a++){var n=t.blocks[a];if(r>=n[0]&&r<=n[1])return t.name}return null}var Be=[];it.forEach(r=>r.blocks.forEach(e=>Be.push(...e)));function Br(r){for(var e=0;e<Be.length;e+=2)if(r>=Be[e]&&r<=Be[e+1])return!0;return!1}var _0=80,e1=function(e,t){return"M95,"+(622+e+t)+`
2
2
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
3
3
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
4
4
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -1 +1 @@
1
- import{y as r,a5 as n,ac as t,a7 as i,ab as l,aG as h,ax as s,d as c,aK as o}from"./index-9e81668b.js";const d=e=>r(l,n(e,{get href(){return t(e.encode?i(e.href):e.href)}})),k=e=>r(s,n(e,{get href(){return h(()=>!!e.cancelBase,!0)()?e.href:t(e.href)}})),M=e=>{const{pushHref:a}=c();return r(d,n(e,{get href(){return a(e.href)}}))};function v(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><rect width="18" height="4" x="3" y="4" rx="2"/><path d="M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8M10 12h4"/>'},e)}function p(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'},e)}function f(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'},e)}function w(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M9 11l3 3 8-8"/><path d="M20 12v6a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h9"/>'},e)}function x(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><rect width="12" height="12" x="8" y="8" rx="2"/><path d="M16 8V6a2 2 0 00-2-2H6a2 2 0 00-2 2v8a2 2 0 002 2h2"/>'},e)}function H(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 15H4a1 1 0 01-1-1V6a1 1 0 011-1h6"/><rect width="8" height="16" x="13" y="4" rx="1"/><path d="M7 19h3M17 8v.01"/><circle cx="17" cy="16" r="1"/><path d="M9 15v4"/>'},e)}function m(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M11 7H6a2 2 0 00-2 2v9a2 2 0 002 2h9a2 2 0 002-2v-5M10 14L20 4M15 4h5v5"/>'},e)}function B(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M14 3v4a1 1 0 001 1h4"/><path d="M17 21H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v11a2 2 0 01-2 2zM9 15h6"/><path d="M12.5 17.5L15 15l-2.5-2.5"/>'},e)}function b(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M14 3v4a1 1 0 001 1h4"/><path d="M11.5 21H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v5m-5 6h7m-3-3l3 3-3 3"/>'},e)}function C(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 14a3.5 3.5 0 005 0l4-4a3.5 3.5 0 00-5-5l-.5.5"/><path d="M14 10a3.5 3.5 0 00-5 0l-4 4a3.5 3.5 0 005 5l.5-.5"/>'},e)}function j(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M8 9l4-4 4 4M16 15l-4 4-4-4"/>'},e)}function T(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 4l2 1 2-1m-2-2v6.5l3 1.72M17.928 6.268l.134 2.232 1.866 1.232M20.66 7l-5.629 3.25.01 3.458M19.928 14.268L18.062 15.5l-.134 2.232M20.66 17l-5.629-3.25-2.99 1.738M14 20l-2-1-2 1m2 2v-6.5l-3-1.72M6.072 17.732L5.938 15.5l-1.866-1.232M3.34 17l5.629-3.25-.01-3.458M4.072 9.732L5.938 8.5l.134-2.232M3.34 7l5.629 3.25 2.99-1.738"/>'},e)}function z(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><circle cx="12" cy="12" r="4"/><path d="M3 12h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"/>'},e)}export{k as A,d as L,x as T,B as a,v as b,T as c,z as d,C as e,b as f,w as g,H as h,j as i,f as j,p as k,m as l,M as m};
1
+ import{y as r,a5 as n,ac as t,a7 as i,ab as l,aG as h,ax as s,d as c,aK as o}from"./index-0af67a26.js";const d=e=>r(l,n(e,{get href(){return t(e.encode?i(e.href):e.href)}})),k=e=>r(s,n(e,{get href(){return h(()=>!!e.cancelBase,!0)()?e.href:t(e.href)}})),M=e=>{const{pushHref:a}=c();return r(d,n(e,{get href(){return a(e.href)}}))};function v(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><rect width="18" height="4" x="3" y="4" rx="2"/><path d="M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8M10 12h4"/>'},e)}function p(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'},e)}function f(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'},e)}function w(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M9 11l3 3 8-8"/><path d="M20 12v6a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h9"/>'},e)}function x(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><rect width="12" height="12" x="8" y="8" rx="2"/><path d="M16 8V6a2 2 0 00-2-2H6a2 2 0 00-2 2v8a2 2 0 002 2h2"/>'},e)}function H(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 15H4a1 1 0 01-1-1V6a1 1 0 011-1h6"/><rect width="8" height="16" x="13" y="4" rx="1"/><path d="M7 19h3M17 8v.01"/><circle cx="17" cy="16" r="1"/><path d="M9 15v4"/>'},e)}function m(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M11 7H6a2 2 0 00-2 2v9a2 2 0 002 2h9a2 2 0 002-2v-5M10 14L20 4M15 4h5v5"/>'},e)}function B(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M14 3v4a1 1 0 001 1h4"/><path d="M17 21H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v11a2 2 0 01-2 2zM9 15h6"/><path d="M12.5 17.5L15 15l-2.5-2.5"/>'},e)}function b(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M14 3v4a1 1 0 001 1h4"/><path d="M11.5 21H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v5m-5 6h7m-3-3l3 3-3 3"/>'},e)}function C(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 14a3.5 3.5 0 005 0l4-4a3.5 3.5 0 00-5-5l-.5.5"/><path d="M14 10a3.5 3.5 0 00-5 0l-4 4a3.5 3.5 0 005 5l.5-.5"/>'},e)}function j(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M8 9l4-4 4 4M16 15l-4 4-4-4"/>'},e)}function T(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><path d="M10 4l2 1 2-1m-2-2v6.5l3 1.72M17.928 6.268l.134 2.232 1.866 1.232M20.66 7l-5.629 3.25.01 3.458M19.928 14.268L18.062 15.5l-.134 2.232M20.66 17l-5.629-3.25-2.99 1.738M14 20l-2-1-2 1m2 2v-6.5l-3-1.72M6.072 17.732L5.938 15.5l-1.866-1.232M3.34 17l5.629-3.25-.01-3.458M4.072 9.732L5.938 8.5l.134-2.232M3.34 7l5.629 3.25 2.99-1.738"/>'},e)}function z(e){return o({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path stroke="none" d="M0 0h24v24H0z"/><circle cx="12" cy="12" r="4"/><path d="M3 12h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"/>'},e)}export{k as A,d as L,x as T,B as a,v as b,T as c,z as d,C as e,b as f,w as g,H as h,j as i,f as j,p as k,m as l,M as m};
@@ -1 +1 @@
1
- import{B as Q,af as S,b as M,C as y,y as n,bD as oe,bE as ce,bF as le,bG as ue,bH as de,bI as ge,bJ as he,a6 as T,bK as fe,bL as me,bM as we,S as E,aw as v,N as I,R as p,Y as k,aE as z,bN as pe,ar as N,du as D,dD as F,dE as O,dF as be,bq as R,dG as Z,cU as x,dH as ye,cD as ve,bW as ke,U as j,M as K,J as P,X as U,K as B,L as J,Z as W,$ as G,Q as H,a0 as Se,n as Ce}from"./index-9e81668b.js";import{b as xe}from"./useTitle-86c4f10b.js";import{j as Ee,k as $e}from"./index-3095233d.js";import{a as _e}from"./index-69ab97af.js";const Te=["pdf","doc","docx","xls","xlsx","ppt","pptx","txt","md","html","json","log","srt","ass","lrc","vtt","jpg","jpeg","png","gif","webp","svg","mp3","flac","wav","mp4","mkv","webm","mov","epub","zip","rar","7z","ipa","plist"],V=e=>{if(!e)return[];try{const t=JSON.parse(e);if(!t||typeof t!="object")return[];const r=[];for(const a of Object.keys(t))a.startsWith("/")||a.split(",").forEach(o=>{const s=o.trim().toLowerCase();s&&r.push(s)});return r}catch{return[]}},ee=e=>Q(()=>{const t=new Set(Te);return V(S("iframe_previews")).forEach(r=>t.add(r)),V(S("external_previews")).forEach(r=>t.add(r)),e().forEach(r=>t.add(r.toLowerCase())),Array.from(t).sort()}),Ie=e=>{const t=M(),r=ee(e.extraKeys),[a,o]=y(!1),[s,c]=y("");return n(v,{spacing:"$2",w:"$full",get children(){return[n(oe,{get value(){return e.value},get onChange(){return e.onChange},get children(){return[n(ce,{w:"$48",get children(){return[n(le,{get children(){return t("global.choose")}}),n(ue,{}),n(de,{})]}}),n(ge,{get children(){return n(he,{get children(){return n(T,{get each(){return r()},children:d=>n(fe,{value:d,get children(){return[n(me,{children:d}),n(we,{})]}})})}})}})]}}),n(E,{get when(){return!a()},get fallback(){return n(v,{spacing:"$1",get children(){return[n(I,{size:"sm",w:"$32",placeholder:"ext",get value(){return s()},onInput:d=>c(d.currentTarget.value)}),n(p,{size:"sm",onClick:()=>{const d=s().trim().replace(/^\./,"").toLowerCase();d&&e.onAdd(d),o(!1),c("")},get children(){return t("global.ok")}}),n(p,{size:"sm",variant:"ghost",onClick:()=>o(!1),get children(){return t("global.cancel")}})]}})},get children(){return n(p,{size:"sm",onClick:()=>o(!0),get children(){return t("preview_settings.add_extension")}})}})]}})},Me=(e,t)=>e.source==="builtin"&&e.builtinKey?t(`preview_settings.builtin.${e.builtinKey}`,void 0,e.name):e.name,Oe=e=>{const t=M();return n(v,{w:"$full",spacing:"$3",p:"$3",rounded:"$md",bg:"$neutral2",alignItems:"start",get children(){return[n(k,{spacing:"$1",get children(){return[n(p,{size:"xs",variant:"ghost",get disabled(){return e.isFirst},get onClick(){return e.onMoveUp},"aria-label":"move up",get children(){return n(z,{as:Ee})}}),n(p,{size:"xs",variant:"ghost",get disabled(){return e.isLast},get onClick(){return e.onMoveDown},"aria-label":"move down",get children(){return n(z,{as:$e})}})]}}),n(pe,{get checked(){return e.row.enabled},onChange:r=>e.onToggle(r.currentTarget.checked)}),n(k,{alignItems:"start",spacing:"$1",flex:"1",get children(){return[n(v,{spacing:"$2",get children(){return[n(N,{fontWeight:"$medium",get children(){return Me(e.row,t)}}),n(D,{size:"sm",get children(){return t(`preview_settings.source.${e.row.source}`)}}),n(E,{get when(){return e.row.provider},get children(){return n(D,{size:"sm",colorScheme:"info",get children(){return e.row.provider}})}})]}}),n(E,{get when(){return e.row.url},get children(){return n(N,{size:"sm",color:"$neutral11",wordBreak:"break-all",get children(){return e.row.url}})}}),n(E,{get when(){return e.row.source==="iframe"},get children(){return n(v,{spacing:"$2",mt:"$1",get children(){return[n(p,{size:"xs",get onClick(){return e.onEdit},get children(){return t("global.edit")}}),n(p,{size:"xs",colorScheme:"danger",variant:"outline",get onClick(){return e.onDelete},get children(){return t("global.delete")}})]}})}})]}})]}})},X=e=>{if(!e)return{};try{const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}},q=(e,t)=>{if(e.startsWith("/"))try{return be(e).test(t)}catch{return!1}return e.split(",").map(r=>r.trim().toLowerCase()).includes(t)},Re=e=>{if(e===void 0)return null;switch(e){case x.VIDEO:return"video_types";case x.AUDIO:return"audio_types";case x.IMAGE:return"image_types";case x.TEXT:return"text_types";default:return null}},Ae=(e,t)=>{const r=Re(e);return r?S(r).split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).includes(t):!1},Le=(e,t)=>{if(e.exts){if(e.exts==="*")return!0;if(typeof e.exts=="function")return e.exts(`x.${t}`);if(e.exts.map(r=>r.toLowerCase()).includes(t))return!0}return Ae(e.type,t)},te=(e,t)=>{const r=e.toLowerCase(),a=new Set((t==null?void 0:t.disabled)??[]),o=(t==null?void 0:t.order)??[],s=new Map;o.forEach((l,h)=>s.set(l,h));const c=[];_e().forEach((l,h)=>{var g;if(!Le(l,r))return;const w=`builtin:${l.key}`;c.push({row:{id:w,source:"builtin",name:l.name,builtinKey:l.key,provider:(g=l.provider)==null?void 0:g.source,enabled:!a.has(w)},defaultRank:h})});const d=X(S("iframe_previews"));let m=0;for(const l of Object.keys(d))if(q(l,r))for(const{key:h,value:w}of F(d[l])){const g=`iframe:${h}`;c.push({row:{id:g,source:"iframe",name:h,url:w,enabled:!a.has(g)},defaultRank:1e3+m++})}const f=X(S("external_previews"));let b=0;for(const l of Object.keys(f))if(q(l,r))for(const{key:h,value:w}of F(f[l])){const g=`external:${h}`;c.push({row:{id:g,source:"external",name:h,url:w,enabled:!a.has(g)},defaultRank:2e3+b++})}return c.sort((l,h)=>{const w=s.has(l.row.id)?s.get(l.row.id):Number.MAX_SAFE_INTEGER,g=s.has(h.row.id)?s.get(h.row.id):Number.MAX_SAFE_INTEGER;return w!==g?w-g:l.defaultRank-h.defaultRank}),c.map(l=>l.row)},[ze,Ne]=y(0),ne=async()=>{const e=await R.get("/public/settings");ye(e,t=>{ve(t),Ne(r=>r+1)})},De=e=>{const t={};return e.order&&e.order.length&&(t.order=e.order),e.disabled&&e.disabled.length&&(t.disabled=e.disabled),Object.keys(t).length?t:void 0},_=async(e,t)=>{const r=e.toLowerCase(),a={...O()},o=t({...a[r]??{}}),s=De(o);s?a[r]=s:delete a[r];const c=JSON.stringify(a);await new Promise((d,m)=>{R.post("/admin/setting/save",[{key:"preview_settings",value:c,type:"text",group:3}]).then(f=>{Z(f,()=>{ne().then(d,m)},b=>m(new Error(b)))},m)})},Fe=(e,t,r)=>_(e,a=>{const o=new Set(a.disabled??[]);return r?o.delete(t):o.add(t),{...a,disabled:Array.from(o)}}),je=e=>te(e,void 0).map(t=>t.id),Y=(e,t,r)=>_(e,a=>{const o=je(e),s=a.order&&a.order.length?[...a.order]:[...o];for(const f of o)s.includes(f)||s.push(f);const c=s.indexOf(t);if(c===-1)return a;const d=c+r;if(d<0||d>=s.length)return a;[s[c],s[d]]=[s[d],s[c]];const m=s.length===o.length&&s.every((f,b)=>f===o[b]);return{...a,order:m?[]:s}}),A=async e=>{const t=JSON.stringify(e),r=await R.post("/admin/setting/save",[{key:"iframe_previews",value:t,type:"text",group:3}]);await new Promise((a,o)=>{Z(r,()=>{ne().then(a,o)},s=>o(new Error(s)))})},L=()=>{try{const e=S("iframe_previews");return e?JSON.parse(e):{}}catch{return{}}},$=(e,t)=>{for(const r of Object.keys(e)){if(r===t||r.startsWith("/"))continue;const a=r.split(",").map(c=>c.trim().toLowerCase()).filter(Boolean);if(!a.includes(t))continue;const o=a.filter(c=>c!==t),s=e[r];delete e[r],o.length&&(e[o.join(",")]={...s}),e[t]={...e[t]??{},...s}}},Ke=async(e,t,r,a)=>{const o=L();$(o,e);const s=o[e]??{};a&&a!==t&&delete s[a],s[t]=r,o[e]=s,await A(o)},Pe=async(e,t)=>{const r=L();$(r,e),r[e]&&(delete r[e][t],Object.keys(r[e]).length===0&&delete r[e]),await A(r),await _(e,a=>{const o=`iframe:${t}`;return{order:(a.order??[]).filter(s=>s!==o),disabled:(a.disabled??[]).filter(s=>s!==o)}})},Ue=async(e,t)=>{if(t.length===0)return;const r=L();$(r,e);const a=r[e]??{};for(const s of t)s!==e&&($(r,s),r[s]={...r[s]??{},...a});await A(r);const o=O()[e];if(o)for(const s of t)s!==e&&await _(s,()=>({order:o.order?[...o.order]:void 0,disabled:o.disabled?[...o.disabled]:void 0}))},He=()=>{const e=M();xe("manage.sidemenu.preview-settings");const[t,r]=y("pdf"),[a,o]=y([]),[s,c]=y(null),[d,m]=y(!1),[f,b]=y(new Set),l=ee(a),h=i=>{const u=new Set(f());u.has(i)?u.delete(i):u.add(i),b(u)},w=Q(()=>(ze(),te(t(),O()[t()]))),g=i=>Ce.error(i instanceof Error?i.message:String(i)),re=()=>c({name:"",url:""}),se=(i,u)=>c({name:i,url:u??"",originalName:i}),ie=async()=>{const i=s();if(!i)return;const u=i.name.trim(),C=i.url.trim();if(!(!u||!C))try{await Ke(t(),u,C,i.originalName),c(null)}catch(ae){g(ae)}};return n(k,{w:"$full",alignItems:"stretch",spacing:"$4",get children(){return[n(ke,{size:"lg",get children(){return e("manage.sidemenu.preview-settings")}}),n(v,{w:"$full",spacing:"$2",alignItems:"center",get children(){return[n(Ie,{get value(){return t()},onChange:r,extraKeys:a,onAdd:i=>{a().includes(i)||o([...a(),i]),r(i)}}),n(p,{size:"sm",variant:"outline",onClick:()=>{b(new Set),m(!0)},get children(){return e("preview_settings.copy_to_extensions")}})]}}),n(k,{w:"$full",alignItems:"stretch",spacing:"$2",get children(){return n(T,{get each(){return w()},children:(i,u)=>n(Oe,{row:i,onToggle:C=>Fe(t(),i.id,C).catch(g),onMoveUp:()=>Y(t(),i.id,-1).catch(g),onMoveDown:()=>Y(t(),i.id,1).catch(g),onEdit:()=>se(i.name,i.url),onDelete:()=>Pe(t(),i.name).catch(g),get isFirst(){return u()===0},get isLast(){return u()===w().length-1}})})}}),n(v,{get children(){return n(p,{size:"sm",onClick:re,get children(){return e("preview_settings.add_iframe")}})}}),n(j,{get opened(){return!!s()},onClose:()=>c(null),get children(){return[n(K,{}),n(P,{get children(){return[n(U,{}),n(B,{get children(){return e("preview_settings.add_iframe")}}),n(J,{get children(){return n(k,{alignItems:"stretch",spacing:"$3",get children(){return[n(W,{get children(){return[n(G,{children:"Name"}),n(I,{get value(){var i;return((i=s())==null?void 0:i.name)??""},onInput:i=>{const u=s();u&&c({...u,name:i.currentTarget.value})}})]}}),n(W,{get children(){return[n(G,{children:"URL"}),n(I,{get value(){var i;return((i=s())==null?void 0:i.url)??""},onInput:i=>{const u=s();u&&c({...u,url:i.currentTarget.value})}})]}})]}})}}),n(H,{get children(){return n(p,{onClick:ie,get children(){return e("global.save")}})}})]}})]}}),n(j,{get opened(){return d()},onClose:()=>m(!1),get children(){return[n(K,{}),n(P,{get children(){return[n(U,{}),n(B,{get children(){return e("preview_settings.copy_to_extensions")}}),n(J,{get children(){return n(k,{alignItems:"start",spacing:"$1",maxH:"50vh",overflowY:"auto",get children(){return n(T,{get each(){return l().filter(i=>i!==t())},children:i=>n(Se,{get checked(){return f().has(i)},onChange:()=>h(i),children:i})})}})}}),n(H,{get children(){return n(p,{onClick:async()=>{const i=Array.from(f());if(i.length===0){m(!1);return}try{await Ue(t(),i),m(!1)}catch(u){g(u)}},get children(){return e("global.ok")}})}})]}})]}})]}})};export{He as default};
1
+ import{B as Q,af as S,b as M,C as y,y as n,bD as oe,bE as ce,bF as le,bG as ue,bH as de,bI as ge,bJ as he,a6 as T,bK as fe,bL as me,bM as we,S as E,aw as v,N as I,R as p,Y as k,aE as z,bN as pe,ar as N,du as D,dD as F,dE as O,dF as be,bq as R,dG as Z,cU as x,dH as ye,cD as ve,bW as ke,U as j,M as K,J as P,X as U,K as B,L as J,Z as W,$ as G,Q as H,a0 as Se,n as Ce}from"./index-0af67a26.js";import{b as xe}from"./useTitle-394ae64f.js";import{j as Ee,k as $e}from"./index-6cfcfd46.js";import{a as _e}from"./index-cbfadd9b.js";const Te=["pdf","doc","docx","xls","xlsx","ppt","pptx","txt","md","html","json","log","srt","ass","lrc","vtt","jpg","jpeg","png","gif","webp","svg","mp3","flac","wav","mp4","mkv","webm","mov","epub","zip","rar","7z","ipa","plist"],V=e=>{if(!e)return[];try{const t=JSON.parse(e);if(!t||typeof t!="object")return[];const r=[];for(const a of Object.keys(t))a.startsWith("/")||a.split(",").forEach(o=>{const s=o.trim().toLowerCase();s&&r.push(s)});return r}catch{return[]}},ee=e=>Q(()=>{const t=new Set(Te);return V(S("iframe_previews")).forEach(r=>t.add(r)),V(S("external_previews")).forEach(r=>t.add(r)),e().forEach(r=>t.add(r.toLowerCase())),Array.from(t).sort()}),Ie=e=>{const t=M(),r=ee(e.extraKeys),[a,o]=y(!1),[s,c]=y("");return n(v,{spacing:"$2",w:"$full",get children(){return[n(oe,{get value(){return e.value},get onChange(){return e.onChange},get children(){return[n(ce,{w:"$48",get children(){return[n(le,{get children(){return t("global.choose")}}),n(ue,{}),n(de,{})]}}),n(ge,{get children(){return n(he,{get children(){return n(T,{get each(){return r()},children:d=>n(fe,{value:d,get children(){return[n(me,{children:d}),n(we,{})]}})})}})}})]}}),n(E,{get when(){return!a()},get fallback(){return n(v,{spacing:"$1",get children(){return[n(I,{size:"sm",w:"$32",placeholder:"ext",get value(){return s()},onInput:d=>c(d.currentTarget.value)}),n(p,{size:"sm",onClick:()=>{const d=s().trim().replace(/^\./,"").toLowerCase();d&&e.onAdd(d),o(!1),c("")},get children(){return t("global.ok")}}),n(p,{size:"sm",variant:"ghost",onClick:()=>o(!1),get children(){return t("global.cancel")}})]}})},get children(){return n(p,{size:"sm",onClick:()=>o(!0),get children(){return t("preview_settings.add_extension")}})}})]}})},Me=(e,t)=>e.source==="builtin"&&e.builtinKey?t(`preview_settings.builtin.${e.builtinKey}`,void 0,e.name):e.name,Oe=e=>{const t=M();return n(v,{w:"$full",spacing:"$3",p:"$3",rounded:"$md",bg:"$neutral2",alignItems:"start",get children(){return[n(k,{spacing:"$1",get children(){return[n(p,{size:"xs",variant:"ghost",get disabled(){return e.isFirst},get onClick(){return e.onMoveUp},"aria-label":"move up",get children(){return n(z,{as:Ee})}}),n(p,{size:"xs",variant:"ghost",get disabled(){return e.isLast},get onClick(){return e.onMoveDown},"aria-label":"move down",get children(){return n(z,{as:$e})}})]}}),n(pe,{get checked(){return e.row.enabled},onChange:r=>e.onToggle(r.currentTarget.checked)}),n(k,{alignItems:"start",spacing:"$1",flex:"1",get children(){return[n(v,{spacing:"$2",get children(){return[n(N,{fontWeight:"$medium",get children(){return Me(e.row,t)}}),n(D,{size:"sm",get children(){return t(`preview_settings.source.${e.row.source}`)}}),n(E,{get when(){return e.row.provider},get children(){return n(D,{size:"sm",colorScheme:"info",get children(){return e.row.provider}})}})]}}),n(E,{get when(){return e.row.url},get children(){return n(N,{size:"sm",color:"$neutral11",wordBreak:"break-all",get children(){return e.row.url}})}}),n(E,{get when(){return e.row.source==="iframe"},get children(){return n(v,{spacing:"$2",mt:"$1",get children(){return[n(p,{size:"xs",get onClick(){return e.onEdit},get children(){return t("global.edit")}}),n(p,{size:"xs",colorScheme:"danger",variant:"outline",get onClick(){return e.onDelete},get children(){return t("global.delete")}})]}})}})]}})]}})},X=e=>{if(!e)return{};try{const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}},q=(e,t)=>{if(e.startsWith("/"))try{return be(e).test(t)}catch{return!1}return e.split(",").map(r=>r.trim().toLowerCase()).includes(t)},Re=e=>{if(e===void 0)return null;switch(e){case x.VIDEO:return"video_types";case x.AUDIO:return"audio_types";case x.IMAGE:return"image_types";case x.TEXT:return"text_types";default:return null}},Ae=(e,t)=>{const r=Re(e);return r?S(r).split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).includes(t):!1},Le=(e,t)=>{if(e.exts){if(e.exts==="*")return!0;if(typeof e.exts=="function")return e.exts(`x.${t}`);if(e.exts.map(r=>r.toLowerCase()).includes(t))return!0}return Ae(e.type,t)},te=(e,t)=>{const r=e.toLowerCase(),a=new Set((t==null?void 0:t.disabled)??[]),o=(t==null?void 0:t.order)??[],s=new Map;o.forEach((l,h)=>s.set(l,h));const c=[];_e().forEach((l,h)=>{var g;if(!Le(l,r))return;const w=`builtin:${l.key}`;c.push({row:{id:w,source:"builtin",name:l.name,builtinKey:l.key,provider:(g=l.provider)==null?void 0:g.source,enabled:!a.has(w)},defaultRank:h})});const d=X(S("iframe_previews"));let m=0;for(const l of Object.keys(d))if(q(l,r))for(const{key:h,value:w}of F(d[l])){const g=`iframe:${h}`;c.push({row:{id:g,source:"iframe",name:h,url:w,enabled:!a.has(g)},defaultRank:1e3+m++})}const f=X(S("external_previews"));let b=0;for(const l of Object.keys(f))if(q(l,r))for(const{key:h,value:w}of F(f[l])){const g=`external:${h}`;c.push({row:{id:g,source:"external",name:h,url:w,enabled:!a.has(g)},defaultRank:2e3+b++})}return c.sort((l,h)=>{const w=s.has(l.row.id)?s.get(l.row.id):Number.MAX_SAFE_INTEGER,g=s.has(h.row.id)?s.get(h.row.id):Number.MAX_SAFE_INTEGER;return w!==g?w-g:l.defaultRank-h.defaultRank}),c.map(l=>l.row)},[ze,Ne]=y(0),ne=async()=>{const e=await R.get("/public/settings");ye(e,t=>{ve(t),Ne(r=>r+1)})},De=e=>{const t={};return e.order&&e.order.length&&(t.order=e.order),e.disabled&&e.disabled.length&&(t.disabled=e.disabled),Object.keys(t).length?t:void 0},_=async(e,t)=>{const r=e.toLowerCase(),a={...O()},o=t({...a[r]??{}}),s=De(o);s?a[r]=s:delete a[r];const c=JSON.stringify(a);await new Promise((d,m)=>{R.post("/admin/setting/save",[{key:"preview_settings",value:c,type:"text",group:3}]).then(f=>{Z(f,()=>{ne().then(d,m)},b=>m(new Error(b)))},m)})},Fe=(e,t,r)=>_(e,a=>{const o=new Set(a.disabled??[]);return r?o.delete(t):o.add(t),{...a,disabled:Array.from(o)}}),je=e=>te(e,void 0).map(t=>t.id),Y=(e,t,r)=>_(e,a=>{const o=je(e),s=a.order&&a.order.length?[...a.order]:[...o];for(const f of o)s.includes(f)||s.push(f);const c=s.indexOf(t);if(c===-1)return a;const d=c+r;if(d<0||d>=s.length)return a;[s[c],s[d]]=[s[d],s[c]];const m=s.length===o.length&&s.every((f,b)=>f===o[b]);return{...a,order:m?[]:s}}),A=async e=>{const t=JSON.stringify(e),r=await R.post("/admin/setting/save",[{key:"iframe_previews",value:t,type:"text",group:3}]);await new Promise((a,o)=>{Z(r,()=>{ne().then(a,o)},s=>o(new Error(s)))})},L=()=>{try{const e=S("iframe_previews");return e?JSON.parse(e):{}}catch{return{}}},$=(e,t)=>{for(const r of Object.keys(e)){if(r===t||r.startsWith("/"))continue;const a=r.split(",").map(c=>c.trim().toLowerCase()).filter(Boolean);if(!a.includes(t))continue;const o=a.filter(c=>c!==t),s=e[r];delete e[r],o.length&&(e[o.join(",")]={...s}),e[t]={...e[t]??{},...s}}},Ke=async(e,t,r,a)=>{const o=L();$(o,e);const s=o[e]??{};a&&a!==t&&delete s[a],s[t]=r,o[e]=s,await A(o)},Pe=async(e,t)=>{const r=L();$(r,e),r[e]&&(delete r[e][t],Object.keys(r[e]).length===0&&delete r[e]),await A(r),await _(e,a=>{const o=`iframe:${t}`;return{order:(a.order??[]).filter(s=>s!==o),disabled:(a.disabled??[]).filter(s=>s!==o)}})},Ue=async(e,t)=>{if(t.length===0)return;const r=L();$(r,e);const a=r[e]??{};for(const s of t)s!==e&&($(r,s),r[s]={...r[s]??{},...a});await A(r);const o=O()[e];if(o)for(const s of t)s!==e&&await _(s,()=>({order:o.order?[...o.order]:void 0,disabled:o.disabled?[...o.disabled]:void 0}))},He=()=>{const e=M();xe("manage.sidemenu.preview-settings");const[t,r]=y("pdf"),[a,o]=y([]),[s,c]=y(null),[d,m]=y(!1),[f,b]=y(new Set),l=ee(a),h=i=>{const u=new Set(f());u.has(i)?u.delete(i):u.add(i),b(u)},w=Q(()=>(ze(),te(t(),O()[t()]))),g=i=>Ce.error(i instanceof Error?i.message:String(i)),re=()=>c({name:"",url:""}),se=(i,u)=>c({name:i,url:u??"",originalName:i}),ie=async()=>{const i=s();if(!i)return;const u=i.name.trim(),C=i.url.trim();if(!(!u||!C))try{await Ke(t(),u,C,i.originalName),c(null)}catch(ae){g(ae)}};return n(k,{w:"$full",alignItems:"stretch",spacing:"$4",get children(){return[n(ke,{size:"lg",get children(){return e("manage.sidemenu.preview-settings")}}),n(v,{w:"$full",spacing:"$2",alignItems:"center",get children(){return[n(Ie,{get value(){return t()},onChange:r,extraKeys:a,onAdd:i=>{a().includes(i)||o([...a(),i]),r(i)}}),n(p,{size:"sm",variant:"outline",onClick:()=>{b(new Set),m(!0)},get children(){return e("preview_settings.copy_to_extensions")}})]}}),n(k,{w:"$full",alignItems:"stretch",spacing:"$2",get children(){return n(T,{get each(){return w()},children:(i,u)=>n(Oe,{row:i,onToggle:C=>Fe(t(),i.id,C).catch(g),onMoveUp:()=>Y(t(),i.id,-1).catch(g),onMoveDown:()=>Y(t(),i.id,1).catch(g),onEdit:()=>se(i.name,i.url),onDelete:()=>Pe(t(),i.name).catch(g),get isFirst(){return u()===0},get isLast(){return u()===w().length-1}})})}}),n(v,{get children(){return n(p,{size:"sm",onClick:re,get children(){return e("preview_settings.add_iframe")}})}}),n(j,{get opened(){return!!s()},onClose:()=>c(null),get children(){return[n(K,{}),n(P,{get children(){return[n(U,{}),n(B,{get children(){return e("preview_settings.add_iframe")}}),n(J,{get children(){return n(k,{alignItems:"stretch",spacing:"$3",get children(){return[n(W,{get children(){return[n(G,{children:"Name"}),n(I,{get value(){var i;return((i=s())==null?void 0:i.name)??""},onInput:i=>{const u=s();u&&c({...u,name:i.currentTarget.value})}})]}}),n(W,{get children(){return[n(G,{children:"URL"}),n(I,{get value(){var i;return((i=s())==null?void 0:i.url)??""},onInput:i=>{const u=s();u&&c({...u,url:i.currentTarget.value})}})]}})]}})}}),n(H,{get children(){return n(p,{onClick:ie,get children(){return e("global.save")}})}})]}})]}}),n(j,{get opened(){return d()},onClose:()=>m(!1),get children(){return[n(K,{}),n(P,{get children(){return[n(U,{}),n(B,{get children(){return e("preview_settings.copy_to_extensions")}}),n(J,{get children(){return n(k,{alignItems:"start",spacing:"$1",maxH:"50vh",overflowY:"auto",get children(){return n(T,{get each(){return l().filter(i=>i!==t())},children:i=>n(Se,{get checked(){return f().has(i)},onChange:()=>h(i),children:i})})}})}}),n(H,{get children(){return n(p,{onClick:async()=>{const i=Array.from(f());if(i.length===0){m(!1);return}try{await Ue(t(),i),m(!1)}catch(u){g(u)}},get children(){return e("global.ok")}})}})]}})]}})]}})};export{He as default};
@@ -1,4 +1,4 @@
1
- import{e0 as Br,dp as W,dq as ur}from"./index-9e81668b.js";import{c as dr}from"./_commonjs-dynamic-modules-302442b1.js";var jx={exports:{}},F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch{}var H=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(H());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var g=0;g<v;g+=A)this._doProcessBlock(E,g);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.Base,B=D.WordArray,d=p.x64={};d.Word=H.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=H.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=H.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,H=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;H.call(this,e,x)}else H.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Utf16=H.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},H.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var g0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(g0)),g0.exports}var y0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new H.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],g=c[f+7],y=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],w=i[1],m=i[2],k=i[3];b=u(b,w,m,k,E,7,x[0]),k=u(k,b,w,m,l,12,x[1]),m=u(m,k,b,w,A,17,x[2]),w=u(w,m,k,b,_,22,x[3]),b=u(b,w,m,k,S,7,x[4]),k=u(k,b,w,m,v,12,x[5]),m=u(m,k,b,w,F,17,x[6]),w=u(w,m,k,b,g,22,x[7]),b=u(b,w,m,k,y,7,x[8]),k=u(k,b,w,m,z,12,x[9]),m=u(m,k,b,w,q,17,x[10]),w=u(w,m,k,b,P,22,x[11]),b=u(b,w,m,k,U,7,x[12]),k=u(k,b,w,m,N,12,x[13]),m=u(m,k,b,w,O,17,x[14]),w=u(w,m,k,b,X,22,x[15]),b=r(b,w,m,k,l,5,x[16]),k=r(k,b,w,m,F,9,x[17]),m=r(m,k,b,w,P,14,x[18]),w=r(w,m,k,b,E,20,x[19]),b=r(b,w,m,k,v,5,x[20]),k=r(k,b,w,m,q,9,x[21]),m=r(m,k,b,w,X,14,x[22]),w=r(w,m,k,b,S,20,x[23]),b=r(b,w,m,k,z,5,x[24]),k=r(k,b,w,m,O,9,x[25]),m=r(m,k,b,w,_,14,x[26]),w=r(w,m,k,b,y,20,x[27]),b=r(b,w,m,k,N,5,x[28]),k=r(k,b,w,m,A,9,x[29]),m=r(m,k,b,w,g,14,x[30]),w=r(w,m,k,b,U,20,x[31]),b=s(b,w,m,k,v,4,x[32]),k=s(k,b,w,m,y,11,x[33]),m=s(m,k,b,w,P,16,x[34]),w=s(w,m,k,b,O,23,x[35]),b=s(b,w,m,k,l,4,x[36]),k=s(k,b,w,m,S,11,x[37]),m=s(m,k,b,w,g,16,x[38]),w=s(w,m,k,b,q,23,x[39]),b=s(b,w,m,k,N,4,x[40]),k=s(k,b,w,m,E,11,x[41]),m=s(m,k,b,w,_,16,x[42]),w=s(w,m,k,b,F,23,x[43]),b=s(b,w,m,k,z,4,x[44]),k=s(k,b,w,m,U,11,x[45]),m=s(m,k,b,w,X,16,x[46]),w=s(w,m,k,b,A,23,x[47]),b=o(b,w,m,k,E,6,x[48]),k=o(k,b,w,m,g,10,x[49]),m=o(m,k,b,w,O,15,x[50]),w=o(w,m,k,b,v,21,x[51]),b=o(b,w,m,k,U,6,x[52]),k=o(k,b,w,m,_,10,x[53]),m=o(m,k,b,w,q,15,x[54]),w=o(w,m,k,b,l,21,x[55]),b=o(b,w,m,k,y,6,x[56]),k=o(k,b,w,m,X,10,x[57]),m=o(m,k,b,w,F,15,x[58]),w=o(w,m,k,b,N,21,x[59]),b=o(b,w,m,k,S,6,x[60]),k=o(k,b,w,m,P,10,x[61]),m=o(m,k,b,w,A,15,x[62]),w=o(w,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+w|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(y0)),y0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=p.Hasher,B=n.algo,d=[],x=B.SHA1=H.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=H.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=H._createHelper(x),n.HmacSHA1=H._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var H0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new H.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],g=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+g+u[_-16]}var y=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+y+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(H0)),H0.exports}var w0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.algo,B=H.SHA256,d=H.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(w0)),w0.exports}var m0={exports:{}},gx;function Vx(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,H=n.x64,B=H.Word,d=H.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,g=t.low,y=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,w=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=g,i0=y,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=w,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),g=t.low=g+L,t.high=F+$+(g>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=y+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),w=A.low=w+c0,A.high=b+h0+(w>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},yx;function pr(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,H=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new H.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,g=0;g<5;g++){var A=t[S+5*g];v^=A.high,F^=A.low}var y=o[S];y.high=v,y.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),g=0;g<5;g++){var A=t[S+5*g];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var w=o[r[N]];w.high=v,w.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var g=0;g<5;g++){var N=S+5*g,A=t[N],G=o[N],K=o[(S+1)%5+5*g],$=o[(S+2)%5+5*g];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new H.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},Hx;function br(){return Hx||(Hx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
1
+ import{e0 as Br,dp as W,dq as ur}from"./index-0af67a26.js";import{c as dr}from"./_commonjs-dynamic-modules-302442b1.js";var jx={exports:{}},F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch{}var H=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(H());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var g=0;g<v;g+=A)this._doProcessBlock(E,g);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.Base,B=D.WordArray,d=p.x64={};d.Word=H.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=H.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=H.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,H=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;H.call(this,e,x)}else H.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Utf16=H.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},H.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var g0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.enc;H.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(g0)),g0.exports}var y0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new H.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],g=c[f+7],y=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],w=i[1],m=i[2],k=i[3];b=u(b,w,m,k,E,7,x[0]),k=u(k,b,w,m,l,12,x[1]),m=u(m,k,b,w,A,17,x[2]),w=u(w,m,k,b,_,22,x[3]),b=u(b,w,m,k,S,7,x[4]),k=u(k,b,w,m,v,12,x[5]),m=u(m,k,b,w,F,17,x[6]),w=u(w,m,k,b,g,22,x[7]),b=u(b,w,m,k,y,7,x[8]),k=u(k,b,w,m,z,12,x[9]),m=u(m,k,b,w,q,17,x[10]),w=u(w,m,k,b,P,22,x[11]),b=u(b,w,m,k,U,7,x[12]),k=u(k,b,w,m,N,12,x[13]),m=u(m,k,b,w,O,17,x[14]),w=u(w,m,k,b,X,22,x[15]),b=r(b,w,m,k,l,5,x[16]),k=r(k,b,w,m,F,9,x[17]),m=r(m,k,b,w,P,14,x[18]),w=r(w,m,k,b,E,20,x[19]),b=r(b,w,m,k,v,5,x[20]),k=r(k,b,w,m,q,9,x[21]),m=r(m,k,b,w,X,14,x[22]),w=r(w,m,k,b,S,20,x[23]),b=r(b,w,m,k,z,5,x[24]),k=r(k,b,w,m,O,9,x[25]),m=r(m,k,b,w,_,14,x[26]),w=r(w,m,k,b,y,20,x[27]),b=r(b,w,m,k,N,5,x[28]),k=r(k,b,w,m,A,9,x[29]),m=r(m,k,b,w,g,14,x[30]),w=r(w,m,k,b,U,20,x[31]),b=s(b,w,m,k,v,4,x[32]),k=s(k,b,w,m,y,11,x[33]),m=s(m,k,b,w,P,16,x[34]),w=s(w,m,k,b,O,23,x[35]),b=s(b,w,m,k,l,4,x[36]),k=s(k,b,w,m,S,11,x[37]),m=s(m,k,b,w,g,16,x[38]),w=s(w,m,k,b,q,23,x[39]),b=s(b,w,m,k,N,4,x[40]),k=s(k,b,w,m,E,11,x[41]),m=s(m,k,b,w,_,16,x[42]),w=s(w,m,k,b,F,23,x[43]),b=s(b,w,m,k,z,4,x[44]),k=s(k,b,w,m,U,11,x[45]),m=s(m,k,b,w,X,16,x[46]),w=s(w,m,k,b,A,23,x[47]),b=o(b,w,m,k,E,6,x[48]),k=o(k,b,w,m,g,10,x[49]),m=o(m,k,b,w,O,15,x[50]),w=o(w,m,k,b,v,21,x[51]),b=o(b,w,m,k,U,6,x[52]),k=o(k,b,w,m,_,10,x[53]),m=o(m,k,b,w,q,15,x[54]),w=o(w,m,k,b,l,21,x[55]),b=o(b,w,m,k,y,6,x[56]),k=o(k,b,w,m,X,10,x[57]),m=o(m,k,b,w,F,15,x[58]),w=o(w,m,k,b,N,21,x[59]),b=o(b,w,m,k,S,6,x[60]),k=o(k,b,w,m,P,10,x[61]),m=o(m,k,b,w,A,15,x[62]),w=o(w,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+w|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(y0)),y0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=p.Hasher,B=n.algo,d=[],x=B.SHA1=H.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=H.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=H._createHelper(x),n.HmacSHA1=H._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var H0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new H.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],g=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+g+u[_-16]}var y=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+y+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(H0)),H0.exports}var w0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,H=n.algo,B=H.SHA256,d=H.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(w0)),w0.exports}var m0={exports:{}},gx;function Vx(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,H=n.x64,B=H.Word,d=H.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,g=t.low,y=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,w=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=g,i0=y,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=w,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),g=t.low=g+L,t.high=F+$+(g>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=y+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),w=A.low=w+c0,A.high=b+h0+(w>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},yx;function pr(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,H=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new H.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,H=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,g=0;g<5;g++){var A=t[S+5*g];v^=A.high,F^=A.low}var y=o[S];y.high=v,y.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),g=0;g<5;g++){var A=t[S+5*g];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var w=o[r[N]];w.high=v,w.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var g=0;g<5;g++){var N=S+5*g,A=t[N],G=o[N],K=o[(S+1)%5+5*g],$=o[(S+2)%5+5*g];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new H.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},Hx;function br(){return Hx||(Hx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
2
2
  (c) 2012 by Cédric Mesnil. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -1 +1 @@
1
- import{y as c,cT as L,B as O,dl as T,an as f,dt as b,aE as R,aa as x,dI as D,ag as t,ah as o,cU as a,ay as V,az as g,dj as $,aV as S,cX as l,aO as C,d as M,dE as U,dJ as N}from"./index-9e81668b.js";import{l as X}from"./index-3095233d.js";const j=e=>{const{currentObjLink:s}=L(),_=O(()=>T(e.scheme,{raw_url:f.raw_url,name:f.obj.name,d_url:s(!0),ts:!0}));return c(D,{w:"$full",h:"70vh",get children(){return[c(b.iframe,{w:"$full",h:"$full",get src(){return _()}}),c(R,{pos:"absolute",right:"$2",bottom:"$10","aria-label":"Open in new tab",as:X,onClick:()=>{window.open(_(),"_blank")},cursor:"pointer",rounded:"$md",get bgColor(){return x()},p:"$1",boxSize:"$7"})]}})},K=e=>()=>c(j,{scheme:e}),B=new Set(["Aliyun Video Previewer","Doubao Preview","Aliyun Office Previewer","Archive Preview"]),z=(e,s)=>e===void 0?!1:e==="*"?!0:typeof e=="function"?e(s):e.includes(l(s).toLowerCase()),F=e=>typeof e=="boolean"?e:e(),G=["lark-doc","lark-docx","lark-sheet","lark-bitable","lark-mindnote","lark-slides"],W=e=>G.includes(l(e).toLowerCase()),P=[{key:"lark_preview",name:"Lark Preview",i18nKey:"home.preview.lark_preview",exts:"*",provider:/^Lark$/,enabled:e=>!e.web_proxy||W(e.name),component:t(()=>o(()=>import("./lark-7e95d330.js"),["assets/lark-7e95d330.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/index-3095233d.js"])),prior:!0},{key:"lark_tools",name:"Lark Tools",i18nKey:"home.preview.lark_tools.title",exts:["lark-doc","lark-docx","lark-sheet","lark-bitable"],provider:/^Lark$/,component:t(()=>o(()=>import("./lark_tools-b9fca864.js"),["assets/lark_tools-b9fca864.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"html",name:"HTML render",exts:["html"],component:t(()=>o(()=>import("./html-eecc2de0.js"),["assets/html-eecc2de0.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"aliyun_video",name:"Aliyun Video Previewer",type:a.VIDEO,provider:/^Aliyundrive(Open)?$/,component:t(()=>o(()=>import("./aliyun_video-e4e5e5b1.js"),["assets/aliyun_video-e4e5e5b1.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/video_box-1abd8d42.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/hls-d9c70324.js","assets/index-16054e06.js"])),prior:!0},{key:"doubao",name:"Doubao Preview",exts:["pdf"],provider:/^DoubaoNew$/,component:t(()=>o(()=>import("./doubao-3f38d292.js"),["assets/doubao-3f38d292.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/ImageWithError-c7604bb9.js"])),prior:!0},{key:"markdown",name:"Markdown",type:a.TEXT,component:t(()=>o(()=>import("./markdown-152a9ed3.js"),["assets/markdown-152a9ed3.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"markdown_word_wrap",name:"Markdown with word wrap",type:a.TEXT,component:t(()=>o(()=>import("./markdown_with_word_wrap-31b0838a.js"),["assets/markdown_with_word_wrap-31b0838a.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"url_open",name:"Url Open",exts:["url"],component:t(()=>o(()=>import("./url-8cd64395.js"),["assets/url-8cd64395.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/info-35e907bb.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"text_editor",name:"Text Editor",type:a.TEXT,exts:["url"],component:t(()=>o(()=>import("./text-editor-c7592027.js"),["assets/text-editor-c7592027.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"image",name:"Image",type:a.IMAGE,component:t(()=>o(()=>import("./image-da2e21d0.js"),["assets/image-da2e21d0.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/ImageWithError-c7604bb9.js"])),prior:!0},{key:"video",name:"Video",type:a.VIDEO,component:t(()=>o(()=>import("./video-2ea2797b.js"),["assets/video-2ea2797b.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/video_box-1abd8d42.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/hls-d9c70324.js"])),prior:!0},{key:"audio",name:"Audio",type:a.AUDIO,component:t(()=>o(()=>import("./audio-63384a50.js"),["assets/audio-63384a50.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/useTitle-86c4f10b.js","assets/audio-43f4c02b.css"])),prior:!0},{key:"ipa",name:"Ipa",exts:["ipa","tipa"],component:t(()=>o(()=>import("./ipa-59eb2697.js"),["assets/ipa-59eb2697.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/info-35e907bb.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"plist",name:"Plist",exts:["plist"],component:t(()=>o(()=>import("./plist-0de55944.js"),["assets/plist-0de55944.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/info-35e907bb.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"aliyun_office",name:"Aliyun Office Previewer",exts:["doc","docx","ppt","pptx","xls","xlsx","pdf"],provider:/^Aliyundrive(Share)?$/,component:t(()=>o(()=>import("./aliyun_office-62289944.js"),["assets/aliyun_office-62289944.js","assets/index-9e81668b.js","assets/index-b206f97b.css"])),prior:!0},{key:"asciinema",name:"Asciinema",exts:["cast"],component:t(()=>o(()=>import("./asciinema-d265f5ed.js"),["assets/asciinema-d265f5ed.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/asciinema-53412307.css"])),prior:!0},{key:"video360",name:"Video360",type:a.VIDEO,component:t(()=>o(()=>import("./video360-1c1d238c.js"),["assets/video360-1c1d238c.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/video_box-1abd8d42.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/video360-f0192288.css"])),prior:!0},{key:"archive",name:"Archive Preview",exts:e=>{const s=C.findIndex(_=>_==="read_archives");return V.can(g(),s)?$(e):!1},component:t(()=>o(()=>import("./archive-f13b3c32.js"),["assets/archive-f13b3c32.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/List-c2310d66.js","assets/solid-contextmenu-9117c1c3.js","assets/storage-class-1ac53f89.js","assets/index-3095233d.js","assets/helper-ed76cd58.js","assets/color-a58de010.js","assets/Password-80dc04ca.js","assets/style-a6d16836.css"])),prior:()=>S("preview_archives_by_default")}],Q=e=>{var h;const{pathname:s,searchParams:_}=M(),E=a[(h=_.type)==null?void 0:h.toUpperCase()],y=s().startsWith("/s/"),w=l(e.name).toLowerCase(),u=U()[w],k=new Set((u==null?void 0:u.disabled)??[]),A=(u==null?void 0:u.order)??[],p=new Map;A.forEach((r,n)=>p.set(r,n));const d=[];P.forEach((r,n)=>{if(y&&B.has(r.name)||r.provider&&!r.provider.test(e.provider)||r.enabled&&!r.enabled(e)||!(r.type===e.type||E&&r.type===E||z(r.exts,e.name)))return;const i=`builtin:${r.key}`;if(k.has(i))return;const m=p.has(i),I=!F(r.prior)&&!m?1e4+n:n;d.push({id:i,name:r.name,i18nKey:r.i18nKey,component:r.component,defaultRank:I})}),N(e.name).forEach((r,n)=>{const i=`iframe:${r.key}`;k.has(i)||d.push({id:i,name:r.key,component:K(r.value),defaultRank:1e3+n})}),d.sort((r,n)=>{const i=p.has(r.id)?p.get(r.id):Number.MAX_SAFE_INTEGER,m=p.has(n.id)?p.get(n.id):Number.MAX_SAFE_INTEGER;return i!==m?i-m:r.defaultRank-n.defaultRank});const v=d.map(({id:r,defaultRank:n,...i})=>i);return(!y||e.download_url)&&v.push({name:"Download",i18nKey:"home.preview.download",component:t(()=>o(()=>import("./download-334cfc63.js"),["assets/download-334cfc63.js","assets/index-9e81668b.js","assets/index-b206f97b.css","assets/info-35e907bb.js","assets/storage-class-1ac53f89.js","assets/open-with-b7fbd33c.js"]))}),v},Y=()=>P;export{Y as a,Q as g};
1
+ import{y as c,cT as L,B as O,dl as T,an as f,dt as b,aE as R,aa as x,dI as D,ag as t,ah as o,cU as a,ay as V,az as g,dj as $,aV as S,cX as l,aO as C,d as M,dE as U,dJ as N}from"./index-0af67a26.js";import{l as X}from"./index-6cfcfd46.js";const j=e=>{const{currentObjLink:s}=L(),_=O(()=>T(e.scheme,{raw_url:f.raw_url,name:f.obj.name,d_url:s(!0),ts:!0}));return c(D,{w:"$full",h:"70vh",get children(){return[c(b.iframe,{w:"$full",h:"$full",get src(){return _()}}),c(R,{pos:"absolute",right:"$2",bottom:"$10","aria-label":"Open in new tab",as:X,onClick:()=>{window.open(_(),"_blank")},cursor:"pointer",rounded:"$md",get bgColor(){return x()},p:"$1",boxSize:"$7"})]}})},K=e=>()=>c(j,{scheme:e}),B=new Set(["Aliyun Video Previewer","Doubao Preview","Aliyun Office Previewer","Archive Preview"]),z=(e,s)=>e===void 0?!1:e==="*"?!0:typeof e=="function"?e(s):e.includes(l(s).toLowerCase()),F=e=>typeof e=="boolean"?e:e(),G=["lark-doc","lark-docx","lark-sheet","lark-bitable","lark-mindnote","lark-slides"],W=e=>G.includes(l(e).toLowerCase()),P=[{key:"lark_preview",name:"Lark Preview",i18nKey:"home.preview.lark_preview",exts:"*",provider:/^Lark$/,enabled:e=>!e.web_proxy||W(e.name),component:t(()=>o(()=>import("./lark-73a41a60.js"),["assets/lark-73a41a60.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/index-6cfcfd46.js"])),prior:!0},{key:"lark_tools",name:"Lark Tools",i18nKey:"home.preview.lark_tools.title",exts:["lark-doc","lark-docx","lark-sheet","lark-bitable"],provider:/^Lark$/,component:t(()=>o(()=>import("./lark_tools-649a02b3.js"),["assets/lark_tools-649a02b3.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"html",name:"HTML render",exts:["html"],component:t(()=>o(()=>import("./html-772e9d83.js"),["assets/html-772e9d83.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"aliyun_video",name:"Aliyun Video Previewer",type:a.VIDEO,provider:/^Aliyundrive(Open)?$/,component:t(()=>o(()=>import("./aliyun_video-72e75696.js"),["assets/aliyun_video-72e75696.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/video_box-a8a43c3b.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/hls-34ad2bf0.js","assets/index-66bc0c4a.js"])),prior:!0},{key:"doubao",name:"Doubao Preview",exts:["pdf"],provider:/^DoubaoNew$/,component:t(()=>o(()=>import("./doubao-4962e438.js"),["assets/doubao-4962e438.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/ImageWithError-270ffbd0.js"])),prior:!0},{key:"markdown",name:"Markdown",type:a.TEXT,component:t(()=>o(()=>import("./markdown-8d906270.js"),["assets/markdown-8d906270.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"markdown_word_wrap",name:"Markdown with word wrap",type:a.TEXT,component:t(()=>o(()=>import("./markdown_with_word_wrap-c0408f23.js"),["assets/markdown_with_word_wrap-c0408f23.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"url_open",name:"Url Open",exts:["url"],component:t(()=>o(()=>import("./url-23fb7cc0.js"),["assets/url-23fb7cc0.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/info-6b46a634.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"text_editor",name:"Text Editor",type:a.TEXT,exts:["url"],component:t(()=>o(()=>import("./text-editor-ffff6c54.js"),["assets/text-editor-ffff6c54.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"image",name:"Image",type:a.IMAGE,component:t(()=>o(()=>import("./image-73b55447.js"),["assets/image-73b55447.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/ImageWithError-270ffbd0.js"])),prior:!0},{key:"video",name:"Video",type:a.VIDEO,component:t(()=>o(()=>import("./video-ebb98b67.js"),["assets/video-ebb98b67.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/video_box-a8a43c3b.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/hls-34ad2bf0.js"])),prior:!0},{key:"audio",name:"Audio",type:a.AUDIO,component:t(()=>o(()=>import("./audio-37bb4f75.js"),["assets/audio-37bb4f75.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/useTitle-394ae64f.js","assets/audio-43f4c02b.css"])),prior:!0},{key:"ipa",name:"Ipa",exts:["ipa","tipa"],component:t(()=>o(()=>import("./ipa-86dc8896.js"),["assets/ipa-86dc8896.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/info-6b46a634.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"plist",name:"Plist",exts:["plist"],component:t(()=>o(()=>import("./plist-18445805.js"),["assets/plist-18445805.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/info-6b46a634.js","assets/storage-class-1ac53f89.js"])),prior:!0},{key:"aliyun_office",name:"Aliyun Office Previewer",exts:["doc","docx","ppt","pptx","xls","xlsx","pdf"],provider:/^Aliyundrive(Share)?$/,component:t(()=>o(()=>import("./aliyun_office-a22ac966.js"),["assets/aliyun_office-a22ac966.js","assets/index-0af67a26.js","assets/index-b206f97b.css"])),prior:!0},{key:"asciinema",name:"Asciinema",exts:["cast"],component:t(()=>o(()=>import("./asciinema-befe680b.js"),["assets/asciinema-befe680b.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/asciinema-53412307.css"])),prior:!0},{key:"video360",name:"Video360",type:a.VIDEO,component:t(()=>o(()=>import("./video360-a4d64816.js"),["assets/video360-a4d64816.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/video_box-a8a43c3b.js","assets/_commonjs-dynamic-modules-302442b1.js","assets/video360-f0192288.css"])),prior:!0},{key:"archive",name:"Archive Preview",exts:e=>{const s=C.findIndex(_=>_==="read_archives");return V.can(g(),s)?$(e):!1},component:t(()=>o(()=>import("./archive-15d8b252.js"),["assets/archive-15d8b252.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/List-cb3f2b1f.js","assets/solid-contextmenu-389460bd.js","assets/storage-class-1ac53f89.js","assets/index-6cfcfd46.js","assets/helper-8d6da87f.js","assets/color-a58de010.js","assets/Password-b98cef17.js","assets/style-a6d16836.css"])),prior:()=>S("preview_archives_by_default")}],Q=e=>{var h;const{pathname:s,searchParams:_}=M(),E=a[(h=_.type)==null?void 0:h.toUpperCase()],y=s().startsWith("/s/"),w=l(e.name).toLowerCase(),u=U()[w],k=new Set((u==null?void 0:u.disabled)??[]),A=(u==null?void 0:u.order)??[],p=new Map;A.forEach((r,n)=>p.set(r,n));const d=[];P.forEach((r,n)=>{if(y&&B.has(r.name)||r.provider&&!r.provider.test(e.provider)||r.enabled&&!r.enabled(e)||!(r.type===e.type||E&&r.type===E||z(r.exts,e.name)))return;const i=`builtin:${r.key}`;if(k.has(i))return;const m=p.has(i),I=!F(r.prior)&&!m?1e4+n:n;d.push({id:i,name:r.name,i18nKey:r.i18nKey,component:r.component,defaultRank:I})}),N(e.name).forEach((r,n)=>{const i=`iframe:${r.key}`;k.has(i)||d.push({id:i,name:r.key,component:K(r.value),defaultRank:1e3+n})}),d.sort((r,n)=>{const i=p.has(r.id)?p.get(r.id):Number.MAX_SAFE_INTEGER,m=p.has(n.id)?p.get(n.id):Number.MAX_SAFE_INTEGER;return i!==m?i-m:r.defaultRank-n.defaultRank});const v=d.map(({id:r,defaultRank:n,...i})=>i);return(!y||e.download_url)&&v.push({name:"Download",i18nKey:"home.preview.download",component:t(()=>o(()=>import("./download-cf222578.js"),["assets/download-cf222578.js","assets/index-0af67a26.js","assets/index-b206f97b.css","assets/info-6b46a634.js","assets/storage-class-1ac53f89.js","assets/open-with-7bd13257.js"]))}),v},Y=()=>P;export{Y as a,Q as g};