alistgo-alist-web 3.62.0 → 3.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{2fa-90445130.js → 2fa-abc3de78.js} +1 -1
- package/dist/assets/{2fa-legacy.4651384a.js → 2fa-legacy.55737098.js} +1 -1
- package/dist/assets/{About-eda27b55.js → About-ebade33f.js} +1 -1
- package/dist/assets/{About-legacy.8c72ed25.js → About-legacy.1ab87d8b.js} +1 -1
- package/dist/assets/{AddLabelDialog-58275e40.js → AddLabelDialog-d838839b.js} +1 -1
- package/dist/assets/{AddLabelDialog-legacy.25a1a0bf.js → AddLabelDialog-legacy.0c773d90.js} +1 -1
- package/dist/assets/{AddOrEdit-3c0c392c.js → AddOrEdit-616ec90f.js} +1 -1
- package/dist/assets/{AddOrEdit-d0768673.js → AddOrEdit-81330314.js} +1 -1
- package/dist/assets/{AddOrEdit-147c64bc.js → AddOrEdit-b4bb1c42.js} +1 -1
- package/dist/assets/{AddOrEdit-37fb1158.js → AddOrEdit-ebed8ac0.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.a17a1681.js → AddOrEdit-legacy.2fd88478.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.78a89d90.js → AddOrEdit-legacy.3af450b0.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.5f9f6e00.js → AddOrEdit-legacy.abd115d9.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.cc28033b.js → AddOrEdit-legacy.acbb24c8.js} +1 -1
- package/dist/assets/{Common-ab1ed06a.js → Common-ca550843.js} +1 -1
- package/dist/assets/{Common-legacy.77f75cae.js → Common-legacy.b3ab5071.js} +1 -1
- package/dist/assets/{Copy-0a9852d8.js → Copy-0384ca0d.js} +1 -1
- package/dist/assets/{Copy-legacy.95090e73.js → Copy-legacy.e201e664.js} +1 -1
- package/dist/assets/Decompress-272f91b5.js +1 -0
- package/dist/assets/{Decompress-legacy.23122f34.js → Decompress-legacy.3df460b6.js} +1 -1
- package/dist/assets/{DeletePopover-97491ed2.js → DeletePopover-3958d0ad.js} +1 -1
- package/dist/assets/{DeletePopover-legacy.75b6b298.js → DeletePopover-legacy.49680594.js} +1 -1
- package/dist/assets/{EditLabelDialog-8cc7e858.js → EditLabelDialog-ea31ea23.js} +1 -1
- package/dist/assets/{EditLabelDialog-legacy.9fa392e6.js → EditLabelDialog-legacy.2b5bee02.js} +1 -1
- package/dist/assets/{File-6f10ed97.js → File-9c374f1a.js} +1 -1
- package/dist/assets/{File-legacy.7d9854b2.js → File-legacy.9d2c3ca7.js} +1 -1
- package/dist/assets/{Folder-3af0d072.js → Folder-14a25b89.js} +2 -2
- package/dist/assets/{Folder-legacy.0c7ccabb.js → Folder-legacy.de37bd62.js} +2 -2
- package/dist/assets/{FolderTree-38cf3401.js → FolderTree-7ae29384.js} +1 -1
- package/dist/assets/{FolderTree-legacy.cd2c39e7.js → FolderTree-legacy.53528cb3.js} +1 -1
- package/dist/assets/{Frp-d12680a2.js → Frp-f7302299.js} +1 -1
- package/dist/assets/{Frp-legacy.ba6e7027.js → Frp-legacy.71102175.js} +1 -1
- package/dist/assets/Grid-f0c4d013.js +1 -0
- package/dist/assets/{Grid-legacy.7203a923.js → Grid-legacy.164386d7.js} +1 -1
- package/dist/assets/{GridItem-c24bccd1.js → GridItem-657d21bd.js} +1 -1
- package/dist/assets/{GridItem-legacy.e05d60cc.js → GridItem-legacy.2c3dbff8.js} +1 -1
- package/dist/assets/ImageWithError-270ffbd0.js +1 -0
- package/dist/assets/{ImageWithError-legacy.bf6a9e3d.js → ImageWithError-legacy.991e20db.js} +1 -1
- package/dist/assets/{Images-ace8cf15.js → Images-1b5fd472.js} +1 -1
- package/dist/assets/{Images-legacy.27190692.js → Images-legacy.d3a439bd.js} +1 -1
- package/dist/assets/{Layout-27464135.js → Layout-77c54d54.js} +4 -4
- package/dist/assets/{Layout-legacy.12efcab5.js → Layout-legacy.d9c36690.js} +1 -1
- package/dist/assets/{List-c2310d66.js → List-cb3f2b1f.js} +1 -1
- package/dist/assets/{List-legacy.870c9e01.js → List-legacy.d509dbd5.js} +1 -1
- package/dist/assets/{Messenger-0c026e7c.js → Messenger-69bf75f1.js} +1 -1
- package/dist/assets/{Messenger-legacy.956b05cb.js → Messenger-legacy.2447ffbd.js} +1 -1
- package/dist/assets/{Metas-345e5cd3.js → Metas-6fc6206f.js} +1 -1
- package/dist/assets/{Metas-legacy.cff72103.js → Metas-legacy.a22fda65.js} +1 -1
- package/dist/assets/Other-bf0c8f40.js +1 -0
- package/dist/assets/Other-legacy.0b52198b.js +1 -0
- package/dist/assets/{PackageDownload-a29edc97.js → PackageDownload-f1225dad.js} +1 -1
- package/dist/assets/{PackageDownload-legacy.8602aaba.js → PackageDownload-legacy.5ce2ee6a.js} +1 -1
- package/dist/assets/{Paginator-4383aac7.js → Paginator-8b9321c4.js} +1 -1
- package/dist/assets/{Paginator-legacy.0dbfe7e8.js → Paginator-legacy.25f9c490.js} +1 -1
- package/dist/assets/{Password-80dc04ca.js → Password-b98cef17.js} +1 -1
- package/dist/assets/{Password-legacy.9e534b9b.js → Password-legacy.f4c14222.js} +1 -1
- package/dist/assets/{PermissionForm-37577089.js → PermissionForm-7a161a53.js} +1 -1
- package/dist/assets/{PermissionForm-legacy.82b24501.js → PermissionForm-legacy.14a9fe69.js} +1 -1
- package/dist/assets/{Profile-73231b4d.js → Profile-e8195cc8.js} +1 -1
- package/dist/assets/{Profile-legacy.2f4bbe4e.js → Profile-legacy.876024b1.js} +1 -1
- package/dist/assets/{ResponsiveGrid-cf04dd59.js → ResponsiveGrid-0e943896.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy.539dcc2d.js → ResponsiveGrid-legacy.a9062597.js} +1 -1
- package/dist/assets/{Role-a5ae44a1.js → Role-3e2c225c.js} +1 -1
- package/dist/assets/{Role-legacy.a19a467f.js → Role-legacy.2745cfe3.js} +1 -1
- package/dist/assets/{S3-b51c960c.js → S3-3211311d.js} +1 -1
- package/dist/assets/{S3-legacy.78984bcf.js → S3-legacy.6b587900.js} +1 -1
- package/dist/assets/{S3Transition-d946d841.js → S3Transition-4b41bf18.js} +1 -1
- package/dist/assets/{S3Transition-legacy.05c07f4e.js → S3Transition-legacy.cf3cde2a.js} +1 -1
- package/dist/assets/{SettingItem-43a27519.js → SettingItem-e7a7bfc9.js} +1 -1
- package/dist/assets/{SettingItem-legacy.988d1d9c.js → SettingItem-legacy.b5a9ffeb.js} +1 -1
- package/dist/assets/{Storages-abe8c4f9.js → Storages-baae5b17.js} +1 -1
- package/dist/assets/{Storages-legacy.c5179b0d.js → Storages-legacy.bf0c1aa1.js} +1 -1
- package/dist/assets/StrmGenerate-768d6021.js +1 -0
- package/dist/assets/{StrmGenerate-f58ea741.js → StrmGenerate-d4f07081.js} +1 -1
- package/dist/assets/{StrmGenerate-legacy.5ae65986.js → StrmGenerate-legacy.4402360f.js} +1 -1
- package/dist/assets/{StrmGenerate-legacy.eaf82811.js → StrmGenerate-legacy.ecbb8e9d.js} +1 -1
- package/dist/assets/{Tag-f71f66bd.js → Tag-ffe1a992.js} +1 -1
- package/dist/assets/{Tag-legacy.cccf7e4f.js → Tag-legacy.971a1953.js} +1 -1
- package/dist/assets/{Task-4bab4ae7.js → Task-438c4d6b.js} +1 -1
- package/dist/assets/{Task-legacy.bb16a63a.js → Task-legacy.607e52ad.js} +1 -1
- package/dist/assets/{Tasks-a81ddbfb.js → Tasks-c0229b29.js} +1 -1
- package/dist/assets/{Tasks-legacy.7372c9c9.js → Tasks-legacy.f3598230.js} +1 -1
- package/dist/assets/{Upload-82e59afd.js → Upload-958e240c.js} +1 -1
- package/dist/assets/Upload-e69eb0ff.js +1 -0
- package/dist/assets/{Upload-legacy.f7d24878.js → Upload-legacy.03c286e2.js} +1 -1
- package/dist/assets/{Upload-legacy.333c7f45.js → Upload-legacy.698d3c2b.js} +1 -1
- package/dist/assets/{Users-d54db363.js → Users-bdf25bea.js} +1 -1
- package/dist/assets/{Users-legacy.ea25ac9c.js → Users-legacy.b0075433.js} +1 -1
- package/dist/assets/{Wether-34003580.js → Wether-891c8709.js} +1 -1
- package/dist/assets/{Wether-legacy.e7f0cdf2.js → Wether-legacy.7a5c9f59.js} +1 -1
- package/dist/assets/{aliyun_office-62289944.js → aliyun_office-a22ac966.js} +1 -1
- package/dist/assets/{aliyun_office-legacy.ab69efae.js → aliyun_office-legacy.910c67dd.js} +1 -1
- package/dist/assets/{aliyun_video-e4e5e5b1.js → aliyun_video-72e75696.js} +1 -1
- package/dist/assets/{aliyun_video-legacy.5052d2be.js → aliyun_video-legacy.3ca538ae.js} +1 -1
- package/dist/assets/{archive-f13b3c32.js → archive-15d8b252.js} +1 -1
- package/dist/assets/{archive-legacy.9e4f702a.js → archive-legacy.141ed6de.js} +1 -1
- package/dist/assets/{asciinema-d265f5ed.js → asciinema-befe680b.js} +1 -1
- package/dist/assets/{asciinema-legacy.a677f7a4.js → asciinema-legacy.0e111ef8.js} +1 -1
- package/dist/assets/{audio-63384a50.js → audio-37bb4f75.js} +1 -1
- package/dist/assets/{audio-legacy.3a1bc571.js → audio-legacy.9c9e6fd9.js} +1 -1
- package/dist/assets/{backup-restore-5d8f4473.js → backup-restore-8d5112f2.js} +1 -1
- package/dist/assets/{backup-restore-legacy.558c1bbf.js → backup-restore-legacy.21994194.js} +1 -1
- package/dist/assets/{doubao-3f38d292.js → doubao-4962e438.js} +1 -1
- package/dist/assets/{doubao-legacy.ce23ad6f.js → doubao-legacy.e8e5bddc.js} +1 -1
- package/dist/assets/{download-334cfc63.js → download-cf222578.js} +1 -1
- package/dist/assets/{download-legacy.20113d61.js → download-legacy.6b17b261.js} +1 -1
- package/dist/assets/{entry-014101b9.js → entry-23d0eac8.js} +4 -4
- package/dist/assets/{entry-acdd26dd.js → entry-2abbb591.js} +3 -3
- package/dist/assets/{entry-71381848.js → entry-55b019b5.js} +3 -3
- package/dist/assets/{entry-220f7e8b.js → entry-6fb77620.js} +2 -2
- package/dist/assets/{entry-1c58d2fa.js → entry-9896052e.js} +3 -3
- package/dist/assets/{entry-a4d7c810.js → entry-9a9c06fb.js} +2 -2
- package/dist/assets/{entry-96ec7279.js → entry-d1529af3.js} +4 -4
- package/dist/assets/{entry-2d788f53.js → entry-d2b2146e.js} +2 -2
- package/dist/assets/{entry-4f284779.js → entry-d9866ffb.js} +3 -3
- package/dist/assets/{entry-0a2185c7.js → entry-f67c0939.js} +3 -3
- package/dist/assets/entry-legacy.1c11c4ce.js +1 -0
- package/dist/assets/entry-legacy.6066ebc9.js +1 -0
- package/dist/assets/entry-legacy.60876545.js +1 -0
- package/dist/assets/entry-legacy.62cc3c3d.js +1 -0
- package/dist/assets/entry-legacy.8088e3bc.js +1 -0
- package/dist/assets/entry-legacy.b99b54c1.js +1 -0
- package/dist/assets/entry-legacy.b9b7580f.js +1 -0
- package/dist/assets/{entry-legacy.1d598eba.js → entry-legacy.c9424c94.js} +1 -1
- package/dist/assets/entry-legacy.d1b30365.js +1 -0
- package/dist/assets/entry-legacy.f43d27fe.js +1 -0
- package/dist/assets/{helper-ed76cd58.js → helper-8d6da87f.js} +1 -1
- package/dist/assets/{helper-a97d2506.js → helper-bcff9934.js} +1 -1
- package/dist/assets/{helper-legacy.a6497213.js → helper-legacy.c67cf50b.js} +1 -1
- package/dist/assets/{helper-legacy.f609beae.js → helper-legacy.fc3cc7d5.js} +1 -1
- package/dist/assets/{hls-d9c70324.js → hls-34ad2bf0.js} +1 -1
- package/dist/assets/{hls-legacy.8ac3e311.js → hls-legacy.258e62dc.js} +1 -1
- package/dist/assets/{html-eecc2de0.js → html-772e9d83.js} +1 -1
- package/dist/assets/{html-legacy.62ec8691.js → html-legacy.d0f89f46.js} +1 -1
- package/dist/assets/{image-da2e21d0.js → image-73b55447.js} +1 -1
- package/dist/assets/{image-legacy.1ecb39b4.js → image-legacy.944e86c3.js} +1 -1
- package/dist/assets/{index-be8bf534.js → index-003b5203.js} +1 -1
- package/dist/assets/{index-9e81668b.js → index-0af67a26.js} +3 -3
- package/dist/assets/{index-79dd8025.js → index-14204052.js} +1 -1
- package/dist/assets/{index-672ecb3a.js → index-2da9ca8e.js} +1 -1
- package/dist/assets/{index-16696b4e.js → index-314d6447.js} +1 -1
- package/dist/assets/index-54ddc888.js +1 -0
- package/dist/assets/{index-6a8f5a97.js → index-6021c988.js} +1 -1
- package/dist/assets/{index-16054e06.js → index-66bc0c4a.js} +1 -1
- package/dist/assets/{index-ed94c068.js → index-66f271c4.js} +1 -1
- package/dist/assets/{index-3095233d.js → index-6cfcfd46.js} +1 -1
- package/dist/assets/{index-a69ba1a7.js → index-76fcdbdf.js} +1 -1
- package/dist/assets/{index-bd615f4c.js → index-bc854cf4.js} +1 -1
- package/dist/assets/{index-69ab97af.js → index-cbfadd9b.js} +1 -1
- package/dist/assets/{index-e8eb691f.js → index-ccd3c2df.js} +1 -1
- package/dist/assets/{index-legacy.648c8cb3.js → index-legacy.06ba96c2.js} +1 -1
- package/dist/assets/{index-legacy.68d7598b.js → index-legacy.14cbd866.js} +1 -1
- package/dist/assets/{index-legacy.91f9f875.js → index-legacy.24d29f81.js} +1 -1
- package/dist/assets/{index-legacy.198def1c.js → index-legacy.257815ef.js} +1 -1
- package/dist/assets/{index-legacy.f80dcf65.js → index-legacy.2ecd8568.js} +1 -1
- package/dist/assets/{index-legacy.1181b6ae.js → index-legacy.35aba8a0.js} +1 -1
- package/dist/assets/{index-legacy.9b890e23.js → index-legacy.53efc4c8.js} +1 -1
- package/dist/assets/{index-legacy.5b1574d3.js → index-legacy.5a403980.js} +1 -1
- package/dist/assets/{index-legacy.15f306f3.js → index-legacy.7b9d362b.js} +1 -1
- package/dist/assets/{index-legacy.96c38d29.js → index-legacy.831645c0.js} +1 -1
- package/dist/assets/{index-legacy.2ab05dfe.js → index-legacy.9a995a78.js} +3 -3
- package/dist/assets/{index-legacy.760496d0.js → index-legacy.aa1b93bf.js} +1 -1
- package/dist/assets/{index-legacy.8d21f125.js → index-legacy.b2067bd5.js} +1 -1
- package/dist/assets/{index-legacy.16817eb5.js → index-legacy.f9d48ec7.js} +1 -1
- package/dist/assets/{indexes-c43edd5f.js → indexes-39a5b1ff.js} +1 -1
- package/dist/assets/{indexes-legacy.081aa8b7.js → indexes-legacy.8769beeb.js} +1 -1
- package/dist/assets/{info-35e907bb.js → info-6b46a634.js} +1 -1
- package/dist/assets/{info-legacy.c051afcc.js → info-legacy.dc8f48be.js} +1 -1
- package/dist/assets/{ipa-59eb2697.js → ipa-86dc8896.js} +1 -1
- package/dist/assets/{ipa-legacy.2a3a0938.js → ipa-legacy.17ae2e8d.js} +1 -1
- package/dist/assets/{lark-7e95d330.js → lark-73a41a60.js} +1 -1
- package/dist/assets/{lark-legacy.63776d90.js → lark-legacy.24acf7f1.js} +1 -1
- package/dist/assets/{lark_tools-b9fca864.js → lark_tools-649a02b3.js} +1 -1
- package/dist/assets/{lark_tools-legacy.ccc5ff9f.js → lark_tools-legacy.eecb6c72.js} +1 -1
- package/dist/assets/{layout-5666d0ff.js → layout-5d35ffe8.js} +1 -1
- package/dist/assets/{layout-legacy.225ec2a7.js → layout-legacy.ae9754f2.js} +1 -1
- package/dist/assets/{management-6734acd2.js → management-0c24b19e.js} +1 -1
- package/dist/assets/{management-legacy.3b1fee1b.js → management-legacy.8848a8f8.js} +1 -1
- package/dist/assets/{markdown-152a9ed3.js → markdown-8d906270.js} +1 -1
- package/dist/assets/{markdown-legacy.ffda05f3.js → markdown-legacy.9eb66931.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-31b0838a.js → markdown_with_word_wrap-c0408f23.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-legacy.9a2dbe70.js → markdown_with_word_wrap-legacy.3463bef2.js} +1 -1
- package/dist/assets/{mySession-516a67e2.js → mySession-884023ca.js} +1 -1
- package/dist/assets/{mySession-legacy.c1a50dd2.js → mySession-legacy.68203a3e.js} +1 -1
- package/dist/assets/offline_download-6fa0e9d2.js +1 -0
- package/dist/assets/{offline_download-legacy.c97059a6.js → offline_download-legacy.d0f875cd.js} +1 -1
- package/dist/assets/{open-with-b7fbd33c.js → open-with-7bd13257.js} +1 -1
- package/dist/assets/{open-with-legacy.23b88457.js → open-with-legacy.89db98a3.js} +1 -1
- package/dist/assets/{plist-0de55944.js → plist-18445805.js} +1 -1
- package/dist/assets/{plist-legacy.86c28020.js → plist-legacy.c128376d.js} +1 -1
- package/dist/assets/{polyfills-legacy.2ae8dfb3.js → polyfills-legacy.bfccebe0.js} +1 -1
- package/dist/assets/{shares-59ef97b5.js → shares-d862241a.js} +1 -1
- package/dist/assets/{shares-legacy.f295f323.js → shares-legacy.2e408931.js} +1 -1
- package/dist/assets/{solid-contextmenu-9117c1c3.js → solid-contextmenu-389460bd.js} +1 -1
- package/dist/assets/{solid-contextmenu-legacy.972288a0.js → solid-contextmenu-legacy.0f1769af.js} +1 -1
- package/dist/assets/{text-editor-c7592027.js → text-editor-ffff6c54.js} +1 -1
- package/dist/assets/{text-editor-legacy.a0f8df35.js → text-editor-legacy.cd9e1a2d.js} +1 -1
- package/dist/assets/{url-8cd64395.js → url-23fb7cc0.js} +1 -1
- package/dist/assets/{url-legacy.d032f14e.js → url-legacy.b18d3809.js} +1 -1
- package/dist/assets/{useTitle-86c4f10b.js → useTitle-394ae64f.js} +1 -1
- package/dist/assets/{useTitle-legacy.692240ad.js → useTitle-legacy.2e69d9a6.js} +1 -1
- package/dist/assets/{video-2ea2797b.js → video-ebb98b67.js} +1 -1
- package/dist/assets/{video-legacy.f9611553.js → video-legacy.768a1779.js} +1 -1
- package/dist/assets/{video360-1c1d238c.js → video360-a4d64816.js} +1 -1
- package/dist/assets/{video360-legacy.be846428.js → video360-legacy.8266ee4a.js} +1 -1
- package/dist/assets/{video_box-1abd8d42.js → video_box-a8a43c3b.js} +1 -1
- package/dist/assets/{video_box-legacy.9f147b79.js → video_box-legacy.53fe4ab0.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/Decompress-ccf89dc1.js +0 -1
- package/dist/assets/Grid-2d1b4ec0.js +0 -1
- package/dist/assets/ImageWithError-c7604bb9.js +0 -1
- package/dist/assets/Other-71018b72.js +0 -1
- package/dist/assets/Other-legacy.8e7c037f.js +0 -1
- package/dist/assets/StrmGenerate-39346c86.js +0 -1
- package/dist/assets/Upload-815bfacf.js +0 -1
- package/dist/assets/entry-legacy.04da8194.js +0 -1
- package/dist/assets/entry-legacy.051dbcd4.js +0 -1
- package/dist/assets/entry-legacy.1e84bb16.js +0 -1
- package/dist/assets/entry-legacy.3c8055af.js +0 -1
- package/dist/assets/entry-legacy.798b9e5d.js +0 -1
- package/dist/assets/entry-legacy.82d2f08f.js +0 -1
- package/dist/assets/entry-legacy.a4ac476b.js +0 -1
- package/dist/assets/entry-legacy.a8128a4b.js +0 -1
- package/dist/assets/entry-legacy.f0301d80.js +0 -1
- package/dist/assets/index-5e369960.js +0 -1
- package/dist/assets/offline_download-375946fc.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(){return e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,r){var o=t(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},e.apply(this,arguments)}function t(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function a(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(s){a=!0,o=s}finally{try{l||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw i}}}}function d(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}System.register(["./index-legacy.2ab05dfe.js","./solid-contextmenu-legacy.972288a0.js"],(function(t,o){"use strict";var s,u,d,v,y,b,g,E,S,w,x,A,k,O;return{setters:[function(e){s=e.dt,u=e.a0,d=e.ed,v=e.a_,y=e.q,b=e.a$,g=e.I,E=e.x,S=e.b1,w=e.e5,x=e.bg,A=e.an,k=e.e},function(e){O=e.b}],execute:function(){t("u",(function(){var e=function(){return!d&&v()},t=function(){X=k()},n=O({id:1}).show;return{isMouseSupported:e,openWithDoubleClick:function(){return e()&&"dblclick"===y.open_item_on_checkbox},toggleWithClick:function(){return e()&&"disable_while_checked"===y.open_item_on_checkbox&&b()},restoreSelectionCache:function(){if(null===X)return!1;for(var e=0;e<A.objs.length;++e)w(e,X.indexOf(A.objs[e])>=0);return!0},registerSelectContainer:function(){g((function(){if(!e()){var n=document.querySelector(".viselect-container");return null==n||n.addEventListener("mousedown",t),void E((function(){return null==n?void 0:n.removeEventListener("mousedown",t)}))}var r=new F({selectionAreaClass:"viselect-selection-area",startAreas:[".viselect-container"],boundaries:[".viselect-container"],selectables:[".viselect-item"]});r.on("beforestart",(function(){t(),r.clearSelection(!0,!0),r.select(".viselect-item.selected",!0)})),r.on("start",(function(e){var t=e.event;"mousemove"===t.type&&(X=null),t.shiftKey||t.ctrlKey||t.metaKey||(S(!1),r.clearSelection(!0))})),r.on("move",(function(e){var t,n=e.store.changed,r=n.added,o=n.removed,i=f(r);try{for(i.s();!(t=i.n()).done;){var l=t.value;w(Number(l.getAttribute("data-index")),!0)}}catch(u){i.e(u)}finally{i.f()}var a,s=f(o);try{for(s.s();!(a=s.n()).done;){var c=a.value;w(Number(c.getAttribute("data-index")),!1)}}catch(u){s.e(u)}finally{s.f()}})),E((function(){return r.destroy()}))}))},captureContentMenu:function(e){if(e.preventDefault(),b()&&!x()){var t=e.target.closest(".viselect-item"),r=Number(null==t?void 0:t.getAttribute("data-index"));if(Number.isNaN(r)||!A.objs[r].selected)return;e.stopPropagation(),n(e,{props:A.obj})}}}}));/*! @viselect/vanilla v3.5.0 MIT | https://github.com/Simonwep/selection/tree/master/packages/vanilla */var o=Object.defineProperty,T=function(e,t,n){return function(e,t,n){t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=_(t)?t+"":t,n),n},j=function(){function e(){p(this,e),T(this,"_listeners",new Map),T(this,"on",this.addEventListener),T(this,"off",this.removeEventListener),T(this,"emit",this.dispatchEvent)}return m(e,[{key:"addEventListener",value:function(e,t){var n,r=null!==(n=this._listeners.get(e))&&void 0!==n?n:new Set;return this._listeners.set(e,r),r.add(t),this}},{key:"removeEventListener",value:function(e,t){var n;return null==(n=this._listeners.get(e))||n.delete(t),this}},{key:"dispatchEvent",value:function(e){for(var t,n=!0,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var l,a=f(null!==(t=this._listeners.get(e))&&void 0!==t?t:[]);try{for(a.s();!(l=a.n()).done;){var s=l.value;n=!1!==s.apply(void 0,o)&&n}}catch(c){a.e(c)}finally{a.f()}return n}},{key:"unbindAllListeners",value:function(){this._listeners.clear()}}]),e}(),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"number"==typeof e?e+t:e};function C(e,t,n){var r=e.style;if("object"==_(t))for(var o=0,i=Object.entries(t);o<i.length;o++){var l=h(i[o],2),a=l[0],s=l[1];void 0!==s&&(r[a]=L(s))}else void 0!==n&&(r[t]=L(n))}var P=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t instanceof HTMLCollection||t instanceof NodeList?t=Array.from(t):Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);var i,l=f(t);try{for(l.s();!(i=l.n()).done;){var a=i.value;if(a){var s,u=f(n);try{for(u.s();!(s=u.n()).done;){var h=s.value;a[e](h,r,c({capture:!1},o))}}catch(d){u.e(d)}finally{u.f()}}}}catch(d){l.e(d)}finally{l.f()}return[t,n,r,o]}},M=P("addEventListener"),R=P("removeEventListener"),D=function(e){var t,n,r=null!==(t=null==(n=e.touches)?void 0:n[0])&&void 0!==t?t:e;return{x:r.clientX,y:r.clientY,target:r.target}};function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"touch";switch(n){case"center":var r=t.left+t.width/2,o=t.top+t.height/2;return r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom;case"cover":return t.left>=e.left&&t.top>=e.top&&t.right<=e.right&&t.bottom<=e.bottom;case"touch":return e.right>=t.left&&e.left<=t.right&&e.bottom>=t.top&&e.top<=t.bottom}}function K(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=Array.isArray(e)?e:[e],r=[],o=0,i=n.length;o<i;o++){var l=n[o];"string"==typeof l?r=r.concat(Array.from(t.querySelectorAll(l))):l instanceof Element&&r.push(l)}return r}function B(e,t){var n,r=f(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if("number"==typeof o)return e.button===o;if("object"==_(o)){var i=o.button===e.button,l=o.modifiers.every((function(t){switch(t){case"alt":return e.altKey;case"ctrl":return e.ctrlKey||e.metaKey;case"shift":return e.shiftKey}}));return i&&l}}}catch(a){r.e(a)}finally{r.f()}return!1}var N=Math.abs,q=Math.max,W=Math.min,H=Math.ceil,F=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(s,t);var o=r(s);function s(e){var t,n,r,l,u,h;p(this,s),t=o.call(this),T(i(t),"_options"),T(i(t),"_selection",{stored:[],selected:[],touched:[],changed:{added:[],removed:[]}}),T(i(t),"_area"),T(i(t),"_clippingElement"),T(i(t),"_targetElement"),T(i(t),"_targetRect"),T(i(t),"_selectables",[]),T(i(t),"_latestElement"),T(i(t),"_areaRect",new DOMRect),T(i(t),"_areaLocation",{y1:0,x2:0,y2:0,x1:0}),T(i(t),"_singleClick",!0),T(i(t),"_frame"),T(i(t),"_scrollAvailable",!0),T(i(t),"_scrollingActive",!1),T(i(t),"_scrollSpeed",{x:0,y:0}),T(i(t),"_scrollDelta",{x:0,y:0}),T(i(t),"disable",t._bindStartEvents.bind(i(t),!1)),T(i(t),"enable",t._bindStartEvents),t._options=c(c({selectionAreaClass:"selection-area",selectionContainerClass:void 0,selectables:[],document:window.document,startAreas:["html"],boundaries:["html"],container:"body"},e),{},{behaviour:c(c({overlap:"invert",intersect:"touch",triggers:[0]},e.behaviour),{},{startThreshold:null!=(n=e.behaviour)&&n.startThreshold?"number"==typeof e.behaviour.startThreshold?e.behaviour.startThreshold:c({x:10,y:10},e.behaviour.startThreshold):{x:10,y:10},scrolling:c(c({speedDivider:10,manualSpeed:750},null==(r=e.behaviour)?void 0:r.scrolling),{},{startScrollMargins:c({x:0,y:0},null==(u=null==(l=e.behaviour)?void 0:l.scrolling)?void 0:u.startScrollMargins)})}),features:c(c({range:!0,touch:!0},e.features),{},{singleTap:c({allow:!0,intersect:"native"},null==(h=e.features)?void 0:h.singleTap)})});var d,v=f(Object.getOwnPropertyNames(Object.getPrototypeOf(i(t))));try{for(v.s();!(d=v.n()).done;){var y=d.value;"function"==typeof t[y]&&(t[y]=t[y].bind(i(t)))}}catch(E){v.e(E)}finally{v.f()}var m=t._options,_=m.document,b=m.selectionAreaClass,g=m.selectionContainerClass;return t._area=_.createElement("div"),t._clippingElement=_.createElement("div"),t._clippingElement.appendChild(t._area),t._area.classList.add(b),g&&t._clippingElement.classList.add(g),C(t._area,{willChange:"top, left, bottom, right, width, height",top:0,left:0,position:"fixed"}),C(t._clippingElement,{overflow:"hidden",position:"fixed",transform:"translate3d(0, 0, 0)",pointerEvents:"none",zIndex:"1"}),t._frame=function(e){var t,n=-1,r=!1;return{next:function(){for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];t=i,r||(r=!0,n=requestAnimationFrame((function(){e.apply(void 0,a(t)),r=!1})))},cancel:function(){cancelAnimationFrame(n),r=!1}}}((function(e){t._recalculateSelectionAreaRect(),t._updateElementSelection(),t._emitEvent("move",e),t._redrawSelectionArea()})),t.enable(),t}return m(s,[{key:"_bindStartEvents",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this._options,n=t.document,r=t.features,o=e?M:R;o(n,"mousedown",this._onTapStart),r.touch&&o(n,"touchstart",this._onTapStart,{passive:!1})}},{key:"_onTapStart",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=D(e),o=r.x,i=r.y,l=r.target,a=this._options,s=this._options.document,c=l.getBoundingClientRect();if(!(e instanceof MouseEvent)||B(e,a.behaviour.triggers)){var u=K(a.startAreas,a.document),h=K(a.boundaries,a.document);this._targetElement=h.find((function(e){return I(e.getBoundingClientRect(),c)}));var f=e.composedPath();if(this._targetElement&&u.find((function(e){return f.includes(e)}))&&h.find((function(e){return f.includes(e)}))&&(n||!1!==this._emitEvent("beforestart",e))){this._areaLocation={x1:o,y1:i,x2:0,y2:0};var d=null!==(t=s.scrollingElement)&&void 0!==t?t:s.body;this._scrollDelta={x:d.scrollLeft,y:d.scrollTop},this._singleClick=!0,this.clearSelection(!1,!0),M(s,["touchmove","mousemove"],this._delayedTapMove,{passive:!1}),M(s,["mouseup","touchcancel","touchend"],this._onTapStop),M(s,"scroll",this._onScroll)}}}},{key:"_onSingleTap",value:function(e){var t,n=this,r=this._options.features,o=r.singleTap.intersect,i=r.range,l=D(e);if("native"===o)t=l.target;else if("touch"===o){this.resolveSelectables();var s=l.x,c=l.y;t=this._selectables.find((function(e){var t=e.getBoundingClientRect(),n=t.right,r=t.left,o=t.top,i=t.bottom;return s<n&&s>r&&c<i&&c>o}))}if(t){for(this.resolveSelectables();!this._selectables.includes(t);){if(!t.parentElement)return;t=t.parentElement}var u=this._selection.stored;if(this._emitEvent("start",e),e.shiftKey&&i&&this._latestElement){var f=this._latestElement,d=h(4&f.compareDocumentPosition(t)?[t,f]:[f,t],2),v=d[0],p=d[1],y=[].concat(a(this._selectables.filter((function(e){return 4&e.compareDocumentPosition(v)&&2&e.compareDocumentPosition(p)}))),[v,p]);this.select(y),this._latestElement=f}else u.includes(t)&&(1===u.length||e.ctrlKey||u.every((function(e){return n._selection.stored.includes(e)})))?this.deselect(t):(this.select(t),this._latestElement=t);this._emitEvent("stop",e)}}},{key:"_delayedTapMove",value:function(e){var t=this,n=this._options,r=n.container,o=n.document,i=n.behaviour.startThreshold,l=this._areaLocation,a=l.x1,s=l.y1,c=D(e),u=c.x,h=c.y;if("number"==typeof i&&N(u+h-(a+s))>=i||"object"==_(i)&&N(u-a)>=i.x||N(h-s)>=i.y){if(R(o,["mousemove","touchmove"],this._delayedTapMove,{passive:!1}),!1===this._emitEvent("beforedrag",e))return void R(o,["mouseup","touchcancel","touchend"],this._onTapStop);M(o,["mousemove","touchmove"],this._onTapMove,{passive:!1}),C(this._area,"display","block"),K(r,o)[0].appendChild(this._clippingElement),this.resolveSelectables(),this._singleClick=!1,this._targetRect=this._targetElement.getBoundingClientRect(),this._scrollAvailable=this._targetElement.scrollHeight!==this._targetElement.clientHeight||this._targetElement.scrollWidth!==this._targetElement.clientWidth,this._scrollAvailable&&(M(this._targetElement,"wheel",this._manualScroll,{passive:!1}),this._selectables=this._selectables.filter((function(e){return t._targetElement.contains(e)}))),this._setupSelectionArea(),this._emitEvent("start",e),this._onTapMove(e)}this._handleMoveEvent(e)}},{key:"_setupSelectionArea",value:function(){var e=this._clippingElement,t=this._targetElement,n=this._area,r=this._targetRect=t.getBoundingClientRect();this._scrollAvailable?(C(e,{top:r.top,left:r.left,width:r.width,height:r.height}),C(n,{marginTop:-r.top,marginLeft:-r.left})):(C(e,{top:0,left:0,width:"100%",height:"100%"}),C(n,{marginTop:0,marginLeft:0}))}},{key:"_onTapMove",value:function(e){var t=this,n=D(e),r=n.x,o=n.y,i=this._scrollSpeed,l=this._areaLocation,a=this._options,s=this._frame,c=a.behaviour.scrolling.speedDivider,u=this._targetElement;if(l.x2=r,l.y2=o,this._scrollAvailable&&!this._scrollingActive&&(i.y||i.x)){this._scrollingActive=!0;requestAnimationFrame((function n(){if(i.x||i.y){var r=u.scrollTop,o=u.scrollLeft;i.y&&(u.scrollTop+=H(i.y/c),l.y1-=u.scrollTop-r),i.x&&(u.scrollLeft+=H(i.x/c),l.x1-=u.scrollLeft-o),s.next(e),requestAnimationFrame(n)}else t._scrollingActive=!1}))}else s.next(e);this._handleMoveEvent(e)}},{key:"_handleMoveEvent",value:function(e){(this._options.features.touch&&matchMedia("(hover: none), (pointer: coarse)").matches||this._scrollAvailable&&"safari"in window)&&e.preventDefault()}},{key:"_onScroll",value:function(){var e,t=this._scrollDelta,n=this._options.document,r=null!==(e=n.scrollingElement)&&void 0!==e?e:n.body,o=r.scrollTop,i=r.scrollLeft;this._areaLocation.x1+=t.x-i,this._areaLocation.y1+=t.y-o,t.x=i,t.y=o,this._setupSelectionArea(),this._frame.next(null)}},{key:"_manualScroll",value:function(e){var t=this._options.behaviour.scrolling.manualSpeed,n=e.deltaY?e.deltaY>0?1:-1:0,r=e.deltaX?e.deltaX>0?1:-1:0;this._scrollSpeed.y+=n*t,this._scrollSpeed.x+=r*t,this._onTapMove(e),e.preventDefault()}},{key:"_recalculateSelectionAreaRect",value:function(){var e=this._scrollSpeed,t=this._areaLocation,n=this._areaRect,r=this._targetElement,o=this._options,i=r.scrollTop,l=r.scrollHeight,a=r.clientHeight,s=r.scrollLeft,c=r.scrollWidth,u=r.clientWidth,h=this._targetRect,f=t.x1,d=t.y1,v=t.x2,p=t.y2,y=o.behaviour.scrolling.startScrollMargins;v<h.left+y.x?(e.x=s?-N(h.left-v+y.x):0,v=v<h.left?h.left:v):v>h.right-y.x?(e.x=c-s-u?N(h.left+h.width-v-y.x):0,v=v>h.right?h.right:v):e.x=0,p<h.top+y.y?(e.y=i?-N(h.top-p+y.y):0,p=p<h.top?h.top:p):p>h.bottom-y.y?(e.y=l-i-a?N(h.top+h.height-p-y.y):0,p=p>h.bottom?h.bottom:p):e.y=0;var m=W(f,v),_=W(d,p),b=q(f,v),g=q(d,p);n.x=m,n.y=_,n.width=b-m,n.height=g-_}},{key:"_redrawSelectionArea",value:function(){var e=this._areaRect,t=e.x,n=e.y,r=e.width,o=e.height,i=this._area.style;i.left="".concat(t,"px"),i.top="".concat(n,"px"),i.width="".concat(r,"px"),i.height="".concat(o,"px")}},{key:"_onTapStop",value:function(e,t){var n,r=this._options,o=r.document,i=r.features,l=this._singleClick;R(o,["mousemove","touchmove"],this._delayedTapMove),R(o,["touchmove","mousemove"],this._onTapMove),R(o,["mouseup","touchcancel","touchend"],this._onTapStop),R(o,"scroll",this._onScroll),this._keepSelection(),e&&l&&i.singleTap.allow?this._onSingleTap(e):!l&&!t&&(this._updateElementSelection(),this._emitEvent("stop",e)),this._scrollSpeed.x=0,this._scrollSpeed.y=0,R(this._targetElement,"wheel",this._manualScroll,{passive:!0}),this._clippingElement.remove(),null==(n=this._frame)||n.cancel(),C(this._area,"display","none")}},{key:"_updateElementSelection",value:function(){for(var e=this._selectables,t=this._options,n=this._selection,r=this._areaRect,o=n.stored,i=n.selected,l=n.touched,s=t.behaviour,c=s.intersect,u=s.overlap,h="invert"===u,f=[],d=[],v=[],p=0;p<e.length;p++){var y=e[p];if(I(r,y.getBoundingClientRect(),c)){if(i.includes(y))o.includes(y)&&!l.includes(y)&&l.push(y);else{if(h&&o.includes(y)){v.push(y);continue}d.push(y)}f.push(y)}}h&&d.push.apply(d,a(o.filter((function(e){return!i.includes(e)}))));for(var m="keep"===u,_=0;_<i.length;_++){var b=i[_];!f.includes(b)&&(!m||!o.includes(b))&&v.push(b)}n.selected=f,n.changed={added:d,removed:v},this._latestElement=void 0}},{key:"_emitEvent",value:function(e,t){return this.emit(e,{event:t,store:this._selection,selection:this})}},{key:"_keepSelection",value:function(){var e=this._options,t=this._selection,n=t.selected,r=t.changed,o=t.touched,i=t.stored,l=n.filter((function(e){return!i.includes(e)}));switch(e.behaviour.overlap){case"drop":t.stored=[].concat(a(l),a(i.filter((function(e){return!o.includes(e)}))));break;case"invert":t.stored=[].concat(a(l),a(i.filter((function(e){return!r.removed.includes(e)}))));break;case"keep":t.stored=[].concat(a(i),a(n.filter((function(e){return!i.includes(e)}))))}}},{key:"trigger",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._onTapStart(e,t)}},{key:"resolveSelectables",value:function(){this._selectables=K(this._options.selectables,this._options.document)}},{key:"clearSelection",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.selected,i=r.stored,l=r.changed;l.added=[],(e=l.removed).push.apply(e,a(o).concat(a(t?i:[]))),n||(this._emitEvent("move",null),this._emitEvent("stop",null)),this._selection={stored:t?[]:i,selected:[],touched:[],changed:{added:[],removed:[]}}}},{key:"getSelection",value:function(){return this._selection.stored}},{key:"getSelectionArea",value:function(){return this._area}},{key:"cancel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._onTapStop(null,!e)}},{key:"destroy",value:function(){this.cancel(),this.disable(),this._clippingElement.remove(),e(l(s.prototype),"unbindAllListeners",this).call(this)}},{key:"select",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.changed,i=r.selected,l=r.stored,s=K(e,this._options.document).filter((function(e){return!i.includes(e)&&!l.includes(e)}));return l.push.apply(l,a(s)),i.push.apply(i,a(s)),(t=o.added).push.apply(t,a(s)),o.removed=[],this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)),s}},{key:"deselect",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.selected,i=r.stored,l=r.changed,s=K(e,this._options.document).filter((function(e){return o.includes(e)||i.includes(e)}));s.length&&(this._selection.stored=i.filter((function(e){return!s.includes(e)})),this._selection.selected=o.filter((function(e){return!s.includes(e)})),this._selection.changed.added=[],(t=this._selection.changed.removed).push.apply(t,a(s.filter((function(e){return!l.removed.includes(e)})))),this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)))}}]),s}(j);T(F,"version","3.5.0");var X=null;t("I",s(u,{baseStyle:{_before:{content:"",pos:"absolute",top:-10,right:-2,bottom:-10,left:-10}}}))}}}))}();
|
|
1
|
+
!function(){function e(){return e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,r){var o=t(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},e.apply(this,arguments)}function t(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function a(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(s){a=!0,o=s}finally{try{l||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw i}}}}function d(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}System.register(["./index-legacy.9a995a78.js","./solid-contextmenu-legacy.0f1769af.js"],(function(t,o){"use strict";var s,u,d,v,y,b,g,E,S,w,x,A,k,O;return{setters:[function(e){s=e.dt,u=e.a0,d=e.ed,v=e.a_,y=e.q,b=e.a$,g=e.I,E=e.x,S=e.b1,w=e.e5,x=e.bg,A=e.an,k=e.e},function(e){O=e.b}],execute:function(){t("u",(function(){var e=function(){return!d&&v()},t=function(){X=k()},n=O({id:1}).show;return{isMouseSupported:e,openWithDoubleClick:function(){return e()&&"dblclick"===y.open_item_on_checkbox},toggleWithClick:function(){return e()&&"disable_while_checked"===y.open_item_on_checkbox&&b()},restoreSelectionCache:function(){if(null===X)return!1;for(var e=0;e<A.objs.length;++e)w(e,X.indexOf(A.objs[e])>=0);return!0},registerSelectContainer:function(){g((function(){if(!e()){var n=document.querySelector(".viselect-container");return null==n||n.addEventListener("mousedown",t),void E((function(){return null==n?void 0:n.removeEventListener("mousedown",t)}))}var r=new F({selectionAreaClass:"viselect-selection-area",startAreas:[".viselect-container"],boundaries:[".viselect-container"],selectables:[".viselect-item"]});r.on("beforestart",(function(){t(),r.clearSelection(!0,!0),r.select(".viselect-item.selected",!0)})),r.on("start",(function(e){var t=e.event;"mousemove"===t.type&&(X=null),t.shiftKey||t.ctrlKey||t.metaKey||(S(!1),r.clearSelection(!0))})),r.on("move",(function(e){var t,n=e.store.changed,r=n.added,o=n.removed,i=f(r);try{for(i.s();!(t=i.n()).done;){var l=t.value;w(Number(l.getAttribute("data-index")),!0)}}catch(u){i.e(u)}finally{i.f()}var a,s=f(o);try{for(s.s();!(a=s.n()).done;){var c=a.value;w(Number(c.getAttribute("data-index")),!1)}}catch(u){s.e(u)}finally{s.f()}})),E((function(){return r.destroy()}))}))},captureContentMenu:function(e){if(e.preventDefault(),b()&&!x()){var t=e.target.closest(".viselect-item"),r=Number(null==t?void 0:t.getAttribute("data-index"));if(Number.isNaN(r)||!A.objs[r].selected)return;e.stopPropagation(),n(e,{props:A.obj})}}}}));/*! @viselect/vanilla v3.5.0 MIT | https://github.com/Simonwep/selection/tree/master/packages/vanilla */var o=Object.defineProperty,T=function(e,t,n){return function(e,t,n){t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=_(t)?t+"":t,n),n},j=function(){function e(){p(this,e),T(this,"_listeners",new Map),T(this,"on",this.addEventListener),T(this,"off",this.removeEventListener),T(this,"emit",this.dispatchEvent)}return m(e,[{key:"addEventListener",value:function(e,t){var n,r=null!==(n=this._listeners.get(e))&&void 0!==n?n:new Set;return this._listeners.set(e,r),r.add(t),this}},{key:"removeEventListener",value:function(e,t){var n;return null==(n=this._listeners.get(e))||n.delete(t),this}},{key:"dispatchEvent",value:function(e){for(var t,n=!0,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var l,a=f(null!==(t=this._listeners.get(e))&&void 0!==t?t:[]);try{for(a.s();!(l=a.n()).done;){var s=l.value;n=!1!==s.apply(void 0,o)&&n}}catch(c){a.e(c)}finally{a.f()}return n}},{key:"unbindAllListeners",value:function(){this._listeners.clear()}}]),e}(),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"number"==typeof e?e+t:e};function C(e,t,n){var r=e.style;if("object"==_(t))for(var o=0,i=Object.entries(t);o<i.length;o++){var l=h(i[o],2),a=l[0],s=l[1];void 0!==s&&(r[a]=L(s))}else void 0!==n&&(r[t]=L(n))}var P=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t instanceof HTMLCollection||t instanceof NodeList?t=Array.from(t):Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);var i,l=f(t);try{for(l.s();!(i=l.n()).done;){var a=i.value;if(a){var s,u=f(n);try{for(u.s();!(s=u.n()).done;){var h=s.value;a[e](h,r,c({capture:!1},o))}}catch(d){u.e(d)}finally{u.f()}}}}catch(d){l.e(d)}finally{l.f()}return[t,n,r,o]}},M=P("addEventListener"),R=P("removeEventListener"),D=function(e){var t,n,r=null!==(t=null==(n=e.touches)?void 0:n[0])&&void 0!==t?t:e;return{x:r.clientX,y:r.clientY,target:r.target}};function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"touch";switch(n){case"center":var r=t.left+t.width/2,o=t.top+t.height/2;return r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom;case"cover":return t.left>=e.left&&t.top>=e.top&&t.right<=e.right&&t.bottom<=e.bottom;case"touch":return e.right>=t.left&&e.left<=t.right&&e.bottom>=t.top&&e.top<=t.bottom}}function K(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=Array.isArray(e)?e:[e],r=[],o=0,i=n.length;o<i;o++){var l=n[o];"string"==typeof l?r=r.concat(Array.from(t.querySelectorAll(l))):l instanceof Element&&r.push(l)}return r}function B(e,t){var n,r=f(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if("number"==typeof o)return e.button===o;if("object"==_(o)){var i=o.button===e.button,l=o.modifiers.every((function(t){switch(t){case"alt":return e.altKey;case"ctrl":return e.ctrlKey||e.metaKey;case"shift":return e.shiftKey}}));return i&&l}}}catch(a){r.e(a)}finally{r.f()}return!1}var N=Math.abs,q=Math.max,W=Math.min,H=Math.ceil,F=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(s,t);var o=r(s);function s(e){var t,n,r,l,u,h;p(this,s),t=o.call(this),T(i(t),"_options"),T(i(t),"_selection",{stored:[],selected:[],touched:[],changed:{added:[],removed:[]}}),T(i(t),"_area"),T(i(t),"_clippingElement"),T(i(t),"_targetElement"),T(i(t),"_targetRect"),T(i(t),"_selectables",[]),T(i(t),"_latestElement"),T(i(t),"_areaRect",new DOMRect),T(i(t),"_areaLocation",{y1:0,x2:0,y2:0,x1:0}),T(i(t),"_singleClick",!0),T(i(t),"_frame"),T(i(t),"_scrollAvailable",!0),T(i(t),"_scrollingActive",!1),T(i(t),"_scrollSpeed",{x:0,y:0}),T(i(t),"_scrollDelta",{x:0,y:0}),T(i(t),"disable",t._bindStartEvents.bind(i(t),!1)),T(i(t),"enable",t._bindStartEvents),t._options=c(c({selectionAreaClass:"selection-area",selectionContainerClass:void 0,selectables:[],document:window.document,startAreas:["html"],boundaries:["html"],container:"body"},e),{},{behaviour:c(c({overlap:"invert",intersect:"touch",triggers:[0]},e.behaviour),{},{startThreshold:null!=(n=e.behaviour)&&n.startThreshold?"number"==typeof e.behaviour.startThreshold?e.behaviour.startThreshold:c({x:10,y:10},e.behaviour.startThreshold):{x:10,y:10},scrolling:c(c({speedDivider:10,manualSpeed:750},null==(r=e.behaviour)?void 0:r.scrolling),{},{startScrollMargins:c({x:0,y:0},null==(u=null==(l=e.behaviour)?void 0:l.scrolling)?void 0:u.startScrollMargins)})}),features:c(c({range:!0,touch:!0},e.features),{},{singleTap:c({allow:!0,intersect:"native"},null==(h=e.features)?void 0:h.singleTap)})});var d,v=f(Object.getOwnPropertyNames(Object.getPrototypeOf(i(t))));try{for(v.s();!(d=v.n()).done;){var y=d.value;"function"==typeof t[y]&&(t[y]=t[y].bind(i(t)))}}catch(E){v.e(E)}finally{v.f()}var m=t._options,_=m.document,b=m.selectionAreaClass,g=m.selectionContainerClass;return t._area=_.createElement("div"),t._clippingElement=_.createElement("div"),t._clippingElement.appendChild(t._area),t._area.classList.add(b),g&&t._clippingElement.classList.add(g),C(t._area,{willChange:"top, left, bottom, right, width, height",top:0,left:0,position:"fixed"}),C(t._clippingElement,{overflow:"hidden",position:"fixed",transform:"translate3d(0, 0, 0)",pointerEvents:"none",zIndex:"1"}),t._frame=function(e){var t,n=-1,r=!1;return{next:function(){for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];t=i,r||(r=!0,n=requestAnimationFrame((function(){e.apply(void 0,a(t)),r=!1})))},cancel:function(){cancelAnimationFrame(n),r=!1}}}((function(e){t._recalculateSelectionAreaRect(),t._updateElementSelection(),t._emitEvent("move",e),t._redrawSelectionArea()})),t.enable(),t}return m(s,[{key:"_bindStartEvents",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this._options,n=t.document,r=t.features,o=e?M:R;o(n,"mousedown",this._onTapStart),r.touch&&o(n,"touchstart",this._onTapStart,{passive:!1})}},{key:"_onTapStart",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=D(e),o=r.x,i=r.y,l=r.target,a=this._options,s=this._options.document,c=l.getBoundingClientRect();if(!(e instanceof MouseEvent)||B(e,a.behaviour.triggers)){var u=K(a.startAreas,a.document),h=K(a.boundaries,a.document);this._targetElement=h.find((function(e){return I(e.getBoundingClientRect(),c)}));var f=e.composedPath();if(this._targetElement&&u.find((function(e){return f.includes(e)}))&&h.find((function(e){return f.includes(e)}))&&(n||!1!==this._emitEvent("beforestart",e))){this._areaLocation={x1:o,y1:i,x2:0,y2:0};var d=null!==(t=s.scrollingElement)&&void 0!==t?t:s.body;this._scrollDelta={x:d.scrollLeft,y:d.scrollTop},this._singleClick=!0,this.clearSelection(!1,!0),M(s,["touchmove","mousemove"],this._delayedTapMove,{passive:!1}),M(s,["mouseup","touchcancel","touchend"],this._onTapStop),M(s,"scroll",this._onScroll)}}}},{key:"_onSingleTap",value:function(e){var t,n=this,r=this._options.features,o=r.singleTap.intersect,i=r.range,l=D(e);if("native"===o)t=l.target;else if("touch"===o){this.resolveSelectables();var s=l.x,c=l.y;t=this._selectables.find((function(e){var t=e.getBoundingClientRect(),n=t.right,r=t.left,o=t.top,i=t.bottom;return s<n&&s>r&&c<i&&c>o}))}if(t){for(this.resolveSelectables();!this._selectables.includes(t);){if(!t.parentElement)return;t=t.parentElement}var u=this._selection.stored;if(this._emitEvent("start",e),e.shiftKey&&i&&this._latestElement){var f=this._latestElement,d=h(4&f.compareDocumentPosition(t)?[t,f]:[f,t],2),v=d[0],p=d[1],y=[].concat(a(this._selectables.filter((function(e){return 4&e.compareDocumentPosition(v)&&2&e.compareDocumentPosition(p)}))),[v,p]);this.select(y),this._latestElement=f}else u.includes(t)&&(1===u.length||e.ctrlKey||u.every((function(e){return n._selection.stored.includes(e)})))?this.deselect(t):(this.select(t),this._latestElement=t);this._emitEvent("stop",e)}}},{key:"_delayedTapMove",value:function(e){var t=this,n=this._options,r=n.container,o=n.document,i=n.behaviour.startThreshold,l=this._areaLocation,a=l.x1,s=l.y1,c=D(e),u=c.x,h=c.y;if("number"==typeof i&&N(u+h-(a+s))>=i||"object"==_(i)&&N(u-a)>=i.x||N(h-s)>=i.y){if(R(o,["mousemove","touchmove"],this._delayedTapMove,{passive:!1}),!1===this._emitEvent("beforedrag",e))return void R(o,["mouseup","touchcancel","touchend"],this._onTapStop);M(o,["mousemove","touchmove"],this._onTapMove,{passive:!1}),C(this._area,"display","block"),K(r,o)[0].appendChild(this._clippingElement),this.resolveSelectables(),this._singleClick=!1,this._targetRect=this._targetElement.getBoundingClientRect(),this._scrollAvailable=this._targetElement.scrollHeight!==this._targetElement.clientHeight||this._targetElement.scrollWidth!==this._targetElement.clientWidth,this._scrollAvailable&&(M(this._targetElement,"wheel",this._manualScroll,{passive:!1}),this._selectables=this._selectables.filter((function(e){return t._targetElement.contains(e)}))),this._setupSelectionArea(),this._emitEvent("start",e),this._onTapMove(e)}this._handleMoveEvent(e)}},{key:"_setupSelectionArea",value:function(){var e=this._clippingElement,t=this._targetElement,n=this._area,r=this._targetRect=t.getBoundingClientRect();this._scrollAvailable?(C(e,{top:r.top,left:r.left,width:r.width,height:r.height}),C(n,{marginTop:-r.top,marginLeft:-r.left})):(C(e,{top:0,left:0,width:"100%",height:"100%"}),C(n,{marginTop:0,marginLeft:0}))}},{key:"_onTapMove",value:function(e){var t=this,n=D(e),r=n.x,o=n.y,i=this._scrollSpeed,l=this._areaLocation,a=this._options,s=this._frame,c=a.behaviour.scrolling.speedDivider,u=this._targetElement;if(l.x2=r,l.y2=o,this._scrollAvailable&&!this._scrollingActive&&(i.y||i.x)){this._scrollingActive=!0;requestAnimationFrame((function n(){if(i.x||i.y){var r=u.scrollTop,o=u.scrollLeft;i.y&&(u.scrollTop+=H(i.y/c),l.y1-=u.scrollTop-r),i.x&&(u.scrollLeft+=H(i.x/c),l.x1-=u.scrollLeft-o),s.next(e),requestAnimationFrame(n)}else t._scrollingActive=!1}))}else s.next(e);this._handleMoveEvent(e)}},{key:"_handleMoveEvent",value:function(e){(this._options.features.touch&&matchMedia("(hover: none), (pointer: coarse)").matches||this._scrollAvailable&&"safari"in window)&&e.preventDefault()}},{key:"_onScroll",value:function(){var e,t=this._scrollDelta,n=this._options.document,r=null!==(e=n.scrollingElement)&&void 0!==e?e:n.body,o=r.scrollTop,i=r.scrollLeft;this._areaLocation.x1+=t.x-i,this._areaLocation.y1+=t.y-o,t.x=i,t.y=o,this._setupSelectionArea(),this._frame.next(null)}},{key:"_manualScroll",value:function(e){var t=this._options.behaviour.scrolling.manualSpeed,n=e.deltaY?e.deltaY>0?1:-1:0,r=e.deltaX?e.deltaX>0?1:-1:0;this._scrollSpeed.y+=n*t,this._scrollSpeed.x+=r*t,this._onTapMove(e),e.preventDefault()}},{key:"_recalculateSelectionAreaRect",value:function(){var e=this._scrollSpeed,t=this._areaLocation,n=this._areaRect,r=this._targetElement,o=this._options,i=r.scrollTop,l=r.scrollHeight,a=r.clientHeight,s=r.scrollLeft,c=r.scrollWidth,u=r.clientWidth,h=this._targetRect,f=t.x1,d=t.y1,v=t.x2,p=t.y2,y=o.behaviour.scrolling.startScrollMargins;v<h.left+y.x?(e.x=s?-N(h.left-v+y.x):0,v=v<h.left?h.left:v):v>h.right-y.x?(e.x=c-s-u?N(h.left+h.width-v-y.x):0,v=v>h.right?h.right:v):e.x=0,p<h.top+y.y?(e.y=i?-N(h.top-p+y.y):0,p=p<h.top?h.top:p):p>h.bottom-y.y?(e.y=l-i-a?N(h.top+h.height-p-y.y):0,p=p>h.bottom?h.bottom:p):e.y=0;var m=W(f,v),_=W(d,p),b=q(f,v),g=q(d,p);n.x=m,n.y=_,n.width=b-m,n.height=g-_}},{key:"_redrawSelectionArea",value:function(){var e=this._areaRect,t=e.x,n=e.y,r=e.width,o=e.height,i=this._area.style;i.left="".concat(t,"px"),i.top="".concat(n,"px"),i.width="".concat(r,"px"),i.height="".concat(o,"px")}},{key:"_onTapStop",value:function(e,t){var n,r=this._options,o=r.document,i=r.features,l=this._singleClick;R(o,["mousemove","touchmove"],this._delayedTapMove),R(o,["touchmove","mousemove"],this._onTapMove),R(o,["mouseup","touchcancel","touchend"],this._onTapStop),R(o,"scroll",this._onScroll),this._keepSelection(),e&&l&&i.singleTap.allow?this._onSingleTap(e):!l&&!t&&(this._updateElementSelection(),this._emitEvent("stop",e)),this._scrollSpeed.x=0,this._scrollSpeed.y=0,R(this._targetElement,"wheel",this._manualScroll,{passive:!0}),this._clippingElement.remove(),null==(n=this._frame)||n.cancel(),C(this._area,"display","none")}},{key:"_updateElementSelection",value:function(){for(var e=this._selectables,t=this._options,n=this._selection,r=this._areaRect,o=n.stored,i=n.selected,l=n.touched,s=t.behaviour,c=s.intersect,u=s.overlap,h="invert"===u,f=[],d=[],v=[],p=0;p<e.length;p++){var y=e[p];if(I(r,y.getBoundingClientRect(),c)){if(i.includes(y))o.includes(y)&&!l.includes(y)&&l.push(y);else{if(h&&o.includes(y)){v.push(y);continue}d.push(y)}f.push(y)}}h&&d.push.apply(d,a(o.filter((function(e){return!i.includes(e)}))));for(var m="keep"===u,_=0;_<i.length;_++){var b=i[_];!f.includes(b)&&(!m||!o.includes(b))&&v.push(b)}n.selected=f,n.changed={added:d,removed:v},this._latestElement=void 0}},{key:"_emitEvent",value:function(e,t){return this.emit(e,{event:t,store:this._selection,selection:this})}},{key:"_keepSelection",value:function(){var e=this._options,t=this._selection,n=t.selected,r=t.changed,o=t.touched,i=t.stored,l=n.filter((function(e){return!i.includes(e)}));switch(e.behaviour.overlap){case"drop":t.stored=[].concat(a(l),a(i.filter((function(e){return!o.includes(e)}))));break;case"invert":t.stored=[].concat(a(l),a(i.filter((function(e){return!r.removed.includes(e)}))));break;case"keep":t.stored=[].concat(a(i),a(n.filter((function(e){return!i.includes(e)}))))}}},{key:"trigger",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._onTapStart(e,t)}},{key:"resolveSelectables",value:function(){this._selectables=K(this._options.selectables,this._options.document)}},{key:"clearSelection",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.selected,i=r.stored,l=r.changed;l.added=[],(e=l.removed).push.apply(e,a(o).concat(a(t?i:[]))),n||(this._emitEvent("move",null),this._emitEvent("stop",null)),this._selection={stored:t?[]:i,selected:[],touched:[],changed:{added:[],removed:[]}}}},{key:"getSelection",value:function(){return this._selection.stored}},{key:"getSelectionArea",value:function(){return this._area}},{key:"cancel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._onTapStop(null,!e)}},{key:"destroy",value:function(){this.cancel(),this.disable(),this._clippingElement.remove(),e(l(s.prototype),"unbindAllListeners",this).call(this)}},{key:"select",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.changed,i=r.selected,l=r.stored,s=K(e,this._options.document).filter((function(e){return!i.includes(e)&&!l.includes(e)}));return l.push.apply(l,a(s)),i.push.apply(i,a(s)),(t=o.added).push.apply(t,a(s)),o.removed=[],this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)),s}},{key:"deselect",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this._selection,o=r.selected,i=r.stored,l=r.changed,s=K(e,this._options.document).filter((function(e){return o.includes(e)||i.includes(e)}));s.length&&(this._selection.stored=i.filter((function(e){return!s.includes(e)})),this._selection.selected=o.filter((function(e){return!s.includes(e)})),this._selection.changed.added=[],(t=this._selection.changed.removed).push.apply(t,a(s.filter((function(e){return!l.removed.includes(e)})))),this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)))}}]),s}(j);T(F,"version","3.5.0");var X=null;t("I",s(u,{baseStyle:{_before:{content:"",pos:"absolute",top:-10,right:-2,bottom:-10,left:-10}}}))}}}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var e,o,u=[],a=!0,i=!1;try{for(n=n.call(t);!(a=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);a=!0);}catch(s){i=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(i)throw o}}return u}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy.
|
|
1
|
+
!function(){function t(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var e,o,u=[],a=!0,i=!1;try{for(n=n.call(t);!(a=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);a=!0);}catch(s){i=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(i)throw o}}return u}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy.9a995a78.js"],(function(n,e){"use strict";var o,u,a,i,s,c,f,l,d;return{setters:[function(t){o=t.ee,u=t.az,a=t.C,i=t.aX,s=t.bR,c=t.c5,f=t.bS,l=t.b,d=t.aA}],execute:function(){var e=d("<a></a>"),v=d("<p></p>"),$=d('<a target="_blank"></a>'),m=n("b",(function(t,n){var o,l,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],$=("/"===t?"":t)+n,m="/"===u().base_path?"":u().base_path,p=$.startsWith(m),_=a(!1),b=r(_,2),y=b[0],h=b[1];return p&&d?((l=e.cloneNode(!0)).$$mouseout=function(){return h(!1)},l.$$mouseover=function(){return h(!0)},i(l,$),s((function(t){var r=y()?"text-decoration: underline":"",n=$.slice(m.length);return t._v$=c(l,r,t._v$),n!==t._v$2&&f(l,"href",t._v$2=n),t}),{_v$:void 0,_v$2:void 0}),l):(o=v.cloneNode(!0),i(o,$),o)}));n("g",(function(){var n,e=l(),o=r(a(!1),2),u=o[0],d=o[1];return{regex:/^download (.+) to \((.+)\)$/,title:function(t){return t[1]},attrs:(n={},t(n,e("tasks.attr.offline_download.url"),(function(t){return(r=$.cloneNode(!0)).$$mouseout=function(){return d(!1)},r.$$mouseover=function(){return d(!0)},i(r,(function(){return t[1]})),s((function(n){var e=u()?"text-decoration: underline":"",o=t[1];return n._v$3=c(r,e,n._v$3),o!==n._v$4&&f(r,"href",n._v$4=o),n}),{_v$3:void 0,_v$4:void 0}),r;var r})),t(n,e("tasks.attr.offline_download.path"),(function(t){return m("",t[2])})),n)}})),n("a",(function(){var r,n=l();return{regex:/^transfer \[(.*)]\((.*\/([^\/]+))\) to \[(.+)]\((.+)\)$/,title:function(t){return t[3]},attrs:(r={},t(r,n("tasks.attr.offline_download.transfer_src"),(function(t){return""===t[1]?void 0:m(t[1],t[2])})),t(r,n("tasks.attr.offline_download.transfer_src_local"),(function(t){return""===t[1]?t[2]:void 0})),t(r,n("tasks.attr.offline_download.transfer_dst"),(function(t){return m(t[4],t[5])})),r)}})),n("c",(function(){var r,n=l();return{regex:/^decompress \[(.+)]\((.*\/([^\/]+))\)\[(.+)] to \[(.+)]\((.+)\) with password <(.*)>$/,title:function(t){return t[3]},attrs:(r={},t(r,n("tasks.attr.decompress.src"),(function(t){return m(t[1],t[2])})),t(r,n("tasks.attr.decompress.dst"),(function(t){return m(t[5],t[6])})),t(r,n("tasks.attr.decompress.inner"),(function(t){return r=v.cloneNode(!0),i(r,(function(){return t[4]})),r;var r})),t(r,n("tasks.attr.decompress.password"),(function(t){return r=v.cloneNode(!0),i(r,(function(){return t[7]})),r;var r})),r)}})),n("d",(function(){return{regex:/^upload (.+) to \[(.+)]\((.+)\)$/,title:function(t){return t[1]},attrs:t({},l()("tasks.attr.decompress.dst"),(function(t){return m(t[2],t[3])}))}}));o(["mouseover","mouseout"])}}}))}();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{dq as qr,dp as Pi}from"./index-
|
|
1
|
+
import{dq as qr,dp as Pi}from"./index-0af67a26.js";import{c as Oi}from"./_commonjs-dynamic-modules-302442b1.js";var ss={exports:{}};ss.exports;(function(a,e){/*!
|
|
2
2
|
* artplayer-plugin-danmuku.js v5.1.5
|
|
3
3
|
* Github: https://github.com/zhw2590582/ArtPlayer
|
|
4
4
|
* (c) 2017-2025 Harvey Zack
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var i,a,n=[],s=!0,o=!1;try{for(r=r.call(e);!(s=(i=r.next()).done)&&(n.push(i.value),!t||n.length!==t);s=!0);}catch(l){o=!0,a=l}finally{try{s||null==r.return||r.return()}finally{if(o)throw a}}return n}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(){return t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var a=r(e,t);if(a){var n=Object.getOwnPropertyDescriptor(a,t);return n.get?n.get.call(arguments.length<3?e:i):n.value}},t.apply(this,arguments)}function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return a(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p(i,e)},i(e)}function a(e,t,r){return a=l()?Reflect.construct.bind():function(e,t,r){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return r&&p(a,r.prototype),a},a.apply(null,arguments)}function n(e){var t=l();return function(){var r,i=u(e);if(t){var a=u(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return s(this,r)}}function s(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function v(){v=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,i,a){var n=new RegExp(e,i);return t.set(n,a||t.get(e)),p(n,r.prototype)}function i(e,r){var i=t.get(r);return Object.keys(i).reduce((function(t,r){return t[r]=e[i[r]],t}),Object.create(null))}return g(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);return r&&(r.groups=i(r,this)),r},r.prototype[Symbol.replace]=function(r,a){if("string"==typeof a){var n=t.get(this);return e[Symbol.replace].call(this,r,a.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"==typeof a){var s=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=c(e[e.length-1])&&(e=[].slice.call(e)).push(i(e,s)),a.apply(this,e)}))}return e[Symbol.replace].call(this,r,a)},v.apply(this,arguments)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",n=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(w){o=function(e,t,r){return e[t]=r}}function l(e,t,r,i){var a=t&&t.prototype instanceof h?t:h,n=Object.create(a.prototype),s=new A(i||[]);return n._invoke=function(e,t,r){var i="suspendedStart";return function(a,n){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===a)throw n;return I()}for(r.method=a,r.arg=n;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===d)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=u(e,t,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}(e,r,s),n}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(w){return{type:"throw",arg:w}}}e.wrap=l;var d={};function h(){}function f(){}function v(){}var g={};o(g,a,(function(){return this}));var p=Object.getPrototypeOf,m=p&&p(p(R([])));m&&m!==t&&r.call(m,a)&&(g=m);var y=v.prototype=h.prototype=Object.create(g);function k(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function i(a,n,s,o){var l=u(e[a],e,n);if("throw"!==l.type){var d=l.arg,h=d.value;return h&&"object"==c(h)&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,s,o)}),(function(e){i("throw",e,s,o)})):t.resolve(h).then((function(e){d.value=e,s(d)}),(function(e){return i("throw",e,s,o)}))}o(l.arg)}var a;this._invoke=function(e,r){function n(){return new t((function(t,a){i(e,r,t,a)}))}return a=a?a.then(n,n):n()}}function S(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function R(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(r.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,o(y,"constructor",v),o(v,"constructor",f),f.displayName=o(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,o(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},k(T.prototype),o(T.prototype,n,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,i,a,n){void 0===n&&(n=Promise);var s=new T(l(t,r,i,a),n);return e.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(y),o(y,s,"Generator"),o(y,a,(function(){return this})),o(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var i=t.pop();if(i in e)return r.value=i,r.done=!1,r}return r.done=!0,r}},e.values=R,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=void 0),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a],s=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var o=r.call(n,"catchLoc"),l=r.call(n,"finallyLoc");if(o&&l){if(this.prev<n.catchLoc)return i(n.catchLoc,!0);if(this.prev<n.finallyLoc)return i(n.finallyLoc)}else if(o){if(this.prev<n.catchLoc)return i(n.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return i(n.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=e,s.arg=t,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var i=r.completion;if("throw"===i.type){var a=i.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:R(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function T(e,t,r,i,a,n,s){try{var o=e[n](s),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(i,a)}function S(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var n=e.apply(t,r);function s(e){T(n,i,a,s,o,"next",e)}function o(e){T(n,i,a,s,o,"throw",e)}s(void 0)}))}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function A(e,t,r){return t&&L(e.prototype,t),r&&L(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}System.register(["./index-legacy.2ab05dfe.js","./_commonjs-dynamic-modules-legacy.57769aa1.js"],(function(r,a){"use strict";var s,l,f;return{setters:[function(e){s=e.dq,l=e.dp},function(e){f=e.c}],execute:function(){var a;r("a",(function(e){return function(){var t=S(E().mark((function t(r){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=T,t.t1=y,t.t2={"times new roman":R( window.__dynamic_base__+"/assets/TimesNewRoman-d9fb32eb.ttf")},t.next=5,I({workerUrl: window.__dynamic_base__+"/assets/subtitles-octopus-worker-f95f2186.js",wasmUrl: window.__dynamic_base__+"/assets/subtitles-octopus-worker-62892886.wasm"});case 5:return t.t3=t.sent,t.t4=R( window.__dynamic_base__+"/assets/SourceHanSansCN-Bold-b5627435.woff2"),t.t5=r.template.$video,t.t6={availableFonts:t.t2,workerUrl:t.t3,fallbackFont:t.t4,video:t.t5},t.t7=e,t.t8=(0,t.t1)(t.t6,t.t7),(L=new t.t0(t.t8)).canvasParent.className="artplayer-plugin-ass",L.canvasParent.style.cssText="\n position: absolute;\n width: 100%;\n height: 100%;\n user-select: none;\n pointer-events: none;\n z-index: 20;\n ",r.on("artplayer-plugin-ass:switch",(function(e){L.freeTrack(),L.setTrackByUrl(e),w(!0)})),r.on("subtitle",(function(e){return w(e)})),r.on("artplayer-plugin-ass:visible",(function(e){return w(e)})),r.on("subtitleOffset",(function(e){return L.timeOffset=e})),r.on("destroy",(function(){return L.dispose()})),t.abrupt("return",{name:"artplayerPluginAss",instance:L});case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}));var p={exports:{}};!function(e,t){
|
|
1
|
+
!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var i,a,n=[],s=!0,o=!1;try{for(r=r.call(e);!(s=(i=r.next()).done)&&(n.push(i.value),!t||n.length!==t);s=!0);}catch(l){o=!0,a=l}finally{try{s||null==r.return||r.return()}finally{if(o)throw a}}return n}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(){return t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var a=r(e,t);if(a){var n=Object.getOwnPropertyDescriptor(a,t);return n.get?n.get.call(arguments.length<3?e:i):n.value}},t.apply(this,arguments)}function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return a(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p(i,e)},i(e)}function a(e,t,r){return a=l()?Reflect.construct.bind():function(e,t,r){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return r&&p(a,r.prototype),a},a.apply(null,arguments)}function n(e){var t=l();return function(){var r,i=u(e);if(t){var a=u(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return s(this,r)}}function s(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function v(){v=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,i,a){var n=new RegExp(e,i);return t.set(n,a||t.get(e)),p(n,r.prototype)}function i(e,r){var i=t.get(r);return Object.keys(i).reduce((function(t,r){return t[r]=e[i[r]],t}),Object.create(null))}return g(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);return r&&(r.groups=i(r,this)),r},r.prototype[Symbol.replace]=function(r,a){if("string"==typeof a){var n=t.get(this);return e[Symbol.replace].call(this,r,a.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"==typeof a){var s=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=c(e[e.length-1])&&(e=[].slice.call(e)).push(i(e,s)),a.apply(this,e)}))}return e[Symbol.replace].call(this,r,a)},v.apply(this,arguments)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",n=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(w){o=function(e,t,r){return e[t]=r}}function l(e,t,r,i){var a=t&&t.prototype instanceof h?t:h,n=Object.create(a.prototype),s=new A(i||[]);return n._invoke=function(e,t,r){var i="suspendedStart";return function(a,n){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===a)throw n;return I()}for(r.method=a,r.arg=n;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===d)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=u(e,t,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}(e,r,s),n}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(w){return{type:"throw",arg:w}}}e.wrap=l;var d={};function h(){}function f(){}function v(){}var g={};o(g,a,(function(){return this}));var p=Object.getPrototypeOf,m=p&&p(p(R([])));m&&m!==t&&r.call(m,a)&&(g=m);var y=v.prototype=h.prototype=Object.create(g);function k(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function i(a,n,s,o){var l=u(e[a],e,n);if("throw"!==l.type){var d=l.arg,h=d.value;return h&&"object"==c(h)&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,s,o)}),(function(e){i("throw",e,s,o)})):t.resolve(h).then((function(e){d.value=e,s(d)}),(function(e){return i("throw",e,s,o)}))}o(l.arg)}var a;this._invoke=function(e,r){function n(){return new t((function(t,a){i(e,r,t,a)}))}return a=a?a.then(n,n):n()}}function S(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function R(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(r.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,o(y,"constructor",v),o(v,"constructor",f),f.displayName=o(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,o(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},k(T.prototype),o(T.prototype,n,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,i,a,n){void 0===n&&(n=Promise);var s=new T(l(t,r,i,a),n);return e.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(y),o(y,s,"Generator"),o(y,a,(function(){return this})),o(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var i=t.pop();if(i in e)return r.value=i,r.done=!1,r}return r.done=!0,r}},e.values=R,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=void 0),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a],s=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var o=r.call(n,"catchLoc"),l=r.call(n,"finallyLoc");if(o&&l){if(this.prev<n.catchLoc)return i(n.catchLoc,!0);if(this.prev<n.finallyLoc)return i(n.finallyLoc)}else if(o){if(this.prev<n.catchLoc)return i(n.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return i(n.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=e,s.arg=t,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var i=r.completion;if("throw"===i.type){var a=i.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:R(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function T(e,t,r,i,a,n,s){try{var o=e[n](s),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(i,a)}function S(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var n=e.apply(t,r);function s(e){T(n,i,a,s,o,"next",e)}function o(e){T(n,i,a,s,o,"throw",e)}s(void 0)}))}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function A(e,t,r){return t&&L(e.prototype,t),r&&L(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}System.register(["./index-legacy.9a995a78.js","./_commonjs-dynamic-modules-legacy.57769aa1.js"],(function(r,a){"use strict";var s,l,f;return{setters:[function(e){s=e.dq,l=e.dp},function(e){f=e.c}],execute:function(){var a;r("a",(function(e){return function(){var t=S(E().mark((function t(r){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=T,t.t1=y,t.t2={"times new roman":R( window.__dynamic_base__+"/assets/TimesNewRoman-d9fb32eb.ttf")},t.next=5,I({workerUrl: window.__dynamic_base__+"/assets/subtitles-octopus-worker-f95f2186.js",wasmUrl: window.__dynamic_base__+"/assets/subtitles-octopus-worker-62892886.wasm"});case 5:return t.t3=t.sent,t.t4=R( window.__dynamic_base__+"/assets/SourceHanSansCN-Bold-b5627435.woff2"),t.t5=r.template.$video,t.t6={availableFonts:t.t2,workerUrl:t.t3,fallbackFont:t.t4,video:t.t5},t.t7=e,t.t8=(0,t.t1)(t.t6,t.t7),(L=new t.t0(t.t8)).canvasParent.className="artplayer-plugin-ass",L.canvasParent.style.cssText="\n position: absolute;\n width: 100%;\n height: 100%;\n user-select: none;\n pointer-events: none;\n z-index: 20;\n ",r.on("artplayer-plugin-ass:switch",(function(e){L.freeTrack(),L.setTrackByUrl(e),w(!0)})),r.on("subtitle",(function(e){return w(e)})),r.on("artplayer-plugin-ass:visible",(function(e){return w(e)})),r.on("subtitleOffset",(function(e){return L.timeOffset=e})),r.on("destroy",(function(){return L.dispose()})),t.abrupt("return",{name:"artplayerPluginAss",instance:L});case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}));var p={exports:{}};!function(e,t){
|
|
2
2
|
/*!
|
|
3
3
|
* artplayer-plugin-danmuku.js v5.1.5
|
|
4
4
|
* Github: https://github.com/zhw2590582/ArtPlayer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eN as i,y as e,cY as l,C as a,eO as d,dt as s,S as u,eP as g,dI as h}from"./index-
|
|
1
|
+
import{eN as i,y as e,cY as l,C as a,eO as d,dt as s,S as u,eP as g,dI as h}from"./index-0af67a26.js";function f(t){const[n,r]=a("utf-8"),{isString:c,text:o}=d(t.children);return e(h,{w:"$full",h:"70vh",pos:"relative",get children(){return[e(s.iframe,{w:"$full",h:"$full",rounded:"$lg",shadow:"$md",get srcdoc(){return o(n())}}),e(u,{when:!c,get children(){return e(g,{get encoding(){return n()},setEncoding:r,get referenceText(){return t.children}})}})]}})}const w=()=>{const[t]=i();return e(l,{get loading(){return t.loading},get children(){return e(f,{get children(){var n;return(n=t())==null?void 0:n.content}})}})};export{w as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function r(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==e)return;var n,u,i=[],o=!0,l=!1;try{for(e=e.call(r);!(o=(n=e.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(c){l=!0,u=c}finally{try{o||null==e.return||e.return()}finally{if(l)throw u}}return i}(r,e)||function(r,e){if(!r)return;if("string"==typeof r)return t(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);"Object"===n&&r.constructor&&(n=r.constructor.name);if("Map"===n||"Set"===n)return Array.from(r);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(r,e)}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}System.register(["./index-legacy.
|
|
1
|
+
!function(){function r(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==e)return;var n,u,i=[],o=!0,l=!1;try{for(e=e.call(r);!(o=(n=e.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(c){l=!0,u=c}finally{try{o||null==e.return||e.return()}finally{if(l)throw u}}return i}(r,e)||function(r,e){if(!r)return;if("string"==typeof r)return t(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);"Object"===n&&r.constructor&&(n=r.constructor.name);if("Map"===n||"Set"===n)return Array.from(r);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(r,e)}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}System.register(["./index-legacy.9a995a78.js"],(function(t,e){"use strict";var n,u,i,o,l,c,a,f,d;return{setters:[function(r){n=r.eN,u=r.y,i=r.cY,o=r.C,l=r.eO,c=r.dt,a=r.S,f=r.eP,d=r.dI}],execute:function(){function e(t){var e=r(o("utf-8"),2),n=e[0],i=e[1],s=l(t.children),g=s.isString,h=s.text;return u(d,{w:"$full",h:"70vh",pos:"relative",get children(){return[u(c.iframe,{w:"$full",h:"$full",rounded:"$lg",shadow:"$md",get srcdoc(){return h(n())}}),u(a,{when:!g,get children(){return u(f,{get encoding(){return n()},setEncoding:i,get referenceText(){return t.children}})}})]}})}t("default",(function(){var t=r(n(),1)[0];return u(i,{get loading(){return t.loading},get children(){return u(e,{get children(){var r;return null===(r=t())||void 0===r?void 0:r.content}})}})}))}}}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as d,d as m,an as o,cU as u,r as g,x as f,y as t,ak as w,ao as c}from"./index-
|
|
1
|
+
import{b as d,d as m,an as o,cU as u,r as g,x as f,y as t,ak as w,ao as c}from"./index-0af67a26.js";import{I as p}from"./ImageWithError-270ffbd0.js";const k=()=>{const i=d(),{replace:a}=m();let e=o.objs.filter(r=>r.type===u.IMAGE);e.length===0&&(e=[o.obj]);const s=r=>{const n=e.findIndex(l=>l.name===o.obj.name);r.key==="ArrowLeft"&&n>0?a(e[n-1].name):r.key==="ArrowRight"&&n<e.length-1&&a(e[n+1].name)};return g(()=>{window.addEventListener("keydown",s)}),f(()=>{window.removeEventListener("keydown",s)}),t(p,{maxH:"75vh",rounded:"$lg",get src(){return o.raw_url},get fallback(){return t(w,{})},get fallbackErr(){return t(c,{get msg(){return i("home.preview.failed_load_img")}})}})};export{k as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy.
|
|
1
|
+
System.register(["./index-legacy.9a995a78.js","./ImageWithError-legacy.991e20db.js"],(function(e,n){"use strict";var r,t,a,o,i,u,c,f,d,l;return{setters:[function(e){r=e.b,t=e.d,a=e.an,o=e.cU,i=e.r,u=e.x,c=e.y,f=e.ak,d=e.ao},function(e){l=e.I}],execute:function(){e("default",(function(){var e=r(),n=t().replace,g=a.objs.filter((function(e){return e.type===o.IMAGE}));0===g.length&&(g=[a.obj]);var s=function(e){var r=g.findIndex((function(e){return e.name===a.obj.name}));"ArrowLeft"===e.key&&r>0?n(g[r-1].name):"ArrowRight"===e.key&&r<g.length-1&&n(g[r+1].name)};return i((function(){window.addEventListener("keydown",s)})),u((function(){window.removeEventListener("keydown",s)})),c(l,{maxH:"75vh",rounded:"$lg",get src(){return a.raw_url},get fallback(){return c(f,{})},get fallbackErr(){return c(d,{get msg(){return e("home.preview.failed_load_img")}})}})}))}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{co as Ge,a5 as me,bR as be,bS as U,aA as _e,ai as X,y as e,aG as w,ac as $e,S as l,av as q,aV as j,af as C,d as Ce,cp as F,cq as E,x as ve,aE as N,bq as I,c3 as Me,cr as Te,cs as Ue,ct as je,cu as Oe,b as Ve,B as J,C as _,cv as Ke,ba as D,r as ae,cw as We,Y as T,aw as R,aB as ce,bX as k,bW as ge,N as S,a0 as ue,ar as z,R as B,bz as de,bA as pe,cx as he,cy as He,cz as qe,cA as Je,ci as Ze,cB as Xe,cC as Ye,aJ as Qe,a3 as fe,cD as et,n as $,cE as Z}from"./index-
|
|
1
|
+
import{co as Ge,a5 as me,bR as be,bS as U,aA as _e,ai as X,y as e,aG as w,ac as $e,S as l,av as q,aV as j,af as C,d as Ce,cp as F,cq as E,x as ve,aE as N,bq as I,c3 as Me,cr as Te,cs as Ue,ct as je,cu as Oe,b as Ve,B as J,C as _,cv as Ke,ba as D,r as ae,cw as We,Y as T,aw as R,aB as ce,bX as k,bW as ge,N as S,a0 as ue,ar as z,R as B,bz as de,bA as pe,cx as he,cy as He,cz as qe,cA as Je,ci as Ze,cB as Xe,cC as Ye,aJ as Qe,a3 as fe,cD as et,n as $,cE as Z}from"./index-0af67a26.js";import{a as tt}from"./useTitle-394ae64f.js";import{s as rt,g as nt,a as ot}from"./webauthn-json.browser-ponyfill-f2f06d6e.js";const st="https://github.com/alist-org/alist";function lt(t){return Ge(`${t}-${st}`)}const it=_e('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="896" width="967.8852157128662"><defs><path id="path-2" opacity="1" fill-rule="evenodd" d="M896,448 C1142.6325445712241,465.5747656464056 695.2579309733121,896 448,896 C200.74206902668806,896 5.684341886080802e-14,695.2579309733121 0,448.0000000000001 C0,200.74206902668806 200.74206902668791,5.684341886080802e-14 447.99999999999994,0 C695.2579309733121,0 475,418 896,448Z"></path><linearGradient id="linearGradient-3" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0" stop-opacity="1"></stop><stop offset="1" stop-opacity="1"></stop></linearGradient></defs><g opacity="1"><use xlink:href="#path-2" fill="url(#linearGradient-3)" fill-opacity="1"></use></g></svg>'),at=t=>{const p=me({startColor:"#28aff0",endColor:"#120fc4"},t);return(()=>{const h=it.cloneNode(!0),s=h.firstChild,g=s.firstChild,a=g.nextSibling,i=a.firstChild,u=i.nextSibling;return be(o=>{const c=p.startColor,m=p.endColor;return c!==o._v$&&U(i,"stop-color",o._v$=c),m!==o._v$2&&U(u,"stop-color",o._v$2=m),o},{_v$:void 0,_v$2:void 0}),h})()},ct=_e('<svg height="1337" width="1337"><defs><path id="path-1" opacity="1" fill-rule="evenodd" d="M1337,668.5 C1337,1037.455193874239 1037.455193874239,1337 668.5,1337 C523.6725684305388,1337 337,1236 370.50000000000006,1094 C434.03835568300906,824.6732385973953 6.906089672974592e-14,892.6277623047779 0,668.5000000000001 C0,299.5448061257611 299.5448061257609,1.1368683772161603e-13 668.4999999999999,0 C1037.455193874239,0 1337,299.544806125761 1337,668.5Z"></path><linearGradient id="linearGradient-2" x1="0.79" y1="0.62" x2="0.21" y2="0.86"><stop offset="0" stop-opacity="1"></stop><stop offset="1" stop-opacity="1"></stop></linearGradient></defs><g opacity="1"><use xlink:href="#path-1" fill="url(#linearGradient-2)" fill-opacity="1"></use></g></svg>'),gt=t=>{const p=me({startColor:"#28aff0",endColor:"#120fc4"},t);return(()=>{const h=ct.cloneNode(!0),s=h.firstChild,g=s.firstChild,a=g.nextSibling,i=a.firstChild,u=i.nextSibling;return be(o=>{const c=p.startColor,m=p.endColor;return c!==o._v$&&U(i,"stop-color",o._v$=c),m!==o._v$2&&U(u,"stop-color",o._v$2=m),o},{_v$:void 0,_v$2:void 0}),h})()},ut=t=>{const p=X("#a9c6ff","#062b74");return e(q,{get bgColor(){return w(()=>!!t.useNewVersion,!0)()?void 0:p()},get style(){return w(()=>!!t.useNewVersion,!0)()?{"background-image":`url(${$e("/images/new_bg.png")})`,"background-size":"cover","background-position":"center"}:void 0},pos:"fixed",top:"0",left:"0",overflow:"hidden",zIndex:"-1",w:"100vw",h:"100vh",get children(){return e(l,{get when(){return!t.useNewVersion},get children(){return[e(q,{pos:"absolute",right:{"@initial":"-100px","@sm":"-300px"},top:{"@initial":"-1170px","@sm":"-900px"},get children(){return e(gt,{})}}),e(q,{pos:"absolute",left:{"@initial":"-100px","@sm":"-200px"},bottom:{"@initial":"-760px","@sm":"-400px"},get children(){return e(at,{})}})]}})}})},we=()=>{const t=j("sso_login_enabled"),p=C("sso_login_platform"),h=j("sso_compatibility_mode"),{searchParams:s,to:g}=Ce(),a=s.token;a!=null&&a!=""&&(F(a),g(decodeURIComponent(s.redirect||E||"/"),!0));function i(u){const o=u.data;o.token&&(F(o.token),g(decodeURIComponent(s.redirect||E||"/"),!0))}if(window.addEventListener("message",i),ve(()=>{window.removeEventListener("message",i)}),t){const u=()=>{const c=I.getUri()+"/auth/sso?method=sso_get_token";if(h){window.location.href=c;return}window.open(c,"authPopup","width=500,height=600")};let o;switch(p){case"Github":o=Oe;break;case"Microsoft":o=je;break;case"Google":o=Ue;break;case"Dingtalk":o=Te;break;default:o=Me}return e(N,{cursor:"pointer",boxSize:"$8",as:o,p:"$0_5",onclick:u})}},wt=()=>{const t=Ve(),p=J(()=>`${t("login.login_to")} ${C("site_title")}`);tt(p);const h=X("white","$neutral1"),[s,g]=_(localStorage.getItem("username")||""),[a,i]=_(localStorage.getItem("password")||""),[u,o]=_(!1),[c,m]=_(""),[L,xe]=_(!1),[P,ye]=Ke("remember-pwd","false"),[O,Y]=_(!1),[d,Q]=_(!1),V=()=>{if(!d())g(""),i("");else{const r=localStorage.getItem("username")||"",n=localStorage.getItem("password")||"";g(r),i(n)}Q(!d())},[dt,ke]=D(()=>I.get("/public/settings")),Se=async()=>{const r=await ke();fe(r,n=>{et(n)})},K=J(()=>C("use_newui")==="true"),ee=J(()=>C("allow_register")==="true");ae(()=>{Se()});const[te,Ie]=D(async()=>O()?I.post("/auth/login/ldap",{username:s(),password:a(),otp_code:c()}):I.post("/auth/login/hash",{username:s(),password:lt(a()),otp_code:c()})),[re,Fe]=D(async()=>We({username:s(),password:a()})),[,Ee]=D((r,n,b,H)=>I.post("/authn/webauthn_finish_login?username="+b,JSON.stringify(n),{headers:{session:r},signal:H})),[,Le]=D((r,n)=>I.get("/authn/webauthn_begin_login?username="+r,{signal:n})),{searchParams:A,to:G}=Ce(),De=async()=>PublicKeyCredential&&"isConditionalMediationAvailable"in PublicKeyCredential?await PublicKeyCredential.isConditionalMediationAvailable():!1,W=j("webauthn_login_enabled"),ne=async()=>{xe(!L())};let f=null;const oe=async r=>{if(!rt()){r||$.error(t("users.webauthn_not_supported"));return}if(r&&!await De())return;f==null||f.abort();const n=new AbortController;f=n;const b=r?"":s();!r&&P()==="true"?localStorage.setItem("username",s()):localStorage.removeItem("username");const H=await Le(b,n.signal);fe(H,async ie=>{try{const v=nt(ie.options);v.signal=n.signal,r&&(v.mediation="conditional");const Pe=await ot(v),Ae=await Ee(ie.session,Pe,b,n.signal);Z(Ae,y=>{$.success(t("login.success")),F(y.token),y.device_key?(localStorage.setItem("device_key",y.device_key),console.log("=== Login Debug (Hash) ==="),console.log("Saved device_key:",y.device_key),console.log("Full response data:",y),console.log("========================")):(console.log("=== Login Debug (Hash) ==="),console.log("No device_key in response"),console.log("Full response data:",y),console.log("========================")),G(decodeURIComponent(A.redirect||E||"/"),!0)})}catch(v){v instanceof Error&&v.name!="AbortError"&&$.error(v.message)}})},se=()=>f==null?void 0:f.abort();ae(()=>{W&&(window.addEventListener("beforeunload",se),oe(!0))}),ve(()=>{f==null||f.abort(),window.removeEventListener("beforeunload",se)});const x=async()=>{if(d()){const r=await Fe();Z(r,n=>{$.success(t("login.register_success")),Q(!1),i("")},(n,b)=>{b===403?$.error(t("login.register_disabled")):$.error(n)})}else if(L())await oe();else{P()==="true"?(localStorage.setItem("username",s()),localStorage.setItem("password",a())):(localStorage.removeItem("username"),localStorage.removeItem("password"));const r=await Ie();Z(r,n=>{$.success(t("login.success")),F(n.token),n.device_key?(localStorage.setItem("device_key",n.device_key),console.log("=== Login Debug ==="),console.log("Saved device_key:",n.device_key),console.log("Full response data:",n),console.log("==================")):(console.log("=== Login Debug ==="),console.log("No device_key in response"),console.log("Full response data:",n),console.log("==================")),G(decodeURIComponent(A.redirect||E||"/"),!0)},(n,b)=>{!M()&&b===402?Re(!0):$.error(n)})}},[M,Re]=_(!1),le=j("ldap_login_enabled"),ze=C("ldap_login_tips");le&&Y(!0);const Be=()=>t("login.password_login"),Ne=()=>C("logo").split(`
|
|
2
2
|
`)[0];return e(Qe,{zIndex:"1",w:"$full",h:"100vh",get children(){return[e(T,{spacing:"$6",alignItems:"center",get children(){return[e(l,{get when(){return K()},get children(){return e(R,{alignItems:"center",spacing:"$2",get children(){return e(ce,{w:"151px",h:"auto",get src(){return w(()=>C("logo").split(`
|
|
3
3
|
`)[0]==="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg",!0)()?$e("/images/new_icon.png"):C("logo").split(`
|
|
4
4
|
`)[0]},alt:"AList Logo"})}})}}),e(l,{get when(){return K()},get fallback(){return e(T,{get bgColor(){return h()},rounded:"$xl",p:"24px",w:{"@initial":"90%","@sm":"364px"},spacing:"$4",get children(){return[e(k,{alignItems:"center",justifyContent:"space-around",get children(){return[e(ce,{mr:"$2",boxSize:"$12",get src(){return Ne()}}),e(ge,{color:"$info9",fontSize:"$2xl",get children(){return w(()=>!!d(),!0)()?t("login.register"):Be()}})]}}),e(l,{get when(){return!M()},get fallback(){return e(S,{id:"totp",name:"otp",get placeholder(){return t("login.otp-tips")},get value(){return c()},onInput:r=>m(r.currentTarget.value),onKeyDown:r=>{r.key==="Enter"&&x()}})},get children(){return[e(S,{name:"username",get placeholder(){return t("login.username-tips")},get value(){return s()},onInput:r=>g(r.currentTarget.value)}),e(l,{get when(){return!L()},get children(){return e(S,{name:"password",get placeholder(){return t("login.password-tips")},type:"password",get value(){return a()},onInput:r=>i(r.currentTarget.value),onKeyDown:r=>{r.key==="Enter"&&x()}})}}),e(k,{px:"$1",w:"$full",fontSize:"$sm",color:"$neutral10",justifyContent:"space-between",alignItems:"center",get children(){return[e(ue,{get checked(){return P()==="true"},onChange:()=>ye(P()==="true"?"false":"true"),get children(){return t("login.remember")}}),e(l,{get when(){return!d()},get children(){return e(z,{as:"a",target:"_blank",get href(){return t("login.forget_url")},get children(){return t("login.forget")}})}}),e(l,{get when(){return d()},get children(){return e(z,{as:"a",onClick:V,cursor:"pointer",_hover:{textDecoration:"underline",color:"#2B5CD9"},color:"#3573FF",get children(){return t("login.go_login")}})}})]}})]}}),e(R,{w:"$full",spacing:"$2",get children(){return[e(l,{get when(){return!L()},get children(){return e(B,{colorScheme:"primary",w:"$full",onClick:()=>{M()?m(""):(g(""),i(""))},get children(){return t("login.clear")}})}}),e(B,{w:"$full",get loading(){return te()||re()},onClick:x,get children(){return w(()=>!!d(),!0)()?t("login.register"):t("login.login")}})]}}),e(l,{when:le,get children(){return e(ue,{w:"$full",get checked(){return O()===!0},onChange:()=>Y(!O()),children:ze})}}),e(B,{w:"$full",colorScheme:"accent",onClick:()=>{F(),G(decodeURIComponent(A.redirect||E||"/"),!0)},get children(){return t("login.use_guest")}}),e(l,{get when(){return w(()=>!d(),!0)()&&ee()},get children(){return e(B,{w:"$full",get bgColor(){return X("#FFE9FB","#491D42")()},color:"#ED73D7",onClick:V,_hover:{backgroundColor:"rgba(237, 115, 215, 0.25)"},get children(){return t("login.register")}})}}),e(k,{mt:"$2",justifyContent:"space-evenly",alignItems:"center",color:"$neutral10",w:"$full",get children(){return[e(de,{}),e(pe,{}),e(we,{}),e(l,{when:W,get children(){return e(N,{cursor:"pointer",boxSize:"$8",as:he,p:"$0_5",onclick:ne})}})]}})]}})},get children(){return e(T,{get bgColor(){return h()},rounded:"$xl",p:"24px",w:{"@initial":"90%","@sm":"420px"},spacing:"$4",get children(){return[e(k,{alignItems:"center",justifyContent:"center",get children(){return e(ge,{color:"#3573FF",fontSize:"18px",get children(){return w(()=>!!d(),!0)()?t("login.register"):t("login.password_login")}})}}),e(He,{borderColor:"#E9E9E9"}),e(l,{get when(){return!M()},get fallback(){return e(S,{id:"totp",name:"otp",get placeholder(){return t("login.otp-tips")},get value(){return c()},onInput:r=>m(r.currentTarget.value),onKeyDown:r=>{r.key==="Enter"&&x()}})},get children(){return[e(R,{w:"$full",border:"1px solid",borderColor:"$neutral6",borderRadius:"12px",px:"$3",spacing:"$2",alignItems:"center",_focusWithin:{borderColor:"$primary6",boxShadow:"0 0 0 1px $colors$primary6"},get children(){return[e(N,{as:qe,color:"$neutral8",boxSize:"$5"}),e(S,{name:"username",get placeholder(){return t("login.username-tips")},get value(){return s()},onInput:r=>g(r.currentTarget.value),border:"none",backgroundColor:"transparent",_focus:{border:"none",boxShadow:"none",backgroundColor:"transparent"},_hover:{border:"none",boxShadow:"none",backgroundColor:"transparent"},flex:1})]}}),e(l,{get when(){return!L()},get children(){return e(R,{w:"$full",border:"1px solid",borderColor:"$neutral6",borderRadius:"12px",px:"$3",spacing:"$2",alignItems:"center",_focusWithin:{borderColor:"$primary6",boxShadow:"0 0 0 1px $colors$primary6"},get children(){return[e(N,{as:Je,color:"$neutral8",boxSize:"$5"}),e(S,{name:"password",get placeholder(){return t("login.password-tips")},get type(){return u()?"text":"password"},get value(){return a()},onInput:r=>i(r.currentTarget.value),onKeyDown:r=>{r.key==="Enter"&&x()},border:"none",backgroundColor:"transparent",_focus:{border:"none",boxShadow:"none",backgroundColor:"transparent"},_hover:{border:"none",boxShadow:"none",backgroundColor:"transparent"},flex:1}),e(Ze,{size:"md",variant:"ghost",get icon(){return w(()=>!!u(),!0)()?e(Xe,{}):e(Ye,{})},onClick:()=>o(!u()),color:"$neutral8",get"aria-label"(){return u()?"隐藏密码":"显示密码"},_hover:{backgroundColor:"$neutral3"}})]}})}}),e(l,{get when(){return!d()},get children(){return e(k,{px:"$1",w:"$full",fontSize:"$sm",color:"$neutral10",justifyContent:"flex-end",alignItems:"center",get children(){return e(z,{as:"a",target:"_blank",get href(){return t("login.forget_url")},get children(){return t("login.forget")}})}})}})]}}),e(T,{w:"$full",spacing:"$4",get children(){return[e(B,{w:"$full",get loading(){return te()||re()},onClick:x,bgColor:"#3573FF",color:"white",_hover:{backgroundColor:"#2B5CD9"},_active:{backgroundColor:"#1E40AF"},h:"45px",fontSize:"16px",fontWeight:"bold",borderRadius:"12px",mt:"$2",get children(){return w(()=>!!d(),!0)()?t("login.register"):t("login.login")}}),e(R,{w:"$full",justifyContent:"space-between",alignItems:"center",get children(){return[e(l,{get when(){return ee()},get children(){return e(z,{color:"#3573FF",fontSize:"14px",cursor:"pointer",onClick:V,_hover:{textDecoration:"underline",color:"#2B5CD9"},get children(){return w(()=>!!d(),!0)()?t("login.go_login"):t("login.register")}})}}),e(z,{as:"a",onClick:()=>{F(),G(decodeURIComponent(A.redirect||E||"/"),!0)},color:"#3573FF",fontSize:"14px",cursor:"pointer",_hover:{textDecoration:"underline",color:"#2B5CD9"},get children(){return t("login.use_guest")}})]}})]}}),e(k,{mt:"$2",justifyContent:"space-evenly",alignItems:"center",color:"$neutral10",w:"$full",get children(){return[e(de,{}),e(pe,{}),e(we,{}),e(l,{when:W,get children(){return e(N,{cursor:"pointer",boxSize:"$8",as:he,p:"$0_5",onclick:ne})}})]}})]}})}})]}}),e(ut,{get useNewVersion(){return K()}})]}})};export{wt as default};
|