alistgo-alist-web 3.61.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-cb7ea2a9.js → 2fa-abc3de78.js} +1 -1
- package/dist/assets/{2fa-legacy.a3f8a30e.js → 2fa-legacy.55737098.js} +1 -1
- package/dist/assets/{About-6096f6c7.js → About-ebade33f.js} +1 -1
- package/dist/assets/{About-legacy.e9dbd119.js → About-legacy.1ab87d8b.js} +1 -1
- package/dist/assets/AddLabelDialog-d838839b.js +1 -0
- package/dist/assets/{AddLabelDialog-legacy.09ed510e.js → AddLabelDialog-legacy.0c773d90.js} +1 -1
- package/dist/assets/AddOrEdit-616ec90f.js +1 -0
- package/dist/assets/{AddOrEdit-b0e747e7.js → AddOrEdit-81330314.js} +4 -4
- package/dist/assets/AddOrEdit-b4bb1c42.js +1 -0
- package/dist/assets/AddOrEdit-ebed8ac0.js +1 -0
- package/dist/assets/{AddOrEdit-legacy.adf1d406.js → AddOrEdit-legacy.2fd88478.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.8f70f59e.js → AddOrEdit-legacy.3af450b0.js} +1 -1
- package/dist/assets/AddOrEdit-legacy.abd115d9.js +1 -0
- package/dist/assets/{AddOrEdit-legacy.05b84ff0.js → AddOrEdit-legacy.acbb24c8.js} +1 -1
- package/dist/assets/Common-ca550843.js +1 -0
- package/dist/assets/{Common-legacy.65996de0.js → Common-legacy.b3ab5071.js} +1 -1
- package/dist/assets/{Copy-85fded0f.js → Copy-0384ca0d.js} +1 -1
- package/dist/assets/{Copy-legacy.58c8c4e6.js → Copy-legacy.e201e664.js} +1 -1
- package/dist/assets/Decompress-272f91b5.js +1 -0
- package/dist/assets/{Decompress-legacy.0b27b3f9.js → Decompress-legacy.3df460b6.js} +1 -1
- package/dist/assets/{DeletePopover-89ff4c98.js → DeletePopover-3958d0ad.js} +1 -1
- package/dist/assets/{DeletePopover-legacy.4c59c493.js → DeletePopover-legacy.49680594.js} +1 -1
- package/dist/assets/EditLabelDialog-ea31ea23.js +1 -0
- package/dist/assets/{EditLabelDialog-legacy.0ab4de9e.js → EditLabelDialog-legacy.2b5bee02.js} +1 -1
- package/dist/assets/{File-38711440.js → File-9c374f1a.js} +1 -1
- package/dist/assets/{File-legacy.1dc99454.js → File-legacy.9d2c3ca7.js} +1 -1
- package/dist/assets/{Folder-82be7ec7.js → Folder-14a25b89.js} +2 -2
- package/dist/assets/{Folder-legacy.aaace84d.js → Folder-legacy.de37bd62.js} +2 -2
- package/dist/assets/{FolderTree-d1e90c37.js → FolderTree-7ae29384.js} +1 -1
- package/dist/assets/{FolderTree-legacy.a888e639.js → FolderTree-legacy.53528cb3.js} +1 -1
- package/dist/assets/Frp-f7302299.js +2 -0
- package/dist/assets/{Frp-legacy.1aa3da75.js → Frp-legacy.71102175.js} +1 -1
- package/dist/assets/Grid-f0c4d013.js +1 -0
- package/dist/assets/{Grid-legacy.d2b1b604.js → Grid-legacy.164386d7.js} +1 -1
- package/dist/assets/{GridItem-c56d6204.js → GridItem-657d21bd.js} +1 -1
- package/dist/assets/{GridItem-legacy.bf169195.js → GridItem-legacy.2c3dbff8.js} +1 -1
- package/dist/assets/ImageWithError-270ffbd0.js +1 -0
- package/dist/assets/{ImageWithError-legacy.00a2062f.js → ImageWithError-legacy.991e20db.js} +1 -1
- package/dist/assets/{Images-94d04fd2.js → Images-1b5fd472.js} +1 -1
- package/dist/assets/{Images-legacy.20063334.js → Images-legacy.d3a439bd.js} +1 -1
- package/dist/assets/Layout-77c54d54.js +11 -0
- package/dist/assets/Layout-legacy.d9c36690.js +1 -0
- package/dist/assets/{List-3ce3bd73.js → List-cb3f2b1f.js} +2 -2
- package/dist/assets/{List-legacy.47b3ba7a.js → List-legacy.d509dbd5.js} +1 -1
- package/dist/assets/Messenger-69bf75f1.js +1 -0
- package/dist/assets/{Messenger-legacy.4d680989.js → Messenger-legacy.2447ffbd.js} +1 -1
- package/dist/assets/{Metas-2c92e91e.js → Metas-6fc6206f.js} +1 -1
- package/dist/assets/{Metas-legacy.bc31a988.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-ccd083d4.js → PackageDownload-f1225dad.js} +1 -1
- package/dist/assets/{PackageDownload-legacy.8cce0507.js → PackageDownload-legacy.5ce2ee6a.js} +1 -1
- package/dist/assets/{Paginator-9bdd1cd7.js → Paginator-8b9321c4.js} +1 -1
- package/dist/assets/{Paginator-legacy.81f596db.js → Paginator-legacy.25f9c490.js} +1 -1
- package/dist/assets/{Password-f142627a.js → Password-b98cef17.js} +1 -1
- package/dist/assets/{Password-legacy.ef070148.js → Password-legacy.f4c14222.js} +1 -1
- package/dist/assets/PermissionForm-7a161a53.js +1 -0
- package/dist/assets/{PermissionForm-legacy.ef1a4800.js → PermissionForm-legacy.14a9fe69.js} +1 -1
- package/dist/assets/{Profile-2a100efe.js → Profile-e8195cc8.js} +1 -1
- package/dist/assets/{Profile-legacy.66edb2d1.js → Profile-legacy.876024b1.js} +1 -1
- package/dist/assets/{ResponsiveGrid-5e43552b.js → ResponsiveGrid-0e943896.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy.0bb996c1.js → ResponsiveGrid-legacy.a9062597.js} +1 -1
- package/dist/assets/{Role-cbe457f5.js → Role-3e2c225c.js} +1 -1
- package/dist/assets/{Role-legacy.c7e0abb3.js → Role-legacy.2745cfe3.js} +1 -1
- package/dist/assets/S3-3211311d.js +1 -0
- package/dist/assets/{S3-legacy.c4d143d3.js → S3-legacy.6b587900.js} +1 -1
- package/dist/assets/{S3Transition-95314e5a.js → S3Transition-4b41bf18.js} +1 -1
- package/dist/assets/{S3Transition-legacy.c82da694.js → S3Transition-legacy.cf3cde2a.js} +1 -1
- package/dist/assets/SettingItem-e7a7bfc9.js +1 -0
- package/dist/assets/{SettingItem-legacy.92882c3f.js → SettingItem-legacy.b5a9ffeb.js} +1 -1
- package/dist/assets/Storages-baae5b17.js +1 -0
- package/dist/assets/{Storages-legacy.8f8b8a89.js → Storages-legacy.bf0c1aa1.js} +1 -1
- package/dist/assets/StrmGenerate-768d6021.js +1 -0
- package/dist/assets/StrmGenerate-d4f07081.js +1 -0
- package/dist/assets/StrmGenerate-legacy.4402360f.js +1 -0
- package/dist/assets/StrmGenerate-legacy.ecbb8e9d.js +1 -0
- package/dist/assets/Tag-ffe1a992.js +1 -0
- package/dist/assets/{Tag-legacy.cc93cf4c.js → Tag-legacy.971a1953.js} +1 -1
- package/dist/assets/Task-438c4d6b.js +1 -0
- package/dist/assets/{Task-legacy.4ab8b723.js → Task-legacy.607e52ad.js} +1 -1
- package/dist/assets/Tasks-c0229b29.js +1 -0
- package/dist/assets/{Tasks-legacy.65d524f1.js → Tasks-legacy.f3598230.js} +1 -1
- package/dist/assets/{Upload-826e41e6.js → Upload-958e240c.js} +2 -2
- package/dist/assets/Upload-e69eb0ff.js +1 -0
- package/dist/assets/{Upload-legacy.9122522b.js → Upload-legacy.03c286e2.js} +1 -1
- package/dist/assets/{Upload-legacy.319a15b8.js → Upload-legacy.698d3c2b.js} +1 -1
- package/dist/assets/Users-bdf25bea.js +1 -0
- package/dist/assets/{Users-legacy.887929e8.js → Users-legacy.b0075433.js} +1 -1
- package/dist/assets/{Wether-029f9625.js → Wether-891c8709.js} +1 -1
- package/dist/assets/{Wether-legacy.539b2a22.js → Wether-legacy.7a5c9f59.js} +1 -1
- package/dist/assets/{aliyun_office-069047f5.js → aliyun_office-a22ac966.js} +1 -1
- package/dist/assets/{aliyun_office-legacy.44f48db4.js → aliyun_office-legacy.910c67dd.js} +1 -1
- package/dist/assets/{aliyun_video-a45fcaba.js → aliyun_video-72e75696.js} +1 -1
- package/dist/assets/{aliyun_video-legacy.c36029d3.js → aliyun_video-legacy.3ca538ae.js} +1 -1
- package/dist/assets/archive-15d8b252.js +1 -0
- package/dist/assets/{archive-legacy.472f5155.js → archive-legacy.141ed6de.js} +1 -1
- package/dist/assets/{asciinema-70fb1d19.js → asciinema-befe680b.js} +1 -1
- package/dist/assets/{asciinema-legacy.3708296e.js → asciinema-legacy.0e111ef8.js} +1 -1
- package/dist/assets/{audio-95e18513.js → audio-37bb4f75.js} +1 -1
- package/dist/assets/{audio-legacy.4b3e64b8.js → audio-legacy.9c9e6fd9.js} +1 -1
- package/dist/assets/backup-restore-8d5112f2.js +1 -0
- package/dist/assets/{backup-restore-legacy.69c0559a.js → backup-restore-legacy.21994194.js} +1 -1
- package/dist/assets/doubao-4962e438.js +1 -0
- package/dist/assets/{doubao-legacy.6e1a0c42.js → doubao-legacy.e8e5bddc.js} +1 -1
- package/dist/assets/{download-dd4a9f52.js → download-cf222578.js} +1 -1
- package/dist/assets/{download-legacy.83e3ca0d.js → download-legacy.6b17b261.js} +1 -1
- package/dist/assets/entry-23d0eac8.js +5 -0
- package/dist/assets/entry-2abbb591.js +5 -0
- package/dist/assets/entry-55b019b5.js +6 -0
- package/dist/assets/entry-6fb77620.js +5 -0
- package/dist/assets/entry-9896052e.js +5 -0
- package/dist/assets/entry-9a9c06fb.js +5 -0
- package/dist/assets/entry-d1529af3.js +8 -0
- package/dist/assets/entry-d2b2146e.js +5 -0
- package/dist/assets/entry-d9866ffb.js +5 -0
- package/dist/assets/entry-f67c0939.js +9 -0
- 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.c9424c94.js +1 -0
- package/dist/assets/entry-legacy.d1b30365.js +1 -0
- package/dist/assets/entry-legacy.f43d27fe.js +1 -0
- package/dist/assets/helper-8d6da87f.js +1 -0
- package/dist/assets/{helper-302b9882.js → helper-bcff9934.js} +1 -1
- package/dist/assets/helper-legacy.c67cf50b.js +1 -0
- package/dist/assets/{helper-legacy.bb88e979.js → helper-legacy.fc3cc7d5.js} +1 -1
- package/dist/assets/{hls-b5c51f5c.js → hls-34ad2bf0.js} +1 -1
- package/dist/assets/{hls-legacy.f74f1b02.js → hls-legacy.258e62dc.js} +1 -1
- package/dist/assets/{html-e6ebbfe7.js → html-772e9d83.js} +1 -1
- package/dist/assets/{html-legacy.c448305e.js → html-legacy.d0f89f46.js} +1 -1
- package/dist/assets/{image-a765aabc.js → image-73b55447.js} +1 -1
- package/dist/assets/{image-legacy.b952a2ab.js → image-legacy.944e86c3.js} +1 -1
- package/dist/assets/index-003b5203.js +4 -0
- package/dist/assets/{index-097118aa.js → index-0af67a26.js} +3 -3
- package/dist/assets/{index-4272a855.js → index-14204052.js} +1 -1
- package/dist/assets/{index-6b9a4a39.js → index-2da9ca8e.js} +2 -2
- package/dist/assets/{index-64f3f7ee.js → index-314d6447.js} +1 -1
- package/dist/assets/index-54ddc888.js +1 -0
- package/dist/assets/{index-94d8bb81.js → index-6021c988.js} +1 -1
- package/dist/assets/{index-e14aed16.js → index-66bc0c4a.js} +1 -1
- package/dist/assets/{index-982dc586.js → index-66f271c4.js} +1 -1
- package/dist/assets/{index-f48677b4.js → index-6cfcfd46.js} +1 -1
- package/dist/assets/index-76fcdbdf.js +1 -0
- package/dist/assets/{index-46ff1987.js → index-bc854cf4.js} +1 -1
- package/dist/assets/index-cbfadd9b.js +1 -0
- package/dist/assets/index-ccd3c2df.js +1 -0
- package/dist/assets/index-legacy.06ba96c2.js +1 -0
- package/dist/assets/{index-legacy.5d7aedf8.js → index-legacy.14cbd866.js} +1 -1
- package/dist/assets/{index-legacy.109d2298.js → index-legacy.24d29f81.js} +1 -1
- package/dist/assets/index-legacy.257815ef.js +1 -0
- package/dist/assets/{index-legacy.39669174.js → index-legacy.2ecd8568.js} +1 -1
- package/dist/assets/index-legacy.35aba8a0.js +1 -0
- package/dist/assets/{index-legacy.65a03174.js → index-legacy.53efc4c8.js} +1 -1
- package/dist/assets/index-legacy.5a403980.js +1 -0
- package/dist/assets/{index-legacy.700628c0.js → index-legacy.7b9d362b.js} +1 -1
- package/dist/assets/{index-legacy.f351c9d5.js → index-legacy.831645c0.js} +1 -1
- package/dist/assets/{index-legacy.8e6dd372.js → index-legacy.9a995a78.js} +3 -3
- package/dist/assets/{index-legacy.a34f2550.js → index-legacy.aa1b93bf.js} +1 -1
- package/dist/assets/index-legacy.b2067bd5.js +1 -0
- package/dist/assets/{index-legacy.b47c082c.js → index-legacy.f9d48ec7.js} +1 -1
- package/dist/assets/{indexes-42915701.js → indexes-39a5b1ff.js} +2 -2
- package/dist/assets/{indexes-legacy.2be8c8e2.js → indexes-legacy.8769beeb.js} +1 -1
- package/dist/assets/{info-e6aec8da.js → info-6b46a634.js} +1 -1
- package/dist/assets/{info-legacy.8e2407e9.js → info-legacy.dc8f48be.js} +1 -1
- package/dist/assets/{ipa-355cad8e.js → ipa-86dc8896.js} +1 -1
- package/dist/assets/{ipa-legacy.620ed486.js → ipa-legacy.17ae2e8d.js} +1 -1
- package/dist/assets/{lark-c99ca602.js → lark-73a41a60.js} +1 -1
- package/dist/assets/lark-legacy.24acf7f1.js +1 -0
- package/dist/assets/{lark_tools-a69e5c86.js → lark_tools-649a02b3.js} +1 -1
- package/dist/assets/{lark_tools-legacy.2a07e7c5.js → lark_tools-legacy.eecb6c72.js} +1 -1
- package/dist/assets/{layout-3be5796c.js → layout-5d35ffe8.js} +1 -1
- package/dist/assets/{layout-legacy.c4ffb577.js → layout-legacy.ae9754f2.js} +1 -1
- package/dist/assets/{management-a3d9c57e.js → management-0c24b19e.js} +1 -1
- package/dist/assets/{management-legacy.609c17f0.js → management-legacy.8848a8f8.js} +1 -1
- package/dist/assets/{markdown-f993d929.js → markdown-8d906270.js} +1 -1
- package/dist/assets/{markdown-legacy.0e8ef12a.js → markdown-legacy.9eb66931.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-49e3006a.js → markdown_with_word_wrap-c0408f23.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-legacy.1bec17da.js → markdown_with_word_wrap-legacy.3463bef2.js} +1 -1
- package/dist/assets/{mySession-6bf003c9.js → mySession-884023ca.js} +1 -1
- package/dist/assets/{mySession-legacy.c215dd7e.js → mySession-legacy.68203a3e.js} +1 -1
- package/dist/assets/offline_download-6fa0e9d2.js +1 -0
- package/dist/assets/{offline_download-legacy.a515427b.js → offline_download-legacy.d0f875cd.js} +1 -1
- package/dist/assets/{open-with-dd359a85.js → open-with-7bd13257.js} +1 -1
- package/dist/assets/{open-with-legacy.1f1e9d2e.js → open-with-legacy.89db98a3.js} +1 -1
- package/dist/assets/{plist-6ecd435f.js → plist-18445805.js} +1 -1
- package/dist/assets/{plist-legacy.2a00f2b7.js → plist-legacy.c128376d.js} +1 -1
- package/dist/assets/{polyfills-legacy.03573a32.js → polyfills-legacy.bfccebe0.js} +1 -1
- package/dist/assets/shares-d862241a.js +1 -0
- package/dist/assets/shares-legacy.2e408931.js +1 -0
- package/dist/assets/solid-contextmenu-389460bd.js +1 -0
- package/dist/assets/{solid-contextmenu-legacy.45db084d.js → solid-contextmenu-legacy.0f1769af.js} +1 -1
- package/dist/assets/{text-editor-0d40b038.js → text-editor-ffff6c54.js} +3 -3
- package/dist/assets/{text-editor-legacy.d7ce2b09.js → text-editor-legacy.cd9e1a2d.js} +1 -1
- package/dist/assets/{url-2bd1af74.js → url-23fb7cc0.js} +1 -1
- package/dist/assets/{url-legacy.bb219aff.js → url-legacy.b18d3809.js} +1 -1
- package/dist/assets/{useTitle-67f5a76e.js → useTitle-394ae64f.js} +1 -1
- package/dist/assets/useTitle-legacy.2e69d9a6.js +1 -0
- package/dist/assets/{video-266fd479.js → video-ebb98b67.js} +1 -1
- package/dist/assets/{video-legacy.77f878d1.js → video-legacy.768a1779.js} +1 -1
- package/dist/assets/{video360-f09dd534.js → video360-a4d64816.js} +1 -1
- package/dist/assets/{video360-legacy.205eb009.js → video360-legacy.8266ee4a.js} +1 -1
- package/dist/assets/{video_box-045d9937.js → video_box-a8a43c3b.js} +1 -1
- package/dist/assets/{video_box-legacy.4950e5a2.js → video_box-legacy.53fe4ab0.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/AddLabelDialog-f30e62f0.js +0 -1
- package/dist/assets/AddOrEdit-571232ad.js +0 -1
- package/dist/assets/AddOrEdit-63e95d6c.js +0 -1
- package/dist/assets/AddOrEdit-6bc3eb11.js +0 -1
- package/dist/assets/AddOrEdit-legacy.cee8dee6.js +0 -1
- package/dist/assets/Common-7b514968.js +0 -1
- package/dist/assets/Decompress-cb05b916.js +0 -1
- package/dist/assets/EditLabelDialog-c0a81f18.js +0 -1
- package/dist/assets/Frp-7b991e30.js +0 -2
- package/dist/assets/Grid-bc261aa2.js +0 -1
- package/dist/assets/ImageWithError-5c8d2b0d.js +0 -1
- package/dist/assets/Layout-65ffe244.js +0 -11
- package/dist/assets/Layout-legacy.229a0237.js +0 -1
- package/dist/assets/Messenger-99ef38d1.js +0 -1
- package/dist/assets/Other-27081d81.js +0 -1
- package/dist/assets/Other-legacy.5be2fea1.js +0 -1
- package/dist/assets/PermissionForm-7ecd469c.js +0 -1
- package/dist/assets/S3-fcb45a4e.js +0 -1
- package/dist/assets/SettingItem-331c6d3d.js +0 -1
- package/dist/assets/Storages-565bb7ce.js +0 -1
- package/dist/assets/Tag-ea600438.js +0 -1
- package/dist/assets/Task-f2abc4f4.js +0 -1
- package/dist/assets/Tasks-4840b9b8.js +0 -1
- package/dist/assets/Upload-54c8e82b.js +0 -1
- package/dist/assets/Users-ef63a128.js +0 -1
- package/dist/assets/archive-797b61bd.js +0 -1
- package/dist/assets/backup-restore-ea1fa37f.js +0 -1
- package/dist/assets/doubao-2e2cf5a7.js +0 -1
- package/dist/assets/entry-0d5b2694.js +0 -5
- package/dist/assets/entry-1109d5de.js +0 -5
- package/dist/assets/entry-393b1257.js +0 -5
- package/dist/assets/entry-5d3890b4.js +0 -9
- package/dist/assets/entry-62f41435.js +0 -5
- package/dist/assets/entry-6663d7f8.js +0 -8
- package/dist/assets/entry-82ec069a.js +0 -5
- package/dist/assets/entry-99dedd16.js +0 -5
- package/dist/assets/entry-adef8f40.js +0 -6
- package/dist/assets/entry-e8da7559.js +0 -5
- package/dist/assets/entry-legacy.044c9107.js +0 -1
- package/dist/assets/entry-legacy.092feba6.js +0 -1
- package/dist/assets/entry-legacy.13267221.js +0 -1
- package/dist/assets/entry-legacy.208e2bf8.js +0 -1
- package/dist/assets/entry-legacy.45397b94.js +0 -1
- package/dist/assets/entry-legacy.714d1359.js +0 -1
- package/dist/assets/entry-legacy.75cb77dd.js +0 -1
- package/dist/assets/entry-legacy.a5dc8c0d.js +0 -1
- package/dist/assets/entry-legacy.c044cc8d.js +0 -1
- package/dist/assets/entry-legacy.dc0fb689.js +0 -1
- package/dist/assets/helper-64de39e5.js +0 -1
- package/dist/assets/helper-legacy.0544f8ea.js +0 -1
- package/dist/assets/index-65e1fb13.js +0 -1
- package/dist/assets/index-cf867bc3.js +0 -1
- package/dist/assets/index-e351922f.js +0 -1
- package/dist/assets/index-ebec74bc.js +0 -1
- package/dist/assets/index-ff603dcc.js +0 -4
- package/dist/assets/index-legacy.0622472a.js +0 -1
- package/dist/assets/index-legacy.48869c21.js +0 -1
- package/dist/assets/index-legacy.a94e1da0.js +0 -1
- package/dist/assets/index-legacy.ed85f231.js +0 -1
- package/dist/assets/index-legacy.f3eaa353.js +0 -1
- package/dist/assets/lark-legacy.18399c7f.js +0 -1
- package/dist/assets/offline_download-6f41303e.js +0 -1
- package/dist/assets/shares-dfda0ff5.js +0 -1
- package/dist/assets/shares-legacy.640a835f.js +0 -1
- package/dist/assets/solid-contextmenu-bcfd6ca7.js +0 -1
- package/dist/assets/useTitle-legacy.3f53e3dc.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as O,d as L,C as a,r as M,y as n,aw as _,R as f,aG as o,av as m,dM as U,dN as A,dO as p,a6 as l,dP as B,dQ as E,dR as H,Y as I,n as s,ck as N,eu as P,a3 as u,ev as j,ew as z}from"./index-0af67a26.js";import{D as F}from"./DeletePopover-3958d0ad.js";import{g as v}from"./ua-parser-5a8f43f2.js";const W=()=>{const r=O(),{to:S}=L(),[w,C]=a([]),[$,g]=a(!1),[d,c]=a(null),[k,h]=a(null),[D,y]=a(!1),T=async e=>{h(e);try{const t=await z(e);u(t,()=>{s.success(r("session.kick_out_success")),i()},K=>{s.error(K||r("session.kick_out_failed"))})}catch{s.error(r("session.kick_out_failed"))}finally{h(null)}},b=e=>{const t=localStorage.getItem("device_key");return t&&e.session_id===t},x=async e=>{b(e)?(s.error(r("session.kick_out_current_session")),N(),S(`/@login?redirect=${encodeURIComponent(window.location.pathname)}`)):await T(e.session_id)},i=async()=>{g(!0),c(null);try{const e=await P();u(e,t=>{C(t||[])},t=>{c(t)})}catch(e){c(e instanceof Error?e.message:"Unknown error")}finally{g(!1)}};M(()=>{i()});const R=async()=>{y(!0);try{const e=await j();u(e,()=>{s.success(r("session.clean_success")),i()},t=>{s.error(t||r("session.clean_failed"))})}catch{s.error(r("session.clean_failed"))}finally{y(!1)}};return n(I,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[n(_,{spacing:"$2",get children(){return[n(f,{colorScheme:"accent",get loading(){return $()},onClick:i,get children(){return r("global.refresh")}}),n(f,{colorScheme:"danger",get loading(){return D()},onClick:R,get children(){return r("session.clean")}})]}}),o(()=>o(()=>!!d(),!0)()&&n(m,{color:"red.500",fontSize:"sm",get children(){return d()}})),n(m,{w:"$full",overflowX:"auto",get children(){return n(U,{highlightOnHover:!0,dense:!0,get children(){return[n(A,{get children(){return n(p,{get children(){return n(l,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"user_id",align:"center"},{key:"username",align:"center"},{key:"operations",align:"center"}],children:e=>n(B,{get textAlign(){return e.align},get children(){return o(()=>e.key==="operations",!0)()?r("global.operations"):r(`session.${e.key}`)}})})}})}}),n(E,{get children(){return n(l,{get each(){return w()},children:e=>n(p,{get children(){return n(l,{get each(){return[{key:"device_id",align:"left",content:e.session_id?`${e.session_id.slice(0,6)}***${e.session_id.slice(-6)}`:"-"},{key:"system_info",align:"left",content:e.ua?v(e.ua):"-"},{key:"ip",align:"center",content:e.ip||"-"},{key:"last_active",align:"center",content:e.last_active?new Date(e.last_active*1e3).toLocaleString():"-"},{key:"status",align:"center",content:e.status===0?r("session.active"):r("session.offline")},{key:"user_id",align:"center",content:e.user_id},{key:"username",align:"center",content:e.username||"-"},{key:"operations",align:"center",content:n(_,{spacing:"$2",justifyContent:"center",get children(){return n(F,{get name(){return`${e.session_id?`${e.session_id.slice(0,6)}***${e.session_id.slice(-6)}`:"-"} (${e.ua?v(e.ua):"-"})`},get loading(){return k()===e.session_id},get disabled(){return k()!==null},onClick:()=>x(e),get buttonText(){return r("session.kick_out")}})}})}]},children:t=>n(H,{get textAlign(){return t.align},get children(){return t.content}})})}})})}})]}})}})]}})};export{W as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(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 n};var n={},r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(O){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),c=new E(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var a=b(c,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,c),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(O){return{type:"throw",arg:O}}}n.wrap=l;var h={};function p(){}function d(){}function y(){}var g={};s(g,c,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==r&&o.call(m,c)&&(g=m);var w=y.prototype=p.prototype=Object.create(g);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,n){function r(i,c,a,u){var s=f(e[i],e,c);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==t(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):n.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=y,s(w,"constructor",y),s(y,"constructor",d),d.displayName=s(y,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},n.awrap=function(t){return{__await:t}},k(_.prototype),s(_.prototype,a,(function(){return this})),n.AsyncIterator=_,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var c=new _(l(t,e,r,o),i);return n.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},k(w),s(w,u,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=S,E.prototype={constructor:E,reset:function(t){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),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},n}function n(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(s){return void n(s)}a.done?e(u):Promise.resolve(u).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var c=t.apply(e,r);function a(t){n(c,o,i,a,u,"next",t)}function u(t){n(c,o,i,a,u,"throw",t)}a(void 0)}))}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(u){a=!0,o=u}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy.8e6dd372.js","./DeletePopover-legacy.4c59c493.js","./ua-parser-legacy.5e4c06d6.js"],(function(t,n){"use strict";var i,c,a,u,s,l,f,h,p,d,y,g,v,m,w,k,_,b,x,L,E,S,j,O,A;return{setters:[function(t){i=t.b,c=t.d,a=t.B,u=t.q,s=t.x,l=t.aw,f=t.Q,h=t.aG,p=t.av,d=t.dM,y=t.dN,g=t.dO,v=t.a5,m=t.dP,w=t.dQ,k=t.dR,_=t.X,b=t.n,x=t.ck,L=t.eu,E=t.a2,S=t.ev,j=t.ew},function(t){O=t.D},function(t){A=t.g}],execute:function(){t("default",(function(){var t=i(),n=c().to,I=o(a([]),2),P=I[0],G=I[1],N=o(a(!1),2),T=N[0],C=N[1],$=o(a(null),2),F=$[0],D=$[1],U=o(a(null),2),M=U[0],Q=U[1],R=o(a(!1),2),X=R[0],Y=R[1],q=function(){var n=r(e().mark((function n(r){var o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Q(r),e.prev=1,e.next=4,j(r);case 4:o=e.sent,E(o,(function(){b.success(t("session.kick_out_success")),H()}),(function(e){b.error(e||t("session.kick_out_failed"))})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),b.error(t("session.kick_out_failed"));case 11:return e.prev=11,Q(null),e.finish(11);case 14:case"end":return e.stop()}}),n,null,[[1,8,11,14]])})));return function(t){return n.apply(this,arguments)}}(),z=function(t){var e=localStorage.getItem("device_key");return e&&t.session_id===e},B=function(){var o=r(e().mark((function r(o){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!z(o)){e.next=7;break}b.error(t("session.kick_out_current_session")),x(),n("/@login?redirect=".concat(encodeURIComponent(window.location.pathname))),e.next=9;break;case 7:return e.next=9,q(o.session_id);case 9:case"end":return e.stop()}}),r)})));return function(t){return o.apply(this,arguments)}}(),H=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return C(!0),D(null),t.prev=2,t.next=5,L();case 5:n=t.sent,E(n,(function(t){G(t||[])}),(function(t){D(t)})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),D(t.t0 instanceof Error?t.t0.message:"Unknown error");case 12:return t.prev=12,C(!1),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,9,12,15]])})));return function(){return t.apply(this,arguments)}}();u((function(){H()}));var J=function(){var n=r(e().mark((function n(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Y(!0),e.prev=1,e.next=4,S();case 4:r=e.sent,E(r,(function(){b.success(t("session.clean_success")),H()}),(function(e){b.error(e||t("session.clean_failed"))})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),b.error(t("session.clean_failed"));case 11:return e.prev=11,Y(!1),e.finish(11);case 14:case"end":return e.stop()}}),n,null,[[1,8,11,14]])})));return function(){return n.apply(this,arguments)}}();return s(_,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[s(l,{spacing:"$2",get children(){return[s(f,{colorScheme:"accent",get loading(){return T()},onClick:H,get children(){return t("global.refresh")}}),s(f,{colorScheme:"danger",get loading(){return X()},onClick:J,get children(){return t("session.clean")}})]}}),h((function(){return h((function(){return!!F()}),!0)()&&s(p,{color:"red.500",fontSize:"sm",get children(){return F()}})})),s(p,{w:"$full",overflowX:"auto",get children(){return s(d,{highlightOnHover:!0,dense:!0,get children(){return[s(y,{get children(){return s(g,{get children(){return s(v,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"user_id",align:"center"},{key:"username",align:"center"},{key:"operations",align:"center"}],children:function(e){return s(m,{get textAlign(){return e.align},get children(){return h((function(){return"operations"===e.key}),!0)()?t("global.operations"):t("session.".concat(e.key))}})}})}})}}),s(w,{get children(){return s(v,{get each(){return P()},children:function(e){return s(g,{get children(){return s(v,{get each(){return[{key:"device_id",align:"left",content:e.session_id?"".concat(e.session_id.slice(0,6),"***").concat(e.session_id.slice(-6)):"-"},{key:"system_info",align:"left",content:e.ua?A(e.ua):"-"},{key:"ip",align:"center",content:e.ip||"-"},{key:"last_active",align:"center",content:e.last_active?new Date(1e3*e.last_active).toLocaleString():"-"},{key:"status",align:"center",content:0===e.status?t("session.active"):t("session.offline")},{key:"user_id",align:"center",content:e.user_id},{key:"username",align:"center",content:e.username||"-"},{key:"operations",align:"center",content:s(l,{spacing:"$2",justifyContent:"center",get children(){return s(O,{get name(){return"".concat(e.session_id?"".concat(e.session_id.slice(0,6),"***").concat(e.session_id.slice(-6)):"-"," (").concat(e.ua?A(e.ua):"-",")")},get loading(){return M()===e.session_id},get disabled(){return null!==M()},onClick:function(){return B(e)},get buttonText(){return t("session.kick_out")}})}})}]},children:function(t){return s(k,{get textAlign(){return t.align},get children(){return t.content}})}})}})}})}})]}})}})]}})}))}}}))}();
|
|
1
|
+
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(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 n};var n={},r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(O){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),c=new E(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var a=b(c,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,c),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(O){return{type:"throw",arg:O}}}n.wrap=l;var h={};function p(){}function d(){}function y(){}var g={};s(g,c,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==r&&o.call(m,c)&&(g=m);var w=y.prototype=p.prototype=Object.create(g);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,n){function r(i,c,a,u){var s=f(e[i],e,c);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==t(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):n.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=y,s(w,"constructor",y),s(y,"constructor",d),d.displayName=s(y,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},n.awrap=function(t){return{__await:t}},k(_.prototype),s(_.prototype,a,(function(){return this})),n.AsyncIterator=_,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var c=new _(l(t,e,r,o),i);return n.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},k(w),s(w,u,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=S,E.prototype={constructor:E,reset:function(t){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),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},n}function n(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(s){return void n(s)}a.done?e(u):Promise.resolve(u).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var c=t.apply(e,r);function a(t){n(c,o,i,a,u,"next",t)}function u(t){n(c,o,i,a,u,"throw",t)}a(void 0)}))}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(u){a=!0,o=u}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy.9a995a78.js","./DeletePopover-legacy.49680594.js","./ua-parser-legacy.5e4c06d6.js"],(function(t,n){"use strict";var i,c,a,u,s,l,f,h,p,d,y,g,v,m,w,k,_,b,x,L,E,S,j,O,A;return{setters:[function(t){i=t.b,c=t.d,a=t.C,u=t.r,s=t.y,l=t.aw,f=t.R,h=t.aG,p=t.av,d=t.dM,y=t.dN,g=t.dO,v=t.a6,m=t.dP,w=t.dQ,k=t.dR,_=t.Y,b=t.n,x=t.ck,L=t.eu,E=t.a3,S=t.ev,j=t.ew},function(t){O=t.D},function(t){A=t.g}],execute:function(){t("default",(function(){var t=i(),n=c().to,G=o(a([]),2),P=G[0],I=G[1],N=o(a(!1),2),C=N[0],T=N[1],$=o(a(null),2),F=$[0],D=$[1],R=o(a(null),2),U=R[0],Y=R[1],M=o(a(!1),2),z=M[0],H=M[1],K=function(){var n=r(e().mark((function n(r){var o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Y(r),e.prev=1,e.next=4,j(r);case 4:o=e.sent,E(o,(function(){b.success(t("session.kick_out_success")),q()}),(function(e){b.error(e||t("session.kick_out_failed"))})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),b.error(t("session.kick_out_failed"));case 11:return e.prev=11,Y(null),e.finish(11);case 14:case"end":return e.stop()}}),n,null,[[1,8,11,14]])})));return function(t){return n.apply(this,arguments)}}(),Q=function(t){var e=localStorage.getItem("device_key");return e&&t.session_id===e},X=function(){var o=r(e().mark((function r(o){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Q(o)){e.next=7;break}b.error(t("session.kick_out_current_session")),x(),n("/@login?redirect=".concat(encodeURIComponent(window.location.pathname))),e.next=9;break;case 7:return e.next=9,K(o.session_id);case 9:case"end":return e.stop()}}),r)})));return function(t){return o.apply(this,arguments)}}(),q=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return T(!0),D(null),t.prev=2,t.next=5,L();case 5:n=t.sent,E(n,(function(t){I(t||[])}),(function(t){D(t)})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),D(t.t0 instanceof Error?t.t0.message:"Unknown error");case 12:return t.prev=12,T(!1),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,9,12,15]])})));return function(){return t.apply(this,arguments)}}();u((function(){q()}));var B=function(){var n=r(e().mark((function n(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return H(!0),e.prev=1,e.next=4,S();case 4:r=e.sent,E(r,(function(){b.success(t("session.clean_success")),q()}),(function(e){b.error(e||t("session.clean_failed"))})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),b.error(t("session.clean_failed"));case 11:return e.prev=11,H(!1),e.finish(11);case 14:case"end":return e.stop()}}),n,null,[[1,8,11,14]])})));return function(){return n.apply(this,arguments)}}();return s(_,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[s(l,{spacing:"$2",get children(){return[s(f,{colorScheme:"accent",get loading(){return C()},onClick:q,get children(){return t("global.refresh")}}),s(f,{colorScheme:"danger",get loading(){return z()},onClick:B,get children(){return t("session.clean")}})]}}),h((function(){return h((function(){return!!F()}),!0)()&&s(p,{color:"red.500",fontSize:"sm",get children(){return F()}})})),s(p,{w:"$full",overflowX:"auto",get children(){return s(d,{highlightOnHover:!0,dense:!0,get children(){return[s(y,{get children(){return s(g,{get children(){return s(v,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"user_id",align:"center"},{key:"username",align:"center"},{key:"operations",align:"center"}],children:function(e){return s(m,{get textAlign(){return e.align},get children(){return h((function(){return"operations"===e.key}),!0)()?t("global.operations"):t("session.".concat(e.key))}})}})}})}}),s(w,{get children(){return s(v,{get each(){return P()},children:function(e){return s(g,{get children(){return s(v,{get each(){return[{key:"device_id",align:"left",content:e.session_id?"".concat(e.session_id.slice(0,6),"***").concat(e.session_id.slice(-6)):"-"},{key:"system_info",align:"left",content:e.ua?A(e.ua):"-"},{key:"ip",align:"center",content:e.ip||"-"},{key:"last_active",align:"center",content:e.last_active?new Date(1e3*e.last_active).toLocaleString():"-"},{key:"status",align:"center",content:0===e.status?t("session.active"):t("session.offline")},{key:"user_id",align:"center",content:e.user_id},{key:"username",align:"center",content:e.username||"-"},{key:"operations",align:"center",content:s(l,{spacing:"$2",justifyContent:"center",get children(){return s(O,{get name(){return"".concat(e.session_id?"".concat(e.session_id.slice(0,6),"***").concat(e.session_id.slice(-6)):"-"," (").concat(e.ua?A(e.ua):"-",")")},get loading(){return U()===e.session_id},get disabled(){return null!==U()},onClick:function(){return X(e)},get buttonText(){return t("session.kick_out")}})}})}]},children:function(t){return s(k,{get textAlign(){return t.align},get children(){return t.content}})}})}})}})}})]}})}})]}})}))}}}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eN as r,
|
|
1
|
+
import{eN as r,y as n,bV as o,cX as a,an as c,cY as s}from"./index-0af67a26.js";const u=()=>{const[e]=r();return n(s,{get loading(){return e.loading},get children(){return n(o,{get children(){var t;return(t=e())==null?void 0:t.content},get ext(){return a(c.obj.name)},toc:!0})}})};export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,n){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=[],i=!0,a=!1;try{for(n=n.call(t);!(i=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);i=!0);}catch(l){a=!0,o=l}finally{try{i||null==n.return||n.return()}finally{if(a)throw o}}return u}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return r(t,n);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 r(t,n)}(t,n)||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 r(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,n){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=[],i=!0,a=!1;try{for(n=n.call(t);!(i=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);i=!0);}catch(l){a=!0,o=l}finally{try{i||null==n.return||n.return()}finally{if(a)throw o}}return u}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return r(t,n);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 r(t,n)}(t,n)||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 r(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(r,n){"use strict";var e,o,u,i,a,l;return{setters:[function(t){e=t.eN,o=t.y,u=t.bV,i=t.cX,a=t.an,l=t.cY}],execute:function(){r("default",(function(){var r=t(e(),1)[0];return o(l,{get loading(){return r.loading},get children(){return o(u,{get children(){var t;return null===(t=r())||void 0===t?void 0:t.content},get ext(){return i(a.obj.name)},toc:!0})}})}))}}}))}();
|
package/dist/assets/{markdown_with_word_wrap-49e3006a.js → markdown_with_word_wrap-c0408f23.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eN as n,
|
|
1
|
+
import{eN as n,y as r,bV as a,cX as o,an as c,cY as s}from"./index-0af67a26.js";const u=()=>{const[e]=n();return r(s,{get loading(){return e.loading},get children(){return r(a,{class:"word-wrap",get children(){var t;return(t=e())==null?void 0:t.content},get ext(){return o(c.obj.name)},toc:!0})}})};export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==n)return;var e,o,u=[],i=!0,a=!1;try{for(n=n.call(r);!(i=(e=n.next()).done)&&(u.push(e.value),!t||u.length!==t);i=!0);}catch(l){a=!0,o=l}finally{try{i||null==n.return||n.return()}finally{if(a)throw o}}return u}(r,n)||function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r,n)||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 n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.
|
|
1
|
+
!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==n)return;var e,o,u=[],i=!0,a=!1;try{for(n=n.call(r);!(i=(e=n.next()).done)&&(u.push(e.value),!t||u.length!==t);i=!0);}catch(l){a=!0,o=l}finally{try{i||null==n.return||n.return()}finally{if(a)throw o}}return u}(r,n)||function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r,n)||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 n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.9a995a78.js"],(function(t,n){"use strict";var e,o,u,i,a,l;return{setters:[function(r){e=r.eN,o=r.y,u=r.bV,i=r.cX,a=r.an,l=r.cY}],execute:function(){t("default",(function(){var t=r(e(),1)[0];return o(l,{get loading(){return t.loading},get children(){return o(u,{class:"word-wrap",get children(){var r;return null===(r=t())||void 0===r?void 0:r.content},get ext(){return i(a.obj.name)},toc:!0})}})}))}}}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as a,b as D,d as b,r as M,y as n,aw as h,R as x,av as R,dM as K,dN as O,dO as y,a6 as u,dP as E,aG as U,dQ as A,dR as B,Y as H,n as s,ck as I,es as L,a3 as _,et as N,cp as f}from"./index-0af67a26.js";import{g as p}from"./ua-parser-5a8f43f2.js";import{D as P}from"./DeletePopover-3958d0ad.js";const V=()=>{const[v,m]=a([]),[S,g]=a(!1),[j,c]=a(null),[d,k]=a(null),r=D(),{to:o}=b(),$=async e=>{k(e);try{const t=await N(e);_(t,()=>{s.success(r("session.kick_out_success")),l()},(i,T)=>{if(i!=null&&i.includes("session inactive")||T===403){s.error(r("session.kick_out_current_session")),f(),o("/@login");return}s.error(i||r("session.kick_out_failed"))})}catch(t){const i=t instanceof Error?t.message:String(t);if(i.includes("session inactive")||i.includes("401")){s.error(r("session.kick_out_current_session")),f(),o("/@login");return}s.error(r("session.kick_out_failed"))}finally{k(null)}},w=e=>{const t=localStorage.getItem("device_key");return t&&e.session_id===t},C=async e=>{w(e)?(s.error(r("session.kick_out_current_session")),I(),o(`/@login?redirect=${encodeURIComponent(window.location.pathname)}`)):await $(e.session_id)},l=async()=>{g(!0),c(null);try{const e=await L();_(e,t=>{m(t||[])},t=>{c(t)})}catch(e){c(e instanceof Error?e.message:"Unknown error")}finally{g(!1)}};return M(()=>{l()}),n(H,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[n(h,{spacing:"$2",get children(){return n(x,{colorScheme:"accent",get loading(){return S()},onClick:l,get children(){return r("global.refresh")}})}}),n(R,{w:"$full",overflowX:"auto",get children(){return n(K,{highlightOnHover:!0,dense:!0,get children(){return[n(O,{get children(){return n(y,{get children(){return n(u,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"operations",align:"center"}],children:e=>n(E,{get textAlign(){return e.align},get children(){return U(()=>e.key==="operations",!0)()?r("global.operations"):r(`session.${e.key}`)}})})}})}}),n(A,{get children(){return n(u,{get each(){return v()},children:e=>n(y,{get children(){return n(u,{get each(){return[{key:"device_id",align:"left",content:e.session_id?`${e.session_id.slice(0,6)}***${e.session_id.slice(-6)}`:"-"},{key:"system_info",align:"left",content:e.ua?p(e.ua):"-"},{key:"ip",align:"center",content:e.ip||"-"},{key:"last_active",align:"center",content:e.last_active?new Date(e.last_active*1e3).toLocaleString():"-"},{key:"status",align:"center",content:e.status===0?r("session.active"):r("session.offline")},{key:"operations",align:"center",content:n(h,{spacing:"$2",justifyContent:"center",get children(){return n(P,{get name(){return`${e.session_id?`${e.session_id.slice(0,6)}***${e.session_id.slice(-6)}`:"-"} (${e.ua?p(e.ua):"-"})`},get loading(){return d()===e.session_id},get disabled(){return d()!==null},onClick:()=>C(e),get buttonText(){return r("session.kick_out")}})}})}]},children:t=>n(B,{get textAlign(){return t.align},get children(){return t.content}})})}})})}})]}})}})]}})};export{V as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(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 r};var r={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(O){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),c=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=b(c,r);if(a){if(a===h)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}r.wrap=l;var h={};function p(){}function d(){}function y(){}var g={};s(g,c,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==n&&o.call(m,c)&&(g=m);var w=y.prototype=p.prototype=Object.create(g);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(i,c,a,u){var s=f(e[i],e,c);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==t(h)&&o.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):r.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=y,s(w,"constructor",y),s(y,"constructor",d),d.displayName=s(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},k(_.prototype),s(_.prototype,a,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var c=new _(l(t,e,n,o),i);return r.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},k(w),s(w,u,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},r.values=S,E.prototype={constructor:E,reset:function(t){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),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(s){return void r(s)}a.done?e(u):Promise.resolve(u).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=t.apply(e,n);function a(t){r(c,o,i,a,u,"next",t)}function u(t){r(c,o,i,a,u,"throw",t)}a(void 0)}))}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(t);!(c=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);c=!0);}catch(u){a=!0,o=u}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}System.register(["./index-legacy.8e6dd372.js","./ua-parser-legacy.5e4c06d6.js","./DeletePopover-legacy.4c59c493.js"],(function(t,r){"use strict";var i,c,a,u,s,l,f,h,p,d,y,g,v,m,w,k,_,b,x,L,E,S,j,O,A;return{setters:[function(t){i=t.B,c=t.b,a=t.d,u=t.q,s=t.x,l=t.aw,f=t.Q,h=t.av,p=t.dM,d=t.dN,y=t.dO,g=t.a5,v=t.dP,m=t.aG,w=t.dQ,k=t.dR,_=t.X,b=t.n,x=t.ck,L=t.es,E=t.a2,S=t.et,j=t.cp},function(t){O=t.g},function(t){A=t.D}],execute:function(){t("default",(function(){var t=o(i([]),2),r=t[0],I=t[1],P=o(i(!1),2),G=P[0],N=P[1],T=o(i(null),2),$=(T[0],T[1]),C=o(i(null),2),F=C[0],D=C[1],U=c(),M=a().to,Q=function(){var t=n(e().mark((function t(r){var n,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return D(r),t.prev=1,t.next=4,S(r);case 4:n=t.sent,E(n,(function(){b.success(U("session.kick_out_success")),Y()}),(function(t,e){if(null!=t&&t.includes("session inactive")||403===e)return b.error(U("session.kick_out_current_session")),j(),void M("/@login");b.error(t||U("session.kick_out_failed"))})),t.next=17;break;case 8:if(t.prev=8,t.t0=t.catch(1),!(o=t.t0 instanceof Error?t.t0.message:String(t.t0)).includes("session inactive")&&!o.includes("401")){t.next=16;break}return b.error(U("session.kick_out_current_session")),j(),M("/@login"),t.abrupt("return");case 16:b.error(U("session.kick_out_failed"));case 17:return t.prev=17,D(null),t.finish(17);case 20:case"end":return t.stop()}}),t,null,[[1,8,17,20]])})));return function(e){return t.apply(this,arguments)}}(),R=function(t){var e=localStorage.getItem("device_key");return e&&t.session_id===e},X=function(){var t=n(e().mark((function t(r){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!R(r)){t.next=7;break}b.error(U("session.kick_out_current_session")),x(),M("/@login?redirect=".concat(encodeURIComponent(window.location.pathname))),t.next=9;break;case 7:return t.next=9,Q(r.session_id);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Y=function(){var t=n(e().mark((function t(){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return N(!0),$(null),t.prev=2,t.next=5,L();case 5:r=t.sent,E(r,(function(t){I(t||[])}),(function(t){$(t)})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),$(t.t0 instanceof Error?t.t0.message:"Unknown error");case 12:return t.prev=12,N(!1),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,9,12,15]])})));return function(){return t.apply(this,arguments)}}();return u((function(){Y()})),s(_,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[s(l,{spacing:"$2",get children(){return s(f,{colorScheme:"accent",get loading(){return G()},onClick:Y,get children(){return U("global.refresh")}})}}),s(h,{w:"$full",overflowX:"auto",get children(){return s(p,{highlightOnHover:!0,dense:!0,get children(){return[s(d,{get children(){return s(y,{get children(){return s(g,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"operations",align:"center"}],children:function(t){return s(v,{get textAlign(){return t.align},get children(){return m((function(){return"operations"===t.key}),!0)()?U("global.operations"):U("session.".concat(t.key))}})}})}})}}),s(w,{get children(){return s(g,{get each(){return r()},children:function(t){return s(y,{get children(){return s(g,{get each(){return[{key:"device_id",align:"left",content:t.session_id?"".concat(t.session_id.slice(0,6),"***").concat(t.session_id.slice(-6)):"-"},{key:"system_info",align:"left",content:t.ua?O(t.ua):"-"},{key:"ip",align:"center",content:t.ip||"-"},{key:"last_active",align:"center",content:t.last_active?new Date(1e3*t.last_active).toLocaleString():"-"},{key:"status",align:"center",content:0===t.status?U("session.active"):U("session.offline")},{key:"operations",align:"center",content:s(l,{spacing:"$2",justifyContent:"center",get children(){return s(A,{get name(){return"".concat(t.session_id?"".concat(t.session_id.slice(0,6),"***").concat(t.session_id.slice(-6)):"-"," (").concat(t.ua?O(t.ua):"-",")")},get loading(){return F()===t.session_id},get disabled(){return null!==F()},onClick:function(){return X(t)},get buttonText(){return U("session.kick_out")}})}})}]},children:function(t){return s(k,{get textAlign(){return t.align},get children(){return t.content}})}})}})}})}})]}})}})]}})}))}}}))}();
|
|
1
|
+
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(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 r};var r={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(O){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),c=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=b(c,r);if(a){if(a===h)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}r.wrap=l;var h={};function p(){}function d(){}function y(){}var g={};s(g,c,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==n&&o.call(m,c)&&(g=m);var w=y.prototype=p.prototype=Object.create(g);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(i,c,a,u){var s=f(e[i],e,c);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==t(h)&&o.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):r.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=y,s(w,"constructor",y),s(y,"constructor",d),d.displayName=s(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},k(_.prototype),s(_.prototype,a,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var c=new _(l(t,e,n,o),i);return r.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},k(w),s(w,u,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},r.values=S,E.prototype={constructor:E,reset:function(t){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),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(s){return void r(s)}a.done?e(u):Promise.resolve(u).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=t.apply(e,n);function a(t){r(c,o,i,a,u,"next",t)}function u(t){r(c,o,i,a,u,"throw",t)}a(void 0)}))}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(t);!(c=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);c=!0);}catch(u){a=!0,o=u}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}System.register(["./index-legacy.9a995a78.js","./ua-parser-legacy.5e4c06d6.js","./DeletePopover-legacy.49680594.js"],(function(t,r){"use strict";var i,c,a,u,s,l,f,h,p,d,y,g,v,m,w,k,_,b,x,L,E,S,j,O,A;return{setters:[function(t){i=t.C,c=t.b,a=t.d,u=t.r,s=t.y,l=t.aw,f=t.R,h=t.av,p=t.dM,d=t.dN,y=t.dO,g=t.a6,v=t.dP,m=t.aG,w=t.dQ,k=t.dR,_=t.Y,b=t.n,x=t.ck,L=t.es,E=t.a3,S=t.et,j=t.cp},function(t){O=t.g},function(t){A=t.D}],execute:function(){t("default",(function(){var t=o(i([]),2),r=t[0],G=t[1],P=o(i(!1),2),I=P[0],N=P[1],T=o(i(null),2),C=(T[0],T[1]),$=o(i(null),2),F=$[0],D=$[1],R=c(),U=a().to,Y=function(){var t=n(e().mark((function t(r){var n,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return D(r),t.prev=1,t.next=4,S(r);case 4:n=t.sent,E(n,(function(){b.success(R("session.kick_out_success")),K()}),(function(t,e){if(null!=t&&t.includes("session inactive")||403===e)return b.error(R("session.kick_out_current_session")),j(),void U("/@login");b.error(t||R("session.kick_out_failed"))})),t.next=17;break;case 8:if(t.prev=8,t.t0=t.catch(1),!(o=t.t0 instanceof Error?t.t0.message:String(t.t0)).includes("session inactive")&&!o.includes("401")){t.next=16;break}return b.error(R("session.kick_out_current_session")),j(),U("/@login"),t.abrupt("return");case 16:b.error(R("session.kick_out_failed"));case 17:return t.prev=17,D(null),t.finish(17);case 20:case"end":return t.stop()}}),t,null,[[1,8,17,20]])})));return function(e){return t.apply(this,arguments)}}(),M=function(t){var e=localStorage.getItem("device_key");return e&&t.session_id===e},H=function(){var t=n(e().mark((function t(r){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!M(r)){t.next=7;break}b.error(R("session.kick_out_current_session")),x(),U("/@login?redirect=".concat(encodeURIComponent(window.location.pathname))),t.next=9;break;case 7:return t.next=9,Y(r.session_id);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),K=function(){var t=n(e().mark((function t(){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return N(!0),C(null),t.prev=2,t.next=5,L();case 5:r=t.sent,E(r,(function(t){G(t||[])}),(function(t){C(t)})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),C(t.t0 instanceof Error?t.t0.message:"Unknown error");case 12:return t.prev=12,N(!1),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,9,12,15]])})));return function(){return t.apply(this,arguments)}}();return u((function(){K()})),s(_,{spacing:"$2",alignItems:"start",w:"$full",get children(){return[s(l,{spacing:"$2",get children(){return s(f,{colorScheme:"accent",get loading(){return I()},onClick:K,get children(){return R("global.refresh")}})}}),s(h,{w:"$full",overflowX:"auto",get children(){return s(p,{highlightOnHover:!0,dense:!0,get children(){return[s(d,{get children(){return s(y,{get children(){return s(g,{each:[{key:"device_id",align:"left"},{key:"system_info",align:"left"},{key:"ip",align:"center"},{key:"last_active",align:"center"},{key:"status",align:"center"},{key:"operations",align:"center"}],children:function(t){return s(v,{get textAlign(){return t.align},get children(){return m((function(){return"operations"===t.key}),!0)()?R("global.operations"):R("session.".concat(t.key))}})}})}})}}),s(w,{get children(){return s(g,{get each(){return r()},children:function(t){return s(y,{get children(){return s(g,{get each(){return[{key:"device_id",align:"left",content:t.session_id?"".concat(t.session_id.slice(0,6),"***").concat(t.session_id.slice(-6)):"-"},{key:"system_info",align:"left",content:t.ua?O(t.ua):"-"},{key:"ip",align:"center",content:t.ip||"-"},{key:"last_active",align:"center",content:t.last_active?new Date(1e3*t.last_active).toLocaleString():"-"},{key:"status",align:"center",content:0===t.status?R("session.active"):R("session.offline")},{key:"operations",align:"center",content:s(l,{spacing:"$2",justifyContent:"center",get children(){return s(A,{get name(){return"".concat(t.session_id?"".concat(t.session_id.slice(0,6),"***").concat(t.session_id.slice(-6)):"-"," (").concat(t.ua?O(t.ua):"-",")")},get loading(){return F()===t.session_id},get disabled(){return null!==F()},onClick:function(){return H(t)},get buttonText(){return R("session.kick_out")}})}})}]},children:function(t){return s(k,{get textAlign(){return t.align},get children(){return t.content}})}})}})}})}})]}})}})]}})}))}}}))}();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as e,Y as n}from"./index-0af67a26.js";import{b as r}from"./useTitle-394ae64f.js";import{T as a}from"./Tasks-c0229b29.js";import{g as t,a as o}from"./helper-bcff9934.js";import"./Paginator-8b9321c4.js";import"./index-6cfcfd46.js";import"./Task-438c4d6b.js";const g=()=>(r("manage.sidemenu.offline_download"),e(n,{w:"$full",alignItems:"start",spacing:"$4",get children(){return[e(a,{type:"offline_download",canRetry:!0,get nameAnalyzer(){return t()}}),e(a,{type:"offline_download_transfer",canRetry:!0,get nameAnalyzer(){return o()}})]}}));export{g as default};
|
package/dist/assets/{offline_download-legacy.a515427b.js → offline_download-legacy.d0f875cd.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy.
|
|
1
|
+
System.register(["./index-legacy.9a995a78.js","./useTitle-legacy.2e69d9a6.js","./Tasks-legacy.f3598230.js","./helper-legacy.fc3cc7d5.js","./Paginator-legacy.25f9c490.js","./index-legacy.257815ef.js","./Task-legacy.607e52ad.js"],(function(e,n){"use strict";var t,a,l,r,s,u;return{setters:[function(e){t=e.y,a=e.Y},function(e){l=e.b},function(e){r=e.T},function(e){s=e.g,u=e.a},null,null,null],execute:function(){e("default",(function(){return l("manage.sidemenu.offline_download"),t(a,{w:"$full",alignItems:"start",spacing:"$4",get children(){return[t(r,{type:"offline_download",canRetry:!0,get nameAnalyzer(){return s()}}),t(r,{type:"offline_download_transfer",canRetry:!0,get nameAnalyzer(){return u()}})]}})}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o,
|
|
1
|
+
import{b as o,B as u,eb as c,an as r,cT as l,y as e,aU as g,aR as h,R as i,aE as m,ec as d,aS as w,a6 as b,aT as p,dl as S,S as M}from"./index-0af67a26.js";const j=()=>{const a=o(),n=u(()=>c(r.obj.name)),{currentObjLink:s}=l();return e(M,{get when(){return n().length},get children(){return e(g,{get children(){return[e(h,{as:i,colorScheme:"success",get rightIcon(){return e(m,{as:d})},get children(){return a("home.preview.open_with")}}),e(w,{get children(){return e(b,{get each(){return n()},children:t=>e(p,{as:"a",target:"_blank",get href(){return S(t.value,{raw_url:r.raw_url,name:r.obj.name,d_url:s(!0)})},get children(){return t.key}})})}})]}})}})};export{j as O};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy.
|
|
1
|
+
System.register(["./index-legacy.9a995a78.js"],(function(e,r){"use strict";var n,t,u,c,a,i,l,g,h,o,s,d,f,b,m,w;return{setters:[function(e){n=e.b,t=e.B,u=e.eb,c=e.an,a=e.cT,i=e.y,l=e.aU,g=e.aR,h=e.R,o=e.aE,s=e.ec,d=e.aS,f=e.a6,b=e.aT,m=e.dl,w=e.S}],execute:function(){e("O",(function(){var e=n(),r=t((function(){return u(c.obj.name)})),_=a().currentObjLink;return i(w,{get when(){return r().length},get children(){return i(l,{get children(){return[i(g,{as:h,colorScheme:"success",get rightIcon(){return i(o,{as:s})},get children(){return e("home.preview.open_with")}}),i(d,{get children(){return i(f,{get each(){return r()},children:function(e){return i(b,{as:"a",target:"_blank",get href(){return m(e.value,{raw_url:c.raw_url,name:c.obj.name,d_url:_(!0)})},get children(){return e.key}})}})}})]}})}})}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,
|
|
1
|
+
import{b as a,C as s,y as t,R as i,an as o}from"./index-0af67a26.js";import{F as l}from"./info-6b46a634.js";import"./storage-class-1ac53f89.js";const f=()=>{const e=a(),[n,r]=s(!1);return t(l,{get children(){return t(i,{as:"a",get href(){return"itms-services://?action=download-manifest&url="+o.raw_url},onClick:()=>{r(!0)},get children(){return e(`home.preview.${n()?"installing":"install"}`)}})}})};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==n)return;var e,i,o=[],u=!0,a=!1;try{for(n=n.call(r);!(u=(e=n.next()).done)&&(o.push(e.value),!t||o.length!==t);u=!0);}catch(l){a=!0,i=l}finally{try{u||null==n.return||n.return()}finally{if(a)throw i}}return o}(r,n)||function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r,n)||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 n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.
|
|
1
|
+
!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==n)return;var e,i,o=[],u=!0,a=!1;try{for(n=n.call(r);!(u=(e=n.next()).done)&&(o.push(e.value),!t||o.length!==t);u=!0);}catch(l){a=!0,i=l}finally{try{u||null==n.return||n.return()}finally{if(a)throw i}}return o}(r,n)||function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r,n)||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 n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.9a995a78.js","./info-legacy.dc8f48be.js","./storage-class-legacy.7f6d9768.js"],(function(t,n){"use strict";var e,i,o,u,a,l;return{setters:[function(r){e=r.b,i=r.C,o=r.y,u=r.R,a=r.an},function(r){l=r.F},null],execute:function(){t("default",(function(){var t=e(),n=r(i(!1),2),c=n[0],f=n[1];return o(l,{get children(){return o(u,{as:"a",get href(){return"itms-services://?action=download-manifest&url="+a.raw_url},onClick:function(){f(!0)},get children(){return t("home.preview.".concat(c()?"installing":"install"))}})}})}))}}}))}();
|