@abtnode/blocklet-services 1.16.44-beta-20250520-104453-912ed737 → 1.16.44-beta-20250524-065731-c62fd374
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/api/services/mcp/server.js +18 -3
- package/dist/assets/{AdapterDayjs-Bck9Dv3l.js → AdapterDayjs-DnsMePpQ.js} +1 -1
- package/dist/assets/{ArrowDropDown-BleCy3ti.js → ArrowDropDown-Dzy2X1bv.js} +1 -1
- package/dist/assets/{CheckCircle-XrJDG94y.js → CheckCircle-DA1-Q3VQ.js} +1 -1
- package/dist/assets/{ChevronLeft-BlDLI-Qo.js → ChevronLeft-C7-bj_BM.js} +1 -1
- package/dist/assets/{ChevronRight-DkPaON7R.js → ChevronRight-CA18V4hg.js} +1 -1
- package/dist/assets/{Community-BCL2L7ib.js → Community-BnAsVqMr.js} +1 -1
- package/dist/assets/{DeleteOutline-Cj7UhBbF.js → DeleteOutline-DIXSGJ49.js} +1 -1
- package/dist/assets/{Done-UEZFWnHj.js → Done-BHbsILFJ.js} +1 -1
- package/dist/assets/{Download-CsoZ8yOi.js → Download-CmhNaqwS.js} +1 -1
- package/dist/assets/{Edit-Bj4m2hpD.js → Edit-CNRD5aKM.js} +1 -1
- package/dist/assets/{EditIcon-Dffk7mPL.js → EditIcon-8BXW1OHp.js} +1 -1
- package/dist/assets/{Email-CdSNK0eA.js → Email-BirbvqZ3.js} +1 -1
- package/dist/assets/{Error-BwUoSWOt.js → Error-DDQf7Wzw.js} +1 -1
- package/dist/assets/{ExpandLess-CjIzahHO.js → ExpandLess-D15nWpBQ.js} +1 -1
- package/dist/assets/{Google-BON6upKi.js → Google-BEEvQjkX.js} +1 -1
- package/dist/assets/{Holiday-enHMZqEf.js → Holiday-C4KRd5t6.js} +1 -1
- package/dist/assets/Home-C8za96Ud.js +1 -0
- package/dist/assets/{InfoOutlined-uoMMChNE.js → InfoOutlined-Cxpk0UTX.js} +1 -1
- package/dist/assets/{Launch-rj4Kr2rA.js → Launch-CKr_eo1b.js} +1 -1
- package/dist/assets/{LaunchOutlined-0gUfY-5D.js → LaunchOutlined-Drryv7vp.js} +1 -1
- package/dist/assets/{Location-By12Z3Te.js → Location-DxPzfR_p.js} +1 -1
- package/dist/assets/{LockIcon-98CKEIBe.js → LockIcon-DFb6sSpT.js} +1 -1
- package/dist/assets/{Meeting-CLeFWDkY.js → Meeting-DCL_ygud.js} +1 -1
- package/dist/assets/{MoreHoriz-3SNxR36h.js → MoreHoriz-CKCGMlB8.js} +1 -1
- package/dist/assets/{OffSick-dUm363rs.js → OffSick-DvgkmCUP.js} +1 -1
- package/dist/assets/{Phone--BSu-btI.js → Phone-BkOMNOMO.js} +1 -1
- package/dist/assets/{PlayArrow-BHO_DqT2.js → PlayArrow-CrmMAssx.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-DTf-Tya5.js → QuestionMarkCircle-DTGyWFVS.js} +1 -1
- package/dist/assets/{Timezone-YZ0dMUEr.js → Timezone-D91Of94T.js} +1 -1
- package/dist/assets/{TuneOutlined-BvtfOd23.js → TuneOutlined-Dp4gMD_8.js} +1 -1
- package/dist/assets/{ViewList-BvucdDXZ.js → ViewList-ByzGtByR.js} +1 -1
- package/dist/assets/{WorkingRemotely-BX7rgbEY.js → WorkingRemotely-CpchWcXV.js} +1 -1
- package/dist/assets/{access-control-C9ZsDLlM.js → access-control-CHRw2bbp.js} +1 -1
- package/dist/assets/{actions-BWSNMC_c.js → actions-XNIU_ion.js} +1 -1
- package/dist/assets/{add-component-core-Dd9KPcvp.js → add-component-core-eEjKF53n.js} +33 -33
- package/dist/assets/{add-resource-BHmsfuUO.js → add-resource-W-ML3m5q.js} +1 -1
- package/dist/assets/{addon-CaGk2PdY.js → addon-DGwzoD-f.js} +1 -1
- package/dist/assets/{advanced-DlILcrRl.js → advanced-CPhRkaAJ.js} +2 -2
- package/dist/assets/appearance-Bgtb4-LE.js +1 -0
- package/dist/assets/ar-CHiV3Onz.js +1 -0
- package/dist/assets/{ar-C_INBNFD.js → ar-T0OvMFDJ.js} +2 -2
- package/dist/assets/{audit-logs-DfXh1JQZ.js → audit-logs-DCTnwVQT.js} +3 -3
- package/dist/assets/authorize-0cAl16_K.js +1 -0
- package/dist/assets/base-chart-D6qRW4Yg.js +1 -0
- package/dist/assets/{base32-BnPQ4q4v.js → base32-DEQDAhbh.js} +1 -1
- package/dist/assets/branding-6OsQw5QJ.js +40 -0
- package/dist/assets/{branding-CbgACClH.js → branding-Bv8Tk-Am.js} +1 -1
- package/dist/assets/bundle-avatar-WoSDDX0E.js +1 -0
- package/dist/assets/button-D7WVH4Bm.js +1 -0
- package/dist/assets/click-to-copy-DsH0RQVg.js +1 -0
- package/dist/assets/{collapse-iOiHn4dy.js → collapse-DRHShQoZ.js} +1 -1
- package/dist/assets/complete-BJLGhmnP.js +39 -0
- package/dist/assets/{component-amc-22MQ.js → component-BFi7evus.js} +2 -2
- package/dist/assets/{config-D3UduD_R.js → config-BfjiZ8-q.js} +2 -2
- package/dist/assets/{config-B_jIm01w.js → config-C77UXU2G.js} +1 -1
- package/dist/assets/{config-navigation-PoVJgHNU.js → config-navigation-BkfKynqT.js} +6 -6
- package/dist/assets/config-space-DID86BbB.js +1 -0
- package/dist/assets/{confirm-DaR0Yx39.js → confirm-BnRcXvxs.js} +1 -1
- package/dist/assets/connect-DJCBGsCy.js +1 -0
- package/dist/assets/connect-DyhNsjIB.js +5 -0
- package/dist/assets/connect-to-BYS6M9JU.js +1 -0
- package/dist/assets/{content-layout--sy9JlYZ.js → content-layout-fV4nyVb5.js} +1 -1
- package/dist/assets/dark-animation-DhFa8I7D.js +1 -0
- package/dist/assets/dashboard-RTzIKcnI.js +239 -0
- package/dist/assets/de-BWtUXhCw.js +1 -0
- package/dist/assets/{de-EYXdEi3Y.js → de-WYW4JJdA.js} +2 -2
- package/dist/assets/default-animation-DARmPWCI.js +1 -0
- package/dist/assets/{delete-confirm-DHB0S_Co.js → delete-confirm-2yiel8lV.js} +1 -1
- package/dist/assets/{did-address-mv0Qw7hC.js → did-address-2a_50VlM.js} +1 -1
- package/dist/assets/domain-B7QeQ3KX.js +9 -0
- package/dist/assets/domain-action-card-CLEjpu-P.js +28 -0
- package/dist/assets/domains-Bu0iN_az.js +1 -0
- package/dist/assets/dot-itVN8XTt.js +7 -0
- package/dist/assets/{email-DiuMAA8U.js → email-9sDMxuoB.js} +2 -2
- package/dist/assets/{empty-spinner-BZw_ShnT.js → empty-spinner-BdaCO6xq.js} +1 -1
- package/dist/assets/es-B6GuFK3b.js +1 -0
- package/dist/assets/{es-3jqVamM8.js → es-DaHPJdAX.js} +2 -2
- package/dist/assets/{exchange-passport-Bcw--2wm.js → exchange-passport-CzmhafoN.js} +1 -1
- package/dist/assets/fr-DjhyyiEi.js +1 -0
- package/dist/assets/{fr-CUcR-yNv.js → fr-Sdn9hi8k.js} +2 -2
- package/dist/assets/{fuel-BitXgq2D.js → fuel-D_QIEw1n.js} +1 -1
- package/dist/assets/gen-access-key-BmDWpAif.js +2 -0
- package/dist/assets/get-safe-url-BdFxF8pA.js +1 -0
- package/dist/assets/get-safe-url-DfW-qoLB.js +1 -0
- package/dist/assets/hi-CtKbt1J4.js +1 -0
- package/dist/assets/{hi-DNldhMTl.js → hi-dJuR0lt2.js} +2 -2
- package/dist/assets/{home-jh95SgT7.js → home-DtVAZY8s.js} +1 -1
- package/dist/assets/id-CCuL3FP-.js +1 -0
- package/dist/assets/{id-CmSIFhX-.js → id-DuYS34H0.js} +2 -2
- package/dist/assets/{iframe-BlPuY8Pu.js → iframe-dmrNn49R.js} +1 -1
- package/dist/assets/{index-CleFkLt8.js → index-B4CzEaVv.js} +1 -1
- package/dist/assets/{index-CZOVduSH.js → index-B4rUFDP9.js} +1 -1
- package/dist/assets/{index-YuW8IExe.js → index-B6g_NzxF.js} +22 -22
- package/dist/assets/index-BctwEFbW.js +55 -0
- package/dist/assets/index-Bhwq-PC6.js +284 -0
- package/dist/assets/{index-BdH_4Yfe.js → index-BmXcRfZR.js} +1 -1
- package/dist/assets/index-Bw-rbXJI.js +6 -0
- package/dist/assets/index-C2wxmxz2.js +1 -0
- package/dist/assets/{index-DYlN9Brg.js → index-C5N0NjEs.js} +12 -12
- package/dist/assets/{index-Bv8sds6g.js → index-CBALX7k4.js} +1 -1
- package/dist/assets/{index-Bi-YrbEk.js → index-CGHej0Ek.js} +4 -4
- package/dist/assets/index-CT4keHaK.js +1 -0
- package/dist/assets/index-CtxraYdM.js +113 -0
- package/dist/assets/{index-C849wD9b.js → index-D2uDBC1o.js} +1 -1
- package/dist/assets/{index-CqRVUIz0.js → index-D45FqXMt.js} +3 -3
- package/dist/assets/{index-BWshat_T.js → index-DBBjaba5.js} +7 -7
- package/dist/assets/{index-hjv3dFXZ.js → index-DLdz4ykT.js} +1 -1
- package/dist/assets/{index-Cgdb1aGn.js → index-DdKYu9HL.js} +10 -10
- package/dist/assets/index-Dq_lSUqL.js +1 -0
- package/dist/assets/{index-D3Od1Ju7.js → index-DtsBFtZP.js} +9 -9
- package/dist/assets/{index-C0w1ugDi.js → index-J3Tqz9ZT.js} +1 -1
- package/dist/assets/{index-DbsXFWms.js → index-RsjqbOR7.js} +1 -1
- package/dist/assets/{index-BXkKeWVW.js → index-Z_7QgoWt.js} +2 -2
- package/dist/assets/{index-CmQOzzP8.js → index-iB7JyXwh.js} +1 -1
- package/dist/assets/index-iphP5FWX.js +10 -0
- package/dist/assets/{invitation-BtuI3wbb.js → invitation-DG9MWQbS.js} +5 -5
- package/dist/assets/invite-DLCj8sz9.js +1 -0
- package/dist/assets/{issue-passport-DGinrMdr.js → issue-passport-BWxVIA89.js} +1 -1
- package/dist/assets/item-CUEEdtq7.js +2 -0
- package/dist/assets/ja-ACgKScTi.js +1 -0
- package/dist/assets/{ja-D-vAGmH7.js → ja-Dh60q0r5.js} +2 -2
- package/dist/assets/{ko-DpdamIdS.js → ko-CoqvBZUf.js} +2 -2
- package/dist/assets/ko-gvJH4zFR.js +1 -0
- package/dist/assets/{landing-page-D_TLvQ3s.js → landing-page-DErP-951.js} +1 -1
- package/dist/assets/{launch-result-message-Eea5FZDm.js → launch-result-message-FuvJDCvp.js} +1 -1
- package/dist/assets/{layout-0pbi4f6l.js → layout-BpHPXY7v.js} +1 -1
- package/dist/assets/{list-C_1TcitB.js → list-95F7XaG9.js} +6 -6
- package/dist/assets/list-TUiipUoi.js +2 -0
- package/dist/assets/{list-header-DNFbdM3a.js → list-header-xt282ZMS.js} +1 -1
- package/dist/assets/localization-Dale72UG.js +1 -0
- package/dist/assets/{log-DnUF9orj.js → log-aS7wDHYq.js} +1 -1
- package/dist/assets/logger-DRlJhYNs.js +1 -0
- package/dist/assets/{login-Boq_S2S7.js → login-BEhRbdo1.js} +1 -1
- package/dist/assets/{login-oauth-callback-CuSXnq1m.js → login-oauth-callback-T6cLlJXo.js} +1 -1
- package/dist/assets/{logo-uploader-DtAT8iaJ.js → logo-uploader-CLz5RPTu.js} +5 -5
- package/dist/assets/lost-passport-C2TUuANu.js +168 -0
- package/dist/assets/{open-window-DXP1LoPD.js → open-window-xER4N-kf.js} +1 -1
- package/dist/assets/{overview-DHcHPq6g.js → overview-CSLXBT0F.js} +2 -2
- package/dist/assets/{page-header-PO_g4wSK.js → page-header-IRqa6Qvs.js} +1 -1
- package/dist/assets/{passport-item-NMGbWwTG.js → passport-item-hLzOrz7-.js} +1 -1
- package/dist/assets/{permission-BfddnDBs.js → permission-BkpeOUF9.js} +1 -1
- package/dist/assets/preferences-CaXn4vHX.js +1 -0
- package/dist/assets/profile-embed-DP-NpR-H.js +1 -0
- package/dist/assets/{pt-CEcOQeEC.js → pt-DCcbs0d0.js} +2 -2
- package/dist/assets/pt-DzswFIpl.js +1 -0
- package/dist/assets/publish-resource-BImGOxGu.js +1 -0
- package/dist/assets/{react-beautiful-dnd.esm-0e7VDGmi.js → react-beautiful-dnd.esm-CXMxXaUW.js} +1 -1
- package/dist/assets/ru-EZJWVu3M.js +1 -0
- package/dist/assets/{ru-83xhwzPD.js → ru-WYTV5VzH.js} +2 -2
- package/dist/assets/runtime-BdS45sOH.js +1 -0
- package/dist/assets/sdk-DeUOtvaE.js +1 -0
- package/dist/assets/{section-C1TPQFRq.js → section-BB6hVmdO.js} +1 -1
- package/dist/assets/{security-BuN2nUoZ.js → security-bFZAakv0.js} +4 -4
- package/dist/assets/{session-DUt5rVEy.js → session-E0e-X6-a.js} +1 -1
- package/dist/assets/setup-DMmxE-ov.js +30 -0
- package/dist/assets/{shorten-label-Bf7YQUd6.js → shorten-label-DPIZ5X7v.js} +1 -1
- package/dist/assets/{simple-select-DwWEI_ZU.js → simple-select-CN3fsa56.js} +1 -1
- package/dist/assets/slicedToArray-DmqXMnHT.js +2 -0
- package/dist/assets/{spaces-MprwX1Iq.js → spaces-BKlIkPYo.js} +1 -1
- package/dist/assets/start-BXBhW0EF.js +187 -0
- package/dist/assets/{starting-progress-BJCVRFkE.js → starting-progress-CyKicFZc.js} +1 -1
- package/dist/assets/{status-Bo92foK0.js → status-CIwF9IiE.js} +1 -1
- package/dist/assets/{step-actions-D__rjlW_.js → step-actions-Cy_Wn9XZ.js} +1 -1
- package/dist/assets/{studio-kVKG7W3n.js → studio-BSiEg8xP.js} +1 -1
- package/dist/assets/{switch-control-BgwZFVCJ.js → switch-control-DzZXz9Ks.js} +1 -1
- package/dist/assets/{table-tips-nPiIcvAy.js → table-tips-BP0JTpDH.js} +1 -1
- package/dist/assets/th-Bn3Ch7SK.js +1 -0
- package/dist/assets/{th-BQLlyW1N.js → th-Da4lMKTX.js} +2 -2
- package/dist/assets/traffic-Bz2-5BjC.js +1 -0
- package/dist/assets/{transfer-U9z5JNMl.js → transfer-CZ88q7e8.js} +1 -1
- package/dist/assets/{unsubscribe-BmAshFCd.js → unsubscribe-Dc0yE6SM.js} +1 -1
- package/dist/assets/{use-blocklet-logo-3VH4RBTr.js → use-blocklet-logo-DeL5Lmpn.js} +1 -1
- package/dist/assets/{use-mobile-JEGQfLZ2.js → use-mobile-BAa0wi8o.js} +1 -1
- package/dist/assets/{use-mobile-ZAS6Si4t.js → use-mobile-C21X4TYN.js} +1 -1
- package/dist/assets/use-server-logo-CxuMvwKh.js +1 -0
- package/dist/assets/useAsync-510ntT1B.js +1 -0
- package/dist/assets/{useLocalStorage-DotMjDUB.js → useLocalStorage-DvcK7KsP.js} +1 -1
- package/dist/assets/{user-center-8aoMSkJ_.js → user-center-3TxDrG6m.js} +15 -14
- package/dist/assets/{util-CiTimo-i.js → util-IzAdTupy.js} +1 -1
- package/dist/assets/{util-CuK9uaNS.js → util-KGAW0YJ4.js} +1 -1
- package/dist/assets/{vendor-arcblock-Ca95GLVH.js → vendor-arcblock-CUb0jDdY.js} +86 -86
- package/dist/assets/{vendor-hooks-DpwFseeF.js → vendor-hooks-BgUTpb6X.js} +1 -1
- package/dist/assets/{vendor-mui-core-Bh-qMRq3.js → vendor-mui-core-BV2FUxWJ.js} +22 -22
- package/dist/assets/{vendor-mui-x-CQTjfcpn.js → vendor-mui-x-Bo-XOtzq.js} +1 -1
- package/dist/assets/{vendor-ux-did-connect-D0L9YnHn.js → vendor-ux-did-connect-DprdyYny.js} +148 -148
- package/dist/assets/{vi-DgWAr6FA.js → vi-BxzaqoH9.js} +2 -2
- package/dist/assets/vi-CgnGroV4.js +1 -0
- package/dist/assets/wrap-locale-BjqARXGJ.js +1 -0
- package/dist/assets/zh-BWgwGxeZ.js +1 -0
- package/dist/assets/{zh-BL80PoOh.js → zh-Do6onry4.js} +2 -2
- package/dist/assets/{zh-tw-Dg5z1DFE.js → zh-tw-BNgoHsYW.js} +2 -2
- package/dist/assets/zh-tw-Ciod1pFs.js +1 -0
- package/dist/images/mcp/claude.webp +0 -0
- package/dist/images/mcp/cline.png +0 -0
- package/dist/images/mcp/cursor.png +0 -0
- package/dist/images/mcp/default.png +0 -0
- package/dist/images/mcp/enconvo.png +0 -0
- package/dist/images/mcp/roocline.png +0 -0
- package/dist/images/mcp/windsurf.png +0 -0
- package/dist/images/mcp/witsy.png +0 -0
- package/dist/index.html +5 -5
- package/dist/service-worker.js +1 -1
- package/package.json +34 -34
- package/dist/assets/ServerLogo-CEsILJl5.js +0 -1
- package/dist/assets/appearance-D1sGjeMk.js +0 -1
- package/dist/assets/ar-BRKjvO8p.js +0 -1
- package/dist/assets/authorize-mEHpiCQH.js +0 -1
- package/dist/assets/branding-BHziMdwk.js +0 -40
- package/dist/assets/bundle-avatar-D7QQIJpo.js +0 -1
- package/dist/assets/button-DXOAf3Np.js +0 -1
- package/dist/assets/click-to-copy-DtGgy9Ua.js +0 -1
- package/dist/assets/complete-CKdswLjZ.js +0 -39
- package/dist/assets/config-space-D-DWHYER.js +0 -1
- package/dist/assets/connect-CVfkW49h.js +0 -1
- package/dist/assets/connect-CvEHPjqh.js +0 -5
- package/dist/assets/connect-to-DrhAN5Nn.js +0 -1
- package/dist/assets/dashboard-B_QqB4aw.js +0 -239
- package/dist/assets/de-D3cg0t9f.js +0 -1
- package/dist/assets/domain-BR9srj-p.js +0 -9
- package/dist/assets/domain-action-card-DtwNOaxH.js +0 -28
- package/dist/assets/domains-Bg_t1pz-.js +0 -1
- package/dist/assets/dot-D3X4DSlo.js +0 -7
- package/dist/assets/es-DPjqApVE.js +0 -1
- package/dist/assets/fr-Dscs9WsP.js +0 -1
- package/dist/assets/gen-access-key-CrHniwdW.js +0 -2
- package/dist/assets/get-safe-url-BRocR2aJ.js +0 -1
- package/dist/assets/get-safe-url-DYtntqqo.js +0 -1
- package/dist/assets/hi-B8D3j6bs.js +0 -1
- package/dist/assets/id-DWMMQI0G.js +0 -1
- package/dist/assets/index-BDcuaL48.js +0 -113
- package/dist/assets/index-BO7CJLK3.js +0 -284
- package/dist/assets/index-B_y3Xcdb.js +0 -55
- package/dist/assets/index-D0TzEmpA.js +0 -6
- package/dist/assets/index-DO4zGWKz.js +0 -1
- package/dist/assets/index-RDZtjGNC.js +0 -1
- package/dist/assets/index-c0hdujdn.js +0 -10
- package/dist/assets/invite-CelTXbxx.js +0 -1
- package/dist/assets/item-BhN-qZd_.js +0 -2
- package/dist/assets/ja-3LoBq68U.js +0 -1
- package/dist/assets/ko-B2dxwXDl.js +0 -1
- package/dist/assets/list-DKIkIMue.js +0 -2
- package/dist/assets/localization-CpjVJ6VE.js +0 -1
- package/dist/assets/logger-jMgD3u5g.js +0 -1
- package/dist/assets/lost-passport-DuJeKcGu.js +0 -168
- package/dist/assets/preferences-Nt4L8Zgv.js +0 -1
- package/dist/assets/profile-embed-C9nHKFrf.js +0 -1
- package/dist/assets/pt-eei1_Z4R.js +0 -1
- package/dist/assets/publish-resource-BL83FldI.js +0 -1
- package/dist/assets/ru-ZKgT6XdU.js +0 -1
- package/dist/assets/runtime-FDEoUn52.js +0 -1
- package/dist/assets/sdk-CytUSheP.js +0 -1
- package/dist/assets/setup-BB0XLqW9.js +0 -30
- package/dist/assets/slicedToArray-BSaY8ui4.js +0 -2
- package/dist/assets/start-C7CIzLBY.js +0 -187
- package/dist/assets/th-CG5eLRZo.js +0 -1
- package/dist/assets/traffic-Cd92p-Xb.js +0 -35
- package/dist/assets/useAsync-CDjYBiwf.js +0 -1
- package/dist/assets/useAsync-dC0jHVWO.js +0 -1
- package/dist/assets/vi-CoZs3B42.js +0 -1
- package/dist/assets/wrap-locale-QBHz1ECC.js +0 -1
- package/dist/assets/zh-CgkeS2I3.js +0 -1
- package/dist/assets/zh-tw-CuakNRcW.js +0 -1
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/log-aS7wDHYq.js","assets/vendor-mui-core-BV2FUxWJ.js","assets/vendor-react-DEoibe3W.js","assets/useLocalStorage-DvcK7KsP.js","assets/vendor-ux-did-connect-DprdyYny.js","assets/vendor-utils-rHXShPKm.js","assets/vendor-hooks-BgUTpb6X.js","assets/lottie-web-jYmAQWuC.js","assets/vendor-ux-did-connect-DpSGLE7B.css","assets/index-B6g_NzxF.js","assets/vendor-arcblock-CUb0jDdY.js","assets/index-DOq-_YXu.css","assets/Download-CmhNaqwS.js","assets/bundle-avatar-WoSDDX0E.js","assets/log-D33dFtt_.css","assets/index-Bhwq-PC6.js","assets/ViewList-ByzGtByR.js","assets/index-iphP5FWX.js","assets/Phone-BkOMNOMO.js","assets/Location-DxPzfR_p.js","assets/Email-BirbvqZ3.js","assets/Timezone-D91Of94T.js","assets/index-C5N0NjEs.js","assets/did-address-2a_50VlM.js","assets/permission-BkpeOUF9.js","assets/session-E0e-X6-a.js","assets/click-to-copy-DsH0RQVg.js","assets/index-B4CzEaVv.js","assets/vendor-mui-x-Bo-XOtzq.js","assets/AdapterDayjs-DnsMePpQ.js","assets/index-8eXqqyHQ.js","assets/useAsync-510ntT1B.js","assets/index-CBALX7k4.js","assets/DeleteOutline-DIXSGJ49.js","assets/confirm-BnRcXvxs.js","assets/util-IzAdTupy.js","assets/base32-DEQDAhbh.js","assets/sdk-DeUOtvaE.js","assets/actions-XNIU_ion.js","assets/MoreHoriz-CKCGMlB8.js","assets/shorten-label-DPIZ5X7v.js","assets/PlayArrow-CrmMAssx.js","assets/get-safe-url-BdFxF8pA.js","assets/use-blocklet-logo-DeL5Lmpn.js","assets/InfoOutlined-Cxpk0UTX.js","assets/dot-itVN8XTt.js","assets/useSetState-CWq0AVWn.js","assets/use-mobile-BAa0wi8o.js","assets/index-Dq_lSUqL.js","assets/use-mobile-C21X4TYN.js","assets/ExpandLess-D15nWpBQ.js","assets/table-tips-BP0JTpDH.js","assets/index-DdKYu9HL.js","assets/Error-DDQf7Wzw.js","assets/empty-spinner-BdaCO6xq.js","assets/list-header-xt282ZMS.js","assets/QuestionMarkCircle-DTGyWFVS.js","assets/index-DVQCgvFb.js","assets/Launch-CKr_eo1b.js","assets/index-D2uDBC1o.js","assets/api-BjteVZFg.js","assets/ChevronRight-CA18V4hg.js","assets/react-beautiful-dnd.esm-CXMxXaUW.js","assets/raf-schd.esm-B3j6BePR.js","assets/item-CUEEdtq7.js","assets/Done-BHbsILFJ.js","assets/delete-confirm-2yiel8lV.js","assets/ArrowDropDown-Dzy2X1bv.js","assets/index-RsjqbOR7.js","assets/index-C0Iiqot3.css","assets/index-BmXcRfZR.js","assets/overview-CSLXBT0F.js","assets/keyboard-arrow-down-rounded-DadBVmpO.js","assets/status-CIwF9IiE.js","assets/omit-D2k92RIF.js","assets/spaces-BKlIkPYo.js","assets/domains-Bu0iN_az.js","assets/domain-action-card-CLEjpu-P.js","assets/util-KGAW0YJ4.js","assets/CheckCircle-DA1-Q3VQ.js","assets/index-DtsBFtZP.js","assets/passport-item-hLzOrz7-.js","assets/Google-BEEvQjkX.js","assets/cloneDeep-UpFQ2VNg.js","assets/EditIcon-8BXW1OHp.js","assets/LockIcon-DFb6sSpT.js","assets/appearance-Bgtb4-LE.js","assets/audit-logs-DCTnwVQT.js","assets/index-CtxraYdM.js","assets/collapse-DRHShQoZ.js","assets/section-BB6hVmdO.js","assets/list-95F7XaG9.js","assets/traffic-Bz2-5BjC.js","assets/iframe-dmrNn49R.js","assets/LaunchOutlined-Drryv7vp.js","assets/ChevronLeft-C7-bj_BM.js","assets/index-iB7JyXwh.js","assets/base-chart-D6qRW4Yg.js","assets/index-J3Tqz9ZT.js","assets/config-navigation-BkfKynqT.js","assets/index-Bs1kxR8_.js","assets/slicedToArray-DmqXMnHT.js","assets/simple-select-CN3fsa56.js","assets/index-Bw-rbXJI.js","assets/connect-to-BYS6M9JU.js","assets/config-space-DID86BbB.js","assets/switch-control-DzZXz9Ks.js","assets/index-BctwEFbW.js","assets/security-bFZAakv0.js","assets/config-C77UXU2G.js","assets/branding-Bv8Tk-Am.js","assets/logo-uploader-CLz5RPTu.js","assets/advanced-CPhRkaAJ.js","assets/runtime-BdS45sOH.js","assets/index-DBBjaba5.js","assets/Edit-CNRD5aKM.js","assets/list-TUiipUoi.js","assets/index-CT4keHaK.js","assets/component-BFi7evus.js","assets/TuneOutlined-Dp4gMD_8.js","assets/add-component-core-eEjKF53n.js","assets/launch-result-message-FuvJDCvp.js","assets/page-header-IRqa6Qvs.js","assets/index-Z_7QgoWt.js","assets/content-layout-fV4nyVb5.js","assets/add-component-core-D-IRi6XF.css","assets/index-B4rUFDP9.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as H,b4 as fs,b2 as Lt,b5 as ps,B as Dt,j as O,a3 as xn,Z,a as Y,ao as ms,m as zn,k as hs,d as gs,h as xs,aJ as vs,y as Le,X as Pt,b6 as ys,b7 as bs,I as ws,C as Je,b8 as js,b9 as Ss,_ as P,as as _s,a0 as Cs}from"./vendor-ux-did-connect-DprdyYny.js";import{H as v,j as o,a9 as F,ah as K,I as Rt,ap as Is,ak as Bn,X as At,q as ks,b4 as Ts,ab as re,b5 as Es,bw as Ls,T as z,bu as Ds,bs as vn,bv as yn,aa as S,bI as Ps,v as X,a7 as it,bJ as Rs,e as ee,ae as As,bf as Ms,be as Se,bK as Hn,ad as ke,bL as $s,aq as Os,ai as Ns,bM as Fn,bN as Vn,bO as qn,E as ae,b3 as Wn,y as Us,bh as zs}from"./vendor-mui-core-BV2FUxWJ.js";import{r as x,L as Gn,f as Kn,g as Bs,u as Hs,l as Fs}from"./vendor-react-DEoibe3W.js";import{D as at,f as N,E as ft,F as Vs,b as qs,G as Ws,H as Gs,I as Qn,y as me,J as Zn,K as Ks,k as ve,L as Qs,M as Zs,u as Xs,l as bn,Q as wn,g as Js,j as Ys,q as eo,n as be,m as to,o as no,P as ro,O as so,R as We,e as Be,T as oo,U as io,V as ao,N as co,W as lo,c as jn}from"./index-B6g_NzxF.js";import{af as uo,A as he,ag as fo,z as Xn,b as Ge,ah as po}from"./vendor-utils-rHXShPKm.js";import{_ as Sn}from"./useLocalStorage-DvcK7KsP.js";import{f as Mt}from"./index-8eXqqyHQ.js";import{c as ce,u as Ye,p as mo,h as et,f as Jn,g as ho,E as go,i as xo,H as vo,R as yo}from"./vendor-arcblock-CUb0jDdY.js";import{C as _n}from"./confirm-BnRcXvxs.js";import{d as bo}from"./PlayArrow-CrmMAssx.js";import{g as Cn}from"./get-safe-url-BdFxF8pA.js";import{u as Yn}from"./session-E0e-X6-a.js";import{f as ge,x as wo}from"./vendor-hooks-BgUTpb6X.js";import{i as jo,u as So,M as _o,c as Te,s as tt,H as Co,a as Io}from"./use-blocklet-logo-DeL5Lmpn.js";import{d as ko}from"./InfoOutlined-Cxpk0UTX.js";import{_ as er,D as To}from"./dot-itVN8XTt.js";import{_ as tr}from"./useSetState-CWq0AVWn.js";import{u as Eo}from"./use-mobile-BAa0wi8o.js";const nr=x.createContext({});function $t({children:e,type:t}){const[n,r]=x.useState([]),s=x.useRef([]),a=l=>{if(!s.current.includes(l)){const u=[...s.current,l];r(u),s.current=u}},i=l=>{if(s.current.includes(l)){const u=s.current.filter(d=>d!==l);r(u),s.current=u}},c=l=>{const u=n.filter(p=>l.find(f=>f===p));uo(u,n).forEach(p=>i(p))};return o.jsx(nr.Provider,{value:{type:t,deletingBlocklets:n,addDeletingDid:a,removeDeletingDid:i,matchDeletingDid:c},children:e})}$t.propTypes={type:v.string,children:v.node.isRequired};$t.defaultProps={type:"blocklets"};function Dl(){return x.useContext(nr)}var Ot={},Lo=F;Object.defineProperty(Ot,"__esModule",{value:!0});var rr=Ot.default=void 0,Do=Lo(H()),Po=o;rr=Ot.default=(0,Do.default)((0,Po.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop");var Nt={},Ro=F;Object.defineProperty(Nt,"__esModule",{value:!0});var sr=Nt.default=void 0,Ao=Ro(H()),Mo=o;sr=Nt.default=(0,Ao.default)((0,Mo.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay");var Ut={},$o=F;Object.defineProperty(Ut,"__esModule",{value:!0});var or=Ut.default=void 0,Oo=$o(H()),No=o;or=Ut.default=(0,Oo.default)((0,No.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew");var zt={},Uo=F;Object.defineProperty(zt,"__esModule",{value:!0});var ir=zt.default=void 0,zo=Uo(H()),Bo=o;ir=zt.default=(0,zo.default)((0,Bo.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var Bt={},Ho=F;Object.defineProperty(Bt,"__esModule",{value:!0});var ar=Bt.default=void 0,Fo=Ho(H()),Vo=o;ar=Bt.default=(0,Fo.default)((0,Vo.jsx)("path",{d:"M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"}),"Receipt");var Ht={},qo=F;Object.defineProperty(Ht,"__esModule",{value:!0});var cr=Ht.default=void 0,Wo=qo(H()),Go=o;cr=Ht.default=(0,Wo.default)((0,Go.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group");var Ft={},Ko=F;Object.defineProperty(Ft,"__esModule",{value:!0});var lr=Ft.default=void 0,Qo=Ko(H()),Zo=o;lr=Ft.default=(0,Qo.default)((0,Zo.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested");var Vt=function(e){return o.jsx("svg",{...e,children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.32989 8.20744C11.2787 6.82349 13.6098 6.08 16 6.08C18.3902 6.08 20.7213 6.82349 22.6701 8.20744C24.6189 9.59139 26.089 11.5473 26.8766 13.804C27.6642 16.0607 27.7304 18.5066 27.0659 20.8026C26.4419 22.9587 25.2026 24.8823 23.5044 26.3404H8.49555C6.79735 24.8823 5.55809 22.9587 4.9341 20.8026C4.26961 18.5066 4.33575 16.0607 5.12337 13.804C5.91098 11.5473 7.38107 9.59139 9.32989 8.20744ZM16 3.52C13.0786 3.52 10.2295 4.42871 7.84764 6.1202C5.46575 7.81169 3.66898 10.2022 2.70634 12.9604C1.7437 15.7187 1.66286 18.708 2.47501 21.5143C3.28717 24.3205 4.95211 26.8046 7.23909 28.6224C7.46554 28.8024 7.74628 28.9004 8.03554 28.9004H23.9644C24.2537 28.9004 24.5344 28.8024 24.7609 28.6224C27.0479 26.8046 28.7128 24.3205 29.5249 21.5143C30.3371 18.708 30.2563 15.7187 29.2936 12.9604C28.331 10.2022 26.5342 7.81169 24.1523 6.1202C21.7704 4.42871 18.9214 3.52 16 3.52ZM21.8829 13.5921C22.3827 13.0923 22.3827 12.2818 21.8829 11.7819C21.383 11.2821 20.5725 11.2821 20.0727 11.7819L17.868 13.9866C17.3072 13.7012 16.6724 13.5404 16 13.5404C13.7221 13.5404 11.8755 15.3869 11.8755 17.6648C11.8755 19.9427 13.7221 21.7892 16 21.7892C18.2779 21.7892 20.1244 19.9427 20.1244 17.6648C20.1244 16.9924 19.9635 16.3576 19.6782 15.7968L21.8829 13.5921ZM14.4355 17.6648C14.4355 16.8008 15.136 16.1004 16 16.1004C16.864 16.1004 17.5644 16.8008 17.5644 17.6648C17.5644 18.5288 16.864 19.2292 16 19.2292C15.136 19.2292 14.4355 18.5288 14.4355 17.6648Z",fill:"currentColor"})})};Vt.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Vt.displayName="dashboard";var qt={},Xo=F;Object.defineProperty(qt,"__esModule",{value:!0});var ur=qt.default=void 0,Jo=Xo(H()),Yo=o;ur=qt.default=(0,Jo.default)((0,Yo.jsx)("path",{d:"m18.25 7.6-5.5-3.18c-.46-.27-1.04-.27-1.5 0L5.75 7.6c-.46.27-.75.76-.75 1.3v6.35c0 .54.29 1.03.75 1.3l5.5 3.18c.46.27 1.04.27 1.5 0l5.5-3.18c.46-.27.75-.76.75-1.3V8.9c0-.54-.29-1.03-.75-1.3M7 14.96v-4.62l4 2.32v4.61zm5-4.03L8 8.61l4-2.31 4 2.31zm1 6.34v-4.61l4-2.32v4.62zM7 2H3.5C2.67 2 2 2.67 2 3.5V7h2V4h3zm10 0h3.5c.83 0 1.5.67 1.5 1.5V7h-2V4h-3zM7 22H3.5c-.83 0-1.5-.67-1.5-1.5V17h2v3h3zm10 0h3.5c.83 0 1.5-.67 1.5-1.5V17h-2v3h-3z"}),"ViewInAr");const pe={Start:bo,Stop:rr,Restart:sr,Reload:or,Remove:fs,Config:ir,Log:ar,Group:cr,Cancel:lr,Dashboard:Vt,Overview:ur},ei=(e,t)=>{if(!e)return"";const n=new URL(e),r=new URLSearchParams(n.searchParams),s=new URL(he(n.origin,t));return s.search=r.toString(),s.toString()},ti="internal",ni="external";function Wt({blocklet:e,onStart:t,onComplete:n,variant:r,hasPermission:s,getComponentUrl:a,useBlockletUrlEvaluation:i,...c}){const l=at(),[u,d]=x.useState(null),[p,f]=x.useState(null),[y,g]=x.useState(!1),[h,j]=x.useState(null),{t:m}=x.useContext(Lt),[C]=Sn("skip-blocklet-setup",!1),{loading:b,recommendedUrl:L}=i(e),[D]=Sn("blocklet-type-filter",ti),_=N.isInProgress(e.status),[T,I]=x.useState(!1);x.useEffect(()=>{var A,B;if(!(e!=null&&e.controller))return;I(((B=(A=e==null?void 0:e.controller)==null?void 0:A.status)==null?void 0:B.value)===ce.BLOCKLET_CONTROLLER_STATUS.suspended),(async()=>{var q,te,oe;try{const W=await l.api.getLauncherSession({input:{launcherSessionId:(q=e==null?void 0:e.controller)==null?void 0:q.launcherSessionId,launcherUrl:(te=e==null?void 0:e.controller)==null?void 0:te.launcherUrl}});if(W!=null&&W.error){console.error("get launcher session failed",W.error);return}I([O.LAUNCH_SESSION_STATUS.overdue,O.LAUNCH_SESSION_STATUS.canceled,O.LAUNCH_SESSION_STATUS.terminated].includes((oe=W==null?void 0:W.launcherSession)==null?void 0:oe.status))}catch(W){console.error("call getLauncherSession error",W)}})()},[]);const{inService:E}=l,k=(w,A,B=!1)=>async()=>{const q=async Ne=>{var ze;t({action:w,blocklet:e}),g(!0),f(w);let Ue=!1;try{if(w==="remove")await A(Ne);else if(w==="start"){if(!N.hasRunnableComponent(e)){Z.error(m("blocklet.noComponent"));return}if(!E&&!C&&!((ze=e.settings)!=null&&ze.initialized)&&e.mode!==ce.BLOCKLET_MODES.DEVELOPMENT){if(!L||!xn(L)){Z.error(m("blocklet.gotoVisitError"));return}const Q=Vs(l.info),gn=new URL(L);gn.searchParams.set("serverUrl",Q),window.open(Cn(gn.href,{allowDomains:null})),n({action:w,blocklet:e});return}const ie=e.children.filter(Q=>!N.isInProgress(Q.status)&&Q.status!=="running").map(Q=>Q.meta.did),fe={did:e.meta.did,componentDids:ie};await A({input:fe})}else if(["stop","restart","reload"].includes(w)){const ie=e.children.filter(Q=>Q.status==="running").map(Q=>Q.meta.did),fe={did:e.meta.did,componentDids:ie};await A({input:fe})}else{const ie={did:e.meta.did};await A({input:ie})}w==="remove"?Ue=!0:await qs(1e3),w==="reload"&&Z.success(m("blocklet.reloadSuccess")),j(null),n({action:w,blocklet:e})}catch(ie){const fe=`Blocklet ${w} failed: ${Mt(ie)}`;throw n({action:w,blocklet:e,error:new Error(fe)}),new Error(fe)}finally{Ue||g(!1)}},te=()=>{g(!1),j(null)},oe=N.getDisplayName(e,!0),W=e.mode===ce.BLOCKLET_MODES.DEVELOPMENT?{description:()=>o.jsx(z,{component:"div",children:o.jsx(z,{gutterBottom:!0,children:m("blocklet.action.removeApplicationDescription")})}),params:{removeType:"complete"}}:{description:(Ne,Ue)=>o.jsxs(z,{component:"div",children:[o.jsx(z,{gutterBottom:!0,children:m("blocklet.action.removeApplicationDescription")}),o.jsxs(Ds,{name:"removeType",value:Ne.removeType,onChange:ze=>Ue({...Ne,removeType:ze.target.value}),children:[o.jsx(vn,{value:"backup",control:o.jsx(yn,{}),label:m("blocklet.action.removeApplicationAfterBackup")}),o.jsx(vn,{value:"complete",control:o.jsx(yn,{}),label:m("blocklet.action.removeApplicationComplete")})]})]}),params:{removeType:"backup"}},ds={stop:{title:`${m("common.stop")} ${oe}`,description:m("blocklet.action.stopDescription"),confirm:m("blocklet.action.confirmStop"),cancel:m("common.cancel"),onConfirm:q,onCancel:te},restart:{title:`${m("common.restart")} ${oe}`,description:m("blocklet.action.restartDescription"),confirm:m("blocklet.action.confirmRestart"),cancel:m("common.cancel"),onConfirm:q,onCancel:te},remove:{title:`${m("common.remove")} ${oe}`,confirm:m("blocklet.action.confirmRemove"),cancel:m("common.cancel"),onConfirm:q,onCancel:te,...W},cancelDownload:{title:`${m("common.cancel")}`,description:m("blocklet.action.cancelDownloadDescription",{name:oe}),confirm:m("common.confirm"),cancel:m("common.cancel"),onConfirm:q,onCancel:te}};B?j(ds[w]):await q()},V=!!u,M=w=>{try{w.stopPropagation(),w.preventDefault()}catch{}d(w.currentTarget)},U=w=>{try{w.stopPropagation(),w.preventDefault()}catch{}d(null)},$e=async(w,A)=>{try{A.stopPropagation(),A.preventDefault()}catch{}if(typeof w.handler=="function")try{g(!0),f(w.action),await w.handler()}catch(B){console.error(`Blocklet ${w.name} failed: `,B)}finally{g(!1),d(null)}else d(null)},as=!E&&N.isDeletableBlocklet(e)?{action:"remove",icon:pe.Remove,name:m("common.remove"),handler:k("remove",async({removeType:w})=>{w==="backup"&&await l.api.backupBlocklet({input:{appDid:e.appDid,to:"disk"}}),await l.api.deleteBlocklet({input:{did:e.meta.did,keepData:!1}})},!0),disabled:_}:null,cs={action:"remove",icon:({sx:w,...A})=>o.jsx(pe.Cancel,{sx:{...w,paddingRight:"2px",zoom:.95},...A}),name:m("common.cancel"),handler:k("cancelDownload",l.api.cancelDownloadBlocklet,!0)},ls=N.getAppMissingConfigs(e),us=()=>{var q;const w=`/${e.mountPoint||"/"}`.replace(/\/+/g,"/"),A=a==null?void 0:a({mountPoint:w,blocklet:e});if(!A||!xn(A)){Z.error(m("blocklet.gotoVisitError"));return}const B=(q=e==null?void 0:e.site)==null?void 0:q.domainAliases;window.open(Cn(ei(A,".well-known/service/admin"),{allowDomains:B==null?void 0:B.map(te=>te.value)}))};let Oe=[{action:"start",icon:pe.Start,inExternal:!0,name:m("common.start"),handler:k("start",l.api.startBlocklet),disabled:T||e.children.every(w=>w.status==="running")||ft(e.status)||b||_},{action:"stop",icon:pe.Stop,inExternal:!0,name:m("common.stop"),handler:k("stop",l.api.stopBlocklet,!0),disabled:!["running","starting"].includes(e.status)},{action:"restart",inExternal:!0,icon:pe.Restart,name:m("common.restart"),handler:k("restart",l.api.restartBlocklet,!0),disabled:T||e.status!=="running"},ft(e.status)?cs:as,{separator:!0},E?null:{action:"dashboard",icon:({style:w,...A})=>o.jsx(pe.Dashboard,{...A,style:{...w,width:"26px",height:"26px",paddingRight:"3px"}}),name:m("sidebar.dashboard"),handler:us}].filter(Boolean);return D===ni&&(Oe=Oe.filter(w=>w.inExternal)),r==="menu"?o.jsxs(In,{"data-cy":"blocklet-actions",children:[o.jsx(Rt,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions","actions-blocklet-did":e.meta.did,onClick:M,size:"small",disabled:!s||!ft(e.status)&&y,children:o.jsx(ps,{})}),o.jsxs(Is,{id:"actions-menu",anchorEl:u,keepMounted:!0,open:V,onClose:U,PaperProps:{},children:[ls.length>0&&o.jsxs(Bn,{style:{maxWidth:"400px"},severity:"error",children:[m("blocklet.config.missingRequired"),o.jsx("br",{}),o.jsx(Gn,{to:`/blocklets/${e.meta.did}/components`,children:m("blocklet.config.gotoFix")})]}),Oe.map((w,A)=>w.separator?o.jsx(At,{},`separator-${A}`):o.jsxs(ks,{dense:!0,onClick:B=>$e(w,B),disabled:y||w.disabled,"data-cy":`${w.action}-blocklet`,children:[o.jsx(Ts,{style:{minWidth:24},children:p===w.action&&y?o.jsx(re,{size:16,sx:{marginRight:1}}):o.jsx(w.icon,{fontSize:"small"})}),o.jsx(Es,{primary:w.name})]},w.name))]}),h&&o.jsx(_n,{title:h.title,description:h.description,confirm:h.confirm,cancel:h.cancel,params:h.params,onConfirm:h.onConfirm,onCancel:h.onCancel})]}):o.jsxs(In,{"data-cy":"blocklet-actions",...c,children:[o.jsx(Ls,{children:Oe.filter(w=>!w.separator&&!w.onlyInMenu).map(w=>o.jsxs(Dt,{title:w.name,"data-cy":`${w.action}-blocklet`,onClick:()=>$e(w),disabled:!!w.disabled||y,children:[p===w.action&&y?o.jsx(re,{size:16,sx:{marginRight:1}}):o.jsx(w.icon,{}),o.jsx("span",{className:"blocklet-action-text",children:w.name})]},w.name))}),h&&o.jsx(_n,{title:h.title,description:h.description,confirm:h.confirm,cancel:h.cancel,params:h.params,onConfirm:h.onConfirm,onCancel:h.onCancel})]})}Wt.propTypes={getComponentUrl:v.func,blocklet:v.object.isRequired,onStart:v.func.isRequired,onComplete:v.func.isRequired,variant:v.oneOf(["menu","group"]),hasPermission:v.bool,useBlockletUrlEvaluation:v.func};Wt.defaultProps={getComponentUrl:null,variant:"menu",hasPermission:!1,useBlockletUrlEvaluation:()=>{var e;return{loading:!1,recommendedUrl:(e=window==null?void 0:window.location)==null?void 0:e.href}}};const In=K.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
|
|
6
|
+
@media (max-width: ${e=>e.theme.breakpoints.values.sm}px) {
|
|
7
|
+
.MuiButton-root {
|
|
8
|
+
padding: 4px;
|
|
9
|
+
font-size: 10px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`,kn=x.memo(Wt),ri=e=>{const t={};let n=null;return N.forEachBlockletSync(e,r=>{t[r.meta.bundleDid]?n=N.getDisplayName(r,!0):r.meta.bundleDid&&(t[r.meta.bundleDid]=!0)}),n},si=(e,t,n)=>{var a;const{hostname:r,href:s}=e;if(!t)return s;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(r);if(!c)return s;const l=c[0],d=((((a=t.site)==null?void 0:a.domainAliases)||[]).map(p=>p.value).filter(Boolean).find(p=>p.endsWith(O.DEFAULT_DID_DOMAIN))||"").replace(`.${O.DEFAULT_DID_DOMAIN}`,"");return d?s.replace(r,`${d}-${l}.${O.DEFAULT_IP_DOMAIN_SUFFIX}`):s}return s.replace(t.meta.bundleDid,t.appPid)};function dr(){const{t:e}=Y(),{api:t}=Yn(),{blocklet:n}=Ws(),{inService:r}=at(),[s,a]=x.useState(!1),[i,c]=x.useState(5),l=n&&n.structVersion!==O.APP_STRUCT_VERSION,u=()=>{try{if(n.status==="running"){Z.error(e("blocklet.migrate.tip.running"));return}const f=ri(n);if(f){Z.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}a(!0)}catch(f){Z.error(Mt(f))}},d=()=>{const f=si(window.location,n,r);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(y=>y-1)},1e3)},p=()=>a(!1);return[l&&o.jsxs(Bn,{severity:"warning",style:{margin:"12px 0"},children:[o.jsxs(S,{display:"flex",alignItems:"center",children:[o.jsx(Dt,{variant:"contained",size:"small",color:"primary",onClick:()=>u(),style:{marginRight:8},children:e("blocklet.migrate.intro.l1")}),o.jsx("span",{children:e("blocklet.migrate.intro.l2")})]}),["l3","l4","l5","l6"].map(f=>o.jsx(S,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&o.jsx(ms,{popup:!0,open:s,saveConnect:!1,forceConnected:!1,action:"migrate-app-to-struct-v2",checkFn:t.get,checkTimeout:5*60*1e3,onSuccess:d,extraParams:{appDid:n.appDid,did:n.meta.did,wt:Gs(n,!0),title:N.getDisplayName(n)},messages:{title:e("blocklet.migrate.title"),scan:e("blocklet.migrate.scan"),confirm:e("blocklet.migrate.confirm"),success:i>=0?e("blocklet.migrate.success",{sec:i}):"Redirecting..."},onClose:p},"connect")]}dr.propTypes={};function oi(){const e=Ps();return[...e.breakpoints.keys].reverse().reduce((n,r)=>{const s=X(e.breakpoints.up(r));return!n&&s?r:n},null)||"xs"}function ii(e){return o.jsx(it,{...e,children:o.jsx("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"})})}function ai(e){return o.jsx(it,{...e,children:o.jsx("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"})})}function ci(e){return o.jsx(it,{...e,children:o.jsx("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2, 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12, 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"})})}function li(e){return o.jsx(it,{...e,children:o.jsx("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12A10,10 0 0,0 12,2Z"})})}const He={fontSize:20,marginInlineEnd:8},ui={success:o.jsx(ii,{style:He}),warning:o.jsx(ai,{style:He}),error:o.jsx(ci,{style:He}),info:o.jsx(li,{style:He})},di=Rs(e=>{const t={xl:"400px",lg:"400px",md:"400px",sm:"300px"},n=e.palette.background.default;return{lessPadding:{paddingLeft:8*2.5},contentRoot:{...e.typography.body2,display:"flex",backgroundColor:n,color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},success:r=>({backgroundColor:`${As[600]} !important`,width:t[r.breakpoint]}),error:r=>({backgroundColor:`${e.palette.error.dark} !important`,width:t[r.breakpoint]}),info:r=>({backgroundColor:`${e.palette.primary.main} !important`,width:t[r.breakpoint]}),warning:r=>({backgroundColor:`${Ms[700]} !important`,width:t[r.breakpoint]}),icon:{fontSize:20},message:{display:"flex",alignItems:"center",padding:"8px 0",flex:1,width:0},action:{display:"flex",alignItems:"center",marginLeft:"auto",marginRight:-8,width:44}}});function Gt({keyId:e,notification:t={},viewAllUrl:n,content:r},s){var j,m,C;const a=di({breakpoint:oi()}),i=ee(),c=[a.contentRoot,a.lessPadding,a[t.severity]].join(" "),l=ui[t.severity],{closeSnackbar:u}=zn(),d=()=>u(e),p=Kn(),f=()=>{u(e),p(n)},y=ge(()=>jo(t),[t]),g=ge(()=>t==null?void 0:t.activity,[t]),h=So({activity:g,users:[t==null?void 0:t.actorInfo],actors:[(j=t==null?void 0:t.activity)==null?void 0:j.actor],extra:{linkColor:i.palette.primary.main,userDid:(C=(m=t==null?void 0:t.receivers)==null?void 0:m[0])==null?void 0:C.did}});return o.jsxs(hs,{ref:s,className:c,children:[o.jsxs("div",{className:a.message,children:[l,o.jsx(pi,{onClick:f,style:{width:"calc(100% - 30px)"},children:o.jsx(S,{children:y?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"title",children:h}),g.meta?o.jsx(_o,{meta:g.meta,type:g.type,sx:{display:"-webkit-box",overflow:"hidden",textOverflow:"ellipsis",WebkitLineClamp:3,WebkitBoxOrient:"vertical",color:"#fff"}}):null]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"title",children:t.title}),r||o.jsx("span",{className:"desc",children:t.description})]})})})]}),o.jsx("div",{className:a.action,children:o.jsx(Rt,{"aria-label":"close",color:"inherit",onClick:d,size:"large",children:o.jsx(gs,{className:a.icon})},"close")})]})}const fi=x.forwardRef(Gt);Gt.propTypes={viewAllUrl:v.string.isRequired,keyId:v.number.isRequired,notification:v.object.isRequired,content:v.node};Gt.defaultProps={content:null};const pi=K.div`
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
.title {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
text-overflow: ellipsis;
|
|
19
|
+
display: -webkit-box;
|
|
20
|
+
-webkit-line-clamp: 1;
|
|
21
|
+
-webkit-box-orient: vertical;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
}
|
|
24
|
+
.desc {
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
display: -webkit-box;
|
|
28
|
+
-webkit-line-clamp: 3;
|
|
29
|
+
-webkit-box-orient: vertical;
|
|
30
|
+
word-break: break-word;
|
|
31
|
+
}
|
|
32
|
+
`,mi=e=>{let t="rgba(0, 0, 0, 0.12)";return e==="warning"?t="#DE9E37":e==="error"?t="#F16E6E":t="rgba(0, 0, 0, 0.12)",t},hi=e=>e.every(t=>t.type==="text"),gi=e=>e.every(t=>t.type==="image"),xi=e=>fo(e,2).map(t=>({type:"combined",items:t})).filter(t=>(t.items||[]).every(n=>{var r,s,a;return(a=(s=(r=n==null?void 0:n.data)==null?void 0:r.text)==null?void 0:s.trim)==null?void 0:a.call(s)})),vi=e=>{if(!e.length||e.length<=1)return!1;const t=e[0].type;return e.every(n=>n.type===t)},yi=(e,t)=>{try{const n=xs.toTypeInfo(e);if(!(n.role!==void 0&&n.role!==vs.types.RoleType.ACCOUNT))return;const s=he(O.WELLKNOWN_SERVICE_PATH_PREFIX,"user");return Xn(s,{did:e,locale:t})}catch(n){console.error(n);return}},ue=(e,t)=>({...e,...t?{filter:"invert(1)"}:{}}),De=e=>{if(!e)return null;try{return new URL(e).protocol!=="https:"?(console.warn("Image URL must use HTTPS protocol:",e),null):`/.well-known/service/proxy?url=${e}`}catch(t){return console.warn("Invalid image URL format:",e,t),null}};function fr({attachment:e}){const{data:t}=e,n=ee();let r="";try{r=new URL(t.url).host}catch{r=t.url}return o.jsxs(Se,{target:"_blank",rel:"noopener noreferrer",href:t.url,className:"link",style:{wordBreak:"break-all"},onClick:s=>{s.customPreventRedirect=!0},children:[!!r&&o.jsx("span",{className:"url",children:r}),!!t.title&&o.jsx(S,{className:"title",style:{whiteSpace:"unset"},children:t.title}),!!t.description&&o.jsx(S,{className:"description",style:{whiteSpace:"unset",color:n.palette.text.secondary},children:t.description}),!!t.image&&o.jsx(Le,{src:Ye.getImagePath(t.image),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},fallback:De(Ye.getImagePath(t.image))})]})}fr.propTypes={attachment:v.object.isRequired};function pr({attachment:e}){const{data:t}=e;return o.jsx(Le,{src:Ye.getImagePath(t.url),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},fallback:De(Ye.getImagePath(t.url))})}pr.propTypes={attachment:v.object.isRequired};function mr({attachment:e,...t}){var c;const{data:n}=e,r=((c=n.color)==null?void 0:c.toLowerCase())||t.color,s=n.size||t.size,a=n.fontWeight||t.fontWeight||400;let i="14px";return s==="small"?i="12px":s==="normal"?i="14px":s==="big"?i="16px":s==="large"&&(i="18px"),o.jsx(bi,{className:"title",style:{fontSize:i,color:r,whiteSpace:"unset",fontWeight:a},children:n.text})}mr.propTypes={attachment:v.object.isRequired};const bi=K.span`
|
|
33
|
+
width: 100%;
|
|
34
|
+
display: -webkit-box;
|
|
35
|
+
-webkit-box-orient: vertical;
|
|
36
|
+
-webkit-line-clamp: 2;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
text-overflow: ellipsis;
|
|
39
|
+
white-space: normal;
|
|
40
|
+
word-break: break-word;
|
|
41
|
+
`;Kt.propTypes={locale:v.string,data:v.object.isRequired};Kt.defaultProps={locale:"en"};function Kt({locale:e="en",data:t}){const n={zh:"来自",en:"from"}[e]||"from",r={zh:"接收",en:"Received"}[e]||"Received",a=`https://${Te.getUrlHost(t.chainHost)||Te.getChainHost(t.chainId)}/explorer/tokens/${t.address}/tx`,i=ee(),c=i.palette.mode==="dark";let l=t.amount;t.decimal&&(l=t.amount/10**t.decimal);const u=ge(()=>({display:"flex",alignItems:"center",rowGap:2,columnGap:4,justifyContent:"space-between",flexWrap:"wrap"}));return o.jsx("a",{href:a,target:"_blank",rel:"noreferrer",onClick:d=>{d.customPreventRedirect=!0},children:o.jsxs(S,{display:"flex",flexDirection:"column",children:[o.jsxs(S,{sx:u,children:[o.jsx(z,{component:"div",sx:{fontWeight:700,color:i.palette.text.primary},children:r}),o.jsxs(z,{component:"div",align:"right",style:ue(tt.summaryStyle,c),flex:1,children:["+",l," ",t.symbol]})]}),o.jsxs(S,{sx:u,children:[o.jsx(z,{component:"div",style:ue({...tt.remarkStyle,fontSize:14},c),children:n}),o.jsx(S,{maxWidth:260,fontSize:14,children:o.jsx(Pt,{did:t.address,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:e})})]})]})})}Qt.propTypes={locale:v.string,data:v.object.isRequired};Qt.defaultProps={locale:"en"};function Qt({locale:e,data:t}){var d,p;const n={zh:"接收",en:"Received"}[e]||"Received",r={zh:"来自",en:"from"}[e]||"from",s=Te.getUrlHost(t.chainHost)||Te.getChainHost(t.chainId),a=t.did||((p=(d=t==null?void 0:t.credential)==null?void 0:d.issuer)==null?void 0:p.id)||"",i=`https://${s}/explorer/assets/${a}`,l=ee().palette.mode==="dark",u=ge(()=>({display:"flex",alignItems:"center",rowGap:2,columnGap:4,justifyContent:"space-between",flexWrap:"wrap"}));return o.jsx(S,{sx:{pr:1},children:o.jsx("a",{href:i,target:"_blank",style:{textDecoration:"none",color:"initial",display:"block"},onClick:f=>{f.customPreventRedirect=!0},rel:"noreferrer",children:o.jsxs(S,{display:"flex",flexDirection:"column",children:[o.jsxs(S,{sx:u,children:[o.jsx(z,{component:"div",sx:{fontWeight:700,color:"text.primary"},children:n}),o.jsx(z,{component:"div",align:"right",style:ue(tt.summaryStyle,l),children:"+1 Asset"})]}),a?o.jsxs(S,{sx:u,children:[o.jsx(z,{component:"div",style:ue({...tt.remarkStyle,fontSize:14},l),children:r}),o.jsx(S,{maxWidth:260,fontSize:14,children:o.jsx(Pt,{did:a,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:e})})]}):null]})})})}hr.propTypes={data:v.object.isRequired,locale:v.string};function hr({data:e,locale:t="en"}){const r=ee().palette.mode==="dark";return o.jsxs("a",{href:e.url,target:"_blank",style:{display:"flex",textDecoration:"none",color:"initial"},onClick:s=>{s.customPreventRedirect=!0},rel:"noreferrer",children:[o.jsx(Le,{className:"image",src:e.logo,width:50,height:50,alt:"",fallback:De(e.logo)}),o.jsxs("div",{style:{flex:1,marginLeft:"10px"},children:[o.jsx("div",{style:ue({marginBottom:"6px"},r),children:e.title}),o.jsx(S,{maxWidth:260,fontSize:10,children:o.jsx(Pt,{did:e.appDID,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:t})})]})]})}Zt.propTypes={locale:v.string,data:v.object.isRequired};Zt.defaultProps={locale:"en"};function Zt({locale:e,data:t}){const n=Te.getChainHost(t.chainId),r=`https://${n}/explorer/txs/${t.hash}`,s={zh:"交易详情",en:"Transaction Details"}[e]||"Transaction Details",a={zh:"交易哈希",en:"Transaction Hash"}[e]||"Transaction Hash",i=ee(),c=i.palette.mode==="dark";return o.jsxs("a",{href:r,target:"_blank",style:ue({textDecoration:"none",color:"initial",display:"block",fontSize:14},c),onClick:l=>{l.customPreventRedirect=!0},rel:"noreferrer",children:[o.jsx("h6",{style:{color:i.palette.text.secondary,margin:0},children:n}),o.jsx("p",{style:{color:i.palette.warning.main,margin:0},children:s}),o.jsxs("div",{style:{wordBreak:"break-all"},children:[a,": ",t.hash]})]})}function gr({attachment:e,...t}){const{local:n}=x.useContext(Lt),r=X(a=>a.breakpoints.down("md")),s=ee();return o.jsxs(wi,{...t,isMd:r,children:[e.type==="link"&&o.jsx(fr,{attachment:e,...t,isMd:r}),e.type==="image"&&o.jsx(pr,{attachment:e,isMd:r}),e.type==="text"&&o.jsx(mr,{attachment:e,isMd:r}),e.type==="token"&&o.jsx(Kt,{data:e.data,local:n,isMd:r}),e.type==="asset"||e.type==="vc"?o.jsx(Qt,{data:e.data,local:n,isMd:r}):null,e.type==="dapp"&&o.jsx(hr,{data:e.data,local:n,isMd:r}),e.type==="transaction"&&o.jsx(Zt,{data:e.data,local:n,...t,isMd:r}),e.type==="divider"&&o.jsx(At,{sx:{mb:1,mt:1},style:{color:s.palette.divider}})]})}const wi=K.div`
|
|
42
|
+
display: ${({sx:e={}})=>e.display||"flex"};
|
|
43
|
+
flex-direction: ${({sx:e={}})=>e.flexDirection||"column"};
|
|
44
|
+
gap: ${({sx:e={}})=>e.gap||1};
|
|
45
|
+
width: ${({isMd:e=!1})=>e?"100%":"auto"};
|
|
46
|
+
&:last-child {
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
}
|
|
49
|
+
`;gr.propTypes={attachment:v.object.isRequired};function xr({data:e,...t}){const{items:n}=e;return o.jsx(ji,{...t,children:n.map(r=>o.jsxs(Hn,{variant:"outlined",sx:{p:2,borderRadius:"8px",minWidth:128},children:[o.jsxs(S,{display:"flex",alignItems:"center",gap:1,children:[r.icon?o.jsx(Le,{src:r.icon,alt:r.title,style:{width:16,height:16},fallback:De(r.icon)}):null,o.jsxs(S,{className:"metric-name",display:"flex",alignItems:"center",children:[r.title,r.subtitle?o.jsx(ke,{title:r.subtitle,arrow:!0,placement:"top",children:o.jsx(ko,{fontSize:"small",sx:{fontSize:14,ml:.5}})}):null]})]}),o.jsxs(S,{className:"metric-number",sx:{color:r.content_color||"rgba(3, 7, 18, 1)"},children:[r.content,r.sub_content?o.jsxs("span",{className:"sub-content",style:{color:r.sub_content_color||"rgba(156, 163, 175, 1)"},children:["(",r.sub_content,")"]}):null]})]},r.title))})}const ji=K(S)`
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: flex-start;
|
|
52
|
+
flex-wrap: wrap;
|
|
53
|
+
gap: 16px;
|
|
54
|
+
.metric-number {
|
|
55
|
+
font-size: 18px;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
.sub-content {
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
margin-left: 4px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.metric-name {
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
color: rgba(156, 163, 175, 1);
|
|
66
|
+
}
|
|
67
|
+
`;xr.propTypes={data:v.object.isRequired};function vr({data:e}){const{items:t}=e,n=X(i=>i.breakpoints.down("sm")),r=X(i=>i.breakpoints.down("md")),s=X(i=>i.breakpoints.down("lg")),a=()=>n?1:r?3:s?4:6;return o.jsx($s,{variant:"quilted",cols:a(),gap:8,rowHeight:128,sx:{margin:0},children:t.map(i=>{const c=i.cover||i.display;return c?o.jsx("a",{href:i.link,target:"_blank",rel:"noopener noreferrer",children:o.jsx(Os,{children:o.jsx(Le,{src:c,alt:i.title||"",style:{borderRadius:"8px"},fallback:De(c)})})},c):null})})}vr.propTypes={data:v.object.isRequired};function Xt({data:e,feedType:t,...n}){return o.jsxs(Si,{...n,children:[t==="data-tracker"&&e.type==="table"&&o.jsx(xr,{data:e}),(t==="graphic"||t==="gallery")&&o.jsx(vr,{data:e})]})}const Si=K.div`
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
width: 100%;
|
|
71
|
+
margin-bottom: 4px;
|
|
72
|
+
&:last-child {
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
}
|
|
75
|
+
`;Xt.propTypes={data:v.object.isRequired,feedType:v.string};Xt.defaultProps={feedType:"data-tracker"};Ke.propTypes={data:v.object.isRequired,style:v.object};function Ke({data:e,style:t={}}){const r=ee().palette.mode==="dark";return o.jsx(z,{style:ue({color:r&&e.darkModeColor?e.darkModeColor:e.color||"initial",margin:0,whiteSpace:"pre-line!important",...t},r),children:e.text})}function yr({data:e}){const t=[];for(let n=0;n<(e==null?void 0:e.length);n+=2){const r=e[n],s=e[n+1];r&&s?t.push(o.jsxs(Tn,{children:[o.jsx("td",{className:"label-col",children:o.jsx(Ke,{data:r.data,style:{whiteSpace:"nowrap"}})}),o.jsx("td",{className:"value-col",children:o.jsx(Ke,{data:s.data,style:{wordBreak:"break-all"}})})]},n)):r&&t.push(o.jsx(Tn,{children:o.jsx("td",{className:"label-col",children:o.jsx(Ke,{data:r.data})})},n))}return o.jsx("table",{style:{width:"100%"},children:o.jsx("tbody",{children:t})})}yr.propTypes={data:v.array.isRequired};const Tn=K.tr`
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
justify-content: flex-start;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: ${({theme:e})=>e.spacing(1)};
|
|
81
|
+
.label-col {
|
|
82
|
+
min-width: 130px;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
}
|
|
85
|
+
.value-col {
|
|
86
|
+
flex: 1;
|
|
87
|
+
}
|
|
88
|
+
`;function Jt({notification:e,severity:t,showSke:n=!0}){const{attachments:r,data:s,...a}=e,i=X(d=>d.breakpoints.down("md"));if((!r||!r.length)&&Ge(s))return null;const c=mi(t),l=(d,p=!1)=>{if(!d&&!Array.isArray(d))return null;let f=d,y={},g="horizontal";p&&hi(d)&&(f=xi(d),g="vertical",y={display:"flex",gap:8,flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",height:"100%",width:i||f.length===1?"100%":"28%"});const h=vi(f);return o.jsx(S,{sx:{width:"100%",display:"flex",gap:1,flexDirection:p?"row":"column",justifyContent:"flex-start",alignItems:p?"center":"unset",flexWrap:"wrap"},children:f.map((j,m)=>j.type==="section"?o.jsx(yr,{data:j.fields},m):o.jsxs(x.Fragment,{children:[o.jsx(gr,{attachment:j,style:y,...a}),!(i&&g==="vertical")&&h&&f.length>1&&m!==f.length-1?o.jsx(At,{orientation:g,style:{color:ys.dividerColor},sx:g==="vertical"?{ml:2,mr:2,height:32}:{}}):null]},m))})},u=gi(r);return o.jsx(_i,{children:o.jsxs("div",{className:"message-in-list",children:[r.length>0&&o.jsx("div",{className:"message-container",style:i?{width:"100%"}:{},children:u?l(r):o.jsx(Hn,{variant:"outlined",sx:{p:i?1:2,borderRadius:"8px",minWidth:128,borderColor:c},children:l(r)})}),!Ge(s)&&o.jsx("div",{className:"message-container",children:o.jsx("div",{className:"data-container",children:o.jsx(Xt,{data:s,feedType:e.feedType})})}),r.length===0&&Ge(s)&&n&&o.jsx(Ns,{className:"attach-ske",style:{marginTop:10},variant:"rectangular",height:150})]})})}const _i=K.div`
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
.message-in-list {
|
|
92
|
+
padding: 8px 8px 8px 0;
|
|
93
|
+
display: flex;
|
|
94
|
+
border-radius: 8px;
|
|
95
|
+
}
|
|
96
|
+
.message-title {
|
|
97
|
+
color: #25292f;
|
|
98
|
+
font-size: 18px;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
word-break: break-all;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.attach-ske {
|
|
104
|
+
position: relative;
|
|
105
|
+
margin-left: 10px;
|
|
106
|
+
&::after {
|
|
107
|
+
content: '';
|
|
108
|
+
position: absolute;
|
|
109
|
+
left: -10px;
|
|
110
|
+
top: 0;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: 4px;
|
|
113
|
+
background-color: ${e=>e.leftLineColor};
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.message-body {
|
|
118
|
+
color: #25292f;
|
|
119
|
+
font-size: 16px;
|
|
120
|
+
word-break: break-all;
|
|
121
|
+
white-space: pre-line;
|
|
122
|
+
}
|
|
123
|
+
.message-container {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
justify-content: flex-start;
|
|
127
|
+
.data-container,
|
|
128
|
+
.attachment-container {
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
width: 100%;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
.actions-container {
|
|
135
|
+
margin-top: 10px;
|
|
136
|
+
.actions-item {
|
|
137
|
+
margin-right: 8px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
`;Jt.propTypes={severity:v.string.isRequired,notification:v.object.isRequired,showSke:v.bool};Jt.defaultProps={showSke:!0};const pt=e=>mo.sanitize(e,{ALLOWED_ATTR:["href","target","rel","class","id","style"]}),Ci=async(e,t)=>{const{type:n,did:r}=e;return Jn.isSameAddr(n,"did")?await yi(r,t)||et.getLink(e):et.getLink(e)};function Ii(e){return new TextEncoder().encode(e).length>=1e4}const ki=async(e,t,n=!0)=>{let r=e;Ii(e)&&(r=e.slice(0,1e4));const s=et.toTextList(r);return await Promise.all(s.map(async i=>{if(i instanceof et.Link){if(n){const c=await Ci(i,t),{type:l,chainId:u,did:d}=i;return Jn.isSameAddr(l,"dapp")?`<em style="font-weight:bold;" data-type="${l}" data-chain-id="${u}" data-did="${d}">${i.text}</em>`:c?`<a target="_blank" rel="noopener noreferrer" style="color:#4598fa;font-weight:bold;" href="${c}">${i.text}</a>`:`<em style="font-weight:bold;" data-type="${l}" data-chain-id="${u}" data-did="${d}">${i.text}</em>`}return i.text}return i})).then(i=>i.join(""))};br.propTypes={notification:v.object,rows:v.number,minimal:v.bool};function br({notification:e,rows:t=2,minimal:n=!1}){const[r,s]=x.useState(!1),[a,i]=x.useState(""),{t:c,locale:l}=Y(),{palette:u}=ee(),d=x.useMemo(()=>{const{attachments:m}=e||{};if(!m)return!1;try{return m.length>0}catch{return!1}},[e]),p=x.useMemo(()=>{const{blocks:m}=e||{};if(!m)return!1;try{return m.length>0}catch{return!1}},[e]),f=x.useMemo(()=>{const{description:m}=e||{};return!!m},[e]),y=x.useMemo(()=>{const{data:m}=e||{};return!Ge(m)},[e]),g=x.useMemo(()=>d||p||f||y,[d,p,f,y]);if(x.useEffect(()=>{ki((e==null?void 0:e.description)??"",l).then(m=>{i(m)})},[e==null?void 0:e.description,l]),!g)return null;const h=()=>t===0?"":r?`<span class='toggle-btn' data-name='toggle-expanded'>${c("common.collapse")}</span>`:`...<span class='toggle-btn' data-name='toggle-expanded'>${c("common.expand")}</span>`,j=m=>{const{target:C}=m;C.getAttribute("data-name")==="toggle-expanded"&&(s(!r),m.customPreventRedirect=!0)};return o.jsxs(Ti,{color:n?u.primary.contrastText:"",children:[o.jsx(S,{className:"text-container",component:"div",onClick:j,children:a&&(!r&&t>0?o.jsx(Co,{basedOn:"letters",unsafeHTML:pt(a),maxLine:t,ellipsisHTML:pt(h())}):o.jsx(z,{component:"div",className:`content ${t===0?"ellipsis":""}`,style:{whiteSpace:"pre-line!important"},dangerouslySetInnerHTML:{__html:pt(`${a}${h()}`)}}))}),!n&&(d||y)?o.jsx(Jt,{severity:e.severity,notification:e}):null]})}const Ti=K(S)`
|
|
141
|
+
width: 100%;
|
|
142
|
+
color: ${e=>e.color?e.color:e.theme.palette.text.secondary};
|
|
143
|
+
.text-container {
|
|
144
|
+
word-wrap: break-word;
|
|
145
|
+
word-break: break-all;
|
|
146
|
+
color: ${e=>e.color?e.color:e.theme.palette.text.secondary};
|
|
147
|
+
.toggle-btn {
|
|
148
|
+
display: inline-block;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
margin-left: 4px;
|
|
152
|
+
color: ${e=>e.theme.palette.secondary.main};
|
|
153
|
+
}
|
|
154
|
+
.content.ellipsis {
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
text-overflow: ellipsis;
|
|
157
|
+
word-break: break-all;
|
|
158
|
+
display: block;
|
|
159
|
+
display: -webkit-box;
|
|
160
|
+
-webkit-box-orient: vertical;
|
|
161
|
+
-webkit-line-clamp: 2;
|
|
162
|
+
line-height: 1.25;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
`,Ei=x.memo(br);var R=function(t,n,r){return Fn.call(n,"css")?o.jsx(Vn,qn(t,n),r):o.jsx(t,n,r)},Fe=function(t,n,r){return Fn.call(n,"css")?o.jsxs(Vn,qn(t,n),r):o.jsxs(t,n,r)};/**
|
|
166
|
+
* (c) Iconify
|
|
167
|
+
*
|
|
168
|
+
* For the full copyright and license information, please view the license.txt or license.gpl.txt
|
|
169
|
+
* files at https://github.com/iconify/iconify
|
|
170
|
+
*
|
|
171
|
+
* Licensed under MIT.
|
|
172
|
+
*
|
|
173
|
+
* @license MIT
|
|
174
|
+
* @version 3.1.1
|
|
175
|
+
*/const wr=Object.freeze({left:0,top:0,width:16,height:16}),nt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pe=Object.freeze({...wr,...nt}),xt=Object.freeze({...Pe,body:"",hidden:!1});function Li(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function En(e,t){const n=Li(e,t);for(const r in xt)r in nt?r in e&&!(r in n)&&(n[r]=nt[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Di(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function a(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const c=r[i]&&r[i].parent,l=c&&a(c);l&&(s[i]=[c].concat(l))}return s[i]}return Object.keys(n).concat(Object.keys(r)).forEach(a),s}function Pi(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let a={};function i(c){a=En(r[c]||s[c],a)}return i(t),n.forEach(i),En(e,a)}function Ri(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=Di(e);for(const s in r){const a=r[s];a&&(t(s,Pi(e,s,a)),n.push(s))}return n}const _e=/^[a-z0-9]+(-[a-z0-9]+)*$/,ye=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const c=s.pop(),l=s.pop(),u={provider:s.length>0?s[0]:r,prefix:l,name:c};return t&&!Qe(u)?null:u}const a=s[0],i=a.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qe(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:a};return t&&!Qe(c,n)?null:c}return null},Qe=(e,t)=>e?!!((e.provider===""||e.provider.match(_e))&&(t&&e.prefix===""||e.prefix.match(_e))&&e.name.match(_e)):!1,Ai={provider:"",aliases:{},not_found:{},...wr};function mt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Mi(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!mt(e,Ai))return null;const n=t.icons;for(const s in n){const a=n[s];if(!s.match(_e)||typeof a.body!="string"||!mt(a,xt))return null}const r=t.aliases||Object.create(null);for(const s in r){const a=r[s],i=a.parent;if(!s.match(_e)||typeof i!="string"||!n[i]&&!r[i]||!mt(a,xt))return null}return t}const rt=Object.create(null);function $i(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function J(e,t){const n=rt[e]||(rt[e]=Object.create(null));return n[t]||(n[t]=$i(e,t))}function Yt(e,t){return Mi(t)?Ri(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Oi(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function Ni(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(rt)).forEach(s=>{(typeof s=="string"&&typeof t=="string"?[t]:Object.keys(rt[s]||{})).forEach(i=>{const c=J(s,i);n=n.concat(Object.keys(c.icons).map(l=>(s!==""?"@"+s+":":"")+i+":"+l))})}),n}let en=!1;function Ui(e){return en}function Re(e){const t=typeof e=="string"?ye(e,!0,en):e;if(t){const n=J(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zi(e,t){const n=ye(e,!0,en);if(!n)return!1;const r=J(n.provider,n.prefix);return Oi(r,n.name,t)}function jr(e,t){if(typeof e!="object")return!1;typeof t!="string"&&(t=e.provider||"");const n=e.prefix;if(!Qe({provider:t,prefix:n,name:"a"}))return!1;const r=J(t,n);return!!Yt(r,e)}function Bi(e){return!!Re(e)}function Hi(e){const t=Re(e);return t?{...Pe,...t}:null}const Sr=Object.freeze({width:null,height:null}),_r=Object.freeze({...Sr,...nt}),Fi=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Vi=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function vt(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Fi);if(r===null||!r.length)return e;const s=[];let a=r.shift(),i=Vi.test(a);for(;;){if(i){const c=parseFloat(a);isNaN(c)?s.push(a):s.push(Math.ceil(c*t*n)/n)}else s.push(a);if(a=r.shift(),a===void 0)return s.join("");i=!i}}const qi=e=>e==="unset"||e==="undefined"||e==="none";function ct(e,t){const n={...Pe,...e},r={..._r,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(g=>{const h=[],j=g.hFlip,m=g.vFlip;let C=g.rotate;j?m?C+=2:(h.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),h.push("scale(-1 1)"),s.top=s.left=0):m&&(h.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),h.push("scale(1 -1)"),s.top=s.left=0);let b;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:b=s.height/2+s.top,h.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:h.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,h.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}C%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),h.length&&(a='<g transform="'+h.join(" ")+'">'+a+"</g>")});const i=r.width,c=r.height,l=s.width,u=s.height;let d,p;i===null?(p=c===null?"1em":c==="auto"?u:c,d=vt(p,l/u)):(d=i==="auto"?l:i,p=c===null?vt(d,u/l):c==="auto"?u:c);const f={},y=(g,h)=>{qi(h)||(f[g]=h.toString())};return y("width",d),y("height",p),f.viewBox=s.left.toString()+" "+s.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:f,body:a}}const Wi=/\sid="(\S+)"/g,Gi="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ki=0;function Cr(e,t=Gi){const n=[];let r;for(;r=Wi.exec(e);)n.push(r[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(a=>{const i=typeof t=="function"?t(a):t+(Ki++).toString(),c=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const le={local:!0,session:!0},Ir={local:new Set,session:new Set};let tn=!1;function Qi(e){tn=e}const Ln="iconify2",Ee="iconify",kr=Ee+"-count",Dn=Ee+"-version",Tr=36e5,Zi=168;function yt(e,t){try{return e.getItem(t)}catch{}}function nn(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Pn(e,t){try{e.removeItem(t)}catch{}}function bt(e,t){return nn(e,kr,t.toString())}function wt(e){return parseInt(yt(e,kr))||0}let Ve=typeof window>"u"?{}:window;function Er(e){const t=e+"Storage";try{if(Ve&&Ve[t]&&typeof Ve[t].length=="number")return Ve[t]}catch{}le[e]=!1}function Lr(e,t){const n=Er(e);if(!n)return;const r=yt(n,Dn);if(r!==Ln){if(r){const c=wt(n);for(let l=0;l<c;l++)Pn(n,Ee+l.toString())}nn(n,Dn,Ln),bt(n,0);return}const s=Math.floor(Date.now()/Tr)-Zi,a=c=>{const l=Ee+c.toString(),u=yt(n,l);if(typeof u=="string"){try{const d=JSON.parse(u);if(typeof d=="object"&&typeof d.cached=="number"&&d.cached>s&&typeof d.provider=="string"&&typeof d.data=="object"&&typeof d.data.prefix=="string"&&t(d,c))return!0}catch{}Pn(n,l)}};let i=wt(n);for(let c=i-1;c>=0;c--)a(c)||(c===i-1?(i--,bt(n,i)):Ir[e].add(c))}function Dr(){if(!tn){Qi(!0);for(const e in le)Lr(e,t=>{const n=t.data,r=t.provider,s=n.prefix,a=J(r,s);if(!Yt(a,n).length)return!1;const i=n.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function Pr(e,t){switch(e){case"local":case"session":le[e]=t;break;case"all":for(const n in le)le[n]=t;break}}const jt=Object.create(null);function Rr(e,t){jt[e]=t}function St(e){return jt[e]||jt[""]}function rn(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const lt=Object.create(null),we=["https://api.simplesvg.com","https://api.unisvg.com"],Ze=[];for(;we.length>0;)we.length===1||Math.random()>.5?Ze.push(we.shift()):Ze.push(we.pop());lt[""]=rn({resources:["https://api.iconify.design"].concat(Ze)});function Ar(e,t){const n=rn(t);return n===null?!1:(lt[e]=n,!0)}function ut(e){return lt[e]}function Xi(){return Object.keys(lt)}const Ji=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let st=Ji();function Yi(e){st=e}function ea(){return st}function ta(e,t){const n=ut(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const a=t+".json?icons=";r=n.maxURL-s-n.path.length-a.length}return r}function na(e){return e===404}const ra=(e,t,n)=>{const r=[],s=ta(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,u)=>{c+=l.length+1,c>=s&&u>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},c=l.length),i.icons.push(l)}),r.push(i),r};function sa(e){if(typeof e=="string"){const t=ut(e);if(t)return t.path}return"/"}const oa=(e,t,n)=>{if(!st){n("abort",424);return}let r=sa(t.provider);switch(t.type){case"icons":{const a=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=a+".json?"+l.toString();break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:n("abort",400);return}let s=503;st(e+r).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{n(na(i)?"abort":"next",i)});return}return s=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?n("abort",a):n("next",s)});return}setTimeout(()=>{n("success",a)})}).catch(()=>{n("next",s)})},ia={prepare:ra,send:oa};function aa(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,a)=>s.provider!==a.provider?s.provider.localeCompare(a.provider):s.prefix!==a.prefix?s.prefix.localeCompare(a.prefix):s.name.localeCompare(a.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const a=s.provider,i=s.prefix,c=s.name,l=n[a]||(n[a]=Object.create(null)),u=l[i]||(l[i]=J(a,i));let d;c in u.icons?d=t.loaded:i===""||u.missing.has(c)?d=t.missing:d=t.pending;const p={provider:a,prefix:i,name:c};d.push(p)}),t}function Mr(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function ca(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(a=>{const i=a.icons,c=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==s)return!0;const u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:s,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:s,name:u});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||Mr([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let la=0;function ua(e,t,n){const r=la++,s=Mr.bind(null,n,r);if(!t.pending.length)return s;const a={id:r,icons:t,callback:e,abort:s};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),s}function da(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const a=typeof s=="string"?ye(s,t,n):s;a&&r.push(a)}),r}var fa={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pa(e,t,n,r){const s=e.resources.length,a=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const T=Math.floor(Math.random()*_.length);i.push(_[T]),_=_.slice(0,T).concat(_.slice(T+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const c=Date.now();let l="pending",u=0,d,p=null,f=[],y=[];typeof r=="function"&&y.push(r);function g(){p&&(clearTimeout(p),p=null)}function h(){l==="pending"&&(l="aborted"),g(),f.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),f=[]}function j(_,T){T&&(y=[]),typeof _=="function"&&y.push(_)}function m(){return{startTime:c,payload:t,status:l,queriesSent:u,queriesPending:f.length,subscribe:j,abort:h}}function C(){l="failed",y.forEach(_=>{_(void 0,d)})}function b(){f.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),f=[]}function L(_,T,I){const E=T!=="success";switch(f=f.filter(k=>k!==_),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(T==="abort"){d=I,C();return}if(E){d=I,f.length||(i.length?D():C());return}if(g(),b(),!e.random){const k=e.resources.indexOf(_.resource);k!==-1&&k!==e.index&&(e.index=k)}l="completed",y.forEach(k=>{k(I)})}function D(){if(l!=="pending")return;g();const _=i.shift();if(_===void 0){if(f.length){p=setTimeout(()=>{g(),l==="pending"&&(b(),C())},e.timeout);return}C();return}const T={status:"pending",resource:_,callback:(I,E)=>{L(T,I,E)}};f.push(T),u++,p=setTimeout(D,e.rotate),n(_,t,T.callback)}return setTimeout(D),m}function $r(e){const t={...fa,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function s(c,l,u){const d=pa(t,c,l,(p,f)=>{r(),u&&u(p,f)});return n.push(d),d}function a(c){return n.find(l=>c(l))||null}return{query:s,find:a,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function Rn(){}const ht=Object.create(null);function ma(e){if(!ht[e]){const t=ut(e);if(!t)return;const n=$r(t),r={config:t,redundancy:n};ht[e]=r}return ht[e]}function Or(e,t,n){let r,s;if(typeof e=="string"){const a=St(e);if(!a)return n(void 0,424),Rn;s=a.send;const i=ma(e);i&&(r=i.redundancy)}else{const a=rn(e);if(a){r=$r(a);const i=e.resources?e.resources[0]:"",c=St(i);c&&(s=c.send)}}return!r||!s?(n(void 0,424),Rn):r.query(t,s,n)().abort}function ha(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in le)Lr(r,s=>{const a=s.data;return s.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function ga(e,t){tn||Dr();function n(r){let s;if(!le[r]||!(s=Er(r)))return;const a=Ir[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=wt(s),!bt(s,i+1))return;const c={cached:Math.floor(Date.now()/Tr),provider:e.provider,data:t};return nn(s,Ee+i.toString(),JSON.stringify(c))}t.lastModified&&!ha(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function An(){}function xa(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ca(e)}))}function va(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;delete e.iconsToLoad;let a;if(!s||!(a=St(n)))return;a.prepare(n,r,s).forEach(c=>{Or(n,c,l=>{if(typeof l!="object")c.icons.forEach(u=>{e.missing.add(u)});else try{const u=Yt(e,l);if(!u.length)return;const d=e.pendingIcons;d&&u.forEach(p=>{d.delete(p)}),ga(e,l)}catch(u){console.error(u)}xa(e)})})}))}const ya=e=>{const n=J(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},sn=(e,t)=>{const n=da(e,!0,Ui()),r=aa(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,An)}),()=>{l=!1}}const s=Object.create(null),a=[];let i,c;return r.pending.forEach(l=>{const{provider:u,prefix:d}=l;if(d===c&&u===i)return;i=u,c=d,a.push(J(u,d));const p=s[u]||(s[u]=Object.create(null));p[d]||(p[d]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:d,name:p}=l,f=J(u,d),y=f.pendingIcons||(f.pendingIcons=new Set);y.has(p)||(y.add(p),s[u][d].push(p))}),a.forEach(l=>{const{provider:u,prefix:d}=l;s[u][d].length&&va(l,s[u][d])}),t?ua(t,r,a):An},ba=e=>new Promise((t,n)=>{const r=typeof e=="string"?ye(e,!0):e;if(!r){n(e);return}sn([r||e],s=>{if(s.length&&r){const a=Re(r);if(a){t({...Pe,...a});return}}n(e)})});function Nr(e,t){const n={...e};for(const r in t){const s=t[r],a=typeof s;r in Sr?(s===null||s&&(a==="string"||a==="number"))&&(n[r]=s):a===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const dt={..._r,inline:!1},gt="iconify",_t="iconify-inline",se="iconifyData"+Date.now();let de=[];function Ae(e){for(let t=0;t<de.length;t++){const n=de[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function Ur(e,t=!1){let n=Ae(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},de.push(n),n)}function wa(){if(document.documentElement)return Ur(document.documentElement);de.push({node:()=>document.documentElement})}function ja(e){de=de.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function Me(){return de}function Sa(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let Ce=null;const _a={childList:!0,subtree:!0,attributes:!0};function zr(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,Ce&&Ce(e)}))}function Ca(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r<t.length;r++){const s=t[r];if(s.addedNodes&&s.addedNodes.length>0||s.type==="attributes"&&s.target[se]!==void 0){n.paused||zr(e);return}}}function Br(e,t){e.observer.instance.observe(t,_a)}function ot(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||!window||(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver(Ca.bind(null,e)),Br(e,n),t.paused||zr(e))}function Mn(){Me().forEach(ot)}function Hr(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Ia(e){const t=Ce!==null;if(Ce!==e&&(Ce=e,t&&Me().forEach(Hr)),t){Mn();return}Sa(Mn)}function Ct(e){(e?[e]:Me()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function ka(e){if(e){const t=Ae(e);t&&Ct(t)}else Ct()}function It(e){(e?[e]:Me()).forEach(t=>{if(!t.observer){ot(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(r)n.instance?Br(t,r):ot(t);else return}})}function Ta(e){if(e){const t=Ae(e);t&&It(t)}else It()}function Fr(e,t=!1){const n=Ur(e,t);return ot(n),n}function Vr(e){const t=Ae(e);t&&(Hr(t),ja(e))}function Ea(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,r=t.customisations;for(const s in dt)if(n[s]!==r[s])return!0;return!1}function La(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/s,a%1===0?r(a):0)}}return t}const Da=/[\s,]+/;function Pa(e,t){t.split(Da).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Ra=["width","height"],Aa=["inline","hFlip","vFlip"];function Ma(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function $a(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&ye(t,!0);if(!n)return null;const r={...dt,inline:e.classList&&e.classList.contains(_t)};Ra.forEach(c=>{const l=e.getAttribute("data-"+c);l&&(r[c]=l)});const s=e.getAttribute("data-rotate");typeof s=="string"&&(r.rotate=La(s));const a=e.getAttribute("data-flip");typeof a=="string"&&Pa(r,a),Aa.forEach(c=>{const l="data-"+c,u=Ma(e.getAttribute(l),l);typeof u=="boolean"&&(r[c]=u)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:r,mode:i}}const Oa="svg."+gt+", i."+gt+", span."+gt+", i."+_t+", span."+_t;function Na(e){const t=[];return e.querySelectorAll(Oa).forEach(n=>{const r=n[se]||n.tagName.toLowerCase()!=="svg"?$a(n):null;r&&t.push({node:n,props:r})}),t}function qr(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let Ie;function Ua(){try{Ie=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Ie=null}}function za(e){return Ie===void 0&&Ua(),Ie?Ie.createHTML(e):e}function Wr(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function Gr(e,t,n,r){const s=e.classList;if(r){const i=r.classList;Array.from(i).forEach(c=>{s.add(c)})}const a=[];return t.forEach(i=>{s.contains(i)?n.has(i)&&a.push(i):(s.add(i),a.push(i))}),n.forEach(i=>{t.has(i)||s.remove(i)}),a}function Kr(e,t,n){const r=e.style;(n||[]).forEach(a=>{r.removeProperty(a)});const s=[];for(const a in t)r.getPropertyValue(a)||(s.push(a),r.setProperty(a,t[a]));return s}function Qr(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const s=t.customisations,a=ct(n,s),i=e[se],c=qr(Cr(a.body),{"aria-hidden":"true",role:"img",...a.attributes});r.innerHTML=za(c);const l=r.childNodes[0],u=e.attributes;for(let g=0;g<u.length;g++){const h=u.item(g),j=h.name;j!=="class"&&!l.hasAttribute(j)&&l.setAttribute(j,h.value)}const d=Wr(t.icon),p=Gr(l,d,new Set(i&&i.addedClasses),e),f=Kr(l,s.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),y={...t,status:"loaded",addedClasses:p,addedStyles:f};return l[se]=y,e.parentNode&&e.parentNode.replaceChild(l,e),l}function Ba(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ha(e){return"data:image/svg+xml,"+Ba(e)}function Fa(e){return'url("'+Ha(e)+'")'}const Va={display:"inline-block"},kt={"background-color":"currentColor"},Zr={"background-color":"transparent"},$n={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},On={"-webkit-mask":kt,mask:kt,background:Zr};for(const e in On){const t=On[e];for(const n in $n)t[e+"-"+n]=$n[n]}function Nn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function qa(e,t,n,r){const s=t.customisations,a=ct(n,s),i=a.attributes,c=e[se],l=qr(a.body,{...i,width:n.width+"",height:n.height+""}),u=Wr(t.icon),d=Gr(e,u,new Set(c&&c.addedClasses)),f={"--svg":Fa(l),width:Nn(i.width),height:Nn(i.height),...Va,...r?kt:Zr};s.inline&&(f["vertical-align"]="-0.125em");const y=Kr(e,f,c&&c.addedStyles),g={...t,status:"loaded",addedClasses:d,addedStyles:y};return e[se]=g,e}let qe=!1;function Wa(){qe||(qe=!0,setTimeout(()=>{qe&&(qe=!1,xe())}))}function xe(e,t=!1){const n=Object.create(null);function r(s,a){const{provider:i,prefix:c,name:l}=s,u=J(i,c),d=u.icons[l];if(d)return{status:"loaded",icon:d};if(u.missing.has(l))return{status:"missing"};if(a&&!ya(s)){const p=n[i]||(n[i]=Object.create(null));(p[c]||(p[c]=new Set)).add(l)}return{status:"loading"}}(e?[e]:Me()).forEach(s=>{const a=typeof s.node=="function"?s.node():s.node;if(!a||!a.querySelectorAll)return;let i=!1,c=!1;function l(u,d,p){if(c||(c=!0,Ct(s)),u.tagName.toUpperCase()!=="SVG"){const f=d.mode,y=f==="mask"||(f==="bg"?!1:f==="style"?p.body.indexOf("currentColor")!==-1:null);if(typeof y=="boolean"){qa(u,d,{...Pe,...p},y);return}}Qr(u,d,p)}Na(a).forEach(({node:u,props:d})=>{const p=u[se];if(!p){const{status:y,icon:g}=r(d.icon,!0);if(g){l(u,d,g);return}i=i||y==="loading",u[se]={...d,status:y};return}let f;if(Ea(p,d)){if(f=r(d.icon,p.name!==d.name),!f.icon){i=i||f.status==="loading",Object.assign(p,{...d,status:f.status});return}}else{if(p.status!=="loading")return;if(f=r(d.icon,!1),!f.icon){p.status=f.status;return}}l(u,d,f.icon)}),s.temporary&&!i?Vr(a):t&&i?Fr(a,!0):c&&s.observer&&It(s)});for(const s in n){const a=n[s];for(const i in a){const c=a[i];sn(Array.from(c).map(l=>({provider:s,prefix:i,name:l})),Wa)}}}function Ga(e){const t=Ae(e);t?xe(t):xe({node:e,temporary:!0},!0)}function Xr(e,t,n=!1){const r=Re(e);if(!r)return null;const s=ye(e),a=Nr(dt,t||{}),i=Qr(document.createElement("span"),{name:e,icon:s,customisations:a},r);return n?i.outerHTML:i}function Ka(){return"3.1.1"}function Qa(e,t){return Xr(e,t,!1)}function Za(e,t){return Xr(e,t,!0)}function Xa(e,t){const n=Re(e);if(!n)return null;const r=Nr(dt,t||{});return ct(n,r)}function Ja(e){e?Ga(e):xe()}if(typeof document<"u"&&typeof window<"u"){wa();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!jr(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{Ia(xe),xe()})}function Ya(e,t){Pr(e,t!==!1)}function ec(e){Pr(e,!0)}Rr("",ia);if(typeof document<"u"&&typeof window<"u"){Dr();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;Ar(n,s)||console.error(r)}catch{console.error(r)}}}}const tc={getAPIConfig:ut,setAPIModule:Rr,sendAPIQuery:Or,setFetch:Yi,getFetch:ea,listAPIProviders:Xi},nc={_api:tc,addAPIProvider:Ar,loadIcons:sn,loadIcon:ba,iconExists:Bi,getIcon:Hi,listIcons:Ni,addIcon:zi,addCollection:jr,replaceIDs:Cr,calculateSize:vt,buildIcon:ct,getVersion:Ka,renderSVG:Qa,renderHTML:Za,renderIcon:Xa,scan:Ja,observe:Fr,stopObserving:Vr,pauseObserver:ka,resumeObserver:Ta,enableCache:Ya,disableCache:ec};try{self.Iconify===void 0&&(self.Iconify=nc)}catch{}var on={},rc=F;Object.defineProperty(on,"__esModule",{value:!0});var Jr=on.default=void 0,sc=rc(H()),oc=o;Jr=on.default=(0,sc.default)((0,oc.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline");function an({infos:e}){const{t}=Y(),n=new URL("https://community.arcblock.io/discussions/add");e.forEach(s=>{n.searchParams.set(s.label,s.value)});const r=e.map(s=>`* ${s.label}: ${s.value}`).join(`
|
|
176
|
+
`);return n.searchParams.set("report","server"),n.searchParams.set("context",`[Enter feedback here]
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<!--
|
|
181
|
+
[Server Info]
|
|
182
|
+
${r}
|
|
183
|
+
* Page: ${window.location.href}
|
|
184
|
+
-->
|
|
185
|
+
`),R(S,{sx:{mx:{xs:0,md:2}},children:R(Se,{sx:{color:"text.primary"},target:"_blank",href:n.href,rel:"noreferrer",style:{textDecoration:"underline"},children:t("common.reportIssue")})})}an.propTypes={infos:v.arrayOf(v.shape({label:v.string,value:v.string}))};an.defaultProps={infos:[]};var ic={year:{long:"year",short:"y"},day:{long:"day",short:"d"},hour:{long:"hour",short:"h"},minute:{long:"minute",short:"m"},second:{long:"second",short:"s"},millisecond:{long:"millisecond",short:"ms"},microsecond:{long:"microsecond",short:"µs"},nanosecond:{long:"nanosecond",short:"ns"}},ac={year:{long:"年",short:"年"},day:{long:"天",short:"天"},hour:{long:"小时",short:"小时"},minute:{long:"分钟",short:"分"},second:{long:"秒钟",short:"秒"},millisecond:{long:"毫秒",short:"毫秒"},microsecond:{long:"微秒",short:"微秒"},nanosecond:{long:"纳秒",short:"纳秒"}};const Tt=new Map,cc=(e,t)=>{Tt.set(e,t)},lc=(e="en_US")=>Tt.get(e)||Tt.get("en_US");var Yr={registerLang:cc,getLang:lc},uc=e=>{if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}};const dc=uc,{getLang:je}=Yr,fc=(e,t)=>t===1?e:`${e}s`,pc=1e-7;var mc=(e,t={})=>{if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=je(t.locale),r=[],s=(c,l)=>{const u=Math.floor(c*10**l+pc);return(Math.round(u)/10**l).toFixed(l)},a=(c,l,u)=>{if((r.length===0||!t.colonNotation)&&c===0&&!(t.colonNotation&&l==="minute"))return;const{long:d}=n[l]||je("en_US")[l],{short:p}=n[l]||je("en_US")[l];let f=(u||c||"0").toString(),y,g;if(t.colonNotation){y=r.length>0?":":"",g="";const h=f.includes(".")?f.split(".")[0].length:f.length,j=r.length>0?2:1;f="0".repeat(Math.max(0,j-h))+f}else y="",t.locale==="zh_CN"?Object.values(i).filter(h=>h>0).length>1?!i.days&&!i.hours&&i.minutes&&t.compact?g=d:g=p:i.minutes?g=d:g=p:g=t.verbose?` ${fc(d,c)}`:p;r.push(y+f+g)},i=dc(e);if(a(Math.trunc(i.days/365),"year"),a(i.days%365,"day"),a(i.hours,"hour"),a(i.minutes,"minute"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(a(i.seconds,"second"),t.formatSubMilliseconds)a(i.milliseconds,"millisecond"),a(i.microseconds,"microsecond"),a(i.nanoseconds,"nanosecond");else{const c=i.milliseconds+i.microseconds/1e3+i.nanoseconds/1e6,l=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,u=c>=1?Math.round(c):Math.ceil(c),d=l?c.toFixed(l):u;a(Number.parseFloat(d,10),"millisecond",d)}else{const c=e/1e3%60,l=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,u=s(c,l),d=t.keepDecimalsOnWholeSeconds?u:u.replace(/\.0+$/,"");a(Number.parseFloat(d,10),"second",d)}if(r.length===0){const c=(n.millisecond||je("en_US").millisecond).long,l=(n.millisecond||je("en_US").millisecond).short;return t.locale==="zh_CN"?`0${t.verbose?`${c}`:l}`:`0${t.verbose?` ${c}s`:l}`}if(t.compact)return r[0];if(typeof t.unitCount=="number"){const c=t.colonNotation?"":" ";return r.slice(0,Math.max(t.unitCount,1)).join(c)}return t.colonNotation?r.join(""):r.join(" ")};const hc=ic,gc=ac,{registerLang:cn}=Yr,es=mc;cn("en_US",hc);cn("zh_CN",gc);es.registerLang=cn;var xc=es;const ts=Bs(xc);var ln={},vc=F;Object.defineProperty(ln,"__esModule",{value:!0});var Et=ln.default=void 0,yc=vc(H()),Un=o;Et=ln.default=(0,yc.default)([(0,Un.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,Un.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime");function ne({children:e}){return X(n=>n.breakpoints.down("md"))?o.jsx(ke,{enterDelay:500,leaveDelay:2e3,title:typeof e=="string"?e:"",children:o.jsx(S,{sx:{display:"flex",alignItems:"center",gap:1},children:o.jsx(Et,{fontSize:"small"})})}):o.jsxs(S,{sx:{display:"flex",alignItems:"center",gap:1},children:[o.jsx(Et,{fontSize:"small"}),e]})}ne.propTypes={children:v.node.isRequired};const bc="https://launcher.arcblock.io/",wc=30*24*60*60*1e3;function un({launcherUrl:e,chainHost:t,nftId:n,launcherSessionId:r,...s}){var _,T,I,E,k,V;const{t:a,locale:i}=Y(),c=at(),[l,u]=tr({safeIframeRef:null,popoverAnchorEl:null}),d=x.useRef(null),p=ee(),f=X(M=>M.breakpoints.down("md")),{sx:y={},...g}=s,h=f?"mobile":"desktop",j=er(async()=>{const[M,U]=await Promise.all([c.api.getLauncherSession({input:{launcherSessionId:r,launcherUrl:e}}),Qn({launcherUrl:e||bc,nftDid:n,launcherSessionId:r,locale:i,theme:p.palette.mode})]);if(M!=null&&M.error)throw new Error(M.error);return{launcherSession:M.launcherSession,subscriptionURL:U}},[i]);if(j.loading)return o.jsx(ae,{label:o.jsxs(ne,{children:[!f&&a("expiration.desktop.loading"),o.jsx(re,{size:16})]}),variant:"success",sx:{cursor:"pointer",...y},...g});if(j.error)return console.error(j.error),o.jsx(ae,{label:o.jsx(ne,{children:a(`expiration.${h}.loadFailed`)}),color:"error",variant:"success",sx:{cursor:"pointer",...y},...g,onClick:()=>j.retry()});const m=M=>{u({popoverAnchorEl:M.currentTarget})},C=()=>{u({popoverAnchorEl:null})},b=(_=j.value)==null?void 0:_.launcherSession;let L="success";[O.LAUNCH_SESSION_STATUS.overdue,O.LAUNCH_SESSION_STATUS.canceled,O.LAUNCH_SESSION_STATUS.terminated].includes((I=(T=j.value)==null?void 0:T.launcherSession)==null?void 0:I.status)&&(L="error");let D=null;if(b.expirationDate&&!b.subscription){const M=me(b.expirationDate).diff(me(),"ms");D=a(`expiration.${h}.tips.${L}`,{validity:ts(M,{locale:Zn(i),compact:!0,verbose:!0})}),M>0&&M<=wc&&(L="warning")}return o.jsxs(o.Fragment,{children:[o.jsx(ae,{label:o.jsx(ne,{children:D||((k=(E=b==null?void 0:b.subscription)==null?void 0:E.product)==null?void 0:k.name)||a("common.subscription")}),color:L,variant:L!=="success"?"contained":"outlined",sx:{cursor:"pointer",...y},...g,onClick:m}),o.jsx(Wn,{id:"popover-info",open:!!l.popoverAnchorEl,anchorEl:l.popoverAnchorEl,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},sx:{"& .MuiPopover-paper":{minHeight:0}},transformOrigin:{vertical:"top",horizontal:"right"},children:o.jsx(S,{sx:{width:{xs:"360px",md:"450px"},display:"flex",flexDirection:"column"},children:o.jsx("iframe",{ref:d,title:a("common.subscription"),width:"100%",height:"600px",style:{border:0,maxHeight:"800px"},src:(V=j.value)==null?void 0:V.subscriptionURL})})})]})}un.propTypes={chainHost:v.string.isRequired,nftId:v.string,launcherSessionId:v.string,sx:v.object,retention:v.number,launcherUrl:v.string.isRequired};un.defaultProps={sx:{},retention:0,nftId:"",launcherSessionId:""};const jc=30*24*60*60*1e3,Sc="https://launcher.arcblock.io/";function dn({launcherUrl:e,chainHost:t,nftId:n,launcherSessionId:r,...s}){var _,T,I,E,k,V,M;const{t:a,locale:i}=Y(),[c,l]=tr({safeIframeRef:null,popoverAnchorEl:null}),u=x.useRef(null),d=X(U=>U.breakpoints.down("md")),p=at(),{sx:f={},...y}=s,g=d?"mobile":"desktop",h=er(async()=>{const[U,$e]=await Promise.all([p.api.getLauncherSession({input:{launcherSessionId:r||n,launcherUrl:e}}),Qn({launcherUrl:e||Sc,nftDid:n,launcherSessionId:r,locale:i})]);if(U!=null&&U.error)throw new Error(U.error);return{launcherSession:U.launcherSession,subscriptionURL:$e}},[i]);if(h.loading)return o.jsx(ae,{label:o.jsxs(ne,{children:[!d&&a("expiration.desktop.loading"),o.jsx(re,{size:16})]}),variant:"success",sx:{cursor:"pointer",...f},...y});if(h.error)return console.error(h.error),o.jsx(ae,{label:o.jsx(ne,{children:a(`expiration.${g}.loadFailed`)}),color:"error",variant:"success",sx:{cursor:"pointer",...f},...y,onClick:()=>h.retry()});const j=(T=(_=h.value)==null?void 0:_.launcherSession)==null?void 0:T.expirationDate,m=me(j).isBefore(me()),C=me(j).diff(me(),"ms");let b="success";C<=jc&&(b="warning"),m&&(b="error");const L=U=>{l({popoverAnchorEl:U.currentTarget})},D=()=>{l({popoverAnchorEl:null})};return o.jsxs(o.Fragment,{children:[((E=(I=h.value)==null?void 0:I.launcherSession)==null?void 0:E.subscription)&&o.jsx(ae,{label:o.jsx(ne,{children:a("expiration.desktop.nextInvoice",{date:Ks(j,i)})}),color:"success",variant:"outlined",sx:{cursor:"pointer",...f},...y,onClick:L}),!((V=(k=h.value)==null?void 0:k.launcherSession)!=null&&V.subscription)&&o.jsx(ae,{label:o.jsx(ne,{children:a(`expiration.${g}.tips.${b}`,{validity:ts(C,{locale:Zn(i),compact:!0,verbose:!0})})}),color:b,variant:b!=="success"?"contained":"outlined",sx:{cursor:"pointer",...f},...y,onClick:L}),o.jsx(Wn,{id:"popover-info",open:!!c.popoverAnchorEl,anchorEl:c.popoverAnchorEl,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:o.jsx(S,{sx:{width:{xs:"360px",md:"450px"}},children:o.jsx("iframe",{ref:u,title:a("common.subscription"),width:"100%",height:"600px",style:{border:0},src:(M=h.value)==null?void 0:M.subscriptionURL})})})]})}dn.propTypes={chainHost:v.string.isRequired,nftId:v.string,launcherSessionId:v.string,sx:v.object,retention:v.number,launcherUrl:v.string.isRequired};dn.defaultProps={sx:{},retention:0,nftId:"",launcherSessionId:""};var fn={},_c=F;Object.defineProperty(fn,"__esModule",{value:!0});var ns=fn.default=void 0,Cc=_c(H()),Ic=o;ns=fn.default=(0,Cc.default)((0,Ic.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen");var pn={},kc=F;Object.defineProperty(pn,"__esModule",{value:!0});var rs=pn.default=void 0,Tc=kc(H()),Ec=o;rs=pn.default=(0,Tc.default)((0,Ec.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit");const Lc={width:24,height:24,body:'<path fill="currentColor" d="M6.4 18L5 16.6L14.6 7H6V5h12v12h-2V8.4L6.4 18Z"/>'};function mn({children:e,style:t,...n}){return o.jsx(bs,{style:t,...n,children:e})}mn.propTypes={children:v.any.isRequired,style:v.object};mn.defaultProps={style:{}};const $={yellow:"#FFCF71",grey:"#aaaaaa",reverse:"#444",success:"#3ab39d",running:"#34BE74",error:"#D0021B",primary:"#1DC1C7"},Xe={added:$.grey,waiting:$.yellow,downloading:$.yellow,extracting:$.yellow,downloaded:$.grey,installing:$.yellow,installed:$.grey,starting:$.yellow,running:$.running,stopping:$.yellow,stopped:$.reverse,error:$.error,upgrading:$.yellow,restarting:$.yellow,corrupted:$.error,deleting:$.yellow,resource:$.primary},Dc={added:"primary",waiting:"info",downloading:"info",extracting:"info",downloaded:"primary",installing:"info",installed:"primary",starting:"info",running:"success",stopping:"warning",stopped:"reverse",error:"error",upgrading:"info",restarting:"info",corrupted:"error",deleting:"warning",resource:"primary"};function ss({isResource:e,status:t,variant:n,source:r,progress:s,...a}){const{t:i}=x.useContext(Lt),c=N.isInProgress(t),l=e&&t==="stopped"?"resource":t,u=i(`blocklet.status.${l}`);return n==="pin"?o.jsx(ke,{title:i("blocklet.statusTip",{status:u}),children:o.jsxs(S,{position:"relative",minHeight:14,minWidth:14,display:"flex",alignItems:"center",justifyContent:"center",...a,children:[o.jsx(S,{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:Xe[l],style:{opacity:.15}}),o.jsx(S,{position:"absolute",width:"55%",height:"55%",borderRadius:"50%",bgcolor:Xe[l]})]})}):n==="dot"?o.jsx(ke,{title:i("blocklet.statusTip",{status:u}),children:o.jsx(To,{color:Xe[l],...a})}):o.jsxs(mn,{type:Dc[l],...a,children:[c&&o.jsx(re,{size:12,color:"inherit",style:{marginRight:5}}),u,l==="downloading"&&s?o.jsx("div",{style:{marginLeft:5},children:`${s} %`}):null]})}ss.propTypes={status:v.string.isRequired,variant:v.oneOf(["dot","tag","pin"]),source:v.string,progress:v.number,isResource:v.bool};ss.defaultProps={isResource:!1,variant:"tag",source:"",progress:0};function Pc(){const{inFullPage:e,toggleFullPage:t}=xo();return R(Rt,{onClick:t,children:e?R(rs,{sx:{transform:"scale(1.3)"}}):R(ns,{sx:{transform:"scale(1.3)"}})})}function hn({children:e}){var j;const{t}=Y(),{loading:n,error:r,actions:{refreshBlocklet:s},env:a,blocklet:i}=ve(),{info:c}=Qs(),l=Hs(),u=X(m=>m.breakpoints.down("md")),{appId:d,version:p}=a,f=[{label:"App ID",value:d},{label:"App Version",value:p},{label:"App Bundle Name",value:(j=i==null?void 0:i.meta)==null?void 0:j.bundleName},{label:"Server Id",value:c.did},{label:"Server Version",value:c.version}],y=m=>{var b,L,D,_;const C=Array.isArray(m)?m:[m];if(u||C.unshift(R(Pc,{})),i){const T={cursor:"pointer",marginRight:{xs:"8px",md:"48px"}};Zs(i)?C.unshift(R(un,{chainHost:(b=i==null?void 0:i.controller)==null?void 0:b.chainHost,nftId:(L=i==null?void 0:i.controller)==null?void 0:L.nftId,launcherSessionId:(D=i==null?void 0:i.controller)==null?void 0:D.launcherSessionId,launcherUrl:(_=i==null?void 0:i.controller)==null?void 0:_.launcherUrl,sx:T})):c.ownerNft&&c.launcher&&C.unshift(R(dn,{chainHost:c.launcher.chainHost,launcherUrl:c.launcher.url,nftId:c.ownerNft.did,launcherSessionId:c.ownerNft.launcherSessionId,sx:T}))}return C},g=Io({blocklet:i}),h={logo:g?R("img",{src:g,alt:"logo"}):null,brandAddon:R(S,{children:i&&Fe(S,{component:"a",target:"_blank",href:window.blocklet.appUrl,rel:"noopener noreferrer",title:window.blocklet.appName,display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,sx:{py:1,px:2,border:"1px solid",borderColor:"text.disabled",borderRadius:"30px",cursor:"pointer"},children:[R(ke,{title:N.isRunning(i==null?void 0:i.status)?void 0:t(`blocklet.status.${i==null?void 0:i.status}`),children:R(S,{sx:{width:8,height:8,borderRadius:"50%"},bgcolor:Xe[i==null?void 0:i.status]})}),R(S,{sx:{lineHeight:1,color:"text.secondary",maxWidth:u?66:240,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:N.getDisplayName(i)}),R(S,{component:ws,icon:Lc,sx:{color:"text.secondary"}})]})})};return Fe(Rc,{legacy:!1,fullWidth:!0,headerAddons:y,headerProps:h,footerProps:{addon:R(an,{infos:f})},children:[!i&&n&&R(Je,{relative:"parent",children:R(re,{})}),!i&&r&&Fe(Je,{relative:"parent",children:[Fe(S,{display:"flex",alignItems:"center",children:[R(Jr,{color:"error",sx:{marginRight:1}}),Mt(r)]}),R(Dt,{onClick:()=>s(),children:R("span",{style:{textDecoration:"underline"},children:t("common.retry")})})]}),!!i&&R(S,{flex:1,padding:u?2:3,display:"flex",flexDirection:"column",children:R(js,{FallbackComponent:go,resetKeys:[l.pathname],children:e})})]})}hn.propTypes={children:v.any};hn.defaultProps={children:null};const Rc=K(ho)`
|
|
186
|
+
div.dashboard-content {
|
|
187
|
+
padding: 0;
|
|
188
|
+
}
|
|
189
|
+
.header-addons .locales {
|
|
190
|
+
max-height: 400px;
|
|
191
|
+
overflow-y: auto;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.header-brand-addon {
|
|
195
|
+
display: block;
|
|
196
|
+
}
|
|
197
|
+
`;function Ac(){var m,C;const{t:e,locale:t}=Y(),{blocklet:n,launcherSession:r,refreshSubscription:s}=ve(),{connectApi:a,session:i,api:c}=Xs(),[l,u]=x.useState(!1),[d,p]=x.useState(""),[f,y]=wo({subscriptionURL:"#"});if(x.useEffect(()=>{var b,L;(bn(n,r)||wn(r))&&Js({launcherSessionId:(b=n==null?void 0:n.controller)==null?void 0:b.launcherSessionId,launcherUrl:(L=n==null?void 0:n.controller)==null?void 0:L.launcherUrl,locale:t}).then(D=>{y({subscriptionURL:D})}).catch(D=>{console.error("get subscription url error:",D)})},[n,r]),x.useEffect(()=>{var b;if((b=n.controller)!=null&&b.launcherUrl){const L=he(n.controller.launcherUrl,"__blocklet__.js?type=json");fetch(L).then(D=>D.json()).then(D=>{var I,E;const _=(E=(I=D.componentMountPoints)==null?void 0:I.find(k=>k.did==="z2qaCNvKMv5GjouKdcDWexv6WqtHbpNPQDnAk"))==null?void 0:E.mountPoint,T=he(n.controller.launcherUrl,_);p(T)})}},[(m=n.controller)==null?void 0:m.launcherUrl]),!n||!r)return"";let g=null,h="",j="error";return Ys(r)?(g=eo(r)?o.jsx(Se,{href:f.subscriptionURL,children:e("blocklet.manageSubscription")}):o.jsx(Us,{variant:"text",color:"error",onClick:()=>u(!0),sx:{lineHeight:"inherit",fontSize:"inherit"},children:e("blocklet.payNow")}),h=e("blocklet.suspendedCausedByPastDue",{deadline:be(r==null?void 0:r.reservedUntil,t)})):wn(r)?(g=o.jsx(Se,{href:f.subscriptionURL,children:e("blocklet.manageSubscription")}),h=e("blocklet.willBeSuspendedSoon",{deadline:be(r==null?void 0:r.reservedUntil,t)}),j="warning"):bn(n,r)?(g=o.jsx(Se,{href:f.subscriptionURL,children:e("blocklet.manageSubscription")}),h=e("blocklet.suspendedCausedByExpired",{deadline:be(r==null?void 0:r.reservedUntil,t),canceledAt:be((((C=r==null?void 0:r.subscription)==null?void 0:C.canceled_at)||0)*1e3,t)})):to(n,r)&&(g=o.jsx(Gn,{to:he(O.WELLKNOWN_BLOCKLET_ADMIN_PATH,"/did-spaces"),children:e("common.backup")}),h=e("blocklet.suspendedCausedByTerminated",{canceledAt:be(r==null?void 0:r.terminatedAt,t),deadline:no(r==null?void 0:r.terminatedAt,t)})),h?o.jsxs(S,{component:Ss,type:j,sx:{"&> .alert-content":{display:"block"}},children:[l&&d&&r&&o.jsx(ro,{session:i,connect:a,baseUrl:d,authToken:r.subscription.authToken,children:o.jsx(so,{dialogProps:{open:l,onClose:()=>u(!1)},subscriptionId:r.subscription.id,successToast:!0,onPaid:()=>{c.post("/blocklet/start?fromSetup=1"),s(),u(!1)}})}),h,o.jsx(z,{component:"span",sx:{marginLeft:"4px"},children:g})]}):null}const os=x.createContext({});function Pl(){return x.useContext(os)}const{Provider:Mc,Consumer:Rl}=os,{did:G,appId:$c}=window.env;function Oc({children:e}){var _,T;const{t,locale:n}=Y(),{blocklet:r}=ve(),[s,a]=x.useState([]),[i,c]=x.useState([]),[l,u]=x.useState([]),d=N.getDisplayName(r),p=((_=((r==null?void 0:r.environments)||[]).find(I=>I.key===ce.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_PASSPORT_COLOR))==null?void 0:_.value)||"auto",f=(r==null?void 0:r.trustedPassports)||[],y=(r==null?void 0:r.trustedFactories)||[],g=(r==null?void 0:r.enablePassportIssuance)!==!1,h=async()=>{try{const I=await Be.doBatchQuery({getRoles:{input:{teamDid:G}},getPermissions:{input:{teamDid:G}},getInvitations:{input:{teamDid:G}}}),E=(I.getRoles.roles||[]).filter(k=>!O.RBAC_CONFIG.roles.some(V=>V.name===k.name&&(!V.passport||V.ci))).map(k=>(k.hasDescription=!!k.description,k.hasDescription||(k.description=t("team.passport.description",{teamName:d,title:k.title})),k));c(po(E,[k=>oo(k.name)],["desc"])),u(I.getPermissions.permissions||[]),a(I.getInvitations.invitations||[])}catch(I){Z.error(I.message)}},j=({did:I}={})=>{const E={teamDid:G,user:{did:I}};return Be.getUser({input:E})},m=({query:I,paging:E}={})=>{const k={teamDid:G};return E&&(k.paging=E),I&&(k.query=I),k.sort={lastLoginAt:-1},Be.getUsers({input:k})},C=()=>Be.getUsersCountPerRole({input:{teamDid:G}}),b=()=>h();x.useEffect(()=>{var I;(I=r==null?void 0:r.meta)!=null&&I.did&&h()},[(T=r==null?void 0:r.meta)==null?void 0:T.did]),x.useEffect(()=>{c(I=>I.map(E=>(E.hasDescription||(E.description=t("team.passport.description",{teamName:d,title:E.title})),{...E})))},[t,n]);const L=I=>{I.teamDid===G&&h()};We(ce.TeamEvents.userAdded,L,[G]),We(ce.TeamEvents.userRemoved,L,[G]),We(ce.TeamEvents.userUpdated,L,[G]);const D={teamDid:G,teamIssuerDid:$c,teamName:d,invitations:s,roles:i,permissions:l,trustedPassports:f,trustedFactories:y,isNodeTeam:!1,enablePassportIssuance:g,refresh:b,passportColor:p,endpoint:window.location.origin,blocklet:r,api:{getUser:j,getUsers:m,getUsersCountPerRole:C}};return o.jsx(Mc,{value:D,children:e})}const Nc=x.lazy(()=>P(()=>import("./log-aS7wDHYq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),Uc=x.lazy(()=>P(()=>import("./index-Bhwq-PC6.js"),__vite__mapDeps([15,2,1,5,4,6,7,8,10,16,9,11,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,3,41,42,43,44,45,46,47]))),zc=x.lazy(()=>P(()=>import("./index-Dq_lSUqL.js"),__vite__mapDeps([48,4,2,5,1,6,7,8,44,10,9,11,49,50,34,30,38,39,51,3,41,42,25,43,45,31,46,47]))),Bc=x.lazy(()=>P(()=>import("./index-DdKYu9HL.js"),__vite__mapDeps([52,2,1,9,4,5,6,7,8,10,11,53,34,30,25,23,54,13,40,55,12,26,56,46,57,58,59,60,61,28,33,62,63,64,65,66,42,67,68,69,70]))),Hc=x.lazy(()=>P(()=>import("./overview-CSLXBT0F.js"),__vite__mapDeps([71,1,2,4,5,6,7,8,10,44,72,9,11,32,45,31,23,73,74,75,60,3,30,34,41,42,25,43,46,47]))),Fc=x.lazy(()=>P(()=>import("./domains-Bu0iN_az.js"),__vite__mapDeps([76,2,4,5,1,6,7,8,9,10,11,77,50,24,25,45,31,34,30,38,39,66,26,78,46,44,32,79]))),Vc=x.lazy(()=>P(()=>import("./index-DtsBFtZP.js"),__vite__mapDeps([80,2,6,5,1,4,7,8,9,10,11,23,81,17,18,19,20,21,35,36,49,24,25,82,83,84,34,30,55,46,85,3,41,42,43,44,45,31,47]))),qc=x.lazy(()=>P(()=>import("./appearance-Bgtb4-LE.js"),__vite__mapDeps([86,5,2,4,1,6,7,8,9,10,11,49]))),Wc=x.lazy(()=>P(()=>import("./audit-logs-DCTnwVQT.js"),__vite__mapDeps([87,4,2,5,1,6,7,8,35,36,3,9,10,11,68,69,44,40,70,30,34,41,42,25,43,45,31,46,47]))),Gc=x.lazy(()=>P(()=>import("./index-CtxraYdM.js"),__vite__mapDeps([88,2,1,5,4,6,7,8,9,10,11,43,25,89,90,40,32,91,59,13,44,79,17,18,19,20,21,35,36,23,92,45,31,93,94,95,61,96,30,97,98,28,29,49,3,34,41,42,46,47]))),Kc=x.lazy(()=>P(()=>import("./config-navigation-BkfKynqT.js"),__vite__mapDeps([99,2,4,5,1,6,7,8,74,83,10,100,9,11,101,102,67,60,43,25,62,63,93,30,3,34,41,42,44,45,31,46,47]))),Qc=x.lazy(()=>P(()=>import("./index-Bw-rbXJI.js"),__vite__mapDeps([103,1,2,6,5,10,4,7,8,9,11,49,60,104,105,75,30,33,32,98,39,42,106,55,3,34,41,25,43,44,45,31,46,47]))),Zc=x.lazy(()=>P(()=>import("./index-BctwEFbW.js"),__vite__mapDeps([107,4,2,5,1,6,7,8,10,9,11,106,90,72,32,36,49]))),Xc=x.lazy(()=>P(()=>import("./security-bFZAakv0.js"),__vite__mapDeps([108,4,2,5,1,6,7,8,9,10,11,102,109,49,3,30,34,41,42,25,43,44,45,31,46,47]))),Jc=x.lazy(()=>P(()=>import("./branding-Bv8Tk-Am.js"),__vite__mapDeps([110,2,1,4,5,6,7,8,10,65,111,57,84,67,9,11,24,25,43,90]))),Yc=x.lazy(()=>P(()=>import("./advanced-CPhRkaAJ.js"),__vite__mapDeps([112,2,1,9,4,5,6,7,8,10,11,24,25,34,30,46,90,26,32,23,73,74,3,41,42,43,44,45,31,47]))),el=x.lazy(()=>P(()=>import("./traffic-Bz2-5BjC.js").then(e=>e.t),__vite__mapDeps([92,2,9,1,4,5,6,7,8,10,11,45,31,93,94,95,61,96,30,97,98,28,29]))),tl=x.lazy(()=>P(()=>import("./runtime-BdS45sOH.js"),__vite__mapDeps([113,2,1,4,5,6,7,8,9,10,11,97,98,13,3,30,34,41,42,25,43,44,45,31,46,47]))),nl=x.lazy(()=>P(()=>import("./index-DBBjaba5.js"),__vite__mapDeps([114,2,4,5,1,6,7,8,115,30,81,17,10,18,19,20,21,23,35,36,9,11,27,28,29,34,26,66,24,25,13,38,39,49,51,44,3,41,42,43,45,31,46,47]))),rl=x.lazy(()=>P(()=>import("./list-TUiipUoi.js"),__vite__mapDeps([116,2,4,5,1,6,7,8,10,115,45,31,22,9,11,54,26,66,34,30,81,17,18,19,20,21,23,35,36,38,39,51,44,49,3,41,42,25,43,46,47]))),sl=x.lazy(()=>P(()=>import("./index-CT4keHaK.js"),__vite__mapDeps([117,2,4,5,1,6,7,8,58,60,51,44,49,9,10,11,3,30,34,41,42,25,43,45,31,46,47]))),ol=x.lazy(()=>P(()=>import("./component-BFi7evus.js"),__vite__mapDeps([118,1,2,5,4,6,7,8,10,9,11,30,119,106,24,25,115,101,96,63,26,61,95,67,120,64,58,65,33,66,34,42,23,121,122,105,75,60,111,57,123,89,82,83,68,69,100,32,3,78,49,124,104,125,85,44,93,13,41,38,39,43,45,31,46,47]))),il=x.lazy(()=>P(()=>import("./index-B4rUFDP9.js"),__vite__mapDeps([126,1,2,4,5,6,7,8,9,10,11]))),al=he(O.WELLKNOWN_SERVICE_PATH_PREFIX,"user","notifications"),cl=e=>{const{enqueueSnackbar:t}=zn(),n=x.useCallback(r=>Xn(al,{id:r.id,severity:r.severity||"all",componentDid:r.source==="system"?"system":r.componentDid||"all"}),[]);We(`${e}/${O.EVENTS.NOTIFICATION_BLOCKLET_CREATE}`,r=>{const s=n(r),{severity:a,description:i}=r||{},c=["error","warning"].includes(a)||r.sticky;r.source==="system"&&t(i,{variant:a,autoHideDuration:c?null:5e3,content:l=>o.jsx(fi,{viewAllUrl:s,keyId:l,notification:r,content:o.jsx(Ei,{notification:r,minimal:!0,rows:0})})})},[],"user")};function is({blocklet:e,isAdmin:t}){return t?o.jsx(Gc,{blocklet:e}):o.jsx(yo,{status:403})}is.propTypes={blocklet:v.object.isRequired,isAdmin:v.bool.isRequired};const ll=e=>{var d,p;const{t}=Y(),{blocklet:n,actions:{refreshBlocklet:r},client:s,did:a}=ve(),i=(d=n==null?void 0:n.meta)==null?void 0:d.did,c=!n||lo(n.status)?[]:N.getAppMissingConfigs(n),l={overview:[{label:t("common.overview"),value:"overview"},{label:o.jsx(zs,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!c.length,children:t("common.components")}),value:"components"}],"did-connect":[{label:t("common.members"),value:"members"},{label:t("team.member.passports"),value:"passports"},{label:t("common.setting"),value:"settings"},{label:t("common.security"),value:"security"},{label:t("oauth.client.tab"),value:"oauth"}],website:[{label:t("common.domains"),value:"domains"},{label:t("common.branding"),value:"branding"},{label:t("common.theming"),value:"theming"},{label:t("common.navigation"),value:"navigation"}],operations:[{label:t("common.notificationRecords"),value:"notifications",show:e},{label:t("common.analytics"),value:"analytics"},{label:t("common.auditLogs"),value:"audit-logs"},{label:t("common.advancedConfig"),value:"advanced"}],integrations:[{label:"Webhooks",value:"webhooks",show:e},{label:t("common.accessKeys"),value:"access-keys"},{label:t("common.mcpServers"),value:"mcp-servers"}],developers:[{label:t("common.logs"),value:"logs",show:((p=n==null?void 0:n.children)==null?void 0:p.length)&&n.structVersion===O.APP_STRUCT_VERSION},{label:t("common.performance"),value:"performance"},{label:t("common.docs"),value:"docs"}]},u={overview:Hc,components:ol,members:o.jsx(Uc,{type:"blocklet",createPassportSvg:jn}),passports:o.jsx(Vc,{createPassportSvg:jn}),settings:o.jsx(Zc,{orientation:"vertical"}),security:o.jsx(Xc,{}),"did-spaces":o.jsx(Qc,{navOrientation:"horizontal"}),domains:Fc,branding:o.jsx(Jc,{blocklet:n,onUpdate:r}),theming:o.jsx(qc,{}),navigation:Kc,sitemap:o.jsx(Cs,{children:t("common.comingSoon")}),notifications:o.jsx(is,{blocklet:n,isAdmin:e}),"audit-logs":o.jsx(Wc,{scope:i,categories:["blocklet","team","security","certificates","gateway"]}),analytics:o.jsx(el,{client:s,did:a}),advanced:o.jsx(Yc,{blocklet:n,onUpdate:r}),webhooks:o.jsx(zc,{}),"access-keys":o.jsx(nl,{}),"mcp-servers":o.jsx(sl,{}),logs:Nc,performance:o.jsx(tl,{client:s,did:a}),docs:il,publish:o.jsx(Bc,{}),oauth:o.jsx(rl,{})};return{tabGroups:l,renders:u}};function ul(){var m,C;const e=Kn(),{tab:t="overview",subtab:n}=Fs(),{blocklet:r,refreshFlag:s}=ve(),{session:a}=Yn(),i=ge(()=>{var b;return(b=a==null?void 0:a.user)==null?void 0:b.did},[a]),c=Eo(),l=ge(()=>{var b;return((b=a.user)==null?void 0:b.role)&&ao.includes(a.user.role)},[a]);cl(i);const{tabGroups:u,renders:d}=ll(l),p=b=>{e(`${O.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/${t}/${b}`)},f=(u[t]||[]).filter(b=>b.show===void 0||b.show),y=((m=(f||[]).find(b=>b.value===n))==null?void 0:m.value)||((C=f==null?void 0:f[0])==null?void 0:C.value)||t,g=d[y]||d.overview,h=["overview"].includes(t),j=r?o.jsxs($t,{type:"components",children:[f.length>0&&o.jsxs(S,{mb:2,display:"flex",alignItems:"center",gap:2,children:[o.jsx(_s,{tabs:f,current:y,onChange:p,scrollButtons:"auto"}),h&&!c&&o.jsx(S,{flex:1,display:"flex",justifyContent:"flex-end",children:o.jsx(S,{component:"div",className:"page-header",children:r?o.jsx(kn,{className:"page-actions",hasPermission:!0,blocklet:r,onStart:()=>{},onComplete:({error:b}={})=>{b&&Z.error(b.message)},variant:"group"}):null})})]}),o.jsx(S,{className:"page-content",children:o.jsx(x.Suspense,{fallback:o.jsx(Je,{relative:"parent",children:o.jsx(re,{})}),children:x.isValidElement(g)?g:o.jsx(g,{blocklet:r})})})]}):o.jsx(Je,{relative:"parent",children:o.jsx(re,{})});return o.jsx(co,{children:o.jsx(Oc,{children:o.jsx(hn,{children:o.jsxs(fl,{children:[c&&h&&o.jsx(S,{component:"div",className:"page-header",mb:2,children:r?o.jsx(kn,{className:"page-actions",hasPermission:!0,blocklet:r,onStart:()=>{},onComplete:({error:b}={})=>{b&&Z.error(b.message)},variant:"group"}):null}),o.jsx(dr,{}),o.jsx(Ac,{}),j]})},`${s}`)})})}function dl(){var r;const{blocklet:e}=ve(),{t}=Y(),n=(r=e==null?void 0:e.meta)==null?void 0:r.did;return x.useEffect(()=>{const s=io();return n&&s.connect(),()=>{n&&s.isConnected()&&s.disconnect()}},[n]),o.jsxs(o.Fragment,{children:[o.jsx(vo,{children:o.jsx("title",{children:t("pageTitle.dashboard")})}),o.jsx(ul,{})]})}const fl=K.main`
|
|
198
|
+
.page-header {
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
align-items: center;
|
|
202
|
+
flex-wrap: wrap;
|
|
203
|
+
gap: 16px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.page-title {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
|
|
210
|
+
.page-link {
|
|
211
|
+
font-size: 15px;
|
|
212
|
+
margin-top: 8px;
|
|
213
|
+
margin-left: 8px;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@media (max-width: ${e=>e.theme.breakpoints.values.md}px) {
|
|
218
|
+
.page-header {
|
|
219
|
+
flex-direction: column;
|
|
220
|
+
align-items: flex-start;
|
|
221
|
+
.page-actions,
|
|
222
|
+
.MuiButtonGroup-root {
|
|
223
|
+
width: 100%;
|
|
224
|
+
}
|
|
225
|
+
.MuiButtonGroup-root {
|
|
226
|
+
.MuiButtonBase-root {
|
|
227
|
+
flex: 1;
|
|
228
|
+
}
|
|
229
|
+
.blocklet-action-text {
|
|
230
|
+
display: none;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.page-title {
|
|
236
|
+
margin-bottom: 15px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
`,Al=Object.freeze(Object.defineProperty({__proto__:null,default:dl},Symbol.toStringTag,{value:"Module"}));export{ss as B,mn as W,sr as a,ir as b,rr as c,Jr as d,cr as e,pe as f,Dl as g,Al as h,ts as p,Pl as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={auth:{noPermission:{title:"Keine Erlaubnis",description:"Du bist nicht der Administrator des Blocklets"}},login:{reLogin:"Verbinden",description:"Du musst deine DIDs Wallet verbinden, um auf {name} zuzugreifen",already:"Du bist verbunden als",connectWallet:"Verbinde das DID Wallet",closeWindow:"Fenster schließen",accessLimit:{title:"Seitenzugriff eingeschränkt",description:"Diese Seite erfordert die folgenden Pässe zum Zugriff, verbinden Sie sich bitte mit dem Portemonnaie, um den entsprechenden Pass zu ändern oder zu beantragen.",alreadyHavePassport:"Habe bereits den Reisepass",connectWithPassport:"Verbinde mit diesem Reisepass",buyPassport:"Kaufen Sie einen Reisepass"},switchDid:{title:"Konto wechseln",scan:"Verwenden Sie die folgenden Methoden, um das Konto zu wechseln",confirm:"Bestätige den Wechsel in deiner DID-Wallet",success:"Erfolgreich umgeschaltet"},switchSpecifiedDid:{title:"Konto wechseln",scan:"Du musst die DID zu {did} wechseln, um die folgenden Aktionen abzuschließen.",confirm:"Bestätigen Sie den Wechsel in Ihrer DID-Brieftasche",success:"Erfolgreich gewechselt"},connect:{title:"Verbinden",scan:"Verwenden Sie bitte die folgenden Methoden, um die Verbindung herzustellen",confirm:"Bestätigen Sie in Ihrer DID-Geldbörse",success:"Sie sind erfolgreich verbunden"},needManualClose:"Anmeldung erfolgreich. Wenn sich dieses Fenster nicht automatisch schließt, bitte schließen.",connectWithPassport:"Verbinde dich mit diesem Reisepass",invalidRedirectUrl:"Ungültige Weiterleitungs-URL",issueKyc:{pageDescription:"Schließen Sie die Verifizierung ab, um Ihr Konto zu sichern und ein wiederverwendbares NFT zu erhalten, das von anderen Websites vertraut werden kann (einmal überprüfen und überall präsentieren).",verifyButton:"Überprüfen",sendCodeButton:"Holen Sie sich einen Bestätigungscode",codeSentMessage:"Wir haben gerade einen Bestätigungscode an {email} gesendet. Der Code ist 30 Minuten lang gültig. Bitte überprüfen Sie Ihr Postfach oder Spam-Ordner.",codeSentSuccess:"Bestätigungscode erfolgreich gesendet",claim:"Bestätigungs-E-Mail-Zertifikat abrufen",scan:"Verbinden Sie Ihre DID-Brieftasche, um das Zertifikat zu erhalten",confirm:"Bestätigen Sie auf Ihrem DID Wallet",success:"Herzlichen Glückwunsch! Sie haben Ihre E-Mail erfolgreich verifiziert und das Zertifikat in Ihrem DID Wallet beansprucht.",backToHome:"Zurück zum Start",emailPlaceholder:"Ihre E-Mail-Adresse",verifyTitle:"Bestätigen Sie Ihre E-Mail-Adresse",issueTitle:"Anspruch E-Mail-Verifizierung NFT",verifyAction:"Überprüfen",issueAction:"Beanspruchung",issueTarget:"Du bist {action} für die folgende DID, klicke auf den Avatar, um eine weitere DID hinzuzufügen"},updateKyc:{button:"Zertifikat präsentieren",title:"Präsentieren Sie das verifizierte E-Mail-Zertifikat",scan:"Verbinden Sie Ihre DID-Brieftasche, um das Zertifikat vorzulegen",confirm:"Bestätigen Sie auf Ihrem DID Wallet",success:"Herzlichen Glückwunsch! Ihr NFT wurde überprüft und akzeptiert."},invalidOpenerUrl:"Ungültige Opener-URL"},studio:{home:"Studio",preferences:"Präferenzaufbau",localization:"Lokalisierung",branding:"Markenbilder",ratio:"Verhältnis",size:"Größe",count:"Zählen",tip:"Tipp",change:"Klicken Sie auf das Logo, um es zu ändern.",order:"Bestellung",orderTip:"Ziehen zum Ändern",orderTipLong:"Ziehen Sie, um zu ändern. Wenn Sie Screenshots auf der Festplatte löschen, aktualisieren Sie bitte die Seite.",type:"Typ",videoTipLong:"Klicke auf das Cover, um den Videolink zu bearbeiten.",video:"Video",videoTooltip:"Ziehen Sie, um die Reihenfolge zu ändern.",videoType:"Unterstützte Webseiten",videoDialogTitle:"Video hinzufügen",videoDialogEditTitle:"Video bearbeiten/löschen",videoInputLabel:"Geben Sie einen YouTube- oder Vimeo-Videolink ein",videoDialogNoSrc:"Bitte geben Sie einen gültigen Videolink ein",duplicateVideo:"Dieses Video wurde hinzugefügt",confirm:"Bestätigen",cancel:"Abbrechen",preview:"Vorschau",delete:"Löschen",title:"Bilder für {title} bereitstellen",description:"Mehr Informationen finden Sie unter",documentation:"Dokumentation"},blocklet:{startApplication:"Starte Anwendung",startDescription:"Bereit, {name} zu starten",start:"Start",starting:"Starten...",open:"Öffnen",suspended:"Anwendung ausgesetzt",manageSubscription:"Abonnement verwalten",suspendedCausedByExpired:"Diese Anwendung wurde aufgrund einer Abonnementkündigung am {canceledAt} beendet. Sie können Ihr Abonnement vor dem {deadline} wieder aufnehmen.",suspendedCausedByPastDue:"Diese Anwendung wurde wegen Zahlungsrückständen des Abonnements ausgesetzt. Schließen Sie die Erneuerung vor dem {deadline} ab, um den Dienst wieder aufzunehmen. Nach dem Stichtag ist keine Erneuerung oder Wiederaufnahme mehr möglich.",willBeSuspendedSoon:"Diese Anwendung wird den Dienst am {deadline} einstellen, da das Abonnement kurz vor der Kündigung steht. Wenn Sie sie weiterhin nutzen möchten, stellen Sie Ihr Abonnement rechtzeitig wieder her.",suspendedCausedByTerminated:"Die Anwendung wurde aufgrund der am {canceledAt} gekündigten Subscription beendet und die Daten werden bis zum {deadline} vorgehalten. Bevor die Daten gelöscht werden, können Sie die Daten in DID Spaces sichern.",terminated:"Anwendung beendet",gotoVisitError:"Kann URL des Blocklets nicht aufrufen, bitte später erneut versuchen.",payNow:"Jetzt bezahlen",startLoadingText:"Dienst wird gestartet und kann einige Minuten dauern, bitte warten...",startingProgress:{starting:"Starte {name}...",success:"{name} erfolgreich gestartet",failed:"{name} konnte nicht gestartet werden"}},setup:{steps:{connect:"Verbinden",didSpace:"DID Spaces",config:"Konfiguration",domain:"Domain",access:"Zugangskontrolle",fuel:"Kraftstoff",complete:"Komplett",introduction:"Einführung",selectNodeDesc:"Wähle Blocklet Server aus",launchAppDesc:"Blocklet auf Server installieren",setupAppDesc:"Setup Blocklet",launched:"Vervollständigen"},connect:{title:"Verbinde mit Anwendung",scan:"Verwenden Sie die folgenden Methoden, um Benutzerprofil und Blocklet-Besitzerrechte bereitzustellen. Anschließend können Sie die App konfigurieren und starten.",confirm:"Bestätigen Sie in Ihrer DID-Brieftasche",success:"Sie sind erfolgreich verbunden"},domain:{addTitle:"Bestehende Domain binden (Optional)",title:"Domain auswählen",subTitle:"Passe deine Domain für die Anwendung an",label:"Bitte geben Sie einen gültigen Domainnamen an",tipStart:"Bitte stellen Sie sicher",tipEnd:"Hat Punkt zum aktuellen Server",addingCert:"Zertifikat wird erstellt...",recordType:"Datentyp",recordValue:"Aufzeichnungswert",genCertSuccess:"Das {domain}-Zertifikat wurde erfolgreich ausgestellt",genCertFailed:"Fehler beim Ausstellen des Zertifikats für {domain}: {message}",genCertFailedForNFTDomain:"NFT-Domain erfolgreich hinzugefügt, aber das HTTPS-Zertifikat konnte nicht generiert werden. Bitte versuche es später erneut.",buyDIDDomainTitle:"Kaufe eine DID-Domain (Optional)",buyDIDDomainTips:"Nach dem Kauf einer DID-Domain wird diese automatisch an die Anwendung gebunden.",buyOrConnect:"Sie können eine bestehende Domain kaufen oder konfigurieren",skipDescription:"Sie können vorübergehend die Standarddomains verwenden. Diese Domains sind nicht für die Produktion geeignet und sollten nicht mit Kunden geteilt werden."},didSpace:{title:"Konfigurieren Sie DID Spaces",subTitle:"Bitte schließen Sie den folgenden Verbindungsvorgang ab, um Anwendungsdaten in DID Spaces zu speichern.",tips:"Tipps",description:"Konfigurieren Sie die DID Spaces Instanzadresse und speichern Sie die Anwendungsdaten in DID Spaces nach einer erfolgreichen Verbindung",label:"Bitte wählen Sie den DID Spaces-Dienst",connected:"Sie haben erfolgreich eine Verbindung mit DID Spaces hergestellt",connect:"Verbinden Sie jetzt",reconnect:"Verbinden",addressCannotEmpty:"Die Adresse darf nicht leer sein",addressNotValid:"{url} ist keine gültige Adresse.",authorize:{title:"Verbinde {appName} mit DID Spaces",scan:"Verwenden Sie die folgenden Methoden, um der App {appName} die Verbindung zu DID Spaces zu ermöglichen",success:"Erfolgreich verbunden"}},config:{title:"Konfiguration",subTitle:"Andere Konfigurationselemente (Sie müssen auch die folgenden Elemente festlegen)"},complete:{title:"Ihre App ist bereit",failedTitle:"Fehler beim Starten der App",backToServer:"Zurück zum Blocklet Server",notRunning:"App konnte beim ersten Versuch nicht starten, bitte erneut versuchen",readyToStart:"Ihre App ist bald fertig"},fuel:{title:"Kraftstoff zum Starten erforderlich",tipStart:"Schlitz",tipEnd:"Für diese Anwendung ist eine Guthaben erforderlich, damit die Anwendung ordnungsgemäß funktionieren kann. Die Gelder werden in der Anwendungsbrieftasche gespeichert und können für Transaktionsgebühren verwendet werden. Sie können Ihr Guthaben jederzeit abheben, wenn Sie die App nicht mehr verwenden.",addressTitle:"Anwendungskonto",addressTip:"Befüllen Sie die Anwendung mit einer DID Wallet",need:"Brauchen",current:"Aktuell",fuelApp:"Anwendung mit Treibstoff versorgen"},title:"Aufbau",next:"Nächster",previous:"Vorherige",continue:"Weiter",skip:"Überspringen",startNow:"Starte jetzt",confirm:"Bestätigen",cancel:"Abbrechen"},user:{walletNotification:"DID Wallet Benachrichtigung",emailNotification:"E-Mail-Benachrichtigung",smsNotification:"SMS-Benachrichtigung",addWebhook:"Neuen Webhook hinzufügen"},pageTitle:{login:"Anmelden",dashboard:"Blocklet-Dashboard",userCenter:"Benutzerzentrum",invite:"Einladen",issuePassport:"Reisepass ausstellen",lostPassport:"Verloren Reisepass"},errorPage:{404:{title:"Ups! Seite nicht gefunden",description:"Es scheint, dass die gesuchte Seite nicht existiert.",backHome:'Wenn Sie ein Besucher sind, können Sie <a href="{url}">zurück zur Startseite gehen</a>',goToDashboard:"Wenn Sie der Site-Besitzer sind, können Sie sich im <a href={url}>Dashboard anmelden</a>."}},common:{branding:"Branding",theming:"Design",navigation:"Navigation",sitemap:"Sitemap",advanced:"Erweitert",performance:"Leistung",docs:"Dokumente",comingSoon:"Bald verfügbar",accessKeys:"Zugriffsschlüssel"},connectCli:{title:"Verbinden, um Zugangsschlüssel zu generieren",scan:"Scannen Sie folgenden QR-Code, um den Zugangsschlüssel zu generieren",success:"Verbindung zum Generieren des Zugriffsschlüssels erfolgreich hergestellt",successDesc:"Zugriffsschlüssel erfolgreich generiert, diese Seite kann sicher geschlossen werden. Sie können jetzt lokale Blocklets mit dem generierten Zugriffsschlüssel hochladen.",invalidSession:"Ungültige Sitzung",invalidSessionDesc:"Sitzung existiert nicht oder ist abgelaufen. Verwenden Sie den Befehl 'blocklet deploy --endpoint {endpoint}', um den Zugriffsschlüssel neu zu generieren.",connectionError:"Zugriffsschlüssel konnte nicht generiert werden",home:"Zurück zur Startseite",tips:{title:"Zugriffsschlüssel generieren",item1:"Unterstützt lokale Bereitstellung von Blocklets in der aktuellen Anwendung",item2:"Wird in der Liste der Zugriffsschlüssel der Anwendung angezeigt",item3:"Sie können den Zugriffsschlüssel jederzeit in der Liste widerrufen"}},notFoundOauthClient:"OAuth-App nicht gefunden, bitte überprüfen Sie Ihre OAuth-Konfiguration und versuchen Sie es erneut."};export{e as default};
|