@openlist-frontend/openlist-frontend 4.2.0 → 4.2.1

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 (175) hide show
  1. package/dist/VERSION +1 -1
  2. package/dist/assets/polyfills-legacy-h7H8XqQx.js +1 -0
  3. package/dist/i18n.tar.gz +0 -0
  4. package/dist/index.html +1 -1
  5. package/dist/lite/VERSION +1 -1
  6. package/dist/lite/assets/{2fa-Cpwit0Sr.js → 2fa-DTutmNbf.js} +1 -1
  7. package/dist/lite/assets/{2fa-legacy-BV80Xmmb.js → 2fa-legacy-DbBySHVF.js} +1 -1
  8. package/dist/lite/assets/{About-Cu2-75RR.js → About-_hJuNaH_.js} +1 -1
  9. package/dist/lite/assets/{About-legacy-C37sOQhm.js → About-legacy-CaLm7kbI.js} +1 -1
  10. package/dist/lite/assets/{AddOrEdit-Wdbp4PWO.js → AddOrEdit-49-UQtaG.js} +1 -1
  11. package/dist/lite/assets/{AddOrEdit-BWduAPOa.js → AddOrEdit-BCTuahUP.js} +1 -1
  12. package/dist/lite/assets/{AddOrEdit-CZnPofX2.js → AddOrEdit-Bgz6_5Sb.js} +1 -1
  13. package/dist/lite/assets/{AddOrEdit-cxf_NyVS.js → AddOrEdit-CbKEYHAy.js} +1 -1
  14. package/dist/lite/assets/{AddOrEdit-legacy-DAXPEGkN.js → AddOrEdit-legacy-CcWxIJSY.js} +1 -1
  15. package/dist/lite/assets/{AddOrEdit-legacy-2bg6358l.js → AddOrEdit-legacy-DOf8eTkz.js} +1 -1
  16. package/dist/lite/assets/{AddOrEdit-legacy-BB_Q5cWC.js → AddOrEdit-legacy-DvuS1lGq.js} +1 -1
  17. package/dist/lite/assets/{AddOrEdit-legacy-Bi5RkSpR.js → AddOrEdit-legacy-SS88nL_8.js} +1 -1
  18. package/dist/lite/assets/Common-7SPE00KT.js +1 -0
  19. package/dist/lite/assets/{Common-SxI9gPMx.js → Common-DKBpZ31X.js} +1 -1
  20. package/dist/lite/assets/{Common-legacy-DlpN8uIa.js → Common-legacy-B179Edqf.js} +1 -1
  21. package/dist/lite/assets/Common-legacy-DG884Joe.js +1 -0
  22. package/dist/lite/assets/{Copy-DTFns9Y1.js → Copy-BQypLOnU.js} +1 -1
  23. package/dist/lite/assets/{Copy-legacy-B72Ffy5O.js → Copy-legacy-CHg9MrvY.js} +1 -1
  24. package/dist/lite/assets/{Decompress-legacy-CZ_oH15V.js → Decompress-legacy-Cb2O6mH9.js} +1 -1
  25. package/dist/lite/assets/{Decompress-BPew2ezc.js → Decompress-sZhi71xA.js} +1 -1
  26. package/dist/lite/assets/{DeletePopover-cSxOxJZY.js → DeletePopover-9knkuVst.js} +1 -1
  27. package/dist/lite/assets/{DeletePopover-legacy-CBtUkOSh.js → DeletePopover-legacy-KFuQEYkg.js} +1 -1
  28. package/dist/lite/assets/{File-D7bnUBYC.js → File-Cm5ZVXiU.js} +1 -1
  29. package/dist/lite/assets/{File-legacy-aPuubWt-.js → File-legacy-BghKHFM3.js} +1 -1
  30. package/dist/lite/assets/{Folder-legacy-Bp34_ra2.js → Folder-legacy-rxbbWmwF.js} +1 -1
  31. package/dist/lite/assets/{Folder-DdumvcC1.js → Folder-u_3vXWLj.js} +3 -3
  32. package/dist/lite/assets/{Grid-C9qEJXle.js → Grid-CQOeEHng.js} +1 -1
  33. package/dist/lite/assets/{Grid-legacy-DFmTlJOv.js → Grid-legacy-CZ5i1Iq2.js} +1 -1
  34. package/dist/lite/assets/{GridItem-Cb9pnioW.js → GridItem-BnM21uyA.js} +1 -1
  35. package/dist/lite/assets/{GridItem-legacy-8gNLCEoo.js → GridItem-legacy-iFmz7kDs.js} +1 -1
  36. package/dist/lite/assets/{Images-C_Ql-iwF.js → Images-DohfDDrf.js} +1 -1
  37. package/dist/lite/assets/{Images-legacy-CoWBNLGZ.js → Images-legacy-4WKrTzml.js} +1 -1
  38. package/dist/lite/assets/{Layout-BQJH47LI.js → Layout-Dq3Tblc3.js} +4 -4
  39. package/dist/lite/assets/{Layout-legacy-MFuRQRbi.js → Layout-legacy-BqI9aaEd.js} +1 -1
  40. package/dist/lite/assets/{List-Dp5qYO6K.js → List-CKWRuz8M.js} +1 -1
  41. package/dist/lite/assets/{List-legacy-LpRbqCuW.js → List-legacy-CfJa4V_M.js} +1 -1
  42. package/dist/lite/assets/{Messenger-m_DjhhjC.js → Messenger-Csg3VDhD.js} +1 -1
  43. package/dist/lite/assets/{Messenger-legacy-qy8NmzD_.js → Messenger-legacy-Aqu2TXLS.js} +1 -1
  44. package/dist/lite/assets/{Metas-BW-d9X3k.js → Metas-CFhxnUzn.js} +1 -1
  45. package/dist/lite/assets/{Metas-legacy-DF5C5c9k.js → Metas-legacy-CpZKT74d.js} +1 -1
  46. package/dist/lite/assets/{Move-Btb_epTo.js → Move-Bp7Hz-5A.js} +1 -1
  47. package/dist/lite/assets/{Move-legacy-CkLWtx_Y.js → Move-legacy-iko-6o08.js} +1 -1
  48. package/dist/lite/assets/{Other-D3tOfd7k.js → Other-CmK2wAaG.js} +1 -1
  49. package/dist/lite/assets/{Other-legacy-Cx6-rrJn.js → Other-legacy-BfsPMHAC.js} +1 -1
  50. package/dist/lite/assets/{PackageDownload-C4OIBiuO.js → PackageDownload-DAD_3hcp.js} +1 -1
  51. package/dist/lite/assets/{PackageDownload-legacy-D6wcXpsR.js → PackageDownload-legacy-CYUHsuep.js} +1 -1
  52. package/dist/lite/assets/{Password-DOgJvyE0.js → Password-CsEn2L1J.js} +1 -1
  53. package/dist/lite/assets/{Password-legacy-Dau7Rj6C.js → Password-legacy-C_ug59KC.js} +1 -1
  54. package/dist/lite/assets/{Profile-vc4L2vOh.js → Profile-DE1w63ju.js} +1 -1
  55. package/dist/lite/assets/{Profile-legacy-CG7V6K6c.js → Profile-legacy-BccA5tXg.js} +1 -1
  56. package/dist/lite/assets/{PublicKeys-BhL22dhK.js → PublicKeys-DhLQRXa5.js} +1 -1
  57. package/dist/lite/assets/{PublicKeys-legacy-w8t5s90k.js → PublicKeys-legacy-Dm2rmP-Z.js} +1 -1
  58. package/dist/lite/assets/{ResponsiveGrid--eNaea9R.js → ResponsiveGrid-CPv65KKk.js} +1 -1
  59. package/dist/lite/assets/{ResponsiveGrid-legacy-BcOgU6tQ.js → ResponsiveGrid-legacy-B09IQ8PO.js} +1 -1
  60. package/dist/lite/assets/{S3-D5KR0Y4t.js → S3-3qppG_kP.js} +1 -1
  61. package/dist/lite/assets/{S3-legacy-DwkNpjzH.js → S3-legacy-GtHjMhMP.js} +1 -1
  62. package/dist/lite/assets/{SettingItem-gAxndiQS.js → SettingItem-BNkjHZxi.js} +1 -1
  63. package/dist/lite/assets/{SettingItem-legacy-CoygdggD.js → SettingItem-legacy-DhwPjjh6.js} +1 -1
  64. package/dist/lite/assets/{Shares-DYa-7p_E.js → Shares-CxJ5bbP4.js} +1 -1
  65. package/dist/lite/assets/{Shares-legacy-CD4V2Nkm.js → Shares-legacy-bRg_GWJc.js} +1 -1
  66. package/dist/lite/assets/{Storages-B0C3wLOw.js → Storages-CiA0_Ux3.js} +1 -1
  67. package/dist/lite/assets/{Storages-legacy-Hu3NLgcV.js → Storages-legacy-nNc5p2x6.js} +1 -1
  68. package/dist/lite/assets/{Upload-CujV1cl2.js → Upload-6mLh9vS_.js} +1 -1
  69. package/dist/lite/assets/{Upload-CoXrosgy.js → Upload-LroLcc--.js} +1 -1
  70. package/dist/lite/assets/{Upload-legacy-BrGogy7u.js → Upload-legacy-DzBqXsqi.js} +1 -1
  71. package/dist/lite/assets/{Upload-legacy-ipwT0CGa.js → Upload-legacy-YbbM49hO.js} +1 -1
  72. package/dist/lite/assets/{Users-CQMS_vRF.js → Users-Cebos0QK.js} +1 -1
  73. package/dist/lite/assets/{Users-legacy-CMqmVwDR.js → Users-legacy-D4Ji7uVA.js} +1 -1
  74. package/dist/lite/assets/{aliyun_video-BPU9Winc.js → aliyun_video-DMomVZ86.js} +1 -1
  75. package/dist/lite/assets/{aliyun_video-legacy-DqXKJ6bJ.js → aliyun_video-legacy-BVrXTQ7C.js} +1 -1
  76. package/dist/lite/assets/{archive-CFoJgIJg.js → archive-iaznZ7i5.js} +1 -1
  77. package/dist/lite/assets/{archive-legacy-CbLxcvcU.js → archive-legacy-BTi-FFWj.js} +1 -1
  78. package/dist/lite/assets/{artplayer-CKFboV1K.js → artplayer-GcZA8xWm.js} +1 -1
  79. package/dist/lite/assets/{artplayer-legacy-nsuIJ8X1.js → artplayer-legacy-0q8fSTli.js} +1 -1
  80. package/dist/lite/assets/{asciinema-Co15uYSl.js → asciinema-hP2thET0.js} +1 -1
  81. package/dist/lite/assets/{asciinema-legacy-cldShqIF.js → asciinema-legacy-HM3pomQn.js} +1 -1
  82. package/dist/lite/assets/{audio-DN7yh-1u.js → audio-CEdHvJQm.js} +1 -1
  83. package/dist/lite/assets/{audio-legacy-ZcTFmCaq.js → audio-legacy-Bf3rfImY.js} +1 -1
  84. package/dist/lite/assets/{backup-restore-CyTdjYa5.js → backup-restore-BI1XH72_.js} +1 -1
  85. package/dist/lite/assets/{backup-restore-legacy-4843qwpn.js → backup-restore-legacy-o4-z3xf2.js} +1 -1
  86. package/dist/lite/assets/{cg-BoXizs5U.js → cg-Cugc4PRy.js} +1 -1
  87. package/dist/lite/assets/{cg-legacy-B6dnZxHN.js → cg-legacy-en8-FR60.js} +1 -1
  88. package/dist/lite/assets/{doc-CwFJHCye.js → doc-Dx8w2-z-.js} +1 -1
  89. package/dist/lite/assets/{doc-legacy-BcqyYqI8.js → doc-legacy-Cirxey5M.js} +1 -1
  90. package/dist/lite/assets/{download-BWIL9ZbS.js → download-D5HXXjYD.js} +1 -1
  91. package/dist/lite/assets/{download-legacy-BRxDfnJM.js → download-legacy-BtfDXiWv.js} +1 -1
  92. package/dist/lite/assets/{flash-Do4k4HF4.js → flash-D3tyxPhf.js} +1 -1
  93. package/dist/lite/assets/{flash-legacy-Dth0lnEy.js → flash-legacy-C4GlbMx5.js} +1 -1
  94. package/dist/lite/assets/{heic-BQ1sxr--.js → heic-DddGOj_0.js} +1 -1
  95. package/dist/lite/assets/{heic-legacy-D7C3AFkl.js → heic-legacy-B6Y5cyvF.js} +1 -1
  96. package/dist/lite/assets/{helper-COm3HMuR.js → helper-DZTPC0ym.js} +1 -1
  97. package/dist/lite/assets/{helper-CW89pSnh.js → helper-DcuvUci3.js} +1 -1
  98. package/dist/lite/assets/{helper-legacy-CRIrgp8-.js → helper-legacy-Cuhr9yhF.js} +1 -1
  99. package/dist/lite/assets/{helper-legacy-CmC0lRkW.js → helper-legacy-qY9yuzKw.js} +1 -1
  100. package/dist/lite/assets/{html-BH-siIo1.js → html-TrHlpF58.js} +1 -1
  101. package/dist/lite/assets/{html-legacy-C6F-KW6p.js → html-legacy-RtqGGa31.js} +1 -1
  102. package/dist/lite/assets/{icon-I31eZk5I.js → icon-TcP3LdUy.js} +1 -1
  103. package/dist/lite/assets/{icon-legacy-Cmi1b15o.js → icon-legacy-CCjPA35g.js} +1 -1
  104. package/dist/lite/assets/{im-32Y5iioc.js → im-Bfh3t-9k.js} +1 -1
  105. package/dist/lite/assets/{im-legacy-CuBPXwQP.js → im-legacy-bfeqh7q-.js} +1 -1
  106. package/dist/lite/assets/{image-Cn7F3i7p.js → image-CHfw1saX.js} +1 -1
  107. package/dist/lite/assets/{image-legacy-BdZBZ4I3.js → image-legacy-FyBUH0Wv.js} +1 -1
  108. package/dist/lite/assets/{index-BdrlLL7h.js → index-Do6wV20T.js} +4 -4
  109. package/dist/lite/assets/{index-legacy-DVVw2Tdl.js → index-legacy-DX8ZPqos.js} +1 -1
  110. package/dist/lite/assets/{index_page-CI4452wz.js → index_page-Ci6zIIEm.js} +1 -1
  111. package/dist/lite/assets/{index_page-legacy-DpZgbky_.js → index_page-legacy-Dia6n6V8.js} +1 -1
  112. package/dist/lite/assets/{info-4RJdJqGX.js → info-Eur0D5WL.js} +1 -1
  113. package/dist/lite/assets/{info-legacy-D81BT5je.js → info-legacy-DSnpfN_T.js} +1 -1
  114. package/dist/lite/assets/{ipa-BRMsKQrP.js → ipa-QQId27CM.js} +1 -1
  115. package/dist/lite/assets/{ipa-legacy-DxYHqNRr.js → ipa-legacy-Dk-qFvQl.js} +1 -1
  116. package/dist/lite/assets/{login-DSgwb8b8.js → login-DNWEpAg4.js} +1 -1
  117. package/dist/lite/assets/{login-legacy-CE4m2hrW.js → login-legacy-X5eqwtmJ.js} +1 -1
  118. package/dist/lite/assets/{manage-Bn2g6-4u.js → manage-BoJn00at.js} +2 -2
  119. package/dist/lite/assets/{manage-legacy-Ctq_PlSk.js → manage-legacy-BWRpx6eL.js} +1 -1
  120. package/dist/lite/assets/markdown-BeLwer8m.js +1 -0
  121. package/dist/lite/assets/{markdown-legacy-SrX3ihxa.js → markdown-legacy-DqCEmWHU.js} +1 -1
  122. package/dist/lite/assets/{markdown_with_word_wrap-CTF7F6kA.js → markdown_with_word_wrap-Ck5Le6kt.js} +1 -1
  123. package/dist/lite/assets/{markdown_with_word_wrap-legacy-5S3gtO5K.js → markdown_with_word_wrap-legacy-B778apZq.js} +1 -1
  124. package/dist/lite/assets/{offline_download-DplxhzId.js → offline_download-BxvK9sas.js} +1 -1
  125. package/dist/lite/assets/{offline_download-legacy-D-fNKFYv.js → offline_download-legacy-Sn7LVNoj.js} +1 -1
  126. package/dist/lite/assets/{open-with-DB-thDwq.js → open-with-Dm0Xiltd.js} +1 -1
  127. package/dist/lite/assets/{open-with-legacy-BV0zWWih.js → open-with-legacy-CzqkMUrw.js} +1 -1
  128. package/dist/lite/assets/{operations-DUc1_ZG_.js → operations-DtIJGjr3.js} +1 -1
  129. package/dist/lite/assets/{operations-legacy-D7uRiFrF.js → operations-legacy-x4qCe3Nr.js} +1 -1
  130. package/dist/lite/assets/{plist-Bdtf7mmC.js → plist-I5MRvpO4.js} +1 -1
  131. package/dist/lite/assets/{plist-legacy-BUgj41A2.js → plist-legacy-BjlqWsae.js} +1 -1
  132. package/dist/lite/assets/polyfills-legacy-CY-LI3wc.js +1 -0
  133. package/dist/lite/assets/{ppt-legacy-CfobOD2q.js → ppt-legacy-BauMuKYT.js} +1 -1
  134. package/dist/lite/assets/{ppt-CQUs3gCH.js → ppt-sj6qWvel.js} +1 -1
  135. package/dist/lite/assets/{previews-ikRB1E3g.js → previews-C3V57ws2.js} +2 -2
  136. package/dist/lite/assets/{previews-legacy-BOyZeoEk.js → previews-legacy-C_1n4grk.js} +1 -1
  137. package/dist/lite/assets/{rehype-katex-PXUO2tmG.js → rehype-katex-fpXCKXq-.js} +1 -1
  138. package/dist/lite/assets/{rehype-katex-legacy-l00blOnq.js → rehype-katex-legacy-t-Y3uu45.js} +1 -1
  139. package/dist/lite/assets/{remark-math-B2pF2g5L.js → remark-math-DmyB6UtF.js} +1 -1
  140. package/dist/lite/assets/{remark-math-legacy-C2fL8O2-.js → remark-math-legacy-BxMiMhBe.js} +1 -1
  141. package/dist/lite/assets/{ri-BpBjk-eu.js → ri-Co752El1.js} +1 -1
  142. package/dist/lite/assets/{ri-legacy-DF_J6UvM.js → ri-legacy-C5_hBj57.js} +1 -1
  143. package/dist/lite/assets/{si-CExwmFBP.js → si-8vtL5WDZ.js} +1 -1
  144. package/dist/lite/assets/{si-legacy-CM4ZmTcr.js → si-legacy-CRNlhjOc.js} +1 -1
  145. package/dist/lite/assets/{solid-contextmenu-DNoyC52a.js → solid-contextmenu-Q14whW6u.js} +1 -1
  146. package/dist/lite/assets/{solid-contextmenu-legacy-DSVwqGw2.js → solid-contextmenu-legacy-sZs92FT7.js} +1 -1
  147. package/dist/lite/assets/{store-BgSFahAe.js → store-jmqpI8w9.js} +1 -1
  148. package/dist/lite/assets/{store-legacy-DEv5m7Se.js → store-legacy-CI1UFD5I.js} +1 -1
  149. package/dist/lite/assets/test-VgTEJWSX.js +1 -0
  150. package/dist/lite/assets/{test-legacy-CwP5y5rh.js → test-legacy-BRB5AFL9.js} +1 -1
  151. package/dist/lite/assets/{text-editor-CXH-M_d8.js → text-editor-DN-5m547.js} +1 -1
  152. package/dist/lite/assets/{text-editor-legacy-Bvg6h1LG.js → text-editor-legacy-DlNbA4NX.js} +1 -1
  153. package/dist/lite/assets/{ti-DorTQHjy.js → ti-CJTnvYDC.js} +1 -1
  154. package/dist/lite/assets/{ti-legacy-BLnieiZv.js → ti-legacy-C5F9deYz.js} +1 -1
  155. package/dist/lite/assets/{url-CrBOHT0m.js → url-Dc_ERS90.js} +1 -1
  156. package/dist/lite/assets/{url-legacy-BlD6ZzNt.js → url-legacy-DqRcH2qB.js} +1 -1
  157. package/dist/lite/assets/{video-2Qz8WbEM.js → video-CMVGTs9H.js} +1 -1
  158. package/dist/lite/assets/{video-legacy-CZofzk3c.js → video-legacy-CARCtj8A.js} +1 -1
  159. package/dist/lite/assets/{video360-DUQPJklE.js → video360-Cn4J_avk.js} +1 -1
  160. package/dist/lite/assets/{video360-legacy-t7FzLnsS.js → video360-legacy-QrceD6P2.js} +1 -1
  161. package/dist/lite/assets/{video_box-wwi7WLeT.js → video_box-BpjZ-ZST.js} +1 -1
  162. package/dist/lite/assets/{video_box-legacy-B4dnjnjL.js → video_box-legacy-DJTbgfFE.js} +1 -1
  163. package/dist/lite/assets/{vs-DQyKZ4nV.js → vs-D6iduhy9.js} +1 -1
  164. package/dist/lite/assets/{vs-legacy-Gzvbg9kw.js → vs-legacy-HDoHHJI2.js} +1 -1
  165. package/dist/lite/assets/{xls-UBX1oyWL.js → xls-B0hoyRio.js} +1 -1
  166. package/dist/lite/assets/{xls-legacy-BTO_I1zz.js → xls-legacy-B5QjbgBE.js} +1 -1
  167. package/dist/lite/i18n.tar.gz +0 -0
  168. package/dist/lite/index.html +2 -2
  169. package/package.json +1 -1
  170. package/dist/assets/polyfills-legacy-3zNmgeF1.js +0 -1
  171. package/dist/lite/assets/Common-GRQCAwrU.js +0 -1
  172. package/dist/lite/assets/Common-legacy-eXCYBqpA.js +0 -1
  173. package/dist/lite/assets/markdown-BDzlyh3V.js +0 -1
  174. package/dist/lite/assets/polyfills-legacy-D9TUrbOt.js +0 -1
  175. package/dist/lite/assets/test-Bp2AX12i.js +0 -1
@@ -1,4 +1,4 @@
1
- import{dt as e,ft as t,ut as n}from"./index-BdrlLL7h.js";function r(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(e){this.enter({type:`math`,meta:null,value:``,data:{hName:`pre`,hChildren:[{type:`element`,tagName:`code`,properties:{className:[`language-math`,`math-display`]},children:[]}]}},e)}function t(){this.buffer()}function n(){let e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;let r=n.data.hChildren[0];r.type,r.tagName,r.children.push({type:`text`,value:t}),this.data.mathFlowInside=void 0}function a(e){this.enter({type:`inlineMath`,value:``,data:{hName:`code`,hProperties:{className:[`language-math`,`math-inline`]},hChildren:[]}},e),this.buffer()}function o(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:`text`,value:t})}function s(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}function i(t){let n=(t||{}).singleDollarTextMath;return n??(n=!0),i.peek=a,{unsafe:[{character:`\r`,inConstruct:`mathFlowMeta`},{character:`
1
+ import{dt as e,ft as t,ut as n}from"./index-Do6wV20T.js";function r(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(e){this.enter({type:`math`,meta:null,value:``,data:{hName:`pre`,hChildren:[{type:`element`,tagName:`code`,properties:{className:[`language-math`,`math-display`]},children:[]}]}},e)}function t(){this.buffer()}function n(){let e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;let r=n.data.hChildren[0];r.type,r.tagName,r.children.push({type:`text`,value:t}),this.data.mathFlowInside=void 0}function a(e){this.enter({type:`inlineMath`,value:``,data:{hName:`code`,hProperties:{className:[`language-math`,`math-inline`]},hChildren:[]}},e),this.buffer()}function o(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:`text`,value:t})}function s(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}function i(t){let n=(t||{}).singleDollarTextMath;return n??(n=!0),i.peek=a,{unsafe:[{character:`\r`,inConstruct:`mathFlowMeta`},{character:`
2
2
  `,inConstruct:`mathFlowMeta`},{character:`$`,after:n?void 0:`\\$`,inConstruct:`phrasing`},{character:`$`,inConstruct:`mathFlowMeta`},{atBreak:!0,character:`$`,after:`\\$`}],handlers:{math:r,inlineMath:i}};function r(t,n,r,i){let a=t.value||``,o=r.createTracker(i),s=`$`.repeat(Math.max(e(a,`$`)+1,2)),c=r.enter(`mathFlow`),l=o.move(s);if(t.meta){let e=r.enter(`mathFlowMeta`);l+=o.move(r.safe(t.meta,{after:`
3
3
  `,before:l,encode:[`$`],...o.current()})),e()}return l+=o.move(`
4
4
  `),a&&(l+=o.move(a+`
@@ -1 +1 @@
1
- System.register(["./index-legacy-DVVw2Tdl.js"],function(e,t){var n,a,i,r,o,c;function u(e,t,n){const r=this,c=r.events[r.events.length-1],u=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0;let l=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(t)};function s(t){return 36===t?(e.consume(t),l++,s):l<2?n(t):(e.exit("mathFlowFenceSequence"),i(e,h,"whitespace")(t))}function h(t){return null===t||a(t)?f(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(t))}function m(t){return null===t||a(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(t)):36===t?n(t):(e.consume(t),m)}function f(n){return e.exit("mathFlowFence"),r.interrupt?t(n):e.attempt(o,d,w)(n)}function d(t){return e.attempt({tokenize:g,partial:!0},w,p)(t)}function p(t){return(u?i(e,x,"linePrefix",u+1):x)(t)}function x(t){return null===t?w(t):a(t)?e.attempt(o,d,w)(t):(e.enter("mathFlowValue"),F(t))}function F(t){return null===t||a(t)?(e.exit("mathFlowValue"),x(t)):(e.consume(t),F)}function w(n){return e.exit("mathFlow"),t(n)}function g(e,t,n){let o=0;return i(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function c(t){return 36===t?(o++,e.consume(t),c):o<l?n(t):(e.exit("mathFlowFenceSequence"),i(e,u,"whitespace")(t))}function u(i){return null===i||a(i)?(e.exit("mathFlowFence"),t(i)):n(i)}}}function l(e,t,n){const a=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return a.parser.lazy[a.now().line]?n(e):t(e)}}function s(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),{tokenize:function(e,n,i){let r,o,c=0;return function(t){return e.enter("mathText"),e.enter("mathTextSequence"),u(t)};function u(n){return 36===n?(e.consume(n),c++,u):c<2&&!t?i(n):(e.exit("mathTextSequence"),l(n))}function l(t){return null===t?i(t):36===t?(o=e.enter("mathTextSequence"),r=0,h(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):a(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("mathTextData"),s(t))}function s(t){return null===t||32===t||36===t||a(t)?(e.exit("mathTextData"),l(t)):(e.consume(t),s)}function h(t){return 36===t?(e.consume(t),r++,h):r===c?(e.exit("mathTextSequence"),e.exit("mathText"),n(t)):(o.type="mathTextData",s(t))}},resolve:h,previous:m,name:"mathText"}}function h(e){let t,n,a=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[a][1].type&&"space"!==e[a][1].type))for(t=i;++t<a;)if("mathTextData"===e[t][1].type){e[a][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,a-=2;break}for(t=i-1,a++;++t<=a;)void 0===n?t!==a&&"lineEnding"!==e[t][1].type&&(n=t):t!==a&&"lineEnding"!==e[t][1].type||(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),a-=t-n-2,t=n+2),n=void 0);return e}function m(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}return e("default",function(e){const t=e||c,a=this.data(),i=a.micromarkExtensions||(a.micromarkExtensions=[]),o=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),u=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);i.push(function(e){return{flow:{36:r},text:{36:s(e)}}}(t)),o.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;const a=n.data.hChildren[0];a.type,a.tagName,a.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){const e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),u.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),a.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,a,i){const r=e.value||"",o=a.createTracker(i),c="$".repeat(Math.max(n(r,"$")+1,2)),u=a.enter("mathFlow");let l=o.move(c);if(e.meta){const t=a.enter("mathFlowMeta");l+=o.move(a.safe(e.meta,{after:"\n",before:l,encode:["$"],...o.current()})),t()}return l+=o.move("\n"),r&&(l+=o.move(r+"\n")),l+=o.move(c),u(),l},inlineMath:a}};function a(e,n,a){let i=e.value||"",r=1;for(t||r++;new RegExp("(^|[^$])"+"\\$".repeat(r)+"([^$]|$)").test(i);)r++;const o="$".repeat(r);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let c=-1;for(;++c<a.unsafe.length;){const e=a.unsafe[c];if(!e.atBreak)continue;const t=a.compilePattern(e);let n;for(;n=t.exec(i);){let e=n.index;10===i.codePointAt(e)&&13===i.codePointAt(e-1)&&e--,i=i.slice(0,e)+" "+i.slice(n.index+1)}}return o+i+o}}(t))}),{setters:[function(e){n=e.dt,a=e.ft,i=e.ut,e.yt}],execute:function(){r={tokenize:u,concrete:!0,name:"mathFlow"},o={tokenize:l,partial:!0},c={}}}});
1
+ System.register(["./index-legacy-DX8ZPqos.js"],function(e,t){var n,a,i,r,o,c;function u(e,t,n){const r=this,c=r.events[r.events.length-1],u=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0;let l=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(t)};function s(t){return 36===t?(e.consume(t),l++,s):l<2?n(t):(e.exit("mathFlowFenceSequence"),i(e,h,"whitespace")(t))}function h(t){return null===t||a(t)?f(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(t))}function m(t){return null===t||a(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(t)):36===t?n(t):(e.consume(t),m)}function f(n){return e.exit("mathFlowFence"),r.interrupt?t(n):e.attempt(o,d,w)(n)}function d(t){return e.attempt({tokenize:g,partial:!0},w,p)(t)}function p(t){return(u?i(e,x,"linePrefix",u+1):x)(t)}function x(t){return null===t?w(t):a(t)?e.attempt(o,d,w)(t):(e.enter("mathFlowValue"),F(t))}function F(t){return null===t||a(t)?(e.exit("mathFlowValue"),x(t)):(e.consume(t),F)}function w(n){return e.exit("mathFlow"),t(n)}function g(e,t,n){let o=0;return i(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function c(t){return 36===t?(o++,e.consume(t),c):o<l?n(t):(e.exit("mathFlowFenceSequence"),i(e,u,"whitespace")(t))}function u(i){return null===i||a(i)?(e.exit("mathFlowFence"),t(i)):n(i)}}}function l(e,t,n){const a=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return a.parser.lazy[a.now().line]?n(e):t(e)}}function s(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),{tokenize:function(e,n,i){let r,o,c=0;return function(t){return e.enter("mathText"),e.enter("mathTextSequence"),u(t)};function u(n){return 36===n?(e.consume(n),c++,u):c<2&&!t?i(n):(e.exit("mathTextSequence"),l(n))}function l(t){return null===t?i(t):36===t?(o=e.enter("mathTextSequence"),r=0,h(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):a(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("mathTextData"),s(t))}function s(t){return null===t||32===t||36===t||a(t)?(e.exit("mathTextData"),l(t)):(e.consume(t),s)}function h(t){return 36===t?(e.consume(t),r++,h):r===c?(e.exit("mathTextSequence"),e.exit("mathText"),n(t)):(o.type="mathTextData",s(t))}},resolve:h,previous:m,name:"mathText"}}function h(e){let t,n,a=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[a][1].type&&"space"!==e[a][1].type))for(t=i;++t<a;)if("mathTextData"===e[t][1].type){e[a][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,a-=2;break}for(t=i-1,a++;++t<=a;)void 0===n?t!==a&&"lineEnding"!==e[t][1].type&&(n=t):t!==a&&"lineEnding"!==e[t][1].type||(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),a-=t-n-2,t=n+2),n=void 0);return e}function m(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}return e("default",function(e){const t=e||c,a=this.data(),i=a.micromarkExtensions||(a.micromarkExtensions=[]),o=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),u=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);i.push(function(e){return{flow:{36:r},text:{36:s(e)}}}(t)),o.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;const a=n.data.hChildren[0];a.type,a.tagName,a.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){const e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),u.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),a.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,a,i){const r=e.value||"",o=a.createTracker(i),c="$".repeat(Math.max(n(r,"$")+1,2)),u=a.enter("mathFlow");let l=o.move(c);if(e.meta){const t=a.enter("mathFlowMeta");l+=o.move(a.safe(e.meta,{after:"\n",before:l,encode:["$"],...o.current()})),t()}return l+=o.move("\n"),r&&(l+=o.move(r+"\n")),l+=o.move(c),u(),l},inlineMath:a}};function a(e,n,a){let i=e.value||"",r=1;for(t||r++;new RegExp("(^|[^$])"+"\\$".repeat(r)+"([^$]|$)").test(i);)r++;const o="$".repeat(r);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let c=-1;for(;++c<a.unsafe.length;){const e=a.unsafe[c];if(!e.atBreak)continue;const t=a.compilePattern(e);let n;for(;n=t.exec(i);){let e=n.index;10===i.codePointAt(e)&&13===i.codePointAt(e-1)&&e--,i=i.slice(0,e)+" "+i.slice(n.index+1)}}return o+i+o}}(t))}),{setters:[function(e){n=e.dt,a=e.ft,i=e.ut,e.yt}],execute:function(){r={tokenize:u,concrete:!0,name:"mathFlow"},o={tokenize:l,partial:!0},c={}}}});
@@ -1 +1 @@
1
- import{Xt as e}from"./index-BdrlLL7h.js";function t(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>`},t)}function n(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>`},t)}function r(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>`},t)}export{n,r,t};
1
+ import{Xt as e}from"./index-Do6wV20T.js";function t(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>`},t)}function n(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>`},t)}function r(t){return e({a:{viewBox:`0 0 24 24`},c:`<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>`},t)}export{n,r,t};
@@ -1 +1 @@
1
- System.register(["./index-legacy-DVVw2Tdl.js"],function(t,r){var n;return t({n:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>'},t)},r:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>'},t)},t:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>'},t)}}),{setters:[function(t){n=t.Xt}],execute:function(){}}});
1
+ System.register(["./index-legacy-DX8ZPqos.js"],function(t,r){var n;return t({n:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>'},t)},r:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>'},t)},t:function(t){return n({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>'},t)}}),{setters:[function(t){n=t.Xt}],execute:function(){}}});
@@ -1 +1 @@
1
- import{Xt as e}from"./index-BdrlLL7h.js";function t(t){return e({a:{viewBox:`0 0 24 24`},c:`<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>`},t)}function n(t){return e({a:{viewBox:`0 0 24 24`},c:`<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>`},t)}export{n,t};
1
+ import{Xt as e}from"./index-Do6wV20T.js";function t(t){return e({a:{viewBox:`0 0 24 24`},c:`<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>`},t)}function n(t){return e({a:{viewBox:`0 0 24 24`},c:`<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>`},t)}export{n,t};
@@ -1 +1 @@
1
- System.register(["./index-legacy-DVVw2Tdl.js"],function(s,c){var z;return s({n:function(s){return z({a:{viewBox:"0 0 24 24"},c:'<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>'},s)},t:function(s){return z({a:{viewBox:"0 0 24 24"},c:'<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>'},s)}}),{setters:[function(s){z=s.Xt}],execute:function(){}}});
1
+ System.register(["./index-legacy-DX8ZPqos.js"],function(s,c){var z;return s({n:function(s){return z({a:{viewBox:"0 0 24 24"},c:'<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>'},s)},t:function(s){return z({a:{viewBox:"0 0 24 24"},c:'<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>'},s)}}),{setters:[function(s){z=s.Xt}],execute:function(){}}});
@@ -1 +1 @@
1
- import{$i as e,Ai as t,Ii as n,Ki as r,Oi as i,Qi as a,Xi as o,Yi as s,Zi as c,aa as l,ca as u,fa as d,ji as f,ki as p,ma as m,na as h,pa as g,ta as _,ua as v,zi as y}from"./store-BgSFahAe.js";var b=(e=>(e.menu=`solid-contextmenu`,e.submenu=`solid-contextmenu solid-contextmenu__submenu`,e.submenuArrow=`solid-contextmenu__submenu-arrow`,e.submenuOpen=`solid-contextmenu__submenu--is-open`,e.separator=`solid-contextmenu__separator`,e.item=`solid-contextmenu__item`,e.itemDisabled=`solid-contextmenu__item--disabled`,e.itemContent=`solid-contextmenu__item__content`,e.theme=`solid-contextmenu__theme--`,e.animationWillEnter=`solid-contextmenu__will-enter--`,e.animationWillLeave=`solid-contextmenu__will-leave--`,e))(b||{}),x=(e=>(e[e.HIDE_ALL=0]=`HIDE_ALL`,e))(x||{});function S(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var C=e=>{let t,n=!0,[r,i]=l(),[c,d]=l(),f=o(()=>e.children),p=e.name||`s`;e=u({name:p,enterActiveClass:p+`-enter-active`,enterClass:p+`-enter`,enterToClass:p+`-enter-to`,exitActiveClass:p+`-exit-active`,exitClass:p+`-exit`,exitToClass:p+`-exit-to`},e);let{onBeforeEnter:m,onEnter:h,onAfterEnter:_,onBeforeExit:v,onExit:y,onAfterExit:b}=e;function x(t,a){if(!n||e.appear){let n=function(o){t&&(!o||o.target===t)&&(t.removeEventListener(`transitionend`,n),t.removeEventListener(`animationend`,n),t.classList.remove(...l),t.classList.remove(...u),s(()=>{r()!==t&&i(t),c()===t&&d(void 0)}),_&&_(t),e.mode===`inout`&&C(t,a))},o=e.enterClass.split(` `),l=e.enterActiveClass.split(` `),u=e.enterToClass.split(` `);m&&m(t),t.classList.add(...o),t.classList.add(...l),S(()=>{t.classList.remove(...o),t.classList.add(...u),h&&h(t,()=>n()),(!h||h.length<2)&&(t.addEventListener(`transitionend`,n),t.addEventListener(`animationend`,n))})}a&&!e.mode?d(t):i(t)}function C(t,n){let a=e.exitClass.split(` `),o=e.exitActiveClass.split(` `),s=e.exitToClass.split(` `);if(!n.parentNode)return c();v&&v(n),n.classList.add(...a),n.classList.add(...o),S(()=>{n.classList.remove(...a),n.classList.add(...s)}),y&&y(n,()=>c()),(!y||y.length<2)&&(n.addEventListener(`transitionend`,c),n.addEventListener(`animationend`,c));function c(a){(!a||a.target===n)&&(n.removeEventListener(`transitionend`,c),n.removeEventListener(`animationend`,c),n.classList.remove(...o),n.classList.remove(...s),r()===n&&i(void 0),b&&b(n),e.mode===`outin`&&x(t,n))}}return a(r=>{for(t=f();typeof t==`function`;)t=t();return g(()=>(t&&t!==r&&(e.mode===`outin`?n&&i(t):x(t,r)),r&&r!==t&&e.mode!==`inout`&&C(t,r),n=!1,t))}),[r,c]};function w(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}var T=w(),E=e(),D=()=>m(E);function O(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=O(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function k(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=O(e))&&(r&&(r+=` `),r+=t);return r}var A=y(`<div></div>`,2),j=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t,M=(e,t)=>{let n={width:window.innerWidth,height:window.innerHeight};return{x:j(e.x,t.width,n.width),y:j(e.y,t.height,n.height)}},N=e=>{let[t,a]=d(e,[`id`,`theme`,`animation`,`onShown`,`onHidden`]),[o,s]=l(!1),[f,m]=l({x:0,y:0}),g,[y,x]=l();T.on(`show`,e=>{e.id===t.id&&(e.event.preventDefault(),x(e.props),s(!0),m(e.position??M({x:e.event.clientX,y:e.event.clientY},{width:g.offsetWidth,height:g.offsetHeight})))});let S=()=>{T.emit(`hide`,t.id),s(!1)},w=u({shown:o,animation:`scale`,hide:S,props:y},t);T.on(`hideAll`,()=>{S()}),v(()=>{T.off(`show`),T.off(`hideAll`)});let D=_(()=>{let e=``;return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e}),O=_(()=>({enterActiveClass:D()+`-enter-active`,exitActiveClass:D()+`-exit-active`}));return c(E.Provider,{value:w,get children(){return c(i,{get children(){return c(C,u(O,{get children(){return c(r,{get when(){return o()},get children(){let e=A.cloneNode(!0),r=g;return typeof r==`function`?r(e):g=e,P(e,()=>S()),n(e,a,!1,!1),h(n=>{let r=k(b.menu,a.class,{[`${b.theme}${t.theme}`]:t.theme}),i=f().x+`px`,o=f().y+`px`;return r!==n._v$&&p(e,n._v$=r),i!==n._v$2&&e.style.setProperty(`left`,n._v$2=i),o!==n._v$3&&e.style.setProperty(`top`,n._v$3=o),n},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})};function P(e,t){let n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener(`click`,n),v(()=>document.body.removeEventListener(`click`,n))}function F(e){return typeof e==`function`}function I(e,t){return F(e)?e(t):e}var L=y(`<div><div></div></div>`,4),R=e=>{let[t,i]=d(e,[`hidden`,`disabled`,`onClick`,`data`,`children`]),a=u({hidden:!1,disabled:!1},t),{props:o,hide:s}=D(),l=_(()=>({props:o(),data:e.data})),m=_(()=>I(a.disabled,l())),g=_(()=>I(a.hidden,l())),v=t=>{m()||(e.onClick?.({event:t,...l()}),s())};return c(r,{get when(){return!g()},get children(){let e=L.cloneNode(!0),r=e.firstChild;return e.$$click=v,n(e,i,!1,!0),f(r,()=>t.children),h(t=>{let n=k(b.item,{[b.itemDisabled]:m()}),i=b.itemContent;return n!==t._v$&&p(e,t._v$=n),i!==t._v$2&&p(r,t._v$2=i),t},{_v$:void 0,_v$2:void 0}),e}})};t([`click`]);var z=y(`<div></div>`,2),B=y(`<div><div><span></span></div></div>`,6),V=e=>{let[t,i]=d(e,[`arrow`,`children`,`disabled`,`hidden`,`label`,`class`]),a=u({arrow:`▶️`,disabled:!1,hidden:!1},t),{props:o,id:s}=D(),m=_(()=>({props:o()})),g=_(()=>I(a.disabled,m())),y=_(()=>I(a.hidden,m())),x,S,[C,w]=l({x:0,y:0}),E=()=>{let e=x.getBoundingClientRect(),t=S.getBoundingClientRect(),n={width:window.innerWidth,height:window.innerHeight},r=e.right;r+t.width>n.width&&(r=e.left-t.width>0?e.left-t.width:n.width-t.width);let i=e.top;i+t.height>n.height&&(i=e.bottom-t.height>0?e.bottom-t.height:n.height-t.height),w({x:r,y:i}),console.log(C())},[O,A]=l(!1),j=()=>{A(!0),E()};return T.on(`hide`,e=>{e===s&&A(!1)}),v(()=>{T.off(`hide`)}),c(r,{get when(){return!y()},get children(){let e=B.cloneNode(!0),o=e.firstChild,s=o.firstChild;e.$$click=()=>O()?A(!1):j(),e.addEventListener(`mouseleave`,()=>A(!1)),e.addEventListener(`mouseenter`,()=>j()),n(e,i,!1,!0);let l=x;return typeof l==`function`?l(o):x=o,f(o,()=>a.label,s),f(s,()=>a.arrow),f(e,c(r,{get when(){return O()},get children(){let e=z.cloneNode(!0),t=S;return typeof t==`function`?t(e):S=e,f(e,()=>a.children),h(t=>{let n=b.submenu,r=C().x+`px`,i=C().y+`px`;return n!==t._v$&&p(e,t._v$=n),r!==t._v$2&&e.style.setProperty(`left`,t._v$2=r),i!==t._v$3&&e.style.setProperty(`top`,t._v$3=i),t},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),h(n=>{let r=k(b.item,t.class,{[b.itemDisabled]:g()}),i=b.itemContent,a=b.submenuArrow;return r!==n._v$4&&p(e,n._v$4=r),i!==n._v$5&&p(o,n._v$5=i),a!==n._v$6&&p(s,n._v$6=a),n},{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})};t([`click`]);var H=e=>({show:(t,n)=>{T.emit(`show`,{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{T.emit(`hideAll`)}});export{R as i,H as n,N as r,V as t};
1
+ import{$i as e,Ai as t,Ii as n,Ki as r,Oi as i,Qi as a,Xi as o,Yi as s,Zi as c,aa as l,ca as u,fa as d,ji as f,ki as p,ma as m,na as h,pa as g,ta as _,ua as v,zi as y}from"./store-jmqpI8w9.js";var b=(e=>(e.menu=`solid-contextmenu`,e.submenu=`solid-contextmenu solid-contextmenu__submenu`,e.submenuArrow=`solid-contextmenu__submenu-arrow`,e.submenuOpen=`solid-contextmenu__submenu--is-open`,e.separator=`solid-contextmenu__separator`,e.item=`solid-contextmenu__item`,e.itemDisabled=`solid-contextmenu__item--disabled`,e.itemContent=`solid-contextmenu__item__content`,e.theme=`solid-contextmenu__theme--`,e.animationWillEnter=`solid-contextmenu__will-enter--`,e.animationWillLeave=`solid-contextmenu__will-leave--`,e))(b||{}),x=(e=>(e[e.HIDE_ALL=0]=`HIDE_ALL`,e))(x||{});function S(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var C=e=>{let t,n=!0,[r,i]=l(),[c,d]=l(),f=o(()=>e.children),p=e.name||`s`;e=u({name:p,enterActiveClass:p+`-enter-active`,enterClass:p+`-enter`,enterToClass:p+`-enter-to`,exitActiveClass:p+`-exit-active`,exitClass:p+`-exit`,exitToClass:p+`-exit-to`},e);let{onBeforeEnter:m,onEnter:h,onAfterEnter:_,onBeforeExit:v,onExit:y,onAfterExit:b}=e;function x(t,a){if(!n||e.appear){let n=function(o){t&&(!o||o.target===t)&&(t.removeEventListener(`transitionend`,n),t.removeEventListener(`animationend`,n),t.classList.remove(...l),t.classList.remove(...u),s(()=>{r()!==t&&i(t),c()===t&&d(void 0)}),_&&_(t),e.mode===`inout`&&C(t,a))},o=e.enterClass.split(` `),l=e.enterActiveClass.split(` `),u=e.enterToClass.split(` `);m&&m(t),t.classList.add(...o),t.classList.add(...l),S(()=>{t.classList.remove(...o),t.classList.add(...u),h&&h(t,()=>n()),(!h||h.length<2)&&(t.addEventListener(`transitionend`,n),t.addEventListener(`animationend`,n))})}a&&!e.mode?d(t):i(t)}function C(t,n){let a=e.exitClass.split(` `),o=e.exitActiveClass.split(` `),s=e.exitToClass.split(` `);if(!n.parentNode)return c();v&&v(n),n.classList.add(...a),n.classList.add(...o),S(()=>{n.classList.remove(...a),n.classList.add(...s)}),y&&y(n,()=>c()),(!y||y.length<2)&&(n.addEventListener(`transitionend`,c),n.addEventListener(`animationend`,c));function c(a){(!a||a.target===n)&&(n.removeEventListener(`transitionend`,c),n.removeEventListener(`animationend`,c),n.classList.remove(...o),n.classList.remove(...s),r()===n&&i(void 0),b&&b(n),e.mode===`outin`&&x(t,n))}}return a(r=>{for(t=f();typeof t==`function`;)t=t();return g(()=>(t&&t!==r&&(e.mode===`outin`?n&&i(t):x(t,r)),r&&r!==t&&e.mode!==`inout`&&C(t,r),n=!1,t))}),[r,c]};function w(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}var T=w(),E=e(),D=()=>m(E);function O(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=O(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function k(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=O(e))&&(r&&(r+=` `),r+=t);return r}var A=y(`<div></div>`,2),j=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t,M=(e,t)=>{let n={width:window.innerWidth,height:window.innerHeight};return{x:j(e.x,t.width,n.width),y:j(e.y,t.height,n.height)}},N=e=>{let[t,a]=d(e,[`id`,`theme`,`animation`,`onShown`,`onHidden`]),[o,s]=l(!1),[f,m]=l({x:0,y:0}),g,[y,x]=l();T.on(`show`,e=>{e.id===t.id&&(e.event.preventDefault(),x(e.props),s(!0),m(e.position??M({x:e.event.clientX,y:e.event.clientY},{width:g.offsetWidth,height:g.offsetHeight})))});let S=()=>{T.emit(`hide`,t.id),s(!1)},w=u({shown:o,animation:`scale`,hide:S,props:y},t);T.on(`hideAll`,()=>{S()}),v(()=>{T.off(`show`),T.off(`hideAll`)});let D=_(()=>{let e=``;return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e}),O=_(()=>({enterActiveClass:D()+`-enter-active`,exitActiveClass:D()+`-exit-active`}));return c(E.Provider,{value:w,get children(){return c(i,{get children(){return c(C,u(O,{get children(){return c(r,{get when(){return o()},get children(){let e=A.cloneNode(!0),r=g;return typeof r==`function`?r(e):g=e,P(e,()=>S()),n(e,a,!1,!1),h(n=>{let r=k(b.menu,a.class,{[`${b.theme}${t.theme}`]:t.theme}),i=f().x+`px`,o=f().y+`px`;return r!==n._v$&&p(e,n._v$=r),i!==n._v$2&&e.style.setProperty(`left`,n._v$2=i),o!==n._v$3&&e.style.setProperty(`top`,n._v$3=o),n},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})};function P(e,t){let n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener(`click`,n),v(()=>document.body.removeEventListener(`click`,n))}function F(e){return typeof e==`function`}function I(e,t){return F(e)?e(t):e}var L=y(`<div><div></div></div>`,4),R=e=>{let[t,i]=d(e,[`hidden`,`disabled`,`onClick`,`data`,`children`]),a=u({hidden:!1,disabled:!1},t),{props:o,hide:s}=D(),l=_(()=>({props:o(),data:e.data})),m=_(()=>I(a.disabled,l())),g=_(()=>I(a.hidden,l())),v=t=>{m()||(e.onClick?.({event:t,...l()}),s())};return c(r,{get when(){return!g()},get children(){let e=L.cloneNode(!0),r=e.firstChild;return e.$$click=v,n(e,i,!1,!0),f(r,()=>t.children),h(t=>{let n=k(b.item,{[b.itemDisabled]:m()}),i=b.itemContent;return n!==t._v$&&p(e,t._v$=n),i!==t._v$2&&p(r,t._v$2=i),t},{_v$:void 0,_v$2:void 0}),e}})};t([`click`]);var z=y(`<div></div>`,2),B=y(`<div><div><span></span></div></div>`,6),V=e=>{let[t,i]=d(e,[`arrow`,`children`,`disabled`,`hidden`,`label`,`class`]),a=u({arrow:`▶️`,disabled:!1,hidden:!1},t),{props:o,id:s}=D(),m=_(()=>({props:o()})),g=_(()=>I(a.disabled,m())),y=_(()=>I(a.hidden,m())),x,S,[C,w]=l({x:0,y:0}),E=()=>{let e=x.getBoundingClientRect(),t=S.getBoundingClientRect(),n={width:window.innerWidth,height:window.innerHeight},r=e.right;r+t.width>n.width&&(r=e.left-t.width>0?e.left-t.width:n.width-t.width);let i=e.top;i+t.height>n.height&&(i=e.bottom-t.height>0?e.bottom-t.height:n.height-t.height),w({x:r,y:i}),console.log(C())},[O,A]=l(!1),j=()=>{A(!0),E()};return T.on(`hide`,e=>{e===s&&A(!1)}),v(()=>{T.off(`hide`)}),c(r,{get when(){return!y()},get children(){let e=B.cloneNode(!0),o=e.firstChild,s=o.firstChild;e.$$click=()=>O()?A(!1):j(),e.addEventListener(`mouseleave`,()=>A(!1)),e.addEventListener(`mouseenter`,()=>j()),n(e,i,!1,!0);let l=x;return typeof l==`function`?l(o):x=o,f(o,()=>a.label,s),f(s,()=>a.arrow),f(e,c(r,{get when(){return O()},get children(){let e=z.cloneNode(!0),t=S;return typeof t==`function`?t(e):S=e,f(e,()=>a.children),h(t=>{let n=b.submenu,r=C().x+`px`,i=C().y+`px`;return n!==t._v$&&p(e,t._v$=n),r!==t._v$2&&e.style.setProperty(`left`,t._v$2=r),i!==t._v$3&&e.style.setProperty(`top`,t._v$3=i),t},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),h(n=>{let r=k(b.item,t.class,{[b.itemDisabled]:g()}),i=b.itemContent,a=b.submenuArrow;return r!==n._v$4&&p(e,n._v$4=r),i!==n._v$5&&p(o,n._v$5=i),a!==n._v$6&&p(s,n._v$6=a),n},{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})};t([`click`]);var H=e=>({show:(t,n)=>{T.emit(`show`,{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{T.emit(`hideAll`)}});export{R as i,H as n,N as r,V as t};
@@ -1 +1 @@
1
- System.register(["./store-legacy-DEv5m7Se.js"],function(e,t){var n,i,o,s,r,d,l,a,c,v,u,m,h,f,p,_,g,x,$,w,y,L,b,C,A,E,k,D,H,N,P,W;function B(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function T(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=T(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function j(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(i&&(i+=" "),i+=t);return i}function I(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}return{setters:[function(e){n=e.$i,i=e.Ai,o=e.Ii,s=e.Ki,r=e.Oi,d=e.Qi,l=e.Xi,a=e.Yi,c=e.Zi,v=e.aa,u=e.ca,m=e.fa,h=e.ji,f=e.ki,p=e.ma,_=e.na,g=e.pa,x=e.ta,$=e.ua,w=e.zi}],execute:function(){var t;y=(e=>(e.menu="solid-contextmenu",e.submenu="solid-contextmenu solid-contextmenu__submenu",e.submenuArrow="solid-contextmenu__submenu-arrow",e.submenuOpen="solid-contextmenu__submenu--is-open",e.separator="solid-contextmenu__separator",e.item="solid-contextmenu__item",e.itemDisabled="solid-contextmenu__item--disabled",e.itemContent="solid-contextmenu__item__content",e.theme="solid-contextmenu__theme--",e.animationWillEnter="solid-contextmenu__will-enter--",e.animationWillLeave="solid-contextmenu__will-leave--",e))(y||{}),L=(e=>(e[e.HIDE_ALL=0]="HIDE_ALL",e))(L||{}),b=e=>{let t,n=!0;const[i,o]=v(),[s,r]=v(),c=l(()=>e.children),m=e.name||"s";e=u({name:m,enterActiveClass:m+"-enter-active",enterClass:m+"-enter",enterToClass:m+"-enter-to",exitActiveClass:m+"-exit-active",exitClass:m+"-exit",exitToClass:m+"-exit-to"},e);const{onBeforeEnter:h,onEnter:f,onAfterEnter:p,onBeforeExit:_,onExit:x,onAfterExit:$}=e;function w(t,d){if(!n||e.appear){let n=function(l){t&&(!l||l.target===t)&&(t.removeEventListener("transitionend",n),t.removeEventListener("animationend",n),t.classList.remove(...c),t.classList.remove(...v),a(()=>{i()!==t&&o(t),s()===t&&r(void 0)}),p&&p(t),"inout"===e.mode&&y(t,d))};const l=e.enterClass.split(" "),c=e.enterActiveClass.split(" "),v=e.enterToClass.split(" ");h&&h(t),t.classList.add(...l),t.classList.add(...c),B(()=>{t.classList.remove(...l),t.classList.add(...v),f&&f(t,()=>n()),(!f||f.length<2)&&(t.addEventListener("transitionend",n),t.addEventListener("animationend",n))})}d&&!e.mode?r(t):o(t)}function y(t,n){const s=e.exitClass.split(" "),r=e.exitActiveClass.split(" "),d=e.exitToClass.split(" ");if(!n.parentNode)return l();function l(s){(!s||s.target===n)&&(n.removeEventListener("transitionend",l),n.removeEventListener("animationend",l),n.classList.remove(...r),n.classList.remove(...d),i()===n&&o(void 0),$&&$(n),"outin"===e.mode&&w(t,n))}_&&_(n),n.classList.add(...s),n.classList.add(...r),B(()=>{n.classList.remove(...s),n.classList.add(...d)}),x&&x(n,()=>l()),(!x||x.length<2)&&(n.addEventListener("transitionend",l),n.addEventListener("animationend",l))}return d(i=>{for(t=c();"function"==typeof t;)t=t();return g(()=>(t&&t!==i&&("outin"!==e.mode?w(t,i):n&&o(t)),i&&i!==t&&"inout"!==e.mode&&y(t,i),n=!1,t))}),[i,s]},C={all:t=t||new Map,on:function(e,n){var i=t.get(e);i?i.push(n):t.set(e,[n])},off:function(e,n){var i=t.get(e);i&&(n?i.splice(i.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var i=t.get(e);i&&i.slice().map(function(e){e(n)}),(i=t.get("*"))&&i.slice().map(function(t){t(e,n)})}},A=n(),E=()=>p(A),k=w("<div></div>",2),D=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t,H=(e,t)=>{const n={width:window.innerWidth,height:window.innerHeight};return{x:D(e.x,t.width,n.width),y:D(e.y,t.height,n.height)}},e("r",e=>{const[t,n]=m(e,["id","theme","animation","onShown","onHidden"]),[i,d]=v(!1),[l,a]=v({x:0,y:0});let h;const[p,g]=v();C.on("show",e=>{e.id===t.id&&(e.event.preventDefault(),g(e.props),d(!0),a(e.position??H({x:e.event.clientX,y:e.event.clientY},{width:h.offsetWidth,height:h.offsetHeight})))});const w=()=>{C.emit("hide",t.id),d(!1)},L=u({shown:i,animation:"scale",hide:w,props:p},t);C.on("hideAll",()=>{w()}),$(()=>{C.off("show"),C.off("hideAll")});const E=x(()=>{let e="";return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e}),D=x(()=>({enterActiveClass:E()+"-enter-active",exitActiveClass:E()+"-exit-active"}));return c(A.Provider,{value:L,get children(){return c(r,{get children(){return c(b,u(D,{get children(){return c(s,{get when(){return i()},get children(){const e=k.cloneNode(!0);return"function"==typeof h?h(e):h=e,function(e,t){const n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener("click",n),$(()=>document.body.removeEventListener("click",n))}(e,()=>w()),o(e,n,!1,!1),_(i=>{const o=j(y.menu,n.class,{[`${y.theme}${t.theme}`]:t.theme}),s=l().x+"px",r=l().y+"px";return o!==i._v$&&f(e,i._v$=o),s!==i._v$2&&e.style.setProperty("left",i._v$2=s),r!==i._v$3&&e.style.setProperty("top",i._v$3=r),i},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})}),N=w("<div><div></div></div>",4),e("i",e=>{const[t,n]=m(e,["hidden","disabled","onClick","data","children"]),i=u({hidden:!1,disabled:!1},t),{props:r,hide:d}=E(),l=x(()=>({props:r(),data:e.data})),a=x(()=>I(i.disabled,l())),v=x(()=>I(i.hidden,l())),p=t=>{a()||(e.onClick?.({event:t,...l()}),d())};return c(s,{get when(){return!v()},get children(){const e=N.cloneNode(!0),i=e.firstChild;return e.$$click=p,o(e,n,!1,!0),h(i,()=>t.children),_(t=>{const n=j(y.item,{[y.itemDisabled]:a()}),o=y.itemContent;return n!==t._v$&&f(e,t._v$=n),o!==t._v$2&&f(i,t._v$2=o),t},{_v$:void 0,_v$2:void 0}),e}})}),i(["click"]),P=w("<div></div>",2),W=w("<div><div><span></span></div></div>",6),e("t",e=>{const[t,n]=m(e,["arrow","children","disabled","hidden","label","class"]),i=u({arrow:"▶️",disabled:!1,hidden:!1},t),{props:r,id:d}=E(),l=x(()=>({props:r()})),a=x(()=>I(i.disabled,l())),p=x(()=>I(i.hidden,l()));let g,w;const[L,b]=v({x:0,y:0}),[A,k]=v(!1),D=()=>{k(!0),(()=>{const e=g.getBoundingClientRect(),t=w.getBoundingClientRect(),n=window.innerWidth,i=window.innerHeight;let o=e.right;o+t.width>n&&(o=e.left-t.width>0?e.left-t.width:n-t.width);let s=e.top;s+t.height>i&&(s=e.bottom-t.height>0?e.bottom-t.height:i-t.height),b({x:o,y:s}),console.log(L())})()};return C.on("hide",e=>{e===d&&k(!1)}),$(()=>{C.off("hide")}),c(s,{get when(){return!p()},get children(){const e=W.cloneNode(!0),r=e.firstChild,d=r.firstChild;return e.$$click=()=>A()?k(!1):D(),e.addEventListener("mouseleave",()=>k(!1)),e.addEventListener("mouseenter",()=>D()),o(e,n,!1,!0),"function"==typeof g?g(r):g=r,h(r,()=>i.label,d),h(d,()=>i.arrow),h(e,c(s,{get when(){return A()},get children(){const e=P.cloneNode(!0);return"function"==typeof w?w(e):w=e,h(e,()=>i.children),_(t=>{const n=y.submenu,i=L().x+"px",o=L().y+"px";return n!==t._v$&&f(e,t._v$=n),i!==t._v$2&&e.style.setProperty("left",t._v$2=i),o!==t._v$3&&e.style.setProperty("top",t._v$3=o),t},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),_(n=>{const i=j(y.item,t.class,{[y.itemDisabled]:a()}),o=y.itemContent,s=y.submenuArrow;return i!==n._v$4&&f(e,n._v$4=i),o!==n._v$5&&f(r,n._v$5=o),s!==n._v$6&&f(d,n._v$6=s),n},{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})}),i(["click"]),e("n",e=>({show:(t,n)=>{C.emit("show",{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{C.emit("hideAll")}}))}}});
1
+ System.register(["./store-legacy-CI1UFD5I.js"],function(e,t){var n,i,o,s,r,d,l,a,c,v,u,m,h,f,p,_,g,x,$,w,y,L,b,C,A,E,k,D,H,N,P,W;function B(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function T(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=T(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function j(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(i&&(i+=" "),i+=t);return i}function I(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}return{setters:[function(e){n=e.$i,i=e.Ai,o=e.Ii,s=e.Ki,r=e.Oi,d=e.Qi,l=e.Xi,a=e.Yi,c=e.Zi,v=e.aa,u=e.ca,m=e.fa,h=e.ji,f=e.ki,p=e.ma,_=e.na,g=e.pa,x=e.ta,$=e.ua,w=e.zi}],execute:function(){var t;y=(e=>(e.menu="solid-contextmenu",e.submenu="solid-contextmenu solid-contextmenu__submenu",e.submenuArrow="solid-contextmenu__submenu-arrow",e.submenuOpen="solid-contextmenu__submenu--is-open",e.separator="solid-contextmenu__separator",e.item="solid-contextmenu__item",e.itemDisabled="solid-contextmenu__item--disabled",e.itemContent="solid-contextmenu__item__content",e.theme="solid-contextmenu__theme--",e.animationWillEnter="solid-contextmenu__will-enter--",e.animationWillLeave="solid-contextmenu__will-leave--",e))(y||{}),L=(e=>(e[e.HIDE_ALL=0]="HIDE_ALL",e))(L||{}),b=e=>{let t,n=!0;const[i,o]=v(),[s,r]=v(),c=l(()=>e.children),m=e.name||"s";e=u({name:m,enterActiveClass:m+"-enter-active",enterClass:m+"-enter",enterToClass:m+"-enter-to",exitActiveClass:m+"-exit-active",exitClass:m+"-exit",exitToClass:m+"-exit-to"},e);const{onBeforeEnter:h,onEnter:f,onAfterEnter:p,onBeforeExit:_,onExit:x,onAfterExit:$}=e;function w(t,d){if(!n||e.appear){let n=function(l){t&&(!l||l.target===t)&&(t.removeEventListener("transitionend",n),t.removeEventListener("animationend",n),t.classList.remove(...c),t.classList.remove(...v),a(()=>{i()!==t&&o(t),s()===t&&r(void 0)}),p&&p(t),"inout"===e.mode&&y(t,d))};const l=e.enterClass.split(" "),c=e.enterActiveClass.split(" "),v=e.enterToClass.split(" ");h&&h(t),t.classList.add(...l),t.classList.add(...c),B(()=>{t.classList.remove(...l),t.classList.add(...v),f&&f(t,()=>n()),(!f||f.length<2)&&(t.addEventListener("transitionend",n),t.addEventListener("animationend",n))})}d&&!e.mode?r(t):o(t)}function y(t,n){const s=e.exitClass.split(" "),r=e.exitActiveClass.split(" "),d=e.exitToClass.split(" ");if(!n.parentNode)return l();function l(s){(!s||s.target===n)&&(n.removeEventListener("transitionend",l),n.removeEventListener("animationend",l),n.classList.remove(...r),n.classList.remove(...d),i()===n&&o(void 0),$&&$(n),"outin"===e.mode&&w(t,n))}_&&_(n),n.classList.add(...s),n.classList.add(...r),B(()=>{n.classList.remove(...s),n.classList.add(...d)}),x&&x(n,()=>l()),(!x||x.length<2)&&(n.addEventListener("transitionend",l),n.addEventListener("animationend",l))}return d(i=>{for(t=c();"function"==typeof t;)t=t();return g(()=>(t&&t!==i&&("outin"!==e.mode?w(t,i):n&&o(t)),i&&i!==t&&"inout"!==e.mode&&y(t,i),n=!1,t))}),[i,s]},C={all:t=t||new Map,on:function(e,n){var i=t.get(e);i?i.push(n):t.set(e,[n])},off:function(e,n){var i=t.get(e);i&&(n?i.splice(i.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var i=t.get(e);i&&i.slice().map(function(e){e(n)}),(i=t.get("*"))&&i.slice().map(function(t){t(e,n)})}},A=n(),E=()=>p(A),k=w("<div></div>",2),D=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t,H=(e,t)=>{const n={width:window.innerWidth,height:window.innerHeight};return{x:D(e.x,t.width,n.width),y:D(e.y,t.height,n.height)}},e("r",e=>{const[t,n]=m(e,["id","theme","animation","onShown","onHidden"]),[i,d]=v(!1),[l,a]=v({x:0,y:0});let h;const[p,g]=v();C.on("show",e=>{e.id===t.id&&(e.event.preventDefault(),g(e.props),d(!0),a(e.position??H({x:e.event.clientX,y:e.event.clientY},{width:h.offsetWidth,height:h.offsetHeight})))});const w=()=>{C.emit("hide",t.id),d(!1)},L=u({shown:i,animation:"scale",hide:w,props:p},t);C.on("hideAll",()=>{w()}),$(()=>{C.off("show"),C.off("hideAll")});const E=x(()=>{let e="";return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e}),D=x(()=>({enterActiveClass:E()+"-enter-active",exitActiveClass:E()+"-exit-active"}));return c(A.Provider,{value:L,get children(){return c(r,{get children(){return c(b,u(D,{get children(){return c(s,{get when(){return i()},get children(){const e=k.cloneNode(!0);return"function"==typeof h?h(e):h=e,function(e,t){const n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener("click",n),$(()=>document.body.removeEventListener("click",n))}(e,()=>w()),o(e,n,!1,!1),_(i=>{const o=j(y.menu,n.class,{[`${y.theme}${t.theme}`]:t.theme}),s=l().x+"px",r=l().y+"px";return o!==i._v$&&f(e,i._v$=o),s!==i._v$2&&e.style.setProperty("left",i._v$2=s),r!==i._v$3&&e.style.setProperty("top",i._v$3=r),i},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})}),N=w("<div><div></div></div>",4),e("i",e=>{const[t,n]=m(e,["hidden","disabled","onClick","data","children"]),i=u({hidden:!1,disabled:!1},t),{props:r,hide:d}=E(),l=x(()=>({props:r(),data:e.data})),a=x(()=>I(i.disabled,l())),v=x(()=>I(i.hidden,l())),p=t=>{a()||(e.onClick?.({event:t,...l()}),d())};return c(s,{get when(){return!v()},get children(){const e=N.cloneNode(!0),i=e.firstChild;return e.$$click=p,o(e,n,!1,!0),h(i,()=>t.children),_(t=>{const n=j(y.item,{[y.itemDisabled]:a()}),o=y.itemContent;return n!==t._v$&&f(e,t._v$=n),o!==t._v$2&&f(i,t._v$2=o),t},{_v$:void 0,_v$2:void 0}),e}})}),i(["click"]),P=w("<div></div>",2),W=w("<div><div><span></span></div></div>",6),e("t",e=>{const[t,n]=m(e,["arrow","children","disabled","hidden","label","class"]),i=u({arrow:"▶️",disabled:!1,hidden:!1},t),{props:r,id:d}=E(),l=x(()=>({props:r()})),a=x(()=>I(i.disabled,l())),p=x(()=>I(i.hidden,l()));let g,w;const[L,b]=v({x:0,y:0}),[A,k]=v(!1),D=()=>{k(!0),(()=>{const e=g.getBoundingClientRect(),t=w.getBoundingClientRect(),n=window.innerWidth,i=window.innerHeight;let o=e.right;o+t.width>n&&(o=e.left-t.width>0?e.left-t.width:n-t.width);let s=e.top;s+t.height>i&&(s=e.bottom-t.height>0?e.bottom-t.height:i-t.height),b({x:o,y:s}),console.log(L())})()};return C.on("hide",e=>{e===d&&k(!1)}),$(()=>{C.off("hide")}),c(s,{get when(){return!p()},get children(){const e=W.cloneNode(!0),r=e.firstChild,d=r.firstChild;return e.$$click=()=>A()?k(!1):D(),e.addEventListener("mouseleave",()=>k(!1)),e.addEventListener("mouseenter",()=>D()),o(e,n,!1,!0),"function"==typeof g?g(r):g=r,h(r,()=>i.label,d),h(d,()=>i.arrow),h(e,c(s,{get when(){return A()},get children(){const e=P.cloneNode(!0);return"function"==typeof w?w(e):w=e,h(e,()=>i.children),_(t=>{const n=y.submenu,i=L().x+"px",o=L().y+"px";return n!==t._v$&&f(e,t._v$=n),i!==t._v$2&&e.style.setProperty("left",t._v$2=i),o!==t._v$3&&e.style.setProperty("top",t._v$3=o),t},{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),_(n=>{const i=j(y.item,t.class,{[y.itemDisabled]:a()}),o=y.itemContent,s=y.submenuArrow;return i!==n._v$4&&f(e,n._v$4=i),o!==n._v$5&&f(r,n._v$5=o),s!==n._v$6&&f(d,n._v$6=s),n},{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})}),i(["click"]),e("n",e=>({show:(t,n)=>{C.emit("show",{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{C.emit("hideAll")}}))}}});
@@ -39,4 +39,4 @@ Expecting `+S.join(`, `)+`, got '`+(this.terminals_[p]||p)+`'`:`Parse error on l
39
39
  }`},blockValue:function(e){var t=this.aliasable(`container.hooks.blockHelperMissing`),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,`call`,n))},ambiguousBlockValue:function(){var e=this.aliasable(`container.hooks.blockHelperMissing`),t=[this.contextName(0)];this.setupHelperArgs(``,0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource([`if (!`,this.lastHelper,`) { `,n,` = `,this.source.functionCall(e,`call`,t),`}`])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[` != null ? `,e,` : ""`]}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource([`if (`,e,` != null) { `,this.appendToBuffer(e,void 0,!0),` }`]),this.environment.isSimple&&this.pushSource([`else { `,this.appendToBuffer(`''`,void 0,!0),` }`])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable(`container.escapeExpression`),`(`,this.popStack(),`)`]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var i=0;!r&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath(`context`,e,i,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push([`blockParams[`,e[0],`][`,e[1],`]`]),this.resolvePath(`context`,t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral(`container.data(data, `+e+`)`):this.pushStackLiteral(`data`),this.resolvePath(`data`,t,0,!0,n)},resolvePath:function(e,t,n,r,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(l(this.options.strict&&i,this,t,n,e));return}for(var o=t.length,s=function(n){a.replaceStack(function(i){var o=a.nameLookup(i,t[n],e);return r?[` && `,o]:[` != null ? `,o,` : `,i]})},c=n;c<o;c++)s(c)},resolvePossibleLambda:function(){this.push([this.aliasable(`container.lambda`),`(`,this.popStack(),`, `,this.contextName(0),`)`])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),t!==`SubExpression`&&(typeof e==`string`?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push(`{}`),this.stringParams&&(this.push(`{}`),this.push(`{}`)),this.pushStackLiteral(e?`undefined`:`{}`)},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e==null?this.pushStackLiteral(null):this.pushStackLiteral(this.programExpression(e))},registerDecorator:function(e,t){var n=this.nameLookup(`decorators`,t,`decorator`),r=this.setupHelperArgs(t,e);this.decorators.push([`var decorator = `,n,`;`]),this.decorators.push([`if (typeof decorator !== "function") { throw new Error(`,this.quotedString(`Missing decorator: "`+t+`"`),`); }`]),this.decorators.push([`fn = `,this.decorators.functionCall(`decorator`,``,[`fn`,`props`,`container`,r]),` || fn;`])},invokeHelper:function(e,t,n){var r=this.popStack(),i=this.setupHelper(e,t),a=[];n&&a.push(i.name),a.push(r),this.options.strict||a.push(this.aliasable(`container.hooks.helperMissing`));var o=[`(`,this.itemsSeparatedBy(a,`||`),`)`],s=this.source.functionCall(o,`call`,i.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,`call`,n.callParams))},invokeAmbiguous:function(e,t){this.useRegister(`helper`);var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=[`(`,`(helper = `,this.lastHelper=this.nameLookup(`helpers`,e,`helper`),` || `,n,`)`];this.options.strict||(i[0]=`(helper = `,i.push(` != null ? helper : `,this.aliasable(`container.hooks.helperMissing`))),this.push([`(`,i,r.paramsInit?[`),(`,r.paramsInit]:[],`),`,`(typeof helper === `,this.aliasable(`"function"`),` ? `,this.source.functionCall(`helper`,`call`,r.callParams),` : helper))`])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers=`helpers`,i.partials=`partials`,i.decorators=`container.decorators`,e?r.unshift(t):r.unshift(this.nameLookup(`partials`,t,`partial`)),this.options.compat&&(i.depths=`depths`),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall(`container.invokePartial`,``,r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),r&&(a.types[e]=r),i&&(a.ids[e]=i),a.values[e]=t},pushId:function(e,t,n){e===`BlockParam`?this.pushStackLiteral(`blockParams[`+t[0]+`].path[`+t[1]+`]`+(n?` + `+JSON.stringify(`.`+n):``)):e===`PathExpression`?this.pushString(t):e===`SubExpression`?this.pushStackLiteral(`true`):this.pushStackLiteral(`null`)},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,a=0,o=n.length;a<o;a++){r=n[a],i=new this.compiler;var s=this.matchExistingProgram(r);if(s==null){var c=this.context.programs.push(``)-1;r.index=c,r.name=`program`+c,this.context.programs[c]=i.compile(r,t,this.context,!this.precompile),this.context.decorators[c]=i.decorators,this.context.environments[c]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=s.index,r.name=`program`+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,`data`,t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push(`blockParams`),this.useDepths&&n.push(`depths`),`container.program(`+n.join(`, `)+`)`},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof s||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new s(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=[`(`],n=void 0,r=void 0,a=void 0;if(!this.isInline())throw new i.default(`replaceStack on non-inline`);var o=this.popStack(!0);if(o instanceof s)n=[o.value],t=[`(`,n],a=!0;else{r=!0;var c=this.incrStack();t=[`((`,this.push(c),` = `,o,`)`],n=this.topStack()}var l=e.call(this,n);a||this.popStack(),r&&this.stackSlot--,this.push(t.concat(l,`)`))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push(`stack`+this.stackSlot),this.topStackName()},topStackName:function(){return`stack`+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof s)this.compileStack.push(r);else{var i=this.incrStack();this.pushSource([i,` = `,r,`;`]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof s)return n.value;if(!t){if(!this.stackSlot)throw new i.default(`Invalid stack pop`);this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof s?t.value:t},contextName:function(e){return this.useDepths&&e?`depths[`+e+`]`:`depth`+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):(t=this.aliases[e]=this.source.wrap(e),t.aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup(`helpers`,t,`helper`),callParams:[this.aliasable(this.contextName(0)+` != null ? `+this.contextName(0)+` : (container.nullContext || {})`)].concat(r)}},setupParams:function(e,t,n){var r={},i=[],a=[],o=[],s=!n,c=void 0;s&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(r.fn=u||`container.noop`,r.inverse=l||`container.noop`);for(var d=t;d--;)c=this.popStack(),n[d]=c,this.trackIds&&(o[d]=this.popStack()),this.stringParams&&(a[d]=this.popStack(),i[d]=this.popStack());return s&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(o)),this.stringParams&&(r.types=this.source.generateArray(a),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data=`data`),this.useBlockParams&&(r.blockParams=`blockParams`),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),r?(this.useRegister(`options`),n.push(`options`),[`options=`,i]):n?(n.push(i),``):i}},(function(){for(var e=`break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false`.split(` `),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0})(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)};function l(e,t,n,r,i){var a=t.popStack(),o=n.length;e&&o--;for(var s=r;s<o;s++)a=t.nameLookup(a,n[s],i);return e?[t.aliasable(`container.strict`),`(`,a,`, `,t.quotedString(n[o]),`, `,JSON.stringify(t.source.currentLocation),` )`]:a}e.default=c,t.exports=e.default})),oC=e(n(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=n(zS()),i=n(BS()),a=GS(),o=KS(),s=n(aC()),c=n(HS()),l=n(RS()),u=r.default.create;function d(){var e=u();return e.compile=function(t,n){return o.compile(t,n,e)},e.precompile=function(t,n){return o.precompile(t,n,e)},e.AST=i.default,e.Compiler=o.Compiler,e.JavaScriptCompiler=s.default,e.Parser=a.parser,e.parse=a.parse,e.parseWithoutProcessing=a.parseWithoutProcessing,e}var f=d();f.create=d,l.default(f),f.Visitor=c.default,f.default=f,e.default=f,t.exports=e.default}))(),1),sC=e=>!e||e.length===0?``:e.charAt(0).toUpperCase()+e.slice(1),cC=(e,t)=>e.startsWith(t)?e.slice(t.length):e;function lC(e){if(!e)return`-`;let t=1024;return e<t?e+`B`:e<t**2?(e/t).toFixed(2)+`K`:e<t**3?(e/t**2).toFixed(2)+`M`:e<t**4?(e/t**3).toFixed(2)+`G`:(e/t**4).toFixed(2)+`T`}var uC=e=>e<10?`0`+e:e;function dC(e){let t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+`-`+uC(r)+`-`+uC(i)+` `+uC(a)+`:`+uC(o)+`:`+uC(s)}var fC=(e,t)=>{let n=e;if(n=n.replace(`$name`,t.name),t.ts){let e=new URL(t.d_url),n=Date.now();e.searchParams.set(`openlist_ts`,n.toString()),t.d_url=e.toString()}return n=n.replace(/\$[eb_]*url/,e=>{let n=e.match(/[eb]/g),r=t.raw_url;if(n)for(let e of n.reverse())e===`e`?r=encodeURIComponent(r):e===`b`&&(r=window.btoa(r));return r}),n=n.replace(/\$[eb_]*durl/,e=>{let n=e.match(/[eb]/g),r=t.d_url;if(n)for(let e of n.reverse())e===`e`?r=encodeURIComponent(r):e===`b`&&(r=window.btoa(r));return r}),n},pC=e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,`$1`),n=e.replace(/^\/(.*)\/([a-z]*)$/,`$2`);return new RegExp(t,n)},mC={"+":`-`,"/":`_`,"=":`.`},hC=e=>e.replace(/[+/=]/g,e=>mC[e]),gC=e=>hC(window.btoa(e)),_C=(e,t)=>new TextDecoder(t).decode(e);oC.default.registerHelper(`dateLocaleString`,e=>new Date(e).toLocaleString()),oC.default.registerHelper(`add`,(e,t)=>e+t),oC.default.registerHelper(`eq`,(e,t)=>e===t),oC.default.registerHelper(`less`,(e,t)=>e<t),oC.default.registerHelper(`and`,(e,t)=>e&&t),oC.default.registerHelper(`or`,(e,t)=>e||t),oC.default.registerHelper(`not`,e=>!e),oC.default.registerHelper(`filename`,e=>e.indexOf(`/`)===-1?e:e.slice(e.lastIndexOf(`/`)+1));var vC=(e,t)=>oC.default.compile(e)(t),yC=e=>!e||e.trim().length===0?{valid:!1,error:`empty_input`}:/[\/\\?<>*:|"]/.test(e)?{valid:!1,error:`invalid_filename_chars`}:{valid:!0},bC=(e,t,n,r=!0,i=!0,a)=>{if(e.code===200)a&&ly.success(e.message),t?.(e.data);else{if(i&&ly.error(e.message),r&&e.code===401){location.pathname===`/@manage`?oy.emit(`to`,`/`):oy.emit(`to`,`/@login?redirect=${encodeURIComponent(location.pathname)}`);return}n?.(e.message,e.code)}},xC=(e,t,n,r=!0)=>bC(e,t,n,r,!1),SC=(e,t,n)=>bC(e,t,n,!1,!1),CC=(e,t,n,r=!0,i=!0)=>bC(e,t,n,r,i,!0),wC=()=>`rgba(132,133,141,0.18)`,TC=()=>Bc(`$whiteAlpha10`,`$blackAlpha11`)(),EC=(e=`/`,t=``,n)=>vS.post(`/fs/get`,{path:e,password:t},{cancelToken:n}),DC=(e=`/`,t=``,n=1,r=0,i=!1,a)=>vS.post(`/fs/list`,{path:e,password:t,page:n,per_page:r,refresh:i},{cancelToken:a}),OC=(e=`/`,t=``,n=!1)=>vS.post(`/fs/dirs`,{path:e,password:t,force_root:n}),kC=e=>vS.post(`/fs/mkdir`,{path:e}),AC=(e,t,n)=>vS.post(`/fs/rename`,{path:e,name:t,overwrite:n}),jC=(e,t)=>vS.post(`/fs/batch_rename`,{src_dir:e,rename_objects:t}),MC=(e,t,n,r,i)=>vS.post(`/fs/move`,{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:i}),NC=(e,t,n)=>vS.post(`/fs/recursive_move`,{src_dir:e,dst_dir:t,conflict_policy:n}),PC=(e,t,n,r,i,a)=>vS.post(`/fs/copy`,{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:i,merge:a}),FC=(e,t)=>vS.post(`/fs/remove`,{dir:e,names:t}),IC=e=>vS.post(`/fs/remove_empty_directory`,{src_dir:e}),LC=(e,t,n)=>vS.put(`/fs/put`,void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}),RC=(e=`/`,t=``,n=``,r=!1,i)=>vS.post(`/fs/archive/meta`,{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:i}),zC=(e=`/`,t=``,n=``,r=`/`,i=1,a=0,o=!1,s)=>vS.post(`/fs/archive/list`,{path:e,password:t,archive_pass:n,inner_path:r,page:i,per_page:a,refresh:o},{cancelToken:s}),BC=(e,t,n,r=``,i=`/`,a=!0,o=!1,s=!1)=>vS.post(`/fs/archive/decompress`,{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:i,cache_full:a,put_into_new_dir:o,overwrite:s}),VC=(e,t,n,r)=>vS.post(`/fs/add_offline_download`,{path:e,urls:t,tool:n,delete_policy:r}),HC=async(e,t=!0)=>{try{let n=await _S.get(e,{responseType:`blob`,params:t?{openlist_ts:new Date().getTime()}:void 0});return{content:await n.data.arrayBuffer(),contentType:n.headers[`content-type`]}}catch(n){return t?await HC(e,!1):{content:`Failed to fetch ${e}: ${n}`,contentType:``}}},UC=async(e,t,n=``,r=0,i=1,a=100)=>vS.post(`/fs/search`,{parent:e,keywords:t,scope:r,page:i,per_page:a,password:n}),WC=async(e=[`/`],t=-1)=>vS.post(`/admin/index/build`,{paths:e,max_depth:t}),GC=async(e=[],t=-1)=>vS.post(`/admin/index/update`,{paths:e,max_depth:t}),KC=n(((e,t)=>{(function(e){var n={bytesToHex:function(e){return r(e)},hexToBytes:function(e){if(e.length%2==1)throw Error(`hexToBytes can't have a string with an odd number of characters.`);return e.indexOf(`0x`)===0&&(e=e.slice(2)),e.match(/../g).map(function(e){return parseInt(e,16)})}};function r(e){return e.map(function(e){return i(e.toString(16),2)}).join(``)}function i(e,t){return e.length>t?e:Array(t-e.length+1).join(`0`)+e}t!==void 0&&t.exports?t.exports=n:e.convertHex=n})(e)})),qC=n(((e,t)=>{(function(e){var n={bytesToString:function(e){return e.map(function(e){return String.fromCharCode(e)}).join(``)},stringToBytes:function(e){return e.split(``).map(function(e){return e.charCodeAt(0)})}};n.UTF8={bytesToString:function(e){return decodeURIComponent(escape(n.bytesToString(e)))},stringToBytes:function(e){return n.stringToBytes(unescape(encodeURIComponent(e)))}},t!==void 0&&t.exports?t.exports=n:e.convertString=n})(e)})),JC=e(n(((e,t)=>{(function(e){var n={};t!==void 0&&t.exports?(n.bytesToHex=KC().bytesToHex,n.convertString=qC(),t.exports=c):(n.bytesToHex=e.convertHex.bytesToHex,n.convertString=e.convertString,e.sha256=c);var r=[];(function(){function e(e){for(var t=Math.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return(e-(e|0))*4294967296|0}for(var n=2,i=0;i<64;)e(n)&&(r[i]=t(n**(1/3)),i++),n++})();var i=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},a=function(e){for(var t=[],n=0;n<e.length*32;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},o=[],s=function(e,t,n){for(var i=e[0],a=e[1],s=e[2],c=e[3],l=e[4],u=e[5],d=e[6],f=e[7],p=0;p<64;p++){if(p<16)o[p]=t[n+p]|0;else{var m=o[p-15],h=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,g=o[p-2],_=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;o[p]=h+o[p-7]+_+o[p-16]}var v=l&u^~l&d,y=i&a^i&s^a&s,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),x=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),S=f+x+v+r[p]+o[p],C=b+y;f=d,d=u,u=l,l=c+S|0,c=s,s=a,a=i,i=S+C|0}e[0]=e[0]+i|0,e[1]=e[1]+a|0,e[2]=e[2]+s|0,e[3]=e[3]+c|0,e[4]=e[4]+l|0,e[5]=e[5]+u|0,e[6]=e[6]+d|0,e[7]=e[7]+f|0};function c(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=i(e),c=e.length*8;o[c>>5]|=128<<24-c%32,o[(c+64>>9<<4)+15]=c;for(var l=0;l<o.length;l+=16)s(r,o,l);var u=a(r);return t&&t.asBytes?u:t&&t.asString?n.convertString.bytesToString(u):n.bytesToHex(u)}c.x2=function(e,t){return c(c(e,{asBytes:!0}),t)}})(e)}))(),1),YC=`https://github.com/alist-org/alist`;function XC(e){return(0,JC.default)(`${e}-${YC}`)}var ZC=typeof window<`u`?window.navigator.userAgent:``,QC=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(ZC);/^((?!chrome|android).)*safari/i.test(ZC),/MicroMessenger/i.test(ZC),/MSIE|Trident/i.test(ZC);var $C=(window?.navigator?.platform??``)?.includes(`Mac`),ew=()=>{let e=ZC,t=window?.navigator?.platform??``;return/android/i.test(e)?`Android`:/iPad|iPhone|iPod/.test(e)||t.includes(`Mac`)&&navigator.maxTouchPoints>1?`iOS`:/windows/i.test(e)?`Windows`:/macintosh|mac os x/i.test(e)?`MacOS`:/linux/i.test(e)?`Linux`:`Unknown`},tw=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`,nw=()=>Array.from({length:5},()=>tw[Math.floor(Math.random()*62)]).join(``),rw=(e,t)=>({base_url:location.origin+ry,...e,...t}),iw=/^\+(?=\d+[wdHms])(?:(\d+)w)?(?:(\d+)d)?(?:(\d+)H)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/,aw=e=>{if(e===void 0)return 0;let t=Number.parseInt(e);return Number.isNaN(t)?0:t},ow=e=>{let t=iw.exec(e);if(t){let e=aw(t[1]),n=aw(t[2])+e*7,r=aw(t[3])+n*24,i=aw(t[4])+r*60,a=aw(t[5])+i*60,o=aw(t[6])+a*1e3;return new Date(Date.now()+o)}else return new Date(e)},sw=e=>e?.total_space&&e?.total_space>0,cw=e=>{let t=e.total_space,n=e.used_space,r=[`B`,`K`,`M`,`G`,`T`,`P`,`E`],i=1024,a=0;for(;a<r.length-1&&(n>=i||t>=i);)n/=i,t/=i,a++;return`${n.toFixed(2)} / ${t.toFixed(2)} ${r[a]}`},lw=e=>{if(!e.total_space||e.total_space<=0)return 0;let t=e.total_space,n=!e.used_space||e.used_space<=0?0:e.used_space;return n>=t?100:n/t*100},uw=e=>e.free_space/e.total_space<.1,dw={};document.addEventListener(`keydown`,e=>{dw[e.key]=!0}),document.addEventListener(`keyup`,e=>{delete dw[e.key]});var[fw,pw,{remove:mw,clear:hw,toJSON:gw}]=$v(),_w=[{key:`aria2_rpc_url`,default:`http://localhost:6800/jsonrpc`},{key:`aria2_rpc_secret`,default:``},{key:`global_default_layout`,default:`list`,type:`select`,options:[`list`,`grid`,`image`]},{key:`show_folder_in_image_view`,default:`top`,type:`select`,options:[`top`,`bottom`,`none`]},{key:`show_sidebar`,default:`none`,type:`select`,options:[`none`,`visible`]},{key:`show_count_msg`,default:`none`,type:`select`,options:[`none`,`visible`]},{key:`position_of_header_navbar`,default:`static`,type:`select`,options:[`static`,`sticky`,`only_navbar_sticky`]},{key:`grid_item_size`,default:`90`,type:`number`},{key:`list_item_filename_overflow`,default:`ellipsis`,type:`select`,options:[`ellipsis`,`scrollable`,`multi_line`]},{key:`open_item_on_checkbox`,default:`direct`,type:`select`,options:[`direct`,`dblclick`,`disable_while_checked`],hidden:!1},{key:`editor_font_size`,default:`14`,type:`number`},{key:`show_gallery_thumbnails`,default:`visible`,type:`select`,options:[`none`,`visible`]}];for(let e of _w)fw[e.key]||pw(e.key,e.default);var vw=(e,t,n)=>{let[r,i]=O(n);return[r,async(...n)=>{i(!0);let r=await e(...n);return(!t||r.code!==401)&&i(!1),r}]},yw=(e,t)=>vw(e,!0,t),bw=(e,t,n)=>{let[r,i]=O(n);return[r,async(n,...r)=>{i(()=>n);let a=await e(n,...r);return(!t||a.code!==401)&&i(void 0),a}]},xw=(e,t)=>bw(e,!0,t),Sw=()=>{let e=Dn(),t=On(),n=An(),r=A(()=>my(decodeURIComponent(t.pathname)));return{to:(t,n,r)=>{!n&&t.startsWith(`/`)&&(t=py(t)),AE(decodeURIComponent(t)),e(t,r)},replace:t=>{let n=py(_y(fy(gy(r()),t),!0));AE(decodeURIComponent(n)),e(n)},pushHref:e=>_y(fy(r(),e)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,isShare:A(()=>r().startsWith(`/@s`)),search:t.search,searchParams:t.query,setSearchParams:(n,i)=>{let a=j(()=>_n(t.search,n));e(py(r()+a),{scroll:!1,...i,resolve:!0})},params:n}},Cw=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},ww=e=>e!=null&&(e=Object.getPrototypeOf(e),e===Array.prototype||e===Object.prototype);function Tw(e,t,n){for(let[r,i]of Object.entries(t)){let t=`${n}.${r}`;e[t]=i,ww(i)&&Tw(e,i,t)}}function Ew(e){let t={...e};for(let[n,r]of Object.entries(e))ww(r)&&Tw(t,r,n);return t}var Dw=(e,t)=>{if(t)for(let[n,r]of Object.entries(t))e=e.replace(RegExp(`{{\\s*${n}\\s*}}`,`g`),r);return e},Ow=(e=>e);function kw(e,t=Ow){return(n,...r)=>{n[0]===`.`&&(n=n.slice(1));let i=e()?.[n];switch(typeof i){case`function`:return i(...r);case`string`:return t(i,r[0]);default:return i}}}var Aw=`modulepreload`,jw=function(e){return`${ window.__dynamic_base__}/`+e},Mw={},Nw=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=jw(t,n),t in Mw)return;Mw[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Aw,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Pw=Object.assign({"/src/lang/en/index.json":r,"/src/lang/zh-CN/index.json":i,"/src/lang/zh-TW/index.json":a}),Fw=Object.keys(Pw).map(e=>({code:e.split(`/`)[3],lang:Pw[e]})),Iw=navigator.language.toLowerCase(),Lw=Fw.find(e=>e.code.toLowerCase()===Iw)?.code||Fw.find(e=>e.code.toLowerCase().split(`-`)[0]===Iw.split(`-`)[0])?.code||`en`,Rw=localStorage.getItem(`lang`)??Lw;Fw.some(e=>e.code===Rw)||(Rw=Lw);var zw=async e=>{try{let t=(await Cw(Object.assign({"../lang/en/entry.ts":()=>Nw(()=>import(`./entry-qwQ4wb-T.js`),__vite__mapDeps([0,1])),"../lang/zh-CN/entry.ts":()=>Nw(()=>import(`./entry-3rHAewcp.js`),__vite__mapDeps([2,3])),"../lang/zh-TW/entry.ts":()=>Nw(()=>import(`./entry-Alew7k6N.js`),__vite__mapDeps([4,5]))}),`../lang/${e}/entry.ts`,4)).dict;return Ew(t)}catch(t){throw console.error(`Error loading dictionary for locale: ${e}`,t),Error(`Failed to load dictionary for ${e}`)}},[Bw,Vw]=O(Rw),[Hw]=ae(Bw,zw),Uw=kw(Hw),Ww=(e,t)=>{let n=Uw(e);if(typeof n==`string`)return t&&Dw(n,t)||n},Gw=()=>(e,t,n)=>Ww(e,t)||n||Kw(e),Kw=e=>{let t=e.lastIndexOf(`.`);return t===e.length-1&&(t=e.lastIndexOf(`.`,t-1)),sC(e.slice(t+1)).split(`_`).join(` `)},qw=0,Jw={},Yw=e=>{let t=(qw++).toString(),n=[];for(let e in Jw)Jw[e]&&(n.push(e),Jw[e]=!1);Jw[t]=!0,document.title,typeof e==`function`?re(()=>{Jw[t]&&(document.title=e())}):document.title=e,P(()=>{delete Jw[t];for(let e in n)Jw[e]=!0})},Xw=()=>{let e=Gw(),{pathname:t}=Sw();Yw(()=>`${t()===`/`?e(`manage.sidemenu.home`):hy(t())} | ${oE(`site_title`)}`)},Zw=e=>{let t=Gw();Yw(()=>`${t(e)} | ${t(`manage.title`)}`)},Qw=!0,$w,eT,tT={},nT=1,rT=()=>nT,iT=e=>{nT=e},aT=()=>{iT(1)},oT=()=>{let{pathname:e,to:t,searchParams:n}=Sw(),[,r]=yw(e=>EC(e,YT(),new _S.CancelToken(e=>{$w=e}))),i=hE();i.type===`pagination`&&iT(parseInt(n.page)||1);let[,a]=yw(e=>{let t={index:e?.index,size:e?.size};return DC(e?.path,YT(),t.index,t.size,e?.force,new _S.CancelToken(e=>{eT=e}))}),o=(t,n=!0,r=!1)=>{r&&(t=fy(e(),t)),n?tT[t]=!0:delete tT[t]},s=!1,c=(e,t,n,r)=>($w?.(),eT?.(),s=n??!1,ET.setErr(``),kE(e,t)?(`${EE(e,t)}`,OE(e,t)):tT[e]?(`${EE(e,t)}`,u(e,t,void 0,void 0,r)):(`${EE(e,t)}`,l(e,t))),l=async(e,t)=>{ET.setState(CT.FetchingObj),xC(await r(e),n=>{ET.setObj(n),ET.setProvider(n.provider),n.is_dir?(o(e),u(e,t)):(ET.setReadme(n.readme),ET.setHeader(n.header),ET.setRelated(n.related??[]),ET.setRawUrl(n.raw_url),ET.setState(CT.File))},d)},u=async(e,t,n,r=!1,o,s=!1)=>{n||(n=i.size),n!==void 0&&i.type===`all`&&(n=void 0),!s&&ET.setState(r?CT.FetchingMore:CT.FetchingObjs),xC(await a({path:e,index:t,size:n,force:o}),e=>{iT(t??1),r?OT(e.content):(ET.setObjs(e.content??[]),ET.setTotal(e.total)),!s&&(ET.setReadme(e.readme),ET.setHeader(e.header),ET.setWrite(e.write),ET.setWriteContentBypass(e.write_content_bypass),ET.setProvider(e.provider),ET.setDirectUploadTools(e.direct_upload_tools),ET.setState(CT.Folder))},d)},d=(n,r)=>{if(r===403)ET.setState(CT.NeedPassword),s&&ly.error(n);else{let i=xE().base_path;if(Qw&&i!=`/`&&e().includes(i)&&n.endsWith(`object not found`)){Qw=!1,t(e().replace(i,``));return}(r===void 0||r>=0)&&ET.setErr(n)}},f=()=>u(e(),nT+1,void 0,!0);return{handlePathChange:c,handleFolder:u,setPathAs:o,refresh:async(t,n)=>{let r=e(),a=window.scrollY;if(AE(r,nT),i.type===`load_more`||i.type===`auto_load_more`){let e=nT;for(aT(),await c(r,nT,t,n);nT<e;)await f()}else await c(r,nT,t,n);window.scroll({top:a,behavior:`smooth`})},loadMore:f,allLoaded:()=>nT>=Math.ceil(wT.total/i.size)}},sT=(e,t,n=`direct`,r,i)=>{n!==`preview`&&(e=r?e.substring(3):fy(xE().base_path,e)),e=uy(e,!0);let a=`${e}/${t.name}`;a=_y(a,i);let o=iy,s=r?`/sd`:n===`direct`?`/d`:`/p`;n===`preview`&&(s=``,iy.startsWith(location.origin+ry)||(o=location.origin+ry));let{inner_path:c,archive:l}=t;l&&(s=`/ae`,a=`${e}/${l.name}`,a=_y(a,i));let u=`${o}${s}${a}`;if(n!==`preview`&&!r&&t.sign&&(u+=`?sign=${t.sign}`),n!==`preview`&&r){let e=ny.getItem(`browser-password`)||``;e&&(u+=`?pwd=${e}`)}if(l){let e=`${c}/${t.name}`;u+=`${u.includes(`?`)?`&`:`?`}inner=${_y(e,i)}`}return u},cT=()=>{let{pathname:e,isShare:t}=Sw(),n=(n,r,i)=>sT(wT.state===CT.File?gy(e()):e(),n,r,t(),i),r=(e,t)=>n(e,`direct`,t);return{getLinkByObj:n,rawLink:r,proxyLink:(e,t)=>n(e,`proxy`,t),previewPage:(e,t)=>n(e,`preview`,t),currentObjLink:e=>r(wT.obj,e)}},lT=()=>{let{previewPage:e,rawLink:t}=cT(),n=e=>MT().filter(e=>!e.is_dir).map(n=>t(n,e));return{rawLinks:n,previewPagesText:()=>MT().map(t=>e(t,!0)).join(`
40
40
  `),rawLinksText:e=>n(e).join(`
41
41
  `)}},uT=()=>{let{copy:e}=pT(),{previewPagesText:t,rawLinksText:n}=lT(),{currentObjLink:r}=cT();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:t=>{e(n(t))},copyCurrentRawLink:t=>{e(r(t))}}},dT=n(((e,t)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case`INPUT`:case`TEXTAREA`:t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type===`Caret`&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}})),fT=e(n(((e,t)=>{var n=dT(),r={"text/plain":`Text`,"text/html":`Url`,default:`Text`},i=`Copy to clipboard: #{key}, Enter`;function a(e){var t=(/mac os x/i.test(navigator.userAgent)?`⌘`:`Ctrl`)+`+C`;return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var o,s,c,l,u,d,f=!1;t||(t={}),o=t.debug||!1;try{if(c=n(),l=document.createRange(),u=document.getSelection(),d=document.createElement(`span`),d.textContent=e,d.ariaHidden=`true`,d.style.all=`unset`,d.style.position=`fixed`,d.style.top=0,d.style.clip=`rect(0, 0, 0, 0)`,d.style.whiteSpace=`pre`,d.style.webkitUserSelect=`text`,d.style.MozUserSelect=`text`,d.style.msUserSelect=`text`,d.style.userSelect=`text`,d.addEventListener(`copy`,function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),n.clipboardData===void 0){o&&console.warn(`unable to use e.clipboardData`),o&&console.warn(`trying IE specific stuff`),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),l.selectNodeContents(d),u.addRange(l),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);f=!0}catch(n){o&&console.error(`unable to copy using execCommand: `,n),o&&console.warn(`trying IE specific stuff`);try{window.clipboardData.setData(t.format||`text`,e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(n){o&&console.error(`unable to copy using clipboardData: `,n),o&&console.error(`falling back to prompt`),s=a(`message`in t?t.message:i),window.prompt(s,e)}}finally{u&&(typeof u.removeRange==`function`?u.removeRange(l):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return f}t.exports=o}))(),1),pT=()=>{let e=Gw(),{pathname:t}=Sw();return{copy:t=>{(0,fT.default)(t),ly.success(e(`global.copied`))},isHide:e=>{let n=_E();for(let r of n)if(r.test(fy(t(),e.name)))return!0;return!1},isHidePath:e=>{let t=_E();for(let n of t)if(n.test(e))return!0;return!1}}};function mT(e){let{proxyLink:t}=cT();return ae(``,async()=>{let n=t(wT.obj,!0);if(e){let e=n.includes(`?`)?`&`:`?`;n=`${n}${e}raw=true`}return HC(n)})}function hT(e){let t=typeof e==`string`;return{isString:t,text:(n=`utf-8`)=>e?t?e:_C(e,n):``}}function gT(e){return e==null||e===``}function _T(e){return e==null}async function vT(e,t){let n=`/downloads/openlist`,r=await _S.post(e,{id:Math.random().toString(),jsonrpc:`2.0`,method:`aria2.getGlobalOption`,params:[`token:`+(t??``)]});return console.log(r),r.status===200&&(gT(r.data.result.dir)||(n=r.data.result.dir),n=n.endsWith(`/`)?n.slice(0,-1):n),n}var yT=()=>{let{rawLinks:e}=lT(),t=Gw(),{pathname:n,isShare:r}=Sw();return{batchDownloadSelected:()=>{e(!0).forEach(e=>{window.open(e,`_blank`)})},sendToAria2:async()=>{let e=MT(),i=async(e,t)=>{if(t.is_dir){let r=await DC(fy(n(),e,t.name),YT());if(r.code!==200)return r.message;let a=[];for(let n of r.data.content??[]){let r=await i(fy(e,t.name),n);if(typeof r==`string`)return r;a.push(...r)}return a}else return[{path:fy(e,t.name),dir:e,url:sT(fy(n(),e),t,`direct`,r(),!0),name:t.name}]},{aria2_rpc_url:a,aria2_rpc_secret:o}=fw;if(!a){ly.warning(t(`home.toolbar.aria2_not_set`));return}try{let n=`/downloads/openlist`;n=await vT(a,o);let r=!1;ly.info(`${t(`home.package_download.fetching_struct`)}`);for(let s of e){let e=await i(``,s);if(typeof e!=`object`||e.length===void 0)return ly.error(`${t(`home.package_download.fetching_struct_failed`)}: ${e}`),e;for(let i=0;i<e.length;i++){if(gT(e[i].path)||_T(e[i].dir)||gT(e[i].url)||gT(e[i].name)){ly.error(`${t(`home.package_download.fetching_struct_failed`)}: ${JSON.stringify(e[i])}`);continue}r||(r=!0,ly.info(`${t(`home.package_download.downloading`)}`));let s=await _S.post(a,{id:Math.random().toString(),jsonrpc:`2.0`,method:`aria2.addUri`,params:[`token:`+(o??``),[e[i].url],{out:e[i].name,dir:n+e[i].dir,"check-certificate":`false`}]});console.log(s)}}ly.success(t(`home.toolbar.send_aria2_success`))}catch(e){console.error(e),ly.error(`failed to send to aria2: ${e}`)}},playlistDownloadSelected:()=>{let r=MT().filter(e=>!e.is_dir),i=hy(n());r.length===1&&(i=r[0].name),i||(i=t(`manage.sidemenu.home`));let a=r.reduce((t,n,r)=>`${t}#EXTINF:-1,${n.name}\n${e(!0)[r]}\n`,`#EXTM3U
42
- `),o=new Blob([a],{type:`application/x-mpegURL`}),s=document.createElement(`a`);s.href=URL.createObjectURL(o),s.download=`${i}.m3u8`,s.click(),URL.revokeObjectURL(s.href)}}},bT={name:`@openlist-frontend/openlist-frontend`,version:`4.2.0`,type:`module`,author:{name:`The OpenList Projects Contributors`,url:`https://github.com/OpenListTeam`},description:`A new AList Fork to Anti Trust Crisis`,packageManager:`pnpm@10.33.0`,repository:{type:`git`,url:`git+https://github.com/OpenListTeam/OpenList-Frontend.git`},bugs:{url:`https://github.com/OpenListTeam/OpenList/issues`},files:[`dist`],homepage:`https://openlist.team/`,scripts:{"crowdin:upload":`crowdin upload sources --auto-update`,"crowdin:download":`crowdin download --verbose`,crowdin:`pnpm crowdin:upload && pnpm crowdin:download`,"i18n:build":`pnpm crowdin && node ./scripts/i18n.mjs`,"i18n:release":`pnpm run crowdin:download && node ./scripts/i18n.mjs`,start:`vite`,dev:`vite --force`,build:`vite build`,"build:lite":`cross-env VITE_LITE=true vite build`,serve:`vite preview`,prepare:`husky`,lint:`tsc -p tsconfig.json --noEmit`,format:`prettier --ignore-path .gitignore -w "src/**/*.{js,ts,json,css,tsx,jsx}"`},license:`MIT`,devDependencies:{"@crowdin/cli":`^4.14.1`,"@hrgui/libass-wasm-ts":`^1.0.3`,"@types/bencode":`^2.0.4`,"@types/crypto-js":`^4.2.2`,"@types/mark.js":`^8.11.12`,"@types/node":`^24.12.0`,"@types/qrcode":`^1.5.6`,"@types/sha256":`^0.2.2`,"@types/streamsaver":`^2.0.5`,"@vitejs/plugin-legacy":`^8.0.1`,"cross-env":`^10.1.0`,husky:`^9.1.7`,"lint-staged":`^16.4.0`,mermaid:`^11.14.0`,prettier:`3.8.1`,"rehype-stringify":`^10.0.1`,"remark-parse":`^11.0.0`,"remark-rehype":`^11.1.2`,terser:`^5.46.1`,typescript:`^5.9.3`,unified:`^11.0.5`,vite:`^8.0.3`,"vite-plugin-dynamic-base":`^1.3.0`,"vite-plugin-solid":`^2.11.11`,"vite-plugin-static-copy":`^3.4.0`},dependencies:{"@egjs/view360":`4.0.0-beta.7`,"@embedpdf/snippet":`^2.12.1`,"@github/webauthn-json":`^2.1.1`,"@hope-ui/solid":`0.6.7`,"@monaco-editor/loader":`1.7.0`,"@ruffle-rs/ruffle":`0.2.0-nightly.2026.3.23`,"@solid-primitives/i18n":`^2.2.1`,"@solid-primitives/keyboard":`^1.3.5`,"@solid-primitives/storage":`^1.3.11`,"@solidjs/router":`^0.9.1`,"@stitches/core":`^1.2.8`,"@types/ini":`^4.1.1`,"@viselect/vanilla":`^3.9.0`,aplayer:`^1.10.1`,artplayer:`^5.4.0`,"artplayer-plugin-danmuku":`^5.3.0`,"asciinema-player":`^3.15.1`,axios:`^1.13.6`,bencode:`^4.0.0`,chardet:`^2.1.1`,clsx:`^2.1.1`,"copy-to-clipboard":`^3.3.3`,"crypto-js":`^4.2.0`,"docx-preview":`^0.3.7`,handlebars:`^4.7.9`,"hash-wasm":`^4.12.0`,"highlight.js":`^11.11.1`,"hls.js":`^1.6.15`,ini:`^6.0.0`,"just-once":`^2.2.0`,katex:`^0.16.44`,"libass-wasm":`^4.1.0`,"libheif-js":`^1.19.8`,lightgallery:`^2.9.0`,"mark.js":`^8.11.1`,mitt:`^3.0.1`,"monaco-editor":`0.55.1`,"mpegts.js":`^1.8.0`,qrcode:`^1.5.4`,"rehype-katex":`7.0.1`,"rehype-raw":`^7.0.0`,"rehype-sanitize":`^6.0.0`,"remark-gfm":`4.0.1`,"remark-math":`6.0.0`,seemly:`^0.3.10`,sha256:`^0.2.0`,"solid-contextmenu":`0.0.2`,"solid-icons":`^1.1.0`,"solid-js":`^1.9.12`,"solid-motionone":`^1.0.4`,"solid-transition-group":`^0.3.0`,streamsaver:`^2.0.6`,"typescript-natural-sort":`^0.7.2`},"lint-staged":{"**/*.{js,ts,css,tsx,jsx,md,html,yml,yaml}":`prettier --write`}},xT=()=>{py(`static`);let e=(e,t,n)=>`https://registry.npmmirror.com/${e}/${t}/files/${n}`;return{npm:e,monacoPath:()=>e(`monaco-editor`,`0.55.1`,`min/vs`),katexCSSPath:()=>e(`katex`,`0.16.28`,`dist/katex.min.css`),mermaidJSPath:()=>e(`mermaid`,`11.13.0`,`dist/mermaid.min.js`),ruffleJSPath:()=>e(bT.name,bT.version,`dist/static/ruffle/ruffle.js`),libHeifPath:()=>e(bT.name,bT.version,`dist/static/libheif`),libAssPath:()=>e(bT.name,bT.version,`dist/static/libass-wasm`),fontsPath:()=>e(bT.name,bT.version,`dist/static/fonts`)}},ST=e(Jv(),1),CT=function(e){return e[e.Initial=0]=`Initial`,e[e.FetchingObj=1]=`FetchingObj`,e[e.FetchingObjs=2]=`FetchingObjs`,e[e.FetchingMore=3]=`FetchingMore`,e[e.Folder=4]=`Folder`,e[e.File=5]=`File`,e[e.NeedPassword=6]=`NeedPassword`,e}({}),[wT,TT]=nr({obj:{},raw_url:``,related:[],objs:[],total:0,readme:``,header:``,provider:``,direct_upload_tools:void 0,state:CT.Initial,err:``}),ET={set:e=>{TT(e)},setObj:e=>{TT(`obj`,e)},setRawUrl:e=>{TT(`raw_url`,e)},setProvider:e=>{TT(`provider`,e)},setObjs:e=>{kT.start=-1,kT.end=-1,TT(`objs`,e),TT(`obj`,`is_dir`,!0)},setTotal:e=>{TT(`total`,e)},setReadme:e=>TT(`readme`,e),setHeader:e=>TT(`header`,e),setRelated:e=>TT(`related`,e),setWrite:e=>TT(`write`,e),setWriteContentBypass:e=>TT(`write_content_bypass`,e),setState:e=>TT(`state`,e),setDirectUploadTools:e=>TT(`direct_upload_tools`,e),setErr:e=>TT(`err`,e)},DT=(e,t)=>{TT(`objs`,ar(n=>n.sort((n,r)=>(t?-1:1)*(0,ST.default)(n[e],r[e]))))},OT=e=>{TT(`objs`,ar(t=>t.push(...e)))},kT={start:-1,end:-1},AT=(e,t,n)=>{if(n&&jT(!1),dw.Shift){if(kT.start<0){for(let t=0;t<Math.max(e+1,wT.objs.length-e);++t)if(wT.objs[e-t]?.selected){kT.start=e-t,kT.end=e-t;break}else if(wT.objs[e+t]?.selected){kT.start=e+t,kT.end=e+t;break}}let t=Math.abs(kT.end-kT.start),n=Math.sign(kT.end-kT.start);for(let e=1;e<=t;++e)TT(`objs`,kT.start+n*e,{selected:!1});let r=Math.abs(e-kT.start),i=Math.sign(e-kT.start);for(let e=0;e<=r;++e)TT(`objs`,kT.start+i*e,{selected:!0});kT.end=e}else TT(`objs`,e,{selected:t}),t?(kT.start=e,kT.end=e):(kT.end=-1,kT.start=-1)},jT=e=>{TT(`objs`,{},t=>({selected:e}))},MT=()=>wT.objs.filter(e=>e.selected),NT=()=>wT.objs.length===LT(),PT=()=>LT()===1,FT=()=>LT()>0,IT=()=>LT()>0&&LT()<wT.objs.length,LT=A(()=>MT().length),[RT,zT]=O(location.pathname),BT=(()=>{try{return JSON.parse(localStorage.getItem(`layoutRecord`)||`{}`)}catch{return{}}})();oy.on(`pathname`,e=>zT(e));var[VT,HT]=O(BT[RT()]||fw.global_default_layout),UT=()=>{let e=BT[RT()];return HT(e||fw.global_default_layout),VT()},WT=e=>{BT[RT()]=e,localStorage.setItem(`layoutRecord`,JSON.stringify(BT)),HT(e)},[GT,KT]=Qv(`checkbox-open`,`false`),qT=()=>GT()===`true`,JT=()=>{KT(qT()?`false`:`true`)},[YT,XT]=O(ny.getItem(`browser-password`)||``),ZT=e=>{XT(e),ny.setItem(`browser-password`,e)},QT=(e,t,n)=>{let r=Gw();if(n&&(e=e.filter(e=>e.is_dir||e.type===n)),e.length===0)return``;let i=e.filter(e=>e.is_dir).length,a=e.length-i,o={folders:i.toString(),files:a.toString()},s=i&&a?`${t}`:i?`${t}_folders`:a?`${t}_files`:``;return s?r(`home.obj.count.${s}`,o):``},$T=e=>QT(wT.objs,`count`,e),eE=e=>{let t=MT();return t.length>0?QT(t,`selected`,e):``},tE=e=>{let t=MT();return t.length>0?QT(t,`selected`,e):$T(e)},[nE,rE]=nr({asTask:!1,overwrite:!1,rapid:!0}),iE={},aE=e=>{Object.keys(e).forEach(t=>{iE[t]=e[t]});let t=iE.version||`Unknown`;console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,`color: #fff; background: #5f5f5f`,`color: #fff; background: #70c6be`,``)},oE=e=>iE[e]??``,sE=e=>{let t=oE(e);return t===`true`||t===`1`},cE=(e,t)=>{let n=oE(e);return n?Number(n):t??0},lE=()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:oE(`main_color`)||`#1890ff`,uE={},dE=e=>{if(!uE[e])try{uE[e]=JSON.parse(oE(e))}catch(t){console.error(`failed parse ${e}, use default`,t),uE[e]={}}return uE[e]},fE=(e,t)=>{let n=vy(e).toLowerCase(),r=[];for(let e in dE(t))e.startsWith(`/`)?pC(e).test(n)&&r.push(...Sy(dE(t)[e])):e.split(`,`).includes(n)&&r.push(...Sy(dE(t)[e]));return r},pE=e=>fE(e,`external_previews`),mE=e=>fE(e,`iframe_previews`),hE=()=>({type:oE(`pagination_type`)||`all`,size:cE(`default_page_size`,30)}),gE,_E=()=>(gE||(gE=oE(`hide_files`).split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,`$1`),n=e.replace(/^\/(.*)\/([a-z]*)$/,`$2`);return new RegExp(t,n)})),gE),vE=function(e){return e[e.GENERAL=0]=`GENERAL`,e[e.GUEST=1]=`GUEST`,e[e.ADMIN=2]=`ADMIN`,e}({}),yE=[`see_hides`,`access_without_password`,`offline_download`,`write_content`,`rename`,`move`,`copy`,`delete`,`webdav_read`,`webdav_manage`,`ftp_read`,`ftp_manage`,`read_archives`,`decompress`,`share`],bE={is_guest:e=>e.role===vE.GUEST,is_admin:e=>e.role===vE.ADMIN,is_general:e=>e.role===vE.GENERAL,can:(e,t)=>(e.permission>>t&1)==1},[xE,SE]=O({}),CE=e=>{let t=xE();return bE.can(t,yE.indexOf(e))},wE=new Map,TE=()=>new Promise(e=>setTimeout(e)),EE=(e,t)=>{let n=e.split(`?`)[0];return t&&t>1?`${n}?page=${t}`:n},DE=(e,t)=>{let n=JSON.parse(JSON.stringify(wT));if(![CT.FetchingMore,CT.Folder,CT.File].includes(wT.state))return;wT.state===CT.FetchingMore&&(n.state=CT.Folder);let r=EE(e,t),i={obj:n,page:t??rT(),scroll:window.scrollY};wE.set(r,i),console.log(`record history: [${r}]`)},OE=async(e,t)=>{let n=EE(e,t);if(!wE.has(n))return;let r=wE.get(n);iT(r.page),ET.setState(CT.Initial),await TE(),ET.set(JSON.parse(JSON.stringify(r.obj))),await TE(),window.scroll({top:r.scroll})},kE=(e,t)=>{let n=EE(e,t);return wE.has(n)},AE=(e,t)=>{let n=EE(e,t);kE(e,t)&&(wE.delete(n),console.log(`clear history: [${n}]`))};document.addEventListener(`click`,e=>{let t=e.target.closest(`a`)?.getAttribute(`href`);t&&AE(decodeURIComponent(t))},!0);var jE=[],ME=e=>{jE=e},NE=e=>(e=e.toLowerCase(),jE.some(t=>e.endsWith(t)));export{Gw as $,F as $i,Hp as $n,qv as $r,yC as $t,AT as A,bt as Ai,Fu as An,Lg as Ar,EC as At,xT as B,kt as Bi,up as Bn,__ as Br,VC as Bt,$T as C,dn as Ci,cu as Cn,Xh as Cr,HC as Ct,wT as D,Yt as Di,Cd as Dn,Sg as Dr,jC as Dt,UT as E,nn as Ei,bd as En,vg as Er,RC as Et,rE as F,Dt as Fi,Yf as Fn,r_ as Fr,NC as Ft,sT as G,tt as Gi,xp as Gn,G_ as Gr,SC as Gt,mT as H,it as Hi,Yd as Hn,O_ as Hr,wC as Ht,tE as I,Ot as Ii,Qf as In,kp as Ir,FC as It,rT as J,et as Ji,Np as Jn,Y_ as Jr,dC as Jt,uT as K,B as Ki,wp as Kn,zv as Kr,xC as Kt,DT as L,Wt as Li,Zf as Ln,i_ as Lr,IC as Lt,MT as M,ht as Mi,cf as Mn,Wg as Mr,kC as Mt,WT as N,vt as Ni,Nf as Nn,Kg as Nr,MC as Nt,PT as O,qt as Oi,Td as On,Eg as Or,PC as Ot,ZT as P,V as Pi,If as Pn,e_ as Pr,LC as Pt,Yw as Q,ne as Qi,Ip as Qn,uh as Qr,cC as Qt,JT as R,Et as Ri,cp as Rn,a_ as Rr,AC as Rt,qT as S,gn as Si,au as Sn,Jh as Sr,WC as St,IT as T,rn as Ti,Z as Tn,tg as Tr,zC as Tt,hT as U,Qe as Ui,gp as Un,R_ as Ur,bC as Ut,yT as V,Ut as Vi,fp as Vn,ch as Vr,GC as Vt,pT as W,$e as Wi,yp as Wn,U_ as Wr,CC as Wt,Zw as X,ge as Xi,Tl as Xn,Kv as Xr,vC as Xt,oT as Y,oe as Yi,Rc as Yn,Z_ as Yr,lC as Yt,Xw as Z,L as Zi,Pp as Zn,$_ as Zr,gC as Zt,aE as _,On as _i,Qv as _n,Oh as _r,nw as _t,xE as a,O as aa,si as ai,by as an,Im as ar,yw as at,YT as b,wn as bi,Gl as bn,Lh as br,QC as bt,bE as c,R as ca,ar as ci,py as cn,Vf as cr,_w as ct,pE as d,N as da,Pn as di,fy as dn,Gf as dr,uw as dt,re as ea,ns as ei,yS as en,tm as er,Bw as et,mE as f,z as fa,Rn as fi,dy as fn,qf as fr,sw as ft,sE as g,kn as gi,ry as gn,Eh as gr,rw as gt,oE as h,En as hi,iy as hn,Sh as hr,ow as ht,DE as i,te as ia,bg as ii,yy as in,Dm as ir,Sw as it,eE as j,At as ji,Ad as jn,Hg as jr,DC as jt,jT as k,Ct as ki,Dd as kn,Pg as kr,OC as kt,yE as l,M as la,xn as li,hy as ln,Uf as lr,fw as lt,hE as m,I as ma,Fn as mi,oy as mn,gh as mr,lw as mt,ME as n,k as na,zc as ni,xy as nn,mm as nr,Vw as nt,SE as o,le as oa,ti as oi,_y as on,Bm as or,xw as ot,lE as p,j as pa,Ln as pi,ly as pn,ap as pr,cw as pt,cT as q,ot as qi,lh as qn,Uv as qr,fC as qt,AE as r,ae as ra,Bc as ri,Cy as rn,xm as rr,Nw as rt,CE as s,Je as sa,nr as si,vy as sn,Lf as sr,vw as st,NE as t,A as ta,X as ti,vS as tn,om as tr,Fw as tt,vE as u,P as ua,bn as ui,gy as un,rp as ur,pw as ut,ET as v,Dn as vi,Jv as vn,Mh as vr,ew as vt,FT as w,cn as wi,dd as wn,lg as wr,BC as wt,NT as x,Sn as xi,ru as xn,Gh as xr,XC as xt,CT as y,Tn as yi,Vl as yn,Ih as yr,$C as yt,nE as z,yt as zi,$f as zn,p_ as zr,UC as zt};
42
+ `),o=new Blob([a],{type:`application/x-mpegURL`}),s=document.createElement(`a`);s.href=URL.createObjectURL(o),s.download=`${i}.m3u8`,s.click(),URL.revokeObjectURL(s.href)}}},bT={name:`@openlist-frontend/openlist-frontend`,version:`4.2.1`,type:`module`,author:{name:`The OpenList Projects Contributors`,url:`https://github.com/OpenListTeam`},description:`A new AList Fork to Anti Trust Crisis`,packageManager:`pnpm@10.33.0`,repository:{type:`git`,url:`git+https://github.com/OpenListTeam/OpenList-Frontend.git`},bugs:{url:`https://github.com/OpenListTeam/OpenList/issues`},files:[`dist`],homepage:`https://openlist.team/`,scripts:{"crowdin:upload":`crowdin upload sources --auto-update`,"crowdin:download":`crowdin download --verbose`,crowdin:`pnpm crowdin:upload && pnpm crowdin:download`,"i18n:build":`pnpm crowdin && node ./scripts/i18n.mjs`,"i18n:release":`pnpm run crowdin:download && node ./scripts/i18n.mjs`,start:`vite`,dev:`vite --force`,build:`vite build`,"build:lite":`cross-env VITE_LITE=true vite build`,serve:`vite preview`,prepare:`husky`,lint:`tsc -p tsconfig.json --noEmit`,format:`prettier --ignore-path .gitignore -w "src/**/*.{js,ts,json,css,tsx,jsx}"`},license:`MIT`,devDependencies:{"@crowdin/cli":`^4.14.1`,"@hrgui/libass-wasm-ts":`^1.0.3`,"@types/bencode":`^2.0.4`,"@types/crypto-js":`^4.2.2`,"@types/mark.js":`^8.11.12`,"@types/node":`^24.12.0`,"@types/qrcode":`^1.5.6`,"@types/sha256":`^0.2.2`,"@types/streamsaver":`^2.0.5`,"@vitejs/plugin-legacy":`^8.0.1`,"cross-env":`^10.1.0`,husky:`^9.1.7`,"lint-staged":`^16.4.0`,mermaid:`^11.14.0`,prettier:`3.8.1`,"rehype-stringify":`^10.0.1`,"remark-parse":`^11.0.0`,"remark-rehype":`^11.1.2`,terser:`^5.46.1`,typescript:`^5.9.3`,unified:`^11.0.5`,vite:`^8.0.3`,"vite-plugin-dynamic-base":`^1.3.0`,"vite-plugin-solid":`^2.11.11`,"vite-plugin-static-copy":`^3.4.0`},dependencies:{"@egjs/view360":`4.0.0-beta.7`,"@embedpdf/snippet":`^2.12.1`,"@github/webauthn-json":`^2.1.1`,"@hope-ui/solid":`0.6.7`,"@monaco-editor/loader":`1.7.0`,"@ruffle-rs/ruffle":`0.2.0-nightly.2026.3.23`,"@solid-primitives/i18n":`^2.2.1`,"@solid-primitives/keyboard":`^1.3.5`,"@solid-primitives/storage":`^1.3.11`,"@solidjs/router":`^0.9.1`,"@stitches/core":`^1.2.8`,"@types/ini":`^4.1.1`,"@viselect/vanilla":`^3.9.0`,aplayer:`^1.10.1`,artplayer:`^5.4.0`,"artplayer-plugin-danmuku":`^5.3.0`,"asciinema-player":`^3.15.1`,axios:`^1.13.6`,bencode:`^4.0.0`,chardet:`^2.1.1`,clsx:`^2.1.1`,"copy-to-clipboard":`^3.3.3`,"crypto-js":`^4.2.0`,"docx-preview":`^0.3.7`,handlebars:`^4.7.9`,"hash-wasm":`^4.12.0`,"highlight.js":`^11.11.1`,"hls.js":`^1.6.15`,ini:`^6.0.0`,"just-once":`^2.2.0`,katex:`^0.16.44`,"libass-wasm":`^4.1.0`,"libheif-js":`^1.19.8`,lightgallery:`^2.9.0`,"mark.js":`^8.11.1`,mitt:`^3.0.1`,"monaco-editor":`0.55.1`,"mpegts.js":`^1.8.0`,qrcode:`^1.5.4`,"rehype-katex":`7.0.1`,"rehype-raw":`^7.0.0`,"rehype-sanitize":`^6.0.0`,"remark-gfm":`4.0.1`,"remark-math":`6.0.0`,seemly:`^0.3.10`,sha256:`^0.2.0`,"solid-contextmenu":`0.0.2`,"solid-icons":`^1.1.0`,"solid-js":`^1.9.12`,"solid-motionone":`^1.0.4`,"solid-transition-group":`^0.3.0`,streamsaver:`^2.0.6`,"typescript-natural-sort":`^0.7.2`},"lint-staged":{"**/*.{js,ts,css,tsx,jsx,md,html,yml,yaml}":`prettier --write`}},xT=()=>{py(`static`);let e=(e,t,n)=>`https://registry.npmmirror.com/${e}/${t}/files/${n}`;return{npm:e,monacoPath:()=>e(`monaco-editor`,`0.55.1`,`min/vs`),katexCSSPath:()=>e(`katex`,`0.16.28`,`dist/katex.min.css`),mermaidJSPath:()=>e(`mermaid`,`11.13.0`,`dist/mermaid.min.js`),ruffleJSPath:()=>e(bT.name,bT.version,`dist/static/ruffle/ruffle.js`),libHeifPath:()=>e(bT.name,bT.version,`dist/static/libheif`),libAssPath:()=>e(bT.name,bT.version,`dist/static/libass-wasm`),fontsPath:()=>e(bT.name,bT.version,`dist/static/fonts`)}},ST=e(Jv(),1),CT=function(e){return e[e.Initial=0]=`Initial`,e[e.FetchingObj=1]=`FetchingObj`,e[e.FetchingObjs=2]=`FetchingObjs`,e[e.FetchingMore=3]=`FetchingMore`,e[e.Folder=4]=`Folder`,e[e.File=5]=`File`,e[e.NeedPassword=6]=`NeedPassword`,e}({}),[wT,TT]=nr({obj:{},raw_url:``,related:[],objs:[],total:0,readme:``,header:``,provider:``,direct_upload_tools:void 0,state:CT.Initial,err:``}),ET={set:e=>{TT(e)},setObj:e=>{TT(`obj`,e)},setRawUrl:e=>{TT(`raw_url`,e)},setProvider:e=>{TT(`provider`,e)},setObjs:e=>{kT.start=-1,kT.end=-1,TT(`objs`,e),TT(`obj`,`is_dir`,!0)},setTotal:e=>{TT(`total`,e)},setReadme:e=>TT(`readme`,e),setHeader:e=>TT(`header`,e),setRelated:e=>TT(`related`,e),setWrite:e=>TT(`write`,e),setWriteContentBypass:e=>TT(`write_content_bypass`,e),setState:e=>TT(`state`,e),setDirectUploadTools:e=>TT(`direct_upload_tools`,e),setErr:e=>TT(`err`,e)},DT=(e,t)=>{TT(`objs`,ar(n=>n.sort((n,r)=>(t?-1:1)*(0,ST.default)(n[e],r[e]))))},OT=e=>{TT(`objs`,ar(t=>t.push(...e)))},kT={start:-1,end:-1},AT=(e,t,n)=>{if(n&&jT(!1),dw.Shift){if(kT.start<0){for(let t=0;t<Math.max(e+1,wT.objs.length-e);++t)if(wT.objs[e-t]?.selected){kT.start=e-t,kT.end=e-t;break}else if(wT.objs[e+t]?.selected){kT.start=e+t,kT.end=e+t;break}}let t=Math.abs(kT.end-kT.start),n=Math.sign(kT.end-kT.start);for(let e=1;e<=t;++e)TT(`objs`,kT.start+n*e,{selected:!1});let r=Math.abs(e-kT.start),i=Math.sign(e-kT.start);for(let e=0;e<=r;++e)TT(`objs`,kT.start+i*e,{selected:!0});kT.end=e}else TT(`objs`,e,{selected:t}),t?(kT.start=e,kT.end=e):(kT.end=-1,kT.start=-1)},jT=e=>{TT(`objs`,{},t=>({selected:e}))},MT=()=>wT.objs.filter(e=>e.selected),NT=()=>wT.objs.length===LT(),PT=()=>LT()===1,FT=()=>LT()>0,IT=()=>LT()>0&&LT()<wT.objs.length,LT=A(()=>MT().length),[RT,zT]=O(location.pathname),BT=(()=>{try{return JSON.parse(localStorage.getItem(`layoutRecord`)||`{}`)}catch{return{}}})();oy.on(`pathname`,e=>zT(e));var[VT,HT]=O(BT[RT()]||fw.global_default_layout),UT=()=>{let e=BT[RT()];return HT(e||fw.global_default_layout),VT()},WT=e=>{BT[RT()]=e,localStorage.setItem(`layoutRecord`,JSON.stringify(BT)),HT(e)},[GT,KT]=Qv(`checkbox-open`,`false`),qT=()=>GT()===`true`,JT=()=>{KT(qT()?`false`:`true`)},[YT,XT]=O(ny.getItem(`browser-password`)||``),ZT=e=>{XT(e),ny.setItem(`browser-password`,e)},QT=(e,t,n)=>{let r=Gw();if(n&&(e=e.filter(e=>e.is_dir||e.type===n)),e.length===0)return``;let i=e.filter(e=>e.is_dir).length,a=e.length-i,o={folders:i.toString(),files:a.toString()},s=i&&a?`${t}`:i?`${t}_folders`:a?`${t}_files`:``;return s?r(`home.obj.count.${s}`,o):``},$T=e=>QT(wT.objs,`count`,e),eE=e=>{let t=MT();return t.length>0?QT(t,`selected`,e):``},tE=e=>{let t=MT();return t.length>0?QT(t,`selected`,e):$T(e)},[nE,rE]=nr({asTask:!1,overwrite:!1,rapid:!0}),iE={},aE=e=>{Object.keys(e).forEach(t=>{iE[t]=e[t]});let t=iE.version||`Unknown`;console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,`color: #fff; background: #5f5f5f`,`color: #fff; background: #70c6be`,``)},oE=e=>iE[e]??``,sE=e=>{let t=oE(e);return t===`true`||t===`1`},cE=(e,t)=>{let n=oE(e);return n?Number(n):t??0},lE=()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:oE(`main_color`)||`#1890ff`,uE={},dE=e=>{if(!uE[e])try{uE[e]=JSON.parse(oE(e))}catch(t){console.error(`failed parse ${e}, use default`,t),uE[e]={}}return uE[e]},fE=(e,t)=>{let n=vy(e).toLowerCase(),r=[];for(let e in dE(t))e.startsWith(`/`)?pC(e).test(n)&&r.push(...Sy(dE(t)[e])):e.split(`,`).includes(n)&&r.push(...Sy(dE(t)[e]));return r},pE=e=>fE(e,`external_previews`),mE=e=>fE(e,`iframe_previews`),hE=()=>({type:oE(`pagination_type`)||`all`,size:cE(`default_page_size`,30)}),gE,_E=()=>(gE||(gE=oE(`hide_files`).split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,`$1`),n=e.replace(/^\/(.*)\/([a-z]*)$/,`$2`);return new RegExp(t,n)})),gE),vE=function(e){return e[e.GENERAL=0]=`GENERAL`,e[e.GUEST=1]=`GUEST`,e[e.ADMIN=2]=`ADMIN`,e}({}),yE=[`see_hides`,`access_without_password`,`offline_download`,`write_content`,`rename`,`move`,`copy`,`delete`,`webdav_read`,`webdav_manage`,`ftp_read`,`ftp_manage`,`read_archives`,`decompress`,`share`],bE={is_guest:e=>e.role===vE.GUEST,is_admin:e=>e.role===vE.ADMIN,is_general:e=>e.role===vE.GENERAL,can:(e,t)=>(e.permission>>t&1)==1},[xE,SE]=O({}),CE=e=>{let t=xE();return bE.can(t,yE.indexOf(e))},wE=new Map,TE=()=>new Promise(e=>setTimeout(e)),EE=(e,t)=>{let n=e.split(`?`)[0];return t&&t>1?`${n}?page=${t}`:n},DE=(e,t)=>{let n=JSON.parse(JSON.stringify(wT));if(![CT.FetchingMore,CT.Folder,CT.File].includes(wT.state))return;wT.state===CT.FetchingMore&&(n.state=CT.Folder);let r=EE(e,t),i={obj:n,page:t??rT(),scroll:window.scrollY};wE.set(r,i),console.log(`record history: [${r}]`)},OE=async(e,t)=>{let n=EE(e,t);if(!wE.has(n))return;let r=wE.get(n);iT(r.page),ET.setState(CT.Initial),await TE(),ET.set(JSON.parse(JSON.stringify(r.obj))),await TE(),window.scroll({top:r.scroll})},kE=(e,t)=>{let n=EE(e,t);return wE.has(n)},AE=(e,t)=>{let n=EE(e,t);kE(e,t)&&(wE.delete(n),console.log(`clear history: [${n}]`))};document.addEventListener(`click`,e=>{let t=e.target.closest(`a`)?.getAttribute(`href`);t&&AE(decodeURIComponent(t))},!0);var jE=[],ME=e=>{jE=e},NE=e=>(e=e.toLowerCase(),jE.some(t=>e.endsWith(t)));export{Gw as $,F as $i,Hp as $n,qv as $r,yC as $t,AT as A,bt as Ai,Fu as An,Lg as Ar,EC as At,xT as B,kt as Bi,up as Bn,__ as Br,VC as Bt,$T as C,dn as Ci,cu as Cn,Xh as Cr,HC as Ct,wT as D,Yt as Di,Cd as Dn,Sg as Dr,jC as Dt,UT as E,nn as Ei,bd as En,vg as Er,RC as Et,rE as F,Dt as Fi,Yf as Fn,r_ as Fr,NC as Ft,sT as G,tt as Gi,xp as Gn,G_ as Gr,SC as Gt,mT as H,it as Hi,Yd as Hn,O_ as Hr,wC as Ht,tE as I,Ot as Ii,Qf as In,kp as Ir,FC as It,rT as J,et as Ji,Np as Jn,Y_ as Jr,dC as Jt,uT as K,B as Ki,wp as Kn,zv as Kr,xC as Kt,DT as L,Wt as Li,Zf as Ln,i_ as Lr,IC as Lt,MT as M,ht as Mi,cf as Mn,Wg as Mr,kC as Mt,WT as N,vt as Ni,Nf as Nn,Kg as Nr,MC as Nt,PT as O,qt as Oi,Td as On,Eg as Or,PC as Ot,ZT as P,V as Pi,If as Pn,e_ as Pr,LC as Pt,Yw as Q,ne as Qi,Ip as Qn,uh as Qr,cC as Qt,JT as R,Et as Ri,cp as Rn,a_ as Rr,AC as Rt,qT as S,gn as Si,au as Sn,Jh as Sr,WC as St,IT as T,rn as Ti,Z as Tn,tg as Tr,zC as Tt,hT as U,Qe as Ui,gp as Un,R_ as Ur,bC as Ut,yT as V,Ut as Vi,fp as Vn,ch as Vr,GC as Vt,pT as W,$e as Wi,yp as Wn,U_ as Wr,CC as Wt,Zw as X,ge as Xi,Tl as Xn,Kv as Xr,vC as Xt,oT as Y,oe as Yi,Rc as Yn,Z_ as Yr,lC as Yt,Xw as Z,L as Zi,Pp as Zn,$_ as Zr,gC as Zt,aE as _,On as _i,Qv as _n,Oh as _r,nw as _t,xE as a,O as aa,si as ai,by as an,Im as ar,yw as at,YT as b,wn as bi,Gl as bn,Lh as br,QC as bt,bE as c,R as ca,ar as ci,py as cn,Vf as cr,_w as ct,pE as d,N as da,Pn as di,fy as dn,Gf as dr,uw as dt,re as ea,ns as ei,yS as en,tm as er,Bw as et,mE as f,z as fa,Rn as fi,dy as fn,qf as fr,sw as ft,sE as g,kn as gi,ry as gn,Eh as gr,rw as gt,oE as h,En as hi,iy as hn,Sh as hr,ow as ht,DE as i,te as ia,bg as ii,yy as in,Dm as ir,Sw as it,eE as j,At as ji,Ad as jn,Hg as jr,DC as jt,jT as k,Ct as ki,Dd as kn,Pg as kr,OC as kt,yE as l,M as la,xn as li,hy as ln,Uf as lr,fw as lt,hE as m,I as ma,Fn as mi,oy as mn,gh as mr,lw as mt,ME as n,k as na,zc as ni,xy as nn,mm as nr,Vw as nt,SE as o,le as oa,ti as oi,_y as on,Bm as or,xw as ot,lE as p,j as pa,Ln as pi,ly as pn,ap as pr,cw as pt,cT as q,ot as qi,lh as qn,Uv as qr,fC as qt,AE as r,ae as ra,Bc as ri,Cy as rn,xm as rr,Nw as rt,CE as s,Je as sa,nr as si,vy as sn,Lf as sr,vw as st,NE as t,A as ta,X as ti,vS as tn,om as tr,Fw as tt,vE as u,P as ua,bn as ui,gy as un,rp as ur,pw as ut,ET as v,Dn as vi,Jv as vn,Mh as vr,ew as vt,FT as w,cn as wi,dd as wn,lg as wr,BC as wt,NT as x,Sn as xi,ru as xn,Gh as xr,XC as xt,CT as y,Tn as yi,Vl as yn,Ih as yr,$C as yt,nE as z,yt as zi,$f as zn,p_ as zr,UC as zt};