alistgo-alist-web 3.65.0 → 3.66.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-ed5fd3f5.js → 2fa-a6ce8519.js} +1 -1
- package/dist/assets/{2fa-legacy.ac2273d3.js → 2fa-legacy.7480e711.js} +1 -1
- package/dist/assets/{About-07b39c36.js → About-784ed148.js} +1 -1
- package/dist/assets/{About-legacy.f45be2db.js → About-legacy.9710ad63.js} +1 -1
- package/dist/assets/{AddLabelDialog-1d6357b9.js → AddLabelDialog-ca94e389.js} +1 -1
- package/dist/assets/{AddLabelDialog-legacy.dd6c914a.js → AddLabelDialog-legacy.897b9eaf.js} +1 -1
- package/dist/assets/{AddOrEdit-dc4e0032.js → AddOrEdit-2cef42b5.js} +1 -1
- package/dist/assets/{AddOrEdit-07c7f3da.js → AddOrEdit-323c7808.js} +1 -1
- package/dist/assets/{AddOrEdit-8e0d8742.js → AddOrEdit-864cb8d9.js} +1 -1
- package/dist/assets/{AddOrEdit-a3103973.js → AddOrEdit-e4a83ecd.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.4bcd7dc8.js → AddOrEdit-legacy.14663f82.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.afba0798.js → AddOrEdit-legacy.5dc5bfad.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.284f0a57.js → AddOrEdit-legacy.8258f223.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy.9c182801.js → AddOrEdit-legacy.bd11e413.js} +1 -1
- package/dist/assets/{Common-8516cca9.js → Common-e402b9dd.js} +1 -1
- package/dist/assets/{Common-legacy.c5ae8b86.js → Common-legacy.2153955d.js} +1 -1
- package/dist/assets/{Copy-4a811523.js → Copy-05523a06.js} +1 -1
- package/dist/assets/{Copy-legacy.8d10f1fe.js → Copy-legacy.bc2c2e95.js} +1 -1
- package/dist/assets/Decompress-351ffa27.js +1 -0
- package/dist/assets/{Decompress-legacy.9f3f38d7.js → Decompress-legacy.dc56456d.js} +1 -1
- package/dist/assets/{DeletePopover-b8a9a633.js → DeletePopover-c62fd1ab.js} +1 -1
- package/dist/assets/{DeletePopover-legacy.ca04a0ab.js → DeletePopover-legacy.577b1340.js} +1 -1
- package/dist/assets/{EditLabelDialog-a98f4188.js → EditLabelDialog-b9e45fda.js} +1 -1
- package/dist/assets/{EditLabelDialog-legacy.1621d4fa.js → EditLabelDialog-legacy.41535a4f.js} +1 -1
- package/dist/assets/{File-0abcb7cc.js → File-bcff35a5.js} +1 -1
- package/dist/assets/{File-legacy.9c7c661c.js → File-legacy.19e8fef4.js} +1 -1
- package/dist/assets/{Folder-41ab63d0.js → Folder-97da4fe2.js} +2 -2
- package/dist/assets/{Folder-legacy.d3dd609c.js → Folder-legacy.92cdf6f7.js} +2 -2
- package/dist/assets/{FolderTree-fee990c3.js → FolderTree-6a14dd8b.js} +1 -1
- package/dist/assets/{FolderTree-legacy.5beed504.js → FolderTree-legacy.c67bc365.js} +1 -1
- package/dist/assets/{Frp-fdb81713.js → Frp-93ee9c59.js} +1 -1
- package/dist/assets/{Frp-legacy.3bd5da35.js → Frp-legacy.b6e40e1f.js} +1 -1
- package/dist/assets/Grid-dcbf6fd9.js +1 -0
- package/dist/assets/{Grid-legacy.8196af70.js → Grid-legacy.ad8b10de.js} +1 -1
- package/dist/assets/{GridItem-8f0a4e78.js → GridItem-fa635854.js} +1 -1
- package/dist/assets/{GridItem-legacy.53e5db4f.js → GridItem-legacy.accda683.js} +1 -1
- package/dist/assets/ImageWithError-b264d605.js +1 -0
- package/dist/assets/{ImageWithError-legacy.7897ddfe.js → ImageWithError-legacy.dfc563e8.js} +1 -1
- package/dist/assets/{Images-5b45ded6.js → Images-9039a7b3.js} +1 -1
- package/dist/assets/{Images-legacy.7c25071b.js → Images-legacy.7c4152f4.js} +1 -1
- package/dist/assets/{Layout-03b40a95.js → Layout-a6cb6653.js} +4 -4
- package/dist/assets/{Layout-legacy.b774c154.js → Layout-legacy.f7b392fc.js} +1 -1
- package/dist/assets/{List-2219e301.js → List-30b5fd1c.js} +1 -1
- package/dist/assets/{List-legacy.b78e0937.js → List-legacy.b5f72686.js} +1 -1
- package/dist/assets/{Messenger-3b98cd80.js → Messenger-0560ffd9.js} +1 -1
- package/dist/assets/{Messenger-legacy.ac452c08.js → Messenger-legacy.faf575f4.js} +1 -1
- package/dist/assets/{Metas-8334d2a7.js → Metas-e9650e65.js} +1 -1
- package/dist/assets/{Metas-legacy.bf01cbbc.js → Metas-legacy.cfaf184d.js} +1 -1
- package/dist/assets/{Other-8a75824a.js → Other-5baa22d7.js} +1 -1
- package/dist/assets/{Other-legacy.a375dca6.js → Other-legacy.8ef107b5.js} +1 -1
- package/dist/assets/{PackageDownload-1d343eca.js → PackageDownload-222f32dc.js} +1 -1
- package/dist/assets/{PackageDownload-legacy.0718c7cf.js → PackageDownload-legacy.e8ef7956.js} +1 -1
- package/dist/assets/{Paginator-33b3808f.js → Paginator-3ef3d0c6.js} +1 -1
- package/dist/assets/{Paginator-legacy.0bcc0a06.js → Paginator-legacy.93a6ac8d.js} +1 -1
- package/dist/assets/{Password-1e03b2a1.js → Password-a086e47b.js} +1 -1
- package/dist/assets/{Password-legacy.38bae4cb.js → Password-legacy.108e4c72.js} +1 -1
- package/dist/assets/{PermissionForm-d8ce57a2.js → PermissionForm-52d65769.js} +1 -1
- package/dist/assets/{PermissionForm-legacy.9b4348f3.js → PermissionForm-legacy.fab78da9.js} +1 -1
- package/dist/assets/{Profile-a5f67165.js → Profile-9a558e54.js} +1 -1
- package/dist/assets/{Profile-legacy.ddceb40f.js → Profile-legacy.857841b6.js} +1 -1
- package/dist/assets/{ResponsiveGrid-9a165c0d.js → ResponsiveGrid-d3a65619.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy.92d430a0.js → ResponsiveGrid-legacy.e149df0f.js} +1 -1
- package/dist/assets/{Role-237e29ce.js → Role-f32728ce.js} +1 -1
- package/dist/assets/{Role-legacy.937d458b.js → Role-legacy.b4f1a0df.js} +1 -1
- package/dist/assets/{S3-061d6236.js → S3-f66fd154.js} +1 -1
- package/dist/assets/{S3-legacy.8823249a.js → S3-legacy.275576b7.js} +1 -1
- package/dist/assets/{S3Transition-beb9f092.js → S3Transition-5e893c2d.js} +1 -1
- package/dist/assets/{S3Transition-legacy.a9014759.js → S3Transition-legacy.f48077d1.js} +1 -1
- package/dist/assets/{SettingItem-1101a924.js → SettingItem-b751b2c5.js} +1 -1
- package/dist/assets/{SettingItem-legacy.2e0a1b78.js → SettingItem-legacy.437c4ed5.js} +1 -1
- package/dist/assets/{Storages-d34a1526.js → Storages-b3d15775.js} +1 -1
- package/dist/assets/{Storages-legacy.b1cd5702.js → Storages-legacy.da167efd.js} +1 -1
- package/dist/assets/{StrmGenerate-79e9aee1.js → StrmGenerate-1f5e044e.js} +1 -1
- package/dist/assets/StrmGenerate-613bc654.js +1 -0
- package/dist/assets/{StrmGenerate-legacy.ab5aecec.js → StrmGenerate-legacy.66ab6a37.js} +1 -1
- package/dist/assets/{StrmGenerate-legacy.21cae5f7.js → StrmGenerate-legacy.e0aee8d8.js} +1 -1
- package/dist/assets/{Tag-ec0bc77d.js → Tag-b900e4c6.js} +1 -1
- package/dist/assets/{Tag-legacy.091c6c0b.js → Tag-legacy.3048c842.js} +1 -1
- package/dist/assets/{Task-ee12c6df.js → Task-9716a5eb.js} +1 -1
- package/dist/assets/{Task-legacy.993c84aa.js → Task-legacy.e8fd93f7.js} +1 -1
- package/dist/assets/{Tasks-da5c9e10.js → Tasks-9e93bf9b.js} +1 -1
- package/dist/assets/{Tasks-legacy.24f9634a.js → Tasks-legacy.a73b03b3.js} +1 -1
- package/dist/assets/{Upload-a30ea457.js → Upload-767afc13.js} +2 -2
- package/dist/assets/Upload-a0c974b6.js +1 -0
- package/dist/assets/{Upload-legacy.8e3f8f5b.js → Upload-legacy.28cb8802.js} +1 -1
- package/dist/assets/{Upload-legacy.9c750547.js → Upload-legacy.eacf9c33.js} +2 -2
- package/dist/assets/{Users-8072ac4d.js → Users-c4a9f913.js} +1 -1
- package/dist/assets/{Users-legacy.f5b75f2a.js → Users-legacy.50916fef.js} +1 -1
- package/dist/assets/{Wether-2d1fe638.js → Wether-bc06124c.js} +1 -1
- package/dist/assets/{Wether-legacy.98561794.js → Wether-legacy.a6bc8158.js} +1 -1
- package/dist/assets/{aliyun_office-ebee9588.js → aliyun_office-610f22d7.js} +1 -1
- package/dist/assets/{aliyun_office-legacy.b06a1a45.js → aliyun_office-legacy.ef26bd27.js} +1 -1
- package/dist/assets/{aliyun_video-b7361903.js → aliyun_video-68f3d193.js} +1 -1
- package/dist/assets/{aliyun_video-legacy.6d4ff360.js → aliyun_video-legacy.ec914351.js} +1 -1
- package/dist/assets/{archive-918eb782.js → archive-348294b2.js} +1 -1
- package/dist/assets/{archive-legacy.66cc28d1.js → archive-legacy.b9e13d88.js} +1 -1
- package/dist/assets/{asciinema-c7a38e55.js → asciinema-3b9733e6.js} +1 -1
- package/dist/assets/{asciinema-legacy.f5ef7418.js → asciinema-legacy.aeae44af.js} +1 -1
- package/dist/assets/{audio-767031b9.js → audio-23a04fcd.js} +1 -1
- package/dist/assets/{audio-legacy.a1601447.js → audio-legacy.d38df8ed.js} +1 -1
- package/dist/assets/{backup-restore-1e664d39.js → backup-restore-639abd09.js} +1 -1
- package/dist/assets/{backup-restore-legacy.3454be27.js → backup-restore-legacy.ffd8b565.js} +1 -1
- package/dist/assets/{doubao-dbccef6f.js → doubao-40508ffd.js} +1 -1
- package/dist/assets/{doubao-legacy.54e97f26.js → doubao-legacy.ce9cdb4f.js} +1 -1
- package/dist/assets/{download-85777c30.js → download-c9ff976d.js} +1 -1
- package/dist/assets/{download-legacy.0a88d596.js → download-legacy.013d5238.js} +1 -1
- package/dist/assets/{entry-0c2f5c59.js → entry-14e46a93.js} +2 -2
- package/dist/assets/{entry-bb2bec47.js → entry-1e7e0599.js} +2 -2
- package/dist/assets/{entry-1cb4692b.js → entry-4441e5ed.js} +3 -3
- package/dist/assets/{entry-54719adb.js → entry-70a8fd74.js} +2 -2
- package/dist/assets/{entry-c0e113da.js → entry-855658cf.js} +2 -2
- package/dist/assets/{entry-6a475220.js → entry-97d71196.js} +5 -5
- package/dist/assets/{entry-d9ec77d7.js → entry-987123a7.js} +2 -2
- package/dist/assets/{entry-293f8889.js → entry-a8ef5d45.js} +5 -5
- package/dist/assets/{entry-922e5ac4.js → entry-f27b34ac.js} +2 -2
- package/dist/assets/{entry-2b7d7a8d.js → entry-fc3998f4.js} +2 -2
- package/dist/assets/entry-legacy.12388c41.js +1 -0
- package/dist/assets/{entry-legacy.da9a301f.js → entry-legacy.4bdadaaa.js} +1 -1
- package/dist/assets/{entry-legacy.70163a35.js → entry-legacy.67113a29.js} +1 -1
- package/dist/assets/{entry-legacy.3077b509.js → entry-legacy.b4cedc5d.js} +1 -1
- package/dist/assets/{entry-legacy.33fb2aeb.js → entry-legacy.c8c5f659.js} +1 -1
- package/dist/assets/{entry-legacy.5477e86d.js → entry-legacy.ce30aaba.js} +1 -1
- package/dist/assets/entry-legacy.df59e06f.js +1 -0
- package/dist/assets/{entry-legacy.e8c74358.js → entry-legacy.e068c401.js} +1 -1
- package/dist/assets/{entry-legacy.eb9090b0.js → entry-legacy.f58fb0fb.js} +1 -1
- package/dist/assets/{entry-legacy.30e420ec.js → entry-legacy.ff673f64.js} +1 -1
- package/dist/assets/{helper-89addd3d.js → helper-204a2c78.js} +1 -1
- package/dist/assets/{helper-ab5aae32.js → helper-980c04cb.js} +1 -1
- package/dist/assets/{helper-legacy.4304690b.js → helper-legacy.23a625cc.js} +1 -1
- package/dist/assets/{helper-legacy.41207839.js → helper-legacy.9192e2ff.js} +1 -1
- package/dist/assets/{hls-490669be.js → hls-3f2505c2.js} +1 -1
- package/dist/assets/{hls-legacy.0cd3dbde.js → hls-legacy.b60e4abe.js} +1 -1
- package/dist/assets/{html-ae28dd97.js → html-e6e3eaa9.js} +1 -1
- package/dist/assets/{html-legacy.1ee9a3dd.js → html-legacy.f513f074.js} +1 -1
- package/dist/assets/{image-ce762fda.js → image-48225136.js} +1 -1
- package/dist/assets/{image-legacy.ebb99722.js → image-legacy.d6824f24.js} +1 -1
- package/dist/assets/{index-5b80a56f.js → index-082de197.js} +1 -1
- package/dist/assets/{index-6e98aa26.js → index-12c59944.js} +3 -3
- package/dist/assets/{index-cdc3b5ff.js → index-22787204.js} +1 -1
- package/dist/assets/{index-aa5a83eb.js → index-3049f6a6.js} +1 -1
- package/dist/assets/{index-94a67054.js → index-32945316.js} +1 -1
- package/dist/assets/{index-6e2f0655.js → index-411bfb29.js} +1 -1
- package/dist/assets/{index-0c3482f7.js → index-74ad17be.js} +1 -1
- package/dist/assets/{index-9f85fd4a.js → index-7f2d39ac.js} +1 -1
- package/dist/assets/{index-25c8c203.js → index-84fc78e3.js} +1 -1
- package/dist/assets/{index-12a11fa4.js → index-866dbfe0.js} +1 -1
- package/dist/assets/{index-d8ea6769.js → index-96300ca1.js} +1 -1
- package/dist/assets/{index-1f021dd2.js → index-c0d66a13.js} +1 -1
- package/dist/assets/{index-0b95f278.js → index-e86810ff.js} +1 -1
- package/dist/assets/index-ea3dac9b.js +1 -0
- package/dist/assets/{index-legacy.50848259.js → index-legacy.0bd9a919.js} +1 -1
- package/dist/assets/{index-legacy.7efaa5f5.js → index-legacy.2a1317b6.js} +1 -1
- package/dist/assets/{index-legacy.4902336b.js → index-legacy.3b74deb2.js} +1 -1
- package/dist/assets/{index-legacy.7d1fb0aa.js → index-legacy.589fef21.js} +1 -1
- package/dist/assets/{index-legacy.fdc1b267.js → index-legacy.5b17a767.js} +1 -1
- package/dist/assets/{index-legacy.e99049a5.js → index-legacy.8bb2e679.js} +1 -1
- package/dist/assets/{index-legacy.c084734b.js → index-legacy.9cb6b809.js} +1 -1
- package/dist/assets/{index-legacy.35059afc.js → index-legacy.9f848378.js} +1 -1
- package/dist/assets/{index-legacy.63ab569f.js → index-legacy.a0bc9786.js} +1 -1
- package/dist/assets/{index-legacy.aadeb0a6.js → index-legacy.c1526c7a.js} +1 -1
- package/dist/assets/{index-legacy.f38f262a.js → index-legacy.cabc0115.js} +1 -1
- package/dist/assets/{index-legacy.0569de56.js → index-legacy.f08d6e76.js} +3 -3
- package/dist/assets/{index-legacy.82ee4b37.js → index-legacy.f58d0110.js} +1 -1
- package/dist/assets/{index-legacy.d8a05658.js → index-legacy.faaad55b.js} +1 -1
- package/dist/assets/{indexes-9e849b24.js → indexes-ff70bb55.js} +1 -1
- package/dist/assets/{indexes-legacy.09a65722.js → indexes-legacy.71dabf90.js} +1 -1
- package/dist/assets/{info-57ab995f.js → info-a3b0123a.js} +1 -1
- package/dist/assets/{info-legacy.6f573e67.js → info-legacy.6bc0fc27.js} +1 -1
- package/dist/assets/{ipa-1c627d9e.js → ipa-f67c10c0.js} +1 -1
- package/dist/assets/{ipa-legacy.466226b4.js → ipa-legacy.8f4e9bc5.js} +1 -1
- package/dist/assets/{lark-9c1d307c.js → lark-8f8b5c20.js} +1 -1
- package/dist/assets/{lark-legacy.7226f6e3.js → lark-legacy.fd930faf.js} +1 -1
- package/dist/assets/{lark_tools-8c437ef0.js → lark_tools-844638d0.js} +1 -1
- package/dist/assets/{lark_tools-legacy.90fd3d64.js → lark_tools-legacy.9d638acc.js} +1 -1
- package/dist/assets/{layout-8c3e88b6.js → layout-9167b163.js} +1 -1
- package/dist/assets/{layout-legacy.4f5f3870.js → layout-legacy.199151b4.js} +1 -1
- package/dist/assets/{management-4c1a6b51.js → management-34fb56b5.js} +1 -1
- package/dist/assets/{management-legacy.84e5760a.js → management-legacy.0d49e310.js} +1 -1
- package/dist/assets/{markdown-3ab05481.js → markdown-2ccf0159.js} +1 -1
- package/dist/assets/{markdown-legacy.0df6ed9c.js → markdown-legacy.06e4607f.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-b392805e.js → markdown_with_word_wrap-32d6b4ac.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-legacy.e68f3d4b.js → markdown_with_word_wrap-legacy.1be55d86.js} +1 -1
- package/dist/assets/{mySession-7bcb5a9b.js → mySession-d4cf7cd7.js} +1 -1
- package/dist/assets/{mySession-legacy.dadbd1a4.js → mySession-legacy.1bcf26b3.js} +1 -1
- package/dist/assets/offline_download-8e72d56b.js +1 -0
- package/dist/assets/{offline_download-legacy.aa9a79f5.js → offline_download-legacy.7cf61888.js} +1 -1
- package/dist/assets/{open-with-d9208620.js → open-with-9e0de645.js} +1 -1
- package/dist/assets/{open-with-legacy.e3bd9fea.js → open-with-legacy.e51ee8ad.js} +1 -1
- package/dist/assets/{plist-a6756c80.js → plist-d38bf73e.js} +1 -1
- package/dist/assets/{plist-legacy.e1cd044b.js → plist-legacy.f8284677.js} +1 -1
- package/dist/assets/{polyfills-legacy.03573a32.js → polyfills-legacy.bfccebe0.js} +1 -1
- package/dist/assets/{shares-51c029e6.js → shares-26647360.js} +1 -1
- package/dist/assets/{shares-legacy.bf13fa75.js → shares-legacy.b95e9341.js} +1 -1
- package/dist/assets/{solid-contextmenu-c30dd1d1.js → solid-contextmenu-b426b8e6.js} +1 -1
- package/dist/assets/{solid-contextmenu-legacy.1761700f.js → solid-contextmenu-legacy.a069fb05.js} +1 -1
- package/dist/assets/{text-editor-fb3ed4e7.js → text-editor-36b58d25.js} +1 -1
- package/dist/assets/{text-editor-legacy.456eba2d.js → text-editor-legacy.d4529c97.js} +1 -1
- package/dist/assets/{url-16016714.js → url-eabfa8c4.js} +1 -1
- package/dist/assets/{url-legacy.f4fd9db0.js → url-legacy.6b04f79a.js} +1 -1
- package/dist/assets/{useTitle-f9295ffa.js → useTitle-4d2813bb.js} +1 -1
- package/dist/assets/{useTitle-legacy.4c438d1f.js → useTitle-legacy.558eeb1b.js} +1 -1
- package/dist/assets/{video-a0ebea7a.js → video-d3bd6564.js} +1 -1
- package/dist/assets/{video-legacy.5b7f41a6.js → video-legacy.c596282e.js} +1 -1
- package/dist/assets/{video360-df3b70b3.js → video360-649f051d.js} +1 -1
- package/dist/assets/{video360-legacy.267eb864.js → video360-legacy.15112b9c.js} +1 -1
- package/dist/assets/{video_box-3ddaba1b.js → video_box-4529bc38.js} +1 -1
- package/dist/assets/{video_box-legacy.a54c8061.js → video_box-legacy.271ea28d.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/Decompress-ca56760c.js +0 -1
- package/dist/assets/Grid-96af823b.js +0 -1
- package/dist/assets/ImageWithError-7a9cb94e.js +0 -1
- package/dist/assets/StrmGenerate-7bb10c94.js +0 -1
- package/dist/assets/Upload-0bd3bbaf.js +0 -1
- package/dist/assets/entry-legacy.8ef24743.js +0 -1
- package/dist/assets/entry-legacy.ed0cc5a4.js +0 -1
- package/dist/assets/index-d0610ae0.js +0 -1
- package/dist/assets/offline_download-bcb94b4e.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(r){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(r)}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var n,o,i=[],a=!0,c=!1;try{for(e=e.call(t);!(a=(n=e.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(u){c=!0,o=u}finally{try{a||null==e.return||e.return()}finally{if(c)throw o}}return i}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);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 e(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 e(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return r};var r={},e=Object.prototype,o=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(O){l=function(t,r,e){return t[r]=e}}function f(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,r,e){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(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=L(a,e);if(c){if(c===s)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=h(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(O){return{type:"throw",arg:O}}}r.wrap=f;var s={};function d(){}function p(){}function y(){}var g={};l(g,a,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&o.call(m,a)&&(g=m);var w=y.prototype=d.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function x(r,e){function n(i,a,c,u){var l=h(r[i],r,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==t(s)&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(s).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}}function L(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,L(t,r),"throw"===r.method))return s;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=h(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,s;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,s):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,s)}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function F(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function _(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(o.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=y,l(w,"constructor",y),l(y,"constructor",p),p.displayName=l(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},b(x.prototype),l(x.prototype,c,(function(){return this})),r.AsyncIterator=x,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new x(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),l(w,u,"Generator"),l(w,a,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=_,S.prototype={constructor:S,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(F),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,r){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&&r&&(this.next=r),s},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),F(e),s}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;F(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:_(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},r}function o(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void e(l)}c.done?r(u):Promise.resolve(u).then(n,o)}System.register(["./index-legacy.0569de56.js"],(function(t,e){"use strict";var i,a,c,u,l,f,h,s,d,p,y,g,v,m,w,b,x,L,E,F,S,_,j,O,k,A,C,N,G,M,I,P,R,$;return{setters:[function(t){i=t.ai,a=t.cU,c=t.d,u=t.B,l=t.E,f=t.ap,h=t.an,s=t.aY,d=t.y,p=t.aG,y=t.aV,g=t.av,v=t.cZ,m=t.bV,w=t.S,b=t.c_,x=t.af,L=t.am,E=t.c$,F=t.al,S=t.b,_=t.aR,j=t.ci,O=t.aD,k=t.cW,A=t.d0,C=t.d1,N=t.d2,G=t.aS,M=t.a6,I=t.aT,P=t.cX,R=t.d3,$=t.aU}],execute:function(){t({R:function(t){var e=i("white","$neutral3"),x=a().proxyLink;c();var L=u(l((function(){return h.state}),(function(){if(![f.FetchingMore,f.Folder,f.File].includes(h.state))return"";if([f.FetchingMore,f.Folder].includes(h.state)){var r=h.objs.find((function(r){return t.files.find((function(t){return t.toLowerCase()===r.name.toLowerCase()}))}));if(r)return x(r,!0)}return h[t.fromMeta]&&"string"==typeof h[t.fromMeta]?h[t.fromMeta]:""}))),E=function(){var t,r=(t=n().mark((function t(r){var e;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e={content:r},!/^https?:\/\//g.test(r)){t.next=5;break}return t.next=4,b(r);case 4:e=t.sent;case 5:return t.abrupt("return",e);case 6:case"end":return t.stop()}}),t)})),function(){var r=this,e=arguments;return new Promise((function(n,i){var a=t.apply(r,e);function c(t){o(a,n,i,c,u,"next",t)}function u(t){o(a,n,i,c,u,"throw",t)}c(void 0)}))});return function(t){return r.apply(this,arguments)}}(),F=r(s(L,E),1)[0];return d(w,{get when(){return p((function(){return!!y("readme_autorender")}),!0)()&&L()},get children(){return d(g,{w:"$full",rounded:"$xl",p:"$4",get bgColor(){return e()},shadow:"$lg",get children(){return d(v,{get loading(){return F.loading},get children(){return d(m,{get children(){var t;return null===(t=F())||void 0===t?void 0:t.content},readme:!0,get toc(){return"readme"===t.fromMeta}})}})}})}})},c:Q});t("C",(function(t){var r=x("home_container");return d(F,{get fallback(){return d(g,{w:"min(99%, 980px)",get children(){return t.children}})},get children(){return d(L,{when:"hope_container"===r,get children(){return d(E,{get children(){return t.children}})}})}})}));var e={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},T="^\\s*",U="\\s*$",Y="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",V="([0-9A-Fa-f])",q="([0-9A-Fa-f]{2})",z=new RegExp("".concat(T,"rgb\\s*\\(").concat(Y,",").concat(Y,",").concat(Y,"\\)").concat(U)),B=new RegExp("".concat(T,"rgba\\s*\\(").concat(Y,",").concat(Y,",").concat(Y,",").concat(Y,"\\)").concat(U)),D=new RegExp("".concat(T,"#").concat(V).concat(V).concat(V).concat(U)),W=new RegExp("".concat(T,"#").concat(q).concat(q).concat(q).concat(U)),X=new RegExp("".concat(T,"#").concat(V).concat(V).concat(V).concat(V).concat(U)),Z=new RegExp("".concat(T,"#").concat(q).concat(q).concat(q).concat(q).concat(U));function H(t){return parseInt(t,16)}function J(t){try{var r;if(r=W.exec(t))return[H(r[1]),H(r[2]),H(r[3]),1];if(r=z.exec(t))return[rt(r[1]),rt(r[5]),rt(r[9]),1];if(r=B.exec(t))return[rt(r[1]),rt(r[5]),rt(r[9]),tt(r[13])];if(r=D.exec(t))return[H(r[1]+r[1]),H(r[2]+r[2]),H(r[3]+r[3]),1];if(r=Z.exec(t))return[H(r[1]),H(r[2]),H(r[3]),tt(H(r[4])/255)];if(r=X.exec(t))return[H(r[1]+r[1]),H(r[2]+r[2]),H(r[3]+r[3]),tt(H(r[4]+r[4])/255)];if(t in e)return J(e[t]);throw new Error("[seemly/rgba]: Invalid color value ".concat(t,"."))}catch(n){throw n}}function K(t,r,e,n){return"rgba(".concat(rt(t),", ").concat(rt(r),", ").concat(rt(e),", ").concat((o=n)>1?1:o<0?0:o,")");var o}function Q(t,e){var n=r(Array.isArray(t)?t:J(t),4),o=n[0],i=n[1],a=n[2],c=n[3],u=void 0===c?1:c;return e.alpha?K(o,i,a,e.alpha):K(o,i,a,u)}function tt(t){var r=Math.round(100*Number(t))/100;return r>1?1:r<0?0:r}function rt(t){var r=Math.round(Number(t));return r>255?255:r<0?0:r}var et={list:A,grid:C,image:N};t("L",(function(){var t=S();return d($,{get children(){return[d(_,{as:j,get color(){return O()},get bgColor(){return Q(O(),{alpha:.15})},get _hover(){return{bgColor:Q(O(),{alpha:.2})}},"aria-label":"switch layout",compact:!0,size:"lg",get icon(){return d(F,{get children(){return[d(L,{get when(){return"list"===k()},get children(){return d(A,{})}}),d(L,{get when(){return"grid"===k()},get children(){return d(C,{})}}),d(L,{get when(){return"image"===k()},get children(){return d(N,{})}})]}})}}),d(G,{get children(){return d(M,{get each(){return Object.entries(et)},children:function(r){return d(I,{get icon(){return d(P,{get component(){return r[1]}})},onSelect:function(){R(r[0])},get children(){return t("home.layouts.".concat(r[0]))}})}})}})]}})}))}}}))}();
|
|
1
|
+
!function(){function t(r){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(r)}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var n,o,i=[],a=!0,c=!1;try{for(e=e.call(t);!(a=(n=e.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(u){c=!0,o=u}finally{try{a||null==e.return||e.return()}finally{if(c)throw o}}return i}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);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 e(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 e(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return r};var r={},e=Object.prototype,o=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(O){l=function(t,r,e){return t[r]=e}}function f(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,r,e){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(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=L(a,e);if(c){if(c===s)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=h(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(O){return{type:"throw",arg:O}}}r.wrap=f;var s={};function d(){}function p(){}function y(){}var g={};l(g,a,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&o.call(m,a)&&(g=m);var w=y.prototype=d.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function x(r,e){function n(i,a,c,u){var l=h(r[i],r,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==t(s)&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(s).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}}function L(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,L(t,r),"throw"===r.method))return s;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=h(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,s;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,s):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,s)}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function F(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function _(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(o.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=y,l(w,"constructor",y),l(y,"constructor",p),p.displayName=l(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},b(x.prototype),l(x.prototype,c,(function(){return this})),r.AsyncIterator=x,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new x(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),l(w,u,"Generator"),l(w,a,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=_,S.prototype={constructor:S,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(F),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,r){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&&r&&(this.next=r),s},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),F(e),s}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;F(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:_(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},r}function o(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void e(l)}c.done?r(u):Promise.resolve(u).then(n,o)}System.register(["./index-legacy.f08d6e76.js"],(function(t,e){"use strict";var i,a,c,u,l,f,h,s,d,p,y,g,v,m,w,b,x,L,E,F,S,_,j,O,k,A,C,N,G,M,I,P,R,$;return{setters:[function(t){i=t.ai,a=t.cU,c=t.d,u=t.B,l=t.E,f=t.ap,h=t.an,s=t.aY,d=t.y,p=t.aG,y=t.aV,g=t.av,v=t.cZ,m=t.bV,w=t.S,b=t.c_,x=t.af,L=t.am,E=t.c$,F=t.al,S=t.b,_=t.aR,j=t.ci,O=t.aD,k=t.cW,A=t.d0,C=t.d1,N=t.d2,G=t.aS,M=t.a6,I=t.aT,P=t.cX,R=t.d3,$=t.aU}],execute:function(){t({R:function(t){var e=i("white","$neutral3"),x=a().proxyLink;c();var L=u(l((function(){return h.state}),(function(){if(![f.FetchingMore,f.Folder,f.File].includes(h.state))return"";if([f.FetchingMore,f.Folder].includes(h.state)){var r=h.objs.find((function(r){return t.files.find((function(t){return t.toLowerCase()===r.name.toLowerCase()}))}));if(r)return x(r,!0)}return h[t.fromMeta]&&"string"==typeof h[t.fromMeta]?h[t.fromMeta]:""}))),E=function(){var t,r=(t=n().mark((function t(r){var e;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e={content:r},!/^https?:\/\//g.test(r)){t.next=5;break}return t.next=4,b(r);case 4:e=t.sent;case 5:return t.abrupt("return",e);case 6:case"end":return t.stop()}}),t)})),function(){var r=this,e=arguments;return new Promise((function(n,i){var a=t.apply(r,e);function c(t){o(a,n,i,c,u,"next",t)}function u(t){o(a,n,i,c,u,"throw",t)}c(void 0)}))});return function(t){return r.apply(this,arguments)}}(),F=r(s(L,E),1)[0];return d(w,{get when(){return p((function(){return!!y("readme_autorender")}),!0)()&&L()},get children(){return d(g,{w:"$full",rounded:"$xl",p:"$4",get bgColor(){return e()},shadow:"$lg",get children(){return d(v,{get loading(){return F.loading},get children(){return d(m,{get children(){var t;return null===(t=F())||void 0===t?void 0:t.content},readme:!0,get toc(){return"readme"===t.fromMeta}})}})}})}})},c:Q});t("C",(function(t){var r=x("home_container");return d(F,{get fallback(){return d(g,{w:"min(99%, 980px)",get children(){return t.children}})},get children(){return d(L,{when:"hope_container"===r,get children(){return d(E,{get children(){return t.children}})}})}})}));var e={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},T="^\\s*",U="\\s*$",Y="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",V="([0-9A-Fa-f])",q="([0-9A-Fa-f]{2})",z=new RegExp("".concat(T,"rgb\\s*\\(").concat(Y,",").concat(Y,",").concat(Y,"\\)").concat(U)),B=new RegExp("".concat(T,"rgba\\s*\\(").concat(Y,",").concat(Y,",").concat(Y,",").concat(Y,"\\)").concat(U)),D=new RegExp("".concat(T,"#").concat(V).concat(V).concat(V).concat(U)),W=new RegExp("".concat(T,"#").concat(q).concat(q).concat(q).concat(U)),X=new RegExp("".concat(T,"#").concat(V).concat(V).concat(V).concat(V).concat(U)),Z=new RegExp("".concat(T,"#").concat(q).concat(q).concat(q).concat(q).concat(U));function H(t){return parseInt(t,16)}function J(t){try{var r;if(r=W.exec(t))return[H(r[1]),H(r[2]),H(r[3]),1];if(r=z.exec(t))return[rt(r[1]),rt(r[5]),rt(r[9]),1];if(r=B.exec(t))return[rt(r[1]),rt(r[5]),rt(r[9]),tt(r[13])];if(r=D.exec(t))return[H(r[1]+r[1]),H(r[2]+r[2]),H(r[3]+r[3]),1];if(r=Z.exec(t))return[H(r[1]),H(r[2]),H(r[3]),tt(H(r[4])/255)];if(r=X.exec(t))return[H(r[1]+r[1]),H(r[2]+r[2]),H(r[3]+r[3]),tt(H(r[4]+r[4])/255)];if(t in e)return J(e[t]);throw new Error("[seemly/rgba]: Invalid color value ".concat(t,"."))}catch(n){throw n}}function K(t,r,e,n){return"rgba(".concat(rt(t),", ").concat(rt(r),", ").concat(rt(e),", ").concat((o=n)>1?1:o<0?0:o,")");var o}function Q(t,e){var n=r(Array.isArray(t)?t:J(t),4),o=n[0],i=n[1],a=n[2],c=n[3],u=void 0===c?1:c;return e.alpha?K(o,i,a,e.alpha):K(o,i,a,u)}function tt(t){var r=Math.round(100*Number(t))/100;return r>1?1:r<0?0:r}function rt(t){var r=Math.round(Number(t));return r>255?255:r<0?0:r}var et={list:A,grid:C,image:N};t("L",(function(){var t=S();return d($,{get children(){return[d(_,{as:j,get color(){return O()},get bgColor(){return Q(O(),{alpha:.15})},get _hover(){return{bgColor:Q(O(),{alpha:.2})}},"aria-label":"switch layout",compact:!0,size:"lg",get icon(){return d(F,{get children(){return[d(L,{get when(){return"list"===k()},get children(){return d(A,{})}}),d(L,{get when(){return"grid"===k()},get children(){return d(C,{})}}),d(L,{get when(){return"image"===k()},get children(){return d(N,{})}})]}})}}),d(G,{get children(){return d(M,{get each(){return Object.entries(et)},children:function(r){return d(I,{get icon(){return d(P,{get component(){return r[1]}})},onSelect:function(){R(r[0])},get children(){return t("home.layouts.".concat(r[0]))}})}})}})]}})}))}}}))}();
|
|
@@ -1 +1 @@
|
|
|
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-
|
|
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-12c59944.js";import{D as F}from"./DeletePopover-c62fd1ab.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.0569de56.js","./DeletePopover-legacy.ca04a0ab.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
|
+
!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.f08d6e76.js","./DeletePopover-legacy.577b1340.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,y as n,bV as o,cY as a,an as c,cZ as s}from"./index-
|
|
1
|
+
import{eN as r,y as n,bV as o,cY as a,an as c,cZ as s}from"./index-12c59944.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.f08d6e76.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.cY,a=t.an,l=t.cZ}],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-b392805e.js → markdown_with_word_wrap-32d6b4ac.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eN as n,y as r,bV as a,cY as o,an as c,cZ as s}from"./index-
|
|
1
|
+
import{eN as n,y as r,bV as a,cY as o,an as c,cZ as s}from"./index-12c59944.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.f08d6e76.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.cY,a=r.an,l=r.cZ}],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{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-
|
|
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-12c59944.js";import{g as p}from"./ua-parser-5a8f43f2.js";import{D as P}from"./DeletePopover-c62fd1ab.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.0569de56.js","./ua-parser-legacy.5e4c06d6.js","./DeletePopover-legacy.ca04a0ab.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}})}})}})}})}})]}})}})]}})}))}}}))}();
|
|
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.f08d6e76.js","./ua-parser-legacy.5e4c06d6.js","./DeletePopover-legacy.577b1340.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-12c59944.js";import{b as r}from"./useTitle-4d2813bb.js";import{T as a}from"./Tasks-9e93bf9b.js";import{g as t,a as o}from"./helper-980c04cb.js";import"./Paginator-3ef3d0c6.js";import"./index-3049f6a6.js";import"./Task-9716a5eb.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.aa9a79f5.js → offline_download-legacy.7cf61888.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy.
|
|
1
|
+
System.register(["./index-legacy.f08d6e76.js","./useTitle-legacy.558eeb1b.js","./Tasks-legacy.a73b03b3.js","./helper-legacy.23a625cc.js","./Paginator-legacy.93a6ac8d.js","./index-legacy.9f848378.js","./Task-legacy.e8fd93f7.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,B as u,eb as c,an as r,cU as g,y as e,aU as h,aR as i,R as l,aE as m,ec as d,aS as w,a6 as b,aT as p,dm as S,S as M}from"./index-
|
|
1
|
+
import{b as o,B as u,eb as c,an as r,cU as g,y as e,aU as h,aR as i,R as l,aE as m,ec as d,aS as w,a6 as b,aT as p,dm as S,S as M}from"./index-12c59944.js";const j=()=>{const a=o(),n=u(()=>c(r.obj.name)),{currentObjLink:s}=g();return e(M,{get when(){return n().length},get children(){return e(h,{get children(){return[e(i,{as:l,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.f08d6e76.js"],(function(e,r){"use strict";var n,t,u,c,a,i,g,h,l,o,s,d,f,m,b,w;return{setters:[function(e){n=e.b,t=e.B,u=e.eb,c=e.an,a=e.cU,i=e.y,g=e.aU,h=e.aR,l=e.R,o=e.aE,s=e.ec,d=e.aS,f=e.a6,m=e.aT,b=e.dm,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(g,{get children(){return[i(h,{as:l,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(m,{as:"a",target:"_blank",get href(){return b(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,C as s,y as t,R as i,an as o}from"./index-
|
|
1
|
+
import{b as a,C as s,y as t,R as i,an as o}from"./index-12c59944.js";import{F as l}from"./info-a3b0123a.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.f08d6e76.js","./info-legacy.6bc0fc27.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"))}})}})}))}}}))}();
|